Commit Graph

732 Commits

Author SHA1 Message Date
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
Lucas Fernandes Nogueira 74dff536d4
fix(core): emit `tauri://close-requested` to JS, closes #2996 (#3041) 2021-12-09 12:22:12 -03:00
Jonas Kruckenberg 1458ab3c53
refactor(cli.rs): `signer` and `plugin` subcommands, use new clap derive syntax (#2928)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-09 12:21:33 -03:00
Amr Bashir 28aaec87e2
feat(cli.rs): add active toolchain and rustup to `tauri info`, closes #2730 (#2986) 2021-12-09 01:28:26 -03:00
Lucas Fernandes Nogueira feb3a8f896
feat(bundler): configure WiX to add launch option, closes #3015 (#3043) 2021-12-09 01:27:11 -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
Lucas Fernandes Nogueira fb2b9a52f5
feat(cli.js): allow configuring tauri app path on package.json #2752 (#3035)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2021-12-09 01:23:49 -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] 875c35e6e4
chore(deps) Update Tauri CLI (#2994)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-09 01:02:12 -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
renovate[bot] ba14d69650
chore(deps) Update Tauri JS CLI (#3000)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-09 01:01:02 -03:00
renovate[bot] ea9e7ca44a
chore(deps) Update create-tauri-app (#3001)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-09 01:00:28 -03:00
Lucas Fernandes Nogueira d28ac8aac0
fix(core): enable CORS on the `asset` protocol, closes #2965 (#2974) 2021-12-09 00:56:58 -03:00
FabianLars 1e336b6872
fix(cli.js): Fix package installation on yarn 2+ (#3012) 2021-12-09 00:11:51 -03:00
renovate[bot] 639fcad307
chore(deps) Update Rust crate clap to v3.0.0-rc.0 (#3046)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-08 23:47:43 -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
renovate[bot] c664e9dbe0
chore(deps) Update Rust crate sha2 to 0.10 (#3045)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-08 22:32:41 -03:00
Amr Bashir 17a1ad6823
fix(cli.rs): ensure `target/release/wix` exists, closes #2927 (#2987) 2021-12-07 11:01:17 -03:00
Lorenzo Lewis 1f800e83b6
fix: #617 Update macOS icons to Big Sur style (#2870) 2021-12-06 23:41:13 +01:00
Lucas Nogueira 508e815247
chore(api): fix documentation tags 2021-12-06 16:49:09 -03:00
Amr Bashir 0196c89768
fix(cta): use node12 compatible apis to clean node_modules (#3010) 2021-12-02 10:45:00 +02:00
Amr Bashir 25651ec10b
fix(cli.rs): don't enforce a `rustfmt.toml` (#2990)
* fix(cli.rs): don't enforce a `rustfmt.toml`

* rmove it from plugins templates
2021-12-01 11:04:50 +08:00
Amr Bashir ea51504e3a
fix(cta): stop react recipe from opening in browser, closes #2793 (#2988) 2021-11-30 18:30:25 +02:00
West 1c7ee6ec06
feat: add CLJS project to `create-tauri-app`, fix: #2822 (#2843)
* include lockfile-lint in devDependencies

* add cljs template

* lockfile lint should be included as part of another pr

* few fixes
- Added url for the create-cljs-app project
- Added beforeDevCommand and beforeBuildCommand
- Make sure to delete redundant lockfile depending on package manager

* reinstall dependencies after deleting lockfiles

* fix eslint check

* add support for `pnpm`

Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-11-30 18:14:37 +02: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] d11495f45a
chore(deps) Update Tauri JS CLI (#2950)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 10:21:47 -03:00
renovate[bot] cc55242cd2
chore(deps) Update create-tauri-app (#2951)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 10:21:37 -03:00
renovate[bot] b4b25a2d44
chore(deps) Update Tauri CLI (#2945)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 10:21:24 -03:00
Lucas Fernandes Nogueira 7b81e5b82e
feat(cli.rs): allow config argument to be a path to a JSON file (#2938) 2021-11-22 19:08:54 -03:00
renovate[bot] cca9064e51
chore(deps) Update dependency typescript to v4.5.2 (#2922)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 00:40:33 -03:00
renovate[bot] 3fe89ecab6
chore(deps) Update dependency typescript to v4.5.2 (#2921)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 00:40:23 -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] d0c0f8a2d3
chore(deps) Update Tauri JS CLI (#2919)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 19:29:24 -03:00
renovate[bot] c765bfb762
chore(deps) Update dependency svelte-check to v2.2.10 (#2917)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 11:47:40 -03:00
renovate[bot] 4cb574d10c
chore(deps) Update dependency execa to v6 (#2913)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-17 11:25:02 -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] 64fb688780
chore(deps) Update Rust crate shared_child to v1 (#2910)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-17 10:30:55 -03:00
renovate[bot] 7b6db05182
chore(deps) Update create-tauri-app (#2909)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 09:49:44 -03:00
renovate[bot] d6ccdfce0b
chore(deps) Update Tauri CLI (#2907)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 09:48:58 -03:00
renovate[bot] 9721b4ae13
chore(deps) Update Tauri JS CLI (#2905)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 09:48:27 -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
Lucas Fernandes Nogueira 4e3b366e64
feat(ci): automate `config.md` docs generation (#2887) 2021-11-14 09:26:41 -03:00
Lucas Fernandes Nogueira 8000675366
feat(ci): fill CLI docs on `covector version` (#2886) 2021-11-13 19:49:48 -03:00
Lucas Fernandes Nogueira db275f0b63
refactor(cli.rs): rename `init plugin` subcommand to `plugin init` (#2885) 2021-11-13 19:28:18 -03:00
Bill Avery 34be6cf37a
Update webview2-com and windows crates (#2875) 2021-11-11 18:38:41 -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] 0818b267ec
chore(deps) Update dependency eslint-plugin-import to v2.25.3 (#2864)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 11:12:17 -03:00
renovate[bot] da12927ed6
chore(deps) Update create-tauri-app (#2858)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 09:01:05 -03:00
Per Steinhorst 7e979dc55f
fix: #2861 return platform type typo "Darwing" instead of "Darwin" (#2862) 2021-11-10 09:00:25 -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] 0718791999
chore(deps) Update Tauri JS CLI (#2857)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 08:58:24 -03:00
renovate[bot] f8b98edf29
chore(deps) Update create-tauri-app (#2837)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 09:21:43 -03:00
renovate[bot] b1202d94ba
chore(deps) Update Tauri JS CLI (#2836)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 09:21:31 -03:00
renovate[bot] 9772776876
chore(deps) Update Tauri CLI (#2835)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 09:21:20 -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] e3bf23eb2d
chore(deps) Update create-tauri-app (#2814)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 11:58:28 -03:00
renovate[bot] 502b85ed35
chore(deps) Update Tauri CLI (#2809)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 11:58:15 -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] fc21187800
chore(deps) Update Tauri JS CLI (#2812)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 02:41:46 -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
Oscar Dominguez 651fc01492
ci(workflow): add cache to workflows using actions/setup-node (#2740)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-22 11:33:02 -03:00
Lucas Fernandes Nogueira b1f5c6d7ac
refactor(cli.rs): drop `dialoguer` and `console` soft fork (#2790) 2021-10-22 10:41:43 -03:00
Benno da35d55b09
feat: /bin/bash to /usr/bin/env for compatibility (#2761) 2021-10-22 10:17:53 -03:00
Lucas Fernandes Nogueira a9dfc01550
feat: update to edition 2021 and set minimum rust to 1.56 (#2789) 2021-10-22 10:04:42 -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
renovate[bot] 4ec94736c9
chore(deps) Update Tauri CLI (#2772)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 11:01:00 -03:00
renovate[bot] f13f3c590f
chore(deps) Update create-tauri-app (#2777)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 10:56:49 -03:00
renovate[bot] 11f64ff7b4
chore(deps) Update Rust crate attohttpc to 0.18 (#2778)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 10:56:33 -03:00
renovate[bot] 68020b9ea7
chore(deps) Update Tauri JS CLI (#2780)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 10:54:38 -03:00
Lucas Nogueira 1fbc8237e5
fix(cli.rs): config.json on plugin template 2021-10-18 19:32:54 -03:00
Amr Bashir 84f2695e10
fix(cli.rs): remove short flag for `init>plugin>tauri` (#2764) 2021-10-18 15:38:55 -03:00
Lucas Nogueira 1325e3ab64
fix(cli.rs): do not enable all tauri features on plugin template manifest 2021-10-18 14:43:25 -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
renovate[bot] 1e48b689f5
chore(deps) Update create-tauri-app (major) (#2749)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-13 11:49:47 -03:00
renovate[bot] c869bec3fc
chore(deps) Update Tauri JS CLI (major) (#2748)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-13 10:30:50 -03:00
renovate[bot] b759744999
chore(deps) Update Tauri API Definitions (major) (#2747)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-13 10:30:24 -03:00
renovate[bot] c446908dc5
chore(deps) Update Tauri CLI (#2745)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-13 10:02:14 -03:00
renovate[bot] c39797cb89
chore(deps) Update create-tauri-app (#2744)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 08:44:58 -03:00
renovate[bot] bfb28fdf44
chore(deps) Update Tauri JS CLI (#2743)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 08:42:48 -03:00
renovate[bot] 7dca44bf41
chore(deps) Update Tauri API Definitions (#2742)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-13 08:41:08 -03:00
renovate[bot] 97344c1b07
chore(deps) Update create-tauri-app (#2718)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 12:39:49 -03:00
renovate[bot] 1fded9ea65
chore(deps) Update Tauri API Definitions (#2717)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:19:01 -03:00
renovate[bot] 4eb7aa136f
chore(deps) Update Tauri CLI (#2719)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:18:32 -03:00
renovate[bot] c1fc3fb80f
chore(deps) Update Tauri JS CLI (#2720)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:17:57 -03:00
renovate[bot] 84ab0e530a
chore(deps) Update Tauri JS CLI (major) (#2721)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:17:37 -03:00
renovate[bot] 040c69d392
chore(deps) Update dependency @rollup/plugin-commonjs to v21 (#2722)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:17:01 -03:00
renovate[bot] ded91eecf3
chore(deps) Update dependency @rollup/plugin-commonjs to v21 (#2723)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:16:44 -03:00
renovate[bot] 54a4cf7ca3
chore(deps) Update dependency @rollup/plugin-commonjs to v21 (#2724)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 10:16:22 -03:00
Jonas Kruckenberg b5ee03a13a
feat(cli.rs): expose debug flag to beforeDev/beforeBuild commands (#2727)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-08 11:30:06 -03:00
Lucas Fernandes Nogueira 7ed3f3b7e4
feat(cli.rs): validate `distDir`, closes #2554 (#2701) 2021-10-04 12:54:14 -03:00
Lucas Nogueira 9c9dead8a0
feat(cli.rs): add `tauri` and `author` options to the `init plugin` cmd 2021-10-03 08:58:31 -03:00
Lucas Nogueira 62b6b5b1aa
feat(cli.rs): add API package to template's covector config 2021-10-03 08:23:10 -03:00
Lucas Fernandes Nogueira e98c1af442
feat(core): expose message dialog APIs, fix window.confirm, implement HasRawWindowHandle for Window, closes #2535 (#2700) 2021-10-02 16:13:24 -03:00
Amr Bashir 3924c3d853
fix(api.js): fix `os.platform` return on macos and windows, closes #2698 (#2699)
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2021-10-02 14:15:20 -03:00
Lucas Fernandes Nogueira 11db96e440
fix(cli.js): `.ico` icon generation, closes #2692 (#2694)
* fix(cli.js): `.ico` icon generation, closes #2692

* fmt

* chore: cleanup resize logic
2021-10-02 08:42:32 -03:00
Lucas Nogueira 45573aed5d
fix(cli.rs): default cargo features on templates 2021-10-01 20:21:47 -03:00
Lucas Nogueira a0bea432b4
chore(cli.rs): some plugin template fixes 2021-10-01 13:17:02 -03:00
Lucas Nogueira 3450902862
fix(cli.js): do not run dependency updater on `init plugin` command 2021-10-01 10:39:09 -03:00
renovate[bot] f09a13a978
chore(deps) Update Rust crate toml_edit to 0.4 (#2688)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 19:45:07 -03:00
renovate[bot] 9081f9330c
chore(deps) Update create-tauri-app (#2687)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 19:02:35 -03:00
Lucas Nogueira a21f6b212c
docs(api): clarify `setSize`, `setMinSize`, `setMaxSize` and `setLocation`, closes #2660 2021-09-29 18:00:59 -03:00
renovate[bot] cfc316482c
chore(deps) Update Tauri JS CLI to v27.2.4 (#2683)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 12:15:42 -03:00
renovate[bot] 51dd08ab25
chore(deps) Update dependency @jest/globals to v27.2.4 (#2682)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:48:44 -03:00
renovate[bot] 709739e6d2
chore(deps) Pin dependencies (#2676)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:44:32 -03:00
renovate[bot] ba6e35ec65
chore(deps) Update Tauri JS CLI (#2677)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:04:28 -03:00
renovate[bot] b7bb314c46
chore(deps) Update create-tauri-app (#2678)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:04:09 -03:00
renovate[bot] 6aeee67fac
chore(deps) Update Tauri API Definitions (#2679)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:03:38 -03:00
renovate[bot] 65e4e2fa75
chore(deps) Update Tauri CLI (major) (#2680)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 11:03:11 -03:00
Jonas Kruckenberg c8262b736f
fix: include typescript declarations in plugin template (#2674) 2021-09-28 10:03:38 -03:00
Lucas Fernandes Nogueira 7c455b86b6
feat(ci): cache cli.js's template test (#2670) 2021-09-27 20:50:27 -03:00
Lucas Fernandes Nogueira d24fd8d102
feat(tauri-runtime-wry): allow window creation and closing on the main thread (#2668) 2021-09-27 20:18:06 -03:00
Lucas Fernandes Nogueira ac8e69a98c
feat(cli.rs): add `init plugin` command, bootstraps a plugin project (#2669) 2021-09-27 20:15:17 -03:00
Lucas Nogueira 2792531347 chore: apply temporary change to `__currentWindow` usage 2021-09-27 15:13:01 -03:00
Lucas Fernandes Nogueira a8cff6b3bc
feat(cli): do not enforce `src-tauri` folder structure, closes #2643 (#2654) 2021-09-27 14:54:41 -03:00
Lucas Nogueira f68603aee4
chore(docs): simplify event system documentation 2021-09-27 13:07:05 -03:00
Lucas Fernandes Nogueira 8599313a0f
feat(cli.rs): env vars for beforeDev/beforeBuild commands, closes #2610 (#2655) 2021-09-26 01:25:35 -03:00
Lucas Fernandes Nogueira 0fe680d90e
refactor(cli.rs): move template's build.rs file to the root (#2657) 2021-09-25 16:07:45 +08:00