Commit Graph

23171 Commits

Author SHA1 Message Date
Jeff Walden
0b02084100 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
52818b7b2b bug 651663 - mark TestXPC global class as JSCLASS_GLOBAL_FLAGS (r=jorendorff) 2011-04-20 15:19:43 -07:00
Ms2ger
31e3e8c5d1 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Chris Jones
31aa2c4e77 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
823150964d 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
d0724bd5cc 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
6651742a72 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
ce5faedbeb 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
7cc4748be3 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
814eff2e44 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
e6723e251b Merge backout of bug 651864. 2011-04-28 09:02:57 -07:00
Paul Biggar
6eb04a6eac Backed out changeset 00313f95d106 (bug 651864). 2011-04-28 09:02:13 -07:00
Jeff Walden
4b6928b810 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
2ff8950407 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
63ee7fd726 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
e059c006c3 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
841c5efc70 Fix --disable-methodjit bustage (r=red) 2011-04-26 13:39:59 -07:00
Luke Wagner
5c163adc54 Bug 644074 - Simplify and consolidate VM stack code into js/src/vm/Stack* 2011-04-13 09:27:37 -07:00
Chris Leary
c8a6428cec Merge mozilla-central and tracemonkey. 2011-04-26 10:42:36 -07:00
Tom Schuster
768c786f0e Fix style nit request in Bug 651973 r=jorendorff via irc 2011-04-26 16:23:01 +02:00
Olli Pettay
2cc83ff3e6 Bug 648573 - Implement touch event interfaces, r=jst, pref'ed off by default 2011-04-26 15:30:17 +03:00
Jan de Mooij
e914ee7c0e Bug 646938 - Fix NaN-check in jsop_stricteq. r=dvander 2011-04-26 10:29:00 +02:00
Ryan VanderMuelen
7a7383ffea Bug 646312: Enable methodjit by default for chrome JavaScript, r=dmandelin 2011-04-25 18:17:32 -07:00
Tom Schuster
eccb67e307 Bug 202019 - Objects with [[Call]] arent automatically constructbale r=jorendorff 2011-04-26 00:28:30 +02:00
Ehsan Akhgari
67e7a42892 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
d77591f2ee Bug 651973 - Release RegExp on error, r=cdleary 2011-04-25 13:20:14 -07:00
Michael Wu
63e44689d1 Bug 605707 - r=igor 2011-04-25 13:20:14 -07:00
Ed Morley
fa0d0ed230 Bug 648865 - Remove WINCE code from js/src/assembler/* ; r=dmandelin 2011-04-25 15:06:47 -04:00
Luke Wagner
453274e6ee Bug 652438 - Add back OOM checks in JSString::getChars (r=waldo) 2011-04-25 11:53:50 -07:00
Paul Biggar
f017a31a3f Disable jstests on all platforms again (r=orange) 2011-04-23 12:47:23 -07:00
Igor Bukanov
be7a60429e bug 652185 - r=luke 2011-04-23 00:12:05 +02:00
Jan de Mooij
e4524a8b39 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
766f50317e 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
3061720c84 Bug 641655 - Add a js::GlobalObject subtype of JSObject. r=njn 2011-04-18 16:50:47 -04:00
Paul Biggar
b9d338b51d 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
382d8f4701 merge backout CLOSED TREE CLOSED TREE CLOSED TREE CLOSED TREE CLOSED TREE 2011-04-22 11:48:57 -07:00
David Anderson
a9ca7cf978 Backed out changeset d851d44ad77a 2011-04-22 11:40:55 -07:00
Paul Biggar
9ba16fd0fd Minor usage-string typo fix. No bug, no review. 2011-04-22 07:29:59 -07:00
Paul Biggar
49d36fefbe Bug 647482 (followup): Re-enable jstests in |make check| (r=dmandelin) 2011-04-22 07:29:22 -07:00
Rafael Ávila de Espíndola
80a3a71ea8 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
0888f09b15 Bug 651915 - Fix MarkStack size. r=billm 2011-04-21 13:44:29 -07:00
Jeff Walden
300e8819a9 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
404aabd1d4 Refactor Call ICs (bug 638680, r=luke). 2011-04-21 11:14:49 -07:00
Luke Wagner
740e2ebfb6 Loosen test from 905a35f3a76b to account for conservative GC rooting fuzziness (r=orange) 2011-04-20 21:06:01 -07:00
Luke Wagner
af55c33dc0 Fix typo in --enable-threadsafe builds (r=burning) 2011-04-20 19:29:11 -07:00
Luke Wagner
fae4901023 Bug 651041 - add API to store private data to an external string (r=njn) 2011-04-20 18:34:49 -07:00
Chris Jones
a7c243271a Bug 647011: Sprinkle some DebugOnly in js/src. r=luke 2011-04-20 18:27:30 -05:00
Jason Orendorff
6fc1821695 Merge backout. 2011-04-20 16:11:48 -05:00
Jason Orendorff
27a1f0b0a8 Backed out changeset e02df4a05968 due to orange. 2011-04-20 16:10:38 -05:00
Tom Schuster
c2f90d93f5 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
8eccf2de16 Bug 641655 - Add a js::GlobalObject subtype of JSObject. r=njn 2011-04-18 16:50:47 -04:00
Josh Matthews
af2fa353a0 Bug 600677 - Add fix hook to proxies. r=gal 2011-04-16 17:14:10 -04:00
Gregor Wagner
74ad2fbe60 Bug 651546 - Remove stackLimit from GCMarker. r=billm 2011-04-20 12:22:04 -07:00
Ms2ger
540ca93080 Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
Mike Hommey
b5066cd3af Backout changeset d29e1e37e7c2 from bug 640494 because of jsreftest orange on Win opt builds 2011-04-23 13:06:48 +02:00
Jason Orendorff
cd1ed7b90b 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
ac73bb36a4 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
260c051d6d Fix bug 643839. r=brendan, a=clegnitto 2011-04-22 12:32:44 -07:00
Mike Hommey
ce2f8b6028 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
bc33835bc5 Bug 648647 - Eliminate JSObjectMap (r=jorendorff) 2011-04-08 14:21:08 -07:00
Gregor Wagner
64f60006d3 Bug 651193 - fix delayedOutOfMemory in js_InvokeOperationCallback. r=gal 2011-04-20 09:28:57 -07:00
Bill McCloskey
94318256e1 Bug 616666 - Use explicit stack for GC marking (r=gal) 2011-04-15 16:56:08 -07:00
Luke Wagner
eec20a38f5 Bug 650617 - Fix AssertInnerizedScopeChain typo from 602994 (r=mrbkap) 2011-04-18 10:24:21 -07:00
Leon Sha
04a1decab3 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
29082f80ce Bug 506774 - Update our copy of the v8 benchmark to v8-v6. rs=jwalden 2011-04-19 10:17:06 +02:00
Jason Orendorff
15489e50a9 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
db4dce479c Backout 91eaf74fff1e. 2011-04-18 20:53:24 -07:00
Leon Sha
956ac1220d Bug 610323 - [TraceMonkey] Implement Jaegermonkey Sparc back-end. Part II. r=dvander. 2011-04-18 20:17:21 -07:00
Leon Sha
bacce83b01 Bug 610323 - [TraceMonkey] Implement Jaegermonkey Sparc back-end. Part I. New Files. r=dvander. 2011-04-18 20:11:46 -07:00
Gregor Wagner
e418fba27c Bug 650753 - Crash [@ js::gc::Cell::compartment] with WeakMap. r=gal 2011-04-18 15:09:21 -07:00
Gregor Wagner
7947119c13 Bug 650855 - Followup for bug 627200 for real. r=gal 2011-04-18 15:06:48 -07:00
Jason Orendorff
0d148c2a0e 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
8077e472a2 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
eaa01b2c1e Bug 650855 - Followup for bug 627200. r=gal 2011-04-18 10:55:47 -07:00
Gary Kwong
58f4114b88 Bug 650621 - Fix boundary failure in string object length assertion. rs=Waldo 2011-04-18 12:03:12 +08:00
Nicholas Nethercote
032629a51e Update nanojit-import-rev stamp. 2011-04-17 17:21:14 -07:00
Bill McCloskey
1024776c74 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
4df922f30b 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
388e0e58d7 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
ed109e1671 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
02e91234a0 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
4268a61cf9 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
6d679dc92a 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
4ff4d86aa2 Implement Harmony weak maps (bug 547941, r=jorendorff). 2011-04-16 21:23:44 -07:00
Andreas Gal
41b5577b97 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
66228935e8 Bug 650526 - Follow up to Bug 648102, changes to JS_BufferIsCompilableUnit. r=gal 2011-04-16 15:13:10 -04:00
Wes Garland
c107fc65f3 Bug 586016, update JS_GetImplementationVersion. r=jorendorff 2011-04-16 14:16:50 -04:00
Colin Walters
7618a35438 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
66f82efdce Bug 648102 - Add UTF-8 C strings option for shell. r=gal 2011-04-16 13:44:45 -04:00
Dave Yeo
dcd0fc3d16 Bug 648208 - Fix build break on OS/2. r=igor 2011-04-16 12:55:11 -04:00
Luke Wagner
c810f68ea4 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
c64e4e98b8 Bug 614714 - Change JS_ClearScope to use the new enumeration code. r=Waldo. 2011-04-14 16:59:26 -07:00
David Anderson
c775c751f6 Fix clang warnings (bug 647280, r=luke). 2011-04-14 13:45:06 -07:00
Jeff Walden
dbfd34c4d2 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
1737a716d2 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
fd6bb180ba 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
9eaf026e26 Bug 649491 - rm JSFRAME_ASSIGNING (r=dvander) 2011-04-08 15:45:18 -07:00
Phil Ringnalda
93f6eb7041 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
8274d8f87a Bug 627200 - Background Finalization for Strings and Objects r=gal 2011-04-13 13:43:33 -07:00
Igor Bukanov
6a31362caa bug 646044 - ContextAllocPolicy should not account for GC memory pressure. r=luke 2011-03-30 12:10:12 +02:00