Terrence Cole
cd16f7c41d
Bug 750547 - Remove unused dead branch in js_AtomizeString; r=Waldo
...
--HG--
extra : rebase_source : e063dae5c05d8da3687e7ce73465e74a49067ccb
2012-04-30 16:20:10 -07:00
Terrence Cole
02ef7ba9a3
Bug 750577 - Use self rooters as needed; r=bhackett
...
These rooters were introduced in 745742, but not used throughout the method.
2012-04-30 18:08:19 -07:00
Jason Orendorff
cd1b87e297
Bug 738479 - Debugger.Script objects whose referents are non-compile-and-go are crashy. Also fixes bug 746973. r=jimb.
...
--HG--
extra : rebase_source : 406065559a1e26485503b6d1e4d7eeea9070321f
2012-05-04 10:49:13 -05:00
Jason Orendorff
39cf996733
Bug 725733 - Fix crash in ScriptAnalysis::addTypeBarrier with Debugger. r=billm.
...
--HG--
extra : rebase_source : eb7726d3857bb4e0f89a7f669fb2791415979e86
2012-05-03 14:37:35 -05:00
Jason Orendorff
b9c2f15aba
Only run jit-tests under valgrind if we built the JS engine with valgrind.h. Bug 725733, r=jimb.
...
--HG--
extra : rebase_source : 06d41845a5f16a05e2483cbfaa254fda5d343c98
2012-05-03 14:36:11 -05:00
Adam
c410fb680d
Bug 727331 - JS OOM Testing: Assertion failure: !rt->gcRunning, at js/src/jsgc.cpp:2990. r=billm.
...
--HG--
extra : rebase_source : 5ce0763977c233adeb8a97402a936e3226991671
2012-05-01 10:37:00 -05:00
Jason Orendorff
1ef6694b0e
Bug 749316 - Put Debugger object into chrome scratchpad. r=dcamp,bholley.
...
--HG--
extra : rebase_source : 12ab275ac9cdfa0e9890c507e30e0b56e4086816
2012-05-01 10:17:32 -05:00
Jason Orendorff
6fb6fab40f
Bug 745802 - JS OOM Testing: Crash [@ js::HeapId::operator jsid]. r=bhackett.
...
--HG--
extra : rebase_source : ef4e762c3e63cbcc09247f861c4d7c030b389b10
2012-04-26 15:57:29 -04:00
Jason Orendorff
fc29ed78d2
Bug 749693 - JS shell global doesn't need JSCLASS_HAS_PRIVATE or its_finalizer. r=jandem.
...
--HG--
extra : rebase_source : cd46a6909564fb1f3a4e557df17cae3deed2e458
2012-04-27 14:42:55 -04:00
Tom Schuster
7e18d1c8e7
Bug 648526 - Constant folding in array and object literals. r=bhackett
2012-05-02 16:12:07 +02:00
Tom Schuster
9827e8040d
Bug 749620 - Add missing power of 10 for edge case. r=luke
2012-05-02 16:11:00 +02:00
Nathan Froyd
97bec5048a
Bug 746238 - pack TypeCallsite and TypeCompartment better; r=bhackett
2012-04-17 14:00:20 -04:00
Doug Turner
e474437e8e
Bug 738465 - implement device light sensor. r=smaug
2012-05-02 09:43:45 -07:00
Doug Turner
e188f5505d
Bug 738131 - implement device proximity. r=smaug
...
* * *
Bug 738131 - implement device proximity. gonk implementation. r=mwu
2012-05-02 09:43:45 -07:00
Jeff Walden
49f27748a6
Disable a small bit of debug code when compiling with MSVC as a temporary workaround for a compiler bug. Hopefully a semantically-equivalent workaround can be found in the longer term, but in the short term this at least makes debug Windows shell builds compile again, in a way dmandelin thinks is at least not unreasonable. Another followup to bug 745472, split out for clarity, r=themaid
...
--HG--
extra : rebase_source : 3f211be919bbc567167859daabb4c41ef2677fbe
2012-05-03 19:17:19 -07:00
Jeff Walden
8f246fe998
Fix Windows build warnings, followup to bug 745742. r=themaid
...
--HG--
extra : rebase_source : e660c857ebbd1f8592bb04a1da5cc542cf3e0098
2012-05-03 19:03:13 -07:00
Ryan VanderMeulen
1f23b935c5
Bug 575688 - Follow-up so that new test only runs in shell. r=orange
2012-05-03 20:58:28 -04:00
Luke Wagner
7ba08a89fa
Bug 690135 - remove some bits of jsdbgapi and shell (r=jorendorff)
...
--HG--
extra : rebase_source : 6741e97b5279c41ec1b9a08fbf5e693b17820106
2012-04-25 18:19:06 -07:00
Luke Wagner
0713cb134c
Bug 746839 - rm FunctionBox::methods and CleanFunctionList (r=jimb)
...
--HG--
extra : rebase_source : 710be6cb5a9cb7684bb0e6310a7715edb3a713f3
2012-04-18 17:10:41 -07:00
Luke Wagner
85b5647841
Bug 747554 - Parsing destructuring short-hand should note name use like normal identifiers (r=waldo)
...
--HG--
extra : rebase_source : 8ed0f8e4228b6704c064703707760abb017ed346
2012-05-02 09:36:55 -07:00
Steve Fink
a0dd043f0c
Bug 730208 - UnmarkGray fixups for globals and contexts. r=billm
...
A common source of potential black -> gray edges is JSAPI calls made on objects with gray globals or contexts holding gray globals. (The call could potentially update a black object with a pointer to that global.) This patch mostly traps places where contexts are used, and unmarks their globals. It also includes some more global unmarking.
--HG--
extra : rebase_source : 835c1d6b4a7f7a11571412075ae8847475079edd
2012-03-14 09:32:58 -07:00
Steve Fink
e7d605843a
Bug 730208 - Root JSD's pet global so it can't participate in CC cycles. r=billm
...
--HG--
extra : rebase_source : 9bf6a12faedab111efee048af0e543b2c1881782
2012-03-20 21:29:47 -07:00
Steve Fink
e4ed26e7ee
Bug 730208 - XPConnect changes to UnmarkGray some more objects and return them for convenience. r=mccr8
...
--HG--
extra : rebase_source : ddbfd05ec43868d39c26b1c37cac7e81522df29f
2012-03-20 21:22:40 -07:00
Steve Fink
f144efa500
Bug 730208 - Implement js::IsIncrementalBarrierNeededOnScript. r=billm
...
--HG--
extra : rebase_source : c5ee6063a72e251b1b4ef08aa2d97b6d8364a0e1
2012-04-27 10:53:07 -07:00
Steve Fink
3fce692b2c
Bug 575688 - Implement DataView from Typed Arrays spec. r=Waldo
...
--HG--
extra : rebase_source : b351000320c910c905be386cf71a9933cfe01a0f
2012-03-25 19:14:27 -07:00
Steve Fink
4ebebf9d37
Bug 741039 - Modify TypedArrays and ArrayBuffers to comply with the WebIDL spec. r=Waldo
...
WebIDL 4.4.6 says Float32Array.prototype is not a platform object and should throw TypeErrors when any of the Float32Array attributes is accessed. This patch makes obj->isTypedArray only succeed for actual TypedArray instances, and adds TypeErrors when special properties are retrieved from the prototypes.
This patch also eliminates some lingering uses of TypedArray::getTypedArray and makes it and getArrayBuffer static within jstypedarray.cpp. (Both are used for objects whose prototypes are typed arrays or array buffers.)
--HG--
extra : rebase_source : 93032b5c8dc98c4e18eec4fa438f6a9a4173487d
2012-04-23 15:13:02 -07:00
Jeff Walden
68f555e127
Bug 751377 - Rename PropertyTable to ShapeTable, so that the new property representation can use the PropertyTable name in the interim while both representations are compiled but only one is used. r=bhackett
...
--HG--
extra : rebase_source : 43867f7bc935fd5ba41e93ea9f25e4bd8af60d4d
2012-05-02 14:33:17 -07:00
Jeff Walden
49774da800
Bug 751003 - Move Cell, Chunk, Arena, ArenaHeader, FreeSpan, ChunkInfo, ChunkBitmap, your mom into a new gc/Heap.h header that doesn't have any used-but-not-defined traps for the unwary #include-r. r=billm
...
--HG--
extra : rebase_source : 0cf117e91b1eb8f5eef801c5190380bf988b67a5
2012-05-01 20:04:36 -07:00
Jeff Walden
19a35f7f33
Bug 750907 - Move the marking declarations out of jsgcmark.h and into a header with minimal dependencies. r=billm
...
--HG--
rename : js/src/jsgcmark.cpp => js/src/gc/Marking.cpp
rename : js/src/jsgcmark.h => js/src/gc/Marking.h
extra : rebase_source : 3eb96a33102f0b76438dbb79ecb46e817bc1b767
2012-05-01 14:30:18 -07:00
Johnny Stenback
35fa8810bc
First part of bug 749392. Stop exposing 'clear' in our shells in preparation of removing the underlying JS_ClearScope() API. r=jwalden
2012-05-03 15:52:45 -07:00
Matt Brubeck
fd49ebbe60
Back out 682bf201edde, ef35ba222ac8, and 6a20cf61289d (bug 750907, bug 751003, bug 751377) because of build failure on a CLOSED TREE
...
--HG--
rename : js/src/gc/Marking.cpp => js/src/jsgcmark.cpp
rename : js/src/gc/Marking.h => js/src/jsgcmark.h
2012-05-03 14:55:52 -07:00
Jeff Walden
54584a58e0
Bug 751377 - Rename PropertyTable to ShapeTable, so that the new property representation can use the PropertyTable name in the interim while both representations are compiled but only one is used. r=bhackett
...
--HG--
extra : rebase_source : a49a6b1386ee1d8be5653c5c4f4c2089bc6bf297
2012-05-02 14:33:17 -07:00
Jeff Walden
a43bcef4fd
Bug 751003 - Move Cell, Chunk, Arena, ArenaHeader, FreeSpan, ChunkInfo, ChunkBitmap, your mom into a new gc/Heap.h header that doesn't have any used-but-not-defined traps for the unwary #include-r. r=billm
...
--HG--
extra : rebase_source : 5ef81fb9032ac5c13fb4cf2a6107a0f63343caa1
2012-05-01 20:04:36 -07:00
Jeff Walden
860db51b6d
Bug 750907 - Move the marking declarations out of jsgcmark.h and into a header with minimal dependencies. r=billm
...
--HG--
rename : js/src/jsgcmark.cpp => js/src/gc/Marking.cpp
rename : js/src/jsgcmark.h => js/src/gc/Marking.h
extra : rebase_source : 2829c44da4316ceb6af0f4627158e337dd6ba28a
2012-05-01 14:30:18 -07:00
Jeff Walden
649aa9d53e
Remove TypeIsUint8Clamped as it's now unused. No bug, r=sparky
...
--HG--
extra : rebase_source : e23d48ea20a8e5bdd10e1e62579993ec30d40170
2012-04-30 14:55:19 -07:00
Jeff Walden
9ac9aed0ad
Pass the raw typed array element by reference when converting it to a Value. Followup to bug 749933 noted by Ms2ger, r=lumpy
...
--HG--
extra : rebase_source : 74d838c57ce3448d588d94e5d63f298a06d850a2
2012-04-29 22:27:57 -07:00
Jeff Walden
aeb072dd1e
Fix bool-to-pointer conversion warnings. Followup to bug 749617, r=themaid
...
--HG--
extra : rebase_source : d3849ed4d0f7501a45875a50314cddd66443b098
2012-05-03 02:00:23 -07:00
Rafael Ávila de Espíndola
a40d9ded69
Bug 555727 - Select clang over llvm-gcc if gcc-4.2 is not available. r=ted.
2012-05-03 17:01:29 -04:00
Steve Fink
8afeb38c0c
Bug 748937 - Switch JSD destroyScript signature from JSContext -> JSFreeOp. r=jorendorff
...
This is a warning fix only; JSD doesn't use the argument anyway.
--HG--
extra : rebase_source : 9529bdbfbb387cc03b29abef780e45abb881ed43
2012-04-27 11:49:57 -07:00
Steve Fink
5833257244
Bug 751396 - Fire slice callbacks only for "outer" GCs. r=billm
...
--HG--
extra : rebase_source : d30a5157d0f87bbc691ddf1cd0598974d0e509fc
2012-05-03 12:32:37 -07:00
Andrew McCreight
65d7a82313
Bug 744103, part 4 - Remove nsCycleCollectionLanguageRuntime. r=smaug
2012-05-03 12:28:11 -07:00
Andrew McCreight
07f9a7c5cb
Bug 744103, part 3 - Change NoteRoot to NoteJSRoot and NoteNativeRoot. r=smaug
2012-05-03 12:28:11 -07:00
Andrew McCreight
8f774dbad9
Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug
2012-05-03 12:28:10 -07:00
Peter Van der Beken
174872c252
Fix for bug 744772 (Trace the DOM interface object array). r=bz.
...
--HG--
extra : rebase_source : c9f27bed0eab0e6db03295050176ef986cf0b59b
2012-05-02 14:49:43 +02:00
Jan de Mooij
068efc78fb
Bug 749663 - Rename isCompileable to isJaegerCompileable. r=bhackett
...
--HG--
extra : rebase_source : f2215a721eb97610253d52e66cbb0e5b37a53a63
2012-05-03 12:13:44 +02:00
Marco Castelluccio
45915b1fcf
Bug 751280 - Remove 2-arg form of xpc_FastGetCachedWrapper. r=bholley
2012-05-03 06:22:58 -04:00
Joey Armstrong
6bf8cf559d
Bug 739710 - Makefile.in edits to use mkdir_deps function: file batch #2 . r=ted
2012-05-03 06:22:33 -04:00
Gary Kwong
c12bc357fc
Bug 736746 - Remove js_IsMathFunction since it was only used in tracer and tracer is long gone. r=billm
2012-05-02 11:18:44 -04:00
Julian Seward
acff466a14
Bug 733863 - Initialise outparams in callee (LoopState::getEntryValue) rather than at all call points. r=bhackett
2012-05-03 06:22:33 -04:00
Luke Wagner
bed7e5fdbf
Bug 720753 - hoist EvalCache from JSCompartment into JSRuntime (r=igor)
2012-05-03 09:12:48 +02:00