Amr Bashir
2295f0b3aa
refactor: improve android_fn! lifetime support ( #780 )
...
* refactor: improve android_fn! lifetime support
* take ownership in setup function
* Update tao-macros/src/lib.rs
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio >
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio >
2023-08-11 15:33:47 +03:00
Lucas Fernandes Nogueira
448ec06c0f
Revert "Publish New Versions ( #777 )" ( #779 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-11 08:49:10 -03:00
github-actions[bot]
50c46b6085
Publish New Versions ( #777 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com >
2023-08-11 08:35:07 -03:00
Amr Bashir
d0b20c94ea
refactor!: remove menus, system tray and global shortcut features ( #778 )
...
* disable gtk menu creation
* remove all menu logic for `Window` type
* remove accelerator handling from tao on Windows
* use std c_void instead of libc
* fix linux build
* fix `pub` on macos
* fix linux build
* fix build on linux again
* Fix menubar focus using `Alt` on Windows
* remove tray and menu modules
* remove global-shortcut
* refactor: rmeove colorsync link
* remove unsued trait
* feat: implement any_thread for EventLoopBuilder on unix
* add gtk box by default
* publish new versions
* fix android build
* fix ios build
* change file
* change hit_test argument type
* fix windows and linux build
* fix ci
* fix ios
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2023-08-11 04:37:50 +03:00
Lucas Fernandes Nogueira
06b617eaa2
feat(android): update jni to 0.21 ( #776 )
2023-08-09 00:46:58 +03:00
github-actions[bot]
0f3b0ed78f
Publish New Versions ( #768 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
tao-v0.21
tao-v0.21.1
2023-07-30 11:19:07 -03:00
Lucas Fernandes Nogueira
494e4585d1
fix(macos): ensure app delegate is defined ( #775 )
2023-07-30 11:05:25 -03:00
Géraud-Loup
75eb0c1e7e
feat(windows): allow setting window class name, closes #769 ( #770 )
2023-07-28 15:40:11 +03:00
Amr Bashir
b31cb692df
fix(macos): fix WindowExtMacOS::ns_view invalid pointer ( #772 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-07-27 08:41:29 -03:00
Abdo
4d0e1862b6
Support right-to-left layout on Windows ( #762 )
...
* Support right-to-left layout on Windows
* Make RTL platform-specific
* Document RTL support on Windows
* RTL -> RIGHT_TO_LEFT_LAYOUT
* Add line about what set_rtl exactly does
* Fix formatting
Signed-off-by: Abdo <abdo@abdnh.net >
---------
Signed-off-by: Abdo <abdo@abdnh.net >
2023-07-17 23:41:25 +09:00
Jonathan Kelley
9a320882ed
fix(android): use a crossbeam channel instead of a Mutex<VecDeque> ( #761 )
2023-07-16 02:00:02 +03:00
github-actions[bot]
3b35157ff6
Publish New Versions ( #744 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
tao-v0.21.0
2023-07-14 07:27:43 -03:00
Jason Tsai
3b7e0d9af3
feat(macOS): support progress bar on dock ( #766 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-07-13 18:28:30 -03:00
Lucas Fernandes Nogueira
4233d26eb1
chore(changes): fix change file event name ( #767 )
2023-07-12 20:20:45 +08:00
Bo
093d8fbc20
feat: add support to deeplink and file association on macOS ( #422 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: amrbashir <amr.bashir2015@gmail.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-07-12 08:46:26 -03:00
Amr Bashir
ea14c6b104
feat: split min/max size constraints ( #759 )
...
* feat: split min/max size constraints, closes #138
* windows impl
* linux impl
* fix linux impl
* cleanup linux impl
* macOS impl
* imports
* ios build
* macos build
* unsafe
* merge `set_min/max_width/height` into a single function
* fix macos build
* macos again
* use macros to generate DPI types
ref: https://github.com/rust-windowing/winit/pull/2148
* fix windows impl
* fmt
2023-07-11 16:55:36 +03:00
Jason Tsai
bb3c53d1d8
fix(macOS): fix SystemTrayEvent not emitted after calling set_menu ( #764 )
2023-07-10 14:28:54 +03:00
Lucas Fernandes Nogueira
0d7b66e812
fix: adjust build script to check for docs.rs build ( #763 )
2023-07-10 11:28:49 +09:00
AHQ Softwares
baa0297748
feat: add support for progress bar state, closes #418 ( #742 )
...
* add support for Windows Progress Bar
* set_taskbar_progress->set_window_taskbar_progress
* Implement enums for Taskbar State
* fix broken install on linux
* trying to make progressbar on linux
* implementing empty methods for taskbar progress
* fix deleted references
* set_taskbar_progress & set_taskbar_progress_state for linux
* Fix an issue affecting when it can't plot progressbar
* cargo fmt
* introduce the unity (gnome) taskbar
* test smth
* typo 💀
* Update implementTaskbarProgress.md
* Update src/window.rs
Refactor
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
* Update src/window.rs
Refactor
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
* Remove Duplicate lazy_static
* Update window.rs
Explained why it might not work on some distros of linux
* Remove x11rb, move to platform implementations etc
* Format
* remove xapps & tried to impl zbus
* Typo I guess
* Revert
* Format
* Change zbus: 3.13.1 to 3.13
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
* Try the new zbus impl
* Finally the current review
* cargo fmt
* Implement a progress checker
* Apply suggestions from code review
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
* Implement The Requested Changes
* Update src/platform_impl/linux/event_loop.rs
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
* Update src/platform_impl/linux/taskbar.rs
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
* Update src/window.rs
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
* Update src/window.rs
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
* Update src/platform_impl/linux/taskbar.rs
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
* impl review changes
* [Untested] Change zbus to 3
* Typo
* Update src/platform_impl/linux/util.rs
Co-authored-by: Jason Tsai <jason@pews.dev >
* Update src/platform_impl/linux/taskbar.rs
Co-authored-by: Jason Tsai <jason@pews.dev >
* Update util.rs
* Update src/event_loop.rs
Co-authored-by: Jason Tsai <jason@pews.dev >
* Update src/window.rs
Co-authored-by: Jason Tsai <jason@pews.dev >
* Update src/event_loop.rs
* chore: format
* Update src/event_loop.rs
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
* Update src/platform_impl/linux/util.rs
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
* Update src/platform_impl/linux/event_loop.rs
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
* Update src/platform_impl/linux/window.rs
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
* Move Logic below GlobalHotKey
* Chore: cargo fmt
* Update .changes/implementTaskbarProgress.md
* Update util.rs
* Typo, confused with rust & js
* Update util.rs
* WindowId::dummy().taskbar_progress not working
typo
* remove the normal impl
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
Co-authored-by: Jason Tsai <jason@pews.dev >
2023-07-07 20:15:21 +03:00
Amr Bashir
731e39755a
chore: remove change tag from change file ( #756 )
2023-07-04 14:53:49 +08:00
Lej77
e9875fe54e
fix(windows): leak when updating tray icon or tooltip ( #755 )
2023-07-03 20:31:57 +03:00
Lucas Fernandes Nogueira
8f361f0c19
feat(ios): add support to universal links ( #752 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
2023-07-03 08:47:51 -03:00
Amr Bashir
50e69d718e
fix(windows): remove resizable ability to affect maximizability ( #749 )
2023-06-06 12:10:55 +08:00
Amr Bashir
5af3da4a2c
fix(macos/menu): set native image height to 18 ( #746 )
...
* fix(macos/menu): set native image height to 18
closes https://github.com/tauri-apps/tauri/issues/7077
* Update menu.rs
2023-06-05 19:29:09 +08:00
Jason Tsai
813290130e
fix(maxOS): modify event's mouse location in drag_window ( #743 )
2023-06-01 17:42:04 +08:00
DK Liao
dc951ae278
fix: Add in Wayland raw_display_handle for event_loop ( #741 )
...
* Add wayland raw_display_handle
* use WaylandDisplayHandle
* use display directly
2023-05-23 16:12:56 +03:00
github-actions[bot]
d554a3e52b
Publish new versions ( #733 )
...
Co-authored-by: Wu Yuwei <yuweiwu@pm.me >
tao-v0.20.0
tao-v0.20
2023-05-22 21:47:29 +08:00
Amr Bashir
45bfc49778
chore(deps): update windows to 0.48 ( #736 )
2023-05-22 21:13:50 +08:00
Amr Bashir
ec32134107
chore(deps): update ndk to 0.7 and ndk-sys to 0.4 ( #735 )
2023-05-22 20:31:07 +08:00
renovate[bot]
3fd1628a6a
chore(deps): update rust crate env_logger to 0.10 ( #680 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-22 14:24:43 +03:00
Amr Bashir
90ce80cd4d
feat: enable shadows by default for undecorated window on Windows ( #732 )
2023-05-09 16:43:12 +03:00
Sunjin Yang
c6082173a9
fix(windows): fix build error on target i686-pc-windows-msvc ( #731 )
...
* fix(windows): fix build error on target i686-pc-windows-msvc
Fix `error[E0793]: reference to packed field is unaligned`.
* fix implementation
---------
Co-authored-by: amrbashir <amr.bashir2015@gmail.com >
2023-05-09 16:42:35 +03:00
Ngo Iok Ui (Wu Yu Wei)
3ef3224c3b
Update covector-version-or-publish.yml
2023-05-06 20:21:48 +08:00
github-actions[bot]
9333b64f8d
publish new versions ( #725 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com >
tao-v0.19.1
tao-v0.19
2023-05-06 20:14:14 +08:00
Ngo Iok Ui (Wu Yu Wei)
7159466743
fix(macOS): windows frozen when starting in fullscreen ( #727 )
2023-05-04 14:38:41 +03:00
Amr Bashir
c5d606dffe
fix(windows): leave space for auto-hidden taskbar for undecorated windows ( #726 )
2023-04-19 13:05:09 +08:00
Amr Bashir
ee5dc41f00
fix(linux): clear shortcuts instead of replacing it ( #724 )
2023-04-18 13:22:59 +08:00
github-actions[bot]
9f271f1d76
publish new versions ( #720 )
...
Co-authored-by: wusyong <wusyong@users.noreply.github.com >
tao-v0.19.0
2023-04-14 21:06:12 +08:00
Amr Bashir
b78b961621
feat!: allow specifying android activity in binding macro ( #723 )
...
* feat!: allow specifying android activity in binding macro
* Update .changes/android-activity.md
2023-04-14 12:12:47 +08:00
David Rickard
1bd483c159
fux: avoid running the focus hack if the first focus attempt succeedes ( #722 )
...
* Avoid running the focus hack code if the first attempt to set the foreground window succeeded.
* Added .change file
* Accepted PR suggestion
* Delete windows-set-foreground-short-circuit.md
2023-04-09 00:42:08 +02:00
Fabian-Lars
62db431338
fix(windows): Use SetForegroundWindow before focus hack ( #719 )
2023-04-04 07:30:52 +08:00
github-actions[bot]
226756f0ac
publish new versions ( #715 )
...
Co-authored-by: wusyong <wusyong@users.noreply.github.com >
tao-v0.18
tao-v0.18.3
2023-03-24 17:17:17 +08:00
Ngo Iok Ui (Wu Yu Wei)
6a03847f6d
On macOS, fix wry window can crash if unfocused ( #714 )
2023-03-24 17:13:46 +08:00
github-actions[bot]
407a9feaed
publish new versions ( #706 )
...
Co-authored-by: wusyong <wusyong@users.noreply.github.com >
tao-v0.18.2
2023-03-23 13:52:37 +08:00
Amr Bashir
a1e96d1b12
feat: remove linking to ColorSync ( #713 )
2023-03-15 08:13:55 +08:00
amrbashir
64046b2743
fix: fix linux build, missing argument
2023-03-08 19:55:44 +02:00
Amr Bashir
dc913cd5fe
fix: scale cursor_position ( #712 )
...
* fix: scale cursor_position, closes #708
* adjust for wayland
* Add macOS fix
---------
Co-authored-by: Wu Wayne <yuweiwu@pm.me >
2023-03-08 19:47:48 +08:00
Ngo Iok Ui (Wu Yu Wei)
ea2e60d9df
fix(macOS): cursor_position returns incorrect position ( #711 )
...
* On macOS, fix `cursor_position` returns incorrect position
* Add proper error handling
* Restore example
2023-03-07 20:19:03 +08:00
Golden Water
76ae625bae
fix: not get actual ns_view when it's replace by setContentView ( #710 )
...
* fix: not get actual ns_view when it's replace by setContentView
* add change file
2023-03-07 07:17:29 +08:00
2e0byo
28b53f80c4
fix: don't panic if primary monitor not discoverable. ( #705 )
...
* fix(linux): don't panic if primary monitor not discoverable. (#704 )
* chore: add change file.
2023-02-22 23:29:00 +08:00