1
0
Fork 0
mirror of https://github.com/rubyjs/therubyrhino synced 2023-03-27 23:21:34 -04:00
therubyrhino/History.txt

80 lines
3.2 KiB
Text
Raw Normal View History

=== 1.73.2 2012-04-11
* improve JSError#message + add JSError#value to reflect throw JS value
* correctly convert hashes nested within arrays to_javascript (#12)
* full jruby --1.9 compatibility
* Context.default_factory - no longer use a new factory per context
* restrictable limits now require Contex.new(:restrictable => true)
* added Context#timeout_limit (to complete instruction_limit)
=== 1.73.1 2011-11-28
NOTE: this is a "major" code update from 1.73.0 with some incompatibilities
although keeping the bits backward compatible as much as possible :
* add a JS:Function#apply to be used for calling functions from Ruby
* add a JS:Function#bind usable with JS functions from Ruby
* JS:Function#call should work similar to Method/Proc#call
* customizable scriptable access module for resolving Ruby properties from JS
with TRR compatible Ruby::DefaultAccess and a custom Ruby::AttributeAccess
* implement JavaScript function style argument filling/slicing (for Ruby)
* delegate to hash like method []/[]= when wrapped subject supports them
* introduce Ruby::Constructor JS wrapper for Ruby classes
* hande int JavaScript property resolution
* make sure Time -> Date conversion happens as well
* deprecate JavascriptError use JSError instead with a javascript_backtrace fix
* avoid using Rhino::To.javascript instead use Rhino.to_javascript etc.
* NativeObject/NativeFunction got removed to avoid wrapping - instead Rhino's
"native" Java classes are customized using JRuby's Java integration
* support for setting JS version via Context.version
* Rhino::J gets deprecated it's now know as Rhino::JS
=== 1.73.0 2011-11-28
* upgrade to rhino-1.7R3
* cache objects passed to context - same object passed twice ends up the same
* properly map ruby Time objects to javascript Date
* jruby --1.9 improvements
=== 1.72.8 2011-06-26
* fix passing of options hash to ruby.
2010-08-10 13:14:47 -04:00
2009-11-30 20:35:55 -05:00
=== 1.72.6 2009-11-30
* 2 major enhancements:
2009-11-20 11:01:03 -05:00
* evaluate an IO object such as a file or an socket input stream
* load javascript sources directly into the context with the file system
2009-11-13 12:36:25 -05:00
=== 1.72.5 2009-11-12
* 2 major enhancements:
* evaluate javascript with a ruby object as it's scope using Context#open(:with => object)
* add eval_js() method to Object to evaluate in the context of that object
=== 1.72.4 2009-11-12
* 3 major enhancements:
* automatically wrap/unwrap ruby and javascript arrays
* automatically convert ruby method objects and Proc objects into javascript functions
* Make functions defined in javascript callable from ruby
=== 1.72.3 2009-11-11
* 4 major enhancements:
2009-11-11 01:54:35 -05:00
* greatly simplified interface to context by unifying context and scope
* remove Context#open_std()
* remove Context#standard
* remove Context#init_standard_objects
2009-11-10 09:52:03 -05:00
=== 1.72.2 2009-11-10
* 1 major enhancement:
* ability to limit the instruction count for a context
=== 1.72.1 2009-11-09
* 4 major enhancements:
2009-10-06 10:04:57 -04:00
* easily manipulate javascript objects from ruby (NativeObject)
* make NativeObject Enumerable
2009-11-08 23:25:25 -05:00
* to_h and to_json for NativeObject
* embed ruby instances and call methods from javascript
2009-10-06 10:04:57 -04:00
2009-09-24 20:06:31 -04:00
=== 1.72.0 2009-09-24
* 2 major enhancements:
* evaluate javascript in jruby
* embed callable ruby objects in javascript