Lucas Fernandes Nogueira
7315189e76
chore: preserve order on schemas ( #8724 )
2024-02-01 09:16:10 -03:00
Amr Bashir
58fe2e812a
fix: improvements and ipc fixes for loading window content using custom protocol ( #8670 )
...
* fix: improvements and ipc fixes for loading window content using custom protocol
closes #5478
* Discard changes to tooling/cli/Cargo.lock
* clippy
* fix tests
* typo
* fix webviewurl deserialize
* resolve todo, fixes
* fmt
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-01-31 09:38:25 -03:00
Lucas Fernandes Nogueira
57e3d43d96
feat(acl): generate schema for scope ( #8690 )
...
* feat(acl): generate schema for scope
* allow plugin to define its global scope schema
* refactor to use schemas folder instead of individual files
* change signature
* delete .schema.json files
2024-01-29 13:36:31 -03:00
Lucas Fernandes Nogueira
c77b40324e
refactor(core): add support to multiple webviews on a Tauri window ( #8280 )
...
* feat: update to latest wry
* wry dev branch [skip ci]
* fix linux [skip ci]
* refactor(runtime): split webview and window types
* split dispatch
* implement create_webview
* move webview message
* wip webview mod
* create webview manager, finish webview struct and builder
* fix tests and docs
* rename WindowUrl to WebviewUrl
* update examples
* event refactor
* update JS API
* fix events
* update example
* add WebviewWindow class on JS
* fix macos build
* allow creating window+webview on the same runtime call
* rename tauri://window-created to tauri://webview-created
* Window::add_child
* use inner_size from webview on macOS
* add multiwebview example
* automatically resize webviews on window resize
* fix tests
* set_position, set_size
* position, size getters
* set_focus
* add close fn
* update mock runtime
* lint [skip ci]
* fix inner_size getter [skip ci]
* import hwnd [skip ci]
* update webview bound ratios on set_size/set_position
* add auto_resize option
* fix android
* fix build on windows
* typo
* with_webview isnt desktop only
* add WebviewWindow rust struct (and builder)
* fix build on android
* license header
* fix macos/windows
* fix macos build
* resolve todo
* handle window not found
* hide unstable features
* document unstable feature [skip ci]
* webview plugin permissions
* hide more stuff
* fix doctests
* typos
* add change files
* fix examples
* rename hook
2024-01-24 11:05:18 -03:00
Lucas Fernandes Nogueira
74a2a6036a
chore: add change files for #8428 ( #8661 )
2024-01-23 13:19:51 -03:00
tweidinger
3c2f79f6f3
Tauri ACL/Allowlist v2 Implementation and Plugin System Refactor ( #8428 )
...
* tauri-plugin concept
* wip
* move command module to its own directory
* wip: new command traits and generated code
* wip: whip
* wip: static dispatch
there is a man standing behind me
* wip
* re-add authority
* fix build [skip ci]
* parse plugin permissions
* merge permission files [skip ci]
* parse capabilities [skip ci]
* resolve acl (untested) [skip ci]
* split functionality, add some docs
* remove command2 stuff
* actually check runtime authority
* small fixes [skip ci]
* add function to auto generate basic permission for a command [skip ci]
* retrieve command scope, implement CommandArg [skip ci]
* fix tests [skip ci]
* global scope
* lint
* license headers [skip ci]
* skip canonicalize
* separate scope type in example
* remove inlinedpermission struct [skip ci]
* permission file schema
* capabilities schema
* move items from tauri-plugin to tauri-utils
this allows tauri-plugin to depend on tauri directly again
which will be used by the runtime feature as a superset to
existing plugin traits
* enable schema and glob [skip ci]
* fix glob [skip ci]
* fix capability schema [skip ci]
* enhance schema for permission set possible values [skip ci]
* permission set can reference other sets [skip ci]
* setup tests for resolving ACL
* fixture for permission set [skip ci]
* remote context test and small fix[skip ci]
* ignore empty scope [skip ci]
* code review [skip ci]
* lint [skip ci]
* runtime fixes
* readd schema feature on tauri-config-schema [skip ci]
* remove plugin example from workspace, it breaks workspace features resolution [skip ci]
* scope as array, add test [skip ci]
* accept new shapshot [skip ci]
* core plugin permissions, default is now a set
* license headers
* fix on windows
* update global api
* glob is no longer optional on tauri-utils
* add missing permissions on api example [skip ci]
* remove ipc scope and dangerous remote access config
* lint
* fix asset scope usage
* create out dir [skip ci]
* reuse cargo_pkg_name [skip ci]
* capability window glob pattern [skip ci]
* add platforms for capability [skip ci]
* per platform schema [skip ci]
* lint [skip ci]
* rename allowlist build mod [skip ci]
* check restricted visibility
* simplify capability target [skip ci]
* hide codegen build behind tauri-build::try_run
* optimize build scripts [skip ci]
* fix tests
* tests for RuntimeAuthority::resolve_access
* remote domain glob pattern
* lint
---------
Co-authored-by: Chip Reed <chip@chip.sh >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-01-22 21:24:15 -03:00
Lucas Nogueira
a9b87c057d
Merge branch '1.x' into dev
2023-12-19 13:52:53 -03:00
Lucas Fernandes Nogueira
0d0501cb7b
refactor(clipboard): use arboard instead of tao closes #8177 ( #8394 )
...
* refactor(clipboard): use arboard instead of tao closes #8177
* update api lock
* add change file
2023-12-14 13:41:20 -03:00
Lucas Nogueira
5e05236b49
feat(core): add tracing for vital functionality closes #5204 ( #8289 )
...
* feat(core): add tracing for vital functionality
* Update core/tauri-runtime-wry/src/lib.rs [skip ci]
* Update Cargo.toml [skip ci]
* tracing feature
* wry 0.24.6
* add change tag
* add tracing to CI test
* enhance spans for update check
* remove app from debug impl
2023-11-27 16:56:46 +02:00
Lucas Fernandes Nogueira
ebc3e78e68
feat: update to latest wry ( #8213 )
...
Co-authored-by: amrbashir <amr.bashir2015@gmail.com >
2023-11-21 12:32:06 -03:00
renovate[bot]
aa1d67ab75
chore(deps) Update Tauri Core (dev) ( #8227 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-11-19 14:21:12 -03:00
Amr Bashir
f93148eac0
feat: add tray and menu javascript APIs and events, closes #6617 ( #7709 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-11-19 08:38:24 -03:00
renovate[bot]
b6ed4ecb37
chore(deps) Update Rust crate syn to v2 (dev) ( #7634 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-11-13 08:20:19 -03:00
renovate[bot]
e9aa7276e9
chore(deps) Update Tauri Core (dev) ( #7631 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-11-09 14:15:41 -03:00
Lucas Fernandes Nogueira
b5f40ae58d
fix(core): global events regression from #7996 closes #8146 ( #8147 )
2023-11-07 09:59:09 -03:00
Lucas Fernandes Nogueira
0601d5dddb
fix(docs): set the --cfg docsrs arg for docs.rs build ( #8123 )
2023-10-28 08:04:35 -03:00
Lucas Fernandes Nogueira
2b6ffe0fd1
chore: update plugins-workspace branch usage from next to v2 ( #8120 )
2023-10-27 00:17:23 -03:00
Olivier Lemasle
9ed400a85c
chore(ci): Replace unmaintained actions-rs GH actions, closes #8078 ( #8093 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-10-26 15:27:52 -03:00
DK Liao
9580df1d7b
chore(deps): upgrade gtk to 0.18 ( #8084 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-10-24 12:26:24 -03:00
Amr Bashir
a0f7b88fd8
build(api.js): simplify output JS files ( #8025 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-10-23 18:22:00 -03:00
Lucas Fernandes Nogueira
198abe3c2c
feat(plugins): typed invoke arguments for mobile plugins ( #8076 )
2023-10-23 14:09:42 -03:00
Lucas Nogueira
c6c59cf237
Merge branch '1.x' into dev
2023-10-20 08:56:02 -03:00
Lucas Fernandes Nogueira
be8e5aa307
fix(cli): duplicated newlines on child process output ( #8042 )
2023-10-18 15:29:12 +00:00
Amr Bashir
ed32257d04
feat(windows): add tabbed effect ( #7794 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-10-17 12:29:10 -03:00
Amr Bashir
c9a9246c37
feat: move window plugin back to core ( #8007 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-10-17 08:33:23 -03:00
Amr Bashir
2558fab861
refactor!: remove uuid and rand dependencies where applicable ( #7939 )
...
* refactor: remove uuid and rand dependencies where applicable
ref: https://github.com/tauri-apps/tauri/issues/7756
* replace rand with getrandom
* change files
* InnerListeners private
* revert listeners_object_name [skip ci]
* default for next_event_id
* remove raw listen function
* fix event system
* Apply suggestions from code review [skip ci]
* update names [skip ci]
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2023-10-17 05:47:41 +03:00
Lucas Fernandes Nogueira
40d340021c
fix(bundler): team ID is now required for notarytool via app password ( #7972 )
2023-10-06 14:33:49 -03:00
Lucas Fernandes Nogueira
68e7319305
fix(core): update scope usage following #7944 ( #7946 )
2023-10-03 08:44:25 -03:00
Lucas Fernandes Nogueira
3671edbcff
fix(core): toggle devtools via global shortcut ( #7937 )
...
* fix(core): toggle devtools via global shortcut
* Update .changes/fix-toggle-devtools.md
2023-10-02 17:19:01 +03:00
Amr Bashir
a68ccaf59a
fix: skip leading slash for asset protocol, closes #7815 ( #7822 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-09-12 16:57:11 -03:00
Amr Bashir
4bf1e85e6b
fix(windows): respect focused: false for webview, closes #7519 ( #7722 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
fix(windows): respect `focused: false` for webview, closes #7519
2023-09-11 17:00:06 -03:00
Lucas Fernandes Nogueira
d5074af562
fix: custom protocol on Windows, change scheme on Android, closes #7801 ( #7808 )
2023-09-11 12:25:06 -03:00
Lucas Fernandes Nogueira
4cb51a2d56
refactor(core): custom protocol on Windows now uses the http scheme ( #7779 )
2023-09-07 19:57:16 -03:00
Lucas Fernandes Nogueira
0d63732b96
refactor(core): allow custom protocol handler to resolve async ( #7754 )
2023-09-06 15:53:03 -03:00
renovate[bot]
d928d23cdb
chore(deps) Update Tauri Core - abandoned ( #5253 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-08-13 22:41:00 -03:00
Amr Bashir
7fb419c326
refactor: move to muda and tray_icon crates ( #7535 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-08-13 22:25:50 -03:00
Lucas Fernandes Nogueira
fbeb5b9185
refactor(core): use webview's URI schemes for IPC ( #7170 )
...
Co-authored-by: chip <chip@chip.sh >
2023-08-10 10:12:38 -03:00
Amr Bashir
6c408b736c
feat: add notification sound ( #7269 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-08-08 15:09:04 -03:00
Lucas Fernandes Nogueira
d010bc07b8
feat(ios): properly set iOS product name ( #7554 )
2023-08-05 08:59:19 -03:00
Bo
3b98141aa2
feat: add file association support, closes #3736 ( #4320 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: Raphii <iam@raphii.co >
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-07-16 18:34:43 -03:00
Amr Bashir
2eab150563
feat(api/http): properly handle Files in Body.form, closes #7390 ( #7394 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
closes #7390
2023-07-13 08:58:21 -03:00
Lucas Nogueira
93afa71d9a
chore: fix merge conflicts from dev
2023-06-15 10:37:02 -03:00
Lucas Fernandes Nogueira
7bbc626cc3
Merge remote-tracking branch 'origin/dev' into next ( #7212 )
2023-06-15 09:52:33 -03:00
Amr Bashir
d75c1b829b
fix(cli): warn about bundling updater target without appropriate targets, closes #7181 ( #7189 )
...
* fix(cli): warn about bundling updater target without appropriate targets, closes #7181
* change tags
* cleanup
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-06-14 02:14:35 +03:00
Lucas Fernandes Nogueira
8124145d6c
fix(core): path commands not added ( #7171 )
2023-06-08 17:08:46 -07:00
Amr Bashir
6d3f3138b9
fix(core/path): change sep and delimiter to functions ( #7160 )
...
* fix(core/path): change `sep` and `delimiter` to functions
* fix impl
* semicolons
* return types
* generated
* fix init js
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-06-08 03:40:14 +03:00
Lucas Fernandes Nogueira
a50f24b2bd
Merge remote-tracking branch 'origin/dev' into next ( #7067 )
...
Co-authored-by: wusyong <wusyong@users.noreply.github.com >
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: Simon Hyll <hyllsimon@gmail.com >
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio >
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh >
Co-authored-by: Raphii <iam@raphii.co >
Co-authored-by: Ronie Martinez <ronmarti18@gmail.com >
Co-authored-by: hanaTsuk1 <101488209+hanaTsuk1@users.noreply.github.com >
Co-authored-by: nathan-fall <39990940+nathan-fall@users.noreply.github.com >
Co-authored-by: Akshay <nerdy@peppe.rs >
Co-authored-by: KurikoMoe <kurikomoe@gmail.com >
Co-authored-by: Guilherme Oenning <me@goenning.net >
Co-authored-by: Pierre Cashon <biaocy91@gmail.com >
Co-authored-by: Jack Wills <32690432+mrjackwills@users.noreply.github.com >
Co-authored-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com >
Co-authored-by: Risto Stevcev <me@risto.codes >
Co-authored-by: Soumt <rltks1305@naver.com >
Co-authored-by: yutotnh <57719497+yutotnh@users.noreply.github.com >
Co-authored-by: Gökçe Merdun <agmmnn@gmail.com >
Co-authored-by: Nathanael Rea <Nathan@NathanaelRea.com >
Co-authored-by: Usman Rajab <usman.rajab@gmail.com >
Co-authored-by: Francis The Basilisk <36006338+snorkysnark@users.noreply.github.com >
Co-authored-by: Lej77 <31554212+Lej77@users.noreply.github.com >
Co-authored-by: Tomáš Diblík <dibla.tomas@post.cz >
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com >
Co-authored-by: Pascal Sommer <Pascal-So@users.noreply.github.com >
Co-authored-by: Bo <bertonzh@gmail.com >
Co-authored-by: Kevin Yue <k3vinyue@gmail.com >
fixed grammar and typos (#6937 )
Fix api.js docs pipeline with updated typedoc dependencies (#6945 )
closes #6887 (#6922 )
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865 (#6921 )
fix(core): Fix `WindowBuilder::on_navigation` handler never registerd, closes #6865
fix broken symlinks in license files (#6336 )
fix(cli): fix cli connection timeout to dev server (fix #6045 ) (#6046 )
fix(bundler): ensure that there are no duplicate extension arguments when bundling on Windows, fixes #6103 (#6917 )
fix(bundler): ensure that there are no duplicate extension arguments during bundling on Windows (fix #6103 )
closes #5491 (#6408 )
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928 (#6935 )
fix(nsis): prefill $INSTDIR with previous install path and respect `/D` flag, closes #6928
fix(updater): emit `UPTODATE` when server responds with 204, closes #6934 (#6970 )
fix(core): unpin all dependencies, closes #6944 (#6966 )
fix(bundler): Add new lang_file option in persian variant. (#6972 )
fix(core/ipc): access url through webview native object, closes #6889 (#6976 )
fix(core): remove trailing slash in http scope url, closes #5208 (#6974 )
fix(core): remove trailing slash in http scope url, closes #5208
fix(cli): find correct binary when `--profile` is used, closes #6954 (#6979 )
fix(cli): find correct binary when `--profile` is used, closes #6954
closes #6955 (#6987 )
closes #6955
closes #6158 (#6969 )
closes #6158
fix(cli): improve vs build tools detection (#6982 )
fix: updated appimage script to follow symlinks for /usr/lib* (fix : #6992 ) (#6996 )
fix(cli): correctly remove Cargo features (#7013 )
Fix typo (#7012 )
fix(cli): revert metadata.json field rename from #6795 (#7029 )
closes #6732 (#6736 )
fix: add missing file properties on Windows, closes #6676 (#6693 )
fix(cli.js): detect node-20 binary (#6667 )
fix version-or-publish workflow (#7031 )
fix(cli/devserver): inject autoreload into HTML only, closes #6997 (#7032 )
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036 (#7040 )
fix(bundler/nsis): write installer templates UTF16LE encoded, closes #7036
fix(core): rewrite `asset` protocol streaming, closes #6375 (#6390 )
closes #5939 (#5960 )
fix(core): use `safe_block_on` (#7047 )
closes #6859 (#6933 )
closes #6955 (#6998 )
fix(core): populate webview_attrs from config, closes #6794 (#6797 )
closes #5176 (#5180 )
fix: sound for notifications on windows (fix #6652 ) (#6680 )
close native window's buttons, closes #2353 (#6665 )
fix(bundler/nsis): calculate accurate app size, closes #7056 (#7057 )
fix(tests): only download update when it is available (#7061 )
closes #6706 (#6712 )
fix(doc): correct the doc of `content_protected()` (#7065 )
closes #6472 (#6530 )
fix(macros): use full path to Result to avoid issues with type aliases (#7071 )
2023-05-29 21:29:24 -03:00
Amr Bashir
ff5e4dbbb0
fix(core): populate webview_attrs from config, closes #6794 ( #6797 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-05-24 15:39:51 -03:00
Amr Bashir
e0f0dce220
feat: add window effects api ( #6442 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-05-23 15:29:46 -03:00
dependabot[bot]
1161b6788e
chore(deps): bump h2 from 0.3.15 to 0.3.19 in /examples/api/src-tauri ( #7030 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 16:35:19 -03:00