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

110 Коммитов

Автор SHA1 Сообщение Дата
Jeff Walden 23aeebc511 Bug 552560 - Remove support for __parent__. r=mrbkap 2010-04-11 13:51:00 -07:00
Igor Bukanov 6e53087363 bug 560471 - remove GC_LAST_DITCH and GC_KEEP_ATOMS. r=jorendorff 2010-04-24 00:15:42 +02:00
Dave Herman cfc5514d85 Bug 558437 - rename JSCompiler to js::Parser (r=brendan). 2010-04-10 21:15:35 -07:00
Jeff Walden 2991bc2ab5 Bug 517580 - Unconditionally build with support for getters and setters, remove support for the deprecated { x getter: function() {}} and x getter= function() {} getter syntaxes (mutatis mutandis for setter) now that ES5 provides Object.getOwnPropertyDescriptor and Object.defineProperty and { get x() { } } syntax, and provide __{define,lookup}{G,S}etter__ only if a preprocessor variable is defined (unconditionally provided for the moment). r=luke 2009-10-06 12:35:33 -07:00
Jeff Walden 6f3eea8a6a Back out 38cb39bc6744, 400097fb04e7, and 1dca6e135a1e for great orangeness. 2010-03-22 22:39:29 -07:00
Andreas Gal c61b56b63e more build fun with bug 553541 2010-03-22 20:58:49 -07:00
Jason Orendorff 9ad2181a1a Bug 530583 - Delete silly JS_INT32_TO_PTR etc. macros. r=jwalden.
--HG--
extra : rebase_source : ccd52d3c33a3fd984fb5588ef12cbf9a6a80c423
2010-03-16 10:41:28 -05:00
Jeff Walden 23f72aa6c3 Bug 551529 - Remove __count__. r=shaver 2010-03-12 17:09:49 -08:00
Jim Blandy 2dea41a987 Bug 514567: Define JSAutoAtomList, a variant of JSAutoAtomList with a destructor. r=jorendorff 2009-11-19 12:35:55 -08:00
Jim Blandy 395529f458 Bug 514585: Recognize "use strict" directives. r=igor 2009-11-18 13:33:53 -08:00
Jeff Walden 396369fda1 Bug 505587 - Implement ES5 Object.getOwnPropertyDescriptor. r=mrbkap 2009-07-21 19:35:59 -07:00
Andreas Gal 26343fbe92 Make js_ValueToString inline (503669, r=jwalden). 2009-07-13 14:55:04 -07:00
Jason Orendorff f584ecf146 Bug 493260 - js1_5/Regress/regress-344959.js - with and eval do not inhibit the flat closure optimization. r=brendan. 2009-05-21 13:00:53 -05:00
Brendan Eich 30a0014e3f upvar2, aka the big one take 2 (452598, r=mrbkap). 2009-04-05 21:17:22 -07:00
Andreas Gal 46e5952f80 Backed out changeset 972c44aa9d1f (bug 452598). 2009-04-04 10:14:52 -07:00
Brendan Eich 9616a998fb upvar2, aka the big one (452598, r=mrbkap). 2009-04-04 10:05:49 +01:00
Igor Bukanov 7200f50f15 bug 480700 - no more static asserts in headers. r=brendan 2009-03-05 12:12:50 +01:00
Brendan Eich 041f2915bc Bug 456511 - (imacros) TM: Make conversion work on arbitrary JSObjects (r=gal). 2008-11-13 00:30:20 -08:00
Andreas Gal 305473e7a6 Backed out changeset a40f2117bcc0 2008-11-12 17:39:48 -08:00
Brendan 8450fcfc84 Add imacros to support conversion of arbitrary JSObjects (456511, r=gal). 2008-11-12 16:55:45 -08:00
Andreas Gal 552e4b5dbd Emit JSOP_APPLY for .call(...) (462445, r=brendan). 2008-10-30 16:01:53 -07:00
Andreas Gal 37bb0e7a9d Resolve atom/str naming conflicts in the source for narcissus, make narcissus extensions compile again (462436, r=brendan). 2008-10-30 15:38:10 -07:00
Andreas Gal 00d5e6f96d Emit JSOP_APPLY for .apply(...) similar to JSOP_EVAL for .eval(...) (462209, r=brendan). 2008-10-29 13:30:41 -07:00
Brendan Eich 7af264dad5 Bug 462103 - TM: We don't trace some variants of string + other type (gal+brendan red-headed stepchild). 2008-10-29 00:14:30 -07:00
Robert Sayre cf88f19458 Bug 408838 - DOM binding for native JSON. r+sr=shaver 2008-10-01 02:13:58 -04:00
Jim Blandy 31a62b6b2d Bug 97954: Give jsconfig.h a better name, and make room for the new js-config.h. r=bsmedberg
We'd like the SpiderMonkey configure script to generate a header file
named js-config.h to hold #definitions chosen at configure time that
affect the SpiderMonkey API, like JS_THREADSAFE.  However, that name
is very similar to that of an existing header file, jsconfig.h.  This
patch renames the existing header file, and updates all references to
it.

--HG--
rename : js/src/jsconfig.h => js/src/jsversion.h
2008-09-05 10:19:17 -07:00
Brendan Eich 213f3d7e5f Upvar, v0.1 (limited to looking up from eval in a function, to the function's args and vars). 2008-08-21 03:47:33 -07:00
brendan@mozilla.org cb0105b995 Break bad old nested include cycle for good, by un-nesting (420554, r=jorendorff, a=vlad). 2008-03-04 15:40:10 -08:00
brendan@mozilla.org 3d12218061 Fixed generation-number-optimized hash revalidation (415721, r=igor). 2008-02-05 17:25:12 -08:00
igor@mir2.org 8c529adb1c Bug 412340: avois rehashing of alreday atomized strings. r,a=brendan 2008-01-23 05:17:47 -08:00
igor@mir2.org c526c4b477 Bug 413104: access to JSString is hidden behind macros even for a flat string. 2008-01-19 13:15:08 -08:00
reed@reedloden.com d10363409b Back out Igor's patch from bug 412340 due to consistent orange on fxdbug-win32-tb. 2008-01-19 00:06:45 -08:00
igor@mir2.org bb8f471f9d Bug 412340: JString stores a flag to indicate that it was atomized. r=brendan a=blocking1.9+ 2008-01-18 18:56:51 -08:00
reed@reedloden.com cae15db0d0 Bug 400393 - "mozilla-central: jsatom.cpp has bad casts in 64-bit OS" [p=benjamin@smedbergs.us (Benjamin Smedberg) r=igor a1.9=schrep] 2007-11-16 20:20:37 -08:00
igor@mir2.org db0f3d53a2 Bug 386265: using double kashing for atoms. r=brendan 2007-08-11 13:25:16 -07:00
igor@mir2.org b3e7b100a7 Bug 387481, bug 389063: multithreading atom fixes and cleanups. r=brendan 2007-08-07 00:29:32 -07:00
brendan@mozilla.org 767c4ea288 Fast (frame-less) native call optimizations (385393, r=igor). 2007-08-01 21:33:52 -07:00
brendan@mozilla.org 0427f2943d Backing out, see bug 389122 and orange or red tinderboxes. 2007-07-21 16:21:20 -07:00
brendan@mozilla.org b36bbabdb0 Fast natives and related optimizations (385393, r=igor). 2007-07-21 14:39:42 -07:00
igor@mir2.org fcebfbaf69 Bug 386885: JSAtom.number is removed in favour of using atoms itself for hashing. r=brendan 2007-07-11 02:25:45 -07:00
igor@mir2.org 40cf55c2ba Bug 385729: objects and regexps are stored in separated tables in JSScript. r=brendan,mrbkap 2007-07-08 02:03:34 -07:00
crowder@fiverocks.com 403c5f1ce1 Bug 357016: spidermonkey should be buildable by a C++ compiler, patch by
crowder/Jason Orendorff, r=brendan
2007-07-05 13:37:47 -07:00
brendan@mozilla.org 556ea2ea85 Re-land fix for cloned function object prototyping (300079, r=igor/mrbkap). 2007-06-26 11:19:54 -07:00
sayrer@gmail.com b9f6bd1ac7 back out patch for bug 300079 due to leak regressions, as the new textframe code needs to land 2007-06-20 11:53:28 -07:00
brendan@mozilla.org 52a8bbb0ca Fix violation of function prototyping due to cloned function object implementation (300079, r=mrbkap; expecting r=igor after the fact, want to get this in for widespread testing tomorrow). 2007-06-19 23:37:15 -07:00
mrbkap@gmail.com 75ea2f192d Backing this patch out again to fix sessionstore. See bug 300079 and 385085 2007-06-19 19:06:00 -07:00
brendan@mozilla.org 5a3d7d88f5 Fix violation of function prototyping due to cloned function object implementation (300079, r=igor). 2007-06-19 11:49:53 -07:00
bzbarsky@mit.edu d4193fc178 Backing out bug 300079 to see whether that fixes tinderbox orange. 2007-06-18 07:32:35 -07:00
brendan@mozilla.org 6f85936f1c Fix violation of function prototyping due to cloned function object implementation (300079, r=igor). 2007-06-17 22:33:36 -07:00
crowder@fiverocks.com f48a5593aa Bug 375801: Using (void 0) instead of "undefined" in toSource and uneval(), r=mrbkap 2007-06-12 12:33:40 -07:00