Share

Tcl

File Release Notes and Changelog

Release Name: 8.6a3

Notes:
Tcl/Tk 8.6a3 Release Announcement
October 10, 2008

The Tcl Core Team is pleased to announce the 8.6a3 releases of the Tcl
dynamic language and the Tk toolkit.  This is the third alpha release
of Tcl/Tk 8.6.  More details can be found below.  We would like to
express our gratitude to all those who submit bug reports and patches.
This information is invaluable in enabling us to identify and eliminate
problems in the core.

Where to get the new releases:
------------------------------

Tcl/Tk 8.6a3 sources are freely available as open source from the
Tcl Developer Xchange web site at:

        http://www.tcl.tk/software/tcltk/8.6.html

This web page also contains additional information about the releases,
including new features and notes about installing and compiling the
releases.  Sources are always available from the Tcl SourceForge
project's file distribution area:

        http://sourceforge.net/project/showfiles.php?group_id=10894

Binaries for most major platforms are available from:

        http://www.activestate.com/Tcl

For additional information:
---------------------------

Please visit the Tcl Developer Xchange web site:

        http://www.tcl.tk/

This site contains a variety of information about Tcl/Tk in general, the
core Tcl and Tk distributions, Tcl development tools, and much more.

Summary of Changes since Tcl/Tk 8.6a2:
--------------------------------------

The following were the main changes in Tcl/Tk 8.6a3.  A complete list
can be found in the changes file at the root of the source tree.  The
more complete ChangeLog is also included with each source release.

This release is the third alpha release of 8.6.  The alpha moniker means
that it is in feature addition mode.  All bug fixes (and some more) up
to and including 8.5.5 changes are included in 8.6a3.  The following
list focuses on new features added so far in 8.6.  This release is a
development release, and should only be considered for deployment use
after considerable testing.

   * [TIP 328] New commands: [coroutine], [yield], [info coroutine].

   * [TIP 327] New command: [tailcall].

   * [TIP 195] New command: [tcl::prefix].

   * [TIP 320] New subcommand: [oo::define $class variable].

   * [TIP 236] New subcommand: [$canvas moveto].

   * [TIP 313] New option: [lsearch -bisect].

   * [TIP 326] New option: [lsort -stride].

   * [TIP 314] New option: [namespace ensemble create -parameters].

   * [TIP 331] New support: [lset listVar end+1 $value].

   * [TIP 318] Revised default whitespace character set for [string trim].
        *** POTENTIAL INCOMPATIBILITY ***

   * [TIP 323] Many variadic commands now accept zero arguments.

   * [TIP 315] New variable: tcl_platform(pathSeparator).

   * [TIP 265] New utility routine: Tcl_ParseArgv().

   * [TIP 316] Portable C interface to Tcl_StatBuf fields.

   * [TIP 330] Stronger barrier to interp->result access.  Stop it!
        *** POTENTIAL INCOMPATIBILITY ***

   * [TIP 27] Several more CONST-ified C interfaces.
        *** POTENTIAL INCOMPATIBILITY; Use -DCONST86 to disable ***

   * Fixed several bugs in new OO facilities.

   * Fixed several bugs in the new non-recursive evaluation engine.

   * Support for pre-ANSI compilers via _ANSI_ARGS_ removed.

--
Tcl Core Team and Maintainers
Don Porter, Tcl Core Release Manager


Changes: **** TCL **** 2008-10-10 Don Porter <dgp@users.sourceforge.net> *** 8.6a3 TAGGED FOR RELEASE *** * changes: Updates for 8.6a3 release. 2008-10-10 Donal K. Fellows <dkf@users.sf.net> * generic/tclOODefineCmds.c (TclOODefineUnexportObjCmd) (TclOODefineExportObjCmd): Corrected export/unexport record synthesis. [Bug 2155658] 2008-10-08 Jan Nijtmans <nijtmans@users.sf.net> * unix/tclUnixChan.c: Fix minor compiler warning. * unix/tcl.m4: Fix for [Bug 2073255] * unix/configure: Regenerated 2008-10-08 Miguel Sofer <msofer@users.sf.net> * generic/tclBasic (TclInfoCoroutineCmd): * tests/unsupported.test: Arrange for [info coroutine] to return {} when a coroutine is running but the resume command has been deleted. [Bug 2153080] 2008-10-08 Don Porter <dgp@users.sourceforge.net> * generic/tclTrace.c: Corrected handling of errors returned by variable traces so that the errorInfo value contains the original error message. [Bug 2151707] * generic/tclVar.c: Revised implementation of TclObjVarErrMsg so that error message construction does not disturb an existing iPtr->errorInfo that may be in progress. 2008-10-07 Donal K. Fellows <dkf@users.sf.net> * doc/binary.n: Added better documentation of the [binary encode] and [binary decode] subcommands. 2008-10-07 Miguel Sofer <msofer@users.sf.net> TIP #327,#328 IMPLEMENTATIONS * generic/tclBasic.c: Move [tailcall], [coroutine] and * generic/tclCmdIL.c: [yield] out of ::tcl::unsupported * tclInt.h: * tests/info.test: and into global scope: TIPs #327 * tests/unsupported.test: and #328 2008-10-07 Donal K. Fellows <dkf@users.sf.net> * doc/chan.n, doc/transchan.n: Documented the channel transformation API of TIP #230. 2008-10-06 Pat Thoyts <patthoyts@users.sourceforge.net> * tests/winFCmd.test: Fixed some erroneous tests on Vista+. * generic/tclFCmd.c: Fix constness for msvc of last commit 2008-10-06 Joe Mistachkin <joe@mistachkin.com> * tools/man2tcl.c: Added missing line from patch by Harald Oehlmann. [Bug 1934200] 2008-10-05 Jan Nijtmans <nijtmans@users.sf.net> * doc/FileSystem.3: CONSTified Tcl_FSFileAttrStringsProc * generic/tclFCmd.c: and tclpFileAttrStrings. This allows * generic/tclIOUtil.c: FileSystems to report their attributes * generic/tclTest.c: as const strings, without worrying that * unix/tclUnixFCmd.c: Tcl modifies them (which Tcl should not * win/tclWinFCmd.c: do anyway, but the API didn't indicate that) * generic/tcl.decls * generic/tclDecls.h: regenerated * generic/tcl.h: Make sure that if CONST84 is defined as empty, CONST86 should be defined as empty as well (unless overridden). This change complies with TIP #27 *** POTENTIAL INCOMPATIBILITY *** 2008-10-05 Kevin B, Kenny <kennykb@acm.org> * libtommath/bn_mp_sqrt.c (bn_mp_sqrt): Handle the case where a * tests/expr.test (expr-47.13): number's square root is between n<<DIGIT_BIT and n<<DIGIT_BIT+1. [Bug 2143288] Thanks to Malcolm Boffey (malcolm.boffey@virgin.net) for the patch. TIP #331 IMPLEMENTATION * doc/lset.n: * generic/tclListObj.c (TclLsetFlat): * tests/lset.test: Modified the [lset] command so that it allows for an index of 'end+1', which has the effect of appending an element to the list. 2008-10-05 Jan Nijtmans <nijtmans@users.sf.net> * generic/tclInt.decls: CONSTified the AuxDataType argument * generic/tclCompCmds.c: of TclCreateAuxData and * generic/tclCompile.c TclRegisterAuxDataType and the return * generic/tclCompile.h values of TclGetAuxDataType and * generic/tclExecute.c TclGetInstructionTable * generic/tclIntDecls.h: regenerated This change complies with TIP #27 (even though it only involves internal function, so this is not even necessary). 2008-10-05 Donal K. Fellows <dkf@users.sf.net> * generic/tclIndexObj.c (TclInitPrefixCmd): Make the [tcl::prefix] into an exported command. [Bug 2144595] 2008-10-04 Donal K. Fellows <dkf@users.sf.net> * generic/tclCmdIL.c (InfoFrameCmd): Improved hygiene of result * generic/tclRegexp.c (TclRegAbout): handling. 2008-10-04 Jan Nijtmans <nijtmans@users.sf.net> * generic/tclLoad.c: Make sure that any library which doesn't have an unloadproc is only really unloaded when no library code is executed yet. [Bug 2059262] 2008-10-04 Donal K. Fellows <dkf@users.sf.net> * generic/tclOOInfo.c (GetClassFromObj): Factor out the code to parse a Tcl_Obj and get a class. Also make result handling hygienic. * generic/tclOOBasic.c (TclOOSelfObjCmd): Better hygiene of results, and stop allocating quite so much memory by sharing special "method" names. 2008-10-04 Jan Nijtmans <nijtmans@users.sf.net> * doc/ChnlStack.3: CONSTified the typePtr argument * doc/CrtChannel.3: of Tcl_CreateChannel and Tcl_StackChannel * generic/tcl.decls: and the return value of Tcl_GetChannelType * generic/tcl.h * generic/tclIO.h * generic/tclIO.c * generic/tclDecls.h: regenerated This change complies with TIP #27. * doc/Hash.3: CONSTified the typePtr argument * generic/tcl.decls: of Tcl_InitCustomHashTable. * generic/tcl.h * generic/tclHash.c * generic/tclDecls.h: regenerated This change complies with TIP #27. * doc/RegConfig.3: CONSTified the configuration argument * generic/tcl.decls: of Tcl_RegisterConfig. * generic/tcl.h * generic/tclConfig.c * generic/tclPkgConfig.c * generic/tclDecls.h: regenerated This change complies with TIP #27. * doc/GetIndex.3: CONSTified the tablePtr argument * generic/tcl.decls: of Tcl_GetIndexFromObj. * generic/tclIndexObj.c * generic/tclDecls.h: regenerated This change complies with TIP #27. 2008-10-03 Miguel Sofer <msofer@users.sf.net> * tests/stack.test: * unix/tclUnixTest.c: Removed test command teststacklimit and the corresponding constraint: it is not needed with NRE 2008-10-03 Donal K. Fellows <dkf@users.sf.net> TIP #195 IMPLEMENTATION * generic/tclIndexObj.c (TclGetIndexFromObjList, PrefixMatchObjCmd) * doc/prefix.n, tests/string.test: Added [tcl::prefix] command for working with prefixes of strings at the Tcl level. [Patch 1040206] TIP #265 IMPLEMENTATION * generic/tclIndexObj.c (Tcl_ParseArgsObjv, PrintUsage): * generic/tcl.h (Tcl_ArgvInfo): Added function for simple parsing of * doc/ParseArgs.3 (new file): optional arguments to commands. Still needs tests and the like. [FRQ 1446696] Note that some of the type signatures are changed a bit from the proposed implementation so that they better reflect codified good practice for argument order. 2008-10-02 Andreas Kupries <andreask@activestate.com> * tests/info.test (info-23.3): Updated output of the test to handle the NRE-enabled eval and the proper propagation of location information through it. [Bug 2017632] * doc/info.n: Rephrased the documentation of 'info frame' for positive numbers as level argument. [Bug 2134049] * tests/info.test (info-22.8): Made pattern for file containing tcltest less specific to accept both .tcl and .tm variants of the file during matching. [Bug 2129828] 2008-10-02 Don Porter <dgp@users.sourceforge.net> TIP #330 IMPLEMENTATION * generic/tcl.h: Remove the "result" and "freeProc" fields * generic/tclBasic.c: from the default public declaration of the * generic/tclResult.c: Tcl_Interp struct. Code should no longer * generic/tclStubLib.c: be accessing these fields. Access can be * generic/tclTest.c: restored by defining USE_INTERP_RESULT, but * generic/tclUtil.c: that should only be a temporary migration aid. *** POTENTIAL INCOMPATIBILITY *** 2008-10-02 Joe Mistachkin <joe@mistachkin.com> * doc/info.n: Fix unmatched font change. * doc/tclvars.n: Fix unmatched font change. * doc/variable.n: Fix unmatched font change. * tools/man2help2.tcl: Integrated patch from Harald Oehlmann. [Bug 1934272] * tools/man2tcl.c: Increase MAX_LINE_SIZE to fix "Too long line" error. * win/buildall.vc.bat: Prefer the HtmlHelp target over the WinHelp target. [Bug 2072891] * win/makefile.vc: Fix the HtmlHelp and WinHelp targets to not be mutually exclusive. 2008-09-29 Don Porter <dgp@users.sourceforge.net> TIP #323 IMPLEMENTATION (partial) * doc/glob.n: Revise [glob] to accept zero patterns. * generic/tclFileName.c: * tests fileName.test: * doc/linsert.n: Revise [linsert] to accept zero elements. * generic/tclCmdIL.c: * tests/linsert.test: 2008-09-29 Donal K. Fellows <dkf@users.sf.net> TIP #326 IMPLEMENTATION * generic/tclCmdIL.c (Tcl_LsortObjCmd): Added -stride option to carry * doc/lsort.n, tests/cmdIL.test: out sorting of lists where the elements are grouped. Adapted from [Patch 2082681] TIP #313 IMPLEMENTATION * generic/tclCmdIL.c (Tcl_LsearchObjCmd): Added -bisect option to * doc/lsearch.n, tests/lsearch.test: allow the finding of the place to insert an element in a sorted list when that element is not already there. [Patch 1894241] TIP #318 IMPLEMENTATION * generic/tclCmdMZ.c (StringTrimCmd,StringTrimLCmd,StringTrimRCmd): Update the default set of trimmed characters to include some from the larger UNICODE space. Factor out the default trim set into a macro so that it is easier to keep them in synch. 2008-09-28 Donal K. Fellows <dkf@users.sf.net> TIP #314 IMPLEMENTATION * generic/tclCompCmds.c (TclCompileEnsemble) * generic/tclNamesp.c (NamespaceEnsembleCmd) (Tcl_SetEnsembleParameterList, Tcl_GetEnsembleParameterList) (NsEnsembleImplementationCmdNR): * generic/tcl.decls, doc/Ensemble.3, doc/namespace.n * tests/namespace.test: Allow the handling of a (fixed) number of formal parameters between an ensemble's command and subcommand at invokation time. [Patch 1901783] 2008-09-28 Miguel Sofer <msofer@users.sf.net> * generic/tclBasic.c: Fix the numLevels computations on * generic/tclInt.h: coroutine yield/resume * tests/unsupported.test: 2008-09-27 Donal K. Fellows <dkf@users.sf.net> * generic/tclFileName.c (Tcl_GetBlock*FromStat): Made this work acceptably when working with OSes that don't support reporting the block size from the stat() call. [Bug 2130726] * generic/tclCmdIL.c (Tcl_LrepeatObjCmd): Improve the handling of the case where the combination of number of elements and repeat count causes the resulting list to be too large. [Bug 2130992] 2008-09-26 Don Porter <dgp@users.sourceforge.net> TIP #323 IMPLEMENTATION (partial) * doc/lrepeat.n: Revise [lrepeat] to accept both zero * generic/tclCmdIL.c: repetitions and zero elements to be repeated. * tests/lrepeat.test: * doc/object.n: Revise standard oo method [my variable] to * generic/tclOOBasic.c: accept zero variable names. * tests/oo.test: * doc/tm.n: Revise [tcl::tm::path add] and * library/tm.tcl: [tcl::tm::path remove] to accept zero paths. * tests/tm.test: * doc/namespace.n: Revise [namespace upvar] to accept zero * generic/tclNamesp.c: variable names. * tests/upvar.test: * doc/lassign.n: Revise [lassign] to accept zero variable names. * generic/tclCmdIL.c: * tests/cmdIL.test: 2008-09-26 Donal K. Fellows <dkf@users.sf.net> * generic/tclOO.h (TCLOO_VERSION): Bump the version. 2008-09-25 Don Porter <dgp@users.sourceforge.net> TIP #323 IMPLEMENTATION (partial) * doc/global.n: Revise [global] to accept zero variable names. * doc/variable.n: Revise [variable] likewise. * generic/tclVar.c: * tests/proc-old.test: * tests/var.test: * doc/global.n: Correct false claim about [info locals]. 2008-09-25 Donal K. Fellows <dkf@users.sf.net> TIP #315 IMPLEMENTATION * tests/platform.test: Update tests to expect revised results * tests/safe.test: corresponding to the TIP 315 change. * unix/tclUnixInit.c, win/tclWinInit.c (TclpSetVariables): * doc/tclvars.n (tcl_platform): Define what character is used for separating PATH-like lists. Forms part of the tcl_platform array. * generic/tclOOCall.c (InitCallChain, IsStillValid): * tests/oo.test (oo-25.2): Revise call chain cache management so that it takes into account class-wide caching correctly. [Bug 2120903] 2008-09-24 Don Porter <dgp@users.sourceforge.net> TIP #323 IMPLEMENTATION (partial) * doc/file.n: Revise [file delete] and [file mkdir] to * generic/tclCmdAH.c: accept zero "pathname" arguments (the * generic/tclFCmd.c: no-op case). * tests/cmdAH.test: * tests/fCmd.test: 2008-09-24 Donal K. Fellows <dkf@users.sf.net> * generic/tclOOMethod.c (DBPRINT): Remove obsolete debugging macro. [Bug 2124814] TIP #316 IMPLEMENTATION * generic/tcl.decls, generic/tclFileName.c (Tcl_GetSizeFromStat, etc): * doc/FileSystem.3: Added reader functions for Tcl_StatBuf. 2008-09-23 Donal K. Fellows <dkf@users.sf.net> * doc/Method.3: Corrected documentation. [Patch 2082450] * doc/lreverse.n, mathop.n, regexp.n, regsub.n: Make sure that the initial line of the manpage includes nothing that chokes old versions of man. [Bug 2118123] 2008-09-22 Donal K. Fellows <dkf@users.sf.net> TIP #320 IMPLEMENTATION * generic/tclOODefineCmds.c (TclOODefineVariablesObjCmd): * generic/tclOOInfo.c (InfoObjectVariablesCmd, InfoClassVariablesCmd): * generic/tclOOMethod.c (TclOOSetupVariableResolver, etc): * doc/define.n, doc/ooInfo.n, benchmarks/cps.tcl: * tests/oo.test (oo-26.*): Allow the declaration of the common variables used in methods of a class or object. These are then mapped in using a variable resolver. This makes many class declarations much simpler overall, encourages good usage of variable names, and also boosts speed a bit. * generic/tclOOMethod.c (TclOOGetMethodBody): Factor out the code to get the body of a procedure-like method. Reduces the amount of "poking inside the abstraction" that is done by the introspection code. 2008-09-22 Alexandre Ferrieux <ferrieux@users.sourceforge.net> * doc/chan.n: Clean up paragraph order. 2008-09-18 Miguel Sofer <msofer@users.sf.net> * generic/tclExecute.c (NEXT_INST_F): * generic/tclInt.h (TCL_CT_ASSERT): New compile-time assertions, adapted from www.pixelbeat.org/programming/gcc/static_assert.html 2008-09-17 Don Porter <dgp@users.sourceforge.net> * generic/tclInt.h: Correct the TclGetLongFromObj, TclGetIntFromObj, and TclGetIntForIndexM macros so that they retrieve the longValue field from the internalRep instead of casting the otherValuePtr field to type long. 2008-09-17 Miguel Sofer <msofer@users.sf.net> * library/init.tcl: export min and max commands from the mathfunc namespace. [Bug 2116053] 2008-09-16 Joe Mistachkin <joe@mistachkin.com> * generic/tclParse.c: Move TclResetCancellation to be called on returning to level 0, as opposed to it being called on starting a substitution at level 0. 2008-09-16 Miguel Sofer <msofer@users.sf.net> * generic/tclBasic.c: Move TclResetCancellation to be called on returning to level 0, as opposed to it being called on starting a command at level 0. Add a call on returning via Tcl_EvalObjEx to fix [Bug 2114165]. 2008-09-10 Donal K. Fellows <dkf@users.sf.net> * doc/binary.n: Added partial documentation of [binary encode] and [binary decode]. * tests/binary.test,cmdAH.test,cmdIL.test,cmdMZ.test,fileSystem.test: More use of tcltest2 to simplify the tests as exposed to people. * tests/compile.test (compile-18.*): Added *some* tests of the disassmbler, though not of its output format. 2008-09-10 Miguel Sofer <msofer@users.sf.net> * tests/nre.test: Add missing constraints; enable test of foreach recursion. * generic/tclBasic.c: * generic/tclCompile.h: * generic/tclExecute.c (INST_EVAL_STK): Wrong numLevels when evaling a canonical list. [Bug 2102930] 2008-09-10 Donal K. Fellows <dkf@users.sf.net> * generic/tclListObj.c (Tcl_ListObjGetElements): Make this list->dict transformation - encountered when using [foreach] with dicts - not as expensive as it was before. Spotted by Kieran Elby and reported on tcl-core. 2008-09-08 Donal K. Fellows <dkf@users.sf.net> * tests/append.test, appendComp.test, cmdAH.test: Use the powers of tcltest2 to make these files simpler. 2008-09-07 Miguel Sofer <msofer@users.sf.net> * generic/tclCompile.c (TclCompileTokens): * generic/tclExecute.c (CompileExprObj): Fix a perf bug (found by Alex Ferrieux) where some variables in the LVT where not being accessed by index. Fix missing localCache management in compiled expressions found while analyzing the bug. 2008-09-07 Miguel Sofer <msofer@users.sf.net> * doc/namespace.n: Fix [Bug 2098441] 2008-09-04 Miguel Sofer <msofer@users.sf.net> * generic/tclTrace.test (TraceVarProc): * generic/unsupported.test: Insure that unset traces are run even when the coroutine is unwinding. [Bug 2093947] * generic/tclExecute.c (CACHE_STACK_INFO): * tests/unsupported.test: Restore execEnv's bottomPtr. [Bug 2093188] 2008-09-02 Don Porter <dgp@users.sourceforge.net> * generic/tcl.h: Stripped "callers" of the _ANSI_ARGS_ macro * compat/dirent2.h: to support a TCL_NO_DEPRECATED build. * compat/dlfcn.h: * unix/tclUnixPort.h: * generic/tcl.h: Removed the conditional #define of _ANSI_ARGS_ that would support pre-prototype C compilers. Since _ANSI_ARGS_ is no longer used in tclDecls.h, it's clear no one compiling against Tcl 8.5 headers is making use of a -DNO_PROTOTYPES configuration. 2008-09-02 Donal K. Fellows <dkf@users.sf.net> * tests/socket.test: Rewrote so as to use tcltest2 better. 2008-09-01 Miguel Sofer <msofer@users.sf.net> * generic/tclCmdAH.c: NRE-enabling [eval]; eval scripts are now * generic/tclOOBasic.c: bytecompiled. Adapted recursion limit tests * tests/interp.test: that were relying on eval not being * tests/nre.test: compiled. Part of the [Bug 2017632] project. * tests/unsupported.test: 2008-09-01 Donal K. Fellows <dkf@users.sf.net> * generic/tclOOMethod.c (InvokeProcedureMethod): * generic/tclOO.c (ObjectRenamedTrace): Arrange for only methods that involve callbacks into the Tcl interpreter to be skipped when the interpreter is being torn down. Allows the semantics of destructors in a dying interpreter to be more useful when they're implemented in C. 2008-08-29 Donal K. Fellows <dkf@users.sf.net> * unix/Makefile.in: Ensure that all TclOO headers get installed. * win/Makefile.in: [Bug 2082299] * win/makefile.bc: * win/makefile.vc: 2008-08-28 Don Porter <dgp@users.sourceforge.net> * README: Bump version number to 8.6a3 * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: 2008-08-27 Donal K. Fellows <dkf@users.sf.net> * doc/tclvars.n, doc/library.n: Ensured that these two manual pages properly cross-reference each other. Issue reported on Tcler's Chat. 2008-08-26 Miguel Sofer <msofer@users.sf.net> * generic/tclBasic.c (InfoCoroutine): * tests/unsupported.test: New command that returns the FQN of the currently executing coroutine. Lives as infoCoroutine under unsupported, but is designed to become a subcommand of [info] 2008-08-23 Miguel Sofer <msofer@users.sf.net> * generic/tclBasic.c (NRInterpCoroutine): Store the caller's eePtr, stop assuming the coroutine is invoked from the same execEnv where it was created. 2008-08-24 Donal K. Fellows <dkf@users.sf.net> * generic/tclCmdAH.c (TclNRForeachCmd): Converted the [foreach] command to have an NRE-aware non-compiled implementation. Part of the [Bug 2017632] project. Also restructured the code so as to manage its temporary memory more efficiently. 2008-08-23 Miguel Sofer <msofer@users.sf.net> * generic/tclBasic.c: Removed unused var; fixed function pointer * generic/tclOOInt.h: declarations (why did gcc start complaining * generic/tclOOMethod.c: all of a sudden?) * generic/tclProc.c: 2008-08-23 Donal K. Fellows <dkf@users.sf.net> * generic/tclInt.h (EnsembleImplMap): Added extra field to make it * generic/tclNamesp.c (TclMakeEnsemble): easier to build non-recursive ensembles in the core. * generic/tclDictObj.c (DictForNRCmd): Converted the [dict for] command to have an NRE-aware non-compiled implementation. Part of the [Bug 2017632] project. 2008-08-22 Miguel Sofer <msofer@users.sf.net> * generic/tclBasic.c: * generic/tclExecute.c: Set special errocodes: COROUTINE_BUSY, COROUTINE_CANT_YIELD, COROUTINE_ILLEGAL_YIELD. **** TK **** 2008-10-10 Don Porter <dgp@users.sourceforge.net> *** 8.6a3 TAGGED FOR RELEASE *** * changes: Updates for 8.6a3 release. 2008-10-09 Don Porter <dgp@users.sourceforge.net> * generic/tkListbox.c: Make literal return values consistent with those generated by Tcl_PrintDouble(). * tests/entry.test: Restore test naming consistency with Tk 8.5. * tests/listbox.test: Remove some more dependency on precision in * tests/spinbox.test: test results. 2008-10-08 Jan Nijtmans <nijtmans@users.sf.net> * unix/tcl.m4: fix for bug [2073255] * unix/configure: regenerated 2008-10-08 Don Porter <dgp@users.sourceforge.net> * tests/textDisp.test (textDisp-16.34): Update test that tested string equality of double values based on an assumption of tcl_precision==12. Test now does its own formatting. * tests/scrollbar.test: Revised testing of the cget subcommand so that it tests consistency with the configure subcommand and not agreement with a hardcoded value that will change as tastes in GUIs evolve. * tests/canvText.test (canvText-17.1): Update expected result to match revised PostScript output due to more predictable formatting of floating point values. * unix/tkUnixWm.c: Restored consistency of error messages from * macosx/tkMacOSXWm.c: [wm iconphoto] with the test suite and across * tests/unixWm.test: all platforms. [Bug 2021443] 2008-10-07 Pat Thoyts <patthoyts@users.sourceforge.net> * tests/canvImg.test: Removed dependency on precision in results * tests/canvRect.test: * tests/canvText.test: * tests/entry.test: * tests/listbox.test: * tests/scrollbar.test: * tests/spinbox.test: * tests/winWm.test: Fixed incorrect error strings * tests/wm.test: 2008-10-06 Pat Thoyts <patthoyts@users.sourceforge.net> * tests/winDialog.test: Fixed tests for Vista+ * win/tkWinWm.c: corrected some errors from the previous commit 2008-10-05 Donal K. Fellows <dkf@users.sf.net> * win/tkWinWm.c (WmAttributesCmd, WmOverrideredirectCmd) (WmStackorderCmd): * win/tkWinSendCom.c (Async): * win/tkWinSend.c (Tk_SendObjCmd): * win/tkWinFont.c (TkpGetFontFamilies, TkpGetSubFonts): * unix/tkUnixWm.c (WmOverrideredirectCmd, WmStackorderCmd): * unix/tkUnixFont.c (TkpGetFontFamilies, TkpGetSubFonts): * macosx/tkMacOSXWm.c (WmOverrideredirectCmd, WmStackorderCmd): * generic/tkTextIndex.c (SetTextIndexFromAny): * generic/tkTest.c (TrivialConfigObjCmd): * generic/tkSelect.c (HandleTclCommand): * generic/tkPanedWindow.c (Tk_PanedWindowObjCmd) (PanedWindowSashCommand, PanedWindowProxyCommand): * generic/tkMenubutton.c (Tk_MenubuttonObjCmd): * generic/tkMenu.c (MenuWidgetObjCmd): * generic/tkListbox.c (ListboxWidgetObjCmd): * generic/tkImgPhoto.c (ImgPhotoCmd): (mostly) * generic/tkImage.c (Tk_ImageObjCmd): * generic/tkFont.c (Tk_FontObjCmd, GetAttributeInfoObj): * generic/tkEntry.c (EntryWidgetObjCmd, SpinboxWidgetObjCmd): * generic/tkConfig.c (SetOptionFromAny, Tk_SetOptions): * generic/tkCmds.c (Tk_TkObjCmd, Tk_WinfoObjCmd, TkGetDisplayOf): * generic/tkButton.c (ButtonCreate): Get rid of code that insists on non-idiomatically writing to the object in the interpreter result. 2008-10-03 Donal K. Fellows <dkf@users.sf.net> * generic/tkArgv.c, generic/tkCanvText.c, generic/tkEntry.c: * generic/tkListbox.c, generic/tkScrollbar.c, macosx/tkMacOSXScrlbr.c: * win/tkWinScrlbr.c: Convert use of %g to Tcl_PrintDouble to create string versions of floats so as to avoid trouble with some locales. [Bug 2112563] 2008-10-02 Joe Mistachkin <joe@mistachkin.com> * doc/canvas.n: Fix unmatched font change. * win/buildall.vc.bat: Prefer the HtmlHelp target over the WinHelp target. 2008-10-01 Donal K. Fellows <dkf@users.sf.net> TIP #236 IMPLEMENTATION * doc/canvas.n, generic/tkCanvas.c (CanvasWidgetCmd) * tests/canvMoveto.test: Added 'moveto' subcommand to canvases to allow items to be easily moved to a particular place. 2008-09-23 Donal K. Fellows <dkf@users.sf.net> * doc/listbox.n (SEE ALSO): Redirected this to ttk::treeview(n) which is far more useful (it does multicolumn listbox duties). [Bug 2123813] * doc/*.n: Make sure that the initial line of the manpage includes nothing that chokes old versions of man. [Bug 2118116] 2008-08-25 Todd M. Helfter <tmh@users.sourceforge.net> * library/menu.tcl: Additional fix for [Bug 1023955] 2008-09-08 Todd M. Helfter <tmh@users.sourceforge.net> * doc/menu.n: Fix typo in docs. [Bug 2098425] 2008-09-03 Don Porter <dgp@users.sourceforge.net> * generic/tk.h: Dropped use of _ANSI_ARGS_ macro to preserve * generic/tkSelect.h: Tk's TCL_NO_DEPRECATED build. 2008-08-30 Ania Pawelczyk <aniap@users.sourceforge.net> * tests/textWind.test: Update to tcltest2 * tests/unixSelect.test: * tests/visual_bb.test: * tests/visual.test: * tests/window.test: * tests/winfo.test: * tests/xmfbox.test: * tests/winButton.test: * tests/winDialog.test: * tests/winFont.test: * tests/winMenu.test: * tests/winMsbox.test: * tests/winWm.test: 2008-08-28 Don Porter <dgp@users.sourceforge.net> * unix/tkConfig.sh.in: Added @XFT_LIBS@ to the definition of TK_LIBS to avoid link failures when a "big wish" program links against a --disable-shared build of libtk. (Discovered building expectTk.) * generic/tkImgPhoto.c: Changed TclStack* calls to ck* calls so that we don't create new dependencies on Tcl internals. * unix/tkUnixPort.h: Removed #include of tclInt.h that has been * win/tkWinPort.h: disabled for three years. If we needed this we'd have noticed by now. * README: Bump version number to 8.6a3 * generic/tk.h: * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: 2008-08-28 Donal K. Fellows <dkf@users.sf.net> * tests/imgPhoto.test: Fix failures. [Bug 2080587] 2008-08-28 Ania Pawelczyk <aniap@users.sourceforge.net> * tests/option.test: Update to tcltest2 * tests/place.test: * tests/scale.test: * tests/select.test: * tests/textBTree.test: * tests/textImage.test: * tests/textMark.test: * tests/textTag.test: * tests/unixMenu.test: 2008-08-25 Todd M. Helfter <tmh@users.sourceforge.net> * library/menu.tcl: Fix typo from [Bug 1023955] 2008-08-27 Peter Spjuth <peter.spjuth@gmail.com> * tests/grid.test: Added a "knownBug"-marked test to show a problem identified in the grid implementation. [Bug 2075285] 2008-08-26 Donal K. Fellows <dkf@users.sf.net> * tests/imgPhoto.test: More style improvements. 2008-08-25 Todd M. Helfter <tmh@users.sourceforge.net> * library/menu.tcl: Do not flip to the arrow cursor on menus. This was a Motif convention. Current behavior is maintained iff tk_strictMotif is enabled. [Bug 1023955] 2008-08-25 Donal K. Fellows <dkf@users.sf.net> * generic/tkImgPhoto.c (ImgPhotoConfigureMaster): Ensure that uses of TclStackAlloc and TclStackFree balance. 2008-08-25 Todd M. Helfter <tmh@users.sourceforge.net> * library/tkfbox.tcl: Fix the multiple selection error for tk_getOpenFile -multiple 1 which fails on all unix platforms since the adoption of ttk widgets. [Bug 1936220] 2008-08-25 Donal K. Fellows <dkf@users.sf.net> * generic/tkImgPhoto.c: Split the implementation of the core of * generic/tkImgPhoto.h: photo images into two pieces, the photo * generic/tkImgPhInstance.c: master (which manages the data model and the interaction with the script level) and the photo instances (which handle display).