5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 11:11:50 +08:00
wails/v2/internal/frontend/desktop/darwin
Jakub Peleška 022a5ffec4
Fix Drag & Drop JS runtime (#3516)
* Feature/1090 native drag and drop for file and folder (#3203)

* implement basic dnd for linux

* implemented windows

* progress changed linux handling and added coordinates to drop

* progress fix drop coordinates on windows

* progress remove log from windows

* progress move js

* update js after merge

* fix event listener registration

* fix segfault on non file drag

* remove logs, fix coordinates

* minor changes, simplify to drop only

* rename EnableWails -> EnableFileDrop

* add documentation (PR id missing)

* add PR id to changelog

* fix remove casting from malloc

* fix nil check for OnFileDrop's callback

* fix nil check for OnFileDrop skip event when nil

* add error message for nil callback in OnFileDrop

---------

Co-authored-by: lyimmi <lelvente.zambo@gmail.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>

* implement native drag and drop for macOS (#3250)

* implement native drag and drop for macOS

* update docs

* add to changelog

* update docs (macOS is supported)

* Fix windows DragAndDrop options

* Fix class unset on dragleave for full frame elements

* improve class unset (nested elements and borders case)

* Fix runtime drop target detection and CSS class assignment

* Edit changelog

* Fix drag-and-drop options in references

* Update v2/internal/frontend/desktop/darwin/WailsWebView.m

* Update v2/internal/frontend/desktop/darwin/WailsWebView.m

---------

Co-authored-by: Zámbó, Levente <levente.zambo@gmail.com>
Co-authored-by: lyimmi <lelvente.zambo@gmail.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
Co-authored-by: Andrey Pshenkin <andrey.pshenkin@gmail.com>
Co-authored-by: Pavel Binar <pavel@beamtransfer.io>
2024-06-10 15:15:28 +10:00
..
AppDelegate.h Fix single instance lock for macOS sandbox app (#3029) 2023-11-05 14:10:01 +11:00
AppDelegate.m [v2/Mac] Handle application terminate (#3157) 2024-01-08 08:08:04 +11:00
Application.h Fix Drag & Drop JS runtime (#3516) 2024-06-10 15:15:28 +10:00
Application.m Fix Drag & Drop JS runtime (#3516) 2024-06-10 15:15:28 +10:00
browser.go fix: fallback to hardcoded Edge/Chrome/Firefox Windows browser paths if user's default browser no longer exists (#3262) 2024-03-24 17:09:27 +11:00
callbacks.go [chore] lint fixes 2023-11-12 12:30:49 +11:00
calloc.go Releasetest/release workflow (#1869) 2022-09-18 08:55:21 +10:00
clipboard.go [chore] lint fixes 2023-11-12 12:30:49 +11:00
CustomProtocol.h Implement custom protocol association support (#3000) 2023-11-02 20:26:05 +11:00
CustomProtocol.m Implement custom protocol association support (#3000) 2023-11-02 20:26:05 +11:00
dialog.go [chore] lint fixes 2023-11-12 12:30:49 +11:00
frontend.go Fix Drag & Drop JS runtime (#3516) 2024-06-10 15:15:28 +10:00
inspector_dev.go Add better macos guard for elementFullscreenEnabled (#3111) 2023-12-10 10:12:14 +11:00
inspector.go [chore] lint fixes 2023-11-12 12:30:49 +11:00
main.m Add disable zoom on mac (#3289) 2024-03-02 15:47:59 +11:00
menu.go [chore] lint fixes 2023-11-12 12:30:49 +11:00
menuitem.go [chore] lint fixes 2023-11-12 12:30:49 +11:00
message.h [assetServer, darwin] Use AssetServer native WKWebView request handling (#2283) 2023-01-16 13:02:18 +01:00
Role.h [v2, darwin] Add some missing default shortcuts (#2586) 2023-04-20 12:38:32 +02:00
screen.go [chore] lint fixes 2023-11-12 12:30:49 +11:00
single_instance.go Fix single instance lock reset on macOS (#3526) 2024-06-08 21:03:52 +10:00
WailsAlert.h [mac] Improve string/memory handling, dialog icon -> []byte 2021-10-31 08:50:14 +11:00
WailsAlert.m Releasetest/release workflow (#1869) 2022-09-18 08:55:21 +10:00
WailsContext.h Fix Drag & Drop JS runtime (#3516) 2024-06-10 15:15:28 +10:00
WailsContext.m Fix Drag & Drop JS runtime (#3516) 2024-06-10 15:15:28 +10:00
WailsMenu.h [mac] Improve string/memory handling, dialog icon -> []byte 2021-10-31 08:50:14 +11:00
WailsMenu.m [v2, darwin] Add some missing default shortcuts (#2586) 2023-04-20 12:38:32 +02:00
WailsMenuItem.h [mac] menu support 2021-10-30 09:51:46 +11:00
WailsMenuItem.m Releasetest/release workflow (#1869) 2022-09-18 08:55:21 +10:00
WailsWebView.h Fix Drag & Drop JS runtime (#3516) 2024-06-10 15:15:28 +10:00
WailsWebView.m Fix Drag & Drop JS runtime (#3516) 2024-06-10 15:15:28 +10:00
window.go Fix Drag & Drop JS runtime (#3516) 2024-06-10 15:15:28 +10:00
WindowDelegate.h [mac] Fix fullscreen / start fullscreen 2021-11-23 20:06:56 +11:00
WindowDelegate.m Releasetest/release workflow (#1869) 2022-09-18 08:55:21 +10:00