Commit Graph

1074 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
61e37652b9
fix(core): deadlock when creating window from IPC handler, closes #4121 (#4123) 2022-05-13 19:04:28 -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
Autumn Meadow
45c4525386
fix: add mjs mime type (fix: #4098) (#4108)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-13 10:05:42 -03:00
Aitor Miguel Blanco
787ea09adc
fix: generate windows resource directories using resource_relpath, closes #4087. (#4111)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-13 09:56:04 -03:00
github-actions[bot]
c8667f9ff7
Apply Version Updates From Current Changes (#4095)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-05-10 20:31:34 -03:00
Lucas Fernandes Nogueira
71a553b715
chore(deps): update wry to 0.16.2, webkit2gtk to 0.18.0 (#4099) 2022-05-10 20:04:24 -03:00
Lucas Fernandes Nogueira
c8e0e5b97d
feat(tauri-runtime-wry): add plugin API (#4094) 2022-05-10 11:23:16 -03:00
github-actions[bot]
86d82af494
Apply Version Updates From Current Changes (#4005)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-07 20:01:58 -03:00
Lucas Fernandes Nogueira
a1929c6dac
fix(cli): always read custom config file from CWD, closes #4067 (#4074) 2022-05-07 16:20:58 -03:00
Jonas Kruckenberg
35f2147161
feat(cli): Improve CLI logging (#4060)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-07 10:19:54 -03:00
Jonas Kruckenberg
a4fcaf1d04
fix: don't override default keychain, closes #4008 (#4053)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-05 18:29:40 -03:00
Lucas Fernandes Nogueira
c82b4761e1
feat(core): expose with_webview API to access the platform webview (#4058) 2022-05-04 14:14:15 -03:00
Lucas Fernandes Nogueira
72e577dcc6
fix(bundler): properly reinstall files on MSI downgrades, closes #3868 (#4044) 2022-05-04 10:48:53 -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
Amr Bashir
0180dcc812
fix(updater): remove single&double quotes escaping in updater dialog … (#4047) 2022-05-04 10:43:49 -03:00
Lucas Fernandes Nogueira
1ca2dd677d
fix(tauri-build): properly set executable version info on Windows (#4045) 2022-05-03 14:04:23 -03:00
Alex Rock
4562e671e4
fix(build): append .exe binary based on target triple instead of running OS, closes #3870 (#4032)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-03 13:57:11 -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
220e746014
fix(core): set dialog title via API, closes #4029 (#4030) 2022-05-02 21:04:45 -03:00
Lucas Fernandes Nogueira
d31167c520
fix(core): dialog crashing on macOS when the parent is empty (#4028) 2022-05-02 21:04:38 -03:00
Lucas Fernandes Nogueira
891eb748cf
fix(tauri-runtime-wry): menu even panic on macOS inspector, closes #3875 (#4027) 2022-05-02 21:04:30 -03:00
Lucas Fernandes Nogueira
164078c0b7
feat: allow limiting dangerousDisableAssetCspModification, closes #3831 (#4021) 2022-05-02 21:04:21 -03:00
Lucas Fernandes Nogueira
022eed4667
fix(core): nested isolation iframes, closes #4015 (#4020) 2022-05-01 15:50:17 -03:00
Lucas Fernandes Nogueira
8f259f4ef8
fix(core): use EventLoopProxy to prevent set_size freeze closes #3990 (#4014) 2022-04-30 11:10:21 -03:00
Lucas Fernandes Nogueira
de444b15d2
fix(bundler): debian failing to load icns icon, closes #3062 (#4009)
* fix(bundler): debian failing to load icns icon, closes #3062

* fix change file
2022-04-30 10:53:29 -03:00
Lucas Fernandes Nogueira
f3c5ca89e7
fix(core): http api connect_timeout deserialization, closes #4004 (#4006) 2022-04-29 21:26:45 -03:00
Lucas Fernandes Nogueira
320484866b
fix(cli): powershell crashing on SIGINT, closes #3997 (#4007) 2022-04-29 19:51:08 -03:00
Amr Bashir
bbabc8cd1e
fix(cli.rs): remove startup delay in tauri dev (#3999)
* fix(cli.rs): remove startup delay in `tauri dev`

* change timeout [skip ci]

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-04-29 13:44:31 -03:00
Amr Bashir
4f0f3187c9
fix(cli.rs): fix tauri info panic when a package isn't installed, closes #3985 (#3996) 2022-04-29 13:29:31 -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
github-actions[bot]
cf22f4ca5d
Apply Version Updates From Current Changes (#3975)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-04-26 20:40:24 -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
7ae9e25262
fix(tauri-build): rerun if TAURI_CONFIG env var changes 2022-04-26 20:02:06 -03:00
Lucas Fernandes Nogueira
dd94917b61
fix(tauri): docs.rs build error (#3974) 2022-04-26 18:49:10 -03:00
github-actions[bot]
feac1d193c
Apply Version Updates From Current Changes (#3820)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-04-26 11:53:21 -03:00
Lucas Fernandes Nogueira
f7d3d93b62
refactor(core): improve performance of the extract API (#3963) 2022-04-25 20:52:02 -03:00
Lucas Fernandes Nogueira
edf85bc1d1
fix(codegen): read platform-specific config file (#3966) 2022-04-25 19:47:10 -03:00
Ashish Shekar
a649aad7ad
feat(cli): check and notify about updates on tauri dev, closes #3789 (#3960)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-04-25 11:31:25 -03:00
Lucas Fernandes Nogueira
24e4ff208e
refactor(core): add clipboard Cargo feature, enhancing binary size (#3957) 2022-04-24 15:50:42 -03:00
Lucas Fernandes Nogueira
e11878bcf7
refactor(core): add global-shortcut Cargo feature, enhancing binary size (#3956) 2022-04-24 15:11:14 -03:00
Lucas Fernandes Nogueira
c23f139ba8
perf(core): improve binary size with api enum serde refactor (#3952) 2022-04-24 14:08:05 -03:00
Lucas Fernandes Nogueira
f66bc3c2b8
fix(bundler): DLL resources, closes #3948 (#3949) 2022-04-23 11:01:52 -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
81705bb332
feat(updater): add method to set request headers closes #3896 (#3931) 2022-04-22 10:56:57 -03:00
Lucas Fernandes Nogueira
320329a9a7
fix(core): insert to webview_id_map on tao window creation, closes #3883 (#3932) 2022-04-22 00:34:22 -03:00
Lucas Fernandes Nogueira
7864d41de8
feat(core): fallback to {path}.html in Tauri protocol loader ref #3887 (#3939) 2022-04-22 00:34:15 -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
4cebcf6da7
feat: expose theme APIs, closes #3903 (#3937) 2022-04-21 15:03:29 -03:00
Lucas Fernandes Nogueira
cc35608430
fix(core): do not serialize strings in http api form, closes #3910 (#3928) 2022-04-20 15:32:38 -03:00
Lucas Fernandes Nogueira
70ff55c1aa
fix(core): panic on menu event with minimized windows, closes #3902 (#3918) 2022-04-20 11:30:59 -03:00
Antoine Chauvin
3bd3d923d3
fix: add priority field in debian/control (#3865)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-04-19 20:03:04 -03:00
Lucas Fernandes Nogueira
80b714af6b
fix: rendering issue when resizing with devtools open closes #3914 #3814 (#3915) 2022-04-19 19:04:52 -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 Fernandes Nogueira
fa2baba76c
feat(core): create webview immediately when running in main thread (#3891) 2022-04-12 13:22:02 -03:00
Jonas Kruckenberg
621062246d
refactor: drop strip from build command. closes #3559 (#3863) 2022-04-06 09:45:55 -03:00
Lucas Fernandes Nogueira
ed71679368
refactor(updater): improve unsupported error variants, closes #3817 (#3849) 2022-04-05 09:47:10 -03:00
Lucas Fernandes Nogueira
e251e1b099
fix(cli): kill before dev command recursively on Unix, closes #2794 (#3848) 2022-04-03 11:26:57 -03:00
Lucas Fernandes Nogueira
42e8d9cf92
fix(api): encode file path in convertFileSrc function, closes #3841 (#3846) 2022-04-02 11:54:26 -03:00
Lucas Fernandes Nogueira
0ecfad5924
refactor(updater): unset request timeout, add builder setter (#3847) 2022-04-02 10:25:44 -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
9712ed1a68
feat(updater): add Downloaded status event (#3804) 2022-04-01 21:48:23 -03:00
Amr Bashir
73a4b74aea
fix(cli.rs/info): don't show outdated text for latest versions (#3829) 2022-04-01 20:59:56 -03:00
Lucas Fernandes Nogueira
7c7d854ab9
refactor(core): remove deprecated APIs (#3834) 2022-04-01 20:58:54 -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
github-actions[bot]
3b69596742
Apply Version Updates From Current Changes (#3803)
Co-authored-by: chippers <chippers@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
2022-03-30 16:50:12 -07:00
pwespi
cd9dfc7b9a
fix(driver): expose native-host option and set default to 127.0.0.1 (#3816) 2022-03-30 16:07:08 -07:00
Lucas Fernandes Nogueira
c7696f34ec
feat(updater): add body and date getters (#3802) 2022-03-29 11:30:44 -03:00
Lucas Nogueira
b14aa89673
feat(core): improve AboutMetadata setters 2022-03-29 11:27:57 -03:00
github-actions[bot]
a144e92993
Apply Version Updates From Current Changes (#3798)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-03-28 22:52:37 -03:00
Lucas Fernandes Nogueira
06aa87b65f
fix(core): WindowEvent type used on Window::on_window_event (#3796) 2022-03-28 22:44:47 -03:00
Lucas Fernandes Nogueira
169b5035a9
fix(core): actually fire WindowEvent::Destroyed (#3797) 2022-03-28 22:43:07 -03:00
github-actions[bot]
7a814fcf3f
Apply Version Updates From Current Changes (#3634)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-03-28 17:43:04 -03:00
Lucas Fernandes Nogueira
edad9f4f55
refactor(core): add RunEvent::WindowEvent (#3793) 2022-03-28 17:26:25 -03:00
Lucas Fernandes Nogueira
c64268f927
feat(updater): expose builder, allow setting a custom version checker (#3792) 2022-03-28 13:58:35 -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
Lucas Fernandes Nogueira
e05d718a7b
feat(core): add hotkey to toggle devtools, closes #3776 (#3791) 2022-03-28 11:17:28 -03:00
Lucas Fernandes Nogueira
9ddf8d84a2
fix(core): properly fire WindowEvent::Destroyed, closes #3688 (#3778) 2022-03-28 10:24:02 -03:00
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
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
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 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 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
Lucas Fernandes Nogueira
4094494a1b
feat(core): add API to manually trigger updater check (#3712) 2022-03-17 10:04:13 -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
Lucas Fernandes Nogueira
07d1584cf0
feat(core): add WindowEvent::FileDrop, closes #3664 (#3686) 2022-03-13 11:28:16 -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
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
Lucas Fernandes Nogueira
49546c5269
feat(build): print error context (#3644) 2022-03-09 21:01:26 -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
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
834ccc5153
feat(core): reimplement readTextFile for performance (#3631) 2022-03-07 11:34:33 -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 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 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 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
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
Fabian-Lars
8d699283a4
fix(bundler): Auto-launch app from install location, closes #3547 (#3553)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-24 12:52:04 -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
6a6f1e7bf9
fix(bundler): build updater bundle for all .msi files (#3520) 2022-02-24 10:05:58 -03:00
Lucas Fernandes Nogueira
d06efc7704
fix(core): parse range bytes=0-*, closes #3143 (#3516) 2022-02-24 10:05:50 -03:00
Fabian-Lars
fb6744daa4
feat(cli.js): add 32bit cli for windows (#3540)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-24 10:05:13 -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
5999379fb0
chore(cli): improve "waiting for dev server" message, closes #3491 (#3504) 2022-02-18 10:39:22 -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
Lucas Fernandes Nogueira
17f17a80f8
fix(cli): do not panic if private key password is wrong, closes #3449 (#3495) 2022-02-17 18:41:47 -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
a975551461
fix(cli): duplicated short flag for signer sign, closes #3483 (#3492) 2022-02-17 17:57:29 -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 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
2ecbed8d59
fix(bundler): sidecar on Windows, closes #3446 (#3482) 2022-02-16 21:44:40 -03:00
Jonas Kruckenberg
fb7ee2c987
drop Sync req from setup and setup_with_config (#3471) 2022-02-16 10:06:56 -03:00
Lucas Fernandes Nogueira
a06de37601
fix(cli): path lookup should not check subfolder before the current one (#3465) 2022-02-15 11:40:21 -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
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 Nogueira
6f5ed2e69c
fix: change file 2022-02-14 02:07:04 -03:00
Lucas Fernandes Nogueira
c6031c7070
feat(cli): increase lookup depth, add env var option (#3451) 2022-02-13 22:13:13 -03:00
Jonas Kruckenberg
7e04c072c4
feat: add mock functions for testing and SSG (#3437)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-02-13 20:33:10 -03:00
Lucas Fernandes Nogueira
759d1afb86
feat(cli): improve error message when dev runner command fails (#3447) 2022-02-13 19:13:31 -03:00
Lucas Fernandes Nogueira
16f1173f45
feat(cli): add tao and wry version to the info output (#3443) 2022-02-13 17:47:21 -03:00
Lucas Fernandes Nogueira
63826010d1
feat(cli.js): show full error message (#3442) 2022-02-13 14:55:11 -03:00
Lucas Fernandes Nogueira
cd9a20b9ab
refactor(cli.js): run on separate thread (#3436) 2022-02-13 13:50:51 -03:00
Lucas Nogueira
9c50bda6c1
fix(ci): covector configuration
the config had a test code on the postversion check for cli.rs
[skip ci]
2022-02-13 11:51:30 -03:00
Lucas Fernandes Nogueira
20f0477f95
fix(core): updater not replacing variables, closes #3428 (#3432) 2022-02-13 11:48:10 -03:00
Lucas Fernandes Nogueira
679fe1fedd
feat(cli.rs): allow passing arguments to the build runner, closes #3398 (#3431)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-13 10:54:18 -03:00
Lucas Fernandes Nogueira
102a5e9bb8
refactor(cli.rs): change template config CSP to null, closes #3427 (#3429) 2022-02-13 02:01:48 -03:00
Lucas Nogueira
bdd41e2413
fix(changelog): mark macos-private-api feature as breaking change 2022-02-13 01:20:22 -03:00
Lucas Fernandes Nogueira
6d8073efff
fix(covector): asset configuration, update action (#3425) 2022-02-13 00:56:06 -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
Lucas Fernandes Nogueira
3a4c016061
fix(core): change default freezePrototype to false, closes #3416 #3406 (#3423) 2022-02-12 10:28:05 -03:00
Amr Bashir
c01036043d
fix(cta): fix cli install with other deps, fixes #3417 (#3420)
* fix(cta): fix cli install with other deps, fixes #3417
2022-02-12 11:04:24 +02:00
chip
65287cd614
remove non-existent cargo rerun check (#3412) 2022-02-11 22:19:55 -03:00
Lucas Nogueira
8f5dba04e2
fix: covector config 2022-02-11 20:27:02 -03:00
github-actions[bot]
9f0395ae3c
Apply Version Updates From Current Changes (#3411)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-11 19:48:29 -03:00
Lucas Fernandes Nogueira
d8acbe1149
fix(cli.rs): app path resolution on projects without git, closes #3409 (#3410) 2022-02-11 19:41:50 -03:00
github-actions[bot]
fe0cfea03e
Apply Version Updates From Current Changes (#3401)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-11 14:13:00 -03:00
Lucas Nogueira
41052deeda
fix(covector): add cli.js to change files 2022-02-11 13:42:54 -03:00
Lucas Fernandes Nogueira
9c6c5a8c52
perf(cli.rs): improve performance of tauri dir lookup reading .gitignore (#3405) 2022-02-11 13:35:15 -03:00
Lucas Fernandes Nogueira
8beab63634
fix(cli): build freezing on Windows, closes #3399 (#3402) 2022-02-11 11:38:10 -03:00
Lucas Fernandes Nogueira
def7684025
fix(cli.rs): do not prompt for init values if arg set (#3400) 2022-02-11 11:00:11 -03:00
github-actions[bot]
ffb9a192cb
apply version updates (#3397)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2022-02-11 11:45:59 +02:00
Amr Bashir
536c0cd7d4
fix(cta): filter out empty args, fixes #3393 (#3396)
* fix(cta): filter out empty args, fixes #3393

* use strict inequality [skip ci]
2022-02-11 10:31:29 +02:00
github-actions[bot]
5c0a8bfef7
Apply Version Updates From Current Changes (#3392)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-10 23:05:06 -03:00
Lucas Nogueira
3227502e8c
fix(cli.rs): package vswhere.exe 2022-02-10 22:55:59 -03:00
Lucas Nogueira
cde6e3cf9d
fix(ci): covector configuration and usage
[skip ci]
2022-02-10 20:08:54 -03:00
Lucas Nogueira
7c0fb73bb8
fix(covector): tauri-utils before tauri-bundler 2022-02-10 18:42:50 -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 Nogueira
18b7ffb4e2
fix(covector): remove sync-cli-metadata.js usage 2022-02-10 17:37:21 -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
62c7a8ad30
chore(covector): prepare for rc release (#3376) 2022-02-10 16:46:30 -03:00
Jonas Kruckenberg
d5400a3d62
once_global and once accept FnOnce callbacks (#3383) 2022-02-10 11:29:47 -03:00
Lucas Fernandes Nogueira
c119060e3d
refactor(core): empty default value for config > tauri > windows (#3380) 2022-02-10 11:23:08 -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
5eb72c24de
refactor: copy resources and sidecars on the Cargo build script (#3357) 2022-02-08 13:13:21 -03:00
Lucas Fernandes Nogueira
a2d5929a8f
feat(cli.rs): wait for dev URL to be reachable, exit if command fails (#3358)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-08 10:43:07 -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
nothingismagick
58030172ed
feat(tauricon): remove from cli (#3293)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-07 00:59:51 -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
philipborg
52e9a6d81a
fix: Make CMD handle quotes " properly. (#3334)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-06 10:22:07 -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
Lucas Fernandes Nogueira
af329f2722
feat(bundler): wix localization, closes #3174 (#3179) 2022-02-05 15:13:07 -03:00
Lucas Nogueira
de0543f3e0
feat(cli.rs): change inferred dev server port to 8080 for Svelte apps 2022-02-05 15:12:36 -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
Jonas Kruckenberg
839daec7ab
fix(bundler): Use arch instead of llvm_target. fix #3285 (#3286)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 00:40:13 -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
Amr Bashir
65ad5b5ef9
feat(cli.rs/info): detect if tauri is used from git (#3309)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 21:00:55 -03:00
Didrik Nordström
83f52fdbe3
feat: Add universal-darwin-macos build target, closes #3317 (#3318)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 18:56:57 -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
a08509c641
fix(api): remove currentDir API from the path module 2022-02-04 11:49:23 -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 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
Manuel Alabor
8ab8d52942
Fix #3288: Add provider_short_name for macOS (#3289) 2022-01-27 15:22:30 -03:00
Lucas Nogueira
696dca58a9
refactor(core): remove BaseDirectory::Current variant 2022-01-26 16:48:31 -03:00
Jonas Kruckenberg
9bb68973dd
fix(cli.rs): prefix the "before script" env vars with TAURI_ (#3274) 2022-01-24 10:27:23 -03:00
Wojciech Niedźwiedź
d801cc89b8
wix installer is also signed (#3266) 2022-01-23 17:50:05 -03:00
Lucas Fernandes Nogueira
28dd9adb26
feat(bundler): support building AppImage without FUSE (#3259) 2022-01-21 15:41:00 -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
e1d6a6e644
Create api-file-dialog-title.md (#3235) 2022-01-16 16:41:33 -03:00
Jonas Kruckenberg
b5d9bcb402
Consistent event name usage (#3228) 2022-01-15 17:47:15 -03:00
Lucas Fernandes Nogueira
e15a8af843
refactor(core): return Window on create_window API (#3211) 2022-01-13 13:51:45 -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 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
6feb5a0c50
refactor(core): api feature flags, documentation (#26) 2022-01-09 16:20:13 -03:00