summaryrefslogtreecommitdiffstats
path: root/mac/tclMacSock.c
Commit message (Collapse)AuthorAgeFilesLines
* Finalization of the sockets is now solely done invasiljevic2006-03-101-13/+11
| | | | | | | | | TclpFinalizeSockets() and not over the thread-exit handler, because the order of actions the Tcl generic core will impose may result in cores/hangs if the thread exit handler tears down socket subsystem too early (See Tcl Bug #1437595). FossilOrigin-Name: f79750f1ba666703a4c13da105b3316cbb740180
* 2002-04-08 Daniel Steffen <das@users.sourceforge.net>das2002-04-081-5/+7
| | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: no <sys/types.h> on mac. * mac/tclMacFile.c: minor fixes to Vince's changes from 03-24. * mac/tclMacOSA.c: * mac/tclMacResource.c: added missing Tcl_UtfToExternalDString conversions of resource file names. * mac/tclMacSock.c (TcpGetOptionProc): fixed bug introduced by Andreas on 02-25; changed strcmp's to strncmp's so that option comparison behaves like on other platforms. * mac/tcltkMacBuildSupport.sea.hqx (CW Pro6 changes): added support to allow Tk to hookup C library stderr/stdout to TkConsole. * tests/basic.test: * tests/cmdAH.test: * tests/encoding.test: * tests/fileSystem.test: * tests/ioCmd.test: fixed tests failing on mac: check for existence of [exec], changed some result strings. FossilOrigin-Name: 3ae45d9135ce87686a3e3b1927650b352481bc93
* * mac/tclMacSock.c (TcpGetOptionProc): Changed to recognize theandreas_kupries2002-02-261-3/+27
| | | | | | | option "-error". Essentially ignores the option, always returning an empty string. FossilOrigin-Name: aa1de44a3e0a0a56a31db01e1d1e3def222359a6
* * generic/tclInt.decls:das2002-01-271-3/+3
| | | | | | | | | | | | | | | | | * generic/tclIntPlatDecls.h: * mac/tclMacChan.c: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacLoad.c: * mac/tclMacResource.c: * mac/tclMacSock.c: TIP 27 CONSTification induced changes * tests/event.test: * tests/main.test: added catches/constraints to test that use features that don't exist on the mac. FossilOrigin-Name: 02f6dcb5d2e40852b7e678559c5f3964c826593e
* * Updated socket interfaces according to TIP 27. Updated callers.dgp2002-01-231-11/+11
| | | FossilOrigin-Name: f28c83d8177682188fa236daceaec9eb7aa8109e
* * Updated APIs in the file generic/tclIO.c according to the guidelinesdgp2002-01-151-6/+6
| | | | | | | | | | | | | of TIP 27. Several minor documentation corrections as well. * Updated channel driver interface according to the guidelines of TIP 27. See also [Bug 500348]. * Moved Tcl_EolTranslation enum declaration from generic/tcl.h to generic/tclInt.h (renamed to TclEolTranslation). It is not used anywhere in Tcl's public interface. FossilOrigin-Name: 9c9edf24ebc9ced7a348fbf0bc524fa36c851598
* ** upport to 8.4 of mac code changes for 8.3.3 & various newdas2001-11-231-2/+2
| | | | | | | | ** changes for 8.4, some already backported to 8.3.4 (patch #435658) see ChangeLog for details FossilOrigin-Name: 2211e7f47d524b40b088c25aae6fabdd9e704dca
* Corrected out of date commentdgp2001-04-041-3/+3
| | | FossilOrigin-Name: d59f169ba49e56c18ca2822aba9cd65283c48a26
* 2000-04-23 Jim Ingham <jingham@cygnus.com> These changes make ↵jingham2000-04-241-25/+130
| | | | | some error handling marginally better for Mac sockets. It is still somewhat flakey, however. * mac/tclMacSock.c (TcpClose): Add timeouts to the close - these don't seem to be honored, however. * Use a separate PB for the release, since an async connect socket will still be using the original buffer. * Make sure TCPRelease returns noErr before freeing the recvBuff. If the call returns an error, then the buffer is not right. * mac/tclMacSocket.c (CreateSocket): Add timeouts to the async create. These don't seem to trigger, however. Sigh... * mac/tclMacSocket.c (WaitForSocketEvent): If an TCP_ASYNC_CONNECT socket errors out, then return EWOULDBLOCK & error out. * mac/tclMacSock.c: (NotifyRoutine) Added a NotifyRoutine for experimenting with MacTCP. FossilOrigin-Name: 406aaa947bb834dc28c69fbc0128db6ccb23905e
* Don't panic when you can't close an async socket on error. It seems to be ↵jingham2000-02-101-11/+7
| | | | | benign to just pass out the error, which is a better solution in the long term. FossilOrigin-Name: 444274f9092b4a6432f6818e980bc399cc07df99
* Move Mark Roseman's fix for slow connections from Tcl 8.0 to Tcl 8.2.jingham1999-08-101-2/+30
| | | FossilOrigin-Name: 5bf564a528d45b9fe11e6e2a66237cbe6bec7af6
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-111/+105
| | | FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
* * Merge 8.0.5 changes:stanton1999-04-151-2/+30
| | | | | | | | | | | - Mac changes for final release - Minor fixes to tools configure file * win/tclWinSock.c: Apply patch to allow write access to a socket if FD_WRITE is sent but FD_CONNECT is not. Some strange problem with either Win32 or a socket driver. [Bug: 1664 1776] FossilOrigin-Name: 08c27030dc1053223d15e60941c667b9adfcc185
* Replaced SCCS strings, fixed binary filescore-8-0-3stanton1998-09-141-1/+1
| | | FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
* Initial revisionrjohnson1998-03-261-0/+2615
FossilOrigin-Name: cacdd0f329872d67973970d74c6978730bc24baa