Граф коммитов

1796 Коммитов

Автор SHA1 Сообщение Дата
christophe.ravel.bugs%sun.com 16e27f34d6 Set NSPR version to 4.7.1 Beta. 2008-02-06 19:19:09 +00:00
christophe.ravel.bugs%sun.com d03ff94ef4 Prepare NSPR 4.7 RTM. 2008-01-31 22:21:57 +00:00
wtc%google.com 578d7d085e Bug 414997: added a comment. 2008-01-31 20:00:58 +00:00
kaie%kuix.de 231e1c4c13 Bug 414997, PR_NewThreadPrivateIndex contract is violated by PR_CreateThread impls
Patch contributed by Wan-Teh Chang
r=julien.pierre, r=me
2008-01-31 18:45:15 +00:00
wtc%google.com e160b59701 Minor comment fix. 2008-01-29 23:33:02 +00:00
wtc%google.com 9b27bec27e Bug 414392: include <string.h> for strncmp. The patch is contributed by
Matthew Gregan <kinetik@flim.org>.  r=wtc
2008-01-28 19:31:39 +00:00
wtc%google.com 809728f599 Bug 334826: use compiler's intrinsic atomic functions only when our own
PR_AtomicXXX functions are truly atomic, otherwise the macros and functions
can't be used interchangeably.  Add Nelson's suggested changes as a TODO
comment.
Modified files: pratom.h atomic.c
2008-01-27 20:44:02 +00:00
wtc%google.com 49ff13a2dd Bug 204151: Search for existing NSPR_INHERIT_FDS environment variable in
the environment.  If it exists, replace it with the new value rather than
appending the new value to the environment.  r=sfraser
Modified files: bproc.c uxproces.c ntmisc.c
2008-01-27 05:55:13 +00:00
wtc%google.com 7196fcbd0b Bug 285157: fixed indentation. 2008-01-27 05:10:35 +00:00
wtc%google.com 14e77395f1 Bug 285157: Use GetFileAttributesEx if it exists. GetFileAttributesEx is
much faster than FindFirstFile.  The patch is contributed by Jim Mathies
<jmathies@mozilla.com>.  r=wtc
Modified files: ntio.c w95io.c
2008-01-27 05:00:58 +00:00
wtc%google.com 1f275409ac Bug 331043: test only compiler predefined macros. Also test for _M_X64,
which replaces _M_AMD64.
2008-01-27 01:53:42 +00:00
wtc%google.com 09882583e6 Bug 334826: added macro versions of atomic operations, which may be
implemented as compiler intrinsics.  The patch is contributed by Steve
Snyder <swsnyder@insightbb.com>.  r=wtc
Modified files: pratom.h atomic.c
2008-01-27 01:50:19 +00:00
glen.beasley%sun.com 8ab30b33a5 307573 prpollml requires file descriptors greater than 256 r=wtc 2008-01-27 00:45:13 +00:00
wtc%google.com 7375afdefd Bug 331043: need to test the _M_IX86 macro, which is defined by MSVC.
_X86_ is defined by <windows.h>.
2008-01-26 22:12:10 +00:00
wtc%google.com c530d3afbc Bug 331043: Add the PR_ROTATE_LEFT32 and PR_ROTATE_RIGHT32 macros for
rotating left and right, which are defined using compiler intrinsics,
if available.  The patch is contributed by Michael Moy <mmoy@yahoo.com>.
r=brendan,wtc
Modified files: prbit.h plhash.c
2008-01-26 21:49:18 +00:00
glen.beasley%sun.com b9c7d019f0 307573 remove obsolete runtests.ksh r=wtc 2008-01-26 00:16:07 +00:00
wtc%google.com 1309a038d9 Bug 296878: disable the use of os_Linux_ppc.s for 64-bit PowerPC builds
because the assembly code crashes.  Add nonexecutable stack directive
to os_Linux_ppc.s.
Modified files: configure.in configure _linux.h os_Linux_ppc.s
2008-01-24 05:00:04 +00:00
wtc%google.com 95c91e0da2 Bug 296878: use native PowerPC atomic instructions on Linux PowerPC. The
patch is contributed by kevdig@hypersurf.com.  r=mark.mentovai,wtc
Modified files: configure.in configure _linux.h
Added file: os_Linux_ppc.s
2008-01-21 01:46:47 +00:00
wtc%google.com 49cf1e8a17 Bug 333637: assembleCmdLine needs to quote an empty-string argument. The
patch is contributed by Aleksey Sanin <aleksey@aleksey.com>.  r=wtc
2008-01-20 07:13:54 +00:00
wtc%google.com 6f9819de0a Bug 95829: clean up the cached monitor subsystem during NSPR cleanup.
Bug 334285: do not leak the original memory block (and the monitors they
point to) when PR_REALLOC fails.
Portions of the patch are contributed by Brodie <bmo@jellycan.com> and
timeless.  r=relyea,nelson
Modified files: prinit.c ptthread.c primpl.h prcmon.c
2008-01-20 04:53:10 +00:00
wtc%google.com bd3871839c Bug 404824: use a look-up table to avoid expensive PR_CeilingLog2
calculations for common cases.  The patch is contributed by Steve Snyder
<swsnyder@insightbb.com>.  r=nelson,wtc
2008-01-19 06:04:29 +00:00
wtc%google.com 702f07a4f3 Bug 386177: _MY_Assert should call PR_Assert in both debug and optimized
builds so that the test program can be aborted.  The patch is contributed
by Slavomir Katuscak <slavomir.katuscak@sun.com>.  r=wtc
Modified files: cltsrv.c provider.c
2008-01-13 01:55:50 +00:00
wtc%google.com 9c09c7ae05 Bug 396509: call _pr_init_ipv6 lazily rather than during NSPR
initialization because _pr_init_ipv6 creates a test socket, and we can't
create a socket during DLL initialization in a Windows Vista "Standard"
Account with Parental Controls turned on.  The patch is contributed by
Jim Mathies <jmathies@mozilla.com>.  r=wtc
Modified files: prinit.c prnetdb.c pripv6.c prsocket.c ptio.c
2008-01-13 01:27:16 +00:00
wtc%google.com be1ee00594 Bug 411926: do not use the %T format specifier for strftime (called by
PR_FormatTime) because %T is not portable.  r=julien.pierre
Modified files: cltsrv.c provider.c
2008-01-12 05:09:26 +00:00
kaie%kuix.de 8a5f5b7f99 Bug 411045, Warning: unused variable 'me' in PR_EnumerateThreads
Patch contributed by Jesse Ruderman
r=wtc
2008-01-08 15:36:37 +00:00
wtc%google.com c3585f0739 Bug 409224: don't use the obsolete gcc flag -no-cpp-precomp. The patch is
contributed by Mark Mentovai <mark@moxienet.com>.  r=wtc
2007-12-21 18:57:57 +00:00
wtc%google.com 2239209a3f Bugzilla bug 404399: getaddrinfo with AI_NUMERICHOST is slow on Mac OS X
(10.4).  So we only use it to convert IPv6 address strings with scope IDs.
r=dwitte.
2007-12-19 02:32:28 +00:00
julien.pierre.boogz%sun.com d2aa2713df Fix for bug 406862 . Make NSPR release target work with MSYS. 2007-12-13 03:13:36 +00:00
wtc%google.com b87b7abc4a Bug 405290: implemented version checking for NSPR. The patch is
contributed by Mike Hommey <mh+mozilla@glandium.org>.  r=wtc.
2007-12-11 18:39:39 +00:00
wtc%google.com bab975fb20 Bug 404272: define HAVE_LONG_LONG only if it is not yet defined.
HAVE_LONG_LONG may be defined by the build system of a project using NSPR.
The patch is contributed by Edwin van Vliet <edwin@cheatah.nl>.  r=wtc
Modified Files:
	_aix32.cfg _aix64.cfg _beos.cfg _bsdi.cfg _darwin.cfg
	_dgux.cfg _freebsd.cfg _hpux32.cfg _hpux64.cfg _irix32.cfg
	_irix64.cfg _linux.cfg _netbsd.cfg _nto.cfg _openbsd.cfg
	_openvms.cfg _os2.cfg _osf1.cfg _riscos.cfg _solaris.cfg
	_unixware7.cfg _win95.cfg _winnt.cfg
2007-11-26 18:17:17 +00:00
wtc%google.com b1356731da Removed dead files for Rhapsody, the old name of Darwin.
Modified file: pr/tests/dll/Makefile.in
Removed files: _rhapsody.cfg _rhapsody.h rhapsody.c
2007-11-21 22:51:24 +00:00
wtc%google.com 8e7c559e82 Bug 354248: log the error information retrieved by NSLinkEditError in
pr_LoadViaDyld.  The patch is contributed by Nick Kreeger
<nick.kreeger@park.edu>.  r=mark.mentovai,wtc.
2007-11-21 01:44:51 +00:00
julien.pierre.boogz%sun.com bbb735cff8 Fix for bug 402669 . Crash in PR_Socket with IPv6 emulation on VMS and WinNT . Patch created by Nelson. r=julien, wtc 2007-11-07 02:34:30 +00:00
wtc%google.com 152865cbdd 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.
2007-10-31 17:56:18 +00:00
wtc%google.com 0310cd1fdc Bug 400957: free logBuf in _PR_LogCleanup to fix a memory leak. r=kengert. 2007-10-24 20:32:41 +00:00
mozilla%weilbacher.org 874a70ae93 [OS/2] Bug 399647: fix OS/2 build break in prlog.c and correct warning, r=wtc 2007-10-16 18:37:31 +00:00
julien.pierre.boogz%sun.com 8c6e0390dd Partial fix for bug 254987 . Reset some variables after cleanup to prevent assertions in reinitialization of NSPR. r=wtc 2007-09-27 22:34:52 +00:00
julien.pierre.boogz%sun.com 21ceb5479f 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 2007-09-13 21:48:45 +00:00
julien.pierre.boogz%sun.com 1be27c47bc Fix for bug 383857 . NSPR still uses the MSVC -G5 flag . r=wtc 2007-09-13 01:37:34 +00:00
wtc%google.com ba49efc375 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.
2007-09-03 15:41:09 +00:00
wtc%google.com 8490f35888 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.
2007-09-02 01:36:40 +00:00
wtc%google.com 5eb9ab080d 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.
2007-09-01 05:36:33 +00:00
julien.pierre.boogz%sun.com 64495184cf Fix for bug 369036. Prevent infinite loop in pt_SolarisSendFile. r=wtchang, nelson 2007-08-29 01:30:07 +00:00
wtc%google.com 7057a73a91 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
2007-08-14 00:10:59 +00:00
wtc%google.com ca55788036 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.
2007-08-08 01:56:31 +00:00
nelson%bolyard.com 35ae50879f Bug 346354 - Add test program for new PL_CreateLongOptState function. r=wtc 2007-08-08 00:40:16 +00:00
wtc%google.com 4686d00e73 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
2007-08-07 02:13:00 +00:00
nelson%bolyard.com 97e9e0b4c9 Bug 346354 - add capability to parse string command line options, r=wtc 2007-08-04 23:26:07 +00:00
nelson%bolyard.com 83d84ff5de Bug 387954 � fix NT version of PR_Accept on IPv6 listen socket. r=wtc 2007-07-25 06:45:08 +00:00
wtc%google.com 6503d7c0bc 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
2007-07-20 23:21:43 +00:00