norris%netscape.com
e31a379e1e
Tutorial examples.
...
git-svn-id: svn://10.0.0.236/trunk@47928 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 05:54:27 +00:00
cls%seawood.org
aa416cb229
Undefined __P before redefining it.
...
git-svn-id: svn://10.0.0.236/trunk@47911 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 04:21:03 +00:00
rogerl%netscape.com
205d4652bd
Backed out preventing multiple var decls in for..in stmts - it impacted
...
all for stmts instead, duh.
git-svn-id: svn://10.0.0.236/trunk@47850 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 22:12:29 +00:00
waldemar%netscape.com
5a8b6ef67c
Shut up Linux compiler warnings
...
git-svn-id: svn://10.0.0.236/trunk@47763 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 08:16:21 +00:00
waldemar%netscape.com
8e1e55feb9
Updated standalone JS shell Mac project to remove accumulated breakage. Added debug build.
...
git-svn-id: svn://10.0.0.236/trunk@47760 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 07:54:01 +00:00
waldemar%netscape.com
909ad7b938
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@47759 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 07:51:52 +00:00
waldemar%netscape.com
a564e927ae
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.
...
git-svn-id: svn://10.0.0.236/trunk@47756 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 07:16:33 +00:00
waldemar%netscape.com
9e3bcbdaaa
Turned on 64-bit integers on Mac
...
git-svn-id: svn://10.0.0.236/trunk@47755 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 07:13:23 +00:00
waldemar%netscape.com
d9de75afbd
Added ECMA number formatting
...
git-svn-id: svn://10.0.0.236/trunk@47753 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 07:12:30 +00:00
waldemar%netscape.com
546f1e5ff3
Added ECMA number formatting error message
...
git-svn-id: svn://10.0.0.236/trunk@47752 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 07:12:00 +00:00
waldemar%netscape.com
81c94d6509
Added NaN atom
...
git-svn-id: svn://10.0.0.236/trunk@47751 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 07:09:24 +00:00
waldemar%netscape.com
c66854ae62
Fixed Mac warnings
...
git-svn-id: svn://10.0.0.236/trunk@47750 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 07:08:49 +00:00
jband%netscape.com
48e8304204
fix for 13819 - missing a release
...
git-svn-id: svn://10.0.0.236/trunk@47426 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 22:51:04 +00:00
briano%netscape.com
f14a3ee4ab
Whoops, deleted one too many endifs.
...
git-svn-id: svn://10.0.0.236/trunk@47228 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 00:10:22 +00:00
briano%netscape.com
6a8218319e
General cleanup.
...
git-svn-id: svn://10.0.0.236/trunk@47217 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 23:49:27 +00:00
rogerl%netscape.com
bf688c4e84
Added define NES40 for server-related gc fixes
...
git-svn-id: svn://10.0.0.236/trunk@47167 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 21:08:26 +00:00
rogerl%netscape.com
77cf00d688
Disallowed multiple variable declaration in for (var X in...)
...
git-svn-id: svn://10.0.0.236/trunk@47166 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 21:07:34 +00:00
cls%seawood.org
dbbf0c4eef
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.
...
git-svn-id: svn://10.0.0.236/trunk@47060 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-12 14:25:28 +00:00
jband%netscape.com
98e4226ee2
check resolve op for null before trying to use it
...
git-svn-id: svn://10.0.0.236/trunk@46936 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 05:22:42 +00:00
jband%netscape.com
d3f6bf2cee
unfinished array support. fixes for exceptions
...
git-svn-id: svn://10.0.0.236/trunk@46935 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 05:21:30 +00:00
briano%netscape.com
a47c5edce3
General cleanup.
...
git-svn-id: svn://10.0.0.236/trunk@46931 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 04:39:15 +00:00
briano%netscape.com
a8daa2fd9b
Got rid of some trailing spaces.
...
git-svn-id: svn://10.0.0.236/trunk@46930 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 04:37:48 +00:00
norris%netscape.com
84fe36274a
Fix potential NullPointerException.
...
git-svn-id: svn://10.0.0.236/trunk@46794 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 18:39:04 +00:00
norris%netscape.com
ae03aa795c
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
git-svn-id: svn://10.0.0.236/trunk@46585 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 18:49:58 +00:00
mccabe%netscape.com
823f5b9e6c
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.)
...
git-svn-id: svn://10.0.0.236/trunk@46445 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 23:35:37 +00:00
slamm%netscape.com
a0c00bbe39
Fix warnings (again) by moving string.h include inside ifdef. Tested on mac, win, and linux.
...
git-svn-id: svn://10.0.0.236/trunk@46371 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 19:03:57 +00:00
slamm%netscape.com
fd0377dc09
Mac needs string.h put it back.
...
git-svn-id: svn://10.0.0.236/trunk@46227 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 21:09:29 +00:00
slamm%netscape.com
c19dbf0bd4
Fix warning.
...
git-svn-id: svn://10.0.0.236/trunk@46226 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 21:05:56 +00:00
slamm%netscape.com
e3949cea38
Fix unix build warnings
...
git-svn-id: svn://10.0.0.236/trunk@46220 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 20:35:19 +00:00
rogerl%netscape.com
17e20e67dc
Mostly just some cleaning up - especially in regexp.
...
Merged server specific GC changes from NES branch.
Bunch o' ECMA version 3 fixes to jsregexp.
git-svn-id: svn://10.0.0.236/trunk@46219 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 20:34:47 +00:00
shaver%netscape.com
18b7766556
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)
git-svn-id: svn://10.0.0.236/trunk@46217 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 20:30:25 +00:00
shaver%netscape.com
5eef36a511
JSRuntime svc now controls lifetime; make nsIJSRuntimeService::runtime readonly
...
git-svn-id: svn://10.0.0.236/trunk@46206 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 19:44:13 +00:00
shaver%netscape.com
8ee8a718a2
initial JS component loader work
...
git-svn-id: svn://10.0.0.236/trunk@46163 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 06:18:08 +00:00
toshok%hungry.com
68162960f8
wrap calls to JSD_IsActiveScript with JSD_{Lock,Unlock}ScriptSubsystem.
...
git-svn-id: svn://10.0.0.236/trunk@46158 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 05:02:11 +00:00
toshok%hungry.com
c27cf242d5
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.
...
git-svn-id: svn://10.0.0.236/trunk@46157 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 05:00:56 +00:00
toshok%hungry.com
e3f63ca3e9
fix up unix build of jsdebugger.
...
git-svn-id: svn://10.0.0.236/trunk@46156 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 04:57:03 +00:00
toshok%hungry.com
0a424bc749
lock/unlock the script subsystem around the call to jsd_DestroyAllJSDScripts
...
git-svn-id: svn://10.0.0.236/trunk@46155 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 04:54:41 +00:00
jband%netscape.com
e757f6a9b7
fix that shaver needs for wrapped JS object doing QI semantics
...
git-svn-id: svn://10.0.0.236/trunk@46144 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 01:48:13 +00:00
jband%netscape.com
4586980e8f
fix bug 13217 and add someparam checking for other methods in this interface
...
git-svn-id: svn://10.0.0.236/trunk@46142 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 00:03:43 +00:00
brendan%mozilla.org
69185ecae9
Expand tabs to spaces per Emacs modeline; other space cleanups.
...
git-svn-id: svn://10.0.0.236/trunk@46138 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 22:59:11 +00:00
toshok%hungry.com
4f5072e9e0
move the typedef to jsd_lock.h so the prototypes will match the actual definition.
...
git-svn-id: svn://10.0.0.236/trunk@46081 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-06 00:19:14 +00:00
cls%seawood.org
69eb08c43c
When cross-compiling, jscpucfg needs to grab the values from NSPR rather than calling sizeof().
...
git-svn-id: svn://10.0.0.236/trunk@46067 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-05 20:46:57 +00:00
shaver%netscape.com
22e3c663dc
_finish_ adding JSRuntime service
...
git-svn-id: svn://10.0.0.236/trunk@46030 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 20:41:27 +00:00
shaver%netscape.com
dff3695269
added files: mozilla/js/src/xpconnect/src/xpcruntimesvc.cpp
...
git-svn-id: svn://10.0.0.236/trunk@46027 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 20:09:55 +00:00
beard%netscape.com
7f60e7e2bf
added files: mozilla/js/src/xpconnect/idl/nsIJSRuntimeService.idl
...
git-svn-id: svn://10.0.0.236/trunk@46024 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 19:58:30 +00:00
shaver%netscape.com
403ad4f01a
JSRuntime management service
...
git-svn-id: svn://10.0.0.236/trunk@46022 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 19:57:49 +00:00
shaver%netscape.com
6018da0708
add JSRuntime-access service
...
git-svn-id: svn://10.0.0.236/trunk@46019 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 19:25:15 +00:00
briano%netscape.com
9996d55f07
Fix for the QNX 4.24 tinderbox breakage.
...
git-svn-id: svn://10.0.0.236/trunk@45996 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 03:25:02 +00:00
cls%seawood.org
194199ff29
Ack! Do not redefine jscpucfg target for OpenVMS arch. Only add HOST_NSPR_MDCPUCFG to build if it is defined
...
git-svn-id: svn://10.0.0.236/trunk@45833 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 05:35:26 +00:00
jband%netscape.com
4f386bbb82
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.
...
git-svn-id: svn://10.0.0.236/trunk@45814 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 02:32:21 +00:00