Just an FYI, I made the first offical release, Zliby (http://rubyforge.org/projects/zliby/), it does Gzip decompression as well as Zlib decompression, and implements all the methods that Dr. Kelly listed. Note though it does rely on a few methods not yet implemented, notably Time.at and block_given? ... I'll get back to you on that ;)
On Tue, Mar 11, 2008 at 2:20 PM, Michael Letterle <[EMAIL PROTECTED]> wrote: > I've got the rubyforge project up for the pure ruby zlib > implementation, SVN has what I got so far, which is basically just > Zlib::Inflate, http://rubyforge.org/projects/zliby/ it's rough, but > I'm adding to it. > > On Fri, Mar 7, 2008 at 5:46 PM, Michael Letterle > > <[EMAIL PROTECTED]> wrote: > > > > I'd like to implement zlib in pure ruby, but in the mean time, I think > > this should be good enough. Time will tell. Once we get a good > > collection of these libraries together we'll be able to see what's > > really needed ;) > > > > Anyway, updated zlib.rb attached, it performs the Gzip and Zlib > > decompression... I'm not sure exactly what finish is suppose to do, > > the docs are unclear. I suspect it may not be applicable to the way > > I'm returning the decompressed output... > > > > > > > > On Fri, Mar 7, 2008 at 2:43 AM, John Messerly <[EMAIL PROTECTED]> wrote: > > > Michael Letterle: > > > > > > > > > > Alright, I started doing this tonight (finally) GZip was pretty > > > > straight forward, but Inflate may be a problem, The > > > > System::IO::Compression.DeflateStream is RFC 1951 compliant /not/ > > > > 1950.. Meaning it only covers Deflate, not ZLib in general. See here: > > > > > https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx? > > > > F > > > > eedbackID=97064&wa=wsignin1.0 > > > > > > > > I'll research this more tomorrow, I'd hate to have to have an > external > > > > dependency like Zlib.NET > > > > > > Yeah, DeflateStream only implements the basic deflate algorithm, with > no configuration options. Worse, it doesn't have particularly good > compression ratio. Definitely worth investigating a port of a more fully > featured library... > > > > > > - John > > > > > > > > > > > > _______________________________________________ > > > Ironruby-core mailing list > > > [email protected] > > > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > > > > > > > > > > > > -- > > Michael Letterle > > [Polymath Programmer] > > http://michaeldotnet.blogspot.com > > > > > > -- > Michael Letterle > [Polymath Prokrammer] > http://blog.prokrams.com > -- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com _______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core
