wr%rosenauer.org
0e4b5d6149
Bug 302173 JS engine doesn't work on PPC/Linux because of gcc optimization, r+a=shaver
2005-07-26 13:28:08 +00:00
joshmoz%gmail.com
45cb947e65
export MACOSX_DEPLOYMENT_TARGET and kill MACOS_DEPLOYMENT_TARGET. Allows us to build on x86 Macs right out of cvs (note that we still crash a lot straight from cvs, but it runs). Patch by Mark Mentovai. b=298543 r=josh sr=peterv a=bsmedberg
2005-07-23 21:17:40 +00:00
mrbkap%gmail.com
a433fbeebb
bug 301574: Allow XML mode to be enabled explicitly by the XML constructor. r+a=brendan
2005-07-22 20:22:28 +00:00
brendan%mozilla.org
134696824a
No silent failures! (301553, r=shaver).
2005-07-22 16:55:15 +00:00
brendan%mozilla.org
ecbf37a541
Expand entities only in TSF_XMLONLYMODE (r=mrbkap, who helped a great deal; a=me).
2005-07-21 22:15:36 +00:00
shaver%mozilla.org
a5ea7b7872
Bug 301545: avoid crash when attribute-op name collides with local var or arg
...
by taking an early out from LookupArgOrVar for JSOP_QNAMEPART. r+a=brendan.
2005-07-21 19:18:15 +00:00
brendan%mozilla.org
19e50e0cc6
Fix js_FilterXMLList to save and restore fp->spbase (301596, r+a=shaver).
2005-07-21 19:14:30 +00:00
joshmoz%gmail.com
275e8624be
don't use regparm on i386 Mac OS X. Patch by Apple Computer, Inc. r=josh r=smfr sr=bsmedberg a=bsmedberg
2005-07-21 19:02:52 +00:00
shaver%mozilla.org
42c6c08978
Bug 301353 (followup): return value from JS_ThrowReportedError, telepathic
...
r=brendan, a=shaver.
2005-07-20 15:35:13 +00:00
mrbkap%gmail.com
df323010c4
bug 301340: Use public apis to fix link errors on Windows. r+a=brendan
2005-07-20 04:15:42 +00:00
mrbkap%gmail.com
562ca693d8
bug 300858: Make sure to update all_strings so that we don't try to treat a JSVAL_HOLE as a JSString in sort_compare_strings. Instead, arrays composed of strings and holes should go through sort_compare. r+a=brendan
2005-07-20 04:06:51 +00:00
mrbkap%gmail.com
dc0eb13339
bug 300841: Provide a readline function to allow scripts run under the js shell to access stdin. r+a=brendan
2005-07-20 03:51:45 +00:00
brendan%mozilla.org
109c7dda42
Fix Components.utils.evalInSandbox bugs: 1) GC'ing after even eval blows performance, no need; 2) borrowing the calling cx's error reporter doesn't work, we must turn uncaught exception errors back into thrown exceptions on the calling cx (301353, r+sr+a=shaver).
2005-07-20 03:35:40 +00:00
pete.zha%sun.com
b92515c042
bug=297750 wrong sequence of declaration in union fd_twoints on x86
...
r/sr/a=brendan@mozilla.org
patch=nian.liu@sun.com
2005-07-20 03:18:59 +00:00
bob%bclary.com
5f527788ae
tweak system to place redirect_command after stdout redirect, bug 301346
2005-07-20 02:27:42 +00:00
bob%bclary.com
5a26f9000b
change jsDriver.pl to use system instead of open for executing js shell, bug 301346. r=mrbkap
2005-07-19 23:03:12 +00:00
bzbarsky%mit.edu
b0732b1395
Preserve XPCNativeWrappers when "expando" properties are set on them. Bug
...
295937, r=shaver, sr+a=brendan
2005-07-19 21:40:33 +00:00
brendan%mozilla.org
58d03eb4ca
Restore JSClass.addProperty compatibility: it can mutate the nominal initial value (296967, r=shaver).
2005-07-19 21:13:19 +00:00
mrbkap%gmail.com
40148cb91b
bug 301204: Array.prototype.reverse is broken. Also fix a bug in Array.prototype.slice, when begin > end. r=shaver a=bsmedberg
2005-07-18 18:44:22 +00:00
brendan%mozilla.org
3e8bd2bf55
Back out last patch to see whether luna turns green from orange.
2005-07-16 05:41:35 +00:00
mrbkap%gmail.com
8a6dc8176d
bug 298286: JS_ReportCompileErrorNumber doesn't deal with jschar arguments. This fixes error reporting in jsregexp.c. r+a=brendan
2005-07-16 02:22:55 +00:00
mrbkap%gmail.com
fb3b573051
bug 289933: make regexps and script objects be of type 'function' to imitate IE. r+a=brendan
2005-07-16 02:03:26 +00:00
brendan%mozilla.org
2b1250c42b
Avoid entraining garbage in getter/setter slots by eliminating the slot (300562, r=jst, sr=shaver).
2005-07-15 22:31:44 +00:00
peterv%propagandism.org
0645545845
Fix for bug 300550 ("toString" enumerable on window.location). r=jst, sr=brendan, a=brendan.
2005-07-15 14:43:56 +00:00
brendan%mozilla.org
5565b249e1
Followup fix to 300008 (300867, r+a=me).
2005-07-15 06:24:22 +00:00
alecf%flett.org
ae10010020
fix for crash in xpcshell in optimized builds, bug 300829
...
use free() rather than nsMemory::Free() to free it from the right pool
r/sr/a=shaver
2005-07-14 21:03:09 +00:00
mrbkap%gmail.com
a92ebcfd67
Part of bug 300736: Reflect Narcissus' evaluate in the global object since we expose it natively in the shell now. r=brendan
2005-07-14 07:22:58 +00:00
brendan%mozilla.org
03535ebd33
Fix subtle-ish bugs to do with ECMA-262 10.1.8 (292215, r=shaver).
2005-07-14 00:56:33 +00:00
brendan%mozilla.org
288c76c164
Fix hard case of formal param and local function with same name (299639, r=shaver).
2005-07-14 00:47:41 +00:00
brendan%mozilla.org
9f282a97cc
Fix left operand of for/in loop control evaluation order bug (299641, r=mrbkap).
2005-07-14 00:44:27 +00:00
bzbarsky%mit.edu
621eb81d00
Allow setting "expando" properties on XPCNativeWrapper. Bug 300325, r=jst,
...
sr+a=brendan
2005-07-13 21:10:37 +00:00
mrbkap%gmail.com
6d682be208
bug 299898: Get Narcissus running the js tests. This adds a way for it to load scripts (using snarf) relative to the calling script (such as js.js). r=brendan a=shaver
2005-07-13 16:49:02 +00:00
mrbkap%gmail.com
0893b6fd38
bug 299738: Fix jsarray.c to not fill holes in arrays. r=brendan a=bsmedberg
2005-07-13 16:38:46 +00:00
mrbkap%gmail.com
f47551589c
bug 300534: Internal Narcissus functions show up in objects' prototypes. This fixes a failure on the js testsuite and also fixes Narcissus' failure on SpiderMonkey's bug 299641. r=brendan
2005-07-13 02:46:10 +00:00
brendan%mozilla.org
5a2cebdfa7
Oops, tree wasn't open -- Chase needs to pull again, so backing out temporarily.
2005-07-13 02:12:28 +00:00
brendan%mozilla.org
fb8fb510c0
Fix arg vs. nested function hard case 299639, r=shaver).
2005-07-13 02:00:05 +00:00
mrbkap%gmail.com
931cce4bcd
bug 299898: Allow the js testsuite to be run through Narcissus. To do so, give the -n or --narcissus (=optional/path) to the test driver along with the shell, and Narcissus will be run through the shell. r=bclary
2005-07-12 00:23:45 +00:00
brendan%mozilla.org
deb9f0c764
Add a subsumes relation to principals so JS can handle all cases when checking indirect eval (and the like) calls (300008, r=caillon/dveditz, sr/a=shaver).
2005-07-08 23:26:36 +00:00
bzbarsky%mit.edu
d93cc7761b
Clear the global objects when unrooting them so that we don't leak via cycles
...
through the global (which is the parent of the proto for various functions on
the one hand and references various prototypes on the other hand). Bug
300023, r=shaver, sr=brendan, a=asa
2005-07-08 20:39:02 +00:00
mrbkap%gmail.com
1019876438
bug 300025: Fix a couple of small bugs in editline. r+a=shaver
2005-07-08 01:07:55 +00:00
joshmoz%gmail.com
d9027016bd
remove XP_MAC stuff from js. b=281889 r=brendan a=brendan
2005-07-07 22:35:40 +00:00
brendan%mozilla.org
e4a82727bb
Add dummy or first params to constructors so they have the right arity (length property).
2005-07-07 21:47:59 +00:00
shaver%mozilla.org
83000e23bd
Bug 299980: rename Components.util to Components.utils to match other
...
Components children, and developer expectation. telepathic-r=brendan,
a=bsmedberg.
2005-07-07 19:34:35 +00:00
roc+%cs.cmu.edu
f3a8050527
Bug 299750. Fix gcc4 warnings about unused variables. r=brendan,a=brendan,patch by Wolfgang Rosenauer
2005-07-07 18:26:28 +00:00
brendan%mozilla.org
71eab9c0ac
Keep Activation objects from being polluted by native Object.prototype props (using bug 299898, r=mrbkap).
2005-07-07 07:29:21 +00:00
mrbkap%gmail.com
b6459f7951
Narcissus can now run the Javascript tests, to some extent. Fix a couple of bugs found by the js tests (we were unable to parse the generated function resulting from new Function() and String.fromCharCode was not defined). evaluate() now returns its argument if it isn't a string (to catch things like evaluate(load(...))).
2005-07-07 00:53:44 +00:00
brendan%mozilla.org
67eeb2edef
Rename FunctionDeclaration to FunctionDefinition, since it handles declarations, statements, and expressions (mimicing ECMA).
2005-07-07 00:21:09 +00:00
timeless%mozdev.org
f256aab78a
Bug 283533 OOM crash [@ XPCIDispatchClassInfo::GetInterfaces]
...
patch by b.jacques@planet.nl r=shaver sr=shaver a=bsmedberg
2005-07-06 17:47:27 +00:00
mrbkap%gmail.com
e64283ed56
bug 299781: Implement a -e <script> option in the js shell and xpc shell, like perl. Also implement -x in the xpc shell. r=shaver a=brendan
2005-07-06 05:51:07 +00:00
brendan%mozilla.org
c003312974
Fix * and function:: magic object management (299593, r+sr=bz/shaver).
2005-07-06 04:49:35 +00:00