| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| | |
Travis.
Fix a struct initializer, add two typecasts and a "const", which can generate gcc warnings with some compiler options.
|
| |
| |
| |
| | |
not used any more.
|
| |
| |
| |
| | |
(or 9.0) features are needed. (Differences between 8.x and 9.0 are handled by a different stub magic value)
|
|/
|
|
| |
Tcl_InitStubs() arguments. Useful for debugging and detection of stub incompatibilities (e.g. for Tcl9)
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
|
|
| |
(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.
|
| | | |
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | | |
|
|\ \ \
| |/ / |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | | |
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.
|
|\ \ \
| |/ /
| | | |
cause more harm than good. Purged them (except in zlib files).
|
| |\ \
| | |/
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | |
| | | |
[Fix for #1091431 "Tcl_InitStubs failure crashes wish"]
|
| | | |
|
| | |
| | |
| | |
| | | |
Typo in rules.vc
|
| | | |
|
| | |
| | |
| | |
| | | |
test that tommath stubs are present in stub library
|
| | |
| | |
| | |
| | |
| | | |
in separate file.
Don't use -fvisibility=hidden for cygwin
|
| | |
| | |
| | |
| | |
| | |
| | | |
Some more tests, showing that the LONG implementation
was not quite correct too, and a fix for that.
Some more internal "const" additions
|
| | |
| | |
| | |
| | | |
broken since 8.4 and no-one complained about it.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclCmdMZ.c: with -Wwrite-strings
* generic/tclIndexObj.c:
* generic/tclProc.c:
* generic/tclStubLib.c:
* generic/tclUtil.c:
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tcl.h: Remove the "result" and "freeProc" fields
* generic/tclBasic.c: from the default public declaration of the
* generic/tclResult.c: Tcl_Interp struct. Code should no longer
* generic/tclStubLib.c: be accessing these fields. Access can be
* generic/tclTest.c: restored by defining USE_INTERP_RESULT, but
* generic/tclUtil.c: that should only be a temporary migration aid.
*** POTENTIAL INCOMPATIBILITY ***
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclStubInit.c: export only module-scope pointers to
* generic/tclStubLib.c: the main stubs tables (for package
* tools/genStubs.tcl: initialization). [Patch 1938497]
* generic/tclBasic.c (Tcl_CreateInterp):
* generic/tclTomMathInterface.c (TclTommath_Init):
|
| | |
| | |
| | |
| | |
| | |
| | | |
* tools/genStubs.tcl: avoid exporting them from libraries that link
with -ltclstub; constify tcl*StubsPtr and stub
table hook pointers. [Bug 1819422]
|
| | | |
|
|/ / |
|
| | |
|
| |
| |
| |
| |
| |
| | |
THIS PATCH WAS REVERTED: initial (mis)measurements overstated the
perfomance wins, which turn out to be tiny. Not worth the
complication.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* generic/tclExecute.c: bit INTERP_RESULT_UNCLEAN: shortcut for
* generic/tclInt.h: Tcl_ResetResult for the "normal" case:
* generic/tclProc.c: TCL_OK, no return options, no errorCode
* generic/tclResult.c: nor errorInfo, return at normal level.
* generic/tclStubLib.c: [Patch 1830184]
* generic/tclUtil.c:
|
| |
| |
| |
| | |
on windows
|
| |
| |
| |
| |
| | |
* win/makefile.vc: so that we don't need the C library linked
in to libtclStub.
|
| |
| |
| |
| |
| |
| | |
* generic/tclPkg.c: source compatibility with callers of
* generic/tclStubLib.c: Tcl_InitStubs(interp, TCL_VERSION, 1).
[Bug 1578344].
|
| |
| |
| |
| |
| |
| |
| |
| | |
pointers back to public visibility.
These symbols need to be exported so that stub-enabled extensions
may be statically linked into an extended tclsh or Big Wish with
a dynamically-linked libtcl. [Bug#1716117]
|
| | |
|
| |
| |
| |
| | |
performance, patched around a [clock scan] issue with time zones
|