Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove code from TkpWarpPointer which was only needed to construct the ↵ | marc_culler | 2020-05-16 | 1 | -11/+1 |
| | | | | NSEvent that is no longer being constructed. | ||||
* | Merge 8.6 | jan.nijtmans | 2020-02-17 | 2 | -13/+5 |
|\ | |||||
| * | Merge 8.5 | jan.nijtmans | 2020-02-16 | 1 | -1/+1 |
| |\ | |||||
| | * | Don't build static with tcl8.6, that doesn't work (yet). Could be fixed, but ↵ | jan.nijtmans | 2020-02-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | not high prio. Add a few "const" specifiers (backported from 8.6) | ||||
| * | | A better fix for [bf93d098d7]: Aqua menus can be unresponsive at startup | marc_culler | 2020-01-17 | 1 | -12/+4 |
| | | | |||||
* | | | Remove useless generation of NSMouseMoved event when warping the mouse ↵ | fvogel | 2020-01-25 | 1 | -18/+0 |
|/ / | | | | | | | pointer on the mac | ||||
* | | Make MODULE_SCOPE functions start with "Tk". Also simplify ↵ | jan.nijtmans | 2019-12-04 | 5 | -36/+25 |
| | | | | | | | | TkUtfToNSString(), making use of Tcl_UtfToUniCharDString() | ||||
* | | Fix [749bd9bb1b]: systemControlAccentColor can have incorrect RGB on High Sierra | marc_culler | 2019-12-04 | 1 | -52/+29 |
| | | |||||
* | | On macOS call [image setTemplate:YES] for the cursor NSImages, to make the ↵ | marc_culler | 2019-12-03 | 1 | -0/+1 |
| | | | | | | | | cursor be white in dark mode. | ||||
* | | In Aqua, fix TkMacOSXInDarkMode so that it does not crash *and* returns a ↵ | marc_culler | 2019-11-25 | 1 | -5/+16 |
| | | | | | | | | meaningful answer when passed a null pointer. | ||||
* | | Implement non-BMP unicode for macOS | culler | 2019-11-19 | 4 | -81/+182 |
|\ \ | |||||
| * | | Edit comments, add tests for NULL pointers. | culler | 2019-11-18 | 3 | -19/+36 |
| | | | |||||
| * | | remove printf("TkSelGetSelection\n"); | jan.nijtmans | 2019-11-18 | 2 | -5/+4 |
| | | | |||||
| * | | Implement non-BMP unicode for macOS when TCL_UTF_MAX = 3 by encoding ↵ | culler | 2019-11-18 | 4 | -81/+166 |
| | | | | | | | | | | | | surrogates as 3-byte UTF-8-ish sequences. | ||||
* | | | Correct some errors revealed by building on macOS 10.6 | culler | 2019-11-19 | 3 | -11/+12 |
|/ / | |||||
* | | Fix [90d555e088]: work around an Apple bug which causes NSFontManager to ↵ | culler | 2019-11-17 | 1 | -4/+19 |
|\ \ | | | | | | | | | | find fonts with unwanted traits in macOS Catalina. | ||||
| * | | Fix [90d555e088]: In Catalina Apple's NSFontManager creates fonts with ↵ | culler | 2019-11-15 | 1 | -4/+19 |
| | | | | | | | | | | | | unwanted traits | ||||
* | | | Fix [53d28027e3]: macOS crashes with 0x0 image for wm iconphoto; make wm ↵ | culler | 2019-11-17 | 2 | -5/+13 |
|\ \ \ | | | | | | | | | | | | | iconphoto behavior consistent between platforms. | ||||
| * | | | Allow creating 0x0 NSImages, which work e.g. in labels, just don't allow ↵ | culler | 2019-11-11 | 2 | -4/+6 |
| | | | | | | | | | | | | | | | | using them as iconphoto images. | ||||
| * | | | Make all platforms check if an iconphoto image is valid and provide the same ↵ | culler | 2019-11-10 | 1 | -4/+3 |
| | | | | | | | | | | | | | | | | error message if not. | ||||
| * | | | Fix [53d28027e3]: Generate an error instead of a crash if wm iconphoto ↵ | culler | 2019-11-09 | 2 | -2/+9 |
| | | | | | | | | | | | | | | | | receives an invalid photo image. | ||||
* | | | | Fix [c4abd2b0f3]: rework stackorder command on all platforms, and prevent ↵ | culler | 2019-11-17 | 1 | -55/+22 |
|\ \ \ \ | | | | | | | | | | | | | | | | panics on macOS. | ||||
| * | | | | make TkWmStackorderToplevel return NULL if ckalloc fails. | culler | 2019-11-09 | 1 | -10/+11 |
| | | | | | |||||
| * | | | | Reimplement TkWmStackorderToplevel to make it straightforward and shorter ↵ | culler | 2019-11-08 | 1 | -43/+13 |
| | | | | | | | | | | | | | | | | | | | | and behave the same on macOS as on unix and Windows. | ||||
| * | | | | Fix [c4abd2b0f3]: Tcl Panic in TkWmStackorderToplevel (for Aqua) | culler | 2019-11-07 | 1 | -14/+10 |
| |/ / / | |||||
* | | | | On macOS make DrawCharsInContext accept byte sequences which contain UTF-16 ↵ | culler | 2019-11-16 | 1 | -1/+22 |
| |/ / |/| | | | | | | | | surrogates encoded as 3-byte UTF-8-ish subsequences, so the Emoji demo works. | ||||
* | | | Add support for 4 keycodes on Windows (Mail, AudioMedia, Launch0 and ↵ | jan.nijtmans | 2019-11-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Launch1), which some keyboards might have. Add more header-files, with available keycodes on various platforms, and add some missing keysyms to ks_names.h (adapted from X11R6). This improves compatibility for Windows/MacOSX compared to X11R6. | ||||
* | | | Tweak the fix to [8793e78bf0] to avoid scrollbar artifacts. | culler | 2019-11-11 | 1 | -9/+18 |
|/ / | |||||
* | | Edit a comment. | culler | 2019-11-04 | 1 | -3/+3 |
| | | |||||
* | | But we shouldn't call CFRelease on the font returned by [NSFont ↵ | culler | 2019-11-04 | 1 | -0/+2 |
| | | | | | | | | userFixedPitchFontOfSize:11] | ||||
* | | Fix [8793e78bf0]: High CPU usage due to unnecessary redraws of the entire ↵ | culler | 2019-11-04 | 1 | -6/+17 |
|\ \ | | | | | | | | | | window. | ||||
| * | | Fix [8793e78bf0]: High CPU usage due to unnecessary redraws of the entire ↵ | culler | 2019-10-30 | 1 | -6/+17 |
| | | | | | | | | | | | | window. | ||||
* | | | Fix [855049e799]: Apple's system fixed font has an invalid familyName in ↵ | culler | 2019-11-04 | 1 | -1/+11 |
|\ \ \ | | | | | | | | | | | | | macOS 10.15.1 | ||||
| * | | | Use [NSFont userFixedPitchFontOfSize:11] instead of ↵ | marc_culler | 2019-11-03 | 1 | -14/+11 |
| | | | | | | | | | | | | | | | | CTFontCreateUIFontForLanguage(fixedPitch, 11, NULL) to get a valid fixed pitch font. | ||||
| * | | | Work around a bug in [NSFont familyName] which Apple introduced in macOS 10.15.1 | marc_culler | 2019-11-01 | 1 | -1/+14 |
| | | | | |||||
* | | | | Somewhat more progress on [a179564826]: Tk 8.6: prevent issues when ↵ | jan.nijtmans | 2019-11-01 | 2 | -5/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | encountering non-BMP Unicode characters. Increase XMaxTransChars from 4 to 7, at the same time reducing the nbytes field from int to unsigned char. This makes more room to NULL-terminate the trans_chars array in the XEvent, even when it's 4 bytes in length. (fully binary compatible, since the nbytes field is not supposed to be accessed externally) | ||||
* | | | | Alternative fix to [de579935a9] - just allow weird looking thumbs. | culler | 2019-10-30 | 1 | -2/+10 |
| |/ / |/| | | |||||
* | | | Sync tcl.m4 with Tcl version (also change README accordingly). Re-generate ↵ | jan.nijtmans | 2019-10-28 | 1 | -3/+3 |
| | | | | | | | | | | | | configure script for UNIX | ||||
* | | | Apply patch from Kevin Walzer to restore functionality of Cut/Copy/Paste ↵ | culler | 2019-10-28 | 1 | -17/+2 |
| | | | | | | | | | | | | keyboard shortcuts on Aqua. | ||||
* | | | Edit a comment | culler | 2019-10-27 | 1 | -3/+3 |
| | | | |||||
* | | | For Aqua, fix computation of local.x and local.y in the case of an embedded ↵ | culler | 2019-10-27 | 1 | -4/+22 |
| | | | | | | | | | | | | toplevel. | ||||
* | | | Fix bug in TkpGetString() for MacOSX. Maybe this is why MacOSX barfs when we ↵ | jan.nijtmans | 2019-10-25 | 1 | -1/+4 |
| | | | | | | | | | | | | put a 4-byte UTF-8 character in trans_chars ... | ||||
* | | | Some end-of-line exess spacing | jan.nijtmans | 2019-10-25 | 2 | -16/+16 |
| | | | |||||
* | | | Aqua: fix IME behavior; make accent menus work; rework Services; deal with ↵ | culler | 2019-10-25 | 7 | -199/+269 |
|\ \ \ | | | | | | | | | | | | | non-BMP pastes. | ||||
| * | | | Make Apple's press-and-hold accent menu work with Tk entry and text widgets. | culler | 2019-10-24 | 1 | -34/+52 |
| | | | | |||||
| * | | | Prevent a crash which could occur if the window were defocussed during IME ↵ | culler | 2019-10-24 | 2 | -10/+31 |
| | | | | | | | | | | | | | | | | composition. | ||||
| * | | | Restore the no-op keyDown method to keep the mac from beeping every time a ↵ | culler | 2019-10-24 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | key is pressed. | ||||
| * | | | Address compiler warnings. | culler | 2019-10-23 | 2 | -6/+1 |
| | | | | |||||
| * | | | Rework and simplify services so the TkService object won't interfere with ↵ | culler | 2019-10-23 | 4 | -116/+35 |
| | | | | | | | | | | | | | | | | IME. It didn't need to be a subclass of NSView, or be in the Responder chain. | ||||
| * | | | Add update idletasks for the text. Replace non-BMP characters by 0xfffd ↵ | culler | 2019-10-23 | 1 | -1/+22 |
| | | | | | | | | | | | | | | | | when pasting. |