Commit Graph

31423 Commits

Author SHA1 Message Date
mccabe
17cfa3171d Removed some unused constants. 1998-04-30 00:14:07 +00:00
mccabe
2069c9a726 Removed some unused lines related to jsdate.c. 1998-04-30 00:11:31 +00:00
mccabe
e1dc792c82 ECMA-conformance fix to (95045) - added 'enum' and 'debugger' as
reserved words, and changed the versioning check that previously
applied to 'export' to accept any 'ecma' version... which means that
export becomes a keyword for the default version.  Does this mean
we'll need to unreserve all the java keywords?  Not sure we want to do
that...
1998-04-29 23:57:20 +00:00
mccabe
02625b5eed Fixed error message associated with trying to use a keyword as an
identifier; it was only printing the first character of the
identifier, because it expected 8-bit chars, and was being called with
a 16-bit representation of the offending keyword.
1998-04-29 23:52:40 +00:00
donm
54bc29b433 removing Henrit's jsfile.c and jsfile.h to fix unix build bustage. 1998-04-28 18:00:54 +00:00
donm
c2cd5bc4c8 backing out Henrit's changes to fix build bustage. 1998-04-28 18:00:00 +00:00
sar
3a6d6dd264 jsfile doesn't compile on unix. Backing out the changes that henrit put it 1998-04-28 17:57:43 +00:00
sar
6e382a7508 reapply henrit's change since we can add it to unix as well. 1998-04-28 17:23:08 +00:00
donm
3477d9ae83 fixing unix build bustage. 1998-04-28 17:19:14 +00:00
sar
7f6fa636c2 backing out henrit's changes 1998-04-28 17:02:22 +00:00
henrit
7953279dca Adding a first version of the js File object. Developped and (slightly) tested on win32 only. 1998-04-28 11:36:17 +00:00
mccabe
99396570cc Added public license header. 1998-04-28 07:33:09 +00:00
mccabe
678448adf5 Added disambiguating braces to appease gcc 2.8.1 warning. 1998-04-28 01:22:19 +00:00
mccabe
a482d8b2ad Fix to (115008). ECMA fix - revert to earlier behavior of decompiling
functions created with new Function as "function anonymous (...)".
Now only version 1.2 decompiles to the source for an anonymous
function.
1998-04-25 08:37:06 +00:00
mccabe
a0a6fb8f1a Pared down prmjtime.c and prmjtime to just what is needed by jsdate.c
and synchronized them with js/ref/prtime.[ch].
1998-04-25 07:42:22 +00:00
mccabe
4f58f5a6a5 Add some braces to quiet dangling-else warnings by gcc 2.8.1. 1998-04-25 05:24:42 +00:00
mccabe
c4ea21a5bf Call JS_GC instead of js_GC within JS_MaybeGC. Thanks to
A. Hodgkinson <ahodgkin@acorn.co.uk> for finding this (and to chouck
for checking it in to js/ref/jsapi.c.)
1998-04-25 05:11:41 +00:00
bjorn
e04b1c56e3 Protection around ASFILES added, so that gcc runs smoothly. 1998-04-24 19:02:01 +00:00
fur
2c1194e1cf Eliminate non-ECMA warnings about lack of return value 1998-04-24 17:56:47 +00:00
fur
5858e3255b JS1.3 initial check-in 1998-04-24 01:28:40 +00:00
fur
8a12d3745a Initial checkin of JavaScript 1.3, migrated from JSFUN13_BRANCH in /m/src repository 1998-04-24 00:31:11 +00:00
mccabe
b165bb1b24 Makefile hacking to make 'gmake js' work in ns/js/src. Abstracted a
few constants, added -ldl for Linux.  Tested on Irix 6.3, SunOs 5.6,
Linux 2.031.
1998-04-23 00:39:10 +00:00
ltabb
c4cc52826a Free the lizard 1998-03-28 02:44:41 +00:00