Commit Graph

65 Commits

Author SHA1 Message Date
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
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
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]
b5581741e8
chore(deps) Update Rust crate sha2 to 0.10 (#3368)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 11:40:01 -03:00
Fabian-Lars
7d2a6d8055
Fix(core): import regex if shell-open is enabled. (#3339)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-06 10:50:27 -03:00
renovate[bot]
effba95dd6
chore(deps) Update Rust crate zstd to 0.10 (#3282)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 00:43:03 -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
0d1e3219b4
Merge branch 'next' into feat/audit-patches 2022-02-02 20:09:41 -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
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
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
Lucas Nogueira
8259cd64c2
feat(core): inject CSP on data URLs [TRI-049] (#16) 2022-01-09 14:57:12 -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 Fernandes Nogueira
efbf236f35
refactor(core): make zstd optional enabled by default (#3133) 2021-12-30 11:28:41 -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
renovate[bot]
2661af4de4
chore(deps) Update Rust crate blake3 to 1.2 (#2859)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-10 11:12:05 -03:00
renovate[bot]
2538bc639f
chore(deps) Update Rust crate blake3 to 1.1 (#2810)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-27 12:29:41 -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
github-actions[bot]
80f16d35f9
Apply Version Updates From Current Changes (#2246)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-16 17:59:06 -03:00
Ngo Iok Ui (Wu Yu Wei)
cd55d67149
doc: update tauri documentations (#2446) 2021-08-16 11:32:37 -03:00
Lucas Fernandes Nogueira
537ab1b6d5
feat(core): inject src-tauri/Info.plist file on dev and merge on bundle, closes #1570 #2338 (#2444) 2021-08-15 21:36:43 -03:00
Ngo Iok Ui (Wu Yu Wei)
12642a1ad4
doc: update doc in tauri-utils and tauri (#2435)
* Update several documentations in tauri-utils

* Update a few documentation in tauri

* Add change file

* Update macro usage
2021-08-15 23:06:46 +08:00
Lucas Fernandes Nogueira
fbf8caf5c4
fix(core): ESM detection when using export async function (#2425) 2021-08-14 09:02:54 -03:00
FabianLars
b2b36cfe8d
fix(core): fixes ES Module detection for default imports with relative paths or scoped packages (#2380) 2021-08-10 10:55:23 -03:00
renovate[bot]
c2f35f3b89
chore(deps) Update Rust crate blake3 to v1 (#2305)
* chore(deps) Update Rust crate blake3 to v1

* fix build

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-08 21:15:43 -03:00
github-actions[bot]
e48bb3edff
apply version updates (#2121) 2021-07-16 09:23:10 -04:00
Lucas Fernandes Nogueira
4b0ec01880
fix(core): improve JS ESM detection (#2139) 2021-07-02 00:00:40 -03:00
Lucas Fernandes Nogueira
f03eea9c9b
feat(core): inject invoke key on <script type="module"> (#2120) 2021-06-29 20:40:41 -03:00
github-actions[bot]
3806b88ee1
Apply Version Updates From Current Changes (#2069)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-28 11:03:55 -03:00
Lucas Fernandes Nogueira
7765c7fa28
fix(core): invoke key injection on ES module, improve performance (#2094) 2021-06-27 19:51:47 -03:00
github-actions[bot]
5353379d15
Apply Version Updates From Current Changes (#1823)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-23 16:56:16 -03:00
renovate[bot]
c9bf9432e7
chore(deps) Update Rust crate zstd to 0.9 (#1971)
* chore(deps) Update Rust crate zstd to 0.9

* chore(deps) Update Rust crate zstd to 0.9

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-15 23:11:27 -03:00
Lucas Fernandes Nogueira
40b717edc5
feat(core): set window icon on Linux, closes #1922 (#1937) 2021-06-01 13:07:48 -03:00
Lucas Fernandes Nogueira
6ec54c53b5
feat(core): allow dev_path, dist_dir as array of paths, fixes #1897 (#1926)
* feat(core): allow `dev_path`, `dist_dir` as array of paths, fixes #1897

* fix: clippy
2021-05-31 11:42:10 -03:00
Lucas Fernandes Nogueira
e97846aae9
feat(core): validate devPath and distDir values (#1848)
* feat(core): validate `devPath` and `distDir` values

* fix tests
2021-05-17 14:47:05 -03:00
github-actions[bot]
7c7a0777ca
Apply Version Updates From Current Changes (#1629)
* apply version updates

* fix metadata.json [skip ci]

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-11 16:20:35 -03:00
chip
55423590dd
refactor(core): Context fields now private, Icon used on all platforms (#1774) 2021-05-11 08:38:08 -03:00
Lucas Fernandes Nogueira
319cf16a54
fix: prune packages, add license files, closes #1507 (#1769)
Co-authored-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
2021-05-10 20:28:15 -03:00
Lucas Fernandes Nogueira
5edda4ba08
fix(core): system tray icon path resolution (Linux) (#1763) 2021-05-10 00:27:43 -03:00
Lucas Fernandes Nogueira
7bb7dda752
refactor(core): resolve resource_dir using the package info (#1762) 2021-05-10 00:01:12 -03:00
Lucas Fernandes Nogueira
c090927021
feat(core): system tray, closes #157 (#1749) 2021-05-09 08:15:37 -03:00
Lucas Fernandes Nogueira
e087f0f937
feat: add #[non_exhaustive] attribute (#1725) 2021-05-05 22:22:45 -03:00
renovate[bot]
9eebd03857
chore(deps) Update Rust crate zstd to 0.8 (#1707)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 02:04:45 -03:00
Lucas Fernandes Nogueira
6132f3f4fe
feat(core): reintroduce CSP injection (#1704) 2021-05-04 23:31:05 -03:00
Lucas Fernandes Nogueira
5110c704be
feat(core): allow users to access the Assets instance (#1691)
* feat(core): allow users to access the Assets instance

* chore(changes): mark as breaking change [skip ci]
2021-05-03 15:07:38 -03:00
Lucas Fernandes Nogueira
c91105ff96
refactor(build): allow setting window icon path on try_build (#1686) 2021-05-03 10:42:29 -03:00
github-actions[bot]
0f86bc4071
Apply Version Updates From Current Changes (#1620)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-25 17:54:41 -03:00