| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* 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].
|
| |
|
|
|
|
|
|
| |
single-quote macro mis-understanding was wrong. Reverted to reimpliment
the 'macro2' proc which handles single-quote macros and restored file.n text
arrangement to avoid single-quotes on the first line.
|
| |
|
| |
|
|
|
|
| |
man2tcl.c instead.
|
| |
|
|
|
|
| |
command found and repaired.
|
| |
|
|
|
|
| |
in the working path. Thanks to Kevin Kenny.
|
|
|
|
| |
in the working path. Thanks to Kevin Kenny.
|
|
|
|
| |
in the working path. Thanks to Kevin Kenny.
|
|
|
|
| |
[source]-ing test script in subdirectories.
|
| |
|
|
|
|
|
| |
as an unknown macro. Not knowing how to repair tools/man2tcl.c, I decided
to rearrange the text in the docs instead.
|
|
|
|
| |
Changes from Peter Spjuth <peter.spjuth@space.se>.
|
|
|
|
| |
Changes from Peter Spjuth <peter.spjuth@space.se>.
|
|
|
|
| |
Changes from Peter Spjuth <peter.spjuth@space.se>.
|
|
|
|
| |
Peter Spjuth <peter.spjuth@space.se>.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* unix/tcl.m4: change HP-11 SHLIB_LD_LIBS from "" to ${LIBS} so
that the .sl knows its dependent libs.
|
| |
|