summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* more typosjan.nijtmans2017-01-232-2/+2
|
* If Tk is compiled with -DTK_NO_DEPRECATED=1, remove some deprecated code ↵jan.nijtmans2017-01-234-15/+33
| | | | | (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.
* Smarter initialization of doubleTypePtr/intTypePtr without hash-table lookup ↵jan.nijtmans2017-01-206-6/+21
| | | | | | 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".
* Fix [fab5fed65e]: OS X - lots of textDisp failures (spurious 'borders' and ↵fvogel2017-01-181-1/+2
|\ | | | | | | indices in tk_textRedraw).
| * 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()
* | | merge core-8-6-branchjan.nijtmans2017-01-186-21/+13
|\ \ \ | |/ /
| * | 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.
* | | tag Tk_FreeXId() as deprecated. Remove the function from the build if ↵jan.nijtmans2017-01-175-966/+16
| | | | | | | | | | | | TK_NO_DEPRECATED is defined.
* | | 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-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.
| * | | 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.
* | | Fix [7a838c38a1]: X11 bind event ring buffer and NoExpose event. Patch from ↵fvogel2017-01-091-0/+10
|\ \ \ | |/ / | | | | | | Christian Werner.
| * | 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
|\ \ \ | |/ /
| * | 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
| | * 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.
* | | Micro-optimization in tkTextDisp.cfvogel2016-12-081-2/+2
| | |
* | | Merge core-8-6-branchjan.nijtmans2016-11-091-0/+6
|\ \ \ | |/ /
| * | 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.
| * | 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.
* | | Close unintended forkfvogel2016-11-053-20/+18
|\ \ \
| * | | More internal use of size_t, so refcounts can be bigger than before (2^31 -> ↵jan.nijtmans2016-11-043-20/+18
| | | | | | | | | | | | | | | | 2^32 on 32-bit platforms, even more on 64-bit)
* | | | Fixed [6aea69fccb] - grid configure -in problem. Patch by Koen Danckaert.fvogel2016-11-051-0/+3
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | 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
|\ \ \ | |/ /
| * | 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
|\ \ \ \ | |/ / /
| * | | Fixed typo in commentfvogel2016-09-301-1/+1
| | | |
* | | | Fix UNIX buildjan.nijtmans2016-09-301-3/+2
|\ \ \ \ | |/ / /
| * | | Fix UNIX build, and eliminate possible warning in Makefilejan.nijtmans2016-09-301-5/+8
| | | |
* | | | Fix [6c0d7aec67]: unicode text input Windows 8jan.nijtmans2016-09-296-33/+40
|\ \ \ \ | |/ / /
| * | | Fix [6c0d7aec6713ab6a7c3e12dff7f26bff4679bc9d|6c0d7aec67]: unicode text ↵jan.nijtmans2016-09-296-34/+41
| |\ \ \ | | |/ / | |/| | | | | | input Windows 8. Added some test-cases using the "font actual" command.