gerv%gerv.net
43cb9e1492
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155484 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 15:03:26 +00:00
sfraser%netscape.com
473553d46e
Fix bug 158927 -- controls not drawing correctly in QuickTime plugin. The problem was that the thread scheduling Timer Task would call WakeUpProcess() every time when we are blocked and not servicing NSPR threads (for example when tracking plugin controls). A side effect of this is to prevent Mac OS X from flushing the window back buffers, hence the drawing issues. Fix is to only call WakeUpProcess() if we've been through the scheduler since the last time. r=sdaglye, wtc. a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@125921 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-27 01:01:36 +00:00
wtc%netscape.com
018fc5a795
Bug 92516: _MD_gethostname returns the host's IP address on Mac so the
...
code that converts the fully qualified hostname to the unqualified hostname
is invalid for Mac. Thanks to Roger D <rogerd@netscape.com> for the fix.
Modified Files: _macos.h prsystem.c
git-svn-id: svn://10.0.0.236/trunk@122422 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 14:45:44 +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
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
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
sfraser%netscape.com
80126d7f1e
Fix bug 106999 -- implement Mac atomic operations using Open Transport routines for speed. r=wtc.
...
git-svn-id: svn://10.0.0.236/trunk@110046 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 23:59:35 +00:00
sfraser%netscape.com
83c130f034
Fix for 100353 -- handle polling for read and write on different threads, and properly deal with sending to a socket that has flow control restrictions. Fixes a problem saving to IMAP server sent messages with attachments. r=gordon, wtc.
...
git-svn-id: svn://10.0.0.236/trunk@104889 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 02:16:47 +00:00
sfraser%netscape.com
108ee42e26
Fix for bug 71718. Make Mac NSPR work on dual CPU Mac OS X macines by using MP critical regions to fix threading synchronization problems. Uses hand-rolled critical regions because the critical section API is broke on Mac OS 10.0.x. r=gordon, wtc.
...
git-svn-id: svn://10.0.0.236/trunk@104017 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 23:35:25 +00:00
gordon%netscape.com
974d4f61ac
Fix bug 29338 "PR_Poll should not poll (spin) on Mac". Checking in for sfraser. r=dougt, sdagley, gordon, sr=sfraser, or vice versa.
...
git-svn-id: svn://10.0.0.236/trunk@89468 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 07:02:53 +00:00
gordon%netscape.com
c500b18253
fix for bug 66508. r=pinkerton, sr=sfraser. Landing fix from 6.0 branch to detect orderlyDisconnects.
...
git-svn-id: svn://10.0.0.236/trunk@86406 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:03:35 +00:00
wtc%netscape.com
53dd5fe525
Bugzilla bug #46909 : on Mac, define _PR_LOCAL_THREADS_ONLY in _macos.h
...
as opposed to prcpucfg.h.
git-svn-id: svn://10.0.0.236/trunk@75130 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 01:51:00 +00:00
wtc%netscape.com
bbd5f98fdf
Fixed Bugzilla bug #45181 .
...
Modified files: _beos.h, _macos.h, _os2.h, _unixos.h, _win95.h, _winnt.h,
primpl.h, prfile.c, prio.c, prsocket.c, bfile.c, macsockotpt.c, os2io.c,
unix.c, ntio.c, w95io.c, prinit.c, ptio.c
git-svn-id: svn://10.0.0.236/trunk@74993 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 02:40:54 +00:00
larryh%netscape.com
5044d318b8
BugZilla: 42367. Fix copyright date, Original Code
...
git-svn-id: svn://10.0.0.236/trunk@72681 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 21:48:45 +00:00
larryh%netscape.com
5ff71dac06
BugZilla 42367. change license to dual-license
...
git-svn-id: svn://10.0.0.236/trunk@72131 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 20:59:02 +00:00
wtc%netscape.com
c984483443
Bugzilla bug #38996 : added new function PR_GetMemMapAlignment().
...
Modified files: prio.h, _beos.h, _macos.h, _os2.h, _unixos.h, _win16.h,
_win95.h, _winnt.h, primpl.h, prmmap.c, bmmap.c, macio.c, os2misc.c,
ntmisc.c, w16fmem.c
git-svn-id: svn://10.0.0.236/trunk@69295 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 23:54:04 +00:00
wtc%netscape.com
545bb2e891
Bugzilla bug #36718 : several socket options become enums in Mac OS
...
Universal Interfaces 3.3. Define them as macros so that our code
in prmapopt.c, which assumes all socket options are macros, continues
to work.
git-svn-id: svn://10.0.0.236/trunk@68701 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 20:38:14 +00:00
wtc%netscape.com
97d2ae4fd2
Bugzilla bug #17223 : implemented the PR_MSG_PEEK flag for PR_Recv() for
...
BeOS, Mac OS, OS/2, and Windows. On BeOS, Mac OS, and NT, PR_MSG_PEEK
is emulated with a peek buffer in the NSPR file descriptors.
Modified files: _beos.h, _macos.h, _winnt.h, primpl.h, prsocket.c,
macsockotpt.c, os2sock.c, ntio.c, and w95sock.c
git-svn-id: svn://10.0.0.236/trunk@68299 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:32:49 +00:00
wtc%netscape.com
009810cff6
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
git-svn-id: svn://10.0.0.236/trunk@67998 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:22:54 +00:00
wtc%netscape.com
7f138566c6
Landed NSPRPUB_RELEASE_4_0_20000223 onto the main trunk.
...
git-svn-id: svn://10.0.0.236/trunk@61538 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 23:38:19 +00:00
wtc%netscape.com
c3137bbb1e
Use only one definition of PipeAvailable and PipeAvailable64, which
...
requires _PR_MD_PIPEAVAILABLE. Define _MD_PIPEAVAILABLE for Mac.
Modified files: _macos.h, prfile.c
git-svn-id: svn://10.0.0.236/trunk@57563 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 21:37:38 +00:00
wtc%netscape.com
9fa2b0ab6d
Backed out the previous checkin (found a better fix).
...
git-svn-id: svn://10.0.0.236/trunk@57213 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 16:40:59 +00:00
wtc%netscape.com
a80f218233
Define _MD_PIPEAVAILABLE for mac (simply returns -1).
...
git-svn-id: svn://10.0.0.236/trunk@57211 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 16:22:26 +00:00
srinivas%netscape.com
0c754e7fb7
Add new API declaration, NSPR_API. Bugzilla #12913 .
...
git-svn-id: svn://10.0.0.236/trunk@57054 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 01:28:13 +00:00
gordon%netscape.com
795b69917e
Checkin for Mark Welch. Approved by wtc. Reviewed by gordon. Fixes for bugs 4318 and 4320 (server sockets and blocking socket IO for mac).
...
git-svn-id: svn://10.0.0.236/trunk@55638 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 23:22:59 +00:00
wtc%netscape.com
3fb7dc1743
_macos.h: define _MD_MINIMUM_STACK_SIZE to be 58K.
...
pruthr.c: removed unnecessary XP_MAC code since _MD_MINIMUM_STACK_SIZE is
checked by _PR_ADJUST_STACKSIZE.
git-svn-id: svn://10.0.0.236/trunk@53930 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 00:56:45 +00:00
sdagley%netscape.com
372a9629c1
Fix Mac bustage. Make PR_GetRandomNoise() compile. Don't know about working yet.
...
git-svn-id: svn://10.0.0.236/trunk@53909 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 21:16:51 +00:00
larryh%netscape.com
079ba173e7
BugZilla: 19247. PR_GetRandomNoise()
...
git-svn-id: svn://10.0.0.236/trunk@53900 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 20:29:17 +00:00
gordon%netscape.com
66130367d8
Mac specific interrupt<->thread synchronization mechanism, required for async Mac dns.
...
r=warren, patrick, wtc, srinivas, larryh; part of bug:10731.
git-svn-id: svn://10.0.0.236/trunk@52633 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 01:22:58 +00:00
dmose%mozilla.org
427e742473
updating to license version 1.1 in boilerplate comments
...
git-svn-id: svn://10.0.0.236/trunk@28534 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 21:40:44 +00:00
gordon%netscape.com
36fad31c19
Fix for Mac OT bugs #2133 , #2405 , #2451 , #2623 , #3580 among others. Steve Dagley served as buddy for my changes. This is basically the first half of the redesign for Mac NSPR Sockets. Blocking mode or Server sockets remain to be implemented.
...
git-svn-id: svn://10.0.0.236/trunk@24086 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-14 00:15:39 +00:00
wtc%netscape.com
4c71f93c90
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.
git-svn-id: svn://10.0.0.236/trunk@16057 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-09 16:37:26 +00:00
wtc%netscape.com
f9841381ad
Fixed a bug in Mac's PR_IntervalNow() and PR_TicksPerSecond(). A
...
tick is one millisecond on the Mac.
Files changed: _macos.h, mactime.c.
Also removed a temporary comment-out in prinrval.c.
git-svn-id: svn://10.0.0.236/trunk@15214 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:31:07 +00:00
wtc%netscape.com
4b4994d255
Removed unused macro and enum constant definitions.
...
git-svn-id: svn://10.0.0.236/trunk@11065 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 20:38:11 +00:00
wtc%netscape.com
c0b3e1fb5a
NSPR20 v3.0 beta landing from NSPRPUB_RELEASE_3_0_LANDING_BRANCH.
...
git-svn-id: svn://10.0.0.236/trunk@11064 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 20:34:39 +00:00
wtc%netscape.com
06d57ca345
NO_NSPR_PRIVATE_HEADER_BRANCH landing. Removed the inclusions of
...
private NSPR headers (prosdep.h and primpl.h) from the Mozilla source.
The part of prosdep.h that is actually needed by Mozilla was extracted
and put in the new file mozilla/include/xp_path.h.
git-svn-id: svn://10.0.0.236/trunk@10691 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 16:59:57 +00:00
wtc%netscape.com
b0a48fbf1e
Increase the timer interval from 1ms to 8ms.
...
git-svn-id: svn://10.0.0.236/trunk@7906 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-13 04:38:42 +00:00
wtc
c46f521185
Bugzilla bug #351 : Removed two extra '>' characters.
...
Thanks to Romain Vignes <rvignes@cal.fr> for the problem report and fix.
git-svn-id: svn://10.0.0.236/trunk@3530 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-09 01:14:56 +00:00
atotic
1b116c75fd
Renamed nsstring.[c|h] to macstdlibextras.[c|h] because of the naming conflict with Raptor (which uses ns prefix exclusively).
...
git-svn-id: svn://10.0.0.236/trunk@1749 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-15 16:54:09 +00:00
wtc
54f4d85fe1
Merged NSPRPUB_19980421_BRANCH to the main trunk.
...
git-svn-id: svn://10.0.0.236/trunk@803 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-28 22:43:48 +00:00
ltabb
8ed5afe62c
Free the lizard
...
git-svn-id: svn://10.0.0.236/trunk@10 18797224-902f-48f8-a5cc-f745e15eee43
1998-03-28 02:44:41 +00:00