4934 Commits

Author SHA1 Message Date
mccabe
e6a6db8cd7 Removed some unused constants.
git-svn-id: svn://10.0.0.236/trunk@885 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 00:14:07 +00:00
mccabe
1912e0d8e7 Removed some unused lines related to jsdate.c.
git-svn-id: svn://10.0.0.236/trunk@884 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-30 00:11:31 +00:00
mccabe
6a0e192f5f 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...


git-svn-id: svn://10.0.0.236/trunk@881 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 23:57:20 +00:00
mccabe
6c9a40d28d 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.


git-svn-id: svn://10.0.0.236/trunk@880 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 23:52:40 +00:00
mccabe
85c8006a9f Added some #ifdef JAVA guards to remove compile warnings.
Thanks go to rick@spacey.net (Rick Osborne) for finding these.


git-svn-id: svn://10.0.0.236/trunk@828 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-29 02:39:43 +00:00
donm
27e88123d1 removing Henrit's jsfile.c and jsfile.h to fix unix build bustage.
git-svn-id: svn://10.0.0.236/trunk@776 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 18:00:54 +00:00
donm
0a9b29052c backing out Henrit's changes to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@775 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 18:00:00 +00:00
sar
55674ea59e jsfile doesn't compile on unix. Backing out the changes that henrit put it
git-svn-id: svn://10.0.0.236/trunk@773 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 17:57:43 +00:00
sar
1ca149714f reapply henrit's change since we can add it to unix as well.
git-svn-id: svn://10.0.0.236/trunk@771 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 17:23:08 +00:00
donm
d65fb3806c fixing unix build bustage.
git-svn-id: svn://10.0.0.236/trunk@770 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 17:19:14 +00:00
sar
6b83a1438a backing out henrit's changes
git-svn-id: svn://10.0.0.236/trunk@769 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 17:02:22 +00:00
henrit
71ce3e732d Adding a first version of the js File object. Developped and (slightly) tested on win32 only.
git-svn-id: svn://10.0.0.236/trunk@765 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 11:36:17 +00:00
mccabe
83d55f638a Added public license header.
git-svn-id: svn://10.0.0.236/trunk@747 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 07:33:09 +00:00
mccabe
a9f37501c2 Propagated some #defines to work with irix 6.3 as well as 6.2.
(HAVE_ALIGNED_DOUBLES)


git-svn-id: svn://10.0.0.236/trunk@746 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 06:35:55 +00:00
mccabe
734ff77d30 Corrected BUILD_OPT oversight where a = instead of a += override the
OPTIMIZER flag in the included config/*.mk file.


git-svn-id: svn://10.0.0.236/trunk@745 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 06:06:09 +00:00
mccabe
c9d08d5bba Added disambiguating braces to appease gcc 2.8.1 warning.
git-svn-id: svn://10.0.0.236/trunk@728 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 01:22:19 +00:00
mccabe
3b1a1c03e9 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.


git-svn-id: svn://10.0.0.236/trunk@643 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 08:37:06 +00:00
mccabe
7256cbaad6 Pared down prmjtime.c and prmjtime to just what is needed by jsdate.c
and synchronized them with js/ref/prtime.[ch].


git-svn-id: svn://10.0.0.236/trunk@642 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 07:42:22 +00:00
mccabe
a5b32ac223 Propagate a fix for #ifndef HAVE_LONG_LONG that found its way into src/prmjtime.c but not ref/prtime.c
git-svn-id: svn://10.0.0.236/trunk@641 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 05:26:09 +00:00
mccabe
68bd3eb6a0 Add some braces to quiet dangling-else warnings by gcc 2.8.1.
git-svn-id: svn://10.0.0.236/trunk@640 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 05:24:42 +00:00
mccabe
32987e37ee 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.)


git-svn-id: svn://10.0.0.236/trunk@639 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-25 05:11:41 +00:00
jband
947dc54830 removing code that is not supposed to be released to the public at this time. This code still lives (for now) under m/src/ns/js/ref/jsd/ on the branch JSFUN13_BRANCH
git-svn-id: svn://10.0.0.236/trunk@625 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 22:59:00 +00:00
bjorn
46adef01d2 Protection around ASFILES added, so that gcc runs smoothly.
git-svn-id: svn://10.0.0.236/trunk@609 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 19:02:01 +00:00
fur
0126732a29 When JS_MaybeGC() has decided to do a garbage collection, really do
it, even when the only assignments have been to local JS variables.
Thanks to ahodgkin@acorn.co.uk for noticing.


git-svn-id: svn://10.0.0.236/trunk@606 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 18:08:04 +00:00
fur
2d2471a609 Eliminate non-ECMA warnings about lack of return value
git-svn-id: svn://10.0.0.236/trunk@605 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 17:56:47 +00:00
fur
5972508b18 Fix numerous cut-and-paste errors in last checkin
git-svn-id: svn://10.0.0.236/trunk@592 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 06:57:00 +00:00
fur
39accdfa4b Temporarily disable charSet info so we can compile
git-svn-id: svn://10.0.0.236/trunk@589 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 06:26:57 +00:00
fur
2af8f4a686 (These files not built by any version of Navigator)
Initial check-in:
JSRef is migrating from /m/src JSFUN13_BRANCH to trunk /m/pub repository


git-svn-id: svn://10.0.0.236/trunk@583 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 01:42:37 +00:00
fur
dffbf084ac (This code is not built by any flavor of Navigator)
Initial check-in to mozilla tree: JSRef development is migrating from
JSFUN13_BRANCH of /m/src repository to /m/pub


git-svn-id: svn://10.0.0.236/trunk@582 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 01:35:13 +00:00
fur
425b4f0439 JS1.3 initial check-in
git-svn-id: svn://10.0.0.236/trunk@581 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 01:28:40 +00:00
fur
6e3cdaec31 Initial checkin of JavaScript 1.3, migrated from JSFUN13_BRANCH in /m/src repository
git-svn-id: svn://10.0.0.236/trunk@578 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-24 00:31:11 +00:00
mccabe
6e2b5dfd5c 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.


git-svn-id: svn://10.0.0.236/trunk@538 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-23 00:39:10 +00:00
briano
1a367fdb4e Changed the 'MACLINUX' macro reference to 'MKLINUX'.
git-svn-id: svn://10.0.0.236/trunk@210 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-14 00:00:42 +00:00
ltabb
8ed5afe62c Free the lizard
git-svn-id: svn://10.0.0.236/trunk@10 18797224-902f-48f8-a5cc-f745e15eee43
1998-03-28 02:44:41 +00:00