1333 Commits

Author SHA1 Message Date
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
wtc%netscape.com
b3a46ff143 Added cygwin-wrapper to the tip. Bug 141834.
git-svn-id: svn://10.0.0.236/trunk@127913 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 01:03:57 +00:00
wtc%netscape.com
07f1f35d31 Bug 164161: made PR_ResumeSet and PR_ResumeTest static and remove the
unused function PR_SuspendAllSuspended. Use the pt_ prefix for static
functions.


git-svn-id: svn://10.0.0.236/trunk@127908 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 00:04:19 +00:00
wtc%netscape.com
b0832a36fb 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.


git-svn-id: svn://10.0.0.236/trunk@127659 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 22:51:06 +00:00
wtc%netscape.com
6fd696962e The comments for PR_ConnectContinue incorrectly referred to
PR_GetConnectStatus.


git-svn-id: svn://10.0.0.236/trunk@127635 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 20:26:45 +00:00
wtc%netscape.com
90a3d136f5 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


git-svn-id: svn://10.0.0.236/trunk@127419 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 23:04:03 +00:00
wtc%netscape.com
9ce59ef31c 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.


git-svn-id: svn://10.0.0.236/trunk@127410 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 22:25:42 +00:00
seawood%netscape.com
28a70f6839 Fix build problem caused by having spaces in the username.
Bug #137059 r=dmose r=mcs


git-svn-id: svn://10.0.0.236/trunk@126994 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 10:37:25 +00:00
seawood%netscape.com
73319c11ca Add compiler test for +Olit=all support for hpux cc.
Bug #146426 r=wtc


git-svn-id: svn://10.0.0.236/trunk@126959 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 04:32:49 +00:00
wtc%netscape.com
2232defa0d Bug 158396: added comments explaining the importance of keeping the buffer
size and the sscanf format strings in sync.


git-svn-id: svn://10.0.0.236/trunk@126856 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-09 01:41:02 +00:00
seawood%netscape.com
fb4b9df951 Misc build cleanup v1:
Cleanup win32 configure output
Bug #161461 r=bryner


git-svn-id: svn://10.0.0.236/trunk@126803 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 21:39:26 +00:00
seawood%netscape.com
8e768703b6 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


git-svn-id: svn://10.0.0.236/trunk@126659 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 11:34:44 +00:00
wtc%netscape.com
2c04bc3eb8 Bug 136344: added type casts to allow compilation with a C++ compiler.
The patch is contributed by Nick Blievers <nickb@adacel.com.au>.


git-svn-id: svn://10.0.0.236/trunk@126568 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 00:40:44 +00:00
wtc%netscape.com
440721fc59 Bug 149195: added IPv6 support for IRIX. The patch is contributed by
nickb@adacel.com.au (Nick Blievers).


git-svn-id: svn://10.0.0.236/trunk@126561 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 00:16:39 +00:00
wtc%netscape.com
6ec7cdf9ee Bug 158396: fixed an off-by-one error. Replaced -1 by the EOF macro.
git-svn-id: svn://10.0.0.236/trunk@126560 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 00:11:38 +00:00
sfraser%netscape.com
473553d46e Fix bug 158927 -- controls not drawing correctly in QuickTime plugin. The problem was that the thread scheduling Timer Task would call WakeUpProcess() every time when we are blocked and not servicing NSPR threads (for example when tracking plugin controls). A side effect of this is to prevent Mac OS X from flushing the window back buffers, hence the drawing issues. Fix is to only call WakeUpProcess() if we've been through the scheduler since the last time. r=sdaglye, wtc. a=asa.
git-svn-id: svn://10.0.0.236/trunk@125921 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 01:01:36 +00:00
sfraser%netscape.com
a962c21d41 Fixing the MachO (DARWIN) build, which broke when wtc checked in a patch in bug 153525. r=bryner.
git-svn-id: svn://10.0.0.236/trunk@125673 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 04:06:07 +00:00
wtc%netscape.com
b01502356c Bug 153525: fixed build problems under gcc3 on Mac OS X. r=bryner.
Modified Files: _pth.h darwin.c


git-svn-id: svn://10.0.0.236/trunk@125653 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 23:54:12 +00:00
seawood%netscape.com
df86a25798 Remove DARWIN define from osx builds as it cripples the feature set provided by
OSX headers.
Bug #154232 r=wtc sr=scc a=scc


git-svn-id: svn://10.0.0.236/trunk@125441 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 04:11:48 +00:00
wtc%netscape.com
3c02768be9 Bug 141614: restored Matthew Zahorik's net_server nonblocking connect
logic, which accidentally got deleted when the BONE changes were checked
in. This patch was contributed by Arougthopher
<arougthopher@lizardland.net>.
Modified Files: bfile.c bmisc.c bnet.c


git-svn-id: svn://10.0.0.236/trunk@125377 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 06:04:42 +00:00
wtc%netscape.com
8db48c9761 Bug 157347: deleted the code that tried to escape the quotes around
command-line arguments. The patch was contributed by Michael Kaply
<mkaply@us.ibm.com>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@125353 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 01:45:57 +00:00
wtc%netscape.com
12d567be6b Bug 156633: the PR_CurrentThread nspr1.0 compatibility macro should be put
inside #ifndef NO_NSPR_10_SUPPORT.


git-svn-id: svn://10.0.0.236/trunk@124996 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 00:53:14 +00:00
sfraser%netscape.com
e2a032fe22 Fix for bug 139802; slow certificate authentication on Mac OS X. This was caused by the application spending lots of time in WaitNextEvent, called from its main event loop (which is a good thing, in terms of CPU usage). The problem is that NSPR threads then don't get enough time. This patch give the process scheduler a kick in the pants when NSPR is going to switch to another of its threads. r=wtc, r=sdagley
git-svn-id: svn://10.0.0.236/trunk@124920 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 01:14:23 +00:00
wtc%netscape.com
90c687bb0b Bug 119098: fixed the problem building NSPR tests on OS/2. The patch is
contributed by Michael Kaply <mkaply@us.ibm.com> and Julien Pierre
<jpierre@netscape.com>.


git-svn-id: svn://10.0.0.236/trunk@124780 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 00:09:32 +00:00
wtc%netscape.com
768aad2447 Set NSPR version to 4.2.1.
git-svn-id: svn://10.0.0.236/trunk@124333 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-29 00:33:08 +00:00
wtc%netscape.com
cb4e9d6cca Bug 150157: DosWrite is not returning an error when the disk is full.
We can tell the write failed if we did a partial write.  The patch is
contributed by Michael Kaply <mkaply@us.ibm.com>.


git-svn-id: svn://10.0.0.236/trunk@123870 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-22 14:39:43 +00:00
wtc%netscape.com
30e77d7c98 Updated for NSPR 4.2.1.
git-svn-id: svn://10.0.0.236/trunk@123697 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 18:13:10 +00:00
wtc%netscape.com
f6ea2a23b1 The previous checkin didn't work. Backed it out.
git-svn-id: svn://10.0.0.236/trunk@123305 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 05:37:41 +00:00
wtc%netscape.com
3e4310c8c8 Bug 151722: addr is in shared memory and is modified by another process, so
it needs to be declared volatile.


git-svn-id: svn://10.0.0.236/trunk@123300 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 05:25:52 +00:00
wtc%netscape.com
6dfc18db5c Bug 151711: gcc on OSF1 needs to use the -mieee flag.
git-svn-id: svn://10.0.0.236/trunk@123298 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 05:05:59 +00:00
wtc%netscape.com
b6972ae532 Bug 125819: fixed problems compiling using gcc on OSF1. The patch is
contributed by Chris Seawood <seawood@netscape.com>.
Modified Files: configure configure.in unix.c uxrng.c


git-svn-id: svn://10.0.0.236/trunk@123293 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 03:24:33 +00:00
wtc%netscape.com
66e159d87f Update the vercheck.c test for NSPR 4.2.1.
git-svn-id: svn://10.0.0.236/trunk@123258 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 22:15:59 +00:00
wtc%netscape.com
8289062b7c Set NSPR version to 4.2.1 Beta.
git-svn-id: svn://10.0.0.236/trunk@123256 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 22:13:15 +00:00
wtc%netscape.com
0a777bafa2 Bug 136458: removed the old -O workaround and use -m68020-60. The patch is
contributed by Richard Zidlicky <rz@linux-m68k.org>.  r=wtc.
Modified Files: configure.in configure Linux.mk


git-svn-id: svn://10.0.0.236/trunk@123252 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 22:00:29 +00:00
wtc%netscape.com
4b3c439243 Bug 144886: On platforms with gethostbyname2, add the infrastructure for
PR_GetIPNodeByName to implement PR_AI_ADDRCONFIG correctly.  Right now
only AIX implements the function to determine if the system has any IPv4
or IPv6 source address configured.  On other platforms PR_GetIPNodeByName
still behaves as if the system had both IPv4 and IPv6 source addresses
configured.


git-svn-id: svn://10.0.0.236/trunk@123238 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 20:47:39 +00:00
wtc%netscape.com
9817a97775 Bug 97475: the new 'af' field needs to be moved to the end of the
PRFilePrivate structure because the OJI code in Sun Java 2 1.3-1
distribution is reading the 'md.osfd' field of this private structure.


git-svn-id: svn://10.0.0.236/trunk@123233 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 20:30:13 +00:00
wtc%netscape.com
99c3104086 Bug 97475: some platforms, such as OpenVMS, require us to pass the exact
socket address length to socket functions like accept.  Just fixed enough
of this problem for OJI to work with Mozilla on OpenVMS.
Modified Files: _openvms.h primpl.h ptio.c


git-svn-id: svn://10.0.0.236/trunk@123227 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 18:05:26 +00:00
seawood%netscape.com
dc7263dc9e Fix real_install rules so that headers are still installed correctly if includedir is overridden on the commandline.
Bug #149483 r=blizzard


git-svn-id: svn://10.0.0.236/trunk@123212 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 09:01:48 +00:00