Commit Graph

3605 Commits

Author SHA1 Message Date
Amr Bashir
b44e9c0fcb
feat(bundler): redownload outdated/mis-hashed files (#8431)
* feat(bundler): redownload outdata/mis-hashed files

* change import location

* Update util.rs

* Update util.rs

* Update bundler-mishashed-files.md

* Update bundler-mishashed-files.md

* rename fn

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-12-20 12:46:19 -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
Fabian-Lars
0a2175eabb
fix(cli): expand globs in workspace member paths (#8439)
* fix(cli): Expand globs in workspace member paths

fixes #8403

* unusued import

* into_iter

* return error instead of of empty vec

* Update dev-watcher-glob.md
2023-12-20 15:57:10 +02: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
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
Amr Bashir
9b230de7bc
fix(utils/config): fix parsing f64 values, closes #8252 (#8407) 2023-12-18 18:18:44 -03:00
Amr Bashir
50e9caad64
ci: access cli release id directly (#8398) 2023-12-18 18:17:39 -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
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
Amr Bashir
1c582a942e
refactor(api): generate types next to modules (#8392)
* refactor(api): generate types next to modules"

this fixes an issue with `moduleResolution: node`

* change file

* Update api-module-resolution-node.md
2023-12-14 13:27:48 -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
Amr Bashir
c1bc4d2948
chore(cli/help): mention the need for a second -- in tauri dev (#8388)
* chore(cli/help): mention the need for a second `--` in `tauri dev`

ref: https://github.com/tauri-apps/tauri/issues/8382#issuecomment-1854016310

* add example to clarify [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-12-14 09:20:52 -03:00
github-actions[bot]
f9c97b7e5b
Apply Version Updates From Current Changes (v1) (#8377)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2023-12-13 14:43:54 -03:00
Amr Bashir
5ff9d4592a
fix(bundler/nsis): only kill processes of current user (#8390)
* fix(bundler/nsis): only kill processes of current user

Co-authored-by: FabianLars-crabnebula <fabianlars@crabnebula.dev>

* change file

---------

Co-authored-by: FabianLars-crabnebula <fabianlars@crabnebula.dev>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-12-13 18:57:32 +02:00
Amr Bashir
30adc8d45d
ci: fix publish @tauri-apps/api to latest instead of next (#8371)
* ci: fix publish `@tauri-apps/api` to `latest` instead of `next`

closes #8335

* just remove tag
2023-12-12 12:17:11 +02:00
Amr Bashir
777ddf434a
fix(bundler): unset NSISDIR and NSISCONFDIR when running makensis (#8376)
closes #8359
2023-12-12 12:17:03 +02:00
Lucas Fernandes Nogueira
327c7aec30
fix(ci): skip installing unnecessary deps (#8277) 2023-12-01 17:06:59 +02:00
amrbashir
14e29f320d
chore: update tauri-cli lock file 2023-12-01 04:27:26 +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
i-c-b
977a39f4f7
fix(bundler): migrate WebView2 offline installer to shorturl (#8292) 2023-11-29 03:51:42 +02:00
Chase Knowlden
c34710de67
fix: Fix archived links, Closes #8302 (#8315) 2023-11-29 03:41:41 +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 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
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
f26d9f0884
fix(bundler/nsis): remove empty resources folders on uninstall (#8263)
* fix(bundler/nsis): remove empty resources folders on uninstall

* make clippy happy for once
2023-11-20 14:43:47 +02:00
renovate[bot]
8accd6940e
chore(deps) Update Rust crate handlebars to 4.5 (1.x) (#8231)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-19 08:58:27 -03:00
Amr Bashir
26ccfef999
ci: fix parsing covector ouput (#8240) 2023-11-19 08:54:05 -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
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
Fabian-Lars
92bc7d0e16
fix(bundler/nsis): calculate estimated size on build system (#8233)
* fix(bundler): Fix nsis installer taking longer than expected to install resources

* create dir structure for resources before extracting files

* calculate size in rust on the build system

* i'm sorry clippy, i programmed in unholy languages where += wasn't a thing so i forgot it exists in rust...

* i'm a better clippy than clippy🌚
2023-11-15 20:53:15 +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
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
Lucas Fernandes Nogueira
2ba8856343
fix(core): docs.rs build failing for macOS (#8095) 2023-11-13 22:34:22 -03:00
renovate[bot]
f964cbdb93
chore(deps) Update dependency eslint to v8.53.0 (1.x) (#8189)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-13 21:45:24 -03:00
renovate[bot]
0f7b2c4298
chore(deps) Update Rust crate tempfile to 3.8.1 (1.x) (#8188)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-13 21:43:45 -03:00
Merlin Gough
14544e4b87
fix(api): avoid crashing in clearMocks, closes #8179 (#8219)
* fix(api): do nothing in clearMocks if __TAURI_INTERNALS__ is not defined (fix: #8179)

Prevents tests that didn't define any mocks from failing in `afterEach` test hook.

* Update fix-clearmocks.md

* check for indvidiual properties instead
2023-11-13 17:48:54 +02:00
Olivier Lemasle
1d5aa38ae4
fix(cli): Fixes errors on command output, closes #8110 (#8162)
Fixes #8110
2023-11-09 15:34:16 -03:00
i-c-b
416370a627
enhance(docs): Document Windows-specific icon behaviour (#8153) 2023-11-06 20:12:26 -03:00
Lucas Fernandes Nogueira
2c7d683ae3
chore(renovate): ignore cargo_toml and minisign (#8118) 2023-10-26 15:38:09 -03:00
renovate[bot]
b6ef1fab0e
chore(deps) Update Tauri API Definitions (1.x) (#8100)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-26 13:42:15 -03:00
renovate[bot]
bf859859d6
chore(deps) Update Rust crate libflate to v2 (1.x) (#8106)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-26 13:33:01 -03:00
Lucas Fernandes Nogueira
a635ec2345
feat(cli): add unit test for empty updater private key password (#8096) 2023-10-25 19:13:48 -03:00
github-actions[bot]
ae75004cee
Apply Version Updates From Current Changes (v1) (#8065)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-23 21:20:02 -03:00
Lucas Fernandes Nogueira
13ce9ac836
fix: e2e test using invalid updater private keys (#8086) 2023-10-23 19:43:01 -03:00
Fabian-Lars
5264e41db3
fix(deps): Downgrade minisign to 0.7.3 again (#8082) 2023-10-23 15:12:00 -03:00
renovate[bot]
5f75ebbbbb
chore(deps) Update Tauri CLI (1.x) (#8051)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-20 02:26:11 +00:00