jst%mozilla.jstenback.com
0472c0073e
Fixing bug 265174. Quiet down compiler warnings on Linux x86_64. r+sr=brendan@mozilla.org
2005-01-12 19:56:32 +00:00
brendan%mozilla.org
92552356eb
Revamp the GC to fix E4X private data dueling GC bugs, to reduce malloc costs for small-ish objects and functions, and to pave the way for further GC wins (123668, r=shaver, TAKE 2).
2005-01-05 06:15:03 +00:00
brendan%mozilla.org
412eb31b82
Back out, broke liveconnect at least.
2005-01-05 03:58:19 +00:00
brendan%mozilla.org
90eaa50664
Revamp the GC to fix E4X private data dueling GC bugs, to reduce malloc costs for small-ish objects and functions, and to pave the way for further GC wins (123668, r=shaver).
2005-01-05 02:56:36 +00:00
brendan%mozilla.org
931f64581c
Propagate a flag induced by JSOPTION_XML into script and context version fields, for proper run- and compile-time consistency (275742, r=shaver).
2004-12-24 00:03:59 +00:00
brendan%mozilla.org
91272a112c
Fix for bug 244619 from aviary/1.7 branches, r=shaver.
2004-12-16 00:25:03 +00:00
brendan%mozilla.org
54e9fe4050
Null, not false (fix copy-paste error).
2004-12-10 01:31:16 +00:00
brendan%mozilla.org
5c38e1a00c
Implement Deutsch-Schorr-Waite, plus related GC metering improvements, to avoid stack overflow crashes when marking very deep object lists (203278, r=igor@fastmail.fm and Igor wrote the tail-recursion elimination code).
2004-12-06 23:17:19 +00:00
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