Bobby Holley
b572a685e7
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
a8b6ee5b62
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
bdab0d509a
Bug 753277 - Rename |obj| to |newWrapper| in js_TransplantObjectWithWrapper. r=mrbkap
2012-05-14 12:52:17 +02:00
Bobby Holley
f72dfca882
Bug 753277 - Make js_TransplantObjectWithWrapper use RemapWrappers. r=mrbkap
2012-05-14 12:52:17 +02:00
Bobby Holley
85cfd6cd32
Bug 753277 - Rename |obj| to |newIdentity| in JS_TransplantObject. r=mrbkap
2012-05-14 12:52:16 +02:00
Bobby Holley
2d09d27412
Bug 753277 - Factor out CCW remapping from JS_TransplantObject and add comments. r=mrbkap
2012-05-14 12:52:16 +02:00
Tom Schuster
448c19e69b
Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
2012-05-11 17:46:26 +02:00
Bill McCloskey
d3eb051edf
Bug 754242 - Reset incremental GC upon TOO_MUCH_MALLOC GC requests (r=terrence)
2012-05-11 21:07:54 -07:00
Matt Brubeck
04c833ea52
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
cd3bf543ab
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
3b6a3febef
bug 753939: makeutils.mk .mk loading logic with unit tests r=ted
2012-05-11 11:47:29 -07:00
Landry Breuil
21a2fe28a9
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
94067f98cb
Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange
2012-05-11 18:25:52 +01:00
Tom Schuster
a5e74fc12b
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
746a3daa9f
Bug 751139 - Prevent cloning of bound functions. r=luke
...
--HG--
extra : rebase_source : acf1984137884fec53246a35f3f06f978557bc40
2012-05-11 17:46:03 +02:00
Terrence Cole
48f55ac0ec
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
35fe6c36fc
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
14724241a3
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
a227127b18
Fix inline-used-but-not-defined warning (no bug,r=themaid)
2012-05-10 08:48:39 -07:00
Terrence Cole
0ff66b2175
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
e57041ba5c
Bug 753378 - Support building on x86 gonk, r=glandium
2012-05-10 11:34:17 -07:00
Steve Fink
baee8c66ce
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
c16b458bb6
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
06cdf685b9
Bug 753615 - Ensure we don't re-enter a GC phase (r=terrence)
2012-05-10 10:29:45 -07:00
Gregory Szorc
cef8c5bb2e
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
f8c002b1a2
Bug 748490 - Part 2: Register testing modules with xpcshell test runner; r=ted
2012-05-10 10:10:14 -07:00
Gregory Szorc
13fa710cfc
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
9f1a132d0a
Bug 747251 - remove unused declaration of JS_CompartmentGC. r=billm
2012-05-10 07:59:33 -07:00
Mike Hommey
b245adabf4
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
63dafcc687
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
f954328742
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
c8acd24873
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
13789a6837
Bug 750282 - Remove TCF_COMPILING from TreeContextFlags. r=jorendorff.
...
--HG--
extra : rebase_source : 53a263d5925ccaf659ae1c37d01cc5671576e4b3
2012-05-09 17:31:58 -07:00
Nicholas Nethercote
c72049657e
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
965bf0ebde
Bug 750834 - Disable jit-test bug740509.js (r=NPOTB)
2012-05-09 16:33:04 -07:00
David Rajchenbach-Teller
1a0407c2ad
Bug 748776 - Record a more precise type in CDataFinalizer::Construct. r=jorendorff
2012-05-09 10:33:30 +02:00
Ryan VanderMeulen
e6a700a873
Merge m-c to inbound.
2012-05-09 18:42:00 -04:00
Bill McCloskey
37845d28b0
Bug 750959 - Permit incremental GC on Android (r=terrence)
2012-05-09 15:35:51 -07:00
Bill McCloskey
b6f0151bba
Bug 735944 - about:support should show 0 when incremental GC disabled (r=terrence)
2012-05-09 15:34:08 -07:00
Till Schneidereit
152663fd99
Bug 746253 - Use non-incremental GCs for TOO_MUCH_MALLOC (r=igor)
2012-05-09 15:08:30 -07:00
Brian Hackett
95590a1229
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
add06019f5
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
4e41d9f4c2
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
a64f4b177b
(No bug): Remove comment referring to deleted functions. r=luke on IRC
2012-05-08 18:05:37 -07:00
Terrence Cole
7ec887fa90
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
6478881af8
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
75b5aed746
Bug 723350 - Improve last-ditch GC trigger. r=billm
2012-05-08 18:49:13 -04:00
Luke Wagner
05a5a19152
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
b4bea81a93
Bug 750538 - Remove jsgcstats.{cpp,h} (r=dmandelin)
2012-05-08 11:14:14 -07:00
Bill McCloskey
cfb762161c
Bug 751454 - Use automarker for XPCNativeScriptableInfo (r=bholley)
2012-05-08 11:11:09 -07:00