summaryrefslogtreecommitdiffstats
path: root/tests/window.test
Commit message (Collapse)AuthorAgeFilesLines
* Contribution by Patrick Fradin <patrick.fradin@planar.com>contrib_patrick_fradin_code_cleanupandreask2013-01-221-14/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Keywordsdgp2011-06-081-2/+0
|\
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |\
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * simple code cleanuphobbs2004-02-131-45/+12
| | |
| * | window-2.9 deadlocks threaded Tk [Bug 1715716], add constraintdas2008-12-291-3/+6
| | |
* | | window-2.9 deadlocks threaded Tk [Bug 1715716], add constraintdas2008-12-291-4/+7
| | |
* | | Update to tcltest2aniap2008-08-301-76/+127
|/ /
* | Use standard constraint namesdkf2004-06-241-4/+4
| |
* | Steps towards systematization of test constraints in Tk test suitedkf2004-06-171-4/+1
| |
* | First step towards improving test style. Also start using Tcl 8.5 features.dkf2004-05-231-13/+1
| |
* | * tests/constraints.tcl:When running the test suite in a processdgp2003-11-181-17/+34
| | | | | | | | | | | | | | | | * tests/image.test: where Tk has been [load]ed, there's no * tests/select.test: guarantee that child processes created by * tests/unixWm.test: [exec [interpreter]] will have Tk in them. * tests/window.test: Made modifications to force a [load] of Tk in those situations.
* | * tests/all.tcl: Made better use of a commondgp2003-04-011-9/+3
|/ | | | | * tests/constraints.tcl: -loadfile to hold definitions * tests/*.test: common to all test files.
* * generic/tkWindow.c (Tk_DestroyWindow,mdejong2002-11-141-1/+158
| | | | | | | | | | | | | | DeleteWindowsExitProc): Add TkHalfdeadWindow type and halfdeadWindowList to keep track of windows that were only partially deallocated before a call to exit. Finnish cleaning up these windows in DeleteWindowsExitProc. Keep track of cleanup status in Tk_DestroyWindow so that a window with a Destroy binding which calls exit will get fully destroyed. * tests/window.test: Add Tk_DestroyWindow tests for an assortment of half dead window cases. [Bug 630533]
* * Converted more files to tcltest and factored out common code.dgp2002-07-131-10/+7
|
* * Converted several files in the Tk test suite for testing bydgp2002-07-121-6/+6
| | | | tcltest 2.1.
* * Merged 8.1 branch into the main trunkstanton1999-04-161-16/+32
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* skips tests that require tktest executablehershey1998-08-121-0/+6
|
* Initial revisionrjohnson1998-04-011-0/+131