Alex Maitland
cdc694e4d6
Update README.md
...
Fix incorrect master branch version
2020-05-11 08:34:35 +10:00
amaitland
1e2ddba7a6
Update README.md - Add details for the upcoming cefsharp/81 branch
2020-05-09 06:03:05 +10:00
amaitland
99dd3f4273
Upgrade version number to 81.3.20
2020-05-09 05:56:39 +10:00
amaitland
0f3de6f432
Upgrade to CEF 81.3.2+gb9282cc+chromium-81.0.4044.138 / Chromium 81.0.4044.138
2020-05-09 05:54:38 +10:00
amaitland
6c29d3b4e6
Core - Update CefErrorCode
...
Resolves #3106
2020-05-08 10:22:56 +10:00
amaitland
d6ca2531eb
WPF Example - Add LoadExtension Test
...
Uses the set_page_color that CEF uses for testing
2020-05-05 15:06:11 +10:00
amaitland
c63c301451
Core - Improve IBrowserHost.NotifyMoveOrResizeStarted xml doc
2020-05-05 08:34:48 +10:00
amaitland
545cbce36d
WinForms - Form minimise set browser size to 0,0
...
When the form is minimized set the browser window size to 0x0 to reduce resource usage.
https://github.com/chromiumembedded/cef/blob/c7701b8a6168f105f2c2d6b239ce3958da3e3f13/tests/cefclient/browser/browser_window_std_win.cc#L89
Issue #2922
2020-05-05 08:30:27 +10:00
amaitland
1824a0334d
WPF/WinForms/OffScreen - CanExecuteJavascriptInMainFrame incorrectly false after loading page with different origin
...
Proof of concept for a workaround. The frameId for the second OnContextReleased that arrives after the OnContextCreated from
the old render process strangely has a frameId greater than the new frameId
TODO: Unit tests
Issue #3021
2020-05-04 12:34:47 +10:00
amaitland
71a190dfe6
OffScreen Example - Demo Cef.WaitForBrowsersToClose();
...
Issue #3047
2020-05-04 11:34:52 +10:00
amaitland
6b440a84a3
Shutdown - Improve WaitForBrowsersToClose
...
- Add Cef.PreShutdown
- For WPF hook the DispatcherShutdownStarted and DispatcherShutdownFinished events then call Cef.PreShutdown
- Add NoOpBrowserRefCounter and set as default, needs a little more testing before it's enabled by default.
Can be enabled by calling Cef.EnableWaitForBrowsersToClose before calling Cef.Initialize
Issue #3047
2020-05-03 21:58:05 +10:00
amaitland
09661c6ac7
Core - PathCheck fix typo in comment
2020-05-03 19:31:51 +10:00
amaitland
98b7abeeea
Core - PathCheck rewrite to match Chromium FilePath::IsAbsolute
...
Resovles #3102
2020-05-03 19:28:32 +10:00
amaitland
e1401e7092
Core - Ensure CachePath/RootCachePath/LocalesDirPath/BrowserSubprocessPath are absolute
...
CEF now requires this to be absolute, we enforce this by throwing exception if non-absolute
Resolves #3102
2020-05-03 16:59:57 +10:00
amaitland
2602212f79
Upgrade to CEF 81.3.1+gb2b49f1+chromium-81.0.4044.113 / Chromium 81.0.4044.113
2020-05-03 14:01:48 +10:00
amaitland
349c9a938b
Core - IResourceRequestHandler implement IDisposible
...
Add ResourceRequestHandler.Dispose protected virtual method
Instance will be disposed when ref count frees the last instance.
2020-05-02 08:50:16 +10:00
amaitland
b71381980c
Core - Remove unused files
...
They were renamed (spelling mistake) and the old ones seem to have been retained,
probably a merge issue
2020-05-02 07:17:43 +10:00
amaitland
46006b4a44
Core - Add DependencyChecker.AssertPathAbsolute
...
Issue #3102
2020-05-01 11:03:30 +10:00
amaitland
d82370eb14
Example - Add additional popup test
...
Also remove unused file
2020-05-01 11:00:45 +10:00
amaitland
4d7fa50c16
Example - Make BrowserSubProcess paths absolute
...
Issue #3102
2020-04-29 08:13:08 +10:00
amaitland
924e7bd457
WPF/OffScreen - Remove disable-gpu-compositing command line arg
...
Now that https://bitbucket.org/chromiumembedded/cef/issues/2733/viz-osr-might-be-causing-some-graphic
is resolved this shouldn't be required.
There are some glitches with resizing, the CEF OSR engine still needs some improvements. At least
the basics appear to be working now
2020-04-29 08:12:36 +10:00
amaitland
0d399e6fd4
WPF Example - Update EvaluateJavascriptTextBox to simple js example
...
Use 1 + 1 as a simple example
Objects aren't bound on the home page so the old script would fail to execute.
2020-04-29 08:07:33 +10:00
amaitland
3bac04d1d0
Upgrade to CEF 81.2.25+g3afea62+chromium-81.0.4044.113
2020-04-29 07:57:02 +10:00
amaitland
e2d3d9dc02
Bug Report Template - Add additional command line args.
2020-04-29 07:10:05 +10:00
amaitland
e6e8b9032f
WPF - NullReferenceException when pressing key before underlying CefBrowser created
...
Pressing a key before the CefBrowser instance is created would throw an exception
For consistence we add checks like the mouse and touch handlers
Eventually the browser != null checks should be replaced with a browser initialized
check for clearer intent.
As suggested at https://gitter.im/cefsharp/CefSharp?at=5ea84e147a24ff01b0eb662b
2020-04-29 06:06:30 +10:00
amaitland
0f22224c37
WPF Example - Readd Legacy Binding
...
if CefSharpSettings.LegacyJavascriptBindingEnabled then register bound and boundAsync objects
2020-04-28 20:54:22 +10:00
amaitland
bce627097b
Upgrade version number to 81.2.210
2020-04-27 17:45:53 +10:00
amaitland
7e121305ae
Example - Add AcceptRangeResourceHandler demo
...
CEF in theory now supports partial range requests see https://bitbucket.org/chromiumembedded/cef/issues/2873/streamreaderurlloader-doesnt-correctly
Not production tested, just a rough working prototype at this point in time. It's not clear that CEF
2020-04-23 17:10:37 +10:00
amaitland
14072b48e3
Core - ResourceHandler.Skip return true on successful seek
2020-04-23 17:07:06 +10:00
amaitland
f566d99b12
Upgrade to CEF 81.2.21+ge864886+chromium-81.0.4044.113 / Chromium 81.0.4044.113
2020-04-23 05:56:17 +10:00
amaitland
296e75a775
Core - CefEventFlags fix capitalisation of AltGrDown
...
Was previously AltgrDown
Issue #3098
2020-04-18 20:31:04 +10:00
amaitland
aef48bdd17
Core - CefEventFlags.AltGrDown Typo
...
Issue #3098
2020-04-18 14:52:41 +10:00
amaitland
f46a8a7175
Core - Add CefEventFlags.AltGrDown
...
Resolves #3098
2020-04-18 10:55:27 +10:00
amaitland
51fef05989
Upgrade to CEF 81.2.17+gb382c62+chromium-81.0.4044.113 / Chromium 81.0.4044.113
2020-04-18 10:52:53 +10:00
Alex Maitland
b2c1d924c0
Update CONTRIBUTING.md
...
Add extra command line args for testing
2020-04-17 14:55:20 +10:00
amaitland
ea3b1398d0
Example - RegisterTestResources now registers resource if no factory found
2020-04-08 18:07:01 +10:00
amaitland
cb429ce9bf
WPF - Improve ToolTip Text Wrapping
...
When no ToolTip style is defined we'll use a TextBlock to wrap the text so it's
usable by default. If a style is applied then we leave it up to user.
Resolves #2488
2020-04-08 16:43:47 +10:00
amaitland
73e7c5de13
Core - Rename AbstractCefSettings to CefSettingsBase
...
This is a somewhat cosmetic change so the API Doc looks better, the
classes appear next to each other (CefSettings, CefSettingsBase)
when sorted alphabetically.
Resolves #3093
2020-04-06 14:59:33 +10:00
amaitland
defc2c3af6
WinForms - Remove WS_EX_NOACTIVATE style on initial page Load
...
- When LoadingStateChanged occurs we remove the ExStyle WS_EX_NOACTIVATE flag
- Previous change to the FocusHandler was reverted in 917480da3b
Updated to match the cefclient example
https://github.com/chromiumembedded/cef/blob/9df4a54308a88fd80c5774d91c62da35afb5fd1b/tests/cefclient/browser/root_window_win.cc#L1088
Resolves #2776
2020-04-06 10:48:53 +10:00
amaitland
917480da3b
Revert "WinForms - DefaultFocusHandler now allows browser to take focus on initial load"
...
This reverts commit f725ab3907 .
Issue #2776
2020-04-06 10:28:54 +10:00
amaitland
955b3f3c1a
Core - Consistent C++ naming
...
- Following the adapter/wrapper naming scheme
- Moved classes to internals that aren't public facing
Resolves #1005
2020-04-06 06:50:32 +10:00
amaitland
b2dc7bfc0d
Upgrade to CEF 80.1.15+g7b802c9+chromium-80.0.3987.163 / Chromium 80.0.3987.163
2020-04-05 07:56:02 +10:00
amaitland
0592d69784
Core - FolderSchemeHandlerFactory add protected virtual Create method
...
override Create to implement custom behaviour
2020-04-05 05:33:22 +10:00
amaitland
3d3c1c203c
Upgrade to CEF 80.1.4+g8927396+chromium-80.0.3987.149 / Chromium 80.0.3987.149
2020-04-03 09:58:37 +10:00
amaitland
51bc799c07
WinForms Example - Add MultiFormAppContext to csproj file
...
Was somehow missed
2020-04-03 09:51:53 +10:00
amaitland
4cac03bb93
WinForms - Add ParkControlOnHandleDestroyed property.
...
When true the browser will always be moved to a parking control when the ChromiumWebBrowser handle is destroyed.
By default it's only moved when RecreatingHandle = true;
Resolves #2840
2020-04-02 11:34:05 +10:00
amaitland
ce94992d28
Tests - Skip ConcurrentMethodRunnerQueueFacts.ValidateAsyncTaskMethodOutput
...
It's unreliable, will improve as part of https://github.com/cefsharp/CefSharp/issues/3067
2020-04-01 12:34:25 +10:00
amaitland
270b5c496e
WinForms - Dispose of FrameworkCreated BrowserSettings when Control Disposed
...
If BrowserSettings is FrameworkCreated we dispose of the BrowserSettings object immediately,
this code was in ManagedCefBrowserAdapter::CreateBrowser, now it's duplicated in WPF/OffScreen
The WinForms version has a slightly different behaviour, we keep the browserSettings reference
until the Control is Disposed incase the Control handle is destroyed then Created again.
Issue #2840
2020-04-01 09:42:56 +10:00
Alex Maitland
81871ff4bb
WinForms - RecreatingHandle re-parent browser to parkingControl ( #3090 )
...
Use a parkingControl as a temporary parent for the CefBrowser while the handle is recreating.
https://docs.microsoft.com/en-us/archive/blogs/sburke/flashback-windows-forms-parking-window
Issue #2840 should now create a new browser correctly when the MdiParent is changed,
the browser state won't be persisted, I believe this is expected as detailed in the .Net Source
https://referencesource.microsoft.com/#System.Windows.Forms/winforms/Managed/System/WinForms/Form.cs,1925
When toggling ShowInTaskbar when the browser is hosted in a TabControl then the handle isn't
actually recreated yet the browser is effectively parked, perhaps the .Net source has some tricks
we can use to further improve the case when using MdiParent
Resolves #2042
2020-04-01 07:44:42 +10:00
Alex Maitland
c33be09a9d
Update pull_request_template.md
...
Additional formatting
2020-04-01 07:43:53 +10:00