Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on May 10, 2011
Commits on Apr 25, 2011
  1. Set prototype and parent scope for JavaAdapters extending ScriptableO…

    hannes%helma.at authored
    …bject.
Commits on Apr 21, 2011
  1. Fix JSON.parse() for negative index keys.

    hannes%helma.at authored
  2. Make JSON.parse use the same logic for property name to index convers…

    hannes%helma.at 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.
    See http://groups.google.com/group/mozilla-rhino/browse_frm/thread/5350e704b40d761d
    and bug #537483.
Commits on Apr 12, 2011
Commits on Apr 10, 2011
  1. Bump version string to 1.7R3 (dropping the "prerelease")

    hannes%helma.at authored
Commits on Apr 8, 2011
  1. Protect against endless loop caused by int overflow in ScriptableObje…

    hannes%helma.at authored
    …ct.readObject()
Commits on Apr 7, 2011
  1. Recommitting file to hopefully get it fixed

    hannes%helma.at authored
  2. Removing file with bogus version.

    hannes%helma.at authored
  3. Move missing test file.

    hannes%helma.at authored
  4. Move commonjs/module tests to o.m.j.tests, fix a few details to make …

    hannes%helma.at 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 module.id for relative require
     - Convert to Unix line breaks
  5. Move commonjs/module tests to o.m.j.tests, fix a few details to make …

    hannes%helma.at 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 module.id for relative require
     - Convert to Unix line breaks
  6. Add CommonJS module options to Rhino shell.

    hannes%helma.at authored
  7. Make CommonJS module implementation work with more real world code pa…

    hannes%helma.at authored
    …tterns.
    
    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.

    hannes%helma.at authored
Commits on Mar 29, 2011
  1. Allow keywords as proeprty identifiers. Fixes bug 423557.

    hannes%helma.at authored
  2. Allow use of reserved keywords as identifiers by default, following m…

    hannes%helma.at authored
    …ost modern JS engines.
Commits on Mar 23, 2011
  1. Unify indentation + minor fixes

    hannes%helma.at authored
  2. Fix redundant slot fetching and possible NullPointerException in Scri…

    hannes%helma.at authored
    …ptableObject.checkValidPropertyDefinition()
Commits on Mar 21, 2011
  1. Fix for source location in the error constructed by ScriptRuntime.thr…

    szegedia%freemail.hu authored
    …owError
Commits on Mar 16, 2011
  1. Add serialVersionUID to TopLevel class

    hannes%helma.at authored
Commits on Mar 10, 2011
  1. Fix formatting

    hannes%helma.at authored
Commits on Mar 9, 2011
  1. Optimize hash performance on empty slots query

    hannes%helma.at authored
Commits on Mar 6, 2011
  1. Significantly improve ScriptableObject hash performance

    hannes%helma.at 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…

    hannes%helma.at 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…

    hannes%helma.at authored
    … version 0.0 on JDK7
Commits on Feb 23, 2011
  1. Fix Bug 531600 - "while(true) continue;" will never trigger observeIn…

    hannes%helma.at authored
    …structionCount
  2. Fix bug 520545 - ScriptableObject.defineClass fails if method is defi…

    hannes%helma.at authored
    …ned both static and non-static
Commits on Feb 22, 2011
  1. Include test file name in failed Mozilla test suite tests.

    hannes%helma.at authored
Commits on Feb 10, 2011
  1. Add LRU cache for compiled scripts to the shell's load() function

    hannes%helma.at 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…

    hannes%helma.at authored
    …57 of Interpreter.java ("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…

    hannes%helma.at authored
    …tory
    
    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.

    hannes%helma.at authored
Something went wrong with that request. Please try again.