149 Commits

Author SHA1 Message Date
wtc%netscape.com
9e0f260652 Fixed compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@112554 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 01:10:51 +00:00
wtc%netscape.com
81300aad37 Use PL_strcmp instead of strcmp to avoid having to include <string.h>.
git-svn-id: svn://10.0.0.236/trunk@106880 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 00:02:16 +00:00
wtc%netscape.com
8e384b8dbf 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


git-svn-id: svn://10.0.0.236/trunk@106872 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 23:49:52 +00:00
wtc%netscape.com
4567105730 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


git-svn-id: svn://10.0.0.236/trunk@102763 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 22:22:16 +00:00
wtc%netscape.com
5b8e1cf962 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


git-svn-id: svn://10.0.0.236/trunk@102533 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 18:27:33 +00:00
wtc%netscape.com
9ebba0424d 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.


git-svn-id: svn://10.0.0.236/trunk@101908 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-28 21:14:36 +00:00
wtc%netscape.com
c1accb1d8d 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.


git-svn-id: svn://10.0.0.236/trunk@100476 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 05:36:22 +00:00
larryh%netscape.com
b7c675fcf4 Bugzilla: 92610. Mozilla on MacOS crashes in plarena
git-svn-id: svn://10.0.0.236/trunk@99974 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-27 20:34:04 +00:00
wtc%netscape.com
3c67555c60 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


git-svn-id: svn://10.0.0.236/trunk@97817 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-23 14:42:24 +00:00
wtc%netscape.com
ef276783f6 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


git-svn-id: svn://10.0.0.236/trunk@97647 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 01:24:44 +00:00
wtc%netscape.com
2db078d38c Deleted an extra line that was probably added incorrectly during merging.
git-svn-id: svn://10.0.0.236/trunk@97172 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 22:01:54 +00:00
wtc%netscape.com
6995bfc18d 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


git-svn-id: svn://10.0.0.236/trunk@95316 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 21:42:09 +00:00
wtc%netscape.com
8396785be2 Removed all Makefile's. The new autoconf build system uses Makefile.in's.
git-svn-id: svn://10.0.0.236/trunk@95308 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 21:26:28 +00:00
wtc%netscape.com
becd734ed3 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


git-svn-id: svn://10.0.0.236/trunk@95175 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 00:56:25 +00:00
wtc%netscape.com
9f68abd727 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


git-svn-id: svn://10.0.0.236/trunk@95064 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 22:57:39 +00:00
wtc%netscape.com
7646d6d91a Merged NSPRPUB_CLIENT_BRANCH onto the trunk.
git-svn-id: svn://10.0.0.236/trunk@94758 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 06:40:35 +00:00
wtc%netscape.com
b4f96baa89 Merged NSPRPUB_CLIENT_BRANCH onto the trunk.
git-svn-id: svn://10.0.0.236/trunk@94757 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 06:26:43 +00:00
wtc%netscape.com
d965b72184 Merged NSPRPUB_CLIENT_BRANCH onto the trunk.
git-svn-id: svn://10.0.0.236/trunk@94756 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 06:15:54 +00:00
wtc%netscape.com
ee9b3d9d4c Merged NSPRPUB_CLIENT_BRANCH onto the trunk.
git-svn-id: svn://10.0.0.236/trunk@94725 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 01:47:58 +00:00
wtc%netscape.com
96ba6be300 Merged NSPRPUB_CLIENT_BRANCH onto the trunk.
git-svn-id: svn://10.0.0.236/trunk@94721 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 01:31:18 +00:00
wtc%netscape.com
ec2e71437a Restored some deleted code.
git-svn-id: svn://10.0.0.236/trunk@94720 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 01:29:55 +00:00
wtc%netscape.com
19bfb88f66 Merged NSPRPUB_CLIENT_BRANCH onto the trunk.
git-svn-id: svn://10.0.0.236/trunk@94719 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 01:17:17 +00:00
larryh%netscape.com
77a7c53dde bugzilla: 45343. re-implement PL_ArenaAllocate()
git-svn-id: svn://10.0.0.236/trunk@91196 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 23:23:02 +00:00
cls%seawood.org
82dff731aa Fix nspr autoconf for OpenVMS.
Thanks to Colin Blake <colin@theblakes.com> for the patch.
Bug #69842 r=cls


git-svn-id: svn://10.0.0.236/trunk@87947 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 21:50:47 +00:00
cls%seawood.org
e9b80490bd 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.
git-svn-id: svn://10.0.0.236/trunk@85259 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 06:36:06 +00:00
cls%seawood.org
4e328f50ac 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
git-svn-id: svn://10.0.0.236/trunk@85222 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 06:37:45 +00:00
cls%seawood.org
30868808ae Add OS_LIBS to EXTRA_LIBS as necessary
git-svn-id: svn://10.0.0.236/trunk@85031 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 19:15:05 +00:00
cls%seawood.org
4fd7cbbfdd Preparations for building on win32 with autoconf Makefile.ins.
git-svn-id: svn://10.0.0.236/trunk@84219 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 05:44:01 +00:00
cls%seawood.org
37a45d4b1d Sync'ing long lost changes between Makefile & Makefile.in
git-svn-id: svn://10.0.0.236/trunk@84212 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 00:47:58 +00:00
wtc%netscape.com
4ce2653e0e Bugzilla bug #54195: extended the 'uc' array to 256 elements because
it may be indexed by an 8-bit character.  Thanks to Naoki Hotta
<nhotta@netscape.com> for the fix.


git-svn-id: svn://10.0.0.236/trunk@80556 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 04:28:07 +00:00
wtc%netscape.com
434e5e9f79 Restored the correct copyright years.
git-svn-id: svn://10.0.0.236/trunk@77620 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 17:00:08 +00:00
wtc%netscape.com
9713c2fce5 Do not use the 'const' qualifier with PL_HashTableLookupConst() and
PL_HashTableRawLookupConst() because when compiled with HASHMETER defined
they increment some counters in the hash table. r=larryh@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@76822 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 00:17:23 +00:00
wtc%netscape.com
16e6b94514 Removed obsolete test event.c.
Modified files: Makefile, Makefile.in
Removed file: event.c


git-svn-id: svn://10.0.0.236/trunk@75807 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 21:35:14 +00:00
wtc%netscape.com
43946c0527 Bugzilla bug #46166: checked in a patch contributed by Marcello Nuccio
<marcenuc@lica.unimo.it>. r=roeber@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@74719 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-25 00:30:43 +00:00
larryh%netscape.com
5044d318b8 BugZilla: 42367. Fix copyright date, Original Code
git-svn-id: svn://10.0.0.236/trunk@72681 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 21:48:45 +00:00
larryh%netscape.com
5ff71dac06 BugZilla 42367. change license to dual-license
git-svn-id: svn://10.0.0.236/trunk@72131 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 20:59:02 +00:00
wtc%netscape.com
3bea8a58da Bugzilla bug #32184: added 'const' versions of hash table lookup
functions that don't reorder the hash entries.
Modified files: plhash.h, plhash.c


git-svn-id: svn://10.0.0.236/trunk@64069 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 23:13:45 +00:00
wtc%netscape.com
92b30b65a1 Added the generated header file to GARBAGE.
Modified files: lib/ds/Makefile, pr/src/Makefile, pr/src/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@62971 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:45:35 +00:00
wtc%netscape.com
f85013994d Moved the definition of GARBAGE to a standard place.
git-svn-id: svn://10.0.0.236/trunk@62969 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:43:40 +00:00
wtc%netscape.com
7f138566c6 Landed NSPRPUB_RELEASE_4_0_20000223 onto the main trunk.
git-svn-id: svn://10.0.0.236/trunk@61538 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 23:38:19 +00:00
wtc%netscape.com
51e1224640 Bugzilla bug #17101: removed plevent.h and plevent.c. These two files
have been moved to mozilla/xpcom/threads.


git-svn-id: svn://10.0.0.236/trunk@58966 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 00:29:16 +00:00
wtc%netscape.com
99f9fe4467 Bugzilla bug #17101: move plevent.h and plevent.c from mozilla/nsprpub
to mozilla/xpcom/threads by landing the PLEVENT_MOVE_BRANCH.
Modified files: nsprpub/lib/ds/MANIFEST, nsprpub/lib/ds/Makefile,
nsprpub/lib/ds/Makefile.in, nsprpub/macbuild/NSPR20PPC.mcp,
nsprpub/pr/include/obsolete/protypes.h,
xpcom/macbuild/xpcomPPC.mcp, xpcom/threads/MANIFEST,
xpcom/threads/Makefile.in, xpcom/threads/makefile.win,
xpcom/threads/plevent.h


git-svn-id: svn://10.0.0.236/trunk@58964 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 00:27:37 +00:00
wtc%netscape.com
6c87c2ad97 Added plevent.c and plevent.h back.
git-svn-id: svn://10.0.0.236/trunk@58754 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 07:56:02 +00:00
wtc%netscape.com
a0abe079b5 Added plevent.h and plevent.c back.
git-svn-id: svn://10.0.0.236/trunk@58753 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 07:54:25 +00:00
wtc%netscape.com
212644e4b9 Added plevent.h back.
git-svn-id: svn://10.0.0.236/trunk@58752 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 07:53:08 +00:00
blizzard%redhat.com
6db0352bb3 re-add plevent.c
git-svn-id: svn://10.0.0.236/trunk@58751 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 07:45:58 +00:00
blizzard%redhat.com
463b9aedf1 re-add plevent.h
git-svn-id: svn://10.0.0.236/trunk@58749 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 07:41:59 +00:00
blizzard%redhat.com
4a3667d104 hrm
git-svn-id: svn://10.0.0.236/trunk@58747 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 07:25:57 +00:00
wtc%netscape.com
86fc41aabf Bugzilla bug #17101: removed plevent.h and plevent.c from
mozilla/nsprpub/lib/ds.  Modified the makefiles in
mozilla/nsprpub/lib/ds and mozilla/xpcom/threads to
reflect the new location of plevent.{h,c}.
(PLEVENT_MOVE_BRANCH)


git-svn-id: svn://10.0.0.236/trunk@58735 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 06:20:47 +00:00
wtc%netscape.com
45bd7e661d Bugzilla bug #23969: checked in dougt/bienvenu's modified fix.
git-svn-id: svn://10.0.0.236/trunk@58529 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 03:00:35 +00:00