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

936 Коммитов

Автор SHA1 Сообщение Дата
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
beard%netscape.com 1a72358ec1 added classes in org.mozilla.classfile 1999-04-27 19:43:56 +00:00
rogerl%netscape.com d1ead3225d #Not a part of SeaMonkey 1999-04-27 19:02:40 +00:00
norris%netscape.com 83a8060991 Better javadoc. 1999-04-27 16:55:44 +00:00
rogerl%netscape.com 572493e3a9 # Not a part of SeaMonkey 1999-04-27 16:22:20 +00:00
cbegle%netscape.com 7356f0624b Make sure that the test directory name ends with a trailing slash. 1999-04-27 16:15:30 +00:00
fur%netscape.com ab2f3e1d25 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 a8204ac954 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 0fcc96e53b Oops. 1999-04-27 06:28:04 +00:00
rogerl%netscape.com a263bb26cf Removing coies of Rhino code 1999-04-27 06:25:07 +00:00
rogerl%netscape.com 0a6917da87 Removing copies of Rhino code 1999-04-27 06:23:48 +00:00
rogerl%netscape.com 3c8ad4ca5b TestMain class 1999-04-27 06:18:56 +00:00
rogerl%netscape.com 49e4bf3747 # Not a part of SeaMonkey
Added expression node building stuff.
1999-04-27 06:08:35 +00:00
fur%netscape.com 28bb34afa5 Got rid of aborted attempt to graft XPCOM onto JS 1999-04-27 05:25:43 +00:00
fur%netscape.com 12bfdf2146 Tweaks 1999-04-27 05:08:14 +00:00
fur%netscape.com 7a3e1124c7 Got rid of aborted attempt to graft XPCOM onto JS 1999-04-27 05:00:07 +00:00
sfraser%netscape.com 2d04489213 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 3ec3e8c70a Clean up, add javadoc. 1999-04-27 03:56:23 +00:00
brendan%netscape.com 6a25530e2f Cast printf %p args to (void*). 1999-04-27 03:42:28 +00:00
waterson%netscape.com fa96401411 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 3afa92a219 Check for JS_SetPrivate failure in JS_NewScriptObject. 1999-04-26 23:15:27 +00:00
brendan%netscape.com 09e66f998c Use #ifdef or equivalent to test XP_UNIX, not #if or equiv. 1999-04-26 23:14:12 +00:00
waterson%netscape.com 276d74c3aa Install xpc3250.dll into the components directory so that XPConnect works. 1999-04-26 22:54:40 +00:00
rogerl%netscape.com ffb58c2f10 #Not a part of SeaMonkey
New.
1999-04-26 22:50:50 +00:00
norris%netscape.com 92847bcfca Make JavaAdapter work on mozilla-only. 1999-04-26 20:41:57 +00:00
fur%netscape.com 763a5b3c10 Interim checkin of JS2 grammar. Still many ambiguities and bugs, though. 1999-04-26 18:22:30 +00:00
jband%netscape.com 80c9c32228 fix Win32 crash on startup - not copying xpc3250.dll to components dir 1999-04-25 18:56:09 +00:00
jband%netscape.com 5552e33b84 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 8528722ecd 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 4c897fba05 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 1bfb6db3b0 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 7f374cbe4e Added CID for XPConnect. 1999-04-24 02:39:09 +00:00
norris%netscape.com fb18c81dfe If the security resource isn't present, catch the exception and proceed. 1999-04-23 19:54:28 +00:00
norris%netscape.com a2b9800d35 Clean up javadoc. 1999-04-23 17:31:59 +00:00
norris%netscape.com be56635558 Clean up javadocs; make Context creation faster. 1999-04-23 17:31:09 +00:00
norris%netscape.com aaf0996351 Clean up formatting. 1999-04-23 17:30:31 +00:00
mccabe%netscape.com 19c68fb53b 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 ab6924a6b7 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 d6d13a6c37 Twiddled error reporter; added a '\n' after messages. 1999-04-23 09:01:18 +00:00
norris%netscape.com fd2121d6c8 Transfer examples to mozilla. 1999-04-22 20:58:54 +00:00
norris%netscape.com 73531f9924 Add examples to mozilla. 1999-04-22 20:41:57 +00:00
norris%netscape.com 46fe713382 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 679f173ebe First Checked In. 1999-04-22 02:50:18 +00:00
fur%netscape.com f6f409d854 Fixed a few typos so that the generated file actually compiles 1999-04-21 22:44:32 +00:00
fur%netscape.com 2fcafdeae2 Partial grammar for JS2, expressed using the ANTLR parser generator 1999-04-21 21:08:14 +00:00
norris%netscape.com fc05296d97 Load optimizer package from com.netscape. 1999-04-21 04:40:36 +00:00
norris%netscape.com ade142a34c Forgot to add Messages.properties. 1999-04-20 20:21:55 +00:00
sspitzer%netscape.com d10d578e63 adding Makefile to the ignore list 1999-04-20 19:25:21 +00:00
mccabe%netscape.com 177e6d852f 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 3a188e59ad Publish Rhino as open source. 1999-04-19 20:43:53 +00:00
fur%netscape.com 855f61ae38 Sync up with SpiderMonkey140_BRANCH 1999-04-19 05:19:56 +00:00
fur%netscape.com d78116f092 Sync up with SpiderMonkey140_BRANCH 1999-04-19 05:12:25 +00:00
rogerl%netscape.com b6a03c7261 Sample driver for IR factory 1999-04-16 02:55:36 +00:00
rogerl%netscape.com f5deb2638e Changes for try/catch handling 1999-04-16 02:54:56 +00:00
rogerl%netscape.com 7c116f72b8 # NOT A PART OF SEAMONKEY IN ANY WAY
Some new, some old filres copiedfrom Rhino to form start of prototyping
environment for Project Brenda
1999-04-15 18:24:00 +00:00
mccabe%netscape.com 310295cc79 Backwards-compatible versioned behavior for getYear(), for legacy scripts. 1999-04-15 04:09:22 +00:00
shaver%netscape.com 5e25d421a3 add a cast to try and make xlc happy 1999-04-15 02:55:02 +00:00
jdunn%netscape.com 9c688339b9 fix compiler error: need unix head file for isatty 1999-04-13 18:10:24 +00:00
jband%netscape.com 3bc1eaa7b6 remove inadvertant scope over-qualification to fix HP-UX bustage 1999-04-13 07:13:43 +00:00
jband%netscape.com de664d9f82 - 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.
1999-04-13 04:15:36 +00:00
jdunn%netscape.com ff6ad10f0b Fixing native compiler error (NS_DECL_ISUPPORTS shouldn't have a ';' at the end 1999-04-12 20:35:04 +00:00
mccabe%netscape.com 9c47ff807f Fixed initial copyright date.
Thanks to Tim Rowley <tor@cs.brown.edu> for this SunOS fix.
1999-04-12 08:57:06 +00:00
mccabe%netscape.com 4dda9c93be 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.
1999-04-12 07:54:52 +00:00
beard%netscape.com 06f5a6c4e2 First Checked In. 1999-04-11 00:28:06 +00:00
beard%netscape.com 2c5a4a4edf First Checked In. 1999-04-10 23:52:55 +00:00
sspitzer%netscape.com f1e1d10f96 some more cvs ignore work 1999-04-10 21:22:31 +00:00
jband%netscape.com 03439dfdbb set as component for unix 1999-04-10 07:15:21 +00:00
jband%netscape.com 54daa301df adding library to makefile 1999-04-10 07:09:04 +00:00
jband%netscape.com 7b3b133abe fix copy-paste error 1999-04-10 07:05:26 +00:00
jband%netscape.com b2ce67516e - 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).
1999-04-10 06:51:01 +00:00
jband%netscape.com 252e152440 export yet another header file (jsstddef.h is included by jsemit.h which is needed for external interactive shells) 1999-04-10 06:47:20 +00:00
jband%netscape.com 1e4ded964a finishing file removal 1999-04-10 06:25:25 +00:00
mccabe%netscape.com 57c84ce475 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>.
1999-04-10 00:37:46 +00:00
pinkerton%netscape.com 3a6a48bf99 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. 1999-04-10 00:15:14 +00:00
jband%netscape.com 131caf4150 generated binary files update 1999-04-07 00:30:20 +00:00
jband%netscape.com 993ff933a8 Added support for [scriptable] flag in interface descriptor. Added [noscript]. xpconnect now checks for the [scriptable] flag. 1999-04-06 22:42:10 +00:00
cbegle%netscape.com 8aa406e8cd a little better error handling if no argument provided. 1999-04-06 01:11:12 +00:00
jband%netscape.com b0859a052d fixed typo so no extra .pdb files get left behind 1999-04-06 00:10:10 +00:00
cbegle%netscape.com 47690c0a75 Add a little more info to the template file. 1999-04-05 23:56:28 +00:00
cbegle%netscape.com 9f52c280da 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.
1999-04-05 22:58:49 +00:00
mccabe%netscape.com 21b576f3d4 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.
1999-04-03 12:44:47 +00:00
jband%netscape.com 30fe33188b use nsAllocator instead of local wrapper. added Components.lastResult with tests 1999-04-03 10:12:50 +00:00
jband%netscape.com d746d178e7 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 1999-04-02 23:16:40 +00:00
rogerl%netscape.com 0506b21587 Adding multiline property 1999-04-01 23:10:45 +00:00
briano%netscape.com e392b3ec67 Do not descend into the tests directory unless ENABLE_TESTS is set. 1999-03-30 03:02:14 +00:00
jband%netscape.com ef5eeb2770 Added support and test for [shared]. Added nsrootidl.idl with some typedefs and annotated 'native' declarations used elsewhere - this will eventially migrate to a more public place. Fixed 'reciever' misspelling (oh boy!). Made constants work (with test) using new 'const' stuff in xpidl. Fixed failure to mark pointer 'out' params for later free'ing - was leaking! 1999-03-28 22:11:22 +00:00
mcafee%netscape.com 3a99c257a4 Ignore generated files. 1999-03-27 09:22:27 +00:00
jband%netscape.com c2b5ff3549 adding to include list for new dependency on libxpt 1999-03-27 08:42:36 +00:00
mccabe%netscape.com 34f8d2da5f Consolidated xpt_cpp.h with xptinfo.h; removed xpt_cpp.h. Also
modified uses...
1999-03-27 08:02:15 +00:00
jband%netscape.com 3a88317bc8 quick fix for bustage -- JS_HAVE_LONG_LONG is not being set correctly in JS. Also, this code is not necessarily right on platforms here nspr's HAVE_LONG_LONG is not defined. I'll fix it right soon 1999-03-27 02:57:42 +00:00
jband%netscape.com 24e4b3868c removing (more!) misplaced semi-colons that break some platforms 1999-03-27 02:08:30 +00:00
jband%netscape.com 3ae10d4e6b removing misplaced semi-colons and comma after last item in enum that break some platforms 1999-03-27 02:00:27 +00:00
jband%netscape.com 6c4b3398a3 integrating code from John Fairhurst <mjf35@cam.ac.uk> to deal with platforms without long long support 1999-03-27 00:30:19 +00:00
danm%netscape.com 17cffb116d removing glowcode. a:jband 1999-03-26 02:37:22 +00:00
jband%netscape.com 9850a9e41c catpure caller information to display in the exception if uncaught and verbose is set 1999-03-26 01:31:16 +00:00
mccabe%netscape.com c17ac10f7c Move xptinfo, xptcall from export phase (erroneously copied from libxpt Makefile.in) to libs and back out previous tree patch. 1999-03-25 10:28:39 +00:00
jband%netscape.com 9f6df884a6 backout building of xpconnect on Unix 1999-03-25 09:17:54 +00:00
mccabe%netscape.com 0bc66ee504 Adding libxpt and xpconnect to the build. 1999-03-25 07:50:11 +00:00
mccabe%netscape.com 826c36dd89 Not part of the client build.
Ignore (generated) JS.c file.
1999-03-25 04:21:26 +00:00
mccabe%netscape.com 63654c73a3 Not part of the client build!
Preliminary, non-portable support for compiling JS.xs into a C file.
1999-03-25 04:19:52 +00:00
mccabe%netscape.com 5087a4bffd Removed support for the JSFILE define. Not to be confused with the
'jsfile' js file object, the JSFINE define conditionally compiled
support for allowing the javascript scanner to read from filehandles.
We've decided that it's more annoying to support not supporting that
feature, so we enable it all of the time.
1999-03-25 03:47:02 +00:00
jband%netscape.com 13a165ef01 add xpconnect to the build on win32 1999-03-25 03:39:25 +00:00
mccabe%netscape.com 02975526c0 First cut at unix Makefile support for building the perlconnect
javascript-to-perl extension with the standalone javascript shell.
It's mostly a direct copy of a similar mechanism for liveconnect.

Many thanks to Dave Neuer <dneuer@futuristics.net> for a patch
magically resolving issues with linking with perl.
1999-03-24 08:29:03 +00:00
jband%netscape.com ca84aebf94 getting those Unix Makefiles working again 1999-03-23 20:43:41 +00:00
jband%netscape.com 13907929fa getting those Unix Makefiles working again 1999-03-23 20:30:06 +00:00
jband%netscape.com 89d20d61cd re-organized xpconnect tree struct. Main sources moved from xpconnect to xpconnect/src. md stuff moved to xpcom/libxpt/xptcall 1999-03-23 20:22:00 +00:00
jband%netscape.com 1c3c8ba9fb deleting old stuff before checking in reorged new stuff 1999-03-23 20:09:10 +00:00
jband%netscape.com f087ac928e getting the Makefiles working on Linux again 1999-03-23 08:02:27 +00:00
jband%netscape.com 104344b559 getting the Makefiles working on Linux again 1999-03-23 07:49:51 +00:00
jband%netscape.com bfe18a704e getting the Makefiles working on Linux again 1999-03-23 07:44:27 +00:00
jband%netscape.com 8a4ca6d27e getting the Maekefiles working on Linux again 1999-03-23 07:30:19 +00:00
jband%netscape.com adfeaf4c6b use code frome: 1999-03-23 02:48:57 +00:00
mccabe%netscape.com efcf7135ef Fix to bugzilla bug 4088; fixed javascript Date string parsing to
handle 12:30 AM and 12:30 PM properly.

(Previously, the code just added 12 hours whenever it saw PM.)
1999-03-23 02:45:01 +00:00
jband%netscape.com 73ed9e9a0f update TODO list, fixed finalization to wrapper release mapping for wrapped native 1999-03-19 04:57:09 +00:00
leaf%mozilla.org 0a0f5ac00f Landing nspr library name change, and plevent function call change. 1999-03-17 21:32:03 +00:00
jband%netscape.com 06796df9d0 use of typelibs via xptinfo working with test program on win32. Untested on Linux. typelib generation not yet integrated into the make system 1999-03-14 06:07:21 +00:00
beard%netscape.com 9b3c1956e6 added IID accessors 1999-03-14 04:40:54 +00:00
ramiro%netscape.com 846235af9b Make it possible to prefix mozilla dlls that conflict with system dlls. 1999-03-12 12:43:04 +00:00
ramiro%netscape.com 51b24a505b Change MOZILLA_HOME to MOZILLA_FIVE_HOME so that we dont fight Communicator
4.x installations.
1999-03-11 20:00:57 +00:00
jband%netscape.com de88c428cb adding Components object. Got rid of jsapi based nsID object and replaced it with reflected xpcom objects for IID and CID. adapted to xpt_struct changes. added allocator static helpers to the module. starting to use nsIComponentManager. fixed scriptable stuff. and on and on 1999-03-10 01:28:49 +00:00
warren%netscape.com c50687b845 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
akkana%netscape.com 25cd4f851d Changes to fix the Irix N32/egcs build; thanks to Jason Heirtzler <jasonh@cthulhu.engr.sgi.com> 1999-03-09 00:24:17 +00:00
val4%cornell.edu 21bcb07687 Some changes here and there. Added noted about PerlConnect.pm. Added update history. 1999-03-08 22:43:17 +00:00
beard%netscape.com 826def77ae took out singleton management, and registering with the repository. That's what the service manager/component manager is for. 1999-03-06 22:25:55 +00:00
scc%netscape.com 31ff626ae9 rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
val4%cornell.edu ae12839ab5 Suport module for jsperl.c. It's not intended for use from Perl. 1999-03-03 16:42:57 +00:00
val4%cornell.edu 19e0242fa3 Fix a prolem with prev. check-in 1999-03-02 23:08:06 +00:00
val4%cornell.edu 8dfeb4aa69 Divided JS.pm into two modules to break dependencies between jsperl.c support functions
and functions exporsed from Perl. test.pl fails one of the tests -- need to look at that.
Worspace  build settings also changed.
1999-03-02 22:53:16 +00:00
jband%netscape.com 2206c41e7b nsID JSObject can now do mapping to and from interface names using nsIInterfaceInfoManager. Fixed a bug in getting name. Added nsID tests 1999-03-02 22:51:11 +00:00
jband%netscape.com 7911fad2a7 fix misguided use of ebx in tests too 1999-03-02 18:31:25 +00:00
jband%netscape.com 63af189245 fixes to make it work in release builds: some #ifdef DEBUGs, don't munge ebx register on win32!, stray star, friendlier result if linux code included in non-Linux build 1999-03-02 18:24:17 +00:00
jband%netscape.com d3f0d5273e fixed some makefile flags 1999-03-02 07:55:42 +00:00
jband%netscape.com e8457a35d3 some fixes pointed out by purify. Tests better verify that wrappers are not leaking 1999-03-02 03:32:42 +00:00
brendan%netscape.com 090bf16404 - Added 'W' format to JS_ConvertArguments, for conversion to string and return
via a jschar* out parameter.
- Fused common string conversion and argv[i] GC-rooting code in JS_ConvertArgs.
- Added to cvtargs test command, which really needs to stop using a hardwired
  format string!
- Fixed char-typed fgetc-receiving variable to be of int type for correct EOF
  comparison on machines with unsigned chars.
1999-03-02 02:38:45 +00:00
ramiro%netscape.com bb5e2580dc AIX portability fixes. (Waqar Malik <waqar@netscape.com>) 1999-03-01 06:10:54 +00:00
jband%netscape.com 2bc19f18cc catch JS exceptions when calling a wrapped JSObject and reflect as an nsresult error code to the calling xpcom object - with test 1999-02-28 04:57:13 +00:00
jband%netscape.com 4ee202ed32 using JS exception thrower (with tests) 1999-02-28 04:16:20 +00:00
jband%netscape.com 95667a0fc0 adding code to throw exceptions into JS with customizable messages 1999-02-28 01:41:20 +00:00
jband%netscape.com 3ee35536c3 catch 1999-02-27 06:38:24 +00:00
jband%netscape.com 5c7118d706 added .cvsignore files 1999-02-27 06:31:04 +00:00
jband%netscape.com 1cc06712ea got rid of allocator hack since the nsAllocator is now alive 1999-02-27 06:26:32 +00:00
alecf%netscape.com 5310ca898f fix uninitialize variable and fix various signed/unsigned warnings 1999-02-26 17:59:16 +00:00
alecf%netscape.com 977421488a fix HPUX bustage - can't have const user-defined (typedefed) variables inside structures without initializing them inside that structure 1999-02-26 17:39:28 +00:00
ebina%netscape.com 66e1467fa8 Changing RegisterFactory to use the new API. 1999-02-26 17:19:00 +00:00
warren%netscape.com 97781f4c14 Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends. 1999-02-26 10:17:14 +00:00
jband%netscape.com af4ea1e85b removed cruft 1999-02-26 02:52:48 +00:00
jband%netscape.com 118068fa86 fixed warnings 1999-02-26 02:46:35 +00:00
jband%netscape.com 0bcf5a51d9 Linux x86 now runs and passes all the same tests as Win32. Added md/test as a place and framework to start ports to other platforms 1999-02-26 02:04:33 +00:00
sfraser%netscape.com d847eb7428 Mac project changes -- link with MSLDropInRuntime, instead of MSLShLibRuntime, and fix link order. 1999-02-26 00:54:57 +00:00
jband%netscape.com 806785630b added unix makesfiles, fixed two bad static casts, invoke code working on Linux, working on stubs code for Linux 1999-02-25 18:14:51 +00:00
sfraser%netscape.com ae7361f008 File Removed. 1999-02-25 05:09:53 +00:00
beard%netscape.com 0895abe6ef Updated to CWPro 4 format. 1999-02-25 04:25:04 +00:00
jband%netscape.com 4526bb98d7 initial checkin of linux invoker - untested. slight changes to platform compile time protection 1999-02-24 19:26:51 +00:00
jband%netscape.com d14ed6f506 banishing win32 specific stuff to its own directory before adding any analogous code for other platforms 1999-02-24 07:17:27 +00:00
jband%netscape.com 6c1d7818fe lots of cleanup 1999-02-21 00:20:40 +00:00
jband%netscape.com c0c9d0729d compiler warning inspired fixes 1999-02-20 09:00:55 +00:00
jband%netscape.com 6badfca6ec compiler warning inspired fixes 1999-02-20 08:52:00 +00:00
jband%netscape.com 9e9faf246d added file to Makefile.in and fixed typo 1999-02-20 08:33:21 +00:00
jband%netscape.com c1f56dd159 jsint was supposed to be jsid 1999-02-20 08:31:36 +00:00
jband%netscape.com b035f4b934 graphs of all the important objects can now be dumped for diagnostic purposes 1999-02-20 01:31:02 +00:00
jband%netscape.com 0c7e82ae37 in the middle of adding diagnostics 1999-02-19 05:59:59 +00:00
waldemar%netscape.com f24012b095 Added traditional and super and changed [] to allow multiple arguments 1999-02-19 04:28:16 +00:00
jband%netscape.com 09da76e388 changed MAP_IS_NATIVE to allow for objects that have their own jsObjectOps but still use the slots in the 'normal' manner (this is necessary for XPConnect) - same change as made on SpiderMonkey140_BRANCH 1999-02-18 05:36:16 +00:00
jband%netscape.com 76e705d516 more tests 1999-02-18 04:30:20 +00:00
jband%netscape.com 5ad4f9874c more tests and type conversion fixes 1999-02-17 09:24:12 +00:00
jband%netscape.com a205cb2192 more tests and fixed to get the tests to run, clean up of iid stuff for compiling on Linux 1999-02-17 07:07:39 +00:00
jband%netscape.com 896c28ad84 NOT YET PART Of SEAMONKEY - fixes for conversions, added 'load' to test program to breakout js code into its own file, added support for global object being a wrapped native, fixed parent interface support, change makefiles for JS_THREADSAFE, add missing dropProperty support to my Ops, added more tests 1999-02-16 06:29:29 +00:00
jband%netscape.com b65de451d8 NOT YET PART OF SEAMONKEY - more conversion stuff implemented 1999-02-13 19:28:38 +00:00
jband%netscape.com e1d388285d NOT YET PART Of SEAMONKEY - in the middle of adding support for converting more data types, changes to deal with changes to xpt_struct.h 1999-02-12 06:15:06 +00:00
waldemar%netscape.com 770beb7c2f Added getter, setter, with, default arguments, and renamed declarations to definitions 1999-02-12 04:59:19 +00:00
waldemar%netscape.com b438df047a Added option to turn off line breaks within a tag 1999-02-12 04:57:49 +00:00
alecf%netscape.com 1eb4fec1e3 ignore generated files 1999-02-11 07:31:53 +00:00
alecf%netscape.com 810f16627a add Unix makefiles 1999-02-11 07:29:55 +00:00
sar%netscape.com eecbed5e4c Turn of "modification date caching" so that dependencies are sure to work. 1999-02-11 00:04:46 +00:00
waldemar%netscape.com 2170e07fc9 First complete release 1999-02-10 06:42:20 +00:00
waldemar%netscape.com da47404fd1 Reorganized left-side-expression and suppressed unused nonterminal warnings 1999-02-10 06:41:43 +00:00