Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Feb 5, 2013
  1. include JavaScript line number in name of generated classes for funct…

    Rasmus Jensen authored
    …ions for easier profiling
  2. Merge github.com:mozilla/rhino

    Rasmus Jensen authored
Commits on Nov 20, 2012
  1. @hns
Commits on Aug 27, 2012
  1. @hns

    Merge pull request #83 from anba/bug-784358

    hns authored
    Patch for Bug 784358 ("Defining const variable within eval() throws redeclaration error")
  2. @hns

    Merge pull request #79 from anba/bug-608235

    hns authored
    Patch for Bug 608235 ("Incorrect error message for undefined[undefined]")
Commits on Aug 21, 2012
  1. @anba

    Patch for Bug 784358 ("Defining const variable within eval() throws r…

    anba authored
    …edeclaration error")
    
    initScript() only needs to special case the 'var' case for eval'ed code. Also throw a catchable TypeError when redeclaring a constant instead of calling Context.reportRuntimeError1().
Commits on Aug 12, 2012
  1. @anba

    Patch for Bug 608235 ("Incorrect error message for undefined[undefine…

    anba authored
    …d]")
    
    To ensure a user-friendly representation is being used, ScriptRuntime.toString() is now called for each argument. Also added undefDeleteError() to get all undefXError() code at a single location in the ScriptRuntime class.
Commits on Aug 8, 2012
  1. @hns

    Merge pull request #77 from anba/bug-780147

    hns authored
    Patch for Bug 780147
  2. @hns

    Merge pull request #73 from anba/bug-728286

    hns authored
    Patch for Bug 728286
Commits on Aug 7, 2012
  1. @hns

    Merge pull request #74 from anba/bug-778549

    hns authored
    Patch for Bug 778549
  2. @hns

    Merge pull request #72 from anba/bug-778422

    hns authored
    Patch for Bug 778422
  3. @hns

    Merge pull request #71 from anba/bug-778421

    hns authored
    Patch for Bug 778421
  4. @hns

    Merge pull request #66 from anba/bug-637811

    hns authored
    Patch for bug 637811:
  5. @hns
Commits on Aug 3, 2012
  1. @anba

    Patch for Bug 780147:

    anba authored
    The "child" of INC/DEC is not restricted to GETVAR/GETPROP/GETELEM, for example in case of reference calls. Therefore simply omitting the call to rewriteForNumberVariables() is not valid, b/c that may lead to not emitting ToObject instructions.
  2. @hns

    Merge pull request #75 from anba/regexp-class-overflow

    hns authored
    Patch for bug reported in "Infinite loop with rhino1.7R4" thread
  3. @hns

    Merge pull request #69 from anba/bug-773573

    hns authored
    Patch for Bug 773573
  4. @hns

    Merge pull request #64 from anba/bug-688023

    hns authored
    Patch for Bug 688023
Commits on Aug 2, 2012
  1. @hns
  2. @hns

    Merge pull request #63 from anba/bug-774083

    hns authored
    Patch for bug 774083. 
    
    Adds shell/ShellConsole to abstract over different ways of console input.
Commits on Jul 30, 2012
  1. @hns

    Merge pull request #59 from anba/missing_fr_translation

    hns authored
    Missing entries in Messages_fr.properties
  2. @hns

    Merge pull request #58 from anba/DefineClassMapInheritance_license

    hns authored
    Add missing license header to DefineClassMapInheritance.java
  3. @anba
Commits on Jul 29, 2012
  1. @anba

    Patch for Bug 778549

    anba authored
    Use [gs]etRawElem() instead of [gs]etElem() in js_sort() to avoid changing non-existent elements to undefined elements.
  2. @anba

    Add test case

    anba authored
  3. @anba

    Patch for Bug 728286

    anba authored
    Not-defined and undefined elements are sorted to the end, cf. Array.prototype.sort [15.4.4.11] the SortCompare abstract operation steps 3-12. The previous implementation had two bugs:
    - same references (per Java == operator) were never compared
    - not-defined and undefined elements were treated as equal elements, although not-defined elements must appear after undefined elements in the sorted array
Commits on Jul 28, 2012
  1. @anba
  2. @anba

    Calls must not be special-calls and reference-calls at the same time,…

    anba authored
    … cf. js1_5/Regress/regress-319391.js for a test case
  3. @anba
  4. @anba

    Array.prototype.sort performed an unchecked cast from long to int wit…

    anba authored
    …hout any overflow checks, this may result in a negative length which then throws a NegativeArraySizeException in Java, cf. js1_5/Array/regress-157652.js . A similar problem was found in NativeJSON, so I've handled that as well
  5. @anba

    Simple doctest for bug 773573

    anba authored
  6. @anba

    Fix bug 773573: Search for first curly bracket after closing parenthe…

    anba authored
    …ses to take account of object destructuring parameters
Commits on Jul 27, 2012
  1. @anba

    Patch for bug 637811:

    anba authored
    LabeledStatement uses EXPR_VOID as its type, that means AstNode#hasSideEffects() uses the default case (=> it returns false). So every labelled statement gets the "code has no side effects" warning, which is clearly wrong.
  2. @anba

    Patch bug 685403

    anba authored
    ContinuationPending exceptions shouldn't be handled/available in js-code at all,
    this includes catch-blocks as well as finally-blocks.
  3. @anba
Something went wrong with that request. Please try again.