Граф коммитов

988 Коммитов

Автор SHA1 Сообщение Дата
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 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 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 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 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 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 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
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
wtc%netscape.com d73aa81a3e Bug 176543: handle the case of invoking a program wit no arguments. The
command line should be an empty string in that case.  Initialize newEnvp.
The patch is contributed by Michael Kaply <mkaply@us.ibm.com>.
2002-10-31 05:00:01 +00:00
wtc%netscape.com ea3553c66c Bug 168831: fixed the bug that PR_Poll was ignoring out_flags reported by
the poll methods of I/O layers on the Mac.  This patch was written by
jgmyers and reviewed by sfraser and wtc.
2002-10-25 12:43:40 +00:00
wtc%netscape.com 22bb5656fc Bug 115865: our code only uses the lower 32 bits of the result of
QueryPerformanceFrequency, so assert that the higher 32 bits are all zeros.
2002-10-24 04:10:25 +00:00
wtc%netscape.com 72e5b42617 Bug 175668: merged the fix for the pointer aliasing bug from the 2001
version of dtoa.c.  Removed the workaround of disabling compiler
optimizations on AIX.
Modified Files: Makefile.in prdtoa.c
2002-10-22 21:28:03 +00:00
wtc%netscape.com 532e41706a Converted runtests.ksh (rev. 1.25) into a Bourne shell script. Replaced
Korn shell's echo command by the printf command.
2002-10-13 00:04:00 +00:00
wtc%netscape.com cc59e07bc8 Bug 165602: checked in Brian Ryner's changes to allow Mac OS X 10.2 builds
to run on 10.1. r=wtc.
Modified files: configure configure.in pr/src/misc/prdtoa.c
2002-09-26 12:51:34 +00:00
wtc%netscape.com ce67f2977e Bug 168993: PR_Poll should clear out_flags for null fd's. r=jgmyers.
Modified files: bfile.c os2poll.c uxpoll.c w32poll.c ptio.c
2002-09-24 14:24:46 +00:00
wtc%netscape.com 6647589dbd Bug 72100: added macros for the maximum and minimum values of PRInt8,
PRUint8, PRInt16, PRUint16, PRInt32, and PRUint32. r=jkeiser.
2002-09-18 14:23:46 +00:00
wtc%netscape.com 433fd93736 Bug 167375: configuration changes needed for building on BSD/OS 5.0.
The patch is contributed by lidl@pix.net.
Modified files: configure configure.in _bsdi.h
2002-09-12 15:04:22 +00:00
wtc%netscape.com 78d5b8954c Bug 166716: do not assert in the unimplemented memory-mapped file
functions.  It is sufficient for them to fail with the not implemented
error.
Modified Files: bmmap.c macio.c os2misc.c
2002-09-06 01:37:32 +00:00
wtc%netscape.com 45243e441e Bug 166257: declare 'temp' with #if DEBUG because it is only used in code
that is ifdef'd with DEBUG.  Thanks to timeless@bemail.org for the patch.
2002-09-04 01:29:48 +00:00
wtc%netscape.com e48c896a05 Bug 166257: removed an unused variable. Thanks to timeless@bemail.org for
the fix.
2002-09-04 01:27:00 +00:00
wtc%netscape.com ceef367eb7 Updated for NSPR 4.3. 2002-08-28 20:27:31 +00:00
wtc%netscape.com 6a068d3fbb Set NSPR version to 4.3 Beta. 2002-08-28 20:22:15 +00:00
wtc%netscape.com a9ca130b52 Set NSPR version to 4.2.2 Beta. 2002-08-28 18:23:30 +00:00
wtc%netscape.com 0bb7a6d8b3 Updated for NSPR 4.2.2. 2002-08-28 18:21:32 +00:00
wtc%netscape.com a3cda0936d Bug 161998: fixed the race condition between PR_Cleanup and a CPU thread
that times out from the GetQueuedCompletionStatus call in the WINNT build.
The fix is to shut down the CPU threads in PR_Cleanup.
Modified Files: _winnt.h primpl.h ntthread.c prinit.c prucpu.c
2002-08-28 00:04:47 +00:00
wtc%netscape.com 7ff01d2213 Bug 164161: made PR_ResumeSet and PR_ResumeTest static and remove the
unused function PR_SuspendAllSuspended. Use the pt_ prefix for static
functions.
2002-08-23 00:04:19 +00:00
wtc%netscape.com e165c27d7a Fixed the comments for PR_Poll. PR_Poll only works on sockets; the support
for files is not portable. Document the fd field of PRPollDesc.
2002-08-19 22:51:06 +00:00
wtc%netscape.com 2d3c402498 The comments for PR_ConnectContinue incorrectly referred to
PR_GetConnectStatus.
2002-08-19 20:26:45 +00:00