nboyd%atg.com
a7e5688207
add more passing tests
2007-07-27 01:14:48 +00:00
nboyd%atg.com
16ec010595
Fix for last generator codegen bug (nested functions in generators).
...
Patch from Roshan James <roshanj@google.com>.
2007-07-27 00:46:57 +00:00
nboyd%atg.com
95e0c846ef
Fix misspelling in comment.
2007-07-27 00:36:18 +00:00
nboyd%atg.com
4e8c20c377
Implement JavaScript 1.7 generators for bytecode generation mode.
...
Patch from Roshan James <roshanj@google.com>.
2007-07-26 21:48:05 +00:00
nboyd%atg.com
3877bcb697
Switch to __javaObject__ in the hope that it generalizes to more cases in
...
the future.
2007-07-23 14:10:08 +00:00
szegedia%freemail.hu
1897e05999
Download junit and emma jar files from ibiblio maven repo
2007-07-21 16:27:24 +00:00
szegedia%freemail.hu
faa03c5a4b
Added JUnit test task that produces code coverage report
2007-07-21 07:36:08 +00:00
szegedia%freemail.hu
fa9e80531c
Use skip files
2007-07-21 07:35:15 +00:00
nboyd%atg.com
051091f387
Update to sync with latest tests.
2007-07-20 12:37:48 +00:00
nboyd%atg.com
c3b68a5f0f
Add missing language versions.
2007-07-20 12:08:52 +00:00
nboyd%atg.com
8e23c48aca
Fix bug 382098 - E4X attribute literals broken. Patch from Adam de Boor
...
<adeboor@google.com>.
Also remove obsolete (no longer supported in SpiderMonkey) check for
semicolon separation between functions.
2007-07-20 12:06:47 +00:00
nboyd%atg.com
0860b4cabb
Fix bug 382098 - E4X attribute literals broken. Patch from Adam de Boor
...
<adeboor@google.com>.
2007-07-20 12:05:29 +00:00
nboyd%atg.com
e07ae2455f
Always need Object[] rather than String[] for Context.newArray().
2007-07-20 11:59:51 +00:00
nboyd%atg.com
31f0804d21
Use "associateValue" approach to save and restore the Generator prototype
...
for each scope rather than the kludgy former approach of storing a
reference to the prototype in the StopIteration object.
2007-07-18 15:13:33 +00:00
nboyd%atg.com
42efbe4736
Minor: Fix spelling error in comment.
2007-07-18 15:10:20 +00:00
nboyd%atg.com
3798a88a61
Minor: fix spelling errors in comment.
2007-07-18 15:09:25 +00:00
nboyd%atg.com
58e21c3835
Add special Rhino object __exception__ defined in the catch
...
scope that can be used to retrieve the Java exception associated
with the JavaScript exception (to get stack trace info, etc.)
Patch from Bob Jervis <bjervis@google.com>
2007-07-18 15:08:38 +00:00
nboyd%atg.com
8159886a87
Minor: fix spelling mistakes in comments.
2007-07-18 15:04:57 +00:00
nboyd%atg.com
41f476051f
Add testsrc to the distribution, and clean up some build.xml formatting.
2007-07-18 12:42:40 +00:00
nboyd%atg.com
1c09f02f43
Fix one small warning.
2007-07-16 13:51:35 +00:00
nboyd%atg.com
78343e9640
Fix bug 386997 - Need to support 'debugger' statement
...
Adding the 'debugger' keyword will now result in a breakpoint being hit when
run in the Rhino debugger. The statement is ignored if the debugger is not
running or when compiled to Java bytecodes.
Patch from Bob Jervis (bjervis@google.com ).
2007-07-12 15:09:18 +00:00
nboyd%atg.com
c73f7c72b3
Patch from Bob Jervis (bjervis@google.com):
...
Here is the patch for the (mostly) formatting issues in the code differences.
Note: There is one non-formatting change in here. It is fallout from the
'const' support I implemented some time back. Basically, the change marginally
improves the memory allocation for compiled code. Essentially, the bug is that
I was reserving 2 slots for each local, when I should only reserve one in this
function. (This is the result of a bad cut and paste, I think, with the
function above it in Codegen.java.)
2007-07-12 14:52:30 +00:00
nboyd%atg.com
a83b7e8719
New skips of new tests.
2007-07-11 16:53:38 +00:00
nboyd%atg.com
7389c08ecb
Implement block scope (let) and array comprehensions.
...
This required significant changes to symbol table management.
2007-07-11 16:00:03 +00:00
nboyd%atg.com
29b1032a5e
Switch to 1.4 as the souce and target.
2007-07-11 13:55:09 +00:00
nboyd%atg.com
e3954fc48f
See bug 382340. Additional patch from Hannes Wallnoefer:
...
The varargs patch does not handle the case where a varargs method is called
with a java array. For example, the following code returns a List containing a
string array as single element, instead of a List containing all the strings in
the array:
java.util.Arrays.asList(java.util.TimeZone.getAvailableIDs());
2007-06-28 12:52:40 +00:00
nboyd%atg.com
ac1427d243
Fix boolean value passed to __iterator__ when called by runtime as a result of
...
for..in loop.
Also fix formatting.
2007-06-15 15:39:11 +00:00
nboyd%atg.com
85813cad67
Fix bug 381180 - __lookupGetter__ finds a function even when it should not
...
(similarly for __lookupSetter__)
Patch from Roshan James <roshanj@google.com>.
2007-06-15 12:40:53 +00:00
nboyd%atg.com
5cd27ebf50
There should be no "Generator" constructor.
2007-06-14 18:39:24 +00:00
nboyd%atg.com
5523b1f578
Moving documentation to MDC. Remove from distribution.
2007-06-14 14:01:11 +00:00
nboyd%atg.com
a68605e1ca
Fix bug Bug 380005: Date to String conversion code in NativeDate class is not
...
thread-safe.
2007-06-13 17:51:16 +00:00
nboyd%atg.com
c7ba9dd641
Fix bug 376632 - Documentation needed for a few of the JSC arguments
2007-06-13 16:58:29 +00:00
nboyd%atg.com
63845ab8bb
Fix bug 361067. Script objects loaded through Packages.... may not have their
...
parent scope set, and need to account for that.
2007-06-13 15:21:20 +00:00
nboyd%atg.com
4452f04a80
Remove unneeded extra semicolon.
2007-06-13 15:04:48 +00:00
nboyd%atg.com
81151517ae
Don't perform side effect analysis unless in strict mode.
2007-06-13 14:16:13 +00:00
nboyd%atg.com
b06a7b21c2
Don't report strict error messages for statements without side effects at the
...
top level of a script. Matches SpiderMonkey behavior.
2007-06-13 14:14:17 +00:00
nboyd%atg.com
c1d6efaf8c
Add support for JavaScript 1.7 Iterators in Rhino. See bug 379377.
2007-06-12 15:34:15 +00:00
nboyd%atg.com
7061c31c34
Fix bug in dumpICode that caused a Kit.codeBug().
2007-06-07 17:51:09 +00:00
nboyd%atg.com
90ba42b4a7
Fix unfiled bug: we were getting incorrect strict mode warning on const
...
declarations.
2007-06-07 17:50:19 +00:00
nboyd%atg.com
767fe265fe
Errors with generators returning values should be TypeErrors.
2007-06-07 16:01:43 +00:00
nboyd%atg.com
cf18d779a4
Fix bug 360964 - Native array push is really slow
...
Fixed by implementing chaining instead of linear probing.
Patch from Hannes Wallnoefer.
2007-06-07 15:56:37 +00:00
nboyd%atg.com
a3a8d2dfe5
Fix bug 383461 - Const redeclaration errors should be TypeErrors, not
...
SyntaxErrors.
2007-06-07 15:53:41 +00:00
nboyd%atg.com
743b071a82
Fix bug 369342 - LazilyLoadedCtor uses Undefined.instance as default value
...
instead of Scriptable.NOT_FOUND.
Patch from Hannes Wallnoefer.
2007-06-07 12:02:43 +00:00
nboyd%atg.com
6163dc47dc
Fix Bug 373897 - JavaAdapter classes cannot access protected methods in
...
superclass.
Patch from Hannes Wallnoefer.
2007-06-07 12:00:34 +00:00
nboyd%atg.com
6cd953938b
Fix bug 363058 Provide JavaScript-only stack trace from RhinoException.
...
Contribution from Hannes Wallnoefer <hannes [at] helma [dot] at>.
2007-06-06 19:47:36 +00:00
nboyd%atg.com
44438b3118
Make FEATURE_STRICT_MODE imply FEATURE_STRICT_EVAL and FEATURE_STRICT_VARS.
2007-06-06 15:06:58 +00:00
nboyd%atg.com
7af113046f
Fix bug 383356. Patch from Roshan James.
2007-06-06 14:43:32 +00:00
nboyd%atg.com
a6099a8648
Implement checks for generators returning values.
...
Patch from Roshan James, roshanj@google.com .
2007-06-06 14:32:40 +00:00
nboyd%atg.com
a0cff8c5f5
Initial checkin for Rhino 1.7. Add JavaScript 1.7 version number.
...
Initial implementation of 1.7 generators for interpretive mode. See bug 379377.
2007-06-05 18:23:49 +00:00
nboyd%atg.com
fe2155898d
Classify another failure
2007-06-04 20:33:42 +00:00