Commit Graph

285 Commits

Author SHA1 Message Date
Kasper
321f3fed19
feat(macos): title_bar_style and hidden_title window options, closes #2663 (#3965)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-30 17:15:45 -03:00
Tomáš Vojtášek
8f1ace7795
feat: expose set_title for MacOS tray (#5182)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-30 14:08:11 -03:00
Amr Bashir
63011ca84e
fix(macos): fix regression in with_menu_on_left_click, closes #5220 (#5235)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2022-09-30 13:16:33 -03:00
jabza
eedfa5e618
feat(core): Expose "ignore_cursor_events" to Tauri and API (#5032)
Co-authored-by: Thomas Kilsby <>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-28 16:55:35 -03:00
Lucas Fernandes Nogueira
7d9aa3987e
feat: bump MSRV to 1.59 (#5296) 2022-09-28 14:33:35 -03:00
github-actions[bot]
e4292ce7be
apply version updates (#5216) 2022-09-16 14:30:18 -03:00
github-actions[bot]
fbdd0a7ca9
Apply Version Updates From Current Changes (#4753)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-09-15 12:03:45 -03:00
Lucas Fernandes Nogueira
447370fa50
chore(deps): update to wry 0.21 (#5181) 2022-09-13 10:56:54 -03:00
Amr Bashir
e6d9b670b0
refactor: remove unneeded focus code (#5065)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-03 11:07:18 -03:00
Lucas Nogueira
0668dd4220
fix(tauri-runtime-wry): ignore events on unknown windows 2022-08-29 14:23:11 -03:00
Lucas Fernandes Nogueira
2901145c49
chore: update license headers (#5067) 2022-08-28 15:13:21 -03:00
Lucas Nogueira
28a1ec34a4
fix(tauri-runtime-wry): only emit global tray event if tray was found 2022-08-21 17:53:09 -03:00
Lucas Nogueira
fa44c44379
fix(tauri-runtime-wry): trigger global tray event listeners 2022-08-21 17:44:13 -03:00
Lucas Fernandes Nogueira
64546cb9cc
refactor: use RefCell instead of Mutex for windows map, closes #4870 (#4909) 2022-08-10 15:36:01 -03:00
Lucas Fernandes Nogueira
4d063ae9ee
feat(core): create system tray at runtime, closes #2278 (#4862) 2022-08-09 14:43:51 -03:00
Lucas Fernandes Nogueira
f21cbecdeb
feat(core): implement theme APIs for Linux (#4808) 2022-08-02 18:54:14 -03:00
Lucas Fernandes Nogueira
c04d0340e2
feat(core): prepare build for mobile targets (#4830)
Co-authored-by: Yu-Wei Wu <wusyong9104@gmail.com>
2022-08-02 11:25:28 -03:00
Amr Bashir
0ad9531d79
chore(deps): update tao to 0.13, wry to 0.20, rfd to 0.10, raw-window-handle to 0.5 (#4804) 2022-07-31 10:41:49 -03:00
github-actions[bot]
7bbf167c1c
Apply Version Updates From Current Changes (#4560)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-07-06 14:32:55 -03:00
Lucas Fernandes Nogueira
f8a3becb28
feat(core): add option to disable tray menu on left click, closes #4584 (#4587)
* feat(core): add option to disable tray menu on left click, closes #4584

* Update .changes/menu-on-left-click.md [skip ci]

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-07-05 09:05:01 -03:00
Amr Bashir
a1d569bbc9
fix(core): disable tao's drag-n-drop based on fileDropEnabled, closes #4580 (#4592)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-07-04 22:29:54 -03:00
github-actions[bot]
35b53784ee
Apply Version Updates From Current Changes (#4545)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-06-30 18:45:58 -03:00
Lucas Nogueira
d0758e5fca
chore(tauri-runtime-wry): remove commented out code 2022-06-30 10:49:10 -03:00
Lucas Fernandes Nogueira
63841c1060
fix(tauri-runtime-wry): do not send theme twice on macOS, closes #4532 (#4540) 2022-06-30 10:39:25 -03:00
Lucas Fernandes Nogueira
185b0e314e
fix(tauri-runtime-wry): deadlock when window focus change, closes #4533 (#4539) 2022-06-30 10:39:10 -03:00
Lucas Fernandes Nogueira
23a48007c0
fix(tauri-runtime-wry): deadlock on file drop, closes #4527 (#4535) 2022-06-30 10:38:21 -03:00
github-actions[bot]
df5fd52a4c
Apply Version Updates From Current Changes (#4382)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-06-29 14:34:20 -03:00
Lucas Fernandes Nogueira
f6edc6df29
chore(deps): update tao to 0.12, wry to 0.19, closes #3220 (#4502) 2022-06-28 10:05:09 -03:00
Lucas Fernandes Nogueira
46196fe922
refactor(tauri-runtime-wry): move window and menu listeners to window (#4485) 2022-06-27 10:36:28 -03:00
Lucas Fernandes Nogueira
e39e2999e0
refactor(tauri-runtime-wry): enhance plugin interface (#4476) 2022-06-27 09:57:00 -03:00
Lucas Fernandes Nogueira
2ca762d207
feat(bundler): extend webview2 installation options, closes #2882 #2452 (#4466)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2022-06-26 15:45:31 -03:00
Amr Bashir
3efbc67f74
feat: implement raw_window_handle on Linux (#4469)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-26 11:56:12 -03:00
Lucas Nogueira
23a049c593
chore: fix clippy warnings, remove license template
The license template has been removed from rustfmt nightly :(
2022-06-24 22:01:13 -03:00
Cyandev
45981851e3
chore(lint): unused variable warnings for release builds (#4411)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-21 13:19:57 -03:00
Lucas Fernandes Nogueira
123f6e69f6
fix(tauri-runtime-wry): release windows lock immediately, closes #4390 (#4392) 2022-06-19 13:00:21 -03:00
yutotnh
cbceb7d6cf
fix: some typos (#4403)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-19 10:23:35 -03:00
Lucas Fernandes Nogueira
6d94ce4235
feat(core): theme is now implemented on macOS (#4380) 2022-06-17 14:08:35 -03:00
github-actions[bot]
13c2fc1ffe
Apply Version Updates From Current Changes (#4352)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-15 23:08:50 -03:00
github-actions[bot]
f5f9f105f7
apply version updates (#4348)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-06-15 11:16:08 -03:00
github-actions[bot]
dc432ef8b0
Apply Version Updates From Current Changes (#4343)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-14 21:49:04 -03:00
Lucas Fernandes Nogueira
4ce8e22813
refactor(core): use Icon for tray icons (#4342) 2022-06-14 17:50:15 -03:00
github-actions[bot]
0e95a74950
Apply Version Updates From Current Changes (#4235)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-14 00:03:11 -03:00
Lucas Nogueira
73860840a6
fix(core): linting errors 2022-06-13 18:30:46 -03:00
Lucas Nogueira
73a495126c
chore: remove outdated comment [skip ci] 2022-06-13 17:59:24 -03:00
Lucas Fernandes Nogueira
69ae6f1494
refactor(window): block main thread when creating a new window (#4298) 2022-06-08 09:22:07 -03:00
Lucas Fernandes Nogueira
6216eb49e7
refactor(core): drop ayatana-tray and gtk-tray Cargo features (#4247) 2022-06-02 14:42:15 -03:00
github-actions[bot]
2c040eaadd
Apply Version Updates From Current Changes (#4217)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-27 16:01:43 -03:00
github-actions[bot]
8b6bb6720c
Apply Version Updates From Current Changes (#4175)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-24 15:35:35 -03:00
Lucas Fernandes Nogueira
2326be3982
feat(core): update windows-rs to 0.37.0 (#4199) 2022-05-24 11:44:07 -03:00
Lucas Fernandes Nogueira
a7a9fde16f
fix(core): account for monitor position when centering window (#4166) 2022-05-21 09:56:56 -03:00
github-actions[bot]
393c774dfd
Apply Version Updates From Current Changes (#4117)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-05-18 12:53:01 -03:00
Lucas Fernandes Nogueira
61e37652b9
fix(core): deadlock when creating window from IPC handler, closes #4121 (#4123) 2022-05-13 19:04:28 -03:00
github-actions[bot]
c8667f9ff7
Apply Version Updates From Current Changes (#4095)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-05-10 20:31:34 -03:00
Lucas Fernandes Nogueira
71a553b715
chore(deps): update wry to 0.16.2, webkit2gtk to 0.18.0 (#4099) 2022-05-10 20:04:24 -03:00
Lucas Fernandes Nogueira
c8e0e5b97d
feat(tauri-runtime-wry): add plugin API (#4094) 2022-05-10 11:23:16 -03:00
github-actions[bot]
86d82af494
Apply Version Updates From Current Changes (#4005)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-07 20:01:58 -03:00
Lucas Fernandes Nogueira
c82b4761e1
feat(core): expose with_webview API to access the platform webview (#4058) 2022-05-04 14:14:15 -03:00
Lucas Fernandes Nogueira
a0ecd81a93
fix(core): percent decode file drop payloads, closes #4034 (#4035) 2022-05-03 13:05:18 -03:00
Lucas Fernandes Nogueira
891eb748cf
fix(tauri-runtime-wry): menu even panic on macOS inspector, closes #3875 (#4027) 2022-05-02 21:04:30 -03:00
Lucas Fernandes Nogueira
8f259f4ef8
fix(core): use EventLoopProxy to prevent set_size freeze closes #3990 (#4014) 2022-04-30 11:10:21 -03:00
github-actions[bot]
feac1d193c
Apply Version Updates From Current Changes (#3820)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-04-26 11:53:21 -03:00
Lucas Fernandes Nogueira
ed467c275b
perf: completely remove endpoints if none of its APIs is allowlisted (#3958) 2022-04-24 19:18:22 -03:00
Lucas Fernandes Nogueira
24e4ff208e
refactor(core): add clipboard Cargo feature, enhancing binary size (#3957) 2022-04-24 15:50:42 -03:00
Lucas Fernandes Nogueira
e11878bcf7
refactor(core): add global-shortcut Cargo feature, enhancing binary size (#3956) 2022-04-24 15:11:14 -03:00
Lucas Nogueira
0198c2ba45
chore: prepare set_cursor_grab in Linux
it is not implemented yet, but the next tao release won't panic when called, so we'll get this ready for a future patch
2022-04-22 21:59:31 -03:00
Lucas Nogueira
1303264190
chore: enable set_cursor_position in Linux
It is not ready yet, but it has been pushed to tao
2022-04-22 21:55:17 -03:00
Lucas Fernandes Nogueira
320329a9a7
fix(core): insert to webview_id_map on tao window creation, closes #3883 (#3932) 2022-04-22 00:34:22 -03:00
Lucas Fernandes Nogueira
c54ddfe933
feat: expose window cursor APIs, closes #3888 #3890 (#3935) 2022-04-21 15:54:08 -03:00
Lucas Fernandes Nogueira
4cebcf6da7
feat: expose theme APIs, closes #3903 (#3937) 2022-04-21 15:03:29 -03:00
renovate[bot]
71c7807fd8
chore(deps) Update Rust crate uuid to v1 (#3926)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-04-20 14:38:40 -03:00
Lucas Fernandes Nogueira
70ff55c1aa
fix(core): panic on menu event with minimized windows, closes #3902 (#3918) 2022-04-20 11:30:59 -03:00
Lucas Fernandes Nogueira
80b714af6b
fix: rendering issue when resizing with devtools open closes #3914 #3814 (#3915) 2022-04-19 19:04:52 -03:00
Lucas Fernandes Nogueira
f2a30d8bc5
refactor(core): use ayatana appindicator by default, keep option to use gtk (#3916) 2022-04-19 17:33:17 -03:00
Lucas Nogueira
aa111c8c3e
chore(deps): update wry to 0.15 2022-04-12 13:28:25 -03:00
Lucas Fernandes Nogueira
fa2baba76c
feat(core): create webview immediately when running in main thread (#3891) 2022-04-12 13:22:02 -03:00
github-actions[bot]
a144e92993
Apply Version Updates From Current Changes (#3798)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-03-28 22:52:37 -03:00
Lucas Fernandes Nogueira
169b5035a9
fix(core): actually fire WindowEvent::Destroyed (#3797) 2022-03-28 22:43:07 -03:00
github-actions[bot]
7a814fcf3f
Apply Version Updates From Current Changes (#3634)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-03-28 17:43:04 -03:00
Lucas Fernandes Nogueira
edad9f4f55
refactor(core): add RunEvent::WindowEvent (#3793) 2022-03-28 17:26:25 -03:00
Lucas Fernandes Nogueira
e05d718a7b
feat(core): add hotkey to toggle devtools, closes #3776 (#3791) 2022-03-28 11:17:28 -03:00
Lucas Fernandes Nogueira
9ddf8d84a2
fix(core): properly fire WindowEvent::Destroyed, closes #3688 (#3778) 2022-03-28 10:24:02 -03:00
Lucas Fernandes Nogueira
5fb74332ab
chore(deps): update wry to 0.14, tao to 0.7 (#3790) 2022-03-28 10:20:38 -03:00
Lucas Fernandes Nogueira
3c4ee7c997
refactor(wry): emit RunEvent::Exit on Event::LoopDestroyed (#3785) 2022-03-27 20:22:34 -03:00
Lucas Fernandes Nogueira
9489963e00
fix(core): deadlock when closing the app on a tray event handler (#3771) 2022-03-25 13:17:32 -03:00
Kasper
4e807a53e2
Support window parenting on macOS, closes #3751 (#3754)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-23 13:30:44 -03:00
Lucas Fernandes Nogueira
da1e879358
feat(core): improve and cleanup the Error enum (#3748) 2022-03-22 15:04:47 -03:00
Lucas Fernandes Nogueira
7cd39c70c9
refactor(core): use random window id to simplify window creation, closes #3645 #3597 (#3684)
* refactor(core): window id

* fixes

* reintroduce send_tao_window_event

* cleanup code

* add change file

* fix: windows build

* add getter

* fix windows build
2022-03-15 12:59:37 -03:00
Lucas Fernandes Nogueira
5d538ec27c
refactor(core): use the event loop proxy to send updater events (#3687)
* feat(core): add `WindowEvent::FileDrop`, closes #3664

* refactor(core): use the event loop proxy to send updater events

* simplify generics with user event trait

* fix tray impl
2022-03-15 11:20:23 -03:00
Lucas Fernandes Nogueira
07d1584cf0
feat(core): add WindowEvent::FileDrop, closes #3664 (#3686) 2022-03-13 11:28:16 -03:00
github-actions[bot]
fbb9017840
Apply Version Updates From Current Changes (#3512)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-03-07 18:20:13 -03:00
Lucas Fernandes Nogueira
c08cc6d500
fix(core): deadlock on focus events with invisible window,#3534 (#3622)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-03-06 18:44:12 -03:00
Lucas Nogueira
aab8006b93
fix(core): Rust documentation generation 2022-03-06 10:42:24 -03:00
Lucas Fernandes Nogueira
3b13fda56f
feat(core): add WindowBuilder::on_request, closes #3533 (#3618)
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
2022-03-06 10:15:43 -03:00
Lucas Fernandes Nogueira
8c9358725a
refactor(core): move png and ico behind Cargo features (#3588) 2022-03-05 14:19:24 -03:00
Lucas Fernandes Nogueira
0f1558980a
fix(core): docs.rs on Windows and macOS (#3566)
Co-authored-by: chip <chip@chip.sh>
2022-03-02 13:08:42 -03:00
Lucas Fernandes Nogueira
080755b537
feat(core): warn if private APIs are not enabled, closes #3481 (#3511) 2022-02-19 10:22:54 -03:00
github-actions[bot]
82b7f51956
Apply Version Updates From Current Changes (#3468)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-18 11:37:36 -03:00
Fabian-Lars
a7fd9e3f03
fix(deps): update webview2-com to 0.13.0 to fix compilation on windows (#3502) 2022-02-18 09:57:55 -03:00
Lucas Nogueira
bdd41e2413
fix(changelog): mark macos-private-api feature as breaking change 2022-02-13 01:20:22 -03:00
github-actions[bot]
d24045e884
Apply Version Updates From Current Changes (#3414)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-12 10:47:49 -03:00