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

6741 Коммитов

Автор SHA1 Сообщение Дата
joshmoz%gmail.com 818a1b3c3d 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 fa38aba20f 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 d76596070d No silent failures! (301553, r=shaver). 2005-07-22 16:55:15 +00:00
brendan%mozilla.org ff9ec71c1c 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 9e4927f615 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 77c3043556 Fix js_FilterXMLList to save and restore fp->spbase (301596, r+a=shaver). 2005-07-21 19:14:30 +00:00
joshmoz%gmail.com 6bf82a547b 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 e5d810da0e Bug 301353 (followup): return value from JS_ThrowReportedError, telepathic
r=brendan, a=shaver.
2005-07-20 15:35:13 +00:00
mrbkap%gmail.com 501acc3452 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 c89e210546 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 ad48b3491d 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 7b8f6fcef2 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 2a1e999a12 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 430661c47f tweak system to place redirect_command after stdout redirect, bug 301346 2005-07-20 02:27:42 +00:00
bob%bclary.com ceca37103d 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 b616c7f790 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 676c9065b1 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 a1c3b628bd 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 3981a08303 Back out last patch to see whether luna turns green from orange. 2005-07-16 05:41:35 +00:00
mrbkap%gmail.com 702acea788 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 0fd1ab3be4 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 5c43f60b57 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 54c4e47901 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 55837fc6ba Followup fix to 300008 (300867, r+a=me). 2005-07-15 06:24:22 +00:00
alecf%flett.org 30bd4584f3 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 2b3aedfa9d 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 81a08e79da 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 8ec65a71e9 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 e9a2b70fb2 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 1319733200 Allow setting "expando" properties on XPCNativeWrapper. Bug 300325, r=jst,
sr+a=brendan
2005-07-13 21:10:37 +00:00
mrbkap%gmail.com b7d0bf3197 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 a23e65e0a2 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 44f2bb5d5a 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 b568b03d61 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 cab26858e9 Fix arg vs. nested function hard case 299639, r=shaver). 2005-07-13 02:00:05 +00:00
mrbkap%gmail.com a5726eda35 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 ce97f202bd 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 bc80ea6d4f 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 4ab442a6ec bug 300025: Fix a couple of small bugs in editline. r+a=shaver 2005-07-08 01:07:55 +00:00
joshmoz%gmail.com eff44ce0c4 remove XP_MAC stuff from js. b=281889 r=brendan a=brendan 2005-07-07 22:35:40 +00:00
brendan%mozilla.org c194893123 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 e7f17d0e89 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 0b9f524215 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 90d786d526 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 115ccdee6a 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 851b03c243 Rename FunctionDeclaration to FunctionDefinition, since it handles declarations, statements, and expressions (mimicing ECMA). 2005-07-07 00:21:09 +00:00
timeless%mozdev.org f2679e0b87 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 b6d30b02df 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 0878ba22cb Fix * and function:: magic object management (299593, r+sr=bz/shaver). 2005-07-06 04:49:35 +00:00
bzbarsky%mit.edu bcd6ee2606 Juggle the proto chain for XPCNativeWrapper a bit. Bug 299520, r=jst, sr+a=brendan 2005-07-06 04:03:17 +00:00