summaryrefslogtreecommitdiffstats
path: root/tests/entry.test
Commit message (Collapse)AuthorAgeFilesLines
* First step towards improving test style. Also start using Tcl 8.5 features.dkf2004-05-231-8/+8
|
* Removed support for Mac OS Classic platform [Patch 918139]das2004-03-171-4/+4
|
* * tests/all.tcl: Made better use of a commondgp2003-04-011-6/+3
| | | | | * tests/constraints.tcl: -loadfile to hold definitions * tests/*.test: common to all test files.
* * generic/tkEntry.c (SpinboxWidgetObjCmd, EntryWidgetObjCmd):hobbs2003-02-251-1/+17
| | | | | | | * tests/entry.test: return 1 if selection is present even if * tests/spinbox.test: entry/spinbox is disabled, as selection get will still return the selection (although selection still ignore modify requests when entry/spinbox is disabled). [Bug #637828]
* * tests/entry.test: added entry-20.7hobbs2002-10-021-1/+11
| | | | | | * generic/tkEntry.c (EntryTextVarProc): check if the entry if being deleted before handling an associated textvariable. [Bug #607390 #617446]
* * Completed conversion of Tk test suite to use tcltest.dgp2002-07-141-13/+10
|
* * 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.
* * doc/spinbox.n: (new file) docs for spinbox widgethobbs2000-05-291-16/+10
| | | | | | | | | | | * generic/tkInt.h: added Tk_SpinboxObjCmd declaration * generic/tkEntry.c: added 'spinbox' widget - an extension of the entry widget type. * generic/tkWindow.c: added 'spinbox' to core Tk commands * library/spinbox.tcl: (new file) binding and helper procs for spinbox * library/tk.tcl: added spinbox.tcl to list of files to source * tests/entry.test: updated changed error messages * tests/spinbox.test: (new file) test suite for spinbox
* * mac/tkMacDefault.h (DEF_ENTRY_READONLY_BG_COLOR,ericm2000-05-171-2/+4
| | | | | | | | | | | | | | | | | DEF_ENTRY_READONLY_BG_COLOR): * win/tkWinDefault.h (DEF_ENTRY_READONLY_BG_COLOR, DEF_ENTRY_READONLY_BG_COLOR): * unix/tkUnixDefault.h (DEF_ENTRY_READONLY_BG_COLOR, DEF_ENTRY_READONLY_BG_COLOR): Added default values for entry -readonlybackground option. * generic/tkEntry.c: Added -readonlybackground option, cleaned up excessive use of graphics contexts. * tests/entry.test: Added configuration test for -readonlybackground option. * doc/entry.n: Added documentation for -readonlybackground option.
* * library/entry.tcl: Adjusted Button-1 binding to set focus to theericm2000-05-141-4/+43
| | | | | | | | | | | | | | | | | | | | | | | | entry when it is readonly or normal. * doc/entry.n: Added documentation for readonly state, -disabledforeground, -disabledbackground. * tests/entry.test: Added tests for readonly state. * generic/tkEntry.c: Added support for "readonly" state, and redefined "disabled" state. A disabled entry will display its text in a dimmed color and possibly with a different background, and will be completely unusable (no selection, no editing). A readonly entry will look like a normal entry, but it will not be editable; selection is still allowed. [RFE: 4239]. To support the new disabled state properly, "-disabledforeground" and "-disabledbackground" options were added. *** THIS IS A BACKWARDS INCOMPATIBLE BEHAVIOR CHANGE *** * win/tkWinDefault.h: * mac/tkMacDefault.h: * unix/tkUnixDefault.h: Added DEF_ENTRY_DISABLED_FG, DEF_ENTRY_DISABLED_BG_COLOR, DEF_ENTRY_DISABLED_BG_MONO.
* * tests/entry.test:hobbs2000-03-071-2/+2
| | | | | | | * generic/tkEntry.c (EntrySetValue): malloc the value when validating because validation could cause the pointer to become invalid. Also fixed configure to not trigger focus-based validation. Improved use of Tcl_WrongNumArgs. [Bug: 4320]
* * tests/config.test: extra test to check object cleanup whenhobbs2000-03-021-4/+160
| | | | | destroying the widget * tests/entry.test: added test suite for entry validation
* * scale.test:hobbs1999-12-211-18/+4
| | | | | | * generic/tkScale.c: * generic/tkScale.h: fixed possible core when freeing options (cursor) associated with scale widget [Bug: 3897]
* * tests/bind.test:hobbs1999-12-141-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | * tests/canvImg.test: * tests/canvPsArc.tcl: * tests/canvPsImg.tcl: (new file) * tests/canvRect.test: * tests/canvText.test: * tests/canvas.test: * tests/defs.tcl: * tests/entry.test: * tests/event.test: * tests/font.test: * tests/frame.test: * tests/imgPhoto.test: * tests/safe.test: * tests/scale.test: * tests/scrollbar.test: * tests/select.test: * tests/text.test: * tests/textDisp.test: * tests/textTag.test: * tests/unixFont.test: * tests/unixWm.test: * tests/visual_bb.test: * tests/winClipboard.test: tests for the dash patch changes
* * Merged 8.1 branch into the main trunkstanton1999-04-161-110/+219
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+1269