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
Lea Anthony
21790dc3ee
[v3] Add CallByID
method to runtime.
2023-08-27 16:59:18 +10:00
Lea Anthony
cdf48e0589
[v3] Fix bindings
2023-08-27 15:54:01 +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
Travis McLane
f50c8f447e
[v3 assetserver] cleanup logging
...
- remove type assertions
- update contentTypeSniffer to capture the status code
- move logic in ServeHTTP to serveHTTP
- wrap serveHTTP with ServeHTTP adding logging & duration calculation
2023-08-24 12:44:13 -05:00
Travis McLane
bd9f7deb98
[v3 linux] correct minimum zoom
2023-08-23 14:10:22 -05:00
Travis McLane
2171192934
[v3 linux] noop: remove println
2023-08-23 14:09:44 -05:00
Lea Anthony
3352ebef6e
[v3] Tidy up logging
2023-08-19 17:15:15 +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
Travis McLane
4804b34208
[v3 linux] api changes ( #2830 )
2023-08-19 06:12:34 +10:00
Lea Anthony
841289f1d1
[v3 windows] Support isDarkMode
. Add common application event mapping
2023-08-18 19:50:57 +10:00
Lea Anthony
c367ef461e
[v3 windows] Support isDarkMode
2023-08-18 19:45:59 +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
79deb37675
Fix return code in logging
2023-08-18 11:15:02 +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
0f2d19c56e
Merge remote-tracking branch 'origin/v3-alpha' into v3-alpha
...
# Conflicts:
# v3/internal/operatingsystem/os.go
# v3/internal/operatingsystem/os_darwin.go
2023-08-18 10:36:01 +10:00
Lea Anthony
8bde3d7522
[v3 mac] Improved operating system detection
2023-08-18 10:34:32 +10:00
Lea Anthony
c169d26d95
[v3] Port operating system detection
2023-08-18 10:24:45 +10:00
Lea Anthony
946a4c56a0
[v3 mac] Better logging
2023-08-18 09:58:43 +10:00
Lea Anthony
23e87e0ad7
Add dev tasks to Taskfile template
2023-08-15 21:48:04 +10:00
Lea Anthony
7d678154c6
Example prod/debug options
2023-08-15 21:40:50 +10:00
Lea Anthony
0b9fec3f87
Add checkport tool for checking open ports
2023-08-15 21:40:01 +10:00
Lea Anthony
763c7708f4
Fix HMR. Better logging.
2023-08-15 20:19:02 +10:00
Lea Anthony
5f2c1f4534
Remove optional prod options - use build tags instead
2023-08-15 20:19:02 +10:00
Lea Anthony
3ac557ccb1
[v3] plugin.toml
-> plugin.yaml
2023-08-15 06:39:55 +10:00
Lea Anthony
e6c691a376
Support external asset server
2023-08-14 20:49:09 +10:00
Lea Anthony
ee8eb001c2
Merge branch 'master' into v3-alpha
...
# Conflicts:
# v2/internal/frontend/desktop/windows/go-webview2/webviewloader/env_create.go
2023-08-14 18:08:52 +10:00
Lea Anthony
db836b7a48
Move assetserver to internal
2023-08-14 08:31:55 +10:00
Lea Anthony
543b18dd54
Revert v3 changes in v2 asset server
2023-08-14 08:28:32 +10:00
Lea Anthony
ec0731d5d8
Use slog.Logged in assethandler_external.go. Refactor runtime handler.
2023-08-14 08:28:31 +10:00
Lea Anthony
cc5c7d1d29
Log git hash if using replaced module
2023-08-14 08:28:25 +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
6cbead5bfe
Improved logging++
2023-08-13 16:52:39 +10:00
Lea Anthony
429bb2bf17
Refactor application creation. Remove internal logger package.
2023-08-13 15:28:30 +10:00
Lea Anthony
c03c41cb21
Add version command
2023-08-13 15:13:01 +10:00
Lea Anthony
ee29faecbf
Log if native Go webview loader is used
2023-08-12 16:36:08 +10:00
Lea Anthony
d1d0105276
Remove jsonBindings option. Only add ipc in debug mode.
2023-08-12 14:57:01 +10:00
Lea Anthony
1059e36b52
Run go mod tidy
on project creation. Use better method of relative module location.
2023-08-12 14:32:52 +10:00
Lea Anthony
15f602f867
Move v2 assetserver to v3
2023-08-12 14:16:53 +10:00
github-actions[bot]
7fae22b50c
chore: update sponsors.svg ( #2819 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-08-12 13:07:09 +10:00
Lea Anthony
13be4a333f
Move to slog logger for application and log plugin
2023-08-10 22:04:13 +10:00
Lea Anthony
2553fa1f74
Update templates to use Go 1.21
2023-08-10 21:32:18 +10:00
Lea Anthony
f0f5011484
Remove log from runtime (there's a plugin for that)
2023-08-10 21:29:42 +10:00
Lea Anthony
5671f3527b
Add ProductionOverrides
option so any option can be overridden in production builds
2023-08-10 20:42:25 +10:00
Lea Anthony
adb26fa99f
Add Hook doc
2023-08-10 19:57:12 +10:00
Kin NG
7b098fd522
Docs: add spanish readme translation ( #2812 )
...
* spanish readme translation
add spanish to readme
remove line
* change Spanish to Español
* Add links to README.es.md to the other language translations
2023-08-10 07:52:29 +10:00