Commit Graph

117 Commits

Author SHA1 Message Date
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