Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix [e699a7b606]: Fix build on macOS<10.12 - patch from Christopher Chavez. | culler | 2021-11-09 | 1 | -3/+4 |
| | |||||
* | Menu-related code cleanup. (mainly indenting spaces -> tabs) | jan.nijtmans | 2021-06-21 | 1 | -1/+1 |
| | |||||
* | Fix [4401d32fb7]: clean up code that deals with Aqua pixel formats. Makes ↵ | culler | 2021-06-03 | 1 | -92/+176 |
|\ | | | | | | | -format window work again in TkImg. | ||||
| * | Merge 8.6 | culler | 2021-05-06 | 1 | -14/+16 |
| |\ | |||||
| * | | Use TCL_UNUSED in TkpPutRGBAImage. | culler | 2021-05-04 | 1 | -12/+37 |
| | | | |||||
| * | | Attempt to explain the complexities of RGBA and ARGB and big and little ends ↵ | culler | 2021-05-03 | 1 | -59/+113 |
| | | | | | | | | | | | | and make the code deal with them as clearly as possible. | ||||
| * | | Make ImageGetPixel consistent with XGetImage. | culler | 2021-05-03 | 1 | -6/+6 |
| | | | |||||
| * | | Oops. Cosmetic change meant to reduce confusion actually increased it. Try ↵ | culler | 2021-05-02 | 1 | -4/+4 |
| | | | | | | | | | | | | again. | ||||
| * | | ABGR -> ARGB as observed by Christopher Chavez. | culler | 2021-05-01 | 1 | -3/+3 |
| | | | |||||
* | | | A few more "const" keyword optimizations | jan.nijtmans | 2021-06-03 | 1 | -2/+2 |
| | | | |||||
* | | | comment fix | jan.nijtmans | 2021-05-11 | 1 | -1/+1 |
| | | | |||||
* | | | Make return values for tkMacOSXPutImage consistent between 8.6 and 8.7, and ↵ | culler | 2021-05-11 | 1 | -4/+5 |
| |/ |/| | | | | | document them. | ||||
* | | uint32 -> uint32_t, more TCL_UNUSED() and typecasts | jan.nijtmans | 2021-05-04 | 1 | -11/+15 |
| | | |||||
* | | Eliminate TkpPutRGBAImage's first 2 parameters, since they are unused | jan.nijtmans | 2021-05-03 | 1 | -2/+2 |
|/ | |||||
* | Edit comments. Use uint32_t since Apple documentation specifies that type ↵ | culler | 2021-05-01 | 1 | -7/+18 |
| | | | | for kCGImageAlphaLast etc. | ||||
* | Fix [4c7d935e97]: on Aqua, checkbuttons are not rendered in the Alt theme. | culler | 2021-04-30 | 1 | -20/+36 |
| | |||||
* | Remove extra release of CGContext | culler | 2021-04-28 | 1 | -1/+0 |
| | |||||
* | Code cleanup. Thanks to Christopher Chavez for the careful review. | culler | 2021-04-25 | 1 | -24/+22 |
| | |||||
* | Use the release method instead of CFRelease for NSBitmapImageRep objects. | culler | 2021-04-25 | 1 | -2/+2 |
| | |||||
* | Bonus! Use the new CALayer to make XCopyArea work again! | culler | 2021-04-25 | 1 | -36/+30 |
| | |||||
* | More implicit type-casts, for C++ compatibility. | jan.nijtmans | 2021-02-02 | 1 | -5/+5 |
| | |||||
* | Tidy up with a patch from Christopher Chavez. Removes redundant include ↵ | marc_culler | 2020-12-16 | 1 | -5/+5 |
| | | | | directives and double semicolons. Uses nil instead of NULL for references to NSObjects in Objective C. | ||||
* | Rename (internal) TkMacOSXDrawableView() -> TkMacOSXGetNSViewForDrawable() | jan.nijtmans | 2020-09-02 | 1 | -6/+6 |
| | |||||
* | Eliminate MODULE_SCOPE wrapper function for TkMacOSXDrawable(). Rename ↵ | jan.nijtmans | 2020-09-02 | 1 | -1/+1 |
| | | | | (internal) TkMacOSXDrawableWindow() to TkMacOSXGetNSWindowForDrawable(). Code (type-cast) cleanup | ||||
* | Merge 8.5 | jan.nijtmans | 2020-08-25 | 1 | -1/+1 |
| | |||||
* | Address compiler warnings. | culler | 2020-08-23 | 1 | -6/+2 |
| | |||||
* | Remove all use of XImage.pixelpower, but not the field, simplify and reorganize. | culler | 2020-08-22 | 1 | -153/+458 |
| | |||||
* | Edit comments, make some stylistic changes, remove an unused function parameter. | culler | 2020-08-21 | 1 | -1/+1 |
| | |||||
* | Edit comments. | culler | 2020-08-03 | 1 | -3/+7 |
| | |||||
* | Be a little more efficient. | culler | 2020-08-03 | 1 | -2/+2 |
| | |||||
* | Fix [fca13549b6]: TkMacOSXRGBPixel() used incorrectly in ImageGetPixel() | culler | 2020-08-03 | 1 | -7/+13 |
| | |||||
* | Clean up tkMacOSXColor.c so it is not so painful to add new colors. | culler | 2020-07-29 | 1 | -1/+1 |
| | |||||
* | Add XPutImage() to the X11 stub table on Aqua | jan.nijtmans | 2019-09-25 | 1 | -4/+19 |
| | |||||
* | Mitigate future merge conflict headaches. | culler | 2019-04-17 | 1 | -68/+77 |
| | |||||
* | Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵ | jan.nijtmans | 2019-01-10 | 1 | -1/+1 |
| | | | | | | 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. | ||||
* | Fix the build on Sierra and earlier. | culler | 2018-12-01 | 1 | -0/+9 |
| | |||||
* | Always check whether the return value of TkMacOSXGetTkWindow is NULL. | culler | 2018-11-11 | 1 | -6/+6 |
| | |||||
* | TkPutImage should not assume that a pixmap is transparent, even though it ↵ | culler | 2018-11-10 | 1 | -1/+9 |
| | | | | does have alpha=0. | ||||
* | Fixed transparency issues and crashes related to PhotoImages and greatly ↵ | culler | 2018-11-08 | 1 | -41/+37 |
| | | | | | simplified the PhotoImage display procedure. | ||||
* | Fix two image bugs. BitmapImageReps may have bytesPerRow > 4*width. Do not copy | culler | 2018-11-07 | 1 | -3/+3 |
| | | | from a window to a bitmap if the contentView does not have a valid graphics context. | ||||
* | tkWinDialog.c: Change a LoadLibrary() call to GetModuleHandle(), since ↵ | jan.nijtmans | 2017-11-27 | 1 | -4/+4 |
| | | | | | "shell32.dll" is already linked to Tk. Also various whitespace changes (mainly at line-ends) and comment fixes. Nothing functional. | ||||
* | Make it possible to generate an NSImage with correct transparency from a | culler | 2017-11-15 | 1 | -41/+43 |
| | | | | photoimage. Fixes transparency issues with iconphotos and images in menus. | ||||
* | Implemented a more robust and transparent scheme for making | culler | 2017-11-14 | 1 | -16/+11 |
| | | | sure that iconphoto images are not blended with a black background. | ||||
* | Fixed an issue with iconphoto where the dock icon would have a | culler | 2017-11-13 | 1 | -0/+20 |
| | | | black backround, instead of transparent, when using a PNG image. | ||||
* | Small changes to address compiler warnings. | culler | 2017-11-10 | 1 | -6/+6 |
| | |||||
* | Added some #ifdef __clang__ sections to allow building with gcc on OSX 10.6. | culler | 2017-11-09 | 1 | -0/+6 |
| | | | | Tk now builds and runs on Snow Leopard, but does not support retina displays or filtering in file dialogs, and generates some errors about colorspaces. | ||||
* | Minor changes to deal with compiler warnings for different OSX | culler | 2017-11-09 | 1 | -5/+5 |
| | | | versions. Now builds cleanly with deployment targets 10.6 - 10.13. | ||||
* | Remove unused variables; add comments. | culler | 2017-11-08 | 1 | -3/+6 |
| | |||||
* | Cleaned up and reworked XGetImage. This seems to eliminate | culler | 2017-11-08 | 1 | -85/+80 |
| | | | | segfaults seen when rapidly resizing the scid window and may also fix [218561bf]. | ||||
* | Reorganization to put all code related to Ximages in the new | culler | 2017-11-08 | 1 | -0/+559 |
file tkMacOSXImage.c |