Commit Graph

2677 Commits

Author SHA1 Message Date
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
4c84559e1f
fix(cli): root resource bundling on Windows, closes #3539 (#3685) 2022-03-13 11:28:36 -03:00
Lucas Fernandes Nogueira
07d1584cf0
feat(core): add WindowEvent::FileDrop, closes #3664 (#3686) 2022-03-13 11:28:16 -03:00
renovate[bot]
c40f640ddc
chore(deps) Update Tauri API Definitions (#3656)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-13 11:21:25 -03:00
Lucas Fernandes Nogueira
cc7c2d77da
feat(cli): allow conf path to be gitignored, closes #3636 (#3683) 2022-03-13 11:20:51 -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
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
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
renovate[bot]
b3515014ef
chore(deps) Update Tauri CLI (#3648)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 21:01:08 -03:00
renovate[bot]
7a27713067
chore(deps) Update Tauri JS CLI (#3649)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 21:00:24 -03:00
Amr Bashir
49d2f13fc0
feat(cli): colorful cli (#3635)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-08 16:35:19 -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
Lucas Nogueira
36ca392f38
chore(cli.js): bump to rc.7 2022-03-07 20:49:00 -03:00
Lucas Nogueira
a30712fde2
fix(cli.js): change access for '@tauri-apps/cli-win32-ia32-msvc' 2022-03-07 19:37:01 -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 Nogueira
34090bab8f
chore(cli): update schema.json 2022-03-06 19:48:40 -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 Nogueira
9e31dd5ccb
Merge remote-tracking branch 'origin/dev' into dev 2022-03-06 10:16:28 -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 Nogueira
0f46e5664a
fix(cli.rs): add publish scripts to the default covector template 2022-03-06 10:15:35 -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
f7acb061e4
feat(cli): use plugin::Builder syntax on the plugin template (#3606) 2022-03-03 17:40:25 -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