| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
(or 9.0) features are needed. (Differences between 8.x and 9.0 are handled by a different stub magic value)
|
|\ \
| |/
| |
| | |
never be stub-compatible with 32-bit builds.
|
| |
| |
| |
| | |
Tcl_InitStubs() arguments. Useful for debugging and detection of stub incompatibilities (e.g. for Tcl9)
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
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 TclpReaddir and TclpInetNtoa from internal stub table: It's not used anywhere any more.
|
| |
| |
| |
| |
| | |
ClientData, so less type casts are needed in the code.
Disadvantage: somewhat more code duplication, but it makes the code much more understandable.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
stub table initialization - previously part of Tcl_InitStubs().
|
|\ \
| |/
| | |
Rename TclInitStubs back to Tcl_InitStubs, for easier compatibility with Tcl 8.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(formally non-portable) assumptions about what happens when an unsigned zero
is decremented, and the code isn't in a performance-critical area.
Remark by jan.nijtmans: The macro is perfectly portable! Not portable is the
exact result of the substraction ('\xB0' - '0' might give 0x80 on some platforms and 0xffffff80 on others), but comparing <= 9 always gives the correct result. We are only checking for digits here! The macro correctly inlines with any compiler, so it's better anyway.
Remark by dkf: But it's less clear. In this code, that's more important than a teeny bit of speed from inlining in a non-critical location.
|
|\ \
| |/ |
|
| |\
| | |
| | | |
Eliminate unnecessary static HasStubSupport() and isDigit() functions, just do the same inline.
|
| | |\
| | | |
| | | | |
Eliminate unnessarcy static HasStubSupport() and isDigit() functions, just do the same inline.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
like, loading pkgb.so in Tcl 9 should either result in an error-message, either succeed, but never crash.
Eliminate unnessarcy static HasStubSupport() and isDigit() functions, just do the same inline.
|
|\ \ \ \
| |/ / / |
|
| |\ \ \
| | |/ /
| | | | |
so that we don't close off a potential avenue of future innovations.
|
| | |\ \
| | | |/
| | | | |
so that we don't close off a potential avenue of future innovations.
|
| | | |
| | | |
| | | | |
so that we don't close off a potential avenue of future innovations.
|
|\ \ \ \
| |/ / / |
|
| | | | |
|
| |\ \ \
| | |/ / |
|
| | |\ \
| | | |/ |
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
turn pkgb.so into a Tcl8 interoperability test
library: Whatever Tcl9 looks like, loading pkgb.so in Tcl 8 should
either result in an error-message, either succeed, but never crash.
|
| |\ \ \
| | |/ / |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
a crash immediately, when an extention tries to call it, in stead
of crashing some time later....
Remove some more legacy regarding accessing interp->result
|
|\ \ \ \ |
|
| | | | | |
|
| | | | | |
|
| |\ \ \ \ |
|
| | |\ \ \ \
| | | |/ / /
| | | | | | |
TCL_MAJOR_VERSION and TCL_STUB_MAGIC between an extension and the stub library.
|
| | | |\ \ \
| | | | |/ /
| | | | | |
| | | | | | |
message has always assumed a stubs-disabled 8.0 interp to be the cause. That's
no longer a good assumption. More suitable error message committed.
|
| | | | |\ \
| | | | | |/
| | | | | |
| | | | | | |
message has always assumed a stubs-disabled 8.0 interp to be the cause. That's
no longer a good assumption. More suitable error message committed.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
message has always assumed a stubs-disabled 8.0 interp to be the cause.
That's no longer a good assumption. More suitable error message committed.
|
| | |/ / /
| | | | |
| | | | | |
linked stubs library all agree on their versions in the ways that matter.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
modules and react with an error rather than a crash, HasStubSupport() has
to keep fiddling with the same fields as always.
|
| | | | | |
|
| |/ / /
| | | |
| | | |
| | | | |
and all simplifications that makes possible are done. Seems this can at best
be a Tcl 9 reform.
|
|\ \ \ \
| | | | |
| | | | | |
unbreak windows build
|
|/ / / / |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
for existing ones.
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
when a shared library compiled for Tcl 9.x is attempted to be
loaded in Tcl 8.x. Change MAGIC value in stub tables for 64-bit
builds (those surely will be incomatible!)
|
| |\ \ \
|/ / / /
| | | |
| | | |
| | | |
| | | | |
change stub library to detect - and generate a nice error-message -
when a shared library compiled for Tcl 8.x is attempted to be
loaded in Tcl 9.x: Tcl 9 will not have the iPtr->result field
so we cannot use that any more.
|
| |\ \ \
| | |/ /
| |/| |
| | | |
| | | |
| | | | |
hange stub library to detect - and generate a nice error-message -
when a shared library compiled for Tcl 8.x is attempted to be
loaded in Tcl 9.x: Tcl 9 will not have the iPtr->result field
so we cannot use that any more.
|