Commit Graph

850 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
0f1558980a
fix(core): docs.rs on Windows and macOS (#3566)
Co-authored-by: chip <chip@chip.sh>
2022-03-02 13:08:42 -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
Amr Bashir
91ec876b50
chore: remove accidental checked cli.js dir (#3562)
Co-authored-by: chip <chip@chip.sh>
2022-03-02 10:21:00 -03:00
renovate[bot]
a78bd693b1
chore(deps) Update Tauri CLI (#3587)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-02 10:04:25 -03:00
Lucas Nogueira
a6a4f689a0
chore(deps): update png to 0.17.5 2022-03-02 10:03:41 -03:00
Lucas Fernandes Nogueira
b10a7cfa00
chore(cli): update clap to 3.1 (#3568) 2022-02-27 17:35:43 -03:00
Lucas Nogueira
913fb001c6
doc(config): fix http scope example 2022-02-27 16:48:53 -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
Fabian-Lars
8d699283a4
fix(bundler): Auto-launch app from install location, closes #3547 (#3553)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-24 12:52:04 -03:00
Lucas Fernandes Nogueira
944b124ce0
feat(core): enhance HTTP scope glob validation, closes #3507 (#3515) 2022-02-24 10:06:19 -03:00
Lucas Fernandes Nogueira
6a6f1e7bf9
fix(bundler): build updater bundle for all .msi files (#3520) 2022-02-24 10:05:58 -03:00
Fabian-Lars
fb6744daa4
feat(cli.js): add 32bit cli for windows (#3540)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-24 10:05:13 -03:00
renovate[bot]
e694dd6730
chore(deps) Update dependency fs-extra to v10.0.1 (#3538)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-24 09:40:40 -03:00
renovate[bot]
597c8b2006
chore(deps) Update Tauri CLI (#3537)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-24 09:40:17 -03: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
renovate[bot]
426b16983d
chore(deps) Update Rust crate image to 0.24.1 (#3535)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-24 09:39:44 -03:00
Jordan Baron
cf29e02043
Docs: change command to cmd (#3530) 2022-02-24 09:37:47 -03:00
github-actions[bot]
82b7f51956
Apply Version Updates From Current Changes (#3468)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-18 11:37:36 -03:00
Lucas Fernandes Nogueira
5999379fb0
chore(cli): improve "waiting for dev server" message, closes #3491 (#3504) 2022-02-18 10:39:22 -03:00
Lucas Fernandes Nogueira
b571c249dc
chore(deps): update to wry v0.13.2 (#3503) 2022-02-18 10:39:10 -03:00
Lucas Fernandes Nogueira
fce344b90b
feat(core): set default value for minimum_system_version to 10.13 (#3497) 2022-02-17 22:19:16 -03:00
Lucas Fernandes Nogueira
17f17a80f8
fix(cli): do not panic if private key password is wrong, closes #3449 (#3495) 2022-02-17 18:41:47 -03:00
Jacob Bolda
53e4dd8c2d
remove create-tauri-app (#3493)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-17 18:20:56 -03:00
Lucas Fernandes Nogueira
a975551461
fix(cli): duplicated short flag for signer sign, closes #3483 (#3492) 2022-02-17 17:57:29 -03:00
renovate[bot]
72ca1970c6
chore(deps) Update dependency svelte-check to v2.4.5 (#3485)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
[skip ci]
2022-02-16 21:45:01 -03:00
Lucas Fernandes Nogueira
2ecbed8d59
fix(bundler): sidecar on Windows, closes #3446 (#3482) 2022-02-16 21:44:40 -03:00
renovate[bot]
5a4e9efa0a
chore(deps) Update Tauri JS CLI (#3475)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-16 12:17:47 -03:00
renovate[bot]
0f92c2ec14
chore(deps) Update dependency svelte-check to v2.4.4 (#3479)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
[skip ci]
2022-02-16 12:17:37 -03:00
renovate[bot]
aff8264960
chore(deps) Update create-tauri-app (#3477)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-16 10:39:28 -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
renovate[bot]
7ee118cece
chore(deps) Update Tauri CLI (#3474)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-16 10:06:09 -03:00
Lucas Fernandes Nogueira
a06de37601
fix(cli): path lookup should not check subfolder before the current one (#3465) 2022-02-15 11:40:21 -03:00
github-actions[bot]
bf05c3aeb4
Apply Version Updates From Current Changes (#3461)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-14 18:47:19 -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
Lucas Fernandes Nogueira
c6031c7070
feat(cli): increase lookup depth, add env var option (#3451) 2022-02-13 22:13:13 -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 Fernandes Nogueira
49955ea1aa
feat(ci): simplify cache (#3448) 2022-02-13 20:27:21 -03:00
Lucas Fernandes Nogueira
759d1afb86
feat(cli): improve error message when dev runner command fails (#3447) 2022-02-13 19:13:31 -03:00
Lucas Fernandes Nogueira
16f1173f45
feat(cli): add tao and wry version to the info output (#3443) 2022-02-13 17:47:21 -03:00
Jonas Kruckenberg
f3483f6e20
Update Cargo.crate-manifest #3441 cont'd (#3444)
[skip ci]
2022-02-13 17:25:18 -03:00
Lucas Fernandes Nogueira
63826010d1
feat(cli.js): show full error message (#3442) 2022-02-13 14:55:11 -03:00
Lucas Fernandes Nogueira
23fe8cbf9a
chore(cli): add comments on app template Cargo.toml (#3441) 2022-02-13 14:19:39 -03:00
Lucas Fernandes Nogueira
2d69dfe1dc
fix(cli): package license, remove test code (#3439) 2022-02-13 13:51:05 -03:00
Lucas Fernandes Nogueira
cd9a20b9ab
refactor(cli.js): run on separate thread (#3436) 2022-02-13 13:50:51 -03:00
Lucas Fernandes Nogueira
679fe1fedd
feat(cli.rs): allow passing arguments to the build runner, closes #3398 (#3431)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-13 10:54:18 -03:00
Lucas Fernandes Nogueira
102a5e9bb8
refactor(cli.rs): change template config CSP to null, closes #3427 (#3429) 2022-02-13 02:01:48 -03:00
Lucas Nogueira
bdd41e2413
fix(changelog): mark macos-private-api feature as breaking change 2022-02-13 01:20:22 -03:00
github-actions[bot]
d24045e884
Apply Version Updates From Current Changes (#3414)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-12 10:47:49 -03:00
Lucas Fernandes Nogueira
3a4c016061
fix(core): change default freezePrototype to false, closes #3416 #3406 (#3423) 2022-02-12 10:28:05 -03:00
Amr Bashir
c01036043d
fix(cta): fix cli install with other deps, fixes #3417 (#3420)
* fix(cta): fix cli install with other deps, fixes #3417
2022-02-12 11:04:24 +02:00
github-actions[bot]
9f0395ae3c
Apply Version Updates From Current Changes (#3411)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-11 19:48:29 -03:00
Lucas Fernandes Nogueira
d8acbe1149
fix(cli.rs): app path resolution on projects without git, closes #3409 (#3410) 2022-02-11 19:41:50 -03:00
Lucas Fernandes Nogueira
d29c5d551f
Merge pull request #3408 from tauri-apps/docs/api 2022-02-11 16:37:01 -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
github-actions[bot]
fe0cfea03e
Apply Version Updates From Current Changes (#3401)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-11 14:13: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
9c6c5a8c52
perf(cli.rs): improve performance of tauri dir lookup reading .gitignore (#3405) 2022-02-11 13:35:15 -03:00
Lucas Fernandes Nogueira
8beab63634
fix(cli): build freezing on Windows, closes #3399 (#3402) 2022-02-11 11:38:10 -03:00
Lucas Fernandes Nogueira
def7684025
fix(cli.rs): do not prompt for init values if arg set (#3400) 2022-02-11 11:00:11 -03:00
github-actions[bot]
ffb9a192cb
apply version updates (#3397)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2022-02-11 11:45:59 +02:00
amrbashir
e25fc68da6
fix(cta): account for null args 2022-02-11 11:36:26 +02:00
Amr Bashir
536c0cd7d4
fix(cta): filter out empty args, fixes #3393 (#3396)
* fix(cta): filter out empty args, fixes #3393

* use strict inequality [skip ci]
2022-02-11 10:31:29 +02:00
github-actions[bot]
5c0a8bfef7
Apply Version Updates From Current Changes (#3392)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-10 23:05:06 -03:00
Dave Lage
c0c9537543
fix(cli): Typo (#3390) 2022-02-10 22:59:26 -03:00
Lucas Nogueira
3227502e8c
fix(cli.rs): package vswhere.exe 2022-02-10 22:55:59 -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
4334865266
refactor(cli): rename tooling/cli.rs folder to tooling/cli (#3388)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-10 17:23:10 -03:00
Lucas Fernandes Nogueira
62c7a8ad30
chore(covector): prepare for rc release (#3376) 2022-02-10 16:46:30 -03:00
Lucas Fernandes Nogueira
2403e732df
feat(cli.rs): add tests to node binding, delete cli.js (#3381)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: LongYinan <lynweklm@gmail.com>
2022-02-10 16:45:41 -03:00
Fabian-Lars
02ac3215ea
feat(cli.js): rewrite cli.js with napi-rs, closes #2651,#3287 (#3370)
Co-authored-by: Chip Reed <chip@chip.sh>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-09 22:11:00 -03:00
renovate[bot]
7690d1b92e
chore(deps) Update create-tauri-app (#3364)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 13:46:51 -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]
391454d88a
chore(deps) Update Rust crate image to 0.24.0 (#3367)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-09 13:02:33 -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
renovate[bot]
69c4e814fa
chore(deps) Update Tauri CLI (#3371)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-09 11:36:29 -03:00
Lucas Fernandes Nogueira
7b7a3a89d1
feat(core): update serialize-to-javascript dependency (#3363) 2022-02-09 01:24:35 -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
Fabian-Lars
4ae5e34079
fix(cli.rs): remove duplicate shortname for internal flag (#3361) 2022-02-08 13:13:46 -03:00
Lucas Fernandes Nogueira
5eb72c24de
refactor: copy resources and sidecars on the Cargo build script (#3357) 2022-02-08 13:13:21 -03:00
Lucas Fernandes Nogueira
4a10e88c4b
feat(docs): document data URLs usage (#3360) 2022-02-08 11:11:32 -03:00
Lucas Fernandes Nogueira
a2d5929a8f
feat(cli.rs): wait for dev URL to be reachable, exit if command fails (#3358)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-08 10:43:07 -03:00
Didrik Nordström
3035e4581c
Remove target triple from sidecar bin paths, closes #3355 (#3356)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-07 22:16:09 -03:00
nothingismagick
58030172ed
feat(tauricon): remove from cli (#3293)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-07 00:59:51 -03:00
Lucas Fernandes Nogueira
3d92f4c272
fix(cli.rs): --release flag for the dev command, closes #3324 (#3348) 2022-02-06 23:52:57 -03:00
Lucas Fernandes Nogueira
9b34055264
fix(core): window-specific event delivery, closes #3302 (#3344) 2022-02-06 17:50:02 -03:00
Lucas Nogueira
5e7611aaa7
fix(cli.rs): build on Windows 2022-02-06 10:52:01 -03:00
philipborg
52e9a6d81a
fix: Make CMD handle quotes " properly. (#3334)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-06 10:22:07 -03:00
Lucas Nogueira
1e5a8c9db6
fix(cli.rs): lint warning on cross_command fn 2022-02-06 09:52:39 -03:00
Amr Bashir
a8e5ad9299
fix: improve vs build tools detection, closes #3113 (#3144)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 20:17:39 -03:00
renovate[bot]
c5f3cbc683
chore(deps) Update dependency sirv-cli to v2 (#3134)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 15:20:32 -03:00
Lucas Fernandes Nogueira
af329f2722
feat(bundler): wix localization, closes #3174 (#3179) 2022-02-05 15:13:07 -03:00
Lucas Nogueira
de0543f3e0
feat(cli.rs): change inferred dev server port to 8080 for Svelte apps 2022-02-05 15:12:36 -03:00
Ngo Iok Ui (Wu Yu Wei)
1805d05867
Remove chrono dependency in some crates (#2890)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 14:21:04 -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
renovate[bot]
21fb74bb37
chore(deps) Update Rust crate clap to v3.0.7 (#3209)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 13:10:35 -03:00
Jonas Kruckenberg
839daec7ab
fix(bundler): Use arch instead of llvm_target. fix #3285 (#3286)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 00:40:13 -03:00
renovate[bot]
8d39741aa1
chore(deps) Update create-tauri-app (#3245)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-04 23:51:49 -03:00
dependabot[bot]
2bade5ecaa
chore(deps): bump simple-get from 4.0.0 to 4.0.1 in /tooling/cli.js (#3303)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[skip ci]
2022-02-04 22:31:19 -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
Amr Bashir
65ad5b5ef9
feat(cli.rs/info): detect if tauri is used from git (#3309)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 21:00:55 -03:00
Didrik Nordström
83f52fdbe3
feat: Add universal-darwin-macos build target, closes #3317 (#3318)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 18:56:57 -03:00
Lucas Nogueira
a76abc48f2
fix(config): doc for beforeDevCommand and beforeBuildCommand 2022-02-04 18:13:46 -03:00
Lucas Nogueira
c6ba7f6524
fix(ci): update lockfiles 2022-02-04 14:48:45 -03:00
Lucas Nogueira
675d171eed
fix(core): tests, lint 2022-02-04 14:03:27 -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
38a9b58219
fix(bundler): remove unused test code 2022-02-04 11:47:10 -03:00
Lucas Nogueira
b1d7464d61
chore(cli.rs): fix clippy warnings 2022-02-03 10:16:32 -03:00
Lucas Nogueira
995de57a76
Add seamless support for using JSON5 in the config file (#47)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-03 10:16:00 -03:00
Lucas Nogueira
0d1e3219b4
Merge branch 'next' into feat/audit-patches 2022-02-02 20:09:41 -03:00
chip
7c3db7a381
cache current binary path much sooner (#45)
* use ctor to cache starting executable

* clean up symlink checking logic

* changefile

* use wrapper for the static, put it in tauri_utils

* cargo +nightly fmt

* add license header to `StartingBinary`

* fix clippy warning

* fix: test

* simplify macOS dangerous flag detection

* update restart test to allow expected failure on macOS

* finish documentation

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-02 19:58:56 -03:00
Manuel Alabor
8ab8d52942
Fix #3288: Add provider_short_name for macOS (#3289) 2022-01-27 15:22:30 -03:00
Lucas Nogueira
696dca58a9
refactor(core): remove BaseDirectory::Current variant 2022-01-26 16:48:31 -03:00
Lucas Nogueira
c80e8b6886
fix: fs-read-file allowlist usage 2022-01-26 16:47:42 -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
Jonas Kruckenberg
9bb68973dd
fix(cli.rs): prefix the "before script" env vars with TAURI_ (#3274) 2022-01-24 10:27:23 -03:00
Wojciech Niedźwiedź
d801cc89b8
wix installer is also signed (#3266) 2022-01-23 17:50:05 -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
Lucas Fernandes Nogueira
28dd9adb26
feat(bundler): support building AppImage without FUSE (#3259) 2022-01-21 15:41:00 -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
sdoering01
1eec7282c7
fix(cli.rs): typo (#3248) 2022-01-19 10:57:25 +01:00
sdoering01
4de8577a48
fix(create-tauri-app): correct dev port for svelte, closes #3210 (#3246) 2022-01-19 10:44:37 +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
FabianLars
d5e6046756
Fix broken links to tauri.studio docs (#3212) 2022-01-13 13:34:31 -03:00
renovate[bot]
ce8a37152a
chore(deps) Update create-tauri-app (#3199)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 10:19:14 -03:00
renovate[bot]
b36c8232a0
chore(deps) Update Tauri CLI (#3196)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 10:18:57 -03:00
renovate[bot]
30eae51426
chore(deps) Update Rust crate tempfile to 3.3.0 (#3202)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 10:15:05 -03:00
renovate[bot]
39e67922b8
chore(deps) Update Tauri JS CLI (#3197)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 10:13:15 -03:00
Lucas Nogueira
c077f44927
feat: force endpoint URL to use https on release [TRI-015] (#41) 2022-01-09 16:40:22 -03:00
Lucas Nogueira
d95cc83105
feat: enforce updater public key [TRI-015] (#42) 2022-01-09 16:37:03 -03:00
Lucas Fernandes Nogueira
d4db95e716
feat(core): shell execute API scope [TRI-002] (#36)
* feat(core): shell execute API scope [TRI-002]

* fix tests

* also check with empty extension

* lockfile
2022-01-09 16:28:22 -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 Fernandes Nogueira
85df94f2b0
feat(core): config for fixed webview2 runtime version path (#27) 2022-01-09 16:16:45 -03:00
Lucas Fernandes Nogueira
0ad1c6515f
feat(core): add http allowlist scope [TRI-008] (#24) 2022-01-09 16:16:12 -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
2f3a582c69
feat(cli.rs): strip release binaries [TRI-031] (#22) 2022-01-09 15:46:43 -03:00
Lucas Nogueira
153a6a44b3
fix(cli.rs): build on windows 2022-01-09 15:41:51 -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
4fa5ec9606
chore: cleanup repo lockfiles and gitignores 2022-01-09 15:18:14 -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
eed017287f
feat(core): add shell > sidecar allowlist and process feature flag [TRI-037] (#18) 2022-01-09 14:57:43 -03:00
Lucas Nogueira
d660cab38d
feat: enhance allowlist configuration [TRI-027] (#11) 2022-01-09 14:48:55 -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
3420aa5031
refactor: IPC handler [TRI-019] (#9)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-01-09 14:17:29 -03:00
Lucas Nogueira
6ac21b3cef
feat: add private api feature flag (#7) 2022-01-09 11:29:29 -03:00
Lucas Nogueira
cf54dcf9c8
feat: improve CSP security with nonces and hashes, add devCsp [TRI-004] (#8) 2022-01-09 11:11:59 -03:00
Lucas Nogueira
4de285c396
feat(core): validate Cargo features matching allowlist [TRI-023] 2022-01-09 10:55:09 -03:00
Lucas Fernandes Nogueira
46f2eae8aa
feat: allow config's version to be a path to package.json, closes #2967 (#2971) 2022-01-07 16:55:30 -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]
0a857f8fdc
chore(deps) Update Tauri CLI (#3163)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:52:38 -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]
2d6d358298
chore(deps) Update Tauri JS CLI (#3164)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:46:35 -03:00
renovate[bot]
03f60eb54a
chore(deps) Update create-tauri-app (#3166)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:46:25 -03:00
renovate[bot]
2a94165901
chore(deps) Update Rust crate handlebars to 4.2 (#3171)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:45:48 -03:00
FabianLars
ac1dfd8c30
feat(bundler): initialize msi install path with previous location (#3158) 2022-01-07 13:45:34 -03:00
Kasper
4f9c9e6307
Restructure docs (#3180)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-01-07 09:30:23 -03:00
Amr Bashir
4143ffd427
fix(cli.js): detect CARGO_TARGET_DIR for local run (#3147)
* fix(cli.js): detect `CARGO_TARGET_DIR` for local run

* [skip ci] revert schema changes
2022-01-04 13:57:50 +02:00
Lucas Nogueira
45eba33dc1
fix(cli.rs): plugin init --api usage 2022-01-03 20:00:58 -03:00
FabianLars
5b2db3f481
fix lint warnings in appimage bash file (#3155) 2022-01-03 17:48:36 -03:00
Lucas Fernandes Nogueira
d0970e3499
feat(driver): add args to tauri:options (#3154) 2022-01-03 17:37:16 -03:00
Lucas Fernandes Nogueira
4c1be45106
fix(bundler): deadlock on ResourcePaths iterator, closes #3146 (#3152) 2022-01-02 14:28:07 -03:00
Kasper
62182383de
List categories in tooltips (#3150) 2022-01-01 21:55:29 -03:00
Amr Bashir
f5e77ff48f
refactor(cta): use commander instead of minimst (#2551)
* refactor(cta): use `commander` instead of `minimst`

* fix default

* pin deps

* update lock file

* rearrange options

* style changes

* colorful help message

* add missing `dev` option

* style

* use local api for tests

* concise checks for vite and solid

* update lock file

* fix api formatting

* improvements to updating json files

* hopefully the last commit in this PR

* fix eslint

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-01-01 14:38:43 +02: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
renovate[bot]
8b3fbb88b0
chore(deps) Update Tauri CLI (#3129)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 07:14:40 -03:00
renovate[bot]
a9ef0459d7
chore(deps) Update Tauri JS CLI (#3130)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 07:14:25 -03:00
renovate[bot]
fa84c186e5
chore(deps) Update create-tauri-app (#3131)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 07:14:12 -03:00
FabianLars
3206a7088c
fix(bundler): detect per-user webview2 installations (#3076)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-28 19:28:21 -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
Lucas Fernandes Nogueira
35588b2e04
fix(cli.rs): check default arch at runtime, closes #3067 (#3078) 2021-12-27 10:49:59 -03:00
renovate[bot]
8d1a6978c1
chore(deps) Update Tauri CLI (#3097)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:07:06 -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]
c6f90b1c3e
chore(deps) Update Tauri JS CLI (#3101)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:05:33 -03:00
renovate[bot]
b5b4751be1
chore(deps) Update create-tauri-app (#3102)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:05:17 -03:00
renovate[bot]
0a97c61ac5
chore(deps) Update dependency @tsconfig/svelte to v3 (#3103)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:05:04 -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]
485e25a22a
chore(deps) Update Tauri CLI (#3074)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-15 17:18:59 -03:00
renovate[bot]
383cb6d4db
chore(deps) Update Rust crate heck to 0.4 (#3073)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-15 16:02:56 -03:00
renovate[bot]
d433e42664
chore(deps) Update create-tauri-app (#3075)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 15:16:34 -03:00
renovate[bot]
b3ff814aa7
chore(deps) Update Tauri JS CLI (#3071)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 14:57:28 -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 Nogueira
26dab690b7
fix(cli.rs): distDir validation 2021-12-10 12:24:45 -03:00
FabianLars
bec7833a6c
fix(bundler): bundle additional webkit files. patch absolute paths in libwebkit*.so files. fixes #2805,#2689 (#2940) 2021-12-09 18:38:01 -03:00