Commit Graph

1268 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
dfa407ffcb
feat(mobile): add plugin config to the Plugin class (#6763) 2023-04-23 09:15:13 -03:00
Lucas Fernandes Nogueira
41f49aeae6
fix(cli.js): adb commands not working, closes #6659 (#6708)
fix(cli.js): adb commands not working, closes #6659
2023-04-23 09:14:54 -03:00
Lucas Fernandes Nogueira
96639ca239
refactor(core): remove shell APIs (#6749) 2023-04-20 09:19:47 -03:00
Lucas Fernandes Nogueira
0c11023bcf
refactor(core): remove http-multipart Cargo feature (#6748) 2023-04-19 20:17:41 -03:00
Lucas Fernandes Nogueira
ae102980fc
refactor(core): read tray icon only on desktop, refactor Context (#6719) 2023-04-19 19:44:10 -03:00
Lucas Fernandes Nogueira
86488a6ad8
refactor(core): remove notification API (#6745) 2023-04-19 19:03:34 -03:00
Lucas Fernandes Nogueira
f78a378344
refactor(core): remove http features (#6742) 2023-04-19 11:47:29 -03:00
Lucas Fernandes Nogueira
2d5378bfc1
refactor(core): move dialog API to its own plugin (#6717) 2023-04-18 22:18:22 -03:00
Lucas Fernandes Nogueira
3f17ee82f6
refactor(core): remove global shortcut APIs (#6737) 2023-04-18 14:57:51 -03:00
Lucas Fernandes Nogueira
db9c12c1ad
refactor(runtime): remove clipboard APIs (#6735) 2023-04-18 09:11:27 -03:00
Lucas Fernandes Nogueira
8e46695b7e
Revert "feat(core): expose runtime_handle on AppHandle (#6727)"
This reverts commit 276e4a3fdb.
2023-04-18 08:30:25 -03:00
Lucas Fernandes Nogueira
cebd75261a
refactor(core): remove the clipboard APIs (#6728) 2023-04-17 15:35:12 -03:00
Lucas Fernandes Nogueira
276e4a3fdb
feat(core): expose runtime_handle on AppHandle (#6727) 2023-04-17 13:49:09 -03:00
Lucas Fernandes Nogueira
fc4d687ef0
refactor(core): move file system endpoints to its own plugin (#6716) 2023-04-16 09:20:58 -03:00
Lucas Fernandes Nogueira
22a7633816
feat(core): expose SafePathBuf (#6713) 2023-04-15 15:44:05 -03:00
Lucas Fernandes Nogueira
09376af594
refactor(core): remove cli feature (#6704) 2023-04-14 15:33:53 -03:00
Lucas Fernandes Nogueira
34b8f339a4
feat(core): add app method on PluginApi (#6705) 2023-04-14 15:33:41 -03:00
github-actions[bot]
06fdcc0edd
(NEXT) Apply Version Updates From Current Changes (#6701)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-04-13 19:43:17 -03:00
Lucas Fernandes Nogueira
9de897919a
fix(core): iOS plugin freezing when receiving a bool parameter (#6700) 2023-04-13 18:26:45 -03:00
renovate[bot]
80069e1dc0
chore(deps) Update Rust crate json-patch to v1 (#6686)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-12 11:20:08 -03:00
renovate[bot]
5fcb55e420
chore(deps) Update Rust crate json-patch to v1 (#6687)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-12 11:19:55 -03:00
Lucas Fernandes Nogueira
ee71c31fd0
feat(core): allow configuring remote domains with IPC access, closes #5088 (#5918) 2023-04-11 08:50:15 -03:00
github-actions[bot]
f3917e7ee8
(NEXT) Apply Version Updates From Current Changes (#6633)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-04-10 10:12:04 -03:00
Lucas Fernandes Nogueira
055e9b3997
chore(deps): update wry, closes #6658 (#6671) 2023-04-10 09:55:24 -03:00
Lucas Fernandes Nogueira
f436cf8609
refactor(core): remove PathExt trait, add path function to Manager (#6670) 2023-04-09 11:25:08 -03:00
Lucas Fernandes Nogueira
f0570d9fee
feat(core): improve run_mobile_plugin error handling (#6655) 2023-04-07 17:08:25 -03:00
Lucas Fernandes Nogueira
be941b9719
feat(core): add path plugin, implement mobile APIs (#6339) 2023-04-07 12:48:14 -03:00
Vilian Gerdzhikov
1eacd51d18
overloaded the open function for convenient type inference (#5619)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-07 12:40:25 -03:00
Amr Bashir
6ff801e27d
chore: rename config-schema to tauri-config-schema (#6250)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-07 12:11:05 -03:00
Lucas Fernandes Nogueira
db4c9dc655
feat(core): add option to configure Android's minimum SDK version (#6651) 2023-04-07 11:21:42 -03:00
renovate[bot]
f4c9635724
chore(deps) Update Rust crate cargo_toml to 0.15 (#6214)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 21:13:25 -03:00
renovate[bot]
565dc3baa7
chore(deps) Update Tauri Utils (major) (#4717)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 21:12:33 -03:00
thep0y
708efbd9b7
fix(core/tauri): upgrade open to 3.2 to fix a bug on Windows (#6441)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-06 12:08:32 -03:00
Lucas Fernandes Nogueira
052c5822b5
feat(core): implement Clone for PluginHandle (#6644) 2023-04-05 12:32:10 -03:00
Si Yang
da30753754
style: needless_borrow, useless_format (#6620) 2023-04-04 10:10:47 -03:00
github-actions[bot]
29ee62342a
(NEXT) Apply Version Updates From Current Changes (#6622)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-04-03 16:19:10 -03:00
Lucas Fernandes Nogueira
a813792786
fix(core): compilation issues without execute or sidecar features (#6621) 2023-04-03 16:10:03 -03:00
Amr Bashir
0b46637eba
fix(api): construct correct object for onResized and onMoved, closes #6507 (#6509)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-04-03 12:18:36 -03:00
Si Yang
09d5dd520f
style: warn(clippy::useless_format) (#6619) 2023-04-03 12:04:08 -03:00
Lucas Nogueira
e9482430ff
chore(changes): add changes for 1.3 release merge 2023-04-03 11:32:53 -03:00
github-actions[bot]
afc3237d0c
(NEXT) Apply Version Updates From Current Changes (#6593)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-04-03 10:56:08 -03:00
Lucas Nogueira
55900a2968
Merge branch 'dev' into next 2023-04-03 09:58:27 -03:00
Lucas Fernandes Nogueira
4c3b9ecfdc
fix(build): iOS deployment target env var is IPHONEOS_DEPLOYMENT_TARGET (#6602) 2023-03-31 14:32:30 -03:00
filip
509d4678b1
Support sending raw byte data to the "data" event for child command's stdout and stderr (#5789)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-03-31 12:51:27 -03:00
Zeeshan Ali Khan
5fdc616df9
feat: Use the zbus-backed of notify-rust (#6332)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-03-31 12:36:59 -03:00
Lucas Fernandes Nogueira
7f820ee190
chore(tests): enhance and document updater NSIS test (#6556) 2023-03-31 10:13:35 -03:00
Amr Bashir
eb1ec0416c
fix(core/updater): read and parse response after checking status code, closes #6192 (#6575) 2023-03-31 10:06:59 -03:00
Lucas Fernandes Nogueira
d788d23071
refactor(core): do not allow JS API to set additional browser args (#6216)
This was introduced in #5799, but it's dangerous to let the frontend set this option.
2023-03-31 10:05:18 -03:00
Lucas Fernandes Nogueira
adf4627b73
fix(core): adjust ProGuard rules (#6588) 2023-03-31 10:03:50 -03:00
Amr Bashir
ff4ea1eabb
fix: dispatch focus event to app.run on Windows, closes #6460 (#6504) 2023-03-31 10:03:25 -03:00
Lucas Nogueira
56fa900dbe
fix(core): adjust TLS feature usage on dev 2023-03-30 12:09:02 -03:00
Lucas Fernandes Nogueira
cfdee00f2b
refactor(core): fix tls features, use rustls on mobile (#6591) 2023-03-30 10:59:08 -03:00
amrbashir
38ee5066e7
chore: update schema files 2023-03-28 16:25:33 +02:00
Elliot Waite
8c07076e25
docs: update grammer 2023-03-28 16:04:44 +02:00
Lucas Fernandes Nogueira
1a24e4cafd
chore(deps): unpin dependencies from 1.59 MSRV (#6499) 2023-03-20 11:54:09 -03:00
Lucas Nogueira
46e2def0ee
fix(ci): set tauri-build dependency version on tauri crate 2023-03-20 08:45:26 -03:00
github-actions[bot]
be12ad3a6f
apply version updates (#6211)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-03-20 08:14:51 -03:00
Lucas Nogueira
bfd97a5802
Merge remote-tracking branch 'origin/dev' into next 2023-03-19 08:56:36 -03:00
Lucas Fernandes Nogueira
9c8276fe03
refactor(mobile): use shared .tauri folder to inject dependencies (#6495) 2023-03-19 08:51:01 -03:00
Lucas Fernandes Nogueira
56b528e481
refactor(build): change tauri-api dependency path to skip rebuilds (#6490)
* refactor(build): change tauri-api dependency path to skip rebuilds

The tauri-api Swift package cannot be injected inside the iOS plugin project because swift-rs reruns when the project folder changes. We will now inject the project in the parent folder instead.

* revert tauri-plugin-log [skip ci]
2023-03-18 11:31:11 -03:00
Lucas Nogueira
153b4627e5
chore(build): remove rerun-if-changed instruction for Swift package
Let's leave that to swift-rs
2023-03-18 10:59:38 -03:00
Lucas Fernandes Nogueira
6a8888dc85
refactor(ios): add macro to generate plugin glue fn, pass name parameter (#6489) 2023-03-18 10:57:05 -03:00
Lucas Nogueira
88838e2898
chore(deps): update swift-rs to 1.0.3, fixing iOS simulator support 2023-03-18 10:49:22 -03:00
Lucas Nogueira
5bc8322f7d
chore(android): simplify PermissionState code 2023-03-17 15:25:22 -03:00
Lucas Nogueira
c88fdbca3a
chore(android): remove deprecated AndroidManifest package id setter 2023-03-17 15:24:11 -03:00
Lucas Nogueira
a6fea4644e
refactor(android): rename PluginMethod to Command 2023-03-17 15:20:39 -03:00
Lucas Fernandes Nogueira
c46c09f31d
fix(deps): pin raw-window-handle to 0.5.0 (#6480)
* fix(deps): pin raw-window-handle to 0.5.0

* lint [skip ci]
2023-03-17 14:11:24 -03:00
Shaun Hamilton
c2867a65d8
feat: add config links to json schema (closes #5479) (#6356)
* feat(core): add config links to json schema

* feat(core): add schema builds
2023-03-17 13:17:34 -03:00
Fabian-Lars
1d0de2a558
fix(core): export SystemTrayMenuItemHandle to fix doc generation. (#6440) 2023-03-17 13:09:27 -03:00
Lucas Fernandes Nogueira
22c09871c3
fix(ios): link clang_rt.ios to include isPlatformVersionAtLeast (#6476)
* fix(ios): link clang_rt.ios to include isPlatformVersionAtLeast

See https://github.com/alexcrichton/curl-rust/pull/283

* lint [skip ci]

* update swift-rs to 1.0.2
2023-03-17 13:07:39 -03:00
Lucas Nogueira
7765bbcba1
chore(ios): use semver on SwiftRs dependency instead of git revision 2023-03-17 10:56:45 -03:00
Lucas Fernandes Nogueira
ae296f3de1
refactor(tauri-runtime-wry): register runtime plugin after run() (#6478) 2023-03-17 10:28:28 -03:00
Lucas Fernandes Nogueira
30e94677b0
chore(deps): pin wry to 0.27 (#6477)
* chore(deps): pin wry to 0.27

* update index.js [skip ci]

* fmt
2023-03-17 09:23:11 -03:00
Lucas Fernandes Nogueira
dddaa943e7
refactor(core): remove attohttpc client, closes #6415 (#6468)
* refactor(core): remove attohttpc client, closes #6415

* lint [skip ci]
2023-03-17 09:09:13 -03:00
Lucas Nogueira
9639caf33f
Merge remote-tracking branch 'origin/dev' into next 2023-03-16 09:51:07 -03:00
Lucas Fernandes Nogueira
5d94eaa3bc
feat(core): update swift-rs (#6355)
* feat(core): update swift-rs

* update tauri-plugin-log

* use env var for min iOS version

* test x86_64-apple-ios

* Revert "test x86_64-apple-ios"

This reverts commit 3ae6b79e5f.

* chore: swift min version 5.3 [skip ci]

* fix build [skip ci]

* fix cgrect usage

* test CI

* Revert "test CI"

This reverts commit 76ce0c5992.

* update swift-rs to 1.0.1

* lint

* lint [skip ci]
2023-03-16 09:34:41 -03:00
Lucas Nogueira
8631eec038
chore(android): remove unused returnType field 2023-02-25 08:37:26 -03:00
Lucas Fernandes Nogueira
d11af5be8d
fix(cli): adjust iOS project to work on simulator again (#6349) 2023-02-23 18:01:17 -03:00
Lucas Fernandes Nogueira
105fe3fa24
refactor(build): fill settings.gradle and build.gradle.kts on app build (#6342) 2023-02-22 13:57:19 -03:00
Lucas Fernandes Nogueira
1035a83187
feat(core): use camel case on mobile command name (#6340) 2023-02-22 13:55:04 -03:00
Lucas Fernandes Nogueira
9cd8735574
fix(core): properly handle command not found error (#6341) 2023-02-22 13:54:52 -03:00
Lucas Nogueira
ed879513d3
feat(templates): fill AndroidManifest.xml manifest.package field 2023-02-20 17:21:38 -03:00
Lucas Nogueira
12c947632d
feat(plugin): add app getter on PluginHandle 2023-02-20 15:55:25 -03:00
Lucas Fernandes Nogueira
037d488dee
feat(mobile): add command member to Invoke class (#6323) 2023-02-20 13:09:30 -03:00
Lucas Fernandes Nogueira
5fdf8dcb8e
fix(core): mime type of .less, .sass and .styl files (#6316) 2023-02-19 16:23:18 -03:00
Lucas Nogueira
1fd329935e
Merge branch 'dev' into next 2023-02-19 11:34:02 -03:00
Lucas Fernandes Nogueira
60a8b07dc7
fix: handle single word bundle identifier when resolving Android domain (#6313) 2023-02-19 11:12:04 -03:00
Lucas Fernandes Nogueira
46e6187c89
chore: update license year (#6311) 2023-02-19 10:17:49 -03:00
Lucas Fernandes Nogueira
3d16461b68
fix(core): pin time to 0.3.15 (#6312) 2023-02-19 09:02:36 -03:00
Amr Bashir
f6c3ea6faa
chore: simplify windows_subsystem attribute (#6273) 2023-02-18 16:23:09 -03:00
Lucas Fernandes Nogueira
dffd8eb5a8
feat(android): add Plugin assetUrl function (#6299) 2023-02-17 12:44:28 -03:00
Lucas Fernandes Nogueira
897a1547a1
feat(cli): update plugin template including trait to access mobile APIs (#6293) 2023-02-17 12:12:05 -03:00
Lucas Fernandes Nogueira
df5766ec2f
refactor(plugin): simplify run_mobile_plugin return types (#6298) 2023-02-17 10:15:57 -03:00
Lucas Nogueira
2dc71a4793
chore(android): remove unnecessary not-null assertion operator 2023-02-16 14:54:35 -03:00
Lucas Fernandes Nogueira
6aaba83476
refactor(plugin): add PluginApi and PluginHandle, expose on setup hook (#6291) 2023-02-16 13:33:50 -03:00
Lucas Nogueira
f5e272b0ef
chore(android): remove unused code 2023-02-15 19:01:54 -03:00
Lucas Fernandes Nogueira
ea7fd016ca
feat(ios): add Logger class (#6284) 2023-02-15 18:00:18 -03:00
Lucas Fernandes Nogueira
d42fd0710c
feat(ios): expose UIViewController (#6281) 2023-02-15 11:42:47 -03:00
Lucas Fernandes Nogueira
1b75839701
fix(ios): properly access IPC data (#6280) 2023-02-15 10:56:04 -03:00
Lucas Fernandes Nogueira
bce87c1a67
feat(android): implement plugin permissions and startActivityForResult (#6272) 2023-02-14 21:36:44 -03:00