Commit Graph

916 Commits

Author SHA1 Message Date
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