wtc%netscape.com
9718b18cde
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
2000-01-08 23:05:24 +00:00
wtc%netscape.com
5d06033e98
Backed out the previous checkin (found a better fix).
2000-01-08 16:40:59 +00:00
wtc%netscape.com
6a8fcdbb6a
Define _MD_PIPEAVAILABLE for mac (simply returns -1).
2000-01-08 16:22:26 +00:00
wtc%netscape.com
efc551b0a8
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
2000-01-08 15:17:59 +00:00
srinivas%netscape.com
6efa1e9e46
Add new API declaration, NSPR_API. Bugzilla #12913 .
2000-01-07 01:28:13 +00:00
cls%seawood.org
0327a63675
Sync'd Makefile.in's to reflect srinivas' NSPR API changes.
2000-01-06 06:09:27 +00:00
srinivas%netscape.com
4f384a12e1
Backed out previous checkin; NSPR_API needs to be defined for Mac.
...
Bugzilla #12913 .
2000-01-06 02:17:03 +00:00
srinivas%netscape.com
67e7d01f85
Support platform-specific import declaration for public NSPR functions.
...
Bugzilla #12913 . rwtc.
2000-01-06 01:45:29 +00:00
srinivas%netscape.com
66da869c39
PR_FindSymbol looks up a symbol only in the specified library.
...
Bugzilla #16554 .
1999-12-23 02:51:37 +00:00
wtc%netscape.com
f10ff34419
Checked in NetBSD/MIPS port contributed by Tom Weinstein
...
<tomw@geocast.com>.
Modified files: _netbsd.cfg, _netbsd.h
1999-12-22 23:58:07 +00:00
wtc%netscape.com
41540ce4d9
Fixed pthreads build problems on OpenBSD (Bugzilla bug #20529 ) and FreeBSD.
...
Modified files: _freebsd.h, _openbsd.h, ptio.c, ptsynch.c,
pr/tests/Makefile
1999-12-22 23:39:09 +00:00
wtc%netscape.com
ec518ecd80
NetBSD has System V semaphores and shared memory.
1999-12-22 22:42:47 +00:00
wtc%netscape.com
d2347a8d52
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
1999-12-22 19:51:13 +00:00
gordon%netscape.com
1bfc681f1d
Checkin for Mark Welch. Approved by wtc. Reviewed by gordon. Fixes for bugs 4318 and 4320 (server sockets and blocking socket IO for mac).
1999-12-07 23:22:59 +00:00
wtc%netscape.com
a892793dfb
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.
1999-12-07 22:23:48 +00:00
wtc%netscape.com
ee5d3dfb4e
Bugzilla bug #20770 : Solaris 8 has getipnodebyname().
1999-12-04 01:05:04 +00:00
larryh%netscape.com
62fc21a701
BugZilla: 19247. Add support for VMS, QNX, NTO
1999-11-29 19:42:11 +00:00
larryh%netscape.com
b40add0fad
BugZilla: 19448. Back out disable call to _PR_MD_GetRandomNoise()
1999-11-23 19:15:32 +00:00
larryh%netscape.com
0076745cc2
BugZilla 19448. Temporary circumvention
1999-11-23 17:33:20 +00:00
wtc%netscape.com
9aa33b2871
This header file should not define HAVE_UINT. There should be a better
...
solution solution for the problem this solved.
1999-11-19 00:58:21 +00:00
wtc%netscape.com
167f8de637
_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.
1999-11-19 00:56:45 +00:00
wtc%netscape.com
6c143523e3
Removed unnecessary _MD_MINIMUM_STACK_SIZE macro definition. Define this
...
macro only if the platform has a minimum stack size requirement.
1999-11-19 00:52:58 +00:00
larryh%netscape.com
ea878668ca
BugZilla: 19247
1999-11-18 22:23:00 +00:00
larryh%netscape.com
dd4225fa8a
BugZilla: 19247, fix declaration of _PR_MD_GetRandomNoise()
1999-11-18 21:38:39 +00:00
sdagley%netscape.com
f89f1c2c89
Fix Mac bustage. Make PR_GetRandomNoise() compile. Don't know about working yet.
1999-11-18 21:16:51 +00:00
larryh%netscape.com
6e77f99f56
BugZilla: 19247. PR_GetRandomNoise()
1999-11-18 20:29:17 +00:00
wtc%netscape.com
edb11b195c
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
1999-11-18 02:14:38 +00:00
wtc%netscape.com
7edcb79205
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.
1999-11-16 23:44:41 +00:00
wtc%netscape.com
204721757b
Bugzilla bug #17699 : removed obsolete functions PR_SetThreadExit and
...
PR_GetThreadExit.
Modified files: pprthred.h, primpl.h, prcthr.c, prtpd.c, and pruthr.c.
1999-11-15 21:29:29 +00:00
wtc%netscape.com
4bd1fc48f2
Bugzilla bug #16845 : added new function PR_LoadLibraryWithFlags.
...
Also, use RTLD_LAZY on Linux (was using RTLD_NOW).
Modified files: prlink.h, prlink.c.
1999-11-13 01:27:06 +00:00
gordon%netscape.com
122fb95337
Mac specific interrupt<->thread synchronization mechanism, required for async Mac dns.
r=warren, patrick, wtc, srinivas, larryh; part of bug:10731.
1999-11-03 01:22:58 +00:00
larryh%netscape.com
30c4fb7805
BugZilla 17558. Add PR_Open() PR_EXCL flag
1999-11-01 22:59:27 +00:00
srinivas%netscape.com
923e93d99e
Add PR_Block/Unblock_Interrupt functions. Bugzilla 17055
1999-10-28 02:48:01 +00:00
larryh%netscape.com
03562a6135
BugZilla 17374. Add PROffset types
1999-10-27 20:29:22 +00:00
wtc%netscape.com
a2e463d252
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.
1999-10-26 22:58:55 +00:00
wtc%netscape.com
794d3f7c15
Added missing function declarations to eliminate compiler warnings.
...
Checked in on behalf of Colin Blakes <colin@theblakes.com>.
1999-10-26 02:01:38 +00:00
wtc%netscape.com
3c5064327b
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.
1999-10-26 01:58:10 +00:00
srinivas%netscape.com
8648127088
OpenVMS updates by colin@theblakes.com
1999-10-22 21:06:08 +00:00
srinivas%netscape.com
12e31e7352
Defined _MD_PIPEAVAILABLE; checkin for "Duncan Wilcox" <duncan@be.com>.
1999-10-22 20:58:00 +00:00
srinivas%netscape.com
b9864b3162
Add PR_SendFile to the PRIOMethods tables to enable use in layered FDs.
...
Bugzilla #17012 .
1999-10-22 20:49:19 +00:00
wtc%netscape.com
cc86e67e43
Bugsplat bug #366500 : use the default, PRLock-based atomic stack
...
implementation on OSF1. r=larryh,srinivas@netscape.com.
Modified files: _osf1.h, osf1.c.
1999-10-22 01:10:00 +00:00
wtc%netscape.com
8931f4f8c7
Fixed a small mistake in the previous checkin.
1999-10-21 22:51:06 +00:00
wtc%netscape.com
b427917e05
Bugsplat bug #365031 : moved the definition of PRStack from pratom.h
...
to primpl.h so that it is not exported.
Bugsplat bug #364813 : declare 'prstk_head' volatile, to prevent compiler
from optimizing away references in a loop.
r=larryh,srinivas@netscape.com
1999-10-21 22:36:35 +00:00
srinivas%netscape.com
57e7bdef64
Update with post-3.5 fixes on the tip
1999-10-19 00:40:39 +00:00
cls%seawood.org
c3ac045cd4
Bug 11893. r=shaver
...
Sync the autoconf Makefile.ins.
1999-10-17 15:12:41 +00:00
wtc%netscape.com
a73091ee3d
Bugsplat bug #358401 : created a separate .rc file for each DLL. The
...
product name is "Netscape Portable Runtime" and the file descriptions
are "NSPR Library", "PLDS Library", "PLC Library", and "PRSTRMS Library".
A debug build is indicated in the file description. The copyright years
changed to 1996-1999.
Modified files: rules.mk, lib/ds/Makefile, lib/ds/Makefile.in,
lib/libc/src/Makefile, lib/libc/src/Makefile.in,
lib/prstreams/Makefile, lib/prstreams/Makefile.in,
prinit.h, nspr.rc
Added files: plds.rc, plc.rc, prstrms.rc
Removed file: resource.h
1999-10-15 00:51:41 +00:00
wtc%netscape.com
462671b2cf
Bugsplat bug #365543 : removed the PRIntn typecast in the definition of
...
PR_TRUE and PR_FALSE.
1999-10-14 23:25:01 +00:00
srinivas%netscape.com
bc24d35ef7
Add autoconf for NSPR. Check in for cls@seawood.org. Buzill 11893
1999-10-14 15:09:11 +00:00
srinivas%netscape.com
2a7da8ac35
Enable specification of minimum stack size.
1999-10-14 02:33:14 +00:00
larryh%netscape.com
76ed113c5c
NSPR 3.5 landing
1999-10-13 18:32:42 +00:00
srinivas%netscape.com
7a3d189af5
Backout previous change.
1999-10-06 19:30:01 +00:00
srinivas%netscape.com
ebb8b5579a
Add the SO_BROADCAST option. Bug #365862 .
1999-10-06 18:31:22 +00:00
sdagley%netscape.com
c2836c8585
Add documentation comments for Mac library loading. r=sfraser
1999-10-06 02:37:14 +00:00
sdagley%netscape.com
0ffbe71664
Added prlink_mac.h, r=sfraser
1999-10-06 01:04:06 +00:00
sdagley%netscape.com
25e209dcc2
First Checked In.
1999-10-06 01:00:58 +00:00
wtc%netscape.com
5a207c767a
Bugzilla bug #14603 : simple fix for OpenVMS contributed by Colin Blake
...
<colin@theblakes.com>.
1999-09-24 01:55:12 +00:00
srinivas%netscape.com
ff7839f7f1
Use an absolute, instead of relative, filespec for OpenVMS. Checkin for
...
Colin Blake <colin@theblakes.com>.
1999-09-21 01:18:14 +00:00
wtc%netscape.com
c6bf364742
Bugzilla bug #13361 : fixed gcc compiler warnings. Thanks to
...
Steve Lamm (slamm@netscape.com ) for the bug report.
Modified files: prtime.h, prmwait.c, pratom.c, ptio.c, ptthread.c.
1999-09-20 23:59:09 +00:00
brendan%mozilla.org
8690146089
- Add an OnMonitorRecycle callback for use by xpcom/threads/nsAutoLock.cpp.
...
- Clean up funky white space and tabbing, preparatory to more work including
LRU fix.
1999-09-17 23:16:12 +00:00
srinivas%netscape.com
2c09404c22
Define __STRICT_ANSI__ for Linux to eliminate spurious warnings. Checkin
...
for Chris Seawood <cls@seawood.org>.
1999-09-14 19:39:46 +00:00
srinivas%netscape.com
a685dae8d4
Assembly language implementation of PR_StackPush/Pop routines for Sparc/x86;
...
checkin for ppokorny@mindspring.com .
1999-07-27 14:40:44 +00:00
wtc%netscape.com
2fee70737c
PTHREAD_CREATE_JOINABLE/UNDETACHED was accidentally changed to
...
_PT_PTHREAD_CREATE_JOINABLE/UNDETACHED.
1999-07-20 05:02:12 +00:00
wtc%netscape.com
dd397f4a12
Changed OS_ARCH to OS_TARGET for NTO because we are still cross-compiling.
...
Thanks to Jerry L. Kirk <Jerry.Kirk@Nexwarecorp.com> for the patch.
(This might have been my error when I checked in his previous patch.)
1999-07-19 21:43:44 +00:00
wtc%netscape.com
a7885b659d
Files created in 1999 should have a 1999 copyright notice.
1999-07-19 21:37:59 +00:00
srinivas%netscape.com
37c359d4bb
NSPR no longer defines symbols with the PTHREAD prefix. Bugzilla #9907 .
1999-07-15 13:06:28 +00:00
srinivas%netscape.com
1a3dc74999
OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>.
1999-07-15 12:37:21 +00:00
sdagley%netscape.com
ed43893377
Part deux of the fix for #8491 . Had to add the ability to externally re-init NSPR's log feature as we were reading the environemnt vars on the Mac after the initial init. Reviewed saari.
1999-07-09 04:03:51 +00:00
sdagley%netscape.com
b74558da9b
Fix for bug #8491 . Reviewed scc, approved chofmann. Provide support for environment variables on the Mac so PR_Log can query for what modules are actually supposed to be logged. See the bug comments for a description of how to set the enviroment variables.
1999-07-09 02:44:31 +00:00
wtc%netscape.com
02cdec8ac9
Deleted an extra space.
1999-06-28 23:18:15 +00:00
wtc%netscape.com
11a32bff2c
Merged Neutrino (NTO) changes contributed by Jerry L. Kirk
...
<Jerry.Kirk@Nexwarecorp.com>.
Modified files: pr/include/md/Makefile, _pth.h, prosdep.h,
pr/src/md/unix/Makefile, objs.mk, unix.c, unix_errors.c,
ptio.c, ptthread.c.
Added files: NTO.mk, _nto.cfg, _nto.h, nto.c.
1999-06-28 23:13:18 +00:00
srinivas%netscape.com
c197785e68
Checkin for briano@netscape.com. Bugzilla #8600 .
1999-06-23 19:43:41 +00:00
wtc%netscape.com
6a84154eb0
More OpenVMS changes from Colin R. Blake <colin@theblakes.com>.
...
Modified files: prstrms.cpp, pr/include/md/Makefile, _openvms.h,
and prmapopt.c.
1999-06-04 03:01:40 +00:00
wtc%netscape.com
bb9a3e68fb
Bugzilla bug #4842 : do not export private NSPR headers (private/pprmwait.h,
...
private/primpl.h, and md/*.h) to mozilla/dist. NSPR files will get
these headers from the source tree, via -I$(MOD_DEPTH)/pr/include and
-I$(MOD_DEPTH)/pr/include/private. Non-NSPR files must not include
these private NSPR headers and should get the exported NSPR headers
from mozilla/dist/<platform.OBJ>/include.
1999-06-03 22:35:44 +00:00
wtc%netscape.com
587742942e
Bugzilla bug #7077 : modified compile-et.pl so that it adds comments
...
(error strings) before the error code macro definitions in the
generated header. Also updated prerr.h to reflect this change.
Thanks to John Gardiner Myers <jgmyers@netscape.com> for contributing
the fix.
1999-05-27 23:20:02 +00:00
srinivas%netscape.com
11155af018
OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>.
1999-05-19 00:53:52 +00:00
srinivas%netscape.com
2f2fc05028
Port to OpenVMS.
...
Checkin for "Colin R. Blake" <colin@theblakes.com>.
1999-05-12 00:47:36 +00:00
srinivas%netscape.com
9a0861236e
Initial version for the OpenVMS port.
...
Checkin for "Colin R. Blake" <colin@theblakes.com>.
1999-05-12 00:43:26 +00:00
dmose%mozilla.org
40c9c56b74
updating to license version 1.1 in boilerplate comments
1999-04-21 21:40:44 +00:00
wtc%netscape.com
3685a4087d
Bugzilla bug #5358 : temporary fix for the build problem on Solaris/x86.
...
We don't have an assembly language implementation of atomic stacks for
Solaris/x86 yet. Thanks to Justin A. Kolodziej
<4wg7kolodzie@marquette.edu> for reporting the bug.
1999-04-21 21:02:10 +00:00
wtc%netscape.com
0dc38deeda
Declare _PR_Unblock_IO_Wait.
1999-04-16 00:17:46 +00:00
larryh%netscape.com
31d8379ce8
Fix warning message on _MD_EXIT
1999-04-14 22:39:33 +00:00
wtc%netscape.com
1cd893807c
Made the i/o continuation thread ignore the events that have
...
been consumed by prior continuation function calls.
(Bugsplat bug #345296 )
Modified files: primpl.h, ptio.c.
1999-04-02 23:21:08 +00:00
wtc%netscape.com
78f068a3fe
Moved SocketPollFD functions from public header(prio.h) to this private header.
1999-04-01 05:11:27 +00:00
wtc%netscape.com
ea6c2f51ce
Moved SocketPollFD functions from public header(prio.h) to the private
...
header pprio.h.
1999-04-01 05:10:59 +00:00
wtc%netscape.com
898058c478
Name the third argument for PR_Writev 'iov_size', as opposed
...
to 'size'.
1999-04-01 04:57:35 +00:00
wtc%netscape.com
fc0eb957bd
Bugzilla bug #4297 : the use of 'stack' as function arguments conflicts
...
with the class name 'stack' in STL, so renamed it to 'fd_stack'.
Thanks to joseph.gregorio@mts.com for reporting the problem and
suggesting a fix.
1999-04-01 04:30:37 +00:00
wtc%netscape.com
99c7447a81
Two new functions defined to enable polling native and NSPR FDs simultaneously.
1999-03-30 01:36:34 +00:00
wtc%netscape.com
bf53d47653
Define HAVE_LONG_LONG for NetBSD on alpha, powerpc, and m68k.
1999-03-24 00:22:09 +00:00
wtc%netscape.com
08520a5974
FreeBSD/Alpha port, contributed by Brian Ostrom <briano@netscape.com>.
...
Modified files: FreeBSD.mk, gencfg.c, _freebsd.cfg, _freebsd.h,
pr/tests/Makefile.
1999-03-23 04:09:23 +00:00
wtc%netscape.com
035b3f4203
Merged NSPR patches for BSD/OS 4.0.1 + sparc, contributed by
...
Kurt J. Lidl <lidl@eng.us.uu.net>.
Modified files: BSD_OS.mk, _bsdi.cfg, _bsdi.h.
1999-03-22 23:04:13 +00:00
wtc%netscape.com
c7e15201d8
Update from the internal CVS repository /m/src. Includes: first
...
cut at 64-bit AIX port.
1999-03-19 22:47:21 +00:00
gordon%netscape.com
63e95a76c6
Fix for Mac OT bugs #2133 , #2405 , #2451 , #2623 , #3580 among others. Steve Dagley served as buddy for my changes. This is basically the first half of the redesign for Mac NSPR Sockets. Blocking mode or Server sockets remain to be implemented.
1999-03-14 00:15:39 +00:00
wtc%netscape.com
a48a204528
Another update from the internal CVS repository /m/src.
1999-03-09 05:12:06 +00:00
wtc%netscape.com
8b2132aba2
Another update of the latest stuff from the internal CVS repository /m/src.
1999-03-02 22:23:14 +00:00
wtc%netscape.com
a8f60387ec
Another update from the internal CVS repository /m/src to mozilla.org.
1999-03-02 00:58:34 +00:00
wtc%netscape.com
cf5a813894
Landing of miscellaneous changes, including the new error code to
...
string function contributed by John Myers <jgmyers@netscape.com>.
1999-02-26 20:41:06 +00:00
wtc%netscape.com
858b80f37c
Changed NSPR ==> NSPS.
1999-02-25 19:58:12 +00:00
wtc%netscape.com
5af04a07ba
Bugsplat bug #343158 : corrected a typo in the comment. Thanks to
...
John Bandhauer <jband@netscape.com> for the bug report and fix.
1999-02-19 00:45:35 +00:00
wtc%netscape.com
de545baf18
On BSDI, zero a pthread_mutex_t or pthread_cond_t before initializing
...
it. This patch is contributed by Bert Driehuis
<bert_driehuis@nl.compuware.com>.
1999-02-18 23:20:11 +00:00
larryh%netscape.com
b9ff654572
Set version
1999-02-12 18:39:17 +00:00