5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 06:20:48 +08:00
wails/v2/internal
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
..
app Add support for interface generation and enums (#3047) 2023-11-26 06:50:49 +11:00
binding Bindingings for empty go structs (#3489) 2024-05-18 07:39:27 +10:00
colour feature/turn off color terminal output of dev command (#1947) 2022-10-20 21:11:20 +11:00
frontend Fix Drag & Drop JS runtime (#3516) 2024-06-10 15:15:28 +10:00
fs [chore] lint fixes 2023-11-12 12:30:49 +11:00
github [chore] lint fixes 2023-11-12 12:30:49 +11:00
go-common-file-dialog [chore] lint fixes 2023-11-12 12:30:49 +11:00
gomod [chore] lint fixes 2023-11-12 12:30:49 +11:00
goversion update go minimum version (#3285) 2024-03-24 17:00:11 +11:00
logger [chore] lint fixes 2023-11-12 12:30:49 +11:00
menumanager [chore] lint fixes 2023-11-12 12:30:49 +11:00
platform Remove all systray related for v2. (#2329) 2023-01-26 18:11:31 +11:00
process [chore] lint fixes 2023-11-12 12:30:49 +11:00
project chore: fix some comments (#3399) 2024-04-17 18:42:53 +10:00
s fix: close copy dst file (#3384) 2024-04-09 17:34:43 -05:00
shell [chore] lint fixes 2023-11-12 12:30:49 +11:00
signal [chore] lint fixes 2023-11-12 12:30:49 +11:00
staticanalysis Fixed an issue where go:embed directives would generate illegal directories (#3445) 2024-05-02 21:40:38 +10:00
system [chore] lint fixes 2023-11-12 12:30:49 +11:00
typescriptify Bindingings for empty go structs (#3489) 2024-05-18 07:39:27 +10:00
webview2runtime [chore] lint fixes 2023-11-12 12:30:49 +11:00
wv2installer [chore] Use webview2 package (#2687) 2023-06-10 17:04:31 +10:00