Steve Fink
838da24cc1
Bug 741041 - Implement isProxy testing command for JS shell
...
--HG--
extra : rebase_source : 0beb5a22050916b5100d03314c257a48b19378ae
2012-03-28 14:43:02 -07:00
Doug Turner
5cb911288f
Bug 755836 - undef near in directory helper to avoid build errors. r=kyle
2012-05-16 13:27:56 -07:00
Doug Turner
8313ba6d13
Bug 751663 - Implement new device proximity like event that fires only when the screen is close to the user's face. r=smaug
2012-05-16 13:27:54 -07:00
Benjamin Peterson
0188b3d4f3
Bug 755163 - Kill a test which is not useful anymore and liable failure with different compilers. r=jwalden
...
--HG--
extra : rebase_source : 7bae87e7d74219c8a6e099c58a85445a7dfabcb1
2012-05-16 11:59:17 -07:00
Terrence Cole
b3bade5ef4
Bug 743854 - Do not call init on ArrayBuffer slots in NewObject. r=billm
...
ArrayBuffers use slotSpan to store their inline size. If we try to initialize
these, then we end up with their address in the StoreBuffer, but with arbitrary
bytes written in these fields by TypeArrays. This patch uses an exact class test
to prevent this initialization behavior.
--HG--
extra : rebase_source : 8aacef597dc7456c5e1e08524c84bbb0932b9a68
2012-05-16 12:01:50 -07:00
Joey Armstrong
94684ebe92
bug 742391: split config/rules.mk - file batch #1
2012-05-16 14:46:28 -04:00
Jim Blandy
b8c26d76b5
Bug 755778: Debugger.Environment.prototype.with should return "with" for 'with' statements' environments. r=jorendorff
2012-05-16 09:19:36 -07:00
Saurabh Anand
0246222c0f
Bug 732262 - Add toSource() and toString() methods to js-ctypes ABI objects. r=jorendorff.
2012-05-15 16:48:54 +05:30
Jason Orendorff
c805c1a187
Bug 752092 - Support building SpiderMonkey without JS_HAS_XML_SUPPORT. r=terrence.
2012-05-14 18:53:30 -05:00
Jason Orendorff
474b598d8d
Bug 710479 - ASan reports invalid read in PopOffPrec. r=dmandelin.
2012-05-14 18:49:09 -05:00
Jason Orendorff
ac411cc41b
Bug 721497 - Assertion failure: compartment mismatched, at ../jscntxtinlines.h:153 with dumpStack. r=luke.
2012-05-14 18:47:32 -05:00
Ed Morley
2acc0d3f41
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-05-16 10:06:15 +01:00
Till Schneidereit
be76842a0a
Bug 754299 - Update gcMaxMallocBytes of existing compartments in JSRuntime::setGCMaxMallocBytes. r=billm
2012-05-15 18:30:15 -04:00
Till Schneidereit
53b81d3cba
Change nsXPConnect::CheckForDebugMode to trigger one multi-compartment GC instead of individual GCs for all compartments, to fix GC pauses when switching tabs with Firebug. Bug 754201, r=jorendorff, r=sfink.
2012-05-14 18:46:51 -05:00
Nicholas Nethercote
25daad3e0e
Bug 753249 (part 6) - Remove TCF_GENEXP_LAMBDA from TreeContextFlags. r=luke.
...
--HG--
extra : rebase_source : 30b9e049999e66dae1409022adc8973efd7d2254
2012-05-14 21:38:42 -07:00
Nicholas Nethercote
e9272e872c
Bug 753249 (part 5) - Simplify use of TCF_GENEXP_LAMBDA in FoldConstants. r=luke.
...
--HG--
extra : rebase_source : 8cdce721b1bdfdea8fca8f98de8a0c8fc30e0b9d
2012-05-14 21:38:41 -07:00
Nicholas Nethercote
2a5533e3e5
Bug 753249 (part 4) - Remove TCF_HAS_SINGLETONS from TreeContextFlags. r=luke.
...
--HG--
extra : rebase_source : 873e79b43fc901057cf1ad79636077f5923a83c0
2012-05-14 21:38:39 -07:00
Nicholas Nethercote
a8b96221a0
Bug 753249 (part 3) - Remove TCF_IN_WITH from TreeContextFlags. r=luke.
...
--HG--
extra : rebase_source : c88cc07d9a3868ec756daa1da0a0cbe875d3c144
2012-05-14 21:38:37 -07:00
Nicholas Nethercote
ca73f72a05
Bug 753249 (part 2) - Remove TCF_IN_FOR_INIT from TreeContextFlags. r=luke.
...
--HG--
extra : rebase_source : f70060e47de0130c558c798a572d83c9184f82c5
2012-05-14 21:38:36 -07:00
Nicholas Nethercote
fc08f81685
Bug 753249 (part 1) - Remove TCF_IN_FUNCTION from TreeContextFlags. r=luke.
...
--HG--
extra : rebase_source : 00d0bc1cdead33084b56d629868009f8280c7988
2012-05-14 21:38:35 -07:00
Mike Hommey
693d8aa482
Bug 754557 - Fix building with --enable-methodjit-spew without --enable-debug. r=dmandelin
2012-05-15 07:44:58 +02:00
Mike Hommey
c20538e54d
Bug 748001 - Use explicit targets for object files. r=ted
2012-05-15 07:44:32 +02:00
Steve Fink
1b16f82893
Bug 723712 - Test for !isCachedEval assertion failure. r=test
...
--HG--
extra : rebase_source : a88931728024e9045947cee4b3e6a5a82030909d
2012-04-16 11:44:10 -07:00
Steve Fink
54e327cbf3
Bug 723712 - Allow entering a compartment with a cached eval script. r=jorendorff
...
--HG--
extra : rebase_source : fc7a9ae353eefad9b4c9e82b983380b55928c5b8
2012-02-27 13:18:30 -08:00
Steve Fink
ff6423c5f3
Bug 751398 - Make jsdService participate in cycle collection for all of its hooks. r=khuey
...
--HG--
extra : rebase_source : dd85ac1398037964cb729afb4c0d6ace07387c7b
2012-04-30 13:58:38 -07:00
Andrew McCreight
47adc22ec3
Bug 701415 - Enable GC tracing info in opt builds. r=billm
2012-01-13 17:19:19 -08:00
Joey Armstrong
f91f737a13
bug 751167: replace FORCE with makefile dependencies r=ted
2012-05-15 09:20:30 -07:00
Bill McCloskey
8ebc7bf879
Bug 757667 - Clean up Proxy tracing (r=terrence)
2012-05-23 16:31:26 -07:00
Brian Hackett
b80334038f
Remove Root<T>, bug 756823. r=billm
2012-05-24 08:52:21 -07:00
Bobby Holley
6e3fdf4e54
Bug 553102 - Fix test_cows.xul. r=mrbkap
2012-05-24 13:04:57 +02:00
Jan de Mooij
60dc57a09f
Bug 757845 - Add edge label to write barrier assert. r=billm
...
--HG--
extra : rebase_source : affe7600876aeb4969206f39b60c2a8390d43e90
2012-05-24 10:58:05 +02:00
Mike Hommey
51e2999d8f
Bug 756745 - Add -DANDROID and include path to ASFLAGS when building for Android. r=ted
2012-05-24 10:56:26 +02:00
Matt Brubeck
773ffb6265
Merge mozilla-central and mozilla-inbound
2012-05-14 21:41:08 -07:00
Nicholas Nethercote
e8f36613f2
Bug 752816 (part 3) - Remove TCF_COMPILE_N_GO from TreeContextFlags. r=luke.
...
--HG--
extra : rebase_source : caaac2b872c30d1b4fafacc2e3f32677a609fa7c
2012-05-14 18:00:19 -07:00
Nicholas Nethercote
fd43f617aa
Bug 752816 (part 2) - Remove TCF_{NO_SCRIPT_RVAL,NEED_SCRIPT_GLOBAL} from TreeContextFlags. r=luke.
...
--HG--
extra : rebase_source : 26aacee3d6663be4a77a758b5ebab77a48c797e5
2012-05-14 18:00:17 -07:00
Nicholas Nethercote
8166b79251
Bug 752816 (part 1) - Remove TCF_COMPILE_FOR_EVAL from TreeContextFlags. r=luke.
...
--HG--
extra : rebase_source : 18460968ee955f620e18da19a34a42fc2e061b0d
2012-05-14 18:00:15 -07:00
Matt Brubeck
bb3a6fefc7
Merge last green changeset from inbound to mozilla-central
2012-05-14 14:00:57 -07:00
Mike Hommey
5262f75c2c
Bug 754625 - Use idl-parser from $(LIBXUL_DIST)/sdk/bin and only remove lex and yacc files in header.py --regen. r=khuey
2012-05-14 17:19:39 +02:00
Bobby Holley
9c60ce3d2e
Bug 753277 - Assert that all cross-scope wrapper reparenting operations are cross-compartment, and remove the conditional. r=mrbkap
...
The reindentation is pure. No snakes.
2012-05-14 12:52:17 +02:00
Bobby Holley
dd6ca22451
Bug 753277 - Rename tobj to wrapperGuts, and avoid going through the SCSW on the other side unnecessarily. r=mrbkap
...
It's not wrong, but it's not necessary either, since we'll just unwrap directly to the underlying object during wrapping. And this is confusing enough as-is.
2012-05-14 12:52:17 +02:00
Bobby Holley
e8eacccb4d
Bug 753277 - Rename |obj| to |newWrapper| in js_TransplantObjectWithWrapper. r=mrbkap
2012-05-14 12:52:17 +02:00
Bobby Holley
582d7c4ddc
Bug 753277 - Make js_TransplantObjectWithWrapper use RemapWrappers. r=mrbkap
2012-05-14 12:52:17 +02:00
Bobby Holley
fa2b5be266
Bug 753277 - Rename |obj| to |newIdentity| in JS_TransplantObject. r=mrbkap
2012-05-14 12:52:16 +02:00
Bobby Holley
0e3a5c894c
Bug 753277 - Factor out CCW remapping from JS_TransplantObject and add comments. r=mrbkap
2012-05-14 12:52:16 +02:00
Nicholas Nethercote
43cf80e068
Bug 752793 (part 3) - Remove TCF_DECL_DESTRUCTURING from TreeContextFlags. r=luke.
...
--HG--
extra : rebase_source : 559857d9f8eed138c78f376014b9748a3a8ce4e1
2012-05-14 16:23:33 -07:00
Nicholas Nethercote
ef7e588510
Bug 752793 (part 2) - Remove TCF_HAS_FUNCTION_STMT from TreeContextFlags. r=luke.
...
--HG--
extra : rebase_source : 82cf18efce409b2b48bf10b36090b67daeda6981
2012-05-14 16:23:31 -07:00
Nicholas Nethercote
4fe4587156
Bug 752793 (part 1) - Remove TCF_RETURN_{EXPR,VOID} from TreeContextFlags. r=luke.
...
--HG--
extra : rebase_source : 6408cd4daf61e330b975cceff41d694cc2240847
2012-05-14 16:23:29 -07:00
Terrence Cole
16d19e5a76
Bug 737640 - Missing barriers in makeOwnBaseShape; r=bhackett
...
The default copy constructor for BaseShape gets used in makeOwnBaseShape,
bypassing the manual post barriers on getterObj and setterObj. This patch
goes through StackBaseShape, which is the correct usage. It also deletes the
copy constructor to ensure we don't have the same error in the future.
2012-05-14 15:02:43 -07:00
Nicholas Nethercote
8304bf7822
Bug 752758 - Separate TreeContext and BytecodeEmitter. r=bhackett.
2012-05-14 16:08:32 -07:00
Tom Schuster
889e3a0487
Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
2012-05-11 17:46:26 +02:00
Bill McCloskey
bd6f3cb10e
Bug 754242 - Reset incremental GC upon TOO_MUCH_MALLOC GC requests (r=terrence)
2012-05-11 21:07:54 -07:00
Matt Brubeck
e03dd6bfd0
Back out 6a7bfd84596e (bug 736501) because it broke the build on some versions of GCC (bug 754198)
2012-05-11 20:15:47 -07:00
Paul ADENOT
d19763225d
Bug 743720 - Import Speex's audio resampler in the tree. r=kinetik, khuey
2012-05-14 19:01:04 -04:00
Bobby Holley
a677897390
Bug 754311 - Null out the private of soon-to-be-transplanted reflectors _after_ copying their properties onto the holder. r=mrbkap
2012-05-14 23:30:07 +02:00
Bobby Holley
edc81ab397
Bug 754044 - Remove manual injection of same-compartment security wrappers, and make sure to call JS_Wrap* instead. r=mrbkap
2012-05-14 23:30:07 +02:00
Bobby Holley
80f05e377a
Bug 754044 - Apply same-compartment security wrappers in same-compartment wrapping callback. r=mrbkap
2012-05-14 23:30:07 +02:00
Bobby Holley
4b7ab64339
Bug 754044 - Introduce sameCompartmentWrapObjectCallback. r=mrbkap
...
We leave it null for gecko for the time being to keep this patch small.
2012-05-14 23:30:07 +02:00
Bobby Holley
d4db4d398f
Bug 754044 - Simplify the logic surrounding the prewrap callback in jscompartment.cpp. r=mrbkap
2012-05-14 23:30:07 +02:00
Bobby Holley
34a529a141
Bug 754044 - Alter the semantics of UnwrapObject{,Checked} to check for outer windows on the initial wrapper passed. r=mrbkap
...
This distinction is the only reason for writing the code in this confusing manner. And I don't think we need it now that we have stopAtOuter.
2012-05-14 23:30:07 +02:00
Bobby Holley
0359e6d4ba
Bug 754044 - Pass stopAtOuter=false in GetWrappedNativeOfJSObject, because that's what we mean. r=mrbkap
2012-05-14 23:30:07 +02:00
Luke Wagner
169c45f7b8
Bug 752379 - ContextStack::pushExecuteFrame should read the most recent 'fp' (r=bhackett)
...
--HG--
extra : rebase_source : 1b615fbb8bebab0bf5acd859a70b34ae405347a6
2012-05-07 09:15:08 -07:00
Luke Wagner
d40c032d4c
Bug 754503 - JSOP_SETALIASEDVAR should be JOF_DETECTING (r=bhackett)
...
--HG--
extra : rebase_source : 7980a9efdd48c0d8be31693840993908d82f313f
2012-05-14 12:40:34 -07:00
Steve Fink
32b9fa7d70
Bug 575688 - DataView.prototype should behave similarly to typed arrays (WebIDL compliance). r=Waldo
...
Also remove unwanted prototype searching behavior.
2012-03-28 14:43:02 -07:00
Joey Armstrong
bbe5cba9d1
bug 753939: makeutils.mk .mk loading logic with unit tests r=ted
2012-05-11 11:47:29 -07:00
Landry Breuil
a7b3472b9e
bug 736961 - use the same cachedir for all idl-parser calls, fixes builds without objdir - r=khuey
2012-05-11 11:17:00 -07:00
Ed Morley
4c4c3cfd18
Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange
2012-05-11 18:25:52 +01:00
Tom Schuster
6e0861373a
Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
...
--HG--
extra : rebase_source : edf2077f8b8bad1970eab6ebe9996e761d4e596c
2012-05-11 17:46:26 +02:00
Tom Schuster
9b9d48c710
Bug 751139 - Prevent cloning of bound functions. r=luke
...
--HG--
extra : rebase_source : acf1984137884fec53246a35f3f06f978557bc40
2012-05-11 17:46:03 +02:00
Terrence Cole
aca286389c
Bug 753619 - Fix progress bar totals in jstests.py; r=dmandelin
...
Something in the previous refactorings has messed up the display of the
progress bar such that it occasionally jumps over 100% and 80chars.
2012-05-10 16:06:41 -07:00
Terrence Cole
6bf0f798df
Bug 745326 - Make Map/SetObject keys/values relocatable; r=billm
...
Since they use HashTable internally, we need their keys to derive from
RelocatableValue, rather than HeapValue. This also modifies the marking to allow
for the relocation, when that happens.
--HG--
extra : rebase_source : b2499e3354fda99a0ea7a349443c2adef717146b
2012-05-10 17:37:43 -07:00
Terrence Cole
06e209e46c
Bug 752031 - Librarify the jsreftest suite; r=dmandelin
...
Moves the random .py implementation files into a lib subdirectory.
--HG--
rename : js/src/tests/manifest.py => js/src/tests/lib/manifest.py
rename : js/src/tests/progressbar.py => js/src/tests/lib/progressbar.py
rename : js/src/tests/results.py => js/src/tests/lib/results.py
rename : js/src/tests/tasks_unix.py => js/src/tests/lib/tasks_unix.py
rename : js/src/tests/tasks_win.py => js/src/tests/lib/tasks_win.py
rename : js/src/tests/tests.py => js/src/tests/lib/tests.py
2012-05-04 13:49:39 -07:00
Luke Wagner
c6c54f9d2e
Fix inline-used-but-not-defined warning (no bug,r=themaid)
2012-05-10 08:48:39 -07:00
Terrence Cole
9f08093df2
Bug 753931 - Add specialized post barriers to RelocatableValue; r=billm
...
This inserts stubs for GenerationalGC relocation barriers into the specialized
"Relocatable" HeapValue.
2012-05-10 11:38:39 -07:00
Michael Wu
397c7ddb86
Bug 753378 - Support building on x86 gonk, r=glandium
2012-05-10 11:34:17 -07:00
Steve Fink
a7e6ebec5a
Bug 752250 - xpc_UnmarkGrayContext should never throw an exception. r=billm
...
It is possible to have a JSContext with no global object and no frames on the
stack, yet still be within a request. In that case, xpc_UnmarkGrayContext will
trigger an exception "nothing active on context" when it attempts to access the
inner object of the cx's NULL global.
2012-05-09 15:12:27 -07:00
Benjamin Smedberg
b620e2c572
Bug 736501 - Use -Werror=unused-result, r=ted/mayhemer/njn
...
--HG--
extra : rebase_source : 121cddcd66f9be9b80840b47aecbe95307bae0ab
2012-05-01 09:24:38 -04:00
Bill McCloskey
c43168e530
Bug 753615 - Ensure we don't re-enter a GC phase (r=terrence)
2012-05-10 10:29:45 -07:00
Gregory Szorc
f10aa4ab08
Bug 748490 - Part 3: Followups to part 2; r=ted
...
Previous patch was submitted prematurely by accident. This addresses
nits from review.
2012-05-10 10:19:16 -07:00
Gregory Szorc
21cf7fa9e3
Bug 748490 - Part 2: Register testing modules with xpcshell test runner; r=ted
2012-05-10 10:10:14 -07:00
Gregory Szorc
c049995c49
Bug 748490 - Part 1: Provide build rules to install test-only JS modules; r=ted
2012-05-10 10:10:11 -07:00
Andrew McCreight
29d756483c
Bug 747251 - remove unused declaration of JS_CompartmentGC. r=billm
2012-05-10 07:59:33 -07:00
Mike Hommey
6cedf102d3
Bug 751845 - Remove pcre source, and cleanup js/src/Makefile.in after bug 691898. r=dmandelin
2012-05-10 12:31:01 +02:00
Nicholas Nethercote
996f6f628f
Bug 750606 - Remove TreeContext::parser, thus avoiding cycles between TreeContext and Parser objects. r=bhackett.
2012-04-30 22:20:06 -07:00
Nicholas Nethercote
fcdaa9599f
Bug 750580 - Remove cyclic dependency between Parser and BytecodeEmitter modules by introducing a TreeContext module. r=jorendorff.
...
--HG--
rename : js/src/frontend/BytecodeEmitter-inl.h => js/src/frontend/TreeContext-inl.h
extra : rebase_source : 5f4bc6d40424f6c1e44b3c7344559e19ca067a1b
2012-04-30 17:59:23 -07:00
Boris Zbarsky
3a47108ff7
Bug 753397. Add a field to nsCSSPropList for a preference that controls the property. r=dbaron
...
The actual controlling is not hooked up yet; that will happen in bug 753522 for
the DOM reflections of properties.
2012-05-09 21:29:37 -04:00
Nicholas Nethercote
6346436929
Bug 750282 - Remove TCF_COMPILING from TreeContextFlags. r=jorendorff.
...
--HG--
extra : rebase_source : 53a263d5925ccaf659ae1c37d01cc5671576e4b3
2012-05-09 17:31:58 -07:00
Nicholas Nethercote
3f0a25e250
Bug 751818 - Remove DefineGlobal and lots of related stuff. r=jorendorff.
...
--HG--
extra : rebase_source : 1f666636eab276351bc35b77bd620c3dba127299
2012-05-09 16:20:11 -07:00
Bill McCloskey
3b23a21ff7
Bug 750834 - Disable jit-test bug740509.js (r=NPOTB)
2012-05-09 16:33:04 -07:00
David Rajchenbach-Teller
f2667912e1
Bug 748776 - Record a more precise type in CDataFinalizer::Construct. r=jorendorff
2012-05-09 10:33:30 +02:00
Ryan VanderMeulen
95e442c979
Merge m-c to inbound.
2012-05-09 18:42:00 -04:00
Bill McCloskey
a5f1d03983
Bug 750959 - Permit incremental GC on Android (r=terrence)
2012-05-09 15:35:51 -07:00
Bill McCloskey
734ef1d59f
Bug 735944 - about:support should show 0 when incremental GC disabled (r=terrence)
2012-05-09 15:34:08 -07:00
Till Schneidereit
de56f316ae
Bug 746253 - Use non-incremental GCs for TOO_MUCH_MALLOC (r=igor)
2012-05-09 15:08:30 -07:00
Brian Hackett
012002f0d2
Don't throw away JIT code for compartments in web pages displaying animations, bug 750834. r=billm
2012-05-09 14:14:10 -07:00
Olli Pettay
c7525b178b
Bug 716014 Investigate if we could use CompartmentGC more often, r=billm+terrence
...
--HG--
extra : rebase_source : f0cfb9cdd2e2823898f4c18402df53e7b6041bac
2012-05-09 21:53:23 +03:00
Kevin Locke
882e9642c4
Bug 752357 - Include compartment location (sandbox name) in compartment name when it differs from the principal name. r=nnethercote.
...
--HG--
extra : rebase_source : f82959649a377c4f3806043d83506e3aa48b5915
2012-05-08 19:02:37 -07:00
Jim Blandy
e3072c8fdc
(No bug): Remove comment referring to deleted functions. r=luke on IRC
2012-05-08 18:05:37 -07:00
Terrence Cole
8bd6a4afe4
Bug 753101 - Re-enable gc-zeal in the shell; r=billm
...
GCZeal got disabled by accident in Bug 742570. This patch re-enables it using
the environment and removes the depricated help option.
--HG--
extra : rebase_source : c2553c3f325afbbe1234fbf8fe59c47df936b8b2
2012-05-08 17:33:58 -07:00
Terrence Cole
549398c8a4
Bug 753479 - Make HashTable::Enum::rekeyFront take a separate Lookup; r=luke
...
--HG--
extra : rebase_source : 7f8b2cda64f34c60f702182f64e370a73a593934
2012-05-04 14:18:28 -07:00
Till Schneidereit
17056d85f2
Bug 723350 - Improve last-ditch GC trigger. r=billm
2012-05-08 18:49:13 -04:00
Luke Wagner
57ad808df2
Bug 747617 - fix document.all and swap JSClass::{construct,hasInstance} so this doesn't happen again (r=bz)
...
--HG--
extra : rebase_source : 036acbd046ff8b42f81e63933901b6aaaa595a76
2012-05-07 12:44:08 -07:00
Bill McCloskey
7c860dc749
Bug 750538 - Remove jsgcstats.{cpp,h} (r=dmandelin)
2012-05-08 11:14:14 -07:00
Bill McCloskey
1ca53de65f
Bug 751454 - Use automarker for XPCNativeScriptableInfo (r=bholley)
2012-05-08 11:11:09 -07:00
Jon Buckley
f4f2e1efb0
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Ed Morley
8a8e40fff3
Backout ba7cf6fd10ae (bug 728017) for failing to compile
2012-05-08 18:50:45 +01:00
Jon Buckley
56d33b746c
Bug 728017 - Implement WEBGL_compressed_texture_s3tc - r=bjacob
2012-05-08 13:29:31 -04:00
Ryan VanderMeulen
dbbb10d4f3
Merge m-c to inbound
2012-05-07 20:29:19 -04:00
Bill McCloskey
4ee08f1c5e
Bug 752098 - Fix script filename marking with incremental GC (r=luke)
2012-05-07 16:56:57 -07:00
Nicholas Nethercote
f1e81b0077
Bug 752381 - Merge System Principal compartments in about:memory. r=jlebar.
2012-05-06 22:05:16 -07:00
Nicholas Nethercote
6c7a2e4a48
Bug 739512: fix Mac and Windows bustage caused by patch 3. r=me.
2012-05-07 10:53:56 +10:00
Nathan Froyd
4e4c07f7b3
Bug 744444 - Part 3: delete CPP_PROG_LINK; r=ted
2012-04-12 16:58:11 -04:00
Nathan Froyd
aebe12273e
Bug 744444 - Part 2: delete quantify target and related support; r=ted
2012-04-12 16:56:57 -04:00
Nathan Froyd
916666dddc
Bug 744444 - Part 1: delete purify target; r=ted
2012-04-12 16:54:34 -04:00
Jim Blandy
b538ad173b
(No bug): Fix comment for callee accessor methods in js::StackFrame. r=luke on IRC
2012-05-09 12:10:17 -07:00
Nicholas Nethercote
6a419f79c8
Bug 739512: Patch 3: shrink the representation of optional arrays in JSScript. r=luke.
...
--HG--
extra : rebase_source : df3e7190d8afbff1dfe95c44b838d6460b2c11b6
2012-04-11 17:19:00 -07:00
Nicholas Nethercote
96f2fadeb1
Bug 752374 - Fix GCC integer overflow warnings in jsatominlines.h. r=bhackett.
...
--HG--
extra : rebase_source : aea8276518c71af6817abf096309585d1c8f1d05
2012-05-06 16:43:15 -07:00
Bill McCloskey
a37b5cc6dd
Bug 749698 - Setup compartment to collect when gcPoke set (r=igor)
2012-05-06 16:36:21 -07:00
Bill McCloskey
244450a2fe
Bug 752081 - Add more cases to IncrementalReferenceBarrier (r=sfink)
2012-05-06 16:33:50 -07:00
Nicholas Nethercote
1ab0e6aade
Bug 739512: Patch 11: change JSScript::useCount to uint32_t. r=dvander.
...
--HG--
extra : rebase_source : 408dd77b28b697140f6ba08680b24cb69c046390
2012-04-11 16:37:57 -07:00
Brian Hackett
b9e5d87ac0
Disallow non-canonical jsids, bug 751331. r=luke
2012-05-06 13:45:19 -07:00
Andrew Paprocki
e565d0e693
Bug 736792 - Add JSOPTION_STRICT_MODE for embedders to force ES5 strict mode for all code without requiring "use strict" annotations. r=njn
2012-05-05 15:26:16 -04:00
Bobby Holley
45e0c007a8
Bug 749173 - Remove AutoPreserveCompartment. r=luke
2012-05-06 13:09:49 +02:00
Phil Ringnalda
6e4683b768
Back out 4ef39e03c9d9 (bug 736792) for jsreftest failures
2012-05-05 21:43:44 -07:00
Andrew Paprocki
6bf009775c
Bug 736792 - Add JSOPTION_STRICT_MODE for embedders to force ES5 strict mode for all code without requiring "use strict" annotations. r=njn
2012-05-05 15:26:16 -04:00
Bobby Holley
0d95d0707d
Bug 743961 - Null-check context pushing callbacks. r=mrbkap
2012-05-05 18:33:40 +02:00
Jan de Mooij
4b6f27bd2a
Bug 752015 - Remove MethodJIT-inl.h. r=bhackett
2012-05-05 18:23:40 +02:00
Ryan VanderMeulen
bc51a0c96c
Merge m-c to m-i
2012-05-05 11:50:54 -04:00
Olli Pettay
9d5d8db7e0
Backout Bug 716014, a=bustage
2012-05-05 18:20:09 +03:00
Brian Hackett
0b49a55227
Check that double variables have the correct representation when changing types at switch targets, bug 751320. r=dvander
2012-05-05 07:18:55 -07:00
Ed Morley
6361d5ddd5
Merge mozilla-central to mozilla-inbound
2012-05-05 12:57:25 +01:00
wmccloskey@mozilla.com
6100309277
Bug 716014, use compartment gc more often, JS API part, r=terrence
...
--HG--
extra : rebase_source : c61a7552611cfbb0ce39bfee7787da57bec5a637
2012-05-05 11:56:58 +03:00
Olli Pettay
b36d55e20b
Bug 716014, use compartment gc more often, r=billm
...
--HG--
extra : rebase_source : cf20b7aca16349e4007da24cfb5b19ab7a16cad8
2012-05-05 11:55:30 +03:00
Ms2ger
9a5ae693e0
Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley
2012-05-05 11:00:05 +02:00
Ms2ger
b11a242059
Bug 745427 - Fix XPCWrappedNativeScope::SetContext; r=gal
2012-05-05 11:00:04 +02:00
Christian Holler
83eee27c9f
Bug 751195 - Mark GC function unsafe for AddressSanitizer, r=billm
2012-05-05 02:08:32 -04:00
Ryan VanderMeulen
dddf8fcfda
Backout 2c8ae0c81d32 (bug 742391) due to bustage. r=FAIL
2012-05-04 23:03:31 -04:00
Joey Armstrong
adc397fb3a
Bug 742391 - Split config/rules.mk - file batch #1 . r=ted
2012-05-04 22:46:35 -04:00
Bill McCloskey
3c4a0bf4ce
Bug 745034 - Add page fault counts to GC statistics (r=terrence,dmandelin)
2012-04-09 12:30:33 -07:00
Jeff Walden
340a8204d1
Bug 752737 - Delete the default and copy constructors and assignment operator from JSString and JSObject to avoid errors. r=luke
...
--HG--
extra : rebase_source : 37d8f094e917a097ac1b2ee0d4956f15e46c532c
2012-05-07 16:45:19 -07:00
Luke Wagner
e1a90a627f
Bug 752205 - Ensure switch case strings are atoms (r=njn)
...
--HG--
extra : rebase_source : e91d6c4d5c078e9ae16e7d3bd80e082a564dee57
2012-05-07 08:36:59 -07:00
Terrence Cole
1194eebfb8
Bug 752604 - Ergonomics improvements for HashTable::rekeyFront; r=luke
...
--HG--
extra : rebase_source : 9764f2db38844106ac13f5281d85464f0b2aff80
2012-05-07 12:46:28 -07:00
Jan de Mooij
ea13dfadcb
Bug 738525 - Add IC for getters backed by a JSNative. r=bhackett
...
--HG--
extra : rebase_source : 7ad0e6625985cb6349285f918570b9aa4ac2780e
2012-05-07 21:17:48 +02:00
Bill McCloskey
b2fd5edfd1
Bug 743879 - Eliminate lazy atoms (r=Waldo)
2012-05-07 10:13:04 -07:00
Bill McCloskey
2ed9ab6a54
Bug 743879 - Backout for build errors (r=bustage)
2012-05-07 10:27:10 -07:00
Boris Zbarsky
15ff74a708
Bug 751077. Skip binding for the XPConnect-default property ops as well when resolving properties on a sandbox prototype. r=bholley
2012-05-07 13:26:50 -04:00
Bill McCloskey
b0e2a9db25
Bug 743879 - Eliminate lazy atoms (r=Waldo)
2012-05-07 10:13:04 -07:00
Bill McCloskey
aea575c644
Bug 747926 - Preserve type tag when overwriting VM stack values (r=bhackett)
2012-05-07 10:12:58 -07:00
Bill McCloskey
421b6bb01c
Bug 748119 - Read barrier for js::types::Type (r=bhackett)
2012-05-07 10:12:52 -07:00
Bill McCloskey
c346895d33
Bug 748119 - Disable verifier reachability check (r=bhackett)
2012-05-07 10:12:46 -07:00
Bill McCloskey
d795f500b9
Bug 749039 - Fixup registers when returning from methodjit (r=bhackett)
2012-05-07 10:12:30 -07:00
Bill McCloskey
0253660d2a
Bug 715761 - Start to rewrite xpconnect TraceJS code (r=bholley)
2012-05-07 10:01:50 -07:00
Bill McCloskey
8fd6ef2cbb
Bug 715761 - Replace xpconnect automarker macros with templates (r=bholley)
2012-05-07 10:01:44 -07:00
Bill McCloskey
194b0556d3
Bug 715761 - Move xpconnect mark bits (r=bholley)
2012-05-07 10:01:39 -07:00
Bill McCloskey
6e431c131a
Bug 715761 - Add a comment explaining xpconnect (r=bholley)
2012-05-07 10:01:33 -07:00
Mike Hommey
6042daba22
Bug 751865 - Avoid Preprocessor.py applying filters to file names given on the command line. r=ted
2012-05-07 14:17:47 +02:00
Terrence Cole
9c17250a2d
Bug 750547 - Remove unused dead branch in js_AtomizeString; r=Waldo
...
--HG--
extra : rebase_source : e063dae5c05d8da3687e7ce73465e74a49067ccb
2012-04-30 16:20:10 -07:00
Terrence Cole
9439340e4d
Bug 750577 - Use self rooters as needed; r=bhackett
...
These rooters were introduced in 745742, but not used throughout the method.
2012-04-30 18:08:19 -07:00
Jason Orendorff
c4b35914f5
Bug 738479 - Debugger.Script objects whose referents are non-compile-and-go are crashy. Also fixes bug 746973. r=jimb.
...
--HG--
extra : rebase_source : 406065559a1e26485503b6d1e4d7eeea9070321f
2012-05-04 10:49:13 -05:00
Jason Orendorff
59f1d8880d
Bug 725733 - Fix crash in ScriptAnalysis::addTypeBarrier with Debugger. r=billm.
...
--HG--
extra : rebase_source : eb7726d3857bb4e0f89a7f669fb2791415979e86
2012-05-03 14:37:35 -05:00
Jason Orendorff
eeeffea415
Only run jit-tests under valgrind if we built the JS engine with valgrind.h. Bug 725733, r=jimb.
...
--HG--
extra : rebase_source : 06d41845a5f16a05e2483cbfaa254fda5d343c98
2012-05-03 14:36:11 -05:00
Adam
1313db489d
Bug 727331 - JS OOM Testing: Assertion failure: !rt->gcRunning, at js/src/jsgc.cpp:2990. r=billm.
...
--HG--
extra : rebase_source : 5ce0763977c233adeb8a97402a936e3226991671
2012-05-01 10:37:00 -05:00
Jason Orendorff
b442f6158f
Bug 749316 - Put Debugger object into chrome scratchpad. r=dcamp,bholley.
...
--HG--
extra : rebase_source : 12ab275ac9cdfa0e9890c507e30e0b56e4086816
2012-05-01 10:17:32 -05:00
Jason Orendorff
f82689fa60
Bug 745802 - JS OOM Testing: Crash [@ js::HeapId::operator jsid]. r=bhackett.
...
--HG--
extra : rebase_source : ef4e762c3e63cbcc09247f861c4d7c030b389b10
2012-04-26 15:57:29 -04:00
Jason Orendorff
1e28d3097d
Bug 749693 - JS shell global doesn't need JSCLASS_HAS_PRIVATE or its_finalizer. r=jandem.
...
--HG--
extra : rebase_source : cd46a6909564fb1f3a4e557df17cae3deed2e458
2012-04-27 14:42:55 -04:00
Tom Schuster
6446af5eb2
Bug 648526 - Constant folding in array and object literals. r=bhackett
2012-05-02 16:12:07 +02:00
Tom Schuster
949d0ed298
Bug 749620 - Add missing power of 10 for edge case. r=luke
2012-05-02 16:11:00 +02:00
Nathan Froyd
3424268f44
Bug 746238 - pack TypeCallsite and TypeCompartment better; r=bhackett
2012-04-17 14:00:20 -04:00
Doug Turner
9eaa2d7486
Bug 738465 - implement device light sensor. r=smaug
2012-05-02 09:43:45 -07:00
Doug Turner
f158836867
Bug 738131 - implement device proximity. r=smaug
...
* * *
Bug 738131 - implement device proximity. gonk implementation. r=mwu
2012-05-02 09:43:45 -07:00
Jeff Walden
2c47c1be49
Disable a small bit of debug code when compiling with MSVC as a temporary workaround for a compiler bug. Hopefully a semantically-equivalent workaround can be found in the longer term, but in the short term this at least makes debug Windows shell builds compile again, in a way dmandelin thinks is at least not unreasonable. Another followup to bug 745472, split out for clarity, r=themaid
...
--HG--
extra : rebase_source : 3f211be919bbc567167859daabb4c41ef2677fbe
2012-05-03 19:17:19 -07:00
Jeff Walden
d3f73398fd
Fix Windows build warnings, followup to bug 745742. r=themaid
...
--HG--
extra : rebase_source : e660c857ebbd1f8592bb04a1da5cc542cf3e0098
2012-05-03 19:03:13 -07:00
Ryan VanderMeulen
4435f6ef33
Bug 575688 - Follow-up so that new test only runs in shell. r=orange
2012-05-03 20:58:28 -04:00
Luke Wagner
312c73da34
Bug 690135 - remove some bits of jsdbgapi and shell (r=jorendorff)
...
--HG--
extra : rebase_source : 6741e97b5279c41ec1b9a08fbf5e693b17820106
2012-04-25 18:19:06 -07:00
Luke Wagner
87f8d00692
Bug 746839 - rm FunctionBox::methods and CleanFunctionList (r=jimb)
...
--HG--
extra : rebase_source : 710be6cb5a9cb7684bb0e6310a7715edb3a713f3
2012-04-18 17:10:41 -07:00
Luke Wagner
18726cc0d0
Bug 747554 - Parsing destructuring short-hand should note name use like normal identifiers (r=waldo)
...
--HG--
extra : rebase_source : 8ed0f8e4228b6704c064703707760abb017ed346
2012-05-02 09:36:55 -07:00
Steve Fink
68da1345a6
Bug 730208 - UnmarkGray fixups for globals and contexts. r=billm
...
A common source of potential black -> gray edges is JSAPI calls made on objects with gray globals or contexts holding gray globals. (The call could potentially update a black object with a pointer to that global.) This patch mostly traps places where contexts are used, and unmarks their globals. It also includes some more global unmarking.
--HG--
extra : rebase_source : 835c1d6b4a7f7a11571412075ae8847475079edd
2012-03-14 09:32:58 -07:00
Steve Fink
9dedd97230
Bug 730208 - Root JSD's pet global so it can't participate in CC cycles. r=billm
...
--HG--
extra : rebase_source : 9bf6a12faedab111efee048af0e543b2c1881782
2012-03-20 21:29:47 -07:00
Steve Fink
9f33681083
Bug 730208 - XPConnect changes to UnmarkGray some more objects and return them for convenience. r=mccr8
...
--HG--
extra : rebase_source : ddbfd05ec43868d39c26b1c37cac7e81522df29f
2012-03-20 21:22:40 -07:00
Steve Fink
f698f0a936
Bug 730208 - Implement js::IsIncrementalBarrierNeededOnScript. r=billm
...
--HG--
extra : rebase_source : c5ee6063a72e251b1b4ef08aa2d97b6d8364a0e1
2012-04-27 10:53:07 -07:00
Steve Fink
0aa674568a
Bug 575688 - Implement DataView from Typed Arrays spec. r=Waldo
...
--HG--
extra : rebase_source : b351000320c910c905be386cf71a9933cfe01a0f
2012-03-25 19:14:27 -07:00
Steve Fink
7c9f81a176
Bug 741039 - Modify TypedArrays and ArrayBuffers to comply with the WebIDL spec. r=Waldo
...
WebIDL 4.4.6 says Float32Array.prototype is not a platform object and should throw TypeErrors when any of the Float32Array attributes is accessed. This patch makes obj->isTypedArray only succeed for actual TypedArray instances, and adds TypeErrors when special properties are retrieved from the prototypes.
This patch also eliminates some lingering uses of TypedArray::getTypedArray and makes it and getArrayBuffer static within jstypedarray.cpp. (Both are used for objects whose prototypes are typed arrays or array buffers.)
--HG--
extra : rebase_source : 93032b5c8dc98c4e18eec4fa438f6a9a4173487d
2012-04-23 15:13:02 -07:00
Jeff Walden
32c9789b3d
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 : 43867f7bc935fd5ba41e93ea9f25e4bd8af60d4d
2012-05-02 14:33:17 -07:00
Jeff Walden
1d2ba95dba
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 : 0cf117e91b1eb8f5eef801c5190380bf988b67a5
2012-05-01 20:04:36 -07:00
Jeff Walden
b491b04386
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
Johnny Stenback
1541a5dfed
First part of bug 749392. Stop exposing 'clear' in our shells in preparation of removing the underlying JS_ClearScope() API. r=jwalden
2012-05-03 15:52:45 -07:00
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
David Mandelin
e51ac1c63e
No bug, update Handle documentation, r=NPOTB
2012-04-27 16:40:10 -07:00
Nicolas Pierron
b704824ee8
Bug 745057 part 2 - Rename FrameRegsIter to ScriptFrameIter. r=luke
2012-04-27 15:14:35 -07:00
Nicolas Pierron
fca5fbaada
Bug 745057 part 1 - Abstract StackFrame in TypeObject::clearNewScript. r=luke
2012-04-27 15:14:34 -07:00
David Mandelin
71815b8e0c
No bug, add header comments to Memory.h, r=none
2012-04-27 15:10:54 -07:00
Marty Rosenberg
c7812481a1
Specify that the input to a gnu asm statemnt is also an output so gcc knows the value in the register gets clobbered (bug 749486, r=jbramley)
2012-04-27 14:58:03 -07:00
Eddy Bruel
5736dd244e
Bug 703537: Removing the fix trap r=jorendorff@mozilla.com
2012-04-27 17:09:32 -04:00
Justin Lebar
3358cdba26
Bug 741652 - Followup: Remove incorrect comment. DONTBUILD
2012-04-27 13:46:45 -04:00
Peter Van der Beken
5b0b0cd364
Fix for bug 723465 (Make finalize for DOM list bindings use XPConnect).
...
--HG--
extra : rebase_source : e4df7d98765aaa2c600044d69f8714568f1d6109
2012-04-27 10:15:40 +02:00
Peter Van der Beken
1780bb4050
Fix for bug 741267 (UserScript's XMLHttpRequest is undefined in 20120401 nightly).
...
Pass two objects when creating a DOM interface object, the global used to cache
the DOM interface objects and a receiver object on which the named property is
that points to the DOM interface object.
--HG--
extra : rebase_source : b462393e7376fdb68f3b279ccd08b3ab25ac154a
2012-04-23 16:10:56 +02:00
Gijs Kruitbosch
bdf19a4af3
Bug 539095 - Expose high-res timers to web content (performance.now()). r=bz, sr=smaug
...
--HG--
extra : transplant_source : o%9F%061%D4%B5%7D%5C%FB%95%5D%16%27%DEKU%EC%21%3AR
2012-04-27 09:22:06 +02:00
Makoto Kato
1282bb9cf8
Bug 747311 - autodetect android_toolchain on Android/x86. r=glandium
2012-04-27 14:45:38 +09:00
Phil Ringnalda
fe946c3539
Merge m-c to m-i
2012-04-26 21:40:59 -07:00
Ed Morley
eb2b16513c
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-04-26 13:46:02 +01:00
Kyle Huey
5dd46d1310
Bug 695480: Remove support for chrome code leaking DOM objects. r=jst,billm,bholley
2012-04-25 21:03:53 -07:00
Andrew McCreight
b23b951d76
Bug 678615, part 2: remove FinishCycleCollection. r=smaug
2012-04-25 08:10:09 -07:00
Andrew McCreight
9b6a388e23
Bug 678615 - remove ExplainLiveExpectedGarbage. r=smaug sr=peterv
2012-04-25 08:10:09 -07:00
Ed Morley
e2fc1d05c8
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
Mike Hommey
1d45c60f19
Bug 747870 - Properly align XPCLazyCallContext::mData. r=bholley
2012-04-25 09:09:08 +02:00
Mike Hommey
82568e3e18
Bug 743241 - Remove OSARCH and OSTYPE defines from config.mk. r=ted
2012-04-25 09:01:10 +02:00
Mike Hommey
e9359afb21
Bug 508942 - Use Preprocessor.py filters in #defines and #includes. r=ted,r=pike
...
Original patch by Markus Stange.
2012-04-25 09:00:57 +02:00
Matt Brubeck
657b0b8a57
Back out bug 730208 and bug 747543 because of xpcshell test failures
2012-04-24 20:47:16 -07:00
Ryan VanderMeulen
7d4f50a90d
Backout 0b170d1f5d10 (bug 735280) due to red.
2012-04-24 22:09:23 -04:00
Gabor Krizsanits
0a0e1a6bd0
Bug 735280 - Part 3: Components object specific wrapper. r=bholley
2012-04-24 21:48:02 -04:00
Gabor Krizsanits
5e3c4050c6
Bug 735280 - Part 2: Add pre-create to nsXPComponents. r=bholley
2012-04-24 21:48:01 -04:00
Gabor Krizsanits
fbfac2ce86
Bug 735280 - Part 1: Connect XPCWrappedNativeScope and Components. r=bholley
2012-04-24 21:47:54 -04:00
Ehsan Akhgari
c7d143b9fa
Merge mozilla-central into mozilla-inbound
2012-04-24 21:29:44 -04:00
Ehsan Akhgari
5ab7b33081
Merge the last green PGO changeset from birch to mozilla-central
2012-04-24 20:54:12 -04:00
Patrick Wong
15df25098f
Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar
2012-04-24 14:43:00 -04:00
Lukas Blakk
e168a7cf2c
Merging in version bump NO BUG a=relman
2012-04-24 12:54:16 -04:00
Bobby Holley
b365939940
Bug 743615 - Add the JS_{Read,Write}StructuredClone api. r=jorendorff
2012-04-24 12:58:07 +02:00
Ehsan Akhgari
5cac768d9b
Merge mozilla-central into birch
2012-04-24 10:49:42 -04:00
Ehsan Akhgari
a3145104fc
Merge from mozilla-central
2012-04-23 18:17:44 -04:00
Kyle Huey
544801113f
Bug 747245: Fix a silly weak reference assertion. r=bent a=mfinkle
2012-04-23 14:14:10 -07:00
Ehsan Akhgari
fec480dc6c
Merge mozilla-central into birch
2012-04-22 16:10:35 -04:00
Mike Hommey
cb3f1cdb07
Bug 749573 - Declare run-mozilla.sh and xpcshell as SDK_BINARY. r=ted
2012-04-30 08:05:34 +02:00
Mike Hommey
4c9231de07
Bug 748739 - Link stdc++compat as a static library, and always link it when STDCXX_COMPAT is enabled. r=ted
...
--HG--
rename : build/stdc++compat.cpp => build/unix/stdc++compat/stdc++compat.cpp
2012-04-30 08:03:59 +02:00
Nathan Froyd
2ddeb1802e
Bug 746228 - pack JSPropertyDescriptor better on 64-bit hosts; r=luke
2012-04-17 13:45:38 -04:00
Josh Matthews
fb81af3718
Bug 729204 - Make docshell privacy notifications work across multiple processes. r=bz
2012-04-19 20:13:20 -04:00
Ehsan Akhgari
545bb7a0b1
Merge mozilla-central into birch
2012-04-20 13:50:08 -04:00
Ehsan Akhgari
731cf9d3bd
Merge mozilla-central into birch
2012-04-19 10:03:36 -04:00
Myk Melez
3298891e22
bug 746156 - isolate webapp runtime files into subdirectory of Firefox package; r=bsmedberg, a=akeybl
2012-04-19 00:39:52 -07:00
Terrence Cole
c2dcce01c3
Bug 746356 - Ignore js files in the root test dir; r=dmandelin, a=blassey
...
We should not be skipping computing their relative name, we should be skipping
them completely.
--HG--
extra : rebase_source : 3d2477afa62861afd0599f6448daf59acae7c268
2012-04-18 17:47:54 -07:00
Boris Zbarsky
1d381b0df9
Bug 742168. Refer to experimental bindings, not Paris bindings, in the pref code, since it will only control a subset of the Paris bindings. r=peterv
2012-04-18 12:02:04 -04:00
Ginn Chen
e10bb0e00b
Bug 689916 testing for regexp crash on SPARC r=dmandelin a=test-only
2012-04-18 18:41:10 +08:00
Marco Bonardo
a5c3c5f751
Merge last green PGO from inbound to central
2012-04-17 15:31:58 +02:00
Olli Pettay
2547761e2e
Bug 731875 - Geolocation doorhanger might cause a zombie compartment, GeoPositionOptions part, r=dougt
2012-04-16 22:08:48 +03:00
Luke Wagner
2c25680807
Bug 745236 - fix f.apply(arguments) optimization bug 2 (r=bhackett,a=lsblakk)
...
--HG--
extra : rebase_source : cda098b51a867bf32f1486bc5b9170c3c747af9a
2012-04-13 09:55:13 -07:00
Luke Wagner
87d447f3ea
Bug 745236 - fix f.apply(arguments) optimization bug 1 (r=bhackett,a=lsblakk)
...
--HG--
extra : rebase_source : 2cb0944ca1beaa25f38d47180d73eb1cbaf0d285
2012-04-13 09:55:12 -07:00
Nicholas Nethercote
2a519582cb
Bug 739512: Patch 4: move JS{Const,Object,TryNote}Array into the |js| namespace. r=sfink.
2012-04-10 23:51:12 -07:00
Nicholas Nethercote
0449d38c5c
Bug 739512: Patch 10: add JSScripts::hasConsts() et al. r=dvander.
2012-04-10 23:51:10 -07:00
Jeff Walden
e6f318e4b5
Bug 739380 - Start to implement a [[HasProperty]] hook, per the proto-climbing refactoring, for elements. r=bhackett
2012-04-10 16:33:44 -07:00
Nicholas Nethercote
c33177f72e
Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
...
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Boris Zbarsky
7c123acb64
Bug 748237. Only do the c++11 stuff for clang here, since otherwise we get scary warnings with gcc on android. r=luke
2012-04-26 00:43:00 -04:00
Boris Zbarsky
705298151f
Bug 747815. Use const strings for arguments in DOM bindings. r=peterv
2012-04-26 00:42:03 -04:00
Ryan VanderMeulen
3f70ab0134
Backout a0b3af4ac9f5 (bug 735280) due to Android jsreftest orange.
2012-04-25 21:59:36 -04:00
Luke Wagner
ff78e58bc6
Bug 748212 - Tolerate n layers of wrapping around a RegExp (r=bholley)
...
--HG--
extra : rebase_source : 1f53df440672630bf309bef3af40b313fa8bf4f4
2012-04-25 18:18:46 -07:00
Gabor Krizsanits
8f2218a116
Bug 735280 - Part 3: Components object specific wrapper. r=bholley
2012-04-25 20:12:33 -04:00
Gabor Krizsanits
8be449330e
Bug 735280 - Part 2: Add pre-create to nsXPComponents. r=bholley
2012-04-25 20:12:33 -04:00
Gabor Krizsanits
bf2e6d5a8a
Bug 735280 - Part 1: Connect XPCWrappedNativeScope and Components. r=bholley
2012-04-25 20:12:33 -04:00
Steve Fink
74301a8848
Bug 748109 - realpath -> abspath. r=terrence
...
--HG--
extra : rebase_source : 72dffb16b58fec41babde5aba3160e8da67782d1
2012-04-25 15:02:23 -07:00
Jeff Walden
5bccccb194
Bug 739380 - Start to implement the [[SetP]] hook from the proto-climbing refactoring. r=bhackett
2012-04-09 16:03:23 -07:00
Jeff Walden
5d9de2e734
Bug 739380 - Start to implement the default [[GetP]] hook from the proto-climbing refactoring for the various element types. r=bhackett
2012-04-10 16:33:44 -07:00
Jeff Walden
22091d195f
Bug 747197 - abs works on ints, fabs works on doubles, grasshopper. Smallest bugfix ever. r=terrence
2012-04-26 17:19:04 -07:00
Nicholas Nethercote
cced47210c
Bug 745068 - Minor front-end cleanups. r=jorendorff.
...
--HG--
extra : rebase_source : 29e7d06bc87f19c0d0a8fe239af9219e6c255032
2012-04-16 15:35:31 +10:00
Brian Hackett
8d5d467e8a
Stop precisely tracking arguments and locals beyond a 1000 variable threshold, bug 735974. r=dvander
2012-04-15 21:38:53 -07:00
Brian Hackett
1e885365ff
Check type compatibility when coercing RootedVar to Handle, bug 745361. r=luke
2012-04-15 21:19:44 -07:00
Justin Lebar
fcfe8663d1
Bug 741378 - Rejigger the js memory reporters to match jemalloc's. r=njn
2012-04-16 12:20:54 +10:00
Justin Lebar
3224a73351
Back out changeset 21f34fdd64a3 (bug 741378) because it breaks telemetry. r=me
2012-04-16 11:34:00 +10:00
Justin Lebar
53370f1873
Bug 741378 - Rejigger the js memory reporters to match jemalloc's. r=njn
2012-04-16 11:17:26 +10:00
Bobby Holley
e5b3f77326
Bug 745483 - Don't assert that TI is enabled when the pref is disabled. r=jdm
2012-04-15 17:54:03 -07:00
Bobby Holley
57c411f141
Bug 743843 - Introduce the options object for Components.Exception. r=Ms2ger,sr=mrbkap
2012-04-15 17:51:37 -07:00
Bobby Holley
81d2fb5c67
Bug 743843 - Ditch the confusing switch-based parsing and add some comments. r=Ms2ger
2012-04-15 17:51:36 -07:00
Bobby Holley
962fe6a512
Bug 743843 - Factor individual argument parsers into helper methods. r=Ms2ger
2012-04-15 17:51:36 -07:00
Bobby Holley
b94bf966aa
Bug 743843 - Factor out Exception argument parsing into a helper class. r=Ms2ger
...
For ease of reviewing, note that there are only 2 changes to the big switch statement:
1 - return ThrowAndFail(...) -> return false.
2 - eMsgBytes -> messageBytes
2012-04-15 17:51:36 -07:00
Bobby Holley
5ad283e61f
Bug 745422 - Factor fundamental traps into js::AbstractWrapper. r=gal
2012-04-15 16:43:14 -07:00
Ms2ger
35284f64bb
Bug 742893 - Part a: Make xpc_qsValueTo{Uint,Int}64 public; r=bholley
2012-04-14 15:07:31 +02:00
Ms2ger
cd73c4ce46
Bug 741349 - Get rid of the mozilla::xpconnect::memory namespace; r=bholley
2012-04-14 15:05:19 +02:00
Ms2ger
cdc1f73263
Bug 741347 - Remove nsIXPConnect::DefineDOMQuickStubs, call DOM_DefineQuickStubs directly instead; r=bholley
2012-04-14 15:05:17 +02:00
Alessandro Decina
1c7e653fdb
Bug 422540 - GStreamer backend for audio/video decoding. r=cdouble, a=npotb
2012-04-18 18:33:13 -04:00
Ehsan Akhgari
290887ede1
Merge the last green PGO changeset on mozilla-inbound into mozilla-central; a=me
2012-04-18 16:18:04 -04:00
Bill McCloskey
c6102f0325
Bug 731837 - Fix GC mark time regression from IGC (r=igor,a=tracking-firefox)
2012-04-17 12:40:30 -07:00
Jeff Walden
ab97535c2d
Bug 736591 - Reduce the amount of string allocation attempted in ecma_5/RegExp/regress-617935.js to hopefully reduce intermittent orange. (The limit the test previously checked is no longer correct, so the allocation need not be repeated quite so many times as it was before this patch.) r=luke
2012-04-16 17:34:36 -07:00
Christian Holler
5f271feed7
Bug 734976 - Call js_ReportOutOfMemory in jsgcinlines when simulating OOM. Original patch by Brian Hackett. r=luke,bhackett,jdemooij
2012-04-14 11:37:32 -07:00
Nicolas Pierron
45d2abd5fe
Bug 745360 - Native calls are not function frames. r=luke
2012-04-13 18:27:57 -07:00
Luke Wagner
4a777f5ace
Fix warnings in js/src (no bug, rs=dvander)
2012-04-13 18:03:33 -07:00
Mark Capella
47e4a1599d
Bug 723530 - double error reporting in ctype JS api implementation, r=bholley
2012-04-27 12:47:00 +02:00
Terrence Cole
d692e55baf
Bug 748397 - Do not use non-standard format chars in gcStats; r=billm
...
It turns out that %F is not in the standard for SuSv2 which apparently covers
the printf family. This does the float printing in a hackier, but portable, way.
2012-04-26 15:21:19 -07:00
David Mandelin
7474323301
Bug 746036 diagnostic: crash on compartment mismatch entering JS_ExecuteScript, r=billm
...
--HG--
extra : rebase_source : ca6212351aa4e40ab3038aa45bda3329ab367f0c
2012-04-26 16:09:53 -07:00
Joey Armstrong
1df281a102
Bug 746151 - re-add approved patch edits that were merged away - r=coop
2012-04-26 18:12:20 -04:00
Bobby Holley
afd0a6ab09
Bug 747749 - Remove call to JS_SetGlobalObject in mozJSComponentLoader. r=luke
2012-04-26 20:40:11 +02:00
Ms2ger
c2a16b9ef9
No bug - NULL isn't a boolean (JS_InitCTypesClass edition); rs=Waldo
2012-04-26 20:02:33 +02:00
Jeff Walden
f569b84d3f
Bug 746262 - Augment PropDesc so that it can represent the absence of a property by adding an isUndefined() method and bit, and checking it in all the relevant accessors. r=jorendorff
...
--HG--
extra : rebase_source : 45b29d3f65a9e01119f01d9a30f574038abcaea1
2012-04-18 15:06:30 -07:00
Jeff Walden
21a80f218f
Bug 745944 - Make PropDesc assert propriety of access in its accessors, and privatize all PropDesc fields. r=jorendorff
...
--HG--
extra : rebase_source : 4c39a5437f7940684c9bc3624ca6d6f06579576e
2012-04-10 11:08:28 -07:00
Jeff Walden
e6fe181c19
Bug 747197 - Rename TIMECLIP to TimeClip to match the spec spelling (also as it's no longer a macro). r=luke
...
--HG--
extra : rebase_source : f4a1b1dc841e01fbd8a5d444ae7b6d29882b09e6
2012-04-19 16:22:08 -07:00
Jeff Walden
082cbd9d07
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
Terrence Cole
6b8c3b1c5a
Bug 746236 - Fix make -C builddir jstestbrowser; r=ted.mielczarek
...
Broken by Bug 735549.
2012-04-17 11:40:57 -07:00
Terrence Cole
5d86dbd378
Bug 746829 - Group jsreftest options by category; r=dmandelin
...
Should be a mild usability improvement. Also reorganizes the code to make
future changes easier.
2012-04-19 18:12:41 -07:00
Terrence Cole
12a1ff7afb
Bug 745322 - Make a relocatable version of HeapId; r=billm
...
We cannot put implicitly post-barriered items into memory managed outside the
GC.
--HG--
extra : rebase_source : 9d4c8db78d887642dd06e60788e9d514040e92e4
2012-04-16 13:05:47 -07:00
Brian Hackett
6182fbbd16
Get rooting analysis to pass jit-tests in the interpreter, bug 745742. r=billm
2012-04-30 17:10:30 -07:00
Bill McCloskey
a397838fbe
Bug 750416 - Fix error in restoreValueArray in JS GC (r=igor)
2012-04-30 16:00:10 -07:00
Bill McCloskey
f040098556
Bug 750476 - Fix comment in gc/Barrier.h (r=NPOTB)
2012-04-30 13:51:55 -07:00
Justin Lebar
8bae8c2aa9
Bug 748440 - Part 1: Add heap-committed-unused and heap-committed-unused-ratio memory reporters, and rename some JS memory reporters to match. Also add back the js-gc-heap memory reporter. r=njn
...
--HG--
rename : browser/components/privatebrowsing/test/unit/test_privatebrowsing_telemetry.js => browser/components/privatebrowsing/test/unit/test_privatebrowsing_autostart.js
rename : browser/components/privatebrowsing/test/unit/test_privatebrowsingwrapper_telemetry.js => browser/components/privatebrowsing/test/unit/test_privatebrowsingwrapper_autostart.js
rename : security/manager/ssl/src/TransportSecurityInfo.cpp => security/manager/ssl/src/nsNSSIOLayer.cpp
rename : security/manager/ssl/src/TransportSecurityInfo.h => security/manager/ssl/src/nsNSSIOLayer.h
extra : rebase_source : 237a72f9b82f0e39dd0f15afa6056f231dc58358
2012-04-30 14:27:15 -04:00
Kyle Huey
87f0bc8fd4
Bug 750253: Reorder generation of quickstubs header/cpp to avoid unnecessary rebuilds. r=ted
2012-04-30 12:30:00 -04:00
Mike Hommey
d643aad293
Bug 750290 - Remove tools/leaky. r=dbaron
2012-04-30 18:17:46 +02:00
Christian Holler
c58a3a8696
Bug 749768 - Disable valgrind for jit-tests when running with AddressSanitizer, r=khuey
2012-04-30 10:23:12 -04:00
Joey Armstrong
320de12b9d
bug 748130: Replace FORCE dependencies, repacks are a conditional force. r=ted
2012-04-27 17:00:00 -04:00
Terrence Cole
5ac24e9b9c
Bug 735549 - Generate the JS reftest suite's manifests automatically; r=dmandelin
...
--HG--
extra : rebase_source : 910bca5b40e37a69427cb3ab1332f24c00a0b2e7
2012-03-22 18:52:12 -07:00
Bobby Holley
a496ec55ac
Bug 745661 - Make TI assertion handle safe mode, too. r=khuey
2012-04-16 16:57:36 -07:00
David Anderson
3a7a15cbe2
Remove more uses of JS_FrameIterator (bug 744617, r=mrbkap).
2012-04-16 12:30:04 -07:00
David Anderson
f0a562ebba
Remove simple JS_FrameIterator uses in xpconnect (bug 744617, r=bholley).
...
--HG--
extra : rebase_source : c206450cf46011543f58cded4c5aff2d49932afd
2012-04-16 12:25:28 -07:00
Ed Morley
b9555a71ef
Backout 3e24a0ebd104 (bug 726949) for M-oth orange; a=backout
2012-04-19 12:28:43 -07:00
Boris Zbarsky
549135f239
Bug 726949. Instead of using the given proto for the sandbox directly, use a proxy that forwards to the given proto but rebinds all getters/setters/methods to use the given proto, not the sandbox global, as this. r=bholley, a=tracking-firefox
...
The code in XPCQuickStubs.h just moved from XPCQuickStubs.cpp.
2012-04-19 14:19:41 -04:00
Jason Orendorff
92468d9c4d
Bug 738617 - Revert changeset 6d139ebc0f43 (bug 730139). Reserving let breaks some web sites. r=Waldo, a=mfinkle.
2012-04-18 15:07:11 -05:00
Steve Fink
62a5eb3725
Bug 747543 - Convert JIT registration API to use JITChunks nearly everywhere in place of JITScripts. r=bhackett
...
--HG--
extra : rebase_source : fd1ab3d4e24b8046b85421b29dfa96e1a74bf608
2012-01-30 16:13:24 -08:00
Steve Fink
f05afcc260
Bug 730208 - UnmarkGray fixups for globals and contexts. r=billm
...
A common source of potential black -> gray edges is JSAPI calls made on objects with gray globals or contexts holding gray globals. (The call could potentially update a black object with a pointer to that global.) This patch mostly traps places where contexts are used, and unmarks their globals. It also includes some more global unmarking.
--HG--
extra : rebase_source : 1286bdbc4c337956242c292e0fa385629ee8850b
2012-03-14 09:32:58 -07:00