Commit Graph

433 Commits

Author SHA1 Message Date
Jason Orendorff
c1c36f610b Bug 699565 - Part 3 - for-of loops on wrappers. r=bhackett. 2012-02-07 12:57:16 -06:00
Jason Orendorff
774282f9ae Bug 699565 - Part 2 - for-of loops on arrays. r=bhackett. 2012-02-07 12:57:16 -06:00
Jason Orendorff
9b97a3a1af Bug 699565 - Part 1 - for-of loop basics. r=Waldo. 2012-02-07 12:57:16 -06:00
Jeff Walden
b580faca5d Remove internal #includes of jsstdint.h, the functionality of which is now part of the JSAPI and need not be explicitly #included. No bug, r=evilpies, r=jorendorff, r=terrence, all over IRC 2012-01-22 21:22:10 -08:00
Brian Hackett
e352970e66 Root strings in native iterators when converting from array of jsids, bug 719686. r=dvander 2012-01-20 16:22:16 -08:00
Brian Hackett
851444a29f Store JSStrings instead of jsids in native key iterators, bug 713754. r=dvander 2012-01-18 16:56:22 -08:00
Chris Leary
bf0951e061 Bug 717762: Proliferate js_memcpy and PodCopy, take 2. (r=luke) 2012-01-17 14:32:36 -08:00
Ms2ger
20e82e6b3f Bug 714728 - Remove jsword/jsuword in favour of intptr_t/uintptr_t; r=Waldo 2012-01-11 09:23:05 +01:00
Luke Wagner
6b0f795516 Bug 711273 - rm cruft: JS_REQUIRES_STACK, find-child.py, jsstack.js, fallibility of ClonedBlockObject::put/UnwindScope (r=waldo) 2011-12-20 17:31:28 -08:00
Luke Wagner
63d604536b Bug 713311 - give the remaining scope objects typed interfaces (r=waldo) 2012-01-02 15:02:05 -08:00
Brian Hackett
3f04eff01e Backed out changeset 4282a285d381 (bug 707049 backout). 2011-12-31 07:32:04 -07:00
Ms2ger
4928f1e7af Backout 0d642e4e08cf (bug 707049); requested by evilpie. 2011-12-31 15:13:01 +01:00
Brian Hackett
67b426655e Add dynamic analysis for identifying moving GC hazards, autorooter classes, some VM rooters, bug 707049. r=billm 2011-12-30 20:12:45 -07:00
Jeff Walden
12e010ddeb Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin 2011-12-08 22:54:10 -05:00
Christian Holler
5459ff06f4 Ensure a consistent enumeration order when compiled in deterministic mode, bug 707017. r=luke 2011-12-08 19:28:36 -08:00
Jeff Walden
477d66175a Bug 707061 - Rename js_ValueToString to ToString. Also, consistent with ToObject, make ToString include an inline already-string fast path, and make ToStringSlow be an out-of-line slow path for the case where the value is not a string (asserting that this is the case). r=luke 2011-12-01 19:35:44 -08:00
Brian Hackett
aea9a5df6e Merge MC -> JM 2011-11-30 12:45:27 -08:00
Brian Hackett
51b57b8cf2 Always generate new shapes when setting uncacheable flags after prototype changes, don't cache native iterators for objects with uncacheable prototypes, bug 705895. 2011-11-28 17:27:00 -08:00
Brian Hackett
4229cb1c4b Merge MC -> JM 2011-11-26 15:03:20 -08:00
Brian Hackett
13318e693a Address bug 694561 review comments, r=luke. 2011-11-18 16:22:52 -08:00
Brian Hackett
7e0b5036e7 Address bug 684507 review comments, r=luke. 2011-11-18 14:59:31 -08:00
Brian Hackett
ae4638c3cf Merge MC -> JM 2011-11-14 09:13:33 -08:00
Brian Hackett
b58540799b Get new object empty shapes with a common hash table, bug 701509. 2011-11-10 17:50:05 -08:00
Brian Hackett
28a34056ac Remove JSObject::isNewborn, refactor object creation code, bug 684507. 2011-11-02 13:34:19 -07:00
David Mandelin
ecf161094b Bug 684922: avoid infinite recursion through GetCustomIterator, r=luke 2011-11-28 15:20:15 -08:00
Brian Hackett
0f1e7be714 Merge MC -> JM 2011-10-27 14:16:02 -07:00
Brian Hackett
2ecf6804fd Merge MC -> JM 2011-10-19 14:26:08 -07:00
Brian Hackett
46c81a1bf3 Move rarely set object flags to BaseShape, bug 694561. 2011-10-14 13:51:21 -07:00
Brian Hackett
82400c0d5c Move fixed slot count from JSObject to Shape, bug 594561. 2011-10-14 11:06:15 -07:00
Brian Hackett
7532089095 Move JSObject::parent to BaseShape, bug 638316. 2011-10-13 20:21:36 -07:00
Brian Hackett
39d67cf8d7 Remove JSObject::privateData, bug 693479. 2011-10-10 17:14:38 -07:00
Brian Hackett
2e9764e92f Remove JSObject::capacity and JSObject::initializedLength, split JSObject::slots into slots and elements, bug 693221. 2011-10-10 11:41:03 -07:00
Brian Hackett
43a6a0454e Move JSObject::newType to a hashtable, bug 684410. 2011-10-07 20:09:09 -07:00
Brian Hackett
ba808c6ca3 Merge MC -> JM 2011-10-04 14:49:42 -07:00
Brian Hackett
0ec9245d43 Remove jsobj.h from installed headers, bug 690943. r=luke 2011-10-04 07:06:54 -07:00
Brian Hackett
c85845ba0d Merge MC -> JM 2011-09-30 07:01:18 -07:00
Brian Hackett
63536174bf Don't access object class during background finalization, bug 690133. 2011-09-29 20:29:13 -07:00
Brian Hackett
b9dce9b51c Remove direct class pointer from JSObject, bug 690133. 2011-09-29 08:20:06 -07:00
Brian Hackett
b18259bebf Remove shape numbers and Shape::slotSpan, factor Shape getter/setter into BaseShape, bug 684505. 2011-09-28 15:04:55 -07:00
Jason Orendorff
b0c1f2dccb Bug 695094 - Move js{scan,parse,emit}.{h,cpp} into js/src/frontend/. r=luke. 2011-10-17 16:54:28 -05:00
Jeff Walden
10e2a9cbb2 Bug 687621 - Convert getProperty to take a PropertyName*, and make getGeneric the only way to get a property for a jsid. r=luke 2011-09-15 11:44:10 -07:00
Luke Wagner
765347e745 Bug 684526 - Remove Jsvalify/Valueify (r=waldo) 2011-09-20 11:40:24 -07:00
Bill McCloskey
267d9855a3 Bug 641027 - Add snapshot-at-the-beginning write barriers for incremental GC (r=luke,bhackett) 2011-10-25 16:07:42 -07:00
David Anderson
86d67629e4 Remove LeaveTrace and related structures (bug 698201 part 5, r=luke). 2011-11-22 17:41:43 -05:00
David Anderson
3a8e74c6da Remove traceable natives (bug 698201 part 3, r=luke). 2011-11-22 17:41:42 -05:00
Chris Leary
cdd34a85e8 Bug 684039: rewrite JS LIFO allocator, avoids thrashing. (r=luke) 2011-09-22 13:22:30 -07:00
Luke Wagner
bedc73af5b Bug 683361, part 4 - Handle transparent proxies correctly in non-generic methods (r=waldo) 2011-09-08 21:18:23 -07:00
Luke Wagner
4260644e14 Bug 683361, part 2 - use CallArgs more (r=waldo) 2011-09-08 21:02:26 -07:00
Luke Wagner
69034bbbdb Bug 683361, part 1 - Strip JS prefix from proxy names since they are already in namespace js (r=gal) 2011-09-08 20:29:15 -07:00
Jeff Walden
dc09286c0e Bug 691992 - Split getAttributes and setAttributes into property and generic forms, and use them throughout the engine. r=bhackett 2011-10-04 17:21:06 -07:00