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

3705 Коммитов

Автор SHA1 Сообщение Дата
brendan%mozilla.org 8ec80f5a1e Destructuring decompilation (346642, anticipating r=mrbkap). 2006-09-30 06:46:56 +00:00
gavin%gavinsharp.com 51bbd19cc3 Bug 354392: Refreshing a page while using ActiveState's JavaScript debugger often results in a Firefox crash [@ js_DecompileScript], patch by Brian Crowder <crowder@fiverocks.com>, r=brendan 2006-09-30 00:43:52 +00:00
brendan%mozilla.org 0dde0a841a Fix js_LookupCompileTimeConstant to look for hidden properties only on function objects (354541, r=igor). 2006-09-28 19:31:33 +00:00
dbaron%dbaron.org 0b93f5edc1 Fix brendan's bracing nit. b=353704 2006-09-27 00:55:03 +00:00
dbaron%dbaron.org d680403510 Fix error in my previous patch, caught by brendan. r+sr=jst b=353704 2006-09-27 00:40:20 +00:00
igor.bukanov%gmail.com f1055ce61a Re-factoring namespace-access methods to use XMLArrays, not JS Array instances for temporaries for faster and smaller code. bug=354151 r=brendan 2006-09-26 20:58:32 +00:00
bzbarsky%mit.edu b1dc13ba20 Fix build bustage. Bug 311582 2006-09-24 17:14:17 +00:00
bzbarsky%mit.edu 36be80db98 Don't copy the string data from mJSVal, since we're just going to keep the
JSString alive.  Bug 311582, r=jst, sr=brendan
2006-09-24 16:44:51 +00:00
jst%mozilla.jstenback.com 3961fcdb53 Fixing bug 351370. Make javascript: URLs evaluate in a sandbox when principals don't match. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu. 2006-09-23 17:06:58 +00:00
dbaron%dbaron.org 5b317ad4a3 Mark and handle collection of mPrototypeJSFunction just like mPrototypeJSObject is already handled. b=353704 r+sr=jst 2006-09-23 08:08:03 +00:00
brendan%mozilla.org a9ef38f3cf Fix 353454, r=mrbkap. 2006-09-21 00:46:05 +00:00
bzbarsky%mit.edu 176797b10b Back out patch from bug 311582 to fix bug 353505. 2006-09-20 22:34:34 +00:00
timeless%mozdev.org 90f73dd559 Bug 351487 RegExp: Branch-callback checking could be made slightly more optimal
patch by crowder@fiverocks.com r=mrbkap
2006-09-20 18:26:31 +00:00
igor.bukanov%gmail.com 1c9e643f66 Allow to compile and run SM when !JS_HAS_GENERATORS. bug=347065 r=brendan 2006-09-20 14:50:43 +00:00
igor.bukanov%gmail.com e56274f840 JS_VERSION_IS_ECMA is removed as always-true-macro since SpiderMonkey no longer supports any version less than JavaScript1.5 bug=353315 r=brendan 2006-09-20 10:09:28 +00:00
bzbarsky%mit.edu 1a62ade4e7 Don't bother spending time to root the jsval if it's a string -- in this case
we make a copy of the string data anyway, so we don't need the jsval.  Bug
311582, r+sr=jst
2006-09-20 01:21:25 +00:00
igor.bukanov%gmail.com cf45aae705 fix for bug=353165, r=brendan 2006-09-19 21:13:36 +00:00
brendan%mozilla.org 3612d8cef4 Fix 239126, r=mrbkap. 2006-09-19 19:23:18 +00:00
pedemont%us.ibm.com a539bef51f Bug 352064 - Error finalizing JS objects causes LiveConnect crash. patch by smichaud, r=jhpedemonte, sr=brendan. 2006-09-19 18:56:49 +00:00
igor.bukanov%gmail.com 03e8575213 making sure thta TryMethod deals xml objects properly. bug=352846 r=brendan 2006-09-19 06:48:25 +00:00
brendan%mozilla.org 1c4c5a55d9 Prep patch for 'plan A' (346642, r=mrbkap). 2006-09-18 11:04:30 +00:00
brendan%mozilla.org e9b3e20441 Checking in for crowder@fiverocks.com: fix debugger API regression due to JS_THREADED_INTERP (351021, r=me). 2006-09-17 21:04:52 +00:00
timeless%mozdev.org 11532e2f4a Bug 280236 coercing an array containing an nsXPCConstructor to a string results in an uncatchable error
thanks to bent.mozilla@gmail.com and aus@noiseport.org for help pushing this along
r=jst sr=jst

bad merge
2006-09-17 03:26:52 +00:00
timeless%mozdev.org 7c716485ba Bug 280236 coercing an array containing an nsXPCConstructor to a string results in an uncatchable error
thanks to bent.mozilla@gmail.com and aus@noiseport.org for help pushing this along
r=jst sr=jst
2006-09-17 03:14:43 +00:00
brendan%mozilla.org b08d57ee6b Fix 352873, r=igor/mrbkap. 2006-09-16 18:50:56 +00:00
brendan%mozilla.org f2fae1af53 Short-term fix from Brian Crowder <crowder@fiverocks.com> for bug 348836, r=me. 2006-09-16 16:08:29 +00:00
brendan%mozilla.org 05e67ecf0d Earlier register homing (352624, r=igor). 2006-09-16 11:20:03 +00:00
igor.bukanov%gmail.com 546009eefe Always check if generator's private data is null. bug=352885 r=brendan 2006-09-16 10:29:38 +00:00
brendan%mozilla.org bea6bd0f2d Checking in igor's patch for bug 349272, r=me. 2006-09-16 07:50:05 +00:00
gavin%gavinsharp.com 49e1688e60 vc6 bustage fix (bug 352124) 2006-09-15 19:29:20 +00:00
jst%mozilla.jstenback.com 730382a1c2 Fixing bug 352124. Make XPCNativeWrapper refuse to wrap a double-wrapped JS object, and add some explicit wrapping to the feed writer. r=bzbarsky@mit.edu, sr=brendan@mozilla.org. 2006-09-15 16:38:56 +00:00
brendan%mozilla.org b032f72afa Use PUSH to initialize scanned stack space (352606, r=mrbkap). 2006-09-14 06:17:48 +00:00
brendan%mozilla.org e2c4f1da8d Allow for nested filtering expressions in flag-setting and restoring (352605, r=jwalden). 2006-09-14 04:44:29 +00:00
brendan%mozilla.org 2281ff8b59 Fix value generator decompilation to rewrite JSOP_FORLOCAL as JSOP_GETLOCAL (352392, r=mrbkap) 2006-09-14 01:40:52 +00:00
brendan%mozilla.org bb5c53ace8 Fix js_DecompileValueGenerator to not copy a bytecode slice, breaking source notes (350417, r=mrbkap). 2006-09-14 01:38:57 +00:00
brendan%mozilla.org d585158793 Fix DEBUG_timeless et al. code. 2006-09-14 00:54:29 +00:00
brendan%mozilla.org e084173acc Fix from crowder@fiverocks.com for real and potential UMRs to-do with PN_NAME node optional members (352470, a=me). 2006-09-13 19:07:20 +00:00
timeless%mozdev.org 7d3a6014fe Bug 349899 --enable-xpctools still fails during XULrunner build
Fixing regression from Bug 285404 faster access to XPConnectWrappedNative's native pointer
nsIXPConnect now *uses* classes from nsCOMPtr.h so it should pull in the file instead of expecting poor confused consumers to do so.
r=bsmedberg
2006-09-13 14:27:31 +00:00
timeless%mozdev.org 582a58aeba Bug 338653: Check for JSRuntime.gcMaxMallocLimit on each allocation in js_NewGCThing to trigger GC sooner to prevent accumulation of garbage with large allocations.
Bustage fix #ifdef DEBUG_gchist
2006-09-13 11:01:35 +00:00
brendan%mozilla.org 7e29a3786d Space patrol. 2006-09-13 08:26:42 +00:00
brendan%mozilla.org 95ea2a05b5 Fix else-if chains to be unbraced as required by single let declaration consequents (352268, r=mrbkap). 2006-09-13 07:20:48 +00:00
brendan%mozilla.org 7b7bd53a67 Fix to avoid elselet run-together decompilations (352217, r=mrbkap). 2006-09-13 07:13:15 +00:00
brendan%mozilla.org 6d6eec0f80 Fix labeled brace source annotation harder (352415, r=mrbkap). 2006-09-13 07:02:58 +00:00
brendan%mozilla.org a9a4b1c0d5 Fix generator stack farbling (350793, r=mrbkap). 2006-09-13 06:56:26 +00:00
brendan%mozilla.org 790997f9da Replace bogus assertion in js_PeekTokenSameLine with necessary test and return (352372, r=mrbkap). 2006-09-13 04:45:09 +00:00
brendan%mozilla.org 927a3b9758 Fix new and related precedence problems (352312, r=sayrer/jesse). 2006-09-13 00:16:46 +00:00
gavin%gavinsharp.com 21b2d49e0d Bug 352226: JS regexp trivial cleanups, patch by Brian Crowder <crowder@fiverocks.com>, r=mrbkap, sr=brendan 2006-09-13 00:10:10 +00:00
dbaron%dbaron.org 92584add98 Be more careful pushing/popping contexts. b=352264 r=jst sr=bzbarsky/jst 2006-09-12 22:58:11 +00:00
brendan%mozilla.org bdd6c8db0e Update SRC_LABELBRACE selection logic to be block-scope aware (352402, r=mrbkap). 2006-09-12 22:09:12 +00:00
brendan%mozilla.org c392bb8044 Fix PNX_NEEDBRACES setting logic to detect only function statement directly contained in a block (352281, r=mrbkap). 2006-09-12 21:56:32 +00:00
igor.bukanov%gmail.com 3bfe3dddf9 thread-local gc lists are cleaned up whenever we transition from 0 to 1 context per thread. bug=351602 r=brendan,feng.qian.moz 2006-09-12 20:31:17 +00:00
brendan%mozilla.org 7b356a3402 Give JSOP_FORNAME, etc., operator precedences (352375, r=mrbkap). 2006-09-12 19:28:42 +00:00
benjamin%smedbergs.us f8b7089d8a Bug 340443 - Not possible to use the XPCOM glue with the static CRT, r=neil sr=darin 2006-09-12 18:22:40 +00:00
brendan%mozilla.org bb238cb1c9 Fix post-increment stack modeling again (352272, r=mrbkap). 2006-09-12 17:48:38 +00:00
brendan%mozilla.org 254ca7779c Fix PutBlockObjects conditional call to happen before stack it relies on is released (352212, r=mrbkap). 2006-09-12 17:44:58 +00:00
brendan%mozilla.org bcd6d41003 Avoid gcc-on-Mac warning. 2006-09-12 06:23:51 +00:00
brendan%mozilla.org e0fc0c4f74 Rest of checkin for bug 352079, r=mrbkap. 2006-09-12 06:21:23 +00:00
brendan%mozilla.org c1da3756ed Fix yield's 'input precedence' (352269, r=mrbkap). 2006-09-12 05:16:26 +00:00
mrbkap%gmail.com 6bedc0603c Fully initialize the newly-created parse node. bug 352271, r=brendan 2006-09-12 04:59:58 +00:00
brendan%mozilla.org a03807f7fc Detect parentheses forcing right association and decompile them (352261, r=mrbkap). 2006-09-12 04:30:12 +00:00
brendan%mozilla.org e7587d52bb Tweak new precedence when constructor is a call expression (352013, r=mrbkap). 2006-09-12 04:10:43 +00:00
mrbkap%gmail.com 26c7ed38f8 Ensure that fp's concept of the pc and sp are up to date. bug 352094, r=brendan 2006-09-12 04:02:46 +00:00
mrbkap%gmail.com 8a0b1ae2ca Skip over scope statements that aren't MAYBE_SCOPE when finding the JSStmtInfo for let declarations. bug 352092, r=brendan 2006-09-12 04:00:31 +00:00
brendan%mozilla.org 4ccca157d7 Fix JSOP_SETCALL and JSOP_POPV precedences; turn off auto-parens for bracketed index values (352079, r=mrbkap). 2006-09-12 02:07:32 +00:00
brendan%mozilla.org c4571403a5 Skip parens around operand of unary op when constant folding (352068, r=mrbkap). 2006-09-12 01:58:37 +00:00
brendan%mozilla.org 805ec10f9d Fix getter/setter in object initialiser decompilation to track minimal parenthesization fixes (352010, r=mrbkap). 2006-09-12 01:55:08 +00:00
jwalden%mit.edu 420e23451c Bug 352223 - < foo/> and < foo></foo> are also invalid XML and should be rejected by E4X. r=brendan again 2006-09-12 00:17:40 +00:00
jwalden%mit.edu d3e0a6f13f Bug 352223 - <foo></ foo> (space after </ and before qname) accepted as valid XML in E4X initializer. r=brendan 2006-09-11 21:51:02 +00:00
brendan%mozilla.org 3f1e558bae Fix TCF_RETURN_* flag propagation out of blocks (352197, r=mrbkap). 2006-09-11 21:29:00 +00:00
brendan%mozilla.org 2da080f51c Fix yield (yield) decompilation (352198, r=mrbkap). 2006-09-11 21:26:30 +00:00
brendan%mozilla.org 86e150d521 Fix to parenthesize any expression starting with 'function ' (352073, r=mrbkap). 2006-09-11 21:15:00 +00:00
brendan%mozilla.org 8c6a9d64d3 Fix element-setting decompilation (352202, r=mrbkap). 2006-09-11 21:09:37 +00:00
jwalden%mit.edu 790cc26107 Bug 352097 - E4X XML processing instruction with a target but no data decompiles with an extra space; also fixes bug 352103 - <??> accepted as a valid XML PI. r=brendan 2006-09-11 21:08:03 +00:00
brendan%mozilla.org da9955a079 Fix bogus assertion harder (352208, r/a=me). 2006-09-11 20:14:20 +00:00
brendan%mozilla.org b74b5a9e45 Fix bogus assertion (352208, r/a=me). 2006-09-11 19:54:18 +00:00
brendan%mozilla.org 76f84e3334 Don't brace let declaration if single statement controlled by if/do/while/for/with (351070, r=mrbkap). 2006-09-11 19:45:24 +00:00
brendan%mozilla.org bb83424b59 Fix precedence-based decompilation (352026 and dependents, r=mrbkap/sayrer). 2006-09-11 18:29:33 +00:00
sayrer%gmail.com 41a852c540 bug 352060. Fixes for getter/setter keywords, XML assign decompile printfs, and precedence table. r=brendan 2006-09-11 16:38:45 +00:00
igor.bukanov%gmail.com cde829c661 Make sure id array are GC-protected. bug=351973 r=mrbkap sr=brendan 2006-09-11 11:17:05 +00:00
sayrer%gmail.com cff9a52e76 Bug 349616. "getter" keyword decompiles as "(null)" 2006-09-10 16:54:30 +00:00
brendan%mozilla.org 26e3938ac1 Fix ancient bug that suppressed parenthesization of set-element rhs (352022, r=mrbkap). 2006-09-10 09:10:17 +00:00
brendan%mozilla.org 1ba9413eaf Give yield least precedence (352015, r=mrbkap). 2006-09-10 08:34:35 +00:00
brendan%mozilla.org 79368d7c69 Fix regression to-do with for/in AST change (352009, r=mrbkap). 2006-09-10 08:30:19 +00:00
brendan%mozilla.org 497ce38a0e Fix regression from last checkin (350793, r=gavin). 2006-09-10 07:07:58 +00:00
sayrer%gmail.com 89eecf04e9 e4x adds spurious quotes when decompiling an XMLPI object initializer. r=brendan 2006-09-10 04:45:39 +00:00
brendan%mozilla.org a36987e124 Fix for-in loops to be yieldable (r=mrbkap). 2006-09-09 22:43:11 +00:00
brendan%mozilla.org 91c2108543 Trailing space and comment cleanup. 2006-09-09 20:37:49 +00:00
igor.bukanov%gmail.com 105812d512 Bug 351515: enable let and yield keywords only when version is set to JS17 for compatibility. r=brendan 2006-09-08 21:22:31 +00:00
brendan%mozilla.org 38701820aa Fix bad assertion, include for with let and catch as exceptions to candidacy for SRC_BRACE, and avoid spurious leading line-number notes from Function (351794, r=mrbkap). 2006-09-08 20:11:18 +00:00
brendan%mozilla.org 8166135a55 Avoid redundant JSOP_GROUP opcodes for efficiency and correct decompilation of JSOP_ENDINIT (351793, r=mrbkap). 2006-09-08 18:43:41 +00:00
brendan%mozilla.org 332ddf0d29 Fix two bugs in JSOP_CONDSWITCH code-gen and decompilation (351496, r=mrbkap). 2006-09-08 16:45:40 +00:00
brendan%mozilla.org 5edc920ece Skip parens when looking for constant condition (351693, r=mrbkap). 2006-09-08 16:38:03 +00:00
brendan%mozilla.org 5fa13ca36d Fix js_CheckRedeclaration to drop a found property if the caller doesn't want it but there's no redeclaration error (351717, r=mrbkap). 2006-09-08 06:53:40 +00:00
brendan%mozilla.org c123d1dcf3 back out rev 3.160, it's buggy. 2006-09-08 05:18:36 +00:00
brendan%mozilla.org 67f10aca99 Fix decompilation to preserve braces required by let, and also fix switch body block to have scope for let at top level of case statement (349634, r=mrbkap). 2006-09-08 05:03:54 +00:00
brendan%mozilla.org 83ecb2f5dd Must keep discriminant on stack when decompiling switches, for correct stack modeling of let expressions/blocks/declarations (351496, r=mrbkap). 2006-09-08 04:53:01 +00:00
mrbkap%gmail.com 3b363ece72 Correct the STMT_TYPE_MAYBE_MACRO to not include with, since we never want to turn a JSSTMT_WITH into a scope statement. Also ignore with statements when we're processing a let declaration so that given 'with (x) let x = 3' we correctly set x to 3. bug 350730, r=brendan 2006-09-08 00:54:45 +00:00
mrbkap%gmail.com 6224dabba8 Clear the pending exception before calling the exception object's toString so that scripted toStrings actually have a chance to run. Patch from a-higuti@gray.plala.or.jp with minor tweaks from me, bug 350650, r=brendan 2006-09-08 00:39:30 +00:00
mrbkap%gmail.com 227352bd1c Properly set the cloned block objects' parent slot. bug 351606, r=igor sr=brendan 2006-09-08 00:33:14 +00:00
brendan%mozilla.org c46afc5d50 Fix 351626 and 351705, r=mrbkap/sayrer. 2006-09-07 19:47:40 +00:00
brendan%mozilla.org ffad24e880 Fix delete code gen to emit (operand, true) when operand is not an lvalue, but must be evaluated for side effects; instead of operand; true which does not decompile in expression contexts (350666, r=mrbkap). 2006-09-07 17:03:05 +00:00
brendan%mozilla.org 050a81da62 CheckSideEffects needs to do more work for delete operands, to match the code generator for delete (346915, r=mrbkap). 2006-09-07 16:57:59 +00:00
brendan%mozilla.org 6dca9f6da2 Stop yield from filtering predicate for now (350809, r=igor). 2006-09-07 16:10:48 +00:00
igor.bukanov%gmail.com d702c8b868 Bug 343675: allow to use keywords as function names. r=brendan 2006-09-07 11:28:30 +00:00
brendan%mozilla.org 1b7f00440b Remove extraneous JOF_XMLNAME format flags (350226, r=jwalden). 2006-09-07 05:53:02 +00:00
brendan%mozilla.org 8863715fce Object and array initializers must be parenthesized if expression statements (351625, r=mrbkap). 2006-09-07 05:50:23 +00:00
brendan%mozilla.org aed8ed3c98 Fix stack budget for postfix ++ and -- applied to property refs (350238, r=mrbkap). 2006-09-07 04:47:23 +00:00
brendan%mozilla.org 8fe48ea15a Fix CheckDestructuring to reject array comprehensions (which start out as array initialisers) right away (350279, r=mrbkap). 2006-09-07 04:10:46 +00:00
brendan%mozilla.org ee7b84c4f2 s/NULL/JS_FALSE/ to fix glitch in last checkin that provokes a useful warning. 2006-09-07 01:22:22 +00:00
brendan%mozilla.org ef588e8190 Fix JSOP_GROUP decompilation to propagate lastop to saveop (to lastop again on next iteration, in case of cascading groups; 351597, r=mrbkap). 2006-09-07 01:16:15 +00:00
brendan%mozilla.org aa1d41cab8 Fix to require parentheses around yield expression in argument list (351514, r=mrbkap). 2006-09-06 22:52:28 +00:00
igor.bukanov%gmail.com 699d6f9642 Bug 351413: let-block cloning is no longer recursive to avoid stack overflow. r=brendan 2006-09-06 08:55:12 +00:00
brendan%mozilla.org d674a96747 Fix 351497, regression from last patch. 2006-09-06 07:05:57 +00:00
brendan%mozilla.org 439859354f Fix operator precedences and make the most of them when decompiling (350531, r=mrbkap/sayrer). 2006-09-06 06:31:08 +00:00
brendan%mozilla.org 555a781970 Fix lack of XPC.mfasl versioning via separate JS bytecode version (350787, r=mrbkap/dbaron/jst). 2006-09-05 22:53:47 +00:00
brendan%mozilla.org 15a32ddcf9 Cleanup patch geared toward not escaping control characters in XML literals (349814, r=mrbkap). 2006-09-05 20:21:56 +00:00
brendan%mozilla.org 8e51504ff5 Format comment per vim modeline. 2006-09-05 19:35:12 +00:00
brendan%mozilla.org 733c4d28f2 Force parens around 'in' expr E1 in for (E1;...) loop (351336, r=mrbkap). 2006-09-05 00:29:32 +00:00
jwalden%mit.edu 2542519660 Bug 350629 - GeneratePrefix can return prefixes which begin with "xml" or similar, even though such prefixes are reserved in the XML spec. r=brendan 2006-09-04 23:25:29 +00:00
igor.bukanov%gmail.com bf1e76d0da Bug 347248: Initialize Error instance properties lazily to speed up new Error(). r=brendan 2006-09-03 12:34:18 +00:00
brendan%mozilla.org c967f94453 Allow 'for (let (x)...; E2;E3)S1' as well as for with let declaration at the front (350991, r=mrbkap). 2006-09-03 07:50:32 +00:00
brendan%mozilla.org 82755011d3 Fix last checkin (351204, r=mrbkap). 2006-09-03 07:08:24 +00:00
brendan%mozilla.org 6d0ca0452e Back out last change, reopening bug (thanks to waldo). 2006-09-03 06:29:20 +00:00
brendan%mozilla.org 72467c9c18 Allow 'for (let (x)...; E2;E3)S1' as well as for with let declaration at the front (350991, r=mrbkap). 2006-09-03 05:01:48 +00:00
brendan%mozilla.org e06975ecca Stop popping cloned blocks at activation boundary (351122, r=mrbkap). 2006-09-03 00:12:47 +00:00
igor.bukanov%gmail.com 0313dd4baf Bug 347248: Taking out the prev commit as old GCC can not tolerate non-static initializers. 2006-09-02 20:53:20 +00:00
brendan%mozilla.org cc1d04808b Fix local function shadowing argument decompilation (351116, r=mrbkap). 2006-09-02 20:33:42 +00:00
igor.bukanov%gmail.com e591193a4c Bug 347248: Initialize Error instance properties lazily to speed up new Error(). r=brendan 2006-09-02 19:52:11 +00:00
brendan%mozilla.org a44a0e8062 Fix stale comment. 2006-09-02 18:27:35 +00:00
brendan%mozilla.org ca64c3e049 Remove overlong/unhelpful to{Source,String}, use a better fallback for one diagnostic's call to js_DecompileValueGenerator (349362, r=igor). 2006-09-02 18:07:10 +00:00
brendan%mozilla.org d78e8c9857 Require parens around yield expressions in comma expressions (349851, r=mrbkap). 2006-09-01 21:42:51 +00:00
brendan%mozilla.org 6b4ad54675 Fix array comprehension code gen bug that broke constant folding (349653, r=mrbkap). 2006-09-01 06:16:14 +00:00
brendan%mozilla.org cdbb436000 Fix hairy for (let ...) code-gen cases constrained by the decompiler (348904, r=mrbkap). 2006-09-01 01:50:10 +00:00
brendan%mozilla.org 48802c2ad7 Fix stack modeling in for(x[i] in o) type loop heads (350810, r=mrbkap/sayrer). 2006-09-01 00:36:50 +00:00
igor.bukanov%gmail.com 533576485a Bug 350837: Clerar cx->throwing in [gosub] when pushing exception. r=brendan 2006-08-31 18:01:44 +00:00
brendan%mozilla.org 9100046440 Remove bogus assertions (349962, r=mrbkap). 2006-08-31 17:13:50 +00:00
benjamin%smedbergs.us 4a7051781e Bug 350550 - Liveconnect shouldn't export NSGetFactory, r=brendan+jhpedemonte 2006-08-31 16:45:29 +00:00
brendan%mozilla.org 6e01a31164 Fix let expr nested in head of let block or expr (349624, r=mrbkap). 2006-08-31 04:53:33 +00:00
brendan%mozilla.org f76be1c1b0 Fix assertion (350692). 2006-08-30 23:13:46 +00:00
brendan%mozilla.org 2eb8f8b41d Twiddle TCF_IN_FOR_INIT around actual param codegen (350704, r=mrbkap). 2006-08-30 21:22:37 +00:00
brendan%mozilla.org 1c292152f6 Fix regression from initial js1.7 landing (350670, r=mrbkap). 2006-08-30 21:12:25 +00:00
brendan%mozilla.org d95a636109 Fix try/catch/finally code generation (350312, r=igor/shaver). 2006-08-29 23:15:22 +00:00
jwalden%mit.edu ffb082f965 Bug 350442 - toXMLString omits namespace definition for attribute added with a namespace with an undefined prefix. r=brendan 2006-08-29 21:10:54 +00:00
igor.bukanov%gmail.com 4905a0e816 Bug 350559: restoring compatibility with Python with gen.throw(). r=brendan 2006-08-29 20:37:49 +00:00
benjamin%smedbergs.us 681646b263 Bug 350211 - Allow arbitrary build-system extension, parts 2 & 3 $(MOZ_BUILD_APP)/build.mk, r=mento 2006-08-29 16:53:40 +00:00
brendan%mozilla.org 21e7d7ddaf Fix inline specialization of PushOff for array comprehensions (349650, r=mrbkap/sayrer). 2006-08-29 16:52:27 +00:00
brendan%mozilla.org 8e848ea5a8 Transpose lookahead consumption and error-flag=>TOK_ERROR logic in js_GetToken, to match recent change to js_UngetToken (350529, r=mrbkap). 2006-08-29 16:32:26 +00:00
igor.bukanov%gmail.com a57acaa247 Bug 349527: More fixes for bugs that I added in the optimization patch. r=brendan 2006-08-29 16:15:42 +00:00
brendan%mozilla.org 8b6dcc3a93 Fix from mrbkap to unget error tokens (350415, r=me). 2006-08-29 01:01:25 +00:00
timeless%mozdev.org 1846fd9c62 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:12:37 +00:00
igor.bukanov%gmail.com 1e0492eebd Bug 349527: Fix for GCC warning introduced by the previous optimization. r=brendan 2006-08-28 05:57:16 +00:00
brendan%mozilla.org e3446f868c Don't move empty statement up from if (1); or if (0)foo();else; to statement level, in case a label prefixes the if -- change the if to a {} instead (350263, r=mrbkap/shaver). 2006-08-27 21:15:44 +00:00
brendan%mozilla.org 34e63bbbba Fix delete property and method call operand decompilation cases (350242, r=mrbkap/shaver). 2006-08-27 21:08:41 +00:00
brendan%mozilla.org 2e4fb1a0d3 Always need two more slots in the model stack for finally clause codegen (350312, r=shaver). 2006-08-27 17:58:49 +00:00
brendan%mozilla.org 9aa363d924 Catch trailing token syntax errors in js_CompileFunctionBody (350268, r=mrbkap). 2006-08-27 17:53:48 +00:00
brendan%mozilla.org 5f8f9e4175 JSOP_ENDFILTER, not JSOP_FILTER, needs to have high precedence (350271, r=mrbkap). 2006-08-27 17:31:13 +00:00
brendan%mozilla.org be2bebc710 Retract to left-most operand for JSOP_ARRAYPUSH (349648, r=mrbkap/sayrer). 2006-08-27 15:57:32 +00:00
igor.bukanov%gmail.com 4882930b48 Bug 349331: followup to the previous patch to remove GeneratorExit from jsproto.tbl 2006-08-27 15:47:17 +00:00
brendan%mozilla.org 0e4089419e Fix warning in last checkin. 2006-08-27 04:15:32 +00:00
jwalden%mit.edu 94c04edf91 Bug 350206 - Assertion while generating namespace prefix during toXMLString(). r=brendan 2006-08-27 00:46:14 +00:00
igor.bukanov%gmail.com 735380688b Bug 349331: Implementation of generator.close now uses asynchronous return instead of GeneratorExit exception. r=brendan 2006-08-26 20:24:45 +00:00
igor.bukanov%gmail.com 0ddd8a0c32 Bug 349320: generator cleanup, r=brendan 2006-08-26 09:18:57 +00:00
igor.bukanov%gmail.com 8017140ec1 Bug 349527: Using a single malloc block for a full copy of JSErrorReport. r=brendan 2006-08-26 07:44:38 +00:00
brendan%mozilla.org ccc60a1f9c Re-init cx->threadLinks to self-link in js_ClearContextThread (345365, r=feng). 2006-08-26 06:44:17 +00:00
brendan%mozilla.org 0449b82175 Fix bogus assertion (350253, DEBUG-only fix). 2006-08-26 05:09:43 +00:00
brendan%mozilla.org e01fcedc64 Consolidate early JSFUN_INTERPRETED setting for uniform useless expression elimination (346892, r=mrbkap). 2006-08-26 04:05:03 +00:00
brendan%mozilla.org dd57f13e68 Fix @* decompilation (349956, r=shaver). 2006-08-25 18:04:03 +00:00
brendan%mozilla.org 8082feeb76 Fold assign-ops harder, to uphold decompiler round-trip invariance (349663, r=shaver). 2006-08-25 18:01:35 +00:00
brendan%mozilla.org ade1fda6a5 Fix decompilation of postfix ++ and -- on block-local names (349633, r=shaver). 2006-08-25 17:57:25 +00:00
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