summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * tests/info.test: Add !singleTestInterp constraint to various tests;das2008-07-252-27/+33
| | | | | (info-22.8, info-23.0): switch to glob matching to avoid sensitivity to tcltest.tcl line number changes. [Bug 1605269]
* * tests/info.test: Tests 38.* added, exactly testing the trackingandreas_kupries2008-07-242-1/+91
| | | | of location for uplevel scripts.
* Contrain the new test to run only when tip280 is active.andreas_kupries2008-07-231-2/+2
|
* * generic/tclBasic.c: Modified TclArgumentGet to reject pure listsandreas_kupries2008-07-235-33/+79
| | | | | | | | | | * generic/tclCmdIL.c: immediately, without search. Reworked setup * generic/tclCompile.c: of eoFramePtr, doesn't need the line * tests/info.test: information, more sensible to have everything on line 1 when eval'ing a pure list. Updated the users of the line information to special case this based on the frame type (i.e. TCL_LOCATION_EVAL_LIST). Added a testcase demonstrating the new behaviour.
* Fixed the failure to link in the default (non-TCL_TIP280) build.dgp2008-07-231-1/+3
|
* * generic/tclBasic.c: Added missing function comments.andreas_kupries2008-07-222-3/+44
|
* * generic/tclCompile.c: Made the new TclEnterCmdWordIndexandreas_kupries2008-07-223-11/+14
| | | | * generic/tclCompile.h: static.
* * generic/tclBasic.c: Reworked the handling of bytecode literalsandreas_kupries2008-07-226-59/+169
| | | | | | | | | | * generic/tclCompile.c: for #280 to fix the abysmal performance * generic/tclCompile.h: for deep recursion, replaced the linear * generic/tclExecute.c: search through the whole stack with * generic/tclInt.h: another hashtable and simplified the data structure used by the compiler (array instead of hashtable). Incidentially this also fixes the memory leak reported via [Bug 2024937].
* * generic/tclBasic.c: Extended the existing TIP #280 system (infoandreas_kupries2008-07-2110-56/+391
| | | | | | | | | | | * generic/tclCmdAH.c: frame), added the ability to track the * generic/tclCompCmds.c: absolute location of literal procedure * generic/tclCompile.c: arguments, and making this information * generic/tclCompile.h: available to uplevel, eval, and * generic/tclInterp.c: siblings. This allows proper tracking of * generic/tclInt.h: absolute location through custom (Tcl-coded) * generic/tclNamesp.c: control structures based on uplevel, etc. * generic/tclProc.c:
* * generic/tclCmdIL.c (InfoFrameCmd): Fixed unsafe idiom of settingandreas_kupries2008-07-072-2/+7
| | | | the interp result found by Don Porter.
* UtfToUtfProc: Avoid unwanted sign extension when converting incomplete UTF-8jenglish2008-07-042-3/+9
| | | | sequences. See [Bug 1908443] for details.
* * library/package.tcl: Removed [file readable] testing fromdgp2008-07-032-13/+42
| | | | | | | [tclPkgUnknown] and friends. We find out soon enough whether a file is readable when we try to [source] it, and not testing before allows us to workaround the bugs on some common filesystems where [file readable] lies to us. [Patch 1969717]
* * generic/tclIOUtil.c: Plug memory leak in latest commit. Thanksdgp2008-06-282-3/+13
| | | | Rolf Ade for detecting and Dan Steffen for the fix [Bug 2004654].
* formattingdgp2008-06-231-2/+2
|
* * generic/tclIOUtil.c: Fixed bug in Tcl_GetTranslatedPath() whendgp2008-06-232-2/+19
| | | | | | | operating on the "Special path" variant of the "path" Tcl_ObjType intrep. A full normalization was getting done, in particular, coercing relative paths to absolute, contrary to what the function of producing the "translated path" is supposed to do. [Bug 1972879].
* * tests/binary.test: Corrected flawed tests revealed by a -debug 1dgp2008-06-203-10/+9
| | | | * tests/io.test: -singleproc 1 test suite run.
* * generic/tclParseExpr.c: Disabled attempts to support [expr]dgp2008-06-182-2/+14
| | | | | functions named eq(...) or ne(...). Any attempts to use such functions were panicking. [Bug 1971879].
* * generic/tclCmdIL.c (InfoFrameCmd): Backport of fix made on theandreas_kupries2008-06-163-41/+55
| | | | | | | | | * tests/info.test: head branch :: Moved the code looking up the information for key 'proc' out of the TCL_LOCATION_BC branch to after the switch, this is common to all frame types. Updated the testsuite to match. This was exposed by the 2008-06-08 commit (Miguel), switching uplevel from direct eval to compilation. Fixes [Bug 1987851].
* * generic/tclCmdIL.c (InfoFrameCmd): TIP #280 conditionalandreas_kupries2008-06-122-9/+25
| | | | | | feature. Added checks to validate HashEntry and HashTable information gotten from Command structures. This seems to be needed to handle structures managed by Itcl.
* * unix/Makefile.in: add complete deps on tclDTrace.h.das2008-06-122-6/+8
|
* autoconf-2.13das2008-06-121-307/+308
|
* duh, fix missing 'fi', thanks aku!das2008-06-121-1/+2
|
* * unix/Makefile.in: clean generated tclDTrace.h file.das2008-06-122-2/+10
|
* * unix/configure: autoconf-2.13das2008-06-121-348/+354
|
* * unix/configure.in: fix static DTrace-enabled build on Solaris.das2008-06-121-1/+10
|
* * unix/tcl.m4 (SunOS-5.11): fix 64bit amd64 support with gcc & Sun cc.das2008-06-121-14/+30
|
* reduce reg-33.14 space used to prevent stack segfaulthobbs2008-05-261-2/+2
|
* * tests/io.test (io-53.9): need to close chan before removing file.hobbs2008-05-262-1/+6
|
* * win/tclWinChan.c (FileWideSeekProc): Accepted a patch byandreas_kupries2008-05-234-16/+28
| | | | | | | | | | | Alexandre Ferrieux <ferrieux@users.sourceforge.net> to fix the [Bug 1965787]. 'tell' now works for locations > 2 GB as well instead of going negative. * generic/tclIO.c (Tcl_SetChannelBufferSize): Accepted a patch by * tests/io.test: Alexandre Ferrieux <ferrieux@users.sourceforge.net> to fix the [Bug 1969953]. Buffersize outside of the supported range are now clipped to nearest boundary instead of ignored.
* Also, panic early if we find out the wrong thread attemptingvasiljevic2008-04-272-1/+13
| | | | | to delete the async handler (common trap). As, only the one that created the handler is allowed to delete it.
* Oooops... wrong year in the log timestamp?vasiljevic2008-04-261-1/+1
|
* generic/tclAsync.c: Tcl_AsyncDelete(): panic if attemptvasiljevic2008-04-262-18/+32
| | | | | to locate handler token fails. Happens when some other thread attempts to delete somebody else's token.
* bump release tagcore_8_4_19dgp2008-04-171-2/+2
|
* style revisions to latest commitdgp2008-04-174-13/+10
|
* * generic/tclCompExpr.c (CompileMathFuncCall): Addedandreas_kupries2008-04-173-2/+17
| | | | | | | * tests/compile.test (compile-16.0): Tcl_ResetResult before appending error message, to clear out possible sharing. Added test case demonstrating the crash (abort on shared object) without the fix.
* bump release tagdgp2008-04-151-2/+2
|
* * generic/tclIO.c (CopyData): Applied another patch by Alexandreandreas_kupries2008-04-154-8/+60
| | | | | | | * io.test (io-53.8a): Ferrieux <ferrieux@users.sourceforge.net>, to shift EOF handling to the async part of the command if a callback is specified, should the channel be at EOF already when fcopy is called. Testcase by myself.
* bump release tagdgp2008-04-141-2/+2
|
* * unix/tclUnixTime.c (TclpGetClicks, Tcl_GetTime): RemovedKevin B Kenny2008-04-142-5/+9
| | | | | obsolete use of 'struct timezone' in the call to 'gettimeofday'. [Bug 1942197].
* * generic/tclExecute.c: Plug memory leak introduced in thedgp2008-04-142-2/+8
| | | | 2008-03-07 commit. [Bug 1940433]
* * README: Bump version number to 8.4.19dgp2008-04-1111-26/+85
| | | | | | | | | | | | | | * generic/tcl.h: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf-2.13 * win/configure: * changes: updates for 8.4.19 release.
* * generic/tclIOCmd.c (Tcl_FcopyObjCmd): Keeping check for negativeandreas_kupries2008-04-104-23/+58
| | | | | | | | | | | values, changed to not be an error, but behave like the special value -1 (copy all, default). * tests/iocmd.test (iocmd-15.{12,13}): Removed. * tests/io.test (io-52.5{,a,b}): Reverted last change, added comment regarding the meaning of -1, added two more testcases for other negative values, and input wrapped to negative.
* * tests/io.test (io-52.5): Removed '-size -1' from test, does notandreas_kupries2008-04-092-2/+7
| | | | | | seem to have any bearing, and was an illegal value. Test case is not affected by the value of -size, test flag restoration and that everything was properly copied.
* * generic/tclIOCmd.c (Tcl_FcopyObjCmd): Added checking of -sizeandreas_kupries2008-04-093-2/+31
| | | | | | | | * tests/ioCmd.test (iocmd-15.{13,14}): value to reject negative values, and values overflowing 32-bit signed. [Bug 1557855]. Basic patch by Alexandre Ferrieux <ferrieux@users.sourceforge.net>, with modifications from me to separate overflow from true negative value. Extended testsuite.
* * tests/io.test (io-53.8,53.9,53.10): Backported das' fix of typoandreas_kupries2008-04-082-4/+9
| | | | and quoting for spaces in builddir path.
* * tests/io.test (io-53.10): Testcase for bi-directionaly fcopy.andreas_kupries2008-04-074-30/+119
| | | | | | | * generic/tclIO.c: Additional changes to data structures for fcopy * generic/tclIO.h: and channels to perform proper cleanup in case of a channel having two background copy operations running as is now possible.
* Added forgotten reference to [Bug 1350564] in last entry.andreas_kupries2008-04-071-2/+3
|
* * generic/tclIO.c (BUSY_STATE, CheckChannelErrors,andreas_kupries2008-04-073-5/+22
| | | | | | | | | | | TclCopyChannel): New macro, and the places using it. This change allows for bi-directional fcopy on channels. Thanks to Alexandre Ferrieux <ferrieux@users.sourceforge.net> for the patch. * tests/io.test (io-53.9): Made test cleanup robust against the possibility of slow process shutdown on Windows. Backported from Kevin Kenny's change to the same test on the 8.5 and head branches.
* * tests/io.test (io-53.9): Added testcase for [Bug 780533], basedandreas_kupries2008-04-042-3/+57
| | | | | on Alexandre's test script. Also fixed problem with timer in preceding test, was not canceled properly in the ok case.
* * generic/tclIO.c (CopyData): Applied patch [Bug 1932639] toandreas_kupries2008-04-033-14/+76
| | | | | | * tests/io.test: prevent fcopy from calling -command synchronously the first time. Thanks to Alexandre Ferrieux <ferrieux@users.sourceforge.net> for report and patch.