Граф коммитов

1077 Коммитов

Автор SHA1 Сообщение Дата
wtc%netscape.com 90cb8dbf91 Bugzilla bug #84100: we need to write our own accept method to copy
the PRFilePrivate structure.
2001-06-05 04:31:20 +00:00
wtc%netscape.com cc0956733b Bugzilla bug #84035: we can't assume that 0 is an invalid value for the
pthread_t type and use 0 to indicate a lock has no owner.  Added a
'locked' boolean field explicitly to PRLock.  In PRMonitor, make the
owner field a PRThread* pointer, with a value of NULL indicating that
the monitor has no owner.  Thanks to Takis Psarogiannakopoulos for
reporting this bug and spending a year (off and on) tracking it down.
Modified files: _pth.h, primpl.h, and ptsynch.c.
2001-06-04 23:42:10 +00:00
larryh%netscape.com 97de1af860 Bugzilla 81666. new os2 locking 2001-06-04 22:20:48 +00:00
larryh%netscape.com 91994f317f Bugzilla: 79733. pruthr.c wrong MD calls 2001-06-04 21:52:20 +00:00
wtc%netscape.com d5b0bb58cd Bugzilla bug #83930: fixed a typo in PR_LockFile. 2001-06-04 04:29:34 +00:00
wtc%netscape.com 3785d97929 Bugzilla bug #83845: the IPv6-to-IPv4 getpeername method was invoking
the getsockname method of the IPv4 socket layer.  Thanks to Terry Hayes
<thayes@netscape.com> for the bug fix.
2001-06-03 04:18:40 +00:00
larryh%netscape.com f9530d4231 Gnu tar incompatible with Sun tar 2001-05-24 18:28:22 +00:00
larryh%netscape.com 71a0b19e19 Adding administrative/build files 2001-05-23 23:59:08 +00:00
wtc%netscape.com 12d8fd2a71 Bugzilla bug #77264: the IsValidNetAddrLen() check should accept both of
the possible sizes of struct sockaddr_in6 on Linux.
Modified files: prsocket.c, ptio.c.
2001-05-23 04:17:33 +00:00
wtc%netscape.com d000404490 Bugzilla bug #77109: fixed NSPR library memory leaks on Mac. Patch is
contributed by Patrick Beard <beard@netscape.com>. r=sfraser,wtc.
2001-05-22 23:34:54 +00:00
larryh%netscape.com 04b923a327 correct copyright date 2001-05-22 23:03:54 +00:00
larryh%netscape.com 49ec000584 add directory admin 2001-05-22 22:57:36 +00:00
wtc%netscape.com 73fbfd545b Bugzilla bug #51135: IPv6 support on OpenVMS. Thanks to Colin Blakes
<colin@theblakes.com> for the patch.
Modified files: configure configure.in OpenVMS.mk _openvms.h pripv6.c
2001-05-22 18:50:21 +00:00
wtc%netscape.com 640403e3e4 Bugzilla bug #28711: enabled gcc to assemble os_Irix.s on IRIX. Thanks to
John Vandenberg <zeroJ@null.net> for the research and the fix.
Modified files: configure.in configure
2001-05-22 13:28:34 +00:00
wtc%netscape.com b8e2e4c788 On Linux, use $(CC) to link the shared library. Define _REENTRANT in just
one place for Solaris.  Use the null command : instead of 'true'.
Modified files: configure.in, configure.
2001-05-21 22:55:09 +00:00
wtc%netscape.com 8e05fc6f8b Bugzilla bug #63019: NSS still uses NSPR static libraries, so we'll have
to continue to build NSPR static libraries until that NSS bug is fixed.
2001-05-21 22:45:31 +00:00
wtc%netscape.com f4e578051e Now that OBJDIR is the current directory (.), we no longer need to install
the test shared library in ../$(OBJDIR)/dll.
2001-05-17 22:48:45 +00:00
wtc%netscape.com 876c033b3a Don't use classic build system's OBJDIR_NAME and OBJDIR for Win32.
I am temporarily commenting out the code.  It needs to be clearned
up later.
Modified files: configure.in configure
2001-05-17 21:50:12 +00:00
wtc%netscape.com 274d022c97 Eliminated more differences between the autoconf build system and the
(obsolete) classic build system.
Modified Files:
	configure.in configure lib/prstreams/Makefile.in
	lib/tests/Makefile.in pr/src/cplus/Makefile.in
	pr/src/threads/combined/Makefile.in pr/tests/Makefile.in
2001-05-17 21:42:09 +00:00
wtc%netscape.com b6a8e48805 Removed all Makefile's. The new autoconf build system uses Makefile.in's. 2001-05-17 21:26:28 +00:00
wtc%netscape.com 00096755cf Removed MOZ_WIN32_TARGET, which is just a synonym of OS_TARGET.
Modified Files:
	configure configure.in config/autoconf.mk.in
	pr/src/md/windows/Makefile.in pr/src/md/windows/objs.mk
2001-05-17 02:27:02 +00:00
wtc%netscape.com b959068cb0 Added the --enable-debug-rtl option for setting USE_DEBUG_RTL.
Modified Files:
	configure.in configure
2001-05-17 02:02:06 +00:00
wtc%netscape.com ccf6d9f539 Verified that the autoconf build system is equivalent to the classic
build system on Win32.
Modified Files:
	configure configure.in
2001-05-17 01:46:09 +00:00
wtc%netscape.com 58625f3acb Verified that the autoconf build system is equivalent to the classic
build system on OSF1, IRIX, and FreeBSD.
	configure configure.in config/autoconf.mk.in config/config.mk
	lib/ds/Makefile.in lib/libc/src/Makefile.in pr/src/Makefile.in
2001-05-17 00:56:25 +00:00
larryh%netscape.com 11fce31b6f bugzilla: 80884. PR_Rmdir error 2001-05-16 00:04:34 +00:00
wtc%netscape.com 17680c472c Verified that the autoconf build system is equivalent to the classic
build system on AIX, HP-UX, Linux, and Solaris.  The 'release' makefile
target still doesn't quite work.
Modified Files:
	configure configure.in config/Makefile.in
	config/autoconf.mk.in config/config.mk config/nsinstall.c
	config/rules.mk lib/ds/Makefile.in lib/libc/src/Makefile.in
	pr/include/md/Makefile.in pr/src/misc/Makefile.in
2001-05-15 22:57:39 +00:00
wtc%netscape.com 0cb1f18b3d Restored the code that was accidentally deleted in rev. 3.3. 2001-05-14 22:24:12 +00:00
wtc%netscape.com b3f5e1814f Restored code that was accidentally deleted in rev. 3.3. 2001-05-14 22:21:55 +00:00
wtc%netscape.com 3908b40881 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-14 22:12:54 +00:00
wtc%netscape.com 5cf83526d8 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 06:46:01 +00:00
wtc%netscape.com 75ea362396 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 06:40:35 +00:00
wtc%netscape.com f32c53c48b Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 06:26:43 +00:00
wtc%netscape.com a3c435952d Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 06:15:54 +00:00
wtc%netscape.com 8137434163 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 06:01:46 +00:00
wtc%netscape.com 4a9139a3c8 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 05:31:44 +00:00
wtc%netscape.com 44941aece0 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 05:12:58 +00:00
wtc%netscape.com b90826da82 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 04:56:57 +00:00
wtc%netscape.com cb3e2fc976 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 04:47:05 +00:00
wtc%netscape.com 00ddc0d707 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 04:29:27 +00:00
wtc%netscape.com ad583fbe5b Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 02:05:12 +00:00
wtc%netscape.com b3f484691b Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 01:47:58 +00:00
wtc%netscape.com b67462ffa6 Set NSPR version to 4.2 Beta. 2001-05-12 01:46:58 +00:00
wtc%netscape.com 1e5c959951 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 01:31:18 +00:00
wtc%netscape.com 6a22bef151 Restored some deleted code. 2001-05-12 01:29:55 +00:00
wtc%netscape.com 7499a349b3 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 01:17:17 +00:00
wtc%netscape.com cb642bfbf4 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 01:02:30 +00:00
wtc%netscape.com b1696a7c97 Changed the license to MPL/GPL. 2001-05-12 01:00:41 +00:00
wtc%netscape.com 87da6fc235 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 00:55:48 +00:00
wtc%netscape.com da4bb17306 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. Note that the Win16 stuff
has been deleted.
2001-05-12 00:49:17 +00:00
wtc%netscape.com 7def6a81bd Restored some deleted comments. 2001-05-12 00:36:58 +00:00
wtc%netscape.com bef48de5a6 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 00:36:57 +00:00
wtc%netscape.com 6e52a73ecc Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 00:08:21 +00:00
wtc%netscape.com 48b5deb759 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-11 23:57:21 +00:00
wtc%netscape.com 9c72dbbd0c Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-11 23:49:42 +00:00
wtc%netscape.com 22925ad1c4 Bugzilla bug #76896: added PR_CALLBACK for OS/2. Thanks to Michael Kaply
<mkaply@us.ibm.com> for the patch.
Modified files: prcmon.h, prthread.h, prtime.h
2001-05-08 21:50:22 +00:00
sdagley%netscape.com 1b89d8d6cf #3616 - Enable long long in Mac version of NSPR (#defines the HAVE_LONG_LONG flag). sr=sfraser Checking in to NSPR tip to keep sync with version 3.3.2.2 on the NSPRPUB_CLIENT_BRANCH tag 2001-05-06 22:55:49 +00:00
wtc%netscape.com bcaa5cf548 Bugzilla bug #70765: added more comments and use the byte count returned
by WriteFile as opposed to the len argument, just in case WriteFile writes
fewer bytes than requested.
2001-05-05 04:59:38 +00:00
wtc%netscape.com 27e9a829da Bugzilla bug #70295: fixed a bug introduced by my previous fix.
Modified files: prfile.c, ptio.c
2001-05-04 23:06:42 +00:00
larryh%netscape.com 00e58a0457 bugzilla: 70765. win2k file offset on networked drive 2001-04-25 22:08:38 +00:00
cls%seawood.org 235ca23653 Compaq changed uname to use osf as a basename instead of osf1 2001-04-16 23:21:31 +00:00
sfraser%netscape.com ff576df0df These changes fix PR_Poll on Mac thusly: 1. Factor out checking the fds into a new function CheckPollDescs() 2. Factor out setting/clearing the polling thread on those fds into SetDescPollThread() 3. Be more careful about where we set the polling thread on the fds, ensuring that we turn off interrupts and hold a lock around the code that sets up the polling thread and checks for data on the fds. This fixes the race condition that causes this bug. 4. We now clear the polling thread on the fds when coming out of PR_Poll, so that the notifier doesn't attempt to wake the wrong thread when called when we're not polling. 5. Implement a 0-timeout version that behaves like select(). Bugzilla bugs 72965 and 60509. r=gordon, larryh. 2001-04-14 01:10:27 +00:00
sdagley%netscape.com 6f7f5f9d11 Fix #75928. Add prvrsion.c to Mac build so libVersionPoint() available (needed for for NSS 3.2.1 landing). r=javi@netscape.com,r/a=larryh@netscape.com Also sync'd Carbon targets in .mcp with version from NSPRPUB_CLIENT_BRANCH 2001-04-11 00:39:16 +00:00
cls%seawood.org 7e031eb081 Updating config.guess & config.sub with 2001-03-30 changes from the GNU master copy at :pserver:anoncvs@subversions.gnu.org:/cvs /config . 2001-04-05 04:41:13 +00:00
larryh%netscape.com 0ffcf38e58 bugzilla: 45343. re-implement PL_ArenaAllocate() 2001-04-03 23:23:02 +00:00
cls%seawood.org 8030422902 Add -lc to OS_LIBS for Linux.
Bug #72766
2001-03-25 04:44:02 +00:00
gordon%netscape.com 978b3710f5 Fix bug 73018 "SSL fails on Mac", check in for sfraser. r=pinkerton, sr=sfraser. 2001-03-23 22:41:07 +00:00
larryh%netscape.com 3248dfd91b bugzilla: 72261. fix linking problems 2001-03-21 19:36:31 +00:00
cls%seawood.org 448c273013 Fix for OS/2 emx build bustage.
Thanks to Dmitry Kubov <dmitry@north.cs.msu.su> for the patch.
Bug #72471 r=cls
2001-03-21 15:56:31 +00:00
gordon%netscape.com 0e33978665 Fix bug 72038 "FTP listings never stop loading on Mac", by sfraser and gordon. r= dougt, sr=scc. 2001-03-16 22:00:13 +00:00
gordon%netscape.com 90b20dc1a3 Fix bug 29338 "PR_Poll should not poll (spin) on Mac". Checking in for sfraser. r=dougt, sdagley, gordon, sr=sfraser, or vice versa. 2001-03-13 07:02:53 +00:00
cls%seawood.org 0172f6aa18 Irix requires the -f option when stripping non-executables. 2001-03-11 11:27:29 +00:00
cls%seawood.org 6f8a5d43c1 Use CC instead of LD to link.
Thanks to martin@NetBSD.ORG (Martin Husemann) for the patch.
Bug #61745 r=cls
2001-03-09 07:41:26 +00:00
cls%seawood.org 7716ca3226 Add individual boehm include path for our module dep tracking builds.
Thanks to L. David Baron <dbaron@fas.harvard.edu> for the patch.
Bug #59454 r=cls
2001-03-09 06:03:24 +00:00
cls%seawood.org 6ff6ea0cfd Actually use CPPFLAGS when passed to configure. 2001-03-09 04:51:09 +00:00
cls%seawood.org 143bbdb763 Set MD specific files for openbsd. 2001-03-07 04:20:28 +00:00
wtc%netscape.com 7e6b3bd5b2 Bugzilla bug #62877: deleted unused code added in the previous checkin. 2001-03-02 04:58:06 +00:00
wtc%netscape.com f17c114167 Bugzilla bug #62877: checked in patches contributed by Javier Pedemonte
<pedemont@us.ibm.com> and Dmitry Kubov <dmitry@north.cs.msu.su>.
Modified files: prinet.h, _os2.h, os2poll.c, and os2sock.c.
2001-03-02 02:40:52 +00:00
wtc%netscape.com 2cb29553f8 Bugzilla bug #70381: zero the ipv6.ip field after we fail to parse a
string as an IPv6 address.  Thanks to Chris Elving for the bug report.
2001-02-28 01:02:45 +00:00
wtc%netscape.com a647b1c101 Bugzilla bug #70295: do not hold _pr_flock_lock while calling the MD
lockfile function to avoid a deadlock.  The lockCount field of
PRFilePrivate may have the value of -1 to indicate that the MD lockfile
function is in progress.  Use _pr_flock_cv to wait for the completion
of the MD lockfile function.
Modified files: primpl.h, prfile.c, prio.c, ptio.c
2001-02-27 06:51:44 +00:00
cls%seawood.org 70a68f932e Fix nspr autoconf for OpenVMS.
Thanks to Colin Blake <colin@theblakes.com> for the patch.
Bug #69842 r=cls
2001-02-25 21:50:47 +00:00
wtc%netscape.com 21f455e99f Bugzilla bug #70116: make NSPR build on Win 98 with autoconf. Thanks to
David Avery <daa@distributed.net> for the bug report.
Modified files: configure, configure.in
2001-02-25 07:36:26 +00:00
wtc%netscape.com 2186cff612 Bugzilla bug #70058: define XP_UNIX on FreeBSD. Thanks to
Eric Hodel <drbrain-bugzilla@segment7.net> for the bug report.
Modified files: configure, configure.in
2001-02-24 22:00:46 +00:00
cls%seawood.org 42d4d89f4c Work for 9x users too 2001-02-24 08:18:12 +00:00
cls%seawood.org 1f2ef9daa4 Fix for OS/2 nspr autoconf bustage.
Thanks to Mike Kaply <mkaply@us.ibm.com> for the patch
Bug #70015 r=cls
2001-02-24 05:43:14 +00:00
cls%seawood.org b8fad76766 Initial OS/2 nspr autoconf support. Bug #58804
Thanks to "Javier H Pedemonte" <pedemont@us.ibm.com> for the patch.
2001-02-24 05:39:43 +00:00
cls%seawood.org 79e7bb18c4 OS/2 platform dependent objs file. Thanks to Javier H. Pedemonte <pedemont@us.ibm.com> for the file. Bug #58804 2001-02-24 05:32:47 +00:00
cls%seawood.org 737ae63adf More generated files to ignore 2001-02-24 05:31:07 +00:00
wtc%netscape.com d7b6d9ee3d Bugzilla bug #69496: set the minimum thread stack size on OpenVMS.
r=colin@theblakes.com.
Modified files: _openvms.h, ptthread.c
2001-02-22 23:38:32 +00:00
wtc%netscape.com 41ebfd961c Bugzilla bug #1816: allow building on Windows 98 with MKS or Cygwin tools. 2001-02-21 17:13:05 +00:00
cls%seawood.org a3b2b44ba1 Allow spaces in --enable-optimize args. Bug #68246 r=leaf a=brendan 2001-02-09 21:30:09 +00:00
gordon%netscape.com eeeb8dfe09 fix for bug 66508. r=pinkerton, sr=sfraser. Landing fix from 6.0 branch to detect orderlyDisconnects. 2001-02-07 01:03:35 +00:00
cls%seawood.org dc35720a61 Automatically run config.status if configure changes. 2001-02-06 02:33:34 +00:00
cls%seawood.org 12ee1785dc Add -d to STRIP for bsdi 4.x 2001-02-04 04:59:26 +00:00
cls%seawood.org a9db8787f2 bsdi 4.2 needs _PR_HAVE_GETPROTO_R & _PR_HAVE_GETPROTO_R_POINTER 2001-02-02 00:58:11 +00:00
cls%seawood.org aa5a3e82db Landing autoconf support for all platforms except OS/2. 2001-01-29 05:36:31 +00:00
cls%seawood.org d96d0bbfc2 Remove INSTALL. Add CPU_ARCH. 2001-01-29 05:34:20 +00:00
cls%seawood.org 5acc9729dd Create MOZ_CHECK_PTHREADS() macro that compiles a small test case using <pthread.h> so that systems like hpux & osf/1 will properly detect pthreads. 2001-01-27 22:57:59 +00:00
cls%seawood.org ef94d9c12b Landing the following HPUX changes from the client branch:
1.18.19 - 1.18.2.22

Bring hpux section inline with HPUX.mk

Do not add +DA & +DS flags to CFLAGS until we figure out exactly how user define
d CFLAGS are supposed to interact with those.

Bug 58804
2001-01-27 22:55:12 +00:00
wtc%netscape.com a081b936a2 Bugzilla bug #54796: PR_InitializeNetAddr and PR_SetNetAddr should zero
the socket address if the 'val' argument is not PR_IpAddrNull.
Reviewed by John Myers.
2001-01-27 15:22:02 +00:00
cls%seawood.org a72d6e9220 Skip AC_PATH_PROG* checks for win32. r=bryner 2001-01-24 04:08:09 +00:00