146 Commits
Author SHA1 Message Date
cb169611b1 Set Window Background colour if provided + debounce redraw option (#1466)
* Set Window Background colour if provided. Added debounce option for Webview2 redraw on resize

* [windows] Workaround resize flickering in frameless mode

Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-06-20 17:47:13 +10:00
LukenandGitHub 1e54eb2eaf Fix small typo in docs (#1449) 2022-06-13 08:53:49 +10:00
Zámbó, LeventeandGitHub f6425a64a6 feature - add race detector to build & dev (#1426) 2022-05-27 19:07:39 -10:00
刀刀andGitHub e7f9e2f267 docs: add macos custom menu EditMenu tips (#1423)
* docs: add macos custom menu EditMenu tips

On macos platform, if custom the menu, we should append EditMenu to enable Cmd+C,Cmd+V,Cmd+Z... shortcut
2022-05-25 08:49:04 +02:00
mondy 043d83e39e Add nogen flag in cli document. 2022-05-23 09:08:35 +09:00
LGiki ec2202765c fix: typo in docs 2022-05-12 09:50:16 +08:00
Arpit JainandGitHub e5cc18cfc5 Fix docs formatting 2022-05-03 23:21:23 +05:30
Lea AnthonyandGitHub e7aa74905a Initial commit (#1352) 2022-04-27 19:10:20 +10:00
Lea Anthony 75ee36f8eb Update docs regarding TitlebarAppearsTransparent 2022-04-21 08:30:15 +10:00
Lea Anthony f6257d3d31 Add Environment and WindowReloadApp calls to runtime. Updated default templates. 2022-04-20 20:28:41 +10:00
Lea Anthony 82806d47b3 Move experimental tag 2022-04-13 07:50:23 +10:00
stffabiandGitHub cb2de2ad30 [v2, docs] Add experimental badge for assets handler and fix type definitions (#1328) 2022-04-12 22:35:09 +10:00
6d09a45a30 [v2] Add support for AssetsHandler (#1325)
* [website] Fix devserver default value doc

* [v2] Add support for AssetsHandler

AssetsHandler is a http.Handler delegate, which gets called
as a fallback for all Non-GET requests and for GET requests
for which the Assets didn’t find the file.

Known Limitations on Linux:
- All requests are GET requests
- No request headers
- No request body
- No response status code, only StatusOK will be returned
- No response headers

Known Limitations on Windows:
-  Request body is leaking memory. Seems to be a bug in
    WebView2, investigation angoing.

Most of these limitations on Linux will be fixed in the future with
adding support for Webkit2Gtk 2.36.0+.

* [v2, linux] Add response streaming support

The complete response won’t be held anymore in memory and will
be streamed to WebKit2.

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-04-12 20:18:27 +10:00
Lea Anthony ebf4cf13f2 Feature: Add menu helpers 2022-04-09 20:36:48 +10:00
Lea Anthony 90fc96b494 Translations docs 2022-04-03 17:47:56 +10:00
Lea Anthony 7af39e4819 Feature: Go logger "f" equivalents 2022-04-01 12:27:40 +11:00
Sebastian BauerandLea Anthony 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
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
Lea AnthonyandGitHub 4cedfdc091 Docs versioning (#1299)
* Add beta.34 version

* Fix up document links
2022-03-30 23:21:33 +11:00
bearshandGitHub 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
Lea Anthony a5bf76b30f Fix up dev. Pull in go-webview and winc 2022-03-29 21:45:16 +11:00
Lea AnthonyandGitHub 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 e314c41337 Update WindowStartState for Linux 2022-03-19 11:26:14 +11:00
Lea Anthony b002830897 Clarify supported platforms 2022-03-17 21:14:07 +11:00
Lea Anthony 8aea6a3bfc Update domReady comment in templates + website 2022-03-14 22:48:32 +11:00