summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | | | Remove obsolete (and currently wrong) comment in generic/ks_names.hfvogel2017-01-291-3/+0
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Proposed fix for [499526180d]: Add support for windows multimedia virtual ↵fvogel2017-01-281-0/+7
| |_|/ / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | keys. Patch by ralfixx
* | | | | | | | | | | | | Fix [fab5fed65e]: OS X - lots of textDisp failures (spurious 'borders' and ↵fvogel2017-01-181-1/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | indices in tk_textRedraw).
| * | | | | | | | | | | | | Remove obsolete comments. The line they comment was kicked out of the code ↵bug_fab5fed65efvogel2017-01-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in [946e946700]. Also, add a small optimization to avoid double invalidation of the damaged region. Indeed the detailed analysis of ticket [fab5fed65e] showed that on OS X the damaged region is invalidated twice: - once through the processing of the Expose event (on OS X the Appkit is not used to draw the widget, Tk is used instead, see comments in tkMacOSXWindowEvent.c around line 770) - a second time because DisplayText() calls TextInvalidateRegion() after TkScrollWindow()
* | | | | | | | | | | | | | Change more refCount checks to the form "(...refCount-- <= 1)", so no ↵jan.nijtmans2017-01-186-21/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | separate decrement and compare is necessary. This allows (in the future) the same code to work when refCount becomes unsigned (which at least doubles the range). No functional change.
* | | | | | | | | | | | | | Fix [d4fb4e80d220e46e588f310291fd7a4205e8cd67|d4fb4e80d2]: Image photo ↵jan.nijtmans2017-01-111-1/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commands read/write/put do not accept "-" as first letter in file names resp. image data
| * \ \ \ \ \ \ \ \ \ \ \ \ \ Fix [d4fb4e80d220e46e588f310291fd7a4205e8cd67|d4fb4e80d2]: Image photo ↵jan.nijtmans2017-01-111-0/+4
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commands read/write/put do not accept "-" as first letter in file names resp. image data
| | * | | | | | | | | | | | | | Alternative proposed solution for ↵bug_d4fb4e80d2_altjan.nijtmans2017-01-111-1/+5
| |/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [d4fb4e80d220e46e588f310291fd7a4205e8cd67|d4fb4e80d2], with test-case.
* | | | | | | | | | | | | | | More internal use of size_t. Add test-case imgPhoto-4.74, which shows ↵jan.nijtmans2017-01-101-18/+26
| |/ / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | error-handling when there are two values on the command line not connected to options.
* | | | | | | | | | | | | | Better comment explaining why some events are ignored.bug_7a838c38a1fvogel2017-01-091-3/+3
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Patch from chw for [7a838c38a1]: X11 bind event ring buffer and ↵fvogel2017-01-071-0/+10
| |_|/ / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GraphicsExpose/NoExpose
* | | | | | | | | | | | | Fix [3df559ef7c] - Negative bbox width on OS X.fvogel2017-01-071-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / |/| | | | | | | | | | | |
| * | | | | | | | | | | | Reverted [7ed6460f] since it fixes an issue unrelated to the bug presented ↵bug_3df559ef7cfvogel2017-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in [3df559ef7c] - Negative bbox width on OS X.
| * | | | | | | | | | | | Do everything the other way round. Leave things how they were on OS X ↵fvogel2016-12-301-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (revert [a076cf64] and [42e0339e]), and fix TkpDrawCharsInContext() on Win and Linux in case these platforms at some point of time decide to define TK_LAYOUT_WITH_BASE_CHUNKS and TK_DRAW_IN_CONTEXT to true
| * | | | | | | | | | | | On Windows with TK_LAYOUT_WITH_BASE_CHUNKS and TK_DRAW_IN_CONTEXT being both ↵fvogel2016-12-231-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | defined for testing purposes, rendering of the text was incorrect because some chunks were superimposed (this was only a display issue, x and width of all chunks were already correct). Fix this.
| * | | | | | | | | | | | On Windows with TK_LAYOUT_WITH_BASE_CHUNKS and TK_DRAW_IN_CONTEXT being both ↵fvogel2016-12-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | defined for testing purposes, four tests (textDisp-18.6, 20.2, 20.3 and 20.4) were failing. Fix this.
| * | | | | | | | | | | | Fix [3df559ef7c] - Negative bbox width on OS X. Tested OK on Windows with ↵fvogel2016-12-231-1/+1
| | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TK_LAYOUT_WITH_BASE_CHUNKS being defined.
* | | | | | | | | | | | Fix [f325020623898d6afe8bb73276459a922003c077|f325020623]: Tk crashes when ↵jan.nijtmans2017-01-031-2/+6
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| / / / / / / / / / / | |/ / / / / / / / / / drawing many dashed objects
| * | | | | | | | | | Fix [f325020623898d6afe8bb73276459a922003c077|f325020623]: Tk crashes when ↵jan.nijtmans2017-01-031-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | drawing many dashed objects
| * | | | | | | | | | Add XDrawSegments/XDrawPoint/XDrawPoints to internal stub table, and fix ↵jan.nijtmans2016-11-084-20/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | their signature matching X11.
* | | | | | | | | | | Workaround for possible build problem on Windows/MacOSX: Some (older) ↵jan.nijtmans2016-11-091-0/+6
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | versions of X11/Xutil.h have a wrong signature for XOffsetRegion/XUnionRegion, so move them out of the way temporarly.
* | | | | | | | | | Add another few Xlib stubs for Win32. Cherry-picked from ↵jan.nijtmans2016-11-073-17/+200
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | [http://www.androwish.org/index.html/info/862eb620a096fddc|AndroWish]. Thanks to Christian Werner.
* | | | | | | | | Fixed [6aea69fccb] - grid configure -in problem. Patch by Koen Danckaert.bug_6aea69fccbfvogel2016-10-301-0/+3
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | Fixed [1082213fff] - word wrapping should trim excess spacesfvogel2016-10-091-0/+18
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | |
| * | | | | | | Added explanatory commentfvogel2016-09-301-0/+3
| | | | | | | |
| * | | | | | | Explained why only spaces are trimmed and not tabsfvogel2016-09-291-0/+3
| | | | | | | |
| * | | | | | | Slightly better fixfvogel2016-09-281-11/+11
| | | | | | | |
| * | | | | | | Fixed [1082213fff] - word wrapping should trim excess spacesfvogel2016-09-281-0/+12
| | | | | | | |
* | | | | | | | Fixed typo in commentfvogel2016-09-301-1/+1
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | Fix UNIX build, and eliminate possible warning in Makefilejan.nijtmans2016-09-301-5/+8
| |_|_|_|_|/ |/| | | | |
* | | | | | Fix [6c0d7aec6713ab6a7c3e12dff7f26bff4679bc9d|6c0d7aec67]: unicode text ↵jan.nijtmans2016-09-296-34/+41
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | input Windows 8. Added some test-cases using the "font actual" command.
| * | | | | Merge core-8-6-branch. More surrogate handling, e.g. in HandleIMEComposition()jan.nijtmans2016-09-274-7/+6
| |\ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | merge core-8-6-branchjan.nijtmans2016-09-261-7/+7
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| * | | | | merge core-8-6-branchjan.nijtmans2016-09-263-4/+45
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| * | | | | Enhanced proposed fix [6c0d7aec67]: unicode text input Windows 8. More ↵jan.nijtmans2016-09-198-30/+124
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | places where Unicode surrogate handling could be improved.
| | * | | | | More simplificationsjan.nijtmans2016-09-198-24/+59
| | | | | | |
| | * | | | | Rename TkUtfToUniChar32 to TkUtfToUniChar2, and various simplifications ↵jan.nijtmans2016-09-168-173/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | needing less #ifdef's
| | * | | | | Patch from Christian Werner, for evaluationjan.nijtmans2016-09-167-4/+195
| | | |_|_|/ | | |/| | |
| | * | | | Fix use of XMaxTransChars in stead of TCL_UTF_MAX in some places. This ↵jan.nijtmans2016-08-313-5/+7
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | should prevent possible buffer overflow when TCL_UTF_MAX=6 Micro-optimizations in tkEntry and ttkEntry
| | * \ \ \ \ Made text widget's default undo false again.pspjuth2016-08-301-1/+1
| | |\ \ \ \ \
| | * \ \ \ \ \ Rebased to trunk since TIP #449 was accepted for merging to trunk only, not ↵tip_449fvogel2016-08-2931-124/+158
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | to core-8-6-branch
| | | * \ \ \ \ \ Fixed [a2abc45ee6] - Cursor at wrong position after event generate -warp on ↵fvogel2016-08-231-1/+1
| | | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | secondary screen.
| | | * | | | | | | Change Tk_FreeXId() into a macro.jan.nijtmans2016-08-124-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A few end-of-line spacing eliminations.
| | | * | | | | | | Fix for [3512539fff] removed, by popular demandbug_3512539ffffvogel2016-07-311-9/+2
| | | | | | | | | |
| | | * | | | | | | [5660d11c3f] Fix new -lmargincolordgp2016-07-281-7/+7
| | | |\ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ [450bb0ecad] Fix corruption [tk busy] creates on OSX.dgp2016-07-222-0/+7
| | | |\ \ \ \ \ \ \ \
| | | * | | | | | | | | Fix for image/alpha rendering under hidpi/Retina displays on Mac OS; thanks ↵Kevin Walzer2016-07-151-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to Marc Culler for assistance
| | | * | | | | | | | | Modernize Tk_Init() to use Tcl 8.6 features.dgp2016-06-223-169/+167
| | | |\ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ Whitespace fixesjan.nijtmans2016-06-153-149/+149
| | | |\ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ Fixed [6976e4b3b2] - -undo options not correct for peersfvogel2016-06-111-3/+6
| | | |\ \ \ \ \ \ \ \ \ \ \