Commit Graph

940 Commits

Author SHA1 Message Date
Benjamin Peterson
3571f68d08 Bug 779724 - Replace JSOPTION_ONLY_CNG_SOURCE with an enum on CompileOptions. r=jorendorff 2012-08-07 10:39:45 -07:00
Eric Faust
072ab750db Bug 742188 - Implement ToInt64 and ToUint64 per the WebIDL standard. (r=jorendorff) 2012-08-03 15:15:04 -07:00
Benjamin Peterson
1c5094b3b8 Bug 779865 - Make CompileOptions public. r=jimb 2012-08-02 14:07:31 -07:00
Jason Orendorff
2465ef30f9 Bug 779601 - Minor cleanup for JS_ValueToECMAInt32 and friends. r=bhackett. 2012-08-02 14:59:30 -05:00
Eric Faust
b0323e13a7 Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
Steve Fink
0be81b990d Bug 777219 - Prepare SpiderMonkey for a fully rooted API; r=bhackett
--HG--
extra : rebase_source : a6a66d9e41932055e4529550d204d4098f32e37e
2012-07-23 13:37:31 -07:00
Benjamin Peterson
c40afc7692 Bug 779038 - Add an Evaluate variant which can read files. r=jimb 2012-07-31 15:25:41 -07:00
Till Schneidereit
e93421594b Bug 462300 - Add support for self-hosting syntax and operations (r=luke)
--HG--
extra : rebase_source : 82852ba6bf800e4d87f64b178a963e71323af391
2012-07-10 00:11:39 +02:00
Jeff Muizelaar
933e8b34d6 Bug 779220. Add JS_InternStringN for callers that know the length of the string. r=luke
This mirrors the existing JS_InternUCStringN.
2012-07-31 12:26:14 -07:00
Ed Morley
210126aa08 Backout f84910a8474a (bug 462300) for crashes in xpcshell 2012-07-31 19:16:54 +01:00
Till Schneidereit
d2bea757a0 Bug 462300 - Add support for self-hosting syntax and operations (r=luke)
--HG--
extra : rebase_source : 90e33d171ac0b79aebdf2f652909d72dd7ae2601
2012-07-10 00:11:39 +02:00
Brendan Eich
8b4a0accf4 Bug 778627 - Warning and related/nearby naming/style nit fixes (r=bpeterson). 2012-07-30 13:58:18 -07:00
Brian Hackett
aa69831ee5 Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin 2012-07-30 05:19:09 -06:00
Steve Fink
a152b2b167 Bug 777956 - With CPG, AutoCompartment no longer needs to store the target object. r=luke 2012-07-26 18:27:08 -07:00
Bobby Holley
4ed1de47e1 Bug 760109 - Add an API to lookup proto key via standard prototype objects and vice-versa. 2012-07-27 12:15:46 +02:00
Bill McCloskey
9803075c7f Bug 777528 - Expose compartment names to the JS engine (r=luke) 2012-07-25 18:25:47 -07:00
Jim Blandy
67212c8333 bug 771705: Pull out compilation variants into a CompileOptions structure. r=luke 2012-07-25 17:23:04 -07:00
Jason Orendorff
868311d7df Bug 725909 - Make Maps and Sets iterable. r=luke.
--HG--
extra : rebase_source : 0b1055562823978e1e0b3810b1531dc8b2e728ce
2012-07-04 10:24:25 -05:00
Eric Faust
912ab7d080 Bug 749536 - Implement JS::ToBoolean to fastpath Value to Boolean unwrappings. (r=luke) 2012-07-24 22:59:55 -07:00
Terrence Cole
b87dfc1293 Bug 764962 - Add a verifier mode for GenerationalGC post barriers; r=billm
This adds a store buffer which is enabled with --enable-gcgenerational and new
verifier modes 11 & 12 corresponding to pre-barrier verifier modes 4 & 5 when
enabled.

--HG--
extra : rebase_source : 9333a9e24a448865199c0d6f84f222c081b5611e
2012-06-20 18:48:56 -07:00
Benjamin Peterson
7986d9113d Bug 761723 - Add a context option to only save source for compileAndGo and function body scripts. r=jornedorff
--HG--
extra : rebase_source : d4637dfe967c0ea398bb4b08fa6f9955b14ff528
2012-07-20 20:19:02 +02:00
Terrence Cole
0bc926303e Backout 189816733310 for Android bustage. 2012-07-20 11:07:44 -07:00
Terrence Cole
3ec6cef3d2 Bug 764962 - Add a verifier mode for GenerationalGC post barriers; r=billm
This adds a store buffer which is enabled with --enable-gcgenerational and new
verifier modes 11 & 12 corresponding to pre-barrier verifier modes 4 & 5 when
enabled.

--HG--
extra : rebase_source : c2ba68f1cb9eaf3375048b43b777f4ed6502cde1
2012-06-20 18:48:56 -07:00
Steve Fink
ec5336df47 Bug 775365 - Fill out the rooting API. r=billm
- add external type JSHandleString
 - add external type JSMutableHandleValue
 - allow converting a MutableHandle -> Handle
 - add MutableHandle::fromMarkedLocation()
 - make a non-const AudoVectorRooter::handleAt() that returns a MutableHandle
2012-07-18 14:31:24 -07:00
Jason Orendorff
cfdc879344 Bug 725907 - for-of improvements, part 4: Add .next() method to iterator objects and make for-of call it. r=bhackett. 2012-07-03 16:34:56 -05:00
Jason Orendorff
739a7738d1 Bug 725907 - for-of improvements, part 2: Make for-of loops just call .iterator() instead of using the magic iteratorObject hook with an extra flag. r=bhackett. 2012-07-03 16:34:56 -05:00
Jason Orendorff
2dbe336919 Bug 770854 - Put frontend code in the frontend namespace. r=njn. 2012-07-09 13:54:28 -05:00
Ed Morley
fcaa2b9642 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-18 13:32:24 +01:00
Ms2ger
2dcc5e0037 Bug 765464 - Part b: Add an exnType to JSErrorReport; r=Waldo 2012-07-18 12:36:08 +02:00
Ms2ger
9d077ec396 Bug 765464 - Part a: Introduce JS_ReportErrorNumberVA; r=Waldo 2012-07-18 12:36:08 +02:00
Jeff Walden
68e5a1ecb2 Bug 770344 - Experiment implementing __proto__ as an accessor. r=luke 2012-06-27 18:35:56 -07:00
Jeff Walden
5c6c907477 Bug 773850 - Refactor method guarding to be able to work for methods that must be able to accept a |this| which is a proxy. r=luke
--HG--
extra : rebase_source : 1a015ffd3faa9fa6c82426c94058bce026602f8c
2012-07-03 17:44:22 -07:00
Jeff Walden
c2c183ed62 Fix another obvious typo to make MutableHandle<Value> a friend of ValueOperations<MutableHandle<Value>> and MutableValueOperations<MutableHandle<Value>>. Followup to bug 773049, r=sparky
--HG--
extra : rebase_source : af69f1a76d4bd73fc9c87f778e4bd509242c78ea
2012-07-13 12:04:33 -07:00
Sean Stangl
5cc219c7d2 Bug 285615 - Define and implement JS_ClearDateCaches() API. r=waldo 2012-07-13 15:56:08 -07:00
Eric Faust
1ebd9e063b Bug 766447 - Teach TI about the new DOM bindings. (r=bhackett) 2012-07-11 20:55:19 -07:00
Jeff Walden
d63f0497f0 Bug 773049 - Implement the Value interface in MutableHandle<Value> and Rooted<Value> (in addition to Handle<Value> and EncapsulatedValue which already manually implemented it), consolidating the Value interface bits in ValueOperations and MutableValueOperations classes using CRTP. r=bhackett
--HG--
extra : rebase_source : 436385599a7f071792c2d14037e1a1c639427c4f
2012-07-12 03:01:59 -07:00
Luke Wagner
7f687bc16b Bug 753145 - Attach static scope nesting information to scripts (r=jimb)
--HG--
extra : rebase_source : 0eaf04cf7f302308ce7f76c2012f75195e41f1bf
2012-07-03 10:24:36 -07:00
Ed Morley
4dfabffcbe Backout 6bbf3f22bb5d (bug 753158), 38a703b244c2 (bug 753145), c9a5dfa1b07d (bug 767750), cd782fd66995 & 6cf7aa93994c (bug 765956), 0253f34f6bc2 & 41d5c8529748 (bug 771039),94f6bf99a4aa (bug 766447),fad7d06d7dd5 (bug 772303) for winxp pgo-only jsreftest failures (caused by fad7d06d7dd5) and the rest for conflicts, on a CLOSED TREE 2012-07-12 13:04:51 +01:00
Luke Wagner
36eedc0d88 Bug 753145 - Attach static scope nesting information to scripts (r=jimb)
--HG--
extra : rebase_source : c2608319ab0c6a1668c1ec130569867d2013e0a4
2012-07-03 10:24:36 -07:00
Eric Faust
0fbc520cb6 Bug 766447 - Teach TI about the new DOM bindings. (r=bhackett) 2012-07-11 20:55:19 -07:00
Gregor Wagner
01bcc4ce8e Bug 765435 - Make JS heap growth factor depend on the heap size after a GC and GC frequency. r=billm 2012-07-11 11:09:53 -07:00
Luke Wagner
93e4660716 Bug 771998 - add Handle<Value> specialization that is better suited for Value (r=billm)
--HG--
extra : rebase_source : b52fd5f8f6dda2343d1e4266dee6385ae9ef7a7a
2012-07-10 15:48:07 -07:00
Jason Orendorff
eb54043e38 Back out changeset ac870e3e94f3 due to red on m-i. 2012-07-09 14:39:50 -05:00
Jason Orendorff
b5b0e7d36c Bug 770854 - Put frontend code in the frontend namespace. r=njn. 2012-07-09 13:54:28 -05:00
Nicholas Nethercote
12f9b52d1e Bug 687724 (part 3) - Report JS memory consumption for compartments that are associated with |window| objects under "window-objects". r=bholley,jlebar,luke.
--HG--
extra : rebase_source : 20329a698154ef61cea74247d3dccc9f01899829
2012-07-05 21:12:37 -07:00
Bill McCloskey
4093aff673 Bug 770759 - Add mutable handles (r=bhackett) 2012-07-04 11:12:16 -07:00
Ehsan Akhgari
9f9d5db256 Backout changeset cb49c3730a97 (bug 725907 part 2) under the suspicion of breaking Linux32 mochitest-chrome without framepointers 2012-07-04 19:26:20 -04:00
Ehsan Akhgari
6b34bacdb2 Backout changeset 24feaa8bd894 (bug 725907 part 4) under the suspicion of breaking Linux32 mochitest-chrome without framepointers 2012-07-04 19:24:50 -04:00
Jason Orendorff
95161ca1eb Bug 725907 - for-of improvements, part 4: Add .next() method to iterator objects and make for-of call it. r=bhackett.
--HG--
extra : rebase_source : f3a2e83c7bd524e3801c25aba63c6d3802b0d73a
2012-07-03 16:34:56 -05:00
Jason Orendorff
516adc14c4 Bug 725907 - for-of improvements, part 2: Make for-of loops just call .iterator() instead of using the magic iteratorObject hook with an extra flag. r=bhackett.
--HG--
extra : rebase_source : af40be5e08d42f41a33a528644c45d37fe47bc63
2012-07-03 16:34:56 -05:00