summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* backport auto_path trimdown to speed up safe.testdgp2005-06-061-1/+5
|
* * generic/tkPanedWindow.c, tests/panedwindow.test: batch of fixeshobbs2005-05-311-2/+58
| | | | | | | to panedwindow from Daniel South. Improved auto-size to fit internal windows, fixed sash placement at edge of pane, fixed calculation of stretch amount for internal windows. [Bug 1124198 1161543 1054117 1010941 795869 690169 1192323]
* backport of text widget bug fixvincentdarley2005-05-131-1/+12
|
* Encourage missing-DISPLAY errors to be early in run of test suite.dkf2005-02-141-1/+2
|
* unix/tkUnixWm.c: Sync with CVS HEAD (r1.47):jenglish2005-01-142-8/+8
| | | | | | | | | | | | | Fixes: #959973 "wm title bug" (support Unicode titles) Fixes: #742882 "Potential division by zero in gridded wm geometry" Use Tcl_GetTime instead of TclpGetTime [#874745] Use Tcl_Panic() instead of "panic" [#865264] Fixes: #632816 "cannot remove transient" Fixes: #568861 "Fix for wm minsize and maxsize commands" tests/unixWm.test, tests/wm.test: Updated test suite for #632816 (unixWm-37.3, unixWm-37.4, wm-grid-1.11, wm-grid-1.12) and #742882 (unixWm-20.9, unixWm-20.11).
* * tests/wm.test: Add Win32 test cases for attributesmdejong2004-10-291-2/+17
| | | | | | subcommand. * win/tkWinWm.c (WmAttributesCmd): Fixup broken option processing logic for attributes subcommand.
* * library/tk.tcl (::tk::PlaceWindow): Backported the fix frompatthoyts2004-10-291-13/+1
| | | | #533519 to handle window placement on multi-monitor Windows.
* * tests/safe.test (safe-1.3): Made test less sensitve to thedgp2004-10-261-3/+3
| | | | | | | | | full set of existing aliases in an interp, so the it only tests whether the tested ones are present. * unix/Makefile.in: Copied LD_LIBRARY_PATH machinery from `make shell` target to other similar targets so that just built libraries are tested, rather than previous installations.
* Backport of 8.5 wm iconphoto that added support for Tk photohobbs2004-10-053-6/+49
| | | | | | | | * generic/tkInt.h (TkDisplay): images as titlebar icons. TIP #159 * win/tkWinWm.c (WmIconphotoCmd): wm iconphoto ?-default? image1 ... * macosx/tkMacOSXWm.c (WmIconphotoCmd): Implemented for Win/Unix, * unix/tkUnixWm.c (WmIconphotoCmd): stubbed out for OS X. * tests/wm.test, tests/unixWm.test, tests/winWm.test: [Bug 815751]
* missed wm attr testhobbs2004-09-191-2/+2
|
* patch 892194 TIP#222 changeshobbs2004-09-171-6/+49
|
* * win/tkWinWm.c (UpdateWrapper): Ensure that we maintain Z orderhobbs2004-09-171-5/+26
| | | | | | | * tests/winWm.test: and focus of preexisting window when replacing the wrapper window. * win/tkWinWm.c (WmIconwindowCmd): Replace bogus call to XWithdrawWindow with proper code. (mdejong)
* Fixed a memory leak when a placed widget was forgotten. [Bug 1028888]pspjuth2004-09-161-1/+45
|
* * tests/canvText.test:mdejong2004-08-091-1/+56
| | | | | | | | | * win/tkWinFont.c (Tk_MeasureChars): Fix for text wrapping problem that appeared using canvas text under Win32. A long wrapping string that had leading spaces was being incorrectly wrapped. This change makes the Win32 implementation behave the same as the Unix implementation. [Patch 100628
* * tests/panedwindow.test: panedwindow-25.1hobbs2004-05-031-7/+26
| | | | | * generic/tkPanedWindow.c (Unlink): clean up -before/-after refs to a slave when removing it. [Bug #928413] (griffin)
* Fixed a bug in grid geometry calculations forpspjuth2004-02-181-2/+26
| | | | a shrinking grid. [Bug 899246]
* * tests/imgPhoto.test (imgPhoto-16.1): Corrected incorrectdgp2004-02-171-2/+2
| | | | variable name [Bug 899010].
* * win/tkWinFont.c (Tk_MeasureChars): backport fixes to bold/italichobbs2004-02-141-1/+25
| | | | | | font handling. [Patch 852669] [Bug 478568] * tests/textDisp.test: added test for the font measurement problem.
* simple code cleanuphobbs2004-02-131-45/+12
|
* Stop crashes when copying a large photo to itself causes resizing. [Bug 877950]dkf2004-02-091-1/+9
|
* Backported fix for bug #776646 which makes hand2 and fleur native on windows.patthoyts2004-01-281-1/+152
|
* * tests/focusTcl.test (setup1): expand frame size to allow forhobbs2003-10-291-2/+2
| | | | correct visibility of windows that use larger default fonts.
* * unix/mkLinks:hobbs2003-10-131-3/+3
| | | | * doc/GetHWND.3: add Tk_AttachHWND docs [Bug #220803]
* * generic/tkImage.c: Stopped [image create] from generating andgp2003-09-171-1/+13
| | | | | * tests/image.test: image command name that would overwrite an existing command name. Thanks to Michael Schlenker. [Bug 808039].
* * library/scale.tcl: Fix for bug #787065 for Button-2 press.patthoyts2003-08-131-1/+51
| | | | * tests/scale.test: Added test for this bug.
* Fix for [Bug 702230], and what an evil bug that is!dkf2003-07-181-1/+18
|
* * generic/tkPanedWindow.c (ArrangePanes): Ensure that the last panehobbs2003-07-171-2/+23
| | | | | * tests/panedwindow.test: shrinks instead of being clipped when resized below the reqsize. [Bug 748277] (spjuth)
* Make sure all options can be setpspjuth2003-07-161-4/+29
| | | | to their default value. [Bug #697652]
* menu clone cleanup bug fixvincentdarley2003-07-151-2/+2
|
* Stop xhost smash by the test suite; that can render a machine unusable.dkf2003-07-091-4/+4
|
* * generic/tkCanvPoly.c (PolygonToPostscript):hobbs2003-05-111-14/+8
| | | | | * tests/canvPs.test: correct crash when generating postscript for a single-line polygon (point) with no color. [Bug #734498] (wilm)
* * tests/unixWm.test (unixWm-41.2): Corrected typo in 2003-03-13dgp2003-03-181-2/+2
| | | | commit. Thanks Larry Virden. [Bug 705567]
* * tests/unixWm.test: Constrained all tests older than revision 1.21dgp2003-03-132-171/+172
| | | | | | to run only on Unix. Alternative approach did not match maintainer habits. * tests/spinbox.test (spinbox-17.4): Avoid long failure message.
* Make all %-expansions generate ?? when their event doesn't have the rightdkf2003-02-281-1/+8
| | | | underlying field to prevent a crash on Windows. [Bug #612110]
* * generic/tkListbox.c (ListboxSelectionSubCmd):hobbs2003-02-251-1/+14
| | | | | * tests/listbox.test: Allow 'selection includes' to respond when disabled (but only 'includes'). [Bug #632514]
* * unix/tkUnixButton.c (TkpDisplayButton): Correct visual displayhobbs2003-02-251-14/+30
| | | | | of disabled check/radiobutton to be more distinctive on unix. * tests/unixButton.test: [Bug #669595] (hintermayer)
* * generic/tkEntry.c (SpinboxWidgetObjCmd, EntryWidgetObjCmd):hobbs2003-02-252-2/+32
| | | | | | | * tests/entry.test: return 1 if selection is present even if * tests/spinbox.test: entry/spinbox is disabled, as selection get will still return the selection (although selection still ignore modify requests when entry/spinbox is disabled). [Bug #637828]
* Use the panedwindow's depth, not the screen's default depth. [Bug #671122]dkf2003-02-212-1/+15
|
* * tests/panedwindow.test:hobbs2003-02-211-32/+51
| | | | | * generic/tkPanedWindow.c (ValidSashIndex): corrected to note that 2 panes must exist before any one sash does. [tcllib Bug #689258]
* Fixed calculation of the last slave'spspjuth2003-02-201-1/+48
| | | | size when increasing the size of the panedwindow. [Bug #689099]
* * 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.
* * generic/tkCanvArc.c (CreateArc): Rework canvas create itemhobbs2003-02-093-6/+28
| | | | | | | | | | | | | | * generic/tkCanvBmap.c (CreateBitmap): type coords handling to be * generic/tkCanvImg.c (CreateImage): consistent across types * generic/tkCanvPoly.c (CreatePolygon): and not pass empty coords * generic/tkCanvLine.c (CreateLine): to item creation procs. * generic/tkCanvText.c (CreateText): * generic/tkCanvWind.c (CreateWinItem): * generic/tkCanvas.c (CanvasWidgetCmd CANV_CREATE): * generic/tkRectOval.c (CreateRectOval): * tests/canvRect.test: * tests/canvText.test: * tests/canvas.test:
* Moved 'deletionEpoch' field from TkDisplay to TkMainInfo.jenglish2003-01-281-1/+9
| | | | | Reworked windowObj type. Fixes Tk Bug #671330 "segfault when e.g. deiconifying destroyed window"
* * generic/tkImage.c (Tk_ImageObjCmd): Added check to make suredkf2003-01-221-4/+13
| | | | | | | | | | | | that you're not creating an image named the same as .'s command, which refixes 220891, even when the name of the command has been changed with 'rename'. The error message is better too. * generic/tkFrame.c (TkToplevelWindowForCommand): Added way of mapping from command names to tkwins-for-toplevels. * tests/image.test (image-1.10,image-1.11): Updated to match new error message and added test for the rename case. * generic/tclInt.decls: Made TkToplevelWindowForCommand exported privately.
* * generic/tkSelect.c (Tk_CreateSelHandler):jenglish2003-01-141-1/+11
| | | | | Fix for #666346 "Selection handling crashes under KDE 3.0" * tests/unixSelect.test (unixSelect-1.20): Added test case.
* * 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/wm.test: Add wm-transient-6.3 tomdejong2002-12-011-1/+16
| | | | | | | | | | | check that a transient remains withdrawn when it is first withdrawn and then turned into a transient. * unix/tkUnixWm.c: * win/tkWinWm.c: Replace WM_TRANSIENT_WITHDRAWN with WM_WITHDRAWN and set this flag whenever a window is explicitly withdrawn. This fixes the test case added above. [Bug 644356]
* * tests/textDisp.test:hobbs2002-11-221-1/+12
| | | | | * generic/tkTextDisp.c (TkTextSeeCmd): handle see for unmapped text displays. [Bug #641778]
* * 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]
* * tests/unixWm.test: Add short delay to test unixWm-51.7mdejong2002-11-071-1/+3
| | | | | to account for raise/lower changes in TIP 107. This allows the test case to pass under Window Maker on Linux.