Compare commits

..

519 Commits

Author SHA1 Message Date
stffabi b3a9332a5b [assetserver] Add linux platform implementation (#2543) 2023-03-31 20:39:13 +11:00
Lea Anthony e91b7832ee Provide types to runtime api 2023-03-31 20:37:50 +11:00
Lea Anthony 0d25edc0c4 Improved api package 2023-03-30 12:51:43 +11:00
Lea Anthony eb36258c73 Merge branch 'master' into v3/plugins 2023-03-27 20:58:00 +11:00
Misite Bao bdb138d42c chore: fix push.yml (#2530) 2023-03-27 07:37:38 +11: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 f429d2ba890020d7ff0772e6207830508261b489.

* Changelog: add line about my contribution
2023-03-25 10:09:17 +11:00
Lea Anthony 365aaf6bb1 Add sqlite plugin 2023-03-25 09:39:59 +11:00
github-actions[bot] b5f1eab59b chore: update sponsors.svg (#2525)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-03-24 23:20:18 +11:00
Lea Anthony 5949e305ea Reorder startup sequence
Add plugin scripts to asset server
Add InjectJS support in plugins
2023-03-24 08:43:00 +11:00
github-actions[bot] 5988cdca9a chore: update sponsors.svg (#2517)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-03-23 19:33:04 +11:00
Lea Anthony bf86b0d9c1 Add Window creation hooks
Add InjectJS() to plugins interface
2023-03-23 06:51:24 +11:00
Misite Bao 93d7c6b5f3 docs: optimize code block display style (#2520) 2023-03-22 21:54:08 +11:00
Lea Anthony d5808fde59 Simple logging plugin 2023-03-22 20:56:45 +11:00
Lea Anthony 3ae604e474 Exported() -> CallableByJS() 2023-03-22 20:42:20 +11:00
Lea Anthony 42fb91bc73 Fix for variadic args in bound methods 2023-03-22 20:36:46 +11:00
github-actions[bot] 7d28ad1a3b docs: sync documents (#2510)
Co-authored-by: misitebao <misitebao@users.noreply.github.com>
2023-03-21 17:47:23 +11:00
Lea Anthony 4165caa02e Add Exported() []string to plugin API 2023-03-21 08:55:55 +11:00
Lea Anthony b656bd2194 Prevent beeps when pressing a key in Mac window 2023-03-20 20:48:22 +11:00
Lea Anthony a7278b4224 Update docs 2023-03-20 20:32:25 +11:00
Lea Anthony e2b7b68ec9 v2.4.1 2023-03-20 20:31:35 +11:00
Lea Anthony ba82f27534 Fix Bug with nil parameters.
Added browser and kvstore plugins.
2023-03-20 20:28:33 +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
github-actions[bot] 77f053068c docs: sync documents (#2504)
Co-authored-by: misitebao <misitebao@users.noreply.github.com>
2023-03-19 20:37:06 +11:00
Lea Anthony 13f620ae54 Add plugin init. Update plugin signature. 2023-03-19 09:13:05 +11:00
github-actions[bot] e3edea1cb3 chore: update sponsors.svg (#2498)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-03-18 11:48:23 +11:00
Lea Anthony c774af48b7 Extend call subsystem to support plugins 2023-03-18 09:12:44 +11:00
Lea Anthony 4300521064 Initial implementation 2023-03-18 08:11:36 +11:00
Filip Borkiewicz a0b7eb4ab6 Fix incorrect rendering of FAQ section header (#2497) 2023-03-18 07:37:21 +11:00
Lea Anthony 86aaa3a956 Merge branch 'v3/central-assetserver' into v3/plugins 2023-03-17 17:03:21 +11: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
github-actions[bot] a2c1c507e1 chore: update sponsors.svg (#2492)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-03-16 19:27:23 +11:00
stffabi 74f349862e [v3] AssetServer options update comments 2023-03-16 06:49:46 +01:00
stffabi 0e614b0194 [v3] Centralize the AssetServer and move it to the application 2023-03-16 06:49:45 +01:00
github-actions[bot] 4bffc57cb5 chore: update sponsors.svg (#2488)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-03-14 17:32:25 +11:00
stffabi 5dba18c853 [dev] Fix panic in devserver when using the logger (#2481) 2023-03-13 08:12:09 +01:00
github-actions[bot] 4cd873fecb docs: sync documents (#2443)
Co-authored-by: misitebao <misitebao@users.noreply.github.com>
2023-03-11 17:57:56 +11:00
Misite Bao e339c40e85 feat: update sync translated document script (#2479) 2023-03-11 14:09:48 +11:00
github-actions[bot] 050ac9e613 chore: update sponsors.svg (#2478)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-03-11 12:54:20 +11:00
Lea Anthony 58986237b9 [v3] Minor fixes to templates + improved Taskfile 2023-03-11 12:48:10 +11:00
Lea Anthony 7cb4c7b505 [v3] Improve init command 2023-03-10 08:05:13 +11:00
dependabot[bot] e3816e714e Bump golang.org/x/net in /v3/examples/binding (#2472)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220722155237-a158d28d115b to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-09 20:07:11 +11:00
github-actions[bot] 1684894b52 chore: update sponsors.svg (#2474)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-03-09 20:06:35 +11:00
Lea Anthony e302d11f12 Update module deps 2023-03-09 08:23:20 +11:00
Lea Anthony eb670f4ba1 Merge branch 'master' into feature/v3-parser
# Conflicts:
#	v3/go.mod
#	v3/go.sum
2023-03-09 08:22:47 +11:00
Lea Anthony 5e0ce40b41 Update TODO 2023-03-09 08:21:37 +11:00
Lea Anthony ebc14debdf Release/v2.4.0 (#2470)
* Release v2.4.0

* Add docs
2023-03-08 23:27:23 +11:00
github-actions[bot] 66bd24e184 chore: update sponsors.svg (#2455)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-03-08 08:31:23 +11:00
dependabot[bot] 5e88d8d8cf Bump golang.org/x/net in /v2/internal/staticanalysis/test/standard (#2458)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20221014081412-f15817d10f9b to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:30:51 +11:00
dependabot[bot] 5c7bfc3557 Bump golang.org/x/crypto in /v2 (#2459)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20210921155107-089bfa567519 to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:30:35 +11:00
dependabot[bot] 8f27685ebd Bump golang.org/x/crypto in /v2/examples/customlayout (#2466)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20210921155107-089bfa567519 to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:30:10 +11:00
dependabot[bot] 30efebd76a Bump golang.org/x/image from 0.0.0-20200430140353-33d19683fad8 to 0.5.0 (#2467)
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.0.0-20200430140353-33d19683fad8 to 0.5.0.
- [Release notes](https://github.com/golang/image/releases)
- [Commits](https://github.com/golang/image/commits/v0.5.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:29:38 +11:00
dependabot[bot] fdda3d2238 Bump golang.org/x/image in /v3 (#2460)
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.0.0-20201208152932-35266b937fa6 to 0.5.0.
- [Release notes](https://github.com/golang/image/releases)
- [Commits](https://github.com/golang/image/commits/v0.5.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:25:36 +11:00
dependabot[bot] f59ce04ac2 Bump golang.org/x/image in /v2 (#2463)
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.0.0-20201208152932-35266b937fa6 to 0.5.0.
- [Release notes](https://github.com/golang/image/releases)
- [Commits](https://github.com/golang/image/commits/v0.5.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-03-08 08:25:07 +11:00
dependabot[bot] 1d9bb20584 Bump golang.org/x/net in /v2/examples/customlayout (#2465)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220722155237-a158d28d115b to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:24:26 +11:00
dependabot[bot] f551ebdffa Bump github.com/tidwall/gjson from 1.8.0 to 1.9.3 in /v2 (#2464)
Bumps [github.com/tidwall/gjson](https://github.com/tidwall/gjson) from 1.8.0 to 1.9.3.
- [Release notes](https://github.com/tidwall/gjson/releases)
- [Commits](https://github.com/tidwall/gjson/compare/v1.8.0...v1.9.3)

---
updated-dependencies:
- dependency-name: github.com/tidwall/gjson
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:22:32 +11:00
dependabot[bot] 3afc7f7763 Bump golang.org/x/net in /v2 (#2457)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220722155237-a158d28d115b to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:09:59 +11:00
stffabi c11c32940e [events] Fix race condition and missing unlock of mutex (#2453) 2023-03-07 10:40:33 +01:00
Lea Anthony 26530a0f5a Fix reserve word check.
Add model generation.
Warn if field is unexported in the Go struct
2023-03-07 19:48:30 +11:00
Lea Anthony 7340247e25 Create bindings file per package
Improved bindings tests
2023-03-07 18:22:33 +11: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
Lea Anthony f1a7f1b781 Improved bindings generation 2023-03-06 20:54:04 +11:00
github-actions[bot] 17ff16c1ad chore: update sponsors.svg (#2449)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-03-06 19:10:57 +11:00
github-actions[bot] ac4de2289a chore: update sponsors.svg (#2440)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-03-05 11:18:33 +11:00
Lea Anthony 71aa7c9731 Initial bindings.js generation 2023-03-03 19:54:12 +11:00
Lea Anthony 41860ade10 Update all-contributosrc 2023-03-02 08:22:33 +11:00
Lea Anthony 868b769e7f Initial bindings generation 2023-03-01 21:31:29 +11:00
wander 29a4c28da4 add showcase (#2435) 2023-03-01 19:49:11 +11:00
Rachel Chen ad2fed8f08 [v2] frontend/runtime/wrapper: return function return value in runtime wrapper (#2434) 2023-03-01 07:37:09 +01:00
Lea Anthony 8dc8c8e15e Merge remote-tracking branch 'origin/feature/v3-parser' into feature/v3-parser 2023-02-28 20:35:39 +11:00
Adam Tenderholt da90e74268 v3 parser: initial work on model generation w/ templates (#2428)
* v3 parser: initial work on model generation w/ templates

* v3 parser: expand models to namespaces
2023-02-28 20:35:18 +11:00
stffabi c6146ccbf8 [darwin] Fix undo/redo (#2430) 2023-02-28 19:41:18 +11:00
Lea Anthony 443ea46d1d Example bindings 2023-02-27 20:05:54 +11:00
github-actions[bot] d66e75c456 chore: update sponsors.svg (#2429)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-27 19:54:00 +11:00
Lea Anthony 00c458f948 Implement basic binding 2023-02-26 20:49:29 +11:00
Lea Anthony 33855ff01d Add tests for bound structs returned by function calls. 2023-02-26 19:18:47 +11:00
Lea Anthony bcde850bac Revert changes to file output 2023-02-26 15:11:24 +11:00
Lea Anthony f9ffe915f2 Add bindings hook 2023-02-26 15:06:05 +11:00
github-actions[bot] 393a4c9251 chore: update sponsors.svg (#2424)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-26 13:14:25 +11:00
Lea Anthony 91676080eb Support binding variables that were assigned by functions 2023-02-26 13:12:30 +11:00
Lea Anthony 6afb5260a7 Refactor parsing functions 2023-02-26 08:56:27 +11:00
Adam Tenderholt 0f80f031fd v3 parser: add some more test cases (functions) (#2422)
* [v3] add test case for parser (create struct from func)

* [v3] add another test case for parser (func in other pkg) + misc
2023-02-26 07:46:26 +11:00
Lea Anthony 76371fcb27 Refactor recent mac updates (#2419) 2023-02-25 20:28:27 +11:00
dependabot[bot] 9b35926789 Bump cacheable-request from 10.2.5 to 10.2.7 in /v3/internal/runtime (#2368)
Bumps [cacheable-request](https://github.com/jaredwray/cacheable-request) from 10.2.5 to 10.2.7.
- [Release notes](https://github.com/jaredwray/cacheable-request/releases)
- [Commits](https://github.com/jaredwray/cacheable-request/commits)

---
updated-dependencies:
- dependency-name: cacheable-request
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-02-25 13:01:23 +11:00
Hao 0212698714 Patch 1 (#2352)
* update function notifyListeners in events.js

newEventListenerList will delete wrong listener if it call splice method in for-loop.

* Update events.js

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-02-25 12:58:59 +11:00
Watson-Sei dcfd525dd1 ja translation of tutorials (#2393)
* ja translation of tutorials

* reset v2.3.1 md and moved translate md to current

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-02-25 12:52:16 +11:00
github-actions[bot] 01820d0e8e chore: update sponsors.svg (#2418)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-25 12:32:22 +11:00
Lea Anthony 3eaaf31803 Upgrade sponsorkit 2023-02-25 12:29:46 +11:00
github-actions[bot] 64ff075302 chore: update sponsors.svg (#2416)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-25 10:02:34 +11:00
Lea Anthony ecc1791420 Support bound variables (struct literals)
Factor out unaryexpression parsing
Fix package bleed between tests
2023-02-25 09:47:50 +11:00
Lea Anthony 4a8917ecbc Add nested anonymous struct test 2023-02-25 08:27:36 +11:00
Lea Anthony cc1a6a3d50 Support anonymous struct fields 2023-02-25 08:24:58 +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
Lea Anthony cd11c0a83c Support references to structs in other packages 2023-02-24 21:15:39 +11:00
Lea Anthony 8fd0e06c24 Use package path instead of name 2023-02-23 20:26:15 +11:00
dependabot[bot] c20ccfb9a6 Bump golang.org/x/text from 0.3.0 to 0.3.8 (#2404)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.0 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.0...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-02-23 20:05:25 +11:00
dependabot[bot] 2686d5c61a Bump golang.org/x/text from 0.3.7 to 0.3.8 in /v2/examples/customlayout (#2409)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-02-23 20:04:29 +11:00
github-actions[bot] 6c2b0fcb02 chore: update sponsors.svg (#2403)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-23 20:03:16 +11:00
dependabot[bot] 42f43462e8 Bump golang.org/x/text from 0.3.7 to 0.3.8 in /v2 (#2408)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-23 20:02:19 +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
Lea Anthony 4e5be36459 Parse structs bound from other packages 2023-02-22 20:36:30 +11:00
stffabi cccd708b2b [assetserver] Add more builtin mimetypes by extension (#2391) 2023-02-21 18:20:01 +11:00
Lea Anthony 6bfd654ec8 Tidy up. More tests. 2023-02-21 17:10:36 +11:00
Lea Anthony dc0d99a8e9 Cover all type combinations
Fix bug in pointer type resolution
2023-02-21 07:52:29 +11:00
Lea Anthony b606561f8d Move struct cache into parsed package
Fix bug in package path calculation
2023-02-21 07:18:08 +11:00
Lea Anthony d0769ecd1c Parse Models
Support recursive fields
Add loads of tests
2023-02-20 20:36:58 +11:00
Lea Anthony 95bb15eef4 [v3] MUCH Improved parser for bound structs 2023-02-19 20:59:03 +11:00
Lea Anthony 93aa8345dc [v3] Improved parser for bound structs 2023-02-17 21:01:16 +11:00
Lea Anthony e1279a054f [v3] Improved parser for bound structs 2023-02-17 20:57:31 +11:00
Lea Anthony bd184cab85 [v3] Improve plain example 2023-02-16 20:28:24 +11:00
Lea Anthony 94f0f6ff82 wml refresh -> wml reload 2023-02-16 20:19:53 +11:00
Lea Anthony af5e383905 Add wml demo 2023-02-16 20:16:20 +11:00
Lea Anthony 0881914244 Support data-wml-trigger attribute 2023-02-16 20:15:06 +11:00
github-actions[bot] c9492ec258 chore: update sponsors.svg (#2379)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-16 19:56:42 +11:00
Lea Anthony c415c1b321 Added Wails ML experiment
added Window.Close to js runtime
2023-02-15 20:58:57 +11:00
Lea Anthony a5e10557c5 Support Screens API 2023-02-15 18:56:52 +11:00
Lea Anthony 045a830fbc Add "DragAndDropEnabled" option for window
Add "FileDraggingExited" event
2023-02-15 18:56:52 +11:00
stffabi 260fd061f6 [nsis] Adjust template to install shortcuts for all users (#2373) 2023-02-13 18:40:42 +11:00
Lea Anthony d86e11cef1 Fix bad merge 2023-02-12 13:36:58 +11:00
Lea Anthony 9c42049c6a Merge remote-tracking branch 'origin/master' 2023-02-12 12:38:36 +11:00
Lea Anthony b16b263820 Merge branch 'feature/asset-server-runtime'
# Conflicts:
#	v3/V3 Changes.md
#	v3/examples/events/assets/index.html
#	v3/examples/events/main.go
#	v3/internal/runtime/desktop/main.js
#	v3/internal/runtime/package-lock.json
#	v3/internal/runtime/package.json
#	v3/internal/runtime/runtime_debug_desktop_darwin.js
#	v3/internal/runtime/runtime_debug_desktop_linux.js
#	v3/internal/runtime/runtime_debug_desktop_windows.js
#	v3/internal/runtime/runtime_production_desktop_darwin.js
#	v3/internal/runtime/runtime_production_desktop_linux.js
#	v3/internal/runtime/runtime_production_desktop_windows.js
#	v3/pkg/application/application.go
#	v3/pkg/application/messageprocessor.go
#	v3/pkg/application/messageprocessor_window.go
#	v3/pkg/application/options_webview_window.go
#	v3/pkg/application/webview_window.go
#	v3/pkg/application/webview_window_darwin.go
#	v3/pkg/options/application.go
2023-02-12 12:35:46 +11:00
github-actions[bot] adca2150d4 chore: update sponsors.svg (#2370)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-12 12:33:08 +11:00
Lea Anthony 24b639646a Merge master 2023-02-12 09:14:23 +11:00
Lea Anthony 2c4c0b4b6b Add dnd window event + demo 2023-02-12 08:54:08 +11:00
Lea Anthony 23bfeac02a Window event callbacks now take a WindowEventContext
Improved event example
2023-02-12 07:58:14 +11:00
Lea Anthony a2528fd066 data-contextmenu-id -> data-contextmenu 2023-02-12 06:58:51 +11:00
dependabot[bot] 40ab0d3983 Bump json5 from 1.0.1 to 1.0.2 in /runtime/js (#2274)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-11 15:00:27 +11:00
Joshua Mangiola fa33e5d2bc Update to Mac App Store Guide (#2369) 2023-02-11 15:00:03 +11:00
Lea Anthony 9b25e639f5 Support context menus 2023-02-10 08:25:52 +11:00
Lea Anthony 23d2c9a741 Refactor main.tmpl.go -> main.go.tmpl 2023-02-09 21:14:16 +11:00
github-actions[bot] 3fde885d34 chore: update sponsors.svg (#2361)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-09 18:41:47 +11:00
Lea Anthony f951b51c11 Context menu WIP
options refactor
2023-02-09 18:35:26 +11:00
Lea Anthony 5dbda4aead Feature: AssetServer Runtime (#2335)
* Tidy up runtime JS

* Initial implementation of runtime over http

* Update runtime deps. Fix test task.

* Support Clipboard.
Message Processor refactor.

* Add `Window.Screen()`
Clipboard `GetText` -> `Text`

* Support most dialogs
Better JS->Go object mapping
Implement Go->JS callback mechanism
Rename `window.runtime` -> `window.wails` to better reflect the Go API

* Support SaveFile dialog

* Remove go.work

* Tidy up

* Event->CustomEvent to prevent potential clash with native JS Event object
Support Eventing

* Support application calls

* Support logging

* Support named windows
Remove debug info

* Update v3 changes
2023-02-06 20:50:11 +11:00
Lea Anthony cd1e3f5bb0 Update v3 changes 2023-02-06 20:45:50 +11:00
Lea Anthony 00ee79ecdc Support named windows
Remove debug info
2023-02-06 20:43:11 +11:00
Lea Anthony f94e798c50 Support logging 2023-02-06 20:29:33 +11:00
Lea Anthony 3bd6c34ae6 Support application calls 2023-02-04 19:49:30 +11:00
github-actions[bot] 88e79f2598 chore: update sponsors.svg (#2346)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-04 11:35:16 +11:00
Lea Anthony f26756be9c Event->CustomEvent to prevent potential clash with native JS Event object
Support Eventing
2023-02-04 11:27:27 +11:00
github-actions[bot] 522a634b86 chore: update sponsors.svg (#2341)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-03 08:54:12 +11:00
github-actions[bot] 0fed83ec21 chore: update sponsors.svg (#2337)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-01 20:18:16 +11:00
David Walton 709244c3a2 Fix #2280 - code block highlights (#2338)
* Fix #2280; code highlight & minor linter change

* Fix #2280; adjust code highlight
2023-02-01 17:52:43 +11:00
David Florness e1bd841be3 fix grammar (#2334) 2023-01-31 17:51:51 +11:00
Lea Anthony 0e8144e52f Tidy up 2023-01-30 19:52:53 +11:00
Lea Anthony 00e585e864 Remove go.work 2023-01-30 19:22:39 +11:00
Lea Anthony c46c0c335c Support SaveFile dialog 2023-01-30 19:21:49 +11:00
Lea Anthony 73b08a45de Support most dialogs
Better JS->Go object mapping
Implement Go->JS callback mechanism
Rename `window.runtime` -> `window.wails` to better reflect the Go API
2023-01-29 21:01:54 +11:00
Lea Anthony 226572a1df Add Window.Screen()
Clipboard `GetText` -> `Text`
2023-01-28 09:11:06 +11:00
Lea Anthony 25577b7655 Support Clipboard.
Message Processor refactor.
2023-01-28 08:59:44 +11:00
Lea Anthony c0ec5af18a Update runtime deps. Fix test task. 2023-01-28 08:51:34 +11:00
Lea Anthony 14b201bb65 Initial implementation of runtime over http 2023-01-27 21:05:53 +11:00
Lea Anthony 8534b32a9f Tidy up runtime JS 2023-01-27 15:47:23 +11:00
Lea Anthony 368f0e48bc Fix build and test workflow 2023-01-27 11:55:59 +11:00
Richard Guay 5a747e75f1 The title was still wrong (#2331)
Fixing the title to properly reflect the page. Somehow I messed up the merge.
2023-01-26 21:42:47 +11:00
Lea Anthony 1c72e1fa33 [v3] Add gowork.sum 2023-01-26 20:43:51 +11:00
Lea Anthony 293d730708 [v3] Updated runtime to take window id into consideration
[v3] Ported most of the window functions for JS
2023-01-26 20:43:26 +11:00
Lea Anthony 2a68fae55e [v3] Remove 'assets.URL' 2023-01-26 20:43:26 +11:00
Richard Guay 3148154308 Fixing BulletinBoard page (#2328)
* Adding Tutorial link

* Fixed EmailIt, Modal File Manager, and ScriptBar descriptions and added BulletinBoard

* Fixing BulletinBoard page

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-01-26 18:40:53 +11:00
Adam Tenderholt 88549a14ac Fix differeng bugs when generating bindings (#2326)
* Bindings: work in better typescript generation

* More work on generating typescript

* Bindings: fix a couple of failing tests

* Binding: fix map bindings

* Bindings: comment out debug statement

* Bindings: misc cleanup
2023-01-26 18:40:05 +11:00
Sebastian Bauer 180eef34a2 Remove all systray related for v2. (#2329)
Possible fix for #2265. Close systray separately after the application ran.
2023-01-26 18:11:31 +11:00
Lea Anthony c34c761c5f [v3] Fix crash when calling window.Show() before application.Run() 2023-01-26 07:34:25 +11:00
Oleg Gulevskyy 651a1a5d66 Bugfix: Include ts pref & suffixes in module generation (#2227)
* include ts gen pref and suff in class fields

* fix nested namespaces not prefixed

* add basic unit test for parent child

* test for diff namespaces imports

* make entityReturn type func more generic

* get full entity name for TS args list

* fix failing test on empty struct

* wire up gen tests

* remove comment

* remove redundant line
2023-01-23 21:18:17 +11:00
Lea Anthony 4bb7b80d62 [v3] Add wails build info 2023-01-23 21:11:19 +11:00
Lea Anthony 82287a4758 [v3] Support task flags pass through
[v3] `wails build` -> `wails task build`
2023-01-23 21:08:03 +11:00
github-actions[bot] 8239964c28 chore: update sponsors.svg (#2327)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-01-23 17:16:01 +11:00
Lea Anthony 428584d583 [v3] Add TODO 2023-01-22 16:52:26 +11:00
Lea Anthony ee1978aa42 [v3] Initial template support (likely to change) 2023-01-22 15:39:57 +11:00
Sebastian Bauer 895d6d4b80 Size() calculates DPIs back to default space. (#2325) 2023-01-22 15:25:26 +11:00
github-actions[bot] a5ddce2c7c chore: update sponsors.svg (#2317)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-01-22 15:25:04 +11:00
Richard Guay e4789750c8 Updating and Adding (#2324)
* Adding Tutorial link

* Fixed EmailIt, Modal File Manager, and ScriptBar descriptions and added BulletinBoard

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-01-22 07:28:51 +11:00
Brian Dwyer f8c673874b Fix memory leak on Darwin when toggling system tray icon (#2322) 2023-01-21 15:46:06 +11:00
Lea Anthony 5ef32760f0 Update task 2023-01-18 22:08:25 +11:00
Lea Anthony 81645190f0 merge exp branch 2023-01-18 21:42:49 +11:00
Lea Anthony 18d0ed890a Merge branch 'blog/v3-roadmap' 2023-01-18 20:59:38 +11:00
Lea Anthony 2479603143 Add github issue link 2023-01-18 17:41:33 +11:00
Lea Anthony dbf6b3a718 updated 2023-01-18 07:57:10 +11:00
stffabi 45c3a501d9 [cli] Fix applying default arch to platform flag (#2309) 2023-01-17 20:39:15 +01:00
Lea Anthony 401165ce30 blog 2023-01-17 21:19:17 +11:00
stffabi caa0b6c804 [assetServer, darwin] Use AssetServer native WKWebView request handling (#2283) 2023-01-16 13:02:18 +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
Gwyn 8c7fa4cf4c Updates all default gitignore templates to be newline terminated. (#2306)
This allows echoing new patterns to the end of the file without
causing a string concatenation error.
2023-01-16 21:02:52 +11:00
Oussama Sethoum d0bd849be6 Update events.mdx (#2300)
* Update events.mdx

* Add doc update to docs dir

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-01-16 20:59:58 +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
github-actions[bot] 93cfc777f9 chore: update sponsors.svg (#2293)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-01-16 20:53:31 +11:00
stffabi d15e673a19 [windows] Some improvements to fullscreen (#2299) 2023-01-15 06:14:15 +01:00
Supian M ec8e9b2715 Fix Broken Badge (#2292) 2023-01-12 20:01:56 +11: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 54ca6c7059 Refactor assetserver into pkg (#2260) 2023-01-08 11:25:21 +01:00
Lea Anthony 6e3b4cf1a1 Add Warmine to showcase 2023-01-08 12:53:14 +11:00
Zámbó, Levente c3011813b0 linux separate window c and go file (#2275) 2023-01-07 16:20:11 +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
Noah Hsu e1fc7119bc docs: fix admonitions syntax (#2263) 2023-01-07 15:36:37 +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 0a32c1124e Add common text clipboard support (#2228) 2023-01-05 16:41:07 +11:00
Igor Sementsov fc9dd99dea Update troubleshooting.mdx (#2252)
* Update troubleshooting.mdx

https://github.com/wailsapp/wails/issues/2249

* Move guide to docs

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-01-05 16:19:49 +11:00
希嘉嘉 2727af43d4 Update templates.mdx (#2230)
添加 solid 模版的中文描述信息。
2023-01-05 16:09:53 +11:00
github-actions[bot] 4d0163d8af chore: update sponsors.svg (#2271)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-01-05 15:12:13 +11:00
stffabi ebc653a584 [windows] Add support for AdditionalBrowserArgs to the legacy Webview2Loader (#2267) 2023-01-02 22:41:56 +01: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 d3b4105f75 Chore/refactor assetserver (#2250)
* Remove context from API calls

* Remove logger dependency

* Remove fs dependency

* Remove runtime dependency

* Update Windows/Linux calls to NewAssetServerMainPage

* Add missing imports

* fix runtime import clash
2022-12-31 10:36:07 +11:00
stffabi 66bc258f81 [windows] Fix compile error for 386 platform (#2257) 2022-12-30 21:33:39 +01:00
Lea Anthony 908aecfd1c Update Changelog 2022-12-30 15:58:11 +11:00
Lea Anthony 0aa056fcc5 Bump version to v2.3.1 2022-12-30 07:38:22 +11:00
Lea Anthony 1b2bc8ee27 Remove old docs 2022-12-29 16:00:10 +11:00
Lea Anthony f01e1e5bda Update docs to v2.3.0 2022-12-29 15:59:38 +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
Adam Tenderholt 52f872b65c [binding] TS returns Promise<void> when go returns error (#2247) 2022-12-28 22:32:29 +11:00
github-actions[bot] 0474a9e89a chore: update sponsors.svg (#2236)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-12-26 16:00:25 +11:00
stffabi 2345d3b3c2 [assetHandler] Add request path checks (#2235) 2022-12-24 18:45:07 +11:00
stffabi a312c0ffcb [darwin] Add support for Request/Response streaming (#2219) 2022-12-20 13:44:33 +01:00
Vadim Shchepotev e2f1429c67 Fix issue with anonymous structures (#2186)
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-12-20 22:54:11 +11:00
NullCode 04e92a813b Update libwebkit package name for Fedora (#2218)
* Update libwebkit package name for Fedora

Fixes issue with `wails doctor` not detecting updated version of libwebkit on Fedora

* Keep existing libwebkit package

...for backwards compatibility

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-12-20 22:53:36 +11:00
Lea Anthony d588c7a4d2 Bugfix/sync go mod (#2222)
* Add nosyncgomod flag

* Fix tests on unix

* Fix tests on unix
2022-12-20 22:15:36 +11:00
Lea Anthony 8067a1cedb Add nosyncgomod flag (#2215)
* Add nosyncgomod flag

* Fix tests on unix
2022-12-20 22:08:02 +11: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
github-actions[bot] aa5875e8ca chore: update sponsors.svg (#2207)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-12-15 20:57:34 +11:00
Oleg Gulevskyy 6b110c83e9 basic check if a specific commit is in use (#2107) 2022-12-14 23:06:37 +11:00
stffabi 006b0c65b4 [webview2loader] Add missing windows build constraint (#2201) 2022-12-13 13:51:01 +01:00
stffabi 55ca6c0bf3 [dev] Remove redundant steps that are also executed during build.Build (#2196)
* Remove redundant generation of bindings
* Remove redundant CreateEmbedDirectories
2022-12-13 13:44:00 +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
Lea Anthony e57bfe002a Fix right mouse button event (#2190) 2022-12-13 07:09:45 +11:00
Matt Holt 38ffbb3161 Trim spaces around version (#2197)
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-12-12 20:40:02 +01:00
stffabi eb2d929824 [bindings] Pass ts_generation flags as env variable (#2194)
Otherwise this will clash if an app also uses flags internally
2022-12-11 07:38:06 +11:00
Vadim Shchepotev 7a22e0f885 Add dummy systray_mac to fix unit tests (#2187) 2022-12-10 19:57:11 +01:00
tk 3f077d9bdb Update templates.mdx (#2184)
Add wails-template-naive
2022-12-07 18:50:22 +11:00
Lea Anthony b84a2e5255 Windows tray menus (#2181)
* Add example

* Add windows systray

* Add gitkeep

* use windows.GUID
2022-12-06 20:55:56 +11:00
dependabot[bot] 0581ad03b1 Bump minimatch from 3.0.4 to 3.1.2 in /runtime/js (#2164)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  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>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-12-06 08:29:08 +11:00
dependabot[bot] 81aa376b09 Bump decode-uri-component from 0.2.0 to 0.2.2 in /runtime/js (#2179)
* Bump decode-uri-component from 0.2.0 to 0.2.2 in /runtime/js

Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

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

* Update build-and-test.yml

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-12-06 08:28:36 +11:00
Travis McLane d2339de5ff chore: remove unreachable code (#2182)
pkg/menu/styledlabel.go:255:2: unreachable code
2022-12-06 08:27:48 +11:00
Misite Bao f70d9de366 fix: fix go test errors (#2169)
* fix: fix go test errors

* Add flags to mac test

* Run on all branches

* Update PR workflow

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-12-06 06:45:06 +11:00
github-actions[bot] 606ce3de1d chore: update sponsors.svg (#2180)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-12-04 14:05:37 +11:00
Lea Anthony 76f68aa392 Update sponsor-image workflow 2022-12-04 14:03:43 +11:00
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
Misite Bao 4c840c07f2 docs: sync documents (#2063)
* docs: sync documents

* docs: fix document escape syntax
2022-11-09 06:25:18 +11:00
Sean Gosiaco 8ee493f48d Added quasar-js and quasar-ts templates (#2062) 2022-11-08 20:34:05 +11:00
github-actions[bot] 95116912a2 chore: update sponsors.svg (#2054)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-11-06 15:32:15 +11:00
github-actions[bot] 55f76a291b chore: update sponsors.svg (#2051)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-11-05 14:34:14 +11:00
github-actions[bot] 928bc75602 chore: update sponsors.svg (#2049)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-11-04 18:32:17 +11:00
Lea Anthony 18b2d315dd Modularize wails (#2009)
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-11-03 21:21:40 +11:00
stffabi 0a1c05df16 [windows] Fix frameless maximizing in multi monitor setup (#2043) 2022-11-03 19:14:00 +11:00
github-actions[bot] 3d62681450 chore: update sponsors.svg (#2022)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-10-30 19:27:08 +11:00
stffabi 638caf72f0 [assetserver] Introduce middleware and extract options (#2016)
* [assetserver] Add support for HTTP Middlewares

* [dev] Disable frontend DevServer if no Assets has been defined and inform user

* [dev] Consistent WebSocket behaviour in dev and prod mode for assets handler and middleware

In prod mode we can't support WebSockets so make sure the
assets handler and middleware never see WebSockets in dev mode.

* [templates] Migrate to new AssetServer option

* [docs] Add assetserver.Options to the reference
2022-10-29 23:15:15 +02:00
Lea Anthony 4cd89e1507 Add Angular docs 2022-10-29 19:35:41 +11:00
github-actions[bot] ac8ed94ae6 chore: update sponsors.svg (#2018)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-10-26 18:29:36 +11:00
Lea Anthony 52238f0fdd Update Mac troubleshooting guide 2022-10-26 08:23:00 +11:00
Lea Anthony 6a12d01624 Update v2.1.0 release notes 2022-10-26 08:19:46 +11:00
Misite Bao 00864fa14f docs: sync documents (#2013) 2022-10-26 08:02:36 +11:00
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
Lea Anthony 37954141cc Update build_and_test.yml 2022-09-30 08:25:03 +10:00
Lea Anthony d699e77c33 Update build and test workflow 2022-09-30 08:22:22 +10:00
Lea Anthony 60a59f12b2 Update build and test workflow 2022-09-30 08:15:20 +10:00
Misite Bao 5421f559df docs: sync documents (#1907)
* fix(website): fix command flag name

* feat(website): sync translations
2022-09-30 07:17:34 +10:00
Zámbó, Levente b1e04772d9 bugfix/linux framless window drag (#1916) 2022-09-30 00:06:11 +10:00
Lea Anthony 941218d1c8 Update README.md 2022-09-29 20:51:41 +10:00
Lea Anthony b2069c871d Refactor app (#1909)
* Application refactor

* [windows] refactor out main loop. Create new application struct. Refactor assethandler/assetserver signatures.

* Refactor darwin app

* Refactor app for linux

* Update v2/internal/frontend/assetserver/assethandler.go

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

* Update v2/internal/frontend/assetserver/assethandler.go

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

* Update v2/internal/frontend/assetserver/assetserver.go

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

* Update v2/internal/frontend/assetserver/assetserver.go

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

Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-09-29 18:43:35 +10:00
Lea Anthony e22cfc18c9 Update howdoesitwork.mdx 2022-09-28 08:32:14 +10:00
ALMAS 2d61278125 Update Chinese translation (#1894)
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-09-26 20:43:28 +10:00
Lea Anthony 9f81013530 chore: Update workflows 2022-09-26 18:00:38 +10:00
Lea Anthony 52845a7ca5 chore: Update release workflow 2022-09-26 17:54:56 +10:00
Lea Anthony 1571b10b84 Quote command arguments if they have a space (#1892) 2022-09-25 22:20:01 +10:00
stffabi f5549db85d [dev] Do not generate bindings in the dev app itself (#1899)
* [dev] Pass skip bindings to the building process

* [dev] Do not generate bindings in the dev app itself

This is done outside during `wails dev` bootstrapping and
fast regeneration seems to sometime cause locking problems
on Windows.
2022-09-25 21:21:41 +10:00
stffabi 953e67e7ed [assetHandler] Remove redundant log prefix (#1896) 2022-09-24 18:03:16 +10:00
Arif Ali 73b9dead5d obfuscated instead of obfuscate in the docs (#1895)
the option in the docs is the wrong flag you have to add a d at the end
2022-09-24 15:05:18 +10:00
Misite Bao 211eb52747 chore: update the label name in the issue template (#1893) 2022-09-24 11:50:57 +10:00
Lea Anthony 91d0d96359 Add issue translator (#1891) 2022-09-24 07:52:19 +10:00
Lea Anthony fbf11aa088 Auto label project cards (#1881) 2022-09-23 14:16:34 +10:00
Lea Anthony fd32734382 Add support for default No button (#1875)
* Add support for default No button

* Fix tests
2022-09-23 10:50:54 +10:00
Lea Anthony 48b3fb0f51 Add PR checks (#1879)
* Add PR checks

* Update PR workflow

* Update PR workflow

* Update PR workflow

* Add branch name check + doc check

* Update PR branch check

* Update PR branch check

* Update PR branch check
2022-09-23 08:52:01 +10:00
Lea Anthony 8bbbb0f148 Fix i18n blog 2022-09-22 18:34:04 +10:00
Lea Anthony 495c129ec6 Update blog 2022-09-22 11:27:40 +10: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 d0a39349d4 Update release workflow 2022-09-18 08:56:13 +10:00
Lea Anthony b93cdcd942 Releasetest/release workflow (#1869)
* Test release workflow

* Update release.yml

* Update release.yml

* add linux deps

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Fix: Misc tests

* Fix: Misc tests + linux build tags

* Fix: Bindings tests + move templates to pkg. Add json schema for templates

* Fix: template tests

* Add tests to release workflow. Test for go 1.18 + go 1.19
Fix: ignore .m files for non darwin builds. Fix watcher test. Fix warning in clilogger.

* Fix release pipeline

* Matrix for tests

* Rename templates to make tests work

* Update template test

* Debug template test

* Debug template test

* Debug template test

* Fix gitignore

* Update release.yml
2022-09-18 08:55:21 +10:00
Parvin Eyvazov 96ffe5b7b2 Update introduction.mdx (#1863) 2022-09-17 06:09:00 +10:00
stffabi 1026119eca [templates] Use embed all to include all files (#1862)
Otherwise files prefixed with `.` and `_` won't get embedded.
2022-09-17 00:37:30 +10:00
Lea Anthony f78476e051 Fix: lit template 2022-09-16 17:48:48 +10:00
Lea Anthony 124295a79c Remove support for < Go 1.18 in wails doctor 2022-09-16 13:36:33 +10:00
Misite Bao 14adbc12aa chore: update README and workflows (#1848)
* Update README

* Update crowdin.yml

* chore: update workflows and README

* fix: fix error

* feat: remove unnecessary content

* Update .github/workflows/build.yml

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-09-15 21:49:35 +10:00
Lea Anthony 28fd3cdba1 Fix link to runtime docs in introduction page 2022-09-15 21:11:12 +10:00
stffabi f97f5bb602 [build] Fix buildtags parsing if only one tag is specified (#1858)
* [build] Fix buildtags parsing if only one tag is specified
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-09-15 17:04:00 +10:00
stffabi f1dc9eb4ef [cli] Add check for minimum required go version (#1853)
- Update out of sync go.mod with minimum go version
- Check for minimum go version during build with build constraint
  “internal/goversion/build_constraint.go:9:2: MinGoVersionRequired (constant "You need Go 1.18 or newer to compile this program" of type string) is not used”
2022-09-15 07:28:28 +10:00
stffabi 854bd9433d [go] Bump minimum required go version to 1.18 (#1854) 2022-09-14 23:47:15 +10:00
Lea Anthony e75fb53fa5 Fix version text v2.0.0-rc.1.1 2022-09-13 12:06:54 +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 052b9222c1 Add garble support (#1793)
Co-authored-by: AlbinoDrought <sean@albinodrought.com>
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-09-13 10:05:37 +10:00
imgbot[bot] eef99ee577 [ImgBot] Optimize images (#1812)
*Total -- 5,696.04kb -> 5,003.34kb (12.16%)

/v2/pkg/commands/build/internal/packager/icon32.png -- 7.95kb -> 2.95kb (62.83%)
/v2/internal/frontend/desktop/windows/winc/dock_topbottom.png -- 4.27kb -> 1.82kb (57.31%)
/assets/images/jetbrains-grayscale.png -- 102.85kb -> 52.29kb (49.16%)
/v2/internal/frontend/desktop/windows/winc/dock_topleft.png -- 3.47kb -> 1.88kb (45.81%)
/cmd/templates/svelte/frontend/public/favicon.png -- 3.05kb -> 1.91kb (37.45%)
/website/static/img/icon-windows-dark.svg -- 0.63kb -> 0.45kb (28.35%)
/v2/pkg/buildassets/build/appicon.png -- 174.74kb -> 129.52kb (25.88%)
/website/static/img/favicon.svg -- 0.99kb -> 0.76kb (23.37%)
/website/static/img/go_js.svg -- 4.49kb -> 3.45kb (23.14%)
/website/static/img/go_js_dark.svg -- 4.54kb -> 3.50kb (22.97%)
/cmd/templates/vuetify2-basic/frontend/src/assets/images/logo.png -- 300.95kb -> 234.35kb (22.13%)
/cmd/templates/vuetify-basic/frontend/src/assets/images/logo.png -- 300.95kb -> 234.35kb (22.13%)
/cmd/templates/create-react-app/frontend/src/logo.png -- 300.95kb -> 234.35kb (22.13%)
/cmd/templates/vuebasic/frontend/src/assets/images/logo.png -- 300.95kb -> 234.35kb (22.13%)
/cmd/templates/svelte/frontend/src/logo.png -- 300.95kb -> 234.35kb (22.13%)
/website/static/img/architecture.svg -- 3.83kb -> 3.04kb (20.6%)
/website/static/img/Terminal-icon-dark.svg -- 0.99kb -> 0.79kb (20.37%)
/website/static/img/Terminal-icon.svg -- 0.99kb -> 0.79kb (19.84%)
/website/static/img/wails-logo-textless.svg -- 4.11kb -> 3.40kb (17.31%)
/assets/images/pace.jpeg -- 3.06kb -> 2.55kb (16.57%)
/website/static/img/icon-apple-dark.svg -- 1.10kb -> 0.92kb (16.33%)
/website/static/img/Go_Logo_Blue.svg -- 2.20kb -> 1.86kb (15.21%)
/website/static/img/logo-dark.svg -- 7.19kb -> 6.18kb (14.12%)
/website/static/img/wails-logo-horizontal-dark.svg -- 6.29kb -> 5.41kb (14.02%)
/website/static/img/logo-light.svg -- 7.12kb -> 6.13kb (14%)
/website/static/img/wails-logo-horizontal.svg -- 6.22kb -> 5.36kb (13.87%)
/website/static/img/icon-windows.svg -- 0.42kb -> 0.39kb (8.14%)
/v2/cmd/wails/internal/commands/generate/template/base/frontend/dist/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/vue-ts/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/plain/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/generate/assets/lit/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/react-ts/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/generate/assets/common/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/lit-ts/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte-ts/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/lit/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/preact/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/generate/assets/preact/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/generate/plain/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/react/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/vue/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/generate/assets/react/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla-ts/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/preact-ts/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/generate/assets/vue/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/cmd/templates/vue3-js/frontend/src/assets/logo.png -- 6.69kb -> 6.33kb (5.4%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/preact/frontend/src/assets/preact.svg -- 1.57kb -> 1.49kb (4.99%)
/website/static/img/icon-apple.svg -- 0.76kb -> 0.72kb (4.52%)
/website/static/img/desktop-application-app-dark.svg -- 4.56kb -> 4.37kb (4.34%)
/website/static/img/desktop-application-app.svg -- 4.54kb -> 4.35kb (4.34%)
/website/static/img/logo.svg -- 6.55kb -> 6.29kb (4.05%)
/website/static/img/vitejs.svg -- 3.76kb -> 3.62kb (3.79%)
/cmd/templates/create-react-app/frontend/public/logo512.png -- 175.92kb -> 169.55kb (3.62%)
/v2/pkg/commands/build/internal/packager/icon128.png -- 16.10kb -> 15.52kb (3.58%)
/cmd/templates/vue3-full/frontend/src/assets/appicon.png -- 105.56kb -> 101.81kb (3.56%)
/cmd/packages/darwin/icon.png -- 105.56kb -> 101.81kb (3.56%)
/cmd/templates/vue3-js/frontend/src/assets/appicon.png -- 105.56kb -> 101.81kb (3.56%)
/cmd/packages/windows/icon.png -- 105.56kb -> 101.81kb (3.56%)
/cmd/templates/create-react-app/frontend/public/logo192.png -- 37.41kb -> 36.24kb (3.14%)
/cmd/templates/vuebasic/frontend/src/assets/fonts/roboto/roboto-v18-latin-regular.svg -- 47.83kb -> 46.81kb (2.13%)
/v2/pkg/commands/build/internal/packager/icon256.png -- 26.46kb -> 25.99kb (1.79%)
/website/static/img/icon-linux.svg -- 2.94kb -> 2.92kb (0.4%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-09-12 21:57:07 +10:00
Lea Anthony 583b3cd1c3 New Crowdin updates (#1800)
* New translations markdown-page.md (Acholi)
[ci skip]

* New translations stats.mdx (Acholi)
[ci skip]

* New translations code.json (Acholi)
[ci skip]

* New translations options.json (Acholi)
[ci skip]

* New translations current.json (Acholi)
[ci skip]

* New translations version-v2.0.0-beta.43.json (Acholi)
[ci skip]

* New translations helloworld.mdx (Acholi)
[ci skip]

* New translations footer.json (Acholi)
[ci skip]

* New translations navbar.json (Acholi)
[ci skip]

* New translations emailit.mdx (Acholi)
[ci skip]

* New translations modalfilemanager.mdx (Acholi)
[ci skip]

* New translations linux.mdx (Acholi)
[ci skip]

* New translations scriptbar.mdx (Acholi)
[ci skip]

* New translations minecraftupdater.mdx (Acholi)
[ci skip]

* New translations faq.mdx (Acholi)
[ci skip]

* New translations community-guide.mdx (Acholi)
[ci skip]

* New translations vscode.mdx (Acholi)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Acholi)
[ci skip]

* New translations _category_.json (Acholi)
[ci skip]

* New translations templates.mdx (Acholi)
[ci skip]

* New translations _category_.json (Acholi)
[ci skip]

* New translations troubleshooting.mdx (Acholi)
[ci skip]

* New translations windows-installer.mdx (Acholi)
[ci skip]

* New translations windows.mdx (Acholi)
[ci skip]

* New translations howdoesitwork.mdx (Acholi)
[ci skip]

* New translations introduction.mdx (Acholi)
[ci skip]

* New translations cli.mdx (Acholi)
[ci skip]

* New translations _category_.json (Acholi)
[ci skip]

* New translations _category_.json (Acholi)
[ci skip]

* New translations _category_.json (Acholi)
[ci skip]

* New translations _category_.json (Acholi)
[ci skip]

* New translations _category_.json (Acholi)
[ci skip]

* New translations window.mdx (Acholi)
[ci skip]

* New translations menus.mdx (Acholi)
[ci skip]

* New translations options.mdx (Acholi)
[ci skip]

* New translations project-config.mdx (Acholi)
[ci skip]

* New translations _category_.json (Acholi)
[ci skip]

* New translations browser.mdx (Acholi)
[ci skip]

* New translations dialog.mdx (Acholi)
[ci skip]

* New translations events.mdx (Acholi)
[ci skip]

* New translations intro.mdx (Acholi)
[ci skip]

* New translations log.mdx (Acholi)
[ci skip]

* New translations menu.mdx (Acholi)
[ci skip]

* New translations dogsapi.mdx (Acholi)
[ci skip]

* New translations templates.mdx (Chinese Simplified)
[ci skip]

* New translations templates.mdx (Russian)
[ci skip]

* New translations templates.mdx (Japanese)
[ci skip]

* New translations templates.mdx (Korean)
[ci skip]

* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]

* New translations templates.mdx (Acholi)
[ci skip]

* New translations encrypteasy.mdx (Japanese)
[ci skip]

* New translations wally.mdx (Korean)
[ci skip]

* New translations wally.mdx (Japanese)
[ci skip]

* New translations wally.mdx (Russian)
[ci skip]

* New translations wally.mdx (Chinese Simplified)
[ci skip]

* New translations wombat.mdx (Japanese)
[ci skip]

* New translations wombat.mdx (Korean)
[ci skip]

* New translations wombat.mdx (Russian)
[ci skip]

* New translations wombat.mdx (Chinese Simplified)
[ci skip]

* New translations ytd.mdx (Japanese)
[ci skip]

* New translations ytd.mdx (Korean)
[ci skip]

* New translations ytd.mdx (Russian)
[ci skip]

* New translations ytd.mdx (Chinese Simplified)
[ci skip]

* New translations encrypteasy.mdx (Korean)
[ci skip]

* New translations october.mdx (Japanese)
[ci skip]

* New translations encrypteasy.mdx (Russian)
[ci skip]

* New translations encrypteasy.mdx (Chinese Simplified)
[ci skip]

* New translations filehound.mdx (Japanese)
[ci skip]

* New translations filehound.mdx (Korean)
[ci skip]

* New translations filehound.mdx (Russian)
[ci skip]

* New translations filehound.mdx (Chinese Simplified)
[ci skip]

* New translations mollywallet.mdx (Japanese)
[ci skip]

* New translations mollywallet.mdx (Korean)
[ci skip]

* New translations mollywallet.mdx (Russian)
[ci skip]

* New translations mollywallet.mdx (Chinese Simplified)
[ci skip]

* New translations october.mdx (Korean)
[ci skip]

* New translations october.mdx (Russian)
[ci skip]

* New translations october.mdx (Chinese Simplified)
[ci skip]

* New translations optimus.mdx (Japanese)
[ci skip]

* New translations optimus.mdx (Korean)
[ci skip]

* New translations optimus.mdx (Russian)
[ci skip]

* New translations optimus.mdx (Chinese Simplified)
[ci skip]

* New translations portfall.mdx (Japanese)
[ci skip]

* New translations portfall.mdx (Korean)
[ci skip]

* New translations portfall.mdx (Russian)
[ci skip]

* New translations portfall.mdx (Chinese Simplified)
[ci skip]

* New translations scriptbar.mdx (Russian)
[ci skip]

* New translations emailit.mdx (Japanese)
[ci skip]

* New translations emailit.mdx (Korean)
[ci skip]

* New translations emailit.mdx (Russian)
[ci skip]

* New translations emailit.mdx (Chinese Simplified)
[ci skip]

* New translations modalfilemanager.mdx (Japanese)
[ci skip]

* New translations modalfilemanager.mdx (Korean)
[ci skip]

* New translations modalfilemanager.mdx (Russian)
[ci skip]

* New translations modalfilemanager.mdx (Chinese Simplified)
[ci skip]

* New translations scriptbar.mdx (Japanese)
[ci skip]

* New translations scriptbar.mdx (Korean)
[ci skip]

* New translations scriptbar.mdx (Chinese Simplified)
[ci skip]

* New translations minecraftupdater.mdx (Japanese)
[ci skip]

* New translations minecraftupdater.mdx (Korean)
[ci skip]

* New translations minecraftupdater.mdx (Russian)
[ci skip]

* New translations minecraftupdater.mdx (Chinese Simplified)
[ci skip]

* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]

* New translations optimus.mdx (Acholi)
[ci skip]

* New translations portfall.mdx (Acholi)
[ci skip]

* New translations wally.mdx (Acholi)
[ci skip]

* New translations october.mdx (Acholi)
[ci skip]

* New translations mollywallet.mdx (Acholi)
[ci skip]

* New translations filehound.mdx (Acholi)
[ci skip]

* New translations encrypteasy.mdx (Acholi)
[ci skip]

* New translations wombat.mdx (Acholi)
[ci skip]

* New translations ytd.mdx (Acholi)
[ci skip]

* New translations scriptbar.mdx (Acholi)
[ci skip]

* New translations minecraftupdater.mdx (Acholi)
[ci skip]

* New translations modalfilemanager.mdx (Acholi)
[ci skip]

* New translations emailit.mdx (Acholi)
[ci skip]

* New translations troubleshooting.mdx (Japanese)
[ci skip]

* New translations troubleshooting.mdx (Korean)
[ci skip]

* New translations troubleshooting.mdx (Russian)
[ci skip]

* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]

* New translations troubleshooting.mdx (Acholi)
[ci skip]

* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]

* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]

* New translations building.mdx (Japanese)
[ci skip]

* New translations 2021-11-08-v2-beta2-release-notes.mdx (Japanese)
[ci skip]

* New translations howdoesitwork.mdx (Chinese Simplified)
[ci skip]

* New translations introduction.mdx (Japanese)
[ci skip]

* New translations introduction.mdx (Korean)
[ci skip]

* New translations introduction.mdx (Russian)
[ci skip]

* New translations introduction.mdx (Chinese Simplified)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Japanese)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Korean)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Russian)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Chinese Simplified)
[ci skip]

* New translations 2021-11-08-v2-beta2-release-notes.mdx (Korean)
[ci skip]

* New translations howdoesitwork.mdx (Korean)
[ci skip]

* New translations 2021-11-08-v2-beta2-release-notes.mdx (Russian)
[ci skip]

* New translations 2021-11-08-v2-beta2-release-notes.mdx (Chinese Simplified)
[ci skip]

* New translations 2022-02-22-v2-beta3-release-notes.mdx (Japanese)
[ci skip]

* New translations 2022-02-22-v2-beta3-release-notes.mdx (Korean)
[ci skip]

* New translations 2022-02-22-v2-beta3-release-notes.mdx (Russian)
[ci skip]

* New translations 2022-02-22-v2-beta3-release-notes.mdx (Chinese Simplified)
[ci skip]

* New translations dogsapi.mdx (Japanese)
[ci skip]

* New translations dogsapi.mdx (Korean)
[ci skip]

* New translations dogsapi.mdx (Russian)
[ci skip]

* New translations dogsapi.mdx (Chinese Simplified)
[ci skip]

* New translations howdoesitwork.mdx (Russian)
[ci skip]

* New translations howdoesitwork.mdx (Japanese)
[ci skip]

* New translations building.mdx (Korean)
[ci skip]

* New translations ides.mdx (Chinese Simplified)
[ci skip]

* New translations building.mdx (Russian)
[ci skip]

* New translations building.mdx (Chinese Simplified)
[ci skip]

* New translations installation.mdx (Korean)
[ci skip]

* New translations dynamic-assets.mdx (Japanese)
[ci skip]

* New translations dynamic-assets.mdx (Korean)
[ci skip]

* New translations dynamic-assets.mdx (Russian)
[ci skip]

* New translations dynamic-assets.mdx (Chinese Simplified)
[ci skip]

* New translations ides.mdx (Japanese)
[ci skip]

* New translations ides.mdx (Korean)
[ci skip]

* New translations ides.mdx (Russian)
[ci skip]

* New translations windows-installer.mdx (Japanese)
[ci skip]

* New translations helloworld.mdx (Chinese Simplified)
[ci skip]

* New translations windows-installer.mdx (Korean)
[ci skip]

* New translations windows-installer.mdx (Russian)
[ci skip]

* New translations windows-installer.mdx (Chinese Simplified)
[ci skip]

* New translations options.mdx (Japanese)
[ci skip]

* New translations options.mdx (Korean)
[ci skip]

* New translations options.mdx (Russian)
[ci skip]

* New translations options.mdx (Chinese Simplified)
[ci skip]

* New translations helloworld.mdx (Japanese)
[ci skip]

* New translations helloworld.mdx (Korean)
[ci skip]

* New translations helloworld.mdx (Russian)
[ci skip]

* New translations building.mdx (Acholi)
[ci skip]

* New translations dynamic-assets.mdx (Acholi)
[ci skip]

* New translations ides.mdx (Acholi)
[ci skip]

* New translations windows-installer.mdx (Acholi)
[ci skip]

* New translations howdoesitwork.mdx (Acholi)
[ci skip]

* New translations introduction.mdx (Acholi)
[ci skip]

* New translations options.mdx (Acholi)
[ci skip]

* New translations helloworld.mdx (Acholi)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Acholi)
[ci skip]

* New translations 2021-11-08-v2-beta2-release-notes.mdx (Acholi)
[ci skip]

* New translations 2022-02-22-v2-beta3-release-notes.mdx (Acholi)
[ci skip]

* New translations dogsapi.mdx (Acholi)
[ci skip]

* New translations troubleshooting.mdx (Japanese)
[ci skip]

* New translations troubleshooting.mdx (Korean)
[ci skip]

* New translations troubleshooting.mdx (Russian)
[ci skip]

* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]

* New translations window.mdx (Japanese)
[ci skip]

* New translations window.mdx (Korean)
[ci skip]

* New translations window.mdx (Russian)
[ci skip]

* New translations window.mdx (Chinese Simplified)
[ci skip]

* New translations troubleshooting.mdx (Acholi)
[ci skip]

* New translations window.mdx (Acholi)
[ci skip]

* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]

* New translations installation.mdx (Korean)
[ci skip]

* New translations troubleshooting.mdx (Japanese)
[ci skip]

* New translations troubleshooting.mdx (Korean)
[ci skip]

* New translations troubleshooting.mdx (Russian)
[ci skip]

* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]

* New translations window.mdx (Japanese)
[ci skip]

* New translations window.mdx (Korean)
[ci skip]

* New translations window.mdx (Russian)
[ci skip]

* New translations window.mdx (Chinese Simplified)
[ci skip]

* New translations navbar.json (Japanese)
[ci skip]

* New translations troubleshooting.mdx (Acholi)
[ci skip]

* New translations navbar.json (Chinese Simplified)
[ci skip]

* New translations navbar.json (Russian)
[ci skip]

* New translations navbar.json (Korean)
[ci skip]

* New translations navbar.json (Acholi)
[ci skip]

* New translations events.mdx (Japanese)
[ci skip]

* New translations events.mdx (Korean)
[ci skip]

* New translations events.mdx (Russian)
[ci skip]

* New translations events.mdx (Chinese Simplified)
[ci skip]

* New translations events.mdx (Acholi)
[ci skip]

* New translations howdoesitwork.mdx (Japanese)
[ci skip]

* New translations building.mdx (Korean)
[ci skip]

* New translations development.mdx (Korean)
[ci skip]

* New translations overscroll.mdx (Japanese)
[ci skip]

* New translations overscroll.mdx (Korean)
[ci skip]

* New translations overscroll.mdx (Russian)
[ci skip]

* New translations overscroll.mdx (Chinese Simplified)
[ci skip]

* New translations introduction.mdx (Korean)
[ci skip]

* New translations overscroll.mdx (Acholi)
[ci skip]

* New translations bleeding-edge.mdx (Japanese)
[ci skip]

* New translations bleeding-edge.mdx (Korean)
[ci skip]

* New translations bleeding-edge.mdx (Russian)
[ci skip]

* New translations bleeding-edge.mdx (Chinese Simplified)
[ci skip]

* New translations bleeding-edge.mdx (Acholi)
[ci skip]

* New translations introduction.mdx (Korean)
[ci skip]

* New translations introduction.mdx (Korean)
[ci skip]

* New translations troubleshooting.mdx (Japanese)
[ci skip]

* New translations troubleshooting.mdx (Korean)
[ci skip]

* New translations troubleshooting.mdx (Russian)
[ci skip]

* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]

* New translations howdoesitwork.mdx (Japanese)
[ci skip]

* New translations troubleshooting.mdx (Acholi)
[ci skip]

* New translations frameless.mdx (Japanese)
[ci skip]

* New translations frameless.mdx (Korean)
[ci skip]

* New translations frameless.mdx (Russian)
[ci skip]

* New translations frameless.mdx (Chinese Simplified)
[ci skip]

* New translations options.mdx (Japanese)
[ci skip]

* New translations options.mdx (Korean)
[ci skip]

* New translations options.mdx (Russian)
[ci skip]

* New translations options.mdx (Chinese Simplified)
[ci skip]

* New translations frameless.mdx (Acholi)
[ci skip]

* New translations options.mdx (Acholi)
[ci skip]

* Fix issues again
2022-09-12 21:56:43 +10:00
Lea Anthony dae1388f3b Update docusaurus version 2022-09-12 21:13:13 +10:00
Lea Anthony d23108a49e Make draggable CSS property customisable (#1828)
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-09-10 14:33:35 +10:00
Lea Anthony ec0e1cca58 Add macOS build failure help 2022-09-08 21:51:29 +10:00
Sean 85b8c3025d fix: remove duplicate defs in win32/window.go (#1832)
Introduced in 70c484f603
2022-09-07 05:43:47 +10:00
Lea Anthony 6e35e9a3e4 Update PR testing docs 2022-09-06 08:04:51 +10:00
Lea Anthony 3920402017 Update overscroll CSS 2022-09-04 11:33:47 +10:00
Lea Anthony 58a2dbb42a Update overscroll CSS 2022-09-04 11:33:08 +10:00
Lea Anthony fca6e9e3d4 Better watcher (#1827)
* Better watcher

* Delete rogue code
2022-09-04 07:47:27 +10:00
SheetJSDev 53ebb67b72 Use Promise<void> when Go routine does not output (#1821) 2022-09-03 09:56:18 +10:00
Zámbó, Levente 7816b0b67f [v2] feature: make EventsOff capable of removing multiple listeners (#1822)
[v2] feature: add missing wrapper
2022-09-02 07:34:59 +10:00
Lea Anthony 01e46f0c24 Fix vue-ts template (#1813) 2022-08-31 23:28:55 +10:00
Misite Bao 3a7ef4c26d fix: fix bugs in website (#1810)
* feat: remove useless configuration files

* fix: fix image tags

* fix: delete unnecessary files and fix file names

* fix: automatically generate translations using official tools

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-08-31 22:32:34 +10:00
Lea Anthony 961dc4ded6 Remove stats page 2022-08-31 20:00:22 +10:00
Kevin MacMartin 27f36a8edd Only set GDK_BACKEND to "x11" if GDK_BACKEND is unset and XDG_SESSION_TYPE is not "wayland" (#1811)
* Only set GDK_BACKEND to "x11" if GDK_BACKEND is unset and XDG_SESSION_TYPE is not "wayland"

* GDK_BACKEND should only be set if XDG_SESSION_TYPE is unset, "unspecified" or "x11"
2022-08-31 17:31:52 +10:00
Lea Anthony ffb4a1360b Add too many open files guide 2022-08-30 07:41:46 +10:00
ZanderCodes 70c484f603 Add Some WindowState (#1349)
* Add Check for WindowState IsMaximised, IsMinimized, IsNormal and IsFullscreen

Solve conflicts

# Conflicts:
#	v2/internal/frontend/desktop/darwin/WailsContext.m
#	v2/internal/frontend/desktop/darwin/frontend.go
#	v2/internal/frontend/desktop/linux/window.go
#	v2/internal/frontend/desktop/windows/window.go

* Add Check for WindowState IsMaximised, IsMinimized, IsNormal and IsFullscreen

Solve conflict
# Conflicts:
#	v2/pkg/runtime/window.go

* Forgot some function to use it

# Conflicts:
#	v2/internal/frontend/desktop/darwin/WailsContext.h
#	v2/internal/frontend/desktop/windows/win32/consts.go
#	v2/internal/frontend/desktop/windows/win32/window.go

* Modify the instructions

# Conflicts:
#	v2/internal/frontend/devserver/devserver.go

* Add Functions to DevServer

# Conflicts:
#	v2/internal/frontend/dispatcher/systemcalls.go
#	v2/internal/frontend/runtime/desktop/window.js
#	v2/internal/frontend/runtime/package-lock.json
#	v2/internal/frontend/runtime/runtime_prod_desktop.js
#	v2/internal/frontend/runtime/wrapper/runtime.d.ts
#	v2/internal/frontend/runtime/wrapper/runtime.js

* Add Callback and JavaScript Functions

# Conflicts:
#	v2/cmd/wails/internal/commands/initialise/templates/generate/assets/common/frontend/wailsjs/runtime/runtime.js
#	v2/internal/frontend/runtime/package-lock.json
#	v2/internal/frontend/runtime/runtime_dev_desktop.js

* Remove Merge lines

* Fix IsMaximised

* Add WindowState Docs

* Update docs

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-08-30 06:52:01 +10:00
Lea Anthony d70d8055cc Update README 2022-08-29 20:51:14 +10:00
Lea Anthony cdf4927e58 Optimise images part 2 2022-08-29 20:19:43 +10:00
Lea Anthony 96bf669d62 Optimise images 2022-08-28 20:55:36 +10:00
KiddoV 9287649e0b Update templates.mdx (#1799)
* Update templates.mdx

* Update templates.mdx
2022-08-28 17:01:27 +10:00
Lea Anthony 92e85cd9b2 Update sponsors 2022-08-28 07:05:11 +10:00
Lea Anthony c283c47be4 Update Sponsors 2022-08-27 20:45:07 +10:00
Lea Anthony b5e98d5780 New Crowdin updates (#1726)
* New translations minecraftupdater.mdx (Korean)
[ci skip]

* New translations links.mdx (Korean)
[ci skip]

* New translations templates.mdx (Korean)
[ci skip]

* New translations _category_.json (Korean)
[ci skip]

* New translations developing-new-features.mdx (Korean)
[ci skip]

* New translations documenting.mdx (Korean)
[ci skip]

* New translations troubleshooting.mdx (Korean)
[ci skip]

* New translations windows-installer.mdx (Korean)
[ci skip]

* New translations faq.mdx (Korean)
[ci skip]

* New translations 2021-11-08-v2-beta2-release-notes.mdx (Korean)
[ci skip]

* New translations 2022-02-22-v2-beta3-release-notes.mdx (Korean)
[ci skip]

* New translations authors.yml (Korean)
[ci skip]

* New translations credits.mdx (Korean)
[ci skip]

* New translations markdown-page.md (Korean)
[ci skip]

* New translations stats.mdx (Korean)
[ci skip]

* New translations faq.mdx (Japanese)
[ci skip]

* New translations faq.mdx (Russian)
[ci skip]

* New translations introduction.mdx (Korean)
[ci skip]

* New translations faq.mdx (Chinese Simplified)
[ci skip]

* New translations options.json (Korean)
[ci skip]

* New translations current.json (Korean)
[ci skip]

* New translations version-v2.0.0-beta.38.json (Korean)
[ci skip]

* New translations version-v2.0.0-beta.39.json (Korean)
[ci skip]

* New translations footer.json (Korean)
[ci skip]

* New translations navbar.json (Korean)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Korean)
[ci skip]

* New translations howdoesitwork.mdx (Korean)
[ci skip]

* New translations windows.mdx (Korean)
[ci skip]

* New translations log.mdx (Korean)
[ci skip]

* New translations _category_.json (Korean)
[ci skip]

* New translations linux.mdx (Korean)
[ci skip]

* New translations _category_.json (Korean)
[ci skip]

* New translations browser.mdx (Korean)
[ci skip]

* New translations dialog.mdx (Korean)
[ci skip]

* New translations events.mdx (Korean)
[ci skip]

* New translations intro.mdx (Korean)
[ci skip]

* New translations menu.mdx (Korean)
[ci skip]

* New translations _category_.json (Korean)
[ci skip]

* New translations window.mdx (Korean)
[ci skip]

* New translations cli.mdx (Korean)
[ci skip]

* New translations _category_.json (Korean)
[ci skip]

* New translations menus.mdx (Korean)
[ci skip]

* New translations options.mdx (Korean)
[ci skip]

* New translations project-config.mdx (Korean)
[ci skip]

* New translations _category_.json (Korean)
[ci skip]

* New translations helloworld.mdx (Korean)
[ci skip]

* New translations code.json (Korean)
[ci skip]

* New translations developing-new-features.mdx (Chinese Simplified)
[ci skip]

* New translations firstproject.mdx (Japanese)
[ci skip]

* New translations firstproject.mdx (Russian)
[ci skip]

* New translations firstproject.mdx (Chinese Simplified)
[ci skip]

* New translations installation.mdx (Japanese)
[ci skip]

* New translations installation.mdx (Russian)
[ci skip]

* New translations installation.mdx (Chinese Simplified)
[ci skip]

* New translations dynamic-assets.mdx (Japanese)
[ci skip]

* New translations dynamic-assets.mdx (Russian)
[ci skip]

* New translations dynamic-assets.mdx (Chinese Simplified)
[ci skip]

* New translations frameless.mdx (Japanese)
[ci skip]

* New translations frameless.mdx (Russian)
[ci skip]

* New translations frameless.mdx (Chinese Simplified)
[ci skip]

* New translations documenting.mdx (Japanese)
[ci skip]

* New translations documenting.mdx (Russian)
[ci skip]

* New translations frontend.mdx (Japanese)
[ci skip]

* New translations frontend.mdx (Russian)
[ci skip]

* New translations windows.mdx (Chinese Simplified)
[ci skip]

* New translations troubleshooting.mdx (Japanese)
[ci skip]

* New translations troubleshooting.mdx (Russian)
[ci skip]

* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]

* New translations windows-installer.mdx (Japanese)
[ci skip]

* New translations windows-installer.mdx (Russian)
[ci skip]

* New translations windows-installer.mdx (Chinese Simplified)
[ci skip]

* New translations dialog.mdx (Japanese)
[ci skip]

* New translations dialog.mdx (Russian)
[ci skip]

* New translations signing.mdx (Chinese Simplified)
[ci skip]

* New translations migrating.mdx (Russian)
[ci skip]

* New translations ides.mdx (Japanese)
[ci skip]

* New translations ides.mdx (Russian)
[ci skip]

* New translations ides.mdx (Chinese Simplified)
[ci skip]

* New translations migrating.mdx (Japanese)
[ci skip]

* New translations migrating.mdx (Chinese Simplified)
[ci skip]

* New translations signing.mdx (Russian)
[ci skip]

* New translations mouse-buttons.mdx (Japanese)
[ci skip]

* New translations mouse-buttons.mdx (Russian)
[ci skip]

* New translations mouse-buttons.mdx (Chinese Simplified)
[ci skip]

* New translations overscroll.mdx (Japanese)
[ci skip]

* New translations overscroll.mdx (Russian)
[ci skip]

* New translations routing.mdx (Japanese)
[ci skip]

* New translations routing.mdx (Russian)
[ci skip]

* New translations routing.mdx (Chinese Simplified)
[ci skip]

* New translations signing.mdx (Japanese)
[ci skip]

* New translations dialog.mdx (Chinese Simplified)
[ci skip]

* New translations project-config.mdx (Chinese Simplified)
[ci skip]

* New translations options.mdx (Chinese Simplified)
[ci skip]

* New translations howdoesitwork.mdx (Japanese)
[ci skip]

* New translations howdoesitwork.mdx (Russian)
[ci skip]

* New translations howdoesitwork.mdx (Chinese Simplified)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Japanese)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Russian)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Chinese Simplified)
[ci skip]

* New translations 2021-11-08-v2-beta2-release-notes.mdx (Japanese)
[ci skip]

* New translations options.mdx (Russian)
[ci skip]

* New translations window.mdx (Japanese)
[ci skip]

* New translations menu.mdx (Japanese)
[ci skip]

* New translations menu.mdx (Russian)
[ci skip]

* New translations menu.mdx (Chinese Simplified)
[ci skip]

* New translations window.mdx (Russian)
[ci skip]

* New translations options.mdx (Japanese)
[ci skip]

* New translations cli.mdx (Chinese Simplified)
[ci skip]

* New translations menus.mdx (Japanese)
[ci skip]

* New translations menus.mdx (Russian)
[ci skip]

* New translations menus.mdx (Chinese Simplified)
[ci skip]

* New translations 2021-11-08-v2-beta2-release-notes.mdx (Russian)
[ci skip]

* New translations 2021-11-08-v2-beta2-release-notes.mdx (Chinese Simplified)
[ci skip]

* New translations emailit.mdx (Chinese Simplified)
[ci skip]

* New translations modalfilemanager.mdx (Chinese Simplified)
[ci skip]

* New translations 2022-02-22-v2-beta3-release-notes.mdx (Japanese)
[ci skip]

* New translations 2022-02-22-v2-beta3-release-notes.mdx (Russian)
[ci skip]

* New translations 2022-02-22-v2-beta3-release-notes.mdx (Chinese Simplified)
[ci skip]

* New translations credits.mdx (Japanese)
[ci skip]

* New translations credits.mdx (Russian)
[ci skip]

* New translations credits.mdx (Chinese Simplified)
[ci skip]

* New translations code.json (Korean)
[ci skip]

* New translations developing-new-features.mdx (Japanese)
[ci skip]

* New translations developing-new-features.mdx (Russian)
[ci skip]

* New translations ways-of-contributing.mdx (Japanese)
[ci skip]

* New translations documenting.mdx (Japanese)
[ci skip]

* New translations testing.mdx (Japanese)
[ci skip]

* New translations setting-up-a-dev-environment.mdx (Japanese)
[ci skip]

* New translations fixing-bugs.mdx (Japanese)
[ci skip]

* New translations helping-others.mdx (Japanese)
[ci skip]

* New translations ways-of-contributing.mdx (Russian)
[ci skip]

* New translations fixing-bugs.mdx (Chinese Simplified)
[ci skip]

* New translations documenting.mdx (Russian)
[ci skip]

* New translations documenting.mdx (Chinese Simplified)
[ci skip]

* New translations testing.mdx (Chinese Simplified)
[ci skip]

* New translations fixing-bugs.mdx (Russian)
[ci skip]

* New translations ways-of-contributing.mdx (Chinese Simplified)
[ci skip]

* New translations testing.mdx (Russian)
[ci skip]

* New translations helping-others.mdx (Russian)
[ci skip]

* New translations helping-others.mdx (Chinese Simplified)
[ci skip]

* New translations setting-up-a-dev-environment.mdx (Chinese Simplified)
[ci skip]

* New translations setting-up-a-dev-environment.mdx (Russian)
[ci skip]

* New translations developing-new-features.mdx (Chinese Simplified)
[ci skip]

* New translations current.json (Japanese)
[ci skip]

* New translations current.json (Russian)
[ci skip]

* New translations current.json (Chinese Simplified)
[ci skip]

* New translations version-v2.0.0-beta.44.json (Japanese)
[ci skip]

* New translations version-v2.0.0-beta.44.json (Russian)
[ci skip]

* New translations version-v2.0.0-beta.44.json (Chinese Simplified)
[ci skip]

* New translations version-v2.0.0-beta.43.json (Japanese)
[ci skip]

* New translations version-v2.0.0-beta.43.json (Russian)
[ci skip]

* New translations version-v2.0.0-beta.43.json (Chinese Simplified)
[ci skip]

* New translations installation.mdx (Korean)
[ci skip]

* New translations ways-of-contributing.mdx (Korean)
[ci skip]

* New translations testing.mdx (Korean)
[ci skip]

* New translations developing-new-features.mdx (Korean)
[ci skip]

* New translations documenting.mdx (Korean)
[ci skip]

* New translations fixing-bugs.mdx (Korean)
[ci skip]

* New translations helping-others.mdx (Korean)
[ci skip]

* New translations setting-up-a-dev-environment.mdx (Korean)
[ci skip]

* New translations current.json (Korean)
[ci skip]

* New translations options.json (Korean)
[ci skip]

* New translations version-v2.0.0-beta.44.json (Korean)
[ci skip]

* New translations version-v2.0.0-beta.43.json (Korean)
[ci skip]

* New translations footer.json (Korean)
[ci skip]

* New translations navbar.json (Korean)
[ci skip]

* New translations code.json (Korean)
[ci skip]

* New translations community-guide.mdx (Japanese)
[ci skip]

* New translations community-guide.mdx (Korean)
[ci skip]

* New translations community-guide.mdx (Russian)
[ci skip]

* New translations community-guide.mdx (Chinese Simplified)
[ci skip]

* New translations current.json (Japanese)
[ci skip]

* New translations current.json (Russian)
[ci skip]

* New translations current.json (Chinese Simplified)
[ci skip]

* New translations code.json (Japanese)
[ci skip]

* New translations code.json (Russian)
[ci skip]

* New translations code.json (Chinese Simplified)
[ci skip]

* New translations introduction.mdx (Korean)
[ci skip]

* New translations current.json (Korean)
[ci skip]

* New translations code.json (Korean)
[ci skip]

* New translations community-guide.mdx (Japanese)
[ci skip]

* New translations community-guide.mdx (Korean)
[ci skip]

* New translations community-guide.mdx (Russian)
[ci skip]

* New translations community-guide.mdx (Chinese Simplified)
[ci skip]

* New translations community-guide.mdx (Chinese Simplified)
[ci skip]

* New translations vscode.mdx (Japanese)
[ci skip]

* New translations vscode.mdx (Korean)
[ci skip]

* New translations vscode.mdx (Russian)
[ci skip]

* New translations vscode.mdx (Chinese Simplified)
[ci skip]

* New translations current.json (Chinese Simplified)
[ci skip]

* New translations riftshare.mdx (Chinese Simplified)
[ci skip]

* New translations surge.mdx (Chinese Simplified)
[ci skip]

* New translations wally.mdx (Chinese Simplified)
[ci skip]

* New translations encrypteasy.mdx (Chinese Simplified)
[ci skip]

* New translations filehound.mdx (Chinese Simplified)
[ci skip]

* New translations mollywallet.mdx (Chinese Simplified)
[ci skip]

* New translations optimus.mdx (Chinese Simplified)
[ci skip]

* New translations _category_.json (Chinese Simplified)
[ci skip]

* New translations emailit.mdx (Chinese Simplified)
[ci skip]

* New translations modalfilemanager.mdx (Chinese Simplified)
[ci skip]

* New translations browser.mdx (Chinese Simplified)
[ci skip]

* New translations vscode.mdx (Russian)
[ci skip]

* New translations vscode.mdx (Chinese Simplified)
[ci skip]

* New translations browser.mdx (Japanese)
[ci skip]

* New translations browser.mdx (Korean)
[ci skip]

* New translations browser.mdx (Russian)
[ci skip]

* New translations dialog.mdx (Japanese)
[ci skip]

* New translations vscode.mdx (Japanese)
[ci skip]

* New translations dialog.mdx (Korean)
[ci skip]

* New translations dialog.mdx (Russian)
[ci skip]

* New translations dialog.mdx (Chinese Simplified)
[ci skip]

* New translations events.mdx (Japanese)
[ci skip]

* New translations events.mdx (Korean)
[ci skip]

* New translations events.mdx (Russian)
[ci skip]

* New translations events.mdx (Chinese Simplified)
[ci skip]

* New translations intro.mdx (Japanese)
[ci skip]

* New translations intro.mdx (Korean)
[ci skip]

* New translations intro.mdx (Russian)
[ci skip]

* New translations vscode.mdx (Korean)
[ci skip]

* New translations intro.mdx (Chinese Simplified)
[ci skip]

* New translations log.mdx (Japanese)
[ci skip]

* New translations options.mdx (Russian)
[ci skip]

* New translations introduction.mdx (Japanese)
[ci skip]

* New translations options.mdx (Chinese Simplified)
[ci skip]

* New translations options.mdx (Korean)
[ci skip]

* New translations log.mdx (Korean)
[ci skip]

* New translations log.mdx (Russian)
[ci skip]

* New translations log.mdx (Chinese Simplified)
[ci skip]

* New translations menu.mdx (Japanese)
[ci skip]

* New translations menu.mdx (Korean)
[ci skip]

* New translations menu.mdx (Russian)
[ci skip]

* New translations menu.mdx (Chinese Simplified)
[ci skip]

* New translations window.mdx (Japanese)
[ci skip]

* New translations window.mdx (Korean)
[ci skip]

* New translations window.mdx (Russian)
[ci skip]

* New translations window.mdx (Chinese Simplified)
[ci skip]

* New translations options.mdx (Japanese)
[ci skip]

* New translations introduction.mdx (Korean)
[ci skip]

* New translations introduction.mdx (Russian)
[ci skip]

* New translations community-guide.mdx (Chinese Simplified)
[ci skip]

* New translations stats.mdx (Chinese Simplified)
[ci skip]

* New translations faq.mdx (Chinese Simplified)
[ci skip]

* New translations markdown-page.md (Chinese Simplified)
[ci skip]

* New translations introduction.mdx (Chinese Simplified)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Chinese Simplified)
[ci skip]

* New translations version-v2.0.0-beta.44.json (Chinese Simplified)
[ci skip]

* Empty-Commit

* Fix crowdin screwups again
2022-08-27 20:17:15 +10:00
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
Lea Anthony e67980ee39 Add dogs-api tutorial. Thanks @tatadan! 2022-08-27 16:27:23 +10:00
Lea Anthony 5a3af94772 Documentation update + refactor 2022-08-27 11:17:03 +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
Zámbó, Levente bbfb64a965 fix frontend/tsconfig.js (#1795)
change frontend/tsconfig.js to frontend/tsconfig.json.
2022-08-27 06:55:49 +10:00
Lea Anthony e6c9b1350c Vetur documentation 2022-08-26 20:25:29 +10:00
Misite Bao 5f7a413cf3 fix(website): fix link (#1785) 2022-08-24 06:22:48 +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
Yuki Shindo fba9411235 Add README.ja.md (#1783)
* Add README.ja.md

* Fix text
2022-08-23 23:46:04 +10:00
Misite Bao 250c97e6a2 feat(website): change contribution guide type from "doc" to "page" (#1777) 2022-08-23 20:52:56 +10:00
Jae-Sung Lee 7da8b28d0b Add Korean to doc (#1774)
* Add Korean

* remove other content
2022-08-22 20:42:00 +10:00
Misite Bao 791c13f29f chore: sort out files (#1776)
* chore: organize resources and delete useless files

* chore: add CONTRIBUTING.md

* chore: update doc issue template

* docs: update and sync README
2022-08-22 20:02:27 +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
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
Niklas f73c394010 doc: added minecraft updater as showcase (#1768) 2022-08-20 12:35:49 +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 ff52d4d5f0 Fix: tutorial.mdx styling 2022-08-20 09:05:30 +10:00
Giovanni Palma c1c950e98c Text outside style's brackets (#1765)
I deleted some text that was written outside the img tag

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-08-20 09:04:08 +10:00
Lea Anthony 2651d5d01a Fix: Do not generate bindings for OnBeforeClose 2022-08-20 08:59:43 +10:00
stffabi e353b49784 [docs] Link to general webview2 runtime download page and not to a specific language (#1764) 2022-08-18 21:58:21 +10:00
Lea Anthony 9ee3157780 Update website. Show deprecation notice for 2022-08-18 20:55:05 +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 a0c4c1ea58 Fix Crowdin screw ups again 2022-08-18 20:30:50 +10:00
Lea Anthony 5e2fd56bc9 Fix: Set file permissions for generated files (#1763) 2022-08-18 20:07:18 +10:00
Richard Guay a93a3a2f60 Adding my ScriptBar program (#1761)
* Added EmailIt and Modal File Manager

* Added EmailIt and Modal File Manager

* Adding ScriptBar
2022-08-18 18:22:19 +10:00
Maicarons J 1e8ab4b2c1 doc: add react-router to routing.mdx (#1755) 2022-08-16 21:15:41 +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 35aaf096d7 doc: Update licenses 2022-08-15 19:45:09 +10:00
Lea Anthony 35e961df12 doc: fix headers 2022-08-15 08:33:33 +10:00
Lea Anthony 07ec9fc0ec New translations installation.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:20 +10:00
Lea Anthony 9167b8b2de New translations credits.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:20 +10:00
Lea Anthony 04d19ea0cf New translations modalfilemanager.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:20 +10:00
Lea Anthony ceb747327b New translations modalfilemanager.mdx (Russian)
[ci skip]
2022-08-13 22:25:20 +10:00
Lea Anthony c501210c1b New translations modalfilemanager.mdx (Japanese)
[ci skip]
2022-08-13 22:25:19 +10:00
Lea Anthony e5c89cc8e1 New translations emailit.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:19 +10:00
Lea Anthony f437f283bb New translations emailit.mdx (Russian)
[ci skip]
2022-08-13 22:25:19 +10:00
Lea Anthony 1ee1b717f6 New translations emailit.mdx (Japanese)
[ci skip]
2022-08-13 22:25:19 +10:00
Lea Anthony 76d94fb497 New translations navbar.json (Chinese Simplified)
[ci skip]
2022-08-13 22:25:19 +10:00
Lea Anthony 1b2eefe2aa New translations changelog.md (Chinese Simplified)
[ci skip]
2022-08-13 22:25:19 +10:00
Lea Anthony 534ddf2b14 New translations 2022-02-22-v2-beta3-release-notes.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:18 +10:00
Lea Anthony b255eb9306 New translations 2022-02-22-v2-beta3-release-notes.mdx (Russian)
[ci skip]
2022-08-13 22:25:18 +10:00
Lea Anthony 844149cbe2 New translations 2022-02-22-v2-beta3-release-notes.mdx (Japanese)
[ci skip]
2022-08-13 22:25:18 +10:00
Lea Anthony 756002eb46 New translations 2021-11-08-v2-beta2-release-notes.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:18 +10:00
Lea Anthony a791a0c5f2 New translations 2021-11-08-v2-beta2-release-notes.mdx (Russian)
[ci skip]
2022-08-13 22:25:18 +10:00
Lea Anthony 3dc681de17 New translations cli.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:18 +10:00
Lea Anthony 68c8bee24e New translations options.mdx (Japanese)
[ci skip]
2022-08-13 22:25:17 +10:00
Lea Anthony b920e718ab New translations intro.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:17 +10:00
Lea Anthony 22f05248f7 New translations options.mdx (Russian)
[ci skip]
2022-08-13 22:25:17 +10:00
Lea Anthony 54d3bf22a3 New translations 2021-11-08-v2-beta2-release-notes.mdx (Japanese)
[ci skip]
2022-08-13 22:25:17 +10:00
Lea Anthony a6c79d559e New translations 2021-09-27-v2-beta1-release-notes.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:17 +10:00
Lea Anthony 4b2762c356 New translations 2021-09-27-v2-beta1-release-notes.mdx (Russian)
[ci skip]
2022-08-13 22:25:16 +10:00
Lea Anthony 80ef3dc3cb New translations 2021-09-27-v2-beta1-release-notes.mdx (Japanese)
[ci skip]
2022-08-13 22:25:16 +10:00
Lea Anthony 31ca5ac9ed New translations options.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:16 +10:00
Lea Anthony 25adfc9f51 New translations project-config.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:16 +10:00
Lea Anthony 61c9c4d685 New translations dialog.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:16 +10:00
Lea Anthony d5d1fbc591 New translations signing.mdx (Japanese)
[ci skip]
2022-08-13 22:25:16 +10:00
Lea Anthony 1d857b2980 New translations signing.mdx (Russian)
[ci skip]
2022-08-13 22:25:15 +10:00
Lea Anthony 9f45a80523 New translations migrating.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:15 +10:00
Lea Anthony 144f6c906e New translations ides.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:15 +10:00
Lea Anthony cdb73a2134 New translations migrating.mdx (Russian)
[ci skip]
2022-08-13 22:25:15 +10:00
Lea Anthony bcaf75851c New translations signing.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:15 +10:00
Lea Anthony b25a3c853e New translations dialog.mdx (Russian)
[ci skip]
2022-08-13 22:25:15 +10:00
Lea Anthony 2efab049f0 New translations dialog.mdx (Japanese)
[ci skip]
2022-08-13 22:25:14 +10:00
Lea Anthony 102f91ca7b New translations windows-installer.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:14 +10:00
Lea Anthony d1f71a2b20 New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:14 +10:00
Lea Anthony f9c8dd1d2d New translations windows.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:14 +10:00
Lea Anthony d7ebb383e6 New translations building.mdx (Russian)
[ci skip]
2022-08-13 22:25:14 +10:00
Lea Anthony ede69f8df9 New translations building.mdx (Japanese)
[ci skip]
2022-08-13 22:25:13 +10:00
Lea Anthony 226335e566 New translations building.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:13 +10:00
Lea Anthony 86f76f0de6 New translations dynamic-assets.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:13 +10:00
Lea Anthony 81c2e7cbb2 New translations bleeding-edge.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:13 +10:00
Lea Anthony 182a67b805 New translations installation.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:13 +10:00
Lea Anthony a890f3148c New translations installation.mdx (Russian)
[ci skip]
2022-08-13 22:25:13 +10:00
Lea Anthony 41291b4cb7 New translations installation.mdx (Japanese)
[ci skip]
2022-08-13 22:25:13 +10:00
Lea Anthony 4d5d212e1b New translations firstproject.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:12 +10:00
Lea Anthony f358fe410f New translations firstproject.mdx (Russian)
[ci skip]
2022-08-13 22:25:12 +10:00
Lea Anthony 8ea167af21 New translations firstproject.mdx (Japanese)
[ci skip]
2022-08-13 22:25:12 +10:00
Lea Anthony 75e58d43e8 New translations developing-new-features.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:11 +10:00
Lea Anthony 6e85560817 doc: linux workaround for ended event in video tag 2022-08-13 17:04:41 +10:00
Lea Anthony add21f6411 fix: handling of default folder for windows dialogs 2022-08-13 16:52:35 +10:00
Lea Anthony 4e05b2b8e8 docs: add guide to hide spawned windows 2022-08-13 16:43:04 +10:00
Richard Guay 57e4964a12 Added EmailIt and Modal File Manager (#1728)
* Added EmailIt and Modal File Manager

* Added EmailIt and Modal File Manager
2022-08-11 21:02:23 +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
Ryo TAGAMI 3f813aeb41 Add Japanese (#1716)
Co-authored-by: 田上 諒 <tagami@4thapp.jp>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-08-10 07:26:10 +10:00
Lea Anthony 0e2696f648 Update crowdin config 2022-08-10 07:22:10 +10:00
Lea Anthony 4385fea49b skip ci on crowdin translations 2022-08-10 07:19:11 +10:00
Lea Anthony 9eea492928 Fixup translations
Fixup translations
2022-08-09 21:05:20 +10:00
Lea Anthony ab37d633ed New Crowdin updates (#1719) 2022-08-09 20:48:29 +10:00
Lea Anthony a07cbf8685 Update Crowdin configuration file 2022-08-09 20:24:14 +10:00
Lea Anthony ff86bbc471 Update Crowdin configuration file 2022-08-09 19:47:01 +10:00
Lea Anthony 4e49852bdb Update crowdin.yml 2022-08-09 19:37:38 +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 ba11e5c6d6 Fix version number 2022-08-08 20:28:38 +10:00
3511 changed files with 222038 additions and 64724 deletions
+550 -1
View File
File diff suppressed because it is too large Load Diff
+5 -1
View File
@@ -1,7 +1,7 @@
name: Bug Report
description: Create a report to help us improve
# title: ""
labels: ["bug"]
labels: ["Bug"]
body:
- type: markdown
@@ -14,6 +14,10 @@ body:
- Search the issue tracker using [this link](https://github.com/wailsapp/wails/issues?q=is%3Aissue+).
- Search the [discussion forums](https://github.com/wailsapp/wails/discussions?discussions_q=type+your+issue+here).
- Read the [Troubleshooting Guide](https://wails.io/docs/next/guides/troubleshooting).
- Create a [Minimal Reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example) and link to it in the issue.
- If your issue is related to TypeScript generation, please open a ticket and create a PR with a failing test case.
TS tests can be found [here](https://github.com/wailsapp/wails/tree/master/v2/internal/binding/binding_test). Remember to add
your test to the `binding_test.go` file.
- Try to fix it yourself. Keep a list of things you have done to fix the problem.
If after doing all the above, the problem remains, please continue with this ticket providing *all* the information requested.
+1 -1
View File
@@ -1,4 +1,4 @@
blank_issues_enabled: false
blank_issues_enabled: true
contact_links:
- name: GitHub Community Discussions
url: https://github.com/wailsapp/wails/discussions
+3 -2
View File
@@ -1,7 +1,7 @@
name: Documentation
description: Report an issue related to documentation.
# title: ""
labels: ["documentation"]
labels: ["Documentation"]
body:
- type: markdown
@@ -12,6 +12,7 @@ body:
- Log undocumented APIs
- Update link
- Documentation other than non-project code
- Add new language
If you followed the documentation but things don't work, take some time to consider if it's the documentation or the code that's wrong. In the latter, prefer using the "[Bug Report](https://github.com/wailsapp/wails/issues/new?assignees=&labels=bug&template=bug_report.yml)" template.
@@ -19,7 +20,7 @@ body:
attributes:
label: Have you read the Documentation Contribution Guidelines?
options:
- label: I have read the [Documentation Contribution Guidelines](https://wails.io/docs/next/contributing/documenting).
- label: I have read the [Documentation Contribution Guidelines](https://wails.io/community-guide#ways-of-contributing).
required: true
- type: textarea
+1 -1
View File
@@ -1,7 +1,7 @@
name: Feature request
description: Suggest an idea for this project
# title: ""
labels: ["enhancement"]
labels: ["Enhancement"]
body:
- type: markdown
+1 -1
View File
@@ -10,7 +10,7 @@ exemptLabels:
- inprogress
- "Selected For Development"
# Label to use when marking an issue as stale
staleLabel: wontfix
staleLabel: "Wont Fix"
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
+118
View File
@@ -0,0 +1,118 @@
name: Build + Test v2
on:
push:
branches: [release/*, master]
workflow_dispatch:
jobs:
test_go:
name: Run Go Tests
if: github.repository == 'wailsapp/wails'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
go-version: [1.18, 1.19]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install linux dependencies
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update -y && sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev build-essential pkg-config
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Run tests (mac)
if: matrix.os == 'macos-latest'
env:
CGO_LDFLAGS: -framework UniformTypeIdentifiers -mmacosx-version-min=10.13
working-directory: ./v2
run: go test -v ./...
- name: Run tests (!mac)
if: matrix.os != 'macos-latest'
working-directory: ./v2
run: go test -v ./...
test_js:
name: Run JS Tests
if: github.repository == 'wailsapp/wails'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
working-directory: v2/internal/frontend/runtime
- name: Run tests
run: npm test
working-directory: v2/internal/frontend/runtime
test_templates:
name: Test Templates
needs: test_go
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
template:
[
svelte,
svelte-ts,
vue,
vue-ts,
react,
react-ts,
preact,
preact-ts,
lit,
lit-ts,
vanilla,
vanilla-ts,
plain,
]
go-version: [1.18, 1.19]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Build Wails CLI
run: |
cd ./v2/cmd/wails
go install
wails -help
- name: Install linux dependencies
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update -y && sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev build-essential pkg-config
- name: Generate template '${{ matrix.template }}'
run: |
mkdir -p ./test-${{ matrix.template }}
cd ./test-${{ matrix.template }}
wails init -n ${{ matrix.template }} -t ${{ matrix.template }} -ci
cd ${{ matrix.template }}
wails build -v 2
@@ -1,50 +0,0 @@
name: Sync upstream branch and deploy mirror | 同步上游分支并部署镜像
on:
schedule:
- cron: "0 8,20 * * *"
workflow_dispatch:
jobs:
build-and-deploy:
name: Automatic deployment | 自动部署
runs-on: ubuntu-latest
if: github.repository == 'misitebao/wails'
steps:
- name: Checkout | 切换到部署分支
uses: actions/checkout@v2
with:
ref: "master"
submodules: true
fetch-depth: 0
- name: Setup Git | 设置Git
run: |
git config --local user.email "i@misitebao.com"
git config --local user.name "misitebao"
- name: Add remote upstream repository and sync | 添加远程上游仓库并同步
run: |
git remote add upstream https://github.com/wailsapp/wails
git pull -v --progress --no-rebase "upstream" master
- name: Push | 推送
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
- name: Build Site | 构建网站
run: |
cd website &&
npm install && npm run build
- name: Deploy to Server | 部署到服务器
uses: hengkx/ssh-deploy@v1.0.1
with:
HOST: ${{ secrets.DEPLOY_HOST }}
USERNAME: ${{ secrets.DEPLOY_HOST_USER }}
PASSWORD: ${{ secrets.DEPLOY_HOST_PASSWORD }}
SOURCE: "website/build"
TARGET: "/www/wwwroot/wails.top"
@@ -0,0 +1,35 @@
name: Generate Sponsor Image
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
update-sponsors:
name: Update Sponsors
runs-on: ubuntu-latest
if: github.repository == 'wailsapp/wails'
steps:
- uses: actions/checkout@v3
- name: Set Node
uses: actions/setup-node@v2
with:
node-version: 16.x
- name: Update Sponsors
run: cd scripts/sponsors && chmod 755 ./generate-sponsor-image.sh && ./generate-sponsor-image.sh
env:
SPONSORKIT_GITHUB_TOKEN: ${{ secrets.SPONSORS_TOKEN }}
SPONSORKIT_GITHUB_LOGIN: wailsapp
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
commit-message: "chore: update sponsors.svg"
add-paths: "website/static/img/sponsors.svg"
title: Update Sponsor Image
body: Generated new image
branch: update-sponsors
delete-branch: true
+15
View File
@@ -0,0 +1,15 @@
name: Label sponsors
on:
pull_request:
types: [ opened ]
issues:
types: [ opened ]
jobs:
build:
name: is-sponsor-label
if: github.repository == 'wailsapp/wails'
runs-on: ubuntu-latest
steps:
- uses: JasonEtco/is-sponsor-label-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-34
View File
@@ -1,34 +0,0 @@
name: latest pre-release
on:
push:
branches:
- develop
tags:
- '**-pre**'
jobs:
build:
name: Test Build Latest Pre-Release
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Set up Go 1.16
uses: actions/setup-go@v1
with:
go-version: 1.16
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Get dependencies
run: |
go get -v -d ./...
- name: Build
run: go build -v ./cmd/wails
- name: Test
run: ./wails version
+50 -21
View File
@@ -1,32 +1,61 @@
name: pr
name: PR Checks
on:
pull_request:
branches:
- develop
jobs:
pull_request_review:
types: [submitted]
build:
name: Test Build PR
jobs:
check_docs:
name: Check Docs
if: ${{github.repository == 'wailsapp/wails' && contains(github.head_ref,'feature/')}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Verify Changed files
uses: tj-actions/verify-changed-files@v11.1
id: verify-changed-files
with:
files: |
website/**/*.mdx
website/**/*.md
- name: Run step only when files change.
if: steps.verify-changed-files.outputs.files_changed != 'true'
run: |
echo "::warning::Feature branch does not contain any changes to the website."
test_go:
name: Run Go Tests
runs-on: ${{ matrix.os }}
if: github.event.review.state == 'approved'
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
os: [ubuntu-latest, windows-latest, macos-latest]
go-version: [1.18, 1.19]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go 1.16
uses: actions/setup-go@v1
with:
go-version: 1.16
id: go
- name: Install linux dependencies
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update -y && sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev build-essential pkg-config
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Get dependencies
run: |
go get -v -d ./...
- name: Build
run: go build -v ./cmd/wails
- name: Run tests (mac)
if: matrix.os == 'macos-latest'
env:
CGO_LDFLAGS: -framework UniformTypeIdentifiers -mmacosx-version-min=10.13
working-directory: ./v2
run: go test -v ./...
- name: Test
run: ./wails version
- name: Run tests (!mac)
if: matrix.os != 'macos-latest'
working-directory: ./v2
run: go test -v ./...
+17
View File
@@ -0,0 +1,17 @@
name: Update Project
on:
project_card:
types: [ moved ]
jobs:
projectcardautolabel_job:
runs-on: ubuntu-latest
if: github.repository == 'wailsapp/wails'
steps:
- name: Run ProjectCard AutoLabel
id: runprojectcardautolabel
uses: Matticusau/projectcard-autolabel@v1.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
autolabel-config: '[{"column": "TODO", "add_labels":["TODO"], "remove_labels":["In Progress", "Ready For Testing"]},{"column":"In progress", "add_labels":["In Progress"], "remove_labels":["TODO", "Ready For Testing"]},{"column":"In review", "add_labels":["Ready For Testing"], "remove_labels":["TODO", "In Progress"]}, {"column":"Done", "add_labels":["Done"], "remove_labels":["TODO", "In Progress", "Ready For Testing"]}]'
+37
View File
@@ -0,0 +1,37 @@
name: Push Checks
on:
push:
branches: [master]
jobs:
push_files_to_crowdin:
name: Push files to Crowdin
if: github.repository == 'wailsapp/wails'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Verify Changed files
uses: tj-actions/verify-changed-files@v11.1
id: verify-changed-files
with:
files: |
website/**/*.mdx
website/**/*.md
website/**/*.json
- name: Set node
uses: actions/setup-node@v2
with:
node-version: 16.x
- name: Push files
if: steps.verify-changed-files.outputs.files_changed == 'true'
env:
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
run: |
cd website
corepack enable
pnpm install
pnpm run crowdin push -b master
-34
View File
@@ -1,34 +0,0 @@
name: release
on:
push:
branches:
- master
tags:
- '!**pre**'
jobs:
build:
name: Test Build Latest Release
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Set up Go 1.16
uses: actions/setup-go@v1
with:
go-version: 1.16
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Get dependencies
run: |
go get -v -d ./...
- name: Build
run: go build -v ./cmd/wails
- name: Test
run: ./wails version
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
name: Rebuild the runtime
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: 14.17.6
@@ -0,0 +1,31 @@
name: Sync Translated Documents
on:
workflow_dispatch:
jobs:
sync-translated-documents:
runs-on: ubuntu-latest
if: github.repository == 'wailsapp/wails'
steps:
- uses: actions/checkout@v3
- name: Set node
uses: actions/setup-node@v2
with:
node-version: 16.x
- name: Sync Translated Documents
run: cd scripts && chmod 755 ./sync-translated-documents.sh && ./sync-translated-documents.sh
env:
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
commit-message: "docs: sync documents"
title: "docs: sync documents"
body: "- [x] Sync translated documents"
branch: feature/documents
delete-branch: true
draft: true
+6 -3
View File
@@ -27,8 +27,11 @@ v2/pkg/parser/testproject/frontend/wails
v2/test/kitchensink/frontend/public
v2/test/kitchensink/build/darwin/desktop/kitchensink
v2/test/kitchensink/frontend/package.json.md5
/v2/internal/ffenestri/windows/test/cmake-build-debug/
!v2/internal/ffenestri/windows/x64/webview2.dll
!v2/internal/ffenestri/windows/x64/WebView2Loader.dll
.idea/
v2/cmd/wails/internal/commands/initialise/templates/testtemplates/
.env
/website/static/img/.cache.json
/v3/.task
/v3/examples/build/bin/testapp
/websitev3/site/
-48
View File
@@ -1,48 +0,0 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Test cmd package",
"type": "go",
"request": "launch",
"mode": "test",
"program": "${workspaceFolder}/cmd/"
},
{
"name": "Wails Init",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/wails/main.go",
"env": {},
"cwd": "/tmp",
"args": [
"init",
"-name",
"runtime",
"-dir",
"runtime",
"-output",
"runtime",
"-template",
"vuebasic"
]
},
{
"name": "Wails Update Pre",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/wails/main.go",
"env": {},
"cwd": "/tmp",
"args": [
"update",
"-pre"
]
}
]
}
-8
View File
@@ -1,8 +0,0 @@
{
"go.formatTool": "goimports",
"eslint.alwaysShowStatus": true,
"files.associations": {
"__locale": "c",
"ios": "c"
}
}

Some files were not shown because too many files have changed in this diff Show More