Amr Bashir
58fe2e812a
fix: improvements and ipc fixes for loading window content using custom protocol ( #8670 )
...
* fix: improvements and ipc fixes for loading window content using custom protocol
closes #5478
* Discard changes to tooling/cli/Cargo.lock
* clippy
* fix tests
* typo
* fix webviewurl deserialize
* resolve todo, fixes
* fmt
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-01-31 09:38:25 -03:00
Lucas Fernandes Nogueira
00e1567584
refactor(core): exit() and restart() triggers ExitRequested and Exit ( #8708 )
...
* refactor(core): exit() and restart() triggers ExitRequested and Exit
* update docs
* update doc
2024-01-30 12:10:22 -03:00
Lucas Fernandes Nogueira
9af90ca7f3
feat(ipc): improve error message when plugin command is not allowed ( #8681 )
...
* feat(ipc): improve error message when plugin command is not allowed
* reuse literal_struct macro
2024-01-30 16:54:10 +02:00
Fabian-Lars
38b8e67237
feat: Add support for deep links ( #8680 )
...
* initial windows impl
* macos
* adapt windows impl to config changes for macos
* debian
* add missing x-scheme-handler prefix
* bundle xdg-mime
* typo
* revert messed up fmt
* rm pnpm lock
* rm todo
* Update core/tauri-utils/src/config.rs
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
* Update core/tauri-utils/src/config.rs
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
* &Option<> -> Option<&>
* DL0 -> R7
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-01-29 18:59:45 +02:00
Lucas Fernandes Nogueira
57e3d43d96
feat(acl): generate schema for scope ( #8690 )
...
* feat(acl): generate schema for scope
* allow plugin to define its global scope schema
* refactor to use schemas folder instead of individual files
* change signature
* delete .schema.json files
2024-01-29 13:36:31 -03:00
Lucas Fernandes Nogueira
f998fa0ec2
refactor(core): allow scope deserialization to run setup code ( #8699 )
...
* refactor(core): allow scope deserialization to run setup code
* Update core/tauri/src/command/authority.rs
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-01-29 13:31:03 -03:00
Lucas Fernandes Nogueira
11de49788a
feat(cli): migrate allowlist scope ( #8698 )
...
* feat(cli): migrate allowlist scope
* fix tests
* lint
* fix totokens impl
2024-01-29 12:50:21 -03:00
Lucas Fernandes Nogueira
2631e97e2b
fix(acl): command scope should not error out if missing ( #8675 )
...
* fix(acl): command scope should not error out if missing
* propagate error
2024-01-29 11:39:56 -03:00
Lucas Fernandes Nogueira
ec9818accb
refactor(core)!: App::run_iteration improvements ( #8696 )
...
* refactor(core): App::run_iteration improvements
* lint
* fixes
* fix exit
* Apply suggestions from code review
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
* update cargo.toml
* booooool
* fix mock runtime
* fix doctests
* fix doctest againrrrr
---------
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-01-29 10:52:44 -03:00
Lucas Fernandes Nogueira
d70470f868
feat(build): save ACL metadata ( #8678 )
...
* feat(build): save ACL metadata
metadata will be read by the CLI later to show the user what has been enabled and what can be done
* lint
* fix cli
2024-01-25 15:33:36 -03:00
AuTa
5e1ae87c0c
fix(core/window): set window_effects from config ( #8677 )
...
Signed-off-by: AuTa <auta520@live.com>
2024-01-25 14:07:39 +01:00
Lucas Fernandes Nogueira
fd4bf94d4c
refactor(acl): allow extending scope on the capability file ( #8674 )
2024-01-24 23:36:07 -03:00
Amr Bashir
734d78f736
fix: generate $schema field always with forward slash ( #8673 )
2024-01-24 21:57:41 -03:00
Lucas Fernandes Nogueira
049ca2d54f
fix(examples): deadlock on api example unit test ( #8671 )
2024-01-24 21:52:28 -03:00
Lucas Fernandes Nogueira
30a64a9cda
refactor: global scope error handling, fix usage with multiple plugins ( #8669 )
...
* refactor: global scope error handling, fix usage with multiple plugins
* lint
2024-01-24 20:57:46 -03:00
Lucas Fernandes Nogueira
4ca0932572
chore(plugin): use BTreeMap on plugin permission map ( #8668 )
2024-01-24 20:53:47 -03:00
Lucas Fernandes Nogueira
c77b40324e
refactor(core): add support to multiple webviews on a Tauri window ( #8280 )
...
* feat: update to latest wry
* wry dev branch [skip ci]
* fix linux [skip ci]
* refactor(runtime): split webview and window types
* split dispatch
* implement create_webview
* move webview message
* wip webview mod
* create webview manager, finish webview struct and builder
* fix tests and docs
* rename WindowUrl to WebviewUrl
* update examples
* event refactor
* update JS API
* fix events
* update example
* add WebviewWindow class on JS
* fix macos build
* allow creating window+webview on the same runtime call
* rename tauri://window-created to tauri://webview-created
* Window::add_child
* use inner_size from webview on macOS
* add multiwebview example
* automatically resize webviews on window resize
* fix tests
* set_position, set_size
* position, size getters
* set_focus
* add close fn
* update mock runtime
* lint [skip ci]
* fix inner_size getter [skip ci]
* import hwnd [skip ci]
* update webview bound ratios on set_size/set_position
* add auto_resize option
* fix android
* fix build on windows
* typo
* with_webview isnt desktop only
* add WebviewWindow rust struct (and builder)
* fix build on android
* license header
* fix macos/windows
* fix macos build
* resolve todo
* handle window not found
* hide unstable features
* document unstable feature [skip ci]
* webview plugin permissions
* hide more stuff
* fix doctests
* typos
* add change files
* fix examples
* rename hook
2024-01-24 11:05:18 -03:00
Lucas Fernandes Nogueira
74a2a6036a
chore: add change files for #8428 ( #8661 )
2024-01-23 13:19:51 -03:00
tweidinger
3c2f79f6f3
Tauri ACL/Allowlist v2 Implementation and Plugin System Refactor ( #8428 )
...
* tauri-plugin concept
* wip
* move command module to its own directory
* wip: new command traits and generated code
* wip: whip
* wip: static dispatch
there is a man standing behind me
* wip
* re-add authority
* fix build [skip ci]
* parse plugin permissions
* merge permission files [skip ci]
* parse capabilities [skip ci]
* resolve acl (untested) [skip ci]
* split functionality, add some docs
* remove command2 stuff
* actually check runtime authority
* small fixes [skip ci]
* add function to auto generate basic permission for a command [skip ci]
* retrieve command scope, implement CommandArg [skip ci]
* fix tests [skip ci]
* global scope
* lint
* license headers [skip ci]
* skip canonicalize
* separate scope type in example
* remove inlinedpermission struct [skip ci]
* permission file schema
* capabilities schema
* move items from tauri-plugin to tauri-utils
this allows tauri-plugin to depend on tauri directly again
which will be used by the runtime feature as a superset to
existing plugin traits
* enable schema and glob [skip ci]
* fix glob [skip ci]
* fix capability schema [skip ci]
* enhance schema for permission set possible values [skip ci]
* permission set can reference other sets [skip ci]
* setup tests for resolving ACL
* fixture for permission set [skip ci]
* remote context test and small fix[skip ci]
* ignore empty scope [skip ci]
* code review [skip ci]
* lint [skip ci]
* runtime fixes
* readd schema feature on tauri-config-schema [skip ci]
* remove plugin example from workspace, it breaks workspace features resolution [skip ci]
* scope as array, add test [skip ci]
* accept new shapshot [skip ci]
* core plugin permissions, default is now a set
* license headers
* fix on windows
* update global api
* glob is no longer optional on tauri-utils
* add missing permissions on api example [skip ci]
* remove ipc scope and dangerous remote access config
* lint
* fix asset scope usage
* create out dir [skip ci]
* reuse cargo_pkg_name [skip ci]
* capability window glob pattern [skip ci]
* add platforms for capability [skip ci]
* per platform schema [skip ci]
* lint [skip ci]
* rename allowlist build mod [skip ci]
* check restricted visibility
* simplify capability target [skip ci]
* hide codegen build behind tauri-build::try_run
* optimize build scripts [skip ci]
* fix tests
* tests for RuntimeAuthority::resolve_access
* remote domain glob pattern
* lint
---------
Co-authored-by: Chip Reed <chip@chip.sh>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-01-22 21:24:15 -03:00
Amr Bashir
7f033f6dcd
fix(core): fix undecorated window resizing, #8519 ( #8537 )
...
* fix(core): fix undecorated window resizing, fixes #8519
* js api
* fix invoke call
* Update tauri-window-start-resize-dragging.md
* clippy
2024-01-18 19:34:55 +02:00
Amr Bashir
9f8037c288
fix(core): clear window surface for transparent windows ( #8633 )
...
* fix(core): clear window surface for transparent windows
closes #8632
this may conflict with `tauri-egui` rendering to the surface so we may need to add an option to disable internal rendering
* fix build
2024-01-18 18:35:20 +02:00
Naman Garg
7aa30dec85
feat: Add Section, Priority and Changelog options ( #8620 )
...
* Init section, priority and changelog
* Add section. priority and changelog support
* fix variable name
* Add .changes file
* Fix Formatting
* Apply suggestions from code review
2024-01-17 04:21:46 +02:00
github-actions[bot]
e0b38d7434
Apply Version Updates From Current Changes ( #8438 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-01-16 18:11:50 -03:00
Lucas Nogueira
d621d3437c
feat: add tracing (port from #8289 ) ( #8607 )
...
* feat(tracing): add IPC tracing
* span for deserialization
* trace spans for IPC command handlers
* fix spans usage
* app tracing [skip ci]
* window tracing
* fix run never resolving all spans
* fix draw not entered
* change level
* feat(core): Manager::emit_filter and optimize serialization (#7512 )
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* event spans
* lint & fix tests
* change eval to run sync
* fix instrument
* update wry
* change separator
* Update core/tauri/src/plugin.rs
Co-authored-by: Jonas Kruckenberg <118265418+CrabNejonas@users.noreply.github.com>
* Update core/tauri/src/window.rs
Co-authored-by: Jonas Kruckenberg <118265418+CrabNejonas@users.noreply.github.com>
* Update core/tauri/src/window.rs
Co-authored-by: Jonas Kruckenberg <118265418+CrabNejonas@users.noreply.github.com>
* Update core/tauri/src/window.rs
Co-authored-by: Jonas Kruckenberg <118265418+CrabNejonas@users.noreply.github.com>
* Update core/tauri/src/window.rs
Co-authored-by: Jonas Kruckenberg <118265418+CrabNejonas@users.noreply.github.com>
* instrument separators
* remove on_event trace
* skip all arguments on App::build tracing
* ipc spans adjustments
* delete change file
* improve how request and response are added as values (serialize)
* do not run evalScript sync on android :( freezes the app
* wry 0.35.2
* add change file
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Jonas Kruckenberg <118265418+CrabNejonas@users.noreply.github.com>
2024-01-16 02:37:50 +02:00
阿良仔
1ca69bcf2f
fix(clipboard): build issues on wayland ( fix #8515 ) ( #8546 )
...
* fix(clipboard): fail to build on wayland
* specify exact version
* bump MSRV to 1.63
* revert msrv changes
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-01-15 19:52:49 +02:00
Fabian-Lars
b546b42db7
fix(core): Retain order of map keys in ipc, fixes #7922 ( #8577 )
...
* fix(core): Retain order of map keys in ipc, fixes #7922
* enable dep on http-api feature instead of http-request
* Create fix-formbody-order.md
* Update fix-formbody-order.md
2024-01-10 21:03:25 +02:00
pashokitsme
29ced5ceec
feat: add WindowBuilder::on_download
, closes #8157 ( #8159 )
...
* on_download_started & on_download_completed setters
* macos: default handler fn if not set
* remove default macos handler
* doc comments
* unify hooks, change files
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-12-30 11:46:53 -03:00
Palash Bansal
27bad32d4d
feat: Add files field in macos build config, closes #3290 ( #7798 )
...
* Add appContents field in macos tauri config.
* Change MacConfig::appContents to MacConfig::files to make it similar to DebConfig::files.
* Change appContents to files in helloworld/tauri.conf.json
* use common::copy_dir helper
* add change files [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-12-28 12:10:50 -03:00
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
8f8729d918
fix(core): allow canceling data-tauri-drag-region
maximization on macOS, closes #8306 ( #8312 )
...
* fix(core): allow canceling `data-tauri-drag-region` maximization on macOS, closes #8306
* Update .changes/tauri-data-drag-region-macos-maximize.md
* fix typo
* cancel if mouse moves
* Update tauri-data-drag-region-macos-maximize.md
[skip ci]
* Update core/tauri/scripts/core.js [skip ci]
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-12-28 09:13:48 -03:00
Amr Bashir
0ea1a47254
ci: use default options for repository-dispatch ( #8455 )
2023-12-27 13:00:39 -03:00
Amr Bashir
6e48837860
feat: re-export Url
( #8474 )
...
* feat: re-exoprt `Url`
`Url` is used/returned from public API, we should re-export it
* Update .changes/export-url.md
2023-12-27 12:59:26 -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
github-actions[bot]
5966812735
Apply Version Updates From Current Changes (v1) ( #8396 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-12-20 13:50:17 -03:00
Fabian-Lars
b2f83f03a8
fix(core): Replace Rc with Arc to prevent crashes when sending events ( #8402 )
...
* fix(core): Prevent crash when sending events.
* add change file
* use dedicated type for windows refcell map
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-12-20 12:13:00 -03:00
Amr Bashir
645e1dcc6e
fix(core/updater): check if installer args are not empty before passing -ArgumentList
closes #8296 ( #8404 )
2023-12-20 01:08:38 +02: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
Lucas Fernandes Nogueira
04a682beb0
refactor(core): break manager struct into smaller ones ( #8124 )
2023-11-07 09:58:57 -03:00
i-c-b
416370a627
enhance(docs): Document Windows-specific icon behaviour ( #8153 )
2023-11-06 20:12:26 -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
Lucas Fernandes Nogueira
13ce9ac836
fix: e2e test using invalid updater private keys ( #8086 )
2023-10-23 19:43:01 -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
Amr Bashir
fb10b87970
feat: move app plugin back to core ( #8039 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 15:13:47 -03:00
Amr Bashir
149056746c
refactor(core/plugin)!: inline result type alias ( #8037 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-10-17 14:33:17 -03:00
Amr Bashir
12b8d18bf7
refactor!: remove unnecessary error enum and result type aliases ( #7875 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 13:10:21 -03:00
Amr Bashir
ed32257d04
feat(windows): add tabbed effect ( #7794 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-17 12:29:10 -03:00
Lucas Fernandes Nogueira
a5686e1507
fix(core): compile on 32-bit targets ( #8032 )
2023-10-17 09:40:29 -03:00
Amr Bashir
a63e71f979
refactor(core&api)!: hide internal functions and reuse them in api.js & rename tauri
module to primitives
( #7942 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 09:40:20 -03:00
Amr Bashir
8b166e9bf8
refactor!: consistent environment variables ( #7949 )
...
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 09:17:02 -03:00
Amr Bashir
c9a9246c37
feat: move window
plugin back to core ( #8007 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 08:33:23 -03:00
Amr Bashir
2558fab861
refactor!: remove uuid and rand dependencies where applicable ( #7939 )
...
* refactor: remove uuid and rand dependencies where applicable
ref: https://github.com/tauri-apps/tauri/issues/7756
* replace rand with getrandom
* change files
* InnerListeners private
* revert listeners_object_name [skip ci]
* default for next_event_id
* remove raw listen function
* fix event system
* Apply suggestions from code review [skip ci]
* update names [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-10-17 05:47:41 +03:00
Amr Bashir
dfe0badf19
docs: document macOS restrictions on Menu::add_item
( #7983 )
2023-10-16 09:15:15 -03:00
Lucas Fernandes Nogueira
46dcb94110
feat(core): include mobile on docs.rs targets ( #8006 )
2023-10-11 17:16:01 -03:00
github-actions[bot]
441eb4f4a5
Apply Version Updates From Current Changes (v1) ( #7988 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-11 17:27:37 +00:00
Ziyang Hu
21cdbb41a3
fix: truncate file when not appending in writeFile
, closes #7973 ( #7982 )
...
* Fix https://github.com/tauri-apps/tauri/issues/7973
* Fix https://github.com/tauri-apps/tauri/issues/7973
* Fix https://github.com/tauri-apps/tauri/issues/7973
2023-10-09 16:22:54 +03:00
github-actions[bot]
713f84db2b
Apply Version Updates From Current Changes ( #7823 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-08 10:03:49 +00:00
Lucas Fernandes Nogueira
b2f17723a4
feat(cli): use devicetl to connect with iOS 17 devices ( #7971 )
2023-10-07 14:16:27 -03:00
Lucas Fernandes Nogueira
40d340021c
fix(bundler): team ID is now required for notarytool via app password ( #7972 )
2023-10-06 14:33:49 -03:00
Fabian-Lars
cdd5516f33
fix(bundler): Use escaped installer path when starting the updater setup, fixes #7931 ( #7956 )
...
* fix(bundler): Use escaped installer path when starting the updater setup, fixes #7931
* fun ci stuff
* who needs lockfiles anyway
* stahp
* please let it be the last one. i want to leave
2023-10-05 00:45:43 +03:00
Amr Bashir
b597aa5f39
feat: add id
option for tray icon in config file ( #7871 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-10-03 10:18:19 -03:00
Lucas Fernandes Nogueira
68e7319305
fix(core): update scope usage following #7944 ( #7946 )
2023-10-03 08:44:25 -03:00
martin frances
44e8a562a2
fix: Cleared warnings seen while running ``cargo doc
`` ( #7862 )
2023-10-03 08:37:54 -03:00
Amr Bashir
c0d03af470
refactor!: renamed TrayIconBuilder/TrayIcon::on_tray_event
to TrayIconBuilder/TrayIcon::on_tray_icon_event
( #7943 )
2023-10-03 07:53:47 -03:00
Amr Bashir
b7fd88e18d
refactor!: consistent naming in tauri::scope
module ( #7944 )
2023-10-03 07:50:00 -03:00
github-actions[bot]
19249d78fb
Apply Version Updates From Current Changes (v1) ( #7938 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-02 13:16:57 -03:00
Lucas Fernandes Nogueira
3671edbcff
fix(core): toggle devtools via global shortcut ( #7937 )
...
* fix(core): toggle devtools via global shortcut
* Update .changes/fix-toggle-devtools.md
2023-10-02 17:19:01 +03:00
github-actions[bot]
a3277a245c
Apply Version Updates From Current Changes (v1) ( #7924 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2023-09-30 04:41:23 +03:00
github-actions[bot]
0af553da72
Apply Version Updates From Current Changes (v1) ( #7261 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-09-28 14:01:19 -03:00
Lucas Fernandes Nogueira
c68fbfcb2d
fix: Returns a warning instead of panicking if an AppImage is not mounted, closes #7736 ( #7912 )
...
Co-authored-by: Benjamin Demetz <50681275+Benji377@users.noreply.github.com>
2023-09-28 10:46:17 -03:00
Benjamin Demetz
1bce7397a4
fix: Returns a warning instead of panicking if an AppImage is not mounted, closes #7736 ( #7843 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-09-28 10:22:11 -03:00
Fabian-Lars
9aa34ada57
feat(core): Allow http origin on Windows, fixes : #3007 ( #7645 )
...
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-09-26 14:40:38 -03:00
Trey Smith
5ecb46b341
fix: rpath missing from app, closes #7710 ( #7773 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
fix: codesign doesn't sign frameworks or sidecar, closes #7690 (#7774 )
2023-09-24 19:11:20 -03:00
Amr Bashir
deea943626
refactor!: changed Env.args
to Env.args_os
and use OsString
instead of String
( #7876 )
...
ref: https://github.com/tauri-apps/tauri/issues/7756
2023-09-21 15:56:03 +03:00
Amr Bashir
092a561ca6
refactor!: remove tauri::api
module ( #7874 )
...
* refactor!: remove `tauri::api` module
ref: https://github.com/tauri-apps/tauri/issues/7756
* change file
* fix builds
2023-09-21 15:55:42 +03:00
Amr Bashir
c3ac1f836b
docs: use http::*
qualified import instead of an alias ( #7873 )
2023-09-21 15:34:13 +03:00
Logan Keenan
a2021c30ba
fix: remove mut self from set_native_icon signature ( #7866 )
...
* fix set_native_icon compile error
* Update core/tauri/src/menu/icon.rs
* Update core/tauri/src/menu/icon.rs
* Create set_native_icon_signature.md
* Update .changes/set_native_icon_signature.md
2023-09-21 02:21:33 +03:00
Trey Smith
dcdbe3eb6c
fix: codesign doesn't sign frameworks or sidecar, closes #7690 ( #7774 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-09-15 12:09:10 -03:00
Lucas Fernandes Nogueira
990295304f
fix(core): remove unused rand dependency, ignore quickcheck_macros ( #7838 )
2023-09-15 10:58:56 -03:00
Lucas Fernandes Nogueira
995ffc629b
fix(ci): recreate symlink so the integration tests works ( #7833 )
2023-09-13 21:55:47 -03:00
Lucas Fernandes Nogueira
b3ebe4de3c
chore(config-schema): remove unused deps ( #7824 )
2023-09-12 23:55:27 +03:00
Amr Bashir
a68ccaf59a
fix: skip leading slash for asset protocol, closes #7815 ( #7822 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-09-12 16:57:11 -03:00
i-c-b
100d9ede35
fix(core): Correctly detect Android Tauri configuration file, closes #7785 ( #7802 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-09-12 13:18:23 -03:00
Amr Bashir
4bf1e85e6b
fix(windows): respect focused: false
for webview, closes #7519 ( #7722 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
fix(windows): respect `focused: false` for webview, closes #7519
2023-09-11 17:00:06 -03:00
Davis Silverman
0b0bc81710
Extend context.rs to dynamically find the OUT_DIR for certain assets ( #7534 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-09-11 16:59:30 -03:00
github-actions[bot]
3c66a53a9e
Apply Version Updates From Current Changes ( #7811 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-09-11 13:00:21 -03:00
Lucas Fernandes Nogueira
d5074af562
fix: custom protocol on Windows, change scheme on Android, closes #7801 ( #7808 )
2023-09-11 12:25:06 -03:00
github-actions[bot]
a6a42f8f0a
Apply Version Updates From Current Changes ( #7770 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-09-08 11:49:37 -03:00
Lucas Fernandes Nogueira
4cb51a2d56
refactor(core): custom protocol on Windows now uses the http scheme ( #7779 )
2023-09-07 19:57:16 -03:00
Jason Tsai
e3bfb01411
feat(nsis): support choosing compression algorithms, closes #7685 ( #7776 )
2023-09-07 18:45:15 +03:00
Jason Tsai
0797a002ca
fix: use button
property for data-tauri-drag-region
mouse button detection, closes #7694 ( #7746 )
2023-09-07 09:55:47 -03:00
Amr Bashir
53ab2042fd
refactor: remove unnecessary mutex ( #7728 )
2023-09-07 09:09:59 -03:00
github-actions[bot]
7db1c31e47
Apply Version Updates From Current Changes ( #7627 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-09-06 18:12:36 -03:00
Lucas Fernandes Nogueira
b7f53d66e8
fix(core): use postMessage IPC for remote URLs on iOS ref #7751 ( #7764 )
2023-09-06 16:09:01 -03:00
Lucas Fernandes Nogueira
0d63732b96
refactor(core): allow custom protocol handler to resolve async ( #7754 )
2023-09-06 15:53:03 -03:00
Lucas Fernandes Nogueira
29818de682
fix(core): use postMessage IPC for remote URLs on macOS closes #7662 ( #7751 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-09-05 12:41:05 -03:00
Simon Hyll
e98393e499
fix: no longer unpacking and flattening payload, closes #7673 ( #7677 )
2023-09-04 18:02:22 -03:00
XXIV
41067cef00
perf: remove unnecessary heap allocation ( #7731 )
2023-09-04 15:00:49 +03:00
Amr Bashir
49beb67dab
ci: fix clippy lints ( #7721 )
...
* ci: fix clippy lints
* more lints
2023-08-31 13:53:15 +03:00
Fabian-Lars
58d6b899e2
feat(api): Add append
option to writeFile apis ( #7636 )
...
* feat(api): Add `append` option to writeFile apis.
* wording
* fmt
* Update .changes/fs-append-file.md
* clippeeeyyyy
2023-08-16 19:09:05 +03:00
Amr Bashir
af3268a4be
refactor(menu,tray): add wrappers ( #7622 )
2023-08-16 13:06:17 -03:00
Amr Bashir
5c95152c76
refactor!: take id for text/check/icon on menu builders ( #7621 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-16 11:55:36 -03:00
Amr Bashir
6177150b6f
feat: add drag-n-drop position ( #7601 )
2023-08-16 11:21:40 +09:00
yydcnjjw
8a6766173b
feat(tauri): impl Send for app::Builder, closes #7618 ( #7619 )
...
* feat(tauri): impl Send for app::Builder
* chore: add .changes/app-builder-send.md
2023-08-16 11:21:23 +09:00
Fabian-Lars
9308dee0a1
docs: Be more specific about plugin names in ipc scope ( #7605 )
2023-08-15 10:56:05 -03:00
Lucas Fernandes Nogueira
7f818384d3
chore: enable tray-icon feature for docs.rs build ( #7620 )
2023-08-15 08:26:31 -03:00
github-actions[bot]
3bf1bce9ec
Apply Version Updates From Current Changes ( #7612 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-14 12:19:36 -03:00
Lucas Fernandes Nogueira
560b34dd2a
fix(tauri-build): skip validating tray-icon feature flag ( #7610 )
2023-08-14 07:24:13 -07:00
github-actions[bot]
28382fdf9e
Apply Version Updates From Current Changes ( #7270 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-08-14 08:30:01 -03:00
renovate[bot]
d928d23cdb
chore(deps) Update Tauri Core - abandoned ( #5253 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-08-13 22:41:00 -03:00
Amr Bashir
7fb419c326
refactor: move to muda
and tray_icon
crates ( #7535 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-08-13 22:25:50 -03:00
Lucas Fernandes Nogueira
ec827760ab
fix(tauri-runtime-wry): adjust docs.rs features to fix doc build ( #7583 )
2023-08-13 20:40:03 -03:00
chip
e21a449b27
use mime crate for manager ( #7584 )
2023-08-12 07:24:24 -03:00
Lucas Fernandes Nogueira
fbeb5b9185
refactor(core): use webview's URI schemes for IPC ( #7170 )
...
Co-authored-by: chip <chip@chip.sh>
2023-08-10 10:12:38 -03:00
Graeme McHale
10e362d098
feat: allow more flexible http requests in updater closes #7422 ( #7432 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-10 07:23:52 -03:00
renovate[bot]
85efd0ae43
chore(deps) Update Rust crate swift-rs to 1.0.6 (dev) ( #7578 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-10 07:22:20 -03:00
Isaac Cambron
eeb6be5422
feat(core): Manager::emit_filter and optimize serialization ( #7512 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-08 16:57:30 -03:00
Amr Bashir
a6b52e44f2
fix(tauri-utils): include \n
in io::read_line
, closes #6388 ( #6519 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
fix(tauri-utils): include `\n` in `io::read_line`, closes #6388
2023-08-08 16:43:19 -03:00
Amr Bashir
6c408b736c
feat: add notification sound ( #7269 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-08-08 15:09:04 -03:00
Kris Krolak
4db363a03c
feat: add visible_on_all_workspaces, closes #6589 ( #7437 )
...
* feat: add visible_on_all_workspaces, closes #6589
* add changes file
* Apply suggestions from code review
* Update core/tauri-config-schema/schema.json
* Update tooling/cli/schema.json
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-07-26 19:38:09 +08:00
Jeffrey Hutchins
3a2c3e7471
feat: Add ordered navigation handler for plugins, closes #7306 ( #7439 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-07-24 14:36:16 -03:00
Lucas Fernandes Nogueira
7b45e7fa1b
feat(build): trigger rerun if plugin config env var changes ( #7458 )
2023-07-19 13:16:43 -03:00
Lucas Fernandes Nogueira
ecffaa2524
feat(build): skip writing manifest/entitlements when no changes found ( #7457 )
2023-07-19 13:16:35 -03:00
Lucas Fernandes Nogueira
1e1d839e7e
feat(build): add function to rewrite AndroidManifest.xml ( #7450 )
2023-07-19 08:15:08 -03:00
Lucas Fernandes Nogueira
522de0e788
feat(core): allow a plugin build script to read the plugin config object ( #7447 )
2023-07-18 11:04:15 -03:00
Lucas Fernandes Nogueira
aba04fa823
feat(build): add API to update the iOS entitlements file ( #7448 )
2023-07-18 10:20:55 -03:00
Lucas Fernandes Nogueira
753900dd6e
feat(ios): expose RunEvent::Opened
( #7440 )
2023-07-17 19:44:34 -03:00
Fabian-Lars
a5752db985
feat(core): forward onNewIntent
event to android plugins ( #7436 )
2023-07-17 10:20:16 -03:00
Bo
3b98141aa2
feat: add file association support, closes #3736 ( #4320 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Raphii <iam@raphii.co>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-07-16 18:34:43 -03:00
Lucas Fernandes Nogueira
4dd4893d7d
feat: allow specifying a resource map, closes #5844 ( #5950 )
...
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
closes #5844
2023-07-13 18:28:52 -03:00
Dave Ceddia
ef962c43af
fix(cli): handle symlinks in updater bundler, closes #3933 ( #3934 )
...
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-07-13 14:35:22 -03:00
Fabian-Lars
290e366ae9
fix(build): Copy wv2 runtime in dev, fixes #7373 ( #7419 )
2023-07-13 14:34:31 -03:00
Lucas Fernandes Nogueira
c98273387c
feat(core): enhance readDir error message, closes #7379 ( #7416 )
2023-07-13 08:00:51 -07:00
Amr Bashir
2eab150563
feat(api/http): properly handle Files in Body.form, closes #7390 ( #7394 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
closes #7390
2023-07-13 08:58:21 -03:00
Amr Bashir
84c4159754
feat(core): add monitor functions for App/AppHandle
, closes #6394 ( #6403 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-07-12 17:14:04 -03:00
Amr Bashir
fdaee9a5ce
feat(core/plugin): add register_uri_scheme_protocol
, closes #7330 ( #7350 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
closes #7330
2023-07-12 16:49:32 -03:00
Amr Bashir
71a0240166
chore: remove hotkey.js script and replace var with const ( #7343 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-07-12 08:44:26 -03:00
Amr Bashir
757e959eb2
feat: respect base
tag's target
attribute, closes #7285 ( #7344 )
...
* feat: respect `base` tag's `target` attribute, closes #7285
* Update core.js
* fix condition
2023-07-11 15:11:23 +03:00
Amr Bashir
fa7f9b77ab
fix(core/updater): set max_redirections
of 5, closes #7329 ( #7341 )
...
* fix(core/updater): set `max_redirections` of 5, closes #7329
* Update .changes/updater-redirect.md
2023-07-11 15:08:53 +03:00
Lucas Fernandes Nogueira
eeff1784e1
chore(deps): update unmaintained dependency from kuchiki to kuchikiki ( #7359 ) ( #7367 )
...
Co-authored-by: Davide Baldo <davide@baldo.me>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-07-11 19:19:13 +09:00
Amr Bashir
74b1f4fc66
feat(core): add dark/light mica option ( #7384 )
...
* feat(core): add dark/light mica option
* Update .changes/dark-light-mica-effect.md
* fix macos build
2023-07-10 14:31:29 +03:00
Amr Bashir
fd5dc788d1
refactor: cleanup and remove unused tauri::api
modules ( #7352 )
2023-07-10 12:17:17 +09:00
Davide Baldo
43c6285e90
chore(deps): update unmaintained dependency from kuchiki to kuchikiki ( #7359 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-07-05 17:41:46 -03:00
Lucas Fernandes Nogueira
df6712cfb3
docs(core): fix panic section on manage documentation ( #7251 )
2023-06-21 07:50:41 -03:00
renovate[bot]
5cbf4df390
chore(deps) Update Rust crate swift-rs to 1.0.5 ( #7272 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 07:50:27 -03:00
Jeffrey Hutchins
2a000e150d
feat: add navigate method ( #7235 )
2023-06-20 16:56:17 -03:00
yydcnjjw
33f6aa438e
fix: ipc scope not found error at windows ( #7264 )
...
The incorrect value ("window") was utilized when determining the Windows platform.
2023-06-20 17:33:52 +08:00
Simon Hyll
c34e37b1f7
docs: added rustdoc icons ( #7253 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-19 21:51:05 -03:00
Raphii
1a3dcdb830
fix(core): fix nsis updater unable to launch installers requiring elevation, closes #7184 ( #7185 )
...
* Launch NSIS updaters requiring elevation from non-elevated process
* Add changes file
* remove detached process, use powershell
* Update updater-admin-launch-fix.md
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-06-19 18:11:16 +03:00
Lucas Fernandes Nogueira
e63111b65a
chore: remove v1 references on documentation and benchmark ( #7258 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-06-19 09:47:51 -03:00
Lucas Fernandes Nogueira
d1a6e2f333
chore(deps): update state to 0.6 ( #7252 )
2023-06-18 20:57:36 -03:00
github-actions[bot]
bd29b05f15
Apply Version Updates From Current Changes (v2) ( #7242 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-06-17 15:05:12 -03:00
Lucas Nogueira
1e9c463d12
Merge remote-tracking branch 'origin/1.x' into dev
2023-06-17 11:02:14 -03:00
github-actions[bot]
4b3d66c793
Apply Version Updates From Current Changes (v1) ( #7234 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-06-17 10:45:52 -03:00
Amr Bashir
6afd34727f
fix(core): revert #6680 , remove default notification sound on Windows ( #7229 )
...
fix(core): revert #6680 , remove default notification sound on Windows
2023-06-17 09:18:16 -03:00
Amr Bashir
066c09a6ea
fix(core): fix require_literal_leading_dot
flipped behavior ( #7227 )
2023-06-17 09:17:36 -03:00
Lucas Nogueira
d0e5dbf33e
fix(core): remove unused dependencies
2023-06-15 12:29:37 -03:00
Lucas Fernandes Nogueira
cafaf69fd7
fix(ci): add missing license headers, adjust script to properly ignore ( #7216 )
2023-06-15 11:05:59 -03:00
Lucas Nogueira
93afa71d9a
chore: fix merge conflicts from dev
2023-06-15 10:37:02 -03:00
Lucas Fernandes Nogueira
7bbc626cc3
Merge remote-tracking branch 'origin/dev' into next ( #7212 )
2023-06-15 09:52:33 -03:00
Amr Bashir
2d2fd6abe2
fix(core): use correct http method for proxied server, closes #7191 ( #7208 )
2023-06-15 08:29:20 -03:00
Amr Bashir
0fa0fa4ccf
fix: check if url local with platform custom protocol, closes #7176 ( #7202 )
...
* fix: check if url local with platform custom protocol, closes #7176
* Update core/tauri/src/window.rs
2023-06-14 19:39:38 +03:00
github-actions[bot]
b7ae725c5e
Apply Version Updates From Current Changes ( #6901 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-06-14 12:59:28 -03:00
Lucas Fernandes Nogueira
aa94f049c1
fix(tests): adjust default bundle target for updater integration test ( #7201 )
2023-06-14 11:17:02 -03:00
Amr Bashir
d75c1b829b
fix(cli): warn about bundling updater target without appropriate targets, closes #7181 ( #7189 )
...
* fix(cli): warn about bundling updater target without appropriate targets, closes #7181
* change tags
* cleanup
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-14 02:14:35 +03:00
Lucas Fernandes Nogueira
696d77c3ce
fix(core): global events now reaches window listeners, closes #4493 ( #7163 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-06-13 08:05:58 -03:00
Fabian-Lars
5d85d0990c
fix(core): Send updater status events when default dialog is enabled, closes #7128 ( #7157 )
2023-06-13 08:05:42 -03:00
Amr Bashir
b66e7d60f2
feat(core): impl clone for Channel
( #7174 )
2023-06-10 14:38:02 -03:00
Lucas Fernandes Nogueira
8124145d6c
fix(core): path commands not added ( #7171 )
2023-06-08 17:08:46 -07:00
Amr Bashir
6d3f3138b9
fix(core/path): change sep
and delimiter
to functions ( #7160 )
...
* fix(core/path): change `sep` and `delimiter` to functions
* fix impl
* semicolons
* return types
* generated
* fix init js
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-08 03:40:14 +03:00
Amr Bashir
076e1a81a5
fix(core): use u32
for js listeners ids, closes #7119 ( #7159 )
2023-06-07 17:54:04 -03:00
Lucas Fernandes Nogueira
1d99f8a3c2
feat(core): expose test utils ( #4752 )
2023-06-07 10:22:14 -03:00
Amr Bashir
bfaf624a4c
chore: fix doc link ( #7147 )
2023-06-07 15:11:48 +03:00
Amr Bashir
4652c446b3
feat: add tempDir
to path plugin ( #7144 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-06-06 14:51:29 -03:00
Fabian-Lars
db7c5fbf2e
refactor(core): Remove attohttpc in favor of reqwest ( #7143 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-06-06 13:29:52 -03:00
Lucas Fernandes Nogueira
52474e479d
feat(cli): enhance Cargo features injection, add tests ( #7141 )
2023-06-06 13:29:28 -03:00
Hyph
f2d68cf7d4
feat(core): expose Wry's with_incognito
to Tauri on the WindowBuilder::incognito
function. ( #6767 )
2023-06-06 18:30:37 +03:00
Amr Bashir
b41b57ebb2
fix(core): avoid panics in global shortcut, closes #7105 ( #7136 )
2023-06-05 16:43:44 -03:00
Lucas Fernandes Nogueira
9e3a18e046
feat(api): expose window target option on event APIs ( #7132 )
2023-06-05 16:00:44 -03:00
Amr Bashir
0503eb69ce
fix(core): account for data:
uri when calculating origin, closes #7078 ( #7133 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-06-05 09:47:21 -03:00
Reupen Shah
85e77fb797
fix: correct MIME type of .txt files (ref: #6762 ) ( #7111 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-06-05 09:16:05 -03:00
Lucas Fernandes Nogueira
a50f24b2bd
Merge remote-tracking branch 'origin/dev' into next ( #7067 )
...
Co-authored-by: wusyong <wusyong@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Raphii <iam@raphii.co>
Co-authored-by: Ronie Martinez <ronmarti18@gmail.com>
Co-authored-by: hanaTsuk1 <101488209+hanaTsuk1@users.noreply.github.com>
Co-authored-by: nathan-fall <39990940+nathan-fall@users.noreply.github.com>
Co-authored-by: Akshay <nerdy@peppe.rs>
Co-authored-by: KurikoMoe <kurikomoe@gmail.com>
Co-authored-by: Guilherme Oenning <me@goenning.net>
Co-authored-by: Pierre Cashon <biaocy91@gmail.com>
Co-authored-by: Jack Wills <32690432+mrjackwills@users.noreply.github.com>
Co-authored-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
Co-authored-by: Risto Stevcev <me@risto.codes>
Co-authored-by: Soumt <rltks1305@naver.com>
Co-authored-by: yutotnh <57719497+yutotnh@users.noreply.github.com>
Co-authored-by: Gökçe Merdun <agmmnn@gmail.com>
Co-authored-by: Nathanael Rea <Nathan@NathanaelRea.com>
Co-authored-by: Usman Rajab <usman.rajab@gmail.com>
Co-authored-by: Francis The Basilisk <36006338+snorkysnark@users.noreply.github.com>
Co-authored-by: Lej77 <31554212+Lej77@users.noreply.github.com>
Co-authored-by: Tomáš Diblík <dibla.tomas@post.cz>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
Co-authored-by: Pascal Sommer <Pascal-So@users.noreply.github.com>
Co-authored-by: Bo <bertonzh@gmail.com>
Co-authored-by: Kevin Yue <k3vinyue@gmail.com>
fixed grammar and typos (#6937 )
Fix api.js docs pipeline with updated typedoc dependencies (#6945 )
closes #6887 (#6922 )
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865 (#6921 )
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865
fix broken symlinks in license files (#6336 )
fix(cli): fix cli connection timeout to dev server (fix #6045 ) (#6046 )
fix(bundler): ensure that there are no duplicate extension arguments when bundling on Windows, fixes #6103 (#6917 )
fix(bundler): ensure that there are no duplicate extension arguments during bundling on Windows (fix #6103 )
closes #5491 (#6408 )
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928 (#6935 )
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928
fix(updater): emit `UPTODATE` when server responds with 204, closes #6934 (#6970 )
fix(core): unpin all dependencies, closes #6944 (#6966 )
fix(bundler): Add new lang_file option in persian variant. (#6972 )
fix(core/ipc): access url through webview native object, closes #6889 (#6976 )
fix(core): remove trailing slash in http scope url, closes #5208 (#6974 )
fix(core): remove trailing slash in http scope url, closes #5208
fix(cli): find correct binary when `--profile` is used, closes #6954 (#6979 )
fix(cli): find correct binary when `--profile` is used, closes #6954
closes #6955 (#6987 )
closes #6955
closes #6158 (#6969 )
closes #6158
fix(cli): improve vs build tools detection (#6982 )
fix: updated appimage script to follow symlinks for /usr/lib* (fix : #6992 ) (#6996 )
fix(cli): correctly remove Cargo features (#7013 )
Fix typo (#7012 )
fix(cli): revert metadata.json field rename from #6795 (#7029 )
closes #6732 (#6736 )
fix: add missing file properties on Windows, closes #6676 (#6693 )
fix(cli.js): detect node-20 binary (#6667 )
fix version-or-publish workflow (#7031 )
fix(cli/devserver): inject autoreload into HTML only, closes #6997 (#7032 )
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036 (#7040 )
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036
fix(core): rewrite `asset` protocol streaming, closes #6375 (#6390 )
closes #5939 (#5960 )
fix(core): use `safe_block_on` (#7047 )
closes #6859 (#6933 )
closes #6955 (#6998 )
fix(core): populate webview_attrs from config, closes #6794 (#6797 )
closes #5176 (#5180 )
fix: sound for notifications on windows (fix #6652 ) (#6680 )
close native window's buttons, closes #2353 (#6665 )
fix(bundler/nsis): calculate accurate app size, closes #7056 (#7057 )
fix(tests): only download update when it is available (#7061 )
closes #6706 (#6712 )
fix(doc): correct the doc of `content_protected()` (#7065 )
closes #6472 (#6530 )
fix(macros): use full path to Result to avoid issues with type aliases (#7071 )
2023-05-29 21:29:24 -03:00