Commit Graph

4419 Commits

Author SHA1 Message Date
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
renovate[bot]
b4ffbe7aa2
chore(deps) Update Tauri CLI (dev) (#8226)
* chore(deps) Update Tauri CLI

* updates

* fmt

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-03-03 11:36:35 -03:00
renovate[bot]
ab37d6724e
chore(deps) Update Tauri Bundler (dev) (#8224)
* chore(deps) Update Tauri Bundler

* fix windows

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-03-03 11:36:20 -03:00
renovate[bot]
1b18b7006f
chore(deps) Update Tauri API Definitions (dev) (#8225)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-03 10:30:35 -03:00
i-c-b
947a50b8e2
fix(cli): migration for http plugin ACL (#9049)
* fix cli migration of http allowlist to ACL

* Create fix-cli-migration-http-acl.md
2024-03-03 09:28:31 -03:00
Amr Bashir
77b9a508a4
feat(api): add Image class (#9042)
* feat(api): add `Image` class

* clippy

* license headers

* small cleanup

* fixes

* code review

* readd from_png_bytes and from_ico_bytes

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-03-03 04:31:08 +02:00
Lucas Fernandes Nogueira
2ca9afb576
fix(ci): set token for repository-dispatch to publish CLIs (#9048) 2024-03-01 12:15:28 -03:00
Amr Bashir
4b75834a41
chore: update license headers 2024 (#9043) 2024-03-01 08:29:01 -03:00
Lucas Fernandes Nogueira
03098b5315
feat(core): dynamic runtime capability (#9036)
* feat(core): dynamic runtime capability

* local(), windows(), webviews()

* enhance identation
2024-03-01 08:27:29 -03:00
Lucas Fernandes Nogueira
a77be97474
fix(ipc): fallback to postMessage if protocol fails, closes #8476 (#9038) 2024-02-29 18:24:43 -03:00
Amr Bashir
c68218b362
refactor(cli): add --no-bundle flag, skip bundling on invalid formats (#8990)
* refactor(cli): add `--no-bundle` flag, skip bundling on invalid formats

* enhance bundle format parsing

* lint [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-02-29 10:49:42 -03:00
Lucas Fernandes Nogueira
4f78941763
chore(cli): update deps, fix log compilation issue (#9034) 2024-02-29 10:22:47 -03:00
Amr Bashir
d1e77acd8d
refactor!(core): remove Icon enum and add Image type (#9011)
* refactor!(core): remove `Icon` enum and add `Image` type

* clippy

* revert api example config change

* Update image.rs

* fix build

* clippy

* change files

* add back removed methods as setter functions

* simplify error message

* Update .changes/runtime-icon-lifetime.md

* Update .changes/ico-featrue-flags.md

* Update core/tauri/src/image.rs

* update api lockfile

* update api ref

* lint

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-29 09:05:11 -03:00
github-actions[bot]
ab060ebb34
Apply Version Updates From Current Changes (#9000)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-02-29 00:06:59 -03:00
Amr Bashir
8fcbce9404
fix(build): fix app permissions not included when there isn't any inlined plugins (#9025)
* fix(build): fix app permissions not included when there isn't any inlined plugins

* simplify

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-28 23:41:40 -03:00
Lucas Fernandes Nogueira
f5e7f3843e
fix(build): app ACL should be empty if no permissions are defined (#9024) 2024-02-28 19:53:48 -03:00
Lucas Fernandes Nogueira
d7f56fef85
feat(acl): allow a permission to apply to a subset of target platforms (#9014)
* feat(acl): allow a permission to apply to a subset of target platforms

* fix cli
2024-02-28 17:23:52 -03:00
Lucas Fernandes Nogueira
d7d03c7197
fix(cli): dev watcher infinite loop on mobile (#9017) 2024-02-28 17:22:45 -03:00
canxin
e4463f0814
fix(event): clear residual js listeners (#8916 ) (#8930)
* fix clear residual listeners tauri-apps#8916

* Comment out `println` on successful removal of `js_listeners`

* follow review changes.

* remvoe uneeded result

* Update fix-clear-residual-listeners.md
2024-02-28 20:26:27 +02:00
Amr Bashir
f5f3ed5f6f
fix(cli): CLI path issues on mobile project initialization (#9009)
* fix(cli): fix panic when `android init` using cargo or yarn

closes #8531

* clippy

* try with fullpath

* clippy

* move cli

* Update test-android.yml

* add to path instead

* clippy

* try moving

* use cargo subcommand

* delete unused logic [skip ci]

* truncate on init [skip ci]

* enhance binary/args check

* update change files

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-02-28 14:38:24 -03:00
Lucas Fernandes Nogueira
cb92cfd6a6
fix(cli): wrong metadata for crate versions (#9022) 2024-02-28 13:48:14 -03:00
i-c-b
b658ded614
fix(cli): Truncate BuildTask.kt before writing (#9015)
* truncate BuildTask.kt before write

* Create truncate-before-write-buildtask.md

* remove unused checks

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-02-28 13:42:21 -03:00
Vitor Ayres
04440edce8
feat(utils): generate table markdown of permissions (#9019)
* generate table

* Create permission-table.md
2024-02-28 18:15:44 +02:00
Lucas Fernandes Nogueira
3657ad82f8
feat(core): allow defining permissions for the app commands (#9008)
* feat(core): allow defining permissions for the app commands

* global scope

* command scope

* write to disk

* lint

* fix path

* get autogenerated commands from generate_handler macro

* revert

* remove cli

* use const instead of empty str
2024-02-28 08:45:28 -03:00
Lucas Nogueira
7190935680 chore(ci): add covector workflow for 1.x branch 2024-02-27 21:29:53 -03:00
Lucas Fernandes Nogueira
222a96b74b
fix(core): multiwebview mode fixes for auto resize, reparent and add_child (#8999)
* refactor(core): simplify multiwebview impl, fix autoresize

* add_child on main thread

* fix reparent

* revert some changes

* add change files
2024-02-27 17:36:21 -03:00
Fabian-Lars
de38c31163
fix(core): Update walkdir to v2 to fix build issues on windows arm (#9006)
fixes #8998
2024-02-27 20:29:12 +02:00
Lucas Fernandes Nogueira
e1d5b79063
fix(core): wrong ACL validation on multiwebview contexts (#8995) 2024-02-27 11:42:11 -03:00
github-actions[bot]
5a19147b06
Apply Version Updates From Current Changes (#8991)
* apply version updates

* update versions

---------

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-26 23:53:48 -03:00
github-actions[bot]
31a33d4680
Apply Version Updates From Current Changes (#8980)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-02-26 23:05:51 -03:00
Amr Bashir
b9e6a01879
refactor(cli): use tauri/custom-protocol instead of relying on user having custom-protocol in their cargo features (#8937)
* refactor(cli): use `tauri/custom-protocol` instead of relying on user having `custom-protocol` in their cargo features

* tauri-build dev cfg

* pass build-feature when building apk

* run beforeBuildCommand before first build for plugins

* clippy

* fix

* mut

* enhance dev/prod checks

* lint [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-26 15:17:45 -03:00
Amr Bashir
60bf11abcb
fix(core): export ProgressBarStatus (#8986)
closes #8960
2024-02-26 19:52:14 +02:00