summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* * doc/SetOptions.3: Updated documentation to reflect support forericm2000-08-101-11/+68
| | | | | | | | | | | | | | | | | | TK_OPTION_NULL_OK for TK_OPTION_DOUBLE and TK_OPTION_PIXELS. * generic/tkConfig.c: Added for TK_OPTION_NULL_OK support for TK_OPTION_DOUBLE and TK_OPTION_PIXELS. * doc/place.n: Updated, reformatted manual entry. * tests/place.test: Added many tests. * generic/tkPlace.c (Tk_PlaceObjCmd): Updated to use Tk widget-option management facilities to manage place options (-x, -y, etc.), which simplifies the placer code. Added support for [place configure pathName] and [place configure pathName -option], similar to the behavior of the configure subcommand supported by widgets.
* * tests/place.test: Extended test suite to test error returns fromericm2000-08-081-14/+81
| | | | | | | | | | | | [place]. * generic/tkInt.h: Replaced Tk_PlaceCmd prototype with Tk_PlaceObjCmd prototype. * generic/tkWindow.c: Updated [place] command entry to use new Tcl_Obj interface. * generic/tkPlace.c (Tk_PlaceObjCmd): Tcl_Obj'ified [place] command.
* * generic/tkWindow.c: Updated [selection] command entry to useericm2000-08-071-9/+9
| | | | | | | | | | | | | new Tcl_Obj interface. * generic/tkInt.h: Replaced Tk_SelectionCmd prototype with Tk_SelectionObjCmd prototype. * tests/select.test: Updated test suite to recognize standardized error messages. * generic/tkSelect.c (Tk_SelectionObjCmd): Tcl_Obj'ified [selection] command.
* * generic/tkWindow.c: Updated "grab" command entry to useericm2000-08-041-0/+179
| | | | | | | | | | | | | Tcl_Obj'ified command. * generic/tkInt.h: Replaced Tk_GrabCmd prototype with Tk_GrabObjCmd prototype. * tests/grab.test: Initial suite of tests for [grab] command. * generic/tkGrab.c (Tk_GrabObjCmd): Tcl_Obj'ified [grab] command. * generic/tkCmds.c: Fixed casting problem in Tk_BindtagsObjCmd.
* * tests/bind.test: Tweaked expected error messages for [bindtags]ericm2000-08-031-3/+3
| | | | | | | | | | | | | | | | to comply with updated error messages. * generic/tkMenu.c (CloneMenu): Replaced calls to Tk_BindtagsCmd with equivalent calls to Tk_BindtagsObjCmd. * generic/tkInt.h: Replace Tk_BindtagsCmd prototype with Tk_BindtagsObjCmd prototype. * generic/tkWindow.c: Updated "bindtags" command entry to use Tcl_Obj'ified command. * generic/tkCmds.c (Tk_BindtagsObjCmd): Tcl_Obj'ified [bindtags] command.
* * generic/tkInt.h: Replaced prototype for Tk_MessageCmd withericm2000-08-021-0/+122
| | | | | | | | | | | | | | | | | prototype for Tk_MessageObjCmd. * generic/tkWindow.c: Marked message command as using the new MessageObjCmd instead of the old MessageCmd. * tests/message.test: Added tests for the message widget. * generic/tkMessage.c: Obj'ified the message widget. * generic/tkInt.h: Removed prototype for Tk_ClipboardCmd, added prototype for Tk_ClipboardObjCmd. * generic/tkWindow.c: Updated function pointers for clipboard command to use Tcl_Obj version.