Commit Graph

1480 Commits

Author SHA1 Message Date
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
github-actions[bot]
a031e4a8a0
apply version updates (#6518) 2023-03-21 14:42:18 -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
Amr Bashir
d5ac76b53c
chore(deps): update napi-rs, closes #6502 (#6513) 2023-03-21 13:40:21 -03:00
Lucas Nogueira
46e2def0ee
fix(ci): set tauri-build dependency version on tauri crate 2023-03-20 08:45:26 -03:00
github-actions[bot]
be12ad3a6f
apply version updates (#6211)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-03-20 08:14:51 -03:00
passivedragon
2f70d8da2b
fix: symlink issue bundling for linux #5781 (#6391)
* bundler for linux: fix error on pre-existing links

* fix: symlink issue bundling for linux #5781
2023-03-17 15:03:40 -03:00
Lucas Fernandes Nogueira
c46c09f31d
fix(deps): pin raw-window-handle to 0.5.0 (#6480)
* fix(deps): pin raw-window-handle to 0.5.0

* lint [skip ci]
2023-03-17 14:11:24 -03:00
Lucas Fernandes Nogueira
ae296f3de1
refactor(tauri-runtime-wry): register runtime plugin after run() (#6478) 2023-03-17 10:28:28 -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
9c1029e11a
chore(changes): remove changelog from 1.3 2023-03-16 09:56:46 -03:00
Lucas Nogueira
9639caf33f
Merge remote-tracking branch 'origin/dev' into next 2023-03-16 09:51:07 -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
1c8229fbe2
fix(cli.js): detect node-<version> binary, closes #6427 (#6432)
* fix(cli.js): detect `node-<version>` binary, closes #6427

* use `?` instead of `*` and escape the hyphen

Co-authored-by: TurtleIdiot <18502738+TurtleIdiot@users.noreply.github.com>

---------

Co-authored-by: TurtleIdiot <18502738+TurtleIdiot@users.noreply.github.com>
2023-03-16 09:01:41 -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
Amr Bashir
d1752fb1f6
fix(cli): use correct lib name in xcode project (#6387) 2023-03-08 16:19:37 +01:00
Lucas Fernandes Nogueira
5fdf8dcb8e
fix(core): mime type of .less, .sass and .styl files (#6316) 2023-02-19 16:23:18 -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
3d16461b68
fix(core): pin time to 0.3.15 (#6312) 2023-02-19 09:02:36 -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
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
b9c303a0dc
fix(tauri-runtime-wry): tray event listener not registered (#6270) 2023-02-14 14:57:00 -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
bef4ef51bc
feat(android): enable minify on release, add proguard rules (#6257) 2023-02-13 10:22:03 -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
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
9feab904bf
feat(core): add API to call Android plugin (#6239) 2023-02-10 16:32:01 -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
894a8d060c
refactor(cli): use temp file to communicate IPC websocket address (#6219) 2023-02-08 23:19:34 -03:00
Lucas Fernandes Nogueira
a8d640b3c6
fix(core): pin unarray and os_info (#6212) 2023-02-07 20:47:31 -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
github-actions[bot]
0111b88d75
(NEXT) Apply Version Updates From Current Changes (#5924)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-02-02 17:55:23 -03:00
Ngo Iok Ui (Wu Yu Wei)
f0a1d9cdbc
chore: update rfd and wry versions (#6174)
Co-authored-by: Wu Yu Wei <wusyong9104@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-02-02 16:44:57 -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
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
Lucas Fernandes Nogueira
78eaadae2e
refactor(core): only proxy on mobile (#6126)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-01-23 18:25:25 -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
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
Fabian-Lars
20ff1f4596
feat(bundler): Add support for numeric-only build numbers in msi version (#6096)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-18 22:30:44 -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 Nogueira
a822a6ad74
chore: update versions after ignore=0.4.18 patch 2023-01-18 21:47:26 -03:00
Lucas Nogueira
8cc111494d
fix(cli): print Android logs for all tags 2023-01-17 19:27:23 -03:00
Lucas Fernandes Nogueira
630a7f4b18
refactor: remove mobile log initialization, ref #6049 (#6081) 2023-01-17 13:13:53 -03:00
Lucas Nogueira
7ccfa2fb0b
chore(deps): pin ignore to =0.4.18 2023-01-17 13:10:09 -03:00
Amr Bashir
7aab3e2076
fix(cli.rs): improve rustc not found error msg (#6021) 2023-01-16 22:41:05 -03:00
Fabian-Lars
49dff27ef1
feat(core): create WindowBuilder from WindowConfig (#6073)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-16 22:29:21 -03:00
Fabian-Lars
b08ae637a0
fix(cli): remove default features from template (#6074) 2023-01-16 21:43:29 -03:00
Shogo Hida
8c842a54a6
feature: disable mouse event when building windows on Linux, closes #5913 (#6025)
Co-authored-by: Wu Yu Wei <wusyong9104@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Fixes https://github.com/tauri-apps/tauri/issues/5913
2023-01-16 10:33:06 -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
Jason
4892637f83
fix: Resizing glitch on custom titlebar click (closes #2549) (#5966)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
closes https://github.com/tauri-apps/tauri/issues/2549
2023-01-03 14:14:37 -03:00
alesharik
ce76d95ab1
feat(tauri-cli): add dylib support to tauri.bundle.macOS.frameworks, closes #4615 (#5732)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-31 13:53:35 -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 Fernandes Nogueira
2c4a0bbd1f
feat(cli): force colored logs on mobile commands (#5934) 2022-12-28 17:58:14 -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
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
Amr Bashir
7a8d570db7
fix: sync webview theme with window theme on Windows, closes #5802 (#5874)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-27 14:57:02 -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
Amr Bashir
146a794cb6
fix(core): sync windows metadata across all windows, closes #5571 (#5615)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-27 12:19:07 -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
Lucas Fernandes Nogueira
d17027e1a0
feat: expose url method (#5914)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
2022-12-26 15:31:40 -03:00
Amr Bashir
72621892fe
fix(cli): use unicode feature for heck crate, closes #5860 (#5872) 2022-12-26 11:38:13 -03:00
Amr Bashir
89602cdce3
feat(bundler): check Launch app by default for WiX, closes #5859 (#5871) 2022-12-26 11:36:43 -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
github-actions[bot]
7945e549b7
(NEXT) Apply Version Updates From Current Changes (#5892)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-12-22 11:42:10 -03:00
Amr Bashir
9ad0a9a0aa
Merge pull request from GHSA-6mv3-wm7j-h4w5
* fix(core): use `require_literal_separator` when matching paths

* document the need for `require_literal_separator`

* use `require_literal_leading_dot`
2022-12-22 11:37:58 -03:00
Amr Bashir
72389b00d7
Merge pull request from GHSA-6mv3-wm7j-h4w5
* fix(core): use `require_literal_separator` when matching paths

* document the need for `require_literal_separator`

* use `require_literal_leading_dot`
2022-12-22 15:53:46 +02:00
github-actions[bot]
61af5ce1ed
(NEXT) Apply Version Updates From Current Changes (#5814)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-12-15 18:32:12 -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
bca09f7f5f
feat(tauri-build): add option to specify Windows manifest, closes #5584 (#5730)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-14 12:18:46 -03:00
Noam Zaks
3dc38b150e
feat(core): expose additional_browser_args to window config (fix: #5757) (#5799)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-14 11:46:24 -03:00
filip
73fd60eef2
expose set_device_event_filter in tauri (#5562)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Closes https://github.com/tauri-apps/tauri/issues/5496
2022-12-13 13:57:32 -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
d0d873e39a
feat(core): add support to mailto: and tel: links, closes #5521 (#5544) 2022-12-13 00:57:39 -03:00
Lucas Fernandes Nogueira
3ad5e72ff1
feat(core): cache dev server proxy responses for 304 status code (#5818) 2022-12-12 23:00:03 -03:00
Lucas Fernandes Nogueira
76204b8938
feat(cli): improve local IP detection (#5817) 2022-12-12 22:59:51 -03:00
Lucas Fernandes Nogueira
a9b4cf20a3
fix(core): use entire request URL on dev server proxy (#5819) 2022-12-12 22:59:39 -03:00
Lucas Fernandes Nogueira
1e4a675843
fix(cli): run on iOS device on Xcode 14 (#5807) 2022-12-12 10:36:47 -03:00
crpz1
62144ef3be
feat: add is_minimized (fix #3878) (#5618)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
fixes https://github.com/tauri-apps/tauri/issues/3878
2022-12-12 10:34:19 -03:00
github-actions[bot]
25416a64ba
(NEXT) Apply Version Updates From Current Changes (#5787)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-09 14:27:41 -03:00
Lucas Fernandes Nogueira
fa3a10988a
feat(ci): prepare 2.0.0-alpha.0 (#5786) 2022-12-08 16:28:12 -03:00
Lucas Nogueira
1092865e67
Merge branch 'dev' into next 2022-12-08 14:19:44 -03:00
github-actions[bot]
75a0c79dea
Apply Version Updates From Current Changes (#5710)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-12-08 11:57:21 -03:00
Orvar Segerström
c14b1df372
fix(core): Invoke event listener in windows safely to avoid causing uncaught errors in windows that have loaded external urls (#5563)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-08 11:32:52 -03:00
Lucas Fernandes Nogueira
41a471b23a
feat(covector): improve published version check (#5783) 2022-12-08 09:49:55 -03:00
Avaab Razzaq
9e7ce0a8ee
feat(cli): detect SolidJS and SolidStart (#5758) 2022-12-08 09:47:32 -03:00
Lucas Nogueira
b293da35dd
fix(changes): change enable_macos_default_menu bump to patch
This is a regression so we can publish it as a patch.
2022-12-08 09:32:59 -03:00
Lucas Nogueira
fdcd77338c
chore(deps): update wry to 0.23 2022-12-08 09:01:12 -03:00
Lucas Fernandes Nogueira
9093ef3314
fix(bundler): blank taskbar icon on WiX update, closes #5631 (#5779) 2022-12-08 08:49:54 -03:00
Amr Bashir
8866ecac3c
feat(core): add tauri::Builder::enable_macos_default_menu (#5756) 2022-12-07 11:01:53 +08:00
Amr Bashir
0f26960891
fix(core/api): cleanup before exit (#5765) 2022-12-07 11:01:13 +08:00
Lucas Fernandes Nogueira
9d872ab872
feat(cli): detect SvelteKit and Vite (#5742) 2022-12-02 08:18:28 -03:00
Amr Bashir
c0989848b9
feat(cli/dev): add --no-dev-server, ref #5708 (#5722) 2022-11-30 10:34:51 -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
Fabian-Lars
b490308c88
fix(core): compilation error on older Linux versions, fixes #5684 (#5697) 2022-11-28 08:39:19 -03:00
github-actions[bot]
527bd9feea
Apply Version Updates From Current Changes (#5644)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-11-24 12:52:54 -03:00
Lucas Fernandes Nogueira
d710946064
refactor: move Linux custom protocol headers support behind feature flag (#5683) 2022-11-24 09:38:19 -03:00
LucasJavaudin
677838ccfa
fix double serialize on invoke (#5639)
Co-authored-by: LucasJavaudin <lucas.javaudin@cyu.fr>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-11-20 10:20:09 -03:00
Lucas Fernandes Nogueira
f6f9192aa5
fix(core): Android compilation on Windows (#5658) 2022-11-20 09:49: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
Amr Bashir
bb2510876d
fix(core): extend allowlist with app's allowlist, closes #5650 (#5652) 2022-11-18 12:27:38 -03:00
Oscar Beaumont
ed43ff3243
fix(tauri): add missing generics on AppHandle and App (#5642)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-11-17 18:54:47 -03: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
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 Nogueira
d8b996c00a
chore(changes): adjust config-schema build scripts 2022-11-05 09:32:23 -03:00
Lucas Fernandes Nogueira
7aaf27ce5f
fix(bundler): load WiX DLLs on Github Actions (#5552) 2022-11-04 21:00:02 -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
Amr Bashir
99fe1c562f
fix(core): resolve base dir in shell scope, closes #5480 (#5508) 2022-11-04 12:38:06 -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
582c25a0f0
refactor(cli): disable api-all on templates (#5538) 2022-11-03 18:57:32 -03:00
Amr Bashir
2d9c2b4724
Revert "fix(core): set correct mimetype for asset protocol streams, closes #5203 (#5210)"
This reverts commit 39443b4350.
2022-11-03 10:00:49 -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
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
Lucas Fernandes Nogueira
79dd6e16a7
fix(core): properly emit events with object payload, closes #5482 (#5492) 2022-10-27 19:01:37 -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
7a231cd1c9
fix(cli): detect deno (#5475)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-27 19:00:56 -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
Lucas Fernandes Nogueira
e00b1e5f94
fix(core): update metadata before window-created listeners, closes #5191 (#5458) 2022-10-22 10:04:56 -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
Lucas Fernandes Nogueira
9d8b377481
feat(tauri-runtime-wry): drop the WebContext on WebView drop (#5240) 2022-10-19 09:23:10 -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
Lucas Fernandes Nogueira
95f467add5
feat(core): add window accept_first_mouse option, closes #5347 (#5374) 2022-10-17 11:07:45 -03:00
Pedro Luiz Cabral Salomon Prado
49f06ca4b9
fix: deepfreeze check by prop (#5407)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-17 10:59:06 -03:00
Lucas Fernandes Nogueira
4036e15f5a
feat(core): reimplement window initial focus flag, closes #5120 (#5338) 2022-10-08 16:37:12 -03:00
Kasper
8357ce5b2e
Fix dialog.save return type (#5373)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2022-10-08 15:59:13 -03:00
Amr Bashir
4cbdf0fb1c
fix(core): escape glob characters in drop/dialogs , closes #5234 (#5237)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-04 19:50:29 -03:00
Amr Bashir
f756cd5e7e
fix(core): wait for tray cleanup before exiting app, closes #5244 (#5245) 2022-10-04 17:02:54 -03:00
Amr Bashir
a5861d8294
chore: add covector readme (#5255) 2022-10-04 17:02:30 -03:00
Amr Bashir
1129f4f575
refactor: simplify api.js bundling (#4277)
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-04 16:56:35 -03:00
Amr Bashir
d4cac20292
fix(bundler): fix japanese lang code, closes #5342 (#5346) 2022-10-04 13:25:58 -03:00
Amr Bashir
095b18620b
fix(cli.js): fix invoking cli from a node shim, closes #5343 (#5345) 2022-10-04 13:25:02 -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
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
Lucas Fernandes Nogueira
7c0fa1f3f9
fix(bundler): clear env before calling wix, closes #4791 (#4819) 2022-10-03 14:43:34 -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
Kasper
321f3fed19
feat(macos): title_bar_style and hidden_title window options, closes #2663 (#3965)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-30 17:15:45 -03:00
Amr Bashir
39443b4350
fix(core): set correct mimetype for asset protocol streams, closes #5203 (#5210)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-30 15:38:20 -03:00
Amr Bashir
6f41a27124
fix(api.js): fix Monitor initialization, closes #4672 (#5314)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-30 14:39:51 -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
Amr Bashir
63011ca84e
fix(macos): fix regression in with_menu_on_left_click, closes #5220 (#5235)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2022-09-30 13:16:33 -03:00
Lucas Fernandes Nogueira
a06dc69931
fix(core): canonicalize resource dir to fix scope check, closes #5196 (#5218) 2022-09-29 16:33:48 -03:00
Rafael Keramidas
ca3cd8b3d1
fix(api): fs/exists return type previously set to void when it should be boolean (#5252) 2022-09-29 15:55:45 -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
Lucas Fernandes Nogueira
7d9aa3987e
feat: bump MSRV to 1.59 (#5296) 2022-09-28 14:33:35 -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
Amr Bashir
ae65951bc4
fix(core): fix deadlock in on_menu_event, closes #5254 (#5257) 2022-09-28 11:36:58 -03:00
Lucas Fernandes Nogueira
aec5537de0
fix(codegen): serialize template tags, closes #4410 (#5247) 2022-09-28 11:10:56 -03:00
github-actions[bot]
e4292ce7be
apply version updates (#5216) 2022-09-16 14:30:18 -03:00
Amr Bashir
db26aaf2b4
fix: fix wrong cli metadata (#5214)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-09-16 13:54:09 -03:00
Fabian-Lars
c764408da7
fix: Add missing allowlist config for cursor apis, closes #5207 (#5211) 2022-09-16 13:26:27 -03:00
Lucas Nogueira
3ceed62686
chore: add exists function to the changelog 2022-09-15 12:35:05 -03:00
github-actions[bot]
83a6dab7b2
Revert "Apply Version Updates From Current Changes (#5198)"
This reverts commit 9190206387.
2022-09-15 12:34:10 -03:00
github-actions[bot]
9190206387
Apply Version Updates From Current Changes (#5198)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-09-15 12:32:51 -03:00
github-actions[bot]
fbdd0a7ca9
Apply Version Updates From Current Changes (#4753)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-09-15 12:03:45 -03:00
Fabian-Lars
3c62dbc902
feat(api): Add exists function to the fs module. (#5060)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-09-15 11:28:52 -03:00
Amr Bashir
255ebcb7ef
refactor: upload schema to tauri-build release instead of cli (#5197) 2022-09-15 11:27:38 -03:00
Amr Bashir
f4121c128e
fix(endpoints/fs/readDir): don't read symlinks that are not allowed b… (#5123) 2022-09-08 10:59:05 -03:00
Jeffrey Hutchins
8ea87e9c9c
feat(android): with_webview access for jni execution (#5148) 2022-09-08 10:57:10 -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
Amr Bashir
e6d9b670b0
refactor: remove unneeded focus code (#5065)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-03 11:07:18 -03:00
Lucas Nogueira
0668dd4220
fix(tauri-runtime-wry): ignore events on unknown windows 2022-08-29 14:23:11 -03:00
Lucas Nogueira
914c5f299f
Merge remote-tracking branch 'origin/dev' into next 2022-08-28 16:27:01 -03:00
Jonas Kruckenberg
4fa968dc0e
fix(api): add async mockIPC() handler signature (#5056) 2022-08-26 13:12:24 +02:00
Amr Bashir
e9f1e627f8
feat: upload tauri config schema to cli github release (#5038) 2022-08-25 10:09:46 -03:00
Amr Bashir
169682219a
covector: reduce cargo audit/publish noise in release notes (#5011) 2022-08-23 12:04:28 -03:00
Lucas Fernandes Nogueira
403859d47e
feat(cli): add ios build command (#5002) 2022-08-22 17:47:52 -03:00
Lucas Fernandes Nogueira
4c9ea450c3
feat(cli): add android build command (#4999) 2022-08-22 12:49:58 -03:00
Lucas Fernandes Nogueira
b3a3afc7de
feat(core): detect android and ios platform configuration files (#4997) 2022-08-22 10:48:06 -03:00
Lucas Nogueira
3d992a8899
Merge branch 'dev' into next 2022-08-21 17:48:56 -03:00
Lucas Fernandes Nogueira
436f3d8d66
feat(cli): load Cargo configuration to check default build target (#4990) 2022-08-21 17:48:28 -03:00
Fabian-Lars
fea70effad
refactor(cli): Use cargo metadata to detect the workspace root and target directory, closes #4632, #4928. (#4932) 2022-08-21 10:42:26 -03:00
Lucas Fernandes Nogueira
9890486321
feat(core): add mobile_entry_point macro (#4983) 2022-08-21 10:35:34 -03:00
Lucas Fernandes Nogueira
6f0615044d
feat(cli): add android dev and ios dev commands (#4982) 2022-08-20 16:53:07 -03:00
Lucas Fernandes Nogueira
a9c8e565c6
feat: add android open and ios open commands (#4946) 2022-08-15 13:38:17 -03:00
Lucas Fernandes Nogueira
d44f67f7af
feat: add android init and ios init commands (#4942) 2022-08-15 12:43:50 -03:00
Lucas Nogueira
899f9b917a
Merge remote-tracking branch 'origin/dev' into next 2022-08-12 20:34:51 -03:00
Amr Bashir
20a7036ba5
Revert "fix(core): avoid conflict with user-defined cmd arg in invoke, closes #4875 (#4892)" (#4924)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-08-12 20:34:17 -03:00
Lucas Nogueira
11d50e8474
Merge remote-tracking branch 'origin/dev' into next 2022-08-12 20:09:23 -03:00
Lucas Fernandes Nogueira
6ba99689aa
feat(codegen): use TARGET environment variable if set (#4921) 2022-08-12 19:11:33 -03:00
Lucas Fernandes Nogueira
b4622ea4d3
refactor(app): run setup and window creation when event loop is ready (#4914) 2022-08-11 10:30:55 -03:00
Lucas Fernandes Nogueira
ff8fd7619a
fix(tauri-build): rerun if assets or icons change (#4910) 2022-08-10 16:32:52 -03:00
Lucas Fernandes Nogueira
64546cb9cc
refactor: use RefCell instead of Mutex for windows map, closes #4870 (#4909) 2022-08-10 15:36:01 -03:00
Lucas Fernandes Nogueira
4d063ae9ee
feat(core): create system tray at runtime, closes #2278 (#4862) 2022-08-09 14:43:51 -03:00
Amr Bashir
57ab9847eb
feat(cli): add beforeBundleCommand, closes #4879 (#4893)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-08-09 12:54:44 -03:00
Lucas Fernandes Nogueira
ed581950ea
fix(tauri-build): use ::tauri as root for the CodegenContext (#4894) 2022-08-08 16:33:48 -03:00
Brian Li
f957cbb56c
fix(codegen): write output file when contents change (#4889) 2022-08-08 16:07:05 -03:00
Amr Bashir
5109c27501
fix(core): avoid conflict with user-defined cmd arg in invoke, closes #4875 (#4892) 2022-08-08 15:51:56 -03:00
Lucas Fernandes Nogueira
d88b9de7aa
feat(core): add fips_compliant wix config option, closes #4541 (#4843) 2022-08-04 14:58:26 -03:00
Lucas Fernandes Nogueira
58fc1f2150
fix(updater): blank icon after update on macOS, closes #4613 (#4861) 2022-08-04 14:04:37 -03:00
Paul Soporan
f7d2dfc7a6
chore: add libc field to node packages (#4856) 2022-08-04 01:04:24 -03:00
Lucas Fernandes Nogueira
964926ff85
feat(core): enhance SystemTray::with_icon (#4849) 2022-08-03 11:39:16 -03:00
Lucas Fernandes Nogueira
52f0c8bb83
feat(core): improve tray icon read error messages (#4850) 2022-08-03 11:38:43 -03:00
Lucas Fernandes Nogueira
fa23310f23
fix(cli): set MACOSX_DEPLOYMENT_TARGET env var, closes #4704 (#4842) 2022-08-02 19:54:31 -03:00
Lucas Fernandes Nogueira
dcd506676c
fix(core): parse inner CLI subcommands, closes #4688 (#4841) 2022-08-02 19:49:01 -03:00
Lucas Fernandes Nogueira
d6f7d3cfe8
Add cwd option to before commands, add wait option to dev #4740 #3551 (#4834) 2022-08-02 18:54:50 -03:00
Lucas Fernandes Nogueira
90d5929fea
feat(cli.rs): add support to cargo-binstall, closes #4651 (#4817) 2022-08-02 18:54:40 -03:00
Lucas Fernandes Nogueira
f21cbecdeb
feat(core): implement theme APIs for Linux (#4808) 2022-08-02 18:54:14 -03:00
Lucas Fernandes Nogueira
331f346002
feat(core): add option to use vendored openssl, closes #4470 (#4809) 2022-08-02 18:54:05 -03:00
Lucas Fernandes Nogueira
9f1d34c288
feat: implement From<Command> for std::process::Command, closes #4673 (#4836) 2022-08-02 18:53:48 -03:00
Lucas Fernandes Nogueira
5c5c42edb6
feat(build): use modern dialog styles on Windows, closes #4709 (#4840) 2022-08-02 18:53:34 -03:00
Lucas Fernandes Nogueira
ae83d008f9
feat: add support to TOML config file Tauri.toml, closes #4806 (#4813) 2022-08-02 14:12:26 -03:00
Lucas Fernandes Nogueira
c04d0340e2
feat(core): prepare build for mobile targets (#4830)
Co-authored-by: Yu-Wei Wu <wusyong9104@gmail.com>
2022-08-02 11:25:28 -03:00
Lucas Fernandes Nogueira
5cc1fd0f7b
feat(tauri-build): validate sidecar name, closes #4780 closes #4823 (#4814) 2022-08-02 10:37:16 -03:00
Lucas Fernandes Nogueira
d576e8ae72
feat(core): do not follow redirects if max_redirects is 0 closes #4795 (#4812) 2022-07-31 20:00:48 -03:00
Lucas Fernandes Nogueira
ba5560b2a1
feat(core): implement max_redirections for attohttpc, ref #4795 (#4811) 2022-07-31 19:12:34 -03:00
Amr Bashir
0ad9531d79
chore(deps): update tao to 0.13, wry to 0.20, rfd to 0.10, raw-window-handle to 0.5 (#4804) 2022-07-31 10:41:49 -03:00
Lucas Fernandes Nogueira
0983d7ce7f
feat(cli): add --no-watch argument to the dev command, closes #4617 (#4793) 2022-07-29 18:34:43 -03:00
Brian Li
024620529e
fix(bundler): cache appimage bundle tools (#4790)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-07-29 18:34:12 -03:00
Lucas Fernandes Nogueira
596fa08d48
feat(cli): automatically use .taurignore, ref #4617 (#4623) 2022-07-28 18:58:38 -03:00
horochx
d8cf9f9fcd
Command support for specified character encoding, closes #4644 (#4772)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-07-27 18:23:27 -03:00
Danil Karpenko
aa9f1243e6
Improved EventEmitter for tauri api shell (#4697)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-07-25 19:35:35 -03:00
Lucas Fernandes Nogueira
47fab6809a
fix(cli): dev watcher incorrectly killing process on multiple file write (#4684) 2022-07-25 13:51:04 -03:00
Jonas Kruckenberg
c7fec3e1ff
fix typo in state.rs (#4699) 2022-07-25 11:54:10 -03:00
Lucas Fernandes Nogueira
6218c31e17
fix(core): retain command line arguments on restart, closes #4760 (#4763) 2022-07-25 10:59:24 -03:00
Amr Bashir
6d4945c9f0
feat(cli): prompt for before*Command, closes #4691 (#4721)
* feat(cli): prompt for before*Command, closes #4691

* fix default command

* add allow_empty argument

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-07-25 10:59:08 -03:00
Lucas Fernandes Nogueira
b2a8930b3c
feat(cli): validate updater private key when signing (#4754) 2022-07-25 10:58:25 -03:00
shniubobo
accbc5e880
fix(codegen): fix relative paths in version field of tauri.config.json, closes #4723 (#4725) 2022-07-24 09:41:14 -03:00
github-actions[bot]
679abc6a9a
Apply Version Updates From Current Changes (#4701)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-07-22 12:08:38 -03:00
Lucas Fernandes Nogueira
9a8f8fc815
Revert "feat(updater): use full path to msiexec" (#4739) 2022-07-22 12:07:15 -03:00
Lucas Fernandes Nogueira
f116ee6a12
feat(updater): use full path to msiexec (#4738) 2022-07-22 11:59:57 -03:00
Lucas Fernandes Nogueira
9af43134e1
fix(updater): escape MSI path (#4737) 2022-07-22 11:23:43 -03:00