Commit Graph

508 Commits

Author SHA1 Message Date
wtc%netscape.com
e52324f637 Removed #if !defined(DEBUG). Bugzilla #29181.
git-svn-id: svn://10.0.0.236/trunk@61979 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 21:35:49 +00:00
srinivas%netscape.com
7b4cd6c1a7 PR_SetThreadPrivate should be passed an invalid key for the failure case.
Bugzilla #29181.


git-svn-id: svn://10.0.0.236/trunk@61938 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 02:37:25 +00:00
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
scc%netscape.com
b773eeed37 Pro5 update
git-svn-id: svn://10.0.0.236/trunk@60004 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:12:23 +00:00
sdagley%netscape.com
bcdcf3c3c3 Access path updates in anticipation of update to CW Pro5 (#25949). r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@59359 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 04:27:22 +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
wtc%netscape.com
82bedfb681 Fixed bogus error messages. Thanks to Kurt J. Lidl <lidl@pix.net>
for reporting the bug and providing a fix.


git-svn-id: svn://10.0.0.236/trunk@59109 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:31:20 +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
wtc%netscape.com
d9ad7041ba Added missing function argument type declarations.
git-svn-id: svn://10.0.0.236/trunk@58178 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 00:29:53 +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
srinivas%netscape.com
f503a48e98 Fixed performance problem with pollable events on Win32.
Bugzilla #23948.


git-svn-id: svn://10.0.0.236/trunk@58113 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 20:36:43 +00:00
wtc%netscape.com
c1eb7646e9 Bugzilla bug #20770: CopyHostent should handle the possibility that
h_aliases is null.  In that case, we allocate in our copy a one-element
array whose only element is a null pointer.


git-svn-id: svn://10.0.0.236/trunk@57765 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 00:58:02 +00:00
wtc%netscape.com
b85076fefa Bugzilla bug #20770: on Solaris, gethost.c needs to link with -lsocket
if USE_IPV6=1 is specified.


git-svn-id: svn://10.0.0.236/trunk@57763 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 00:53:39 +00:00
wtc%netscape.com
dc470d54cb Removed the assertion in PR_JoinThread. Returning PR_FAILURE is enough.
git-svn-id: svn://10.0.0.236/trunk@57756 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 00:31:07 +00:00
wtc%netscape.com
e16101d1ba Set the reuseaddr socket option before calling PR_Bind.
git-svn-id: svn://10.0.0.236/trunk@57754 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 00:22:37 +00:00
wtc%netscape.com
1264a6fd1c Bugzilla bug #23694: added a global variable to control the
native-threads-only mode of our NT implementation. r=srinivas@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57752 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 00:10:48 +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
681cd4598d Use PR_IMPLEMENT to define an exported function. Don't need extern when
defining a global function.  "prrng.h" is indirectly included by primpl.h.


git-svn-id: svn://10.0.0.236/trunk@57482 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 01:12:35 +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
larryh%netscape.com
18dfa0c323 BugZilla 19247. FreeBSD uses /dev/random too
git-svn-id: svn://10.0.0.236/trunk@57288 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 21:20:33 +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
55a1103a4f For platforms that don't implement PR_CreatePipe, define PipeAvailable
and PipeAvailable64 as simply returning -1.  This way we don't need to
define the _MD_PIPEAVAILABLE macro for those platforms.


git-svn-id: svn://10.0.0.236/trunk@57212 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 16:36: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
wtc%netscape.com
2af308d4cc A more efficient implementation for OpenVMS using event flags, contributed
by Colin Blakes <colin@theblakes.com>.


git-svn-id: svn://10.0.0.236/trunk@56766 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 22:49:28 +00:00
wtc%netscape.com
07db4aeeee Bugzilla bug #22549: fixed a problem in the previous checkin that used
functions before they were declared.  Thanks to Colin Blakes for the fix.


git-svn-id: svn://10.0.0.236/trunk@56628 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-30 21:58:10 +00:00
wtc%netscape.com
3d03bdbb36 Bugzilla bug #18511: on Windows NT, the IP_MULTICAST_TTL option cannot be
set unless the socket is bound to an address.


git-svn-id: svn://10.0.0.236/trunk@56614 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 23:17:27 +00:00
wtc%netscape.com
7344c40c56 Added a test to join with an unjoinable thread.
git-svn-id: svn://10.0.0.236/trunk@56612 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 22:31:34 +00:00
wtc%netscape.com
cf2b856f80 Bugzilla bug #22549: made PR_Read/PR_Write for sockets equivalent to
PR_Recv/PR_Send with infinite timeout. r=colin@theblakes.com,
srinivas@netscape.com


git-svn-id: svn://10.0.0.236/trunk@56611 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 22:19:53 +00:00
srinivas%netscape.com
d1a97653fa Implement block/unblock interrupt. Bugzilla #17055.
git-svn-id: svn://10.0.0.236/trunk@56600 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 16:57:37 +00:00
srinivas%netscape.com
ecb0347d1f Backed out previous checkin for build breakage on Mac/Win.
git-svn-id: svn://10.0.0.236/trunk@56526 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-24 02:07:15 +00:00
srinivas%netscape.com
bb7c709c10 Minimize spurious notifications when interrupts are blocked.
Bugzilla #17055.


git-svn-id: svn://10.0.0.236/trunk@56521 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-24 01:05:42 +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
c008c35c16 Pedantic changes: use the exact types as documented for AIX send_file().
git-svn-id: svn://10.0.0.236/trunk@56466 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 00:44:19 +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
srinivas%netscape.com
118f9430b3 Fixed use of uninitialized variable. Bugzilla #21201.
git-svn-id: svn://10.0.0.236/trunk@56417 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 21:24:34 +00:00
srinivas%netscape.com
67578ed9ed Fixed PR_SetThreadAffinityMask, which returned random value on Irix.
Bugzilla #21621.


git-svn-id: svn://10.0.0.236/trunk@56414 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 20:51:26 +00:00
wtc%netscape.com
f857a60ed2 Bugzilla bug #5802: call PR_Bind and PR_Listen before passing the
listening socket to the server thread.


git-svn-id: svn://10.0.0.236/trunk@56407 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 20:12:11 +00:00