Commit Graph

788 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
74d2464d0e
refactor(core): implement on_page_load event using wry hook (#8116) 2023-10-27 10:00:59 -03:00
Lucas Fernandes Nogueira
2b6ffe0fd1
chore: update plugins-workspace branch usage from next to v2 (#8120) 2023-10-27 00:17:23 -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
Olivier Lemasle
6bc3b0536d
fix(cross): Fix docker image and cross setup (#8094) 2023-10-26 13:58:56 -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
Amr Bashir
a0f7b88fd8
build(api.js): simplify output JS files (#8025)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-23 18:22:00 -03:00
Lucas Fernandes Nogueira
198abe3c2c
feat(plugins): typed invoke arguments for mobile plugins (#8076) 2023-10-23 14:09:42 -03:00
Olivier Lemasle
efe7811804
fix(examples): use __TAURI__.primitives (#8077)
Closes #8073
2023-10-22 03:38:18 +03:00
Lucas Nogueira
c6c59cf237
Merge branch '1.x' into dev 2023-10-20 08:56:02 -03:00
Lucas Fernandes Nogueira
ebcc21e4b9
refactor: change prefix of hook env vars to TAURI_ENV_, closes #8054 (#8057) 2023-10-19 10:46:04 -03:00
Lucas Fernandes Nogueira
be8e5aa307
fix(cli): duplicated newlines on child process output (#8042) 2023-10-18 15:29:12 +00:00
Andre Lew
c1ec0f1551
feat(core): expose always_on_bottom, closes #7847 (#7933)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-18 09:47:24 -03:00
Jason Tsai
c085addab5
feat: set application progress bar, close #7999 (#8009)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-17 16:25:30 -03:00
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
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
880266a7f6
chore: bump MSRV to 1.70 (#8031) 2023-10-17 11:08:15 -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
dependabot[bot]
b89d747705
chore(deps): bump undici from 5.19.1 to 5.26.3 in /examples/api (#8024)
Bumps [undici](https://github.com/nodejs/undici) from 5.19.1 to 5.26.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.19.1...v5.26.3)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-10-17 15:28:05 +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
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
Lucas Fernandes Nogueira
68e7319305
fix(core): update scope usage following #7944 (#7946) 2023-10-03 08:44:25 -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
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
Fabian-Lars
d6fd121974
fix: add new ipc to csp config in streaming example, closes #7842 (#7849) 2023-09-18 21:05:48 +09: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
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
Lucas Fernandes Nogueira
d5074af562
fix: custom protocol on Windows, change scheme on Android, closes #7801 (#7808) 2023-09-11 12:25:06 -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
Lucas Fernandes Nogueira
0d63732b96
refactor(core): allow custom protocol handler to resolve async (#7754) 2023-09-06 15:53:03 -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
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
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
Lucas Fernandes Nogueira
d010bc07b8
feat(ios): properly set iOS product name (#7554) 2023-08-05 08:59:19 -03: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
dependabot[bot]
3788fb1476
chore(deps-dev): bump vite from 3.0.9 to 3.2.7 in /examples/api (#7223)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 09:18:12 -03:00
Lucas Fernandes Nogueira
753900dd6e
feat(ios): expose RunEvent::Opened (#7440) 2023-07-17 19:44:34 -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
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
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
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
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
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
Lucas Fernandes Nogueira
1d99f8a3c2
feat(core): expose test utils (#4752) 2023-06-07 10:22:14 -03:00
dependabot[bot]
a6da7ef8af
chore(deps-dev): bump vite from 2.9.13 to 2.9.16 in /examples/api (#7138)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-06 14:06: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
icedrocket
c596aaefcf
fix(examples): make video fits within window (#7129) 2023-06-05 08:11:32 -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
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
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
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
dependabot[bot]
1161b6788e
chore(deps): bump h2 from 0.3.15 to 0.3.19 in /examples/api/src-tauri (#7030)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 16:35:19 -03:00
dependabot[bot]
ffd4db5ae4
chore(deps): bump enumflags2 from 0.7.5 to 0.7.7 in /examples/api/src-tauri (#6786)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 11:40:40 -03:00
Flysoft
aa6c9164e6
fix(cli): don't build library when building desktop targets, closes #7007 (#7014)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-22 11:32:20 -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
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
9a79dc0858
refactor(core): remove window endpoints (#6947) 2023-05-12 08:18:00 -03:00
Lucas Fernandes Nogueira
39f1b04f7b
refactor(core): move event JS API to a core plugin (#6943) 2023-05-12 07:55:39 -03:00
Lucas Fernandes Nogueira
0ab5f40d3a
feat(core): add IPC channel (#6813) 2023-05-11 07:25:32 -03:00
Lucas Fernandes Nogueira
b072daa3bd
refactor(core): move updater to a plugin (#6919) 2023-05-09 16:43:31 -07:00
Amr Bashir
c4171152c1
fix: enable shadows by default, closes #6909 (#6916) 2023-05-09 15:56:13 +03:00
Lucas Fernandes Nogueira
29ce9ce2ce
refactor(core): move os endpoints to a dedicated plugin (#6902)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2023-05-08 12:05:12 -03:00
Lucas Fernandes Nogueira
3245d14b9e
refactor(core): remove app module (#6895) 2023-05-08 10:29:36 -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
41cb06172a
fix(ios): update wry, fix plugin config load (#6810) 2023-04-27 05:55:48 -07:00
Lucas Fernandes Nogueira
942249060e
refactor(core): generate TauriActivity on build script (#6783) 2023-04-24 11:17:59 -03:00
Amr Bashir
31444ac196
chore(deps): update wry to 0.28 (#6725)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-23 16:59:39 -03:00
Lucas Fernandes Nogueira
dfa407ffcb
feat(mobile): add plugin config to the Plugin class (#6763) 2023-04-23 09:15:13 -03:00
Lucas Fernandes Nogueira
41f49aeae6
fix(cli.js): adb commands not working, closes #6659 (#6708)
fix(cli.js): adb commands not working, closes #6659
2023-04-23 09:14:54 -03:00
Lucas Fernandes Nogueira
96639ca239
refactor(core): remove shell APIs (#6749) 2023-04-20 09:19:47 -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
f78a378344
refactor(core): remove http features (#6742) 2023-04-19 11:47:29 -03:00
Lucas Fernandes Nogueira
2d5378bfc1
refactor(core): move dialog API to its own plugin (#6717) 2023-04-18 22:18:22 -03:00
Lucas Fernandes Nogueira
3f17ee82f6
refactor(core): remove global shortcut APIs (#6737) 2023-04-18 14:57:51 -03:00
Lucas Fernandes Nogueira
db9c12c1ad
refactor(runtime): remove clipboard APIs (#6735) 2023-04-18 09:11:27 -03:00
Lucas Fernandes Nogueira
e6e586ad75
chore(examples): update API example plugin usage (#6715) 2023-04-16 09:31:38 -03:00
Lucas Fernandes Nogueira
fc4d687ef0
refactor(core): move file system endpoints to its own plugin (#6716) 2023-04-16 09:20:58 -03:00
Lucas Fernandes Nogueira
09376af594
refactor(core): remove cli feature (#6704) 2023-04-14 15:33:53 -03:00
Lucas Fernandes Nogueira
055e9b3997
chore(deps): update wry, closes #6658 (#6671) 2023-04-10 09:55:24 -03:00
Lucas Fernandes Nogueira
be941b9719
feat(core): add path plugin, implement mobile APIs (#6339) 2023-04-07 12:48:14 -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
db4c9dc655
feat(core): add option to configure Android's minimum SDK version (#6651) 2023-04-07 11:21:42 -03:00
thep0y
708efbd9b7
fix(core/tauri): upgrade open to 3.2 to fix a bug on Windows (#6441)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-06 12:08:32 -03:00
dependabot[bot]
6c7eac7288
chore(deps): bump openssl from 0.10.45 to 0.10.48 in /examples/api/src-tauri (#6551)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 10:05:45 -03:00
dependabot[bot]
901ce937d6
chore(deps): bump openssl from 0.10.45 to 0.10.48 in /examples/updater/src-tauri (#6550)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 10:05:36 -03:00
Lucas Nogueira
55900a2968
Merge branch 'dev' into next 2023-04-03 09:58:27 -03:00
filip
509d4678b1
Support sending raw byte data to the "data" event for child command's stdout and stderr (#5789)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-03-31 12:51:27 -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
1a24e4cafd
chore(deps): unpin dependencies from 1.59 MSRV (#6499) 2023-03-20 11:54:09 -03:00
Lucas Nogueira
9c324bae61
chore(examples): update tauri-plugin-log 2023-03-20 09:06:49 -03:00
Lucas Nogueira
31a205247a
chore(examples): update tauri-plugin-log 2023-03-19 08:53:03 -03:00
Lucas Fernandes Nogueira
9c8276fe03
refactor(mobile): use shared .tauri folder to inject dependencies (#6495) 2023-03-19 08:51:01 -03:00
Lucas Nogueira
02b8bfb989
chore(examples): update tauri-plugin-log 2023-03-18 11:32:26 -03:00
Lucas Fernandes Nogueira
56b528e481
refactor(build): change tauri-api dependency path to skip rebuilds (#6490)
* refactor(build): change tauri-api dependency path to skip rebuilds

The tauri-api Swift package cannot be injected inside the iOS plugin project because swift-rs reruns when the project folder changes. We will now inject the project in the parent folder instead.

* revert tauri-plugin-log [skip ci]
2023-03-18 11:31:11 -03:00
Lucas Fernandes Nogueira
6a8888dc85
refactor(ios): add macro to generate plugin glue fn, pass name parameter (#6489) 2023-03-18 10:57:05 -03:00
Lucas Nogueira
88838e2898
chore(deps): update swift-rs to 1.0.3, fixing iOS simulator support 2023-03-18 10:49:22 -03:00
Lucas Nogueira
a6fea4644e
refactor(android): rename PluginMethod to Command 2023-03-17 15:20:39 -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
30e94677b0
chore(deps): pin wry to 0.27 (#6477)
* chore(deps): pin wry to 0.27

* update index.js [skip ci]

* fmt
2023-03-17 09:23:11 -03:00
Lucas Fernandes Nogueira
dddaa943e7
refactor(core): remove attohttpc client, closes #6415 (#6468)
* refactor(core): remove attohttpc client, closes #6415

* lint [skip ci]
2023-03-17 09:09:13 -03:00
Lucas Nogueira
8241ef13e9
chore(examples): update tauri-plugin-log 2023-03-16 09:37:46 -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
4eae21ffeb
chore(examples): ignore changes on tauri-plugin-sample on dev watcher 2023-02-24 10:22:43 -03:00
Lucas Fernandes Nogueira
d11af5be8d
fix(cli): adjust iOS project to work on simulator again (#6349) 2023-02-23 18:01:17 -03:00
Lucas Fernandes Nogueira
36e4837cea
chore(examples): delete mobile.toml file (#6317) 2023-02-19 16:23:09 -03:00
Lucas Nogueira
1fd329935e
Merge branch 'dev' into next 2023-02-19 11:34:02 -03:00
Lucas Fernandes Nogueira
60a8b07dc7
fix: handle single word bundle identifier when resolving Android domain (#6313) 2023-02-19 11:12:04 -03:00
Lucas Fernandes Nogueira
46e6187c89
chore: update license year (#6311) 2023-02-19 10:17:49 -03:00
Lucas Fernandes Nogueira
3d16461b68
fix(core): pin time to 0.3.15 (#6312) 2023-02-19 09:02:36 -03:00
dependabot[bot]
8661e4a0d7
chore(deps): bump undici from 5.9.1 to 5.19.1 in /examples/api (#6296)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 16:23:25 -03:00
Amr Bashir
f6c3ea6faa
chore: simplify windows_subsystem attribute (#6273) 2023-02-18 16:23:09 -03:00
Lucas Fernandes Nogueira
897a1547a1
feat(cli): update plugin template including trait to access mobile APIs (#6293) 2023-02-17 12:12:05 -03:00
Lucas Nogueira
2dc71a4793
chore(android): remove unnecessary not-null assertion operator 2023-02-16 14:54:35 -03:00
Lucas Fernandes Nogueira
6aaba83476
refactor(plugin): add PluginApi and PluginHandle, expose on setup hook (#6291) 2023-02-16 13:33:50 -03:00
Lucas Fernandes Nogueira
d42fd0710c
feat(ios): expose UIViewController (#6281) 2023-02-15 11:42:47 -03:00
Lucas Fernandes Nogueira
bce87c1a67
feat(android): implement plugin permissions and startActivityForResult (#6272) 2023-02-14 21:36:44 -03:00
Lucas Fernandes Nogueira
138cb8d739
fix(tauri-runtime-wry): tray event listener not registered (#6270) 2023-02-14 14:56:36 -03:00
Lucas Nogueira
3d5cc7ab86
Merge remote-tracking branch 'origin/dev' into next 2023-02-14 10:58:46 -03:00
Lucas Fernandes Nogueira
947eb391ca
fix(android): crash on orientation change due to activity recreation (#6261) 2023-02-13 20:20:52 -03:00
Lucas Fernandes Nogueira
65e487f344
fix(cli): adjust plugin template to use correct package name (#6258) 2023-02-13 10:54:48 -03:00
Lucas Fernandes Nogueira
bef4ef51bc
feat(android): enable minify on release, add proguard rules (#6257) 2023-02-13 10:22:03 -03:00
Lucas Fernandes Nogueira
7258a64730
fix(android): force build script to rerun project injection on dir clear (#6249) 2023-02-13 09:50:29 -03:00
Lucas Fernandes Nogueira
96b5e92169
refactor(core): inject API project on plugin's Android and iOS projects (#6246) 2023-02-12 15:29:34 -03:00
Lucas Fernandes Nogueira
bfb2ab24e0
feat: add API to call iOS plugin (#6242) 2023-02-11 19:45:51 -03:00
Lucas Fernandes Nogueira
05dad08768
feat: initial work for iOS plugins (#6205) 2023-02-11 10:30:44 -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
9feab904bf
feat(core): add API to call Android plugin (#6239) 2023-02-10 16:32:01 -03:00
Amr Bashir
a81750d779
feat(core): add shadow APIs (#6206)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-02-07 19:38:10 -03:00
Lucas Fernandes Nogueira
17f26764c8
feat: initial work for Android plugins (#6167) 2023-02-06 08:56:00 -03:00
Lucas Nogueira
553a81f48c
feat(examples): add tauri-plugin-log to API example 2023-01-30 12:04:42 -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
Fabian-Lars
d20a728892
feat: Further improve workspace inheritance, closes #6122, #5070 (#6144)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-26 10:47:23 -03:00
Lucas Fernandes Nogueira
1af9be904a
feat(cli): properly fill target for TAURI_ env vars on mobile (#6116) 2023-01-23 18:26:13 -03:00
Fabian-Lars
60e6f6c3f1
feat(bundler): Add support for creating NSIS bundles on unix hosts (#5788)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-19 15:42:40 -03:00
Amr Bashir
35b587c830
feat: add languages support for nsis (#6039)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-19 14:39:53 -03:00
Lucas Nogueira
d4f89af18d
feat: skip password prompt on the build command if CI is set fixes #6089 2023-01-18 23:54:30 -03:00
Amr Bashir
d4d6a98d98
fix(core): convert js Map to object before serialization, closes #6078 (#6099)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-18 22:17:01 -03:00
Lucas Fernandes Nogueira
630a7f4b18
refactor: remove mobile log initialization, ref #6049 (#6081) 2023-01-17 13:13:53 -03:00
Lucas Nogueira
276a0362de
chore(deps): update wry 2023-01-17 12:42:27 -03:00
dependabot[bot]
7aca4527e8
chore(deps): bump tokio from 1.21.2 to 1.24.1 in /examples/api/src-tauri (#5998)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 22:42:50 -03:00
dependabot[bot]
9d543f6ed3
chore(deps): bump tokio from 1.21.2 to 1.24.1 in /examples/resources/src-tauri (#5999)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 22:42:35 -03:00
dependabot[bot]
2761dd037f
chore(deps): bump tokio from 1.21.2 to 1.23.1 in /examples/tauri-dynamic-lib/src-tauri (#6000)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 22:42:24 -03:00
dependabot[bot]
9afbeb6b7a
chore(deps): bump tokio from 1.21.2 to 1.24.1 in /examples/sidecar/src-tauri (#6001)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 22:42:15 -03:00
dependabot[bot]
6e60bd637c
chore(deps): bump tokio from 1.21.2 to 1.24.1 in /examples/updater/src-tauri (#6002)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 22:42:05 -03:00
dependabot[bot]
8e4820642e
chore(deps): bump tokio from 1.21.2 to 1.24.1 in /examples/web/core (#6003)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 22:41:57 -03:00
dependabot[bot]
a788aea85d
chore(deps): bump tokio from 1.23.0 to 1.24.1 in /examples/workspace (#6004)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 22:41:47 -03:00
Fabian-Lars
b08ae637a0
fix(cli): remove default features from template (#6074) 2023-01-16 21:43:29 -03:00
Amr Bashir
c94e1326a7
feat(bundler): add nsis, closes #4450, closes #2319 (#4674)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-03 14:29:20 -03:00
luofei
2265e09718
feat(windows): implement with_tooltip (#5938)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-31 13:24:39 -03:00
Lucas Nogueira
864dfe4de5
fix(examples): use new MessageDialogButtons variant name 2022-12-30 20:15:45 -03:00
Bo
00e1efaa9b
feat: customize button texts of message dialog (#4383)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-27 18:15:53 -03:00
Lucas Fernandes Nogueira
dee9460f9c
feat: keep CLI alive when iOS app exits, show logs, closes #5855 (#5902) 2022-12-27 18:12:01 -03:00
Darin Morrison
3f35b45263
Expose wry navigation_handler via WindowBuilder closes #4080 (#5686)
Co-authored-by: silvanshade <silvanshade@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-27 12:54:57 -03:00
Lucas Nogueira
015020760a
chore: fix clippy warnings 2022-12-15 18:03:28 -03:00
Lucas Nogueira
d21c4a0a89
chore: fix clippy warnings 2022-12-15 17:56:23 -03:00
Fabian-Lars
cd8c074ae6
feat(cli): add support for Cargo's workspace inheritance for the package version, closes #5070 (#5775)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-14 13:39:05 -03:00
Amr Bashir
4ab5545b7a
feat: add content protection api, closes #5132 (#5513)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-13 01:04:22 -03:00
Amr Bashir
233e43b0c3
feat: add title getter on window, closes #5023 (#5515)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-13 00:59:09 -03:00
Lucas Fernandes Nogueira
1e4a675843
fix(cli): run on iOS device on Xcode 14 (#5807) 2022-12-12 10:36:47 -03:00
Lucas Nogueira
1092865e67
Merge branch 'dev' into next 2022-12-08 14:19:44 -03:00
Lucas Nogueira
626faf9ec1
chore(examples): move API dev server config from CLI to vite.config.js 2022-12-03 10:20:04 -03:00
Lucas Nogueira
ad65b95070
refactor(core): move local ip address resolve to CLI 2022-11-30 11:53:17 -03:00
Lucas Fernandes Nogueira
fa6d10e39c
refactor(core): remove window APIs on mobile (#5713) 2022-11-30 10:30:25 -03:00
Fabian-Lars
2d545eff58
fix(cli): corrupted icons in bundled macOS icons (#5698)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-11-28 08:57:32 -03:00
Lucas Nogueira
50fbd49273
chore(examples): simplify streaming example code, closes #5670 2022-11-22 10:47:03 -03:00
Lucas Fernandes Nogueira
8baf20dd34
feat(cli): update Android project dependencies (#5663) 2022-11-21 12:50:41 -03:00
Lucas Fernandes Nogueira
6dcb7fbb81
fix(core): manage mobile logs, fix Android logcat filtering (#5659) 2022-11-20 10:55:38 -03:00
Lucas Fernandes Nogueira
f6f9192aa5
fix(core): Android compilation on Windows (#5658) 2022-11-20 09:49:23 -03:00
Lucas Nogueira
7e3d672b9b
chore(examples): ignore mobile artifacts on api example 2022-11-18 13:11:18 -03:00
Lucas Fernandes Nogueira
658bb1165e
feat(cli): automatically enable native-tls-vendored feature on mobile (#5651) 2022-11-18 13:10:20 -03:00
看彩虹的人
3d37ed38c7
fix(examples): fix command args case (#5635) 2022-11-17 15:04:10 +02: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
69414a487f
chore(cli): lint 2022-11-09 11:50:41 -03:00
Lucas Nogueira
602d3ed3f6
Merge branch 'dev' into next 2022-11-09 11:04:54 -03:00
github-actions[bot]
45a5cd569b
Apply Version Updates From Current Changes (#5295)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-11-08 09:24:09 -03:00
Lucas Fernandes Nogueira
3afccfce17
chore(deps): update wry to 0.22 (#5573) 2022-11-08 08:47:29 -03:00
Ben Wishovich
878421beb7
fix: Add WASM files to Vite Allow List and change devPath to localhost to fix Web Example (#5560)
Co-authored-by: Ben Wishovich <ben@benw.is>
2022-11-06 16:26:27 -03:00
Lucas Fernandes Nogueira
aa119f2836
feat(api): add FormData support on Body.form, closes #5545 (#5546) 2022-11-04 15:18:28 -03:00
Lucas Fernandes Nogueira
9b1a6a1c02
fix(core): set correct mimetype for asset protocol streams, #5203 (#5536) 2022-11-04 12:35:45 -03:00
Lucas Fernandes Nogueira
6c13840cee
feat(examples): add desktop/web application example (#5537) 2022-11-03 18:01:47 -03:00
Lucas Nogueira
873b9aee90
chore: run yarn format 2022-11-03 09:27:43 -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
renovate[bot]
a65b5fea3d
chore(deps) Update Rust crate clap to v4 (#5353)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-19 10:04:13 -03:00
Caesar Schinas
4137ab44a8
feat(macos): add tabbing_identifier option, closes #2804, #3912 (#5399)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-19 09:20:17 -03:00
Lucas Fernandes Nogueira
357480f4ae
feat(core): custom protocol headers on Linux, closes #4496 (#5421) 2022-10-17 12:08:59 -03:00
я котик пур-пур
60bf067913
chore(examples): remove the legacy X-UA-Compatible meta (#5394) 2022-10-17 11:05:31 -03:00
Kasper
39bf895b73
feat(macOS): Add application show and hide methods (#3689)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-03 14:49:59 -03:00
Eric Hagman
a6c94119d8
feat(core): expose user_agent to window config (#5317)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-02 10:37:53 -03:00
Tomáš Vojtášek
8f1ace7795
feat: expose set_title for MacOS tray (#5182)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-30 14:08:11 -03:00
Caesar Schinas
5d89905e39
feat(api): add app-specific directory APIs, closes #5263 (#5272)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-28 19:34:09 -03:00