Commit Graph

18741 Commits

Author SHA1 Message Date
Matt Brubeck
0b4eb8cbc4 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
b3ffffc60f 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
3c9ce6c666 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
3459a138d6 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
bc677e5e13 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
5ebf7f6832 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
3d6371ce48 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
f292482b86 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
4817a993d2 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
34c21a01f5 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
61de8b7612 Bug 744103, part 4 - Remove nsCycleCollectionLanguageRuntime. r=smaug 2012-05-03 12:28:11 -07:00
Andrew McCreight
e9753b7090 Bug 744103, part 3 - Change NoteRoot to NoteJSRoot and NoteNativeRoot. r=smaug 2012-05-03 12:28:11 -07:00
Andrew McCreight
38b851ba07 Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug 2012-05-03 12:28:10 -07:00
Peter Van der Beken
926ed983fc 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
5c873cfedf Bug 749663 - Rename isCompileable to isJaegerCompileable. r=bhackett
--HG--
extra : rebase_source : f2215a721eb97610253d52e66cbb0e5b37a53a63
2012-05-03 12:13:44 +02:00
Marco Castelluccio
deee01a74c Bug 751280 - Remove 2-arg form of xpc_FastGetCachedWrapper. r=bholley 2012-05-03 06:22:58 -04:00
Joey Armstrong
844ee8d341 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
c86eee086b 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
7e836f5cb7 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
d8c5ca3906 Bug 720753 - hoist EvalCache from JSCompartment into JSRuntime (r=igor) 2012-05-03 09:12:48 +02:00
Luke Wagner
5db288b202 Bug 720753 - hoist ToSourceCache from JSCompartment into JSRuntime (r=cdleary) 2012-05-03 09:12:48 +02:00
Luke Wagner
79d0b6f69c Bug 720753 - hoist NativeIterCache from JSCompartment into JSRuntime (r=bhackett) 2012-05-03 09:12:47 +02:00
Luke Wagner
35efd844da Bug 720753 - hoist NewObjectCache from JSCompartment into JSRuntime (r=bhackett) 2012-05-03 09:12:47 +02:00
Luke Wagner
68d492d13d Bug 720753 - hoist JaegerCompartment and MathCache from JSCompartment into JSRuntime (r=bhackett,njn) 2012-05-03 09:12:47 +02:00
Luke Wagner
124e932158 Bug 720753 - hoist scriptFilenameTable from JSCompartment into JSRuntime (r=igor) 2012-05-03 09:12:47 +02:00
Luke Wagner
b1d0aeeace Bug 650353 - Implement Compartment-Per-Global in XPConnect. r=mrbkap 2012-05-03 09:10:12 +02:00
Luke Wagner
8cef559f81 Bug 722775 - rm sameGroupAs. r=mrbkap 2012-05-03 09:10:10 +02:00
Kyle Huey
5b2a978d28 Bug 750183 - Don't nuke chrome->chrome cross-compartment wrappers. r=bholley 2012-05-03 09:10:08 +02:00
Landry Breuil
2bb49816dd Bug 691898 - Use YARR regexp interpreter instead of PCRE on platforms where YARR JIT is not supported r=dmandelin
PCRE doesn't build anyway.
2012-05-03 08:41:30 +02:00
Mike Hommey
6270d1354a Bug 561973 - Install js shell when running make install from js/src. r=jimb 2012-05-03 08:40:40 +02:00
Boris Zbarsky
224115946f Bug 742217. Reduce the use of nested namespaces in our binding code. r=peterv,bent
In the new setup, all per-interface DOM binding files are exported into
mozilla/dom.  General files not specific to an interface are also exported into
mozilla/dom.

In terms of namespaces, most things now live in mozilla::dom.  Each interface
Foo that has generated code has a mozilla::dom::FooBinding namespace for said
generated code (and possibly a mozilla::bindings::FooBinding_workers if there's
separate codegen for workers).

IDL enums are a bit weird: since the name of the enum and the names of its
entries all end up in the same namespace, we still generate a C++ namespace
with the name of the IDL enum type with "Values" appended to it, with a
::valuelist inside for the actual C++ enum.  We then typedef
EnumFooValues::valuelist to EnumFoo.  That makes it a bit more difficult to
refer to the values, but means that values from different enums don't collide
with each other.

The enums with the proto and constructor IDs in them now live under the
mozilla::dom::prototypes and mozilla::dom::constructors namespaces respectively.
Again, this lets us deal sanely with the whole "enum value names are flattened
into the namespace the enum is in" deal.

The main benefit of this setup (and the reason "Binding" got appended to the
per-interface namespaces) is that this way "using mozilla::dom" should Just
Work for consumers and still allow C++ code to sanely use the IDL interface
names for concrete classes, which is fairly desirable.

--HG--
rename : dom/bindings/Utils.cpp => dom/bindings/BindingUtils.cpp
rename : dom/bindings/Utils.h => dom/bindings/BindingUtils.h
2012-05-03 00:35:38 -04:00
Ehsan Akhgari
588ee9732d Merge mozilla-central into mozilla-inbound on a CLOSED TREE 2012-05-02 21:52:33 -04:00
Matt Brubeck
e5d1d7a8d7 Merge mozilla-central and mozilla-inbound 2012-05-02 15:58:11 -07:00
Bobby Holley
e79c2696df Bug 750859 - Remove {Disable,Revert}Capability. r=bz, PGO helper on CLOSED TREE 2012-05-02 23:57:43 +02:00
Bobby Holley
999f61cc07 Bug 750859 - Remove (most of) SetCanEnableCapability. r=bz 2012-05-02 23:57:34 +02:00
Luke Wagner
68271c690b Bug 749617 - Optimize js::CloneScript (r=njn,a=not-libxul)
--HG--
extra : rebase_source : a18f454312960f048b0ef15a3b3b7d48f9ba49f8
2012-05-01 20:39:05 -07:00
Luke Wagner
6e6725aa40 Bug 749617 - improve getLocalNamesArray (r=waldo,a=not-libxul)
--HG--
extra : rebase_source : 184c3644798da9bca23da017f6f9a53e28711930
2012-05-01 15:45:01 -07:00
Luke Wagner
21cdda8ba2 Bug 749617 - rm XDRState::codeString (r=njn,a=not-libxul)
--HG--
extra : rebase_source : de4e8eba904cd44a7b3d99edd85d841a359b83d5
2012-05-01 14:01:06 -07:00
Christian Holler
2c3a6eb67a Bug 749588 - Remove set_limits in jit_test.py, r=dmandelin
--HG--
extra : rebase_source : 98b9b32f10030f3605d88b904d749ac30b98c824
2012-04-30 22:01:29 -04:00
Ehsan Akhgari
f92cf63082 Backout changeset b0200dab0ccc to revert the incorrect backout of an fx-team range (no bug)
This is the range I mistakenly backed out before:
http://hg.mozilla.org/mozilla-central/pushloghtml?changeset=bc5fee76550b
2012-05-02 16:11:19 -04:00
Ehsan Akhgari
7dbe654abb Backout the latest merge from fx-team because of Ts regressions (no bug) 2012-05-02 15:37:08 -04:00
Tim Taubert
6689ee6814 merge m-c to fx-team; a=js-only 2012-05-02 15:36:57 +02:00
Jim Blandy
444351874c Bug 750368: Help 'make xpcshell-tests' find 'mozinfo' Python module. r=ted 2012-05-01 16:54:45 -07:00
Jeff Walden
b4eb675f78 Fix some optimized-build warnings, neither yet reported as far as I know. No bug, r=themaid 2012-04-28 10:09:27 -07:00
Jeff Walden
f1745df11d Fix build warnings introduced by bug 745057, bug 739380, and bug 746036 (warnings reported as bug 749951 and bug 749933, and in bug 746036 itself). r=chucktesta 2012-04-28 09:58:30 -07:00
Jeff Walden
695a6434d9 Remove an unnecessary jsdate.h #include from jsobjinlines.h, and add a new one to vm/GlobalObject.cpp, significantly reducing the number of files compiled when jsdate.h changes. No bug, r=sparky 2012-04-26 18:58:30 -07:00
Joey Armstrong
df698ab2be Bug 743243 - Add isTargetStem makefile function. r=ted 2012-04-28 11:16:12 -04:00
Gabor Krizsanits
f65e785137 Bug 735280 - Part 3: Components object specific wrapper. r=bholley 2012-04-28 09:12:28 -04:00
Gabor Krizsanits
9d24c0533d Bug 735280 - Part 2: Add pre-create to nsXPComponents. r=bholley 2012-04-28 09:12:27 -04:00
Gabor Krizsanits
23bb9a03fc Bug 735280 - Part 1: Connect XPCWrappedNativeScope and Components. r=bholley 2012-04-28 09:12:27 -04:00