Lea Anthony
5c0f1e409d
Fix crowdin client code
2022-12-29 12:34:43 +11:00
Oleg Gulevskyy
fff0fd4d07
Website / Documentation - Slack to Discord ( #2200 )
...
* change slack to discord in footer
* change Slack to Discord in community guideline
2022-12-29 11:54:18 +11:00
Oleg Gulevskyy
d11b459486
refactor crowdin init to not throw without key ( #2231 )
2022-12-29 10:51:49 +11:00
Adam Tenderholt
52f872b65c
[binding] TS returns Promise<void> when go returns error ( #2247 )
2022-12-28 22:32:29 +11:00
github-actions[bot]
0474a9e89a
chore: update sponsors.svg ( #2236 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-12-26 16:00:25 +11:00
stffabi
2345d3b3c2
[assetHandler] Add request path checks ( #2235 )
2022-12-24 18:45:07 +11:00
stffabi
a312c0ffcb
[darwin] Add support for Request/Response streaming ( #2219 )
2022-12-20 13:44:33 +01:00
Vadim Shchepotev
e2f1429c67
Fix issue with anonymous structures ( #2186 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-12-20 22:54:11 +11:00
NullCode
04e92a813b
Update libwebkit package name for Fedora ( #2218 )
...
* Update libwebkit package name for Fedora
Fixes issue with `wails doctor` not detecting updated version of libwebkit on Fedora
* Keep existing libwebkit package
...for backwards compatibility
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-12-20 22:53:36 +11:00
Lea Anthony
d588c7a4d2
Bugfix/sync go mod ( #2222 )
...
* Add nosyncgomod flag
* Fix tests on unix
* Fix tests on unix
2022-12-20 22:15:36 +11:00
Lea Anthony
8067a1cedb
Add nosyncgomod flag ( #2215 )
...
* Add nosyncgomod flag
* Fix tests on unix
2022-12-20 22:08:02 +11:00
stffabi
7d61971f86
[darwin] Add support for file input selection ( #2209 )
...
This will show a message on the console
"+[CATransaction synchronize] called within transaction"
but there's seem no way to mitigate that. Still everything
works as expected.
2022-12-15 11:18:13 +01:00
github-actions[bot]
aa5875e8ca
chore: update sponsors.svg ( #2207 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-12-15 20:57:34 +11:00
Oleg Gulevskyy
6b110c83e9
basic check if a specific commit is in use ( #2107 )
2022-12-14 23:06:37 +11:00
stffabi
006b0c65b4
[webview2loader] Add missing windows build constraint ( #2201 )
2022-12-13 13:51:01 +01:00
stffabi
55ca6c0bf3
[dev] Remove redundant steps that are also executed during build.Build ( #2196 )
...
* Remove redundant generation of bindings
* Remove redundant CreateEmbedDirectories
2022-12-13 13:44:00 +01:00
stffabi
4aab1e6b93
[webview2loader] Promote go loader from experimental to stable ( #2199 )
...
Default webview2loader is now the go loader
2022-12-13 23:27:50 +11:00
Lea Anthony
e57bfe002a
Fix right mouse button event ( #2190 )
2022-12-13 07:09:45 +11:00
Matt Holt
38ffbb3161
Trim spaces around version ( #2197 )
...
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-12-12 20:40:02 +01:00
stffabi
eb2d929824
[bindings] Pass ts_generation flags as env variable ( #2194 )
...
Otherwise this will clash if an app also uses flags internally
2022-12-11 07:38:06 +11:00
Vadim Shchepotev
7a22e0f885
Add dummy systray_mac to fix unit tests ( #2187 )
2022-12-10 19:57:11 +01:00
tk
3f077d9bdb
Update templates.mdx ( #2184 )
...
Add wails-template-naive
2022-12-07 18:50:22 +11:00
Lea Anthony
b84a2e5255
Windows tray menus ( #2181 )
...
* Add example
* Add windows systray
* Add gitkeep
* use windows.GUID
2022-12-06 20:55:56 +11:00
dependabot[bot]
0581ad03b1
Bump minimatch from 3.0.4 to 3.1.2 in /runtime/js ( #2164 )
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases )
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-12-06 08:29:08 +11:00
dependabot[bot]
81aa376b09
Bump decode-uri-component from 0.2.0 to 0.2.2 in /runtime/js ( #2179 )
...
* Bump decode-uri-component from 0.2.0 to 0.2.2 in /runtime/js
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update build-and-test.yml
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-12-06 08:28:36 +11:00
Travis McLane
d2339de5ff
chore: remove unreachable code ( #2182 )
...
pkg/menu/styledlabel.go:255:2: unreachable code
2022-12-06 08:27:48 +11:00
Misite Bao
f70d9de366
fix: fix go test errors ( #2169 )
...
* fix: fix go test errors
* Add flags to mac test
* Run on all branches
* Update PR workflow
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-12-06 06:45:06 +11:00
github-actions[bot]
606ce3de1d
chore: update sponsors.svg ( #2180 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-12-04 14:05:37 +11:00
Lea Anthony
76f68aa392
Update sponsor-image workflow
2022-12-04 14:03:43 +11:00
Misite Bao
6d6e74e7f0
chore: fix-generate-sponsor ( #2177 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-12-04 13:58:08 +11:00
Lea Anthony
51b3488eac
Update build-and-test.yml
2022-12-04 13:26:58 +11:00
希嘉嘉
026bb7c02c
Added templates ( #2178 )
...
* Added templates
vite + solid + js
vite + solid + ts
* Update templates.mdx
Co-authored-by: Misite Bao <i@misitebao.com >
2022-12-04 09:30:28 +11:00
github-actions[bot]
5262153fa8
docs: sync documents ( #2170 )
...
Co-authored-by: misitebao <misitebao@users.noreply.github.com >
2022-12-03 22:32:08 +11:00
Fredrik Holmqvist
53f63f71a0
examples/customlayout: feature: add event listener for enter key ( #2176 )
2022-12-03 10:16:46 +11:00
Lea Anthony
dc209d1462
Fix build and test pipeline
2022-12-02 07:52:13 +11:00
Misite Bao
c1c1b8b8e6
chore: update-workflows ( #2154 )
...
* chore: merge test workflow
* chore: simplify sponsors image generation workflow
* chore: merge PR check workflow
* chore: merge push workflow
* chore: add auto sync translation document workflow
* chore: remove PR branch name check job
* chore: update go test job
2022-12-02 07:05:22 +11:00
stffabi
5cc012d763
[darwin] Inspector tools should also be included into a debug build ( #2162 )
2022-12-01 09:20:18 +01:00
Misite Bao
bd66451dd9
docs: fix and sync documents ( #2140 )
2022-12-01 19:18:59 +11:00
Lea Anthony
ea6aee91f1
Refactored build command ( #2123 )
...
* Refactored build command
* Update v2/cmd/wails/build.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
* WIP
* Refactor `wails doctor`
* Refactor `wails dev`
* Refactor `wails dev`
* Fix merge conflict
* Fix test
* Update build_and_test.yml
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-12-01 18:18:02 +11:00
github-actions[bot]
9d53db4281
chore: update sponsors.svg ( #2150 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-12-01 12:27:11 +11:00
stffabi
5418b879c4
[linux] Add support for WebKit2GTK 2.36+ features ( #2151 )
2022-11-30 11:04:12 +01:00
Lea Anthony
7f8952ebe5
Fix signal handler ( #2152 )
...
* Fix signal handler
* Update changelog
2022-11-30 20:37:55 +11:00
Aman
ac1e150315
Initial Mac App Store Guide ( #2142 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-11-29 20:03:45 +11:00
stffabi
3fb9169196
Fix compile error ( #2147 )
2022-11-29 20:01:42 +11:00
stffabi
993f87af97
[assetserver] Add support for serving the index.html file when requesting a directory ( #2110 )
...
* [assets] Improve error message if no `index.html` could be found in the assets
* [assetoptions] Valide options that at least one property has been set
* [assetserver] Move defaultHTML handling for 404 from assethandler to assetserver
* [assetserver] Add support for serving the index.html file when requesting a directory
* [docs] Update changelog
2022-11-29 09:29:08 +01:00
Misite Bao
15b7d291f3
fix(cli): fix install error ( #2146 )
...
Fixed: https://github.com/wailsapp/wails/issues/2145
2022-11-29 19:26:49 +11:00
Misite Bao
73caeb9793
docs: fix and sync documents ( #2135 )
...
* docs: standardize JavaScript and TypeScript name writing
* docs: sync translated documents
* docs: fix broken link
* docs: sync translated documents
2022-11-28 20:13:22 +11:00
github-actions[bot]
6d975b965b
chore: update sponsors.svg ( #2131 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-11-28 12:55:39 +11:00
Lea Anthony
6cd5edcc4d
More clarity around bug reports
2022-11-25 14:50:05 +11:00
Lea Anthony
3e8ae9835b
Small update to Mac troubleshooting guide
2022-11-24 21:38:16 +11:00
Oleg Gulevskyy
ca8a1fab36
Ability to define prefix / suffix for TS module ( #2101 )
...
* add tspostfix and tsprefix flags + organise under struct
* postifx -> suffix
* tsPrefix options on bindings struct
* pass prefix and suffix to the executable
* add support for CLI flags for generating module
* method to set TSpref/suff to bindings
* use passed ts prefix for typescriptify
* add brief Readme udpate to include new flags
* create reusable common flags
* use common flags instead of hardcoded text
* support tsprefix & suffix for dev
* add tsPrefix & tsSuffix for build cmd
* take pref & suff in account when gen d.ts
* export colorsful log functions into utils for reuse
* detect and warn the user about usage of reserved keyword
* fmt
* add TrimSpace on fn input
* refactor utils -> logutils
* add bindings -> ts_generation options to wailsjson parse
* use wailsjson for ts generation
* update warning message + extract to func
* remove suff/pref info from readme
* update json schema
* add tests for prefix and suffix case
* rename suffix method
* Update v2/internal/typescriptify/typescriptify.go
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
* Update website/static/schemas/config.v2.json
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
* Update website/static/schemas/config.v2.json
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
* update changelog
* Minor tweaks
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-11-24 21:33:58 +11:00
Lea Anthony
c1c1bff7a4
Update changelog.mdx
2022-11-24 06:13:24 +11:00
Dieter Zhu
011d8e3094
Supplement the missing WindowSetAlwaysOnTop in runtime.d.ts and runtime.js ( #2128 )
2022-11-24 06:08:15 +11:00
stffabi
72aef804ef
[windows] Prevent a thin white line at the bottom of a frameless window ( #2111 )
...
This seems to be only a problem on some Windows versions.
2022-11-22 20:37:45 +11:00
Misite Bao
d0b403b9b8
docs: fix and sync documents ( #2119 )
...
* docs: fix Russian documents
* docs: sync French documents
2022-11-22 18:34:04 +11:00
dependabot[bot]
a1bff912a0
Bump loader-utils from 1.4.1 to 1.4.2 in /runtime/js ( #2115 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 05:34:10 +11:00
Misite Bao
51a12131a4
feat(website): add translation progress ( #2113 )
...
* feat(website): add translation progress
* feat(website): add French and Portuguese to language list
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-11-21 22:19:34 +11:00
Misite Bao
91de3ab0c5
docs: update and sync documents ( #2112 )
...
* docs: update options documentation
* docs: sync documents
* docs: sync Korean, Russian, French and Portuguese documents
* docs: sync Chinese, Japanese and Korean documents
2022-11-21 22:13:43 +11:00
Oleg Gulevskyy
b3d7682efc
Fix multiple nested build/bin folders in dev mode ( #2103 )
...
* stop circular assigning to OutputFilename
* update changelog
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-11-19 10:04:46 +11:00
Misite Bao
ec56f8807f
docs: sync documents ( #2083 )
2022-11-18 22:11:25 +11:00
github-actions[bot]
8850b453d9
chore: update sponsors.svg ( #2106 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-11-18 22:10:45 +11:00
Marvin Collins Hosea
a8bbce6a12
React Hash Router Links returns 404 ( #2050 )
...
The linked Hash Router link is not valid anymore and returns a 404.
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-11-17 20:19:24 +11:00
Christian Kilb
66dd310823
Update obfuscated.mdx ( #2102 )
...
Fixed a typo.
2022-11-17 20:01:54 +11:00
juju
29acbe3079
Update events.mdx ( #2105 )
2022-11-17 20:01:02 +11:00
cybertramp
ec82739df1
docs: Add README.ko.md ( #2093 )
...
* docs: Add README.ko.md
- Add korean version README
- Update 'README.ko.md' link in README.md
* Update README.zh-Hans.md
* Update README.ja.md
Co-authored-by: Misite Bao <i@misitebao.com >
2022-11-17 05:40:59 +11:00
stffabi
177d90497a
[assetserver] Add support for range requests if the fs.FS provides an io.Seeker ( #2091 )
...
This allows streaming audio and videos with range requests if the
platform webview supports it.
2022-11-15 07:19:25 +11:00
stffabi
efd209b7c5
[darwin] Show Xcode version in wails doctor ( #2089 )
2022-11-14 20:11:07 +11:00
Lea Anthony
236570909c
Rename bleeding edge -> local development ( #2086 )
2022-11-13 22:44:50 +11:00
stffabi
0607777bec
[darwin, inspector] Fix build ( #2082 )
2022-11-12 21:02:53 +11:00
stffabi
f6e46ac1c3
[debug] Introducing debug options for debug builds to allow opening the inspector on startup ( #2080 )
2022-11-12 19:51:54 +11:00
Antonio Cheong
e3e20bdb42
Reference NSIS as optional dependency and provide more info ( #2070 )
...
* Update system.go
* Update installation.mdx
* Update base docs
2022-11-12 18:36:57 +11:00
stffabi
6d0ae669f9
[dev] Fix noreload flag and only skip reloads triggered by assetdir ( #2081 )
2022-11-12 17:08:54 +11:00
Misite Bao
8c4c4a9df3
docs: sync documents ( #2073 )
...
* docs: fix document formatting
* docs: sync documents
2022-11-12 08:30:16 +11:00
github-actions[bot]
fc312a5f04
chore: update sponsors.svg ( #2077 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-11-11 23:46:30 +11:00
Lea Anthony
d77b920ed5
Merge branch 'release/v2.2.0'
2022-11-09 22:33:01 +11:00
dependabot[bot]
4b57d55db2
Bump loader-utils from 1.4.0 to 1.4.1 in /runtime/js ( #2068 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 22:29:37 +11:00
Lea Anthony
67e2a4bdeb
Update docs and changelog
2022-11-09 22:26:22 +11:00
Lea Anthony
f7c602c212
Update docs and changelog
2022-11-09 22:06:10 +11:00
Lea Anthony
0a7293d6b6
Update runtime
2022-11-09 21:22:32 +11:00
Misite Bao
4c840c07f2
docs: sync documents ( #2063 )
...
* docs: sync documents
* docs: fix document escape syntax
2022-11-09 06:25:18 +11:00
Sean Gosiaco
8ee493f48d
Added quasar-js and quasar-ts templates ( #2062 )
2022-11-08 20:34:05 +11:00
github-actions[bot]
95116912a2
chore: update sponsors.svg ( #2054 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-11-06 15:32:15 +11:00
github-actions[bot]
55f76a291b
chore: update sponsors.svg ( #2051 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-11-05 14:34:14 +11:00
github-actions[bot]
928bc75602
chore: update sponsors.svg ( #2049 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-11-04 18:32:17 +11:00
Lea Anthony
18b2d315dd
Modularize wails ( #2009 )
...
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-11-03 21:21:40 +11:00
stffabi
0a1c05df16
[windows] Fix frameless maximizing in multi monitor setup ( #2043 )
2022-11-03 19:14:00 +11:00
github-actions[bot]
3d62681450
chore: update sponsors.svg ( #2022 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-10-30 19:27:08 +11:00
stffabi
638caf72f0
[assetserver] Introduce middleware and extract options ( #2016 )
...
* [assetserver] Add support for HTTP Middlewares
* [dev] Disable frontend DevServer if no Assets has been defined and inform user
* [dev] Consistent WebSocket behaviour in dev and prod mode for assets handler and middleware
In prod mode we can't support WebSockets so make sure the
assets handler and middleware never see WebSockets in dev mode.
* [templates] Migrate to new AssetServer option
* [docs] Add assetserver.Options to the reference
2022-10-29 23:15:15 +02:00
Lea Anthony
4cd89e1507
Add Angular docs
2022-10-29 19:35:41 +11:00
github-actions[bot]
ac8ed94ae6
chore: update sponsors.svg ( #2018 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-10-26 18:29:36 +11:00
Lea Anthony
52238f0fdd
Update Mac troubleshooting guide
2022-10-26 08:23:00 +11:00
Lea Anthony
6a12d01624
Update v2.1.0 release notes
2022-10-26 08:19:46 +11:00
Misite Bao
00864fa14f
docs: sync documents ( #2013 )
2022-10-26 08:02:36 +11:00
Lea Anthony
6d94cb4afe
Add installation error docs
2022-10-25 06:06:53 +11:00
Joshua Hull
9f751d66e0
Add single listener deregistration ( #1969 )
...
* Add single listener deregistration
* Return function to stop listening, updates types
* Add missing returns, improve documentation
* Duplicate interface in go
* Define eventName
* Use lo instead for filtering
* Move logger to Interface. Add sample test.
* Add vite test for events
* Add js test workflow
* Add corresponding go method to remove all events
* Update documentation
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-10-23 09:03:37 +11:00
Binyamin Aron Green
4bff4af2b0
Add JSON schema for config file ( #1864 )
...
* Add JSON schema for config file
* Fix typo in wails config schema
* Update wails.tmpl.json
* Update wails.tmpl.json
* Add reference to schema in docs
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-10-22 21:07:37 +11:00
ParkourLiu
dc65f77baf
repair panic ( #1999 )
...
* repair panic
* Add empty struct field test
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-10-22 21:04:49 +11:00
Will Andrews
c55f94a3dc
[Docs] Add troubleshooting guide for unable to start service ( #2001 )
...
* add troubleshooting
* moved
* Added to the docs repo
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-10-22 21:04:18 +11:00
Lea Anthony
b32069e4e4
Fix call in checkWebView2
2022-10-22 17:45:23 +11:00
github-actions[bot]
2fd704e47c
chore: update sponsors.svg ( #2003 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-10-22 00:40:09 +11:00
stffabi
0a20c8db96
[webview2loader] Add full featured go implementation ( #1974 )
...
* [webview2loader] Add full featured go implementation
The new go loader can be activated with the exp_gowebview2loader build tag.
* [build] Add information for using the new webvie2loader
2022-10-22 00:29:16 +11:00
Will Andrews
38f6b8787f
[Docs] Add troubleshooting guide for unable to start service ( #2000 )
...
* add troubleshooting
* moved
2022-10-21 07:42:57 +11:00
Scott Opell
7fcb537f85
feature/turn off color terminal output of dev command ( #1947 )
...
* feat: Adds option to dev command to turn off color terminal output
* Update docs
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-10-20 21:11:20 +11:00
Misite Bao
8b07a0f582
chore: update workflows ( #1977 )
...
* chore: remove useless files
* chore: fix check path
* chore: add workflow to auto push to crowdin after website update
* fix: fix workflow config
2022-10-20 20:51:59 +11:00
Lea Anthony
3e73368540
Remove issue translator
2022-10-20 08:45:03 +11:00
github-actions[bot]
789a4e9bba
chore: update sponsors.svg ( #1991 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-10-19 20:34:17 +11:00
stffabi
39addf2011
[dragging] Trim the css property value ( #1989 )
...
Webview2 on Windows returns a potential whitespace when defining the
style like this `style="--wails-draggable: drag"`. Whereas Darwin already
trims the value and returns "drag" and not " drag".
2022-10-18 10:28:59 +02:00
Lea Anthony
d9e077389c
Update changelog
2022-10-18 07:28:41 +11:00
Lea Anthony
94a936e3ad
Update changelog
2022-10-18 07:26:59 +11:00
Lea Anthony
639389022b
Update date
2022-10-18 07:24:10 +11:00
Lea Anthony
a5fba5b218
Release/v2.1.0 ( #1988 )
...
* Add changelog. Fix zoom docs. Add Info.dev.plist info
* Update build assets README.md
* Update changelog
* actions/checkout@v2 => v3
* Docs
2022-10-18 07:21:07 +11:00
Lea Anthony
96fa18846c
Feature/static analysis ( #1983 )
...
* Support parsing embed directives from package
* Validate `embed` directives on build
* `.gitkeep` -> `gitkeep`
* Make step silent. Fix for `wails dev`
2022-10-16 23:08:34 +11:00
Lyon
4d7959dd5b
fix: init command not listed in wails help message ( #1976 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-10-15 20:13:07 +11:00
cuigege
ef6263c164
Update events.mdx ( #1979 )
2022-10-15 20:08:25 +11:00
Misite Bao
7b501a8fd1
docs: sync documents ( #1968 )
...
* docs: update template description
* docs: sync documents
2022-10-15 10:29:31 +11:00
github-actions[bot]
24dbd71be0
chore: update sponsors.svg ( #1973 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-10-15 10:28:58 +11:00
Pierre Joye
f4adff1cb3
#1057 expose ZoomFactor get/set and add the respective windows only options ( #1463 )
...
* #1057 expose ZoomFactor get/set and add the respective windows only options
* Remove debug log, use IsZoomControlEnabled as well
* use math.float to/from 64bits functions instead
* Add new windows options ZoomFactor and IsZoomControlEnabled doc
* Grammar
* Update options.mdx
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-10-14 08:46:14 +11:00
Lea Anthony
7effede62b
Add support for Info.dev.plist ( #1960 )
2022-10-14 07:58:43 +11:00
stffabi
7f733d787f
[dev] Do not try to infer assetdir from fs.FS when a frontend dev server is in use ( #1972 )
2022-10-14 07:52:52 +11:00
Lea Anthony
2d4f7f4de8
Sort structs in models.ts. Fixes #1958 ( #1961 )
2022-10-14 07:50:22 +11:00
Lea Anthony
de1d032f10
Use swc + pnpm ( #1966 )
...
* Use swc + pnpm
* Upgrade deps
2022-10-13 21:22:57 +11:00
Lea Anthony
4ca0580ced
Chore/generate sponsors ( #1965 )
...
* Create PR
* chore: update sponsors.svg (#1964 )
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
* Delete branch after merge
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-10-13 20:10:12 +11:00
Lea Anthony
855c74ff30
Make highlighted code line easier to read. Fixes #1951 .
2022-10-12 21:43:28 +11:00
Lea Anthony
c62c915fdc
Run tests on approval
2022-10-12 21:12:16 +11:00
Rob Nice
c78f59bbc1
Add Elm Tailwind CSS community template ( #1939 )
...
* add link/description
* rename project
2022-10-11 19:22:24 +11:00
Valentin Trinqué
2a20049ea7
fix: Prevent type parsing to interfere with package name in typescript generation ( #1942 )
...
Before that fix:
The method...
```go
func (h *Handler) RespondToInteraction(interaction interactor.Interaction) {}
```
... would generate...
```ts
export function RespondToInteraction(arg1:number):Promise<Error>;
```
... because the `interaction` package starts with `int` and anything starting with `int` is interpreted as `number`.
2022-10-10 23:50:55 +11:00
Alex
504531f340
Update README.zh-Hans.md ( #1949 )
...
replace the star history chart with star-history.com
2022-10-10 00:15:36 +11:00
Scott Opell
eae90df323
fix for dev file watching missing some file updates due to platform oddities ( #1946 )
2022-10-09 20:27:24 +11:00
Lea Anthony
eee6797907
Add WindowExecJS method ( #1927 )
...
* Add WindowExecJS
* [devserver] Embed the base frontend into the DevServer struct
* Update docs
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-10-05 08:44:23 +11:00
JulioDRF
bd378b2e0f
Fix wails dev ( #1931 )
...
* Fix wails dev
* Pass wg as pointer to both goroutines in DevWebServer.Run
* Remove shutdown goroutine
2022-10-05 06:47:37 +11:00
Misite Bao
130f4cc36a
docs: sync documents ( #1936 )
2022-10-04 19:22:35 +11:00
Artur S
f3cbd383a3
add react-ts-vite-tailwind template ( #1930 )
2022-10-02 22:38:58 +11:00
Misite Bao
ef32ea2575
fix: remove the .git directory in the template ( #1929 )
...
fixed: https://github.com/wailsapp/wails/issues/1928
2022-10-02 21:03:11 +11:00
Lea Anthony
6a3b89d212
fix: exemption typo
2022-10-01 19:03:20 +10:00
JulioDRF
40e326a708
Fix binding generation special cases ( #1902 )
...
* Make binding.go easier to test
* Fix non-deterministic namespace order for bindings
* Add binding tests
* Fix nested import structs, non-string map keys, and escape invalid variable names
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-10-01 15:49:51 +10:00
Zámbó, Levente
de49b1f125
fix gtk_window_begin_resize_drag's mouse button ( #1920 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-10-01 15:45:37 +10:00
Zámbó, Levente
2690250378
Add window transparency for linux ( #1926 )
2022-10-01 15:44:38 +10:00
dependabot[bot]
32e9cb30bf
Bump github.com/labstack/echo/v4 from 4.7.2 to 4.9.0 in /v2 ( #1924 )
2022-09-30 22:00:01 +02:00
Zámbó, Levente
13532e00a0
add missing resize for framless window on linux ( #1918 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-09-30 08:51:08 +10:00
Lea Anthony
3ed0d69d61
Update generate-sponsor-image.yml
2022-09-30 08:41:49 +10:00
Richard Guay
d92e8d43c8
Adding Tutorial link ( #1903 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-09-30 08:40:30 +10:00
Lea Anthony
c05666af7b
Fix asset handler on linux
2022-09-30 08:34:32 +10:00
Lea Anthony
e7188e877f
Update build and test workflow
2022-09-30 08:27:22 +10:00
Lea Anthony
37954141cc
Update build_and_test.yml
2022-09-30 08:25:03 +10:00
Lea Anthony
d699e77c33
Update build and test workflow
2022-09-30 08:22:22 +10:00
Lea Anthony
60a59f12b2
Update build and test workflow
2022-09-30 08:15:20 +10:00
Misite Bao
5421f559df
docs: sync documents ( #1907 )
...
* fix(website): fix command flag name
* feat(website): sync translations
2022-09-30 07:17:34 +10:00
Zámbó, Levente
b1e04772d9
bugfix/linux framless window drag ( #1916 )
2022-09-30 00:06:11 +10:00
Lea Anthony
941218d1c8
Update README.md
2022-09-29 20:51:41 +10:00
Lea Anthony
b2069c871d
Refactor app ( #1909 )
...
* Application refactor
* [windows] refactor out main loop. Create new application struct. Refactor assethandler/assetserver signatures.
* Refactor darwin app
* Refactor app for linux
* Update v2/internal/frontend/assetserver/assethandler.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
* Update v2/internal/frontend/assetserver/assethandler.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
* Update v2/internal/frontend/assetserver/assetserver.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
* Update v2/internal/frontend/assetserver/assetserver.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-09-29 18:43:35 +10:00
Lea Anthony
e22cfc18c9
Update howdoesitwork.mdx
2022-09-28 08:32:14 +10:00
ALMAS
2d61278125
Update Chinese translation ( #1894 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-09-26 20:43:28 +10:00
Lea Anthony
9f81013530
chore: Update workflows
2022-09-26 18:00:38 +10:00
Lea Anthony
52845a7ca5
chore: Update release workflow
2022-09-26 17:54:56 +10:00
Lea Anthony
1571b10b84
Quote command arguments if they have a space ( #1892 )
2022-09-25 22:20:01 +10:00
stffabi
f5549db85d
[dev] Do not generate bindings in the dev app itself ( #1899 )
...
* [dev] Pass skip bindings to the building process
* [dev] Do not generate bindings in the dev app itself
This is done outside during `wails dev` bootstrapping and
fast regeneration seems to sometime cause locking problems
on Windows.
2022-09-25 21:21:41 +10:00
stffabi
953e67e7ed
[assetHandler] Remove redundant log prefix ( #1896 )
2022-09-24 18:03:16 +10:00
Arif Ali
73b9dead5d
obfuscated instead of obfuscate in the docs ( #1895 )
...
the option in the docs is the wrong flag you have to add a d at the end
2022-09-24 15:05:18 +10:00
Misite Bao
211eb52747
chore: update the label name in the issue template ( #1893 )
2022-09-24 11:50:57 +10:00
Lea Anthony
91d0d96359
Add issue translator ( #1891 )
2022-09-24 07:52:19 +10:00
Lea Anthony
fbf11aa088
Auto label project cards ( #1881 )
2022-09-23 14:16:34 +10:00
Lea Anthony
fd32734382
Add support for default No button ( #1875 )
...
* Add support for default No button
* Fix tests
2022-09-23 10:50:54 +10:00
Lea Anthony
48b3fb0f51
Add PR checks ( #1879 )
...
* Add PR checks
* Update PR workflow
* Update PR workflow
* Update PR workflow
* Add branch name check + doc check
* Update PR branch check
* Update PR branch check
* Update PR branch check
2022-09-23 08:52:01 +10:00
Lea Anthony
8bbbb0f148
Fix i18n blog
2022-09-22 18:34:04 +10:00
Lea Anthony
495c129ec6
Update blog
2022-09-22 11:27:40 +10:00
Lea Anthony
74133c9ae3
v2.0.0
2022-09-22 11:00:57 +10:00
Misite Bao
e9b2c15664
feat: optimize documentation website ( #1849 )
...
* fix(website): fix i18n configuration
* feat: add i18n file to auto generate code
* feat: move the crowdin configuration file to the website directory
* feat(website): add crowdin dependencies and scripts
* feat: add COC
* feat: use escape hatch syntax to wrap JSX code in MDX files
* feat: remove ach language
* feat: generate default language configuration
* feat: remove compare link
* feat: add COC link
* feat(website): update documentation
* feat: use escape hatch syntax to wrap JSX code in MDX files
* style: add prettier
* style: format mdx files
* chore: remove prettier command
* feat: update en docs
* feat: sync Chinese documents
* feat: update doc
* Update website/src/pages/coc.mdx
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-09-18 22:01:50 +10:00
Lea Anthony
d0a39349d4
Update release workflow
2022-09-18 08:56:13 +10:00
Lea Anthony
b93cdcd942
Releasetest/release workflow ( #1869 )
...
* Test release workflow
* Update release.yml
* Update release.yml
* add linux deps
* Update release.yml
* Update release.yml
* Update release.yml
* Update release.yml
* Update release.yml
* Update release.yml
* Update release.yml
* Update release.yml
* Update release.yml
* Fix: Misc tests
* Fix: Misc tests + linux build tags
* Fix: Bindings tests + move templates to pkg. Add json schema for templates
* Fix: template tests
* Add tests to release workflow. Test for go 1.18 + go 1.19
Fix: ignore .m files for non darwin builds. Fix watcher test. Fix warning in clilogger.
* Fix release pipeline
* Matrix for tests
* Rename templates to make tests work
* Update template test
* Debug template test
* Debug template test
* Debug template test
* Fix gitignore
* Update release.yml
2022-09-18 08:55:21 +10:00
Parvin Eyvazov
96ffe5b7b2
Update introduction.mdx ( #1863 )
2022-09-17 06:09:00 +10:00
stffabi
1026119eca
[templates] Use embed all to include all files ( #1862 )
...
Otherwise files prefixed with `.` and `_` won't get embedded.
2022-09-17 00:37:30 +10:00
Lea Anthony
f78476e051
Fix: lit template
2022-09-16 17:48:48 +10:00
Lea Anthony
124295a79c
Remove support for < Go 1.18 in wails doctor
2022-09-16 13:36:33 +10:00
Misite Bao
14adbc12aa
chore: update README and workflows ( #1848 )
...
* Update README
* Update crowdin.yml
* chore: update workflows and README
* fix: fix error
* feat: remove unnecessary content
* Update .github/workflows/build.yml
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-09-15 21:49:35 +10:00
Lea Anthony
28fd3cdba1
Fix link to runtime docs in introduction page
2022-09-15 21:11:12 +10:00
stffabi
f97f5bb602
[build] Fix buildtags parsing if only one tag is specified ( #1858 )
...
* [build] Fix buildtags parsing if only one tag is specified
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-09-15 17:04:00 +10:00
stffabi
f1dc9eb4ef
[cli] Add check for minimum required go version ( #1853 )
...
- Update out of sync go.mod with minimum go version
- Check for minimum go version during build with build constraint
“internal/goversion/build_constraint.go:9:2: MinGoVersionRequired (constant "You need Go 1.18 or newer to compile this program" of type string) is not used”
2022-09-15 07:28:28 +10:00
stffabi
854bd9433d
[go] Bump minimum required go version to 1.18 ( #1854 )
2022-09-14 23:47:15 +10:00
Lea Anthony
e75fb53fa5
Fix version text v2.0.0-rc.1.1
2022-09-13 12:06:54 +10:00