Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed [b362182e45] - Generation of virtual events through Tk_HandleEvent is ↵ | fvogel | 2016-04-21 | 1 | -10/+1 |
| | | | | unsafe | ||||
* | Reverted [5f396dacdc]. | fvogel | 2016-01-18 | 1 | -0/+1 |
| | |||||
* | Removed attempt of adjustment of the startup xview according to the -justify ↵ | fvogel | 2016-01-18 | 1 | -11/+0 |
| | | | | option. Anyway this does not work. | ||||
* | Use GetMaxOffset when possible to reduce code duplication. The change in ↵ | fvogel | 2016-01-18 | 1 | -6/+2 |
| | | | | ListboxScanTo is not exactly equivalent but I believe the previous version was a bug. | ||||
* | Fixed bug with the listbox justify patch: with large borders, when moving ↵ | fvogel | 2016-01-18 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | the horizontal scrollbar fully to the right the edge of the border could not be seen, one needed to push once on the right arrow of the scrollbar to see it. Test case: package require Tk destroy .top toplevel .top listbox .top.l -justify right -borderwidth 17 -highlightthickness 19 -selectborderwidth 22 scrollbar .top.hs -command ".top.l xview" -orient horizontal .top.l configure -xscrollcommand ".top.hs set" set huge [concat "START -" [string repeat "Huge Item... " 20] "- END"] .top.l insert end $huge pack .top.l -expand 1 -fill both pack .top.hs -expand 1 -fill x | ||||
* | Addressed question 4 (see artifact [9d48a9c212] of ticket [3f456a5bb9]). | fvogel | 2016-01-17 | 1 | -1/+7 |
| | |||||
* | Addressed questions 3 and 5 (see artifact [9d48a9c212] of ticket ↵ | fvogel | 2016-01-17 | 1 | -61/+0 |
| | | | | [3f456a5bb9]). It is not desirable to make the listbox xview jump on resizing. | ||||
* | Addressed issue B (see artifact [9d48a9c212] of ticket [3f456a5bb9]) | fvogel | 2016-01-16 | 1 | -1/+10 |
| | |||||
* | Addressed issue A and question 6 (see artifact [9d48a9c212] of ticket ↵ | fvogel | 2016-01-16 | 1 | -9/+7 |
| | | | | | | | | | | | | | | | [3f456a5bb9]). Issue A is fixed. Test case: package req Tk listbox .l .l insert end M M M M M M M M M pack .l .l conf -just center ; # or right .l conf -highlightthickness 40 .l selection set 4 Regarding question 6, Tk_TextWidth is a bit lower level function in the API, which must be slightly beneficial regarding performance. Tk_TextWidth is therefore preferred. | ||||
* | Addressed question 2 (see artifact [9d48a9c212] of ticket [3f456a5bb9]). | fvogel | 2016-01-16 | 1 | -0/+4 |
| | | | | This code arranges for the correct xview when creating the listbox with non-default justification. It is correctly placed in Tk_ListboxObjCmd. When changing justification later, i.e. in ConfigureListbox, there is no reason to change the xview, it would not be desired that the listbox xview jumps when configuring -justify. | ||||
* | Addressed question 1 (see artifact [9d48a9c212] of ticket [3f456a5bb9]) | fvogel | 2016-01-16 | 1 | -1/+2 |
| | |||||
* | Rebased to latest trunk | fvogel | 2016-01-13 | 1 | -6/+5 |
|\ | |||||
| * | Rebase to 8.6, getting rid of DEF_TEXT_SPACING[123] | jan.nijtmans | 2016-01-10 | 1 | -6/+5 |
| |\ | |||||
| | * | Removed unused flags argument in Configure function since Tk_ConfigureWidget ↵ | fvogel | 2016-01-08 | 1 | -5/+4 |
| | | | | | | | | | | | | is no longer used there since last century | ||||
| | * | Use TK_OPTION_NULL_OK instead of TK_CONFIG_NULL_OK | fvogel | 2016-01-08 | 1 | -1/+1 |
| | | | |||||
* | | | More typos fixed | fvogel | 2016-01-13 | 1 | -10/+14 |
| | | | |||||
* | | | Typo fixed | fvogel | 2016-01-13 | 1 | -1/+1 |
| | | | |||||
* | | | Improved patch formatting. No functional change | fvogel | 2016-01-11 | 1 | -26/+44 |
| | | | |||||
* | | | merged trunk | fvogel | 2016-01-11 | 1 | -0/+35 |
|\ \ \ | |/ / | |||||
| * | | Fixed bug [3102228] - <<ListboxSelect>> doesn't fire when selection lost | fvogel | 2016-01-06 | 1 | -0/+35 |
| |\ \ | | |/ | |||||
| | * | Fixed bug [3102228] - <<ListboxSelect>> doesn't fire when selection lostbug_3102228fff | fvogel | 2015-12-31 | 1 | -0/+35 |
| | | | |||||
* | | | [3f456a5bb9]: Patches for listbox right justify | jan.nijtmans | 2014-02-11 | 1 | -4/+104 |
|/ / | |||||
* | | Eliminate all usage of WIN32 macro as well: _WIN32 is the portable macro. | jan.nijtmans | 2014-02-10 | 1 | -4/+4 |
| | | |||||
* | | 3607326 Stop segfault from [listbox .l -listvariable $array]. | dgp | 2013-03-11 | 1 | -3/+0 |
|\ \ | |/ | |||||
| * | 3607326 Stop segfault from [listbox .l -listvariable $array]. | dgp | 2013-03-11 | 1 | -3/+0 |
| | | |||||
| * | SetOptions.3: minor doc fix | jan.nijtmans | 2012-06-19 | 1 | -2/+2 |
| |\ | | | | | | | | | | make various other tables const (all backported from Tk 8.6) | ||||
| | * | SetOptions.3: minor doc fix | jan.nijtmans | 2012-06-19 | 1 | -4/+4 |
| | | | | | | | | | | | | make various other tables CONST (All backported from Tk 8.6) | ||||
| * | | make some internal tables const | jan.nijtmans | 2012-04-18 | 1 | -2/+2 |
| |\ \ | | |/ | |||||
| | * | make some more internal tables CONST | jan.nijtmans | 2012-04-18 | 1 | -2/+2 |
| | | | |||||
| | * | [Bug 3388350] mingw64 compiler warnings | jan.nijtmans | 2011-08-16 | 1 | -1/+1 |
| | | | |||||
* | | | Eliminate all usage of functions Tcl_VarEval (deprecated) and Tcl_Eval (to ↵ | jan.nijtmans | 2013-03-07 | 1 | -4/+18 |
| | | | | | | | | | | | | the prefered Tcl_EvalEx). | ||||
* | | | Revert [ac229dabaa]. There is a reason the Tcl_GetIndexFromObj wrapper | jenglish | 2013-02-27 | 1 | -8/+7 |
| | | | | | | | | | exists and is used. | ||||
* | | | Eliminate all Tcl_GetIndexFromObj calls, which is only a thin wrapper around ↵ | jan.nijtmans | 2013-02-27 | 1 | -7/+8 |
| | | | | | | | | | | | | Tcl_GetIndexFromObjStruct. | ||||
* | | | Replace all Tcl_TraceVar/Tcl_UntraceVar with Tcl_TraceVar2/Tcl_UntraceVar2 ↵ | jan.nijtmans | 2013-02-22 | 1 | -2/+2 |
| | | | | | | | | | | | | calls: The former are just thin wrappers around the latter. | ||||
* | | | Use some more (void *)'s in FreeProc's, a step in the direction getting Tk ↵ | jan.nijtmans | 2013-01-26 | 1 | -4/+4 |
| | | | | | | | | | | | | to work with "novem" | ||||
* | | | Replace various functions calls, for functions which are small wrappers ↵ | jan.nijtmans | 2013-01-14 | 1 | -4/+4 |
| | | | | | | | | | | | | around other functions, to call the wrapped function directly. | ||||
* | | | Working towards making the error codes more consistent. | dkf | 2012-07-30 | 1 | -2/+2 |
| | | | |||||
* | | | Much more cleaning up of result handling. | dkf | 2012-07-23 | 1 | -16/+15 |
| | | | |||||
* | | | Working towards adding all the Tcl_SetErrorCode calls that should be there. | dkf | 2012-07-16 | 1 | -78/+78 |
| | | | | | | | | | ** WORK IN PROGRESS ** | ||||
* | | | frq-3536507: clientData field in Tk_OptionSpec should be "const void *"frq_3536507 | jan.nijtmans | 2012-06-20 | 1 | -13/+13 |
| | | | |||||
* | | | Purge RCS Keywords | dgp | 2011-06-08 | 1 | -2/+0 |
|\ \ \ | |/ / | |||||
| * | | Purge RCS Keywords. | dgp | 2011-06-08 | 1 | -2/+0 |
| |\ \ | | |/ | |||||
| | * | Purge RCS Keywords. | dgp | 2011-06-08 | 1 | -2/+0 |
| | | | |||||
| | * | * generic/tkCanvas.c: allow -selectforeground option to be None; add | das | 2007-04-29 | 1 | -4/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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()). | ||||
| | * | * generic/tkListbox.c (ConfigureListboxItem): ListboxWorldChanged | hobbs | 2006-12-04 | 1 | -5/+10 |
| | | | | | | | | | | | | not needed - just call EventuallyRedrawRange. [Bug 1608046] (rezic) | ||||
| | * | * tests/entry.test (entry-22.1): | hobbs | 2006-05-29 | 1 | -24/+22 |
| | | | | | | | | | | | | | | | | | | | | | * tests/listbox.test (listbox-6.15): * generic/tkListbox.c (ListboxInsertSubCmd, ListboxDeleteSubCmd): Ignore Tcl_SetVar2Ex failure of listVarName, similar to entry widget handling. [Bug 1424513] | ||||
| | * | silence compiler warning | dgp | 2004-06-08 | 1 | -3/+2 |
| | | | |||||
| | * | * generic/tkListbox.c (ListboxDeleteSubCmd, ListboxListVarProc): | hobbs | 2003-11-11 | 1 | -3/+4 |
| | | | | | | | | | | | | free itemconfig data when removing it from table. [Bug #836483] | ||||
| * | | Fix various gcc-4.4 warnings and formatting, all | nijtmans | 2010-01-29 | 1 | -10/+10 |
| | | | | | | | | | | | | backported from HEAD. | ||||
| * | | Backported some fixes for uninitialized variables identified by das using ↵ | patthoyts | 2009-03-03 | 1 | -3/+4 |
| | | | | | | | | | | | | clang analysis. |