summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Fixed error in commentfvogel2016-02-111-1/+1
|
* Fix crash in TkFinalize() if Tk_Init() is never called. Suggested by Brian ↵jan.nijtmans2016-02-111-0/+6
| | | | Griffin.
* Fixed (with a real fix this time) bug [06c1433906] - Text widget crash ↵fvogel2016-02-081-16/+41
|\ | | | | | | during delete
| * With the real fix in FindDLine ([717e12ee]) there is no need anymore of the ↵finddlinefvogel2016-02-081-3/+0
| | | | | | | | emergency patch [c3c09f82].
| * Made FindDLine fully match its header description.fvogel2016-02-081-3/+30
| |
| * More comments in FindDLine, with slightly optimized code to achieve the same ↵fvogel2016-02-081-3/+11
| | | | | | | | functionality.
| * Reverted [311ef109] and [1847c858] because they are no longer needed to fix ↵fvogel2016-02-081-8/+1
| | | | | | | | bug [2f78c7c5ea]. The corresponding test textDisp-9.14 still passes.
* | Corrected indentation + added an explanatory comment.fvogel2016-02-081-1/+4
| |
* | Fix [0a3d799a6d]: option db rc files in non utf-8 encoding are not portable.jan.nijtmans2016-02-081-32/+8
|\ \
| * | Re-implement tkoption readfile using Tcl_ReadCharsjan.nijtmans2016-02-021-32/+8
| | |
* | | Fix [06c14339060ba9ae]: Text widget crash during delete. Thanks to François ↵jan.nijtmans2016-02-081-5/+3
|\ \ \ | | |/ | |/| | | | Vogel for the implementation and Brian Griffin for all his help getting this figured out.
| * | while is better than if because it deals with wrapped lines then.fvogel2016-02-071-1/+1
| | |
| * | Hopefully a better fix for [06c1433906] - Text widget crashfvogel2016-02-071-5/+3
| | |
| * | [06c1433906] Possible fix for text widget crashes.dgp2016-02-041-0/+5
| | |
| * | Backout [477949] for Tk 8.5, after discussion in TclCore mailing list: ↵jan.nijtmans2016-02-031-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | option readfile cannot use multibytes. Ticket [0a3d799a] To clarify a bit, what we discovered was that [[option readfile]] as found in all Tk releases up to and including 8.5.18 is already able to read in the whole BMP, so long as the file is stored in the encoding utf-8. The classic ASCII subset is fine. utf-8 is fine. Other encodings are at best non-portable. What [477949] did was to add support for files stored in [[encoding system]] but at the expense of breaking the support for the files stored in utf-8. Not the right outcome for a patch release.
| * | NotebookAddCommand: fix off-by-one error counting objc/objvjenglish2016-01-251-1/+1
| | | | | | | | | | | | | | | when readding an already-managed window with arguments. Bug reported on tcl-core by Sam Bromley (22 Jan 2016)
| * | (cherry-pick): Fixed bug [9e606527af] - && instead of & used in ↵jan.nijtmans2016-01-231-1/+1
| | | | | | | | | | | | generic/tkOption.c
| * | (cherry-pick) Fix [2049429]: Some options aren't picked up from the options ↵jan.nijtmans2016-01-125-29/+27
| | | | | | | | | | | | database.
* | | Fix crashing test case, textDisp-8.13dgp2016-02-051-0/+5
| |/ |/|
* | NotebookAddCommand: fix off-by-one error counting objc/objvjenglish2016-01-251-1/+1
| | | | | | | | | | 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-221-23/+87
|\ \
| * | Reverted [5f396dacdc].fvogel2016-01-181-0/+1
| | |
| * | Removed attempt of adjustment of the startup xview according to the -justify ↵fvogel2016-01-181-11/+0
| | | | | | | | | | | | option. Anyway this does not work.
| * | 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.
| * | 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-137-35/+225
| |\ \
| * | | More typos fixedfvogel2016-01-131-10/+14
| | | |
| * | | Typo fixedfvogel2016-01-131-1/+1
| | | |
| * | | Improved patch formatting. No functional changefvogel2016-01-111-26/+44
| | | |
| * | | merged trunkfvogel2016-01-1142-796/+1424
| |\ \ \
| * | | | [3f456a5bb9]: Patches for listbox right justifyjan.nijtmans2014-02-111-4/+104
| | | | |
* | | | | Fixed bug [9e606527af] - && instead of & used in generic/tkOption.cfvogel2016-01-201-1/+1
| |_|/ / |/| | |
* | | | TIP #438 (Ensure Line Metrics are Up-to-Date) accepted by votefvogel2016-01-133-6/+198
|\ \ \ \
| * \ \ \ rebase "tip-438" branch to latest trunk.tip_438jan.nijtmans2016-01-073-6/+198
| |\ \ \ \
| | * | | | Harmonized use of NULL for textPtr->afterSyncCmdfvogel2016-01-051-2/+2
| | | | | |
| | * | | | Moved RunAfterSyncCmd procedurefvogel2016-01-051-47/+47
| | | | | |
| | * | | | Typo fixed in commentfvogel2016-01-051-1/+1
| | | | | |
| | * | | | Merged core-8-5-branchfvogel2015-12-261-1/+8
| | |\ \ \ \
| | * | | | | [.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-211-32/+97
| | |\ \ \ \ \
| | * | | | | | 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.
| | * | | | | | Merged core-8-5-branchfvogel2015-12-131-13/+14
| | |\ \ \ \ \ \
| | * \ \ \ \ \ \ Merged core-8-5-branchfvogel2015-12-091-24/+47
| | |\ \ \ \ \ \ \
| | * | | | | | | | Fixed indentationfvogel2015-11-281-8/+8
| | | | | | | | | |