Commit Graph

13840 Commits

Author SHA1 Message Date
Andreas Gal
c5320e85c5 Fixed correctness and leak regression from bug 469044 landing (bug 474769, r=gal, relanding). 2009-01-25 09:05:21 -08:00
Andreas Gal
d561d9ccb0 Fix incorrect reliance on the identity of the global object on trace (474888, r=brendan, relanding). 2009-01-25 09:04:03 -08:00
Andreas Gal
06351211cb Backout all patches since last mozilla-central merge (Thu Jan 22 19:14:02 2009 -500 by sayrer). 2009-01-25 02:58:22 -08:00
Andreas Gal
c76e5a40db Backed out changeset 716fe0739e2b which fixes a spelling bug to force a tinderbox build. 2009-01-24 12:10:05 -08:00
Andreas Gal
8bb1c352be I heard fixing spelling mistakes makes the tinderboxes happy (106386, r=me). 2009-01-23 22:28:34 -08:00
Andreas Gal
12a9be7d76 Compilation fix for bug 474771 (r=me). 2009-01-23 20:33:14 -08:00
Andreas Gal
f81d683a1b Merge. 2009-01-23 20:22:41 -08:00
Andreas Gal
d82aa76f32 Only set onTrace flag while running native code, not when recording (474771, r=brendan). 2009-01-23 20:22:23 -08:00
David Anderson
914ac25902 Fixed multitrees assert regression from bug 469044 (bug 474935, r=gal). 2009-01-23 22:24:58 -05:00
Andrew Paprocki
e3a8df33a1 Bug 471716 - jsobj.cpp DEBUG / js_DumpObject crash on JSFunction with null proto. r=jorendorff 2009-01-23 17:20:14 -08:00
Andreas Gal
c05df55b53 Merge. 2009-01-23 16:57:04 -08:00
Andreas Gal
65be154db5 Backed out changeset 05cbbc9f1ae2, which backed out bug 24106 (so this is re-landing 24106). 2009-01-23 16:56:38 -08:00
Andreas Gal
54acdd4b8f Merge. 2009-01-23 15:16:03 -08:00
Andreas Gal
8d49ba14e8 Merge. 2009-01-23 15:15:34 -08:00
Andreas Gal
c24de82549 Backed out changeset 17663da1b840 (bug 462027). 2009-01-23 15:14:46 -08:00
Andreas Gal
64d85d2bd9 Backed out changeset 9fe03078c765 (bug 475048). 2009-01-23 15:13:57 -08:00
Brendan Eich
80a3c0d024 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
c955adeaa6 Bug 473282 - TM: Crash [@ JS_CallTracer] (r=jwalden). 2009-01-23 14:31:07 -08:00
Graydon Hoare
79dc980170 Bug 472180 - Move fragment hit and blacklist counts to hashtable in oracle, r=gal. 2009-01-23 14:24:50 -08:00
David Anderson
cf161d17fb 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
bc70d44c75 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
44eaa63dff Fixed correctness and leak regression from bug 469044 landing (bug 474769, r=gal). 2009-01-22 22:40:59 -05:00
Andreas Gal
2a06d29da1 Merge. 2009-01-22 17:59:16 -08:00
Andreas Gal
6455449366 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
8c3af81b48 Merge mozilla-central to tracemonkey. 2009-01-22 19:14:02 -05:00
Jason Orendorff
632d49d620 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
5ff990e8a8 Merge. 2009-01-23 10:42:18 -08:00
Igor Bukanov
d82f427959 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
0d5ff88ef3 bug 474801 - Checking for MaybeGC conditions when allocating GC things in JS shell 2009-01-23 13:27:19 +01:00
Vladimir Vukicevic
623b0edce3 [arm] fix up ARM floating point comparisons; fixes ARM trace-test 2009-01-23 00:53:15 -08:00
Brendan Eich
1ad0194395 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
dc3da95557 + 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
ed730bd906 Make sure vpnum is not used incorrectly in the future (follow-up for 469044, r=shaver). 2009-01-22 12:02:17 -08:00
Bob Clary
1f716b15a6 merge 2009-01-22 11:58:15 -08:00
Benjamin Smedberg
bd75f4cc9f Followup to bug 269538 - Use explicit casts instead of L/LL/int64, r=crowder 2009-01-22 14:52:28 -05:00
Bob Clary
4fe109573d bug 474832 - update public failures. 2009-01-22 11:51:26 -08:00
Bob Clary
ed3e224089 tests for bug 471540, bug 466781 from sync of js/src/trace-test.js and js/tests/js1_8_1/trace/trace-test.js. 2009-01-22 11:49:44 -08:00
Serge Gautherie
9d1dd38b45 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
db101ef41d Bug 472332 - Remove unused files from build/autoconf; +aclocal cleanup; r+sr=ted.mielczarek 2009-01-22 19:01:24 +01:00
Brad Lassey
47d464c3ce 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
Andreas Gal
b2d95fb6fe Test-case for bug 465915 (r=me). 2009-01-22 01:43:28 -08:00
Daniel Holbert
4301671b45 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
David Anderson
1d02381a9e 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
928a144549 Bug 470310 - Interpreter errors or pending exceptions should abort trace, r=brendan. 2009-01-21 12:14:47 -08:00
David Mandelin
cfdae81a6c Bug 465784: Trace cache OOM crash due to misplaced OOM check 2009-01-21 11:36:52 -08:00
Igor Bukanov
6736b71ed3 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
74aaef5de9 bug 453432 - Checking for MaybeGC conditions when allocating GC things 2009-01-21 16:47:17 +01:00
Blake Kaplan
337193a287 Bug 474236 - Only throw errors when we have to. r=brendan 2009-01-20 16:31:10 -08:00
Jeff Walden
316567571d Fix typo noted by bclary in bug 471214 2009-01-20 15:20:21 -08:00
Blake Kaplan
51b802e104 Bug 474236 - Propagate EOF flags harder. r=brendan 2009-01-20 14:41:43 -08:00
Benjamin Smedberg
62819d719b Bug 470971 - Add ability to pass the GRE dir to xpcshell, r=ted - fixed patch: XRE_GetBinaryPath gets the file of the executable: we want to pass the parent directory to XPCOM. 2009-01-20 14:56:44 -05:00
Brendan Eich
de4b1fdca9 Give up on automation due to intermittent redness (r=jst). 2009-02-02 18:52:12 -08:00
Brendan Eich
6d08426281 Try hardest of all (last time) to fix redness (r=nthomas). 2009-02-02 16:49:43 -08:00
Brendan Eich
ace10526e3 Try hardest to fix redness (r=me). 2009-02-02 15:15:19 -08:00
Brendan Eich
347f9837bf Try harder to fix redness (r=bsmedberg). 2009-02-02 14:33:03 -08:00
Brendan Eich
54a193d564 Try to fix redness (r=ted). 2009-02-02 14:17:59 -08:00
Brendan Eich
690dac3d8f Bug 476181 - imacros.c.out out of date; also Makefile.in bustage/cleanup (r=ted/jorendorff). 2009-02-02 13:56:34 -08:00
Jason Orendorff
74aa96d51e Bug 476466 - jsstack.js static analysis error in js_GC. r=bsmedberg. 2009-02-02 11:30:53 -06:00
Ted Mielczarek
6320b57fea bug 470914 followup - don't normalize symlinks in xpcshell's __LOCATION__. r+sr=mrbkap 2009-02-02 08:53:23 -05:00
Wesley W. Garland
6314f92b5b Bug 475393 Standalone Spidermonkey should build on Solaris with GCC r=jim 2009-02-02 18:54:48 +08:00
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