-
-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add `Application` back, require it for `WebviewBuilder` Linux only so far. Until further notice, this entire branch is going to only work on Linux until I can decide on a good interface to expose WebDriver stuff. `Application` makes it so that multiple windows can share a single WebContext and UserContentManager (data directory). This is required for WebDriver because only a single `WebContext` is allowed to be marked to allow automation. It seems that macOS and Windows have similar limitations to some extent. Only the multi_window example has been updated so far. * Create automated webviews from webdriver clients again, linux only for now. updated detect_js_ecma example also * cargo +nightly fmt * update env var value for automation * allow closing the window from the webdriver client * add support for win32 windows * add wry::Application support to macOS * change how ApplicationExt work to match std * update all examples to use wry::Application * remove now unneeded uuid dependency * add webdriver support to new example * cargo +nightly fmt * remove automation flag from mac/win ApplicationInner * allow dead_code in Application inner field is there a better proper fix? probably - but we will be redoing this interface soon I imagine. * cargo +nightly fmt * update all WebviewBuilder::new calls * cargo +nightly fmt * super builder * update ecma example * enable automation if specific build env is set * change build env var to feature * move the super builder to its own module * cargo +nightly fmt * update builder docs * explicitly allow inlining on wry::Builder * revert everything to dev * update webkit2gtk to v2_18 to allow for automation * set custom cfg on rustdocs to allow for nightly doc features * simplify application module * enable nightly doc features when cfg is set * add WebContext as a required item to `WebViewBuilder` * add changes file * move web_context to build from new * update WebContextData path for windows,macos * mark WebContextData as private * update examples and doc tests * allow os impl WebContextImpl to be dead_code * fix windows webview builder initialization * add winrt note to add window close event handler * add smart link to WebContext docs Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <[email protected]> * update WebContext doc smartlink * remove doc_cfg from empty non-linux WebContextImpls * fix clippy error in unrelated code * make clippy happy (new nightly lints) Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <[email protected]>
- Loading branch information
Showing
24 changed files
with
275 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"wry": patch | ||
--- | ||
|
||
Add `wry::webview::WebContext`. It's now a required argument on `WebViewBuilder::build`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.