norris%netscape.com
f138298617
Manifest for jstools.jar to enable use of 1.2 -jar option.
1999-05-21 06:13:37 +00:00
rogerl%netscape.com
f2b4885566
Continuing JSValue fun.
1999-05-21 00:54:26 +00:00
norris%netscape.com
e2b6e5bcc0
Add methods for getting and setting key-value pairs.
1999-05-20 23:54:53 +00:00
rogerl%netscape.com
20c2b6203a
Switching to JSValue throughout. Implementing operators per base type.
1999-05-20 21:16:11 +00:00
briano%netscape.com
7e4bf29bfa
Fix for SCO OpenServer builds. _SCO_DS is always set by SCO's compiler.
1999-05-20 02:57:37 +00:00
rogerl%netscape.com
435b1dcf7e
New.
1999-05-20 00:14:26 +00:00
rogerl%netscape.com
078bf5d87b
Switch to new JSValue hierarchy.
...
Added logical/bitwise ops.
1999-05-20 00:13:38 +00:00
norris%netscape.com
1fa0abf6f3
Remove Java 2 dependency.
1999-05-19 23:58:37 +00:00
norris%netscape.com
cd2bce09ff
Fix bug 6313 'Rhino: "new Function" doesn't work properly with superglobal'
...
Also clean up Context.exit() to be more consistent with Context.enter(),
and make SecuritySupport work with JavaAdapter.
1999-05-18 23:10:20 +00:00
norris%netscape.com
da040c8847
Fix formatting.
1999-05-18 22:55:11 +00:00
norris%netscape.com
d2be04fb36
Clearer formatting.
1999-05-18 22:54:15 +00:00
rogerl%netscape.com
1d4a7add30
New functionality
1999-05-18 22:50:53 +00:00
rogerl%netscape.com
8a4fff7e52
New stuff - better handle on breaks etc, started try/catch
1999-05-18 22:49:59 +00:00
norris%netscape.com
ad7bde6769
Add submission:
...
Subject:
Re: Modified Context.java
Date:
Sat, 15 May 1999 08:01:37 +0000
From:
"Ian D. Stewart" <idstewart@softhome.net>
To:
Norris Boyd <norris@netscape.com>
References:
1 , 2 , 3 , 4 , 5
Ian D. Stewart wrote:
Norris Boyd wrote:
Can I help with EventListener collector?
Actually, I have a working implementation complete (attatched), but by all means, feel free to add any functionality you feel
may be missing, or to tweak the code .
Norris,
After I sent I my last e-mail, I noticed some potential issues using Object[] in ListenerCollection.getListeners(Class iface).
I'm attatching a new version, which uses a Vector object. This should resolve those issues.
Ian
1999-05-18 22:32:25 +00:00
shaver%netscape.com
9bb04603da
override NO_STATIC_LIB, because we really do need static libraries for some
...
other link parts. This will make it safe to put NO_STATIC_LIB=1 in
myconfig.mk, which saves about 100MB and 3 minutes on my debug build.
(Requires one additional checkin to in xpcom, which is waiting on the
XPCOM 2.0 landing.)
1999-05-17 19:20:28 +00:00
waldemar%netscape.com
590769e928
First working version
1999-05-17 05:11:19 +00:00
waldemar%netscape.com
62f4bd3d68
Renamed != to /= and lambda to function.
1999-05-17 05:10:41 +00:00
waldemar%netscape.com
18424368a6
Added intsets.
1999-05-17 05:10:07 +00:00
waldemar%netscape.com
9c9cc073cf
Added sets, subseq, set-nth. Renamed 'lambda' to 'function'. Fixed depictions of special global variables. Added %text depictors.
1999-05-17 05:09:44 +00:00
waldemar%netscape.com
e90d4252ee
Added sets, subseq, set-nth. Renamed 'lambda' to 'function' and '!=' to '/='.
1999-05-17 05:07:52 +00:00
waldemar%netscape.com
08871a7130
Added vector-assign, intersection, and union characters
1999-05-17 05:05:59 +00:00
waldemar%netscape.com
0757d22775
Fixed LR(1) parser state lookahead-generation bug
1999-05-17 05:05:10 +00:00
waldemar%netscape.com
3ca3afbf66
Added RegExp to load path
1999-05-17 05:04:28 +00:00
waldemar%netscape.com
419d78d507
Fixed formatting of parametrized nonterminal character classes
1999-05-17 05:04:07 +00:00
beard%netscape.com
15e21bd0e2
removed xpccomponents.h, xpcjsid.h, nsrootidl.h which are now generated by XPConnectIDL.mcp
1999-05-15 02:04:41 +00:00
beard%netscape.com
bf4f00931c
renamed target typelib to xpconnect.xpt, added mozilla/dist/idl to access paths.
1999-05-15 01:38:15 +00:00
beard%netscape.com
463019452d
First Checked In.
1999-05-15 01:35:45 +00:00
beard%netscape.com
ad8cd5870b
removed files: mozilla/js/src/xpconnect/idl/nsrootidl.idl, mozilla/js/src/xpconnect/idl/nsISupports.idl
1999-05-15 00:43:46 +00:00
shaver%netscape.com
791dae2231
fix CHECK_BRANCH fencepost
1999-05-14 23:53:33 +00:00
mcafee%netscape.com
b368606edb
Ignore generated files.
1999-05-14 23:32:44 +00:00
mccabe%netscape.com
2b07fbb5ea
Recur into idl. (Make good on the 'turning on auto-generation for idl' promise of my last checking)
1999-05-14 09:27:02 +00:00
mccabe%netscape.com
3de0e530fc
change for hpux porting
1999-05-14 09:27:01 +00:00
mccabe%netscape.com
0a5aa3a286
Make xpconnect compile and export .h files and xptconnect.xpt using XPIDLSRCS for unix and windows.
1999-05-14 08:27:27 +00:00
briano%netscape.com
07c948a69e
Fix for QNX. Their compiler reserves 'huge' as a keyword, so I replaced it with 'really_big'.
1999-05-14 02:01:15 +00:00
briano%netscape.com
5d7096cde2
Eliminate the need to use -DQNX by switching to __QNX__, predefined by the compiler.
1999-05-14 01:46:00 +00:00
briano%netscape.com
6b6e303b7a
Converted the explicit 'ld' commands to use '$(LD)' instead, so platforms
...
with odd linker names will work properly.
1999-05-13 23:25:11 +00:00
briano%netscape.com
49c5e54bff
Fix for QNX, and any other platform that doesn't have memory.h. Thanks to fur@netscape.com for allowing this change.
1999-05-13 08:46:41 +00:00
jband%netscape.com
8a7b1908cb
remove assertion and go with runtime safety for the fix that mccabe thoughtfully added for my broken code
1999-05-13 05:38:10 +00:00
mccabe%netscape.com
67179d7ccd
Check against null vp passed in to CallWrappedMethod. This fixes stuff in the xpcom/sample directory.
1999-05-13 03:34:54 +00:00
briano%netscape.com
96999e745d
QNX-specific ifdef addition.
1999-05-12 23:29:04 +00:00
rogerl%netscape.com
168d2fcb3a
Fixed warnings, few statement & expression changes
1999-05-12 05:01:31 +00:00
mccabe%netscape.com
3a98e8afe1
Support for magically detecting whether an argument to an XPConnect'ed function is a dom node with a native nsISupports, and unwrapping it properly.
...
This'll go live as soon as I can persuade joki or vidur to rebuild the DOM stubs.
1999-05-12 02:05:48 +00:00
norris%netscape.com
481172ae0b
Subject:
...
Rhino SecurityException patch
Date:
Tue, 11 May 1999 12:25:50 -0400
From:
Andrew Wason <aw@softcom.com>
To:
Norris Boyd <norris@netscape.com>
Sorry if you aren't the right person to submit Rhino patches to.
I couldn't get Rhino to run under JDK1.2 with a SecurityManager installed
(e.g. java -Djava.security.manager=java.lang.SecurityManager). I
understand the JavaAdapter stuff won't work - but I would still like to use
Rhino without that piece.
I've attached a small patch which catches and ignores the
SecurityExceptions so that Rhino can run with a SecurityManager but without
JavaAdapter.
Andrew
--
Andrew Wason
SoftCom, Inc.
aw@softcom.com
1999-05-11 16:46:30 +00:00
cbegle%netscape.com
ad88ba39e9
Error in the test -- it was not evaluating the statement that is supposed
...
to produce an error.
1999-05-11 15:55:22 +00:00
shaver%netscape.com
e918a8e2e7
use OBJ_THIS_OBJECT in SPROP_[GS]ET to make with(native_obj)'' work correctly
1999-05-11 15:41:51 +00:00
mccabe%netscape.com
852c90159e
Fix to 5947. Handle \r\r properly when it ends a buffer.
...
This fixes problems reading prefs.js on Mac.
1999-05-11 08:03:07 +00:00
fur%netscape.com
8d8e0782c2
Small grammar fixes
1999-05-10 21:31:37 +00:00
waldemar%netscape.com
e334ac7471
Moved language semantics files into subdirectories
1999-05-10 21:05:42 +00:00
waldemar%netscape.com
b5e0515a64
Added references, predefined sets of characters, and lexer state support
1999-05-10 21:04:53 +00:00
waldemar%netscape.com
ed91596cee
Added references and depict-styled-text
1999-05-10 21:03:07 +00:00
waldemar%netscape.com
9390f8a3f7
Updated to match styles.css on documentation site
1999-05-10 21:02:22 +00:00
waldemar%netscape.com
463be46354
Added headers, footers, document information, and reference stubs
1999-05-10 21:00:06 +00:00
waldemar%netscape.com
5c06de3bfc
Added references, :wrap, :none
1999-05-10 20:58:56 +00:00
waldemar%netscape.com
9df8d3d924
Added references
1999-05-10 20:57:17 +00:00
waldemar%netscape.com
ea6ab3938d
Added references, unfinished YACC input generator
1999-05-10 20:56:47 +00:00
waldemar%netscape.com
e727ef0bd6
Added references, default actions, combined rules
1999-05-10 20:55:59 +00:00
waldemar%netscape.com
bc45fb621d
Added references, combined rules
1999-05-10 20:54:25 +00:00
waldemar%netscape.com
8d82dede5e
First Checked In.
1999-05-10 20:52:58 +00:00
waldemar%netscape.com
a3d2832a9d
File Removed.
1999-05-10 20:50:37 +00:00
norris%netscape.com
70e2ddfa1f
A statement like "var java;" was hiding the java package defined in the
...
shared global since we weren't looking up the prototype chain.
1999-05-10 18:09:49 +00:00
mcafee%netscape.com
916acf2b47
Attempting to turn xpconnect on for Solars/sparc and Solaris/intel.
1999-05-10 08:15:45 +00:00
beard%netscape.com
03288f3f00
First Checked In.
1999-05-10 01:48:27 +00:00
mccabe%netscape.com
c1b3ca8999
Line-editing support for the standalone javascript interpreter on unixes. Propagating from the SpiderMonkeyDev_BRANCH.
...
None of this code is built as part of the Mozilla build.
1999-05-09 10:22:40 +00:00
beard%netscape.com
0e88e45639
using the JSContext provided by JSObjectHandle wrappers. This forces all Java calls to work in the same JSContext, as specified by a particular JSObject. This may have to be changed, but it lets spontaneous calls from Java work for now.
1999-05-08 16:46:43 +00:00
beard%netscape.com
58fdf86d84
added optional Java applet object parameter to jsj_enter_js
1999-05-08 16:46:41 +00:00
beard%netscape.com
99d1cb3700
added optional Java applet object parameter to jsj_enter_js, made cxp an in/out parameter, so caller can specify a JSContext
1999-05-08 16:46:40 +00:00
beard%netscape.com
884d6c389b
added optional Java applet object parameter to map_jsj_thread_to_js_context callback.
1999-05-08 16:46:38 +00:00
rogerl%netscape.com
f73b34389c
Latest changes
1999-05-07 22:18:39 +00:00
rogerl%netscape.com
ed016a3369
Latest changes
1999-05-07 22:07:22 +00:00
fur%netscape.com
637a8e04e8
Include jsosdep.h for JS_HAS_LONG_LONG flag
1999-05-07 19:20:53 +00:00
mccabe%netscape.com
a47510f99d
Added references to the JavaAdapter and classfile classes.
1999-05-06 23:49:10 +00:00
norris%netscape.com
b912fb1d8e
Marginal performance tweak.
1999-05-06 23:17:12 +00:00
beard%netscape.com
b74c11cb44
First Checked In.
1999-05-06 14:16:15 +00:00
mccabe%netscape.com
9e675bb870
Initial checkin of distribution makefile system for our brandfangled free source Rhino.
1999-05-06 07:51:15 +00:00
fur%netscape.com
9201b80ab7
Delete jsmathtemp.o when clobber'ing
1999-05-06 01:50:11 +00:00
norris%netscape.com
3b4d810964
Update release string.
1999-05-05 23:29:06 +00:00
jband%netscape.com
0db6254e50
don't copy libxpconnect.so components directory on platforms where xptcall is not supported
1999-05-04 23:54:13 +00:00
jband%netscape.com
94a8fb9f35
adjust for xpidl [shared] cuasing a const qualifier to be emitted and wstring mapping to PRUnichar rather than PRUint16
1999-05-04 20:02:47 +00:00
norris%netscape.com
3bc469d6ab
Handle the case where f is null in "new f".
1999-05-04 17:23:13 +00:00
mccabe%netscape.com
ba1ead00d6
Fix to 5301. Revert from using fd_copysign from the libmath emulation library to using the system copysign.
1999-05-04 07:12:18 +00:00
norris%netscape.com
7d8669fc9e
Fix spelling, don't claim uniqueness.
1999-05-03 17:56:07 +00:00
norris%netscape.com
3d522b3a69
Make it purdy.
1999-05-03 17:55:21 +00:00
norris%netscape.com
e43d1ea1e1
Add README with support for LXR.
1999-05-03 17:53:10 +00:00
norris%netscape.com
93c85436e2
Add new example.
1999-04-30 19:49:34 +00:00
norris%netscape.com
c999e3e6be
Better (?) error when initializing and the security resource isn't found.
1999-04-30 16:56:43 +00:00
norris%netscape.com
2d389423af
Fall through to number case only after considering character and boolean
...
independently.
1999-04-29 20:51:50 +00:00
norris%netscape.com
02d3b99592
Fix bug where conversions of numbers to booleans in calls to Java methods were producing
...
IllegalArgumentExceptions.
1999-04-29 17:53:05 +00:00
norris%netscape.com
2cd15ff9fe
Help message should indicate that -1 is an acceptible optimizer value.
1999-04-29 17:22:20 +00:00
mccabe%netscape.com
5e0d3d710b
Not part of the Seamonkey build!
...
Made the 'js' standalone shell depend on fdlibm, so it gets updated properly when fdlibm is modified.
1999-04-29 03:18:48 +00:00
rogerl%netscape.com
18f533575b
Clean-up some bytecode leftovers.
...
Added assertions, non-greedy opt.
1999-04-28 23:08:14 +00:00
rogerl%netscape.com
a862d28b3d
Added method to construct a new RegExp.
1999-04-28 23:07:14 +00:00
rogerl%netscape.com
df9f1aa1c8
Added interface method to construct a new RegExp.
1999-04-28 23:06:26 +00:00
rogerl%netscape.com
d982b7fd64
Using regExpProxy to construct regexp literals
1999-04-28 23:05:43 +00:00
fur%netscape.com
4582f855bf
Temporarily back out include of jsosdep.h until linkage problems can be looked at
1999-04-28 00:27:51 +00:00
fur%netscape.com
a1db96cd21
On unix, include jsosdep.h, so that the definition of JS_HAS_LONG_LONG is seen everywhere
1999-04-27 21:14:14 +00:00
fur%netscape.com
66612ae5ab
Lots of cut-n-paste from js.c so as to work with newest version of JSAPI
1999-04-27 21:09:34 +00:00
beard%netscape.com
53e790fef3
added JavaAdapter.java
1999-04-27 19:56:20 +00:00
beard%netscape.com
bdf94c7535
Using the property "org.mozilla.javascript.JavaAdapter" to allow the JavaAdapter class to come from another package.
1999-04-27 19:55:53 +00:00
beard%netscape.com
1a72358ec1
added classes in org.mozilla.classfile
1999-04-27 19:43:56 +00:00
rogerl%netscape.com
d1ead3225d
#Not a part of SeaMonkey
1999-04-27 19:02:40 +00:00
norris%netscape.com
83a8060991
Better javadoc.
1999-04-27 16:55:44 +00:00
rogerl%netscape.com
572493e3a9
# Not a part of SeaMonkey
1999-04-27 16:22:20 +00:00
cbegle%netscape.com
7356f0624b
Make sure that the test directory name ends with a trailing slash.
1999-04-27 16:15:30 +00:00
fur%netscape.com
ab2f3e1d25
Merge changes from SpiderMonkey140_BRANCH. Note: none of the
...
added files participate in the client build.
1999-04-27 15:18:57 +00:00
fur%netscape.com
a8204ac954
Temporarily disable this entire file because it makes use of a part of
...
the JSAPI that has changed in the SpiderMonkey140_BRANCH and we need to
land that branch today.
1999-04-27 15:09:06 +00:00
rogerl%netscape.com
0fcc96e53b
Oops.
1999-04-27 06:28:04 +00:00
rogerl%netscape.com
a263bb26cf
Removing coies of Rhino code
1999-04-27 06:25:07 +00:00
rogerl%netscape.com
0a6917da87
Removing copies of Rhino code
1999-04-27 06:23:48 +00:00
rogerl%netscape.com
3c8ad4ca5b
TestMain class
1999-04-27 06:18:56 +00:00
rogerl%netscape.com
49e4bf3747
# Not a part of SeaMonkey
...
Added expression node building stuff.
1999-04-27 06:08:35 +00:00
fur%netscape.com
28bb34afa5
Got rid of aborted attempt to graft XPCOM onto JS
1999-04-27 05:25:43 +00:00
fur%netscape.com
12bfdf2146
Tweaks
1999-04-27 05:08:14 +00:00
fur%netscape.com
7a3e1124c7
Got rid of aborted attempt to graft XPCOM onto JS
1999-04-27 05:00:07 +00:00
sfraser%netscape.com
2d04489213
Fix a ton of link warnings by removing MathLib, since this is imported via InterfaceStubs.
1999-04-27 04:07:06 +00:00
norris%netscape.com
3ec3e8c70a
Clean up, add javadoc.
1999-04-27 03:56:23 +00:00
brendan%netscape.com
6a25530e2f
Cast printf %p args to (void*).
1999-04-27 03:42:28 +00:00
waterson%netscape.com
fa96401411
Add linker directives to make sure that all the libs we need get loaded.
1999-04-26 23:29:10 +00:00
brendan%netscape.com
3afa92a219
Check for JS_SetPrivate failure in JS_NewScriptObject.
1999-04-26 23:15:27 +00:00
brendan%netscape.com
09e66f998c
Use #ifdef or equivalent to test XP_UNIX, not #if or equiv.
1999-04-26 23:14:12 +00:00
waterson%netscape.com
276d74c3aa
Install xpc3250.dll into the components directory so that XPConnect works.
1999-04-26 22:54:40 +00:00
rogerl%netscape.com
ffb58c2f10
#Not a part of SeaMonkey
...
New.
1999-04-26 22:50:50 +00:00
norris%netscape.com
92847bcfca
Make JavaAdapter work on mozilla-only.
1999-04-26 20:41:57 +00:00
fur%netscape.com
763a5b3c10
Interim checkin of JS2 grammar. Still many ambiguities and bugs, though.
1999-04-26 18:22:30 +00:00
jband%netscape.com
80c9c32228
fix Win32 crash on startup - not copying xpc3250.dll to components dir
1999-04-25 18:56:09 +00:00
jband%netscape.com
5552e33b84
Commenting out the component registration didn't do what I expected. So, I'll unset the IS_COMPONENT flag in Makefile.in to keep the .so from being copied to the components directory at on on Unix
1999-04-24 09:40:51 +00:00
jband%netscape.com
8528722ecd
Comment out component registration of xpconnect except on XP_PC. The problem for Unix is that xpconnect relies on xptcall at runtime. Apprunner and viewer are core dumping on linux. However TestXPC and xpcshell work fine. Further study is required. For now I'll try to unbreak apprunner and viewer for others.
1999-04-24 09:32:35 +00:00
jband%netscape.com
4c897fba05
made xpconnect a service and changed the Win32 and Unix makefiles to have the xpconnect dll installed to the components directory
1999-04-24 08:10:16 +00:00
beard%netscape.com
1bfb6db3b0
made the class to use for the JavaAdapter selectable via the Java property "org.mozilla.javascript.JavaAdapter"
1999-04-24 06:28:17 +00:00
waterson%netscape.com
7f374cbe4e
Added CID for XPConnect.
1999-04-24 02:39:09 +00:00
norris%netscape.com
fb18c81dfe
If the security resource isn't present, catch the exception and proceed.
1999-04-23 19:54:28 +00:00
norris%netscape.com
a2b9800d35
Clean up javadoc.
1999-04-23 17:31:59 +00:00
norris%netscape.com
be56635558
Clean up javadocs; make Context creation faster.
1999-04-23 17:31:09 +00:00
norris%netscape.com
aaf0996351
Clean up formatting.
1999-04-23 17:30:31 +00:00
mccabe%netscape.com
19c68fb53b
Backed out my previous checkin.
...
I realized that:
- we build on more than one build system.
- I'm too tired to fix it.
1999-04-23 09:20:36 +00:00
mccabe%netscape.com
ab6924a6b7
Removed the XPTDIR environment variable requirement; the xpt typelib directory is now constructed by adding 'components' to the executable directory. This adds an -lraptorbase requirement to linking against xptinfo.
1999-04-23 09:10:09 +00:00
mccabe%netscape.com
d6d13a6c37
Twiddled error reporter; added a '\n' after messages.
1999-04-23 09:01:18 +00:00
norris%netscape.com
fd2121d6c8
Transfer examples to mozilla.
1999-04-22 20:58:54 +00:00
norris%netscape.com
73531f9924
Add examples to mozilla.
1999-04-22 20:41:57 +00:00
norris%netscape.com
46fe713382
Fix the following bug:
...
Subject:
Context.newArray() bug
Date:
Thu, 22 Apr 1999 00:26:29 -0700
From:
beard@netscape.com (Patrick Beard)
To:
Norris Boyd <norris@netscape.com>
When the arguments array gets created, its prototype isn't set up
correctly. I think the problem is in Context.newArrayHelper(), which isn't
able to look up the "Array" constructor in the passed-in scope. For this
reaon, top-level scripts that use "arguments.length" don't work.
- Patrick
1999-04-22 18:29:07 +00:00
beard%netscape.com
679f173ebe
First Checked In.
1999-04-22 02:50:18 +00:00
fur%netscape.com
f6f409d854
Fixed a few typos so that the generated file actually compiles
1999-04-21 22:44:32 +00:00
fur%netscape.com
2fcafdeae2
Partial grammar for JS2, expressed using the ANTLR parser generator
1999-04-21 21:08:14 +00:00
norris%netscape.com
fc05296d97
Load optimizer package from com.netscape.
1999-04-21 04:40:36 +00:00
norris%netscape.com
ade142a34c
Forgot to add Messages.properties.
1999-04-20 20:21:55 +00:00
sspitzer%netscape.com
d10d578e63
adding Makefile to the ignore list
1999-04-20 19:25:21 +00:00
mccabe%netscape.com
177e6d852f
Fixed erroneous comment.
...
Thanks to David Gardiner <david.gardiner@unisa.edu.au> for catching this.
1999-04-20 19:02:40 +00:00
norris%netscape.com
3a188e59ad
Publish Rhino as open source.
1999-04-19 20:43:53 +00:00
fur%netscape.com
855f61ae38
Sync up with SpiderMonkey140_BRANCH
1999-04-19 05:19:56 +00:00
fur%netscape.com
d78116f092
Sync up with SpiderMonkey140_BRANCH
1999-04-19 05:12:25 +00:00
rogerl%netscape.com
b6a03c7261
Sample driver for IR factory
1999-04-16 02:55:36 +00:00