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

174 Коммитов

Автор SHA1 Сообщение Дата
brendan%mozilla.org 428b8a8546 E4X, configured off, code-complete. 2004-11-17 07:43:01 +00:00
brendan%mozilla.org 04b24dd95c Skip deleted/misidentified properties in js_obj_toSource (233483, patch from shaver+timeless, r=me). 2004-11-04 01:52:28 +00:00
brendan%mozilla.org 5eb78fc669 Initial E4X check-in, configured off (246441, rs=shaver). 2004-10-05 10:19:07 +00:00
brendan%mozilla.org a7487d7136 Add JSRESOLVE_DECLARING and JSRESOLVE_CLASSNAME support for better DOM quirk emulation (257602, r=shaver). 2004-09-01 20:51:39 +00:00
brendan%mozilla.org 5a95353303 Add scoped local root support, plus a few cleanups from the huge e4x patch (40757, r=shaver). 2004-08-19 17:57:36 +00:00
brendan%mozilla.org 1efe559390 Fix bug 254375 by quoting negative integer property ids in js_obj_toSource. 2004-08-05 08:06:26 +00:00
brendan%mozilla.org 652a45f1d5 Improve JSRESOLVE_DETECTING to handle typeof, ==, !=, etc.; don't give undefined property strict warning for detecting cases (253150, r=shaver). 2004-07-29 20:44:20 +00:00
brendan%mozilla.org d608b3e898 Update map->freeslot in js_SetRequiredSlot if obj has its own scope (245890, r=shaver); also clear pending exceptions as needed in js_TryMethod (old unreported bug, r=self). 2004-07-22 15:47:22 +00:00
brendan%mozilla.org c654a3f978 Improve JSRESOLVE_DETECTING by treating 'terminal' uses of, e.g., document.all as detecting (248549, r=jst). 2004-07-15 18:53:59 +00:00
brendan%mozilla.org bb87816784 Add JSRESOLVE_DETECTING (246964, r=shaver). 2004-06-16 21:15:35 +00:00
brendan%mozilla.org 1a78cd61c8 Give JSObjectOps.setRequiredSlot a JSBool return value so it can propagate errors (part of 245890, r=shaver). 2004-06-12 01:50:09 +00:00
brendan%mozilla.org c44082952a Back out patch for bug 245890 for now. 2004-06-09 19:39:53 +00:00
brendan%mozilla.org e4dad6cb67 Fix bug caused by bug 165201's checkin, where regexp-valued slots in function object clones might dangle after GC (245890, r=shaver). 2004-06-08 21:58:52 +00:00
brendan%mozilla.org 6e8f8f0e72 Make dynamically defined getters and setters enumerable (per afri posting to m.jseng; consistent with original getter=/setter= support in jsinterp.c). 2004-05-12 00:44:23 +00:00
brendan%mozilla.org 320d95637a Sigh, go back to requiring a native object for the global object in FindConstructor, to unbreak lazy class init. 2004-04-20 18:02:49 +00:00
brendan%mozilla.org ab1b721b28 Fix old watchpoint function vs. clone bug (240577) and undo bogus strict warning from lazy class init (240404 in part). 2004-04-15 09:05:46 +00:00
brendan%mozilla.org f3e73b9da0 Er, let's try caillon's patch (bug 240458, r=me). 2004-04-14 02:36:37 +00:00
brendan%mozilla.org e4d5924763 Fix cosmetic bug pointed out by caillon, passing JS_FALSE rather than 0 to js_DecompileValueGenerator (API change wasn't tracked long ago). 2004-04-14 02:35:34 +00:00
brendan%mozilla.org ff71873e75 - Improve global variable performance from 3x slower to 1.2x slower than
locals (169559, r=shaver).
- Also fix longstanding bug where global regexps in precompiled scripts were
  wrongly shared among threads/contexts (165201, r=shaver).
- Also fix strict-aliasing gcc warning causes (206599, r=bryner).
2004-04-13 01:25:17 +00:00
brendan%mozilla.org 13512ddbd3 NARCISSUS ifdefs and related general fixes (r=shaver). 2004-02-11 07:21:59 +00:00
gerv%gerv.net 29cfd51965 Bug 205418 - Relicense Spidermonkey (js/src) to MPL/LGPL/GPL. Patch by gerv; r,a=brendan. 2003-11-15 00:11:16 +00:00
brendan%mozilla.org 24e5990b0c Remove JS_UnsealObject, optimize locking of sealed objects, shrink JSContext by two JSArenaPool members (224306, r=shaver). 2003-11-11 01:28:17 +00:00
brendan%mozilla.org c85bc41f9e Use eval's object principals if possible, ditto for other eval-like methods (223041, r=caillon, sr=shaver). 2003-11-02 01:04:50 +00:00
brendan%mozilla.org a15916b480 Add __noSuchMethod__ handler support, and clean up js_ValueToFunction/js_ReportIsNotDefined error diagnosis hard cases (196097, r=sparky). 2003-10-22 06:26:03 +00:00
brendan%mozilla.org 7cb2529128 Check in my version of a patch to avoid thread or process stack overflow from Igor Bukanov <igor@fastmail.fm> (192414, r=shaver). 2003-09-24 16:49:58 +00:00
brendan%mozilla.org 9d6835e2ba Prevent recursive divergence via watchpoint handlers (213482, r=scole). 2003-08-03 21:59:50 +00:00
brendan%mozilla.org 4fa5213a91 Big dynamic footprint win via script filename caching, plus line number fix for strict/const diags (see http://bugzilla.mozilla.org/attachment.cgi?id=127130&action=view for detailed checkin comments; 208030, r/rs=shaver, r=rginda on the jsd change, r=jst on the dom change). 2003-07-26 22:37:11 +00:00
brendan%mozilla.org 05be1e35a2 More resolve cleanup: eliminate cx->resolving (redundant w.r.t. cx->resolvingTable && cx->resolvingTable->entryCount); use JS_DHASH_ADD and test for non-null key part, not LOOKUP-and-test-non-busy-then-ADD. 2003-06-11 23:43:56 +00:00
brendan%mozilla.org b7c5f4bd8b Subtly better comment for last change. 2003-06-08 20:31:06 +00:00
brendan%mozilla.org 668326c888 Followup fix to remaining problem pointed out by Itaj Sherman (208496). 2003-06-08 18:55:53 +00:00
brendan%mozilla.org d484baa7a8 Minimal ECMA-262 Edition 3 config, plus cleanup to other configs (208586, r=shaver). 2003-06-07 21:08:45 +00:00
brendan%mozilla.org cbad68cb9e Hide arg and var properties of function objects from with statements (208496, r=rogerl). 2003-06-06 21:43:14 +00:00
brendan%mozilla.org 27c26166cd Unify on JS_DHASH_ADD to avoid gratuitous lookup-before-add in cx->resolvingTable (r=me again). 2003-06-05 18:49:13 +00:00
brendan%mozilla.org 803d51df77 Fix ancient ECMA conformance bug to-do with implicit variable definition order in assignments (204919, r=rogerl, a=asa). 2003-05-14 20:57:47 +00:00
brendan%mozilla.org 061ad75168 Restore lost API compatibility: copy getter and setter as well as shortid when shadowing a prototype property that has a shortid (203084, r=rogerl, sr=shaver). 2003-05-02 17:36:58 +00:00
brendan%mozilla.org 4b0d94c93a More cleanup/followup: eliminate single-use rt variable in js_SetProperty, move clasp decl and first-def down, fix comments, strip trailing whitespace. 2003-04-14 04:14:57 +00:00
brendan%mozilla.org 3fb113994f Improve one comment slightly. 2003-04-14 03:32:55 +00:00
brendan%mozilla.org 40334ba064 Quick followup to last checkin, to optimize OBJ_DROP_PROPERTY to JS_UNLOCK_SCOPE in the one place in js_SetProperty that didn't follow the comments and do that. 2003-04-14 03:26:47 +00:00
brendan%mozilla.org fd011d535b Fix ancient ECMA violation where proto-property attrs, etc., were inherited when shadowing (90596, r=rogerl). 2003-04-13 23:33:34 +00:00
brendan%mozilla.org c251d3600f Fix set-property on sealed object to throw error (94693, r=rogerl). 2003-04-11 21:02:29 +00:00
seawood%netscape.com 42ee530683 Purge XP_PC.
Bug #74999 r=mkaply sr=brendan
2003-04-03 19:35:29 +00:00
brendan%mozilla.org f0404b0df8 Work around OpenVMS compiler bug: it reserves |readonly| (199366, r=me, patch from colin@theblakes.com). 2003-03-27 00:04:51 +00:00
brendan%mozilla.org c0fc066a01 Don't override a prototype property iff it is JSPROP_SHARED (not also if it's a JSPROP_SETTER; 197940, r=rogerl). 2003-03-19 02:25:39 +00:00
brendan%mozilla.org f2c8bb3531 Move readonly pre-ECMA error report down to new place peculiar to sealed
scopes, and share it via downward goto from the old place (which should go
away when a bug on khanson's list whose # I forget is fixed).  This fixes
the hole in sealed scope support mentioned in bug 94693 (r=rogerl/shaver).
2003-03-19 00:53:45 +00:00
brendan%mozilla.org 25b813e602 Implement SCOPE_IS_SEALED, JS_SealObject, JS_UnsealObject, etc. to support
sealed standard object graphs, as well as to pave the way for optimizations
to object literals (94693, r=shaver).
2003-03-14 05:24:58 +00:00
brendan%mozilla.org dd545c2cb9 Fix JS_[GS]etContextThread return type; add JSCLASS_NEW_RESOLVE_GETS_START (196966, r=shaver). 2003-03-12 20:29:16 +00:00
brendan%mozilla.org 6e0c7cdde4 Constipation of (JS|PL)DHashTableOps (195298, r/sr=shaver/alecf). 2003-02-28 07:17:59 +00:00
brendan%mozilla.org 4b0d8710d7 Fix blunder in obj_propertyIsEnumerable from last checkin (156354, r=shaver). 2002-09-16 23:00:03 +00:00
brendan%mozilla.org d02561c5d2 Restore enumeable, permanent, readonly single-char elements to string objects; fix propertyIsEnumerable to work with shared permanent proto-properties (167910, r=rogerl). 2002-09-12 19:34:59 +00:00
brendan%mozilla.org 873971ec4c Fix js_NewObject not to share proto's map if proto and obj don't have the same number of reserved slots (112974, r=rogerl, sr=jband). 2002-08-08 21:51:54 +00:00