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

816 Коммитов

Автор SHA1 Сообщение Дата
wtc%netscape.com fef4332da5 Made the build_prerr rule work. 2001-06-14 23:02:04 +00:00
wtc%netscape.com bf28b0bb77 Search in the Mozilla and boehm include directories only if
GC_LEAK_DETECTOR is defined.
2001-06-14 22:18:58 +00:00
wtc%netscape.com b0fe772ba3 Use gcc's -Wl flag to pass a linker flag to the linker. 2001-06-14 05:31:14 +00:00
wtc%netscape.com 0658db4243 Put all IRIX cc compiler options inside the ifndef NS_USE_GCC block.
Modified files: config/Makefile.in pr/tests/Makefile.in
2001-06-14 02:23:42 +00:00
sfraser%netscape.com 8f7cf3781e Fix for bug 85514 -- use OTEnter/LeaveNotifer calls to fix synchronization problem caused by the OT notifier firing while we are inside OTSnd or OTRcv. r=gordon, wtc. a=blizzard 2001-06-14 01:35:05 +00:00
wtc%netscape.com 28aff9f305 Bugzilla bug #40941: Checked in Linux/ia64 patch from Bill Nottingham
<notting@redhat.com>.  It is for NSPR local threads, which we no longer
use now that we have pthreads.  I don't know if it works, but I check it
in anyway so that it is not lost.
2001-06-09 19:52:18 +00:00
gordon%netscape.com bc75f6605c Fix for bug 69285 "Mozilla is unresponsive after sleep", patch=sfraser, gordon, r=wtc. 2001-06-08 23:19:29 +00:00
wtc%netscape.com 2ba46bb1e8 Bugzilla bug #77264: the workaround for the new struct sockaddr_in6 in
glibc 2.2 is only needed when we compile with glibc 2.1.
Modified files: prsocket.c, ptio.c
2001-06-08 19:54:56 +00:00
wtc%netscape.com 2d14054ab4 Do not use IRIX native compiler options such as -n32 when NS_USE_GCC is
defined.
Modified files: config/Makefile.in, pr/tests/Makefile.in
2001-06-07 01:11:59 +00:00
wtc%netscape.com 8231092572 Bugzilla bug #82436: assert that lock is not NULL in PR_Lock and PR_Unlock
to avoid crashing in an assertion statement like
PR_ASSERT(lock->owner != me) if lock is NULL.
2001-06-05 23:55:55 +00:00
wtc%netscape.com 1b1eda1a54 Bugzilla bug #30746: in combined MxN thread model, let the primordial
thread remain a native thread.  Create a separate CPU thread to run
the local threads.
Modified files: prucpu.c, pruthr.c
2001-06-05 04:51:46 +00:00
wtc%netscape.com ff6de2908b 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 2981094363 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 ae3357fc61 Bugzilla 81666. new os2 locking 2001-06-04 22:20:48 +00:00
larryh%netscape.com 496b77bc42 Bugzilla: 79733. pruthr.c wrong MD calls 2001-06-04 21:52:20 +00:00
wtc%netscape.com 59763b1263 Bugzilla bug #83930: fixed a typo in PR_LockFile. 2001-06-04 04:29:34 +00:00
wtc%netscape.com 7fd452d554 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
wtc%netscape.com 0bdd2b9c34 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 944d9e45f1 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
wtc%netscape.com fd24e9c57a 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 09df4f41f8 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 a090a0feb0 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 b23c9e4fbc Removed all Makefile's. The new autoconf build system uses Makefile.in's. 2001-05-17 21:26:28 +00:00
wtc%netscape.com 0bb0a60b6b 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 ea0db16e17 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 40ac2b4d59 bugzilla: 80884. PR_Rmdir error 2001-05-16 00:04:34 +00:00
wtc%netscape.com 0fe64510da 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 cbad37defc Restored the code that was accidentally deleted in rev. 3.3. 2001-05-14 22:24:12 +00:00
wtc%netscape.com 930fcb7458 Restored code that was accidentally deleted in rev. 3.3. 2001-05-14 22:21:55 +00:00
wtc%netscape.com 7cd0eb27c4 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-14 22:12:54 +00:00
wtc%netscape.com 96f0b20035 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 06:15:54 +00:00
wtc%netscape.com dcc447e306 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 06:01:46 +00:00
wtc%netscape.com 194750c325 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 05:12:58 +00:00
wtc%netscape.com 57f672ad30 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 04:56:57 +00:00
wtc%netscape.com 69cd646c07 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 04:47:05 +00:00
wtc%netscape.com bc9b0a44d0 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 04:29:27 +00:00
wtc%netscape.com 76f042deed Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 02:05:12 +00:00
wtc%netscape.com 99ac89ecbe Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 01:47:58 +00:00
wtc%netscape.com 4ed56efa9f Set NSPR version to 4.2 Beta. 2001-05-12 01:46:58 +00:00
wtc%netscape.com 3d92383fc4 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 e2d8834f79 #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 a4379ace52 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 a94f58682b 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 50ff627951 bugzilla: 70765. win2k file offset on networked drive 2001-04-25 22:08:38 +00:00
sfraser%netscape.com 9fb4573f5f 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 9b4563496c 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
gordon%netscape.com 0d92d618a2 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 21c88dca44 bugzilla: 72261. fix linking problems 2001-03-21 19:36:31 +00:00
gordon%netscape.com 0813edcbf8 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 28a5bd7c67 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 8e59f367a9 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
wtc%netscape.com 7b1f6f2a47 Bugzilla bug #62877: deleted unused code added in the previous checkin. 2001-03-02 04:58:06 +00:00
wtc%netscape.com 0bf557a01e 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 17b1689138 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 bb4992fe3a 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 87285e154e 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
cls%seawood.org f43d23e505 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 c4ab0f1c35 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 dc4e04a01f More generated files to ignore 2001-02-24 05:31:07 +00:00
wtc%netscape.com ada867b1d0 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
gordon%netscape.com c4fef993d3 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
wtc%netscape.com e16ea26d40 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
wtc%netscape.com cfa5c2e7ae Bugzilla bug #66325: use the DYNAMIC_PATH flag for shl_load() only if the
specified path name is a plain file name (containing no directory), to
match the behavior of dlopen().
2001-01-23 20:46:25 +00:00
cls%seawood.org d74d44c2f2 There is no need to invoke recursive makes for the dummy libs & install phases of nspr. Especially when it means having a dummy target in every makefile that has a dependency upon export. Instead, put the dummy target in rules.mk. 2001-01-22 06:36:06 +00:00
cls%seawood.org 42c24e8ad2 Switch from using $(DIST)/bin, $(DIST)/lib, etc to using $(bindir), $(includedir). This gives us the advantage of being able to set different directories for libs & headers as needed. r=bryner 2001-01-21 06:37:45 +00:00
cls%seawood.org 61b4dfc543 Landing changes to use autoconf on win32. Bug #58804 2001-01-19 09:44:03 +00:00
cls%seawood.org 795c9a5ae2 Add OS_LIBS to EXTRA_LIBS as necessary 2001-01-17 19:15:05 +00:00
wtc%netscape.com c0938c88b6 Bugzilla bug #64278: call sched_get_priority_min/max to get the minimum
and maximum priorities of the default scheduling policy.  Thanks to
Matt Beauregard <marauder@marauder.tm> for reporting this bug.
2001-01-17 02:42:13 +00:00
wtc%netscape.com b8d8f37064 Bugzilla bug #64471: need to use the value of the 'xferred' argument when
sendfilev fails with EAGAIN/EWOULDBLOCK.
2001-01-11 05:17:52 +00:00
wtc%netscape.com 419e5ee720 Bugzilla bug #64666: using a minus (-) in a scan set is not portable.
Thanks to Michael Kaply <mkaply@us.ibm.com> for the bug report and patch.
2001-01-09 01:31:56 +00:00
wtc%netscape.com a32a22f21d Added const to clean up compiler warnings. 2001-01-06 05:26:24 +00:00
wtc%netscape.com 2064832299 Bugzilla bug #64471: PR_SendFile detects and uses the new Solaris
sendfilev system call.
Modified files: unix_errors.c, ptio.c.
2001-01-06 04:26:17 +00:00
cls%seawood.org 046ede8289 Preparations for building on win32 with autoconf Makefile.ins. 2000-12-30 05:44:01 +00:00
cls%seawood.org d883c8e0d1 Sync'ing long lost changes between Makefile & Makefile.in 2000-12-30 00:47:58 +00:00
wtc%netscape.com ff5a946c1f Bugzilla bug #63697: NetBSD 1.5 or newer has IPv6. Thanks to
martin@NetBSD.ORG (Martin Husemann) for the patch.
2000-12-28 17:04:04 +00:00
wtc%netscape.com 65017d0273 Bugzilla bug #62457: set the flock structure correctly and use fcntl
file locking on AIX 4.3, HP-UX 11.00, IRIX, Linux, OSF1 V4.0, and Solaris.
Modified Files: AIX.mk, HP-UX.mk, IRIX.mk, Linux.mk, OSF1.mk, SunOS5.mk,
and unix.c.
2000-12-22 06:02:52 +00:00
wtc%netscape.com 2ce91a65a0 Bugzilla bug #63273: define PR_Assert the same way in debug and optimized
builds.
2000-12-19 20:02:03 +00:00
wtc%netscape.com f553501b52 Bugzilla bug #63273: define PR_Assert in optimized builds too. 2000-12-19 05:56:58 +00:00
wtc%netscape.com cbabad4f85 Bugzilla bug #51743: removed the unnecessary pthread_mutex_trylock call
from PR_EnterMonitor.  Thanks to Vinay Badami <badami@netscape.com> for
the fix.
2000-12-19 03:04:55 +00:00
wtc%netscape.com 640eb073d7 Bugzilla bug #61746: make NSPR local threads work on more NetBSD platforms.
Thanks to Charles Hannum <mycroft@netbsd.org> for the patch. r=wtc.
2000-12-10 15:20:03 +00:00
wtc%netscape.com e21f7d798d Bugzilla bug #51406: PR_GetConnectStatus should not invoke the new
'connectcontinue' method, which is not present in the PRIOMethods
table of NSPR 4.0.
Modified Files: prsocket.c ptio.c
2000-12-10 02:33:59 +00:00
larryh%netscape.com eadfd2de21 Bugzilla: 61747. netbsd 2000-12-01 21:29:17 +00:00
larryh%netscape.com 6190f7fc27 Bugzilla: 58575 2000-11-28 00:34:48 +00:00
larryh%netscape.com aa2f132421 Bugzilla: 53014 2000-11-06 23:33:07 +00:00
larryh%netscape.com 91891bb92e Bugzilla: 51655. 2000-11-06 23:27:49 +00:00
larryh%netscape.com f44dcf512a Bugzilla: 49161. OpenVMS 2000-11-02 21:15:40 +00:00
cls%seawood.org 1289d39511 Sync pr/src/Makefile* INCLUDES with subdirs so that parallel builds work again. Bug #31365 2000-10-18 05:01:29 +00:00
gordon%netscape.com e171dab5b8 Fix for Bug 56170 "After mac goes to sleep, getting IMAP mail locks up machine". Changed case kOTOutStateErr, so that it returns an error. This enables us to detect when a connection is closed out from under us. 2000-10-13 21:49:44 +00:00
larryh%netscape.com aa7820577f Bugzilla: 46651. buffsize -> bufsize 2000-10-11 22:51:04 +00:00
gordon%netscape.com 7e3061d98b Fix for bug 49990 "Networking fails after sleep/wake cycle" on Mac. rtm+, r=pinkerton, sr =sfraser. Added support for provide will/has closed OT events. 2000-10-10 21:25:27 +00:00
larryh%netscape.com 5d72ae5f16 Bugzilla: 55271. Attach thread on BeOS 2000-10-10 20:07:20 +00:00
wtc%netscape.com 90fc91dd4e Bugzilla bug #53902: a better way to fix the va_list compilation problem
in an older version of NetBSD/macppc.  Thanks to Martin Husemann
<martin@NetBSD.ORG> for the patch.
Modified files: _netbsd.h, prprf.c
2000-10-10 04:38:55 +00:00
wtc%netscape.com 223d8ac572 Bugzilla bug #55740: fixed a typo. Thanks to Martin Husemann
<martin@NetBSD.ORG> for the patch.
2000-10-10 04:28:11 +00:00
larryh%netscape.com 14aa0d05f5 Bugzilla: 55268. BeOS 2000-10-05 23:15:45 +00:00
wtc%netscape.com 1f6f52a75a Bugzilla bug #30746: the primordial thread should wait for the timer
manager thread to start only if the timer manager thread is a local
thread, otherwise in native-threads-only mode, if NSPR is initialized
by a DLL, the primordial thread may be hung in PR_WaitCondVar because
the (native) timer manager thread does not get to run until the DLL is
initialized.
2000-09-01 18:26:28 +00:00
wtc%netscape.com 8827e7b4a4 Set version number to 4.1. 2000-09-01 16:07:38 +00:00
wtc%netscape.com 13c5522a29 Bugzilla bug #40778: backed out the previous checkin. I convinced myself
that users shouldn't be accessing the 'reserved_fn_n' fields at all.
Modified files: prio.h, priometh.c, prlayer.c, prsocket.c, ptio.c
2000-09-01 06:02:03 +00:00
wtc%netscape.com aa3ceb1ea4 Bugzilla bug #40778: renamed the 'connectcontinue' member of PRIOMethods
back to 'reserver_fn_4' to maintain source compatibility.
Modified files: prio.h, priometh.c, prlayer.c, prsocket.c, ptio.c
2000-09-01 01:14:34 +00:00
wtc%netscape.com 28d7390a4b Bugzilla bug #45223: backed out the HAVE_LONG_LONG define. The Mozilla
code is not ready for this change yet.
2000-08-30 17:12:11 +00:00
wtc%netscape.com 435e14fa0c Bugzilla bug #25982: renamed the new PR_PutEnv() function to PR_SetEnv()
and resurrected the original Mac-specific PR_PutEnv().
Modified files: prenv.h, prenv.c, pr/tests/env.c
2000-08-30 17:06:04 +00:00