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
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
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
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
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
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.
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,
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
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
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
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
: 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
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
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
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
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"
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
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("-
/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
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
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
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
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
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
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
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
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
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
: 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
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
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(..
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
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
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
: 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
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
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:
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
38 matches
Mail list logo