| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
conversion of the largest denormal and the smallest normal number,
to avoid any possibility of the failure suffered by PHP in the
last couple of days. (They didn't fail, so no actual functional
change.)
|
|
|
|
|
|
|
| |
file that is concerned with the package system. Convert to use
tcltest2 properly.
* tests/autoMkindex.test, tests/pkgMkIndex.test: Convert to use
tcltest2 properly.
|
|
|
|
| |
cleanup code out of the test body and into the -setup/-cleanup stanzas.
|
|
|
|
| |
fails (with a crash) in an unfixed memdebug build on 64-bit systems.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
with -DSTATIC_BUILD
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
environments.
|
| |
|
| |
|
|
|
|
| |
MSVC has it.
|
|
|
|
| |
Fixed for gcc, not yet for MSVC 64-bit.
|
|
|
|
| |
Fixed for gcc, not yet for MSVC 64-bit.
|
| |
|
|
|
|
| |
Makefile.in, add any missing ones and remove duplicates.
|
| |
|
| |
|
|
|
|
| |
Better communication with debugger, if present.
|
|
|
|
| |
[Patch 3124554] use ExitProcess() here, like in wish.
|
| |
|
|
|
|
|
|
|
| |
* unix/tclUnixSock.c (CreateClientSocket): local and remote
addresses, so that the system's address preference for the remote
side decides which family gets tried first. Cleanup and clarify
some of the comments.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
support anything before Windows 2000.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
they don't leave things in the global environment (detected when doing
-singleproc testing).
|
|
|
|
|
| |
* tests/upvar.test, tests/var.test: Convert more tests to tcltest2 and
factor them to be easier to understand.
|
|
|
|
|
| |
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.
|
|
|
|
| |
tests to tcltest2 and factor them to be easier to understand.
|
| |
|
|
|
|
| |
setup and cleanup parts as such.
|