| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
extensions. Deprecate the internal TclBNInitBignumFrom* functions, in favor of the official tommath functions with the same purpose.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
not used any more.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
TclNewBooleanObj()/TclSetBooleanObj()/TclSetIntObj(). Replace Tcl_DbNewBooleanObj() with trivial macro.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
less interp->result. Implementation mostly taken over from "novem". If TCL_NO_DEPRECATED is not defined, nothing changes.
|
|\ \
| |/ |
|
| |\
| | |
| | |
| | | |
Do gcc-compiles with the option -Wwrite-strings, so we can detect mis-usage of "const".
Make Tcl_AddErrorInfo() and Tcl_AddObjErrorInfo() a macro.
|
| | |\
| | | |
| | | | |
Remove useless #undef.
|
|\ \ \ \
| |/ / / |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Also introduces the `-reuseaddr' and `-reuseport' options for the `socket'
command.
|
| |/ /
| | |
| | |
| | | |
Doesn't conform to TIP yet.
|
| | |
| | |
| | |
| | | |
as those two functions are actually defined as macros. The function alternatives were only kept for legacy, but are no longer necessary.
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | | |
appropriate, as already done with Tcl_Panic() earlier.
Fix minor msvc compiler warning in tclWinFile.c
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | | |
optimizations by the C-compiler.
|
|\ \ \
| |/ / |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
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]
|
|\ \ \
| |/ /
| | | |
Simplify TCLAPI definition: Since there are extern "C" guards around all TCLAPI usage, the definition itself doesn't need special C++ handling any more.
|
|\ \ \
| |/ / |
|
| |\ \
| | |/
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \
| |/ /
| | | |
Add back Tcl_AddErrorInfo to stub table (it's still used by Tk 8.6)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | | |
macros using Tcl_NewIntObj, Tcl_DbNewLongObj and Tcl_SetIntObj.
Starting with Tcl 8.5, this is exactly the same, it only eliminates code duplication.
Eliminate use of NO_WIDE_TYPE everywhere: It's exactly the same as TCL_WIDE_INT_IS_LONG
|
| | | |
| | | |
| | | |
| | | |
| | | | |
macros using Tcl_NewIntObj, Tcl_DbNewLongObj and Tcl_SetIntObj.
Starting with Tcl 8.5, this is exactly the same, it only eliminates code duplication.
|
| |\ \ \
| | |/ /
| | | |
| | | | |
(faster/stack-saving) macros around resp their Tcl_*Var*2 equivalent and Tcl_GetIndexFromObjStruct
|
| | |\ \
| | | |/
| | | |
| | | | |
(faster/stack-saving) macros around resp their Tcl_*Var*2 equivalent and Tcl_GetIndexFromObjStruct
|
| | | |
| | | |
| | | |
| | | | |
(faster/stack-saving) macros around resp their Tcl_*Var*2 equivalent and Tcl_GetIndexFromObjStruct
|
| |\ \ \
| | |/ /
| | | |
| | | | |
space, is (marginally) faster, while still being fully up/down compatible. It makes pkgb.so loadable in "novem" without the need to change the Tcl_PkgProvide() call to Tcl_PkgProvideEx().
|
| | |\ \
| | | |/
| | | |
| | | | |
space, is (marginally) faster, while still being fully up/down compatible. It makes pkgb.so loadable in "novem" without the need to change the Tcl_PkgProvide() call to Tcl_PkgProvideEx().
|
| | | |
| | | |
| | | |
| | | | |
space, is (marginally) faster, while still being fully up/down compatible. It makes pkgb.so loadable in "novem" without the need to change the Tcl_PkgProvide() call to Tcl_PkgProvideEx().
|
| | | |
| | | |
| | | |
| | | | |
when using stubs.
|
| |\ \ \
| | |/ / |
|
| | | | |
|