summaryrefslogtreecommitdiffstats
path: root/generic/tclStubInit.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix compiler warnings in win32/cygwin buildjan.nijtmans2014-04-161-5/+13
|\
| * Fix compiler warnings in win32/cygwin build.jan.nijtmans2014-04-161-5/+13
| |
* | 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-10/+10
| | | | | | | | | | 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]
* | Add TclRegisterLiteral() to internal stub table (from "mig-optimize" branch, ↵jan.nijtmans2013-12-191-0/+1
| | | | | | | | looks like a good idea anyway)
* | Tcl_SetResult -> Tcl_SetObjResult in two places (for Cygwin64 only).jan.nijtmans2013-10-141-6/+4
| |
* | Don't use TclpInetNtoa any more, use inet_ntoa in stead. Since IP6 support ↵jan.nijtmans2013-06-211-0/+1
| | | | | | | | 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
* | Add support for Cygwin64, which has a 64-bit "long" type. jan.nijtmans2013-05-061-0/+85
|\ \ | |/ | | | | Binary compatibility with win64 requires that all stub entries use 32-bit long's, therefore the need for various wrapper functions/macros. For Tcl 9 a better solution is needed, but that cannot be done without introducing binary incompatibility.
| * Add support for Cygwin64, which has a 64-bit "long" type. jan.nijtmans2013-05-061-0/+85
| |\ | | | | | | | | | Binary compatibility with win64 requires that all stub entries use 32-bit long's, therefore the need for various wrapper functions/macros. For Tcl 9 a better solution is needed, but that cannot be done without introducing binary incompatibility.
| | * Add support for Cygwin64, which has a 64-bit "long" type. jan.nijtmans2013-05-061-0/+85
| | | | | | | | | | | | Binary compatibility with win64 requires that all stub entries use 32-bit long's, therefore the need for various wrapper functions/macros. For Tcl 9 a better solution is needed, but that cannot be done without introducing binary incompatibility.
| * | Undo [6a9ee3273c]. Last commit in Tk's core-8-5-branch makes this change no ↵jan.nijtmans2013-03-281-8/+1
| | | | | | | | | | | | longer necessary.
| * | Add dummy (undocumented) TclCanceled function in stub table (not exported as ↵jan.nijtmans2013-03-271-1/+8
| | | | | | | | | | | | symbol or macro), which always returns TCL_OK. Needed for Tk 8.5.14 when running in Tcl 8.6 for properly clean-up when a (Tcl 8.6) thread is canceled.
| * | Extend the public stub table with dummy NULL entries, up to the size of the ↵jan.nijtmans2013-01-071-0/+52
| |\ \ | | |/ | | | | | | | | | Tcl 8.6 stub tables. This makes it easier to debug extensions which use Tcl 8.6 features but (erroneously) are attempted to be loaded in Tcl 8.5.
| | * Extend the public and private stub tables with dummy NULL entries, up to the ↵jan.nijtmans2013-01-071-0/+108
| | | | | | | | | | | | | | | size of the Tcl 8.6 stub tables. This makes it easier to debug extensions which use Tcl 8.5/8.6 features but (erroneously) are attempted to be loaded in Tcl 8.4.
| | * More complete purge of things only present for supporting long-dead Mac 9 ↵dgp2012-11-151-11/+1
| | | | | | | | | | | | systems.
| | * add missing macosx sectionsjan.nijtmans2012-11-151-0/+32
| | |
| | * Remove all the long dead mac entries in tcl*.decls filesjan.nijtmans2012-11-151-53/+13
| | | | | | | | | | | | <p>backport genStubs::forAllStubs function, to generate dummy entries for some MAC_TCL entries <p>re-generate all tcl*Decls.h files.
* | | Allow Tcl to be compiled even if Tcl_Eval, Tcl_GetVar, ... are macros.jan.nijtmans2013-02-281-0/+1
| | |
* | | Put back Tcl[GS]etStartupScript(Path|FileName) in private stub table, so ↵jan.nijtmans2013-01-211-4/+29
| | | | | | | | | | | | | | | extensions using this (like Tk 8.4) will continue to work in all Tcl 8.x versions. Extensions using this still cannot be compiled against Tcl 8.6 headers.
* | | Put back Tcl_[GS]etStartupScript in internal stub table, so extensions using ↵jan.nijtmans2013-01-141-2/+2
| | | | | | | | | | | | this, compiled against 8.5 headers still run in Tcl 8.6.
* | | Put back TclBackgroundException in internal stub table, so extensions using ↵jan.nijtmans2013-01-121-1/+2
| | | | | | | | | | | | this, compiled against 8.5 headers still run in Tcl 8.6.
* | | Fix gcc warning in cygwin build: implicitely declared function ↵jan.nijtmans2012-12-051-2/+6
| | | | | | | | | | | | | | | TclUnixOpenTemporaryFile. Move the function to slot 30, and define it (as 0) for win32 as well.
* | | * unix/tclUnixFCmd.c (TclUnixOpenTemporaryFile): [Bug 2933003]: Factordkf2012-11-141-2/+2
| | | | | | | | | | | | | | | | | | | | | 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).
* | | merge trunkdkf2012-10-031-14/+9
|\ \ \
| * | | removed leftover from failed attempt to unify stub tables.jan.nijtmans2012-09-071-8/+0
| | | |
| * | | make sure that extensions which might still use TclWinNToHS, now use ntohs ↵jan.nijtmans2012-08-241-0/+1
| |\ \ \ | | |/ / | | | | | | | | directly.
| | * | make sure that extensions which might still use TclWinNToHS, now use ntohs ↵jan.nijtmans2012-08-241-0/+1
| | | | | | | | | | | | | | | | directly.
| * | | small wrapper for TclWinNToHs, for change in calling conventionjan.nijtmans2012-08-231-1/+7
| |\ \ \ | | |/ /
| | * | small wrapper for TclWinNToHs, for change in calling conventionjan.nijtmans2012-08-231-1/+6
| | | |
| * | | Remove wrapper macro for ntohs(): unnecessary, because it doesn't require an ↵jan.nijtmans2012-08-201-6/+2
| |\ \ \ | | |/ / | | | | | | | | initialized winsock_2 library
| | * | Remove wrapper macro for ntohs(): unnecessary, because it doesn't require an ↵jan.nijtmans2012-08-201-6/+1
| | | | | | | | | | | | | | | | initialized winsock_2 library
* | | | merge trunkdkf2012-07-041-1/+2
|\ \ \ \ | |/ / /
| * | | add TclUnixCopyFile to stub table for Cygwinjan.nijtmans2012-07-011-1/+2
| |\ \ \ | | |/ /
| | * | add TclUnixCopyFile to stub table for Cygwinjan.nijtmans2012-07-011-1/+2
| | | |
* | | | merge trunkdkf2012-05-311-116/+75
|\ \ \ \ | |/ / /
| * | | fix genStubs.tcl for OSXjan.nijtmans2012-05-251-4/+4
| |\ \ \ | | |/ /
| | * | fix genStubs.tcljan.nijtmans2012-05-251-4/+4
| | |\ \ | | | |/
| * | | Take cygwin handling of X11 into accountjan.nijtmans2012-05-241-1/+9
| |\ \ \ | | |/ / | | | | | | | | Implement TclpIsAtty, Cygwin only doc/dde.n: doc fix
| | * | Take cygwin handling of X11 into accountjan.nijtmans2012-05-241-8/+16
| | |\ \ | | | |/ | | | | | | | | Implement TclpIsAtty, Cygwin only doc/dde.n: doc fix
| | | * Take cygwin handling of X11 into accountjan.nijtmans2012-05-241-1/+9
| | | | | | | | | | | | | | | | 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-119/+70
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | 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-126/+71
| | |\ \
| | | * | MAC_OSX_TK -> MAC_OSX_TCLjan.nijtmans2012-05-221-4/+4
| | | | |
| | | * | Revert most of [fcc5957e59], since when we let cygwin share the win32 stub ↵jan.nijtmans2012-05-221-126/+71
| | | |\ \ | | |/ / / | | | | _ | | | | | | | | | | | | 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-109/+63
| | | | | | | | | | | | | | | | | | | | | | | | table this is no longer necessary implement TclpInetNtoa for win32 Let cygwin share stub table with win32
* | | | merge trunkdkf2012-05-171-9/+1
|\ \ \ \ | |/ / /
| * | | revert part of [8f9c16848b] move Tcl_MacOSXOpenBundleResources and ↵jan.nijtmans2012-05-151-9/+1
| |\ \ \ | | |/ / | | | | | | | | Tcl_MacOSXOpenVersionedBundleResources from the UNIX stub table back to its own osx stub table, instead let cygwin make use of the win32 stub table
| | * | Revert part of [5caa06383d] move Tcl_MacOSXOpenBundleResources and ↵jan.nijtmans2012-05-151-9/+1
| | |\ \ | | | |/ | | | | | | | | Tcl_MacOSXOpenVersionedBundleResources from the UNIX stub table back to its own osx stub table, instead let cygwin make use of the win32 stub table
| | | * revert part of [9922ac54e8]: remove Tcl_MacOSXOpenBundleResources and ↵jan.nijtmans2012-05-141-9/+5
| | | | | | | | | | | | | | | | Tcl_MacOSXOpenVersionedBundleResources from the UNIX stub table, instead let cygwin make use of the win32 stub table
* | | | updated C API to be more focused on supporting just some operationsdkf2012-05-101-1/+1
| | | |