Commit Graph

1754 Commits

Author SHA1 Message Date
rogerl%netscape.com
2c02859f3e Clean-up some bytecode leftovers.
Added assertions, non-greedy opt.


git-svn-id: svn://10.0.0.236/trunk@29762 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 23:08:14 +00:00
rogerl%netscape.com
1769472805 Added method to construct a new RegExp.
git-svn-id: svn://10.0.0.236/trunk@29761 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 23:07:14 +00:00
rogerl%netscape.com
7301359348 Added interface method to construct a new RegExp.
git-svn-id: svn://10.0.0.236/trunk@29760 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 23:06:26 +00:00
rogerl%netscape.com
59f449dee6 Using regExpProxy to construct regexp literals
git-svn-id: svn://10.0.0.236/trunk@29759 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 23:05:43 +00:00
fur%netscape.com
70f20d4216 Temporarily back out include of jsosdep.h until linkage problems can be looked at
git-svn-id: svn://10.0.0.236/trunk@29607 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 00:27:51 +00:00
fur%netscape.com
9d7ec5fadb On unix, include jsosdep.h, so that the definition of JS_HAS_LONG_LONG is seen everywhere
git-svn-id: svn://10.0.0.236/trunk@29502 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 21:14:14 +00:00
fur%netscape.com
0d813fd73b Lots of cut-n-paste from js.c so as to work with newest version of JSAPI
git-svn-id: svn://10.0.0.236/trunk@29501 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 21:09:34 +00:00
beard%netscape.com
58dee7333d added JavaAdapter.java
git-svn-id: svn://10.0.0.236/trunk@29479 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 19:56:20 +00:00
beard%netscape.com
bfeb7f2124 Using the property "org.mozilla.javascript.JavaAdapter" to allow the JavaAdapter class to come from another package.
git-svn-id: svn://10.0.0.236/trunk@29477 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 19:55:53 +00:00
beard%netscape.com
1fdae9bfe4 added classes in org.mozilla.classfile
git-svn-id: svn://10.0.0.236/trunk@29468 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 19:43:56 +00:00
rogerl%netscape.com
691358d9f6 #Not a part of SeaMonkey
git-svn-id: svn://10.0.0.236/trunk@29459 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 19:02:40 +00:00
norris%netscape.com
c17f814ae0 Better javadoc.
git-svn-id: svn://10.0.0.236/trunk@29436 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 16:55:44 +00:00
rogerl%netscape.com
7d4dfd4ad3 # Not a part of SeaMonkey
git-svn-id: svn://10.0.0.236/trunk@29435 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 16:22:20 +00:00
cbegle%netscape.com
b4f4376836 Make sure that the test directory name ends with a trailing slash.
git-svn-id: svn://10.0.0.236/trunk@29434 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 16:15:30 +00:00
fur%netscape.com
dc0c8d45d1 Merge changes from SpiderMonkey140_BRANCH. Note: none of the
added files participate in the client build.


git-svn-id: svn://10.0.0.236/trunk@29432 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 15:18:57 +00:00
fur%netscape.com
cd1e87d4ba 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.


git-svn-id: svn://10.0.0.236/trunk@29431 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 15:09:06 +00:00
rogerl%netscape.com
16d4f681d8 Oops.
git-svn-id: svn://10.0.0.236/trunk@29409 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 06:28:04 +00:00
rogerl%netscape.com
0892cc920b Removing coies of Rhino code
git-svn-id: svn://10.0.0.236/trunk@29407 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 06:25:07 +00:00
rogerl%netscape.com
dda3ccddad Removing copies of Rhino code
git-svn-id: svn://10.0.0.236/trunk@29406 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 06:23:48 +00:00
rogerl%netscape.com
aed1ccc028 TestMain class
git-svn-id: svn://10.0.0.236/trunk@29405 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 06:18:56 +00:00
rogerl%netscape.com
c22ed4144f # Not a part of SeaMonkey
Added expression node building stuff.


git-svn-id: svn://10.0.0.236/trunk@29403 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 06:08:35 +00:00
fur%netscape.com
bc017015a5 Tweaks
git-svn-id: svn://10.0.0.236/trunk@29391 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 05:08:14 +00:00
fur%netscape.com
1679abc1c4 Got rid of aborted attempt to graft XPCOM onto JS
git-svn-id: svn://10.0.0.236/trunk@29390 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 05:00:07 +00:00
sfraser%netscape.com
6babea46d6 Fix a ton of link warnings by removing MathLib, since this is imported via InterfaceStubs.
git-svn-id: svn://10.0.0.236/trunk@29379 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 04:07:06 +00:00
norris%netscape.com
925b96a6fa Clean up, add javadoc.
git-svn-id: svn://10.0.0.236/trunk@29373 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 03:56:23 +00:00
brendan%netscape.com
f808667df1 Cast printf %p args to (void*).
git-svn-id: svn://10.0.0.236/trunk@29371 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 03:42:28 +00:00
waterson%netscape.com
63e6eea897 Add linker directives to make sure that all the libs we need get loaded.
git-svn-id: svn://10.0.0.236/trunk@29288 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 23:29:10 +00:00
brendan%netscape.com
740d073d9e Check for JS_SetPrivate failure in JS_NewScriptObject.
git-svn-id: svn://10.0.0.236/trunk@29285 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 23:15:27 +00:00
brendan%netscape.com
9e8ba6570a Use #ifdef or equivalent to test XP_UNIX, not #if or equiv.
git-svn-id: svn://10.0.0.236/trunk@29284 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 23:14:12 +00:00
waterson%netscape.com
23071615ff Install xpc3250.dll into the components directory so that XPConnect works.
git-svn-id: svn://10.0.0.236/trunk@29272 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 22:54:40 +00:00
rogerl%netscape.com
612f4ccc6c #Not a part of SeaMonkey
New.


git-svn-id: svn://10.0.0.236/trunk@29270 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 22:50:50 +00:00
norris%netscape.com
2c828bd2f5 Make JavaAdapter work on mozilla-only.
git-svn-id: svn://10.0.0.236/trunk@29227 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 20:41:57 +00:00
fur%netscape.com
85db1cf8f0 Interim checkin of JS2 grammar. Still many ambiguities and bugs, though.
git-svn-id: svn://10.0.0.236/trunk@29190 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:22:30 +00:00
jband%netscape.com
3f579066c1 fix Win32 crash on startup - not copying xpc3250.dll to components dir
git-svn-id: svn://10.0.0.236/trunk@29123 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 18:56:09 +00:00
jband%netscape.com
847f304920 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
git-svn-id: svn://10.0.0.236/trunk@29050 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 09:40:51 +00:00
jband%netscape.com
2c6e952761 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.
git-svn-id: svn://10.0.0.236/trunk@29049 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 09:32:35 +00:00
jband%netscape.com
d798ce06a8 made xpconnect a service and changed the Win32 and Unix makefiles to have the xpconnect dll installed to the components directory
git-svn-id: svn://10.0.0.236/trunk@29043 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 08:10:16 +00:00
beard%netscape.com
fcbdb6fb26 made the class to use for the JavaAdapter selectable via the Java property "org.mozilla.javascript.JavaAdapter"
git-svn-id: svn://10.0.0.236/trunk@29040 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 06:28:17 +00:00
waterson%netscape.com
bb9438ca47 Added CID for XPConnect.
git-svn-id: svn://10.0.0.236/trunk@29016 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 02:39:09 +00:00
norris%netscape.com
1967c50fd1 If the security resource isn't present, catch the exception and proceed.
git-svn-id: svn://10.0.0.236/trunk@28920 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:54:28 +00:00
norris%netscape.com
59b47d8de9 Clean up javadoc.
git-svn-id: svn://10.0.0.236/trunk@28884 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:31:59 +00:00
norris%netscape.com
a4832a8dcf Clean up javadocs; make Context creation faster.
git-svn-id: svn://10.0.0.236/trunk@28883 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:31:09 +00:00
norris%netscape.com
f8b70259e1 Clean up formatting.
git-svn-id: svn://10.0.0.236/trunk@28882 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 17:30:31 +00:00
mccabe%netscape.com
177ba59ee8 Backed out my previous checkin.
I realized that:
- we build on more than one build system.
- I'm too tired to fix it.


git-svn-id: svn://10.0.0.236/trunk@28827 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 09:20:36 +00:00
mccabe%netscape.com
62a0bd7ecd 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.
git-svn-id: svn://10.0.0.236/trunk@28826 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 09:10:09 +00:00
mccabe%netscape.com
45edc03bed Twiddled error reporter; added a '\n' after messages.
git-svn-id: svn://10.0.0.236/trunk@28825 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 09:01:18 +00:00
norris%netscape.com
6a4f7c3f0b Transfer examples to mozilla.
git-svn-id: svn://10.0.0.236/trunk@28727 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 20:58:54 +00:00
norris%netscape.com
f7488b74e0 Add examples to mozilla.
git-svn-id: svn://10.0.0.236/trunk@28724 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 20:41:57 +00:00
norris%netscape.com
31c5ec75fa 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


git-svn-id: svn://10.0.0.236/trunk@28711 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 18:29:07 +00:00
beard%netscape.com
e590e83437 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@28628 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:50:18 +00:00