Travis McLane
f787cf4bc2
[v3 linux] show dev tools if OpenInspectorAtStartup=true
2023-11-06 12:04:20 -06:00
Travis McLane
1a90b45f18
add linux status for examples
2023-11-06 10:49:14 -06:00
Travis McLane
e420900e55
[v3 examples] go.* update
2023-11-06 10:41:14 -06:00
Travis McLane
7f1706fc74
[v3 examples/build] Taskfile update
...
- add Linux production build
- remove OS X env from basic build
2023-11-06 10:41:14 -06:00
Travis McLane
c6ecbd56e5
[v3 examples/bindings] correct binding output + example
...
- disable output of `import <model> from models` line
- update README to generate bindings in usable location for HTML
- update HTML to reference bindings correctly
- update javascript to call and process the bound Greet function
2023-10-31 17:24:00 -05:00
Travis McLane
1b850662ed
[v3 example/bindings] enable DevTools
2023-10-31 17:15:16 -05:00
Lea Anthony
985c5bf8e2
[darwin] Support Ignore mouse events
...
[darwin] Support applicationSupportsSecureRestorableState
Update video example
2023-10-29 20:29:45 +11:00
Lea Anthony
3b50e0cbc5
Update docs
2023-10-28 15:44:36 +11:00
Travis McLane
1a1e5b743a
[v3 linux] dbus menu icon support
2023-10-26 16:56:06 -05:00
Lea Anthony
3422c40e19
[windows] ignore mouse events
2023-10-23 20:58:55 +11:00
Lea Anthony
ff08a5ca2b
[windows] html fullscreen support
2023-10-23 20:49:21 +11:00
5aaee9
f8250fb0d8
darwin: add event ApplicationShouldHandleReopen ( #2991 )
...
* darwin: add ApplicationShouldHandleReopen
* docs: update changelog with mr id
* events: update id
* feat: always return true
* Merge v3-alpha and regenerate events
* darwin: allow pass nsdirectory to processApplicationEvent
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-10-22 21:12:12 +11:00
Lea Anthony
d1c3f8af7a
[darwin] Fix menu icon
2023-10-22 14:34:04 +11:00
Lea Anthony
36b4b3695b
Initial menu item bitmap support
2023-10-22 09:32:04 +11:00
Travis McLane
18746c7819
V3 alpha linux dbus ( #2996 )
...
* [v3 linux/systray] dbus generation
* [v3 linux] systemtray dbus implementation
* [v3] add 'id' for MenuSeparator
This is needed in order to have a unique value for all
menuItem(s) such that the Linux implementation doesn't have to
generate new identifiers.
Allowing the reuse keeps a 1-1 mapping in place without any extra effort.
* [v3 example/systray] add radio group to example
* [v3 linux] stub out ExportStatusNotifierItem callbacks
Can only seem to get the `SecondaryActivate` to fire when doing a
3-finger click! I was expecting a right-click interaction to trigger it.
2023-10-21 11:39:46 +11:00
Lea Anthony
8463c01123
[windows] Drag-n-drop support
2023-10-21 11:21:10 +11:00
Lea Anthony
8e0671306a
Mac examples + readme updated
2023-10-17 20:25:36 +11:00
Lea Anthony
131a6da554
Fix resize on windows
2023-10-16 19:29:42 +11:00
Lea Anthony
7795a2a46f
Fix modifier processing on windows.
...
Move info logs to debug.
2023-10-15 13:53:31 +11:00
Lea Anthony
3a23ad1382
Fix example building. Update workflow
2023-10-15 10:43:39 +11:00
Lea Anthony
0577fefd75
Remove Browser plugin. Update plugin example
2023-10-12 08:41:18 +11:00
Lea Anthony
e6de878395
Move server plugin to experimental dir
2023-10-11 20:25:56 +11:00
Lea Anthony
4c75b288bb
Add BrowserOpenURL and BrowserOpenFile to App.
...
Better WML assets for demo
Fix dialog responses.
Add `wml-openurl`
Rename: data-wml -> wml
Fix Alpha Feedback URL
2023-10-11 20:23:59 +11:00
Lea Anthony
3d88bf8795
Fix context menu issues.
...
Fix WindowID for requests on windows.
Add `Windows.ApplicationStarted` event
2023-10-10 21:48:47 +11:00
Lea Anthony
740b2b0979
Fix windows icon for about box.
...
Add NewRGBA and NewRGB methods.
Added README.md to all examples.
Add roadmap.md to docs
2023-10-09 20:56:19 +11:00
Lea Anthony
2b843fc12e
Update contextmenus/dev example
2023-10-09 17:38:46 +11:00
Lea Anthony
473cf1cae3
Update window example
2023-10-09 17:38:22 +11:00
Lea Anthony
65d4266400
Update systray example
2023-10-09 17:38:11 +11:00
Lea Anthony
8d5b86fff7
Update dialogs example
2023-10-09 17:38:03 +11:00
Lea Anthony
92843c8237
Update clipboard example
2023-10-09 17:37:50 +11:00
Lea Anthony
13b588b555
Update build example
2023-10-09 17:37:40 +11:00
Lea Anthony
839a9ff498
Update bindings example
2023-10-09 17:37:21 +11:00
Lea Anthony
9ffc06d42e
Update Task to v3.31.0. Update deps.
2023-10-09 10:39:09 +11:00
Travis McLane
ccccea1e50
[v3] go mod tidy
2023-10-06 15:03:36 -05:00
Lea Anthony
ce6d587771
Fix multiple window weirdness. Update deps
2023-10-05 20:54:12 +11:00
Lea Anthony
2524f7b5a0
Remove old KitchenSink example
2023-09-30 21:09:10 +10:00
Travis McLane
74e2a7e225
[v3 examples] add server plugin to 'plugins' example
2023-09-28 12:14:54 -05:00
Travis McLane
ff2c92451d
[v3] go.* update
2023-09-28 12:14:54 -05:00
Travis McLane
2a83402d4a
[v3 example/server] initial implementation
2023-09-28 12:14:54 -05:00
Lea Anthony
fb820bcdad
Add some more API docs. Small refactors.
2023-09-24 17:23:24 +10:00
Lea Anthony
7cdab16ba9
Add API docs. Do small refactors
2023-09-24 08:57:40 +10:00
Lea Anthony
fe48b9d03d
[windows] Add systray.OpenMenu
2023-09-21 19:14:44 +10:00
Lea Anthony
af8ee6703e
[darwin] Support keybindings
2023-09-20 21:34:50 +10:00
Lea Anthony
793191a479
Initial key binding support
2023-09-17 20:48:30 +10:00
Lea Anthony
86354e9fc0
Support IsDarkMode in application event context. Fix bug with event mapping.
2023-09-15 20:10:09 +10:00
Lea Anthony
b49f135e31
Add context to application/common events
2023-09-15 17:12:35 +10:00
Lea Anthony
ea3509d2e7
Add LogLevel
application option. Update log plugin to have log levels.
2023-09-13 09:44:37 +10:00
Lea Anthony
00feccbb77
Add MACOSX_DEPLOYMENT_TARGET to taskfiles
2023-09-08 11:23:38 +10:00
Lea Anthony
8eb62fb483
Update bindings example
2023-09-04 21:01:00 +10:00
Lea Anthony
4a62b6a5c7
Support Mac in wails doctor
2023-09-03 10:30:31 +10:00
Lea Anthony
cecbc156d5
Update deps
2023-09-01 20:14:06 +10:00
Lea Anthony
5e1f29eda3
[v3] Support //wails:methodID <uint32>
directive in bound method comments.
2023-08-27 21:16:30 +10:00
Lea Anthony
e5571defb7
[v3] Support bound methodID aliases. Support []any
for bindings generation. Use CallByID
in bindings.
2023-08-27 20:39:35 +10:00
Lea Anthony
125d8a6f78
[v3] Update Task to v3.29.1.
2023-08-27 17:14:36 +10:00
Travis McLane
2f9f63771b
[v3 examples] add README
2023-08-25 09:39:24 -05:00
Lea Anthony
93335b3843
[v3] Support ANSI label on Mac. Update example.
2023-08-25 06:53:08 +10:00
Lea Anthony
2a51ddadfc
[v3] Tidy up plugin init
2023-08-19 17:09:38 +10:00
Lea Anthony
0745aea4d6
[v3] Move to integer call ids for bound methods.
2023-08-19 14:25:36 +10:00
Lea Anthony
ffed41553a
[v3 mac] Add IsDarkMode
to application and JS runtime. Add Common.ThemeChanged
event
2023-08-18 17:36:14 +10:00
Lea Anthony
77ca8fe9e6
Move webview2 options to application. Improve logging.
2023-08-18 11:06:25 +10:00
Lea Anthony
25e58edf28
[v3] Add dev example
2023-08-18 10:51:02 +10:00
Lea Anthony
946a4c56a0
[v3 mac] Better logging
2023-08-18 09:58:43 +10:00
Lea Anthony
7d678154c6
Example prod/debug options
2023-08-15 21:40:50 +10:00
Lea Anthony
e79c1b7ea3
Merge remote-tracking branch 'origin/v3-alpha' into v3-alpha
2023-08-13 20:43:07 +10:00
Lea Anthony
ee29faecbf
Log if native Go webview loader is used
2023-08-12 16:36:08 +10:00
Lea Anthony
15f602f867
Move v2 assetserver to v3
2023-08-12 14:16:53 +10:00
Lea Anthony
39af86e59d
Improve project creation.
...
Add `template.json` to templates.
Update dependencies.
2023-08-09 21:30:06 +10:00
Lea Anthony
ecf970d6fe
[v3 mac] ANSI systray label [WIP]
2023-08-05 14:04:49 +10:00
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