Commit Graph

334 Commits

Author SHA1 Message Date
Brian Hackett
977319febf Merge MC -> JM 2011-08-26 11:23:35 -07:00
Boris Zbarsky
2aba0d8d52 Bug 659350 part 5. The guts of the change to move from storing inline event handlers on the JSObject to storing them in the event listener manager directly, so we can easily set/read them via IDL.
The changes here are as follows:
1) nsIJSEventListener now stores the handler.  This is guaranteed to be already bound properly, if needed, before being set in the nsIJSEventListener.
2) The old classinfo glue to deal with on* properties is gone.
3) IDL-based methods for on* properties have been added.
2011-08-24 15:49:25 -04:00
Mihai Sucan
80dd1964e2 Bug 670896 - Add inner window ID and timestamp to nsIScriptError2; r=bzbarsky 2011-08-24 23:44:35 +03:00
Brian Hackett
e65820919b Merge MC -> JM 2011-08-21 16:00:26 -07:00
Brian Hackett
985611c92e Merge MC -> JM 2011-08-12 07:20:08 -07:00
Ms2ger
2cecbb3535 Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
Brian Hackett
e55eec1dbb Merge MC -> JM 2011-08-09 13:29:11 -07:00
Michael Wu
9e3770c179 Bug 675567 - Fix PRBool/JSBool mixups, r=mrbkap 2011-08-03 18:59:10 -07:00
Brian Hackett
35603587fa Merge MC -> JM 2011-08-02 09:08:05 -07:00
Brian Hackett
f0ce5ff29e Merge MC -> JM. 2011-07-28 18:10:31 -07:00
Steve Fink
657c83e57a Bug 673631 - Clean up probes and register (almost) all profiler control entry points in JS_DefineProfilingFunctions (r=luke,waldo,jst)
Previously, JS_DefineProfilingFunctions only defined a very basic set of
functions (startProfiling and stopProfiling), and various scattered places
added more specific ones (start/stop vtune, dumpProfile, etc.) This patch makes
jsdbgapi do all of it, so that all users get the same set.

Also rename JS_DumpProfile -> JS_DumpBytecode to avoid name conflict. The
bytecode dumps are how the counters ("profiles") are displayed, so the
DumpProfile name was bogus anyway.
2011-07-26 15:56:09 -07:00
Brian Hackett
91605d7192 Merge MC -> JM 2011-07-21 18:53:37 -07:00
Neil Rashbrook
db30c5c089 Bug 675179 nsJSContext::ExecuteScript failes to report pending exceptions r=bz 2011-07-30 23:32:00 +01:00
Ben Turner
e8afb778cc Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap.
* * *
Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap. Add workaround for bug 666963.
2011-07-17 15:09:13 -04:00
Brian Hackett
b4f1169cc2 Merge MC -> JM 2011-07-15 14:40:15 -07:00
Ehsan Akhgari
6290b4cdc9 Backout changeset fdddabd345b9 and changeset 3857a4309fc3 (bug 649537) because of three mochitest-3 intermittent failures which seem to be caused by this on Windows debug builds 2011-07-18 18:14:59 -04:00
Ben Turner
ce590b78bc Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap. 2011-07-17 15:09:13 -04:00
Matheus Kerschbaum
200b657e7d Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
Brian Hackett
f67cd0c0cc Merge TM -> JM 2011-07-01 16:24:32 -07:00
Brian Hackett
2d9ff9b8d2 [INFER] Fix merge botch, only warn once for each script accessing undefined properties in contexts with the strict option set, bug 662393. 2011-06-06 17:12:49 -07:00
Brian Hackett
c9e331615d Merge TM -> JM 2011-06-06 16:47:40 -07:00
Chris Leary
fcfe24bd53 Merge mozilla-central to tracemonkey. 2011-06-06 09:41:22 -07:00
Brian Hackett
27d459d8f9 Merge TM -> JM 2011-06-02 12:59:28 -07:00
Steve Fink
f855de60e9 Bug 671046 - unwrap function objects if needed before JS_GetFunctionId for NS_FUNCTION_TIMER (r=mrbkap) 2011-07-07 11:30:43 -07:00
Ehsan Akhgari
e78d693c88 Backout changeset 7c1a923bea13 (bug 649537) because of mochitest-3 and mochitest-oth oranges 2011-07-12 14:25:53 -04:00
Ben Turner
191e3fbc1f Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap. 2011-07-12 12:32:14 -04:00
Brian Hackett
2c1bfca902 Merge TM -> JM 2011-05-22 08:59:06 -07:00
Wes Kocher
6f728a8bed Bug 661690. Add preferences for gczeal frequency and whether the gczeal gc should be a per-compartment gc. r=wmccloskey 2011-07-21 17:31:36 -04:00
Daniel Holbert
845f5086ad Bug 658849 followup: Remove one more instance of harmless "WARNING: Failed to create timer" message that gets spammed on shutdown. r=gal 2011-05-31 17:42:46 -07:00
Bill McCloskey
b5ae159ad1 Bug 650978 - Add gczeal setting to GC on every allocation (r=gwagner) 2011-06-01 17:48:52 -07:00
Brian Hackett
16527b9127 Merge TM -> JM 2011-05-11 20:37:23 -07:00
Gregor Wagner
2d18ea7192 Bug 603916 - unifying GC sheduling. r=igor 2011-05-10 22:37:11 -07:00
Brian Hackett
34017f15b0 Merge TM -> JM 2011-05-09 09:49:48 -07:00
Blake Kaplan
7a50bdc7ad Bug 643393 - Speed up nsJSContext::GetGlobalObject. r=peterv 2011-04-28 13:28:54 -07:00
Chris Leary
ee3cc5b62c Merge mozilla-central to tracemonkey. (CLOSED TREE) 2011-05-02 10:55:34 -07:00
Chris Jones
e870e569fc Bug 642381, part 3: Hoist Maybe into mfbt and eliminate Gecko's use of jstl. r=jorendorff,luke 2011-04-28 17:48:52 -05:00
Chris Jones
0ca94e5bf8 Bug 642381, part 2: Rename LazilyConstructed to Maybe. r=luke 2011-04-28 17:48:51 -05:00
Brian Hackett
cf2b42a8ff Merge TM -> JM 2011-04-12 07:04:45 -07:00
Jeff Walden
cb60f9c31c Bug 665835 - Remove JSOPTION_ANONFUNFIX. r=cdleary 2011-06-21 09:53:19 -07:00
Luke Wagner
1cd7714645 Bug 656462, part 4 - Simplify stack code, keep track of native calls, create new iterator over native/scripted callstack, make JS_SaveFrameChain fallible (r=waldo,mrbkap) 2011-05-13 08:56:26 -07:00
Ed Morley
78b75c0137 Bug 651657 - Remove WinCE & Windows Mobile code from dom/* ; r=jst,dolske 2011-04-29 15:50:53 +02:00
Brian Hackett
42dca7e4ba Merge TM -> JM 2011-03-09 09:58:49 -08:00
Brian Hackett
81b4a51f7c [INFER] Fix OOM handling in type inference, convert inference to runtime option, bug 637674. 2011-03-03 14:07:48 -08:00
a3fe526f83 Only run CC after the GC has run at least once (bug 626768, r=gal). 2011-02-23 00:08:36 -08:00
Andreas Gal
a380a2b1c0 When idle the GC holds on to unused chunks indefinitely (bug 631733, r=brendan, a=blocker). (relanding in a CLOSED TREE) 2011-02-19 22:59:49 -08:00
919aca173a Don't call GC or CC unexpectedly during shutdown (bug 635251, r/a=gal). (relanding in a CLOSED TREE) 2011-02-20 00:20:14 -08:00
Jeff Walden
da2f88dad2 #jsapi observed the extent of orange in the TM tree and saw that OS X x86 opt was consistently and totally evil. So jwalden was sorry he had ever pushed changes for bug 631135. It broke his heart. And he said, “I will wipe this tree of every push back to 9105cd721d46. Yes, and I will revert the entire TM CLOSED TREE. I am sorry I ever pushed to it.” But 9105cd721d46 found favor with #jsapi. 2011-02-20 17:46:35 -08:00
b59b0c80b6 Don't call GC or CC unexpectedly during shutdown (bug 635251, r/a=gal). 2011-02-20 00:20:14 -08:00
Andreas Gal
02f7ed13f6 When idle the GC holds on to unused chunks indefinitely (bug 631733, r=brendan, a=blocker). 2011-02-19 22:59:49 -08:00
Jeff Walden
578a17ccb1 Backed out changeset 4d86e63ff60d, diagnostic patch; back out 3da12edf735e, followup fix; back out bug 631135 completely, unexplained intermittent orange. 2011-02-19 19:50:19 -08:00