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
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
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
Lucas Fernandes Nogueira
880266a7f6
chore: bump MSRV to 1.70 ( #8031 )
2023-10-17 11:08:15 -03:00
Lucas Fernandes Nogueira
b2f17723a4
feat(cli): use devicetl to connect with iOS 17 devices ( #7971 )
2023-10-07 14:16:27 -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
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
Lucas Fernandes Nogueira
fbeb5b9185
refactor(core): use webview's URI schemes for IPC ( #7170 )
...
Co-authored-by: chip <chip@chip.sh>
2023-08-10 10:12:38 -03:00
Lucas Nogueira
1e9c463d12
Merge remote-tracking branch 'origin/1.x' into dev
2023-06-17 11:02:14 -03:00
Lucas Fernandes Nogueira
49dbbbbcdf
feat(ci): prepare CI for 1.x branch ( #7231 )
2023-06-17 09:41:22 -03:00
Lucas Fernandes Nogueira
7bbc626cc3
Merge remote-tracking branch 'origin/dev' into next ( #7212 )
2023-06-15 09:52:33 -03:00
Lucas Fernandes Nogueira
1d99f8a3c2
feat(core): expose test utils ( #4752 )
2023-06-07 10:22:14 -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
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
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
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
Lucas Fernandes Nogueira
3188f37649
feat: update MSRV to 1.65 ( #6883 )
2023-05-06 17:16:52 -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
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
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 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
Lucas Nogueira
1fd329935e
Merge branch 'dev' into next
2023-02-19 11:34:02 -03:00
Lucas Fernandes Nogueira
46e6187c89
chore: update license year ( #6311 )
2023-02-19 10:17:49 -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
Lucas Nogueira
1092865e67
Merge branch 'dev' into next
2022-12-08 14:19:44 -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 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 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
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
Lucas Fernandes Nogueira
bc1622c5ab
feat(core): use native window dialogs on Android ( #5137 )
2022-09-05 16:16:59 -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
c4d323b70f
fix(ci): set target on test-core.yml
2022-08-28 17:57:31 -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