727 Commits

Author SHA1 Message Date
wtc%netscape.com
2cf9ce8e79 Bugzilla bug #33740: checked in a patch contributed by Skip Nizinski
<snizinsk@us.ibm.com> to change write() to DosWrite().


git-svn-id: svn://10.0.0.236/trunk@65048 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 20:59:39 +00:00
wtc%netscape.com
47247a6335 Bugzilla bug #33364: checked in a patch contributed by pb@futuretv.com
that allows ARM systems other than v4l and SA110 to be correctly detected.


git-svn-id: svn://10.0.0.236/trunk@65037 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 18:25:35 +00:00
wtc%netscape.com
8acc6a5465 Bugzilla bug #34292: checked in OS/2 patch from Skip Nizinski
<snizinsk@us.ibm.com> to build with the VisualAge C++ compiler
which uses the Optlink calling convention.
Modified files: prtypes.h, OS2.mk, prlog.c


git-svn-id: svn://10.0.0.236/trunk@65035 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 17:51:02 +00:00
wtc%netscape.com
9ca65bd604 Bugzilla bug #34048: set the fragment names of the DLLs. Thanks to
Simon Fraser <sfraser@netscape.com> for the patch.


git-svn-id: svn://10.0.0.236/trunk@64799 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 22:21:07 +00:00
cls%seawood.org
ee80602d45 Updating config.guess & config.sub to latest GNU versions. Bug #22599, r=wtc
git-svn-id: svn://10.0.0.236/trunk@64561 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 02:48:00 +00:00
wtc%netscape.com
dc9b7ae8e6 Bugzilla bug #27175: define the new functions PR_FindFunctionSymbol
and PR_FindFunctionSymbolAndLibrary in terms of the old functions
PR_FindSymbol and PR_FindSymbolAndLibrary, to minimize the risk of
the new code breaking the build.


git-svn-id: svn://10.0.0.236/trunk@64539 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:05:01 +00:00
wtc%netscape.com
d217b7e240 Bugzilla bug #27175: Changed the PRFuncPtr type to void (*)(), to be
consistent with the type of the 'fp' field of PRStaticLinkTable.


git-svn-id: svn://10.0.0.236/trunk@64535 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 00:54:33 +00:00
wtc%netscape.com
8bb729bd1c Bugzilla bug #31437: the ERANGE error handling code also needs to be
added to pt_send_cont.


git-svn-id: svn://10.0.0.236/trunk@64504 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 21:57:01 +00:00
wtc%netscape.com
3f0cdbdcbb Bugzilla bug #31437: this goto statement inside the while loop can be
replaced by a continue statement.


git-svn-id: svn://10.0.0.236/trunk@64503 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 21:47:08 +00:00
wtc%netscape.com
85ad9a0cc3 Bugzilla bug #33652: align PRNetAddr on 8-byte boundaries.
Modified files: prsocket.c, ptio.c


git-svn-id: svn://10.0.0.236/trunk@64437 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 02:24:39 +00:00
wtc%netscape.com
09b18f8def 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


git-svn-id: svn://10.0.0.236/trunk@64406 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 00:17:59 +00:00
wtc%netscape.com
3bea8a58da Bugzilla bug #32184: added 'const' versions of hash table lookup
functions that don't reorder the hash entries.
Modified files: plhash.h, plhash.c


git-svn-id: svn://10.0.0.236/trunk@64069 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 23:13:45 +00:00
wtc%netscape.com
2032d7ea0e 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.


git-svn-id: svn://10.0.0.236/trunk@63868 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 19:05:37 +00:00
wtc%netscape.com
bcba23cde6 Removed obsolete code.
git-svn-id: svn://10.0.0.236/trunk@63818 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 02:52:24 +00:00
wtc%netscape.com
f6b7b3c133 Bugzilla bug #31697: Mac OS X has System V shared memory.
git-svn-id: svn://10.0.0.236/trunk@63814 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 02:23:53 +00:00
wtc%netscape.com
9d75231c68 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.


git-svn-id: svn://10.0.0.236/trunk@63751 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 18:47:54 +00:00
wtc%netscape.com
3e5a68ce2e Removed a temporary hack added before the delayed notify fix was checked
in.


git-svn-id: svn://10.0.0.236/trunk@63750 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 18:44:54 +00:00
wtc%netscape.com
91de97c45a 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.


git-svn-id: svn://10.0.0.236/trunk@63749 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 18:21:12 +00:00
wtc%netscape.com
eed58ed70c Bugzilla bug #5757: added a while loop around the PR_Wait call.
git-svn-id: svn://10.0.0.236/trunk@63685 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:13:35 +00:00
srinivas%netscape.com
7db04928fa Fixed PR_Poll to call select, instead of poll, on HPUX and OSF1 platforms.
Bug 153459.


git-svn-id: svn://10.0.0.236/trunk@63526 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 02:57:55 +00:00
srinivas%netscape.com
1d1743caf8 Implemented a new style stack of IO layers with a fixed, dummy header.
Bug #30914.


git-svn-id: svn://10.0.0.236/trunk@63334 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 23:15:27 +00:00
srinivas%netscape.com
ec49a9e479 For the IO continuation operation, use select(), instead of poll(),
on OSF1. Bug #153459.


git-svn-id: svn://10.0.0.236/trunk@63306 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 20:01:41 +00:00
srinivas%netscape.com
bad8a3ee96 Fixed syntax error.
git-svn-id: svn://10.0.0.236/trunk@63301 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 18:24:29 +00:00
wtc%netscape.com
d29cbfd262 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


git-svn-id: svn://10.0.0.236/trunk@63171 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 22:46:02 +00:00
wtc%netscape.com
5d0bf8cfad Checked in a patch contributed by Jerry L. Kirk
<Jerry.Kirk@Nexwarecorp.com>.


git-svn-id: svn://10.0.0.236/trunk@63070 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 22:00:37 +00:00
wtc%netscape.com
e907c19e9b Improved comments. Bugzilla bug #30746
git-svn-id: svn://10.0.0.236/trunk@63066 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 20:58:45 +00:00
wtc%netscape.com
3fc793a715 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


git-svn-id: svn://10.0.0.236/trunk@63063 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 20:00:42 +00:00
wtc%netscape.com
92b30b65a1 Added the generated header file to GARBAGE.
Modified files: lib/ds/Makefile, pr/src/Makefile, pr/src/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@62971 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:45:35 +00:00
wtc%netscape.com
f85013994d Moved the definition of GARBAGE to a standard place.
git-svn-id: svn://10.0.0.236/trunk@62969 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:43:40 +00:00
wtc%netscape.com
6bbad5d3b9 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.


git-svn-id: svn://10.0.0.236/trunk@62950 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 00:01:06 +00:00
srinivas%netscape.com
e3d4bda386 When a PRLock is released all the waiters are unblocked, rather than assign
the lock to a waiting thread. Bug #67751.


git-svn-id: svn://10.0.0.236/trunk@62946 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 20:16:39 +00:00
srinivas%netscape.com
f463e58338 Added new functions to look up function symbols in dynamic libraries.
Bugzilla #27175.


git-svn-id: svn://10.0.0.236/trunk@62935 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 14:54:25 +00:00
wtc%netscape.com
d589b4b0f9 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


git-svn-id: svn://10.0.0.236/trunk@62792 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 00:43:31 +00:00
wtc%netscape.com
1453b7d179 Fixed an error in the previous checkin.
git-svn-id: svn://10.0.0.236/trunk@62791 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 00:33:02 +00:00
srinivas%netscape.com
32331723af Handle the ERANGE error on Solaris. Bugzilla 31437.
git-svn-id: svn://10.0.0.236/trunk@62615 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 02:38:25 +00:00
wtc%netscape.com
f9e0c13dc8 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


git-svn-id: svn://10.0.0.236/trunk@62498 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 22:45:42 +00:00
wtc%netscape.com
821e6214da Bugzilla bug #31049: pass both null and non-null 'addr' argument to
PR_Accept to catch this bug.


git-svn-id: svn://10.0.0.236/trunk@62488 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 21:40:11 +00:00
wtc%netscape.com
92ddffb6e9 Bugzilla bug #31049: Ipv6ToIpv4SocketAccept should handle a null 'addr'
argument.


git-svn-id: svn://10.0.0.236/trunk@62487 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 21:38:19 +00:00
wtc%netscape.com
20bedc9a03 Bugzilla bug #31120: added a new test intrio.c to reproduce this bug.
Added file: intrio.c
Modified files: Makefile, Makefile.in, runtests.ksh


git-svn-id: svn://10.0.0.236/trunk@62486 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 21:14:24 +00:00
wtc%netscape.com
a154809875 Bugzilla bug #31120: _PR_Unblock_IO_Wait was binding the interrupted
local thread to the wrong CPU.


git-svn-id: svn://10.0.0.236/trunk@62480 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 18:26:29 +00:00
wtc%netscape.com
785e17dbbf 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


git-svn-id: svn://10.0.0.236/trunk@62347 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 22:48:41 +00:00
wtc%netscape.com
2c1c458572 Merged NSPR 4.0 release onto the main trunk.
git-svn-id: svn://10.0.0.236/trunk@62147 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 19:53:57 +00:00
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
wtc%netscape.com
14467ca5be 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.


git-svn-id: svn://10.0.0.236/trunk@61353 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-19 03:02:53 +00:00
cls%seawood.org
b66b025ff4 Only use HOST_CC for INTERNAL_TOOLS when cross-compiling as it's the only time it actually matters. r,a=wtc
git-svn-id: svn://10.0.0.236/trunk@61211 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 19:38:38 +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
0fa0e2fa9d Enabling debug info on optimized build so sfraser can debug optimized builds. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@59801 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 23:09:10 +00:00