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
Fabio Waljaard
83e35e961f
fix(linux): call gtk_init to fix tauri-apps/tauri#11312 ( #1036 )
2024-12-30 01:25:14 +02:00
github-actions[bot]
d0e46ade98
publish new versions ( #1010 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com >
tao-v0.31.0
2024-12-09 01:11:34 +02:00
Jnschrber
2e6cf1a433
fix(windows): fix appcrash on windows where darkmode is not supported ( #1022 )
2024-12-09 01:00:12 +02:00
Amr Bashir
fa9aaa6066
fix(windows): remove borders if fullscreen ( #1019 )
...
closes tauri-apps/tauri#10380
2024-11-20 05:47:02 +02:00
Amr Bashir
5d6d7da0ad
fix(windows): remove WS_CAPTION and WS_THICKFRAME when calculating adjust window rect ( #1017 )
...
closes tauri-apps/tauri#11695
2024-11-20 05:46:46 +02:00
Amr Bashir
720bd93f97
fix(windows): use physical position when creating the window ( #1018 )
...
closes tauri-apps/tauri#11718
2024-11-19 12:23:24 +02:00
Tony
6b49f55a96
feat: expose raw gdk monitor ( #1016 )
2024-11-18 19:40:13 +02:00
Amr Bashir
88f0b4190f
fix(android): fix compile when rwh_04 or rwh_05 is active ( #1012 )
...
* fix(android): fix compile when `rwh_04` or `rwh_05` is active
closes #1011
* test features
2024-11-11 21:52:30 +02:00
Amr Bashir
73741a7540
deps: remove instant ( #1008 )
...
closes #1006
2024-11-11 16:10:26 +02:00
github-actions[bot]
cb500906df
Publish New Versions ( #1009 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com >
tao-v0.30.7
2024-11-11 16:02:51 +02:00
Amr Bashir
97382238b2
fix(windows): fix regression in setting/getting inner size ( #1007 )
...
- Fix regression for decorated window, remove borders in `inner_size` only for undecorated window with shadows
- Add borders when setting inner size for undecorated window with shadows
2024-11-11 15:46:25 +02:00
github-actions[bot]
0274b0fca6
Publish New Versions ( #1004 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com >
tao-v0.30.6
2024-11-09 03:13:54 +02:00
Amr Bashir
edfbd364a6
fix(windows): fix WindowBuilder::with_position with position on non-primary monitor ( #992 )
...
closes tauri-apps/tauri#11430
2024-11-09 03:03:46 +02:00
Amr Bashir
06d109feb3
fix(windows): fix Window::inner_size returns slightly larger than what's visible ( #993 )
...
ref: https://github.com/rust-windowing/winit/pull/3712
2024-11-09 03:03:08 +02:00
Lucas Fernandes Nogueira
946f804995
fix(android): memory leak on WindowManager global ref ( #1005 )
...
ref https://github.com/tauri-apps/tauri/issues/11609
2024-11-08 19:56:14 +02:00
AHQ
1f72c2465e
feat: add set_badge_count for Linux, iOS; set_badge_label for Macos; set_overlay_icon for Windows ( #1002 )
2024-11-05 23:29:06 +02:00
Amr Bashir
aff33fbb2d
fix(linux): include border and titlebars in Window::{outer_position, outer_size} and WindowEvent::Moved event ( #1001 )
2024-11-02 11:31:34 +02:00
github-actions[bot]
0f7e95a0af
Publish New Versions ( #999 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
tao-v0.30.5
2024-10-29 17:45:40 +03:00
Amr Bashir
532b5ab0bf
fix(android): fix android_binding macro expantion ( #1000 )
2024-10-29 11:37:22 -03:00