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

212 Коммитов

Автор SHA1 Сообщение Дата
Brad Lassey 8cce92f43b update nspr to NSPR_HEAD_20100604 r=ted
(transplanted from b5b016bb7c91740a438ecc24d1cbc41fb61a9302)

--HG--
extra : transplant_source : %B5%B0%16%BB%7C%91t%0AC%8E%CC%24%D1%CB%C4%1F%B6%1A%93%02
2010-06-05 13:15:50 -04:00
Brad Lassey 3455709895 update nspr to NSPR_HEAD_20100330 to pick up support for android r=ted
--HG--
extra : rebase_source : 90577e9e3385b0d866e4860e0c6c89bfe382881e
2010-03-30 15:23:44 -04:00
Brad Lassey 2eb8f86002 update nspr to 4.8.4 beta 1 r=ted, wtc 2010-02-09 09:55:23 -05:00
Wan-Teh Chang 82e01899a8 Update NSPR to the NSPR_HEAD_20090828 CVS tag. Contains fixes
for bug 366194, bug 506502, bug 508165, bug 509243, bug 510705,
bug 511315, bug 512806.
2009-08-28 19:53:48 -07:00
Wan-Teh Chang 75412c2aad Update NSPR to the NSPR_HEAD_20090801 CVS tag.
- Change version from 4.8 to 4.8.1 Beta
- Fix bug 492779, bug 501864, bug 504379, bug 505889, bug 507506
2009-08-07 08:48:30 -07:00
Wan-Teh Chang 9562e5e313 Bug 492464: Update NSPR to NSPR_4_8_RTM.
Fix bug 492779 and bug 493378.
2009-05-19 17:53:55 -07:00
Wan-Teh Chang 7fdcd0cc6e Bug 86396: update NSPR to NSPR_4_8_BETA1.
Also fix Bug 491045, bug 476996, bug 485318, bug 485374, bug 427136.
2009-05-08 06:46:38 -07:00
Wan-Teh Chang 32a240fd4f Upgrade NSPR to NSPR_HEAD_20090321. This CVS tag includes
the following changes:
- Bug 439144: fixed strict aliasing issues in prdtoa.c
- Bug 449665: suppress the parentheses warnings in prdtoa.c
- Bug 442706: build for Symbian OS with autoconf and GNU make
- Bug 432430: some more changes for the Symbian OS port
- Bug 476536: added PR_ASSERT_CURRENT_THREAD_OWNS_LOCK and
  PR_ASSERT_CURRENT_THREAD_IN_MONITOR.
- Bug 478687: made PRUint64/uint64 compatible with uint64_t
  for 64-bit Mac OS X
- Bug 480730: PR_LoadLibrary for 64-bit MAC OS X should not
  search DYLD_LIBRARY_PATH if the library is specified as a
  pathname
- Bug 480740: PR_ParseTimeString crash with dates >= year
  3001 when compiled with Visual C++ 2005.
- Bug 480074: better dependency resolution for import libraries
- Bug 469083: ported NSPR test programs to WINCE
- Bug 433790: removed some obsolete WIN16 code
2009-03-22 09:44:55 -07:00
Wan-Teh Chang 30d6aa30c1 Bug 453372 - Import NSPR_4_7_2_BETA3. r=kaie. 2008-09-05 11:03:20 -07:00
Wan-Teh Chang 65aa975060 Bug 450696: Updated NSPR to the NSPR_4_7_2_BETA2 CVS tag. r=kaie 2008-09-01 12:15:40 -07:00
Benjamin Smedberg 4eaa0d954e Import NSPR 4_7_1_RTM 2008-06-06 08:36:51 -04:00
roc+@cs.cmu.edu 0054412272 Bug 374866. Reftests for text-transform. r=dbaron 2007-03-22 16:01:14 -07: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 185b516b5d Bug 430684: PL_ArenaFinish should zero the static variable
"PRCallOnceType once". r=nelson.
2008-05-17 04:19:34 +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 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 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
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
nelson%bolyard.com 35ae50879f Bug 346354 - Add test program for new PL_CreateLongOptState function. r=wtc 2007-08-08 00:40:16 +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
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
wtc%google.com f416c6c0e0 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
2007-05-26 00:13:08 +00:00
wtchang%redhat.com f84d530c3a 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
2007-02-15 18:23:15 +00:00
wtchang%redhat.com 7568e63f74 Bugzilla Bug 360933: removed the 'windows' directory from CVS. 2006-12-19 02:25:11 +00:00
wtchang%redhat.com 4d6b923290 Bugzilla Bug 360933: removed dead code (for the plevent.h functions, which
have been moved to XPCOM).
Removed files: makefile readme.1st winevent.c
2006-12-19 02:21:06 +00:00
julien.pierre.bugs%sun.com 8ab405a2d9 Fix for bug 356616 . NSPR DLLs should build at default base address. r=wtchang 2006-10-19 00:36:57 +00:00
wtchang%redhat.com 74838dfd8a 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.
2006-09-22 02:10:40 +00:00
cls%seawood.org 1d741053b5 Rename real_install target as install.
Thanks to Wan-Teh Chang <wtchang@redhat.com> for the patch.
Bug #304239 r=cls
2005-11-23 06:35:20 +00:00
wtchang%redhat.com 6128834894 Bugzilla Bug 156633: replaced the deprecated PR_CurrentThread by
PR_GetCurrentThread.  The patch is contributed by Tim <timwatt@gmail.com>.
r=wtc.
Modified Files: prmsgc.c btthread.c rcthread.cpp mdmac.c prthinfo.c ptio.c
        ptsynch.c ptthread.c cltsrv.c intrupt.c perf.c provider.c
2005-11-07 22:39:09 +00:00
cls%seawood.org 90fcdb00a0 Use dashes instead of backslashes for program options to avoid msys shell expansion.
Thanks to Howard Chu <hyc@symas.com> for the patch.
Bug #294122 r=cls a=shaver
2005-06-01 14:28:35 +00:00
wtchang%redhat.com 967a59f100 Changed "it's" to "its". 2005-03-17 02:24:01 +00:00
wtchang%redhat.com c8b3473ae2 Removed blank lines in *.def files.
Modified Files: plds.def plc.def nspr.def my.def
2005-03-08 03:01:05 +00:00
wtchang%redhat.com 1f6de57364 Bugzilla Bug 281763: fixed a leak of the first arena on the freelist when
the second arena is taken.  The patch is contributed by Nelson Bolyard of
Sun Microsystems.  r=wtc.
2005-02-11 18:16:31 +00:00
gerv%gerv.net d6d819dccf Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-02 22:28:27 +00:00
wchang0222%aol.com ac0d502c49 Bugzilla bug 106386: fixed the spelling errors in NSPR's public header
files.  This is a portion of attachment 106386, which was contributed by
timeless@bemail.org.  r=wtc.
Modified Files: prolock.h prtypes.h plresolv.h plstr.h prgc.h
2004-11-23 00:54:05 +00:00
wchang0222%aol.com 0db90448fd Bugzilla bug 249782: make NSPR compile with Microsoft Visual Studio 2005.
The -DEBUGTYPE flag is no longer supported. Since -DEBUGTYPE:CV is the
default, we simply delete it.  We added support for VC 5.0 (MSC_VER=1100)
back.  The patch is contributed by Stephen Walker <sdwalker@myrealbox.com>.
r=wtc.
Modified Files:
	configure configure.in config/rules.mk
	lib/msgc/tests/Makefile.in
	lib/prstreams/tests/testprstrm/Makefile.in
	lib/tests/Makefile.in lib/tests/windows/makefile
	pr/src/cplus/tests/Makefile.in pr/src/misc/Makefile.in
	tools/Makefile.in
2004-11-08 02:52:56 +00:00
wchang0222%aol.com 3d200a7a0f Bugzilla bug 244095: link libplds4.so and libplc4.so with -R $ORIGIN on
Solaris.  The patch is contributed by Julien Pierre.  r=wtc.
Modified Files:
	lib/ds/Makefile.in lib/libc/src/Makefile.in
2004-05-27 02:45:04 +00:00
wchang0222%aol.com cf2f1d8fea Bugzilla bug 209499: more improvements to PL_str functions. The patch for
strdup.c is contributed by Bernard Alleysson <balleysson@bigfoot.com>.
The patch for strcat.c and strstr.c is contributed by Dan Witte
<dwitte@stanford.edu>.  r=wtc.
Modified Files: strcat.c strcpy.c strdup.c strstr.c
2004-05-02 06:07:59 +00:00
gerv%gerv.net 2cdff0bb4f Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-25 15:03:26 +00:00
wchang0222%aol.com 4c4dfe4e74 Bugzilla bug 209499: backed out the change to strncpy in the previous
checkin because I noticed a subtle difference between PL_strncpy and
strncpy (the code marked with JLRU).
2004-04-24 17:59:16 +00:00
wchang0222%aol.com 1fba551310 Bugzilla bug 209499: converted some PL_str* implementations to use ANSI C
equivalents.  The patch is contributed by Dan Witte <dwitte@stanford.edu>.
r=wtc.
Modified Files: strcat.c strchr.c strcmp.c strcpy.c strdup.c strlen.c
                strpbrk.c strstr.c
2004-04-24 17:33:46 +00:00
wchang0222%aol.com 2584fa08fb Bugzilla bug 179828: released plarena.h and plarena.c under the
MPL/GPL/LGPL tri-license. r=gerv,wtc.
2003-10-19 00:10:22 +00:00
wtc%netscape.com 9330aab4ab Bugzilla bug 218967: do not initialize unsigned chars with character
constants '\ddd' where ddd is an octal number larger than 127 (decimal).
Such character constants have negative integer values if 'char' is signed.
Thanks to timeless@bemail.org for the bug report and a suggested fix.
2003-09-17 20:14:25 +00:00
wtc%netscape.com 2a090e9975 Merged the changes from NSPRPUB_PRE_4_2_CLIENT_BRANCH onto the trunk. Most
of these changes are for OS/2.
Modified Files:
	configure.in build/cygwin-wrapper config/rules.mk
	lib/ds/Makefile.in lib/ds/plds.def lib/libc/src/Makefile.in
	lib/libc/src/plc.def pr/include/md/_os2.h pr/src/Makefile.in
	pr/src/nspr.def pr/src/linking/prlink.c
	pr/src/md/os2/Makefile.in pr/src/md/os2/objs.mk
	pr/src/md/os2/os2cv.c pr/src/md/os2/os2misc.c
	pr/src/md/os2/os2poll.c pr/src/md/os2/os2sock.c
	pr/src/md/os2/os2thred.c pr/tests/Makefile.in
	pr/tests/attach.c
2003-05-14 01:24:08 +00:00
wtc%netscape.com cdc0c53ccd Explain how the GOLDEN_RATIO constant was calculated. 2003-04-10 18:10:12 +00:00
wtc%netscape.com 787b0752fe Bug 196004: support building with gcc on Solaris better, whether gcc uses
the GNU ld or Solaris ld. Do not pass -B/usr/ccs/bin/ to gcc.
Modified files: configure configure.in autoconf.mk.in
        lib/ds/Makefile.in lib/libc/src/Makefile.in pr/src/Makefile.in
2003-03-22 15:36:13 +00:00
wtc%netscape.com 0b51e44b47 Bug 134113: make NSPR build on Win32 using MinGW gcc. The patch is
contributed by Chris Seawood <seawood@cls.org> and Dan Mosedale
<dmose@mozilla.org>. r=wtc.
Modified files: configure configure.in config/Makefile.in autoconf.mk.in
now.c rules.mk lib/ds/Makefile.in lib/libc/src/Makefile.in
lib/msgc/src/Makefile.in prtypes.h _winnt.h pr/src/Makefile.in prmapopt.c
pr/src/md/windows/Makefile.in ntio.c ntmisc.c pr/tests/Makefile.in
runtests.ksh pr/tests/dll/Makefile.in
2003-01-20 16:26:24 +00:00