summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Re-implement tkoption readfile using Tcl_ReadCharsjan.nijtmans2016-02-022-33/+9
|
* Fix build errors on i386 for Cocoa; thanks to Marc Culler for patchKevin Walzer2016-01-314-5/+7
|
* Fixed test entry-6.12: merge from 8.5 didn't see that $fixed does not exist ↵fvogel2016-01-291-3/+3
| | | | in trunk version of entry.test. Thanks to emiliano for the report.
* NotebookAddCommand: fix off-by-one error counting objc/objvjenglish2016-01-252-1/+22
| | | | | when readding an already-managed window with arguments. Bug reported on tcl-core by Sam Bromley (22 Jan 2016)
* Implement TIP #441: Add -justify Configuration Option to the listbox Widgetjan.nijtmans2016-01-227-27/+173
|\
| * Removed unfinished test case committed by error in the previous commit.tip_441fvogel2016-01-181-22/+0
| |
| * Reverted [5f396dacdc].fvogel2016-01-182-0/+23
| |
| * Removed attempt of adjustment of the startup xview according to the -justify ↵fvogel2016-01-181-11/+0
| | | | | | | | option. Anyway this does not work.
| * Documented what listbox-3.18b intends to test.fvogel2016-01-181-0/+4
| |
| * 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.
| * 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. 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]).fvogel2016-01-171-1/+7
| |
| * Addressed questions 3 and 5 (see artifact [9d48a9c212] of ticket ↵fvogel2016-01-171-61/+0
| | | | | | | | [3f456a5bb9]). It is not desirable to make the listbox xview jump on resizing.
| * Removed test listbox-3.18c since it is irrelevant (the rendering of the ↵fvogel2016-01-161-26/+0
| | | | | | | | selected items is made in a code that depends on existence of a selection but this is untestable by bboxing since bbox is independent from the presence of a selection in the listbox)
| * Decided about test results for listbox-3.18afvogel2016-01-161-5/+5
| |
| * Rebased to latest trunkfvogel2016-01-161-0/+1
| |\
| * | Addressed issue B (see artifact [9d48a9c212] of ticket [3f456a5bb9])fvogel2016-01-161-1/+10
| | |
| * | Addressed issue A and question 6 (see artifact [9d48a9c212] of ticket ↵fvogel2016-01-161-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]). fvogel2016-01-161-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])fvogel2016-01-161-1/+2
| | |
| * | Rebased to latest trunkfvogel2016-01-1313-89/+563
| |\ \
| * | | More typos fixedfvogel2016-01-131-10/+14
| | | |
| * | | Typo fixedfvogel2016-01-131-1/+1
| | | |
| * | | Added more testsfvogel2016-01-121-0/+74
| | | |
| * | | Added some testsfvogel2016-01-111-0/+15
| | | |
| * | | Polished listbox justification demofvogel2016-01-111-5/+7
| | | |
| * | | Improved patch formatting. No functional changefvogel2016-01-114-29/+47
| | | |
| * | | merged trunkfvogel2016-01-11220-7527/+11393
| |\ \ \
| * | | | Adapt documentation and test-casejan.nijtmans2014-02-112-4/+5
| | | | |
| * | | | [3f456a5bb9]: Patches for listbox right justifyjan.nijtmans2014-02-115-4/+116
| | | | |
* | | | | Fixed bug [9e606527af] - && instead of & used in generic/tkOption.cfvogel2016-01-201-1/+1
| |_|_|/ |/| | |
* | | | Fixed bug [639558ac83] - Lots of listbox tests fail on Linuxfvogel2016-01-161-0/+1
| |_|/ |/| |
* | | TIP #438 (Ensure Line Metrics are Up-to-Date) accepted by votefvogel2016-01-136-38/+504
|\ \ \
| * \ \ rebase "tip-438" branch to latest trunk.tip_438jan.nijtmans2016-01-076-38/+504
| |\ \ \
| | * | | Harmonized use of NULL for textPtr->afterSyncCmdfvogel2016-01-051-2/+2
| | | | |
| | * | | Polished documentation a bitfvogel2016-01-051-7/+8
| | | | |
| | * | | Moved RunAfterSyncCmd procedurefvogel2016-01-051-47/+47
| | | | |
| | * | | Typo fixed in commentfvogel2016-01-051-1/+1
| | | | |
| | * | | Merged core-8-5-branchfvogel2015-12-262-2/+33
| | |\ \ \
| | * | | | [.text sync -command $cmd] schedules execution of $cmd by the event loop at ↵fvogel2015-12-263-14/+62
| | | | | | | | | | | | | | | | | | | | | | | | idle time
| | * | | | Merged core-8-5-branchfvogel2015-12-2116-178/+367
| | |\ \ \ \
| | * | | | | Test text-11a.41 now correctly written passes.fvogel2015-12-201-6/+6
| | | | | | |
| | * | | | | There could be false negatives with [.text pendingsync] when line metrics ↵fvogel2015-12-201-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | calculation is in the middle of a long line.
| | * | | | | Tests reordered. Two issues currently: 1. text-11a.22 currently hangs but ↵fvogel2015-12-191-38/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | should pass once [.text sync -command $cmd] will be correctly implemented. 2. text-11a.41 fails (unsure why)
| | * | | | | Better (and more correct) description of what [.text sync -command $command] ↵fvogel2015-12-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | does
| | * | | | | Merged core-8-5-branchfvogel2015-12-133-15/+27
| | |\ \ \ \ \
| | * \ \ \ \ \ Merged core-8-5-branchfvogel2015-12-0911-65/+145
| | |\ \ \ \ \ \
| | * | | | | | | Clearer separation between what [.text sync] and [.text sync -command] ↵fvogel2015-11-281-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exactly perform
| | * | | | | | | Fixed indentationfvogel2015-11-281-8/+8
| | | | | | | | |
| | * | | | | | | Merged core-8-5-branchfvogel2015-11-2813-693/+687
| | |\ \ \ \ \ \ \