Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Brian Hackett
b4c002a912
Use handles in API object hooks where possible, bug 750733. r=billm
2012-05-19 15:03:45 -07:00
Tom Schuster
5d91112a9a
Bug 673499 - remove some trailing whitespace from js/src. r=jorendorff
2012-05-19 21:56:17 +02:00
Brian Hackett
4f8baecc9e
Backed out changeset 5fc7462dd394 for android orange.
2012-05-19 11:52:55 -07:00
Brian Hackett
b7d2500332
Use handles in API object hooks where possible, bug 750733. r=billm
2012-05-19 09:48:09 -07:00
Brian Hackett
33a75298e8
Disallow non-canonical jsids, bug 751331. r=luke
2012-05-06 13:45:19 -07:00
Jeff Walden
60b5d410c3
Bug 750907 - Move the marking declarations out of jsgcmark.h and into a header with minimal dependencies. r=billm
2012-05-01 14:30:18 -07:00
Matt Brubeck
6ef536f064
Back out 682bf201edde, ef35ba222ac8, and 6a20cf61289d (bug 750907, bug 751003, bug 751377) because of build failure on a CLOSED TREE
2012-05-03 14:55:52 -07:00
Jeff Walden
149f277184
Bug 750907 - Move the marking declarations out of jsgcmark.h and into a header with minimal dependencies. r=billm
2012-05-01 14:30:18 -07:00
Brian Hackett
09f807c5af
Get rooting analysis to pass jit-tests in the interpreter, bug 745742. r=billm
2012-04-30 17:10:30 -07:00
Igor Bukanov
c7e7021207
Bug 737365 - stop using the cx during finalization, part 1.
...
This part changes the signatures for various finalization API to take
not JSContext* but rather either JSFreeOp structure or its
library-private counterpart FreeOp. These structures wrap parameters
that are passed to the finalizers removing most of explicit dependencies
on JSContext in the finalization code.
2012-03-19 15:34:55 +01:00
Terrence Cole
501f305f4f
Bug 740673 - Simplify the C++ WeakMap implementation; r=jimb
...
It exposes way more configurability than we use at the moment.
2012-03-29 17:35:46 -07:00
Jeff Walden
40893ad494
Bug 738075 - Remove the unnecessary Class* argument from GlobalObject::createConstructor. r=dmandelin
2012-03-21 13:32:43 -07:00
David Mandelin
f0690b22d1
Bug 730511: remove obsolete typedefs intN, uintN, r=luke
2012-02-28 15:11:11 -08:00
Nathan Froyd
ca2f7d2fb0
Bug 731248 - Remove duplicate headers in js/src. r=luke
2012-02-28 12:01:52 -05:00
Bill McCloskey
634484a4e5
Bug 729238 - Save and restore weakmap list during marking validation (r=igor)
2012-02-27 09:48:35 -08:00
Jeff Walden
081bcb2dd4
Warning patrol. No bug, r=themaid
2012-02-22 14:48:55 -08:00
Ed Morley
73a65e8a1a
Merge mozilla-central to mozilla-inbound
2012-02-21 14:15:58 +00:00
Ed Morley
23e6bdc0a7
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-02-21 11:59:33 +00:00
Ms2ger
27837d8cd3
Bug 673468 - Remove a superfluous null-check; r=gabor
2012-02-21 10:34:02 +01:00
Jeff Walden
ccfdb076a6
Bug 728423 - Fix warnings in js/src related to JSObject::asString et al (r=luke)
2012-02-20 13:56:10 -08:00
Igor Bukanov
0265d1f860
bug 726944 - Remove JSClass::xdrObject and related functionality. r=luke
2012-02-13 09:02:21 +01:00
Bill McCloskey
ca293fdba6
Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor)
2012-02-17 14:35:20 -08:00
Gabor Krizsanits
db03c07ebb
Bug 673468 - Wrapped JS objects used as keys can disappear from WeakMaps. r=mccr8,billm
2012-02-17 13:22:26 +01:00
Igor Bukanov
642ae18cf6
bug 660441 - removal of cx parameter from IsAboutToBeFinalized. r=anygregor
2012-02-08 01:51:32 +01:00
Andrew McCreight
dc69c83cd8
Bug 707313 - use special non-NULL next for weak maps not in the list. r=jimb
2012-01-06 11:30:09 -08:00
Luke Wagner
63d604536b
Bug 713311 - give the remaining scope objects typed interfaces (r=waldo)
2012-01-02 15:02:05 -08:00
Andrew McCreight
fa01f822af
Bug 680937, part 2 - Add native wrapper preservation hook, call it in WeakMap_set. r=billm
2011-12-15 17:45:21 -08:00
Brian Hackett
4229cb1c4b
Merge MC -> JM
2011-11-26 15:03:20 -08:00
Brian Hackett
ae4638c3cf
Merge MC -> JM
2011-11-14 09:13:33 -08:00
Stephan Herhut
bddf70a113
Bug 697515 - WeakMap.set should return undefined, not itself. r=jorendorff.
2011-10-26 14:25:20 -05:00
Andrew McCreight
5bba2c43dd
Bug 688277, part 1 - add JS friend API to get keys of a weak map. r=jorendorff
2011-10-13 09:33:39 -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
Andrew McCreight
79d559e155
Bug 668855, part 1: add JS weak map tracing interface. r=billm
2011-11-24 07:35:56 -05:00
Luke Wagner
f6e92fa08c
Bug 689362 - Create js/public (with the intention that its contents will eventually be the only INSTALLED_HEADERS), move Vector and HashTable to js/public and some dependencies (r=billm,sr=dmandelin)
2011-10-04 15:33:00 -07:00
Luke Wagner
73ff885804
Bug 690825 - Fix nativeCall assert; HandleNonGenericMethodClassMismatch should not assume args.callee() is the native (r=waldo)
2011-10-04 10:48:36 -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
Jeff Walden
1e07b402fd
Bug 686002 - Refactor WeakMap class initialization. r=bhackett
2011-05-04 16:54:24 -04:00
Luke Wagner
765347e745
Bug 684526 - Remove Jsvalify/Valueify (r=waldo)
2011-09-20 11:40:24 -07:00
Luke Wagner
8fe42d3496
Bug 684110 - Clean JSObject::clasp usage (r=pbiggar)
2011-09-02 17:23:26 -07:00
Ed Morley
ee57bf1d01
Backout bug 684110 (08b6eaf6aad0, cf8b35fa1010, 25ee45edabe1, 659f5c7d2cc9, 870f6dd82586 & e1ad65d6a7fd) and bug 684344 (cd1957f6628d) on a CLOSED TREE; a=bustage-fairies
2011-09-03 03:21:25 +01:00
Luke Wagner
ec00ca00c4
Bug 684110 - Clean JSObject::clasp usage (r=pbiggar)
2011-09-02 17:23:26 -07:00
Andrew McCreight
004bd57ee6
Bug 666549 - Don't delete empty ObjectValueMaps in WeakMaps. r=igor
2011-07-19 09:30:16 -07:00
Jim Blandy
af9b5b2858
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
8790af8312
Bug 661567: Use RuntimeAllocPolicy in JS WeakMap objects, not ContextAllocPolicy. r=jorendorff
2011-06-14 19:21:47 -07:00
Jim Blandy
9edada2e93
Bug 661567: Use ObjectValueMap typedef name where appropriate. r=gal
2011-06-14 19:21:47 -07:00
David Mandelin
a17f7dedff
Bug 655368: Use Spidermonkey delete methods, r=gal
2011-05-24 15:05:55 -07:00
Bill McCloskey
7e0d823abb
Bug 616666 - Use explicit stack for GC marking (r=gal)
2011-04-15 16:56:08 -07:00
Gregor Wagner
f04e55fec0
Bug 650753 - Crash [@ js::gc::Cell::compartment] with WeakMap. r=gal
2011-04-18 15:09:21 -07:00