summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* 2003-02-01 Kevin Kenny <kennykb@users.sourceforge.net> Kevin B Kenny2003-02-011-0/+9
| | | | | | | | | * doc/Tcl.n: Added headings to the eleven paragraphs, to improve formatting in the tools that attempt to extract tables of contents from the manual pages. [Bug 627455] * generic/tclClock.c: Expanded mutex protection around the setting of env(TZ) and the thread-unsafe call to tzset(). [Bug 656660]
* The utility [slave] command failed to properly [list]-quote adgp2003-01-311-0/+3
| | | | | constructed [open] command, causing failure when the pathname contained whitespace. [Bug 678415]
* * tests/tcltest.test: Cleaned up management of file/directorydgp2003-01-311-0/+3
| | | | creation/deletion to improve "-debug 1" output. [Bug 675614]
* * tests/main.test: Stopped main.test from deleting existing file.dgp2003-01-311-0/+6
| | | | Test suite should not delete files that already exist. [Bug 675660]
* * tests/main.test: Constrain tests that do not work on Windows.dgp2003-01-281-0/+4
|
* filesystem bug fix and new testvincentdarley2003-01-281-0/+13
|
* * generic/tcl.h: Add TCL_PREFIX_IDENT andmdejong2003-01-281-0/+18
| | | | | | | | | | | | | | | | | TCL_DEBUG_IDENT, used only by TclpCreateProcess. * unix/Makefile.in: Define TCL_DBGX. * win/Makefile.in: Define TCL_DBGX. * win/tclWinPipe.c (TclpCreateProcess): Check that the Tcl pipe dll actually exists in the Tcl bin directory and panic if it is not found. Incorporate TCL_DBGX into the Tcl pipe dll name. This fixes a really mysterious error that would show up when exec'ing a 16 bit application under Win95 or Win98 when Tcl was compiled with symbols. The error seemed to indicate that the executable could not be found, but it was actually the Tcl pipe dll that could not be found.
* * win/README: Update msys+mingw URL to release 6.mdejong2003-01-271-0/+5
| | | | This version bundles gcc 3.
* * win/configure: Regen.mdejong2003-01-271-0/+9
| | | | | | | | * win/configure.in: Add test that checks to see if the compiler can cast to a union type. * win/tclWinTime.c: Squelch compiler warning about union initializer by casting to union type when compiling with gcc.
* * generic/tclIO.c (Tcl_CutChannel, Tcl_SpliceChannel):mdejong2003-01-261-0/+17
| | | | | | | | | | | | | | | | Invoke TclpCutFileChannel and TclpSpliceFileChannel. * generic/tclInt.h: Declare TclpCutFileChannel and TclpSpliceFileChannel. * unix/tclUnixChan.c (FileCloseProc, TclpOpenFileChannel, Tcl_MakeFileChannel, TclpCutFileChannel, TclpSpliceFileChannel): Implement thread load data cut and splice for file channels. This avoids an invalid memory ref when compiled with -DDEPRECATED. * win/tclWinChan.c (FileCloseProc, TclpCutFileChannel, TclpSpliceFileChannel): Implement thread load data cut and splice for file channels. This avoids an invalid memory ref that was showing up in the thread extension.
* * win/tclWin32Dll.c (TclpCheckStackSpace, squelch_warnings):mdejong2003-01-251-0/+15
| | | | | | | | | | | | | | * win/tclWinChan.c (Tcl_MakeFileChannel, squelch_warnings): * win/tclWinFCmd.c (DoRenameFile, DoCopyFile, squelch_warnings): Re-implement inline ASM SEH handlers for gcc. The esp and ebp registers are now saved on the stack instead of in global variables so that the code is thread safe. Add additional checks when TCL_MEM_DEBUG is defined to be sure the values were recovered from the stack properly. Remove squelch_warnings functions and add a dummy call in the handler methods to squelch compiler warnings.
* * win/configure:mdejong2003-01-251-0/+16
| | | | | | | | | | | | | | | * win/configure.in: Define HAVE_ALLOCA_GCC_INLINE when we detect that no alloca function is found in malloc.h and we are compiling with GCC. Remove HAVE_NO_ALLOC_DECL define. * win/tclWin32Dll.c (TclpCheckStackSpace): Don't define alloca as a cdecl function. Doing this caused a tricky runtime bug because the _alloca function expects the size argument to be passed in a register and not on the stack. To fix this problem, we use inline ASM when compiling with gcc to invoke _alloca with the size argument loaded into a register.
* * generic/tclEvent.c (Tcl_Finalize): revert finalize change onhobbs2003-01-251-0/+8
| | | | | | 2002-12-04 to correct the issue with extensions that have TSD needing to finalize that before they are unloaded. This issue needs further clarification.
* only do groups check on unixhobbs2003-01-251-0/+4
|
* stringObj unicode Tcl_SetObjLength fixesvincentdarley2003-01-241-0/+13
|
* woops, missed in last commitmdejong2003-01-241-1/+2
|
* * win/configure: Regen.mdejong2003-01-241-0/+12
| | | | | | | | | | | * win/configure.in: * win/tclWin32Dll.c (TclpCheckStackSpace): Rework the SEH exception handler logic to avoid using the stack since alloca will modify the stack. This was causing a nasty bug that would set the exception handler to 0 because it tried to pop the previous exception handler off the top of the stack.
* * doc/lset.n: Fixed fault in return values from lset indkf2003-01-231-0/+6
| | | | | documentation examples [SF Bug #658463] and tidied up a bit at the same time.
* Clarified documentation of [namespace inscope] [SF Patch #670110]jenglish2003-01-211-0/+4
|
* * win/configure: Regen.mdejong2003-01-211-0/+10
| | | | | | | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): Set SHLIB_SUFFIX so that TCL_SHLIB_SUFFIX will be set to a useful value in the generated tclConfig.sh. Set SHLIB_LD_LIBS to "" or '${LIBS}' based on the --enable-shared flag. This matches the UNIX implementation.
* change %ud to %u as appropriatehobbs2003-01-191-0/+4
|
* * win/tclWinDde.c (DdeServerProc): Deallocatemdejong2003-01-181-0/+6
| | | | | the Tcl_Obj returned by ExecuteRemoteObject if it was not saved in a connection object.
* * generic/tcl.h: Revert earlier change thatmdejong2003-01-171-0/+13
| | | | | | | | | | | | defined TCL_WIDE_INT_TYPE as long long and TCL_LL_MODIFIER as L when compiling with mingw. This change ended up causing some test case failures when compiling with mingw. * generic/tclObj.c (UpdateStringOfWideInt): Describe the warning generated by mingw and why it needs to be ignored so that someone is not tempted to "fix" this problem again in the future.
* execution trace, command trace and stringObj bug fixesvincentdarley2003-01-171-0/+25
|
* * win/tclWinSerial.c (SerialOutputProc): add casts forhobbs2003-01-161-0/+3
| | | | bytesWritten to allow strict compilation (no warnings).
* * tests/winDde.test:hobbs2003-01-161-0/+7
| | | | | | * win/tclWinDde.c (Tcl_DdeObjCmd): Prevent crash when empty service name is passed to 'dde eval' and goto errorNoResult in request and poke error cases to free up any allocated data.
* * win/tclWin32Dll.c (squelch_warnings): Squelchmdejong2003-01-161-0/+23
| | | | | | | | | | | | | | | | | | | | | | compiler warnings from SEH ASM code. * win/tclWinChan.c (squelch_warnings): Squelch compiler warnings from SEH ASM code. * win/tclWinDde.c: Add casts to avoid compiler warnings. Pass pointer to DWORD instead of int to avoid compiler warnings. * win/tclWinFCmd.c (squelch_warnings): Add casts and fixup decls to avoid compiler warnings. Squelch compiler warnings from SEH ASM code. * win/tclWinFile.c: Add casts and fixup decls to avoid compiler warnings. Remove unused variable. * win/tclWinNotify.c: Declare as DWORD instead of int to avoid compiler warning. * win/tclWinReg.c: Add casts to avoid compiler warning. Fix assignment in if expression bug. * win/tclWinSerial.c: Add casts to avoid compiler warnings. Remove unused variable. * win/tclWinSock.c: Add casts and fixup decls to avoid compiler warnings.
* * generic/tclClock.c (FormatClock): corrected typo thathobbs2003-01-141-0/+5
| | | | incorrectly conditionally defined savedTZEnv and savedTimeZone.
* Fix mingw build problems and compiler warnings.mdejong2003-01-141-0/+18
| | | | | | | | | | | | | | | | * generic/tcl.h: Add if defined(__MINGW32__) check to code that sets the TCL_WIDE_INT_TYPE and TCL_LL_MODIFIER. * generic/tclClock.c (FormatClock): Don't define savedTimeZone and savedTZEnv if we are not going to use them. * generic/tclEnv.c: Add cast to avoid warning. * win/tclWinChan.c: Use DWORD instead of int to avoid compiler warning. * win/tclWinThrd.c: Only define allocLock, allocLockPtr, and dataKey when TCL_THREADS is defined. This avoid a compiler warning about unused variables.
* * win/README: Update msys + mingw URL, themdejong2003-01-131-0/+7
| | | | | | new release includes the released 1.0.8 version of msys which includes a number of bug fixes.
* * win/configure: Regen.mdejong2003-01-131-0/+8
| | | | | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): Pull in addition of shell32.lib to LIBS_GUI that was added to the Tk tcl.m4 but never made it back into the Tcl version.
* * generic/tcl.h: Skip Tcl's define of CHAR,mdejong2003-01-131-0/+15
| | | | | | | | | | | | | | SHORT, and LONG when HAVE_WINNT_IGNORE_VOID is defined. This avoids a bunch of compiler warnings when building with Cygwin or Mingw. * win/configure: Regen. * win/configure.in: Define HAVE_WINNT_IGNORE_VOID when we detect a winnt.h that still defines CHAR, SHORT, and LONG when VOID has already been defined. * win/tcl.m4 (SC_LOAD_TCLCONFIG): Subst the TCL_DEFS loaded from tclConfig.sh so that Tcl defines can make it into the Tk Makefile.
* * win/configure: Regen.mdejong2003-01-131-0/+10
| | | | | | | | | * win/configure.in: Check for typedefs like LPFN_ACCEPT in winsock2.h and define HAVE_NO_LPFN_DECLS if not found. * win/tclWinSock.c: Define LPFN_* typedefs if HAVE_NO_LPFN_DECLS is defined. This fixes the build under Mingw and Cygwin, it was broken by the changes made on 2002-11-26.
* WinTcl crash on exit fixvincentdarley2003-01-101-0/+10
|
* * generic/tclCompCmds.c (TclCompilerReturnCmd): Corrected off-by-onedgp2003-01-091-0/+5
| | | | problem with recent commit. [Bug 633204]
* non-ascii chars in file mtime fixvincentdarley2003-01-091-0/+11
|
* remove unused variablevincentdarley2003-01-091-0/+5
|
* * generic/tclExecute.c (TclExprFloatError): Use the IS_NAN macrodgp2003-01-081-0/+5
| | | | for greater clarity of code.
* * generic/tclCompCmds.c (TclCompileReturnCmd):dgp2003-01-081-0/+8
| | | | | | | * tests/compile.test: Corrects failure of bytecompiled [catch {return}] to have result TCL_RETURN (not TCL_OK) [Bug 633204]. This patch is a workaround for 8.4.X. A new opcode INST_RETURN is a better long term solution for 8.5 and later.
* no messagedavygrvy2003-01-051-0/+17
|
* * win/makefile.vc: some uses of xcopy swapped to the @$(CPY) macro.davygrvy2002-12-181-1/+6
| | | | Reported by Joe Mistachkin <joe@mistachkin.com>.
* * generic/tclNotify.c (TclFinalizeNotifier, Tcl_SetServiceMode):hobbs2002-12-171-0/+6
| | | | | (Tcl_ThreadAlert): Check that the stub functions are non-NULL before calling them. They could be set to NULL by Tcl_SetNotifier.
* * generic/tclPipe.c (TclCleanupChildren):davygrvy2002-12-171-0/+15
| | | | | | | | | | | | | | * tests/winPipe.c: * win/tclWinPipe.c (Tcl_WaitPid): * win/tclWinTest.c: Gave Tcl_WaitPid the ability to return a Win32 exception code translated into a posix style SIG*. This allows [close] to report "CHILDKILLED" without the meaning getting lost in a truncated exit code. In TclCleanupChildren(), TclpGetPid() had to get moved to before Tcl_WaitPid() as the the handle is removed from the list taking away the ability to get the process id after the wait is done. This shouldn't effect the unix implimentaion unless waitpid is called with a pid of zero, meaning "any". I don't think it is..
* * unix/configure.in: Updated configure of CVS snapshots to reflectdgp2002-12-131-0/+8
| | | | | | | * win/configure.in: the 8.4.1.1 patchlevel. * unix/configure: autoconf * win/configure autoconf
* * generic/tclProc.c (ProcessProcResultCode): Fix failure todgp2002-12-111-0/+4
| | | | | propagate negative return codes up the call stack. [Bug 647307] * tests/proc.test (proc-6.1): Test for Bug 647307
* * generic/tclParseExpr.c (TclParseInteger): Return 1 for thedgp2002-12-111-0/+6
| | | | | string "0x" (recognize leading "0" as an integer). [Bug 648441]. * tests/parseExpr.test (parseExpr-19.1): Test for Bug 648441.
* * win/tclWinThrd.c (TclpMasterUnlock):hobbs2002-12-101-0/+6
| | | | | * generic/tclThread.c (TclFinalizeThreadData): TclpMasterUnlock must exist and be called unconditional of TCL_THREADS. [Bug #651139]
* * win/tclWinSock.c (SocketThreadExitHandler, InitSockets): Checkdavygrvy2002-12-081-0/+9
| | | | | | | | that the tsdPtr is valid before dereferencing as we call it from the exit handler, too [Bug 650353]. Another WSAStartup() loaded version comparison byte swap issue fixed. Although 0x0101 byte swapped is still 0x0101, properly claiming which is major/minor is more correct.
* * generic/tclStubInit.c: regenhobbs2002-12-061-0/+16
| | | | | | | | | | | | * generic/tclIntPlatDecls.h: regen * generic/tclInt.decls: added TclWinResetInterface * win/tclWin32Dll.c (TclWinResetInterfaces): * win/tclWinInit.c (TclpSetInitialEncodings, WinEncodingsCleanup): add exit handler that resets the encoding information to a state where we can reuse Tcl. Following these changes, it is possible to reuse Tcl (following Tcl_FindExecutable or Tcl_CreateInterp) following a Tcl_Finalize.
* * win/tclWinPipe.c: reverted back to -r1.27 due to numerous testdavygrvy2002-12-051-0/+6
| | | | failures that need to be resolved first.