Commit Graph

598 Commits

Author SHA1 Message Date
Amr Bashir
f5e77ff48f
refactor(cta): use commander instead of minimst (#2551)
* refactor(cta): use `commander` instead of `minimst`

* fix default

* pin deps

* update lock file

* rearrange options

* style changes

* colorful help message

* add missing `dev` option

* style

* use local api for tests

* concise checks for vite and solid

* update lock file

* fix api formatting

* improvements to updating json files

* hopefully the last commit in this PR

* fix eslint

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-01-01 14:38:43 +02: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
35588b2e04
fix(cli.rs): check default arch at runtime, closes #3067 (#3078) 2021-12-27 10:49:59 -03:00
Lucas Fernandes Nogueira
7cc95e10ec
feat(core): add Menu::with_items, closes #2807 (#2966) 2021-12-27 10:48:13 -03:00
FabianLars
bec7833a6c
fix(bundler): bundle additional webkit files. patch absolute paths in libwebkit*.so files. fixes #2805,#2689 (#2940) 2021-12-09 18:38:01 -03: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
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
Amr Bashir
28aaec87e2
feat(cli.rs): add active toolchain and rustup to tauri info, closes #2730 (#2986) 2021-12-09 01:28:26 -03:00
Lucas Fernandes Nogueira
feb3a8f896
feat(bundler): configure WiX to add launch option, closes #3015 (#3043) 2021-12-09 01:27:11 -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
fb2b9a52f5
feat(cli.js): allow configuring tauri app path on package.json #2752 (#3035)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2021-12-09 01:23:49 -03:00
Amr Bashir
1bfc32a3b2
fix(api.js): add fileDropEnabled to WindowOptions, closes #2968 (#2989) 2021-12-09 01:03:21 -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
FabianLars
1e336b6872
fix(cli.js): Fix package installation on yarn 2+ (#3012) 2021-12-09 00:11:51 -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
Amr Bashir
17a1ad6823
fix(cli.rs): ensure target/release/wix exists, closes #2927 (#2987) 2021-12-07 11:01:17 -03:00
Amr Bashir
ea51504e3a
fix(cta): stop react recipe from opening in browser, closes #2793 (#2988) 2021-11-30 18:30:25 +02:00
Lucas Fernandes Nogueira
7b81e5b82e
feat(cli.rs): allow config argument to be a path to a JSON file (#2938) 2021-11-22 19:08:54 -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
Lucas Fernandes Nogueira
4e3b366e64
feat(ci): automate config.md docs generation (#2887) 2021-11-14 09:26:41 -03:00
Lucas Fernandes Nogueira
8000675366
feat(ci): fill CLI docs on covector version (#2886) 2021-11-13 19:49:48 -03:00
Lucas Fernandes Nogueira
db275f0b63
refactor(cli.rs): rename init plugin subcommand to plugin init (#2885) 2021-11-13 19:28:18 -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
Lucas Nogueira
4f2309cbb3
fix(covector): wrong front matter syntax on change files 2021-11-01 11:22:46 -03:00
Lucas Fernandes Nogueira
b1f5c6d7ac
refactor(cli.rs): drop dialoguer and console soft fork (#2790) 2021-10-22 10:41:43 -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
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
acbb3ae7bb
feat: add Log directory (#2736)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-16 09:56:23 -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
Lucas Fernandes Nogueira
ac37b56ef4
fix(core): menu id map not reflecting the current window menu (#2726) 2021-10-08 11:38:24 -03:00
Jonas Kruckenberg
b5ee03a13a
feat(cli.rs): expose debug flag to beforeDev/beforeBuild commands (#2727)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-08 11:30:06 -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
7ed3f3b7e4
feat(cli.rs): validate distDir, closes #2554 (#2701) 2021-10-04 12:54:14 -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 Fernandes Nogueira
11db96e440
fix(cli.js): .ico icon generation, closes #2692 (#2694)
* fix(cli.js): `.ico` icon generation, closes #2692

* fmt

* chore: cleanup resize logic
2021-10-02 08:42:32 -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
a6f270c235
chore(changes): remove change file 2021-09-28 10:11:06 -03:00
Jonas Kruckenberg
c8262b736f
fix: include typescript declarations in plugin template (#2674) 2021-09-28 10:03:38 -03:00