1696 Commits

Author SHA1 Message Date
mccabe%netscape.com
d3ea727066 change for hpux porting
git-svn-id: svn://10.0.0.236/trunk@31589 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 09:27:01 +00:00
mccabe%netscape.com
b179e61a4c Make xpconnect compile and export .h files and xptconnect.xpt using XPIDLSRCS for unix and windows.
git-svn-id: svn://10.0.0.236/trunk@31588 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 08:27:27 +00:00
briano%netscape.com
7f54c3d058 Fix for QNX. Their compiler reserves 'huge' as a keyword, so I replaced it with 'really_big'.
git-svn-id: svn://10.0.0.236/trunk@31557 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 02:01:15 +00:00
briano%netscape.com
4d93badf2f Eliminate the need to use -DQNX by switching to __QNX__, predefined by the compiler.
git-svn-id: svn://10.0.0.236/trunk@31556 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 01:46:00 +00:00
briano%netscape.com
c4e28963b2 Converted the explicit 'ld' commands to use '$(LD)' instead, so platforms
with odd linker names will work properly.


git-svn-id: svn://10.0.0.236/trunk@31510 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:25:11 +00:00
briano%netscape.com
ff16da1eef Fix for QNX, and any other platform that doesn't have memory.h. Thanks to fur@netscape.com for allowing this change.
git-svn-id: svn://10.0.0.236/trunk@31423 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 08:46:41 +00:00
jband%netscape.com
d931c09d12 remove assertion and go with runtime safety for the fix that mccabe thoughtfully added for my broken code
git-svn-id: svn://10.0.0.236/trunk@31415 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 05:38:10 +00:00
mccabe%netscape.com
fedb53eb9a Check against null vp passed in to CallWrappedMethod. This fixes stuff in the xpcom/sample directory.
git-svn-id: svn://10.0.0.236/trunk@31401 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 03:34:54 +00:00
briano%netscape.com
16c77e66ab QNX-specific ifdef addition.
git-svn-id: svn://10.0.0.236/trunk@31316 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:29:04 +00:00
mccabe%netscape.com
7550d64eb3 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.


git-svn-id: svn://10.0.0.236/trunk@31201 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 02:05:48 +00:00
shaver%netscape.com
68212ec7fc use OBJ_THIS_OBJECT in SPROP_[GS]ET to make with(native_obj)'' work correctly
git-svn-id: svn://10.0.0.236/trunk@31079 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 15:41:51 +00:00
mccabe%netscape.com
9e96915598 Fix to 5947. Handle \r\r properly when it ends a buffer.
This fixes problems reading prefs.js on Mac.


git-svn-id: svn://10.0.0.236/trunk@31077 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 08:03:07 +00:00
mcafee%netscape.com
054bd82c10 Attempting to turn xpconnect on for Solars/sparc and Solaris/intel.
git-svn-id: svn://10.0.0.236/trunk@30914 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 08:15:45 +00:00
mccabe%netscape.com
0d538b9973 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.


git-svn-id: svn://10.0.0.236/trunk@30885 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 10:22:40 +00:00
beard%netscape.com
d605957efd 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.
git-svn-id: svn://10.0.0.236/trunk@30829 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 16:46:43 +00:00
beard%netscape.com
726ccc1e86 added optional Java applet object parameter to jsj_enter_js
git-svn-id: svn://10.0.0.236/trunk@30828 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 16:46:41 +00:00
beard%netscape.com
9785c47c77 added optional Java applet object parameter to jsj_enter_js, made cxp an in/out parameter, so caller can specify a JSContext
git-svn-id: svn://10.0.0.236/trunk@30827 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 16:46:40 +00:00
beard%netscape.com
640dfd6be4 added optional Java applet object parameter to map_jsj_thread_to_js_context callback.
git-svn-id: svn://10.0.0.236/trunk@30826 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 16:46:38 +00:00
fur%netscape.com
7cf04a2482 Include jsosdep.h for JS_HAS_LONG_LONG flag
git-svn-id: svn://10.0.0.236/trunk@30695 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:20:53 +00:00
fur%netscape.com
cb594b3e88 Delete jsmathtemp.o when clobber'ing
git-svn-id: svn://10.0.0.236/trunk@30490 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:50:11 +00:00
jband%netscape.com
ead131f9f2 don't copy libxpconnect.so components directory on platforms where xptcall is not supported
git-svn-id: svn://10.0.0.236/trunk@30298 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:54:13 +00:00
jband%netscape.com
70badb3169 adjust for xpidl [shared] cuasing a const qualifier to be emitted and wstring mapping to PRUnichar rather than PRUint16
git-svn-id: svn://10.0.0.236/trunk@30172 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:02:47 +00:00
mccabe%netscape.com
9159fbef9b Fix to 5301. Revert from using fd_copysign from the libmath emulation library to using the system copysign.
git-svn-id: svn://10.0.0.236/trunk@30093 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 07:12:18 +00:00
mccabe%netscape.com
38eb1e8ae7 Not part of the Seamonkey build!
Made the 'js' standalone shell depend on fdlibm, so it gets updated properly when fdlibm is modified.


git-svn-id: svn://10.0.0.236/trunk@29785 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 03:18:48 +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
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
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
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
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
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
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
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
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
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