summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixed handling of -mustexist flag for tk_chooseDirectory.ericm2000-02-141-0/+122
|
* * tests/scrollbar.test: fixed check of testmetrics command tohobbs2000-02-101-11/+12
| | | | allow unix tests to run (testmetrics is mac/pc only)
* * tests/canvText.test: test for fix for bug #2525.ericm2000-02-031-1/+16
| | | | | | | * generic/tkFont.c (Tk_ComputeTextLayout): Was erroneously setting the width of newline-only text display chunks to some arbitrary huge number, instead of 0; this was interfering with things like the canvas find enclosed feature. (bug #2525).
* * tests/text.test:ericm2000-02-031-1/+15
| | | | | | | * generic/tkText.c (DumpLine/DumpSegment): Changed DumpSegment to take a TkTextIndex instead of two integer offsets, so that it could use TkTextPrintIndex to format the offsets into an index, which makes it UTF smart (bug #2582).
* * tests/listbox.test: corrected test case for listbox itemconfigurehobbs2000-02-011-3/+3
|
* * tests/text.test:ericm2000-01-211-1/+8
| | | | | * generic/tkText.c: Fixed bug relating to regexp searching for empty lines; previously, the starting line was ignored. (bug #1643).
* * tests/text.test:hobbs2000-01-211-8/+8
| | | | | * generic/tkText.c: fixed missing " in error case and missing 'dump' in subcommand listing [Bug: 4036]
* * tests/grid.test: Added a test for the consecutive ^ and multipleericm2000-01-201-1/+17
| | | | | | | | | | | | widget case (bug #1386). * generic/tkGrid.c: Fixed interpretation of consecutive ^ characters in grid command. Previously, ^ ^ was interpreted as meaning that there must be a 2-column widget above to extend, neglecting the case where there was actually 2 1-column widgets above. Now, ^ ^ is interpreted as a possible width; the gridder will consume as many ^'s as there are columns in the widget, and leave the rest for the extension of other widgets. (bug #1386).
* * tests/text.test: changed test to reflect change of -hiddenhobbs2000-01-131-2/+2
| | | | to -elide in search options.
* * tests/winWm.test:hobbs2000-01-122-5/+41
| | | | | | | | | | | * tests/unixWm.test: * mac/tkMacWm.c: * unix/tkUnixWm.c: fixed possible X error being raised [Bug: 3377] * win/tkWinWm.c: wm deiconify in zoom state [Bug: 2077], fixed possible flashing of unmapped toplevel in deiconify [Bug: 3338] and fixed mapping of transient window [Bug: 572] Also, for all wm's, extended 'wm state' command to allow setting of the state, and added official support of 'zoomed' state on Win.
* * tests/unixWm.test: nonPOrtable -> nonPortablehobbs1999-12-221-2/+2
|
* * scale.test:hobbs1999-12-212-32/+11
| | | | | | * generic/tkScale.c: * generic/tkScale.h: fixed possible core when freeing options (cursor) associated with scale widget [Bug: 3897]
* added tests for tk useinputmethodshobbs1999-12-161-16/+36
|
* Added a couple of extra update calls to prevent some window managers fromwart1999-12-161-1/+3
| | | | forcing users to manually place toplevels.
* * tests/bind.test:hobbs1999-12-1424-122/+430
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * tests/imgPPM.test: fixed test 2.2 to use -format ppm (sincehobbs1999-12-031-2/+2
| | | | we know have GIF write capability)
* minor whitespace cleanuphobbs1999-11-302-38/+8
|
* * tests/listbox.test: Added a test to check that the topIndex isericm1999-11-241-1/+20
| | | | | | | update when items are removed from the listvar variable. * generic/tkListbox.c: Added a check the updates the topIndex when items are removed from the listvar variable.
* Additions to update vertical scrollbar info for listboxes when listvar changes.ericm1999-11-241-2/+12
|
* * tests/listbox.test: Added tests for itemcget and itemconfigure.ericm1999-11-191-6/+166
| | | | | | | | * doc/listbox.n: Added documentation for -listvar option and for itemconfigure and itemcget commands. * generic/tkListbox.c: Added support for itemconfigure/itemcget listbox subcommands (addresses rfe #936)
* * tests/listbox.test: Updated tests for new error messages.ericm1999-11-181-5/+6
| | | | * generic/tkListbox.c: Improved error messages for bad -listvar's.
* * tests/listbox.test: Added tests for bad -listvar's.ericm1999-11-181-2/+19
| | | | | * generic/tkListbox.c: Added handlers for bad -listvar's (ie, bad lists)
* * tests/listbox.test: Added tests for ListboxUpdateHScrollbar.ericm1999-11-171-1/+42
| | | | | * generic/tkListbox.c: Changed some old static buffers to base size on TCL_DOUBLLE_SPACE instead of (completely) hardcoding the size.
* * tests/listbox.test: New tests for -listvar functionality, and anericm1999-11-171-2/+157
| | | | | | odd extra case that wasn't covered before. * generic/tkListbox.c: Tests exposed some bugs, now fixed.
* * tests/listbox.test: Fixed tests to comply with new objectifiedericm1999-11-171-24/+12
| | | | | | | | error messages. No -listvar specific tests yet. * win/tkWinDefault.h: * unix/tkUnixDefault.h: * mac/tkMacDefault.h: Added default value for -listvar option.
* Removed bad option "-geometry" to toplevelwart1999-11-131-2/+2
|
* Added "wm geometry" calls in some tests that were waiting for the user towart1999-11-125-6/+12
| | | | | place a window manually. The Tk test suite can now run on twm with no user intervention.
* * tests/imgPhoto.test: added Img patch (Nijtmans) with docs,hobbs1999-10-291-5/+5
| | | | | headers #def'd with USE_OLD_IMAGE. Upgrades image stuff to Tcl_Obj API, adds alpha channel (images are now 32 bpp)
* Run these tests only if "testmetrics" is defined (i.e. tktest isjenn1999-08-181-1/+9
| | | | being used).
* Call cleanupTests after defs has been loadedjenn1999-08-181-5/+5
|
* Added missing cleanupTests before returnjenn1999-07-121-1/+2
|
* * tests/unixSelect.test: Fixed broken test.stanton1999-07-091-2/+8
| | | | | | | | | | * win/makefile.vc: Added special case target to ensure that tkStubLib.obj is built with -DSTATIC_BUILD. * win/tkWinX.c (TkWinChildProc): Changed to pass WM_WINDOWPOSCHANGED through to DefWindowProc to make OpenGL sub-windows happy. This allows Windows to generate the WM_SIZE and WM_MOVE messages.
* Added calls to cleanupTests before return statements.jenn1999-07-082-2/+4
|
* Added bug ID to comment about channel I/O bugjenn1999-06-191-2/+2
|
* * unix/tkUnixSelect.c:stanton1999-06-031-0/+238
| | | | | | * tests/unixSelect.test: * generic/tkSelect.c: Fixed selection code to handle Unicode data in COMPOUND_TEXT and STRING selections. [Bug: 1791]
* First pass at Unicode support in X selection code.stanton1999-05-252-28/+13
|
* Merged changes from scriptics-tclpro-1-3-b2 branchstanton1999-05-221-1/+6
|
* Merged 8-1-0 into mainline.rjohnson1999-04-219-9/+9
|
* Fixed bug 1777 - bug in displaying selection.rjohnson1999-04-201-1/+14
|
* linthershey1999-04-201-12/+22
|
* update defs.tcl to be the same as tcl8.1/tests/defs.tclhershey1999-04-201-2/+93
|
* Added new tests to scale and text.rjohnson1999-04-202-3/+30
| | | | Fixed core dump in text serach code: Bug 1642
* changed tests--marked some nonPortable; added new constraints to fix bug 1770hershey1999-04-197-15/+29
|
* * Merged 8.1 branch into the main trunkstanton1999-04-1699-2671/+8632
|
* * Merged changes from 8.0.5:stanton1999-04-163-6/+22
| | | | - Updated for Mac release
* all file now exits only when Tk is not in interactive mode.hershey1999-03-241-3/+5
|
* * tests/main.test:stanton1999-02-042-2/+8
| | | | | | * tests/unixWm.test: Better cleanup of temporary files. Lint.
* * generic/tkGrid.c: Fixed bug in "grid forget" that failed to cancelscriptics_tclpro_1_2_b1stanton1999-01-061-19/+28
| | | | pending idle handlers, resulting in a crash in a few odd cases.
* now removes "script" file created by test.scriptics_tclpro_1_2_a1hershey1998-12-291-1/+2
|
* added "cleanupbg" call before return, needed because tests return earlyhershey1998-12-082-2/+4
| | | | if tktest is not the interp.