summaryrefslogtreecommitdiffstats
path: root/generic/tkListbox.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed [b362182e45] - Generation of virtual events through Tk_HandleEvent is ↵fvogel2016-04-211-10/+1
| | | | | unsafe FossilOrigin-Name: 1795939c15c48750dfa936fbaf262e45b5d9800d
* Reverted [5f396dacdc].fvogel2016-01-181-0/+1
| | | FossilOrigin-Name: d1731afd46aa61dd01ef5f0a37814777b3e795d2
* Removed attempt of adjustment of the startup xview according to the -justify ↵fvogel2016-01-181-11/+0
| | | | | option. Anyway this does not work. FossilOrigin-Name: 87072faf7e08bb55c90b9813b8fa46cbbeb1c181
* Use GetMaxOffset when possible to reduce code duplication. The change in ↵fvogel2016-01-181-6/+2
| | | | | ListboxScanTo is not exactly equivalent but I believe the previous version was a bug. FossilOrigin-Name: 3bb0cf8815b77f344d47171a70c294114e571125
* Fixed bug with the listbox justify patch: with large borders, when moving ↵fvogel2016-01-181-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. FossilOrigin-Name: 5f396dacdc1750d5dcfd805901d2491fb98fe711
* Addressed question 4 (see artifact [9d48a9c212] of ticket [3f456a5bb9]).fvogel2016-01-171-1/+7
| | | FossilOrigin-Name: ae788ecf965e471ad0d65a4b16f600b231e57e73
* Addressed questions 3 and 5 (see artifact [9d48a9c212] of ticket [3f456a5bb9]).fvogel2016-01-171-61/+0
| | | FossilOrigin-Name: 33195408d675e4dc5fe86d905f3bbbb9af7140b2
* Addressed issue B (see artifact [9d48a9c212] of ticket [3f456a5bb9])fvogel2016-01-161-1/+10
| | | FossilOrigin-Name: ff7d0131ea18e8eaaad45675828d0d255a245e84
* Addressed issue A and question 6 (see artifact [9d48a9c212] of ticket ↵fvogel2016-01-161-9/+7
| | | | | [3f456a5bb9]) FossilOrigin-Name: bfbd8ae654ab30cfda3ff3d4bc6fa7ea5e19c14f
* Addressed question 2 (see artifact [9d48a9c212] of ticket [3f456a5bb9])fvogel2016-01-161-0/+4
| | | FossilOrigin-Name: ce7ce2f5a6364ffdc2fdb4ea82f38f0b7e1d2ce7
* Addressed question 1 (see artifact [9d48a9c212] of tichet [3f456a5bb9])fvogel2016-01-161-1/+2
| | | FossilOrigin-Name: e85c0d6b0f7138a88ef11437259a210328edc38a
* Rebased to latest trunkfvogel2016-01-131-6/+5
|\ | | | | FossilOrigin-Name: 51daaaff2bf50f70a0000dce9692e0bf0d8ce429
| * Rebase to 8.6, getting rid of DEF_TEXT_SPACING[123]jan.nijtmans2016-01-101-6/+5
| |\ | | | | | | FossilOrigin-Name: dd92246a653dbbd958b14b0ac1210b2282646172
| | * Removed unused flags argument in Configure function since Tk_ConfigureWidget ↵fvogel2016-01-081-5/+4
| | | | | | | | | | | | | | | is no longer used there since last century FossilOrigin-Name: 45b63f31cfbcdf0a7147ff227da0de5f4aed58db
| | * Use TK_OPTION_NULL_OK instead of TK_CONFIG_NULL_OKfvogel2016-01-081-1/+1
| | | | | | | | | FossilOrigin-Name: 092f9d63f145e155761f30ccf7c65464cb0da981
* | | More typos fixedfvogel2016-01-131-10/+14
| | | | | | | | | FossilOrigin-Name: 2eedd5f166cb69bec453a934c4377b0ea4503730
* | | Typo fixedfvogel2016-01-131-1/+1
| | | | | | | | | FossilOrigin-Name: a61ce95b869245fd5360678be3cb8369f6debeb0
* | | Improved patch formatting. No functional changefvogel2016-01-111-26/+44
| | | | | | | | | FossilOrigin-Name: c83c64991b7871c71fbb60aab00a6c9644895a5b
* | | merged trunkfvogel2016-01-111-0/+35
|\ \ \ | |/ / | | | FossilOrigin-Name: d9f9c7f55fbd47c56311974aa6cae706349608c7
| * | Fixed bug [3102228] - <<ListboxSelect>> doesn't fire when selection lostfvogel2016-01-061-0/+35
| |\ \ | | |/ | | | FossilOrigin-Name: 3736983e96802c090f7957208789ee7890cc110a
| | * Fixed bug [3102228] - <<ListboxSelect>> doesn't fire when selection lostfvogel2015-12-311-0/+35
| | | | | | | | | FossilOrigin-Name: 4afc37da90142c80b5059dea693df196574e88cf
* | | [3f456a5bb9]: Patches for listbox right justifyjan.nijtmans2014-02-111-4/+104
|/ / | | | | FossilOrigin-Name: 87d4c7788ed98145fce47d8b92908c6550350949
* | Eliminate all usage of WIN32 macro as well: _WIN32 is the portable macro.jan.nijtmans2014-02-101-4/+4
| | | | | | FossilOrigin-Name: 0a0d15e12a210a8481eb0ed7da5ede3fbd2eb840
* | 3607326 Stop segfault from [listbox .l -listvariable $array].dgp2013-03-111-3/+0
|\ \ | |/ | | FossilOrigin-Name: e8c5b9ddf885baaf2949b8e5db2b056d2ccdc645
| * 3607326 Stop segfault from [listbox .l -listvariable $array].dgp2013-03-111-3/+0
| | | | | | FossilOrigin-Name: 645ca43c5df0c4ff338e240aba2114bcf5ae99cb
| * SetOptions.3: minor doc fixjan.nijtmans2012-06-191-2/+2
| |\ | | | | | | | | | | | | | | | make various other tables const (all backported from Tk 8.6) FossilOrigin-Name: 2335ee4ecc69b05ab7eafef039dd64c98a48d99e
| | * SetOptions.3: minor doc fixjan.nijtmans2012-06-191-4/+4
| | | | | | | | | | | | | | | | | | make various other tables CONST (All backported from Tk 8.6) FossilOrigin-Name: 213ad7fdd3df8afd283afab1a86cfde6170327d2
| * | make some internal tables constjan.nijtmans2012-04-181-2/+2
| |\ \ | | |/ | | | FossilOrigin-Name: a1af7fc26085b8c9597f42d836d323b89d6a9335
| | * make some more internal tables CONSTjan.nijtmans2012-04-181-2/+2
| | | | | | | | | FossilOrigin-Name: aa7261636c2ac1e7b4d8fff7e955838917652a20
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-1/+1
| | | | | | | | | FossilOrigin-Name: 38034808be38fbcdb44a49cba6daaf9ac1579a49
* | | Eliminate all usage of (deprecated) functions Tcl_VarEval and Tcl_Eval.jan.nijtmans2013-03-071-4/+18
| | | | | | | | | FossilOrigin-Name: 0deef053f656e065cb0bb8410a0584bc8d5c8e54
* | | Revert [ac229dabaa]. There is a reason the Tcl_GetIndexFromObj wrapper jenglish2013-02-271-8/+7
| | | | | | | | | | | | | | | exists and is used. FossilOrigin-Name: 6c26562fe3f83eea390818ed36601930e1cbe0d9
* | | Eliminate all Tcl_GetIndexFromObj calls, which is only a thin wrapper around ↵jan.nijtmans2013-02-271-7/+8
| | | | | | | | | | | | | | | Tcl_GetIndexFromObjStruct. FossilOrigin-Name: ac229dabaa17d676525667523b87cdab837c473d
* | | Replace all Tcl_TraceVar/Tcl_UntraceVar with Tcl_TraceVar2/Tcl_UntraceVar2 ↵jan.nijtmans2013-02-221-2/+2
| | | | | | | | | | | | | | | calls: The former are just thin wrappers around the latter. FossilOrigin-Name: fd565de1f1490bbc2ea68ecd4134cc31da3cb0bf
* | | Use some more (void *)'s in FreeProc's, a step in the direction getting Tk ↵jan.nijtmans2013-01-261-4/+4
| | | | | | | | | | | | | | | to work with "novem" FossilOrigin-Name: 9279332cf22a8ceeda1fd9c3c47628f162e85972
* | | Replace various functions calls, for functions which are small wrappers ↵jan.nijtmans2013-01-141-4/+4
| | | | | | | | | | | | | | | around other functions, to call the wrapped function directly. FossilOrigin-Name: cb8420c1d1cfcf429e49b78a9b97a824a99fdc52
* | | Working towards making the error codes more consistent.dkf2012-07-301-2/+2
| | | | | | | | | FossilOrigin-Name: 45327b3d6fc9c1c7c415e8c25e98639bed019d84
* | | Much more cleaning up of result handling.dkf2012-07-231-16/+15
| | | | | | | | | FossilOrigin-Name: 016ad9dac31d39cbc9ded6a6e8e75c11618318a8
* | | Working towards adding all the Tcl_SetErrorCode calls that should be there.dkf2012-07-161-78/+78
| | | | | | | | | | | | | | | ** WORK IN PROGRESS ** FossilOrigin-Name: 6f8f9336c381b81bbe323a8399eaf4dd3f89b34f
* | | frq-3536507: clientData field in Tk_OptionSpec should be "const void *"jan.nijtmans2012-06-201-13/+13
| | | | | | | | | FossilOrigin-Name: b15ef8c67086607c744f6ab245b137a271618328
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ / | | | FossilOrigin-Name: b8a1385217cc117d6962c234f0a4d28ff10e089c
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/ | | | FossilOrigin-Name: 3f95fbe0ce14948fd409844b915c18ef25d7d0a0
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | | | | | | | | FossilOrigin-Name: a74f32bb6369d3e66e661145c81a98a14ed79b3a
| | * * generic/tkCanvas.c: allow -selectforeground option to be None; adddas2007-04-291-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()). FossilOrigin-Name: e28d001869d11668fedf18232365561b08014860
| | * * generic/tkListbox.c (ConfigureListboxItem): ListboxWorldChangedhobbs2006-12-041-5/+10
| | | | | | | | | | | | | | | | | | not needed - just call EventuallyRedrawRange. [Bug 1608046] (rezic) FossilOrigin-Name: 297e33dd77cb08eeee39a697138c6117a3883941
| | * * tests/entry.test (entry-22.1):hobbs2006-05-291-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] FossilOrigin-Name: 18780b1c4f4abdbd9ed9662513ee984e64ad568b
| | * silence compiler warningdgp2004-06-081-3/+2
| | | | | | | | | FossilOrigin-Name: 0b65a3422621f6cc2599b73bcbdced42f6cc3f25
| | * * generic/tkListbox.c (ListboxDeleteSubCmd, ListboxListVarProc):hobbs2003-11-111-3/+4
| | | | | | | | | | | | | | | | | | free itemconfig data when removing it from table. [Bug #836483] FossilOrigin-Name: 5281eb542eff290211b6088f9400954ee8621d45
| * | Fix various gcc-4.4 warnings and formatting, allnijtmans2010-01-291-10/+10
| | | | | | | | | | | | | | | | | | backported from HEAD. FossilOrigin-Name: a552665342253501ed32578f295f6a9fc0bf47c1
| * | Backported some fixes for uninitialized variables identified by das using ↵patthoyts2009-03-031-3/+4
| | | | | | | | | | | | | | | clang analysis. FossilOrigin-Name: 62c082c99b822eff86265c687ba47ecb98ecc521