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
larryh%netscape.com
51f4225370
add reader-writer locks
1999-02-12 17:18:46 +00:00
wtc%netscape.com
ff56da642f
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.
1999-02-06 17:25:17 +00:00
wtc%netscape.com
4932b6b8fc
Implemented file descriptor inheritance for NT.
...
Modified files: _winnt.h, prfile.c, prio.c, prsocket.c, ntio.c,
w32poll.c, and prinit.c.
1999-02-05 06:45:06 +00:00
wtc%netscape.com
31cafba5e9
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.
1999-02-01 19:20:05 +00:00
srinivas%netscape.com
51a291f63e
Add support for creating bound threads. Bug 338607.
1999-02-01 00:41:51 +00:00
wtc%netscape.com
6a33ad3d67
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>)
1999-01-26 05:23:03 +00:00
wtc%netscape.com
a82867f527
Merged first batch of BeOS port patches contributed by
...
Matthew Zahorik <maz@albany.net>.
1999-01-26 01:56:55 +00:00
wtc%netscape.com
66386b80af
Added new BeOS files contributed by Matthew Zahorik <maz@albany.net>.
1999-01-25 23:41:16 +00:00
wtc%netscape.com
37cbd0cad7
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.
1999-01-19 23:38:54 +00:00
wtc%netscape.com
0e0e8639ba
Removed the #ifndef NO_NSPR_10_SUPPORT around the _PR_MD_GET_SP
...
macro definition. This macro is used internally by NSPR20.
1998-12-16 18:56:01 +00:00
wtc%netscape.com
8c27ea6d1d
Include protypes.h only if NO_NSPR_10_SUPPORT is not defined.
...
Also, always define the data types PRWord and PRUword but
warn people not to use these two undocumented types in new code.
1998-12-16 05:46:32 +00:00
wtc%netscape.com
ae216ddfce
Made the second argument for PR_Writev a const pointer
...
(const PRIOVec *iov).
Modified files: prio.h, _unixos.h, primpl.h, rcfileio.cpp, rcfileio.h,
rcio.h, rcnetio.cpp, rcnetio.h, priometh.c, prlayer.c, prsocket.c,
macsockotpt.c, os2sock.c, solaris.c, unix.c, ntio.c, w16sock.c,
w95sock.c, ptio.c.
1998-12-10 17:09:48 +00:00
wtc%netscape.com
c9f4f25104
This checkin consists on three things:
...
1. File descriptor inheritance
2. Set thread->md.handle on Win32 for attached native threads.
3. Miscellaneous code cleanup.
1998-12-09 16:37:26 +00:00
wtc%netscape.com
e364db36f4
In the struct-emulated version of LL_I2L, added a PRInt32 cast
...
to make sure we are right shifting a signed integer (in case
someone passes in an unsigned).
1998-12-02 01:37:59 +00:00
wtc%netscape.com
7750be02f1
Undefine _PR_HAVE_SOCKADDR_LEN because struct sockaddr doesn't have
...
the sa_len field on NEXTSTEP/OPENSTEP. Thanks to Balazs Pataki for
<pataki@ovid.aszi.sztaki.hu> for confirming this.
1998-12-01 21:53:37 +00:00
wtc%netscape.com
3fd76e05dd
Undefine _PR_POLL_AVAILABLE for pthreads. libc_r doesn't have
...
poll(). The poll() in libc is not thread-safe, so we can't use
it with pthreads. This patch is contributed by Jeremy Lea
<reg@shale.csir.co.za>.
1998-12-01 07:25:28 +00:00
wtc%netscape.com
e277a7e8ff
Removed -D_PR_NEED_FAKE_POLL from FreeBSD.mk and NEXTSTEP.mk. This
...
macro is defined internally.
In _freebsd.h, include poll.h if poll is available.
Thanks to Jeremy Lea <reg@shale.csir.co.za> for suggesting the patches.
1998-11-25 21:01:14 +00:00
wtc%netscape.com
cf9c0b6af5
Fixed a bug in Mac's PR_IntervalNow() and PR_TicksPerSecond(). A
...
tick is one millisecond on the Mac.
Files changed: _macos.h, mactime.c.
Also removed a temporary comment-out in prinrval.c.
1998-11-24 01:31:07 +00:00
wtc%netscape.com
fee8cf3706
A jumbo checkin, consisting of:
...
1. Ports to older revisions of some Unix variants, e.g., BSD/OS 1.1,
OSF1 V2.0, etc., contributed by Brian Ostrom <briano@netscape.com>.
2. QNX port, also contributed by Brian Ostrom.
3. New macro USE_MACH_DYLD to represent the dynamic library loading
API of NEXTSTEP and Rhapsody.
4. On platforms whose socket address has the sa_len field, make a
copy of the PRNetAddr argument for PR_Bind, PR_Connect, and PR_SendTo
and set its sa_len before passing it to the system calls. This
fix is suggested by Bert Driehuis <driehuis@playbeing.org>.
5. Removed the unused field _lockf64 of struct _MD_IOVector. Not
every Unix platform has lockf, and the POSIX file locking API
uses fcntl.
1998-11-23 06:33:00 +00:00
srinivas%netscape.com
3df666ca4a
Enable OS/2 builds with IBM's compiler (Visualage) and gcc port of OS/2 (emx).
...
Checkin for Eric Olson <Eric.Olson@Sympatico.CA> and Henry <sobotka@axess.com>.
1998-11-19 22:20:31 +00:00
wtc%netscape.com
a4ede5cb1c
NEXT port. Contributed by Balazs Pataki (balazs.pataki@sztaki.hu).
1998-11-18 23:53:21 +00:00
srinivas%netscape.com
b13a5ba639
Implement poll for those platforms that don't support the system call.
1998-11-18 22:56:06 +00:00
srinivas%netscape.com
45ab6a8901
Enable ELF builds and use of poll system call for FreeBSD 3.0.0-RELEASE;
...
checkin for Jeremy Lea <reg@shale.csir.co.za>.
1998-11-18 22:54:11 +00:00
wtc%netscape.com
a67c4ac5df
Added Alec Flett's comments on the version of glibc2/sparc whose
...
setjmp/longjmp works.
1998-11-16 23:39:10 +00:00
wtc%netscape.com
f3e3e01be1
Merged the NetBSD patch contributed by Frank van der Linden
...
(frank@wins.uva.nl ).
ftp://ftp.netbsd.org/pub/NetBSD/misc/fvdl/mozilla/diff-19981008.001
1998-11-13 02:12:38 +00:00
wtc%netscape.com
e7d66e5edd
Linux/m68k porting change (define _MD_SP_TYPE), contributed by
...
Jes Sorensen <Jes.Sorensen@cern.ch>.
1998-10-29 21:04:47 +00:00
wtc%netscape.com
4bfb5610d0
Ports to many Unix variants. Added the OMIT_LIB_BUILD_TIME workaround
...
for platforms that don't have 'long long'. In pr/src/Makefile and
lib/libc/src/Makefile, use single quotes so that we can avoid
using backslashes in double quotes (that doesn't work under
MKS shell).
1998-10-08 21:31:09 +00:00
wtc%netscape.com
a20ecdf247
Fixed HP-UX classic NSPR build breakage.
1998-10-06 02:31:53 +00:00
wtc%netscape.com
4a45eb1ad1
Removed all the autoconf *.in files in mozilla/nsprpub.
1998-10-05 19:19:56 +00:00
wtc%netscape.com
6462b9a6d7
More mozilla/nsprpub updates, including:
...
- Patch for MkLinux and glibc 2.1. Removed the MKLINUX macro.
This patch is contributed by Tom Rini <trini@kernel.crashing.org>.
- Patch to make the emulated threads work on ARM/Linux. Contributed
by raff@netwinder.org .
1998-10-05 18:58:25 +00:00