Commit Graph

820 Commits

Author SHA1 Message Date
Fabian-Lars
b0376e7749
fix doc generation when using updater-docs flag (#3711) 2022-03-16 14:24:06 -03:00
Lucas Nogueira
c29ed94d43
feat(core): add payload data to UpdaterEvent::UpdateAvailable 2022-03-15 16:56:38 -03:00
Lucas Fernandes Nogueira
7cd39c70c9
refactor(core): use random window id to simplify window creation, closes #3645 #3597 (#3684)
* refactor(core): window id

* fixes

* reintroduce send_tao_window_event

* cleanup code

* add change file

* fix: windows build

* add getter

* fix windows build
2022-03-15 12:59:37 -03:00
Lucas Fernandes Nogueira
c4ca80f919
feat(core): use AppHandle instead of Window on the updater logic (#3702) 2022-03-15 12:58:53 -03:00
Lucas Fernandes Nogueira
5d538ec27c
refactor(core): use the event loop proxy to send updater events (#3687)
* feat(core): add `WindowEvent::FileDrop`, closes #3664

* refactor(core): use the event loop proxy to send updater events

* simplify generics with user event trait

* fix tray impl
2022-03-15 11:20:23 -03:00
Lucas Fernandes Nogueira
07d1584cf0
feat(core): add WindowEvent::FileDrop, closes #3664 (#3686) 2022-03-13 11:28:16 -03:00
Lucas Fernandes Nogueira
263b45e1b4
refactor(core): return boolean on Manager::manage (#3682) 2022-03-13 11:20:35 -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
9258aed114
docs(config): list valid categories, closes #3690 ref #3150 2022-03-13 11:17:54 -03:00
Jonas Kruckenberg
0b49dd566d
impl Debug for State closes #3676 (#3677)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-11 22:28:47 -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
renovate[bot]
66c52f0ac8
chore(deps) Update Rust crate once_cell to 1.10 (#3651)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 21:03:39 -03:00
Lucas Fernandes Nogueira
49546c5269
feat(build): print error context (#3644) 2022-03-09 21:01:26 -03:00
Lucas Fernandes Nogueira
bcd43168a5
fix(core): properly add CSP header to fallback routes (#3641) 2022-03-08 12:44:51 -03:00
Lucas Nogueira
f5efc248da
fix(core): runtime CSP changes on Linux 2022-03-07 21:03:23 -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
834ccc5153
feat(core): reimplement readTextFile for performance (#3631) 2022-03-07 11:34:33 -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
9c65abce1b
feat(core): run cleanup code on the relaunch API (#3629) 2022-03-07 10:08:19 -03:00
Lucas Fernandes Nogueira
5293445f08
refactor(core): disable default features for the zip crate (#3624) 2022-03-06 21:30:15 -03:00
gardc
bdd5f7c2f0
fix: add support for Time-Stamping Protocol for Windows codesigning (fix #3563) (#3570)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-03-06 21:29:17 -03:00
Lucas Fernandes Nogueira
76c791bd2b
fix(core): regression on the unlisten function (#3623) 2022-03-06 20:45:38 -03:00
Lucas Nogueira
66fe5d81bc
chore: small tweak to the serde CommandArg impl for cargo 1.61.0-nightly
The nightly version 1.61.0 of Cargo is failing to generate JSON documentation for this implementation, so we're helping it a little bit by changing `Self` to `D` since that's where their assert is failing
2022-03-06 20:35:12 -03:00
Lucas Fernandes Nogueira
c08cc6d500
fix(core): deadlock on focus events with invisible window,#3534 (#3622)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-03-06 18:44:12 -03:00
Lucas Nogueira
3f45c23a75 fix(core): window > create endpoint 2022-03-06 14:54:11 -08:00
Lucas Nogueira
5b2700b964
fix(core): change Window::builder to be an associated function 2022-03-06 10:44:01 -03:00
Lucas Nogueira
aab8006b93
fix(core): Rust documentation generation 2022-03-06 10:42:24 -03:00
Lucas Fernandes Nogueira
3b13fda56f
feat(core): add WindowBuilder::on_request, closes #3533 (#3618)
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
2022-03-06 10:15:43 -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 Nogueira
a332b09f43
fix(core): rename ManageBase::app_handle to avoid naming conflict 2022-03-04 21:27:30 -03:00
Lucas Fernandes Nogueira
fce7d3bbae
feat(core): run app cleanup code before updater restart, closes #3605 (#3616) 2022-03-04 21:19:01 -03:00
Lucas Fernandes Nogueira
58070c1eb4
feat(core): filesystem and asset protocol scope events (#3609) 2022-03-04 21:18:50 -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
da8824318a
fix(core): update tray menu ids on set_menu, closes #3608 (#3611) 2022-03-04 16:00:03 -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
b744cd2758
feat: extend scopes with user selected paths, closes #3591 (#3595) 2022-03-03 15:41:58 -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
4d0e2eccd9
fix(core): scope should not strip the first path component, closes #3592 (#3602) 2022-03-03 13:09:46 -03:00
Lucas Fernandes Nogueira
929a83dd4d
fix(core): ignore trailing slashes on scope validation, closes #3580 (#3601) 2022-03-03 13:09:28 -03:00
Lucas Fernandes Nogueira
4e1af005a1
refactor(core): rename command feature to process-command-api (#3594) 2022-03-03 10:40:44 -03:00
Lucas Fernandes Nogueira
9cb1059aa3
fix(api): do not throw an exception if __TAURI_METADATA__ is not set, fixes #3554 (#3572) 2022-03-03 10:40: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
chip
73388119e6
use older symlink check function (#3579)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-01 20:22:27 -03:00
Lucas Nogueira
913fb001c6
doc(config): fix http scope example 2022-02-27 16:48:53 -03:00
Lucas Fernandes Nogueira
0a0de8ab6e
fix: read Command output ending with a carriage return, closes #3508 (#3523)
Co-authored-by: chip <chip@chip.sh>
2022-02-24 12:10:43 -03:00
Lucas Fernandes Nogueira
2b554c38a5
fix(core): revert to clap 3.0 API, allow deprecations, closes #3549 (#3552)
Co-authored-by: chip <chip@chip.sh>
2022-02-24 11:29:31 -03:00
Lucas Fernandes Nogueira
0163489ed6
fix(core): safe_block_on usage on async contexts, closes #3505 (#3513) 2022-02-24 10:06:50 -03:00
Lucas Fernandes Nogueira
944b124ce0
feat(core): enhance HTTP scope glob validation, closes #3507 (#3515) 2022-02-24 10:06:19 -03:00
Lucas Fernandes Nogueira
d06efc7704
fix(core): parse range bytes=0-*, closes #3143 (#3516) 2022-02-24 10:05:50 -03:00
Lucas Fernandes Nogueira
080755b537
feat(core): warn if private APIs are not enabled, closes #3481 (#3511) 2022-02-19 10:22:54 -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
Lucas Fernandes Nogueira
b571c249dc
chore(deps): update to wry v0.13.2 (#3503) 2022-02-18 10:39:10 -03:00
Fabian-Lars
a7fd9e3f03
fix(deps): update webview2-com to 0.13.0 to fix compilation on windows (#3502) 2022-02-18 09:57:55 -03:00
Lucas Fernandes Nogueira
fce344b90b
feat(core): set default value for minimum_system_version to 10.13 (#3497) 2022-02-17 22:19:16 -03:00
Lucas Fernandes Nogueira
4bacea5bf4
feat(core): set MACOSX_DEPLOYMENT_TARGET environment variable, closes #2732 (#3496) 2022-02-17 19:00:19 -03:00
Jacob Bolda
53e4dd8c2d
remove create-tauri-app (#3493)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-17 18:20:56 -03:00
Lucas Fernandes Nogueira
84895a9cd2
fix(runtime): trait requirements (#3489) 2022-02-17 17:44:46 -03:00
Lucas Fernandes Nogueira
b8e4d651f9
fix(core): drop all plugin builder Sync requirements (#3490) 2022-02-17 17:44:37 -03:00
Lucas Nogueira
b4212eb2ae
refactor(core): drop usage of deprecated clap APIs 2022-02-17 12:39:58 -03:00
Lucas Fernandes Nogueira
060538331c
feat(core): add context to the filesystem APIs errors, closes #3457 (#3480) 2022-02-16 21:45:40 -03:00
Lucas Fernandes Nogueira
d6918efdaf
refactor(core): use anyhow for endpoint errors, ref #3457 (#3467) 2022-02-16 10:12:10 -03:00
Jonas Kruckenberg
fb7ee2c987
drop Sync req from setup and setup_with_config (#3471) 2022-02-16 10:06:56 -03:00
github-actions[bot]
bf05c3aeb4
Apply Version Updates From Current Changes (#3461)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-14 18:47:19 -03:00
Lucas Fernandes Nogueira
afcc3ec501
fix(build): rerun if resource or sidecar change (#3460) 2022-02-14 18:33:40 -03:00
Lucas Nogueira
a1882b84b7
fix(ci): update bundle.js 2022-02-14 10:49:41 -03:00
github-actions[bot]
8d290cb2d7
Apply Version Updates From Current Changes (#3430)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-14 02:17:24 -03:00
Lucas Fernandes Nogueira
e1b8fc739a
docs(core): add examples to the API module (#3450) 2022-02-14 02:00:56 -03:00
Lucas Fernandes Nogueira
20f0477f95
fix(core): updater not replacing variables, closes #3428 (#3432) 2022-02-13 11:48:10 -03:00
Kan-Ru Chen
28e4845a89
fix: InvalidArgs error message should include the command name (#3433) 2022-02-13 11:25:50 -03:00
Lucas Nogueira
bdd41e2413
fix(changelog): mark macos-private-api feature as breaking change 2022-02-13 01:20:22 -03:00
Jonas Kruckenberg
fd557e984d
Ease plugin hook restrictions (#3404)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-13 00:55:57 -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
Jonas Kruckenberg
369d0c9d09
doc: Add plugin::Builder examples and expand doc comments (#3422)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-02-12 10:39:56 -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
chip
c046681b51
fix text file busy on linux CI (#3413) 2022-02-11 23:00:09 -03:00
chip
65287cd614
remove non-existent cargo rerun check (#3412) 2022-02-11 22:19:55 -03:00
Lucas Nogueira
cb5c722c3f
docs(api): document FS scope 2022-02-11 15:40:13 -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
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
45d427e44c
Merge pull request #3389 from tauri-apps/next 2022-02-10 17:30:34 -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
8562706428
fix(core): documentation links 2022-02-10 16:03:24 -03:00
Jonas Kruckenberg
d5400a3d62
once_global and once accept FnOnce callbacks (#3383) 2022-02-10 11:29:47 -03:00
Lucas Fernandes Nogueira
7918584b5c
feat(core): expose setup_with_config on the plugin builder (#3379) 2022-02-10 11:24:25 -03:00
Lucas Fernandes Nogueira
c119060e3d
refactor(core): empty default value for config > tauri > windows (#3380) 2022-02-10 11:23:08 -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
renovate[bot]
d218499574
chore(deps) Update Tauri Utils (#3375)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-09 14:18:46 -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]
55726f236c
chore(deps) Update Tauri Core (#3374)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-09 13:44:40 -03:00
renovate[bot]
d694027447
chore(deps) Update Rust crate heck to 0.4 (#3366)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-09 13:44:28 -03:00
Lucas Nogueira
ef9ecd511f
fix(ci): windows tests 2022-02-09 12:44:08 -03:00
renovate[bot]
27b1a0719a
chore(deps) Update Rust crate cargo_toml to 0.11 (#3365)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 11:49:14 -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
Lucas Nogueira
e0588c45b8
fix(tests): remove windows assertion on check_read_string_fail 2022-02-09 01:26:50 -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
4a10e88c4b
feat(docs): document data URLs usage (#3360) 2022-02-08 11:11:32 -03:00
Didrik Nordström
3035e4581c
Remove target triple from sidecar bin paths, closes #3355 (#3356)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-07 22:16:09 -03:00
Lucas Fernandes Nogueira
5a94200f65
feat(core): expose functions to serialize serde::Serialize values to JS (#3354) 2022-02-07 20:17:58 -03:00
Jonas Kruckenberg
9aed299621
feat: plugin::Builder closes #2959 (#3005)
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-07 14:06:35 -03:00
Lucas Fernandes Nogueira
10e3190fdd
fix(core): do not use capture on _blank link event handler, closes #2791 (#3349) 2022-02-07 13:06:35 -03:00
Lucas Fernandes Nogueira
a03b85545a
fix(core): tray not closing on Windows (#3351) 2022-02-07 13:04:38 -03:00
Lucas Fernandes Nogueira
af44bf8168
feat(core): allow app run on any thread on Linux & Windows, closes #3172 (#3353) 2022-02-07 11:31:07 -03:00
Lucas Fernandes Nogueira
8483fde975
feat(core): expose run_return on Linux (#3352) 2022-02-07 11:30:45 -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
f739e446f5
fix(core): set window URL before preparing asset protocol CORS header (#3346) 2022-02-06 18:50:59 -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
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
Ngo Iok Ui (Wu Yu Wei)
343ea3e2e8
Update wry to 0.13 (#3336)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-06 10:08:12 -03:00
Kasper
d0f9a03d20
Add tauri::Builder doc comment examples (#3151)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-02-05 20:36:36 -03:00
renovate[bot]
78bf08e9ad
chore(deps) Update Rust crate clap to v3.0.6 (#3194)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-05 15:17:55 -03:00
Lucas Fernandes Nogueira
af329f2722
feat(bundler): wix localization, closes #3174 (#3179) 2022-02-05 15:13:07 -03:00
Lucas Nogueira
a017fbc71d
fix(core): regression on dialog and updater feature flag usage 2022-02-05 14:55:28 -03:00
Ngo Iok Ui (Wu Yu Wei)
2815bf6511
Update gtk to 0.15 (#3247) 2022-02-05 13:29:03 +08:00
Lucas Fernandes Nogueira
4818531aba
refactor(core): add blocking dialog APIs, improve docs, closes #3255 (#3270) 2022-02-05 00:43:19 -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 Fernandes Nogueira
1dbd887a6e
fix(core): emit tauri://window-created event for windows created on Rust (#3299) 2022-02-04 23:47:44 -03:00
Lucas Fernandes Nogueira
878b8b9a1f
fix(core): immediately listen to window-created, closes #3297 (#3298) 2022-02-04 23:39:23 -03:00
Jonas Kruckenberg
9b19a805aa
fix(api.js) Replace number[]with Uint8Array. fixes #3306 (#3305)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 22:18:23 -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
a76abc48f2
fix(config): doc for beforeDevCommand and beforeBuildCommand 2022-02-04 18:13:46 -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
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
a08509c641
fix(api): remove currentDir API from the path module 2022-02-04 11:49:23 -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
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
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
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
Lucas Nogueira
28a67fdb60
chore(docs): update platform-specific documentation notes 2022-01-22 14:35:36 -03:00
Lucas Nogueira
ec8661f18e
fix: do not enforce updater's pubkey field when active is false 2022-01-17 10:48:03 -03:00
Lucas Nogueira
487441c991
fix: update dev dependencies 2022-01-17 10:47:54 -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
8376e3c035
chore(deps): update webview2-com to 0.30 on tauri-runtime 2022-01-16 15:58:17 -03:00
Jonas Kruckenberg
ce03909fb6
[feat] add dialog title option. closes #3232 (#3233) 2022-01-16 19:41:11 +01:00
Lucas Fernandes Nogueira
9014fe88b6
refactor(core): cleanup egui implementation (#3227) 2022-01-16 01:14:18 -03:00
Lucas Nogueira
b9c00d2db5
chore(deps): update windows to 0.30 2022-01-15 13:20:30 -03:00
Lucas Fernandes Nogueira
ab7d3b51eb
feat: emit CloseRequested event for egui windows (#3222) 2022-01-15 12:23:26 -03:00
Lucas Fernandes Nogueira
e15a8af843
refactor(core): return Window on create_window API (#3211) 2022-01-13 13:51:45 -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
Ahmad AlHallak
c6e05380f7
fix: getter macro panicking on RecvError, closes #3188 (#3192)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-01-10 15:33:35 -03:00
Lucas Nogueira
c077f44927
feat: force endpoint URL to use https on release [TRI-015] (#41) 2022-01-09 16:40:22 -03:00
Lucas Nogueira
d95cc83105
feat: enforce updater public key [TRI-015] (#42) 2022-01-09 16:37:03 -03:00
Lucas Nogueira
b43019a2b0
fix: shell allowlist scope 2022-01-09 16:31:40 -03:00
chip
2e212e1eac
use our current_exe implementation in more places (#39) 2022-01-09 16:30:25 -03:00
david
be096623bf
feat(updater): refactor in-memory (#37)
* refactor: updater archive is now fully validated from memory

Signed-off-by: David Lemarier <david@lemarier.ca>

* fix CI

Signed-off-by: David Lemarier <david@lemarier.ca>

* make clippy happy

Signed-off-by: David Lemarier <david@lemarier.ca>

* update documentation and fmt

Signed-off-by: David Lemarier <david@lemarier.ca>

* cleanup and add final doc

Signed-off-by: David Lemarier <david@lemarier.ca>

* fmt

Signed-off-by: David Lemarier <david@lemarier.ca>

* make clippy happy

Signed-off-by: David Lemarier <david@lemarier.ca>

* remove unwanted clone

Signed-off-by: David Lemarier <david@lemarier.ca>

* [ci skip] cleanup

Signed-off-by: David Lemarier <david@lemarier.ca>

* run `http_updater_complete_process` on all platforms

Signed-off-by: David Lemarier <david@lemarier.ca>

* fix CI: `cargo test --all-features` on core tests

Signed-off-by: David Lemarier <david@lemarier.ca>

* fix appimage build

Signed-off-by: David Lemarier <david@lemarier.ca>

* update

Signed-off-by: David Lemarier <david@lemarier.ca>

* chore(deps) Update dependency @types/imagemin to v8 (#2635)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: David Von Edge <david.vonedge@smiths.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Elvinas Predkelis <elvinas.predkelis@gmail.com>
Co-authored-by: edgex004 <edgex004@gmail.com>
Co-authored-by: Barry Simons <linuxuser586@gmail.com>
Co-authored-by: Kris Scott <kscott91@gmail.com>
Co-authored-by: grey4owl <66082492+grey4owl@users.noreply.github.com>
Co-authored-by: cybai <cyb.ai.815@gmail.com>
Co-authored-by: Lucas Nogueira <lucasfernandesnog@gmail.com>
Co-authored-by: Robert Buchanan <robbie.buchanan@ioneyed.com>
Co-authored-by: Kasper <kasperkh.kh@gmail.com>
Co-authored-by: Manuel Quarneti <manuelquarneti@gmail.com>
Co-authored-by: Stef Kors <stef.kors@gmail.com>
Co-authored-by: David D <1168397+davedbase@users.noreply.github.com>
Co-authored-by: Adilson Schmitt Junior <adilsonschj@gmail.com>
Co-authored-by: Bill Avery <wravery@users.noreply.github.com>
Co-authored-by: Julien Kauffmann <90217528+jkauffmann-legion@users.noreply.github.com>
Co-authored-by: Andrea Giammarchi <andrea.giammarchi@gmail.com>
Co-authored-by: ThisSeanZhang <46880100+ThisSeanZhang@users.noreply.github.com>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>

* Revert "chore(deps) Update dependency @types/imagemin to v8 (#2635)"

This reverts commit c0285e873d.

* [ci skip] fix errors

Signed-off-by: David Lemarier <david@lemarier.ca>

* [ci skip] fix build errors

Signed-off-by: David Lemarier <david@lemarier.ca>

* [ci skip] path `SafePathBuf` tests

Signed-off-by: David Lemarier <david@lemarier.ca>

* allow minisign legacy

Signed-off-by: David Lemarier <david@lemarier.ca>

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: David Von Edge <david.vonedge@smiths.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
Co-authored-by: Elvinas Predkelis <elvinas.predkelis@gmail.com>
Co-authored-by: edgex004 <edgex004@gmail.com>
Co-authored-by: Barry Simons <linuxuser586@gmail.com>
Co-authored-by: Kris Scott <kscott91@gmail.com>
Co-authored-by: grey4owl <66082492+grey4owl@users.noreply.github.com>
Co-authored-by: cybai <cyb.ai.815@gmail.com>
Co-authored-by: Lucas Nogueira <lucasfernandesnog@gmail.com>
Co-authored-by: Robert Buchanan <robbie.buchanan@ioneyed.com>
Co-authored-by: Kasper <kasperkh.kh@gmail.com>
Co-authored-by: Manuel Quarneti <manuelquarneti@gmail.com>
Co-authored-by: Stef Kors <stef.kors@gmail.com>
Co-authored-by: David D <1168397+davedbase@users.noreply.github.com>
Co-authored-by: Adilson Schmitt Junior <adilsonschj@gmail.com>
Co-authored-by: Bill Avery <wravery@users.noreply.github.com>
Co-authored-by: Julien Kauffmann <90217528+jkauffmann-legion@users.noreply.github.com>
Co-authored-by: Andrea Giammarchi <andrea.giammarchi@gmail.com>
Co-authored-by: ThisSeanZhang <46880100+ThisSeanZhang@users.noreply.github.com>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
2022-01-09 16:30:14 -03:00
Lucas Nogueira
24fa21c9b7
fix: build with all features 2022-01-09 16:29:56 -03:00
Lucas Fernandes Nogueira
4d89f60d77
refactor(core): prevent path traversal [TRI-012] (#35) 2022-01-09 16:28:56 -03:00
Lucas Fernandes Nogueira
d4db95e716
feat(core): shell execute API scope [TRI-002] (#36)
* feat(core): shell execute API scope [TRI-002]

* fix tests

* also check with empty extension

* lockfile
2022-01-09 16:28:22 -03:00
Lucas Nogueira
eae311e6e2
fix(core): ipc and tests 2022-01-09 16:27:57 -03:00
Lucas Nogueira
766c4f2c57
refactor: unify fs read and write cmds for binary/text data [TRI-009] (#34) 2022-01-09 16:24:44 -03:00
Lucas Fernandes Nogueira
bf5667f21c
fix(core): resolve symbolic links on current_exe calls [TRI-048] (#33) 2022-01-09 16:21:21 -03:00
Lucas Fernandes Nogueira
6ad702920f
feat(core): allowlist tests [TRI-028] (#28) 2022-01-09 16:20:55 -03:00
chip
fa21fe9ca6
fix typo in current_binary docs (#31) 2022-01-09 16:20:48 -03:00
chip
5f3487d0c4
Resolve symlinks during tauri::api::process::current_binary [TRI-047] (#29)
* create integration test for tauri process restart

most notably, this integration test is entirely self-contained and
should successfully run with a regular `cargo test`.

* cargo fmt

* canonicalize the current_binary path to resolve links

* add licensing metadata to restart test cargo project

* remove use statements for simpler restart test binary code

* allow windows to fail creating the symlink due to permissions

* provide an overload of information on current_binary

* add nested symlinking to the restart test

* user -> attacker

* grammar (i think)
2022-01-09 16:20:32 -03:00
Lucas Nogueira
6feb5a0c50
refactor(core): api feature flags, documentation (#26) 2022-01-09 16:20:13 -03:00
Lucas Fernandes Nogueira
85df94f2b0
feat(core): config for fixed webview2 runtime version path (#27) 2022-01-09 16:16:45 -03:00
Lucas Fernandes Nogueira
0ad1c6515f
feat(core): add http allowlist scope [TRI-008] (#24) 2022-01-09 16:16:12 -03:00
Lucas Nogueira
239bba5666
refactor(core): check notification permission on the Rust endpoint [TRI-017] (#23) 2022-01-09 16:15:47 -03:00
Lucas Nogueira
a48b8b18d4
feat(core): validate callbacks and event names [TRI-038] [TRI-020] (#21) 2022-01-09 16:12:29 -03:00
Lucas Nogueira
5687b7fdcd
refactor: use macros to match core commands with allowlist conditionals [TRI-028] (#20) 2022-01-09 15:41:28 -03:00
Lucas Nogueira
828b9ee54c
fix: build failing on env validation on windows/macos 2022-01-09 15:20:14 -03:00
Lucas Nogueira
ae60a6e892
fix: use default values for scopes on serde 2022-01-09 15:19:08 -03:00
Lucas Nogueira
9b4c47c4f8
refactor(build): use cargo_toml instead of toml_edit for perf [TRI-023] 2022-01-09 14:59:06 -03:00
Lucas Nogueira
63921fada4
refactor: change tauri::api::open with argument to an enum [TRI-022] (#19) 2022-01-09 14:58:38 -03:00
Lucas Fernandes Nogueira
eed017287f
feat(core): add shell > sidecar allowlist and process feature flag [TRI-037] (#18) 2022-01-09 14:57:43 -03:00
Lucas Fernandes Nogueira
6fbd6dba52
feat(core): validate AppImage execution when env vars are set [TRI-041] (#17) 2022-01-09 14:57:29 -03:00
Lucas Nogueira
8259cd64c2
feat(core): inject CSP on data URLs [TRI-049] (#16) 2022-01-09 14:57:12 -03:00
Lucas Fernandes Nogueira
d4017d505c
chore: remove eprintln! usage on release [TRI-051] (#15) 2022-01-09 14:49:17 -03:00
Lucas Nogueira
d660cab38d
feat: enhance allowlist configuration [TRI-027] (#11) 2022-01-09 14:48:55 -03:00
Lucas Fernandes Nogueira
680554de3e
feat: validate window label [TRI-021] (#13) 2022-01-09 14:30:43 -03:00
Lucas Fernandes Nogueira
d42ccfb34f
feat: add clipboard flag to WebviewAttributes [TRI-032] (#12) 2022-01-09 14:30:31 -03:00
Lucas Nogueira
7920ff14e6
feat: scope the fs API and the asset protocol [TRI-026] [TRI-010] [TRI-011] (#10) 2022-01-09 14:30:04 -03:00
Lucas Nogueira
3420aa5031
refactor: IPC handler [TRI-019] (#9)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-01-09 14:17:29 -03:00
Lucas Nogueira
6ac21b3cef
feat: add private api feature flag (#7) 2022-01-09 11:29:29 -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 Nogueira
dd83217301
fix: build on windows 2022-01-09 10:58:06 -03:00
Lucas Nogueira
7209fdf732
refactor(core): load APPIMAGE and APPDIR env vars on startup [TRI-007] [TRI-041] 2022-01-09 10:57:29 -03:00
Lucas Nogueira
4de285c396
feat(core): validate Cargo features matching allowlist [TRI-023] 2022-01-09 10:55:09 -03:00
Lucas Fernandes Nogueira
46f2eae8aa
feat: allow config's version to be a path to package.json, closes #2967 (#2971) 2022-01-07 16:55:30 -03:00
Lucas Fernandes Nogueira
0600099696
feat(api): support unknown types for event emit payload, closes #2929 (#2964) 2022-01-07 16:50:07 -03:00
Lucas Fernandes Nogueira
b7a2345b06
feat(core): add raw headers to HTTP API, closes #2695 (#3053) 2022-01-07 13:53:04 -03:00
renovate[bot]
e637361e4c
chore(deps) Update Rust crate clap to v3.0.4 (#3159)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-07 13:52:11 -03:00
Lucas Nogueira
c7621aa019
chore: fix some clippy warnings 2022-01-06 10:39:21 -03:00
Ngo Iok Ui (Wu Yu Wei)
3dddce5436
fix(tauri-runtime-wry): egui deps should be added behind the flag (#3170)
* Add egui deps behind feature flag

* Fix errors on Linux
2022-01-05 22:39:43 +08:00
Ngo Iok Ui (Wu Yu Wei)
5e0d59ec7d
Initial support of egui native window (#3165)
* Initial support of egui

Expose method

Handle egui window lifetime properly

Add focus event logic

Check window_id on window event

Add Linux support

Fix window closing on Linux

Update flag to configure on different platforms

Fix control flow when egui window close

Add label param to egui window

* Innitial egui window support

* Add feature flag and change file

* Fix errors on Linux
2022-01-05 17:56:55 +08:00
Amr Bashir
4143ffd427
fix(cli.js): detect CARGO_TARGET_DIR for local run (#3147)
* fix(cli.js): detect `CARGO_TARGET_DIR` for local run

* [skip ci] revert schema changes
2022-01-04 13:57:50 +02:00
Christian Schulze
2d39f12060
fix: #3137 - remove querystring when using asset protocol (#3141)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-31 15:36:50 -03:00
Lucas Fernandes Nogueira
e784ebca9f
fix(core): Send+Sync for Window, closes #3135 (#3140) 2021-12-30 13:46:05 -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]
543e6bdb91
chore(deps) Update Rust crate clap to v3.0.0-rc.9 (#3127)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-29 07:16:02 -03:00
Ngo Iok Ui (Wu Yu Wei)
0deaed8c57
Update windows dependency to 0.29 (#3132) 2021-12-29 07:07:08 -03:00
Lucas Fernandes Nogueira
9c82006b2f
fix(core): deadlock when creating window from menu handler, closes #3110 (#3126) 2021-12-28 22:51:33 -03:00
Lucas Fernandes Nogueira
2212bd5d75
fix: dialog default path on Linux, closes #3091 (#3123) 2021-12-27 13:03:51 -03:00
Lucas Fernandes Nogueira
3f3599b9cc
refactor(core): change setup closure type to FnOnce, closes #3061 (#3065) 2021-12-27 10:50:38 -03:00
Lucas Fernandes Nogueira
7cc95e10ec
feat(core): add Menu::with_items, closes #2807 (#2966) 2021-12-27 10:48:13 -03:00
FabianLars
3a04c036ff
update wry rev. fixes crash on webkit2gtk-sys compilation (#3112) 2021-12-25 15:50:13 +01:00
renovate[bot]
0fdf0aa4e9
chore(deps) Update Tauri Core (#3098)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 10:06:56 -03:00
renovate[bot]
a377e18df6
chore(deps) Update Rust crate tokio to 1.15 (#3079)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 19:04:05 -03:00
renovate[bot]
142eb3643e
chore(deps) Update Rust crate clap to v3.0.0-rc.5 (#3077)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-15 17:18:40 -03:00
renovate[bot]
66ca8af977
chore(deps) Update Rust crate heck to 0.4 (#3072)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-15 16:02:48 -03:00
renovate[bot]
e345e677ef
chore(deps) Update Tauri Core (#3070)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-15 14:57:16 -03:00
Lucas Nogueira
d56a7fc7f7
fix: asset protocol CORS on Windows 2021-12-13 14:37:37 -03:00
Lucas Fernandes Nogueira
d7c02a30a5
feat(core): persist non-session cookies on Linux (#3052) 2021-12-09 18:11:00 -03:00
Chaoqian Xu
156cdbc9f8
fix: extract an entire source archive into a specified path is not working if the archive includes dirs. (#2997)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-09 12:22:32 -03:00
Lucas Fernandes Nogueira
74dff536d4
fix(core): emit tauri://close-requested to JS, closes #2996 (#3041) 2021-12-09 12:22:12 -03:00
Jonas Kruckenberg
1458ab3c53
refactor(cli.rs): signer and plugin subcommands, use new clap derive syntax (#2928)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-09 12:21:33 -03:00
Lucas Fernandes Nogueira
151e629ebf
fix(core): streaming of small files using asset://, closes #2854 (#3039) 2021-12-09 01:24:11 -03:00
Lucas Fernandes Nogueira
d28ac8aac0
fix(core): enable CORS on the asset protocol, closes #2965 (#2974) 2021-12-09 00:56:58 -03:00
Amr Bashir
76ce9f61dd
fix(core): fix window.center panic when window size > screen, closes #2978 (#3002) 2021-12-09 00:21:29 -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
Lucas Fernandes Nogueira
a3537078dd
feat(core): allow running along another tokio runtime, closes #2838 (#2973) 2021-12-08 23:41:34 -03:00
Amr Bashir
50c63900c7
fix(api.js): fix http.fetch throwing error if response body is empty, closes #2831 (#3008)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-08 23:39:42 -03:00
Lucas Nogueira
be5cb571c3
feat: temporarily enable wry's private APIs feature flags 2021-12-05 09:50:26 -03:00
Amr Bashir
b4fcb364d3
chore: improve comments in path endpoint (#2999) 2021-12-01 09:41:37 +02:00
Lucas Fernandes Nogueira
411618f0de
fix(core): menu ids map not updated after set_menu call (#2963) 2021-11-25 13:27:12 -03:00
renovate[bot]
9e53e54b9b
chore(deps) Update Rust crate raw-window-handle to 0.4.2 (#2955)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 13:22:37 -03:00
renovate[bot]
ec8540d65b
chore(deps) Update Tauri Core (#2946)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-24 11:12:26 -03:00
Chaoqian Xu
8b651b9e31
feat: pub use tauri_runtime as runtime (#2926)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-22 12:07:00 -03:00
renovate[bot]
3efaa86df5
chore(deps) Update Tauri Core to v1 (major) (#2912)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 10:30:37 -03:00
renovate[bot]
6cd214ccb5
chore(deps) Update Rust crate tokio to 1.14 (#2906)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 09:48:36 -03:00
Lucas Fernandes Nogueira
4c4ab1eb8b
fix(core): trigger tauri://* events to Rust listeners, closes #2901 (#2902) 2021-11-16 16:41:45 -03:00
Lucas Fernandes Nogueira
000d126e0e
fix(core): properly check if document is loaded, closes #2716 (#2900) 2021-11-16 14:18:42 -03:00
Lucas Fernandes Nogueira
15164d930a
feat(core): allow defining a custom invoke system (#2899) 2021-11-16 12:58:18 -03:00
Devyn S
59b6ee8793
fix(tauri-build): allow user to specify win sdk path (fix: #2871) (#2893)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-16 11:18:13 -03:00
Kasper
dfe508d492
Add doc comment example for App::run (#2824) 2021-11-13 11:12:58 -03:00
Lucas Fernandes Nogueira
7c6c7adcc4
feat(core): add asset_resolver API (#2879) 2021-11-12 22:23:54 -03:00