1194 Commits

Author SHA1 Message Date
wtc%netscape.com
e0eda039bf Removed NSPR20PPC.mcp. This has been replaced by NSPR20PPC.xml.
git-svn-id: svn://10.0.0.236/trunk@116653 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 19:24:44 +00:00
wtc%netscape.com
620595eeaf Merged the Mac Pro 7 changes onto the trunk of NSPR.
git-svn-id: svn://10.0.0.236/trunk@116595 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 23:31:03 +00:00
seawood%netscape.com
fc003781dc Temporarily force NSPR to be built as -j1 to workaround -j bug in pr/src/Makefile.in
Bug #123423 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@116585 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 22:47:19 +00:00
wtc%netscape.com
065a627d95 Bugzilla bug 129633: changed the default select for OS/2 to BSD_SELECT.
The patch is contributed by Michael Kaply <mkaply@us.ibm.com>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@116306 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 15:22:51 +00:00
wtc%netscape.com
ae12279397 White space changes to improve readability.
git-svn-id: svn://10.0.0.236/trunk@116300 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 06:43:11 +00:00
wtc%netscape.com
e1e8614c68 Merged a change required by Mac Pro 7 from NSPRPUB_PRE_4_2_CLIENT_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@116299 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 06:35:52 +00:00
wtc%netscape.com
4965c8c754 Merged changes required by Mac Pro 7 from NSPRPUB_PRE_4_2_CLIENT_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@116298 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-10 06:31:03 +00:00
sfraser%netscape.com
fc4313bf1c Fix for bug 129364. Eliminate a window of time in which notifiers could fire when we hadn't set up the polling thread on the poll descriptors, which could cause lost notifications and FTP stalls. Also revert to PR_FAST_INTSON() from PR_INTSON(), which seems to fix a permanent stall issue on Mac OS X. r=wtc
git-svn-id: svn://10.0.0.236/trunk@116250 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-09 02:16:49 +00:00
sfraser%netscape.com
9c1844d8ef Workaround fix for a stall on launch on dual CPU OS X machines, that is caused by a race condition entering the critical section. Bug 99561. r=wtc, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@115777 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 00:54:27 +00:00
seawood%netscape.com
6f1cc2c23d Add -lrt/-lposix4 to OS_LIBS on Solaris so that Purify doesn't complain about the missing library when instrumenting libnspr.
Bug #124493 r=bryner a=asa


git-svn-id: svn://10.0.0.236/trunk@115369 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 10:19:08 +00:00
seawood%netscape.com
83a45e96da Create shared libraries using $(CC) for FreeBSD.
Use -pthread as a linker flag instead of a compile flag on FreeBSD.
Thanks to Jeremy Lea <reg@shale.csir.co.za> for the patch.
bug #125857 r=wtc/cls a=asa


git-svn-id: svn://10.0.0.236/trunk@115366 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 09:44:34 +00:00
seawood%netscape.com
49f9b7a928 For nonblocking connections, wait for socket io if errno == EINTR, not EINPROGRESS.
Thanks to Paul Ashford <arougthopher@lizardland.net> for the patch.
Bug #70217 r=cls a=shaver


git-svn-id: svn://10.0.0.236/trunk@115211 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 06:43:31 +00:00
wtc%netscape.com
e24f45ee3e Bugzilla bug 30746: fixed the problem of the previous NT primordial thread
fix in native threads only mode.


git-svn-id: svn://10.0.0.236/trunk@115197 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 02:52:28 +00:00
sfraser%netscape.com
2645fbe684 Fix for bug 121951 -- make PR_Poll on Mac work with layered file descriptors. r=wtc, r=gordon
git-svn-id: svn://10.0.0.236/trunk@114858 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 01:43:15 +00:00
sfraser%netscape.com
f71e860cc9 Fix for bug 121952 -- make PR_ConnectContinue work on Mac, re-enabling non-blocking connects. r=wtc. Also bring forward some code changes to build with CodeWarrior Pro 7 (UPP stuff).
git-svn-id: svn://10.0.0.236/trunk@114856 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 01:26:30 +00:00
wtc%netscape.com
b4e07815b5 Bugzilla bug 97485: added a stub for pr_FindSymbolInProg for Darwin.
git-svn-id: svn://10.0.0.236/trunk@114844 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:45:10 +00:00
wtc%netscape.com
8f23a91622 Bugzilla bug 30746: fixed the deadlock problem of the previous fix for this
bug on Windows if NSPR is initialized by the DllMain function of a DLL.
Modified files: prmwait.c prucpu.c


git-svn-id: svn://10.0.0.236/trunk@114827 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:08:48 +00:00
wtc%netscape.com
913eaca8b9 Bugzilla bug 124981: Enable IPv6 support for FreeBSD. This patch is
contributed by Munechika Sumikawa <sumikawa@ebina.hitachi.co.jp>.


git-svn-id: svn://10.0.0.236/trunk@114673 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 07:12:55 +00:00
seawood%netscape.com
ed6721da35 Add "fast RAM semaphore" support.
Thanks to Mike Kaply <mkaply@us.ibm.com> for the patch.
Bug #125123 r=wtc


git-svn-id: svn://10.0.0.236/trunk@114648 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 02:25:51 +00:00
seawood%netscape.com
df9ad11280 Fix problem of "invisible" helper apps on OS/2.
Thanks to Mike Kaply <mkaply@us.ibm.com> for the patch.
Bug #125183 r=wtc


git-svn-id: svn://10.0.0.236/trunk@114645 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 02:17:58 +00:00
wtc%netscape.com
8b23e2ee5b Bug 122433: checked in a workaround, which disables global optimization on ntio.c
git-svn-id: svn://10.0.0.236/trunk@114418 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 20:06:47 +00:00
wtc%netscape.com
3791cf5f6f Deleted unused declaration of _pr_primordialCPU
git-svn-id: svn://10.0.0.236/trunk@114413 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 19:55:19 +00:00
wtc%netscape.com
0d757b6279 Removed an unreachable break statement.
git-svn-id: svn://10.0.0.236/trunk@114363 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 01:58:17 +00:00
seawood%netscape.com
25502ad396 Add workaround for missing addrlen in PRNetAddr & BONE failing getsockopt.
Thanks to Paul Ashford <arougthopher@lizardland.net> for the patch.
Bug #122364 r=wtc


git-svn-id: svn://10.0.0.236/trunk@114172 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 21:37:07 +00:00
seawood%netscape.com
e741ba59e2 Add support for inheritable fds on BeOS.
Bug #96331 r=arougthopher@lizardland.net


git-svn-id: svn://10.0.0.236/trunk@114168 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 20:55:14 +00:00
seawood%netscape.com
49000ef072 Implement MD process functions for BeOS.
Bug #96331 r=arougthopher@lizardland.net


git-svn-id: svn://10.0.0.236/trunk@114167 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 20:52:29 +00:00
wtc%netscape.com
a464983a2e Bugzilla bug 117479: add the PR_ABS macro. Thanks to Roland Mainz
<Roland.Mainz@informatik.med.uni-giessen.de> for the patch.


git-svn-id: svn://10.0.0.236/trunk@113559 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 04:34:50 +00:00
seawood%netscape.com
308f00fd3c Remove check against fd->secret->md.connectionReturnValue as it always returns 0. Fixing page not loading due to nonblocking connection problem.
Bug #121327 r=arougthopher@lizardland.net


git-svn-id: svn://10.0.0.236/trunk@113306 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 07:43:22 +00:00
wtc%netscape.com
10c0c202c1 Bugzilla bug 97485: added support for the magic "nspr_use_zone_allocator"
global variable.


git-svn-id: svn://10.0.0.236/trunk@113093 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 03:01:45 +00:00
wtc%netscape.com
540892388c Implemented GetHiResClock() for HP-UX.
git-svn-id: svn://10.0.0.236/trunk@112987 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 05:08:43 +00:00
wtc%netscape.com
658de28599 Bugzilla bug 113152: do not define or test the macro 'linux'. Thanks to
david@blue-labs.org for the patch.
Modified files: configure configure.in Linux.mk prinet.h


git-svn-id: svn://10.0.0.236/trunk@112985 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 04:51:01 +00:00
wtc%netscape.com
cc1ec71cfe Backed out the previous checkin. Misunderstood the cause of the problem.
git-svn-id: svn://10.0.0.236/trunk@112983 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 04:35:55 +00:00
wtc%netscape.com
b5fc7698f8 Bugzilla bug 121872: define _PR_MD_LISTEN as a function so that we can set
error codes if listen() fails.  The patch is contributed by Javier
Pedemonte <pedemont@us.ibm.com>.
Modified files: _os2.h _os2_errors.h os2sock.c


git-svn-id: svn://10.0.0.236/trunk@112981 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 02:59:44 +00:00
wtc%netscape.com
a633f807f7 Continue to use the HP shl_load interface on 64-bit HP-UX/PA-RISC for
backward compatibility reasons.


git-svn-id: svn://10.0.0.236/trunk@112939 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-26 02:14:52 +00:00
wtc%netscape.com
0b5aa9d745 Bugzilla bug 106496: fixed the WINNT version of PR_NewTCPSocketPair to
verify the source of the connection.


git-svn-id: svn://10.0.0.236/trunk@112870 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 19:16:34 +00:00
wtc%netscape.com
8d44de2cd4 Bugzilla bug 121872: define _PR_MD_LISTEN as a function so that we can
set error codes if listen() fails.
Modified files: _win95.h w95sock.c


git-svn-id: svn://10.0.0.236/trunk@112865 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 18:45:16 +00:00
wtc%netscape.com
bb624d8ea8 Put the warning printfs inside #ifdef DEBUG.
git-svn-id: svn://10.0.0.236/trunk@112829 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 03:33:20 +00:00
sfraser%netscape.com
cfef97219a Fix bug 119329 -- change NSPR project to use tree-wide prefix files, for compatibility with other libraries. Also removing obsolete files, and adding a CodeWarrior Pro 7-format XML project file. r=pinkerton, r/a=wtc
git-svn-id: svn://10.0.0.236/trunk@112770 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 23:47:22 +00:00
wtc%netscape.com
8b97343194 The current zone allocator code does not compile under DCE threads on HP-UX
10.x.


git-svn-id: svn://10.0.0.236/trunk@112715 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 19:20:47 +00:00
wtc%netscape.com
a925976555 Bugzilla bug 97485: fixed a few bugs in the zone allocator. Print warning
messages on memory blocks from ordinary malloc.  Initialize the zone
allocator first during NSPR initialization.
Modified files: prmem.c prinit.c


git-svn-id: svn://10.0.0.236/trunk@112704 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 18:11:30 +00:00
wtc%netscape.com
b489fa89b9 Memory allocated by strdup() should be freed by free(), not PR_Free().
git-svn-id: svn://10.0.0.236/trunk@112703 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 17:46:37 +00:00
wtc%netscape.com
0da95573c9 Added $(topsrcdir) prefix to config/prmkdir.bat.
git-svn-id: svn://10.0.0.236/trunk@112593 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 00:50:32 +00:00
wtc%netscape.com
5f4f7f813d Run the test on both the primordial thread and another thread.
git-svn-id: svn://10.0.0.236/trunk@112571 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 03:05:01 +00:00
wtc%netscape.com
57008423af Added support for new HP-UX platform.
Modified files: configure configure.in _hpux.h _hpux64.cfg uxrng.c
prsystem.c pr/tests/Makefile.in


git-svn-id: svn://10.0.0.236/trunk@112570 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 02:56:36 +00:00
wtc%netscape.com
c863ba7cc4 Bugzilla bug 106496: PR_NewTCPSocketPair should check the source of the
connection.


git-svn-id: svn://10.0.0.236/trunk@112568 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 02:41:13 +00:00
wtc%netscape.com
a23a9b6f32 Bugzilla bug 119935: we need to set the priority of the new thread only if
the priority is not PR_PRIORITY_NORMAL.  (Windows creates new threads with
the normal priority.)  Thanks to Michael Kaply <mkaply@us.ibm.com> for
reporting this bug.
Modified files: ntthread.c w95thred.c


git-svn-id: svn://10.0.0.236/trunk@112567 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 02:32:28 +00:00
wtc%netscape.com
fde61ab4cb Bugzilla bug 119384: deleted two assertions that contained illegal type
casts.  The two functions that contained the assertions are very simple
so they can do without the assertions.  Thanks to Nick Blievers
<nickb@adacel.com.au> for reporting this bug and suggesting a fix.


git-svn-id: svn://10.0.0.236/trunk@112561 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 01:49:25 +00:00
wtc%netscape.com
9e0f260652 Fixed compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@112554 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 01:10:51 +00:00
wtc%netscape.com
b485eb5684 Fixed if-else indentation style.
Modified files: macio.c macsockotpt.c


git-svn-id: svn://10.0.0.236/trunk@112543 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-22 23:57:41 +00:00
sdagley%netscape.com
a0015fd8cb Fix #99561 (on NSPR tip). Use MPSemaphore calls rather than WaitNextEvent to pause CPU under Mac OS X - fixes thread deadlock and improves performance. r=wtc,sr=sfraser,a=dbaron
git-svn-id: svn://10.0.0.236/trunk@112534 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-22 22:13:03 +00:00