5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 23:20:51 +08:00
Commit Graph

31 Commits

Author SHA1 Message Date
Lea Anthony
b16b263820
Merge branch 'feature/asset-server-runtime'
# Conflicts:
#	v3/V3 Changes.md
#	v3/examples/events/assets/index.html
#	v3/examples/events/main.go
#	v3/internal/runtime/desktop/main.js
#	v3/internal/runtime/package-lock.json
#	v3/internal/runtime/package.json
#	v3/internal/runtime/runtime_debug_desktop_darwin.js
#	v3/internal/runtime/runtime_debug_desktop_linux.js
#	v3/internal/runtime/runtime_debug_desktop_windows.js
#	v3/internal/runtime/runtime_production_desktop_darwin.js
#	v3/internal/runtime/runtime_production_desktop_linux.js
#	v3/internal/runtime/runtime_production_desktop_windows.js
#	v3/pkg/application/application.go
#	v3/pkg/application/messageprocessor.go
#	v3/pkg/application/messageprocessor_window.go
#	v3/pkg/application/options_webview_window.go
#	v3/pkg/application/webview_window.go
#	v3/pkg/application/webview_window_darwin.go
#	v3/pkg/options/application.go
2023-02-12 12:35:46 +11:00
Lea Anthony
2c4c0b4b6b
Add dnd window event + demo 2023-02-12 08:54:08 +11:00
Lea Anthony
23bfeac02a
Window event callbacks now take a WindowEventContext
Improved event example
2023-02-12 07:58:14 +11:00
Lea Anthony
a2528fd066
data-contextmenu-id -> data-contextmenu 2023-02-12 06:58:51 +11:00
Lea Anthony
9b25e639f5
Support context menus 2023-02-10 08:25:52 +11:00
Lea Anthony
23d2c9a741
Refactor main.tmpl.go -> main.go.tmpl 2023-02-09 21:14:16 +11:00
Lea Anthony
f951b51c11
Context menu WIP
options refactor
2023-02-09 18:35:26 +11:00
Lea Anthony
5dbda4aead
Feature: AssetServer Runtime (#2335)
* Tidy up runtime JS

* Initial implementation of runtime over http

* Update runtime deps. Fix test task.

* Support Clipboard.
Message Processor refactor.

* Add `Window.Screen()`
Clipboard `GetText` -> `Text`

* Support most dialogs
Better JS->Go object mapping
Implement Go->JS callback mechanism
Rename `window.runtime` -> `window.wails` to better reflect the Go API

* Support SaveFile dialog

* Remove go.work

* Tidy up

* Event->CustomEvent to prevent potential clash with native JS Event object
Support Eventing

* Support application calls

* Support logging

* Support named windows
Remove debug info

* Update v3 changes
2023-02-06 20:50:11 +11:00
Lea Anthony
cd1e3f5bb0
Update v3 changes 2023-02-06 20:45:50 +11:00
Lea Anthony
00ee79ecdc
Support named windows
Remove debug info
2023-02-06 20:43:11 +11:00
Lea Anthony
f94e798c50
Support logging 2023-02-06 20:29:33 +11:00
Lea Anthony
3bd6c34ae6
Support application calls 2023-02-04 19:49:30 +11:00
Lea Anthony
f26756be9c
Event->CustomEvent to prevent potential clash with native JS Event object
Support Eventing
2023-02-04 11:27:27 +11:00
Lea Anthony
0e8144e52f
Tidy up 2023-01-30 19:52:53 +11:00
Lea Anthony
c46c0c335c
Support SaveFile dialog 2023-01-30 19:21:49 +11:00
Lea Anthony
73b08a45de
Support most dialogs
Better JS->Go object mapping
Implement Go->JS callback mechanism
Rename `window.runtime` -> `window.wails` to better reflect the Go API
2023-01-29 21:01:54 +11:00
Lea Anthony
226572a1df
Add Window.Screen()
Clipboard `GetText` -> `Text`
2023-01-28 09:11:06 +11:00
Lea Anthony
25577b7655
Support Clipboard.
Message Processor refactor.
2023-01-28 08:59:44 +11:00
Lea Anthony
c0ec5af18a
Update runtime deps. Fix test task. 2023-01-28 08:51:34 +11:00
Lea Anthony
14b201bb65
Initial implementation of runtime over http 2023-01-27 21:05:53 +11:00
Lea Anthony
8534b32a9f
Tidy up runtime JS 2023-01-27 15:47:23 +11:00
Lea Anthony
293d730708
[v3] Updated runtime to take window id into consideration
[v3] Ported most of the window functions for JS
2023-01-26 20:43:26 +11:00
Lea Anthony
2a68fae55e
[v3] Remove 'assets.URL' 2023-01-26 20:43:26 +11:00
Lea Anthony
c34c761c5f
[v3] Fix crash when calling window.Show() before application.Run() 2023-01-26 07:34:25 +11:00
Lea Anthony
4bb7b80d62
[v3] Add wails build info 2023-01-23 21:11:19 +11:00
Lea Anthony
82287a4758
[v3] Support task flags pass through
[v3] `wails build` -> `wails task build`
2023-01-23 21:08:03 +11:00
Lea Anthony
428584d583
[v3] Add TODO 2023-01-22 16:52:26 +11:00
Lea Anthony
ee1978aa42
[v3] Initial template support (likely to change) 2023-01-22 15:39:57 +11:00
Brian Dwyer
f8c673874b
Fix memory leak on Darwin when toggling system tray icon (#2322) 2023-01-21 15:46:06 +11:00
Lea Anthony
5ef32760f0
Update task 2023-01-18 22:08:25 +11:00
Lea Anthony
81645190f0
merge exp branch 2023-01-18 21:42:49 +11:00