45b2681dfc
[v3] Fix binding generator output and import paths ( #3334 )
...
* Fix relative import path computation
* Fix models output path
* Add option to generate bindings using bundled runtime
* Update binding example
* Fix testdata
* Update changelog
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2024-03-22 21:18:04 +11:00
2b9891da2c
[v3] Update and fix runtime JS API ( #3295 )
...
* Cleanup bundled runtime entry point
* Fix JS representation of Screen struct
* Expose IsFocused method in Window interface
* Update JS window API
* Fix cleanup of WML listeners
* Bundle runtime as ES module
* Update runtime dependencies
* Update runtime types and events
* Update bundled runtime
* Update changelog
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2024-03-20 20:30:14 +11:00
Lea Anthony
b325381ca0
Normalise app/webview options
...
Update deps
2024-03-17 20:57:46 +11:00
Lea Anthony
bc0a9b2e52
Add BundledAssetFileServer for bundled /wails/runtime.js. Update examples.
2024-03-17 15:08:30 +11:00
Lea Anthony and Travis McLane
161444107a
Support linux systrays, of sorts...
2024-03-06 16:59:13 -06:00
stffabi
bfe9a9d015
[runtime] Add cancelation of bound method calls and context passing
2024-03-04 10:34:14 +01:00
stffabi
65251cdafa
[v3, assetServer] Remove fs.FS from options and always use a http.Handler
2024-02-16 07:38:27 +01:00
stffabi
b37d0f1cf4
[windows] Improved focus handling
...
Make sure the webview is focused on initial show if the window
is focused and make behaviour consistent with macOS
2023-12-30 23:34:53 +01:00
Lea Anthony
371e57588f
Update bindings example
2023-12-16 20:57:00 +11: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
d1c3f8af7a
[darwin] Fix menu icon
2023-10-22 14:34:04 +11:00
Lea Anthony
8e0671306a
Mac examples + readme updated
2023-10-17 20:25:36 +11:00
Lea Anthony
3a23ad1382
Fix example building. Update workflow
2023-10-15 10:43:39 +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
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
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