Tk Source Code

Timeline
Login

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

246 check-ins using file generic/tkFont.c version 38c47a80

2017-05-18
11:13
merge core-8-6-branch check-in: c3392309 user: jan.nijtmans tags: trunk
09:27
merge core-8-6-branch check-in: 38408c2a user: jan.nijtmans tags: trunk
08:07
Fixed bug [2433781fff] check-in: 15047114 user: gcramer tags: trunk
2017-05-13
16:35
Major reworking of tkMacOSXDialog.c to support -typevariable, improve file filtering, fix for 3588462; thanks to Christian Gollwitzer for patch check-in: f2023777 user: kevin_walzer tags: trunk
2017-05-12
08:58
merge core-8-6-branch check-in: ef218540 user: jan.nijtmans tags: trunk
2017-05-10
10:18
Fix [a5ba1c9764]: Race condition in clipboard cleanup on Windows. Patch from Roman Donchenko check-in: 9362e91b user: fvogel tags: trunk
09:05
merge core-8-6-branch check-in: 83d58199 user: jan.nijtmans tags: trunk
2017-05-09
13:51
merge trunk check-in: 593a9dcc user: jan.nijtmans tags: trunk
2017-05-08
12:03
merge-mark check-in: cc275df5 user: jan.nijtmans tags: trunk
11:20
merge core-8-6-branch check-in: f6078459 user: jan.nijtmans tags: trunk
2017-05-06
15:38
tk_getSaveFile now correctly displays multiple file types with filtering on macOS check-in: 61dd9574 user: kevin_walzer tags: trunk
02:16
Add support for file filters in tk_GetSaveFile on macOS/Cocoa check-in: 2bf70521 user: kevin_walzer tags: trunk
2017-05-05
13:57
merge core-8-6-branch check-in: cb650498 user: jan.nijtmans tags: trunk
2017-05-02
18:25
Change floor() back to casting to int() in fixing [6020ee2d03]. check-in: a2be49cd user: fvogel tags: trunk
12:32
If compiled with -DTK_NO_DEPRECATED, remove the functions Tk_PhotoPutBlock_NoComposite/Tk_PhotoPutZoomedBlock_NoComposite/Tk_PhotoExpand_Panic/Tk_PhotoPutBlock_Panic/Tk_PhotoPutZoomedBlock_Panic/Tk_PhotoSetSize_Panic, which only exist to make stub-enabled extensions work which used those old functions. Otherwise, mark those functions as deprecated, causing a compiler warning if the compiler supports this. check-in: 5e49d490 user: jan.nijtmans tags: trunk
08:42
merge core-8-6-branch check-in: b939e8a4 user: jan.nijtmans tags: trunk
2017-05-01
13:27
Fix [2433781fff]: Under X11 image/text now will be centered correctly, the old algorithm has an obvious offset bug, it did not take into account the case if the padding is even. Closed-Leaf check-in: 485e744f user: gcramer tags: bug-2433781
11:40
Adapt detection for whethere there is alpha or not on Postscript generation to new algorithm. And adapt documentation accordingly. Leaf check-in: e7039d9d user: jan.nijtmans tags: rfe-22ace0d494
11:14
Proposed fix for [22ace0d494]: Problem with Tk_PhotoPutBlock and alpha channel. Changed it to CHW's proposal: 1. gray image w/o alpha: all offsets are equal 2. gray image with alpha: all RGB offsets are equal, alpha offset is different 3. RGB image w/o alpha: all RGB offsets are different, alpha offset is equal to one of R or G or B 4. RGB image with alpha: all offsets are different I think this would work fine, even though it's "potentially incompatible" check-in: b57872c5 user: jan.nijtmans tags: rfe-22ace0d494
10:13
merge core-8-6-branch check-in: 7b51da4c user: jan.nijtmans tags: trunk
10:03
Create new branch named "bug-2433781" check-in: 4bc67a89 user: gcramer tags: bug-2433781
01:55
tk_getSaveFile now correctly displays file name on macOS when -initialfile flag used; this functionality broke after Tk 8.6.5. The filetypes filter also now works correctly in tk_getOpenFile on macOS; this functionality was mostly broken after the transition to Cocoa. Thanks to Torsten Reincke and Christian Gollwitzer for the bug reports on c.l.t. check-in: 89176643 user: kevin_walzer tags: trunk
2017-04-30
08:05
Partial fix: [22ace0d494] (Tk_PhotoPutBlock does not handle correctly unusual image data layouts). Documented the issue. An actual fix would introduce a new feature and potential compatibility issues. check-in: 0020d703 user: simonbachmann tags: trunk
2017-04-25
10:44
merge core-8-6-branch check-in: 99ce86b1 user: jan.nijtmans tags: trunk
2017-04-23
18:36
Several corrections to the manpage photo.n check-in: f9765065 user: simonbachmann tags: tip-166
2017-04-20
06:03
Merge core-8-6-branch (merge-mark and eol-spacing) check-in: 363febf5 user: jan.nijtmans tags: trunk
01:53
1. Fix for segfault with latest version of Xcode on macOS 10.12; thanks to Bill Joye for patch. 2. Improvements to HITheme scroller on macOS: smoother scrolling, and scrollbar now correctly highlights when being pressed and during enter/leave events. Thanks to Tortsen Reincke for bug report (061bf93176a5684a4a855f8177b290c59dd39bf2). check-in: 06b1ee41 user: kevin_walzer tags: trunk
2017-04-19
03:55
merge trunk check-in: a7187878 user: fvogel tags: tip-166
2017-04-18
17:45
merge core-8-6-branch check-in: 3e6a5b3b user: jan.nijtmans tags: trunk
2017-04-17
20:05
Fix [3602901fff]: Documentation of -padding and -border in ttk check-in: 72b5b9f0 user: fvogel tags: trunk
2017-04-13
19:37
Removed -boolean option from <imageName> transparency get/set subcommands check-in: bf7e3ca4 user: simonbachmann tags: tip-166
19:35
merge trunk check-in: 6ea2e8e4 user: simonbachmann tags: tip-166
12:54
merge-mark check-in: bd3f2b5b user: jan.nijtmans tags: trunk
12:31
Translate all octal \??? sequences to their UTF-8 counterpart in *.msg files check-in: 4b942801 user: jan.nijtmans tags: trunk
12:26
Translate all \u???? sequences to their UTF-8 counterpart in *.msg files check-in: 857945e0 user: jan.nijtmans tags: trunk
2017-04-10
18:31
Fix [3f323bf2b4]: wm protocol crash on OSX compiled with XCode 8.3.1. Patch from Christian Gollwitzer. check-in: 05f110c6 user: fvogel tags: trunk
10:02
Support of "integer set only" (TK_TEXT_DONT_USE_BITFIELDS) has been removed. Tests have shown that this is not useful at all, the bit fields are very fast, and the integer sets are only a fallback when many tags are in usage. check-in: 3156aac6 user: gcramer tags: revised_text, tip-466
09:27
(1) For symmetry reasons option -tags has also been added to embedded window support. (2) Refactorization of functionality for the supprt of -tags. (3) Option -tags has been added to the documentation. check-in: 96550316 user: gcramer tags: revised_text, tip-466
2017-04-09
20:45
Updated makefiles following removal the Q-Tree files. check-in: 2b969ffe user: fvogel tags: revised_text, tip-466
09:58
Fixed incorrect parsing of #ARGB format on Windows check-in: c4b018e1 user: simon tags: tip-166
08:27
merge trunk check-in: 42567ed8 user: simonbachmann tags: tip-166
08:23
Performance tuning in color parsing code and the 'data' subcommand check-in: 838304b5 user: simonbachmann tags: tip-166
2017-04-08
15:45
Q-Tree removed because it is not used anymore. check-in: c5339f8e user: gcramer tags: revised_text, tip-466
14:01
Some test cases in textImage.test adopted (removal of "image bind", additional option "-tags") check-in: d8c58a65 user: gcramer tags: revised_text, tip-466
13:55
Correction in text manual for image option -tags. check-in: b3b4aa09 user: gcramer tags: revised_text, tip-466
13:34
Fix: discard special selection tag "sel" when retrieving the value of image option -tags. check-in: fceeb729 user: gcramer tags: revised_text, tip-466
13:32
(1) Special selection tag "sel" now will be ignored with option "-tags". (2) Update of text manual. check-in: a4c7138f user: gcramer tags: revised_text, tip-466
13:20
Severe bug (crash) in GetObjectForOption() fixed. check-in: 61a8df17 user: gcramer tags: revised_text, tip-466
13:17
(1) Implementation of image option -tags (not yet finished, because Tk_GetOptionInfo() is crashing) (2) Severe bug in TkTextBTree with the use of TkTextTagSetResize() fixed (3) Some more removals of "image bind" stuff check-in: 04359ae2 user: gcramer tags: revised_text, tip-466
12:50
Fixed bug in format suboptions parsing (crash with no value to -colorformat) check-in: a6dca2ed user: simonbachmann tags: tip-166
10:04
Superfluous attributes in TkTextEmbImage removed, previously needed for "image bind". check-in: 52d0314b user: gcramer tags: revised_text, tip-466
08:50
"image bind" removed from manual check-in: 003f4e41 user: gcramer tags: revised_text, tip-466
08:49
"image bind" removed because it is not needed check-in: 57b92988 user: gcramer tags: revised_text, tip-466
08:34
merged trunk check-in: 175fe4fc user: fvogel tags: tip-166
08:12
Fixed bug [f0188aca9e] (color names parsing on Windows), by Simon Bachmann check-in: 88df9a16 user: fvogel tags: trunk
07:58
The typo introduced in [c483179b] does not help in running the tests in color.test. Fix that. Closed-Leaf check-in: 143a5027 user: fvogel tags: bug-f0188aca9e
07:30
merge trunk check-in: 1c0ae108 user: simonbachmann tags: tip-166
07:17
Fixed bug [f0188aca9e] (color names parsing on Windows) check-in: d8a75c2f user: simonbachmann tags: bug-f0188aca9e
2017-04-07
20:10
Fix [d6fd19e4e5]: Documentation of ttk::notebook 'tabs' widget command clarification check-in: 32f15697 user: fvogel tags: trunk
20:07
Fix [2912962fff]: Notebook does not set TTK_STATE_USER1 and TTK_STATE_USER2. check-in: 032158a8 user: fvogel tags: trunk
20:01
Fix [3089640fff], [6020ee2d03], [e016579efb], [6bf197edbf] and [7ffb9e554c]: ttk::notebook tabs can disappear (tab width incorrectly calculated), and -tabminwidth option of a style incorrect behaviour. check-in: 9e55bf0b user: fvogel tags: trunk
16:49
Fix in TkTextPickCurrent, as a side effect it's now a bit simpler. check-in: 30ed99b4 user: gcramer tags: revised_text, tip-466
16:29
Update of text manual, option -transitionmode does not exists anymore. check-in: 58e3366b user: gcramer tags: revised_text, tip-466
16:28
(1) Some refinments in TkTextPickCurrent, now when changing the display line while hovering Leave/Enter events will be generated only if the hovered regions has also changed. (2) Fix in function TkTextGetYPixelFromChunk. (3) Some refactorization. (4) Test cases textTag-16.3/4 restored because of the refinement. (5) Test case 19.1 fixed, and extended. (6) Some other refinements. check-in: 5a219070 user: gcramer tags: revised_text, tip-466
2017-04-06
16:11
[db8c541b6b] Prevent access of freed memory in warp pointer callbacks. check-in: d71780db user: dgp tags: trunk
14:55
Backward search for tags fixed in function FindTagEndInLine. check-in: 145ed9c9 user: gcramer tags: revised_text, tip-466
09:09
Correction of comments. check-in: 812174bf user: gcramer tags: revised_text, tip-466
08:52
Obsolete comment removed check-in: 4ddbe591 user: gcramer tags: revised_text, tip-466
08:52
(1) TkTextPickCurrent overworked, see http://scidb.sourceforge.net/tk/tag-enter-leave.html (2) This is fixing bug http://scidb.sourceforge.net/tk/tagbind.html (3) The test cases testTag-16.3/4 have been adjusted (4) New test case testTag-19.1 for testing repick after tag removal, because this has been fixed (5) Newly introduced option -transitionmode removed, not needed anymore (6) A few minor fixes check-in: 3ed1201f user: gcramer tags: revised_text, tip-466
2017-04-04
22:01
fixing accidental fork check-in: dbd8db17 user: simonbachmann tags: tip-166
21:47
Fix for bug 7c49a7f594c8d47dfdf7b6037b8316e4d51cc36a check-in: 4f9516ab user: simonbachmann tags: tip-166
18:50
Minor bug fixed. check-in: fc26eba5 user: gcramer tags: revised_text, tip-466
2017-04-02
10:37
(1) Option -transitionmode implemented, see http://scidb.sourceforge.net/tk/transitionmode.html (2) Indexes tag.current.first and tag.current.last implemented, see http://scidb.sourceforge.net/tk/indices.html#transitionmode (3) Refactoring for (a little) speed improvement (4) Update of manual (5) A few test cases added for new indexes (6) Some fixes check-in: 7e909ec6 user: gcramer tags: revised_text, tip-466
2017-03-30
19:31
The modifier variable could be used uninitialized, e.g. with '.t index {1.0 dasp}'. check-in: 37a7ef55 user: fvogel tags: revised_text, tip-466
2017-03-29
20:02
Fix [28a3c366e6]: memory leak in the text widget. Patch contributed anonymously check-in: 0e08f18d user: fvogel tags: trunk
13:25
Companion to Tcl's z_modifier branch: test whether the TCL_Z_MODIFIER can be used in its various forms on all platforms, outside of the Tcl core. Closed-Leaf check-in: 33828c1c user: jan.nijtmans tags: z_modifier
2017-03-26
15:26
merge mark check-in: 4edfd80f user: fvogel tags: trunk
15:22
Merged tip-464 following positive vote by the TCT. check-in: 0a78ed7d user: fvogel tags: trunk
12:21
merge trunk check-in: c44d9b24 user: fvogel tags: tip-166
08:50
Correction in fix of StartEnd(). check-in: 3362ad78 user: gcramer tags: revised_text, tip-466
08:48
Function StartEnd(): (1) Refactoring (2) Missing update of segment cache added (3) This should fix [a046d659597b1c7ab26a87d480b62ad05fe3b4e7]. check-in: 8703e21c user: gcramer tags: revised_text, tip-466
2017-03-24
13:26
Add test-case for 1cc44617e2: Mechanism with 64 bit support in tcl.h does not work outside of core This test-case passes on all platforms I know of. check-in: dd4d4f82 user: jan.nijtmans tags: trunk
2017-03-23
19:26
Some more small refinments for 64 bit support. check-in: 7d57b0d4 user: gcramer tags: revised_text, tip-466
19:12
Added -withalpha option to [imageName get]. The list-of-lists-of-pixel-data format now is a registered format as the others. Thanks to this change, [imageName data] now can return data that includes the alpha channel. Changed the position of the '-alpha' and '-boolean' options to [imageName transparency set]. Updated doc Updated test suite check-in: cf4b2a24 user: simonbachmann tags: tip-166
10:03
Refinment of 64 bit architecture detection, now this test is a bit relaxed (>64 bit is also fulfilling). check-in: f647b827 user: gcramer tags: revised_text, tip-466
09:32
Test cases textWind-10.4 and textWind-10.7 fixed, because the "-create" script will not be performed twice as in old implementation. check-in: 309c1f7d user: gcramer tags: revised_text, tip-466
09:23
Support of 64 bit architectures overworked, because the constant TCL_WIDE_INT_IS_LONG cannot be used. check-in: 6d7e3c8d user: gcramer tags: revised_text, tip-466
08:26
Refactoring. check-in: 47cecf7d user: gcramer tags: revised_text, tip-466
2017-03-22
10:56
Fix test-case safe-1.2. Failure introduced by commit b13eeffcd1 in Tcl check-in: 9720ad3f user: jan.nijtmans tags: trunk
06:19
Reverting the destructive changes of [ab1bc6a5], [cd374e7d], and [f8055298]. In case of compile problems, please use the bug tracker. check-in: feff1159 user: gcramer tags: revised_text, tip-466
2017-03-21
21:22
Fixed [ddac78bd5e]: Incomplete documentation for ttk::entry check-in: 7510e5a9 user: fvogel tags: trunk
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
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
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
2017-03-14
17:23
Function tk_textRebindMouseWheel implemented. check-in: d3804242 user: gcramer tags: revised_text, tip-466
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
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
10:38
Add minimal testing of the ttk::progressbar options check-in: 8de53960 user: fvogel tags: tip-442
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
12:51
Merge core-8-6-branch check-in: dad32b1b user: jan.nijtmans tags: trunk
2017-03-06
18:30
Updated patch from René Zaumseil, now consistent with the proposed implementation at http://wiki.tcl.tk/20059 check-in: 77ec697d user: fvogel tags: tip-442
18:24
merge trunk check-in: 364771f9 user: fvogel tags: tip-442
16:47
merge mark check-in: a76754f7 user: dgp tags: trunk
10:08
Some definitions needed for backport to 8.5 under Linux, still needed for testing (although backport will be removed later). check-in: 0392f40e user: gcramer tags: revised_text, tip-466
2017-03-05
16:50
Don't loose change from [f78f4ee1] in win/Makefile.in (In pkgIndex files, allow '8.6-' to match, for better interoperability with 'novem' - the other changes in this commit were already present in the revised_text branch). This was accidentally lost in branch revised_text by the import of the revised text widget code. check-in: 77e9dbbc user: fvogel tags: revised_text, tip-466
16:47
Don't loose change from [107d399c] in win/Makefile.in. This was accidentally lost in branch revised_text by the import of the revised text widget code. check-in: 679155a6 user: fvogel tags: revised_text, tip-466
16:41
Cherrypicked [bb7eb2dc] that was accidentally reverted in branch revised_text by the import of the revised text widget code check-in: acf349c8 user: fvogel tags: revised_text, tip-466
16:40
Cherrypicked [96a94662] that was accidentally reverted in branch revised_text by the import of the revised text widget code check-in: ae12d97b user: fvogel tags: revised_text, tip-466
16:37
Don't loose change from [f78f4ee1] in unix/Makefile.in (In pkgIndex files, allow '8.6-' to match, for better interoperability with 'novem' - the other changes in this commit were already present in the revised_text branch). This was accidentally lost in branch revised_text by the import of the revised text widget code. check-in: 287f2ec0 user: fvogel tags: revised_text, tip-466
16:32
Don't loose change from [107d399c] in unix/Makefile.in. This was accidentally lost in branch revised_text by the import of the revised text widget code. check-in: 910b6439 user: fvogel tags: revised_text, tip-466
16:16
In a branch created from trunk like the present one, file configure.ac is used. configure.in remains in 8.6 (and before) branches. See [1311a345]. This was accidentally lost in branch revised_text by the import of the revised text widget code, which was created by Gregor Cramer from an unknown commit pertaining to a 8.6 branch. check-in: c4d2f4c7 user: fvogel tags: revised_text, tip-466
2017-03-04
12:47
Cherrypicked the textDisp.test part of [f7e1ba37] that was accidentally reverted in branch revised_text by the import of the revised text widget code. These tests should pass even when the 'textfont' constraint is not satisfied check-in: 437baced user: fvogel tags: revised_text, tip-466
12:28
Cherrypicked [5b68039b] that was accidentally reverted in branch revised_text by the import of the revised text widget code check-in: d1150842 user: fvogel tags: revised_text, tip-466
12:23
Cherrypicked [16a8fb9b] that was accidentally reverted in branch revised_text by the import of the revised text widget code check-in: c058187c user: fvogel tags: revised_text, tip-466
11:20
Cherrypicked [9943305e] that was accidentally reverted in branch revised_text by the import of the revised text widget code check-in: 36c8ba84 user: fvogel tags: revised_text, tip-466
11:07
Updated Borland compiler makefile according to the changes made in the makefile.vc for MSVC. Compilation with Borland compiler is untested since I don't have this compiler. check-in: ba080b07 user: fvogel tags: revised_text, tip-466
08:25
Conflict with ReleaseWindow when compiling Mac+Carbon resolved. check-in: dcb7571f user: gcramer tags: revised_text, tip-466
2017-03-03
21:11
merge mark check-in: 08efcdf7 user: jima tags: trunk
18:26
Patch on behalf of TheLemonMan that addresses bug [6b3644a4858f018cd08615d3d516b07d271fe2a]. check-in: e0f243b4 user: jima tags: trunk
2017-03-02
20:32
Added semitransparent image used for some tests check-in: 9ce9d260 user: simonbachmann tags: tip-166
20:19
Reference implementation of TIP 166, rev. 1.9 check-in: 5d8b6c38 user: simonbachmann tags: tip-166
2017-03-01
20:07
Create new branch named "tip-166" check-in: 5e86f49c user: simonbachmann tags: tip-166
08:39
Artefact removed, use for testing text-30.3. check-in: e2e91a20 user: gcramer tags: revised_text, tip-466
08:36
Bugfix for failed test case text-30.3 in display stuff. check-in: 8a30bcfd user: gcramer tags: revised_text, tip-466
2017-02-28
13:39
Bug in display stuff fixed. check-in: 84b0dd10 user: gcramer tags: revised_text, tip-466
10:59
Assertion added in function CalculateDisplayLineHeight(). check-in: a83d6d09 user: gcramer tags: revised_text, tip-466
10:53
Correction of assertion in function YScrollByPixels(). check-in: 3d3692bb user: gcramer tags: revised_text, tip-466
08:46
Suppress false warnings for MS-VC6 check-in: a216ddda user: oehhar tags: revised_text, tip-466
00:09
Many fixes to the general formatting of text.n; this WILL break HTML generation for now. check-in: aa0365ee user: dkf tags: revised_text, tip-466
2017-02-27
22:20
First revision of the documentation of the revised text widget, that jima derived from Gregor's website check-in: 0e308778 user: fvogel tags: revised_text, tip-466
20:36
Additional widget option -inactiveselectforeground implemented; see http://scidb.sourceforge.net/tk/inactiveselfg.html check-in: 93441dca user: gcramer tags: revised_text, tip-466
17:16
Fix of typo in tkInt.h, definition of C99 inline support. Now we use inline support even for MSVC 6, this should be possible, see <http://msdn.microsoft.com/en-us/library/aa299373(v=vs.60).aspx>. check-in: a2d519c3 user: gcramer tags: revised_text, tip-466
10:15
Copy/paste error in last revision fixed. check-in: 2fe5dd0b user: gcramer tags: revised_text, tip-466
10:12
Update of two test cases. check-in: d1815480 user: gcramer tags: revised_text, tip-466
2017-02-26
20:43
Move stdint.h/tkWinStdInt.h inclusion to tkInt.h check-in: 5cb369d8 user: fvogel tags: revised_text, tip-466
20:38
Added a copy of stdint.h (named tkWinStdInt.h) copied from https://github.com/mattn/gntp-send/blob/master/include/msinttypes/stdint.h and made it be used whenever stdint.h is not provided by the compiler. This should only happen on Windows, with MSVC strictly before version 1600 (i.e. strictly earlier than Visual Studio 2010) check-in: da722641 user: fvogel tags: revised_text, tip-466
16:59
(1) Some memory problems fixed, with the help of a fine granulated valgrind test (2) 'char* reliefString' changed to 'Tcl_Obj *reliefPtr', required for fine granulated valgrind test (3) Severe bug in embedded window handling fixed (4) Minor display problem with selected text fixed (function MakeStyle) check-in: 5e22bb83 user: gcramer tags: revised_text, tip-466
2017-02-24
22:28
(1) Some memory leaks fixed (tkText) (2) Potential memory overflow eliminated (tkText) (3) Problem with wrong top index after resize fixed (tkTextDisp) (4) Performance leak when inserting tagged tags if many tags are in usage eliminated (tkTextBTree) (5) Some minor fixes check-in: 25a85b4e user: gcramer tags: revised_text, tip-466
14:46
Option -owner for embedded window support added, see http://scidb.sourceforge.net/tk/owner.html. This is inspired by https://groups.google.com/forum/#!topic/comp.lang.tcl/UwDl94tSunc; this thread has unfolded a significant weakness. check-in: 25a235bc user: gcramer tags: revised_text, tip-466
13:29
A few fixes for Linux build, but should also compile under Windows. check-in: 24332652 user: gcramer tags: revised_text, tip-466
10:58
Forgot to add generic/mystdint.h when committing Paul's patch (my bad, sorry). Closed-Leaf check-in: 6e28cd8d user: fvogel tags: revised_text_ober, tip-466
10:26
Make it compile with MSVC without the need to add -DMODULE_SCOPE="" in makefile.vc check-in: a1693132 user: fvogel tags: revised_text, tip-466
09:54
Move C99 inline defines from tkBool.h to tkInt.h. Having them in tkBool.h looked odd to me. check-in: e43e7a5d user: fvogel tags: revised_text, tip-466
2017-02-23
21:29
Fix some declarations of local variables (must be at the beginning of a block). Compilation failed with MSVC, in release mode only. check-in: fef7b063 user: fvogel tags: revised_text, tip-466
21:01
Fix detection of presence of inttypes.h on Windows check-in: 279ae4da user: fvogel tags: revised_text, tip-466
20:48
Commented out, on Windows only, one line of debug code because MSVC erroneously triggers warning C4113: 'void(__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' check-in: 1d55ffe6 user: fvogel tags: revised_text, tip-466
20:37
Commented out some asserts because MSVC erroneously triggers warning C4550: expression evaluates to a function which is missing an argument list check-in: 6b4e5225 user: fvogel tags: revised_text, tip-466
17:02
Fix management of snprintf for compilation with MSVC. There are several places where snprintf is used, not just in tkTextMark.c check-in: ec8bde98 user: fvogel tags: revised_text, tip-466
17:00
Fixed MSVC warning C4098: 'void' function returning a value check-in: 887724cd user: fvogel tags: revised_text, tip-466
14:35
Silence compiler warnings, especially signed/unsigned problems. The handling of inline functions (C99 support) has been improved. C99 support for Linux/UNIX enabled. Some preparations for older Visual Studio compilers. Minor fix of test case (the use of abbreviated commands may break future releases). check-in: e8542fce user: gcramer tags: revised_text, tip-466
2017-02-22
23:08
[0819cc4018]: Patch from Paul Obermeier to make the branch build check-in: 2f3be9a6 user: fvogel tags: revised_text_ober, tip-466
21:36
Remove this from previous commit. Not yet convinced that -DMODULE_SCOPE="" is the best or correct solution. check-in: 4d30798b user: fvogel tags: revised_text, tip-466
21:35
Silence compiler warnings check-in: 56772126 user: fvogel tags: revised_text, tip-466
20:30
Complete the second last commit check-in: 3727f7a0 user: fvogel tags: revised_text, tip-466
19:52
Fix [c492c96aa2]: Combobox arrow not grayed (alt, clam and default ttk themes) - Patch from Koen Danckaert check-in: c98093ba user: fvogel tags: trunk
16:58
Silence compiler warning check-in: 32323a1b user: fvogel tags: revised_text, tip-466
16:56
When building on Windows, inline is already defined in makefile.vc (-Dinline=__inline) regardless of the compiler version check-in: 8e67d858 user: fvogel tags: revised_text, tip-466
2017-02-21
22:53
Silence compiler warning check-in: 96115bb3 user: fvogel tags: revised_text, tip-466
19:20
Fix [710f7fd44b]: Missing dependency in win/Makefile.in check-in: 21c86cec user: fvogel tags: revised_text, tip-466
2017-02-20
22:41
Removed duplicates check-in: 4a911e54 user: fvogel tags: revised_text, tip-466
22:39
Update of makefile.vc as a first step toward compilation under MS Visual Studio check-in: 91db1edd user: fvogel tags: revised_text, tip-466
21:55
Initial import of revised text widget from Gregor Cramer.

Main webpage: http://scidb.sourceforge.net/tk/revised-text-widget.html

This is a vanilla unzip of tk8.6.6-revised-2017-02-18.zip downloaded from http://scidb.sourceforge.net/tk/download.html on 20 Feb. 2017. Only file left out is unix/makefile-for-8-5.patch check-in: 01b81b19 user: fvogel tags: revised_text, tip-466

2017-02-16
11:05
If compiled with TK_NO_DEPRECATED, remove support for old "set" and "get" syntax on scrollbar. check-in: c0b0f14f user: jan.nijtmans tags: trunk
2017-02-15
13:56
Change some internal refCount's from int to size_t. check-in: 9fc92122 user: jan.nijtmans tags: trunk
2017-02-13
09:57
Make tk.h work unchanged with Tcl 9.0 (novem), account for possible missing TCL_STORAGE_CLASS definition. More internal use of size_t in stead of int. check-in: 54ff80e8 user: jan.nijtmans tags: trunk
2017-02-10
11:39
Fix [7d967c68a0] follow-up: Tk applications segmentation fault when ibus-daemon IME is restarted. Patch by Brad Lanam. check-in: 835bc95b user: jan.nijtmans tags: trunk
2017-02-05
19:30
Fix [7d967c68]: Tk application fault when ibud-daemon IME is restarted check-in: 5693e0dc user: jan.nijtmans tags: trunk
17:35
Fix [c0dbdd3ff3]: Tk Compatibility Fonts block access to system fonts check-in: 678fdae0 user: fvogel tags: trunk
17:17
Fix [ae32eb7e10]: Win + specific text widget configuration : textDisp-18.6, -20.2 -20.3 -20.4 fail check-in: f7e1ba37 user: fvogel tags: trunk
2017-02-01
21:15
Remove old pack syntax from the scripts of the Tk test suite check-in: 16a8fb9b user: fvogel tags: trunk
2017-01-28
17:38
Make tests pass again after fixing [c0dbdd3ff3]: Tk Compatibility Fonts block access to system fonts Closed-Leaf check-in: fad15f3f user: fvogel tags: bug-c0dbdd3ff3
17:37
Fixed [c0dbdd3ff3]: Tk Compatibility Fonts block access to system fonts check-in: 3f19aebf user: fvogel tags: bug-c0dbdd3ff3
2017-01-25
22:10
Fix [140ea8ab38]: Long text lines are not drawn on Windows. check-in: 48a1e406 user: pspjuth tags: trunk
2017-01-23
20:13
Fix [89a638af38]: OS X - textDisp-15.8 fails check-in: b0ed344f user: fvogel tags: trunk
20:11
Fix [ed22529c92]: Spinbox validation is turned off when validate function returns false check-in: 50abd4b9 user: fvogel tags: trunk
14:52
more typos check-in: ab225481 user: jan.nijtmans tags: trunk
14:46
If Tk is compiled with -DTK_NO_DEPRECATED=1, remove some deprecated code (pack subcommands) and other stuff which is not used any more. And fix a few typos. Remove rmd.bat and rmd.bat, which are also not used any more. check-in: 55b5a057 user: jan.nijtmans tags: trunk
09:51
merge core-8-6-branch check-in: 37d2fba2 user: jan.nijtmans tags: trunk
2017-01-20
15:56
merge core-8-6-branch check-in: 3b9fca18 user: jan.nijtmans tags: trunk
14:39
Compile with -Wwrite-strings, as does Tcl. In pkgIndex files, allow "8.6-" to match, for better interoperability with "novem" check-in: f78f4ee1 user: jan.nijtmans tags: trunk
14:37
Smarter initialization of doubleTypePtr/intTypePtr without hash-table lookup or creating complete Tcl_Obj's. In Windows tests, allow up to 64 bits for HWND. Check stubs for "8.6-" in stead of "8.6", for better interoperability with "novem". check-in: 009ee46a user: jan.nijtmans tags: trunk
2017-01-18
22:24
Fix [fab5fed65e]: OS X - lots of textDisp failures (spurious 'borders' and indices in tk_textRedraw). check-in: dc1fe9bf user: fvogel tags: trunk
13:03
merge core-8-6-branch check-in: 283c2cec user: jan.nijtmans tags: trunk
2017-01-17
12:39
tag Tk_FreeXId() as deprecated. Remove the function from the build if TK_NO_DEPRECATED is defined. check-in: 107d399c user: jan.nijtmans tags: trunk
2017-01-11
11:41
Fix [d4fb4e80d2]: Image photo commands read/write/put do not accept "-" as first letter in file names resp. image data check-in: 3407903e user: jan.nijtmans tags: trunk
2017-01-10
16:09
More internal use of size_t. Add test-case imgPhoto-4.74, which shows error-handling when there are two values on the command line not connected to options. check-in: c4151851 user: jan.nijtmans tags: trunk
2017-01-09
21:56
Fix [7a838c38a1]: X11 bind event ring buffer and NoExpose event. Patch from Christian Werner. check-in: e7b81812 user: fvogel tags: trunk
2017-01-07
15:18
Fix [c12af74765]: OS X - text-21.1 fails check-in: 5b68039b user: fvogel tags: trunk
15:15
Fix [28a4535fa2]: Off-by-1 error on text widget index on OS X check-in: d20e49af user: fvogel tags: trunk
15:01
Fix [3df559ef7c] - Negative bbox width on OS X. check-in: f1440220 user: fvogel tags: trunk
2017-01-05
22:31
Fix [dac92f194c]: OS X - text-2.8 and text-2.9 are both run and fail check-in: 9943305e user: fvogel tags: trunk
2017-01-04
16:28
Added more glob patterns in order to ignore Windows-specific compilation products when running fossil extra check-in: 2b4b8080 user: fvogel tags: trunk
2017-01-03
13:14
Fix [f325020623]: Tk crashes when drawing many dashed objects check-in: 88ed2ef1 user: jan.nijtmans tags: trunk
2016-12-15
16:07
Proposed fix for [7d967c68]: Tk applications segmentation fault when ibus-daemon IME is restarted Closed-Leaf check-in: d4e818fa user: jan.nijtmans tags: bug-7d967c68
2016-12-08
20:46
Micro-optimization in tkTextDisp.c check-in: fea56df2 user: fvogel tags: trunk
2016-12-02
21:05
Fixed [3ee76e41c2] - New textTag test failures check-in: 074a68b5 user: fvogel tags: trunk
20:58
Fix [ad98f10b3a] and [bd0017bf79] - bitmap-4.1 and cursor-4.1 tests failures. Also, apply again the same pattern to fix color-4.1 that was also failing (when the colorsFree constraint was met) despite there was no such report (yet). Thanks to dgp. check-in: ae13ed65 user: fvogel tags: trunk
12:57
[76e2d9c095] Repair broken test border-3.1 check-in: ab25b964 user: dgp tags: trunk
06:35
Remove superfluous lines (the default font of the text widget is already saved in $curFont before the tests start). Closed-Leaf check-in: c70ff5ca user: fvogel tags: bug-3ee76e41c2
2016-12-01
21:45
When changing the text font, (x,y) coordinates previously saved in the (xi,yi) doublets are no longer relevant. Save coordinates for each of the two font possibilities, and use the right ones in each test. check-in: 2db8eeda user: fvogel tags: bug-3ee76e41c2
19:27
Also the fact that the actually used fonts must be fixed-width needs to be checked when assessing the value of the haveFontSizes constraint check-in: 18e07a98 user: fvogel tags: bug-3ee76e41c2
2016-11-30
21:51
Fixed [3ee76e41c2] - New textTag test failures check-in: 4f976a03 user: fvogel tags: bug-3ee76e41c2
2016-11-24
09:12
merge core-8-6-branch check-in: 46ebc628 user: jan.nijtmans tags: trunk
2016-11-18
13:17
merge core-8-6-branch check-in: 826e632b user: jan.nijtmans tags: trunk
2016-11-09
14:01
merge trunk check-in: 170c0759 user: jan.nijtmans tags: pspjuth-touch
13:41
Bring all win32 version stuff to one place. Should work the same (should still work on XP, although I don't know if we really want that). check-in: b26f2446 user: jan.nijtmans tags: trunk
12:43
Merge trunk check-in: 02f42506 user: jan.nijtmans tags: pspjuth-touch
11:03
Merge core-8-6-branch check-in: e7e8ecae user: jan.nijtmans tags: trunk
2016-11-08
15:47
Mark "event-8" testcase nonPortable check-in: 6c0f8859 user: jan.nijtmans tags: trunk
12:30
merge core-8-6-branch check-in: f59975e6 user: jan.nijtmans tags: trunk
2016-11-07
14:43
Add another few Xlib stubs for Win32. Cherry-picked from AndroWish. Thanks to Christian Werner. check-in: d5fc9e1c user: jan.nijtmans tags: trunk
2016-11-05
12:04
Close unintended fork check-in: 2b6479ea user: fvogel tags: trunk
2016-11-04
15:38
More internal use of size_t, so refcounts can be bigger than before (2^31 -> 2^32 on 32-bit platforms, even more on 64-bit) check-in: 03c3b81d user: jan.nijtmans tags: trunk