David Anderson
41ddfe3144
Remove yarr/TypeTraits.h (bug 812678, r=luke).
2012-11-16 16:52:18 -08:00
David Anderson
94211ed072
Ensure that frames are cleaned up if we run out of stack space. (bug 812341, r=jandem).
2012-11-16 16:49:18 -08:00
Eddy Bruel
13f72bb365
Bug 811343 - proxy parent to cx->global() by default; r=bholley
2012-11-17 00:36:02 +01:00
Kyle Huey
0797f155da
Bug 811784: Account for subscripts when figuring out what object to stick properties on. r=mrbkap
...
--HG--
extra : rebase_source : 6da8a33c512b2e5758094f4a2108e5c342c7c28c
2012-11-16 08:54:58 -08:00
Bill McCloskey
bc41cc980a
Bug 747066 - Inline xpc_UnmarkGray (r=terrence)
2012-11-19 10:59:01 -08:00
Paul Adenot
5123e13926
Bug 779997 - Disable build and linking of libsoundtouch as it is not used for now. r=glandium
2012-11-19 16:36:06 +00:00
Brian Hackett
b4fa83d9c5
Pass runtime instead of bogus compartment to MarkFromIon, bug 812235. r=dvander
2012-11-16 12:28:27 -08:00
Bill McCloskey
5f26a9fcb1
Bug 812393 - Sweep strings and scripts incrementally (r=jonco)
...
--HG--
extra : rebase_source : 301b3029444d378bcb90e7140b508f6f35187425
2012-11-16 11:08:32 -08:00
Brian Hackett
aa13f3b2ad
Don't discard JM code after off thread Ion compilation until the Ion code can be entered, bug 785494. r=jandem
2012-11-16 10:38:28 -08:00
Ed Morley
a52e6ce1aa
Backout 4bc502c08da4 (bug 811784) for xpcshell failures
2012-11-16 18:16:33 +00:00
Shu-yu Guo
34d91f71c3
Bug 808949 - Remove clearParent and clearType from {Clone,XDR}InterpretedFunction. (r=bhackett)
2012-11-16 09:24:24 -08:00
Brian Hackett
8e50ee30d1
Add profiling of basic block hit counts for IonMonkey and expose to addons, bug 811349. r=pierron
2012-11-16 09:14:06 -08:00
Kyle Huey
5cc8b7c1e2
Bug 811784: Account for subscripts when figuring out what object to stick properties on. r=mrbkap
2012-11-16 08:54:58 -08:00
Marty Rosenberg
d5052d50c3
Rather than just infinite looping, or abort compilation on would-be iloops (bug 803470, r=dvander)
2012-11-16 09:12:49 -05:00
Jan de Mooij
920299add9
Bug 812280 - Remove move32/movePtr overloads that take an Address. r=dvander
2012-11-16 12:05:55 +01:00
Kannan Vijayan
a6cbed5194
Bug 803730 - Mochitest for bug.
2012-11-15 22:57:18 -05:00
David Anderson
905b8690be
Don't allow sets to readonly properties (bug 810925, r=kannan).
...
--HG--
extra : rebase_source : 2eac13774239d9047e7c869c4afab6eeef6f6502
2012-11-15 18:32:57 -08:00
Surith Thekkiam
930724b4ae
Bug 807423 - Support use of GNU libstdc++ on Android. r=ted
...
* For android-ndk versions r7, r7b, r8, r8b
* std::ifstream broken in earlier versions of ndk
* ... used in jscntxt.cpp by ComputeIsJITBroken()
* Default gnu_compiler_version is 4.4.3
* If android_toolchain is not set, attempt to infer it from gnu_compiler_version.
* Copy changes from js/src/build/autoconf/android.m4 to build/autoconf/android.m4
2012-11-06 09:41:16 -08:00
Marty Rosenberg
66fb4793b4
Add in support for running a cross-shell directly in qemu (bug 807936, r=ted)
2012-11-15 10:24:07 -05:00
Bobby Holley
88eaeac241
Bug 809674 - Fail at call time when invoking an XPCWrappedJS method with [implicit_jscontext] or [optional_argc]. r=mrbkap
...
I think this is the path of least resistance here.
2012-11-15 10:16:36 -08:00
Phil Ringnalda
eaf74f362b
Backed out changeset 0e76d45e8c37 (bug 807936) for bustage
2012-11-15 08:03:34 -08:00
Marty Rosenberg
867fab46f4
Add in support for running a cross-shell directly in qemu (bug 807936, r=ted)
2012-11-15 10:24:07 -05:00
Brian Hackett
9a7b9a148d
Allow performing code generation off thread during compilation, bug 785762. r=dvander
2012-11-15 07:00:05 -08:00
Shu-yu Guo
a81bd476ad
Bug 784291 - Implement JSOP_INTRINSICNAME in IonMonkey. (r=nbp) DONTBUILD
2012-11-06 17:54:49 -08:00
Shu-yu Guo
c37b3293f1
Bug 811562 - Decorate %_CallFunction arguments with JSOP_NOTEARG. (r=luke)
2012-11-14 22:56:50 -08:00
Ed Morley
bacc1c37d8
Backout e6a99483698f (bug 784291), ec87a47d93ca (bug 811562) for turning Win debug mochitest-1 orange
2012-11-15 12:12:31 +00:00
Peter Van der Beken
4362399169
Fix for bug 811895 (Fix WN Xray special methods so they can take new DOM binding objects). r=bz.
...
--HG--
extra : rebase_source : 4b4ade0c3cddee9241e94f2e20216cee73a8e284
2012-09-26 16:17:51 +02:00
Benoit Jacob
bc758b2b7a
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 2: handmade fixups - r=mccr8
2012-11-15 02:32:40 -05:00
Benoit Jacob
a1d7e0f511
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Benoit Jacob
ee1217da86
Bug 806279 - CC macros refactoring: part 3: fold the TRAVERSE_NATIVE and AMBIGUOUS cases - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
Shu-yu Guo
663ba004c2
Bug 784291 - Implement JSOP_INTRINSICNAME in IonMonkey. (r=nbp)
2012-11-06 17:54:49 -08:00
Shu-yu Guo
62eac7a398
Bug 811562 - Decorate %_CallFunction arguments with JSOP_NOTEARG. (r=luke)
2012-11-14 22:56:50 -08:00
Nicolas B. Pierron
b1e169f772
Bug 799185 part 1 - Rewrite ReconstructPCStack. r=jorendorff,gkw
2012-11-14 18:04:43 -08:00
Boris Zbarsky
d23220892d
Bug 811449 part 8. Get rid of nsGenericElement. r=peterv
2012-11-14 14:10:08 -08:00
Marty Rosenberg
911763cfd4
fix up a bunch of macro-assembler blemishes, and fix a jittest failure (bug 811489, r=djvj)
2012-11-14 16:38:03 -05:00
Joey Armstrong
61ce872904
bug 806558: add xpt.py as a dependency for XPIDL_LINK ing
2012-11-14 15:46:15 -05:00
Peter Van der Beken
04d165e18c
Fix for bug 807075 (New DOM binding APIs for HTMLElement). r=bz.
...
--HG--
extra : rebase_source : 842b9397d2b050f880c44d3366bcc838e6615fd5
2012-11-11 00:30:15 +01:00
Ben Turner
3674421703
Bug 809661 - Need a speedy way to construct a thread list for SMS messages. r=sicking
2012-11-14 11:49:56 -08:00
Ehsan Akhgari
fae9f61bf2
Backed out changeset f242101b1c00 (bug 810525) because of failed tests
2012-11-14 11:38:46 -08:00
Brendan Eich
cae9130c85
Bug 810525 - unregress DecompileValueGenerator change to handle object literal reference bases.
2012-11-15 05:29:57 +11:00
Bobby Holley
f96e25a00c
Bug 569506 - Tearoff tests. r=mrbkap
2012-11-14 10:15:13 -08:00
Bobby Holley
46b9d205df
Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
...
If callers want to throw, it's now their responsibility.
2012-11-14 09:56:26 -08:00
Bobby Holley
1352e469d8
Bug 800915 - Reimplement PUNCTURE consumers in terms of isSafeToUnwrap() and remove PUNCTURE API. r=mrbkap
2012-11-14 09:56:25 -08:00
Bobby Holley
6eebf2b4d4
Bug 800915 - Add infrastructure to flag security wrappers as unsafe to unwrap. r=mrbkap
2012-11-14 09:56:25 -08:00
Bobby Holley
a36b720564
Bug 800915 - Clarify and refine the semantics of SecurityWrapper so that it is used if and only if unwrapping is unsafe. r=mrbkap
...
The naming scheme for Xray typedefs is the concatenation of the tuple:
({SC,}, {Security,Permissive}, Xray, {XPCWN,DOM}). This is admittedly a bit
much, but I think it's still better than explicitly doing the "typdef Foo Xray"
everywhere. Moreover, once the new DOM bindings are done, the last component
in the tuple will go away.
2012-11-14 09:56:25 -08:00
Kartikaya Gupta
807a0d0fb3
Bug 808875 - Fix unused variable warning in Assembler-arm.cpp. r=mjrosenb
2012-11-14 09:41:19 -08:00
Ed Morley
b47760337b
Backout 54c4f2ff78e3 (bug 807075) for Windows compilation errors
2012-11-14 16:45:28 +00:00
Peter Van der Beken
a6c1144dae
Fix for bug 807075 (New DOM binding APIs for HTMLElement). r=bz.
...
--HG--
extra : rebase_source : 9afce481cd0a5c8a1014c8c9b0aad7d6665aaa82
2012-11-11 00:30:15 +01:00
Brian Hackett
d40aa94c9c
Eagerly generate a single copy of Ion stubs and wrappers, bug 786146. r=dvander
2012-11-14 06:46:31 -08:00
Hannes Verschore
34e57b1e05
Bug 809485: Don't stop at resumepoints in edgecase analysis, r=dvander
2012-11-14 12:02:58 +01:00
Jan de Mooij
c3b47e2cb1
Bug 809021 - Fix FastInvoke arguments length. r=dvander
2012-11-14 09:58:23 +01:00
Phil Ringnalda
79637f405f
Merge m-c to m-i
2012-11-13 22:18:42 -08:00
Phil Ringnalda
0b198716f3
Back out 3da143341145 (bug 784294) and 862f9cd7eb0b (bug 791850) for breaking Jetpack
2012-11-13 22:08:22 -08:00
Vladimir Vukicevic
ab4b89c989
no bug; sync dirs; CLOSED TREE bustage fix
2012-11-13 14:55:17 -05:00
Ehsan Akhgari
ff6b8ed976
Merge mozilla-central into mozilla-inbound
2012-11-13 11:16:31 -08:00
Kyle Huey
eb284af7b6
Bug 810987: When sharing a global, don't import properties onto the global, import them onto the appropriate 'this' object. r=mrbkap
...
--HG--
extra : rebase_source : c3a92d4197831fa3061bf3f01b7cc610cc89e867
2012-11-13 11:13:27 -08:00
Kyle Huey
d77f59d91d
Backout Bug 810987.
2012-11-13 10:27:37 -08:00
Kyle Huey
4c42acb694
Backed out changeset 62886fd1aaa4
2012-11-13 10:25:24 -08:00
Kyle Huey
f9f141bbec
Bug 810987: Followup bustage fix.
2012-11-13 10:24:08 -08:00
Blake Kaplan
952e7b94b3
Bug 811100 - Use the compartment's global for our global instead of always walking our parent chain. r=luke
...
--HG--
extra : rebase_source : acef0f81b55542b68c821f49afddf5be8b56d90f
2012-11-13 10:38:19 -08:00
Ed Morley
b24c51981f
Backout bcb591d32bd6 (bug 809674) on suspicion of breaking B2G marionette-webapi
2012-11-13 13:48:21 +00:00
Hannes Verschore
bebaed1be7
Bug 806298: Follow-up fix to unregress kraken-dft, r=jandem
2012-11-13 11:46:06 +01:00
Hannes Verschore
180623d6d4
Bug 806298: Disable recompile check for constructing JM calls, r=dvander
2012-11-13 09:45:35 +01:00
Phil Ringnalda
45529e865f
Merge m-c to m-i
2012-11-12 21:08:17 -08:00
Phil Ringnalda
6659b55460
Back out 08fd9aa0d6e1 (bug 810102) for turning bug 728834 permaorange
2012-11-12 21:01:17 -08:00
Ryan VanderMeulen
2c380fb37b
Backed out de9fff3a523, c567df2244f5, 8e3d976d5dc5, and c7499faaec23 (bug 800915) for bustage.
...
--HG--
extra : rebase_source : c823063bfa31d59d32b3402bd4b458b84b703cd5
2012-11-12 21:43:39 -05:00
Bobby Holley
24950d41c9
Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
...
If callers want to throw, it's now their responsibility.
2012-11-12 17:35:32 -08:00
Bobby Holley
763350c2ab
Bug 800915 - Reimplement PUNCTURE consumers in terms of isSafeToUnwrap() and remove PUNCTURE API. r=mrbkap
2012-11-12 17:35:32 -08:00
Bobby Holley
6935651371
Bug 800915 - Add infrastructure to flag security wrappers as unsafe to unwrap. r=mrbkap
2012-11-12 17:35:32 -08:00
Bobby Holley
aee7a8dde8
Bug 800915 - Clarify and refine the semantics of SecurityWrapper so that it is used if and only if unwrapping is unsafe. r=mrbkap
...
The naming scheme for Xray typedefs is the concatenation of the tuple:
({SC,}, {Security,Permissive}, Xray, {XPCWN,DOM}). This is admittedly a bit
much, but I think it's still better than explicitly doing the "typdef Foo Xray"
everywhere. Moreover, once the new DOM bindings are done, the last component
in the tuple will go away.
2012-11-12 17:35:31 -08:00
Makoto Kato
97504c0a7c
Bug 810661 - Turn off PGO of Ctypes.cpp. r=khuey
2012-11-13 10:22:05 +09:00
Kannan Vijayan
016acf4d14
Bug 803730 - Fix boxing of object input in instanceOf checks. r=sstangl,dvander
2012-11-12 19:40:18 -05:00
Bobby Holley
073a74ab6f
Bug 809674 - Fail at call time when invoking an XPCWrappedJS method with [implicit_jscontext] or [optional_argc]. r=mrbkap
...
I think this is the path of least resistance here.
2012-11-12 16:17:24 -08:00
Bobby Holley
ab1c2296a4
Bug 810743 - First check for pending exceptions, _then_ examine the invoke result. r=mrbkap
2012-11-12 16:17:24 -08:00
Luke Wagner
da2499ccc0
Bug 810192 - don't require a default constructor for Hash{Map,Set}; only construct objects for live elements (r=terrence)
2012-11-12 15:30:39 -08:00
Bill McCloskey
e72652f68f
Bug 810560 - Followup (r=luke)
2012-11-12 15:17:01 -08:00
Bill McCloskey
c9da53d854
Bug 810560 - Fix scheduledForDestruction assertion (r=luke)
...
--HG--
extra : rebase_source : 6c25ad6b505e818d66f1caaea907c55355f7559a
2012-11-12 14:57:53 -08:00
Bill McCloskey
51374d6014
Bug 811553 - Only count major page faults when possible (r=terrence)
2012-11-13 17:14:57 -08:00
Bill McCloskey
629c39229c
Bug 811176 - Shrinking GCs should clean up everything (r=terrence)
2012-11-13 17:14:53 -08:00
Bill McCloskey
28cc760e16
Bug 811176 - Purge small exec pools on GC (r=njn)
2012-11-13 17:13:44 -08:00
Nicholas D. Matsakis
3005a9f3ca
Bug 781602 - Permit multiple ion compilation modes. r=dvander
...
This implies the possibility of multiple ion scripts per JSScript.
* * *
Add abstractions for cases that handle all comp. modes at once.
* * *
split out separate fields for seq, par
* * *
Convert Invalidate() to assert that it is being run in sequential mode.
2012-11-13 18:58:48 -05:00
Jeff Walden
1040dd3fd1
Warning patrol: change the type of a variable to that of the value assigned to it, remove a set-but-never-used variable. No bug, r=sparky
2012-11-12 13:40:29 -08:00
Norbert Lindenberg
9319ea6c3e
Bug 769872 - Add C++ core of Intl object and constructors Collator, NumberFormat, DateTimeFormat. However, disable initialization of Intl object and its constructors while functionality is incomplete. r=jwalden
2012-11-12 13:23:01 -08:00
Terrence Cole
b3c6615148
Bug 810102 - Exactly root all BaseShape; r=sfink
2012-11-08 15:35:48 -08:00
Peter Van der Beken
508194a997
Fix for bug 804950 (New DOM binding APIs for Element). r=bz.
...
--HG--
extra : rebase_source : a8691ead07dfa8ecca812396047627dc15474d83
2012-10-16 13:51:00 +02:00
Nicholas D. Matsakis
78f95f5c9a
Bug 800064 - Fix the units of computation in the shell watchdog. r=terrence
2012-11-11 07:07:07 -05:00
Brian Smith
d79b8dcdb8
Bug 799009: Remove unneeded SSL-related security alerts, r=honzab, r=dao
2012-11-10 20:49:44 -08:00
Brian Smith
1da60348ef
Bug 799007: Remove support for low/weak/null cipher suites, r=honzab, r=dao
2012-11-10 20:49:29 -08:00
Brian Smith
87d054d8e5
backout cset b36d5c933092 due to orange
2012-11-10 19:09:07 -08:00
Brian Smith
7781a26273
backout cset 30f8e29f9cd1 due to orange
2012-11-10 19:08:26 -08:00
Brian Smith
d6580050c0
Bug 799009: Remove unneeded SSL-related security alerts, r=honzab, r=dao
...
--HG--
extra : rebase_source : b6216bf3163f63f1eb4f16901943d9f351bca2cf
2012-11-10 18:19:55 -08:00
Brian Smith
cb19bf16cd
Bug 799007: Remove support for low/weak/null cipher suites, r=honzab, r=dao
...
--HG--
extra : rebase_source : 822ef336a5cdeb7d6693dbe46844a26465600854
2012-11-10 18:18:14 -08:00
Brian Smith
20fdba1c78
Bug 804441: Put our NSPR and NSS header wrappers before OS_INCLUDES, r=ted
...
This allows inline functions in headers to call NSPR/NSS functions without
causing linking errors.
--HG--
extra : rebase_source : f89df8a53d6e8f624c84fc3b84982c4dd92d5f38
2012-10-24 14:31:54 -07:00
Matt Joras
b35928035b
Bug 798033 - Removes 'using namespace' from js headers - r=billm
2012-11-10 10:46:01 -05:00
Bill McCloskey
7e36fddbbd
Bug 803376 - Add a new form of TRANSPLANT GC, with assertions for leaks (r=luke)
...
--HG--
extra : rebase_source : 5cd365e2b3917ad3b649a39613ab9dae47d27320
2012-11-09 11:44:21 -08:00
Terrence Cole
6a34ee2abe
Bug 805080 - Move more API users to CompileOptions; r=luke
...
There is no reason to have special methods for specific sets of CompileOptions
when the JS::Compile interface is so easy to use. Other API methods can be
moved internal or removed entirely with this change.
--HG--
extra : rebase_source : f48fb221ebe02c0137e521ea605953532808825d
2012-11-06 17:36:47 -08:00
Peter Van der Beken
340572b953
Fix for bug 807330 (Make xpc_qsUnwrapThis/xpc_qsUnwrapArg deal with new DOM bindings). r=jst.
...
--HG--
extra : rebase_source : 3553f82516bfaa0764185f94e2eef616d9cd696d
2012-09-26 16:17:46 +02:00
Luke Wagner
e3722a2ce4
Bug 807845 - provide a jsfriendapi to query the caller's outermost enclosing function (r=jimb)
2012-11-09 11:39:52 -08:00
Bill McCloskey
1aa12c38e7
Backout 34791dac914c for assertion failure (bug 803376)
2012-11-09 11:39:39 -08:00
Wes Johnston
41d7374421
Bug 810398 - Update support library error message to be clearer. r=blassey
2012-11-09 11:07:40 -08:00