kares
|
3f68bb00dc
|
1.9 compatibility fixes
|
2012-02-15 12:36:16 +01:00 |
|
kares
|
212f047cfa
|
make sure Ruby::Function#call 'redefines' Rhino's native (aliased) BaseFunction#__call__ thus resolving correctly with native as well as ruby functions when invoked from Ruby
|
2012-01-13 12:31:01 +01:00 |
|
kares
|
7e3c2e8e1d
|
JS === for wrapped object (now unbound) methods; a better optimization_level writer and adding a reader as well
|
2012-01-10 17:24:12 +01:00 |
|
kares
|
a6acb32a5b
|
delegate (Ruby wrapper) caching to JS::Context - to behave somehow 'more' correctly with multiple context sessions
|
2012-01-10 10:52:53 +01:00 |
|
kares
|
bc3ca955cc
|
fix passing scope to when delegating to access + add an attribute aware access impl; make sure Ruby::Object has correct parent scope set
|
2012-01-07 17:01:38 +01:00 |
|
kares
|
f4b462216e
|
introduce an access module for routing (ruby) Scriptable calls
|
2012-01-06 18:29:22 +01:00 |
|
kares
|
cb2016334e
|
handle nagative < -1 arrities; a better getClassName; a useful == for wrapper objects
|
2012-01-06 16:45:20 +01:00 |
|
kares
|
8e6b51cfb4
|
JS style function call argument slicing/filling + fn.length fix to be always >= 0
|
2011-12-14 13:22:46 +01:00 |
|
kares
|
0e2274a685
|
re-add #methodcall for JS functions accessed from Ruby; use JRuby's include_package in favor of import
|
2011-12-14 11:49:35 +01:00 |
|
kares
|
e2ffe61ebf
|
support for delegating to hash like method [] / []= when wrapped subject supports them
|
2011-12-13 17:46:04 +01:00 |
|
kares
|
21434b05df
|
extract and reuse Scriptable get/has/put implementation across all ruby wrappers ...
|
2011-12-13 13:43:07 +01:00 |
|
kares
|
ff18fb111d
|
move class definitions under a Rhino::Ruby module, re-added support for "caching" returned wrapped ruby values due JS === comparison
|
2011-12-13 12:35:57 +01:00 |
|
kares
|
cdf770d95b
|
pass a scope to initialize for all ruby wrapper classes and attempt to initialize parent scope and prototype whenever it is present; override BaseFunction's #getLength and #getFunctionName for RubyFunction
|
2011-12-12 22:34:27 +01:00 |
|
kares
|
21f62eb245
|
add a ruby class wrapper - acts as a JS contructor, reimplement RubyObject#get to treat accessors as properties but otherwise arbitrary methods with arity == 0 should rather act as functions, move all ruby wrappers to a single unit
|
2011-12-12 22:17:42 +01:00 |
|