Commit Graph

1754 Commits

Author SHA1 Message Date
briano%netscape.com
f68bc74338 Fix for SunOS 4.x.
git-svn-id: svn://10.0.0.236/trunk@33896 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 01:46:10 +00:00
jdunn%netscape.com
c4bf59ddf0 need to handle building in a separate directory from where the source is...
git-svn-id: svn://10.0.0.236/trunk@33859 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:40:02 +00:00
mccabe%netscape.com
14ae3aa186 Backing out demo cvs checkin.
git-svn-id: svn://10.0.0.236/trunk@33811 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:27:50 +00:00
briano%netscape.com
a5a074461d Handle the (Unix) platform-specific DLL naming conventions properly.
git-svn-id: svn://10.0.0.236/trunk@33800 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:17:30 +00:00
jdunn%netscape.com
85dfb1be6c This file can't be optimized on AIX and so just like the NSPR file (prdtoa.c)
we turn off optimizing while compiling.


git-svn-id: svn://10.0.0.236/trunk@33785 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:50:09 +00:00
norris%netscape.com
90348e63ec Add benchmarks.
git-svn-id: svn://10.0.0.236/trunk@33758 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 18:44:17 +00:00
beard%netscape.com
7e586f42e5 added top-level "environment" associative array - which provides JavaScript access to Java System properties.
git-svn-id: svn://10.0.0.236/trunk@33757 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 18:06:25 +00:00
beard%netscape.com
a640fc495b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33756 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 18:03:06 +00:00
beard%netscape.com
dbf0fe69c6 File Removed.
git-svn-id: svn://10.0.0.236/trunk@33753 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 17:43:35 +00:00
beard%netscape.com
8a0fe4a93e added Environment.java
git-svn-id: svn://10.0.0.236/trunk@33752 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 17:43:17 +00:00
norris%netscape.com
960871aa12 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


git-svn-id: svn://10.0.0.236/trunk@33744 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 16:25:41 +00:00
norris%netscape.com
1090d221af Add NativeJavaConstructor.java
git-svn-id: svn://10.0.0.236/trunk@33743 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 16:06:14 +00:00
ducarroz%netscape.com
add3524194 add nsIXPCSecurityManager to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@33728 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 06:39:33 +00:00
jband%netscape.com
cc9525fa15 added nsIXPCSecurityManager interface and support to xpconnect - with tests.
git-svn-id: svn://10.0.0.236/trunk@33725 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 05:46:48 +00:00
mang%subcarrier.org
a904c07dc4 Added doc comment
git-svn-id: svn://10.0.0.236/trunk@33670 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:39:57 +00:00
norris%netscape.com
b8fb6e472a LC3 support: make Java arrays have Array.prototype as a prototype.
git-svn-id: svn://10.0.0.236/trunk@33669 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:38:47 +00:00
norris%netscape.com
589a2f1182 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


git-svn-id: svn://10.0.0.236/trunk@33667 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:38:00 +00:00
rogerl%netscape.com
453b90c2aa Blew off 'caller' property - it was deemed a security risk, bug #7224
git-svn-id: svn://10.0.0.236/trunk@33661 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:24:39 +00:00
norris%netscape.com
315a12dd58 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


git-svn-id: svn://10.0.0.236/trunk@33660 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:22:27 +00:00
jband%netscape.com
714db32d2e 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.
git-svn-id: svn://10.0.0.236/trunk@33598 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:44:37 +00:00
jband%netscape.com
edbf476869 make js_AllocStack, js_FreeStack, and js_Invoke, FRIEND functions so that they can be used by our good friend xpconnect.
git-svn-id: svn://10.0.0.236/trunk@33594 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:39:08 +00:00
waldemar%netscape.com
278f1afe6b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33580 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:53:14 +00:00
waldemar%netscape.com
43df2e7833 Added support for lookahead constraints
git-svn-id: svn://10.0.0.236/trunk@33579 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:52:04 +00:00
waldemar%netscape.com
038abfdf29 Added general-grammar-symbol? predicate
git-svn-id: svn://10.0.0.236/trunk@33578 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:50:21 +00:00
waldemar%netscape.com
4d092e8b8c Moved pieces of file around
git-svn-id: svn://10.0.0.236/trunk@33577 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:49:13 +00:00
waterson%netscape.com
095d917a3a Single public include directory on Win32.
git-svn-id: svn://10.0.0.236/trunk@33538 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:34:27 +00:00
rogerl%netscape.com
795f76c118 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.


git-svn-id: svn://10.0.0.236/trunk@33437 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:08:00 +00:00
rogerl%netscape.com
7900eaf22b blowing off commented out junk
git-svn-id: svn://10.0.0.236/trunk@33429 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 18:07:40 +00:00
norris%netscape.com
d13f41523a Fix NullPointerException for "abc".match("a\");
git-svn-id: svn://10.0.0.236/trunk@33424 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 16:12:19 +00:00
jband%netscape.com
30176c16a1 removing disinformation from README
git-svn-id: svn://10.0.0.236/trunk@33404 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 03:19:55 +00:00
jband%netscape.com
3b10acc614 adding netbsd m68k support contributed by khym@bga.com (Dave Huang)
git-svn-id: svn://10.0.0.236/trunk@33399 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 02:26:38 +00:00
rogerl%netscape.com
632556d9fd 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.


git-svn-id: svn://10.0.0.236/trunk@33359 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 23:17:19 +00:00
rogerl%netscape.com
0d914860f2 Bug #7197 - free other error report message junk
git-svn-id: svn://10.0.0.236/trunk@33353 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 23:07:59 +00:00
rogerl%netscape.com
9ebb01e7ba 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.


git-svn-id: svn://10.0.0.236/trunk@33349 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 22:43:17 +00:00
jband%netscape.com
b15710a19b added test
git-svn-id: svn://10.0.0.236/trunk@33323 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 02:43:02 +00:00
jband%netscape.com
c900b45a0b 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.


git-svn-id: svn://10.0.0.236/trunk@33322 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 02:39:44 +00:00
jband%netscape.com
3a49dee03c updating readme
git-svn-id: svn://10.0.0.236/trunk@33321 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 02:31:13 +00:00
rogerl%netscape.com
7448fc1fe9 Moved from stack to inline execution.
git-svn-id: svn://10.0.0.236/trunk@33132 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 19:00:48 +00:00
rogerl%netscape.com
4d597b6ebd Bug #6359 and other changes motivated by Waldemar's specification.
git-svn-id: svn://10.0.0.236/trunk@32759 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:28:32 +00:00
cbegle%netscape.com
4e49683cd7 adding more javascript language tests
git-svn-id: svn://10.0.0.236/trunk@32756 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:24:04 +00:00
cbegle%netscape.com
f035e2c00f adding more javascript language tests.
git-svn-id: svn://10.0.0.236/trunk@32754 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:22:06 +00:00
briano%netscape.com
96b6460762 Fix for the case where NSPR is built separately and isn't listed in LD_LIBRARY_PATH.
git-svn-id: svn://10.0.0.236/trunk@32750 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:18:37 +00:00
cbegle%netscape.com
0870f2480f adding new javascript tests - liveconnect
git-svn-id: svn://10.0.0.236/trunk@32749 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:14:51 +00:00
cbegle%netscape.com
b8cc57c616 adding new tests for the javascript language - liveconnect.
git-svn-id: svn://10.0.0.236/trunk@32745 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:07:01 +00:00
cbegle%netscape.com
742c46d624 adding more javascript language tests to the repository.
git-svn-id: svn://10.0.0.236/trunk@32734 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:48:43 +00:00
cbegle%netscape.com
1bf49d671c adding more javascript language tests to the repository.
git-svn-id: svn://10.0.0.236/trunk@32723 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:37:13 +00:00
cbegle%netscape.com
8e3e85b033 Adding ecma 2 tests to the repository.
git-svn-id: svn://10.0.0.236/trunk@32720 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:22:57 +00:00
norris%netscape.com
8eccc51ac0 Fix bug 6705.
git-svn-id: svn://10.0.0.236/trunk@32701 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 19:55:51 +00:00
norris%netscape.com
3f184135b9 Remove class path for merging into a single JAR file.
git-svn-id: svn://10.0.0.236/trunk@32700 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 19:52:40 +00:00
norris%netscape.com
4ac0b82248 fix node property printing
git-svn-id: svn://10.0.0.236/trunk@32699 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 19:48:45 +00:00