Commit Graph

973 Commits

Author SHA1 Message Date
cls%seawood.org
d343689a28 If MOZILLA_CLIENT is set and building on win32, set OS_TARGET to win95 like nsprpub/makefile.win does. 2001-01-21 06:42:27 +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
5fe7b6a29d Landing changes to use autoconf on win32. Bug #58804 2001-01-19 09:44:03 +00:00
cls%seawood.org
bb5c53fa5e Add OS_LIBS to EXTRA_LIBS as necessary 2001-01-17 19:15:05 +00:00
cls%seawood.org
302068957b Don't link in OS_LIBS to shared libs by default 2001-01-17 19:14:16 +00:00
cls%seawood.org
2d4718acaa Add check for libpthreads (AIX). Set USE_PTHREADS properly for AIX. 2001-01-17 19:13:44 +00:00
cls%seawood.org
74fe5e6f9f Only define HAVE_LCHOWN if it is not already defined. Fixes AIX 2001-01-17 05:13:00 +00:00
wtc%netscape.com
fc695b1218 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
1be1cd1ff7 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
32fa8e0637 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
9855a27e0a Added const to clean up compiler warnings. 2001-01-06 05:26:24 +00:00
wtc%netscape.com
c7bc8495b4 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
e84cc06cfd Added BSDI logic from BSD_OS.mk 2001-01-04 23:37:29 +00:00
cls%seawood.org
6993f402e3 Upgrade to latest GNU cvs versions. 2001-01-04 09:29:40 +00:00
cls%seawood.org
6fdbc88979 Switch to $< & $@ so that VPATH can do its magic.
Bug #58804
2000-12-30 06:36:06 +00:00
cls%seawood.org
d67e0d81fc Preparations for building on win32 with autoconf Makefile.ins. 2000-12-30 05:44:01 +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
80ad6dc3ae 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
2171ecc420 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
a623ea50c6 Bugzilla bug #63273: define PR_Assert in optimized builds too. 2000-12-19 05:56:58 +00:00
wtc%netscape.com
2d543b1f20 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
a59f1f7e8e Bugzilla bug #63019: do not build static libraries unless the platform
does not have shared libraries.
2000-12-16 18:09:00 +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
wtc%netscape.com
06f54183a4 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
3316612be8 Bugzilla: 61747. netbsd 2000-12-01 21:29:17 +00:00
cls%seawood.org
cac0928185 Change --enable-optimize to take an argument.
Bug #53486 r=timeless
2000-12-01 13:21:43 +00:00
larryh%netscape.com
5c5790cdb0 Bugzilla: 58575 2000-11-28 00:34:48 +00:00
larryh%netscape.com
246c2e438f Bugzilla: 53014 2000-11-06 23:33:07 +00:00
larryh%netscape.com
a7c8f86bad Bugzilla: 51655. 2000-11-06 23:27:49 +00:00
larryh%netscape.com
bb153ca860 Bugzilla: 49161. OpenVMS 2000-11-02 21:15:40 +00:00
cls%seawood.org
cc726f2a63 Add gcc check for -pthreads if -pthread check fails. bug #44504 Thanks to madams
@janna.com (Mark G. Adams) for the patch.
2000-10-26 07:53:51 +00:00
cls%seawood.org
8a83c1e7af Treat irix64 builds as normal irix builds. 2000-10-25 21:36:02 +00:00
cls%seawood.org
d660fbbbb4 Fix Irix sections to properly handle USE_N32 2000-10-25 21:24:11 +00:00
cls%seawood.org
6d635df17c Fixed the strip check to work for cross-compile builds. Bug #11893 2000-10-25 03:30:47 +00:00
cls%seawood.org
08c9d5ab81 Set CROSS_COMPILE variable as appropriate so that cross-compiling works again. Bug #11890 2000-10-18 20:03:41 +00:00
cls%seawood.org
aeba6e6e07 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
391c95c667 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
7a3f8caaf5 Bugzilla: 46651. buffsize -> bufsize 2000-10-11 22:51:04 +00:00
gordon%netscape.com
83a2e1f54a 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
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
cdfc51cf1d Bugzilla bug #54195: extended the 'uc' array to 256 elements because
it may be indexed by an 8-bit character.  Thanks to Naoki Hotta
<nhotta@netscape.com> for the fix.
2000-10-06 04:28:07 +00:00
larryh%netscape.com
8e1e3465ff Bugzilla: 55268. BeOS 2000-10-05 23:15:45 +00:00
cls%seawood.org
c890f95706 Apply fixes for previous attempt to add STRIP to nspr build. 2000-09-30 03:24:19 +00:00
larryh%netscape.com
eaca9c4309 Bugzilla: 51465. strip binaries on optimized builds 2000-09-28 17:47:22 +00:00
wtc%netscape.com
44a8b535aa 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
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
f2714e75a8 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
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
7a175af26c Removed. The file is now mozilla/nsprpub/pr/src/memory/prgcleak.c. 2000-08-30 04:58:44 +00:00
wtc%netscape.com
fce3a02801 Removed pr/src/md/mac/prgcleak.c. Added pr/src/memory/prgcleak.c and pr/src/misc/prtpool.c. 2000-08-30 04:38:53 +00:00
wtc%netscape.com
c3a38486a6 Bugzilla bug #50386: fixed PR_Sleep so that it won't return uninitialized
variable.  Thanks to Fred Batty <fredb@iplanet.com> for reporting the bug.
2000-08-26 00:55:20 +00:00
wtc%netscape.com
b37c0aaf12 Do not use the 'const' qualifier with PL_HashTableLookupConst() and
PL_HashTableRawLookupConst() because when compiled with HASHMETER defined
they increment some counters in the hash table. r=larryh@netscape.com.
2000-08-22 00:17:23 +00:00
cls%seawood.org
27394ef56d Only use HOST_CC & friends when actually cross-compiling. 2000-08-20 23:52:43 +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
df3cdee5ef Bugzilla bug #39731: the imported pipe needs to have its
secret->md.sync_file_io set to PR_TRUE on NT because unnamed pipes
don't support async io.
2000-08-11 18:36:38 +00:00
wtc%netscape.com
2d8ba48907 Use real sockets in the poll desc array as opposed to NULL. Some
platforms seem to have problem polling on an array of -1's.
2000-08-11 03:00:45 +00:00
wtc%netscape.com
94e6a9e20e Updated for 4.1 release. 2000-08-11 01:34:31 +00:00
wtc%netscape.com
310e944631 Moved prgcleak.c from mozilla/nsprpub/pr/src/md/mac/prgcleak.c. 2000-08-11 01:02:37 +00:00
wtc%netscape.com
aa2c5c7732 Bugzilla bug #30746: backed out the PR_SetConcurrency(2) workaround
because it introduced other problems.
2000-08-11 00:57:50 +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
wtc%netscape.com
f1f2853c86 Bugzilla bug #34920: fixed a bug in PR_EmulateAcceptRead that depended
on the implementation of an enum.
2000-08-10 02:40:12 +00:00
wtc%netscape.com
d961ab7c89 Bugzilla bug #39942: additional tweaks related to the thread-private
error string buffer.
Modified files: prerror.c, prcthr.c, pruthr.c
2000-08-10 00:34:11 +00:00
larryh%netscape.com
9b6fafc3d8 remove priotest. The test is not valid 2000-08-09 21:42:35 +00:00
larryh%netscape.com
1ef6d945bb BugZilla: 25982. MacOS retruns 1 2000-08-08 22:26:42 +00:00
wtc%netscape.com
5d75c053dd Removed obsolete test event.c.
Modified files: Makefile, Makefile.in
Removed file: event.c
2000-08-08 21:35:14 +00:00
wtc%netscape.com
0a8c15efe3 Make main() return int explicitly. 2000-08-08 21:33:51 +00:00
larryh%netscape.com
e1020697b7 BugZilla: 4090. cross platform breakage 2000-08-02 00:45:18 +00:00
larryh%netscape.com
59202f97ba BugZilla: 25982. remove comment witin a comment 2000-08-02 00:09:07 +00:00
larryh%netscape.com
aaf178612d change default hostname to mcom.com 2000-08-01 23:31:48 +00:00
larryh%netscape.com
98352022b1 BugZilla: 25983. comment cleanup 2000-08-01 22:08:35 +00:00
wtc%netscape.com
e357ca143e Bugzilla bug #17223: fixed an error found when I compiled on Mac. 2000-07-31 22:40:12 +00:00
larryh%netscape.com
6c627c4262 BugZilla: 46630. Log buffer size 2000-07-31 18:58:55 +00:00
wtc%netscape.com
ae1a9d87ac Bugzilla bug #46417: allow stdin, stdout, and stderr to be redirected
to the same osfd (e.g., a socket is bidirectional and hence we can
redirect both stdin and stdout to the same socket).  Thanks to
Rob McCool <robm@robm.com> for the bug report and suggesting a fix.
2000-07-31 18:53:20 +00:00
wtc%netscape.com
c2bad4c7cd Bugzilla bug #46525: checked in a fix to silence a Purify UMR warning.
Thanks to Daniel Bratell <bratell@lysator.liu.se> for the bug report
and the fix.
2000-07-31 18:15:38 +00:00
wtc%netscape.com
a91f241a88 Bugzilla bug #45223: define HAVE_LONG_LONG on Mac. Removed unused
variable dstLocalBaseMicroseconds and do not export
gJanuaryFirst1970Seconds.
Modified files: mactime.c, prcpucfg.h
2000-07-29 01:58:46 +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
wtc%netscape.com
60a96a12a1 Bugzilla bug #46506: use pthreads by default on FreeBSD. 2000-07-29 00:50:35 +00:00
wtc%netscape.com
554d574334 Bugzilla bug #45732: define align of double and long long for powerpc
correctly, and define the macros HAVE_ALIGNED_LONGLONGS and
HAVE_ALIGNED_DOUBLES if long longs or doubles are 8-byte aligned.
Thanks to Kevin B. Hendricks <khendricks@ivey.uwo.ca> and
Franz.Sirl-kernel@lauterbach.com for reporting the bug and suggesting a
fix.
2000-07-29 00:38:00 +00:00
wtc%netscape.com
1480ad16b1 Bugzilla bug #45432: fixed memory leak in pr_Mac_LoadNamedFragment and
pr_Mac_LoadIndexedFragment.
2000-07-29 00:27:37 +00:00
larryh%netscape.com
9a9152b4cc BugZilla: 4090. PR_APPEND 2000-07-28 21:51:07 +00:00
wtc%netscape.com
952b503a2a Bugzilla bug #45181: improvement for imported fd's on NT.
Modified files: _winnt.h, prsocket.c, ntio.c
2000-07-28 06:28:05 +00:00
wtc%netscape.com
cbfa8b99d9 Get rid of PR_UNKNOWN_ERROR. 2000-07-28 05:12:51 +00:00
wtc%netscape.com
dacf1ff7d8 Fixed Bugzilla bug #45181.
Modified files: _beos.h, _macos.h, _os2.h, _unixos.h, _win95.h, _winnt.h,
primpl.h, prfile.c, prio.c, prsocket.c, bfile.c, macsockotpt.c, os2io.c,
unix.c, ntio.c, w95io.c, prinit.c, ptio.c
2000-07-28 02:40:54 +00:00
larryh%netscape.com
0bc5a9e7be BugZilla: 25982. Add function PR_PutEnv() 2000-07-27 21:20:48 +00:00
wtc%netscape.com
d9efb3750f Bugzilla bug #46166: checked in a patch contributed by Marcello Nuccio
<marcenuc@lica.unimo.it>. r=roeber@netscape.com.
2000-07-25 00:30:43 +00:00
larryh%netscape.com
700ccc9e33 BugZilla: 45623 2000-07-19 22:03:36 +00:00
wtc%netscape.com
4d505b166d Map "Darwin" to "Rhapsody". 2000-07-19 07:04:26 +00:00
wtc%netscape.com
ecc670c100 Bugzilla bug #42900: implement timeout for PR_Connect. 2000-07-18 23:35:24 +00:00
wtc%netscape.com
9f97e47f41 Declare the _nt_nonblock_xxx functions static. Changed the second
argument of _nt_nonblock_accept to be "struct sockaddr *".
2000-07-18 22:45:58 +00:00
wtc%netscape.com
077f42dcfd Bugzilla bug #45683: define FD_SETSIZE to be 4096. This patch is
contributed by Jerry Kirk <Jerry.Kirk@nexwarecorp.com>.
2000-07-17 22:51:42 +00:00
wtc%netscape.com
599d598411 Map error codes. 2000-07-15 17:32:33 +00:00
wtc%netscape.com
4a7d1ec880 Bugzilla bug #25981: BSD-derived systems use systcl() to get the number
of processors.  Thanks to Hans Lambermont <hans@blender.nl> for pointing
out the use of sysctl().
2000-07-15 17:23:57 +00:00
wtc%netscape.com
f063bf2c8f Bugzilla bug #45141: checked in an OS/2 patch from Michael Kaply
<mkaply@us.ibm.com>. a=waterson@mozilla.org.
2000-07-12 00:10:37 +00:00
cls%seawood.org
d5963df738 Changing default debug & opt flags for qnx Bug #44133. Removed autoconf 2.13 specific macro 2000-07-08 11:25:25 +00:00