Amr Bashir
cb640c8e94
fix(runtime-wry): propagate wry file drop event to tao event loop, closes #8206 ( #8393 )
...
* fix(runtime-wry): propagate wry file drop event to tao event loop
* fix build
* always block default OS file drop behavior
* Update .changes/runevent-filedrop.md [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-12-28 10:20:24 -03:00
Lucas Fernandes Nogueira
af565c2a20
fix(macos): allow canceling data-tauri-drag-region
maximization #8312 ( #8487 )
2023-12-28 10:03:14 -03:00
Amr Bashir
0ea1a47254
ci: use default options for repository-dispatch ( #8455 )
2023-12-27 13:00:39 -03:00
Olivier Lemasle
091100acbb
feat(bundler): Add RPM packaging, closes #4402 ( #5202 )
...
* feat(bundler): Add RPM packaging
* feat(bundler): Update 'rpm' to 0.13.1
* Fix fmt
2023-12-23 18:38:15 +01:00
Amr Bashir
2032228cad
refactor!: remove GlobalWindowEvent
type ( #8430 )
...
* refactor!: remove `GlobalWindowEvent` type
* takee references instead
2023-12-19 14:20:00 -03:00
Lucas Nogueira
a9b87c057d
Merge branch '1.x' into dev
2023-12-19 13:52:53 -03:00
Lucas Nogueira
6cd6d3fb32
chore(utils): add change file for #7964
2023-12-19 12:48:05 -03:00
Lucas Nogueira
30c5d86f88
fix: bump tauri-runtime-wry for #8213
2023-12-19 11:33:35 -03:00
github-actions[bot]
e44b36fea4
Apply Version Updates From Current Changes ( #8274 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-12-19 11:03:26 -03:00
Lucas Fernandes Nogueira
effe5871af
fix(core): scope checks on Android ( #8420 )
...
* fix(core): scope checks on Android
On Android, when we call canonicalize() on "/data/user/0/appid" (which is the data dir), the result is a "/data/data/appid" path, so we need to adjust our scope for that.
* clarify code
* apply the logic to all targets
2023-12-19 10:19:26 -03:00
Lucas Fernandes Nogueira
b59f2f54e7
feat(core): expose scope::fs::Scope::new ( #8432 )
2023-12-18 21:29:12 -03:00
Amr Bashir
50a3d170f2
fix(core/dialog): reconstruct path using appropriate separator, closes #8074 ( #8408 )
...
* fix(core/dialog): reconstruct path using appropraite separator, closes #8074
* Update dialog-window-forward-slash.md
* Update dialog.rs
* Update core/tauri/src/endpoints/dialog.rs
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-12-18 21:08:18 -03:00
Lucas Fernandes Nogueira
11a1529d6a
feat(core): set CORS headers on protocol errors ( #8419 )
...
* feat(core): set CORS headers on protocol errors
This ensures the frontend can read the error message instead of just showing a CORS error
* fix statuscode
2023-12-18 20:54:40 -03:00
Amr Bashir
9b230de7bc
fix(utils/config): fix parsing f64
values, closes #8252 ( #8407 )
2023-12-18 18:18:44 -03:00
Amr Bashir
428ea6524c
feat(api): expose Resource
class ( #8370 )
...
* feat(api): expose `Resource` class
continuation of https://github.com/tauri-apps/tauri/pull/8276
* Apply suggestions from code review
* fmt
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-12-18 18:16:21 -03:00
Lucas Fernandes Nogueira
0d0501cb7b
refactor(clipboard): use arboard instead of tao closes #8177 ( #8394 )
...
* refactor(clipboard): use arboard instead of tao closes #8177
* update api lock
* add change file
2023-12-14 13:41:20 -03:00
Alexandre Dang
3c371aa8ee
feat(core): add test::test::get_ipc_response, closes #8199 ( #8228 )
...
* feat(core): Add additional functions to the
* Add documentation and cleanup the code
* Improve and add tests to helper functions
* Clean unecessary code and correct tests
* Make `Ipc` and `IpcKey` public
* Open `Ipc` with public functions
* Update core/tauri/src/test/mod.rs
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
* cleanup, change file
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
2023-12-14 11:52:45 -03:00
Alexandre Dang
db12777742
feat(core): allow the MockRuntime
to call a command and get a return value + fix doctest ( #8380 )
...
* Add `get_ipc_response` to the `MockRuntime`
* Fix `MockRuntime` doctests
* Add support for raw ipc
* cleanup, add change file
* only a single get fn
---------
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
2023-12-14 11:52:25 -03:00
Guillem Córdoba
5848b4e8e9
Fixed channel deserialisation in iOS ( #8386 )
...
* Fixed channel
* Change file
2023-12-14 09:25:28 -03:00
Michael Howell
f98ce5aa47
fix: fix incorrect predefined menu item for Close Window ( #8328 )
...
* Fix incorrect predefined menu item for Close Window
* change file
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-12-12 00:29:55 +02:00
amrbashir
cf7d584033
chore: manually bump tauri-utils
2023-12-01 03:46:30 +02:00
github-actions[bot]
61cc7d9c5a
Apply Version Updates From Current Changes (v1) ( #8203 )
...
* apply version updates
* fmt
---------
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
2023-12-01 03:05:05 +02:00
Robin van Boven
c4b5df12bb
perf: skip large Window
and AppHandle
fields on traces ( #8318 )
...
* perf: Skip large Window and AppHandle fields on traces
These contain large fields like image buffers, causing spans/events to be very large when serialized.
Especially the `window::emit::eval` one which is in a hot code path.
* fix: MSRV issues
2023-11-30 16:56:24 +02:00
阿良仔
f78e5e4d4a
refactor: replace once_cell
with std::sync::OnceLock
( #8309 )
...
Our MSRV is currently 1.70 and these new types were introduced in 1.70
2023-11-29 01:12:03 +02:00
Lucas Nogueira
5e05236b49
feat(core): add tracing for vital functionality closes #5204 ( #8289 )
...
* feat(core): add tracing for vital functionality
* Update core/tauri-runtime-wry/src/lib.rs [skip ci]
* Update Cargo.toml [skip ci]
* tracing feature
* wry 0.24.6
* add change tag
* add tracing to CI test
* enhance spans for update check
* remove app from debug impl
2023-11-27 16:56:46 +02:00
Davide Ferrero
5ff6a74430
chore: aligned cocoa
crate to 0.25 ( #8297 )
2023-11-24 22:09:15 +02:00
Davide Ferrero
ad8836b1d2
chore: remove unused import muda::AboutMetadataBuilder
( #8294 )
2023-11-23 17:15:40 +02:00
Lucas Nogueira
b3e53e7243
feat(core): add AssetManager::iter ( #8288 )
...
This new function allows users to iterate on all embedded assets, important if you want to AssetManager::get an asset you are not sure exists.
2023-11-23 16:12:38 +02:00
Lucas Fernandes Nogueira
ebc3e78e68
feat: update to latest wry ( #8213 )
...
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
2023-11-21 12:32:06 -03:00
Amr Bashir
bf095df55a
feat: expose Manager::resources_table
( #8276 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-11-21 07:57:35 -03:00
Lucas Fernandes Nogueira
32bf201655
fix(bundler): lint and cleanup for #7964 ( #8275 )
2023-11-20 21:09:01 -03:00
Andrew
b0c5b06d06
feat(bundler): add dmg settings, closes #4669 ( #7964 )
2023-11-20 18:26:02 -03:00
Amr Bashir
3b91e236c6
refactor(tauri-utils)!: remove windows_version
and is_windows_7
( #8271 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-11-20 18:21:42 -03:00
Amr Bashir
5046270273
fix(api): add top-level main
, module
and types
fields ( #8267 )
2023-11-20 18:12:52 -03:00
Amr Bashir
b8756bc34e
perf: remove extranous call in StateManager::get
( #8272 )
2023-11-20 17:55:18 -03:00
Fabian-Lars
c2ad4d28c4
refactor(api)!: Rename primitives
mod to core
( #8273 )
2023-11-20 17:53:13 -03:00
github-actions[bot]
3acf0d2ba4
Apply Version Updates From Current Changes ( #8140 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-11-20 15:11:24 -03:00
renovate[bot]
aa1d67ab75
chore(deps) Update Tauri Core (dev) ( #8227 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-11-19 14:21:12 -03:00
Amr Bashir
d8f1b6c59b
feat: migrate manual implementation to the light windows-version
crate ( #8242 )
2023-11-19 08:51:17 -03:00
Amr Bashir
5e84e92e99
feat: migrate manual implementation to the light windows-version
crate ( #8243 )
2023-11-19 08:50:36 -03:00
Amr Bashir
f93148eac0
feat: add tray and menu javascript APIs and events, closes #6617 ( #7709 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-11-19 08:38:24 -03:00
Amr Bashir
4b6a602a89
fix(updater): Use escaped installer path when starting the updater msi ( #8234 )
...
* fix(updater): Use escaped installer path when starting the updater msi
Continuation of https://github.com/tauri-apps/tauri/pull/7956
* fix build
2023-11-16 01:26:03 +02:00
renovate[bot]
9e3aff0a3a
chore(deps) Update Tauri Build (1.x) ( #8102 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-11-14 10:18:35 -03:00
renovate[bot]
e221aae531
chore(deps) Update Tauri Utils (1.x) ( #8105 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-11-14 09:52:58 -03:00
Lucas Fernandes Nogueira
2ba8856343
fix(core): docs.rs build failing for macOS ( #8095 )
2023-11-13 22:34:22 -03:00
i-c-b
b7add750ef
Fix file-drop event payload ( #8204 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-11-13 21:40:59 -03:00
renovate[bot]
b6ed4ecb37
chore(deps) Update Rust crate syn to v2 (dev) ( #7634 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-11-13 08:20:19 -03:00
renovate[bot]
e9aa7276e9
chore(deps) Update Tauri Core (dev) ( #7631 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-11-09 14:15:41 -03:00
renovate[bot]
ec78f1613a
chore(deps) Update Rust crate cargo_toml to 0.17 (dev) ( #8154 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 13:57:07 -03:00
Lucas Fernandes Nogueira
b5f40ae58d
fix(core): global events regression from #7996 closes #8146 ( #8147 )
2023-11-07 09:59:09 -03:00