Commit Graph

418 Commits

Author SHA1 Message Date
Lucas Nogueira
3420aa5031
refactor: IPC handler [TRI-019] (#9)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-01-09 14:17:29 -03:00
Lucas Nogueira
6ac21b3cef
feat: add private api feature flag (#7) 2022-01-09 11:29:29 -03:00
Lucas Nogueira
cf54dcf9c8
feat: improve CSP security with nonces and hashes, add devCsp [TRI-004] (#8) 2022-01-09 11:11:59 -03:00
Lucas Nogueira
dd83217301
fix: build on windows 2022-01-09 10:58:06 -03:00
Lucas Nogueira
7209fdf732
refactor(core): load APPIMAGE and APPDIR env vars on startup [TRI-007] [TRI-041] 2022-01-09 10:57:29 -03:00
Lucas Nogueira
4de285c396
feat(core): validate Cargo features matching allowlist [TRI-023] 2022-01-09 10:55:09 -03:00
Lucas Fernandes Nogueira
46f2eae8aa
feat: allow config's version to be a path to package.json, closes #2967 (#2971) 2022-01-07 16:55:30 -03:00
Lucas Fernandes Nogueira
0600099696
feat(api): support unknown types for event emit payload, closes #2929 (#2964) 2022-01-07 16:50:07 -03:00
Lucas Fernandes Nogueira
b7a2345b06
feat(core): add raw headers to HTTP API, closes #2695 (#3053) 2022-01-07 13:53:04 -03:00
renovate[bot]
e637361e4c
chore(deps) Update Rust crate clap to v3.0.4 (#3159)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:52:11 -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
Amr Bashir
4143ffd427
fix(cli.js): detect CARGO_TARGET_DIR for local run (#3147)
* fix(cli.js): detect `CARGO_TARGET_DIR` for local run

* [skip ci] revert schema changes
2022-01-04 13:57:50 +02:00
Christian Schulze
2d39f12060
fix: #3137 - remove querystring when using asset protocol (#3141)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-31 15:36:50 -03: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
renovate[bot]
543e6bdb91
chore(deps) Update Rust crate clap to v3.0.0-rc.9 (#3127)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 07:16:02 -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
Lucas Fernandes Nogueira
2212bd5d75
fix: dialog default path on Linux, closes #3091 (#3123) 2021-12-27 13:03:51 -03:00
Lucas Fernandes Nogueira
3f3599b9cc
refactor(core): change setup closure type to FnOnce, closes #3061 (#3065) 2021-12-27 10:50:38 -03:00
Lucas Fernandes Nogueira
7cc95e10ec
feat(core): add Menu::with_items, closes #2807 (#2966) 2021-12-27 10:48:13 -03:00
FabianLars
3a04c036ff
update wry rev. fixes crash on webkit2gtk-sys compilation (#3112) 2021-12-25 15:50:13 +01:00
renovate[bot]
0fdf0aa4e9
chore(deps) Update Tauri Core (#3098)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:06:56 -03:00
renovate[bot]
a377e18df6
chore(deps) Update Rust crate tokio to 1.15 (#3079)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 19:04:05 -03:00
renovate[bot]
142eb3643e
chore(deps) Update Rust crate clap to v3.0.0-rc.5 (#3077)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-15 17:18:40 -03:00
renovate[bot]
66ca8af977
chore(deps) Update Rust crate heck to 0.4 (#3072)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-15 16:02:48 -03:00
renovate[bot]
e345e677ef
chore(deps) Update Tauri Core (#3070)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 14:57:16 -03:00
Lucas Nogueira
d56a7fc7f7
fix: asset protocol CORS on Windows 2021-12-13 14:37:37 -03:00
Lucas Fernandes Nogueira
d7c02a30a5
feat(core): persist non-session cookies on Linux (#3052) 2021-12-09 18:11:00 -03:00
Chaoqian Xu
156cdbc9f8
fix: extract an entire source archive into a specified path is not working if the archive includes dirs. (#2997)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-09 12:22:32 -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
Jonas Kruckenberg
1458ab3c53
refactor(cli.rs): signer and plugin subcommands, use new clap derive syntax (#2928)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-09 12:21:33 -03:00
Lucas Fernandes Nogueira
151e629ebf
fix(core): streaming of small files using asset://, closes #2854 (#3039) 2021-12-09 01:24:11 -03:00
Lucas Fernandes Nogueira
d28ac8aac0
fix(core): enable CORS on the asset protocol, closes #2965 (#2974) 2021-12-09 00:56:58 -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
renovate[bot]
639fcad307
chore(deps) Update Rust crate clap to v3.0.0-rc.0 (#3046)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-08 23:47:43 -03:00
Lucas Fernandes Nogueira
a3537078dd
feat(core): allow running along another tokio runtime, closes #2838 (#2973) 2021-12-08 23:41:34 -03:00
Amr Bashir
50c63900c7
fix(api.js): fix http.fetch throwing error if response body is empty, closes #2831 (#3008)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-08 23:39:42 -03:00
Lucas Nogueira
be5cb571c3
feat: temporarily enable wry's private APIs feature flags 2021-12-05 09:50:26 -03:00
Amr Bashir
b4fcb364d3
chore: improve comments in path endpoint (#2999) 2021-12-01 09:41:37 +02: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]
9e53e54b9b
chore(deps) Update Rust crate raw-window-handle to 0.4.2 (#2955)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 13:22:37 -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
Chaoqian Xu
8b651b9e31
feat: pub use tauri_runtime as runtime (#2926)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-22 12:07:00 -03:00
renovate[bot]
3efaa86df5
chore(deps) Update Tauri Core to v1 (major) (#2912)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 10:30:37 -03:00
renovate[bot]
6cd214ccb5
chore(deps) Update Rust crate tokio to 1.14 (#2906)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 09:48:36 -03:00
Lucas Fernandes Nogueira
4c4ab1eb8b
fix(core): trigger tauri://* events to Rust listeners, closes #2901 (#2902) 2021-11-16 16:41:45 -03:00
Lucas Fernandes Nogueira
000d126e0e
fix(core): properly check if document is loaded, closes #2716 (#2900) 2021-11-16 14:18:42 -03:00