Lea Anthony
93335d7661
update docs
2023-11-01 08:05:17 +11:00
biuaxia
b328f60172
Update changelog.mdx ( #3014 )
2023-10-30 23:53:21 +11:00
stffabi
afe922a4e3
[go-webview2] Bump to 1.0.10 ( #3002 )
2023-10-24 17:59:39 +11:00
Andrey Pshenkin
c24bd5e3e8
Implement Single instance lock feature with passing arguments to initial instance ( #2951 )
...
* implement MacOS openFile/openFiles events
* wip: windows file association
* fix macro import
* add file icon copy
* try copy icon
* keep only required part of scripts
* update config schema
* fix json
* set fileAssociation for mac via config
* proper iconName handling
* add fileAssociation icon generator
* fix file association icons bundle
* don't break compatibility
* remove mimeType as not supported linux for now
* add documentation
* adjust config schema
* restore formatting
* try implement single instance lock with params passing
* fix focusing
* fix focusing
* formatting
* use channel buffer for second instance events
* handle errors
* add comment
* remove unused option in file association
* wip: linux single instance lock
* wip: linux single instance
* some experiments with making window active
* try to use unminimise
* remove unused
* try present for window
* try present for window
* fix build
* cleanup
* cleanup
* implement single instance lock on mac os
* implement proper show for windows
* proper unmimimise
* get rid of openFiles mac os. change configuration structure
* remove unused channel
* remove unused function
* add documentation for single instance lock
* add PR link
* changes after review
* update docs
* changes after review
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-10-23 21:31:56 +11:00
stffabi
30d17a760d
[assetserver] Inject runtime/IPC into all index html files ( #2203 )
...
It will also be injected into all html files returned when requesting a folder path.
2023-10-23 20:35:18 +11:00
Andrey Pshenkin
6c46f6b41c
Implement file association Open a file from Finder/Explorer ( #2918 )
...
* implement MacOS openFile/openFiles events
* wip: windows file association
* fix macro import
* add file icon copy
* try copy icon
* keep only required part of scripts
* update config schema
* fix json
* set fileAssociation for mac via config
* proper iconName handling
* add fileAssociation icon generator
* fix file association icons bundle
* don't break compatibility
* remove mimeType as not supported linux for now
* add documentation
* adjust config schema
* restore formatting
* remove unused option in file association
* get rid of openFiles mac os. change configuration structure
* remove unused channel
* fix documentation
* fix typo
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-10-22 06:44:38 +11:00
TuffenDuffen
a9fb0713a1
Update zypper.go ( #2941 )
...
* Update zypper.go
* Update changelog.mdx
2023-10-21 16:50:02 +11:00
Mike
b42a18be6b
feat: add golangci workflow with some linters ( #2957 )
...
This implements the golangci-lint workflow to new PRs.
It includes a limited number of enabled linters including:
- errcheck
- errname
- gofmt
- gofumpt
- gosimple
- misspell
Signed-off-by: mikeee <hey@mike.ee>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-10-21 16:47:02 +11:00
Lea Anthony
d51268b8d0
Add basic hardware detection to wails doctor
2023-10-15 20:15:19 +11:00
Light
4b376bcf0d
Add new htmx/templ template ( #2984 )
...
* Add new htmx/templ template
* update template name
* Add new template changelog item
2023-10-14 17:10:33 +11:00
Nenba Jonathan
d0b0b5d594
Add French README page ( #2943 )
...
* add french readme to the projet
* add french link to the other readme
* fix some typo in the table of contents
* fix markdown auto correct
* added change in changelog.mdx
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-10-07 08:57:03 +11:00
Fadi Khadra
f6c82dcaba
[v2 mac] add fullscreen option to preference ( #2953 )
...
* [v2 mac] add fullscreen option to preference
* update changelog
* replace space by tabs
2023-10-02 07:05:25 +11:00
ALMAS
18ee469c47
[v2/Mac] Change Window Level ( #2944 )
...
* Change Window Level in Mac
2023-09-30 20:59:50 +10:00
stffabi
e31ad83472
[docs] Merge changed section ( #2940 )
2023-09-26 19:12:57 +10:00
Mohamed Gharib
3f9067c815
[v2] Devtools tag doesn't enable default context-menu ( #2923 )
...
* Devtools tag doesn't enable default context-menu
* Update changelog
2023-09-26 07:43:18 +10:00
David Haukeness
ab0b0f8a7f
filter the base directory from ignoreDirs ( #2869 )
...
* filter the base directory from ignoreDirs
* added PR 2869
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-09-25 19:50:17 +10:00
Fadi Khadra
05eddc65b1
[v2 mac] Allow to specify webview preferences ( #2937 )
...
* [mac] allow to specify webview preferences
2023-09-25 08:15:55 +10:00
stffabi
d370f72ede
[v2, windows] Support async request processing on AssetServer ( #2926 )
2023-09-20 19:28:18 +02:00
Lea Anthony
3369327ad2
[v2] Support Enabling/Disabling swipe gestures ( #2878 )
...
* [v2] Support Enabling/Disabling swipe gestures
* [v2] Update change log
* [v2] Remove old call to PutIsSwipeNavigationEnabled
* Use latest webview2
* Update go-webview2 mod version
2023-09-20 08:23:38 +10:00
Denis Dvornikov
eca6afc18c
Describe a guide to build an app for all platforms in github actions ( #2879 )
...
* Describe a guide to build an app for all platforms in github actions
* Update changelog, remove tabs from an added guide
---------
Co-authored-by: Denis <denis@Deniss-Mac-mini.fritz.box>
2023-09-20 08:12:57 +10:00
Lea Anthony
6aa6762f12
Devtools hotkey ( #2915 )
...
* Add Ctrl/Cmd+Shift+F12 Hotkey to open devtools when `-devtools` flag used.
2023-09-19 05:56:14 +10:00
Light
e731e2591a
Fix typo on https://wails.io/docs/reference/options#application-options ( #2887 )
...
* Update options.mdx
* Update changelog.mdx
2023-09-08 23:23:33 +10:00
Lea Anthony
1644ee152e
v2.6.0
2023-09-06 19:45:08 +10:00
David Haukeness
069fe18b9d
Move watcher init to doWatcherLoop and implement -reloaddirs ( #2871 )
...
* remove random print statement
* move watcher into loop and implement reloaddirs
* Fixed -reloaddirs for issue #2829
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-09-06 19:33:22 +10:00
Andreas Christou
886bcc7b47
Add print functionality to v2 ( #2822 )
...
* Add print functionality to v2
* Update changelog
* Update runtime docs
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-09-06 07:55:36 +10:00
David Haukeness
2e9f57a60d
No go rebuild ( #2870 )
...
* add flag option for NoGoRebuild
2023-08-30 21:24:05 +10:00
stffabi
44c291b297
[v2, build] Fixed support for Go 1.21 go.mod
files ( #2876 )
2023-08-30 18:24:41 +10:00
Nobleman
dab762937b
Update changelog.mdx ( #2868 )
...
Added changes for https://github.com/wailsapp/wails/pull/2836
2023-08-29 18:46:12 +10:00
Light
63b9cab96f
Add updated svelte template ( #2858 )
...
* Add new svelte template
Added an updated svelte template
* Update changelog.mdx
2023-08-28 08:41:21 +10:00
Zámbó, Levente
427e41f190
fix disable window resize ( #2863 )
...
* fix disable window resize
* change issue number in changelog
* change pull request number in changelog
2023-08-28 08:40:28 +10:00
stffabi
761efed84d
[v2] Introduce size and physical size of screens ( #2856 )
2023-08-26 10:11:01 +10:00
Phil Richards
427fe7e8d3
Init GTK in NewFrontend
, not init
( #2841 )
...
* Init GTK in `NewFrontend`, not `init`
So apps that have a headless / non-gui mode will be able to run, since
they needn't call `NewFrontend` (which is called by `CreateApp`).
Previously, `init` would call `C.gtk_init` regardless of whether
CreateApp was called.
Also change to call `C.gtk_init_check` with a panic, instead of
`C.gtk_init`, since `gtk_init` just exits the process if it fails,
without a sensible error message.
Fixes #2628 .
* Update changelog
2023-08-26 06:41:53 +10:00
Zámbó, Levente
5a4eae968f
set the background color for window ( #2853 )
...
* set the background color for window
* update changelog for #2853
2023-08-25 08:27:52 +10:00
Zámbó, Levente
9085e1edbb
Bugfix/2848 window set position timing ( #2850 )
...
* run WindowSetPosition on main thread
* remove wait group from SetPosition it is not neaded
* update changelog
2023-08-25 05:50:26 +10:00
David Haukeness
8700d225c1
add wails-sveltekit-ts ( #2851 )
...
* add wails-sveltekit-ts
* add clog entry
2023-08-25 05:49:12 +10:00
Zámbó, Levente
e72e4aa179
add new programName option to linux options ( #2817 )
...
* add new programName option to linux options
* modify changelog
* free program name string
2023-08-10 07:48:09 +10:00
Aranggi J. Toar
48b35aaafe
chore: update npm and docker package names for dnf package manager ( #2790 )
...
* chore: update package names for dnf package manager
* chore: update changelog
2023-07-24 19:53:24 +10:00
figuerom16
e0a92712fe
SvelteKit Guide: Manual installation, Bash installation, Usage Notes. ( #2771 )
...
* Create SvelteKit.mdx
* Rename SvelteKit.mdx to sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update changelog.mdx
2023-07-15 23:52:33 +10:00
Ethan Reesor
22cfcbd5a1
Override error formatting ( #2717 )
2023-07-13 20:40:22 +10:00
Mohamed Gharib
8acbdc246c
[v2] Add smart default context-menu functionality (backported from v3) ( #2748 )
...
* [v2] Add smart default context-menu functionality (backported from v3)
* Update changelog
2023-06-28 06:35:02 +10:00
Mohamed Gharib
5292ced731
[v2, runtime] Separate runtime js debug build ( #2745 )
2023-06-27 21:31:08 +10:00
stffabi
8fd16d4be3
[assetServer] Make WebView request URL and RequestURI RFC and Go docs compliant ( #2722 )
...
* [v2 dev] Improve logging of external AssetHandler
* [assetServer] Make WebView request URL and RequestURI RFC and Go docs conforme
2023-06-20 08:06:42 +02:00
Mohamed Gharib
4162f097f1
[v2, options] Add EnableDefaultContextMenu option ( #2733 )
...
* [v2, options] Add EnableDefaultContextMenu option
* Update changelog & docs
* go mod tidy (./v2)
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-06-20 06:31:47 +10:00
Mohamed Gharib
fa851f29c5
[v2] Add -devtools production build flag ( #2725 )
...
* [v2] Add devtools production build flag
* Update changelog
* Fix changelog spacing
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-06-19 06:45:01 +10:00
Lea Anthony
f2ab205415
[chore] Use webview2 package ( #2687 )
...
* [v2 windows] Use external webview2 package
* Update CHANGELOG
2023-06-10 17:04:31 +10:00
5aaee9
6d857bf61a
windows/nsis: add hidpi support for nsis installer ( #2694 )
...
* feat(windows/nsis): add hidpi support for nsis installer
* website: add changelog
2023-06-04 07:26:24 +10:00
Misite Bao
bd5b7e5e3f
feat(website): update the Crowdin
branch ( #2688 )
2023-05-27 12:51:43 +10:00
Lea Anthony
4f3dc1b0e1
[v2 docs] Fix changelog + cli options.
2023-05-27 12:49:10 +10:00
Marvin Wendt
65c68301a0
Change style of doctor command ( #2660 )
...
* Refactor doctor command
* Refactor doctor command
* Refactor doctor command
* Refactor doctor command
* Added changelog entry
2023-05-26 17:55:53 +10:00
Misite Bao
37e43dabc0
docs: improve documentation ( #2686 )
...
* docs: fix changelog format
* fix: fix release tools
* chore: set sync translated documents as a scheduled task
2023-05-26 17:49:50 +10:00
Amin Yahyaabadi
35eb1e0160
fix: avoid app crashing when the Linux GTK key is empty ( #2672 )
...
* fix: avoid app crash when the Linux GTK key is empty
Fixes this error:
```
DEBUG | Log dir is: /root/.config/surrealdb_explorer/log.txt
Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal
panic: runtime error: index out of range [0] with length 0
goroutine 1 [running, locked to thread]:
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.parseKey({0x0, 0x0})
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/keys.go:87 +0xa5
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.acceleratorToGTK(0xc0001c5f20)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/keys.go:72 +0x2c
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.processMenuItem(0x866bc0?, 0xc0001c8a80, 0xc0001c8a80?)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/menu.go:159 +0x40b
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.processSubmenu(0xc0001c8a20, 0x79a2a9?)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/menu.go:99 +0xdc
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.processMenu(0xc00021f6c0, 0x12?)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/menu.go:82 +0x46
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.(*Window).SetApplicationMenu(0xc00021f6c0, 0xc000128dc8)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/menu.go:75 +0x1b6
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.NewWindow(0xc00011ba40, 0x0)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/window.go:126 +0x37b
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.NewFrontend({0x1cea4e8?, 0xc00023b890}, 0xc00011ba40, 0xc000128e40, 0xc0001c8b40, {0x1ce7480?, 0xc000139840})
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/frontend.go:182 +0x5c5
github.com/wailsapp/wails/v2/internal/frontend/desktop.NewFrontend(...)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/desktop_linux.go:16
github.com/wailsapp/wails/v2/internal/app.CreateApp(0xc00011ba40)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/app/app_production.go:84 +0x5a5
github.com/wailsapp/wails/v2/pkg/application.(*Application).Run(0xc000131940)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/pkg/application/application.go:57 +0x29
wails_vue/backend.BootApplication(0xc000131640, 0xc000138a40, 0xc0001c5320, 0xc0001c55c0, 0xc000128b40, 0xc00012ec30, 0xc000131880)
/home/aminya/Documents/GitHub/teamnoon/SurrealDB-Explorer/backend/Application.go:103 +0x718
reflect.Value.call({0x874160?, 0x1c761f0?, 0xc000138a00?}, {0x8e263d, 0x4}, {0xc0001584d0, 0x7, 0x1c761f0?})
/usr/local/go/src/reflect/value.go:586 +0xb0b
reflect.Value.Call({0x874160?, 0x1c761f0?, 0x1c761f0?}, {0xc0001584d0?, 0x0?, 0x1c761f0?})
/usr/local/go/src/reflect/value.go:370 +0xbc
github.com/Envuso/go-ioc-container.(*Invocable).CallMethodWith(0xc000138a00, 0x1c761f0?, {0x0?, 0x1cef290?, 0x8bd180?})
/home/aminya/go/pkg/mod/github.com/!envuso/go-ioc-container@v0.0.5/invocable.go:149 +0xad
github.com/Envuso/go-ioc-container.(*ContainerInstance).Call(0xc00011c630?, {0x874160?, 0x1c761f0?}, {0x0, 0x0, 0x0})
/home/aminya/go/pkg/mod/github.com/!envuso/go-ioc-container@v0.0.5/container_invocation.go:30 +0x6c
main.main()
/home/aminya/Documents/GitHub/teamnoon/SurrealDB-Explorer/main.go:34 +0x112
```
* fix: merge the key length comparison
2023-05-25 18:40:37 +10:00
Lea Anthony
62d97f85ec
v2.5.1
2023-05-16 19:43:41 +10:00
stffabi
496461920f
[v2] DevServer improvements and fixes ( #2664 )
...
* [assetserver, darwin] Fix copying request headers by using strdup
* [assetserver, linux] Fake some basic http headers for legacy webkit2 versions to support proxying requests to other servers
This fixes the devserver on v2 for newer vite versions that use the custom
scheme.
* [v2, windows] 304 responses are going to hang the WebView2 so prevent them by removing cache related headers in the request.
* [v2, dev] Now uses the custom schemes `wails://` on macOS and Linux for all Vite versions.
Prevent missing reload after fast multiple savings on Linux and Windows.
2023-05-16 09:35:48 +02:00
stffabi
22b53192e6
[v2, webview2loader] Prevent env and registry overrides when using the go loader ( #2668 )
2023-05-15 21:12:16 +02:00
Lea Anthony
774cbdec38
Update changelog.mdx
2023-05-13 14:49:07 +10:00
LGiki
832d6bc4d3
[v2, linux] Fix StartHidden option not working on Linux ( #2624 )
...
* fix: StartHidden option not working on Linux
* chore: add an entry to the changelog
2023-04-30 01:20:39 +10:00
stffabi
3853d2d1bf
[v2, windows] Handle webview2 process crashes and add DisableWebViewRendererCodeIntegrity flag ( #2627 )
...
* Add flag to disable webview RendererCodeIntegrity checks
* Handle webview2 process crashes
2023-04-27 23:03:26 +02:00
Dominic Lee
d249c2207b
fix: parse struct references for type generation ( #2552 )
...
* fix: parse struct references for type generation
* chore: update changelog for typescript generation fix
2023-04-26 23:23:39 +10:00
stffabi
0bf41090b0
[v2, darwin] Add some missing default shortcuts ( #2586 )
...
* [v2, darwin] Add "Hide, Hide Others, Show All“ to appmenu
This also includes shortcuts support for those commands.
Arrange the menu items in the well known MacOS order.
* [v2, darwin] Add Window menu with well known shortcuts Minimize, Full-Screen and Zoom.
2023-04-20 12:38:32 +02:00
stffabi
529ec569f7
[v2, dev] Use custom schemes for in-app dev mode ( #2610 )
...
This fixes some long-standing inconsistencies between
dev mode builds and production builds but is a breaking
change. Dev mode uses custom scheme for Vite versions >= 3.0.0
and for older it still behaves in the old way.
2023-04-20 12:37:40 +02:00
stffabi
767bfcff89
[v2, windows] Make sure to open the CommonFileDialogs on the main thread ( #2606 )
...
Otherwise it might have some strange side-effects like blocking
the completion of Deferrals in WebView2 when using custom
IStreams.
2023-04-17 20:50:27 +10:00
Joshua Hull
489689b477
Use json.Marshal instead of strconv.Quote to correctly support unicode ( #2509 )
...
* Use json.Marshal instead of strconv.Quote to correctly support unicode
* Add fix to changelog
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-04-16 10:19:40 +10:00
George Wang
eaca3d06f6
Update zypper.go ( #2593 )
...
Add package(webkit2gtk3-soup2-devel) for `libwebkit`.
Change environment variable before running command to query information
of the package.
2023-04-16 10:00:39 +10:00
stffabi
39a7ab5856
[assetserver, linux] Add support for WebKit2GTK 2.40+ features ( #2592 )
2023-04-14 11:16:27 +02:00
stffabi
ec3da8b7ef
[v2, darwin] Fix updating the menu on runtime ( #2588 )
2023-04-14 00:14:19 +10:00
stffabi
b64b2a8da1
[v2, dev] Fix skipbindings flag in wails dev ( #2584 )
2023-04-13 07:45:49 +10:00
Misite Bao
5e3c736bee
feat(cli): add Nodejs version in wails doctor
( #2546 )
...
* feat(cli): add Nodejs version in `wails doctor`
* Added check for output length
* docs: update changelog.mdx
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-04-12 07:11:37 +10:00
Lea Anthony
3f62fa0d86
Update credits.mdx
2023-04-11 20:46:45 +10:00
Arpit Jain
abe6f520b4
Fix dates in changelog ( #2527 )
2023-03-26 16:19:12 +11:00
Adam Tenderholt
130fab6c01
Feature/v3 parser: expand TS model generation tests & some fixes ( #2485 )
...
* v3 parser: add tests for model generation
* v3 parser: use single quotes for got model.ts
* v3 parser: fixes for some failing tests
* v3 parser: misc simplification and cleanup
* v3 parser: fix model tests when no structs returned
* v3 parser: fix last failing test case
* Update contributors list
* v3 parser: update README
* Revert "Update contributors list"
This reverts commit f429d2ba89
.
* Changelog: add line about my contribution
2023-03-25 10:09:17 +11:00
Lea Anthony
a7278b4224
Update docs
2023-03-20 20:32:25 +11:00
stffabi
47af68a8cb
[windows] Allow single-clicks on wails-draggable items ( #2482 )
...
* [runtime] Make it possible to restore old drag behaviour on windows with window.wails.flags.deferDragToMouseMove
* [runtime] Use deferDragToMouseMove as new default
This enhanced version should work well in all cases for Windows:
- No lag/delayed start of dragging
- Double-Clicks and Single-Click events still work in JavaScript on elements
* [docs] Add changelog
2023-03-20 08:45:21 +01:00
stffabi
6ed0eb217d
[webview2] Fix error handling in CreateWebResourceResponse ( #2496 )
...
The old error handling fails on WebView2Runtimes > 110.0.1587.69 and
will show a "connection refused" page and reloads after a short time.
After the reload everything worked as expected again.
2023-03-16 10:49:59 +01:00
stffabi
5dba18c853
[dev] Fix panic in devserver when using the logger ( #2481 )
2023-03-13 08:12:09 +01:00
Lea Anthony
ebc14debdf
Release/v2.4.0 ( #2470 )
...
* Release v2.4.0
* Add docs
2023-03-08 23:27:23 +11:00
stffabi
c11c32940e
[events] Fix race condition and missing unlock of mutex ( #2453 )
2023-03-07 10:40:33 +01:00
stffabi
d7a8406640
[options] Mergo doesn't play well with reference types ( #2452 )
...
Remove mergo and just use a simple hardcoded defaults approach.
2023-03-07 07:04:37 +01:00
Rachel Chen
ad2fed8f08
[v2] frontend/runtime/wrapper: return function return value in runtime wrapper ( #2434 )
2023-03-01 07:37:09 +01:00
stffabi
c6146ccbf8
[darwin] Fix undo/redo ( #2430 )
2023-02-28 19:41:18 +11:00
Gwyn
017ce1e33e
The outputFile was only being set for darwin universal builds. I move… ( #2358 )
...
* The outputFile was only being set for darwin universal builds. I moved the
variable assignment to a location where it will take place for all builds.
The ProjectData entries are used in generating the .app plist file, so
setting them here ensures that the app will run with the custom binary name.
* Increases the reach of the output flag.
* Updates the changelog with a record of this fix.
2023-02-25 06:13:27 +11:00
stffabi
0f57292555
[darwin] Add a macOS version guard for opening the web inspector ( #2397 )
...
Log if the inspector could not be opened due to missing or
incorrect private API.
2023-02-22 20:55:40 +11:00
stffabi
cccd708b2b
[assetserver] Add more builtin mimetypes by extension ( #2391 )
2023-02-21 18:20:01 +11:00
stffabi
260fd061f6
[nsis] Adjust template to install shortcuts for all users ( #2373 )
2023-02-13 18:40:42 +11:00
stffabi
45c3a501d9
[cli] Fix applying default arch to platform flag ( #2309 )
2023-01-17 20:39:15 +01:00
stffabi
8f92cf1074
[assetHandler] Allow middleware to set the content-type for an assets file ( #2286 )
2023-01-16 21:05:25 +11:00
stffabi
0a98efeea9
[runtime] Improve —wails-draggable
by starting a drag immediately but only for the first click in a series ( #2302 )
...
This removes the sometime lagging experience when
starting to drag on Windows. But it's still possible to use
double-click events for adding e.g. a WindowToggleMaximise.
2023-01-16 20:56:13 +11:00
stffabi
d15e673a19
[windows] Some improvements to fullscreen ( #2299 )
2023-01-15 06:14:15 +01:00
stffabi
aaf039bcff
[windows] Disable frameless decorations during fullscreen ( #2288 )
...
Otherwise this leads to thin transparent lines on the window borders on older Windows versions.
2023-01-11 15:22:48 +01:00
stffabi
05679e70d0
[runtime] Frameless resize now sets the cursor on documentElement ( #2289 )
...
Otherwise if the body does not cover the full viewport the cursor won't
be shown outside of its rectangle.
2023-01-10 13:19:09 +01:00
stffabi
8e4606d104
[windows] Improve fullscreen mode for frameless windows ( #2279 )
...
* Improve fullscreen mode for frameless windows
* Set Window background color in addition to WebView2 background color
2023-01-09 12:15:43 +01:00
Lea Anthony
6e3b4cf1a1
Add Warmine to showcase
2023-01-08 12:53:14 +11:00
Johannes Haseitl
ccceadbd24
Replace more slack links with discord invites ( #2256 )
...
* Add Discord link and deprecate slack links
* More slack -> discord changes
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-01-07 16:19:33 +11:00
Zámbó, Levente
add10df5ff
fix missing bin dir on build hook ( #2273 )
...
* fix missing bin dir on build hook
* add fix to changelog
2023-01-07 06:51:01 +11:00
stffabi
284e20a290
Add EnableFraudulentWebsiteDetection to options ( #2269 )
...
This allows to explicitly opt-in to scan services for fraudulent
content, such as malware or phishing attempts.
2023-01-06 00:06:26 +11:00
Zámbó, Levente
ef5f547d27
Support GPU acceleration settings on Windows & Linux ( #2266 )
...
* support GPU acceleration settings Window & Linux
* fix linux empty option crash
* fix change linux gpu policy switch case
* add PR to changelog
2023-01-02 09:38:53 +11:00
Lea Anthony
908aecfd1c
Update Changelog
2022-12-30 15:58:11 +11:00
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
stffabi
a312c0ffcb
[darwin] Add support for Request/Response streaming ( #2219 )
2022-12-20 13:44:33 +01: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
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
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
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
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
Lea Anthony
6cd5edcc4d
More clarity around bug reports
2022-11-25 14:50:05 +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
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
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
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
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
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
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
Lea Anthony
f7c602c212
Update docs and changelog
2022-11-09 22:06:10 +11:00
Lea Anthony
6a12d01624
Update v2.1.0 release notes
2022-10-26 08:19:46 +11: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
855c74ff30
Make highlighted code line easier to read. Fixes #1951 .
2022-10-12 21:43:28 +11: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
847cd67077
v2.0.0-rc.1 ( #1846 )
...
* v2.0.0-rc.1
* Fix changelog jsx errors. Can't wait to get rid of jsx.
2022-09-13 11:47:13 +10:00
Lea Anthony
961dc4ded6
Remove stats page
2022-08-31 20:00:22 +10:00
Lea Anthony
96bf669d62
Optimise images
2022-08-28 20:55:36 +10:00
Misite Bao
18dae3c5f0
Reorganized contribution guidelines page ( #1784 )
...
* feat(website): update dependencies
* docs: reorganized contribution guidelines page
* feat(website): modify the side directory configuration
* chore: update issue documentation template and configuration
2022-08-23 23:49:23 +10:00
Misite Bao
250c97e6a2
feat(website): change contribution guide type from "doc" to "page" ( #1777 )
2022-08-23 20:52:56 +10:00
Misite Bao
cb6064ff39
feat(website): repair document content ( #1775 )
...
* docs: update changelog
* feat: update website config
* feat(website): add formatting configuration
* docs: fix image resource paths and format documents
* feat(website): update community guide page
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-08-22 19:59:28 +10:00
Lea Anthony
c11c769c04
v2.0.0-beta.44 (updated)
2022-08-20 09:59:34 +10:00
Lea Anthony
58d3ffd241
v2.0.0-beta.44
2022-08-20 09:58:18 +10:00
Lea Anthony
9ee3157780
Update website. Show deprecation notice for
2022-08-18 20:55:05 +10:00
Lea Anthony
a0c4c1ea58
Fix Crowdin screw ups again
2022-08-18 20:30:50 +10:00
allcontributors[bot]
24c45ee488
docs: add Maicarons2022 as a contributor for doc ( #1756 )
...
* docs: update website/src/pages/credits.mdx [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-08-16 21:15:30 +10:00
Lea Anthony
35e961df12
doc: fix headers
2022-08-15 08:33:33 +10:00
Lea Anthony
04094ddf19
New Crowdin updates ( #1720 )
2022-08-10 18:41:22 +10:00
Lea Anthony
ba11e5c6d6
Fix version number
2022-08-08 20:28:38 +10:00
Lea Anthony
1955570264
v2.0.0-beta.43
2022-08-08 20:08:32 +10:00
Lea Anthony
b9882eabe2
Update sponsors
2022-07-26 20:50:34 +10:00
Lea Anthony
87b1d1d2aa
Updated changelog
2022-07-25 22:15:30 +10:00
Lea Anthony
e68b419cc8
Update changelog and version
2022-07-25 22:06:21 +10:00
Lea Anthony
7ea6f6d28e
Fix BackgroundColour documentation. Update changelog. Move contributors into website. Create changelog link.
2022-07-25 20:11:04 +10:00
Lea Anthony
ebb76d85ed
Update deprecation notice
2022-07-24 20:49:16 +10:00
Lea Anthony
8f431aa314
Add deprecation notice
2022-07-24 20:47:10 +10:00
Lea Anthony
cf01d7f2f7
Update credits
2022-07-24 20:43:23 +10:00
Lea Anthony
a43c077423
v2.0.0-beta.40
2022-07-24 20:33:23 +10:00