summaryrefslogtreecommitdiffstats
path: root/generic/tclStubInit.c
Commit message (Collapse)AuthorAgeFilesLines
* Make read and write operations on Tcl_Var handles available in tclInt API.dkf2017-06-081-0/+5
|\
| * Expose some of the core variable access APIs. dkf_expose_ptrgetvar_8_6dkf2017-06-061-0/+5
| | | | | | (Cherrypick from [b4dfc30083])
* | Remove unused functions like TclWinSetSockOpt()/Tcl_DStringTrunc() if ↵jan.nijtmans2017-04-201-0/+2
| | | | | | | | compiled with -DTCL_NO_DEPRECATED
* | Some more (internal) stub entries which can be cleaned up with ↵jan.nijtmans2017-04-061-2/+18
| | | | | | | | -DTCL_NO_DEPRECATED, because they are not used any more.
* | If compiled with TCL_NO_DEPRECATED, the functions ↵jan.nijtmans2017-04-061-10/+12
| | | | | | | | TclpGetDate/TclpLocaltime/TclpGmtime can be removed: They are internal and not used for anything any more.
* | Addendum to previous commit: If compiled with TCL_NO_DEPRECATED, remove a ↵jan.nijtmans2017-03-211-0/+8
| | | | | | | | few more stub entries which are not used any more.
* | If compiled with TCL_NO_DEPRECATED, remove some more stub entries which are ↵jan.nijtmans2017-03-201-13/+31
| | | | | | | | not used any more.
* | If Tcl is compiled with -DTCL_NO_DEPRECATED, make sure that ↵jan.nijtmans2017-03-171-0/+19
| | | | | | | | iPtr->(resultSpace|appendResult|appendAvl|appendUsed) are not used any more.
* | Eliminate internal use of ↵jan.nijtmans2017-03-131-0/+2
| | | | | | | | TclNewBooleanObj()/TclSetBooleanObj()/TclSetIntObj(). Replace Tcl_DbNewBooleanObj() with trivial macro.
* | If TCL_NO_DEPRECATED is defined, remove the "case" statement, and use much ↵jan.nijtmans2017-01-251-2/+39
| | | | | | | | less interp->result. Implementation mostly taken over from "novem". If TCL_NO_DEPRECATED is not defined, nothing changes.
* | Added stub entry for tip #456. Documentation and tests still missing. ↵jan.nijtmans2016-11-221-0/+1
| | | | | | | | Doesn't conform to TIP yet.
* | (experimental) Upgrade to libtommath 1.0 (actually by merging all changes ↵jan.nijtmans2016-11-161-0/+1
|/ | | | between libtommath 0.42.0 and 1.0). Still to be tested thourougly, before doing anything with it.
* make genstubsdkf2015-10-281-0/+3
|
* Tcl_GetStringFromObj(..., NULL) -> Tcl_GetString(...). Use size_t in stead ↵jan.nijtmans2015-06-241-1/+1
| | | | of int for more internal variables.
* 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
| |\ \ \ | | |/ /