summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* corrected test numberinghobbs2002-06-141-4/+4
|
* TIP#98 implementation; improved photo image copy and GIF frame accessdkf2002-06-141-6/+43
|
* * tests/winfo.test: Add basic tests for winfo ismapped.mdejong2002-06-141-1/+23
|
* * tests/unixWm.test:mdejong2002-06-132-46/+62
| | | | | * tests/wm.test: Move wm minsize and wm maxsize usage tests into the cross platform wm tests.
* * tests/cursor.test: corrected error after cursor-2.2.dgp2002-06-132-4/+8
| | | | | * tests/defs.tcl: Added enhancements to Tk's fake version of tcltest required by recent cursor.test changes.
* Refixed cursor handling on Windows, and added tests to enforce it.dkf2002-06-131-24/+48
|
* * changes: Add note about new transient behavior.mdejong2002-06-122-5/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/unixWm.test: Check that the WM_TRANSIENT_FOR property for a transient window is being cleared when the master is destroyed. * tests/wm.test: Source defs.tcl instead of using tcltest to match the rest of Tk's test files. Add new tests that ensure that a transient's state mirrors the state of the master. * unix/tkUnixWm.c (WmInfo, TkWmNewWindow, TkWmMapWindow, TkWmDeadWindow, Tk_WmCmd, WmWaitMapProc): Add numTransients member to WmInfo structure. Keep state of master and transient in sync using a callback that tracks MapNotify and UnmapNotify events. When the master is mapped, map the transient. When the master is unmapped or iconified, withdraw the transient. * win/tkWinWm.c (TkWmMapWindow, TkpWmSetState, TkWmDeadWindow, Tk_WmCmd, WmWaitVisibilityOrMapProc): Keep state of master and transient in sync using a callback that tracks MapNotify and UnmapNotify events. Move masterPtr check from TkpWmSetState into TkWmMapWindow to deal with WM_NEVER_MAPPED transients. Cleanup numTransients and the callback in TkWmDeadWindow. Cleanup numTransients and the callback only after deleting a master in wm transient command to avoid deleting the callback when an error is raised. Add support for MapNotify and UnmapNotify events to the master callback.
* * changes: Document [wm transient .t .t] error.mdejong2002-05-271-1/+37
| | | | | | | | | | | | | | * tests/wm.test: Check that setting a window as a transient of itself raises an error. Check that passing a non-toplevel window to the wm transient command uses the enclosing toplevel. * unix/tkUnixWm.c (Tk_WmCmd): Raise an error if the user tries to make a toplevel a transient of itself. * win/tkWinWm.c (Tk_WmCmd): Raise an error if the user tries to make a toplevel a transient of itself. Test for other error before checking for the transient self error.
* * generic/tkInt.decls: Add unix decl for TkpWmSetState.mdejong2002-05-271-1/+145
| | | | | | | | | | | * generic/tkIntPlatDecls.h: Regen. * generic/tkStubInit.c: Regen. * tests/wm.test: Test state changes between iconic, normal, and withdrawn both before and after initial mapping. * unix/tkUnixWm.c (Tk_WmCmd, TkpWmSetState): Move state change code into TkpWmSetState to more closely match the Win32 implementation. No functional changes.
* * tests/embed.test: Added cross platform embed tests.mdejong2002-05-272-3/+58
| | | | | | | | | | | | | | Check that window passed to -use has the -container option set. * tests/wm.test: Remove useless catch call. Deiconify . just in case, stackorder tests will not pass unless it is in the normal state. Add -container flag to embedded stackorder test. * unix/tkUnixEmbed.c (TkpUseWindow): * win/tkWinEmbed.c (TkpUseWindow): Lookup Tk window based on the id passed in as the value for -use. Generate an error if the Tk window did not have the -container option set.
* * mac/tkMacWm.c (Tk_WmCmd):mdejong2002-05-242-8/+44
| | | | | | | | | | | * tests/unixWm.test: Move wm transient checks over to wm.test so they will be run on all systems. * tests/wm.test: Add tests to check for error when an iconwindow is passed to the wm transient command. * unix/tkUnixWm.c (Tk_WmCmd): * win/tkWinWm.c (Tk_WmCmd): Raise an error if one of the windows passed to the wm transient command is an iconwindow for another toplevel.
* * mac/tkMacWm.c (TkWmStackorderToplevelWrapperMap):mdejong2002-05-231-6/+9
| | | | | | | | * tests/wm.test: Add embedded Window test case for the stackorder command. * unix/tkUnixWm.c (TkWmStackorderToplevelWrapperMap): * win/tkWinWm.c (TkWmStackorderToplevelWrapperMap): Ignore embedded windows during wm stackorder command.
* remove eof whitespacehobbs2002-04-121-14/+1
|
* fixed copyright noticehobbs2002-04-101-2/+4
|
* * doc/wm.n:mdejong2002-04-101-3/+3
| | | | | | | | | * mac/tkMacWm.c: * tests/wm.test: * unix/tkUnixWm.c: * win/tkWinWm.c: Update wm stackorder usage message to make it clear that either 1 or 3 arguments are required. [Bug 540013]
* * tests/listbox.test:hobbs2002-02-261-8/+14
| | | | | * generic/tkListbox.c: corrected error handling when setting to an invalid listvar value. [Bug #503613]
* Improvements to filebox tests (including two fixes due to changed behaviour ↵dkf2002-02-251-150/+260
| | | | dating from 2001-12-14)
* TIP #41 implementation, panedwindow [Patch #512503] (melski)hobbs2002-02-221-0/+2380
|
* * 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.
* Final part of TIP#14 support (photo image transparency access); the C APIdkf2002-02-011-2/+143
| | | | stuff has been in there for ages for some reason...
* Correct and test for logic error when cloning menus. Bug 508988uid382262002-01-311-1/+20
|
* * tests/wm.test: Rewrite stackorder tests thatmdejong2002-01-191-11/+22
| | | | | deal with toplevels that have the overrideredirect flag set. [Tk bug 492259]
* * test/winButton.test:hobbs2001-12-291-4/+10
| | | | | | * win/tkWinButton.c: added updated patch #463234 which returns the default sizing behavior (not so native), but enables native L&F with negative sizing (-11 for example).
* * Corrected test thatdgp2001-12-191-3/+3
| | | | failed on Solaris/CDE due to text scrolling. [Bug 413735]
* Add TK patch 481148 to implement TIP 74, themdejong2001-12-042-3/+304
| | | | | | | | | | | | | | | | | | | | | | | | | | wm stackorder command. * doc/winfo.n: Update documentation for the winfo children command to indicate that top-level windows are not returned in stacking order. * doc/wm.n: Add documentation for wm stackorder. * generic/tkInt.decls (TkWmStackorderToplevel): Add decl for new function. * generic/tkIntDecls.h: Regen. * generic/tkStubInit.c: Regen. * tests/unixWm.test: Add stackorder command to test for wm command usage message. * tests/wm.test: Add new set of tests for generic window manager methods. * unix/tkUnixWm.c (Tk_WmCmd, TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): Add unix implementation of new wm stackorder command. * win/tkWinWm.c (Tk_WmCmd, TkWmStackorderToplevelEnumProc, TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): Add windows implementation of new wm stackorder command.
* * win/tkWinButton.c (TkpComputeButtonGeometry): corrected thehobbs2001-11-172-20/+9
| | | | | | | default size of Windows buttons to conform to the Windows style. This changes the default size of buttons on Windows. [Patch #463234] (nelson) **** POTENTIAL VISUAL INCOMPATABILITY ****
* marked 32.8 a knownBug against SF bug #465324hobbs2001-11-171-2/+3
|
* added TIP#26 text widget undo/redo functionalityhobbs2001-11-131-7/+122
|
* removed threaded build warning under Xhobbs2001-10-191-2/+1
|
* implementation of TIP 63 (accepted) -compound option to menu items.macosx_8_4_branchpointtmh2001-10-121-2/+37
|
* Added -uniform option to grid's row/columnconfigure.pspjuth2001-09-301-5/+104
|
* Added labelframe widget. TIP#18.pspjuth2001-09-264-28/+350
|
* Pack accepted asymmetric values for -ipadx/y.pspjuth2001-09-232-6/+26
| | | | Only -padx/y supports asymmetry. [Bug #462348]
* improved use of test constraintshobbs2001-09-218-820/+697
|
* * tests/textDisp.test (textDisp-4.12): corrected test to workhobbs2001-09-211-20/+3
| | | | properly on Windows.
* * tests/scrollbar.test (scrollbar-6.27): marked knownBug becausehobbs2001-09-211-2/+6
| | | | it is skewed by bad dimensions returned by Windows.
* fixed test numberinghobbs2001-09-011-2/+2
|
* corrected to use testConfig constraints inhobbs2001-08-303-162/+157
| | | | the TK_ALT_DISPLAY case
* * tests/unixSend.test: removed test file completely identical tohobbs2001-08-301-679/+0
| | | | | send.test. Removed platform specific named file in case somebody gets send working on Win/Mac in the future.
* * tests/config.test: added config-14.1 to test namespace importhobbs2001-08-291-2/+20
| | | | | | | | | | | | | | evaluation of widgets. * generic/tkButton.c (ButtonCreate): * generic/tkFrame.c (CreateFrame): * generic/tkMenubutton.c (Tk_MenubuttonObjCmd): * generic/tkPlace.c (Tk_PlaceObjCmd): * generic/tkScale.c (Tk_ScaleObjCmd): * generic/tkMessage.c (Tk_MessageObjCmd): * generic/tkEntry.c (Tk_EntryObjCmd, Tk_SpinboxObjCmd): * generic/tkSquare.c (SquareObjCmd): redid the handling of optionTables in widgets to allow them to be imported into other namespaces. [Bug #456632]
* Fixed a bug where adjacent 'x' and '^' where not handled properly.pspjuth2001-08-221-1/+29
|
* * tests/dialog.test (HitReturn): fixed failing dialog-2.1 testhobbs2001-08-221-2/+2
| | | | because it wasn't always getting focus properly.
* * tests/unixFont.test (unixFont-2.[234]): fixed to be morehobbs2001-08-221-5/+24
| | | | sensitive on systems that have more installed fonts.
* Objectified grid and pack commands.pspjuth2001-08-213-28/+48
|
* Grid configure rejected initial "x" and "^". [Bug #418664]pspjuth2001-08-181-1/+17
|
* New file testing [tk_dialog].dgp2001-08-091-0/+66
|
* Merged changes from feature branch dgp-privates-into-namespace,dgp2001-08-0110-242/+242
| | | | | implementing TIP 44. All Tk commands and variables matching tk[A-Z]* are now in the ::tk namespace.
* * tests/canvas.test:hobbs2001-07-041-1/+20
| | | | | | * generic/tkCanvPoly.c (PolygonToArea): Added patch that respects the polygon difference of including points in the polygon even when fill is empty. [Bug #226357]
* * library/console.tcl:hobbs2001-07-031-8/+62
| | | | | | | | | | | | | | | | | | | | | * library/entry.tcl: * library/spinbox.tcl: * library/text.tcl: * library/tk.tcl: added private ::tk::GetSelection command to handle requesting selection. This is to support requesting UTF8_STRING before generic STRING on Unix. Changed Text, Spinbox, Entry and Console to use this command. * tests/select.test: * generic/tkSelect.c (Tk_CreateSelHandler, Tk_DeleteSelHandler): on Unix, a UTF8_STRING handler will be created when the user requests a STRING handler (in addition to the STRING handler). This provides implicit support for the new UTF8_STRING selection target. * unix/tkUnixSelect.c (TkSelEventProc, ConvertSelection): Added support for UTF8_STRING target. [RFE #418653, Patch #433283] * generic/tkInt.h: added utf8Atom to TkDisplay structure.