Commit Graph

1485 Commits

Author SHA1 Message Date
Amr Bashir
fb10b87970
feat: move app plugin back to core (#8039)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 15:13:47 -03:00
Amr Bashir
149056746c
refactor(core/plugin)!: inline result type alias (#8037)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-10-17 14:33:17 -03:00
Amr Bashir
12b8d18bf7
refactor!: remove unnecessary error enum and result type aliases (#7875)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 13:10:21 -03:00
Amr Bashir
ed32257d04
feat(windows): add tabbed effect (#7794)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-17 12:29:10 -03:00
Lucas Fernandes Nogueira
a5686e1507
fix(core): compile on 32-bit targets (#8032) 2023-10-17 09:40:29 -03:00
Amr Bashir
a63e71f979
refactor(core&api)!: hide internal functions and reuse them in api.js & rename tauri module to primitives (#7942)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 09:40:20 -03:00
Amr Bashir
8b166e9bf8
refactor!: consistent environment variables (#7949)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 09:17:02 -03:00
Amr Bashir
c9a9246c37
feat: move window plugin back to core (#8007)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 08:33:23 -03:00
Amr Bashir
2558fab861
refactor!: remove uuid and rand dependencies where applicable (#7939)
* refactor: remove uuid and rand dependencies where applicable

ref: https://github.com/tauri-apps/tauri/issues/7756

* replace rand with getrandom

* change files

* InnerListeners private

* revert listeners_object_name [skip ci]

* default for next_event_id

* remove raw listen function

* fix event system

* Apply suggestions from code review [skip ci]

* update names [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-10-17 05:47:41 +03:00
Amr Bashir
dfe0badf19
docs: document macOS restrictions on Menu::add_item (#7983) 2023-10-16 09:15:15 -03:00
Lucas Fernandes Nogueira
46dcb94110
feat(core): include mobile on docs.rs targets (#8006) 2023-10-11 17:16:01 -03:00
github-actions[bot]
441eb4f4a5
Apply Version Updates From Current Changes (v1) (#7988)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-11 17:27:37 +00:00
Ziyang Hu
21cdbb41a3
fix: truncate file when not appending in writeFile, closes #7973 (#7982)
* Fix https://github.com/tauri-apps/tauri/issues/7973

* Fix https://github.com/tauri-apps/tauri/issues/7973

* Fix https://github.com/tauri-apps/tauri/issues/7973
2023-10-09 16:22:54 +03:00
github-actions[bot]
713f84db2b
Apply Version Updates From Current Changes (#7823)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-08 10:03:49 +00:00
Lucas Fernandes Nogueira
b2f17723a4
feat(cli): use devicetl to connect with iOS 17 devices (#7971) 2023-10-07 14:16:27 -03:00
Lucas Fernandes Nogueira
40d340021c
fix(bundler): team ID is now required for notarytool via app password (#7972) 2023-10-06 14:33:49 -03:00
Fabian-Lars
cdd5516f33
fix(bundler): Use escaped installer path when starting the updater setup, fixes #7931 (#7956)
* fix(bundler): Use escaped installer path when starting the updater setup, fixes #7931

* fun ci stuff

* who needs lockfiles anyway

* stahp

* please let it be the last one. i want to leave
2023-10-05 00:45:43 +03:00
Amr Bashir
b597aa5f39
feat: add id option for tray icon in config file (#7871)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-10-03 10:18:19 -03:00
Lucas Fernandes Nogueira
68e7319305
fix(core): update scope usage following #7944 (#7946) 2023-10-03 08:44:25 -03:00
martin frances
44e8a562a2
fix: Cleared warnings seen while running ``cargo doc`` (#7862) 2023-10-03 08:37:54 -03:00
Amr Bashir
c0d03af470
refactor!: renamed TrayIconBuilder/TrayIcon::on_tray_event to TrayIconBuilder/TrayIcon::on_tray_icon_event (#7943) 2023-10-03 07:53:47 -03:00
Amr Bashir
b7fd88e18d
refactor!: consistent naming in tauri::scope module (#7944) 2023-10-03 07:50:00 -03:00
github-actions[bot]
19249d78fb
Apply Version Updates From Current Changes (v1) (#7938)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-02 13:16:57 -03:00
Lucas Fernandes Nogueira
3671edbcff
fix(core): toggle devtools via global shortcut (#7937)
* fix(core): toggle devtools via global shortcut

* Update .changes/fix-toggle-devtools.md
2023-10-02 17:19:01 +03:00
github-actions[bot]
a3277a245c
Apply Version Updates From Current Changes (v1) (#7924)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2023-09-30 04:41:23 +03:00
github-actions[bot]
0af553da72
Apply Version Updates From Current Changes (v1) (#7261)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-09-28 14:01:19 -03:00
Lucas Fernandes Nogueira
c68fbfcb2d
fix: Returns a warning instead of panicking if an AppImage is not mounted, closes #7736 (#7912)
Co-authored-by: Benjamin Demetz <50681275+Benji377@users.noreply.github.com>
2023-09-28 10:46:17 -03:00
Benjamin Demetz
1bce7397a4
fix: Returns a warning instead of panicking if an AppImage is not mounted, closes #7736 (#7843)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-09-28 10:22:11 -03:00
Fabian-Lars
9aa34ada57
feat(core): Allow http origin on Windows, fixes: #3007 (#7645)
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-09-26 14:40:38 -03:00
Trey Smith
5ecb46b341
fix: rpath missing from app, closes #7710 (#7773)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
fix: codesign doesn't sign frameworks or sidecar, closes #7690 (#7774)
2023-09-24 19:11:20 -03:00
Amr Bashir
deea943626
refactor!: changed Env.args to Env.args_os and use OsString instead of String (#7876)
ref: https://github.com/tauri-apps/tauri/issues/7756
2023-09-21 15:56:03 +03:00
Amr Bashir
092a561ca6
refactor!: remove tauri::api module (#7874)
* refactor!: remove `tauri::api` module

ref: https://github.com/tauri-apps/tauri/issues/7756

* change file

* fix builds
2023-09-21 15:55:42 +03:00
Amr Bashir
c3ac1f836b
docs: use http::* qualified import instead of an alias (#7873) 2023-09-21 15:34:13 +03:00
Logan Keenan
a2021c30ba
fix: remove mut self from set_native_icon signature (#7866)
* fix set_native_icon compile error

* Update core/tauri/src/menu/icon.rs

* Update core/tauri/src/menu/icon.rs

* Create set_native_icon_signature.md

* Update .changes/set_native_icon_signature.md
2023-09-21 02:21:33 +03:00
Trey Smith
dcdbe3eb6c
fix: codesign doesn't sign frameworks or sidecar, closes #7690 (#7774)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-09-15 12:09:10 -03:00
Lucas Fernandes Nogueira
990295304f
fix(core): remove unused rand dependency, ignore quickcheck_macros (#7838) 2023-09-15 10:58:56 -03:00
Lucas Fernandes Nogueira
995ffc629b
fix(ci): recreate symlink so the integration tests works (#7833) 2023-09-13 21:55:47 -03:00
Lucas Fernandes Nogueira
b3ebe4de3c
chore(config-schema): remove unused deps (#7824) 2023-09-12 23:55:27 +03:00
Amr Bashir
a68ccaf59a
fix: skip leading slash for asset protocol, closes #7815 (#7822)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-09-12 16:57:11 -03:00
i-c-b
100d9ede35
fix(core): Correctly detect Android Tauri configuration file, closes #7785 (#7802)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-09-12 13:18:23 -03:00
Amr Bashir
4bf1e85e6b
fix(windows): respect focused: false for webview, closes #7519 (#7722)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
fix(windows): respect `focused: false` for webview, closes #7519
2023-09-11 17:00:06 -03:00
Davis Silverman
0b0bc81710
Extend context.rs to dynamically find the OUT_DIR for certain assets (#7534)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2023-09-11 16:59:30 -03:00
github-actions[bot]
3c66a53a9e
Apply Version Updates From Current Changes (#7811)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-09-11 13:00:21 -03:00
Lucas Fernandes Nogueira
d5074af562
fix: custom protocol on Windows, change scheme on Android, closes #7801 (#7808) 2023-09-11 12:25:06 -03:00
github-actions[bot]
a6a42f8f0a
Apply Version Updates From Current Changes (#7770)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-09-08 11:49:37 -03:00
Lucas Fernandes Nogueira
4cb51a2d56
refactor(core): custom protocol on Windows now uses the http scheme (#7779) 2023-09-07 19:57:16 -03:00
Jason Tsai
e3bfb01411
feat(nsis): support choosing compression algorithms, closes #7685 (#7776) 2023-09-07 18:45:15 +03:00
Jason Tsai
0797a002ca
fix: use button property for data-tauri-drag-region mouse button detection, closes #7694 (#7746) 2023-09-07 09:55:47 -03:00
Amr Bashir
53ab2042fd
refactor: remove unnecessary mutex (#7728) 2023-09-07 09:09:59 -03:00
github-actions[bot]
7db1c31e47
Apply Version Updates From Current Changes (#7627)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-09-06 18:12:36 -03:00
Lucas Fernandes Nogueira
b7f53d66e8
fix(core): use postMessage IPC for remote URLs on iOS ref #7751 (#7764) 2023-09-06 16:09:01 -03:00
Lucas Fernandes Nogueira
0d63732b96
refactor(core): allow custom protocol handler to resolve async (#7754) 2023-09-06 15:53:03 -03:00
Lucas Fernandes Nogueira
29818de682
fix(core): use postMessage IPC for remote URLs on macOS closes #7662 (#7751)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-09-05 12:41:05 -03:00
Simon Hyll
e98393e499
fix: no longer unpacking and flattening payload, closes #7673 (#7677) 2023-09-04 18:02:22 -03:00
XXIV
41067cef00
perf: remove unnecessary heap allocation (#7731) 2023-09-04 15:00:49 +03:00
Amr Bashir
49beb67dab
ci: fix clippy lints (#7721)
* ci: fix clippy lints

* more lints
2023-08-31 13:53:15 +03:00
Fabian-Lars
58d6b899e2
feat(api): Add append option to writeFile apis (#7636)
* feat(api): Add `append` option to writeFile apis.

* wording

* fmt

* Update .changes/fs-append-file.md


* clippeeeyyyy
2023-08-16 19:09:05 +03:00
Amr Bashir
af3268a4be
refactor(menu,tray): add wrappers (#7622) 2023-08-16 13:06:17 -03:00
Amr Bashir
5c95152c76
refactor!: take id for text/check/icon on menu builders (#7621)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-16 11:55:36 -03:00
Amr Bashir
6177150b6f
feat: add drag-n-drop position (#7601) 2023-08-16 11:21:40 +09:00
yydcnjjw
8a6766173b
feat(tauri): impl Send for app::Builder, closes #7618 (#7619)
* feat(tauri): impl Send for app::Builder

* chore: add .changes/app-builder-send.md
2023-08-16 11:21:23 +09:00
Fabian-Lars
9308dee0a1
docs: Be more specific about plugin names in ipc scope (#7605) 2023-08-15 10:56:05 -03:00
Lucas Fernandes Nogueira
7f818384d3
chore: enable tray-icon feature for docs.rs build (#7620) 2023-08-15 08:26:31 -03:00
github-actions[bot]
3bf1bce9ec
Apply Version Updates From Current Changes (#7612)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-14 12:19:36 -03:00
Lucas Fernandes Nogueira
560b34dd2a
fix(tauri-build): skip validating tray-icon feature flag (#7610) 2023-08-14 07:24:13 -07:00
github-actions[bot]
28382fdf9e
Apply Version Updates From Current Changes (#7270)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-08-14 08:30:01 -03:00
renovate[bot]
d928d23cdb
chore(deps) Update Tauri Core - abandoned (#5253)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-08-13 22:41:00 -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
ec827760ab
fix(tauri-runtime-wry): adjust docs.rs features to fix doc build (#7583) 2023-08-13 20:40:03 -03:00
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
Graeme McHale
10e362d098
feat: allow more flexible http requests in updater closes #7422 (#7432)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-10 07:23:52 -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
Isaac Cambron
eeb6be5422
feat(core): Manager::emit_filter and optimize serialization (#7512)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-08 16:57:30 -03:00
Amr Bashir
a6b52e44f2
fix(tauri-utils): include \n in io::read_line, closes #6388 (#6519)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
fix(tauri-utils): include `\n` in `io::read_line`, closes #6388
2023-08-08 16:43:19 -03:00
Amr Bashir
6c408b736c
feat: add notification sound (#7269)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-08-08 15:09:04 -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
Lucas Fernandes Nogueira
4dd4893d7d
feat: allow specifying a resource map, closes #5844 (#5950)
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
closes #5844
2023-07-13 18:28:52 -03:00
Dave Ceddia
ef962c43af
fix(cli): handle symlinks in updater bundler, closes #3933 (#3934)
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-07-13 14:35:22 -03:00
Fabian-Lars
290e366ae9
fix(build): Copy wv2 runtime in dev, fixes #7373 (#7419) 2023-07-13 14:34:31 -03:00
Lucas Fernandes Nogueira
c98273387c
feat(core): enhance readDir error message, closes #7379 (#7416) 2023-07-13 08:00:51 -07:00
Amr Bashir
2eab150563
feat(api/http): properly handle Files in Body.form, closes #7390 (#7394)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
closes #7390
2023-07-13 08:58:21 -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
fdaee9a5ce
feat(core/plugin): add register_uri_scheme_protocol, closes #7330 (#7350)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
closes #7330
2023-07-12 16:49:32 -03:00
Amr Bashir
71a0240166
chore: remove hotkey.js script and replace var with const (#7343)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-07-12 08:44:26 -03:00
Amr Bashir
757e959eb2
feat: respect base tag's target attribute, closes #7285 (#7344)
* feat: respect `base` tag's `target` attribute, closes #7285

* Update core.js

* fix condition
2023-07-11 15:11:23 +03:00
Amr Bashir
fa7f9b77ab
fix(core/updater): set max_redirections of 5, closes #7329 (#7341)
* fix(core/updater): set `max_redirections` of 5, closes #7329

* Update .changes/updater-redirect.md
2023-07-11 15:08:53 +03:00
Lucas Fernandes Nogueira
eeff1784e1
chore(deps): update unmaintained dependency from kuchiki to kuchikiki (#7359) (#7367)
Co-authored-by: Davide Baldo <davide@baldo.me>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-07-11 19:19:13 +09: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