Commit Graph

382 Commits

Author SHA1 Message Date
Fabian-Lars
e64b8f1dce
chore: merge remote-tracking branch '1.x' into v2 (#9479)
* chore: port PR template from `dev` branch (#9004)

* fix(runtime-wry): avoid panic during clipboard initialization on wayland (#9003)

closes #8964

* ci: downgrade thread_local to 1.1.7 in msrv list (#9012)

* Apply Version Updates From Current Changes (v1) (#9013)

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>

* fix(bundler): escape potentially problematic strings in an XML (#9040)

* fix(bundler): escape potentially problematic strings in an XML (#9030)

- replace characters invalid in XML with their escaped form to properly bundle resources with such characters in their pathnames.

* change file

* fix(cli): use `matched_path_or_any_parents` when checking if a file is ignored (#8903)

* fix: taurignore ignoreing folders not working for watch

* docs: add to changes

* fix: panic: path is expected to be under the root

* Update taurignore-ignoring-folders-not-working-for-watch.md

* Update taurignore-ignoring-folders-not-working-for-watch.md

* fix(cli): migrate to stable features of `log` crate (#9119)

* fix(cli): migrate to stable features of `log` crate

* to_cow_str

* Apply Version Updates From Current Changes (v1) (#9074)

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>

* fix(core/path): remove suffix in basename only once (#9166)

* fix(core/path): remove suffix in basename only once

ref: #9064

* Update tooling/api/src/path.ts

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>

* fix(cli): Clone Options struct after mutating it. (#9188)

* fix(bundler): Fix nsis resource paths on non-windows build systems. (#9281)

* fix(bundler): Fix nsis resource paths on non-windows build systems.

* remove leftover from alternative

* fix(bundler/nsis): Don't use /R flag on installation dir (#9282)

* fix(cli): upgrade heck to better support Chinese/Japanese prodcut name on Linux (#9298)

* chore: fix clippy false positive (#9329)

* fix(cli/info): fix crash when checking node version (#9411)

closes #9396

---------

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: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: bifs <127015052+bifs@users.noreply.github.com>
Co-authored-by: anatawa12 <anatawa12@icloud.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Jet Li <jing.i.qin@icloud.com>
2024-04-18 05:21:21 +02:00
Tillmann
edc9923c5b
Feat: Initial cargo-vet Support (#9216)
* add cargo-vet with reasonable trusted entities

* update paths

* license header

---------

Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
2024-03-19 11:39:42 -03: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
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 Nogueira
7190935680 chore(ci): add covector workflow for 1.x branch 2024-02-27 21:29:53 -03:00
Amr Bashir
16e550ec15
refactor(core): add webview events (#8844)
* refactor(core): add webview events

* license header

* clippy

* fix doctests

* more doctests

* fix JS `listen` with `EventTarget::Any`

* typo

* update module import

* clippy

* remove console.log

* fix api example

* fix documentation for emiTo [skip ci]

* actually add RunEvent::WebviewEvent

* update migration

* lint

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-16 08:07:39 -03:00
Lucas Fernandes Nogueira
cb613beea6
fix(ci): test-android NDK error (#8738)
* fix(ci): test-android NDK error

* only on unix
2024-02-03 08:11:02 -03:00
time-river
6639a579c7
feat(core): add support to setting a webview proxy, closes #4263 (#8441)
* feat(wry): support proxy in wry runtime

wry has been supported http/socks5 proxy in
[#1006](https://github.com/tauri-apps/wry/pull/1006), which has been
merged in [commit
3cc4d79](3cc4d79843).

This patch aims to support its feature.

Signed-off-by: lin fu <river@vvl.me>

* Apply suggestions from code review

* Apply suggestions from code review

* Update core/tauri-runtime-wry/src/lib.rs

* Update core/tauri/src/window/mod.rs

* add macos-proxy flag

* add change file

* delete file

* update change file

* use macos-14 runner to test core

---------

Signed-off-by: lin fu <river@vvl.me>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-02-01 08:53:32 -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
Amr Bashir
0ea1a47254
ci: use default options for repository-dispatch (#8455) 2023-12-27 13:00:39 -03:00
Lucas Nogueira
a9b87c057d
Merge branch '1.x' into dev 2023-12-19 13:52:53 -03:00
Amr Bashir
50e9caad64
ci: access cli release id directly (#8398) 2023-12-18 18:17:39 -03:00
Amr Bashir
31b3545e31
ci: access cli release id directly (#8397) 2023-12-18 18:17:33 -03:00
Amr Bashir
e5cc72eb40
ci: fix msrv tests (#8409)
* ci: remove `is-terminal` from crate pinning step

* pin cross-beam

* crossbeam-utils

* image

* linux-raw-sys

* fix version

* comon

* ha?

* tar

* now?

* rustix

* kill me, kill me now

* tar first???

* is-terminal

* I am dying

* remove rustix

* image
2023-12-18 18:15:28 -03:00
Lucas Fernandes Nogueira
327c7aec30
fix(ci): skip installing unnecessary deps (#8277) 2023-12-01 17:06:59 +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
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
Lucas Fernandes Nogueira
4f4313e17a
fix(ci): skip installing unnecessary deps (#8277) 2023-11-21 12:34:15 -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
618b0d01cb
ci: fix parsing covector ouput (#8241)
* ci: fix parsing covector ouput

* delete parse-output.js

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-11-20 21:02:31 +02:00
Amr Bashir
26ccfef999
ci: fix parsing covector ouput (#8240) 2023-11-19 08:54:05 -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
renovate[bot]
626121e7bf
chore(deps) Update Tauri CLI (1.x) (#8193)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-11-13 23:58:27 -03:00
Olivier Lemasle
9ed400a85c
chore(ci): Replace unmaintained actions-rs GH actions, closes #8078 (#8093)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-26 15:27:52 -03:00
DK Liao
9580df1d7b
chore(deps): upgrade gtk to 0.18 (#8084)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-24 12:26:24 -03:00
Amr Bashir
a0f7b88fd8
build(api.js): simplify output JS files (#8025)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-23 18:22:00 -03:00
Olivier Lemasle
fec89434d8
fix(ci): Fix bench job (#8045)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-22 11:13:32 -03:00
Lucas Nogueira
c6c59cf237
Merge branch '1.x' into dev 2023-10-20 08:56:02 -03: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
9bead42dbc
feat(cli): allow rotating updater private key (#8059) 2023-10-19 15:43:48 +00:00
renovate[bot]
c90ee65dbf
chore(deps) Update Tauri CLI (dev) (#7630)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-19 11:14:23 -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
Lucas Fernandes Nogueira
880266a7f6
chore: bump MSRV to 1.70 (#8031) 2023-10-17 11:08:15 -03:00
Lucas Fernandes Nogueira
bab05ff607
fix(ci): properly detect @tauri-apps/cli release id from covector output (#8004) 2023-10-11 15:53:01 +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
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
Lucas Fernandes Nogueira
e9e68abb33
fix(ci): downgrade async-executor to 1.5.2 (#7911) 2023-09-28 10:48:52 -03:00
martin frances
9a2b2f49a5
Chore: Resolve "environment variable" notice in the github build artifacts (#7800)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-09-12 17:00:09 -03:00
Lucas Fernandes Nogueira
1945dec81f
fix(ci): adjust downgrade crates step (#7812) 2023-09-11 15:30:37 -03:00
martin frances
822ba2b121
Fix: Resolve Deprecation notice in the github build artifacts (#7780)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-09-09 10:38:19 -03:00
Lucas Fernandes Nogueira
47b33e649c
fix(ci): adjust test-core's downgrade step (#7796) 2023-09-09 09:34:46 -03:00
Lucas Fernandes Nogueira
6735994885
fix(ci): downgrade cfg-expr to 0.15.4 (#7790) 2023-09-08 11:07:27 -03:00
Lucas Fernandes Nogueira
e1ac45c89f
fix(ci): downgrade crates requiring rust 1.66 (#7788) 2023-09-08 10:00:11 -03:00
Fabian-Lars
85112e7f8f
ci: downgrade h2 and reqwest (#7717)
* ci: downgrade h2 to 0.3.20

* reqwest

* Update test-core.yml

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-08-30 20:43:01 +03:00
Fabian-Lars
f19c7fc5c3
ci: Update serde_with downgrade to match 3.3.0 (#7654) 2023-08-30 03:44:05 +03:00
Fabian-Lars
8c5fcf41e3
ci: Downgrade tokio to 1.29 and flate2 to 1.0.26 (#7646)
* ci: Downgrade tokio to 1.29

* downgrade flate2 too
2023-08-18 03:14:38 +03:00
Lucas Fernandes Nogueira
e27b829b36
fix(ci): adjust publish-cli-rs workflow tag (#7609) 2023-08-14 07:34:25 -07:00
Jonas Kruckenberg
02eb08bbd7
perf: remove lto setting from CLI (#6861)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-14 07:28:11 -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