Tk Source Code

File History
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of tests/bind.test

2019-02-03
17:23
Create a derivated version of TIP #532 targeting trunk (8.7), with PREFER_MOST_SPECIALIZED_EVENT=1 and SUPPORT_ADDITIONAL_MOTION_SYNTAX=1 file: [3333c1ef] check-in: [361f2173] user: fvogel branch: bug6e8afe516d-87, size: 183822
17:18
Tweaked comments file: [0f52dfac] check-in: [263b9cde] user: fvogel branch: bug6e8afe516d, size: 184596
2019-01-15
14:44
(1) Computation of most specialized event (PREFER_MOST_SPECIALIZED_EVENT) changed to make it more user-friendly (2) Minor modifications in bind.test (only textual changes) file: [d60f380c] check-in: [149760d9] user: gcramer branch: bug6e8afe516d, size: 184638
2019-01-14
17:15
Fix in comparison of homegeneous equal sequences, a real problem with old implementation, see new test case bind-33.15. file: [58952ff6] check-in: [be0be1ae] user: gcramer branch: bug6e8afe516d, size: 184635
2019-01-13
10:13
(1) Return type of Tk_CreateBinding changed to 'Mask'. (2) Fix of issue with homogeneous equal sequences. New test cases bind-32.12 and bind-32.13. file: [6377cb0d] check-in: [ec38f729] user: gcramer branch: bug6e8afe516d, size: 183570
2019-01-10
14:14
Fix in comparison of complex patterns, new test cases bind-33.9, bind-33.10, and bind-33.11. file: [eaf19298] check-in: [417b4ef3] user: gcramer branch: bug6e8afe516d, size: 182650
2018-12-31
16:46
Another test version for Windows, dedicated to bind-15.23. file: [79e5f3cc] check-in: [2bbced9e] user: gcramer branch: bug6e8afe516d, size: 181014
2018-12-30
17:27
Test cases 32.10 and 32.15 improved. file: [3e067e4e] check-in: [e78437d5] user: gcramer branch: bug6e8afe516d, size: 180878
16:47
New test cases added: reset button state after destroying window, and detect when window has changed. file: [083d65a3] check-in: [6b1c0ed8] user: gcramer branch: bug6e8afe516d, size: 180801
2018-12-22
18:13
Make test case 32.10 safer. file: [0db4f678] check-in: [193c0d77] user: gcramer branch: bug6e8afe516d, size: 179828
17:53
Try to fix problem with test case bind-32.10 under Windoze. file: [2f959448] check-in: [0f6871d9] user: gcramer branch: bug6e8afe516d, size: 179820
2018-12-20
20:05
Fix of test case bind-32.9 file: [14744afc] check-in: [a3129f75] user: gcramer branch: bug6e8afe516d, size: 178855
2018-12-18
18:46
Only correction of typo in comment. file: [99991094] check-in: [2456add0] user: gcramer branch: bug6e8afe516d, size: 178856
18:37
Bugfix in matching virtual events, see new test case bind-32.11 file: [ebe2f689] check-in: [9b04e0fe] user: gcramer branch: bug6e8afe516d, size: 178858
2018-12-11
15:57
Now modifier keys will trigger Key events, conform to original implementation. file: [74e8eb25] check-in: [087aca88] user: gcramer branch: bug6e8afe516d, size: 178312
2018-12-09
11:41
(1) Small fix in test version. (2) Minor correction of error message. file: [d30c2104] check-in: [2db79f1a] user: gcramer branch: bug6e8afe516d, size: 177631
2018-10-30
16:21
Many updates for macOS. Most, but not all, were triggered by changes between OSX 10.13 and 10.14. file: [1e6487ea] check-in: [9df14a3a] user: culler branch: trunk, size: 171711
2018-10-28
19:07
Increase the size of the ring buffer (in bind.test) according to the change made in [831734f0] file: [ca77bed5] check-in: [5e69a6d6] user: fvogel branch: mojave-cleanup, size: 170430
2018-10-26
11:21
(1) tkBind.c reviewed and a bit overworked, now it's the final version (except bug fixes). (2) Some critical test cases added, this has caused corrections in matching algorithm. file: [5abdb8a4] check-in: [fe6bb552] user: gcramer branch: bug6e8afe516d, size: 177619
2018-10-23
10:48
(1) Some fixes for Windows. (2) Some minor corrections in test cases. file: [f6f6b7c4] check-in: [ea08013f] user: gcramer branch: bug6e8afe516d, size: 174538
2018-10-21
13:00
Bugfix [6e8afe516d]: rework of tkBind.c. file: [71fec395] check-in: [67dd75c7] user: gcramer branch: bug6e8afe516d, size: 173829
2017-12-05
15:51
Merge core-8-6-branch into trunk. Fixes [1088805fff]. See [0feb63f139] for explanations. file: [40f5047c] check-in: [1f688088] user: culler branch: trunk, size: 171694
2017-12-03
20:33
Move calls to clearRingBuffer into the setup sections of tests in bind.test. file: [2fd4f472] check-in: [6b4753e9] user: culler branch: bind-errors, size: 170413
19:34
Restore original content of test bind-15.23. Since the event ring buffer is now cleared (or rather: filled-in with known non-disturbing events) before generating the events for the test, tweaking the time fields to avoid wrong matchings due to leftover events from previous tests is no longer needed). file: [c72958a7] check-in: [710d188b] user: fvogel branch: bind-errors, size: 170413
19:27
Remove unneeded [expr ] in bind-15.22 file: [c3eba2a7] check-in: [55ef6440] user: fvogel branch: bind-errors, size: 170425
18:36
Resolve unintended fork file: [0ad731e2] check-in: [054c1cfe] user: fvogel branch: bind-errors, size: 170432
18:35
Remove letftover try. file: [8d69d57d] check-in: [0da9adf6] user: fvogel branch: bind-errors, size: 170403
18:20
The ring buffer needs to be cleared in 16.49 too. The issue only appears when running the full test suite. file: [fde5ef4c] check-in: [3322d3bf] user: culler branch: bind-errors, size: 170618
17:40
Add an explicit procedure in bind.test which clears the pattern matcher's ring buffer. Make timeDiff a long instead of an int. file: [54df1215] check-in: [ce092ea3] user: culler branch: bind-errors, size: 170589
04:20
Modify the bind-15.23 test so the events left over in the ring buffer from bind-15.22 won't interfere with those generated in bind-15.23. file: [706e7254] check-in: [0770962c] user: culler branch: bind-errors, size: 169550
2017-11-28
14:12
Merge core-8-6-branch into trunk. Fixes bind-13.14 test. file: [d4e160d4] check-in: [5a16dc4a] user: culler branch: trunk, size: 170820
14:08
Use -1 instead of 0 as the invalid keycode in test bind-13.14 since 0 is a valid keycode (for lowercase a) on a Macintosh. file: [b67728ab] check-in: [2e8b16d1] user: culler branch: core-8-6-branch, size: 169539
2016-05-30
20:28
Fixed tests cases bad interactions and a forgotten mouse warping case (event generate {} <...> -warp 1 is valid) file: [ee6d5040] check-in: [32b7a062] user: fvogel branch: trunk, size: 170818
20:20
Fixed tests cases bad interactions and a forgotten mouse warping case (event generate {} <...> -warp 1 is valid) file: [90bc4892] check-in: [2131f788] user: fvogel branch: core-8-6-branch, size: 169537
20:16
A mouse button once pressed should be released. Doing otherwise messes up with assumptions in other (later) tests from the test suite, which reasonably think they start with all mouse buttons depressed. In the present case, canvas-13.1 failed because event generation of <ButtonRelease-1> was missing in test bind-32 file: [0bed145c] check-in: [3b56aa53] user: fvogel branch: bug-79549a9134, size: 169323
18:36
Fixed [79549a9134] - Mouse pointer warping crashes file: [17f8eca6] check-in: [5d3c589c] user: fvogel branch: trunk, size: 170776
18:33
Fixed [79549a9134] - Mouse pointer warping crashes file: [5331afbb] check-in: [af79c31a] user: fvogel branch: core-8-6-branch, size: 169495
18:14
Fixed [f2655bb0ec] - bind-15.23 fails if the mouse is inside the test window file: [3032a333] check-in: [0f2de9a3] user: fvogel branch: trunk, size: 170493
2016-05-26
20:46
More complete fix for [79549a9134] - Mouse pointer warping crashes, with a non-regression test case. file: [d355cad3] check-in: [89b1343f] user: fvogel branch: bug-79549a9134, size: 169281
2016-05-25
21:19
Fixed [f2655bb0ec] - bind-15.23 fails if the mouse is inside the test window file: [c5fc3a5b] check-in: [e610cbad] user: fvogel branch: bug-f2655bb0ec, size: 169212
2016-04-14
09:48
More test-cases for Button 6-9 handling file: [b2a576b5] check-in: [51e623fa] user: jan.nijtmans branch: rfe-38dc27bd, size: 171746
2016-03-22
11:44
Fix test-case bind-27.2 on X11 (it worked on win32) Merge trunk. file: [7b094491] check-in: [0373bf9b] user: jan.nijtmans branch: bug-38dc27bd1d0ecd68, size: 170279
2016-03-14
14:09
Suggested fix for [38dc27bd1d0ecd68]: Tk does not support <Button-6> nor <Button-7> events. With test-cases and doc change. file: [8adc937c] check-in: [56355af1] user: jan.nijtmans branch: bug-38dc27bd1d0ecd68, size: 170287
13:31
Excess spacing in test-suite file: [da8fbaa3] check-in: [5a108931] user: jan.nijtmans branch: trunk, size: 168817
2015-02-06
21:55
Modify bind tests for '%M' to save/restore the 'Key' bindings for both 'All' and 'Entry'. Fix for [6b13bf5ebf]. file: [71069cd5] check-in: [a1bad43f] user: mistachkin branch: trunk, size: 168998
21:46
Modify bind tests for '%M' to save/restore the 'Key' bindings for both 'All' and 'Entry'. Fix for [6b13bf5ebf]. file: [970e514e] check-in: [c7aeea08] user: mistachkin branch: core-8-5-branch, size: 89757
20:22
Add support for an 'M' binding substitution that is replaced with the number of script-based binding patterns matched so far for the event. file: [869a5f10] check-in: [8b098230] user: mistachkin branch: trunk, size: 168622
2013-01-22
19:30
Contribution by Patrick Fradin <[email protected]> Quoting his mail:    ========================================================== 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 ! ;-) ========================================================== file: [a37bf401] check-in: [2b50e889] user: andreask branch: contrib-patrick-fradin-code-cleanup, size: 167823
2012-11-16
22:09
Add docs and tests. file: [f09b82bf] check-in: [055ab275] user: mistachkin branch: bindScriptCount, size: 89321
2012-08-03
19:38
Fixed [Bug 3554081]: Test bind-22.10 failed file: [982a04f8] check-in: [a4ea6213] user: fvogel branch: core-8-5-branch, size: 88672
19:31
Fixed [Bug 3554081]: Test bind-22.10 failed file: [e62c76f9] check-in: [261fda85] user: fvogel branch: core-8-4-branch, size: 83920
2011-06-08
20:24
Purge RCS Keywords file: [368cd77d] check-in: [b8a13852] user: dgp branch: trunk, size: 167843
17:44
Purge RCS Keywords. file: [52cfc66d] check-in: [3f95fbe0] user: dgp branch: core-8-5-branch, size: 88664
16:13
Purge RCS Keywords. file: [1fa00548] check-in: [a74f32bb] user: dgp branch: core-8-4-branch, size: 83912
2010-06-19
16:18
[Patch 3009998]: Replace binding procedures with ordinary event handlers in win/tkWinScrlbr.c and carbon/tkMacOSXScrlbr.c.    Simplifications enabled by previous change:    * TkCreateBindingProcedure() and associated machinery no longer needed. * TkBindDeadWindow() no longer needed. * TK_DEFER_MODAL_LOOP and associated machinery no longer needed. * Tests related to C binding procedures no longer needed. file: [5d59d83f] check-in: [afaa6c96] user: jenglish branch: trunk, size: 167914
2009-01-11
23:08
[Bug 2336454] fixed keysyms used in bind tests. file: [5981adc5] check-in: [02862c72] user: patthoyts branch: trunk, size: 176769
2008-11-23
21:58
[Bug 1389270] event generate silently ignored focus events. These can now be generated. file: [e71f11a4] check-in: [185b0e79] user: patthoyts branch: trunk, size: 176656
21:40
Fixed some locale dependencies to reduce the noise on non-English systems file: [9c6f95d6] check-in: [265ddb94] user: patthoyts branch: trunk, size: 176601
00:47
Re-fixed QWERTY/AZERTY sensitivity of key event generation test (thx to Pat Thoyts) file: [ffe186ff] check-in: [879b7b5a] user: ferrieux branch: trunk, size: 173192
2008-11-22
23:45
Fixed QWERTY/AZERTY sensitivity of key event generation test file: [16fbb279] check-in: [21bc3b70] user: ferrieux branch: trunk, size: 173184
2008-07-25
23:47
Update to tcltest2 file: [99e0e3a1] check-in: [cdf26379] user: aniap branch: trunk, size: 173181
13:40
Update to tcltest2 file: [ec6fa138] check-in: [7c7e823e] user: aniap branch: trunk, size: 173788
2008-07-23
23:24
fix [2021443] inconsistant "wrong # args" messages (for Tk) file: [ef56a0b1] check-in: [def570d7] user: nijtmans branch: trunk, size: 88736
2007-05-16
15:23
* tests/bind.test: Make test suite more SCIM-tolerant [Bug 1609316] file: [f1a3e38e] check-in: [40de1e3e] user: dgp branch: trunk, size: 88730
15:22
* tests/bind.test: Make test suite more SCIM-tolerant [Bug 1609316] file: [ed70a609] check-in: [7a98f331] user: dgp branch: core-8-4-branch, size: 83982
2004-12-07
10:07
More duplicate testname elimination. [1078648] file: [39417d6b] check-in: [c56ad282] user: dkf branch: trunk, size: 88687
2004-09-01
10:00
Fix general error-case test. [Bug 1019085] file: [bd8a0556] check-in: [21a81a60] user: dkf branch: trunk, size: 89225
2004-08-29
09:27
TIP#165 (user data field) implementation. file: [3cfb07fd] check-in: [86e0e80e] user: dkf branch: trunk, size: 89101
2004-07-05
21:21
TIP#158 implementation; keypad keys on Win are now distinguishable. file: [724b027b] check-in: [b8333852] user: dkf branch: trunk, size: 87038
2004-06-17
22:38
Steps towards systematization of test constraints in Tk test suite file: [2a3b00cf] check-in: [ec889b99] user: dkf branch: trunk, size: 86981
2004-05-23
17:34
First step towards improving test style. Also start using Tcl 8.5 features. file: [c58049bd] check-in: [8e6c4d12] user: dkf branch: trunk, size: 87043
2003-04-01
21:06
* tests/all.tcl: Made better use of a common * tests/constraints.tcl: -loadfile to hold definitions * tests/*.test: common to all test files. file: [6426b2d5] check-in: [01af81ec] user: dgp branch: trunk, size: 83732
2003-02-28
15:55
Make all %-expansions generate ?? when their event doesn't have the right underlying field to prevent a crash on Windows. [Bug #612110] file: [f1573eff] check-in: [218784e1] user: dkf branch: trunk, size: 83935
2002-08-20
20:26
merged with trunk at tag macosx-8-4-merge-2002-08-20-trunk file: [ddca9884] check-in: [88ef5db9] user: das branch: macosx-8-4-branch, size: 83779
2002-07-14
05:48
* Completed conversion of Tk test suite to use tcltest. file: [de3c7f58] check-in: [c483179b] user: dgp branch: trunk, size: 83776
2002-06-10
05:38
Merging with TOT as of 06/09/2002. file: [cfe6b558] check-in: [c4cf2ab6] user: wolfsuit branch: macosx-8-4-branch, size: 83587
2002-04-02
20:57
sync with head file: [e3936bac] check-in: [4d8abcfa] user: hobbs branch: core-8-4-win-speedup, size: 83584
2001-10-15
09:21
First checkin of support for Tk on Mac OS X. file: [e4b2402f] check-in: [1f829a93] user: wolfsuit branch: macosx-8-4-branch, size: 83462
2001-07-03
20:01
* Merged in updates from HEAD branch. file: [224e1ab3] check-in: [6db41250] user: dgp branch: dgp-privates-into-namespace, size: 83582
2001-04-04
07:57
see ChangeLog for specific file details file: [d1bbc20a] check-in: [0f3f17d4] user: hobbs branch: core-8-3-1-branch, size: 83578
2001-03-30
21:52
* tests/bind.test (bind-22.18): * generic/tkBind.c (NameToWindow): handled the error case where a valid-looking but invalid identifier could be passed in certain event generate options causing a crash. [Bug #411307] file: [32ee52ac] check-in: [6ac56204] user: hobbs branch: trunk, size: 83580
2000-08-03
20:36
* tests/bind.test: Tweaked expected error messages for [bindtags] to comply with updated error messages.    * generic/tkMenu.c (CloneMenu): Replaced calls to Tk_BindtagsCmd with equivalent calls to Tk_BindtagsObjCmd.    * generic/tkInt.h: Replace Tk_BindtagsCmd prototype with Tk_BindtagsObjCmd prototype.    * generic/tkWindow.c: Updated "bindtags" command entry to use Tcl_Obj'ified command.    * generic/tkCmds.c (Tk_BindtagsObjCmd): Tcl_Obj'ified [bindtags] command. file: [80c6e411] check-in: [1bf52b23] user: ericm branch: trunk, size: 83455
1999-12-14
06:53
* tests/bind.test: * 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 file: [da68efa5] check-in: [73e913a6] user: hobbs branch: trunk, size: 83449
1999-07-08
18:22
Added calls to cleanupTests before return statements. file: [72bfbbf1] check-in: [5cb396da] user: jenn branch: trunk, size: 79181
1999-04-16
01:51
* Merged 8.1 branch into the main trunk file: [cb45b1e6] check-in: [1120dc42] user: stanton branch: trunk, size: 79156
1999-03-24
02:54
lint: changed a tcltest namespace variable name from tmpDir to workingDir. changes: made more tests atomic. README is now updated to match new test suite features. file: [f5e6d9e5] check-in: [a199ad53] user: hershey branch: core-8-1-branch-old, size: 79160
01:16
- changed ::test to ::tcltest - made many tests more atomic (still more work to do here) - defs.tcl is now identicle for tcl and tk file: [709d0daa] check-in: [3f1c83e9] user: hershey branch: core-8-1-branch-old, size: 79159
1999-03-11
18:50
Updated the testsuite to use "test" namespace and commandline args to control verbose level and which tests get run. Tests now work from any working dir. file: [3209c98a] check-in: [eced85b3] user: hershey branch: core-8-1-branch-old, size: 79141
1998-11-25
21:16
* integrated tk8.0.4 changes.    * generic/tkBind.c: fixed deletion order bug where a crash would result if a binding deleted "." file: [510c61fc] check-in: [207f4302] user: stanton branch: core-8-1-branch-old, size: 79157
1998-10-10
00:30
Added support for the MouseWheel event. file: [bbf34b71] check-in: [36ac110b] user: rjohnson branch: trunk, size: 78262
1998-09-30
02:15
Merged 8.0.3 changes into 8.1 file: [339790ec] check-in: [0fa81ba1] user: stanton branch: core-8-1-branch-old, size: 78604
1998-09-29
00:25
initial tk8.1a2 version file: [c87a0735] check-in: [644396f2] user: stanton branch: core-8-1-branch-old, size: 78368
1998-09-14
18:22
Replaced SCCS strings, fixed binary files file: [71c40d89] check-in: [fb58b663] user: stanton branch: trunk, size: 77716
1998-08-12
15:34
returns if testcbind is not defined file: [3e6bd032] check-in: [0466c2e2] user: hershey branch: trunk, size: 77695
1998-04-01
09:51
Initial revision file: [0b182416] check-in: [2bf55ca9] user: rjohnson branch: trunk, size: 77484 Added