Commit Graph

14187 Commits

Author SHA1 Message Date
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
Mike Hommey
22ee77c5ad Bug 643817 - Replace xpt_link/dump with pyxpt. r=ted,r=bsmedberg 2011-04-14 11:22:09 +02:00
Kyle Huey
8da424f8d7 Bug 593629: Only check for ARM SIMD and NEON when the CPU_ARCH is ARM. r=ted 2011-04-13 19:41:33 -07:00
Jonathan Protzenko
c0260ef7cc Bug 628669: Provide support for relative URLs in Components utils import (JSM, JS modules) r=bsmedberg r=mrbkap
This patch allows a JS module to import another one with a relative path. For
instance, if you have a set of modules you want to drop-in in any extension, and
these modules depend on each other, you can import XPCOMUtils and then do
XPCOMUtils.importRelative(this, "otherfile.jsm").
2011-04-14 00:10:13 +02:00
Cameron McCormack
7a367d7a36 Bug 637207 - Make name & message on Error prototypes and message on Error instances not enumerable r=gal 2011-04-14 09:47:30 +12:00
Jonathan Watt
de6576b429 Bug 648053 - Always use absolute paths when specifying the source file to the compiler. r=ted.
--HG--
extra : rebase_source : c2cb4eba8efad66bb2f718c8397deee701801cf6
2011-04-20 10:43:08 +01:00
Mitchell Field
2fa9469adc Merge mozilla-central to build-system. 2011-04-20 00:34:43 +10:00
Ed Morley
bb4520ba57 Bug 648866 - Remove WinCE code from main build system + that of js/src/. r=ted 2011-04-19 14:11:40 +10:00
Mitchell Field
0242a07b36 Merge mozilla-central to build-system. 2011-04-19 13:22:32 +10:00
Mitchell Field
f71a73dc12 Merge mozilla-central to build-system. 2011-04-16 00:27:18 +10:00
Mitchell Field
30071eb146 Merge mozilla-central to build-system. 2011-04-14 12:05:07 +10:00
Jacek Caban
ebd3fbcabb Bug 647820 - Don't use -mno-cygwin on mingw compilation (m-c part) r=ted.mielczarek 2011-04-11 13:41:00 +00:00
Rafael Ávila de Espíndola
1dc7419b16 Bug 638149 - Need a way to disable -dead_strip on OS X. r=ted 2011-04-09 05:23:27 +10:00
Mitchell Field
9c8020f89d Merge mozilla-central to build-system. 2011-04-09 05:15:19 +10:00
Mitchell Field
03a545c01c Merge mozilla-central to build-system. 2011-04-07 15:46:34 +10:00
Boris Zbarsky
7fcb06f8bb Bug 628794. SVG and HTML/XUL .style come from different interfaces. r=peterv 2011-04-07 22:27:57 -07:00
Mitchell Field
2416c34b76 Bug 645356 - Use pymake builtins. r=khuey 2011-04-03 17:16:49 +10:00
Jonathan Kew
55114c659a merge backout of bug 585152 2011-04-13 14:35:39 +01:00
Jonathan Kew
20281c115e Backed out changeset 80451fb8f11c (bug 585152) as per discussion in the bug. 2011-04-13 14:35:06 +01:00
Mounir Lamouri
dd977ba6ef Bug 514437 - Content part of the progress element. r=smaug 2011-04-09 10:22:02 -07:00
Mike Hommey
159b405a12 Bug 654080 - Display which GLIBCXX symbols cause an error. r=ted 2011-05-09 07:38:11 +02:00
Boris Zbarsky
ae3f14f1ba Merge cedar with mozilla-central 2011-05-06 20:39:36 -04:00
Ed Morley
b0a18542c9 Bug 654472 - Remove WinCE code (incl MOZ_FLASH_ACTIVEX_PATCH & USE_HTIFACE) from embedding/* ; r=bsmedberg 2011-05-06 11:40:46 -07:00
Mike Hommey
28d7d1aacb Bug 654975 - Remove -freorder-blocks-and-partition from PGO build options. r=ted 2011-05-05 19:26:54 +02:00
Justin Lebar
2da59057fe Bug 590181 part 2 - Switch default gcc optimize options to -O3. r=ted. 2011-04-28 15:49:16 +02:00
Daniel Holbert
01393bfa6e Back out cset bc80c46f185d (Bug 590181 part 2) on suspicion of causing linux reftest permaorange (bug 654858) when PGO is disabled. rs=glandium CLOSED TREE 2011-05-04 16:39:15 -07:00
Boris Zbarsky
885c07dc20 Merge cedar with mozilla-central 2011-05-04 13:58:26 -04:00
Andrew McCreight
869e39e6a4 Bug 651273 revert nsXPConnect::Traverse changes to fix WANT_ALL_TRACES CC (r=peterv@propagandism.org)
--HG--
extra : rebase_source : 8d4c84b1f38bed77815243c2dfc69abf5e7adf20
2011-04-22 12:06:43 -07:00
Nicholas Nethercote
6ef173ddbb Bug 633653 - revamp about:memory. r=vlad,sdwilsh,dvander,gavin,ehsan,edwsmith; sr=benjamin. 2011-05-03 17:12:58 -07:00
timeless@mozdev.org
7b08b490c4 Bug 619777 obj_toSource guard of IS_SHARP instead of !ida confuses coverity
r=jorendorff
2011-05-03 12:31:20 -04:00
Landry Breuil
366c868498 Bug 654929. Fix fallout from 633653, failure on sparc64. Add some #ifdef JS_METHODJIT/JS_TRACER. r=nnethercode
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1484: error: expected type-specifier before 'MemoryReporter_XPConnectJSMjitCode'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1484: error: expected `)' before 'MemoryReporter_XPConnectJSMjitCode'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1484: error: cannot convert 'int*' to 'nsIMemoryReporter*' for argument '1' to 'nsresult NS_RegisterMemoryReporter(nsIMemoryReporter*)'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1485: error: expected type-specifier before 'MemoryReporter_XPConnectJSMjitData'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1485: error: expected `)' before 'MemoryReporter_XPConnectJSMjitData'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1485: error: cannot convert 'int*' to 'nsIMemoryReporter*' for argument '1' to 'nsresult NS_RegisterMemoryReporter(nsIMemoryReporter*)'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1486: error: expected type-specifier before 'MemoryReporter_XPConnectJSTjitCode'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1486: error: expected `)' before 'MemoryReporter_XPConnectJSTjitCode'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1486: error: cannot convert 'int*' to 'nsIMemoryReporter*' for argument '1' to 'nsresult NS_RegisterMemoryReporter(nsIMemoryReporter*)'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1487: error: expected type-specifier before 'MemoryReporter_XPConnectJSTjitDataAllocatorsMain'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1487: error: expected `)' before 'MemoryReporter_XPConnectJSTjitDataAllocatorsMain'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1487: error: cannot convert 'int*' to 'nsIMemoryReporter*' for argument '1' to 'nsresult NS_RegisterMemoryReporter(nsIMemoryReporter*)'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1488: error: expected type-specifier before 'MemoryReporter_XPConnectJSTjitDataAllocatorsReserve'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1488: error: expected `)' before 'MemoryReporter_XPConnectJSTjitDataAllocatorsReserve'
/var/buildslave/mozilla-central-sparc64/build/js/src/xpconnect/src/xpcjsruntime.cpp:1488: error: cannot convert 'int*' to 'nsIMemoryReporter*' for argument '1' to 'nsresult NS_RegisterMemoryReporter(nsIMemoryReporter*)'
2011-05-05 17:13:59 -04:00
Mike Hommey
e56745d75b Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.

We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.

We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).

The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.

Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-02-25 12:53:36 +01:00
Mike Hommey
276732190f Backout bug 644608 because of bustage 2011-05-16 16:29:03 +02:00
Mike Hommey
2d708facec Bug 569365 - Remove preprocessor.pl and replace it with Preprocessor.py. r=ted
--HG--
rename : config/Expression.py => js/src/config/Expression.py
rename : config/Preprocessor.py => js/src/config/Preprocessor.py
2011-05-16 15:51:21 +02:00
Mike Hommey
a733c6b3cf Fixup for bug 644608. r=ted 2011-05-16 15:49:29 +02:00
Mike Hommey
c01d121edb Bug 644608 - Implement full dependencies for expandlibs. r=ted 2011-05-03 09:33:45 +02:00
Serge Gautherie
a53df1b729 Bug 603574 - Remove --disable-profile-guided-optimization support, Fix some unrelated nits. r=ted 2011-05-16 11:05:47 +02:00
Ms2ger
d5df8a6e33 Bug 655514 - Remove nsIDOMDocumentTraversal; f=ehsan r=jonas 2011-05-15 12:07:30 +02:00
Mike Hommey
b0924cc77f Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.

We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.

We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).

The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.

Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-02-25 12:53:36 +01:00
Mounir Lamouri
7211c91c57 Bug 514437 - Content part of the progress element. r=smaug 2011-04-09 10:22:02 -07:00
Matt Brubeck
1b17575132 Back out changeset bfb48178c8ec (finish backing out bug 514437) to fix tests on a CLOSED TREE. 2011-05-09 19:38:05 -07:00
Igor Bukanov
f4c246e790 bug 627016 - remove JSProperty out param from DefineNativeProperty. r=jorendorff
--HG--
extra : rebase_source : 673c7471fc963cb59d11ab667bd9e8523297617a
2011-01-21 14:10:16 +01:00
Gregor Wagner
b8b683195b Bug 650326 - Move ExpireGCChunks to background thread. r=igor 2011-05-12 15:29:38 -07:00
Chris Jones
77a671506f Test for bug 618176. 2010-12-09 21:57:42 -06:00
Blake Kaplan
10a1ebb2d2 Bug 648206 - Deal with JS engine annoyances. r=gal
--HG--
extra : rebase_source : dcb0f814a0bf7d3965404744498220fb8eb3da8c
2011-04-11 16:04:47 -07:00
Brian Hackett
ef3612d1d3 Bug 646660 - fp::pc should work on frames outside the current context (r=luke) 2011-04-12 13:02:16 -07:00
Luke Wagner
475caef8f2 Bug 647425 - Don't try to use js_PrototypeHasIndexedProperties in GetElements; its wrong for arguments objects (r=waldo) 2011-04-07 20:35:02 -07:00
Luke Wagner
4b6c2196d6 Bug 647425 - Refactor SplatApplyArgs to reuse GetElements (r=waldo) 2011-04-07 20:34:57 -07:00
Steve Fink
bb0c45a894 Bug 606629 - Record op execution counts for mjitted code (r=dmandelin)
I hope to obsolete this soon with bug 637393.
2010-10-22 17:18:47 -07:00
Steve Fink
cb2fba896d Bug 634648 - Mark tests that require to be run in debug mode (r=dbaron,dmandelin) 2011-02-16 22:41:14 -08:00
Blake Kaplan
6f695315f5 Bug 641342 - Treat chrome DOM objects like DOM objects. r=gal/jst 2011-05-10 14:41:25 -07:00
Steve Fink
1c4e7a1190 Back out b6c3be49412b 2011-05-12 11:14:37 -07:00
Steve Fink
a655c5fd00 Backed out changeset a5e2394cd75d 2011-05-12 11:13:14 -07:00
Steve Fink
fa26b60aaf Bug 634648 - Mark tests that require to be run in debug mode (r=dbaron,dmandelin)
--HG--
extra : rebase_source : 6f152c72627ce61065e5f468c273099804b578d5
2011-02-16 22:41:14 -08:00
Steve Fink
0f26c5dbb3 Bug 606629 - Record op execution counts for mjitted code (r=dmandelin)
I hope to obsolete this soon with bug 637393.

--HG--
extra : rebase_source : 3dd6d0bffac066e67785d730b9d59460db87326e
2010-10-22 17:18:47 -07:00
Kyle Huey
0852baff97 Fix annoying MSVC warning about class/struct mismatch. rs=jorendorff
DONTBUILD
2011-05-12 09:01:45 -07:00
Leon Sha
0788d25586 Bug 654632 - [TM] Recent changes in tracemonkey break Sparc build. r=dvander 2011-05-12 16:08:01 +08:00
Luke Wagner
0cc2ee558d Back out 5f2b3783cdd6 and b14ee60b0abf. xpcshell is doing some strange things with its fake principals manager 2011-05-11 19:53:21 -07:00
Blake Kaplan
825ede9775 Make the xpcshell have a findObjectPrincipals function to clean up after Luke's orange. No bug. r=luke 2011-05-11 18:42:01 -07:00
Luke Wagner
f537f477d3 Bug 656171 - Use object principals finder in PrincipalsForCompiledCode, for now (r=mrbkap) 2011-05-11 15:57:54 -07:00
Tom Schuster
b520ae3309 Bug 656317: add .append back in path reversal r=jorendorff 2011-05-11 18:23:21 +02:00
Jason Orendorff
534773d09a Bug 651030 - When removing a property from an object, add its slot to the freelist only if the slot is not reserved. r=cdleary. 2011-05-11 10:24:57 -05:00
Gregor Wagner
dc5385284e Bug 603916 - unifying GC sheduling. r=igor 2011-05-10 22:37:11 -07:00
Luke Wagner
bb15eadb74 Back out 33d8b418732b for causing Talos dromaeo_css crash 2011-05-10 18:49:27 -07:00
Jeff Walden
79f457610d Apparently DO_NEXT_OP must be passed len, sigh. 2011-05-10 18:23:13 -07:00
Jeff Walden
b763cc1394 Last fix, actually built js/src/ on Windows this time. If this doesn't work, I'm going to be angry. r=final-answer 2011-05-10 17:37:05 -07:00
Jeff Walden
3675f489ec When was it we were dropping support for Windows again? r=hate-hate-hate 2011-05-10 16:27:17 -07:00
Jeff Walden
6006abbff9 More bustage fixing, r=somewhat-less-failtastic-tinderboxen 2011-05-10 16:07:07 -07:00
Jeff Walden
2387589ebc Followup build bustage fixes. r=failtastic-tinderboxen 2011-05-10 15:53:27 -07:00
Jeff Walden
be37c9c02b Remove js_ReparentTypedArrayToScope as it's unused. No bug, r=jorendorff, rs=bent 2011-05-10 14:40:45 -07:00
Jeff Walden
188186661c Bug 653789 - Don't let Object.prototype.toLocaleString recur itself to death. r=luke
--HG--
extra : rebase_source : 92b8b568512a28c577e526fd25b593db071a65b7
2011-04-30 03:22:25 -04:00
Jeff Walden
5d29251946 Bug 652746 - Implement js::ArgumentsObject, js::NormalArgumentsObject, and js::StrictArgumentsObject. r=njn
--HG--
extra : rebase_source : 84258ffa658ba09928ab9b86f8017fa6683f3146
2011-04-25 22:40:00 -04:00
Jeff Walden
77b801ddde Bug 653888 - Clean up the Walk internal spec function, make the reviver delete properties from arrays if it returns undefined. r=pbiggar (relanding after a first try that appears to have triggered a random orange without methodjit on Linux debug, that went away on two rebuilds)
--HG--
extra : rebase_source : 4cef6936c39d63e232363baa64d24c0d1fabc60e
2011-05-05 00:24:15 -04:00
Luke Wagner
1bf189f3f2 Fix test added by 33d8b418732b to not hit quota on 64-bit (r=orange)
--HG--
rename : js/src/jit-test/tests/test-apply-many-args.js => js/src/jit-test/tests/basic/test-apply-many-args.js
rename : js/src/jit-test/tests/testCrossGlobalInvokeSession.js => js/src/jit-test/tests/basic/testCrossGlobalInvokeSession.js
2011-05-10 11:33:26 -07:00
Luke Wagner
8145c1e4e2 Bug 653785 - Properly compute stack quota in bumpLimit (r=dvander) 2011-05-10 09:51:53 -07:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
02c5d89688 Bug 577899, part 1: Add mfbt, to contain code shared between SpiderMonkey and Gecko. r=luke,ted sr=brendan,bsmedberg,roc 2011-03-31 20:46:35 -05:00
Chris Jones
29f9a86daa Merge backout 2011-03-31 18:58:11 -05:00
Chris Jones
a75fb12531 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Luke Wagner
6617dd4c5a Bug 646380 - jsd_GetValueString needs to null out 'call' after leaving the cross compartment call (r=sphink) 2011-03-31 15:29:44 -04:00
Ehsan Akhgari
41f6aee99f Merge cedar into mozilla-central 2011-03-31 14:11:37 -04:00
Kyle Huey
61ff9410c4 Backed out changeset a5dbece71e4a due to test failures 2011-03-31 09:11:21 -04:00
Matheus Kerschbaum
1f81122982 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now. r=bsmedberg 2011-03-31 07:22:55 -04:00
Kyle Huey
29d5f43cb5 Merge m-c to bs. 2011-03-31 07:17:15 -04:00
Chris Leary
733f538571 Merge mozilla-central and tracemonkey. 2011-03-29 14:52:44 -07:00
Chris Leary
ea513eacf6 Nop to force rebuild. 2011-03-29 10:47:59 -07:00
Chris Leary
d5de78ea4b Merge new tracemonkey head. 2011-03-29 09:06:19 -07:00
Chris Leary
78ceed9ab7 Merge mozilla-central to tracemonkey. 2011-03-29 09:05:25 -07:00
Brian Hackett
191b32603c Check for functions in instanceof fast path, bug 642174. 2011-03-28 20:05:23 -07:00
L. David Baron
f30ccb969b Remove the datastruct_ and member_ fields of the CSS_PROP macro. (Bug 645620, patch 5) r=bzbarsky 2011-03-28 16:07:27 -07:00
Luke Wagner
2fa7292b06 Bug 641436 - Don't call Script{Prologue,Epilogue} when resuming/yielding a generator (r=dvander)
--HG--
extra : rebase_source : 6ae3a6645425ee63162e19388143487df5435a65
2011-03-28 11:57:43 -07:00
Gregor Wagner
f18b7462d5 Bug 644871 - Combine MarkAndSweep/MarkAndSweepCompartment (r=billm) 2011-03-28 13:17:46 -07:00
Andrew McCreight
ff37de748d Bug 641910. Don't add non-grey nodes to the cycle collector model graph. r=gal@uci.edu 2011-03-28 13:05:48 -07:00
Joel Maher
f86f549a50 Bug 644697 - jsreftests shell test runner throws "Failed to test XUL condition 'Android'". r=dmandelin, a=test-only 2011-03-28 14:37:07 -04:00
Luke Wagner
f37c253b7f Bug 636224 - rm cx->interpLevel and TSF_ERROR (r=brendan)
--HG--
extra : rebase_source : 682e496d3fad9454b0279aff9bfd4c1bcf50055c
2011-03-23 14:33:02 -07:00
Nicholas Nethercote
a3cfafaa02 Bug 643700 - Fix an ARM warning on compilation since warnings are now regarded as errors. r=gal 2011-03-28 16:24:20 +08:00
Jeff Walden
9b3c17b455 Fix a compiler warning that occurs when jsgcinlines.h is included before jsobjinlines.h. r=warning-patrol 2011-03-25 17:23:05 -07:00
Jeff Walden
b77f3b09f3 Bug 645121 - Implement js::StringBuffer::finishAtom. r=igor 2011-03-25 12:04:05 -07:00
Jeff Walden
a0e982d7d2 Bug 639343 - Slight adjustment to how typed-array properties are handled in the tracer. r=dvander 2011-03-18 17:57:17 -07:00
Luke Wagner
be794a0b5b Bug 633690 - add HashMap::lookupWithDefault and putNew helper functions (r=billm)
--HG--
extra : rebase_source : 109b7974dac40749562c3b3ad4615029f1699b97
2011-03-23 17:40:11 -07:00
Jeff Walden
c9809f07b4 class RegExp, not struct RegExp. r=windows-bustage
--HG--
extra : rebase_source : 5c31a9b6a5309548db45d2756f03abeec23ed2f9
2011-03-24 15:04:54 -07:00
Nicholas Nethercote
89190c0bb0 Bug 626398 - A decision to abort in the tracer gets lost. r=dmandelin. 2011-03-25 09:02:01 +11:00
Michael Wu
acf7779c21 Another followup to bug 643927 - use the guard-object macro magic to ensure an Auto* class is never temporarily created. r=jwalden 2011-03-24 14:42:23 -07:00
Matheus Kerschbaum
355ae99518 Bug 640838: Remove OpenVMS support. r=khuey 2011-03-26 11:51:35 -04:00
Luke Wagner
fa88e6da4a Bug 601102 - Stop building exception backtrace at compartment boundaries (r=gal) 2011-03-25 18:22:49 -07:00
Michael Wu
c445f6e656 Bug 636811 - Use JSSCRIPT_NO_SCRIPT_RVAL in js component loader, r=mrbkap 2011-03-25 14:31:14 -07:00
Mike Hommey
739718b90e Bug 644081 - Use relative paths as much as possible in expandlibs.py. r=ted 2011-03-25 19:50:29 +01:00
Jeff Walden
4dce1d9ffa Bug 640072 - Convert properties of RegExp objects into true data properties, eliminating a use of shared-permanent properties. r=jorendorff 2011-03-05 15:29:30 -08:00
Jeff Walden
f1b6ce9142 Initialize a member variable in yarr/yarr/RegexParser.h if building with gcc 4.5 or later, because this compiler incorrectly claims the member variable might be used uninitialized. r=cdleary 2011-03-24 13:33:41 -07:00
Jeff Walden
6c7e38b13f Bug 644015 - js_GetArgsProperty doesn't look up properties of strict mode arguments objects correctly. r=dmandelin 2011-03-23 16:34:19 -07:00
Leon Sha
c9f02b0fc3 Bug 646311 - -Werror is not an option of Sun Studio. r=khuey. NPOTB changes. 2011-03-31 16:12:24 +08:00
Ehsan Akhgari
de907a39be Merge mozilla-central into cedar 2011-03-30 13:55:31 -04:00
Neil Rashbrook
c09046cf79 Bug 581307. Add a simple way to lazily import modules. r=sayrer 2011-03-30 13:40:47 -04:00
Ehsan Akhgari
ca0a27ab24 Merge cedar into mozilla-central 2011-03-29 10:39:07 -04:00
timeless@mozdev.org
b38bcb6ae4 Bug 602514 [@ AutoGCRooter::AutoGCRooter] if !ccx.IsValid() in nsXPCWrappedJSClass::CallMethod
r=mrbkap
2011-03-28 17:26:33 -04:00
timeless@mozdev.org
52bd717d9f Bug 615323 warning: comparison between signed and unsigned integer expressions in xpcjsruntime.cpp
r=mrbkap
2011-03-28 17:26:33 -04:00
timeless@mozdev.org
f8420fb5f2 Bug 586731 jsd_NewSourceText leaks new_url_string ifndef LIVEWIRE
r=biesi
2011-03-28 16:49:16 -04:00
Justin Lebar
7e2c5ae50d Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal
--HG--
extra : rebase_source : 71069eb9c9d61131adee49279e136c8574dabc62
2011-03-28 15:58:49 -04:00
Chris Leary
4f6b3c79c8 Merge tracemonkey to mozilla-central. 2011-03-31 15:47:46 -07:00
Igor Bukanov
d56f220bed bug 643548 - followup to fix js shell builld brekage on Linux 2011-03-31 15:07:48 +02:00
Paul Biggar
43b850291d Bug 643548: Remove mozalloc_undef_macro_wrappers hack from JS engine. (r=luke,rs=brendan)
mozalloc_undef_macro_wrappers are brittle and have side-effects that are hard
to debug and fix. The alternative is the just stick an underscore on the end of
malloc, free, etc, which is a comparatively small burden.
2011-03-31 01:14:12 -07:00
Paul Biggar
72c7701093 Bug 634155: Account for NewCompartment's memory, and change allocation APIs (r=nnethercote)
This changes the allocation API, in the following way:

  js_malloc -> {cx->,rt->,OffTheBooks::}malloc
  js_calloc -> {cx->,rt->,OffTheBooks::}calloc
  js_realloc -> {cx->,rt->,OffTheBooks::}realloc
  js_free -> {cx->,rt->,Foreground::,UnwantedForeground::}free
  js_new -> {cx->,rt->,OffTheBooks::}new_
  js_new_array -> {cx->,rt->,OffTheBooks::}new_array
  js_delete -> {cx->,rt->,Foreground::,UnwantedForeground::}delete_

This is to move as many allocations as possible through a JSContext (so that they may be aken into account by gcMallocBytes) and to move as many deallocations to the background as possible (except on error paths).
2011-03-31 01:13:49 -07:00
Nicholas Nethercote
e2c62437e0 Disable warnings-as-errors, which was introduced by bug 609532. See the bug for justification and follow-up. r=pbiggar. 2011-03-30 17:54:31 -07:00
Gary Kwong
79f0ef8539 Bug 643217 - Replace "ASSERTION FAILED" message with "Assertion failure" in assembler. r=njn
--HG--
extra : rebase_source : b9bd22ee029ebeea7b19327d38305ad1f3aba341
2011-03-31 08:44:57 +08:00
Brian Hackett
8e50870411 Transform RegExp.exec to RegExp.test in native call IC, bug 645889. r=dmandelin 2011-03-30 17:43:36 -07:00
David Mandelin
125dbc8ece Bug 645184: normalize id in addprop IC handler, r=dvander 2011-03-30 16:57:44 -07:00
Gregor Wagner
ee36f9fb20 Fix atomsCompartment assertion. No Bug, r=billm 2011-03-30 14:02:21 -07:00
Jim Blandy
f1e6365c99 Bug 645826: Include standard output and standard error in exception text when testing manifest conditions. r=dmandelin 2011-03-30 12:49:47 -07:00
Jim Blandy
d7f8d15385 Bug 643222: Don't assert that we never cached adds to call objects. r=jorendorff
This assertion should not have been added. Although most adds to call
objects are done by DEFVAR operations, which don't create property cache
entries, the test case shows a situation in which a SETNAME, which is
cached, does the add. Since the object whose property should receive the
value of an assignment's RHS is chosen before the RHS is evaluated, it is
correct to put the value of the 'delete' expression on the call.

It would be nice to ensure that this call object, which we know we are
adding bindings to, had been recognized as extensible at compile time by
the analysis added in bug 554955. However, we only set "extensible parents"
flag on the bindings of calls whose *parents* are extensible, not the
extensible calls themselves. So there isn't anything convenient to check
here.
2011-03-30 12:48:24 -07:00
Chris Leary
2ef1aa6439 Bug 642274: Add loose equality to JSAPI. (r=Waldo)
--HG--
extra : rebase_source : 3001604e6e6bfc9c8e73aafc1498a71ae7ade9cd
2011-03-21 10:04:43 -07:00
Andreas Gal
707f928b25 Expose public APIs for converting doubles to signed/unsigned int per ECMA spec (bug 631132, r=bzbarsky). 2011-03-29 19:19:15 -07:00
L. David Baron
506701bba2 Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790. 2011-03-24 21:07:05 -07:00
L. David Baron
65ba1c0595 Merge layout work from projects/birch, part 3. a=smaug 2011-03-24 08:38:19 -07:00
Mike Hommey
2cfeef8160 Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.

We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.

We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).

The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.

Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-03-24 15:28:14 +01:00
L. David Baron
6256bf49b3 Allow the method field in nsCSSPropList.h to be used with or without prefixes. (Bug 636039, patch 4) r=bzbarsky 2011-03-17 20:14:30 -07:00
L. David Baron
802da587ae Merge layout work from projects/birch, part 2. 2011-03-23 17:39:29 -07:00
L. David Baron
36d847de86 Add 'parsevariant_' parameter to CSS_PROP macro, with all properties initially zero. (Bug 636029) r=bzbarsky 2011-03-05 09:58:33 -08:00
Jeff Walden
e974b414d6 Bug 637859. Anchor a string for a bit. r=cdleary, a=bsmedberg 2011-03-03 09:37:18 -08:00
Benoit Jacob
0a28e31363 Bug 635068 - WebGL test array-unit-tests.html fails - r=dmandelin+vlad, a=blocking2.0 2011-03-03 11:02:35 -05:00
Gavin Sharp
5246cadda7 Back out 25027d672f50 (bug 636818) because it caused bustage (accidental file removal), a=#developers 2011-03-02 13:57:46 -08:00
Andreas Gal
ca32aa1319 Backed out changeset 8b3a403a6d26 (bug 636697, a=breaks Linux builds, cross-label variable initialization). 2011-03-02 13:36:06 -08:00
Jason Orendorff
adb7458612 Bug 636697 - Fix null deref in js_watch_set. r=brendan, a=dmandelin.
--HG--
extra : rebase_source : 1b167ac05c305ca571dab8a12c0e7d4930805c2d
2011-03-02 14:48:16 -06:00
Jason Orendorff
c5c4eeabcf Bug 636818 - Crash [@ js::CallJSPropertyOpSetter] or [@ js_SetProperty]. r=gal, a=dmandelin.
--HG--
extra : rebase_source : ffda69df6aa059fac4e742c905573809695c7765
2011-03-02 14:15:57 -06:00
Boris Zbarsky
494d0ffc7b Bug 614145. Fast-path null in quickstub return values. r=peterv 2011-03-23 10:45:21 -04:00
Boris Zbarsky
58a96f2303 Bug 585786. Do fast-unwrapping even for non-slim wrappers as long as they're cached. r=peterv 2011-03-23 10:45:21 -04:00
Boris Zbarsky
250488127b Bug 457102. Remove vestiges of dead xpointer/fixptr stuff. r=sicking 2011-03-23 10:45:21 -04:00
Justin Wood
8eb08b16d7 Bug 644011 - Bump milestone.txt, do NOT bump Firefox version.txt [yet]. r=khuey, a=joduinn for CLOSED TREE 2011-03-23 00:28:57 -04:00
Frank Wein
b6ec073efa Bug 420707 - Remove MOZ_META_COMPONENT ifdef from config.mk; r=khuey. Original Patch by mcsmurf, updated by Standard8 2011-03-22 08:04:00 +00:00
Justin Wood
84423e28f3 and copy to js/src. r=bustage 2011-03-20 22:11:06 -04:00
Mitchell Field
d08940e146 Bug 641887 - Disable secure CRT deprecation warnings for host binaries. r=ted 2011-03-20 20:12:35 +11:00
Kyle Huey
e5b0663ab2 Backing out nsinstall hardlinks because apparently MSYS has a bug that causes it to choke on hardlinks. 2011-03-19 08:00:35 -04:00