Commit Graph

1322 Commits

Author SHA1 Message Date
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
Lucas Fernandes Nogueira
597c98203c
feat(bundler): use known Id for the sidecar files on WiX, ref #4546 (#4658) 2022-07-12 16:55:37 -03:00
Lucas Fernandes Nogueira
261d1bc9d4
feat(bundler): load WiX extensions used on fragments, closes #4546 (#4656) 2022-07-12 14:08:08 -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
c635a0dad4
refactor(cli): do not capture and force colors of cargo build output (#4627) 2022-07-12 09:49:23 -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
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
d5e910ebcc
chore(api): remove type-fest (#4605) 2022-07-06 10:07:46 -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
Lucas Fernandes Nogueira
2e61abaa9a
feat(cli): allow dynamic link vcruntime, closes #4565 (#4601) 2022-07-06 09:29:03 -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
f7c59ecfc8
fix(bundler): support macOS 10.13.6+ on notarization, closes #4549 (#4593) 2022-07-05 09:04:40 -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 Nogueira
f65eb4f84d
fix(cli.js): revert run command to be nonblocking 2022-07-04 09:09:00 -03:00
Lucas Fernandes Nogueira
7e3ac8475c
fix(core): command stack overflow on Windows, closes #4548 (#4562) 2022-07-03 21:37:49 -03:00
Lucas Fernandes Nogueira
23d3d847d1
fix(bundler): ensure RequestUUID and Status parser adds a \n, closes #4549 (#4559) 2022-07-03 21:36:33 -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 Fernandes Nogueira
dbb8c87b96
feat(cli): watch Cargo workspaces in the dev command, closes #4222 (#4572) 2022-07-03 19:48:05 -03:00
Robin van Boven
8dd03e69b0
fix(bundler): Build AppImages inside the target folder (#4521)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-07-03 18:24:03 -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 Fernandes Nogueira
3df6c8c645
feat(bundler): enable TLS 1.2 before downloading webview2 bootstrapper (#4543) 2022-06-30 18:07:11 -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
Jonas Kruckenberg
8e808fece9
fix(cli.rs): conflicts_with arg doesn't exist closes (#4538)
* fix: conflicts_with path doesn't exist

* add change file

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-30 10:38:57 -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
Lucas Fernandes Nogueira
5105b428c4
feat(cli): change app template to only set default menu on macOS (#4518) 2022-06-29 14:03:42 -03:00
Robin van Boven
bf45ca1df6
fix(cli,bundler): prefer AppImage libraries with ABI version (#4505) 2022-06-28 23:45:36 -03:00
Robin van Boven
0e6edeb14f
fix(cli): Don't add pkg-config to deb (#4508) 2022-06-28 23:44:14 -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 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
dswd
b0133083dd
Fix appimage creation in container when host has appimagelauncher enabled (#4457)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-27 10:36:37 -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
66ed165773
chore(ci): remove sync-prerelease script (#4486) 2022-06-27 10:36:14 -03:00
Lucas Fernandes Nogueira
e39e2999e0
refactor(tauri-runtime-wry): enhance plugin interface (#4476) 2022-06-27 09:57:00 -03:00
Lucas Fernandes Nogueira
094b3eb352
fix(cli): file name instead of path on updater sig comment, closes #4467 (#4484) 2022-06-27 09:56:37 -03:00
Lucas Fernandes Nogueira
956af4f30f
feat(bundler): validate wix toolset files, ref #4474 (#4475) 2022-06-26 18:00:33 -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
Fabian-Lars
82eb6e79e8
fix(bundler): Fix appimage bundler crashing if path has spaces (#4471)
* fix(bundler): Fix appimage bundler crashing if path has spaces

* add changefile
2022-06-26 09:28:29 -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
13b8a2403d
feat(cli): validate target argument (#4458) 2022-06-24 13:16:19 -03:00
Jiwon Choi
08a73acde8
fix(bundler): fix language code. closes #4437 (#4444)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-24 00:19:31 -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
Lucas Fernandes Nogueira
b025b9f581
refactor(cli): set binary name on dev (#4447) 2022-06-23 22:09:37 -03:00
Lucas Fernandes Nogueira
6650e5d672
fix(cli): preserve Cargo manifest formatting when possible (#4431) 2022-06-22 00:14:46 -03:00
Lucas Fernandes Nogueira
672174b822
feat(bundler): validate version before bundling with WiX (#4429) 2022-06-22 00:14:39 -03:00
Lucas Fernandes Nogueira
e0e5f77243
feat(cli): improve cargo not found error message, closes #4428 (#4430) 2022-06-22 00:14:27 -03:00
Lucas Nogueira
38f5db6e6a
feat(codegen): fill app metadata in development Info.plist 2022-06-21 20:36:49 -03:00
Lucas Fernandes Nogueira
2616ede410
perf(ci): optimize cargo package step, closes #3823 (#4427) 2022-06-21 15:21:47 -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
12f65219ea
fix(cli): read lockfile from workspace on the info command, closes #4232 (#4423) 2022-06-21 13:19:36 -03:00
Brian Li
35dd51db68
fix(cli): add shebang for kill-children.sh, closes #4262 (#4416)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-06-21 13:16:16 -03:00
Lucas Fernandes Nogueira
31c15cd2bd
docs(config): enhance documentation for bundle targets, closes #3251 (#4418) 2022-06-21 13:13:56 -03:00
Robin van Boven
aa0336d6c5
fix(bundler): ensure AppImage usr/lib is a dir (#4419)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-21 12:16:46 -03:00
Lucas Fernandes Nogueira
45076b3ede
refactor(bundler): use the plist crate to create and merge Info.plist (#4412) 2022-06-21 10:00:12 -03:00
Lucas Fernandes Nogueira
079b1cc06e
fix(core): properly get external URL origin, closes #4414 (#4417) 2022-06-21 09:29:03 -03:00
fehnomenal
83186dd897
Read extra ignore file for dev watcher, closes #4406 (#4409)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-20 09:49:19 -03:00
Lucas Nogueira
b8a64d01ba
fix(cli): add prepublish scripts to the plugin templates 2022-06-19 15:54:55 -03:00
Lucas Nogueira
07f9079532
chore(cli): update plugin template tauri-apps/create-pull-request 2022-06-19 15:17:39 -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
Lucas Fernandes Nogueira
010530459e
chore(cli): use unix path separator on $schema (#4384) 2022-06-19 12:48:48 -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
github-actions[bot]
8457cccab0
Apply Version Updates From Current Changes (#4369)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-06-16 12:26:04 -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
Lucas Fernandes Nogueira
f4bb30cc73
feat(covector): prepare for v1 (#4351) 2022-06-15 13:53:44 -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
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
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
Lucas Fernandes Nogueira
76d1eaaebd
feat(cli): debug command output in real time (#4318) 2022-06-12 09:00:54 -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
c2b7c77517
fix: put linux high dpi icons in the correct dir (#4281) 2022-06-10 08:58:38 -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
Didrik Nordström
a6f45d5248
Debian icon no fallback, fixes #4280 (#4282) 2022-06-09 16:45:21 -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
Lucas Fernandes Nogueira
3455244436
feat(cli): bundle appindicator library in the AppImage, closes #3859 (#4267) 2022-06-07 11:48:29 -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
Fabian-Lars
53ae13d99a
fix(bundler): Pull correct 32bit linuxdeploy appimage, closes #4260 (#4269) 2022-06-04 17:55:18 -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 Fernandes Nogueira
2322ac11cf
fix(bundler): bundle /usr/bin/xdg-open in appimage if open API enabled (#4265) 2022-06-04 11:45:24 -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 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
Lucas Fernandes Nogueira
f685df399a
fix(cli): parsing of arguments with multiple values, closes #4231 (#4233) 2022-05-29 10:06:57 -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 Nogueira
a7388e23c3
fix(ci): adjust change file to include tauri-utils and tauri-codegen 2022-05-27 15:10:32 -03:00
Lucas Fernandes Nogueira
bb061509fb
refactor(core): statically link vcruntime, closes #4122 (#4227) 2022-05-27 14:33:04 -03:00
Fabian-Lars
bd8f3e298a
fix(cli): manual config lookup to handle gitignored folders, fixes #3527 (#4224) 2022-05-26 15:14:43 -03: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
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
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 Fernandes Nogueira
2326be3982
feat(core): update windows-rs to 0.37.0 (#4199) 2022-05-24 11:44:07 -03:00
Lucas Fernandes Nogueira
6830a73953
fix(bundler): use binary arch on appimage bundle script (#4194) 2022-05-23 11:50:22 -03:00
Lucas Fernandes Nogueira
cdfa625511
fix(cli): properly read info when using yarn 2+, closes #4106 (#4193) 2022-05-23 09:37:31 -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
Lucas Nogueira
8539e02f7f
fix(bundler): wix upgrade do not installing new files, closes #4182 2022-05-21 15:07:36 -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
a737f25c10
fix(tauri-build): delete existing sidecar file, closes #4134 (#4167) 2022-05-18 22:49:53 -03:00
github-actions[bot]
393c774dfd
Apply Version Updates From Current Changes (#4117)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-05-18 12:53:01 -03:00
Lucas Nogueira
617f1144f3
feat(core): add App::get_cli_matches helper ref #4145 2022-05-17 18:12:40 -03:00
Lucas Fernandes Nogueira
d965b92174
fix(bundler): prevent removal of pin to taskbar on Windows (#4144) 2022-05-17 13:39:10 -03:00
Lucas Fernandes Nogueira
29d8e768aa
feat(config): adjust schema for documentation website, closes #4139 (#4142)
Co-authored-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
2022-05-17 13:38:52 -03:00
TomScavo
706fcbd39c
fix(core): fileDropEnabled option is not working when creating a new WebviewWindow (#4146) 2022-05-17 13:38:40 -03:00
Lucas Fernandes Nogueira
8e1daad153
fix(bundler): set app name when signing MSI, closes #3945 (#3950) 2022-05-17 13:26:35 -03:00
Lucas Fernandes Nogueira
25aa4347b3
fix(core): prepare window icon and menu on remote URLs, closes #4131 (#4140) 2022-05-16 10:19:11 -03:00
Lucas Fernandes Nogueira
3e702cf8b1
fix(bundler): ignore duplicated files in resource iter, closes #4126 (#4129) 2022-05-15 10:01:10 -03:00
Lucas Fernandes Nogueira
9f2c341319
feat(core): configure msiexec display options, closes #3951 (#4061)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2022-05-15 09:02:30 -03:00
Lucas Fernandes Nogueira
1948ae53fd
fix(bundler): only reinstall missing or != version files, closes #4122 (#4125) 2022-05-15 09:02:19 -03:00
Lucas Fernandes Nogueira
61e37652b9
fix(core): deadlock when creating window from IPC handler, closes #4121 (#4123) 2022-05-13 19:04:28 -03:00
Lucas Fernandes Nogueira
e35aaebc30
feat(core): add PathResolver::resolve_resource API (#4116) 2022-05-13 11:00:34 -03:00