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

3073 Commits

Author SHA1 Message Date
Misite Bao
6d6e74e7f0
chore: fix-generate-sponsor (#2177)
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-12-04 13:58:08 +11:00
Lea Anthony
51b3488eac
Update build-and-test.yml 2022-12-04 13:26:58 +11:00
希嘉嘉
026bb7c02c
Added templates (#2178)
* Added  templates

vite + solid + js 
vite + solid + ts

* Update templates.mdx

Co-authored-by: Misite Bao <i@misitebao.com>
2022-12-04 09:30:28 +11:00
github-actions[bot]
5262153fa8
docs: sync documents (#2170)
Co-authored-by: misitebao <misitebao@users.noreply.github.com>
2022-12-03 22:32:08 +11:00
Fredrik Holmqvist
53f63f71a0
examples/customlayout: feature: add event listener for enter key (#2176) 2022-12-03 10:16:46 +11:00
Lea Anthony
dc209d1462
Fix build and test pipeline 2022-12-02 07:52:13 +11:00
Misite Bao
c1c1b8b8e6
chore: update-workflows (#2154)
* chore: merge test workflow

* chore: simplify sponsors image generation workflow

* chore: merge PR check workflow

* chore: merge push workflow

* chore: add auto sync translation document workflow

* chore: remove PR branch name check job

* chore: update go test job
2022-12-02 07:05:22 +11:00
stffabi
5cc012d763
[darwin] Inspector tools should also be included into a debug build (#2162) 2022-12-01 09:20:18 +01:00
Misite Bao
bd66451dd9
docs: fix and sync documents (#2140) 2022-12-01 19:18:59 +11:00
Lea Anthony
ea6aee91f1
Refactored build command (#2123)
* Refactored build command

* Update v2/cmd/wails/build.go

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

* WIP

* Refactor `wails doctor`

* Refactor `wails dev`

* Refactor `wails dev`

* Fix merge conflict

* Fix test

* Update build_and_test.yml

Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-12-01 18:18:02 +11:00
github-actions[bot]
9d53db4281
chore: update sponsors.svg (#2150)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-12-01 12:27:11 +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
Aman
ac1e150315
Initial Mac App Store Guide (#2142)
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-11-29 20:03:45 +11:00
stffabi
3fb9169196
Fix compile error (#2147) 2022-11-29 20:01:42 +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
15b7d291f3
fix(cli): fix install error (#2146)
Fixed: https://github.com/wailsapp/wails/issues/2145
2022-11-29 19:26:49 +11: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
github-actions[bot]
6d975b965b
chore: update sponsors.svg (#2131)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-11-28 12:55:39 +11:00
Lea Anthony
6cd5edcc4d
More clarity around bug reports 2022-11-25 14:50:05 +11:00
Lea Anthony
3e8ae9835b
Small update to Mac troubleshooting guide 2022-11-24 21:38:16 +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
Dieter Zhu
011d8e3094
Supplement the missing WindowSetAlwaysOnTop in runtime.d.ts and runtime.js (#2128) 2022-11-24 06:08:15 +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
d0b403b9b8
docs: fix and sync documents (#2119)
* docs: fix Russian documents

* docs: sync French documents
2022-11-22 18:34:04 +11:00
dependabot[bot]
a1bff912a0
Bump loader-utils from 1.4.1 to 1.4.2 in /runtime/js (#2115)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 05:34:10 +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
Misite Bao
91de3ab0c5
docs: update and sync documents (#2112)
* docs: update options documentation

* docs: sync documents

* docs: sync Korean, Russian, French and Portuguese documents

* docs: sync Chinese, Japanese and Korean documents
2022-11-21 22:13:43 +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
github-actions[bot]
8850b453d9
chore: update sponsors.svg (#2106)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-11-18 22:10:45 +11:00
Marvin Collins Hosea
a8bbce6a12
React Hash Router Links returns 404 (#2050)
The linked Hash Router link is not valid anymore and returns a 404.

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-11-17 20:19:24 +11:00
Christian Kilb
66dd310823
Update obfuscated.mdx (#2102)
Fixed a typo.
2022-11-17 20:01:54 +11:00
juju
29acbe3079
Update events.mdx (#2105) 2022-11-17 20:01:02 +11:00
cybertramp
ec82739df1
docs: Add README.ko.md (#2093)
* docs: Add README.ko.md

- Add korean version README
- Update 'README.ko.md' link in README.md

* Update README.zh-Hans.md

* Update README.ja.md

Co-authored-by: Misite Bao <i@misitebao.com>
2022-11-17 05:40:59 +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
Lea Anthony
236570909c
Rename bleeding edge -> local development (#2086) 2022-11-13 22:44:50 +11:00
stffabi
0607777bec
[darwin, inspector] Fix build (#2082) 2022-11-12 21:02:53 +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
Antonio Cheong
e3e20bdb42
Reference NSIS as optional dependency and provide more info (#2070)
* Update system.go

* Update installation.mdx

* Update base docs
2022-11-12 18:36:57 +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
github-actions[bot]
fc312a5f04
chore: update sponsors.svg (#2077)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-11-11 23:46:30 +11:00
Lea Anthony
d77b920ed5
Merge branch 'release/v2.2.0' 2022-11-09 22:33:01 +11:00
dependabot[bot]
4b57d55db2
Bump loader-utils from 1.4.0 to 1.4.1 in /runtime/js (#2068)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 22:29:37 +11:00
Lea Anthony
67e2a4bdeb
Update docs and changelog 2022-11-09 22:26:22 +11:00
Lea Anthony
f7c602c212
Update docs and changelog 2022-11-09 22:06:10 +11:00
Lea Anthony
0a7293d6b6
Update runtime 2022-11-09 21:22:32 +11:00