Re: [jruby-dev] Disabling ObjectSpace in 1.1

2007-10-29 Thread Charles Oliver Nutter
Charles Oliver Nutter wrote: So, it's time to bring up this question. ObjectSpace makes JRuby so much slower, I think it's time to consider disabling it by default. It's done. - ObjectSpace.each_object will raise a RuntimeError if called with something other than Class when objectspace is dis

Re: [jruby-dev] "stack level too deep" error when

2007-10-29 Thread Charles Oliver Nutter
XiaoLiang Liu wrote: That's great! So the new version JRuby with the fix will be released this week? That's right! - Charlie - To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

Re: [jruby-dev] "stack level too deep" error when

2007-10-29 Thread XiaoLiang Liu
That's great! So the new version JRuby with the fix will be released this week? On 10/30/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote: > > XiaoLiang Liu wrote: > > So is there any schedule for resolving this problem? Thanks. > > I fixed it on trunk and 1.0 branch this week, and it will be i

Re: [jruby-dev] "stack level too deep" error when

2007-10-29 Thread Charles Oliver Nutter
XiaoLiang Liu wrote: So is there any schedule for resolving this problem? Thanks. I fixed it on trunk and 1.0 branch this week, and it will be in the 1.0.2 and 1.1b1 releases later this week. - Charlie - To unsubscribe from

Re: [jruby-dev] "stack level too deep" error when

2007-10-29 Thread XiaoLiang Liu
So is there any schedule for resolving this problem? Thanks. On 10/25/07, XiaoLiang Liu <[EMAIL PROTECTED]> wrote: > > Thanks for telling :-) > > On 10/25/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote: > > > > XiaoLiang Liu wrote: > > > hi, > > > > > > I met a strange problem that when I ra

[jruby-dev] Changes on JavaEmbedUtils.java for JSR223 JRubyScriptEngine

2007-10-29 Thread Yoko Harada
Sorry, again. The attachment doesn't show up, so I put the patch in this message. --- src/org/jruby/javasupport/.svn/text-base/JavaEmbedUtils.java.svn-base 2007-10-29 13:40:19.0 -0400 +++ src/org/jruby/javasupport/JavaEmbedUtils.java 2007-10-29 16:11:43.0 -0400 @@ -28,

[jruby-dev] JavaEmbedUtils.java for JSR223 JRubyScriptEngine(Re: [jruby-dev] I18n problem in StrNode and ByteList)

2007-10-29 Thread Yoko Harada
Sorry, I totally forgot to attache a patch file. This time, the patch surely come with this message. -Yoko --- src/org/jruby/javasupport/.svn/text-base/JavaEmbedUtils.java.svn-base 2007-10-29 13:40:19.0 -0400 +++ src/org/jruby/javasupport/JavaEmbedUtils.java 2007-10-29 16:11:

Re: [jruby-dev] Disabling ObjectSpace in 1.1

2007-10-29 Thread Charles Oliver Nutter
Thomas E Enebo wrote: Too bad we cannot preserve original 1.0 semantics and have -O turn off Objectspace and +O enable it. Then we can default to -O. -O really just keeps getting worse and worse (comparatively to not having it enabled) and people generally do not realize they can disable it. S

Re: [jruby-dev] Disabling ObjectSpace in 1.1

2007-10-29 Thread Charles Oliver Nutter
Thomas E Enebo wrote: Too bad we cannot preserve original 1.0 semantics and have -O turn off Objectspace and +O enable it. Then we can default to -O. -O really just keeps getting worse and worse (comparatively to not having it enabled) and people generally do not realize they can disable it. S

[jruby-dev] Changes on JavaEmbedUtils.java for JSR223 JRubyScriptEngine(Re: [jruby-dev] I18n problem in StrNode and ByteList)

2007-10-29 Thread Yoko Harada
According to the message posted to jruby-user by Tom, I created some methods that encapsulate internal parseXXX methods. I attached a diff of JavaEmbedUtils.java, but I'm not sure this works as a patch file because I compared with the original file in .svn directory. Since current version of parseX

Re: [jruby-dev] Disabling ObjectSpace in 1.1

2007-10-29 Thread Alexey Verkhovsky
+1, same reasons as Tom (in a nutshell, people don't read manuals). -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] - To unsubscribe from this list pl

[jruby-dev] [jira] Created: (JRUBY-1487) weakref.rb could (should?) be implemented in Java

2007-10-29 Thread Charles Oliver Nutter (JIRA)
weakref.rb could (should?) be implemented in Java - Key: JRUBY-1487 URL: http://jira.codehaus.org/browse/JRUBY-1487 Project: JRuby Issue Type: Improvement Components: Extensions

Re: [jruby-dev] jruby 1.0: gem install failure

2007-10-29 Thread Eric Armstrong
Egad. I see that Ola made another note, and yet I didn't see that one either. I now see what happened: The bug-created message comes from [EMAIL PROTECTED], with heading [jruby-dev]. The bug-commented messages come from [EMAIL PROTECTED], with heading [jira]. As a result I've been filtering bug

Re: [jruby-dev] benefits of the Rake-based build system

2007-10-29 Thread Eric Armstrong
I'm sure that make /could/ be used, as well as ANT. But Rake is so vastly superior to either of them that I welcome its use in any project. The first time you need to do something really "interesting" (loops, conditonals, subroutines, dynamically constructed tasks), you'll welcome the move to Rak

Re: [jruby-dev] Default bug value is "don't watch"

2007-10-29 Thread Eric Armstrong
Charles Oliver Nutter wrote: Eric Armstrong wrote: Gad. If I hadn't gone to add some additional info to my bug report, I would never have know that Ola commented on it. The default setting for a bug I've filed is "don't watch". I don't know why that would be--it's not like I saw any option at th

Re: [jruby-dev] [jira] Created: (JRUBY-1449) rake-based build system for JRuby

2007-10-29 Thread Eric Armstrong
Fascinating. I hadn't paid attention to the namespace feature, heretofore. I have a use for that... Alexey Verkhovsky wrote: On 10/23/07, Eric Armstrong <[EMAIL PROTECTED]> wrote: How did you get tasks named "safe:clean", etc? namespace :foo do task :bar do ... end end

Re: [jruby-dev] Mongrel 1.1 beta JRuby gem

2007-10-29 Thread Evan Weaver
It should only depend on JRuby trunk as of a few days ago. If you could investigate that hang I would appreciate it. Evan On 10/29/07, Nick Sieger <[EMAIL PROTECTED]> wrote: > On 10/29/07, Evan Weaver <[EMAIL PROTECTED]> wrote: > > JRuby devs, > > > > Please try this beta for Mongrel 1.1 with JRu

Re: [jruby-dev] Disabling ObjectSpace in 1.1

2007-10-29 Thread Fabio Kung
I would really like to see it off by default. (disable ObjectSpace by default)++ On 28/10/2007, at 18:42, Thomas E Enebo wrote: Too bad we cannot preserve original 1.0 semantics and have -O turn off Objectspace and +O enable it. Then we can default to -O. -O really just keeps getting worse a

Re: [jruby-dev] Move javasupport .rb files out of jar?

2007-10-29 Thread Chris Nelson
Yikes. I understand now, thanks. Kind of darned if we do, darned if we don't. On 10/29/07, Ola Bini <[EMAIL PROTECTED]> wrote: > > Chris Nelson wrote: > > > > > > On 10/27/07, *Charles Oliver Nutter* <[EMAIL PROTECTED] > > > wrote: > > > > Also...on the "import" dep

Re: [jruby-dev] Mongrel 1.1 beta JRuby gem

2007-10-29 Thread Nick Sieger
On 10/29/07, Evan Weaver <[EMAIL PROTECTED]> wrote: > JRuby devs, > > Please try this beta for Mongrel 1.1 with JRuby support. You should be > able to install it with: > > jruby -S gem install mongrel --include-dependencies --source > http://mongrel.rubyforge.org/releases/ > > Or you can download

[jruby-dev] [jira] Created: (JRUBY-1486) Arguments that are passed to a compiled jruby file are not seen by the compiled program.

2007-10-29 Thread Derek Townsend (JIRA)
Arguments that are passed to a compiled jruby file are not seen by the compiled program. Key: JRUBY-1486 URL: http://jira.codehaus.org/browse/JRUBY-1486 Project:

Re: [jruby-dev] Move javasupport .rb files out of jar?

2007-10-29 Thread Ola Bini
Chris Nelson wrote: On 10/27/07, *Charles Oliver Nutter* <[EMAIL PROTECTED] > wrote: Also...on the "import" deprecation issue: we kinda made our bed in 1.0 by including "import", and we can't really deprecate it on the 1.0 line. But we could deprecat

Re: [jruby-dev] jruby-debug done (almost)

2007-10-29 Thread Martin Krauskopf
Martin Krauskopf wrote: So there is a conflict between ruby-debug-base-0.9.4 and ruby-debug-base-0.9.4-java (CRuby see '-java' as higher version probably). Could be solved in RubyGems? Might be Chris knows right people? ;) If this would work we would be without any problems and we would get ri

Re: [jruby-dev] Move javasupport .rb files out of jar?

2007-10-29 Thread Chris Nelson
Duh, i found jruby-1124 myself. On 10/29/07, Chris Nelson <[EMAIL PROTECTED]> wrote: > > > > On 10/27/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote: > > > Also...on the "import" deprecation issue: we kinda made our bed in 1.0 > > by including "import", and we can't really deprecate it on the

Re: [jruby-dev] Move javasupport .rb files out of jar?

2007-10-29 Thread Chris Nelson
On 10/27/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote: > Also...on the "import" deprecation issue: we kinda made our bed in 1.0 > by including "import", and we can't really deprecate it on the 1.0 line. > But we could deprecate it in 1.1 and provide an alternative. I'd feel > better about t

Re: [jruby-dev] jruby-debug done (almost)

2007-10-29 Thread Martin Krauskopf
Peter Brant wrote: Sounds good and thanks. As it turned out, I didn't have a chance to come back to it yesterday either. I did not release yet. Feel free to do so. What I think would be the best is this patch to ruby-debug: ...rubyforge.org/ruby-debug/trunk$ svn di lib/ruby-debug-base.

Re: [jruby-dev] Move javasupport .rb files out of jar?

2007-10-29 Thread Ola Bini
Tor Norbye wrote: On Oct 27, 2007, at 11:00 AM, Charles Oliver Nutter wrote: This would fit with the typical .rb/extension pair in Ruby, where a .rb file exposes some public utility APIs based upon the interface implemented by an extension. The only difference here is that the extension itsel

Re: [jruby-dev] Move javasupport .rb files out of jar?

2007-10-29 Thread Tor Norbye
On Oct 27, 2007, at 11:00 AM, Charles Oliver Nutter wrote: This would fit with the typical .rb/extension pair in Ruby, where a .rb file exposes some public utility APIs based upon the interface implemented by an extension. The only difference here is that the extension itself (java support)

Re: [jruby-dev] jruby-debug done (almost)

2007-10-29 Thread Peter Brant
Sounds good and thanks. As it turned out, I didn't have a chance to come back to it yesterday either. Pete On 10/28/07, Martin Krauskopf <[EMAIL PROTECTED]> wrote: > ...I gave you Admin role just now, since it is late here and I'm not > sure if I will be able to react today. If you really do not

[jruby-dev] Mongrel 1.1 beta JRuby gem

2007-10-29 Thread Evan Weaver
JRuby devs, Please try this beta for Mongrel 1.1 with JRuby support. You should be able to install it with: jruby -S gem install mongrel --include-dependencies --source http://mongrel.rubyforge.org/releases/ Or you can download it directly from http://mongrel.rubyforge.org/releases/gems/mongrel

[jruby-dev] [jira] Created: (JRUBY-1485) Some names not being interned by parser / eval

2007-10-29 Thread Bill Dortch (JIRA)
Some names not being interned by parser / eval -- Key: JRUBY-1485 URL: http://jira.codehaus.org/browse/JRUBY-1485 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.1 Environment