| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* tests/constraints.tcl: -loadfile to hold definitions
* tests/*.test: common to all test files.
FossilOrigin-Name: 01af81ecf20f3111d08ac51117da1c5ca09c567d
|
|
|
|
|
|
|
|
|
| |
* 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]
FossilOrigin-Name: ea2c85a2ce8a16163679f99cce1fca3767f4c583
|
|
|
|
|
|
|
|
| |
* generic/tkEntry.c (EntryTextVarProc): check if the entry if
being deleted before handling an associated textvariable.
[Bug #607390 #617446]
FossilOrigin-Name: da2373146719071cf388866028167bd6f8385cf4
|
|
|
| |
FossilOrigin-Name: c483179b915e863450b867189ddfab962971936a
|
|
|
|
|
|
|
|
|
| |
activity
* generic/tkEntry.c (DestroyEntry, EntryEventProc): fixed the
entry widget to survive deletion while processing scrollbar
updates and validation.
FossilOrigin-Name: 0b8fe7c629c46c2a6a276bc38593716203bf8783
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
FossilOrigin-Name: 73da332473d5aadcb1fa8f6a108a1947d501e87e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
FossilOrigin-Name: d9e1274dcc5725b4ea72f2b214ee4e6763d688b9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
FossilOrigin-Name: 1e58446d8a212f90f788f6cd0965f9cbb2d1e606
|
|
|
|
|
|
|
|
|
| |
* 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]
FossilOrigin-Name: 1717d7930d583c16409ba37f58b971047e88571e
|
|
|
|
|
|
|
| |
destroying the widget
* tests/entry.test: added test suite for entry validation
FossilOrigin-Name: e96237c52855e6b375bfd105b0869a4f572af6d7
|
|
|
|
|
|
|
|
| |
* generic/tkScale.c:
* generic/tkScale.h: fixed possible core when freeing options
(cursor) associated with scale widget [Bug: 3897]
FossilOrigin-Name: d736cdcd844e57e4bed51dda1f5d9a4024c05035
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
FossilOrigin-Name: 73e913a6e6c8d3714d1bd2763748df34a0522efd
|
|
|
| |
FossilOrigin-Name: 1120dc4257448ed1955333e682de48e2940cc741
|
|
|
| |
FossilOrigin-Name: fb58b663f313796e8ed3115f92d657f0cae1d575
|
|
FossilOrigin-Name: 2bf55ca9aa942b581137b9f474da5ad9c1480de4
|