135 Commits

Author SHA1 Message Date
srinivas%netscape.com
e4b2792b7c Assembly language implementation of PR_StackPush/Pop routines for Sparc/x86;
checkin for ppokorny@mindspring.com.


git-svn-id: svn://10.0.0.236/trunk@41290 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 14:40:44 +00:00
wtc%netscape.com
9db1cb1c17 PTHREAD_CREATE_JOINABLE/UNDETACHED was accidentally changed to
_PT_PTHREAD_CREATE_JOINABLE/UNDETACHED.


git-svn-id: svn://10.0.0.236/trunk@40237 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 05:02:12 +00:00
wtc%netscape.com
8cf389d56c 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.)


git-svn-id: svn://10.0.0.236/trunk@40166 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 21:43:44 +00:00
wtc%netscape.com
3e60405938 Files created in 1999 should have a 1999 copyright notice.
git-svn-id: svn://10.0.0.236/trunk@40158 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 21:37:59 +00:00
srinivas%netscape.com
b5f35458f2 NSPR no longer defines symbols with the PTHREAD prefix. Bugzilla #9907.
git-svn-id: svn://10.0.0.236/trunk@39528 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 13:06:28 +00:00
srinivas%netscape.com
123ee88fd9 OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>.
git-svn-id: svn://10.0.0.236/trunk@39527 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 12:37:21 +00:00
sdagley%netscape.com
12627c0f44 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.
git-svn-id: svn://10.0.0.236/trunk@38877 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-09 04:03:51 +00:00
sdagley%netscape.com
59c686e098 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.
git-svn-id: svn://10.0.0.236/trunk@38870 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-09 02:44:31 +00:00
wtc%netscape.com
21b2e0c621 Deleted an extra space.
git-svn-id: svn://10.0.0.236/trunk@37269 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 23:18:15 +00:00
wtc%netscape.com
d74e1bd377 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.


git-svn-id: svn://10.0.0.236/trunk@37265 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 23:13:18 +00:00
srinivas%netscape.com
bee4260812 Checkin for briano@netscape.com. Bugzilla #8600.
git-svn-id: svn://10.0.0.236/trunk@36578 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 19:43:41 +00:00
wtc%netscape.com
65aeb0b85f More OpenVMS changes from Colin R. Blake <colin@theblakes.com>.
Modified files: prstrms.cpp, pr/include/md/Makefile, _openvms.h,
and prmapopt.c.


git-svn-id: svn://10.0.0.236/trunk@33700 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 03:01:40 +00:00
wtc%netscape.com
0b6cf61cc5 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.


git-svn-id: svn://10.0.0.236/trunk@33631 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:35:44 +00:00
wtc%netscape.com
5f8254e1e3 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.


git-svn-id: svn://10.0.0.236/trunk@33029 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 23:20:02 +00:00
srinivas%netscape.com
2bb10f123a OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>.
git-svn-id: svn://10.0.0.236/trunk@32205 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:53:52 +00:00
srinivas%netscape.com
e518a503f4 Port to OpenVMS.
Checkin for "Colin R. Blake" <colin@theblakes.com>.


git-svn-id: svn://10.0.0.236/trunk@31194 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 00:47:36 +00:00
srinivas%netscape.com
0a5638dc19 Initial version for the OpenVMS port.
Checkin for "Colin R. Blake" <colin@theblakes.com>.


git-svn-id: svn://10.0.0.236/trunk@31193 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 00:43:26 +00:00
dmose%mozilla.org
427e742473 updating to license version 1.1 in boilerplate comments
git-svn-id: svn://10.0.0.236/trunk@28534 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:40:44 +00:00
wtc%netscape.com
8698beda5f 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.


git-svn-id: svn://10.0.0.236/trunk@28520 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:02:10 +00:00
wtc%netscape.com
6807332f25 Declare _PR_Unblock_IO_Wait.
git-svn-id: svn://10.0.0.236/trunk@27763 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 00:17:46 +00:00
larryh%netscape.com
8495837305 Fix warning message on _MD_EXIT
git-svn-id: svn://10.0.0.236/trunk@27471 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 22:39:33 +00:00
wtc%netscape.com
d3d72487ff 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.


git-svn-id: svn://10.0.0.236/trunk@26108 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 23:21:08 +00:00
wtc%netscape.com
91c0209e2a Moved SocketPollFD functions from public header(prio.h) to this private header.
git-svn-id: svn://10.0.0.236/trunk@25818 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 05:11:27 +00:00
wtc%netscape.com
63f7ed24da Moved SocketPollFD functions from public header(prio.h) to the private
header pprio.h.


git-svn-id: svn://10.0.0.236/trunk@25817 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 05:10:59 +00:00
wtc%netscape.com
f55ee2aa0c Name the third argument for PR_Writev 'iov_size', as opposed
to 'size'.


git-svn-id: svn://10.0.0.236/trunk@25808 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 04:57:35 +00:00
wtc%netscape.com
ca94a9c903 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.


git-svn-id: svn://10.0.0.236/trunk@25807 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 04:30:37 +00:00
wtc%netscape.com
a0efa9ea24 Two new functions defined to enable polling native and NSPR FDs simultaneously.
git-svn-id: svn://10.0.0.236/trunk@25551 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 01:36:34 +00:00
wtc%netscape.com
5f470d2244 Define HAVE_LONG_LONG for NetBSD on alpha, powerpc, and m68k.
git-svn-id: svn://10.0.0.236/trunk@24928 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 00:22:09 +00:00
wtc%netscape.com
032604a8a8 FreeBSD/Alpha port, contributed by Brian Ostrom <briano@netscape.com>.
Modified files: FreeBSD.mk, gencfg.c, _freebsd.cfg, _freebsd.h,
pr/tests/Makefile.


git-svn-id: svn://10.0.0.236/trunk@24785 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 04:09:23 +00:00
wtc%netscape.com
a7b84ef29a 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.


git-svn-id: svn://10.0.0.236/trunk@24718 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 23:04:13 +00:00
wtc%netscape.com
a8b6b4e24a Update from the internal CVS repository /m/src. Includes: first
cut at 64-bit AIX port.


git-svn-id: svn://10.0.0.236/trunk@24482 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 22:47:21 +00:00
gordon%netscape.com
36fad31c19 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.
git-svn-id: svn://10.0.0.236/trunk@24086 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 00:15:39 +00:00
wtc%netscape.com
35f5c7deeb Another update from the internal CVS repository /m/src.
git-svn-id: svn://10.0.0.236/trunk@23284 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 05:12:06 +00:00
wtc%netscape.com
cda9f78e88 Another update of the latest stuff from the internal CVS repository /m/src.
git-svn-id: svn://10.0.0.236/trunk@22608 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 22:23:14 +00:00
wtc%netscape.com
48cd560372 Another update from the internal CVS repository /m/src to mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@22482 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 00:58:34 +00:00
wtc%netscape.com
1091f97f61 Landing of miscellaneous changes, including the new error code to
string function contributed by John Myers <jgmyers@netscape.com>.


git-svn-id: svn://10.0.0.236/trunk@22218 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 20:41:06 +00:00
wtc%netscape.com
69eda9d37b Changed NSPR ==> NSPS.
git-svn-id: svn://10.0.0.236/trunk@21973 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:58:12 +00:00
wtc%netscape.com
b97395c726 Bugsplat bug #343158: corrected a typo in the comment. Thanks to
John Bandhauer <jband@netscape.com> for the bug report and fix.


git-svn-id: svn://10.0.0.236/trunk@21243 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-19 00:45:35 +00:00
wtc%netscape.com
fcb29be1ad 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>.


git-svn-id: svn://10.0.0.236/trunk@21233 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:20:11 +00:00
larryh%netscape.com
e63575051f Set version
git-svn-id: svn://10.0.0.236/trunk@20583 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:39:17 +00:00
larryh%netscape.com
34ccb6c231 add reader-writer locks
git-svn-id: svn://10.0.0.236/trunk@20561 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:18:46 +00:00
wtc%netscape.com
decc73730c Added struct declarations to eliminate compiler warnings from
<arpa/inet.h> on AIX 4.3.  Thanks to Waqar Malik <waqar@netscpe.com>
for the bug report.


git-svn-id: svn://10.0.0.236/trunk@19925 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 17:25:17 +00:00
wtc%netscape.com
eb5213b27e Implemented file descriptor inheritance for NT.
Modified files: _winnt.h, prfile.c, prio.c, prsocket.c, ntio.c,
w32poll.c, and prinit.c.


git-svn-id: svn://10.0.0.236/trunk@19827 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 06:45:06 +00:00
wtc%netscape.com
ee128013bb In primpl.h, moved the definitions of macros _PR_MD_INIT_LOCKS and
_PR_MD_START_INTERRUPTS from the common section to the classic nspr
section.  These macros are not used in the pthreads version.
Modified files: primpl.h, _pth.h, and ptsynch.c.


git-svn-id: svn://10.0.0.236/trunk@19187 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 19:20:05 +00:00
srinivas%netscape.com
04c3551b99 Add support for creating bound threads. Bug 338607.
git-svn-id: svn://10.0.0.236/trunk@19131 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-01 00:41:51 +00:00
wtc%netscape.com
f2c3098f2c Dealt with the definitions of the obsolete integer types that
conflict with the typedefs in BeOS's <support/SupportDefs.h>.
(Acknowledgment: Matthew Zahorik <maz@albany.net>)


git-svn-id: svn://10.0.0.236/trunk@18585 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 05:23:03 +00:00
wtc%netscape.com
7761ce2d75 Merged first batch of BeOS port patches contributed by
Matthew Zahorik <maz@albany.net>.


git-svn-id: svn://10.0.0.236/trunk@18564 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:56:55 +00:00
wtc%netscape.com
18ddca2674 Added new BeOS files contributed by Matthew Zahorik <maz@albany.net>.
git-svn-id: svn://10.0.0.236/trunk@18529 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:41:16 +00:00
wtc%netscape.com
661e55b97f Merged the pthreads patches for BSD/OS 4.0 contributed by
Bert Driehuis <bert_driehuis@nl.compuware.com>.
Modified files: BSD_OS.mk, _pth.h, bsdi.c, ptio.c, and pr/tests/Makefile.


git-svn-id: svn://10.0.0.236/trunk@18037 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 23:38:54 +00:00
wtc%netscape.com
1ea155fbbe Removed the #ifndef NO_NSPR_10_SUPPORT around the _PR_MD_GET_SP
macro definition.  This macro is used internally by NSPR20.


git-svn-id: svn://10.0.0.236/trunk@16529 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 18:56:01 +00:00