Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 8.6 | culler | 2021-04-27 | 1 | -1/+1 |
|\ | |||||
| * | Remove unneeded portBounds field from TkMacOSXDrawingContext; add more ↵ | culler | 2021-04-22 | 1 | -1/+1 |
| | | | | | | | | graphics debugging tools. | ||||
* | | Fix [c974643a39]: memory leak in tkMacOSXFont.c | culler | 2021-04-26 | 1 | -1/+2 |
|/ | |||||
* | More implicit type-casts, for C++ compatibility. | jan.nijtmans | 2021-02-02 | 1 | -1/+1 |
| | |||||
* | Fix the build on macOS 10.6. | marc_culler | 2020-12-11 | 1 | -5/+2 |
| | |||||
* | Remove some more unneeded code. | marc_culler | 2020-11-09 | 1 | -2/+1 |
| | |||||
* | Fix more warnings, related to -Wshadow, now in MacOSX code | jan.nijtmans | 2020-10-02 | 1 | -29/+30 |
| | |||||
* | Rename (internal) TkMacOSXDrawableView() -> TkMacOSXGetNSViewForDrawable() | jan.nijtmans | 2020-09-02 | 1 | -1/+1 |
| | |||||
* | Eliminate MODULE_SCOPE wrapper function for TkMacOSXDrawable(). Rename ↵ | jan.nijtmans | 2020-09-02 | 1 | -1/+1 |
| | | | | (internal) TkMacOSXDrawableWindow() to TkMacOSXGetNSWindowForDrawable(). Code (type-cast) cleanup | ||||
* | Rename the NSGraphicsContext macro and add a flipped parameter. Fix accent ↵ | culler | 2020-08-25 | 1 | -1/+1 |
| | | | | colors on old macs. | ||||
* | Fix one more compilation issue with old macOS targets. | culler | 2020-08-25 | 1 | -2/+1 |
| | |||||
* | Edit comments, make some stylistic changes, remove an unused function parameter. | culler | 2020-08-21 | 1 | -1/+1 |
| | |||||
* | merge core-8-6-branch | fvogel | 2020-07-12 | 1 | -123/+71 |
|\ | |||||
| * | Fix compiler warning: macOS string length is unsigned. | culler | 2020-05-20 | 1 | -1/+1 |
| | | |||||
| * | Add (and use) new internal function TkUtfAtIndex(), which does the same as ↵ | jan.nijtmans | 2020-05-20 | 1 | -25/+8 |
| |\ | | | | | | | | | | Tcl_UtfAtIndex() only it protects against ending in the middle of a 4-byte UTF-8 sequence. This should fix another part of [a179564826] when handling copy-pasted Emoji in Text/Entry (and other) widgets. | ||||
| | * | Fix TkUtfAtIndex(), still was not 100% correct. | jan.nijtmans | 2020-05-20 | 1 | -23/+6 |
| | | | | | | | | | Simplify TKNSString::DString, since Tcl_UniCharToUtf() is already capable of surrogate handling with a proper Tcl version. | ||||
| | * | Use Glyph indexing in more places (underscoring and canvas text and some more) | jan.nijtmans | 2020-05-19 | 1 | -4/+4 |
| | | | |||||
| | * | Add surrogate-aware TkUtfAtIndex and TkNumUtfChars. This is enough to allow ↵ | culler | 2020-05-19 | 1 | -2/+2 |
| |/ | | | | | | | editing emoji text (without variant selectors) in Entry widgets on macOS. | ||||
| * | Simplify Aqua text handling by moving encoding/decoding into the TKNSString ↵ | culler | 2020-05-17 | 1 | -91/+53 |
| | | | | | | | | class. | ||||
| * | Don't use trans_chars array on MacOSX any more. | jan.nijtmans | 2020-05-17 | 1 | -1/+1 |
| |\ | |||||
| | * | Move platform-specific declarations into platform-specific header files. | marc_culler | 2020-05-15 | 1 | -3/+3 |
| | | | |||||
| * | | Fix compiler errors and warnings on macOS 10.6 (Snow Leopard) | culler | 2020-05-16 | 1 | -2/+5 |
| |/ | |||||
| * | Create TKNSString which implements Christopher Chavez's suggestion in ↵ | marc_culler | 2020-04-24 | 1 | -39/+39 |
| | | | | | | | | [4cda3ff048] for more efficient conversion from TclUtf to UTF-16. | ||||
* | | Apply another patch by Christopher Chavez that fixes the jerk of strings on ↵ | fvogel | 2020-04-19 | 1 | -12/+8 |
|/ | | | | aqua when selecting text (see the ticket). There is no functional change on Windows and Linux in this patch. | ||||
* | Fix [89354dae31]: Avoid clipping in Aqua TkpDrawCharsInContext. Clipping ↵ | culler | 2020-04-15 | 1 | -22/+29 |
|\ | | | | | | | does not work and is also inefficient. | ||||
| * | Fix a glitch caused by coercion of a float to an int. Thanks to Christoper ↵ | culler | 2020-04-14 | 1 | -14/+14 |
| | | | | | | | | Chavez for finding and analyzing the bug. | ||||
| * | Clipping can never work! Try again. | marc_culler | 2020-04-14 | 1 | -17/+17 |
| | | |||||
| * | Fix [89354dae31]: Text display artifacts can be produced by antialiasing. | culler | 2020-04-13 | 1 | -0/+6 |
|/ | |||||
* | Better implementation of TkUtfToUniChar(), one that doesn't require ↵ | jan.nijtmans | 2020-04-06 | 1 | -7/+166 |
|\ | | | | | | | cooperation of Tcl (TCL_UTF_MAX>3). Just let Tk do the splitting of 4-byte UTF-8 sequences into surrogates. | ||||
| * | Make MODULE_SCOPE functions start with "Tk". Also simplify ↵ | jan.nijtmans | 2019-12-04 | 1 | -25/+18 |
| | | | | | | | | TkUtfToNSString(), making use of Tcl_UtfToUniCharDString() | ||||
| * | Edit comments, add tests for NULL pointers. | culler | 2019-11-18 | 1 | -13/+29 |
| | | |||||
| * | remove printf("TkSelGetSelection\n"); | jan.nijtmans | 2019-11-18 | 1 | -3/+3 |
| | | |||||
| * | Implement non-BMP unicode for macOS when TCL_UTF_MAX = 3 by encoding ↵ | culler | 2019-11-18 | 1 | -27/+129 |
| | | | | | | | | surrogates as 3-byte UTF-8-ish sequences. | ||||
| * | 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 | ||||
| * | | 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. | ||||
| * | 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 [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 |
| |/ |/| | |||||
| * | Fix a few typo's | jan.nijtmans | 2019-10-15 | 1 | -1/+1 |
|/ | |||||
* | Fix [f3c5467f07]: various spelling fixes (from Christopher Chavez) | fvogel | 2019-07-02 | 1 | -1/+1 |
| | |||||
* | Mitigate future merge conflict headaches. | culler | 2019-04-17 | 1 | -89/+104 |
| | |||||
* | Mac code cleanup. Move interfaces for subclasses of AppKit classes to | culler | 2018-11-26 | 1 | -6/+0 |
| | | | tkMacOSXPrivate.h when possible. Also Utility windows cannot go fullscreen. | ||||
* | Tweak a couple of #define constants for building on OSX 10.6. | culler | 2018-10-29 | 1 | -1/+1 |
| | |||||
* | Deal with Mojave deprecations and remove unneeded code. | culler | 2018-10-21 | 1 | -9/+1 |
| | |||||
* | Add explanatory comments in TkpMeasureCharsInContext() on macOS. | fvogel | 2018-10-08 | 1 | -2/+30 |
| | |||||
* | Fix [6437e8d00d] (font-24.5 test fails on macOS and Linux) without ↵ | fvogel | 2018-10-07 | 1 | -4/+4 |
| | | | | regression in canvText test. This is the fix for macOS. |