Commit Graph

1347 Commits

Author SHA1 Message Date
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
wtc%netscape.com
e1efb9c8fb A temporary fix for the Solaris gcc build. Removed the -z defs linker flag
because gcc-compiled objects reference symbols not defined in -lc.  The
correct fix is to use gcc to build the shared libraries, as we do on Linux.
Modified Files: configure.in configure
2003-01-07 20:49:41 +00:00
wtc%netscape.com
7fedc01878 Bug 158704: need to define a stub for PT_FPrintStats in classic NSPR. 2003-01-07 05:45:59 +00:00
wtc%netscape.com
69f9a94067 Bug 158704: PT_FPrintStats also needs to be exported (for the test programs
only).  Define it as a no-op in optimized builds.  Deleted PT_GetStats,
which is not useful.
Modified files: primpl.h, nspr.def, ptio.c
2003-01-07 04:52:25 +00:00
wtc%netscape.com
f5ecb8f66d Bug 158704: 1. Added comments explaining why we need to install an
additional copy of libnspr_flt4.so in pr/src/cpu/sparcv8plus if the
libnspr4.so installed in dist/lib is a symbolic link.
Modified files: pr/src/Makefile.in, pr/src/md/unix/Makefile.in
2. Made the 'release' and 'real_install' makefile targets install
libnspr_flt4.so in the cpu/sparcv8plus subdirectory of lib.
Modified files: config/rules.mk pr/src/md/unix/Makefile.in
2003-01-06 23:42:06 +00:00
wtc%netscape.com
664ebf4e1a Bug 158704: removed the workaround of using the non-existent pkg/Makefile
to cause AC_OUTPUT to create the pkg directory.  Create it explicitly.
2003-01-06 23:34:47 +00:00
wtc%netscape.com
99269d53f5 Bug 183907: increase the default and minimum thread stack size to 128K on
AIX because bos.rte.libc 4.3.3.88 includes a fix for a security bug that
greatly increases the amount of stack space used when calling functions
like gethostbyname.  Thanks to Philip K. Warren <pkw@us.ibm.com> for the
fix.
2003-01-06 22:13:28 +00:00
wtc%netscape.com
002c2f35eb Bug 158704: should use GARBAGE instead of ALL_TRASH to specify that
$(MAPFILE) should be removed by "make clean".  In pr/src, the "cpu"
directory needs to be removed if NSDISTMODE is not "copy".
Modified Files:
	pr/src/Makefile.in lib/ds/Makefile.in lib/libc/src/Makefile.in
2003-01-06 19:43:48 +00:00
wtc%netscape.com
7c67a9652b Bug 158704: merged the Solaris packaging stuff onto the trunk. The three
shared libraries are built with mapfiles that specify versioned export
symbols.  We use the $ORIGIN and $ISALIST linker keywords to specify the
location of the ultrasparc filtee.
2003-01-04 02:14:13 +00:00
wtc%netscape.com
bd38a5857a Bug 158704: the counter, ordered lock, and trace symbols should be defined
in optimized builds as well.
Modified files: prcountr.h prolock.h prtrace.h prcountr.c prolock.c
prtrace.c
2003-01-03 23:09:17 +00:00
wtc%netscape.com
5a65674f80 I forgot to make version NSPR_4.2 depend on version NSPR_4.0. 2003-01-03 22:22:47 +00:00
wtc%netscape.com
b6f1254572 Bug 158704: added nspr.def, plds.def, and plc.def to the tip (pre 4.3). 2003-01-03 22:14:14 +00:00
wtc%netscape.com
36fdf6fcbd Bug 185450: fixed a typo in pr_PredictNextNotifyTime which caused the
function to always return 0 instead of delta time interval.  The fix was
contributed by Peter Klavins <klavins@netspace.net.au>.
2002-12-17 18:28:46 +00:00
wtc%netscape.com
a1631f6efa Bug 176881: we should also look at the high 32 bits of the performance
counter frequency.  Ignoring the high part of the frequency will cause
our interval timer code to malfunction if the high part is not zero.
Also took the opportunity to simplify the arithmetics.
2002-12-12 14:51:20 +00:00
wtc%netscape.com
259b6a8d8a Bug 180293: moved the OpenVMS build from the POSIX subsystem to native VMS
(GNV).  The patch is contributed by Colin Blakes <colin@theblakes.com>.
Modified Files: configure configure.in rules.mk pr/include/md/Makefile
        openvms.c
Added Files: plds_symvec.opt plc_symvec.opt nspr_symvec.opt
2002-12-12 01:41:31 +00:00
wtc%netscape.com
63431a647a Bug 180293: ported nsinstall.c to native VMS (GNV) environment. The patch
is contributed by Colin Blakes <colin@theblakes.com>. r=brendan.
2002-12-12 00:28:25 +00:00
seawood%netscape.com
ae792115aa Add $(LDFLAGS) to the local nsinstall link command.
Bug #88283 r=wtc
2002-12-12 00:13:46 +00:00
wtc%netscape.com
901980a0bb Bug 166412: ported NSPR to AIX 5.1. AIX 5.1 is the same as AIX 4.3 as far
as NSPR is concerned.  Invented a new macro AIX4_3_PLUS to indicate AIX 4.3
or higher.
Modified files: configure configure.in _pth.h prnetdb.c
2002-12-11 23:10:41 +00:00
wtc%netscape.com
a57a9b5ba7 Bug 175423: fixed the problems pointed out by gcc's -pedantic-errors flag.
Modified files: prwin16.h unix.c
2002-12-11 23:03:31 +00:00
seawood%netscape.com
9d2e74f2fd Fix CFData memory leak.
Bug #131306 r=beard
2002-12-11 05:05:42 +00:00
wtc%netscape.com
7c3bd3bd72 Bug 162358: added NSPR file I/O functions that take UTF16 pathnames. The
patch is contributed by Roy Yokoyama <yokoyama@netscape.com>.
Modified Files: config/config.mk prio.h prtypes.h _win95.h primpl.h
                prdir.c prfile.c w95io.c ptio.c
2002-11-27 03:17:13 +00:00
seawood%netscape.com
1e654f2c3b Fix egrep syntax. 2002-11-23 09:59:07 +00:00
seawood%netscape.com
14c734c48d Properly detect OS_ARCH when building on Win32 ME.
Bug #180822 r=dmose,wtc
2002-11-23 06:06:12 +00:00
wtc%netscape.com
0a6e30e15a Bug 173827: deleted the l10n_debug cruft. Added the FLAG prefix to
the _LEFT, _SIGNED, _SPACED, _ZEROS, and _NEG macros.  This patch is
contributed by Brendan Eich.
2002-11-14 01:06:02 +00:00
seawood%netscape.com
7edce1fd98 Remove $(CONFIG) from real_install target. It was a typo anyway. 2002-11-09 09:23:31 +00:00
seawood%netscape.com
efa6ee335b Add CFM, CFBundle and mach-o library loading support to OSX NSPR. Support is only available if the carbon toolkit is detected at build time.
Original patch by Patrick Beard <beard@netscape.com> with modifications by Wan-Teh Chang <wtc@netscape.com>.
Bug #131306 r=cls
2002-11-06 05:10:22 +00:00