summaryrefslogtreecommitdiffstats
path: root/generic/tclStubInit.c
Commit message (Collapse)AuthorAgeFilesLines
* merge trunk. jan.nijtmans2014-04-161-23/+3
|\ | | | | Remove (internal) functions TclWinGetServByName(), TclWinGetSockOpt() and TclWinSetSockOpt(), which are no longer needed for any purpose.
* \ Merge trunkjan.nijtmans2014-02-111-10/+10
|\ \ | |/
| * 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]
* | merge trunkjan.nijtmans2013-12-201-0/+1
|\ \ | |/
| * Add TclRegisterLiteral() to internal stub table (from "mig-optimize" branch, ↵jan.nijtmans2013-12-191-0/+1
| | | | | | | | looks like a good idea anyway)
* | merge trunkjan.nijtmans2013-11-041-0/+0
|\ \ | |/
* | merge trunkjan.nijtmans2013-10-171-0/+0
|\ \ | |/
| * Tcl_SetResult -> Tcl_SetObjResult in two places (for Cygwin64 only).jan.nijtmans2013-10-141-6/+4
| |
* | Eliminate TclOOInitializeStubs() completely. This fixes [dfc08326e3], at ↵jan.nijtmans2013-10-171-1/+11
|\ \ | | | | | | | | | | | | | | | | | | least the TclOOInitializeStubs() surprise part of it. Further refactoring is possible, eliminating tclOOStubsPtr and/or tclOOIntStubsPtr. A discussion about that is opened on the Tcl Core List. This is fully source compatible for TclOO extensions (e.g. Itcl, tdbc) but binary incompatible. TODO: update documentation, but that can wait until the refactoring is complete.
| * | The Tcl 9.0 way of how [dfc08326e3] should be fixed: Real integration of ↵rfe_dfc08326e3jan.nijtmans2013-10-131-1/+9
|/ / | | | | | | TclOO in Tcl means that calling the function Tcl_OOInitStubs() should be elminated in full. This branch shows how to do that.
* | merge trunk. jan.nijtmans2013-06-271-1/+1
|\ \ | |/ | | Remove Tcl_SetPanicProc from stub table; it is meant to be called by embedders, before the stub table is even initialized.
* | Merge trunk. jan.nijtmans2013-06-211-7/+6
|\ \ | |/ | | Remove TclpReaddir and TclpInetNtoa from internal stub table: It's not used anywhere any more.
| * 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
* | merge trunk. jan.nijtmans2013-05-131-1/+1
|\ \ | |/ | | Add back Tcl_AddErrorInfo to stub table (it's still used by Tk 8.6)
* | merge trunk. jan.nijtmans2013-05-071-3/+0
|\ \ | |/ | | remove some unneeded #undef's
* | Change Tcl_UtfNcmp and friend's signature to use size_t in stead of unsigned ↵jan.nijtmans2013-05-061-22/+4
| | | | | | | | | | | | | | long. This is potentially binary incompatible on win64, but not on any other platform. It eliminates the need for special stub-wrappers on Cygwin64 for those functions. "novem" doesn't promise binary compatibility anyway.
* | merge trunkjan.nijtmans2013-05-061-0/+85
|\ \ | |/
| * 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.
* | | | Revert part of [bb4707eb077f0cd9], which removed Tcl_NewIntObj, ↵jan.nijtmans2013-04-211-5/+5
| | | | | | | | | | | | | | | | Tcl_SetIntObj, Tcl_NewBooleanObj, Tcl_DbNewBooleanObj and Tcl_SetBooleanObj from the stub table and replaced those by macros. Add those functions back were they were. Reason: the upcoming cygwin64 will change the definition of 'long', I'm not sure any more this was a good idea. More investigation needed before doing something like this in "novem".
* | | | merge trunkjan.nijtmans2013-03-061-0/+1
|\ \ \ \ | |/ / /
| * | | Allow Tcl to be compiled even if Tcl_Eval, Tcl_GetVar, ... are macros.jan.nijtmans2013-02-281-0/+1
| | | |
* | | | merge trunk. jan.nijtmans2013-02-271-2/+2
|\ \ \ \ | |/ / / | | | | Implement Tcl_VarTraceInfo and Tcl_UpVar as macro.
* | | | Merge trunk. jan.nijtmans2013-02-221-1/+1
|\ \ \ \ | |/ / / | | | | Convert Tcl_UntraceVar to macro, calling Tcl_UntraceVar2 in stead. No change of functionality.
* | | | Merge trunk. jan.nijtmans2013-02-201-4/+4
|\ \ \ \ | |/ / / | | | | Convert Tcl_SetVar/Tcl_UnsetVar/Tcl_GetVar/Tcl_TraceVar to macros, calling the *2 variants of the function. No change of functionality.
* | | | Merge trunk. jan.nijtmans2013-02-191-3/+3
|\ \ \ \ | |/ / / | | | | Tranform Tcl_SaveResult/Tcl_RestoreResult/Tcl_DiscardResult to macros, and remove them from the stub table
* | | | Merge trunk. jan.nijtmans2013-02-081-9/+7
|\ \ \ \ | |/ / / | | | | | | | | Eliminate all usage of internal macros: TclNewIntObj, TclNewBooleanObj, TclSetIntObj, TclSetBooleanObj. Change various function to macros: Tcl_NewIntObj, Tcl_SetIntObj, Tcl_NewBooleanObj, Tcl_DbNewBooleanObj, Tcl_SetBooleanObj, Tcl_AddErrorInfo, Tcl_AddObjErrorInfo.
* | | | Convert Tcl_GetIndexFromObj implementation to macrojan.nijtmans2013-01-241-1/+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.
* | | | Convert Tcl_Eval and Tcl_GlobalEval to a macrojan.nijtmans2013-01-171-2/+2
| | | |
* | | | merge trunkjan.nijtmans2013-01-121-12/+12
|\ \ \ \ | |/ / / | | | | Remove various double-defined (both in public and private stub tables) functions from private stub table
| * | | 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.
* | | | Remove TclWinNToHS, it is not used anywhere any more.jan.nijtmans2013-01-101-9/+1
| | | |
* | | | Turn Tcl_PkgPresent/Tcl_PkgRequire into a macro. jan.nijtmans2013-01-101-2/+2
| | | | | | | | | | | | | | | | Make sure that extensions which are compiled using Tcl version 9.0 alpha/beta headers only run with the exact same Tcl version (9.0a0), so they cannot accidently be used in production. Idea 'stolen' from iTcl 4.0, which did that during alpha/beta Dde/Registry: eliminate usage of some older API, which might be removed/deprecated in the future.
* | | | remove deprecated functions Tcl_VarEval and Tcl_VarEvalVAjan.nijtmans2012-12-171-2/+2
| | | |
* | | | Merge trunk. jan.nijtmans2012-12-141-1/+25
|\ \ \ \ | |/ / / | | | | | | | | Add more clarity why refCount should be decremented AFTER checking for <2. Protect 8.x extensions for being loadable in "novem", by changing Tcl_PkgProvide into a macro.
* | | | merge trunkjan.nijtmans2012-12-051-2/+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.
* | | | Remove obsolete functions Tcl_GetDefaultEncodingDir and ↵jan.nijtmans2012-12-031-2/+2
| | | | | | | | | | | | | | | | Tcl_SetDefaultEncodingDir
* | | | Removed functions marked deprecated or obsolete for a long time: ↵jan.nijtmans2012-11-261-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Tcl_Backslash, Tcl_EvalFile, Tcl_GlobalEvalObj, Tcl_GlobalEval, Tcl_EvalTokens. Remove Tcl_FindExecutable from stub table: It is needed by embedders, not extenders. Remove TclpGetDate, TclpGmtime, TclpLocaltime: it isn't use anywhere since the new clock implementation. Remove TclWinConvertWSAError, it's the same as TclWinConvertError.