Commit Graph

6179 Commits

Author SHA1 Message Date
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
amaitland 6af44d7777 Core - Add IRequest.PostData setter
can be used with the new PostData public class

request.PostData = new PostData();
2019-11-23 15:21:18 +10:00
amaitland ec8d58bcec Core - Rename CefSharp.Internals.CefUrlRequestWrapper to CefSharp.UrlRequest
- Make public
- Add public constructor
2019-11-23 15:11:14 +10:00
amaitland 493897983d Core - Rename CefSharp.Internals.CefRequestWrapper to CefSharp.Request
- Made public
- Added public constructor

Related issue #1721
2019-11-23 14:27:27 +10:00
amaitland b8418f4045 Core - CefRequestWrapper code cleanup
- Variable rename
2019-11-23 14:12:25 +10:00
amaitland 8b8dbad3d1 Core - Rename CefSharp.Internals.CefPostDataWrapper to CefSharp.PostData
- Made public
- Added public constructor

Related Issue #1721
2019-11-23 14:09:37 +10:00
amaitland dbc2293d8f Core - Rename CefSharp.Internals.CefPostDataWrapper to CefSharp.PostDataElement
- Make public
- Added public constructor

Related issue #1721
2019-11-23 14:04:16 +10:00
amaitland 1b5795cff7 CefSharp.Example - Add Disable WebAssembly example 2019-11-23 13:55:13 +10:00
amaitland ac07860cba CefExample - Add example of disable-site-isolation-trials command line arg 2019-11-23 06:47:29 +10:00
amaitland c8469aea9d WPF - Add CreateBrowser method to allow for loading CefBrowser before attached to Visual Tree.
Commit https://github.com/cefsharp/CefSharp/commit/c88618e6638440f0150e0935d41872b2399ef6b2
added a new constructor overload, this adds a new CreateBrowser method that can be used in instances
when you need to attach an event handler or set a handler property before the browser is created.
2019-11-19 14:59:14 +10:00
amaitland 7b599bb188 WPF Example - Add ClearHttpAuthCredentials menu item 2019-11-19 11:10:27 +10:00
amaitland 47e2d211a8 Add RequestContext.ClearHttpAuthCredentialsAsync extension method
- Add ClearHttpAuthCredentialsAsync extension
- Make IRequestContext.ClearHttpAuthCredentials callback param default to null

NOTE: Calling IRequestContext.ClearHttpAuthCredentials without a callback is crashing, appears to be a bug in CEF.

Issue #2957
2019-11-19 11:10:11 +10:00
Nick 876d3f9ecf Add IRequestContext.ClearHttpAuthCredentials (#2959)
Add IRequestContext.ClearHttpAuthCredentials
2019-11-18 13:13:30 +11:00
Mitch Capper 73a39a8661 Updated funding source information for new GH sponsors and removed some old options. Updated HTMLView project link that changed. (#2966) 2019-11-18 13:10:45 +11:00
amaitland fee6235f85 build.ps1 - Fix dll version number for CefSharp.BrowserSubprocess.Core/CefSharp.Core
The version number expects comma instead of dot
2019-11-17 18:38:25 +10:00
amaitland c88618e663 WPF - Add ChromiumWebBrowser constructor overload for immediately loading the browser with set width/height 2019-11-17 18:38:24 +10:00
Alex Maitland 1a6283945e Update feature_request.md
Ask for this template not to be used for asking questions
2019-11-14 15:13:34 +10:00
amaitland 966890588e Upgrade to CEF 78.3.1+g8819d2e+chromium-78.0.3904.87 / Chromium 78.0.3904.87 2019-11-08 12:18:46 +10:00
Alex Maitland 882b2f3a5e Update FUNDING.yml
GitHub sponsors has been approved.
2019-11-08 06:01:44 +10:00
Alex Maitland a20858aae6 Update FUNDING.yml
Remove patreon, will be switching to GitHub sponsors ASAP.
2019-11-07 17:51:53 +10:00
João Neves e81a3ed316 Fixed crash accessing js objects dictionary concurrently 2019-11-03 12:50:02 +10:00
amaitland 60a1f640cf CEF Upgrade - Breaking Changes
- Remove CefSettings.EnableNetSecurityExpiration
- Remove RequestContextSettings.EnableNetSecurityExpiration
#2954

- Remove IFrame.LoadStringForUrl and IWebBrowser.LoadString
Resolves #2955
2019-11-03 12:33:45 +10:00
amaitland 3ee5b4544a Upgrade to CEF 78.2.9+g4907ec5+chromium-78.0.3904.70 / Chromium 78.0.3904.70 2019-11-03 12:33:44 +10:00
Alex Maitland ab3536a5d8 Update README.md
Add details about cancelled cefsharp 77 release https://github.com/cefsharp/CefSharp/issues/2953
2019-11-03 12:08:07 +10:00
amaitland 12edb67220 VS2019 Support - Set VisualStudioProductVersion to VS2019 if libcef_dll_wrapper.lib otherwise fallback to VS2017
Follow up to #2924
2019-11-03 11:32:57 +10:00
amaitland 8f4d2f6527 Merge branch 'vs_2019_support_fixes_2628_pr' of https://github.com/mitchcapper/CefSharp 2019-11-03 11:24:10 +10:00
amaitland 1c42708a14 Nuget - Add Visible false to <None/> entries
Issue #2456
2019-11-03 11:07:09 +10:00
amaitland ded51000af issue template config.yml - Add ceforum link 2019-11-03 09:26:51 +10:00
amaitland 83dcb5faed Add GitHub Issue Template config.yml
- Disable blank issue template
- Add support link
2019-11-03 09:24:30 +10:00
amaitland 05172d6943 OffScreen - Add HtmlString constructor overload to ChromiumWebBrowser 2019-11-03 09:21:01 +10:00
Alex Maitland 85a841cc91 Update bug_report.md
CEF Sample application note, WPF and OffScreen use the same command line args for testing,
2019-11-03 09:18:16 +10:00
amaitland da0dfc46cb WPF - Change NotifyDpiChange to accept float instead of double
- Double was being cast to float
- If newDpi is same as old DPI do nothing, no extra floating point comparison is being used, so in some cases
it's possible the DPI change will be triggered when the DPI's are actually the same
2019-10-30 13:25:51 +10:00
amaitland 67c05da691 OffScreen - ScreenshotAsync incorrectly returned null on first Paint call
Resolve a sequence issue where the Paint event is called before the buffer is updated, the first call
to ScreenshotAsync would return null incorrectly even when the paint event fired.
Add internal AfterPaint event, this event is called regardless of args.Handled
If args.Handled is true and ScreenshotAsync is called then the TaskCompletionSource returns an Exception
2019-10-29 20:42:04 +10:00
amaitland a8d5b85ed3 Request/Response Headers - Fix incorrect handling of readonly
- Rename ReadOnlyNameValueCollection to HeaderNameValueCollection
- Set ReadOnly after the collection has been populated.

Resolves #2946
2019-10-29 19:36:01 +10:00
amaitland fdc02076ce WinForms - Demo workaround for activation issue when showing two browser forms
When there are two forms that contain browser instances shown at the same time they rapidly switch between
the two windows.

Issue #2928
2019-10-29 19:26:50 +10:00
amaitland 0979a4de2a IFrame.LoadRequest - Add xml doc warning
WARNING: This method will fail with "bad IPC message" reason
INVALID_INITIATOR_ORIGIN (213) unless you first navigate to the
request origin using some other mechanism (LoadURL, link click, etc).

Resolves #2932
2019-10-28 12:08:28 +10:00
amaitland 7f1d3ffb6a CefSettings - BrowserSubProcess path resolved to CefSharp.Core assembly location
This was the original intent, didn't check closely enough that GetType resolves to the Wpf/OffScreen/WinForms
implementation of AbstractCefSettings
2019-10-25 09:22:27 +10:00