| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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++
|
| |
|
|
|
|
|
| |
* tests/error.test (error-19.1[12]): message/opt capture variables get
reflected properly to the caller.
|
|
|
|
|
|
|
|
|
|
| |
* tests/compile.test (compile-3,6): Reworked the compilation of
the [catch] command so as to avoid placing any code that might
throw an exception (specifically, any initial substitutions
or any stores to result or options variables) between the
BEGIN_CATCH and END_CATCH but outside the exception range.
Added a test case that panics on a stack smash if the change
is not made. [Bug #3098302]
|
| |
|
|
|
|
|
| |
* generic/tclIOSock.c (TclCreateSocketAddress): The interp != NULL
check is needed for ::tcl::unsupported::socketAF as well.
|
| |
|
|
|
|
|
|
|
|
| |
* generic/tclCompile.c (tclInstructionTable): of [dict for] so that
* generic/tclExecute.c (TEBCresume): it no longer makes any
use of INST_DICT_DONE now that's not needed, and make it clearer in
the implementation of the instruction that it's just a deprecated form
of unset operation. Followup to my commit of 2010-10-16.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when a bytearray gets its internals entangled with zlib for more than
a passing moment, that bytearray will never be shimmered away. This
increases the amount of copying but is simple to get right, which is a
reasonable trade-off.
* generic/tclStringObj.c (Tcl_AppendObjToObj): Added some special
cases so that most of the time when you build up a bytearray by
appending, it actually ends up being a bytearray rather than
shimmering back and forth to string.
* tests/http11.test (check_crc): Use a simpler way to express the
functionality of this procedure.
|
|
|
|
| |
Tcl_GetObjResult, as we don't want to do that anti-pattern no more.
|
|
|
|
| |
Added testcases for Unicode 6.0
|
|
|
|
|
| |
of the bytecode-level dictionary iterator information so that the
side-conditions on instruction issuing are simpler.
|
|
|
|
|
|
| |
UnicodeData.txt,
corresponding with Unicode 6.0 (except for out-of-range chars > 0xFFFF)
|
| |
|
|
|
|
| |
* generic/tclExecute.c: sharing of empty scripts is allowed again.
|