Commit Graph

8043 Commits

Author SHA1 Message Date
brendan%mozilla.org
8ea9c86502 Fix block_xdrObject to null outermost block's parent slot (348696, r=mrbkap). 2006-08-15 06:37:52 +00:00
brendan%mozilla.org
97c32ed593 Back out last change for now, it ran into a latent block XDR bug. 2006-08-15 03:51:23 +00:00
brendan%mozilla.org
044d51fe52 Change catch clauses to use lexical scope, etc. (336379, r=mrbkap). 2006-08-15 01:29:37 +00:00
mrbkap%gmail.com
a39233c772 Fix decompilation of let expressions and statements. bug 344601, r=brendan 2006-08-15 00:59:20 +00:00
igor.bukanov%gmail.com
a31e220d87 Bug 348532: Limit the length of errorInstance.stack. r=brendan 2006-08-14 20:01:30 +00:00
mrbkap%gmail.com
0c2173c26f Check the correct kid to figure out if the last catch block had a catch guard. bug 348630, r=brendan 2006-08-14 19:12:06 +00:00
igor.bukanov%gmail.com
a945b5c26e Bug 348532: taking out the previous commit. 2006-08-14 07:19:12 +00:00
igor.bukanov%gmail.com
5ade7ea322 Bug 348532: Limit the length of errorInstance.stack. r=brendan 2006-08-14 05:43:14 +00:00
igor.bukanov%gmail.com
76dc42d18d Bug 322135: Optimizing large index access for array elements to prevent out-of-memory when calling Array functions for huge sparse arrays. r=mrbkap sr=brendan 2006-08-12 08:41:54 +00:00
brendan%mozilla.org
72e2197d21 Revise try/catch/finally AST to pave way for block scope and destructuring (336379, r=mrbkap). 2006-08-11 23:26:18 +00:00
mrbkap%gmail.com
f985c90668 Fix silly copy/paste error that would cause us to exit the loop too early. bug 348375, r=brendan 2006-08-11 19:49:48 +00:00
brendan%mozilla.org
b1d2afd6b9 Patch paving way for catch lexical scope (336379, r=mrbkap). 2006-08-11 02:05:39 +00:00
brendan%mozilla.org
628e5408cc Fix catch-related code generation bugs (346494, r=mrbkap). 2006-08-10 23:18:07 +00:00
mrbkap%gmail.com
ae7bfc5a98 Maintain the stack depth by hand when we emit the JSOP_GOSUB because the code generator cannot see the JSOP_RETSUB that balances the GOSUB out. bug 348273, r=brendan 2006-08-10 23:10:27 +00:00
szegedia%freemail.hu
d2db53817e Undoing some of the dead code removal, since it caused a problem with Interpreter subclasses 2006-08-10 08:32:15 +00:00
mrbkap%gmail.com
54f8069a14 Don't allow consumers to allocate this stack-based helper class on the heap. bug 347054, r+sr=jst 2006-08-09 18:13:56 +00:00
brendan%mozilla.org
c96d061d16 Destructuring formal parameter support, etc. (336379, r=mrbkap/igor). 2006-08-09 05:46:17 +00:00
dbaron%dbaron.org
cae84e9a22 Backing out Igor's checkin for bug 322135 to fix orange. 2006-08-08 23:52:08 +00:00
igor.bukanov%gmail.com
73dbbf8c4b Bug 322135: Optimizing large index access for array elements to prevent out-of-memory when calling Array functions for huge sparse arrays. r=mrbkap sr=brendan 2006-08-08 20:25:30 +00:00
bclary%bclary.com
75d60d71fd JavaScript Test Library - corrections for regression test for bug 347559 2006-08-08 20:25:00 +00:00
bclary%bclary.com
b30c777932 JavaScript Test Library - regression test for bug 347559, by nanto vi (TOYAMA), Blake Kaplan 2006-08-08 20:06:00 +00:00
igor.bukanov%gmail.com
82e0ac2658 Bug 347645: Arenas no longer cached and are always released as such caching was, in fact, harmful. r=brendan sr=mrbkap 2006-08-08 20:02:07 +00:00
mrbkap%gmail.com
6efb935813 Handle a let statement as the statement in a function. bug 347559, r=brendan 2006-08-08 19:59:14 +00:00
brendan%mozilla.org
80499bddc7 Followup fix to blunder in patch for 347739, r=igor. 2006-08-08 18:20:10 +00:00
mrbkap%gmail.com
3591b40c9c A TOK_LEXICALSCOPE is like a TOK_COLON when deciding whether it has a final return. bug 347559, r=brendan 2006-08-08 18:20:01 +00:00
bclary%bclary.com
3325f27c28 JavaScript Test Library - fixes to regression tests for bug 341675, 341821, by Igor Bukanov 2006-08-08 16:23:44 +00:00
bclary%bclary.com
2b53fc348a JavaScript Test Library - regression test for bug 347739, by Igor Bukanov 2006-08-08 10:41:59 +00:00
bclary%bclary.com
107935fa3c JavaScript Test Library - rename test for bug 341510 2006-08-08 10:40:07 +00:00
bclary%bclary.com
4f2f7bdffb JavaScript Test Library - modifications to tests from Igor Bukanov, bug 347739 2006-08-08 10:36:23 +00:00
bclary%bclary.com
816d9cf6b1 JavaScript Test Library - correct bug number in testcase for bug 341815 2006-08-08 10:16:00 +00:00
bclary%bclary.com
ce7cb7c36f JavaScript Test Library - regression test for bug 341821, by Igor Bukanov 2006-08-08 10:12:39 +00:00
bclary%bclary.com
b455552862 JavaScript Test Library - regression test for bug 341815, by Igor Bukanov 2006-08-08 09:01:06 +00:00
brendan%mozilla.org
b658911ed5 Lock down generator.close (347739, r=igor). 2006-08-08 07:08:54 +00:00
bzbarsky%mit.edu
1a321870f1 If a string is passed as an nsIAtom arg from JS, atomize it. Bug 336684,
r=jst, sr=shaver.
2006-08-08 04:21:33 +00:00
bclary%bclary.com
7f7cacc7ed JavaScript Test Library - regression test for bug 347593, by nanto vi (TOYAMA Nao) 2006-08-08 03:58:46 +00:00
bclary%bclary.com
bd6954f20c JavaScript Test Library - regression test for bug 347674, by Jeff Walden 2006-08-08 03:48:19 +00:00
brendan%mozilla.org
b667d3f74b Fix off-by-one in with object 'block depth' (347674, r=shaver). 2006-08-08 00:12:11 +00:00
brendan%mozilla.org
05cfa5375d Fix bogo-conversion of for-each-in to for-in when LHS of in is a destructuring expression (347593, r=igor). 2006-08-08 00:10:52 +00:00
szegedia%freemail.hu
38ad1ba641 Dead code cleanup 2006-08-07 15:24:00 +00:00
bclary%bclary.com
91cae6208b JavaScript Test Library - regression test for bug 345736, by David Finch 2006-08-07 14:43:32 +00:00
igor.bukanov%gmail.com
3304fabe3e Bug 346968: The last ditch GC no longer run the branch callback as the callback can violate assumptions that callers of js_NewGCThing make. r=brendan 2006-08-06 09:38:41 +00:00
igor.bukanov%gmail.com
765d801e0e Bug 341821: Running close hooks of generator objects outside GC locks. r=brendan sr=mrbkap 2006-08-06 09:23:26 +00:00
mrbkap%gmail.com
88ad9f799a Pop the local root stack in all early-return cases. bug 347330, r=brendan 2006-08-04 21:55:00 +00:00
bclary%bclary.com
21e5fd1459 JavaScript Test Library - fix broken JS testcase code, by Jeff Walden 2006-08-04 20:42:30 +00:00
bclary%bclary.com
b3576b9629 JavaScript Test Library - catch extraneous exception in test case, bug 340199 2006-08-04 20:33:26 +00:00
bclary%bclary.com
75940be05a JavaScript Test Library - correct test to prevent syntax error through eval, bug 346773 2006-08-04 18:32:45 +00:00
brendan%mozilla.org
026751aead Support all lvalue forms in array comprehensions (345736, r=mrbkap). 2006-08-03 23:41:42 +00:00
mrbkap%gmail.com
56c4b81f59 Fix GC hazards in the plugin code. Add a "close friend" API for JSTempValueRooters for use from C++. bug 347054, r=brendan sr=dbaron 2006-08-03 20:39:45 +00:00
bclary%bclary.com
252a77bd7a JavaScript Test Library - regression test for bu 345855, by Seno Aiko 2006-08-02 09:43:17 +00:00
bclary%bclary.com
5bffe79640 JavaScript Test Library - regression test for bug 346363 2006-08-02 09:31:13 +00:00
bclary%bclary.com
bfddb85923 JavaScript Test Library - regression test for bu g346801, by Jesse Ruderman 2006-08-02 09:21:33 +00:00
timeless%mozdev.org
b93bf7dabb Bug 341728 Local reference leak in nsCLiveconnect::Call when Java call javascript
patch by mike.lei@sun.com r=brendan
2006-08-02 05:16:40 +00:00
mrbkap%gmail.com
42cc127d61 Check the correct variable. Patch from Feng Qian <feng.qian.moz@gmail.com>, bug 346363, r=mrbkap 2006-08-01 22:19:32 +00:00
igor.bukanov%gmail.com
43cdbb0ec5 Bug 346450: The support for close hooks for generators is implemented through internal API and JSExtendedClass.close is removed as a premature feature. r=brendan sr=mrbkap 2006-08-01 21:01:59 +00:00
brendan%mozilla.org
e0eceee7af Fix enumeration to store the current object along the prototype chain on the stack, a crucial missing store from the last revision\! (346801, r=mrbkap). 2006-08-01 20:20:43 +00:00
mrbkap%gmail.com
4a0ca1de4e Don't walk off the end of the input string. bug 346794, r=brendan 2006-08-01 20:00:03 +00:00
bclary%bclary.com
729f8b7dd5 JavaScript Test Library - regression test for bug 346021, by nanto vi (TOYAMA Nao) 2006-08-01 08:01:24 +00:00
bclary%bclary.com
eba8b4a16d JavaScript Test Library - regression test for bug 346645, by Jesse Ruderman 2006-08-01 07:51:28 +00:00
bclary%bclary.com
277bd98add JavaScript Test Library - regression test for bug 346773, by Jeff Walden 2006-08-01 07:40:00 +00:00
brendan%mozilla.org
9b38470bd3 DEBUG-only code to catch format arg count vs. arg specifier mismatch (346773, r=dbaron). 2006-08-01 07:00:26 +00:00
brendan%mozilla.org
2814ad89a3 Fix tw in vim modeline. 2006-08-01 04:55:58 +00:00
brendan%mozilla.org
228f74dd2d Warning fix, plus an XXX comment. 2006-08-01 01:52:37 +00:00
brendan%mozilla.org
c32281957a Warning abatement. 2006-08-01 01:49:22 +00:00
mrbkap%gmail.com
f431fe7ba6 Fix this copy-paste error: there are no parameters to this message. bug 346773, r=brendan 2006-08-01 01:36:51 +00:00
brendan%mozilla.org
9d7d5d6fa1 Fix type-unsafe union discrimination bug (346645, r=mrbkap). 2006-07-31 22:56:51 +00:00
mrbkap%gmail.com
26ab1065f4 XDR block objects so that when we try to XDR a let expression or array comprehension, we don't error out. bug 346019, r=brendan 2006-07-31 22:52:27 +00:00
brendan%mozilla.org
1cb5dd0336 Fix iteration protocol to enumerate only if the default iterator getter was used to return the iterator to the for-in loop logic (346021, r=mrbkap). 2006-07-31 20:53:22 +00:00
brendan%mozilla.org
3d057dd700 Fix yield nothing and yield yield parsing (345855, r=mrbkap). 2006-07-31 19:23:46 +00:00
igor.bukanov%gmail.com
4cfe4081f1 Bug 341821: Taking out the fix for the bug once again. The fix exposed the problem reported in bug 341815 and it better to address everything as single patch. 2006-07-31 08:40:44 +00:00
bclary%bclary.com
518b61e43c JavaScript Test Library - check that everything was iterated, by Jeff Walden 2006-07-31 08:09:10 +00:00
mrbkap%gmail.com
4a4679cf9c Ensure that we set gData->ok in OOM situations to avoid continuing on past an OOM and crashing later. bug 346237, r=brendan 2006-07-30 18:42:19 +00:00
martijn.martijn%gmail.com
584a33c71c Bug 323195 - XPCAutoUnlock messes with detection of potential deadlocks, patch by Matthew Gertner, r=brendan 2006-07-29 14:45:09 +00:00
igor.bukanov%gmail.com
13764b426d Bug 342854: Using JSContext callback to ensure that C stack limit is always set. r=brendan,mrbkap,sr=jst 2006-07-29 08:39:04 +00:00
igor.bukanov%gmail.com
f690075c95 Bug 341821: close hooks are run outside GC locks. r=brendan,sr=mrbkap 2006-07-29 07:26:40 +00:00
mrbkap%gmail.com
da84573ed8 Checking in Feng Qian's <feng.qian.moz@gmail.com> patch to make XPConnect eagerly attach its thread private data before the JS engine does, ensuring good ordering when the thread (and thus both XPConnect on that thread and the JS runtime) shuts down, thus preventing racing and use of deleted memory. bug 335018, r=brendan 2006-07-28 20:25:39 +00:00
igor.bukanov%gmail.com
63d75e09ea Bug 341821: removing the previous commit, the patch was broken. 2006-07-28 13:23:09 +00:00
bclary%bclary.com
1a43cc2608 JavaScript Test Library - regression test for bug 3462027, by Feng Qian 2006-07-28 09:56:03 +00:00
bclary%bclary.com
0714273277 JavaScript Test Library - regression test for bug 346203, by Nickolay Ponomarev 2006-07-28 09:45:23 +00:00
igor.bukanov%gmail.com
0324194b39 Bug 341821: Close hooks are run outside GC locks. r=brendan,sr=mrbkap 2006-07-28 08:05:56 +00:00
brendan%mozilla.org
7c57ebc20f Fix thinko of pnprop for pnhit (346203, r=mrbkap). 2006-07-28 00:37:58 +00:00
brendan%mozilla.org
3e00dc9b3e Fix finally after try that throws, or catch-none finally in try-catch-finally, to save pending exception on stack, then rethrow after retsub (346029, r/sr=mrbkap/shaver). 2006-07-27 21:41:07 +00:00
bzbarsky%mit.edu
6d2c41cdbb Flag JS components as system scripts. Bug 345991, r=mrbkap, sr=brendan 2006-07-27 17:49:01 +00:00
mrbkap%gmail.com
bf57978e14 Checking in Feng Qian's <feng.qian.moz@gmail.com> patch to fix a typo. bug
346027, r=mrbkap
2006-07-27 17:11:36 +00:00
m_kato%ga2.so-net.ne.jp
2d193fbd68 bug 345866 - support OJI for Win64. r/sr=jst 2006-07-27 16:51:25 +00:00
bclary%bclary.com
5e6addc8ed JavaScript Test Library - regression test for bug 345879, by Seno Aiko 2006-07-27 11:23:25 +00:00
bclary%bclary.com
43468146ca JavaScript Test Library - regression test for bugs 336373, 345922, by Jeff Walden 2006-07-27 11:16:25 +00:00
bclary%bclary.com
0561599de5 JavaScript Test Library - regression test for bug 336921, by Joey Minta 2006-07-27 11:12:13 +00:00
mrbkap%gmail.com
2a02b41adb GCC isn't smart enough to see that list cannot be used uninitialized. Fallout from bug 336921, rs=brendan 2006-07-26 22:10:04 +00:00
igor.bukanov%gmail.com
bd81ffee8a Bug 345967: ensure proper id rooting in array_unshift. r=mrbkap,sr=brendan 2006-07-26 21:32:56 +00:00
mrbkap%gmail.com
5871e3cf79 Add a newline. 2006-07-26 20:54:01 +00:00
mrbkap%gmail.com
b8950a2eb1 Make XML.prototype.appendChild useful by fixing a bug in GetProperty that also exists in ECMA-357. bug 336921, r=brendan 2006-07-26 20:49:52 +00:00
mrbkap%gmail.com
626162160c Checking in a patch from Feng Qian <feng.qian.moz@gmail.com> to improve the performance of Date by caching the UTC time as well as the local time. bug 340992, r=mrbkap 2006-07-26 20:23:45 +00:00
mrbkap%gmail.com
3d9bf71497 Allow reserved keywords to be used as property identifiers after attribute selectors. bug 345922, r=brendan a=beltzner 2006-07-26 18:50:40 +00:00
bclary%bclary.com
35a7e72be4 Improve consistency of IEEE 754 floating point, shell only, not part of the build, r=mrbkap,sr=brendan, bug 343984 2006-07-26 03:56:41 +00:00
mrbkap%gmail.com
2584e1b8b6 Deal with a function in a generator passing too few arguments and with calling the result of 'yield'. Patch from brendan, r=mrbkap, bug 345879 2006-07-26 03:07:16 +00:00
mrbkap%gmail.com
ad013a907d Push catch and with statements onto tc->topScopeStmt so we don't optimize variable lookups inside of them. Also, protect against adding a stmt to the scope statement list twice. bug 345867, r=brendan 2006-07-26 03:03:18 +00:00
bclary%bclary.com
3f8bf3c65a Force JS_Assert to exit with code 3 on Windows, debug only, r=mrbkap,sr=brendan, bug 345118 2006-07-26 02:38:58 +00:00
mrbkap%gmail.com
2711b61c3c Protect each cloned block object from being GC'd. Patch from brendan, r=mrbkap, bug 345772 2006-07-25 23:21:03 +00:00
mrbkap%gmail.com
b631dfc76d Make jsfile.c compile in the new world. bug 345761, rs=brendan 2006-07-25 20:46:11 +00:00
mrbkap%gmail.com
c2c3247957 User a variable that's actually defined by default everywhere. bug 345787, r=brendan 2006-07-24 23:20:56 +00:00