Commit Graph

33699 Commits

Author SHA1 Message Date
Mike Hommey
26410382c6 Bug 837665 - Show command line and response file contents when expandlibs_exec'ed command fails. r=ted 2013-02-14 08:23:49 +01:00
Makoto Kato
d53fd4d9d0 Bug 834645 - move -STACK parameter to config.mk. r=ted 2013-02-14 15:22:00 +09:00
David Anderson
bcbf26128c Implement JSOP_CALLEE in JM (bug 794427, r=bhackett).
--HG--
extra : rebase_source : 6aa85c3434a70d93fcf409bdb4cc2baaf024896e
2013-02-13 17:24:50 -08:00
Jeff Walden
0f8356be9f Bug 840400 - Add an IsObject helper to Utilities.js, to centralize all workarounds for |typeof| brokenness. r=Norbert 2013-02-12 09:49:18 -08:00
Daniel Holbert
6715823ce6 Bug 841146: Remove unused member-variable 'compileContext_' from class ParallelArrayVisitor. r=nmatsakis 2013-02-13 16:27:13 -08:00
Daniel Holbert
1d1f3d16d5 Bug 841132: Remove unused variable 'notes' from js::XDRScript(). r=njn,till 2013-02-13 16:26:02 -08:00
Bobby Holley
424b997531 Bug 819158 - Introduce stopAtOuter for UnwrapObjectChecked. r=mrbkap
We need to simultaneously stop marking outers as unsafe to unwrap, otherwise
we'll end up with paradoxical behavior whereby stopAtOuter=true returns null
but stopAtOuter=false returns an object. This is fine, because we're now
handling outer explicitly.
2013-02-14 01:11:32 +01:00
Ting-Yuan Huang
1fde28f321 Bug 715419 - Specializing Array.prototype.sort when given the comparator is "return arg1 - arg2". Patch includes some minor tweaks/comment adjustments from jwalden. r=luke, r=jwalden 2012-10-29 16:05:51 +08:00
Norbert Lindenberg
a6cc82755a Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 4). r=jwalden
--HG--
extra : rebase_source : a51e36f6ebd1a51239982177c3e7e31019a87e6b
2013-02-13 12:20:06 -08:00
Jeff Walden
5a947aca57 Bug 835551 - Add a new header consolidating non-configure-generated #defines that we require in order to build. r=ted
--HG--
extra : rebase_source : 58c101eeff26cd8060d76a60f6a9b8241b5c9cdb
2013-02-06 19:09:59 -08:00
Rico Tzschichholz
dd565346db Bug 831552 - Install all SpiderMonkey headers when |make install| happens. The ones in INSTALLED_HEADERS have additional dependencies which must be copied into place as well for the whole thing to work correctly. r=jimb, r=ted
--HG--
extra : rebase_source : c98894717ab94044e800a73f3c91dec1129e3d5f
2013-01-17 01:07:01 +01:00
Kannan Vijayan
76146d4a63 Bug 840162 - Fix loadValue/storeValue with BaseIndex arguments. r=mjrosenb 2013-02-13 16:11:21 -05:00
Kannan Vijayan
d8a85e60fa Bug 840162 - Fix toggled call branch tracing on ARM. r=mjrosenb 2013-02-13 14:38:24 -05:00
Terrence Cole
0d9b56a753 Bug 839673 - Do not access the ArenaHeader of already-finalized GCThings; r=luke 2013-02-12 17:48:10 -08:00
Terrence Cole
21e9690848 Back out changeset 0d285589f47a (Bug 839673) - Broken Merge 2013-02-13 11:04:25 -08:00
Terrence Cole
e344448996 Bug 839673 - Do not access the ArenaHeader of already-finalized GCThings; r=luke
--HG--
extra : rebase_source : 8880f66b823b58b8d723fbf2bca4848cc1173ce9
2013-02-12 17:48:10 -08:00
Till Schneidereit
aaaa38004a Bug 679940 - Share bytecode, source notes and atoms of functions in a runtime wherever possible. r=bhackett
--HG--
extra : rebase_source : 1518f7830a5640a2216c2d828859b8660d3fff60
2013-02-02 00:02:08 +01:00
Jim Blandy
df2818344b Bug 840319: Keep js/src/gdb/gdb-tests.cpp's 'breakpoint' function from being unified with other functions in SM. r=sfink 2013-02-12 11:55:00 -08:00
Jim Blandy
30fa5dfcaa Bug 839791: Update JS GDB support for JS_ARRAY_HOLE -> JS_ELEMENTS_HOLE change. r=sfink 2013-02-12 11:55:00 -08:00
Terrence Cole
b34103932c Bug 839215 - Make large typedarrays singletons more aggressively; r=bhackett
--HG--
extra : rebase_source : df0ea62ae25f7c106de01e38fb8ac729b0148f63
2013-02-12 11:50:49 -08:00
Kannan Vijayan
27f2bf4374 Bug 840162 - Add subPtr for registers to ARM masm. r=mjrosenb 2013-02-12 13:21:48 -05:00
Andrew McCreight
0d610e97de Bug 784730 - Add missing comment. r=bholley DONTBUILD 2013-02-12 09:46:34 -08:00
Terrence Cole
b4b207561d Bug 837845 - Manually backout the largest memory users from bug 798624; r=Waldo 2013-02-05 14:22:27 -08:00
Ed Morley
d561628a63 Merge mozilla-central to mozilla-inbound 2013-02-12 14:57:45 +00:00
Ed Morley
6838b640f5 Merge latest green inbound changeset to mozilla-central 2013-02-12 14:43:06 +00:00
Ms2ger
8eb9c85444 Bug 837176 - Simplify code flow in CheckSideEffects; r=jorendorff 2013-02-12 11:14:01 +01:00
Nicholas Nethercote
c0bafe9236 Bug 839376 (part 4) - Fix four or five more rooting hazards. r=sfink.
--HG--
extra : rebase_source : 4e4e844c48b5282b772845c87f56e2384cf68998
2013-02-11 19:35:22 -08:00
Norbert Lindenberg
8a74354ab7 Bug 839751 - "Assertion failure: i < argc_" with localeCompare. r=jwalden
--HG--
extra : rebase_source : 82f04b0635be8e2f408e37d33a2ba186d3810011
2013-02-11 19:04:36 -08:00
Sean Stangl
d289d1a685 Bug 840339 - Include inlined JSScript definitions to fix warnings. r=dholbert 2013-02-11 18:08:21 -08:00
Olli Pettay
b9080a0df7 Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey 2013-02-11 21:37:50 +02:00
Olli Pettay
cd8c72e7b9 Bug 839465 - Implement SmartCardEvent using event code generator, r=mounir 2013-02-11 21:37:20 +02:00
Ryan VanderMeulen
e0034d1783 Merge m-c to inbound. 2013-02-11 13:51:32 -05:00
Mike Hommey
645fcfb2cb Bug 790115 - Create .purgecaches in $(DIST)/bin and $(DIST)/bin/webapprt, and allow to override $(DIST)/bin. r=ted 2013-02-11 14:10:10 +01:00
Bobby Holley
047d41c0d3 Bug 839867 - Align gecko with the spec on cross-origin access to Location.hash. r=bz
We update the tests to cover this case. There was also a bug in the tests where
we were accidentally testing non-writable Location properties against window
rather than window.location. :-(
2013-02-11 00:05:17 +01:00
Jan de Mooij
e8a4e9dbf1 Bug 839982 part 6 - Create |this| before creating the resume point when inlining NEW. r=djvj 2013-02-12 13:11:28 +01:00
Jon Coppeard
09fed6b339 Bug 839471 - GC: Sweep type objects on the background thread r=billm 2013-02-08 08:40:39 +00:00
Mike Hommey
d9a1f5bf4a Bug 839824 - Fix build error with gcc 4.4 in MIR.h. r=dvander 2013-02-12 11:02:53 +01:00
Ryan VanderMeulen
786e2cf549 Merge m-c to inbound. 2013-02-11 20:49:31 -05:00
Jeff Walden
6400117085 Bug 826009 - Move locale callback info, default locale, etc. data and APIs to be JSRuntime-centered. f=bholley, r=jorendorff
--HG--
extra : rebase_source : 35317f4c29e9dd70e7d4fd1292027cfd51ce2675
2013-02-07 18:04:11 -08:00
Tom Schuster
b60b81ab67 Bug 840172 - Rooting fixes for Wrapper and wrap. r=terrence 2013-02-12 01:31:10 +01:00
Andrew McCreight
cfb102dafc Bug 784730 - Crash in ReparentWrapperIfFound if wrapper already in scope. r=bholley 2013-02-06 12:18:54 +00:00
Nicholas Nethercote
62c71cbd25 Bug 839376 (part 3) - Some low-hanging exact rooting fruit. sfink.
--HG--
extra : rebase_source : 1d236895915f9474fd8e50c399bf2cd8139a6b5f
2013-02-11 14:04:25 -08:00
Nicholas Nethercote
b8cbaab9f8 Bug 839376 (part 2) - Add some easy exact roots for jsinfer.cpp. r=sfink.
--HG--
extra : rebase_source : 38732b05549e2f322b33ce4728ae2e38f5b82e56
2013-02-11 14:04:02 -08:00
Nicholas Nethercote
94dab59664 Bug 839376 (part 1) - Add an exact root for jstypedarray.cpp. r=sfink.
--HG--
extra : rebase_source : fb5dd6bbd53ac0949070f574a636ec480131741b
2013-02-11 14:03:02 -08:00
Sean Stangl
6da51915ea Bug 839727 - Minor cleanups around polymorphic inlining. r=djvj 2013-02-11 13:16:53 -08:00
Tom Schuster
5f0b19c873 Bug 838558 and Bug 839027: checkin lost changsets in XPC. CLOSED TREE 2013-02-11 22:07:35 +01:00
Tom Schuster
d258d07269 Bug 838558 - Kill object equality hook. r=jorendorff 2013-02-11 21:06:05 +01:00
Tom Schuster
68dff1d068 Bug 839027 - Kill object typeof hook. r=jorendorff 2013-02-11 21:05:13 +01:00
Jim Blandy
91c0c54823 Bug 828078: JS GDB support: Add dummy type lookup to work around GDB bug (fixed in present GDB sources). r=sfink 2013-02-09 09:14:13 -08: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
Jan de Mooij
45e4ad6dfd Bug 836742 part 2 - Move EnsureExitFrame to IonFrames.cpp, rename IonFrame_Bailed_*. r=nbp 2013-02-09 13:49:07 +01:00
Jeff Walden
39b56d89e1 Rename the |static const bool result| member of IsSame, IsPod, and IsPointer to |value| to be consistent with every other type trait. I have no idea how I managed to consistently not notice this during review. Followup to bug 723228, r=typo 2013-02-08 22:59:54 -08:00
Luke Wagner
26b857966d Bug 839582 - IonMonkey: assume high word of 64-bit registers are zero (r=sstangl)
--HG--
extra : rebase_source : d5079610c41e0fcbbe1dbd28f2eeadd2a22b148b
2013-02-08 16:50:33 -08:00
Jason Orendorff
561c40e9d6 Bug 838813 part 12 - Remove SRC_DESTRUCTLET. r=njn.
--HG--
extra : rebase_source : d488c8834a0a0c45b688e2f3aefbcef7e108aa45
2013-02-08 17:21:51 -06:00
Jason Orendorff
13aa192cc9 Bug 838813 part 11 - Remove SRC_FUNCDEF. r=njn.
--HG--
extra : rebase_source : 61ff397858fff3a7aa009249c9727bbebf5942f5
2013-02-08 17:21:29 -06:00
Jason Orendorff
c4aedbc010 Bug 838813 part 10 - Do not remove SRC_SWITCH. Note where it's used. r=njn.
--HG--
extra : rebase_source : ec2423aa9d7239f5a748fc56856b6f2befe7523e
2013-02-08 17:20:24 -06:00
Jason Orendorff
a39f6da634 Bug 838813 part 9 - Remove SRC_ENDBRACE. r=njn.
--HG--
extra : rebase_source : 5841780fb0f359a7df870fdc3daa3ac7b0ea95ea
2013-02-08 17:20:14 -06:00
Jason Orendorff
f419a643c8 Bug 838813 part 8 - Remove SRC_LABEL and SRC_LABELBRACE. r=njn.
--HG--
extra : rebase_source : 4d6e2c9c541e9021f28c1d689af5f074fa5b4b46
2013-02-08 17:20:03 -06:00
Jason Orendorff
06ea7a4dc4 Bug 838813 part 7 - Remove SRC_PCBASE. r=njn.
--HG--
extra : rebase_source : f30407a5b6302ca0636453a8a44d37a9e3d3afac
2013-02-08 17:19:52 -06:00
Jason Orendorff
d9d2920226 Bug 838813 part 6 - Remove SRC_BRACE. r=njn.
--HG--
extra : rebase_source : e755d89dffb79cac8b2c356560ede44ff9a359e7
2013-02-08 17:19:42 -06:00
Jason Orendorff
862666a8ea Bug 838813 part 5 - Remove SRC_DESTRUCT. r=njn.
--HG--
extra : rebase_source : b070a9429ff3e72ce94e314734c940d9248b37a6
2013-02-08 16:15:42 -06:00
Jason Orendorff
8911f60a07 Bug 838813 part 4 - Remove SRC_GROUPASSIGN. r=njn.
--HG--
extra : rebase_source : bac84df8d507d48c8a71983aa7aa17617d33baf4
2013-02-08 16:15:29 -06:00
Jason Orendorff
f8a662f5df Bug 838813 part 3 - Remove SRC_DECL. r=njn.
--HG--
extra : rebase_source : d2b807c7d8b981734db6ffc7735fb71777f307ad
2013-02-08 16:11:51 -06:00
Jason Orendorff
c82516e4cc Bug 838813 part 2 - Remove SRC_GENEXP. r=njn.
--HG--
extra : rebase_source : b5d3b87adcbba66a3f8f5267555cff707189deb5
2013-02-08 16:07:28 -06:00
Jason Orendorff
fd113ec9bf Bug 838813, part 1 - Remove SRC_INITPROP. r=njn.
--HG--
extra : rebase_source : 02de3a98606cd6a2cb2b1919bbb71213e1e3d685
2013-02-08 16:06:59 -06:00
Robert Strong
396c778cd6 Merge backout of Bug 678392 2013-02-08 16:53:05 -08:00
Joey Armstrong
40198bfbb0 bug 837754: valgrind tbpl builds, re-add catchall mkdir dot rule 2013-02-08 16:46:42 -05:00
Razvan Cojocaru
c8372e3fae Bug 723228 - nsTArray::AssignRange should use memcpy when possible. r=jlebar for the XPCOM changes, r=jwalden for js/mfbt changes
--HG--
extra : rebase_source : 2442a0d29ae0fa7edd0312d980cbc270a4f33134
2013-02-08 13:18:49 -08:00
Tom Schuster
ed46464631 Bug 832299 - Handlify JSCompartment::wrap. r=terrence 2013-02-08 20:16:34 +01:00
Mike Hommey
c23a664ece Bug 838915 - Add a JS_STANDALONE configure/make variable. r=ted 2013-02-08 15:58:53 +01:00
Mike Hommey
a2baccb09c Bug 793767 - Use the executable file location to derive the update root. r=rstrong 2013-02-08 15:58:52 +01:00
Kannan Vijayan
7ab9431f20 Bug 839367 - Addressing forgotten nit. r=mjrosenb 2013-02-08 12:06:57 -05:00
Kannan Vijayan
3e1f40de8b Bug 839367 - Add branchTestValue(Condition, Address, ValueOperand, Label) method. r=mjrosenb 2013-02-08 12:03:20 -05:00
Andrea Marchesini
1318eacaec Bug 839056 - Rename nsHTMLOptGroupElement to HTMLOptGroupElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLOptGroupElement.cpp => content/html/content/src/HTMLOptGroupElement.cpp
rename : content/html/content/src/nsHTMLOptGroupElement.h => content/html/content/src/HTMLOptGroupElement.h
2013-02-08 11:34:48 -05:00
Boris Zbarsky
a615d54fc7 Bug 839116 followup. Stop depending on <html> elements having a content-visible QueryInterface in the poor CLOSED TREE. r=mrbkap 2013-02-08 15:03:07 +00:00
Bobby Holley
af54a3636a Bug 821850 - Dynamically waive Xray for field access by XBL script on bound nodes. r=bz 2013-02-08 14:24:22 +00:00
Bobby Holley
1b758ec295 Bug 821850 - Expose XBL members via Xray wrappers. r=bz 2013-02-08 14:24:21 +00:00
Bobby Holley
97bf6ad095 Bug 821850 - Clean up security wrappers for NAC. r=bz 2013-02-08 14:24:20 +00:00
Bobby Holley
9589be184a Bug 821850 - Check for XBL scopes in nsContentUtils::IsCallerXBL(). r=bz 2013-02-08 14:24:20 +00:00
Bobby Holley
78146f14a8 Bug 821850 - Add infrastructure for lazily-created XBL scopes. r=bz 2013-02-08 14:24:19 +00:00
Bobby Holley
4ddd3a331b Bug 821850 - Don't rewrap |this| in nativeCall. r=jorendorff
This generally works with membrane semantics, but breaks when same-compartment
security wrappers are involved. In particular, when Field{Getter,Setter} live
in the XBL scope and operate on NAC via nativeCall, the this object can't be
rewrapped, because otherwise a SOW will appear and break everything.

It's not ideal to hardcode the index of |this|, but there's not really a great
alternative. IIUC the layout isn't changing any time soon, and this code will
hopefully be short-lived anyway, since SCSWs are on their way out.
2013-02-08 14:24:19 +00:00
Bobby Holley
ccf257312d Bug 821850 - Properly propagate |strict| in JSObject::deleteByValue. r=jorendorff 2013-02-08 14:24:19 +00:00
Bobby Holley
65c0eb0358 Bug 812669 - Remove XPConnect equality hooks. r=mrbkap 2013-02-08 10:39:01 +00:00
Norbert Lindenberg
6465261b97 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 7). r=jwalden 2013-02-07 22:22:57 -08:00
Nicholas Nethercote
5dc36fdf07 Bug 838955 (part 2) - Fix rooting hazards in jsstr.cpp identified by static analysis. r=sfink.
--HG--
extra : rebase_source : 7a2de0680f6f82a0c40bea46a520af1a5ad72fbc
2013-02-07 18:13:41 -08: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
Nicholas Nethercote
2cba87670f Bug 838955 (part 1) - Fix rooting hazards in jsstr.cpp identified by static analysis. r=sfink.
--HG--
extra : rebase_source : cc45015a1840ccb1c3146e0b4ad81f2226dac985
2013-02-07 18:13:39 -08:00
Norbert Lindenberg
97b4ca8264 Bug 789393 - String.prototype.localeCompare() with no argument always returns 0. r=jwalden
--HG--
extra : rebase_source : 914adcd672372f9fe628e8b27e7b14b2fa40cc41
2013-02-07 18:01:35 -08:00
Nicholas D. Matsakis
4a6ec76c29 Bug 839274: Initialize ForkJoinSlice independently of ION. r=billm 2013-02-07 16:19:07 -08:00
Steve Fink
9d305a5109 Backed out changeset ced35810adb2 (bug 838014). Again. 2013-02-07 17:06:42 -08:00
Steve Fink
f50b48cc8b Backed out changeset b5ec7ce219b2 (bug 838014) 2013-02-07 17:06:16 -08:00
Steve Fink
46726558b8 Backed out changeset 5abed7bd3cb7 (bug 838014) 2013-02-07 17:06:14 -08:00
Norbert Lindenberg
6409f911a6 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 6). r=jwalden
--HG--
extra : rebase_source : 714d2776e671bf8587c95f2b19b576fb68d957b7
2013-02-07 15:34:50 -08:00
Sean Stangl
996eb295d8 Bug 792797 - Handle interrupts in the Yarr interpreter. r=dvander 2013-02-06 16:54:26 -08:00
Nicholas Nethercote
6e79cac55c Bug 836949 (part 1) - Clean up the versions/options code. r=jorendorff.
--HG--
rename : content/html/content/test/test_meta_attributes_reflection.html => content/html/content/test/test_ol_attributes_reflection.html
extra : rebase_source : 970d8a542bb631ce3f18da26ece69667af29d0a9
2013-02-06 21:35:16 -08:00
Tom Schuster
d0e36df95e Bug 836373 - IonMonkey changes to compareString for the baseline jit. r=jandem 2013-02-08 00:01:15 +01:00
Nicolas B. Pierron
0aac10ccdb Bug 835499 - Remove the runningInIon flag at the end of convertFrame. r=dvander 2013-02-07 14:35:05 -08:00
Steve Fink
5984be7ff0 Bug 838014 - Rooting in jsapi-tests/. r=terrence. Landing again.
--HG--
extra : rebase_source : d42fbf0161f4c9758ada38d1d08a2583ab111376
2013-02-07 13:32:00 -08:00
Steve Fink
7528dc2363 Bug 838014 - Rooting in the JS shell. r=terrence. Re-landing.
--HG--
extra : rebase_source : 5b326721e40b3f2b88a174f0076fcd04a0829aaa
2013-02-07 13:32:00 -08:00
Steve Fink
19924430ce Bug 838014 - Rooting in ionmonkey. r=terrence. Relanding.
--HG--
extra : rebase_source : 6df06564ba73b2f3c34274e077025c510f5e9ccc
2013-02-07 13:32:00 -08:00
Dirkjan Ochtman
af2ee3bcdc Bug 638219 - Move jittests.main() function back into jit_test.py script. r=terrence 2013-01-23 18:46:55 +01:00
Dirkjan Ochtman
73deabdaf5 Bug 638219 - Pass path to JS shell around as an option value. r=terrence 2013-01-23 18:31:17 +01:00
Dirkjan Ochtman
534cc4b584 Bug 638219 - Pass jit-test script options around as an argument. r=terrence 2013-01-23 18:17:08 +01:00
Dirkjan Ochtman
76c2bdc484 Bug 638219 - Style: treat print as a function, improve formatting. r=terrence 2013-01-25 18:31:54 +01:00
Dirkjan Ochtman
cd9bab7010 Bug 638219 - Get rid of wildcard imports. r=terrence 2013-01-22 21:48:58 +01:00
Dirkjan Ochtman
d3cb48b1a1 Bug 638219 - Clean up imports and unused variables. r=terrence 2013-01-22 21:48:05 +01:00
Dirkjan Ochtman
bde11ecb19 Bug 638219 - Remove +x bit from tests/lib/jittests.py. r=terrence 2013-01-22 21:45:26 +01:00
Steve Fink
03f8e6fb7b Bug 838014 - Rooting the JS debugger, r=jorendorff.
--HG--
extra : rebase_source : 32db3aba8742ec36cc7edfead57a278e1861b86d
2013-02-01 13:38:42 -08:00
Steve Fink
b67c21c1dc Bug 838014 - More rooting in jsapi-tests. r=terrence
3rd landing attempt. Green try run.

--HG--
extra : rebase_source : 66e3004f4f606a1cdf81250e8b82a3d4baf6f9bd
2013-02-08 13:44:38 -08:00
Steve Fink
581d230bff Bug 838014 - Rooting in ionmonkey, r=terrence
--HG--
extra : rebase_source : cd1978b4e9d43ce4459fc43b79adfac00b2b00d9
2013-02-08 13:44:35 -08:00
Jan de Mooij
41fb805337 Bug 839212 - Remove TestIonCompile. r=bhackett 2013-02-07 22:12:46 +01:00
Nicholas Nethercote
81df8ec694 Bug 838911 - Fix Valgrind and ASAN annotations in LifoAlloc. r=bhackett 2013-02-06 17:39:27 -08:00
Nicholas D. Matsakis
ab059eb318 Bug 807853 - Add (but do not yet use) parallel compilation mode to ion r=dvander,terrence 2013-02-07 11:34:43 -08:00
Jeff Muizelaar
8b81bcc67c Bug 837715. Reduce compression rate for js source. r=benjamin
This cuts the time to compress gaia-email-opt.js from 0.63 seconds to 0.33
seconds.  The result should still be smaller (391K from 321K before) than the
compressing with snappy or lz4 (528K), but decompression time will be worse.
Fortunately, this will only penalize Function.toSource() which I think is an ok
trade off.

--HG--
extra : rebase_source : 00c9e38fa2099ed03dc24aea9582f48423fe3a1b
2013-02-06 12:53:52 -05:00
Steve Fink
b2775cefb5 Backed out changeset 968921905c81 (bug 838014) on a CLOSED TREE 2013-02-07 10:49:41 -08:00
Steve Fink
b5d1c7c7d1 Backed out changeset 272c0e4616ab (bug 838014) 2013-02-07 10:49:39 -08:00
Steve Fink
6ea6866f19 Backed out changeset c6757e68cfc9 (bug 838014) 2013-02-07 10:49:37 -08:00
Steve Fink
98fed7bcfd Bug 838014 - Rooting in ionmonkey. r=terrence
--HG--
extra : rebase_source : 02e1ababcd36ea3e044ab3d2dd96f89816046a47
2013-02-06 21:25:16 -08:00
Steve Fink
b6e5f15fe2 Bug 838014 - Rooting in the JS shell. r=terrence
--HG--
extra : rebase_source : cce531ae3c9b8cba294434a212f9b0883acfef37
2013-01-29 16:33:42 -08:00
Steve Fink
836f055d31 Bug 838014 - Rooting in jsapi-tests/. r=terrence
--HG--
extra : rebase_source : 458d9eb1828cf13de15ef015d0e37b9e91bee7bf
2013-01-29 16:18:01 -08:00
Jon Coppeard
2903cd839d Bug 838643 - GC: Finalize shapes on background thread r=billm
--HG--
extra : rebase_source : 378e23a78b86b544806dcf326a173c7b3c7c39eb
2013-02-07 08:22:29 +00:00
Jon Coppeard
0e5844ab1a Bug 837751 - GC: Root CloneFunctionAtCallsite and WriteStructuredClone r=sfink
--HG--
extra : rebase_source : f049147afc19d8c2412223f028aef7adee1aae00
2013-02-07 08:22:28 +00:00
Jim Mathies
0ccf1514c7 Bug 802254 - Add quotes around XPI_ROOT_APPID which can contain {}. r=glandium 2013-02-07 10:22:11 -06:00
Peter Van der Beken
ce4e224f4b Fix for bug 838228 (toString on an Xray for an interface object should stringify like Function.prototype.toString). r=bz.
--HG--
rename : content/html/content/test/test_map_attributes_reflection.html => content/html/content/test/test_ol_attributes_reflection.html
extra : rebase_source : 9bd7efb927e4eac96569ed629ee230dbf555fb63
2013-02-01 15:33:58 +01:00
Ryan VanderMeulen
d0bb322e5d Merge m-c to inbound. 2013-02-07 09:56:23 -05:00
Ryan VanderMeulen
a9be9c1983 Merge the last PGO green inbound changeset to m-c. 2013-02-07 09:55:08 -05:00
Vicamo Yang
ff216055f0 Bug 834193: Implement USSDReceivedEvent, DataErrorEvent and CFStateChangeEvent using codegenerator. r=smaug 2013-02-07 19:02:12 +08:00
Vicamo Yang
0ef4a47ec4 Bug 835148: Implement SmsEvent using event generator. r=smaug
--HG--
rename : dom/sms/interfaces/nsIDOMSmsEvent.idl => dom/sms/interfaces/nsIDOMMozSmsEvent.idl
rename : dom/sms/interfaces/nsIDOMSmsMessage.idl => dom/sms/interfaces/nsIDOMMozSmsMessage.idl
2013-02-07 18:43:22 +08:00
Jan de Mooij
6e72b12f3d Bug 838520 part 1 - Refactor UnwindScope to use AbstractFramePtr. r=djvj 2013-02-07 10:26:25 +01:00
Jan de Mooij
0e49be8e6d Bug 838759 - Remove assertJit shell function. r=bhackett 2013-02-07 10:21:15 +01:00
Ms2ger
d4e53c47a2 Bug 830846 - Pass HandleObject to DefineConstructorAndPrototype; r=terrence 2013-02-07 09:13:08 +01:00
Ms2ger
737f439c89 Bug 830783 - Part c: Various rooting in RegExp.cpp; r=terrence 2013-02-07 09:13:08 +01:00
Ms2ger
7a5571d472 Bug 830783 - Part b: Pass MutableHandleValue and HandleString to CreateRegExpMatchResult and ExecuteRegExpLegacy in RegExp.cpp; r=terrence 2013-02-07 09:13:08 +01:00
Ms2ger
bbf192f4d7 Bug 830783 - Part a: Pass MutableHandleValue to DoMatch in jsstr.cpp; r=terrence 2013-02-07 09:13:08 +01:00
Ms2ger
354efa4550 Bug 829997 - Pass MutableHandleValue to static RegExp getters; r=sfink 2013-02-07 09:13:08 +01:00
Ms2ger
9dd59cd1a1 Bug 830000 - Add CallArgs::handleAt; r=Waldo 2013-02-07 09:13:08 +01:00
Ms2ger
e5e916e581 Bug 829898 - Part c: Various rooting in jsstr.cpp; r=terrence 2013-02-07 09:13:08 +01:00
Ms2ger
fd5ee4f6d3 Bug 829898 - Part b: Pass a HandleLinearString to Encode & Decode and remove pointless OOM check in jsstr.cpp; r=terrence 2013-02-07 09:13:08 +01:00
Ms2ger
15e2cc762a Bug 829898 - Part a: Pass MutableHandleValue to Encode, Decode & TransferBufferToString in jsstr.cpp; r=terrence 2013-02-07 09:13:07 +01:00
Ms2ger
463d937eef Bug 823902 - Use a bit less fromMarkedLocation; r=terrence 2013-02-07 09:12:51 +01:00
Ms2ger
ff7b06f564 Bug 829206 - Implement CallArgs::get; r=evilpie 2013-02-07 09:08:58 +01:00
Ms2ger
7e2c95314c Bug 829205 - Some rooting in Object.cpp; r=terrence 2013-02-07 09:08:58 +01:00
Ms2ger
f6f14b0b47 Bug 831885 - Turn JS_DHASH_ENTRY_IS_* into inline functions; r=jorendorff 2013-02-07 09:08:57 +01:00
Ryan VanderMeulen
40bf57c1b6 Backed out changesets 34927afb65e2 and 2d0b056ced49 (bug 838559) for mochitest failures.
--HG--
rename : content/html/content/src/HTMLMenuElement.cpp => content/html/content/src/nsHTMLMenuElement.cpp
rename : content/html/content/src/HTMLMenuElement.h => content/html/content/src/nsHTMLMenuElement.h
2013-02-06 16:22:59 -05:00
Daniel Holbert
69886e640f Bug 838753: Make PropertyKey.cpp #include jsatominlines.h, to get ToAtom() inline-function-definition. r=Waldo 2013-02-06 12:44:05 -08:00
Sean Stangl
1a3e66e87f Bug 838469 - Use CallInfo for inlining natives. r=h4writer 2013-02-06 12:34:15 -08:00
Benjamin Peterson
5575087ead Bug 836515 - Allow source compression to run while executing the script. r=jorendorff 2013-02-07 09:29:22 -05:00
Brian Hackett
cf3b75f54a Bug 838727 - Move emitDoubleToInt32 to MacroAssembler, r=jandem. 2013-02-07 07:13:20 -07:00
Jim Mathies
fec1053b98 Bug 802254 - Add support for multiple app dirs in add-on packaging (mc bits), r=glandium 2013-02-06 15:21:32 -06:00
Andrea Marchesini
56a3519e26 Bug 838559 - Rename nsHTMLMenuElement to HTMLMenuElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLMenuElement.cpp => content/html/content/src/HTMLMenuElement.cpp
rename : content/html/content/src/nsHTMLMenuElement.h => content/html/content/src/HTMLMenuElement.h
2013-02-06 14:19:20 -05:00
Terrence Cole
46f2c42966 Bug 706885 - Move post barrier verifier to JSRuntime; r=billm
--HG--
extra : rebase_source : 0ecc660996501fb54573cc0081a12bbca838e45d
2013-01-28 15:59:02 -08:00
Boris Zbarsky
c68a618b49 Bug 837645. Support 'any' values in sequences and dictionaries. r=smaug,peterv 2013-02-06 14:23:45 +00:00
Boris Zbarsky
c5497770e8 Bug 838518 part 2. Fix nodeiterator callers per the API change that was made. r=smaug 2013-02-06 14:22:33 +00:00
Boris Zbarsky
1ee4c73471 Bug 838518 part 1. Fix treewalker callers per the API change that was made. r=smaug 2013-02-06 14:22:33 +00:00
Norbert Lindenberg
b8e4cd859b Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 2). r=jwalden 2013-02-06 23:04:39 -08:00
Benjamin Peterson
b03446be96 Bug 836524 followup - need to include inlines. CLOSED TREE 2013-02-07 00:03:48 -05:00
Bill McCloskey
811274c2f7 Bug 836524 - Zone renaming part 6 (r=jonco) 2013-02-06 18:08:47 -08:00
Bill McCloskey
cdd97ab1ad Bug 836524 - Zone renaming part 5 (r=jonco) 2013-02-06 18:08:42 -08:00
Bill McCloskey
76b738c890 Bug 836546 - Simplify gray links in the GC (r=jonco) 2013-02-06 18:08:34 -08:00
Bill McCloskey
8306e9b140 Bug 836524 - Zone renaming part 4 (r=terrence) 2013-02-06 18:08:28 -08:00
Bill McCloskey
448a886730 Bug 836524 - Zone renaming part 3 (r=jonco) 2013-02-06 18:08:22 -08:00
Bill McCloskey
8310222f4a Bug 836524 - Zone renaming part 2 (r=jonco) 2013-02-06 18:08:16 -08:00
Bill McCloskey
dafa1e5af2 Bug 836524 - Zone renaming part 1 (r=terrence) 2013-02-06 18:08:10 -08:00
Brendan Eich
04905af554 Bug 433529 - switch style nit-policing followup (r=lumpy). 2013-02-06 15:28:36 -08:00
Christian Holler
27cd3a543c Bug 838150 - Add ASan and Valgrind annotations to JS LifoAlloc. r=bhackett 2013-02-06 14:30:01 +01:00
Christian Holler
451c64cdb9 Bug 838148 - Add 63 missing jit-tests for various bugs. rs=terrence 2013-02-06 14:01:01 +01:00
Jeff Walden
f06df5742e Fix up a few lingering references to jsval.h. Followup to bug 837773, r=bustage in a CLOSED TREE 2013-02-05 16:13:24 -08:00
Nicholas Nethercote
373e7a6d2c Bug 837981 - Remove GetDeflatedStringLength(). r=terrence.
--HG--
extra : rebase_source : 7966380110472b6e164c3689378fdbd788d25301
2013-02-05 15:12:05 -08:00
Jeff Walden
88e94604ab Bug 837773 - Add a PropertyKey.h header. r=jorendorff
--HG--
rename : js/src/jsval.h => js/public/Value.h
extra : rebase_source : 1756e599b0718b8e765cecb972737040e0ba56e4
2013-02-01 16:42:48 -08:00
Jeff Walden
228f97350d Bug 837773 - Change private uint32_t Values to use the int32_t representation, for simplicity. r=luke
--HG--
extra : rebase_source : 75e7118b9e5713dc252043e6f40d79e238a2480f
2013-02-01 18:41:35 -08:00
Jeff Walden
259ced99fa Bug 837773 - Move JS::Value into Value.h. r=jorendorff
--HG--
extra : rebase_source : b41cee90d5c08a6e1c23f023af2eb2f1ac41e1a3
2013-02-01 16:15:49 -08:00
Jeff Walden
c133df496d Bug 837773 - Move JS::Anchor into js/public/Anchor.h, necessary to properly make Value.h an independent header. r=jorendorff
--HG--
rename : js/src/jsval.h => js/public/Value.h
extra : rebase_source : c109f562aea18e7466b6af6fd1dd2efae11b0333
2013-02-01 15:31:00 -08:00
Jeff Walden
40503e1351 Bug 837773 - Move js/src/jsval.h to js/public/Value.h. r=jorendorff
--HG--
rename : js/src/jsval.h => js/public/Value.h
extra : rebase_source : 224d021ad357f133b0b04658ca9b59a52b74fd65
2013-02-01 14:24:37 -08:00
Jeff Walden
c45d677c48 Bug 837773 - Organize jsapi.h's #includes. r=jorendorff
--HG--
extra : rebase_source : 88b6a890a4e2304beb5f37198b9f6f2ebda9a8a9
2013-02-01 13:07:10 -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
Terrence Cole
447fd918d3 Bug 832103 - Add a regression test for the given bug; r=bhackett DONTBUILD
--HG--
extra : rebase_source : d6ee5befb43f912a8ae678c6639e4ae37e64d7d7
2013-02-05 09:47:53 -08:00
Brian Hackett
e03592d369 Bug 836705 - Fix bogus assert when loading from definitely-double arrays, r=jandem. 2013-02-05 09:48:55 -07:00
Brian Hackett
80d1311736 Bug 832670 - Don't verify barriers when unwinding frames that finished in JM, r=billm. 2013-02-05 09:44:52 -07:00
Ryan VanderMeulen
a5f047df15 Backed out changeset 2861ef67390a (bug 837566) for Linux32 mochitest-other shutdown hangs. 2013-02-05 07:54:49 -05:00
Vicamo Yang
0817867fa4 Bug 833278 - Part 2/2: Implement MozVoicemailEvent using codegenerator. r=gwagner,smaug 2013-02-05 17:02:18 +08:00
Nicholas Nethercote
1670a07032 Bug 837566 - Remove js_RemoveRoot. r=terrence. 2013-02-03 20:17:34 -08:00
Sean Stangl
630b9d63f6 Bug 829758 - Use MatchOnly mode for str_search(). r=dvander 2013-01-15 15:35:25 -08:00
Sean Stangl
cc09e00fe3 Bug 832217 - Construct RegExpShared in the same compartment as the RegExpStatics. r=billm 2013-02-01 17:36:29 -08:00
Luke Wagner
7972319367 Bug 837016 - IonMonkey: store CodeLabels by value (r=h4writer)
--HG--
extra : rebase_source : e03d276c80dcdf29b6b9bec4627a93528f423ff6
2013-01-31 18:41:04 -08:00
Hannes Verschore
e3d5731ec4 Bug 832058: IonMonkey: Only inline if script is compile-and-go and doesn't have an arguments objects, r=nbp 2013-02-04 17:38:38 +01:00
Bobby Holley
3c1bba8bca Bug 831076 - Add assertSameCompartment to JS_ObjectToOuterObject, and clean up classinfo hook. r=mrbkap 2013-02-04 15:13:14 +00:00
Bobby Holley
e719384adb Bug 831076 - Enter a compartment in jsd. r=mrbkap 2013-02-04 15:13:14 +00:00
Bobby Holley
54511231e6 Bug 831076 - Outerize during same-compartment wrapping so that JS_Wrap* is guaranteed to outerize. r=mrbkap 2013-02-04 15:13:14 +00:00
Bobby Holley
be3d55b211 Bug 831076 - Outerize at the very beginning of XPConnect wrapping and remove other outerization checks. r=mrbkap 2013-02-04 15:13:13 +00:00
Andrew McCreight
b6b93daa9e Bug 819131 - Preserve reflector delegate weak map keys. r=billm 2012-05-25 09:07:24 -07:00
Nicholas Nethercote
96202f1d09 Bug 836985 follow-up: Make ScriptSourceHolder constructor explicit. r=benjamin. 2013-02-03 20:03:06 -08:00
Nicholas Nethercote
27309d20a8 Bug 837002 - Fix two clang warnings in SpiderMonkey. r=luke. 2013-02-03 19:55:23 -08:00
Nicholas Nethercote
67544c9ae9 Bug 836985 - Remove ScriptSourceHolder::rt. r=benjamin. 2013-02-03 19:55:09 -08:00
Brian Hackett
ec288f15cd Bug 837418 - Fix silly mistake when dealing with OOM under str_concat, r=terrence. 2013-02-03 16:37:56 -07:00
Till Schneidereit
bac61a3f16 Bug 810715 - De-lazify a JSFunction's script before querying its ndefaults value. r=luke
--HG--
extra : rebase_source : ce0494d920bb7d5f6add7cc04947ab50431dc696
2013-01-29 11:34:36 +01:00
Peter Van der Beken
6c8ed80f8a Fix for bug 830879 (HTML Element WebIDL bindings require classinfo). r=bz.
--HG--
extra : rebase_source : a88a5f24d3d4c12b652f1228eb5b3b7bb8b9e5ee
2013-01-10 10:54:32 +01:00
Sean Stangl
1faa45db15 Backout Bug 837042 for mysterious compilation failures on TBPL. 2013-02-01 18:02:01 -08:00
Sean Stangl
300a44582f Bug 832217 - Construct RegExpShared in the same compartment as the RegExpStatics. r=billm 2013-02-01 17:36:29 -08:00
Daniel Holbert
0d3fc5182d Bug 837253: When declaring JSObject as a friend, use 'class' instead of 'struct' to fix MSVC warning-spam. r=dvander 2013-02-01 15:15:30 -08:00
Sean Stangl
bca1c59d4b Bug 837014 - Always inline the empty script. r=bhackett 2013-02-01 13:29:12 -08:00
Brian Hackett
f80aa819db Bug 836774 - Prevent objects/strings from flowing to an MToDouble, r=jandem. 2013-02-01 06:44:17 -07:00
Hannes Verschore
ce7a4035ac Bug 828119: IonMonkey: Add fastpath for strict string comparison, r=jandem 2013-02-01 11:39:02 +01:00
Benjamin Peterson
dd69c28ff0 Bug 718969 - Perform an exorcism; remove the decompiler. r=luke 2013-02-01 00:19:00 -05:00
Benjamin Peterson
3934f5a9ef Bug 777474 - Use the expression decompiler for opcode text when possible. r=bhackket 2013-02-01 00:10:17 -05: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
Nicholas Nethercote
5398a93d05 Bug 834090 - Name unused opcodes more sanely. r=jorendorff. 2013-01-24 16:14:54 -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
Phil Ringnalda
59dade81af Back out fa772ccdf19d (bug 718969) and 050a0a27024a (bug 777474) for being in the way of backing out bustage
CLOSED TREE
2013-01-31 22:27:54 -08:00
Benjamin Peterson
7880070173 Bug 718969 - Perform an exorcism; remove the decompiler. r=luke
--HG--
extra : rebase_source : 64df8f9a7ac230e1462a8f6e134ac3e86258d6f8
2013-02-01 00:19:00 -05:00
Benjamin Peterson
96f455e618 Bug 777474 - Use the expression decompiler for opcode text when possible. r=bhackket
--HG--
extra : rebase_source : 84a1421dfdf12c8e6fd2bb8a09132cd83c13c590
2013-02-01 00:10:17 -05: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
Nicholas Nethercote
926e5f4a3d Bug 834090 - Name unused opcodes more sanely. r=jorendorff.
--HG--
extra : rebase_source : 1ca2f3707aff6c24461d2acadde79b7bbc905225
2013-01-24 16:14:54 -08:00
Luke Wagner
da0f0b9e88 Bug 836616 - allow ParseNodes to distinguish numbers containing a decimal point (r=njn)
--HG--
extra : rebase_source : c1b048a3008ac492149488d427f14c9bb5cf5c31
2013-01-14 08:25:28 -08:00
Nicholas Nethercote
c349516181 Bug 833208 (part 5) - Remove e4x support from mochitests. r=jorendorff.
--HG--
extra : rebase_source : a88f8ed13299c566df2297729b3a5ddf21fcaafa
2013-01-28 14:55:17 -08:00
Nicholas Nethercote
6c3a8a3184 Bug 833208 (part 4) - Remove e4x support from xpcshell tests. r=jorendorff.
--HG--
extra : rebase_source : a7bd33905120f74e6c242e0c236450dd3be54436
2013-01-30 16:56:16 -08:00
Nicholas Nethercote
b7d0a5ecaf Bug 833208 (part 3) - Remove e4x support from jsapi-tests. r=jorendorff.
--HG--
extra : rebase_source : d3e2edd48c95fcf1f237831eae788f613778ab64
2013-01-28 14:55:14 -08:00
Nicholas Nethercote
99a6a6c1a5 Bug 833208 (part 2) - Remove e4x support from jstests. r=jorendorff.
--HG--
rename : js/src/tests/e4x/Statements/12.3-01.js => js/src/tests/js1_6/extensions/nested-for-each.js
rename : js/src/tests/e4x/Regress/regress-355569.js => js/src/tests/js1_8_5/regress/regress-355569.js
rename : js/src/tests/e4x/Regress/regress-477053.js => js/src/tests/js1_8_5/regress/regress-477053.js
rename : js/src/tests/e4x/Regress/regress-561031.js => js/src/tests/js1_8_5/regress/regress-561031.js
extra : rebase_source : d146e304a8d31b1536804f86929628a638ff3269
2013-01-28 14:25:15 -08:00
Nicholas Nethercote
c1813bf2c4 Bug 833208 (part 1) - Remove e4x support from jit-tests. r=jwalden.
--HG--
rename : dom/browser-element/BrowserElementParent.jsm => dom/browser-element/BrowserElementParent.js
rename : js/src/jit-test/tests/e4x/bug613151.js => js/src/jit-test/tests/basic/bug613151.js
rename : js/src/jit-test/tests/e4x/bug651966.js => js/src/jit-test/tests/basic/bug651966.js
rename : js/src/jit-test/tests/e4x/bug737251.js => js/src/jit-test/tests/basic/bug737251.js
extra : rebase_source : 2102a879231490bf1b73249b4889c2d83c73010f
2013-01-28 14:25:14 -08:00
Sean Stangl
317b86649c Backout Bug 829758 to investigate crashes. 2013-01-31 13:51:38 -08:00
Sean Stangl
dbac2df8fb Bug 836087 - Avoid using doubles for lastIndex in ExecuteRegExp(). r=nbp 2013-01-31 13:43:06 -08:00
Luke Wagner
585958a0c8 Bug 835003 - simplify generation of MTableSwitch jump tables (r=h4writer)
--HG--
extra : rebase_source : dc652a92a43e9af389f925539cfeebee70b313ea
2013-01-31 11:30:35 -08:00
Joey Armstrong
d4b58c3122 bug 830351: remove unused .mkdir.deps rule and clenaup cosmetic makefile problems 2013-01-31 14:55:30 -05:00
Hannes Verschore
ec47546792 Bug 836102: Minimal truncate analysis for constants, r=mjrosenb 2013-01-31 19:36:58 +01:00
Brian Hackett
884628e108 Bug 836623 - Fix unnecessary growElements() call, bogus assert during object densification, r=billm. 2013-01-31 10:37:25 -07:00
Jon Coppeard
ee6745be4e Bug 836312 - GC: Sweep IonCode incrementally r=billm 2013-01-31 10:47:16 +00:00
Jan de Mooij
68f516ce58 Bug 836255 part 1 - Refactor some arguments-related functions to use AbstractFramePtr. r=dvander 2013-01-31 11:50:07 +01:00
Jan de Mooij
72f8601fee Bug 835277 part 3 - Call IonFrameIterator::script in GetTopIonJSScript. r=nbp 2013-01-31 11:50:04 +01:00
Jan de Mooij
3f55c1c86e Bug 835277 part 2 - Fix hasBreakpointsAt. r=bhackett 2013-01-31 11:50:01 +01:00
Jan de Mooij
1fcf0cf5e0 Bug 835277 part 1 - Convert CallObject::createForStrictEval to use AbstractFramePtr. r=djvj 2013-01-31 11:49:55 +01:00
Mike Hommey
4d1a776995 Bug 836161 - Fix gcc version test from bug 833627 to be properly quoted by m4. r=ted 2013-01-31 10:32:18 +01:00
Boris Zbarsky
fb9ecce4ea Add a test for WebIDL-weakmap stuff in addition to XPConnect-weakmap. No bug, no review
--HG--
rename : js/xpconnect/tests/mochitest/test_bug655297.html => js/xpconnect/tests/mochitest/test_bug655297-1.html
rename : js/xpconnect/tests/mochitest/test_bug655297.html => js/xpconnect/tests/mochitest/test_bug655297-2.html
2013-01-31 01:04:48 -05:00
Bill McCloskey
e77b833061 Bug 830855 - Remove JSScript::principals (sort of) (r=luke)
--HG--
extra : rebase_source : 584a12fbae35888d7c6f66dc0e0d403af7cc0fe0
2013-01-30 18:10:46 -08:00
Jesse Ruderman
53d4ff720b Bug 778085 followup - fix typo in help message. DONTBUILD 2013-01-30 17:48:15 -08:00
Gary Kwong
9ce43c794e Bug 836531 - Change getBuildConfiguration to output more information. r=sfink 2013-01-30 15:01:35 -08:00
Bill McCloskey
98ecb80afc Bug 835966 - Refactor {cx,rt,allocator}->malloc_ (r=luke) 2013-01-30 12:22:04 -08:00
Boris Zbarsky
37c97f760a Bug 829867. Unpref PaintRequest and Screen WebIDL bindings and remove some cruft from quickstubs. r=peterv
nsIDOMCharacterData and nsIDOMText quickstubs are not needed after bug 826703.

nsIDOMRect quickstubs haven't been needed since bug 824970 landed.

nsCSSPropertiesQS has been unused since bug 801083 at least.

The various includes being removed are either fully on WebIDL now or using WebIDL quickstubs.
2013-01-29 12:52:09 -05:00
Boris Zbarsky
9b45ffdc77 Bug 824589. Convert XULElement to WebIDL. r=peterv
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.

The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.

The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID.  We've run into this before, sadly.

I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.

The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces.  Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props.  I don't see
an obviously better way.  We should work on killing off uses of
"instanceof someinterface".

The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Ryan VanderMeulen
dc41e9b7c0 Merge m-c to inbound. 2013-01-30 08:06:05 -05:00
Ryan VanderMeulen
b35109ad70 Merge the last PGO-green inbound changeset to m-c. 2013-01-30 08:05:31 -05:00
Tom Schuster
cba8004ad4 Bug 836000 - IonMonkey: Don't clobber out register in loadFromTypedArray. r=h4writer 2013-01-30 13:45:24 +01:00
Brian Hackett
c63265d29e Bug 836138 - Fix a couple double array correctness bugs, r=jandem. 2013-01-30 04:31:07 -07:00
Gregory Szorc
716204f494 Merge mozilla-central into build-system 2013-01-29 20:27:15 -08:00
Brian Hackett
a3c7a84ee5 Bug 835102 - Convert sufficiently sparse objects back to using dense elements, r=billm. 2013-01-29 19:50:41 -07:00
Gregory Szorc
5dbdd4988c Bug 784841 - Part 6: Move some functions from ConfigStatus to mozbuild; r=ted
--HG--
rename : build/tests/unit-ConfigStatus.py => python/mozbuild/mozbuild/test/backend/test_configenvironment.py
2013-01-29 06:24:24 -08:00
Terrence Cole
35c9f7670d Bug 706885 - Rework Rooting APIs to preserve all available type information; r=billm 2013-01-28 18:25:23 -08:00
Boris Zbarsky
91f607c39f Bug 829867. Unpref PaintRequest and Screen WebIDL bindings and remove some cruft from quickstubs. r=peterv
nsIDOMCharacterData and nsIDOMText quickstubs are not needed after bug 826703.

nsIDOMRect quickstubs haven't been needed since bug 824970 landed.

nsCSSPropertiesQS has been unused since bug 801083 at least.

The various includes being removed are either fully on WebIDL now or using WebIDL quickstubs.
2013-01-29 12:52:09 -05:00
Boris Zbarsky
1d5a36a375 Bug 824589. Convert XULElement to WebIDL. r=peterv
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.

The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.

The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID.  We've run into this before, sadly.

I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.

The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces.  Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props.  I don't see
an obviously better way.  We should work on killing off uses of
"instanceof someinterface".

The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Luke Wagner
d4630bf5f1 Bug 835578 - IonMonkey: fix visitCompare/visitTest to not useRegister on constant operands (r=dvander) 2013-01-29 08:29:51 -08:00
Luke Wagner
3d8049af97 Bug 835449 - fix StackIter corner case where evalInFrame fails to pop native calls (r=jandem)
--HG--
extra : rebase_source : 37d60303aee651ef0dbc28b63994b811507e6a07
2013-01-28 10:53:49 -08:00
Nils Maier
6edae96580 Bug 761552 - Part 2: Avoid external JS strings in XPCConvert. r=bholley
XPCConvert needs to convert some string types to JS strings in order to call
from C++ into JS land. Make those converted JS strings allocate the buffers
from the JS compartment memory pool, instead of making them external and
allocated from the main heap.
This improves memory reporting and may also influence memory fragmentation
and/or performance.
2013-01-29 10:50:04 -05:00