Dan
fb146339cc
chore: Readme typo ( #9130 )
2024-03-18 22:47:10 +01:00
Lucas Nogueira
72d9876bc8
chore: update autogenerated file
2024-03-18 10:14:27 -03:00
github-actions[bot]
f1df6b2c35
Apply Version Updates From Current Changes ( #9162 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-18 09:43:47 -03:00
Amr Bashir
379cc2b354
fix(core/path): remove suffix in basename
only once ( #9165 )
...
* fix(core/path): remove suffix in `basename` only once
closes #9064
* Update tooling/api/src/path.ts
* remove extra assert
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-03-18 08:40:23 -03:00
Lucas Fernandes Nogueira
ea0242db4a
refactor(image): expose constructor, unify size getters ( #9179 )
2024-03-13 22:02:05 -03:00
Amr Bashir
7213b9e472
feat(cli/add): add default permission to capabilities ( #9124 )
...
* feat(cli/add): add default permission to capabilities
also cleanup `tauri add` command
* license headers & clippy
* print permission name
* do not error out if default permission is not set
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-03-13 11:58:25 -03:00
Amr Bashir
acdd76833d
feat(api/tray): add TrayIcon.getById/removeById
( #9155 )
...
* feat(api/tray): add `TrayIcon.getById/removeById`
closes #9135
* generate
* add permissions
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-03-12 13:07:51 -03:00
Lucas Fernandes Nogueira
e227fe02f9
feat(core): allow defining global API script on plugin build ( #9156 )
...
* feat(core): allow defining global API script on plugin build
Adds `tauri_plugin::Builder::global_api_script_path` so plugin authors can define the JavaScript global API bindings (supposed to be injected to `window.__TAURI__`) at compile time, so the string is only part of the binary when withGlobalTauri is true.
Currently this needs to be done manually at runtime (and it's always added to the binary via include_str).
* prefix variable
* use list of scripts instead of combining them
* static str
* header [skip ci]
* slice
2024-03-12 12:01:13 -03:00
Amr Bashir
3f039c18b1
chore(deps): update muda
and tray-icon
crates ( #9154 )
...
* chore(deps): update `muda` and `tray-icon` crates
* lock file
2024-03-12 09:50:39 -03:00
Amr Bashir
79b8a3514b
enhance(core/event): filter js listeners on rust side only then emit filtered ids to be triggered ( #9151 )
...
* fix(core/event): filter js listeners on rust side only then emit filtered ids to be triggerd
fix regression introduced in https://github.com/tauri-apps/tauri/pull/8930 , and reported in https://github.com/tauri-apps/tauri/pull/8930#issuecomment-1986279046
* Update .changes/core-js-unlisten-all-regression.md
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
* Discard changes to .changes/core-js-unlisten-all-regression.md
* object.defineproperty
* add change file [skip ci]
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-03-12 09:41:25 -03:00
github-actions[bot]
d349558abb
Apply Version Updates From Current Changes ( #9149 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-11 15:14:25 -03:00
Amr Bashir
a44cd5a183
chore: fix description for Context::assets change from #9141 ( #9148 )
2024-03-11 14:47:03 -03:00
Lucas Fernandes Nogueira
e673854c83
fix(acl): inconsistencies on urlpattern usage for remote domain URL ( #9133 )
...
* fix(acl): inconsistencies on urlpattern usage for remote domain URL
* remove println!
* typo
* fix tests
2024-03-11 13:39:17 -03:00
Lucas Fernandes Nogueira
490a6b424e
refactor(core): add setup() to the Assets trait ( #9147 )
...
* feat(core): allow swapping the assets implemenetation
* refactor(core): add setup() to the Assets trait
* code review
2024-03-11 13:38:32 -03:00
i-c-b
85de230f31
fix(core): race between drop old JS listeners and create new listeners on page load ( #9144 )
...
* fix(core): race between drop old JS listeners and create new listeners on page load
* Create fix-js-unlisten-all-race.md
2024-03-11 18:03:02 +02:00
Tony
c3ea3a2b7d
fix(windows): relax UpdaterWindowsConfig
to not deny unknowns fields ( #9126 )
2024-03-11 17:30:14 +02:00
Lucas Fernandes Nogueira
db0a24a973
refactor(core): use the image crate ( #9132 )
2024-03-11 11:46:34 -03:00
Dimitris Apostolou
26f0f71a40
chore: fix various typos ( #9131 )
2024-03-11 16:25:20 +02:00
Lucas Fernandes Nogueira
ba0206d8a3
feat(core): allow swapping the assets implementation ( #9141 )
2024-03-11 11:07:15 -03:00
studystill
db1ea98512
chore(core): remove repetitive word ( #9136 )
...
Signed-off-by: studystill <chenghuiyue@outlook.com>
2024-03-11 02:43:12 +02:00
kandrelczyk
45384ab3aa
docs: adding 'desktop only' pill to menu module ( #9123 )
2024-03-08 06:26:31 +02:00
Lucas Nogueira
9247ecf2a4
chore(cli): update Cargo.lock
2024-03-07 20:24:53 -03:00
github-actions[bot]
d701f29f17
Apply Version Updates From Current Changes ( #9117 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-07 19:56:45 -03:00
renovate[bot]
94ab97a884
chore(deps) Update Rust crate rpm to 0.14.0 (dev) ( #9102 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-07 19:35:15 -03:00
renovate[bot]
5deb1202f6
chore(deps) Update dependency rollup to v4.12.1 (dev) ( #9101 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-07 19:34:29 -03:00
Lucas Fernandes Nogueira
ed48e2b3c7
feat(core): expose the image module ( #9122 )
...
* feat(core): expose the image module
* code review
* fix import
* fix
* fix codegen
* jsimage owned
* fmt
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-03-07 19:23:21 -03:00
Amr Bashir
5541aafef3
fix(core): fix emit skipping webview listeners if filter wasn't provided ( #9107 )
...
* fix(core): fix emit skipping webview listeners if filter wasn't provided
* Update .changes/core-emit-js-all-targets.md
* update api example
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-03-07 20:36:52 +02:00
Lucas Fernandes Nogueira
80c12ead46
fix(ipc): wrong response format when using a channel ( #9121 )
2024-03-07 14:53:49 -03:00
Lucas Fernandes Nogueira
3e472d0afc
refactor(acl): permission and capability platforms are optional ( #9115 )
...
* refactor(acl): permission and capability platforms are optional
* add iterator version
* fix build
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-03-07 14:18:15 -03:00
Lucas Fernandes Nogueira
4ef17d0833
refactor(acl): use URLPattern instead of glob for remote URLs ( #9116 )
2024-03-07 13:08:57 -03:00
Lucas Fernandes Nogueira
9dc9ca6e38
feat(core): add dev function ( #9113 )
2024-03-07 11:02:53 -03:00
github-actions[bot]
e7f245e81e
Apply Version Updates From Current Changes ( #9035 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-06 19:00:57 -03:00
Amr Bashir
720357fd5c
refactor!: remove re-export from tauri::path
module ( #9104 )
2024-03-06 18:31:23 -03:00
renovate[bot]
5829f23171
chore(deps) Update Rust crate base64 to 0.22 (dev) ( #9092 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 13:55:36 -03:00
renovate[bot]
8383bea741
chore(deps) Update Rust crate env_logger to 0.11.3 (dev) ( #9090 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 13:32:57 -03:00
renovate[bot]
cd05827f9f
chore(deps) Update Rust crate log to 0.4.21 (dev) ( #9091 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 13:32:43 -03:00
Lucas Fernandes Nogueira
9323fb7cda
fix(utils): ToTokens impl for ResolvedCommand broken on release ( #9087 )
2024-03-05 14:54:24 -03:00
dependabot[bot]
251bdd0579
chore(deps): bump mio from 0.8.10 to 0.8.11 ( #9076 )
...
Bumps [mio](https://github.com/tokio-rs/mio ) from 0.8.10 to 0.8.11.
- [Release notes](https://github.com/tokio-rs/mio/releases )
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/mio/compare/v0.8.10...v0.8.11 )
---
updated-dependencies:
- dependency-name: mio
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 14:35:58 -03:00
dependabot[bot]
253a661516
chore(deps): bump mio from 0.8.8 to 0.8.11 in /tooling/webdriver ( #9077 )
...
Bumps [mio](https://github.com/tokio-rs/mio ) from 0.8.8 to 0.8.11.
- [Release notes](https://github.com/tokio-rs/mio/releases )
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/mio/compare/v0.8.8...v0.8.11 )
---
updated-dependencies:
- dependency-name: mio
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 14:35:48 -03:00
Lucas Fernandes Nogueira
b5c7432769
feat(core): use a strict CSP on the isolation iframe ( #9086 )
2024-03-05 14:20:17 -03:00
Amr Bashir
bb23511ea8
feat: enhance multiple capabilities file format & fix mixed permissions schema ( #9079 )
...
* feat: enhance multiple capabilities file format & fix mixed permissions schema
* change files
2024-03-05 13:09:32 -03:00
Lucas Fernandes Nogueira
4bf1c55b0d
Revert "feat(core): use a strict CSP on the isolation iframe ( #9075 )" ( #9078 )
2024-03-04 22:22:49 -03:00
Lucas Fernandes Nogueira
fe18012d30
fix(core): resolve symlink on fs scope check ( #9072 )
2024-03-04 21:10:55 -03:00
Lucas Fernandes Nogueira
6a47dd212c
chore(utils): remove unused RemoteDomainAccessScope ( #9073 )
2024-03-04 21:10:45 -03:00
Lucas Fernandes Nogueira
7cec1049e8
feat(core): use a strict CSP on the isolation iframe ( #9075 )
2024-03-04 21:10:34 -03:00
Amr Bashir
86fa339de7
fix(core): fix invalid path for Color
in context generation ( #9071 )
2024-03-04 17:03:55 -03:00
Lucas Fernandes Nogueira
e62ca4ee95
feat(ipc): preserve channel message order ( #9070 )
2024-03-04 17:03:24 -03:00
Lucas Fernandes Nogueira
6c06832246
fix(acl): scope resolution should be per window ( #9068 )
...
* fix(acl): scope resolution should be per window
* Update core/tauri-utils/src/acl/resolved.rs
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
* update snapshots
* lint
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-03-04 17:01:30 -03:00
Amr Bashir
9aa0d6e959
chore: remove unstable log features & use qualified log::<macro>
path ( #9069 )
...
* chore: remove unstable log features & use qualified `log::<macro>` path
* fmt
* fix build
2024-03-04 21:22:07 +02:00
Lucas Fernandes Nogueira
46de49aaad
feat(core): always use child webviews on the unstable feature ( #9059 )
...
* feat(core): always use child webviews on the unstable feature
* fmt
2024-03-04 16:09:16 -03:00