Commit Graph

173 Commits

Author SHA1 Message Date
wchang0222%aol.com
8130c71e43 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
55e583cc90 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
3634d4d94b Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-25 15:03:26 +00:00
wchang0222%aol.com
9297504571 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
93d19e4dfa 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
d38254c003 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
a5aeec9409 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
e6bc82925d 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
afab90e1d6 Explain how the GOLDEN_RATIO constant was calculated. 2003-04-10 18:10:12 +00:00
wtc%netscape.com
708b88555e 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
eb31f14407 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
f178b3cbfb 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
d14e19b063 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
711db3c6bd 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
002c2f35eb 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
7c67a9652b 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
5a65674f80 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
b6f1254572 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
259b6a8d8a 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
0c3ceb4878 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
afef4b497e 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
wtc%netscape.com
2739c76219 Fixed compiler warnings. 2002-01-23 01:10:51 +00:00
wtc%netscape.com
cd0b87ec5c Use PL_strcmp instead of strcmp to avoid having to include <string.h>. 2001-11-01 00:02:16 +00:00
wtc%netscape.com
0cdb544041 Added lib/tests/Makefile to the list of makefiles to be generated by
configure.
Modified files: configure configure.in
Bugzilla bug 106372: added new function PL_strtok_r.  The function was
implemented by Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>.
Modified files: lib/libc/include/plstr.h lib/libc/src/Makefile.in
    lib/tests/string.c
Added file: lib/libc/src/strtok.c
2001-10-31 23:49:52 +00:00
wtc%netscape.com
e3ba562b9a Bugzilla bug 96571: fixed the PL_strn* functions that may read beyond
the end of buffer if the buffer is not null-terminated.
Modified files: strchr.c strcstr.c strlen.c strpbrk.c strstr.c
2001-09-11 22:22:16 +00:00
wtc%netscape.com
95cb233527 Bugzilla bug 98741: changed the license URL to http://www.mozilla.org/MPL/.
Modified Files:
	pr/src/prvrsion.c lib/ds/plvrsion.c lib/libc/src/plvrsion.c
	lib/prstreams/plvrsion.c
2001-09-07 18:27:33 +00:00
wtc%netscape.com
5e402bc603 Bugzilla bug 94153: destroys the arena lock in PL_ArenaFinish. Also don't
need to hold the lock when destroying the arenas on the arena freelist.
The patch to destroy the arena lock was contributed by jeff@NerdOne.com.
2001-08-28 21:14:36 +00:00
wtc%netscape.com
74753646c9 Bugzilla bug #92810: increment or decrement the hashtable shift counter
only after we have successfully allocated the new buckets.  The patch
is from Brendan Eich.
2001-08-07 05:36:22 +00:00
larryh%netscape.com
0ba921175d Bugzilla: 92610. Mozilla on MacOS crashes in plarena 2001-07-27 20:34:04 +00:00
wtc%netscape.com
7ae0287e30 Bug 64217: use locale-independent date format so that it doesn't
contain a quotation mark in any locale.  Thanks to tzafrir@technion.ac.il
for the bug report.
Modified Files:
	pr/src/Makefile.in lib/ds/Makefile.in lib/libc/src/Makefile.in
	lib/prstreams/Makefile.in
2001-06-23 14:42:24 +00:00
wtc%netscape.com
4b0e8d0feb We no longer need to generate the .vms files on OpenVMS.
Modified files: config/rules.mk lib/ds/Makefile.in lib/libc/src/Makefile.in
lib/prstreams/Makefile.in pr/src/Makefile.in
2001-06-21 01:24:44 +00:00
wtc%netscape.com
d1f8da8b54 Deleted an extra line that was probably added incorrectly during merging. 2001-06-14 22:01:54 +00:00
wtc%netscape.com
274d022c97 Eliminated more differences between the autoconf build system and the
(obsolete) classic build system.
Modified Files:
	configure.in configure lib/prstreams/Makefile.in
	lib/tests/Makefile.in pr/src/cplus/Makefile.in
	pr/src/threads/combined/Makefile.in pr/tests/Makefile.in
2001-05-17 21:42:09 +00:00
wtc%netscape.com
b6a8e48805 Removed all Makefile's. The new autoconf build system uses Makefile.in's. 2001-05-17 21:26:28 +00:00
wtc%netscape.com
58625f3acb Verified that the autoconf build system is equivalent to the classic
build system on OSF1, IRIX, and FreeBSD.
	configure configure.in config/autoconf.mk.in config/config.mk
	lib/ds/Makefile.in lib/libc/src/Makefile.in pr/src/Makefile.in
2001-05-17 00:56:25 +00:00
wtc%netscape.com
17680c472c Verified that the autoconf build system is equivalent to the classic
build system on AIX, HP-UX, Linux, and Solaris.  The 'release' makefile
target still doesn't quite work.
Modified Files:
	configure configure.in config/Makefile.in
	config/autoconf.mk.in config/config.mk config/nsinstall.c
	config/rules.mk lib/ds/Makefile.in lib/libc/src/Makefile.in
	pr/include/md/Makefile.in pr/src/misc/Makefile.in
2001-05-15 22:57:39 +00:00
wtc%netscape.com
3908b40881 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-14 22:12:54 +00:00
wtc%netscape.com
75ea362396 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 06:40:35 +00:00
wtc%netscape.com
f32c53c48b Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 06:26:43 +00:00
wtc%netscape.com
a3c435952d Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 06:15:54 +00:00
wtc%netscape.com
b3f484691b Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 01:47:58 +00:00
wtc%netscape.com
1e5c959951 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 01:31:18 +00:00
wtc%netscape.com
6a22bef151 Restored some deleted code. 2001-05-12 01:29:55 +00:00
wtc%netscape.com
7499a349b3 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 01:17:17 +00:00
wtc%netscape.com
cb642bfbf4 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 01:02:30 +00:00
larryh%netscape.com
0ffcf38e58 bugzilla: 45343. re-implement PL_ArenaAllocate() 2001-04-03 23:23:02 +00:00
cls%seawood.org
70a68f932e Fix nspr autoconf for OpenVMS.
Thanks to Colin Blake <colin@theblakes.com> for the patch.
Bug #69842 r=cls
2001-02-25 21:50:47 +00:00
cls%seawood.org
737ae63adf More generated files to ignore 2001-02-24 05:31:07 +00:00
cls%seawood.org
b06b54dd72 There is no need to invoke recursive makes for the dummy libs & install phases of nspr. Especially when it means having a dummy target in every makefile that has a dependency upon export. Instead, put the dummy target in rules.mk. 2001-01-22 06:36:06 +00:00
cls%seawood.org
5581220542 Switch from using $(DIST)/bin, $(DIST)/lib, etc to using $(bindir), $(includedir). This gives us the advantage of being able to set different directories for libs & headers as needed. r=bryner 2001-01-21 06:37:45 +00:00