Terrence Cole
4966a3b266
Bug 941766 - Fix an exact rooting hazard in NPAPI; r=johns
...
--HG--
extra : rebase_source : f82a0e94f689ce0c5b88e05d9ae56ef52ce2f662
2013-12-06 13:52:13 -08:00
Jacek Caban
4be5441848
Bug 944427 - Fixed char16_t/wchar_t mismatch in dom/ r=bsmedberg
2013-12-04 13:19:38 +01:00
Jeff Walden
0d8f37059b
Bug 940033 - js::HashMapEntry::{key,value} fields should be private, with accessors, and the former should expose a const reference. r=jimb
...
--HG--
extra : rebase_source : 439d194ed15bf87e9643c9c09d4512ff7f616fcc
2013-11-25 17:35:09 -08:00
Jon Coppeard
2caccf2110
Bug 934421 - Postbarrier the keys of the plugin wrapper table r=terrence r=jschoenick
2013-11-19 22:53:36 +00:00
Ed Morley
8aec0cea8e
Backed out changeset 0a641abef602 (bug 934421)
2013-11-20 16:38:10 +00:00
Jon Coppeard
b37b39e697
Bug 934421 - Postbarrier the keys of the plugin wrapper table r=terrence r=jschoenick
2013-11-19 22:53:36 +00:00
Nathan Froyd
d52098a8d7
Bug 940170 - part 3 - constify PLDHashTableOps in dom/; r=bz
2013-11-18 21:53:12 -05:00
Ms2ger
5e1bd894df
No bug - Fix some style issues in DOM code.
2013-11-11 09:04:41 +01:00
Nicholas Nethercote
cdfc960ca4
Bug 837566 - Remove js_RemoveRoot. r=terrence.
...
--HG--
extra : rebase_source : b3b615c34cfa4b9766a3484060242498c5a57e63
2013-02-03 20:16:19 -08:00
Nicholas Nethercote
ba1e9bce90
Bug 925584 - Remove some unnecessary jsapi.h inclusions from .cpp files. r=Ms2ger.
...
--HG--
extra : rebase_source : 41fcb0e922a519ef679c1c1b6293c2b638e83a48
2013-10-10 15:22:35 -07:00
Birunthan Mohanathas
e47e7345ea
Bug 784739 - Switch from NULL to nullptr in dom/plugins/base/; r=ehsan
...
--HG--
extra : rebase_source : 827cf2bb75601a723a64593fca5c0cf6632c959c
2013-10-23 16:34:30 -04:00
Tom Schuster
a513788fdb
Bug 8844105 - Handlify JS_WrapObject. r=terrence
2013-10-15 20:02:23 -04:00
Jon Coppeard
38b602931b
Bug 917798 - Handlify JS exception APIs r=terrence r=bz
2013-09-19 08:54:01 +01:00
Terrence Cole
b25c74c014
Bug 916993 - Handlify the public JSString APIs; r=bz,jonco
...
--HG--
extra : rebase_source : 35c5d7832d794ce37be622db3140309d2605c212
2013-09-16 18:33:40 -07:00
Dan Gohman
8b7074b6dc
Bug 910823 - Constify static js::Class/JSClass instances. r=waldo
2013-09-11 05:49:05 -07:00
Ms2ger
df8525f77d
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Nicholas Nethercote
b756f6b258
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
25d70fdd97
Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
...
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Nicholas Nethercote
ba723f1034
Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
...
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Jon Coppeard
694e4a5be0
Bug 900979 - Change JS_DeleteProperty APIs to use a boolean out param rather than a value r=waldo r=bz
2013-08-05 14:01:53 +01:00
Jon Coppeard
93c50cb189
Bug 899973 - GC: Convert the rest of the JS property API to use MutableHandleValue for out params - browser changes r=bz
2013-08-02 13:15:39 +01:00
Tom Schuster
0b021a6fa2
Bug 884410 - Handlify JS_GetPrototype. r=terrence
2013-07-31 12:20:33 -04:00
Jon Coppeard
8278efd42a
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
8c89deb65b
Backed out changeset ae8d72538dee (bug 897484) for b2g bustage
2013-07-26 12:34:25 +02:00
Jon Coppeard
fc9b509d4f
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
1463e7df5b
Bug 896949 - JS_SetProperty APIs should take an immutable parameter r=waldo r=bz
2013-07-26 10:00:38 +01:00
Jon Coppeard
477e4df5c5
Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - browser changes r=bz
2013-07-25 13:57:00 +01:00
Jon Coppeard
c561caee58
Bug 888338 - 6 - more browser post barriers r=mccr8
2013-07-23 10:58:27 +01:00
Kyle Huey
49b422d01c
Bug 885866: Separate deferred finalization from XPConnect so we can use it off the main thread. r=mccr8, peterv, bsmedberg, jorendorff
2013-07-09 07:28:15 -07:00
Jon Coppeard
4b40ce1453
Bug 885310 - 1 Rename JSHandleFoo in the browser r=bz
2013-06-21 14:12:46 +01:00
Bobby Holley
2fa8b1cfb0
Bug 883450 - Miscellaneous requests. r=gabor
2013-06-20 11:05:34 -07:00
Jon Coppeard
c56ed4c7b6
Bug 884371 - Remove JSMutableHandleXXX from the browser r=bz
2013-06-19 11:32:27 +01:00
Bobby Holley
91448a9dac
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
54ef3d2952
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
David Zbarsky
c0c90ea117
Bug 868312 - Rooting fixes for dom r=bz
2013-05-14 16:25:32 -07:00
David Zbarsky
26b3b1eb0d
Backed out changeset 3b73e9c7a5d0 for orange
2013-05-14 01:00:11 -07:00
David Zbarsky
7d9610a584
Bug 868312 - Rooting fixes for dom r=bz
2013-05-14 00:15:53 -07:00
Terrence Cole
cd1aec056b
Bug 777548 - Make non-cc-participant tracing indirect; r=smaug,billm,jst
2013-03-28 13:37:22 -07:00
Sankha Narayan Guria
7f0c4baace
Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley
2013-05-06 09:04:17 -04:00
David Zbarsky
d4b3d0a59f
Bug 868312: Various dom rooting fixes r=bz
2013-05-04 03:52:57 -04:00
Steve Fink
5637b7f42d
Bug 866432 - Replace AutoValueRooter with JS::Rooted<JS::Value> in gecko. r=smaug
...
--HG--
extra : rebase_source : 0897fc8f3968619185b754e13ca6119cb1c0f46d
2013-04-26 21:08:15 -07:00
Terrence Cole
e417ffe01a
Bug 860050 - Remove JSMutableHandleObject typedef; r=bz,jonco
2013-04-16 16:20:44 -07:00
Bobby Holley
f7383de1b3
Bug 860438 - Remove plugin-specific cx pusher. r=bsmedberg
...
The old code does two little bits of special sauce that are worth mentioning:
1 - It calls OnWrapper{Created,Destroyed} to maintain the lifetime of the
addref'd context stack pointer. But that whole thing is gone now.
2 - It calls ScriptEvaluated to potentially invoke termination functions in
certain cases. nsCxPusher does this too, but with slightly different logic.
In particular, nsCxPusher checks whether the given JSContext was already
on the stack, whereas AutoCXPusher checked whether there was another cx on
the stack above this one. As far as I can tell from my investigations of
this stuff, this is all total voodoo, and I think it should probably be fine
to just use an nsCxPusher here.
Also, termination functions are going away soon in bug 841312.
2013-04-18 11:36:04 -04:00
Bobby Holley
629d0d4121
Bug 860438 - Straightforward cases. r=gabor
2013-04-18 11:36:03 -04:00
Jeff Walden
f9d3bc73ed
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
Jacek Szpot
514f40e52a
Bug 854503 - Rename JS unwrapping functions. r=bholley
2013-04-11 11:50:18 -07:00
Ryan VanderMeulen
24a4c17eff
Backed out changeset a85d21e394c0 (bug 854503) for bustage.
2013-04-06 14:37:33 -04:00
Jacek Szpot
8ce12e971c
Bug 854503 - Rename JS unwrapping functions. r=bholley
2013-04-04 12:14:32 +02:00
Jose Cortes
21f2e0d958
Bug 842186 - Replace use of jsval with JS::Value in h and cpp files in the dom/bindings/ dom/plugins/ dom/src/ dom/activities/ directories. r=jwalden
...
--HG--
extra : rebase_source : 2757a7ab265153fa4c769a69a4947b9258e4413e
2013-04-02 16:05:37 -07:00
Terrence Cole
9801ecf36c
Bug 855145 - DeMACROize the JS tracing interfaces; r=billm,mccr8
...
--HG--
extra : rebase_source : 915c80052b4412f653033eb5fc4d4f96c5d49bd5
2013-03-26 15:10:34 -07:00