Tk Source Code

Timeline
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 check-ins occurring around 01aee6e38f48c14c.

2017-03-21
20:56
Merged tip-442 following positive vote by the TCT. check-in: 5a16de13 user: fvogel tags: trunk
20:54
merge trunk Closed-Leaf check-in: 8f000256 user: fvogel tags: tip-442
15:27
Looks like "double" handling from previous commit wat not complete. check-in: b6792c5a user: jan.nijtmans tags: bug-434d294df
14:29
Bug [434d294df8]: fix type mismatch in unix/tkUnixRFont.c. Actually, conversions between integers and doubles should be prevented as much as possible. Sure, this will have impact on test-cases, but using "double" whenever font sizes are handled is less surprising. check-in: f9348cf1 user: jan.nijtmans tags: bug-434d294df
12:58
Another place where TCL_WIDE_INT_IS_LONG doesn't behave as expected on WIN64 check-in: f8055298 user: jan.nijtmans tags: revised_text, tip-466
12:46
Remove unused macro's. Somewhat less length checking for "##ID##%p##%p##%u##" tag, since TCL_WIDE_INT_IS_LONG doesn't behave as expected on WIN64. check-in: cd374e7d user: jan.nijtmans tags: revised_text, tip-466
11:58
Fix gcc compiler warning: tkTextMark.c: In function ‘TkTextMarkCmd’: tkTextMark.c:653:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (uint32_t) textPtr, (uint32_t) textPtr->sharedTextPtr, ++textPtr->uniqueIdCounter); ^ check-in: ab1bc6a5 user: jan.nijtmans tags: revised_text, tip-466
10:57
merge trunk check-in: 28c309c1 user: jan.nijtmans tags: revised_text, tip-466
2017-03-20
14:19
Check for Xlib.h in stead of Intrinsic.h in configure script. Reason: see [1610236]: beware FC autoconf fork. This autoconf bug is fixed in later autoconf versions, but as we are stuck with autoconf-2.59 ... check-in: 6ca83b72 user: jan.nijtmans tags: core-8-6-7-rc
13:05
merge 8.6 check-in: 00411276 user: dgp tags: core-8-6-7-rc
12:45
Bug in NextTabStop() fixed, now test cases textDisp-26.1.2, textDisp-26.14.2, and textDisp-27.1.1 are passing. check-in: d272a276 user: gcramer tags: revised_text, tip-466
2017-03-19
21:52
Fix tests failures: textDisp-2.5, -2.16 and -2.17 (this was done already in the past in [54a994d0ab] - the fix in that commit was, perhaps, wrong, but the expected results of the test cases were correctly fixed in that commit, except regarding textDisp-2.17). check-in: 8b612f03 user: fvogel tags: revised_text, tip-466
18:32
Bug fixed when tagging with "sel", the text widget should become the owner again, even if the selection has not changed. This is fixing test case text-21.4 under Windows/Mac. check-in: 384bfe0b user: gcramer tags: revised_text, tip-466
2017-03-17
10:07
Code refactoring. check-in: dfffd747 user: gcramer tags: revised_text, tip-466
2017-03-16
18:00
Last fix in TkTextGetDLineInfo was incomplete, but now it's okay check-in: 3b14bb15 user: gcramer tags: revised_text, tip-466
17:59
Bug in TkTextGetDLineInfo fixed with -extent. check-in: 06967de8 user: gcramer tags: revised_text, tip-466
17:52
1. Fix in TextBlinkProc, the blinking cursor did not properly work with lines larger than view 2. Line scroll (with TkScrollWindow) fixed, no more cursor artefacts; so I could remove the previous fix in TextUndoRedoCallback (at this time I did not see the real reason) 3. Fix in TkTextSetYView, the "see" command did not show the character when the line is larger than view 4. Fix in TkTextSetYView, now the "see" command will not jump if cursor position is still fully visible, this happened with lines larger than view 5. Switch -discardpartial from command "bbox" removed 6. Switch -extents to commands "bbox" and "dlineinfo" added, will return the invisible extents, this is the most flexible way for the support of all kinds of cursor/line adjustments 7. Doc/Test cases adapted to new switch -extent 8. Function ::tk::TextScrollPages overworked, hopefully this is the final version, page scroll is a suprisingly difficult thing 9. Some minor fixes, mostly beautifying check-in: 93759db0 user: gcramer tags: revised_text, tip-466
2017-03-15
13:48
Fix tests failures: textDisp-20.2, -20.3, -20.4, -21.1, -22.1, -23.1, -23.2 (this was done already in the past in [54a994d0ab] - the fix in that commit was, perhaps, wrong, but the expected results of the test cases were correctly fixed in that commit). Re-added 'textfonts' constraint to textDisp-20.1 through -20.5 (this constraint had been removed in [97e420e722]). check-in: 7e0adb5c user: fvogel tags: revised_text, tip-466
12:27
merge core-8-6-branch check-in: c772b452 user: jan.nijtmans tags: androwish
2017-03-14
17:23
Function tk_textRebindMouseWheel implemented. check-in: d3804242 user: gcramer tags: revised_text, tip-466
01:13
added a remark about some keysyms being valid across platforms... check-in: 11af7ed4 user: avl tags: tip-464
2017-03-13
14:18
Add minimal test of -justify for ttk::button check-in: 48cfc4fa user: fvogel tags: tip-442
14:10
Document -font for ttk::progressbar check-in: 4089f161 user: fvogel tags: tip-442
13:59
Document units for -length and -wraplength check-in: 039f614f user: fvogel tags: tip-442
13:43
Reorder progressbar options alphabetically (to follow the standard convention in the source code) check-in: b00e64c4 user: fvogel tags: tip-442
13:33
Add test progressbar-3.2 (tweaked from a proposal from René Zaumseil) check-in: 01aee6e3 user: fvogel tags: tip-442
07:35
More small tweaks to improve formatting and fix some of the grammar issues. check-in: e79e4461 user: dkf tags: revised_text, tip-466
2017-03-12
21:57
Deprecated behavior regarding chars vs indices described in the man page was removed from the revised implementation. Make the man page reflect this. check-in: 3ad4ce7e user: fvogel tags: revised_text, tip-466
20:30
Add new helper function tk_textRebindMouseWheel (not yet written nor documented). Also, properly reference all such tk_* helper functions in the text widget man page and also in the man page showing the list of Tk commands check-in: bccb4571 user: fvogel tags: revised_text, tip-466
20:06
Document the new widget option -inactiveselectforeground and the new option -discardpartial to the bbox command. Fix a minor formatting issue with the prototype of the 'delete' command check-in: 619e842c user: fvogel tags: revised_text, tip-466
18:39
Minor formatting fixes; HTML now builds with trunk tip of Tcl. check-in: 36a2b40f user: dkf tags: revised_text, tip-466, minor change
14:50
1. Small fix in handling parameters for 'bbox'. 2. Test cases for bbox now regarding new option '-discardpartial' (but note that the implementation is not yet finished, it has still minor issues). 3. Some fixes of minor compiler warnings under OSX, only one is not fixable. check-in: fdf636d4 user: gcramer tags: revised_text, tip-466
11:19
1. Remove artefacts from cursor when applying undo/redo actions. 2. Windows and Mac implementations of Tk_DrawChars are ignoring the font attribute, so setup insertFgGC, needed for redrawing the character behind the block cursor, with font from current chunk. check-in: 1abadf67 user: gcramer tags: revised_text, tip-466
2017-03-11
15:08
tk::TextScrollPages overworked, the thing with page scroll is quite complicated. For a proper cursor handling it was required to extend command bbox, new option -discardpartial ensures that no values will be returned if the index is not entirely visible (in vertical direction). check-in: 9087c682 user: gcramer tags: revised_text, tip-466
14:55
Fix [77527326e5]: ttk artifacts on Ubuntu. Patch from Csaba Nemethi. check-in: 09461003 user: fvogel tags: trunk
14:53
Fix [77527326e5]: ttk artifacts on Ubuntu. Patch from Csaba Nemethi. check-in: af5fda33 user: fvogel tags: core-8-6-branch
10:38
Add minimal testing of the ttk::progressbar options check-in: 8de53960 user: fvogel tags: tip-442
2017-03-10
22:12
Fix [77527326e5]: ttk artifacts on Ubuntu. Patch from Csaba Nemethi. Closed-Leaf check-in: 8d9bfee8 user: fvogel tags: bug-77527326e5
18:21
Start RC branch for Tk 8.6.7 check-in: 6e14fb54 user: dgp tags: core-8-6-7-rc
2017-03-09
21:06
Remove the tkTextIndexType object, not used in the revised implementation of the text widget check-in: a6a9a8d2 user: fvogel tags: revised_text, tip-466
2017-03-08
22:16
Fix typo in comment check-in: b0c23852 user: fvogel tags: revised_text, tip-466
19:24
Minor change in ::tk::TextScrollPages. check-in: e15a7fa4 user: gcramer tags: revised_text, tip-466
18:48
Bad page up/down scroll behavior fixed, for possible use case see <http://groups.google.com/forum/#!topic/comp.lang.tcl/-FDgRL32Zjs>. check-in: 6a3538ef user: gcramer tags: revised_text, tip-466
15:18
Function TkpTesttextCmd fixed, test cases textIndex-1.6, textIndex-11.6, textIndex-11.7 will not fail anymore. check-in: cb2d2b5a user: gcramer tags: revised_text, tip-466
14:35
Compiler warning probably eliminated (cannot test Mac). check-in: bfa73789 user: gcramer tags: revised_text, tip-466
14:31
Some warnings eliminated. check-in: b54429e5 user: gcramer tags: revised_text, tip-466
2017-03-07
22:00
Remove duplicate documentation of -width in ttk::button check-in: 72d43a1d user: fvogel tags: tip-442
21:43
Document the new options for ttk::progressbar check-in: 54883d9b user: fvogel tags: tip-442
20:46
Document -justify for ttk::button check-in: 5d358b29 user: fvogel tags: tip-442
18:20
Merge trunk check-in: 5946d33a user: fvogel tags: revised_text, tip-466