Brad Lassey
58cc323c20
bug 1104160 - crash in CPOWTimer::~CPOWTimer() r=billm
2014-11-25 13:04:07 -05:00
Bobby Holley
3c1d0fd115
Bug 1102521 - Use AutoEntryScript/AutoJSAPI for CPOW answers. r=billm
2014-11-23 15:23:21 -08:00
Brad Lassey
5bdf9eae23
bug 1074567
- measure time spent processing in sync CPOW calls per compartment r=bholley,billm
...
* * *
try: -b do -p linux64-b2g-haz -u none
2014-11-19 18:54:34 -05:00
Tom Schuster
12ee966a97
Bug 783829 - Rename Proxy enumerate trap to getEnumerablePropertyKeys. r=efaust
2014-11-14 16:21:12 +01:00
Bill McCloskey
546747b785
Bug 1091964 - Avoid spurious rooting hazard on a CLOSED TREE
2014-11-05 17:52:38 -08:00
Bill McCloskey
7cf195d449
Bug 1091970 - [e10s] Cache object tag in add-on shims for remote objects (r=mrbkap)
2014-11-04 17:40:08 -08:00
Bill McCloskey
6ed288e283
Bug 1091964 - [e10s] Cache isCallable and isConstructor for CPOWs (r=mrbkap)
2014-11-04 17:39:34 -08:00
Carsten "Tomcat" Book
055ba5a88c
Backed out changeset 5992aea01aff (bug 1091964)
2014-11-05 10:03:06 +01:00
Carsten "Tomcat" Book
e3f684b7a3
Backed out changeset 38ca6211d1d4 (bug 1091970)
2014-11-05 10:02:59 +01:00
Bill McCloskey
fe30fe6fd9
Bug 1091970 - [e10s] Cache object tag in add-on shims for remote objects (r=mrbkap)
2014-11-04 17:40:08 -08:00
Bill McCloskey
5270447ff4
Bug 1091964 - [e10s] Cache isCallable and isConstructor for CPOWs (r=mrbkap)
2014-11-04 17:39:34 -08:00
Bill McCloskey
2aafde34fc
Bug 1073631 - Add mising waivier outerizing for CPOWs (r=bholley)
2014-11-03 07:10:27 -08:00
Boris Zbarsky
6ee4ab8789
Bug 1088002 part 2. Change JS_DefineElement, JS_DefineProperty, JS_DefineUCProperty, JS_DefinePropertyById, and JS_DefineProperties to default to using JSNative accessors, not JSPropertyOp accessors. r=waldo
2014-10-29 15:06:31 -04:00
Jeff Walden
0855b78393
Bug 1052139 - Reorder the preventExtensions trap just after the [[Prototype]]-access traps. r=code-motion
...
--HG--
extra : rebase_source : ea85bf1daa26ec7a32caf2656ebf99c6e2757cfa
2014-10-21 11:40:04 -07:00
Jeff Walden
777c2ff26e
Bug 1085566 - Make the preventExtensions hook return succeeded/failed rather than always indicate failure by reporting an error. r=efaust
...
--HG--
extra : rebase_source : 487b569d23ce18f39fc53697e5f25cc789885803
2014-10-19 01:18:43 -07:00
Carsten "Tomcat" Book
fcc0eb1e30
Backed out changeset 9e900e87b4bb (bug 1085566)
2014-10-22 08:59:09 +02:00
Carsten "Tomcat" Book
aca347b75c
Backed out changeset 4eee647a5bd4 (bug 1052139)
2014-10-22 08:59:05 +02:00
Jeff Walden
b012538ad3
Bug 1052139 - Reorder the preventExtensions trap just after the [[Prototype]]-access traps. r=code-motion
...
--HG--
extra : rebase_source : 18f69552bad6922c1b602cbf81d6961883e4d5b8
2014-10-21 11:40:04 -07:00
Jeff Walden
1d2a7aa6cd
Bug 1085566 - Make the preventExtensions hook return succeeded/failed rather than always indicate failure by reporting an error. r=efaust
...
--HG--
extra : rebase_source : 3b61c22efe8b5b2b3135b11556b6b329479d3dcd
2014-10-19 01:18:43 -07:00
Bill McCloskey
3b3399bdc4
Bug 1077587 - Handle non-existent properties in CPOW descriptor code (r=mrbkap)
2014-10-20 09:47:27 -07:00
Jason Orendorff
ea94038f6d
Bug 1081280 - Rename BaseProxyHandler::keys -> getOwnEnumerablePropertyKeys. r=efaust.
...
--HG--
extra : rebase_source : 009323b607d53066b77191f9254918b61ea4d594
2014-10-08 22:01:55 -05:00
Jason Orendorff
87d538f309
Bug 1081255 - Rewrite comments in jsproxy.h; reclassify the methods a bit. No change in behavior. r=efaust, r=bz, r=jwalden.
...
--HG--
extra : rebase_source : b3440548322d65b2bd01862fb863e6197eb263c6
2014-10-08 12:09:08 -05:00
Tom Schuster
bfd10d6554
Bug 1071177 - Support symbol keys and throw exception on unique symbols with CPOWs. r=billm
2014-10-16 18:39:38 +02:00
Tom Schuster
bf9324688d
Bug 1069694 - Remove OldDebugAPI from the browser. r=shu
2014-10-12 19:37:41 +02:00
Jason Orendorff
13b8d404bc
Bug 1026918, part 3 - Rename mozilla::jsipc::PJavaScript::GetPropertyNames -> GetPropertyKeys. r=billm.
...
--HG--
extra : rebase_source : 53d0aae8df524ffc9dfc9657908adf00fc9c89a8
extra : amend_source : 13d71e9a8b830e5ecc74586f6e4b616703cfd305
2014-09-26 19:52:45 -05:00
Jason Orendorff
41b9b13312
Bug 1026918, part 2 - Rename js::GetPropertyNames -> GetPropertyKeys. r=efaust.
...
--HG--
extra : rebase_source : 359dceadb4dfcfc9c724d2995c121a56af610c7d
2014-09-26 19:39:35 -05:00
Jason Orendorff
d35e6d1e8d
Bug 1026918, part 1 - Rename BaseProxyHandler::getOwnPropertyNames -> ownPropertyKeys to match the ES6 [[OwnPropertyKeys]] internal method. r=efaust, r=bz.
...
Also renamed in this patch:
ENUMERATE_IF_DEFINED -> ADD_KEYS_IF_DEFINED
XrayEnumerateAttributesOrMethods -> XrayAttributeOrMethodKeys
XrayEnumerateNativeProperties -> XrayOwnNativePropertyKeys
XrayEnumerateProperties -> XrayOwnPropertyKeys
WrapperOwner::getPropertyNames -> getPropertyKeys
These make sense because JSITER_* flags are involved; the functions in
question are not for finding enumerable properties only.
--HG--
extra : rebase_source : 35fb0fa3c8f3d7bc952409ea8c584e58f3c1d78f
2014-09-26 15:16:36 -05:00
Bill McCloskey
2ab547d3ab
Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan)
2014-10-07 21:32:45 -07:00
Carsten "Tomcat" Book
4985d0ee76
Backed out changeset e56bf4ea89fb (bug 1049879) for bustage in emulator debug builds on a CLOSED TREE
2014-10-08 08:03:57 +02:00
Bill McCloskey
281cb8db91
Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan)
2014-10-07 21:32:45 -07:00
Tom Schuster
0bf1b2a134
Bug 1071177 - Add support for symbols as a value type. r=billm
2014-10-07 11:29:03 +02:00
Tom Schuster
07191c41f8
Bug 1071177 - Add support for well-known and registered symbols as CPOW jsids. r=billm,jorendorff
2014-10-07 11:29:03 +02:00
Tom Schuster
eec11c26a0
Bug 1071177 - Introduce JSIDVariant type for CPOWs. r=billm
2014-10-07 11:29:02 +02:00
Andrew McCreight
9d6136ff7b
Bug 1073597, part 3 - Lazify creation of the CPOW manager in CpowIdHolder. r=billm
2014-10-06 15:45:42 -07:00
Nicolas B. Pierron
206d7d6d49
Bug 1074911 - Replace JS_ASSERT by MOZ_ASSERT. r=jorendorff
...
Apply the following script
sed -i '
/JS_ASSERT(/ {
s/JS_ASSERT(/MOZ_ASSERT(/;
:b;
s/ \\$/\\/;
/;/ { p; d; };
n;
s/^/ /;
b b;
};
s/JS_ASSERT (/MOZ_ASSERT(/;
'
Except where the JS_ASSERT macro does not end with a semi-colon, where empty
lines are in the middle of the macro, and where the backslahes are always the
same-length after the expression.
2014-10-01 19:17:51 +02:00
Bobby Holley
17638a1eed
Bug 1067009 - Implement regexp_toShared for CPOWs. r=billm
2014-10-01 17:22:15 +02:00
Bobby Holley
8e8a7d28c3
Bug 1065811 - Track Xray waivers with CPOWs. r=billm
2014-09-25 13:13:29 +02:00
Bobby Holley
8b65a1f10b
Bug 1065811 - Clean up ObjectId handling with static type checking. r=billm
...
While adding the CPOW flag for xray waivers, I discovered a bunch of
inconsistency and sloppiness with respect to our handling of object ids,
and a general lack of clarity about when the id included flags or not. Given
the fact that I'm removing static callability for CPOWs, we _could_ just get
rid of the flags, and store the xray waiver state on the answer-side only. But
I eventually decided that these kinds of flags (which are accessible to both
the Answer _and_ the Owner) had enough potential utility that they were worth
cleaning up.
It's worth noting that that utility comes with the large caveat that the flags
can't be trusted for security-sensitive decisions (at least in the parent->child
case), since they could be forged by a compromised child.
2014-09-25 13:13:29 +02:00
Bobby Holley
4f60ec8b3f
Bug 1065811 - Stop statically computing callability/constructibility on CPOWs. r=billm
2014-09-25 13:13:29 +02:00
Bobby Holley
db168e5cde
Bug 1065811 - Expose isCallable()/isConstructor() in JS_PUBLIC_API. r=billm
2014-09-25 13:13:28 +02:00
Jon Coppeard
132fb38dd4
Bug 650161 - Unify the finalization and moving GC callbacks into a weak pointer update callback r=terrence r=bholley
2014-09-24 12:54:11 +01:00
Bobby Holley
2a5e5e2d96
Bug 1052096 - Move CPOW targets into the privileged/unprivileged junk scope of the child/parent. r=billm
2014-09-12 17:41:18 -07:00
Bobby Holley
048a4d28f5
Bug 1052096 - Move CPOWs into the privileged junk scope. r=billm
2014-09-12 17:41:18 -07:00
Jason Orendorff
ddb4e5c560
Bug 1065507, part 3 - Remove special support for js_GetterOnlyPropertyStub from js/ipc.
...
--HG--
extra : rebase_source : cc10de476c7c40324f9ae781c6e06500a53edb1b
2014-09-10 12:54:20 -05:00
Bill McCloskey
41b9d7aba6
Bug 1060042 - CPOWs need a hasInstance hook (r=mrbkap)
2014-09-10 17:15:40 -07:00
Eric Faust
385660b12e
Bug 966518 - Part 0: Make proxy callability into a trap, rather than a class check. (r=bholley, r=djvj, r=peterv)
2014-09-10 15:52:36 -07:00
Chris Peterson
d126c3c24f
Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem
2014-07-21 21:43:21 -07:00
Jon Coppeard
fbd9cb9af7
Bug 650161 - Add moving GC callback and use it to fix up ipc CPOW tables r=terrence
2014-09-02 11:07:22 +02:00
Ehsan Akhgari
ddca1158ca
Bug 1060988 - Fix more bad implicit constructors in JS IPC code; r=billm
2014-08-31 21:10:16 -04:00
Eric Faust
db3773210b
Bug 1027425 - Make all Proxy handler constructors use MOZ_CONSTEXPR. (r=bz, r=froydnj)
2014-08-28 13:47:16 -07:00
Eric Faust
48b4f73e9f
Bug 1017862 - Remove virtual destructor from BaseProxyHandler. (r=jorendorff)
2014-08-28 13:30:56 -07:00
Eric Faust
11375e15fd
Bug 1027964 - Standardize proxy handler families. (r=jorendorff)
2014-08-27 17:09:06 -07:00
Bill McCloskey
ee028ed085
Bug 1057601 - Use UncheckedUnwrap in CPOW code (r=mrbkap)
2014-08-22 18:18:00 -07:00
Bill McCloskey
d54b9ed617
Bug 1051127 - Add an env var for CPOW logging (r=mrbkap)
2014-08-20 13:01:32 -07:00
Bill McCloskey
14b0872617
Bug 1052093 - Child->parent CPOWs should go through COWs in the parent for security (r=bholley)
2014-08-20 12:49:10 -07:00
Bobby Holley
eaebf58731
Bug 1052089 - Rename JunkScope to PrivilegedJunkScope and remove fallibility of singleton scope access. r=billm
...
These two things ended up getting mushed together in my tree.
2014-08-18 10:57:30 -07:00
Bill McCloskey
55952e99b7
Bug 950745 - Back out assertions that are triggering too often
2014-08-15 16:16:42 -07:00
Bobby Holley
e70ddb7476
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
30ae466592
Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage.
2014-08-14 17:23:10 -04:00
Bobby Holley
3e4d70a655
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 12:54:34 -07:00
Jon Coppeard
511f6ef1c5
Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug
2014-08-13 10:05:22 +01:00
Bill McCloskey
024b67429e
Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke)
2014-08-05 21:43:36 -07:00
Bill McCloskey
8bcf32b6ed
Back out bug 950745 for crashes
2014-07-30 16:19:46 -07:00
Bill McCloskey
c87bbeeeda
Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke)
2014-07-17 21:09:45 -07:00
Jan de Mooij
8772025bff
Bug 1034689
part 3 - Fix remaining places in Gecko to handle Latin1 strings. r=bz
2014-07-12 09:43:08 +02:00
Bill McCloskey
e03b6322a0
Bug 1029248 - Clean up CPOW unwrapping (r=mrbkap)
2014-07-10 16:47:04 -07:00
Jan de Mooij
44da586636
Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz
2014-07-05 17:30:54 +02:00
Ryan VanderMeulen
658554a580
Backed out changesets 4a19dcbc7e7a and 4907115e02e3 (bug 1029248) for non-unified bustage.
...
CLOSED TREE
2014-07-03 13:19:29 -04:00
Bill McCloskey
42d60ab372
Bug 1029248 - Add helpers to simplify CPOW unwrapping (r=mrbkap)
2014-07-03 09:48:21 -07:00
Bill McCloskey
026f5d0e68
Bug 1017109 - Add construct hook for CPOWs (r=mrbkap)
2014-06-30 17:50:58 -07:00
Bill McCloskey
3d9e496beb
Bug 1029202 - Allow CPOW receivers to be non-CPOWs (r=mrbkap)
2014-06-30 17:48:09 -07:00
Eric Faust
04ec29520a
Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz)
2014-06-27 04:44:06 -07:00
Eric Faust
992c8dde5a
Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley, r=bz over IRC)
2014-06-27 04:44:04 -07:00
Carsten "Tomcat" Book
cbe01cdaa8
Backed out changeset 346912776f97 (bug 1027402)
2014-06-27 14:21:22 +02:00
Carsten "Tomcat" Book
76beb8d59f
Backed out changeset 285c853fedfa (bug 1027402)
2014-06-27 14:21:20 +02:00
Eric Faust
62d61ccf3f
Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz)
2014-06-27 04:44:06 -07:00
Eric Faust
6091687271
Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley)
2014-06-27 04:44:04 -07:00
"Kan-Ru Chen (陳侃如)"
9ed870c153
Bug 879475 - Part 005. Implement ContentBridge r=jlebar
...
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:13 +08:00
Bill McCloskey
f634ff5c34
Bug 957742 - Add missing include
2014-05-28 18:28:24 -07:00
Bill McCloskey
e14c2c6ce8
Bug 957742 - Fix compile error
2014-05-28 18:25:06 -07:00
Bill McCloskey
97221e50db
Bug 1014993 - Add special toString method to CPOWs (r=mrbkap)
2014-05-28 18:05:23 -07:00
Tom Schuster
8f9489bd37
Bug 957742 - Logging for CPOWs (r=mrbkap)
2014-05-28 18:05:22 -07:00
Bill McCloskey
b41a921d12
Bug 996785 - Fix CPOW wrapping and compartment ownership (r=mrbkap)
2014-05-16 16:40:37 -07:00
Bill McCloskey
b4170c4e66
Bug 996785 - Bidirectional CPOWs (r=mrbkap)
2014-05-16 16:40:37 -07:00
Bill McCloskey
c9f2d3779d
Bug 996785 - Distinguish local and remote CPOW objects in IPDL (r=mrbkap)
2014-05-16 16:40:36 -07:00
Bill McCloskey
719253d75f
Bug 996785 - Use more descriptive IPDL types for CPOW value variants (r=mrbkap)
2014-05-16 16:40:36 -07:00
Bill McCloskey
88f199c672
Bug 996785 - Move CPOW wrapper answering code (r=mrbkap)
2014-05-16 16:40:36 -07:00
Bill McCloskey
4ea552c328
Bug 996785 - Move CPOW wrapper owner code (r=mrbkap)
2014-05-16 16:40:36 -07:00
Bill McCloskey
60d6a2696c
Bug 996785 - Use separate maps for local and remote CPOW objects (r=mrbkap)
2014-05-16 16:40:36 -07:00
Bill McCloskey
42b76f44bb
Bug 996785 - Rename CPOW makeId/unwrap (r=mrbkap)
2014-05-16 16:40:35 -07:00
Bill McCloskey
29e7a9ce1d
Bug 996785 - Rename CPOW toValue (r=mrbkap)
2014-05-16 16:40:35 -07:00
Bill McCloskey
2c11e044b8
Bug 996785 - Rename CPOW findObject (r=mrbkap)
2014-05-16 16:40:35 -07:00
Bill McCloskey
24e43dd8ca
Bug 996785 - Rename CPOW object map (r=mrbkap)
2014-05-16 16:40:35 -07:00
Bill McCloskey
9ec71fd998
Bug 996785 - Move global CPOW functions to top level (r=mrbkap)
2014-05-16 16:40:35 -07:00
Jon Coppeard
1216544376
Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley
2014-04-30 10:10:33 +01:00
Rodrigo Rodriguez Jr.
9a92d22f5a
Bug 952650 (part 9) - Remove JSVAL_IS_INT. r=njn.
...
--HG--
extra : rebase_source : dc0c170914c2370c218cdbbe671d2a68628f5a87
2014-04-27 19:47:02 -07:00
Michael Shuen
e76fd87034
Bug 972385 - Make JS::AutoValueVector subscript operator return handles. r=jonco, smaug
2014-04-28 16:53:00 +02:00
Jason Orendorff
6e21c723d2
Bug 547140, part 2 - Remove flags argument from JS_GetPropertyDescriptor and friends. r=Waldo.
2014-04-25 16:11:01 -05:00
Eric Faust
00fc6e1f7e
Bug 978235 - Add missing JSAutoCompartment to JavaScriptChild.cpp. (r=terrence over IRC)
2014-04-15 13:08:41 -07:00
Eric Faust
0aecd9e3d2
Backed out changeset f1660c847ca2 (bug 978235) for landing with random debug code.
2014-04-15 12:56:51 -07:00
Eric Faust
c1c81e010e
Bug 978235 - ES6 Proxies: Implement [[IsExtensible]] trap. (r=jorendorff, terrence over IRC)
2014-04-14 15:52:26 -07:00
Bill McCloskey
7b13759de7
Bug 986317 - Stop exposing urgent semantics in IPDL files (r=bent)
2014-04-03 13:29:11 -07:00
Jon Coppeard
92f0d66be8
Bug 959787 - Handlify remaining JS APIs r=sfink r=bholley r=smaug
2014-04-02 15:28:03 +01:00
Luke Wagner
b1325de739
Bug 797126 - Remove tinyid/shortid/userid (r=terrence)
...
--HG--
extra : rebase_source : d3cee5e71ca02708e91419b209b5914ce9fd2f9f
2014-02-21 10:24:26 -06:00
Chris Peterson
d2c6598a97
Bug 712873 - Part 2: Replace JS_ASSERT with MOZ_ASSERT outside js/src/ directory. r=luke
2014-02-17 22:24:15 -08:00
Daniel Holbert
c516662c22
back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage.
2014-02-19 00:15:51 -08:00
Chris Peterson
58e6c13345
Bug 712873 - Part 2: Replace JS_ASSERT with MOZ_ASSERT outside js/src/ directory. r=luke
2014-02-17 22:24:15 -08:00
Jon Coppeard
735137fc57
Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz
2014-02-13 15:33:04 +00:00
Jon Coppeard
c3759c40ff
Bug 965830 - Convert use of JS_CallFunction and related APIs uses to HandleValueArray r=terrence r=smaug
2014-02-11 10:59:16 +00:00
Bill McCloskey
55fab4d8d9
Bug 962604 - Add ActorDestroy handling to CPOWs (r=mrbkap)
2014-02-05 08:39:59 -08:00
Eric Faust
fc6584c144
Bug 924720 - Part 5: Allow callers of NewProxyObject() to specify a Proxy JSClass. (r=jwalden)
2014-01-29 17:20:16 -08:00
Jon Coppeard
74da1a60c3
Bug 959787 - Handlify JS_Set* APIs r=terrence r=bz
2014-01-25 09:29:12 +00:00
Jon Coppeard
37488975e6
Bug 961095 - Improve generic callbacks with better typing, and by only adding storebuffer entries when the key is in the nursery r=terrence
2014-01-21 10:44:39 +00:00
Terrence Cole
d902eeddc8
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 4; r=sfink,r=bz
...
--HG--
extra : rebase_source : 8e1ff566f47795cd82e3f4c0a6fa37b88e7847b4
2014-01-17 10:08:51 -08:00
Josh Aas
31f560c053
Bug 960648: Consistently mark IPDL methods as MOZ_OVERRIDE. Part 2. r=bent
2014-01-17 13:49:39 -06:00
Terrence Cole
6beccf2363
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
...
--HG--
extra : rebase_source : ace7b0fa6ba93acbf0ec8ecaeb68ffa287a33665
2014-01-16 09:48:58 -08:00
Ms2ger
561cae4a0e
Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal
2013-12-31 10:06:11 +01:00
Jeff Walden
a51194c4dc
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
Ehsan Akhgari
dd58d0a554
Bug 944379 - Build js/ipc in unified mode; r=glandium
2013-11-28 08:47:03 -05:00
Mike Hommey
8fd06cf41b
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
b32a4ed166
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
...
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
682364d535
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Mike Hommey
2812d11fce
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
e06d795c71
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
e80e877ab7
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Jon Coppeard
4ec61f2db9
Bug 934442 - Defer finalization of object ID table until after minor GC r=terrence
2013-11-18 17:21:43 +00:00
Tom Schuster
4478f5b384
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Ms2ger
cca4d45da6
Backout changesets ded0d64f6786:03f041d03f24 and 30cbd1abde1a (bug 935696, bug 933834 and bug 939194) for build bustage.
2013-11-17 16:39:25 +01:00
Tom Schuster
bc757ef965
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Nathan Froyd
ebcc1e1abf
Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan
2013-10-01 15:25:07 -04:00
Eddy Bruel
d94d3cb9a5
Bug 880330 - Remove the old options API; r=bholley
2013-10-28 12:59:04 +01:00
Mike Hommey
b000a846c2
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Brian O'Keefe
9c9d71fddb
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
Tom Schuster
1faae39271
Bug 8844105 - Handlify JS_WrapObject. r=terrence
2013-10-15 20:02:23 -04:00
Steve Fink
78c2facbb2
Bug 925534 - Convert toVariant to use handles, r=terrence
...
--HG--
extra : rebase_source : b7b2a6d8b0240b888ba388133376ddcb4d6d04ce
2013-10-11 22:02:24 -07:00
Bobby Holley
3fc5ba84fa
Bug 921454 - Refactor proxy creation to use an options object. r=jonco
2013-10-04 13:29:35 +02:00
Ms2ger
f4153f40d4
Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps
2013-10-03 09:11:13 +02:00
David Anderson
437f6053a9
Rename IPDL's RPC to Interrupt (bug 910020, r=bent).
...
--HG--
rename : ipc/ipdl/test/cxx/PTestRPCErrorCleanup.ipdl => ipc/ipdl/test/cxx/PTestInterruptErrorCleanup.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCRaces.ipdl => ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCShutdownRace.ipdl => ipc/ipdl/test/cxx/PTestInterruptShutdownRace.ipdl
rename : ipc/ipdl/test/cxx/PTestRacyRPCReplies.ipdl => ipc/ipdl/test/cxx/PTestRacyInterruptReplies.ipdl
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.cpp => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.cpp
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.h => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.h
rename : ipc/ipdl/test/cxx/TestRPCRaces.cpp => ipc/ipdl/test/cxx/TestInterruptRaces.cpp
rename : ipc/ipdl/test/cxx/TestRPCRaces.h => ipc/ipdl/test/cxx/TestInterruptRaces.h
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.cpp => ipc/ipdl/test/cxx/TestInterruptShutdownRace.cpp
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.h => ipc/ipdl/test/cxx/TestInterruptShutdownRace.h
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.cpp => ipc/ipdl/test/cxx/TestRacyInterruptReplies.cpp
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.h => ipc/ipdl/test/cxx/TestRacyInterruptReplies.h
rename : ipc/ipdl/test/ipdl/error/rpcMessageCompress.ipdl => ipc/ipdl/test/ipdl/error/intrMessageCompress.ipdl
rename : ipc/ipdl/test/ipdl/error/tooWeakRPCAsync.ipdl => ipc/ipdl/test/ipdl/error/tooWeakInterruptAsync.ipdl
rename : ipc/ipdl/test/ipdl/ok/rpcProtocol.ipdl => ipc/ipdl/test/ipdl/ok/intrProtocol.ipdl
2013-09-30 17:27:45 -07:00
Ryan VanderMeulen
af288628a8
Merge m-c to inbound.
2013-09-30 16:51:06 -04:00
Bill McCloskey
87e214ec6b
Bug 918170 - Handle StopIteration in CPOWs (r=dvander)
2013-09-30 12:20:51 -07:00
Jon Coppeard
a9d324a316
Bug 912567 - Split HashMap/HashSet::rekey() into rekey() and rekeyIfMoved() r=terrence
2013-09-24 10:03:32 +01:00
Birunthan Mohanathas
578826a89e
Bug 784739 - Switch from NULL to nullptr in js/ductwork/, js/ipc/, and js/public/; r=ehsan
2013-09-19 15:24:53 -04:00
Jon Coppeard
692778cddf
Bug 917798 - Handlify JS exception APIs r=terrence r=bz
2013-09-19 08:54:01 +01:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
32bdb371af
Bug 771765 - Support template content process, part 4: Clone IPC protocol objects that will be up when the template process is ready. r=khuey, r=bent
2013-06-03 18:14:37 +08:00
Mike Hommey
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Nicholas Nethercote
cbd87e0b81
Bug 911043 (part 1) - Move the "inject JS:: names into js::" block into its own file, to reduce dependencies on jsapi.h. r=luke.
...
--HG--
extra : rebase_source : 2250064bdd316ffeb8126da749bdf94ab9da4418
2013-09-01 21:51:02 -07:00
Brian O'Keefe
d118b95a0d
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
David Anderson
16668a7bf4
Don't deadlock on a child process for a CPOW (bug 905896, r=cjones).
2013-08-26 21:56:57 -07:00
Nicholas Nethercote
0df65930a1
Bug 909178 (part 2) - Make jsclass.h not depend on jsapi.h, and rename it js/Class.h. r=jwalden.
...
--HG--
rename : js/src/jsclass.h => js/public/Class.h
extra : rebase_source : 31ecd4074181c234f7f71eef04a10ae371c35eaa
2013-08-21 22:26:57 -07:00
Terrence Cole
056c5e7a05
Bug 908891 - Fix remaining exact rooting hazards in js/ipc; r=evilpie
...
--HG--
extra : rebase_source : d48dfa50ed83c8c3d3c344467c6bd0b702a3263a
2013-08-23 15:53:46 -07:00
Nicholas Nethercote
789875a768
Bug 905017 (part 3, attempt 2) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
...
--HG--
extra : rebase_source : 8226a31c4f2a286ba843da616b1061ca034a5d41
2013-08-19 23:45:26 -07:00
Ms2ger
f805d8d6eb
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ms2ger
8040c0cadd
Backout changesets 7e6fb33fdf22:c85332df4320 (bug 905017) for windows bustage.
2013-08-22 10:16:30 +02:00
Ms2ger
1c4d224f0e
Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg
2013-08-22 08:56:00 +02:00
Ms2ger
4807f1c86c
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Nicholas Nethercote
5c94c32440
Bug 905017 (part 3) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
...
--HG--
extra : rebase_source : 8322f1c96b95685912375484172d47f53107947f
2013-08-19 23:45:26 -07:00
Nicholas Nethercote
2585de9a07
Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
...
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Brian O'Keefe
61565e4086
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Ms2ger
37108ba241
Bug 903046 - Remove dead EXPORTS_mozilla/jsipc assignment; r=dvander+mshal
2013-08-14 08:56:48 +02:00
Jon Coppeard
e133b9b2a9
Bug 903352 - Handlify remaining PropertyDescriptor APIs r=terrence r=bholley r=smaug
2013-08-12 12:09:14 +01:00
Nicholas Nethercote
50ebc50e02
Bug 898263 (part 7) - Remove jsprvtd.h from EXPORTS. r=jorendorff.
...
--HG--
extra : rebase_source : eca8164f8652587796a8283932d8ba8ec76c0b5b
2013-07-25 22:52:59 -07:00
Terrence Cole
09de524f1a
Bug 862115 - Use Rooted<JSPropertyDescriptor> in favor of JSPropertyDescriptor::AutoRooter r=terrence r=smaug r=bholley
2013-04-30 10:29:40 -07:00
Nicholas Nethercote
d8f824e34e
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
8ce53f9ffd
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
Terrence Cole
9b5d03d305
Bug 902249 - Fix some exact rooting hazards in js/ipc; r=jonco
2013-08-07 16:15:57 -07:00
Jon Coppeard
7e34a56fc6
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
Bill McCloskey
35518f5639
Bug 899804 - Make CPOWs handle instanceof with WebIDL interfaces (r=bz,dvander)
2013-08-01 16:45:17 -07:00
Jon Coppeard
a9d33996dd
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
Jon Coppeard
95ba75cb0a
Bug 899970 - Post barrier heap pointers in js/ipc r=terrence
2013-08-01 11:21:44 +01:00
Luke Wagner
c5bf7721d1
Bug 899245 - The preceding typo fix was wrong; the original patch should have replaced JS_GetGlobalForScopeChain with JS::CurrentGlobalOrNull (r=red, CLOSED TREE)
2013-07-29 19:51:16 -05:00
Luke Wagner
19f7233988
Fix JS/js typo from bug 899245 (r=red)
2013-07-29 19:36:20 -05:00
Bobby Holley
98a0425f0f
Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
...
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Bill McCloskey
b51afaa42f
Bug 899238 - Make sure CPOW parent is never null (r=dvander).
2013-07-25 11:50:00 -07:00
Jon Coppeard
20fb51afdd
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
ce93df92db
Backed out changeset ae8d72538dee (bug 897484) for b2g bustage
2013-07-26 12:34:25 +02:00
Jon Coppeard
9709d43d76
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
ebf3afbab4
Bug 896949 - JS_SetProperty APIs should take an immutable parameter r=waldo r=bz
2013-07-26 10:00:38 +01:00
Jon Coppeard
e6cd070d3d
Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - browser changes r=bz
2013-07-25 13:57:00 +01:00
Ms2ger
87d5bcc7e7
Bug 896280 - Pass MutableHandleValue to JS::Call(); r=terrence
2013-07-24 09:40:01 +02:00
Tom Schuster
b2926f6e1a
Bug 893858 - More testing for CPOWs and fix some small bugs. r=dvander
2013-07-17 09:27:49 -04:00
Ryan VanderMeulen
cc6b678858
Backed out 4 changesets (bug 893858, bug 868859, bug 886903) for Linux debug mochitest-other crashes on a CLOSED TREE.
...
Backed out changeset 0ded4854067b (bug 886903)
Backed out changeset ca8afb897e13 (bug 893858)
Backed out changeset c15f503a96cc (bug 868859)
Backed out changeset 6a788f399a7f (bug 868859)
2013-07-17 12:43:59 -04:00
Tom Schuster
c6c8f740f8
Bug 893858 - More testing for CPOWs and two small bug fixes. r=dvander
2013-07-17 09:27:49 -04:00
Brian O'Keefe
f4815f2203
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
David Anderson
9358336f75
Implement CPOW support in MessageManager (bug 870180, r=smaug,billm).
2013-07-10 15:05:39 -07:00
Trevor Saunders
f33ade0d68
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Tom Schuster
da27e50396
Bug 890729 - Reorder the CPOW traps. r=dvander
2013-07-11 11:23:34 -04:00
Tom Schuster
ea3f2fa14f
Bug 890729 - Implement the missing CPOW traps. r=dvander
2013-07-09 22:45:08 -04:00
Mike Shal
d5df6bb361
Bug 868536 - Move ipdl.mk files to moz.build; r=gps
...
Author: Mike Shal <mshal@mozilla.com>
2013-07-01 09:56:28 -04:00
David Anderson
71e7bc4fc9
Rewrite CPOWs to use one actor per process (bug 853209, r=billm,bholley,smaug).
2013-07-03 00:24:32 -07:00
David Anderson
2d21f2b922
Remove unused run-to-completion feature in IPDL (bug 876989, r=cjones).
2013-07-02 11:22:18 -07:00
Jon Coppeard
37b7b92c4c
Bug 885310 - 2 Rename JSHandleFoo in js directory r=bholley
2013-06-21 14:12:46 +01:00
Emanuel Hoogeveen
e0a70e1fe3
Bug 883697 (part 1) - Make include guards consistent in js/ductwork/, js/ipc/ and js/public/. r=njn.
...
--HG--
extra : rebase_source : 34f5559ba6e64831905686e12356b70109d873a8
2013-06-19 17:59:09 -07:00
Jon Coppeard
d61000e77b
Bug 884371 - Remove JSMutableHandleXXX from the js directory r=bholley
2013-06-19 11:32:27 +01:00
Mike Shal
5169c0a913
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Bobby Holley
79c446dac7
Bug 868110 - Remove JS_GetGlobalObject. r=luke
...
\o/
2013-05-22 15:42:45 -06:00
Bobby Holley
f2943090bd
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
cdde50556c
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
Bobby Holley
cfe8b9c5d2
Bug 868130 - Make sure to push the context in the ObjectWrapperChild constructor. r=gabor
2013-05-22 10:05:24 -06:00
Gregory Szorc
1b12175ba0
Bug 873629 - Remove 129 empty Makefile.in files; r=ted
2013-05-17 16:20:11 -07:00
Steve Fink
c5ae9e67ea
Bug 871995 - Fix rooting compilation failure in ObjectWrapperParent.cpp. r=till
...
--HG--
extra : rebase_source : 1477ca11f53e4b91ae694d0511e11b4e50dbd173
2013-05-14 16:46:48 -07:00
Joey Armstrong
26736a0ee2
bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal
2013-05-13 16:24:07 -04:00
Ed Morley
5256152aa1
Backed out changeset 496846474ed3 (bug 864774)
2013-05-13 10:05:49 +01:00
Mike Shal
954221d9c9
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
...
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Ehsan Akhgari
2170175fdf
Bug 871259 - Fix rooting hazards in ContextWrapperChild.h; r=till
2013-05-12 15:45:52 -04:00
Ehsan Akhgari
06f8329bb6
Bug 871182 - Fix rooting hazards in ObjectWrapperParent.cpp; r=till
...
--HG--
extra : rebase_source : 374a30e6001d8a1935f7cf57e8bf8a7cf2e03b05
2013-05-12 01:10:43 -04:00
Ehsan Akhgari
2a5c9315fd
Bug 871181 - Fix rooting hazards in ObjectWrapperChild.cpp; r=till
...
--HG--
extra : rebase_source : 6666339f5970fe0a65b46868e1155c1af74f27d2
2013-05-12 01:09:51 -04:00
Ms2ger
4a6390f03d
Bug 868411 - Handlify js::GetObjectProto; r=bz
2013-05-05 09:03:14 +02:00
Steve Fink
4e204cb130
Bug 867341 - Remove AutoObjectRooter, replace with RootedObject where needed. r=terrence
...
--HG--
extra : rebase_source : 009cf235e9c05d6379ee5267856b3f7832ceab0e
2013-05-02 13:55:54 -07:00
Terrence Cole
6acd98dd37
Bug 860050 - Remove JSMutableHandleObject typedef; r=bz,jonco
2013-04-16 16:20:44 -07:00
Joey Armstrong
321d063783
bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS
2013-04-29 14:49:00 -04:00
Sean Stangl
dc8230838c
Bug 860029 - Standardize Modelines in the JS Module. r=njn
2013-04-16 13:47:10 -07:00
Mike Shal
df7deac25b
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Jeff Walden
763718651b
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
Phil Ringnalda
23acd61026
Back out a5a1dd3bd8ae (bug 860029) for stupidorange
2013-04-15 12:55:38 -07:00
Sean Stangl
d3d0513618
Bug 860029 - Standardize Modelines in the JS Module. r=njn
2013-04-15 11:33:03 -07:00
Joshua Cranmer
1eb62b3971
Bug 856108 - Port static analyses to clang, part 2a: use MOZ_STACK_CLASS in content. r=bz
2013-04-11 22:20:09 -05:00
Phil Ringnalda
fe48637b66
Back out 5bf9771e1a28 (bug 860029) for bustage
...
CLOSED TREE
2013-04-11 19:55:37 -07:00
Sean Stangl
900638a687
Bug 860029 - Standardize Modelines in the JS Module. DONTBUILD. r=njn
2013-04-11 18:48:59 -07:00
Kyle Machulis
72a717a860
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal
7ecea60097
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Jon Coppeard
a0a3f88913
Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
...
--HG--
extra : rebase_source : 35cbf3cc4da4598c2e9e6975028ef397718849db
2013-03-06 16:41:43 +00:00
Ed Morley
3a53c22824
Backed out changeset 28ef4bdff455 (bug 848395)
2013-03-07 13:03:35 +00:00
Jon Coppeard
6a98a4532a
Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
...
--HG--
extra : rebase_source : 866879df05e3ec3f8e93570eb3f6b71103636b41
2013-03-06 16:41:43 +00:00
Gregory Szorc
0c8ee65118
Merge mozilla-central into build-system
...
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
aea301eee3
Merge m-c to b-s.
2013-02-26 19:09:25 +01:00
Gregory Szorc
45faa95b04
Merge mozilla-central into build-system
...
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
c832d55dac
Bug 784841 - Part 18s: Convert /js; r=glandium
2013-02-25 12:47:22 -08:00
Daniel Holbert
9fbb71c834
Bug 845021: Add size_t cast in assertion, to silence build warning, in ObjectWrapperChild::AnswerNewEnumerateNext. r=Waldo
2013-02-25 13:46:56 -08:00
Bobby Holley
d2ef489c30
Bug 834732 - Remove PushBehavior. r=mrbkap
...
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-26 11:04:11 -08:00
Bobby Holley
03f7f4b219
Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
...
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-26 11:04:09 -08:00
Daniel Holbert
ba4c24c2cb
Bug 845117 - Mark js/ipc as FAIL_ON_WARNINGS. r=smaug
2013-02-25 20:45:41 -05:00
Tom Schuster
d258d07269
Bug 838558 - Kill object equality hook. r=jorendorff
2013-02-11 21:06:05 +01:00
Nicholas Nethercote
d9f49c3dc8
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
15ecedac46
Back out 66882ea6f8c7 (bug 788293) and 32f09cb3c7b6 (bug 834090) for bustage
...
CLOSED TREE
2013-01-31 22:29:30 -08:00
Nicholas Nethercote
e4944dd40a
Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
...
Ding dong! The witch is dead!
--HG--
extra : rebase_source : 7574f5620e303c25120fcfc8ceb2099ad75c8f1b
2013-01-24 21:24:57 -08:00
Jeff Walden
925f707af7
Bug 752578 - Use mfbt's guard object implementation in js/ipc. r=Ms2ger
...
--HG--
extra : rebase_source : 503ea2a8098440b99b27ba0b30e5ec0ca14d2db9
2012-12-27 11:20:22 -06:00
Matt Joras
0c3a8afe00
Bug 798033 - Removes 'using namespace' from js headers - r=billm
2012-11-10 10:46:01 -05:00
Terrence Cole
3eda1202a1
Bug 791322 - Move Rooted to js:: namespace; r=billm
...
These should not be part of the public API.
--HG--
extra : rebase_source : 00a69ee54f06e3f557cd9ec2f3b059df10aa32df
2012-09-24 18:08:22 -07:00
Bill McCloskey
c53e57f4b2
Bug 787856 - Convert JS_GetPrototype to support lazy protos (r=bhackett)
2012-09-03 16:42:17 -07:00
Bill McCloskey
1f195f679b
Bug 787856 - Convert js::GetObjectProto to support lazy protos (r=bhackett)
2012-09-03 16:42:10 -07:00
Ms2ger
711f1fd480
Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones
2012-09-17 10:37:20 +02:00
Terrence Cole
aed2094b1c
Bug 787580 - Root all jsval at the API surface; r=sfink sr=dmandelin
...
--HG--
rename : layout/reftests/text-decoration/underline-select-2-ref.html => layout/reftests/text-decoration/underline-button-1-ref.html
rename : layout/reftests/text-decoration/underline-select-2.html => layout/reftests/text-decoration/underline-button-1.html
extra : rebase_source : 008f2bab76a005947a4c0bd10b6d9ea8531ea6d0
2012-09-04 16:40:12 -07:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Eric Faust
b0323e13a7
Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke)
2012-08-01 17:59:47 -07:00
Ehsan Akhgari
3ad40dbf10
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00