Commit Graph

508 Commits

Author SHA1 Message Date
sdagley%netscape.com
f5924be40d XP_MAC GC leak detector changes: using LMGetCurStackBase to compute stack bottom, and considering all threads GCable. r=sdagley (checking in for beard). bug=15906
git-svn-id: svn://10.0.0.236/trunk@50306 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 03:39:54 +00:00
sdagley%netscape.com
886d9b7c4f XP_MAC: turning off a spurious assert in PR_Lock (which can get called at interrupt time!). r=sdagley (checking in for beard). bug=15906
git-svn-id: svn://10.0.0.236/trunk@50305 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 03:39:52 +00:00
srinivas%netscape.com
7ef083b590 Backed out previous checkin.
git-svn-id: svn://10.0.0.236/trunk@49996 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 19:33:52 +00:00
srinivas%netscape.com
97336400bc Previous change backed out.
git-svn-id: svn://10.0.0.236/trunk@49995 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 19:31:17 +00:00
srinivas%netscape.com
a633fa30b6 Backout previous change.
git-svn-id: svn://10.0.0.236/trunk@49994 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 19:30:01 +00:00
srinivas%netscape.com
ea30288c1f Fixed bug in previous checkin - initialize variables before use.
git-svn-id: svn://10.0.0.236/trunk@49990 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 19:07:19 +00:00
srinivas%netscape.com
852ba0f2aa Fixed typo in previous checkin. Also, the correct bug # is 15680.
git-svn-id: svn://10.0.0.236/trunk@49983 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 18:49:27 +00:00
srinivas%netscape.com
bf992aac1f Add the SO_BROADCAST option. Bug #365862.
git-svn-id: svn://10.0.0.236/trunk@49981 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 18:31:22 +00:00
sdagley%netscape.com
9fc68e8c6c Add documentation comments for Mac library loading. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@49937 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 02:37:14 +00:00
sdagley%netscape.com
15caf3db1c New calls to load code fragments by name or index, and utility routines for getting fragment names from the 'cfrg' resource. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@49918 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 01:07:15 +00:00
sdagley%netscape.com
6e8fa75abe New implementations of PR_LoadNamedFragment and PR_LoadIndexedFragment, which now allow loading libraries by FSSpec. Mac only. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@49916 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 01:05:33 +00:00
sdagley%netscape.com
b9147e6fd2 Added prlink_mac.h, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@49915 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 01:04:06 +00:00
sdagley%netscape.com
35708ce998 Included some new header files, so that building with 'require function prototypes' works better. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@49914 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 01:03:00 +00:00
sdagley%netscape.com
190716d4ac First Checked In.
git-svn-id: svn://10.0.0.236/trunk@49912 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 01:00:58 +00:00
sdagley%netscape.com
e9dac37427 using __NSTerminate() rather than __terminate, for GC leak detector. r=beard
git-svn-id: svn://10.0.0.236/trunk@49698 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-03 22:04:07 +00:00
sdagley%netscape.com
e204bde5c0 Increased threshold for async reads from 2K to 20K to reduce Mac startup time. Ongoing work from bug #10334. r=saari.
git-svn-id: svn://10.0.0.236/trunk@49386 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 01:45:02 +00:00
wtc%netscape.com
2b566763b1 Bugzilla bug #14603: simple fix for OpenVMS contributed by Colin Blake
<colin@theblakes.com>.


git-svn-id: svn://10.0.0.236/trunk@48954 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 01:55:12 +00:00
srinivas%netscape.com
98a3789180 Use an absolute, instead of relative, filespec for OpenVMS. Checkin for
Colin Blake <colin@theblakes.com>.


git-svn-id: svn://10.0.0.236/trunk@48467 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 01:18:14 +00:00
wtc%netscape.com
63eefd6d77 Bugzilla bug #13361: fixed gcc compiler warnings. Thanks to
Steve Lamm (slamm@netscape.com) for the bug report.
Modified files: prtime.h, prmwait.c, pratom.c, ptio.c, ptthread.c.


git-svn-id: svn://10.0.0.236/trunk@48424 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 23:59:09 +00:00
brendan%mozilla.org
e35b95c2e6 - Add an OnMonitorRecycle callback for use by xpcom/threads/nsAutoLock.cpp.
- Clean up funky white space and tabbing, preparatory to more work including
  LRU fix.


git-svn-id: svn://10.0.0.236/trunk@48057 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:16:12 +00:00
srinivas%netscape.com
bee2f880f2 Define __STRICT_ANSI__ for Linux to eliminate spurious warnings. Checkin
for Chris Seawood <cls@seawood.org>.


git-svn-id: svn://10.0.0.236/trunk@47367 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 19:39:46 +00:00
wtc%netscape.com
1269b38e40 Also set the keepalive socket option if the socket is
an IPv6 TCP socket.


git-svn-id: svn://10.0.0.236/trunk@46253 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 23:43:07 +00:00
wtc%netscape.com
05ac6a10a0 Corrected an error.
git-svn-id: svn://10.0.0.236/trunk@46252 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 23:42:11 +00:00
sdagley%netscape.com
7b5c3e1461 Fix #3540 - defer initialization of OT until someone actually makes an OT call. Reviewed wtc, approved don.
git-svn-id: svn://10.0.0.236/trunk@46216 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 20:24:09 +00:00
srinivas%netscape.com
148b371427 Inlcude the assembly language implementation of the stack operations only when
_PR_HAVE_ATOMIC_CAS is defined. Bugzilla #11576.


git-svn-id: svn://10.0.0.236/trunk@43447 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-18 02:17:13 +00:00
srinivas%netscape.com
98d534de36 Enable specification of extra linker options and libraries from command line.
git-svn-id: svn://10.0.0.236/trunk@41719 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-31 17:19:19 +00:00
srinivas%netscape.com
e4b2792b7c Assembly language implementation of PR_StackPush/Pop routines for Sparc/x86;
checkin for ppokorny@mindspring.com.


git-svn-id: svn://10.0.0.236/trunk@41290 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 14:40:44 +00:00
srinivas%netscape.com
8fed7652f8 Fix error in previous checkin.
git-svn-id: svn://10.0.0.236/trunk@41229 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 02:59:37 +00:00
srinivas%netscape.com
7cedce72e2 The "execute" permission bit needs to be set for shared libraries on HP-UX.
Bugzilla #10201.


git-svn-id: svn://10.0.0.236/trunk@41211 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 01:52:19 +00:00
sdagley%netscape.com
c55ae186d3 Fix bug #3537. Replaced call of Delay() with WaitNextEvent() so that we'll yield to other processes if we're in some long wait for i/o.
git-svn-id: svn://10.0.0.236/trunk@40704 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 21:28:34 +00:00
sdagley%netscape.com
123327cd0e Change to address bug #10334 and improve startup time on Mac. Use sync i/o for reads of less than 2K.
git-svn-id: svn://10.0.0.236/trunk@40703 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 21:26:33 +00:00
wtc%netscape.com
bf3d7e345a Explain the type pt_SockLen.
git-svn-id: svn://10.0.0.236/trunk@40450 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 18:31:25 +00:00
wtc%netscape.com
9db1cb1c17 PTHREAD_CREATE_JOINABLE/UNDETACHED was accidentally changed to
_PT_PTHREAD_CREATE_JOINABLE/UNDETACHED.


git-svn-id: svn://10.0.0.236/trunk@40237 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 05:02:12 +00:00
wtc%netscape.com
e89333b098 A hack to get _MD_unix_get_nonblocking_connect_error to work for Neutrino.
This patch is contributed by Jerry L. Kirk <Jerry.Kirk@Nexwarecorp.com>.


git-svn-id: svn://10.0.0.236/trunk@40173 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 22:23:43 +00:00
wtc%netscape.com
8cf389d56c Changed OS_ARCH to OS_TARGET for NTO because we are still cross-compiling.
Thanks to Jerry L. Kirk <Jerry.Kirk@Nexwarecorp.com> for the patch.
(This might have been my error when I checked in his previous patch.)


git-svn-id: svn://10.0.0.236/trunk@40166 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 21:43:44 +00:00
wtc%netscape.com
3e60405938 Files created in 1999 should have a 1999 copyright notice.
git-svn-id: svn://10.0.0.236/trunk@40158 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 21:37:59 +00:00
srinivas%netscape.com
666479b086 OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>.
git-svn-id: svn://10.0.0.236/trunk@39627 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 02:35:57 +00:00
srinivas%netscape.com
37d8afc3e7 NetBSD/PowerPC port. Checkin for kei_sun@ba2.so-net.ne.jp
git-svn-id: svn://10.0.0.236/trunk@39597 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 00:30:32 +00:00
srinivas%netscape.com
b5f35458f2 NSPR no longer defines symbols with the PTHREAD prefix. Bugzilla #9907.
git-svn-id: svn://10.0.0.236/trunk@39528 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 13:06:28 +00:00
srinivas%netscape.com
123ee88fd9 OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>.
git-svn-id: svn://10.0.0.236/trunk@39527 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 12:37:21 +00:00
sdagley%netscape.com
12627c0f44 Part deux of the fix for #8491. Had to add the ability to externally re-init NSPR's log feature as we were reading the environemnt vars on the Mac after the initial init. Reviewed saari.
git-svn-id: svn://10.0.0.236/trunk@38877 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-09 04:03:51 +00:00
sdagley%netscape.com
59c686e098 Fix for bug #8491. Reviewed scc, approved chofmann. Provide support for environment variables on the Mac so PR_Log can query for what modules are actually supposed to be logged. See the bug comments for a description of how to set the enviroment variables.
git-svn-id: svn://10.0.0.236/trunk@38870 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-09 02:44:31 +00:00
wtc%netscape.com
5426224349 Fixed an unused-variable compiler warning. Thanks to
Seth Spitzer <sspitzer@netscape.com> for the fix.


git-svn-id: svn://10.0.0.236/trunk@38463 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 23:18:43 +00:00
gordon%netscape.com
7fcb7f6b28 Changes to build for TARGET_CARBON.
git-svn-id: svn://10.0.0.236/trunk@37556 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 21:28:05 +00:00
wtc%netscape.com
21b2e0c621 Deleted an extra space.
git-svn-id: svn://10.0.0.236/trunk@37269 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 23:18:15 +00:00
wtc%netscape.com
d74e1bd377 Merged Neutrino (NTO) changes contributed by Jerry L. Kirk
<Jerry.Kirk@Nexwarecorp.com>.
Modified files: pr/include/md/Makefile, _pth.h, prosdep.h,
pr/src/md/unix/Makefile, objs.mk, unix.c, unix_errors.c,
ptio.c, ptthread.c.
Added files: NTO.mk, _nto.cfg, _nto.h, nto.c.


git-svn-id: svn://10.0.0.236/trunk@37265 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 23:13:18 +00:00
wtc%netscape.com
3a3367ced7 Checked in BeOS changes contributed by Duncan Wilcox (duncan@be.com).
Modified files: plevent.c, prstreams/Makefile, prlink.c, bfile.c,
testfile.c, tmocon.c.


git-svn-id: svn://10.0.0.236/trunk@36970 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-26 01:07:12 +00:00
wtc%netscape.com
3c981be387 Declared 'loops' signed so that it can be compared with 0
safely.  Other cleanups.  Thanks to Philip Pokorny
<ppokorny@mindspring.com> for the patch.


git-svn-id: svn://10.0.0.236/trunk@36963 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 22:50:37 +00:00
srinivas%netscape.com
bee4260812 Checkin for briano@netscape.com. Bugzilla #8600.
git-svn-id: svn://10.0.0.236/trunk@36578 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 19:43:41 +00:00
sdagley%netscape.com
07e7d53b83 Fix bug #6507. PR_fprintf() with PR_GetSpecialFD(PR_StandardOutput) or PR_GetSpecialFD(PR_StandardError) as the file argument now works on the Mac with output directed to the SIOUX stdout console window.
git-svn-id: svn://10.0.0.236/trunk@33970 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 02:37:28 +00:00