Switch branches/tags
Nothing to show
Commits on May 10, 2011
Commits on Apr 25, 2011
  1. Set prototype and parent scope for JavaAdapters extending ScriptableO… committed Apr 25, 2011
Commits on Apr 21, 2011
  1. Fix JSON.parse() for negative index keys. committed Apr 21, 2011
  2. Make JSON.parse use the same logic for property name to index convers… committed Apr 21, 2011
    …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") committed Apr 10, 2011
Commits on Apr 8, 2011
  1. Protect against endless loop caused by int overflow in ScriptableObje… committed Apr 8, 2011
Commits on Apr 7, 2011
  1. Recommitting file to hopefully get it fixed committed Apr 7, 2011
  2. Removing file with bogus version. committed Apr 7, 2011
  3. Move missing test file. committed Apr 7, 2011
  4. Move commonjs/module tests to o.m.j.tests, fix a few details to make … committed Apr 7, 2011
    …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 … committed Apr 7, 2011
    …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. committed Apr 7, 2011
  7. Make CommonJS module implementation work with more real world code pa… committed Apr 7, 2011
    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. committed Apr 1, 2011
Commits on Mar 29, 2011
  1. Allow keywords as proeprty identifiers. Fixes bug 423557. committed Mar 29, 2011
  2. Allow use of reserved keywords as identifiers by default, following m… committed Mar 29, 2011
    …ost modern JS engines.
Commits on Mar 23, 2011
  1. Unify indentation + minor fixes committed Mar 23, 2011
  2. Fix redundant slot fetching and possible NullPointerException in Scri… committed Mar 23, 2011
Commits on Mar 21, 2011
  1. Fix for source location in the error constructed by ScriptRuntime.thr… committed Mar 21, 2011
Commits on Mar 16, 2011
  1. Add serialVersionUID to TopLevel class committed Mar 16, 2011
Commits on Mar 10, 2011
  1. Fix formatting committed Mar 10, 2011
Commits on Mar 9, 2011
  1. Optimize hash performance on empty slots query committed Mar 9, 2011
Commits on Mar 6, 2011
  1. Significantly improve ScriptableObject hash performance committed Mar 6, 2011
    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… committed Mar 6, 2011
    …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… committed Mar 1, 2011
    … version 0.0 on JDK7
Commits on Feb 23, 2011
  1. Fix Bug 531600 - "while(true) continue;" will never trigger observeIn… committed Feb 23, 2011
  2. Fix bug 520545 - ScriptableObject.defineClass fails if method is defi… committed Feb 23, 2011
    …ned both static and non-static
Commits on Feb 22, 2011
  1. Include test file name in failed Mozilla test suite tests. committed Feb 22, 2011
Commits on Feb 10, 2011
  1. Add LRU cache for compiled scripts to the shell's load() function committed Feb 10, 2011
    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… committed Feb 9, 2011
    …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… committed Dec 16, 2010
    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. committed Dec 15, 2010