5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-08 20:40:45 +08:00
Commit Graph

163 Commits

Author SHA1 Message Date
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
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
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
GitHub Actions
6bbac4ad2a [skip ci] Publish @wailsio/runtime 3.0.0-alpha.55 2025-02-01 23:22:46 +00:00
Lea Anthony
b4c4cd8ae8
Fix mac/js events 2025-02-02 10:22:11 +11:00
GitHub Actions
9ce782be68 [skip ci] Publish @wailsio/runtime 3.0.0-alpha.49 2025-01-31 20:13:00 +00:00
GitHub Actions
c51688499c chore: Publish @wailsio/runtime 3.0.0-alpha.48 2025-01-31 20:07:24 +00:00
GitHub Actions
e3ed07997e chore: Publish @wailsio/runtime 3.0.0-alpha.47 2025-01-31 20:06:44 +00:00
GitHub Actions
c911e792dc chore: Publish @wailsio/runtime 3.0.0-alpha.46 2025-01-31 20:06:16 +00:00
GitHub Actions
95891b8ee1 chore: Publish @wailsio/runtime 3.0.0-alpha.45 2025-01-31 20:05:45 +00:00
GitHub Actions
20720ebdad chore: Publish @wailsio/runtime 3.0.0-alpha.44 2025-01-31 20:05:15 +00:00
GitHub Actions
cda9184d83 chore: Publish @wailsio/runtime 3.0.0-alpha.43 2025-01-31 20:04:41 +00:00
GitHub Actions
5ffdc204f6 chore: Publish @wailsio/runtime 3.0.0-alpha.42 2025-01-31 20:04:11 +00:00
Lea Anthony
5bd131c929
update pipeline 2025-01-31 16:44:27 +11:00
Lea Anthony
0c771e37f9
Auto build docs/types for runtime module 2025-01-31 16:34:39 +11:00
Lea Anthony
b3e81f5cbb
BREAKING CHANGE: wml attributes are now prefixed with data- 2025-01-28 07:37:17 +11:00
Lea Anthony
db61f9f263
Event cancellation for standard listeners.
Major doc updates.
Runtime build tidy up.
Removed redundant default event mappings.
2025-01-27 09:29:22 +11:00
Lea Anthony
773dca77d4
Single Instance feature.
Fix missing events on darwin.
2024-12-30 21:02:43 +11:00
Lea Anthony
65f95b0380
Removed OnShouldClose: Create single way of handling conditional and unconditional close. 2024-12-23 08:23:07 +11:00
Lea Anthony
8e98d6dd19
Handle events at a lower level 2024-12-22 10:02:16 +11:00
Lea Anthony
19f60798b3
Provide a way to initialise the runtime if not using any runtime features. 2024-12-16 21:10:56 +11:00
Lea Anthony
7aa6abfefe
Documentation updates.
New `-git` flag for `wails3 init`.
New `wails3 generate webview2bootstrapper` command.
2024-12-16 20:00:56 +11:00
Lea Anthony
a0ff53b629
Docs change 2024-12-13 22:00:25 +11:00
Lea Anthony
eccfd345b5
Fix TS templates 2024-11-20 19:49:12 +11:00
Lea Anthony
d18b7bc4b8
V3 alpha feature/file association port (#3873)
* Update nsis template

* Move app data into config.yml

* mac support

* Add FileAssociations application config option
Support `ApplicationOpenedWithFile` event on Windows
Add docs

* Add FileAssociations application config option
Support `ApplicationOpenedWithFile` event on Windows
Add docs
Add test project

* Update example & docs.
Fix show window bug.

* Fix window show event bug

* Update changelog
2024-11-09 08:58:20 +11:00
Lea Anthony
8b105fc9c3
Improve runtime to detect browser 2024-11-04 19:44:54 +11:00
Atterpac
94e8f8b8d7
[V3 Runtime] Ensure JS package has parity with various node versions (#3821)
node runtime parity
2024-10-13 18:06:06 +11:00
Etesam
77b8132591
Updated Id type to ID for Screen (#3779)
* 🏷️ Updated `Id` type to `ID` for `Screen`

* 📝 Updated changelog
2024-09-27 15:26:33 +10:00
Mohamed Gharib
efe0c8d534
[v3-Windows] New DIP system for Enhanced High DPI Monitor Support (#3665)
* [v3-Windows] New DIP system for Enhanced High DPI Monitor Support

* Update changelog

* Remove asset middleware

* Remove SetThreadDpiAwarenessContext()

* Fix macOS build.

* Fill missing screens fields (linux, darwin)

* Skip DPI transformation on unsupported platforms

* Simplify distanceFromRectSquared()

* Update v3/pkg/application/screenmanager.go

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

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-09-22 08:38:30 +10:00
Atterpac
f0cec1cf37
[V3-Linux] fix resize and update @wailsio runtime (#3617) 2024-07-16 15:44:46 -05:00
Mohamed Gharib
d5e289880f
[v3] Rename AbsolutePosition() to Position() (#3611) 2024-07-15 19:27:21 +10:00
Travis McLane
cfe2424f4d
WindowDidMove / WindowDidResize events for Linux and Windows
* [linux] emit system specific event for theme change

Code was incorrectly emitting the `events.Common.ThemeChanged` event
instead of the OS Specific `events.Linux.SystemThemeChanged` event.
It is the reponsibility of the code in events_common_linux.go to map
it to the common variety.

* [linux] implement WindowDidMove

* [linux] implement debounce for WindowDidMove

* [example] listen for events.Common.WindowDidMove

* [windows] move WindowDidMove mapper outside of DnD guard

* WindowDidResize implementation

* windows: WindowDidResize

* chore: changelog update

* events.Common.WindowDidMove and events.Common.WindowDidResize
2024-06-30 16:11:45 -05:00
Lea Anthony
ed88987308
Added a new menu item to create window that listens to movement event. 2024-06-28 21:25:13 +10:00
Lea Anthony
c937c3bd8b
@wailsio/runtime v3.0.0-alpha.25 2024-06-08 20:45:53 +10:00