Commit Graph

1184 Commits

Author SHA1 Message Date
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
renovate[bot]
2eec3e13fb
chore(deps) Update Tauri Codegen (#5593)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-20 09:38:31 -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
Fabian-Lars
5fe68b1cec
docs: Various docs improvements (#5643) 2022-11-17 18:47:54 -03:00
Lucas Nogueira
67f14b4ce8
chore(tauri): update CHANGELOG.md 2022-11-11 12:09:27 -03:00
Lucas Fernandes Nogueira
6e879742f0
feat(ci): improve cache, add test-core features matrix (#5604) 2022-11-10 17:30:10 -03:00
Orhun Parmaksız
a836373328
chore: fix a typo in changelog (#5580) 2022-11-08 23:23:25 +02: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
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
Dotan J. Nahum
e055c69c23
small typo fix (#5541) 2022-11-04 08:59:57 -03:00
Lucas Fernandes Nogueira
6c13840cee
feat(examples): add desktop/web application example (#5537) 2022-11-03 18:01:47 -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
23859f7502
fix(prettier): ignore core/config-schema/schema.json 2022-11-03 09:39:03 -03:00
Lucas Nogueira
873b9aee90
chore: run yarn format 2022-11-03 09:27:43 -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
Lucas Fernandes Nogueira
79dd6e16a7
fix(core): properly emit events with object payload, closes #5482 (#5492) 2022-10-27 19:01:37 -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
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
renovate[bot]
bddf59e5d0
chore(deps) Update Rust crate cargo_toml to 0.13 (#5434)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-19 09:19:14 -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
Lucas Nogueira
ecf6a8ad10
chore(deps): set wry to git dev branch 2022-10-08 15:53:38 -03:00
Amr Bashir
208ce34f1e
feat: update to wry 0.22 (#5306) 2022-10-08 15:52:25 -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
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
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
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
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
jabza
eedfa5e618
feat(core): Expose "ignore_cursor_events" to Tauri and API (#5032)
Co-authored-by: Thomas Kilsby <>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-28 16:55:35 -03:00
Lucas Fernandes Nogueira
7d9aa3987e
feat: bump MSRV to 1.59 (#5296) 2022-09-28 14:33:35 -03:00
Lucas Fernandes Nogueira
1dd722c4a7
feat(command): add rename_all attribute, closes #4898 (#4903) 2022-09-28 13:52:18 -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
renovate[bot]
e8e2853830
chore(deps) Update Rust crate cargo_toml to 0.12 (#5290)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-28 11:44:40 -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
Caesar Schinas
08a44490d7
docs: correct path for desktop_dir, closes #5267 (#5268) 2022-09-28 11:36:15 -03:00
Lucas Fernandes Nogueira
aec5537de0
fix(codegen): serialize template tags, closes #4410 (#5247) 2022-09-28 11:10:56 -03:00
Lucas Nogueira
013fb354d9
docs(path): fix log directory documentation 2022-09-23 20:06:52 -03:00
Amr Bashir
1d7171a1ec
chore: add prettierignore and fmt the repo (#5192)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-18 09:16:35 -03:00
renovate[bot]
0563fe3d46
chore(deps) Update Tauri Core (#5186)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-18 09:15:33 -03:00
Lucas Nogueira
ee9706d8ae
chore: update tauri CHANGELOG.md to include 1.0.6 2022-09-16 18:08:58 -03:00
github-actions[bot]
e4292ce7be
apply version updates (#5216) 2022-09-16 14:30:18 -03:00
Lucas Nogueira
c8445a69ca
chore: add cursor allowlist checks in to_features function 2022-09-16 13:33:46 -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
Lucas Fernandes Nogueira
447370fa50
chore(deps): update to wry 0.21 (#5181) 2022-09-13 10:56:54 -03:00
Yuyi Wang
9b793eeb68
Remove futures & futures-lite and use futures-util directily. (#5172) 2022-09-12 19:24:57 -03:00
Fabian-Lars
b779e52ba7
docs: Add link to usage example to State docs (#5165) 2022-09-08 15:27:31 -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
Lucas Fernandes Nogueira
e9412fb983
chore(deps): use less specific version for tokio and once_cell (#5158) 2022-09-07 11:55:21 -03:00
renovate[bot]
1d55a5fe1f
chore(deps) Update Tauri Core (#5154)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-07 10:44:54 -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
5790218fb6
chore: update core/tauri/scripts/bundle.js 2022-09-03 01:05:48 -03:00
Rafael Keramidas
a9381f3b40
refactor(core/api): use constants for events in core, add new enum for core events in api (#5100) 2022-09-03 01:04:55 -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
Akirami
14f337d8ad
docs(updater): fix configure missing required key (#5058)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-09-03 00:47:33 -03:00
Lucas Nogueira
0668dd4220
fix(tauri-runtime-wry): ignore events on unknown windows 2022-08-29 14:23:11 -03:00
Lucas Fernandes Nogueira
2901145c49
chore: update license headers (#5067) 2022-08-28 15:13:21 -03:00
Akirami
bd51cddd6f
docs(updater): fix server missing required key (#5050) 2022-08-26 09:23:59 -03:00
Lucas Nogueira
4ac8006efd
feat(tauri-build): rerun-if-changed Info.plist 2022-08-23 10:47:41 -03:00
Lucas Nogueira
28a1ec34a4
fix(tauri-runtime-wry): only emit global tray event if tray was found 2022-08-21 17:53:09 -03:00
Lucas Nogueira
fa44c44379
fix(tauri-runtime-wry): trigger global tray event listeners 2022-08-21 17:44:13 -03:00
Angelo Huang
9bbc30590b
chore: add missing closing tag in a comment (#4958) 2022-08-17 00:22:24 +02: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 Fernandes Nogueira
6ba99689aa
feat(codegen): use TARGET environment variable if set (#4921) 2022-08-12 19:11:33 -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
Lucas Nogueira
fd992c547e
fix(core): before_bundle_command kebab-case alias 2022-08-09 14:17:11 -03:00
Lucas Fernandes Nogueira
698a31aa79
feat(ci): improve udeps check performance (#4900) 2022-08-09 14:00:12 -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 Nogueira
08584fc657
fix(codegen): adapt for iOS build 2022-08-09 09:16:39 -03:00
Amr Bashir
4e8b122df6
refactor(cli/core/bundler): use absolute path for msiexec and powershell (#4884) 2022-08-08 18:59:59 -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
Kilian Gosewisch
3b44b01412
Fix typo (#4854) 2022-08-04 14:05:35 -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
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
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
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
e6012b88af
docs(core): enhance initialization_script documentation, ref #4831 (#4832) 2022-08-02 18:53:55 -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
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 Nogueira
f7ea867d31
fix(core): clear env args on restart test 2022-07-25 19:17:32 -03:00
Lorenzo Lewis
2adef93faf
Update readme badges (#4696) 2022-07-25 12:03:18 -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
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
github-actions[bot]
b1d53426d1
Apply Version Updates From Current Changes (#4650)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-07-14 18:36:35 -03:00
Lucas Fernandes Nogueira
ac72800fb6
fix(macros): strip r# from command arguments, closes #4654 (#4657) 2022-07-12 14:07:51 -03:00
Lucas Fernandes Nogueira
3b4ed970e6
feat(codegen): validate __TAURI_ISOLATION_HOOK__ is referenced (#4631) 2022-07-11 16:41:34 -07:00
Vinícius Miguel
bc370e3268
feat: reduce the amount of heck-related allocations (#4634)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-07-11 16:07:39 -03:00
Lucas Nogueira
d3e19e3420
fix(macros): items_after_statements Clippy warning, closes #4639 2022-07-11 16:11:15 -03:00
Lucas Nogueira
95abf48e21
docs(core): add supported macOS version on devtools APIs, closes #4612 2022-07-07 15:02:38 -03:00
github-actions[bot]
7bbf167c1c
Apply Version Updates From Current Changes (#4560)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-07-06 14:32:55 -03:00
Lucas Fernandes Nogueira
9170c92070
feat(core): improve config deserialization error messages (#4607) 2022-07-06 10:33:45 -03:00
Lucas Fernandes Nogueira
fa028ebf3c
refactor: do not pass entire config from CLI to core, send patch instead (#4598) 2022-07-06 09:29:26 -03:00
renovate[bot]
326f87df26
chore(deps) Update Rust crate regex to 1.6.0 (#4600)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-06 09:24:14 -03:00
Lucas Fernandes Nogueira
8e3e7fc646
feat(cli): improve bundle identifier validation, closes #4589 (#4596) 2022-07-05 19:57:31 -03:00
Lucas Fernandes Nogueira
92aca55a6f
feat(api): add support to ArrayBuffer (#4579) 2022-07-05 17:40:36 -03:00
Lucas Fernandes Nogueira
b02fc90f45
feat(api): add abstractions to updater and window event listeners (#4569) 2022-07-05 16:57:53 -03:00
Lucas Fernandes Nogueira
e29fff2566
fix(updater): do not run in dialog mode on .deb, closes #4573 (#4577) 2022-07-05 10:22:47 -03:00
Lucas Fernandes Nogueira
f8a3becb28
feat(core): add option to disable tray menu on left click, closes #4584 (#4587)
* feat(core): add option to disable tray menu on left click, closes #4584

* Update .changes/menu-on-left-click.md [skip ci]

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-07-05 09:05:01 -03:00
Lucas Fernandes Nogueira
b8cd2a7993
feat(api): call toString() on dialog title and message, closes #4583 (#4588) 2022-07-04 22:30:06 -03:00
Amr Bashir
a1d569bbc9
fix(core): disable tao's drag-n-drop based on fileDropEnabled, closes #4580 (#4592)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-07-04 22:29:54 -03:00
Lucas Fernandes Nogueira
7e3ac8475c
fix(core): command stack overflow on Windows, closes #4548 (#4562) 2022-07-03 21:37:49 -03:00
Didrik Nordström
34879f7344
fix: allow graceful shutdown of sidecar commands on exit (#4561)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-07-03 21:33:08 -03:00
Amr Bashir
9105588373
feat: add implicit default menu for macOS only, closes #4551 (#4570)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-07-03 20:26:32 -03:00
Lucas Fernandes Nogueira
0fa745344e
feat(updater): relaunch on Windows, closes #4220 (#4568) 2022-07-03 19:48:23 -03:00
Lucas Nogueira
edb9ab2069
docs(core): fix link to webview2 controller, closes #4576 2022-07-03 18:28:42 -03:00
Lucas Fernandes Nogueira
d4cdf80781
feat(macros): hide command macro from docs, closes #4550 (#4556) 2022-07-01 18:07:01 -03:00
github-actions[bot]
35b53784ee
Apply Version Updates From Current Changes (#4545)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-06-30 18:45:58 -03:00
Lucas Nogueira
d0758e5fca
chore(tauri-runtime-wry): remove commented out code 2022-06-30 10:49:10 -03:00
Lucas Fernandes Nogueira
63841c1060
fix(tauri-runtime-wry): do not send theme twice on macOS, closes #4532 (#4540) 2022-06-30 10:39:25 -03:00
Lucas Fernandes Nogueira
185b0e314e
fix(tauri-runtime-wry): deadlock when window focus change, closes #4533 (#4539) 2022-06-30 10:39:10 -03:00
Lucas Fernandes Nogueira
2e74d20e83
fix(core): check whether external url is local, ref #4449 (#4536) 2022-06-30 10:38:46 -03:00
Lucas Fernandes Nogueira
23a48007c0
fix(tauri-runtime-wry): deadlock on file drop, closes #4527 (#4535) 2022-06-30 10:38:21 -03:00
Lucas Fernandes Nogueira
bf764e83e0
feat(utils): expose windows_version function (#4534) 2022-06-30 10:38:01 -03:00
github-actions[bot]
df5fd52a4c
Apply Version Updates From Current Changes (#4382)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-06-29 14:34:20 -03:00
renovate[bot]
be4831fdfb
chore(deps) Update Tauri API Definitions (#4512)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-29 00:58:07 -03:00
Lucas Nogueira
445e05d9bd
chore(config): add link to doc page 2022-06-29 00:01:31 -03:00
Lucas Fernandes Nogueira
fd125f76d7
fix(updater): fallback if tmp is on different mount point, closes #4500 (#4504) 2022-06-28 12:20:59 -03:00
Lucas Fernandes Nogueira
f6edc6df29
chore(deps): update tao to 0.12, wry to 0.19, closes #3220 (#4502) 2022-06-28 10:05:09 -03:00
Lucas Fernandes Nogueira
57039fb216
fix(core): add windows 7 notification support (#4491) 2022-06-28 09:59:13 -03:00
Lucas Nogueira
1949aa89be
chore: remove println 2022-06-28 09:50:47 -03:00
Lucas Fernandes Nogueira
643ae846d8
fix: fire window-specific event on Window emit_to/emit_all, closes #4493 (#4498) 2022-06-28 09:34:09 -03:00
Lucas Fernandes Nogueira
46196fe922
refactor(tauri-runtime-wry): move window and menu listeners to window (#4485) 2022-06-27 10:36:28 -03:00
Lucas Fernandes Nogueira
e39e2999e0
refactor(tauri-runtime-wry): enhance plugin interface (#4476) 2022-06-27 09:57:00 -03:00
Fabian-Lars
68a09b3588
fix(docs): Fix typos in js path api docs. Extend rust path api docs. (#4482) 2022-06-27 08:41:00 -03:00
Lucas Fernandes Nogueira
2ca762d207
feat(bundler): extend webview2 installation options, closes #2882 #2452 (#4466)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2022-06-26 15:45:31 -03:00
Amr Bashir
3efbc67f74
feat: implement raw_window_handle on Linux (#4469)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-26 11:56:12 -03:00
Lucas Nogueira
23a049c593
chore: fix clippy warnings, remove license template
The license template has been removed from rustfmt nightly :(
2022-06-24 22:01:13 -03:00
Lucas Fernandes Nogueira
9d33d09341
fix(core): deadlock on plugin webview ready hook (#4462) 2022-06-24 15:34:07 -03:00
Lucas Fernandes Nogueira
be4bb391a9
feat: add AppHandle::remove_plugin and plugin on_drop, closes #4361 (#4443) 2022-06-24 00:15:44 -03:00
Lorenzo Lewis
d277881d7f
fix: add supported OSs to readme, update status badges to stable (#4432)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2022-06-23 15:31:11 -03:00
Lucas Nogueira
38f5db6e6a
feat(codegen): fill app metadata in development Info.plist 2022-06-21 20:36:49 -03:00
Cyandev
45981851e3
chore(lint): unused variable warnings for release builds (#4411)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-21 13:19:57 -03:00
Lucas Fernandes Nogueira
31c15cd2bd
docs(config): enhance documentation for bundle targets, closes #3251 (#4418) 2022-06-21 13:13:56 -03:00
Lucas Fernandes Nogueira
079b1cc06e
fix(core): properly get external URL origin, closes #4414 (#4417) 2022-06-21 09:29:03 -03:00
Lucas Nogueira
f1d998243a
fix(core): regression on Size and Position serde 2022-06-21 09:19:15 -03:00
Lucas Nogueira
11ca206b2d
docs(core): update MenuItem entries supported platforms, closes #3882 2022-06-20 20:13:45 -03:00
Lucas Fernandes Nogueira
307c2ebfb6
feat(core): set macOS app icon in development (#4385) 2022-06-19 13:02:02 -03:00
Lucas Fernandes Nogueira
c7d13a1c60
feat(core): add missing methods to the dpi module (#4393)
* feat(core): add missing methods to the dpi module

* cleanup impl
2022-06-19 13:01:53 -03:00
Lucas Fernandes Nogueira
123f6e69f6
fix(tauri-runtime-wry): release windows lock immediately, closes #4390 (#4392) 2022-06-19 13:00:21 -03:00
yutotnh
cbceb7d6cf
fix: some typos (#4403)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-19 10:23:35 -03:00
Lucas Fernandes Nogueira
6d94ce4235
feat(core): theme is now implemented on macOS (#4380) 2022-06-17 14:08:35 -03:00
Lucas Fernandes Nogueira
7be997b974
feat(core): set macOS app bundle name in development (#4381) 2022-06-17 13:54:31 -03:00
Imad Bouziani
0674a80129
fix: assert config.bundle.identifier to be only alphanumeric, hyphens or dots. closes #4359 (#4363)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-17 11:26:14 -03:00
Lucas Fernandes Nogueira
ea43cf52db
fix(api): writeBinaryFile sends an empty contents with only one arg (#4368) 2022-06-16 11:56:13 -03:00
github-actions[bot]
13c2fc1ffe
Apply Version Updates From Current Changes (#4352)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-15 23:08:50 -03:00
Didrik Nordström
4e51dce6ca
fix: dialog open supports multiple dirs, fixes #4091 (#4354)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-15 19:24:28 -03:00
github-actions[bot]
f5f9f105f7
apply version updates (#4348)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-06-15 11:16:08 -03:00
Amr Bashir
4c4acc3094
feat: implement Default for Menu, closes #2398 (#4291)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-15 10:51:40 -03:00
Lucas Nogueira
562e8ca23f
fix(codegen): tray icon path is relative to the config directory 2022-06-15 09:03:53 -03:00
github-actions[bot]
dc432ef8b0
Apply Version Updates From Current Changes (#4343)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-14 21:49:04 -03:00
Lucas Fernandes Nogueira
4ce8e22813
refactor(core): use Icon for tray icons (#4342) 2022-06-14 17:50:15 -03:00
github-actions[bot]
0e95a74950
Apply Version Updates From Current Changes (#4235)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-14 00:03:11 -03:00
Lucas Nogueira
73860840a6
fix(core): linting errors 2022-06-13 18:30:46 -03:00
Lucas Nogueira
73a495126c
chore: remove outdated comment [skip ci] 2022-06-13 17:59:24 -03:00
Lucas Nogueira
2ced690207
docs(config): improve bundle identifier documentation, closes #4203 2022-06-13 17:26:22 -03:00
Lucas Nogueira
0c45641398
chore: add comment explaining preventDefault() usage 2022-06-13 16:57:09 -03:00
Lucas Nogueira
30450d0fb9
Merge remote-tracking branch 'origin/dev' into dev 2022-06-13 16:49:46 -03:00
Lucas Nogueira
a0e20621f5
fix: preventDefault mousedown on data-tauri-drag-region, closes #4059 2022-06-13 16:49:36 -03:00
renovate[bot]
0a656befd8
chore(deps) Update Tauri Core (#4330)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-12 23:54:44 -03:00
renovate[bot]
b632737a25
chore(deps) Update Rust crate open to v3 (#4327)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-12 23:23:58 -03:00
Lucas Fernandes Nogueira
b77877fd2c
fix(updater): set tmp folder permissions (#4311) 2022-06-12 21:44:19 -03:00
Lucas Fernandes Nogueira
58a6879b82
feat(tauri-build): improve Windows GNU toolchain usage, closes #4319 (#4323) 2022-06-12 14:06:15 -03:00
Ikko Ashimine
b9e1e909a7
Fix typo in parse.rs (#4313) 2022-06-10 16:49:24 -03:00
Lucas Nogueira
8a63489567
fix(build): fixed Webview2 runtime path in development, closes #4308 2022-06-10 16:40:16 -03:00
Fabian-Lars
d335fae92c
feat(bundler): bundle additional gstreamer files, closes #4092 (#4271)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-10 16:20:37 -03:00
Lucas Nogueira
f6205afc0d
fix(core): wrong Content-Type when using reqwest's multipart, ref #4312 2022-06-10 16:10:46 -03:00
Lucas Nogueira
8ce5b76264
fix: scope check when using the HTTP API to upload files closes #4312 2022-06-10 15:54:26 -03:00
Didrik Nordström
f482b09422
fix: remove notification permission prompt (#4302)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-09 17:37:05 -03:00
dependabot[bot]
2c1353f609
chore(deps): bump regex from 1.5.4 to 1.5.6 in /core/tests/restart (#4287)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 16:42:18 -03:00
Didrik Nordström
235e448def
fix: add a default icon to notifications on linux (#4283) 2022-06-09 16:42:07 -03:00
Amr Bashir
f48b1b0b3b
feat(bundler): cache bundling tools in a common dir for all projects (#4305)
* feat(bundler): cache bundling tools in a common dir for all projects

* fix changefile

* fix linux

* linux again

* again

* again

* omg I could've reboot into my linux system

* I rebooted into my linux

* fix linux one more time

* finally

* -nc

* cleanup gitignores

* Revert "-nc"

This reverts commit 8d821c6c37.

* use -N on appimage's wget calls

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-09 16:16:33 -03:00
Fabian-Lars
55f89d5f9d
fix(api): Rename FormPart value to file to match docs and endpoint (#4307) 2022-06-09 11:22:17 -03:00
Lucas Fernandes Nogueira
69ae6f1494
refactor(window): block main thread when creating a new window (#4298) 2022-06-08 09:22:07 -03:00
Lucas Fernandes Nogueira
d703d27a70
fix(build): statically link VC runtime only on tauri build (#4292) 2022-06-07 22:34:30 -03:00
Berton Zhu
3a7cd28a7b
fix(test): replace test_binary with a real binary file (#4285) 2022-06-07 11:38:50 -03:00
Lucas Fernandes Nogueira
74457222b4
fix(core): handle requests to https://tauri.* on Windows (#4270) 2022-06-05 22:27:28 -03:00
f91kdash
f72cace368
fix: never remove ipc callback & mem never be released (#4274)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-05 10:51:20 -03:00
Charlie Wilkin
6ba9127298
Fix: sidecar cleanup when only shell-sidecar is enabled (#4254)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-04 12:04:53 -03:00
Lucas Nogueira
b369069c5a
fix: remove gtk-tray from docs.rs features 2022-06-03 19:36:47 -03:00
Lucas Fernandes Nogueira
6216eb49e7
refactor(core): drop ayatana-tray and gtk-tray Cargo features (#4247) 2022-06-02 14:42:15 -03:00
Lucas Nogueira
0c63595916
fix(docs): grammar on private API usage warning 2022-05-30 11:06:32 -03:00
Lucas Fernandes Nogueira
7bba8db83e
feat(api): add resolveResource API to the path module (#4234) 2022-05-29 14:35:35 -03:00
Lucas Fernandes Nogueira
3f998ca294
feat(api): add writeTextFile and (path, contents, options) overload (#4228) 2022-05-29 10:10:41 -03:00
github-actions[bot]
2c040eaadd
Apply Version Updates From Current Changes (#4217)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-27 16:01:43 -03:00
Lucas Fernandes Nogueira
bb061509fb
refactor(core): statically link vcruntime, closes #4122 (#4227) 2022-05-27 14:33:04 -03:00
Ryan Russell
62ce02f6b5
docs(various): Improve Readability (#4225) 2022-05-27 10:06:11 +02:00
Lucas Fernandes Nogueira
ac7656ab19
refactor(updater): strong type for the pub_date field, ref #4162 (#4218) 2022-05-25 15:22:16 -07:00
Lucas Fernandes Nogueira
2badbd2d7e
refactor: force semver versions, change updater should_install sig (#4215) 2022-05-25 13:15:21 -03:00
renovate[bot]
cb807e1f5a
chore(deps) Update Rust crate regex to 1.5.6 (#4206)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 11:42:31 -03:00
github-actions[bot]
2e3239b51a
Apply Version Updates From Current Changes (#4213)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-05-25 11:14:24 -03:00
Lucas Fernandes Nogueira
9cdcf9b3a8
feat(build): create dev alias (#4212) 2022-05-25 10:51:33 -03:00
Lucas Nogueira
ac5b2d66c1
Apply Version Updates From Current Changes 2022-05-25 01:21:09 -03:00
Kasper
80458a031b
Fix message_dialog flag (#4204)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-25 00:51:33 -03:00
Lucas Nogueira
c479922f9a
refactor: use strip_prefix to remove request uri domain, ref #4132 2022-05-24 16:57:02 -03:00
github-actions[bot]
8b6bb6720c
Apply Version Updates From Current Changes (#4175)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-24 15:35:35 -03:00
Lucas Nogueira
d0233db317
fix(updater): pub_date is not required, defaults to N/A 2022-05-24 13:59:55 -03:00
Lucas Fernandes Nogueira
2326be3982
feat(core): update windows-rs to 0.37.0 (#4199) 2022-05-24 11:44:07 -03:00
Lucas Fernandes Nogueira
43daeafd73
refactor: cleanup logic to get path from protocol req url, closes #4132 (#4192) 2022-05-23 09:37:50 -03:00
Lucas Fernandes Nogueira
55892c35f5
fix(core): updater documentation not showing on docs.rs (#4190) 2022-05-22 14:43:03 -03:00
Lucas Fernandes Nogueira
78f2565e14
fix: allow return value of fs::canonicalize on fs scope, closes #4130 (#4188) 2022-05-21 16:52:21 -03:00
Jonas Kruckenberg
50a47f8c7a
refactor(updater): replace manual parsing with struct definitions (#4162)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-21 15:49:53 -03:00
Lucas Fernandes Nogueira
f46175d5d4
feat(core): expose option to set dialog type, closes #4183 (#4187) 2022-05-21 11:24:39 -03:00
Lucas Fernandes Nogueira
d99c5d583b
fix(core): HTTP timeout not working on Windows, closes #4050 (#4185) 2022-05-21 10:54:22 -03:00
Lucas Fernandes Nogueira
ae99f99167
feat(core): expose message dialog's title option, ref #4183 (#4186) 2022-05-21 10:46:14 -03:00
Lucas Fernandes Nogueira
a7a9fde16f
fix(core): account for monitor position when centering window (#4166) 2022-05-21 09:56:56 -03:00
Lucas Fernandes Nogueira
52d177543a
fix(core): immediately create window when using tauri::App, closes #4170 (#4172) 2022-05-21 09:56:31 -03:00
Lucas Fernandes Nogueira
4ac7bb12e5
docs(core): improve target documentation, cleanup logic, closes #4161 (#4173) 2022-05-21 09:55:01 -03:00
Lucas Fernandes Nogueira
a737f25c10
fix(tauri-build): delete existing sidecar file, closes #4134 (#4167) 2022-05-18 22:49:53 -03:00
Lucas Nogueira
b7281317ba
chore(docs): split app and window implementations 2022-05-18 19:38:18 -03:00