| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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]
|
| |
|
| |
|
|
|
|
| |
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)
|
| |
|
| |
|
|
|
|
| |
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].
|
| |
|
| |
|
| |
|
|
|
|
| |
in the working path. Thanks to Kevin Kenny.
|
|
|
|
| |
in the working path. Thanks to Kevin Kenny.
|
|
|
|
| |
in the working path. Thanks to Kevin Kenny.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* unix/tcl.m4: change HP-11 SHLIB_LD_LIBS from "" to ${LIBS} so
that the .sl knows its dependent libs.
|
| |
|
| |
|
|
|
|
| |
use VOID instead of void.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclInt.h:
* generic/tclThreadAlloc.c (new):
* unix/Makefile.in:
* unix/tclUnixThrd.c:
* win/Makefile.in:
* win/tclWinInt.h:
* win/tclWinThrd.c: added new threaded allocator contributed by
AOL that significantly reduces lock contention when multiple
threads are in use. Only Windows and Unix implementations are
ready, and the Windows one may need work. It is only used by
default on Unix for now, and requires that USE_THREAD_ALLOC be
defined (--enable-threads on Unix will define this).
|
|
|
|
|
|
| |
TCLTK_NO_LIBRARY_TEXT_RESOURCES #define to allow disabling the
inclusion of the tcl library code in the resource fork of Tcl
executables and shared libraries.
|
| |
|
|
|
|
|
| |
corrected calling of Tcl_ConditionWait to ensure that there would
be a condition to wait upon.
|
| |
|
|
|
|
| |
startup script path. [Bug 543549]
|
|
|
|
|
|
| |
namespace when determining the max translated length. Also
made revisions for better use of namespace variables and more
efficient [uplevel]s.
|
|
|
|
| |
of msgcat; bumped to 1.2.3. [Bug 544727]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclInt.decls:
* generic/tclIntPlatDecls.h:
* generic/tclStubInit.c:
* mac/tclMacFCmd.c:
* mac/tclMacFile.c:
* mac/tclMacUtil.c: Modified TclpObjNormalizePath to be alias
file aware, and replaced various calls to FSpLocationFrom*Path
by calls to new alias file aware versions FSpLLocationFrom*Path.
The alias file aware routines don't resolve the last component of
a path if it is an alias. This allows [file copy/delete] etc. to
act correctly on alias files. (c.f. discussion in Bug #511666)
|
| |
|
| |
|
|
|
|
|
| |
codes during substitution, and on variable substitutions implied
by command substitution, and vice versa. [Bug 536838]
|
| |
|
| |
|
| |
|
|
|
|
| |
"floating-point value" in [expr] error messages.
|
|
|
|
| |
kept only for tcltest 1 compatibility.
|
|
|
|
| |
tcltest 2 documentation, effectively deprecating them. [Bug 495660]
|
|
|
|
|
| |
use the useless and buggy [saveState] and [restoreState] commands
of tcltest. Updated to use tcltest 2 as well. [Patch 544911]
|
|
|
|
|
| |
use the useless and buggy [saveState] and [restoreState] commands
of tcltest. Updated to use tcltest 2 as well. [Patch 544546]
|