Commit Graph

177 Commits

Author SHA1 Message Date
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
Lucas Nogueira
efa1970db5
fix(api): type definition for http > Part, closes #3268 2022-01-23 16:51:35 -03:00
Edqe
18aab872a9
chore(docs): fix minor typo #3264 (#3265) 2022-01-23 16:43:29 -03:00
Lucas Nogueira
28a67fdb60
chore(docs): update platform-specific documentation notes 2022-01-22 14:35:36 -03:00
Lorenzo Lewis
b928a6edaf
tauri-studio JS doc generation (#3249)
* Add `generate-docs` command to JS tooling

* Stop generating Rust docs, update JS docs generation

* Change target folder for js copy

* Add recursive to copy

* Add in ARCHITECTURE.md copy

* Add in guides copy

* Change architecture output dir, fix guides destination

* Revert back to GitHub.workspace path

* Change cp to rsync to be able to exclude

* Fix source path

* Change to render title better

* Revert "Change to render title better"

This reverts commit 72b78f3901.

* Fix broken links
2022-01-20 22:32:57 +01:00
chip
d5d6d2abc1
Isolation Pattern (#43)
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-01-17 10:46:14 -03:00
Jonas Kruckenberg
ce03909fb6
[feat] add dialog title option. closes #3232 (#3233) 2022-01-16 19:41:11 +01:00
Jonas Kruckenberg
b5d9bcb402
Consistent event name usage (#3228) 2022-01-15 17:47:15 -03:00
Lucas Nogueira
eae311e6e2
fix(core): ipc and tests 2022-01-09 16:27:57 -03:00
Lucas Nogueira
766c4f2c57
refactor: unify fs read and write cmds for binary/text data [TRI-009] (#34) 2022-01-09 16:24:44 -03:00
Lucas Nogueira
a48b8b18d4
feat(core): validate callbacks and event names [TRI-038] [TRI-020] (#21) 2022-01-09 16:12:29 -03:00
Lucas Nogueira
5687b7fdcd
refactor: use macros to match core commands with allowlist conditionals [TRI-028] (#20) 2022-01-09 15:41:28 -03:00
Lucas Nogueira
63921fada4
refactor: change tauri::api::open with argument to an enum [TRI-022] (#19) 2022-01-09 14:58:38 -03:00
Lucas Fernandes Nogueira
680554de3e
feat: validate window label [TRI-021] (#13) 2022-01-09 14:30:43 -03:00
Lucas Nogueira
7920ff14e6
feat: scope the fs API and the asset protocol [TRI-026] [TRI-010] [TRI-011] (#10) 2022-01-09 14:30:04 -03:00
Lucas Nogueira
6ac21b3cef
feat: add private api feature flag (#7) 2022-01-09 11:29:29 -03:00
Lucas Fernandes Nogueira
0600099696
feat(api): support unknown types for event emit payload, closes #2929 (#2964) 2022-01-07 16:50:07 -03:00
Lucas Fernandes Nogueira
b7a2345b06
feat(core): add raw headers to HTTP API, closes #2695 (#3053) 2022-01-07 13:53:04 -03:00
renovate[bot]
294bb857c9
chore(deps) Update Tauri API Definitions (#3160)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:48:03 -03:00
renovate[bot]
6e4a9f154f
chore(deps) Update Tauri API Definitions (#3128)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 07:15:51 -03:00
Lucas Fernandes Nogueira
2212bd5d75
fix: dialog default path on Linux, closes #3091 (#3123) 2021-12-27 13:03:51 -03:00
Oliver Ford
722d9ede6e
doc(api) XDG user dirs are not env vars, fix: #3090 (#3092) 2021-12-27 10:57:45 -03:00
renovate[bot]
84f9d571d5
chore(deps) Update Tauri API Definitions (#3100)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:05:43 -03:00
renovate[bot]
b41ff93c8f
chore(deps) Update dependency eslint-plugin-promise to v6 (#3104)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:04:25 -03:00
renovate[bot]
4445b47c9f
chore(deps) Update Tauri API Definitions (#3069)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 14:55:54 -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
Lucas Fernandes Nogueira
151e629ebf
fix(core): streaming of small files using asset://, closes #2854 (#3039) 2021-12-09 01:24:11 -03:00
Amr Bashir
1bfc32a3b2
fix(api.js): add fileDropEnabled to WindowOptions, closes #2968 (#2989) 2021-12-09 01:03:21 -03:00
renovate[bot]
4268cbaeee
chore(deps) Update Tauri API Definitions (#2995)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-09 01:02:03 -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
508e815247
chore(api): fix documentation tags 2021-12-06 16:49:09 -03:00
renovate[bot]
f813a25da8
chore(deps) Update Tauri API Definitions (#2949)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 10:22:00 -03:00
renovate[bot]
46f8f2ab4c
chore(deps) Update dependency typescript to v4.5.2 (#2920)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 19:29:35 -03:00
renovate[bot]
c5852da779
chore(deps) Update dependency type-fest to v2.5.4 (#2914)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 11:24:51 -03:00
renovate[bot]
21bb8bfe09
chore(deps) Update Tauri API Definitions (#2904)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 09:48:17 -03:00
Lucas Fernandes Nogueira
15164d930a
feat(core): allow defining a custom invoke system (#2899) 2021-11-16 12:58:18 -03:00
renovate[bot]
348c38db5b
chore(deps) Update dependency eslint-plugin-import to v2.25.3 (#2865)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 11:12:26 -03:00
renovate[bot]
930b39e766
chore(deps) Update Tauri API Definitions (#2856)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 08:58:36 -03:00
renovate[bot]
7ae982b8ab
chore(deps) Update Tauri API Definitions (#2834)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 09:21:08 -03:00
renovate[bot]
341f803150
chore(deps) Update dependency type-fest to v2.5.2 (#2815)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 11:49:11 -03:00
renovate[bot]
c2b2d6258c
chore(deps) Update Tauri API Definitions (#2811)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 02:41:37 -03:00
renovate[bot]
6c92bb402b
chore(deps) Update Tauri API Definitions (#2771)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 11:01:29 -03: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