Commit Graph

199 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
46e6187c89
chore: update license year (#6311) 2023-02-19 10:17:49 -03:00
Lucas Fernandes Nogueira
3d16461b68
fix(core): pin time to 0.3.15 (#6312) 2023-02-19 09:02:36 -03:00
Amr Bashir
f6c3ea6faa
chore: simplify windows_subsystem attribute (#6273) 2023-02-18 16:23:09 -03:00
Lucas Nogueira
3d5cc7ab86
Merge remote-tracking branch 'origin/dev' into next 2023-02-14 10:58:46 -03:00
github-actions[bot]
0111b88d75
(NEXT) Apply Version Updates From Current Changes (#5924)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-02-02 17:55:23 -03:00
Ngo Iok Ui (Wu Yu Wei)
7eb9aa75cf
Update gtk to 0.16 (#6155)
Co-authored-by: Wu Yu Wei <wusyong9104@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-29 15:08:27 -03:00
renovate[bot]
db7765edad
chore(deps) Update Tauri Codegen (#6034)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-26 11:23:08 -03:00
Lucas Fernandes Nogueira
630a7f4b18
refactor: remove mobile log initialization, ref #6049 (#6081) 2023-01-17 13:13:53 -03:00
renovate[bot]
04ddee91e8
chore(deps) Update Rust crate ico to 0.3 (#5929)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 12:47:25 -03:00
Lucas Nogueira
4f2fd4dcf7
chore: run cargo fmt 2022-12-15 18:40:57 -03:00
Lucas Nogueira
015020760a
chore: fix clippy warnings 2022-12-15 18:03:28 -03:00
Lucas Nogueira
d21c4a0a89
chore: fix clippy warnings 2022-12-15 17:56:23 -03:00
renovate[bot]
19ec53fae4
chore(deps) Update Tauri Codegen (#5830)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 09:00:36 -03:00
Lucas Fernandes Nogueira
d0d873e39a
feat(core): add support to mailto: and tel: links, closes #5521 (#5544) 2022-12-13 00:57:39 -03:00
github-actions[bot]
25416a64ba
(NEXT) Apply Version Updates From Current Changes (#5787)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-09 14:27:41 -03:00
Lucas Nogueira
1092865e67
Merge branch 'dev' into next 2022-12-08 14:19:44 -03:00
Lucas Nogueira
ad65b95070
refactor(core): move local ip address resolve to CLI 2022-11-30 11:53:17 -03:00
github-actions[bot]
527bd9feea
Apply Version Updates From Current Changes (#5644)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-11-24 12:52:54 -03:00
renovate[bot]
2eec3e13fb
chore(deps) Update Tauri Codegen (#5593)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-20 09:38:31 -03:00
Lucas Nogueira
602d3ed3f6
Merge branch 'dev' into next 2022-11-09 11:04:54 -03:00
github-actions[bot]
45a5cd569b
Apply Version Updates From Current Changes (#5295)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-11-08 09:24:09 -03:00
Lucas Fernandes Nogueira
6c13840cee
feat(examples): add desktop/web application example (#5537) 2022-11-03 18:01:47 -03:00
Lucas Nogueira
d0ad0d2f48
Merge remote-tracking branch 'origin/dev' into next 2022-10-31 10:13:57 -03:00
Amr Bashir
a178f95d68
feat: config schema generator (#5193)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-28 10:44:37 -03:00
Lucas Fernandes Nogueira
7d9aa3987e
feat: bump MSRV to 1.59 (#5296) 2022-09-28 14:33:35 -03:00
Lucas Fernandes Nogueira
aec5537de0
fix(codegen): serialize template tags, closes #4410 (#5247) 2022-09-28 11:10:56 -03:00
github-actions[bot]
e4292ce7be
apply version updates (#5216) 2022-09-16 14:30:18 -03:00
github-actions[bot]
fbdd0a7ca9
Apply Version Updates From Current Changes (#4753)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-09-15 12:03:45 -03:00
Lucas Nogueira
610aab7045
Merge branch 'dev' into next 2022-09-04 13:45:59 -03:00
Josh Soref
8fd79b8fc0
Spelling (#4880)
Co-authored-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-09-03 01:03:02 -03:00
Lucas Nogueira
aae91a9b53
refactor(tauri-codegen): panic if local IP address cannot be resolved 2022-09-01 16:58:41 -03:00
Lucas Nogueira
5d3242c496
fix(examples): keep the target fallback 2022-08-31 20:53:21 -03:00
Lucas Nogueira
9f9e3ae54d
fix: improve target check on context codegen 2022-08-30 13:22:26 -03:00
Lucas Fernandes Nogueira
b36ccb7e99
feat(ci): test mobile targets (#5078) 2022-08-28 23:02:32 -03:00
Lucas Nogueira
914c5f299f
Merge remote-tracking branch 'origin/dev' into next 2022-08-28 16:27:01 -03:00
Lucas Fernandes Nogueira
2901145c49
chore: update license headers (#5067) 2022-08-28 15:13:21 -03:00
Lucas Fernandes Nogueira
6f0615044d
feat(cli): add android dev and ios dev commands (#4982) 2022-08-20 16:53:07 -03:00
Lucas Fernandes Nogueira
6ba99689aa
feat(codegen): use TARGET environment variable if set (#4921) 2022-08-12 19:11:33 -03:00
Lucas Nogueira
08584fc657
fix(codegen): adapt for iOS build 2022-08-09 09:16:39 -03:00
Brian Li
f957cbb56c
fix(codegen): write output file when contents change (#4889) 2022-08-08 16:07:05 -03:00
Lucas Fernandes Nogueira
52f0c8bb83
feat(core): improve tray icon read error messages (#4850) 2022-08-03 11:38:43 -03:00
Lucas Fernandes Nogueira
ae83d008f9
feat: add support to TOML config file Tauri.toml, closes #4806 (#4813) 2022-08-02 14:12:26 -03:00
Lucas Fernandes Nogueira
c04d0340e2
feat(core): prepare build for mobile targets (#4830)
Co-authored-by: Yu-Wei Wu <wusyong9104@gmail.com>
2022-08-02 11:25:28 -03:00
shniubobo
accbc5e880
fix(codegen): fix relative paths in version field of tauri.config.json, closes #4723 (#4725) 2022-07-24 09:41:14 -03:00
github-actions[bot]
b1d53426d1
Apply Version Updates From Current Changes (#4650)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-07-14 18:36:35 -03:00
Lucas Fernandes Nogueira
3b4ed970e6
feat(codegen): validate __TAURI_ISOLATION_HOOK__ is referenced (#4631) 2022-07-11 16:41:34 -07:00
github-actions[bot]
7bbf167c1c
Apply Version Updates From Current Changes (#4560)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-07-06 14:32:55 -03:00
Lucas Fernandes Nogueira
fa028ebf3c
refactor: do not pass entire config from CLI to core, send patch instead (#4598) 2022-07-06 09:29:26 -03:00
renovate[bot]
326f87df26
chore(deps) Update Rust crate regex to 1.6.0 (#4600)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-06 09:24:14 -03:00
github-actions[bot]
35b53784ee
Apply Version Updates From Current Changes (#4545)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-06-30 18:45:58 -03:00
github-actions[bot]
df5fd52a4c
Apply Version Updates From Current Changes (#4382)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-06-29 14:34:20 -03:00
Lucas Nogueira
23a049c593
chore: fix clippy warnings, remove license template
The license template has been removed from rustfmt nightly :(
2022-06-24 22:01:13 -03:00
Lorenzo Lewis
d277881d7f
fix: add supported OSs to readme, update status badges to stable (#4432)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2022-06-23 15:31:11 -03:00
Lucas Nogueira
38f5db6e6a
feat(codegen): fill app metadata in development Info.plist 2022-06-21 20:36:49 -03:00
Lucas Fernandes Nogueira
307c2ebfb6
feat(core): set macOS app icon in development (#4385) 2022-06-19 13:02:02 -03:00
Lucas Fernandes Nogueira
7be997b974
feat(core): set macOS app bundle name in development (#4381) 2022-06-17 13:54:31 -03:00
github-actions[bot]
13c2fc1ffe
Apply Version Updates From Current Changes (#4352)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-15 23:08:50 -03:00
github-actions[bot]
f5f9f105f7
apply version updates (#4348)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-06-15 11:16:08 -03:00
Lucas Nogueira
562e8ca23f
fix(codegen): tray icon path is relative to the config directory 2022-06-15 09:03:53 -03:00
github-actions[bot]
dc432ef8b0
Apply Version Updates From Current Changes (#4343)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-14 21:49:04 -03:00
Lucas Fernandes Nogueira
4ce8e22813
refactor(core): use Icon for tray icons (#4342) 2022-06-14 17:50:15 -03:00
github-actions[bot]
0e95a74950
Apply Version Updates From Current Changes (#4235)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-14 00:03:11 -03:00
github-actions[bot]
2c040eaadd
Apply Version Updates From Current Changes (#4217)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-27 16:01:43 -03:00
Lucas Fernandes Nogueira
2badbd2d7e
refactor: force semver versions, change updater should_install sig (#4215) 2022-05-25 13:15:21 -03:00
renovate[bot]
cb807e1f5a
chore(deps) Update Rust crate regex to 1.5.6 (#4206)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 11:42:31 -03:00
github-actions[bot]
393c774dfd
Apply Version Updates From Current Changes (#4117)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-05-18 12:53:01 -03:00
github-actions[bot]
86d82af494
Apply Version Updates From Current Changes (#4005)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-07 20:01:58 -03:00
Lucas Fernandes Nogueira
164078c0b7
feat: allow limiting dangerousDisableAssetCspModification, closes #3831 (#4021) 2022-05-02 21:04:21 -03:00
github-actions[bot]
feac1d193c
Apply Version Updates From Current Changes (#3820)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-04-26 11:53:21 -03:00
Lucas Fernandes Nogueira
edf85bc1d1
fix(codegen): read platform-specific config file (#3966) 2022-04-25 19:47:10 -03:00
Lucas Fernandes Nogueira
e11878bcf7
refactor(core): add global-shortcut Cargo feature, enhancing binary size (#3956) 2022-04-24 15:11:14 -03:00
renovate[bot]
71c7807fd8
chore(deps) Update Rust crate uuid to v1 (#3926)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-04-20 14:38:40 -03:00
renovate[bot]
718a42656e
chore(deps) Update Rust crate uuid to v1 (#3925)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-20 13:26:57 -03:00
github-actions[bot]
7a814fcf3f
Apply Version Updates From Current Changes (#3634)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-03-28 17:43:04 -03:00
Lucas Fernandes Nogueira
f6e32ee188
feat(core): add dangerous option to disable compile time CSP injection (#3775) 2022-03-28 11:55:54 -03:00
chip
8661e3e24d
replace dependencies with long build times when used together (closes #3571) (#3773) 2022-03-27 20:52:43 -03:00
renovate[bot]
d112f2005a
chore(deps) Update Rust crate zstd to 0.11 (#3706)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-22 15:05:01 -03:00
Lucas Fernandes Nogueira
11cca918d9
chore(deps): update dependencies fixing security issues (#3744) 2022-03-21 22:34:07 -03:00
renovate[bot]
cf53761718
chore(deps) Update Rust crate png to 0.17 (#3652)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-09 23:28:39 -03:00
github-actions[bot]
fbb9017840
Apply Version Updates From Current Changes (#3512)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-03-07 18:20:13 -03:00
Lucas Fernandes Nogueira
96a2040076
fix(core): performance when generating code for default window icon (#3633) 2022-03-07 17:09:12 -03:00
Lucas Fernandes Nogueira
06ab85b469
chore(codegen): remove dead code on macOS (#3630) 2022-03-07 10:53:02 -03:00
Lucas Fernandes Nogueira
8c9358725a
refactor(core): move png and ico behind Cargo features (#3588) 2022-03-05 14:19:24 -03:00
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
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