summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * tests/info.test (info-37.0): Add !singleTestInterp constraint;das2008-07-251-0/+7
| | | | | | (info-22.8, info-23.0): switch to glob matching to avoid sensitivity to tcltest.tcl line number changes, remove knownBug constraint, fix expected result. [Bug 1605269]
* * tests/info.test: Tests 38.* added, exactly testing the trackingandreas_kupries2008-07-251-0/+15
| | | | | | | | | | | | | | of location for uplevel scripts. * generic/tclCompile.c (TclInitCompileEnv): Reorganized the initialization of the #280 location information to match the flow in TclEvalObjEx to get more absolute contexts. * generic/tclBasic.c (TclEvalObjEx): Moved the pure-list optimization out of the eval-direct code path to be done always, i.e. even when a compile is requested. This way we do not loose the association between #280 location information and the list elements, if any.
* * tests/info.test: Reordered the tests to have monotonouslyandreas_kupries2008-07-231-0/+3
| | | | increasing numbers.
* * generic/tclBasic.c: Modified TclArgumentGet to reject pure listsandreas_kupries2008-07-231-0/+11
| | | | | | | | | | * 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.
* * generic/tclBasic.c: Added missing function comments.andreas_kupries2008-07-221-0/+2
|
* * generic/tclCompile.c: Made the new TclEnterCmdWordIndexandreas_kupries2008-07-221-0/+3
| | | | * generic/tclCompile.h: static, and ansified.
* * generic/tclBasic.c: Reworked the handling of bytecode literalsandreas_kupries2008-07-221-0/+11
| | | | | | | | | | * 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].
* * tests/encoding.test: Make failing tests pass again. [Bug 1972867]dgp2008-07-221-0/+4
|
* * generic/tclBasic.c: Extended the existing TIP #280 system (infoandreas_kupries2008-07-211-0/+12
| | | | | | | | | | | * 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:
* Backported fix for bug #2015723patthoyts2008-07-211-0/+4
|
* Fix [Bug 2008248] and make dict->list->dict round trip efficient to boot.dkf2008-07-201-0/+9
|
* Fix error in example. [Bug 2016740]dkf2008-07-151-0/+4
|
* * generic/tclGet.c: Corrected out of date comments.dgp2008-07-081-0/+4
|
* * generic/tclCmdIL.c (InfoFrameCmd): Fixed unsafe idiom of settingandreas_kupries2008-07-071-0/+5
| | | | the interp result found by Don Porter.
* Correct examples. [Bug 1982642]dkf2008-07-071-0/+4
|
* UtfToUtfProc: Avoid unwanted sign extension when converting incomplete UTF-8jenglish2008-07-041-0/+6
| | | | sequences. See [Bug 1908443] for details.
* * generic/tclIORChan.c (InvokeTclMethod): Fixed the memory leakandreas_kupries2008-07-031-0/+6
| | | | | reported in [Bug 1987821]. Thanks to Miguel for the rpeort and Don Porter for tracking the cause down.
* * library/package.tcl: Removed [file readable] testing fromdgp2008-07-031-0/+8
| | | | | | | [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/tcl.h: Bump to 8.5.3 for release.core_8_5_3dgp2008-06-301-0/+12
| | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * doc/ObjectType.3: Updated documentation of the Tcl_ObjTypedgp2008-06-301-0/+3
| | | | struct to match expectations of Tcl 8.5 [Bug 1917650].
* * generic/tclPathObj.c: Plug memory leak in [Bug 1999176] fix. Thanksdgp2008-06-291-0/+5
| | | | Rolf Ade for detecting.
* * generic/tclPathObj.c: Plug memory leak in [Bug 1972879] fix. Thanksdgp2008-06-281-0/+5
| | | | Rolf Ade for detecting and Dan Steffen for the fix [Bug 2004654].
* * unix/Makefile.in: Followup to my change of 2008-06-25, make codeandreas_kupries2008-06-261-0/+7
| | | | | | generated by the Makefile and put into the installd tm.tcl conditional on interpreter safeness as well. Thanks to Daniel Steffen for reminding me of that code.
* Add test suite changes for 1999119 bug fix commit.dgp2008-06-251-8/+7
|
* * library/tm.tcl: Modified the handling of Tcl Modules and of theandreas_kupries2008-06-251-0/+8
| | | | | | * library/safe.tcl: Safe Base to interact nicely with each other, * library/init.tcl: enabling requiring Tcl Modules in safe interpreters. Fixes [Bug 1999119].
* * changes: Update for 8.5.3 release.dgp2008-06-251-0/+4
|
* Backported fix for dde/registry versions and the staticpkg build optionpatthoyts2008-06-251-0/+5
|
* * generic/tclPathObj.c: Fixed some internals management in the "path"dgp2008-06-241-0/+6
| | | | | Tcl_ObjType for the empty string value. Problem led to a crash in the command [glob -dir {} a]. [Bug 1999176].
* * generic/tclPathObj.c: Fixed bug in Tcl_GetTranslatedPath() whendgp2008-06-231-0/+8
| | | | | | | 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].
* another update for 8.5.3dgp2008-06-201-0/+2
|
* * generic/tclInterp.c: Fixed completely boneheaded mistake thatdgp2008-06-201-0/+10
| | | | | | | | | * tests/interp.test: [interp bgerror $slave] and [$slave bgerror] would always act like [interp bgerror {}]. [Bug 1999035]. * tests/chanio.test: Corrected flawed tests revealed by a -debug 1 * tests/event.test: -singleproc 1 test suite run. * tests/io.test:
* * changes: Updates for 8.5.3 release.dgp2008-06-191-0/+4
|
* * generic/tclClock.c (ClockConvertlocaltoutcObjCmd): Removed leftandreas_kupries2008-06-171-0/+5
| | | | over debug output.
* * doc/tm.n: Followup to changelog entry 2008-03-18 regardingandreas_kupries2008-06-171-0/+7
| | | | | | ::tcl::tm::Defaults. Updated the documentation to not only mention the new (underscored) form of environment variable names, but make it the encouraged form as well. See [Bug 1914604].
* 2006-06-17 Kevin Kenny <kennykb@acm.org>Kevin B Kenny2008-06-171-0/+9
| | | | | | | | | * generic/tclClock.c (ConvertLocalToUTC): * tests/clock.test (clock-63.1): Fixed a bug where the internal ConvertLocalToUTC command segfaulted if passed a dictionary without the 'localSeconds' key. To the best of my knowledge, the bug was not observable in the [clock] command itself.
* * generic/tclCmdIL.c (TclInfoFrame): Backport of fix made on theandreas_kupries2008-06-161-0/+10
| | | | | | | | | * 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].
* * unix/Makefile.in: add complete deps on tclDTrace.h.das2008-06-121-2/+4
|
* s/target/config/das2008-06-121-2/+2
|
* * unix/Makefile.in: clean generated tclDTrace.h file.das2008-06-121-0/+14
|
* (io-53.9): need to close chan before removing filehobbs2008-05-261-0/+4
|
* * win/tclWinChan.c (FileWideSeekProc): Accepted a patch byandreas_kupries2008-05-231-0/+13
| | | | | | | | | | | | 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> * tests/chanio.test: to fix the [Bug 1969953]. Buffersize outside of the supported range are now clipped to nearest boundary instead of ignored.
* * generic/tclNamesp.c (Tcl_LogCommandInfo): Restored ability todgp2008-05-221-0/+6
| | | | | handle the argument value length = -1. Thanks to Chris Darroch for discovering the bug and providing the fix. [Bug 1968245].
* * generic/tclParse.c (ParseComment): The new TclParseAllWhiteSpace()dgp2008-05-211-0/+8
| | | | | | | * tests/parse.test (parse-15.60): routine has no mechanism to return the "incomplete" status of "\\\n" so calling this routine anywhere that can be reached within a Tcl_ParseCommand() call is a mistake. In particular, ParseComment() must not use it. [Bug 1968882].
* Backport of fixes to Tcl_SetNamespaceUnknownHandlerdkf2008-05-211-0/+6
|
* * generic/tclCompile.c: fix crash with tcl_traceExec. Found andMiguel Sofer2008-05-161-0/+5
| | | | fixed by Alexander Pasadyn [Bug 1964803].
* Fix off-by-one error that caused crashes. Backport from HEAD.dkf2008-05-071-12/+19
|
* Also, panic early if we find out the wrong thread attemptingvasiljevic2008-04-271-0/+4
| | | | | to delete the async handler (common trap). As, only the one that created the handler is allowed to delete it.
* generic/tclAsync.c: Tcl_AsyncDelete(): panic if attemptvasiljevic2008-04-271-0/+6
| | | | | to locate handler token fails. Happens when some other thread attempts to delete somebody else's token.
* * tests/ioCmd.test: Extended testsuite for reflected channelandreas_kupries2008-04-241-0/+11
| | | | | | | | | | implementation. Added test cases about how it handles if the rug is pulled out from under a channel (= killing threads, interpreters containing the tcl command for a channel, and channel sitting in a different interpreter/thread.) * generic/tclIORChan.c: Fixed the bugs exposed by the new testcases, redone most of the cleanup and exit handling.
* * generic/tclIO.c (CopyData): Applied another patch by Alexandreandreas_kupries2008-04-151-0/+8
| | | | | | | * io.test (io-53.8a): Ferrieux <ferrieux@users.sourceforge.net>, * chanio.test (chan-io-53.8a): 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.