| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
of failing [test]s don't show up themselves as failing tests.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
and add CFLAGS_DEBUG, CFLAGS_OPTIMIZE, and
CFLAGS_DEFAULT varaibles. [Tcl bug 565488]
|
|
|
|
| |
of failing [test]s don't show up themselves as failing tests.
|
|
|
|
|
|
|
|
|
|
|
|
| |
revealed by running test suite with "-singleproc 1".
* doc/tcltest.n:
* library/tcltest/tcltest.tcl:
* tests/tcltest.test: Several updates to tcltest.
1) changed to lazy initialization of test constraints
2) deprecated [initConstraintsHook]
3) repaired badly broken [limitConstraints].
[Patch 512214, Bug 558742, Bug 461000]
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
added mutex wrapped calls to readdir, localtime & gmtime in
case their thread-safe *_r counterparts are not available.
* unix/tcl.m4: added configure check for readdir_r
* unix/tcl.m4 (Darwin): set TCL_DEFAULT_ENCODING to utf-8 on
MacOSX (where posix file apis expect utf-8, not iso8859-1).
* unix/configure: regen
* unix/Makefile.in: set DYLD_LIBRARY_PATH in parallel
to LD_LIBRARY_PATH for MacOSX dynamic linker.
* generic/tclEnv.c (TclSetEnv): fix env var setting on
MacOSX (adapted from patch #524352 by jkbonfield).
|
|
|
|
| |
clarifications about the intended use of Tcl_Main(). [Bug 505651]
|
|
|
|
|
|
|
|
|
| |
recent changes in 'glob -tails' handling.
* mac/tclMacPort.h:
* mac/tclMacChan.c: fixed TIP#91 bustage.
* mac/tclMacResource.c (Tcl_MacConvertTextResource): added utf
conversion of text resource contents.
* tests/macFCmd.test (macFCmd-1.2): allow CWIE creator.
|
|
|
|
|
|
| |
Converted tcltest.test to use a private namespace. Fixed bugs in
[tcltest::Eval] revealed by calling [tcltest::test] from a non-global
namespace, and namespace errors in init.test.
|
| |
|
|
|
|
|
|
|
| |
users to add new legal values of the -match option to [test],
associating each with a Tcl command that does the matching of
expected results with actual results of tests. Thanks to
Arjen Markus. [Patch 521362]
|
|
|
|
| |
[Bug 559268]
|
| |
|
| |
|
|
|
|
| |
Thanks to Helmut for report. [Bug 550534]
|
|
|
|
| |
an [open "|[interpreter]"] is attempted.
|
|
|
|
|
|
|
|
| |
TclMathInProgress and Unix implementation of matherr(). These
are now obsolete, dealing with very old versions of the C math
library. Windows version is retained in case Borland compilers
require it, but it is inactive. Thanks to Joe English.
[Bug 474335, Patch 555635].
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* unix/configure.in: replaced bigendian check with autoconf
standard AC_C_BIG_ENDIAN, which defined WORDS_BIGENDIAN on
bigendian systems.
* generic/tclUtf.c (Tcl_UniCharNcmp):
* generic/tclInt.h (TclUniCharNcmp): use WORDS_BIGENDIAN instead of
TCL_OPTIMIZE_UNICODE_COMPARE to enable memcmp alternative.
|
|
|
|
|
|
|
| |
* generic/tclCmdMZ.c (Tcl_StringObjCmd): changed the case for
choosing the Tcl_UniCharNcmp compare to when both objs are of
StringType, as benchmarks show that is the optimal check (both
bigendian and littleendian systems).
|
|
|
|
|
| |
It is no longer needed since Tcl_Main() now actually calls
Tcl_LinkVar(). Thanks to Joe English for pointing that out.
|
| |
|
|
|
|
|
| |
probably optimized far in excess of anything we could do! Little-endian
just use the old code...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclIntDecls.h:
* generic/tclStubInit.c:
* generic/tclUtf.c: added TclpUtfNcmp2 private command that
mirrors Tcl_UtfNcmp, but takes n in bytes, not utf-8 chars. This
provides a faster alternative for comparing utf strings internally.
(Tcl_UniCharNcmp, Tcl_UniCharNcasecmp): removed the explicit end
of string check as it wasn't correct for the function (by doc and
logic).
* generic/tclCmdMZ.c (Tcl_StringObjCmd): reworked the string equal
comparison code to use TclpUtfNcmp2 as well as short-circuit for
equal objects or unequal length strings in the equal case.
Removed the use of goto and streamlined the other parts.
* generic/tclExecute.c (TclExecuteByteCode): added check for
object equality in the comparison instructions. Added
short-circuit for != length strings in INST_EQ, INST_NEQ and
INST_STR_CMP. Reworked INST_STR_CMP to use TclpUtfNcmp2 where
appropriate, and only use Tcl_UniCharNcmp when at least one of the
objects is a Unicode obj with no utf bytes.
|
|
|
|
| |
creation in code that no longer throws an error.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* compat/strftime.c:
* generic/tclClock.c:
* generic/tclInt.decls:
* generic/tclIntDecls.h:
* unix/tclUnixTime.c: fix for Windows msvcrt mem leak caused by
using an env(TZ) setting trick for in clock format -gmt 1. This
also makes %s seem to work correctly with -gmt 1 as well as
making it a lot faster by avoid the env(TZ) hack. TclpStrftime
now takes useGMT as an arg. [Bug #559376]
|
|
|
|
| |
against the case when NULL is based.
|
| |
|
|
|
|
| |
commenting as part of fixing process.
|
| |
|
|
|
|
| |
and bug report by Kevin Kenny <kennykb@users.sourceforge.net>.
|
|
|
|
| |
new TIP#72-enabled Tcl. See http://purl.org/tcl/tip/91 for details.
|
|
|
|
|
|
| |
are not allowed to mess with the watch mask if the socket is a
server socket. I believe that the original reporter is George
Peter Staplin.
|
|
|
|
|
|
|
|
|
| |
* unix/configure.in: Invoke SC_ENABLE_SHARED before
calling SC_CONFIG_CFLAGS so that the SHARED_BUILD
variable can be checked inside SC_CONFIG_CFLAGS.
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Pass -non_shared
instead of -shared to ld when configured with
--disable-shared under OSF. [Tcl bug 540390]
|
|
|
|
|
| |
* mac/tclMacChan.c: use MSL provided creator type if available
instead of the default 'MPW '.
|
|
|
|
| |
(Tcl Bug #547987, #414921)
|
|
|
|
| |
(Tcl Bug #547987, #414921)
|
| |
|
| |
|
|
|
|
| |
observed to be either signed (Solaris) or unsigned (Linux)...
|
| |
|
| |
|
|
|
|
|
| |
other matters that cause tests to fail when the patch includes
special characters. Report from Vince Darley. [Bug 554068].
|