Tk Source Code

Check-in [42577ce4]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Restore deprecated call to NSPasteboardTypeString in writeSelectiontoPasteboard because it breaks sending data to the services menu. Data type must be identical in this call and in the NSSendTypes key in info.plist; we cannot do a clever mapping here of the old type to a new one because the info.plist does not have this kind of conditional reading on different versions of macOS. We will have to live with the deprecated call until it is obsolete/removed altogether by Apple.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | mac_services
Files: files | file ages | folders
SHA3-256: 42577ce45120a59ce3204b562d814080f12c320e15b8a4ced404f87613c7a7fb
User & Date: kevin_walzer 2019-05-12 02:03:47.473
Context
2019-05-17
03:13
Code and data type cleanup, thanks to Marc Culler for patch check-in: a7e34ff9 user: kevin_walzer tags: mac_services
2019-05-12
02:03
Restore deprecated call to NSPasteboardTypeString in writeSelectiontoPasteboard because it breaks sending data to the services menu. Data type must be identical in this call and in the NSSendTypes key in info.plist; we cannot do a clever mapping here of the old type to a new one because the info.plist does not have this kind of conditional reading on different versions of macOS. We will have to live with the deprecated call until it is obsolete/removed altogether by Apple. check-in: 42577ce4 user: kevin_walzer tags: mac_services
00:55
More tweaking check-in: cad8b6d0 user: kevin_walzer tags: mac_services
Changes
Unified Diff Side-by-Side Diff Patch
Changes to macosx/Wish-Info.plist.in.
Changes to macosx/tkMacOSXServices.c.