Victor Carlquist
4ee77d5451
Bug 1112537 - Showing overflow message instead of OOM message; r=nbp
2015-01-20 18:54:48 +01:00
Jason Orendorff
1f0a68cd53
Bug 1112778, part 8 - Rename JSObject::deleteGeneric -> js::DeleteProperty. r=Waldo.
2014-12-18 08:47:06 -06:00
Jason Orendorff
3e0e414743
Bug 1112778, part 7 - Rename JSObject::{get,set}Generic etc. -> js::{Get,Set}Property and add a few comments. r=Waldo.
2014-12-18 08:35:42 -06:00
Jason Orendorff
776fbd3af1
Bug 1112778, part 6 - Rename JSObject::lookupGeneric, etc. -> js::LookupProperty and JSObject::hasProperty -> js::HasProperty. r=Waldo.
2014-12-18 07:32:36 -06: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
9f1eea4067
Bug 1112778, part 3 - Rename JSObject::preventExtensions -> js::PreventExtensions and a few others, and move them to jsobj.cpp. Uninline several functions that have no business being inlined. r=Waldo.
2014-12-18 05:26:42 -06:00
Lars T Hansen
c41dae932e
Bug 1120207 - Remove ForkJoin and ThreadPool from the sources. r=shu
2015-01-14 09:22:00 +01:00
Shu-yu Guo
4a2cb860fc
Bug 1118107 - Convert ThreadSafeContext -> ExclusiveContext and remove PJS paths in object ops. (r=lth)
2015-01-09 00:06:03 -08:00
Shu-yu Guo
9948a29069
Bug 1118084 - Remove self-hosted and user-exposed PJS methods. (r=lth)
2015-01-09 00:06:03 -08:00
Jeff Walden
cd488137b2
Bug 1112769 - Move the contents of js/src/vm/NumericConversions.h into a new js/public/Conversions.h header containing public API. r=jorendorff
2014-12-17 13:50:14 -08: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
Till Schneidereit
578e1a1faa
Bug 1069063 - Part 2: Make Array.prototype.includes Nightly-only. r=lth
2014-11-21 16:41:51 +01:00
ziyunfei
f9b379ef2a
Bug 1069063 - Implement Array.prototype.includes. r=till
2014-11-20 20:34:00 +01:00
Jan de Mooij
fecd63f441
Bug 1100513 - Inline Array(x) in IonMonkey. r=bhackett
2014-11-19 13:14:23 +01:00
Jan de Mooij
2b08bacba8
Bug 1094255 - Optimize GetElements on NodeLists to make fun.apply(x, nodeList) faster. r=bz,evilpie
2014-11-11 11:56:44 +01:00
Jim Blandy
fc44f45d51
Bug 1091882: Simplify some uses of mozilla::PointerRangeSize, and clarify comment. r=waldo
2014-11-03 15:55:59 -08:00
Jason Orendorff
bcc9db0b2c
Bug 918828, part 1 - Change iteration code to call iterable[Symbol.iterator]() rather than iterable["@@iterator"](). r=Waldo with earlier review work by nbp.
2014-07-01 21:01:21 -05:00
Jan de Mooij
652146bf9a
Bug 1087963 - Optimize Array.prototype.slice on sparse arrays. r=bhackett
2014-10-23 19:07:39 +02:00
Jon Coppeard
170a662019
Bug 650161 - Relocate global objects r=terrence
2014-10-20 09:07:43 +01:00
Jason Orendorff
448bc4a4ce
Bug 1026918, part 2 - Rename js::GetPropertyNames -> GetPropertyKeys. r=efaust.
2014-09-26 19:39:35 -05:00
Brian Hackett
5af358b89d
Bug 1073842 - Rename ObjectImpl to NativeObject, sr=luke.
2014-10-07 18:50:34 -07:00
Brian Hackett
0f98f3b75c
Bug 1073842 - Add NativeObject subclass of JSObject, remove ObjectImpl, r=luke.
2014-10-02 19:32:39 -07:00
Till Schneidereit
3d2fb18b98
Bug 1075059 - Part 2: Backout of Array.prototpype.contains. r=jorendorff
2014-10-02 17:38:46 +02:00
Nicolas B. Pierron
9d5a7dcd11
Bug 1074911 - Replace JS_ASSERT_IF by MOZ_ASSERT_IF. r=jorendorff
...
Apply the following script
sed -i '
/JS_ASSERT_IF(/ {
s/JS_ASSERT_IF(/MOZ_ASSERT_IF(/;
:b;
s/ \\$/\\/;
/;/ { p; d; };
n;
s/^/ /;
b b;
};
s/JS_ASSERT_IF (/MOZ_ASSERT_IF(/;
'
2014-10-01 19:17:53 +02: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
Till Schneidereit
ebd2949f9f
Bug 1067459 - Only install a small subset of the standard builtins in the self-hosting global. r=jorendorff
2014-09-16 10:01:09 -04:00
Jon Coppeard
14bc8c319d
Bug 1063468 - Remove more unnecessary use of address() r=sfink
2014-09-25 17:39:02 +01:00
Till Schneidereit
c6a4ae2978
changeset: 229386:2c92e43e29d8
...
user: ziyunfei <[email protected] >
files: js/src/builtin/Array.js js/src/builtin/Utilities.js js/src/jsarray.cpp js/src/tests/ecma_7/Array/browser.js js/src/tests/ecma_7/Array/contains.js js/src/tests/ecma_7/Array/shell.js js/src/tests/ecma_7/browser.js js/src/tests/ecma_7/shell.js
description:
Bug 1069063 - Implement Array.prototype.contains. r=till,securityAudit=bholley
2014-09-18 17:22:05 +08:00
Phil Ringnalda
d379084db5
Backed out 2 changesets (bug 1069063, bug 1062860) for mochitest-chrome and jsreftest bustage
...
CLOSED TREE
Backed out changeset 7f06ae718751 (bug 1062860)
Backed out changeset 2c92e43e29d8 (bug 1069063)
2014-09-20 20:53:35 -07:00
ziyunfei
bbaf6d4492
Bug 1069063 - Implement Array.prototype.contains. r=till
2014-09-18 17:22:05 +08:00
Ryan VanderMeulen
d934607b93
Backed out 6 changesets (bug 918828) for mass bustage on a CLOSED TREE.
...
Backed out changeset b59c02df792f (bug 918828)
Backed out changeset 12e7deed1b17 (bug 918828)
Backed out changeset b87ca498ea9a (bug 918828)
Backed out changeset 621224c58e71 (bug 918828)
Backed out changeset 4faff84eb1ba (bug 918828)
Backed out changeset 3695c1c812a5 (bug 918828)
2014-09-16 17:26:34 -04:00
Jason Orendorff
99f4406678
Bug 918828, part 2 - Change iteration code to call iterable[Symbol.iterator]() rather than iterable["@@iterator"](). r=nbp.
2014-07-01 21:01:21 -05:00
Lars T Hansen
5de5662bf1
Bug 1054882 - Rollup patch. r=till, r=sstangl, r=jorendorff
2014-09-16 18:45:31 +02:00
Jan de Mooij
20a0e6367b
Bug 1066197 part 3 - Move some iterator functions into js namespace, remove js_ prefix. r=bhackett
2014-09-15 09:58:27 +02:00
Jan de Mooij
886f655805
Bug 1063253 - Fix CodeGenerator::visitNewArrayCallVM to not ignore the AllocatingBehaviour value. r=h4writer
2014-09-12 14:24:24 +02:00
Terrence Cole
2763523c84
Bug 914402 - Remove the defunct conservative stack scanner; r=sfink
2014-09-09 15:08:23 -07:00
Chris Peterson
def5e6780e
Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem
2014-07-21 21:43:21 -07:00
Johannes Schulte
462e59add7
Bug 1059241 - Don't mark array as non-packed, when calling pop() . r=bhackett
2014-09-04 14:26:50 +02:00
Nicholas Nethercote
c219e7bd97
Bug 1040593 (attempt 2) - Partly allocate elements for |new Array(N)| when N > 2048. r=jandem,bhackett.
2014-08-27 23:35:57 -07:00
Wes Kocher
749ba31f1c
Backed out changeset 94eed55e5a5b (bug 1040593) on a CLOSED TREE
2014-09-04 18:00:59 -07:00
Nicholas Nethercote
81884b686f
Bug 1040593 - Partly allocate elements for |new Array(N)| when N > 2048. r=jandem,bhackett.
...
This patch makes |new Array(N)| always allocate at least
|EagerAllocationsMaxLength| elements up front.
It also changes |EagerAllocationsMaxLength| from 2048 to 2046, so that when the
two extra slots needed for |ObjectElements| are included, the resulting
allocation size is a power-of-two.
2014-08-27 23:35:57 -07:00
Jon Coppeard
510f7fc33b
Bug 650161 - Fix up shared object elements from copy on write arrays r=terrence
2014-09-02 11:07:22 +02:00
Brian Hackett
f7d8523463
Bug 934450 - Allow objects to have copy on write elements, r=billm,jandem.
2014-08-19 22:25:37 -08:00
Dan Gohman
0b05c16dab
Bug 1054334 - SpiderMonkey: Constify some static variables r=nbp
2014-08-18 12:20:42 -07:00
Dan Gohman
93d8752bd9
Bug 1054334 - SpiderMonkey: Use static and internal name linkage for more symbols r=nbp
2014-08-18 12:20:41 -07:00