Terrence Cole
3ffd505617
Bug 1164602 - Replace js::NullPtr and JS::NullPtr with nullptr_t; r=sfink
2015-05-13 14:07:34 -07:00
Boris Zbarsky
e3d4ec0970
And fix this to actually compile... Still bug 1160311.
2015-04-30 21:58:07 -04:00
Boris Zbarsky
93b11a87fa
Bug 1160311. JITs should be enabled by default. r=jorendorff
2015-04-30 17:36:50 -04:00
Jan de Mooij
960e7c935d
Bug 1155946 part 1 - Add a mayResolve class hook to optimize objects with resolve hooks better. r=bhackett
2015-04-23 15:51:28 +02:00
Jan de Mooij
c6596c5fa8
Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff
2015-03-28 23:22:11 +01:00
Phil Ringnalda
1a1c158706
Backed out changeset 0c030f97a04f (bug 1144366) for being on top of patches being backed out
...
CLOSED TREE
2015-03-28 10:39:56 -07:00
Jan de Mooij
369ef1b850
Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff
2015-03-28 12:08:37 +01:00
Boris Zbarsky
c30fbd4b93
Bug 1140573 part 1. Drop the parent argument from JS_NewFunction. r=waldo
2015-03-09 12:50:03 -04:00
Jon Coppeard
729ab48fac
Bug 1107639 - Use PersistentRooted rather than Add/RemoveRoot API is JSAPI tests r=terrence
2015-01-23 10:23:57 +00:00
Ehsan Akhgari
47a2f63a7f
Bug 1119259 - Mark virtual overridden functions as MOZ_OVERRIDE in JS; r=Waldo
2015-01-12 16:24:57 -05:00
Jason Orendorff
ddde8586c6
Bug 1103368, part 5 - Make Class::getProperty and setProperty nullable instead of needing stub functions. Never store stub functions in JSPropertyDescriptors. r=bhackett.
2014-11-22 12:23:39 -06:00
Jason Orendorff
6c66fe3b7e
Bug 1103152 - Remove JS_DeletePropertyStub, JS_EnumerateStub, JS_ResolveStub, and JS_ConvertStub. Make five mandatory JSClass hooks optional (nullable). r=bhackett.
2014-12-02 16:56:35 -06:00
Boris Zbarsky
7f6a6d00f9
Bug 1089026 part 5. Eliminate the ability to provide a non-global parent object to JS::CompileFunction and company except via the scopeChain API. r=waldo
2014-10-30 19:40:29 -04:00
Jeff Walden
2a8c0ef5b9
Bug 894653 - Self-host Error.prototype.toString, and fix an edge-case bug in the current implementation. r=till
2013-07-17 12:14:39 -07:00
Steve Fink
c4ab747155
Bug 1022773 - Switch all JS Compile functions to use MutableHandle, r=terrence
2014-06-25 15:35:35 -07:00
Ehsan Akhgari
5292a10a42
Bug 1013663 - Fix some bad implicit conversion constructors in the JS engine; r=jorendorff,jandem
2014-05-25 21:46:24 -04:00
Rodrigo Rodriguez Jr.
76724a5e28
Bug 952650 (part 11) - Remove JSVAL_TO_INT. r=njn.
2014-04-27 19:55:08 -07:00
Rodrigo Rodriguez Jr.
ed3320f992
Bug 952650 (part 8) - Remove JSVAL_TO_STRING. r=njn.
2014-04-27 19:45:46 -07:00
Jon Coppeard
e22060b314
Bug 912581 - Make JS_Add*Root APIs take Heap<T> r=terrence r=bz r=bholley
2014-04-16 09:47:57 +01:00
Eric Faust
20e02fae56
Bug 890686 - Implement JS_GlobalObjectTraceHook, and install it appropriately. (r=billm)
2014-04-04 16:58:08 -07:00
Luke Wagner
8b5d14d078
Bug 980180 - remove principals as an argument to compilation, part 1 (r=terrence)
2014-03-06 16:28:05 -06:00
Jeff Walden
135d591c4f
Bug 972132 - Convert JS::EmptyValueArray to JS::HandleValueArray::empty(). r=terrence
2014-02-12 23:38:36 -08:00
Jon Coppeard
a449f1f033
Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz
2014-02-13 15:33:04 +00:00
Jon Coppeard
aa8fe2dffe
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
Joshua Cranmer
98fb2dcf5d
Bug 884676 - Convert JSPrincipals::refcount to Atomic<int32_t> in JS_THREADSAFE builds, and remove JS_ATOMIC_*. r=Waldo
2013-11-27 09:37:10 -06:00
Jan de Mooij
abc572da25
Bug 941590 - Build jsapi-tests in unified mode. r=ehsan,luke
2013-11-21 16:42:01 +01:00
Eddy Bruel
30cf82f074
Bug 938907 - Get rid of the compile and go flag on ContextOptions; r=bholley
2013-11-19 12:41:42 +01:00
Tom Schuster
faba4d7d1c
Bug 930782 - Handlify JS_WrapValue. r=terrence
2013-10-26 18:19:05 +02:00
Steve Fink
7627b71c29
Bug 927204 - Cannot AddNamedRoot a nullptr, r=terrence
2013-10-15 21:41:36 -07:00
Birunthan Mohanathas
f3de3d8f72
Bug 784739 - Switch from NULL to nullptr in js/src/jsapi-tests/; r=ehsan
2013-10-07 12:44:52 -04:00
Dan Gohman
94cd9b8531
Bug 910823 - Constify static js::Class/JSClass instances. r=waldo
2013-09-11 05:49:05 -07:00
Jan de Mooij
7e72667b50
Bug 906040 - Bring back the higher recursion limit for chrome scripts in the interpreter. r=luke
2013-08-17 10:42:37 +02:00
Nicholas Nethercote
f7d6f07d24
Bug 898914 (part 1) - Remove JSBool.
2013-08-08 15:53:04 -07: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
Bobby Holley
2a9cdf6f89
Bug 897322 - Allow callers to manually fire OnNewGlobalObject when bootstrapping is complete. r=luke
2013-08-01 18:38:47 -07:00
Nicholas Nethercote
899cee4abf
Bug 883696 (part 3) - Include full paths in #include statements in js/src/jsapi-tests/. r=luke.
2013-06-27 14:43:30 -07:00
Jeff Walden
ed09d1e8d8
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
Jon Coppeard
1fe1a3af72
Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted inside SpiderMonkey r=terrence
2013-03-06 16:41:42 +00:00
Ed Morley
def8717703
Backed out changeset e112b04664a6 (bug 848395)
2013-03-07 13:03:39 +00:00
Jon Coppeard
8d114c830b
Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted inside SpiderMonkey r=terrence
2013-03-06 16:41:42 +00:00
Steve Fink
bbfc1acad9
Bug 831961 - fix jsapi-tests rooting hazards from static analysis. r=terrence
...
https://tbpl.mozilla.org/?tree=Try&rev=3938c588e1d1
2013-01-17 11:45:51 -08:00
Jon Coppeard
30d16511ec
Bug 831386 - GC: ChromeBuffer jsapi test fails under rooting analysis r=terrence
2013-01-16 18:42:04 +00:00
Luke Wagner
55107a5229
Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
2012-08-21 18:42:53 -07:00
Steve Fink
56b9c45f6e
Bug 777219 - Prepare SpiderMonkey for a fully rooted API; r=bhackett
2012-07-23 13:37:31 -07:00
Luke Wagner
e569917dad
Bug 755186 - s/JS_NewCompartmentAndGlobalObject/JS_NewGlobalObject/ (r=jorendorff)
2012-06-20 08:57:29 -07:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Igor Bukanov
62a47e535b
bug 736978 - remove JS_FinalizeStub. r=:billm
...
Currently the GC finalizes on the background thread only objects with null
JSClass::finalize. However, this implies that any object that uses
JS_FinalizeStub for the finalizer would be prevented from the background
finalization.
To fix this the patch removes JS_FinalizeStub replacing it with NULL in all
cases when the class has no custom finalizer. For style consistency the patch
also removed the usage of JSCLASS_NO_OPTIONAL_MEMBERS in the static
declarations as the compiler fills the missing fields with null in any cases.
2012-03-19 15:27:58 +01:00
Igor Bukanov
4797d46af3
bug 728250 - remove JSPrincipals::codebase. r=:luke,:bz
...
In just 2 cases where JSPrincipals::codebase is used it can be reconstructed from the values stored in the associated nsJSPrincipal. In addition the patch makes nsJSprincipals to inherit both from nsIPrincipal and JSPrincipals allowing to use static_cast to convert between nsIPrincipal and JSPrincipals pointers and to drop many cases of manual JSPrincipal reference counting.
2012-03-09 10:48:50 +01:00
David Mandelin
f0690b22d1
Bug 730511: remove obsolete typedefs intN, uintN, r=luke
2012-02-28 15:11:11 -08:00
Bobby Holley
1cece415d2
Bug 715417 - Eliminate getPrincipalArray and globalPrivilegesEnabled from JSPrincipals. r=mrbkap
2012-01-06 17:29:02 -08:00