Permalink
Commits on Feb 5, 2013
  1. include JavaScript line number in name of generated classes for funct…

    …ions for easier profiling
    Rasmus Jensen committed Feb 5, 2013
  2. Merge github.com:mozilla/rhino

    Rasmus Jensen committed Feb 5, 2013
Commits on Nov 20, 2012
  1. @hns
Commits on Aug 27, 2012
  1. @hns

    Merge pull request #83 from anba/bug-784358

    Patch for Bug 784358 ("Defining const variable within eval() throws redeclaration error")
    hns committed Aug 27, 2012
  2. @hns

    Merge pull request #79 from anba/bug-608235

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

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

    …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().
    anba committed Aug 21, 2012
Commits on Aug 12, 2012
  1. @anba

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

    …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.
    anba committed Aug 12, 2012
Commits on Aug 8, 2012
  1. @hns

    Merge pull request #77 from anba/bug-780147

    Patch for Bug 780147
    hns committed Aug 8, 2012
  2. @hns

    Merge pull request #73 from anba/bug-728286

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

    Merge pull request #74 from anba/bug-778549

    Patch for Bug 778549
    hns committed Aug 7, 2012
  2. @hns

    Merge pull request #72 from anba/bug-778422

    Patch for Bug 778422
    hns committed Aug 7, 2012
  3. @hns

    Merge pull request #71 from anba/bug-778421

    Patch for Bug 778421
    hns committed Aug 7, 2012
  4. @hns

    Merge pull request #66 from anba/bug-637811

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

    Patch for Bug 780147:

    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.
    anba committed Aug 3, 2012
  2. @hns

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

    Patch for bug reported in "Infinite loop with rhino1.7R4" thread
    hns committed Aug 3, 2012
  3. @hns

    Merge pull request #69 from anba/bug-773573

    Patch for Bug 773573
    hns committed Aug 3, 2012
  4. @hns

    Merge pull request #64 from anba/bug-688023

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

    Merge pull request #63 from anba/bug-774083

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

    Merge pull request #59 from anba/missing_fr_translation

    Missing entries in Messages_fr.properties
    hns committed Jul 30, 2012
  2. @hns

    Merge pull request #58 from anba/DefineClassMapInheritance_license

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

    Patch for Bug 778549

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

    Add test case

    anba committed Jul 29, 2012
  3. @anba

    Patch for Bug 728286

    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
    anba committed Jul 29, 2012
Commits on Jul 28, 2012
  1. @anba
  2. @anba

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

    … cf. js1_5/Regress/regress-319391.js for a test case
    anba committed May 21, 2012
  3. @anba
  4. @anba

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

    …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
    anba committed May 21, 2012
  5. @anba

    Simple doctest for bug 773573

    anba committed Jul 28, 2012
  6. @anba

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

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

    Patch for bug 637811:

    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.
    anba committed Jul 27, 2012
  2. @anba

    Patch bug 685403

    ContinuationPending exceptions shouldn't be handled/available in js-code at all,
    this includes catch-blocks as well as finally-blocks.
    anba committed Jul 27, 2012
  3. @anba