Commit Graph

3283 Commits

Author SHA1 Message Date
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
Fabian-Lars
08475f72b1 chore(deps): update objc2 to 0.6 (#1067) 2025-02-22 11:33:09 +01:00
Fabian-Lars
52c0bc6190 ci: Less noisy renovate config 2025-02-21 20:45:20 +01:00
Fabian-Lars
3664513621 chore: Update msrv to 1.74 and test it in CI (#1050) 2025-02-21 19:54:37 +01:00
Mads Marquart
8c8f0e8b79 refactor: Use objc2 (#1049) 2025-02-21 17:29:48 +01:00
Amr Bashir
5cc92980c4 fix(windows): calculate accurate window insets for undecorated shadows (#1052)
ref: 7bddb390ca/crates/gpui/src/platform/windows/events.rs (L1418-L1454)

closes #905
2025-02-09 05:25:36 +02:00
Manfred Egger
94afde9843 fix(linux): add missing function keys for linux (#1040)
* Add missing function keys F13-F24 to linux implementation

* Added change file
2025-01-22 02:26:50 +02:00
Mads Marquart
6fda49843e fix(macos): Remove internal From implementation (#1048)
Removes `impl From<ActivationPolicy> for NSApplicationActivationPolicy`.

This is needed to avoid publicly exposing a dependency on cocoa, which
will allow using `objc2` in the future.
2025-01-22 01:18:46 +02:00
Tony
543e1177ee chore(deps): update windows to 0.59 (#1044) 2025-01-14 05:53:51 +02:00
github-actions[bot]
cdfba4ecfc Publish New Versions (#1037)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
tao-v0.31.1 tao-v0.31
2025-01-04 17:44:11 +02:00
Amr Bashir
bb537fe996 fix(windows): fix set_size doing nothing for undecorated window with shadows (#1039)
closes tauri-apps/tauri#12168
2025-01-04 17:20:20 +02:00