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

3059 Commits

Author SHA1 Message Date
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