5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-15 16:39:32 +08:00
Commit Graph

432 Commits

Author SHA1 Message Date
robinsamuel
1a0096c169 fix: update output paths for generated icons in Taskfile 2025-03-09 23:34:12 +01:00
robinsamuel
d1be724f41 fix: correct filename for Windows icon generation in Taskfile 2025-03-09 23:17:35 +01:00
Michael B
10791fabbd add '.html' to requests with no extension and no file found 2025-03-07 14:43:47 +02:00
GitHub Actions
d130544b1b [skip ci] Publish @wailsio/runtime v3.0.0-alpha.67 2025-03-01 05:24:18 +00:00
Fabio Massaioli
c468af839c Ignore build artifacts 2025-02-28 22:25:13 +01:00
Fabio Massaioli
7c56c4ce00 Remove build artifacts 2025-02-28 22:25:13 +01:00
Fabio Massaioli
5b6fd04b09 Stop typedoc noise 2025-02-28 22:25:13 +01:00
Fabio Massaioli
e64cbd3e66 Test data updates 2025-02-28 01:33:00 +01:00
GitHub Actions
fc0eb760cd [skip ci] Publish @wailsio/runtime v3.0.0-alpha.66 2025-02-27 20:52:35 +00:00
Lea Anthony
3aa3e09317
Merge pull request #4100 from fbbdev/v3-alpha-feature/typescript-runtime
[v3] TypeScript runtime
2025-02-28 07:51:31 +11:00
GitHub Actions
73da97053e [skip ci] Publish @wailsio/runtime v3.0.0-alpha.65 2025-02-27 20:49:51 +00:00
Lea Anthony
6423abe630
Merge branch 'v3-alpha' into v3-alpha-feature/typescript-runtime 2025-02-28 07:41:04 +11:00
GitHub Actions
e1a296c68e [skip ci] Publish @wailsio/runtime v3.0.0-alpha.64 2025-02-27 20:33:57 +00:00
GitHub Actions
183abde394 [skip ci] Publish @wailsio/runtime v3.0.0-alpha.63 2025-02-27 20:22:29 +00:00
Fabio Massaioli
9988b7eca8
[v3] Binding generator tests for Go 1.24 features (#4068)
* Enable go1.24 tests

This reverts commit e38684e7885c9c7b5ad3f704ad500c39bbce7715.

* Testdata for go1.24

This reverts commit 7ed397dc452f420551dfdd05dfe0c6a7646b3ba4.

* Require go 1.24

* Update changelog

* Add test for omitzero

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2025-02-28 07:21:51 +11:00
GitHub Actions
e4f0b64630 [skip ci] Publish @wailsio/runtime v3.0.0-alpha.62 2025-02-27 20:09:11 +00:00
GitHub Actions
2dcd35f181 [skip ci] Publish @wailsio/runtime v3.0.0-alpha.61 2025-02-27 20:07:10 +00:00
GitHub Actions
151bc6d36b [skip ci] Publish @wailsio/runtime v3.0.0-alpha.60 2025-02-27 19:14:31 +00:00
GitHub Actions
c96b7c693c [skip ci] Publish @wailsio/runtime 3.0.0-alpha.59 2025-02-27 19:07:58 +00:00
Fabio Massaioli
da9a9603b9 Merge branch 'v3-alpha' into v3-alpha-feature/typescript-runtime
# Conflicts:
#	docs/src/content/docs/changelog.mdx
2025-02-27 11:21:48 +01:00
GitHub Actions
28d22f7bfa [skip ci] Publish @wailsio/runtime 3.0.0-alpha.58 2025-02-27 10:02:02 +00:00
Fabio Massaioli
698f9cac39 Relax typescript compile target 2025-02-27 00:46:37 +01:00
Fabio Massaioli
db9e520f08 Use safari11 as esbuild target for High Sierra support 2025-02-27 00:30:48 +01:00
Fabio Massaioli
5da789c24f Fix creation function types 2025-02-26 16:57:16 +01:00
Fabio Massaioli
ed8cdfa0f6 Support older module resolution approaches 2025-02-25 21:43:35 +01:00
Fabio Massaioli
8dd1b61f1e Use const for system caller variable 2025-02-25 19:08:01 +01:00
Fabio Massaioli
5cf89f362f Update bundled runtime 2025-02-25 18:30:52 +01:00
Fabio Massaioli
d74ed5ab54 Nitpicks 2025-02-25 18:09:53 +01:00
Fabio Massaioli
af635f02c6 Refactor event target resolution logic 2025-02-25 17:59:17 +01:00
Fabio Massaioli
5b2c8eba80 Remove Promise monkey-patching 2025-02-25 17:53:18 +01:00
Fabio Massaioli
11866ee52f
Remove unneeded return statement
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-02-25 17:19:56 +01:00
Fabio Massaioli
b74b9efa8e
Fix OffAll test
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-02-25 17:15:45 +01:00
Fabio Massaioli
db6295594f Fix cancellation of promise arrays 2025-02-25 16:33:38 +01:00
Fabio Massaioli
b59f003f61 Fix dragging system 2025-02-25 14:03:52 +01:00
Fabio Massaioli
5dbd49606b Merge branch 'v3-alpha' into v3-alpha-feature/typescript-runtime 2025-02-25 04:13:47 +01:00
Fabio Massaioli
14fb7ed4f7 Update binding generator to new internal API 2025-02-25 03:32:51 +01:00
Fabio Massaioli
7b2c04dcb2 Update bundled runtime 2025-02-25 03:32:30 +01:00
Fabio Massaioli
2c521e63cb Update package-lock.json 2025-02-25 03:32:09 +01:00
Fabio Massaioli
52f1b595e8 Add runtime tests 2025-02-25 03:30:59 +01:00
Fabio Massaioli
95b4bfc253 Migrate runtime to TypeScript 2025-02-25 03:30:30 +01:00
GitHub Actions
1dff481199 [skip ci] Publish @wailsio/runtime 3.0.0-alpha.57 2025-02-24 07:54:46 +00:00
GitHub Actions
d5a8f1e323 [skip ci] Publish @wailsio/runtime 3.0.0-alpha.56 2025-02-19 10:45:40 +00:00
Fabio Massaioli
e7c134de4e
[v3] Late service registration and error handling overhaul (#4066)
* Add service registration method

* Fix error handling and formatting in messageprocessor

* Add configurable error handling

* Improve error strings

* Fix service shutdown on macOS

* Add post shutdown hook

* Better fatal errors

* Add startup/shutdown sequence tests

* Improve debug messages

* Update JS runtime

* Update docs

* Update changelog

* Fix log message in clipboard message processor

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Remove panic in RegisterService

* Fix linux tests (hopefully)

* Fix error formatting everywhere

* Fix typo in windows webview

* Tidy example mods

* Set application name in tests

* Fix ubuntu test workflow

* Cleanup template test pipeline

* Fix dev build detection on Go 1.24

* Update template go.mod/sum to Go 1.24

* Remove redundant caching in template tests

* Final format string cleanup

* Fix wails3 tool references

* Fix legacy log calls

* Remove formatJS and simplify format strings

* Fix indirect import

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-02-19 09:27:41 +01:00
Ian VanSchooten
5059adc561
[v3] Remove ESLint from templates (#4059)
* Remove eslint dependencies from templates

* Add changelog

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2025-02-16 16:02:25 +11:00
Marcus Crane
1bafc6f22f
[v3] Fix invisible footer for light mode users across default templates (#4056)
* Remove invisible footer styling

Signed-off-by: Marcus Crane <marcus@utf9k.net>

* Add changelog entry

Signed-off-by: Marcus Crane <marcus@utf9k.net>

---------

Signed-off-by: Marcus Crane <marcus@utf9k.net>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2025-02-16 11:57:52 +11:00
Ian VanSchooten
a49bfcc956
[v3] Update copyright date (#4037)
* Update copyright date to 2025

* Update changelog
2025-02-14 08:43:19 +11:00
Ian VanSchooten
69917c2f50
[V3] Add MacOS 15 "Sequoia" to OSInfo.Branding (#4065)
* Add MacOS 15 to names list

* Update changelog

* Listening to the rabbit
2025-02-14 08:40:29 +11:00
Fabio Massaioli
37673eb24d
[v3] Fix binding generator bugs and prepare for Go 1.24 (#4045)
* Rename predicates source file

* Overhaul and document type predicates

* Fix model collection logic for named types

* Fix map key type rendering

* Fix map creation code

* Fix rendering of structs that implement marshaler interfaces

* Fix type cycle detection to take type args into account

* Fix enum and typeparam field initialisation

* Improve unsupported type warnings

* Remove internal models file

* Deduplicate template code

* Accept generic aliases in static analyser

* Support new `encoding/json` flag `omitzero`

* Handle special cases when rendering generic aliases

* Update npm test dependencies

* Test class aliases and implicit private dependencies

* Test marshaler combinations

* Test map key types

* Remove bad map keys from unrelated tests

* Test service discovery through generic aliases

* Test generic aliases

* Test warning messages

* Disable go1.24 tests

* Update changelog

* Restore rendering of injected lines in index file

* Test directives

* Add wails:ignore directive

* Fix typo

* Move injections to the bottom of service files

* Handle errors from closing files

* Do not emit messages when services define only lifecycle methods

* Add internal directive for services and models

* Update changelog

* Fix error in service templates

* Test internal directive on services/models

* Fix error in index template

* Base testdata updates

* Testdata for class aliases and implicit private dependencies

* Testdata for marshaler combinations

* Testdata for map key types

* Testdata for bad map key fixes

* Add weakly typed enums aka alias constants

* Testdata for enum and typeparam field fixes

* Testdata for generic aliases

* Testdata for warning messages

* Testdata for directives

* Testdata for weakly typed enums

* Update binding example

* Update services example

* Remove go1.24 testdata

* Update cli doc

* Fix analyser tests

* Fix windows tests... hopefully

* go mod tidy on examples

* Update bindings guide

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2025-02-09 09:44:34 +11:00
Fabio Massaioli
d4096868e3
[v3] Fix and optimise assetserver (#4049)
* Fix and optimize content type sniffer

- Minimize copying and buffering
- Ensure it sniffs the full 512-bytes prefix

* Fix assorted warnings

* Cleanup error formatting

- Remove unnecessary formatting calls
- Fix invalid format strings
- Standardise logging calls

* Fix and optimize index fallback method

- Pass through non-404 responses correctly
- Do not buffer original response

* Test content sniffing and index fallback

* Update changelog

* Remove obsolete check

* Add safety checks in sniffer
2025-02-09 00:02:54 +11:00
GitHub Actions
6bbac4ad2a [skip ci] Publish @wailsio/runtime 3.0.0-alpha.55 2025-02-01 23:22:46 +00:00