| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkCanvText.c: fallback to fgColor when selFgColor is None
* generic/tkEntry.c: (new default on aqua to match native L&F).
* generic/tkListbox.c:
* generic/tkText.c:
* generic/tkCanvas.c: add support for bypassing all of Tk's double
* generic/tkEntry.c: buffered drawing into intermediate pixmaps
* generic/tkFrame.c: (via TK_NO_DOUBLE_BUFFERING #define), it is
* generic/tkListbox.c: unnecessary & wasteful on aqua where all
* generic/tkPanedWindow.c: drawing is already double-buffered by the
* generic/tkTextDisp.c: window server. (Use of this on other
* unix/tkUnixScale.c: platforms would only require implementation
of TkpClipDrawableToRect()).
FossilOrigin-Name: e28d001869d11668fedf18232365561b08014860
|
|
|
|
|
|
| |
not needed - just call EventuallyRedrawRange. [Bug 1608046] (rezic)
FossilOrigin-Name: 297e33dd77cb08eeee39a697138c6117a3883941
|
|
|
|
|
|
|
|
|
| |
* tests/listbox.test (listbox-6.15):
* generic/tkListbox.c (ListboxInsertSubCmd, ListboxDeleteSubCmd):
Ignore Tcl_SetVar2Ex failure of listVarName, similar to entry
widget handling. [Bug 1424513]
FossilOrigin-Name: 18780b1c4f4abdbd9ed9662513ee984e64ad568b
|
|
|
| |
FossilOrigin-Name: 0b65a3422621f6cc2599b73bcbdced42f6cc3f25
|
|
|
|
|
|
| |
free itemconfig data when removing it from table. [Bug #836483]
FossilOrigin-Name: 5281eb542eff290211b6088f9400954ee8621d45
|
|
|
|
|
|
|
| |
* tests/listbox.test: Allow 'selection includes' to respond when
disabled (but only 'includes'). [Bug #632514]
FossilOrigin-Name: f0aec0e5cc6ba507c5bfe0875f52ac13f087ede1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
updating Tk to use Tcl 8.4's fully CONST-ified
interface, and fully CONSTifying Tk at the
same time.
This patch includes purging Tk of its last
direct access to interp->result. [Bug 589853]
The substantial changes include copying
event sequence strings into Tcl_DStrings
in tkBind.c, and copying [text] indices into
Tcl_DStrings because parsing them involved
overwriting them. If this causes performance
trouble, that can be resolved by further
converting them to Tcl_Obj's.
The #defines USE_NON_CONST and USE_COMPAT_CONST
have the same effect for Tk as they do for Tcl.
(They actually change tcl.h)
FossilOrigin-Name: 5603f01aa35a127f83db9bb68f3b1ff9e5bb64de
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkListbox.c (DisplayListbox):
* mac/tkMacDefault.h: TIP #94 implementation adding -activestyle
* tests/listbox.test: option to the listbox. This adds the ability
* unix/tkUnixDefault.h: to have listboxes look native on Windows, and
* win/tkWinDefault.h: "nicer" elsewhere using the 'dotbox' style.
FossilOrigin-Name: f7610a440895223b661d0ff989b5780b7af3db6a
|
|
|
|
|
|
| |
Tcl_VarTraceProc typedef. [TIP 27] [Patch 532644].
FossilOrigin-Name: 1b7558e26e98541cbcbea49ec8f2eb586a6ec2ea
|
|
|
|
|
|
|
| |
* generic/tkListbox.c: corrected error handling when setting to an
invalid listvar value. [Bug #503613]
FossilOrigin-Name: fdb66fb6c125e582842391ac32486ff4f19351f0
|
|
|
|
|
|
| |
when scrolling on x axis with entry/text. [Bug #225025] (voskuil)
FossilOrigin-Name: 591d7475b45d284f89cd293607ff9035a62f58fd
|
|
|
|
|
|
|
| |
argument of Tcl_GetIndexFromObj(Struct) from (char **) to
(CONST char **). [TIP 27] [Patch 504705]
FossilOrigin-Name: 85e5c7aa1baa3bd2b7bdb971f3cf83f4f5573723
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
FossilOrigin-Name: eb203000eca11b77c0a57bb772c4ffef94889710
|
|
|
|
|
|
|
|
| |
font not freed complaints when trying valid cleanup calls.
* generic/tkListbox.c: made use of Tcl_Preserve/Tcl_Release to
prevent FMR errors in Display functions.
FossilOrigin-Name: 3991a01b3cdeede781f85772fe2dd2e2f00237f4
|
|
|
|
|
|
|
|
|
| |
scrollbar update
* generic/tkListbox.c (DestroyListbox, ListboxEventProc):
corrected listbox to make proper use of Tcl_EventuallyFree and
protect against unusual listbox deletion.
FossilOrigin-Name: 484b8a6cf3a4d5698be30780bbd1a6094c1394a8
|
|
|
|
|
|
|
|
|
|
|
| |
TkClassProcs/TkSetClassProcs as Tk_ClassProcs/Tk_SetClassProcs,
adding a size field to Tk_ClassProcs to allow for future
expansion, and renaming the geometryProc to worldChangedProc,
which is more in keeping with the actual use of the callback.
See ChangeLog for details.
FossilOrigin-Name: df44e48c3137a98d587cec736ae6ffa531369353
|
|
|
|
|
|
|
| |
* generic/tkListbox.c: Changed resource class for disabledforeground
to "DisabledForeground".
FossilOrigin-Name: d57bc1ec6968e5b45206a4934294428217008261
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/tkUnixDefault.h: Added default values for listbox
disabledforeground and state.
* win/tkWinDefault.h: Changed default listbox background color to
white and listbox selection borderwidth to 0, in keeping with the
"Microsoft Windows User Experience"; added default values for
listbox disabledforeground and listbox state.
* doc/listbox.n: Added documentation for -state option.
* generic/tkListbox.c: Added support for -state to listbox. [RFE:
6052].
* tests/listbox.test: Tests for listbox disabled state.
FossilOrigin-Name: a19d0bbf22658890f96264d9fea43a2494dfb897
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
DestroyListbox due to null tkwin. [Bug: 4207]
* tests/entry.test: added test suite for entry validation
* doc/entry.n: improved docs discussing caveats and gotchas when
mixing textvar with widget validation
* generic/tkEntry.c (EntryValidateChange): improved handling of
validation with relation to -textvariable. Previously, it would
turn off whenever the textvar was set. Now it will it will turn
off only when the textvar is set and validation returns 0. Added
%V (type of validation occuring) to %-subs to help work with
trickier validation.
FossilOrigin-Name: a54ba26b730bb5bda6191ecada040674892e29e7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
element to end to not disturb position of previous elements in
the structure (as compared to Tk <=8.2).
* generic/tkCanvLine.c (LineCoords): fixed segfault when too few
coords were passed to a line with certain options set (it should
always have thrown an error anyway). [Bug: 4042]
* tests/text.test:
* generic/tkText.c: fixed missing " in error case and missing
'dump' in subcommand listing [Bug: 4036]
* generic/tkListbox.c: adjusted use of basic string concatenation
in (non-K&R behavior) [Bug: 4027]
Swapped bg/fg class for -select(bg|fg) for listbox and their
items [Bug: 4039]
FossilOrigin-Name: e8800736ff27a98524329521784065d25721ff92
|
|
|
|
|
|
| |
when only one item is requested.
FossilOrigin-Name: 20823baef099634203eab241b8254176de5bcd1f
|
|
|
|
|
|
|
|
|
| |
update when items are removed from the listvar variable.
* generic/tkListbox.c: Added a check the updates the topIndex when
items are removed from the listvar variable.
FossilOrigin-Name: 81be7b942d8f0551a240b0c61612819b5258c260
|
|
|
| |
FossilOrigin-Name: 4a5e66a5c23b0c7145266e7686000b000451ac75
|
|
|
|
|
|
|
|
|
| |
* generic/tkConfig.c: added support for TK_OPTION_DONT_SET_DEFAULT
as equiv for TK_CONFIG_DONT_SET_DEFAULT
* generic/tkListbox.c: added TK_OPTION_DONT_SET_DEFAULT to the
item specs
FossilOrigin-Name: 017386d45f83dce3583efada3dfbc9519df1322e
|
|
|
|
|
|
|
|
|
|
| |
* doc/listbox.n: Added documentation for -listvar option and for
itemconfigure and itemcget commands.
* generic/tkListbox.c: Added support for itemconfigure/itemcget
listbox subcommands (addresses rfe #936)
FossilOrigin-Name: 0387f3d8ed87ad9eb1dffdd755e72d6688f565ef
|
|
|
|
|
|
| |
* generic/tkListbox.c: Improved error messages for bad -listvar's.
FossilOrigin-Name: 016895b51cbfd533f23afcdec043aa6f25f031e1
|
|
|
|
|
|
|
| |
* generic/tkListbox.c: Added handlers for bad -listvar's (ie, bad
lists)
FossilOrigin-Name: a8241d6f0daec92b0050bf0d6f8aa538d7b41265
|
|
|
|
|
|
|
| |
* generic/tkListbox.c: Changed some old static buffers to base
size on TCL_DOUBLLE_SPACE instead of (completely) hardcoding the size.
FossilOrigin-Name: 822a6b857404dd479d8288224b3f842ff0c1606e
|
|
|
|
|
|
|
|
| |
odd extra case that wasn't covered before.
* generic/tkListbox.c: Tests exposed some bugs, now fixed.
FossilOrigin-Name: 6682e76dab340e8018cb9e36b07167409fd028bb
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
new-school objectified command.
* generic/tkListbox.c: Objectified listbox; added support for
-listvar option. Converted internal structure to use a Tcl list
object to store the data.
* generic/tkInt.h: Changed reference to Tk_ListboxCmd to
Tk_ListboxObjCmd.
FossilOrigin-Name: 11da26206de1c6f862b367eb77ba315aea909b56
|
|
|
|
|
| |
Tk_DrawFocusHighlight. The latter did not work on the Mac, since you need to know both foreground & background color when you draw the active focus ring.
FossilOrigin-Name: 9bb078186f93162afcdcd453066e44b705aa8186
|
|
|
| |
FossilOrigin-Name: 1120dc4257448ed1955333e682de48e2940cc741
|
|
|
| |
FossilOrigin-Name: fb58b663f313796e8ed3115f92d657f0cae1d575
|
|
FossilOrigin-Name: 2bf55ca9aa942b581137b9f474da5ad9c1480de4
|