Re: [Jruby-devel] Inline rescue syntax

2006-04-05 Thread Nick Sieger
On 4/5/06, Charles O Nutter <[EMAIL PROTECTED]> wrote: My money is on a parser change. It seems to parse ok, but it's as if the logic executed by the generated AST is not behaving the same way as C Ruby.  Do you think the parser is mis-interpreting the _expression_ following "rescue" as some sort o

Re: [Jruby-devel] Updated patch for Kernel#system and Kernel#backquote

2006-04-05 Thread Charles O Nutter
Here's an updated, cleaned up patch that should apply correctly in NetBeans and in Eclipse (I'm not sure why NetBeans patches are not udiff, since it seems able to apply them just fine).Changes:- There was a rogue System.out.println in there for debugging- Vector and Stack are now List and Unsynch

Re: [Jruby-devel] Re: String#insert patch

2006-04-05 Thread Charles O Nutter
There are plenty of 1.8 methods that have never been implemented, and many of them are not tested by Rubicon since it was originally written for 1.6. The lack of a spec or a complete set of unit tests continues to complicate our work. I'll have a look at the patch and try to get it committed.On 4/5

Re: [Jruby-devel] Inline rescue syntax

2006-04-05 Thread Charles O Nutter
That's an interesting one; if it's not supported now it may require a parser change to wrap the specified code in an implicit begin block. You could look into how RescueNode is handled, but it's pretty deep stuff.My money is on a parser change. On 4/5/06, Nick Sieger <[EMAIL PROTECTED]> wrote: Some

[Jruby-devel] Inline rescue syntax

2006-04-05 Thread Nick Sieger
Some Rails code uses a shorthand rescue syntax that JRuby does not seem to appreciate.  Witness the following tidbit:def dummy(obj)  obj.missing_method rescue "missing_method"endputs dummy("hello") In C Ruby:[20:57:24][~/Projects/jruby]$ ruby test/testRescue.rb missing_methodIn JRuby:[20:57:30][~/P

[Jruby-devel] Re: String#insert patch

2006-04-05 Thread Nick Sieger
On 4/5/06, Nick Sieger <[EMAIL PROTECTED]> wrote: It seems like there are occasionally methods in the 1.8 API that still aren't implemented in JRuby.  String#insert is one of those I ran into while doing my work on ActiveRecord.Attached is a patch to add it. Eeek, I suppose it would help if I attac

[Jruby-devel] String#insert patch

2006-04-05 Thread Nick Sieger
It seems like there are occasionally methods in the 1.8 API that still aren't implemented in JRuby.  String#insert is one of those I ran into while doing my work on ActiveRecord.Attached is a patch to add it. /Nick

Re: [Jruby-devel] Updated patch for Kernel#system and Kernel#backquote

2006-04-05 Thread Charles O Nutter
Comments:- I'll be replacing Vector and Stack with ArrayList and UnsynchronizedStack; we don't ever have more than one thread accessing the given vars, and moving to unsynchronized collections has given us a speed boost in many other areas. - The System.setOut stuff is definitely problematic, espec

[Jruby-devel] ChaseOnlineSM� Security Measures

2006-04-05 Thread Chase Security
   Dear JPMorgan Chase & Co Customer,       Due to recent fraudulent activities on some of JPMorgan Chase & Co online    accounts we are launching a new security system to make JPMorgan Chase & Co   online accounts more secure and safe. Before we can activate it we will be checking    all JPMorga

Re: [Jruby-devel] Updated patch for Kernel#system and Kernel#backquote

2006-04-05 Thread Charles O Nutter
I saw it was a NetBeans patch, so I did what I'd been intending to do for a while: make JRuby work as a project in NetBeans too. I just committed project.xml, so it should be working correctly. I'm pretty new to NetBeans, however, so if you (Marc) or someone else more familiar could have a look, I'

Re: [Jruby-devel] Updated patch for Kernel#system and Kernel#backquote

2006-04-05 Thread Charles O Nutter
Ahh, one other detail: please use unified diff for your patches. It came through ok this time, so I should be able to apply it anyway.On 4/5/06, Marc Hadley <[EMAIL PROTECTED]> wrote:I tracked down the shell wildcard problem with my original patch and also tidied things up a bit and fixed a couple

[Jruby-devel] Updated patch for Kernel#system and Kernel#backquote

2006-04-05 Thread Marc Hadley
I tracked down the shell wildcard problem with my original patch and also tidied things up a bit and fixed a couple of additional bugs I ran into during testing. With this patch Kernel#system and Kernel#backquote now pass all the rubicon tests. One change I made that could have future reper

[Jruby-devel] Status of RubyGems

2006-04-05 Thread Ola Bini
Hi Just wanted to report about RubyGems after the fixing of Marshalling. As of right now, when I run gem install rake it tries to download updated source indices, but hangs there in the same way as the setup.rb-script does. These are probably related issues and will be the next point to look at