Commit Graph

64 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
3713066e45 refactor(core): rewrite shell execute API, closes #1229 (#1408) 2021-03-31 02:19:03 -03:00
Lucas Fernandes Nogueira
1318ffb47c refactor(core): remove async from app hooks, add InvokeMessage type (#1392) 2021-03-26 14:19:03 -03:00
Amr Bashir
2b8e93fb94 fix(tauri-api): remove .exe from app_name on windows (#1379) 2021-03-23 15:52:35 -03:00
Lucas Fernandes Nogueira
8bdd894925 refactor(core): move bundle script to /tauri crate (#1377)
* refactor(core): move bundle script to /tauri crate

* fix(cli): clippy

* fix(core): tests
2021-03-23 00:03:07 -03:00
Amr Bashir
52c2baf940 feat: add current working directory to path api module (#1375) 2021-03-22 22:13:12 -03:00
chip
c88838aa76 feat: build without proc macros (#1226)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-03-12 22:10:19 -03:00
Noah Klayman
7c0bf642a9 feat(api/shell): allow open command to open files (#1341) 2021-03-10 01:20:54 -03:00
Lucas Fernandes Nogueira
35c75b4197 refactor(api): reorganize and rename methods (#1277) 2021-02-23 23:30:14 -03:00
Lucas Fernandes Nogueira
8a120683b6 feat(core): implement windows icon with wry (#1272) 2021-02-23 11:57:58 -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
2326bcd399 refactor(core): use nfd for file dialogs, closes #1251 (#1257) 2021-02-18 11:43:41 -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
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
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
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
Lucas Fernandes Nogueira
156a0ad5cb refactor(tauri): use explicit error types instead of anyhow (#1209) 2021-02-10 19:51:15 -03:00
chip
e02c9419cb refactor(tauri): support for building without environmental variables (#850)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-02-09 15:22:04 -03:00
Lucas Fernandes Nogueira
99ecf7bb3e feat(tauri): use WRY as webview engine (#1190) 2021-02-08 11:19:22 -03:00
Lucas Fernandes Nogueira
a169b67ef0 feat(tauri): add async support (#1169) 2021-02-03 20:47:57 -03:00
Lucas Fernandes Nogueira
ba8fb00880 feat(ci): add unused dependencies check (#1168) 2021-01-30 13:50:26 -03:00
renovate[bot]
b4544b63f2 chore(deps) Update Tauri API (#1072)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2020-11-07 10:45:27 -03:00
Lucas Fernandes Nogueira
82cda98532 chore(tauri) dirs crate is unmaintained, use dirst-next instead (#1057) 2020-10-17 21:01:10 -03:00
PTrottier
0ede99da42 Make the dialog API comments more consistent (#1005) 2020-09-01 22:55:23 -05:00
chip
bbccad4e03 fix clippy warnings (#891)
Signed-off-by: Chip Reed <chip@chip.sh>
2020-07-24 08:19:10 -03:00
chip
a3362f3ade disable tests that fail on default windows installs (#890)
cat is not available as a command on a default windows install.
This disables the command test that uses cat during tests.  It also
disables `test_cmd_fail` even though it passes, because the test
is testing the wrong thing in this case.
2020-07-24 08:09:56 -03:00
Lucas Fernandes Nogueira
0245833bb5 feat(tauri) make window.alert and window.confirm available, fix #848 (#854) 2020-07-18 18:13:57 -03:00
Lucas Fernandes Nogueira
56f819d2ef feat(tauri) allow plugin config on tauri.conf.json (#824) 2020-07-13 18:18:06 -03:00
Lucas Fernandes Nogueira
fedee835e3 fix(tauri.js) windows Edge blank screen on tauri dev (#808) 2020-07-11 07:52:34 -03:00
Lucas Fernandes Nogueira
26635845bf feat(tauri) use port as number or the "random" string (#784) 2020-07-09 10:20:25 -03:00
Lucas Fernandes Nogueira
c8f430297f feat(workflow) improve clippy check, add fmt and audit checks (#754) 2020-07-05 22:13:50 -03:00
Lucas Fernandes Nogueira
522c86a956 refactor(tauri) simplify API functions types usage (#725) 2020-06-30 14:04:36 -03:00
Lucas Fernandes Nogueira
6b097345ed refactor(tauri) execute_promise String/Serialize management (#724) 2020-06-29 15:39:39 -03:00
Lucas Fernandes Nogueira
6d23b0673e docs(rust) add rustdocs to the crates (#723) 2020-06-28 10:34:43 -03:00
Lucas Fernandes Nogueira
dd1bffe91e refactor(api) rewrite readDir API (#722) 2020-06-27 15:40:46 -03:00
Lucas Fernandes Nogueira
e0c330cfb6 fix(tauri) httpRequest API JSON/Text response reader, header value as string, closes #691 (#702) 2020-06-19 14:59:16 -03:00
Lucas Fernandes Nogueira
d299a2b94d feat(tauri) CLI args additions (positional args, bool as value for args with takesValue=false) (#695) 2020-06-18 13:01:47 -03:00
Lucas Fernandes Nogueira
b04be6664e fix(tauri) environment variables usage (#688) 2020-06-17 18:11:11 -03:00
Lucas Fernandes Nogueira
d3c53ebf30 feat(tauri) make Config globally available (#681) 2020-06-17 13:05:51 -03:00
uneducated potato
92087db23c Implement HttpRequestBuilder for HttpRequestOptions (#651) (#677) 2020-06-15 01:11:51 -03:00
Lucas Fernandes Nogueira
406dea79ed feat(tauri) add Notifications API (#505) 2020-06-15 01:09:02 -03:00
Lucas Fernandes Nogueira
14a1ddfe18 feat(tauri) add app CLI interface config (#670) 2020-06-14 23:36:35 -03:00
Wu Yu Wei
c23675b5e5 refactor(tauri) update error handling crate to anyhow+thiserror, close #613 (#621)
* Replace error-chain with thiserror in util crate

* Replace errorchain with anyhow/thiserror in api

* Replace with anyhow/thiserror in updater

* Replace with anyhow/thiserror in tauri

* Fix error handling on windows
2020-05-29 19:22:04 -04:00
Lucas Fernandes Nogueira
4b54cc1564 feat(tauri) add httpRequest API (#589) 2020-05-11 17:03:58 -03:00
Lucas Fernandes Nogueira
b2e28f39fe feat(tauri) add path API (#513)
* feat(tauri) extend file system API

* chore(deps) pin web-view deps

* feat(tauri) add path API

* feat(tauri.js) add Dir definition and usage

* fix(tauri) correctly determine app_name

* feat(example) add Dir select to the communication example

* chore(tauri) wrap comment line

* fix(tauri) build works
2020-03-17 07:42:59 -03:00
Lucas Fernandes Nogueira
8ac066700a feat(tauri) extend file system API (#512)
* feat(tauri) extend file system API

* chore(deps) pin web-view deps
2020-03-16 17:04:15 -03:00
Lucas Fernandes Nogueira
37e8e79a04 feat(tauri) add dialog API (#514)
* feat(tauri) add dialog API

* feat(example) add dialog API to the communication example

* fix(dialog) transform backslash so it works on windows
2020-03-15 18:09:44 -03:00