Re: [Jruby-devel] Status of Zlib and Gem

2006-03-22 Thread Ola Bini
]> Date: Wednesday, March 22, 2006 4:07 pm Subject: Re: [Jruby-devel] Status of Zlib and Gem To: [email protected] > On Wed, 22 Mar 2006, Ola Bini defenestrated me: > > > > Hi! > > > > This is my bad, with the implementation of IOConverter. I think >

Re: [Jruby-devel] Status of Zlib and Gem

2006-03-22 Thread Thomas E Enebo
On Wed, 22 Mar 2006, Ola Bini defenestrated me: > > Hi! > > This is my bad, with the implementation of IOConverter. I think it was a > bad idea from the beginning, actually. The reason for this error (which > I also get now) is that RubyGems uses StringIO on lots of places, and > since StringIO do

Re: [Jruby-devel] Status of Zlib and Gem

2006-03-22 Thread Ola Bini
sday, March 21, 2006 11:30 pm Subject: Re: [Jruby-devel] Status of Zlib and Gem To: [email protected] > Two fixes so far: > > 1. Added CRC32Ext based on Adler32Ext - seemed to be missing when I > updatedmy branch from HEAD, perhaps it was not in the original > p

Re: [Jruby-devel] Status of Zlib and Gem

2006-03-21 Thread Thomas E Enebo
On Tue, 21 Mar 2006, Charles O Nutter defenestrated me: > >Two fixes so far: >1. Added CRC32Ext based on Adler32Ext - seemed to be missing when I >updated my branch from HEAD, perhaps it was not in the original patch, >or got missed. >2. Added defaults to GZipWriter#initialize

Re: [Jruby-devel] Status of Zlib and Gem

2006-03-21 Thread Charles O Nutter
Two fixes so far:1. Added CRC32Ext based on Adler32Ext - seemed to be missing when I updated my branch from HEAD, perhaps it was not in the original patch, or got missed.2. Added defaults to GZipWriter#initialize to match open and Deflate#new:     def initialize(io, level=nil, strategy=nil)  @i

Re: [Jruby-devel] Status of Zlib and Gem

2006-03-21 Thread Charles O Nutter
ms, at least. > >> > I am running JRuby from HEAD, so this error doesn't make sense.> It seems> > as if the script isn't running in my CWD, which makes it> impossible to> > find the needed file. > >> > Regards> >  Ola Bini> >>

Re: [Jruby-devel] Status of Zlib and Gem

2006-03-21 Thread Charles O Nutter
find "sources.gemspec". This is probably due to some> > problems with CWD or whatnot. I'll take a closer look on it> tomorrow, if> > you don't have any ideas about it. > >> > Regards> > Ola Bini> >> > - Original Message -

Re: [Jruby-devel] Status of Zlib and Gem

2006-03-21 Thread Thomas E Enebo
> > Here is the file. > > - Original Message - > From: Thomas E Enebo <[EMAIL PROTECTED]> > Date: Tuesday, March 21, 2006 2:53 pm > Subject: Re: [Jruby-devel] Status of Zlib and Gem > To: [email protected] > > > Can you resend zlib.patch with the '

Re: [Jruby-devel] Status of Zlib and Gem

2006-03-21 Thread Ola Bini
Ah, sorry, I'm sitting on a sorry Win32-system. No good diff. Here is the file. Regards Ola - Original Message - From: Thomas E Enebo <[EMAIL PROTECTED]> Date: Tuesday, March 21, 2006 2:53 pm Subject: Re: [Jruby-devel] Status of Zlib and Gem To: [email protected]

Re: [Jruby-devel] Status of Zlib and Gem

2006-03-21 Thread Thomas E Enebo
e to > find the needed file. > > Regards > Ola Bini > > > - Original Message - > From: Charles O Nutter <[EMAIL PROTECTED]> > Date: Monday, March 20, 2006 11:44 pm > Subject: Re: [Jruby-devel] Status of Zlib and Gem > To: [email protected]

Re: [Jruby-devel] Status of Zlib and Gem

2006-03-21 Thread Ola Bini
eeded file. Regards Ola Bini - Original Message - From: Charles O Nutter <[EMAIL PROTECTED]> Date: Monday, March 20, 2006 11:44 pm Subject: Re: [Jruby-devel] Status of Zlib and Gem To: [email protected] > If you are running with JRuby 0.8.2 you will proably not get

Re: [Jruby-devel] Status of Zlib and Gem

2006-03-20 Thread Charles O Nutter
If you are running with JRuby 0.8.2 you will proably not get gems to run all the way. If that's the case, you should make sure to use the current JRuby in CVS HEAD, which should run gems successfully up to the point it needs zlib. You may try to send what you have as well, and we can see what it fi

Re: [Jruby-devel] Status of Zlib and Gem

2006-03-20 Thread Ola Bini
]> Date: Monday, March 20, 2006 11:30 pm Subject: Re: [Jruby-devel] Status of Zlib and Gem To: [email protected] > On Mon, 20 Mar 2006, Ola Bini defenestrated me: > > Hi. > > > > I have now implemented most of the basic functionality in zlib.rb > > (Zl

Re: [Jruby-devel] Status of Zlib and Gem

2006-03-20 Thread Charles O Nutter
Yes, kudos on what sounds like a good start on zlib. Hopefully the bits that RubyGems needs won't be outside the bounds of Java's zip support. Feel free to send along whatever you have when you're comfortable with it. On 3/20/06, Thomas E Enebo <[EMAIL PROTECTED]> wrote: On Mon, 20 Mar 2006, Ola Bi

Re: [Jruby-devel] Status of Zlib and Gem

2006-03-20 Thread Thomas E Enebo
On Mon, 20 Mar 2006, Ola Bini defenestrated me: > Hi. > > I have now implemented most of the basic functionality in zlib.rb > (Zlib::Inflate, Zlib::Deflate, Zlib::GzipReader and Zlib::GzipWriter > have the most basic functionality to make it marginally useful). Sorry > to say, much of the more int

[Jruby-devel] Status of Zlib and Gem

2006-03-20 Thread Ola Bini
Hi. I have now implemented most of the basic functionality in zlib.rb (Zlib::Inflate, Zlib::Deflate, Zlib::GzipReader and Zlib::GzipWriter have the most basic functionality to make it marginally useful). Sorry to say, much of the more interesting features in gz are missing from the java implementa