summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* * doc/cursors.n: Mention "none" in supportedmdejong2006-12-171-1/+56
| | | | | | | | | | | | | | | | | | cursor list. Fix comment that incorrectly claims that the Win32 "no" cursor hides the cursor. * tests/cursor.test: Test "none" cursor. * unix/tkUnixCursor.c (CreateCursorFromTableOrFile, TkGetCursorByName): Define a table of Tk cursors that is searched in addition to the X cursor table. A Tk cursor is loaded from a data string and works with the same options as the built in X cursors. This code makes it possible to use "none" as a cursor name under Unix. * win/rc/cursor9a.cur: Added none Win32 cursor. * win/rc/tk_base.rc: Define a built-in Win32 cursor named "none". [Patch 1615427]
* Merged duplicate functionality between image element factory,jenglish2006-12-091-25/+2
| | | | | | image element, and -image option processing. Image element factory now takes an imageSpec argument instead of a separate image name and -map option.
* TIP#286 implementation. [Patch 1152376]dkf2006-12-041-2/+19
|
* TIP 300 IMPLEMENTATIONKevin B Kenny2006-12-011-4/+34
|
* * doc/wm.n, tests/winWm.test:hobbs2006-12-011-3/+24
| | | | * win/tkWinWm.c: add -transparentcolor attribute for Windows.
* * unix/tkUnixMenu.c (DrawMenuUnderline): bound Tcl_UtfAtIndex usagehobbs2006-11-241-1/+11
| | | | * tests/menu.test (menu-36.1): [Bug 1599877]
* * library/ttk/altTheme.tcl, library/ttk/clamTheme.tcl,jenglish2006-11-241-2/+2
| | | | | | | | | | library/ttk/defaults.tcl, library/ttk/winTheme.tcl, library/ttk/xpTheme.tcl: explicitly specify -anchor w on TMenubutton * tests/ttk/entry.test: Fixed font dependency; test entry-3.2 should work on all platforms now. * library/classicTheme.tcl: Don't define or use TkClassicDefaultFont. * generic/ttk/ttkTreeview.c, generic/ttk/ttkPanedwindow.c: Handle missing layouts.
* Workaround for #1583038jenglish2006-11-121-1/+1
|
* Miscellaneous minor changes to re-sync Ttk codebase with Tile CVS:jenglish2006-11-072-104/+3
| | | | | | fix comments damaged by overzealous search-and-destroy; removed obsolete [style default] synonym for [ttk::style configure]; removed other dead code.
* * doc/ttk_Geometry.3, doc/ttk_Theme.3, doc/ttk_button.n:hobbs2006-10-3116-0/+2827
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/ttk_checkbutton.n, doc/ttk_combobox.n, doc/ttk_dialog.n: * doc/ttk_entry.n, doc/ttk_frame.n, doc/ttk_image.n: * doc/ttk_intro.n, doc/ttk_label.n, doc/ttk_labelframe.n: * doc/ttk_menubutton.n, doc/ttk_notebook.n, doc/ttk_panedwindow.n: * doc/ttk_progressbar.n, doc/ttk_radiobutton.n, doc/ttk_scrollbar.n: * doc/ttk_separator.n, doc/ttk_sizegrip.n, doc/ttk_style.n: * doc/ttk_treeview.n, doc/ttk_widget.n,: * generic/ttk/ttk.decls, generic/ttk/ttkBlink.c: * generic/ttk/ttkButton.c, generic/ttk/ttkCache.c: * generic/ttk/ttkClamTheme.c, generic/ttk/ttkClassicTheme.c: * generic/ttk/ttkDecls.h, generic/ttk/ttkDefaultTheme.c: * generic/ttk/ttkElements.c, generic/ttk/ttkEntry.c: * generic/ttk/ttkFrame.c, generic/ttk/ttkImage.c: * generic/ttk/ttkInit.c, generic/ttk/ttkLabel.c: * generic/ttk/ttkLayout.c, generic/ttk/ttkManager.c: * generic/ttk/ttkManager.h, generic/ttk/ttkNotebook.c: * generic/ttk/ttkPanedwindow.c, generic/ttk/ttkProgress.c: * generic/ttk/ttkScale.c, generic/ttk/ttkScroll.c: * generic/ttk/ttkScrollbar.c, generic/ttk/ttkSeparator.c: * generic/ttk/ttkSquare.c, generic/ttk/ttkState.c: * generic/ttk/ttkStubInit.c, generic/ttk/ttkStubLib.c: * generic/ttk/ttkTagSet.c, generic/ttk/ttkTheme.c: * generic/ttk/ttkTheme.h, generic/ttk/ttkThemeInt.h: * generic/ttk/ttkTrace.c, generic/ttk/ttkTrack.c: * generic/ttk/ttkTreeview.c, generic/ttk/ttkWidget.c: * generic/ttk/ttkWidget.h: * library/demos/ttk_demo.tcl, library/demos/ttk_iconlib.tcl: * library/demos/ttk_repeater.tcl: * library/ttk/altTheme.tcl, library/ttk/aquaTheme.tcl: * library/ttk/button.tcl, library/ttk/clamTheme.tcl: * library/ttk/classicTheme.tcl, library/ttk/combobox.tcl: * library/ttk/cursors.tcl, library/ttk/defaults.tcl: * library/ttk/dialog.tcl, library/ttk/entry.tcl: * library/ttk/fonts.tcl, library/ttk/icons.tcl: * library/ttk/keynav.tcl, library/ttk/menubutton.tcl: * library/ttk/notebook.tcl, library/ttk/panedwindow.tcl: * library/ttk/progress.tcl, library/ttk/scale.tcl: * library/ttk/scrollbar.tcl, library/ttk/sizegrip.tcl: * library/ttk/treeview.tcl, library/ttk/ttk.tcl: * library/ttk/utils.tcl, library/ttk/winTheme.tcl: * library/ttk/xpTheme.tcl: * macosx/ttkMacOSXTheme.c: * tests/ttk/all.tcl, tests/ttk/bwidget.test, tests/ttk/combobox.test: * tests/ttk/entry.test, tests/ttk/image.test: * tests/ttk/labelframe.test, tests/ttk/layout.test: * tests/ttk/misc.test, tests/ttk/notebook.test: * tests/ttk/panedwindow.test, tests/ttk/progressbar.test: * tests/ttk/scrollbar.test, tests/ttk/treetags.test: * tests/ttk/treeview.test, tests/ttk/ttk.test, tests/ttk/validate.test: * win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c: First import of Ttk themed Tk widgets as branched from tile 0.7.8 * generic/tkInt.h, generic/tkWindow.c: add Ttk_Init call, copy tk classic widgets to ::tk namespace. * library/tk.tcl: add source of ttk/ttk.tcl, define $::ttk::library. * unix/Makefile.in, win/Makefile.in: add Ttk build bits * win/configure, win/configure.in: check for uxtheme.h (XP theme).
* generic/tkText.c: Applied suggested patch from #1536735patthoyts2006-10-175-39/+48
| | | | | | | | tests/text.test: Update test for above patch. tests/textWind.test: Corrected test to catch all messages tests/safe.test: Silence spurious win32 failure awaiting TIP150 tests/winDialog.test: Updated test for file name length check. test/winWm.test: Corrected test expectation for menu wrapping.
* Added test suggested by Sam <baudinm@yahoo.com> on c.l.tdkf2006-08-181-186/+9
|
* * tests/entry.test (entry-22.1):hobbs2006-05-292-2/+26
| | | | | | | * tests/listbox.test (listbox-6.15): * generic/tkListbox.c (ListboxInsertSubCmd, ListboxDeleteSubCmd): Ignore Tcl_SetVar2Ex failure of listVarName, similar to entry widget handling. [Bug 1424513]
* scrollbar.test fixes for TkAquavincentdarley2006-04-231-3/+11
|
* fix tests for TkAquavincentdarley2006-04-181-1/+3
|
* fix tests for TkAquavincentdarley2006-04-182-2/+6
|
* * generic/tkWindow.c (Tk_NameToWindow): Allow NULL interp topspjuth2006-04-111-1/+71
| | | | | | | | Tk_NameToWindow. This fixes TkGetWindowFromObj which promises to handle NULL but didn't. * generic/tkGrid.c: Fixed handling of out of bounds row or column. * tests/grid.test: [Bug 1432666]
* * tests/textWind.test (textWind-10.6.1): prevent infinite updatehobbs2006-04-051-2/+3
| | | | loop in case of test failure
* * tests/grid.test: fix segfault on empty or "all" index listhobbs2006-04-051-1/+31
| | | | * generic/tkGrid.c (GridRowColumnConfigureCommand): [Bug 1422430]
* (wm-attributes-1.2.4): correct expected resulthobbs2006-04-051-2/+6
|
* Revised test to account for changed error messagedgp2006-04-051-3/+3
|
* further fixes to $text dump -commandvincentdarley2006-03-281-1/+27
|
* Oops, forgot that this test should return an error...dkf2006-03-271-4/+6
|
* Fix (and add test for) [Bug 1458234]dkf2006-03-271-3/+15
|