summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* Permit Tk 8.6 to use deprecated Tcl constructs (since we cannot look into ↵jan.nijtmans2018-01-221-1/+1
| | | | the future, which constructs will be deprecated in Tcl 8.7+). Tk 8.6 should build independant of this.
* Some code cleanup, suggested by Christian Werner. Cherry-picked from ↵jan.nijtmans2018-01-081-11/+1
| | | | bug-00a27923ee branch.
* Fix [6525e1af25]: Potential Tcl_Encoding leak in macosx/tkMacOSXHLEvents.c. ↵fvogel2017-12-311-2/+4
| | | | Thanks to Christian Werner.
* Merge branch bug-3382424 into core-8-6-branch. Prevents misleading error ↵culler2017-12-052-1/+6
|\ | | | | | | messages during testing on macOS.
| * Remove two debug messages which print to stderr during macOS tests but areculler2017-12-032-1/+6
| | | | | | not really errors.
* | Merge bind-errors into core-8-6-branch. Fixes [1088805fff]. See [0feb63f139]culler2017-12-051-11/+45
|\ \ | | | | | | for explanations.
| * | On macOS, add a modKeyCodes array to the display so key events for modifier ↵culler2017-12-011-11/+45
| |/ | | | | | | keys can be generated.
* | On macOS, set a default application icon only when no icon has been declared in culler2017-12-051-0/+17
| | | | | | an Info.plist file.
* | Remove unnecessary calls to set application icon in bundled apps on macOS, ↵Kevin Walzer2017-12-051-12/+0
|/ | | | prevents custom icon from displaying
* Add missing code to run the postcommand in TkpPostMenu for macOS. Fixes ↵culler2017-11-301-0/+7
| | | | [13d63d2794].
* Restore core-8-6-branch timelinejan.nijtmans2017-11-302-30/+36
|\
| * Fix behavior of raise on macOS.culler2017-11-292-31/+37
|/
* Merge in remove_mac_decorations branchKevin Walzer2017-11-283-93/+4
|\
| * More tweak of READMEKevin Walzer2017-11-281-5/+0
| |
| * Tweak READMEKevin Walzer2017-11-271-27/+0
| |
| * Remove unused experimental window decoration flags from macOSKevin Walzer2017-11-273-69/+3
| |
* | Merge byebye-leopard into core-8-6-branch. Removes conditional code for OS ↵culler2017-11-2710-176/+24
|\ \ | |/ |/| | | X 10.5.
| * Remove all conditional code which requires a minimum deployment targetculler2017-11-2710-176/+24
| | | | | | | | | | of OSX 10.5. Currently the build fails for 10.5 and it seems pointless to try fixing it now, more than 8 years after Apple declared it obsolete.
* | tkWinDialog.c: Change a LoadLibrary() call to GetModuleHandle(), since ↵jan.nijtmans2017-11-278-27/+23
|/ | | | | "shell32.dll" is already linked to Tk. Also various whitespace changes (mainly at line-ends) and comment fixes. Nothing functional.
* Merge mac_wm_withdraw branch to 8.6Kevin Walzer2017-11-261-1/+11
|\
| * Implementation of wm withdraw excluded from Window and Dock menu on macOSKevin Walzer2017-11-261-1/+11
| |
* | Repair a mistake introduced in checkin [fc16f8a9]. In TkpInit the NSApplicationculler2017-11-251-16/+18
| | | | | | | | must be created before opening a console. Otherwise apps launched from an icon will crash.
* | Simultaneously with the previous commit Christian Gollwitzer provided culler2017-11-251-57/+113
|/ | | | this more complete patch that deals with *.* and compilation problems with gcc.
* Pass nil for allowedFileTypes rather than an empty array to select all files.culler2017-11-252-10/+15
|
* Removed a function which is never called in the current version.culler2017-11-251-32/+0
|
* Fix name for SetApplicationIcon function that had an incorrect name in the ↵Kevin Walzer2017-11-251-1/+1
| | | | function description
* Edited comment.culler2017-11-251-2/+3
|
* merge core-8-6-branch into bug-88f02fa81a.culler2017-11-242-1/+7
|\
| * Merge bug-c89bd0aa2c into core-8-6-branch.culler2017-11-242-1/+7
| |\
| | * Don't process window events if the dead window is the root. Thisculler2017-11-242-1/+7
| | | | | | | | | is unnecessary and leads to segfaults in some tests.
* | | Simplify and reorganize the initialization code.culler2017-11-241-70/+73
| | |
* | | Remove calls to TransformProcessType. Avoid activating too early.culler2017-11-242-42/+41
|/ / | | | | Prepare for cleanup of TkpInit. Fixes the basic menu bar problem.
* | Improve metrics for text-only buttons on macOSKevin Walzer2017-11-221-1/+2
|/
* Processing events immediately means we don't have to worry aboutculler2017-11-211-56/+10
| | | the Window menu and is a major simplfication. (Thanks, Kevin!)
* Process events to make sure closed windows are freed immediately.culler2017-11-211-0/+5
|
* Reworked to handle withdrawn ssuccessor windows correctly.culler2017-11-211-44/+36
|
* Expanded comments to explain the strategy better.culler2017-11-211-21/+46
|
* Fix for bug c89bd0aa2cculler2017-11-211-11/+52
|
* Make it possible to generate an NSImage with correct transparency from aculler2017-11-155-44/+48
| | | | photoimage. Fixes transparency issues with iconphotos and images in menus.
* Implemented a more robust and transparent scheme for makingculler2017-11-143-16/+14
| | | sure that iconphoto images are not blended with a black background.
* _poolLock should be declared int, not BOOL. This is unrelated to icons, culler2017-11-131-1/+1
| | | but breaks the build for -arch i386.
* Add a cast to address a compiler warning.culler2017-11-131-1/+1
|
* Fixed an issue with iconphoto where the dock icon would have aculler2017-11-131-0/+20
| | | black backround, instead of transparent, when using a PNG image.
* Fix [b24a7a877d]: Added test for NULL pointer in WmIconphotoCmd.culler2017-11-111-7/+15
|
* Change to XMapWindow to make embedded toplevels display properlyculler2017-11-111-1/+10
| | | when first mapped.
* Fix [2fec274fe3]: OS X - menu-2.8[0134] triggers ↵fvogel2017-11-111-1/+1
|\ | | | | | | CFURLCopyResourcePropertyForKey failed
| * Fix [2fec274fe3]: OS X - menu-2.8[0134] triggers ↵fvogel2017-11-041-1/+1
| | | | | | | | CFURLCopyResourcePropertyForKey failed
* | Add comments to wm_iconphoto implementation on macOSKevin Walzer2017-11-111-1/+6
| |
* | Implement wm_iconphoto command for macOSKevin Walzer2017-11-112-30/+24
| |
* | Small changes to address compiler warnings.culler2017-11-102-8/+8
| |