Commit Graph

24380 Commits

Author SHA1 Message Date
Ed Morley
fb6aef7abd Merge latest green inbound changeset to mozilla-central 2013-02-12 14:43:06 +00:00
Ms2ger
dd830da456 Bug 837176 - Simplify code flow in CheckSideEffects; r=jorendorff 2013-02-12 11:14:01 +01:00
Nicholas Nethercote
d03526652d 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
9ec69e7ea2 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
8fa72d6d4e Bug 840339 - Include inlined JSScript definitions to fix warnings. r=dholbert 2013-02-11 18:08:21 -08:00
Olli Pettay
29c93f77f6 Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey 2013-02-11 21:37:50 +02:00
Olli Pettay
930b4e20e9 Bug 839465 - Implement SmartCardEvent using event code generator, r=mounir 2013-02-11 21:37:20 +02:00
Ryan VanderMeulen
2861e3219f Merge m-c to inbound. 2013-02-11 13:51:32 -05:00
Mike Hommey
bbdbb106d3 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
778e86b208 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
9cebed1b28 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
facc490a0e Bug 839471 - GC: Sweep type objects on the background thread r=billm 2013-02-08 08:40:39 +00:00
Mike Hommey
54c80967b1 Bug 839824 - Fix build error with gcc 4.4 in MIR.h. r=dvander 2013-02-12 11:02:53 +01:00
Ryan VanderMeulen
4d36c69250 Merge m-c to inbound. 2013-02-11 20:49:31 -05:00
Jeff Walden
0e302a5094 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
fa440a8a6f Bug 840172 - Rooting fixes for Wrapper and wrap. r=terrence 2013-02-12 01:31:10 +01:00
Andrew McCreight
f5cee347e2 Bug 784730 - Crash in ReparentWrapperIfFound if wrapper already in scope. r=bholley 2013-02-06 12:18:54 +00:00
Nicholas Nethercote
4ede79f464 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
bf0a2be76d 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
d720d841a1 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
633c83b2d8 Bug 839727 - Minor cleanups around polymorphic inlining. r=djvj 2013-02-11 13:16:53 -08:00
Tom Schuster
9887b27276 Bug 838558 and Bug 839027: checkin lost changsets in XPC. CLOSED TREE 2013-02-11 22:07:35 +01:00
Tom Schuster
28a26799a2 Bug 838558 - Kill object equality hook. r=jorendorff 2013-02-11 21:06:05 +01:00
Tom Schuster
649be0b299 Bug 839027 - Kill object typeof hook. r=jorendorff 2013-02-11 21:05:13 +01:00
Jim Blandy
dcd5a03e42 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
0771bdc2ff Bug 839420 - Refactor ReportIsNotFunction to not use spIndexOf and remove spIndexOf. r=bhackett 2013-02-09 13:51:48 +01:00
Jan de Mooij
22678ea715 Bug 836742 part 2 - Move EnsureExitFrame to IonFrames.cpp, rename IonFrame_Bailed_*. r=nbp 2013-02-09 13:49:07 +01:00
Jeff Walden
15f60ef632 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
aea3439c1f 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
818da8373e Bug 838813 part 12 - Remove SRC_DESTRUCTLET. r=njn.
--HG--
extra : rebase_source : d488c8834a0a0c45b688e2f3aefbcef7e108aa45
2013-02-08 17:21:51 -06:00
Jason Orendorff
cf9ebb82ab Bug 838813 part 11 - Remove SRC_FUNCDEF. r=njn.
--HG--
extra : rebase_source : 61ff397858fff3a7aa009249c9727bbebf5942f5
2013-02-08 17:21:29 -06:00
Jason Orendorff
bdd66df7fa 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
345a84e266 Bug 838813 part 9 - Remove SRC_ENDBRACE. r=njn.
--HG--
extra : rebase_source : 5841780fb0f359a7df870fdc3daa3ac7b0ea95ea
2013-02-08 17:20:14 -06:00
Jason Orendorff
8a32dcd7b5 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
e71356e4f5 Bug 838813 part 7 - Remove SRC_PCBASE. r=njn.
--HG--
extra : rebase_source : f30407a5b6302ca0636453a8a44d37a9e3d3afac
2013-02-08 17:19:52 -06:00
Jason Orendorff
ce3e5d527d Bug 838813 part 6 - Remove SRC_BRACE. r=njn.
--HG--
extra : rebase_source : e755d89dffb79cac8b2c356560ede44ff9a359e7
2013-02-08 17:19:42 -06:00
Jason Orendorff
29ca63fe7c Bug 838813 part 5 - Remove SRC_DESTRUCT. r=njn.
--HG--
extra : rebase_source : b070a9429ff3e72ce94e314734c940d9248b37a6
2013-02-08 16:15:42 -06:00
Jason Orendorff
9b0793dc37 Bug 838813 part 4 - Remove SRC_GROUPASSIGN. r=njn.
--HG--
extra : rebase_source : bac84df8d507d48c8a71983aa7aa17617d33baf4
2013-02-08 16:15:29 -06:00
Jason Orendorff
8674149cab Bug 838813 part 3 - Remove SRC_DECL. r=njn.
--HG--
extra : rebase_source : d2b807c7d8b981734db6ffc7735fb71777f307ad
2013-02-08 16:11:51 -06:00
Jason Orendorff
fe5223ba44 Bug 838813 part 2 - Remove SRC_GENEXP. r=njn.
--HG--
extra : rebase_source : b5d3b87adcbba66a3f8f5267555cff707189deb5
2013-02-08 16:07:28 -06:00
Jason Orendorff
38046d851d Bug 838813, part 1 - Remove SRC_INITPROP. r=njn.
--HG--
extra : rebase_source : 02de3a98606cd6a2cb2b1919bbb71213e1e3d685
2013-02-08 16:06:59 -06:00
Robert Strong
cff1ed3948 Merge backout of Bug 678392 2013-02-08 16:53:05 -08:00
Joey Armstrong
5e0f441d46 bug 837754: valgrind tbpl builds, re-add catchall mkdir dot rule 2013-02-08 16:46:42 -05:00
Razvan Cojocaru
15c13f8d76 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
cd225d6279 Bug 832299 - Handlify JSCompartment::wrap. r=terrence 2013-02-08 20:16:34 +01:00
Mike Hommey
f365a859ef Bug 838915 - Add a JS_STANDALONE configure/make variable. r=ted 2013-02-08 15:58:53 +01:00
Mike Hommey
362f974085 Bug 793767 - Use the executable file location to derive the update root. r=rstrong 2013-02-08 15:58:52 +01:00
Kannan Vijayan
89c27ed39f Bug 839367 - Addressing forgotten nit. r=mjrosenb 2013-02-08 12:06:57 -05:00
Kannan Vijayan
c7cc156adb Bug 839367 - Add branchTestValue(Condition, Address, ValueOperand, Label) method. r=mjrosenb 2013-02-08 12:03:20 -05:00
Andrea Marchesini
d8e0d71402 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
704f7c0de4 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
dc7e7a50d2 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
4b306e73c6 Bug 821850 - Expose XBL members via Xray wrappers. r=bz 2013-02-08 14:24:21 +00:00
Bobby Holley
34890dad66 Bug 821850 - Clean up security wrappers for NAC. r=bz 2013-02-08 14:24:20 +00:00
Bobby Holley
4b6b3faf6a Bug 821850 - Check for XBL scopes in nsContentUtils::IsCallerXBL(). r=bz 2013-02-08 14:24:20 +00:00
Bobby Holley
23776a5404 Bug 821850 - Add infrastructure for lazily-created XBL scopes. r=bz 2013-02-08 14:24:19 +00:00
Bobby Holley
518a586d4b 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
bae9282c5c Bug 821850 - Properly propagate |strict| in JSObject::deleteByValue. r=jorendorff 2013-02-08 14:24:19 +00:00
Bobby Holley
4d9b1a396c Bug 812669 - Remove XPConnect equality hooks. r=mrbkap 2013-02-08 10:39:01 +00:00
Norbert Lindenberg
3175e3c531 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
46456e2b2d 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
996c14a8f7 Bug 834882: move InParallelSection() out of ForkJoinSlice and rename Initialize() to InitializeTLS() r=billm 2013-01-25 13:54:53 -08:00
Nicholas Nethercote
81acab97c2 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
6b1d36df53 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
5b8677f247 Bug 839274: Initialize ForkJoinSlice independently of ION. r=billm 2013-02-07 16:19:07 -08:00
Steve Fink
e46eeecb59 Backed out changeset ced35810adb2 (bug 838014). Again. 2013-02-07 17:06:42 -08:00
Steve Fink
e8f172360e Backed out changeset b5ec7ce219b2 (bug 838014) 2013-02-07 17:06:16 -08:00
Steve Fink
f8391749f7 Backed out changeset 5abed7bd3cb7 (bug 838014) 2013-02-07 17:06:14 -08:00
Norbert Lindenberg
759b7f9c72 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
95a3d4ce2c Bug 792797 - Handle interrupts in the Yarr interpreter. r=dvander 2013-02-06 16:54:26 -08:00
Nicholas Nethercote
02a7279b21 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
f88395707a Bug 836373 - IonMonkey changes to compareString for the baseline jit. r=jandem 2013-02-08 00:01:15 +01:00
Nicolas B. Pierron
f098d6cede Bug 835499 - Remove the runningInIon flag at the end of convertFrame. r=dvander 2013-02-07 14:35:05 -08:00
Steve Fink
8f6760d3ab 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
9f858bdbde 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
870d4573ec Bug 838014 - Rooting in ionmonkey. r=terrence. Relanding.
--HG--
extra : rebase_source : 6df06564ba73b2f3c34274e077025c510f5e9ccc
2013-02-07 13:32:00 -08:00
Dirkjan Ochtman
a7c7a13485 Bug 638219 - Move jittests.main() function back into jit_test.py script. r=terrence 2013-01-23 18:46:55 +01:00
Dirkjan Ochtman
2fb16ac80d Bug 638219 - Pass path to JS shell around as an option value. r=terrence 2013-01-23 18:31:17 +01:00
Dirkjan Ochtman
e925d41741 Bug 638219 - Pass jit-test script options around as an argument. r=terrence 2013-01-23 18:17:08 +01:00
Dirkjan Ochtman
7be92444a4 Bug 638219 - Style: treat print as a function, improve formatting. r=terrence 2013-01-25 18:31:54 +01:00
Dirkjan Ochtman
8e394e39bf Bug 638219 - Get rid of wildcard imports. r=terrence 2013-01-22 21:48:58 +01:00
Dirkjan Ochtman
52a12d3306 Bug 638219 - Clean up imports and unused variables. r=terrence 2013-01-22 21:48:05 +01:00
Dirkjan Ochtman
440e0c9ebe Bug 638219 - Remove +x bit from tests/lib/jittests.py. r=terrence 2013-01-22 21:45:26 +01:00
Steve Fink
6d6eaec82e Bug 838014 - Rooting the JS debugger, r=jorendorff.
--HG--
extra : rebase_source : 32db3aba8742ec36cc7edfead57a278e1861b86d
2013-02-01 13:38:42 -08:00
Steve Fink
a6306e8774 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
84a20940a8 Bug 838014 - Rooting in ionmonkey, r=terrence
--HG--
extra : rebase_source : cd1978b4e9d43ce4459fc43b79adfac00b2b00d9
2013-02-08 13:44:35 -08:00
Jan de Mooij
97eb029dea Bug 839212 - Remove TestIonCompile. r=bhackett 2013-02-07 22:12:46 +01:00
Nicholas Nethercote
3b2b81c681 Bug 838911 - Fix Valgrind and ASAN annotations in LifoAlloc. r=bhackett 2013-02-06 17:39:27 -08:00
Nicholas D. Matsakis
2d2366ed59 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
11b8f9dcba 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
71ba9e2dfd Backed out changeset 968921905c81 (bug 838014) on a CLOSED TREE 2013-02-07 10:49:41 -08:00
Steve Fink
2779756558 Backed out changeset 272c0e4616ab (bug 838014) 2013-02-07 10:49:39 -08:00
Steve Fink
bf1bb2f9f6 Backed out changeset c6757e68cfc9 (bug 838014) 2013-02-07 10:49:37 -08:00
Steve Fink
7b8bce4eac Bug 838014 - Rooting in ionmonkey. r=terrence
--HG--
extra : rebase_source : 02e1ababcd36ea3e044ab3d2dd96f89816046a47
2013-02-06 21:25:16 -08:00
Steve Fink
96dc1c5d31 Bug 838014 - Rooting in the JS shell. r=terrence
--HG--
extra : rebase_source : cce531ae3c9b8cba294434a212f9b0883acfef37
2013-01-29 16:33:42 -08:00
Steve Fink
6de491c617 Bug 838014 - Rooting in jsapi-tests/. r=terrence
--HG--
extra : rebase_source : 458d9eb1828cf13de15ef015d0e37b9e91bee7bf
2013-01-29 16:18:01 -08:00
Jon Coppeard
e47140e94c 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
44b633bf0c Bug 837751 - GC: Root CloneFunctionAtCallsite and WriteStructuredClone r=sfink
--HG--
extra : rebase_source : f049147afc19d8c2412223f028aef7adee1aae00
2013-02-07 08:22:28 +00:00
Jim Mathies
eefe4e1340 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
e07d1dcdb8 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