Commit Graph

18875 Commits

Author SHA1 Message Date
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
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
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
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