1759 Commits

Author SHA1 Message Date
julien.pierre.boogz%sun.com
afa2c89c0d Fix for bug 402669 . Crash in PR_Socket with IPv6 emulation on VMS and WinNT . Patch created by Nelson. r=julien, wtc
git-svn-id: svn://10.0.0.236/trunk@238614 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-07 02:34:30 +00:00
wtc%google.com
abd067a3ce Bug 401768: enable us to build with gcc 3.3 and an SDK on Mac OS X 10.5
Leopard.  The patch is contributed by Mark Mentovai <mark@moxienet.com>.
r=wtc.


git-svn-id: svn://10.0.0.236/trunk@238389 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-31 17:56:18 +00:00
wtc%google.com
6238537306 Bug 400957: free logBuf in _PR_LogCleanup to fix a memory leak. r=kengert.
git-svn-id: svn://10.0.0.236/trunk@238093 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-24 20:32:41 +00:00
mozilla%weilbacher.org
ccb3ba3bfe [OS/2] Bug 399647: fix OS/2 build break in prlog.c and correct warning, r=wtc
git-svn-id: svn://10.0.0.236/trunk@237827 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-16 18:37:31 +00:00
julien.pierre.boogz%sun.com
5dc46d9a79 Partial fix for bug 254987 . Reset some variables after cleanup to prevent assertions in reinitialization of NSPR. r=wtc
git-svn-id: svn://10.0.0.236/trunk@236802 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-27 22:34:52 +00:00
julien.pierre.boogz%sun.com
2677c9da30 Fix for bug 318877 . NSPR initialization crashes if OS_TARGET is WINNT on AMD64. Fix casts to work with updated Windows SDK headers. r=wtchang
git-svn-id: svn://10.0.0.236/trunk@235959 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-13 21:48:45 +00:00
julien.pierre.boogz%sun.com
b0459dbfd9 Fix for bug 383857 . NSPR still uses the MSVC -G5 flag . r=wtc
git-svn-id: svn://10.0.0.236/trunk@235925 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-13 01:37:34 +00:00
wtc%google.com
eccfb8d933 Bug 244478: allow a logging line to be longer than LINE_BUF_SIZE (512)
characters.  The patch is contributed by Dan Witte <dwitte@stanford.edu>.
r=wtc.


git-svn-id: svn://10.0.0.236/trunk@233802 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-03 15:41:09 +00:00
wtc%google.com
721bd9be41 Bug 239371: allow PR_ParseTimeString to accept 5-digit years (but less
than 32767, the maximum 16-bit signed integer).  The patch is contributed
by Dan Witte <dwitte@stanford.edu>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@233722 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-02 01:36:40 +00:00
wtc%google.com
b81f3bd5b7 Bug 392722: fixed the bug that nsinstall chokes on double slashes in path.
The patch is contributed by Fabien Tassin <fta+bugzilla@sofaraway.org>.
r=wtc.


git-svn-id: svn://10.0.0.236/trunk@233540 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-01 05:36:33 +00:00
julien.pierre.boogz%sun.com
5ff3932b74 Fix for bug 369036. Prevent infinite loop in pt_SolarisSendFile. r=wtchang, nelson
git-svn-id: svn://10.0.0.236/trunk@233271 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 01:30:07 +00:00
wtc%google.com
bb61ad7d56 Bug 391499: Put the pr_GetAddrInfoByNameFB function inside an ifdef so that
it is only defined when it is needed.  In PR_EnumerateAddrInfo, added a
while loop to skip socket addresses returned by getaddrinfo that are larger
than PRNetAddr.  Convert AF_INET6 to/from PR_AF_INET6.  Set the sa_len
field of struct sockaddr before passing it to getnameinfo.
r=cbiesinger,nhosoi


git-svn-id: svn://10.0.0.236/trunk@231988 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-14 00:10:59 +00:00
wtc%google.com
e33d59fda2 Bug 364334: reject too much junk at the end of a date/time string.
Fixed a typo that makes us fail to parse "AST" as a timezone.  The
patch is contributed by Mats Palmgren <mats.palmgren@bredband.net>.
r=wtc.


git-svn-id: svn://10.0.0.236/trunk@231630 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-08 01:56:31 +00:00
nelson%bolyard.com
8495ce7432 Bug 346354 - Add test program for new PL_CreateLongOptState function. r=wtc
git-svn-id: svn://10.0.0.236/trunk@231619 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-08 00:40:16 +00:00
wtc%google.com
7095a0094f Bug 386742: added a new function, PR_ParseTimeStringToExplodedTime, which
is the same as PR_ParseTimeString except that it returns the result in a
PRExplodedTime structure.  The patch is contributed by Christian Eyrich
<ch.ey@gmx.net>.  r=wtc.
Modified Files: prtime.h nspr.def prtime.c


git-svn-id: svn://10.0.0.236/trunk@231573 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-07 02:13:00 +00:00
nelson%bolyard.com
8733f6d407 Bug 346354 - add capability to parse string command line options, r=wtc
git-svn-id: svn://10.0.0.236/trunk@231495 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-04 23:26:07 +00:00
nelson%bolyard.com
d824c01c5c Bug 387954 – fix NT version of PR_Accept on IPv6 listen socket. r=wtc
git-svn-id: svn://10.0.0.236/trunk@230916 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 06:45:08 +00:00
wtc%google.com
fce55018eb Bugzilla Bug 385347: change "CompanyName" to "Mozilla Foundation\0" and
remove the optional "LegalCopyright".  r=sspitzer
Modified Files: plds.rc plc.rc prstrms.rc nspr.rc


git-svn-id: svn://10.0.0.236/trunk@230402 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 23:21:43 +00:00
kaie%kuix.de
b7977f232a Bug 383977, Crash on exit caused by thread local storage cleanup [@ PL_DHashTableOperate]
r=wtc


git-svn-id: svn://10.0.0.236/trunk@229467 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-07 01:02:16 +00:00
wtc%google.com
813f6f6560 Bug 350616: use Microsoft (R) Manifest Tool to build tests. The patch is
contributed by Ted Mielczarek <ted.mielczarek@gmail.com>.  r=wtc


git-svn-id: svn://10.0.0.236/trunk@227730 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-09 17:30:15 +00:00
wtc%google.com
84af1c7d32 Bug 350616: detect and use Microsoft (R) Manifest Tool. The patch is
contributed by Ted Mielczarek <ted.mielczarek@gmail.com>.  r=wtc
Modified files: configure configure.in autoconf.mk.in rules.mk


git-svn-id: svn://10.0.0.236/trunk@227729 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-09 16:28:46 +00:00
wtc%google.com
e089810f24 Bugzilla bug 375985: Moved the definition of PR_STATIC_ASSERT from perror.h
to prlog.h, where the related PR_ASSERT macro is defined.  Define
PR_STATIC_ASSERT as an extern declaration rather than a typedef.  The patch
is adapted from Igor Bukanov's patch in JavaScript bug 381236
JS_STATIC_ASSERT.  r=igor@mir2.org.
Modified files: prerror.h prlog.h


git-svn-id: svn://10.0.0.236/trunk@227110 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-28 14:48:26 +00:00
wtc%google.com
86376b8166 Bug 371247: checked in some changes for OpenBSD. The patch is contributed
by Martynas Venckus <martynas@openbsd.org>. r=nelsonb,wtc.
Modified Files: configure configure.in lib/tests/Makefile.in
	_openbsd.cfg _openbsd.h prnetdb.c


git-svn-id: svn://10.0.0.236/trunk@227047 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-26 00:13:08 +00:00
wtc%google.com
c4e9e09bab Bug 369722: the IEEE_ARM macro should not be defined for ARM EABI. The
patch is contributed by romaxa <romaxa@gmail.com>. r=darin,wtc


git-svn-id: svn://10.0.0.236/trunk@226387 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 18:14:51 +00:00
julien.pierre.bugs%sun.com
93faaf1b06 Fix for bug 353899 . PR_CallOnce and PR_CallOnceWithArg do not set NSPR error code if once->initialized is TRUE and once->status is PR_FAILURE . r=wtc
git-svn-id: svn://10.0.0.236/trunk@226232 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 01:21:41 +00:00
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