mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
[PR #347] [MERGED] CtrlCore: Modernize CocoClip to use modern NSPasteboardTypeFileURL and NSPasteboardTypeURL #330
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ultimatepp#330
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ultimatepp/ultimatepp/pull/347
Author: @klugier
Created: 1/17/2026
Status: ✅ Merged
Merged: 1/17/2026
Merged by: @mirek-fidler
Base:
master← Head:klugier/remove-warnings-coco-clip📝 Commits (1)
ad8940eModernize CocoClip to use modern NSPasteboardTypeFileURLand NSPasteboardTypeURL.📊 Changes
1 file changed (+25 additions, -15 deletions)
View changed files
📝
uppsrc/CtrlCore/CocoClip.mm(+25 -15)📄 Description
NSFilenamesPboardType and NSURLPboardType are depricated types from macOS 10.14 and needs to be replaced with there newer equivalents. This PR address this issue by replacing them with NSPasteboardTypeFileURL and NSPasteboardTypeURL. In the end eliminating the warning raised by compiler.
I just noticed that in plain version droping url for example from browser doesn't workg and empty vector is being return. This PR changes this and URL is returned normally. It is returrned in the full form for example:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.