Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: master
Commits on May 10, 2011
Commits on Apr 25, 2011
  1. Set prototype and parent scope for JavaAdapters extending ScriptableO… authored
Commits on Apr 21, 2011
  1. Fix JSON.parse() for negative index keys. authored
  2. Make JSON.parse use the same logic for property name to index convers… authored
    …ion as object literals.
    This fixes cases like JSON.parse('{"00": 1}') or JSON.parse('{"  ": 1}') where the key should
    not be converted to an index.
    and bug #537483.
Commits on Apr 12, 2011
Commits on Apr 10, 2011
  1. Bump version string to 1.7R3 (dropping the "prerelease") authored
Commits on Apr 8, 2011
  1. Protect against endless loop caused by int overflow in ScriptableObje… authored
Commits on Apr 7, 2011
  1. Recommitting file to hopefully get it fixed authored
  2. Removing file with bogus version. authored
  3. Move missing test file. authored
  4. Move commonjs/module tests to o.m.j.tests, fix a few details to make … authored
    …sure they run properly
     - Rename Java test classes from *Tests to *Test to match ant file pattern
     - Update testRelativeId.js to no longer rely on for relative require
     - Convert to Unix line breaks
  5. Move commonjs/module tests to o.m.j.tests, fix a few details to make … authored
    …sure they run properly
     - Rename Java test classes from *Tests to *Test to match ant file pattern
     - Update testRelativeId.js to no longer rely on for relative require
     - Convert to Unix line breaks
  6. Add CommonJS module options to Rhino shell. authored
  7. Make CommonJS module implementation work with more real world code pa… authored
    This includes loading modules outside the module path, replacing the exports object
    via module.exports, and lenient handling of module ids and file extensions.
Commits on Apr 1, 2011
  1. Convert to Unix line breaks. authored
Commits on Mar 29, 2011
  1. Allow keywords as proeprty identifiers. Fixes bug 423557. authored
  2. Allow use of reserved keywords as identifiers by default, following m… authored
    …ost modern JS engines.
Commits on Mar 23, 2011
  1. Unify indentation + minor fixes authored
  2. Fix redundant slot fetching and possible NullPointerException in Scri… authored
Commits on Mar 21, 2011
  1. Fix for source location in the error constructed by ScriptRuntime.thr… authored
Commits on Mar 16, 2011
  1. Add serialVersionUID to TopLevel class authored
Commits on Mar 10, 2011
  1. Fix formatting authored
Commits on Mar 9, 2011
  1. Optimize hash performance on empty slots query authored
Commits on Mar 6, 2011
  1. Significantly improve ScriptableObject hash performance authored
    Changes include:
       * Limit slot table size to powers of 2 so we can use bitwise and instead of modulo for index calculation
       * Remove optimizations that don't carry their weight anymore such as cachingn of last accessed property slot
       * Split up large methods like accessSlot, putImpl and getImpl into smaller pieces
  2. Patch for bug 637587 - Functionality of built-in classes is exposed t… authored
    …o changes in global object
    This patch adds a new TopLevel class that extends IDScriptableObject and is
    extended by ImporterTopLevel. TopLevel is meant to be used as top-level scope
    and allows to cache built-in ECMAScript objects such as Object, Array,
    Function, String etc.
    The patch also adds two methods to ScriptRuntime called newBuiltinObject() and
    setBuiltinProtoAndParent() that work similar to newObject() and
    setObjectProtoAndParent() but directly access the cached built-ins in the
    TopLevel scope.
    If the top-level scope is not an instance of TopLevel or does not have its
    built-in cache initialized, these methods will fall back to the old behaviour.
Commits on Mar 1, 2011
  1. Fix bug 630111 - Codegen optimizer fails with Unsupported major.minor… authored
    … version 0.0 on JDK7
Commits on Feb 23, 2011
  1. Fix Bug 531600 - "while(true) continue;" will never trigger observeIn… authored
  2. Fix bug 520545 - ScriptableObject.defineClass fails if method is defi… authored
    …ned both static and non-static
Commits on Feb 22, 2011
  1. Include test file name in failed Mozilla test suite tests. authored
Commits on Feb 10, 2011
  1. Add LRU cache for compiled scripts to the shell's load() function authored
    This helps a lot with tests and benchmarks, and generally should help
    all applications where scripts are loaded repeatedly. The cache is
    limited to 32 entries and uses MD5 hashes to detect updated scripts.
Commits on Feb 9, 2011
  1. Fix strange interpreter performance regression introduced in rev. 1.3… authored
    …57 of ("More progress on strict mode").
    The problem was extremely visible in V8-benchmark where score was reduced to roughly a 30% by the introduction of STRICT_SETNAME handling with Sun Java 1.6.0_22-b04 HotSpot Server VM. I think handling STRICT_SETNAME using the ScriptRuntime method in Interpreter is also more consistent.
Commits on Dec 16, 2010
  1. Fix for bug 619296 - Java class wrapping not customizable via WrapFac… authored
    This adds a wrapJavaClass() method to WrapFactory that can be overridden
    to use something other than NativeJavaClass as java class wrapper.
Commits on Dec 15, 2010
  1. Print test file name in ShellTest error message. authored
Something went wrong with that request. Please try again.