summaryrefslogtreecommitdiffstats
path: root/library/fontchooser.tcl
Commit message (Collapse)AuthorAgeFilesLines
* Contribution by Patrick Fradin <patrick.fradin@planar.com>contrib_patrick_fradin_code_cleanupandreask2013-01-221-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Generate -errorcode values to go with errors. Generate messages and postscriptdkf2012-08-271-4/+6
| | | using Tcl_Obj API, not the string result API.
* Purge RCS Keywordsdgp2011-06-081-2/+0
|
* Fix the default size of the font chooser and set minimum sizepatthoyts2010-01-041-9/+30
|
* Fix some problems running the tests on windows. As Tk tests run in ↵patthoyts2008-12-101-15/+40
| | | | -singleproc 1 we cannot do the script testing without damaging the later native tests.
* TIP #324 IMPLEMENTATIONdas2008-12-101-0/+398