summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug #1941740: tk_chooseColor -title was broken in revision 1.40 after ↵patthoyts2008-04-141-5/+75
| | | | some code cleanup. Added tests for this windows dialog to avoid regression.
* Forgot to add this yesterdaypatthoyts2008-04-091-0/+48
|
* * generic/tkWindow.c (Initialize): fix double-free on Tk_ParseArgvhobbs2008-04-071-1/+25
| | | | * tests/main.test (main-3.*): error. [Bug 1937135]
* Rewrote so that tests clean up after themselves, not after the preceding test.dkf2008-03-201-885/+945
|
* Arrange to deliver <<ComboboxSelected>> event after listbox is unposted,jenglish2008-02-231-2/+22
| | | | as intended [Bug 1890211]. Clarified documentation.
* * generic/tkImgGIF.c: Fixed a buffer overflow (CVE-2006-4484).rmax2008-02-011-1/+42
| | | | * tests/imgPhoto.test: Added a test for the above.
* Fix MouseWheel bindings for ttk::treeview widgetjenglish2008-01-061-82/+79
| | | | (Fixes #1442006, #1821939, #1862692)
* merge stable branch onto HEADdgp2007-12-1322-22/+22
|
* * generic/tkText.c (DeleteIndexRange, TextEditCmd, UpdateDirtyFlag):hobbs2007-12-131-1/+36
| | | | | | | * tests/text.test (text-25.10.1,25.11.[12]): Don't require [update idle] to trigger Modified event [Bug 1809538] Modified virtual event should only fire on state change [Bug 1799782] Make sure we delete chars before triggering <<Modified>> [Bug 1737288]
* Added code to rebuild the from index after the deletion phase so that thedkf2007-12-111-1/+10
| | | | linePtr field is valid for the insertion phase. [Bug 1602537]
* Update for 'unload' as a safe command (tcl 8.5b3+)patthoyts2007-12-101-3/+3
|
* * generic/tkImgPPM.c (StringReadPPM): Corrected a comparisonKevin B Kenny2007-11-261-1/+14
| | | | | | | whose sense was reversed that resulted in reading beyond the end of the input buffer on malformed PPM data. [Bug #1822391] * tests/imgPPM.test (imgPPM-4.1): Added test case that exercises [Bug #1822391].
* * library/tkfbox.tcl (VerifyFileName): Corrected a coupleKevin B Kenny2007-11-261-1/+64
| | | | | | | | of typos in handling of bad file names. [Bug #1822076] * tests/filebox.test (filebox-7.1, filebox-7.2): Added test cases that exercise the above bug. Thanks to Christoph Bauer (fridolin@users.sf.net) for the patch.
* Internal Ttk_Manager API updates; Fixed [Bug 1343984];jenglish2007-11-252-10/+96
| | | | | | Added [$nb hide] method; [$nb add] on already-managed windows no longer throws an error, can be used to re-add a hidden tab. Updated docs and test suite.
* Improved the tests for ttk::style element create argspatthoyts2007-11-251-3/+3
|
* Fixed crash bug in style element createpatthoyts2007-11-191-0/+13
|
* Only check for -displayof if there are sufficient arguments. This permits ↵patthoyts2007-11-171-3/+12
| | | | checking strings like -d.
* Swap in core scrollbars for [ttk::scrollbar]s on OSX.jenglish2007-11-171-1/+32
|
* * tests/listbox.test, tests/panedwindow.test, tests/scrollbar.test:hobbs2007-10-303-18/+18
| | | | | | | | | | | | | | | | * library/bgerror.tcl, library/dialog.tcl, library/listbox.tcl: * library/msgbox.tcl, library/optMenu.tcl, library/tclIndex: * library/tkfbox.tcl, library/demos/floor.tcl, library/demos/rmt: * library/demos/tcolor, library/demos/text.tcl: * library/demos/twind.tcl, library/demos/widget: Buh-bye Motif look * library/ttk/fonts.tcl: Update of Tk default look in 8.5 * macosx/tkMacOSXDefault.h: Trims border sizes, cleaner X11 look * unix/tkUnixDefault.h: with minor modifications for Win32/Aqua. * win/tkWinDefault.h: Uses Tk*Font definitions throughout for * win/tkWinFont.c: classic widgets. [Bug #1820344] * library/obsolete.tcl (::tk::classic::restore): This restores changes made to defaults in 8.5 using the 'option' command, segmented into logical groups.
* * tests/winfo.test: winfo-4.5 raise .t to above . for Windowshobbs2007-10-301-1/+2
|
* * tests/unixWm.test: note TIP#142 results and remove unnecessaryhobbs2007-10-301-150/+148
| | | | catches.
* ttk::notebook: reworked [$nb insert] logic (fixes multiple bugs; see #1817596)jenglish2007-10-251-2/+29
|
* * doc/getOpenFile.n: TIP#242 implementation of -typevariable tohobbs2007-10-252-6/+27
| | | | | | | | | * library/tkfbox.tcl: return type of selected file in file dialogs. * library/xmfbox.tcl: [Bug #1156388] * macosx/tkMacOSXDialog.c: * tests/filebox.test: * tests/winDialog.test: * win/tkWinDialog.c:
* * tests/cursor.test: Make tests robust against changes in Tcl'sdgp2007-10-231-2/+2
| | | | rules for accepting integers in octal format.
* * generic/tkFocus.c, generic/tkFrame.c, generic/tkInt.h:hobbs2007-10-151-2/+48
| | | | | | | | * macosx/tkMacOSXButton.c, macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXWm.c, unix/tkUnixWm.c, win/tkWinWm.c: * doc/wm.n, tests/wm.test: TIP #125 implementation [Bug 998125] Adds [wm manage|forget] for dockable frames. Finished X11 and Windows code, needs OS X completion.
* Make Ttk_GetImage safe if called with NULL interp. Added some testspatthoyts2007-10-091-1/+34
| | | | that crash on Windows without this fix.
* Only call callbacks that are not NULL. [Bug 1791052]dkf2007-09-201-12/+29
|
* Made ttk/all.tcl be the same as tk's all.tcl and make use of file normalizepatthoyts2007-09-182-12/+20
|
* * generic/tkImgGIF.c: Fixed a buffer overrun that got triggered byrmax2007-09-111-1/+13
| | | | | | | multi-frame interlaced GIFs that contain subsequent frames that are smaller than the first one. * tests/imgPhoto.test: Added a test for the above.
* Fix the line-endings.patthoyts2007-08-211-22/+22
|
* whitespace fixdkf2007-08-181-2/+2
|
* Update to reflect the fact that this is the 8.5 test suitedkf2007-08-181-22/+22
|
* Fix bug #1692927 (buffer length problems). Added 'testfindwindow' and ↵patthoyts2007-08-011-0/+299
| | | | | | | 'testgetwindowinfo' and extended 'testwinevent' for WM_COMMAND support to enable testing native messagebox dialogs and added a new test file to use these functions.
* Added -width and -height options.jenglish2007-06-101-2/+49
| | | | | | | Added 'panes' method, return list of managed windows. 'sashpos' method is now documented as part of the public interface, and details clarified. Should be easier to set initial sash positions now [Alleviates #1659067].
* Ttk_Manager API overhaul:jenglish2007-06-092-4/+48
| | | | | | | | | | | + Ttk_Manager no longer responsible for managing slave records + Ttk_Manager structure now opaque + Ttk_Slave structure now private + Pass Ttk_Manager * to Tk_GeomMgr hooks instead of Ttk_Slave * ttk::labelframe: Simplified -labelwidget management. ttk::noteboook 'insert' command didn't correctly maintain current tab. Changed documentation of ttk::panedwindow 'identify' command to match implementation.
* Removed tk/tests/ttk/misc.test -- ttk::dialog tests, not appropriate for core.jenglish2007-05-251-33/+0
|
* EntrySetValue: Ensure that widget is in a consistent state before settingjenglish2007-05-181-0/+21
| | | | | the linked -textvariable. Previously, it was possible for [$e index insert] to point past the end of the string, leading to heap corruption [Bug 1721532].
* * tests/ttk/treetags.test: Another bit of test suitedgp2007-05-181-1/+2
| | | | SCIM-tolerance. [Bug 1609316]
* * library/choosedir.tcl: Removed uses of obsolete {expand}dgp2007-05-162-5/+5
| | | | | | | * library/comdlg.tcl: syntax; replaced with the now * library/tk.tcl: approved {*}. [Bug 1710633] * tests/canvImg.test: * tests/imgPhoto.test:
* duplicate test namesdgp2007-05-162-4/+4
|
* * tests/bind.test: Make test suite more SCIM-tolerant [Bug 1609316]dgp2007-05-161-1/+3
|
* [Tk Bug 1712081]dgp2007-05-142-2/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * unix/Makefile.in: Updates to account for new and deleted files * win/Makefile.in: tkStubImg.c and tkOldTest.c. * win/makefile.bc: * win/makefile.vc: * generic/tkOldTest.c (new): New file used to create testing * generic/tkTest.c: commands for testing various Tk * tests/constraints.tcl: legacy interfaces where a separate * tests/image.test: compilation unit is needed in order to #define suitable macros during compilation. Only the effect of USE_OLD_IMAGE on Tk_CreateImageType() is currently tested, but more similar testing commands can be added to this same file. New constraint defined to detect presence of the image type provided by the new testing code, and a few tests added to exercise it. Having USE_OLD_IMAGE support tested by the default test suite should reduce chance of a recurrence of this bug. * doc/CrtImgType.3: Revised docs to better indicate the legacy * doc/CrtPhImgFmt.3: nature of the interfaces supported by USE_OLD_IMAGE. * generic/tkDecls.h: make genstubs * generic/tkStubInit.c: * generic/tk.decls: Reworked USE_OLD_IMAGE support to use * generic/tk.h: the same support mechanisms both with * generic/tkStubImg.c (deleted):and without a stub-enabled build. In each case, route the legacy calls to Tk_CreateImageType and Tk_CreatePhotoImageFormat through the Tk_CreateOldImageType and Tk_CreateOldPhotoImageFormat routines. Add those routines to the public stub table so they're available to a stub-enabled extension. Remove the definition of Tk_InitImageArgs() and use a macro to convert any calls to it in source code into a comment. * generic/tkImage.c: Removed the MODULE_SCOPE declarations that * generic/tkImgPhoto.c: broke USE_OLD_IMAGE support.
* specify font to avoid uncertainty in the result on windows xppatthoyts2007-05-111-2/+2
|
* Avoid font dependencies in the resultspatthoyts2007-05-111-5/+5
|
* * tests/constraints.tcl: ensure 'nonUnixUserInteraction' constraint isdas2007-05-097-23/+24
| | | | | | | | | | | set for aqua. * tests/choosedir.test: add 'notAqua' constraints to X11-only tests; * tests/clrpick.test: add 'nonUnixUserInteraction' to 'unix' tests * tests/menuDraw.test: requiring interaction on aqua. * tests/unixMenu.test: * tests/unixWm.test: * tests/winMenu.test:
* (font-46.[12]): correct listification of resulthobbs2007-04-241-5/+5
|
* *Correct* fix for #1676770:jenglish2007-03-091-1/+3
| | | | reset wm geometry . and pack propagate . at end of test.
* test grid-21.7: Remove 'pack propagate . 0' call,jenglish2007-03-081-2/+1
| | | | which was causing cascading failures in subsequent tests [Bug 1676770].
* Fixed grid anchor center problem in labelframes. [Bug 1545765]pspjuth2007-02-251-1/+30
|
* * tests/wm.test: Update wm attributes outputmdejong2006-12-281-4/+4
| | | | | so that tests pass after addition of -transparentcolor for Win32.