Commit Graph

2133 Commits

Author SHA1 Message Date
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
3d77bd3981
refactor(examples): use fixed file name on API example dist files 2022-02-04 18:33:43 -03:00
Lucas Nogueira
6ea4626337
fix(examples): API example compilation issues 2022-02-04 18:31:54 -03:00
Lucas Nogueira
a76abc48f2
fix(config): doc for beforeDevCommand and beforeBuildCommand 2022-02-04 18:13:46 -03:00
Jacob
e57a303748
docs(examples): add missing Readme and clarify existing (#3327)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 17:56:57 -03:00
Cobalt
15358b1895
Expose event interface. fixes #2733 (#3321)
Co-authored-by: Cobalt <c0balt@disroot.org>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-04 17:44:12 -03:00
Lucas Fernandes Nogueira
bff86ee4c4
chore: remove egui feature (#3330) 2022-02-04 17:02:54 -03:00
Lucas Nogueira
a434393413
fix(core): feature flag usage on the shell APIs 2022-02-04 16:28:11 -03:00
dependabot[bot]
4e6308c296
chore(deps): bump simple-get from 3.1.0 to 3.1.1 in /examples/sidecar (#3329)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-04 15:52:45 -03:00
Lucas Fernandes Nogueira
b94a0aadc9
Merge pull request #3328 from tauri-apps/feat/audit-patches 2022-02-04 15:51:15 -03:00
Lucas Nogueira
01f8fff34b
fix(ci): Rust workspace test with all features 2022-02-04 15:17:08 -03:00
Lucas Nogueira
c6ba7f6524
fix(ci): update lockfiles 2022-02-04 14:48:45 -03:00
Lucas Nogueira
0fcd7bec37
fix(deps): remove unused dependencies 2022-02-04 14:24:56 -03:00
Lucas Nogueira
675d171eed
fix(core): tests, lint 2022-02-04 14:03:27 -03:00
Lucas Nogueira
5fe3a37da3
fix(build): allowlist features mismatch detection 2022-02-04 13:37:23 -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
095a696c85
chore(audit): add report 2022-02-04 11:41:15 -03:00
Lucas Nogueira
224f81b4d0
chore(deps): update wry rev 2022-02-04 11:40:56 -03:00
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