1
1
mirror of https://github.com/tauri-apps/tauri.git synced 2024-12-21 09:41:34 +03:00
Commit Graph

89 Commits

Author SHA1 Message Date
Amr Bashir
4b75834a41
chore: update license headers 2024 () 2024-03-01 08:29:01 -03:00
Amr Bashir
16e550ec15
refactor(core): add webview events ()
* 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 ()
* feat(wry): support proxy in wry runtime

wry has been supported http/socks5 proxy in
[](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 ()
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 ()
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 () 2023-10-17 11:08:15 -03:00
Lucas Fernandes Nogueira
b2f17723a4
feat(cli): use devicetl to connect with iOS 17 devices () 2023-10-07 14:16:27 -03:00
martin frances
822ba2b121
Fix: Resolve Deprecation notice in the github build artifacts ()
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 () 2023-09-09 09:34:46 -03:00
Lucas Fernandes Nogueira
6735994885
fix(ci): downgrade cfg-expr to 0.15.4 () 2023-09-08 11:07:27 -03:00
Lucas Fernandes Nogueira
e1ac45c89f
fix(ci): downgrade crates requiring rust 1.66 () 2023-09-08 10:00:11 -03:00
Amr Bashir
7fb419c326
refactor: move to muda and tray_icon crates ()
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 ()
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 () 2023-06-17 09:41:22 -03:00
Lucas Fernandes Nogueira
7bbc626cc3
Merge remote-tracking branch 'origin/dev' into next () 2023-06-15 09:52:33 -03:00
Lucas Fernandes Nogueira
1d99f8a3c2
feat(core): expose test utils () 2023-06-07 10:22:14 -03:00
Reupen Shah
85e77fb797
fix: correct MIME type of .txt files (ref: ) ()
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 ()
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 ()
Fix api.js docs pipeline with updated typedoc dependencies ()
closes  ()
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes  ()
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes 
fix broken symlinks in license files ()
fix(cli): fix cli connection timeout to dev server (fix ) ()
fix(bundler): ensure that there are no duplicate extension arguments when bundling on Windows, fixes  ()
fix(bundler): ensure that there are no duplicate extension arguments during bundling on Windows (fix )
closes  ()
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes  ()
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes 
fix(updater): emit `UPTODATE` when server responds with 204, closes  ()
fix(core): unpin all dependencies, closes  ()
fix(bundler): Add new lang_file option in persian variant. ()
fix(core/ipc): access url through webview native object, closes  ()
fix(core): remove trailing slash in http scope url, closes  ()
fix(core): remove trailing slash in http scope url, closes 
fix(cli): find correct binary when `--profile` is used, closes  ()
fix(cli): find correct binary when `--profile` is used, closes 
closes  ()
closes 
closes  ()
closes 
fix(cli): improve vs build tools detection ()
fix: updated appimage script to follow symlinks for /usr/lib* (fix: ) ()
fix(cli): correctly remove Cargo features ()
Fix typo ()
fix(cli): revert metadata.json field rename from  ()
closes  ()
fix: add missing file properties on Windows, closes  ()
fix(cli.js): detect node-20 binary ()
fix version-or-publish workflow ()
fix(cli/devserver): inject autoreload into HTML only, closes  ()
fix(bundler/nsis): write installer templates UTF16LE encoded, closes  ()
fix(bundler/nsis): write installer templates UTF16LE encoded, closes 
fix(core): rewrite `asset` protocol streaming, closes  ()
closes  ()
fix(core): use `safe_block_on` ()
closes  ()
closes  ()
fix(core): populate webview_attrs from config, closes  ()
closes  ()
fix: sound for notifications on windows (fix ) ()
close native window's buttons, closes  ()
fix(bundler/nsis): calculate accurate app size, closes  ()
fix(tests): only download update when it is available ()
closes  ()
fix(doc): correct the doc of `content_protected()` ()
closes  ()
fix(macros): use full path to Result to avoid issues with type aliases ()
2023-05-29 21:29:24 -03:00
Amr Bashir
5ec6353a60
refactor: change package names to match published packages ()
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 ()
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 () 2023-05-16 19:27:15 +08:00
Amr Bashir
e1e85dc2a5
chore: fix ci and cleanup leftovers ()
* 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 () 2023-05-06 17:16:52 -03:00
Lucas Fernandes Nogueira
0c11023bcf
refactor(core): remove http-multipart Cargo feature () 2023-04-19 20:17:41 -03:00
Lucas Fernandes Nogueira
86488a6ad8
refactor(core): remove notification API () 2023-04-19 19:03:34 -03:00
Lucas Fernandes Nogueira
09376af594
refactor(core): remove cli feature () 2023-04-14 15:33:53 -03:00
Zeeshan Ali Khan
5fdc616df9
feat: Use the zbus-backed of notify-rust ()
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 ()
* 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 ()
* 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 () 2023-02-19 10:17:49 -03:00
Ngo Iok Ui (Wu Yu Wei)
7eb9aa75cf
Update gtk to 0.16 ()
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 () 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 () 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 () 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 () 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 () 2022-09-28 14:33:35 -03:00
Lucas Fernandes Nogueira
bc1622c5ab
feat(core): use native window dialogs on Android () 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 () 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