5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 19:51:15 +08:00
Commit Graph

1412 Commits

Author SHA1 Message Date
Debdut Karmakar
6c3418d199
preact-ts template build fix (#1781)
* preact imports

* Copy fix to template template(!). Remove unused Fragment.

* Fix template template!

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-08-27 16:42:33 +10:00
stffabi
3632ef9dc8
[webviewloader] Use go implementation to retrieve the version of a fixed runtime (#1790)
* [webview2loader] Start porting of OpenWebView2Loader to go

* [webviewloader] Use go implementation to retrieve the version of a fixed runtime

This fixes a problem with the go-winloader and using GetAvailableCoreWebView2BrowserVersionString

Fixes #1569

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-08-27 09:29:09 +10:00
stffabi
7e030f3f2b
[webviewloader] Prevent env variables and registry overrides from changing behaviour (#1771) 2022-08-22 07:37:00 +02:00
Lea Anthony
3c69289013
Update generate.go 2022-08-20 15:01:33 +10:00
Lea Anthony
2de1421d83
Update preact template 2022-08-20 15:00:05 +10:00
Lea Anthony
317e0a6fef
Preact templates for vite 3 (#1770) 2022-08-20 14:55:07 +10:00
Lea Anthony
a9fcdd705e
Support vite3 for Vue (#1746) 2022-08-20 14:54:48 +10:00
Lea Anthony
4d51d9b742
Upgrade Lit to use Vite v3 (#1745)
* Upgrade Lit to use Vite v3

* Remove unused files
2022-08-20 14:54:27 +10:00
Lea Anthony
d9a535c393
Upgrade React to use Vite v3 (#1744) 2022-08-20 14:54:06 +10:00
Lea Anthony
3474d4e1e1
v2.0.0-beta.44.2 2022-08-20 13:51:26 +10:00
Lea Anthony
2466bb1fac
v2.0.0-beta.44.1 2022-08-20 13:47:50 +10:00
Lea Anthony
58d3ffd241
v2.0.0-beta.44 2022-08-20 09:58:18 +10:00
Lea Anthony
2651d5d01a
Fix: Do not generate bindings for OnBeforeClose 2022-08-20 08:59:43 +10:00
Lea Anthony
f2568f1899
Experimental support for CSS Drag detection (#1750)
* Support CSS Drag

* Support CSS Drag as experimental option
2022-08-18 20:39:05 +10:00
Lea Anthony
5e2fd56bc9
Fix: Set file permissions for generated files (#1763) 2022-08-18 20:07:18 +10:00
Lea Anthony
add21f6411
fix: handling of default folder for windows dialogs 2022-08-13 16:52:35 +10:00
Valentin Trinqué
cf3c65f0cc
Fix registration of exposed fields (#1727) 2022-08-11 08:41:37 +10:00
Lea Anthony
04094ddf19
New Crowdin updates (#1720) 2022-08-10 18:41:22 +10:00
Ian M. Jones
48cf03cb0d
Fix column widths for doctor command dependencies. (#1717)
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-08-09 17:54:03 +10:00
Lea Anthony
57c9158551
Chore/tidy up (#1713)
* Tidy up dev mode output

* Rename `appng` package to `app`

* Remove `crypto`,`parse`,`messagedispatcher`,`servicebus`,`runtime`,`subsystem`,`ffenestri` packages and `.vscode` dir

* Remove misc `fs` functions

* Remove `str` package

* Fix redundant alias
2022-08-09 07:42:11 +10:00
stffabi
c13c4a29f5
[v2, build] Bug fix collecting of output binaries for platforms (#1715) 2022-08-09 07:41:26 +10:00
Lea Anthony
62526a3e2b
Update release.go to auto-patch paths 2022-08-08 20:26:06 +10:00
Lea Anthony
1955570264
v2.0.0-beta.43 2022-08-08 20:08:32 +10:00
Lea Anthony
d86daaa211
Allow frameless window to be miniturisable (#1705) 2022-08-08 17:28:11 +10:00
Lea Anthony
b6dee773c5
Attempted fix for both drag and doubleclick (#1704)
* Attempted fix for both drag and doubleclick

* Shameful hack for windows doubleclick events

* Handle end of drag

* Remove dbClickInterval
2022-08-08 17:27:23 +10:00
stffabi
833b6bdbb8
Merge pull request #1711
* [v2, dev] Improve error message for auto dev server discovery without…
2022-08-08 17:25:36 +10:00
stffabi
501f7a129e
[v2, dev] Build frontend only before starting the dev watcher command (#1694)
* [v2, dev] Improve logging of dev watcher command during stop

* [v2, dev] Build frontend only before starting the dev watcher command

Breaking Change: Ignore flags take precedence over Force flag.
2022-08-05 20:01:47 +10:00
LGiki
b33211495e
Change frontend:dev to frontend:dev:build (#1691) 2022-08-03 21:19:06 +10:00
Lea Anthony
baff28bb20
Bugfix/linux warnings (#1656)
* Use scaling when setting min/max window

* Fix compile issue. Add debug

* Fix scaling issue

* Fix window widget warnings & shutdown issue. Remove debug lines for linux

* Update dev build with shutdown fix
2022-08-03 21:17:38 +10:00
stffabi
42ef125fb4
[v2, build] gcflags don't need to be quoted (#1689)
This seemed to work for Go < 1.19 but since 1.19 this gives
an error.
2022-08-03 17:15:56 +10:00
LGiki
568015972a
Add frontend:dev:install configuration (#1666)
* Add frontend:dev:install configuration

* When building the frontend in dev mode, use `frontend:dev:install` (if it has been defined) to install the dependencies

* Simplified logic for determining installation command

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-08-03 17:15:22 +10:00
Lea Anthony
224f7c0c56
Move SetMin/Max calls to main thread (#1684)
* Move SetMin/MAx calls to main thread

* Move setsize back to original location

* Remove debug
2022-08-02 06:51:20 +10:00
Lea Anthony
e9fc5c9d5c
Add support for retrieving the release notes from Github. (#1679)
* New command `show`. Adds support for retrieving the release notes from Github. Shown automatically after update.

* Improve code

* Don't show release notes by default, but show how to view them

* Add version flag for release notes

* Escape path
2022-08-01 20:05:05 +10:00
stffabi
3d24a9b4c4
[v2, darwin] Assign a unique requestId to every WKWebView request (#1681)
This makes sure we always use the correct WKURLSchemeTask during
processURLResponse. Only using the URL is not unique enough and
might result in pending requests if two requests with the same URL
are getting processed.
2022-08-01 18:55:25 +10:00
Lea Anthony
d5574ba9d7
Improve colour scheme for light mode terminals 2022-07-31 09:15:20 +10:00
Lea Anthony
c58071be92
Improve template README 2022-07-30 12:31:19 +10:00
Lea Anthony
57f506fa66
Better "context is nil" errors 2022-07-30 09:20:18 +10:00
stffabi
de36477ddc
[v2, darwin] Use kern.osversion for os id in doctor (#1673)
It seems like kern.osrevision is always 199506 since several years
and kern.osversion maps to the official documented build id.

Example: MacOS 12.5 with ID 21G72
2022-07-29 05:43:48 +10:00
stffabi
53e875d96f
[v2, darwin] Make sure to copy the uri during processURLRequest (#1668)
There's no guarantee that the pointer is still valid when
processURLRequest is finished. So we might end up with an
invalid pointer when the request is asynchronously processed.
2022-07-28 08:56:11 +02:00
Lea Anthony
a229e04e3e
Windows dialogs - Handle scenario when window is not visible yet. (#1662)
* Handle scenario when window is not visible yet.

* Handle scenario when window is not visible yet for all dialogs
2022-07-27 19:38:56 +10:00
stffabi
229d36207c
[v2] Fix formatting of some error messages (#1665) 2022-07-27 19:20:30 +10:00
Lea Anthony
8e21061e78
Remove debug info for linux 2022-07-26 08:29:00 +10:00
Lea Anthony
6a474cec53
v2.0.0-beta.42 2022-07-25 22:13:25 +10:00
Lea Anthony
59cfe88628
v2.0.0-beta.41.2 2022-07-25 22:09:07 +10:00
Lea Anthony
e68b419cc8
Update changelog and version 2022-07-25 22:06:21 +10:00
stffabi
11d50c32bd
[dev] Ignore empty install command, we also do ignore it during the build step (#1651)
Otherwise we can't use `wails dev` for projects where `wails build` works, e.g. on the plain template.
2022-07-25 22:03:39 +10:00
Lea Anthony
a0b06c4700
Bugfix/devwatcher error (#1650)
* Fix error logging

* Fix building frontend on initial run of wails dev
2022-07-25 21:47:45 +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
a43c077423
v2.0.0-beta.40 2022-07-24 20:33:23 +10:00
Lea Anthony
0f7bd65815
Update Svelte to Vite 3 (#1643)
Updates to svelte template.
Refactor url detector to strip ANSI codes at point of source
Ignore frontend if external dev server used.
[AssetServer] WebSockets can always directly be forwarded to the handler

Co-authored-by: stffabi <stffabi@users.noreply.github.com>

Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-07-24 20:20:02 +10:00