Commit Graph
96 Commits
Author SHA1 Message Date
srinivas@netscape.com 0bb677a945 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 10f9cf65db PTHREAD_CREATE_JOINABLE/UNDETACHED was accidentally changed to
_PT_PTHREAD_CREATE_JOINABLE/UNDETACHED.
1999-07-20 05:02:12 +00:00
wtc@netscape.com a952a53fee 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 cbe4016aa7 Files created in 1999 should have a 1999 copyright notice. 1999-07-19 21:37:59 +00:00
srinivas@netscape.com 79487880d0 NSPR no longer defines symbols with the PTHREAD prefix. Bugzilla #9907. 1999-07-15 13:06:28 +00:00
srinivas@netscape.com 18dbaad099 OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>. 1999-07-15 12:37:21 +00:00
wtc@netscape.com 2e40ba64af Deleted an extra space. 1999-06-28 23:18:15 +00:00
wtc@netscape.com ba78349cb1 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 6d127c289e Checkin for briano@netscape.com. Bugzilla #8600. 1999-06-23 19:43:41 +00:00
wtc@netscape.com 55ef43b4d0 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 9dfe0ea58c 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
srinivas@netscape.com d4ef92e26b OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>. 1999-05-19 00:53:52 +00:00
srinivas@netscape.com 7cc05ad7b7 Port to OpenVMS.
Checkin for "Colin R. Blake" <colin@theblakes.com>.
1999-05-12 00:47:36 +00:00
srinivas@netscape.com ba3b7a9049 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 d5cea3bfc1 updating to license version 1.1 in boilerplate comments 1999-04-21 21:40:44 +00:00
wtc@netscape.com dd177da83b 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 1d5fc45bed Declare _PR_Unblock_IO_Wait. 1999-04-16 00:17:46 +00:00
larryh@netscape.com 296c3b30ed Fix warning message on _MD_EXIT 1999-04-14 22:39:33 +00:00
wtc@netscape.com 8492939cf2 Define HAVE_LONG_LONG for NetBSD on alpha, powerpc, and m68k. 1999-03-24 00:22:09 +00:00
wtc@netscape.com 4a2f145576 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 334bb8f768 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 3eddd820c4 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 4e6adb617a 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 77b8b66f62 Another update from the internal CVS repository /m/src. 1999-03-09 05:12:06 +00:00
wtc@netscape.com 22984191bd 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
wtc@netscape.com e861095cff 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 cd4ae599f0 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
wtc@netscape.com ad7f1a804f 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 03b5fc25c7 Added new BeOS files contributed by Matthew Zahorik <maz@albany.net>. 1999-01-25 23:41:16 +00:00
wtc@netscape.com 522caf5e32 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 fbd9b76b61 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 c068fbf5d5 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 ad5f21b2c3 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 139b625ca7 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 355041ece9 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 fc80fb5945 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 ca242c9089 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 0b812e58ef 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 b67e144a59 NEXT port. Contributed by Balazs Pataki (balazs.pataki@sztaki.hu). 1998-11-18 23:53:21 +00:00
srinivas@netscape.com 30e6ce06d5 Implement poll for those platforms that don't support the system call. 1998-11-18 22:56:06 +00:00
srinivas@netscape.com b0268325f3 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 2efaf468d3 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 1d7f983119 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 2c1aa0e8e2 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 be652dd0d5 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 864da2ec8a Fixed HP-UX classic NSPR build breakage. 1998-10-06 02:31:53 +00:00
wtc@netscape.com 1a4e8372cd Removed all the autoconf *.in files in mozilla/nsprpub. 1998-10-05 19:19:56 +00:00
wtc@netscape.com 6b9970550b 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
wtc@netscape.com 0dc94c1fcd Fixed Linux pthreads build breakage. Define _PR_POLL_AVAILABLE on
glibc systems.
1998-09-29 14:28:25 +00:00
wtc@netscape.com 81860c17e7 Fixed DG/UX build problems in NSPR20 v3.0 beta. The patch is
contributed by Marc J. Fraioli (fraioli@dg-rtp.dg.com).
1998-09-28 20:13:23 +00:00