Commit Graph

209 Commits

Author SHA1 Message Date
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