Commit Graph

5215 Commits

Author SHA1 Message Date
amaitland 511bbf71ef xml doc improvements v79.1.350 2020-01-29 08:05:41 +10:00
amaitland ee8de7ec28 xml doc - remove seealso internal interface references 2020-01-29 07:25:13 +10:00
amaitland 0cad8054ab Upgrade to CEF 79.1.35+gfebbb4a+chromium-79.0.3945.130 / Chromium 79.0.3945.130 2020-01-29 06:13:16 +10:00
amaitland 221f035841 Sandcastle - Update version and excluded namespaces 2020-01-29 05:36:02 +10:00
amaitland 36fa45230c Xml Doc improvements 2020-01-28 21:08:37 +10:00
amaitland d4d1286a03 Core - Update ReferrerPolicy enum values
**Breaking Change**

Resolves #3026
2020-01-28 20:59:31 +10:00
amaitland b661fbd2d3 Xml Doc - Improvements and fixes
- Some classes are now excluded
- Many minor fixes should hopefully reduce the number of errors reported by Sandcastle
- Some of the xml doc is generated by Atomineer, usually in cases where CEF lacks documentation
2020-01-28 20:47:25 +10:00
amaitland b1d127957d WPF - Resize Hack for when browser switches from hidden to visible (#2779) 2020-01-24 16:17:24 +10:00
amaitland 4cb77e4ca5 Core - Add IBrowserHost.GetNavigationEntriesAsync extension method 2020-01-24 16:02:07 +10:00
amaitland 87c8725184 Core - ResourceHandler set Stream.Position = 0 and if CanSeek
- Prior to version 75 the Stream.Position was set to 0 before the ResourceHandler would read the Stream.
This restores that behaviour.
- Minor refactor of if statement for Stream.Can seek, only override ResponseLength with Stream.Length of not already set

Resolves #2903
2020-01-23 07:57:05 +10:00
amaitland 731c626cfe Add cefsharp/79 branch details and update build numbers
- Update appveyor.yml/build.ps1 version numbers to 79.1.310
- Created release branch in README.md

Branch to follow shortly
v79.1.310-pre
2020-01-22 10:27:58 +10:00
amaitland 99fedd23ab CefSharp.Common.targets - Remove message output for PlatformCheck as they're not displayed in a fashion users will actually see them
- Tabs to spaces for consistency
2020-01-21 19:41:18 +10:00
amaitland 8559aa6e50 CefSharp.Common.targets - Update link, condense wording
Issue #3009
2020-01-21 13:38:55 +10:00
amaitland fb6990a195 CefSharp.Common.targets - Improve PlatformCheck error messaging
Only the error will be shown in the VS error pane, hopefully the additional messages are useful.

Issue #3009
2020-01-21 12:33:01 +10:00
amaitland 44113d77a4 DevTools - now shown as popup (visible in taskbar).
- Pass null for CefWindowInfo.SetAsPopup parent handle
- Add optional params to IWebBrowser/IBrowser.ShowDevTools extension methods.

Anyone wishing to use the old behaviour can do something like

var host = browser.GetBrowserHost();

var windowInfo = new WindowInfo();
windowInfo.SetAsPopup(host.GetWindowHandle(), "DevTools");

browser.ShowDevTools(windowInfo);

Resolves #2997
2020-01-21 09:06:28 +10:00
amaitland 1550251940 Upgrade to CEF 79.1.31+gfc9ef34+chromium-79.0.3945.117 / Chromium 79.0.3945.117 2020-01-21 08:56:08 +10:00
amaitland e4312760ce API Change - IJavascriptObjectRepository.Register remove isAsync default param
**BREAKING CHANGE**

- You must now explicitly specify the `isAsync` param.
- Add additional xml doc comment regarding .Net Core and using only isAsync = true

The isAsync = false option (sync binding) requires WCF which isn't available on .Net core, remove the default value so you are forced to specify an option and in the process hopefully read the documentation.

For those who previously hadn't provided a param then simply pass in false for the third argument.
e.g.
browser.JavascriptObjectRepository.Register("bound", new BoundObject(), false);

Resolves #3016
2020-01-21 08:39:23 +10:00
amaitland 926cd7243e BrowserSubProcess.Core.BrowserSubprocessExecutable - Return -1 when no type param specified as per the doc 2020-01-15 11:16:40 +10:00
amaitland 94e311844c Upgrade to CEF 79.1.10+g7ec49fa+chromium-79.0.3945.117 / Chromium 79.0.3945.117 2020-01-15 11:16:39 +10:00
amaitland 19a70727f2 WinForms/WPF/OffScreen - Improve Dispose/BrowserInitialized error messaging
- Set CanExecuteJavascriptInMainFrame to false when disposing
- Throw exception if Disposed when calling GetBrowser method
- Improve error messaging
2020-01-15 11:16:06 +10:00
Alex Maitland ad3d1d8244 Update appveyor.yml
Update build version number
2020-01-11 20:05:03 +10:00
amaitland fe83ba0aa5 OffScreen - Disable GPU Compositing 2020-01-08 16:46:49 +10:00
amaitland 1ef327cf9d Upgrade to CEF 79.1.3+ga5342ed+chromium-79.0.3945.88 / Chromium 79.0.3945.88 2020-01-08 16:46:48 +10:00
Alex Maitland 787079155b Update feature_request.md 2019-12-24 09:44:12 +10:00
Alex Maitland 922463c87d Update Readme.txt
Add .Net Core link and revise app.manifest entry
2019-12-21 09:01:12 +10:00
amaitland 57ab2ec982 WPF - Add CompositionTargetRenderHandler (experimental) 2019-12-13 21:07:25 +10:00
amaitland d693ece3ca Example - Fix more home.html links 2019-12-13 19:40:35 +10:00
amaitland c26053ae22 Example - Fix broken link in Home.html 2019-12-13 18:59:43 +10:00
amaitland 00f8cdf59b Core - ResourceHandler add Charset optional param to constructor or FromStream 2019-12-13 18:59:20 +10:00
amaitland 002f023b39 Core - Add Legacy ResourceHandler
Supports the old CEF code path
2019-12-13 18:54:05 +10:00
amaitland 453f8d2077 Core - ResourceHandler now reuses it's temp byte[] buffer 2019-12-11 18:21:19 +10:00
amaitland a6f4f75a0e Core - Add Cef.GetMimeType
Use the Chromium file extension to MimeType mapping.
The built in ResourceHandler.GetMimeType needs updating, doesn't support say webm for example.
2019-12-11 17:46:16 +10:00
amaitland c5c9271cb7 Core - WebBrowserExtensions.RegisterJsObject and WebBrowserExtensions.RegisterAsyncJsObject now throw NotImplementedException
Follow up to commit ffaff5d151.

Resolves #2990
2019-12-11 14:12:31 +10:00
amaitland ffaff5d151 Core - Remove WebBrowserExtensions.RegisterJsObject and WebBrowserExtensions.RegisterAsyncJsObject
This is a breaking change, these methods are being removed as they are used for LegacyBinding which is being drastically changed in #2977

Resolves #2990
2019-12-11 10:08:08 +10:00
amaitland a9d39d7965 Core - Add StreamResponseFilter
- Moved from the Cefsharp.Example.Filters.StreamResponseFilter
- Added CanWrite checks in InitFilter
- Updated example to reflect namespace change.
2019-12-10 18:31:38 +10:00
amaitland 1e88322b7d WinForms - Rename WinFormsWebBrowserExtensions to WebBrowserExtensions
Let's just keep it simple, we're in the WinForms namesapce, so we already know the context.
2019-12-10 08:09:22 +10:00
amaitland 99c177aa30 IBrowserHost.GetVisibleNavigationEntry - Add call to ThrowIfExecutedOnNonCefUiThread guard and improve xml doc
Resolves #2986
2019-12-10 08:08:19 +10:00
amaitland db4f5f3822 Core - Fix WebBrowserExtensions xml doc 2019-12-10 07:54:28 +10:00
amaitland 6793ff2355 Core - Add WinFormsWebBrowserExtensions.DestroyWindow helper function
Used to manually destroy a browser instance (can be used to avoid having CEF send a WM_Close message).
MUST BE CALLED ON THE CEF UI Thread, see xml doc example
2019-12-10 07:54:14 +10:00
amaitland 93336a0031 Core - CefSettings add disable-site-isolation-trials and remove process-per-site-instance arg
Steps towards supporting Chromium Site Isolation

Issue #2967
2019-12-04 09:22:44 +10:00
amaitland 5138c559be WPF - Disable GPU Compositing
Required until further Viz compositor related issues are resolves

https://bitbucket.org/chromiumembedded/cef/issues/2733/viz-osr-might-be-causing-some-graphic#comment-55006070
2019-12-04 09:05:54 +10:00
amaitland 21c89b130b WPF - Improve Mouse Scroll/Drag Usability (capture mouse outside of control)
Resolves #2258
2019-12-04 08:47:43 +10:00
amaitland daeb4fb13f WinForms - Improve handling of Load method when called after CreateBrowser and before OnAfterBrowserCreated
Call MainFrame.Load after the browser has been created if the Address property has been set after CreateBrowser and before OnAfterBrowserCreated
2019-12-03 07:08:08 +10:00
amaitland ca2837f928 WinForms - Make ControlExtensions.InvokeOnUiThreadIfRequired internal
- Additional check is control is being Disposed
- Add copy and paste version of ControlExtensions.InvokeOnUiThreadIfRequired to example project

Resolves #2983
2019-12-02 20:37:41 +10:00
amaitland 30950e5bd1 Core - Cef.GetGlobalCookieManager add ICompletionCallback overload
- Callback is executed after the store is ready.
- CookieManagerDecorator added (not yet used), will look at providing the user with clearer feedback
  that the store isn't ready, quite often people attempt to get/set cookies when the manager just isn't ready

TODO: Add tests for CookieManagerDecorator and add an overload that uses it
2019-12-02 20:03:59 +10:00
amaitland 0c06026371 WinForms - ControlExtensions.InvokeOnUiThreadIfRequired perform no action if control disposed/ishandlecreated false 2019-12-02 19:03:12 +10:00
Alex Maitland 1b6fc162f6 Update README.md
Remove Chromely link, no longer supports CefSharp.
2019-12-01 12:17:50 +10:00
amaitland 617e43cebf Upgrade to CEF 78.3.9+gc7345f2+chromium-78.0.3904.108 / Chromium 78.0.3904.108 2019-11-28 12:04:02 +10:00
amaitland f9c9c7fce5 Core - RequestContext.ClearHttpAuthCredentials now defaults to using NoOpCompletionCallback if callback was null
Workaround for a CEF bug which crashes if NULL is passed in as arg to CefRequestContext::ClearHttpAuthCredentials

https://github.com/cefsharp/CefSharp/issues/2957#issuecomment-555285400
2019-11-27 11:23:07 +10:00
Roh yeon jin b804367cb5 WPF IME - Fixed last hangul letter being duplicated (#2973)
WPF IME - Fixed the problem that the last hangul letter is duplicated.
2019-11-25 11:35:51 +10:00