Commit Graph

4606 Commits

Author SHA1 Message Date
Bob Clary
8a0df9cf84 bug 465236 - JavaScript Test by Jesse Ruderman. 2009-01-28 08:34:08 -08:00
Bob Clary
7d0f9c14f4 bug 465377 - JavaScript Test by Igor Bukanov. 2009-01-28 08:34:07 -08:00
Bob Clary
5b78e9b9c9 bug 465476 - JavaScript Test by Jeff Walden. 2009-01-28 08:34:06 -08:00
Bob Clary
877f7270e6 bug 465484 - JavaScript Test by Jesse Ruderman. 2009-01-28 08:34:05 -08:00
Bob Clary
3e3053e918 bug 470223 - JavaScript Test by Edward Lee. 2009-01-28 08:34:04 -08:00
Bob Clary
35d56f2de3 bug 470739 - JavaScript Test by Jesse Ruderman. 2009-01-28 08:34:04 -08:00
Bob Clary
f3eada4f84 bug 471197 - JavaScript Test by Igor Bukanov. 2009-01-28 08:34:03 -08:00
Brendan Eich
3fcd3cab28 Bug 454184 - Implement eval caching (r=mrbkap). 2009-01-27 19:56:55 -08:00
Reed Loden
01509bcf5d 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
ce01acfd86 Bug 475185 - Add a crashtest. 2009-01-27 15:34:16 -08:00
Igor Bukanov
0d085b6a80 Backed out changeset e74857ea8248 - this caused unit test failures on Mac 2009-01-20 17:11:09 +01:00
Andrei Saprykin
63a490ceb1 bug 453432 - Checking for MaybeGC conditions when allocating GC things 2009-01-20 15:50:39 +01:00
Robert Sayre
cc7d610ee3 Merge mozilla-central to tracemonkey. 2009-01-18 14:45:56 -05:00
Ted Mielczarek
42c738edc4 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
4a62a31460 Bug 470353 - Limit skip() allocations in tracer, r=gal. 2009-01-16 14:43:15 -08:00
Jeff Walden
a7f81d75f6 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
0b7c1577e8 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
b4c4aae1e9 Bug 475291 - Avoid roundtripping arbitrary jsids through JSAtom *s. r=brendan 2009-01-26 16:55:43 -08:00
Peter Van der Beken
367cc8bd4d 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
3529749b50 Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst. 2009-01-26 08:44:22 +01:00
Brendan Eich
e019755a59 Argh. 2009-01-25 14:04:53 -08:00
Brendan Eich
f4ec0e5fa0 Warning policing (please check and avoid adding). 2009-01-25 13:59:59 -08:00
Peter Van der Beken
d692e5fef1 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
810702a01e 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
e3d2fe16b2 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
7522cec61c Fix DEBUG_CC build. NPOTB. 2009-01-24 18:28:33 +01:00
Bob Clary
2b70e2c6fa bug 469625 - JavaScript Tests by Jason Orendorff. 2009-01-24 04:42:27 -08:00
Bob Clary
daeea13672 bug 469940 - JavaScript Test by Brendan Eich. 2009-01-24 04:42:27 -08:00
Bob Clary
194f749884 bug 469927 - JavaScript Test by Jesse Ruderman. 2009-01-24 04:42:26 -08:00
Bob Clary
3441eee55b bug 465433 - JavaScript Test by Jesse Ruderman. 2009-01-24 04:42:26 -08:00
Bob Clary
526118fffe bug 465132 - JavaScript Test by Jesse Ruderman. 2009-01-24 04:42:26 -08:00
Bob Clary
a80c20bde8 bug 446026 - JavaScript Tests by Brian Crowder, moz_bug_r_a4. 2009-01-24 04:42:26 -08:00
Bob Clary
518ca8b50a bug 470758 - JavaScript Tests by Blake Kaplan. 2009-01-24 04:42:26 -08:00
Bob Clary
470e97830e bug 470388 - JavaScript Tests by Gary Kwong. 2009-01-24 04:42:25 -08:00
Bob Clary
71dc2340f0 bug 470300 - JavaScript Tests by Jesse Ruderman. 2009-01-24 04:42:25 -08:00
Bob Clary
c07dc34663 bug 470176 - JavaScript Test by Jesse Ruderman. 2009-01-24 04:42:25 -08:00
Bob Clary
0e4ffb1465 bug 470061 - JavaScript Test by Jesse Ruderman. 2009-01-24 04:42:25 -08:00
Bob Clary
7e1881261b bug 465460 - JavaScript tests by Jesse Ruderman. 2009-01-24 04:42:25 -08:00
Brian Crowder
1859a1f07b 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)
315b289f84 Backed out changeset e81a7ff740bd for proper checkin (test drive, sorry :() 2009-01-24 01:17:07 -08:00
Zbigniew Braniecki (zbraniecki@mozilla.com)
551cda4c65 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
82ba665418 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
a0d6f6e2e6 Backed out changeset 5d3af3ff9639. It doesn't allow UniversalXPConnect scripts to arbitrarily unwrap XPCNativeWrappers. 2009-01-16 19:36:38 -08:00
Blake Kaplan
38471d2166 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
9746bd2c6d 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
9efe7e6f90 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
bb123815cb 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
be8637a9f4 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
3d9be831e9 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
4d8777d31a Bug 243621 - (Back out) Standardize QueryInterface without throw, r=timeless, sr=sicking 2009-01-15 20:02:21 -08:00
Jeff Walden
1b3b3e48d2 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
dbedefb398 Bug 454704: Protect sharpObjectMap in the presence of wrapped getters. r=igor 2009-01-16 09:59:46 -08:00
Blake Kaplan
390a28ac59 Bug 473709 - Protect |str| across the call to js_NewRegExp. r=jwalden 2009-01-15 17:54:05 -08:00
Igor Bukanov
7997a602cd backout merge 2009-01-15 22:28:58 +01:00
Igor Bukanov
67cfa559e2 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
53891469d3 bug 473721 - fixing JS_GetOperationLimit to return the proper limit. r=mrbkap 2009-01-15 22:22:46 +01:00
Robert Sayre
d7829f7c2d Merge m-c to tm. 2009-01-15 15:06:16 -05:00
Ted Mielczarek
8b62a1f836 bug 462004 - fixup visibility of readline symbols. r=bsmedberg 2009-01-15 07:18:28 -05:00
Robert Sayre
5c5f08101f wallpaper for bug 473721 2009-01-15 03:38:09 -05:00
Blake Kaplan
894f57b435 Bug 473631 - Don't attempt to compile a null buffer. r=igor 2009-01-14 15:36:19 -08:00
Robert Sayre
e21c1a1d06 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
fa9fb77bda Bug 472440: JS tracing crash, typo in record_JSOP_CALL_GVAR, r=mrbkap 2009-01-14 11:42:35 -08:00
Jeff Walden
f4e1b714ea Oops, backed out the wrong patch last time 2009-01-14 11:35:08 -08:00
Jeff Walden
132c6462f3 Backed out changeset de45be487415, the real change I wanted to back out 2009-01-14 11:34:39 -08:00
Jeff Walden
8c72a2399b 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
01bff439bc Backed out changeset 71cd51a61b67 2009-01-14 11:28:59 -08:00
Ted Mielczarek
5c59b97c70 fix check-sync-dirs to use the magic words for error output. (no bug) 2009-01-14 12:55:43 -05:00
Igor Bukanov
c032867e33 bug 472702 - using watchdog thread in js shell to trigger operation callback 2009-01-14 18:23:51 +01:00
Jeff Walden
873ec9adae Remove a tab, kick tinderboxen to see if oranges are spurious or not 2009-01-13 23:03:42 -08:00
Jeff Walden
e975013016 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
7657ab39b7 Bug 471359 - export js/ system_wrappers to their own directory. r=jim 2009-01-13 19:56:41 +01:00
Benjamin Smedberg
49bde88ff3 Merge backout of bug 269538 2009-01-21 17:34:51 -05:00
Benjamin Smedberg
09ffef3261 Backed out changeset 525e42406396, bug 269538 (jscpucfg-ectomy) due to Windows TUnit bustage. 2009-01-21 17:34:28 -05:00
Blake Kaplan
dade53b4d3 Bug 472674 - Allow XPCNativeWrapper to unwrap SJOWs again. r+sr=jst 2009-01-16 18:05:14 -08:00
Benjamin Smedberg
db11be65b9 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
89096c497d Bug 471877 - Cleanup GTK includes; further cleanup + system-headers cleanup; r+sr=roc 2009-01-21 16:24:46 +01:00
Masatoshi Kimura
d67cc57992 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
0db9f1a489 Bug 472622 prmjtime.cpp failed to compile on SunOS 5.* r=jim,crowder 2009-01-21 18:24:03 +08:00
Bobby Holley
ccbee91b18 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
361067676a Merge backout of bug 470971 2009-01-20 19:00:24 -05:00
Benjamin Smedberg
4e93b0aaec Backed out changeset 700bca4b693f due to reftest failure (bug 470971) 2009-01-20 18:59:20 -05:00
Benjamin Smedberg
ca209777c0 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
0218b0f59a Bug 470971 - Add ability to pass the GRE dir to xpcshell, r=ted 2009-01-20 14:56:44 -05:00
Bob Clary
71ec9b3675 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
9363681637 update public failures. 2009-01-20 02:16:22 -08:00
Bob Clary
7357071d87 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
d61ea463a8 bug 413735 - consistent readline usage 2009-01-13 16:35:47 +01:00
Jeff Walden
367ca9d882 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
99c4876ef2 Extend tree on shape mismatch (473277, r=danderson). 2009-01-12 19:49:03 -08:00
Andreas Gal
46c4fe89b3 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
4737199830 Merge. 2009-01-12 19:40:09 -08:00
Andreas Gal
4fb7be0fff Backed out changeset 8775c279e59c 2009-01-12 19:39:55 -08:00
Andreas Gal
e580261ef3 Merge. 2009-01-12 17:16:41 -08:00
Andreas Gal
162f124fd9 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
d1f00e6d29 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
c0e7964c90 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
775c6927fb Fix the vim modeline.
--HG--
extra : rebase_source : 9a9ca3f9eb0d33fa6c43bf798612de7dbe9ae076
2009-01-12 15:07:31 -08:00
Jeff Walden
ec7f94e0da 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
2d53648dcd 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
1a01754d87 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
066fbd5342 bug 352026 - update test to uniquely identify subtest results. 2009-01-14 07:16:18 -08:00
Bob Clary
6301640e63 sync developer trace tests with js test suite. 2009-01-14 07:16:18 -08:00
Bob Clary
55f14df918 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
bde7d1c447 bug 458679 - JavaScript Tests by Igor Bukanov, Jesse Ruderman and Gary Kwong. 2009-01-14 07:16:17 -08:00
Bob Clary
9a9b513c43 bug 469855 - allow test parameter to be placed anywhere in query string. 2009-01-14 07:16:16 -08:00
Bob Clary
bb2d26b220 bug 469696 - obsolete test for 1.9.1 branch. 2009-01-14 07:16:16 -08:00
Bob Clary
a4d43254a1 bug 454142 - JavaScript Test by Gary Kwong. 2009-01-14 07:16:16 -08:00
Bob Clary
10ad598913 bug 462470 - update spidermonkey-n-1.9.1.tests to include missed test. 2009-01-14 07:16:16 -08:00
Bob Clary
7ae741f464 bug 465366 - JavaScript Test by Boris Zbarsky, Andreas Gal. 2009-01-14 07:16:16 -08:00
Bob Clary
a7e1c01b20 bug 417131 - JavaScript Test by Igor Bukanov. 2009-01-14 07:16:16 -08:00
Bob Clary
957bc55ad0 bug 428366 - JavaScript Test by Blake Kaplan. 2009-01-14 07:16:15 -08:00
Bob Clary
7d88ef9c05 bug 371802 - JavaScript Test by Brendan Eich. 2009-01-14 07:16:15 -08:00
Bob Clary
453bd60fb9 bug 443071 - JavaScript Test by Jesse Ruderman. 2009-01-14 07:16:15 -08:00
Bob Clary
58f8fb589b bug 465133 - JavaScript Test by Jesse Ruderman. 2009-01-14 07:16:15 -08:00
Ted Mielczarek
405f3caf99 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
e557d2b23c 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
425a26e188 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
2ddd004009 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
4326214d10 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
f9db07aa38 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
5a2f84bb76 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
9157343457 Fix for bug 464676 (Cycle collector sometimes unlinks live cycles). r=bent, sr=jst. 2009-01-23 15:47:24 +01:00
Brendan Eich
db675f458e 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
ea9689bd2a Bug 474757 Several build failures on Solaris build for js/src r=danderson 2009-01-23 16:09:27 +08:00
Ginn Chen
9473943bf6 Bug 474757 Several build failures on Solaris build for js/src r=danderson 2009-01-23 15:57:54 +08:00
Blake Kaplan
52a4e552ea Bug 472794 - Deal with XPCNativeWrapper.prototype properly. r+sr=jst 2009-01-15 16:34:55 -08:00
Blake Kaplan
57f49c4364 Bug 473437 - DumpJSStack() can set a pending exception in cx. r+sr=jst 2009-01-15 16:34:54 -08:00
Jeff Walden
314cf39c41 Bug 472592 - unbox_jsval is infallible, make the signature reflect that. r=gal 2009-01-11 13:57:42 -08:00
Jeff Walden
179a1749fb Despite the previous log message, the previous push was r=brendan 2009-01-10 15:25:03 -08:00
Jeff Walden
949fc3d056 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
a403a02f00 Bug 472787 - Eagerly set the return value. r=brendan 2009-01-09 18:32:04 -08:00
Andreas Gal
73fd6451b9 Track timeout side exits separately in jitstats (472761, r=jwalden). 2009-01-09 16:38:57 -08:00
Andreas Gal
4a9dbdaf12 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
436a268bae Fix trace-test bustage due to my last checkin. 2009-01-09 17:12:20 -06:00
Robert Sayre
8e5f7ba091 Merge m-c to tracemonkey. 2009-01-09 01:23:32 -05:00
Robert Sayre
8549b885a1 Bug 466781 - TM: inconsistent (0 in d) where d is a String. r=brendan 2009-01-09 00:59:24 -05:00
Jeff Walden
75243b3b86 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
cf74ec9191 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
e0464655cd Bug 472594 - Make analysis-tests work in out-of-tree objdir, r=jorendorff. 2009-01-08 10:40:36 -08:00
Igor Bukanov
85bdf95da4 bug 419086 - replacing the branch callback with the operation callback. r=brendan 2009-01-08 00:44:52 +01:00
Graydon Hoare
8424af9530 Bug 472553 - Annotations required by jsstack.js analysis, r=jorendorff. 2009-01-07 14:14:51 -08:00
Igor Bukanov
3d5269621d 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
33ba59a269 Backed out changeset 763b96e81579 - I committed the wrong patch 2009-01-07 18:44:50 +01:00
Igor Bukanov
01c091bb60 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
9aa7891d67 Merge m-c to tracemonkey. 2009-01-07 11:42:59 -05:00
Graydon Hoare
6383e1d5d2 Bug 470388 - Tighten assertion for JSFRAME_POP_BLOCKS on trace-entry frame, r=brendan. 2009-01-06 18:20:33 -08:00
Jesse Ruderman
22cd32241d Add five crashtests 2009-01-06 16:47:56 -08:00
Jason Orendorff
7f92f10b08 Bug 468641 - TM: Add bytecode disassembly to JS_JIT_SPEW output (r=crowder) 2009-01-06 16:51:32 -06:00
Jason Orendorff
be00149c86 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
c878e5becb Bustage fix from bug 458020 2009-01-06 14:34:16 -05:00
Blake Kaplan
63803e5282 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
872a17cbfa 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
d269689358 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
ede6a5c2f9 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
36fd05589c Bug 471513 - invalid C++ in jsopcode.cpp, r=brendan 2009-01-06 09:18:36 -08:00
Brian Crowder
5bd03bd9a9 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
ca4eed1e1d Bug 433073 - jsregexp.cpp should use dependent strings, r=igor 2009-01-06 09:18:35 -08:00
timeless@mozdev.org
cdcfd4b062 Bug 427164 - jsdIScript.isLineExecutable should return NS_ERROR_OUT_OF_MEMORY for oom, r=caillon 2009-01-04 10:59:17 -08:00
timeless
f254a8e531 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
34560c2aa8 Merge m-c to tracemonkey. 2009-01-02 12:37:55 -08:00
Andreas Gal
a59109830e 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
a046abd718 Merge. 2009-01-01 17:57:11 -08:00
Andreas Gal
8b28ae8610 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
ed2bf0b595 Mergre mozilla-central to tracemonkey. 2009-01-01 14:25:18 -08:00
Jesse Ruderman
cf4b91bb09 Add 19 crashtests 2009-01-01 14:18:58 -08:00
Phil Ringnalda
b6f4c63c3c 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
90baccb99f Bug 471602 part 1: make regexp compiler use one shared LIR buffer, r=gal 2008-12-31 16:41:33 -08:00
Brendan Eich
67cd92d2ce 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
5ca9583177 Merge. 2008-12-31 11:46:10 -08:00
David Mandelin
77dfbdd679 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
9f2cfc5446 Fix for bug 466224 (Make quickstubs call nsINode/nsINodeList methods). r/sr=jst. 2008-12-31 14:55:20 +01:00
Robert Sayre
98792ddd09 Merge. 2008-12-31 01:53:26 -05:00
Andreas Gal
e47badd3c9 Merge. 2008-12-30 17:04:04 -08:00
Andreas Gal
21b0d26f45 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
78fa6325a2 Fix for bug 466224 (Make quickstubs call nsINode/nsINodeList methods). r/sr=jst. 2009-01-02 18:00:18 +01:00
Bo Yang
86206e20f5 Bug 453094 - Some strong type conversion make GCC not complain; r=jorendorff sr=peterv 2009-01-02 07:21:26 +01:00
Brendan Eich
bf1a6adcb8 Bug 470374 - Decompiler fixes from bug 469625 (r=jorendorff). 2008-12-29 23:22:23 -08:00
Andreas Gal
1abb0dc188 Merge. 2008-12-29 15:30:54 -08:00
Andreas Gal
8cebbe8e58 Backed out changeset 4acb47a25eb5 2008-12-29 15:30:25 -08:00
Andreas Gal
8d9dc45719 Merge. 2008-12-29 14:27:15 -08:00
Andreas Gal
c05bef5b82 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
6f05e9de07 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
b2f4132cb7 bug 471197 - during GC call js_GetTopStackFrame only for contexts with frames. r=brendan 2008-12-27 00:05:15 +01:00
Jeff Walden
af717d86d5 Bug 470739 - Trace more == cases. r=gal 2008-12-26 14:48:33 -05:00
Robert Sayre
c36cc631e9 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
72063471f8 bug 471044 - fixing upgvar detection for for-in loop. r=mrbkap 2008-12-25 01:23:38 +01:00
Blake Kaplan
22b6fad69e 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
7663cc21c2 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
2d35d8d90f 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
6b1e0c2bec 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
46e630cc96 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
b597404d2c 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
81c3a2b632 Backed out changeset 2d5e6b1c7254 - busted the WINNT 5.1 talos tracemonkey. 2008-12-23 19:24:09 +01:00
Andrei Saprykin
11dac3f234 bug 453157 - watchdog thread as an alternative to operation count. r=igor,mrbkap 2008-12-23 16:12:11 +01:00
Jesse Ruderman
dba23c0ab9 Fix bustage 2008-12-22 16:07:49 -08:00
Jeff Walden
5d25aca194 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
1107758ffc 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
d22127996a 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
6f98baeeca Bug 470000 - JS_GET_SCRIPT_ATOM needs to use cx->fp safely, r=brendan 2008-12-22 11:07:40 -05:00
Jeff Walden
5d05cfd543 Bug 470409 - TM: Crash [@ js_EqualStrings]. r=brendan 2008-12-21 21:26:08 -08:00
Jeff Walden
6f0de3c4e0 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
136838d60b Backed out changeset 7184e014cd05 - the patch for bug 453157 bursted tgfx test on Windows. 2008-12-21 21:49:06 +01:00
Andrei Saprykin
c68c632137 bug 453157 - watchdog thread as an alternative to operation count 2008-12-21 17:16:09 +01:00
Igor Bukanov
5d5cb0738c bug 469233 - using interrupt hook support in the interpreter for trace recording. r=brendan 2008-12-21 12:55:09 +01:00
Igor Bukanov
8062218e55 Backed out changeset 605fd1985d05 - more merge typos. 2008-12-21 12:50:36 +01:00
Igor Bukanov
1be7edd38e bug 469233 - using interrupt hook support in the interpreter for trace recording. r=brendan 2008-12-21 12:31:38 +01:00
Igor Bukanov
635ca1d23a Backed out changeset f13e2a2a5d66 - I was not careful when merging the unary op changes 2008-12-21 12:23:08 +01:00
Michael Ventnor
f3922bdde6 Bug 470165 - Cleanup the GTK nsFilePicker code; r+sr=roc 2008-12-21 02:33:04 +01:00
Igor Bukanov
3388b615ce bug 469233 - using interrupt hook support in the interpreter for trace recording. r=brendan 2008-12-21 00:16:41 +01:00
Jeff Walden
4710efd8a4 Bug 469942 - TM: 20% slower to compute unary +/-. r=brendan 2008-12-19 19:30:09 -08:00
Jeff Walden
aa66ca5eb0 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
e41c278e04 bug 467271 - JS not being PGOed on win32. r=bsmedberg 2009-01-08 13:52:38 -05:00
Ted Mielczarek
d8bff4cf58 bug 471188 - stop calling 'make install' for spidermonkey. r=bsmedberg,jimb 2009-01-08 13:51:27 -05:00
Graydon Hoare
67237b98c7 Bug 469012 - crashing LirBufWriter::insLinkToFar, r=danderson. 2008-12-19 16:20:51 -08:00
Graydon Hoare
77e4ed2e26 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
d34f6dd726 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
bab2bf9e49 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
7826ab3e9f Fix warnings pointed out by Waldo from apply patch (465214). 2008-12-19 14:15:35 -08:00
Robert Sayre
ee109c9def Merge m-c to tracemonkey. 2008-12-19 15:50:52 -05:00
Jim Blandy
41e717de51 Bug 462914: Test for setlocale at configure time in js/src r=crowder 2008-12-19 10:31:43 -08:00
Jim Blandy
b3a9d80456 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
608700e168 Back out patch for bug 469625, it mysterious busts stuff. 2008-12-19 01:32:48 -08:00
Brendan Eich
16350be804 Merge, dammit! 2008-12-18 22:40:58 -08:00
Brendan Eich
b9cf426072 Bug 469625 - TM: Crash [@ js_String_getelem] (r=jorendorff). 2008-12-18 22:35:46 -08:00
Brendan Eich
90fd9c4313 Merge m-c into tm again. 2008-12-18 22:11:42 -08:00
Brendan Eich
9af4f618a7 Bug 470300 - "Assertion failure: StackBase(fp) + blockDepth == regs.sp" with |let| (r=gal). 2008-12-18 21:08:57 -08:00
Andreas Gal
bbf40348b6 Trace apply/call with an imacro (465214, r=brendan). 2008-12-18 19:20:47 -08:00
Graydon Hoare
d248d11954 Bug 470176 and bug 470173 - prevent traces from writing to imported properties, r=brendan. 2008-12-18 18:25:12 -08:00
Robert Sayre
c918482535 Merge m-c to tracemonkey. 2008-12-18 15:17:19 -05:00
Igor Bukanov
5f6b121715 bug 467441 - avoiding js_(Add|Remove)Root for regexp statics. r=crowder 2008-12-18 21:06:45 +01:00
Jeff Walden
201e000573 Bug 470133 - TM: fails to trace case with a type mismatch. r=gal 2008-12-18 10:35:09 -08:00
Igor Bukanov
1a1341cdb4 bug 465032 - operationCount as the first field in JSContext. r=brendan 2008-12-18 16:24:34 +01:00
Brendan Eich
3abd77d8ea 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
8476ea6560 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
dbab136074 Fixed bogus assertion in a rare type-instability case (bug 470061, r=gal). 2008-12-18 03:15:09 -05:00
Andreas Gal
589fb9eb38 Merge. 2008-12-17 23:09:55 -08:00
Andreas Gal
3af573343f Backed out changeset 95b210c2fc92 preemptively. Seems to crash the browser. 2008-12-17 23:09:26 -08:00
Andreas Gal
65b4bad89c 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
2dffadf0fb Merge. 2008-12-17 22:54:02 -08:00
Andreas Gal
62f0547add Trace apply/call using an imacro (465214, r=brendan). 2008-12-17 22:53:35 -08:00
Graydon Hoare
3477355ddd Bug 465443, bail off trace when readonly properties are written, r=brendan. 2008-12-17 20:50:05 -08:00
Robert Sayre
7b0ca330e8 Bug 423231. bustage fix. 2008-12-17 18:27:17 -05:00
Andreas Gal
4074f82a15 Return -0 for ceil if x < 0 and x > -1 (423231, r=jim). 2008-12-17 14:23:53 -08:00
Brendan Eich
bbd3fdab2a Bug 469927 - TM: much slower than interpreter with short loop with |let| (r=mrbkap). 2008-12-17 12:34:06 -08:00
Igor Bukanov
c67f58e20d bug 465377 - avoid useless duplication of Exception native. r=crowder 2008-12-17 20:31:24 +01:00
Benjamin Smedberg
a417fbee4c Bug 468937 - Add some basic tests for the red/green (cx->fp) analysis 2008-12-17 13:27:26 -05:00
Benjamin Smedberg
252eab1177 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
954913ca57 Follow-up fix for the follow-up fix for 465460 (r=me, again). 2008-12-16 21:19:00 -08:00
Andreas Gal
74a6ad1f62 Trivial follow-up fix for 465460 (r=me). 2008-12-16 21:16:03 -08:00
Brendan Eich
6bfce6b6b0 Windows lacks ssize_t, who knew? 2008-12-16 20:42:39 -08:00