Tk Source Code

Timeline
Login

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

194 check-ins related to "revised_text" plus check-in "2017-03-23 10:03:05" occurring around 2017-03-23 10:03:05.

2017-04-28
19:08
Compilation errors fixed. check-in: f63470c2 user: gcramer tags: revised_text, tip-466
18:00
Command "inspect" also has to resolve system color names for platform independent results, so option "-dontresolve" has been splitted into "-dontresolvecolors" and "-dontresolvefonts". check-in: 5267e3dc user: gcramer tags: revised_text, tip-466
16:34
Correction in manual. check-in: 7a95a4a2 user: gcramer tags: revised_text, tip-466
13:37
Wrong change in LayoutChars() reverted, affecting the handling of end of line symbols. check-in: 41578392 user: gcramer tags: revised_text, tip-466
13:21
Problem with "runtime check failure #3: The variable lastNewlineSegPtr is being used without being initialized." solved. check-in: d2d5b74c user: gcramer tags: revised_text, tip-466
13:18
(1) Problems with marks and destroying peers (crash) solved. (2) Problems with wrap mode "codepoint" (wrong data/offsets) solved. (3) More assertions for wrap mode "codepoint". (4) Function MakeStyle() a bit overworked (array instead of multiple variables). (5) Function TkTextFreeMarks() fixed, because MarkDeleteProc() is deleting hash entries, and this should not happen while enumeration of hash table is in progress. (6) 'hyphens' in TkText remaned to 'useHyphenSupport' to avoid confusions with 'hyphenate'. (7) Wrong check in CheckLineMetricConsistency() removed. check-in: 6829b5ee user: gcramer tags: revised_text, tip-466
09:10
Superfluous assertion removed. check-in: 16279080 user: gcramer tags: revised_text, tip-466
2017-04-27
18:05
Deletion algorithm a little bit overworked, now it is easier to understand the exceptional case with the deletion of the very last line. check-in: 3bdc7443 user: gcramer tags: revised_text, tip-466
15:36
(1) Problem solved how to show the surrogate newline in UndoDeleteInspect(). (2) Addendum to last commit: test case text-37.13 added, another critical edge case. check-in: ac45353b user: gcramer tags: revised_text, tip-466
15:27
(1) Bugfix in delete algorithm with test case text-37.12. (2) Test case text-37.12 fixed. (3) Optimization in space when deleting chars, very significant if the range is large. (4) Adaption of UndoDeleteInspect(), but it is still unclear how to show the surrogate newline. check-in: 1324fb8c user: gcramer tags: revised_text, tip-466
11:33
(1) Bugfix for handling of last line deletion. (2) Redo of deletion fixed. (3) Additional test case text-37.12 testing a critical edge case. (4) Test cases 37.1-11 re-formatted, but not changed. check-in: ac2df497 user: gcramer tags: revised_text, tip-466
2017-04-26
19:20
(1) Watch command now triggers changes in image or window. (2) Handling of the watch command a bit simplified. (3) Update of manual. (4) Minor fix in text-27.26. check-in: 40340286 user: gcramer tags: revised_text, tip-466
10:31
Fix in handling options -start/endline. check-in: af2458bb user: gcramer tags: revised_text, tip-466
09:59
Minor corrections in comments. check-in: 644e9ee4 user: gcramer tags: revised_text, tip-466
09:04
Changed expected results for textDisp-4.9. Actually deletion at end of text is now different in the revised version of the text widget. This is explained at http://scidb.sourceforge.net/tk/delete-index-range.html and more highlight is available in function TkTextGetUndeletableNewline() in tkText.c. Strictly speaking this is an incompatibility with the legacy text widget, but it's intended for the better. check-in: 031f51c7 user: fvogel tags: revised_text, tip-466
08:53
Re-added constraint textfont to textDisp-16.25, because scrolling by pages depends on the font height when the widget height is very small, which is the case in this test. check-in: 6e37e626 user: fvogel tags: revised_text, tip-466
08:50
Fix in function TriggerWatchEdit(). check-in: 14b751ce user: gcramer tags: revised_text, tip-466
08:35
Fix in triggering the watch command, it has not worked correctly when 'triggerAlways' was involved. check-in: bb585d14 user: gcramer tags: revised_text, tip-466
2017-04-25
12:37
(1) Fix for test case textWind-10.3, Tcl_BackgroundException() was called with wrong code. (2) Minor corrections of test cases in textWind-10.3, because bgerror will not be called twice anymore. check-in: 272c57bf user: gcramer tags: revised_text, tip-466
11:56
Last fix has broken "dlineinfo -extents", this has been corrected. check-in: 00088beb user: gcramer tags: revised_text, tip-466
11:50
Fix for test case textDisp-23.7, TkTextDLineInfo() returned wrong width. check-in: 53dabd04 user: gcramer tags: revised_text, tip-466
09:36
(1) Two minor corrections. (2) Fix in TextInvalidateLineMetrics(). check-in: 3816b4fd user: gcramer tags: revised_text, tip-466
09:23
(1) Fix in function TkRangeListDelete(). (2) Deletion in respect of newline behavior overworked. (3) Undo/redo of deletion fixed. (4) Test cases text-37.1-11 added, especially important edge cases will be tested. (5) Replacement of tags now is respecting undo correctly. (6) TkTextInvalidateLineMetrics() fixed. (7) CheckLineMetricConsistency() refined. (8) Corrections in AdjustPixelClient(). (9) TextChanged() in tkTextWind.c optimized, because only the corresponding peer will be affected, a window is not sharable. (10) Some more fixes of subtle problems, especially in display stuff. (11) Some more useful assertions. check-in: ee3dfb0a user: gcramer tags: revised_text, tip-466
2017-04-23
13:18
Removed wrong constraint 'win' flagging 14 textDisp tests. 13 of these tests are now flagged with '-constraints textfonts' instead, which is the adequate one (the test results don't depend on the platform, but on specific fonts being available). The 14th test, textDisp-16.25 is now unconstrained because it should pass on all platforms regardless of the available fonts. check-in: 644b135b user: fvogel tags: revised_text, tip-466
12:33
Made textDisp-17.10 pass on both Windows and Linux. Previous commit placed the update at the wrong place. Test result is now back to the expected result with the legacy code. check-in: dfdfbad3 user: fvogel tags: revised_text, tip-466
10:25
Reverted [fe16c966], which was wrong about the expected results of textDisp-17.10, and fixed that tests results (note they depend on textDisp-17.9 to be run before, with the added update) check-in: c83e2316 user: fvogel tags: revised_text, tip-466
10:16
Adapted expected results of textDisp-24.9, textDisp-24.10 and textDisp-24.11 to the wrapping alrgorithm that is different from the legacy code. check-in: 8e9dd5bf user: fvogel tags: revised_text, tip-466
09:30
Restore the correct expected result for textDisp-19.11.17 and textDisp-19.11.20, which also is the result expected from the legacy version of the text widget. Same fix for textDisp-24.18, with the addition of one further bbox to check whether the wrapping actually happened at the expected place. check-in: 7ae87d65 user: fvogel tags: revised_text, tip-466
07:37
Restore the correct expected result for textDisp-17.10, which also is the result expected from the legacy version of the text widget. check-in: fe16c966 user: fvogel tags: revised_text, tip-466
2017-04-22
20:56
Fixed expected result of textDisp-17.9. The correct result really is 14.44, and this is in fact true for the legacy code as well. The reason why the legacy code has 18.44 as expected result, and the revised version has 14.44 is as follows. The test is executing two 'scan dragto' commands in sequence, and the text widget updates its view at idle time. When inserting an 'update' in between the two 'scan dragto' commands in the legacy text widget code, the test result with the legacy version becomes the corect one: 14.44. So this difference is due to a somewhat poorly written test which results depend on the details of how the text widget updates its view. Results expected in legacy version are in fact wrong (since the beginning of Tk history in fossil). check-in: bf453137 user: fvogel tags: revised_text, tip-466
17:12
Documented the optional gravity parameter in the 'mark set' subcommand check-in: 352af911 user: fvogel tags: revised_text, tip-466
2017-04-21
08:03
Bugfix [73175271]: forgotten increasement of tag set added. check-in: 4db130cd user: gcramer tags: revised_text, tip-466
08:01
Corrections in manual. check-in: 81e02b4d user: gcramer tags: revised_text, tip-466
2017-04-20
08:34
merge trunk check-in: 7c562ed9 user: fvogel tags: revised_text, tip-466
06:03
Merge core-8-6-branch (merge-mark and eol-spacing) check-in: 363febf5 user: jan.nijtmans tags: trunk
2017-04-19
14:49
Many corrections in manual, especially typos, wrong formatting, and wrong usage of nroff macros. check-in: c6bd8af8 user: gcramer tags: revised_text, tip-466
13:55
(1) Overwork of function TextInvalidateRegion(), the readability has been increased. (2) New helper function ComputeCursorExtents() for computation of cursor extents. check-in: 4057e6ce user: gcramer tags: revised_text, tip-466
11:32
Minor correction in function TextUndoRedoCallback. check-in: 44ef0932 user: gcramer tags: revised_text, tip-466
10:53
Fix of bug [ef14e354]: (1) Fix of simple bug in program logic. (2) Also forgotten release of tag (on undo stack) implemented. check-in: 9fab8fa7 user: gcramer tags: revised_text, tip-466
09:52
Fix of bug [ef14e354f51328157e9c553a731af5199cba2bee]: I had to remove an optimization failure, the list of changed display lines were empty although some exists. check-in: 7714a6f6 user: gcramer tags: revised_text, tip-466
03:53
merge trunk check-in: e4914f00 user: fvogel tags: revised_text, tip-466
2017-04-18
19:44
In the revised [text] implementation, the insertion cursor is allowed to leak (i.e. be partially displayed) inside the padding area (but not inside the border). Take this fact into account when assessing whether the REDRAW_BORDERS flag should be set in TextInvalidateRegion(). This makes the following 31 tests now pass (they failed on Windows so far): textDisp-4.8, textDisp-4.10, textDisp-4.11, textDisp-4.13, textDisp-4.15, textDisp-6.1, textDisp-6.2, textDisp-6.3, textDisp-6.4, textDisp-8.7, textDisp-8.9, textDisp-8.10, textDisp-9.1, textDisp-9.2, textDisp-9.3, textDisp-9.4, textDisp-9.5, textDisp-9.7, textDisp-9.8, textDisp-9.9, textDisp-9.12, textDisp-9.13, textDisp-11.2, textDisp-11.3, textDisp-11.4, textDisp-11.6, textDisp-11.7, textDisp-11.8, textDisp-11.9, textDisp-11.12, textDisp-11.13. check-in: 15f68900 user: fvogel tags: revised_text, tip-466
17:45
merge core-8-6-branch check-in: 3e6a5b3b user: jan.nijtmans tags: trunk
2017-04-17
20:17
Minor changes to the [text] man page. check-in: f5fd01b6 user: fvogel tags: revised_text, tip-466
12:51
More problems with pseudo UTF-8 (TCL_UTF_MAX > 4). check-in: ba581d9c user: gcramer tags: revised_text, tip-466
07:56
More handlings for this bad TCL_UTF_MAX > 4 hack. Because of the fact that function Tcl_UniCharIsWordChar() does not work with pseudo UTF-8 strings an #error will be thrown when TCL_UTF_MAX > 4. See also function GetLineBreakFunc() [tkTextLinebreak.c] about the very severe problems (safety problems) with TCL_UTF_MAX > 4. check-in: 8028d287 user: gcramer tags: revised_text, tip-466
2017-04-16
15:59
Minor correction, comment about TCL_UTF_MAX > 4 introduced. check-in: 31f921aa user: gcramer tags: revised_text, tip-466
14:55
Minor corrections. check-in: d08eaf1b user: gcramer tags: revised_text, tip-466
08:17
Corrections in comments. check-in: dbfe7a0e user: gcramer tags: revised_text, tip-466
2017-04-15
13:52
Corrections in manual. check-in: 1eaa75e1 user: gcramer tags: revised_text, tip-466
13:45
(1) Extensions in manual. (2) Corrections in manual. (3) Command "tag priority" added to manual. check-in: 04077dd4 user: gcramer tags: revised_text, tip-466
12:51
Minor corrections in TextChecksumCmd(). check-in: df51fbee user: gcramer tags: revised_text, tip-466
10:14
Command "tag priority" added, this allows to compare the priority of tags. check-in: 5d9184a2 user: gcramer tags: revised_text, tip-466
2017-04-14
13:45
Superfluous code has been commented out, causing superdluous redrawings. Test case textDisp-8.12 has been adjusted, change in last line now is only affecting this line, not succeeding line anymore. check-in: 70015d48 user: gcramer tags: revised_text, tip-466
11:51
Unreacheable code in LayoutUpdateLineHeightInformation eliminated. check-in: 217687a4 user: gcramer tags: revised_text, tip-466
11:47
Corrections in doc. check-in: 991d3b1b user: gcramer tags: revised_text, tip-466
11:45
(1) A few memory leaks eliminated (2) Tracing adjusted check-in: 08276a98 user: gcramer tags: revised_text, tip-466
09:15
New options -showendoftext, -eotchar, -eotcolor as a supplement to the -showendofline, -eolchar, -eolcolor options. The main purpose of these options is to bring the block cursor to life. check-in: 4c21133b user: gcramer tags: revised_text, tip-466
2017-04-13
15:23
(1) Fix in DisplayDLine. (2) Superfluous assertion removed. check-in: 92bdfb9a user: gcramer tags: revised_text, tip-466
14:51
Fix in DisplayDLine. check-in: 7ce7a590 user: gcramer tags: revised_text, tip-466
14:50
TkConfigureText refactored. check-in: 6501e5f2 user: gcramer tags: revised_text, tip-466
12:00
Some changes in formatting of doc, especially for HTML. check-in: 4abc7c5e user: gcramer tags: revised_text, tip-466
2017-04-12
17:06
Fix in DisplayText(), eventually scroll region must me 1 pixel wider. check-in: b1373e27 user: gcramer tags: revised_text, tip-466
17:00
Fix in DisplayDLine(), eventually we have to copy 1 pixel more. check-in: 940d93e5 user: gcramer tags: revised_text, tip-466
14:01
(1) Rework of blinking cursor handling, especially the values for TkTextRedrawRegion() were incorrect. (2) Refactorization of cursor computation. check-in: af53c530 user: gcramer tags: revised_text, tip-466
10:55
Fix [5cfd9dfe0d]: -startindex and -endindex defaults cannot be re-eaten by the text widget check-in: 4714b122 user: fvogel tags: revised_text, tip-466
2017-04-10
18:40
merge trunk check-in: f902f56a user: fvogel tags: revised_text, tip-466
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
18:24
Fix test textIndex-4.12: expected result shall be consistent with the latest changes [cc8c0932] check-in: 34eb438d user: fvogel tags: revised_text, tip-466
14:52
Some minor corrections. check-in: bc4157ec user: gcramer tags: revised_text, tip-466
14:26
(1) Fix of implementation for tag.current.first, tag.current.last. (2) Fix of backport in tkText.c. check-in: cc8c0932 user: gcramer tags: revised_text, tip-466
13:40
Fix of #if's (for backport). check-in: 2c019da1 user: gcramer tags: revised_text, tip-466
11:31
(1) Resolving fonts has been moved to tkFont.c, the old implementation was only a work-around. (2) tkFont.c now supplies the new function TkFontGetDescription(). check-in: 82c5df4a user: gcramer tags: revised_text, tip-466
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
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
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
2017-04-07
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
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
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-26
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-23
19:26
Some more small refinments for 64 bit support. check-in: 7d57b0d4 user: gcramer tags: revised_text, tip-466
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
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
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
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
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
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
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-01
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: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
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-05
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-07
15:18
Fix [c12af74765]: OS X - text-21.1 fails check-in: 5b68039b 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
2016-09-21
12:44
Make it more likely that compiles with VS2012/VS2013 actually work on Windows XP. See: https://tedwvc.wordpress.com/2014/01/01/how-to-target-xp-with-vc2012-or-vc2013-and-continue-to-use-the-windows-8-x-sdk/ check-in: bb7eb2dc user: jan.nijtmans tags: trunk
2016-03-15
09:04
Eliminate configure warning: Makefile.in seems to ignore the --datarootdir setting. For details, see: https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/Changed-Directory-Variables.html check-in: 96a94662 user: jan.nijtmans tags: trunk