Alex Maitland
f8433de4e4
Test - CachePath should be child of RootCachePath
v90.6.50
2021-05-12 10:59:18 +10:00
Alex Maitland
9376a799eb
WPF - Allow overriding of IRenderWebBrowser.OnPopupSize and IRenderWebBrowser.OnPopupShow
2021-05-12 10:42:56 +10:00
Alex Maitland
e4c585609e
WinForms - Add ChromiumRenderWidgetHandleFinder/ChromiumWidgetNativeWindow
...
Used to hook the low level HWND and get message (e.g. mouse messages)
Updated the example
2021-05-11 20:39:14 +10:00
Alex Maitland
f81f2e1119
Core - Add Default Handler implementations
...
Inherit and override only the required methods rather than implement the whole interface
2021-05-11 20:25:21 +10:00
Alex Maitland
77c112a4ad
DevTools Client - Upgrade to 90.6.5+g7a604aa+chromium-90.0.4430.93 / Chromium 90.0.4430.93
2021-05-11 11:57:35 +10:00
Alex Maitland
0de0244a54
WinForms - Allow setting of Focus before underlying CEF browser has been initialized
2021-05-10 15:33:43 +10:00
Alex Maitland
530a14399c
WPF - Allow setting Focus before the underlying browser has been initialized.
...
- Remove hacks from the ViewModel as Focus can now be set on Go().
- Creating a new viewmodel also sets focus
Changing tabs doesn't set focus currently.
2021-05-10 15:15:26 +10:00
Alex Maitland
8683702803
Core - IJavascriptCallback need additional null check in ClientAdapter::GetBrowserWrapper
...
IJavascriptCallbacks that are finalized after the browser has been Disposed
but before the IBrowserAdapter.IsDisposed is set might end up calling ClientAdapter::GetBrowserWrapper
which attempts to access _popupBrowsers which has been set to null already.
2021-05-10 15:10:32 +10:00
Alex Maitland
41f0ef3151
Upgrade build version to 90.6.50
2021-05-08 14:17:23 +10:00
Alex Maitland
94ed263da7
Core - Update CefSettingsBase.ProductVersion
...
Change to use the user_agent_product property, as this is a breaking change and the `90-pre` release has already happened
wait we won't rename the property until version 91
https://bitbucket.org/chromiumembedded/cef/commits/02ae4597d8b6c895e46891a7596cf5fa1fe15df8#Linclude/internal/cef_types.hT309
Issue #3530
2021-05-08 14:16:17 +10:00
Alex Maitland
4a0fb32edd
Upgrade to CEF 90.6.5+g7a604aa+chromium-90.0.4430.93 / Chromium 90.0.4430.93
2021-05-08 14:01:51 +10:00
Alex Maitland
6efde818f6
Core - WebBrowserExtensions.LoadUrlWithPostData remove Obsolete attribute
...
No further reports of issues
#2705
2021-05-01 16:59:42 +10:00
Alex Maitland
82daa955a2
Net Core - ModuleInitializer add null check for Assembly.Location
...
In .NET 5.0 and later versions, for bundled assemblies, Assembly.Location is an empty string.
https://docs.microsoft.com/en-us/dotnet/api/system.reflection.assembly.location?view=net-5.0
Which results in Path.GetDirectoryName returning null, in that case use use AppContext.BaseDirectory
otherwise Path.Combine will throw an exception.
In .NET 5.0 and later versions, for bundled assemblies, AppContext.BaseDirectory returns the containing directory of the host executable.
https://docs.microsoft.com/en-us/dotnet/api/system.appcontext.basedirectory?view=net-5.0
Related discussion https://github.com/cefsharp/CefSharp/discussions/3533
2021-05-01 16:59:41 +10:00
Alex Maitland
691b099432
Core - ResourceHandler.GetMimeType remove Obsolete
...
There are cases where it's preferable to use the CefSharp specific version as
the Chromium implementation queries the registry. There are cases where
the CefSharp implementation differs from the Chromium implementation.
Remove Obsolete attribute, no current plans to remove the method.
2021-05-01 16:59:41 +10:00
Alex Maitland
f6a347abf6
Javascript Binding - CefSharp.BindObjectAsync() never raised the ResolveObject event
...
Resolves #3470
2021-04-28 13:45:58 +10:00
Alex Maitland
c630d77ef3
Test - Add Test to verify workaround for issue #3470
2021-04-28 13:36:50 +10:00
Alex Maitland
854f81e8ed
Upgrade to CEF 90.5.7+gcd9342c+chromium-90.0.4430.85 / Chromium 90.0.4430.85
v90.5.70-pre
2021-04-24 20:05:30 +10:00
Alex Maitland
b3abf226e0
Net Core - Update Ref Assembly
2021-04-23 17:19:20 +10:00
Alex Maitland
58369fad33
Core - Remove IContextMenuParams.IsPepperMenu
...
This is a breaking change
Resolves #3460
2021-04-23 17:14:53 +10:00
Alex Maitland
249c75a575
Core - Remove IBrowserSettings.WebSecurity
...
Web Security can be disabled via the "disable-web-security" command-line switch.
This is a breaking change.
Resolves #3312
2021-04-23 17:08:35 +10:00
Alex Maitland
38215a3230
Core - Remove ICookieManager.SetSupportedSchemes
...
- The method was removed upstream.
- New properties have been added to CefSettings and RequestContextSettings
**Breaking Change**
Resolves https://github.com/cefsharp/CefSharp/issues/3497
2021-04-23 17:00:21 +10:00
Alex Maitland
70282dd2c1
Upgrade to CEF 90.5.3+gaf0e862+chromium-90.0.4430.72 / Chromium 90.0.4430.72
2021-04-23 16:59:59 +10:00
Alex Maitland
bd6351fa1c
Core - Update DependencyChecker as CEF has changed pak files
...
cef.pak,
cef_100_percent.pak,
cef_200_percent.pak,
cef_extensions.pak,
devtools_resources.pak have been replaced by
chrome_100_percent.pak,
chrome_200_percent.pak,
resources.pak
https://github.com/cefsharp/CefSharp/issues/3509#issuecomment-821756091
2021-04-23 16:36:10 +10:00
Alex Maitland
3b4f3c1432
Core - Make ModuleInitializerAttribute internal
...
Issue #3519
2021-04-23 16:36:10 +10:00
Alex Maitland
22ef1bdc39
Core - Add IRequestContext.SetProxyAsync
...
Can be called on any Thread to change the proxy at runtime
2021-04-23 16:36:10 +10:00
Alex Maitland
5def74a1f0
Example - Add CefSettings.ChromeRuntime (commented out)
2021-04-23 16:36:09 +10:00
Alex Maitland
0e00e68590
Update README.md/bug_report.md/CONTRIBUTING.md
2021-04-23 16:36:09 +10:00
campersau
fb54f103c4
DevTools Client - Serialize lists of DevToolsDomainEntityBase ( #3487 )
2021-04-23 16:35:55 +10:00
campersau
5265bb9091
Add ChromeRuntime to RefAssembly CefSharp.Core.Runtime.netcore ( #3486 )
2021-04-23 16:35:55 +10:00
Dominik Palo
4ebe691bb8
Update the CefSharpSettings.WcfEnabled summary ( #3483 )
2021-04-23 16:35:54 +10:00
Alex Maitland
368c331841
CefSettings - **EXPERIMENTAL** Add ChromeRuntime
...
https://bitbucket.org/chromiumembedded/cef/issues/2969/support-chrome-windows-with-cef-callbacks
2021-04-23 16:35:54 +10:00
Alex Maitland
5c46aa7acb
Nuget - Exclude CefSharp.Core.Runtime.dll from bin when CefSharpTargetDir and targeting x64
...
See comments for details
Fix formatting
Issue #3319
2021-04-08 11:27:40 +10:00
Alex Maitland
b75cec752c
Core - Add IRequestContext.IsDisposed
2021-04-06 16:39:53 +10:00
Alex Maitland
5bf6107963
Core - Add RequestContextExtensions.RegisterOwinSchemeHandlerFactory
v89.0.170
2021-04-05 14:37:39 +10:00
Alex Maitland
a257cd5828
Core - Add OwinResourceHandler and OwinSchemeHandlerFactory
...
Very basic implementation ported from https://github.com/amaitland/CefSharp.Owin
- Currently no multi part post support
- No support for cancellation token
2021-04-05 14:31:35 +10:00
Alex Maitland
6fa25ab9db
Test - Improve reliability of JavaScriptObjectRepositoryFacts.CanRegisterJavascriptObjectBindWhenNamespaceIsNull
...
- JavascriptObjectRepository generates object ids using a static counter, we need to get the object Id for this
test to be reliable, using an Object Id of 1 will fail if the test order isn't in a very specific order
2021-04-05 13:38:02 +10:00
Alex Maitland
047bf9198b
DevTools Client - Update to CHROMIUM 89.0.4389.114
2021-04-05 10:55:04 +10:00
Alex Maitland
1599bfa9cd
Javascript Binding - Fix failing .Net Core Test case
...
- Add condition to calling Register()
- Add license disclaimer
Follow up to #3467
2021-04-05 10:54:22 +10:00
pedoc
1ff25441ea
Javascript Binding - Allow binding to classes in the global namespace ( #3467 )
...
* fix IsComplexType NullReferenceException
Sometimes, the registered Javascript object does not have a namespace, at this time this function will throw a ```NullReferenceException```.
* add unit test for IsComplexType
* Simplify and remove useless code
* Update CefSharp/Internals/JavascriptObjectRepository.cs
Co-authored-by: campersau <buchholz.bastian@googlemail.com >
Co-authored-by: Alex Maitland <amaitland@users.noreply.github.com >
Co-authored-by: campersau <buchholz.bastian@googlemail.com >
2021-04-05 10:31:15 +10:00
Alex Maitland
18790d1ca9
Update build version numbers to 89.0.170
2021-04-05 10:30:48 +10:00
Alex Maitland
6efd867720
Upgrade to CEF 89.0.17+ge7bbb1d+chromium-89.0.4389.114 / Chromium 89.0.4389.114
2021-04-05 10:06:41 +10:00
Alex Maitland
6ced76a461
WPF - Pass 0 to SendKeyEvent as lparam instead of modifiers
...
Resolves #3462
2021-04-01 17:16:28 +10:00
Alex Maitland
f84852a0ff
Net Core - Assembly.GetEntryAssembly can return null when loaded from an unmanaged application
...
- Add null check and use currently assembly location to resolve libcef.dll
The GetEntryAssembly method can return null when a managed assembly has been loaded from an unmanaged application.
https://docs.microsoft.com/en-us/dotnet/api/system.reflection.assembly.getentryassembly?view=net-5.0
2021-04-01 16:54:52 +10:00
Alex Maitland
1692c1b9d1
Net Core - DependencyChecker fix AnyCPU validation for CefSharp.Core.Runtime.dll
...
Resolves #3388
2021-03-27 15:17:01 +10:00
Alex Maitland
fc2ce2608d
Upgrade to CEF 89.0.14+gb1b52fe+chromium-89.0.4389.90 / Chromium 89.0.4389.90
v89.0.140-pre
2021-03-25 10:40:22 +10:00
Alex Maitland
c9ad3645ed
Revert "ClickOnce - Load CefSharp.dll from parent directory if not in current directory"
...
This reverts commit d3a2da4be3 .
This reverts commit aee97e650d .
Change needs more work/testing so reverting for now in preparation for the 89-pre release
2021-03-25 10:22:47 +10:00
Alex Maitland
d3a2da4be3
ClickOnce - Load CefSharp.dll from parent directory if not in current directory
...
Still not loading, move the EnableHighDPISupport into internal method
Follow up to https://github.com/cefsharp/CefSharp/commit/aee97e650dd1d3099e17cf84930bc016b84e6c4c
2021-03-24 20:30:34 +10:00
Alex Maitland
8713e74075
Nuget - TargetPlatform Map Win32 to x86 (VC++ projects)
2021-03-23 15:18:39 +10:00
Alex Maitland
d01a27e244
Net Core - Update RefAssemblty (Add Cef.GetMinLogLevel)
2021-03-23 15:14:47 +10:00
Alex Maitland
fb5a6a00d8
Core - DependencyChecker now supports AnyCPU
...
- Remove the .Net Core specific implementation, was easier to unify them than first though
- Split checking for dlls into different folders to support AnyCPU
2021-03-23 15:14:46 +10:00