616 Commits

Author SHA1 Message Date
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
fur%netscape.com
92a896f017 Fixed a few typos so that the generated file actually compiles
git-svn-id: svn://10.0.0.236/trunk@28560 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:44:32 +00:00
fur%netscape.com
04873ddf92 Partial grammar for JS2, expressed using the ANTLR parser generator
git-svn-id: svn://10.0.0.236/trunk@28526 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:08:14 +00:00
norris%netscape.com
ade1dcd425 Load optimizer package from com.netscape.
git-svn-id: svn://10.0.0.236/trunk@28432 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 04:40:36 +00:00
norris%netscape.com
632b9118f6 Forgot to add Messages.properties.
git-svn-id: svn://10.0.0.236/trunk@28301 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 20:21:55 +00:00
mccabe%netscape.com
fb5b086de4 Fixed erroneous comment.
Thanks to David Gardiner <david.gardiner@unisa.edu.au> for catching this.


git-svn-id: svn://10.0.0.236/trunk@28278 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:02:40 +00:00
norris%netscape.com
136cab8649 Publish Rhino as open source.
git-svn-id: svn://10.0.0.236/trunk@28070 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 20:43:53 +00:00
fur%netscape.com
c08b279541 Sync up with SpiderMonkey140_BRANCH
git-svn-id: svn://10.0.0.236/trunk@28030 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 05:19:56 +00:00
fur%netscape.com
f23d6af276 Sync up with SpiderMonkey140_BRANCH
git-svn-id: svn://10.0.0.236/trunk@28028 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 05:12:25 +00:00
rogerl%netscape.com
28cb2e838e Sample driver for IR factory
git-svn-id: svn://10.0.0.236/trunk@27803 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:55:36 +00:00
rogerl%netscape.com
382f120d73 Changes for try/catch handling
git-svn-id: svn://10.0.0.236/trunk@27801 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 02:54:56 +00:00
rogerl%netscape.com
a63de07fef # NOT A PART OF SEAMONKEY IN ANY WAY
Some new, some old filres copiedfrom Rhino to form start of prototyping
environment for Project Brenda


git-svn-id: svn://10.0.0.236/trunk@27571 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 18:24:00 +00:00
mccabe%netscape.com
54e58b62ff Backwards-compatible versioned behavior for getYear(), for legacy scripts.
git-svn-id: svn://10.0.0.236/trunk@27542 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 04:09:22 +00:00
shaver%netscape.com
e8633740a4 add a cast to try and make xlc happy
git-svn-id: svn://10.0.0.236/trunk@27526 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 02:55:02 +00:00
jdunn%netscape.com
1017c89319 fix compiler error: need unix head file for isatty
git-svn-id: svn://10.0.0.236/trunk@27333 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 18:10:24 +00:00
jband%netscape.com
c95c70dfb8 remove inadvertant scope over-qualification to fix HP-UX bustage
git-svn-id: svn://10.0.0.236/trunk@27319 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 07:13:43 +00:00
jband%netscape.com
8bd8776d01 - made nsJSCID's createInstance and getService work as attributes using nsIXPCScriptable::call to support security and sevicemanager protocol.
- made xpccontext strings id scheme more generic.
- fixed stupif IID hash function.
- fixed nsIXPCScriptable call and construct to work with the correct function object.
- added gc and dump (using xpclog) to xpcshell.


git-svn-id: svn://10.0.0.236/trunk@27307 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 04:15:36 +00:00
jdunn%netscape.com
a3c0b7b8c0 Fixing native compiler error (NS_DECL_ISUPPORTS shouldn't have a ';' at the end
git-svn-id: svn://10.0.0.236/trunk@27196 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 20:35:04 +00:00
mccabe%netscape.com
5ab71cf202 Fixed initial copyright date.
Thanks to Tim Rowley <tor@cs.brown.edu> for this SunOS fix.


git-svn-id: svn://10.0.0.236/trunk@27149 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 08:57:06 +00:00
mccabe%netscape.com
1a1fe1bdf9 Fix to 4575.
Buildsystem changes to handle the lock_SunOS.s file properly on the native compiler.

Also added a new SunOS5.7 config file, and changed several SunOS config files from redundant copies to includes of a base file.


git-svn-id: svn://10.0.0.236/trunk@27148 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 07:54:52 +00:00
beard%netscape.com
b495fa8dcc First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27078 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-11 00:28:06 +00:00
beard%netscape.com
9e08ba67ef First Checked In.
git-svn-id: svn://10.0.0.236/trunk@27068 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 23:52:55 +00:00
jband%netscape.com
367e5d8ac6 set as component for unix
git-svn-id: svn://10.0.0.236/trunk@26992 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 07:15:21 +00:00
jband%netscape.com
9e90639ad9 adding library to makefile
git-svn-id: svn://10.0.0.236/trunk@26991 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 07:09:04 +00:00
jband%netscape.com
b17ace4fde fix copy-paste error
git-svn-id: svn://10.0.0.236/trunk@26990 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 07:05:26 +00:00
jband%netscape.com
71edd0d024 - added an interactive shell for xpconnect testing.
- added tests/components which autregs itself for testing.
- added finalize listener for wrapped natives to support services.
- added getService to CID class.
- renamed newInstance to createInstance in CID class.
- simplified api for Components object (easy attach to global object).


git-svn-id: svn://10.0.0.236/trunk@26984 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:51:01 +00:00
jband%netscape.com
776a1bd552 export yet another header file (jsstddef.h is included by jsemit.h which is needed for external interactive shells)
git-svn-id: svn://10.0.0.236/trunk@26982 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 06:47:20 +00:00
mccabe%netscape.com
85e37c2302 Not part of the mozilla build. The currently about-to-ensue breakage is not my fault!
Remove redundant sub.  Patch courtesy Dave Neuer <dneuer@futuristics.net>.


git-svn-id: svn://10.0.0.236/trunk@26919 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:37:46 +00:00
pinkerton%netscape.com
cbd5c36140 Move all apple libs into MacOS target of interfaces.mcp. Only "apple" lib in each project should now be InterfacesStubs (with some minor exceptions). permission to checkin granted by cyeh.
git-svn-id: svn://10.0.0.236/trunk@26899 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 00:15:14 +00:00
jband%netscape.com
ee6636ec3a generated binary files update
git-svn-id: svn://10.0.0.236/trunk@26630 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 00:30:20 +00:00
jband%netscape.com
e609adb924 Added support for [scriptable] flag in interface descriptor. Added [noscript]. xpconnect now checks for the [scriptable] flag.
git-svn-id: svn://10.0.0.236/trunk@26574 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 22:42:10 +00:00
cbegle%netscape.com
21843069bc a little better error handling if no argument provided.
git-svn-id: svn://10.0.0.236/trunk@26395 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 01:11:13 +00:00
jband%netscape.com
c187e79606 fixed typo so no extra .pdb files get left behind
git-svn-id: svn://10.0.0.236/trunk@26375 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:10:10 +00:00
cbegle%netscape.com
8bb0d18015 Add a little more info to the template file.
git-svn-id: svn://10.0.0.236/trunk@26370 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:56:28 +00:00
cbegle%netscape.com
3e57fa180d The JavaScript Test Library, Part I. ECMA v. 1.0. See the page at
http://www.mozilla.org/js/tests/library.html for information about
these tests, like how to run them and stuff.

According to fur, these tests should not get checked out when you
check out Mozilla -- you'd have to specifically check out mozilla/js/tests
to get all these files.


git-svn-id: svn://10.0.0.236/trunk@26348 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 22:58:49 +00:00
mccabe%netscape.com
a1bc540cb7 More tweaks to perlconnect build system -
Added jsperlbuild.pl file to abstract the location of xsubpp.  Many thanks to Dave Neuer (dneuer@futuristics.net) for this and much other porting help with perlconnect.

Combined jsperl.so and JS.pm into a JS.so object for use from both javascript and perl.

Fixed rules.mk to recur into DIRS for clean, clobber.


git-svn-id: svn://10.0.0.236/trunk@26141 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 12:44:47 +00:00
jband%netscape.com
12836878a3 use nsAllocator instead of local wrapper. added Components.lastResult with tests
git-svn-id: svn://10.0.0.236/trunk@26140 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 10:12:50 +00:00
jband%netscape.com
c048120d1b js_DefaultValue now accepts that it is OK for a request with hint of JSTYPE_OBJECT to result in an object of type JSTYPE_FUNCTION. This is done so that objects that happen to have 'call' ops will not fail when being 'converted' to 'Object'. This Fix is going onto the trunk, SpiderMonkeyDev_BRANCH, and SpiderMonkey140_BRANCH
git-svn-id: svn://10.0.0.236/trunk@26104 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 23:17:14 +00:00
rogerl%netscape.com
6b6429ee8a Adding multiline property
git-svn-id: svn://10.0.0.236/trunk@25938 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:10:45 +00:00