github-actions[bot]
be3a79c864
apply version updates ( #12856 )
...
Co-authored-by: lucasfernog <20051258+lucasfernog@users.noreply.github.com >
2025-03-20 15:34:59 -03:00
Lucas Nogueira
ba42a1f553
chore: pin tao and wry to latest patch versions
...
they include necessary bug fixes for the 2.4 release
2025-03-20 14:52:38 -03:00
Thomas Eizinger
658e5f5d1d
feat: introduce App::run_return ( #12668 )
...
* Introduce `run_return`
* Fix compile error
* Clone web_context
* Refactor to Result API
* Fix clippy
* Impl mock runtime
* Make it desktop-only
* Add changelog entry
* Fix compile error
* Make it semver compatible
* Extend changelog entry
* Undo semver-hack
* Reduce diff
* Remove unnecessary mut
* Make it take `self` by value
* Reduce diff
* Undo diff hack
* Make everything cfg(desktop)
* Rename vars to reduce diff
* Fix clippy
* Extract make_event_handler
* Reduce diff
* Deprecate `App::run_return`
* Update changelog
* Fix compile errors
* Accept reference
* Create event handler first
* Update example
* Update manifest
* Fix example
* Fix example docs
* Call `setup` only upon Ready
* Update changelog entry
* Update docs
* Update changelog
* Add platform-specific note
* update docs
* run_return on mobile
* Apply suggestions from code review
* remove change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2025-03-16 07:04:22 -03:00
Adam Charron
cedb24d494
feat: add Webview::cookies and Webview::cookies_for_url() ( #12665 )
...
* Add support for fetching cookies by url
* Add support for fetching all cookies
* add missing getters, update change file
* update docs for windows deadlock
* fix mobile build
* Update crates/tauri-runtime/Cargo.toml
* add docs for stability [skip ci]
---------
Co-authored-by: Adam Charron <acharron@higherlogic.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2025-03-15 12:34:41 -03:00
Fabian-Lars
30f5a1553d
feat: traffic light position ( #12366 )
...
* moving to macbook
* that was so weird to implement
* rm patch
* Discard changes to Cargo.lock
* Create change-pr-12366.md
* add missing builder fn
* remove test
* split change files
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2025-03-15 12:18:11 -03:00
Simon Laux
d8059bad3c
add AppHandle.fetch_data_store_identifiers and AppHandle.remove_data_store ( #12900 )
...
* add `AppHandle::fetch_all_data_store_identifiers` and `AppHandle::remove_data_store`
* make it run on main thread, so you can call the function from any thread and it works.
* changes file
* update signature, move functions to RuntimeHandle
* add api
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2025-03-13 18:17:22 -03:00
Simon Laux
be2e6b85fe
add Window.is_always_on_top() and WebviewWindow.is_always_on_top() ( #12944 )
...
* add `Window.is_always_on_top()` and `WebviewWindow.is_always_on_top()`
* add api
* fmt
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2025-03-13 18:02:01 -03:00
Simon Laux
c698a6d6f3
feat: add Webview.reload and WebviewWindow.reload ( #12818 )
...
* feat: add `Webview.reload` and `WebviewWindow.reload`
* fix tests
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2025-03-02 15:11:25 -03:00
Simon Laux
20c1906912
feat: add WebviewBuilder.disable_javascript and WebviewWindowBuilder.disable_javascript ( #12821 )
...
* feat: add `WebviewBuilder.disable_javascript` and `WebviewWindowBuilder.disable_javascript`
* wry 0.50.3
* add missing config options and API types
* add change file for api
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2025-03-02 14:54:34 -03:00
github-actions[bot]
cab7f76d01
apply version updates ( #12826 )
...
Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com >
2025-02-28 14:14:08 +01:00
Amr Bashir
e103e87f15
fix(windows): ensure APIs exist before using it ( #12848 )
...
* fix(windows): ensure APIs exist before using it
* fix build on other platforms
* clippy
* use GetSystemMetricsForDpi
2025-02-28 14:46:16 +02:00
github-actions[bot]
7d618f12d8
apply version updates ( #12518 )
...
Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com >
2025-02-26 12:45:31 -03:00
Amr Bashir
385a41dea2
enhance(windows): disable our in-client resizing for undecorated window with shadows ( #12817 )
...
* enhance(windows): disable our in-client resizing for undecorated window with shadows
ref: https://github.com/tauri-apps/tao/pull/1052
* skip hittesting for undeceorated windows
2025-02-26 17:21:46 +02:00
Fabian-Lars
d6520a21ce
chore(deps): wry@0.50 muda@0.16 tray-icon@0.20 windows@0.60 webview2-com@0.36 objc@0.6 window-vibrancy@0.6 tao@0.32 ( #12541 )
...
* chore(deps): Update windows to 0.59. Update webview2-com to 0.35
* wry and other crates and objc2
* window-vibrancy 0.6
* Update windows059-webview035.md
* win compile error
* tao
* tao 0.32.1
* updatus maximus
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2025-02-25 19:41:00 +02:00
Bastian Kistner
a2d36b8c34
feat: disable background throttling ( #12181 )
...
Co-authored-by: Fabian-Lars <github@fabianlars.de >
2025-01-25 22:20:31 +01:00
Fabian-Lars
881729448c
fix(cli): Ignore file access events ( #12164 )
2025-01-03 15:00:31 +01:00
github-actions[bot]
cd841d8e33
Apply Version Updates From Current Changes ( #11659 )
...
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com >
2025-01-02 19:29:17 +01:00
renovate[bot]
b0ddee8992
chore(deps): update rust crate wry to 0.48 (dev) ( #12101 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de >
2025-01-02 01:01:31 +01:00
Amr Bashir
afad8067d1
chore(deps): update tao to 0.31 ( #11906 )
2024-12-09 12:16:33 +02:00
lars-berger
18bd639f6e
feat(macos): Add with_data_store_identifier to WebviewBuilder ( #11798 )
2024-11-28 04:43:34 +02:00
Liigo Zhuang
7a9b920c3e
docs: Remove header images from inline docs ( #11749 )
2024-11-21 14:48:49 +02:00
AHQ
020ea05561
feat: Implement Badging API ( #11661 )
2024-11-20 02:59:28 +02:00
SpikeHD
dc4d794776
feat(windows, linux): add WebviewWindowBuilder/WebviewBuilder::extensions_path ( #11628 )
2024-11-13 01:20:06 +02:00
github-actions[bot]
86f22f0ec9
apply version updates ( #11440 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com >
2024-11-09 15:47:39 +02:00
Amr Bashir
3f6f07a1b8
chore(deps): update wry to 0.47 and tao to 0.30.6 ( #11627 )
2024-11-09 04:14:22 +02:00
Amr Bashir
229d7f8e22
fix(core): fix child webviews on macOS and Windows treated as full webview window ( #11616 )
...
* fix(core): fix child webviews on macOS and Windows treated as full webview window
closes #11452
* Update .changes/child-windows-macos.md
2024-11-08 08:04:14 -03:00
Amr Bashir
4d545ab3ca
feat: background color APIs ( #11486 )
...
* feat: background color APIs
closes #10519
closes #1564
* clippy
* git branch
* bundle
* fix hex color schema pattern
* add missing `^`
* fix iOS
* revert test
* revert apple-codesign bump
* fmt
* add change files
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-11-06 13:21:47 -03:00
Amr Bashir
cbc095ec5f
feat: add WebviewWindow/Webview::devtools ( #11451 )
...
* feat: add `WebviewWindow/Webview::devtools`
closes #10849
* clippy
* fix ToTokens
* document default behavior
* move builder usage
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-11-05 16:00:48 -03:00
Amr Bashir
2a75c64b54
feat(core): add window_class name API on Windows ( #11469 )
...
* On Windows, set name of Window Class, closes #7498
allow to customize it instead of current value hard coded "Window Class"
* feat(windows): add window_classname, closes #7498
allow to customize the window class name instead of current value hard coded "Window Class"
* feat: add window_classname, closes #7498
* add changes file
* Update core/tauri-config-schema/schema.json
* Update tooling/cli/schema.json
* missing pieces after merge
* clippy
---------
Co-authored-by: Géraud-Loup <47665233+geraudloup@users.noreply.github.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-11-05 15:18:47 -03:00
Amr Bashir
f37e97d410
feat: add use_https_scheme for Windows and Android ( #11477 )
...
* feat: add `use_https_scheme` for Windows and Android
closes #11252
* fix compilation
* Apply suggestions from code review
Co-authored-by: Fabian-Lars <github@fabianlars.de >
* change wording
* add migrations
* migrate `dangerousUseHttpScheme`
* fmt
* infer AssetResolver::get https scheme config
* fix tests
---------
Co-authored-by: Fabian-Lars <github@fabianlars.de >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-11-05 09:48:59 -03:00
Amr Bashir
129414faa4
fix: fix webview not focused by default ( #11569 )
...
* fix: fix webview not focused by default
closes #10746
* fix compile
* typo
* fix compile again
* clippy
2024-11-04 13:58:47 +02:00
Amr Bashir
8c6d1e8e6c
fix(runtime-wry): run cursor_position getter on main thread ( #11401 )
...
* fix(runtime-wry): run `cursor_position` getter on main thread
closes #10340
* clippy
* clippy
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-10-22 09:59:21 -03:00
Lucas Nogueira
8ca0e4dd2c
chore(ci): bump tauri-utils with WiX version change
2024-10-20 11:13:40 -03:00
github-actions[bot]
df83e5c7fc
apply version updates ( #11361 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-10-14 22:46:51 -03:00
Lucas Fernandes Nogueira
ef2482ddec
fix(core): crash on macOS older than Sequoia ( #11366 )
...
ref https://github.com/tauri-apps/wry/pull/1389
2024-10-14 21:55:42 -03:00
github-actions[bot]
1bfe2485bb
Apply Version Updates From Current Changes ( #11255 )
...
* apply version updates
* tauri 2.0.3 (patch bump)
---------
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-10-12 12:28:16 -03:00
Amr Bashir
2d087ee4b7
fix: fix incorrect label passed to ipc protocol ( #11268 )
...
* fix: fix incorrect label passed to `ipc` protocol
closes #11171
* update lock file
* Update .changes/incorrect-label-linux-command.md
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
* Update .changes/incorrect-label-linux-protocol.md
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
* clippy
* try wry from dev
* fix macos build
* fix ios build
* update wry
* Update .changes/incorrect-label-linux-command.md
* wry 0.46
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-10-12 07:46:51 -03:00
github-actions[bot]
6d98f2462b
apply version updates ( #11207 )
...
Co-authored-by: tweidinger <tweidinger@users.noreply.github.com >
2024-10-03 09:01:02 -03:00
Lucas Fernandes Nogueira
c7b9a53525
chore: promote to v2 stable ( #11198 )
...
* chore: promote to v2 stable
- deletes all RC change files
- adds a new change file to promote all packages to v2 stable
- manually fix the tauri-driver, tauri-macos-sign, tauri-bundler versions so the next covector bump will move them to 2.0.0
- manually patch the metadata-v2.json file so the next covector update will mark all packages as 2.0.0
* ignore audit vuln without fixes
* bump msrv to 1.78
* run covector version
* fix sync lockfile covector
* #[allow(clippy::manual_inspect)]
2024-10-02 09:42:45 -03:00
github-actions[bot]
12de4fa7c7
apply version updates ( #11062 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-09-27 17:51:55 -03:00
Amr Bashir
de7414aab9
feat: add Window::set_enabled and Window::is_enabled ( #11154 )
...
* feat: add `Window::set_enabled` and `Window::is_enabled`
closes #6660
* license headers
* fix build
* fix mobile and macos
* fix macos
* again
* unsafe
* fix macos is_enabled
* update example
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-09-27 14:35:01 -03:00
Amr Bashir
d9d2502b41
feat: add Webview::show and Webview::hide ( #11140 )
...
closes #11126
2024-09-27 08:30:29 +03:00
Tillmann
e08c4e6888
Change V1 links to V2 site ( #11111 )
...
* Change V1 links to V2 site
* update lockfile
---------
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com >
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev >
2024-09-24 08:09:00 -03:00
Tony
11db7be6c2
feat(core): add a new function to set theme dynamically ( #10210 )
...
closes #5279
2024-09-24 05:18:53 +03:00
Amr Bashir
62b3a5cd1c
fix(core): share webcontext between webviews ( #11043 )
...
* fix(core): share webcontext between webviews
closes #10981
* update wry version
* Update crates/tauri-runtime-wry/src/lib.rs [skip ci]
* on linux, only register protocol once per context
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-09-21 07:42:07 -03:00
Amr Bashir
9014a3f176
feat: add webview.clear_all_browsing_data ( #11066 )
...
* feat: add `webview.clear_all_browsing_data`
closes #6567
* fix build on iOS and android
* fix command name references
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-09-20 08:18:07 -03:00
SpikeHD
a247170e1f
feat: Expose ability to enable browser extensions in WebView2 ( #11056 )
2024-09-19 18:46:23 +03:00
github-actions[bot]
cbdcee61dc
Apply Version Updates From Current Changes ( #11029 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-09-17 09:02:10 -03:00
github-actions[bot]
b1dacd539a
Apply Version Updates From Current Changes ( #11014 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
2024-09-15 18:36:42 -03:00
Mads Marquart
bc4804d484
feat: Migrate to objc2 ( #10924 )
...
* Migrate from objc/cocoa to objc2
* Update crates/tauri-runtime-wry/src/webview.rs
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-09-15 17:15:47 -03:00