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

1827 Коммитов

Автор SHA1 Сообщение Дата
wtc%google.com d36f687b32 Bug 332942: use 'uname -p' instead of 'uname -m' to determine if we're
building on SPARC.  Note that we may not be able to build NSPR on SPARC V8
after this change.  If that's a problem, please reopen this bug.  The patch
is contributed by Julien Pierre <julien.pierre.boogz@sun.com>.  r=wtc.
Modified Files:
	configure configure.in pr/src/Makefile.in
	pr/src/md/unix/Makefile.in
2008-06-07 20:25:59 +00:00
wtc%google.com c100cdd4ad Bug 313282: comnined strccmp.c (rev. 3.7) and strcstr.c (rev. 3.8) into
strcase.c so that the functions can share the |uc| table easily.
Modified Files:
	Makefile.in
Added Files:
	strcase.c
Removed Files:
	strccmp.c strcstr.c
2008-06-07 19:20:10 +00:00
wtc%google.com 1f2da31a56 Bug 313282: we can call strlen instead of PL_strlen after checking their
arguments for null.  The patch is contributed by Alfred Kayser
<alfredkayser@gmail.com>.  r=wtc.
2008-06-01 18:28:06 +00:00
wtc%google.com e12846d925 Bug 434397: Removed duplicated code in PR_snprintf() and PR_vsnprintf().
The patch is contributed by Serge Gautherie <sgautherie.bz@free.fr>. r=wtc
2008-05-31 15:10:17 +00:00
wtc%google.com 185b516b5d Bug 430684: PL_ArenaFinish should zero the static variable
"PRCallOnceType once". r=nelson.
2008-05-17 04:19:34 +00:00
julien.pierre.boogz%sun.com aafeab21f2 Fix for bug 266215 . Add conversion code and assertions for iovec. r=wtc 2008-05-16 02:16:02 +00:00
wtc%google.com ddd8ec6dd6 Bug 432617: added a missing _MD_UNLOCK() in IsFileLocal. The patch is
contributed by Martin Furter <mf@rola.ch>.  r=wtc.
2008-05-10 05:32:43 +00:00
wtc%google.com 4f449407a5 Bug 330720: restored the comment that OS/2 mutex semaphores are recursive. 2008-05-06 16:57:29 +00:00
wtc%google.com 15b26ba06d Bug 411055: added a warning that this header does not include any system
header on Windows.  r=jag.
2008-05-04 01:46:37 +00:00
wtc%google.com 3f3daeda95 Bug 431982: Improved the comment for PR_FileDesc2NativeHandle. r=nelson. 2008-05-04 01:39:30 +00:00
wtc%google.com 5f61d2ddce Bug 430884: restored the -lpthread linker options (and the associated
comments) removed in the previous checkin.  Remove the LOCAL_THREADS_ONLY
build variable; now Solaris can just use the CLASSIC_NSPR build variable.
Modified Files:
	lib/msgc/tests/Makefile.in
	lib/prstreams/tests/testprstrm/Makefile.in
	lib/tests/Makefile.in pr/include/md/_solaris.h
	pr/src/Makefile.in pr/src/cplus/tests/Makefile.in
	pr/tests/Makefile.in tools/Makefile.in
2008-05-03 22:28:44 +00:00
wtc%google.com 5e2d551684 Bug 430884: removed the obsolete implementation based on Solaris threads.
Contributed by Julien Pierre <julien.pierre.boogz@sun.com>.  r=wtc.
Modified Files:
	configure configure.in lib/msgc/tests/Makefile.in
	lib/prstreams/tests/testprstrm/Makefile.in
	lib/tests/Makefile.in pr/include/md/_solaris.h
	pr/src/Makefile.in pr/src/cplus/tests/Makefile.in
	pr/src/md/unix/solaris.c pr/tests/Makefile.in
	pr/tests/foreign.c pr/tests/provider.c tools/Makefile.in
Removed Files:
	pr/src/md/unix/os_SunOS.s
2008-05-03 13:41:41 +00:00
wtc%google.com 12d49e013a Bug 330720: more comment cleanup. r=mozilla@weilbacher.org.
Modified files:_os2.h prlog.c
2008-05-02 23:06:31 +00:00
wtc%google.com 77d74b5331 Set NSPR version to 4.7.2 Beta.
Modified files: configure configure.in repackage.sh prinit.h vercheck.c
2008-05-02 19:09:54 +00:00
wtc%google.com 248e72e4a4 Bug 330720: white space adjustments. 2008-05-02 18:58:20 +00:00
mozilla%weilbacher.org 2065a27442 [OS/2] Bug 330720: remove support for the obsolete OS/2-VACPP from NSPR and use XP_OS2 instead of XP_OS2_EMX everywhere, p=mkaply/me, r=julien.pierre 2008-05-02 08:18:15 +00:00
wtc%google.com 307a4bec0b Set NSPR version to 4.7.1 (RTM). 2008-05-01 17:10:49 +00:00
wtc%google.com cd002d1d61 Bug 369007: Enable high-memory feature on OS/2 by default. The patch is
contributed by Peter Weilbacher <mozilla@Weilbacher.org>.  r=wtc.
2008-04-28 23:21:11 +00:00
wtc%google.com ae5734e9bf This file now has a tab offset of 8. Replaced the tabs that assumed a tab
offset of 4 with spaces.
2008-04-27 16:33:03 +00:00
wtc%google.com 8f1468306e Fixed the Emacs mode line. 2008-04-27 00:09:35 +00:00
wtc%google.com 4f012ce578 Bug 405992: Implement native atomic operations for Linux/ARM. The patch is
contributed by Ilpo Ruotsalainen <ilpo.ruotsalainen@movial.fi>.  r=wtc.
Modified files: configure.in configure _linux.h
2008-04-26 05:11:46 +00:00
julien.pierre.boogz%sun.com fdf7ecbe9c Fix for bug 430883 . NSPR does not need to link with libthread on Solaris . r=wtc 2008-04-26 02:22:58 +00:00
wtc%google.com 6afd6454aa Bug 218846: We need to call _PR_CleanupIO before we start to clean up the
current thread because _PR_CleanupIO needs to acquire a lock, which needs
the current thread ID.  The patch is contributed by Gerard Roos
<gerard.roos@adnovum.ch>.  r=wtc.
2008-04-26 00:39:35 +00:00
wtc%google.com f384cec10e Set NSPR version to 4.7.1 Beta 2. 2008-03-14 22:05:11 +00:00
christophe.ravel.bugs%sun.com 6d622dda3c Bug 329003: NSPR's configure script should check the C++ compiler only when --enable-cplus is specified.
r=wtc
2008-03-10 17:54:00 +00:00
wtc%google.com b4e23b043a Bug 421582: added a comment to explain how we set the default value of
includedir.
2008-03-08 17:51:20 +00:00
wtc%google.com eba3ac738d Bug 418686: cvs remove _wince.cfg and _wince.h. The plan is to use the
WIN95 (generic WIN32) code base for WINCE.
2008-02-28 05:32:14 +00:00
wtc%google.com 5b8b959e15 Bug 418686: added _wince.cfg and _wince.h for Windows Mobile support. The
patch is contributed by Doug Turner <dougt@meer.net>.  r=wtc.
2008-02-22 07:13:26 +00:00
wtc%google.com b1687ed48c Bug 418687: still need to use DLLFLAGS because we use LDFLAGS when building
now.c.  Sigh.
2008-02-22 01:06:49 +00:00
wtc%google.com 24e748184d Bug 418687: added a way to pass linker flags (for OS/2 and Windows). The
patch is contributed by Ted Mielczarek <ted.mielczarek@gmail.com>.  r=wtc
2008-02-22 00:34:52 +00:00
wtc%google.com b7f37ab75b Bug 416571: use $(NSINSTALL) -t instead of cp to install prcpucfg.h to
avoid updating the last modified time of the installed file.  The patch is
contributed by jag (Peter Annema) <jag@tty.nl>.  r=wtc.
2008-02-21 02:52:48 +00:00
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