1734 Commits

Author SHA1 Message Date
nelson%bolyard.com
5b7f845a45 Bug 377451. Fix crash in cvt_s when string is longer than precision.
r=wtc,julien.pierre


git-svn-id: svn://10.0.0.236/trunk@225064 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 01:51:40 +00:00
nelson%bolyard.com
519737898f Bug 376062. Ignore failure of wsaioctlProc( SIO_SET_COMPATIBILITY_MODE,
patch by Seth Spitzer <sspitzer@mozilla.com> r=wtc, r=Masatoshi Kimura


git-svn-id: svn://10.0.0.236/trunk@224745 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-19 16:30:01 +00:00
sspitzer%mozilla.org
96d6f4c38b fix for bug #376062: can't connect with the internet on Wista RC1
r=wtc, r=Masatoshi Kimura


git-svn-id: svn://10.0.0.236/trunk@224472 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 22:31:06 +00:00
jwatt%jwatt.org
508cbd9747 Fixing bug 375985. Add compile time assertions to NSPR. r=wtchang@gmail.com
git-svn-id: svn://10.0.0.236/trunk@223995 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-02 09:08:49 +00:00
wtchang%redhat.com
f675db2261 Bugzilla bug 363997: define the WSAOVERLAPPED type properly to fix MinGW
build failure. The patch is contributed by Martijn Wargers
<martijn.martijn@gmail.com>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@221932 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-15 20:20:37 +00:00
wtchang%redhat.com
ed26fa6de8 Bugzilla bug 363997: when running on Windows Vista, set the sockets in the
compatibility mode so that the new TCP/IP stack in Windows Vista can
interoperate with all the TCP/IP implementations.  The patch is contributed
by Seth Spitzer <sspitzer@mozilla.com>. r=wtc,biesi
Modified Files: _win95.h w95io.c w95sock.c w95thred.c


git-svn-id: svn://10.0.0.236/trunk@221882 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-14 18:00:44 +00:00
wtchang%redhat.com
0ecc6a4799 Bug 34843: PR_StringToNetAddr and PR_NetAddrToString should call
getaddrinfo and getnameinfo if they exist.  Based on the patch contributed
by Noriko Hosoi <nhosoi@redhat.com>.  r=nhosoi
Modified files: _win95.h _winnt.h prnetdb.c


git-svn-id: svn://10.0.0.236/trunk@221162 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-01 18:11:17 +00:00
wtchang%redhat.com
25355e66ec Bug 369467: use a more robust way to ensure the pointer p does not point
before the array big.  The patch is contributed by Wolfgang Rosenauer
<mozilla@rosenauer.org>. r=wtc


git-svn-id: svn://10.0.0.236/trunk@220323 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 18:23:15 +00:00
wtchang%redhat.com
ed53ac652d Bug 362768: implemented NSPR shared library finalization function for AIX.
r=nelsonb
Modified files: pr/src/Makefile.in ptthread.c


git-svn-id: svn://10.0.0.236/trunk@218709 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-20 20:27:53 +00:00
wtchang%redhat.com
d84e6b8b15 Bug 329807: define struct _md_sockaddr_in6 because HP-UX's struct
sockaddr_in6 is only 32-bit aligned.  r=nelsonb


git-svn-id: svn://10.0.0.236/trunk@218520 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 18:11:06 +00:00
wtchang%redhat.com
fd791c2710 Bugzilla bug 362768: improved comments.
git-svn-id: svn://10.0.0.236/trunk@218420 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 01:39:41 +00:00
wtchang%redhat.com
65700607ad Bug 365997: declared the variable 'dst' as pointer to const.
git-svn-id: svn://10.0.0.236/trunk@218413 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 00:24:09 +00:00
wtchang%redhat.com
d79a228558 Bug 365997: changed timetest to test the years 2005-2008 rather than the
years 1993-1996.  This tests its ability to use both the old and new DST
rules.  Patch by Nelson Bolyard of Sun Microsystems. r=alexei.volkov


git-svn-id: svn://10.0.0.236/trunk@218409 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 00:13:59 +00:00
wtchang%redhat.com
03d61041e2 Bug 365997: updated PR_USPacificTimeParameters with the new US Daylight
Saving Time rule.  By Nelson Bolyard of Sun Microsystems.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@218407 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 00:06:21 +00:00
wtchang%redhat.com
12ebcb03ec Bugzilla bug 362768: restored the _pt_thread_death call in _PR_Fini because
the cause of the hang on Mozilla shutdown (JavaScript bug 366869) has been
fixed.


git-svn-id: svn://10.0.0.236/trunk@218263 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-13 01:20:41 +00:00
wtchang%redhat.com
f978dd74f5 Bug 329807: set USE_IPV6=1 (define _PR_INET6) on HP-UX B.11.23 or later,
based on information from HP.  r=nelsonb,darin
Modified files: configure configure.in _hpux.h


git-svn-id: svn://10.0.0.236/trunk@218255 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-13 00:32:39 +00:00
wtchang%redhat.com
f46ba9a6a4 Bugzilla bug 362768: commented out the _pt_thread_death call in _PR_Fini
that was causing a hang on Mozilla shutdown.  It may not be safe to call
NSPR thread private data destructors in _PR_Fini.


git-svn-id: svn://10.0.0.236/trunk@218247 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-12 18:59:31 +00:00
wtchang%redhat.com
f92a4f7139 Bug 362768: implemented NSPR shared library finalization function for major
Unix platforms.  r=nelsonb
Modified files: pr/src/Makefile.in ptthread.c


git-svn-id: svn://10.0.0.236/trunk@218226 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 22:27:44 +00:00
wtchang%redhat.com
9b59ea464e Bug 254983: implemented PR_DetachThread for Unix. r=nelsonb
git-svn-id: svn://10.0.0.236/trunk@218185 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 02:06:17 +00:00
wtchang%redhat.com
4fc6771a7c Bug 365703: added a level of parenthesis. Suggested by Mike Hommey.
Modified files: prlog.c prtrace.c


git-svn-id: svn://10.0.0.236/trunk@217863 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 22:30:38 +00:00
wtchang%redhat.com
df5993f5a2 Bug 365703: turn off logging and tracing if the effective group ID is
different from the real group ID.  The patch is suggested by Mike Hommey
<mh+mozilla@glandium.org>.  r=nelsonb,wtc.
Modified files: prlog.c prtrace.c


git-svn-id: svn://10.0.0.236/trunk@217860 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 22:26:27 +00:00
wtchang%redhat.com
baeea2fe1e Bugzilla Bug 362134: fixed a crash in dtoa when running with reduced CPU
float precision.  Original patch for jsdtoa.c in JavaScript by Keith Victor
<keith@virtock.com>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@217323 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-21 22:41:42 +00:00
wtchang%redhat.com
ff4f6cd0b2 Bugzilla Bug 360933: removed dead code (for the plevent.h functions and for
Win16 support).
Modified Files:
	README.TXT
Removed Files:
	w16gui/.cvsignore w16gui/Makefile.in w16gui/popfile.c
	w16gui/popfind.c w16gui/popfont.c w16gui/poppad.c
	w16gui/poppad.h w16gui/poppad.ico w16gui/poppad.rc
	w16gui/popprnt0.c w16gui/readme.1st


git-svn-id: svn://10.0.0.236/trunk@217168 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 02:33:05 +00:00
wtchang%redhat.com
3d53310c7b Bugzilla Bug 360933: removed the 'windows' directory from CVS.
git-svn-id: svn://10.0.0.236/trunk@217167 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 02:25:11 +00:00
wtchang%redhat.com
45f6755c7f Bugzilla Bug 360933: removed dead code (for the plevent.h functions, which
have been moved to XPCOM).
Removed files: makefile readme.1st winevent.c


git-svn-id: svn://10.0.0.236/trunk@217166 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 02:21:06 +00:00
wtchang%redhat.com
2e366638ed [OS/2] Bug 351246: Load Mozilla into Highmem on OS/2. Part 2, changes to
NSPR. By Peter Weilbacher <mozilla@weilbacher.org>. r=mkaply, sr=wtc


git-svn-id: svn://10.0.0.236/trunk@216989 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 19:29:25 +00:00
mozilla%weilbacher.org
f4e25b5f8e [OS/2] Bug 351246: Load Mozilla into Highmem on OS/2. Part 2, changes to NSPR. r=mkaply, sr=wtc
git-svn-id: svn://10.0.0.236/trunk@216905 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 22:00:25 +00:00
wtchang%redhat.com
1cb0ab078a Bug 236613: added newline to the end of file.
git-svn-id: svn://10.0.0.236/trunk@216896 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 19:35:56 +00:00
gerv%gerv.net
a54c420f30 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@216839 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 09:45:41 +00:00
wtchang%redhat.com
078873d980 Bugzilla Bug 363092: removed the pthread_kill macro definition. Mac OS X
has had the pthread_kill function since 10.2.   The patch is contributed by
Josh Aas <joshmoz@gmail.com>.  r=mark.mentovai,wtc


git-svn-id: svn://10.0.0.236/trunk@216775 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 22:58:13 +00:00
wtchang%redhat.com
861ea09ed1 Bugzilla Bug 363092: made 10.2 the default Mac OS X ppc deployment target.
r=josh.aas


git-svn-id: svn://10.0.0.236/trunk@216774 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 22:56:43 +00:00
wtchang%redhat.com
50fccfcc92 Bugzilla Bug 362246: enable large-file support on Mac OS X.
r=mark.mentovai,bienvenu


git-svn-id: svn://10.0.0.236/trunk@216575 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-06 17:57:34 +00:00
wtchang%redhat.com
428c8e735c Bugzilla Bug 354593: checked in minor changes suggested by Nelson. r=nelson
git-svn-id: svn://10.0.0.236/trunk@216194 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 00:26:35 +00:00
wtchang%redhat.com
7e47d9e409 Bugzilla Bug 354593: fixed a race condition in the creation of the lock
that protects localtime() by creating the lock during NSPR initialization.
r=aleksey.sanin,nelson.bolyard.  The patch is contributed by Mark Stevans
<marks@coral8.com>.
Modified files: primpl.h prinit.c prtime.c ptthread.c


git-svn-id: svn://10.0.0.236/trunk@216170 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 21:22:55 +00:00
wtchang%redhat.com
a0402341f1 Bugzilla Bug 355999: fix up for kfreebsd support. The patch is contributed
by Petr.Salinger@seznam.cz. r=wtc
Modified files: _linux.cfg _linux.h


git-svn-id: svn://10.0.0.236/trunk@216132 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 01:11:46 +00:00
wtchang%redhat.com
52dc80a8b2 Bugzilla Bug 353729: handle PR_vsmprintf failure in PR_vfprintf. r=timeless
git-svn-id: svn://10.0.0.236/trunk@216130 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 00:39:19 +00:00
wtchang%redhat.com
27228a603a Updated for the current platform list. Pass the -p option to mkdir to
handle a directory in WIN_OBJDIRS of the form msvc6.0/WIN954.0_DBG.OBJ.


git-svn-id: svn://10.0.0.236/trunk@215714 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 22:42:57 +00:00
wtchang%redhat.com
945a67dc99 Bugzilla Bug 360169: changed the value of the _PR_SI_ARCHITECTURE macro
back to "hppa1.1" for backward compatibility. r=nelsonb


git-svn-id: svn://10.0.0.236/trunk@215240 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-14 00:50:17 +00:00
julien.pierre.bugs%sun.com
8aa9be9e09 Fix for bug 356616 . NSPR DLLs should build at default base address. r=wtchang
git-svn-id: svn://10.0.0.236/trunk@213831 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-19 00:36:57 +00:00
wtchang%redhat.com
3cb56aca4f Bugzilla Bug 335301: handle memory allocation failure in PR_OpenDir. The
patch is contributed by Ryan Jones <sciguyryan+bugzilla@gmail.com>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@213751 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-17 17:32:34 +00:00
mozilla%weilbacher.org
389729191d [OS/2] Bug 346376: Don't use PRTYC_IDLETIME class for thread priorities, r=mkaply, sr=wtchang
git-svn-id: svn://10.0.0.236/trunk@213167 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-05 12:32:06 +00:00
mozilla%weilbacher.org
c01722ac8f [OS/2] Bug 333639: Add note about assembleCmdLine() usage and fix build warnings in _PR_CreateOS2Process(), r=wtchang, sr=mkaply
git-svn-id: svn://10.0.0.236/trunk@213166 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-05 12:27:44 +00:00
wtchang%redhat.com
59c764a67d Bugzilla Bug 354305: allows to build NSPR on FreeBSD 6.2. Support for
getprotobyname_r() function is added since 6.2-BETA1, with the same 5-args
form of GLIBC 2.  Contributed by Diego Pettenò <flameeyes@gentoo.org>.
r=wtc


git-svn-id: svn://10.0.0.236/trunk@212388 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-26 17:17:10 +00:00
wtchang%redhat.com
93d4002a3c Bugzilla Bug 353427: changed PL_FPrintError to use PR_ErrorToName to avoid
duplicating the error table.  This fixed an array index out of bounds error
reported by Klockwork as a by-product. r=nelsonb.


git-svn-id: svn://10.0.0.236/trunk@212141 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-22 02:10:40 +00:00
wtchang%redhat.com
3f1230d251 Bugzilla Bug 353527: put the call to a conditionally defined function in
an ifdef.  Contributed by Steve Snyder <swsnyder@insightbb.com>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@212134 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-22 00:55:55 +00:00
wtchang%redhat.com
f99108d73b Bugzilla Bug 352816: don't need to call _pr_CopyLowBits if size (free space
in buf) is 0. The patch is contributed by Sergei Dolgov
<sergei_d@fi.tartu.ee>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@211818 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-15 16:48:50 +00:00
wtchang%redhat.com
3c1cce67c4 Bugzilla Bug 351609: test lib->dlh before calling NSUnLinkModule on Mac.
r=Mark Mentovai


git-svn-id: svn://10.0.0.236/trunk@209877 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 18:26:19 +00:00
wtchang%redhat.com
21c7257c4d Bugzilla Bug 337637: fixed a memory leak on error in _MD_OpenSharedMemory.
The patch is contributed by Bruno 'Aqualon' Escherl  <aqualon@aquachan.de>.
r=wtc.


git-svn-id: svn://10.0.0.236/trunk@209872 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 17:58:53 +00:00
alexei.volkov.bugs%sun.com
fdad5a6d97 351470: setuid root programs linked with NSPR allow elevation of privilege. r=nelson, sr=wtc
git-svn-id: svn://10.0.0.236/trunk@209393 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-07 23:33:39 +00:00
alexei.volkov.bugs%sun.com
51e2f80206 351470: setuid root programs linked with NSPR allow elevation of privilege.
patch #1. r=nelson, sr=wtc


git-svn-id: svn://10.0.0.236/trunk@209389 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-07 22:58:43 +00:00