Commit Graph

1476 Commits

Author SHA1 Message Date
Amr Bashir
af93729031
fix: add missing file properties on Windows, closes #6676 (#6693)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-05-22 16:34:33 -03:00
Amr Bashir
262776d8d8
docs(tauri-build): clarify common-controls-v6 dependency, closes #6732 (#6736) 2023-05-22 15:07:08 -03:00
Andzej Korovacki
8e85576506
fix: default log path for linux and windows updated (fix: #6809) (#6827)
* fix: default log path for linux and windows updated (fix: #6809)

* fix impl after reset
2023-05-21 16:38:20 +03:00
Lucas Fernandes Nogueira
3256a37263
fix(build): inject Android proguard rules, closes #7016 (#7017) 2023-05-21 13:03:20 +08:00
yutotnh
2b487c9467
Fix typo (#7012)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-20 08:24:07 -03:00
Amr Bashir
acc36fe117
feat(core): add option for require_literal_leading_dot, closes #6158 (#6969)
* feat(core): add option for `require_literal_leading_dot`, closes #6158

* change to `Option<bool>`

* fix to tokens impl

* Apply suggestions from code review

Co-authored-by: Simon Hyll <hyllsimon@gmail.com>

---------

Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
2023-05-18 16:11:50 +03:00
Amr Bashir
cd3846c8ce
feat(nsis): restart app after updating, closes #6955 (#6987)
* feat(nsis): restart app after updating, closes #6955

* Apply suggestions from code review
2023-05-18 16:11:31 +03:00
github-actions[bot]
d1304ffa12
(NEXT) Apply Version Updates From Current Changes (#6707)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-05-18 09:10:12 -03:00
Lucas Fernandes Nogueira
8ce32e74b5
feat(core): expose default_window_icon on App and AppHandle (#6986) 2023-05-17 19:54:15 -03:00
Amr Bashir
82169e69fc
fix(core): remove trailing slash in http scope url, closes #5208 (#6974)
* fix(core): remove trailing slash in http scope url, closes #5208

* fix tests

* one more tests fix

* clippy
2023-05-17 14:33:10 +03:00
Amr Bashir
aecf146909
fix(core/ipc): access url through webview native object, closes #6889 (#6976) 2023-05-17 14:32:45 +03:00
Lucas Fernandes Nogueira
e5bd34cb34
refactor(core): remove init scripts related to plugin APIs (#6975) 2023-05-16 11:46:32 -03:00
Lucas Fernandes Nogueira
59db76af4c
refactor(android): fix race conditions processing Android plugin project as dependency (#6968) 2023-05-16 10:22:46 -03:00
Fabian-Lars
d2710e9d2e
fix(core): unpin all dependencies, closes #6944 (#6966) 2023-05-16 19:27:15 +08:00
Amr Bashir
3700793a2f
fix(updater): emit UPTODATE when server responds with 204, closes #6934 (#6970) 2023-05-16 13:00:00 +08:00
Amr Bashir
46a58afd9e
chore: remove duplicate tauri in tauri-config-schema name (#6967) 2023-05-15 15:12:51 -03:00
Amr Bashir
2948820579
feat(bundler/NSIS): allow specifying custom lang files (#6867)
* feat(bundler/NSIS): allow specifying custom lang files

* add dunc as dep on all platforms

* clippy

* Update tooling/bundler/src/bundle/windows/nsis.rs

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* Update core/tauri-utils/src/config.rs

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* schema files

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-15 18:11:10 +03:00
Lucas Fernandes Nogueira
6fb5734d2f
feat(mobile): add event APIs for plugins (#6946) 2023-05-15 11:36:25 -03:00
Amr Bashir
e0c30a7e8b
refactor: use const instead of a function (#6958) 2023-05-14 17:03:40 -03:00
Lucas Fernandes Nogueira
6d25c4d07f
fix(config): properly reference updater configuration on ToTokens impl (#6957) 2023-05-13 10:30:35 -03:00
Amr Bashir
e1e85dc2a5
chore: fix ci and cleanup leftovers (#6925)
* chore: fix ci and cleanup leftovers

1. removed leftover feature flags
2. remove zip/extract apis which are not used anymore
3. removed leftoever scopes
4. removed leftover allowlist and updater options
5. updated the example api

* remove leftover updater structs

* move updater under bundle and remove uneeded options

* fix cli on linux

* remove create_proxy

* clippy

* more clippy

* clippppy

* readd path api

* fix api example

* remove window allowlist

* remove window from allowlist config

* remove `all` allowlist option

* remove file_move

* lint

* fix windows build

* remvoe unused deps

* remvoe allowlist config option, move protocol to `security > asset_protocol`

* fix diffing features

* fmt and test

* fix scope alias

* change files

* android lint

* simplify allow_file impl

* Revert "simplify allow_file impl"

This reverts commit b8882f2fd0.

* expose scopes

* remove unused error variants

* protocol-asset on docs.rs

* ignore reqwest on udeps

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-13 13:48:28 +03:00
Jack Wills
441f964654
feat(core/tauri): add try_get_item for SystemTray and WindowMenu, closes #5491 (#6408)
* feat: try_get_item() for window menu

Add a method in the MenuHandle struct, that will return an Optional MenuItemHandle

feat: try_get_item() for systemtray

Add a method in the SystemTrayHandle struct, that will return an Optional SystemTrayMenuItemHandle

docs: features documented in ./changes/minor.md

fix: suggested changes

fix CI

* Update .changes/tray_get_item.md

---------
2023-05-12 16:15:36 +03:00
Guilherme Oenning
7c23720920
feat: add tauri::version, similar to getTauriVersion available on JS API (#6546)
Signed-off-by: goenning <me@goenning.net>

Apply suggestions from code review
2023-05-12 15:36:31 +03:00
Akshay
a08d1b248f
chore: fix broken symlinks in license files (#6336)
symlink to repo root
2023-05-12 14:56:32 +03:00
Lucas Fernandes Nogueira
9a79dc0858
refactor(core): remove window endpoints (#6947) 2023-05-12 08:18:00 -03:00
Amr Bashir
dc682155de
fix(core): Fix WindowBuilder::on_navigation handler never registerd, closes #6865 (#6921)
* fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865

* clippy
2023-05-12 14:03:42 +03:00
Amr Bashir
e092f79946
feat(bundler/nsis): allow specifying custom template, closes #6887 (#6922) 2023-05-12 14:02:07 +03:00
Lucas Fernandes Nogueira
39f1b04f7b
refactor(core): move event JS API to a core plugin (#6943) 2023-05-12 07:55:39 -03:00
Lucas Fernandes Nogueira
0ab5f40d3a
feat(core): add IPC channel (#6813) 2023-05-11 07:25:32 -03:00
Simon Hyll
469d9f8a4a
docs(tauri-utils): described behavior of version field when omitted (#6938) 2023-05-11 14:18:45 +08:00
Ronie Martinez
96d346222f
docs: Update Github workflow status shields (#6910)
* docs: Update Github workflow status shields

* Update with name, icon and fix
2023-05-10 04:04:12 +03:00
Lucas Fernandes Nogueira
b072daa3bd
refactor(core): move updater to a plugin (#6919) 2023-05-09 16:43:31 -07:00
Lucas Fernandes Nogueira
60cf9ed2fc
refactor(core): move process endpoints to plugins-workspace (#6905) 2023-05-09 12:00:41 -03:00
Amr Bashir
c4171152c1
fix: enable shadows by default, closes #6909 (#6916) 2023-05-09 15:56:13 +03:00
Lucas Fernandes Nogueira
29ce9ce2ce
refactor(core): move os endpoints to a dedicated plugin (#6902)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2023-05-08 12:05:12 -03:00
Lucas Fernandes Nogueira
3245d14b9e
refactor(core): remove app module (#6895) 2023-05-08 10:29:36 -03:00
Lucas Fernandes Nogueira
2cc282c129
fix(build): rerun plugin build when plugins.json changes, wait write (#6893) 2023-05-08 10:29:09 -03:00
Lucas Nogueira
4585a1cbb0
Merge branch 'dev' into next 2023-05-07 10:42:44 -03:00
Lucas Fernandes Nogueira
5a768d5ce6
refactor(build): remove WindowsAttributes::sdk_dir (#6886) 2023-05-06 17:49:22 -03:00
Lucas Fernandes Nogueira
3188f37649
feat: update MSRV to 1.65 (#6883) 2023-05-06 17:16:52 -03:00
Lucas Fernandes Nogueira
7a4b1fb96d
feat(macros): add support to attributes on generate_handler (#6839) 2023-05-06 10:44:24 -07:00
Lucas Fernandes Nogueira
256c30c72b
feat(android): support private plugin callbacks and commands (#6863) 2023-05-05 09:19:02 -03:00
Lucas Fernandes Nogueira
20f582f6c3
chore: update changelog with v1.3 remote IPC backport (#6848) 2023-05-03 14:58:57 -03:00
Lucas Fernandes Nogueira
0dfd5f875f
fix(core): pin winnow dependency to 0.4.1 to keep 1.60 MSRV (#6845) 2023-05-03 09:31:59 -03:00
github-actions[bot]
bf804657f5
Apply Version Updates From Current Changes (#5815)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-05-03 08:19:06 -03:00
Lucas Fernandes Nogueira
73c803a561
feat(android): inject tauri.conf.json asset, add plugin config load API (#6837) 2023-05-03 08:16:05 -03:00
Lucas Fernandes Nogueira
40f137c214
fix(core): IPC remote domain check bypassed by isolation iframe usage (#6691) 2023-05-02 09:58:51 -03:00
Lucas Fernandes Nogueira
bb2a8ccf13
fix(ios): use correct class to call plugin command with throws (#6830) 2023-05-01 14:19:28 -03:00
Lucas Fernandes Nogueira
edb16d13a5
fix(android): adjust Android plugin command exception to use e.message (#6831) 2023-05-01 14:16:05 -03:00
Lucas Nogueira
e68a08da51
feat(android): allow JSObject::getString to return null 2023-04-29 12:50:04 -03:00
Lucas Fernandes Nogueira
41cb06172a
fix(ios): update wry, fix plugin config load (#6810) 2023-04-27 05:55:48 -07:00
Lucas Fernandes Nogueira
942249060e
refactor(core): generate TauriActivity on build script (#6783) 2023-04-24 11:17:59 -03:00
Amr Bashir
ecc9ac9603
fix(tauri-build): escape path to tauri-android project (#6785) 2023-04-24 11:14:43 -03:00
Lucas Fernandes Nogueira
d693e526e8
feat(android): add onNewIntent plugin hook (#6780) 2023-04-23 19:59:46 -03:00
Lucas Fernandes Nogueira
2a5175a8f8
feat(android): enhance JSObject return types (#6779) 2023-04-23 17:06:31 -03:00
Amr Bashir
31444ac196
chore(deps): update wry to 0.28 (#6725)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-23 16:59:39 -03:00
Lucas Fernandes Nogueira
cdad6e0837
refactor(core): use absolute path for the tauri Android library (#6774) 2023-04-23 15:40:47 -03:00
Lucas Fernandes Nogueira
2969d1cbba
refactor(core): use absolute path to plugin Android project (#6773) 2023-04-23 11:21:36 -03:00
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
Lucas Fernandes Nogueira
b9c303a0dc
fix(tauri-runtime-wry): tray event listener not registered (#6270) 2023-02-14 14:57:00 -03:00
Lucas Fernandes Nogueira
138cb8d739
fix(tauri-runtime-wry): tray event listener not registered (#6270) 2023-02-14 14:56:36 -03:00
Lucas Nogueira
5ab78fcafa
feat(tauri-build): enhance mobile build script 2023-02-14 14:38:01 -03:00
Lucas Nogueira
aeade94d5e
fix(tauri-runtime-wry): re-export wry
Regression from the latest merge from dev
2023-02-14 14:37:50 -03:00
Lucas Nogueira
3d5cc7ab86
Merge remote-tracking branch 'origin/dev' into next 2023-02-14 10:58:46 -03:00
Lucas Fernandes Nogueira
bef4ef51bc
feat(android): enable minify on release, add proguard rules (#6257) 2023-02-13 10:22:03 -03:00
Lucas Fernandes Nogueira
7258a64730
fix(android): force build script to rerun project injection on dir clear (#6249) 2023-02-13 09:50:29 -03:00
Lucas Fernandes Nogueira
96b5e92169
refactor(core): inject API project on plugin's Android and iOS projects (#6246) 2023-02-12 15:29:34 -03:00
Lucas Fernandes Nogueira
98867a9680
feat(build): use swift workspace to resolve tauri dep path (#6243) 2023-02-12 10:04:14 -03:00
Lucas Fernandes Nogueira
bfb2ab24e0
feat: add API to call iOS plugin (#6242) 2023-02-11 19:45:51 -03:00
Lucas Fernandes Nogueira
05dad08768
feat: initial work for iOS plugins (#6205) 2023-02-11 10:30:44 -03:00
Lucas Nogueira
f379e2f3da
chore: remove unused code 2023-02-10 17:46:53 -03:00
Lucas Fernandes Nogueira
f28a181039
refactor: move Android project to the tauri crate (#6241) 2023-02-10 17:43:50 -03:00
Lucas Fernandes Nogueira
9feab904bf
feat(core): add API to call Android plugin (#6239) 2023-02-10 16:32:01 -03:00
Lucas Fernandes Nogueira
78176edf4a
fix: keep build artifacts on Android lib and plugins (#6229) 2023-02-09 13:11:31 -03:00
Lucas Fernandes Nogueira
481d9de739
refactor(android): use tauri.settings.gradle and tauri.build.gradle.kts to define tauri plugins (#6217) 2023-02-08 12:52:53 -03:00
Lucas Fernandes Nogueira
a8d640b3c6
fix(core): pin unarray and os_info (#6212) 2023-02-07 20:47:31 -03:00
Amr Bashir
a81750d779
feat(core): add shadow APIs (#6206)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-02-07 19:38:10 -03:00
Lucas Fernandes Nogueira
17f26764c8
feat: initial work for Android plugins (#6167) 2023-02-06 08:56:00 -03:00
github-actions[bot]
0111b88d75
(NEXT) Apply Version Updates From Current Changes (#5924)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-02-02 17:55:23 -03:00
Ngo Iok Ui (Wu Yu Wei)
f0a1d9cdbc
chore: update rfd and wry versions (#6174)
Co-authored-by: Wu Yu Wei <wusyong9104@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-02-02 16:44:57 -03:00
chip
50576a5e1e
fix 1.67 clippy warnings (compatible with MSRV) (#6179) 2023-02-01 14:24:01 -03:00
Ngo Iok Ui (Wu Yu Wei)
7eb9aa75cf
Update gtk to 0.16 (#6155)
Co-authored-by: Wu Yu Wei <wusyong9104@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-29 15:08:27 -03:00
renovate[bot]
db7765edad
chore(deps) Update Tauri Codegen (#6034)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-26 11:23:08 -03:00
Fabian-Lars
d20a728892
feat: Further improve workspace inheritance, closes #6122, #5070 (#6144)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-26 10:47:23 -03:00
Amr Bashir
9da996073f
fix(cli): fix printing paths on Windows (#6137) 2023-01-26 10:45:58 -03:00
Lucas Fernandes Nogueira
78eaadae2e
refactor(core): only proxy on mobile (#6126)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-01-23 18:25:25 -03:00
Chris Ohk
26f306d65c
fix: Correct minor typos (#6132) 2023-01-23 18:10:42 -03:00
Fabian-Lars
60e6f6c3f1
feat(bundler): Add support for creating NSIS bundles on unix hosts (#5788)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-19 15:42:40 -03:00
Amr Bashir
35b587c830
feat: add languages support for nsis (#6039)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-19 14:39:53 -03:00
Amr Bashir
d4d6a98d98
fix(core): convert js Map to object before serialization, closes #6078 (#6099)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-18 22:17:01 -03:00
Lucas Nogueira
a822a6ad74
chore: update versions after ignore=0.4.18 patch 2023-01-18 21:47:26 -03:00
Lucas Nogueira
6ed2b04872
chore(deps): revert phf to 0.10 2023-01-17 13:26:22 -03:00
Lucas Fernandes Nogueira
630a7f4b18
refactor: remove mobile log initialization, ref #6049 (#6081) 2023-01-17 13:13:53 -03:00
Lucas Nogueira
7ccfa2fb0b
chore(deps): pin ignore to =0.4.18 2023-01-17 13:10:09 -03:00
Lucas Nogueira
1b9f0ec350
fix(core): adjust aes_gcm usage 2023-01-17 13:09:49 -03:00
Lucas Nogueira
276a0362de
chore(deps): update wry 2023-01-17 12:42:27 -03:00
Lucas Nogueira
2455328f81
fix(core): WindowBuilder::from_config documentation example 2023-01-17 12:28:11 -03:00
Lucas Nogueira
f4fe3beb84
chore(tauri-utils): update dependencies 2023-01-17 12:25:01 -03:00
Lucas Nogueira
54a4a14b41
Revert "chore(deps): update embed_plist to 1.4"
This reverts commit b3591d46e6.
2023-01-17 12:21:35 -03:00
Lucas Nogueira
b3591d46e6
chore(deps): update embed_plist to 1.4 2023-01-17 12:19:36 -03:00
Fabian-Lars
49dff27ef1
feat(core): create WindowBuilder from WindowConfig (#6073)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-16 22:29:21 -03:00
Shogo Hida
8c842a54a6
feature: disable mouse event when building windows on Linux, closes #5913 (#6025)
Co-authored-by: Wu Yu Wei <wusyong9104@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Fixes https://github.com/tauri-apps/tauri/issues/5913
2023-01-16 10:33:06 -03:00
Amr Bashir
50f6dd87b1
feat: improvements to support hyphens in crate name (#5989)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-06 14:31:48 -03:00
matthme
72aa17f79a
added additional information to AllowlistConfid documentation (#5985)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-04 18:21:26 -03:00
renovate[bot]
7ae67dde69
chore(deps) Update dependency eslint-config-standard-with-typescript to v26 (#5981)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-04 13:05:00 -03:00
Amr Bashir
c94e1326a7
feat(bundler): add nsis, closes #4450, closes #2319 (#4674)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-03 14:29:20 -03:00
Jason
4892637f83
fix: Resizing glitch on custom titlebar click (closes #2549) (#5966)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
closes https://github.com/tauri-apps/tauri/issues/2549
2023-01-03 14:14:37 -03:00
luofei
2265e09718
feat(windows): implement with_tooltip (#5938)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-31 13:24:39 -03:00
renovate[bot]
d703c7f459
chore(deps) Update Rust crate cargo_toml to 0.14 (#5928)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 12:55:19 -03:00
renovate[bot]
04ddee91e8
chore(deps) Update Rust crate ico to 0.3 (#5929)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 12:47:25 -03:00
Amr Bashir
077605f58b
refactor: use windows manifest already present in tauri-build crate (#5936)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-30 08:44:31 -03:00
Bo
00e1efaa9b
feat: customize button texts of message dialog (#4383)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-27 18:15:53 -03:00
Lucas Fernandes Nogueira
dee9460f9c
feat: keep CLI alive when iOS app exits, show logs, closes #5855 (#5902) 2022-12-27 18:12:01 -03:00
Amr Bashir
7a8d570db7
fix: sync webview theme with window theme on Windows, closes #5802 (#5874)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-27 14:57:02 -03:00
renovate[bot]
488a7562bb
chore(deps) Update dependency eslint-config-standard-with-typescript to v24 (#5832)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-27 13:15:58 -03:00
Darin Morrison
3f35b45263
Expose wry navigation_handler via WindowBuilder closes #4080 (#5686)
Co-authored-by: silvanshade <silvanshade@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-27 12:54:57 -03:00
Amr Bashir
146a794cb6
fix(core): sync windows metadata across all windows, closes #5571 (#5615)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-27 12:19:07 -03:00
Lucas Fernandes Nogueira
d17027e1a0
feat: expose url method (#5914)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
2022-12-26 15:31:40 -03:00
Lucas Nogueira
1956a3aeda
fix(core): window allowlist error message for internal APIs 2022-12-23 22:28:04 -03:00
github-actions[bot]
7945e549b7
(NEXT) Apply Version Updates From Current Changes (#5892)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-12-22 11:42:10 -03:00
Amr Bashir
9ad0a9a0aa
Merge pull request from GHSA-6mv3-wm7j-h4w5
* fix(core): use `require_literal_separator` when matching paths

* document the need for `require_literal_separator`

* use `require_literal_leading_dot`
2022-12-22 11:37:58 -03:00
Lucas Nogueira
14d567f7ec
chore: update tauri changelog 2022-12-22 11:35:29 -03:00
Amr Bashir
72389b00d7
Merge pull request from GHSA-6mv3-wm7j-h4w5
* fix(core): use `require_literal_separator` when matching paths

* document the need for `require_literal_separator`

* use `require_literal_leading_dot`
2022-12-22 15:53:46 +02:00
Lucas Nogueira
0189c1dbef
chore: remove println statement 2022-12-19 11:13:30 -03:00
Lucas Nogueira
4f2fd4dcf7
chore: run cargo fmt 2022-12-15 18:40:57 -03:00
github-actions[bot]
61af5ce1ed
(NEXT) Apply Version Updates From Current Changes (#5814)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-12-15 18:32:12 -03:00
Lucas Nogueira
d7ffa7f95e
chore: addition to previous commit 2022-12-15 18:28:44 -03:00
Lucas Nogueira
015020760a
chore: fix clippy warnings 2022-12-15 18:03:28 -03:00
Lucas Nogueira
d21c4a0a89
chore: fix clippy warnings 2022-12-15 17:56:23 -03:00
Lucas Nogueira
d600405a10
chore(deps): bump wry to 0.23.4 2022-12-15 17:21:27 -03:00
Amr Bashir
bca09f7f5f
feat(tauri-build): add option to specify Windows manifest, closes #5584 (#5730)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-14 12:18:46 -03:00
Noam Zaks
3dc38b150e
feat(core): expose additional_browser_args to window config (fix: #5757) (#5799)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-14 11:46:24 -03:00
renovate[bot]
1efe861d3c
chore(deps) Update Rust crate json-patch to 0.3 (#5828)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 09:01:20 -03:00
renovate[bot]
19ec53fae4
chore(deps) Update Tauri Codegen (#5830)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-14 09:00:36 -03:00
filip
73fd60eef2
expose set_device_event_filter in tauri (#5562)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Closes https://github.com/tauri-apps/tauri/issues/5496
2022-12-13 13:57:32 -03:00
Amr Bashir
4ab5545b7a
feat: add content protection api, closes #5132 (#5513)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-13 01:04:22 -03:00
Amr Bashir
233e43b0c3
feat: add title getter on window, closes #5023 (#5515)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-13 00:59:09 -03:00
Lucas Fernandes Nogueira
d0d873e39a
feat(core): add support to mailto: and tel: links, closes #5521 (#5544) 2022-12-13 00:57:39 -03:00
Lucas Fernandes Nogueira
3ad5e72ff1
feat(core): cache dev server proxy responses for 304 status code (#5818) 2022-12-12 23:00:03 -03:00
Lucas Fernandes Nogueira
a9b4cf20a3
fix(core): use entire request URL on dev server proxy (#5819) 2022-12-12 22:59:39 -03:00
Lucas Nogueira
8f47825aac
chore: remove unused imports on mobile builds 2022-12-12 15:14:04 -03:00
crpz1
62144ef3be
feat: add is_minimized (fix #3878) (#5618)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
fixes https://github.com/tauri-apps/tauri/issues/3878
2022-12-12 10:34:19 -03:00
Lucas Nogueira
1d20db7410
chore: update bundle.global.js 2022-12-09 15:11:15 -03:00
github-actions[bot]
25416a64ba
(NEXT) Apply Version Updates From Current Changes (#5787)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-09 14:27:41 -03:00
Lucas Fernandes Nogueira
fa3a10988a
feat(ci): prepare 2.0.0-alpha.0 (#5786) 2022-12-08 16:28:12 -03:00
Lucas Nogueira
1092865e67
Merge branch 'dev' into next 2022-12-08 14:19:44 -03:00
github-actions[bot]
75a0c79dea
Apply Version Updates From Current Changes (#5710)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-12-08 11:57:21 -03:00
Orvar Segerström
c14b1df372
fix(core): Invoke event listener in windows safely to avoid causing uncaught errors in windows that have loaded external urls (#5563)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-08 11:32:52 -03:00
Lucas Nogueira
fdcd77338c
chore(deps): update wry to 0.23 2022-12-08 09:01:12 -03:00
Lucas Nogueira
4f087cfd92
chore(deps): pin wry to 0.22.6 2022-12-07 16:28:40 -03:00
Amr Bashir
8866ecac3c
feat(core): add tauri::Builder::enable_macos_default_menu (#5756) 2022-12-07 11:01:53 +08:00