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

268 Коммитов

Автор SHA1 Сообщение Дата
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 559938366a Bugzilla Bug 274450: use pthread_attr_setstacksize on Linux.
Modified Files: ptthread.c foreigh.c provider.c
2005-03-08 01:23:03 +00:00
gerv%gerv.net d6d819dccf Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-02 22:28:27 +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 63c33fa0be Bugzilla bug 237870: we figured out how to link the MinGW build against
wsock32.dll (Winsock 1) instead of ws2_32.dll (Winsock 2).  r=cls.
Modified Files:
	pr/src/Makefile.in pr/src/io/prmapopt.c pr/tests/Makefile.in
2004-03-23 00:42:56 +00:00
wchang0222%aol.com e8f7942e0c Checked in Neutrino (NTO) changes received from Adrian Mardare
<amardare@qnx.com>.  r=wtc.
Modified Files: _nto.h pr/tests/Makefile.in
2004-01-06 01:55:21 +00:00
wchang0222%aol.com 0b154a6266 Updated for NSPR 4.5.
Modified Files: configure configure.in repackage.sh vercheck.c
2003-11-25 01:20:40 +00:00
wchang0222%aol.com 689be7412b Use a larger buffer. 2003-10-24 01:34:28 +00:00
wchang0222%aol.com 244f520ed4 Added a missing printf statement. 2003-10-24 01:17:42 +00:00
wchang0222%aol.com 9e5bdd305b Added formattm.c, a test program for PR_FormatTime and
PR_FormatTimeUSEnglish.
2003-10-24 01:02:40 +00:00
wtc%netscape.com 2f86bc3f46 Bugzilla bug 208973: removed obsolete Mac classic CFM build files. 2003-09-18 02:03:01 +00:00
wtc%netscape.com 17575e1042 Bugzilla bug 215581: build with GCC 3.2.2 for OS/2. The patch is
contributed by Javier Pedemonte <pedemont@us.ibm.com>.  r=wtc.
2003-09-16 01:58:03 +00:00
wtc%netscape.com a112a88277 Added a test for PR_GetAddrInfoByName. 2003-09-13 00:18:41 +00:00
darin%meer.net ad3f5bd55a landing patch for bug 211501 "NSPR should provide getaddrinfo" r=wtc 2003-09-11 21:42:16 +00:00
wtc%netscape.com 715612be7c Bugzilla bug 214411: implement automatic attaching and detaching of Solaris
native threads.  The patch contains contribution by Gerard Roos
<gerard.roos@adnovum.ch>.
Modified Files: _solaris.h primpl.h solaris.c pruthr.c foreign.c provider.c
2003-09-11 00:29:37 +00:00
wtc%netscape.com 9fe76c8e50 Bugzilla bug 217968: renamed the STACKSIZE macro to THREAD_STACKSIZE to
avoid a conflict with a same-named macro defined in <ppc/param.h> on Mac OS
X.  Thanks to timeless@bemail.org for reporting the bug.
Modified Files: server_test.c servr_kk.c servr_ku.c servr_uk.c servr_uu.c
2003-09-08 18:54:05 +00:00
wtc%netscape.com 3b4d98cf4a Updated for NSPR 4.4. 2003-07-10 01:05:10 +00:00
wtc%netscape.com c925721dd2 Print error codes if PR_Read fails. 2003-05-23 06:19:11 +00:00
wtc%netscape.com 58111e3b8b Bug 201405: Backed out the previous checkin. It caused the timeout test to
hang.
2003-05-14 01:47:18 +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 89a49dd551 Bug 201405: we must call PR_WaitCondCVar in a while loop. 2003-04-09 22:40:33 +00:00
wtc%netscape.com d5be33dd67 Bug 126932: made runtests.{sh,ksh} work on OS/2. Include the header for
getcwd in thrpool_server.c.
Modified Files: runtests.sh runtests.ksh thrpool_server.c
2003-04-09 22:34:37 +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 e13c5da57f Bug 189332: Implemented the new function PR_GetLibraryFilePathname for
AIX, HP-UX, Linux, Mac OS X, OSF1, Solaris, and Windows.  Added the new
error code PR_LIBRARY_NOT_LOADED_ERROR for the error condition that the
library specified by "name" and "addr" is not loaded.  Added a new test,
libfilename.c.  Extended the PR_GetLibraryName function to not prepend any
directory if the first argument "dir" is NULL.  The OSF1 implementation was
contributed by Steve Streeter <Stephen.Streeter@hp.com>.
Modified files: prerr.h prlink.h nspr.def pr/src/linking/Makefile.in
prlink.c compile-et.pl prerr.c prerr.et prerr.properties
pr/tests/Makefile.in runtests.ksh runtests.sh
Added file: pr/tests/libfilename.c
2003-01-17 01:03:47 +00:00
wtc%netscape.com 7ee8308ff0 Converted runtests.ksh (rev. 1.25) into a Bourne shell script. Replaced
Korn shell's echo command by the printf command.
2002-10-13 00:04:00 +00:00
wtc%netscape.com 228032be6a Updated for NSPR 4.3. 2002-08-28 20:27:31 +00:00
wtc%netscape.com 1adc84ff96 Updated for NSPR 4.2.2. 2002-08-28 18:21:32 +00:00
wtc%netscape.com 709aeb4afa Bug 119098: fixed the problem building NSPR tests on OS/2. The patch is
contributed by Michael Kaply <mkaply@us.ibm.com> and Julien Pierre
<jpierre@netscape.com>.
2002-07-09 00:09:32 +00:00
wtc%netscape.com 47123c689e The previous checkin didn't work. Backed it out. 2002-06-14 05:37:41 +00:00
wtc%netscape.com 506d8023e4 Bug 151722: addr is in shared memory and is modified by another process, so
it needs to be declared volatile.
2002-06-14 05:25:52 +00:00
wtc%netscape.com ce6a470e3f Update the vercheck.c test for NSPR 4.2.1. 2002-06-13 22:15:59 +00:00
wtc%netscape.com fff5123ba0 Run the test on both the primordial thread and another thread. 2002-01-23 03:05:01 +00:00
wtc%netscape.com f7ce875b61 Added support for new HP-UX platform.
Modified files: configure configure.in _hpux.h _hpux64.cfg uxrng.c
prsystem.c pr/tests/Makefile.in
2002-01-23 02:56:36 +00:00
seawood%netscape.com f4d52ab8d0 Landing BeOS BONE support.
Thanks to Matthew Zahorik <maz@albany.net> & Paul Ashford <arougthopher@lizardland.net> for the patch.
Bug #71697 r=wtc/cls
2002-01-10 09:50:36 +00:00
wtc%netscape.com f60130aa75 Bugzilla bug 48308: checked in part of the patch to bring NSPR up to
OpenUNIX8 build with pthreads.  The patch is contributed by
Hiram Clawson <hiramc@caldera.com>.
Modified files: _pth.h ptio.c ptthread.c pr/tests/Makefile.in
2001-12-26 22:59:38 +00:00
wtc%netscape.com b77737a762 Updated the test for the NSPR 4.2 release. 2001-12-18 03:49:31 +00:00
seawood%netscape.com a7d65c527e Convert all rhapsody (pre-beta-macosx) references to darwin.
Bug #106617 r=wtc
2001-10-26 04:55:58 +00:00
wtc%netscape.com 4bd09d50fa Bugzilla bug #86785: link with -lpthread -lthread on all versions of
Solaris to ensure the correct library linking order.
2001-06-24 05:02:15 +00:00
wtc%netscape.com b0fe772ba3 Use gcc's -Wl flag to pass a linker flag to the linker. 2001-06-14 05:31:14 +00:00
wtc%netscape.com 0658db4243 Put all IRIX cc compiler options inside the ifndef NS_USE_GCC block.
Modified files: config/Makefile.in pr/tests/Makefile.in
2001-06-14 02:23:42 +00:00
wtc%netscape.com 2d14054ab4 Do not use IRIX native compiler options such as -n32 when NS_USE_GCC is
defined.
Modified files: config/Makefile.in, pr/tests/Makefile.in
2001-06-07 01:11:59 +00:00
wtc%netscape.com ff6de2908b Bugzilla bug #84100: we need to write our own accept method to copy
the PRFilePrivate structure.
2001-06-05 04:31:20 +00:00
wtc%netscape.com 09df4f41f8 Now that OBJDIR is the current directory (.), we no longer need to install
the test shared library in ../$(OBJDIR)/dll.
2001-05-17 22:48:45 +00:00
wtc%netscape.com a090a0feb0 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 b23c9e4fbc Removed all Makefile's. The new autoconf build system uses Makefile.in's. 2001-05-17 21:26:28 +00:00
larryh%netscape.com 40ac2b4d59 bugzilla: 80884. PR_Rmdir error 2001-05-16 00:04:34 +00:00
wtc%netscape.com 194750c325 Merged NSPRPUB_CLIENT_BRANCH onto the trunk. 2001-05-12 05:12:58 +00:00
cls%seawood.org d74d44c2f2 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 42c24e8ad2 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
wtc%netscape.com a32a22f21d Added const to clean up compiler warnings. 2001-01-06 05:26:24 +00:00
cls%seawood.org d883c8e0d1 Sync'ing long lost changes between Makefile & Makefile.in 2000-12-30 00:47:58 +00:00
larryh%netscape.com 5d72ae5f16 Bugzilla: 55271. Attach thread on BeOS 2000-10-10 20:07:20 +00:00
wtc%netscape.com 435e14fa0c Bugzilla bug #25982: renamed the new PR_PutEnv() function to PR_SetEnv()
and resurrected the original Mac-specific PR_PutEnv().
Modified files: prenv.h, prenv.c, pr/tests/env.c
2000-08-30 17:06:04 +00:00
wtc%netscape.com 48b22f761d Restored the correct copyright years. 2000-08-30 17:00:08 +00:00
wtc%netscape.com 65482ee02e Use real sockets in the poll desc array as opposed to NULL. Some
platforms seem to have problem polling on an array of -1's.
2000-08-11 03:00:45 +00:00
wtc%netscape.com 26cfafe393 Updated for 4.1 release. 2000-08-11 01:34:31 +00:00
larryh%netscape.com 333cb1eb3c remove priotest. The test is not valid 2000-08-09 21:42:35 +00:00
wtc%netscape.com 69c1fcfb22 Make main() return int explicitly. 2000-08-08 21:33:51 +00:00
larryh%netscape.com d38ef6d48f change default hostname to mcom.com 2000-08-01 23:31:48 +00:00
larryh%netscape.com f2053f7a8f BugZilla: 4090. PR_APPEND 2000-07-28 21:51:07 +00:00
larryh%netscape.com 541534abdd BugZilla: 25982. Add function PR_PutEnv() 2000-07-27 21:20:48 +00:00
larryh%netscape.com 4502c596de BugZilla: 39942. PR_SetError() calls free() 2000-06-22 19:46:28 +00:00
larryh%netscape.com 54094399ef BugZilla: 42367. Fix copyright date, Original Code 2000-06-20 21:48:45 +00:00
wtc%netscape.com 3cb1db98ad Changed default host name to www.mozilla.org. 2000-06-20 20:11:24 +00:00
larryh%netscape.com 4071477837 BugZilla 42367. change license to dual-license 2000-06-13 20:59:02 +00:00
wtc%netscape.com 8ba6629314 Bugzilla bug #38599: added new test prpollml.c. This test should be
purified to verify that the syspoll_list field of PRThread in the
pthreads version is not leaked.
Modified files: runtests.ksh, Makefile, Makefile.in
Added file: prpollml.c
2000-06-09 01:54:29 +00:00
wtc%netscape.com 905276f664 Corrected typo. 2000-06-03 00:14:32 +00:00
wtc%netscape.com efb5741989 Added #include <string.h> for memset. 2000-06-02 00:23:12 +00:00
wtc%netscape.com 9cdde5355f Added #include <string.h> for strcmp and memset. 2000-06-02 00:21:37 +00:00
wtc%netscape.com 6324ab32fb Added parentheses to remove nested if-else ambiguity. 2000-06-02 00:20:31 +00:00
wtc%netscape.com 47f68e2fd0 Bugzilla bug #39731: added new tests pipeping2.c and pipepong2.c
for pipe fd inheritance.
Added files: pipeping2.c, pipepong2.c
Modified files: Makefile, Makefile.in, runtests.ksh
2000-05-31 02:02:34 +00:00
wtc%netscape.com 9ca7f62db3 Bugzilla bug #34920: added new test acceptreademu.c to test
PR_EmulateAcceptRead.
Added file: acceptreademu.c
Modified files: Makefile, Makefile.in, runtests.ksh
2000-05-26 23:14:23 +00:00
wtc%netscape.com a72b3a0d9e Bugzilla bug #34920: test PR_EmulateSendFile. 2000-05-26 22:08:29 +00:00
wtc%netscape.com 24e0bceb21 Bugzilla bug #39674: added a test selintr.c to verify that the select()
wrapper in classic NSPR properly blocks the SIGALRM clocks.
Added file: selintr.c
Modified files: Makefile, Makefile.in, runtests.ksh
2000-05-25 21:29:38 +00:00
larryh%netscape.com 843ae98570 BugZilla 25981. PR_GetNumberOfCpus() 2000-05-23 21:35:16 +00:00
wtc%netscape.com f8be1069c3 Bugzilla bug #39110: removed the test freeif.c from the makefile and
test harness because the fix of this bug is deferred to NSPR 5.0.
Modified files: Makefile, Makefile.in, runtests.ksh.
2000-05-22 22:42:05 +00:00
wtc%netscape.com cfc04da858 Improved the test a little. 2000-05-22 19:52:56 +00:00
wtc%netscape.com 95e7196504 Bugzilla bug #39110: added a new test freeif.c to catch this bug.
Added file: freeif.c
Modified files: Makefile, Makefile.in, runtests.ksh
2000-05-22 18:30:06 +00:00
wtc%netscape.com 02e6628186 Added the peek.c test to runtests.ksh. 2000-05-08 18:48:59 +00:00
wtc%netscape.com 907e8df20b Non-blocking PR_Connect fails with PR_IN_PROGRESS_ERROR as opposed to
PR_WOULD_BLOCK_ERROR.  Made the test run two passes, one with local
threads and one with global threads.
2000-05-04 21:30:19 +00:00
wtc%netscape.com fcd37d3a17 Bugzilla bug #17223: added the PR_MSG_PEEK (with same value as MSG_PEEK)
for PR_Recv().  Define _PR_EMULATE_MSG_PEEK on platforms that don't
natively support MSG_PEEK.  Implemented PR_MSG_PEEK for pthreads.
Added the peek.c test case.
Modified files: prio.h, _macos.h, _winnt.h, primpl.h, ptio.c,
pr/tests/Makefile, pr/tests/Makefile.in
Added file: pr/tests/peek.c
2000-05-03 01:22:54 +00:00
wtc%netscape.com b4ace21764 Bugzilla bug #37146: fixed the output of the test. 2000-04-25 21:40:49 +00:00
wtc%netscape.com 08b72455a6 Bugzilla bug #5757: added a while loop around the PR_Wait call. 2000-03-22 02:13:35 +00:00
srinivas%netscape.com dc672254c2 Implemented a new style stack of IO layers with a fixed, dummy header.
Bug #30914.
2000-03-17 23:15:27 +00:00
srinivas%netscape.com cdf738d343 Added new functions to look up function symbols in dynamic libraries.
Bugzilla #27175.
2000-03-14 14:54:25 +00:00
wtc%netscape.com 10e70e307b Bugzilla bug #31697: Mac OS X (Rhapsody) port, based on the patch that
Stuart Parmenter <pavlov@netscape.com> sent to me.
Modified files: Rhapsody.mk, arch.mk, _pth.h, _rhapsody.h, prlink.c,
rhapsody.c, uxproces.c, uxrng.c, ptio.c, pr/tests/Makefile,
pr/tests/Makefile.in
2000-03-14 00:43:31 +00:00
wtc%netscape.com 7b8ea108e9 Bugzilla bug #30746: added a new test primblok.c to show that NSPR I/O
functions will hang when the primordial thread calls a native blocking
function.
Added file: primblok.c
Modified files: Makefile, Makefile.in, runtests.ksh
2000-03-09 22:45:42 +00:00
wtc%netscape.com 37e224ac8f Bugzilla bug #31049: pass both null and non-null 'addr' argument to
PR_Accept to catch this bug.
2000-03-09 21:40:11 +00:00
wtc%netscape.com 785ef73ca9 Bugzilla bug #31120: added a new test intrio.c to reproduce this bug.
Added file: intrio.c
Modified files: Makefile, Makefile.in, runtests.ksh
2000-03-09 21:14:24 +00:00
wtc%netscape.com 33222f1d14 Bugzilla bug #30367: define uint for Neutrino. Rearranged the ifdef's
in protypes.h so that it is easier to understand.  Added the test
obsints.c to ensure that all the (obsolete) integer types are defined.
Added file: pr/tests/obsints.c
Modified files: protypes.h, pr/tests/Makefile, pr/tests/Makefile.in
2000-03-07 22:48:41 +00:00
wtc%netscape.com 8978513d04 Merged NSPR 4.0 release onto the main trunk. 2000-03-03 19:53:57 +00:00
wtc%netscape.com 2f4e8fb2ee Removed #if !defined(DEBUG). Bugzilla #29181. 2000-03-01 21:35:49 +00:00
srinivas%netscape.com 8551dfe8aa PR_SetThreadPrivate should be passed an invalid key for the failure case.
Bugzilla #29181.
2000-03-01 02:37:25 +00:00
wtc%netscape.com f132ed1139 Landed NSPRPUB_RELEASE_4_0_20000223 onto the main trunk. 2000-02-23 23:38:19 +00:00
scc%netscape.com f4d1a0041d Pro5 update 2000-02-07 23:12:23 +00:00
sdagley%netscape.com 703c6caa28 Access path updates in anticipation of update to CW Pro5 (#25949). r=pinkerton 2000-02-01 04:27:22 +00:00
wtc%netscape.com 1337b2285d Fixed bogus error messages. Thanks to Kurt J. Lidl <lidl@pix.net>
for reporting the bug and providing a fix.
2000-01-28 23:31:20 +00:00
srinivas%netscape.com f49da0a0b2 Add threadpool feature. Bugzilla #23951. rwtc. 2000-01-18 20:45:29 +00:00
wtc%netscape.com 8b70f30f21 Bugzilla bug #20770: on Solaris, gethost.c needs to link with -lsocket
if USE_IPV6=1 is specified.
2000-01-14 00:53:39 +00:00
wtc%netscape.com 128ce5e3c1 Set the reuseaddr socket option before calling PR_Bind. 2000-01-14 00:22:37 +00:00