Commit Graph

1122 Commits

Author SHA1 Message Date
rogerl%netscape.com
5291d8c9ba Backed out preventing multiple var decls in for..in stmts - it impacted
all for stmts instead, duh.
1999-09-16 22:12:29 +00:00
waldemar%netscape.com
91e826fe46 Shut up Linux compiler warnings 1999-09-16 08:16:21 +00:00
waldemar%netscape.com
e55fb72643 Updated standalone JS shell Mac project to remove accumulated breakage. Added debug build. 1999-09-16 07:54:01 +00:00
waldemar%netscape.com
8feda78b50 First Checked In. 1999-09-16 07:51:52 +00:00
waldemar%netscape.com
b50923f534 Added number formatting routines required by ECMA. Fixed several long-standing floating-point reading and writing bugs. Upgraded to latest version of David Gay's floating-point code to fix one of these bugs. Added many comments there. 1999-09-16 07:16:33 +00:00
waldemar%netscape.com
0b907a7d51 Turned on 64-bit integers on Mac 1999-09-16 07:13:23 +00:00
waldemar%netscape.com
b65ab6e437 Added ECMA number formatting 1999-09-16 07:12:30 +00:00
waldemar%netscape.com
ae87aea46b Added ECMA number formatting error message 1999-09-16 07:12:00 +00:00
waldemar%netscape.com
dddce9e3c3 Added NaN atom 1999-09-16 07:09:24 +00:00
waldemar%netscape.com
c5b0528299 Fixed Mac warnings 1999-09-16 07:08:49 +00:00
jband%netscape.com
88360fe5a9 fix for 13819 - missing a release 1999-09-14 22:51:04 +00:00
briano%netscape.com
f420cda7ac Whoops, deleted one too many endifs. 1999-09-14 00:10:22 +00:00
briano%netscape.com
0f77d2b30b General cleanup. 1999-09-13 23:49:27 +00:00
rogerl%netscape.com
9d06750893 Added define NES40 for server-related gc fixes 1999-09-13 21:08:26 +00:00
rogerl%netscape.com
6c8d67a904 Disallowed multiple variable declaration in for (var X in...) 1999-09-13 21:07:34 +00:00
cls%seawood.org
adf94e4618 Add -D_POSIX_SOURCE to DEFS to get rid of those useless 'index shadow' warnings. Add either -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 to whichever Makefile.ins need it to accommodate for Posix' strictness. Add check for getopt.h for nsinstall.c. 1999-09-12 14:25:28 +00:00
jband%netscape.com
83ffb3a7d0 check resolve op for null before trying to use it 1999-09-11 05:22:42 +00:00
jband%netscape.com
9ef85a0511 unfinished array support. fixes for exceptions 1999-09-11 05:21:30 +00:00
briano%netscape.com
0a4cd946e5 General cleanup. 1999-09-11 04:39:15 +00:00
briano%netscape.com
bfce118cad Got rid of some trailing spaces. 1999-09-11 04:37:48 +00:00
norris%netscape.com
e549457121 Fix potential NullPointerException. 1999-09-10 18:39:04 +00:00
norris%netscape.com
de8bedf312 Two submissions from Kurt Westerfield <kurt@westerfield.com>:
Subject:
        Embedding the shell
   Date:
        Wed, 8 Sep 1999 16:01:44 -0400
   From:
        "Kurt Westerfeld" <kurt@westerfeld.com>
     To:
        "Norris Boyd" <norris@netscape.com>




Norris, please find the attached zip file containing the (minor)
modifications to the Rhino shell module that enables the shell to be
embedded in a host application.

There are two areas of change to be concerned about:

    1. Any and all references to System.in/out/err have been modified to use
Main.in/out/err, which default to System.in/out/err.  Methods to do a setIn,
setOut, and setErr were added.   Note that in/out/err on Main were made
static public, so that the jikes compiler wouldn't complain (I had them as
static protected, but when accessed outside of the package, a warning was
issued).

    2.  The global and sharedGlobal static variables were made protected so
that my app can make use of them (to add extensions after an initial pass
through main()).

That's it.

I have successfully used the facility to drop a remote telnet server into
the shell interpreter, effectively giving our server a remote shell
interpreter.  It's quite nice, as we have a lot of extensions to Rhino
written that blend into our server already.

PS, I am still working on the array issues, but made a lot of progress
today.  I just wanted to get this stuff off my desk.

Thanks!

________________________________________________________________________
  Kurt Westerfeld
  Managed Object Solutions
  2722 Merrilee Drive
  Suite 350
  Fairfax, VA 22031
  Phone: 703.208.3330 x225
  Fax: 703.208.3331
  http://www.mosol.com
  mailto:kurt@mosol.com



   shell.zip

             Name:
                   shell.zip
             Type:
                   Zip Compressed Data (application/x-zip-compressed)
          Encoding:
                   base64


==============================================================================

Subject:
        Rhino Array Source (Fixed)
   Date:
        Thu, 9 Sep 1999 14:12:03 -0400
   From:
        "Kurt Westerfeld" <kurt@mosol.com>
     To:
        "Norris Boyd" <norris@netscape.com>




Attached is NativeJavaObject.java, which seems to now pass the tests supplied to me by you and Scott.  Not a lot of change, but a lot of
testing and thinking was involved. <g>

PS. I also fixed a bug in reportConversionError() which was throwing an IllegalArgumentException inside of the MessageFormat class at times.
It also looks a little nicer (uses formatting from NativeJavaMethod) and closer to the C implementation.




   NativeJavaObject.java

                        Name:
                              NativeJavaObject.java
                         Type:
                              Java Source File (text/java)
                     Encoding:
                              quoted-printable
1999-09-09 18:49:58 +00:00
mccabe%netscape.com
18eb113be2 Add parens to squelch 'suggest parentheses around arithmetic in operand of |' warning. Thanks to Morten Welinder <terra@diku.dk> for catching this. (And thanks to Waldemar for not letting me drop it.) 1999-09-08 23:35:37 +00:00
slamm%netscape.com
a74fc01967 Fix warnings (again) by moving string.h include inside ifdef. Tested on mac, win, and linux. 1999-09-08 19:03:57 +00:00
slamm%netscape.com
9d9379aeaf Mac needs string.h put it back. 1999-09-07 21:09:29 +00:00
slamm%netscape.com
6baeb7cc98 Fix warning. 1999-09-07 21:05:56 +00:00
slamm%netscape.com
ada91dab00 Fix unix build warnings 1999-09-07 20:35:19 +00:00
rogerl%netscape.com
c79698a838 Mostly just some cleaning up - especially in regexp.
Merged server specific GC changes from NES branch.
Bunch o' ECMA version 3 fixes to jsregexp.
1999-09-07 20:34:47 +00:00
shaver%netscape.com
9893d1f9df Add set/check of modification date and file size in registry.
Defer compilation and module object fetch to first factory use.
(not yet part of build, a=gramps)
1999-09-07 20:30:25 +00:00
shaver%netscape.com
88e40b4884 JSRuntime svc now controls lifetime; make nsIJSRuntimeService::runtime readonly 1999-09-07 19:44:13 +00:00
shaver%netscape.com
628cb79563 initial JS component loader work 1999-09-07 06:18:08 +00:00
toshok%hungry.com
58eccec52e ignore Makefile and js 1999-09-07 05:03:42 +00:00
toshok%hungry.com
cd05a18a48 wrap calls to JSD_IsActiveScript with JSD_{Lock,Unlock}ScriptSubsystem. 1999-09-07 05:02:11 +00:00
toshok%hungry.com
758323e699 fix up the unix build a bit -- egcs had problems with aggregate initializers, and linux whines about gets. also, include errno.h to stop errors dealing with the (questionable practice of) setting of errno to 0. 1999-09-07 05:00:56 +00:00
toshok%hungry.com
4d79ff2a55 fix up unix build of jsdebugger. 1999-09-07 04:57:03 +00:00
toshok%hungry.com
c76dcb609b lock/unlock the script subsystem around the call to jsd_DestroyAllJSDScripts 1999-09-07 04:54:41 +00:00
jband%netscape.com
2cb747fe19 fix that shaver needs for wrapped JS object doing QI semantics 1999-09-07 01:48:13 +00:00
jband%netscape.com
5706f276ff fix bug 13217 and add someparam checking for other methods in this interface 1999-09-07 00:03:43 +00:00
brendan%mozilla.org
a84076e44e Expand tabs to spaces per Emacs modeline; other space cleanups. 1999-09-06 22:59:11 +00:00
toshok%hungry.com
22e4000d69 move the typedef to jsd_lock.h so the prototypes will match the actual definition. 1999-09-06 00:19:14 +00:00
cls%seawood.org
d60201e832 When cross-compiling, jscpucfg needs to grab the values from NSPR rather than calling sizeof(). 1999-09-05 20:46:57 +00:00
shaver%netscape.com
9dc7d56e3c _finish_ adding JSRuntime service 1999-09-04 20:41:27 +00:00
shaver%netscape.com
e8f8822686 added files: mozilla/js/src/xpconnect/src/xpcruntimesvc.cpp 1999-09-04 20:09:55 +00:00
beard%netscape.com
9e769e7afe added files: mozilla/js/src/xpconnect/idl/nsIJSRuntimeService.idl 1999-09-04 19:58:30 +00:00
shaver%netscape.com
98e7010140 JSRuntime management service 1999-09-04 19:57:49 +00:00
shaver%netscape.com
f66252b2c9 add JSRuntime-access service 1999-09-04 19:25:15 +00:00
briano%netscape.com
9908dc9a51 Fix for the QNX 4.24 tinderbox breakage. 1999-09-04 03:25:02 +00:00
cls%seawood.org
68dbb3a998 Ack! Do not redefine jscpucfg target for OpenVMS arch. Only add HOST_NSPR_MDCPUCFG to build if it is defined 1999-09-03 05:35:26 +00:00
jband%netscape.com
e19b1fb7da renaming the field called 'code' to 'result' in nsIXPCException so that we don't conflict with DOM exception's use of the name 'code'. We want these types of exceptions to be compatible and the DOM exception ought to have a 'code' field that is as required by the DOM spec and also a 'result' field that is the nsresult. This avoids the naming conflict. 1999-09-03 02:32:21 +00:00
norris%netscape.com
d6d196e334 Long not supported here. Fix up comments so that is clear. 1999-09-02 16:48:20 +00:00