Re: Opinion on the embedding of zip/unzip in lyx using zlib/contrib/minizip.

2007-08-23 Thread José Matos
On Thursday 23 August 2007 15:07:47 Bo Peng wrote: > Thanks. Maybe we should have a 'New in 1.6.0' or 'PEP for 1.6.0' page. For the moment I have created a category called LyX_1_6 that has two pages: embedding and xml. See http://wiki.lyx.org/Devel/Devel As soon as new pages are created th

Re: Opinion on the embedding of zip/unzip in lyx using zlib/contrib/minizip.

2007-08-23 Thread Bo Peng
> This has now become: > http://wiki.lyx.org/Devel/Embedding Thanks. Maybe we should have a 'New in 1.6.0' or 'PEP for 1.6.0' page. Bo

Re: Opinion on the embedding of zip/unzip in lyx using zlib/contrib/minizip.

2007-08-23 Thread José Matos
On Tuesday 21 August 2007 21:07:41 Bo Peng wrote: > > Could you add, please, your ideas to a wiki page under development? > > Will do that later. > > > Even a compilation of previous messages to this list is OK. :-) > > Here is a comment from my src/EmbeddedFiles.h: > This has now become: htt

Re: Opinion on the embedding of zip/unzip in lyx using zlib/contrib/minizip.

2007-08-21 Thread Bo Peng
> Could you add, please, your ideas to a wiki page under development? Will do that later. > Even a compilation of previous messages to this list is OK. :-) Here is a comment from my src/EmbeddedFiles.h: /** This file, and the embedding dialog implemented in src/frontends, implements an 'E

Re: Opinion on the embedding of zip/unzip in lyx using zlib/contrib/minizip.

2007-08-21 Thread José Matos
On Monday 20 August 2007 16:49:20 Bo Peng wrote: > Dear list, > > Because I get no objection to the design of the embedding feature of > lyx, I plan to add it to the trunk in the next few weeks. There is, > however, a big question on how to zip and unzip files. > > There is a unzipFile function in

Re: Opinion on the embedding of zip/unzip in lyx using zlib/contrib/minizip.

2007-08-21 Thread Helge Hafting
Bo Peng wrote: gzip is easier than installing LyX anyway.) Any distro that package LyX can simply add a dependency in their package management system. Then we also need tar. I believe zip is more common on windows, but you can't depend on it being present there. A unix machine doesn't

Re: Opinion on the embedding of zip/unzip in lyx using zlib/contrib/minizip.

2007-08-21 Thread Abdelrazak Younes
Bo Peng wrote: I agree. It is not easy to adapt minizip but this makes distributing lyx a lot easier, compared to the gunzip solution. What is the problem with th zlib solution? I am using zlib. minizip uses zlib to implement a minizip, minunz commands. Ah, good. I thought you were borrowing

Re: Opinion on the embedding of zip/unzip in lyx using zlib/contrib/minizip.

2007-08-21 Thread Bo Peng
> but gzip/gunzip doesn't do archiving, just deflates single files, doesn't > it? IUC you need archiving also. But maybe I don't understand the problem > well ;-) I need file structure inside the zip file to store all embedded files. gzip can not be used because I do not want to handle tar. Becaus

Re: Opinion on the embedding of zip/unzip in lyx using zlib/contrib/minizip.

2007-08-21 Thread Bo Peng
> gzip is easier than installing LyX anyway.) > Any distro that package LyX can simply add a dependency in their > package management system. Then we also need tar. > I believe zip is more common on windows, but you can't depend > on it being present there. A unix machine doesn't necessarily have

Re: Opinion on the embedding of zip/unzip in lyx using zlib/contrib/minizip.

2007-08-21 Thread Bo Peng
> > I agree. It is not easy to adapt minizip but this makes distributing > > lyx a lot easier, compared to the gunzip solution. > > What is the problem with th zlib solution? I am using zlib. minizip uses zlib to implement a minizip, minunz commands. Bo

Re: Opinion on the embedding of zip/unzip in lyx using zlib/contrib/minizip.

2007-08-21 Thread Alfredo Braunstein
Bo Peng wrote: > Dear list, > > Because I get no objection to the design of the embedding feature of > lyx, I plan to add it to the trunk in the next few weeks. There is, > however, a big question on how to zip and unzip files. > > There is a unzipFile function in src/support/filetools.cpp which

Re: Opinion on the embedding of zip/unzip in lyx using zlib/contrib/minizip.

2007-08-21 Thread Helge Hafting
Bo Peng wrote: Dear list, Because I get no objection to the design of the embedding feature of lyx, I plan to add it to the trunk in the next few weeks. There is, however, a big question on how to zip and unzip files. There is a unzipFile function in src/support/filetools.cpp which calls 'gunzi

Re: Opinion on the embedding of zip/unzip in lyx using zlib/contrib/minizip.

2007-08-21 Thread Abdelrazak Younes
Bo Peng wrote: I am not quite sure if this is a good idea so any comment is welcome. A library based solution is probably more robust than one based on external programs. I agree. It is not easy to adapt minizip but this makes distributing lyx a lot easier, compared to the gunzip solution. W

Re: Opinion on the embedding of zip/unzip in lyx using zlib/contrib/minizip.

2007-08-20 Thread Bo Peng
> > I am > > not quite sure if this is a good idea so any comment is welcome. > > A library based solution is probably more robust than one based on > external programs. I agree. It is not easy to adapt minizip but this makes distributing lyx a lot easier, compared to the gunzip solution. Bo

Re: Opinion on the embedding of zip/unzip in lyx using zlib/contrib/minizip.

2007-08-20 Thread Andre Poenitz
On Mon, Aug 20, 2007 at 10:49:20AM -0500, Bo Peng wrote: > Dear list, > > Because I get no objection to the design of the embedding feature of > lyx, I plan to add it to the trunk in the next few weeks. There is, > however, a big question on how to zip and unzip files. > > There is a unzipFile fu