Commit Graph

1311 Commits

Author SHA1 Message Date
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
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
473fba6e09 Bug 169569: always use the Solaris ld (/usr/ccs/bin/ld) to link NSPR
shared libraries.  r=cls.
2002-09-19 00:11:54 +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
0448fe08e4 Updated for NSPR 4.3. 2002-08-28 20:21:57 +00:00
wtc%netscape.com
ce2f2d9763 Use cygwin-wrapper only when we are using cygwin (the mingw and cygwin
targets).
2002-08-28 19:53:05 +00:00
wtc%netscape.com
9869aee51e Merged the fix for bug 141834 (using cygwin-wrapper) on the tip. 2002-08-28 18:34:30 +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
9f499c3e8e 1. Checked in the fix for bug 157241 to enable debugging with gcc/gdb on
Linux with compiler optimizations on.
2. Cleaned up the fix for bug 137059. Replaced MOZ_DEBUG_ENABLE_DEFS by
DEFINES.
3. Backed out portions of the fix for bug 161461 that broke the build under
MKS toolkit.
4. Merged the fix for bug 141834 (using cygwin-wrapper) on the tip.
2002-08-23 01:11:26 +00:00
wtc%netscape.com
1fc6948d32 Added cygwin-wrapper to the tip. Bug 141834. 2002-08-23 01:03:57 +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
wtc%netscape.com
1570741b5a Bug 160030: check for __sparc and __i386, which is defined by the Solaris
compilers and gcc in strict ANSI conformance mode.  sparc and i386 are not
defined by the compilers in strict ANSI conformance mode.
Modified Files: _solaris32.cfg _solaris64.cfg
2002-08-15 23:04:03 +00:00
wtc%netscape.com
64b9fb5048 Bug 162930: fixed the bug that PR_GetSystemInfo always returns "sparc"
as PR_SI_ARCHITECTURE on Solaris, even though Solaris also runs on x86.
Thanks to Sonja Mirtitsch <sonja.mirtitsch@sun.com> for the fix.
2002-08-15 22:25:42 +00:00
seawood%netscape.com
47eef2251f Fix build problem caused by having spaces in the username.
Bug #137059 r=dmose r=mcs
2002-08-10 10:37:25 +00:00
seawood%netscape.com
80134bd76b Add compiler test for +Olit=all support for hpux cc.
Bug #146426 r=wtc
2002-08-10 04:32:49 +00:00
wtc%netscape.com
e07feebcb8 Bug 158396: added comments explaining the importance of keeping the buffer
size and the sscanf format strings in sync.
2002-08-09 01:41:02 +00:00
seawood%netscape.com
5e8299e14b Misc build cleanup v1:
Cleanup win32 configure output
Bug #161461 r=bryner
2002-08-08 21:39:26 +00:00
seawood%netscape.com
b44a58c8ff Remove explicitly linking against -lc on linux as it could break backwards binary compatibility. Linking using gcc/g++ should automatically link against libc.
Thanks to Franz.Sirl-kernel@lauterbach.com for the patch.
Bug #72766 r=wtc,cls
2002-08-07 11:34:04 +00:00
wtc%netscape.com
0c3ceb4878 Bug 136344: added type casts to allow compilation with a C++ compiler.
The patch is contributed by Nick Blievers <nickb@adacel.com.au>.
2002-08-07 00:40:44 +00:00
wtc%netscape.com
d1ce624aa5 Bug 149195: added IPv6 support for IRIX. The patch is contributed by
nickb@adacel.com.au (Nick Blievers).
2002-08-07 00:16:39 +00:00
wtc%netscape.com
c1150fe258 Bug 158396: fixed an off-by-one error. Replaced -1 by the EOF macro. 2002-08-07 00:11:38 +00:00