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
srinivas%netscape.com
10169dd868
NSPR no longer defines symbols with the PTHREAD prefix. Bugzilla #9907 .
1999-07-15 13:06:28 +00:00
wtc%netscape.com
ceaf49d623
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
65152a1271
Declared 'loops' signed so that it can be compared with 0
...
safely. Other cleanups. Thanks to Philip Pokorny
<ppokorny@mindspring.com> for the patch.
1999-06-25 22:50:37 +00:00
wtc%netscape.com
328609c46f
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
53b70212da
OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>.
1999-05-19 00:53:52 +00:00
wtc%netscape.com
2d973bea98
Create 10 server threads by default.
1999-05-04 22:06:00 +00:00
wtc%netscape.com
f4b80e7b7e
Added curly braces around nested if's to achieve the if-else association
...
suggested by the identation. Thanks to Dorin-Ioan Marinca <dim@csti.fr>
for reporting the problem and Bert Driehuis
<bert_driehuis@nl.compuware.com> for suggesting the fix.
1999-05-04 21:53:10 +00:00
wtc%netscape.com
ae5b35bcce
Added new tests bigfile2.c and bigfile3.c that reproduce Bugzilla
...
bug #5451 .
1999-04-24 00:32:25 +00:00
dmose%mozilla.org
24d2f3686e
updating to license version 1.1 in boilerplate comments
1999-04-21 21:40:44 +00:00
wtc%netscape.com
51bd621930
Bugsplat bug #345296 : added a test program that have multiple
...
threads accepting on the same listening socket.
1999-04-15 01:11:31 +00:00
wtc%netscape.com
a2d360751d
Bugzilla bug #2802 : prepend current directory to $(DIST)/lib only
...
if $(DIST) is a relative pathname. Thanks to trini@kernel.crashing.org
for reporting this bug.
1999-04-14 01:00:11 +00:00
larryh%netscape.com
b66f6f510f
add coverage for functions that should be called by this test case
1999-04-13 22:58:40 +00:00
larryh%netscape.com
4800ea02ee
Fix thread-type rotation for Win95
1999-04-09 16:38:11 +00:00
wtc%netscape.com
e3e3836e45
The file type PR_DESC_SOCKET_POLL is not defined by NSPR.
1999-04-05 23:24:11 +00:00
wtc%netscape.com
fcc21f3e68
On Solaris, the prpoll test needs to link with -lsocket because
...
it calls BSD socket functions. Moved the rule for the attach
test to be together with other tests that need to link with -lpthread.
1999-04-05 23:23:05 +00:00
wtc%netscape.com
4c6cb234ae
Added test cases for the new NSPR functions, PR_CreateSocketPollFd and
...
PR_DestroySocketPollFd.
1999-03-30 01:38:27 +00:00
wtc%netscape.com
2387f75f32
Don't need to link with -lc_r explicitly on FreeBSD. The -pthread
...
flag takes care of that.
1999-03-23 05:46:07 +00:00
wtc%netscape.com
3336b6b262
FreeBSD/Alpha port, contributed by Brian Ostrom <briano@netscape.com>.
...
Modified files: FreeBSD.mk, gencfg.c, _freebsd.cfg, _freebsd.h,
pr/tests/Makefile.
1999-03-23 04:09:23 +00:00
wtc%netscape.com
aa2f93ba53
Update from the internal CVS repository /m/src. Includes: first
...
cut at 64-bit AIX port.
1999-03-19 22:47:21 +00:00
wtc%netscape.com
5ac57bfe34
NSPR library name change (libnspr21 ==> libnspr3) and
...
plevent.c.
1999-03-17 21:25:08 +00:00
wtc%netscape.com
32ae3e71ff
Another update from the internal CVS repository /m/src.
1999-03-09 05:12:06 +00:00
wtc%netscape.com
cc2275bf41
Another update from the internal CVS repository /m/src.
1999-03-05 22:32:56 +00:00
wtc%netscape.com
fe2af79d43
Another update of the latest stuff from the internal CVS repository /m/src.
1999-03-02 22:23:14 +00:00
wtc%netscape.com
542737727c
Another update from the internal CVS repository /m/src to mozilla.org.
1999-03-02 00:58:34 +00:00
wtc%netscape.com
fa579468de
New test file vercheck.c.
1999-03-01 00:23:34 +00:00
wtc%netscape.com
eda66ef3a8
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
11fde4dbab
New test file acceptread.c.
1999-02-26 20:38:30 +00:00
wtc%netscape.com
adcdf55dea
print thread scope.
1999-02-26 18:34:31 +00:00
wtc%netscape.com
9844420e94
print elapsed and expected times.
1999-02-26 18:33:19 +00:00
wtc%netscape.com
2eb970a90b
Test list for nspr.
1999-02-19 00:14:41 +00:00
wtc%netscape.com
e994375a74
Minor improvements.
1999-02-12 18:41:52 +00:00
wtc%netscape.com
3bad54fbfb
Completely rewrote the test.
1999-02-12 18:41:36 +00:00
larryh%netscape.com
c0f09a9163
make reader-writer locks
1999-02-12 18:40:42 +00:00
larryh%netscape.com
bfb7adb808
add reader-writer locks
1999-02-12 17:18:46 +00:00
wtc%netscape.com
35dd9a5cd9
Added the sockping and sockpong tests.
1999-02-11 00:44:06 +00:00
wtc%netscape.com
0d0cca7699
Declare Test_Result as returning void. Changed AF_INET and INADDR_XXX
...
to PR_AF_INET and PR_INADDR_XXX.
1999-02-11 00:43:30 +00:00
wtc%netscape.com
4346c956cc
Changed AF_INET and INADDR_XXX to PR_AF_INET and PR_INADDR_XXX.
1999-02-11 00:39:16 +00:00
wtc%netscape.com
df4b0d881a
Added the pipeping, pipepong, and pipeself tests.
1999-02-10 19:46:39 +00:00
srinivas%netscape.com
e099eaf41c
Display nspr version info. by default.
1999-02-09 03:34:09 +00:00
srinivas%netscape.com
929a7af41b
Code cleanup.
1999-02-09 03:30:29 +00:00
srinivas%netscape.com
520b97ca3a
Reduce default thread count.
1999-02-09 03:29:40 +00:00
srinivas%netscape.com
993aefddee
Reduce default values of counters.
1999-02-08 20:28:30 +00:00
srinivas%netscape.com
f65732ce84
Code cleanup.
1999-02-08 20:27:02 +00:00
srinivas%netscape.com
3aee7eeb77
Build additional tests
1999-02-08 20:25:05 +00:00
wtc%netscape.com
4bc76045fa
Added a missing PR_htons call. Thanks to Bert Driehuis
...
<bert_driehuis@nl.compuware.com> for the bug report and fix.
1999-02-01 19:56:49 +00:00
wtc%netscape.com
710b99fd12
Changed /usr/tmp/ to /tmp/. BSD/OS does not have /usr/tmp/.
...
Thanks to Bert Driehuis <bert_driehuis@nl.compuware.com> for the fix.
1999-02-01 19:55:48 +00:00
wtc%netscape.com
5fa39ee0d8
Run the default test program 'cvar -c 2000" if no command-line
...
arguments are given.
1999-02-01 19:26:56 +00:00
wtc%netscape.com
98a03ea91f
Minor editing.
1999-01-28 00:27:20 +00:00
wtc%netscape.com
ca0b39ebaf
changed value of TOO_LONG to 5000
1999-01-28 00:26:30 +00:00
wtc%netscape.com
890063dad3
Checked in second batch of BeOS port patches contributed by
...
Matthew Zahorik <maz@albany.net>.
1999-01-28 00:19:40 +00:00
wtc%netscape.com
715f9a482b
Backed out the previous revision, which was checked in when the tree
...
is closed.
1999-01-27 22:39:53 +00:00
wtc%netscape.com
508789c6c0
changed value of TOO_LONG to 5000
1999-01-27 22:36:24 +00:00
sdagley%netscape.com
43765e34bf
First Checked In.
1999-01-27 04:12:38 +00:00
sdagley%netscape.com
04c0cdcb24
Updating so that builds on the Mac will use a SIOUX console window rather than writing to a file (which doesn't work unless running under the debugger for an undetermined reason).
1999-01-27 04:11:54 +00:00
wtc%netscape.com
794545ff11
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
a04411aaf1
Merged the pthreads patches for BSD/OS 4.0 contributed by
...
Bert Driehuis <bert_driehuis@nl.compuware.com>.
Modified files: BSD_OS.mk, _pth.h, bsdi.c, ptio.c, and pr/tests/Makefile.
1999-01-19 23:38:54 +00:00
wtc%netscape.com
250579f68b
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
ffa3fb3f1d
md/_pth.h should be included after pthread.h.
1999-01-08 03:15:21 +00:00
wtc%netscape.com
737bac81c8
This checkin consists on three things:
...
1. File descriptor inheritance
2. Set thread->md.handle on Win32 for attached native threads.
3. Miscellaneous code cleanup.
1998-12-09 16:37:26 +00:00
wtc%netscape.com
b4827694da
A jumbo checkin, consisting of:
...
1. Ports to older revisions of some Unix variants, e.g., BSD/OS 1.1,
OSF1 V2.0, etc., contributed by Brian Ostrom <briano@netscape.com>.
2. QNX port, also contributed by Brian Ostrom.
3. New macro USE_MACH_DYLD to represent the dynamic library loading
API of NEXTSTEP and Rhapsody.
4. On platforms whose socket address has the sa_len field, make a
copy of the PRNetAddr argument for PR_Bind, PR_Connect, and PR_SendTo
and set its sa_len before passing it to the system calls. This
fix is suggested by Bert Driehuis <driehuis@playbeing.org>.
5. Removed the unused field _lockf64 of struct _MD_IOVector. Not
every Unix platform has lockf, and the POSIX file locking API
uses fcntl.
1998-11-23 06:33:00 +00:00
larryh%netscape.com
c77352b176
fix compile error introduced with OS/2 port
1998-11-20 23:56:29 +00:00
srinivas%netscape.com
61317ea209
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