summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* * tests/listbox.test: changed 'darkblue' to 'white' in a testhobbs2001-07-031-3/+3
| | | | because it isn't a portable color name.
* Upgraded frame to use the newer TK_OPTIONpspjuth2001-05-281-6/+17
| | | | | style when processing configuration options. Some cleanup of bad comments and bad code. [part of patch #420861]
* implement TIP11, -compound option for menubutton widgettmh2001-05-211-2/+2
|
* * tests/winClipboard.test: improved results for understanding whenhobbs2001-04-041-7/+19
| | | | tests fail.
* * tests/winDialog.test: string totitle'd some results thathobbs2001-04-041-9/+9
| | | | expected [pwd] to return a capital drive letter.
* * tests/cursor.test: changed tests to use 'heart' cursor becausehobbs2001-04-041-13/+13
| | | | 'arrow' on windows has a pre-skewed use count.
* * tests/listbox.test: added test listbox-27.1, delete duringhobbs2001-04-031-5/+13
| | | | | | | scrollbar update * generic/tkListbox.c (DestroyListbox, ListboxEventProc): corrected listbox to make proper use of Tcl_EventuallyFree and protect against unusual listbox deletion.
* * tests/entry.test: added tests entry-20.*, delete during widgethobbs2001-04-031-5/+51
| | | | | | | activity * generic/tkEntry.c (DestroyEntry, EntryEventProc): fixed the entry widget to survive deletion while processing scrollbar updates and validation.
* * tests/canvas.test: test of canvas delete during eventhobbs2001-04-031-1/+25
| | | | | * generic/tkCanvas.c (DestroyCanvas, CanvasEventProc): fixed the canvas to survive deletion during event processing. [Bug #228024]
* * tests/safe.test: added note about correcting failures inhobbs2001-03-311-14/+21
| | | | | | safe.test. * library/tk.tcl: moved package require msgcat inside if case to not be used in safe interps.
* * tests/bind.test (bind-22.18):hobbs2001-03-301-17/+7
| | | | | | * generic/tkBind.c (NameToWindow): handled the error case where a valid-looking but invalid identifier could be passed in certain event generate options causing a crash. [Bug #411307]
* * tests/canvas.test: added test case to check obj conversionhobbs2001-03-301-1/+21
| | | | | * generic/tkObj.c (UpdateStringOfMM, SetMMFromAny): better obj-aware screen distances. (pgbaum, hobbs) [Patch #403327]
* * library/entry.tcl (tkEntryMouseSelect):mdejong2001-03-291-4/+390
| | | | | | | | | | * library/text.tcl (tkTextSelectTo): When the mouse is dragged with the button down, move the insertion cursor to the current mouse position. * tests/event.test: Add a series of tests for event generation. Add tests for selection, check the position of the insertion cursor.
* Replaced all [load {} tk] in Tk test suite with [load {} Tk].dgp2001-03-286-12/+12
| | | | [Bug 220940, Patch 411952]
* Asymmetric padding in "pack" and "grid" geometry managersdrh2001-02-122-34/+127
|
* A better fix for #120819 (all it needed was some Tcl_Preserve()s)dkf2000-11-291-19/+16
| | | | | which also requires no documentation changes - the behaviour is now what you would predict from existing docs (as opposed to a crash!)
* Fixed bug #120819 by prohibiting images from starting with a period;dkf2000-11-231-1/+4
| | | | | | | | | I'm still not quite sure what exactly was going wrong in the bug, but I suspect the problem might have actually been due to the deletion of all images while in the midst of creating an image. The restriction is pretty light when it comes to existing code, since it previously caused a core dump due to an image typePtr field being set to random garbage, an indication of over-eager use of free()...
* corrected tests to recognize new -multiple openfile dialog switchhobbs2000-11-021-3/+3
|
* * tests/color.test: marked color-2.6 nonPortable as we can'thobbs2000-11-021-2/+6
| | | | reliably assume what 'red' maps to.
* * tests/tk.test:hobbs2000-10-311-3/+2
| | | | | | | | * doc/tk.n: updated to reflect default on status of useinputmethods. * library/tk.tcl: tk useinputmethods is set to 1 by default. This enables Kanji and dead-char input by default. Intro'd in 1999-12-16 with default off to avoid some problems with older X servers that would slow down widget creation over time.
* Fix bitmaps so that the same bitmap will not be useddrh2000-09-301-1/+3
| | | | | | on two difference screens of the same display. Without this fix you get a BadMatch error from the X-server when you try to use a bitmap on two screens at once.
* * generic/tk.h: Added declaration of Tk_ObjCustomOption structure,ericm2000-09-171-11/+49
| | | | | | | | | | | | | | | | | | | | | | | used for TK_OPTION_CUSTOM, and typedef's of the functions Tk_CustomOptionSetProc, Tk_CustomOptionGetProc, Tk_CustomOptionRestoreProc, and Tk_CustomOptionFreeProc, used for TK_OPTION_CUSTOM. * doc/SetOptions.3: Added documentation of TK_OPTION_CUSTOM, and section "CUSTOM OPTION TYPES" explaining how to create and use custom options. * tests/config.test: Added tests for custom option type. * generic/tkTest.c: Added test support for TK_OPTION_CUSTOM to TestobjconfigObjCmd. Added CustomOption* functions to implement a test custom option. * generic/tkConfig.c: Added new option type TK_OPTION_CUSTOM, which allows the definition of custom option types by creating parsing, printing, freeing, and restoring procedures for a custom option. This is needed by the text and canvas widgets if they are to be fully objectified.