Commit Graph

96 Commits

Author SHA1 Message Date
fur%netscape.com
bdab8cdd7b Backing out check-in of these files that are causing pain with Mozilla builds,
at least until we can properly control search paths on the Mac.
1998-09-03 07:28:30 +00:00
fur%netscape.com
5e80fa90d7 Added Mac-specific defines. 1998-09-03 03:52:13 +00:00
fur%netscape.com
18dd63c61f *** empty log message *** 1998-09-03 03:51:38 +00:00
fur%netscape.com
97a8da12c8 Ignore generated files 1998-09-03 03:47:13 +00:00
fur%netscape.com
7640690581 Checked in wrong version of project by mistake. This is the right one. 1998-09-03 03:46:25 +00:00
fur%netscape.com
cafc3c054c Added comments and declaration of PR_Abort(). 1998-09-03 03:40:50 +00:00
fur%netscape.com
5927643e70 Project files to build standalone JS using mini-NSPR 1998-09-02 22:38:20 +00:00
fur%netscape.com
21b788956e Minimal NSPR subset required to build JS engine 1998-09-02 22:37:14 +00:00
fur%netscape.com
b73da9e0ca ignore generated files 1998-09-02 22:36:05 +00:00
mccabe%netscape.com
f9f7609482 Fixes for NetBSD and OpenBSD.
Thanks Marco S Hyman <marc@snafu.org>.
1998-09-02 07:56:50 +00:00
beard%netscape.com
811374c6e8 The equals method isn't native in the Mozilla tree. 1998-08-31 23:39:51 +00:00
beard%netscape.com
603876aec5 Changed JavaPackage_resolve so that it doesn't return immediately if quiet_resolve_failure is true. Otherwise, pre_define_java_packages fails. 1998-08-31 23:39:04 +00:00
warren%netscape.com
f20a6b1050 Added jsj_JavaMember.c (Changes from SpiderMonkey131_BRANCH of js/ref/liveconnect.) 1998-08-31 20:17:31 +00:00
beard%netscape.com
35cb9e3602 Changes from SpiderMonkey131_BRANCH of ns/ref/liveconnect. 1998-08-31 20:15:32 +00:00
shaver%netscape.com
52c57fa8ce JS_ConstructObject: fill NULL proto/parent like JSOP_NEW would 1998-08-26 06:14:55 +00:00
cls%seawood.org
9020b80c52 Updates to autoconf files. 1998-08-26 04:04:57 +00:00
brendan%netscape.com
3d80897294 Fix typos, int type mismatch, white-space, and layout style nits. 1998-08-25 08:23:34 +00:00
warren%netscape.com
34633de0da Fixed copyright. 1998-08-20 07:58:32 +00:00
warren%netscape.com
b2a8175de1 Added from SpiderMonkey131_BRANCH of ns/js/ref/liveconnect 1998-08-20 07:58:00 +00:00
cls%seawood.org
84f1cedcbb AUTOCONF_1_0 landing. 1998-08-19 20:42:14 +00:00
danm%netscape.com
492873494d (optionally) include GlowCode lib. a:warren,fur 1998-08-06 18:52:34 +00:00
sudu%netscape.com
91c3f3ae8b Fix to build js classes when NSJVM=1. 1998-08-06 01:01:42 +00:00
beard%netscape.com
7fa2321de7 Version check breaks HTML dialogs. 1998-08-05 05:25:12 +00:00
warren%netscape.com
668cddb22e Changes to build with MOZ_OJI, and optionally build NSJVM. Changes to regenerate jar files. Changed version number to 50. 1998-08-05 00:36:13 +00:00
warren%netscape.com
691f369418 Fixed crashes in reporting errors on failure to initialize. 1998-08-04 21:37:16 +00:00
bjorn%netscape.com
8594e662ce Additional xpcom support for JS. Currently not in use by anyone. See MyScriptable.{h,cpp}
for an example of how to use this interface.
1998-08-04 20:34:20 +00:00
shaver%netscape.com
eb1610d51c added JSVERSION_1_4, removed prconv.sed NULs 1998-08-01 19:52:50 +00:00
warren%netscape.com
d76d5017c2 Removed build of java classes. 1998-07-31 21:54:16 +00:00
warren%netscape.com
4383f3be0c Fixed _jni dir problem 1998-07-31 21:22:43 +00:00
warren%netscape.com
2299c5f98e Removed unzip step. 1998-07-31 21:12:32 +00:00
warren%netscape.com
c9bd5d8074 Landing changes in the OJI_19980727_BRANCH since the OJI_19980727_TIP_MERGE tag. 1998-07-31 20:19:50 +00:00
mccabe%netscape.com
a5b758e573 Another attempt to remove trailing nul characters added courtesy CVS. 1998-07-31 01:45:05 +00:00
mccabe%netscape.com
0ed94e2af6 Propagating numerous fixes from js/ref
and development branches, including but
not limited to:

- Preliminary exception handling per
ECMA proposal; try, multiple
catchblocks, and finally.  Catchblocks
are of the form catch (v) or
catch(v:<guard>), where guard is an
optional boolean expression that is
evaluated to determine whether the
exception is to be caught by that block.

- ECMA-proposed 'in' operator; "'foo' in
o" or "4 in o" asks if o has property
foo or element 4.

- Added a new set of defines in
jsconfig.h for js 1.4
features-in-progress.  (in, instanceof,
exception handling.)  Default build
version is now 1.4.  Fixed a few
conditional features that had become
broken.

- Progress towards porting to FreeBSD
and Alpha; casts of NaN and friends to
int are a little more localized.  Not
there yet...

- New config files to compile on more
OSes; various fixes to improve
portability.
1998-07-31 00:07:22 +00:00
warren%netscape.com
13b18ece68 Committed from OJI_19980618_TIP_MERGE1. 1998-07-28 02:07:25 +00:00
bjorn%netscape.com
a0387a053f Restoring tree to previous version. Should not affect the build. The previous
checkin had no impact on the build either, but I'll wait with these changes until
the tree is open again. Sorry for the inconvenience.
1998-07-23 22:25:16 +00:00
bjorn%netscape.com
e0fe36440e New version of jsIScriptable.h (clobbers the old one). New files added for
testing (MyScriptable) and embedding support (JSWrapper,jsIScriptable,main).
1998-07-23 20:46:28 +00:00
warren%netscape.com
f52ab79efa Added generated files for when we're not building java anymore. 1998-07-21 05:42:12 +00:00
shaver
e8ab388331 more jsI?Context stuff, some Scriptable hackery 1998-07-15 16:59:47 +00:00
danm
30f8c8b987 glowcode. bug 299200 a:don. 1998-07-09 16:33:15 +00:00
shaver
e9ce00cce2 start at jsContext and jsRuntime implementations, enough to run trivial script 1998-07-08 16:53:49 +00:00
shaver
4687e1488a forgot the NPL 1998-07-01 19:59:06 +00:00
shaver
ae05f5bb1b adding XPCOM interface support (non-functional) -- not part of Gromit 1998-07-01 18:18:00 +00:00
atotic
4016099b3f Implemented MyReadLocation inline to remove the NavigatorStubs dependency 1998-06-26 23:35:01 +00:00
fur
b8940b6cb4 Propagation of numerous bug fixes from 4.06 (which have been reviewed
and tested in that release):

#114564: Fix JS_Enumerate to return an empty id array instead of null
#115395: Fix JS garbage collection
#115200: Security dialog no longer blows assertion
#123211: Make sure output of sort array function is -1, 0, or 1.
#116195: Fix ImportProperty(), cope with an existing local variable
         of the same name as the imported property
         Unbusticate JS_invoke() so that closures work again
#115384,#115395: Handle bugs in toSource that strike when
         getProperty is non-idempotent.  Fix crash during JavaScript
         garbage collection after enumerating object properties.

#??????: mjudge - Win16 files to make ptrdiff_t be 32 bits on Win16
1998-06-09 23:04:48 +00:00
shaver
7c6a64dcbf added JS_YieldRequest to API (me), and removed assertion in InitClass (mlm) 1998-06-09 21:39:58 +00:00
shaver
5b0b04e0e0 first arg to Script.prototype.exec is scopeobj, not second-with-ignored-first 1998-06-09 21:10:45 +00:00
fur
c1fc5ee0e8 Replacement for stddef.h in the JS interpreter which defines ptrdiff_t to be 32 bits rather than 16 bits on Win16 only 1998-06-09 21:05:54 +00:00
norris
0565e32750 Fix 123552 Array length updating is incorrect
js> a = new Array()

js> a["3.00"] = "three"
three
js> a.length
4

Since "3.00" is not an array index as defined by ECMA, a.length should be 0.
1998-06-09 16:47:00 +00:00
norris
864c2c19a9 Fix bug 104191 "ECMA: multiple params w/ same name":
Decompiling "function f(a,b,a) { ... }" would only print two parameters.
1998-06-08 23:41:54 +00:00
mccabe
35af634eff ECMA fix to bug (93557). When excecuting the Function constructor,
treat all the 'arguments arguments' as if they were concatenated
together as a comma-separated list, and treat the list as if it were
the arguments list in a normal function declaration.  That is, allow
comments, arbitrary whitespace, etc.

Fixed by introducing a TokenStream instance in the Function contructor
code.
1998-06-08 19:04:17 +00:00