stffabi
c70d93b482
Suppress resizing during minimize of a frameless window ( #1322 )
...
If the window is frameless and we are minimizing, then we need to suppress
the Resize on the WebView2. If we don't do this, restoring does not work as
expected and first restores with some wrong size during the restore animation
and only fully renders when the animation is done.
This highly depends on the content in the WebView.
Possible fix for #1319
2022-04-10 18:45:09 +10:00
Lea Anthony
5f596c7679
Update go.mod
2022-04-10 09:41:44 +10:00
Lea Anthony
ebf4cf13f2
Feature: Add menu helpers
2022-04-09 20:36:48 +10:00
Lea Anthony
f08176079c
Feature: Support double click in drag areas
2022-04-09 10:27:54 +10:00
归位
65a97a668e
If the element adds the data-rails-drag attribute, it can trigger the dbclick event. ( #1317 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-04-09 10:18:01 +10:00
Florent
c3a98b058e
ensure webkit/gtk callbacks run on main thread ( #1320 )
...
prevent close event being propagated when handled in app
closes #1268
closes #1288
2022-04-08 06:42:17 +10:00
Lea Anthony
b94db409dd
Fixes #1315
2022-04-06 21:53:40 +10:00
Lea Anthony
43f8a1f773
fix: blank namespaces, unknown structs
2022-04-06 19:13:10 +10:00
Lea Anthony
dce5fd442f
fix: i18n messages/bug + docs bug.
2022-04-05 21:41:49 +10:00
Lea Anthony
55855ccc4d
fix: duplicate model generation
2022-04-05 21:30:55 +10:00
Lea Anthony
eb97f53124
Feature: Don't generate models.ts
if there are no models.
2022-04-05 21:30:55 +10:00
Lea Anthony
625eca27f6
Feature: TS namespaces
2022-04-05 18:11:56 +10:00
Lea Anthony
2465538448
Fix: TS namespace inference
2022-04-05 08:26:54 +10:00
Lea Anthony
bb2da2f810
Chore: remove debug output
2022-04-04 21:19:36 +10:00
Lea Anthony
6b38f0c68e
Improved TS Generation ( #1310 )
...
Improve TS Generation
2022-04-04 21:01:00 +10:00
Lea Anthony
95b70de01f
chore: add build tags to win32 package
2022-04-04 20:55:25 +10:00
Lea Anthony
8bb3af2282
Refactor TS imports
2022-04-04 07:19:39 +10:00
Ariel
2c8d94ca48
Add missing method declaration ( #1308 )
...
* Add missing method declaration
* Add eventsoff to the wrapper
2022-04-03 22:01:31 +10:00
Ariel
d5a8ee0132
Do not duplicate imports ( #1307 )
...
* Do not duplicate imports
* Fix warning as first element
2022-04-03 20:17:20 +10:00
Lea Anthony
55cec7af17
Fix: Handle struct pointers in new TS generation
2022-04-03 17:58:53 +10:00
Lea Anthony
8e8b88ef48
Translations refactor
2022-04-03 17:22:37 +10:00
Lea Anthony
4a20655b29
Translations + Tidy Up
2022-04-03 17:18:36 +10:00
Lea Anthony
4721949657
Improved bindings generation
2022-04-03 07:31:07 +10:00
Florent
d119fce3c3
remove duplicate mimetype entries ( #1304 )
2022-04-01 20:35:53 +11:00
Lea Anthony
f6cdafa5ff
Bugfix: generate correct model reference in bindings.d.ts
2022-04-01 13:08:56 +11:00
Lea Anthony
7af39e4819
Feature: Go logger "f" equivalents
2022-04-01 12:27:40 +11:00
Lea Anthony
073f8202e5
Fix windows/frontend
compile error
2022-04-01 09:59:33 +11:00
Florent
8f860c9ea6
[Feature #1300 ] mime check for bom and comments ( #1302 )
...
* check for BOM and SVG comments
2022-04-01 08:39:54 +11:00
Lea Anthony
f734d26adb
Use wailsapp/mimetype module
2022-04-01 08:21:57 +11:00
Sebastian Bauer
7dd3f96915
[Feature/1149] Dark mode: functions for manually switching theme ( #1291 )
...
* [Feature/1149] Dark mode: functions for manually switching theme
2022-04-01 08:21:37 +11:00
Travis McLane
584f88f727
cleanup Version ( #1303 )
2022-03-31 17:59:23 +11:00
Lea Anthony
2376062008
Update NSIS guide. Backport docs to .34. Fix references. Fix titles.
2022-03-31 12:23:28 +11:00
stffabi
65fb42d9e7
[v2] Add support for external frontend dev servers ( #1290 )
...
* [v2] Consolidate AssetServers
* [v2] Support starturl for webview on linux and darwin
* [v2] Add support for frontend DevServer
* [v2] Activate frontend DevServer in svelte template
* [website] Add bleeding edge guide for PRs
* DoNotMerge: Bump Version for testing
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-03-31 00:40:44 +11:00
bearsh
d8bcf7ac70
v2: linux: add icon to linux specific app option and load it during w… ( #1272 )
...
* v2: linux: add icon to linux specific app option and load it during window creation
Signed-off-by: Martin Gysel <me@bearsh.org>
* doc: linux specific option: icon
2022-03-30 18:15:58 +11:00
Florent
ec31d49b59
prevent close event being propagated when handled in app ( #1297 )
...
closes #1288
2022-03-30 18:13:01 +11:00
Lea Anthony
6883337a18
Update headers code
2022-03-29 22:17:41 +11:00
Lea Anthony
3b81986bdd
Fix wails doctor 1.18
2022-03-29 22:13:33 +11:00
Lea Anthony
ec59eff352
Update go-webview. Fix wails doctor
2022-03-29 22:05:56 +11:00
Lea Anthony
b6de689400
Update go-webview
2022-03-29 21:55:34 +11:00
Lea Anthony
1da68cfc7c
Remove unused directories + tidy up
2022-03-29 21:47:26 +11:00
Lea Anthony
a5bf76b30f
Fix up dev. Pull in go-webview and winc
2022-03-29 21:45:16 +11:00
dependabot[bot]
222deff03c
Bump minimist from 1.2.5 to 1.2.6 in /v2/internal/runtime/js ( #1284 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 21:40:26 +11:00
dependabot[bot]
92df5fabba
Bump ajv from 6.12.0 to 6.12.6 in /v2/internal/runtime/js ( #1194 )
...
Bumps [ajv](https://github.com/ajv-validator/ajv ) from 6.12.0 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases )
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.12.0...v6.12.6 )
---
updated-dependencies:
- dependency-name: ajv
dependency-type: indirect
...
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-03-29 21:38:48 +11:00
stffabi
1f7b7f5e6c
[v2] Wails doctor add information about wails ( #1294 )
...
Also outputs VCS information if Go 1.18+ has been used
to build wails.
2022-03-29 20:10:33 +11:00
Lea Anthony
48254b73e5
[Feature/1149] Dark mode ( #1281 )
...
* Add Windows version helper
* Initial theme support
* Support custom themes
* Update docs
* Honour HighContrast theme. Remove import "C". Refactor
* Small refactor
* Support inactive theme
* Update Docs
2022-03-27 22:57:45 +11:00
Lea Anthony
55f2a24a94
[Mac] Close window immediately on quit
2022-03-26 19:48:34 +11:00
Lea Anthony
2d2ee95c8a
v2.0.0-beta.34
2022-03-26 19:00:20 +11:00
Lea Anthony
2c65415268
More info in the project template READMEs
2022-03-19 11:02:22 +11:00
Lea Anthony
fcf52abec8
Fix CGO_LDFLAGS
2022-03-16 21:44:34 +11:00
Lea Anthony
8e3cb27bfe
#1265 Support CGO_LDFLAGS
2022-03-16 21:40:58 +11:00