Commit Graph

11268 Commits

Author SHA1 Message Date
val4%cornell.edu
2c19d573b9 Some HTML magic for displaying the readme.
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17965 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 21:10:40 +00:00
rogerl%netscape.com
44e18f453b Removed redundant code.
Changed anchorRegExp to ignore emptiness as a criteria for inserting an
anchor.
Prevent '\0' from being included in NCCLASS.


git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17959 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 18:55:38 +00:00
val4%cornell.edu
e8ee11cc30 Background image
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17944 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-18 03:43:04 +00:00
val4%cornell.edu
f97650ff4d Added toURL() support in jsfile.[c/h]. Needed to change jsstr.*
to accomodate that.


git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17756 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 22:48:51 +00:00
mccabe%netscape.com
6398fd3969 New config file for 64-bit IRIX 6.2. It just includes IRIX.mk.
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17751 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 21:50:48 +00:00
val4%cornell.edu
64bc56432a Combined error messages into classes
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17728 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 08:02:06 +00:00
val4%cornell.edu
9c0688e086 Changed the signature of js_FileInit call, so had to change jsapi.c
to reflect that. Numberious changes in jsfile.c: native support only
works for standard streams and pipes, error handling, macros, url
support, etc.


git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17723 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 07:45:51 +00:00
val4%cornell.edu
1e17c44fbd I am going to change the native file support to only support pipes and
standard streams. Otherwise, there are too much problems.


git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17698 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 04:55:40 +00:00
brendan%netscape.com
02486bc176 JSOP_EVAL renaming and related JSVERSION_IS_ECMA simplification.
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17686 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 02:33:10 +00:00
brendan%netscape.com
74736d0aa2 Use #if defined XP_PC and _MSC_VER before comparing _LIB_VERSION to _IEEE_ for Windows-only hackaround.
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17685 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 02:32:33 +00:00
val4%cornell.edu
e62feeeeb5 Various changes: formating, error handling, minor bugs.
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17684 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 02:24:05 +00:00
val4%cornell.edu
25629114ff Moving to SpiderMonkeyDev_BRANCH.
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17669 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 23:50:27 +00:00
(no author)
f0dc15e6f1 This commit was manufactured by cvs2svn to create branch
'SpiderMonkeyDev_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17667 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 23:39:47 +00:00
rogerl%netscape.com
767e2ceb35 Added check for end of string to NONALPHA/DIGIT/SPACE anchors so we don't
always find them there.


git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17660 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-13 21:29:17 +00:00
rogerl%netscape.com
444c87e0f5 Added define for new MULTILINE instance property
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17589 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 17:19:30 +00:00
rogerl%netscape.com
6995e6db68 Major changes to add Perl5 stuff -
- ungreedy versions of + * {}
- non-capturing parens (?:  )
- multiline as an instance property (set with m flag)
Also bug fixes for -
- "|a" was being interpreted as a 2 char literal instead of an alternate
with an empty first case.
- { } wasn't back-tracking.


git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17524 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 00:08:36 +00:00
mccabe%netscape.com
036f73d888 Partial work towards fixing array methods to always preserve empty
elements.  Currently turned off via JS_HAS_SPARSE_ARRAYS in jsconfig.h.


git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17328 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 21:47:50 +00:00
brendan%netscape.com
017f8429a6 Fix anchoring and multiline bol-matching to handle empty match at end (mozilla bug 2157).
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17210 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-06 00:38:00 +00:00
brade%netscape.com
a548931dc2 checkin to correspond with previous checkin on trunk (add typecasts to reduce Macintosh compiler warnings). r/a mccabe
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17100 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-04 17:15:58 +00:00
mccabe%netscape.com
2edfbcee56 Fixes to bugzilla bug 2021. Thanks to Rainer Staringer
<rainer@aaa-plus.com> for great memory leak and garbage variable
fixes.

These fixes clear up some leaks in the errors-as-exceptions mechanism
(currently turned off in jsconfig.h), and also some uninitialized
variables that sometimes resulted in garbage fields in the ErrorReport
struct, independent of the exception code.


git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@16822 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-22 22:12:00 +00:00
rogerl%netscape.com
a2eaa7c8b9 When the current frame has a null script or pc value, try looking at the
next frame to see if it has any idea where the error came from.


git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@16106 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 23:35:48 +00:00
shaver%netscape.com
4d96b37aed fix up AddRoot handling
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@16095 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 21:41:20 +00:00
rogerl%netscape.com
be859bc4a8 Added new JSOP_CALLSPECIAL op to decompilation (used to protect eval from
indirect calls)


git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@15994 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-08 21:58:17 +00:00
fur%netscape.com
ce4a0d7dfa Compiler-generated file shouldn't be checked in
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@15502 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-01 04:23:35 +00:00
wynholds%netscape.com
c8d156d137 using cp on NT, which is bad, but i can't get copy to work. hmmmm -mw
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@15207 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:44:45 +00:00
wynholds%netscape.com
afc0070e3a don't need nsinstall-target anymore. -mw
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@15199 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 00:13:43 +00:00
fur%netscape.com
6757eb6507 Fix #335449:
[[DefaultValue]] operator doesn't call valueOf() for function/closure
    objects when hint is not JSTYPE_STRING.


git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@14943 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-19 09:13:48 +00:00
mccabe%netscape.com
921da2b46b Fix wording nits
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@14664 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 05:57:58 +00:00
mccabe%netscape.com
774b05a64e Move -lreadline, -ledit etc. to new $(PROG_LIBS) variable, so that
they're not added to the compile lines for libjs, but only to the js
executable.


git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@14663 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 05:51:50 +00:00
jband%netscape.com
eb37b3b03b fixes to make source work right in debugger after mccabe's changes
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@14662 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 05:19:00 +00:00
mccabe%netscape.com
c33d03c991 remove &^@!& trailing NUL characters added by cvs checkin!
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@14658 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:52:28 +00:00
mccabe%netscape.com
03091e4c57 - Added APIs that allow much cleaner support of interactive execution;
this made it possible to remove the TSF_INTERACTIVE flag from the
scanner, and also much SCAN_NEWLINES twiddling.

- Restructured js.c to use the new interactive APIs; interactive
execution now parses the same language grammar as execution from a
file - it's now legal to put opening braces on a new line.  This
fixes a longstanding bug where

while(false)
5

evaluated to 5 in interactive mode.

- Added support for line-editing and history for the standalone
javascript engine; added files for the open-licensed 'editline'
library.  Line-editing is currently enabled for Linux, Irix and SunOS,
and is likely to work elsewhere; see editline/README.

- Fixed rules.mk to recur into PREDIRS and DIRS for clean and clobber.


git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@14655 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:24:06 +00:00
mccabe%netscape.com
d3f6fcb126 logmsg
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@14652 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:14:50 +00:00
rogerl%netscape.com
0351cf31cb Eek, left the debug flag turned on.
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@14600 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 19:08:29 +00:00
rogerl%netscape.com
6d3eca4275 Fixed the debug dump for unicode ops.
Fixed bug in ucclass op following anchor1 op - needed to update next pc
value to account for length of ucclass data.


git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@14599 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 18:48:04 +00:00
mccabe%netscape.com
0d867e309d Fix to 333916. Error reports resulting from uncaught exceptions get
the JSREPORT_UNCAUGHT_EXCEPTION flag.  Moved this code out of #if
HAS_ERROR_EXCEPTIONS code, because it applies to all exceptions, not
just error exceptions.


git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@14279 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 08:29:28 +00:00
shaver%netscape.com
4eae6b10bd remove old *.mk sanity checking that autoconf doesn't need anymore
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@14192 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-06 06:21:12 +00:00
jband%netscape.com
e2462a0ad5 Converted #define'd ids to enums and moved all enums from jsdebug.h to jsdenums.h for shared use from jsdebug.h classic public api and jsdxpcom XPCOM public api. Added very-not-yet-functional jsdxpcom.h
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@14161 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 21:17:09 +00:00
(no author)
ba07bbb4d5 This commit was manufactured by cvs2svn to create branch
'SpiderMonkeyDev_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@14139 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 08:57:25 +00:00
jband%netscape.com
8719b2fcc7 not part of mozilla build - merging from SpiderMonkey140_BRANCH
git-svn-id: svn://10.0.0.236/trunk@14138 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 08:57:24 +00:00
jband%netscape.com
33de54eaeb not part of mozilla build - merging from SpiderMonkey140_BRANCH
git-svn-id: svn://10.0.0.236/trunk@14137 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 08:47:44 +00:00
troy%netscape.com
e6a6c4d084 Make sure Linux links okay
git-svn-id: svn://10.0.0.236/trunk@14136 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 06:16:24 +00:00
troy%netscape.com
bc3d710f3f Changed frame construction code to create a simple page sequence frame
when paginated


git-svn-id: svn://10.0.0.236/trunk@14135 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 06:13:55 +00:00
troy%netscape.com
12070e6983 Updated to work with new frame construction code
git-svn-id: svn://10.0.0.236/trunk@14134 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 06:12:57 +00:00
joki%netscape.com
1adbedd6f9 Fixing missing '.h' on filename.
git-svn-id: svn://10.0.0.236/trunk@14133 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 05:50:20 +00:00
rpotts%netscape.com
6f2f42b217 fix bug #1112. Free the next stream listener as soon as OnStopBinding(...) is called...
git-svn-id: svn://10.0.0.236/trunk@14132 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 05:39:16 +00:00
rpotts%netscape.com
2b6176f9d8 fix bug #1112. For MODULAR_NETLIB never null out the fe_data field of the URL Struct...
git-svn-id: svn://10.0.0.236/trunk@14131 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 05:37:58 +00:00
rpotts%netscape.com
1d0fead886 fix bug #1112. Added support for multipart/x-mixed-replace content type
git-svn-id: svn://10.0.0.236/trunk@14130 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 05:37:02 +00:00
pavlov%pavlov.net
815a0d1a53 added gtk/nsWidgetFactory.cpp so that we are not dependant on the one in
Build.  Changed build/Makefile.in so that we do not compile
nsMotifWidgetFactory.cpp if we are using GTK as we have one in the GTK dir
now.
Add nsWidgetFactory.cpp to gtk/Makefile.in
Cleanup of nsWindow.cpp: removed lots of unused code and general cleanups and
fixes.
Don't create a toplevel window in nsAppShell.cpp as it isn't really needed.


git-svn-id: svn://10.0.0.236/trunk@14129 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 04:08:10 +00:00
spider%netscape.com
eaeddb7cbc Fix duplicate Adding of children into hierarchy during Window Creation.
This is done the first time in BaseCreate.


git-svn-id: svn://10.0.0.236/trunk@14128 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 03:26:41 +00:00