| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
restored to return (char *): Tcl_DStringAppend,
Tcl_DStringAppendElement, Tcl_JoinPath, Tcl_TranslateFileName,
Tcl_ExternalToUtfDString, Tcl_UtfToExternalDString,
Tcl_UniCharToUtfDString, Tcl_GetCwd, Tcl_WinTCharToUtf. Also
restored Tcl_WinUtfToTChar to return (TCHAR *) and
Tcl_UtfToUniCharDString to return (Tcl_UniChar *). Modified
some callers. This change recognizes that Tcl_DStrings are
de-facto white-box objects.
* generic/tclCmdMZ.c: corrected use of C++-style comment.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
by Dale Talcott <daletalcott@users.sourceforge.net>. Avoid to
write nothing into a file as STREAM based implementations will
consider this a EOF (if the file is a pipe). Not done in the
generic layer as this type of writing is actually useful to
check the state of a socket.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* win/tcl.m4 (SC_LOAD_TCLCONFIG): Set TCL_LIB_SPEC,
TCL_STUB_LIB_SPEC, and TCL_STUB_LIB_PATH to the
values of TCL_BUILD_LIB_SPEC, TCL_BUILD_STUB_LIB_SPEC,
and TCL_BUILD_STUB_LIB_PATH when tclConfig.sh is loaded
from the build directory. A Tcl extension should
make use of the non-build versions of these variables
since they will work in both cases. This modification
was described in TIP 34.
|
|
|
|
|
|
|
|
|
|
|
| |
generic/tclIOUtil.c, generic/tclPipe.c, generic/tclResult.c,
generic/tclUtil.c, generic/tclVar.c and mac/tclMacResource.c according
to TIP 27. Tcl_TranslateFileName rewritten as wrapper around
VFS-aware version. Updated callers.
***POTENTIAL INCOMPATIBILITY***
Includes source incompatibilities: argv arguments of Tcl_Concat,
Tcl_JoinPath, Tcl_OpenCommandChannel, Tcl_Merge; argvPtr arguments of
Tcl_SplitList and Tcl_SplitPath.
|
|
|
|
|
|
|
|
| |
* doc/CrtChannel.3:
* doc/ChnlStack.3: Moved documentation for 'Tcl_GetTopChannel'
from 'CrtChannel' to 'ChnlStack'. Added documentation of
'Tcl_GetStackedChannel'. Bug #506147 reported by Mark Patton
<msp@users.sourceforge.net>.
|
| |
|
|
|
|
|
|
|
| |
overlooked before. Updated callers.
***POTENTIAL INCOMPATIBILITY***
Includes a source incompatibility in the tablePtr arguments of
the Tcl_GetIndexFromObj* routines.
|
|
|
|
|
|
|
| |
* win/tcl.m4 (SC_LOAD_TCLCONFIG): Subst TCL_DBGX
into TCL_STUB_LIB_FILE and TCL_STUB_LIB_FLAG
variables so that an extension does not need
to subst TCL_DBGX into its makefile. [Tk Bug 504356]
|
|
|
|
| |
according to the guidelines of TIP 27. Updated callers. [Patch 499196]
|
|
|
|
|
|
|
|
|
|
|
| |
of TIP 27. Several minor documentation corrections as well.
* Updated channel driver interface according to the guidelines of
TIP 27. See also [Bug 500348].
* Moved Tcl_EolTranslation enum declaration from generic/tcl.h to
generic/tclInt.h (renamed to TclEolTranslation). It is not used
anywhere in Tcl's public interface.
|
|
|
|
|
|
|
| |
* unix/configure.in:
* win/configure: Regen.
* win/configure.in: Use ${libdir} instead of ${exec_prefix}/lib
to properly support the --libdir option to configure. [Bug 489370]
|
|
|
|
|
|
| |
into tcltest executable to avoid crashes caused
by ld loading a previously installed version
of the tcl shared library.
|
| |
|
|
|
|
| |
of TIP 27.
|
|
|
|
|
| |
Search for config file using exec_prefix instead of
prefix when no --with-tcl or --with-tk argument is used. [Bug 492418]
|
|
|
|
|
| |
filesystem support.
* unix/mkLinks: Regen.
|
|
|
|
|
|
|
|
| |
setting for MacOSX / Darwin.
* unix/configure: Regen.
* unix/mkLinks.tcl: improved case-insensitive
filesystem support.
* unix/mkLinks: Regen.
|
|
|
|
| |
working files. It should operate on distributed files. [Bug 495120]
|
|
|
|
|
|
| |
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Update
SunOS 5.[0-6] target so that correct linker
options are passed to gcc or ld. [Tk Bug 220863]
|
|
|
|
|
| |
in the unix/dltest directory, the way autoconf
is run, and the new "make shell" target.
|
|
|
|
|
| |
fix problem where lib files were not getting
built because dltest/ directory already existed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
simply does a cd to dltest/ before running make.
There is no need for the separate configure
script that was previously being used.
* unix/configure: Regen.
* unix/configure.in: Subst into dltest/Makefile.
* unix/dltest/Makefile.in: Define LIBS using
DL_LIBS, LIBS, and MATH_LIBS variables instead
of TCL_LIBS variable from tclConfig.sh.
* unix/dltest/README: Update readme to account for new
configure free implementation.
* unix/dltest/configure: Removed.
* unix/dltest/configure.in: Removed.
|
|
|
|
| |
patch fixing bug #437489.
|
|
|
|
|
|
|
|
| |
TCL_EXE and when it should be available.
* win/Makefile.in: Add TCL_EXE variable to be used
by rules like `make genstubs`. Don't set TCL_LIBRARY
before running `make genstubs` since we will be running
with a tclsh from the PATH not the one we build.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
*unix/configure.in:
*unix/install-sh:
*unix/mkLinks:
*unix/mkLinks.tcl:
*unix/tclLoadDyld.c:
*unix/tclMtherr.c: Mac OSX support: build system, dynamic code loading
and support for case-insensitive filesystems in mkLinks (patch #435258)
|
| |
|
|
|
|
| |
This deprecates TclpGetTime in favor of new Tcl_GetTime.
|
|
|
|
| |
A version with extra debug echos got committed by mistake.
|
|
|
|
|
| |
* unix/Makefile.in: added EOL correction for Windows bat files to
dist target. [Bug #219409] (davygrvy)
|
|
|
|
|
|
|
|
| |
from 2001-11-16 that uses the old Tcl encoding check mechanism as
a fallback to the original. Also added a TCL_DEFAULT_ENCODING
#define (defaults to iso8859-1). Tcl will first try setlocale and
nl_langinfo, and if that fails, guess based on certain LANG|LC_*
env vars. [Patch #418645]
|
| |
|
|
|
|
| |
for gb2312
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/configure: regened
* unix/configure.in: added SC_ENABLE_LANGINFO call
* unix/tcl.m4: made SHLIB_LD_LIBS='${LIBS}' for FreeBSD* (meyer)
Added modified version of Wagner patch to make use of nl_langinfo
where possible to determine Unix platform encoding, instead of the
inflexible built-in system. This is used by default when
possible, and can be disabled with --enable-langinfo=no.
[Patch #418645] (hobbs, wagner)
|
|
|
|
|
| |
* win/Makefile.in: Add "make gdb" target. This target
can run tclsh inside either gdb or insight.
|
| |
|
|
|
|
|
|
| |
* unix/configure: Regen.
* unix/tcl.m4: Add HAVE_PTHREAD_ATTR_SETSTACKSIZE define
to EXTRA_CFLAGS to adjust initial stack size.
|
|
|
|
|
|
|
|
| |
* unix/configure: Regen.
* unix/tcl.m4 (SC_ENABLE_THREADS): Check for pthread functions
in libc_r and enable thread support if found.
* unix/dltest/Makefile.in: Set SHLIB_LD_LIBS and use it in
the Makefile to properly link a shared library.
|
|
|
|
|
|
|
|
| |
* unix/dltest/Makefile.in:
Avoid adding libc to the LIBS variable since it
is not needed when linking with CC. If required
when linking with LD it should be done on a case
by case basis in tcl.m4.
|
|
|
|
|
|
|
|
|
| |
* win/Makefile.in:
Print a message indicating that the user should
run "make genstubs" when the generated tclStubInit.c
file is out of date. We can't regenerate automatically
since there may be no tclsh on the system and that
would cause bootstrap problems. [Tcl bug 465874]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
included by extensions that need to find Tcl include
headers in the install location. The user can override
the include install dir with --includedir so we need
to record this information for extensions. [Tcl bug 421835]
* unix/configure: Regen.
* unix/configure.in: Define TCL_INCLUDE_SPEC.
* unix/tclConfig.sh.in: Define TCL_INCLUDE_SPEC.
* win/configure: Regen.
* win/configure.in: Define TCL_INCLUDE_SPEC.
* win/tclConfig.sh.in: Define TCL_INCLUDE_SPEC.
|
|
|
|
| |
some paths through the glob code!
|
|
|
|
| |
updated their settings first.
|
|
|
|
|
| |
retry when error is returned with errno == EINTR.
[Bug #415131] (leger)
|
|
|
|
| |
and fixed warnings. [Bug #446622] (lim)
|