Commit Graph

1485 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
b59f2f54e7
feat(core): expose scope::fs::Scope::new (#8432) 2023-12-18 21:29:12 -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
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
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
阿良仔
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
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 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
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
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
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
Lucas Fernandes Nogueira
04a682beb0
refactor(core): break manager struct into smaller ones (#8124) 2023-11-07 09:58:57 -03:00
Fabian-Lars
a547971209
fix(build): always invoke resource compiler on windows, fixes #8164 (#8168)
* fix(build): Always invoke resource compiler on windows, fixes #8164

* move all the stuff out of the version check

* check for icon path when setting the icon
2023-11-06 21:46:25 +02:00
github-actions[bot]
618c4538ea
Apply Version Updates From Current Changes (#8064)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-28 15:04:15 -03:00
Fabian-Lars
b89de9fa43
feat(android): Add onResume and onPause to android plugins (#8092)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-28 14:38:13 -03:00
Lucas Fernandes Nogueira
0601d5dddb
fix(docs): set the --cfg docsrs arg for docs.rs build (#8123) 2023-10-28 08:04:35 -03:00
Lucas Fernandes Nogueira
74d2464d0e
refactor(core): implement on_page_load event using wry hook (#8116) 2023-10-27 10:00:59 -03:00
Amr Bashir
c7c2507da1
chore(deps): update windows-rs to 0.51 and webview2-com to 0.27 (#8035)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-24 13:17:06 -03:00
DK Liao
9580df1d7b
chore(deps): upgrade gtk to 0.18 (#8084)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-24 12:26:24 -03:00
Amr Bashir
a0f7b88fd8
build(api.js): simplify output JS files (#8025)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-23 18:22:00 -03:00
Amr Bashir
93c8a77b34
refactor: enhance event system rust apis (#7996)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-23 15:10:01 -03:00
Lucas Fernandes Nogueira
198abe3c2c
feat(plugins): typed invoke arguments for mobile plugins (#8076) 2023-10-23 14:09:42 -03:00
renovate[bot]
31cb582756
chore(deps) Update Tauri Build (dev) (#8044)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-22 10:47:43 -03:00
Lucas Nogueira
c6c59cf237
Merge branch '1.x' into dev 2023-10-20 08:56:02 -03:00
renovate[bot]
c982e52eb0
chore(deps) Update Rust crate json-patch to 1.2 (dev) (#8043)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 00:04:49 +00:00
renovate[bot]
d4042ebd88
chore(deps) Update Tauri Utils (dev) (#8050)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 23:59:30 +00:00
renovate[bot]
10da70307a
chore(deps) Update Tauri Codegen (1.x) (#7576)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-19 23:44:04 +00:00
Lucas Fernandes Nogueira
22f26882cf
fix(core): prevent iOS crash on invalid plugin response JSON (#8049) 2023-10-19 22:47:43 +00:00
github-actions[bot]
d16206a086
Apply Version Updates From Current Changes (#8005)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-19 16:04:21 +00:00
Lucas Fernandes Nogueira
9bead42dbc
feat(cli): allow rotating updater private key (#8059) 2023-10-19 15:43:48 +00:00
Lucas Fernandes Nogueira
ebcc21e4b9
refactor: change prefix of hook env vars to TAURI_ENV_, closes #8054 (#8057) 2023-10-19 10:46:04 -03:00
renovate[bot]
117a7dc2bb
chore(deps) Update Tauri Utils (dev) (#7632)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-10-18 13:36:41 -03:00
renovate[bot]
5c0eeb40c1
chore(deps) Update Tauri API Definitions (dev) (major) (#7638)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-18 10:37:30 -03:00
martin frances
8db26bd3e9
fix(core): Clippy fixes. (#7869)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-18 09:47:43 -03:00
Andre Lew
c1ec0f1551
feat(core): expose always_on_bottom, closes #7847 (#7933)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-18 09:47:24 -03:00
Jason Tsai
c085addab5
feat: set application progress bar, close #7999 (#8009)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 16:25:30 -03:00
Amr Bashir
a6ad540696
refactor: change path and event plugins to follow the same convention as window (#8040) 2023-10-17 15:28:08 -03:00