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

249 Коммитов

Автор SHA1 Сообщение Дата
brendan%netscape.com 29c5634c5e Fix typos, int type mismatch, white-space, and layout style nits. 1998-08-25 08:23:34 +00:00
brendan%netscape.com 8313910413 Fix typos, white-space, and layout style nits. 1998-08-25 08:22:27 +00:00
brendan%netscape.com d194ba2c1f Propagate js/src back-out of fur's incompatible closure version-check mod. 1998-08-25 08:21:55 +00:00
brendan%netscape.com 1d8a6c70e8 Propagate warren's OJI-related XP_MAC pragma change from js/src. 1998-08-25 08:21:09 +00:00
brendan%netscape.com b8ee323a68 Fix nits. 1998-08-25 07:56:42 +00:00
warren%netscape.com c428762e51 Fixed copyright. 1998-08-20 07:58:32 +00:00
warren%netscape.com c9964f9fa4 Added from SpiderMonkey131_BRANCH of ns/js/ref/liveconnect 1998-08-20 07:58:00 +00:00
cls%seawood.org 90d0af1408 AUTOCONF_1_0 landing. 1998-08-19 20:42:14 +00:00
mccabe%netscape.com a767affc84 Towards running w/o crashing on alpha linux; add -mieee flag to ask
the compiler to puhleeze let us used denormalized floating point
values, as required by the ECMA spec.  Thanks to various contributors,
including Torsten R�ger <torsten@ponton-hamburg.de>, for working on
numeric issues.  Fix courtesy wtc.
1998-08-12 22:09:21 +00:00
mccabe%netscape.com 0013dd0487 modified #if from __alpha to __osf__, because Alpha/Linux also runs on
an alpha processor, and we really want to know osf instead.  Courtesy
wtc.
1998-08-12 19:45:04 +00:00
danm%netscape.com 0d2583b95a (optionally) include GlowCode lib. a:warren,fur 1998-08-06 18:52:34 +00:00
sudu%netscape.com 2a072a9125 Fix to build js classes when NSJVM=1. 1998-08-06 01:01:42 +00:00
beard%netscape.com eb374adc87 Version check breaks HTML dialogs. 1998-08-05 05:25:12 +00:00
warren%netscape.com 93ccc7040b 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 7720555e35 Fixed crashes in reporting errors on failure to initialize. 1998-08-04 21:37:16 +00:00
bjorn%netscape.com 3f07b83d17 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 2690be0ced added JSVERSION_1_4, removed prconv.sed NULs 1998-08-01 19:52:50 +00:00
shaver%netscape.com a97c0e5ee9 added JSVersion JSVERSION_1_4 1998-08-01 19:43:23 +00:00
warren%netscape.com 2a36bb5ca9 removed jsj for MOZ_JAVA 1998-08-01 00:03:31 +00:00
warren%netscape.com 9bfdf95092 Removed build of java classes. 1998-07-31 21:54:16 +00:00
warren%netscape.com 94f09d2f58 Fixed _jni dir problem 1998-07-31 21:22:43 +00:00
warren%netscape.com 55c184c158 Removed unzip step. 1998-07-31 21:12:32 +00:00
warren%netscape.com 207bbebb65 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 0ce06a27df Another attempt to remove trailing nul characters added courtesy CVS. 1998-07-31 01:45:05 +00:00
mccabe%netscape.com 97db8e8a7c 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
mccabe%netscape.com d6b6b2000c Propagating work and bug fixes from
development branch:

- 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-30 23:46:29 +00:00
mccabe%netscape.com 980224a89e Added NPL. 1998-07-30 23:44:39 +00:00
warren%netscape.com a0c375aaa0 Committed from OJI_19980618_TIP_MERGE1. 1998-07-28 02:07:25 +00:00
mccabe%netscape.com 999a28a323 typedef of int64 for osf now avoids long long - because long long is a
compiler extension, and we want to be able to turn off compiler
extensions for osf.  And longs are long long there anyway.

Propagated from nspr, courtesy wtc.
1998-07-24 23:12:09 +00:00
bjorn%netscape.com d9a5c6f446 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 719cb64323 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 f3f8ff88a6 Added generated files for when we're not building java anymore. 1998-07-21 05:42:12 +00:00
mccabe%netscape.com 9bb08237dc added some more #if JS_HAS_SHARP_VARS checks so towards compiliation
under version 120 in jsconfig.h.  Other fixes needed, though...
1998-07-17 21:18:41 +00:00
mccabe%netscape.com 1b95117e0b Fixed #ifdef to #if for various features defined in jsconfig.h -
JS_HAS_IN_OPERATOR, and JS_HAS_INITIALIZERS.
1998-07-17 20:46:12 +00:00
mccabe%netscape.com 80154fca8a Fixed interpretation of JSOP_IN to match our ECMA proposal - throw a
runtime error if the RHS is not an object.
1998-07-17 19:10:46 +00:00
mccabe%netscape.com 9c24e20796 Modified grammar for for/in and the in operator to exclude parsing the
'in' keyword as an operator in the init clause of for loops; this
disambiguates for/in loop parsing.  (Previously, there was some
treenode examination magic going on.)  Per recent ECMA submission.
1998-07-17 02:56:04 +00:00
shaver a9cc847e2b more jsI?Context stuff, some Scriptable hackery 1998-07-15 16:59:47 +00:00
mccabe 9b0d78bf05 Added configuration section for js 1.4, with in/instanceof/exceptions turned
on.  (Default configuration is still 1.3.)
1998-07-15 03:00:24 +00:00
shaver fc9cae6d8f support int JSVALs in XDRValue (duh) 1998-07-13 16:12:41 +00:00
danm f2ba7ea301 optionally include GlowCode. bug 299200 a:don. 1998-07-13 00:22:53 +00:00
ramiro 8992e74cbe Fix broken '#if defined' and no new line at end of makefile. 1998-07-11 12:45:01 +00:00
mccabe 2bc52deb90 Added newline in 2nd comment to make the LXR indexer slightly happier.
Thanks to Dawn Endico <dawn@cannibal.mi.org> for LXR hacking.
1998-07-10 02:13:17 +00:00
danm 181ec43df6 glowcode. bug 299200 a:don. 1998-07-09 16:33:15 +00:00
shaver f49ed3305e start at jsContext and jsRuntime implementations, enough to run trivial script 1998-07-08 16:53:49 +00:00
mccabe 53b3ff3224 Changed the definition of JSDOUBLE_IS_INT(d, i) to delay a (jsint)d
cast until after the double in question has been determined to be
finite, not NaN, etc.  This may make the code a little more XP for
platforms like BSD and Alpha Linux that don't like casting strange
values to int.  Thanks go to Uncle George <gatgul@voicenet.com> and
hankin <hankin@consultco.com> for their porting work.
1998-07-08 07:56:43 +00:00
mccabe 314d515509 Made the assign hack conditional on JSVERSION_IS_ECMA. 1998-07-07 23:59:45 +00:00
shaver e907c6a086 tentative and likely useless script verifier for XDR (-DJS_XDR_SCRIPT_VERIFIER) 1998-07-04 19:45:46 +00:00
fur e30c123261 These files were moved to js/ref/liveconnect/macbuild/JavaSession. 1998-07-03 19:00:59 +00:00
fur 47c9f09d1c + Fixed heap corruption caused by free'ing of an uninitialized pointer.
+ Changed the way JS wrapper functions for Java instance methods are constructed.

  Previously, these were computed the first time that an instance method was
  accessed for a particular JavaObject and cached in the native, private portion
  of that JavaObject.  However, the required call to JS_AddRoot() causes an root
  to appear as a link in a cyclical graph, leading to uncollectible objects, i.e.
  the JavaObject has a root pointer to the function object and the function has
  a parent that points back to the JavaObject.  Now, we compute the functions
  at the time a class is reflected and use JS_CloneFunctionObject() each time
  a JS wrapper function is needed, which is slower, but avoids this GC problem.
1998-07-03 15:50:16 +00:00
fur fe28615c39 Tweaked comment. 1998-07-03 02:43:34 +00:00