| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
commands that do not have an nreProc, [Patch 3168229]
|
|
|
| |
is (mostly) simpler.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
sure that the cmdPtr field of the procPtr is correct and relevant at
all times so that [info frame] can report sensible information about a
frame after a return to it from a recursive call, instead of probably
crashing (depending on what else has overwritten the Tcl stack!)
|
|
|
|
| |
discovered thanks to [Bug 3159920]
|
|
|
|
| |
Improved error-message regarding legacy form.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclStrToD.c:
* generic/tclUtil.c (Tcl_PrintDouble):
* tests/util.test (util-16.*): Restored full Tcl 8.4 compatibility
for the formatting of floating point numbers when $::tcl_precision
is not zero. Added compatibility tests to make sure that excess
trailing zeroes are suppressed for all eight major code paths.
[Bug 3157475]
|
| |
|
| |
|
|
|
|
|
|
| |
definition of this structure so that there is no need to use nasty
int/pointer type punning. Made it clearer what the purposes of the
various parts of the structure are.
|
|
|
|
|
|
| |
sizing the new allocation - was ok in comment but wrong in the
code. Triggered by [Bug 3142026] which happened to require
exactly one more than what was in existence.
|
|
|
|
| |
options are used. Simplified memory handling logic.
|
|
|
|
| |
MSVC has it.
|
|
|
|
| |
Better communication with debugger, if present.
|
|
|
|
| |
[Patch 3124554] use ExitProcess() here, like in wish.
|
| |
|
| |
|
|
|
|
| |
Undocumented feature, see [Patch 3124554]: Move WishPanic from Tk to Tcl.
|
| |
|
|
|
|
| |
asynchronously, even for size zero.
|
|
|
|
| |
TclWin(Get|Set)SockOpt to SOCKET, because on Win64 those are 64-bit, which does not fit.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Break up [file] into an ensemble. Note that the ensemble is safe in
itself, but the majority of its subcommands are not.
* generic/tclFCmd.c (FileCopyRename,TclFileDeleteCmd,TclFileAttrsCmd)
(TclFileMakeDirsCmd): Adjust these subcommand implementations to work
inside an ensemble.
(TclFileLinkCmd, TclFileReadLinkCmd, TclFileTemporaryCmd): Move these
subcommand implementations from tclCmdAH.c, where they didn't really
belong.
* generic/tclIOCmd.c (TclChannelNamesCmd): Move to more appropriate
source file.
* generic/tclEnsemble.c (TclMakeEnsemble): Start of code to make
partially-safe ensembles. Currently does not function as expected due
to various shortcomings in how safe interpreters are constructed.
* tests/cmdAH.test, tests/fCmd.test, tests/interp.test: Test updates
to take into account systematization of error messages.
|
|
|
|
|
| |
quarantined at the front of the file and function headers follow the
modern Tcl style.
|
| |
|
|
|
|
|
| |
inner *s that leads to poor recursive glob matching, defer to
original RE instead. tclbench RE var backtrack.
|
|
|
|
|
|
| |
silence gcc warning for non-IEEE platforms
[Patch #3116490] cross-compile Tcl mingw32 on unix.
This makes it possible to cross-compile Tcl/Tk for Windows (either 32-bit or 64-bit) out-of-the-box on UNIX, using mingw-w64 build tools.
|
|
|
|
|
|
|
|
| |
Added meaningless initialization of 'i', 'ilim' and 'ilim1'
to silence warnings from the C compiler about possible use of
uninitialized variables, Added a panic to the 'switch' that
assigns them, to assert that the 'default' case is impossible.
[Bug 3124675]
|
| |
|
|
|
|
| |
fix gcc(-4.5.2) warning: 'static' is not at beginning of declaration
|
|
|
|
|
|
|
| |
* generic/tclStubInit.c: TclFormatInt restored at slot 24
* generic/tclUtil.c (TclFormatInt): restore TclFormatInt func from
2005-07-05 macro-ization. Benchmarks indicate it is faster, as a
key int->string routine (e.g. int-indexed arrays).
|
|
|
|
| |
args], which prepends ("injects") arbitrary code to a suspented coro's future resumption. Neat for debugging complex coros without heavy instrumentation.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclInt.decls:
* generic/tclInt.h:
* generic/tclStrToD.c:
* generic/tclTest.c:
* generic/tclTomMath.decls:
* generic/tclUtil.c:
* tests/util.test:
* unix/Makefile.in:
* win/Makefile.in:
* win/makefile.vc: Rewrite of Tcl_PrintDouble and TclDoubleDigits
that (a) fixes a severe performance problem with floating point
shimmering reported by Karl Lehenbauer, (b) allows TclDoubleDigits
to generate the digit strings for 'e' and 'f' format, so that it
can be used for tcl_precision != 0 (and possibly later for [format]),
(c) fixes [Bug 3120139] by making TclPrintDouble inherently
locale-independent, (d) adds test cases to util.test for
correct rounding in difficult cases of TclDoubleDigits where fixed-
precision results are requested. (e) adds test cases to util.test for
the controversial aspects of [Bug 3105247]. As a side effect, two
more modules from libtommath (bn_mp_set_int.c and bn_mp_init_set_int.c)
are brought into the build, since the new code uses them.
|
|
|
|
| |
do that
|
|
|
|
|
| |
[Bug 3111059]
(Correct fix this time around)
|
|
|
|
| |
[Bug 3111059]
|
|
|
|
|
|
|
|
|
|
| |
* doc/tclvars.n: Performance fix for TIP #280.
* generic/tclBasic.c:
* generic/tclExecute.c:
* generic/tclInt.h:
* generic/tclInterp.c:
* tests/info.test:
* tests/interp.test:
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
that messes around with the definition of _UNICODE, to correct a badly
broken Unix build from Jan's last commit.
|
|
|
|
| |
Tcl on MSVC++
|