1320 Commits

Author SHA1 Message Date
wtc%netscape.com
ae0fe3d699 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


git-svn-id: svn://10.0.0.236/trunk@135990 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:19:01 +00:00
wtc%netscape.com
86d10f26d7 The PTDebug type doesn't need to be defined in optimized builds.
git-svn-id: svn://10.0.0.236/trunk@135971 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 03:28:54 +00:00
wtc%netscape.com
41c6e98c5f Use quotes instead of angle brackets to fix classic mac bustage.
git-svn-id: svn://10.0.0.236/trunk@135941 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 20:51:24 +00:00
wtc%netscape.com
632edaed3f 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


git-svn-id: svn://10.0.0.236/trunk@135940 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 20:49:41 +00:00
wtc%netscape.com
e5334c1c96 Bug 158704: need to define a stub for PT_FPrintStats in classic NSPR.
git-svn-id: svn://10.0.0.236/trunk@135932 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 05:45:59 +00:00
wtc%netscape.com
1ac1a4cd07 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


git-svn-id: svn://10.0.0.236/trunk@135927 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 04:52:25 +00:00
wtc%netscape.com
d9c6fe3fae 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


git-svn-id: svn://10.0.0.236/trunk@135913 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 23:42:06 +00:00
wtc%netscape.com
d26e21b83e Bug 158704: removed the workaround of using the non-existent pkg/Makefile
to cause AC_OUTPUT to create the pkg directory.  Create it explicitly.


git-svn-id: svn://10.0.0.236/trunk@135912 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 23:34:47 +00:00
wtc%netscape.com
2f2e3e4bd3 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.


git-svn-id: svn://10.0.0.236/trunk@135902 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 22:13:28 +00:00
wtc%netscape.com
6a4400f0c5 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


git-svn-id: svn://10.0.0.236/trunk@135893 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 19:43:48 +00:00
wtc%netscape.com
f38ca95e78 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.


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


git-svn-id: svn://10.0.0.236/trunk@135839 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 23:09:17 +00:00
wtc%netscape.com
2e088382b2 I forgot to make version NSPR_4.2 depend on version NSPR_4.0.
git-svn-id: svn://10.0.0.236/trunk@135838 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 22:22:47 +00:00
wtc%netscape.com
a0936b7c6f Bug 158704: added nspr.def, plds.def, and plc.def to the tip (pre 4.3).
git-svn-id: svn://10.0.0.236/trunk@135837 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 22:14:14 +00:00
wtc%netscape.com
b830b449ec 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>.


git-svn-id: svn://10.0.0.236/trunk@135410 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 18:28:46 +00:00
wtc%netscape.com
2b957e0bab 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.


git-svn-id: svn://10.0.0.236/trunk@135170 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-12 14:51:20 +00:00
wtc%netscape.com
b4939c1915 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


git-svn-id: svn://10.0.0.236/trunk@135156 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-12 01:41:31 +00:00
wtc%netscape.com
c898f0120e Bug 180293: ported nsinstall.c to native VMS (GNV) environment. The patch
is contributed by Colin Blakes <colin@theblakes.com>. r=brendan.


git-svn-id: svn://10.0.0.236/trunk@135151 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-12 00:28:25 +00:00
seawood%netscape.com
9ad86c9304 Add $(LDFLAGS) to the local nsinstall link command.
Bug #88283 r=wtc


git-svn-id: svn://10.0.0.236/trunk@135147 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-12 00:13:46 +00:00
wtc%netscape.com
e8cfa137a1 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


git-svn-id: svn://10.0.0.236/trunk@135142 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 23:10:41 +00:00
wtc%netscape.com
edd8212c6a Bug 175423: fixed the problems pointed out by gcc's -pedantic-errors flag.
Modified files: prwin16.h unix.c


git-svn-id: svn://10.0.0.236/trunk@135141 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 23:03:31 +00:00
seawood%netscape.com
cd7937182e Fix CFData memory leak.
Bug #131306 r=beard


git-svn-id: svn://10.0.0.236/trunk@135110 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 05:05:42 +00:00
wtc%netscape.com
7a20504c45 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


git-svn-id: svn://10.0.0.236/trunk@134523 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-27 03:17:13 +00:00
seawood%netscape.com
ae0f08c6b0 Fix egrep syntax.
git-svn-id: svn://10.0.0.236/trunk@134365 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-23 09:59:07 +00:00
seawood%netscape.com
f7a5f8eec0 Properly detect OS_ARCH when building on Win32 ME.
Bug #180822 r=dmose,wtc


git-svn-id: svn://10.0.0.236/trunk@134362 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-23 06:06:12 +00:00
wtc%netscape.com
c224c7ae61 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.


git-svn-id: svn://10.0.0.236/trunk@133796 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 01:06:02 +00:00
seawood%netscape.com
bec7157f3e Remove $(CONFIG) from real_install target. It was a typo anyway.
git-svn-id: svn://10.0.0.236/trunk@133467 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 09:23:31 +00:00
seawood%netscape.com
4ee80820c1 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


git-svn-id: svn://10.0.0.236/trunk@133114 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 05:10:22 +00:00
wtc%netscape.com
a06389d13d 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>.


git-svn-id: svn://10.0.0.236/trunk@132760 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-31 05:00:01 +00:00
wtc%netscape.com
864087d9c6 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.


git-svn-id: svn://10.0.0.236/trunk@132525 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-25 12:43:40 +00:00
wtc%netscape.com
92651ad585 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.


git-svn-id: svn://10.0.0.236/trunk@132441 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 04:10:25 +00:00
wtc%netscape.com
fbe2f49a08 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


git-svn-id: svn://10.0.0.236/trunk@132379 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-22 21:28:03 +00:00
wtc%netscape.com
a540a3c70b Converted runtests.ksh (rev. 1.25) into a Bourne shell script. Replaced
Korn shell's echo command by the printf command.


git-svn-id: svn://10.0.0.236/trunk@131877 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-13 00:04:00 +00:00
wtc%netscape.com
cf0e5f700d 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


git-svn-id: svn://10.0.0.236/trunk@130523 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 12:51:34 +00:00
wtc%netscape.com
bfeaab7530 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


git-svn-id: svn://10.0.0.236/trunk@130354 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 14:24:46 +00:00
wtc%netscape.com
c0e111cf86 Bug 169569: always use the Solaris ld (/usr/ccs/bin/ld) to link NSPR
shared libraries.  r=cls.


git-svn-id: svn://10.0.0.236/trunk@129980 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-19 00:11:54 +00:00
wtc%netscape.com
d979b885ba Bug 72100: added macros for the maximum and minimum values of PRInt8,
PRUint8, PRInt16, PRUint16, PRInt32, and PRUint32. r=jkeiser.


git-svn-id: svn://10.0.0.236/trunk@129902 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 14:23:46 +00:00
wtc%netscape.com
96fe5c4899 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


git-svn-id: svn://10.0.0.236/trunk@129351 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 15:04:22 +00:00
wtc%netscape.com
01a7871a7f 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


git-svn-id: svn://10.0.0.236/trunk@128930 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 01:37:32 +00:00
wtc%netscape.com
789c824caa 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.


git-svn-id: svn://10.0.0.236/trunk@128790 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 01:29:48 +00:00
wtc%netscape.com
ce6bccbfd7 Bug 166257: removed an unused variable. Thanks to timeless@bemail.org for
the fix.


git-svn-id: svn://10.0.0.236/trunk@128788 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 01:27:00 +00:00
wtc%netscape.com
bb1ca285a3 Updated for NSPR 4.3.
git-svn-id: svn://10.0.0.236/trunk@128375 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 20:27:31 +00:00
wtc%netscape.com
92d4dc2f03 Set NSPR version to 4.3 Beta.
git-svn-id: svn://10.0.0.236/trunk@128374 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 20:22:15 +00:00
wtc%netscape.com
2c2930d6d0 Updated for NSPR 4.3.
git-svn-id: svn://10.0.0.236/trunk@128373 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 20:21:57 +00:00
wtc%netscape.com
6deb776e17 Use cygwin-wrapper only when we are using cygwin (the mingw and cygwin
targets).


git-svn-id: svn://10.0.0.236/trunk@128368 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 19:53:05 +00:00
wtc%netscape.com
31d1c25d30 Merged the fix for bug 141834 (using cygwin-wrapper) on the tip.
git-svn-id: svn://10.0.0.236/trunk@128365 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 18:34:30 +00:00
wtc%netscape.com
b2dbf23328 Set NSPR version to 4.2.2 Beta.
git-svn-id: svn://10.0.0.236/trunk@128364 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 18:23:30 +00:00
wtc%netscape.com
70a1745c7f Updated for NSPR 4.2.2.
git-svn-id: svn://10.0.0.236/trunk@128363 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 18:21:32 +00:00
wtc%netscape.com
7197a32e24 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


git-svn-id: svn://10.0.0.236/trunk@128312 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 00:04:47 +00:00
wtc%netscape.com
3f7c990b78 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.


git-svn-id: svn://10.0.0.236/trunk@127914 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 01:11:26 +00:00