Hi Robert, I can't think of any reason myself, but I didn't want to do that in case others felt there was a need to have it decompressing to file system. I recall some forum traffic when you muted the idea of removing the zip plugin at the beginning of the year, and I got the impression others were happy with how it worked.
I leave it to you to decide whether to remove old functionality. Perhaps reverse the option so that its a definite choice to use the filesystem ? Kind regards Neil. ---- Robert Osfield <[email protected]> wrote: > Hi Neil, > > Is there any reason not to just use your new code path all the time? > Uncompressing in memory is far more preferable to uncompressing on disk and > then cleaning up? I'm tempted to just remove the old code path completely > and keep the code simpler. > > Robert. > > On Thu, Apr 2, 2009 at 4:00 PM, <[email protected]> wrote: > > > Hi Robert, > > > > Please find attached an extended ZIP plugin. This version makes use of two > > additional files unzip.h and unzip.cpp, the license arrangements of which I > > think are fine, but you might like to cast your eye over it - see the top of > > the .cpp file for this info. > > > > The plugin permits the decompression of the ZIP file in memory, and passes > > the stream contents onto the relevant handlers. This feature is enabled via > > an option "ZIPEXTRACTINMEMORY". Without this, the standard zip extraction > > code is called. > > Also included in this modification is the stream handler as well. Thus if > > the Curl plugin downloads a zip file, the zip plugin will now handle that as > > well. > > > > I've only been able to test on Windows Vista, and it appears to work fine. > > I haven't changed the make files as its outside my comfort zone. Would you > > be able to do this, or could you tell me what I need to do? > > > > Using this code, coupled with the 3DS stream submission I made recently, I > > can now stream 3DS files over the internet to either a desktop viewer, or an > > ActiveX viewer on a web page. Any plugin that handles streams should also > > work. > > > > Kind regards > > > > Neil. > > > > _______________________________________________ > > osg-submissions mailing list > > [email protected] > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
