9684 Commits

Author SHA1 Message Date
brendan%mozilla.org
7050bb0c78 Backing out, see bug 389122 and orange or red tinderboxes.
git-svn-id: svn://10.0.0.236/trunk@230578 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 23:21:20 +00:00
brendan%mozilla.org
18ee45583c Fast natives and related optimizations (385393, r=igor).
git-svn-id: svn://10.0.0.236/trunk@230576 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 21:39:42 +00:00
szegedia%freemail.hu
253b54a5b8 Download junit and emma jar files from ibiblio maven repo
git-svn-id: svn://10.0.0.236/trunk@230572 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 16:27:24 +00:00
szegedia%freemail.hu
d1bb036a16 Added JUnit test task that produces code coverage report
git-svn-id: svn://10.0.0.236/trunk@230560 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 07:36:08 +00:00
szegedia%freemail.hu
ec00014c57 Use skip files
git-svn-id: svn://10.0.0.236/trunk@230559 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 07:35:15 +00:00
mrbkap%gmail.com
a9121164a8 Don't double-wrap objects when getting them out of an XPCVariant. bug 384632, r=peterv sr=jst
git-svn-id: svn://10.0.0.236/trunk@230407 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 01:03:55 +00:00
nboyd%atg.com
fcd5dc4054 Update to sync with latest tests.
git-svn-id: svn://10.0.0.236/trunk@230361 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 12:37:48 +00:00
nboyd%atg.com
3520b94a9e Add missing language versions.
git-svn-id: svn://10.0.0.236/trunk@230355 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 12:08:52 +00:00
nboyd%atg.com
c223ce6e09 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.


git-svn-id: svn://10.0.0.236/trunk@230354 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 12:06:47 +00:00
nboyd%atg.com
c2de95158a Fix bug 382098 - E4X attribute literals broken. Patch from Adam de Boor
<adeboor@google.com>.


git-svn-id: svn://10.0.0.236/trunk@230353 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 12:05:29 +00:00
nboyd%atg.com
f6310de50e Always need Object[] rather than String[] for Context.newArray().
git-svn-id: svn://10.0.0.236/trunk@230352 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 11:59:51 +00:00
nboyd%atg.com
940f87d8a0 Fix bug 388643 - JavaScript Tests - global shell.js sets JavaScript version to
version lower than required by E4X tests
Patch from David Caldwell.


git-svn-id: svn://10.0.0.236/trunk@230313 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-19 19:57:48 +00:00
dbaron%dbaron.org
3f5fb6ceeb Add more useful assertion for debugging cycle collector faults. b=386912 r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@230272 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-19 04:58:39 +00:00
dmose%mozilla.org
825379ae05 Fix comment to say 'createInstance' when it really means that, since this is pointed to by devmo as API documentation; no bug; rs=shaver
git-svn-id: svn://10.0.0.236/trunk@230222 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 20:19:05 +00:00
nboyd%atg.com
02a7409dc5 Fix bug 387694 - More reportMatch changes to generalize tests
git-svn-id: svn://10.0.0.236/trunk@230220 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 19:59:21 +00:00
bclary%bclary.com
4da4389219 add winmm.lib to JavaScript Shell build configuration on Windows, bug 363258, not part of the build. r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@230218 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 19:55:15 +00:00
nboyd%atg.com
4a73f44cb1 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.


git-svn-id: svn://10.0.0.236/trunk@230192 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 15:13:33 +00:00
nboyd%atg.com
680f23211c Minor: Fix spelling error in comment.
git-svn-id: svn://10.0.0.236/trunk@230191 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 15:10:20 +00:00
nboyd%atg.com
a4d2b74fd0 Minor: fix spelling errors in comment.
git-svn-id: svn://10.0.0.236/trunk@230190 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 15:09:25 +00:00
nboyd%atg.com
5598982790 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>


git-svn-id: svn://10.0.0.236/trunk@230189 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 15:08:38 +00:00
nboyd%atg.com
ad1bbdcdf4 Minor: fix spelling mistakes in comments.
git-svn-id: svn://10.0.0.236/trunk@230188 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 15:04:57 +00:00
nboyd%atg.com
89be6b838e Add testsrc to the distribution, and clean up some build.xml formatting.
git-svn-id: svn://10.0.0.236/trunk@230179 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 12:42:40 +00:00
jwalden%mit.edu
a276ef39ff Bug 388276 - Build failed on solaris x86 due to checkin for 372428. Patch by Leon Sha <leon.sha@sun.com>, r=cls
git-svn-id: svn://10.0.0.236/trunk@230142 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 21:23:25 +00:00
mrbkap%gmail.com
2c54f9e915 Move where we convert things into strings into a more centralized place. bug 372075, r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@230129 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 20:12:22 +00:00
igor%mir2.org
1b3cd5ca5b Bug 387871: proper state checks when closing the generator. r=brendan
git-svn-id: svn://10.0.0.236/trunk@230096 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 06:41:20 +00:00
igor%mir2.org
36391ed96f Bug 380469: Followup to remove to no longer used JSGenerator.next. r=brendan
git-svn-id: svn://10.0.0.236/trunk@230095 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 06:38:27 +00:00
mrbkap%gmail.com
f8d37b7b62 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@230063 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-16 21:44:00 +00:00
mrbkap%gmail.com
bae2c3e2ac Bad millisecond resolution for (new Date).getTime() / Date.now() on Windows. bug 363258, patch from Rob Arnold <robarnold@mozilla.com>, r=brendan
git-svn-id: svn://10.0.0.236/trunk@230061 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-16 21:29:57 +00:00
igor%mir2.org
3d83f2f3b2 Bug 380469: Taking away too zealous code simplification.
git-svn-id: svn://10.0.0.236/trunk@230051 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-16 20:57:16 +00:00
dolske%mozilla.com
97245738c8 Bug 388190: XPCOMUtils spews uuids when registering components. r=sayrer, sr=benjamin
git-svn-id: svn://10.0.0.236/trunk@230038 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-16 17:57:49 +00:00
nboyd%atg.com
311ca11470 Fix one small warning.
git-svn-id: svn://10.0.0.236/trunk@230026 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-16 13:51:35 +00:00
alex%croczilla.com
05817de1fb Bug 381693 - Allow null targetObj arg to xpcIJSModuleLoader::import().
r=sayrer, src=brendan.


git-svn-id: svn://10.0.0.236/trunk@230000 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-15 18:21:12 +00:00
asqueella%gmail.com
1998307ac0 synchronize documentation, Sylvain Pasche <sylvain.pasche@gmail.com>
r=sayrer, bug 380970


git-svn-id: svn://10.0.0.236/trunk@229967 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-14 21:43:35 +00:00
igor%mir2.org
6a664052de Bug 380469: Followup for the previous check in to remove more no longer used close-on-GC code. r=brendan
git-svn-id: svn://10.0.0.236/trunk@229956 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-14 08:28:57 +00:00
igor%mir2.org
0b0429dffd Bug 387909: make sure that [generator] is the first bytecode. r=brendan
git-svn-id: svn://10.0.0.236/trunk@229912 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 21:23:39 +00:00
bclary%bclary.com
5e948abce7 JavaScript Test - regression test for bug 349326, by Igor Bukanov
git-svn-id: svn://10.0.0.236/trunk@229906 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 17:23:49 +00:00
bclary%bclary.com
e1685c13b7 JavaScript Test - regression test for bug 382981, by Jesse Ruderman
git-svn-id: svn://10.0.0.236/trunk@229904 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 17:08:03 +00:00
bclary%bclary.com
335524fd20 JavaScript Test - regression test for bug 383269, by Igor Bukanov, Brendan Eich
git-svn-id: svn://10.0.0.236/trunk@229902 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 16:56:30 +00:00
igor%mir2.org
8ee7408a67 Bug 380469: Calling close on unreachable generators from GC is no longer supported. r=brendan
git-svn-id: svn://10.0.0.236/trunk@229883 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 07:28:47 +00:00
bclary%bclary.com
1d5d8e2a51 JavaScript Test - regression test for bug 384680, by Jesse Ruderman
git-svn-id: svn://10.0.0.236/trunk@229874 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 02:26:26 +00:00
bclary%bclary.com
e6a70e6330 JavaScript Test - regression test for bug 385134, by Jesse Ruderman
git-svn-id: svn://10.0.0.236/trunk@229873 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 02:08:24 +00:00
bclary%bclary.com
7bb2667750 JavaScript Test - regression test for bug 385729, by Jesse Ruderman
git-svn-id: svn://10.0.0.236/trunk@229871 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 01:49:58 +00:00
bclary%bclary.com
5ed784e039 JavaScript Test - regression test for bug 386030, by Blake Kaplan
git-svn-id: svn://10.0.0.236/trunk@229870 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 01:13:41 +00:00
crowder%fiverocks.com
af19e0d34b Bug 357016: follow-up to fix another void* nit, patch by Edward Lee edilee@mozilla.com, r=crowder
git-svn-id: svn://10.0.0.236/trunk@229863 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 00:04:23 +00:00
bclary%bclary.com
71fd939245 JavaScript Test - regression test for bug 387501
git-svn-id: svn://10.0.0.236/trunk@229842 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 20:56:00 +00:00
jwalden%mit.edu
b5394cc6e3 Back out bug 386635; it broke restoring sessions in the browser.
git-svn-id: svn://10.0.0.236/trunk@229829 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 19:11:45 +00:00
bclary%bclary.com
7b8fb0d84c JavaScript Tests - automation updates, bug 387909, not part of the build
git-svn-id: svn://10.0.0.236/trunk@229821 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 17:49:32 +00:00
nboyd%atg.com
7aaeda6bb7 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).


git-svn-id: svn://10.0.0.236/trunk@229809 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 15:09:18 +00:00
nboyd%atg.com
c940f9ef3d 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.)


git-svn-id: svn://10.0.0.236/trunk@229806 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 14:52:30 +00:00
igor%mir2.org
95c498451e Bug 357016: Patch from Edward Lee to restore ability to compile SpiderMonkey with C++ compiler. It was broken after my changes. r=myself
git-svn-id: svn://10.0.0.236/trunk@229796 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 07:48:50 +00:00