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 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -2/+0 |
|\ | |||||
| * | Purge RCS Keywords. | dgp | 2011-06-08 | 1 | -2/+0 |
| |\ | |||||
| | * | Purge RCS Keywords. | dgp | 2011-06-08 | 1 | -2/+0 |
| | | | |||||
| | * | Stop xhost smash by the test suite; that can render a machine unusable. | dkf | 2003-07-09 | 1 | -4/+4 |
| | | | |||||
* | | | fix [2021443] inconsistant "wrong # args" messages (for Tk) | nijtmans | 2008-07-23 | 1 | -3/+3 |
|/ / | |||||
* | | Steps towards systematization of test constraints in Tk test suite | dkf | 2004-06-17 | 1 | -2/+1 |
| | | |||||
* | | Stop xhost smash by the test suite; that can render a machine unusable. | dkf | 2003-07-09 | 1 | -4/+4 |
| | | |||||
* | | * 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. | ||||
* | * Completed conversion of Tk test suite to use tcltest. | dgp | 2002-07-14 | 1 | -88/+75 |
| | |||||
* | * Converted more files to tcltest and factored out common code. | dgp | 2002-07-13 | 1 | -12/+2 |
| | |||||
* | * Converted several files in the test suite for testing by | dgp | 2002-07-13 | 1 | -95/+95 |
| | | | | tcltest 2.1. | ||||
* | improved use of test constraints | hobbs | 2001-09-21 | 1 | -408/+382 |
| | |||||
* | corrected to use testConfig constraints in | hobbs | 2001-08-30 | 1 | -37/+37 |
| | | | | the TK_ALT_DISPLAY case | ||||
* | * Merged 8.1 branch into the main trunk | stanton | 1999-04-16 | 1 | -15/+38 |
| | |||||
* | Replaced SCCS strings, fixed binary files | stanton | 1998-09-14 | 1 | -1/+1 |
| | |||||
* | Initial revision | rjohnson | 1998-04-01 | 1 | -0/+656 |