summaryrefslogtreecommitdiffstats
path: root/mac
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Don't append : to folder name if the folder name is empty.jingham2000-04-171-4/+8
|
* 2000-04-08 Andreas Kupries <a.kupries@westend.com>kupries2000-04-091-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Overall change: Definition of a public API for the creation of new threads. * generic/tclInt.h (line 1802f): Removed the definition of 'TclpThreadCreate'. (line 793f) Removed the definition of 'Tcl_ThreadCreateProc'. * generic/tcl.h (line 388f): Readded the definition of 'Tcl_ThreadCreateProc'. Added Win32 stuff send in by David Graveraux <davygrvy@bigfoot.com> to that too (__stdcall, ...). Added macros for the default stacksize and allowed flags. * generic/tcl.decls (line 1356f): Added definition of 'Tcl_CreateThread', slot 393 of the stub table. Two new arguments in the public API, for stacksize and flags. * win/tclWinThrd.c: * mac/tclMacThrd.c: Renamed TclpThreadCreate to Tcl_CreateThread, added handling of the stacksize. Flags are currently ignored. * unix/tclUnixThrd.c: See above, but handles joinable flag. Ignores the specified stacksize if the macro HAVE_PTHREAD_ATTR_SETSTACKSIZE is not defined. * generic/tclThreadTest.c (line 363): See below. * unix/tclUnixNotfy.c (line 210): Adapted to the changes above. Uses default stacksize and no flags now. * unic/tcl.m4 (line 382f): Added a check for 'pthread_attr_setstacksize' to detect platforms not implementing this feature of pthreads. If it is implemented, configure will define the macro HAVE_PTHREAD_ATTR_SETSTACKSIZE (See unix/tclUnixThrd.c too). * doc/Thread.3: Added Tcl_CreateThread and its arguments to the list of described functions. Removed stuff about not providing a public C-API for thread-creation.
* Remove need for "OLDROUTINENAMES" def'n in one more file...jingham2000-02-101-5/+3
|
* 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.
* Minor doco fixesjingham2000-02-102-4/+11
|
* Change to using .h files as the prefix file. This is more convenient, since ↵jingham2000-02-104-0/+74
| | | | the same file can be used for all targets. Also add a pre-built .pch file for tcltest
* Updated for Tcl8.3jingham2000-02-101-2651/+2941
|
* updated for 8.3hobbs1999-12-221-1/+2655
|
* * mac/tclMacOSA.c: fixed applescript for I18N [Bug: 3644]hobbs1999-12-212-12/+16
|
* * doc/glob.n:hobbs1999-12-121-18/+120
| | | | | | | | | | | | | | | | * tests/fileName.test: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclStubInit.c: * generic/tclEncoding.c: * generic/tclFileName.c: * mac/tclMacFile.c: * unix/tclUnixFile.c: * win/tclWinFile.c: enhanced the glob command with the new options -types -path -directory and -join. Deprecated TclpMatchFiles with TclpMatchFilesTypes, extended TclGlob and TclDoGlob and added GlobTypeData structure.
* * mac/tclMacPort.h: added utime.h includehobbs1999-12-081-1/+2
|
* Stupid bug in TclpLoadFile - use the converted value!jingham1999-10-151-2/+2
|
* Fix a merge error in the UTF8 conversion bug fix [Bug: 2869]jingham1999-10-151-5/+5
|
* * mac/tclMacFCmd.c: fixed filename stuff to support UTF-8 [Bug: 2869]hobbs1999-10-052-26/+42
|
* Update copyrights and add my name to Ray's in the credits (blush).jingham1999-08-162-3/+4
|
* Update the copyrights.jingham1999-08-161-3/+3
|
* Update copyrights and add my name to Ray's in the credits (blush).jingham1999-08-161-4/+4
|
* If you are running the testsuite, set the Stack size to 768K so you can pass ↵jingham1999-08-161-3/+16
| | | | the regexp tests. For most sane regexps, however 512K is fine.
* Update copyrights and add my name to Ray's in the credits (blush).jingham1999-08-161-4/+4
|
* Change the permissions for opening resource files to Shared. Suprisingly ↵jingham1999-08-151-3/+3
| | | | enough, this is the only way to get notification if you have opened the file twice...
* Note Stack space increase needed for complex patterns with many ↵jingham1999-08-151-1/+6
| | | | subexpressions in Tcl8.2 regexp package.
* Require Tcl 8.2jingham1999-08-151-2/+2
|
* Typo in commentjingham1999-08-151-2/+2
|
* Update to move the build directory out of the source tree.jingham1999-08-131-1/+1
|
* Move Mark Roseman's fix for slow connections from Tcl 8.0 to Tcl 8.2.jingham1999-08-101-2/+30
|
* Trivial cleanup - Windows -> Macintosh in comments.jingham1999-08-101-3/+3
|
* Convert the directory name from Utf to External before passing it to the ↵jingham1999-08-101-4/+7
| | | | Toolbox.
* Added Tcl_GetAllocMutex for use by tclAlloc.c and tclCkalloc.cwelch1999-08-101-0/+27
|
* Declare the tclStubs table so we can use it to swap out Tcl_SetTimer and ↵jingham1999-08-051-1/+8
| | | | Tcl_WaitForEvent in this file.
* Added hook points to the notifierwelch1999-07-021-1/+20
|
* Changed to Tcl 8.2b1welch1999-06-251-8/+8
|
* Various small fixes that were required to get Tcl to build cleanly on the Mac.jingham1999-05-1111-58/+193
|
* * mac/tclMacResource.c:stanton1999-04-281-2/+3
| | | | | | | | | * generic/tclListObj.c: * generic/tclObj.c: * generic/tclStringObj.c: Changed to avoid freeing the string representation before freeing the internal rep. This helps with debugging since the string rep will still be valid when the free proc is invoked.
* merged 8.1.0 changes into mainlinestanton1999-04-241-115/+17
|
* merged tcl 8.1 branch back into the main trunkstanton1999-04-1624-1117/+2650
|
* * Merge 8.0.5 changes:stanton1999-04-156-1720/+57
| | | | | | | | | - 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]
* * win/tclWinPipe.c:stanton1999-03-111-1/+2
| | | | | | | | | | | | | | | * generic/tclInt.decls: Added TclWinAddProcess to make it possible for expect to use Tcl_WaitForPid(). This patch is from Gordon Chaffee. * mac/tclMacPort.h: * win/tclWinInit.c: * unix/tclUnixPort.h: * generic/tclAsync.c: Added TclpAsyncMark to fix bug in async handling on Windows where async events don't wake up the event loop. This patch comes from Gordon Chaffee. * generic/tcl.decls: Fixed declarations of reserved slots.
* Merged stubs changes into mainline for 8.0stanton1999-03-106-124/+39
|
* * win/tclAppInit.c:stanton1999-02-031-5/+5
| | | | | | | | | | | | * unix/tclAppInit.c: * mac/tclMacAppInit.c: * generic/tclTest.c: Changed some EXTERN declarations to extern since they are not defining exported interfaces. This avoids generating useless declspec() attributes and makes the windows makefile simpler. * generic/tcl.h: Moved Tcl_AppInit declaration to end and cleared out TCL_STORAGE_CLASS so it is not declared with a declspec().
* Updated the version to 8.0.5.rjohnson1999-01-041-5/+5
|
* Added new project files for Mac.rjohnson1998-11-122-4804/+1703
|
* Updated Changes file, and added Vince Darley's suggested change to TclMacExit.jingham1998-11-112-3/+19
|
* Added pre compiled header common to all Mac Tcl projects. Thisrjohnson1998-11-102-1/+90
| | | | was supplied by Jom Ingham.
* Fixed a bug in the resource command when the file was opened twice. Fixed a ↵jingham1998-11-106-113/+65
| | | | bug in the testWriteTextResource command - it wrote one too many bytes. Factored out the common code from the .pch files FspLocationFromPath - make path a CONST
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-1442-44/+44
|
* Updates for Jimwelch1998-08-171-5/+23
|
* Updated to 8.0.3welch1998-08-061-11/+19
|
* Initial revisionwelch1998-07-101-0/+1648
|
* Updated for 8.0.3-2welch1998-07-063-2/+16
|