Amr Bashir
9aa0d6e959
chore: remove unstable log features & use qualified log::<macro> path ( #9069 )
...
* chore: remove unstable log features & use qualified `log::<macro>` path
* fmt
* fix build
2024-03-04 21:22:07 +02:00
Amr Bashir
4b75834a41
chore: update license headers 2024 ( #9043 )
2024-03-01 08:29:01 -03:00
Lucas Fernandes Nogueira
fb0d997117
fix(cli): regression on --config not accepting file paths ( #8783 )
...
* fix(cli): regression on --config not accepting file paths
* enhance dev server config parsing
* use serde_json::json!
* pass config to setup
2024-02-07 17:08:05 +02:00
Fabian-Lars
4806f9fc70
fix(core): Rename FrontendDist::Dist to Dir ( #8743 )
...
* fix(core): Rename FrontendDist::Dist to Dir
* Directory
* fix totokens impl
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-02-03 09:08:20 -03:00
Amr Bashir
8de308d1bf
feat(core): implement new config structure ( #8723 )
...
* feat(core): implement new config structure
RFC#5 f3e82a6b0c/texts/0005-tauri-config-restructure.md
* fixes
* remove tauri-plugin copy [skip ci]
* move platform specific configs
* fix build
* fix cli
* doctests
* change files
* read updater plugin config on CLI
* doctests
* remove env var from docs
* fix getting pubkey
* add migrations
* clippy
* update change file [skip ci]
* rename frontendDist to prodFrontend?
* Revert "rename frontendDist to prodFrontend?"
This reverts commit ef7394f085 .
* fix all_features check
* fix field name
* single license getter on bundler
* readd msiexec_args
* remove unused fixture
* update template
* Update .changes/tauri-bundle-settings-rfc-5.md
* Update .changes/config-restructure-rfc-5.md
* lint bundler, fix change file
* rename AppUrl to FrontendDist, add explicit variants for docs
* fix build
* lint
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-02-03 00:39:48 -03:00
Lucas Fernandes Nogueira
e691208e7b
fix(cli): prevent creating interface twice avoiding double manifest rewrite ( #7837 )
2024-02-02 21:43:33 -03:00
Amr Bashir
58fe2e812a
fix: improvements and ipc fixes for loading window content using custom protocol ( #8670 )
...
* fix: improvements and ipc fixes for loading window content using custom protocol
closes #5478
* Discard changes to tooling/cli/Cargo.lock
* clippy
* fix tests
* typo
* fix webviewurl deserialize
* resolve todo, fixes
* fmt
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-01-31 09:38:25 -03:00
Lucas Fernandes Nogueira
c77b40324e
refactor(core): add support to multiple webviews on a Tauri window ( #8280 )
...
* feat: update to latest wry
* wry dev branch [skip ci]
* fix linux [skip ci]
* refactor(runtime): split webview and window types
* split dispatch
* implement create_webview
* move webview message
* wip webview mod
* create webview manager, finish webview struct and builder
* fix tests and docs
* rename WindowUrl to WebviewUrl
* update examples
* event refactor
* update JS API
* fix events
* update example
* add WebviewWindow class on JS
* fix macos build
* allow creating window+webview on the same runtime call
* rename tauri://window-created to tauri://webview-created
* Window::add_child
* use inner_size from webview on macOS
* add multiwebview example
* automatically resize webviews on window resize
* fix tests
* set_position, set_size
* position, size getters
* set_focus
* add close fn
* update mock runtime
* lint [skip ci]
* fix inner_size getter [skip ci]
* import hwnd [skip ci]
* update webview bound ratios on set_size/set_position
* add auto_resize option
* fix android
* fix build on windows
* typo
* with_webview isnt desktop only
* add WebviewWindow rust struct (and builder)
* fix build on android
* license header
* fix macos/windows
* fix macos build
* resolve todo
* handle window not found
* hide unstable features
* document unstable feature [skip ci]
* webview plugin permissions
* hide more stuff
* fix doctests
* typos
* add change files
* fix examples
* rename hook
2024-01-24 11:05:18 -03:00
Lucas Nogueira
a9b87c057d
Merge branch '1.x' into dev
2023-12-19 13:52:53 -03:00
Amr Bashir
c1bc4d2948
chore(cli/help): mention the need for a second -- in tauri dev ( #8388 )
...
* chore(cli/help): mention the need for a second `--` in `tauri dev`
ref: https://github.com/tauri-apps/tauri/issues/8382#issuecomment-1854016310
* add example to clarify [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-12-14 09:20:52 -03:00
阿良仔
f78e5e4d4a
refactor: replace once_cell with std::sync::OnceLock ( #8309 )
...
Our MSRV is currently 1.70 and these new types were introduced in 1.70
2023-11-29 01:12:03 +02: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
2fe8782ad4
refactor: enhance the descriptions of CLI commands, closes #7572 ( #7952 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-10-16 09:44:23 -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
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
Fabian-Lars
dad4f54eec
fix(cli): Disable version check, fixes #7273 ( #7277 )
2023-06-21 19:19:31 +08: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
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
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
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
55900a2968
Merge branch 'dev' into next
2023-04-03 09:58:27 -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 Nogueira
9639caf33f
Merge remote-tracking branch 'origin/dev' into next
2023-03-16 09:51:07 -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
Lucas Nogueira
1fd329935e
Merge branch 'dev' into next
2023-02-19 11:34:02 -03:00
Lucas Fernandes Nogueira
46e6187c89
chore: update license year ( #6311 )
2023-02-19 10:17:49 -03:00
Amr Bashir
ec007ef0d0
feat: use local_ip() and fallback to prompt ( #6290 )
2023-02-16 13:00:49 -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 Fernandes Nogueira
1af9be904a
feat(cli): properly fill target for TAURI_ env vars on mobile ( #6116 )
2023-01-23 18:26:13 -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
Lucas Fernandes Nogueira
76204b8938
feat(cli): improve local IP detection ( #5817 )
2022-12-12 22:59:51 -03:00
Lucas Nogueira
1092865e67
Merge branch 'dev' into next
2022-12-08 14:19:44 -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 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 Nogueira
7c26514340
fix(cli): kill beforeDevCommand process when mobile fails to compile
2022-11-11 11:41:20 -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
d0ad0d2f48
Merge remote-tracking branch 'origin/dev' into next
2022-10-31 10:13:57 -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
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
Lucas Nogueira
610aab7045
Merge branch 'dev' into next
2022-09-04 13:45:59 -03:00