Commit Graph

22 Commits

Author SHA1 Message Date
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
4dd4893d7d feat: allow specifying a resource map, closes #5844 (#5950)
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
closes #5844
2023-07-13 18:28:52 -03:00
Amr Bashir
35b587c830 feat: add languages support for nsis (#6039)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-19 14:39:53 -03:00
dependabot[bot]
9d543f6ed3 chore(deps): bump tokio from 1.21.2 to 1.24.1 in /examples/resources/src-tauri (#5999)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 22:42:35 -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
447370fa50 chore(deps): update to wry 0.21 (#5181) 2022-09-13 10:56:54 -03:00
Lucas Nogueira
0257004be1 chore(deps): update lockfiles 2022-06-29 01:06:16 -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
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
2326be3982 feat(core): update windows-rs to 0.37.0 (#4199) 2022-05-24 11:44:07 -03:00
Lucas Fernandes Nogueira
e35aaebc30 feat(core): add PathResolver::resolve_resource API (#4116) 2022-05-13 11:00:34 -03:00
Lucas Nogueira
d5c06f0240 chore: update lockfiles 2022-03-28 15:23:27 -03:00
Lucas Fernandes Nogueira
b571c249dc chore(deps): update to wry v0.13.2 (#3503) 2022-02-18 10:39:10 -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
7b7a3a89d1 feat(core): update serialize-to-javascript dependency (#3363) 2022-02-09 01:24:35 -03:00
Lucas Nogueira
c6ba7f6524 fix(ci): update lockfiles 2022-02-04 14:48:45 -03:00
Lucas Nogueira
4fa5ec9606 chore: cleanup repo lockfiles and gitignores 2022-01-09 15:18:14 -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