Lucas Nogueira
015020760a
chore: fix clippy warnings
2022-12-15 18:03:28 -03:00
Lucas Nogueira
d21c4a0a89
chore: fix clippy warnings
2022-12-15 17:56:23 -03:00
Lucas Nogueira
d600405a10
chore(deps): bump wry to 0.23.4
2022-12-15 17:21:27 -03:00
Noam Zaks
3dc38b150e
feat(core): expose additional_browser_args to window config ( fix : #5757 ) ( #5799 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-14 11:46:24 -03:00
filip
73fd60eef2
expose set_device_event_filter in tauri ( #5562 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Closes https://github.com/tauri-apps/tauri/issues/5496
2022-12-13 13:57:32 -03:00
Amr Bashir
4ab5545b7a
feat: add content protection api, closes #5132 ( #5513 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-13 01:04:22 -03:00
Amr Bashir
233e43b0c3
feat: add title
getter on window, closes #5023 ( #5515 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-13 00:59:09 -03:00
crpz1
62144ef3be
feat: add is_minimized ( fix #3878 ) ( #5618 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
fixes https://github.com/tauri-apps/tauri/issues/3878
2022-12-12 10:34:19 -03:00
github-actions[bot]
25416a64ba
(NEXT) Apply Version Updates From Current Changes ( #5787 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-09 14:27:41 -03:00
Lucas Nogueira
1092865e67
Merge branch 'dev' into next
2022-12-08 14:19:44 -03:00
github-actions[bot]
75a0c79dea
Apply Version Updates From Current Changes ( #5710 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-12-08 11:57:21 -03:00
Lucas Nogueira
fdcd77338c
chore(deps): update wry to 0.23
2022-12-08 09:01:12 -03:00
Lucas Nogueira
4f087cfd92
chore(deps): pin wry to 0.22.6
2022-12-07 16:28:40 -03:00
Lucas Fernandes Nogueira
fa6d10e39c
refactor(core): remove window APIs on mobile ( #5713 )
2022-11-30 10:30:25 -03:00
Fabian-Lars
b490308c88
fix(core): compilation error on older Linux versions, fixes #5684 ( #5697 )
2022-11-28 08:39:19 -03:00
github-actions[bot]
527bd9feea
Apply Version Updates From Current Changes ( #5644 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-11-24 12:52:54 -03:00
Lucas Fernandes Nogueira
d710946064
refactor: move Linux custom protocol headers support behind feature flag ( #5683 )
2022-11-24 09:38:19 -03:00
Lucas Nogueira
602d3ed3f6
Merge branch 'dev' into next
2022-11-09 11:04:54 -03:00
github-actions[bot]
45a5cd569b
Apply Version Updates From Current Changes ( #5295 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-11-08 09:24:09 -03:00
Lucas Fernandes Nogueira
3afccfce17
chore(deps): update wry to 0.22 ( #5573 )
2022-11-08 08:47:29 -03:00
Lucas Nogueira
d0ad0d2f48
Merge remote-tracking branch 'origin/dev' into next
2022-10-31 10:13:57 -03:00
Lucas Fernandes Nogueira
9d8b377481
feat(tauri-runtime-wry): drop the WebContext on WebView drop ( #5240 )
2022-10-19 09:23:10 -03:00
Caesar Schinas
4137ab44a8
feat(macos): add tabbing_identifier
option, closes #2804 , #3912 ( #5399 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-19 09:20:17 -03:00
Lucas Fernandes Nogueira
357480f4ae
feat(core): custom protocol headers on Linux, closes #4496 ( #5421 )
2022-10-17 12:08:59 -03:00
Lucas Fernandes Nogueira
95f467add5
feat(core): add window accept_first_mouse
option, closes #5347 ( #5374 )
2022-10-17 11:07:45 -03:00
Lucas Fernandes Nogueira
4036e15f5a
feat(core): reimplement window initial focus flag, closes #5120 ( #5338 )
2022-10-08 16:37:12 -03:00
Lucas Nogueira
ecf6a8ad10
chore(deps): set wry to git dev branch
2022-10-08 15:53:38 -03:00
Amr Bashir
208ce34f1e
feat: update to wry 0.22 ( #5306 )
2022-10-08 15:52:25 -03:00
Amr Bashir
f756cd5e7e
fix(core): wait for tray cleanup before exiting app, closes #5244 ( #5245 )
2022-10-04 17:02:54 -03:00
Kasper
39bf895b73
feat(macOS): Add application show
and hide
methods ( #3689 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-03 14:49:59 -03:00
Eric Hagman
a6c94119d8
feat(core): expose user_agent to window config ( #5317 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-02 10:37:53 -03:00
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
Jeffrey Hutchins
8ea87e9c9c
feat(android): with_webview access for jni execution ( #5148 )
2022-09-08 10:57:10 -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
github-actions[bot]
0876bbbb57
Apply Version Updates From Current Changes ( #2522 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-10 18:03:25 -03:00
Lucas Fernandes Nogueira
a03b85545a
fix(core): tray not closing on Windows ( #3351 )
2022-02-07 13:04:38 -03:00
Lucas Fernandes Nogueira
af44bf8168
feat(core): allow app run on any thread on Linux & Windows, closes #3172 ( #3353 )
2022-02-07 11:31:07 -03:00
Lucas Fernandes Nogueira
8483fde975
feat(core): expose run_return
on Linux ( #3352 )
2022-02-07 11:30:45 -03:00
Lucas Fernandes Nogueira
55aa22de80
feat(core): add Window#open_devtools
API, closes #1213 ( #3350 )
2022-02-07 10:04:33 -03:00
Lucas Fernandes Nogueira
9b34055264
fix(core): window-specific event delivery, closes #3302 ( #3344 )
2022-02-06 17:50:02 -03:00
Ngo Iok Ui (Wu Yu Wei)
343ea3e2e8
Update wry to 0.13 ( #3336 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-06 10:08:12 -03:00
Ngo Iok Ui (Wu Yu Wei)
2815bf6511
Update gtk to 0.15 ( #3247 )
2022-02-05 13:29:03 +08:00
Lucas Fernandes Nogueira
bff86ee4c4
chore: remove egui
feature ( #3330 )
2022-02-04 17:02:54 -03:00
Lucas Nogueira
675d171eed
fix(core): tests, lint
2022-02-04 14:03:27 -03:00
Lucas Nogueira
224f81b4d0
chore(deps): update wry rev
2022-02-04 11:40:56 -03:00
Lucas Nogueira
0d1e3219b4
Merge branch 'next' into feat/audit-patches
2022-02-02 20:09:41 -03:00
chip
10314cd5cf
feat(core): add argument parsing on shell scope ( #44 )
...
* feat: initial implementation
* feat: arg parser
* refactor: move codegen to context struct
* feat: regex validation
* fix tests
* fix: support magic argument value `-`
* feat: support value regex starting with `-`
* refactor: shell_scope mod, add happy path tests
* wip: scope command arguments
* wip: commands
* add better scoped errors and pattern matching
* add documentation to scoped command items
* support using the new shell scope for open
* use the proper items in tauri::scope during codegen
* shell-open uses ScopeError::Validation also
* use shell scoping for sidecar commands
* fix: cli.rs build
* fix: validation when arg list is empty
* require args in a non-fixed, non-empty config list
Co-authored-by: Chip Reed <chip@chip.sh>
2022-01-26 16:43:24 -03:00
chip
d5d6d2abc1
Isolation Pattern ( #43 )
...
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-01-17 10:46:14 -03:00
Lucas Fernandes Nogueira
9014fe88b6
refactor(core): cleanup egui
implementation ( #3227 )
2022-01-16 01:14:18 -03:00
Lucas Nogueira
b9c00d2db5
chore(deps): update windows
to 0.30
2022-01-15 13:20:30 -03:00
Lucas Fernandes Nogueira
ab7d3b51eb
feat: emit CloseRequested
event for egui windows ( #3222 )
2022-01-15 12:23:26 -03:00
Ahmad AlHallak
c6e05380f7
fix: getter
macro panicking on RecvError
, closes #3188 ( #3192 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-01-10 15:33:35 -03:00
Lucas Fernandes Nogueira
d4017d505c
chore: remove eprintln!
usage on release [TRI-051] ( #15 )
2022-01-09 14:49:17 -03:00
Lucas Fernandes Nogueira
d42ccfb34f
feat: add clipboard
flag to WebviewAttributes
[TRI-032] ( #12 )
2022-01-09 14:30:31 -03:00
Lucas Nogueira
6ac21b3cef
feat: add private api feature flag ( #7 )
2022-01-09 11:29:29 -03:00
Lucas Nogueira
c7621aa019
chore: fix some clippy warnings
2022-01-06 10:39:21 -03:00
Ngo Iok Ui (Wu Yu Wei)
3dddce5436
fix(tauri-runtime-wry): egui deps should be added behind the flag ( #3170 )
...
* Add egui deps behind feature flag
* Fix errors on Linux
2022-01-05 22:39:43 +08:00
Ngo Iok Ui (Wu Yu Wei)
5e0d59ec7d
Initial support of egui native window ( #3165 )
...
* Initial support of egui
Expose method
Handle egui window lifetime properly
Add focus event logic
Check window_id on window event
Add Linux support
Fix window closing on Linux
Update flag to configure on different platforms
Fix control flow when egui window close
Add label param to egui window
* Innitial egui window support
* Add feature flag and change file
* Fix errors on Linux
2022-01-05 17:56:55 +08:00
Lucas Fernandes Nogueira
e784ebca9f
fix(core): Send+Sync for Window, closes #3135 ( #3140 )
2021-12-30 13:46:05 -03:00
Lucas Fernandes Nogueira
efbf236f35
refactor(core): make zstd
optional enabled by default ( #3133 )
2021-12-30 11:28:41 -03:00
Ngo Iok Ui (Wu Yu Wei)
0deaed8c57
Update windows dependency to 0.29 ( #3132 )
2021-12-29 07:07:08 -03:00
Lucas Fernandes Nogueira
9c82006b2f
fix(core): deadlock when creating window from menu handler, closes #3110 ( #3126 )
2021-12-28 22:51:33 -03:00
FabianLars
3a04c036ff
update wry rev. fixes crash on webkit2gtk-sys compilation ( #3112 )
2021-12-25 15:50:13 +01:00
Lucas Fernandes Nogueira
d7c02a30a5
feat(core): persist non-session cookies on Linux ( #3052 )
2021-12-09 18:11:00 -03:00
Lucas Fernandes Nogueira
74dff536d4
fix(core): emit tauri://close-requested
to JS, closes #2996 ( #3041 )
2021-12-09 12:22:12 -03:00
Amr Bashir
76ce9f61dd
fix(core): fix window.center
panic when window size > screen, closes #2978 ( #3002 )
2021-12-09 00:21:29 -03:00
Lucas Nogueira
be5cb571c3
feat: temporarily enable wry's private APIs feature flags
2021-12-05 09:50:26 -03:00
Lucas Fernandes Nogueira
411618f0de
fix(core): menu ids map not updated after set_menu
call ( #2963 )
2021-11-25 13:27:12 -03:00
renovate[bot]
ec8540d65b
chore(deps) Update Tauri Core ( #2946 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-24 11:12:26 -03:00
Bill Avery
34be6cf37a
Update webview2-com and windows crates ( #2875 )
2021-11-11 18:38:41 -03:00
renovate[bot]
2661af4de4
chore(deps) Update Rust crate blake3 to 1.2 ( #2859 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-10 11:12:05 -03:00
Lucas Fernandes Nogueira
a9dfc01550
feat: update to edition 2021 and set minimum rust to 1.56 ( #2789 )
2021-10-22 10:04:42 -03:00
Lucas Nogueira
2e1f207165
fix: use Wait instead of Poll
2021-10-18 13:34:06 -03:00
Jalal El Mansouri
7086cd54d8
Setting the control flow to Poll by default ( #2763 )
2021-10-18 13:18:48 -03:00
Ngo Iok Ui (Wu Yu Wei)
b48487e6a7
Fix empty header from CORS on Linux, closes #2327 ( #2762 )
...
* Fix empty header from CORS on Linux
* Fix commit hash
2021-10-18 21:36:45 +08:00
Lucas Fernandes Nogueira
ac37b56ef4
fix(core): menu id map not reflecting the current window menu ( #2726 )
2021-10-08 11:38:24 -03:00
Lucas Fernandes Nogueira
53fdfe52bb
feat(core): expose run_on_main_thread
API ( #2711 )
2021-10-04 12:54:38 -03:00
Fausto Núñez Alberro
0e4d12b541
fix : #2502 Expose set_menu
from tao through the TrayHandle struct ( #2532 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-02 15:57:53 -03:00
Lucas Fernandes Nogueira
4c0c780e00
fix(core): window's inner_size usage, closes #2187 ( #2690 )
2021-09-29 20:52:05 -03:00
Lucas Fernandes Nogueira
35ae9c8a2e
fix(core): macOS crashing due to WebContext drop, closes #2622 ( #2686 )
2021-09-29 16:28:37 -03:00
Lucas Fernandes Nogueira
d24fd8d102
feat(tauri-runtime-wry): allow window creation and closing on the main thread ( #2668 )
2021-09-27 20:18:06 -03:00
Julien Kauffmann
bdbf905e5d
Transformed event-loop callback to FnMut to allow mutable values ( #2667 )
2021-09-27 16:27:37 -03:00
Lucas Nogueira
4866404f04
fix(core): deadlock on window event handler
2021-09-26 10:01:03 -03:00
Lucas Nogueira
63ae30f187
fix(core): deadlocks on previous commit
2021-09-26 01:54:20 -03:00
Lucas Fernandes Nogueira
2812c4464b
feat(core): window, shortcut and clipboard API calls on main thread ( #2659 )
2021-09-26 01:50:27 -03:00
Bill Avery
bb00d5bd6c
Replace winapi with windows crate and use webview2-com instead of webview2 ( #2615 )
...
* Switch to webview2-com version of tao and wry
* Pick up latest branch of TAO and WRY
* Let WRY pick the branch for TAO instead of patch
* Add comment for wry next branch pending merge
* Add changelog
* Revert wry redirect in Cargo.toml
* Use pinned rev for matching PR merge commit
2021-09-24 17:40:22 +08:00
Lucas Nogueira
904bdb22f7
chore(deps): pin wry
, update lock files
2021-09-23 14:42:25 -03:00
Ngo Iok Ui (Wu Yu Wei)
84f6e3e84a
Switch to next branch of wry ( #2574 )
2021-09-09 13:05:03 -03:00
Lucas Nogueira
c1494b3532
refactor: return Weak<Window> on create_tao_window
2021-08-31 15:50:40 -03:00
Amr Bashir
ad17b9bf2a
chore: add note about focusing the webview ( #2545 )
2021-08-29 20:12:45 +08:00
Elvinas Predkelis
3b33d67aa4
fix: re-adding focus/blur events for linux and macos ( fix #2485 ) ( #2489 )
...
* fix: re-adding focus/blur events for linux and macos, closes #2485
* add change files [skip ci]
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-24 11:47:54 -03:00
renovate[bot]
1f98853573
chore(deps) Update Tauri Core ( #2480 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
2021-08-24 11:40:10 -03:00
github-actions[bot]
80f16d35f9
Apply Version Updates From Current Changes ( #2246 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-16 17:59:06 -03:00
Lucas Fernandes Nogueira
50ffdc06fb
feat(core): panic when a dispatcher getter is used on the main thread ( #2455 )
2021-08-16 17:28:15 -03:00
Lucas Fernandes Nogueira
957e863e59
fix(core): unique WebContext for each window when TAURI_AUTOMATION unset ( #2396 )
2021-08-15 20:33:45 -03:00
Lucas Fernandes Nogueira
6be3f43391
feat(core): add Resumed
and MainEventsCleared
events, closes #2127 ( #2439 )
2021-08-15 18:14:26 -03:00
david
28c6b7adfe
feat: add Event::Ready
( #2433 )
2021-08-15 17:10:22 -03:00
Lucas Fernandes Nogueira
4a031add69
feat(core): expose set_activation_policy
, closes #2258 ( #2420 )
...
* feat(core): expose `set_activation_policy`, closes #2258
* fix change file [skip ci]
* Update .changes/runtime-set-activation-policy.md [skip ci]
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
* clippy
* allow unused mut on example
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-08-13 13:25:31 -03:00
Lucas Nogueira
6cd640fa0a
fix(core): import set_native_image
on macOS
2021-08-13 11:25:39 -03:00
Ngo Iok Ui (Wu Yu Wei)
f81ebddfcc
feat: remove menu feature flag ( #2415 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-13 10:23:32 -03:00
Lucas Fernandes Nogueira
f4eafec705
feat(core): add window_label
to the ExitRequested
event payload ( #2410 )
2021-08-12 14:22:08 -03:00
Lucas Fernandes Nogueira
5f6e135f23
refactor(cli.js): package as ES module, closes #2256 ( #2392 )
2021-08-11 14:00:35 -03:00