Commit Graph

412 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
3455244436
feat(cli): bundle appindicator library in the AppImage, closes #3859 (#4267) 2022-06-07 11:48:29 -03:00
Lucas Fernandes Nogueira
2322ac11cf
fix(bundler): bundle /usr/bin/xdg-open in appimage if open API enabled (#4265) 2022-06-04 11:45:24 -03:00
Lucas Fernandes Nogueira
6216eb49e7
refactor(core): drop ayatana-tray and gtk-tray Cargo features (#4247) 2022-06-02 14:42:15 -03:00
Lucas Fernandes Nogueira
3f998ca294
feat(api): add writeTextFile and (path, contents, options) overload (#4228) 2022-05-29 10:10:41 -03:00
Lucas Fernandes Nogueira
bb061509fb
refactor(core): statically link vcruntime, closes #4122 (#4227) 2022-05-27 14:33:04 -03:00
Ryan Russell
62ce02f6b5
docs(various): Improve Readability (#4225) 2022-05-27 10:06:11 +02: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
9cdcf9b3a8
feat(build): create dev alias (#4212) 2022-05-25 10:51:33 -03:00
Lucas Nogueira
c479922f9a
refactor: use strip_prefix to remove request uri domain, ref #4132 2022-05-24 16:57:02 -03:00
Lucas Fernandes Nogueira
2326be3982
feat(core): update windows-rs to 0.37.0 (#4199) 2022-05-24 11:44:07 -03:00
Lucas Fernandes Nogueira
43daeafd73
refactor: cleanup logic to get path from protocol req url, closes #4132 (#4192) 2022-05-23 09:37:50 -03:00
Lorenzo Lewis
72700eca59
Update macOS icon based on brand guidelines design (#4171) 2022-05-21 15:57:48 -03:00
Lucas Fernandes Nogueira
f46175d5d4
feat(core): expose option to set dialog type, closes #4183 (#4187) 2022-05-21 11:24:39 -03:00
Lucas Nogueira
356b3e1c46
chore(examples): use appWindow on multiwindow example 2022-05-19 16:12:37 -03:00
Lucas Fernandes Nogueira
e35aaebc30
feat(core): add PathResolver::resolve_resource API (#4116) 2022-05-13 11:00:34 -03:00
Lucas Fernandes Nogueira
bad85a1f11
feat(build): find .ico in config instead of default icons/icon.ico (#4115) 2022-05-13 10:39:04 -03:00
Lucas Nogueira
d4b49d75a6
fix(examples): parent window example freezing and crashing, closes #4064 2022-05-05 20:57:32 -03:00
Lucas Fernandes Nogueira
95726ebb61
feat(cli): prevent default bundle identifier from building, closes #4041 (#4042) 2022-05-04 10:48:38 -03:00
Lucas Fernandes Nogueira
a0ecd81a93
fix(core): percent decode file drop payloads, closes #4034 (#4035) 2022-05-03 13:05:18 -03:00
Lucas Fernandes Nogueira
715cbde384
feat(config): add $schema to tauri.conf.json, closes #3464 (#4031) 2022-05-03 12:26:16 -03:00
Lucas Fernandes Nogueira
164078c0b7
feat: allow limiting dangerousDisableAssetCspModification, closes #3831 (#4021) 2022-05-02 21:04:21 -03:00
Lucas Nogueira
5666c0bce8
fix(examples): properly load request path in streaming example 2022-05-01 20:46:37 -03:00
Lucas Fernandes Nogueira
094534d138
fix(cli): dev command stderr text overflow on Windows, closes #3995 (#4000) 2022-04-29 13:28:13 -03:00
Lucas Fernandes Nogueira
62cdb2b307
refactor(tauri): remove ayatana-tray from the default features (#3976) 2022-04-26 20:16:52 -03:00
Lucas Nogueira
4d31705162
chore(examples): enable process-command-api feature for the sidecar ex 2022-04-25 10:45:50 -03:00
Lucas Fernandes Nogueira
582bdfccbc
docs(tauri): document all feature flags, add test (#3947) 2022-04-22 21:51:39 -03:00
Lucas Fernandes Nogueira
1397d9121a
feat(core): add support to multipart/form-data requests, closes #2118 (#3929) 2022-04-22 20:04:58 -03:00
Lucas Fernandes Nogueira
b5622882cf
fix(cli): exit on non-compilation Cargo errors, closes #3930 (#3942) 2022-04-22 12:59:03 -03:00
Lucas Fernandes Nogueira
c54ddfe933
feat: expose window cursor APIs, closes #3888 #3890 (#3935) 2022-04-21 15:54:08 -03:00
Lucas Fernandes Nogueira
485c97438a
fix(cli): kill beforeDevCommand if dev code returns an error (#3907) 2022-04-19 19:04:42 -03:00
Lucas Fernandes Nogueira
f2a30d8bc5
refactor(core): use ayatana appindicator by default, keep option to use gtk (#3916) 2022-04-19 17:33:17 -03:00
Lucas Nogueira
30c38a50ee
fix(examples): streaming video download link 2022-04-03 10:20:45 -03:00
Lucas Fernandes Nogueira
f67ae6bd60
fix(core): set bundle id for notifications on macOS (#3839) 2022-04-01 23:35:29 -03:00
Lucas Fernandes Nogueira
6a5ff08ce9
refactor: remove bootstrapper, closes #3786 (#3832) 2022-03-31 14:51:17 -03:00
Lucas Fernandes Nogueira
985d250898
fix(tauri): export WindowBuilder struct instead of trait, closes #3827 (#3833) 2022-03-31 14:50:33 -03:00
Lucas Nogueira
ae94c6be95
chore(examples): update lockfile 2022-03-28 18:04:10 -03:00
Lucas Fernandes Nogueira
edad9f4f55
refactor(core): add RunEvent::WindowEvent (#3793) 2022-03-28 17:26:25 -03:00
Lucas Nogueira
d5c06f0240
chore: update lockfiles 2022-03-28 15:23:27 -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
dependabot[bot]
5000d4921f
chore(deps): bump minimist from 1.2.5 to 1.2.6 in /examples/sidecar (#3765)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-23 21:50:20 -03:00
Lucas Fernandes Nogueira
f1637d62df
refactor(examples): remove unused files (#3762) 2022-03-23 20:45:43 -03:00
Lucas Fernandes Nogueira
bf89a05fcf
fix(core): dialog parent window on macOS, closes #3312 (#3753) 2022-03-23 13:31:15 -03:00
Kasper
4e807a53e2
Support window parenting on macOS, closes #3751 (#3754)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-23 13:30:44 -03:00
Adrian Hupka
5ed46f010b
fix: added command line argument to successfully run multiwindow example (#3717)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-03-17 10:01:05 -03:00
Lucas Fernandes Nogueira
c81534ebd8
feat(cli): use default macOS minimum system version when it is empty (#3658) 2022-03-13 11:20:11 -03:00
Lucas Nogueira
ea94a28a34
fix(examples): fix streaming example on Windows, closes #3646 2022-03-12 08:43:17 -03:00
Lucas Nogueira
e974f8fbae
fix(examples): api build on macOS 2022-03-11 22:57:16 -03:00
Lucas Fernandes Nogueira
49546c5269
feat(build): print error context (#3644) 2022-03-09 21:01:26 -03:00
Lucas Fernandes Nogueira
834ccc5153
feat(core): reimplement readTextFile for performance (#3631) 2022-03-07 11:34:33 -03:00
Lucas Fernandes Nogueira
76c791bd2b
fix(core): regression on the unlisten function (#3623) 2022-03-06 20:45:38 -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
3fe0260f4c
feat(core): allow CSP configuration to be an object, ref #3533 (#3603) 2022-03-04 21:18:39 -03:00
Lucas Fernandes Nogueira
141133a414
feat(core): add WindowBuilder type (#3598) 2022-03-04 21:18:22 -03:00
Lucas Fernandes Nogueira
983ccb815b
feat(core): allow denying paths on the fs and asset scopes (#3607) 2022-03-03 17:32:12 -03:00
Lucas Fernandes Nogueira
64e0054299
refactor(core): do not panic on invalid window labels,#3544 (#3596) 2022-03-03 14:47:31 -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
9b3b163baa
feat(core): simplify scope definition for sidecars (#3574) 2022-03-02 10:21:36 -03:00
Lucas Fernandes Nogueira
b10a7cfa00
chore(cli): update clap to 3.1 (#3568) 2022-02-27 17:35:43 -03:00
Lucas Fernandes Nogueira
944b124ce0
feat(core): enhance HTTP scope glob validation, closes #3507 (#3515) 2022-02-24 10:06:19 -03:00
Qizheng Mo
d7924b0525
fix: typo in the hello world example README.md (#3531) 2022-02-24 09:39:23 -03:00
Lucas Fernandes Nogueira
b571c249dc
chore(deps): update to wry v0.13.2 (#3503) 2022-02-18 10:39:10 -03:00
Lucas Fernandes Nogueira
a975551461
fix(cli): duplicated short flag for signer sign, closes #3483 (#3492) 2022-02-17 17:57:29 -03:00
fncraft
163c4e87b0
docs(examples): fix typo in hello world example (#3494) 2022-02-17 20:26:46 +02:00
Lucas Fernandes Nogueira
2ecbed8d59
fix(bundler): sidecar on Windows, closes #3446 (#3482) 2022-02-16 21:44:40 -03:00
Lucas Fernandes Nogueira
afcc3ec501
fix(build): rerun if resource or sidecar change (#3460) 2022-02-14 18:33:40 -03:00
Lucas Fernandes Nogueira
cd9a20b9ab
refactor(cli.js): run on separate thread (#3436) 2022-02-13 13:50:51 -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 Nogueira
317d5dd17d
docs(api): document shell scope 2022-02-11 15:04:00 -03:00
Lucas Nogueira
f37a36f58b
fix: streaming example 2022-02-11 14:12:44 -03:00
Lucas Nogueira
1d92d6a55d
fix(examples): streaming example CSP 2022-02-11 14:04:24 -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
4334865266
refactor(cli): rename tooling/cli.rs folder to tooling/cli (#3388)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-10 17:23:10 -03:00
Lucas Fernandes Nogueira
2403e732df
feat(cli.rs): add tests to node binding, delete cli.js (#3381)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: LongYinan <lynweklm@gmail.com>
2022-02-10 16:45:41 -03:00
Lucas Nogueira
e61162aa9a
refactor(example): use path_resolver API on the resource example 2022-02-10 11:21:02 -03:00
Fabian-Lars
02ac3215ea
feat(cli.js): rewrite cli.js with napi-rs, closes #2651,#3287 (#3370)
Co-authored-by: Chip Reed <chip@chip.sh>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-09 22:11:00 -03:00
Lucas Fernandes Nogueira
85632759c3
fix(examples): remove inline style usage due to CSP (#3373) 2022-02-09 12:45:34 -03:00
Lucas Fernandes Nogueira
7b7a3a89d1
feat(core): update serialize-to-javascript dependency (#3363) 2022-02-09 01:24:35 -03:00
Lucas Fernandes Nogueira
5eb72c24de
refactor: copy resources and sidecars on the Cargo build script (#3357) 2022-02-08 13:13:21 -03:00
Lucas Fernandes Nogueira
55aa22de80
feat(core): add Window#open_devtools API, closes #1213 (#3350) 2022-02-07 10:04:33 -03:00
Lucas Fernandes Nogueira
03fc92c830
fix(core): resolve request instead of panicking on asset protocol (#3347) 2022-02-06 23:54:47 -03:00
Lucas Fernandes Nogueira
9b34055264
fix(core): window-specific event delivery, closes #3302 (#3344) 2022-02-06 17:50:02 -03:00
Lucas Fernandes Nogueira
6330b66be7
fix(core): sidecar usage on Windows, closes #3341 (#3345) 2022-02-06 16:59:20 -03:00
Lucas Fernandes Nogueira
a892728c08
fix(examples): allowlist configuration for core examples (#3340) 2022-02-06 10:50:45 -03:00
Lucas Fernandes Nogueira
af329f2722
feat(bundler): wix localization, closes #3174 (#3179) 2022-02-05 15:13:07 -03:00
Lucas Fernandes Nogueira
4818531aba
refactor(core): add blocking dialog APIs, improve docs, closes #3255 (#3270) 2022-02-05 00:43:19 -03:00
dependabot[bot]
784ecf7a64
chore(deps): bump nanoid from 3.1.30 to 3.2.0 in /examples/api (#3262)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[skip ci]
2022-02-04 23:51:14 -03:00
Lucas Fernandes Nogueira
f5109e0c96
fix(api): window label null instead of actual value, closes #3295 (#3332) 2022-02-04 21:57:41 -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
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
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 Nogueira
c6ba7f6524
fix(ci): update lockfiles 2022-02-04 14:48:45 -03:00
Lucas Nogueira
675d171eed
fix(core): tests, lint 2022-02-04 14:03:27 -03:00
Lucas Nogueira
320bb0b52a
fix(examples): API example shell scope configuration 2022-02-02 21:02:27 -03:00
Lucas Nogueira
0d1e3219b4
Merge branch 'next' into feat/audit-patches 2022-02-02 20:09:41 -03:00
Lucas Nogueira
b82e2b5cf7
feat(core): configure HTTP scope using glob patterns 2022-01-31 10:30:32 -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
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
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
ce03909fb6
[feat] add dialog title option. closes #3232 (#3233) 2022-01-16 19:41:11 +01:00