3298 Commits

Author SHA1 Message Date
Amr Bashir
9b5aa60ba6 fix: return error instead of panic in set_skip_taskbar method (#970)
* fix: return error instead of panic in `set_skip_taskbar` method

ref: https://github.com/tauri-apps/tauri/issues/10422#issuecomment-2315014576

* change file

* Update unix.rs

* Apply suggestions from code review
2024-08-29 18:44:51 +03:00
Amr Bashir
e47d4c4aa0 fix(linux): remove current DE check (#967)
closes #962
2024-08-27 02:30:04 +03:00
Lucas Fernandes Nogueira
f591636124 feat(ci): explicitly mark tao-macros as a tao dependency on covector (#966)
In #964 I forgot to update the tao-macros dependency on the tao Cargo.toml. Let's configure covector to handle that for us.
2024-08-21 15:18:31 +03:00
github-actions[bot]
340684d932 publish new versions (#965)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
tao-macros-v0 tao-macros-v0.1 tao-v0.29.1 tao-v0.29 tao-macros-v0.1.3
2024-08-21 08:27:23 -03:00
Lucas Fernandes Nogueira
4cd534151a feat(macros): allow Android domain parts to have underscores (#964)
* feat(macros): allow Android domain parts to have underscores

Ref https://github.com/tauri-apps/tauri/issues/9707

* fill change file

* no need to unescape package

* Update .changes/android-package-underscores.md
2024-08-21 07:53:35 -03:00
github-actions[bot]
508d4ab868 publish new versions (#944)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
tao-v0.29.0
2024-08-16 18:32:25 -03:00
Amr Bashir
3c69d4561c chore(deps): update windows crate to 0.58 (#963)
* chore(deps): update windows crate to 0.58

* cocoa as well

* core-* crates
2024-08-16 16:07:27 -03:00
Amr Bashir
1113935fb8 fix: return overflow in Icon::from_rgba (#958)
* fix: return overflow in `Icon::from_rgba`

* Update icon.rs
2024-07-25 12:06:03 +09:00
Amr Bashir
fbc15c298e ci: use @stable and @nightly rev instead of @master (#957) 2024-07-23 23:35:33 +03:00
Marijn Suijten
f57561964c chore(deps): Upgrade to ndk 0.9 and fix thread-safety interactions (#956)
Most changes were copied over from my `wry` PR at
https://github.com/tauri-apps/wry/pull/1296.  Most notably a
`&ThreadLooper` is now passed to `wry::android_setup()` because we
have one, and it gives important safety guarantees when it comes to
registering callbacks on this looper, without (unnecessarily!) requiring
`Send`.  A thread-local requirement already exists for the `JNIEnv` that
is passed around anyway.

Also note that certain workarounds and illogical inverted passes
around `key_code()` handling are no longer needed, as the `ndk` crate
now passes an `enum` with the raw `i32` around so that the `.into()`
conversion for `i32` (the correct type) now becomes lossless.
2024-07-18 15:06:37 +03:00
Amr Bashir
80e1008438 fix: prevent integer overflow when validating icon (#954) 2024-07-16 10:38:14 +08:00
Amr Bashir
c1ef91e220 ci: update unmaintained actions (#953) 2024-07-16 10:37:40 +08:00
Jacob Bolda
0af78a9249 set to stable covector v0.12.0 (#952) 2024-07-05 22:29:16 +03:00
Jacob Bolda
f429dbde4e chore: Optimize Covector Config (#945)
* use fetch:check to query the crate API instead of command

* remove cargo package
2024-06-30 07:26:35 +03:00
Jacob Bolda
03c445ffd2 chore: remove extra issue templates (#948) 2024-06-29 10:25:19 +02:00
muwoo
b7dab732a9 fix(windows): Window::request_user_attention not taking effect after minimizing the window by clicking the taskbar icon (#947) 2024-06-28 06:00:30 +03:00
Andrew Baxter
f54cc11e44 feat: Add Linux method to use existing GTK window (#938) 2024-06-27 05:22:21 +03:00
Jacob Bolda
dfe691f78a Enable Change Comments On Fork-based PRs (#946) 2024-06-26 21:39:22 +03:00
Aubrey
e67cf1b282 fix(linux): prevent firing duplicate mouse events (fixes #939) (#941)
* fix(linux): prevent firing duplicate mouse events (#939)

* Add change file

* Update .changes/bump.md

Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <yuweiwu@pm.me>

---------

Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <yuweiwu@pm.me>
2024-06-24 10:37:56 +08:00
github-actions[bot]
b20d500e51 Publish New Versions (#927)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
tao-v0.28 tao-v0.28.1
2024-06-12 20:29:08 +03:00
renovate[bot]
29bee15103 fix(deps): update rust crate windows to 0.57 (#935)
* fix(deps): update rust crate windows to 0.57

* change file

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
2024-06-12 20:09:09 +03:00
Amr Bashir
289ac036fc ci: recognize contributors in releases (#934) 2024-06-07 07:53:41 +03:00
Amr Bashir
b1b8b3ffac refactor(windows): increase count to 4 and adjust change file (#933) 2024-06-04 20:56:37 +03:00
muwoo
3bbddc64d8 refactor(windows): Modify the flashing behavior of UserAttentionType::Informational in multiple windows (#931)
* refactor(windows): Modify the flashing behavior of UserAttentionType::Informational in multiple windows

* refactor(windows): add change markdown
2024-06-03 18:19:46 +09:00
Amr Bashir
ab792dbd6c fix(windows): always allow dark theme for app and window (#928) 2024-05-16 11:13:05 +08:00
Jason Tsai
7e8f75e916 feat(macos): add setters to set title bar style on macOS (#926)
* feat(macos): add setters to set title bar style on macOS

* fix: bool to BOOL
2024-05-15 18:44:30 +03:00
github-actions[bot]
422f29c635 Publish New Versions (#913)
Co-authored-by: wusyong <wusyong@users.noreply.github.com>
tao-v0.28.0
2024-05-07 17:28:16 +03:00
Golden Water
2d6ad2ded6 fix(macos::app_state): fix unwanted deviation when drag around monitor boundaries (#923) 2024-05-07 09:33:14 +09:00
Golden Water
f06843be44 feat(macos): add Reopen event, closes #218 (#517)
* feat(macOS): add Reopen event

* fix: unable to compile on macos when arch isn't aarch64

* fix(examples::reopen_event): only create new window when no window exists
2024-05-02 16:05:25 +03:00
Amr Bashir
cd38f23748 feat: add EventLoopBuilderExtUnix::with_app_id on Linux (#912)
closes #910
2024-04-30 15:11:23 +03:00
github-actions[bot]
bc0a719439 Publish New Versions (#902)
Co-authored-by: dklassic <dklassic@users.noreply.github.com>
tao-v0.27.1 tao-v0.27
2024-04-22 16:02:02 +02:00
Amr Bashir
5af059b1e5 chore(deps): update to windows-rs 0.56 and other deps (#909)
* chore(deps): update to windows-rs 0.56 and other deps

* fix iOS

* ios again
2024-04-18 12:07:57 +08:00
Jason Tsai
9ef1379fcc fix(macos): race condition when toggling traffic light, close tauri#9210 (#901) 2024-04-03 17:25:51 +02:00
Amr Bashir
73883cb5c9 refactor(macOS): use NSEvent::mouseLocation for cursor_position instead of CGEventSource (#900)
* refactor(macOS): use NSEvent::mouseLocation for cursor_position instead of CGEventSource

* Update mod.rs

* Update mod.rs

* fix build
2024-04-03 04:42:17 +02:00
github-actions[bot]
9eb189e69c Publish New Versions (#898)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
tao-v0.27.0
2024-04-01 16:44:25 +02:00
Amr Bashir
c23577325b refactor!: migrate to dpi crate (#896)
* refactor!: migrate to `dpi` crate

* fix linux

* remove github URL

ref: https://github.com/rust-windowing/winit/pull/3605
2024-03-28 16:21:24 +02:00
Amr Bashir
2d0a2d781d chore: remove duplicate PCSTR (#897) 2024-03-27 04:10:25 +02:00
github-actions[bot]
9ecac8119b Publish New Versions (#895)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
tao-v0.26.2 tao-v0.26
2024-03-26 16:10:08 +02:00
Amr Bashir
17f54d4028 chore(deps): update windows crate to 0.54 (#887) 2024-03-26 15:53:06 +02:00
Alex
ad7fa44101 feat: add decorations example (#888) 2024-03-26 04:49:19 +02:00
github-actions[bot]
88e1e32901 Publish New Versions (#885)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
tao-v0.26.1
2024-02-28 18:08:08 +02:00
Fabian-Lars
f2ffb501eb fix(linux): taskbar compile error on aarch64 (#884)
* fix(linux): taskbar compile error on aarch64

fixes #883

Note that i couldn't actually test the progress bar feature but at least it compiles now.

* Create fix-linux-arm64.md

* Update fix-linux-arm64.md
2024-02-28 17:46:36 +02:00
github-actions[bot]
51e899da09 Publish New Versions (#876)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
tao-v0.26.0
2024-02-21 10:04:13 -03:00
Amr Bashir
2af91313b2 refactor(linux): remove zbus and use unity launcher APIs directly (#880)
* refactor(linux): remove zbus and use unity launcher APIs directly

* change files

* fmt

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-02-21 09:53:31 -03:00
renovate[bot]
3424f6340a fix(deps): update rust crate zbus to v4 (#875)
* fix(deps): update rust crate zbus to v4

* fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
2024-02-21 05:15:20 +02:00
Amr Bashir
90ad07b324 fix(windows): fix undecorated resizing (#878)
* fix(windows): fix undecorated resizing

also disable resizing for fullscreen windows on Linux and Window

closes #877

* remove redundant unsafe

* check the atomic bool only if needed

* one less clone

* remove unneeded checks

* Update window.rs

* Update window.rs
2024-02-15 12:27:09 +08:00
Amr Bashir
89ce9d26c3 fix(windows): apply ScaleFactorChanged if new size is different than OS (#874)
this fixes an issue when moving the window to another monitor and immediately maximizing it, resulting in a maximized window (i.e have `WS_MAXIMIZE` window style) but doesn't cover the monitor work area
2024-02-13 14:30:30 +08:00
github-actions[bot]
a79d98f247 Publish New Versions (#869)
Co-authored-by: pewsheen <pewsheen@users.noreply.github.com>
tao-v0.25 tao-v0.25.0
2024-02-03 11:48:15 -03:00
Amr Bashir
ae4b693dc0 fix(windows): remove WS_CAPTION and WS_EX_WINDOWEDGE for child windows (#864)
* fix(windows): remove `WS_CAPTION` and `WS_EX_WINDOWEDGE` for child windows

* remove when decorations disabled only

* actually remove
2024-01-25 10:40:13 +08:00
Amr Bashir
585f05b2e7 chore: change bump to minor (#870) 2024-01-25 10:07:16 +09:00