Commit Graph

1372 Commits

Author SHA1 Message Date
wtc%netscape.com
dd274aefaf Bug 195411: added the LL_MaxUint function and the LL_MAXUINT macro.
Modified Files: prlong.h nspr.def nspr_symvec.opt openvms.c prlong.c
2003-03-04 02:14:53 +00:00
wtc%netscape.com
4ec0ab83ae Backed out the previous checkin. I'd like to come up with a better patch
that does not require setting FD_SETSIZE to 1024, which makes each fd_set
a 4 KB objec5.
2003-02-28 04:57:50 +00:00
wtc%netscape.com
9fa7e30bc0 Bug 192797: improved the implementation of PR_Poll for Win32. Increase
FD_SETSIZE from the default 64 to 1024.  Make PR_Poll fail with
PR_INVALID_ARGUMENT_ERROR if we try to add more than FD_SETSIZE fd's to a
fd_set.  Do not pass an empty fd_set to select, and do not call select if
all three fd_sets are empty.
2003-02-28 03:14:09 +00:00
wtc%netscape.com
906d6413eb Bug 164841: use high performance timers (again) on OS/2. 2003-02-28 02:46:12 +00:00
wtc%netscape.com
206db1576c Added a comment. 2003-02-28 02:21:52 +00:00
wtc%netscape.com
87ac81bc93 Renamed MOD_REVISION_VERSION to MOD_PATCH_VERSION.
Modified Files: configure configure.in autoconf.mk.in nspr-config.in
2003-02-28 01:48:15 +00:00
wtc%netscape.com
51f24261f9 Removed obsolete PR_CLIENT_BUILD and PR_CLIENT_BUILD_UNIX make variables. 2003-02-27 04:13:19 +00:00
wtc%netscape.com
06511d0eb2 Removed unused file module.df. 2003-02-27 03:29:42 +00:00
wtc%netscape.com
c47b8bed9d Bug 191948: a better implementation of PR_GetLibraryFilePathname for 32-bit
HP-UX.
2003-02-27 01:46:36 +00:00
wtc%netscape.com
1888d80ebd Bug 191703: if struct tm has the nonstandard tm_zone and tm_gmtoff fields,
set them to the appropriate values.  Calling mktime is not really correct
(it assumes the local time zone) and does not work on NetBSD.
2003-02-26 23:40:57 +00:00
wtc%netscape.com
a4b6fef999 Added a comment explaining why we force the use of absolute symlinks on
Darwin when building Mozilla. (Bug #193164)
2003-02-26 15:13:59 +00:00
wtc%netscape.com
d7009b7d2f Deleted blank lines at the end of the file. 2003-02-26 15:11:34 +00:00
wtc%netscape.com
e428ae1e7c Bug 193380: added IPv6 support on HP-UX 11i or later. Cleaned up the
detection of HP-UX B.11.* in configure.in.
Modified Files: configure.in configure _hpux.h
2003-02-26 02:00:33 +00:00
wtc%netscape.com
2cafa2ea72 Bug 191270: passed the XXX_RETURN_ON_ERROR flags to several Mac OS X
linker functions.  Correctly handle the return value of NSUnLinkModule.
Pass NSADDIMAGE_OPTION_WITH_SEARCHING to NSAddImage.
cvs: ----------------------------------------------------------------------
2003-02-26 01:57:16 +00:00
seawood%netscape.com
5efe6ed2a4 Only force the use of absolute symlinks on Darwin when building Mozilla.
Bug #193164 r=wtc
2003-02-26 00:48:56 +00:00
wtc%netscape.com
90c01ecdb6 Bug 192015: implemented the PR_GetLibraryFilePathname function for OpenVMS.
The patch is contributed by Colin Blakes <colin@theblakes.com>.
2003-02-25 15:48:58 +00:00
wtc%netscape.com
99b229418b Bug 191823: implement PR_GetLibraryFilePathname for OS/2. The patch is
contributed by Julien Pierre <jpierre@netscape.com>.
2003-02-25 15:37:04 +00:00
wtc%netscape.com
689a967b3c Bug 193007: export PR_CreateThread and PR_SetError and new NSPR 4.3
symbols.  Added stubs so that PR_CreateThread ended up in its old position.
The patch is contributed by Colin Blakes <colin@theblakes.com>.
Modified Files: nspr_symvec.opt md/unix/openvms.c
2003-02-25 15:24:20 +00:00
wtc%netscape.com
8bb6f44c21 Bug 186745: use the BSD getifaddrs() function to query the presence of
IPv4 and IPv6 network interfaces on NetBSD.
2003-02-25 15:13:22 +00:00
wtc%netscape.com
bcd2417d76 Bug 194298: inherit from the shell instead of the parent. The patch is
contributed by Michael Kaply <mkaply@us.ibm.com>.
2003-02-24 22:47:16 +00:00
seawood%netscape.com
149fe1cec9 Default to using absolute symlinks when building on Darwin.
Bug #193164 r=ccarlen
2003-02-23 16:58:47 +00:00
wtc%netscape.com
080eed4425 Bug 186745: on FreeBSD, use the getifaddrs function to query the presence
of IPv4 and IPv6 network interfaces.
2003-02-22 22:52:03 +00:00
wtc%netscape.com
cd74e72999 Bug 192589: keep querying the presence of IPv4 and IPv6 interfaces until at
least one is up. This allows us to detect the local machine going from
offline to online.
2003-02-22 20:27:25 +00:00
wtc%netscape.com
891337d87e Bug 193969: implemented atomic routines for Darwin PPC in assembly.
Changed old name "Rhapsody" to new name "Darwin".
Modified files: configure configure.in _darwin.h darwin.c
Added file: os_Darwin_ppc.s
2003-02-22 15:00:13 +00:00
kirk.erickson%sun.com
1fa1add016 Changed License: MPL to MPL/GPL. 2003-02-13 18:24:07 +00:00
wtc%netscape.com
b7c6ff503c Bug 192364: the "echo" command is not necessary. Use $(dist_includedir),
which is correct in all build configurations.
2003-02-13 02:03:12 +00:00
wtc%netscape.com
7697687ee7 Bug 189501: use the PR_VERSION macro in prinit.h for version info. The
patch is contributed by Kirk Erickson <kirk.erickson@sun.com>.
2003-02-13 01:57:42 +00:00
wtc%netscape.com
ce1bcc8bab Bug 192962: include <string.h> for the declaration of memcpy.
Modified files: priometh.c prrng.c
2003-02-12 19:19:12 +00:00
sonja.mirtitsch%sun.com
4276f0c1ad checking in 2nd part on my fix to generate prototype filr,
which I just realized already has wtc's "you can check it in"
see bug 191172
2003-02-08 22:45:13 +00:00
sonja.mirtitsch%sun.com
390ae7f23f checking in Kirk's patch 2003-02-08 22:43:37 +00:00
sonja.mirtitsch%sun.com
dfaed2983d changing PRODUCT VERSION 2003-02-08 06:32:06 +00:00
wtc%netscape.com
1b2dee1ff6 Bug 189501: added three directories. Without these, /usr/include/mps isn't
removed when the sun-nspr-devel package is removed.  The patch is
contributed by Kirk Erickson <kirk.erickson@sun.com>.
2003-02-04 04:23:55 +00:00
wtc%netscape.com
813bac61bc Bug 191270: added the ability to load a dynamic shared library (.dylib) on
Mac OS X.
2003-02-04 02:28:39 +00:00
wtc%netscape.com
124fe04b9e Bug 189501: added support for building Linux RPMs. The patch and new files
are contributed by Kirk Erickson <kirk.erickson@sun.com>.
Modified Files: Makefile.in configure configure.in
Added Files:
	pkg/Makefile.in pkg/linux/Makefile.in pkg/linux/sun-nspr.spec
2003-02-04 01:45:28 +00:00
wtc%netscape.com
20a8afc3d9 Should pass NSUNLINKMODULE_OPTION_NONE instead of FALSE as the second
argument to NSUnLinkModule.  Both macros have the same value (0), so this
is a cosmetic change.
2003-01-23 17:07:50 +00:00
wtc%netscape.com
a66a4d539e Bug 90010: added support for Linux for s390 and s390x. The patch is
contributed by Gerhard Tonn <GerhardTonn@swol.de>.
Modified Files: _linux.cfg _linux.h prprf.c
2003-01-23 17:03:22 +00:00
wtc%netscape.com
61591dded1 Bug 188439: fixed a bug in the PR_Poll implementation for
_PR_POLL_WITH_SELECT.  We could still call FD_SET if the osfd was larger
than FD_SETSIZE.  Fixed the bug that _PR_POLL_WITH_SELECT was defined after
the system header files had been included.  Need to define it on the
compile command line.  Define _USE_BIG_FDS on HP-UX.  Because that macro
increases the size of fd_set to about 7500 bytes and PR_Poll allocates 3
fd_sets on the stack, also increased the minimum thread stack size to 128KB
on HP-UX.
Modified Files: configure configure.in _hpux.h _osf1.h ptio.c
2003-01-20 20:52:48 +00:00
wtc%netscape.com
81a1109700 Bug 80082: need to install libnspr_flt4.so in dist/bin too, for the Mozilla
client.
2003-01-20 16:29:42 +00:00
wtc%netscape.com
eb31f14407 Bug 134113: make NSPR build on Win32 using MinGW gcc. The patch is
contributed by Chris Seawood <seawood@cls.org> and Dan Mosedale
<dmose@mozilla.org>. r=wtc.
Modified files: configure configure.in config/Makefile.in autoconf.mk.in
now.c rules.mk lib/ds/Makefile.in lib/libc/src/Makefile.in
lib/msgc/src/Makefile.in prtypes.h _winnt.h pr/src/Makefile.in prmapopt.c
pr/src/md/windows/Makefile.in ntio.c ntmisc.c pr/tests/Makefile.in
runtests.ksh pr/tests/dll/Makefile.in
2003-01-20 16:26:24 +00:00
wtc%netscape.com
0b4f800fbf Bug 185687: added PR_CallOnceWithArg, a version of PR_CallOnce that allows
the callers to pass an argument to the call-once function.
Modified files: prinit.h nspr.def prinit.c
2003-01-18 02:04:45 +00:00
wtc%netscape.com
afe5df84e4 Bug 189332: Implemented the new function PR_GetLibraryFilePathname for
AIX, HP-UX, Linux, Mac OS X, OSF1, Solaris, and Windows.  Added the new
error code PR_LIBRARY_NOT_LOADED_ERROR for the error condition that the
library specified by "name" and "addr" is not loaded.  Added a new test,
libfilename.c.  Extended the PR_GetLibraryName function to not prepend any
directory if the first argument "dir" is NULL.  The OSF1 implementation was
contributed by Steve Streeter <Stephen.Streeter@hp.com>.
Modified files: prerr.h prlink.h nspr.def pr/src/linking/Makefile.in
prlink.c compile-et.pl prerr.c prerr.et prerr.properties
pr/tests/Makefile.in runtests.ksh runtests.sh
Added file: pr/tests/libfilename.c
2003-01-17 01:03:47 +00:00
wtc%netscape.com
26c5a3f49b Bug 168228: added IPv6 support for Darwin (Mac OS X). Added two new
feature macros _PR_HAVE_INET_NTOP and _PR_GHBA_DISALLOW_V4MAPPED to
handle the differences of Darwin's IPv6 sockets implementation and
other platforms' implementations.
Modified files: _aix.h _bsdi.h _darwin.h _freebsd.h _irix.h _linux.h
_netbsd.h _openvms.h _osf1.h _solaris.h prnetdb.c
2003-01-16 16:16:34 +00:00
wtc%netscape.com
54f5f9969b MACOS_DEPLOYMENT_TARGET only needs to be defined if we are building on
Mac OS X.
2003-01-15 00:07:02 +00:00
wtc%netscape.com
f178b3cbfb Bug 185034: updated the OpenVMS symbol vector tables for NSPR 4.3.
The patch is contributed by Colin Blake <colin@theblakes.com>.
Modified Files: nspr_symvec.opt plds_symvec.opt plc_symvec.opt
2003-01-15 00:00:14 +00:00
wtc%netscape.com
e66e11439e Bug 186599: 1. added support for relative paths to PR_LoadLibrary on
Mac OS X. 2. Reordered the Mac code in pr_LoadLibraryByPathName to try
loading various kinds of shared libraries in the order of most likely
success.  The patch is contributed by Conrad Carlen <ccarlen@netscape.com>.
r=wtc. sr=sfraser.
2003-01-14 23:38:56 +00:00
wtc%netscape.com
1a9b9b778b Bug 188396: don't use ftime because its 32-bit timestamp will overflow
around year 2038.  Use GetSystemTimeAsFileTime instead.  The patch is
contributed by timeless@bemail.org.
Modified files: config/now.c _win95.h _winnt.h ntio.c ntmisc.c w95io.c
2003-01-14 13:22:32 +00:00
wtc%netscape.com
d14e19b063 Bug 188976: avoid calculating the difference of two unsigned integer if
the difference is really a negative number.  Thanks to Rick Swift for the
patch.
2003-01-14 02:07:16 +00:00
wtc%netscape.com
711db3c6bd 1. Use $(CC) (the compiler) to build shared libraries on Solaris. Added
the -z defs linker flag back.
Modified files: configure configure.in lib/ds/Makefile.in
lib/libc/src/Makefile.in pr/src/Makefile.in
2. Let pr/src/md/unix/Makefile.in be responsible for removing the
pr/src/cpu directory because it creates that directory.  Note that the
'clean' target does not remove the directory because it doesn't remove
the .so's either.
Modified files: pr/src/Makefile.in, pr/src/md/unix/Makefile.in
2003-01-08 19:19:01 +00:00
wtc%netscape.com
9bb01d12a7 The PTDebug type doesn't need to be defined in optimized builds. 2003-01-08 03:28:54 +00:00
wtc%netscape.com
7837eead2d Use quotes instead of angle brackets to fix classic mac bustage. 2003-01-07 20:51:24 +00:00