summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bug-fix [434d294df] continuation: fix logic error detected by Christian ↵jan.nijtmans2017-05-201-1/+1
| | | | Werner. Thanks!
* Eliminate empty if() statement, if DEBUG_LAYOUT_WITH_BASE_CHUNKS is not ↵jan.nijtmans2017-05-191-2/+2
| | | | defined. (backported from androwish. Thanks, Christian!)
* Change internal field TkFontAttributes.size from type integer to double. ↵jan.nijtmans2017-05-198-46/+54
|\ | | | | | | | | This causes less roundings overall in various font calculations. Hopefully this fixes bug [434d294df], still to be confirmed, and makes Tk work again on modern Linux Mint/Fedora systems.
| * Slightly use of more "int" in stead of double, for 100% compatibility at ↵bug_434d294dfjan.nijtmans2017-05-195-60/+36
| |\ | |/ |/| | | script level.
* | autoconf-2.59dgp2017-05-181-36/+13
| |
| * merge trunk. jan.nijtmans2017-05-186-99/+87
| |\ | |/ |/| Make "font actual" return integers, for compatibility.
* | minor gcc warning (const usage)jan.nijtmans2017-05-181-1/+1
| |
* | Cherry-pick [http://core.tcl.tk/tclconfig/info/18e79736d236d15d|All the ↵jan.nijtmans2017-05-182-59/+36
| | | | | | | | | | world was a VAX] for OpenBSD. Also fix [84a27b1c67]: Tcl and Tk's tcl.m4 not synced? (configure script not re-generated yet, I'm sure Don will do that in the rc branch)
* | Fixed bug [2433781fff]gcramer2017-05-181-37/+44
|\ \
| * | Fix [2433781fff]: Under X11 image/text now will be centered correctly, the ↵bug_2433781gcramer2017-05-011-37/+44
| | | | | | | | | | | | old algorithm has an obvious offset bug, it did not take into account the case if the padding is even.
| * | Create new branch named "bug-2433781"gcramer2017-05-010-0/+0
| | |
| * | Partial fix: [22ace0d494] (Tk_PhotoPutBlock does not handle correctly ↵simonbachmann2017-04-301-5/+32
| |\ \ | | | | | | | | | | | | unusual image data layouts). Documented the issue. An actual fix would introduce a new feature and potential compatibility issues.
| * \ \ merge core-8-6-branchjan.nijtmans2017-04-251-1/+1
| |\ \ \
| * \ \ \ Merge core-8-6-branch (merge-mark and eol-spacing)jan.nijtmans2017-04-204-7/+7
| |\ \ \ \
| * | | | | 1. Fix for segfault with latest version of Xcode on macOS 10.12; thanks to ↵Kevin Walzer2017-04-203-38/+58
| | | | | | | | | | | | | | | | | | | | | | | | 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).
| * | | | | merge core-8-6-branchjan.nijtmans2017-04-181-3/+3
| |\ \ \ \ \
| * \ \ \ \ \ Fix [3602901fff]: Documentation of -padding and -border in ttkfvogel2017-04-179-24/+45
| |\ \ \ \ \ \
| * \ \ \ \ \ \ merge-markjan.nijtmans2017-04-130-0/+0
| |\ \ \ \ \ \ \
| * | | | | | | | Translate all octal \??? sequences to their UTF-8 counterpart in *.msg filesjan.nijtmans2017-04-131-27/+27
| | | | | | | | |
| * | | | | | | | Translate all \u???? sequences to their UTF-8 counterpart in *.msg filesjan.nijtmans2017-04-1313-352/+352
| | | | | | | | |
| * | | | | | | | Fix [3f323bf2b4]: wm protocol crash on OSX compiled with XCode 8.3.1. Patch ↵fvogel2017-04-101-2/+2
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from Christian Gollwitzer.
| * \ \ \ \ \ \ \ \ Fixed bug [f0188aca9e] (color names parsing on Windows), by Simon Bachmannfvogel2017-04-082-1/+33
| |\ \ \ \ \ \ \ \ \
| | | | | | | | | | * Another attempt to fix ↵jan.nijtmans2017-05-158-35/+40
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | [434d294df8b053246ee86e7898d06bc3a6d1d771|434d294df8], this time (hopefully) suitable for 8.6. (less changes than the original attempt)
* | | | | | | | | | Major reworking of tkMacOSXDialog.c to support -typevariable, improve file ↵Kevin Walzer2017-05-131-180/+310
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | filtering, fix for 3588462; thanks to Christian Gollwitzer for patch
* | | | | | | | | | Revert [f38091d0]: If TK_LAYOUT_WITH_BASE_CHUNKS is set (MacOSX), this ↵jan.nijtmans2017-05-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | change leads to crash, struct CharInfo is defined differently depending on TK_LAYOUT_WITH_BASE_CHUNKS (however strange that is ...)
* | | | | | | | | | Fix [a5ba1c9764]: Race condition in clipboard cleanup on Windows. Patch from ↵fvogel2017-05-101-13/+17
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Roman Donchenko
| * | | | | | | | | | Fix [a5ba1c9764]: Race condition in clipboard cleanup on Windows. Patch from ↵bug_a5ba1c9764fvogel2017-05-051-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Roman Donchenko (aka dpb).
* | | | | | | | | | | New internal function TkpCancelWarp(), which does a proper warp clean-up ↵jan.nijtmans2017-05-103-8/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when the display is closed. Follow-up to [db8c541b6bff91848c53006b0fe352136fbd4be9|db8c541b6b]. Backported from androwish [http://www.androwish.org/index.html/info/0b3392c9134c228f|0b3392c9134c228f] (which was a little more than just a "add tk upstream changes" ...). Thanks, Christian!
* | | | | | | | | | | unnecessary Tcl_DStringInit(), since Tcl_WinUtfToTChar() already does that.jan.nijtmans2017-05-092-4/+3
| | | | | | | | | | |
* | | | | | | | | | | Remove calls to Tk_FreeXId(), since it's just a NOP.jan.nijtmans2017-05-083-9/+0
| | | | | | | | | | |
* | | | | | | | | | | Don't use sizeof(struct) when the structure has a char array as last ↵jan.nijtmans2017-05-082-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | element: If the size of this array changes, we'll be in trouble.
* | | | | | | | | | | tk_getSaveFile now correctly displays multiple file types with filtering on ↵Kevin Walzer2017-05-061-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | macOS
* | | | | | | | | | | Add support for file filters in tk_getSaveFile on macOS/CocoaKevin Walzer2017-05-061-24/+50
|/ / / / / / / / / /
* | | | | | | | | | Constrain test that demands user interactiondgp2017-05-051-1/+1
| | | | | | | | | |
* | | | | | | | | | On Windows, use Tcl_WinTCharToUtf() in stead of Tcl_NewUnicodeObj(), since ↵jan.nijtmans2017-05-056-24/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tcl_WinTCharToUtf() works correctly when TCL_UTF_MAX==6 while Tcl_NewUnicodeObj() doesn't. All changes taken over from androwish. Thanks to Christian Werner! And ... on the go ... fixed a few memory leaks correctly detected by Christian.
* | | | | | | | | | Change floor() back to casting to int() in fixing [6020ee2d03].fvogel2017-05-021-6/+3
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Revert the previous commit since it has drawbacks (see [6020ee2d03]).bug_308940ffffvogel2017-05-021-6/+3
| | | | | | | | | | |
* | | | | | | | | | | Typo (wehter -> whether) and minor consistancy in code comment (grey -> gray)jan.nijtmans2017-05-022-12/+12
| | | | | | | | | | |
* | | | | | | | | | | Fix [e4336bef5d58cc96a438ba0fb5553ea57e94f4d8|e4336bef5d]: Unexpected result ↵jan.nijtmans2017-05-013-47/+195
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when copying a photo image to itself. Thanks to Simon Bachmann for bug report and fix!
| * | | | | | | | | | | Fix [e4336bef5d] (Unexpected result when copying a photo image to itself): ↵bug_e4336bef5dsimonbachmann2017-04-303-47/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if source and destination image are the same, make a local copy of image data before the actual copy/zoom/subsample.
| * | | | | | | | | | | Create new branch named "bug-e4336bef5d"simonbachmann2017-04-300-0/+0
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | |
* | | | | | | | | | | various end-of-line spacesjan.nijtmans2017-05-014-30/+30
| | | | | | | | | | |
* | | | | | | | | | | tk_getSaveFile now correctly displays file name on macOS when -initialfile ↵Kevin Walzer2017-05-011-22/+58
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | Partial fix: [22ace0d494] (Tk_PhotoPutBlock does not handle correctly ↵simonbachmann2017-04-301-5/+32
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | unusual image data layouts). Documented the issue. An actual fix would introduce a new feature and potential compatibility issues.
| * | | | | | | | | merge core-8-6-branchbug_22ace0d494simonbachmann2017-04-2914-81/+122
| |\ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | |
* | | | | | | | | | Let the unimplemented function XDrawSegments() return BadDrawable in stead ↵jan.nijtmans2017-04-251-1/+1
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | of Success: It's only in the stub table since [a0883a07026127ef], before that the function was only internal and returned void.
* | | | | | | | | 1. Fix for segfault with latest version of Xcode on macOS 10.12; thanks to ↵Kevin Walzer2017-04-203-35/+55
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 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).
* | | | | | | | code styling (wrong indent)jan.nijtmans2017-04-181-3/+3
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | Fix [3602901fff]: Documentation of -padding and -border in ttkfvogel2017-04-179-42/+63
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | |
| * | | | | | Factorized documentation of -padding as much as possible, and clarified ↵bug_3602901ffffvogel2017-04-078-44/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | documentation of -border in the same way as for -padding