Commit Graph

6598 Commits

Author SHA1 Message Date
timeless%mozdev.org
f19bba4e9c Bug 293992 printf passed user controlled buffer
r=shaver sr=bz a=asa
2005-05-23 21:00:06 +00:00
jst%mozilla.jstenback.com
9a3106a766 More fixes for bug 295101. Don't leave *pob2 dangling (caught by bz). r+sr=bzbarsky@mit.edu, a=brendan@mozilla.org (on irc) 2005-05-23 16:59:29 +00:00
bzbarsky%mit.edu
5e4147b68a Check in jst's patch to auto-mark our new objects before we do things that
might trigger gc.  Bug 295101 partial patch, r+sr=bzbarsky/brendan, a=brendan
2005-05-23 14:14:45 +00:00
brendan%mozilla.org
e51d59600b Bypass XPCNativeWrapper's delProperty hook (295122, r+sr=jst). 2005-05-23 05:58:05 +00:00
bzbarsky%mit.edu
1864138655 Stop forwarding addProperty to the wrapped native. That's not the right thing
to do in general (since we use OBJ_DEFINE_PROPERTY in this case in resolve
anyway), and it breaks some things.  Bug 295122, r/sr=jst/brendan, a=brendan
2005-05-22 20:48:00 +00:00
brendan%mozilla.org
4ce9258492 Fix UMR regression introduced in 3.110 (295116, tachyonal r=shaver). 2005-05-22 18:25:08 +00:00
bob%bclary.com
7a3f63044e Add testcase for bug 295052, by David James. Do not crash on String.prototype.match.apply 2005-05-21 21:28:43 +00:00
brendan%mozilla.org
8d6926d579 Fix 294957 for good. 2005-05-21 17:35:16 +00:00
brendan%mozilla.org
37525372bf Fix from bz for glitch in last checkin. 2005-05-21 14:55:54 +00:00
brendan%mozilla.org
9aae66357d Fix stale comment added in last rev. 2005-05-21 06:32:12 +00:00
brendan%mozilla.org
742852d623 Fix adblock and many other non-system chrome users of sytem-chrome xbl (294960, r+sr=bz). 2005-05-21 06:24:08 +00:00
brendan%mozilla.org
df79c67c6e Argh, I made JS_IsSystemObject return a bogo-boolean -- thanks to bz for catching this. 2005-05-21 05:52:20 +00:00
brendan%mozilla.org
f303211ec9 Fix frames[0] case where DOM doesn't use an item method (294960, r+sr=bz). 2005-05-20 21:46:24 +00:00
brendan%mozilla.org
7292f808d8 Fix 294957, fallout from the 281988 landing (r+sr=bz). 2005-05-20 20:06:22 +00:00
bzbarsky%mit.edu
6a53f6896a Flag our private as ISUPPORTS so object principals, etc, become happy. Bug
281988 ongoing, r+sr+a=brendan.
2005-05-20 19:00:14 +00:00
brendan%mozilla.org
2bad9d00d6 Followup for 281988, r+sr=bz, to make deep XPCNativeWrapper __parent__ mirror wrapped-native parent linkage. 2005-05-20 18:51:57 +00:00
bzbarsky%mit.edu
a932baafd8 Make sure to not use an XPCNativeWrapper as the parent for an
XPCWrappedNative.  Get its underlying XPCWrappedNative and use that instead.
Bug 281988 fun continues, r+sr+a=brendan
2005-05-20 17:35:11 +00:00
bzbarsky%mit.edu
13039d7334 Make GetScopeOfObject() know about XPCNativeWrapper and get the scope of the
underlying XPCWrappedNative.  Bug 281988, r+sr+a=brendan
2005-05-20 05:09:56 +00:00
bzbarsky%mit.edu
14f26e8513 Fixing build bustage. Thanks to swalker for the heads-up 2005-05-20 04:47:28 +00:00
brendan%mozilla.org
c5ad16e086 Big patch from jst and me to beef up and automate, configurably, XPCNativeWrapper (281988, r+sr=bz/shaver, a=drivers). 2005-05-20 03:12:22 +00:00
brendan%mozilla.org
c1d82771b1 Unregress __noSuchMethod__ for 1.8b2. 2005-05-17 20:01:28 +00:00
brendan%mozilla.org
40e8b7f18a Another 293782 followup, to restore lost perf in call_enumerate (called from js_PutCallObject, imp. for closure perf). 2005-05-17 17:44:57 +00:00
brendan%mozilla.org
4d82ed6841 Comment tweak. 2005-05-17 03:00:49 +00:00
brendan%mozilla.org
79033ae9c0 Remove harmless but not-ready-for-prime-time stuff that tagged along with the last checkin. 2005-05-17 02:57:26 +00:00
brendan%mozilla.org
2b9ce38fd0 Duh. 2005-05-17 02:41:04 +00:00
brendan%mozilla.org
71f828e98c Followup patch for bug 293782 etc., to unregress 137000 (r/a=shaver). 2005-05-17 01:06:35 +00:00
brendan%mozilla.org
2049578262 Fast followup to last checkin (bug 293782) to unregress 238881. 2005-05-15 22:38:12 +00:00
brendan%mozilla.org
5cd5bba496 Hide function arg/var properties, to hide pre-ECMA design decision that horks ECMA-conformance and sanity in multiple cases (293782 and its deps, r+a=shaver). 2005-05-15 18:24:31 +00:00
bob%bclary.com
91ba84e306 Function arguments, variables should be hidden as Function properties, test by Jonathan Watt 2005-05-15 17:26:52 +00:00
bob%bclary.com
d9f0464cd2 Test crash during String.replace when accessing String methods on backreferences 2005-05-15 17:04:00 +00:00
bob%bclary.com
c08ce4e7ee Test crash bug 294191, testcase by shutdown@ayassi.zzn.com 2005-05-15 16:38:46 +00:00
brendan%mozilla.org
9715e2d8b6 Fix another scripts+runtime survive a zero-context condition bug reported by MikeM@RetekSolutions.com. 2005-05-13 17:47:04 +00:00
brendan%mozilla.org
fa5b34223d Flag Script-object compilation so it deoptimizes fully (291213, r=shaver, a=me). 2005-05-12 19:34:13 +00:00
timeless%mozdev.org
3cbbf6f820 Bug 293846 NS_IMETHODIMP nsJSRuntimeServiceImpl::GetBackstagePass returns nsnull on failure
r=shaver sr=shaver a=shaver
2005-05-12 03:55:41 +00:00
shaver%mozilla.org
3ab1e26262 Bug 293546: No way to do "a instanceof b" using the Spidermonkey API.
r+sr+a=brendan.
2005-05-10 19:53:44 +00:00
db48x%yahoo.com
0e1391f88e bug 291861: XPCDispInterface.cpp fails to compile with Microsoft Visual Studio 2005 Beta 2
patch by Stephen Walker <sdwalker@myrealbox.com>, r=shaver, a=shaver
2005-05-07 06:12:54 +00:00
timeless%mozdev.org
2aedf5913e Bug 292397 JS_VERSION 130 doesn't build
r=brendan a=asa
2005-05-06 21:44:32 +00:00
timeless%mozdev.org
e4740df8be Bug 292400 JS_VERSION 148 doesn't build
r=brendan a=asa
2005-05-06 21:42:39 +00:00
timeless%mozdev.org
b5e78ba1b6 Bug 292398 JS_VERSION 140 doesn't build
r=brendan a=asa
2005-05-06 21:25:45 +00:00
bob%bclary.com
2f64a99c34 undeclaring namespace should cause parse error, bug 292863 by Martin Honnen 2005-05-06 01:16:23 +00:00
bob%bclary.com
6d8c4e97d1 for-in statements should not invoke valueOf method, bug 292731, by Bryant Chen 2005-05-06 01:05:18 +00:00
bob%bclary.com
3b6a4e695f js1_5/Array/array-002.js Array extras is spidermonkey only, bug 290592 2005-05-05 19:46:02 +00:00
bob%bclary.com
1ca5429b9e Testcases for Array extras, bug 290592 2005-05-05 19:38:24 +00:00
shaver%mozilla.org
eb77f9dcb6 Bug 291494: add Date.prototype.toLocaleFormat for better control over
localized Date formatting, as well as access to things like
            week-number and Julian dates. r+a=brendan.
2005-05-05 16:08:23 +00:00
timeless%mozdev.org
518c41fbc8 Bug 292949 crash [@ js_SetClassPrototype] because proto isn't rooted in js_InitExceptionClasses across call to js_DefineFunction
r=brendan a=brendan
2005-05-05 05:40:22 +00:00
timeless%mozdev.org
c982df2b12 Bug 292556 JS_NewRuntime doesn't handle failure from js_SetupLocks
r=shaver a=shaver
2005-05-05 05:31:27 +00:00
brendan%mozilla.org
66071670c8 Allow var redeclaration within a compilation unit (as is already allowed across compilation units; 291868, r=shaver a=me). 2005-05-05 01:43:52 +00:00
brendan%mozilla.org
551d78d209 Fix so last-ditch GC doesn't collect script filenames (291312, r=shaver, a=me). 2005-05-05 00:47:50 +00:00
brendan%mozilla.org
ea9fd4132c Find active native function principals when walking the JS stack, and beef up eval-ish native safeguards (281988, r=shaver/caillon, sr=jst, a=drivers). 2005-05-04 06:28:36 +00:00
shaver%mozilla.org
c139803221 Bug 290252: array extras: add lastIndexOf, add fromIndex to indexOf, fix
behaviour of operations on an empty array, shine shoes.
            r+a=brendan.
2005-05-04 02:43:13 +00:00