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

1426 Коммитов

Автор SHA1 Сообщение Дата
rginda%netscape.com 66eace8ec4 Initial checkin of "import test list" dialog. 1999-11-17 22:31:07 +00:00
rginda%netscape.com 215c9fb617 * Global.java
Cleared global.exitCode in quit() just to be safe.
* Main.java
  Adjusted exit code constants to match the js and xpcshells.
1999-11-17 20:26:17 +00:00
rogerl%netscape.com 32dc38be7a Changes for JS1.5 build under AIX4.3.
(Not a part of SeaMonkey builds)
1999-11-17 18:34:04 +00:00
brendan%mozilla.org 91f5474c6d Unregress top-level lambda expressions not in with statements to avoid full closure overhead. 1999-11-17 07:41:12 +00:00
brendan%mozilla.org 9dea6e1311 Whitespace, comment, and bracing diffs. 1999-11-17 04:32:37 +00:00
brendan%mozilla.org 0c23adf941 Brutal sharing followup (15146, r=shaver@mozilla.org)
- jsinterp.c changes: 
__- JSOP_CLOSURE comment fixes.
____(NB: ECMA ed 3 seems to require that we abolish the Closure object altogether, replacing it with a new Function object where we used to make a new closure.  That says we should use JS_CloneFunctionObject or an internal form (js_).) 
__- Use obj rather than the same-valued fp->scopeChain as fourth argument to js_ConstructObject. 
__- JSOP_DEFFUN change to auto-clone when running a script in a different scope from the one the compiler used for static function scope linkage. 
__- Remove bogus assertion from JSOP_DEFVAR/CONST: case.

- jsparse.c/.h changes:
__- Restored outerFun test to FunctionDef in jsparse.c, so that we make a closure if (outerFun || lambda || !funAtom) -- i.e., if we're compiling
____- A function statement within an active function via eval;
____- We're compiling a function expression statement (not at apparent-to-compiler top-level; part of some kind of compound statement, e.g. if or with);
____- Or the function, even at top statement level and not in another function, has no name. 
__- Don't predefine local variables at compile time if they're in with statement
__- Enforce const at compile time for local consts

- Minor jsemit.[ch] cleanup.
1999-11-17 04:13:05 +00:00
rginda%netscape.com ddf7c8abff Initial add of new (universal) perl test driver, and test case selection tool. 1999-11-17 02:05:29 +00:00
rogerl%netscape.com a4b5bd38a3 Added changes at Jane's request.
(Not a prt of SeaMonkey build)
1999-11-17 00:05:45 +00:00
rogerl%netscape.com 611b51e8af Added new defs at Jane's request.
(Not a prt of SeaMonkey build)
1999-11-17 00:04:49 +00:00
norris%netscape.com 0bc8473ac6 Make -f semantics match those of the C engine. 1999-11-17 00:04:17 +00:00
norris%netscape.com cc086cb5fe Add contributor. 1999-11-16 23:58:11 +00:00
norris%netscape.com 607deed027 rginda's changes for having quit() take an exit code. 1999-11-16 23:57:23 +00:00
rogerl%netscape.com 8144a593a1 r=norris.
Fix overrun by back-reference digit sequence parsing.
1999-11-16 23:54:18 +00:00
rogerl%netscape.com cdcebfe33e r=norris
Fix for toString under 1.2 - calls toSource which provides extra '{}' that
doesn't match previous behaviour.
1999-11-16 23:53:33 +00:00
rogerl%netscape.com 4854c3f97e r=norris
Fixed handling of weird indices (NaN etc) for charCode and charCodeAt.
Bug #16984
1999-11-16 23:52:08 +00:00
rogerl%netscape.com 3894fb0d94 r=norris.
Changes for ECMA compatible function.apply handling of missing or null args
Bug #16984
1999-11-16 23:51:02 +00:00
jdunn%netscape.com d70d78c6bf Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
brendan%mozilla.org 51bd99c904 Fix exception bytecodes to use script->main (18926, r=jband@netscape.com). 1999-11-16 02:15:22 +00:00
rogerl%netscape.com 437f6d82ed Backing out changes to script.exec scope access. r=norris 1999-11-15 22:54:06 +00:00
jband%netscape.com d70c6df7f7 r=norris. Fix for bug 18702. Adds code to track whether caller to xpconnect is native or JS. This allows xpconnect to decide to not call security manager to filter calls originating from native code 1999-11-15 22:11:21 +00:00
brendan%mozilla.org 983c73ff27 Disassembler uses ToSource, not ToString, where appropriate (DEBUG only change). 1999-11-15 21:11:59 +00:00
brendan%mozilla.org 817c450eb6 Fix 18684, bad combo of old-latent and new bugs (r=shaver@mozilla.org). 1999-11-12 20:41:04 +00:00
waldemar%netscape.com bdcf4fd531 Changed external-link-base 1999-11-12 07:24:40 +00:00
waldemar%netscape.com 601517cf29 Added language declarations, ?id syntax, ^^, ^^=, units. Updated list of future reserved words. Allowed definitions in compount statements. 1999-11-12 07:24:19 +00:00
waldemar%netscape.com 7e1c468432 Updated list of keywords 1999-11-12 07:22:27 +00:00
brendan%mozilla.org c3a9800360 XULDOMJS_19991106_BRANCH landing (15146, 18025, r=shaver@mozilla.org) 1999-11-12 06:03:40 +00:00
mccabe%netscape.com e791da07ae Fix most remaining warnings in js/src. Patch courtesy slamm.
r=mccabe.
1999-11-11 21:52:35 +00:00
mccabe%netscape.com 2038be4c8f Warning fix for uninitialized structure members. r=fur,slamm. 1999-11-11 01:15:43 +00:00
waterson%netscape.com 28171fb013 Bug 18408. Use 'ObjectAt()' rather than 'Peek()', which looks at the
front of the queue. r=jband
1999-11-10 21:59:05 +00:00
shaver%netscape.com 9aa0c9d0e4 fix build bustage from big dumb shaver 1999-11-10 02:04:58 +00:00
shaver%netscape.com 74e1b89e09 - use JSThreadContextStack and JSRuntimeService (more) correctly in loader
- teach loader about unloading and deferring components
- turn off some DEBUG_shaver noise
- better error reporting
- use nsXPIDLCString
- use nsCOMPtr
- add missing cxstack->Pop() in the xpcshell
- Components.results.NS_ERROR_FACTORY_REGISTER_AGAIN (want better text for
  error message)
- handle thrown-nsresult correctly where C++ calls JS without an active JS
  stack
- remove missing cxstack->Pop() from TestXPC
r=jband,brendan
1999-11-10 00:34:26 +00:00
rogerl%netscape.com 37cda6d0ce Removed NativeClosure 1999-11-09 18:24:40 +00:00
norris%netscape.com 025bfe6158 Fix 18229: Bogus class file names being generated on Windows 1999-11-08 17:24:10 +00:00
dmose%mozilla.org 42fc94a6ec updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
dmose%mozilla.org 7a91d8fab2 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 02:47:15 +00:00
taek%netscape.com 0072dc81eb updated to use /share/builds/components 1999-11-06 02:11:18 +00:00
drapeau%eng.sun.com 69eb4dbdcf r=fur@netscape.com, approval=chofmann@netscape.com. Fix for bug 5369
("[PP]Crash on startup because of Java Plug-in 1.3 for Netscape
Navigator.")  Make the code more bulletproof by checking for NULL
arguments to several methods.  If JVM isn't running, jEnv arg should
be NULL.

This doesn't entirely fix the problem of a JVM gone awry in all cases;
in the case of this particular bug, the Sun JDK 1.3 Beta HotSpot VM
caused an error, and there's no way for Mozilla code to detect this
failure mode.  The fix for that half of the problem is to use the new
JDK 1.3 Early Access VM, which does not exhibit the problem.
1999-11-06 00:24:42 +00:00
norris%netscape.com a4e924fe2a Unify evaluation code to improve consistency and improve code size. 1999-11-05 22:18:24 +00:00
norris%netscape.com 38a8ca4e67 Remove JSuncaughtExceptionLine, use an error reporter to report line number info instead. 1999-11-05 21:48:05 +00:00
norris%netscape.com 8ad5772c17 Improve performance of the non-error call code. 1999-11-05 21:23:10 +00:00
rogerl%netscape.com 17f55ab4a6 Removed - not an ECMA thing and supplanted by a different mechanism. 1999-11-04 00:01:00 +00:00
rogerl%netscape.com 448bd845c0 Fix back-reference parsing from going too far in source string 1999-11-04 00:00:14 +00:00
rogerl%netscape.com a9e5d64d21 Replaced Closure object with FunctionObject clone 1999-11-03 23:59:35 +00:00
rogerl%netscape.com 97edcab2f0 Removed NativeClosure 1999-11-03 23:58:51 +00:00
rogerl%netscape.com cbb133796d Fix nested finally endless loop.
Replaced Closure object with FunctionObject clone.
1999-11-03 23:57:56 +00:00
rogerl%netscape.com 94ebb494f8 Add closure support 1999-11-03 23:56:28 +00:00
rogerl%netscape.com a474444e6a Removing NativeClosure 1999-11-03 23:55:59 +00:00
rogerl%netscape.com 64616a42c4 Not a part of SeaMonkey Build
- new LiveConnect AIX4.3 makefile for server builds
1999-11-03 22:55:03 +00:00
rogerl%netscape.com 732304de4e Added defn of AIX4_3 to help fix dup typedef int8,int16 etc 1999-11-03 18:56:17 +00:00
mccabe%netscape.com f8ee12e046 Fix many nsInterfaceInfo leaks, thanks in part to patches provided by Patrick Beard. Fixes 15855. Some remain.
Clear up build warnings, and quiet nsInterfaceInfomanager debug output unless DEBUG_iim.  Makes startup a li'l less noisy.  Fixes 15628.

r=jband
1999-11-03 07:23:37 +00:00