Commit Graph

286 Commits

Author SHA1 Message Date
Dan Gohman
94cd9b8531 Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
Ehsan Akhgari
41784ed79f Bug 913851 - Minimize the #includes in js/xpconnect; r=bholley
X-Git-Commit-ID: 78e6843063b303780a7dd2695dd2824a0a9c9a3c
2013-09-09 23:14:10 +02:00
Robert O'Callahan
51222bdd45 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg 2013-09-02 20:41:57 +12:00
Nicholas Nethercote
e3c49dd223 Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke. 2013-08-26 19:05:20 -07:00
Ms2ger
a5a300481d Bug 903849 - Use MOZ_ASSERT consistently in XPConnect; r=bholley 2013-08-14 09:00:34 +02:00
Nicholas Nethercote
966f6b5ff2 Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz. 2013-08-02 00:41:57 -07:00
Jon Coppeard
3d1569a54e Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug 2013-08-05 14:02:47 +01:00
Bobby Holley
0df174a07e Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Jon Coppeard
775f06b442 Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug 2013-07-26 10:00:38 +01:00
Carsten "Tomcat" Book
beb4a5c20d Backed out changeset ae8d72538dee (bug 897484) for b2g bustage 2013-07-26 12:34:25 +02:00
Jon Coppeard
ba2b6e849c Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug 2013-07-26 10:00:38 +01:00
Jon Coppeard
7ab147be05 Bug 896949 - JS_SetProperty APIs should take an immutable parameter r=waldo r=bz 2013-07-26 10:00:38 +01:00
Jon Coppeard
3c93e78516 Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - browser changes r=bz 2013-07-25 13:57:00 +01:00
Bobby Holley
97080b7dca Bug 887334 - Enter a compartment in b2g-only unloading code. r=me CLOSED TREE 2013-07-17 14:28:54 -07:00
Bobby Holley
48a3b30b71 Bug 889911 - Replace mozJSLoaderErrorReporter with SystemErrorReporter and remove the former. r=mrbkap 2013-07-16 20:38:44 -07:00
Bobby Holley
ae48528424 Bug 880917 - Convert JS_SetVersion API consumers to per-compartment versions. r=luke 2013-06-29 09:11:18 -06:00
Bobby Holley
e2e92e3a29 Bug 880917 - Generalize JS_NewGlobalObject API to take CompartmentOptions. r=luke
This will be useful for versioning, as well as JIT options and all the other
stuff that eventually needs to move out of the JSContext.
2013-06-29 09:11:17 -06:00
Andrew McCreight
4dbd8f21b3 Bug 883657, part 2 - Don't force a GC in mozJSComponentLoader::UnloadModules. r=bholley 2013-06-25 08:42:40 -07:00
Bobby Holley
e6757fa1b3 Bug 883450 - Miscellaneous requests. r=gabor 2013-06-20 11:05:34 -07:00
Gregor Wagner
b6ad4520b7 Bug 885025 - B2G: Add missing request in mozJSComponentLoader::UnloadModules. r=khuey 2013-06-19 21:09:48 -04:00
Ms2ger
d122c8684e Bug 881358 - Kill build warnings in XPConnect; r=bholley 2013-06-12 09:00:09 +02:00
Trevor Saunders
0a26b40dca bug 873622 - speed up nsXPConnect::GetXPConnect() and rename it since it never returns null r=bholley 2013-05-17 01:49:41 -04:00
Bobby Holley
c9c266aea9 Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
c3247a55cf Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor 2013-05-22 10:05:26 -06:00
Boris Zbarsky
d0259d836d Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley 2013-05-20 08:44:18 -04:00
Kyle Huey
a0e5ff306e Bug 864494: Hardcode the value of jsloader.reuseGlobal on b2g to work around some IPC preferences problem that we don't entirely understand. r=jlebar 2013-05-07 11:02:31 -07:00
Tom Schuster
6991bf3c32 Bug 865410 - Use CallArgs for nsIJSNativeInitializer::Initialize. r=bz 2013-05-04 19:25:15 +02:00
Bobby Holley
713fef9198 Bug 865729 - Remove nsIJSContextStack from xpconnect/loader. r=gabor 2013-04-29 11:16:19 -07:00
Jon Coppeard
a726d15847 Bug 865308: GC: More rooting work in XPConnect r=bholley 2013-04-26 18:50:18 +01:00
Tom Schuster
437e18383d Bug 862834 - Root mozJSComponentLoader. r=bholley,terrence 2013-04-23 17:48:05 +02:00
Xin Zhang
af100eed90 Bug 857385 - Make various JSFunctionSpec arrays const. r=waldo 2013-04-22 14:15:49 -07:00
Jeff Walden
356abe8832 Bug 858677 - Fix up code not built by SpiderMonkey to use the newly-changed deletion signatures. r=bholley, r=billm 2013-04-05 21:22:55 -07:00
Gabor Krizsanits
6bb30b1f40 Bug 820170 - Turning BackstagePass into non-singleton. r=bholley 2013-04-04 11:27:38 +02:00
Bill McCloskey
490af25d66 Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley) 2013-03-16 20:36:37 -07:00
Jon Coppeard
66d2e2f630 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence 2013-03-06 16:41:43 +00:00
Ed Morley
0e54ea5e7a Backed out changeset 28ef4bdff455 (bug 848395) 2013-03-07 13:03:35 +00:00
Jon Coppeard
76e226089a Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence 2013-03-06 16:41:43 +00:00
Jeff Walden
f91f785300 Bug 826009 - Move locale callback info, default locale, etc. data and APIs to be JSRuntime-centered. f=bholley, r=jorendorff 2013-02-07 18:04:11 -08:00
Nicholas Nethercote
03e9f7ae1b Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
Ding dong!  The witch is dead!
2013-01-24 21:24:57 -08:00
Phil Ringnalda
6c1eebfede Back out 66882ea6f8c7 (bug 788293) and 32f09cb3c7b6 (bug 834090) for bustage
CLOSED TREE
2013-01-31 22:29:30 -08:00
Nicholas Nethercote
2d2d004475 Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
Ding dong!  The witch is dead!
2013-01-24 21:24:57 -08:00
Mats Palmgren
221fd7bb4a Bug 786533 - On Windows, one of the system header files (windef.h) defines 'min' and 'max' as macros which breaks any use of std::min/std::max. Define NOMINMAX before including system header files where needed to avoid defining those macros. r=ehsan 2013-01-15 13:22:03 +01:00
Chia-hung Tai
225f7ffd1a Bug 825836 - Add Blob into JS component. r=sicking 2013-01-04 15:53:25 +08:00
Kyle Huey
ba78d4ac6d Bug 811615: Enable chrome code to create a new File object by wrapping an existing Blob and provide a custom name/type. r=sicking a=basecamp-blocking 2012-12-11 13:21:03 -08:00
Ed Morley
bc4e62101e Backout 194d8f675d2d & 251a18603db4 (bug 811615) for xpcshell and mochitest failures 2012-12-11 13:09:38 +00:00
Kyle Huey
d6104e66a2 Bug 811615: Enable chrome code to create a new File object by wrapping an existing Blob and provide a custom name/type. r=sicking a=basecamp-blocking 2012-12-11 03:54:08 -08:00
Kyle Huey
51e8d8f14d Bug 814102: Make the 'this' object used when compartment sharing a FakeBackstagePass. r=mrbkap 2012-11-26 14:41:59 -08:00
Kyle Huey
e819db98e4 Bug 811784: Account for subscripts when figuring out what object to stick properties on. r=mrbkap 2012-11-26 14:41:55 -08:00
Jonathan Griffin
d2a2f0fb6b Backed out a94288026ea5 (Bug 811784) for turning all b2g emulator tests red 2012-11-16 18:30:22 -08:00
Kyle Huey
f1d910dbd8 Bug 811784: Account for subscripts when figuring out what object to stick properties on. r=mrbkap 2012-11-16 08:54:58 -08:00