Commit Graph

2112 Commits

Author SHA1 Message Date
Lucas Nogueira
06cbc1ee57
chore(core): fix clippy warnings 2022-02-03 10:18:24 -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 Fernandes Nogueira
61851f49ea
refactor(core): use regex only for the shell scope API (#46)
Co-authored-by: chip <chip@chip.sh>
2022-02-03 10:01:30 -03:00
Lucas Nogueira
320bb0b52a
fix(examples): API example shell scope configuration 2022-02-02 21:02:27 -03:00
Lucas Nogueira
d740ae66ac
refactor: move data-url usage behind window-data-url feature 2022-02-02 20:43:14 -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
Lucas Nogueira
b82e2b5cf7
feat(core): configure HTTP scope using glob patterns 2022-01-31 10:30:32 -03:00
Lucas Nogueira
de35f4b624
fix(core): use std::env::temp_dir instead of fixed /tmp 2022-01-31 10:30:27 -03:00
Lucas Nogueira
ff37a715ab
fix(core): remove $APP from fs scope default 2022-01-31 10:30:10 -03:00
Lucas Nogueira
645b5a8b8a
chore: fix clippy warnings and tests 2022-01-31 10:30:05 -03:00
Lucas Nogueira
dc8ae7485e
fix: put eprintln usage behind #[cfg(debug_assertions)] 2022-01-31 10:29:56 -03:00
amrbashir
093f85dc2b
chore: update pull request commit exmple 2022-01-29 18:01:09 +02: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
dependabot[bot]
529912515e
chore(deps): bump node-fetch from 2.6.1 to 2.6.7 in /examples/sidecar (#3271)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-23 16:54:16 -03:00
Lucas Nogueira
efa1970db5
fix(api): type definition for http > Part, closes #3268 2022-01-23 16:51:35 -03:00
Lorenzo Lewis
75dea8bd39
Docs removal (#3263) 2022-01-23 16:48:42 -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
Lucas Nogueira
ec8661f18e
fix: do not enforce updater's pubkey field when active is false 2022-01-17 10:48:03 -03:00
Lucas Nogueira
487441c991
fix: update dev dependencies 2022-01-17 10:47:54 -03: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
e1d6a6e644
Create api-file-dialog-title.md (#3235) 2022-01-16 16:41:33 -03:00
Lucas Nogueira
8376e3c035
chore(deps): update webview2-com to 0.30 on tauri-runtime 2022-01-16 15:58:17 -03:00
Jonas Kruckenberg
ce03909fb6
[feat] add dialog title option. closes #3232 (#3233) 2022-01-16 19:41:11 +01:00
Lucas Fernandes Nogueira
9014fe88b6
refactor(core): cleanup egui implementation (#3227) 2022-01-16 01:14:18 -03:00
Jonas Kruckenberg
b5d9bcb402
Consistent event name usage (#3228) 2022-01-15 17:47:15 -03:00
Lucas Nogueira
5b66dede9b
chore(docs): add target folder note on the FAQ, ref #3223 2022-01-15 16:08:14 -03:00
Justin
e651c62c94
Added Windows signing guide, renamed osx guide to macos (#3213) 2022-01-15 16:04:57 -03:00
Lucas Nogueira
b9c00d2db5
chore(deps): update windows to 0.30 2022-01-15 13:20:30 -03:00
Lucas Fernandes Nogueira
ab7d3b51eb
feat: emit CloseRequested event for egui windows (#3222) 2022-01-15 12:23:26 -03:00
Lucas Fernandes Nogueira
e15a8af843
refactor(core): return Window on create_window API (#3211) 2022-01-13 13:51:45 -03:00
FabianLars
d5e6046756
Fix broken links to tauri.studio docs (#3212) 2022-01-13 13:34:31 -03:00
renovate[bot]
85b738fe68
chore(deps) Update Rust crate blake3 to 1.3 (#3200)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-12 10:19:27 -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
Ahmad AlHallak
c6e05380f7
fix: getter macro panicking on RecvError, closes #3188 (#3192)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-01-10 15:33:35 -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