2602 Commits

Author SHA1 Message Date
hannes%helma.at
eb22974326 Commit patch for bug 436731 - multiple destructuring forms in function param list
git-svn-id: svn://10.0.0.236/trunk@257154 18797224-902f-48f8-a5cc-f745e15eee43
2009-05-11 10:02:15 +00:00
hannes%helma.at
08030ef360 Commit patch for bug 456389: Implement JS 1.8 reduce/reduceRight array methods
git-svn-id: svn://10.0.0.236/trunk@257130 18797224-902f-48f8-a5cc-f745e15eee43
2009-05-07 14:27:00 +00:00
szegedia%freemail.hu
9ca3b8441f Make sure we can lazily load our standard objects even when invoked from code that wouldn't have privilege to access those classes
git-svn-id: svn://10.0.0.236/trunk@257059 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-26 10:11:51 +00:00
szegedia%freemail.hu
ecf548eeab Pathch for [#463996]: customizable typeOf for ScriptableObjects (contributed by Marc Guillemot)
git-svn-id: svn://10.0.0.236/trunk@257058 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-26 10:09:44 +00:00
nboyd%atg.com
01a0dd5aed Support for JSDoc parsing in Rhino. Attaches comments to nodes during parsing
to make them available through the AST API.


git-svn-id: svn://10.0.0.236/trunk@256844 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-07 21:12:40 +00:00
nboyd%atg.com
901245a938 Restore revision prior to inadvertent checkin.
git-svn-id: svn://10.0.0.236/trunk@256841 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-07 17:02:51 +00:00
nboyd%atg.com
74564a5103 New file to go with org.mozilla.javascript.tests.Bug482203
git-svn-id: svn://10.0.0.236/trunk@256840 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-07 16:54:57 +00:00
hannes%helma.at
50ff176e58 Fix bug 461168: Regression: constructor form of Packages is broken
git-svn-id: svn://10.0.0.236/trunk@256813 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-05 09:09:42 +00:00
nboyd%atg.com
d22d915704 Fix bug 477233 - E4X filters with namespaces codegen bug
git-svn-id: svn://10.0.0.236/trunk@256715 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-27 02:30:27 +00:00
nboyd%atg.com
53fe328726 Handle missing file.
git-svn-id: svn://10.0.0.236/trunk@256624 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-23 16:11:22 +00:00
nboyd%atg.com
08da084400 Change to use ScriptableOutputStream/ScriptableInputStream
git-svn-id: svn://10.0.0.236/trunk@256614 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-21 01:53:38 +00:00
nboyd%atg.com
03eea889fd Fix spelling error in comment
git-svn-id: svn://10.0.0.236/trunk@256611 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-21 01:39:41 +00:00
hannes%helma.at
abb51bdc6c Fix original patch for bug 456546: only apply if formal parameter is Scriptable or a class implementing Scriptable.
git-svn-id: svn://10.0.0.236/trunk@256586 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-19 13:19:55 +00:00
nboyd%atg.com
0bfc0cbb7e Fix bug 482203: NullPointerException capturing a continuation
git-svn-id: svn://10.0.0.236/trunk@256543 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-16 22:59:49 +00:00
nboyd%atg.com
fd58fed9bf Autocompletion bug fixing, including fixing the case of autocompletion
following a dot.


git-svn-id: svn://10.0.0.236/trunk@256464 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-06 13:03:13 +00:00
nboyd%atg.com
966cea725f Only attempt to load JLine if we're in interactive mode.
git-svn-id: svn://10.0.0.236/trunk@256463 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-06 12:58:08 +00:00
szegedia%freemail.hu
29eca5903a Make sure we can lazily load our standard objects even when invoked from code that wouldn't have privilege to access those classes
git-svn-id: svn://10.0.0.236/trunk@256443 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-04 14:58:47 +00:00
nboyd%atg.com
d1c486dd5c Fix
Bug 460283 - Use "nicer" names for generated classes
Bug 460726 - Use "nicer" names for generated methods
patch contributed by Marc Guillemot.


git-svn-id: svn://10.0.0.236/trunk@256436 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-03 21:27:38 +00:00
nboyd%atg.com
331ac00363 Add missing copyright notice.
git-svn-id: svn://10.0.0.236/trunk@256429 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-03 16:07:39 +00:00
nboyd%atg.com
781ddd9e6f Disable tests as needed to get all tests passing, and leave TODOs for
broken/missing parser functionality.


git-svn-id: svn://10.0.0.236/trunk@256428 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-03 16:02:11 +00:00
nboyd%atg.com
e8a93a1f65 Regexp for split was not working appropriately on Windows, with /r/n at end of line.
git-svn-id: svn://10.0.0.236/trunk@256395 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-02 18:33:51 +00:00
nboyd%atg.com
bf5b40f09a New regression test.
git-svn-id: svn://10.0.0.236/trunk@256394 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-02 18:31:54 +00:00
nboyd%atg.com
6c0e05102e Come up to current draft behavior for attempting to set a property that has
a getter but not a setter: throw a TypeError.


git-svn-id: svn://10.0.0.236/trunk@256178 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-10 21:32:31 +00:00
nboyd%atg.com
95dbe8c9ae Add test for access to a method with the same name as a field with
Context.FEATURE_ENHANCED_JAVA_ACCESS enabled.


git-svn-id: svn://10.0.0.236/trunk@256162 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-09 18:40:02 +00:00
nboyd%atg.com
7a278331cf Fix propagated from 1.7R2 release branch.
git-svn-id: svn://10.0.0.236/trunk@256161 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-09 16:33:30 +00:00
nboyd%atg.com
0bee8a3157 Remove reference to unused xbean.jar
git-svn-id: svn://10.0.0.236/trunk@256160 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-09 16:25:47 +00:00
nboyd%atg.com
1ff6d7fea0 Fix Bug 477604 - Array.concat causes ArrayIndexOutOfBoundException with non dense array
git-svn-id: svn://10.0.0.236/trunk@256159 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-09 16:25:06 +00:00
nboyd%atg.com
63fa817a21 Fix Bug 477076 - codeBug(FAILED ASSERTION) when type "1 <<<" in the shell
git-svn-id: svn://10.0.0.236/trunk@256124 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-05 21:38:44 +00:00
nboyd%atg.com
7cb25f0b8d Fix and unit test for for Bug 473761 - Bad XML new property creation
git-svn-id: svn://10.0.0.236/trunk@255890 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-22 17:45:10 +00:00
nboyd%atg.com
c3b48ad031 Fix Bug 474310 - Incorrect optimization of unary increment/decrement operators applied to number function parameteres
git-svn-id: svn://10.0.0.236/trunk@255884 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-22 02:54:50 +00:00
nboyd%atg.com
a442ef0308 Add ability for embeddings to set options on the XML implementation.
git-svn-id: svn://10.0.0.236/trunk@255805 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-14 13:31:23 +00:00
nboyd%atg.com
02b22e262f Fix Bug 463875 - ScriptableObject seal documentation
git-svn-id: svn://10.0.0.236/trunk@255693 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-02 03:14:25 +00:00
nboyd%atg.com
4ced75c520 Fix Bug 468580 - Refactor NativeString & RegExpProxy to have all regexp related stuff in RegExpProxy
git-svn-id: svn://10.0.0.236/trunk@255692 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-02 02:28:04 +00:00
nboyd%atg.com
a2b6af429e Fix Bug 463867 - Superfluous code in ScriptableObject associateValue
git-svn-id: svn://10.0.0.236/trunk@255691 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-02 02:25:29 +00:00
nboyd%atg.com
3301cbc3b3 Fix Comment Bug 393794 - __proto__ not set when used in object literal
git-svn-id: svn://10.0.0.236/trunk@255690 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-02 02:22:16 +00:00
nboyd%atg.com
7c63a7e5f9 Fix Bug 463878 - FunctionObject documentation misplaced <pre> tag
git-svn-id: svn://10.0.0.236/trunk@255689 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-02 01:42:14 +00:00
nboyd%atg.com
a1b4c727cd Fix Bug 471159 - Fix a couple of javadoc errors
git-svn-id: svn://10.0.0.236/trunk@255688 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-02 01:37:49 +00:00
nboyd%atg.com
8a58a243f9 Fix bug 434041: NaN added to an object when optimization is used
git-svn-id: svn://10.0.0.236/trunk@255683 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-01 22:02:53 +00:00
szegedia%freemail.hu
19a8cd1c67 Fix for bug #470631 "Type flow analysis does not assume as much as it could for numeric operators"
git-svn-id: svn://10.0.0.236/trunk@255608 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-21 13:48:19 +00:00
szegedia%freemail.hu
f3126d493e Fix (and testcase) for Bug #469937 "Properties without DontEnum are sometimes not enumerated"
git-svn-id: svn://10.0.0.236/trunk@255607 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-21 13:43:44 +00:00
szegedia%freemail.hu
dfc0b0b8a4 Need junit.jar to compile
git-svn-id: svn://10.0.0.236/trunk@255606 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-21 13:22:46 +00:00
nboyd%atg.com
e1fc11509e A couple more test cases.
git-svn-id: svn://10.0.0.236/trunk@255565 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-17 21:24:39 +00:00
nboyd%atg.com
eac8482a81 Expanded test case to cover case in bug 465962.
git-svn-id: svn://10.0.0.236/trunk@255564 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-17 21:09:11 +00:00
szegedia%freemail.hu
46812e1385 Fix for #467276: NaN/Infinity.toExponential(...) should not check range
git-svn-id: svn://10.0.0.236/trunk@255507 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-12 11:42:55 +00:00
hannes%helma.at
da4edd19c5 Change patches for bug 374918 and bug 468070 to use the variable object as scope argument instead of the this object .
git-svn-id: svn://10.0.0.236/trunk@255491 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-11 16:59:28 +00:00
hannes%helma.at
2f41323029 Fix bug 468070 - New variation of primitive prototype resolution bug: foo['someProp']
git-svn-id: svn://10.0.0.236/trunk@255490 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-11 15:39:20 +00:00
nboyd%atg.com
956e850cf5 New pluggable interface for message lookup.
Patch from mharm at google.com.


git-svn-id: svn://10.0.0.236/trunk@255422 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-10 18:41:17 +00:00
hannes%helma.at
f83fdbd17e Remove duplicate entries (Intellij has a nice feature to highlight
these)


git-svn-id: svn://10.0.0.236/trunk@255394 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-09 11:30:31 +00:00
nboyd%atg.com
8ce158ee81 Remove unused imports
git-svn-id: svn://10.0.0.236/trunk@255392 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-08 22:56:21 +00:00
nboyd%atg.com
ce5d1d9b7f Fix warnings
git-svn-id: svn://10.0.0.236/trunk@255391 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-08 22:54:57 +00:00