Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Contribution by Patrick Fradin <patrick.fradin@planar.com>contrib_patrick_fradin_code_cleanup | andreask | 2013-01-22 | 1 | -32/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Keywords | dgp | 2011-06-08 | 1 | -3/+1 |
|\ | |||||
| * | Purge RCS Keywords. | dgp | 2011-06-08 | 1 | -2/+0 |
| |\ | |||||
| | * | Purge RCS Keywords. | dgp | 2011-06-08 | 1 | -2/+0 |
| | | | |||||
| | * | * tests/winfo.test: Wait until child window is visible | patthoyts | 2005-10-10 | 1 | -2/+3 |
| | | | | | | | | | | | | * tests/wm.test: Modified test to match actual error output. | ||||
* | | | Fixed an embedding test that became broken during the test upgrade. Killing ↵ | patthoyts | 2008-11-03 | 1 | -8/+9 |
| | | | | | | | | | | | | a contained window should not destroy the container. | ||||
* | | | Update to tcltest2 | aniap | 2008-08-30 | 1 | -242/+358 |
|/ / | |||||
* | | merge stable branch onto HEAD | dgp | 2007-12-13 | 1 | -1/+1 |
| | | |||||
* | | * tests/winfo.test: winfo-4.5 raise .t to above . for Windows | hobbs | 2007-10-30 | 1 | -1/+2 |
| | | |||||
* | | Use standard constraint names | dkf | 2004-06-24 | 1 | -5/+5 |
| | | |||||
* | | Steps towards systematization of test constraints in Tk test suite | dkf | 2004-06-17 | 1 | -9/+5 |
| | | |||||
* | | Removed support for Mac OS Classic platform [Patch 918139] | das | 2004-03-17 | 1 | -2/+2 |
| | | |||||
* | | * tests/all.tcl: Made better use of a common | dgp | 2003-04-01 | 1 | -6/+3 |
|/ | | | | | * tests/constraints.tcl: -loadfile to hold definitions * tests/*.test: common to all test files. | ||||
* | * Converted more files to tcltest and factored out common code. | dgp | 2002-07-13 | 1 | -4/+1 |
| | |||||
* | * Converted more files to tcltest and factored out common code. | dgp | 2002-07-13 | 1 | -24/+12 |
| | |||||
* | * Converted several files in the Tk test suite for testing by | dgp | 2002-07-12 | 1 | -8/+8 |
| | | | | tcltest 2.1. | ||||
* | * tests/winfo.test: Add basic tests for winfo ismapped. | mdejong | 2002-06-14 | 1 | -1/+23 |
| | |||||
* | * tests/color.test: | hobbs | 2000-03-02 | 1 | -13/+1 |
| | | | | | | * xlib/xcolors.c (XParseColor FindColor): * win/tkWinColor.c (XAllocColor): Fixed bit fiddling for colors to return "correct" values for color mapping. [Bug: 4282] | ||||
* | * Merged 8.1 branch into the main trunk | stanton | 1999-04-16 | 1 | -44/+58 |
| | |||||
* | Replaced SCCS strings, fixed binary files | stanton | 1998-09-14 | 1 | -1/+1 |
| | |||||
* | skips tests that require tktest executable | hershey | 1998-08-12 | 1 | -3/+9 |
| | |||||
* | Initial revision | rjohnson | 1998-04-01 | 1 | -0/+361 |