Commit Graph

3620 Commits

Author SHA1 Message Date
Fabian-Lars
0bff8c325d
fix(cli): Ignore query parameter in dev server (#8697)
* fix(cli): Ignore query parameter in dev server

fixes #8148
additional ref: https://discord.com/channels/616186924390023171/1201199918379974766

* Update .changes/cli-devserver-queryparam.md

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-01-29 14:58:23 +02:00
Fabian-Lars
a9b2c0625c
chore: Commit Cargo.lock (#8586)
* chore: Commit Cargo.lock

* memchr for non-windows

* cfg-expr for non-windows

* add msrv check to covector

* update script

* downgrade arboard

* downgrade petgraph

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-01-17 16:21:45 -03: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
Naman Garg
4926648751
deps: Libflate to flate2 (#8618)
* Replace libflate with flate2

* Add .changes file

* Cargo fmt
2024-01-16 15:52:19 +02:00
Amr Bashir
06890c70c6
feat: enable socks-proxy for bundler download (#8596) (#8611)
* feat: enable socks-proxy for bundler download

* change file

Co-authored-by: Lai Zn <laizenan@gmail.com>
2024-01-16 15:42:53 +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
Naman Garg
6bdba1f330
fix(bundler/deb): use lintian-compliant permissions , closes #7992 (#8585) 2024-01-15 18:08:07 +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
Fabian-Lars
67d7877f27
fix(cli): Watch workspace members if tauri dir is workspace root (#8520)
* fix(cli): Watch workspace members if tauri dir is ws root

See title. This PR also includes a fix/workaround for paths with funny characters that may not make the glob expansion panic.

Fixes #8509

* extract into function

* cleanup
2024-01-04 01:37:05 +02:00
Jason Tsai
89911296e4
feat(bundler): codesign nested code on macos (#8259)
* feat(bundler): codesign nested code on macos

* chore: update changelog tag

* typo

* also sign stuff in the Libraries folder

tested this for spacedrive, which has a bunch of dylib inside the libraries folder

* Update .changes/mac-bundler-nested-code-sign.md [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-12-28 13:58:24 -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
446fc99bbe
ci: use default options for repository-dispatch (#8456) 2023-12-27 13:00:37 -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
renovate[bot]
883e52153e
chore(deps) Update Tauri API Definitions (1.x) (#8449)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-20 14:16:58 -03: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
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