Граф коммитов

3436 Коммитов

Автор SHA1 Сообщение Дата
brendan%mozilla.org 096d33fdf4 Don't try to bind label names to slots (349619, r=shaver). 2006-08-25 17:54:21 +00:00
bclary%bclary.com 89fba29ecf Revert patch which added CFLAGS, LDFLAGS to jscpucfg rule, bug 348735, a=brendan on irc 2006-08-24 00:16:46 +00:00
brendan%mozilla.org f304a75f22 Cleanup to match hand-merged 1.8 branch patch for 349507. 2006-08-23 20:32:44 +00:00
mrbkap%gmail.com a951c8f5a6 Avoid extra parens inside XML lists. bug 349815, r=brendan 2006-08-23 20:00:26 +00:00
mrbkap%gmail.com bfe9c925b4 Use the right error message. Patch from Mook <mook.moz+sites.org.mozilla.bugzilla@gmail.com>, bug 349824, r=mrbkap 2006-08-23 19:15:41 +00:00
brendan%mozilla.org d82f8ab9e4 Fix computed vs. literal-identifier attribute name decompilation (349822, r=mrbkap). 2006-08-23 07:09:03 +00:00
brendan%mozilla.org b5954b6954 Check in smontagu's patch for bug 349488 (r=me). 2006-08-23 04:49:11 +00:00
brendan%mozilla.org 2ac6931a92 Fixed bogus assertion (349818). 2006-08-23 04:19:17 +00:00
brendan%mozilla.org 42dd02e7f8 Normalize empty statement to {} to decompile labeled empty statements round-trip-ably (349596, r=mrbkap). 2006-08-23 02:19:56 +00:00
brendan%mozilla.org bf1209e134 Must set and clear TSF_OPERAND around js_MatchToken at let body/expr boundary (349602, r=mrbkap). 2006-08-23 02:16:38 +00:00
mrbkap%gmail.com 2087699f5c Fixing orange by not clobbering flags added during js_EmitTree. bug 349605, r=brendan 2006-08-23 01:56:33 +00:00
brendan%mozilla.org f13a7d3693 Fix let expressions in bracketed forms within for loop head (349605, r=mrbkap). 2006-08-23 00:41:59 +00:00
brendan%mozilla.org b5650385be Add SRC_DECL offset printing (not part of build). 2006-08-22 22:42:56 +00:00
brendan%mozilla.org 5d61e39e4c Fix op= code generation to cope with local consts (349491, r=mrbkap). 2006-08-22 00:36:34 +00:00
mrbkap%gmail.com 3cf6f98cb3 Add missing semicolons after import and export statements. bug 349484, r=brendan 2006-08-21 22:43:29 +00:00
mrbkap%gmail.com 9f2ceecc24 Make let expressions have a good precedence and use it around 'new' expressions. bug 349499, r=brendan 2006-08-21 22:35:22 +00:00
mrbkap%gmail.com 3b7188b415 Model the stack depth correctly during ternary expressions. bug 349493, r=brendan 2006-08-21 21:42:15 +00:00
brendan%mozilla.org 3bef02f7fb Don't elide useless expression statements that are labeled (349489, r=mrbkap). 2006-08-21 20:25:59 +00:00
brendan%mozilla.org ef23af8001 Catch let vs. const errors (349507, r=mrbkap). 2006-08-21 19:30:45 +00:00
mrbkap%gmail.com db27f8a4f5 Account for the block depth. bug 349482, r=brendan 2006-08-21 18:19:15 +00:00
mrbkap%gmail.com 9a780ec214 tc->topStmt doesn't play into let declarations at all. bug 349298, r=brendan 2006-08-20 07:53:30 +00:00
igor.bukanov%gmail.com f160552992 Bug 349023: generator is not extended class. r=brendan 2006-08-19 12:56:24 +00:00
brendan%mozilla.org 4b33180885 Checking in mrbkap's patch for 349283, r=me. 2006-08-19 06:44:46 +00:00
brendan%mozilla.org 36ea09c432 Final patch for bug 349012 (r=igor/mrbkap). 2006-08-19 06:17:49 +00:00
mrbkap%gmail.com 106d1e6d81 Generate the right opcode for this parse node. bug 349283, r=brendan 2006-08-19 06:12:29 +00:00
brendan%mozilla.org 7cad52b69c Fix closing a generator to throw if the generator ignores GeneratorExit; also fix bug cloned from current Python 2.5c1, where yield from finally cancels pending exceptions and outer finallys; also fixed to throw on nested generator activations (349012, r=igor/mrbkap). 2006-08-18 23:42:02 +00:00
igor.bukanov%gmail.com d1bfda1a7e Bug 348986: added missing checks for the recursion depth in the decompiler. r=brendan 2006-08-18 15:09:45 +00:00
brendan%mozilla.org 8e73b75377 Fix constant folder to parenthesize object initialiser if it could become left-most in expression (346902, r=mrbkap). 2006-08-17 23:51:51 +00:00
brendan%mozilla.org 2c6513f516 DEBUG-only change to initialize tracefp (348027, r=mrbkap). 2006-08-17 23:46:30 +00:00
brendan%mozilla.org 3cbe7de24e Fix gen.close to report generator-ignored-GeneratorExit properly according to current Python 2.5 (349012, r=igor/mrbkap). 2006-08-17 22:55:15 +00:00
brendan%mozilla.org bcbc232b8f Fix '+ +x', '- --x', etc. decompilation (346904, r=mrbkap). 2006-08-17 20:24:38 +00:00
brendan%mozilla.org 378e8c1e5f Destructuring catch variables, plus TOK_LEXICALSCOPE cleanup (336379, r=mrbkap). 2006-08-17 08:13:18 +00:00
brendan%mozilla.org 8c3226fb2b Fixed to add block depth to pn_slot, thanks to mrbkap (336379, a=#developers). 2006-08-16 22:33:28 +00:00
igor.bukanov%gmail.com f5b63a5157 Bug 348810: Removal of a broken optimization in array_sort that was supposed to shrink the temporary array when there are holes in the array. VM games are off for now. r=mrbkap 2006-08-16 19:39:38 +00:00
benjamin%smedbergs.us 24beefcfe7 Bug 347585 - xpctools needs to use external linkage, r=timeless 2006-08-16 19:10:44 +00:00
brendan%mozilla.org 511cfda554 Change catch clauses to use lexical scope, etc. (336379, r=mrbkap). 2006-08-16 05:01:14 +00:00
brendan%mozilla.org 17fd063e9a Use JSCLASS_GLOBAL_FLAGS for other global classes, and fix JS standard class init API to init the Block class (348786, r=mrbkap). 2006-08-15 23:56:08 +00:00
bclary%bclary.com 4bb5a32cc7 JavaScript Shell - add CFLAGS, LDFLAGS to jscpucfg build rule, not part of the build. bug 348735, r=mrbkap 2006-08-15 16:59:00 +00:00
brendan%mozilla.org 77280a60a9 Backing out yet again, another latent bug bites. 2006-08-15 07:39:01 +00:00
brendan%mozilla.org 90b331ec23 Change catch clauses to use lexical scope, etc. (336379, r=mrbkap). 2006-08-15 07:03:14 +00:00
brendan%mozilla.org 8b5093a9b9 Fix block_xdrObject to null outermost block's parent slot (348696, r=mrbkap). 2006-08-15 06:37:52 +00:00
brendan%mozilla.org f479a8d376 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 241bef68b8 Change catch clauses to use lexical scope, etc. (336379, r=mrbkap). 2006-08-15 01:29:37 +00:00
mrbkap%gmail.com 779407de12 Fix decompilation of let expressions and statements. bug 344601, r=brendan 2006-08-15 00:59:20 +00:00
igor.bukanov%gmail.com d2b7567aa3 Bug 348532: Limit the length of errorInstance.stack. r=brendan 2006-08-14 20:01:30 +00:00
mrbkap%gmail.com cac01729e2 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 4d7051c30f Bug 348532: taking out the previous commit. 2006-08-14 07:19:12 +00:00
igor.bukanov%gmail.com 68fb0bc6e1 Bug 348532: Limit the length of errorInstance.stack. r=brendan 2006-08-14 05:43:14 +00:00
igor.bukanov%gmail.com 300ca3992f 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 1138a59a0a 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 fe5db403d6 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 26439394af Patch paving way for catch lexical scope (336379, r=mrbkap). 2006-08-11 02:05:39 +00:00
brendan%mozilla.org ec8e5fdd00 Fix catch-related code generation bugs (346494, r=mrbkap). 2006-08-10 23:18:07 +00:00
mrbkap%gmail.com 481a4573e2 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
mrbkap%gmail.com d08762d556 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 f2357e94e5 Destructuring formal parameter support, etc. (336379, r=mrbkap/igor). 2006-08-09 05:46:17 +00:00
dbaron%dbaron.org 8ee9bef1e3 Backing out Igor's checkin for bug 322135 to fix orange. 2006-08-08 23:52:08 +00:00
igor.bukanov%gmail.com c48fe76c09 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
igor.bukanov%gmail.com 8eddd94002 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 f34966077b 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 8e5f58ad62 Followup fix to blunder in patch for 347739, r=igor. 2006-08-08 18:20:10 +00:00
mrbkap%gmail.com d8850ca103 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
brendan%mozilla.org d6df2034c1 Lock down generator.close (347739, r=igor). 2006-08-08 07:08:54 +00:00
bzbarsky%mit.edu b2a1824002 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
brendan%mozilla.org fbef01d0d5 Fix off-by-one in with object 'block depth' (347674, r=shaver). 2006-08-08 00:12:11 +00:00
brendan%mozilla.org 2e76708d88 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
igor.bukanov%gmail.com 047ac2a5dc 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 66a0729c97 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 90ddf58578 Pop the local root stack in all early-return cases. bug 347330, r=brendan 2006-08-04 21:55:00 +00:00
brendan%mozilla.org 0811e566e2 Support all lvalue forms in array comprehensions (345736, r=mrbkap). 2006-08-03 23:41:42 +00:00
mrbkap%gmail.com e348ccb36e 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
timeless%mozdev.org 953be3cb26 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 77fc2a10c6 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 28fd813887 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 13a9a38c23 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 21a9fa3686 Don't walk off the end of the input string. bug 346794, r=brendan 2006-08-01 20:00:03 +00:00
brendan%mozilla.org e36b553595 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 84c13d6f1c Fix tw in vim modeline. 2006-08-01 04:55:58 +00:00
brendan%mozilla.org da606dc502 Warning fix, plus an XXX comment. 2006-08-01 01:52:37 +00:00
brendan%mozilla.org d5e0b8b11d Warning abatement. 2006-08-01 01:49:22 +00:00
mrbkap%gmail.com f1d8092f1c 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 e6be748a35 Fix type-unsafe union discrimination bug (346645, r=mrbkap). 2006-07-31 22:56:51 +00:00
mrbkap%gmail.com bde983d761 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 42e4fe9182 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 f5b60c5b14 Fix yield nothing and yield yield parsing (345855, r=mrbkap). 2006-07-31 19:23:46 +00:00
igor.bukanov%gmail.com 77a20d8123 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
mrbkap%gmail.com 69bd391185 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 f9f408dd17 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 d422a629fa 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 e787a6ca8f Bug 341821: close hooks are run outside GC locks. r=brendan,sr=mrbkap 2006-07-29 07:26:40 +00:00
mrbkap%gmail.com 27b6595272 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 f0e402e1f9 Bug 341821: removing the previous commit, the patch was broken. 2006-07-28 13:23:09 +00:00
igor.bukanov%gmail.com 17fe9f8744 Bug 341821: Close hooks are run outside GC locks. r=brendan,sr=mrbkap 2006-07-28 08:05:56 +00:00
brendan%mozilla.org 6e1fa5e1eb Fix thinko of pnprop for pnhit (346203, r=mrbkap). 2006-07-28 00:37:58 +00:00
brendan%mozilla.org 16fc062f41 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 863ea02802 Flag JS components as system scripts. Bug 345991, r=mrbkap, sr=brendan 2006-07-27 17:49:01 +00:00
mrbkap%gmail.com 7d779c4d37 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 86945155bc bug 345866 - support OJI for Win64. r/sr=jst 2006-07-27 16:51:25 +00:00
mrbkap%gmail.com 9a8e8bfca5 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 76f0ad3201 Bug 345967: ensure proper id rooting in array_unshift. r=mrbkap,sr=brendan 2006-07-26 21:32:56 +00:00