| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
and add CFLAGS_DEBUG, CFLAGS_OPTIMIZE, and
CFLAGS_DEFAULT varaibles. [Tcl bug 565488]
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
probably optimized far in excess of anything we could do! Little-endian
just use the old code...
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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]
|
|
|
|
| |
new TIP#72-enabled Tcl. See http://purl.org/tcl/tip/91 for details.
|
|
|
|
|
|
|
|
|
| |
* 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]
|
| |
|
|
|
|
| |
observed to be either signed (Solaris) or unsigned (Linux)...
|
| |
|
|
|
|
|
| |
* unix/tcl.m4: change HP-11 SHLIB_LD_LIBS from "" to ${LIBS} so
that the .sl knows its dependent libs.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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).
|
|
|
|
|
|
|
| |
initialize a realpath arg when compiling in PURIFY mode in order
to prevent spurious purify warnings. We should really create our
own realpath implementation, but this will at least quiet purify
for now.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
easier for now.
|
|
|
|
|
|
| |
problem introduced by TIP #35. This may not satisfy true serial
channels, but it restores the correct flushing of std* channels on
exit.
|
| |
|
| |
|
|
|
|
| |
but people might find them convenient.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
"/dev/tty" (by name) and to not handle it as tty / serial
line. This is the controlling terminal and is special. Setting
it into raw mode as is done for other tty's is a bad idea. This
is a hackish fix for expect SGF Bug #520624. The fix has
limitation: Tcl_MakeFileChannel handles tty's specially too, but
is unable to recognize /dev/tty as it only gets a file
descriptor, and no name for it.
|
|
|
|
|
| |
gethostbyname check to guard against failure with truncated names
returned by uname.
|
|
|
|
|
| |
* unix/tcl.m4 (SC_SERIAL_PORT): added sys/modem.h check and defined
_XOPEN_SOURCE_EXTENDED for HP-11 to get updated header decls.
|
|
|
|
| |
port support. [Patch #438509] (schroedter)
|
| |
|
|
|
|
| |
have more libdl-like semantics. (bug #514392)
|
|
|
|
|
|
| |
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Link with -n32
instead of -32 when building on IRIX64-6.* system.
[Tcl bug 521707]
|
|
|
|
|
| |
* unix/tcl.m4: added --enable-64bit support for AIX-4 (using -q64
flag) when using IBM's xlc compiler.
|
| |
|
|
|
|
| |
platforms that do not define them.
|
|
|
|
|
| |
This version builds clean on Solaris/SPARC, with GCC and CC, both with and
without threads and both in 32-bit and 64-bit mode.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* djgpp/Makefile (new):
* unix/tclAppInit.c:
* unix/tclMtherr.c:
* unix/tclUnixFCmd.c:
* unix/tclUnixFile.c:
* unix/tclUnixInit.c:
* unix/tclUnixPort.h: Early stage of DJGPP support for building
Tcl on DOS. Dynamic loading isn't working, yet. Requires watt32
for the TCP/IP stack. No autoconf, yet. Barely tested, but
makes a working exe that runs Tcl in protected-mode, flat memory.
[exec] and pipes will need the most work as multi-tasking on DOS
has to be carefully.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* djgpp/Makefile (new):
* unix/tclAppInit.c:
* unix/tclMtherr.c:
* unix/tclUnixFCmd.c:
* unix/tclUnixFile.c:
* unix/tclUnixInit.c:
* unix/tclUnixPort.h: Early stage of DJGPP support for building
Tcl on DOS. Dynamic loading isn't working, yet. Requires watt32
for the TCP/IP stack. No autoconf, yet. Barely tested, but
makes a working exe that runs Tcl in protected-mode, flat memory.
[exec] and pipes will need the most work as multi-tasking on DOS
has to be carefully.
|
|
|
|
|
|
| |
* unix/tcl.m4: added -pthread for FreeBSD to EXTRA_CFLAGS and
LDFLAGS. Also triggered nodots only for FreeBSD-3.
Added AC_DEFINE(_POSIX_PTHREAD_SEMANTICS) for Solaris.
|
|
|
|
|
| |
* unix/tclUnixThrd.c: added thread-safe versions of readdir,
localtime, gmtime and inet_ntoa for threaded build. (jgdavidson)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|