Commit Graph

139 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
7bba8db83e feat(api): add resolveResource API to the path module (#4234) 2022-05-29 14:35:35 -03:00
Lucas Fernandes Nogueira
3f998ca294 feat(api): add writeTextFile and (path, contents, options) overload (#4228) 2022-05-29 10:10:41 -03:00
Lucas Fernandes Nogueira
f46175d5d4 feat(core): expose option to set dialog type, closes #4183 (#4187) 2022-05-21 11:24:39 -03:00
Lucas Fernandes Nogueira
ae99f99167 feat(core): expose message dialog's title option, ref #4183 (#4186) 2022-05-21 10:46:14 -03:00
Lucas Nogueira
ec79e075a9 fix(core): http timeout field is optional, closes #4036 2022-05-03 12:17:23 -03:00
Lucas Fernandes Nogueira
f3c5ca89e7 fix(core): http api connect_timeout deserialization, closes #4004 (#4006) 2022-04-29 21:26:45 -03:00
Lucas Fernandes Nogueira
c23f139ba8 perf(core): improve binary size with api enum serde refactor (#3952) 2022-04-24 14:08:05 -03:00
Lucas Nogueira
1303264190 chore: enable set_cursor_position in Linux
It is not ready yet, but it has been pushed to tao
2022-04-22 21:55:17 -03:00
Lucas Fernandes Nogueira
582bdfccbc docs(tauri): document all feature flags, add test (#3947) 2022-04-22 21:51:39 -03:00
Lucas Fernandes Nogueira
1397d9121a feat(core): add support to multipart/form-data requests, closes #2118 (#3929) 2022-04-22 20:04:58 -03:00
Lucas Fernandes Nogueira
c54ddfe933 feat: expose window cursor APIs, closes #3888 #3890 (#3935) 2022-04-21 15:54:08 -03:00
Lucas Fernandes Nogueira
4cebcf6da7 feat: expose theme APIs, closes #3903 (#3937) 2022-04-21 15:03:29 -03:00
Anish Prashun
822b038c3e null type added (#3900) 2022-04-17 14:30:36 -03:00
Lucas Fernandes Nogueira
42e8d9cf92 fix(api): encode file path in convertFileSrc function, closes #3841 (#3846) 2022-04-02 11:54:26 -03:00
Lucas Nogueira
4541eaf2cb fix: flag capitalization on documentation 2022-03-29 10:43:59 -03:00
Fabian-Lars
1deeb03ef6 fix(api.js): appWindow shown as type any, fixes #3747 (#3772)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-24 19:43:18 -03:00
Lucas Fernandes Nogueira
266156a0b0 feat(core): add BaseDirectory::Temp and $TEMP variable (#3763) 2022-03-24 14:12:17 -03:00
Amr Bashir
6054e981c4 Revert "Fix importing @tauri-apps/api in Node.js" (#3767) 2022-03-24 13:07:22 -03:00
Kasper
d36c8e0322 Fix importing @tauri-apps/api in Node.js (#3752)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-22 18:19:46 -03:00
Jonas Kruckenberg
393f4b3d79 docs: update WebviewWindow doc comment (#3730) 2022-03-19 23:05:44 -03:00
Lucas Fernandes Nogueira
f0db3f9b83 feat(updater): add download progress events (#3734) 2022-03-18 22:58:44 -03:00
Lucas Fernandes Nogueira
834ccc5153 feat(core): reimplement readTextFile for performance (#3631) 2022-03-07 11:34:33 -03:00
Lucas Fernandes Nogueira
76c791bd2b fix(core): regression on the unlisten function (#3623) 2022-03-06 20:45:38 -03:00
Lucas Fernandes Nogueira
8c9358725a refactor(core): move png and ico behind Cargo features (#3588) 2022-03-05 14:19:24 -03:00
Lucas Fernandes Nogueira
b744cd2758 feat: extend scopes with user selected paths, closes #3591 (#3595) 2022-03-03 15:41:58 -03:00
Lucas Nogueira
3e18264d9e docs(api): fix shell links 2022-03-03 12:43:55 -03:00
Lucas Fernandes Nogueira
9cb1059aa3 fix(api): do not throw an exception if __TAURI_METADATA__ is not set, fixes #3554 (#3572) 2022-03-03 10:40:31 -03:00
renovate[bot]
55280bdea6 chore(deps) Update Tauri API Definitions (#3585)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-02 10:21:48 -03:00
Lucas Fernandes Nogueira
9b3b163baa feat(core): simplify scope definition for sidecars (#3574) 2022-03-02 10:21:36 -03:00
Aidan Labourdette
2d8dd49589 chore: fix formatting (#3560)
Fixed the markdown formatting for the openWith? parameter options for the open function in shell module.

see: https://github.com/tauri-apps/tauri-docs/pull/476
2022-02-26 04:40:54 +02:00
Jordan Baron
cf29e02043 Docs: change command to cmd (#3530) 2022-02-24 09:37:47 -03:00
Jonas Kruckenberg
7e04c072c4 feat: add mock functions for testing and SSG (#3437)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-02-13 20:33:10 -03:00
Lucas Nogueira
cb5c722c3f docs(api): document FS scope 2022-02-11 15:40:13 -03:00
Lucas Nogueira
5a0c382f3a docs(api): document HTTP scope 2022-02-11 15:19:01 -03:00
Lucas Nogueira
9ed1ba0bce fix(docs): imports must come after module docs 2022-02-11 15:08:17 -03:00
Lucas Nogueira
317d5dd17d docs(api): document shell scope 2022-02-11 15:04:00 -03:00
Lucas Nogueira
f37a36f58b fix: streaming example 2022-02-11 14:12:44 -03:00
Lucas Nogueira
49c1970fae docs(api): convertFileSrc example 2022-02-11 14:02:58 -03:00
Lucas Nogueira
c50fbc22e7 docs(api): window label 2022-02-11 13:56:31 -03:00
Lucas Nogueira
8d6f629445 docs(api): window allowlist 2022-02-11 13:56:15 -03:00
Lucas Fernandes Nogueira
7aca0a6233 refactor(core): simplify shell scope, input only string arrays (#3372) 2022-02-09 13:44:52 -03:00
Lucas Fernandes Nogueira
4a10e88c4b feat(docs): document data URLs usage (#3360) 2022-02-08 11:11:32 -03:00
Lucas Fernandes Nogueira
9b34055264 fix(core): window-specific event delivery, closes #3302 (#3344) 2022-02-06 17:50:02 -03:00
Jonas Kruckenberg
9b19a805aa fix(api.js) Replace number[]with Uint8Array. fixes #3306 (#3305)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 22:18:23 -03:00
Lucas Fernandes Nogueira
f5109e0c96 fix(api): window label null instead of actual value, closes #3295 (#3332) 2022-02-04 21:57:41 -03:00
Lucas Nogueira
f834a1545c chore(api): fix formatting 2022-02-04 11:51:41 -03:00
Lucas Nogueira
a08509c641 fix(api): remove currentDir API from the path module 2022-02-04 11:49:23 -03:00
Lucas Nogueira
0d1e3219b4 Merge branch 'next' into feat/audit-patches 2022-02-02 20:09:41 -03:00
Lucas Nogueira
696dca58a9 refactor(core): remove BaseDirectory::Current variant 2022-01-26 16:48:31 -03:00
chip
10314cd5cf feat(core): add argument parsing on shell scope (#44)
* feat: initial implementation

* feat: arg parser

* refactor: move codegen to context struct

* feat: regex validation

* fix tests

* fix: support magic argument value `-`

* feat: support value regex starting with `-`

* refactor: shell_scope mod, add happy path tests

* wip: scope command arguments

* wip: commands

* add better scoped errors and pattern matching

* add documentation to scoped command items

* support using the new shell scope for open

* use the proper items in tauri::scope during codegen

* shell-open uses ScopeError::Validation also

* use shell scoping for sidecar commands

* fix: cli.rs build

* fix: validation when arg list is empty

* require args in a non-fixed, non-empty config list

Co-authored-by: Chip Reed <chip@chip.sh>
2022-01-26 16:43:24 -03:00