Commit Graph

1400 Commits

Author SHA1 Message Date
chip
e21a449b27
use mime crate for manager (#7584) 2023-08-12 07:24:24 -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
renovate[bot]
85efd0ae43
chore(deps) Update Rust crate swift-rs to 1.0.6 (dev) (#7578)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-10 07:22:20 -03:00
Kris Krolak
4db363a03c
feat: add visible_on_all_workspaces, closes #6589 (#7437)
* feat: add visible_on_all_workspaces, closes #6589

* add changes file

* Apply suggestions from code review

* Update core/tauri-config-schema/schema.json

* Update tooling/cli/schema.json

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-07-26 19:38:09 +08:00
Jeffrey Hutchins
3a2c3e7471
feat: Add ordered navigation handler for plugins, closes #7306 (#7439)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-07-24 14:36:16 -03:00
Lucas Fernandes Nogueira
7b45e7fa1b
feat(build): trigger rerun if plugin config env var changes (#7458) 2023-07-19 13:16:43 -03:00
Lucas Fernandes Nogueira
ecffaa2524
feat(build): skip writing manifest/entitlements when no changes found (#7457) 2023-07-19 13:16:35 -03:00
Lucas Fernandes Nogueira
1e1d839e7e
feat(build): add function to rewrite AndroidManifest.xml (#7450) 2023-07-19 08:15:08 -03:00
Lucas Fernandes Nogueira
522de0e788
feat(core): allow a plugin build script to read the plugin config object (#7447) 2023-07-18 11:04:15 -03:00
Lucas Fernandes Nogueira
aba04fa823
feat(build): add API to update the iOS entitlements file (#7448) 2023-07-18 10:20:55 -03:00
Lucas Fernandes Nogueira
753900dd6e
feat(ios): expose RunEvent::Opened (#7440) 2023-07-17 19:44:34 -03:00
Fabian-Lars
a5752db985
feat(core): forward onNewIntent event to android plugins (#7436) 2023-07-17 10:20:16 -03:00
Bo
3b98141aa2
feat: add file association support, closes #3736 (#4320)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Raphii <iam@raphii.co>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-07-16 18:34:43 -03:00
Amr Bashir
84c4159754
feat(core): add monitor functions for App/AppHandle, closes #6394 (#6403)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-07-12 17:14:04 -03:00
Amr Bashir
74b1f4fc66
feat(core): add dark/light mica option (#7384)
* feat(core): add dark/light mica option

* Update .changes/dark-light-mica-effect.md

* fix macos build
2023-07-10 14:31:29 +03:00
Amr Bashir
fd5dc788d1
refactor: cleanup and remove unused tauri::api modules (#7352) 2023-07-10 12:17:17 +09:00
Davide Baldo
43c6285e90
chore(deps): update unmaintained dependency from kuchiki to kuchikiki (#7359)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-07-05 17:41:46 -03:00
renovate[bot]
5cbf4df390
chore(deps) Update Rust crate swift-rs to 1.0.5 (#7272)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-21 07:50:27 -03:00
Jeffrey Hutchins
2a000e150d
feat: add navigate method (#7235) 2023-06-20 16:56:17 -03:00
yydcnjjw
33f6aa438e
fix: ipc scope not found error at windows (#7264)
The incorrect value ("window") was utilized when determining the Windows platform.
2023-06-20 17:33:52 +08:00
Simon Hyll
c34e37b1f7
docs: added rustdoc icons (#7253)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-19 21:51:05 -03:00
Lucas Fernandes Nogueira
e63111b65a
chore: remove v1 references on documentation and benchmark (#7258)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-06-19 09:47:51 -03:00
Lucas Fernandes Nogueira
d1a6e2f333
chore(deps): update state to 0.6 (#7252) 2023-06-18 20:57:36 -03:00
github-actions[bot]
bd29b05f15
Apply Version Updates From Current Changes (v2) (#7242)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-06-17 15:05:12 -03:00
Lucas Nogueira
1e9c463d12
Merge remote-tracking branch 'origin/1.x' into dev 2023-06-17 11:02:14 -03:00
github-actions[bot]
4b3d66c793
Apply Version Updates From Current Changes (v1) (#7234)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-06-17 10:45:52 -03:00
Amr Bashir
6afd34727f
fix(core): revert #6680, remove default notification sound on Windows (#7229)
fix(core): revert #6680, remove default notification sound on Windows
2023-06-17 09:18:16 -03:00
Amr Bashir
066c09a6ea
fix(core): fix require_literal_leading_dot flipped behavior (#7227) 2023-06-17 09:17:36 -03:00
Lucas Nogueira
d0e5dbf33e
fix(core): remove unused dependencies 2023-06-15 12:29:37 -03:00
Lucas Fernandes Nogueira
cafaf69fd7
fix(ci): add missing license headers, adjust script to properly ignore (#7216) 2023-06-15 11:05:59 -03:00
Lucas Nogueira
93afa71d9a
chore: fix merge conflicts from dev 2023-06-15 10:37:02 -03:00
Lucas Fernandes Nogueira
7bbc626cc3
Merge remote-tracking branch 'origin/dev' into next (#7212) 2023-06-15 09:52:33 -03:00
Amr Bashir
2d2fd6abe2
fix(core): use correct http method for proxied server, closes #7191 (#7208) 2023-06-15 08:29:20 -03:00
Amr Bashir
0fa0fa4ccf
fix: check if url local with platform custom protocol, closes #7176 (#7202)
* fix: check if url local with platform custom protocol, closes #7176

* Update core/tauri/src/window.rs
2023-06-14 19:39:38 +03:00
github-actions[bot]
b7ae725c5e
Apply Version Updates From Current Changes (#6901)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-06-14 12:59:28 -03:00
Lucas Fernandes Nogueira
aa94f049c1
fix(tests): adjust default bundle target for updater integration test (#7201) 2023-06-14 11:17:02 -03:00
Amr Bashir
d75c1b829b
fix(cli): warn about bundling updater target without appropriate targets, closes #7181 (#7189)
* fix(cli): warn about bundling updater target without appropriate targets, closes #7181

* change tags

* cleanup

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-14 02:14:35 +03:00
Lucas Fernandes Nogueira
696d77c3ce
fix(core): global events now reaches window listeners, closes #4493 (#7163)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-06-13 08:05:58 -03:00
Fabian-Lars
5d85d0990c
fix(core): Send updater status events when default dialog is enabled, closes #7128 (#7157) 2023-06-13 08:05:42 -03:00
Amr Bashir
b66e7d60f2
feat(core): impl clone for Channel (#7174) 2023-06-10 14:38:02 -03:00
Lucas Fernandes Nogueira
8124145d6c
fix(core): path commands not added (#7171) 2023-06-08 17:08:46 -07:00
Amr Bashir
6d3f3138b9
fix(core/path): change sep and delimiter to functions (#7160)
* fix(core/path): change `sep` and `delimiter` to functions

* fix impl

* semicolons

* return types

* generated

* fix init js

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-08 03:40:14 +03:00
Amr Bashir
076e1a81a5
fix(core): use u32 for js listeners ids, closes #7119 (#7159) 2023-06-07 17:54:04 -03:00
Lucas Fernandes Nogueira
1d99f8a3c2
feat(core): expose test utils (#4752) 2023-06-07 10:22:14 -03:00
Amr Bashir
bfaf624a4c
chore: fix doc link (#7147) 2023-06-07 15:11:48 +03:00
Amr Bashir
4652c446b3
feat: add tempDir to path plugin (#7144)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-06-06 14:51:29 -03:00
Fabian-Lars
db7c5fbf2e
refactor(core): Remove attohttpc in favor of reqwest (#7143)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-06-06 13:29:52 -03:00
Lucas Fernandes Nogueira
52474e479d
feat(cli): enhance Cargo features injection, add tests (#7141) 2023-06-06 13:29:28 -03:00
Hyph
f2d68cf7d4
feat(core): expose Wry's with_incognito to Tauri on the WindowBuilder::incognito function. (#6767) 2023-06-06 18:30:37 +03:00
Amr Bashir
b41b57ebb2
fix(core): avoid panics in global shortcut, closes #7105 (#7136) 2023-06-05 16:43:44 -03:00
Lucas Fernandes Nogueira
9e3a18e046
feat(api): expose window target option on event APIs (#7132) 2023-06-05 16:00:44 -03:00
Amr Bashir
0503eb69ce
fix(core): account for data: uri when calculating origin, closes #7078 (#7133)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-06-05 09:47:21 -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
Lucas Fernandes Nogueira
27c5f364a8
fix(macros): use full path to Result to avoid issues with type aliases (#7071) 2023-05-27 04:37:19 -07:00
Amr Bashir
000104bc3b
feat: add is_focused APIs, closes #6472 (#6530)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-26 13:37:28 -03:00
chip
7fee3d3a2a
use cargo workspace package table (#6885) 2023-05-26 10:04:01 -03:00
Kevin Yue
8fd9cfa1f2
fix(doc): correct the doc of content_protected() (#7065) 2023-05-26 09:23:57 -03:00
Bo
17d5a4f51f
feat(core): early panic if the PNG icon is not RGBA, closes #6706 (#6712) 2023-05-26 15:26:21 +08:00
chip
160489454d
fix clippy errors on macOS (#7064)
* fix clippy errors on macOS

* cargo clippy --fix
2023-05-26 15:24:23 +08:00
Pascal Sommer
d68a25e32e
Improve compile errors for async commands without Result return type (#6124)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-26 01:04:30 -03:00
Lucas Fernandes Nogueira
154ccbe503
fix(tests): only download update when it is available (#7061) 2023-05-25 21:22:55 -03:00
Tomáš Diblík
c4d6fb4b1e
feat(core): Ability to disable minimize/maximize/close native window's buttons, closes #2353 (#6665)
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>
2023-05-24 17:23:32 -03:00
Lej77
65fd674f50
fix: sound for notifications on windows (fix #6652) (#6680) 2023-05-24 17:20:13 -03:00
Francis The Basilisk
35cd751adc
feat(bundler): custom desktop file template, closes #5176 (#5180)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-24 16:04:54 -03:00
Amr Bashir
ff5e4dbbb0
fix(core): populate webview_attrs from config, closes #6794 (#6797)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-24 15:39:51 -03:00
Amr Bashir
df89ccc191
feat(nsis): implement passive mode, closes #6955 (#6998)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-24 14:16:12 -03:00
renovate[bot]
0f707d2b53
chore(deps) Update Rust crate serde_with to v3 (#7048)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-24 13:17:21 -03:00
Amr Bashir
2317913b71
fix(core): use safe_block_on (#7047)
fixes regression introduced in 45330e3819

ref: https://github.com/tauri-apps/tauri/issues/6375#issuecomment-1560063696
2023-05-24 05:07:31 +03:00
Amr Bashir
359058cecc
feat(api): add locale function, closes #5939 (#5960) 2023-05-23 16:02:33 -03:00
Amr Bashir
45330e3819
fix(core): rewrite asset protocol streaming, closes #6375 (#6390)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-23 15:30:31 -03:00
Amr Bashir
e0f0dce220
feat: add window effects api (#6442)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-23 15:29:46 -03:00
Amirhossein Akhlaghpour
4c39e46a3b
feat: current_version feature (#7026)
* feat: reexport webview_verion

* chore: clippy problems

* fix: add .changes md file

* Update .changes/add-webview-version.md
2023-05-23 18:35:49 +03:00
Amr Bashir
3cb7a3e642
fix(cli/devserver): inject autoreload into HTML only, closes #6997 (#7032) 2023-05-23 17:39:11 +03:00
Amr Bashir
af93729031
fix: add missing file properties on Windows, closes #6676 (#6693)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-05-22 16:34:33 -03:00
Amr Bashir
262776d8d8
docs(tauri-build): clarify common-controls-v6 dependency, closes #6732 (#6736) 2023-05-22 15:07:08 -03:00
Andzej Korovacki
8e85576506
fix: default log path for linux and windows updated (fix: #6809) (#6827)
* fix: default log path for linux and windows updated (fix: #6809)

* fix impl after reset
2023-05-21 16:38:20 +03:00
Lucas Fernandes Nogueira
3256a37263
fix(build): inject Android proguard rules, closes #7016 (#7017) 2023-05-21 13:03:20 +08:00
yutotnh
2b487c9467
Fix typo (#7012)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-20 08:24:07 -03:00
Amr Bashir
acc36fe117
feat(core): add option for require_literal_leading_dot, closes #6158 (#6969)
* feat(core): add option for `require_literal_leading_dot`, closes #6158

* change to `Option<bool>`

* fix to tokens impl

* Apply suggestions from code review

Co-authored-by: Simon Hyll <hyllsimon@gmail.com>

---------

Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
2023-05-18 16:11:50 +03:00
Amr Bashir
cd3846c8ce
feat(nsis): restart app after updating, closes #6955 (#6987)
* feat(nsis): restart app after updating, closes #6955

* Apply suggestions from code review
2023-05-18 16:11:31 +03:00
github-actions[bot]
d1304ffa12
(NEXT) Apply Version Updates From Current Changes (#6707)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-05-18 09:10:12 -03:00
Lucas Fernandes Nogueira
8ce32e74b5
feat(core): expose default_window_icon on App and AppHandle (#6986) 2023-05-17 19:54:15 -03:00
Amr Bashir
82169e69fc
fix(core): remove trailing slash in http scope url, closes #5208 (#6974)
* fix(core): remove trailing slash in http scope url, closes #5208

* fix tests

* one more tests fix

* clippy
2023-05-17 14:33:10 +03:00
Amr Bashir
aecf146909
fix(core/ipc): access url through webview native object, closes #6889 (#6976) 2023-05-17 14:32:45 +03:00
Lucas Fernandes Nogueira
e5bd34cb34
refactor(core): remove init scripts related to plugin APIs (#6975) 2023-05-16 11:46:32 -03:00
Lucas Fernandes Nogueira
59db76af4c
refactor(android): fix race conditions processing Android plugin project as dependency (#6968) 2023-05-16 10:22:46 -03:00
Fabian-Lars
d2710e9d2e
fix(core): unpin all dependencies, closes #6944 (#6966) 2023-05-16 19:27:15 +08:00
Amr Bashir
3700793a2f
fix(updater): emit UPTODATE when server responds with 204, closes #6934 (#6970) 2023-05-16 13:00:00 +08:00
Amr Bashir
46a58afd9e
chore: remove duplicate tauri in tauri-config-schema name (#6967) 2023-05-15 15:12:51 -03:00
Amr Bashir
2948820579
feat(bundler/NSIS): allow specifying custom lang files (#6867)
* feat(bundler/NSIS): allow specifying custom lang files

* add dunc as dep on all platforms

* clippy

* Update tooling/bundler/src/bundle/windows/nsis.rs

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* Update core/tauri-utils/src/config.rs

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* schema files

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-15 18:11:10 +03:00
Lucas Fernandes Nogueira
6fb5734d2f
feat(mobile): add event APIs for plugins (#6946) 2023-05-15 11:36:25 -03:00
Amr Bashir
e0c30a7e8b
refactor: use const instead of a function (#6958) 2023-05-14 17:03:40 -03:00
Lucas Fernandes Nogueira
6d25c4d07f
fix(config): properly reference updater configuration on ToTokens impl (#6957) 2023-05-13 10:30:35 -03: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
Jack Wills
441f964654
feat(core/tauri): add try_get_item for SystemTray and WindowMenu, closes #5491 (#6408)
* feat: try_get_item() for window menu

Add a method in the MenuHandle struct, that will return an Optional MenuItemHandle

feat: try_get_item() for systemtray

Add a method in the SystemTrayHandle struct, that will return an Optional SystemTrayMenuItemHandle

docs: features documented in ./changes/minor.md

fix: suggested changes

fix CI

* Update .changes/tray_get_item.md

---------
2023-05-12 16:15:36 +03:00
Guilherme Oenning
7c23720920
feat: add tauri::version, similar to getTauriVersion available on JS API (#6546)
Signed-off-by: goenning <me@goenning.net>

Apply suggestions from code review
2023-05-12 15:36:31 +03:00
Akshay
a08d1b248f
chore: fix broken symlinks in license files (#6336)
symlink to repo root
2023-05-12 14:56:32 +03:00
Lucas Fernandes Nogueira
9a79dc0858
refactor(core): remove window endpoints (#6947) 2023-05-12 08:18:00 -03:00
Amr Bashir
dc682155de
fix(core): Fix WindowBuilder::on_navigation handler never registerd, closes #6865 (#6921)
* fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865

* clippy
2023-05-12 14:03:42 +03:00