summaryrefslogtreecommitdiffstats
path: root/tests/tk.test
Commit message (Collapse)AuthorAgeFilesLines
* Contribution by Patrick Fradin <patrick.fradin@planar.com>contrib_patrick_fradin_code_cleanupandreask2013-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quoting his mail: <pre> ========================================================== Hi Jeff, I spent some of my time to contribute to the TclTk community ! I'm in late for Christmas gift but like we said in French : "Mieux vaut tard que jamais". ;-) I've use TclDevKit 5.3.0 tclchecker to analyse TclTk code in Tcl and Tk library directories (library, tools and tests) to correct a lot of warnings and few errors. (encapsulate some expr, use 'chan xxx' instead of fconfigure, fileevent...) I've made some improvements too : Examples : - Use 'lassign' instead of many 'lindex' of 'foreach/break' loop. - Use 'in' or 'ni' operators instead of 'lsearch -exact' or to factorise some eq/ne && / || tests. - Use 'eq' or 'ne' to tests strings instead of '==' or '!='. - Use 'unset -nocomplain' to avoid 'catch {unset...}'. - Remove some useless catch around 'destroy' calls. - Use expand {*} instead of 'eval'. Don't touch a lot of code because I don't know all structs and lists. I think it could be a greater improvement to reduce 'eval' calls. Due to previous experience, I dot not change any indentation ! ;-) ========================================================== </pre>
* Purge RCS Keywordsdgp2011-06-081-2/+0
|\
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |\
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
* | | Fixed tk.test to account for tk ensemble changespatthoyts2008-12-101-3/+3
| | |
* | | Implementation of the [tk busy] command on non-OSX.dkf2008-10-181-16/+10
| | | | | | | | | | | | Adapted from [Patch 1997907]
* | | Update to tcltest2aniap2008-08-161-90/+116
|/ /
* | Corrected the numbering of the [tk inactive] tests.rmax2005-06-011-8/+8
| |
* | * doc/Inactive.3 (new file): C level API documentationn forrmax2005-05-311-7/+39
| | | | | | | | | | TIP#245 (Tk_GetUserInactiveTime, Tk_ResetUserInactiveTime). * tests/tk.test: Added tests for the TIP#245 implementation.
* | Use standard constraint namesdkf2004-06-241-4/+4
| |
* | Removed support for Mac OS Classic platform [Patch 918139]das2004-03-171-2/+2
| |
* | * tests/all.tcl: Made better use of a commondgp2003-04-011-6/+3
|/ | | | | * tests/constraints.tcl: -loadfile to hold definitions * tests/*.test: common to all test files.
* noted new tk windowingsystem subcommandhobbs2002-09-021-2/+2
|
* * Converted more files to tcltest and factored out common code.dgp2002-07-131-3/+6
|
* * Converted several files in the Tk test suite for testing bydgp2002-07-121-4/+4
| | | | tcltest 2.1.
* * generic/tkCmds.c (Tk_TkObjCmd):hobbs2002-06-171-3/+22
| | | | | | | | | | * generic/tkInt.h (struct TkCaret): * mac/tkMacXStubs.c (Tk_SetCaretPos): * unix/tkUnixKey.c (TkpGetString, Tk_SetCaretPos): * win/tkWinX.c (Tk_SetCaretPos): * tests/tk.test: Added 'tk caret' implementation of TIP#96 * doc/SetCaret.3 (new): which adds a TkCaret structure element to * doc/tk.n: TkDisplay for maintaining state.
* * tests/tk.test:hobbs2000-10-311-3/+2
| | | | | | | | * doc/tk.n: updated to reflect default on status of useinputmethods. * library/tk.tcl: tk useinputmethods is set to 1 by default. This enables Kanji and dead-char input by default. Intro'd in 1999-12-16 with default off to avoid some problems with older X servers that would slow down widget creation over time.
* added tests for tk useinputmethodshobbs1999-12-161-16/+36
|
* * Merged 8.1 branch into the main trunkstanton1999-04-161-7/+23
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+80