Amr Bashir
c94e1326a7
feat(bundler): add nsis
, closes #4450 , closes #2319 ( #4674 )
...
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-03 14:29:20 -03:00
luofei
2265e09718
feat(windows): implement with_tooltip
( #5938 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-31 13:24:39 -03:00
Lucas Nogueira
864dfe4de5
fix(examples): use new MessageDialogButtons variant name
2022-12-30 20:15:45 -03:00
Bo
00e1efaa9b
feat: customize button texts of message dialog ( #4383 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-27 18:15:53 -03:00
Lucas Fernandes Nogueira
dee9460f9c
feat: keep CLI alive when iOS app exits, show logs, closes #5855 ( #5902 )
2022-12-27 18:12:01 -03:00
Darin Morrison
3f35b45263
Expose wry navigation_handler via WindowBuilder closes #4080 ( #5686 )
...
Co-authored-by: silvanshade <silvanshade@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-27 12:54:57 -03:00
Amr Bashir
4ab5545b7a
feat: add content protection api, closes #5132 ( #5513 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-13 01:04:22 -03:00
Amr Bashir
233e43b0c3
feat: add title
getter on window, closes #5023 ( #5515 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-13 00:59:09 -03:00
Lucas Fernandes Nogueira
1e4a675843
fix(cli): run on iOS device on Xcode 14 ( #5807 )
2022-12-12 10:36:47 -03:00
Lucas Nogueira
1092865e67
Merge branch 'dev' into next
2022-12-08 14:19:44 -03:00
Lucas Nogueira
626faf9ec1
chore(examples): move API dev server config from CLI to vite.config.js
2022-12-03 10:20:04 -03:00
Lucas Nogueira
ad65b95070
refactor(core): move local ip address resolve to CLI
2022-11-30 11:53:17 -03:00
Lucas Fernandes Nogueira
fa6d10e39c
refactor(core): remove window APIs on mobile ( #5713 )
2022-11-30 10:30:25 -03:00
Lucas Fernandes Nogueira
8baf20dd34
feat(cli): update Android project dependencies ( #5663 )
2022-11-21 12:50:41 -03:00
Lucas Fernandes Nogueira
6dcb7fbb81
fix(core): manage mobile logs, fix Android logcat filtering ( #5659 )
2022-11-20 10:55:38 -03:00
Lucas Fernandes Nogueira
f6f9192aa5
fix(core): Android compilation on Windows ( #5658 )
2022-11-20 09:49:23 -03:00
Lucas Nogueira
7e3d672b9b
chore(examples): ignore mobile artifacts on api example
2022-11-18 13:11:18 -03:00
Lucas Fernandes Nogueira
658bb1165e
feat(cli): automatically enable native-tls-vendored feature on mobile ( #5651 )
2022-11-18 13:10:20 -03:00
Lucas Nogueira
69414a487f
chore(cli): lint
2022-11-09 11:50:41 -03:00
Lucas Nogueira
602d3ed3f6
Merge branch 'dev' into next
2022-11-09 11:04:54 -03:00
github-actions[bot]
45a5cd569b
Apply Version Updates From Current Changes ( #5295 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-11-08 09:24:09 -03:00
Lucas 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
Lucas Nogueira
d0ad0d2f48
Merge remote-tracking branch 'origin/dev' into next
2022-10-31 10:13:57 -03:00
Amr Bashir
a178f95d68
feat: config schema generator ( #5193 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-28 10:44:37 -03:00
renovate[bot]
a65b5fea3d
chore(deps) Update Rust crate clap to v4 ( #5353 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-19 10:04:13 -03:00
Lucas Fernandes Nogueira
357480f4ae
feat(core): custom protocol headers on Linux, closes #4496 ( #5421 )
2022-10-17 12:08:59 -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
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
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
Amr Bashir
ae65951bc4
fix(core): fix deadlock in on_menu_event
, closes #5254 ( #5257 )
2022-09-28 11:36:58 -03:00
Caesar Schinas
4c5a30370c
fix(examples): use a less common port in API example, closes #5276 ( #5277 )
2022-09-28 11:10:12 -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
Lucas Fernandes Nogueira
bc1622c5ab
feat(core): use native window dialogs on Android ( #5137 )
2022-09-05 16:16:59 -03:00
Lucas Nogueira
610aab7045
Merge branch 'dev' into next
2022-09-04 13:45:59 -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
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
dependabot[bot]
89af335156
chore(deps-dev): bump vite from 2.9.12 to 2.9.13 in /examples/api ( #5103 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 20:57:37 -03:00
Lucas Nogueira
914c5f299f
Merge remote-tracking branch 'origin/dev' into next
2022-08-28 16:27:01 -03:00
Lucas Fernandes Nogueira
2901145c49
chore: update license headers ( #5067 )
2022-08-28 15:13:21 -03:00
Lucas Fernandes Nogueira
927ccc465d
refactor(cli): improve security of android dev/build ( #5043 )
2022-08-25 15:30:05 -03:00
Lucas Fernandes Nogueira
4a5f2ec1ae
feat(android): enable dev HMR in both HTTP and HTTPS dev servers ( #5033 )
2022-08-25 00:19:47 -03:00
Lucas Fernandes Nogueira
752ad3b203
feat(cli): use templates from wry ( #5030 )
2022-08-24 16:06:14 -03:00
Lucas Fernandes Nogueira
ff4cb56b2e
fix(tauri-macros): escape _
in mobile entry point's app name ( #5029 )
2022-08-24 14:02:08 -03:00
Lucas Fernandes Nogueira
641d56dcb3
feat(android): improve initialization scripts ( #5028 )
2022-08-24 13:06:45 -03:00
Amr Bashir
2b846f413c
feat(examples/api): use strict port ( #5013 )
2022-08-23 12:40:02 -03:00
Lucas Nogueira
3d992a8899
Merge branch 'dev' into next
2022-08-21 17:48:56 -03:00
Lucas Fernandes Nogueira
9890486321
feat(core): add mobile_entry_point
macro ( #4983 )
2022-08-21 10:35:34 -03:00
Lucas Fernandes Nogueira
6f0615044d
feat(cli): add android dev
and ios dev
commands ( #4982 )
2022-08-20 16:53:07 -03:00
dependabot[bot]
9ac6135c2a
chore(deps): bump undici from 5.8.0 to 5.9.1 in /examples/api ( #4976 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-20 10:25:07 -03:00
Lucas Nogueira
e20145cccc
fix(examples): change API example domain, export mobile mod
2022-08-16 11:48:01 -03:00
Lucas Fernandes Nogueira
3f655d6280
refactor: pull mobile config from tauri config instead of mobile.toml ( #4948 )
2022-08-16 09:44:55 -03:00
Lucas Nogueira
a9f8ac7f96
fix(examples): set API lib crate-type
2022-08-15 13:24:26 -03:00
Lucas Nogueira
d3179b84b5
chore(examples): readd gitignore rules for mobile api example
2022-08-14 20:54:14 -03:00
Lucas Nogueira
4c9c64c429
Merge branch 'dev' into next
2022-08-14 18:40:06 -03:00
Amr Bashir
725236cea0
refactor: enhance api demo app mobile experience ( #4929 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-08-14 18:39:35 -03:00
Lucas Nogueira
d2572050be
chore(examples): remove mobile code from API example
2022-08-14 17:54:26 -03:00
Lucas Nogueira
d14322de68
chore(deps): update to wry 0.20.2 refactor
2022-08-14 17:52:20 -03:00
Lucas Nogueira
899f9b917a
Merge remote-tracking branch 'origin/dev' into next
2022-08-12 20:34:51 -03:00
Amr Bashir
20a7036ba5
Revert "fix(core): avoid conflict with user-defined cmd
arg in invoke, closes #4875 ( #4892 )" ( #4924 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-08-12 20:34:17 -03:00
Lucas Nogueira
6aee91a181
feat(core): prepare for Android
2022-08-12 14:11:14 -03:00
Lucas Nogueira
6119f4582e
chore(examples): update API dist
2022-08-11 09:55:49 -03:00
Lucas Nogueira
0e925fd8f0
feat(examples): prepare API example for mobile
2022-08-10 16:30:07 -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 Fernandes Nogueira
ed581950ea
fix(tauri-build): use ::tauri
as root for the CodegenContext ( #4894 )
2022-08-08 16:33:48 -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 Nogueira
75d3d677ae
chore(examples): update window-vibrancy and window-shadows
2022-08-02 18:32:15 -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
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
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
Lucas Fernandes Nogueira
433dafa01a
feat: add docker images for cross ( #4702 )
2022-07-27 14:58:43 -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
dependabot[bot]
38604a111e
chore(deps): bump undici from 5.5.1 to 5.8.0 in /examples/api ( #4731 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-25 11:00:02 -03:00
dependabot[bot]
5785aeb806
chore(deps-dev): bump svelte from 3.48.0 to 3.49.0 in /examples/api ( #4686 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-25 10:59:54 -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
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
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
Amr Bashir
3fbaee454d
refactor(examples/api): new look ( #4465 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-07-03 22:15:23 -03:00
Lucas Fernandes Nogueira
d4cdf80781
feat(macros): hide command macro from docs, closes #4550 ( #4556 )
2022-07-01 18:07:01 -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 Nogueira
0257004be1
chore(deps): update lockfiles
2022-06-29 01:06:16 -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
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
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
b025b9f581
refactor(cli): set binary name on dev ( #4447 )
2022-06-23 22:09:37 -03:00
Lucas Fernandes Nogueira
7be997b974
feat(core): set macOS app bundle name in development ( #4381 )
2022-06-17 13:54:31 -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
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 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
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
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
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
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
3f998ca294
feat(api): add writeTextFile
and (path, contents, options)
overload ( #4228 )
2022-05-29 10:10:41 -03:00
Lucas Fernandes Nogueira
2badbd2d7e
refactor: force semver versions, change updater should_install
sig ( #4215 )
2022-05-25 13:15:21 -03:00
Lucas Fernandes Nogueira
9cdcf9b3a8
feat(build): create dev
alias ( #4212 )
2022-05-25 10: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
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
f46175d5d4
feat(core): expose option to set dialog type, closes #4183 ( #4187 )
2022-05-21 11:24:39 -03:00
Lucas Fernandes Nogueira
bad85a1f11
feat(build): find .ico in config instead of default icons/icon.ico
( #4115 )
2022-05-13 10:39:04 -03:00
Lucas Fernandes Nogueira
a0ecd81a93
fix(core): percent decode file drop payloads, closes #4034 ( #4035 )
2022-05-03 13:05:18 -03:00
Lucas Fernandes Nogueira
715cbde384
feat(config): add $schema
to tauri.conf.json
, closes #3464 ( #4031 )
2022-05-03 12:26:16 -03:00
Lucas Fernandes Nogueira
164078c0b7
feat: allow limiting dangerousDisableAssetCspModification, closes #3831 ( #4021 )
2022-05-02 21:04:21 -03:00
Lucas Fernandes Nogueira
094534d138
fix(cli): dev command stderr text overflow on Windows, closes #3995 ( #4000 )
2022-04-29 13:28:13 -03:00
Lucas Fernandes Nogueira
62cdb2b307
refactor(tauri): remove ayatana-tray from the default features ( #3976 )
2022-04-26 20:16:52 -03:00
Lucas Fernandes Nogueira
582bdfccbc
docs(tauri): document all feature flags, add test ( #3947 )
2022-04-22 21:51:39 -03:00
Lucas Fernandes Nogueira
1397d9121a
feat(core): add support to multipart/form-data requests, closes #2118 ( #3929 )
2022-04-22 20:04:58 -03:00
Lucas Fernandes Nogueira
b5622882cf
fix(cli): exit on non-compilation Cargo errors, closes #3930 ( #3942 )
2022-04-22 12:59:03 -03:00
Lucas Fernandes Nogueira
c54ddfe933
feat: expose window cursor APIs, closes #3888 #3890 ( #3935 )
2022-04-21 15:54:08 -03:00
Lucas Fernandes Nogueira
485c97438a
fix(cli): kill beforeDevCommand if dev code returns an error ( #3907 )
2022-04-19 19:04:42 -03:00
Lucas Fernandes Nogueira
f2a30d8bc5
refactor(core): use ayatana appindicator by default, keep option to use gtk ( #3916 )
2022-04-19 17:33:17 -03:00
Lucas Fernandes Nogueira
f67ae6bd60
fix(core): set bundle id for notifications on macOS ( #3839 )
2022-04-01 23:35:29 -03:00
Lucas Fernandes Nogueira
edad9f4f55
refactor(core): add RunEvent::WindowEvent
( #3793 )
2022-03-28 17:26:25 -03:00
Lucas Nogueira
d5c06f0240
chore: update lockfiles
2022-03-28 15:23:27 -03:00
Lucas Fernandes Nogueira
f6e32ee188
feat(core): add dangerous option to disable compile time CSP injection ( #3775 )
2022-03-28 11:55:54 -03:00
Lucas Fernandes Nogueira
bf89a05fcf
fix(core): dialog parent window on macOS, closes #3312 ( #3753 )
2022-03-23 13:31:15 -03:00
Lucas Nogueira
e974f8fbae
fix(examples): api build on macOS
2022-03-11 22:57:16 -03:00
Lucas Fernandes Nogueira
49546c5269
feat(build): print error context ( #3644 )
2022-03-09 21:01:26 -03:00
Lucas Fernandes Nogueira
834ccc5153
feat(core): reimplement readTextFile
for performance ( #3631 )
2022-03-07 11:34:33 -03:00
Lucas Fernandes Nogueira
76c791bd2b
fix(core): regression on the unlisten function ( #3623 )
2022-03-06 20:45:38 -03:00
Lucas Fernandes Nogueira
8c9358725a
refactor(core): move png
and ico
behind Cargo features ( #3588 )
2022-03-05 14:19:24 -03:00
Lucas Fernandes Nogueira
3fe0260f4c
feat(core): allow CSP configuration to be an object, ref #3533 ( #3603 )
2022-03-04 21:18:39 -03:00
Lucas Fernandes Nogueira
141133a414
feat(core): add WindowBuilder type ( #3598 )
2022-03-04 21:18:22 -03:00
Lucas Fernandes Nogueira
983ccb815b
feat(core): allow denying paths on the fs and asset scopes ( #3607 )
2022-03-03 17:32:12 -03:00
Lucas Fernandes Nogueira
0f1558980a
fix(core): docs.rs on Windows and macOS ( #3566 )
...
Co-authored-by: chip <chip@chip.sh>
2022-03-02 13:08:42 -03:00
Lucas Fernandes Nogueira
b10a7cfa00
chore(cli): update clap to 3.1 ( #3568 )
2022-02-27 17:35:43 -03:00
Lucas Fernandes Nogueira
944b124ce0
feat(core): enhance HTTP scope glob validation, closes #3507 ( #3515 )
2022-02-24 10:06:19 -03:00
Lucas Fernandes Nogueira
b571c249dc
chore(deps): update to wry v0.13.2 ( #3503 )
2022-02-18 10:39:10 -03:00
Lucas Fernandes Nogueira
a975551461
fix(cli): duplicated short flag for signer sign
, closes #3483 ( #3492 )
2022-02-17 17:57:29 -03:00
Lucas Fernandes Nogueira
cd9a20b9ab
refactor(cli.js): run on separate thread ( #3436 )
2022-02-13 13:50:51 -03:00
Lucas Fernandes Nogueira
3a4c016061
fix(core): change default freezePrototype
to false, closes #3416 #3406 ( #3423 )
2022-02-12 10:28:05 -03:00
Lucas Nogueira
317d5dd17d
docs(api): document shell scope
2022-02-11 15:04:00 -03:00
github-actions[bot]
0876bbbb57
Apply Version Updates From Current Changes ( #2522 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-10 18:03:25 -03:00
Lucas Fernandes Nogueira
4334865266
refactor(cli): rename tooling/cli.rs
folder to tooling/cli
( #3388 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-10 17:23:10 -03:00
Lucas Fernandes Nogueira
2403e732df
feat(cli.rs): add tests to node binding, delete cli.js ( #3381 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: LongYinan <lynweklm@gmail.com>
2022-02-10 16:45:41 -03:00
Fabian-Lars
02ac3215ea
feat(cli.js): rewrite cli.js with napi-rs, closes #2651,#3287 ( #3370 )
...
Co-authored-by: Chip Reed <chip@chip.sh>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-09 22:11:00 -03:00
Lucas Fernandes Nogueira
85632759c3
fix(examples): remove inline style usage due to CSP ( #3373 )
2022-02-09 12:45:34 -03:00
Lucas Fernandes Nogueira
7b7a3a89d1
feat(core): update serialize-to-javascript
dependency ( #3363 )
2022-02-09 01:24:35 -03:00
Lucas Fernandes Nogueira
55aa22de80
feat(core): add Window#open_devtools
API, closes #1213 ( #3350 )
2022-02-07 10:04:33 -03:00
Lucas Fernandes Nogueira
03fc92c830
fix(core): resolve request instead of panicking on asset protocol ( #3347 )
2022-02-06 23:54:47 -03:00
Lucas Fernandes Nogueira
9b34055264
fix(core): window-specific event delivery, closes #3302 ( #3344 )
2022-02-06 17:50:02 -03:00
Lucas Fernandes Nogueira
af329f2722
feat(bundler): wix localization, closes #3174 ( #3179 )
2022-02-05 15:13:07 -03:00
Lucas Fernandes Nogueira
4818531aba
refactor(core): add blocking dialog APIs, improve docs, closes #3255 ( #3270 )
2022-02-05 00:43:19 -03:00
dependabot[bot]
784ecf7a64
chore(deps): bump nanoid from 3.1.30 to 3.2.0 in /examples/api ( #3262 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[skip ci]
2022-02-04 23:51:14 -03:00
Lucas Fernandes Nogueira
f5109e0c96
fix(api): window label null instead of actual value, closes #3295 ( #3332 )
2022-02-04 21:57:41 -03:00
Lucas Nogueira
3d77bd3981
refactor(examples): use fixed file name on API example dist files
2022-02-04 18:33:43 -03:00
Lucas Nogueira
6ea4626337
fix(examples): API example compilation issues
2022-02-04 18:31:54 -03:00
Jacob
e57a303748
docs(examples): add missing Readme and clarify existing ( #3327 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 17:56:57 -03:00
Lucas Nogueira
c6ba7f6524
fix(ci): update lockfiles
2022-02-04 14:48:45 -03:00
Lucas Nogueira
675d171eed
fix(core): tests, lint
2022-02-04 14:03:27 -03:00
Lucas Nogueira
320bb0b52a
fix(examples): API example shell scope configuration
2022-02-02 21:02:27 -03:00
Lucas Nogueira
0d1e3219b4
Merge branch 'next' into feat/audit-patches
2022-02-02 20:09:41 -03:00
Lucas Nogueira
b82e2b5cf7
feat(core): configure HTTP scope using glob patterns
2022-01-31 10:30:32 -03:00
chip
10314cd5cf
feat(core): add argument parsing on shell scope ( #44 )
...
* feat: initial implementation
* feat: arg parser
* refactor: move codegen to context struct
* feat: regex validation
* fix tests
* fix: support magic argument value `-`
* feat: support value regex starting with `-`
* refactor: shell_scope mod, add happy path tests
* wip: scope command arguments
* wip: commands
* add better scoped errors and pattern matching
* add documentation to scoped command items
* support using the new shell scope for open
* use the proper items in tauri::scope during codegen
* shell-open uses ScopeError::Validation also
* use shell scoping for sidecar commands
* fix: cli.rs build
* fix: validation when arg list is empty
* require args in a non-fixed, non-empty config list
Co-authored-by: Chip Reed <chip@chip.sh>
2022-01-26 16:43:24 -03:00
chip
d5d6d2abc1
Isolation Pattern ( #43 )
...
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-01-17 10:46:14 -03:00
Jonas Kruckenberg
ce03909fb6
[feat] add dialog title option. closes #3232 ( #3233 )
2022-01-16 19:41:11 +01:00
FabianLars
d5e6046756
Fix broken links to tauri.studio docs ( #3212 )
2022-01-13 13:34:31 -03:00
Lucas Nogueira
b43019a2b0
fix: shell allowlist scope
2022-01-09 16:31:40 -03:00
Lucas Fernandes Nogueira
0ad1c6515f
feat(core): add http
allowlist scope [TRI-008] ( #24 )
2022-01-09 16:16:12 -03:00
Lucas Nogueira
239bba5666
refactor(core): check notification permission on the Rust endpoint [TRI-017] ( #23 )
2022-01-09 16:15:47 -03:00
Lucas Nogueira
5687b7fdcd
refactor: use macros to match core commands with allowlist conditionals [TRI-028] ( #20 )
2022-01-09 15:41:28 -03:00
Lucas Nogueira
4fa5ec9606
chore: cleanup repo lockfiles and gitignores
2022-01-09 15:18:14 -03:00
Lucas Nogueira
8259cd64c2
feat(core): inject CSP
on data URLs [TRI-049] ( #16 )
2022-01-09 14:57:12 -03:00
Lucas Nogueira
2a7bf6d912
refactor(examples): improve security when rendering HTML strings [TRI-003] ( #14 )
2022-01-09 14:35:30 -03:00
Lucas Nogueira
7920ff14e6
feat: scope the fs
API and the asset
protocol [TRI-026] [TRI-010] [TRI-011] ( #10 )
2022-01-09 14:30:04 -03:00
Lucas Nogueira
6ac21b3cef
feat: add private api feature flag ( #7 )
2022-01-09 11:29:29 -03:00
Lucas Nogueira
cf54dcf9c8
feat: improve CSP
security with nonces and hashes, add devCsp
[TRI-004] ( #8 )
2022-01-09 11:11:59 -03:00
Lucas Nogueira
4de285c396
feat(core): validate Cargo features matching allowlist [TRI-023]
2022-01-09 10:55:09 -03:00
Lucas Fernandes Nogueira
46f2eae8aa
feat: allow config's version to be a path to package.json, closes #2967 ( #2971 )
2022-01-07 16:55:30 -03:00
Amr Bashir
4143ffd427
fix(cli.js): detect CARGO_TARGET_DIR
for local run ( #3147 )
...
* fix(cli.js): detect `CARGO_TARGET_DIR` for local run
* [skip ci] revert schema changes
2022-01-04 13:57:50 +02:00
Lucas Fernandes Nogueira
2212bd5d75
fix: dialog default path on Linux, closes #3091 ( #3123 )
2021-12-27 13:03:51 -03:00
Lucas Fernandes Nogueira
35588b2e04
fix(cli.rs): check default arch at runtime, closes #3067 ( #3078 )
2021-12-27 10:49:59 -03:00
Lucas Fernandes Nogueira
7cc95e10ec
feat(core): add Menu::with_items
, closes #2807 ( #2966 )
2021-12-27 10:48:13 -03:00
Lucas Nogueira
73274a895f
chore: add release profile for updater and api examples
2021-12-09 18:26:44 -03:00
Lucas Fernandes Nogueira
74dff536d4
fix(core): emit tauri://close-requested
to JS, closes #2996 ( #3041 )
2021-12-09 12:22:12 -03:00
Amr Bashir
f87c04d70b
refactor(examples/api): use vite ( #2998 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-09 01:16:00 -03:00
Lucas Fernandes Nogueira
d28ac8aac0
fix(core): enable CORS on the asset
protocol, closes #2965 ( #2974 )
2021-12-09 00:56:58 -03:00
Lucas Nogueira
c52b4b7da4
fix: API example for window interaction
2021-11-25 12:37:36 -03:00
Lucas Fernandes Nogueira
15164d930a
feat(core): allow defining a custom invoke system ( #2899 )
2021-11-16 12:58:18 -03:00
Bill Avery
34be6cf37a
Update webview2-com and windows crates ( #2875 )
2021-11-11 18:38:41 -03:00
Lucas Fernandes Nogueira
a9dfc01550
feat: update to edition 2021 and set minimum rust to 1.56 ( #2789 )
2021-10-22 10:04:42 -03:00
Lucas Nogueira
b2b99aea0e
fix(examples): API example distDir
regression
2021-10-11 10:51:14 -03:00
Lucas Fernandes Nogueira
7ed3f3b7e4
feat(cli.rs): validate distDir
, closes #2554 ( #2701 )
2021-10-04 12:54:14 -03:00
DEWA Kazuyuki/出羽和之
063eb586bd
.scripts/setup.sh does not work on Ubuntu dash ( #2702 )
2021-10-03 00:56:49 -03:00
Fausto Núñez Alberro
0e4d12b541
fix : #2502 Expose set_menu
from tao through the TrayHandle struct ( #2532 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-02 15:57:53 -03:00
Lucas Fernandes Nogueira
d24fd8d102
feat(tauri-runtime-wry): allow window creation and closing on the main thread ( #2668 )
2021-09-27 20:18:06 -03:00
Lucas Nogueira
f68603aee4
chore(docs): simplify event system documentation
2021-09-27 13:07:05 -03:00
Lucas Fernandes Nogueira
2812c4464b
feat(core): window, shortcut and clipboard API calls on main thread ( #2659 )
2021-09-26 01:50:27 -03:00
Bill Avery
bb00d5bd6c
Replace winapi with windows crate and use webview2-com instead of webview2 ( #2615 )
...
* Switch to webview2-com version of tao and wry
* Pick up latest branch of TAO and WRY
* Let WRY pick the branch for TAO instead of patch
* Add comment for wry next branch pending merge
* Add changelog
* Revert wry redirect in Cargo.toml
* Use pinned rev for matching PR merge commit
2021-09-24 17:40:22 +08:00
Lucas Nogueira
904bdb22f7
chore(deps): pin wry
, update lock files
2021-09-23 14:42:25 -03:00