Commit Graph

486 Commits

Author SHA1 Message Date
Colin McDonnell
e152662687
feat: support Bun package manager (#7723)
* Support bun

* clippy
2023-08-31 02:48:36 +03:00
i-c-b
13279917d4
enhance(cli): Add Cargo Tauri CLI version to tauri info output (#7713)
* enhance(cli): Add Cargo Tauri CLI version to `tauri info` output

* Create enhance-cli-cargo-tauri-cli-version-info.md
2023-08-31 01:53:37 +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
Lucas Fernandes Nogueira
8af2497496
feat(cli): automate API -> plugin migration (#7561) 2023-08-08 13:21:46 -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
aa94f7197e
feat(ios): add empty entitlements file to iOS project (#7445) 2023-07-18 10:20:32 -03:00
Lucas Fernandes Nogueira
c7dacca466
feat(cli): expose iOS project path and app name as env vars (#7446) 2023-07-18 10:19:01 -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
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
清茶
907425df55
feat(cli): check cwd for config file before traversing (#7395) 2023-07-11 18:29:15 +03:00
Amr Bashir
46df2c9b91
fix(bundler): sort package types before bundling, closes #7349 (#7360)
fix(bundler): sort package types before bundling, closes #7349
2023-07-05 17:17:31 -03:00
i-c-b
5eb8554331
fix(cli): Apple Dev Teams format for info::Section::Display (#7282)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-06-24 08:30:34 -03:00
Fabian-Lars
38d0bed8eb
fix(cli): Split metadata.json per major version. (#7276) 2023-06-22 10:43:47 -03:00
Fabian-Lars
dad4f54eec
fix(cli): Disable version check, fixes #7273 (#7277) 2023-06-21 19:19:31 +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
6252380f44
fix(cli): kill beforeDevCommand process if mobile dev command fails (#7241) 2023-06-17 14:10:01 -03:00
Lucas Fernandes Nogueira
655c714e41
fix(cli): do not panic on Ctrl+C on ios dev (#7240) 2023-06-17 14:09:37 -03:00
Amr Bashir
4847b87b10
fix(cli): handle npx for mobile commands, closes #7209 (#7218)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-16 12:28:57 -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 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
52474e479d
feat(cli): enhance Cargo features injection, add tests (#7141) 2023-06-06 13:29:28 -03:00
Fabian-Lars
3480047ec1
feat(cli): Build the CLI for Windows ARM64, closes #7015 (#7098) (#7106)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
closes #7015 (#7098)
2023-06-06 09:21:57 -03:00
Lucas Fernandes Nogueira
647800c563
refactor(cli): use rewrite manifest logic on table entry (#7134) 2023-06-05 14:38:26 -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
1ed2600da6
fix(cli): set current dir to tauri dir before reading config, closes #6771 (#6782)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
fix(cli): set current dir to tauri dir before reading config, closes #6771
2023-05-26 13:45:20 -03:00
Lucas Fernandes Nogueira
735db1ce83
feat(cli/mobile/init): add --skip-targets-install, ref #7044 #7058 (#7062) 2023-05-26 12:49:51 -03:00
Amr Bashir
a28fdf7ec7
feat(cli/mobile/init): skip installing already installed targets, closes #7044 (#7058)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
closes #7044
2023-05-25 23:36:06 -03:00
Jonas Kruckenberg
6c5ade08d9
feat(cli.rs) Shell completions (#4537)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-25 11:34:37 -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
Lucas Fernandes Nogueira
7e5905ae1d
feat(cli): plugin add command (#7023) 2023-05-23 11:39:42 -03:00
Amr Bashir
3cb7a3e642
fix(cli/devserver): inject autoreload into HTML only, closes #6997 (#7032) 2023-05-23 17:39:11 +03:00
Lucas Fernandes Nogueira
a541820aa8
fix(cli): revert metadata.json field rename from #6795 (#7029) 2023-05-22 14:07:53 -03:00
Philipp Renoth
9770032860
feat(cli): improve logic to copy Rust library to iOS project Externals folder (#6610)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-22 13:54:44 -03:00
Amr Bashir
3f4c4ce88b
fix(cli/android): fallback to all targets (#7028)
fix regression introduced in d03e47d141
2023-05-22 19:00:18 +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
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
b0f947752a
feat(cli): add migrate command (#7008) 2023-05-20 20:28:46 -03:00
Lucas Fernandes Nogueira
1253bbf7ae
fix(cli): correctly remove Cargo features (#7013) 2023-05-20 00:12:11 -03:00
Fabian-Lars
c7056d1b20
fix(cli): improve vs build tools detection (#6982)
* fix(cli): improve vs build tools detection

* clean up

* typos

* changefile

* patch instead of minor

* update vswhere

* use vswhere instead of custom logic. update wording

* sort and dedup manually
2023-05-18 22:47:28 +03:00
Amr Bashir
fd3b5a16b1
fix(cli): find correct binary when --profile is used, closes #6954 (#6979)
* fix(cli): find correct binary when `--profile` is used, closes #6954

* clippy
2023-05-17 16:17:47 +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
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
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
KurikoMoe
fb485d25a0
fix(cli): fix cli connection timeout to dev server (fix #6045) (#6046)
Fix tauri-cli connection to dev server stucks and waits for TCP timeout.
2023-05-12 15:01:24 +03:00
Amr Bashir
5a9307d11c
feat(cli): update android template to gradle 8.0 (#6890)
* feat(cli): update android template to gradle 8.0

* update java in CI to 17

* updat to latest tauri-mobile
2023-05-12 14:06:50 +03:00
Amr Bashir
e092f79946
feat(bundler/nsis): allow specifying custom template, closes #6887 (#6922) 2023-05-12 14:02:07 +03:00
Simon Hyll
41e10b22fa
chore: fixed grammar and typos (#6937) 2023-05-11 02:21:15 +03:00
chip
24490bca19
use handlebars::no_escape instead of closures (#6899) 2023-05-08 08:39:54 -03:00
Lucas Nogueira
4585a1cbb0
Merge branch 'dev' into next 2023-05-07 10:42:44 -03:00
Lucas Fernandes Nogueira
6d1fa49fce
fix(cli): clear plugin JSON file before rebuilding (#6881) 2023-05-06 15:59:33 -03:00
Lucas Fernandes Nogueira
73c803a561
feat(android): inject tauri.conf.json asset, add plugin config load API (#6837) 2023-05-03 08:16:05 -03:00
Lucas Fernandes Nogueira
6d6b6e653e
feat: configure escaping on handlebars templates (#6678)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-05-02 09:59:59 -03:00
Amr Bashir
124d5c5adf
fix(cli): use snake_case fallback of app_name (#6788)
fix regression introduced in 2b22f64972
2023-04-25 18:21:06 -03:00
Lucas Fernandes Nogueira
2969d1cbba
refactor(core): use absolute path to plugin Android project (#6773) 2023-04-23 11:21:36 -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
2d5378bfc1
refactor(core): move dialog API to its own plugin (#6717) 2023-04-18 22:18:22 -03:00
Lucas Fernandes Nogueira
abc5f91fa3
fix(cli): iOS Xcode script using incorrect library path (#6699) 2023-04-13 18:26:32 -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
Amr Bashir
63f088e5fc
feat(cli): add --release for android dev (#6638)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
closes #6594
2023-04-05 16:10:43 -03:00
Amr Bashir
d03e47d141
fix: only build specified rust targets for aab/apk build (#6625)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-05 15:14:14 -03:00
Lucas Nogueira
d37808197d
chore(cli): only create .tauri/plugins folder on Android 2023-04-04 15:52:48 -03:00
Amr Bashir
7fec0f083c
fix(cli): use local ip addr for built-in server on mobile, closes #6454 (#6631)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
fix(cli): use local ip addr for built-in server on mobile, closes #6454
2023-04-04 09:59:29 -03:00
Lucas Nogueira
f84fbe459f
chore(cli): cherry pick #6603, fix webkit2gtk version 2023-04-03 10:01:59 -03:00
Lucas Nogueira
55900a2968
Merge branch 'dev' into next 2023-04-03 09:58:27 -03:00
Amr Bashir
1487b18dcb
refactor: add useful diagnostics to tauri info (#6570)
* refactor: add useful diagnostics to `tauri info`

this also paves the way for interactive fixes in the future

* refactor: add useful diagnostics to `tauri info`

this also paves the way for interactive fixes in the future

* fix use_npm logic [skip ci]

* lint [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-03-31 10:23:34 -03:00
Lucas Fernandes Nogueira
54c6f158d9
chore(cli): enhance empty updater key password warning (#6558) 2023-03-31 10:13:25 -03:00
Amr Bashir
a7ee5ca7c3
fix(cli): look for available ports for built-in dev server, closes #6511 (#6514)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-03-31 10:03:38 -03:00
Lucas Fernandes Nogueira
cfdee00f2b
refactor(core): fix tls features, use rustls on mobile (#6591) 2023-03-30 10:59:08 -03:00
Amr Bashir
39df2c982e
fix(cli/android): fallback to ${program}.cmd (#6576)
* fix(cli/android): fallback to `${program}.cmd`

* cleanup [skip ci]

* revert variable to tauri-binary [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-03-29 14:44:19 -03:00
CzBiX
57c6bf07bb
fix(cli): fix default-run not deserialized (#6584)
* fix(cli): fix default-run not deserialized

* Create fix-cli-default-run.md

* Update .changes/fix-cli-default-run.md [skip ci]

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-03-29 14:43:16 -03:00
Lucas Fernandes Nogueira
6e3e4c22be
fix(cli): use correct variable on script to build Rust iOS code (#6581) 2023-03-29 11:35:18 -03:00
Lucas Fernandes Nogueira
332b3fc419
fix(cli): adjust jsonrpsee feature flags for CI (#6521) 2023-03-21 19:10:42 -03:00
Lucas Fernandes Nogueira
00241fa92d
fix(cli): append .cmd on the gradle plugin binary on Windows, fix #6502 (#6503) 2023-03-21 13:43:09 -03:00
Amr Bashir
c787f749de
fix(cli): only add -- to generated android template for npm (#6508) 2023-03-21 13:42:37 -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 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 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
Amr Bashir
1798c5901d
feat: use start detached for emulators (#6465) 2023-03-16 22:06:14 -03:00
amrbashir
2ec736721e
chore: provide a helpful message when waiting for emulator 2023-03-16 15:00:28 +02:00
Lucas Nogueira
9639caf33f
Merge remote-tracking branch 'origin/dev' into next 2023-03-16 09:51:07 -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
Bo
1b343bd116
fix(cli): use npm run tauri -- foo for correctly passing args to tauri (#6448)
* fix(cli): use `npm run tauri -- foo` for correctly pass args to tauri

* fix xcode-script current dir, GCC_PREPROCESSOR_DEFINITIONS optional

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-03-16 09:27:40 -03:00
Amr Bashir
b7a2ce2c63
feat(cli): add --port, closes #6186 (#6283)
* feat(cli): add --dev-server-port, closes #6186

* add http:// prefix

* name it to `--port`

* rename in all places
2023-03-16 09:22:02 -03:00
Amr Bashir
4d09074454
feat(cli): add --force-ip-prompt (#6406)
* feat(cli): add `--force-ip-prompt`

* Restore tooling/cli/Cargo.lock

* Restore tooling/cli/Cargo.toml

* fix macos build
2023-03-16 09:04:09 -03:00
Amr Bashir
58d4709f7e
fix: update nodejs detection in mobile commands (#6451)
* fix: update nodejs detection in mobile commands

* changefile
2023-03-16 07:53:12 -03:00
Lucas Nogueira
2b22f64972 fix(ios): correctly use lib-name field 2023-03-15 13:43:31 -03:00
Lucas Fernandes Nogueira
971ad7ae06
fix(cli): fix template and Xcode script to work when running with Xcode (#6350) 2023-02-24 10:22:59 -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 Nogueira
6fca895695
fix(cli): create WRY_ANDROID_KOTLIN_FILES_OUT_DIR folder 2023-02-20 13:08:55 -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
79eb054292
feat(cli): handle Android package identifier change (#6314) 2023-02-19 11:08:55 -03:00
Lucas Fernandes Nogueira
46e6187c89
chore: update license year (#6311) 2023-02-19 10:17:49 -03:00
Amr Bashir
bfa69691a5
fix(cli): detect --profile. closes #6255 (#6268) 2023-02-18 16:20:21 -03:00
Lucas Fernandes Nogueira
e8014a7f61
fix(cli): do not crash on watcher (#6303) 2023-02-17 22:06:10 -03:00
Lucas Nogueira
2b55f47c2c
fix(cli): force Cargo build logs to show on ios build 2023-02-17 10:51:03 -03:00
Amr Bashir
4a82da2919
fix(cli): use local ip address for reload (#6285)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-02-16 14:59:56 -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
Amr Bashir
ec007ef0d0
feat: use local_ip() and fallback to prompt (#6290) 2023-02-16 13:00:49 -03:00
Lucas Fernandes Nogueira
14d03d426e
refactor(cli): enhance plugin commands for mobile (#6289) 2023-02-16 12:24:49 -03:00
Lucas Fernandes Nogueira
d42fd0710c
feat(ios): expose UIViewController (#6281) 2023-02-15 11:42:47 -03:00
Lucas Nogueira
3d5cc7ab86
Merge remote-tracking branch 'origin/dev' into next 2023-02-14 10:58:46 -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
677554257e
feat(cli): add --ios-color option to set iOS icon background color (#6247) 2023-02-12 15:29:43 -03:00
Lucas Fernandes Nogueira
05dad08768
feat: initial work for iOS plugins (#6205) 2023-02-11 10:30:44 -03:00
Lucas Nogueira
f379e2f3da
chore: remove unused code 2023-02-10 17:46:53 -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
62f1526592
fix(cli): generate build script using NPM runner if it was used (#6233) 2023-02-10 08:31:13 -03:00
Lucas Fernandes Nogueira
cab4ff95b9
fix(cli): ignore the gen folder on the dev watcher (#6232) 2023-02-09 14:50:33 -03:00
Lucas Fernandes Nogueira
da57e7c087
fix(cli): use Target::build to run initial Android build (#6220) 2023-02-09 14:50:23 -03:00
Lucas Fernandes Nogueira
78176edf4a
fix: keep build artifacts on Android lib and plugins (#6229) 2023-02-09 13:11:31 -03:00
Lucas Fernandes Nogueira
f2da21c7b4
refactor(cli): use environment variables instead of .config/cargo (#6230) 2023-02-09 13:11:02 -03:00
Lucas Fernandes Nogueira
894a8d060c
refactor(cli): use temp file to communicate IPC websocket address (#6219) 2023-02-08 23:19:34 -03:00
Lucas Fernandes Nogueira
481d9de739
refactor(android): use tauri.settings.gradle and tauri.build.gradle.kts to define tauri plugins (#6217) 2023-02-08 12:52:53 -03:00
Lucas Fernandes Nogueira
a8d640b3c6
fix(core): pin unarray and os_info (#6212) 2023-02-07 20:47:31 -03:00
Lucas Fernandes Nogueira
17f26764c8
feat: initial work for Android plugins (#6167) 2023-02-06 08:56:00 -03:00
Alain Nicolas Schneble
314f0e212f
fix(cli): web_dev_server html template serialization (fix #6165) (#6166)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-29 15:12:01 -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
8835633955
fix(cli): do not prompt for device when --open is provided 2023-01-26 12:33:52 -03:00
renovate[bot]
db7765edad
chore(deps) Update Tauri Codegen (#6034)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-26 11:23:08 -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
Amr Bashir
9da996073f
fix(cli): fix printing paths on Windows (#6137) 2023-01-26 10:45:58 -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
8fb1df8aa6
feat(cli): add --ci flag to signer generate, closes #6089 (#6097)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-18 23:43:37 -03:00
Lucas Nogueira
8cc111494d
fix(cli): print Android logs for all tags 2023-01-17 19:27:23 -03:00
Amr Bashir
7aab3e2076
fix(cli.rs): improve rustc not found error msg (#6021) 2023-01-16 22:41:05 -03:00
Amr Bashir
50f6dd87b1
feat: improvements to support hyphens in crate name (#5989)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-06 14:31:48 -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
Lucas Fernandes Nogueira
2c4a0bbd1f
feat(cli): force colored logs on mobile commands (#5934) 2022-12-28 17:58:14 -03:00
Lucas Fernandes Nogueira
17d80ab236
feat(cli): improve error message when lib is not found, closes #5867 (#5933) 2022-12-28 15:02:07 -03:00
Lucas Fernandes Nogueira
e873bae09f
fix(cli): Cargo target dir detection on Android, closes #5865 (#5932) 2022-12-28 14:46:58 -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
Jonas Kruckenberg
ced8e9a7be
docs: iOS config is under the bundlekey (#5856) 2022-12-27 10:41:23 -03:00
khuongduy354
9d2144128f
feat(cli): add option to make custom icon sizes, closes #5121 (#5246)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-27 10:34:20 -03:00
Amr Bashir
c2608423b6
fix(cli): don't panic when a crate version couldn't be parsed (#5873)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-12-26 11:35:04 -03:00
Lucas Nogueira
4f2fd4dcf7
chore: run cargo fmt 2022-12-15 18:40:57 -03:00
Lucas Nogueira
cf0986491c
chore(cli): fix clippy warnings 2022-12-15 18:30:32 -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
Lucas Fernandes Nogueira
76204b8938
feat(cli): improve local IP detection (#5817) 2022-12-12 22:59:51 -03:00
Lucas Fernandes Nogueira
1e4a675843
fix(cli): run on iOS device on Xcode 14 (#5807) 2022-12-12 10:36:47 -03:00
三咲智子 Kevin Deng
2620ab294d
fix(cli): ios build description (#5809) 2022-12-12 09:41:26 -03:00
Lucas Nogueira
1092865e67
Merge branch 'dev' into next 2022-12-08 14:19:44 -03:00
Avaab Razzaq
9e7ce0a8ee
feat(cli): detect SolidJS and SolidStart (#5758) 2022-12-08 09:47:32 -03:00
Lucas Nogueira
02706c92f6
chore(cli): force iOS cargo build stdout 2022-12-06 14:04:30 -03:00
Lucas Nogueira
b874d139f9
fix(cli): emulator.start called twice 2022-12-06 09:50:37 -03:00
Lucas Nogueira
c1cd0f5253
chore(deps): rename cargo-mobile to tauri-mobile 2022-12-06 09:19:04 -03:00
Lucas Fernandes Nogueira
9d872ab872
feat(cli): detect SvelteKit and Vite (#5742) 2022-12-02 08:18:28 -03:00
Lucas Nogueira
ad65b95070
refactor(core): move local ip address resolve to CLI 2022-11-30 11:53:17 -03:00
Amr Bashir
c0989848b9
feat(cli/dev): add --no-dev-server, ref #5708 (#5722) 2022-11-30 10:34:51 -03:00
Lucas Nogueira
eca131dfbb
feat(cli): show all Android error logs 2022-11-30 09:59:52 -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 Fernandes Nogueira
4a72d5e0ca
feat(cli): replace $HOST variable on beforeDevCommand - public IP usage (#5709) 2022-11-28 08:53:26 -03:00
Lucas Fernandes Nogueira
d38204907e
feat(cli): run local dev server on public IP on mobile development (#5705) 2022-11-28 08:30:48 -03:00
Lucas Fernandes Nogueira
d33fcbc81c
feat(cli): generate icons for iOS (#5667) 2022-11-22 11:18:56 -03:00
Lucas Fernandes Nogueira
c1f31ebe5e
feat(cli): generate icons for Android (#5665) 2022-11-21 17:56:22 -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 Fernandes Nogueira
03d6c6a68f
refactor(cli): use jsonrpsee for mobile CLI options communication (#5657) 2022-11-20 09:48:02 -03:00
Lucas Nogueira
538e21e2e7
fix(cli): iOS development team is required on init 2022-11-19 14:25:23 -03:00
Lucas Nogueira
1ecaeb29aa
fix(cli): inject config feature flags when features arg is not provided 2022-11-18 13:12:50 -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
Lucas Fernandes Nogueira
8c576222ba
feat(cli): find development teams for iOS development (#5627) 2022-11-14 18:31:51 -03:00
Lucas Nogueira
f9b529a96e
feat(cli): update project.yml syntax 2022-11-11 11:43:25 -03:00
Lucas Nogueira
7c26514340
fix(cli): kill beforeDevCommand process when mobile fails to compile 2022-11-11 11:41:20 -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
Lucas Fernandes Nogueira
582c25a0f0
refactor(cli): disable api-all on templates (#5538) 2022-11-03 18:57:32 -03:00
Lucas Nogueira
ab29908aba
chore(cli): remove unneeded create_dir_all call 2022-11-03 09:37:18 -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
cc186c7a0e
fix(cli): keep dev watcher alive if config is incorrect, closes #5173 (#5495)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-27 19:47:50 -03:00
Amr Bashir
9417ce401c
fix(cli): apply .taurignore rules to workspace members, closes #5355 (#5460)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-27 19:01:28 -03:00
Amr Bashir
a3a70218f3
fix(cli): pass --no-default-features to runner instead of app, closes #5415 (#5474) 2022-10-25 10:26:30 -03:00
Jonas Kruckenberg
5b1e99f264
Fix/hook env vars (#5452)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-22 10:33:15 -03:00
Lucas Fernandes Nogueira
e7ccbd8573
feat(cli): detect JSON5 and TOML configuration files in the dev watcher (#5439) 2022-10-19 15:37:54 -03:00
Tnze
9076d5d2e7
feat(cli): add prompt information when file changing detected, closes #5417 (#5428)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-19 10:24:56 -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
Amr Bashir
a4aec9f0a8
feat(cli): expose TAURI_TARGET_TRIPLE to before*Commands, closes #5091 (#5101)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-03 16:11:06 -03:00
renovate[bot]
04201d43b1
chore(deps) Update Rust crate notify to v5, clap to v4 (#5109)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-29 10:34:50 -03:00
Amr Bashir
628285c1cf
feat(bundler): add publisher field, closes #5273 (#5283)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-28 13:42:26 -03:00
Amr Bashir
54c337e06f
feat(cli): hotreload support for frontend static files, closes #2173 (#5256)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-28 13:16:58 -03:00
Amr Bashir
b9316a64ea
fix(cli): validate productName in config, closes #5233 (#5262) 2022-09-28 11:44:14 -03:00
Lucas Fernandes Nogueira
18b17a954c
chore(cli): remove unused dependencies (#5219) 2022-09-18 09:07:06 -03:00
Amr Bashir
10ab3e2f5e
feat(cli/mobile): allow checking gen folder into source control (#5146)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-12 16:46:09 -03:00
Fabian-Lars
3fdd287704
fix(cli): fix wrong filename for 256px png icon (#5164) 2022-09-08 15:14:22 -03:00
Amr Bashir
c9ad2a73af
fix(cli/mobile): use one write_all call (#5155)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-07 12:05:11 -03:00
Lucas Nogueira
e1b8ee2b7a
refactor(cli): move generated Kotlin files to the generated folder 2022-09-04 22:06:56 -03:00
Lucas Nogueira
610aab7045
Merge branch 'dev' into next 2022-09-04 13:45:59 -03:00
Fabian-Lars
12e9d811e6
feat(cli): Add icon command (tauricon) (#4992)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-03 14:37:41 -03:00
Josh Soref
8fd79b8fc0
Spelling (#4880)
Co-authored-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-09-03 01:03:02 -03:00