summaryrefslogtreecommitdiffstats
path: root/xlib
Commit message (Collapse)AuthorAgeFilesLines
* Move XGetImage and XCopyArea to tkMacOSXImage.c and completely remove ↵culler2020-08-241-3/+0
|\ | | | | | | XImage.pixelpower.
| * Remove all use of XImage.pixelpower, but not the field, simplify and reorganize.culler2020-08-221-1/+1
| |
* | Merge 8.6jan.nijtmans2020-08-211-12/+0
|\ \ | |/
| * Make TkpReleaseRegion and TkpRetainRegion static; remove mac-specific code ↵culler2020-08-191-12/+0
| | | | | | | | from xgc.c; remove call to XSetClipMask; add debug logging
* | Merge 8.6jan.nijtmans2020-08-111-4/+3
|\ \ | |/
| * Add 3 more stub entries to MacOSX X11 stub table, which win32 already has: ↵jan.nijtmans2020-08-111-33/+349
| | | | | | | | XDestroyIC(), XCreatePixmapCursor(), XCreateGlyphCursor()
| * Fix [34214bbdae]: typographical fixes in comments. Thanks to Christopher Chavez.fvogel2020-07-082-5/+5
| |
* | Don't use trans_chars array on MacOSX any more.culler2020-05-171-5/+0
|\ \ | |/
| * Don't use trans_chars array on MacOSX any more.jan.nijtmans2020-05-171-5/+0
| |\
| | * Merge 8.6marc_culler2020-05-151-5/+0
| | |\ | | |/ | |/|
* | | Merge 8.6jan.nijtmans2020-05-151-0/+2
|\ \ \ | |/ /
| * | Fix [a953736b546ce681cbfc]: Potential wrong use of TkKeyEvent. Finally done ↵jan.nijtmans2020-05-151-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).
* | Merge 8.6jan.nijtmans2020-05-131-17/+0
|\ \ | |/
| * Quick-fix for build problem on X11 (unfortunately, this means mis-using the ↵jan.nijtmans2020-05-131-17/+0
| | | | | | | | xbutton.button field again, don't have other quick solution for that)
* | Fix [d2a10a14a8]: Give mousewheel events their own flag and event struct; ↵culler2020-05-121-0/+17
|\ \ | |/ | | | | avoid unnecessary keysym lookups
| * Add a separate flag for MouseWheel events (tkBind.c) and a new WheelEvent ↵fvogel2020-05-101-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.
* | Eliminate More C++-related warnings, when compiling against Tcl 9.0 headers.jan.nijtmans2020-03-111-77/+77
| |
* | More progress in making win32 build C++-ready.jan.nijtmans2020-03-101-3/+2
| |
* | Add XkbKeycodeToKeysym() and XkbOpenDisplay() to the (Windows/MacOS) X11 ↵jan.nijtmans2020-03-101-0/+1
|\ \ | | | | | | | | | stub table. No effect for UNIX.
| * \ Finish for MacOS toojan.nijtmans2020-03-091-0/+1
| |\ \ | |/ / |/| |
| * | Add XkbOpenDisplay and XkbKeycodeToKeysym to X11 stub table. MacOS not done yet.jan.nijtmans2020-03-093-0/+2577
|/ /
* | Merge trunkjan.nijtmans2020-02-261-4/+4
|\ \
* \ \ Merge 8.7jan.nijtmans2020-02-061-3/+3
|\ \ \ | |/ /
* | | WIP: Add support for C++jan.nijtmans2019-12-123-4/+161
|/ /
* | Update to a (slightly) later version of X11R6 headers.jan.nijtmans2019-11-272-5/+24
| |
* | Merge 8.6jan.nijtmans2019-11-251-1/+1
|\ \ | |/
| * Fix [a953736b54]: Potential wrong use of TkKeyEventjan.nijtmans2019-11-251-1/+1
| |\
| | * Fix [a953736b54]: Potential wrong use of TkKeyEventjan.nijtmans2019-11-251-1/+1
| | |
| * | Add support for 4 keycodes on Windows (Mail, AudioMedia, Launch0 and ↵jan.nijtmans2019-11-135-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.
* | | merge core-8-6-branch, in particular, push a different fix for the 'Column ↵fvogel2019-11-011-2/+2
|\ \ \ | |/ / | | | | | | ... out of range' error reported in [caacf1f082], this time without any regression...
| * | Somewhat more progress on [a179564826]: Tk 8.6: prevent issues when ↵jan.nijtmans2019-11-011-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.nijtmans2019-10-131-0/+2
| | | | | | | | | | | | fixed in X11-r6. Add 3 test-cases, proving each of them.
* | | Add a few defines from latest X11-R6jan.nijtmans2019-10-201-8/+18
| | |
* | | Add more keysym-related header files from X11-R6, so extensions can ↵jan.nijtmans2019-10-196-0/+608
| | | | | | | | | | | | eventually use them. Deprecate the non-standard additions in keysymdef.h, in favor of the new header files.
* | | Merge 8.6jan.nijtmans2019-10-101-1/+1
|\ \ \ | |/ /
| * | Make XID typedef unsigned, since it's unsigned as well on all other platforms.jan.nijtmans2019-10-101-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.nijtmans2019-10-011-1/+2
| | | | | | | | | | | | stead of void. Reason: the X11 variant does this as well, this way we keep it the same on all platforms.
* | | Add a bunch of new X11 functions (stubs, for now) to the X11 stub tables for ↵jan.nijtmans2019-10-021-0/+86
| | | | | | | | | | | | win and MacOS. Those will be needed when implementing XIM support for Windows/MacOSX.
* | | Eliminate some dead codejan.nijtmans2019-10-011-18/+0
| | |
* | | Fix MacOS buildjan.nijtmans2019-10-011-2/+0
| | |
* | | more Region-related revamp.jan.nijtmans2019-10-011-4/+6
| | |
* | | Simplify many MacOS-specific types which are not necessaryjan.nijtmans2019-09-304-41/+1
| | |
* | | Attempt to make testcases with makefile.vc work againjan.nijtmans2019-09-292-8/+12
| | |
* | | Be carefull with using "extern" in Xlib/h and Xutil.h on win32: We want to ↵jan.nijtmans2019-09-292-486/+511
| | | | | | | | | | | | export those symbols from tcl??.dll
* | | Only use one of XPutImage/TkPutImage, dependant on platform. Both are ↵jan.nijtmans2019-09-271-1/+0
|\ \ \ | | | | | | | | | | | | present in stub table, for backwards compatibility
* \ \ \ Merge trunkjan.nijtmans2019-09-251-2/+2
|\ \ \ \ | |/ / /
| * | | Merge 8.6jan.nijtmans2019-09-241-2/+2
| |\ \ \ | | |/ /
| | * | Don't use "class" as (internal) struct field name or local variable name. ↵jan.nijtmans2019-09-241-2/+2
| | | | | | | | | | | | | | | | Make it "c_class" (just as X11 does as well), in order to prevent conflict with C++ compilers.
| * | | Add 7 new functions to the MacOSX X11-compat stub tablejan.nijtmans2019-08-221-19/+64
| | | |
* | | | Merge trunk. Some more signature changes, in line with X11-R6jan.nijtmans2019-08-223-6/+2638
|\ \ \ \ | |/ / /