Commit Graph

3721 Commits

Author SHA1 Message Date
Andreas Gal
4f323318a5 Merge. 2009-01-23 15:16:03 -08:00
Andreas Gal
1b154f72a6 Merge. 2009-01-23 15:15:34 -08:00
Andreas Gal
920ecc2113 Backed out changeset 17663da1b840 (bug 462027). 2009-01-23 15:14:46 -08:00
Andreas Gal
347e44c31a Backed out changeset 9fe03078c765 (bug 475048). 2009-01-23 15:13:57 -08:00
Brendan Eich
94412bc214 Bug 470187 - TM: "Assertion failure: entry->kpc == (jsbytecode*) atoms[index]" with valueOf, regexp (r=jorendorff). 2009-01-23 14:33:42 -08:00
Brendan Eich
4ade60e63d Bug 473282 - TM: Crash [@ JS_CallTracer] (r=jwalden). 2009-01-23 14:31:07 -08:00
Graydon Hoare
0b98b2e8cb Bug 472180 - Move fragment hit and blacklist counts to hashtable in oracle, r=gal. 2009-01-23 14:24:50 -08:00
David Anderson
ee93602364 Bug 473880 - TM: Add a way to keep stack values alive without emitting guard code. r=gal. 2009-01-23 15:21:55 -06:00
Andreas Gal
c7f9743a3d Only emit alias check in for *PROP if the object's shape matches the global object's shape (475048, r=brendan). 2009-01-23 10:41:44 -08:00
David Anderson
dc86ddce2f Fixed correctness and leak regression from bug 469044 landing (bug 474769, r=gal). 2009-01-22 22:40:59 -05:00
Andreas Gal
b566ed290a Merge. 2009-01-22 17:59:16 -08:00
Andreas Gal
d940283d33 Fix incorrect reliance on the identity of the global object on trace (474888, r=brendan). 2009-01-22 17:58:18 -08:00
Robert Sayre
7dc95917f4 Merge mozilla-central to tracemonkey. 2009-01-22 19:14:02 -05:00
Jason Orendorff
9ff9140ae0 Bug 468782 - TM: js_FastValueToIterator and js_FastCallIteratorNext can reenter. r=brendan. Note that this changeset alone does not fix the bug; an upcoming patch in bug 462027 completes the fix.
--HG--
extra : rebase_source : 585d590aace159914629a786489b0883d23cf2a8
2009-01-22 16:39:26 -06:00
Andreas Gal
631ccfe72b Merge. 2009-01-23 10:42:18 -08:00
Igor Bukanov
9394fa361f Backed out changeset 6657640cbbb2 - the patch from the bug 474801 caused leak and crash test failures 2009-01-23 15:40:57 +01:00
Andrei Saprykin
02565c4f0d bug 474801 - Checking for MaybeGC conditions when allocating GC things in JS shell 2009-01-23 13:27:19 +01:00
Vladimir Vukicevic
7679b7a4be [arm] fix up ARM floating point comparisons; fixes ARM trace-test 2009-01-23 00:53:15 -08:00
Brendan Eich
629c3385c4 Bug 453955 - "Assertion failure: sprop->setter != js_watch_set || pobj != obj, at jsdbgapi.c" (r=mrbkap). 2009-01-23 00:50:35 -08:00
Benjamin Smedberg
6be1c639ca + has a higher precendence than <<, so this needs to be parenthesized more... followup to bug 269538 2009-01-22 15:40:41 -05:00
Andreas Gal
6e5593d5b7 Make sure vpnum is not used incorrectly in the future (follow-up for 469044, r=shaver). 2009-01-22 12:02:17 -08:00
Benjamin Smedberg
9b1b7b99df Followup to bug 269538 - Use explicit casts instead of L/LL/int64, r=crowder 2009-01-22 14:52:28 -05:00
Andreas Gal
039fe38bed Test-case for bug 465915 (r=me). 2009-01-22 01:43:28 -08:00
David Anderson
b3ff178462 Specialize trees to global types, so global type instability does not flush the cache (bug 469044, r=gal,brendan). 2009-01-22 01:45:19 -05:00
Graydon Hoare
a2f947e2a1 Bug 470310 - Interpreter errors or pending exceptions should abort trace, r=brendan. 2009-01-21 12:14:47 -08:00
David Mandelin
88e1a66b75 Bug 465784: Trace cache OOM crash due to misplaced OOM check 2009-01-21 11:36:52 -08:00
Igor Bukanov
348de1aa60 Backed out changeset a0e1d4a2404f - the patch for the bug 474586 causes timeouts in crash tests on Mac and Windows. 2009-01-21 20:22:42 +01:00
Andrei Saprykin
375373bb9b bug 453432 - Checking for MaybeGC conditions when allocating GC things 2009-01-21 16:47:17 +01:00
Blake Kaplan
5f7e26cdd5 Bug 474236 - Only throw errors when we have to. r=brendan 2009-01-20 16:31:10 -08:00
Jeff Walden
25c8ed99e7 Fix typo noted by bclary in bug 471214 2009-01-20 15:20:21 -08:00
Blake Kaplan
9735f35124 Bug 474236 - Propagate EOF flags harder. r=brendan 2009-01-20 14:41:43 -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
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
Serge Gautherie
beb21941b4 Bug 446300 - move tools/test-harness/xpcshell-simple to testing/xpcshell; (Av1a-MC) Move the source harness directory; r=ted.mielczarek
--HG--
rename : tools/test-harness/xpcshell-simple/Makefile.in => testing/xpcshell/Makefile.in
rename : tools/test-harness/xpcshell-simple/README => testing/xpcshell/README
rename : tools/test-harness/xpcshell-simple/example/Makefile.in => testing/xpcshell/example/Makefile.in
rename : tools/test-harness/xpcshell-simple/example/unit/test_sample.js => testing/xpcshell/example/unit/test_sample.js
rename : tools/test-harness/xpcshell-simple/execute_test.js => testing/xpcshell/execute_test.js
rename : tools/test-harness/xpcshell-simple/head.js => testing/xpcshell/head.js
rename : tools/test-harness/xpcshell-simple/tail.js => testing/xpcshell/tail.js
rename : tools/test-harness/xpcshell-simple/test_all.sh => testing/xpcshell/test_all.sh
rename : tools/test-harness/xpcshell-simple/test_one.sh => testing/xpcshell/test_one.sh
2009-01-22 19:39:02 +01:00
Arpad Borsos
4af1852ab6 Bug 472332 - Remove unused files from build/autoconf; +aclocal cleanup; r+sr=ted.mielczarek 2009-01-22 19:01:24 +01:00
Brad Lassey
36b666091c bug 470914 - fixing build bustage in xpcshell, GetCurrentDirectoryW doesn't exist on windows ce, punt on that platform r+sr=mrbkap 2009-01-22 10:17:22 -05:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08: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
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