Commit Graph

206 Commits

Author SHA1 Message Date
wtc%netscape.com
7f138566c6 Landed NSPRPUB_RELEASE_4_0_20000223 onto the main trunk.
git-svn-id: svn://10.0.0.236/trunk@61538 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 23:38:19 +00:00
larryh%netscape.com
428940b12e fix prtypes.h
git-svn-id: svn://10.0.0.236/trunk@61453 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-22 23:44:26 +00:00
wtc%netscape.com
1e9d69efdc Bugzilla bug #21428: fixed LL_CMP and LL_UCMP so that they can be used
with the <= and >= operators when HAVE_LONG_LONG is not defined.  The
fix is contributed by John G. Myers <jgmyers@netscape.com>.
r=wtc@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@59273 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 21:41:08 +00:00
sdagley%netscape.com
21c87ff63d Fix #25042. Moving PR_Init_Log proto from prlog.h to pprio.h as it is an internal function that normally doesn't belong in the NSPR public interfaces but the Mac needs it. Changes actually from wtc, sdagley just reviewed them and is checking them in.
git-svn-id: svn://10.0.0.236/trunk@59014 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 04:00:28 +00:00
wtc%netscape.com
e3b57c43a3 Bugzilla bug #19150: removed prlink_mac.h and the mac-specific
PR_LoadIndexedFragment and PR_LoadNamedFragment functions.
Modified files: pr/include/MANIFEST, prlink.c
Removed file: prlink_mac.h


git-svn-id: svn://10.0.0.236/trunk@58978 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 00:57:22 +00:00
wtc%netscape.com
99f9fe4467 Bugzilla bug #17101: move plevent.h and plevent.c from mozilla/nsprpub
to mozilla/xpcom/threads by landing the PLEVENT_MOVE_BRANCH.
Modified files: nsprpub/lib/ds/MANIFEST, nsprpub/lib/ds/Makefile,
nsprpub/lib/ds/Makefile.in, nsprpub/macbuild/NSPR20PPC.mcp,
nsprpub/pr/include/obsolete/protypes.h,
xpcom/macbuild/xpcomPPC.mcp, xpcom/threads/MANIFEST,
xpcom/threads/Makefile.in, xpcom/threads/makefile.win,
xpcom/threads/plevent.h


git-svn-id: svn://10.0.0.236/trunk@58964 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 00:27:37 +00:00
srinivas%netscape.com
c35e8af1b6 Add threadpool feature. Bugzilla #23951. rwtc.
git-svn-id: svn://10.0.0.236/trunk@58116 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 20:45:29 +00:00
wtc%netscape.com
c3137bbb1e Use only one definition of PipeAvailable and PipeAvailable64, which
requires _PR_MD_PIPEAVAILABLE.  Define _MD_PIPEAVAILABLE for Mac.
Modified files: _macos.h, prfile.c


git-svn-id: svn://10.0.0.236/trunk@57563 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 21:37:38 +00:00
wtc%netscape.com
e8b864eb1b Bugzilla bug #23304: protypes.h should only test a macro defined in
prcpucfg.h (in this case, _aix32in6.cfg or _aix64.cfg).
Modified files: _aix32in6.cfg, _aix64.cfg, protypes.h


git-svn-id: svn://10.0.0.236/trunk@57334 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 01:53:08 +00:00
wtc%netscape.com
f8ccf3e8aa Merged minor fixes related to PR_Available and PR_Sync for pipes
in NSPR 3.5.1 onto the main trunk.
Modified files: _win95.h, _winnt.h, prfile.c, ntio.c, w95io.c, ptio.c


git-svn-id: svn://10.0.0.236/trunk@57332 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 01:49:01 +00:00
srinivas%netscape.com
4f5b02e4cb Update to OS/2 port; the build now uses OS_ARCH=OS2, in place of WINNT.
Checkin for sobotka@axess.com. Bugzilla 23544.


git-svn-id: svn://10.0.0.236/trunk@57286 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 21:08:45 +00:00
wtc%netscape.com
cbaefa0b2d Backed out the NSPR 3.5.1 merge. Mozilla client cannot exit on shutdown.
Modified files: _win95.h, _winnt.h, primpl.h, prfdcach.c, prfile.c,
ntio.c,  w95io.c, ptio.c, ptthread.c


git-svn-id: svn://10.0.0.236/trunk@57220 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 23:05:24 +00:00
wtc%netscape.com
9fa2b0ab6d Backed out the previous checkin (found a better fix).
git-svn-id: svn://10.0.0.236/trunk@57213 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 16:40:59 +00:00
wtc%netscape.com
a80f218233 Define _MD_PIPEAVAILABLE for mac (simply returns -1).
git-svn-id: svn://10.0.0.236/trunk@57211 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 16:22:26 +00:00
wtc%netscape.com
0457ce2a48 Merged the fixes in NSPR 3.5.1 to the main trunk.
Modified files: _win95.h, _winnt.h, primpl.h, prfdcach.c, prfile.c,
ntio.c, w95io.c, ptio.c, ptthread.c


git-svn-id: svn://10.0.0.236/trunk@57208 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 15:17:59 +00:00
srinivas%netscape.com
0c754e7fb7 Add new API declaration, NSPR_API. Bugzilla #12913.
git-svn-id: svn://10.0.0.236/trunk@57054 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 01:28:13 +00:00
cls%seawood.org
28c58e7c8f Sync'd Makefile.in's to reflect srinivas' NSPR API changes.
git-svn-id: svn://10.0.0.236/trunk@56939 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 06:09:27 +00:00
srinivas%netscape.com
611574364e Backed out previous checkin; NSPR_API needs to be defined for Mac.
Bugzilla #12913.


git-svn-id: svn://10.0.0.236/trunk@56930 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 02:17:03 +00:00
srinivas%netscape.com
b8b66e0118 Support platform-specific import declaration for public NSPR functions.
Bugzilla #12913. rwtc.


git-svn-id: svn://10.0.0.236/trunk@56925 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:45:29 +00:00
srinivas%netscape.com
3c45f9a79e PR_FindSymbol looks up a symbol only in the specified library.
Bugzilla #16554.


git-svn-id: svn://10.0.0.236/trunk@56474 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 02:51:37 +00:00
wtc%netscape.com
b171a9ac45 Checked in NetBSD/MIPS port contributed by Tom Weinstein
<tomw@geocast.com>.
Modified files: _netbsd.cfg, _netbsd.h


git-svn-id: svn://10.0.0.236/trunk@56460 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 23:58:07 +00:00
wtc%netscape.com
6629ab21d6 Fixed pthreads build problems on OpenBSD (Bugzilla bug #20529) and FreeBSD.
Modified files: _freebsd.h, _openbsd.h, ptio.c, ptsynch.c,
pr/tests/Makefile


git-svn-id: svn://10.0.0.236/trunk@56451 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 23:39:09 +00:00
wtc%netscape.com
dc180fef3a NetBSD has System V semaphores and shared memory.
git-svn-id: svn://10.0.0.236/trunk@56442 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:42:47 +00:00
wtc%netscape.com
38d2c001fb Bugzilla bug #20528: UnixWare 7 has long longs, so add a new _unixware7.cfg
for UnixWare 7 that defines HAVE_LONG_LONG.
Modified file: pr/include/md/Makefile
Added file: _unixware7.cfg


git-svn-id: svn://10.0.0.236/trunk@56398 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 19:51:13 +00:00
gordon%netscape.com
795b69917e Checkin for Mark Welch. Approved by wtc. Reviewed by gordon. Fixes for bugs 4318 and 4320 (server sockets and blocking socket IO for mac).
git-svn-id: svn://10.0.0.236/trunk@55638 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 23:22:59 +00:00
wtc%netscape.com
9c9a6b4b15 Reworked how thread scanning is done, so thread objects can now be
safely allocated on the thread stack.  Moved the GC scanning code
into NSPR in a new file called prgcleak.c.  (Checkin for Patrick Beard.)
Modified files: primpl.h, prinit.c, prthinfo.c, pruthr.c.
Added file: prgcleak.c.


git-svn-id: svn://10.0.0.236/trunk@55621 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:23:48 +00:00
wtc%netscape.com
2bf770f3af Bugzilla bug #20770: Solaris 8 has getipnodebyname().
git-svn-id: svn://10.0.0.236/trunk@55242 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:05:04 +00:00
larryh%netscape.com
1ca16c0791 BugZilla: 19247. Add support for VMS, QNX, NTO
git-svn-id: svn://10.0.0.236/trunk@54570 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 19:42:11 +00:00
larryh%netscape.com
7e10edeacf BugZilla: 19448. Back out disable call to _PR_MD_GetRandomNoise()
git-svn-id: svn://10.0.0.236/trunk@54294 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 19:15:32 +00:00
larryh%netscape.com
98b909eb6b BugZilla 19448. Temporary circumvention
git-svn-id: svn://10.0.0.236/trunk@54289 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 17:33:20 +00:00
wtc%netscape.com
f6d1c72f04 This header file should not define HAVE_UINT. There should be a better
solution solution for the problem this solved.


git-svn-id: svn://10.0.0.236/trunk@53932 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 00:58:21 +00:00
wtc%netscape.com
3fb7dc1743 _macos.h: define _MD_MINIMUM_STACK_SIZE to be 58K.
pruthr.c: removed unnecessary XP_MAC code since _MD_MINIMUM_STACK_SIZE is
checked by _PR_ADJUST_STACKSIZE.


git-svn-id: svn://10.0.0.236/trunk@53930 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 00:56:45 +00:00
wtc%netscape.com
9cb44715ee Removed unnecessary _MD_MINIMUM_STACK_SIZE macro definition. Define this
macro only if the platform has a minimum stack size requirement.


git-svn-id: svn://10.0.0.236/trunk@53928 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 00:52:58 +00:00
larryh%netscape.com
bd7fed59fd BugZilla: 19247
git-svn-id: svn://10.0.0.236/trunk@53916 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 22:23:00 +00:00
larryh%netscape.com
9ef040228f BugZilla: 19247, fix declaration of _PR_MD_GetRandomNoise()
git-svn-id: svn://10.0.0.236/trunk@53911 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 21:38:39 +00:00
sdagley%netscape.com
372a9629c1 Fix Mac bustage. Make PR_GetRandomNoise() compile. Don't know about working yet.
git-svn-id: svn://10.0.0.236/trunk@53909 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 21:16:51 +00:00
larryh%netscape.com
079ba173e7 BugZilla: 19247. PR_GetRandomNoise()
git-svn-id: svn://10.0.0.236/trunk@53900 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 20:29:17 +00:00
wtc%netscape.com
d90cc02dc7 Bugzilla bug #17896: added new macro _PR_IS_GCABLE_THREAD.
r=srinivas@netscape.com
Modified files: primpl.h, macthr.c, irix.c, pthreads_user.c, solaris.c,
unixware.c, pruthr.c


git-svn-id: svn://10.0.0.236/trunk@53802 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 02:14:38 +00:00
wtc%netscape.com
04a7a748cc Bugzilla bug #17601: fixed memory leak and some other problems in our
thread-private data code.
Modified files: primpl.h, ptthread.c, prcthr.c, prtpd.c, pruthr.c.


git-svn-id: svn://10.0.0.236/trunk@53699 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 23:44:41 +00:00
wtc%netscape.com
251e30e5b4 Bugzilla bug #17699: removed obsolete functions PR_SetThreadExit and
PR_GetThreadExit.
Modified files: pprthred.h, primpl.h, prcthr.c, prtpd.c, and pruthr.c.


git-svn-id: svn://10.0.0.236/trunk@53542 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 21:29:29 +00:00
wtc%netscape.com
ffa3d44778 Bugzilla bug #16845: added new function PR_LoadLibraryWithFlags.
Also, use RTLD_LAZY on Linux (was using RTLD_NOW).
Modified files: prlink.h, prlink.c.


git-svn-id: svn://10.0.0.236/trunk@53390 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 01:27:06 +00:00
gordon%netscape.com
66130367d8 Mac specific interrupt<->thread synchronization mechanism, required for async Mac dns.
r=warren, patrick, wtc, srinivas, larryh; part of bug:10731.


git-svn-id: svn://10.0.0.236/trunk@52633 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 01:22:58 +00:00
larryh%netscape.com
d3f1c46ba5 BugZilla 17558. Add PR_Open() PR_EXCL flag
git-svn-id: svn://10.0.0.236/trunk@52435 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 22:59:27 +00:00
srinivas%netscape.com
bc406e3e1e Add PR_Block/Unblock_Interrupt functions. Bugzilla 17055
git-svn-id: svn://10.0.0.236/trunk@52041 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 02:48:01 +00:00
larryh%netscape.com
dfb30043a3 BugZilla 17374. Add PROffset types
git-svn-id: svn://10.0.0.236/trunk@51978 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 20:29:22 +00:00
wtc%netscape.com
f6437b73b9 Bugzilla bug #17188: NSPR should not automatically set the SO_KEEPALIVE
socket option on a new TCP socket. The HAVE_SOCKET_KEEPALIVE macro is
obsolete. r=srinivas@netscape.com.
Modified files: _beos.h, _os2.h, _unixos.h, _win16.h, _win95.h, _winnt.h,
prsocket.c, and ptio.c.


git-svn-id: svn://10.0.0.236/trunk@51902 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 22:58:55 +00:00
wtc%netscape.com
f8f5eb822d Added missing function declarations to eliminate compiler warnings.
Checked in on behalf of Colin Blakes <colin@theblakes.com>.


git-svn-id: svn://10.0.0.236/trunk@51809 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 02:01:38 +00:00
wtc%netscape.com
be5e5badd8 Bugzilla bug #17184: PR_Bind should not set the SO_REUSEADDR socket
option.  The HAVE_SOCKET_REUSEADDR macro is now obsolete.  Tests
that depended on the old PR_Bind behavior needs to call PR_SetSocketOption
before PR_Bind.
Modified files: _beos.h, _os2.h, _unixos.h, _win16.h, _win95.h, _winnt.h,
prsocket.c, ptio.c, accept.c, acceptread.c, sel_spd.c, servr_kk.c,
servr_ku.c, servr_uk.c, and servr_uu.c.


git-svn-id: svn://10.0.0.236/trunk@51807 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 01:58:10 +00:00
srinivas%netscape.com
2068a5408d OpenVMS updates by colin@theblakes.com
git-svn-id: svn://10.0.0.236/trunk@51561 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 21:06:08 +00:00
srinivas%netscape.com
fe52fa5602 Defined _MD_PIPEAVAILABLE; checkin for "Duncan Wilcox" <duncan@be.com>.
git-svn-id: svn://10.0.0.236/trunk@51549 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 20:58:00 +00:00