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

213 Коммитов

Автор SHA1 Сообщение Дата
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
wtc%netscape.com 8b2132aba2 Another update of the latest stuff from the internal CVS repository /m/src. 1999-03-02 22:23:14 +00:00
wtc%netscape.com cf5a813894 Landing of miscellaneous changes, including the new error code to
string function contributed by John Myers <jgmyers@netscape.com>.
1999-02-26 20:41:06 +00:00
wtc%netscape.com 5eefa24cc2 Link the tests against $(LIBPLC) $(LIBPLDS) $(LIBPR). 1999-02-25 19:46:30 +00:00
wtc%netscape.com cd3fcdcccc Merged /m/src/ns/nspr20/lib/tests/arena.c, revision 1.2, by larryh. 1999-02-25 19:29:46 +00:00
wtc%netscape.com 15037e722f Bugzilla bug #3233: create the pipe in nonblocking mode and have
reads and writes check for the possible EAGAIN/EWOULDBLOCK error.
1999-02-24 19:53:48 +00:00
larryh%netscape.com b00bc8dbc9 mumble. restore to 3.11 1999-02-24 19:19:21 +00:00
larryh%netscape.com 3a7c742ef0 lost update? 1999-02-24 17:33:00 +00:00
larryh%netscape.com c1a01f7880 revert to 3.3, fix my mess 1999-02-24 00:41:43 +00:00
larryh%netscape.com e1a7e24fdd don't do windows on unix 1999-02-24 00:09:40 +00:00
larryh%netscape.com 2479974bdc set old (3.0) library names 1999-02-23 23:56:05 +00:00
larryh%netscape.com b17e81ce70 add test case for plevent 1999-02-23 23:09:54 +00:00
larryh%netscape.com 3641517d03 add windows test case for plevent 1999-02-23 23:09:10 +00:00
wtc%netscape.com 4259af374f Removed unused variable warnings by the Macintosh compiler. The patch
is contributed by Kathleen Brade <brade@netscape.com>.
1999-02-04 15:53:49 +00:00
wtc%netscape.com a82867f527 Merged first batch of BeOS port patches contributed by
Matthew Zahorik <maz@albany.net>.
1999-01-26 01:56:55 +00:00
wtc%netscape.com 41177f6674 Bugzilla bug #2431: fixed PL_GetNextOpt so that it returns PL_OPT_BAD
instead of asserts when an option that has an associated value is
not followed by a value.  Also fixed a bug that incorrectly skipped
the option following a naked option.
1999-01-15 22:13:26 +00:00
larryh%netscape.com 0499fb944f Diffs from John Fairhurst mjf35@hermes.cam.ac.uk for OS/2 1999-01-14 16:14:22 +00:00
wtc%netscape.com 1d3e4ba47a Removed hardcoded AIX pathnames /usr/lpp/xlC from the makefiles,
because the new version of AIX xlC compilers (3.6.4) is installed
in a different directory (/usr/ibmcxx).
1999-01-08 19:51:14 +00:00
wtc%netscape.com 3c183ba39b Replaced the obsolete NSPR10-compatibility macros PR_LOG_DEFINE,
PR_LOG_BEGIN, and PR_LOG_END by their NSPR20 equivalents.
1999-01-07 01:08:00 +00:00
larryh%netscape.com 2525421a80 BugZilla 2131. Plus, fix undef symbol in Mac 1999-01-05 01:38:41 +00:00
larryh%netscape.com 087449a67e BugZilla: 2131. BugSplat: 337698.
Thanks to "Adam Lock" <locka@iol.ie> for suggestions.
Thanks to Rick Potts for suggestions and critique of the design.
1999-01-05 00:08:28 +00:00
larryh%netscape.com a79500994a BugSplat 335862 1998-11-24 01:26:00 +00:00
wtc%netscape.com 81203004dc Added 'else true;" to the if statement in our shell scripts because
QNX's shell doesn't work correctly without it.
1998-11-23 21:20:38 +00:00
srinivas%netscape.com 2fd86286e1 Enable OS/2 builds with IBM's compiler (Visualage) and gcc port of OS/2 (emx).
Checkin for Eric Olson <Eric.Olson@Sympatico.CA> and Henry <sobotka@axess.com>.
1998-11-20 20:17:20 +00:00
srinivas%netscape.com 3df666ca4a Enable OS/2 builds with IBM's compiler (Visualage) and gcc port of OS/2 (emx).
Checkin for Eric Olson <Eric.Olson@Sympatico.CA> and Henry <sobotka@axess.com>.
1998-11-19 22:20:31 +00:00
wtc%netscape.com d02ef8a9d6 Moved plvector.c and plvector.h from mozilla/nsprpub/lib/ds
to mozilla/xpcom.
Modified files: MANIFEST, Makefile
1998-11-09 20:08:18 +00:00
wtc%netscape.com 4bfb5610d0 Ports to many Unix variants. Added the OMIT_LIB_BUILD_TIME workaround
for platforms that don't have 'long long'.  In pr/src/Makefile and
lib/libc/src/Makefile, use single quotes so that we can avoid
using backslashes in double quotes (that doesn't work under
MKS shell).
1998-10-08 21:31:09 +00:00
wtc%netscape.com 4a45eb1ad1 Removed all the autoconf *.in files in mozilla/nsprpub. 1998-10-05 19:19:56 +00:00
wtc%netscape.com 6462b9a6d7 More mozilla/nsprpub updates, including:
- Patch for MkLinux and glibc 2.1.  Removed the MKLINUX macro.
  This patch is contributed by Tom Rini <trini@kernel.crashing.org>.
- Patch to make the emulated threads work on ARM/Linux.  Contributed
  by raff@netwinder.org.
1998-10-05 18:58:25 +00:00
cyeh%netscape.com f31dc000c8 removing obsolete files. use MANIFEST instead. 1998-10-05 18:42:02 +00:00
wtc%netscape.com 5155300605 NSPR20 v3.0 beta landing from NSPRPUB_RELEASE_3_0_LANDING_BRANCH. 1998-09-25 20:34:39 +00:00
wtc%netscape.com a32ad94d34 For DG/UX, rename its OS_ARCH fro "dgux" to "DGUX".
dgux.mk is also renamed DGUX.mk.
1998-09-13 04:18:06 +00:00
warren%netscape.com f06fe720a9 Made counts be unsigned. 1998-09-01 00:17:09 +00:00
cls%seawood.org 9020b80c52 Updates to autoconf files. 1998-08-26 04:04:57 +00:00
cls%seawood.org 84f1cedcbb AUTOCONF_1_0 landing. 1998-08-19 20:42:14 +00:00
wtc%netscape.com e94e434281 Checked in DG/UX port contributed by Marc Fraioli <fraioli@dg-rtp.dg.com>.
New files: dgux.mk, _dgux.cfg, _dgux.h, and dgux.c.
Files changed: lib/msgc/tests/Makefile, pr/include/md/Makefile,
_unixos.h, prosdep.h, prsocket.c, pr/src/md/unix/Makefile,
pr/src/md/unix/objs.mk, unix.c.
1998-08-11 22:29:48 +00:00
warren%netscape.com c9bd5d8074 Landing changes in the OJI_19980727_BRANCH since the OJI_19980727_TIP_MERGE tag. 1998-07-31 20:19:50 +00:00
warren%netscape.com 13b18ece68 Committed from OJI_19980618_TIP_MERGE1. 1998-07-28 02:07:25 +00:00
danm c32dd09d90 glowcode, the right way. bug 299200 a:don 1998-07-10 02:04:46 +00:00
danm 30f8c8b987 glowcode. bug 299200 a:don. 1998-07-09 16:33:15 +00:00
wtc 808b5efd3a Change to improve GC benchmarks, from Raman Tenneti <raman@netscape.com>
of the Java group.
1998-06-08 23:44:47 +00:00
wtc 412d6f3a7c Use -32 flag for compiler and linker explicitly on IRIX 6.x. This is
necessary on IRIX 6.4 where -n32 is the default.  Thanks to Tomi (a
CS student in Finland whose last name I forget) for the patch.
1998-06-08 23:43:33 +00:00
scc 432f3ea897 First Checked In. 1998-06-04 22:51:07 +00:00
sfraser fadf4e509b First Checked In. 1998-05-27 00:53:25 +00:00
sfraser 44e9956672 First Checked In. 1998-05-23 01:14:17 +00:00
wtc 5a5cb58738 Various makefile cleanups. On SCO OpenServer, the value of OS_ARCH
is now 'SCOOS' instead of 'SCO_SV'.  Also, we just use the cpp macro 'SCO'
and deleted the macro 'SCO_SV'.
In pr/src/md/unix/Makefile, we do not assemble the ultrasparc assembly
file if we are compiling with gcc.
1998-04-30 19:36:53 +00:00
wtc 94d547105a ReliantUNIX is renamed SINIX. 1998-04-29 00:08:32 +00:00
wtc 7aa439229c Merged NSPRPUB_19980421_BRANCH to the main trunk. 1998-04-28 22:43:48 +00:00
wtc dc51a884b5 Fixed build problems on BSD/OS. Some makefiles need to change:
the value of OS_ARCH is changed from BSD_386 to BSD_OS.
In unix.c, we now conditionalize on the macros O_SYNC and O_FSYNC,
as opposed to the platform macros like FREEBSD and BSDI.  We
acknowledge jason@ackley.net for reporting and providing a fix
for this problem.
1998-04-22 22:10:37 +00:00
wtc 1ce33d0f6f Merged the makefile changes from Netscape's internal development version
of NSPR to the public ns/nsprpub on mozilla.org.
Removed ns/nsprpub/tools/winsock.lib, which should not have been
released.  This file can be generated from winsock.dll by following
the NSPR build instructions for Windows 3.11 at
http://www.mozilla.org/docs/refList/refNSPR/win16.html.
1998-04-21 17:21:53 +00:00
wtc e2d8a68f59 Fixed printf format mismatches. Fixed are provided by Nathan Torkington
<gnat@frii.com>.
1998-04-13 22:02:11 +00:00
wtc 63c20c82b4 Fixed compiler warnings, mostly in printf format mismatches. Most of
the fixes are supplied by Nathan Torkington <gnat@frii.com>.
1998-04-13 22:00:47 +00:00
wtc 46fd3d75dc Include <stdlib.h> for malloc and free. 1998-04-08 00:14:54 +00:00
wtc 51f022b080 The static variable 'tracefile' is only used when WIN16 is defined,
so put it inside #ifdef to eliminate unused variable compiler
warning on other platforms.
1998-04-07 22:40:39 +00:00
ltabb 3b56a9af51 Free the lizard 1998-03-28 02:44:41 +00:00