Re: [jruby-dev] JRuby 1.5 feature: 10s of thousands of additional gems! (sourced from Maven)

2010-01-08 Thread Logan Barnett
On Jan 7, 2010, at 5:52 PM, Charles Oliver Nutter wrote: > If this doesn't make you weep tears of joy, then you have no heart: > > http://gist.github.com/271764 Hawt! > * Should we also provide some utility methods on the Rhino module for > just retrieving the jar file path? > * Should we req

Re: [jruby-dev] Ideas for shrinking the jar

2009-10-12 Thread Logan Barnett
It would be nice for someone not me to confirm that pack200-compressed applets do actually work. We could then host a sample applet setup people could use to build on. Logan: You mentioned trying to come up with a reduced .jar we could sign and host somewhere for others to reference. Maybe you

Re: [jruby-dev] Ideas for shrinking the jar

2009-10-12 Thread Logan Barnett
On Oct 10, 2009, at 1:11 AM, Vladimir Sizikov wrote: What's the driving force behind this? Is this because of limitations of GAE or something else? With applets, the smaller the better! - To unsubscribe from this list, please

Re: [jruby-dev] Proposal for new Java dispatch rules

2009-09-24 Thread Logan Barnett
On Sep 23, 2009, at 2:35 PM, Charles Oliver Nutter wrote: str = java.lang.System.get_property('foo') The 'foo' would coerce to a Java string on the way in, but the return value would not auto-coerce back to a Ruby String. It would ideally look and feel like a Ruby String and have all the expect

Re: [jruby-dev] Proposal for new Java dispatch rules

2009-09-21 Thread Logan Barnett
We will brainstorm on this one a bit, but if we can make all Ruby core types aware of common "it should work" Java types then we may not have an actual need for explicit coercion. For example, if RubyFixnum.op_plus(...) accepts a version which works with java.lang.Number (and subtypes) then thin

Re: [jruby-dev] Proposal for new Java dispatch rules

2009-09-21 Thread Logan Barnett
On Sep 21, 2009, at 9:37 AM, Charles Oliver Nutter wrote: Types from Java will not auto-coerce This will prevent Monkeybars apps from upgrading without some big changes. Since a Monkeybars app gets its own standalone JRuby, I'm not too worried about changes that aren't backwards compatible.

[jruby-dev] [jira] Created: (JRUBY-3928) Net::HTTP doesn't timeout as expected when using timeout.rb

2009-08-31 Thread Logan Barnett (JIRA)
nents: Core Classes/Modules Affects Versions: JRuby 1.3.1 Environment: OSX 10.5, JRUBY 1.3.1 Reporter: Logan Barnett Fix For: JRuby 1.4 HTTP requests don't time out as expected when using timeout.rb: # First create a generic socket server listening on 9000,

Re: [jruby-dev] Restructured jruby-complete fixes bugs, but...?

2009-08-23 Thread Logan Barnett
On Aug 22, 2009, at 6:46 PM, Charles Oliver Nutter wrote: Basically the problem with that bug was that our load path looked for Ruby stdlib in !META-INF/jruby.home/lib/ruby/1.8, but we put stdlib at the *root* of the jar instead. This allows the classpath loader to find those libraries, but no

Re: [jruby-dev] A real Java integration enhancement need: null casting

2009-08-10 Thread Logan Barnett
cts (or Ruby objects that have a parent Java class). This way you don't muck with core stuff. Logan Barnett logus...@gmail.com http://www.logustus.com - To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Re: [jruby-dev] Installers for various platforms?

2009-07-17 Thread Logan Barnett
On Jul 16, 2009, at 7:59 PM, Charles Oliver Nutter wrote: OS X is certainly going to be the easiest one, since we know Java (and usually Java 6) will be installed. Do you mean Java 5, or are you privy to information about Snow Leopard that us mere mortals are not? (: Logan Barnett logus

[jruby-dev] [jira] Created: (JRUBY-3765) DummyDynamicScope should never be used for backref storage

2009-06-20 Thread Logan Barnett (JIRA)
1.3.1, JRuby 1.3, JRuby 1.2 Reporter: Logan Barnett Assignee: Thomas E Enebo Priority: Blocker Fix For: JRuby 1.4 Attachments: platform.rb I'm not sure if this is the same issue as http://jira.codehaus.org/browse/JRUBY-3699, which see

[jruby-dev] [jira] Created: (JRUBY-3499) File.expand_path (from inside a jar) uses %20 instead of space characters

2009-03-15 Thread Logan Barnett (JIRA)
: Bug Affects Versions: JRuby 1.1.6 Reporter: Logan Barnett Assignee: Nick Sieger Fix For: JRuby 1.1.6 These globs are created with Dir.glob. The first is unmodified. The second is replacing the %20 with a space. {noformat} glob: file:/Users/logan/dev

Re: [jruby-dev] Compiler2 Update

2009-03-13 Thread Logan Barnett
On Mar 12, 2009, at 9:11 PM, Charles Oliver Nutter wrote: I have committed another round of work on compiler2, and it now supports signatures. Here's an example: require 'rbconfig' require 'java' require 'tool/signature' class MyRubyClass def helloWorld puts "Hello from Ruby" end def

Re: [jruby-dev] [ANN] JRuby 1.2.0RC2 Released

2009-03-09 Thread Logan Barnett
On Mar 9, 2009, at 3:57 AM, Manfred Usselmann wrote: I assumed that it was fixed, because JRUBY-2518 is on the list of fixes for 1.2.0RC1 and Logan thought that the fix for this issue would also solve my problem. But JRUBY-2518 is not fixed (you bumped to 1.3) and it also would not solve my i

Re: [jruby-dev] Setting priorities for 1.3

2009-02-28 Thread Logan Barnett
I'm anxious to see more 1.9 support. I'd also love to see some of the java integration bugs get fixed, but I think that ball is in my court for getting specs to produce said bugs, and I don't know how many users are utilizing these features right now (the amount of Monkeybars users could pro

[jruby-dev] [jira] Created: (JRUBY-3424) File.expand_path does not correctly follow directory changes from Dir.chdir

2009-02-20 Thread Logan Barnett (JIRA)
Type: Bug Components: Core Classes/Modules Reporter: Logan Barnett Fix For: JRuby 1.2 Two tests included. One that shows that Dir.pwd isn't the culprit (pass). The other shows File.expand_path (fails). {noformat} describe "File.expand_path"

Re: [jruby-dev] Formalizing load and require of .class

2009-02-17 Thread Logan Barnett
I think this has come around a few times with Monkeybars apps for some of our users. The workaround for it is pretty easy, but I think some greater separation between Java and Ruby is better here. It could also help the developer in thinking that $LOAD_PATH != $CLASSPATH, which is a somewhat relat

[jruby-dev] [jira] Created: (JRUBY-3327) Possible YAML parsing error

2009-01-23 Thread Logan Barnett (JIRA)
Reporter: Logan Barnett As a disclaimer here, I'm not sure if this is 100% legal YAML. However, the error message is a bit cryptic (no line numbers for the offending line, etc). Using the following YAML doc: {noformat} - foo bar: bazz {noformat} {noformat} YAML.load_documents("-

[jruby-dev] [jira] Created: (JRUBY-3325) Compiling ActiveSupport produces a bug on require

2009-01-23 Thread Logan Barnett (JIRA)
/Modules Affects Versions: ActiveRecord-JDBC-0.9, JRuby 1.1.6 Reporter: Logan Barnett When running from the jar: {noformat} NameError - undefined method `+' for class `Date' lib/ruby/activesupport/lib/active_support/core_ext/date/conversions.rb:15:in `included

[jruby-dev] [jira] Created: (JRUBY-3273) When isFoo and getFoo collide, isFoo wins when calling foo

2008-12-30 Thread Logan Barnett (JIRA)
When isFoo and getFoo collide, isFoo wins when calling foo -- Key: JRUBY-3273 URL: http://jira.codehaus.org/browse/JRUBY-3273 Project: JRuby Issue Type: Bug Reporter: Logan

[jruby-dev] [jira] Created: (JRUBY-3247) Compiled Ruby files with dashes cannot be required when on the load path/classpath.

2008-12-16 Thread Logan Barnett (JIRA)
Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.1.5, JRuby 1.1.6 Reporter: Logan Barnett src/main.rb has: {noformat} require 'foo-bar' FooBar.new {noformat} src/foo-bar.rb has: {noformat} class FooBar end {noformat} src is o

[jruby-dev] [jira] Created: (JRUBY-3162) Dir.glob does not like encodings, and will fail when used with File.expand_path

2008-11-18 Thread Logan Barnett (JIRA)
Issue Type: Bug Affects Versions: JRuby 1.1.6 Reporter: Logan Barnett Assignee: Thomas E Enebo These globs are created with Dir.glob. The first is unmodified. The second is replacing the %20 with a space. {noformat} glob: file:/Users/logan/dev/skywire/package/space

[jruby-dev] [jira] Created: (JRUBY-3046) Method Arity is null

2008-10-07 Thread Logan Barnett (JIRA)
Method Arity is null Key: JRUBY-3046 URL: http://jira.codehaus.org/browse/JRUBY-3046 Project: JRuby Issue Type: Bug Reporter: Logan Barnett Assignee: Thomas E Enebo Fix For: JRuby

Re: [jruby-dev] Design by committee! new java field attribute method

2008-09-09 Thread Logan Barnett
exposed name, and just allow you to one-line a bunch of fields you want exposed (like the attr versions)? field_accessor :java_foo => :ruby_foo field_accessor :foo, :bar, :bazz field_accessor :foo, :bar, :bazz, :javaQux => :ruby_qux Logan Barnett [EMAIL PROTECTED] 602 71

[jruby-dev] [jira] Created: (JRUBY-2969) Classes that include modules that include Java interfaces and return nil for __jcreate_meta! throw an internal JRuby error

2008-09-02 Thread Logan Barnett (JIRA)
URL: http://jira.codehaus.org/browse/JRUBY-2969 Project: JRuby Issue Type: Bug Reporter: Logan Barnett Assignee: Thomas E Enebo Fix For: JRuby 1.1.5 Given a module that implements an interface, and a Class includes that module AND

[jruby-dev] [jira] Created: (JRUBY-2934) FTP commands run slow in windows

2008-08-18 Thread Logan Barnett (JIRA)
Reporter: Logan Barnett Assignee: Thomas E Enebo In Windows, FTP commands are very slow (about a 6 second delay). {noformat} require 'net/ftp' ftp = Net::FTP.open 'ftp.server.com', 'user', 'password' ftp.ls # a six second delay or so, an

[jruby-dev] [jira] Created: (JRUBY-2882) Incorrect subclass for constructor arg throws internal JRuby error

2008-07-31 Thread Logan Barnett (JIRA)
Components: Java Integration Reporter: Logan Barnett Fix For: JRuby 1.1.4 JDialog only accepts a Dialog or awt.Frame for the first param. JInternalFrame is neither. {noformat} internal_frame = Java::javax::swing::JFrame.new Java::javax::swing::JDialog.new(internal_frame

[jruby-dev] [jira] Created: (JRUBY-2872) JSpinner cannot accept Fixnum for it's value

2008-07-28 Thread Logan Barnett (JIRA)
ation Reporter: Logan Barnett Fix For: JRuby 1.1.4 {noformat} spinner = Java::javax::swing::JSpinner.new spinner.value = 0 {noformat} This code produces this error: {noformat} java.lang.IllegalArgumentException: illegal value at javax.swing.SpinnerNumberModel.set

[jruby-dev] [jira] Created: (JRUBY-2863) Nested Interfaces can't find the correct method when Java calls Ruby

2008-07-23 Thread Logan Barnett (JIRA)
: Bug Components: Java Integration Affects Versions: JRuby 1.1.4 Reporter: Logan Barnett The Java code import java.awt.event.ActionListener; public class TestFrame extends javax.swing.JFrame { // historically, a long chain of listeners went here p

[jruby-dev] [jira] Created: (JRUBY-2857) Coercion error with public member variables

2008-07-23 Thread Logan Barnett (JIRA)
Versions: JRuby 1.1.4 Reporter: Logan Barnett grid_bag_constraints = Java::java::awt::GridBagConstraints.new grid_bag_constraints.gridx = 0 Produces: :1: wrong type for int: java.lang.Long (TypeError) gridx is a public member variable on GridBagContraints -- This message is automatically

[jruby-dev] [jira] Created: (JRUBY-2850) In some cases, reopened Java objects cannot find methods on Ruby objects subclassed from Java

2008-07-22 Thread Logan Barnett (JIRA)
Project: JRuby Issue Type: Bug Components: Java Integration Reporter: Logan Barnett The following code produces undefined method `set_value_enabled' for #<#:0x24ea85> (NoMethodError). Calling DisabledItemComboBoxRenderer.new.set_value_enabled(..

[jruby-dev] [jira] Created: (JRUBY-2847) A non-existant jar + dir on the load path causes require to error

2008-07-22 Thread Logan Barnett (JIRA)
Components: Core Classes/Modules Affects Versions: JRuby 1.1.4 Environment: OS X Reporter: Logan Barnett This code causes a large JRuby internal error (assuming some-jar.jar doesn't exist): $LOAD_PATH << "file:/some-jar.jar!/src" require 'some_fi

[jruby-dev] [jira] Created: (JRUBY-2825) to_java :Object attempts to coerce Ruby objects in Array into Java objects and fails

2008-07-18 Thread Logan Barnett (JIRA)
Issue Type: Bug Components: Java Integration Affects Versions: JRuby 1.1.3 Environment: OSX Reporter: Logan Barnett class Foo; end require 'java' [Foo.new, Foo.new, Foo.new].to_java :Object Fails with the following: /Users/logan/dev/jrub

[jruby-dev] [jira] Created: (JRUBY-2518) Dir["some glob"] doesn't work for files inside a jar

2008-05-14 Thread Logan Barnett (JIRA)
s: Core Classes/Modules Affects Versions: JRuby 1.1.1 Environment: Mac OSX, Windows XP Reporter: Logan Barnett Using both relative and absolute paths, Dir["my-dir/*"] gives an empty array when probing the contents of a jar. Files in the jar can still be required dir

[jruby-dev] [jira] Created: (JRUBY-2385) expect.rb

2008-04-10 Thread Logan Barnett (JIRA)
: Logan Barnett The following code fails: require 'expect' expect.rb doesn't appear to be using any native extensions. Copying the file over from the MRI version seems to work ok. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly con

[jruby-dev] [jira] Created: (JRUBY-2366) File.expand_path doesn't work under Java Web Start deployments

2008-04-06 Thread Logan Barnett (JIRA)
fects Versions: JRuby 1.1RC3 Environment: Windows XP Reporter: Logan Barnett Assignee: Thomas E Enebo Inside src/manifest.rb puts "this file: #{File.expand_path(File.dirname(__FILE__))}" Windows: C:/Documents and Settings/Administrator/http:/www.happyca

[jruby-dev] [jira] Created: (JRUBY-1506) Blocking Java calls don't work with timeout

2007-11-02 Thread Logan Barnett (JIRA)
Blocking Java calls don't work with timeout --- Key: JRUBY-1506 URL: http://jira.codehaus.org/browse/JRUBY-1506 Project: JRuby Issue Type: Bug Environment: Mac Reporter:

[jruby-dev] [jira] Created: (JRUBY-1243) Module#class_variable_defined? not defined.

2007-07-27 Thread Logan Barnett (JIRA)
Module#class_variable_defined? not defined. --- Key: JRUBY-1243 URL: http://jira.codehaus.org/browse/JRUBY-1243 Project: JRuby Issue Type: Bug Environment: WinXP Reporter: Logan