Commit Graph
163 Commits
Author SHA1 Message Date
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
Jan de Mooij b3f1ff13a2 Bug 1137523 - Unprefix most js_* functions. r=bhackett CLOSED TREE 2015-02-27 16:08:15 +01:00
Brian Hackett f3b8c29553 Bug 1130708 - Remove js::types namespace, r=jandem. 2015-02-08 06:01:13 -07:00
Tom Schuster fdc1c8214b Bug 1111248. r=Waldo 2015-01-24 13:37:46 -05:00
Jason Orendorff b41daa37f2 Bug 1112778, part 5 - Rename JSObject::defineGeneric etc. -> js::DefineProperty, js::DefineOwnProperty -> js::StandardDefineProperty (for the moment--the plan is to unite these soon, both the name and the implementation). r=Waldo. 2014-12-18 06:54:09 -06: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 479a998f1f Bug 1103368, part 3 - Ban stub getter/setter arguments to JSObject::define{Generic,Property,Element} and js::SetPropertyIgnoringNamedGetter. r=bhackett. 2014-11-22 08:10:20 -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
Brian Hackett 6ac79b58e5 Bug 1107496 - Add PlainObject subclass, r=luke. 2014-12-05 18:52:28 -07:00
Ryan VanderMeulen 11d669cc74 Backed out changeset 64ec5c15d182 (bug 1107496) for SM(ggc) orange. 2014-12-05 13:28:40 -05:00
Brian Hackett 2f8a3eaad6 Bug 1107496 - Add PlainObject subclass, r=luke. 2014-12-05 07:27:37 -07:00
Brian Hackett 0f98f3b75c Bug 1073842 - Add NativeObject subclass of JSObject, remove ObjectImpl, r=luke. 2014-10-02 19:32:39 -07:00
Nicolas B. Pierron cb753ff627 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
Jason Orendorff a8d40db657 Bug 645416, part 4 - Rename DefinePropertiesAndBrand -> DefinePropertiesAndFunctions. r=bhackett. 2014-06-23 10:55:52 -05:00
Jason Orendorff 1f7f9f3949 Bug 975589, part 1 - Rename js::DefineConstructorAndPrototype -> GlobalObject::initBuiltinConstructor and refactor it a bit. r=jwalden. 2014-03-10 16:29:40 -05:00
Chris Peterson 02385f9e5e Bug 977445 - Remove unused JSContext parameter from BooleanToStringBuffer() and friends. r=luke 2014-02-23 17:59:18 -08:00
Chris Peterson 8fd820ee68 Bug 964016 - Part 4: Replace JS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE. r=luke 2014-01-24 20:14:56 -08:00
Tom Schuster 9210609dad Bug 934557 - Handlify JS::ToBoolean and remove JS_ValueToBoolean. r=terrence 2013-11-06 16:26:50 +01:00
Dan Gohman f147ac843f Bug 924642 - SpiderMonkey: Apply internal name linkage using static keywords. r=njn 2013-10-10 05:18:01 -07:00
Birunthan Mohanathas 5d97123ef4 Bug 784739 - Switch from NULL to nullptr in js/src/ (2/9); r=ehsan 2013-10-07 12:43:08 -04:00
Dan Gohman 94cd9b8531 Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
Terrence Cole b3904f1033 Bug 906940 - Exactly root the IsAcceptableThis callback; r=jonco,smaug 2013-05-28 11:23:04 -07:00
Till Schneidereit 5769c7997e Bug 903180 - Simple fix. r=jwalden 2013-08-10 23:21:43 +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
Emanuel Hoogeveen 10028e6993 Bug 888088 (part 6) - Fix #include ordering in some of js/src/*.{h,cpp}. r=nnethercote. 2013-07-23 17:34:18 -07:00
Nicholas Nethercote 399495fc48 Bug 888768 (part 3) - Remove unnecessary *-inl.h #includes, as found by include-what-you-use. r=till. 2013-07-11 18:31:01 -07:00
Nicholas Nethercote 1a13de61a4 Bug 887558 (part 1) - Introduce ProxyObject and some sub-classes. r=jorendorff. 2013-06-20 21:27:28 -07:00
Brian Hackett d5a61ab0f3 Bug 885758 - Add ExclusiveContext for use by threads with exclusive access to their compartment, r=billm. 2013-07-10 09:29:52 -06:00
Steve Fink 2450695c99 Bug 890076 - Move isConstructing to CallArgs, r=Waldo 2013-07-03 22:59:43 -07:00
Till Schneidereit fd943939d7 Bug 886094 - Make js::BooleanGetPrimitiveValueSlow assert isProxy instead of the narrower isCrossCompartmentWrapper. rs=Ms2ger 2013-06-23 15:05:26 +02:00
Nicholas Nethercote ca35558981 Bug 880041 (part 21) - Use JSObject::{is,as} for GlobalObject. r=sfink. 2013-06-17 16:23:11 -07:00
Nicholas Nethercote e37c697a29 Bug 880041 (part 19) - Use JSObject::{is,as} for {Boolean,Number,String}Object. r=evilpies. 2013-06-17 03:18:55 -07:00
Till Schneidereit ca61c98be4 Bug 882468 - Simplify BooleanGetPrimitiveValue. r=waldo,evilpie 2013-06-13 00:58:21 +02:00
Nicholas Nethercote b9d4dcdabe Bug 634839 (part 2b) - Remove more unnecessary headers (as found by include-what-you-use) from SpiderMonkey. r=jorendorff. 2013-06-12 22:20:27 -07:00
Ryan VanderMeulen 5915e03388 Backed out changeset 2f6babcfa00e (bug 882468) for JS crashes. 2013-06-18 19:50:20 -04:00
Till Schneidereit 6cab49bf76 Bug 882468 - Simplify BooleanGetPrimitiveValue. r=jwalden 2013-06-18 23:51:47 +02:00
Nicholas Nethercote 3a394a85e7 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. 2013-06-05 19:07:43 -07:00
Brian Hackett c0af46133d Bug 881333 - Use accessor methods for cx->compartment and cx->runtime, r=luke. 2013-06-10 15:22:18 -06:00
Nicholas Nethercote 5da6cef3c7 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 af100eed90 Bug 857385 - Make various JSFunctionSpec arrays const. r=waldo 2013-04-22 14:15:49 -07:00
Sean Stangl 4c46a9aa7c Bug 860029 - Standardize Modelines in the JS Module. r=njn 2013-04-16 13:47:10 -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
Phil Ringnalda 4f94bac4a1 Back out a5a1dd3bd8ae (bug 860029) for stupidorange 2013-04-15 12:55:38 -07:00
Sean Stangl 9596836ecf Bug 860029 - Standardize Modelines in the JS Module. r=njn 2013-04-15 11:33:03 -07:00
Phil Ringnalda 978110175c Back out 5bf9771e1a28 (bug 860029) for bustage
CLOSED TREE
2013-04-11 19:55:37 -07:00
Sean Stangl 999eb7bab9 Bug 860029 - Standardize Modelines in the JS Module. DONTBUILD. r=njn 2013-04-11 18:48:59 -07:00
Terrence Cole 28db2765dd Bug 706885 - Do not store singletons in the Nursery; r=bhackett 2013-01-28 11:01:54 -08:00