Commit Graph

298 Commits

Author SHA1 Message Date
renovate[bot]
f057326b34
chore(deps) Update Tauri API Definitions (#4209)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 11:42:12 -03:00
github-actions[bot]
8b6bb6720c
Apply Version Updates From Current Changes (#4175)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-24 15:35:35 -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
renovate[bot]
f439557ba6
chore(deps) Update Tauri API Definitions (#4154)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-18 09:56:50 -03:00
renovate[bot]
45f68291bd
chore(deps) Update Tauri API Definitions (#4101)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 10:03:15 -03:00
github-actions[bot]
86d82af494
Apply Version Updates From Current Changes (#4005)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-07 20:01:58 -03:00
renovate[bot]
9bd3fc48ee
chore(deps) Update Tauri API Definitions (#4049)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-04 10:25:41 -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
renovate[bot]
2fe54e3d11
chore(deps) Update Tauri API Definitions (#3980)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-29 13:47:12 -03:00
renovate[bot]
6462b62822
chore(deps) Update dependency @rollup/plugin-commonjs to v22 (#3981)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-29 13:46:56 -03:00
github-actions[bot]
feac1d193c
Apply Version Updates From Current Changes (#3820)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-04-26 11:53:21 -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
renovate[bot]
132e5b85f2
chore(deps) Update Tauri API Definitions (#3920)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-20 11:31:24 -03:00
renovate[bot]
bc3ba1cf20
chore(deps) Update Tauri API Definitions (#3892)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-19 19:05:02 -03:00
Anish Prashun
822b038c3e
null type added (#3900) 2022-04-17 14:30:36 -03:00
renovate[bot]
82c7855bf8
chore(deps) Update dependency @babel/core to v7.17.9 (#3866)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-06 14:36:12 -03:00
renovate[bot]
94a6a09df2
chore(deps) Update Tauri API Definitions (#3861)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-06 09:36:00 -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
renovate[bot]
9b70f82252
chore(deps) Update Tauri API Definitions (#3806)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-01 21:03:22 -03:00
Lucas Nogueira
4541eaf2cb
fix: flag capitalization on documentation 2022-03-29 10:43:59 -03:00
github-actions[bot]
7a814fcf3f
Apply Version Updates From Current Changes (#3634)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-03-28 17:43:04 -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
dependabot[bot]
7d41d800be
chore(deps): bump minimist from 1.2.5 to 1.2.6 in /tooling/api (#3766)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-23 21:50:10 -03:00
renovate[bot]
da3164133a
chore(deps) Update Tauri API Definitions (#3756)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 14:00:01 -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
renovate[bot]
137c9c7d4c
chore(deps) Update dependency prettier to v2.6.0 (#3713)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-17 10:03:04 -03:00
renovate[bot]
1967ac8a07
chore(deps) Update Tauri API Definitions (#3703)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 14:25:02 -03:00
renovate[bot]
c40f640ddc
chore(deps) Update Tauri API Definitions (#3656)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-13 11:21:25 -03:00
github-actions[bot]
fbb9017840
Apply Version Updates From Current Changes (#3512)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-03-07 18:20:13 -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
renovate[bot]
9d01dc6633
chore(deps) Update dependency rollup to v2.69.0 (#3589)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-03 10:43:56 -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
renovate[bot]
b300039a0f
chore(deps) Update Tauri API Definitions (#3536)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-24 09:39:59 -03:00
Jordan Baron
cf29e02043
Docs: change command to cmd (#3530) 2022-02-24 09:37:47 -03:00
renovate[bot]
123beddc52
chore(deps) Update Tauri API Definitions (#3473)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-16 10:06:28 -03:00
Jonas Kruckenberg
79bf061e01
fix: move to separate config file and fix mocks docs (#3456) 2022-02-14 16:15:08 -03:00
github-actions[bot]
8d290cb2d7
Apply Version Updates From Current Changes (#3430)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-14 02:17:24 -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
github-actions[bot]
0876bbbb57
Apply Version Updates From Current Changes (#2522)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-10 18:03:25 -03:00
Lucas Fernandes Nogueira
7aca0a6233
refactor(core): simplify shell scope, input only string arrays (#3372) 2022-02-09 13:44:52 -03:00
renovate[bot]
d6fbfaf7c2
chore(deps) Update Tauri API Definitions (#3369)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 11:37:51 -03:00
Fabian-Lars
617b397a7f
feat(docs): Generate json AST for js api. Remove docs related workflows. (#3335)
* feat(docs): Generate json AST for js api

* generate api.json in docs folder

* remove doc workflows. add dispatch for tauri-docs

* move cli/config doc generation to tauri-docs
2022-02-09 00:02:51 +01: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
renovate[bot]
e855c1435d
chore(deps) Update Tauri API Definitions (#3195)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 13:11:30 -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
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