Commit Graph

919 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
4963d00e5d
fix(cli): do not serialize None config values (#1266) 2021-02-20 23:35:01 -03:00
Lucas Fernandes Nogueira
e0be59ea26
refactor(core): split allowlist configuration per module (#1263)
* refactor(core): split allowlist configuration per module

* fix: build with all features

* fix(cli): run fmt

* fix(core): run fmt
2021-02-20 14:09:18 -03:00
Lucas Fernandes Nogueira
75eaaf0132
refactor: move schema validation to the Rust CLI (#1262) 2021-02-20 11:36:17 -03:00
Lucas Fernandes Nogueira
99f2b2cd18
feat(core): finalize global shortcut API (#1261) 2021-02-19 22:43:59 -03:00
Jake Stanger
8263d4e5d6
fix(cli): unable to access match struct fields in rust (#1260)
The `Matches`, `SubcommandMatches` and `ArgData` struct fields were previously private and not accessible, meaning the data returned from `get_matches` was useless. This marks all the relevant fields as public.
2021-02-19 21:35:33 -03:00
Lucas Fernandes Nogueira
33eb49c4c0
refactor: use own invoke return struct instead of serde_json::Value (#1259) 2021-02-18 16:57:29 -03:00
Lucas Fernandes Nogueira
2326bcd399
refactor(core): use nfd for file dialogs, closes #1251 (#1257) 2021-02-18 11:43:41 -03:00
Lucas Fernandes Nogueira
e7bd8c5920
fix(cli): beforeDev/beforeBuild cmds on windows - find cmd with which (#1256) 2021-02-17 23:27:48 -03:00
Lucas Fernandes Nogueira
6eee355a12
refactor(core): use tinyfiledialogs-rs for message/confirmation dialogs (#1255) 2021-02-17 23:27:33 -03:00
Lucas Fernandes Nogueira
f51801f790
fix(bundler): wix installer icon path, closes #1003 (#1254)
* fix(bundler): wix installer icon path, closes #1003

* fix: build
2021-02-17 23:27:26 -03:00
renovate[bot]
4d56e5e691
chore(deps) Update Rust crate zip to 0.5.10 (#1243)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-17 20:03:25 -03:00
Noah Klayman
7f9015dffe
fix(api/http): use __tauriModule, not module (#1246)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-02-17 20:02:08 -03:00
renovate[bot]
7e129e202a
chore(deps) Update Tauri Core (#1247)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-17 19:53:33 -03:00
renovate[bot]
555da2d546
chore(deps) Update Tauri API Definitions (#1244)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-17 19:52:07 -03:00
renovate[bot]
cb250d4cec
chore(deps) Update Tauri JS CLI (#1248)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-17 19:51:59 -03:00
Lucas Fernandes Nogueira
641374b153
feat(core): window creation at runtime (#1249) 2021-02-17 11:15:04 -03:00
Noah Klayman
0f3009b635
fix(api): consistent return pattern (#1245) 2021-02-16 19:38:18 -08:00
Lucas Fernandes Nogueira
25e47e8f9b
refactor(core): update wry (#1242) 2021-02-16 14:42:08 -03:00
Lucas Fernandes Nogueira
ddcb70c8fe
feat(core): add window event system (#1241) 2021-02-16 13:52:07 -03:00
Lucas Fernandes Nogueira
1c9d426d61
fix(cli): kill before_dev_command process when the webview is closed (#1240) 2021-02-16 02:17:35 -03:00
Lucas Fernandes Nogueira
ea7332539d
refactor(core): all API are now promise based (#1239) 2021-02-16 01:23:15 -03:00
Lucas Fernandes Nogueira
a7bc472e99
refactor(core): improve HTTP API, closes #1098 (#1237) 2021-02-15 22:28:35 -03:00
Lucas Fernandes Nogueira
e34ee4c29c
fix(bundler): workspace detection, closes #1007 (#1235) 2021-02-14 17:57:59 -03:00
Lucas Fernandes Nogueira
855effadd9
feat(core): globalShortcut API (#1232) 2021-02-14 17:34:23 -03:00
Lucas Fernandes Nogueira
772d83e8fd
fix(core): cli argument parser API not exiting on failure, update to latest (#1234) 2021-02-14 11:14:06 -03:00
Lucas Fernandes Nogueira
54a5a13cda
refactor(core): move webview interface to the app module (#1230)
* refactor(core): move webview interface to the app module

* fix: fmt
2021-02-13 22:45:00 -03:00
Lucas Fernandes Nogueira
a3d6dff216
feat(core): window API (#1225) 2021-02-13 21:35:55 -03:00
Noah Klayman
4db2196c06
fix(cli/core/dev): ensure distDir exists (#1228)
__tauri.js could be written to a nonextistent dir otherwise
2021-02-13 16:28:09 -03:00
Lucas Fernandes Nogueira
ae76c60a61
fix(bundler): appimage paths and filename (#1227) 2021-02-13 15:06:39 -03:00
Noah Klayman
99635c3b6a
fix(bundler): remove unused code (#1221)
* fix(bundler): remove unused code

* Revert "fix(bundler): remove unused code"

This reverts commit 8f5188c8a2.

* chore: use is_some instead

* fix: tauri config is a Result

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-02-13 12:11:29 -03:00
Lucas Fernandes Nogueira
c10d40311c
fix(core): API example, http API export (#1224) 2021-02-12 15:46:09 -03:00
Lucas Fernandes Nogueira
77fc730671
refactor(core): split endpoint API matching into modules (#1219) 2021-02-12 02:42:40 -03:00
Noah Klayman
7364f97d24
fix(tauri-utils/config): rename WindowConfig from camelCase (#1220) 2021-02-12 02:09:03 -03:00
Lucas Fernandes Nogueira
07208dff6c
feat(core): add mult-window support (#1217) 2021-02-11 21:50:39 -03:00
Noah Klayman
763d027dbb
fix(tauri/examples): fix build errors (#1218) 2021-02-11 18:41:03 -03:00
Lucas Fernandes Nogueira
35468f68e5
chore(fmt): merge imports (#1216) 2021-02-11 03:22:42 -03:00
Lucas Fernandes Nogueira
84d7cdae63
refactor(core): remove no-server and its APIs (#1215) 2021-02-11 02:33:18 -03:00
renovate[bot]
cf94cd4770
chore(deps) Update Tauri JS CLI (#1202)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-11 00:13:33 -03:00
renovate[bot]
85387c3543
chore(deps) Update Tauri API Definitions (#1201)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-11 00:13:19 -03:00
Noah Klayman
4d507f9adf
feat(cli/core): add support for building without targets (#1203) 2021-02-11 00:13:06 -03:00
renovate[bot]
189161829a
chore(deps) Update dependency svelte to v3.32.2 (#1205)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-11 00:12:13 -03:00
renovate[bot]
d02877e1f0
chore(deps) Update dependency sirv-cli to v1 (#1208)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-11 00:11:04 -03:00
Lucas Fernandes Nogueira
156a0ad5cb
refactor(tauri): use explicit error types instead of anyhow (#1209) 2021-02-10 19:51:15 -03:00
Lucas Fernandes Nogueira
df32e18be3
feat(repo): add setup scripts (#1189) 2021-02-10 02:24:38 -03:00
Lucas Fernandes Nogueira
5c5d8f811f
refactor(tauri): rename init_script to initialization_script (#1200) 2021-02-10 02:24:20 -03:00
renovate[bot]
2c640ec040
chore(deps) Update Rust crate tokio to 1.2 (#1199)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-10 01:37:26 -03:00
renovate[bot]
7aa88ddbac
chore(deps) Update Rust crate image to 0.23.13 (#1196)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-10 01:08:42 -03:00
renovate[bot]
f30ec7efb8
chore(deps) Update Rust crate serde_json to 1.0.62 (#1198)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-10 01:08:17 -03:00
renovate[bot]
9c8a1fa742
chore(deps) Pin dependencies (#1195)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-10 01:07:40 -03:00
Lucas Fernandes Nogueira
fb607ee97a
refactor(tauri): plugin trait with mutable references (#1197) 2021-02-10 01:07:00 -03:00