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 Fernandes Nogueira
69ae6f1494
refactor(window): block main thread when creating a new window ( #4298 )
2022-06-08 09:22:07 -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
Ryan Russell
62ce02f6b5
docs(various): Improve Readability ( #4225 )
2022-05-27 10:06:11 +02: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
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
Autumn Meadow
45c4525386
fix: add mjs mime type ( fix : #4098 ) ( #4108 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-13 10:05:42 -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
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
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 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 Nogueira
b14aa89673
feat(core): improve AboutMetadata
setters
2022-03-29 11:27:57 -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
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
11cca918d9
chore(deps): update dependencies fixing security issues ( #3744 )
2022-03-21 22:34:07 -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
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
141133a414
feat(core): add WindowBuilder type ( #3598 )
2022-03-04 21:18:22 -03:00
Lucas Fernandes Nogueira
64e0054299
refactor(core): do not panic on invalid window labels,#3544 ( #3596 )
2022-03-03 14:47:31 -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 Fernandes Nogueira
84895a9cd2
fix(runtime): trait requirements ( #3489 )
2022-02-17 17:44:46 -03:00
Lucas Fernandes Nogueira
e1b8fc739a
docs(core): add examples to the API module ( #3450 )
2022-02-14 02:00:56 -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
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)
2815bf6511
Update gtk to 0.15 ( #3247 )
2022-02-05 13:29:03 +08:00
Lucas Nogueira
0d1e3219b4
Merge branch 'next' into feat/audit-patches
2022-02-02 20:09:41 -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 Nogueira
8376e3c035
chore(deps): update webview2-com
to 0.30 on tauri-runtime
2022-01-16 15:58:17 -03:00
Lucas Nogueira
b9c00d2db5
chore(deps): update windows
to 0.30
2022-01-15 13:20:30 -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 Nogueira
a48b8b18d4
feat(core): validate callbacks and event names [TRI-038] [TRI-020] ( #21 )
2022-01-09 16:12:29 -03:00
Lucas Fernandes Nogueira
680554de3e
feat: validate window label [TRI-021] ( #13 )
2022-01-09 14:30:43 -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
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
7cc95e10ec
feat(core): add Menu::with_items
, closes #2807 ( #2966 )
2021-12-27 10:48:13 -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
Lucas Fernandes Nogueira
411618f0de
fix(core): menu ids map not updated after set_menu
call ( #2963 )
2021-11-25 13:27:12 -03:00
Bill Avery
34be6cf37a
Update webview2-com and windows crates ( #2875 )
2021-11-11 18:38:41 -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
e3122ab51f
fix(core): menu_ids
not updated with global menu
2021-10-16 09:47:14 -03: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
Julien Kauffmann
bdbf905e5d
Transformed event-loop callback to FnMut to allow mutable values ( #2667 )
2021-09-27 16:27:37 -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 Fernandes Nogueira
d5f07d14f3
feat(cli.rs): build tools info ( #2618 )
2021-09-21 10:24:48 -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
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
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
fa9341ba18
feat(core): implement Debug
on public API structs/enums, closes #2292 ( #2387 )
2021-08-11 02:07:39 -03:00
Wouter Buckens
892c63a053
feat( #2287 ): Add ExitRequested
event to let users prevent app from exiting ( #2293 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-08 21:12:32 -03:00
Ngo Iok Ui (Wu Yu Wei)
63ad303903
chore(linux): bump gtk to v0.14 ( #2361 )
...
* Bump gtk to v0.14
* Switch back to rfd
2021-08-06 18:15:22 +02:00
david
426a6b4996
feat(macOS): Implement tray icon template ( #2322 )
2021-07-29 15:29:59 -04:00
david
8808085541
feat(window): Allow creation of Window without wry
( #2321 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-07-29 14:35:26 -03:00
FabianLars
e3f9916526
fix(core) minHeight being used as maxHeight ( #2247 )
2021-07-19 13:24:03 -04:00
github-actions[bot]
e48bb3edff
apply version updates ( #2121 )
2021-07-16 09:23:10 -04:00
chip
fd8fab507c
refactor(core): remove Params
and replace with strings ( #2191 )
...
* refactor(core): remove `Params` and replace with strings
* add tauri-utils to changelog
* update default runtime macro to accept type and feature
* remove accidental default feature addition
* remove changefile todo items that have no futher action
* fix clippy warning
* update changefile
* finish change file
* fix splashscreen example
* fix markdown typo [skip ci]
* remove final uses of `Params`
* add license header to new runtime module in tauri-macros
* update plugin guide to use runtime instead of params
2021-07-15 18:05:29 +08:00
Lucas Fernandes Nogueira
8157a68af1
feat(core): allow listening to event loop events & prevent window close ( #2131 )
2021-07-06 13:36:37 -03:00
Lucas Fernandes Nogueira
5d7626f897
feat(api): WindowManager extends WebviewWindowHandle, add events docs ( #2146 )
2021-07-03 23:38:35 -03:00
Lucas Fernandes Nogueira
e0a8e09cab
feat(core): expose gtk_window
, closes #2083 ( #2141 )
2021-07-02 13:08:51 -03:00
github-actions[bot]
3806b88ee1
Apply Version Updates From Current Changes ( #2069 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-28 11:03:55 -03:00
Lucas Fernandes Nogueira
fe32afcc93
fix(core): Window
must be Send + Sync
on Windows, closes #2078 ( #2093 )
2021-06-27 11:02:17 -03:00
github-actions[bot]
5353379d15
Apply Version Updates From Current Changes ( #1823 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-23 16:56:16 -03:00
Lucas Fernandes Nogueira
160fb0529f
feat(core): improve RPC security, closes #814 ( #2047 )
2021-06-22 17:29:10 -03:00
Lucas Fernandes Nogueira
034c26013b
feat(core): add accelerator
method to CustomMenuItem
( #2043 )
2021-06-22 12:53:13 -03:00
Lucas Fernandes Nogueira
285bf64bf9
feat(core): add clipboard writeText and readText APIs ( #2035 )
2021-06-21 13:32:22 -03:00
Lucas Fernandes Nogueira
3280c4aa91
refactor(core): global shortcut is now provided by tao
( #2031 )
2021-06-21 12:29:26 -03:00
Lucas Fernandes Nogueira
9cd10df4d5
feat(core): allow disabling file drop handler, closes #2014 ( #2030 )
2021-06-21 10:55:14 -03:00
Lucas Fernandes Nogueira
7dcca6e928
feat(core): add request_user_attention
API, closes #2023 ( #2026 )
...
* feat(core): add `request_user_attention` API
* fix: api lint
* fix build without window allowlist
2021-06-20 23:42:38 -03:00
Lucas Fernandes Nogueira
08c161c5e8
fix(core): remove window from HashMap on close ( #2024 )
2021-06-20 14:12:28 -03:00
Lucas Fernandes Nogueira
954460c520
feat(core): MenuHandle show
, hide
, is_visible
and toggle
APIs ( #1958 )
2021-06-15 22:04:44 -03:00
Lucas Fernandes Nogueira
5cba6eb4d2
feat(core): add window center
API, closes #1822 ( #1954 )
2021-06-05 18:20:16 -03:00
Lucas Fernandes Nogueira
f7e9fe8f3f
refactor(core): new system tray and window menu APIs, closes #1898 ( #1944 )
2021-06-04 13:51:15 -03:00
Lucas Nogueira
e06aa27738
feat(core): add set_skip_taskbar
API
2021-05-30 22:09:12 -03:00
Lucas Nogueira
5525b03a78
feat(core): add skip_taskbar
API to the WindowBuilder/WindowOptions
2021-05-30 18:43:28 -03:00
Lucas Nogueira
36506c967d
feat(core): add is_visible
API
2021-05-30 18:06:24 -03:00
Lucas Nogueira
5f351622c7
feat(core): add focus API to the WindowBuilder and WindowOptions, #1737
2021-05-30 17:41:28 -03:00
Lucas Nogueira
bb6992f888
feat(core): add set_focus
window API, fixes #1737
2021-05-30 17:30:26 -03:00
Lucas Nogueira
1e8af280c2
feat(core): add is_resizable
Window getter
2021-05-30 17:23:52 -03:00
Lucas Nogueira
f58a2114fb
feat(core): add is_decorated
Window getter
2021-05-30 17:21:05 -03:00
Lucas Fernandes Nogueira
abf78c5860
fix(core): set parent window handle on dialogs, closes #1876 ( #1889 )
2021-05-21 16:53:46 -03:00
Lucas Fernandes Nogueira
8c0d0739ee
feat(core): add run_iteration
, parent_window
and owner_window
APIs, closes #1872 ( #1874 )
2021-05-21 16:16:05 -03:00
Lucas Fernandes Nogueira
95d518afa1
feat(core): expose AppHandle
, add create_window
API ( #1855 )
2021-05-18 16:49:01 -03:00
github-actions[bot]
a68b4ee827
Apply Version Updates From Current Changes ( #1799 )
...
Co-authored-by: jbolda <jbolda@users.noreply.github.com>
2021-05-12 16:31:52 -03:00
Lucas Fernandes Nogueira
1ab8dd93e6
fix(core): system-tray
cargo feature usage, fixes #1798 ( #1801 )
2021-05-12 10:55:21 -03:00
github-actions[bot]
7c7a0777ca
Apply Version Updates From Current Changes ( #1629 )
...
* apply version updates
* fix metadata.json [skip ci]
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-11 16:20:35 -03:00
chip
55423590dd
refactor(core): Context fields now private, Icon used on all platforms ( #1774 )
2021-05-11 08:38:08 -03:00
Lucas Fernandes Nogueira
21ce355c48
chore: rename M: Params
to P: Params
( #1771 )
2021-05-10 22:26:18 -03:00
Lucas Fernandes Nogueira
319cf16a54
fix: prune packages, add license files, closes #1507 ( #1769 )
...
Co-authored-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
2021-05-10 20:28:15 -03:00
Lucas Fernandes Nogueira
22676df57a
refactor(core): menu
and system-tray
feature flags ( #1765 )
2021-05-10 13:27:42 -03:00
Lucas Fernandes Nogueira
45a7a111e0
feat(core): add tauri-wry
crate ( #1756 )
2021-05-09 18:43:50 -03:00
Lucas Fernandes Nogueira
665ec1d4a1
refactor: move runtime to tauri-runtime
crate ( #1751 )
2021-05-09 15:19:37 -03:00