Commit Graph

16565 Commits

Author SHA1 Message Date
Steve Fink
51be211b08 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
b520783790 Bug 477358 - Kill NS_USE_NATIVE r=khuey 2011-10-12 20:32:07 +02:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Matheus Kerschbaum
8368560bae Bug 477358 - Kill NS_USE_NATIVE r=khuey 2011-10-12 20:32:07 +02:00
Jeff Walden
61aacb842c 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
97fefeff6d 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
bd8d321b37 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
77ebbde4ab 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
85685994c3 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
ebc0b38209 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
5b5d96c02c 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
88e262a803 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
dadd332adf 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
f5bebab173 Don't load high bits when getting typed array lengths, bug 693144. r=dvander 2011-10-11 19:05:33 -07:00
Brian Hackett
21a1740a0b Disable jstracer by default, bug 693815. r=dmandelin 2011-10-11 18:41:45 -07:00
Jeff Walden
e927e083c3 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
9d9f203609 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
5d9711e376 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
c5928ba9bb 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
9a844008c2 Merge mozilla-central to mozilla-inbound 2011-10-11 14:11:09 -07:00
Kyle Huey
7acd90d977 Merge b-s to m-c. 2011-10-11 08:20:42 -04:00
Kyle Huey
7f5811a7a3 Bug 690961. r=mrbkap 2011-10-11 08:11:17 -04:00
Mike Hommey
19beef62f0 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
209504202f Merge m-c to b-s. 2011-10-09 18:19:28 -04:00
Gregory Szorc
364d4fb86e Bug 687225 - Detect MSVC 2011 compiler. r=ted 2011-10-03 21:57:00 -04:00
Matt Brubeck
33a76a6eed Merge mozilla-central to mozilla-inbound 2011-10-10 16:19:01 -07:00
David Mandelin
49f04f6941 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
071d1f62d5 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
33ec36f375 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
075030270d 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
92f9d92d00 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
Olli Pettay
ee754072c0 Bug 691059, don't throw when setting interface.prototype.onmouseenter/leave, r=bz
--HG--
extra : rebase_source : 617c1329d2f863e01f8654da96736095152b5734
2011-10-10 14:42:55 +03:00
Olli Pettay
820e58a527 Bug 691059, don't throw when setting interface.prototype.onmouseenter/leave, r=bz
--HG--
extra : rebase_source : 0bbc272f1389cda424334a9f5c804c9c70fe7815
2011-10-10 14:42:17 +03:00
Luke Wagner
a2c8ca61d4 Bug 692366 - Soften nativeCall assert to allow for generic non-generic methods (yeah, that's right) (r=waldo)
--HG--
extra : rebase_source : 3bca2d458118cce3959f978a36a5c5aa85a5ef9c
2011-10-07 11:58:47 -07:00
Luke Wagner
b8fcb43b2b Bug 692300 - date_valueOf should claim to be date_valueOf to NonGenericMethodGuard (r=waldo)
--HG--
extra : rebase_source : dfbe787ad430c8f173f1f8a22ffe66e2cd5cf352
2011-10-07 11:58:45 -07:00
Luke Wagner
3d72635b02 Bug 632064 - remove use of GetScopeChain in e4x (r=igor)
--HG--
extra : rebase_source : 656a975ea0ca945b9c55b26768545c6e06190754
2011-10-04 10:50:25 -07:00
Kyle Huey
b71da150fd Merge m-c to b-s. 2011-09-30 16:25:07 -04:00
Jason Orendorff
d8a251886e Fix GCC warnings about using CHECK_EQUAL macro to compare a pointer to NULL. no_r=red. 2011-09-29 15:52:05 -05:00
Jason Orendorff
7ebbbb1c1a Bug 688571 - JS_PropertyIterator is broken. r=Waldo.
--HG--
extra : rebase_source : bde827991fb39bfc1fbae9e39dac2923713cf13d
2011-09-29 15:05:07 -05:00
Chris Leary
924c144871 Fix license block errors. (DONTBUILD) 2011-09-29 11:54:51 -07:00
Rafael Ávila de Espíndola
b9c70d96b3 Bug 689066 - Fix c++11 incompatibility. r=luke. 2011-09-29 13:49:54 -04:00
Ehsan Akhgari
a8d2514455 Merge mozilla-central into mozila-inbound 2011-09-29 12:51:50 -04:00
Kyle Huey
0b7e698fb5 Bug 688417: Test for Bug 505915 expects setting xhr.onreadystatechange to unwrap the object passed in. r=mrbkap 2011-09-29 12:06:36 -04:00
Kyle Huey
84a3c222e7 Bug 688776: test_doublewrappedcompartments.xul relies on XHR event listener being a wrapped JSObject. r=mrbkap 2011-09-29 12:06:36 -04:00
Kyle Huey
0b5c883353 Bug 688416: Test for Bug 502959 relies on XHR event listener being an nsIDOMEventListener. r=mrbkap 2011-09-29 12:06:35 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Makoto Kato
760958734d Bug 681202 - Add Android x86 target. r=glandium 2011-09-29 13:39:03 +09:00
Luke Wagner
ff185699a3 Bug 632064 - remove JS_GetScopeChain (r=mrbkap)
--HG--
extra : rebase_source : dcaab70f180d23ad3e9cd12c2d84d326b012fbb2
2011-09-28 17:57:27 -07:00
Jan de Mooij
c722e02756 Bug 693311 - Fix strict equality correctness bug. r=billm 2011-10-10 18:06:06 +02:00
Reuben Morais
b5b37104ac Bug 647390 - Remove the calloc+placement-new pattern (r=luke) 2011-09-28 09:17:51 -07:00