Lea Anthony
c9ce17a4d5
[v3] Fix Assets options in templates
2023-07-21 08:24:38 +10:00
Lea Anthony
52c3c49f25
[v3] Add window close hook example
2023-07-12 21:27:58 +10:00
Lea Anthony
705239ad7d
[v3] Use WindowEvent
rather than WindowEventContext
2023-07-12 20:50:01 +10:00
Lea Anthony
dc865404a9
[v3] Initial hooks implementation
2023-07-12 20:31:13 +10:00
Lea Anthony
ba7ab2e607
[v3 windows] Fix translucency. Update example.
2023-07-11 23:04:22 +10:00
Lea Anthony
d6cfe4414d
[v3 Windows] Add WebviewWindow.Flash()
2023-07-11 20:10:18 +10:00
Lea Anthony
e7e5597c95
[v3 mac] Fix right click. Slight refactor.
2023-07-10 20:44:30 +10:00
Lea Anthony
7f0479d8b4
[v3 mac] Fix right click menu when window attached.
2023-07-10 20:21:19 +10:00
Lea Anthony
f5c78f365d
[v3] Fix oauth bug. Added logout capability
2023-07-09 20:13:29 +10:00
Lea Anthony
3f55ce6dfc
[v3] Add provider methods, provide default login window, update readme for oauth
plugin
2023-07-09 12:30:36 +10:00
Lea Anthony
1d562d3c27
[v3] Add oauth
plugin
2023-07-08 22:56:25 +10:00
Lea Anthony
7db6604227
[v3 windows] Add HideOnTaskbar
flag to WebviewWindow
2023-07-08 11:27:36 +10:00
Lea Anthony
12ce6c5ac3
[v3] Add systray.AttachWindow
2023-07-06 20:43:08 +10:00
Lea Anthony
5d9bc4ca81
[v3 mac] Fix systray example toggle
2023-07-05 21:09:48 +10:00
Lea Anthony
f0bf8cd827
[v3 windows] Refactor events + mappings. Fix app.Quit(). Make systray example work slightly better
2023-07-05 20:35:45 +10:00
Lea Anthony
3d323ab9d2
[v3] Fix systray example. PositionWindow now takes an offset. EventApplicationDidResignActive
-> EventApplicationDidResignActiveNotification
2023-07-04 19:26:00 +10:00
Lea Anthony
16ce9e562f
[v3 mac] Window alignment to systray
2023-07-03 20:15:45 +10:00
Mohamed Gharib
da5929ff34
[v3] Fix examples background color ( #2750 )
2023-07-01 10:55:10 +10:00
Mohamed Gharib
e419822c77
[v3] Fix default context-menu in selected disabled inputs ( #2753 )
...
* [v3] Fix default context-menu in selected disabled inputs
* [v3] Update Task to v3.27.1. Add `wails3 task -version` and `wails3 task taskfile:update`.
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-07-01 10:52:55 +10:00
Lea Anthony
3c81fb06e8
[v3 windows] Position window above systray
2023-06-30 21:17:50 +10:00
Lea Anthony
c27366a270
[v3] rename cli to wails3
2023-06-29 18:26:04 +10:00
Lea Anthony
03a3edcdc9
[v3] Create experimental plugin directory
2023-06-26 08:39:02 +10:00
Lea Anthony
b898b79aaf
[v3 windows] Initial support for start_on_login plugin for windows
2023-06-24 21:12:24 +10:00
Lea Anthony
3827ca2d78
[v3] Move dialogs out of application
2023-06-24 13:57:51 +10:00
Travis McLane
de2e78b507
[v3 linux] purego implementation
2023-06-23 21:50:51 -05:00
Lea Anthony
c96cccab2e
[v3] Add Window AbsolutePosition/SetAbsolutePosition
2023-06-23 21:14:26 +10:00
Lea Anthony
45cfbe917e
[v3] Position/GetPosition -> RelativePosition/GetRelativePosition
2023-06-23 20:49:27 +10:00
Lea Anthony
722c3a653c
[v3] Allow message dialogs to be attached to windows. JS dialogs default attached. wml confirm dialog attached.
2023-06-23 20:19:29 +10:00
Lea Anthony
76672facfe
[v3] Add window Enabled
method. Fix dialog attachment
2023-06-23 19:48:04 +10:00
Lea Anthony
29b9c5200f
[v3] Update context menu example. Allow menu for disabled/read only iputs
2023-06-21 20:21:10 +10:00
Lea Anthony
59c09ebee1
[v3] Better default context menu. Started dev guide.
2023-06-21 19:21:41 +10:00
Lea Anthony
5f81a87912
[v3] Add smart context menu example
2023-06-20 21:35:41 +10:00
Lea Anthony
7f6151d573
[v3] Enable default context menu for certain elements. Use CSS to customise.
2023-06-20 21:11:37 +10:00
Lea Anthony
9816960995
[v3] Support "--default-contextmenu" style. Fix URL handling in Windows.
2023-06-20 19:44:01 +10:00
Lea Anthony
ed27558011
[v3 windows] Add WebviewWindow.Print()
2023-06-18 17:13:07 +10:00
Lea Anthony
9b48cc1799
[v3 mac] Fix window drag example
2023-06-18 12:12:01 +10:00
Lea Anthony
1537a002cc
[v3] Add ShouldClose
window method. Remove hideOnClose
flag.
2023-06-18 11:12:53 +10:00
Lea Anthony
c03078ca16
[v3] Add capabilities, move to app-region
css for drag, support native drag on Windows
2023-06-14 18:12:37 +10:00
Lea Anthony
1dbe100a43
[v3] Restore window example
2023-06-12 10:45:26 +10:00
Lea Anthony
287d3d066c
[v3] Update WML demo to include restore
2023-06-12 10:45:03 +10:00
Lea Anthony
7535f098bd
[v3 windows] Fix clipboard example
2023-06-11 11:57:47 +10:00
Lea Anthony
b517461fbe
[v3 windows] Fix screen example
2023-06-11 11:54:32 +10:00
Lea Anthony
adb7ddf8d2
[v3] Update go mod for plugins examples
2023-06-06 21:07:28 +10:00
Lea Anthony
4ee75e93c9
[v3] Improve examples
2023-06-06 20:41:28 +10:00
Lea Anthony
1ce07cd67c
[v3 windows] Update Taskfile in templates
2023-06-06 20:37:15 +10:00
Lea Anthony
fc7952ff3b
[v3 windows] Update examples. Add example table to STATUS.md
2023-06-05 20:34:52 +10:00
Lea Anthony
04d5842124
[v3 windows] Add package:windows task
2023-06-05 19:57:40 +10:00
Lea Anthony
9b686b5417
[v3 windows] Support Application Menu, hiding menu items
2023-06-01 22:52:04 +10:00
Lea Anthony
7e2d2a29a1
[v3 windows] Initial webview2 working
2023-05-30 16:33:34 +08:00
Lea Anthony
dc46154d94
[v3 mac] Support drag
2023-05-30 16:33:33 +08:00
Lea Anthony
87737c23eb
[v3 mac] DisableWindowShadow -> DisableShadow
2023-05-30 16:33:33 +08:00
Lea Anthony
6e6f099a99
[v3 mac] Basic common event support. Taskfile refactor
2023-05-30 16:33:32 +08:00
Lea Anthony
6a2343a1a0
[v3 mac] Add DisableWindowShadow
option
2023-05-30 16:32:01 +08:00
Lea Anthony
f2d6dba2cf
[v3 windows] initial dialog support. Refactor button callback name
2023-05-30 16:32:01 +08:00
Travis McLane
fa74986f1e
[v3 example] menu text toggle
2023-05-30 16:32:00 +08:00
Travis McLane
d1085b5bea
[v3 example] add menuitem.Hidden / setHidden example
2023-05-30 16:31:59 +08:00
Lea Anthony
a5b52f2795
[v3 windows] initial systray support
2023-05-30 16:31:58 +08:00
Lea Anthony
b526ebd679
[v3 mac] Update api. New template icon.
2023-05-30 16:31:58 +08:00
Lea Anthony
9b7626e59e
[v3 windows] Move icons to own package, systray dark mode icon, window.Focus()
,
2023-05-30 16:31:57 +08:00
Lea Anthony
6dd092c7a9
[v3 windows] Rename systray callback handlers
2023-05-30 16:31:57 +08:00
Lea Anthony
0b3559abfe
[v3] Fix examples
2023-05-30 16:31:51 +08:00
Lea Anthony
773389ee5e
[v3] Update examples to use correct options.
2023-05-30 16:31:51 +08:00
stffabi
4a60dfc373
[v3, windows] Add MainThread dispatching and fixes the blocking window
2023-05-30 16:31:47 +08:00
stffabi
c8d203d4d6
[v3, darwin] Fix leaking WebKit processes on Window close ( #2574 )
...
* [v3, darwin] Fix leaking WebKit processes on Window close
* [v3] Remove window from window map if closed
[v3] Implement `HideOnClose` and ensure it isn't removed when closed
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-04-12 21:33:00 +10:00
Travis McLane
a7bf359930
update wml events to be parseable ( #2561 )
...
* update wml events to be parseable
* [v3] Rename `CustomEvent` to `WailsEvent` to prevent clashing with the standard JS `CustomEvent` object
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-04-11 18:28:06 +10:00
Lea Anthony
424e4fc2e8
[v3] Add ability to get window by name
2023-04-07 19:47:01 +10:00
Lea Anthony
755e869fe7
[v3] Add start_at_login plugin
...
[v3] Fix plugin startup/shutdown order
2023-04-05 21:22:02 +10:00
Lea Anthony
3404250ac8
[v3] Add single_instance plugin
2023-04-01 20:36:55 +11:00
Lea Anthony
365aaf6bb1
Add sqlite plugin
2023-03-25 09:39:59 +11:00
Lea Anthony
5949e305ea
Reorder startup sequence
...
Add plugin scripts to asset server
Add InjectJS support in plugins
2023-03-24 08:43:00 +11:00
Lea Anthony
d5808fde59
Simple logging plugin
2023-03-22 20:56:45 +11:00
Lea Anthony
3ae604e474
Exported() -> CallableByJS()
2023-03-22 20:42:20 +11:00
Lea Anthony
4165caa02e
Add Exported() []string
to plugin API
2023-03-21 08:55:55 +11:00
Lea Anthony
ba82f27534
Fix Bug with nil parameters.
...
Added browser and kvstore plugins.
2023-03-20 20:28:33 +11:00
Lea Anthony
13f620ae54
Add plugin init. Update plugin signature.
2023-03-19 09:13:05 +11:00
Lea Anthony
c774af48b7
Extend call subsystem to support plugins
2023-03-18 09:12:44 +11:00
Lea Anthony
4300521064
Initial implementation
2023-03-18 08:11:36 +11:00
stffabi
0e614b0194
[v3] Centralize the AssetServer and move it to the application
2023-03-16 06:49:45 +01:00
dependabot[bot]
e3816e714e
Bump golang.org/x/net in /v3/examples/binding ( #2472 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.0.0-20220722155237-a158d28d115b to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/commits/v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-09 20:07:11 +11:00
Lea Anthony
26530a0f5a
Fix reserve word check.
...
Add model generation.
Warn if field is unexported in the Go struct
2023-03-07 19:48:30 +11:00
Lea Anthony
7340247e25
Create bindings file per package
...
Improved bindings tests
2023-03-07 18:22:33 +11:00
Lea Anthony
868b769e7f
Initial bindings generation
2023-03-01 21:31:29 +11:00
Lea Anthony
443ea46d1d
Example bindings
2023-02-27 20:05:54 +11:00
Lea Anthony
00c458f948
Implement basic binding
2023-02-26 20:49:29 +11:00
Lea Anthony
f9ffe915f2
Add bindings hook
2023-02-26 15:06:05 +11:00
Lea Anthony
6bfd654ec8
Tidy up. More tests.
2023-02-21 17:10:36 +11:00
Lea Anthony
93aa8345dc
[v3] Improved parser for bound structs
2023-02-17 21:01:16 +11:00
Lea Anthony
e1279a054f
[v3] Improved parser for bound structs
2023-02-17 20:57:31 +11:00
Lea Anthony
bd184cab85
[v3] Improve plain example
2023-02-16 20:28:24 +11:00
Lea Anthony
af5e383905
Add wml demo
2023-02-16 20:16:20 +11:00
Lea Anthony
0881914244
Support data-wml-trigger
attribute
2023-02-16 20:15:06 +11:00
Lea Anthony
c415c1b321
Added Wails ML experiment
...
added Window.Close to js runtime
2023-02-15 20:58:57 +11:00
Lea Anthony
a5e10557c5
Support Screens API
2023-02-15 18:56:52 +11:00
Lea Anthony
045a830fbc
Add "DragAndDropEnabled" option for window
...
Add "FileDraggingExited" event
2023-02-15 18:56:52 +11:00
Lea Anthony
d86e11cef1
Fix bad merge
2023-02-12 13:36:58 +11:00
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