Commit Graph

489 Commits

Author SHA1 Message Date
amaitland 74d6ae1c0e Update version number to 75.0.110 2019-06-25 19:24:57 +10:00
amaitland 4e5aac413f Upgrade to CEF 75.0.11+gf50b3c2+chromium-75.0.3770.100 / Chromium 75.0.3770.100 2019-06-25 19:24:57 +10:00
amaitland c8a85d3fb5 Update version number to 75.0.30 2019-06-25 19:24:57 +10:00
amaitland fc37e82590 Upgrade to CEF 75.0.3+g699a922+chromium-75.0.3770.80 / Chromium 75.0.3770.80 2019-06-25 19:24:57 +10:00
amaitland 73a156fdc5 Initial version 75 upgrade and NetworkService changes
Compiles, that's about it at this point, there are major CEF breaking changes, and lots to be addressed.

Browser Process (main process)
- Removed IResourceHandlerFactory as it no longer fits with the structure that CEF provides
- New IResourceRequestHandler interface added, not plumbed in yet
- CefSettings - Add RootCachePath and ApplicationClientIdForFileScanning

BrowserSubprocess (render process)
- SendProcessMessage was moved from CefBrowser to CefFrame
- OnBrowserCreated added extraInfo param

The BrowserSubprocess changes for this upgrade should be complete
2019-06-25 19:24:57 +10:00
amaitland 04cff2bf39 Upgrade to CEF 75.0.1+gb5e74dd+chromium-75.0.3770.80 2019-06-25 19:24:57 +10:00
Alex Maitland fe98124c9b Async JavascriptBinding - Add support for returning Task (#2771)
* Async JavascriptBinding - Add support for returning Task

Remove Parallel Task execution code from MethodRunnerQueue
Add ParallelMethodRunnerQueue
  - For the new code path the Func is executed, if the Result is a generic Task we wait for it's completion
  - If the task is not generic then we return immediately

This is only enabled when CefSharpSettings.ConcurrentTaskExecution = true;
* MethodRunnerQueue - Display error message when method returns Task
* ParallelMethodRunnerQueue - Rename to ConcurrentMethodRunnerQueue
* MethodRunnerQueue - Improve formatting of error message when method returns Task
* Async JavascriptBinding Return Task - Add Basic xUnit Test

Very quick test, needs to be refined a little. The basics are working as expected.

* Add Binding Test Async Task Example to the WPF Example menu

* Async JSB Task - Add additional tests and improve error messaging
2019-06-08 17:21:49 +10:00
Alex Maitland 1a2c8ffcb6 Add CefSharp.PostMessage (#2799)
- JavascriptMessageReceived event added to ChromiumWebBrowser/IWebBrowser
- CefSharp.PostMessage and cefSharp.postMessage added to V8Context on creation for use in Javascript
- Add PostMessageTest.html
2019-06-03 21:08:03 +10:00
amaitland 302f5b2c83 WinForms Example - Improve Cef.DoMessageLoopWork examples
Change WinFormsBrowserProcessHandler to use a WinForms timer so it's Diposed when the Form is
switch it to using 60fps
2019-06-02 20:35:31 +10:00
amaitland 0ef6ec3619 Wpf Example - Add StandardTabControlWindow for testing of the built in TabControl 2019-05-21 16:39:29 +10:00
Alex Maitland 76e5a8d5c0 Add IAudioHandler (#2727)
* Feature Request - Add IAudioHandler

- For performance reasons we return NULL if no audiohandler is assigned
- No example is provided currently

Initial implementation for #2714
2019-05-03 12:54:40 +10:00
amaitland 335c884b08 Javascript Callback - Add additional tests
Add Basic tests, still need some more work.
Test changes added in #2748
2019-04-26 14:17:58 +10:00
amaitland 5b191c0fdf Upgrade version numbers to 74.1.130 2019-04-26 07:19:41 +10:00
amaitland 40117b0cdb Upgrade to CEF 74.1.13+g98f22d3+chromium-74.0.3729.108 / Chromium 74.0.3729.108 2019-04-25 22:18:54 +10:00
amaitland c5cb465b55 Upgrade to CEF 73.1.13+g6e3c989+chromium-73.0.3683.75 / Chromium 73.0.3683.75 2019-04-25 20:40:11 +10:00
michalkania d937f0daa9 [WPF.Example] Simple null check to prevent crash if we close a tab during a test. (#2731)
Related issue: https://github.com/cefsharp/CefSharp/issues/2722
2019-04-25 08:17:28 +10:00
amaitland b97f85cb2a Revert "Upgrade version numbers to 73.1.12.0"
This reverts commit bb9873d410.
2019-04-10 19:02:17 +10:00
amaitland 0b57e52615 Wpf.Example - Add Windows 10 Only VirtualKeyboard example
Change App.xaml StartupUri to TouchKeyboardWin10MainWindow.xaml

Imported WPF example code from https://github.com/Microsoft/WPF-Samples/tree/master/Input%20and%20Commands/TouchKeyboard/TouchKeyboardNotifier
2019-04-06 11:50:27 +10:00
João Neves 6692749728 WPF - Implement UpdateDragCursor (#2691)
* Close cefsharp subprocess if main process dies

* Implemented UpdateDragCursor

* Fixed braces position

* Added license header

* Fixed cursor flickering

* Added test

* Fixed build

* Fixed move cursor

* Fixed braces

* Simplified solution

* Fixed dropping Link effect

* Fixed encoding + Removed leftovers
2019-04-05 11:58:27 +10:00
amaitland a0d74dd63e IDisplayHandler - Add OnLoadingProgressChange
Resolves #2686
2019-03-27 22:05:17 +10:00
amaitland bb9873d410 Upgrade version numbers to 73.1.12.0
Issue #2706
2019-03-27 15:23:24 +10:00
amaitland 3520581309 Upgrade to CEF 73.1.12+gee4b49f+chromium-73.0.3683.75 / Chromium 73.0.3683.75 2019-03-27 14:00:42 +10:00
amaitland 8ffd29fc56 Upgrade version numbers to 73.0.0 2019-03-15 22:13:07 +10:00
amaitland 13970fe55c Upgrade to CEF 3.3683.1920.g9f41a27 / Chromium 73.0.3683.75 2019-03-15 20:58:06 +10:00
amaitland 7436d648a5 Upgrade to CEF 3.3626.1895.g7001d56 / Chromium 72.0.3626.121 2019-03-10 11:39:27 +10:00
amaitland 679250ee58 Upgrade version number to 72.0.0 2019-02-25 21:54:25 +10:00
amaitland 8e6cd06956 Upgrade to CEF 3.3626.1891.g52be333 / Chromium 72.0.3626.96 2019-02-25 20:57:44 +10:00
amaitland 6f6ca94ea9 WPF Example - Change to using DataUri (LoadHtml extension method) for showing errors instead of LoadString
- Add new IFrame.LoadHtml extension method.

Related `upstream` issue is https://bitbucket.org/chromiumembedded/cef/issues/2586/loadstring-results-in-terminating-renderer
2019-02-08 10:42:15 +10:00
amaitland 5588cc47c5 Upgrade to CEF 3.3578.1863.gbf8cff2 / Chromium 71.0.3578.98 2019-01-13 20:46:16 +10:00
amaitland 809a7859b6 Update version numbers to 71.0.0 2018-12-28 13:52:03 +10:00
amaitland c618dc155b RenderClientAdapter.h - GetViewRect must return a CefRect
CEF API Change see https://bitbucket.org/chromiumembedded/cef/commits/09afa3a843531a1768896bed3f64fb49ed81b525?at=3578
2018-12-16 10:48:52 +10:00
amaitland 8d3eb356a1 Upgrade to CEF 3.3578.1860.g36610bd / Chromium 71.0.3578.80 2018-12-16 05:13:32 +10:00
maloshuk 5622809d68 WPF - Change PixelFormat from Bgra32 to Pbgra32 to fix control transparency (#2589)
* WPF - set PixelFormats.Pbgra32 for all rendering methods #2127
2018-12-07 19:42:54 +10:00
amaitland 4f71295941 CefSharp.Example - Move example classes into handlers/javascriptbinding folders/namespaces
Basic code cleanup
2018-10-29 16:21:42 +10:00
amaitland ce93352345 Upgrade version numbers to 70.0.0 2018-10-28 10:53:26 +10:00
amaitland 4e50ad8a95 Upgrade to CEF 3.3538.1849.g458cc98 / Chromium 70.0.3538.77 2018-10-28 10:46:02 +10:00
amaitland 23b905dbda Upgrade to CEF 3.3497.1841.g7f37a0a / Chromium 69.0.3497.100 2018-10-23 12:58:37 +10:00
amaitland 8282482758 Upgrade to CEF 3.3497.1840.gcd24143 / Chromium 69.0.3497.100 2018-10-16 12:24:07 +10:00
amaitland 529a463613 Upgrade to CEF 3.3497.1834.g0a87d5f / Chromium 69.0.3497.100 2018-09-30 15:22:53 +10:00
amaitland 557b279093 Upgrade to CEF 3.3497.1833.g13f506f / Chromium 69.0.3497.100 2018-09-23 21:05:06 +10:00
Chris 30ee538ce0 Added EditorConfig (#2514) 2018-09-17 00:46:21 +02:00
amaitland 732f5851de Upgrade to CEF 3.3497.1829.g004ef91 / Chromium 69.0.3497.81 2018-09-16 13:01:45 +10:00
amaitland 99d5a6cdee Example projects - remove EnsureNuGetPackageBuildImports 2018-09-11 19:45:46 +10:00
Chris 422377de57 Fixed System.IO.FileNotFoundException during build (#2509)
* Added nuget package to fix System.IO.FileNotFoundException

* Revert "Added nuget package to fix System.IO.FileNotFoundException"

This reverts commit 8c8378c9a7.

* Upgraded Microsoft.Net.Compilers to V2.9 to resolve build errors in VS2017 V15.8.3
2018-09-11 19:43:11 +10:00
amaitland 6602977496 Upgrade version number to 69 2018-09-10 13:27:10 +10:00
amaitland b24286d591 Upgrade to CEF 3.3497.1827.ga4f7e36 / Chromium 69.0.3497.81 2018-09-10 12:13:39 +10:00
Chris bef5dd37c4 Maintenance - Fixed formatting, file encoding, and copyright year (#2504)
* Applied formatting

* Fixed file encoding + Updated copyright year

* Updated License

* Fixed more file encoding

* Copyright notice now shows the year the file was created
2018-09-10 10:41:13 +10:00
amaitland c7c98a4551 WPF Example - Readd EvaluateJavaScriptResult which was accidentally removed 2018-08-23 13:56:25 +10:00
Igor 0ede12e7ba Add OSR AccessiblityHandler. (#2480)
* Add AccessibilityHander.

Implement CefAccessibilityHandler. Add IAccessibilityHandler interface. Add AccessibilityHandler field to IWebBrowser.

* Pull request fixes.

Replaces tabs with spaces; move CefAccessibilityHandler implementation to RenderClientAdapter; add missing comments.

* Add CefValueWrapper.

Add ICefValue interface; pass ICefValue to IAccessibilityHandler.

* Pull request fixes.

Rename CefValue to Value and CefValueType to ValueType; add CefValueWrapper::GetObject() method; remove stub code in AccessibilityHandler; fix comment on IAccessibilityHandler.

* Pull request fixes.

Fix comments for IValue; remove redundant global namespace reference for CefValueType.
2018-08-16 19:33:02 +10:00
amaitland e5a7ed75ec Upgrade version numbers to 68.0.0 2018-08-07 19:15:00 +10:00