Commit Graph

1177 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Lucas Fernandes Nogueira
635f23b88a
fix(bundler): correctly set debian architecture for aarch64 (#4700) 2022-07-17 09:19:40 -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 Nogueira
89cb252640
fix(bundler): pin linuxdeploy version 2022-07-14 15:12:57 -03:00