Re: Document Garble plugin

From: J.M. Maurer <uwog_at_uwog.net>
Date: Thu Aug 13 2009 - 13:27:31 CEST

On Fri, 2009-08-07 at 11:05 +1000, Martin Sevior wrote:
> HI Marc,
> I have no objection to this being installed as new
> supported plugin provided it is not enabled unless explicitly
> requested. ie --enable-garble will build it but --enable-all will not.

Why should it be disabled by default? It makes a lot more sense to have
it enabled by default: when people come across a bug, they can garble
the document and send it it. You can't tell normal users to recompile
abiword.

  Marc

> Otherwise, sure go ahead and import it into svn.
>
> Cheers,
>
> Martin
>
>
> On Fri, Aug 7, 2009 at 6:03 AM, Marc "Foddex" Oude Kotte<marc@solcon.nl> wrote:
> > Hi Folks,
> >
> > I've written a simple plugin for Abiword that garbles the contents of
> > documents. It works on files exclusively, it doesn't do anything from
> > within Abiword itself. It takes all text in each section in the abw file
> > and converts all non-whitespaces characters (plus some more like
> > parentheses) into random garbage. It supports UTF-8. It also garbles any
> > PNG images in the document (JPG support still to be added), so logo's
> > and/or any special proprietary imagery inside the documents are garbled
> > as well.
> >
> > The intended use for this plugin is to make proprietary documents
> > suitable for uploading into Abiword's public BugZilla. I have already
> > frequently found myself in the situation where I had documents - owned
> > by my employer - that caused bugs in Abiword. However, uploading the
> > files to the public BugZilla wasn't an option due to their proprietary
> > contents. Since it's quite a hassle to produce a document that causes
> > the exact same bugs without proprietary contents, I wrote this plugin
> > hoping it can help out in such situations.
> >
> > uwog already mentioned some stuff that might require alterations to the
> > code:
> > - it uses xmlReadFile and xmlSaveFile from libxml2, should be replaced
> > with code using libgsf
> > - it should be able to handle non-abw files as well, so users don't need
> > to convert their files to ABW first
> >
> > I've based the plugin's build system on the AbiCommand plugin, hoping
> > that this automatically handles Mac builds and non-MSVC win32 builds.
> > Tested build system in Linux and MSVC 2008, works for me.
> >
> > I look forward to your comments and suggestions!
> >
> > Regards,
> >
> > Marc
> >
Received on Thu Aug 13 13:28:10 2009

This archive was generated by hypermail 2.1.8 : Thu Aug 13 2009 - 13:28:10 CEST