Commit Graph

718 Commits

Author SHA1 Message Date
wtc%netscape.com
574eaf987b Bugzilla bug #33652: align PRNetAddr on 8-byte boundaries.
Modified files: prsocket.c, ptio.c
2000-03-29 02:24:39 +00:00
wtc%netscape.com
58bfc5b2fe Bugsplat bug #67751: Renamed _PR_UnblockWaiters to _PR_UnblockLockWaiter
and changed the return type to void.  Fixed a bug in the code that skips
over a suspended thread.
Modified files: primpl.h, prulock.c, pruthr.c
2000-03-29 00:17:59 +00:00
wtc%netscape.com
4253fae7ae Bugzilla bug #32184: added 'const' versions of hash table lookup
functions that don't reorder the hash entries.
Modified files: plhash.h, plhash.c
2000-03-24 23:13:45 +00:00
wtc%netscape.com
64e2b54247 Bugzilla bug #33043: use System V shared memory and semaphores on
Solaris 2.5.1 because the POSIX shared memory and semaphore functions
fail with ENOSYS.
2000-03-23 19:05:37 +00:00
wtc%netscape.com
ddf21430cf Removed obsolete code. 2000-03-23 02:52:24 +00:00
wtc%netscape.com
d7e86accbb Bugzilla bug #31697: Mac OS X has System V shared memory. 2000-03-23 02:23:53 +00:00
wtc%netscape.com
3772e2e9c6 Bugzilla bug #32779: PR_Interrupt should increment the cv's
pending_notify count before broadcasting on the cv to prevent
the interrupted thread from destroying the cv before
pthread_cond_broadcast returns.
2000-03-22 18:47:54 +00:00
wtc%netscape.com
e996b4b6bc Removed a temporary hack added before the delayed notify fix was checked
in.
2000-03-22 18:44:54 +00:00
wtc%netscape.com
1848989fda Provide a default implementation of interprocess named semaphore
functions (which just fail with PR_NOT_IMPLEMENTED_ERROR) if neither
POSIX nor System V semaphores are supported.  Fixed an error in the
comments.
2000-03-22 18:21:12 +00:00
wtc%netscape.com
5b59d2fc1a Bugzilla bug #5757: added a while loop around the PR_Wait call. 2000-03-22 02:13:35 +00:00
srinivas%netscape.com
3904114e7d Fixed PR_Poll to call select, instead of poll, on HPUX and OSF1 platforms.
Bug 153459.
2000-03-21 02:57:55 +00:00
srinivas%netscape.com
4d7ff5c88f Implemented a new style stack of IO layers with a fixed, dummy header.
Bug #30914.
2000-03-17 23:15:27 +00:00
srinivas%netscape.com
d254f1ca9a For the IO continuation operation, use select(), instead of poll(),
on OSF1. Bug #153459.
2000-03-17 20:01:41 +00:00
srinivas%netscape.com
f755493dc7 Fixed syntax error. 2000-03-17 18:24:29 +00:00
wtc%netscape.com
c52840b576 Bugzilla bug #29427: implemented the 'distclean' target and made
'realclean' and 'clobber_all' synonymous with 'distclean'.  This
patch is contributed by Chris Seawood <cls@seawood.org>. r=wtc@netscape.com
Modified files: Makefile, Makefile.in, configure, configure.in,
config/Makefile.in, config/config.mk, config/rules.mk
2000-03-16 22:46:02 +00:00
wtc%netscape.com
8f3b178f84 Checked in a patch contributed by Jerry L. Kirk
<Jerry.Kirk@Nexwarecorp.com>.
2000-03-15 22:00:37 +00:00
wtc%netscape.com
69887a0b86 Improved comments. Bugzilla bug #30746 2000-03-15 20:58:45 +00:00
wtc%netscape.com
820090543e Bugzilla bug #30746: add a PR_SetConcurrency(2) call in NSPR
initialization and have NSPR initialization wait until the timer
manager thread starts to run.
Modified files: prmwait.c, prinit.c
2000-03-15 20:00:42 +00:00
wtc%netscape.com
6df2423fff Added the generated header file to GARBAGE.
Modified files: lib/ds/Makefile, pr/src/Makefile, pr/src/Makefile.in
2000-03-15 01:45:35 +00:00
wtc%netscape.com
a37f49577d Moved the definition of GARBAGE to a standard place. 2000-03-15 01:43:40 +00:00
wtc%netscape.com
a8789f029e Bugzilla bug #29908: make sure that md.write.thread or md.read.thread is
nil when we return from SendReceiveStream so that we don't leave a
dangling reference for the OT notifier routine.  This patch is submitted
by Gordon Sheridon <gordon@netscape.com>.  r=wtc@netscape.com
a=jar@netscape.com.
2000-03-15 00:01:06 +00:00
srinivas%netscape.com
dd677e3f9d When a PRLock is released all the waiters are unblocked, rather than assign
the lock to a waiting thread. Bug #67751.
2000-03-14 20:16:39 +00:00
srinivas%netscape.com
146ad8498a Added new functions to look up function symbols in dynamic libraries.
Bugzilla #27175.
2000-03-14 14:54:25 +00:00
wtc%netscape.com
8569dfce52 Bugzilla bug #31697: Mac OS X (Rhapsody) port, based on the patch that
Stuart Parmenter <pavlov@netscape.com> sent to me.
Modified files: Rhapsody.mk, arch.mk, _pth.h, _rhapsody.h, prlink.c,
rhapsody.c, uxproces.c, uxrng.c, ptio.c, pr/tests/Makefile,
pr/tests/Makefile.in
2000-03-14 00:43:31 +00:00
wtc%netscape.com
93c4b26a5f Fixed an error in the previous checkin. 2000-03-14 00:33:02 +00:00
srinivas%netscape.com
e96f262a4b Handle the ERANGE error on Solaris. Bugzilla 31437. 2000-03-11 02:38:25 +00:00
wtc%netscape.com
e9764dcb4f Bugzilla bug #30746: added a new test primblok.c to show that NSPR I/O
functions will hang when the primordial thread calls a native blocking
function.
Added file: primblok.c
Modified files: Makefile, Makefile.in, runtests.ksh
2000-03-09 22:45:42 +00:00
wtc%netscape.com
d3e883c7b5 Bugzilla bug #31049: pass both null and non-null 'addr' argument to
PR_Accept to catch this bug.
2000-03-09 21:40:11 +00:00
wtc%netscape.com
17ac4043e3 Bugzilla bug #31049: Ipv6ToIpv4SocketAccept should handle a null 'addr'
argument.
2000-03-09 21:38:19 +00:00
wtc%netscape.com
4f9fe2b584 Bugzilla bug #31120: added a new test intrio.c to reproduce this bug.
Added file: intrio.c
Modified files: Makefile, Makefile.in, runtests.ksh
2000-03-09 21:14:24 +00:00
wtc%netscape.com
5485caa488 Bugzilla bug #31120: _PR_Unblock_IO_Wait was binding the interrupted
local thread to the wrong CPU.
2000-03-09 18:26:29 +00:00
wtc%netscape.com
40b5b61ac3 Bugzilla bug #30367: define uint for Neutrino. Rearranged the ifdef's
in protypes.h so that it is easier to understand.  Added the test
obsints.c to ensure that all the (obsolete) integer types are defined.
Added file: pr/tests/obsints.c
Modified files: protypes.h, pr/tests/Makefile, pr/tests/Makefile.in
2000-03-07 22:48:41 +00:00
wtc%netscape.com
a442830fd9 Merged NSPR 4.0 release onto the main trunk. 2000-03-03 19:53:57 +00:00
wtc%netscape.com
6f0d2131dc Removed #if !defined(DEBUG). Bugzilla #29181. 2000-03-01 21:35:49 +00:00
srinivas%netscape.com
b6a1957f87 PR_SetThreadPrivate should be passed an invalid key for the failure case.
Bugzilla #29181.
2000-03-01 02:37:25 +00:00
wtc%netscape.com
3e932b885d Landed NSPRPUB_RELEASE_4_0_20000223 onto the main trunk. 2000-02-23 23:38:19 +00:00
larryh%netscape.com
a6ec82dbd8 fix prtypes.h 2000-02-22 23:44:26 +00:00
wtc%netscape.com
62d7b1c9de Bugzilla bug #27955: added a dummy header file that all object files
in NSPR depend on.  Update prdepend.h to force a full rebuild of NSPR
in Mozilla's Tinderbox depend builds.
2000-02-19 03:02:53 +00:00
cls%seawood.org
71397cce36 Only use HOST_CC for INTERNAL_TOOLS when cross-compiling as it's the only time it actually matters. r,a=wtc 2000-02-17 19:38:38 +00:00
scc%netscape.com
c372526fe5 Pro5 update 2000-02-07 23:12:23 +00:00
sdagley%netscape.com
5ce18505cf Enabling debug info on optimized build so sfraser can debug optimized builds. r=sfraser 2000-02-04 23:09:10 +00:00
sdagley%netscape.com
813f53ead8 Access path updates in anticipation of update to CW Pro5 (#25949). r=pinkerton 2000-02-01 04:27:22 +00:00
wtc%netscape.com
fc02a5d8cd 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.
2000-01-31 21:41:08 +00:00
wtc%netscape.com
628c6affaa Fixed bogus error messages. Thanks to Kurt J. Lidl <lidl@pix.net>
for reporting the bug and providing a fix.
2000-01-28 23:31:20 +00:00
sdagley%netscape.com
bbe5a1d59d 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. 2000-01-28 04:00:28 +00:00
wtc%netscape.com
18844bd37a 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
2000-01-28 00:57:22 +00:00
wtc%netscape.com
1a54d702fd Bugzilla bug #17101: removed plevent.h and plevent.c. These two files
have been moved to mozilla/xpcom/threads.
2000-01-28 00:29:16 +00:00
wtc%netscape.com
77ae2ff6a6 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
2000-01-28 00:27:37 +00:00
wtc%netscape.com
0213d7efe2 Added plevent.c and plevent.h back. 2000-01-26 07:56:02 +00:00
wtc%netscape.com
fb397e72be Added plevent.h and plevent.c back. 2000-01-26 07:54:25 +00:00