Landry Breuil
d7674ad89f
Bug 665040: "-not" is not a POSIX-compliant argument to find
. Use "!" (r=khuey)
2011-06-17 15:48:00 -07:00
Paul Biggar
9215b87d11
Bug 649939: Prevent crash from too much recursion in Iterator.prototype.next() (r=jwalden)
2011-06-16 17:00:31 -07:00
Luke Wagner
eb1e4da057
Bug 665189 - hoist JSString and family into vm/String{.h, -inl.h, .cpp} (r=njn)
2011-06-20 11:44:20 -07:00
Ehsan Akhgari
9e6f60ae73
Bug 662971 - Silence the clang warnings issued because of alignment requirements increase when compiling mfbt/Util.h; r=Waldo
...
--HG--
extra : rebase_source : a2bb6f588674602993c6603abda01487b72b6923
2011-06-17 15:59:47 -04:00
Ehsan Akhgari
7a0d0c4d14
Bug 662969 - Silence the clang warnings issued because of alignment requirements increase when compiling jsparse.h; r=Waldo
...
--HG--
extra : rebase_source : 8286bd6fd8a82d855c95d8a1ded01b54d73ba5a1
2011-06-17 15:59:47 -04:00
Ehsan Akhgari
8b44eb7102
Bug 662964 - Silence the clang warnings issued because of alignment requirements increase when compiling jscntxt.h; r=Waldo
...
--HG--
extra : rebase_source : ec398625623f3cafd7c4373a85b099024ba05183
2011-06-17 15:59:47 -04:00
Ehsan Akhgari
9d3cd03d84
Bug 662962 - Silence the clang warnings issued because of alignment requirements increase when compiling jsscript.h; r=Waldo
...
--HG--
extra : rebase_source : 0aa530499bf3961b372a24a1a98d949a81ee2065
2011-06-17 15:59:47 -04:00
Ehsan Akhgari
1bf0169fbc
Bug 662961 - Silence the clang warnings issued because of alignment requirements increase when compiling jsstr.cpp; r=Waldo
...
--HG--
extra : rebase_source : 984f986f3de6c92cdb45cadeff40bc84b36406ca
2011-06-19 17:04:48 -04:00
Nicholas Nethercote
605aa68d3c
Bug 664647 - Work around MSVC 2005 PGO bug in GetJSObjectSlotsCallback and friends. r=khuey.
2011-06-20 09:01:37 +10:00
Igor Bukanov
0e73de0a0a
bug 601075 - followup to fix MSVC warings and adjust the testStringBufferMallocAccounting.js test to overwrite all conservative GC roots.
2011-06-19 19:41:46 +02:00
Igor Bukanov
3a56f020bc
bug 601075 - bump-allocator for GC arenas. r=wmccloskey
2011-05-11 14:46:33 +02:00
Dave Herman
c865798cd4
disable constant folding for Reflect.parse (bug 571617, r=jorendorff)
2011-06-18 08:45:05 -07:00
Tom Schuster
e54467eba5
Bug 640593 - Remove Function.arity and other cleanup around function properties r=jorendorff
...
--HG--
rename : js/src/tests/ecma_5/strict/function-name-arity.js => js/src/tests/ecma_5/strict/function-name.js
2011-06-18 00:55:55 +02:00
Luke Wagner
c172a0e45a
Fix test added by a5a8d503df69; apparently Proxy.fix is only available in debug builds (r=burning)
...
--HG--
extra : rebase_source : a39bd49833096b0db4baeb9b9ce5af98b3914e23
2011-06-17 17:34:09 -07:00
Paul Biggar
0c642e1a65
No bug: Remove js.mdp, which is some kind of Visual Studio thing (r=luke)
...
I accidentally overwrote this in March, and no-one has since complained, so
this is clearly useless.
2011-06-17 17:16:58 -07:00
Luke Wagner
9187bca801
Bug 664951 - Weaken CallJSNativeConstructor again (r=waldo)
2011-06-17 16:51:52 -07:00
Luke Wagner
0ef72d4736
Bug 663789 - InvokeSessionGuard needs to do a better job resetting the call frame (r=waldo)
2011-06-17 16:51:05 -07:00
Luke Wagner
be687431b6
Bug 660734, part 2 - Add back a ContextAllocPolicy that calls cx->malloc_ and use it in StringBuffer so that the new string's bytes are counted by the GC (r=igor)
...
--HG--
extra : rebase_source : a9e677e80574352125c93a7a3d775ef20303c551
2011-06-17 10:14:30 -07:00
Luke Wagner
d120c17229
Bug 660734, part 1 - s/ContextAllocPolicy/TempAllocPolicy/ since it doesn't call cx->malloc_ (r=igor)
...
--HG--
extra : rebase_source : 7ea0d6a7ed86a9c561efdd2d7b93623ea37c5b90
2011-06-17 10:11:33 -07:00
Igor Bukanov
0d48cdc3a6
bug 664677 - initializing number and script state when creating the runtime. r=anygregor
...
--HG--
extra : rebase_source : 7e16c8649723bb67205343c0c7cf230e7e04a8c0
2011-06-16 11:42:35 +02:00
Brendan Eich
a4caa74fea
Object.getOwnPropertyNames considers enumerable getter inherited properties as own (636989, r=jorendorff/gal).
2011-06-17 00:01:21 -07:00
Dave Herman
e81d952262
Reflect.parse() stack overflow (bug 632024, r=jorendorff)
2011-06-16 23:27:26 -07:00
Craig Topper
463f240bed
Bug 664667: Fix operator precedence issue in JSObject::slotsAndStructSize, r=jorendorff
2011-06-15 21:17:42 -07:00
Nikhil Marathe
6e753ee711
Bug 664577 - Make sure non-SpiderMonkey users don't require knowledge about JSObject when using ArrayBuffers. r=mrbkap
2011-06-16 15:46:39 -04:00
Blake Kaplan
d3d31d714a
Backed out changeset 8b3dc129aed8. Missing bug number in the commit (bug 664577).
2011-06-16 16:57:51 -04:00
Nikhil Marathe
4600bb18b1
Make sure non-SpiderMonkey users don't require knowledge about JSObject when using ArrayBuffers. r=mrbkap
2011-06-16 15:46:39 -04:00
Kyle Huey
a47384ceb8
Bug 613066: Update structured clone algorithm to the latest spec. r=jorendorff
2011-06-16 11:22:37 -07:00
Andrew McCreight
b72cdbccf6
Bug 653248 - Mark any weak references reachable from XPCOM gray, not black. r=gal
2011-06-15 10:55:58 -07:00
Jeff Walden
0d557b47fe
Bug 655192 - Update the initSharingEmptyShape comment to be more precise about what it requires of the provided proto, to avoid mentioning js_InitClass. r=jorendorff
...
--HG--
extra : rebase_source : 7008073db608db3f83ee31f9a7798f67ccc8d4b5
2011-05-09 13:06:52 -07:00
Jeff Walden
841d0bfb68
Bug 655192 - Declare variables as late as possible in js_InitXMLClass. r=jorendorff
...
--HG--
extra : rebase_source : 13cf4e90f5f6dc549ef1500cc91cb9507ce47d90
2011-05-04 16:54:24 -04:00
Jeff Walden
e1ddc27f16
Add a test for loose equality between Date objects and booleans. r=itsatest
...
--HG--
extra : rebase_source : daa612d30395f006b34795e967514a0ac07ee67d
2011-06-13 21:49:58 -07:00
Jeff Walden
f62341b01f
Bug 663245 - Reduce exposure of jsbool.h, jsiter.h, and jsstr.h outside the JS engine to ding compile time less when they're touched. r=jimb
...
--HG--
extra : rebase_source : 426b168d126099956836c73cd082860bfc77f578
2011-06-10 11:44:16 -07:00
Jeff Walden
48176c74e2
Bug 470791 - Adjust prmjtime.cpp PRMJ_Now code to be more readable, and not just a direct translation of JSLL_* macros. r=jimb
...
--HG--
extra : rebase_source : a82ba7183aeb4c1a3dbbc199b465e0eef651ba9f
2011-06-09 01:13:17 -07:00
Jeff Walden
3b373ca621
Bug 470791 - Remove all users of the long-obsolete JSLL_* macros. r=jimb
...
--HG--
extra : rebase_source : 106b723b49d54dcd86ec67eaa50ca919bc8e5845
2011-06-09 01:13:03 -07:00
Jeff Walden
c4d955c11a
Bug 662946 - Remove various headers from INSTALLED_HEADERS that shouldn't be there. r=jimb
...
--HG--
extra : rebase_source : a6028a859cac4625ef2f3227ce0fa3159b5e8556
2011-06-09 01:12:21 -07:00
Jeff Walden
2872d0dfd3
Bug 663547 - Make ecma_5/Object/* not dog-slow any more by disabling a particularly expensive assertion when they run. r=luke
...
--HG--
extra : rebase_source : c287c56c37c971eb9967e297602cf1e2c43ef017
2011-06-14 18:39:53 -07:00
Dave Herman
579efb6069
disallow yield and arguments in generator expressions (bug 634472, r=cdleary)
2011-06-16 08:20:18 -07:00
Luke Wagner
969edaae87
Bug 648438 - Don't assert about js_ReconstructStackDepth for imacros since apparently this only works for imacros in the top stack frame (r=jwalden)
...
--HG--
extra : rebase_source : a7059021f02113b41214080e4ec6a4fe5210c4a5
2011-06-16 08:14:19 -07:00
Nicholas Nethercote
642276f276
Bug 571249 - Add memory reporters for JSScripts, non-fixed object slot arrays, and string chars. r=igor.
2011-06-16 13:01:04 +10:00
David Anderson
012fd6ce4c
Make alloc policy realloc() easier to implement (bug 664353, r=luke).
2011-06-15 18:11:59 -07:00
Brendan Eich
029df9a3ef
Inherited non-configurable accessor properties mis-reported as own properties (637994, r=jwalden).
2011-06-14 23:48:59 -07:00
Brendan Eich
5cfae60d59
No else after return.
2011-06-14 19:32:33 -07:00
Jim Blandy
10db00cf8a
Bug 660039: Provide a WeakMap usable from C++. r=jorendorff
...
Remove WeakMap class; implement the JavaScript object using functions static to jsweakmap.cpp.
Define a new WeakMap class template, parameterized by Key and Value types,
and accepting a MarkPolicy argument saying how to mark them.
Add assertions to check that we check and set the right mark bits, and
tests that trip them in the presence of mistakes in earlier revisions of
this patch.
2011-06-14 19:21:47 -07:00
Jim Blandy
add4733d5f
Bug 661567: Use RuntimeAllocPolicy in JS WeakMap objects, not ContextAllocPolicy. r=jorendorff
2011-06-14 19:21:47 -07:00
Jim Blandy
86986ab2b0
Bug 661567: Implement RuntimeAllocPolicy, providing proper memory accounting in GC'd objects that live longer than a JSContext. r=luke
2011-06-14 19:21:47 -07:00
Jim Blandy
f2e2c9dc31
Bug 661567: Use ObjectValueMap typedef name where appropriate. r=gal
2011-06-14 19:21:47 -07:00
Luke Wagner
517fd9bb44
Bug 664159 - Fix eval-in-frame crash (r=waldo)
2011-06-14 17:35:19 -07:00
Nikhil Marathe
ba6bbbf0a9
Bug 656519 - Fix consumers outside SpiderMonkey to use new ArrayBuffer APIs. r=mrbkap
...
--HG--
extra : rebase_source : f359987831611155029114b5f85080155c6a12d5
2011-06-14 15:37:21 -04:00
Nikhil Marathe
aef42c184e
Bug 656519 - Add an interpreter fast-path for getting length from a typed array. r=mrbkap
...
--HG--
extra : rebase_source : b2d583778e14877cb0e01f0739d08cd31dc9c757
2011-06-14 15:35:54 -04:00
Nikhil Marathe
0f8a933fd5
Bug 656519 - Do a small size optimization for arraybuffer objects, possibly avoiding a second malloc entirely for small array buffers. r=mrbkap
...
--HG--
extra : rebase_source : 2dcaee6b42f47dafcfbb866a45ed2452f029a253
2011-06-14 15:34:06 -04:00