Commit Graph

74 Commits

Author SHA1 Message Date
Nicholas Nethercote
0b29eb277a Bug 952650 (part 13) - Remove JSVAL_IS_PRIMITIVE. r=till.
--HG--
extra : rebase_source : 450ba0261ef5a8546c81f9f645605e312585d6c6
2014-04-27 20:27:54 -07:00
Nicholas Nethercote
c79e0f8f0d Bug 952650 (part 12) - Remove JSVAL_TO_OBJECT. r=till.
--HG--
extra : rebase_source : 60dcaa2b778d3cf6eb7dc1a4949aab010ed8c130
2014-04-27 19:58:52 -07:00
Terrence Cole
c97877c686 Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Jon Coppeard
48ecc0a1b8 Bug 959787 - Handlify some more GCing APIs r=sfink 2014-03-20 09:32:37 +00:00
Jon Coppeard
50cb1ea9e3 Bug 969798 - Convert JS_ConvertArguments APIs to take CallArgs rather than raw Value pointer r=terrence 2014-02-10 16:42:27 +00:00
Jon Coppeard
d77eb96fa7 Bug 959787 - Handlify some JS friend APIs r=sfink 2014-01-29 10:01:33 +00:00
Jon Coppeard
e5c29b7f9d Bug 959787 - Handlify some misc JS APIs r=sfink r=smaug 2014-01-29 10:00:40 +00:00
Dan Gohman
7f8cfc2fc4 Bug 924642 - SpiderMonkey: Apply internal name linkage using static keywords. r=njn 2013-10-10 05:18:01 -07:00
Jeff Walden
4ce9edc894 Bug 921631 - Restrict the JS_PSG/JS_PSGS flags to not contain JSPROP_READONLY (meaningless for accessors) or JSPROP_SHARED or JSPROP_NATIVE_ACCESSORS (implied by the macros already). r=jorendorff
--HG--
extra : rebase_source : ef4134cfbb1898c2398354f361a30cce5ffba89e
2013-09-27 14:43:38 -07:00
Birunthan Mohanathas
485fc048de Bug 784739 - Switch from NULL to nullptr in js/src/{devtools,ds,gdb,perf}/; r=ehsan 2013-09-24 22:59:43 -04:00
Dan Gohman
8b7074b6dc Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
Jason Orendorff
51630899fb Bug 895223, part 1 - Change perf/jsperf.cpp to use JSNative getters rather than PropertyOps. r=jandem. 2013-09-06 21:41:30 -05:00
Nicholas Nethercote
9b11a66f4b Bug 911043 (part 2) - Remove unnecessary jsapi.h includes in SpiderMonkey. r=luke.
--HG--
extra : rebase_source : 2320e364bb9efb59283a572e100185702ef494da
2013-09-01 22:03:30 -07:00
Nicholas Nethercote
a1efea7412 Bug 902917 - Remove some unnecessary #includes in SpiderMonkey. r=till.
--HG--
extra : rebase_source : 2a767e04768a94eb943370bbe7945a8dc409bf1d
2013-08-08 16:07:22 -07: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
Emanuel Hoogeveen
ed9985b034 Bug 888088 (part 7) - Fix #include ordering in the rest of js/src/*.{cpp,h}. r=nnethercote.
--HG--
extra : rebase_source : 253fa50c332274315386b4c166bcb60acb9389ad
2013-07-23 17:34:50 -07:00
Nicholas Nethercote
faef963035 Bug 888768 (part 3) - Remove unnecessary *-inl.h #includes, as found by include-what-you-use. r=till.
--HG--
extra : rebase_source : 74b89e7ed7d9279061d88b29fff8e9c50c3a0050
2013-07-11 18:31:01 -07:00
Nicholas Nethercote
66f90c8922 Bug 883696 (part 4) - Include full paths in #include statements in the rest of js/src/ and js/public/. r=luke. 2013-06-27 17:37:29 -07:00
Jon Coppeard
08da62fdfd Bug 885310 - 3 Rename JSHandleFoo in js/src r=evilpie 2013-06-21 14:12:46 +01:00
Emanuel Hoogeveen
ad25e2d2de Bug 883697 (part 2) - Make include guards consistent in some of js/src/. r=njn.
--HG--
extra : rebase_source : 86e3e36e1711191a6e8a01bc44f01cffc6b48b96
2013-06-19 17:59:46 -07:00
Nicholas Nethercote
1e829260c6 Bug 880565 (part 1) - Move isFunction() et al from jsobjinlines.h to jsobj.h and minimize the number of files that #include jsobjinlines.h. r=benjamin.
--HG--
extra : rebase_source : f0d6b1b5825e115b33f2d14c0a6ed9c7ee4ef1ca
2013-06-05 19:07:43 -07:00
Terrence Cole
7343617880 Bug 860050 - Remove JSRawObject typedef; r=jonco
--HG--
extra : rebase_source : 507e2dfe13d6a02317502cd7a4b2004c198d1bdf
2013-04-15 18:16:13 -07:00
Nicholas Nethercote
a28003635b Bug 634839 (part 1) - Remove unnecessary headers (as found by include-what-you-use) from js/src/jsfoo.cpp files. r=luke. 2013-04-23 23:44:36 -07:00
Xin Zhang
5d0104d77b Bug 857385 - Make various JSFunctionSpec arrays const. r=waldo
--HG--
extra : rebase_source : 24141998ffad3b0e6bad98b6fc0ce3754e448d5b
2013-04-22 14:15:49 -07:00
Xin Zhang
25f43429b6 Bug 857385 - Make various JSPropertySpec arrays const. r=waldo
--HG--
extra : rebase_source : 4ad63f7ddf8c441219bb7f30e19d66abf1747fe2
2013-04-22 14:15:36 -07:00
Sean Stangl
3733f89aca Bug 860029 - Standardize Modelines in the JS Module. r=njn 2013-04-16 13:47:10 -07:00
Jeff Walden
52e74ff32e Bug 858677 - Make the internal deletion operations not take a strictness argument and a Value*, but rather take a JSBool* -- and let callers handle the property-couldn't-be-deleted (but no error occurred) case. r=jorendorff 2013-04-05 21:19:10 -07:00
Phil Ringnalda
2607292fa5 Back out a5a1dd3bd8ae (bug 860029) for stupidorange 2013-04-15 12:55:38 -07:00
Sean Stangl
ab9b6329c4 Bug 860029 - Standardize Modelines in the JS Module. r=njn 2013-04-15 11:33:03 -07:00
Phil Ringnalda
045ce0a190 Back out 5bf9771e1a28 (bug 860029) for bustage
CLOSED TREE
2013-04-11 19:55:37 -07:00
Sean Stangl
fe2fb42954 Bug 860029 - Standardize Modelines in the JS Module. DONTBUILD. r=njn 2013-04-11 18:48:59 -07:00
Jon Coppeard
871d2a0bb5 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted inside SpiderMonkey r=terrence
--HG--
extra : rebase_source : ba8202f4e1f7bd5560a57392f800d255e52b4a54
2013-03-06 16:41:42 +00:00
Ed Morley
a54f5a1736 Backed out changeset e112b04664a6 (bug 848395) 2013-03-07 13:03:39 +00:00
Jon Coppeard
de89443305 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted inside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 35da680c5e5c2417357adbdcee6fa1b2a1108e20
2013-03-06 16:41:42 +00:00
Luke Wagner
50f9a075a0 Bug 807228 - clean up the JSFUN_* flags situation (r=jorendorff)
--HG--
extra : rebase_source : 1bb7ac4a354a9b78e5b5201b4204c4ade3067c49
2012-11-01 21:35:09 -07:00
Nicholas Nethercote
126f5faa53 Bug 791607 - Remove unnecessary |#include <new>| directives. r=dmandelin. 2012-09-20 20:42:43 -07:00
Luke Wagner
002cf7abaa Bug 787246 - rm OffTheBooks/Foreground/UnwantedForeground gunk (r=billm) 2012-08-31 15:01:33 -07:00
Eric Faust
a57b8f95a2 Bug 766448 - Refactor JSPropertySpec and JS_DefineProperties to accept JSJitInfos. (r=Waldo) 2012-08-07 22:26:18 -07:00
Eric Faust
012112cde8 Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
Steve Fink
4e52b260b2 Bug 777219 - Prepare SpiderMonkey for a fully rooted API; r=bhackett
--HG--
extra : rebase_source : a6a66d9e41932055e4529550d204d4098f32e37e
2012-07-23 13:37:31 -07:00
Brian Hackett
ffc948bbbe Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin 2012-07-30 05:19:09 -06:00
Brian Hackett
1573459c2b Rename RootedVar to Rooted, bug 756823. r=billm 2012-05-24 16:05:18 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian Hackett
c07eaa0e3e Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 15:03:45 -07:00
Brian Hackett
9ae1966596 Backed out changeset 5fc7462dd394 for android orange. 2012-05-19 11:52:55 -07:00
Brian Hackett
a863456144 Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 09:48:09 -07:00
Brian Hackett
0079174207 Get rooting analysis to pass jit-tests in the interpreter, bug 745742. r=billm 2012-04-30 17:10:30 -07:00
Igor Bukanov
83623b313c Bug 737365 - stop using the cx during finalization, part 1.
This part changes the signatures for various finalization API to take
not JSContext* but rather either JSFreeOp structure or its
library-private counterpart FreeOp. These structures wrap parameters
that are passed to the finalizers removing most of explicit dependencies
on JSContext in the finalization code.
2012-03-19 15:34:55 +01:00