Commit Graph

14261 Commits

Author SHA1 Message Date
Paul Biggar
c556ef313c Backed out changeset e0288c977846 (bug 600522) due to windows oranges. 2011-05-17 05:23:21 -07:00
Blake Kaplan
08a8f3a6ab Bug 654370 - Initialize bp to false to avoid reading random memory. r=gal
--HG--
extra : rebase_source : 0a3b1b9e203d0ccc5bf33998f1509bef1beae36c
2011-05-17 09:25:06 +02:00
Dirkjan Ochtman
e5dbb597d1 Bug 600522 - Force TZ to US/Pacific for jit tests [r=pbiggar] 2011-05-16 21:11:54 +02:00
Paul Biggar
e0fa025e18 Bug 657384: Change new_ parameters to pass-by-copy, not pass-by-const-reference. (r=luke)
new_ [1] took a const reference for each of its parameters. Unfortunately, that
adds const-ness even when the constructor needs non-constness. Unfortunately,
the other way (turning off constness) can lead to excess copying.

According to the Forwarding Problem [2], there is no great solution here. C++
does not have a perfect way to write a function which wraps another function.
So we settle for non-constness, and we must rely on forbidding copying of
expensive objects.

[1] as in cx->new_<T>(p1)
[2] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2002/n1385.htm
2011-05-17 04:25:39 -07:00
Nicholas Nethercote
12840cb477 Bug 657164 - disable the assertion because it's failing in xpcshell tests; bug 654820 will re-enable it. rs=philor. 2011-05-16 20:44:45 -07:00
Chris Leary
089bf2c468 Back out bug 654301 to run again on try. 2011-05-16 19:03:20 -07:00
Chris Leary
a2ba07f853 Followup fix for broken changeset 7fe5fb2450f4. 2011-05-16 18:39:59 -07:00
Nicholas Nethercote
7ab4abb283 Bug 657164 - fix '=' vs '==' confusion in an assertion. r=bhackett. 2011-05-16 18:26:01 -07:00
Chris Leary
338cf025af Bug 654301: Better interned string API. (r=Waldo) 2011-05-16 18:18:59 -07:00
David Mandelin
5ad1963088 Fix MSVC warning 2011-05-16 16:16:55 -07:00
Chris Leary
4d1fba5db8 Merge mozilla-central and tracemonkey. 2011-05-13 15:06:53 -07:00
Luke Wagner
b1faffbccb Bug 655435 - Fix leak in Atomize (r=njn,cdleary) 2011-05-12 13:15:36 -07:00
Luke Wagner
4a10088b08 Bug 656171 - Use object principals finder in PrincipalsForCompiledCode, this time with hacks to fix xpcshell hacks (r=mrbkap) 2011-05-12 12:12:50 -07:00
Ed Morley
c9aaef67a9 Bug 652731 - Remove check for ZIP in js/src configure, since spidermonkey does not require it; r=jimb 2011-05-13 06:59:56 -07:00
Nicholas Nethercote
611ccaee3f Bug 633653 - revamp about:memory (NJ-specific part). The original patch was landed on mozilla-central. But because NJ-to-TM merges clobber any NJ changes made in TM, I need to land the NJ-specific directly onto nanojit-central. r=edwsmith.
--HG--
extra : convert_revision : 79ed08770916b0c2ccd587900066a9a009d05a4c
2011-05-11 16:53:11 -07:00
Rick Reitmaier
0e7e197a1e build broken on windows along with lirasm breakage
--HG--
extra : convert_revision : 0623adbccaf277410970dff1907efdd8a92f50b3
2011-05-06 12:11:06 -07:00
Rick Reitmaier
5a49964781 Bug 602264 - Self-tests to validate the page permission settings employed by the JIT. (r+nnethercote,edwsmith)
--HG--
extra : convert_revision : 2c412e8f99bb745bf6d5e758b270fc08e307a142
2011-05-04 15:38:33 -07:00
Rick Reitmaier
8880e03d8b Bug 640318 - LIR control-flow graph gml output (r+nnethercote,wmaddox)
--HG--
extra : convert_revision : 45ca084d9cbe063ce96e2b0bd2f7df8a562d0b2f
2011-05-04 08:48:53 -07:00
Igor Bukanov
b996fb9a59 bug 601234 - avoiding extra indirection and branch on the fast path of GC allocation. r=wmccloskey 2011-04-22 00:20:12 +02:00
Joel Maher
9a0f36241a Bug 655752 - 3 jsreftests cause failures on Android. r=bc, a=test-only 2011-05-12 12:47:38 -04:00
Mounir Lamouri
f4d3a8686d Merging cedar with mozilla-central. 2011-05-12 12:29:49 +02:00
Takanori MATSUURA
6c88e1c625 Bug 655439 - Use $(LIBXUL_DIST)/bin/xpcshell instead of $(DIST)/bin/xpcshell. r=khuey 2011-05-11 15:13:43 +02:00
Michael Wu
034def94d2 Merge backout (to fix bug 656172) 2011-05-10 19:10:01 -07:00
Michael Wu
4746e4ca82 Back out parts 3-7 of bug 620931 which caused bug 656172, r=killer 2011-05-10 18:27:51 -07:00
Chris Leary
10ad9f372b Merge mozilla-central and tracemonkey. (CLOSED TREE) 2011-05-10 14:55:52 -07:00
Ed Morley
082d53f39b Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Chris Leary
e9c15c147e Merge mozilla-central to tracemonkey. 2011-05-09 14:27:44 -07:00
Paul Biggar
1cd5ff1908 Backed out changeset 0c6254cb818d (bug 652593) due to PROCESS-CRASH orange in M(oth). 2011-05-09 09:50:36 -07:00
Paul Biggar
9c572e750b Bug 652593: Remove compound GET*PROP opcodes, to fix strict warnings (r=bhackett,dao)
The undefined property strict-mode warning was missed under some compound
opcodes. JM had removed those opcodes, and so the warnings appeared. This
ports the opcode remove to TM, fixing the warnings.

Bug 647626 removed the compound opcodes from JM, as they made type-inference
and the JITs more complex, for a minor speed impact (see
https://bugzilla.mozilla.org/show_bug.cgi?id=647626#c6 for benchmarks).

This also fixes the strict mode warnings that appeared in the browser as a
result of the fix.
2011-05-09 07:37:37 -07:00
Tom Schuster
82f4ee4b3f Bug 654685: add reportCompare to fix warnings, no_r= 2011-05-08 00:11:03 +02:00
Tom Schuster
d84a191ec4 Bug 654685: Remove Boolean.prototype.toJSON r=pbiggar 2011-05-07 22:34:44 +02:00
Tom Schuster
cd0d919992 Bug 652154: Fix path reversal on windows in jstest r=pbiggar 2011-05-07 19:20:31 +02:00
Makoto Kato
fc6d231d63 Bug 654873 - ARM target (gcc 4.5.2 or later) should use built-in atomic function instead of arm-kuser. r=gal 2011-05-08 00:47:13 +09:00
Paul Biggar
b7a5a9115b Bug 653153: Fix the parseInt fast path doubles above 1e21 (r=jwalden)
The spec says parseInt needs to convert to a string before being converted to
an integer. For 1e+21 (and greater), ToString uses exponential notation:
"1e+21", which get's parsed as 1. The existing parseInt fast path for doubles
converted it directly into an integer, giving the result 1e21. The fix adds a
bounds check to see if the exponential notation is triggered, and still uses
the fast path if not.
2011-05-07 05:31:59 -07:00
Nicholas Nethercote
810ba8da79 Bug 648490 - Remove the "heap-used/js/string-data" memory reporter because it is totally bogus. r=gal. 2011-05-11 16:09:50 -07:00
Jason Orendorff
953a8d71f6 Bug 645160 - jsdIStackFrame is incorrectly truncated at indirect eval calls. r=mrbkap. 2011-05-11 11:11:40 -05:00
Gregor Wagner
b087efb463 Bug 655175 - Add entrance and exit time to GCTimer. r=igor 2011-05-06 13:59:37 -07:00
Mike Hommey
fbb326c536 Bug 620931 part 6 - Add a -a option to xpcshell to set an application directory. r=bsmedberg 2011-05-06 10:40:51 +02:00
Igor Bukanov
0370e3ab43 bug 652416 - race fixes and other cleanups for background finalization. r=anygregor
--HG--
extra : rebase_source : b1685fff8fa5dab43b9b595daa6118249d3ef891
2011-04-25 22:05:30 +02:00
Josh Matthews
1e266b7afb Bug 652803 - Check for existing proxy operations before attempting to fix a proxy object. r=gal 2011-05-05 21:55:25 +02:00
Andreas Gal
e7d653fb45 Add a "binary" argument to snarf (bug 655168, r=cdleary). 2011-05-05 17:59:47 -07:00
Andrew McCreight
5d31eb0d55 Bug 650519. Add safe function to check gray GC mark bits, then use it. (r=gal)
--HG--
extra : rebase_source : bb8eeed202e30c575ff22165c0b4de591c1dcb64
2011-05-04 09:26:44 -07:00
Blake Kaplan
9c143b391d Bug 651298 - Remove this assertion because document.domain makes it false. r=luke
--HG--
extra : rebase_source : 32cdb0b90074c7c7abe8a4d76de518bfc2757798
2011-04-28 15:40:21 -07:00
Blake Kaplan
c16987745d Bug 653309 - Don't break compartment rules. Hold the XPCWrappedNative pointer directly in the holder. r=gal
--HG--
extra : rebase_source : f59294302611044458748c76adcd4343ebaada54
2011-04-29 14:51:49 -07:00
Ryan VanderMeulen
36e9afa970 Bug 653959 - Fix warning spam by using consistent declaration for js_DeclEnvClass. r=luke 2011-05-05 17:53:36 +02:00
Jeff Walden
849fe0bfd1 Backed out changeset 83ae6e7c572e, maybe caused an orange, trying a backout of the most likely regressor. r=orange 2011-05-04 23:10:16 -04:00
Jeff Walden
e625314785 Bug 653888 - Clean up the Walk internal spec function, make the reviver delete properties from arrays if it returns undefined. r=pbiggar
--HG--
extra : rebase_source : 6d2004b0d6089c0c6d85bdaf4d4b0c8240840109
2011-04-30 03:22:48 -04:00
Jeff Walden
ca1b251411 Bug 653847 - JSON.parse should properly handle omitted arguments. r=pbiggar
--HG--
extra : rebase_source : 4ac9654d421a2504dbe24767fd5ffc0cbf52592e
2011-04-30 03:22:36 -04:00
Jeff Walden
eabb72c0f4 Bug 653782 - Properly handle JSON.stringify(_, replacer) when replacer isn't callable or an array. r=pbiggar
--HG--
extra : rebase_source : fed45c114091f45c0573f6d3cafef4ab0dd442b1
2011-04-30 03:22:11 -04:00
Jeff Walden
9361f3bfc8 Bug 653782 - Remove js_IndexToId, replace with an inline js::IndexToId. Also removes the redundant IndexToId in jsxml.cpp. r=igor
--HG--
extra : rebase_source : 4cb2b69a8f3d1877ca6514c8f9dfb3dc1af551b7
2011-04-30 03:19:26 -04:00
Jeff Walden
e9bdd399b1 Move GlobalObject.* into vm/. rs=cdleary
--HG--
rename : js/src/GlobalObject.cpp => js/src/vm/GlobalObject.cpp
rename : js/src/GlobalObject.h => js/src/vm/GlobalObject.h
extra : rebase_source : 724ae53fda5a1c74a71b01f3d44796536d413a45
2011-04-28 19:08:22 -04:00
Gregor Wagner
685d432db1 Bug 652931 - Proper handling of large mark stack insertion. r=billm 2011-05-04 12:54:48 -07:00
Chris Leary
e5b4259e5a Bug 654792: Give Shape::shape and Shape::id better names for great justice. (r=jorendorff) 2011-05-04 12:01:39 -07:00
Igor Bukanov
212be881c3 Bug 600648 - faster GC mark bitmap operations. r=billm 2011-04-22 00:29:24 +02:00
Paul Biggar
4d87b14d7d Bug 654073: Mark StopIteration as a class with no prototype. (r=jwalden)
This prevents infinite recursion when trying to initialize StopIteration.
2011-05-03 12:31:02 -07:00
Christian Holler
b0902374f8 Bug 628332 - Avoid double-frees when compartment allocation fails (r=billm). 2011-05-03 04:26:40 -07:00
Luke Wagner
05bfe5cb0b Bug 653631 - Fix faulty inlining of js_GetScriptedCaller (r=mrbkap) 2011-04-30 14:31:13 +07:00
Luke Wagner
4023060e30 Bug 653396 - Include JS_ARGS_LENGTH_MAX check in SplatApplyArgs (r=waldo) 2011-05-03 17:34:07 +07:00
Chris Leary
55f7c6409e Merge mozilla-central to tracemonkey. (CLOSED TREE) 2011-05-02 10:55:34 -07:00
Igor Bukanov
5164b785fd bug 605029 - followup to fix inconsequel typo 2011-04-29 14:11:23 +02:00
Paul Biggar
b005c6c2d4 Merge backout. 2011-04-29 04:01:23 -07:00
Paul Biggar
15828cd649 Backed out changeset 334ada87e329 (bug 628332) - those a11y errors arrived at the same time as this landing, so backing this out to see if that fixes it. 2011-04-29 04:00:57 -07:00
Christian Holler
faf48eb1e7 Bug 628332 - Avoid double-frees when compartment allocation fails (r=billm). 2011-04-27 16:09:00 -07:00
Paul Biggar
0a4b3c92dd Bug 651864 - Extract magic slot formula into inline functions (r=jwalden)
The global object has special slots for built-in objects' prototypes,
constructors and properties. This makes explicit the formula to calculate the
slot number for these special slots.
2011-04-28 07:18:11 -07:00
Paul Biggar
4011ba8b50 Backed out changeset 2919a6aa1ab7 (bug 652449) - jstests in |make check| bounces again. 2011-04-28 07:46:33 -07:00
Paul Biggar
a987ff3fd1 Bug 652449 - Turn on jstests in |make check| on linux only (r=jimb) 2011-04-28 06:45:18 -07:00
Paul Biggar
e4d6748cc4 Bug 642772: Don't recreate a class during enumeration, if it has been deleted (r=bhackett)
In SM, classes are lazily resolved. If we detect that a class about to be used
has not yet been resolved, then we resolve it. However, the way that we decided
that they were resolved was broken. If the global object had a String property,
then it had been resolved. So what happened when we deleted the String
property? Well, it got resolved again.

Instead of using the String property of the global object, we now use the
contructor slot on the global object. This works fine for String, but some
classes don't have a constructor, like Math and JSON. For those classes, we set
the constructor slot to True. In either case, we can now tell that a class is
resolved if the constructor slot in not Undefined.
2011-04-27 04:13:56 -07:00
Matthew Draper
3eb02c1b43 Bug 564577 - __noSuchMethod__ no longer invoked for defined non-function properties (r=igor) 2011-04-22 04:38:24 +09:30
Igor Bukanov
8b0d367736 bug 605029 - ArenaHeader versus Arena<FreeCell> and other cleanups. r=wmccloskey 2011-04-20 07:30:10 +02:00
Chris Jones
a61c26e2c0 Bug 642381, part 3: Hoist Maybe into mfbt and eliminate Gecko's use of jstl. r=jorendorff,luke 2011-04-28 17:48:52 -05:00
Chris Jones
6fd4cbff2d Bug 642381, part 2: Rename LazilyConstructed to Maybe. r=luke 2011-04-28 17:48:51 -05:00
Chris Jones
0adf6af157 Bug 642381, part 1: Remove js::Conditionally. r=luke 2011-04-28 17:48:51 -05:00
Jeff Walden
76a4343e93 Bug 652215 - Add a js::StringObject subtype of JSObject. r=njn
--HG--
extra : rebase_source : 7cdfe72d0932b51408b9ec5dc38219605e1925ce
2011-04-20 16:33:05 -04:00
Mook
c671b3dec1 bug 651663 - mark TestXPC global class as JSCLASS_GLOBAL_FLAGS (r=jorendorff) 2011-04-20 15:19:43 -07:00
Ms2ger
941e819c63 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Chris Jones
ed22df8f64 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Justin Lebar
7af0c522be Bug 590181 part 2 - Switch default gcc optimize options to -O3. r=ted. a=philor CLOSED TREE 2011-04-28 15:49:16 +02:00
Olli Pettay
744a48fa95 Bug 652814 - Rename nsIDOMTouchPoint to nsIDOMTouch (and a *aRetVal = nsnull for bug 648573 comment 19), r=mbrubeck 2011-04-27 14:58:25 +03:00
Jeff Walden
af6649155f Bug 647385 - Implement a ToInteger helper that corresponds to the spec method (rather than inlining its contents everywhere it can be trivially used). Also fixes a couple bugs in one place that should have used ToInteger but didn't. r=cdleary 2011-04-02 11:33:20 -07:00
Jeff Walden
a6c5ef2297 Bug 643537 - Properly interpret String and Number objects provided as the space argument to JSON.stringify(value, replacer, space). r=pbiggar
--HG--
extra : rebase_source : 0d7e32f5ce57be2a1e341db7888df41033bbd2be
2011-03-18 18:20:15 -07:00
Jeff Walden
234a32b92a Bug 648471 - If JSON.stringify's replacer is an array, only get the list of property names to use from it once (i.e. invoke getters on the array only once), and get them in order from 0 to the array's initial length. Also use non-enumerable array index properties in addition to enumerable array index properties. r=pbiggar
--HG--
extra : rebase_source : 874e2502e5b5223feb19b457debc8cc8dc51e6cb
2011-04-11 01:46:12 -07:00
Rob Arnold
1fa00902b6 Bug 651510 - "Signature for JS_StructuredClone differs in jsapi.h and jsapi.cpp" [r=jorendorff] 2011-04-20 08:28:00 -07:00
Paul Biggar
2bcf2bd5aa Merge backout of bug 651864. 2011-04-28 09:02:57 -07:00
Paul Biggar
ec3b6da446 Backed out changeset 00313f95d106 (bug 651864). 2011-04-28 09:02:13 -07:00
Jeff Walden
a0446bf092 Bug 512266 - JSON.stringify for various special characters should produce the corresponding one-character escapes. r=pbiggar
--HG--
extra : rebase_source : a76fb038143bd053ee9e30ae29e99d3c2e91c528
2011-03-18 17:57:18 -07:00
Jeff Walden
faf5216de3 Bug 635389 - Check for overrecursion in functions that might need it. r=jorendorff
--HG--
extra : rebase_source : 72d6f2c915a4aa19e9820ea4f66039f75421c32d
2011-04-18 16:50:46 -04:00
Jeff Walden
573931e488 Bug 650574 - No recursion checks converting a cyclic object to source, if the object's toSource hooks are built-in functions. r=luke
--HG--
extra : rebase_source : 1d94c30c3a7335b1124e19020b8244a1de32aab3
2011-04-26 16:05:58 -04:00
Luke Wagner
8492c1e5ed Fix linker error. I fixed this in the patch I pushed to try but seem to have lost it in the meantime (r=burning-windows) 2011-04-26 14:34:09 -07:00
Luke Wagner
4fec8aa043 Fix --disable-methodjit bustage (r=red) 2011-04-26 13:39:59 -07:00
Luke Wagner
05d2002b66 Bug 644074 - Simplify and consolidate VM stack code into js/src/vm/Stack* 2011-04-13 09:27:37 -07:00
Chris Leary
71c7cfdc1f Merge mozilla-central and tracemonkey. 2011-04-26 10:42:36 -07:00
Tom Schuster
7d405787a7 Fix style nit request in Bug 651973 r=jorendorff via irc 2011-04-26 16:23:01 +02:00
Olli Pettay
46d7b33a70 Bug 648573 - Implement touch event interfaces, r=jst, pref'ed off by default 2011-04-26 15:30:17 +03:00
Jan de Mooij
e7219c101f Bug 646938 - Fix NaN-check in jsop_stricteq. r=dvander 2011-04-26 10:29:00 +02:00
Ryan VanderMuelen
40d8f2f5d2 Bug 646312: Enable methodjit by default for chrome JavaScript, r=dmandelin 2011-04-25 18:17:32 -07:00
Tom Schuster
de983504ce Bug 202019 - Objects with [[Call]] arent automatically constructbale r=jorendorff 2011-04-26 00:28:30 +02:00
Ehsan Akhgari
d2a61eb331 Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others 2011-04-25 17:05:17 -04:00
Michael Wu
b81c4d653e Bug 651973 - Release RegExp on error, r=cdleary 2011-04-25 13:20:14 -07:00
Michael Wu
8fb6fc73ed Bug 605707 - r=igor 2011-04-25 13:20:14 -07:00
Ed Morley
b17a6e7f83 Bug 648865 - Remove WINCE code from js/src/assembler/* ; r=dmandelin 2011-04-25 15:06:47 -04:00
Luke Wagner
c7e18b4a7b Bug 652438 - Add back OOM checks in JSString::getChars (r=waldo) 2011-04-25 11:53:50 -07:00
Paul Biggar
f52bbc7614 Disable jstests on all platforms again (r=orange) 2011-04-23 12:47:23 -07:00
Igor Bukanov
c8e26ae567 bug 652185 - r=luke 2011-04-23 00:12:05 +02:00
Jan de Mooij
035e5c1537 Bug 652060 - Fix double check in JSVAL_SAME_TYPE_IMPL on 64-bit. r=luke 2011-04-23 09:49:59 +02:00
Tom Schuster
13b9f917f0 Bug 649575 - Date.prototype.toISOString must throw a RangeError for non-finite dates. r=jwalden 2011-04-22 22:46:59 -04:00
Jeff Walden
a8a0234d77 Bug 641655 - Add a js::GlobalObject subtype of JSObject. r=njn 2011-04-18 16:50:47 -04:00
Paul Biggar
da590e6e27 Turn off jstests during |make check| on configs which turned tinderbox orange (no bug, r=jimb,orange) CLOSED TREE
The bad configs are:
   - windows with either --disable-tracejit or --disable-methodjit
   - mac with --enable-dtrace
2011-04-22 12:00:35 -07:00
David Anderson
cfba96780a merge backout CLOSED TREE CLOSED TREE CLOSED TREE CLOSED TREE CLOSED TREE 2011-04-22 11:48:57 -07:00
David Anderson
cfa95c8cf3 Backed out changeset d851d44ad77a 2011-04-22 11:40:55 -07:00
Paul Biggar
d4ed94cf34 Minor usage-string typo fix. No bug, no review. 2011-04-22 07:29:59 -07:00
Paul Biggar
6a750a4341 Bug 647482 (followup): Re-enable jstests in |make check| (r=dmandelin) 2011-04-22 07:29:22 -07:00
Rafael Ávila de Espíndola
8f5366a4c0 Bug 631928 - Check for libffi_cv_as_x86_pcrel should not look for just "warning". r=ted 2011-04-22 01:23:35 +02:00
Gregor Wagner
45c6d1befe Bug 651915 - Fix MarkStack size. r=billm 2011-04-21 13:44:29 -07:00
Jeff Walden
77e6fd7646 Backed out changeset c8ba5bd72b0c, we have too many test harnesses and I forgot to run one. r=tree-decorator 2011-04-21 16:29:54 -04:00
David Anderson
43e7e71dd5 Refactor Call ICs (bug 638680, r=luke). 2011-04-21 11:14:49 -07:00
Luke Wagner
5b206e05b6 Loosen test from 905a35f3a76b to account for conservative GC rooting fuzziness (r=orange) 2011-04-20 21:06:01 -07:00
Luke Wagner
b02663aef4 Fix typo in --enable-threadsafe builds (r=burning) 2011-04-20 19:29:11 -07:00
Luke Wagner
6e9ef90124 Bug 651041 - add API to store private data to an external string (r=njn) 2011-04-20 18:34:49 -07:00
Chris Jones
ea1f5e599c Bug 647011: Sprinkle some DebugOnly in js/src. r=luke 2011-04-20 18:27:30 -05:00
Jason Orendorff
b72daf3760 Merge backout. 2011-04-20 16:11:48 -05:00
Jason Orendorff
7c1bcbce33 Backed out changeset e02df4a05968 due to orange. 2011-04-20 16:10:38 -05:00
Tom Schuster
479dc912bc Bug 202019 - Built-in functions should not be constructors. r=jorendorff.
--HG--
extra : rebase_source : 2f845218384004c09a60c59ae03704729f1d91dc
2011-04-20 13:22:57 -05:00
Jeff Walden
f7e9104cd4 Bug 641655 - Add a js::GlobalObject subtype of JSObject. r=njn 2011-04-18 16:50:47 -04:00
Josh Matthews
5bac8b067d Bug 600677 - Add fix hook to proxies. r=gal 2011-04-16 17:14:10 -04:00
Gregor Wagner
6c6726d922 Bug 651546 - Remove stackLimit from GCMarker. r=billm 2011-04-20 12:22:04 -07:00
Ms2ger
295bf7256b Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
Mike Hommey
2076517e87 Backout changeset d29e1e37e7c2 from bug 640494 because of jsreftest orange on Win opt builds 2011-04-23 13:06:48 +02:00
Jason Orendorff
c0c1b22466 Bug 640494 part 2 - Use bit masking instead of signbit() to avoid problems when including some STL headers. r=luke 2011-04-23 08:48:50 +02:00
Jason Orendorff
cef5bccdba Bug 640494 part 1 - Get rid of STL algorithm use in jsworker.cpp. r=jimb 2011-04-23 08:48:50 +02:00
Brian Hackett
6e99d2c8df Fix bug 643839. r=brendan, a=clegnitto 2011-04-22 12:32:44 -07:00
Mike Hommey
e4a0852976 Bug 638056 - Avoid "The cacheFlush support is missing on this platform" error on exotic platforms. r=cdleary 2011-04-22 10:33:08 +02:00
Bill McCloskey
4a9bde3182 Bug 648647 - Eliminate JSObjectMap (r=jorendorff) 2011-04-08 14:21:08 -07:00
Gregor Wagner
7d8bb32bb8 Bug 651193 - fix delayedOutOfMemory in js_InvokeOperationCallback. r=gal 2011-04-20 09:28:57 -07:00
Bill McCloskey
3c0cd83aa3 Bug 616666 - Use explicit stack for GC marking (r=gal) 2011-04-15 16:56:08 -07:00
Luke Wagner
48985f251e Bug 650617 - Fix AssertInnerizedScopeChain typo from 602994 (r=mrbkap) 2011-04-18 10:24:21 -07:00
Leon Sha
f02a8fab29 Re-landing. Bug 610323 - [TraceMonkey] Implement Jaegermonkey Sparc back-end. Part II. r=dvander. 2011-04-19 01:27:50 -07:00
Jan de Mooij
fcdff6a374 Bug 506774 - Update our copy of the v8 benchmark to v8-v6. rs=jwalden 2011-04-19 10:17:06 +02:00
Jason Orendorff
7e584f054f Test for bug 650753. no_r=me, passing tests do not need review.
--HG--
extra : rebase_source : e1e577927e2ac24b8ebcde2b31a945d55a096f8f
2011-04-18 18:04:36 -05:00
Leon Sha
4744fa47e3 Backout 91eaf74fff1e. 2011-04-18 20:53:24 -07:00
Leon Sha
c3cb41cc19 Bug 610323 - [TraceMonkey] Implement Jaegermonkey Sparc back-end. Part II. r=dvander. 2011-04-18 20:17:21 -07:00
Leon Sha
4c9b2d1c84 Bug 610323 - [TraceMonkey] Implement Jaegermonkey Sparc back-end. Part I. New Files. r=dvander. 2011-04-18 20:11:46 -07:00
Gregor Wagner
958cbdcc3a Bug 650753 - Crash [@ js::gc::Cell::compartment] with WeakMap. r=gal 2011-04-18 15:09:21 -07:00
Gregor Wagner
a3215d9380 Bug 650855 - Followup for bug 627200 for real. r=gal 2011-04-18 15:06:48 -07:00
Jason Orendorff
6dcd26b06e Bug 646820 - Function in destructuring assignment can't see up to other variables in the assignment. r=brendan.
--HG--
extra : rebase_source : ac60bc50cbb64adc22a42ace696b8e9c0d8f184f
2011-04-18 12:49:57 -05:00
Jason Orendorff
fcc0bf1635 Bug 646807 - Remove extra RHS checking in CheckDestructuring. r=brendan.
--HG--
extra : rebase_source : 5cee26017a887df666bf272bec8cb3308919b97b
2011-04-18 12:47:55 -05:00
Gregor Wagner
d08cc80190 Bug 650855 - Followup for bug 627200. r=gal 2011-04-18 10:55:47 -07:00
Gary Kwong
6ce5a9d22e Bug 650621 - Fix boundary failure in string object length assertion. rs=Waldo 2011-04-18 12:03:12 +08:00
Nicholas Nethercote
66672b2c61 Update nanojit-import-rev stamp. 2011-04-17 17:21:14 -07:00
Bill McCloskey
b0ccb806b6 Fix off-by-one error in Containers.cpp:BitSet::grow(). r=nnethercote.
--HG--
extra : convert_revision : 74e1b2344f722020fb10e11d7b115373c43c37b6
2011-04-17 17:07:51 -07:00
Nicholas Nethercote
3d26d4379e Remove debugging printf left behind by patch for bug 643969 that was causing test failures.
--HG--
extra : convert_revision : 8202c5872474e0e87717082d5167b35c52d55236
2011-04-17 17:02:27 -07:00
Landry Breuil
94441e2879 Bug 633857 - missing #include for OpenBSD (nanojit part). r=dvander
--HG--
extra : convert_revision : 05d5e4afb6e4ed366d2d994785b6b2d326d5aa55
2011-04-14 14:13:26 +09:00
Steven Johnson
474f15c5ca Bug 643969 - LIR_jf can generate jump-to-location-zero code on i386 and x64 (r=rreitmai)
--HG--
extra : convert_revision : 3b0667d8dc545c74a903d2b63e2116b407f035d7
2011-04-04 12:20:54 -07:00
Steven Johnson
d5ee3b9a2c Bug 644473 - lirasm does not support backwards jump (r=njn)
--HG--
extra : convert_revision : 1efd735757e4a32a8d451007400319c4ad2d9238
2011-04-01 08:57:26 -07:00
William Maddox
87f3288bed Bug 644900 - Generate probes for stack expansion when allocating large frames on Windows (r=edwsmith)
Also extend lirasm with --stkskip option to exercise the fix.

--HG--
extra : convert_revision : 670889ebdbca23505e134a116155a2bb2ca41240
2011-03-30 21:45:21 -07:00
Paul Biggar
7a1dbd7c9f Bug 647482 (followup): Fix jstests for directory structure used by SM builds, by actually searching the current path (r=dmandelin) 2011-04-17 17:45:42 +01:00
Andreas Gal
fd2168c3af Implement Harmony weak maps (bug 547941, r=jorendorff). 2011-04-16 21:23:44 -07:00
Andreas Gal
04ee44b4e6 for-in loop on proxy does not suppress properties deleted during enumeration (bug 600702, r=brendan) 2011-04-16 14:51:18 -07:00
Wes Garland
ed8e6d5fcf Bug 650526 - Follow up to Bug 648102, changes to JS_BufferIsCompilableUnit. r=gal 2011-04-16 15:13:10 -04:00
Wes Garland
256dd8ad05 Bug 586016, update JS_GetImplementationVersion. r=jorendorff 2011-04-16 14:16:50 -04:00
Colin Walters
2a0395d63b Bug 648102 - Make shell REPL/snarf/run always take UTF-8 input; add JS_DecodeUTF8; add UTF-8 flag to JS_BufferIsCompilableUnit. r=gal 2011-04-16 14:11:10 -04:00
Wes Garland
fcc7ecf08b Bug 648102 - Add UTF-8 C strings option for shell. r=gal 2011-04-16 13:44:45 -04:00
Dave Yeo
2f806bf292 Bug 648208 - Fix build break on OS/2. r=igor 2011-04-16 12:55:11 -04:00
Luke Wagner
6fcaf8c63f Bug 649531 - tidy up this-computation logic a bit, add some asserts (r=waldo)
--HG--
extra : rebase_source : f01409526e4582b87ced4b9f9d1170254a55373b
2011-04-12 17:16:12 -07:00
Jason Orendorff
28a0d1622a Bug 614714 - Change JS_ClearScope to use the new enumeration code. r=Waldo. 2011-04-14 16:59:26 -07:00
David Anderson
61cc68f032 Fix clang warnings (bug 647280, r=luke). 2011-04-14 13:45:06 -07:00
Jeff Walden
d3676c4409 Bug 649819 - Remove JS_BeginJSONParse/JS_ConsumeJSONText/JS_EndJSONParse now that these APIs are no longer used and the cleaner API is available and works. r=brendan 2011-03-21 11:42:14 -07:00
Jeff Walden
d58565969f I have a feeling we're not landing JS branches in the CVS repository any more, Toto. r=sparky 2011-04-14 12:42:04 -07:00
Neil Rashbrook
e4bc481f39 Bug 626716 - Remove VC7.1 support code, SpiderMonkey version. r=njn
--HG--
extra : rebase_source : f94626be1e932bf12093412903df4a9e4c7334c9
2011-04-13 17:01:39 -07:00
Luke Wagner
01d2bb36b4 Bug 649491 - rm JSFRAME_ASSIGNING (r=dvander) 2011-04-08 15:45:18 -07:00
Phil Ringnalda
ae07f5cdce Bug 647388 - Remove Makefile.ref and the rest of its supporting alternate SpiderMonkey build system, r=jimb 2011-04-13 18:08:53 -07:00
Gregor Wagner
99a0150f57 Bug 627200 - Background Finalization for Strings and Objects r=gal 2011-04-13 13:43:33 -07:00
Igor Bukanov
55e510df64 bug 646044 - ContextAllocPolicy should not account for GC memory pressure. r=luke 2011-03-30 12:10:12 +02:00
Luke Wagner
64207228c7 Bug 602994 - Clean up eval, remove unneeded security checks, assert equivalence of principal lookup (r=waldo,mrbkap) 2011-04-08 10:52:51 -07:00
Luke Wagner
774c050740 Bug 602994 - Preparatory syntactic cleanup (r=waldo) 2011-04-08 10:52:48 -07:00
Chris Leary
59f814562b Merge mozilla-central to tracemonkey. 2011-04-12 20:28:42 -07:00
Robert Strong
0c4cae96de followup fix to sync config.mk - Bug 649428 - l10n repacks broken on all platforms on mozilla-central (probably aurora, too). r=bustagefix 2011-04-12 18:16:32 -07:00
Blake Kaplan
d7c603eab8 Bug 618176 - Skip multiple wrappers when deciding whether this object is an array. r=gal 2011-04-12 15:56:45 -07:00
Christian Legnitto
197347cdba Version bump to 6.0a1. Merge to mozilla-aurora. r=bsmedberg, a=LegNeato. 2011-04-12 06:51:00 -07:00
Mounir Lamouri
9740c98fc5 Merge cedar with mozilla-central. 2011-04-21 10:10:37 +02:00
Landry Breuil
d1408333d1 Bug 634609 - Include pthread_np.h on OpenBSD too for pthread_stackseg_np(). r=gal 2011-04-20 22:27:22 +02:00
Mounir Lamouri
78a7e5f199 Merge cedar with mozilla-central. 2011-04-20 10:15:33 +02:00
Landry Breuil
4180bd56de Bug 650742 - Define AVMPLUS_UNIX for OpenBSD. r=khuey 2011-04-20 01:27:26 +02:00
Andrew Paprocki
b22fdc0c5b Bug 621031 - Fix jsstr.cpp #pragma pack for AIX. r=mrbkap 2011-04-20 01:25:07 +02:00
ojab
b406fedd57 Bug 650476 - Fix build --with-libxul-sdk. r=glandium 2011-04-19 12:00:48 +02:00
Mounir Lamouri
8883f4f0d6 Merge cedar with mozilla-central 2011-04-19 11:02:41 +02:00
L. David Baron
6832afad5c When a wrapper is expired, do deferred release of mIdentity to fix bug 629610, and also lock the wrapped native map appropriately to fix bug 645442. Accomplish both of these by sharing more code between FlatJSObjectFinalized and ~XPCWrappedNative; r=peterv 2011-04-18 20:46:38 -04:00
Mounir Lamouri
a839f2efa8 Backout b0217a5e665a due to build bustage. 2011-04-19 02:10:30 +02:00
ojab
89c0409a41 Bug 650476 - Fix build --with-libxul-sdk. r=glandium 2011-04-19 01:26:33 +02:00
Makoto Kato
ad6e30e57b Bug 643667 - Remove HAVE_XIE. r=ted 2011-04-18 17:31:51 +09:00
Ehsan Akhgari
6d0857c194 Bug 649012 - Fix some flaky mochitests which rely on non-zero timeout values; rs=ted
--HG--
extra : rebase_source : 88fc16ca38ded79ca87bb861dc4cef92a69dd548
2011-04-16 19:39:34 -04:00
Serge Gautherie
61c5ebf578 Bug 605701 - Make WIN32_REDIST_DIR support stricter and more explicit; (Cv1-JS) Remove useless WIN32_REDIST_DIR support.
r=ted.mielczarek.
2011-04-17 16:47:37 +02:00
Ms2ger
c0773e39d2 Bug 585877 - Remove support for document.width and document.height; r=jonas sr=jst
* * *
try: -b do -p all -u mochitest-o -t none
2011-04-17 10:57:17 +02:00
Daniel Holbert
b2bcf9d2dd Bug 637207 followup: Remove declaration of now-removed helper function. r=gal 2011-04-18 12:30:51 -07:00
Peter Van der Beken
0278484cd6 Fix for bug 649872 (Remove XPCONNECT_STANDALONE). r=mrbkap.
--HG--
extra : rebase_source : 1dff3dd06d1e1e0d93fba8be4c736d87ca574a1b
2011-04-18 15:44:12 +02:00
Mike Hommey
a89c15d4ec Bug 650503 - Hide libstdc++ compatibility check command line. r=khuey 2011-04-16 17:57:51 +02:00
Ms2ger
c50cc444cc Bug 619997 - Remove support for Document.renameNode; r=sicking 2011-04-16 11:14:09 +02:00
Ehsan Akhgari
d2fd2352f9 Merge cedar into mozilla-central 2011-04-15 09:35:11 -04:00
Mike Hommey
619400dd23 Bug 643690 part 2 - Check that resulting binaries don't require GLIBCXX_3.4.9 or more. r=ted 2011-04-15 11:03:35 +02:00
Ed Morley
5acf81cff1 Bug 648876 - Remove superfluous $(OS_ARCH) filter-outs from js/src/Makefile.in (bug 647389 follow-up); r=jimb 2011-04-14 13:48:01 -04:00
Mike Hommey
0659550873 Bug 602245 - Don't build SIMPLE_PROGRAMS during MOZ_PROFILE_GENERATE pass. r=ted 2011-04-14 11:23:13 +02:00