amaitland
02a8ea70cd
Upgrade to CEF 85.3.12+g3e94ebf+chromium-85.0.4183.121 / Chromium 85.0.4183.121
2020-10-04 14:45:58 +10:00
amaitland
0dcd86026e
Net Core - Split netcore vcxproj packages.config files
...
To make updating easier the netcore vcxproj files have their own packages.config files now
2020-10-04 14:32:06 +10:00
amaitland
b4c2e359a6
Core - Improve IRequestContext.SetProxy extension Method
...
- Add tests
- Add better validation
Issue #3235
2020-10-02 17:13:49 +10:00
amaitland
b0ee2f2bda
Core - Add Cef.Initialize(settings, performDependencyCheck) overload
...
Added based on feedback from https://github.com/cefsharp/Questions-and-Support/issues/38
2020-10-02 10:25:25 +10:00
amaitland
02d51747f5
Core - Update CefErrorCode xml doc
...
Update BlockedByAdministrator xml doc
https://source.chromium.org/chromium/chromium/src/+/refs/tags/85.0.4183.102:net/base/net_error_list.h;l=93
Replaces #3245
2020-10-02 10:25:25 +10:00
amaitland
6b56bfd552
Core - Add IRequestContext.SetProxy
...
Add helper method for setting proxy on RequestContext
Issue #3235
2020-10-02 10:25:24 +10:00
amaitland
e149cabe07
Example - Move RequestContextHandler into CefSharp.Example
...
Was previously only in WPF project, move into the common CefSharp.Example
as there was nothing WPF specific out the class.
2020-10-02 10:25:23 +10:00
Jozef Izso
23fd91b353
Fix typos in Cef documentation ( #3237 )
2020-09-25 08:29:23 +10:00
Alex Maitland
78e32a3b9f
Enhancement - Add DevToolsClient ( #3229 )
...
* Core - Add DevToolsClient
Issue #3165
* DevTools Client - Add Network domain class
- Add hand written class to get a better sense of how the code should be structured.
- Improve exception handling
* Devtools - First draft of devtools protocol methods (generated)
Not complete yet
* Devtools - Simple method execution working
* DevTools - Add .Net Style cased property names to response objects
- Use internal field and datacontract attributes
* DevTools - Improve mapping
* DevTools - Strongly typed enums
* DevTools Client - Generated from active browser instance (M84)
* Devtools Client - Extract IDevToolsClient interface for testability
Improve xml doc comments
* DevTools Client - Improve error handling
* DevTools Client - Improve enum conversion
* Revert to older c# syntax
* DevTools Client - Fix failing tests
* Devtools Client - Add SetCookie Tests
* DevTools Client - Add Capture SyncContext by default
- Add option to capture the SyncContext
- Add option to provide custom SyncContext (can just pass in UI SyncContext and all continuations will happen there).
- Fix bug in ExecuteDevToolsMethodAsync sending the command twice when exeucted on the CEF UI thread
* Devtools Client - Add missing file reference
The problem with developing with the .Net Core project where files are automatically included is you
forget to include them in the regular csproj file.
* Devtools Client - Add CanCanEmulate Test case
* DevTools Client - Add AddScriptToEvaluateOnNewDocumentAsync test
* DevTools Client - OnDevToolsEvent only parse data if event handler != null
* DevTools Client - GetDevToolsClient remove ThrowExceptionIfDisposed/ThrowExceptionIfBrowserNotInitialized calls
Those methods were removed as the GetBrowser call handles the checks for us.
* DevTools Client - Improve error handling
* DevTools Client - Update xml doc comments
* DevTools Client - Add validation method (partial)
Add ability to manually add validation logic
* DevTools Client - Comment out failing test
Was working when targeting M84, now with M85 it fails.
The mapping appears to be correct, will need to investigate further
* OffScreen Example - Remove test code
2020-09-21 19:32:25 +10:00
amaitland
ac28701b42
Update build version number to 85.3.6
2020-09-18 17:50:15 +10:00
amaitland
4f74f60787
Core - Add CefSharp.RenderProcessId javascript property
...
Two new properties have been added (both have the same value)
- CefSharp.RenderProcessId
- cefSharp.renderProcessId
Use which ever suites your naming style
Resolves #2984
2020-09-18 13:56:07 +10:00
amaitland
71773424dc
Wpf/WinForms/OffScreen - Standardize InternalIsBrowserInitialized
...
- Add InternalIsBrowserInitialized to partial class
- Move ThrowExceptionIfDisposed/ThrowExceptionIfBrowserNotInitialized to partial class
- Remove checks from DevToolsExtensions.ExecuteDevToolsMethodAsync as the checks were already in GetBrowser
In WPF it's no longer necessary to have a custom implementation, will leave the Dependency property
(won't action #3033 at this point in time)
2020-09-18 13:32:22 +10:00
amaitland
124490ed20
Core - Legacy Javascript Binding Integration Test
...
Post QUnitExecutionComplete on test completion
#2977
2020-09-16 20:31:06 +10:00
amaitland
05665405f4
Core - Legacy Javascript Binding Integration Test
...
Add integration test (only in Net Full, not Net Core currently)
#2977
2020-09-16 19:58:40 +10:00
amaitland
3ccb0f8b10
Core - Reduce ChromiumWebBrowser Code Duplication
...
- Move events to partial class (where possible)
- Move other explicit interface implementation methods
Issue #3082
2020-09-16 19:44:36 +10:00
amaitland
6d62d188b7
Core - Reduce Code Duplication
...
Move Handler property decelerations to partial class
Issue #3082
2020-09-16 17:06:57 +10:00
amaitland
4678bbc932
Net Core - Add header to CefSharp.BrowserSubprocess.Core.netcore.vcxproj
...
Follow up to https://github.com/cefsharp/CefSharp/commit/53f15f22ebaf1c32fe69f14e676c3485fbab00c9
2020-09-16 16:17:30 +10:00
amaitland
2a1dd3fc88
Core - Update Generated Ref Assembly source
...
Follow up to https://github.com/cefsharp/CefSharp/commit/53f15f22ebaf1c32fe69f14e676c3485fbab00c9
2020-09-16 16:16:47 +10:00
amaitland
3230444045
WPF Example - Add Chrome internal Urls menu
...
- Add new menu for testing/debugging purposes
2020-09-16 14:32:30 +10:00
amaitland
c56098dc7d
Core - HtmlString add charSet support
...
Resolves #2981
2020-09-16 14:31:54 +10:00
amaitland
53f15f22eb
Upgrade to CEF 85.3.6+gacfac2f+chromium-85.0.4183.102 / Chromium 85.0.4183.102
...
- Remove CefSettings.RegisterExtension (#3184 )
- Add IRenderProcessHandler.OnWebKitInitialized
- Add Cef.RegisterExtension (Browser SubProcess specific implementation)
Resolves #3184
2020-09-16 13:49:37 +10:00
Alex Maitland
d6e79e9b38
Update CONTRIBUTING.md
...
WPF Add disable-gpu-compositing to list of command line args as it's currently disabled by default
2020-09-05 10:36:27 +10:00
Gilberto Stankiewicz
b0b5103100
Fix code analysis C4018 warnings ( #3223 )
...
* Replace `auto`s with `size_t`s to reduce:
```
Severity Code Description Project File Line Suppression State
Warning C4018 '<': signed/unsigned mismatch CefSharp.BrowserSubprocess.Core c:\repos\cefsharp\cefsharp.browsersubprocess.core\serialization\jsobjectsserialization.cpp 71
```
* Fix templates
2020-08-26 19:13:13 +10:00
amaitland
f55707d9ff
build.netcore.ps1 - Update to version 84.4.1
2020-08-26 16:31:24 +10:00
amaitland
498a5dc1e2
README.md - Release 84.4.10
2020-08-26 16:31:23 +10:00
Alex Maitland
818e977094
Update bug_report.md
...
Update CEF Sample application links
2020-08-26 15:24:19 +10:00
amaitland
3823057d77
Update build version to 84.4.10
2020-08-26 14:56:56 +10:00
amaitland
89e95ef3be
Core - Add CompositionUnderline.Style (IME)
...
https://source.chromium.org/chromium/chromium/src/+/master:ui/base/ime/win/imm32_manager.cc;l=82;drc=c70af83bc44f6829277cdc3621e7015d6e0d7530;bpv=1;bpt=1?q=GCS_COMPCLAUSE&ss=chromium%2Fchromium%2Fsrc
Resolves #3107
2020-08-26 14:55:51 +10:00
amaitland
8d1afada20
WinForms - OnHandleDestroyed directly references CefSharp.Core crashing Designer
...
Designer attempts to load CefSharp.Core.dll which in fails, we avoid that when designMode is true
Resolves #3219
2020-08-26 14:55:51 +10:00
amaitland
98694ea1d8
Net Core - CefSharp.Common.NETCore.nuspec use chromiumembeddedframework.runtime
...
Still haven't managed to get the nuget runtime.json working, seeing if the naming convention of
packages matters
Issue #3197
2020-08-26 13:50:42 +10:00
amaitland
1e141d0479
Upgrade to CEF 84.4.1+gfdc7504+chromium-84.0.4147.105 / Chromium 84.0.4147.105
2020-08-26 13:50:41 +10:00
Alex Maitland
abc0ef0224
Update CONTRIBUTING.md
...
Update cefclient links to 84.4.1
2020-08-19 13:39:30 +10:00
amaitland
d62761e9cf
Net Core - Build script msbuild verbosity quiet
...
Build output is too large currently, reduce to quiet for build script
2020-08-19 09:49:02 +10:00
campersau
1f4f37bfb6
Net Core - Use msbuild directly for restore ( #3217 )
2020-08-18 21:57:18 +10:00
amaitland
74c23b1dfe
Test - Revert c# Discard
...
Older compiler doesn't like it
Will look at rewriting test later
2020-08-18 19:20:44 +10:00
amaitland
0eea5c7a9a
Net Core - build.netcore.ps1 compile x64 before x86
...
The ref assembly relies on the x64 build currently.
https://github.com/cefsharp/CefSharp/issues/3197#issuecomment-672719684
Issue #3197
2020-08-18 18:10:31 +10:00
amaitland
f11785e44b
Core - Fix some compiler warnings
2020-08-18 18:08:09 +10:00
amaitland
74012ffe0c
Net Core - Add powershell build script
...
Runs locally, let's see if it runs on appveyor
Issue #3197
2020-08-18 17:40:22 +10:00
amaitland
b1ff27c1ba
Net Core - Core RefAssembly Change Sdk Target
...
Use Project Sdk="Microsoft.NET.Sdk" to avoid warning that neither UseWPF or UseWindowsForms is set
2020-08-18 17:24:58 +10:00
amaitland
42239074bf
Core - Update IBrowserHost.Find xml doc
...
Resolves #3210
2020-08-16 14:23:31 +10:00
amaitland
7640b65b97
Net Core - Add Assembly.manifest
...
Add assembly manifest for VC++ projects to prevent loading issues of ijwhost.dll
https://github.com/dotnet/runtime/issues/38231
https://github.com/dotnet/runtime/issues/37972#issuecomment-647726082
Not sure exactly how to test this works as expected
Reference
https://docs.microsoft.com/en-us/windows/win32/sbscs/assembly-manifests
#3197
2020-08-14 21:29:29 +10:00
campersau
1acd28b987
Net Core - AppVeyor run tests and build x86/x64 ( #3214 )
2020-08-14 21:18:24 +10:00
amaitland
37350783f2
Net Core - AppVeyor Release Build
...
Set configuration: Release
Issue #3197
2020-08-14 20:22:31 +10:00
amaitland
11a905e1c9
Net Core - AppVeyor nupack
...
Fix version number passed to nuget pack
Issue #3197
2020-08-14 20:11:02 +10:00
amaitland
54e780beed
Net Core - AppVeyor nupack
...
Fix indentation
Issue #3197
2020-08-14 19:30:58 +10:00
amaitland
60f756d020
Net Core - AppVeyor nupack
...
First attempt at manually creating the packages in after_build
Issue #3197
2020-08-14 19:26:31 +10:00
amaitland
6045c68f99
Net Core - AppVeyor before_build
...
before_build is interpreting our commands as one, split them
Issue #3197
2020-08-14 18:40:33 +10:00
amaitland
54b60a5310
Net Core - AppVeyor nuget restore
...
dotnet restore and msbuild doesn't like the vcxproj files
use nuget restore directly for the two vcxprojs
Issue #3197
2020-08-14 18:14:25 +10:00
amaitland
5e69d57144
Net Core - AppVeyor msbuild restore
...
dotnet restore doesn't like the vcxproj files, trying msbuild restore instead
Issue #3197
2020-08-14 17:54:17 +10:00
amaitland
be86a5b166
Net Core - AppVeyor dotnet restore before build
...
Issue #3197
2020-08-14 16:59:16 +10:00