306 Commits

Author SHA1 Message Date
seawood%netscape.com
f42774dccc Convert all rhapsody (pre-beta-macosx) references to darwin.
Bug #106617 r=wtc


git-svn-id: svn://10.0.0.236/trunk@106330 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 04:55:58 +00:00
seawood%netscape.com
ca14d69eee Rename rhapsody to darwin
bug #106617


git-svn-id: svn://10.0.0.236/trunk@106287 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 21:34:51 +00:00
wtc%netscape.com
3c26e67cfc Bugzilla bug 92085: checked in a Neutrino patch from
briane@qnx.com (Brian Edmond).  r=wtc.
Modified files: _nto.h protypes.h


git-svn-id: svn://10.0.0.236/trunk@105644 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 22:28:29 +00:00
seawood%netscape.com
6a7655eea9 Install *.cfg files used for cross-compiling
git-svn-id: svn://10.0.0.236/trunk@105364 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 06:02:48 +00:00
sfraser%netscape.com
83c130f034 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.
git-svn-id: svn://10.0.0.236/trunk@104889 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 02:16:47 +00:00
wtc%netscape.com
b5d4409bdb 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


git-svn-id: svn://10.0.0.236/trunk@104057 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 01:27:07 +00:00
sfraser%netscape.com
108ee42e26 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.
git-svn-id: svn://10.0.0.236/trunk@104017 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 23:35:25 +00:00
wtc%netscape.com
ba11393180 Deleted unused prototypes for _PR_Unlock, _PR_SuspendThread, and
_PR_ResumeThread.


git-svn-id: svn://10.0.0.236/trunk@102975 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 04:53:12 +00:00
wtc%netscape.com
e5218cd198 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


git-svn-id: svn://10.0.0.236/trunk@102504 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 01:55:49 +00:00
wtc%netscape.com
40b3bff0fa 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


git-svn-id: svn://10.0.0.236/trunk@102491 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 00:05:50 +00:00
wtc%netscape.com
3f603986fe 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.


git-svn-id: svn://10.0.0.236/trunk@101992 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-30 00:35:00 +00:00
wtc%netscape.com
287d568a3b 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.


git-svn-id: svn://10.0.0.236/trunk@101991 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-29 23:52:14 +00:00
wtc%netscape.com
813386fc81 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


git-svn-id: svn://10.0.0.236/trunk@101987 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-29 23:13:41 +00:00
wtc%netscape.com
50482052cf 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.


git-svn-id: svn://10.0.0.236/trunk@101101 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 14:30:43 +00:00
wtc%netscape.com
964377fc03 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.


git-svn-id: svn://10.0.0.236/trunk@98029 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-27 03:00:34 +00:00
wtc%netscape.com
087b86eed7 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.


git-svn-id: svn://10.0.0.236/trunk@97842 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-24 05:10:37 +00:00
wtc%netscape.com
87785057d0 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.


git-svn-id: svn://10.0.0.236/trunk@97839 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-24 01:39:51 +00:00
wtc%netscape.com
910bb4b5f3 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


git-svn-id: svn://10.0.0.236/trunk@97806 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-23 04:09:19 +00:00
wtc%netscape.com
4b0979f1a8 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.


git-svn-id: svn://10.0.0.236/trunk@96788 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-09 19:52:18 +00:00
wtc%netscape.com
ccbf7f70c5 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.


git-svn-id: svn://10.0.0.236/trunk@96353 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 23:42:10 +00:00
larryh%netscape.com
5e235d5192 Bugzilla 81666. new os2 locking
git-svn-id: svn://10.0.0.236/trunk@96320 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 22:20:48 +00:00
wtc%netscape.com
620c1f0a51 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


git-svn-id: svn://10.0.0.236/trunk@95682 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 18:50:21 +00:00
wtc%netscape.com
8396785be2 Removed all Makefile's. The new autoconf build system uses Makefile.in's.
git-svn-id: svn://10.0.0.236/trunk@95308 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 21:26:28 +00:00
wtc%netscape.com
9f68abd727 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


git-svn-id: svn://10.0.0.236/trunk@95064 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 22:57:39 +00:00
wtc%netscape.com
bccda9ee0a Merged NSPRPUB_CLIENT_BRANCH onto the trunk.
git-svn-id: svn://10.0.0.236/trunk@94726 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 02:05:12 +00:00
wtc%netscape.com
ee9b3d9d4c Merged NSPRPUB_CLIENT_BRANCH onto the trunk.
git-svn-id: svn://10.0.0.236/trunk@94725 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 01:47:58 +00:00
wtc%netscape.com
d39676c99f Set NSPR version to 4.2 Beta.
git-svn-id: svn://10.0.0.236/trunk@94724 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 01:46:58 +00:00
wtc%netscape.com
610fe60930 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


git-svn-id: svn://10.0.0.236/trunk@94280 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 21:50:22 +00:00
gordon%netscape.com
974d4f61ac Fix bug 29338 "PR_Poll should not poll (spin) on Mac". Checking in for sfraser. r=dougt, sdagley, gordon, sr=sfraser, or vice versa.
git-svn-id: svn://10.0.0.236/trunk@89468 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 07:02:53 +00:00
wtc%netscape.com
2182d16f69 Bugzilla bug #62877: deleted unused code added in the previous checkin.
git-svn-id: svn://10.0.0.236/trunk@88386 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 04:58:06 +00:00
wtc%netscape.com
d6c2df8634 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.


git-svn-id: svn://10.0.0.236/trunk@88370 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 02:40:52 +00:00
wtc%netscape.com
8f4e692317 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


git-svn-id: svn://10.0.0.236/trunk@88070 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 06:51:44 +00:00
cls%seawood.org
82dff731aa Fix nspr autoconf for OpenVMS.
Thanks to Colin Blake <colin@theblakes.com> for the patch.
Bug #69842 r=cls


git-svn-id: svn://10.0.0.236/trunk@87947 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 21:50:47 +00:00
wtc%netscape.com
66eee73ceb Bugzilla bug #69496: set the minimum thread stack size on OpenVMS.
r=colin@theblakes.com.
Modified files: _openvms.h, ptthread.c


git-svn-id: svn://10.0.0.236/trunk@87705 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:38:32 +00:00
gordon%netscape.com
c500b18253 fix for bug 66508. r=pinkerton, sr=sfraser. Landing fix from 6.0 branch to detect orderlyDisconnects.
git-svn-id: svn://10.0.0.236/trunk@86406 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:03:35 +00:00
cls%seawood.org
4e328f50ac 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
git-svn-id: svn://10.0.0.236/trunk@85222 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 06:37:45 +00:00
cls%seawood.org
37a45d4b1d Sync'ing long lost changes between Makefile & Makefile.in
git-svn-id: svn://10.0.0.236/trunk@84212 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 00:47:58 +00:00
wtc%netscape.com
e96efd15da Bugzilla bug #63697: NetBSD 1.5 or newer has IPv6. Thanks to
martin@NetBSD.ORG (Martin Husemann) for the patch.


git-svn-id: svn://10.0.0.236/trunk@84135 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 17:04:04 +00:00
wtc%netscape.com
5e3f471389 Bugzilla bug #61746: make NSPR local threads work on more NetBSD platforms.
Thanks to Charles Hannum <mycroft@netbsd.org> for the patch. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@83471 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 15:20:03 +00:00
larryh%netscape.com
2117dd5e21 Bugzilla: 61747. netbsd
git-svn-id: svn://10.0.0.236/trunk@83189 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 21:34:03 +00:00
larryh%netscape.com
aa164a08c2 Bugzilla: 46651. buffsize -> bufsize
git-svn-id: svn://10.0.0.236/trunk@80960 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 22:51:04 +00:00
larryh%netscape.com
a23c0899e6 Bugzilla: 55271. Attach thread on BeOS
git-svn-id: svn://10.0.0.236/trunk@80841 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 20:07:20 +00:00
wtc%netscape.com
f56cd70fb2 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


git-svn-id: svn://10.0.0.236/trunk@80811 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 04:38:55 +00:00
wtc%netscape.com
c567a688e9 Bugzilla bug #55740: fixed a typo. Thanks to Martin Husemann
<martin@NetBSD.ORG> for the patch.


git-svn-id: svn://10.0.0.236/trunk@80804 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 04:28:11 +00:00
wtc%netscape.com
eeb69bf78b Set version number to 4.1.
git-svn-id: svn://10.0.0.236/trunk@77883 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 16:07:38 +00:00
wtc%netscape.com
17c3d3f2c1 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


git-svn-id: svn://10.0.0.236/trunk@77856 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 06:02:03 +00:00
wtc%netscape.com
39859adfab 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


git-svn-id: svn://10.0.0.236/trunk@77820 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:14:34 +00:00
wtc%netscape.com
8a394ef6b2 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


git-svn-id: svn://10.0.0.236/trunk@77622 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 17:06:04 +00:00
wtc%netscape.com
434e5e9f79 Restored the correct copyright years.
git-svn-id: svn://10.0.0.236/trunk@77620 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 17:00:08 +00:00
wtc%netscape.com
59621a3060 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


git-svn-id: svn://10.0.0.236/trunk@76299 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:05:22 +00:00