summaryrefslogtreecommitdiffstats
path: root/tests/event.test
Commit message (Collapse)AuthorAgeFilesLines
* Mark "event-8" testcase nonPortablebug_e36963bfe8jan.nijtmans2016-11-081-1/+1
|
* Added test event-8 to test the fix for for [e36963bfe8]bug_e36963bfe8fvogel2016-10-301-0/+35
|
* Fixed entry (and final) part of bug [542199fff] - Double click on a lone ↵fvogel2015-11-081-4/+2
|\ | | | | | | character in an entry does not work
| * Fixed entry part of bug [542199fff] - Double click on a lone character in an ↵bug_542199ffffvogel2015-11-031-2/+2
| | | | | | | | entry does not work
* | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ | |/
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |\
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
* | | Update to tcltest2aniap2008-08-131-79/+134
|/ /
* | Neaten up and make test names closer to standarddkf2004-07-051-94/+72
| |
* | text widget dbl-click single character fixvincentdarley2003-11-131-3/+132
| |
* | * tests/all.tcl: Made better use of a commondgp2003-04-011-6/+3
|/ | | | | * tests/constraints.tcl: -loadfile to hold definitions * tests/*.test: common to all test files.
* * generic/tkEvent.c (Tk_HandleEvent): Fixup buttonmdejong2003-02-181-1/+16
| | | | | | | | | | press state saving code, it was incorrectly converting normal motion events into button press and motion events in some cases. * generic/tkInt.h: Add mouseButtonWindow member to the TkDisplay structure. * tests/event.test: Add test case for faulty button motion logic.
* * tests/event.test (_keypress, _text_ind_to_x_y):mdejong2002-12-021-13/+17
| | | | | | Force focus to widget in _keypress method to avoid problems with window managers that use focus follows mouse. [Bug 526209]
* * tests/event.test: Fixes to enable testing of only userInteractiondgp2002-07-141-2/+2
| | | | * tests/visual_bb.test: tests.
* * Completed conversion of Tk test suite to use tcltest.dgp2002-07-141-12/+7
|
* * library/entry.tcl:mdejong2002-02-151-1/+202
| | | | | | | | | * library/text.tcl: Adjust <Double-1> and <Triple-1> bindings so that no anchor point is set and the insertion cursor is set to the last character in the selection. [Bug 220943] * tests/event.test: Add test cases for double click and drag as well as triple click and drag in the text and entry widgets.
* * tests/event.test (_text_ind_to_x_y, _get_selection): Fixmdejong2002-02-141-10/+22
| | | | | | | | incorrect use of results from bbox invocation so that y center point for a give index is calculated correctly. Add new method to return the selection and use it in test cases. Always lappend to the result list to avoid case where initial result includes a space.
* * Corrected test thatdgp2001-12-191-3/+3
| | | | failed on Solaris/CDE due to text scrolling. [Bug 413735]
* * library/entry.tcl (tkEntryMouseSelect):mdejong2001-03-291-4/+390
| | | | | | | | | | * library/text.tcl (tkTextSelectTo): When the mouse is dragged with the button down, move the insertion cursor to the current mouse position. * tests/event.test: Add a series of tests for event generation. Add tests for selection, check the position of the insertion cursor.
* * tests/event.test: Added test for [event generate $widgetericm2000-04-101-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | <Alt-z>] [Bug: 4611]. * tests/choosedir.test: Changed "namespace import ::tcltest" to "namespace import -force ::tcltest". * win/tkWinKey.c: * unix/tkUnixKey.c: * mac/tkMacKeyboard.c: Changed InitKeymapInfo to TkpInitKeymapInfo. [Bug: 4611]. * generic/tkStubInit.c: * generic/tkIntDecls.h: Re-gen'd from tkInt.decls. * generic/tkInt.decls: Added TkpInitKeymapInfo to list of function decls. * generic/tkBind.c (HandleEventGenerate): Added code to initialize keymap info if necessary, and to correctly set modifier bits in XEvent structure create to handle [event generate] calls. Previously, the alt/meta bits were not set correctly, so [event generate $widget <Alt-z>] would always fail. [Bug: 4611]
* * tests/bind.test:hobbs1999-12-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * Merged 8.1 branch into the main trunkstanton1999-04-161-6/+22
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+41