Commit Graph

442 Commits

Author SHA1 Message Date
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
Lucas Fernandes Nogueira
15164d930a
feat(core): allow defining a custom invoke system (#2899) 2021-11-16 12:58:18 -03:00
Devyn S
59b6ee8793
fix(tauri-build): allow user to specify win sdk path (fix: #2871) (#2893)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-16 11:18:13 -03:00
Kasper
dfe508d492
Add doc comment example for App::run (#2824) 2021-11-13 11:12:58 -03:00
Lucas Fernandes Nogueira
7c6c7adcc4
feat(core): add asset_resolver API (#2879) 2021-11-12 22:23:54 -03:00
Chaoqian Xu
ad16975938
feat: Add JoinHandle::abort() (#2877)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-12 22:22: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
renovate[bot]
8ff6914869
chore(deps) Update Rust crate tokio to 1.13 (#2833)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 09:20:41 -03:00
Lucas Fernandes Nogueira
ed497d74c8
fix(core): CLI API usage of positional arguments, closes #2821 (#2823) 2021-10-29 09:22:10 -03:00
renovate[bot]
2538bc639f
chore(deps) Update Rust crate blake3 to 1.1 (#2810)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-27 12:29: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
renovate[bot]
23956ef39d
chore(deps) Update Tauri Core (#2779)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-20 12:57:17 -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
Jonas Kruckenberg
39e0da1652
Fix log_dir (#2756) 2021-10-17 08:12:52 -03:00
Jonas Kruckenberg
acbb3ae7bb
feat: add Log directory (#2736)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-16 09:56:23 -03:00
Lucas Nogueira
e3122ab51f
fix(core): menu_ids not updated with global menu 2021-10-16 09:47:14 -03:00
renovate[bot]
c2a6e8d7e6
chore(deps) Update Tauri Core (#2746)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-13 10:02:35 -03:00
renovate[bot]
2efdaf5283
chore(deps) Update Rust crate thiserror to 1.0.30 (#2741)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 08:40:29 -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
Lucas Fernandes Nogueira
e98c1af442
feat(core): expose message dialog APIs, fix window.confirm, implement HasRawWindowHandle for Window, closes #2535 (#2700) 2021-10-02 16:13:24 -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
Amr Bashir
3924c3d853
fix(api.js): fix os.platform return on macos and windows, closes #2698 (#2699)
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2021-10-02 14:15:20 -03:00
Lucas Nogueira
40a15647aa
chore: improve panic message on state usage 2021-09-30 16:11:10 -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 Nogueira
a21f6b212c
docs(api): clarify setSize, setMinSize, setMaxSize and setLocation, closes #2660 2021-09-29 18:00:59 -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
ThisSeanZhang
3a59f5f79e
Unlisten to an event on this window (#2664)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-27 17:11:23 -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
2792531347 chore: apply temporary change to __currentWindow usage 2021-09-27 15:13:01 -03:00
Lucas Nogueira
f68603aee4
chore(docs): simplify event system documentation 2021-09-27 13:07:05 -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
Lucas Fernandes Nogueira
cc2f39a29f
feat(core): add on_event hook on the Plugin trait (#2656) 2021-09-26 01:25:45 -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
Lucas Nogueira
a2443906e0
chore(deps): remove unused tauri-build dependencies 2021-09-23 12:57:44 -03:00
Adilson Schmitt Junior
cc8b1468c8
Fix(api): Window size and position returning wrong class (fix: #2599) (#2621)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-22 18:57:23 -03:00
renovate[bot]
262781d9f7
chore(deps) Update Tauri API Definitions (#2623)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-22 17:50:05 -03:00
renovate[bot]
73f3019c45
chore(deps) Update Tauri Core (#2627)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-22 17:48:03 -03:00
Amr Bashir
fe381a0bde
fix: join no longer cares if path doesn't exist, closes #2499 (#2548) 2021-09-21 16:22:23 -03:00
renovate[bot]
ae8d805155
chore(deps) Update Tauri Core (#2581)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-21 14:43:46 -03:00
renovate[bot]
6477533ea9
chore(deps) Update Rust crate thiserror to 1.0.29 (#2578)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-21 14:32:56 -03:00
Lucas Fernandes Nogueira
d5f07d14f3
feat(cli.rs): build tools info (#2618) 2021-09-21 10:24:48 -03:00
Ngo Iok Ui (Wu Yu Wei)
84f6e3e84a
Switch to next branch of wry (#2574) 2021-09-09 13:05:03 -03:00
Amr Bashir
70300ee233
refactor(core): remove unused polyfills in core.js (#2544) 2021-09-04 21:35:03 -03:00
renovate[bot]
9b6162a617
chore(deps) Update Rust crate thiserror to 1.0.28 (#2560)
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: 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>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-03 23:06:14 -03:00
Lucas Nogueira
c1494b3532
refactor: return Weak<Window> on create_tao_window 2021-08-31 15:50:40 -03:00
Lucas Nogueira
dbe0d21b6f
fix(core): initialize system tray before app windows 2021-08-31 14:53:27 -03:00
Amr Bashir
ad17b9bf2a
chore: add note about focusing the webview (#2545) 2021-08-29 20:12:45 +08:00
Kris Scott
e706df7d03
Fix svelte recipe packageManager ternary (#2534)
* refactor: custom protocol (#2503)

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>

* Apply Version Updates From Current Changes (#2513)

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>

* fix(api): revert ES2021 target

* Apply Version Updates From Current Changes (#2520)

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>

* docs: webdriver guide (#2461)

Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>

* fix(core): `Notification.requestPermission()` deadlock regression

* Fix packageManager ternary

Co-authored-by: david <david@lemarier.ca>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
2021-08-26 10:36:10 -03: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
Lucas Nogueira
1a28904b8e
fix(core): resource path resolution on Linux, closes #2493 2021-08-22 20:41:26 -03:00
Ngo Iok Ui (Wu Yu Wei)
994b5325dd
fix: missing asset protocol path (#2484) 2021-08-22 16:12:45 -03:00
Ngo Iok Ui (Wu Yu Wei)
8fcdc1d474
doc: move breaking change to top for better visibility (#2472) 2021-08-17 13:34:49 -03:00
github-actions[bot]
431e9e44e4
Apply Version Updates From Current Changes (#2467)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-08-17 10:41:30 -03:00
Lucas Fernandes Nogueira
aecdfaf76f
fix(core): raw-window-handle dependency, closes #2460 (#2465) 2021-08-17 10:27:18 -03:00
Lucas Fernandes Nogueira
a54bba6c86
fix(core): cleanup app before exit, closes #2464 (#2466) 2021-08-17 09:29:32 -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
c76f4b7d39
feat(core): set parent window on ask and message dialog APIs (#2454) 2021-08-16 17:25:45 -03:00
Ngo Iok Ui (Wu Yu Wei)
cd55d67149
doc: update tauri documentations (#2446) 2021-08-16 11:32:37 -03:00
Alve Larsson
7057c0f7b8
New brand (#2445)
* Update readme

* Update splash.svg

* New logo

* change to image

* Update splash.png

* Update README.md

* Mac Tray icon fix
2021-08-16 22:00:40 +08:00
Lucas Fernandes Nogueira
537ab1b6d5
feat(core): inject src-tauri/Info.plist file on dev and merge on bundle, closes #1570 #2338 (#2444) 2021-08-15 21:36:43 -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
1635798a66
feat(core): improve HeaderValue compatibility, closes #2162 (#2438) 2021-08-15 18:14:40 -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
Ngo Iok Ui (Wu Yu Wei)
12642a1ad4
doc: update doc in tauri-utils and tauri (#2435)
* Update several documentations in tauri-utils

* Update a few documentation in tauri

* Add change file

* Update macro usage
2021-08-15 23:06:46 +08:00
Lucas Fernandes Nogueira
2088cd0f24
refactor(core): handle dialog threading internally, closes #2223 (#2429)
* refactor(core): handle dialog threading internally, closes #2223

* thread spawn
2021-08-14 16:00:23 -03:00
Lucas Fernandes Nogueira
9acd83017f
fix(core): percent decode asset protocol URL (#2427) 2021-08-14 10:02:20 -03:00