| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* win/tclWinPort.h: provides extended error code support.
* tests/exec.test: Wrote some tests for this feature.
|
|
|
|
|
| |
* win/tclWinConsole.c: to give unicode console support on
* win/tclWinInt.h: suitable systems (eg: NT/XP)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclBinary.c:
* generic/tclCmdAH.c:
* generic/tclCmdIL.c:
* generic/tclCmdMZ.c:
* generic/tclExecute.c:
* generic/tclLink.c:
* generic/tclMain.c:
* generic/tclProc.c:
* generic/tclScan.c:
* generic/tclTest.c:
* generic/tclVar.c:
* mac/tclMacInit.c:
* unix/tclUnixInit.c:
* win/tclWinInit.c: Insure that the core never calls TclPtrSetVar,
Tcl_SetVar2Ex, Tcl_ObjSetVar2 or Tcl_SetObjErrorCode with a 0-ref
new value. It is not possible to handle error returns correctly in
that case [Bug 1334947], one has the choice of leaking the object
in some cases, or else risk crashing in some others.
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclEnv.c (TclSetEnv, TclUnsetEnv): add
USE_PUTENV_FOR_UNSET to existing USE_PUTENV define to account for
various systems that have putenv(), but can't unset env vars with
it. Note difference between Windows and Linux for actually
unsetting the env var (use of '=').
Correct the resizing of the environ array. We assume that we are
in full ownership, but that's not correct.[Bug 979640]
|
| |
|
|
|
|
|
| |
Remove old Cygwin + Mingw info, people should
just build with the msys + mingw configuration.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* win/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH):
Split confused search for tclsh on PATH and
build and install locations into two macros.
SC_PROG_TCLSH searches just the PATH.
SC_BUILD_TCLSH determines the name of the tclsh
executable in the Tcl build directory.
[Tcl bug 1160114]
[Tcl patch 1244153]
|
| |
|
| |
|
|
|
|
| |
Thanks to Pat Thoyts for discovery and fix.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h:
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/README.binary:
* win/configure.in:
* unix/configure: autoconf
* win/configure:
|
| |
|
| |
|
|
|
|
| |
to top of file and clarify name (was 'key'). [Bug 1204064]
|
|
|
|
|
|
|
| |
* generic/tcl.h:
* tools/tcl.wse.in:
* unix/tcl.spec, unix/configure, unix/configure.in:
* win/configure, win/configure.in:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the -blocking option when closing. The windows pipe driver
now has the same behavior as the UNIX side. This change is
to avoid a hung shell when exiting due to open pipes that
refuse to close in a graceful manner.
* doc/open.n: Added a note about -blocking 0 and lack of
exit status as it had never been documented. [Bug 947693]
***POTENTIAL INCOMPATIBILITY***
Scripts that use async pipes on windows, must (like the
UNIX side) set -blocking to 1 before calling [close] to
receive the exit status.
* tests/winPipe.test (winpipe-6.1/2): added 'fconfigure $f
-blocking 1' so the exit status can be acquired.
|
|
|
|
|
|
| |
to recognize when being called with NULL argument. This is a
signal for it to clean up the tsd key associated with the
threading allocator. Part of fixing the Tcl Bug #1178445.
|
|
|
|
| |
allow msys alone as an alternative.
|
| |
|
| |
|
| |
|
|
|
|
| |
from MSVC or the Platform SDK.
|
|
|
|
| |
Tcl_UniCharLen.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclDecls.h: Regenerated from tcl.decls.
* generic/tclStubInit.c:
* doc/CrtChannel.3: Documentation of extended API,
* generic/tcl.decls: extended testsuite, and
* generic/tcl.h: implementation. Removal of old
* generic/tclIO.c: driver-specific TclpCut/Splice
* generic/tclInt.h: functions. Replaced with generic
* tests/io.test: thread-action calls through the
* unix/tclUnixChan.c: new hooks. Update of all builtin
* unix/tclUnixPipe.c: channel drivers to version 4.
* unix/tclUnixSock.c: Windows drivers extended to
* win/tclWinChan.c: manage thread state in a thread
* win/tclWinConsole.c: action handler.
* win/tclWinPipe.c:
* win/tclWinSerial.c:
* win/tclWinSock.c:
* mac/tclMacChan.c:
|
|
|
|
|
|
|
|
|
| |
TclpCutFileChannel() to remove a FileInfo from
the thread local list before deallocating it.
This should have been done via an earlier
call to Tcl_CutChannel, but I was running into
a crash in the next call to Tcl_CutChannel
during the IO finalization stage.
|
|
|
|
|
|
| |
-Gs (included in -O2) and -GD (outdated). Use "link -lib" instead
of "lib" binary and remove -YX for MSVC7 portability. Add
-fomit-frame-pointer for gcc OPT compiles. [Bug 1092952, 1091967]
|
| |
|
|
|
|
|
|
|
|
| |
* win/makefile.bc: Was installed into directory http2.4.
* win/Makefile.in: This has been corrected.
* unix/Makefile.in:
* tools/tcl.wse.in:
* tools/tclmin.wse:
|
|
|
|
|
|
|
| |
* generic/tclThreadAlloc.c: threaded debug build on Windows
* win/tclWinThrd.c: now works again. Had to touch Unix
* unix/tclUnixThrd.c: as well. Basic patch by Kevin, with
modifications by myself.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h: for next patch release.
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/README.binary:
* win/configure.in:
* unix/configure: autoconf (2.13)
* win/configure:
|
| |
|
|
|
|
| |
executable' to not be case sensitive. [Bug 954263]
|
|
|
|
| |
until we have it, just return unknown. [Bug 1020445]
|
| |
|
|
|
|
|
|
| |
* library/dde/pkgIndex.tcl: committed on 2004-06-14.
* changes: Updated for Tcl 8.4.7 release.
|
|
|
|
|
|
|
| |
* generic/tclInt.h: fully cleanup on exit and allow for
* generic/tclThreadAlloc.c: reinitialization. [Bug #736426]
* unix/tclUnixThrd.c: (mistachkin, kenny)
* win/tclWinThrd.c:
|
|
|
|
| |
users never creating interpreters.
|
|
|
|
|
| |
* unix/configure, unix/configure.in, unix/tcl.spec: patchlevel
* win/README.binary, win/configure, win/configure.in: 8.4.7
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TclpCheckStackSpace, _except_checkstackspace_handler,
TclWinCPUID, _except_TclWinCPUID_detach_handler):
* win/tclWinChan.c (Tcl_MakeFileChannel,
_except_makefilechannel_handler):
* win/tclWinFCmd.c (DoRenameFile,
_except_dorenamefile_handler, DoCopyFile,
_except_docopyfile_handler):
Rework pushing of exception handler function pointer
so that compiling with gcc -O3 works. Remove empty
function call to avoid compiler warning. Mark the
DllMain function as noinline to avoid compiler
error from duplicated asm labels in generated code.
|
|
|
|
| |
the presence of applications that dont process Window messages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
build works again.
* generic/tclInt.decls: Changes to the tests for
* generic/tclIntPlatDecls.h: clock frequency in Tcl_WinTime
* generic/tclStubInit.c: so that any clock frequency
* tests/platform.test (platform-1.3): is accepted provided that
* win/tclWin32Dll.c (TclWinCPUID): all CPU's in the system share
* win/tclWinTest.c (TestwincpuidCmd): a common chip, and hence,
* win/tclWinTime.c (Tcl_GetTime): presumably, a common clock. This
change necessitated a small burst of assembly code to read CPU ID
information, which was added as TclWinCPUID in the internal Stubs. To
test this code in the common case of a single-processor machine, a
'testwincpuid' command was added to tclWinTest.c, and a test case in
platform.test. Thanks to Jeff Godfrey and Richard Suchenwirth for
reporting this bug. [Bug #976722]
|
| |
|
|
|
|
|
|
|
| |
* generic/tclIntPlatDecls.h: places where it appeared before the
* unix/tclUnixPort.h changes of 14 May, because use of
* unix/tclUnixTime.h native time_t in its place requires
* win/tclWinTime.h: the 8.5 header reforms. [Bug #955146]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclInt.decls: Promoted TclpLocaltime and TclpGmtime
* generic/tclIntDecls.h: from Unix-specific stubs to the generic
* generic/tclIntPlatDecls.h: internal Stubs table. Reran 'genstubs'
* generic/tclStubInit.c:
* unix/tclUnixPort.h:
* generic/tclClock.c: Changed a buggy 'GMT' timezone specification
to the correct 'GMT0'. [Bug #922848]
* unix/tclUnixThrd.c: Moved TclpGmtime and TclpLocaltime to
unix/tclUnixTime.c where they belong.
* unix/tclUnixTime.c (TclpGmtime, TclpLocaltime, TclpGetTimeZone,
ThreadSafeGMTime [removed],
ThreadSafeLocalTime [removed],
SetTZIfNecessary, CleanupMemory):
Restructured to make sure that the same mutex protects
all calls to localtime, gmtime, and tzset. Added a check
in front of those calls to make sure that the TZ env var
hasn't changed since the last call to tzset, and repeat
tzset if necessary. [Bug #942078] Removed a buggy test
of the Daylight Saving Time information in 'gettimeofday'
in favor of applying 'localtime' to a known value.
[Bug #922848]
* tests/clock.test (clock-3.14): Added test to make sure that
changes to $env(TZ) take effect immediately.
* win/tclWinTime.c (TclpLocaltime, TclpGmtime):
Added porting layer for 'localtime' and 'gmtime' calls.
|
|
|
|
|
| |
DOS application, the path priming does not need an ending space as
BuildCommandLine() will do this for us.
|