wtc%netscape.com
301653b08b
Bugzilla bug #43507 : install the SIGALRM signal handler in
...
_MD_EnableClockInterrupts before starting the interval timer.
Modified files: _unixos.h, unix.c
2000-06-28 02:49:24 +00:00
larryh%netscape.com
f3f1cc024f
BugZilla: 39942. PR_SetError() calls free()
2000-06-22 19:46:28 +00:00
wtc%netscape.com
86c2cf5d36
Bugzilla bug #40941 : added assembly language implementation of atomic
...
routines for IA-64 Linux. Thanks to David Mosberger <davidm@hpl.hp.com>
for the code review.
Modifies files: configure, configure.in, _linux.h, pr/src/md/unix/Makefile,
pr/src/md/unix/Makefile.in, pr/src/md/unix/objs.mk
Added files: os_Linux_ia64.s
2000-06-20 22:22:23 +00:00
larryh%netscape.com
dc5530d464
BugZilla: 42367. Fix copyright date, Original Code
2000-06-20 21:48:45 +00:00
larryh%netscape.com
07cb73b3c8
BugZilla 42367. change license to dual-license
2000-06-13 20:59:02 +00:00
wtc%netscape.com
1bf3b05cbc
Bugzilla bug #17806 : improved comments for PR_Poll.
2000-06-10 00:43:59 +00:00
wtc%netscape.com
6217542825
Bugzilla bug #17806 : made the comments for PR_Poll clearer about the
...
fact that the out_flags fields can only be checked on a successful
return.
2000-06-09 23:44:00 +00:00
wtc%netscape.com
ae154c05a3
Bugzilla bug #40542 : pass the correct size of struct sockaddr_in8 to
...
native socket functions on Solaris 8 for Intel/x86. r=larryh@netscape.com .
a=pdt. Thanks to dcran@us.ibm.com (Donnie Cranford) for the bug report.
Modified files: _solaris.h, primpl.h
2000-06-09 18:18:19 +00:00
wtc%netscape.com
0d184b4e3b
Bugzilla bug #38599 : pthreads PR_Poll optimizations. 1. Increased the
...
size of the stack pollfd structure array from 4 to 64. 2. Made the
malloc'ed pollfd structure array a thread private data.
Modified files: primpl.h, ptio.c, ptthread.c
2000-06-08 20:42:57 +00:00
wtc%netscape.com
c956729585
Define the new macro _PR_POLL_WITH_SELECT for OSF1 and HP-UX.
...
OSF1 and HP-UX report the POLLHUP event for a socket when the
shutdown(SHUT_WR) operation is called for the remote end, even though
the socket is still writeable. Use select(), instead of poll(), to
workaround this problem.
Modified files: _hpux.h, _osf1.h, ptio.c
2000-06-08 17:48:39 +00:00
wtc%netscape.com
7e98aced72
Bugzilla bug #40941 : define _PR_HAVE_LARGE_OFF_T for ia64.
...
Removed ia64 classic nspr user-level thread stuff because
it doesn't work.
2000-06-07 19:15:27 +00:00
larryh%netscape.com
1270201640
BugZilla: 40941. IA-64 Linux
2000-06-06 23:12:09 +00:00
wtc%netscape.com
d356e7e7a7
Bugzilla bug #40778 : added new function PR_ConnectContinue and new
...
I/O method connectcontinue. Deprecate PR_GetConnectStatus and define
it in terms of PR_ConnectContinue.
Modified files: prio.h, prfile.c, priometh.c, prlayer.c, prpolevt.c,
prsocket.c, ptio.c
2000-06-02 02:07:56 +00:00
wtc%netscape.com
f27585cb9d
Bugzilla bug #39731 : added PR_ImportPipe and support of pipes to
...
PR_GetInheritedFD.
Modified files: pprio.h, prfile.c, prinit.c, ptio.c
2000-05-31 01:24:52 +00:00
wtc%netscape.com
ca10d036fe
Bugzilla bug #39696 : implemented the NSPR atomic routines in
...
assembly language for Solaris/x86.
Modified files: _solaris.h, solaris.c, os_SunOS_x86.s
2000-05-31 00:33:48 +00:00
wtc%netscape.com
037a8366a7
Bugzilla bug #40629 : the _PR_NewSegment and _PR_DestroySegment functions
...
are not needed in the pthreads version. The /dev/zero file, if opened,
should have the close-on-exec flag so that it won't get inherited by
child processes.
Modified files: _unixos.h, primpl.h, prseg.c, unix.c
2000-05-25 23:26:10 +00:00
wtc%netscape.com
ca0b9f922d
Bugzilla bug #26506 : removed the dns lock if the platform has
...
gethostbyXXX_r or if the gethostbyXXX functions return the result
in thread specific storage. Did this for AIX, HP-UX, IRIX, OSF1,
Linux, and Solaris.
Modified files: AIX.mk, HP-UX.mk, IRIX.mk, OSF1.mk, _linux.h,
_solaris.h, and prnetdb.c
2000-05-25 02:07:07 +00:00
larryh%netscape.com
c40ceff5a9
BugZilla 25981. PR_GetNumberOfCpus()
2000-05-23 21:35:16 +00:00
wtc%netscape.com
1fba98b9c8
Bugzilla bug #39110 : backed out the fix because it breaks code that
...
depends on the broken definition. Defer the fix to NSPR 5.0.
2000-05-22 22:38:53 +00:00
wtc%netscape.com
f29b26f75d
Bugzilla bug #39110 : put PR_BEGIN_MACRO and PR_END_MACRO around
...
PR_DELETE and PR_FREEIF. Thanks to Erik van der Poel <erik@netscape.com>
for the bug report and suggested fix.
2000-05-22 18:12:11 +00:00
wtc%netscape.com
a58ccf713c
Checked in IPv6 patch for Colin Blake <colin@theblakes.com>.
2000-05-17 00:56:59 +00:00
wtc%netscape.com
bd8b9339af
Added missing parentheses that I missed in the previous checkin.
2000-05-15 23:28:59 +00:00
wtc%netscape.com
34a4ade695
Bugzilla bug #38996 : added new function PR_GetMemMapAlignment().
...
Modified files: prio.h, _beos.h, _macos.h, _os2.h, _unixos.h, _win16.h,
_win95.h, _winnt.h, primpl.h, prmmap.c, bmmap.c, macio.c, os2misc.c,
ntmisc.c, w16fmem.c
2000-05-11 23:54:04 +00:00
wtc%netscape.com
c528067f7c
Bugzilla bug #34920 : provide an emulated implementation of acceptread
...
and sendfile methods that I/O layers can use. _PR_EmulateAcceptRead
is superseded by PR_EmulateAcceptRead, and _PR_EmulateSendFile and
_PR_UnixSendFile are superseded by PR_EmulateSendFile. Deleted unused
function _PR_HPUXTransmitFile. The workaround for the OSF1 V4.0
MAP_PRIVATE bug is moved from _PR_UnixSendFile to _MD_CreateFileMap,
ifdef'd with the new macro OSF1V4_MAP_PRIVATE_BUG, which is defined
only on OSF1 V4.
Modified files: OSF1.mk, _hpux.h, pprio.h, primpl.h, priometh.c,
prsocket.c, unix.c, and ptio.c
2000-05-11 18:34:19 +00:00
wtc%netscape.com
a0d0c23f64
Bugzilla bug #36718 : several socket options become enums in Mac OS
...
Universal Interfaces 3.3. Define them as macros so that our code
in prmapopt.c, which assumes all socket options are macros, continues
to work.
2000-05-08 20:38:14 +00:00
wtc%netscape.com
d3ee2562b9
Bugzilla bug #17223 : implemented the PR_MSG_PEEK flag for PR_Recv() for
...
BeOS, Mac OS, OS/2, and Windows. On BeOS, Mac OS, and NT, PR_MSG_PEEK
is emulated with a peek buffer in the NSPR file descriptors.
Modified files: _beos.h, _macos.h, _winnt.h, primpl.h, prsocket.c,
macsockotpt.c, os2sock.c, ntio.c, and w95sock.c
2000-05-05 00:32:49 +00:00
wtc%netscape.com
faba10b076
Bugzilla bug #17223 : added the PR_MSG_PEEK (with same value as MSG_PEEK)
...
for PR_Recv(). Define _PR_EMULATE_MSG_PEEK on platforms that don't
natively support MSG_PEEK. Implemented PR_MSG_PEEK for pthreads.
Added the peek.c test case.
Modified files: prio.h, _macos.h, _winnt.h, primpl.h, ptio.c,
pr/tests/Makefile, pr/tests/Makefile.in
Added file: pr/tests/peek.c
2000-05-03 01:22:54 +00:00
wtc%netscape.com
93eb670cbb
Bugzilla bug #30902 : use true atomic implementation of the NSPR atomic
...
routines on Linux on Intel x86.
Modified files: _linux.h, pr/src/md/unix/Makefile,
pr/src/md/unix/Makefile.in, pr/src/md/unix/objs.mk
Added file: os_Linux_x86.s
2000-04-25 01:22:14 +00:00
wtc%netscape.com
0f17d29b19
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
2000-04-03 17:51:02 +00:00
wtc%netscape.com
96f49bfacb
Bugzilla bug #27175 : Changed the PRFuncPtr type to void (*)(), to be
...
consistent with the type of the 'fp' field of PRStaticLinkTable.
2000-03-30 00:54:33 +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
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
d7e86accbb
Bugzilla bug #31697 : Mac OS X has System V shared memory.
2000-03-23 02:23:53 +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
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
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
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
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
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
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
srinivas%netscape.com
e1407e1b4b
Add threadpool feature. Bugzilla #23951 . rwtc.
2000-01-18 20:45:29 +00:00
wtc%netscape.com
6537e5a176
Use only one definition of PipeAvailable and PipeAvailable64, which
...
requires _PR_MD_PIPEAVAILABLE. Define _MD_PIPEAVAILABLE for Mac.
Modified files: _macos.h, prfile.c
2000-01-12 21:37:38 +00:00
wtc%netscape.com
993cdfefc9
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
2000-01-11 01:53:08 +00:00
wtc%netscape.com
dd018257b4
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
2000-01-11 01:49:01 +00:00
srinivas%netscape.com
61d0495a1f
Update to OS/2 port; the build now uses OS_ARCH=OS2, in place of WINNT.
...
Checkin for sobotka@axess.com . Bugzilla 23544.
2000-01-10 21:08:45 +00:00