1374 Commits

Author SHA1 Message Date
wtc%netscape.com
a64d015107 Bug 199324: changed all i?86 checks to i*86 because Cygwin's "uname -m"
returns i1586 on Intel Xeon processors. r=cls.


git-svn-id: svn://10.0.0.236/trunk@140374 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-27 02:21:20 +00:00
wtc%netscape.com
888e6b18aa Use NSPR_4_3_RTM instead of NSPR_4_3_RELEASE. I decided to follow NSS's
cvs tag naming convention.


git-svn-id: svn://10.0.0.236/trunk@140373 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-27 02:17:09 +00:00
wtc%netscape.com
1495fdd9f8 Set NSPR version to 4.3.
git-svn-id: svn://10.0.0.236/trunk@140372 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-27 02:15:33 +00:00
wtc%netscape.com
2edc559488 Bug 196004: support building with gcc on Solaris better, whether gcc uses
the GNU ld or Solaris ld. Do not pass -B/usr/ccs/bin/ to gcc.
Modified files: configure configure.in autoconf.mk.in
        lib/ds/Makefile.in lib/libc/src/Makefile.in pr/src/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@140069 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 15:36:13 +00:00
wtc%netscape.com
f657253076 Bug 135450: OS/2 only - don't set priority if it is the default.
The patch is contributed by Michael Kaply <mkaply@us.ibm.com>. r=wtc.
Modified files: _os2 primpl.h os2thred.c


git-svn-id: svn://10.0.0.236/trunk@140063 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 14:59:55 +00:00
wtc%netscape.com
bd50639fc2 Do not use cygwin-wrapper if we are using MKS Korn Shell. We determine
whether we are using MKS Korn shell by searching for semicolons (;) in the
PATH.  Actually cygwin-wrapper works under MKS Korn shell, but it suddenly
stopped working on our Windows NT build machine recently, and I can't
figure out why.


git-svn-id: svn://10.0.0.236/trunk@140007 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 01:10:47 +00:00
wtc%netscape.com
5ea79c3477 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.


git-svn-id: svn://10.0.0.236/trunk@139803 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 00:10:31 +00:00
wtc%netscape.com
bcadca0b7a 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


git-svn-id: svn://10.0.0.236/trunk@138832 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-04 02:14:53 +00:00
wtc%netscape.com
82d7ee91b8 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.


git-svn-id: svn://10.0.0.236/trunk@138689 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 04:57:50 +00:00
wtc%netscape.com
bd91014273 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.


git-svn-id: svn://10.0.0.236/trunk@138677 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 03:14:09 +00:00
wtc%netscape.com
e05b71615e Bug 164841: use high performance timers (again) on OS/2.
git-svn-id: svn://10.0.0.236/trunk@138676 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 02:46:12 +00:00
wtc%netscape.com
836c0bc65d Added a comment.
git-svn-id: svn://10.0.0.236/trunk@138670 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 02:23:15 +00:00
wtc%netscape.com
abd09a9794 Renamed MOD_REVISION_VERSION to MOD_PATCH_VERSION.
Modified Files: configure configure.in autoconf.mk.in nspr-config.in


git-svn-id: svn://10.0.0.236/trunk@138668 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 01:48:15 +00:00
wtc%netscape.com
10073a4e90 Removed obsolete PR_CLIENT_BUILD and PR_CLIENT_BUILD_UNIX make variables.
git-svn-id: svn://10.0.0.236/trunk@138596 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 04:13:19 +00:00
wtc%netscape.com
0aadc734ae Removed unused file module.df.
git-svn-id: svn://10.0.0.236/trunk@138593 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 03:29:42 +00:00
wtc%netscape.com
d4963d24fe Bug 191948: a better implementation of PR_GetLibraryFilePathname for 32-bit
HP-UX.


git-svn-id: svn://10.0.0.236/trunk@138579 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 01:46:36 +00:00
wtc%netscape.com
412580ef29 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.


git-svn-id: svn://10.0.0.236/trunk@138555 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 23:40:57 +00:00
wtc%netscape.com
8a198fd180 Added a comment explaining why we force the use of absolute symlinks on
Darwin when building Mozilla. (Bug #193164)


git-svn-id: svn://10.0.0.236/trunk@138542 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 15:13:59 +00:00
wtc%netscape.com
dfc4c0b351 Deleted blank lines at the end of the file.
git-svn-id: svn://10.0.0.236/trunk@138541 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 15:11:34 +00:00
wtc%netscape.com
3b710a04cb 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


git-svn-id: svn://10.0.0.236/trunk@138506 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 02:00:33 +00:00
wtc%netscape.com
1c758a2922 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: ----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@138504 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 01:57:16 +00:00
seawood%netscape.com
64f2d4ad23 Only force the use of absolute symlinks on Darwin when building Mozilla.
Bug #193164 r=wtc


git-svn-id: svn://10.0.0.236/trunk@138487 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 00:48:56 +00:00
wtc%netscape.com
31d2750532 Bug 192015: implemented the PR_GetLibraryFilePathname function for OpenVMS.
The patch is contributed by Colin Blakes <colin@theblakes.com>.


git-svn-id: svn://10.0.0.236/trunk@138456 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-25 15:48:58 +00:00
wtc%netscape.com
8bf5c4cafc Bug 191823: implement PR_GetLibraryFilePathname for OS/2. The patch is
contributed by Julien Pierre <jpierre@netscape.com>.


git-svn-id: svn://10.0.0.236/trunk@138452 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-25 15:37:04 +00:00
wtc%netscape.com
12d3fe7269 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


git-svn-id: svn://10.0.0.236/trunk@138450 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-25 15:24:20 +00:00
wtc%netscape.com
6f8afb73ad Bug 186745: use the BSD getifaddrs() function to query the presence of
IPv4 and IPv6 network interfaces on NetBSD.


git-svn-id: svn://10.0.0.236/trunk@138448 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-25 15:13:22 +00:00
wtc%netscape.com
c1ed49d8a4 Bug 194298: inherit from the shell instead of the parent. The patch is
contributed by Michael Kaply <mkaply@us.ibm.com>.


git-svn-id: svn://10.0.0.236/trunk@138388 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 22:47:16 +00:00
seawood%netscape.com
9dfd61d929 Default to using absolute symlinks when building on Darwin.
Bug #193164 r=ccarlen


git-svn-id: svn://10.0.0.236/trunk@138298 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 16:58:47 +00:00
wtc%netscape.com
5d35d944e0 Bug 186745: on FreeBSD, use the getifaddrs function to query the presence
of IPv4 and IPv6 network interfaces.


git-svn-id: svn://10.0.0.236/trunk@138240 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 22:52:03 +00:00
wtc%netscape.com
1a833f934a 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.


git-svn-id: svn://10.0.0.236/trunk@138230 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 20:27:25 +00:00
wtc%netscape.com
e6d72154c0 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


git-svn-id: svn://10.0.0.236/trunk@138187 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:00:13 +00:00
kirk.erickson%sun.com
12fcf5e681 Changed License: MPL to MPL/GPL.
git-svn-id: svn://10.0.0.236/trunk@137768 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-13 18:24:07 +00:00
wtc%netscape.com
445b405dba Bug 192364: the "echo" command is not necessary. Use $(dist_includedir),
which is correct in all build configurations.


git-svn-id: svn://10.0.0.236/trunk@137742 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-13 02:03:12 +00:00
wtc%netscape.com
4c671a6d69 Bug 189501: use the PR_VERSION macro in prinit.h for version info. The
patch is contributed by Kirk Erickson <kirk.erickson@sun.com>.


git-svn-id: svn://10.0.0.236/trunk@137741 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-13 01:57:42 +00:00
wtc%netscape.com
905a4b6aa2 Bug 192962: include <string.h> for the declaration of memcpy.
Modified files: priometh.c prrng.c


git-svn-id: svn://10.0.0.236/trunk@137722 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-12 19:19:12 +00:00
sonja.mirtitsch%sun.com
88eb48f3e2 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


git-svn-id: svn://10.0.0.236/trunk@137602 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-08 22:45:13 +00:00
sonja.mirtitsch%sun.com
fffcceaac3 checking in Kirk's patch
git-svn-id: svn://10.0.0.236/trunk@137601 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-08 22:43:37 +00:00
sonja.mirtitsch%sun.com
9036f58d77 changing PRODUCT VERSION
git-svn-id: svn://10.0.0.236/trunk@137587 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-08 06:32:06 +00:00
wtc%netscape.com
0e9293021f 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>.


git-svn-id: svn://10.0.0.236/trunk@137354 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-04 04:23:55 +00:00
wtc%netscape.com
ff703600ef Bug 191270: added the ability to load a dynamic shared library (.dylib) on
Mac OS X.


git-svn-id: svn://10.0.0.236/trunk@137350 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-04 02:28:39 +00:00
wtc%netscape.com
b9c97da375 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


git-svn-id: svn://10.0.0.236/trunk@137346 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-04 01:45:28 +00:00
wtc%netscape.com
b44671fc7c 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.


git-svn-id: svn://10.0.0.236/trunk@136890 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-23 17:07:50 +00:00
wtc%netscape.com
0b8da990ed 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


git-svn-id: svn://10.0.0.236/trunk@136889 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-23 17:03:22 +00:00
wtc%netscape.com
783f471234 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


git-svn-id: svn://10.0.0.236/trunk@136698 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 20:52:48 +00:00
wtc%netscape.com
ce8700c963 Bug 80082: need to install libnspr_flt4.so in dist/bin too, for the Mozilla
client.


git-svn-id: svn://10.0.0.236/trunk@136682 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 16:29:42 +00:00
wtc%netscape.com
7d9945c67e 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


git-svn-id: svn://10.0.0.236/trunk@136681 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 16:26:24 +00:00
wtc%netscape.com
0b0de85fee 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


git-svn-id: svn://10.0.0.236/trunk@136571 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 02:04:45 +00:00
wtc%netscape.com
a21a8e2df0 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


git-svn-id: svn://10.0.0.236/trunk@136465 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 01:03:47 +00:00
wtc%netscape.com
2ed5827ecf 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


git-svn-id: svn://10.0.0.236/trunk@136419 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 16:16:34 +00:00
wtc%netscape.com
295a99a9a3 MACOS_DEPLOYMENT_TARGET only needs to be defined if we are building on
Mac OS X.


git-svn-id: svn://10.0.0.236/trunk@136348 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-15 00:07:02 +00:00