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 | -16/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 |
| | | | |||||
* | | | Update to tcltest2 | aniap | 2008-08-18 | 1 | -85/+118 |
|/ / | |||||
* | | Steps towards systematization of test constraints in Tk test suite | dkf | 2004-06-17 | 1 | -3/+1 |
| | | |||||
* | | First step towards improving test style. Also start using Tcl 8.5 features. | dkf | 2004-05-23 | 1 | -14/+1 |
| | | |||||
* | | * 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 | -14/+9 |
| | |||||
* | * Converted several files in the test suite for testing by | dgp | 2002-07-13 | 1 | -18/+13 |
| | | | | tcltest 2.1. | ||||
* | Call cleanupTests after defs has been loaded | jenn | 1999-08-18 | 1 | -5/+5 |
| | |||||
* | Added calls to cleanupTests before return statements. | jenn | 1999-07-08 | 1 | -1/+2 |
| | |||||
* | * Merged 8.1 branch into the main trunk | stanton | 1999-04-16 | 1 | -6/+23 |
| | |||||
* | Replaced SCCS strings, fixed binary files | stanton | 1998-09-14 | 1 | -1/+1 |
| | |||||
* | Initial revision | rjohnson | 1998-04-01 | 1 | -0/+299 |