Commit Graph

3293 Commits

Author SHA1 Message Date
github-actions[bot]
3c2b4447aa publish new versions (#1151)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
tao-v0.34 tao-v0.34.5 tao-v0
2025-10-20 08:48:59 -03:00
Lucas Fernandes Nogueira
92e22209fb feat(android): emit LoopDestroyed when exiting the event loop (#1152) 2025-10-20 08:26:00 -03:00
Tony
da1514be09 fix(windows): gap in maximized undecorated window (#1150) 2025-10-18 00:29:10 +03:00
github-actions[bot]
efc67fbf85 publish new versions (#1149)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
tao-v0.34.4
2025-10-16 07:47:15 -03:00
Lucas Fernandes Nogueira
25f2c58aca refactor(android): call WindowEvent::Destroyed on activity destroy (#1148)
currently the Rust lifecycle is partially tied to the Android activity lifecycle:
- when the activity is created we initialize the event loop: 84b0ec2e35/src/android/kotlin/WryActivity.kt (L61) fda48e80ef/src/platform_impl/android/ndk_glue.rs (L196)
- on destroy we are not doing anything in particular now, but we should let the app exit the event loop so it can properly restart when the activity gets recreated

to reproduce this, open a Tauri app and press the back button - it will destroy the activity, and reopening the app will crash due to some global state trying to reinitialize (like a log plugin initialization or any other global singleton values)

closes https://github.com/tauri-apps/tauri/issues/13568
2025-10-16 07:35:57 -03:00
github-actions[bot]
fda48e80ef publish new versions (#1133)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
tao-v0.34.3
2025-09-01 10:17:00 +08:00
ASPCartman
3969a1a45c fix(macos): Fix color mappings in window.rs (#1138)
Co-authored-by: FabianLars <github@fabianlars.de>
2025-08-27 21:17:57 +02:00
Fabian-Lars
ff015b4c97 docs: always on top/bottom on wayland (#1135) 2025-08-25 19:24:29 +02:00
Tony
6b35f87df7 chore(ci): sign commits for create pull request (#1136) 2025-08-23 16:41:47 +03:00
Tony
28f5a96a7d fix(windows): apply scroll lines per wheel setting (#1119)
* fix(windows): apply scroll lines per wheel setting

* Add change file

* typo
2025-08-23 20:52:39 +08:00
Tony
a1edbeb448 fix(windows): emit LoopDestroyed on WM_ENDSESSION (#1126) 2025-08-23 14:21:55 +08:00
Tony
0defcd015c chore: don't publish audit PDF to crates.io (#1132)
* Don't publish audits to crates.io

* Fix crossbeam-channel warning

* Add change file

* Use include instead of exclude

Co-authored-by: Fabian-Lars <github@fabianlars.de>

---------

Co-authored-by: Fabian-Lars <github@fabianlars.de>
2025-08-20 22:42:05 +08:00
github-actions[bot]
d454dfed6e publish new versions (#1131)
Co-authored-by: lucasfernog <20051258+lucasfernog@users.noreply.github.com>
tao-v0.34.2
2025-08-18 09:26:02 -03:00
Simon Laux
60a47340c9 feat: MacOS: add universal applink support (#1108)
by implementing `application:willContinueUserActivityWithType:` and `application:continueUserActivity:restorationHandler:`,
reusing the existing `Event::Opened { urls }` event for the user facing api.
2025-08-18 08:47:08 -03:00
github-actions[bot]
6cf83e64d0 publish new versions (#1130)
Co-authored-by: lucasfernog <20051258+lucasfernog@users.noreply.github.com>
tao-v0.34.1
2025-08-17 11:14:53 -03:00
Robert
f73c70fd87 feat: add focusable property and Window::set_focusable (#1120)
* Added focusable functionality for windows

* Fixed flag logic

* linux

* macos

* change file

* also apply on canBecomeMainWindow

* add set_focusable

* doc

* fmt

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2025-08-17 11:14:05 -03:00
renovate[bot]
4658ebdbda chore(deps): update rust crate dlopen2 to 0.8.0 (#1117)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-14 14:21:23 +02:00
github-actions[bot]
5ac00b57ad publish new versions (#1109)
Co-authored-by: FabianLars <30730186+FabianLars@users.noreply.github.com>
tao-v0.34.0
2025-06-24 12:15:12 -03:00
Fabian-Lars
773d324be5 fix(macos): handle possible nil when trying to get current NSScreen (#1121) 2025-06-19 14:10:10 +02:00
Lucas Fernandes Nogueira
67f00588b4 fix(macos): check monitor from window initial position to determine size (#1110) 2025-05-03 14:32:00 -03:00
Tony
ba65486abe fix(windows): initial position sets to 0 (#1107) 2025-04-19 01:53:31 +02:00
Aurélien Jacobs
4a08505412 feat: add x11 feature flag to allow disabling x11 dependencies (#1103) 2025-04-19 01:38:39 +02:00
github-actions[bot]
986f07aa7e publish new versions (#1101)
Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
tao-v0.33.0 tao-v0.33
2025-04-07 11:20:05 -03:00
Tony
dae6d8875d chore(deps): update windows to 0.61 (#1100)
* chore(deps): update windows to 0.60

* Should be minor version bump

* rename change file
2025-03-21 06:59:38 +02:00
Lucas Nogueira
37fbed1361 fix(examples): run_return is available on all platforms but iOS 2025-03-15 16:02:15 -03:00
github-actions[bot]
f4a1d49654 publish new versions (#1092)
Co-authored-by: lucasfernog <20051258+lucasfernog@users.noreply.github.com>
tao-v0.32 tao-v0.32.8
2025-03-07 10:56:31 -03:00
Lucas Fernandes Nogueira
a364a282bc chore(ci): update cache (#1093) 2025-03-07 08:59:38 -03:00
The1111mp
b863d49c97 feat: add set_dock_visibility method (#1058)
* feat: add `set_dock_visibility` method

Signed-off-by: The1111mp <The1111mp@outlook.com>

* fix: remove eprintln code

Signed-off-by: The1111mp <The1111mp@outlook.com>

* small fixes

* persist state in app delegate instead of lazy_static

* use const

* Update .changes/feat-dock-visibility-on-macos.md

---------

Signed-off-by: The1111mp <The1111mp@outlook.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2025-03-07 08:59:26 -03:00
The1111mp
dd9251a8f0 fix: the system theme obtained is always light (#1091)
* fix(macos): the system theme obtained is always light (https://github.com/tauri-apps/tauri/issues/12894)

Signed-off-by: The1111mp <The1111mp@outlook.com>

* add change file

---------

Signed-off-by: The1111mp <The1111mp@outlook.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2025-03-07 07:39:51 -03:00
Lucas Fernandes Nogueira
996e28dfe1 fix(macos): crash sending key event when app has no windows (#1090)
I noticed this when clicking the `Close Window` menu item which sends a `Cmd+W` event to the application. It looks like the window was closed and tao tried to send the event to `keyWindow` which was null.
This check also exists on winit:
be1baf164c/src/platform_impl/apple/appkit/app.rs (L36)
2025-03-07 07:33:07 -03:00
github-actions[bot]
c97080cd0d publish new versions (#1084)
Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
tao-v0.32.7
2025-03-04 11:14:20 +01:00
Fabian-Lars
1be8f76e24 ci: Update lockfile on versioning PRs (#1085) 2025-03-02 02:31:57 +02:00
gezihuzi
1951b9abbb fix(macos): handle None return from standardWindowButton (#1083)
fix #1081
2025-03-01 05:55:16 +02:00
github-actions[bot]
7e9025466c publish new versions (#1082)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
tao-v0.32.6
2025-02-28 14:22:13 +01:00
Amr Bashir
9d1da74bb7 fix(windows): ensure APIs exist before using it (#1080)
* fix(windows): ensure APIs exist before using it

* a few other places

* fix compilation
2025-02-28 14:45:21 +02:00
github-actions[bot]
7f16fc14ce publish new versions (#1079)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
tao-v0.32.5
2025-02-28 10:54:55 +02:00
Amr Bashir
08c9c4c6e4 fix(macos): fix checks for set_focus (#1078) 2025-02-28 08:35:42 +02:00
Integral
ff85f772ab refactor: replace static with const for constants (#1034)
Co-authored-by: FabianLars <github@fabianlars.de>
2025-02-27 16:57:10 +01:00
github-actions[bot]
4f178fab5b publish new versions (#1077)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
tao-v0.32.4
2025-02-27 16:14:23 +01:00
Daniel Gerhardt
4679d6835a fix(windows): use correct position/size on WM_DPICHANGED for Windows 11 (#1056) 2025-02-27 16:13:20 +01:00
github-actions[bot]
aef8944690 publish new versions (#1076)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
tao-v0.32.3
2025-02-26 19:18:16 +02:00
Tony
c91dcde76f fix(windows): inner_size always returns restore size for maximized undecorated window (#1075) 2025-02-26 19:13:10 +02:00
github-actions[bot]
9367df4dc1 Publish New Versions (#1073)
* publish new versions

* mend

---------

Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
Co-authored-by: amrbashir <github@amrbashir.me>
tao-v0.32.2
2025-02-26 02:31:37 +02:00
Amr Bashir
b296cf53f4 feat: add WindowExtWindows::has_undecorated_shadow on Windows (#1074) 2025-02-25 22:03:59 +02:00
Tony
f4ec11d795 fix(windows): undecorated resize direction for top left and right border (#1070)
* Fix undecorated resize top left and right border

* Add change file
2025-02-25 03:51:55 +02:00
Lucas Nogueira
849abaf0b1 chore: update lockfile 2025-02-24 12:53:59 -03:00
github-actions[bot]
15cedf61df publish new versions (#1072)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
tao-v0.32.1
2025-02-24 12:07:51 -03:00
Lucas Fernandes Nogueira
1be722dbc2 fix(macos): window content protection crashing (#1071)
when content protection is used the app is crashing with the following error:
```
invalid message send to -[TaoWindow setSharingType:]: expected argument at index 0 to have type code 'Q', but found 'i'
```

using `ns_window.setSharingType(NSWindowSharingType::<type>)` fixes it

I've also changed other msg_send![] usage to leverage the type safe objc2-app-kit crate instead of using direct objc calls
2025-02-24 12:06:28 -03:00
github-actions[bot]
66754f355f publish new versions (#1045)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
tao-v0.32.0
2025-02-22 11:56:46 +01:00
Tony
28f728c7bf chore(deps): update windows to 0.60 (#1068) 2025-02-22 11:34:33 +01:00