Commit Graph

206 Commits

Author SHA1 Message Date
srinivas%netscape.com
1a74d3549b Add PR_SendFile to the PRIOMethods tables to enable use in layered FDs.
Bugzilla #17012.


git-svn-id: svn://10.0.0.236/trunk@51545 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 20:49:19 +00:00
wtc%netscape.com
89df62c930 Bugsplat bug #366500: use the default, PRLock-based atomic stack
implementation on OSF1. r=larryh,srinivas@netscape.com.
Modified files: _osf1.h, osf1.c.


git-svn-id: svn://10.0.0.236/trunk@51476 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-22 01:10:00 +00:00
wtc%netscape.com
096120daf6 Fixed a small mistake in the previous checkin.
git-svn-id: svn://10.0.0.236/trunk@51448 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 22:51:06 +00:00
wtc%netscape.com
358dfee800 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


git-svn-id: svn://10.0.0.236/trunk@51444 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 22:36:35 +00:00
srinivas%netscape.com
263860675d Update with post-3.5 fixes on the tip
git-svn-id: svn://10.0.0.236/trunk@51087 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-19 00:40:39 +00:00
cls%seawood.org
5e7ffdc098 Bug 11893. r=shaver
Sync the autoconf Makefile.ins.


git-svn-id: svn://10.0.0.236/trunk@50950 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-17 15:12:41 +00:00
wtc%netscape.com
ef278f909e 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


git-svn-id: svn://10.0.0.236/trunk@50752 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 00:51:41 +00:00
wtc%netscape.com
0317a9ec8d Bugsplat bug #365543: removed the PRIntn typecast in the definition of
PR_TRUE and PR_FALSE.


git-svn-id: svn://10.0.0.236/trunk@50712 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:25:01 +00:00
srinivas%netscape.com
3b846f9edf Add autoconf for NSPR. Check in for cls@seawood.org. Buzill 11893
git-svn-id: svn://10.0.0.236/trunk@50684 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 15:09:11 +00:00
srinivas%netscape.com
33f38025b2 Enable specification of minimum stack size.
git-svn-id: svn://10.0.0.236/trunk@50649 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 02:33:14 +00:00
larryh%netscape.com
c2335df585 NSPR 3.5 landing
git-svn-id: svn://10.0.0.236/trunk@50602 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 18:32:42 +00:00
srinivas%netscape.com
a633fa30b6 Backout previous change.
git-svn-id: svn://10.0.0.236/trunk@49994 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 19:30:01 +00:00
srinivas%netscape.com
bf992aac1f Add the SO_BROADCAST option. Bug #365862.
git-svn-id: svn://10.0.0.236/trunk@49981 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 18:31:22 +00:00
sdagley%netscape.com
9fc68e8c6c Add documentation comments for Mac library loading. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@49937 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 02:37:14 +00:00
sdagley%netscape.com
b9147e6fd2 Added prlink_mac.h, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@49915 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 01:04:06 +00:00
sdagley%netscape.com
190716d4ac First Checked In.
git-svn-id: svn://10.0.0.236/trunk@49912 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 01:00:58 +00:00
wtc%netscape.com
2b566763b1 Bugzilla bug #14603: simple fix for OpenVMS contributed by Colin Blake
<colin@theblakes.com>.


git-svn-id: svn://10.0.0.236/trunk@48954 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-24 01:55:12 +00:00
srinivas%netscape.com
98a3789180 Use an absolute, instead of relative, filespec for OpenVMS. Checkin for
Colin Blake <colin@theblakes.com>.


git-svn-id: svn://10.0.0.236/trunk@48467 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 01:18:14 +00:00
wtc%netscape.com
63eefd6d77 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.


git-svn-id: svn://10.0.0.236/trunk@48424 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 23:59:09 +00:00
brendan%mozilla.org
e35b95c2e6 - 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.


git-svn-id: svn://10.0.0.236/trunk@48057 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 23:16:12 +00:00
srinivas%netscape.com
bee2f880f2 Define __STRICT_ANSI__ for Linux to eliminate spurious warnings. Checkin
for Chris Seawood <cls@seawood.org>.


git-svn-id: svn://10.0.0.236/trunk@47367 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 19:39:46 +00:00
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