Граф коммитов

1011 Коммитов

Автор SHA1 Сообщение Дата
cbegle%netscape.com ab6d808ff3 Fix errors in liveconnect tests per furman@netscape.com. Renaming files
to not have a "-n" filename, since they are no longer negative tests.
1999-06-15 20:03:30 +00:00
jband%netscape.com 3c3d813ffb removing an assert that is no longer appropriate 1999-06-15 04:46:18 +00:00
jband%netscape.com 8fffb2d916 fix for bug 7940. Notification in xpconnect of JSContext about to be destroyed was zeroing out information later used to remove gc root. This was keeping JS_RemoveRoot from being called for those objects. So, the JSRuntime was getting left with pointers to roots for stuff on JSContexts long since destroyed and for which memory had been recycled. The fix is to be *sure* to do all the proper cleanup in xpconnect upon notification that a JSContext is about to be destroyed. 1999-06-15 02:48:26 +00:00
rogerl%netscape.com 05c29118df Changes to get traditional functions with args. working 1999-06-15 00:57:05 +00:00
cbegle%netscape.com 5007f91883 Fix error in test. Arrays should be sorted by the string value of their
members, even if they're numbers.
1999-06-14 23:39:14 +00:00
frankm%eng.sun.com c15f5fed6c Add "fast" make target, to compile only changed files. 1999-06-14 21:51:52 +00:00
jband%netscape.com e95c6809f7 fix DOM native -> JSObject convert to not leak on failure and to fail fully rather than spuriously fall back and create an xpconnect wrapper 1999-06-14 21:23:46 +00:00
cbegle%netscape.com 476de41490 Fix test case -- remove commas from the expected result. 1999-06-14 21:06:54 +00:00
jband%netscape.com d88937e313 adding strlen replacement that brendan suggested to allow for passing (oneway) JSStrings with embedded NULLs. Also added comment to Makefile.in for Unixish x86 1999-06-14 20:35:26 +00:00
jband%netscape.com aa1321ad24 changing JS_AddRoot calls to JS_AddNamedRoot calls to satisfy request in bug 8070 1999-06-13 19:19:44 +00:00
frankm%eng.sun.com 02111815df Revamp NativeJavaObject.coerceType and associated methods to make code
more maintainable, and to pass lc3/JSObject/ToChar-001.js.
1999-06-12 01:41:20 +00:00
rogerl%netscape.com 1c2f1482a0 Mucking about with stuff. 1999-06-11 23:05:16 +00:00
jband%netscape.com b0cdb06f28 fix for bug 8017. We were allowing JS null and void to get converted into C++ NULL for pointer types even when the target was declared as a C++ reference. This was bad. Now we check for this and fail with a nice explanatory message in the JS exception. 1999-06-11 21:59:56 +00:00
jband%netscape.com 12607a8bbb fix for bug 7698. Have the prop state object call the right object when doing the JSENUMERATE_DESTROY and make sure that the object does not get gc'd first 1999-06-11 19:16:46 +00:00
jband%netscape.com 886acc45f7 1) adding the fix for 7926 from brendan and sfraser (with cleanup from me).
2) added where I was not checking for JSVAL_NULL from brendan.
3) got rid of 'xpcom32' references.
4) added nsIEcho::ReturnInterface as a loopback for testing the above.
5) removed some redundant retval setting code.
1999-06-11 02:04:42 +00:00
frankm%eng.sun.com 0ec049218f Fixes for LC3 regression tests, including:
- check static members of instances in JavaMembers.put

- do not unwrap Wrappers before calling NativeJavaMethod.findFunction
     or NativeJavaObject.coerceType; both methods may need extra information
     provided by the wrapper.

- separate Java signatures for resolving overloaded methods and script
     signatures for error messages, so we can distinguish primitive types
     from classes.

- separate Java signatures for resolving overloaded methods and script
     signatures for error messages, so we can distinguish primitive types
     from classes.

- prevent a NativeJavaClass from being treated as a wrapped instance of
     java.lang.Class

- correct bug which preferred the *less* specific of two classes in
     NativeJavaMethod.preferSignature

- add new LC3 conversion rules to  NativeJavaObject.coerceTypes.

- coerce JS numbers to Java numbers or chars only if the JS number is in
     range.
1999-06-11 01:24:40 +00:00
rogerl%netscape.com 97b4ec5df2 Function calling begun. 1999-06-11 00:21:26 +00:00
rogerl%netscape.com 5542344a17 Added base to ScriptRuntime.numberToString, NativeNumber.toString()
Bug #7625
1999-06-10 01:54:28 +00:00
rogerl%netscape.com 69843c07c9 New 1999-06-09 03:10:30 +00:00
rogerl%netscape.com 296eac0ef3 tried adding some lexical scoping to the leftmost identifier 1999-06-09 03:10:09 +00:00
jband%netscape.com 921fd9e36c removing unused file 1999-06-08 21:03:35 +00:00
norris%netscape.com d8c389dd95 Small reduction in code size. 1999-06-08 20:57:19 +00:00
cbegle%netscape.com 5f479cd997 Fix constructor test to match the constructors in DataTypeClass.java 1999-06-08 18:07:15 +00:00
cbegle%netscape.com 7b581afe81 Add constructor tests. 1999-06-08 18:06:28 +00:00
cbegle%netscape.com 465be7e373 Object getters should return the same object set in the object setters,
and not create a new object.
1999-06-08 16:27:43 +00:00
brendan%netscape.com 81ddf9d06d - "varargs" counterpart to JS_ConvertArguments, JS_ConvertArgumentsVA.
- JS_PushArguments{,VA} and JS_PopArguments to convert a list of C/C++ values
  passed as actual arguments into an 'jsval *argv' on the JS stack.
- Clean up and robustify ConvertArgs test command in the js shell.
1999-06-08 02:15:57 +00:00
waldemar%netscape.com ddb51a591e Fixed several semantic errors. Added (?= and (?!. 1999-06-08 00:45:49 +00:00
waldemar%netscape.com 0b0c401d33 Added statement showing number of grammar states 1999-06-08 00:44:52 +00:00
briano%netscape.com 9ebe510ba1 SunOS 4.x doesn't have libsocket either. 1999-06-08 00:15:02 +00:00
rogerl%netscape.com 0051b03950 Fixed bug #7703, typeof<var> wasn't referencing activation frame vars
correctly.
1999-06-07 22:29:41 +00:00
waldemar%netscape.com c7c270736c Simplified grammar by using lookahead constraints. Fixed \dd bugs. Made all errors occur at pattern compile time. 1999-06-07 22:00:09 +00:00
waldemar%netscape.com 0b5be030aa Simplified grammar by using lookahead constraints. 1999-06-07 21:58:24 +00:00
waldemar%netscape.com dfd0b680c6 Simplified grammar by using lookahead constraints. Removed requirement for an underscore before unit name. 1999-06-07 21:57:29 +00:00
norris%netscape.com 156c620890 Clean up formatting. 1999-06-07 18:14:15 +00:00
norris%netscape.com b3091ef631 Optimization: avoid allocating a Vector object for every LiveConnect call. 1999-06-07 18:13:15 +00:00
jband%netscape.com ba8bdc6432 allow for mapping both directions between NULL and JSVAL_NULL for all pointer type objects (string, wstring, nsid, as well as interface pointers 1999-06-07 05:09:38 +00:00
mccabe%netscape.com 74cbd4f17d Change the emacs /* Mode: */ comment for many .cpp files from C to C++. A .js file snuck in there too, but I like seeing my .js in c++-mode anyway... 1999-06-06 04:25:58 +00:00
mccabe%netscape.com 32e6e2c668 Patches courtesy Jeremy Lea <reg@shale.csir.co.za>
To wit:

Attached are a couple of small fixes for building in the js/ subdir.

These are for FreeBSD-CURRENT, and for building in a seperate OBJDIR.

The FreeBSD one is a quick and dirty.  The real fix is pobably just to
use OS_LDFLAGS as defined by configure...
1999-06-06 04:10:33 +00:00
beard%netscape.com f2e26e1672 added NativeJavaConstructor.java 1999-06-05 08:20:54 +00:00
frankm%eng.sun.com 1d94646a5d Replace *.class with ScriptRuntime.*Class; added ScriptRuntime.ClassClass 1999-06-05 01:48:24 +00:00
briano%netscape.com e3a9b27864 Fix for SunOS 4.x. 1999-06-05 01:46:10 +00:00
jdunn%netscape.com 89ed37f4bb need to handle building in a separate directory from where the source is... 1999-06-04 23:40:02 +00:00
mccabe%netscape.com bed5574ac7 Backing out demo cvs checkin. 1999-06-04 22:27:50 +00:00
briano%netscape.com e9e302b454 Handle the (Unix) platform-specific DLL naming conventions properly. 1999-06-04 22:17:30 +00:00
jdunn%netscape.com 5cb90c6401 This file can't be optimized on AIX and so just like the NSPR file (prdtoa.c)
we turn off optimizing while compiling.
1999-06-04 21:50:09 +00:00
norris%netscape.com f6b3180aa1 Add benchmarks. 1999-06-04 18:44:17 +00:00
beard%netscape.com 37684b46df added top-level "environment" associative array - which provides JavaScript access to Java System properties. 1999-06-04 18:06:25 +00:00
beard%netscape.com 27c457e6a1 First Checked In. 1999-06-04 18:03:06 +00:00
beard%netscape.com 1f8aa1d994 File Removed. 1999-06-04 17:43:35 +00:00
beard%netscape.com 4f5a2326f6 added Environment.java 1999-06-04 17:43:17 +00:00
norris%netscape.com 26673d9939 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 1756dcf1a9 Add NativeJavaConstructor.java 1999-06-04 16:06:14 +00:00
ducarroz%netscape.com aae2fef141 add nsIXPCSecurityManager to fix build bustage 1999-06-04 06:39:33 +00:00
jband%netscape.com f6714b892e added nsIXPCSecurityManager interface and support to xpconnect - with tests. 1999-06-04 05:46:48 +00:00
mang%subcarrier.org 2d4bb78638 Added doc comment 1999-06-03 23:39:57 +00:00
norris%netscape.com 45e66dd4d3 LC3 support: make Java arrays have Array.prototype as a prototype. 1999-06-03 23:38:47 +00:00
norris%netscape.com 099c73edaa 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 6de2f329f7 Blew off 'caller' property - it was deemed a security risk, bug #7224 1999-06-03 23:24:39 +00:00
norris%netscape.com ad3fb5ff8c 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 d84e9c1c22 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 c3f6f5592f 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 f5030b54ec First Checked In. 1999-06-03 20:53:14 +00:00
waldemar%netscape.com 7b5ca98bb9 Added support for lookahead constraints 1999-06-03 20:52:04 +00:00
waldemar%netscape.com 1282a45ed9 Added general-grammar-symbol? predicate 1999-06-03 20:50:21 +00:00
waldemar%netscape.com 6f01466cb1 Moved pieces of file around 1999-06-03 20:49:13 +00:00
waterson%netscape.com cabd0d3e30 Single public include directory on Win32. 1999-06-03 18:34:27 +00:00
rogerl%netscape.com 2928c8a438 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 aa6634762d blowing off commented out junk 1999-06-02 18:07:40 +00:00
norris%netscape.com c4a8882517 Fix NullPointerException for "abc".match("a\"); 1999-06-02 16:12:19 +00:00
jband%netscape.com 71fe040248 removing disinformation from README 1999-06-02 03:19:55 +00:00
jband%netscape.com 4148a5c559 adding netbsd m68k support contributed by khym@bga.com (Dave Huang) 1999-06-02 02:26:38 +00:00
rogerl%netscape.com 509a1ab7c4 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 38fb811d00 Bug #7197 - free other error report message junk 1999-06-01 23:07:59 +00:00
rogerl%netscape.com 6cd67105a1 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 120ddf19fc added test 1999-06-01 02:43:02 +00:00
jband%netscape.com ea3b06e196 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 1d83c5cbae updating readme 1999-06-01 02:31:13 +00:00
rogerl%netscape.com 748e2b1dfe Moved from stack to inline execution. 1999-05-28 19:00:48 +00:00
rogerl%netscape.com 87b0695b45 Bug #6359 and other changes motivated by Waldemar's specification. 1999-05-26 22:28:32 +00:00
cbegle%netscape.com 8338dd389c adding more javascript language tests 1999-05-26 22:24:04 +00:00
cbegle%netscape.com 70a6bb127d adding more javascript language tests. 1999-05-26 22:22:06 +00:00
briano%netscape.com bcd3d280eb 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 7c561ddf70 adding new javascript tests - liveconnect 1999-05-26 22:14:51 +00:00
cbegle%netscape.com d1225141de adding new tests for the javascript language - liveconnect. 1999-05-26 22:07:01 +00:00
cbegle%netscape.com dab403813f adding more javascript language tests to the repository. 1999-05-26 21:48:43 +00:00
cbegle%netscape.com 3b962be1e8 adding more javascript language tests to the repository. 1999-05-26 21:37:13 +00:00
cbegle%netscape.com c3f9125b1d Adding ecma 2 tests to the repository. 1999-05-26 21:22:57 +00:00
norris%netscape.com d2409b9e5b Fix bug 6705. 1999-05-26 19:55:51 +00:00
norris%netscape.com 925eb75371 Remove class path for merging into a single JAR file. 1999-05-26 19:52:40 +00:00
norris%netscape.com 1816055731 fix node property printing 1999-05-26 19:48:45 +00:00
norris%netscape.com dbcd8dbb66 clean up formatting 1999-05-26 19:48:02 +00:00
mcmullen%netscape.com 49472f756f Headers settings did not have the linker turned on! 1999-05-26 19:36:12 +00:00
dp%netscape.com 4c7c494fe7 removing -lreg 1999-05-26 07:41:15 +00:00
dp%netscape.com 0443b20e33 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
rogerl%netscape.com b0d3021eee Hmmm, new changes these are. 1999-05-26 01:01:07 +00:00
rogerl%netscape.com 79fe7bacf3 New. 1999-05-25 21:50:03 +00:00
rogerl%netscape.com 16f01fa51a 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 09eb42d416 Fixed 'continue label' 1999-05-25 20:29:12 +00:00
beard%netscape.com 4415dbcda7 First Checked In. 1999-05-24 20:48:58 +00:00
beard%netscape.com 20540e64d7 added mozilla/js/rhino/org/mozilla/javascript/ListenerCollection.java 1999-05-23 20:07:05 +00:00
briano%netscape.com ead6b4c8b3 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 84518939f6 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 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