Commit Graph

8501 Commits

Author SHA1 Message Date
bclary%bclary.com
583a0859e7 JavaScript Test - regression test for bug 352375, by Jesse Ruderman 2006-09-13 10:23:01 +00:00
bclary%bclary.com
caa116f27d JavaScript Test - regression test for bug 352402, by Jesse Ruderman 2006-09-13 10:17:59 +00:00
bclary%bclary.com
4c04008dce JavaScript Test - regression test for bug 352415, by Jesse Ruderman 2006-09-13 10:14:49 +00:00
bclary%bclary.com
ac63d10a3a JavaScript Tests - handle decompilation tests better, bug 352490 2006-09-13 09:59:15 +00:00
brendan%mozilla.org
88c3a02236 Space patrol. 2006-09-13 08:26:42 +00:00
brendan%mozilla.org
d75c529f29 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
aff7f7df12 Fix to avoid elselet run-together decompilations (352217, r=mrbkap). 2006-09-13 07:13:15 +00:00
brendan%mozilla.org
93dd592cda Fix labeled brace source annotation harder (352415, r=mrbkap). 2006-09-13 07:02:58 +00:00
brendan%mozilla.org
199957366a Fix generator stack farbling (350793, r=mrbkap). 2006-09-13 06:56:26 +00:00
brendan%mozilla.org
f72d43b0e5 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
23673304ae Fix new and related precedence problems (352312, r=sayrer/jesse). 2006-09-13 00:16:46 +00:00
gavin%gavinsharp.com
84bda81d9f 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
bb32a15350 Be more careful pushing/popping contexts. b=352264 r=jst sr=bzbarsky/jst 2006-09-12 22:58:11 +00:00
brendan%mozilla.org
9fd6ba01ff Update SRC_LABELBRACE selection logic to be block-scope aware (352402, r=mrbkap). 2006-09-12 22:09:12 +00:00
brendan%mozilla.org
4c7e90689f 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
5e4cf617f5 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
27b0c111bf Give JSOP_FORNAME, etc., operator precedences (352375, r=mrbkap). 2006-09-12 19:28:42 +00:00
benjamin%smedbergs.us
c70d78a351 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
5a9f1f9573 Fix post-increment stack modeling again (352272, r=mrbkap). 2006-09-12 17:48:38 +00:00
brendan%mozilla.org
8eeb36816d 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
636cfbd62e Avoid gcc-on-Mac warning. 2006-09-12 06:23:51 +00:00
brendan%mozilla.org
2b910f9e32 Rest of checkin for bug 352079, r=mrbkap. 2006-09-12 06:21:23 +00:00
brendan%mozilla.org
29d996a80d Fix yield's 'input precedence' (352269, r=mrbkap). 2006-09-12 05:16:26 +00:00
mrbkap%gmail.com
276b585a76 Fully initialize the newly-created parse node. bug 352271, r=brendan 2006-09-12 04:59:58 +00:00
brendan%mozilla.org
7b8565ef91 Detect parentheses forcing right association and decompile them (352261, r=mrbkap). 2006-09-12 04:30:12 +00:00
brendan%mozilla.org
c870f3e117 Tweak new precedence when constructor is a call expression (352013, r=mrbkap). 2006-09-12 04:10:43 +00:00
mrbkap%gmail.com
126dc0e276 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
ec02775a7e 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
f7baa26e81 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
31964022bb Skip parens around operand of unary op when constant folding (352068, r=mrbkap). 2006-09-12 01:58:37 +00:00
brendan%mozilla.org
5d458db61a Fix getter/setter in object initialiser decompilation to track minimal parenthesization fixes (352010, r=mrbkap). 2006-09-12 01:55:08 +00:00
bclary%bclary.com
06c138f96c JavaScript Test - update to reflect proper parenthetication of decompiled expressions, bug 346902 2006-09-12 01:14:40 +00:00
jwalden%mit.edu
75ce576332 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
50e6a54a6a 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
0ab86235fe Fix TCF_RETURN_* flag propagation out of blocks (352197, r=mrbkap). 2006-09-11 21:29:00 +00:00
brendan%mozilla.org
c1f3468d95 Fix yield (yield) decompilation (352198, r=mrbkap). 2006-09-11 21:26:30 +00:00
brendan%mozilla.org
eba27afa16 Fix to parenthesize any expression starting with 'function ' (352073, r=mrbkap). 2006-09-11 21:15:00 +00:00
brendan%mozilla.org
2e41735790 Fix element-setting decompilation (352202, r=mrbkap). 2006-09-11 21:09:37 +00:00
jwalden%mit.edu
d789c52f9b 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
903a315350 Fix bogus assertion harder (352208, r/a=me). 2006-09-11 20:14:20 +00:00
brendan%mozilla.org
f162d5ee4d Fix bogus assertion (352208, r/a=me). 2006-09-11 19:54:18 +00:00
brendan%mozilla.org
4f62c4c886 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
26c2c253ba Fix precedence-based decompilation (352026 and dependents, r=mrbkap/sayrer). 2006-09-11 18:29:33 +00:00
sayrer%gmail.com
89b8a1e75e 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
521fd404df Make sure id array are GC-protected. bug=351973 r=mrbkap sr=brendan 2006-09-11 11:17:05 +00:00
bclary%bclary.com
15d914bdd1 JavaScript Test - update to keep up with parenthesization 2006-09-11 04:37:39 +00:00
bclary%bclary.com
a58ab1dd31 JavaScript Test - regression test for bug 349616, by Jesse Ruderman 2006-09-11 04:19:25 +00:00
bclary%bclary.com
32bd501160 JavaScript Test - regression test for bug 350621, by Seno Aiko 2006-09-11 04:07:28 +00:00
bclary%bclary.com
72d84e451f JavaScript Test - regression test for bug 351988, by Robert Sayre 2006-09-11 03:41:01 +00:00
bclary%bclary.com
a4408c3a76 JavaScript Test - regression test for bug 3520009, by Jesse Ruderman 2006-09-11 03:35:26 +00:00
bclary%bclary.com
c56079951e JavaScript Test - regression test for bug 352015, by Jesse Ruderman 2006-09-11 03:30:50 +00:00
bclary%bclary.com
2229ad728c JavaScript Test - regression tests for bug 352022, by Jesse Ruderman, Brendan Eich 2006-09-11 03:24:32 +00:00
bclary%bclary.com
2cad73fdc6 JavaScript Test - update to test for generic error 2006-09-10 17:05:20 +00:00
sayrer%gmail.com
ca8384ee7b Bug 349616. "getter" keyword decompiles as "(null)" 2006-09-10 16:54:30 +00:00
szegedia%freemail.hu
7e3e101b46 Added a SecurityController implementation that delegates to Java security Policy via assigning CodeSource to scripts. 2006-09-10 12:16:46 +00:00
szegedia%freemail.hu
aaea445e42 Adding a changelog 2006-09-10 12:15:26 +00:00
bclary%bclary.com
8b7b98fb9c JavaScript Test - update test to reflect current behavior 2006-09-10 09:26:16 +00:00
bclary%bclary.com
114b6b4308 JavaScript Test - update test to reflect current behavior 2006-09-10 09:17:21 +00:00
brendan%mozilla.org
d759abda4a Fix ancient bug that suppressed parenthesization of set-element rhs (352022, r=mrbkap). 2006-09-10 09:10:17 +00:00
bclary%bclary.com
8402ba156b JavaScript Test - move test to js1_7/block, bug 349653 2006-09-10 08:59:40 +00:00
brendan%mozilla.org
7b9c75349a Give yield least precedence (352015, r=mrbkap). 2006-09-10 08:34:35 +00:00
brendan%mozilla.org
8105119168 Fix regression to-do with for/in AST change (352009, r=mrbkap). 2006-09-10 08:30:19 +00:00
bclary%bclary.com
ef67554c7a JavaScript Test - teach test |new Date()| and |new Date| are equivalent, bug 352016, 2006-09-10 08:20:30 +00:00
brendan%mozilla.org
58b389c68b Fix regression from last checkin (350793, r=gavin). 2006-09-10 07:07:58 +00:00
sayrer%gmail.com
053281a952 e4x adds spurious quotes when decompiling an XMLPI object initializer. r=brendan 2006-09-10 04:45:39 +00:00
bclary%bclary.com
04e4ed7436 JavaScript Test - update to match changing decompilation of x.@[2], bug 349822 2006-09-10 03:20:12 +00:00
brendan%mozilla.org
2a144173dd Fix for-in loops to be yieldable (r=mrbkap). 2006-09-09 22:43:11 +00:00
brendan%mozilla.org
5c99bfa299 Trailing space and comment cleanup. 2006-09-09 20:37:49 +00:00
bclary%bclary.com
8152d2651a JavaScript Test - regression test for bug 343675 2006-09-09 11:30:49 +00:00
bclary%bclary.com
fab7b35745 JavaScript Test - regression test for bug 351515, by Igor Bukanov 2006-09-09 11:18:23 +00:00
bclary%bclary.com
3d2cf39e1d JavaScript Test - regression test for bug 351794, by Jesse Ruderman 2006-09-09 10:50:21 +00:00
bclary%bclary.com
219cfa704e JavaScript Test - regression test for bug 351793, by Jesse Ruderman 2006-09-09 10:38:11 +00:00
bclary%bclary.com
aa132641d6 JavaScript Test - regression test for bug 351705, by Jesse Ruderman 2006-09-09 10:33:52 +00:00
bclary%bclary.com
25291320d7 JavaScript Test - regression test for bug 351693, by Jesse Ruderman 2006-09-09 09:56:17 +00:00
bclary%bclary.com
0c6f032cb7 JavaScript Test - regression test for bug 351626, by Jesse Ruderman 2006-09-09 09:51:01 +00:00
bclary%bclary.com
e8a61989a8 JavaScript Test - regression test for bug 351606, by Jesse Ruderman 2006-09-09 09:44:10 +00:00
bclary%bclary.com
d1666e84f9 JavaScript Test - regression test for bug 351496, by Jesse Ruderman 2006-09-09 09:23:32 +00:00
bclary%bclary.com
f20a0e81d1 JavaScript Test - regression test for bug 350809, by Jesse Ruderman 2006-09-09 05:07:56 +00:00
bclary%bclary.com
3a29349be4 JavaScript Test - regression test for bug 350730, by Jesse Ruderman 2006-09-09 05:01:39 +00:00
bclary%bclary.com
786835e701 JavaScript Test - regression test for bug 350666, by Jesse Ruderman 2006-09-09 04:56:22 +00:00
bclary%bclary.com
ae34ad54d9 JavaScript Test - regression test for bug 350650, by a-higuti 2006-09-09 04:46:19 +00:00
bclary%bclary.com
5ef17be627 JavaScript Test - regression test for bug 350629, by Jeff Walden 2006-09-09 04:38:25 +00:00
bclary%bclary.com
f5a960cfbd JavaScript Test - regression test for bug 346915, by Jesse Ruderman 2006-09-09 04:29:24 +00:00
bclary%bclary.com
dc70f7bd2f JavaScript Test - regression test for bug 349634, by Jesse Ruderman 2006-09-09 04:24:31 +00:00
bclary%bclary.com
4b6b1f7da6 JavaScript Test - explicitly turn on JS17, bug 351515 2006-09-09 02:53:58 +00:00
igor.bukanov%gmail.com
9c85509380 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
66f9429ae5 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
69905acac4 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
9894bce558 Fix two bugs in JSOP_CONDSWITCH code-gen and decompilation (351496, r=mrbkap). 2006-09-08 16:45:40 +00:00
brendan%mozilla.org
5fe9f5d831 Skip parens when looking for constant condition (351693, r=mrbkap). 2006-09-08 16:38:03 +00:00
brendan%mozilla.org
177c02d30f 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
3f53205236 back out rev 3.160, it's buggy. 2006-09-08 05:18:36 +00:00
brendan%mozilla.org
ca3ef40908 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
5c16f2b7d7 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
be5a272508 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
88daa9624a 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
bae0890070 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
b6ac2bcef3 Fix 351626 and 351705, r=mrbkap/sayrer. 2006-09-07 19:47:40 +00:00
brendan%mozilla.org
9752e56e09 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
172291270f 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
d5206fb446 Stop yield from filtering predicate for now (350809, r=igor). 2006-09-07 16:10:48 +00:00
bclary%bclary.com
2f6294f8c9 JavaScript Test - regression test for bug 350226, by Jesse Ruderman 2006-09-07 13:40:45 +00:00
bclary%bclary.com
8bcdd142e1 JavaScript Test - regression test for bug 350279, by Jesse Ruderman 2006-09-07 13:28:47 +00:00
bclary%bclary.com
6f4c797f12 JavaScript Test - regression test for bug 351104, by Jesse Ruderman 2006-09-07 13:12:50 +00:00
bclary%bclary.com
19addbe191 JavaScript Test - regression test for bug 351497, by Jesse Ruderman 2006-09-07 12:57:52 +00:00
bclary%bclary.com
3c9a1c5a84 JavaScript Test - regression test for bug 351514, by Brendan Eich 2006-09-07 12:52:13 +00:00
bclary%bclary.com
f46708f0bf JavaScript Test - regression test for bug 351597, by Jesse Ruderman 2006-09-07 12:46:35 +00:00
bclary%bclary.com
be1e2fda57 JavaScript Test - regression test for bug 351625, by Jesse Ruderman 2006-09-07 12:41:16 +00:00
igor.bukanov%gmail.com
68e51513e2 Bug 343675: allow to use keywords as function names. r=brendan 2006-09-07 11:28:30 +00:00
brendan%mozilla.org
b65d7bb614 Remove extraneous JOF_XMLNAME format flags (350226, r=jwalden). 2006-09-07 05:53:02 +00:00
brendan%mozilla.org
b237fc1549 Object and array initializers must be parenthesized if expression statements (351625, r=mrbkap). 2006-09-07 05:50:23 +00:00
brendan%mozilla.org
c061c7fea4 Fix stack budget for postfix ++ and -- applied to property refs (350238, r=mrbkap). 2006-09-07 04:47:23 +00:00
brendan%mozilla.org
1a11edec95 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
99abf3b722 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
1a6af0763a 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
626f012531 Fix to require parentheses around yield expression in argument list (351514, r=mrbkap). 2006-09-06 22:52:28 +00:00
szegedia%freemail.hu
bccd73a6b0 Use Rhino's security domain for generated classes by default when no SecurityController is in use 2006-09-06 13:35:16 +00:00
szegedia%freemail.hu
7f81005f2f Introduced SecurityUtilities -- for now, allows getting system properties in a privileged block 2006-09-06 12:54:45 +00:00
igor.bukanov%gmail.com
2ba1526c57 Bug 351413: let-block cloning is no longer recursive to avoid stack overflow. r=brendan 2006-09-06 08:55:12 +00:00
bclary%bclary.com
4ac441a51d JavaScript Test - regression test for bug 350531, by Biju 2006-09-06 07:24:05 +00:00
bclary%bclary.com
334c44eee6 JavaScript Test - regression test for bug 350531, by Brendan Eich 2006-09-06 07:08:15 +00:00
brendan%mozilla.org
8ae1726f07 Fix 351497, regression from last patch. 2006-09-06 07:05:57 +00:00
brendan%mozilla.org
7debe644bf Fix operator precedences and make the most of them when decompiling (350531, r=mrbkap/sayrer). 2006-09-06 06:31:08 +00:00
bclary%bclary.com
eb9492f511 JavaScript Test - regression test for bug 351336, by Jesse Ruderman 2006-09-06 05:50:59 +00:00
bclary%bclary.com
fb91307f43 JavaScript Test - regression test for bug 350442, Lubos Ures 2006-09-06 05:47:55 +00:00
bclary%bclary.com
82c3b90a6c JavaScript Test - regression test for bug 349814, by Jesse Rudermanregress-349814.js 2006-09-06 05:45:28 +00:00
brendan%mozilla.org
251910f4d6 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
ad16beafbf 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
21877dad03 Format comment per vim modeline. 2006-09-05 19:35:12 +00:00
brendan%mozilla.org
332c3087af Force parens around 'in' expr E1 in for (E1;...) loop (351336, r=mrbkap). 2006-09-05 00:29:32 +00:00
jwalden%mit.edu
9a9d3b2661 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
bclary%bclary.com
6a81b99f3e JavaScript Test - regression test for bug 350991, by Jesse Ruderman, Jeff Walden 2006-09-03 18:57:53 +00:00
bclary%bclary.com
af196d4ec5 JavaScript Test - regression test for bug 344951, by Jeff Walden 2006-09-03 18:34:14 +00:00
igor.bukanov%gmail.com
3ae0efd172 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
fcc8d89c9e 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
8a73f5a395 Fix last checkin (351204, r=mrbkap). 2006-09-03 07:08:24 +00:00
brendan%mozilla.org
7884e4c388 Back out last change, reopening bug (thanks to waldo). 2006-09-03 06:29:20 +00:00
brendan%mozilla.org
900709fcce 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
bclary%bclary.com
9a199f1b6e JavaScript Test - regression test for bug 349851, by Jesse Ruderman 2006-09-03 01:09:05 +00:00
bclary%bclary.com
02c3baa964 JavaScript Test - regression test for bug 349362, by Jesse Ruderman 2006-09-03 01:00:59 +00:00
bclary%bclary.com
eabaf716a6 JavaScript Test - regression test for bug 351116, by Jesse Ruderman 2006-09-03 00:49:02 +00:00
bclary%bclary.com
90abe04629 JavaScript Test - attempt to deal with alert dismissal, bug 341821 2006-09-03 00:29:33 +00:00
bclary%bclary.com
142964427e JavaScript Test - attempt to deal with alert dismissal, bug 341815 2006-09-03 00:28:36 +00:00
bclary%bclary.com
65d5bbc344 JavaScript Test - remove length tests, bug 322135 2006-09-03 00:25:41 +00:00
bclary%bclary.com
6e2701ffe6 JavaScript Test - register and unregister dialog closer on start/stop rather than on before/after page load, no bug, not part of the build 2006-09-03 00:23:09 +00:00
bclary%bclary.com
54548528cc JavaScript Test - update gVersion for js16, js17, no bug, not part of the build 2006-09-03 00:21:27 +00:00
brendan%mozilla.org
b1eea8d6d7 Stop popping cloned blocks at activation boundary (351122, r=mrbkap). 2006-09-03 00:12:47 +00:00
igor.bukanov%gmail.com
03c600cbbd Bug 347248: Taking out the prev commit as old GCC can not tolerate non-static initializers. 2006-09-02 20:53:20 +00:00
bclary%bclary.com
73168ba864 JavaScript Test - fix automatic e4x detection, no bug not part of the build 2006-09-02 20:43:27 +00:00
brendan%mozilla.org
cd22c4371f Fix local function shadowing argument decompilation (351116, r=mrbkap). 2006-09-02 20:33:42 +00:00
igor.bukanov%gmail.com
85e9544057 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
0f33ca76df Fix stale comment. 2006-09-02 18:27:35 +00:00
brendan%mozilla.org
9c09b56560 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
bclary%bclary.com
50ce2b796d JavaScript Test - default to e4x on for e4x tests, bug 257679 2006-09-02 00:33:18 +00:00
brendan%mozilla.org
e42cf13bb5 Require parens around yield expressions in comma expressions (349851, r=mrbkap). 2006-09-01 21:42:51 +00:00
bclary%bclary.com
e8e16068d1 JavaScript Test - regression test for bug 348904, by Jesse Ruderman 2006-09-01 16:21:27 +00:00
bclary%bclary.com
787c3f6f8e JavaScript Test - regression test for bug 349653, by Jesse Ruderman 2006-09-01 16:09:06 +00:00
bclary%bclary.com
d8e39d6bd8 JavaScript Test - regression test for bug 350837, by Igor Bukanov 2006-09-01 16:00:54 +00:00
bclary%bclary.com
38d7f09399 JavaScript Test - regression test for bug 350810, by Jesse Ruderman 2006-09-01 15:54:08 +00:00
bclary%bclary.com
a79e42422a JavaScript Test - regression test for bug 349962, by Jesse Ruderman 2006-09-01 15:27:42 +00:00
brendan%mozilla.org
02c0baa72f Fix array comprehension code gen bug that broke constant folding (349653, r=mrbkap). 2006-09-01 06:16:14 +00:00
brendan%mozilla.org
c04fef2b38 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
103d4e0d04 Fix stack modeling in for(x[i] in o) type loop heads (350810, r=mrbkap/sayrer). 2006-09-01 00:36:50 +00:00
bclary%bclary.com
cd8404eb33 JavaScript Test - update for regression test for bug 350704 2006-08-31 18:37:46 +00:00
bclary%bclary.com
aa707f5c63 JavaScript Test - update for regression test for bug 350670 2006-08-31 18:28:16 +00:00
bclary%bclary.com
a5517afd63 JavaScript Test - update for regression test for bug 350692 2006-08-31 18:25:08 +00:00
bclary%bclary.com
e9ee5e30f9 JavaScript Test - update regression test for bug 349012 2006-08-31 18:13:18 +00:00
igor.bukanov%gmail.com
c2e94748ad Bug 350837: Clerar cx->throwing in [gosub] when pushing exception. r=brendan 2006-08-31 18:01:44 +00:00
brendan%mozilla.org
f3480d148f Remove bogus assertions (349962, r=mrbkap). 2006-08-31 17:13:50 +00:00
bclary%bclary.com
c9148e899e JavaScript Test - update regression test for bug 350692regress-350692.js 2006-08-31 17:11:49 +00:00
benjamin%smedbergs.us
fe2b1b1254 Bug 350550 - Liveconnect shouldn't export NSGetFactory, r=brendan+jhpedemonte 2006-08-31 16:45:29 +00:00
szegedia%freemail.hu
dc9d1fae50 Run on all three currently existing optimization levels 2006-08-31 10:17:48 +00:00
bclary%bclary.com
2dc202ee1f JavaScript Test - regression test for bug 350704, by Jesse Ruderman 2006-08-31 09:27:47 +00:00
bclary%bclary.com
74049dd830 JavaScript Test - regression test for bug 350692, by Jesse Ruderman 2006-08-31 09:19:20 +00:00
bclary%bclary.com
cc93d42ffc JavaScript Test - regression test for bug 350670, by Jesse Ruderman 2006-08-31 09:10:24 +00:00
bclary%bclary.com
0aef361ae5 JavaScript Test - regression test for bug 349624, by Jesse Ruderman 2006-08-31 09:01:53 +00:00
bclary%bclary.com
0627f3bfec JavaScript Test - regression test for bug 349592, by Jesse Ruderman 2006-08-31 08:55:42 +00:00
brendan%mozilla.org
4a776f05bc 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
a52e294ae9 Fix assertion (350692). 2006-08-30 23:13:46 +00:00
brendan%mozilla.org
0a4767fbbd Twiddle TCF_IN_FOR_INIT around actual param codegen (350704, r=mrbkap). 2006-08-30 21:22:37 +00:00
brendan%mozilla.org
207c744dfc Fix regression from initial js1.7 landing (350670, r=mrbkap). 2006-08-30 21:12:25 +00:00
bclary%bclary.com
9801e30312 JavaScript Test - regression test for bug 350206, by Jeff Walden 2006-08-30 02:10:23 +00:00
brendan%mozilla.org
22b8d6bfd6 Fix try/catch/finally code generation (350312, r=igor/shaver). 2006-08-29 23:15:22 +00:00
jwalden%mit.edu
12e3482428 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
bclary%bclary.com
8babbb453a JavaScript Test - regression test for bug 349650, by Jesse Ruderman 2006-08-29 20:55:37 +00:00
bclary%bclary.com
d06fd44269 JavaScript Test - regression test for bug 350415, by Jesse Ruderman 2006-08-29 20:46:34 +00:00
bclary%bclary.com
d6bcf942f0 JavaScript Test - regression test for bug 350529, by Jesse Ruderman 2006-08-29 20:42:35 +00:00
igor.bukanov%gmail.com
326c05c749 Bug 350559: restoring compatibility with Python with gen.throw(). r=brendan 2006-08-29 20:37:49 +00:00
benjamin%smedbergs.us
4b74339c6f 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
64a77c5790 Fix inline specialization of PushOff for array comprehensions (349650, r=mrbkap/sayrer). 2006-08-29 16:52:27 +00:00
brendan%mozilla.org
4b5934cd28 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
ae4f07ab92 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
e833332f9e Fix from mrbkap to unget error tokens (350415, r=me). 2006-08-29 01:01:25 +00:00
bclary%bclary.com
01e8bc30e3 JavaScript Test - update test for bug 350312 2006-08-28 23:01:34 +00:00
bclary%bclary.com
4864773bb2 JavaScript Test - regression test for bug 350312, by Brendan Eich 2006-08-28 22:03:01 +00:00
timeless%mozdev.org
97d86b0df2 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:12:37 +00:00
bclary%bclary.com
13480615bd JavaScript Test - regression test for bug 349331, by Igor Bukanov 2006-08-28 11:46:46 +00:00
bclary%bclary.com
70ec6b607b JavaScript Test - regression test for bug 350271, by Jesse Ruderman 2006-08-28 11:41:51 +00:00
bclary%bclary.com
f7c88ff492 JavaScript Test - regression test for bug 350268, by Jesse Ruderman 2006-08-28 11:36:15 +00:00
bclary%bclary.com
8dd939af49 JavaScript Test - regression test for bug 350263, by Jesse Ruderman 2006-08-28 11:29:41 +00:00
bclary%bclary.com
29468a4470 JavaScript Test - regression test for bug 350242, by Jesse Ruderman 2006-08-28 11:24:27 +00:00
bclary%bclary.com
ed05bf02d8 JavaScript Test - regression test for bug 349648, by Jesse Ruderman, Brendan Eich, Robert Sayre 2006-08-28 11:18:54 +00:00
bclary%bclary.com
2655726821 JavaScript Tests - update to reflect removal of GeneratorExit 2006-08-28 08:18:13 +00:00
igor.bukanov%gmail.com
6e4070bafb Bug 349527: Fix for GCC warning introduced by the previous optimization. r=brendan 2006-08-28 05:57:16 +00:00
brendan%mozilla.org
96aca1e4cb 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
f9878d1cec Fix delete property and method call operand decompilation cases (350242, r=mrbkap/shaver). 2006-08-27 21:08:41 +00:00
brendan%mozilla.org
ada298b4ec 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
b8db26fafa Catch trailing token syntax errors in js_CompileFunctionBody (350268, r=mrbkap). 2006-08-27 17:53:48 +00:00
brendan%mozilla.org
014cef087d JSOP_ENDFILTER, not JSOP_FILTER, needs to have high precedence (350271, r=mrbkap). 2006-08-27 17:31:13 +00:00
brendan%mozilla.org
af66a4d87a Retract to left-most operand for JSOP_ARRAYPUSH (349648, r=mrbkap/sayrer). 2006-08-27 15:57:32 +00:00
igor.bukanov%gmail.com
29dc283052 Bug 349331: followup to the previous patch to remove GeneratorExit from jsproto.tbl 2006-08-27 15:47:17 +00:00
bclary%bclary.com
a8a0219149 JavaScript Test - regression test for bug 350206, by Lubos Ures 2006-08-27 06:16:38 +00:00
brendan%mozilla.org
bfd83ff474 Fix warning in last checkin. 2006-08-27 04:15:32 +00:00
jwalden%mit.edu
5346f81114 Bug 350206 - Assertion while generating namespace prefix during toXMLString(). r=brendan 2006-08-27 00:46:14 +00:00
igor.bukanov%gmail.com
747b5e9fff Bug 349331: Implementation of generator.close now uses asynchronous return instead of GeneratorExit exception. r=brendan 2006-08-26 20:24:45 +00:00
bclary%bclary.com
45337945bf JavaScript Test - regression test for bug 350253, by Jesse Ruderman 2006-08-26 20:21:15 +00:00
bclary%bclary.com
b255760a2f JavaScript Test - regression test for bug 349956, by Jesse Ruderman 2006-08-26 20:16:41 +00:00
bclary%bclary.com
abffa61353 JavaScript Test - regression test for bug 349663, by Jesse Ruderman 2006-08-26 20:08:43 +00:00
bclary%bclary.com
d48b2f865e JavaScript Test - regression test for bug 349633, by Jesse Ruderman 2006-08-26 19:58:55 +00:00
bclary%bclary.com
11df289668 JavaScript Test - regression test for bug 349619, by Jesse Ruderman 2006-08-26 19:51:21 +00:00
bclary%bclary.com
ce065aca03 JavaScript Library - regression test for bug 346892, by Jesse Ruderman 2006-08-26 19:04:28 +00:00
szegedia%freemail.hu
b3a5890f97 Minor tidying 2006-08-26 09:39:26 +00:00
igor.bukanov%gmail.com
a7a5018f78 Bug 349320: generator cleanup, r=brendan 2006-08-26 09:18:57 +00:00
igor.bukanov%gmail.com
0a5b6d0a39 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
afcf0be7a9 Re-init cx->threadLinks to self-link in js_ClearContextThread (345365, r=feng). 2006-08-26 06:44:17 +00:00
brendan%mozilla.org
08472c75f4 Fix bogus assertion (350253, DEBUG-only fix). 2006-08-26 05:09:43 +00:00
brendan%mozilla.org
980230e5bb Consolidate early JSFUN_INTERPRETED setting for uniform useless expression elimination (346892, r=mrbkap). 2006-08-26 04:05:03 +00:00
brendan%mozilla.org
b0bb6c32b2 Fix @* decompilation (349956, r=shaver). 2006-08-25 18:04:03 +00:00
brendan%mozilla.org
90bed94936 Fold assign-ops harder, to uphold decompiler round-trip invariance (349663, r=shaver). 2006-08-25 18:01:35 +00:00
brendan%mozilla.org
85280bffd9 Fix decompilation of postfix ++ and -- on block-local names (349633, r=shaver). 2006-08-25 17:57:25 +00:00
brendan%mozilla.org
3fedcd6344 Don't try to bind label names to slots (349619, r=shaver). 2006-08-25 17:54:21 +00:00
bclary%bclary.com
e059fc713f JavaScript Test Library - regression test for bug 346494, by Brendan Eich 2006-08-25 02:31:08 +00:00
bclary%bclary.com
86299a30b5 JavaScript Test Library - correct regression test for bug 349822, by Jesse Ruderman 2006-08-24 11:44:07 +00:00
bclary%bclary.com
5382f5b8fe JavaScript Test Library - regression test for bug 349815, by Jesse Ruderman 2006-08-24 11:34:05 +00:00
bclary%bclary.com
8ae3362e20 JavaScript Test Library - regression test for bug 349822, by Jesse Ruderman 2006-08-24 11:26:15 +00:00
bclary%bclary.com
a8708ca895 JavaScript Test Library - regression test for bug 349818, by Jesse Ruderman 2006-08-24 11:19:45 +00:00
bclary%bclary.com
a21d25daa5 JavaScript Test Library - regression test for bug 349605, by Jesse Ruderman 2006-08-24 11:16:20 +00:00
bclary%bclary.com
b59a80e818 JavaScript Test Library - regression test for bug 349602, by Jesse Ruderman 2006-08-24 11:07:35 +00:00
bclary%bclary.com
640f91c834 JavaScript Test Library - regression test for bug 349596, by Jesse Ruderman 2006-08-24 10:51:13 +00:00
bclary%bclary.com
880049c3e7 JavaScript Test Library - regression test for bug 349491, by Jesse Ruderman 2006-08-24 10:43:16 +00:00
bclary%bclary.com
f76b684d48 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
1bd32a3160 Cleanup to match hand-merged 1.8 branch patch for 349507. 2006-08-23 20:32:44 +00:00
mrbkap%gmail.com
3ff11d4d65 Avoid extra parens inside XML lists. bug 349815, r=brendan 2006-08-23 20:00:26 +00:00
mrbkap%gmail.com
b90e8f245d 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
dc3833bf60 Fix computed vs. literal-identifier attribute name decompilation (349822, r=mrbkap). 2006-08-23 07:09:03 +00:00
bclary%bclary.com
74c01e12c9 JavaScript Test Library - remove misnamed test, bug 341510 2006-08-23 06:13:11 +00:00
bclary%bclary.com
2f24c874b3 JavaScript Test Library - update test success comparators, bug 349827 2006-08-23 06:08:50 +00:00
bclary%bclary.com
6dfa040c8c JavaScript Test Library - update regression tests for bug 322135 2006-08-23 05:54:20 +00:00
bclary%bclary.com
8547ec16c7 JavaScript Test Library - update browser.js adapters, bug 349827 2006-08-23 05:42:44 +00:00
bclary%bclary.com
32682a8d09 JavaScript Test Library - test automation updates, not part of the build, no bug 2006-08-23 05:30:00 +00:00