summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* Remove code from TkpWarpPointer which was only needed to construct the ↵marc_culler2020-05-161-11/+1
| | | | NSEvent that is no longer being constructed.
* Merge 8.6jan.nijtmans2020-02-172-13/+5
|\
| * Merge 8.5jan.nijtmans2020-02-161-1/+1
| |\
| | * Don't build static with tcl8.6, that doesn't work (yet). Could be fixed, but ↵jan.nijtmans2020-02-161-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 startupmarc_culler2020-01-171-12/+4
| | |
* | | Remove useless generation of NSMouseMoved event when warping the mouse ↵fvogel2020-01-251-18/+0
|/ / | | | | | | pointer on the mac
* | Make MODULE_SCOPE functions start with "Tk". Also simplify ↵jan.nijtmans2019-12-045-36/+25
| | | | | | | | TkUtfToNSString(), making use of Tcl_UtfToUniCharDString()
* | Fix [749bd9bb1b]: systemControlAccentColor can have incorrect RGB on High Sierramarc_culler2019-12-041-52/+29
| |
* | On macOS call [image setTemplate:YES] for the cursor NSImages, to make the ↵marc_culler2019-12-031-0/+1
| | | | | | | | cursor be white in dark mode.
* | In Aqua, fix TkMacOSXInDarkMode so that it does not crash *and* returns a ↵marc_culler2019-11-251-5/+16
| | | | | | | | meaningful answer when passed a null pointer.
* | Implement non-BMP unicode for macOSculler2019-11-194-81/+182
|\ \
| * | Edit comments, add tests for NULL pointers.culler2019-11-183-19/+36
| | |
| * | remove printf("TkSelGetSelection\n");jan.nijtmans2019-11-182-5/+4
| | |
| * | Implement non-BMP unicode for macOS when TCL_UTF_MAX = 3 by encoding ↵culler2019-11-184-81/+166
| | | | | | | | | | | | surrogates as 3-byte UTF-8-ish sequences.
* | | Correct some errors revealed by building on macOS 10.6culler2019-11-193-11/+12
|/ /
* | Fix [90d555e088]: work around an Apple bug which causes NSFontManager to ↵culler2019-11-171-4/+19
|\ \ | | | | | | | | | find fonts with unwanted traits in macOS Catalina.
| * | Fix [90d555e088]: In Catalina Apple's NSFontManager creates fonts with ↵culler2019-11-151-4/+19
| | | | | | | | | | | | unwanted traits
* | | Fix [53d28027e3]: macOS crashes with 0x0 image for wm iconphoto; make wm ↵culler2019-11-172-5/+13
|\ \ \ | | | | | | | | | | | | iconphoto behavior consistent between platforms.
| * | | Allow creating 0x0 NSImages, which work e.g. in labels, just don't allow ↵culler2019-11-112-4/+6
| | | | | | | | | | | | | | | | using them as iconphoto images.
| * | | Make all platforms check if an iconphoto image is valid and provide the same ↵culler2019-11-101-4/+3
| | | | | | | | | | | | | | | | error message if not.
| * | | Fix [53d28027e3]: Generate an error instead of a crash if wm iconphoto ↵culler2019-11-092-2/+9
| | | | | | | | | | | | | | | | receives an invalid photo image.
* | | | Fix [c4abd2b0f3]: rework stackorder command on all platforms, and prevent ↵culler2019-11-171-55/+22
|\ \ \ \ | | | | | | | | | | | | | | | panics on macOS.
| * | | | make TkWmStackorderToplevel return NULL if ckalloc fails.culler2019-11-091-10/+11
| | | | |
| * | | | Reimplement TkWmStackorderToplevel to make it straightforward and shorter ↵culler2019-11-081-43/+13
| | | | | | | | | | | | | | | | | | | | and behave the same on macOS as on unix and Windows.
| * | | | Fix [c4abd2b0f3]: Tcl Panic in TkWmStackorderToplevel (for Aqua)culler2019-11-071-14/+10
| |/ / /
* | | | On macOS make DrawCharsInContext accept byte sequences which contain UTF-16 ↵culler2019-11-161-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.nijtmans2019-11-131-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.culler2019-11-111-9/+18
|/ /
* | Edit a comment.culler2019-11-041-3/+3
| |
* | But we shouldn't call CFRelease on the font returned by [NSFont ↵culler2019-11-041-0/+2
| | | | | | | | userFixedPitchFontOfSize:11]
* | Fix [8793e78bf0]: High CPU usage due to unnecessary redraws of the entire ↵culler2019-11-041-6/+17
|\ \ | | | | | | | | | window.
| * | Fix [8793e78bf0]: High CPU usage due to unnecessary redraws of the entire ↵culler2019-10-301-6/+17
| | | | | | | | | | | | window.
* | | Fix [855049e799]: Apple's system fixed font has an invalid familyName in ↵culler2019-11-041-1/+11
|\ \ \ | | | | | | | | | | | | macOS 10.15.1
| * | | Use [NSFont userFixedPitchFontOfSize:11] instead of ↵marc_culler2019-11-031-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.1marc_culler2019-11-011-1/+14
| | | |
* | | | Somewhat more progress on [a179564826]: Tk 8.6: prevent issues when ↵jan.nijtmans2019-11-012-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.culler2019-10-301-2/+10
| |/ / |/| |
* | | Sync tcl.m4 with Tcl version (also change README accordingly). Re-generate ↵jan.nijtmans2019-10-281-3/+3
| | | | | | | | | | | | configure script for UNIX
* | | Apply patch from Kevin Walzer to restore functionality of Cut/Copy/Paste ↵culler2019-10-281-17/+2
| | | | | | | | | | | | keyboard shortcuts on Aqua.
* | | Edit a commentculler2019-10-271-3/+3
| | |
* | | For Aqua, fix computation of local.x and local.y in the case of an embedded ↵culler2019-10-271-4/+22
| | | | | | | | | | | | toplevel.
* | | Fix bug in TkpGetString() for MacOSX. Maybe this is why MacOSX barfs when we ↵jan.nijtmans2019-10-251-1/+4
| | | | | | | | | | | | put a 4-byte UTF-8 character in trans_chars ...
* | | Some end-of-line exess spacingjan.nijtmans2019-10-252-16/+16
| | |
* | | Aqua: fix IME behavior; make accent menus work; rework Services; deal with ↵culler2019-10-257-199/+269
|\ \ \ | | | | | | | | | | | | non-BMP pastes.
| * | | Make Apple's press-and-hold accent menu work with Tk entry and text widgets.culler2019-10-241-34/+52
| | | |
| * | | Prevent a crash which could occur if the window were defocussed during IME ↵culler2019-10-242-10/+31
| | | | | | | | | | | | | | | | composition.
| * | | Restore the no-op keyDown method to keep the mac from beeping every time a ↵culler2019-10-241-0/+12
| | | | | | | | | | | | | | | | key is pressed.
| * | | Address compiler warnings.culler2019-10-232-6/+1
| | | |
| * | | Rework and simplify services so the TkService object won't interfere with ↵culler2019-10-234-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 ↵culler2019-10-231-1/+22
| | | | | | | | | | | | | | | | when pasting.