summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* code cleanup of eval and string comp usehobbs2003-02-082-12/+15
|
* first speedups to Win filesystemvincentdarley2003-02-075-152/+233
|
* fix to crashing filesystem testvincentdarley2003-02-074-50/+80
|
* * generic/tclCompCmds.c (TclCompileIncrCmd):mdejong2003-02-073-7/+14
| | | | | | | | | | | * tests/incr.test: Don't include the text "(increment expression)" in the errorInfo generated by the compiled version of the incr command since it does not match the message generated by the non-compiled version of incr. It is also not possible to match this error output under Jacl, which does not support a compiler.
* * generic/tclExecute.c (TclExecuteByteCode): When anmdejong2003-02-064-4/+34
| | | | | | | | | | | | | error is encountered reading the increment value during a compiled call to incr, add a "(reading increment)" error string to the errorInfo variable. This makes the errorInfo variable set by the compiled incr command match the value set by the non-compiled version. * tests/incr-old.test: Change errorInfo result for the compiled incr command case to match the modified implementation. * tests/incr.test: Add tests to make sure the compiled and non-compiled errorInfo messages are the same.
* * library/tcltest/tcltest.tcl: Filename arguments to [outputChannel]dgp2003-02-063-19/+101
| | | | | | | and [errorChannel] (also -outfile and -errfile) were [open]ed but never [closed]. Also, [cleanupTests] could remove output or error files. [Bug 676978]. * library/tcltest/pkgIndex.tcl: Bumped to version 2.2.2.
* * tests/interp.test:mdejong2003-02-053-27/+35
| | | | | | | * tests/set-old.test: Run test cases that depend on hash order through lsort so that the tests also pass under Jacl. Does not change test results under Tcl.
* added regression test for recent bug fixvincentdarley2003-02-053-24/+81
|
* test suite fixes for spaces in pathsvincentdarley2003-02-042-48/+49
|
* finalization and test fixesvincentdarley2003-02-0414-147/+247
|
* Marked filesystem-7.1 as known bug.andreas_kupries2003-02-041-1/+1
|
* doc formatting fixhobbs2003-02-041-3/+3
|
* * generic/tclBasic.c: Changed [trace add command] so that 'rename' Kevin B Kenny2003-02-033-16/+44
| | | | | | | | | | callbacks get fully qualified names of the command. [Bug 651271]. ***POTENTIAL INCOMPATIBILITY*** * tests/trace.test: Modified the test cases for [trace add command] to expect fully qualified names on the 'rename' callbacks. Added a case for renaming a proc within a namespace. * doc/trace.n: Added language about use of fully qualified names in trace callbacks.
* * generic/tclCompCmds.c: Removed an unused variable that caused Kevin B Kenny2003-02-012-13/+7
| | | | compiler warnings on SGI. [Bug 664379]
* * generic/tclLoad.c: Changed the code so that if Tcl_StaticPackage Kevin B Kenny2003-02-013-79/+122
| | | | | | | | | is called to report the same package as being loaded in two interps, it shows up in [info loaded {}] in both of them (previously, it didn't appear in the static package list in the second. * tests/load.test Added regression test for the above bug. [Bug 670042]
* * generic/tclClock.c: Fixed a bug that incorrectly allowed Kevin B Kenny2003-02-013-5/+22
| | | | | | | | [clock clicks {}] and [clock clicks -] to be accepted as if they were [clock clicks -milliseconds]. * tests/clock.test: Added regression tests for the above bug. [Bug 675356]
* * tests/unixNotfy.test: Added cleanup of working files Kevin B Kenny2003-02-012-47/+84
| | | | [Bug 675609]
* 2003-02-01 Kevin Kenny <kennykb@users.sourceforge.net> Kevin B Kenny2003-02-013-16/+36
| | | | | | | | | * 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-312-3/+8
| | | | | constructed [open] command, causing failure when the pathname contained whitespace. [Bug 678415]
* * tests/tcltest.test: Cleaned up management of file/directorydgp2003-01-312-57/+82
| | | | creation/deletion to improve "-debug 1" output. [Bug 675614]
* * tests/main.test: Stopped main.test from deleting existing file.dgp2003-01-312-2/+11
| | | | Test suite should not delete files that already exist. [Bug 675660]
* * tests/main.test: Constrain tests that do not work on Windows.dgp2003-01-282-7/+11
|
* filesystem bug fix and new testvincentdarley2003-01-284-5/+220
|
* * generic/tcl.h: Add TCL_PREFIX_IDENT andmdejong2003-01-285-8/+61
| | | | | | | | | | | | | | | | | 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.
* typo corrections in comments.dgp2003-01-271-5/+7
|
* * win/README: Update msys+mingw URL to release 6.mdejong2003-01-272-4/+9
| | | | This version bundles gcc 3.
* * win/configure: Regen.mdejong2003-01-274-37/+114
| | | | | | | | * 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-265-26/+222
| | | | | | | | | | | | | | | | 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-254-125/+209
| | | | | | | | | | | | | | * 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-254-42/+76
| | | | | | | | | | | | | | | * 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-252-11/+27
| | | | | | 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.
* * win/tclWinDde.c (Dde_Init): clarified use of tsdPtr.hobbs2003-01-251-12/+5
| | | | (DdeServerProc): better refcount handling of returnPackagePtr.
* only do groups check on unixhobbs2003-01-252-5/+11
|
* Use [file dirname], not the abbreviation [file dir]dgp2003-01-241-2/+2
|
* corrected overlooked bump to version 2.2dgp2003-01-241-3/+3
|
* stringObj unicode Tcl_SetObjLength fixesvincentdarley2003-01-243-84/+151
|
* woops, missed in last commitmdejong2003-01-241-1/+2
|
* * win/configure: Regen.mdejong2003-01-244-33/+126
| | | | | | | | | | | * 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-232-15/+23
| | | | | documentation examples [SF Bug #658463] and tidied up a bit at the same time.
* Clarified documentation of [namespace inscope] [SF Patch #670110]jenglish2003-01-212-13/+16
|
* * win/configure: Regen.mdejong2003-01-213-16/+36
| | | | | | | | | * 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-192-8/+12
|
* * win/tclWinDde.c (DdeServerProc): Deallocatemdejong2003-01-182-1/+9
| | | | | the Tcl_Obj returned by ExecuteRemoteObject if it was not saved in a connection object.
* * generic/tcl.h: Revert earlier change thatmdejong2003-01-173-3/+22
| | | | | | | | | | | | 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-177-146/+367
|
* * win/tclWinSerial.c (SerialOutputProc): add casts forhobbs2003-01-162-4/+7
| | | | bytesWritten to allow strict compilation (no warnings).
* * tests/winDde.test:hobbs2003-01-163-4/+21
| | | | | | * 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-1610-66/+144
| | | | | | | | | | | | | | | | | | | | | | 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-142-2/+7
| | | | incorrectly conditionally defined savedTZEnv and savedTimeZone.
* Fix mingw build problems and compiler warnings.mdejong2003-01-146-11/+37
| | | | | | | | | | | | | | | | * 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.