Commit Graph

211 Commits

Author SHA1 Message Date
Ms2ger
4eb646f713 Bug 698390 - Make nsIScriptContext::CallEventHandler take a JSObject handler parameter; r=sicking 2011-11-26 11:09:20 +01:00
Ms2ger
b1c5975e1d Bug 698389 - Give nsIScriptContext::CompileFunction a JSObject outparam; r=peterv 2011-11-26 11:08:42 +01:00
Ms2ger
4404c11378 Bug 698388 - Pass JSObject to nsIScriptContext::CompileFunction; r=sicking 2011-11-26 11:07:55 +01:00
Ms2ger
7d48d63603 Bug 698380 - Give nsIScriptContext::EvaluateStringWithValue a JS::Value retval parameter; r=peterv 2011-11-16 08:50:20 +01:00
Ms2ger
1c485b78b7 Bug 698378 - Give nsIScriptContext::EvaluateStringWithValue a JSObject* scope parameter; r=peterv 2011-11-16 08:50:19 +01:00
Ms2ger
867943a1f1 Bug 696604 - Remove nsIScriptContext::CompileScript's aScopeObject parameter; r=peterv 2011-11-16 08:50:19 +01:00
Ms2ger
8ce75b6dab Bug 696660 - Outparamdel nsIScriptRuntime::CreateContext; r=mrbkap 2011-11-16 08:50:19 +01:00
Ms2ger
41c96b861d Bug 696668 - Give nsIScriptContext::CallEventHandler a JSObject scope parameter; r=mrbkap 2011-10-29 22:19:03 +02:00
Ms2ger
39e8c28de8 Bug 696666 - Give nsIScriptContext::BindCompiledEventHandler a JSObject scope parameter; r=jst 2011-10-29 22:18:21 +02:00
Ms2ger
684669d50a Bug 696665 - Give nsJSContext::JSObjectFromInterface a JSObject scope parameter; r=volkmar 2011-10-29 22:17:00 +02:00
Ms2ger
049ea59f59 Bug 694867 - Part f: Pass a JSScript to nsIScriptContext::ExecuteScript; r=volkmar 2011-10-29 22:15:43 +02:00
Ms2ger
3ced8a692e Bug 694867 - Part a: Pass a JSScript to nsIScriptContext::Serialize and store a JSScript in nsXULPrototypeScript::ScriptObjectHolder::mObject; r=volkmar 2011-10-29 22:12:47 +02:00
Ms2ger
76535b26f1 Bug 694838 - Make nsIScriptContext::EvaluateString's second parameter a JSObject; r=volkmar 2011-10-29 22:11:51 +02:00
Ms2ger
1d8862426a Bug 694781 - Make nsIScriptContext::ExecuteScript's second parameter a JSObject; r=volkmar 2011-10-29 22:10:49 +02:00
Ms2ger
64bd006366 Bug 694763 - Remove nsIScriptContext::DidSetDocument; r=jst 2011-10-29 22:06:42 +02:00
Ms2ger
a1518ac8a3 Bug 694759 - Make nsIScriptContext::GetNativeGlobal return JSObject; r=jst 2011-10-29 22:06:17 +02:00
Peter Van der Beken
22f5dbe67d Stop including nsDOMClassInfo.h all over the place. 2011-10-03 21:11:31 +02:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Chris Leary
dda8d900f5 Bug 684039: Don't use JSArenaPool in nsJSEnvironment. (r=mrbkap) 2011-09-22 15:13:36 -07:00
Ms2ger
6057ede4ed Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst 2011-09-18 11:22:17 +02: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
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
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
Blake Kaplan
7a50bdc7ad Bug 643393 - Speed up nsJSContext::GetGlobalObject. r=peterv 2011-04-28 13:28:54 -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
Andreas Gal
018696bd27 Fix GC/CC scheduling (bug 630932, patch by gal/smaug, r=mrbkap). 2011-02-16 15:47:12 -08:00
Olli Pettay
00f237efa7 Bug 630947, run GC more often before CC, r=gal, a=blocker 2011-02-08 11:43:56 +02:00
Olli Pettay
f6032fe681 Bug 624549, Don't call GC so aggressively in nsJSContext::CC, r=gal, a=jst 2011-01-29 22:55:39 +02:00
Patrick Walton
92cb56722a Bug 628110 - Back out changeset d1adb7b245bd (removal of MaybeGC() every 20th script execution) to fix SunSpider regression. r=gal a=blocking2.0:betaN+ 2011-01-24 14:56:40 -08:00
Patrick Walton
901ecdfc42 Bug 624867 - Don't call MaybeGC() on every 20th script execution. r=jst a=blocking2.0:betaN+ 2011-01-12 11:54:50 -08:00
Olli Pettay
078f7b2e60 Bug 508518, Implement nsUITimerCallback with one-shot timer, r=jst, a=blocking 2010-11-07 21:07:59 +02:00
Olli Pettay
177635e42e Backout Bug 508518, a=dromaeo-dom-regression 2010-10-25 00:52:17 +03:00
Olli Pettay
26ce96831e Bug 508518 - Implement nsUITimerCallback with one-shot timer, r=jst, a=blocking-fennec 2010-10-24 21:20:53 +03:00
Blake Kaplan
eab6f7f3fa Bug 580128 - Fix a leak caused by holding a non-cycle collectable object instead of a cycle-collectable one. r=peterv 2010-09-03 14:15:50 -07:00
Blake Kaplan
f832dc8f30 bug 580128 - Create a proxy for the outer window and use it. Note: this turns on new wrappers for all objects. r=peterv 2010-09-17 14:54:40 -07:00
Robert O'Callahan
0b967c5cd5 Fix for bug 466157 (Enable dumping of cycle-collector graphs in any build). r=dbaron, a=jst. 2010-08-12 12:03:23 +12:00
Blake Kaplan
69d5f0697d Bug 586083 - Make the outer window not be a global object. r=jst 2010-08-10 15:00:26 -07:00
Luke Wagner
9af1092446 Missed a cset (33addcc556b8) in backout 2010-08-16 22:38:05 -07:00
Blake Kaplan
3ee273eefa Bug 586083 - Make the outer window not be a global object. r=jst 2010-08-10 15:00:26 -07:00
Blake Kaplan
e3537e812e Bug 563106 - Tie XPConnect to compartments. r=jorendorff/gal/jst 2010-07-19 13:36:49 -07:00
Blake Kaplan
bd0dad1052 Bug 575795 - Clean up the nsIScriptContext interface to the global object to be able to split the work that nsIScriptContext::InitContext does out. r=jst 2010-07-15 15:16:29 -07:00
Olli Pettay
33ca7d0f34 Bug 549682 - Port the message-manager API to mozilla-central, r=jst 2010-05-18 15:28:37 +03:00
Olli Pettay
d1c80ff1d4 Backout Bug 549682 2010-05-18 13:10:47 +03:00
Olli Pettay
98c0be01b2 Bug 549682 - Port the message-manager API to mozilla-central, r=jst 2010-05-18 11:52:24 +03:00
Jeff Walden
34649fff4d Readd changes to nsJSEnvironment.{cpp,h}, and adjust js::LazilyConstructed so as to force pointer alignment on the theory that's what was wrong. 2010-03-29 22:51:52 -07:00
Jeff Walden
f5f09217d7 Backed out changeset 79fd90e2dd87, n810s all orange -- yay! Something fruitful to investigate! 2010-03-29 19:46:37 -07:00
Jeff Walden
8ca6d77924 Readd jsregexp.{cpp,h} (and to users of the regex-statics save/restore methods) and nsJSEnvironment.{cpp,h} changes for bug 548702. 2010-03-29 12:24:03 -07:00
Jeff Walden
2e74bf795c Backed out changeset e7065853ef79; I'll be repushing this incrementally, attempting to find the precise place where things go bad, in the near future. Happy days are here again! :-\ 2010-03-26 18:01:54 -07:00