Commit Graph

961 Commits

Author SHA1 Message Date
norris%netscape.com
dbbafc6b60 Subject:
Re: netscape.javascript.JSObject ?
        Date:
             Thu, 03 Jun 1999 17:52:42 -0700
       From:
             Frank Mitchell <frankm@eng.Sun.COM>
 Organization:
             Java Products Engineering
         To:
             Norris Boyd <norris@netscape.com>
  References:
             1 , 2 , 3 , 4 , 5 , 6 , 7 , 8




Norris Boyd wrote:
>
> Sorry--missed the checkin of a new file. It's there now.
>
> I'd also added a small change for the "inheritance" of JavaScript array methods.

Actually, I've already done that (and for String as well).  It still
fails some LC3 regression tests, though.

I'm including a tarfile that includes the previous changes and the new
ones.

Frank
1999-06-04 16:25:41 +00:00
norris%netscape.com
5513cb38fd Add NativeJavaConstructor.java 1999-06-04 16:06:14 +00:00
ducarroz%netscape.com
447f253fdb add nsIXPCSecurityManager to fix build bustage 1999-06-04 06:39:33 +00:00
jband%netscape.com
56abd1b0a4 added nsIXPCSecurityManager interface and support to xpconnect - with tests. 1999-06-04 05:46:48 +00:00
mang%subcarrier.org
5b942c68c3 Added doc comment 1999-06-03 23:39:57 +00:00
norris%netscape.com
03c23c444d LC3 support: make Java arrays have Array.prototype as a prototype. 1999-06-03 23:38:47 +00:00
norris%netscape.com
8a047c315c Subject:
Re: Rhino LiveConnect: need help?
        Date:
             Wed, 02 Jun 1999 19:33:37 -0700
       From:
             Frank Mitchell <frankm@eng.Sun.COM>
 Organization:
             Java Products Engineering
         To:
             Scott Furman <fur@netscape.com>, Norris Boyd <norris@netscape.com>
         CC:
             mallen@eng.Sun.COM
  References:
             1 , 2 , 3 , 4




Scott Furman wrote:
> In order to bring Rhino LiveConnect support up to the level of the
> C-engine, the features of LiveConnect version 2 and version 3 would
> need to be added.  You can see some details of LC2 and LC3 features
> here.  I would guess that 80% of the time would be spent implementing
> one feature: LC3's new method overload resolution scheme.


OK, I think I have something that implements the new overloaded method
resolution scheme ... I'm still working on getting the regression tests
running smoothly, but from command-line testing it seems to work.  It's
not the *cleanest* code I've ever done, though: in particular, it has
too many static methods and type-checking code for my tastes.  (Hey,
should we spin the type coercion and comparison stuff to some other
module entirely?  Right now it's mostly in JavaNativeObject, with the
preference stuff in JavaNativeMethod.)  I'm also not sure why some of
this stuff is public, and whether there might be backward-compatibility
problems with what I've done, particularly in repurposing the
COMPARISON_* constants.

Would you guys be kind enough to review this for me?  I'm hoping to
check it in once I get an ID, but it wouldn't hurt to have another pair
of eyes or three (pairs, I mean).  I've attached a tar/gzip of the
source files I've changed (or added), plus a diff.

Thanks,
Frank
1999-06-03 23:38:00 +00:00
rogerl%netscape.com
5ae153a96b Blew off 'caller' property - it was deemed a security risk, bug #7224 1999-06-03 23:24:39 +00:00
norris%netscape.com
7b7ebb5614 Subject:
Re: Rhino LiveConnect: need help?
        Date:
             Wed, 02 Jun 1999 19:33:37 -0700
       From:
             Frank Mitchell <frankm@eng.Sun.COM>
 Organization:
             Java Products Engineering
         To:
             Scott Furman <fur@netscape.com>, Norris Boyd <norris@netscape.com>
         CC:
             mallen@eng.Sun.COM
  References:
             1 , 2 , 3 , 4




Scott Furman wrote:
> In order to bring Rhino LiveConnect support up to the level of the
> C-engine, the features of LiveConnect version 2 and version 3 would
> need to be added.  You can see some details of LC2 and LC3 features
> here.  I would guess that 80% of the time would be spent implementing
> one feature: LC3's new method overload resolution scheme.


OK, I think I have something that implements the new overloaded method
resolution scheme ... I'm still working on getting the regression tests
running smoothly, but from command-line testing it seems to work.  It's
not the *cleanest* code I've ever done, though: in particular, it has
too many static methods and type-checking code for my tastes.  (Hey,
should we spin the type coercion and comparison stuff to some other
module entirely?  Right now it's mostly in JavaNativeObject, with the
preference stuff in JavaNativeMethod.)  I'm also not sure why some of
this stuff is public, and whether there might be backward-compatibility
problems with what I've done, particularly in repurposing the
COMPARISON_* constants.

Would you guys be kind enough to review this for me?  I'm hoping to
check it in once I get an ID, but it wouldn't hurt to have another pair
of eyes or three (pairs, I mean).  I've attached a tar/gzip of the
source files I've changed (or added), plus a diff.

Thanks,
Frank
1999-06-03 23:22:27 +00:00
jband%netscape.com
04f7cb71f5 use the newly-FRIEND-ized js_AllocStack, js_FreeStack, and js_Invoke functions instead of JS_CallFunctionName to assure that the gcthing converted args we accumulate before making the call are properly rooted. This is a lot more efficient than the alternative of explicitly rooting them with JS_AddRoot. Up to this point these gcthings (doubles and strings) were dangling. Thanks to brendan for this suggstion. 1999-06-03 21:44:37 +00:00
jband%netscape.com
80bc0d7d43 make js_AllocStack, js_FreeStack, and js_Invoke, FRIEND functions so that they can be used by our good friend xpconnect. 1999-06-03 21:39:08 +00:00
waldemar%netscape.com
9ed3b2bfd9 First Checked In. 1999-06-03 20:53:14 +00:00
waldemar%netscape.com
78be7c3fee Added support for lookahead constraints 1999-06-03 20:52:04 +00:00
waldemar%netscape.com
a7ae00c0dd Added general-grammar-symbol? predicate 1999-06-03 20:50:21 +00:00
waldemar%netscape.com
20608c35b1 Moved pieces of file around 1999-06-03 20:49:13 +00:00
waterson%netscape.com
4287b83347 Single public include directory on Win32. 1999-06-03 18:34:27 +00:00
rogerl%netscape.com
b4b5620952 Changed behaviour of Script.exec so that it gains access to the current
scope when invoked, rather than grabbing the topmost. Prevented exec from
being called indirectly.
1999-06-03 00:08:00 +00:00
rogerl%netscape.com
0a95e5eb15 blowing off commented out junk 1999-06-02 18:07:40 +00:00
norris%netscape.com
b060e6bd7e Fix NullPointerException for "abc".match("a\"); 1999-06-02 16:12:19 +00:00
jband%netscape.com
f8c4aba11f removing disinformation from README 1999-06-02 03:19:55 +00:00
jband%netscape.com
464d9eeb86 adding netbsd m68k support contributed by khym@bga.com (Dave Huang) 1999-06-02 02:26:38 +00:00
rogerl%netscape.com
f2fe8631dd Bug #7197 (related) - capture and free char pointers going to error
reporter.
Bug #5875 - eval of named function within a function resulted in the
function not being visible at the start of the eval string.
1999-06-01 23:17:19 +00:00
rogerl%netscape.com
1542ad9856 Bug #7197 - free other error report message junk 1999-06-01 23:07:59 +00:00
rogerl%netscape.com
2622a174d3 Fixed non-terminating regexp when max quantifier is unspecified as in :
var s = 'zzabc.';
var reg = /[^z]{1,}\./;
s.match(reg);
- wasn't checking for reaching end of text.
1999-06-01 22:43:17 +00:00
jband%netscape.com
1bcf6abf12 added test 1999-06-01 02:43:02 +00:00
jband%netscape.com
4787f025fb 1) Removed old and duplicate .idl, .h, and .xpt files.
2) Support passing an interface identifier to getService and NewInstance.
3) Added AbandonJSContext to allow for cleanup of per JSContext data.
4) Added interface inheritence tests.
1999-06-01 02:39:44 +00:00
jband%netscape.com
8c18a6d323 updating readme 1999-06-01 02:31:13 +00:00
rogerl%netscape.com
8801e117eb Moved from stack to inline execution. 1999-05-28 19:00:48 +00:00
rogerl%netscape.com
ff12a978d6 Bug #6359 and other changes motivated by Waldemar's specification. 1999-05-26 22:28:32 +00:00
cbegle%netscape.com
cd05d0d56b adding more javascript language tests 1999-05-26 22:24:04 +00:00
cbegle%netscape.com
007525d454 adding more javascript language tests. 1999-05-26 22:22:06 +00:00
briano%netscape.com
fb81e51425 Fix for the case where NSPR is built separately and isn't listed in LD_LIBRARY_PATH. 1999-05-26 22:18:37 +00:00
cbegle%netscape.com
949ea13feb adding new javascript tests - liveconnect 1999-05-26 22:14:51 +00:00
cbegle%netscape.com
1d29571154 adding new tests for the javascript language - liveconnect. 1999-05-26 22:07:01 +00:00
cbegle%netscape.com
915784967f adding more javascript language tests to the repository. 1999-05-26 21:48:43 +00:00
cbegle%netscape.com
3481c4fe4d adding more javascript language tests to the repository. 1999-05-26 21:37:13 +00:00
cbegle%netscape.com
bfe4d4a516 Adding ecma 2 tests to the repository. 1999-05-26 21:22:57 +00:00
norris%netscape.com
4134731727 Fix bug 6705. 1999-05-26 19:55:51 +00:00
norris%netscape.com
29da9ddbfd Remove class path for merging into a single JAR file. 1999-05-26 19:52:40 +00:00
norris%netscape.com
c3ec40debb fix node property printing 1999-05-26 19:48:45 +00:00
norris%netscape.com
3dc47a5559 clean up formatting 1999-05-26 19:48:02 +00:00
mcmullen%netscape.com
3391ae2eee Headers settings did not have the linker turned on! 1999-05-26 19:36:12 +00:00
dp%netscape.com
1052325d54 removing -lreg 1999-05-26 07:41:15 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
rogerl%netscape.com
da0336bb41 Hmmm, new changes these are. 1999-05-26 01:01:07 +00:00
rogerl%netscape.com
dc68c3e57f New. 1999-05-25 21:50:03 +00:00
rogerl%netscape.com
f9288d52bf JSValue changes, closing in on JSObject API. Began 'correct' semantic
implementation for various operators.
1999-05-25 21:49:40 +00:00
rogerl%netscape.com
fd5107675a Fixed 'continue label' 1999-05-25 20:29:12 +00:00
beard%netscape.com
36f20de5c9 First Checked In. 1999-05-24 20:48:58 +00:00
beard%netscape.com
c1a6075103 added mozilla/js/rhino/org/mozilla/javascript/ListenerCollection.java 1999-05-23 20:07:05 +00:00
briano%netscape.com
b5e1dc09c3 I'm hoping this will fix the breakage that results from not having . in one's PATH. 1999-05-22 06:42:48 +00:00
briano%netscape.com
f16a192d21 Fix for the -r flag problem and the redundant rules warning. And a whole bunch of housecleaning. Approved by leaf@mozilla.org. Let me know if I ripped out something I shouldn't have. 1999-05-22 05:55:23 +00:00
norris%netscape.com
4842b30458 Manifest for jstools.jar to enable use of 1.2 -jar option. 1999-05-21 06:13:37 +00:00
rogerl%netscape.com
8c6e6be5af Continuing JSValue fun. 1999-05-21 00:54:26 +00:00
norris%netscape.com
ed84c8db7f Add methods for getting and setting key-value pairs. 1999-05-20 23:54:53 +00:00
rogerl%netscape.com
9f01927972 Switching to JSValue throughout. Implementing operators per base type. 1999-05-20 21:16:11 +00:00
briano%netscape.com
09328c4574 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
a254fc512f New. 1999-05-20 00:14:26 +00:00
rogerl%netscape.com
0248fef529 Switch to new JSValue hierarchy.
Added logical/bitwise ops.
1999-05-20 00:13:38 +00:00
norris%netscape.com
b652b55b72 Remove Java 2 dependency. 1999-05-19 23:58:37 +00:00
norris%netscape.com
625fe68e12 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
0f406008cb Fix formatting. 1999-05-18 22:55:11 +00:00
norris%netscape.com
f3a98b7eaf Clearer formatting. 1999-05-18 22:54:15 +00:00
rogerl%netscape.com
d9eebdf83f New functionality 1999-05-18 22:50:53 +00:00
rogerl%netscape.com
1104cb60f0 New stuff - better handle on breaks etc, started try/catch 1999-05-18 22:49:59 +00:00
norris%netscape.com
e2e412bdb1 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
0a1f41b7dc 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
3af971a8c2 First working version 1999-05-17 05:11:19 +00:00
waldemar%netscape.com
837f29ca05 Renamed != to /= and lambda to function. 1999-05-17 05:10:41 +00:00
waldemar%netscape.com
f019c1d787 Added intsets. 1999-05-17 05:10:07 +00:00
waldemar%netscape.com
7ec4e04544 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
3a039ef374 Added sets, subseq, set-nth. Renamed 'lambda' to 'function' and '!=' to '/='. 1999-05-17 05:07:52 +00:00
waldemar%netscape.com
87dd865847 Added vector-assign, intersection, and union characters 1999-05-17 05:05:59 +00:00
waldemar%netscape.com
80e7c3ed1f Fixed LR(1) parser state lookahead-generation bug 1999-05-17 05:05:10 +00:00
waldemar%netscape.com
71600336ba Added RegExp to load path 1999-05-17 05:04:28 +00:00
waldemar%netscape.com
0e007f4fc6 Fixed formatting of parametrized nonterminal character classes 1999-05-17 05:04:07 +00:00
beard%netscape.com
b49cbbb6e2 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
224d81d77f renamed target typelib to xpconnect.xpt, added mozilla/dist/idl to access paths. 1999-05-15 01:38:15 +00:00
beard%netscape.com
fad5080155 First Checked In. 1999-05-15 01:35:45 +00:00
beard%netscape.com
5c1b7432a9 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
75836d64c2 fix CHECK_BRANCH fencepost 1999-05-14 23:53:33 +00:00
mcafee%netscape.com
f94af824bb Ignore generated files. 1999-05-14 23:32:44 +00:00
mccabe%netscape.com
e589be8d68 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
84496b558c change for hpux porting 1999-05-14 09:27:01 +00:00
mccabe%netscape.com
29a63d4855 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
ab4aff4521 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
9f7bc3c783 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
30b87c0656 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
e9a7ddffb9 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
dec10427b3 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
96b21befe2 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
9201ca0da4 QNX-specific ifdef addition. 1999-05-12 23:29:04 +00:00
rogerl%netscape.com
e7e6b50c60 Fixed warnings, few statement & expression changes 1999-05-12 05:01:31 +00:00
mccabe%netscape.com
e880402830 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
a62a14d61d 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
20f8852310 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
2cf946c1b7 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
8bbf73e25f 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
104ad8308f Small grammar fixes 1999-05-10 21:31:37 +00:00
waldemar%netscape.com
0bad941063 Moved language semantics files into subdirectories 1999-05-10 21:05:42 +00:00
waldemar%netscape.com
dedb40788f Added references, predefined sets of characters, and lexer state support 1999-05-10 21:04:53 +00:00
waldemar%netscape.com
2215a3fa85 Added references and depict-styled-text 1999-05-10 21:03:07 +00:00
waldemar%netscape.com
231a8d5c02 Updated to match styles.css on documentation site 1999-05-10 21:02:22 +00:00
waldemar%netscape.com
61b0690ded Added headers, footers, document information, and reference stubs 1999-05-10 21:00:06 +00:00
waldemar%netscape.com
cd34f3ee61 Added references, :wrap, :none 1999-05-10 20:58:56 +00:00
waldemar%netscape.com
eb2f087b4a Added references 1999-05-10 20:57:17 +00:00
waldemar%netscape.com
ee4de03b3e Added references, unfinished YACC input generator 1999-05-10 20:56:47 +00:00
waldemar%netscape.com
985cfa7218 Added references, default actions, combined rules 1999-05-10 20:55:59 +00:00
waldemar%netscape.com
22dc1bf442 Added references, combined rules 1999-05-10 20:54:25 +00:00
waldemar%netscape.com
2eb1a7f08f First Checked In. 1999-05-10 20:52:58 +00:00
waldemar%netscape.com
edbf5e6f81 File Removed. 1999-05-10 20:50:37 +00:00
norris%netscape.com
576e9d20b6 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
e84cf8d605 Attempting to turn xpconnect on for Solars/sparc and Solaris/intel. 1999-05-10 08:15:45 +00:00
beard%netscape.com
b63a89b964 First Checked In. 1999-05-10 01:48:27 +00:00
mccabe%netscape.com
9c7e64d404 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
2d9156dce8 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
2c6d20de9f added optional Java applet object parameter to jsj_enter_js 1999-05-08 16:46:41 +00:00
beard%netscape.com
12dc2b3cc4 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
414e8e3a44 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
173eb15222 Latest changes 1999-05-07 22:18:39 +00:00
rogerl%netscape.com
8cf3d6ffe7 Latest changes 1999-05-07 22:07:22 +00:00
fur%netscape.com
50f967f883 Include jsosdep.h for JS_HAS_LONG_LONG flag 1999-05-07 19:20:53 +00:00
mccabe%netscape.com
1f36369274 Added references to the JavaAdapter and classfile classes. 1999-05-06 23:49:10 +00:00
norris%netscape.com
6fe783c4e7 Marginal performance tweak. 1999-05-06 23:17:12 +00:00
beard%netscape.com
05965b7454 First Checked In. 1999-05-06 14:16:15 +00:00
mccabe%netscape.com
ed1922475f Initial checkin of distribution makefile system for our brandfangled free source Rhino. 1999-05-06 07:51:15 +00:00
fur%netscape.com
a338679826 Delete jsmathtemp.o when clobber'ing 1999-05-06 01:50:11 +00:00
norris%netscape.com
e9a081a149 Update release string. 1999-05-05 23:29:06 +00:00
jband%netscape.com
f642461677 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
f93b0c9828 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
36803eaab9 Handle the case where f is null in "new f". 1999-05-04 17:23:13 +00:00
mccabe%netscape.com
43c8026874 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
7ea4f505a3 Fix spelling, don't claim uniqueness. 1999-05-03 17:56:07 +00:00
norris%netscape.com
c7d28e0cbb Make it purdy. 1999-05-03 17:55:21 +00:00
norris%netscape.com
9628273770 Add README with support for LXR. 1999-05-03 17:53:10 +00:00
norris%netscape.com
8d5569f75e Add new example. 1999-04-30 19:49:34 +00:00
norris%netscape.com
3bb6bca352 Better (?) error when initializing and the security resource isn't found. 1999-04-30 16:56:43 +00:00
norris%netscape.com
8675462ffa Fall through to number case only after considering character and boolean
independently.
1999-04-29 20:51:50 +00:00
norris%netscape.com
3a2b3ad97e 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
1451f178ae Help message should indicate that -1 is an acceptible optimizer value. 1999-04-29 17:22:20 +00:00
mccabe%netscape.com
d69c7fcbf1 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
c63b4ac205 Clean-up some bytecode leftovers.
Added assertions, non-greedy opt.
1999-04-28 23:08:14 +00:00
rogerl%netscape.com
393a0501c6 Added method to construct a new RegExp. 1999-04-28 23:07:14 +00:00
rogerl%netscape.com
4d75c0d939 Added interface method to construct a new RegExp. 1999-04-28 23:06:26 +00:00
rogerl%netscape.com
6c0c4f5eb3 Using regExpProxy to construct regexp literals 1999-04-28 23:05:43 +00:00
fur%netscape.com
2812bf9ab0 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
01e1ed6436 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
0d6a94b4f4 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
dcc6603adf added JavaAdapter.java 1999-04-27 19:56:20 +00:00
beard%netscape.com
d42c8cf151 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
f7b81ab327 added classes in org.mozilla.classfile 1999-04-27 19:43:56 +00:00
rogerl%netscape.com
8a8c3df4c1 #Not a part of SeaMonkey 1999-04-27 19:02:40 +00:00
norris%netscape.com
3fa40b6946 Better javadoc. 1999-04-27 16:55:44 +00:00
rogerl%netscape.com
ffee45cbea # Not a part of SeaMonkey 1999-04-27 16:22:20 +00:00
cbegle%netscape.com
26587dd597 Make sure that the test directory name ends with a trailing slash. 1999-04-27 16:15:30 +00:00
fur%netscape.com
543e6e7fe4 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
a763d03a5e 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
7f48c08caa Oops. 1999-04-27 06:28:04 +00:00
rogerl%netscape.com
9cecaa6054 Removing coies of Rhino code 1999-04-27 06:25:07 +00:00
rogerl%netscape.com
b89d3cdde0 Removing copies of Rhino code 1999-04-27 06:23:48 +00:00
rogerl%netscape.com
5f94cc1771 TestMain class 1999-04-27 06:18:56 +00:00
rogerl%netscape.com
4829912299 # Not a part of SeaMonkey
Added expression node building stuff.
1999-04-27 06:08:35 +00:00
fur%netscape.com
bf6543ebe2 Got rid of aborted attempt to graft XPCOM onto JS 1999-04-27 05:25:43 +00:00
fur%netscape.com
3a02934cd8 Tweaks 1999-04-27 05:08:14 +00:00
fur%netscape.com
538c155371 Got rid of aborted attempt to graft XPCOM onto JS 1999-04-27 05:00:07 +00:00
sfraser%netscape.com
25fb9812d5 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
84805d797c Clean up, add javadoc. 1999-04-27 03:56:23 +00:00
brendan%netscape.com
d46bbcad44 Cast printf %p args to (void*). 1999-04-27 03:42:28 +00:00
waterson%netscape.com
a150cb7a72 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
6c12636dc1 Check for JS_SetPrivate failure in JS_NewScriptObject. 1999-04-26 23:15:27 +00:00
brendan%netscape.com
ae96a869e6 Use #ifdef or equivalent to test XP_UNIX, not #if or equiv. 1999-04-26 23:14:12 +00:00
waterson%netscape.com
a8a27886cc Install xpc3250.dll into the components directory so that XPConnect works. 1999-04-26 22:54:40 +00:00
rogerl%netscape.com
c6788416d7 #Not a part of SeaMonkey
New.
1999-04-26 22:50:50 +00:00
norris%netscape.com
e07d8c6b14 Make JavaAdapter work on mozilla-only. 1999-04-26 20:41:57 +00:00
fur%netscape.com
8005bb253f Interim checkin of JS2 grammar. Still many ambiguities and bugs, though. 1999-04-26 18:22:30 +00:00
jband%netscape.com
73dbe19437 fix Win32 crash on startup - not copying xpc3250.dll to components dir 1999-04-25 18:56:09 +00:00
jband%netscape.com
21bfde3891 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
a17e9ace7e 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
b985623df2 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
e413292484 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
f34899c1ac Added CID for XPConnect. 1999-04-24 02:39:09 +00:00
norris%netscape.com
5d1454fa9c If the security resource isn't present, catch the exception and proceed. 1999-04-23 19:54:28 +00:00
norris%netscape.com
27a29f62ef Clean up javadoc. 1999-04-23 17:31:59 +00:00
norris%netscape.com
9920efbe72 Clean up javadocs; make Context creation faster. 1999-04-23 17:31:09 +00:00
norris%netscape.com
d59df52693 Clean up formatting. 1999-04-23 17:30:31 +00:00
mccabe%netscape.com
ba4f36c065 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
ceb11bcb32 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
f9df0964f2 Twiddled error reporter; added a '\n' after messages. 1999-04-23 09:01:18 +00:00
norris%netscape.com
a58f576420 Transfer examples to mozilla. 1999-04-22 20:58:54 +00:00
norris%netscape.com
ecee0852e5 Add examples to mozilla. 1999-04-22 20:41:57 +00:00
norris%netscape.com
3328f2c45d 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
42b71f5b65 First Checked In. 1999-04-22 02:50:18 +00:00
fur%netscape.com
8056f74029 Fixed a few typos so that the generated file actually compiles 1999-04-21 22:44:32 +00:00
fur%netscape.com
debc787fc5 Partial grammar for JS2, expressed using the ANTLR parser generator 1999-04-21 21:08:14 +00:00
norris%netscape.com
d9f9f0526f Load optimizer package from com.netscape. 1999-04-21 04:40:36 +00:00
norris%netscape.com
aafb17e3e7 Forgot to add Messages.properties. 1999-04-20 20:21:55 +00:00
sspitzer%netscape.com
c6e6f16762 adding Makefile to the ignore list 1999-04-20 19:25:21 +00:00
mccabe%netscape.com
71c8626072 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
8f2cc55a9b Publish Rhino as open source. 1999-04-19 20:43:53 +00:00
fur%netscape.com
7858e6abf5 Sync up with SpiderMonkey140_BRANCH 1999-04-19 05:19:56 +00:00