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

233 Коммитов

Автор SHA1 Сообщение Дата
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
srinivas%netscape.com 71ae839c68 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
cls%seawood.org 6be9e15695 Sync'd Makefile.in's to reflect srinivas' NSPR API changes. 2000-01-06 06:09:27 +00:00
wtc%netscape.com 466850c23b Bugzilla bug #18511: on Windows NT, the IP_MULTICAST_TTL option cannot be
set unless the socket is bound to an address.
1999-12-29 23:17:27 +00:00
wtc%netscape.com 82b5645547 Added a test to join with an unjoinable thread. 1999-12-29 22:31:34 +00:00
wtc%netscape.com ce35f2bc20 Fixed pthreads build problems on OpenBSD (Bugzilla bug #20529) and FreeBSD.
Modified files: _freebsd.h, _openbsd.h, ptio.c, ptsynch.c,
pr/tests/Makefile
1999-12-22 23:39:09 +00:00
wtc%netscape.com 935505f811 Bugzilla bug #5802: call PR_Bind and PR_Listen before passing the
listening socket to the server thread.
1999-12-22 20:12:11 +00:00
wtc%netscape.com 4ca0345b90 Bugzilla bug #21651: call PR_Listen on the listening socket before passing
it to the server thread.
1999-12-22 20:10:49 +00:00
wtc%netscape.com 0775d6ac9d Pass LL_ZERO instead of 0 as the second argument to PR_MemMap so that
the code also compiles on platforms without long longs.
1999-12-22 19:47:13 +00:00
wtc%netscape.com 07d81d63fb Print error codes if PR_Connect() fails. 1999-12-04 01:22:01 +00:00
larryh%netscape.com fa4ff6d029 BugZilla: 19247. Add support for VMS, QNX, NTO 1999-11-29 19:42:11 +00:00
wtc%netscape.com 7f67111717 Ported script to Windows 95. 1999-11-20 20:01:24 +00:00
wtc%netscape.com bdba59b3aa Allow specification of timeout for test programs. 1999-11-19 01:01:19 +00:00
wtc%netscape.com dd26474703 Added test case for PR_Available on pipes. 1999-11-19 00:59:57 +00:00
larryh%netscape.com b63b84fc12 BugZilla: 19247. PR_GetRandomNoise() 1999-11-18 20:29:17 +00:00
wtc%netscape.com 04242bc3be Added a new test sendzlf.c, which sends a zero-length file with PR_SendFile
and PR_TransmitFile.
Modified files: pr/tests/Makefile,Makefile.in,runtests.ksh
Added file: sendzlf.c
1999-11-18 02:11:38 +00:00
wtc%netscape.com 8f9a267cfd Bugzilla bug #17728: pt_writev_cont, pt_write_cont, pt_send_cont, and
pt_sendto_cont need to deal with the possibility of a zero-length buffer.
r=srinivas@netscape.com.  Added a test zerolen.c for this bug.
Modified files: ptio.c, pr/tests/Makefile, pr/tests/Makefile.in,
pr/tests/runtests.ksh.
Added file: pr/tests/zerolen.c
1999-11-17 01:59:23 +00:00
srinivas%netscape.com af0d9ed93b Added a new test case for PR_SendFile. Bugzilla #17486. 1999-11-12 13:40:17 +00:00
larryh%netscape.com e458330d57 BugZilla 17558. Add PR_Open() PR_EXCL flag 1999-11-01 22:59:27 +00:00
wtc%netscape.com 1adb555072 Need to set the reuseaddr socket option before PR_Bind, now that
PR_Bind no longer sets that option automatically (see Bugzilla #17184).
1999-10-29 01:41:34 +00:00
srinivas%netscape.com 372f08fa7a Add PR_Block/Unblock_Interrupt functions. Bugzilla 17055 1999-10-28 02:48:01 +00:00
wtc%netscape.com 1b75612ce4 Bugzilla bug #17184: PR_Bind should not set the SO_REUSEADDR socket
option.  The HAVE_SOCKET_REUSEADDR macro is now obsolete.  Tests
that depended on the old PR_Bind behavior needs to call PR_SetSocketOption
before PR_Bind.
Modified files: _beos.h, _os2.h, _unixos.h, _win16.h, _win95.h, _winnt.h,
prsocket.c, ptio.c, accept.c, acceptread.c, sel_spd.c, servr_kk.c,
servr_ku.c, servr_uk.c, and servr_uu.c.
1999-10-26 01:58:10 +00:00
srinivas%netscape.com e1a99e2f32 Fixed typo in debug statement. 1999-10-22 20:59:34 +00:00
wtc%netscape.com 4073bd6553 Bugsplat bug #366840: PR_StringToNetAddr needs to set the address family
field of the PRNetAddr structure. Added a new test str2addr.c for this
bug. r=larryh@netscape.com
Modified files: prnetdb.c, pr/tests/runtests.ksh, pr/tests/Makefile,
    pr/tests/Makefile.in
Added file: pr/tests/str2addr.c
1999-10-20 23:07:38 +00:00
larryh%netscape.com 18430d8338 BugSplat 367096 1999-10-20 00:12:37 +00:00
larryh%netscape.com 90d81fd3a8 BugSplat 367096 1999-10-20 00:07:01 +00:00
cls%seawood.org ec587d1b3b Syncing Makefile.ins with srinivas' previous checkin.
r=shaver
1999-10-19 05:30:36 +00:00
srinivas%netscape.com 169a3f4297 Update with post-3.5 fixes on the tip 1999-10-19 00:40:39 +00:00
srinivas%netscape.com bc866e0703 Initial version 1999-10-18 23:46:10 +00:00
cls%seawood.org e4c06125e8 Bug 11893. r=shaver
Sync the autoconf Makefile.ins.
1999-10-17 15:12:41 +00:00
srinivas%netscape.com e3de1c3a69 Add autoconf for NSPR. Check in for cls@seawood.org. Buzill 11893 1999-10-14 15:09:11 +00:00
larryh%netscape.com 57174e3315 NSPR 3.5 landing 1999-10-13 18:32:42 +00:00
srinivas%netscape.com 482cfdd0c9 Backed out previous checkin. 1999-10-06 19:33:52 +00:00
srinivas%netscape.com e7ecc6f7c3 Fixed bug in previous checkin - initialize variables before use. 1999-10-06 19:07:19 +00:00
srinivas%netscape.com 6e03d4ddcb Add the SO_BROADCAST option. Bug #365862. 1999-10-06 18:31:22 +00:00
srinivas%netscape.com 7811ad1114 Enable specification of extra linker options and libraries from command line. 1999-07-31 17:19:19 +00:00