Commit Graph

360 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
1d99f8a3c2
feat(core): expose test utils (#4752) 2023-06-07 10:22:14 -03:00
Fabian-Lars
3480047ec1
feat(cli): Build the CLI for Windows ARM64, closes #7015 (#7098) (#7106)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
closes #7015 (#7098)
2023-06-06 09:21:57 -03:00
Reupen Shah
85e77fb797
fix: correct MIME type of .txt files (ref: #6762) (#7111)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-06-05 09:16:05 -03:00
Fabian-Lars
d7a0a2cd1a
ci: Use correct native-tls feature flags for win32-arm64 cli, ref #7098 (#7107) 2023-06-02 19:04:48 +08:00
Fabian-Lars
0ddbb3a1dc
feat(cli): Build the CLI for Windows ARM64, closes #7015 (#7098)
* feat(cli): Build the CLI for Windows ARM64

* lockfile
2023-06-01 11:04:14 +08:00
Lucas Fernandes Nogueira
a50f24b2bd
Merge remote-tracking branch 'origin/dev' into next (#7067)
Co-authored-by: wusyong <wusyong@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
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: chip <chip@chip.sh>
Co-authored-by: Raphii <iam@raphii.co>
Co-authored-by: Ronie Martinez <ronmarti18@gmail.com>
Co-authored-by: hanaTsuk1 <101488209+hanaTsuk1@users.noreply.github.com>
Co-authored-by: nathan-fall <39990940+nathan-fall@users.noreply.github.com>
Co-authored-by: Akshay <nerdy@peppe.rs>
Co-authored-by: KurikoMoe <kurikomoe@gmail.com>
Co-authored-by: Guilherme Oenning <me@goenning.net>
Co-authored-by: Pierre Cashon <biaocy91@gmail.com>
Co-authored-by: Jack Wills <32690432+mrjackwills@users.noreply.github.com>
Co-authored-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
Co-authored-by: Risto Stevcev <me@risto.codes>
Co-authored-by: Soumt <rltks1305@naver.com>
Co-authored-by: yutotnh <57719497+yutotnh@users.noreply.github.com>
Co-authored-by: Gökçe Merdun <agmmnn@gmail.com>
Co-authored-by: Nathanael Rea <Nathan@NathanaelRea.com>
Co-authored-by: Usman Rajab <usman.rajab@gmail.com>
Co-authored-by: Francis The Basilisk <36006338+snorkysnark@users.noreply.github.com>
Co-authored-by: Lej77 <31554212+Lej77@users.noreply.github.com>
Co-authored-by: Tomáš Diblík <dibla.tomas@post.cz>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
Co-authored-by: Pascal Sommer <Pascal-So@users.noreply.github.com>
Co-authored-by: Bo <bertonzh@gmail.com>
Co-authored-by: Kevin Yue <k3vinyue@gmail.com>
fixed grammar and typos (#6937)
Fix api.js docs pipeline with updated typedoc dependencies (#6945)
closes #6887 (#6922)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865 (#6921)
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865
fix broken symlinks in license files (#6336)
fix(cli): fix cli connection timeout to dev server (fix #6045) (#6046)
fix(bundler): ensure that there are no duplicate extension arguments when bundling on Windows, fixes #6103 (#6917)
fix(bundler): ensure that there are no duplicate extension arguments during bundling on Windows (fix #6103)
closes #5491 (#6408)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928 (#6935)
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928
fix(updater): emit `UPTODATE` when server responds with 204, closes #6934 (#6970)
fix(core): unpin all dependencies, closes #6944 (#6966)
fix(bundler): Add new lang_file option in persian variant. (#6972)
fix(core/ipc): access url through webview native object, closes #6889 (#6976)
fix(core): remove trailing slash in http scope url, closes #5208 (#6974)
fix(core): remove trailing slash in http scope url, closes #5208
fix(cli): find correct binary when `--profile` is used, closes #6954 (#6979)
fix(cli): find correct binary when `--profile` is used, closes #6954
closes #6955 (#6987)
closes #6955
closes #6158 (#6969)
closes #6158
fix(cli): improve vs build tools detection (#6982)
fix: updated appimage script to follow symlinks for /usr/lib* (fix: #6992) (#6996)
fix(cli): correctly remove Cargo features (#7013)
Fix typo (#7012)
fix(cli): revert metadata.json field rename from #6795 (#7029)
closes #6732 (#6736)
fix: add missing file properties on Windows, closes #6676 (#6693)
fix(cli.js): detect node-20 binary (#6667)
fix version-or-publish workflow (#7031)
fix(cli/devserver): inject autoreload into HTML only, closes #6997 (#7032)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036 (#7040)
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036
fix(core): rewrite `asset` protocol streaming, closes #6375 (#6390)
closes #5939 (#5960)
fix(core): use `safe_block_on` (#7047)
closes #6859 (#6933)
closes #6955 (#6998)
fix(core): populate webview_attrs from config, closes #6794 (#6797)
closes #5176 (#5180)
fix: sound for notifications on windows (fix #6652) (#6680)
close native window's buttons, closes #2353 (#6665)
fix(bundler/nsis): calculate accurate app size, closes #7056 (#7057)
fix(tests): only download update when it is available (#7061)
closes #6706 (#6712)
fix(doc): correct the doc of `content_protected()` (#7065)
closes #6472 (#6530)
fix(macros): use full path to Result to avoid issues with type aliases (#7071)
2023-05-29 21:29:24 -03:00
Amr Bashir
a28fdf7ec7
feat(cli/mobile/init): skip installing already installed targets, closes #7044 (#7058)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
closes #7044
2023-05-25 23:36:06 -03:00
Amr Bashir
baa581b814
ci: fix version-or-publish workflow (#7031)
* ci: fix version-or-publish workflow

* test syntax

* how about this?

* just use jq

* Delete test.js
2023-05-23 17:38:31 +03:00
Amr Bashir
5ec6353a60
refactor: change package names to match published packages (#6795)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2023-05-22 12:52:44 -03:00
Amr Bashir
b9eac96cdc
ci: pin toml to 0.7.3 (#7011)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-20 07:52:21 -03:00
Lucas Fernandes Nogueira
2344aea176
fix(ci): use workflow-dispatch action to trigger next branch workflow (#6977) 2023-05-16 20:44:52 -03:00
Fabian-Lars
d2710e9d2e
fix(core): unpin all dependencies, closes #6944 (#6966) 2023-05-16 19:27:15 +08:00
Amr Bashir
e1e85dc2a5
chore: fix ci and cleanup leftovers (#6925)
* chore: fix ci and cleanup leftovers

1. removed leftover feature flags
2. remove zip/extract apis which are not used anymore
3. removed leftoever scopes
4. removed leftover allowlist and updater options
5. updated the example api

* remove leftover updater structs

* move updater under bundle and remove uneeded options

* fix cli on linux

* remove create_proxy

* clippy

* more clippy

* clippppy

* readd path api

* fix api example

* remove window allowlist

* remove window from allowlist config

* remove `all` allowlist option

* remove file_move

* lint

* fix windows build

* remvoe unused deps

* remvoe allowlist config option, move protocol to `security > asset_protocol`

* fix diffing features

* fmt and test

* fix scope alias

* change files

* android lint

* simplify allow_file impl

* Revert "simplify allow_file impl"

This reverts commit b8882f2fd0.

* expose scopes

* remove unused error variants

* protocol-asset on docs.rs

* ignore reqwest on udeps

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-13 13:48:28 +03:00
Amr Bashir
5a9307d11c
feat(cli): update android template to gradle 8.0 (#6890)
* feat(cli): update android template to gradle 8.0

* update java in CI to 17

* updat to latest tauri-mobile
2023-05-12 14:06:50 +03:00
Lucas Fernandes Nogueira
b072daa3bd
refactor(core): move updater to a plugin (#6919) 2023-05-09 16:43:31 -07:00
Lucas Fernandes Nogueira
2659ca1ab4
feat(cli): add rustls as default Cargo feature (#6900) 2023-05-08 09:29:17 -03:00
Lucas Nogueira
4585a1cbb0
Merge branch 'dev' into next 2023-05-07 10:42:44 -03:00
Lucas Fernandes Nogueira
3188f37649
feat: update MSRV to 1.65 (#6883) 2023-05-06 17:16:52 -03:00
Lucas Fernandes Nogueira
5053a9c4c4
fix(ci): use rustls on publish-cli-js workflow (#6847) 2023-05-03 14:59:09 -03:00
Lucas Nogueira
dafdcc9b42
fix(ci): use ubuntu-20.04 to build the CLI 2023-05-03 12:05:49 -03:00
Lucas Fernandes Nogueira
942249060e
refactor(core): generate TauriActivity on build script (#6783) 2023-04-24 11:17:59 -03:00
Lucas Fernandes Nogueira
0c11023bcf
refactor(core): remove http-multipart Cargo feature (#6748) 2023-04-19 20:17:41 -03:00
Lucas Fernandes Nogueira
86488a6ad8
refactor(core): remove notification API (#6745) 2023-04-19 19:03:34 -03:00
Lucas Fernandes Nogueira
09376af594
refactor(core): remove cli feature (#6704) 2023-04-14 15:33:53 -03:00
Lucas Fernandes Nogueira
57fa569161
fix(ci): send ref to publish CLI workflows (#6674) 2023-04-12 11:32:23 -03:00
Amr Bashir
6ff801e27d
chore: rename config-schema to tauri-config-schema (#6250)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-07 12:11:05 -03:00
Lucas Fernandes Nogueira
5769ee6d29
fix(ci): use ubuntu-20.04 to build the CLI (#6632) 2023-04-04 10:58:09 -03:00
Zeeshan Ali Khan
5fdc616df9
feat: Use the zbus-backed of notify-rust (#6332)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-03-31 12:36:59 -03:00
Lucas Fernandes Nogueira
8a1b1281ac
fix(ci): adjust publish cli.js workflow (#6500)
* fix(ci): enable openssl vendored feature for cli.js

* enable feature on CI

* add openssl dep

* avoid openssl on Linux

* vendored openssl on macOS CI

* fix dep install

* lint [skip ci]
2023-03-20 11:54:33 -03:00
Lucas Nogueira
bfd97a5802
Merge remote-tracking branch 'origin/dev' into next 2023-03-19 08:56:36 -03:00
Amr Bashir
058469114d
docs: update formdata usage (#6374)
* docs: update formdata usage

* update generated files

* update generated files

* run workflow on push for dev only

* remove `js-api.json` from generated files check

* restore js-api.json before checking diff
2023-03-17 13:13:02 -03:00
Lucas Fernandes Nogueira
22c09871c3
fix(ios): link clang_rt.ios to include isPlatformVersionAtLeast (#6476)
* fix(ios): link clang_rt.ios to include isPlatformVersionAtLeast

See https://github.com/alexcrichton/curl-rust/pull/283

* lint [skip ci]

* update swift-rs to 1.0.2
2023-03-17 13:07:39 -03:00
Lucas Nogueira
9639caf33f
Merge remote-tracking branch 'origin/dev' into next 2023-03-16 09:51:07 -03:00
Lucas Fernandes Nogueira
5d94eaa3bc
feat(core): update swift-rs (#6355)
* feat(core): update swift-rs

* update tauri-plugin-log

* use env var for min iOS version

* test x86_64-apple-ios

* Revert "test x86_64-apple-ios"

This reverts commit 3ae6b79e5f.

* chore: swift min version 5.3 [skip ci]

* fix build [skip ci]

* fix cgrect usage

* test CI

* Revert "test CI"

This reverts commit 76ce0c5992.

* update swift-rs to 1.0.1

* lint

* lint [skip ci]
2023-03-16 09:34:41 -03:00
Lorenzo Lewis
cfcc7f3c20
Commit JS AST, update check-generated-file checkout action (#6262)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-02-22 10:10:54 -03:00
Lucas Nogueira
1fd329935e
Merge branch 'dev' into next 2023-02-19 11:34:02 -03:00
Lucas Fernandes Nogueira
17bf7f1f0f
feat(ci): add workflow to check license header (#6315) 2023-02-19 10:33:59 -03:00
Lucas Fernandes Nogueira
46e6187c89
chore: update license year (#6311) 2023-02-19 10:17:49 -03:00
Lucas Nogueira
3d5cc7ab86
Merge remote-tracking branch 'origin/dev' into next 2023-02-14 10:58:46 -03:00
Lucas Nogueira
0b51e2f657
chore(ci): rename test-mobile workflow to test-android, fix paths 2023-02-12 14:11:59 -03:00
Lucas Fernandes Nogueira
f28a181039
refactor: move Android project to the tauri crate (#6241) 2023-02-10 17:43:50 -03:00
Lucas Fernandes Nogueira
6f8ba2850e
feat(ci): improve test-mobile.yml run conditions (#6231) 2023-02-10 08:16:21 -03:00
Lucas Fernandes Nogueira
da57e7c087
fix(cli): use Target::build to run initial Android build (#6220) 2023-02-09 14:50:23 -03:00
Lucas Nogueira
7500a0e23a
chore(ci): use jbolda/covector again
The patches we needed have been released!
2023-02-02 18:22:34 -03:00
Ngo Iok Ui (Wu Yu Wei)
7eb9aa75cf
Update gtk to 0.16 (#6155)
Co-authored-by: Wu Yu Wei <wusyong9104@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-29 15:08:27 -03:00
Jonas Kruckenberg
e71e375c29
chore: enable aarch64-apple-darwin cargo-binstall builds (#6145) 2023-01-26 09:09:04 -03:00
Fabian-Lars
fc193a502f
ci: downgrade benchmark runner to ubuntu20.04 (#6095) 2023-01-18 22:28:42 -03:00
Lucas Nogueira
6999cdf99e
chore(ci): update covector 2022-12-22 11:38:44 -03:00
Lucas Nogueira
8301d17ab8
chore: use covector branch that sets the target_commitish release field 2022-12-15 17:14:17 -03:00
Robin van Boven
f7a080a121
fix(bench): Result interpretation problems (#5798)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-14 12:44:05 -03:00
Lucas Nogueira
fc33c4218c
fix(ci): use client-payload input to trigger cli.js publish workflow 2022-12-14 12:18:20 -03:00
Lucas Nogueira
2bf9c27375
fix(ci): use client-payload input to trigger cli.js publish workflow 2022-12-14 12:17:43 -03:00
Lucas Nogueira
9db9e6c037
feat(ci): also run check-generated-files on pull request 2022-12-12 10:36:25 -03:00
Lucas Nogueira
dd65bc99b2
chore(ci): remove integration tests 2022-12-09 15:17:14 -03:00
Lucas Nogueira
35040076ea
feat(ci): publish cli.js with --tag next 2022-12-09 10:11:41 -03:00
Lucas Fernandes Nogueira
fa3a10988a
feat(ci): prepare 2.0.0-alpha.0 (#5786) 2022-12-08 16:28:12 -03:00
Lucas Nogueira
1092865e67
Merge branch 'dev' into next 2022-12-08 14:19:44 -03:00
Lucas Fernandes Nogueira
eaf0d71779
fix(ci): do not test cli.js on node v12 (#5784) 2022-12-08 13:23:50 -03:00
Lucas Nogueira
f81c3f2922
fix(ci): install libfuse2 to run integration tests 2022-12-07 16:06:06 -03:00
Lucas Fernandes Nogueira
d710946064
refactor: move Linux custom protocol headers support behind feature flag (#5683) 2022-11-24 09:38:19 -03:00
Lucas Fernandes Nogueira
be808a9f5c
feat(ci): add Android test workflow (#5661) 2022-11-21 11:47:12 -03:00
Lucas Nogueira
169d2434ff
Merge remote-tracking branch 'origin/dev' into next 2022-11-11 11:46:15 -03:00
Lucas Fernandes Nogueira
6e879742f0
feat(ci): improve cache, add test-core features matrix (#5604) 2022-11-10 17:30:10 -03:00
Lucas Nogueira
602d3ed3f6
Merge branch 'dev' into next 2022-11-09 11:04:54 -03:00
Lucas Fernandes Nogueira
1aba1780de
feat(ci): define workspace for rust-cache, improving cache key (#5559) 2022-11-06 16:27:29 -03:00
Lucas Nogueira
777c086590
feat(ci): improve cache usage 2022-11-05 13:14:56 -03:00
Lucas Nogueira
60e08605d5
chore(ci): do not cache artifacts-updater on failure 2022-11-05 09:33:00 -03:00
Lucas Fernandes Nogueira
014aeca11f
fix(ci): use python 3.10 on bench workflow (#5550) 2022-11-04 19:25:55 -03:00
Lucas Fernandes Nogueira
b41447b811
feat(ci): use Swatinem/rust-cache@v2 (#5547) 2022-11-04 18:26:30 -03:00
Lucas Nogueira
348b26ffed
fix(ci): minimum rustc is now 1.59 2022-10-31 13:27:22 -03:00
Lucas Nogueira
d0ad0d2f48
Merge remote-tracking branch 'origin/dev' into next 2022-10-31 10:13:57 -03:00
Amr Bashir
a178f95d68
feat: config schema generator (#5193)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-28 10:44:37 -03:00
Lucas Fernandes Nogueira
d23d6f60e8
feat(ci): check if generated files match source (#5422) 2022-10-17 12:09:23 -03:00
Lucas Fernandes Nogueira
7c0fa1f3f9
fix(bundler): clear env before calling wix, closes #4791 (#4819) 2022-10-03 14:43:34 -03:00
Lucas Nogueira
1377f8e13b
perf(ci): do not run Rust jobs when the tauri script changes 2022-09-30 14:34:20 -03:00
Lucas Fernandes Nogueira
7d9aa3987e
feat: bump MSRV to 1.59 (#5296) 2022-09-28 14:33:35 -03:00
Amr Bashir
adba73a9ff
ci: migrate to the org-level token 2022-09-23 18:00:13 +02:00
Fabian-Lars
60c15750c1
ci: Don't trigger docs update when no packages were published (#5221) 2022-09-18 09:06:50 -03:00
Lucas Fernandes Nogueira
7950fcb9a8
fix(ci): add inputs to publish-cli-js (#5217) 2022-09-16 16:16:29 -03:00
Lucas Nogueira
0967da262e
fix(cli.js): revert jest update 2022-09-15 14:36:31 -03:00
Lucas Nogueira
e939e6d9e4
fix(ci): adjust publish-cli-js workflow to only install prod deps 2022-09-15 14:14:59 -03:00
Lucas Fernandes Nogueira
bc1622c5ab
feat(core): use native window dialogs on Android (#5137) 2022-09-05 16:16:59 -03:00
Lucas Nogueira
610aab7045
Merge branch 'dev' into next 2022-09-04 13:45:59 -03:00
Josh Soref
8fd79b8fc0
Spelling (#4880)
Co-authored-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-09-03 01:03:02 -03:00
Lucas Nogueira
ef8ca7b363
fix(ci): actually use MSRV toolchain 2022-08-28 23:04:19 -03:00
Lucas Fernandes Nogueira
b36ccb7e99
feat(ci): test mobile targets (#5078) 2022-08-28 23:02:32 -03:00
Lucas Nogueira
65e7085d2f
fix(ci): checkout repo in udeps.yml 2022-08-28 17:57:36 -03:00
Lucas Nogueira
c4d323b70f
fix(ci): set target on test-core.yml 2022-08-28 17:57:31 -03:00
Lucas Nogueira
d88de30076
fix(ci): checkout repo in udeps.yml 2022-08-28 17:52:40 -03:00
Lucas Nogueira
1629c5ad27
fix(ci): set target on test-core.yml 2022-08-28 17:50:05 -03:00
Lucas Fernandes Nogueira
8a380fc4e3
feat(ci): test core on MSRV (#5077) 2022-08-28 16:26:32 -03:00
Lucas Fernandes Nogueira
2901145c49
chore: update license headers (#5067) 2022-08-28 15:13:21 -03:00
Lucas Nogueira
e4d5022077
perf(ci): adjust test-core.yml paths 2022-08-16 10:06:01 -03:00
Lucas Nogueira
e602432ef6
chore(ci): run udeps on push to dev 2022-08-09 14:00:57 -03:00
Lucas Fernandes Nogueira
698a31aa79
feat(ci): improve udeps check performance (#4900) 2022-08-09 14:00:12 -03:00
Amr Bashir
5813f08386
ci: publish cli.js *.node modules to the existing cli.js release (#4883) 2022-08-09 11:36:21 -03:00
Lucas Nogueira
1caf485fce
perf(ci): do not run artifacts-updater on PRs except on example update 2022-08-04 14:56:02 -03:00
Lucas Fernandes Nogueira
90d5929fea
feat(cli.rs): add support to cargo-binstall, closes #4651 (#4817) 2022-08-02 18:54:40 -03:00
Lucas Fernandes Nogueira
433dafa01a
feat: add docker images for cross (#4702) 2022-07-27 14:58:43 -03:00
Lucas Nogueira
60adaf4a97
Revert "feat(ci): readd integration tests on Windows"
This reverts commit 1316602346.
2022-06-30 18:12:03 -03:00