Граф коммитов

390 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote 1b3a06bc73 Disable warnings-as-errors, which was introduced by bug 609532. See the bug for justification and follow-up. r=pbiggar. 2011-03-30 17:54:31 -07:00
Chris Leary 48ed520db9 Nop to force rebuild. 2011-03-29 10:47:59 -07:00
Chris Leary fece27e326 Merge mozilla-central to tracemonkey. 2011-03-29 09:05:25 -07:00
Mitchell Field 1e690b971a Merge mozilla-central to build-system. 2011-03-02 20:38:54 +11:00
Luke Wagner e35c5d60c2 Bug 637397 - Set runtime debug mode in js shell with -d (r=sfink,a=npotb)
--HG--
extra : rebase_source : fd6868299f8998769eaaa5a7a985296099c8961d
2011-02-28 13:05:29 -08:00
Kyle Huey 0df01cf2ad Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Brendan Eich 502e6c9df5 Followup fixes and tests in wake of global |this| binding change (636364, r=luke/gal/dvander, thanks to Waldo for the newGlobal shell function). 2011-02-23 19:38:27 -08:00
Mitchell Field e48da647b0 Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
Jason Orendorff 79e40df050 Remove unused global variable. rs=brendan, npotb.
--HG--
extra : rebase_source : 1f04ea043d3e1ff7abfcad517c0f9ff597b19ea4
2011-02-21 13:10:37 -06:00
Jason Orendorff 0683a51528 Add resolver built-in function to the JS shell. This is for testing. r=brendan in bug 458271, a=npotb.
--HG--
extra : rebase_source : 585c1fd53672763341a3f476c46c0704c3e1bf12
2011-02-18 10:57:33 -06:00
Jeff Walden b4d4ac3f64 Backed out changeset 4d86e63ff60d, diagnostic patch; back out 3da12edf735e, followup fix; back out bug 631135 completely, unexplained intermittent orange.
--HG--
extra : rebase_source : e2e56a78bc0eea0d6e005bc976c74b33d8c22281
2011-02-19 19:50:19 -08:00
Steve Fink 22ca1eec74 Bug 632343 - Run debug tests under -d since debug mode is now asynchronous (r=luke) 2011-02-15 13:39:45 -08:00
Andreas Gal b2d53bb0fd Bug 633879 - Stop wrappers from holding old scopes alive. r=mrbkap@gmail.com,jst@mozilla.com, a=blocker 2011-02-14 14:19:36 -08:00
Jeff Walden fedaed7432 Bug 631135 - Objects created by or on behalf of fast natives and property ops (getters or setters) are parented to the wrong proto and global. r=lw,jst,mrbkap,bz, a=jst 2011-02-08 17:20:06 -08:00
Bill McCloskey add41dfe8e Bug 631951 - Shrink methodjit memory usage by interpreting a few times before compiling (r=dvander) 2011-02-11 16:31:32 -08:00
Jim Blandy 2084a88c09 Bug 537873: Add a 'strict' argument to C++ property setter functions. r=brendan
This changes the type of setters to JSStrictPropertyOp, which is just like
JSPropertyOp except that it takes a 'JSBool strict' argument. Most of the
patch is introducing distinct types and using the appropriate stubs.

The following are left for subsequent patches:

x Similar fixes to the browser outside SpiderMonkey.

x Actually *using* the newly available strictness information. This patch
  should have no user-visible effect. I didn't want the interesting stuff
  to get lost in this noise.
2011-02-09 11:31:40 -08:00
Dave Herman 3b17965b17 Bug 630735 - NodeVector is not GC-safe (r=jorendorff) 2011-02-02 21:11:55 -08:00
Steve Fink 8d7d60a30a Bug 626743 - Set debug mode for all compartments in main thread (r=dmandelin, a=blocker)
--HG--
extra : rebase_source : ee656687d36620cad69d415baa9a71748154b563
2011-01-20 22:10:54 -08:00
Igor Bukanov 49d8ffc2fe bug 619120 - patch from Wesley W. Garland to add run function to js shell + tiny fixes. r=jorendorff 2011-02-01 15:40:59 +01:00
async.processingjs@yahoo.com b09ee29648 Bug 620869 - Unexpected failure in JavaScript shell if snarf() is used (r=jorendorff) 2010-12-21 21:03:00 -08:00
Chris Leary 6e237bfee0 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 8bd5f38891 Backed out changeset b88172246b66 due to Win32 debug failures. 2011-01-25 04:11:47 -08:00
Chris Leary c4a5082f29 Bug 595691: fix versioning across VM instances, remove _options. (r=luke,brendan,igor) 2011-01-25 02:33:27 -08:00
Steve Fink 1e383ee820 Backed out changeset 47678330818a 2011-01-24 15:11:34 -08:00
Steve Fink 94e66bd9b7 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 a1ca695502 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 4326d3f7da Bug 623277 - Failed to build with --disable-methodjit r=dmandelin, a=NPOTB 2011-01-08 22:42:00 -08:00
Andreas Gal c753c0012d 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 350cbfbe79 Bug 615859 - Deserialize with null argument crashes/asserts (shell-only). r=Waldo. 2011-01-10 17:46:20 -06:00
David Mandelin 0c760d8811 Bug 619004: fix JS shell split object mark function, r=jorendorff 2011-01-10 12:14:34 -08:00
David Anderson 1f1491affd Abort recording on some more global operations (bug 597940, r=luke). 2011-01-05 19:53:08 -08:00
Mike Shaver 383c68b4eb Bug 623915: about:memory reporter for string char data, r=lw 2011-01-07 03:03:34 -08:00
Chris Leary 143559536b Merge tracemonkey and mozilla-central. 2011-01-07 00:17:35 -08:00
Ben Turner 1a142b1c80 Bug 618484 - 'Allow ChromeWorkers access to XPCOM objects'. r=jst+jorendorff, a=blocking. 2011-01-06 22:21:30 -08:00
Mike Shaver 63b6a6d126 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 2fc33bb5b9 Backed out changeset 48a2416b7f41 2011-01-05 22:11:18 -08:00
David Anderson 18dbe69384 Abort recording on some more global operations (bug 597940, r=luke). 2011-01-05 19:53:08 -08:00
Jeff Walden fc6a989418 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 5910c2cb2f 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 f3d52e055f Back out faba5ec16e4f (bug 617921) for failing to build on Windows 2010-12-24 18:01:15 -08:00
timeless@mozdev.org 72298e59cd Bug 617921 Snarf should pass a positive value to fread, r=jorendorff 2010-12-09 12:42:00 -08:00
David Mandelin 136d6abb6d Fix MSVC warnings 2010-12-21 12:58:02 -08:00
Luke Wagner 8ce9fad677 Bug 609440, part 4 - make JSString::chars() fallible (r=waldo,dvander,igor,dwitte,njn) 2010-12-06 10:26:58 -08:00
Luke Wagner 5afb29cf6f 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 31b126dff4 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 acaadeb7cc Bug 612312 - Replace DEBUG_ARRAYS with plain DEBUG (r=cdleary) 2010-12-13 16:22:57 -08:00
Jeff Walden e37a3021fa 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 152f416f22 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 810dd3b518 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 1071f7b203 Bug 588648 - Don't copy chars when scanning. r=brendan. 2010-12-07 15:22:52 -08:00