Commit Graph

2624 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
5fb74332ab
chore(deps): update wry to 0.14, tao to 0.7 (#3790) 2022-03-28 10:20:38 -03:00
Lucas Fernandes Nogueira
8b807e09d6
refactor(bundler): allow downgrades, add option to disallow on Windows (#3777) 2022-03-27 21:34:19 -03:00
Lucas Fernandes Nogueira
94d78efbe5
fix(cli.rs): terminate the beforeDevCommand, closes #2794 (#2883) 2022-03-27 21:26:04 -03:00
Lucas Fernandes Nogueira
34a402f9b5
fix(core): do not allow path traversal on the asset protocol (#3774) 2022-03-27 21:25:26 -03:00
chip
8661e3e24d
replace dependencies with long build times when used together (closes #3571) (#3773) 2022-03-27 20:52:43 -03:00
Lucas Fernandes Nogueira
dbc2873e82
feat(updater): improve validation and error messages, closes #3761 (#3780) 2022-03-27 20:48:57 -03:00
Lucas Fernandes Nogueira
3c4ee7c997
refactor(wry): emit RunEvent::Exit on Event::LoopDestroyed (#3785) 2022-03-27 20:22:34 -03:00
Lucas Fernandes Nogueira
9489963e00
fix(core): deadlock when closing the app on a tray event handler (#3771) 2022-03-25 13:17:32 -03:00
Lucas Nogueira
def8a62bd3
fix(core): docs.rs warning on doc attribute 2022-03-24 20:10:08 -03:00
Fabian-Lars
1deeb03ef6
fix(api.js): appWindow shown as type any, fixes #3747 (#3772)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-24 19:43:18 -03:00
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
dependabot[bot]
56ed486295
chore(deps): bump minimist from 1.2.5 to 1.2.6 in /tooling/cli/node (#3764)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-23 21:50:28 -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
dependabot[bot]
7d41d800be
chore(deps): bump minimist from 1.2.5 to 1.2.6 in /tooling/api (#3766)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-23 21:50:10 -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
renovate[bot]
4d6a78bf82
chore(deps) Update dependency @napi-rs/cli to v2.5.0 (#3757)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 15:04:20 -03:00
renovate[bot]
5b6ba9db02
chore(deps) Update Rust crate tar to 0.4.38 (#3755)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 14:00:12 -03:00
renovate[bot]
da3164133a
chore(deps) Update Tauri API Definitions (#3756)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 14:00:01 -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
203c6a8b13
feat: remove chrono and time audit ignore rules (#3741) 2022-03-20 09:57:52 -03:00
Jonas Kruckenberg
393f4b3d79
docs: update WebviewWindow doc comment (#3730) 2022-03-19 23:05:44 -03:00
Lucas Fernandes Nogueira
f0db3f9b83
feat(updater): add download progress events (#3734) 2022-03-18 22:58:44 -03:00
Lucas Fernandes Nogueira
348a1ab59d
fix(bundler): DMG bundling on macOS 12.3 cannot use bless, closes #3719 (#3721) 2022-03-18 13:57:54 -03:00
mic69ziz
72f19f8d5e
Update README.md (#3707) 2022-03-18 10:26:48 +01: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
renovate[bot]
137c9c7d4c
chore(deps) Update dependency prettier to v2.6.0 (#3713)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-17 10:03:04 -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
renovate[bot]
1967ac8a07
chore(deps) Update Tauri API Definitions (#3703)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 14:25:02 -03:00
renovate[bot]
57d6db6fe4
chore(deps) Update Tauri CLI (#3704)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 14:24:46 -03:00
renovate[bot]
99e324cdd5
chore(deps) Update dependency prettier to v2.6.0 (#3710)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 14:24:38 -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
4c84559e1f
fix(cli): root resource bundling on Windows, closes #3539 (#3685) 2022-03-13 11:28:36 -03:00