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 Fernandes Nogueira
2901145c49
chore: update license headers ( #5067 )
2022-08-28 15:13:21 -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
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
Lucas Fernandes Nogueira
3b4ed970e6
feat(codegen): validate __TAURI_ISOLATION_HOOK__ is referenced ( #4631 )
2022-07-11 16:41:34 -07: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
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
Lucas Nogueira
562e8ca23f
fix(codegen): tray icon path is relative to the config directory
2022-06-15 09:03:53 -03:00
Lucas Fernandes Nogueira
4ce8e22813
refactor(core): use Icon for tray icons ( #4342 )
2022-06-14 17:50:15 -03:00
Lucas Fernandes Nogueira
2badbd2d7e
refactor: force semver versions, change updater should_install sig ( #4215 )
2022-05-25 13:15:21 -03:00
Lucas Fernandes Nogueira
164078c0b7
feat: allow limiting dangerousDisableAssetCspModification, closes #3831 ( #4021 )
2022-05-02 21:04: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
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]
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
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
Lucas Fernandes Nogueira
3a4c016061
fix(core): change default freezePrototype to false, closes #3416 #3406 ( #3423 )
2022-02-12 10:28:05 -03:00
Lucas Fernandes Nogueira
7aca0a6233
refactor(core): simplify shell scope, input only string arrays ( #3372 )
2022-02-09 13:44:52 -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
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
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
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
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
Lucas Fernandes Nogueira
7765c7fa28
fix(core): invoke key injection on ES module, improve performance ( #2094 )
2021-06-27 19:51:47 -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
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
5edda4ba08
fix(core): system tray icon path resolution (Linux) ( #1763 )
2021-05-10 00:27:43 -03:00