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
wtc%netscape.com
bba7ece8c9
Bug 185034: updated the OpenVMS symbol vector tables for NSPR 4.3.
...
The patch is contributed by Colin Blake <colin@theblakes.com>.
Modified Files: nspr_symvec.opt plds_symvec.opt plc_symvec.opt
2003-01-15 00:00:14 +00:00
wtc%netscape.com
f00ec187f5
Bug 188976: avoid calculating the difference of two unsigned integer if
...
the difference is really a negative number. Thanks to Rick Swift for the
patch.
2003-01-14 02:07:16 +00:00
wtc%netscape.com
288cdc7e24
1. Use $(CC) (the compiler) to build shared libraries on Solaris. Added
...
the -z defs linker flag back.
Modified files: configure configure.in lib/ds/Makefile.in
lib/libc/src/Makefile.in pr/src/Makefile.in
2. Let pr/src/md/unix/Makefile.in be responsible for removing the
pr/src/cpu directory because it creates that directory. Note that the
'clean' target does not remove the directory because it doesn't remove
the .so's either.
Modified files: pr/src/Makefile.in, pr/src/md/unix/Makefile.in
2003-01-08 19:19:01 +00:00
wtc%netscape.com
feb649ef84
Bug 158704: should use GARBAGE instead of ALL_TRASH to specify that
...
$(MAPFILE) should be removed by "make clean". In pr/src, the "cpu"
directory needs to be removed if NSDISTMODE is not "copy".
Modified Files:
pr/src/Makefile.in lib/ds/Makefile.in lib/libc/src/Makefile.in
2003-01-06 19:43:48 +00:00
wtc%netscape.com
c9e425c2f7
Bug 158704: merged the Solaris packaging stuff onto the trunk. The three
...
shared libraries are built with mapfiles that specify versioned export
symbols. We use the $ORIGIN and $ISALIST linker keywords to specify the
location of the ultrasparc filtee.
2003-01-04 02:14:13 +00:00
wtc%netscape.com
4e5cbff56d
I forgot to make version NSPR_4.2 depend on version NSPR_4.0.
2003-01-03 22:22:47 +00:00
wtc%netscape.com
071fa928f1
Bug 158704: added nspr.def, plds.def, and plc.def to the tip (pre 4.3).
2003-01-03 22:14:14 +00:00
wtc%netscape.com
163a973243
Bug 180293: moved the OpenVMS build from the POSIX subsystem to native VMS
...
(GNV). The patch is contributed by Colin Blakes <colin@theblakes.com>.
Modified Files: configure configure.in rules.mk pr/include/md/Makefile
openvms.c
Added Files: plds_symvec.opt plc_symvec.opt nspr_symvec.opt
2002-12-12 01:41:31 +00:00
wtc%netscape.com
05464d3910
Bug 136344: added type casts to allow compilation with a C++ compiler.
...
The patch is contributed by Nick Blievers <nickb@adacel.com.au>.
2002-08-07 00:40:44 +00:00
wtc%netscape.com
696ce7482b
Bugzilla bug 135008: fixed the bug that PL_Base64Decode may step before
...
the buffer if the source string length is 0. Thanks to Roger Chickering
<rogc@netscape.com> for the bug fix.
2002-04-03 19:09:25 +00:00