| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Remove (internal) functions TclWinGetServByName(), TclWinGetSockOpt() and TclWinSetSockOpt(), which are no longer needed for any purpose.
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| |
| | |
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]
|
|\ \
| |/ |
|
| |
| |
| |
| | |
looks like a good idea anyway)
|
|\ \
| |/ |
|
|\ \
| |/ |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|/ /
| |
| |
| | |
TclOO in Tcl means that calling the function Tcl_OOInitStubs() should be elminated in full. This branch shows how to do that.
|
|\ \
| |/
| | |
Remove Tcl_SetPanicProc from stub table; it is meant to be called by embedders, before the stub table is even initialized.
|
|\ \
| |/
| | |
Remove TclpReaddir and TclpInetNtoa from internal stub table: It's not used anywhere any more.
|
| |
| |
| |
| | |
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 back Tcl_AddErrorInfo to stub table (it's still used by Tk 8.6)
|
|\ \
| |/
| | |
remove some unneeded #undef's
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/ |
|
| |\
| | |
| | |
| | | |
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.
|
| | |\
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | | |
longer necessary.
|
| | | |
| | | |
| | | |
| | | | |
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.
|
| | |\ \
| | | |/
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | | |
systems.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
<p>backport genStubs::forAllStubs function, to generate dummy entries for some MAC_TCL entries
<p>re-generate all tcl*Decls.h files.
|
| | | |
| | | |
| | | |
| | | | |
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".
|
|\ \ \ \
| |/ / / |
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | | |
Implement Tcl_VarTraceInfo and Tcl_UpVar as macro.
|
|\ \ \ \
| |/ / /
| | | | |
Convert Tcl_UntraceVar to macro, calling Tcl_UntraceVar2 in stead. No change of functionality.
|
|\ \ \ \
| |/ / /
| | | | |
Convert Tcl_SetVar/Tcl_UnsetVar/Tcl_GetVar/Tcl_TraceVar to macros, calling the *2 variants of the function. No change of functionality.
|
|\ \ \ \
| |/ / /
| | | | |
Tranform Tcl_SaveResult/Tcl_RestoreResult/Tcl_DiscardResult to macros, and remove them from the stub table
|
|\ \ \ \
| |/ / /
| | | |
| | | | |
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.
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | | |
this, compiled against 8.5 headers still run in Tcl 8.6.
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | | |
Remove various double-defined (both in public and private stub tables) functions from private stub table
|
| | | |
| | | |
| | | |
| | | | |
this, compiled against 8.5 headers still run in Tcl 8.6.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | |
| | | | |
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.
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
TclUnixOpenTemporaryFile.
Move the function to slot 30, and define it (as 0) for win32 as well.
|
| | | |
| | | |
| | | |
| | | | |
Tcl_SetDefaultEncodingDir
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|