Commit Graph

354 Commits

Author SHA1 Message Date
Chris Leary
074bd0c596 Bug 595691, take 2: fix versioning across VM instances, remove _options. (r=luke,brendan,igor) 2011-01-27 02:54:58 -08:00
Chris Leary
1771b7c232 Backed out changeset b88172246b66 due to Win32 debug failures. 2011-01-25 04:11:47 -08:00
Chris Leary
b462e1fb98 Bug 595691: fix versioning across VM instances, remove _options. (r=luke,brendan,igor) 2011-01-25 02:33:27 -08:00
Steve Fink
937c639424 Backed out changeset 47678330818a 2011-01-24 15:11:34 -08:00
Steve Fink
431720e0ac Bug 626743 - Set debug mode for whole runtime, avoiding compartment-less contexts, r=dmandelin
--HG--
extra : rebase_source : 198e9c85fd8126ef0ec24eb390641ece2f2cd61e
2011-01-19 15:33:34 -08:00
Jeff Walden
40e165aec3 Bug 577325 - Implement function definition per ES5 plus errata (still with support for our extensions, of course). r=igor
--HG--
extra : rebase_source : d058ad2eefc16d4c7b35e74fd6b10e18bedc0ab0
2010-11-01 17:04:19 -07:00
Cameron Kaiser
f00ce6228a Bug 623277 - Failed to build with --disable-methodjit r=dmandelin, a=NPOTB 2011-01-08 22:42:00 -08:00
Andreas Gal
6278051362 Make Shark work with 64-bit MacOSX builds and rename to start/stopProfiling() (bug 625962, r=sayrer). 2011-01-14 17:58:40 -08:00
Jason Orendorff
6acc6ad7bd Bug 615859 - Deserialize with null argument crashes/asserts (shell-only). r=Waldo. 2011-01-10 17:46:20 -06:00
David Mandelin
8c3cb2bd6d Bug 619004: fix JS shell split object mark function, r=jorendorff 2011-01-10 12:14:34 -08:00
David Anderson
9e176a411b Abort recording on some more global operations (bug 597940, r=luke). 2011-01-05 19:53:08 -08:00
Mike Shaver
bb3528195e Bug 623915: about:memory reporter for string char data, r=lw 2011-01-07 03:03:34 -08:00
Chris Leary
e2855fd450 Merge tracemonkey and mozilla-central. 2011-01-07 00:17:35 -08:00
Ben Turner
c926abf576 Bug 618484 - 'Allow ChromeWorkers access to XPCOM objects'. r=jst+jorendorff, a=blocking. 2011-01-06 22:21:30 -08:00
Mike Shaver
2efe7ec019 Bug 623281: about:memory reporting for method JIT space usage, r=dvander
--HG--
extra : rebase_source : 39276fb0279b528f5e17122a980e243ff92fde27
2011-01-04 22:48:46 -08:00
David Anderson
7d65052ce5 Backed out changeset 48a2416b7f41 2011-01-05 22:11:18 -08:00
David Anderson
283aa94f2a Abort recording on some more global operations (bug 597940, r=luke). 2011-01-05 19:53:08 -08:00
Jeff Walden
f7bec8a9e8 Bug 614493 - Move top-level binding storage (and argument, variable, and upvar counts) out of JSFunction and into js::Bindings, itself stored in JSScript, anticipating the time when strict mode eval scripts will need it. r=brendan 2010-11-16 15:34:24 -08:00
Jeff Walden
59814e4551 Bug 620315 - "Assertion failure: unexpected constantly false guard detected" with "use strict", 4 > this. Fix a problem where we weren't marking functions created by |new Function| as accepting a primitive this value when their body was strict mode, by removing the duplicative bit that was being checked. r=dmandelin 2010-12-22 18:05:07 -05:00
Phil Ringnalda
66b90212b5 Back out faba5ec16e4f (bug 617921) for failing to build on Windows 2010-12-24 18:01:15 -08:00
timeless@mozdev.org
854793c826 Bug 617921 Snarf should pass a positive value to fread, r=jorendorff 2010-12-09 12:42:00 -08:00
David Mandelin
2e409f25f8 Fix MSVC warnings 2010-12-21 12:58:02 -08:00
Luke Wagner
d8719356c0 Bug 609440, part 4 - make JSString::chars() fallible (r=waldo,dvander,igor,dwitte,njn) 2010-12-06 10:26:58 -08:00
Luke Wagner
2fc61cf52e Bug 609440, part 3 - remove fallible public APIs, update mozilla (r=bent,jst,mrbkap,waldo,sdwilsh) 2010-12-03 00:24:17 -08:00
Luke Wagner
91eabb4690 Bug 561954 - Abort recording earlier to avoid expensive later bails (r=jorendorff)
--HG--
extra : rebase_source : d2a54d2513fe8f69dcdaa5bad8dc0ce8c8ee634e
2010-11-18 10:49:45 -08:00
Paul Biggar
e13e24e1ac Bug 612312 - Replace DEBUG_ARRAYS with plain DEBUG (r=cdleary) 2010-12-13 16:22:57 -08:00
Jeff Walden
c39f97db70 Convert JSScript::*Offset into offsets from the end of JSScript, not from its start, to escape an offset <= 0xFF requirement failing due to an impending increase in the size of JSScripts for bug 614493. r=brendan
--HG--
extra : rebase_source : 8c4046bdc99b8280d414cba864b7d5e1b1f25331
2010-12-02 14:23:51 -08:00
Jeff Walden
f432da735d Bug 614333 - Remove the empty-script singleton optimization: it is effectively disabled with the methodjit, and its use of a single const JSScript for everything (including across compartments) interferes with recording name bindings in scripts, in order to correctly implement strict mode eval. r=brendan
--HG--
extra : rebase_source : 38a7faedb4b090e844cc342c82b273c75ef763bb
2010-11-16 15:30:56 -08:00
Igor Bukanov
a18b8a8142 bug 617215 - eliminating JS_NewString usage in FF while fixing a leak there. r=bz 2010-12-09 11:22:15 +01:00
Nicholas Nethercote
fecf9a1832 Bug 588648 - Don't copy chars when scanning. r=brendan. 2010-12-07 15:22:52 -08:00
timeless@mozdev.org
39ad4aa3e4 Bug 587670 Process leaks file if it is a tty and it hits a line error or a buffer error. r=jorendorff. 2010-12-07 12:53:43 -06:00
Andreas Gal
dfd0e233fe Bug 599188 - potential overflow in shell ShapeOf. r=jorendorff.
--HG--
extra : rebase_source : 95e1dadc0c57d77bec1e86a392d4db9aeadebf8c
2010-12-07 11:17:18 -06:00
Jason Orendorff
2fb9143ed1 In js shell, make dis() with no arguments disassemble the current script. No bug, rs=Waldo.
--HG--
extra : rebase_source : 9775e4b9da3ee38a346174c3987bd3f897798ff1
2010-12-03 16:39:58 -06:00
Blake Kaplan
f92bd7856e Bug 612836 - Second verse, same as the first (see also bug 602223): Use the global object instead of the parent so we're sure to have a non-null parent. r=gal, a=blocker 2010-11-29 13:37:01 -08:00
Jason Orendorff
b4b193de22 Bug 613068 - Add version argument to JS_ReadStructuredClone. r=bent. 2010-11-24 14:14:02 -06:00
David Mandelin
36d91c0a4f Fix MSVC warnings in js.cpp 2010-11-23 14:41:35 -08:00
Luke Wagner
9db98566fb Backed out changeset 31e0cd11f015 2010-11-18 16:58:16 -08:00
Luke Wagner
319ccaa65d Bug 561954 - Avoid costly deep bail by aborting earlier on bad global prop access (r=jorendorff) 2010-11-18 10:49:45 -08:00
Paul Biggar
28fb431a8e Bug 611060 - Allow -r and -l to be passed to disfile (r=igor) 2010-11-18 11:22:24 -08:00
Igor Bukanov
52ea348c4c bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal 2010-11-11 21:40:29 +01:00
David Anderson
7487c14d37 Backed out changeset 8e119f847f97 (build busted) 2010-11-11 11:19:42 -08:00
Igor Bukanov
e32ba97023 bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal 2010-11-02 15:36:25 +01:00
Leon Sha
2a012f6591 Bug 610309 - Increase DEFAULT_MAX_STACK_SIZE to make 'make check' happy on sparc. r=gal 2010-11-08 15:01:12 +08:00
Igor Bukanov
92b67c9caf bug 607695 - Avoid unnecessary JS_GetStringBytes. r=gal 2010-10-28 17:15:53 +02:00
David Mandelin
61c89f1888 Backout merge, a=backing out changeset tried for b7 blocker 2010-10-26 18:20:20 -07:00
David Mandelin
5aa436fc27 Backed out changeset 8dd996c91f40 -- it doesn't fix the problem, but does make it harder to analyze. 2010-10-26 18:14:25 -07:00
Bill McCloskey
efc89ce679 Bug 563126 - Rename JS instruction tracing -> logging, and ensure it doesn't convert call objs (r=brendan) 2010-10-26 12:07:26 -07:00
Robert Sayre
7ce5faeded Merge mozilla-central to tracemonkey. 2010-10-26 14:16:43 -04:00
David Mandelin
a4768a8a4b Bug 604756 first try: restrict ropes optimization to main-thread content JS, r=lw, a=b7-blocker 2010-10-25 17:28:18 -07:00
Jason Orendorff
596862d852 Remove JSObject::title. Bug 606029, r=igor. 2010-10-22 19:04:22 -05:00