Commit Graph

25729 Commits

Author SHA1 Message Date
Steve Fink
efd1aed133 Bug 689101 - make the jsval_layout field in JS::Value public in MSC compiles for binary compatibility across C and C++ (r=luke) 2011-10-11 15:46:29 -07:00
Andrew McCreight
f021b62ea7 Bug 688277, part 2 - Expose way to get weak map keys to JS for testing. r=mrbkap 2011-10-13 09:33:57 -07:00
Andrew McCreight
32114da4b2 Bug 688277, part 1 - add JS friend API to get keys of a weak map. r=jorendorff 2011-10-13 09:33:39 -07:00
Jacek Caban
273446001b Bug 694046 - Invalid MOZ_CAN_RUN_PROGRAMS declaration in autoconf.mk.in r=khuey 2011-10-13 16:05:47 +02:00
Luke Wagner
333c8673a5 Bug 689362 - Remove empty jsstaticcheck.h (r=billm) 2011-10-12 10:28:56 -07:00
Peter Van der Beken
d636007fe7 Fix for bug 693894 (NodeList crash [@ js::GetObjectShape]). r=jst.
--HG--
extra : rebase_source : fe485e60f87633861c3aadde95c29af6d81ddcc9
2011-10-13 14:40:20 +02:00
Peter Van der Beken
40feabd0e0 Fix for bug 693563 (Generating dombindings_gen.cpp multiple times results in a different file) - sort properties in generated code. r=jst.
--HG--
extra : rebase_source : 40218fc5a1e60e24702d0646bbe3fafa0c268768
2011-10-13 14:40:20 +02:00
Peter Van der Beken
b25c99511e Fix for bug 693364 (Leak in CompartmentPrivate::RegisterDOMExpandoObject). r=Ms2ger.
--HG--
extra : rebase_source : 9728bcc317280079abd6bb5915d4d877beb9ab6f
2011-10-13 14:40:20 +02:00
Benoit Jacob
2e8b3bea76 Bug 638328 - remove (most of) WebGL quickstubbing blacklist - r=peterv
Most functions can now be auto-quicktubbed. Only those returning a jsval can't.
2011-10-13 08:09:22 -04:00
Marco Bonardo
3e721e1e4d Backout 212d9fcab778, 67c738a47561, a5cdc792975d, 6538d5d3c8d4 since suspects for OSX64 m-oth permaorange 2011-10-13 12:44:31 +02:00
Justin Lebar
e727833306 Back out rev 4c0e6b3f7791 (bug 689362) due to suspected mac x64 opt moth orange. 2011-10-12 23:07:04 -04:00
Luke Wagner
e87a2bf184 Bug 693895 - Remove call to js_ReconstructStackDepth in StackIter (r=dmandelin) 2011-10-12 10:30:15 -07:00
Josh Matthews
920cadb2f9 Bug 675520 - Ensure iterator prototype has a native iterator. r=jwalden 2011-10-12 18:48:14 -04:00
Chris Leary
d25f266344 Bug 693928: Fix random orange from LifoAlloc debug memset. (r=luke)
--HG--
extra : rebase_source : 314ebeb6364ad0bb45baa6b7d7f09b9603e47b27
2011-10-12 15:32:40 -07:00
Marco Bonardo
b89731b811 Backout 9572dd78af53 (Bug 693895) for make check failures 2011-10-13 00:20:32 +02:00
Luke Wagner
aca1d18323 Bug 693895 - Remove call to js_ReconstructStackDepth in StackIter (r=dmandelin)
--HG--
extra : rebase_source : f2a43ee843f708b175e2a3671d2d63c6c4b9a4e3
2011-10-12 10:30:15 -07:00
Luke Wagner
ed5d036178 Bug 689362 - Remove empty jsstaticcheck.h (r=billm)
--HG--
extra : rebase_source : d37d29af2a4f6b8c4f9a18468e57285ea8098824
2011-10-12 10:28:56 -07:00
Steve Fink
92987fb614 Bug 689101 - Test for firebug incompatibility due to jsval ABI mismatch (r=test)
--HG--
extra : rebase_source : b58acb6b58415e8f1954e46d094b9d6ad985efb1
2011-10-10 15:06:28 -07:00
Steve Fink
06c7b7e215 Bug 692722 - implement xpcshell -d for running in debug mode (r=mrbkap)
--HG--
extra : rebase_source : 7b664415f9490bb93adae6e6538d8d907b33c3d1
2011-10-06 23:34:21 -07:00
Steve Fink
5821a0e1da Bug 689101 - make the jsval_layout field in JS::Value public in MSC compiles for binary compatibility across C and C++ (r=luke)
--HG--
extra : rebase_source : e0605a4fc1b242ba8006a9e6038b95c49965e5ce
2011-10-11 15:46:29 -07:00
Matheus Kerschbaum
98e39d9eec Bug 477358 - Kill NS_USE_NATIVE r=khuey 2011-10-12 20:32:07 +02:00
Jeff Walden
d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Matheus Kerschbaum
5bb600d809 Bug 477358 - Kill NS_USE_NATIVE r=khuey 2011-10-12 20:32:07 +02:00
Jeff Walden
a2e83c488a Bug 692983 - Refactor Token and JSParseNode storage to distinguish atoms which are PropertyNames from atoms which might or might not be. r=cdleary 2011-10-08 15:45:29 -07:00
Jeff Walden
59fdf6b2d3 Bug 692978 - Split lookupProperty into property and generic forms, and use them throughout the engine. r=bhackett 2011-10-08 15:45:04 -07:00
Jeff Walden
52fd4e450f Bug 639469 - Use mozilla::ArrayLength and mozilla::ArrayEnd in preference to JS_ARRAY_LENGTH whenever possible. r=cjones 2011-10-10 23:00:28 -07:00
Jeff Walden
0f30b277bf Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Brian Hackett
3c6d8b1712 Faster handling when calling native methods on regexp literals, bug 692657. r=cdleary 2011-10-12 08:17:44 -07:00
Peter Van der Beken
5a37eca29e Fix for bug 693301 (Remove ConstructProxyObject) - switch outer window creation to nsWrapperCache::WrapObject. r=mrbkap. 2011-08-20 15:53:34 +02:00
Steve Fink
3b2a80cb85 Bug 693886 - non-threadsafe link error with JS_CallOnce (r=jwalden)
--HG--
extra : rebase_source : dcdabb93321a669066fa8b3afd7900b02ff09079
2011-10-11 21:51:37 -07:00
Steve Fink
f1c06caf28 Bug 693712 - Followup to fix further SM-specific build breakage (r=billm)
--HG--
extra : rebase_source : d9de95b4267d5aa0f6cdb53ce6bfbb0028fcdd3c
2011-10-11 12:38:36 -07:00
Phil Ringnalda
b5b3774023 Bug 682754 - date_parseISOString should tolerate a missing colon in the timezone, arr=Waldo
--HG--
extra : rebase_source : 96fc6fd1c3b3a8db5d653f065da9b3c6a00f057c
2011-08-28 23:16:37 -07:00
Brian Hackett
28415e00bf Don't load high bits when getting typed array lengths, bug 693144. r=dvander 2011-10-11 19:05:33 -07:00
Brian Hackett
38f04cab2b Disable jstracer by default, bug 693815. r=dmandelin 2011-10-11 18:41:45 -07:00
Jeff Walden
dc1d3461ab Fix an order-of-initialization warning just recently added, to move the warnings-as-errors build closer to green again. r=trivial 2011-10-11 17:47:56 -07:00
Jeff Walden
4bac585224 Followup fixes to misplaced test for bug 648471, seems I made them in the patch in a tree I didn't push. :-\ r=orange
--HG--
extra : rebase_source : cb9b119601b30fd3d66e0699f5c66bac850ec1c7
2011-10-11 17:43:25 -07:00
Ehsan Akhgari
8f2ae0223f Bug 693323 - Explcitly instantiate the ListBase class with the template arguments that we use it with, since apparently clang doesn't see the need to instantiate it automatically; r=peterv 2011-10-11 19:09:56 -04:00
Jeff Walden
fee6732327 Add a misplaced test for bug 648471, found in an old .hg/patches directory while pruning my Mozilla tree count. r=itsatest
--HG--
extra : rebase_source : 7c46baa4297335c05e71ac2e0229c06b84848d99
2011-10-10 22:05:06 -07:00
Matt Brubeck
18f7431fcb Merge mozilla-central to mozilla-inbound 2011-10-11 14:11:09 -07:00
Kyle Huey
6e35296786 Merge b-s to m-c. 2011-10-11 08:20:42 -04:00
Kyle Huey
3deee9a9f3 Bug 690961. r=mrbkap 2011-10-11 08:11:17 -04:00
Mike Hommey
f5938331d2 Bug 686283 - Properly handle EOF in TokenStream::getAtSourceMappingURL on platforms with unsigned chars. r=luke 2011-10-11 08:41:47 +02:00
Kyle Huey
8f49d6e655 Merge m-c to b-s. 2011-10-09 18:19:28 -04:00
Gregory Szorc
60408a7712 Bug 687225 - Detect MSVC 2011 compiler. r=ted 2011-10-03 21:57:00 -04:00
Matt Brubeck
0daf31992e Merge mozilla-central to mozilla-inbound 2011-10-10 16:19:01 -07:00
David Mandelin
21d13cc9dd Bug 687398: fix debug printing of method GC edge, r=cdleary
--HG--
extra : rebase_source : 1478968f01bed92e64f809d6bbe37169065bf923
2011-10-10 13:08:35 -07:00
Jim Blandy
cb049f16b9 Bug 693406: Set the activeAnalysis flag in the proper compartment when printing TypeCompartments from js_DestroyContext with INFERFLAGS=full. r=bhackett
When ISpewResult is enabled, js_DestroyContext walks over all the
compartments and dumps their types. However, it doesn't switch the context
to each compartment as it does so, so the context passed in to all the
print calls may not be in the same compartment as the scripts whose type
inference results it's printing. This means that

    AutoEnterAnalysis enter(cx);

sets the activeAnalysis flag in the wrong compartment, leading to assertion
failures in functions like js::analyze::ScriptAnalysis::slotEscapes.
2011-10-10 14:31:35 -07:00
Justin Lebar
bd7c061320 Bug 693393 - Make poor man's Maybe<AutoCompartment> in JSAutoEnterCompartment (slightly) less fragile. r=luke
--HG--
extra : rebase_source : 69d96dc62d674df1ba5121c6cbb31474208a6155
2011-10-10 15:51:59 -04:00
Bill McCloskey
1f68beb7b7 Bug 692884 - Manage GC's black/gray color transitions from JS, not xpconnect (r=mccr8) 2011-10-10 10:25:46 -07:00
Olli Pettay
086eedbed4 Bug 691059, don't throw when setting interface.prototype.onmouseenter/leave, r=bz
--HG--
extra : rebase_source : af4c6bb330ee92b9ca2d3d9258b3e41ea1fae746
2011-10-10 19:21:48 +03:00