| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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.
|
|
|
|
| |
tests to tcltest2 and factor them to be easier to understand.
|
|
|
|
| |
setup and cleanup parts as such.
|
| |
|
|
|
|
| |
this resolves compiler warnings in 64-bit and static builds.
|
|
|
|
|
| |
now implemented for cygwin and mingw32 too.
No longer disable tests Tcl_Main-1.4 and 1.6 on Windows, because those now work on all supported platforms.
|
| |
|
|
|
|
| |
issue.
|
|
|
|
| |
[Bug 3111059]
|
|
|
|
| |
for mingw-w64
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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++
|
|
|
|
| |
unneeded [after]s.
|
|
|
|
|
|
|
|
| |
address family set to any, inet, and inet6 respectively. Use
constraints to skip the tests if a family is found to be
unsupported or not configured on the local machine. Adjust the
tests to dynamically adapt to the address family that is being
tested.
|
| |
|
|
|
|
| |
issues in [try] compilation.
|
|
|
|
|
|
| |
of explanation of what characters are actually permitted in variable
substitutions. Note that this does not constitute a change of
behavior; it is just an improvement of explanation.
|
| |
|
| |
|
|
|
|
| |
(more clean-ups for pre-win2000 stuff)
|
|
|
|
|
| |
* 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]
|
|
|
|
| |
particular.
|
|
|
|
|
| |
* library/tzdata/Pacific/Apia:
* library/tzdata/Pacific/Fiji: Olson's tzdata2010o.
|
| |
|
| |
|
|
|
|
| |
crash some systems. Thanks Larry Virden. [Bug 3093120]
|
|
|
|
|
| |
* generic/tclIOSock.c (TclCreateSocketAddress): The interp != NULL
check is needed for ::tcl::unsupported::socketAF as well.
|
|
|
|
| |
* win/tclWinSock.c (TcpGetOptionProc): NULL (a legal situation).
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* 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
|