Commit Graph

13930 Commits

Author SHA1 Message Date
Walter Meinl
ee2d22da55 Bug 474366: follow-up patch, r=ted.mielczarek 2009-02-01 10:03:41 +01:00
Robert Sayre
0a6777d1fb Merge tracemonkey to mozilla-central. 2009-01-31 11:45:24 -08:00
Atul Varma
15e639d358 bug 445873 - let callers of Components.utils.Sandbox specify JS version; r+sr=mrbkap 2009-01-30 13:17:23 -08:00
Peter Weilbacher
fa09fefb49 Bug 474366: OS/2 build break in xpcshell.cpp due to bug 470914, p=wuno@lsvw, r=ted.mielczarek 2009-01-30 10:19:43 +01:00
Brad Lassey
f25fa99028 bug 473411 - the rule for DIST_FILES should create dist/bin, syncing config/rules.mk with js/src/rules.mk r=ted 2009-01-30 00:22:04 -05:00
Robert Sayre
78d557da18 Merge tracemonkey to mozilla-central. 2009-01-28 10:56:08 -08:00
Jim Blandy
5151951c4e Bug 475064: Use 'test !', not '! test' in configure scripts. r=bsmedberg 2009-01-28 09:01:40 -08:00
Bob Clary
e5baf44c45 bug 471450 - record mozilla-1.9.1 fix. 2009-01-28 08:34:13 -08:00
Bob Clary
bff9377a15 bug 470364 - JavaScript Test by Jeff Walden. 2009-01-28 08:34:13 -08:00
Bob Clary
049839124b bug 471635 - JavaScript Test by Jesse Ruderman. 2009-01-28 08:34:12 -08:00
Bob Clary
e11b769686 bug 474769 - JavaScript Test by Jesse Ruderman. 2009-01-28 08:34:12 -08:00
Bob Clary
0a78317c86 bug 474935 - JavaScript Test by Jesse Ruderman. 2009-01-28 08:34:12 -08:00
Bob Clary
f759904a7d bug 472599 - JavaScript Test by Jesse Ruderman. 2009-01-28 08:34:12 -08:00
Bob Clary
a148855b1e bug 458838 - JavaScript Test by Boris Zbarsky. 2009-01-28 08:34:12 -08:00
Bob Clary
8e418d82f7 imported patch bug-366601.patch 2009-01-28 08:34:11 -08:00
Bob Clary
9ea10edd73 bug 352026 - record mozilla-central failure. 2009-01-28 08:34:11 -08:00
Bob Clary
1bcfb5f86d bug 319980 - record failures. 2009-01-28 08:34:11 -08:00
Bob Clary
8026f2f290 bug 455464 - record failures. 2009-01-28 08:34:11 -08:00
Bob Clary
3b88383319 bug 455982 - record failures. 2009-01-28 08:34:10 -08:00
Bob Clary
d976ddf0c8 bug 458679 - record failures. 2009-01-28 08:34:10 -08:00
Bob Clary
4d6e716e08 bug 341821 - record failure. 2009-01-28 08:34:10 -08:00
Bob Clary
df84964d1f bug 470388 - record variety of darwin failures. 2009-01-28 08:34:10 -08:00
Bob Clary
3eea47c9a0 bug 469925 - record 1.9.0 failures. 2009-01-28 08:34:10 -08:00
Bob Clary
1eaef223e0 bug 469927 - record 64bit jit vs. non-jit test failure due to lack of jit support. 2009-01-28 08:34:09 -08:00
Bob Clary
a83e4dc2ff bug 451974 - JavaScript Tests by Andreas Gal. 2009-01-28 08:34:09 -08:00
Bob Clary
4d3c6c3577 bug 459405 - JavaScript Test by Robert Sayre. 2009-01-28 08:34:09 -08:00
Bob Clary
af33760fe7 bug 461180 - add math-trace-tests.js to the JavaScript Test library. 2009-01-28 08:34:09 -08:00
Bob Clary
ae4b1e68cd bug 463783 - JavaScript Test by Gary Kwong and Jesse Ruderman. 2009-01-28 08:34:08 -08:00
Bob Clary
e283471f74 bug 464862 - JavaScript Test by Jesse Ruderman. 2009-01-28 08:34:08 -08:00
Bob Clary
8a800fc710 bug 465236 - JavaScript Test by Jesse Ruderman. 2009-01-28 08:34:08 -08:00
Bob Clary
8bab180ca1 bug 465377 - JavaScript Test by Igor Bukanov. 2009-01-28 08:34:07 -08:00
Bob Clary
92aad11582 bug 465476 - JavaScript Test by Jeff Walden. 2009-01-28 08:34:06 -08:00
Bob Clary
2c3105e129 bug 465484 - JavaScript Test by Jesse Ruderman. 2009-01-28 08:34:05 -08:00
Bob Clary
653d14ffc2 bug 470223 - JavaScript Test by Edward Lee. 2009-01-28 08:34:04 -08:00
Bob Clary
201a226aca bug 470739 - JavaScript Test by Jesse Ruderman. 2009-01-28 08:34:04 -08:00
Bob Clary
8d704562ac bug 471197 - JavaScript Test by Igor Bukanov. 2009-01-28 08:34:03 -08:00
Brendan Eich
73225b4ef7 Bug 454184 - Implement eval caching (r=mrbkap). 2009-01-27 19:56:55 -08:00
Reed Loden
d440bbfe03 Apply rules.mk section of bug 460913's patch to js's separate rules.mk in order to fix orange. 2009-01-27 19:56:49 -06:00
Blake Kaplan
2eff5238d9 Bug 475185 - Add a crashtest. 2009-01-27 15:34:16 -08:00
Igor Bukanov
a741088d8f Backed out changeset e74857ea8248 - this caused unit test failures on Mac 2009-01-20 17:11:09 +01:00
Andrei Saprykin
4b9a729294 bug 453432 - Checking for MaybeGC conditions when allocating GC things 2009-01-20 15:50:39 +01:00
Robert Sayre
0abc47d8d9 Merge mozilla-central to tracemonkey. 2009-01-18 14:45:56 -05:00
Ted Mielczarek
09f20c7fbd bug 470914 - add a __LOCATION__ field to the global object for files loaded on the commandline in xpcshell. r=timeless 2009-01-18 12:01:15 -05:00
Graydon Hoare
f11fbedc53 Bug 470353 - Limit skip() allocations in tracer, r=gal. 2009-01-16 14:43:15 -08:00
Jeff Walden
6dd2ecbbc9 Unbreak optimized builds so that jitstats typo-checking doesn't affect them; in builds without the global tracemonkey property, we won't have any known jitstats, so check for that case and don't do typo-checking when jitstats tests can't actually be performed. r=graydon 2009-01-16 12:13:13 -08:00
Blake Kaplan
aebb11c75d Bug 475185 - Fast natives don't enforce minargs, so we have to do it ourselves. r=jorendorff sr=brendan 2009-01-26 16:55:53 -08:00
Blake Kaplan
bd43529c57 Bug 475291 - Avoid roundtripping arbitrary jsids through JSAtom *s. r=brendan 2009-01-26 16:55:43 -08:00
Peter Van der Beken
216d9f229d Backed out changeset 81428de4b5dc (Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst.). 2009-01-26 09:09:22 +01:00
Peter Van der Beken
9cedf29680 Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst. 2009-01-26 08:44:22 +01:00
Brendan Eich
507ab48825 Argh. 2009-01-25 14:04:53 -08:00
Brendan Eich
243c775869 Warning policing (please check and avoid adding). 2009-01-25 13:59:59 -08:00
Peter Van der Beken
f0559e5d15 Fix for bug 443483 (Closed windows need two cycle collections to be collected). r=bent, sr=jst, a=jst. 2009-01-25 15:34:26 +01:00
Peter Van der Beken
3f5c833846 Back out changeset e919f0c1dfa9 (Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst.) to try to fix red on leak tinderboxes. 2009-01-24 23:13:29 +01:00
Peter Van der Beken
78e694f4f3 Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst. 2009-01-24 18:28:40 +01:00
Peter Van der Beken
9c4ef0c065 Fix DEBUG_CC build. NPOTB. 2009-01-24 18:28:33 +01:00
Bob Clary
09121f8412 bug 469625 - JavaScript Tests by Jason Orendorff. 2009-01-24 04:42:27 -08:00
Bob Clary
d7c4459297 bug 469940 - JavaScript Test by Brendan Eich. 2009-01-24 04:42:27 -08:00
Bob Clary
32358aa633 bug 469927 - JavaScript Test by Jesse Ruderman. 2009-01-24 04:42:26 -08:00
Bob Clary
4a64819117 bug 465433 - JavaScript Test by Jesse Ruderman. 2009-01-24 04:42:26 -08:00
Bob Clary
de92b2a1bb bug 465132 - JavaScript Test by Jesse Ruderman. 2009-01-24 04:42:26 -08:00
Bob Clary
5e5be2df4c bug 446026 - JavaScript Tests by Brian Crowder, moz_bug_r_a4. 2009-01-24 04:42:26 -08:00
Bob Clary
3111908eb7 bug 470758 - JavaScript Tests by Blake Kaplan. 2009-01-24 04:42:26 -08:00
Bob Clary
72a13961f4 bug 470388 - JavaScript Tests by Gary Kwong. 2009-01-24 04:42:25 -08:00
Bob Clary
50980e8d1a bug 470300 - JavaScript Tests by Jesse Ruderman. 2009-01-24 04:42:25 -08:00
Bob Clary
b3372fedae bug 470176 - JavaScript Test by Jesse Ruderman. 2009-01-24 04:42:25 -08:00
Bob Clary
2d4860d58e bug 470061 - JavaScript Test by Jesse Ruderman. 2009-01-24 04:42:25 -08:00
Bob Clary
aaeb2ca331 bug 465460 - JavaScript tests by Jesse Ruderman. 2009-01-24 04:42:25 -08:00
Brian Crowder
5be1e234bc Bug 465808 - use FUN_OBJECT(callerFrame->fun) instead of potentially cloned callerFrame->callee; r=brendan 2009-01-24 01:20:10 -08:00
Zbigniew Braniecki (zbraniecki@mozilla.com)
3171618516 Backed out changeset e81a7ff740bd for proper checkin (test drive, sorry :() 2009-01-24 01:17:07 -08:00
Zbigniew Braniecki (zbraniecki@mozilla.com)
dbdc14da6d Bug 4658080 - use FUN_OBJECT(callerFrame->fun) instead of potentially cloned callerFrame->callee; p=bcrowder,r=brendan 2009-01-24 01:02:29 -08:00
Benjamin Smedberg
ed4d0102a4 Bug 269538 - use stdint types instead of jscpucfg types, now that we have them auto-configured
* Various code inside and outside of JS uses JS_BYTES_PER_WORD, so I added it to js-config.h
* Existing code uses JS_BYTES_PER_DOUBLE, JS_BITS_PER_WORD_LOG2, and JS_ALIGN_OF_POINTER so I've added autoconf tests for those

r=crowder r=jimb
2009-01-14 15:56:30 -05:00
Blake Kaplan
0668914df6 Backed out changeset 5d3af3ff9639. It doesn't allow UniversalXPConnect scripts to arbitrarily unwrap XPCNativeWrappers. 2009-01-16 19:36:38 -08:00
Blake Kaplan
a0f0697542 Bug 472674 - Allow XPCNativeWrapper to unwrap SJOWs again. r+sr=jst
--HG--
extra : rebase_source : 628b9152dd0bd16cc5d211e949fe1921070d01a2
2009-01-16 18:05:14 -08:00
Jim Blandy
a716b0a466 Bug 461841: Use configure-defined macros in #ifdefs for WinCE in js/src. r=crowder
Perform the appropriate configure-time tests, and hard-code the
answers for targets that don't support autoconf-style tests.  Check
for the io.h header, and the setbuf and isatty library functions.

In js/src/xpconnect/shell/xpcshell.cpp, use configure-#defined
preprocessor symbols to decide what to #include and use.  The
top-level configure script defines the preprocessor symbols used here.

In js/src/prmjtime.cpp, use them to select the appropriate method for
retrieving fine-grained time information for Windows and WinCE.  The
js/src/configure script defines the preprocessor symbols used here.

(This should cover the issues addressed by patch.v2 in bug 461841,
except for the stdint issue.)
2009-01-16 14:10:48 -08:00
Jim Blandy
4d667f4d63 Bug 461841: Unshuffle system-specific definitions of PRMJ_Now. r=crowder
Every piece of the body of js/src/prmjtime.cpp's PRMJ_Now function was
in a preprocessor conditional --- it was three entirely independent
implementations shuffled together.  Unshuffling them prepares the way
for adding a new WinCE definition.
2009-01-16 14:10:47 -08:00
L. David Baron
ecc57f0920 Put nsIDOMNSCSS2Properties in its own file to reduce risk of bumping the IID of the wrong interface. (Bug 473418) r+sr=jst
--HG--
rename : dom/public/idl/css/nsIDOMCSS2Properties.idl => dom/public/idl/css/nsIDOMNSCSS2Properties.idl
2009-01-16 13:32:09 -08:00
Mark Banner
62bb43b813 bug 473760 - browser components broken (checking in as bustage fix, asking for post-facto review from bsmedberg) - copy Ted's fix to js/src/config to fix TUnit bustage 2009-01-16 14:28:44 +00:00
timeless@mozdev.org
b70ed923bc Bug 422340 Firefox 3 beta 4 gives unhelpful slowscript warning on leaving gmail, r+sr=mrbkap 2009-01-15 20:02:21 -08:00
Phil Ringnalda
fcb2f41673 Bug 243621 - (Back out) Standardize QueryInterface without throw, r=timeless, sr=sicking 2009-01-15 20:02:21 -08:00
Jeff Walden
7344a1fa40 Bug 470364 - Make behavior of +/- when one operand is an object with a custom valueOf consistent with non-JIT, even if for the moment that behavior is non-standard. r=brendan 2009-01-13 19:06:03 -08:00
Jim Blandy
36c9779a71 Bug 454704: Protect sharpObjectMap in the presence of wrapped getters. r=igor 2009-01-16 09:59:46 -08:00
Blake Kaplan
c663a9fddd Bug 473709 - Protect |str| across the call to js_NewRegExp. r=jwalden 2009-01-15 17:54:05 -08:00
Igor Bukanov
a5086c8e01 backout merge 2009-01-15 22:28:58 +01:00
Igor Bukanov
bfb5633fe3 Backed out changeset 562d8990f33a - with the fix for bug 473721 this workaround is no longer necessary. 2009-01-15 22:27:36 +01:00
Igor Bukanov
5c3038ed27 bug 473721 - fixing JS_GetOperationLimit to return the proper limit. r=mrbkap 2009-01-15 22:22:46 +01:00
Robert Sayre
502443ce81 Merge m-c to tm. 2009-01-15 15:06:16 -05:00
Ted Mielczarek
528c542174 bug 462004 - fixup visibility of readline symbols. r=bsmedberg 2009-01-15 07:18:28 -05:00
Robert Sayre
39eb159902 wallpaper for bug 473721 2009-01-15 03:38:09 -05:00
Blake Kaplan
00313ff40f Bug 473631 - Don't attempt to compile a null buffer. r=igor 2009-01-14 15:36:19 -08:00
Robert Sayre
7ecfbc35fa Merge m-c to tracemonkey.
--HG--
rename : js/src/js.cpp => js/src/shell/js.cpp
2009-01-14 18:25:22 -05:00
David Mandelin
a31862e2d2 Bug 472440: JS tracing crash, typo in record_JSOP_CALL_GVAR, r=mrbkap 2009-01-14 11:42:35 -08:00
Jeff Walden
90040dd081 Oops, backed out the wrong patch last time 2009-01-14 11:35:08 -08:00
Jeff Walden
b378f8fcc6 Backed out changeset de45be487415, the real change I wanted to back out 2009-01-14 11:34:39 -08:00
Jeff Walden
cc44fed0a8 Back out 71cd51a61b67 because tinderboxen are intermittent-orange, but I absolutely cannot believe this is the problem that they're hitting 2009-01-14 11:30:28 -08:00
Jeff Walden
2b10c897e2 Backed out changeset 71cd51a61b67 2009-01-14 11:28:59 -08:00
Ted Mielczarek
043ac8e978 fix check-sync-dirs to use the magic words for error output. (no bug) 2009-01-14 12:55:43 -05:00
Igor Bukanov
a736c5f84e bug 472702 - using watchdog thread in js shell to trigger operation callback 2009-01-14 18:23:51 +01:00
Jeff Walden
5b100579ca Remove a tab, kick tinderboxen to see if oranges are spurious or not 2009-01-13 23:03:42 -08:00
Jeff Walden
4bae56538f Bug 470364 - Make behavior of +/- when one operand is an object with a custom valueOf consistent with non-JIT, even if for the moment that behavior is non-standard. r=brendan 2009-01-13 19:06:03 -08:00
Alexander Sack
2c2f23d63a Bug 471359 - export js/ system_wrappers to their own directory. r=jim 2009-01-13 19:56:41 +01:00
Benjamin Smedberg
66dbffe909 Merge backout of bug 269538 2009-01-21 17:34:51 -05:00
Benjamin Smedberg
4eaabd38fe Backed out changeset 525e42406396, bug 269538 (jscpucfg-ectomy) due to Windows TUnit bustage. 2009-01-21 17:34:28 -05:00
Blake Kaplan
60c9e5280e Bug 472674 - Allow XPCNativeWrapper to unwrap SJOWs again. r+sr=jst 2009-01-16 18:05:14 -08:00
Benjamin Smedberg
52f4f5da62 Bug 269538 - use stdint types instead of jscpucfg types, now that we have them auto-configured
* Various code inside and outside of JS uses JS_BYTES_PER_WORD, so I added it to js-config.h
* Existing code uses JS_BYTES_PER_DOUBLE, JS_BITS_PER_WORD_LOG2, and JS_ALIGN_OF_POINTER so I've added autoconf tests for those

r=crowder r=jimb
2009-01-14 15:56:30 -05:00
Arpad Borsos
e4a2e70daa Bug 471877 - Cleanup GTK includes; further cleanup + system-headers cleanup; r+sr=roc 2009-01-21 16:24:46 +01:00
Masatoshi Kimura
3b1520927c Bug 471854 - Build error in accessible/public/msaa on x64 Windows with VC8; r=(m_kato + ted.mielczarek) 2009-01-21 16:12:35 +01:00
Ginn Chen
e01887b2a7 Bug 472622 prmjtime.cpp failed to compile on SunOS 5.* r=jim,crowder 2009-01-21 18:24:03 +08:00
Bobby Holley
0e0124e86e Bug 469558: --enable-system-lcms build option should be removed.r=bsmedberg,sr=ted.
Relanding after 8f347bf50a53 was backed out in e1da61348dda. Issues should be fixed.
2009-01-20 21:02:43 -08:00
Benjamin Smedberg
7d495aeafb Merge backout of bug 470971 2009-01-20 19:00:24 -05:00
Benjamin Smedberg
04110a51cd Backed out changeset 700bca4b693f due to reftest failure (bug 470971) 2009-01-20 18:59:20 -05:00
Benjamin Smedberg
00ae6eea4f Copy xpcshell instead of symlinking it, so that it knows where it is... Followup to bug 470971 2009-01-20 17:21:03 -05:00
Benjamin Smedberg
4d262c4424 Bug 470971 - Add ability to pass the GRE dir to xpcshell, r=ted 2009-01-20 14:56:44 -05:00
Bob Clary
3da913760e bug 450275 - remove __count__ tests from js1_5/extensions/regress-434837-01.js and do not exclude it for 1.9.0 or later branches. 2009-01-20 02:16:22 -08:00
Bob Clary
629fc9c79d update public failures. 2009-01-20 02:16:22 -08:00
Bob Clary
2c1af81766 bug 474102 - limit the number of collected messages per test to less than 1000 to prevent post-process-logs.pl from running out of memory in extreme cases. 2009-01-20 02:16:22 -08:00
Andrei Saprykin
5bef92a687 bug 413735 - consistent readline usage 2009-01-13 16:35:47 +01:00
Jeff Walden
fd84f8a936 Bug 470997 - TM: trace-test.js should throw an error when |test.jitstats| contains an unrecognized property name. r=gal 2009-01-12 18:06:22 -08:00
Andreas Gal
1840c55ed1 Extend tree on shape mismatch (473277, r=danderson). 2009-01-12 19:49:03 -08:00
Andreas Gal
5e5baac9e0 Trampolines can be 2 words, so take that into account when reserving space for LIR_call instructions (473225, r=danderson). 2009-01-12 19:46:13 -08:00
Andreas Gal
85db9f43bb Merge. 2009-01-12 19:40:09 -08:00
Andreas Gal
03dd415e7d Backed out changeset 8775c279e59c 2009-01-12 19:39:55 -08:00
Andreas Gal
d4a124b0eb Merge. 2009-01-12 17:16:41 -08:00
Andreas Gal
30be65f596 Trampolines can be 2 words, so take that into account when reserving space for LIR_call instructions (473225, r=graydon). 2009-01-12 17:16:21 -08:00
Jeff Walden
e16147fd96 Add new jitstats to the list in trace-test.js, and add a comment to jitstats.tbl noting that the two lists must be synchronized. 2009-01-12 16:37:09 -08:00
Jeff Walden
11a39d68ba Fix typos in jitstats property name; it's "sideExitIntoInterpreter", not "sideExits"; also bump iteration counts so it's more obvious at a glance that bug 471214 is unfixed (and that when it's fixed the fixedness will be clear). 2009-01-12 16:12:54 -08:00
Blake Kaplan
f34f71e5e8 Fix the vim modeline.
--HG--
extra : rebase_source : 9a9ca3f9eb0d33fa6c43bf798612de7dbe9ae076
2009-01-12 15:07:31 -08:00
Jeff Walden
2c008538f1 Bug 472599 - TM: "Assertion failure: JSVAL_IS_INT(STOBJ_GET_SLOT(callee_obj, JSSLOT_PRIVATE))" with __proto__, call, toString. r=gal 2009-01-12 13:10:09 -08:00
Peter Van der Beken
9584f0809f Fix --enable-shark build bustage, r=ted. This is a temporary fix, real fix will be in bug 473563. 2009-01-14 16:47:43 +01:00
Bob Clary
b242a1173d bug 467276 - tests for NaN/Infinity.toExponential(...)/toPrecision() should not check range, by szegedia%freemail.hu. Sync with CVS trunk. 2009-01-14 07:16:18 -08:00
Bob Clary
12d1673629 bug 352026 - update test to uniquely identify subtest results. 2009-01-14 07:16:18 -08:00
Bob Clary
939a091010 sync developer trace tests with js test suite. 2009-01-14 07:16:18 -08:00
Bob Clary
5f8a8ef34f bug 472619 - update sisyphus to build 1.9.1 from releases/mozilla-1.9.1 and 1.9.2 from mozilla-central. 2009-01-14 07:16:17 -08:00
Bob Clary
0dd6189d7a bug 458679 - JavaScript Tests by Igor Bukanov, Jesse Ruderman and Gary Kwong. 2009-01-14 07:16:17 -08:00
Bob Clary
12fecc8623 bug 469855 - allow test parameter to be placed anywhere in query string. 2009-01-14 07:16:16 -08:00
Bob Clary
c2f97a4fa8 bug 469696 - obsolete test for 1.9.1 branch. 2009-01-14 07:16:16 -08:00
Bob Clary
a88f8087ef bug 454142 - JavaScript Test by Gary Kwong. 2009-01-14 07:16:16 -08:00
Bob Clary
6c94a5b48d bug 462470 - update spidermonkey-n-1.9.1.tests to include missed test. 2009-01-14 07:16:16 -08:00
Bob Clary
7507efecf9 bug 465366 - JavaScript Test by Boris Zbarsky, Andreas Gal. 2009-01-14 07:16:16 -08:00
Bob Clary
54f6ea3ce5 bug 417131 - JavaScript Test by Igor Bukanov. 2009-01-14 07:16:16 -08:00
Bob Clary
4932281e94 bug 428366 - JavaScript Test by Blake Kaplan. 2009-01-14 07:16:15 -08:00
Bob Clary
8a2ae6631a bug 371802 - JavaScript Test by Brendan Eich. 2009-01-14 07:16:15 -08:00
Bob Clary
3c0c5c6fda bug 443071 - JavaScript Test by Jesse Ruderman. 2009-01-14 07:16:15 -08:00
Bob Clary
3f36cbc642 bug 465133 - JavaScript Test by Jesse Ruderman. 2009-01-14 07:16:15 -08:00
Ted Mielczarek
defd040bed followup from bug 467862, forgot to sync up js/src/config/rules.mk 2009-01-14 08:56:13 -05:00
Peter Van der Beken
1a76d6b1c6 Make DEBUG_CC compile again (broken by the fix for bug 458099). r=bent, NPOTB. 2009-01-14 13:24:10 +01:00
Phil Ringnalda
29f4408358 Bug 473485 - snarf is no longer built by default in js.cpp, among other reverted changes, r=jorendorff, a=NPOTDB 2009-01-23 21:55:29 -08:00
Blake Kaplan
401edfbfa5 Bug 462428 - Make __lookup[GS]etter__ work on quickstubbed properties by faking it for XPConnect prototype objects only. r=jorendorff sr=brendan 2009-01-23 15:44:01 -08:00
Brad Lassey
62b0078d30 Brad Lassey - bug 463561 - mkdepend crashes while compiling freetype, follow up push to js/src r=bsmedberg a191=beltzner 2009-01-23 16:06:15 -05:00
Benjamin Smedberg
ada87e0952 Bug 475027 - only MSVC needs jscpucfg.h... everyone else should be using jsautocfg.h and the configure-generated defines. If you're doing something crazy like cross-compiling from FreeBSD to Windows using MSVC, this will make your life happier r=crowder 2009-01-23 14:46:15 -05:00
Peter Van der Beken
bd6953d586 Back out changeset 32dc89bc34ad (Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst.) to fix orange. 2009-01-23 17:05:05 +01:00
Peter Van der Beken
6ca5d4f032 Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst. 2009-01-23 15:47:24 +01:00
Brendan Eich
93e3fb80de Bug 453955 - "Assertion failure: sprop->setter != js_watch_set || pobj != obj, at jsdbgapi.c" (r=mrbkap). 2009-01-23 00:54:12 -08:00
Ginn Chen
4825d5e521 Bug 474757 Several build failures on Solaris build for js/src r=danderson 2009-01-23 16:09:27 +08:00
Ginn Chen
0a8f8d1fa8 Bug 474757 Several build failures on Solaris build for js/src r=danderson 2009-01-23 15:57:54 +08:00
Blake Kaplan
7e13b241e0 Bug 472794 - Deal with XPCNativeWrapper.prototype properly. r+sr=jst 2009-01-15 16:34:55 -08:00
Blake Kaplan
9599341195 Bug 473437 - DumpJSStack() can set a pending exception in cx. r+sr=jst 2009-01-15 16:34:54 -08:00
Jeff Walden
f06d829cb1 Bug 472592 - unbox_jsval is infallible, make the signature reflect that. r=gal 2009-01-11 13:57:42 -08:00
Jeff Walden
500e83ad2e Despite the previous log message, the previous push was r=brendan 2009-01-10 15:25:03 -08:00
Jeff Walden
aa1f4886f2 Bug 466905 - Fix JSOP_NEWARRAY to be not-buggy and use it when possible. NOT REVIEWED YET 2009-01-10 12:15:08 -08:00
Blake Kaplan
e59c4c03c8 Bug 472787 - Eagerly set the return value. r=brendan 2009-01-09 18:32:04 -08:00
Andreas Gal
e82c8bad10 Track timeout side exits separately in jitstats (472761, r=jwalden). 2009-01-09 16:38:57 -08:00
Andreas Gal
899c008f7c Push a dummy copy of EBP onto the stack to make sure EBP is aligned in the new stack frame (472791, r=graydon,edwsmith). 2009-01-09 15:18:00 -08:00
Jason Orendorff
0ff56bceb4 Fix trace-test bustage due to my last checkin. 2009-01-09 17:12:20 -06:00
Robert Sayre
a3a472cebf Merge m-c to tracemonkey. 2009-01-09 01:23:32 -05:00
Robert Sayre
4c0ae2e764 Bug 466781 - TM: inconsistent (0 in d) where d is a String. r=brendan 2009-01-09 00:59:24 -05:00
Jeff Walden
b88411f456 Destroying the temporary context used in evalcx and also doing a GC invalidates shape numbers, which kinda makes testing hard because it breaks shapeOf(evalcx("lazy")) === shapeOf(evalcx("lazy")); don't GC. rs=brendan 2009-01-08 17:54:04 -08:00
Jason Orendorff
3ff0d9cc39 Bug 471540 - TM: "Assertion failure: cp >= buf" at homicideReport.php. r=gal.
--HG--
extra : rebase_source : 7f3bc4e8db9ce307360792b889943d8609e8ff6e
2009-01-08 17:09:16 -06:00
Graydon Hoare
bf1fefb4f2 Bug 472594 - Make analysis-tests work in out-of-tree objdir, r=jorendorff. 2009-01-08 10:40:36 -08:00
Igor Bukanov
100f79b331 bug 419086 - replacing the branch callback with the operation callback. r=brendan 2009-01-08 00:44:52 +01:00
Graydon Hoare
a77dc151fe Bug 472553 - Annotations required by jsstack.js analysis, r=jorendorff. 2009-01-07 14:14:51 -08:00
Igor Bukanov
1d1443518f bug 465030 - Support terminating long-running scripts without using extra threads or signals. r=gal,sayrer 2009-01-07 18:45:13 +01:00
Igor Bukanov
d87ba556a1 Backed out changeset 763b96e81579 - I committed the wrong patch 2009-01-07 18:44:50 +01:00
Igor Bukanov
1da78089de bug 465030 - Support terminating long-running scripts without using extra threads or signals. r=gal,sayrer 2009-01-07 18:40:58 +01:00
Robert Sayre
e9330d1d7c Merge m-c to tracemonkey. 2009-01-07 11:42:59 -05:00
Graydon Hoare
68f0f770f6 Bug 470388 - Tighten assertion for JSFRAME_POP_BLOCKS on trace-entry frame, r=brendan. 2009-01-06 18:20:33 -08:00
Jesse Ruderman
69c1a75b82 Add five crashtests 2009-01-06 16:47:56 -08:00
Jason Orendorff
9c1c04705a Bug 468641 - TM: Add bytecode disassembly to JS_JIT_SPEW output (r=crowder) 2009-01-06 16:51:32 -06:00
Jason Orendorff
70c03f456c Bug 462021 - TM: Make JSStackFrame reconstitution infallible (part 4 of 4, rename recoveryDoublePool to reservedDoublePool, r=brendan)
--HG--
extra : rebase_source : d865549cb727aada20fbaa78286de37a97b85bca
2009-01-06 13:39:14 -06:00
Blake Kaplan
97a569d11a Bustage fix from bug 458020 2009-01-06 14:34:16 -05:00
Blake Kaplan
b9e7b69abe Bug 458020 - Ensure that the display is correct when evaluating a script in a stack frame. r=brendan
--HG--
extra : rebase_source : 01aba83379c17c0abda66ce44adb5d04686fc923
2009-01-06 14:17:12 -05:00
Blake Kaplan
8ac6f74bbc Bug 470720 - Don't automatically unwrap XOWs or SJOWs in XPCNativeWrappers. r+sr=jst
--HG--
extra : rebase_source : a670c95a103ae0ced9ff50b31d07c7f7958d9339
2009-01-06 14:17:02 -05:00
Blake Kaplan
7d974b6ea6 Bug 471366 - Deal with XPCNativeWrapper.prototype correctly. r+sr=jst
--HG--
extra : rebase_source : d651d4f31f41e17a5c31b586cb5906eb7aaab271
2009-01-06 14:16:58 -05:00
timeless@mozdev.org
ccc51a22e8 Bug 472292 Crash [@ jsdScript::CreatePPLineMap() ] with Firebug when invoking a non-function from an event handler.
r=caillon
2009-01-06 21:34:56 +01:00
Brian Crowder
2ba5c16c75 Bug 471513 - invalid C++ in jsopcode.cpp, r=brendan 2009-01-06 09:18:36 -08:00
Brian Crowder
98fb58ed3e Bug 411726 - Use localtime_r when available, to improve Date reporting for locales like Venezuela on platforms like OS X. r=mrbkap, r=ted (for build changes) 2009-01-06 09:18:35 -08:00
Brian Crowder
5d17330942 Bug 433073 - jsregexp.cpp should use dependent strings, r=igor 2009-01-06 09:18:35 -08:00
timeless@mozdev.org
cb0f0635d9 Bug 427164 - jsdIScript.isLineExecutable should return NS_ERROR_OUT_OF_MEMORY for oom, r=caillon 2009-01-04 10:59:17 -08:00
timeless
f111d52c39 Bug 469795 - tolerate contexts which don't have a JSOPTION_PRIVATE_IS_NSISUPPORTS; r+sr=jst 2009-01-04 09:06:51 +01:00
Robert Sayre
be93713678 Merge m-c to tracemonkey. 2009-01-02 12:37:55 -08:00
Andreas Gal
d8159286c8 Use a single lirbuf for the tracer and rewind lirbuf during GC (471821, r=danderson). 2009-01-02 10:55:02 -08:00
Andreas Gal
3256fd407d Merge. 2009-01-01 17:57:11 -08:00
Andreas Gal
f8b6f7fe6a Store frame state information in the code cache and merely put a pointer to it onto the native call stack (470375, r=danderson). 2009-01-01 17:55:43 -08:00
Robert Sayre
a168b4b0d0 Mergre mozilla-central to tracemonkey. 2009-01-01 14:25:18 -08:00
Jesse Ruderman
e7ff093116 Add 19 crashtests 2009-01-01 14:18:58 -08:00
Phil Ringnalda
166047cba5 Backed out changeset e0cce6a738c9 (Bug 466224 - Make quickstubs call nsINode/nsINodeList methods) for failing mochitest 2008-12-31 18:21:52 -08:00
David Mandelin
222537da68 Bug 471602 part 1: make regexp compiler use one shared LIR buffer, r=gal 2008-12-31 16:41:33 -08:00
Brendan Eich
669bad4082 Bug 471531 - js1_7/decompilation/regress-379925.js | js1_8_1/decompilation/regress-371802.js FAIL (r=jorendorff). 2008-12-31 12:32:35 -08:00
David Mandelin
247323e02f Merge. 2008-12-31 11:46:10 -08:00
David Mandelin
0638bb54b1 Attempted fix for bug 470492: top crash in regexp LIR generation, r=gal 2008-12-31 11:43:50 -08:00
Peter Van der Beken
a76598678b Fix for bug 466224 (Make quickstubs call nsINode/nsINodeList methods). r/sr=jst. 2008-12-31 14:55:20 +01:00
Robert Sayre
035cfa9657 Merge. 2008-12-31 01:53:26 -05:00
Andreas Gal
d4374fd15f Merge. 2008-12-30 17:04:04 -08:00
Andreas Gal
bb0b0814a1 Allocate the next page to be used in a lirbuf early to avoid running OOM during a page overflow (471316, r=danderson). 2008-12-30 17:03:43 -08:00
Peter Van der Beken
89b349d0a4 Fix for bug 466224 (Make quickstubs call nsINode/nsINodeList methods). r/sr=jst. 2009-01-02 18:00:18 +01:00
Bo Yang
5b28d0b465 Bug 453094 - Some strong type conversion make GCC not complain; r=jorendorff sr=peterv 2009-01-02 07:21:26 +01:00
Brendan Eich
fb6a690e70 Bug 470374 - Decompiler fixes from bug 469625 (r=jorendorff). 2008-12-29 23:22:23 -08:00
Andreas Gal
f49a6a52bf Merge. 2008-12-29 15:30:54 -08:00
Andreas Gal
ab7d68e70b Backed out changeset 4acb47a25eb5 2008-12-29 15:30:25 -08:00
Andreas Gal
2fbc1b8fad Merge. 2008-12-29 14:27:15 -08:00
Andreas Gal
1c33b1b497 Convert String objects into primitive strings when invoking String functions on them (470609, r=jorendorff). 2008-12-29 14:26:51 -08:00
Jeff Walden
d57597181e Make similar-acting code similar-reading as well (but not shared due to the +/- difference), no bug 2008-12-29 07:59:06 -06:00
Igor Bukanov
abc93786e5 bug 471197 - during GC call js_GetTopStackFrame only for contexts with frames. r=brendan 2008-12-27 00:05:15 +01:00
Jeff Walden
261e983a58 Bug 470739 - Trace more == cases. r=gal 2008-12-26 14:48:33 -05:00
Robert Sayre
ed56e93667 Ho ho ho, it's a lump of hg coal. Merge.
--HG--
rename : js/src/js.cpp => js/src/shell/js.cpp
2008-12-25 20:19:52 -05:00
Igor Bukanov
8ff684a97f bug 471044 - fixing upgvar detection for for-in loop. r=mrbkap 2008-12-25 01:23:38 +01:00
Blake Kaplan
f2e03d6dcd Bug 470758 - Don't generate upvars on the left side of a for-in loop. r=brendan 2008-12-23 15:45:44 -08:00
Phil Ringnalda
6192a5d81a Merge for backout of changeset 55e23c647137 (bug 462004) so the backout for bug 467862 to solve bug 471097 can actually build 2008-12-25 19:51:35 -08:00
Phil Ringnalda
2df79b4bd8 Backed out changeset 55e23c647137 (bug 462004) so the backout for bug 467862 to solve bug 471097 can actually build 2008-12-25 19:49:53 -08:00
Phil Ringnalda
f81ff5544a Merge for backout of changeset 73be1c836d7f (bug 467862) to see if that fixes Windows bustage (bug 471097) 2008-12-25 19:28:31 -08:00
Phil Ringnalda
1e6b2731a3 Backed out changeset 73be1c836d7f (bug 467862) to see if that fixes Windows bustage (bug 471097) 2008-12-25 19:27:15 -08:00
Ted Mielczarek
4b9a084bf4 bug 467862 - Build system should support building both a static and a shared library from the same Makefile. r=bsmedberg 2008-12-24 14:04:43 -05:00
Igor Bukanov
2e152b3b3a Backed out changeset 2d5e6b1c7254 - busted the WINNT 5.1 talos tracemonkey. 2008-12-23 19:24:09 +01:00
Andrei Saprykin
09c0dd5d3f bug 453157 - watchdog thread as an alternative to operation count. r=igor,mrbkap 2008-12-23 16:12:11 +01:00
Jesse Ruderman
6d84d90288 Fix bustage 2008-12-22 16:07:49 -08:00
Jeff Walden
5cb4a5e512 Bug 470737 - TM: "switch(1/0){case Infinity:}" 4X slower with JIT enabled. r=gal 2008-12-22 15:42:24 -08:00
Jim Blandy
4149ac2a02 Bug 469225: Move HAVE_ARM_SIMD test after header file tests. r=vladimir
This should have no effect; the test there is in the midst of a
section titled, "Checks for header files", and doesn't belong there.

I've made the same change in both the top-level configure.in and
js/src/configure.in, just to keep things parallel.
2008-12-22 13:59:28 -08:00
Jim Blandy
e9c4425a81 Bug 467583: Make js/src share the 'dist' tree with the enclosing build. r=ted.mielczarek 2008-12-22 13:22:38 -08:00
Benjamin Smedberg
3f4867f465 Bug 470000 - JS_GET_SCRIPT_ATOM needs to use cx->fp safely, r=brendan 2008-12-22 11:07:40 -05:00
Jeff Walden
b5c930c682 Bug 470409 - TM: Crash [@ js_EqualStrings]. r=brendan 2008-12-21 21:26:08 -08:00
Jeff Walden
4c799fd105 Bug 470137 - TM: Behavioral difference in addition of objects between JIT, non-JIT. r=brendan 2008-12-21 21:26:08 -08:00
Igor Bukanov
2a39d8b660 Backed out changeset 7184e014cd05 - the patch for bug 453157 bursted tgfx test on Windows. 2008-12-21 21:49:06 +01:00
Andrei Saprykin
4e1445fbdd bug 453157 - watchdog thread as an alternative to operation count 2008-12-21 17:16:09 +01:00
Igor Bukanov
7c434bc745 bug 469233 - using interrupt hook support in the interpreter for trace recording. r=brendan 2008-12-21 12:55:09 +01:00
Igor Bukanov
6c27090c69 Backed out changeset 605fd1985d05 - more merge typos. 2008-12-21 12:50:36 +01:00
Igor Bukanov
cb03844018 bug 469233 - using interrupt hook support in the interpreter for trace recording. r=brendan 2008-12-21 12:31:38 +01:00
Igor Bukanov
b026252af5 Backed out changeset f13e2a2a5d66 - I was not careful when merging the unary op changes 2008-12-21 12:23:08 +01:00
Michael Ventnor
89053850bf Bug 470165 - Cleanup the GTK nsFilePicker code; r+sr=roc 2008-12-21 02:33:04 +01:00
Igor Bukanov
57ce573d02 bug 469233 - using interrupt hook support in the interpreter for trace recording. r=brendan 2008-12-21 00:16:41 +01:00
Jeff Walden
74233ae615 Bug 469942 - TM: 20% slower to compute unary +/-. r=brendan 2008-12-19 19:30:09 -08:00
Jeff Walden
c813c7c4b9 Whitespace patrol, move some tests before mandelSet where they should have been, add big scary warnings about not putting anything after mandelSet because they won't get run very often (not until just pre-commit, usually). 2008-12-19 19:09:27 -08:00
Ted Mielczarek
c22a7b95a3 bug 467271 - JS not being PGOed on win32. r=bsmedberg 2009-01-08 13:52:38 -05:00
Ted Mielczarek
cb9e3ef789 bug 471188 - stop calling 'make install' for spidermonkey. r=bsmedberg,jimb 2009-01-08 13:51:27 -05:00
Graydon Hoare
2caed56506 Bug 469012 - crashing LirBufWriter::insLinkToFar, r=danderson. 2008-12-19 16:20:51 -08:00
Graydon Hoare
f28caff84c Bug 464862 - Calculate call-argument deltas relative to last word of LirCallIns, not first, r=danderson. 2008-12-19 16:20:13 -08:00
Blake Kaplan
19a2a5d7d0 Bug 468552 - Enforce 'funobj' conditions in the XPCNativeWrapper case. r+sr=jst
--HG--
extra : rebase_source : 6023cc8a797167551461fe6f8fb003d98b4f5b9b
2008-12-19 15:47:20 -08:00
Blake Kaplan
0c7cae7ac4 Bug 468581 - Use a better function to compute principals. r=brendan
--HG--
extra : rebase_source : 137705045b8b528c49405a52f91455306ecf9857
2008-12-19 15:47:20 -08:00
Brendan Eich
465c2f3288 Fix warnings pointed out by Waldo from apply patch (465214). 2008-12-19 14:15:35 -08:00
Robert Sayre
c266cc6795 Merge m-c to tracemonkey. 2008-12-19 15:50:52 -05:00
Jim Blandy
6b3cecf606 Bug 462914: Test for setlocale at configure time in js/src r=crowder 2008-12-19 10:31:43 -08:00
Jim Blandy
133b466fdc Bug 469225: Make js/src/configure take a --disable-arm-vfp option. r=vladimir
This controls whether NJ_ARM_VFP is #defined in the SpiderMonkey
build.  By default it is enabled.

Note that commenting out the hard-wired definition of NJ_ARM_VFP in
js/src/nanojit/NativeARM.h makes that line of the file match what's in
tamarin-redux, so hopefully there won't be conflicts with whatever
arrangement Adobe comes up with to control this.
2008-12-19 10:20:36 -08:00
Brendan Eich
8d1ce06619 Back out patch for bug 469625, it mysterious busts stuff. 2008-12-19 01:32:48 -08:00
Brendan Eich
bf8f01ae4b Merge, dammit! 2008-12-18 22:40:58 -08:00
Brendan Eich
94fa86c42c Bug 469625 - TM: Crash [@ js_String_getelem] (r=jorendorff). 2008-12-18 22:35:46 -08:00
Brendan Eich
1ea26cada3 Merge m-c into tm again. 2008-12-18 22:11:42 -08:00
Brendan Eich
c84d42797f Bug 470300 - "Assertion failure: StackBase(fp) + blockDepth == regs.sp" with |let| (r=gal). 2008-12-18 21:08:57 -08:00
Andreas Gal
9c4b5bba78 Trace apply/call with an imacro (465214, r=brendan). 2008-12-18 19:20:47 -08:00
Graydon Hoare
d154f4162c Bug 470176 and bug 470173 - prevent traces from writing to imported properties, r=brendan. 2008-12-18 18:25:12 -08:00
Robert Sayre
9e73b4eefc Merge m-c to tracemonkey. 2008-12-18 15:17:19 -05:00
Igor Bukanov
3886ed2912 bug 467441 - avoiding js_(Add|Remove)Root for regexp statics. r=crowder 2008-12-18 21:06:45 +01:00
Jeff Walden
5715a47f60 Bug 470133 - TM: fails to trace case with a type mismatch. r=gal 2008-12-18 10:35:09 -08:00
Igor Bukanov
221bf7e84f bug 465032 - operationCount as the first field in JSContext. r=brendan 2008-12-18 16:24:34 +01:00
Brendan Eich
3c178bbad4 Bug 469927 - TM: much slower than interpreter with short loop with |let| (r=mrbkap, a=sayrer). 2008-12-18 01:31:15 -08:00
Brendan Eich
3482e6498b Bug 469940 - Automatic semicolon insertion wrongly done after var with multi-line initializer (r=mrbkap, a=sayrer). 2008-12-18 01:11:04 -08:00
David Anderson
7a0edfd766 Fixed bogus assertion in a rare type-instability case (bug 470061, r=gal). 2008-12-18 03:15:09 -05:00
Andreas Gal
f43c6038c6 Merge. 2008-12-17 23:09:55 -08:00
Andreas Gal
33ee57bbb8 Backed out changeset 95b210c2fc92 preemptively. Seems to crash the browser. 2008-12-17 23:09:26 -08:00
Andreas Gal
e1b7d49b7d XP_MACOSX and DARWIN are not set in the shell, so use __APPLE__ (another follow-up for 465460, r=danderson). 2008-12-17 22:58:02 -08:00
Andreas Gal
227d3cd479 Merge. 2008-12-17 22:54:02 -08:00
Andreas Gal
5834ddd545 Trace apply/call using an imacro (465214, r=brendan). 2008-12-17 22:53:35 -08:00
Graydon Hoare
f742293204 Bug 465443, bail off trace when readonly properties are written, r=brendan. 2008-12-17 20:50:05 -08:00
Robert Sayre
13e12f02a3 Bug 423231. bustage fix. 2008-12-17 18:27:17 -05:00
Andreas Gal
6df06a20ce Return -0 for ceil if x < 0 and x > -1 (423231, r=jim). 2008-12-17 14:23:53 -08:00
Brendan Eich
399f40839d Bug 469927 - TM: much slower than interpreter with short loop with |let| (r=mrbkap). 2008-12-17 12:34:06 -08:00
Igor Bukanov
36cd184d5c bug 465377 - avoid useless duplication of Exception native. r=crowder 2008-12-17 20:31:24 +01:00
Benjamin Smedberg
a4361edd4f Bug 468937 - Add some basic tests for the red/green (cx->fp) analysis 2008-12-17 13:27:26 -05:00
Benjamin Smedberg
b299b17d68 Bug 469995 - js_DecompileValueGenerator uses cx->fp and should be made safe, r=crowder+jorendorff 2008-12-17 13:15:08 -05:00
Andreas Gal
a907ca29ae Follow-up fix for the follow-up fix for 465460 (r=me, again). 2008-12-16 21:19:00 -08:00
Andreas Gal
ab00b3394f Trivial follow-up fix for 465460 (r=me). 2008-12-16 21:16:03 -08:00
Brendan Eich
befbfc8d34 Windows lacks ssize_t, who knew? 2008-12-16 20:42:39 -08:00
Brendan Eich
4f97c5fdca Bug 465460 - TM: valueOf ignored on third iteration of loop (r=gal). 2008-12-16 19:03:42 -08:00
Blake Kaplan
ec5bb5b286 Bug 469761 - Protect against apply on a non-function. r=gal 2008-12-16 15:09:05 -08:00
Benjamin Smedberg
2f7877450d Bug 469191 - jsstack.js: give better locations for errors, r=dmandelin 2008-12-16 16:20:19 -05:00
David Mandelin
6156d61b84 Bug 469177 - red/green analysis (cx->fp) doesn't actually run the analysis, r=jorendorff 2008-12-16 16:15:09 -05:00
Blake Kaplan
f7edd5c9b6 Bug 469582 - Add -j to the ./js usage string if the tracer is enabled. r=brendan 2008-12-15 17:03:05 -08:00
Blake Kaplan
9f34ef4ac0 Bug 469621 - Protect the new scope object from garbage collection. r=crowder 2008-12-15 16:42:40 -08:00
Jim Blandy
0e5cc52dad Bug 461180: Add coverage tests for traceable math native functions. r=mrbkap
These cases are adapted from those in js/tests/ecma/Math.
2008-12-15 14:45:56 -08:00
Jim Blandy
099d5343de Bug 461180: Define traceable native versions of the rest of the math funcs. r=jorendorff 2008-12-15 14:45:56 -08:00
Andreas Gal
e7e36f313a Merge. 2008-12-14 19:35:29 -08:00
Brendan Eich
fa4cd0f9e9 Bug 469313 - TM: crash (GMail): JS_Assert (s=0x368d8f "!JS_ON_TRACE(cx)", file=0x3724c8 "/Users/roc/mozilla-checkin/js/src/jsobj.cpp", ln=3765) (r=gal). 2008-12-13 17:32:44 -08:00
Brendan Eich
664a2b2b39 Bug 469313 - TM: crash (GMail): JS_Assert (s=0x368d8f "!JS_ON_TRACE(cx)", file=0x3724c8 "/Users/roc/mozilla-checkin/js/src/jsobj.cpp", ln=3765) (r=gal). 2008-12-13 17:30:04 -08:00
Neil Rashbrook
b752e33adf Bug 469289 Make nanojit build with VC7.1 r=danderson 2008-12-13 23:45:38 +00:00
Blake Kaplan
46be28138a Bug 462851 - Protect against enumerating the call object's prototype. r=brendan a=sayrer 2008-12-13 14:17:24 -08:00
Jim Blandy
6643eab3f0 Bug 468041: List the object files that depend on javascript-trace.h explicitly. r=bsmedberg
It seems gratuitous to rebuild every object file when
javascript-trace.h changes.
2008-12-16 11:50:21 -08:00
Jim Blandy
8be65262c8 (no bug): Add echo-tier-dirs target, to display tiers' directories. r=bsmedberg 2008-12-16 10:46:16 -08:00
Peter Van der Beken
41eba071f7 Switch to sets module instead of using builtin set type to support Python 2.3 on mobile. Bustage fix. 2008-12-16 17:20:38 +01:00
Peter Van der Beken
c0751516bf Fix for bug 461566 (Don't call FindTearoff when not needed and cache XPCNativeInterfaces in quickstubs). r/sr=jst. 2008-12-16 16:46:18 +01:00
Peter Van der Beken
a3dff0a5c1 Fix for bug 461563 (Allow WrapNative to return a jsval without the wrapper). r/sr=jst. 2008-12-16 16:46:18 +01:00
Igor Bukanov
fb9b98d597 bug 458099 - DOMOperationCallback can get a JSContext with no global object. r=peterv sr=mrbkap 2008-12-14 22:40:10 -08:00
Brian Crowder ext:(.)
cabf4491c3 Bug 446026 - restore utility of eval(s, o). r=mrbkap 2008-12-12 23:47:23 -08:00
Wan-Teh Chang
c8645eb066 Bug 467677: fixed typo "ranslated" => "translated". 2008-12-12 21:29:45 -08:00
Phil Ringnalda
d39d4ddb29 Bug 468575 bustage, if there's no revdepth.pl, it won't export very well 2008-12-12 21:16:37 -08:00
Wan-Teh Chang
30cda7d839 Bug 467677: Removed test -n "$CROSS_COMPILE". Moved
"cross_compiling=yes" to the very end of the if block so that it
is not overridden by AC_PROG_CC and AC_PROG_CXX.  Removed the Mac
OS X ppc<->x86 code in the "else" block.  r=jim,ted.mielczarek.
2008-12-12 21:00:38 -08:00
Phil Ringnalda
3c22ccc1e8 Bug 468575 - Scrape some gunk off the config/ grout, r=ted 2008-12-12 19:45:07 -08:00
Andreas Gal
90f0b06054 Merge. 2008-12-12 17:06:55 -08:00
Andreas Gal
408d4afb78 Backed out changeset 5f64a0d18e53 2008-12-12 17:04:32 -08:00
Andreas Gal
bce78fde97 Merge. 2008-12-12 16:28:34 -08:00
Oleg Romashin
dbfdbcc988 Bug 468824 - libosso.h and hildon-uri.h should be defined in system-headers list. r=benjamin. 2008-12-13 00:22:41 -05:00
Andreas Gal
085515db7e Branch-exit and attach traces on shape mismatches (r=danderson). 2008-12-12 14:26:55 -08:00
Robert Sayre
9fd558f6a1 Backed out changeset f682453c06d0. Failing scriptaculous unit tests, doesn't build on windows or mac ppc. 2008-12-11 20:43:32 -08:00
Brendan Eich
5d4fa98a15 Bug 465460 - TM: valueOf ignored on third iteration of loop (r=gal). 2008-12-11 17:50:56 -08:00
Graydon Hoare
098216e2fd Bug 468484 - Back out further arm-wince breakage from recent merging activity. 2008-12-11 17:09:45 -08:00
Graydon Hoare
47f1ba5b75 Bug 468484 - Back out further arm-wince breakage from recent merging activity. 2008-12-11 16:11:29 -08:00
Jason Orendorff
b471c172cd Bug 462021 - TM: Make JSStackFrame reconstitution infallible (part 3 of 4, call objects, r=brendan)
--HG--
extra : rebase_source : 14a82b2b08c8b7dbae5e72623685b7c3947df603
2008-12-11 17:53:05 -06:00
Jason Orendorff
a4254d01fe Bug 462021 - TM: Make JSStackFrame reconstitution infallible (part 2 of 4, stack, r=gal)
--HG--
extra : rebase_source : f8e3e4853793d02e0771ea663cebe7e1a0d98e4e
2008-12-11 17:53:05 -06:00
Jason Orendorff
80b030acff Bug 462021 - TM: Make JSStackFrame reconstitution infallible (part 1 of 4, easy stuff, r=gal)
--HG--
extra : rebase_source : 46b26c86f02bb0db70ca357ed71f5a8a9464dc9c
2008-12-11 17:53:04 -06:00
Blake Kaplan
d0b097bb97 Bug 470129 - Skip parentheses when doing optimizations based on parse node type. r=igor 2009-01-06 15:13:57 -05:00
Jeff Walden
78a48cf661 Move trace-test-math.js to math-trace-tests.js and remove trace.js because they defy my tab-complete-fu
--HG--
rename : js/src/trace-test-math.js => js/src/math-trace-tests.js
2009-01-05 18:28:48 -08:00
Andreas Gal
8d08a5a362 Merge. 2009-01-05 16:23:07 -08:00
Andreas Gal
eb81b1c24f Backed out changeset adbe8e4b21dc due to tinderbox failures/timeouts (453157). 2009-01-05 16:22:42 -08:00
Andreas Gal
7027e5578b Merge. 2009-01-05 16:14:14 -08:00
Andreas Gal
dd33538987 Don't try to deallocate the trace recorder from inside one of its own instance methods (472049, r=brendan). 2009-01-05 16:13:53 -08:00
Andrei Saprykin
2e891c7f35 bug 453157 - watchdog thread as an alternative to operation count. r=myself,mrbkap 2009-01-05 22:09:23 +01:00
Andreas Gal
03c0ca6035 Merge. 2009-01-02 15:51:25 -08:00
Andreas Gal
cc961b2bbe Stop generating LIR when running out of memory in the regexp compiler (471924, r=danderson). 2009-01-02 15:50:56 -08:00
David Mandelin
5f391095f0 Bug 463997: JS regression test bug with 'with (window) ...', r=mrbkap 2009-01-02 13:11:46 -08:00
Robert Sayre
216cf74ecd Merge tm to m-c. 2008-12-11 15:17:58 -08:00
Blake Kaplan
587205ac18 Bug 464092 - Censor access to block objects when they're the parents of functions. r=igor a=beltzner 2008-12-11 14:16:46 -08:00
Graydon Hoare
7f9b0c662d Bug 468484 - back out most of changeset 2963765d5585 and ifdef-guard members of avmplus::Config, fix arm build.
* * *
Bug 468484 - ifdef-guard members of avmplus::Config structure that broke ARM build.
2008-12-11 13:50:55 -08:00
Benjamin Smedberg
8bded86e48 Bug 466486 - Don't use a subshell to recurse over DIRS when DIRS is empty (try #2) r=ted 2008-12-19 09:50:24 -05:00
Brendan Eich
c75738a5a9 Back out patch for bug 469625, it mysteriously busts stuff. 2008-12-19 01:38:09 -08:00
Ted Mielczarek
347925c7ad bug 468515 - configure doesn't set OS_TEST properly in 64-bit OS X builds. r=bsmedberg 2008-12-11 09:52:18 -05:00
Graydon Hoare
23836bf5df Bug 450000 - Back out nanojit jump-patching machinery, r=danderson. 2008-12-10 17:31:17 -08:00
Graydon Hoare
c926635e85 Bug 468484 - Minor adjustments to match changes in tamarin, r=gal. 2008-12-10 17:25:46 -08:00
Graydon Hoare
97032158cc Bug 468484 - Rename avmplus::AvmConfiguration, adjust sites of use, r=gal. 2008-12-10 17:19:40 -08:00
Benjamin Smedberg
22340a45d8 Merge mozilla-central into tracemonkey, specifically to pick up bug 467579. 2008-12-09 21:37:35 -05:00
Jeff Walden
3032b68a3b Bug 465255 - Rewrite TraceRecorder::cmp, take five. (Three, sir!) Three! r=gal 2008-12-08 21:11:56 -08:00
Boris Zbarsky
2c49fe3994 Bug 466935. Make JS_JIT_SPEW non-DEBUG build again. r=dmandelin,brendan 2008-12-11 13:55:04 -05:00
Benjamin Smedberg
e930891ad0 Bug 468717 - enable static analysis for js/src, r=jorendorff
--HG--
rename : xpcom/analysis/static-checking.js => config/static-checking.js
rename : xpcom/analysis/string-format.js => config/string-format.js
rename : xpcom/analysis/static-checking.js => js/src/config/static-checking.js
rename : xpcom/analysis/string-format.js => js/src/config/string-format.js
rename : xpcom/analysis/jsstack.js => js/src/jsstack.js
2008-12-11 11:40:04 -05:00
Jim Blandy
dba865e0ba Bug 463339: Have js/src use symlinks when installing in dist. r=bsmedberg
A directory's 'libs' target should create symlinks in the top-level
dist/bin and dist/lib directories to the libraries (and any other
generated files) in the build tree, so that when one has changed
sources in $src/js/src, simply running 'make' in $obj/js/src and then
re-running $obj/dist/bin/firefox will pick up the new libraries.

The js/src/Makefile.in 'install' target has many double-colon rules
with commands; we'd like to use these all in two circumstances:

. For 'make install' in a stand-alone js/src build.  Since we're
  following GNU behavior, this should copy the files it's installing.

. For 'make libs' in an in-tree js/src build.  To interact properly
  with the rest of the Mozilla build system, this should create
  symlinks as explained above.

To accomplish this, we use plain old $(INSTALL) in all the install
targets, have js/src/Makefile.in set NSDISTMODE to copy (to get the
GNU behavior), and then have config/js/Makefile.in override that (to
get the Mozilla in-tree behavior).
2008-12-08 09:35:58 -08:00
Ted Mielczarek
08e26d1a70 bug 462004 - JavaScript shell should provide line editing facilities. r=bsmedberg
--HG--
rename : js/src/js.cpp => js/src/shell/js.cpp
2008-12-03 08:55:27 -05:00
Ted Mielczarek
a5716ca3fe bug 467862 - Build system should support building both a static and a shared library from the same Makefile. r=bsmedberg 2008-12-24 14:04:43 -05:00
Jim Blandy
8d8846acd1 Bug 465640: Use autoconf to declare stdint types on platforms that don't have stdint.h r=bsmedberg
At configure time, check for <stdint.h>.  If we don't have it, find
integer types of various sizes.  On Windows, where we can't run
compilation tests in configure, hard-code definitions suggesting the
use of the built-in __intN types for the exact-size types, and
<stddef.h> for the pointer-sized types.

Use namespace-clean names for the preprocessor macros we define.
Since these types are used in the public JavaScript API, the configure
script needs to place the definitions it finds in js-config.h, the
installed configure-generated header, so it can be used by jsapi.h and
that gang.

New header js/src/jsstdint.h does what it takes to get definitions for
the exact-size and pointer-size integral types.  It includes
<stdint.h> when available, uses the types found by configure.in to
define the {,u}int{8,16,32,64,ptr}_t types itself, or uses the __intN
types and the <stddef.h> header.

Remove now-unnecessary and possibly conflicting definitions of intN_t
types from js/src/nanojit/avmplus.h.
2009-01-13 10:50:24 -08:00
Benjamin Smedberg
db17d08d97 Followup to bug 463172 (implement --disable-jit) - this block needs to be outside of the SKIP_COMPILER_CHECKS block so that it affects Windows 2009-01-13 12:54:35 -05:00
Benjamin Smedberg
af493449b2 Bug 463172 - add a --disable-jit option, r=ted 2009-01-13 11:34:51 -05:00
Benjamin Smedberg
7fc08d712d Backed out changeset 8f347bf50a53 due to x86-64 build bustage, and the fact that the committed patch didn't match the reviewed patch in an important way (bug 469558) 2009-01-13 10:19:25 -05:00
Bobby Holley
bedc314b08 Bug 469558: --enable-system-lcms build option should be removed.r=vlad,sr=ted 2009-01-12 16:20:45 -08:00
Benjamin Smedberg
87aa20632d Add a static analysis pass to verify that for any do_QueryFrame<Interface> there is an Interface::kFrameIID declared. NPODB, static-checking only.
--HG--
extra : rebase_source : 0bcfa5b446d0c19610d9d61dd7e281d3923c8736
2009-01-12 14:21:11 -05:00
Ted Mielczarek
f00a2cb279 bug 462004 - JavaScript shell should provide line editing facilities. r=bsmedberg
--HG--
rename : js/src/js.cpp => js/src/shell/js.cpp
2008-12-03 08:55:27 -05:00
Benjamin Smedberg
15baaa2c9e Bug 472461 part 2 - jsgc crashes with !JS_TRACER, r=jorendorff for immediate bustage fix, and I'll get ex-post-facto review from Igor 2009-01-08 10:44:16 -05:00
Benjamin Smedberg
61c5a56d65 Bug 472461 part 1 - jsgc.cpp fails to compile with !JS_TRACER, initial patch by Igor, r=jorendorff with nits fixed by bsmedberg 2009-01-08 10:43:33 -05:00
Michael Ventnor
06caf49741 Bug 469880. Support a libnotify-based implementation of nsIAlertsService for GTK. r+sr=roc,r=ted
--HG--
extra : rebase_source : f9a6a01ffaf868712429a42193a275eecaf9a614
2009-01-08 21:12:16 +13:00
Robert Sayre
322c1d5368 Merge tracemonkey into mozilla-central. 2009-01-07 23:48:28 -05:00
timeless@mozdev.org
424d17dfdd Bug 136292 jsdIValue doesn't handle Unicode string values at all
Bug 335098 Strings with \x00 are truncated
support non ascii strings from js engine, r+sr=jst
2009-01-07 20:42:15 -08:00
timeless@mozdev.org
90b5902b8a Bug 468045. r+sr=jst. 2008-12-07 16:15:54 -08:00
Ben Turner
a3f1dfd7b3 Bug 453865 - 'Workers: Allow JSON-able objects to be passed as messages to worker threads.' r+sr+a=jst. 2008-12-07 16:15:49 -08:00
Ben Turner
052aad2edb Bug 467162 - 'uninitialized local variable warning in xpcwrappedjsclass.cpp'. r+sr=jst, a=blocking1.9.1 2008-12-07 16:15:43 -08:00
Aiko
fd2fdaf9c0 Bug 341901 - versioninfo for js3250.dll is bad. r=bsmedberg 2008-12-07 15:34:58 +01:00
Brendan Eich
25f99f0b34 Bug 449657 - JS_SealObject fails on Array objects (r=mrbkap, a=sayrer). 2008-12-07 00:03:12 -08:00
Wan-Teh Chang
3424baa9b8 Bug 466531 - Crash/hang [@ mult][@ Balloc] when loading pages on PPC; Proposed patch for JS (trunk); r=jim 2008-12-06 16:50:49 +01:00
Justin Wood
45f90f4236 Bug 467050, add config.mk to the GLOBAL_DEPS list as well
r=ted
2008-12-05 23:04:01 -05:00
Peter Van der Beken
763ab90f7d Partially back out fix for bug 461563 to try to fix Txul regression on Windows. 2008-12-05 14:38:05 +01:00
Peter Van der Beken
88b6c463de Partially back out fix for bug 461563 to try to fix Txul regression on Windows. 2008-12-05 10:42:17 +01:00
Bob Clary
8cf71c4829 bug 466990 - fix incorrect option in js1_5/Regress/regress-322430.js. 2008-12-04 04:49:27 -08:00
Bob Clary
7880e2ec1b bug 450833 - JavaScript Test by Andreas Gal. 2008-12-04 04:49:26 -08:00
Bob Clary
a5a4e5c087 bug 455973 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:49:24 -08:00
Bob Clary
d7a5c42fc5 bug 456470 - JavaScript Test by Andreas Gal. 2008-12-04 04:49:21 -08:00
Bob Clary
4727039311 bug 460870 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:49:20 -08:00
Bob Clary
d3d8dc5cae bug 461930 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:49:18 -08:00
Bob Clary
f7b045ce07 bug 461932 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:49:15 -08:00
Bob Clary
b72257d8a4 bug 462879 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:49:14 -08:00
Bob Clary
bec4604645 bug 463334 - JavaScript Tests by Jesse Ruderman. 2008-12-04 04:49:11 -08:00
Bob Clary
f172e9022b bug 463782 - JavaScript Test by Gavin Sharp. 2008-12-04 04:49:10 -08:00
Bob Clary
325093f301 bug 462470 - JavaScript Test - modify expected results for js1_8_1/decompilation/regress-350991.js due to bug 461233. 2008-12-04 04:49:08 -08:00
Bob Clary
2c3fbcdb05 bug 464334 - JavaScript Test by Igor Bukanov. 2008-12-04 04:49:06 -08:00
Bob Clary
b0b3c97fc4 bug 464403 - JavaScript Test by Gary Kwong and Jesse Ruderman. 2008-12-04 04:49:04 -08:00
Bob Clary
bafab13e69 bug 464418 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:49:01 -08:00
Bob Clary
76ef8dc879 bug 464978 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:48:59 -08:00
Bob Clary
d1c9b1514d bug 465013 - JavaScript Test by Brendan Eich. 2008-12-04 04:48:58 -08:00
Bob Clary
30e9621027 bug 465135 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:48:56 -08:00
Bob Clary
f244f620c8 bug 465136 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:48:54 -08:00
Bob Clary
f538f425b7 bug 465137 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:48:52 -08:00
Bob Clary
8bd90fcd9b bug 465220 - JavaScript Test by Brendan Eich. 2008-12-04 04:48:50 -08:00
Bob Clary
56f56c36c1 bug 465234 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:48:48 -08:00
Bob Clary
7c3b7f473a bug 465239 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:48:45 -08:00
Bob Clary
c1453dddf8 bug 465241 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:48:44 -08:00
Bob Clary
1df1f4c54f bug 465249 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:48:42 -08:00
Bob Clary
d52b3f7bd0 bug 465262 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:48:39 -08:00
Bob Clary
9137182a50 bug 465261 - JavaScript Test by Gary Kwong. 2008-12-04 04:48:38 -08:00
Bob Clary
540778b62f bug 436741 - JavaScript Test by Jesse Ruderman. 2008-12-04 04:48:36 -08:00
Bob Clary
c048751b95 imported patch perl-permissions 2008-12-04 04:48:34 -08:00
Bob Clary
16b0fceba8 update public failures and universe.data. 2008-12-04 04:48:32 -08:00
Jeff Walden
1caadb77d0 Bug 397227 - Forgot to sync js's config/rules.mk; it would have been helpful if that were checked at build time rather than 'check' time. r=redness still 2008-12-04 00:56:31 -08:00
Jeff Walden
ea921d740c Bug 397227 - Reduce the effort needed to write C++ tests. r=ted 2008-12-03 22:25:00 -08:00
Brad Lassey
17d0e0d4f4 Bug 464052 - windows compilers don't like variables named far r=crowder 2008-12-03 08:41:12 -05:00
Brian Crowder
d30e4cb4ee Bug 462912 - THIS is defined on windows mobile r=jim 2008-12-03 08:41:12 -05:00
Benjamin Smedberg
a8d8ab55e2 Merge backout of bug 466486 2008-12-02 17:18:28 -05:00
Benjamin Smedberg
568d97df7d Backed out changeset f71446b6fc7e: bug 466486- directories are getting skipped, causing things like xpcshell not to be built 2008-12-02 17:17:41 -05:00
Benjamin Smedberg
2fb6fb9569 Bug 467579: --with-static-checking is broken in spidermonkey. There is currently no useful static checking infrastructure for spidermonkey, so disable it for the time being, r=jimb 2008-12-02 14:46:37 -05:00
Benjamin Smedberg
baa60e6034 Merge bug 466492, bug 466486, bug 463289, bug 442012, and bug 463420 2008-12-02 14:08:12 -05:00
Igor Bukanov
54538f8fa5 bug 466990 - check for valid option name in js shell. r=crowder 2008-12-02 14:03:30 +01:00