Commit Graph
205 Commits
Author SHA1 Message Date
srinivas@netscape.com bc0b346856 Inlcude the assembly language implementation of the stack operations only when
_PR_HAVE_ATOMIC_CAS is defined. Bugzilla #11576.
1999-08-18 02:17:13 +00:00
srinivas@netscape.com 0bb677a945 Assembly language implementation of PR_StackPush/Pop routines for Sparc/x86;
checkin for ppokorny@mindspring.com.
1999-07-27 14:40:44 +00:00
srinivas@netscape.com 76b1df120d Fix error in previous checkin. 1999-07-27 02:59:37 +00:00
srinivas@netscape.com bc7b6ffbaf The "execute" permission bit needs to be set for shared libraries on HP-UX.
Bugzilla #10201.
1999-07-27 01:52:19 +00:00
sdagley@netscape.com d72ea52b15 Fix bug #3537. Replaced call of Delay() with WaitNextEvent() so that we'll yield to other processes if we're in some long wait for i/o. 1999-07-22 21:28:34 +00:00
sdagley@netscape.com 937b586745 Change to address bug #10334 and improve startup time on Mac. Use sync i/o for reads of less than 2K. 1999-07-22 21:26:33 +00:00
wtc@netscape.com d39677f0dc Explain the type pt_SockLen. 1999-07-21 18:31:25 +00:00
wtc@netscape.com 0e446c7516 A hack to get _MD_unix_get_nonblocking_connect_error to work for Neutrino.
This patch is contributed by Jerry L. Kirk <Jerry.Kirk@Nexwarecorp.com>.
1999-07-19 22:23:43 +00:00
wtc@netscape.com cbe4016aa7 Files created in 1999 should have a 1999 copyright notice. 1999-07-19 21:37:59 +00:00
srinivas@netscape.com 907c62354a OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>. 1999-07-16 02:35:57 +00:00
srinivas@netscape.com 26f59f3b44 NetBSD/PowerPC port. Checkin for kei_sun@ba2.so-net.ne.jp 1999-07-16 00:30:32 +00:00
srinivas@netscape.com 79487880d0 NSPR no longer defines symbols with the PTHREAD prefix. Bugzilla #9907. 1999-07-15 13:06:28 +00:00
srinivas@netscape.com 18dbaad099 OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>. 1999-07-15 12:37:21 +00:00
sdagley@netscape.com 8158b4cde3 Part deux of the fix for #8491. Had to add the ability to externally re-init NSPR's log feature as we were reading the environemnt vars on the Mac after the initial init. Reviewed saari. 1999-07-09 04:03:51 +00:00
sdagley@netscape.com 794220bff6 Fix for bug #8491. Reviewed scc, approved chofmann. Provide support for environment variables on the Mac so PR_Log can query for what modules are actually supposed to be logged. See the bug comments for a description of how to set the enviroment variables. 1999-07-09 02:44:31 +00:00
wtc@netscape.com 60679cbc88 Fixed an unused-variable compiler warning. Thanks to
Seth Spitzer <sspitzer@netscape.com> for the fix.
1999-07-06 23:18:43 +00:00
gordon@netscape.com fe183b653d Changes to build for TARGET_CARBON. 1999-06-30 21:28:05 +00:00
wtc@netscape.com ba78349cb1 Merged Neutrino (NTO) changes contributed by Jerry L. Kirk
<Jerry.Kirk@Nexwarecorp.com>.
Modified files: pr/include/md/Makefile, _pth.h, prosdep.h,
pr/src/md/unix/Makefile, objs.mk, unix.c, unix_errors.c,
ptio.c, ptthread.c.
Added files: NTO.mk, _nto.cfg, _nto.h, nto.c.
1999-06-28 23:13:18 +00:00
wtc@netscape.com 6605891e50 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
sdagley@netscape.com bbf687a4f4 Fix bug #6507. PR_fprintf() with PR_GetSpecialFD(PR_StandardOutput) or PR_GetSpecialFD(PR_StandardError) as the file argument now works on the Mac with output directed to the SIOUX stdout console window. 1999-06-07 02:37:28 +00:00
srinivas@netscape.com c89e367a12 QNX port; checkin for briano@netscape.com. Bug #7276. 1999-06-06 12:10:45 +00:00
wtc@netscape.com 55ef43b4d0 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 9dfe0ea58c 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
wtc@netscape.com 903715d785 Bugzilla bug #7077: modified compile-et.pl so that it adds comments
(error strings) before the error code macro definitions in the
generated header.  Also updated prerr.h to reflect this change.
Thanks to John Gardiner Myers <jgmyers@netscape.com> for contributing
the fix.
1999-05-27 23:20:02 +00:00
gordon@netscape.com 3ffecfd579 Fix for bug#4312. Conditionalized patching of StackSpace so it's only done when patching is allowed. Use FindSymbol to dynamically lookup NewRoutineDescriptor and CallOSTrapUniversalProc so we can link against CarbonLib. 1999-05-21 20:08:09 +00:00
gordon@netscape.com d876b8bfc0 Fix for bug#6662 "PR_Open does not set hpb.fileParam.ioDirID field". 1999-05-20 03:58:42 +00:00
sdagley@netscape.com feaacd5dfd Fix bug #3534. Now set EOF and file position to requested offset in a seek when the offset is past the current EOF. With this fix pinkerton's workaround in reg.c is no longer required si it has been removed. Reviewed pinkerton, approved chofmann. 1999-05-20 01:25:54 +00:00
sdagley@netscape.com 1a066bff0d Add test to see if async I/O has completed before we actually yield the thread. Part of the I/O improvments tagged under bug #3536. Approved wtc. 1999-05-19 02:49:00 +00:00
srinivas@netscape.com e9762151b2 Fixed a typo in previous checkin 1999-05-19 01:14:12 +00:00
srinivas@netscape.com d4ef92e26b OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>. 1999-05-19 00:53:52 +00:00
wtc@netscape.com d9340d3476 On SCO OpenServer 5, ENOBUFS and ENOSR are defined to be the
same thing.  So check whether they are equal.  Thanks to
Brian Ostrom <briano@netscape.com> for the bug fix.
1999-05-18 23:07:00 +00:00
gordon@netscape.com 4894c9811f Fix for bug#4312. Conditionalized patching of StackSpace so it's only done when patching is allowed. Also removed obsolete 68k code, and replaced uses of the BUILD_ROUTINE_DESCRIPTOR macro with calls to NewRoutineDescriptor. 1999-05-11 05:33:51 +00:00
gordon@netscape.com 139d696b20 Fix for bug #4313 "[PP]Replace ExitToShell() patch with CFM termination proc". Also removed obsolete 68k code. 1999-04-28 06:45:07 +00:00
gordon@netscape.com 86f0609bb2 Fix for Mac OT bugs #4251. Added a case for OTGetEndpointState() returning T_INREL to avoid calling PR_ASSERT. Also removed call to macsock_map_error() in notification routine because it makes assumptions concerning the current thread that are not valid from an interrupt. 1999-04-27 19:50:06 +00:00
wtc@netscape.com d1c967129c Bugzilla bug #5518: map PRSeekWhence to FILE_XXX before passing to
SetFilePointer.
Bugzilla bug #5520: correctly check for failure status of SetFilePointer
when invoked with a non-NULL third argument.
1999-04-26 22:09:00 +00:00
wtc@netscape.com 4b75a1ac0e Bugsplat bug #350054: in the NT implementation of SocketTransmitFile,
free the PRFileDesc only if the file is successfully transmitted.
1999-04-23 19:45:24 +00:00
dmose@mozilla.org d5cea3bfc1 updating to license version 1.1 in boilerplate comments 1999-04-21 21:40:44 +00:00
wtc@netscape.com 6d572f4789 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 8fa1503a40 Bugzilla bug #146: cast unsigned to signed type before applying the
unary minus operator to get rid of a compiler warning.  Thanks to
rick@rixsoft.com for the bug report.
1999-04-16 00:15:12 +00:00
srinivas@netscape.com d688631737 Removed mozilla-specific library path components: bug #4450. 1999-04-11 06:44:49 +00:00
wtc@netscape.com ab5dc5bc39 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
wtc@netscape.com 67a94e16c0 Symbols on NetBSD also have a leading underscore.
This patch is contributed by gduzan@acm.org.
1999-04-06 01:26:50 +00:00
wtc@netscape.com 3a1e24887b Made the i/o continuation thread ignore the events that have
been consumed by prior continuation function calls.
(Bugsplat bug #345296)
Modified files: primpl.h, ptio.c.
1999-04-02 23:21:08 +00:00
wtc@netscape.com 859d4031f8 The SocketPollFD functions are moved from public header(prio.h) to private
header (pprio.h). The PRDescType is set to 0.
1999-04-01 05:12:35 +00:00
wtc@netscape.com ed2fe4615e Fixed an error in the comments. (Bugzilla bug #346002)
Modified files: prsocket.c, ptio.c
1999-04-01 05:03:37 +00:00
wtc@netscape.com 9d39332e22 Bugzilla bug #4464: cast enum PRThreadPriority to PRIntn before
doing comparisons so that enum PRThreadPriority is treated as a
signed type.  Thanks to Jeremy Lea <reg@shale.csir.co.za> for
reporting this bug.
1999-04-01 04:16:12 +00:00
wtc@netscape.com fa4d130c1e Defined a new IOMethods table to implement PR_CreateSocketPollFd and
PR_DestroySocketPollFd.
1999-03-30 01:37:52 +00:00
wtc@netscape.com 8e1ed9f264 Use a default error-mapping function.
This work is contributed by Nelson Bolyard <nelsonb@netscape.com>.
1999-03-29 00:28:23 +00:00
wtc@netscape.com 95db659276 Use a default error-mapping function.
This work is contributed by Nelson Bolyard <nelsonb@netscape.com>.
1999-03-25 06:33:45 +00:00
wtc@netscape.com c8916367aa Bugzilla bug #4176: _POSIX_THREAD_PRIORITY_SCHEDULING is the feature-test
macro for pthread_attr_setscope.  Thanks to jon@eyrie.org (Jonathan Lennox)
for the patch.
1999-03-23 05:17:47 +00:00