Commit Graph

204 Commits

Author SHA1 Message Date
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
cls%seawood.org
bb5c53fa5e Add OS_LIBS to EXTRA_LIBS as necessary 2001-01-17 19:15:05 +00:00
cls%seawood.org
d67e0d81fc Preparations for building on win32 with autoconf Makefile.ins. 2000-12-30 05:44:01 +00:00
cls%seawood.org
0293179f8b Sync'ing long lost changes between Makefile & Makefile.in 2000-12-30 00:47:58 +00:00
wtc%netscape.com
cdfc51cf1d 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.
2000-10-06 04:28:07 +00:00
wtc%netscape.com
a8bb856914 Restored the correct copyright years. 2000-08-30 17:00:08 +00:00
wtc%netscape.com
b37c0aaf12 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.
2000-08-22 00:17:23 +00:00
wtc%netscape.com
5d75c053dd Removed obsolete test event.c.
Modified files: Makefile, Makefile.in
Removed file: event.c
2000-08-08 21:35:14 +00:00
wtc%netscape.com
d9efb3750f Bugzilla bug #46166: checked in a patch contributed by Marcello Nuccio
<marcenuc@lica.unimo.it>. r=roeber@netscape.com.
2000-07-25 00:30:43 +00:00
larryh%netscape.com
dc5530d464 BugZilla: 42367. Fix copyright date, Original Code 2000-06-20 21:48:45 +00:00
larryh%netscape.com
07cb73b3c8 BugZilla 42367. change license to dual-license 2000-06-13 20:59:02 +00:00
wtc%netscape.com
4253fae7ae Bugzilla bug #32184: added 'const' versions of hash table lookup
functions that don't reorder the hash entries.
Modified files: plhash.h, plhash.c
2000-03-24 23:13:45 +00:00
wtc%netscape.com
6df2423fff Added the generated header file to GARBAGE.
Modified files: lib/ds/Makefile, pr/src/Makefile, pr/src/Makefile.in
2000-03-15 01:45:35 +00:00
wtc%netscape.com
a37f49577d Moved the definition of GARBAGE to a standard place. 2000-03-15 01:43:40 +00:00
wtc%netscape.com
3e932b885d Landed NSPRPUB_RELEASE_4_0_20000223 onto the main trunk. 2000-02-23 23:38:19 +00:00
wtc%netscape.com
1a54d702fd Bugzilla bug #17101: removed plevent.h and plevent.c. These two files
have been moved to mozilla/xpcom/threads.
2000-01-28 00:29:16 +00:00
wtc%netscape.com
77ae2ff6a6 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
2000-01-28 00:27:37 +00:00
wtc%netscape.com
0213d7efe2 Added plevent.c and plevent.h back. 2000-01-26 07:56:02 +00:00
wtc%netscape.com
fb397e72be Added plevent.h and plevent.c back. 2000-01-26 07:54:25 +00:00
wtc%netscape.com
b03b2a9aaa Added plevent.h back. 2000-01-26 07:53:08 +00:00
blizzard%redhat.com
2111707af0 re-add plevent.c 2000-01-26 07:45:58 +00:00
blizzard%redhat.com
cd7aa844d1 re-add plevent.h 2000-01-26 07:41:59 +00:00
blizzard%redhat.com
d395269ede hrm 2000-01-26 07:25:57 +00:00
wtc%netscape.com
233a54c61e 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)
2000-01-26 06:20:45 +00:00
wtc%netscape.com
3b41b38998 Bugzilla bug #23969: checked in dougt/bienvenu's modified fix. 2000-01-25 03:00:35 +00:00
wtc%netscape.com
63ebf31080 Backed out previous checkin because it introduced bug #23969.
a=chofmann@netscape.com
2000-01-22 07:21:32 +00:00
wtc%netscape.com
73c6187dbd Bugzilla bug #23969: checked in patches from dougt@netscape.com and
bienvenu@netscape.com. r=troy@netscape.com,wtc@netscape.com.
a=brendan@mozilla.org.
2000-01-21 21:53:40 +00:00
brendan%mozilla.org
bdd72383d6 Fix based on rogerl's keen analysis to ancient circa 1995 bug (19165). 2000-01-19 03:53:19 +00:00
srinivas%netscape.com
61d0495a1f Update to OS/2 port; the build now uses OS_ARCH=OS2, in place of WINNT.
Checkin for sobotka@axess.com. Bugzilla 23544.
2000-01-10 21:08:45 +00:00
wtc%netscape.com
61d23eec81 Added a little logging to the OpenVMS code. (Contributed by Colin Blake
<colin@theblakes.com>)
1999-12-23 00:33:35 +00:00
cls%seawood.org
1721c271f5 Cleaned up BeOS autoconf build.
Added RESOLVE_LINK_SYMBOLS for platforms that need to resolve all symbols when linking shared libs.
Removed use of EXTRA_LIBS from configure.
1999-12-22 00:07:07 +00:00
cls%seawood.org
e624a661f6 Disable unneeded arch specific portions of Makefile 1999-12-03 10:33:06 +00:00
wtc%netscape.com
7c6011f114 Checked in patch for OpenVMS contributed by Colin Blake. 1999-12-03 00:42:18 +00:00
srinivas%netscape.com
69311e0a8b Export version descriptor. Bugzilla 4742 1999-10-28 21:28:46 +00:00
srinivas%netscape.com
598f761e25 Include system files for BeOS; checkin for <duncan@be.com>. 1999-10-28 11:40:33 +00:00
wtc%netscape.com
7aa6773f73 Bugzilla bug #17093: made plevent.c independent of any internal NSPR
headers (primpl.h in particular).  Tested on Linux, Solaris, Win32,
and Mac. r=srinivas@netscape.com
Modified files: lib/ds/Makefile, lib/ds/Makefile.in, lib/ds/plevent.c
1999-10-25 19:20:58 +00:00
srinivas%netscape.com
7f85a80420 PL_ProcessPendingEvents() dispatches only those events currently on the
queue. Added a static helper function (_pl_GetEventCount) that locks the
monitor and counts the number of events in the queue. Checkin for troy.
1999-10-22 13:28:39 +00:00
srinivas%netscape.com
413e829459 Invoke the native acknowledge notify routine only when queue is non-empty.
Checkin for kipp@netscape.com.
1999-10-21 21:52:02 +00:00
srinivas%netscape.com
57e7bdef64 Update with post-3.5 fixes on the tip 1999-10-19 00:40:39 +00:00
cls%seawood.org
c3ac045cd4 Bug 11893. r=shaver
Sync the autoconf Makefile.ins.
1999-10-17 15:12:41 +00:00
wtc%netscape.com
a73091ee3d Bugsplat bug #358401: created a separate .rc file for each DLL. The
product name is "Netscape Portable Runtime" and the file descriptions
are "NSPR Library", "PLDS Library", "PLC Library", and "PRSTRMS Library".
A debug build is indicated in the file description.  The copyright years
changed to 1996-1999.
Modified files: rules.mk, lib/ds/Makefile, lib/ds/Makefile.in,
lib/libc/src/Makefile, lib/libc/src/Makefile.in,
lib/prstreams/Makefile, lib/prstreams/Makefile.in,
prinit.h, nspr.rc
Added files: plds.rc, plc.rc, prstrms.rc
Removed file: resource.h
1999-10-15 00:51:41 +00:00
srinivas%netscape.com
bc24d35ef7 Add autoconf for NSPR. Check in for cls@seawood.org. Buzill 11893 1999-10-14 15:09:11 +00:00
larryh%netscape.com
76ed113c5c NSPR 3.5 landing 1999-10-13 18:32:42 +00:00
waterson%netscape.com
bfea8e7797 Back out last change; it killed tinderbox. a=don%netscape.com. 1999-09-21 04:04:03 +00:00
wtc%netscape.com
4ea62afeaf On WIN32, do not include <windef.h> directly. It is better
to include <windows.h>, the mother of all Windows include files.
Specifically, in MSVC 6.0, <windef.h> sets WINVER to 0x0500
while <windows.h> sets it to 0x0400 if that macro is not defined.
But 0x0500 means NT 5.0 and Win 98, and NT 5.0 is not released yet.
To build a retail application right now, we have to set WINVER to 0x0400.
1999-09-21 00:45:46 +00:00
srinivas%netscape.com
240be3f51c The previous checkin being enabled for WIN32 only; needs further
investigation.
1999-09-20 19:18:35 +00:00
srinivas%netscape.com
f8307a0a1f Limit the number of events processed by PL_ProcessPendingEvents; check in
troy@netscape.com. Bugzilla 13660.
1999-09-20 02:11:10 +00:00
wtc%netscape.com
1061cba3a0 Create the socket pair in AF_UNIX domain because that's
the common usage.
1999-09-07 22:30:51 +00:00
srinivas%netscape.com
4630e64367 The notifyCount value should be updated only for successful read and write
operations. Checkin for Colin Blake <colin@theblakes.com>.
1999-08-24 01:16:59 +00:00
srinivas%netscape.com
1f221e9ee9 The "execute" permission bit needs to be set for shared libraries on HP-UX.
Bugzilla #10201.
1999-07-27 01:52:19 +00:00
srinivas%netscape.com
1a3dc74999 OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>. 1999-07-15 12:37:21 +00:00
wtc%netscape.com
25c2c67cd9 Bugzilla bug #9155: use -library=iostream so that Sun Workshop
5.0 can work with old style iostreams.  Thanks to
Tim McNerney <mumbly@netcom.com> for suggesting this fix.
1999-07-01 23:19:52 +00:00
wtc%netscape.com
8551056933 Checked in BeOS changes contributed by Duncan Wilcox (duncan@be.com).
Modified files: plevent.c, prstreams/Makefile, prlink.c, bfile.c,
testfile.c, tmocon.c.
1999-06-26 01:07:12 +00:00
wtc%netscape.com
b7a3ce50a4 IRIX: -KPIC is the default and hence unnecessary. In o32 mode,
cc does not understand the -exceptions option, so specify that
option only for the C++ compiler.  Thanks to Brian Ostrom
(briano@netscape.com) for the bug report.
1999-06-21 21:52:52 +00:00
wtc%netscape.com
d6812d2809 Removed unused code, because +DA2.0W is specified in config/HP-UX.mk
already.  Also there is a typo ($USE_64).
1999-06-21 21:35:11 +00:00
larryh%netscape.com
bc3655e584 BugZilla #8018 1999-06-14 18:07:59 +00:00
srinivas%netscape.com
f8e5cceb18 QNX port; checkin for briano@netscape.com. Bug #7276. 1999-06-06 12:10:45 +00:00
wtc%netscape.com
6a84154eb0 More OpenVMS changes from Colin R. Blake <colin@theblakes.com>.
Modified files: prstrms.cpp, pr/include/md/Makefile, _openvms.h,
and prmapopt.c.
1999-06-04 03:01:40 +00:00
wtc%netscape.com
bb9a3e68fb Bugzilla bug #4842: do not export private NSPR headers (private/pprmwait.h,
private/primpl.h, and md/*.h) to mozilla/dist.  NSPR files will get
these headers from the source tree, via -I$(MOD_DEPTH)/pr/include and
-I$(MOD_DEPTH)/pr/include/private.  Non-NSPR files must not include
these private NSPR headers and should get the exported NSPR headers
from mozilla/dist/<platform.OBJ>/include.
1999-06-03 22:35:44 +00:00
srinivas%netscape.com
11155af018 OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>. 1999-05-19 00:53:52 +00:00
dmose%mozilla.org
40c9c56b74 updating to license version 1.1 in boilerplate comments 1999-04-21 21:40:44 +00:00
wtc%netscape.com
67b0c1c114 Bugzilla bug #5344: added the missing #define PLARENAS_H as part of
the double-include guard.  Thanks to Bruce Mitchener <bruce@cybersight.com>
for the bug report.
1999-04-21 05:37:35 +00:00
wtc%netscape.com
2ec4376228 Bugzilla bug #4741: add lib version info to libplds3 and libprstrms3.
Bugzilla bug #5284: the lib version structures for libnspr3 and libplc3
are incorrectly named (still referring to libnspr21 and libplc21).
Modified files: lib/ds/Makefile, lib/prstreams/Makefile,
lib/libc/src/Makefile, lib/libc/src/plvrsion.c, pr/src/Makefile,
pr/src/prvrsion.c
Added files: lib/ds/plvrsion.c, lib/prstreams/plvrsion.c
1999-04-19 22:17:08 +00:00
wtc%netscape.com
3ebd774403 Added prstreams to DIRS. 1999-04-10 01:04:32 +00:00
wtc%netscape.com
207c800889 Bugzilla bug #4736: added dummy references to rcsid and sccsid so
that they aren't optimized away as unused variables.
1999-04-10 01:01:27 +00:00
larryh%netscape.com
30ad92544c Memory leak fixed. Thanks to: David Gardiner <david.gardiner@unisa.edu.au 1999-03-31 01:27:44 +00:00
wtc%netscape.com
c7e15201d8 Update from the internal CVS repository /m/src. Includes: first
cut at 64-bit AIX port.
1999-03-19 22:47:21 +00:00
larryh%netscape.com
b0cb63f565 OS2 changes 1999-03-18 22:39:53 +00:00
wtc%netscape.com
1f1b4b0aaa NSPR library name change (libnspr21 ==> libnspr3) and
plevent.c.
1999-03-17 21:25:08 +00:00
wtc%netscape.com
cf64106572 Another update from the internal CVS repository /m/src. 1999-03-05 22:32:56 +00:00