Commit Graph

6556 Commits

Author SHA1 Message Date
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
timeless%mozdev.org
425af3c1be R:\mozilla\js\src>cl -FoWINNT5.1_DBG.OBJ/ -c /MD /Od /Z7 -D_X86_=1 -DXP_WIN -DXP_WIN32 -DWIN32 -D_WINDOWS -D_WIN32 /nologo /W3 /FpWINNT5.1_DBG.OBJ/js.pch -DDEBUG -DDEBUG_timeless -DJS_VERSION=140 /Op -DEXPORT_JS_API jsinterp.c jsinterp.c
jsinterp.c(5463) : error C2094: label 'do_JSOP_XMLPI' was undefined
jsinterp.c(5463) : error C2094: label 'do_JSOP_XMLOBJECT' was undefined
jsinterp.c(5463) : error C2094: label 'do_JSOP_XMLCOMMENT' was undefined
jsinterp.c(5463) : error C2094: label 'do_JSOP_XMLCDATA' was undefined
jsinterp.c(5463) : error C2094: label 'do_JSOP_QNAMEPART' was undefined
jsinterp.c(5463) : error C2094: label 'do_JSOP_QNAMECONST' was undefined
jsinterp.c(5463) : error C2094: label 'do_JSOP_GETMETHOD' was undefined
2005-04-29 20:35:19 +00:00
dougt%meer.net
be6760da53 Windows CE build changes. This addresses most of the outstanding Windows
CE compilation issues.

This patch also fixes/removes CheckStackGrowthDirection assertions in
Javscript.  This change is based on bug 242518.  See comment 36.

This patch also removes the unused enum in transformiix .  See bug
292118.

r/sr = dveditz/shaver
b    = 291229
a    = asa
2005-04-29 13:33:49 +00:00
bob%bclary.com
74e113ead6 Add regression test for bug 234389, by Alex Vincent 2005-04-29 03:33:45 +00:00
bob%bclary.com
97ffab9ec2 for-each-in should not affect outer for-in statements, bug 292020, test by jmsachs@gmail.com 2005-04-27 19:48:02 +00:00
timeless%mozdev.org
748c3496e3 Bug 281489 js.mak contains no rules for jsxml.*
patch by nallen@acm.org r=brendan
2005-04-27 13:42:46 +00:00
brendan%mozilla.org
4010e1bd3f Clear foreach flag when running off the prototype chain of the object being enumerated (292020, r/a=me, thanks to jmsachs@gmail.com for the report). 2005-04-26 22:42:53 +00:00
brendan%mozilla.org
05122d9fc8 Add JS_Get[UC]*PropertyAttrsGetterAndSetter for fast-back bug (274784, r/a=me). 2005-04-26 04:11:59 +00:00
bsmedberg%covad.net
93f724b4b4 Bug 290995 - Add Components.reportError() (allow JS exception handlers to report errors to the JS console but then continue about their business) r+sr=shaver a=brendan 2005-04-25 18:45:11 +00:00
brendan%mozilla.org
1726e9fd0a Improve error reporting for too many array initialisers (276289, r/a=me). 2005-04-23 06:10:25 +00:00
brendan%mozilla.org
9037c2320b Allow up to 2^23 literals in a script (155081, r=shaver, a=me). 2005-04-23 02:14:20 +00:00
brendan%mozilla.org
daf517837d Check in timeless's patch to protect against last-ditch GCs under JS_InitClass (291439, r/a=me). 2005-04-23 00:07:35 +00:00
timeless%mozdev.org
7bfb0bd495 fix GC_MARK_DEBUG for !JS_HAS_XML_SUPPORT 2005-04-22 23:53:40 +00:00
igor%mir2.org
0ce126ffab Fixing String.replace(re, function) where function doing regexps on its own would alter regexp data used by the regexp itself. 2005-04-22 15:28:19 +00:00
mconnor%steelgryphon.com
4a2763dc46 land jst's fix for bug 289675, r=bz/dveditz, sr=brendan, a=chase 2005-04-21 21:05:10 +00:00
brendan%mozilla.org
a849c3df5d Patch from Bob Clary <moz@bclary.com> to fix ancient iloop inherited from java.util.Date (273292, r/a=me). 2005-04-21 05:04:44 +00:00
bob%bclary.com
3f5e6dd731 15.9.3.2 new Date(value), bug 273292 2005-04-20 21:44:34 +00:00
bob%bclary.com
9e8718e2de Fix crashMe2 testcase to check for SyntaxError instead of just not crashing 2005-04-20 16:34:20 +00:00
brendan%mozilla.org
9d44553348 Checking in patch from James Ross <silver@warwickcompsoc.co.uk (257751, r/a=me). 2005-04-19 21:44:23 +00:00
brendan%mozilla.org
1b9d81617d Limit args passed via Function ctor (290575, r/a=me). 2005-04-19 21:06:26 +00:00
bob%bclary.com
755c13363f Add new testcase for bug 290575, by Erik Fabert 2005-04-19 20:44:06 +00:00
bob%bclary.com
6e9df675ad Regression test for bug 290656 by Andrew Schultz, bug 290656 2005-04-19 00:43:19 +00:00
bob%bclary.com
4b18882f24 Do not crash when calling function with more than 32768 arguments by Erik Fabert, Bug 290575 2005-04-19 00:26:12 +00:00
bob%bclary.com
f9d617e1ee Additional test for ECMA 3 10.6.1 by Bryant Chen, Bug 290774 2005-04-19 00:12:21 +00:00
brendan%mozilla.org
391dcd4406 Don't delegate activation objects to Object.prototype (290774, r=shaver a=me). 2005-04-18 21:39:00 +00:00
bob%bclary.com
62def0ab5c Additional test from Martin Honnen, Bug 290715 2005-04-18 21:04:23 +00:00
bob%bclary.com
25c4b48342 Updated test from Brendan, bug 290488 2005-04-18 20:47:45 +00:00
bob%bclary.com
76ebcc8cbe Additional tests by Martin Honnen, Bug 290481 2005-04-18 20:02:20 +00:00
brendan%mozilla.org
726265ea9c Follow ECMA when .call is passed zero args (290488, r=shaver, a=me). 2005-04-17 20:15:32 +00:00
brendan%mozilla.org
768ea36658 Add it.bindMethod for testing of DOM and XPConnect bound methods. 2005-04-17 19:59:13 +00:00
shaver%mozilla.org
fea422d9f2 Bug 290592: Add |forEach|, |indexOf|, |filter|, |map|, |some| and |every| to
Array.prototype, for greater Lispy righteousness.  r+a=brendan.
2005-04-17 18:31:59 +00:00
brendan%mozilla.org
89f668af1b Use 64-bit-friendly ptr/int macros. 2005-04-17 18:17:23 +00:00
brendan%mozilla.org
ea546f0352 Clamp fun->{nargs,nvars}, an old bug laid to rest (290575, r=shaver, a=me). 2005-04-17 16:01:28 +00:00
brendan%mozilla.org
001047fa23 Fast followup to uninitialized ok blunder in last checkin. 2005-04-17 04:30:30 +00:00
brendan%mozilla.org
b1afa736a9 Finish implementing Descendants, handle the neglected XMLList case (290481, r/a=me). 2005-04-15 20:32:15 +00:00
brendan%mozilla.org
f4dc897f49 Fix empty-XMLList-literal basis case bug (290499, r/a=me). 2005-04-15 20:08:33 +00:00
bob%bclary.com
33a3a6cd29 Regression test for bug 290499, by Martin Honnen 2005-04-15 18:29:53 +00:00
bob%bclary.com
cb317ff9d9 Fix typo, thanks to Erik Fabert for pointing it out 2005-04-15 17:56:18 +00:00
bob%bclary.com
454981dc01 Function.prototype.call() for closures should default scope to the global object, bug 290488 2005-04-15 17:22:46 +00:00
brendan%mozilla.org
743092df0c Fix js_AllocStack to null new space (cheapest way to save last-ditch GC from scanning uninitialized stack space; 290476, r=shaver, a=me). 2005-04-15 16:01:20 +00:00
bob%bclary.com
de214e4823 Add regression test for bug 290056, by Martin Honnen 2005-04-13 18:44:22 +00:00
kairo%kairo.at
644750eab5 bug 289326 - hangs when clicking on "Satellite" link on Google maps (linux-ia64 only), patch by David Mosberger <davidm@hpl.hp.com> r=brendan sr=shaver a=asa 2005-04-13 12:47:20 +00:00
brendan%mozilla.org
45592dcd4b Fix bugs due to errata in ECMA-357 10.2.1, 13.4.4.35 and 13.4.4.36 (290056, r/a=me). 2005-04-12 22:42:57 +00:00