summaryrefslogtreecommitdiffstats
path: root/generic/tclIntPlatDecls.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix compiler warnings in win32/cygwin buildjan.nijtmans2014-04-161-1/+1
|\
| * Fix compiler warnings in win32/cygwin build.jan.nijtmans2014-04-161-1/+1
| |
* | Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on ↵jan.nijtmans2014-04-161-0/+6
|\ \ | |/ | | | | | | | | Win2000+. See: [http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213%28v=vs.85%29.aspx] for details. Move winsock initialization to TclpInitPlatform(void), so we can be sure everywhere that we have an initialized winsock2. Stub entries for TclWinGetServByName/TclWinGetSockOpt/TclWinSetSockOpt are no longer necessary (will be removed in 9.0, but are kept in 8.x)
| * Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on ↵jan.nijtmans2014-04-161-0/+6
| | | | | | | | | | | | Win2000+. See: [http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213%28v=vs.85%29.aspx] for details. Move winsock initialization to TclpInitPlatform(void), so we can be sure everywhere that we have an initialized winsock2. Stub entries for TclWinGetServByName/TclWinGetSockOpt/TclWinSetSockOpt are no longer necessary (will be removed in 9.0, but are kept in 8.x)
* | Fix execute permission bit (should not be set) for *Decls.h filesjan.nijtmans2014-02-111-0/+0
| |
* | Eliminate all usage of WIN32 and __WIN32__ macros: Some compilers (e.g. ↵jan.nijtmans2014-02-101-8/+8
| | | | | | | | | | Clang/LLVM) don't define it, and _WIN32 is much more portable anyway. See: [http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW]
* | Put extern "C" guards around all stub table struct definitions, so it is ↵jan.nijtmans2013-11-041-3/+5
|\ \ | |/ | | | | | | usable for C++ compilers as well without the danger of modifying the calling convention. For tclDecls.h and tclOODecls.h it was no problem, because tcl.h and tclOO.h already contain those guards. But for the other *Decls.h files (e.g. tclTomMathDecls.h) it was not correct.
| * Put extern "C" guards around all stub table struct definitions, so it is ↵jan.nijtmans2013-11-041-3/+5
| | | | | | | | | | usable for C++ compilers as well without the danger of modifying the calling convention. For tclDecls.h it was no problem, because tcl.h already contains those guards. But for the other *Decls.h files (e.g. tclTomMathDecls.h) it was not correct.
* | Don't use TclpInetNtoa any more, use inet_ntoa in stead. Since IP6 support ↵jan.nijtmans2013-06-211-0/+2
| | | | | | | | it's even not necessary any more (except for fake-rfc2553, but mutexes are used here already) , but it's in the internal stub table so we cannot remove it until 9.0
* | Fix gcc warning in cygwin build: implicitely declared function ↵jan.nijtmans2012-12-051-14/+27
| | | | | | | | | | TclUnixOpenTemporaryFile. Move the function to slot 30, and define it (as 0) for win32 as well.
* | Simplification: don't declare struct types that are never used.jan.nijtmans2012-11-151-1/+1
| |
* | * unix/tclUnixFCmd.c (TclUnixOpenTemporaryFile): [Bug 2933003]: Factordkf2012-11-141-6/+14
| | | | | | | | | | | | | | out all the code to do temporary file creation so that it is possible to make it correct in one place. Allow overriding of the back-stop default temporary file location at compile time by setting the TCL_TEMPORARY_FILE_DIRECTORY #def to a string containing the directory name (defaults to "/tmp" as that is the most common default).
* | make sure that extensions which might still use TclWinNToHS, now use ntohs ↵jan.nijtmans2012-08-241-1/+4
|\ \ | |/ | | | | directly.
| * make sure that extensions which might still use TclWinNToHS, now use ntohs ↵jan.nijtmans2012-08-241-1/+4
| | | | | | | | directly.
* | add TclUnixCopyFile to stub table for Cygwinjan.nijtmans2012-07-011-3/+7
|\ \ | |/
| * add TclUnixCopyFile to stub table for Cygwinjan.nijtmans2012-07-011-3/+12
| |
* | fix genStubs.tcl for OSXjan.nijtmans2012-05-251-3/+3
|\ \ | |/
| * fix genStubs.tcljan.nijtmans2012-05-251-3/+3
| |\
* | \ Take cygwin handling of X11 into accountjan.nijtmans2012-05-241-3/+5
|\ \ \ | |/ / | | | | | | Implement TclpIsAtty, Cygwin only doc/dde.n: doc fix
| * | Take cygwin handling of X11 into accountjan.nijtmans2012-05-241-6/+13
| |\ \ | | |/ | | | | | | Implement TclpIsAtty, Cygwin only doc/dde.n: doc fix
| | * Take cygwin handling of X11 into accountjan.nijtmans2012-05-241-3/+7
| | | | | | | | | | | | Implement TclpIsAtty, Cygwin only doc/dde.n: doc fix
* | | Revert most of [3caedf05df], since when we let cygwin share the win32 stub ↵jan.nijtmans2012-05-241-290/+168
|\ \ \ | |/ / | | | | | | | | | | | | table this is no longer necessary implement TclpInetNtoa for win32 Let cygwin share stub table with win32
| * | fix merge problem on Linuxjan.nijtmans2012-05-231-563/+243
| |\ \
| | * | MAC_OSX_TK -> MAC_OSX_TCLjan.nijtmans2012-05-221-3/+3
| | | |
| | * | Revert most of [fcc5957e59], since when we let cygwin share the win32 stub ↵jan.nijtmans2012-05-221-571/+251
| | |\ \ | |/ / / | | | _ | | | | | | | | | table this is no longer necessary implement TclpInetNtoa for win32 Let cygwin share stub table with win32
| | * Revert most of [ae92de6078], since when we let cygwin share the win32 stub ↵jan.nijtmans2012-05-221-277/+132
| | | | | | | | | | | | | | | | | | table this is no longer necessary implement TclpInetNtoa for win32 Let cygwin share stub table with win32
| | * Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-031-3/+7
| | | | | | | | | Simplify stub tables for functions which work on both UNIX and windows
| * | get rid of _ANSI_ARGS_jan.nijtmans2012-04-261-20/+20
| |\ \ | | |/
* | | fix merge errorjan.nijtmans2012-04-241-0/+2
| | |
| | |
| \ \
*-. \ \ [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-241-69/+122
|\ \ \ \ | | |/ / | | | | | | | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin
| | * | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-241-75/+238
| | |\ \ | |/ / / | | | _ | | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin
| | * implement TclWinGetSockOpt and TclWinGetServByName for cygwijan.nijtmans2012-04-241-29/+58
| | | | | | | | | (should work, but not yet tested on UNIX)
| | * tclpGetPid signature change (stub entry only, not for macro),jan.nijtmans2012-04-061-4/+4
| | | | | | | | | | | | for win64 compatibility with future cygwin64 correctly use win32 as default when cross-compiling under cygwin
| | * implement TclpGetPid for Cygwinjan.nijtmans2012-04-041-17/+57
| | |
| * | Remove the TclpGetTZName implementation for Cygwin (from previous commit)jan.nijtmans2012-04-031-20/+6
| |\ \ | | |/
| | * cleanup tclInt.decls to have the same form as Tcl 8.5/8.6,jan.nijtmans2012-04-031-26/+22
| | | | | | | | | | | | so a diff can show us the real signature differences Remove the TclpGetTZName implementation for Cygwin, from previous commit
* | | [Bug 3514475]: remove TclpGetTimeZone and TclpGetTZNamebug_3514475jan.nijtmans2012-04-031-15/+9
| | |
* | | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-021-16/+19
|\ \ \ | |/ / | | | | | | Implement TclWinGetTclInstance, TclpGetTZName, and various others for Cygwin
| * | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-03-301-16/+16
| |\ \ | | |/ | | | | | | Implement TclWinGetTclInstance, TclpGetTZName, and various others for Cygwin
| | * [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-03-301-12/+10
| | | | | | | | | | | | Implement TclWinGetTclInstance, TclpGetTZName, and various others for Cygwin
* | | 3 missing stub macros for cygwinjan.nijtmans2012-03-261-6/+26
|\ \ \ | |/ / | | | merge problem from Tcl 8.4 (old mac stub table got accidently back)
| * | 3 missing stub macros for cygwinjan.nijtmans2012-03-261-10/+35
| |\ \ | | |/ | | | fix merge problem from Tcl 8.4 (old mac stub table got accidently back)
| | * forgot 3 stub macros for cygwin: TclpCreateProcess, TclpMakefilejan.nijtmans2012-03-261-20/+29
| | | | | | | | | and TclpOpenFile
* | | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-03-251-93/+155
|\ \ \ | |/ / | | | | | | | | | | | | Implement TclWinConvertError, TclWinConvertWSAError, and various more win32-specific internal functions for Cygwin, so win32 extensions using those can be loaded in the cygwin version of tclsh.
| * | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-03-251-123/+280
| |\ \ | | |/ | | | | | | | | | | | | Implement TclWinConvertError, TclWinConvertWSAError, and various more win32-specific internal functions for Cygwin, so win32 extensions using those can be loaded in the cygwin version of tclsh.
| | * add TclWinConvertError and TclWinConvertWSAError for cygwinjan.nijtmans2012-03-221-11/+34
| | |
| | * many more cygwin functions presentjan.nijtmans2012-03-221-144/+197
| | |
* | | Revert some cygwin-related signature changes from [835f8e1e9d] (2010-01-22).jan.nijtmans2012-03-231-6/+6
|\ \ \ | |/ / | | | | | | | | | | | | | | | They were an attempt to make the cygwin port compile again, but since cygwin is based on unix this serves no purpose any more. Use EAGAIN in stead of EWOULDBLOCK, because in VS10+ the value of EWOULDBLOCK is no longer the same as EAGAIN Add tclWinError.c to the CYGWIN build.
| * | Revert some cygwin-related signature changes from [835f8e1e9d] (2010-02-01)jan.nijtmans2012-03-231-10/+10
| | | | | | | | | | | | | | | They were an attempt to make the cygwin port compile again, but since cygwin is based on unix this serves no purpose any more. Add tclWinError.c to the CYGWIN build.
* | | [bug 3508771] fix OSX buildjan.nijtmans2012-03-221-6/+0
|\ \ \ | |/ /