Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move XGetImage and XCopyArea to tkMacOSXImage.c and completely remove ↵ | culler | 2020-08-24 | 1 | -3/+0 |
|\ | | | | | | | XImage.pixelpower. | ||||
| * | Remove all use of XImage.pixelpower, but not the field, simplify and reorganize. | culler | 2020-08-22 | 1 | -1/+1 |
| | | |||||
* | | Merge 8.6 | jan.nijtmans | 2020-08-21 | 1 | -12/+0 |
|\ \ | |/ | |||||
| * | 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 | ||||
* | | Merge 8.6 | jan.nijtmans | 2020-08-11 | 1 | -4/+3 |
|\ \ | |/ | |||||
| * | 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. | culler | 2020-05-17 | 1 | -5/+0 |
|\ \ | |/ | |||||
| * | 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 |
| | |\ | | |/ | |/| | |||||
* | | | Merge 8.6 | jan.nijtmans | 2020-05-15 | 1 | -0/+2 |
|\ \ \ | |/ / | |||||
| * | | 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). | ||||
* | | Merge 8.6 | jan.nijtmans | 2020-05-13 | 1 | -17/+0 |
|\ \ | |/ | |||||
| * | 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) | ||||
* | | Fix [d2a10a14a8]: Give mousewheel events their own flag and event struct; ↵ | culler | 2020-05-12 | 1 | -0/+17 |
|\ \ | |/ | | | | | avoid unnecessary keysym lookups | ||||
| * | 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. | ||||
* | | Eliminate More C++-related warnings, when compiling against Tcl 9.0 headers. | jan.nijtmans | 2020-03-11 | 1 | -77/+77 |
| | | |||||
* | | More progress in making win32 build C++-ready. | jan.nijtmans | 2020-03-10 | 1 | -3/+2 |
| | | |||||
* | | Add XkbKeycodeToKeysym() and XkbOpenDisplay() to the (Windows/MacOS) X11 ↵ | jan.nijtmans | 2020-03-10 | 1 | -0/+1 |
|\ \ | | | | | | | | | | stub table. No effect for UNIX. | ||||
| * \ | Finish for MacOS too | jan.nijtmans | 2020-03-09 | 1 | -0/+1 |
| |\ \ | |/ / |/| | | |||||
| * | | Add XkbOpenDisplay and XkbKeycodeToKeysym to X11 stub table. MacOS not done yet. | jan.nijtmans | 2020-03-09 | 3 | -0/+2577 |
|/ / | |||||
* | | Merge trunk | jan.nijtmans | 2020-02-26 | 1 | -4/+4 |
|\ \ | |||||
* \ \ | Merge 8.7 | jan.nijtmans | 2020-02-06 | 1 | -3/+3 |
|\ \ \ | |/ / | |||||
* | | | WIP: Add support for C++ | jan.nijtmans | 2019-12-12 | 3 | -4/+161 |
|/ / | |||||
* | | Update to a (slightly) later version of X11R6 headers. | jan.nijtmans | 2019-11-27 | 2 | -5/+24 |
| | | |||||
* | | Merge 8.6 | jan.nijtmans | 2019-11-25 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | 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. | ||||
* | | | merge core-8-6-branch, in particular, push a different fix for the 'Column ↵ | fvogel | 2019-11-01 | 1 | -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.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. | ||||
* | | | Add a few defines from latest X11-R6 | jan.nijtmans | 2019-10-20 | 1 | -8/+18 |
| | | | |||||
* | | | Add more keysym-related header files from X11-R6, so extensions can ↵ | jan.nijtmans | 2019-10-19 | 6 | -0/+608 |
| | | | | | | | | | | | | eventually use them. Deprecate the non-standard additions in keysymdef.h, in favor of the new header files. | ||||
* | | | Merge 8.6 | jan.nijtmans | 2019-10-10 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | 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. | ||||
* | | | Add a bunch of new X11 functions (stubs, for now) to the X11 stub tables for ↵ | jan.nijtmans | 2019-10-02 | 1 | -0/+86 |
| | | | | | | | | | | | | win and MacOS. Those will be needed when implementing XIM support for Windows/MacOSX. | ||||
* | | | Eliminate some dead code | jan.nijtmans | 2019-10-01 | 1 | -18/+0 |
| | | | |||||
* | | | Fix MacOS build | jan.nijtmans | 2019-10-01 | 1 | -2/+0 |
| | | | |||||
* | | | more Region-related revamp. | jan.nijtmans | 2019-10-01 | 1 | -4/+6 |
| | | | |||||
* | | | Simplify many MacOS-specific types which are not necessary | jan.nijtmans | 2019-09-30 | 4 | -41/+1 |
| | | | |||||
* | | | Attempt to make testcases with makefile.vc work again | jan.nijtmans | 2019-09-29 | 2 | -8/+12 |
| | | | |||||
* | | | Be carefull with using "extern" in Xlib/h and Xutil.h on win32: We want to ↵ | jan.nijtmans | 2019-09-29 | 2 | -486/+511 |
| | | | | | | | | | | | | export those symbols from tcl??.dll | ||||
* | | | Only use one of XPutImage/TkPutImage, dependant on platform. Both are ↵ | jan.nijtmans | 2019-09-27 | 1 | -1/+0 |
|\ \ \ | | | | | | | | | | | | | present in stub table, for backwards compatibility | ||||
* \ \ \ | Merge trunk | jan.nijtmans | 2019-09-25 | 1 | -2/+2 |
|\ \ \ \ | |/ / / | |||||
| * | | | Merge 8.6 | jan.nijtmans | 2019-09-24 | 1 | -2/+2 |
| |\ \ \ | | |/ / | |||||
| | * | | 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. | ||||
| * | | | Add 7 new functions to the MacOSX X11-compat stub table | jan.nijtmans | 2019-08-22 | 1 | -19/+64 |
| | | | | |||||
* | | | | Merge trunk. Some more signature changes, in line with X11-R6 | jan.nijtmans | 2019-08-22 | 3 | -6/+2638 |
|\ \ \ \ | |/ / / |