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 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 |
| | | |||||
* | | Arrange the test suite so that it only accesses images in the same directory. | dkf | 2005-10-12 | 1 | -3/+5 |
| | | | | | | | | This enables packaging of the test suite as a starkit. | ||||
* | | Rename all XBM format files to be called *.xbm instead of *.bmp [Bug 733835] | dkf | 2004-10-19 | 1 | -2/+2 |
|/ | |||||
* | * Converted several files in the Tk test suite for testing by | dgp | 2002-07-12 | 1 | -2/+2 |
| | | | | tcltest 2.1. | ||||
* | * tests/bind.test: | hobbs | 1999-12-14 | 1 | -0/+84 |
* tests/canvImg.test: * tests/canvPsArc.tcl: * tests/canvPsImg.tcl: (new file) * tests/canvRect.test: * tests/canvText.test: * tests/canvas.test: * tests/defs.tcl: * tests/entry.test: * tests/event.test: * tests/font.test: * tests/frame.test: * tests/imgPhoto.test: * tests/safe.test: * tests/scale.test: * tests/scrollbar.test: * tests/select.test: * tests/text.test: * tests/textDisp.test: * tests/textTag.test: * tests/unixFont.test: * tests/unixWm.test: * tests/visual_bb.test: * tests/winClipboard.test: tests for the dash patch changes |