Commit Graph

302 Commits

Author SHA1 Message Date
sfraser%netscape.com
efece6ef56 Fix for 100353 -- handle polling for read and write on different threads, and properly deal with sending to a socket that has flow control restrictions. Fixes a problem saving to IMAP server sent messages with attachments. r=gordon, wtc. 2001-10-09 02:12:40 +00:00
wtc%netscape.com
fe52bd992e Bugzilla bug 84035: backed out the changes to the PRMonitor functions
because some of the Mozilla client code depends on the property that
PR_EnterMonitor and PR_ExitMonitor do not call malloc, calloc, and free.
Modified Files: _pth.h, primpl.h, ptsynch.c
2001-09-28 01:27:07 +00:00
sfraser%netscape.com
821e14b019 Fix for bug 71718. Make Mac NSPR work on dual CPU Mac OS X macines by using MP critical regions to fix threading synchronization problems. Uses hand-rolled critical regions because the critical section API is broke on Mac OS 10.0.x. r=gordon, wtc. 2001-09-27 23:35:25 +00:00
wtc%netscape.com
fad095a286 Deleted unused prototypes for _PR_Unlock, _PR_SuspendThread, and
_PR_ResumeThread.
2001-09-15 04:53:12 +00:00
wtc%netscape.com
3d29945bda Bugzilla bug 95836: Added _PR_CleanupIO() and made it call
_PR_CleanupFdCache().  PR_Cleanup() now calls _PR_CleanupIO() and does
not call _PR_CleanupFdCache() directly.
Modified files: primpl.h prio.c prinit.c ptio.c ptthread.c
2001-09-07 01:55:49 +00:00
wtc%netscape.com
c57ef1ff46 Bugzilla bug 95773: Added _PR_CleanupEnv() and call it from PR_Cleanup().
The patch is contributed by jeff@NerdOne.com.
Modified files: primpl.h prenv.c prinit.c ptthread.c
2001-09-07 00:05:50 +00:00
wtc%netscape.com
d8b557ac56 Bugzilla bug 95784: added _PR_CleanupLayerCache and call it from
PR_Cleanup.  The patch is contributed by jeff@NerdOne.com.
Modified files: primpl.h, prlayer.c, prinit.c, ptthread.c.
2001-08-30 00:35:00 +00:00
wtc%netscape.com
1e99af1e01 Bugzilla bug 95668: added _PR_CleanupThreads and call it from PR_Cleanup.
The patch is contributed by jeff@NerdOne.com.
Modified files: primpl.h, prinit.c, pruthr.c.
2001-08-29 23:52:14 +00:00
wtc%netscape.com
8a44425ba5 Bugzilla bug 95659: added _PR_CleanupStacks(), which is called from
PR_Cleanup().  The patch is contributed by jeff@NerdOne.com.
Modified files: primpl.h, prinit.c, prustack.c
2001-08-29 23:13:41 +00:00
wtc%netscape.com
d5df6362a5 Bugzilla bug #88102: checked in a patch from Colin Blakes
<colin@theblakes.com> that allows him to easily switch between BSD V4.4
(the default) and BSD V4.3 sockets on OpenVMS.
2001-08-15 14:30:43 +00:00
wtc%netscape.com
143d18e059 Bugzilla bug 84361: added large file support for Linux.
Modified files: configure configure.in _linux.h
Removed an unnecessary undefine of _FILE_OFFSET_BITS in solaris.c.
2001-06-27 03:00:34 +00:00
wtc%netscape.com
25f3fcc95f Bugzilla bug 81011: Changed the return type of _PR_MD_TEST_AND_LOCK from
PRBool to PRIntn and documented its meaning.
Modifies files: _beos.h, _irix.h, _win16.h, _win95.h, primpl.h, os2cv.c.
2001-06-24 05:10:37 +00:00
wtc%netscape.com
67b5417285 Bugzilla Bug 63049: 64-bit Solaris does not need the libultrasparc4.so
(-f libatomic.so) filter library.
Modified files: configure configure.in _solaris.h pr/src/md/unix/Makefile
solaris.c.
Added file: os_SunOS_sparcv9.s.
2001-06-24 01:39:51 +00:00
wtc%netscape.com
3aeb80d883 Bugzilla bug #85673: added assembly implementation of the atomic routines
for OS/2 contributed by Michael Kaply of IBM.
Modified files: configure configure.in autoconf.mk.in rules.mk _os2.h
pr/src/md/os2/Makefile.in pr/src/md/os2/objs.mk os2misc.c
2001-06-23 04:09:19 +00:00
wtc%netscape.com
5f855f5339 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
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
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
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
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
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
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
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
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
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
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
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
5581220542 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
0293179f8b Sync'ing long lost changes between Makefile & Makefile.in 2000-12-30 00:47:58 +00:00
wtc%netscape.com
c505936cfb 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
15debdec61 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
larryh%netscape.com
3316612be8 Bugzilla: 61747. netbsd 2000-12-01 21:29:17 +00:00
larryh%netscape.com
7a3f8caaf5 Bugzilla: 46651. buffsize -> bufsize 2000-10-11 22:51:04 +00:00
larryh%netscape.com
ff08774a52 Bugzilla: 55271. Attach thread on BeOS 2000-10-10 20:07:20 +00:00
wtc%netscape.com
62e8f2f3e5 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
7c4d774b06 Bugzilla bug #55740: fixed a typo. Thanks to Martin Husemann
<martin@NetBSD.ORG> for the patch.
2000-10-10 04:28:11 +00:00
wtc%netscape.com
186f59fb5b Set version number to 4.1. 2000-09-01 16:07:38 +00:00
wtc%netscape.com
b4d3758798 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
860916575a 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
4bff167175 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
wtc%netscape.com
a8bb856914 Restored the correct copyright years. 2000-08-30 17:00:08 +00:00
wtc%netscape.com
cfddfeeb41 Bugzilla bug #15906: added GC_LEAK_DETECTOR support for Linux.
Modified files: config.mk, primpl.h, pr/src/Makefile, pr/src/Makefile.in,
pr/src/memory/Makefile, pr/src/memory/Makefile.in, prthinfo.c, ptthread.c
2000-08-14 22:05:22 +00:00
wtc%netscape.com
20e4421fed Added comments to explain the format of the PR_VERSION string.
Set version number to 4.1 Beta.
2000-08-10 21:19:17 +00:00
larryh%netscape.com
59202f97ba BugZilla: 25982. remove comment witin a comment 2000-08-02 00:09:07 +00:00
larryh%netscape.com
98352022b1 BugZilla: 25983. comment cleanup 2000-08-01 22:08:35 +00:00
wtc%netscape.com
16e36f84d8 Bugzilla bug #46909: on Mac, define _PR_LOCAL_THREADS_ONLY in _macos.h
as opposed to prcpucfg.h.
2000-07-29 01:51:00 +00:00