Commit Graph

13983 Commits

Author SHA1 Message Date
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
002069bfc8 Bug 589664 - Rewrite the JSON parser. r=njn, anticipating more review but getting it in-tree now for simplicity, even if more changes need to be made later 2011-03-23 16:34:53 -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
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
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
Jeff Walden
3dc342446e Bug 636175 - Move dom/src/json/test/unit tests into JS suite tests, because that's where they belong. r=pbiggar
--HG--
rename : dom/src/json/test/unit/pass3.json => dom/src/json/test/unit/decodeFromStream-01.json
rename : dom/src/json/test/unit/test_decode.js => dom/src/json/test/unit/test_decodeFromStream.js
rename : dom/src/json/test/unit/test_long_input.js => dom/src/json/test/unit/test_decode_long_input.js
extra : rebase_source : 6091ebb40a273c4bdd40d42e331e2c15e58d13f8
2011-02-25 19:01:54 -08:00
Jeff Walden
02e7d876a5 Bug 636079 - Refactor JSON.stringify code to more closely conform to the specification, fixing a bunch of known problems in the process. r=pbiggar
Bugs fixed:
* toJSON is now invoked with an argument list consisting of the property name.
* In rare circumstances toJSON was invoked twice for a single object-valued
  property.  This error has now been corrected.
* Stringification no longer throws if the toJSON property of an object being
  stringified is an object but is not callable.
* The replacer function is invoked exactly once for properties of objects
  when those properties are stringified.
* If a replacer function is to be called, it will receive array indexes as
  strings instead of numbers, per ES5.

Other improvements include:

* Speedier internal methods are used, rather than slow external APIs.
* Argument types are more specific (e.g. the "holder" argument is an object).
* Logic to determine when to call the replacer function is unnecessary and has
  been removed.

--HG--
extra : rebase_source : 1f2ee9ff4c14edebda3e48d33d6df32fc44b701d
2011-02-18 03:34:34 -08:00
Luke Wagner
5498350502 Update Makefile.in to reflect one fewer calls to UnwantedForeground::free (r=burning) 2011-04-07 15:06:41 -07:00
Luke Wagner
85b4911849 Bug 647337 - rm script filename prefix and flag stuff (r=mrbkap) 2011-04-07 14:25:32 -07:00
Gregor Wagner
7cdffe12ac Bug 647055 - Fix MarkIfGCThingWord. r=igor 2011-04-06 13:05:16 -07:00
Jeff Walden
546e09139d Followup, Windows is dumb and doesn't allow 1.0 / 0.0 (spec violation?). r=bustage 2011-04-06 11:29:47 -07:00
Jeff Walden
b80782b484 Bug 643532 - Implement JS_ParseJSON and JS_ParseJSONWithReviver, a first step toward moving away from a begin-consume-finish-based JSON parsing process. r=luke 2011-03-21 11:42:06 -07:00
Jeff Walden
edb58f7eb3 Bug 646490 - RegExp.prototype.exec doesn't get the lastIndex and ToInteger() it for non-global regular expressions when it should. r=cdleary 2011-04-01 15:19:03 -07:00
Jeff Walden
208cb6e474 Bug 645468 - Remove js_TryMethod: its semantics aren't what most of its users want, and its utility is limited. r=luke 2011-03-28 20:01:53 -07:00
Jeff Walden
2a6e2dae4b Bug 645205 - Implement RangeCheckedPointer<T>, a smart pointer restricted to a range defined at construction. r=luke 2011-03-28 19:27:02 -07:00
Phil Ringnalda
1b448b21c6 Bug 646702 - Add an --enable-sm-fail-on-warnings configure option to make it easier to do Tinderbox SpiderMonkey shell builds that fail on warnings, r=pbiggar 2011-04-06 03:52:28 -07:00
Jacek Caban
e1ec07563f Bug 644985 - Pass correct host triplet to libffi configure r=ted.mielczarek 2011-04-05 15:43:45 +00:00
Nicholas Nethercote
0d6b5875a9 Bug 636654 - Extract large cold chunks (e4x, @lines) from getTokenInternal(). r=brendan. 2011-04-04 18:54:48 -07:00
Igor Bukanov
07a87ab501 bug 641048 - follow up to fix compilation warnings. r=njn 2011-04-05 03:49:42 +02:00
Igor Bukanov
10724eed0a Bug 641048 - adding proper constructor/destrictor to JSTHread/ThreadData 641048. r=luke r=mrbkap 2011-03-13 15:45:02 +01:00
Paul Biggar
9f27af954b Disable check-jstests to fix orange on SM builds. 2011-04-03 20:12:27 -07:00
Paul Biggar
69c0d325e0 Disable check-ooms to fix orange on SM builds. 2011-04-03 19:14:23 -07:00
Paul Biggar
3ffcab910e Bug 647482 - jstests looks for config/autoconf.mk in the wrong place (rs=nnethercote) 2011-04-02 15:32:00 -07:00
Paul Biggar
05b322465b Fix OOM checker in non-regression mode (NPOTB) 2011-04-03 18:39:36 -07:00
Paul Biggar
6c146289f4 Bug 646763: Fix |make check-ooms| which never ran (r=nnethercote) 2011-04-03 18:29:46 -07:00
Chris Leary
93970628c1 Merge mozilla-central to tracemonkey. 2011-04-02 12:12:45 -07:00
Paul Biggar
f450e94915 Bug 642299 (part 2): Add jstests to tinderbox via |make check|. (r=dmandelin)
This also fixes a minor bug in jstests.py, where --no-extensions didn't work on
Windows, which uses '\' not '/'.
2011-04-01 21:12:07 -07:00
Paul Biggar
ade32998d5 Bug 642299 (part 1): When jstests timeout, add "TIMEOUT" to it's tinderbox output. (r=dmandelin) 2011-04-01 21:12:07 -07:00
Paul Biggar
f3da85ac7e Bug 642298: Add jitflags to tinderbox output. (r=dmandelin) 2011-04-01 21:12:07 -07:00
Paul Biggar
fce27bce09 Bug 644421: Add |make check| rules: check-jit-test, check-vanilla-new and check-sync-dirs. (r=jimb) 2011-04-01 21:12:06 -07:00
Chris Leary
220936793d Bug 627632: Avoid unnecessary realloc in StringBuffer::finishString(). (r=luke) 2011-04-01 16:33:41 -07:00
Chris Leary
7863ab591f Bug 644753: Turn ILLEGAL_RANGE NS_ASSERTIONs to warnings. (r=mrbkap) 2011-04-01 12:07:39 -07:00
Paul Biggar
59c1af50d3 Fix minor typo, followup to bug 634155 (no review) 2011-03-31 19:34:14 -07:00
Luke Wagner
1913b99eb0 Bug 639883 - Use JSString (not JSShortString) for inline really short inline strings (r=njn)
--HG--
extra : rebase_source : 5d18f67f841864064e032836014978cf51b52f5c
2011-03-31 16:07:21 -07:00
Luke Wagner
53aca4319a Bug 639883 - rm js_FinalizeStringRT (r=igor)
--HG--
extra : rebase_source : c7f77ad290112fe7d6c53255dbf5595c94be3422
2011-03-31 16:05:31 -07:00
Makoto Kato
7a5360fad1 Bug 636296 - Fix forceReturn trampoline on Win64/Solaris (r=dvander)
--HG--
extra : rebase_source : 85846343b38031931adafb7e44bc8983fdd3472c
2011-03-28 17:33:53 -07:00
Phil Ringnalda
8d4385b7fe Back out bd821ea0ad41 (638324) for mochitest-chrome crashes 2011-03-31 19:55:10 -07:00
Andreas Gal
e69500d1bc Maintain a list of IdArrays as we hand them out via JS API (638324, r=brendan). 2011-03-31 14:42:33 -07:00
Steve Fink
f24c9d54bb Bug 639943 - Convert IDL formatting to JS engine house style (r=timeless) 2011-03-26 12:05:40 -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
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
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
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
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