Commit Graph

883 Commits

Author SHA1 Message Date
Tom Schuster
d258d07269 Bug 838558 - Kill object equality hook. r=jorendorff 2013-02-11 21:06:05 +01:00
Jan de Mooij
3dbb3e6967 Bug 839420 - Refactor ReportIsNotFunction to not use spIndexOf and remove spIndexOf. r=bhackett 2013-02-09 13:51:48 +01:00
Nicholas D. Matsakis
777ac77877 Bug 834882: move InParallelSection() out of ForkJoinSlice and rename Initialize() to InitializeTLS() r=billm 2013-01-25 13:54:53 -08:00
Terrence Cole
030387b163 Bug 706885 - Do not store singletons in the Nursery; r=bhackett
--HG--
extra : rebase_source : 0f6fe8fd6954c60a25b7180e503afd124956ec1c
2013-01-28 11:01:54 -08:00
Nicholas Nethercote
d9f49c3dc8 Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
Ding dong!  The witch is dead!
2013-01-24 21:24:57 -08:00
Phil Ringnalda
15ecedac46 Back out 66882ea6f8c7 (bug 788293) and 32f09cb3c7b6 (bug 834090) for bustage
CLOSED TREE
2013-01-31 22:29:30 -08:00
Nicholas Nethercote
e4944dd40a Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
Ding dong!  The witch is dead!

--HG--
extra : rebase_source : 7574f5620e303c25120fcfc8ceb2099ad75c8f1b
2013-01-24 21:24:57 -08:00
Tom Schuster
f2db080d4c Bug 830787 - Move jsscope to vm/Shape. r=jorendroff
--HG--
rename : js/src/jsscopeinlines.h => js/src/vm/Shape-inl.h
rename : js/src/jsscope.cpp => js/src/vm/Shape.cpp
rename : js/src/jsscope.h => js/src/vm/Shape.h
2013-01-26 16:03:19 +01:00
Brian Hackett
ed2ebb3e07 Bug 834826 - Eliminate or refactor various unnecessary stack roots, r=terrence. 2013-01-26 07:42:20 -07:00
Nicholas D. Matsakis
7b32723fc9 Bug 825714: Refactor JS allocation routines to enable allocation on parallel
threads, and move various ion fields into per-thread-data. r=billm

More detailed:
- A new routine JSObject::parExtendDenseArray() that permits parallel code to
  allocate a dense array on its own Allocator.
- Create an allocation path in the GC for loading a fresh arena as needed
  (ArenaLists::parallelAllocate()).
- Ensure that if GC is triggered during parallel execution, parallel execution
  is aborted and the request is deferred until parallel execution terminates.
- Updates to the ForkJoin/ThreadPool so that they create their own Allocators
  as well as other misc API changes.
- Moves some of the ion-related fields (e.g., |ionTop|) into perThreadData.
- Remove out-of-date malloc tracking fields.
2013-01-24 21:12:44 -08:00
Brian Hackett
e6c3716434 Bug 832360 - Store an object's class as part of its type, r=jandem. 2013-01-23 12:57:55 -07:00
Benjamin Peterson
dcece23445 Bug 832141 - Rename js_ValueToSource to ValueToSource and make it internal. r=luke 2013-01-18 14:30:32 -05:00
Brian Hackett
bfc1e7cc66 Bug 772820 - Disallow GCs during script analysis or compilation, r=billm. 2013-01-18 09:23:28 -07:00
Brian Hackett
713893c541 Bug 831822 - Fix various rooting hazards and unnecessary roots found by static analysis, r=terrence. 2013-01-18 06:48:13 -07:00
Brian Hackett
bd0c3ba149 Bug 830967 - Don't skip sparse elements in 'this' when optimizing Array.concat, r=billm. 2013-01-15 15:03:44 -07:00
Ms2ger
3203dfee36 Merge latest PGO-green m-i changeset to m-c. 2013-01-11 14:48:33 +01:00
Ms2ger
e222f95934 Bug 828248 - Part f: Pass MutableHandleId to ValueIsSpecial; r=sfink 2013-01-11 09:43:00 +01:00
Ms2ger
23f700bed5 Bug 828248 - Part b: Pass MutableHandleId to IndexToId and IndexToIdSlow; r=sfink 2013-01-11 09:43:00 +01:00
Ms2ger
d43e8bee85 Bug 828248 - Part a: Pass MutableHandleId to ValueToId and DoubleIndexToId; r=sfink 2013-01-11 09:43:00 +01:00
Brian Hackett
34f70bfb16 Bug 827490 - Allow native objects to have both slots and dense elements, rm dense/slow array distinction, r=billm, dvander. 2013-01-10 17:53:11 -07:00
Terrence Cole
f427d43587 Bug 826435 - Do not allow poisoned pointers near a HashTable; r=sfink
The rooting analysis depends on all usage of a poisoned pointer to crash. This
patch makes the above usage crash, as required.

--HG--
extra : rebase_source : 3d67e4c44cee91d889edbf6641cebe9887fb10ee
2013-01-03 17:01:38 -08:00
Jeff Walden
120886ca73 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Terrence Cole
62bd263ffb Bug 816776 - Add debug-mode exact rooting assertions for Shape; r=sfink
--HG--
extra : rebase_source : fbd47f598964cbb03dcc782198c10164e09a26f2
2012-11-29 10:22:10 -08:00
Bill McCloskey
37a218683b Bug 816805 - Style fixes for RiverTrail code (r=shu)
--HG--
rename : js/src/vm/forkjoininlines.h => js/src/vm/ForkJoin-inl.h
rename : js/src/vm/forkjoin.cpp => js/src/vm/ForkJoin.cpp
rename : js/src/vm/forkjoin.h => js/src/vm/ForkJoin.h
rename : js/src/vm/monitor.cpp => js/src/vm/Monitor.cpp
rename : js/src/vm/monitor.h => js/src/vm/Monitor.h
rename : js/src/vm/threadpool.cpp => js/src/vm/ThreadPool.cpp
rename : js/src/vm/threadpool.h => js/src/vm/ThreadPool.h
2012-11-29 18:00:19 -08:00
Till Schneidereit
8a4bfd7a0a Bug 784294 - Convert some array extras to self-hosted js implementations. r=Waldo
The following methods are converted:
- lastIndexOf
- indexOf
- forEach
- some
- every
- reduce
- reduceRight

--HG--
extra : rebase_source : 600a9bba7c9a3871b10936f89b2e8c6fbee6d769
2012-08-28 14:35:15 +02:00
Niko Matsakis
9a65eb5ce2 Bug 801087 - Implement parallel workers threadpool in preparation for Rivertrail. r=dmandelin 2012-11-21 13:31:57 -05:00
Jason Orendorff
f6e498e705 Bug 812314 part 1 - Use fewer namespace js {...} blocks in .cpp files in js/src, js/src/builtin, js/src/vm. r=luke.
--HG--
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_localStorage_before_after.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_localStorage_before_after.js
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_localStorage_before_after_page.html => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_localStorage_before_after_page.html
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_localStorage_before_after_page2.html => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_localStorage_before_after_page2.html
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_placestitle.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_placestitle.js
rename : browser/components/privatebrowsing/test/browser/perwindow/title.sjs => browser/components/privatebrowsing/test/browser/global/title.sjs
extra : rebase_source : d1d1c39b490ae33fb9e8417ed72c2b77ee631416
2012-11-16 15:59:26 -06:00
Jan de Mooij
c8f48f8996 Bug 812537 - Move GetDenseArrayShape to jsarray. r=bhackett 2012-11-17 11:54:21 +01:00
Phil Ringnalda
e9d8463b63 Back out 3da143341145 (bug 784294) and 862f9cd7eb0b (bug 791850) for breaking Jetpack 2012-11-13 22:08:22 -08:00
Till Schneidereit
aae89c91b3 Bug 784294 - Convert some array extras to self-hosted js implementations. r=Waldo
The following methods are converted:
- lastIndexOf
- indexOf
- forEach
- some
- every
- reduce
- reduceRight

--HG--
extra : rebase_source : 7dd5dc4167c505c6d02823d2d8d8c7da0cf0e237
2012-08-28 14:35:15 +02:00
Terrence Cole
cd906e6a9c Bug 807151 - Unexport |mozilla| from the |js| namespace; r=Waldo
Clang does not want to allow js::ion::Range and mozilla::Range simultaneously
when we have a |namespace js { using namespace mozilla; }| declaration.
2012-11-06 17:35:18 -08:00
Steve Fink
09ab5890c3 Bug 807458 - Eliminate a SkipRoot from NewDenseCopiedArray. r=terrence
--HG--
extra : rebase_source : 57b50c345cb0a9a481efda9a8526732d5129df48
2012-11-01 13:57:47 -07:00
Benjamin Peterson
6f256d0cfc backout bug 778948 eace14fccc47 for horrible sunspider regression r=me 2012-10-26 17:59:35 -07:00
Benjamin Peterson
fdcce4984a Bug 778948 - Move jsinterp to vm/Interpreter. r=luke
--HG--
rename : js/src/jsinterpinlines.h => js/src/vm/Interpreter-inl.h
rename : js/src/jsinterp.cpp => js/src/vm/Interpreter.cpp
rename : js/src/jsinterp.h => js/src/vm/Interpreter.h
2012-10-26 16:51:05 -07:00
Isaac Aggrey
c984edf823 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Steve Fink
1aa9703a18 Bug 802319 - Various rooting fixes. r=terrence
js/src/tests (jstests) currently passes all tests with rooting analysis on with this patch applied.
2012-10-15 16:23:33 -07:00
Jan de Mooij
cfaf573c1e Bug 797131 part 2 - Add FastInvokeGuard and use it. r=dvander 2012-10-06 11:37:59 +02:00
Jan de Mooij
d3c0716239 Bug 797825 - Port Array.prototype.concat fast path from JM to Ion. r=dvander
--HG--
extra : rebase_source : e5213bb7085685821f80ad9978b7b81706289c36
2012-10-05 20:25:21 +02:00
Nicholas Nethercote
7ccd4b6875 Bug 796760 (part 1) - Exactly root JSTraceOp. r=terrence.
--HG--
extra : rebase_source : da9591cf8013337b954d11d6921d6a666aae49e7
2012-10-02 22:02:44 -07:00
Nicholas Nethercote
17b654ebc0 Bug 795768 (part 1) - Remove lots of dead JSContext* occurrences.
--HG--
extra : rebase_source : 78cfccb915228146c36951fe4912b7b59e544319
2012-09-30 21:13:53 -07:00
Bill McCloskey
7f9b2c5ac7 Bug 787856 - Initial support for lazy prototypes (r=bhackett) 2012-09-26 09:49:20 -07:00
Nicholas Nethercote
3ed4a35591 Bug 793086 (part 1) - Convert JSClassInitializerOp parameter to HandleObject. r=sfink.
--HG--
extra : rebase_source : e8d20aad8abc0bf85df1f05e90be1ce46e8f0125
2012-09-20 22:17:49 -07:00
Nicholas Nethercote
2a2cfa4032 Bug 791611 (part 1) - Exactly root most JSObjects in jsinfer.cpp. r=terrence.
--HG--
extra : rebase_source : 1b39f0220a1f0ec0f8633b6a0aa5685f1d3a2c02
2012-09-16 16:32:02 -07:00
Jeff Walden
6b2880f5e0 Bug 790349 - Convert all fooAtom uses to simply foo. r=jorendorff 2012-09-11 10:32:33 -07:00
Jeff Walden
a64d75f7d2 Bug 789635 - Clean up JSAtomState so that all atom fields are macro-defined, and move the atoms set into JSRuntime directly. r=jorendorff
--HG--
extra : rebase_source : ed461a1092fde477a199499e4519885598be7079
2012-09-06 13:48:40 -07:00
Jeff Walden
cc765a5e4f Backed out changeset 17d36418f4d6, possible memory leak. r=graphserver
--HG--
extra : rebase_source : ce0a13c66211ad536eca08722cf15b2214e0d8da
2012-09-17 15:10:47 -07:00
Jeff Walden
50020d948f Backed out changeset d3d8807c6c59, possible memory leak. r=graphserver
--HG--
extra : rebase_source : f1b208bb368083e8685619a5f0e11fb6c2ffd09b
2012-09-17 15:04:21 -07:00
Jeff Walden
722abfa804 Bug 790349 - Convert all fooAtom uses to simply foo. r=jorendorff
--HG--
extra : rebase_source : b0b255d242dbb8cef2df3c758bec82e88699ecdd
2012-09-11 10:32:33 -07:00
Jeff Walden
97f25845a0 Bug 789635 - Clean up JSAtomState so that all atom fields are macro-defined, and move the atoms set into JSRuntime directly. r=jorendorff
--HG--
extra : rebase_source : 83316d60be6a58b5a4b51058331068bf68ec0626
2012-09-06 13:48:40 -07:00
David Anderson
f6eca6c7f0 Merge from mozilla-central.
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
David Anderson
a77264d9fb Merge from mozilla-central.
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
Luke Wagner
992c618fdb Bug 749371 - Break JS_ClearScope into two not-as-bad functions (r=mrbkap) 2012-08-23 11:23:28 -07:00
David Anderson
3b9fed8952 Merge from mozilla-central. 2012-08-22 16:09:24 -07:00
David Anderson
a264d0ebc8 Merge from mozilla-central. 2012-08-21 15:59:12 -07:00
Luke Wagner
76b8fb7891 Bug 787246 - rm OffTheBooks/Foreground/UnwantedForeground gunk (r=billm) 2012-08-31 15:01:33 -07:00
David Anderson
5c045998a5 Merge from mozilla-central. 2012-08-13 13:40:42 -07:00
Brian Hackett
fb5a9e53e9 Make JSObject::doSomethingToThisObject methods static, bug 782646. r=terrence 2012-08-21 13:13:28 -06:00
David Anderson
7ab97db10e Merge from mozilla-central. 2012-08-07 15:13:28 -07:00
David Anderson
f2b01e4cbb Merge from mozilla-central.
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
rename : browser/modules/WebappsInstaller.jsm => toolkit/webapps/WebappsInstaller.jsm
2012-08-06 12:44:06 -07:00
David Anderson
f0e6ae1aeb Merge from mozilla-central. 2012-08-03 18:58:30 -07:00
Terrence Cole
6ad4065816 Bug 772303 - Add missing roots for analysis builds; r=bhackett
--HG--
extra : rebase_source : 2a644e24073fa5c7a655e3322c5379009b2f7181
2012-08-03 09:41:00 -07:00
David Anderson
b1e8dd2805 Merge from mozilla-central. 2012-08-02 13:47:20 -07:00
Benjamin Peterson
aa214d6bae Bug 780051 - Remove JS_MAX and JS_MIN. r=luke 2012-08-02 20:50:51 -07:00
David Anderson
56597a8412 Merge from mozilla-central. 2012-07-31 17:19:41 -07:00
David Anderson
e7f516869b Merge from mozilla-central. 2012-07-30 13:15:39 -07:00
David Anderson
b8519fb4f1 Merge from mozilla-central. 2012-07-26 18:19:02 -07:00
David Anderson
8e99468375 Merge from mozilla-central. 2012-07-25 14:30:08 -07: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
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
David Anderson
04a683031c Merge from mozilla-central. 2012-07-23 12:37:49 -07:00
Tom Schuster
9a36e4253d Bug 775166 - Remove some ugly optimization in jsarray. r=bhackett 2012-07-21 13:06:37 +02:00
David Anderson
07f7d8e680 Merge from mozilla-central. 2012-07-20 12:02:04 -07:00
David Anderson
eec7db39f5 Merge from mozilla-central.
--HG--
rename : js/xpconnect/wrappers/CrossOriginWrapper.cpp => js/xpconnect/wrappers/WaiveXrayWrapper.cpp
rename : js/xpconnect/wrappers/CrossOriginWrapper.h => js/xpconnect/wrappers/WaiveXrayWrapper.h
2012-07-18 19:02:32 -07:00
Tom Schuster
3518ead687 Bug 774510 - Remove uncessary typeOf hooks. r=dvander
--HG--
extra : rebase_source : cd27eda8cc3d5c1eb7011f9a454a40955e396ac4
2012-07-18 01:22:20 +02:00
David Anderson
4264d447f8 Merge from mozilla-central. 2012-07-12 13:23:26 -07:00
David Anderson
12f86be1b6 Merge from mozilla-central.
--HG--
rename : editor/libeditor/base/DeleteElementTxn.cpp => editor/libeditor/base/DeleteNodeTxn.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicBuffers.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicCanvasLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicColorLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicContainerLayer.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicImageLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayerManager.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicLayersImpl.h
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.cpp
rename : gfx/layers/basic/BasicLayers.cpp => gfx/layers/basic/BasicThebesLayer.h
rename : js/src/jsobj.cpp => js/src/builtin/Eval.cpp
2012-07-10 19:45:14 -07:00
Benjamin Peterson
82fd149d83 Bug 778531 - Update Array.prototype.join/toLocaleString to follow ES5. r=jorendorff 2012-08-03 10:27:57 -07: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
Brian Hackett
a8ec4671e3 Add various autorooting, bug 772303. r=terrence 2012-08-12 19:50:49 -06:00
Luke Wagner
d4879a4b25 Bug 770795 - add NullPtr and associated Handle constructor (r=billm) 2012-07-08 03:00:11 -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
Terrence Cole
eec1e4d739 Bug 777992 - Move array slowification barrier closer to update; r=billm
--HG--
extra : rebase_source : c7bb1cb451877282e6d8a1bc2b1e971cbbfad2a7
2012-07-27 12:32:16 -07:00
Luke Wagner
b977054d38 Bug 625199 - remove unnecessary uses of 'parent' that can now use cx->global (r=mrbkap)
--HG--
extra : rebase_source : a71ff786343a910dbd12ebfa4b2dbde4dc9ff2ae
2012-08-17 11:21:57 -07:00
Bill McCloskey
394611c7c4 Bug 771026 - Replace JSProperty with Shape (r=bhackett) 2012-07-04 19:34:06 -07:00
Bill McCloskey
4ef9c9430f Backed out changeset fe305819d2f2 (bug 771026) for orange 2012-07-04 20:22:30 -07:00
Bill McCloskey
4efa4ac7f5 Bug 771026 - Replace JSProperty with Shape (r=bhackett) 2012-07-04 19:34:06 -07:00
Bill McCloskey
acce5240bd Bug 771018 - Replace "const Shape" with "Shape" (r=luke) 2012-07-04 19:33:41 -07:00
Bill McCloskey
a657dff8bb Bug 770999 - Add get() method to Handle<T> and Rooted<T> (r=bhackett) 2012-07-04 13:34:42 -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
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
Terrence Cole
e882261638 Bug 782467 - Remove sharpObjectMap and simplify obj_toSource; r=Waldo r=njn
The sharpObjectMap is only needed to check for recursion now. This means we can
share the necessary cycle detector code with busyArrays and remove the last
chunk of sharp related code.

--HG--
rename : content/html/content/test/test_bug786564.html => content/html/content/test/test_bug742549.html
extra : rebase_source : 0bcfacf3d5c4f7fbfa1774263456b9c2f7288d01
2012-08-17 16:48:02 -07:00
David Anderson
2e039591ee Merge from mozilla-central.
--HG--
rename : js/xpconnect/src/XPCThreadContext.cpp => js/xpconnect/src/XPCJSContextStack.cpp
2012-06-22 14:26:15 -07:00
David Anderson
99dd2a9400 Merge from mozilla-central.
--HG--
rename : accessible/src/msaa/CAccessibleText.cpp => accessible/src/msaa/ia2AccessibleText.cpp
rename : accessible/src/msaa/CAccessibleText.h => accessible/src/msaa/ia2AccessibleText.h
2012-06-20 17:36:56 -07:00
David Anderson
0dd273f1b9 Merge from mozilla-central. 2012-06-15 15:23:58 -07:00
Jeff Walden
8d29eda287 Bug 765341 - Change js_ValueToAtom to return a JSAtom* directly, and rename it to js::ToAtom. r=sfink
--HG--
extra : rebase_source : 44f039cd09ac2ab1825e7f9fd1e2a01f5907bb67
2012-06-12 16:03:10 -07:00
Jeff Walden
94297f56ca Fix narrowing-initializer warnings with gcc 4.7. No bug, r=themaid
--HG--
extra : rebase_source : a5cf16fbc9eb408a9eb286a2f0bb6194835a4bc2
2012-06-12 15:03:12 -07:00
Sean Stangl
391254ef46 Merge m-c to Ionmonkey.
--HG--
rename : accessible/src/base/nsBaseWidgetAccessible.h => accessible/src/generic/BaseAccessibles.h
rename : accessible/src/html/nsHTMLImageMapAccessible.cpp => accessible/src/html/HTMLImageMapAccessible.cpp
rename : accessible/src/html/nsHTMLLinkAccessible.cpp => accessible/src/html/HTMLLinkAccessible.cpp
rename : accessible/src/html/nsHTMLLinkAccessible.h => accessible/src/html/HTMLLinkAccessible.h
2012-06-05 16:54:36 -07:00
Sean Stangl
169aba0505 Merge m-c onto Ionmonkey.
--HG--
rename : accessible/src/atk/nsAccessibleWrap.cpp => accessible/src/atk/AccessibleWrap.cpp
rename : accessible/src/atk/nsAccessibleWrap.h => accessible/src/atk/AccessibleWrap.h
rename : accessible/src/atk/nsDocAccessibleWrap.h => accessible/src/atk/DocAccessibleWrap.h
rename : accessible/src/base/nsAccessible.cpp => accessible/src/generic/Accessible.cpp
rename : accessible/src/base/nsAccessible.h => accessible/src/generic/Accessible.h
rename : accessible/src/base/nsDocAccessible.cpp => accessible/src/generic/DocAccessible.cpp
rename : accessible/src/base/nsDocAccessible.h => accessible/src/generic/DocAccessible.h
rename : accessible/src/mac/nsAccessibleWrap.h => accessible/src/mac/AccessibleWrap.h
rename : accessible/src/mac/nsAccessibleWrap.mm => accessible/src/mac/AccessibleWrap.mm
rename : accessible/src/mac/nsDocAccessibleWrap.h => accessible/src/mac/DocAccessibleWrap.h
rename : accessible/src/mac/nsDocAccessibleWrap.mm => accessible/src/mac/DocAccessibleWrap.mm
rename : accessible/src/msaa/nsAccessibleWrap.cpp => accessible/src/msaa/AccessibleWrap.cpp
rename : accessible/src/msaa/nsDocAccessibleWrap.cpp => accessible/src/msaa/DocAccessibleWrap.cpp
rename : accessible/src/msaa/nsTextAccessibleWrap.cpp => accessible/src/msaa/TextLeafAccessibleWrap.cpp
rename : accessible/src/msaa/nsTextAccessibleWrap.h => accessible/src/msaa/TextLeafAccessibleWrap.h
rename : netwerk/protocol/http/SpdySession.cpp => netwerk/protocol/http/SpdySession2.cpp
rename : netwerk/protocol/http/SpdySession.h => netwerk/protocol/http/SpdySession2.h
rename : netwerk/protocol/http/SpdySession.cpp => netwerk/protocol/http/SpdySession3.cpp
rename : netwerk/protocol/http/SpdySession.h => netwerk/protocol/http/SpdySession3.h
rename : netwerk/protocol/http/SpdyStream.cpp => netwerk/protocol/http/SpdyStream2.cpp
rename : netwerk/protocol/http/SpdyStream.cpp => netwerk/protocol/http/SpdyStream3.cpp
2012-05-31 17:17:52 -07:00
Jeff Walden
e0d399cf0d Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
--HG--
extra : rebase_source : d42f8bcf462de54ff6cc7d9054b2561bdd67686a
2012-06-14 19:13:27 -07:00
David Anderson
edaeadf3ad Merge from mozilla-central. 2012-05-21 14:40:04 -07:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Till Schneidereit
13d215507a Bug 763800 - Changes GCHelperThread to work on the main thread in non-threadsafe builds and removes lots of henceforth redundant #ifdef JS_THREADSAFE's (r=billm) 2012-06-13 11:27:45 +02:00
David Anderson
68a2caab6c Merge from mozilla-central. 2012-05-08 17:34:07 -07:00
David Anderson
500c4ec73e Merge from mozilla-central.
--HG--
rename : accessible/src/base/nsRootAccessible.cpp => accessible/src/generic/RootAccessible.cpp
rename : accessible/src/base/nsRootAccessible.h => accessible/src/generic/RootAccessible.h
rename : js/src/jsgcmark.cpp => js/src/gc/Marking.cpp
rename : js/src/jsgcmark.h => js/src/gc/Marking.h
2012-05-04 19:16:35 -07:00
David Anderson
d1f7c1b50b Merge from mozilla-central. 2012-05-03 11:40:52 -07:00
Tom Schuster
9827e8040d Bug 749620 - Add missing power of 10 for edge case. r=luke 2012-05-02 16:11:00 +02:00
David Anderson
4ba6ace977 Merge from mozilla-central.
--HG--
rename : accessible/src/atk/nsApplicationAccessibleWrap.cpp => accessible/src/atk/ApplicationAccessibleWrap.cpp
rename : accessible/src/atk/nsApplicationAccessibleWrap.h => accessible/src/atk/ApplicationAccessibleWrap.h
rename : accessible/src/base/nsApplicationAccessible.cpp => accessible/src/generic/ApplicationAccessible.cpp
rename : accessible/src/base/nsApplicationAccessible.h => accessible/src/generic/ApplicationAccessible.h
rename : browser/devtools/webconsole/test/browser_gcli_integrate.js => browser/devtools/shared/test/browser_gcli_integrate.js
rename : browser/devtools/webconsole/test/browser_gcli_web.js => browser/devtools/shared/test/browser_gcli_web.js
rename : security/manager/ssl/src/nsNSSIOLayer.cpp => security/manager/ssl/src/TransportSecurityInfo.cpp
rename : security/manager/ssl/src/nsNSSIOLayer.h => security/manager/ssl/src/TransportSecurityInfo.h
2012-04-30 12:53:32 -07:00
David Anderson
ba81f28215 Merge from mozilla-central.
--HG--
rename : accessible/src/base/nsFormControlAccessible.cpp => accessible/src/generic/FormControlAccessible.cpp
rename : accessible/src/base/nsFormControlAccessible.h => accessible/src/generic/FormControlAccessible.h
rename : accessible/src/html/nsHTMLFormControlAccessible.cpp => accessible/src/html/HTMLFormControlAccessible.cpp
rename : accessible/src/html/nsHTMLFormControlAccessible.h => accessible/src/html/HTMLFormControlAccessible.h
rename : accessible/src/xul/nsXULFormControlAccessible.cpp => accessible/src/xul/XULFormControlAccessible.cpp
rename : accessible/src/xul/nsXULFormControlAccessible.h => accessible/src/xul/XULFormControlAccessible.h
2012-04-18 10:23:31 -07:00
Brian Hackett
f846f2d027 Disallow non-canonical jsids, bug 751331. r=luke 2012-05-06 13:45:19 -07:00
Bill McCloskey
9a4cdd8394 Bug 768732 - Write barrier for array slowification (r=bhackett) 2012-06-30 14:29:09 -07:00
Jeff Walden
48d3ba0aaf Bug 769132 - Add a receiver argument to all the set-property APIs. r=luke 2012-06-27 20:21:39 -07:00
Ryan VanderMeulen
d3f4db6b67 Backout b97cdd8008a0, bc305a9ac000, and 03549c72043d due to Android browser-chrome orange. 2012-06-30 11:09:26 -04:00
Jeff Walden
69e1c26e5e Bug 769132 - Add a receiver argument to all the set-property APIs. r=luke
--HG--
extra : rebase_source : 0ee388ad61955291a348639ae22cea07808cb4f6
2012-06-27 20:21:39 -07:00
Steve Fink
ec5e317f09 Bug 767141 - moar rooting. r=bhackett
Believed to be complete rooting for jsapi.cpp, ctypes/CTypes.cpp, and frontend/BytecodeCompiler.cpp, and lots of rooting for additional things I encountered along the way

--HG--
extra : rebase_source : 638ab985e7d9c96654347364d053bb4a3acf3b36
2012-06-21 14:19:21 -07:00
Luke Wagner
6359cf9f42 Bug 768446 - Remove StackIter::sp_ (r=dvander)
--HG--
extra : rebase_source : 4a2e40e8cc8d8bddcefd2a2687354b5dacd3f248
2012-06-29 10:34:09 -07:00
Jeff Walden
eccdfcb902 Bug 769041 - Remove __proto__ special-casing from arrays' getProperty hook. r=luke 2012-06-27 14:32:03 -07:00
David Anderson
a007e37c01 Merge from mozilla-central. 2012-04-04 13:40:49 -07:00
Jan de Mooij
b6052065ee Bug 739572 part 1 - Inline array.pop and array.shift. r=dvander 2012-04-03 09:26:15 +02:00
Eddy Bruel
adf48063d1 Bug 703537: Removing the fix trap r=jorendorff@mozilla.com 2012-04-27 17:09:32 -04:00
Jeff Walden
8bbedc5d21 Bug 747197 - Move basic numeric conversion operations (double->uint32_t, double->int32_t, double->integer, but not Value->* just yet) into vm/NumericConversions.h, a header with minimized dependencies. r=luke
--HG--
extra : rebase_source : 9adeb7048427d501dddc4a13b735309f7b1207c6
2012-04-19 16:18:24 -07:00
Brian Hackett
5932dbcb76 Get rooting analysis to pass jit-tests in the interpreter, bug 745742. r=billm 2012-04-30 17:10:30 -07:00
Nicholas Nethercote
6ca9f23930 Bug 711895 - Tweak the warning options used for GCC builds (3rd attempt). r=waldo,derf,khuey,mhommey.
--HG--
extra : rebase_source : 20540c9b838ee3be6cb0847c1b90fdc3bd44059d
2012-03-21 22:21:16 -07:00
Ed Morley
5a59a93dac Backout 1c5a8d617bff (bug 765990), 617cb36ead59, b3067d05a76a (bug 760995), 79f9a61a1e43 (bug 426163) for bustage 2012-06-21 10:00:36 +01:00
Jeff Walden
5593b79924 Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke 2012-06-14 19:13:27 -07:00
Jeff Walden
61187f190b Back out 2fe1b4d570df for obvious browser-build bustage, less-obvious shell build bustage. r=ಠ_ಠ 2012-06-20 15:49:56 -07:00
Jeff Walden
f0f8f1fd8b Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
--HG--
extra : rebase_source : 5623e436f6cd03a90ba0a188ee5d2fa8f8577766
2012-06-14 19:13:27 -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
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
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
bfba482500 Bug 738075 - Remove the unnecessary Class* argument from GlobalObject::createConstructor. r=dmandelin 2012-03-21 13:32:43 -07:00
Brian Hackett
8d76a85fea Rename RootedVar to Rooted, bug 756823. r=billm 2012-05-24 16:05:18 -07:00
Luke Wagner
e89e33891b Bug 659577 - Don't alias stack variables (r=bhackett)
--HG--
rename : js/src/jit-test/tests/basic/testBug659577.js => js/src/jit-test/tests/basic/testBug659577-1.js
2012-02-23 13:59:10 -08:00
Nicholas Nethercote
1dae898653 merge 2012-03-21 21:48:40 -07:00
Nicholas Nethercote
7ac3a573ad Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me. 2012-03-21 21:46:27 -07:00
Nicholas Nethercote
e2181e8fb2 Bug 711895 - Tweak the warning options used for GCC builds (2nd attempt). r=waldo,derf,khuey,mhommey,jwatt. 2012-03-15 19:40:00 -07:00
Jeff Walden
e823461381 Bug 728411 - Move slot range operations into ObjectImpl. r=bhackett
--HG--
extra : rebase_source : 704d67267923e019df82de7f77f60b48c6c62128
2012-02-23 15:39:32 -08:00
Luke Wagner
4d418a1913 Bug 720753 - hoist NewObjectCache from JSCompartment into JSRuntime (r=bhackett) 2012-05-03 09:12:47 +02:00
Jim Blandy
bd7212f7b7 Bug 777174: Change CallNonGenericMethod to take the predicate and implementation as template arguments, not function arguments. r=luke
On x86_64 Fedora 17, this patch yields an 8ms (1.6%) speedup on SunSpider compared to the tree just prior to the introduction of CallNonGenericMethod, or a ~12ms (2.8%) speedup compared to the tree just after the introduction.
2012-08-16 11:40:05 -07:00
Brian Hackett
1cb6d6b979 Add more rooters, bug 772303. r=billm 2012-07-10 19:17:29 -06:00
Brian Hackett
d55ff730fa Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 15:03:45 -07:00
Tom Schuster
5f6d13c6fc Bug 673499 - remove some trailing whitespace from js/src. r=jorendorff 2012-05-19 21:56:17 +02:00
Brian Hackett
66d81d0a7e Backed out changeset 5fc7462dd394 for android orange. 2012-05-19 11:52:55 -07:00
Brian Hackett
7235558c07 Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 09:48:09 -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
Ed Morley
030064a5fc Backout afab1aaf6704 & 0405d42629fd (bug 747197), 0379525bbdca (bug 746262), 91b9cba098f8 (bug 745944), 8535dc5b590a (bug 741040) for win debug bustage 2012-04-25 09:54:34 +01:00
Jeff Walden
c84934111a Bug 747197 - Move basic numeric conversion operations (double->uint32_t, double->int32_t, double->integer, but not Value->* just yet) into vm/NumericConversions.h, a header with minimized dependencies. r=luke
--HG--
extra : rebase_source : a564ba8f6a4350c1c49359f08e9de44670b89aeb
2012-04-19 16:18:24 -07:00
Brian Hackett
8ba260b5ce Add most handles and stack rooters needed for exact scanning on shell benchmarks, bug 714647. r=billm 2012-04-12 09:23:51 -07:00
Jeff Walden
e868abd4e1 Bug 714260 - Implement FloatingPoint.h to consolidate all IEEE-754 floating point operations in a single location. r=dmandelin for the js bits, r=Ms2ger for mfbt and the core bits 2012-01-23 03:43:16 -08:00
Matt Brubeck
d4e1cdd51e Back out e4c82a6b298c, 036194408a50, 39acc9f51df8 (bug 714647 and followups) because of test_finalizer.js crashes in Linux64 PGO builds 2012-04-12 22:07:43 -07:00