Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Fix [420feb3850]: Aqua: UBSan warns for misaligned TkpGCCache access. | jan.nijtmans | 2020-09-08 | 1 | -7/+11 | |
| | | | Just define the memory layout we want (XGCValuesWithCache) and let the compiler do the calculations. | |||||
* | Remove all use of XImage.pixelpower, but not the field, simplify and reorganize. | culler | 2020-08-22 | 1 | -1/+1 | |
| | ||||||
* | Make TkpReleaseRegion and TkpRetainRegion static; remove mac-specific code ↵ | culler | 2020-08-19 | 1 | -12/+0 | |
| | | | | from xgc.c; remove call to XSetClipMask; add debug logging | |||||
* | Add 3 more stub entries to MacOSX X11 stub table, which win32 already has: ↵ | jan.nijtmans | 2020-08-11 | 1 | -33/+349 | |
| | | | | XDestroyIC(), XCreatePixmapCursor(), XCreateGlyphCursor() | |||||
* | Fix [34214bbdae]: typographical fixes in comments. Thanks to Christopher Chavez. | fvogel | 2020-07-08 | 2 | -5/+5 | |
| | ||||||
* | Don't use trans_chars array on MacOSX any more. | jan.nijtmans | 2020-05-17 | 1 | -5/+0 | |
|\ | ||||||
| * | Merge 8.6 | marc_culler | 2020-05-15 | 1 | -5/+0 | |
| |\ | |/ |/| | ||||||
* | | Fix [a953736b546ce681cbfc]: Potential wrong use of TkKeyEvent. Finally done ↵ | jan.nijtmans | 2020-05-15 | 1 | -0/+2 | |
|/ | | | | | | what's suggested there: Since kePtr->charValuePtr is only used on X11, only do the ckfree(kePtr->charValuePtr) on X11. On Win32, use TkKeyEvent in stead of the non-standard XEvent. On macOS TkKeyEvent is not used, so no change is needed (- MC). | |||||
* | Quick-fix for build problem on X11 (unfortunately, this means mis-using the ↵ | jan.nijtmans | 2020-05-13 | 1 | -17/+0 | |
| | | | | xbutton.button field again, don't have other quick solution for that) | |||||
* | Add a separate flag for MouseWheel events (tkBind.c) and a new WheelEvent ↵ | fvogel | 2020-05-10 | 1 | -0/+17 | |
| | | | | event type to the XEvent union (Xlib.h). The new struct agrees with the KeyEvent except it replaces the unsigned int keycode with a signed int delta and drops the trans_chars and nbytes fields that come after the keycode in a KeyEvent. In addition to that, remove the NO_NUMBER hack and make the code clearer with respect to signed vs unsigned numbers. Thanks to Marc Culler for providing this patch. | |||||
* | Fix [a953736b54]: Potential wrong use of TkKeyEvent | jan.nijtmans | 2019-11-25 | 1 | -1/+1 | |
|\ | ||||||
| * | Fix [a953736b54]: Potential wrong use of TkKeyEvent | jan.nijtmans | 2019-11-25 | 1 | -1/+1 | |
| | | ||||||
* | | Add support for 4 keycodes on Windows (Mail, AudioMedia, Launch0 and ↵ | jan.nijtmans | 2019-11-13 | 5 | -0/+616 | |
| | | | | | | | | | | | | 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. | |||||
* | | Somewhat more progress on [a179564826]: Tk 8.6: prevent issues when ↵ | jan.nijtmans | 2019-11-01 | 1 | -3/+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) | |||||
* | | Fix 3 bugs in X11 keysym translations, originating from X11-r5 which were ↵ | jan.nijtmans | 2019-10-13 | 1 | -0/+2 | |
| | | | | | | | | fixed in X11-r6. Add 3 test-cases, proving each of them. | |||||
* | | Make XID typedef unsigned, since it's unsigned as well on all other platforms. | jan.nijtmans | 2019-10-10 | 1 | -1/+1 | |
| | | | | | | Extend maximum KeySym to allow up to 0x1008FFFF, since there are some MultiMedia keys allocated there. | |||||
* | | Modify TkClipBox and friends such that they return an int (normally 0) in ↵ | jan.nijtmans | 2019-10-01 | 1 | -1/+2 | |
| | | | | | | | | stead of void. Reason: the X11 variant does this as well, this way we keep it the same on all platforms. | |||||
* | | Don't use "class" as (internal) struct field name or local variable name. ↵ | jan.nijtmans | 2019-09-24 | 1 | -2/+2 | |
| | | | | | | | | Make it "c_class" (just as X11 does as well), in order to prevent conflict with C++ compilers. | |||||
* | | Fix [f3c5467f07]: various spelling fixes (from Christopher Chavez) | fvogel | 2019-07-02 | 1 | -2/+2 | |
| | | ||||||
| | | ||||||
| \ | ||||||
*-. \ | Merge 8.6 and all changes from original [bug-9e31fd9449] branch | jan.nijtmans | 2019-01-08 | 4 | -22/+23 | |
|\ \ \ | | |/ | ||||||
| | * | Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵ | jan.nijtmans | 2019-01-08 | 2 | -7/+16 | |
| | |\ | | | | | | | | | | | | | | | | | | | | | Windows.h have conflicting symbols. *** POTENTIAL INCOMPATIBILITY *** on Windows only: gcc/clang/MSVC will generate new warnings in extensions when the "None" symbol is used incorrectly. Those warnings are all fixed in the core, that's what most of this commit is doing. | |||||
| | | * | Bring back more original "None" usages, and fix other warnings which ↵ | jan.nijtmans | 2019-01-03 | 3 | -15/+21 | |
| | | | | | | | | | | | | | | | | | | | | gradually slipped in. Wherever possible, pragma's are used in MSVC to silence useless compiler warnings. | |||||
* | | | | Merge 8.5. Undo previous introduced ***POTENTIAL INCOMPATIBLITY*** on win32 | jan.nijtmans | 2018-12-26 | 1 | -6/+5 | |
|\ \ \ \ | | |_|/ | |/| | | ||||||
| * | | | Change None/ControlMask on win32 (and MacOSX - which is harmless) to being ↵ | jan.nijtmans | 2018-12-26 | 1 | -6/+5 | |
| | | | | | | | | | | | | | | | | an enum. This fixes (hopefully) the ***POTENTIAL INCOMPATABILITY*** in previous commit | |||||
* | | | | Fix [9e31fd9449]: X11/X.h and Windows.h have conflicting symbols | jan.nijtmans | 2018-12-20 | 3 | -15/+19 | |
|\ \ \ \ | |/ / / | | / / | |/ / |/| | | *** POTENTIAL INCOMPATIBILITY *** for Win32 only: On X11 and Mac, "None" can still be used as before | |||||
| * | | Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵ | jan.nijtmans | 2018-12-20 | 3 | -15/+19 | |
| |/ | | | | | | | | | Windows.h have conflicting symbols. Also fix a few newer (harmless) gcc warnings. | |||||
| * | (cherry-pick): Fixed bug [f0188aca9e] (color names parsing on Windows), by ↵ | jan.nijtmans | 2017-04-13 | 1 | -0/+10 | |
| | | | | | | | | Simon Bachmann | |||||
| * | Merged tip-464 following positive vote by the TCT. | fvogel | 2017-03-26 | 1 | -0/+12 | |
| |\ | ||||||
* | | | TkPutImage should not assume that a pixmap is transparent, even though it ↵ | culler | 2018-11-10 | 1 | -4/+0 | |
| | | | | | | | | | | | | does have alpha=0. | |||||
* | | | Make it possible to generate an NSImage with correct transparency from a | culler | 2017-11-15 | 1 | -0/+4 | |
| | | | | | | | | | | | | photoimage. Fixes transparency issues with iconphotos and images in menus. | |||||
* | | | various end-of-line spaces | jan.nijtmans | 2017-05-01 | 1 | -2/+2 | |
| | | | ||||||
* | | | Let the unimplemented function XDrawSegments() return BadDrawable in stead ↵ | jan.nijtmans | 2017-04-25 | 1 | -1/+1 | |
| | | | | | | | | | | | | of Success: It's only in the stub table since [a0883a07026127ef], before that the function was only internal and returned void. | |||||
* | | | Fixed bug [f0188aca9e] (color names parsing on Windows) | simonbachmann | 2017-04-08 | 1 | -0/+10 | |
| |/ |/| | ||||||
* | | Proposed fix for [499526180d]: Add support for windows multimedia virtual ↵ | fvogel | 2017-01-28 | 1 | -0/+12 | |
| | | | | | | | | keys. Patch by ralfixx | |||||
* | | Workaround for possible build problem on Windows/MacOSX: Some (older) ↵ | jan.nijtmans | 2016-11-09 | 1 | -0/+1 | |
| | | | | | | | | versions of X11/Xutil.h have a wrong signature for XOffsetRegion/XUnionRegion, so move them out of the way temporarly. | |||||
* | | (micro-) optimize a few Win32 drawing functions, and make them work when ↵ | jan.nijtmans | 2016-11-08 | 1 | -6/+7 | |
|\ \ | |/ | | | | | npoints=0 | |||||
| * | Add XDrawSegments/XDrawPoint/XDrawPoints to internal stub table, and fix ↵ | jan.nijtmans | 2016-11-08 | 2 | -10/+14 | |
| | | | | | | | | their signature matching X11. | |||||
* | | Add another few Xlib stubs for Win32. Cherry-picked from ↵ | jan.nijtmans | 2016-11-07 | 2 | -8/+11 | |
| | | | | | | | | [http://www.androwish.org/index.html/info/862eb620a096fddc|AndroWish]. Thanks to Christian Werner. | |||||
* | | Fix for image/alpha rendering under hidpi/Retina displays on Mac OS; thanks ↵ | Kevin Walzer | 2016-07-15 | 1 | -0/+3 | |
| | | | | | | | | to Marc Culler for assistance | |||||
* | | Force the use of the correct internal function for parsing hex colors rather ↵ | dkf | 2012-12-06 | 1 | -85/+63 | |
|\ \ | |/ | | | | | than leaving it to the vagaries of the system library (buggy on some versions of MinGW apparently). | |||||
| * | Force the use of the correct internal function for parsing hex colors rather ↵ | dkf | 2012-12-06 | 1 | -85/+63 | |
| |\ | | | | | | | | | | than leaving it to the vagaries of the system library (buggy on some versions of MinGW apparently). | |||||
| | * | Minor improvements now that we're no longer tracking a standard API. | dkf | 2012-12-06 | 1 | -3/+2 | |
| | | | ||||||
| | * | Force the use of the correct internal function for parsing hex colors rather | dkf | 2012-12-06 | 1 | -85/+64 | |
| | | | | | | | | | | | | than leaving it to the vagaries of the system library (buggy on some versions of MinGW apparently). | |||||
| | * | More complete purge of things only present for supporting long-dead Mac 9 ↵ | dgp | 2012-11-15 | 6 | -35/+11 | |
| | | | | | | | | | | | | systems. | |||||
| * | | sync nmakehlp.c with Tcl version | jan.nijtmans | 2012-10-23 | 6 | -95/+95 | |
| |\ \ | | |/ | | | | | | | <p>purge spaces at end of lines <p>clean-up unix/Makefile.in after carbon removal | |||||
* | | | consistant use of mode: objc for OSX, strip spaces from the end of lines | jan.nijtmans | 2012-10-23 | 6 | -95/+95 | |
|\ \ \ | |/ / | ||||||
| * | | Add 8 colors to the supported color list (aqua, crimson, fuchsia, indigo, ↵ | jan.nijtmans | 2012-09-28 | 2 | -2/+28 | |
| |\ \ | | |/ | | | | | | | lime, olive, silver and teal), part of TIP #403 | |||||
| | * | Add 8 colors to the supported color list (aqua, crimson, fuchsia, indigo, ↵ | jan.nijtmans | 2012-09-28 | 2 | -2/+28 | |
| | | | | | | | | | | | | lime, olive, silver and teal), part of TIP #403 | |||||
| * | | Merge Tk-Cocoa backport into core-8-5-branch | Kevin Walzer | 2012-09-25 | 1 | -4/+34 | |
| |\ \ | ||||||
| | * | | review remarks, see mail. | jan.nijtmans | 2012-09-12 | 1 | -2/+0 | |
| | | | |