Commit Graph

13018 Commits

Author SHA1 Message Date
Steve Fink
2dacef3f04 Backed out changeset b7e91bafdcd9 2011-01-24 15:10:52 -08:00
Steve Fink
31df3a402a Backed out changeset d54eac606dd7 2011-01-24 15:10:23 -08:00
Steve Fink
8beba6e0ff Backed out changeset c10e63cba3b6 2011-01-24 15:07:00 -08:00
Steve Fink
aa873a798d Improve comment. Related to bug 627943.
--HG--
extra : rebase_source : 66619f6ab6ed81dd0a7d01df5a03274229b5e12e
2011-01-24 14:43:39 -08:00
Steve Fink
b500ebd4d9 Bug 626830 - XPConnect should turn debugging off immediately, without waiting for a quiescent stack
--HG--
extra : rebase_source : 62a7bb8024313841b4c40c86ccaedd1ae9f56ad1
2011-01-24 13:24:52 -08:00
Steve Fink
e2145da10c Bug 626830 - Allow JSD to turn on debugging when no JS code is running, not just when XPConnect stack is completely empty, r=dmandelin
--HG--
extra : rebase_source : 3f177904d2708642dfec8d5937964ec8fc83427a
2011-01-24 13:21:18 -08:00
Steve Fink
65d69cfc54 Bug 627758 - Detect forced GC end case to fix jsd.off() giving NS_ERROR_NOT_AVAILABLE, r=dmandelin
--HG--
extra : rebase_source : 6525e0b9abca2b0096d3fe0d5b8248dcfaebe7ba
2011-01-20 22:10:54 -08:00
Steve Fink
431720e0ac Bug 626743 - Set debug mode for whole runtime, avoiding compartment-less contexts, r=dmandelin
--HG--
extra : rebase_source : 198e9c85fd8126ef0ec24eb390641ece2f2cd61e
2011-01-19 15:33:34 -08:00
Steve Fink
3046e8cfdb Bug 627516 - Unconditionally #include assembler/wtf/Platform.h to fix crash with --disable-methodjit, r=cdleary
--HG--
extra : rebase_source : 8381615c16097fd6eb86e63f7c59b7f33587b47c
2011-01-20 14:03:51 -08:00
Steve Fink
82dbc5d4cf Bug 627943 - Bad ordering of exception save/wrap/restore, r=gal
--HG--
extra : rebase_source : c317f6f3357885077c7182834d3b29412a5606f2
2011-01-21 17:32:00 -08:00
Bill McCloskey
d2d16afad0 Bug 627475 - Clean up methodjit OOM handling (r=dmandelin) 2011-01-24 14:36:34 -08:00
Bill McCloskey
bc4fee0689 Bug 610088 - Don't assert when DecompileValueGenerator called from script prologue (r=dmandelin) 2011-01-24 11:55:02 -08:00
Bill McCloskey
7cf78aa843 Backed out changeset f3b470fb91a9 (orange) for bug 623297 2011-01-24 11:18:53 -08:00
Bill McCloskey
b7ffccbd4b Bug 623297 - To decide JS_ON_TRACE, check the thread, not the compartment (r=gal) 2011-01-24 10:36:28 -08:00
Luke Wagner
75d92493c9 Bug 626526 - Change cx->busyArrays to use SystemAllocPolicy; avoid JSContext init subtleties (r=pbiggar) 2011-01-24 09:47:25 -08:00
Jeff Walden
388e0a33f7 Bug 497869 - Forbid let and yield in strict mode code in scripts which are not JS1.7 or greater (that is, any web script not explicitly opted into JS1.7+ with a <script type>). r=brendan 2011-01-24 07:26:26 -08:00
Jeff Walden
15fda24aa9 Bug 497869 - Future reserved words are syntax errors in strict mode. r=brendan 2011-01-22 17:46:22 -08:00
Jeff Walden
50cccbcec6 Bug 624110 - Properly traverse the scope chain over strict eval frames in the tracer. r=brendan 2011-01-10 13:09:07 -06:00
Jeff Walden
882117c5e3 Back out everything from the last several hours for turning into a disaster zone finally ending in total orange. r=return-to-sanity 2011-01-23 03:12:28 -08:00
Jeff Walden
91caba886f Fix redness. jsd being C and not C++ bites again! r=redness 2011-01-23 01:16:34 -08:00
Andreas Gal
0fc264ef3f Don't lose error condition in decompiler (bug 621988, r=brendan). 2011-01-22 23:30:30 -08:00
Jeff Walden
16cad291a3 Bug 624110 - Properly traverse the scope chain over strict eval frames in the tracer. r=brendan 2011-01-10 13:09:07 -06:00
Jeff Walden
a6a68a253b Bug 497869 - Future reserved words are syntax errors in strict mode. r=brendan 2011-01-22 17:46:22 -08:00
Rafael Ávila de Espíndola
61100744cd Bug 622144 - Code must #include <string.h> to use memset. r=dmandelin, a=shaver 2011-01-22 08:52:25 -08:00
Jeff Walden
40e165aec3 Bug 577325 - Implement function definition per ES5 plus errata (still with support for our extensions, of course). r=igor
--HG--
extra : rebase_source : d058ad2eefc16d4c7b35e74fd6b10e18bedc0ab0
2010-11-01 17:04:19 -07:00
Andreas Gal
927855f788 Cache eval CSP check (bug 614137, r=mrbkap, a=dmandelin). 2011-01-22 14:28:37 -08:00
Andreas Gal
08e5edc6f1 Bug 613515 - JS properties set from chrome are lost. r=mrbkap@gmail.com, a=blocker 2011-01-18 16:47:22 -08:00
David Anderson
16e6f63bd7 Fix SetGlobalName checking for getters instead of setters (bug 625438, r=jorendorff). 2011-01-21 14:25:51 -08:00
Jason Orendorff
d7e1af0d61 Bug 617609 - Upvar analysis marks functions as NULL_CLOSURE incorrectly. r=brendan. 2011-01-21 13:22:26 -06:00
Jason Orendorff
f0e29a0abe Add js_CheckForStringIndex call to trace recorder path for JSOP_INITPROP, to match what the interpreter does. Bug 626345, r=Waldo. 2011-01-21 13:20:45 -06:00
Andreas Gal
bdd4aa4ade AnyName can't have a NULL parent (bug 617485, r=brendan). 2011-01-21 10:55:39 -08:00
Andrew Drake
54a4137e29 Bug 621464 - Fix xml_replace thinko introduced by 1d1fe1d1e626 (r=lw) 2011-01-21 09:31:56 -08:00
Chris Leary
5cc9a9562c Merge mozilla-central and tracemonkey. (a=blockers) 2011-01-20 20:47:21 -08:00
Daniel Holbert
684bbe61d7 Bug 612408: return NS_ERROR_FAILURE instead of NULL in failure case within mozJSComponentLoader::ImportInto. r=gal 2011-01-20 20:19:19 -08:00
David Mandelin
e591d18eb0 Bug 599854: fix repeated matching of empty groups, r=cdleary 2011-01-13 18:43:39 -08:00
Andreas Gal
16f46afa99 Actually stop shark when stopProfiling() is called (bug 626437, r=bz). 2011-01-20 18:24:08 -08:00
Andreas Gal
fe38925efd Distinguish between wrappers and proxies in WN::Unwrap (bug 623614, r=mrbkap). 2011-01-20 18:01:32 -08:00
Jason Orendorff
ec078d1750 Add an assertion per bug 626436 comments 7-9. rs=brendan.
--HG--
extra : rebase_source : 96bda82ab2b558ff794072c0b128a22ee46d7da1
2011-01-20 17:41:59 -06:00
Luke Wagner
452f71a352 Bug 626631 - nsAutoJSValHolder should root its jsval (r=gal)
--HG--
extra : rebase_source : 12bb96e9927e7c8740ccbd4b3838894a81165861
2011-01-20 15:30:03 -08:00
Andreas Gal
d015657412 Unwrap before applying waiver wrapper (bug 626290, r=mrbkap). 2011-01-20 14:41:30 -08:00
Jim Blandy
b123ea9aeb Bug 576847: Don't assume that definition nodes have atoms (functions don't); use the atom we find in the use node. Make ordinary placeholder nodes. r=brendan 2011-01-20 13:27:05 -08:00
Jim Blandy
88ef67763e Bug 576847: Propagate error returns out of CompExprTransplanter::transplant. r=luke 2011-01-20 13:27:05 -08:00
Jim Blandy
a7a25b6387 Bug 576847: Remove unused arguments in generator expression parsing functions. r=jorendorff
We always pass NULL as the |pn1| argument to js::Parser::parenExpr; remove
it. We pass NULL for the |genexp| argument in all but one case; give it a
default value. This allows almost all calls to pass no arguments.

We always pass a freshly allocated PN_UNARY node as |generatorExpr|'s first
argument, and never refer to the node again in the caller; move the
allocation into |generatorExpr| itself. This makes |generatorExpr| a
function that takes an expression |E| and returns the immediate application
of a generator function which consists of the nested loops and conditionals
given by the comprehension tail, with a |yield E| at the center.
2011-01-20 13:27:04 -08:00
David Anderson
3445b6ef78 Use the right JIT script when disabling trace ICs (bug 627150, r=billm). 2011-01-19 15:43:47 -08:00
David Anderson
783f963055 Get rid of value snapshotting in value iterators (bug 624421, r=luke,gal). 2011-01-14 17:15:21 -08:00
Gregor Wagner
be2a4effab Bug 624224 - cleanup compartment sweep code, r=brendan 2011-01-18 15:20:39 -08:00
Nicholas Nethercote
a9c8eef74c Bug 623428 - TM: avoid bloat caused by multiple mReserve arrays in VMAllocator (TM-specific part). r=gal. 2011-01-18 15:05:43 -08:00
Nicholas Nethercote
355b36ef67 Update nanojit-import-rev stamp. 2011-01-18 15:04:48 -08:00
Nicholas Nethercote
51800259db Bug 623428 - TM: avoid bloat caused by multiple mReserve arrays in VMAllocator (NJ-specific part). r=edwsmith.
--HG--
extra : convert_revision : f6016c7c7cd415a26dad9cf39d34141b8b482d43
2011-01-18 14:58:34 -08:00
Andrew Paprocki
224681155f Add JS_NewDateObject, JS_NewDateObjectMsec, JS_ObjectIsDate to the JSAPI. Bug 625870, r=jorendorff, a=shaver. 2011-01-18 16:11:03 -06:00