Re: [AD] SF.net SVN: alleg:[11766] allegro/branches/4.9/src/macosx

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sat March 7 2009, Evert Glebbeek wrote:
> On 7 mrt 2009, at 09:28, Thomas Fjellstrom wrote:
> > Thats the route I'm taking. a plain zip addons would be doable using
> > zlib, but how would a plain zlib driver work? what format would
> > archives be in?
>
> You don't use it to read archives, you use it to read compressed
> files. Say awefully_huge_text_file.txt.gz ;)
> And before you say that's a corner case that's not generally useful -
> I have loads of those. Even if you're not going to write them, using
> zlib means you get regular stdio with the ability to read gzip
> compressed files as an extra bonus.
>
> Now, I should point out - this is something I make use of quite
> hapily, but not necessarily in any Allegro-related projects.


I never said it wouldn't happen ;) It would probably be rather easy to do. And is one of the reasons theres such a complete vtable interface.


Of course, the code would still likely borrow some of the stdio vtable methods if at all possible, otherwise the zlib addon would have to duplicate a lot of functionality (particularly the search path stuff).


> Evert
>
> ---------------------------------------------------------------------------
>--- Open Source Business Conference (OSBC), March 24-25, 2009, San
> Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing
> the Enterprise -Strategies to boost innovation and cut costs with open
> source participation -Receive a $600 discount off the registration fee with
> the source code: SFAD http://p.sf.net/sfu/XcvMzF8H



--
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/