Commit Graph

639 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
266156a0b0 feat(core): add BaseDirectory::Temp and $TEMP variable (#3763) 2022-03-24 14:12:17 -03:00
Amr Bashir
6054e981c4 Revert "Fix importing @tauri-apps/api in Node.js" (#3767) 2022-03-24 13:07:22 -03:00
Lucas Fernandes Nogueira
f1637d62df refactor(examples): remove unused files (#3762) 2022-03-23 20:45:43 -03:00
chip
55c8680590 add restart integration test to cargo workspace (#3675)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-23 17:14:52 -03:00
Lucas Fernandes Nogueira
579312f834 feat(updater): separate intel and apple silicon targets, closes #3359 (#3739) 2022-03-23 13:31:27 -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
Kasper
d36c8e0322 Fix importing @tauri-apps/api in Node.js (#3752)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-22 18:19:46 -03:00
Lucas Fernandes Nogueira
1730b1a51d feat(core): enable CORS on the tauri protocol (#3750) 2022-03-22 15:17:05 -03:00
Lucas Nogueira
3d11ac656c chore(deps): update Rust crate png to 0.17 2022-03-22 15:07:41 -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
da1e879358 feat(core): improve and cleanup the Error enum (#3748) 2022-03-22 15:04:47 -03:00
Lucas Fernandes Nogueira
1099a9696e refactor(core): do not export tauri_runtime on tauri (#3749) 2022-03-22 15:04:16 -03:00
Lucas Fernandes Nogueira
7b24448137 fix(updater): request stream usage (#3746) 2022-03-22 12:31:41 -03:00
Lucas Nogueira
b8ea013fd8 fix(updater): fix typo, keep client instance 2022-03-22 11:27:20 -03:00
Lucas Fernandes Nogueira
11cca918d9 chore(deps): update dependencies fixing security issues (#3744) 2022-03-21 22:34:07 -03:00
Lucas Fernandes Nogueira
f0db3f9b83 feat(updater): add download progress events (#3734) 2022-03-18 22:58:44 -03:00
Lucas Nogueira
aba3238146 feat(core): add cfg alias for the updater feature 2022-03-17 10:41:25 -03:00
Lucas Fernandes Nogueira
4094494a1b feat(core): add API to manually trigger updater check (#3712) 2022-03-17 10:04:13 -03:00
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