Alex Maitland
db877d73ec
Core - IFrameHandler.OnFrameAttached add reattached param
...
Resolves #3816
2021-09-20 11:51:10 +10:00
Alex Maitland
0f2e213576
Upgrade to CEF 94.2.2+g0c2cc26+chromium-94.0.4606.50 / Chromium 94.0.4606.50
2021-09-20 11:40:45 +10:00
Alex Maitland
c5ba1ce430
Core - Add Cef.ParseUrl
...
Uses GURL to parse the Url (Google's URL parsing library)
2021-09-16 10:05:34 +10:00
Alex Maitland
d4a9e20a90
Upgrade to CEF 94.0.5+g506b164+chromium-94.0.4606.41 / Chromium 94.0.4606.41
2021-09-12 16:40:10 +10:00
Alex Maitland
738e90dbc2
Upgrade build version to 94.0.30
2021-09-10 15:50:55 +10:00
Alex Maitland
7f870db945
Core - FrameHandler track frame lifecycle
...
- FrameHandler now tracks frame creation and removal and reuses the IFrame reference
- CefFrameWrapper no longer throws exception if accessing Identifier for invalid frame, this appears
to be a valid use case now which makes sense otherwise we'd never be able to identify the frame.
Resolves #3588
2021-09-10 14:32:04 +10:00
Alex Maitland
4596d33f1e
BrowserSubprocess - TreatWarningAsError for debug builds
...
Statically cast size_t to int to remove warnings
2021-09-10 10:08:40 +10:00
Alex Maitland
915063894c
Migrate VC++ projects from GitLink to Source link
...
Forgot to migrate VC++ projects in previous commit
Resolves #3036
2021-09-07 12:14:02 +10:00
Alex Maitland
4cd8c11f49
Upgrade to CEF 94.0.3+g5c40d9f+chromium-94.0.4606.31 / Chromium 94.0.4606.31
2021-09-07 11:09:51 +10:00
Alex Maitland
68dc297e68
Core - IStringVisitor.Visit check for empty string
...
Speculative fix for #3779
2021-09-05 15:41:15 +10:00
Alex Maitland
dcfce1b5d4
Core - Update CefSettings.UserDataPath xml doc
...
Updated to reflect Widevide CDM changes
Issue #3767
2021-09-05 14:23:21 +10:00
Alex Maitland
9567d14ab2
Core - FrameHandler update object lifespan (again)
...
- Only OnFrameCreated provides a heap managed IFrame reference
this should be sufficient to keep track of frames using a
Dictionary in FrameHandler
- Xml doc updates
- Reorder IFrameHandler methods
Issue #3588
2021-09-03 20:41:48 +10:00
Alex Maitland
7937f78b6f
Core - OnFrameCreated/OnFrameAttached/OnFrameDetached allocate IFrame on managed heap
...
- Previously they were stack allocated and disposed when out of scope, they're now managed heap allocated
to allow for users to keep a long lived reference.
FrameHandler still needs to be updated to deal with Disposing of the references.
Follow up to #3757
Issue #3588
2021-09-03 20:21:22 +10:00
campersau
8d98043000
Core - Add IFrameHandler ( #3757 )
...
* Core - Add IFrameHandler/FrameHandler
* Update comments
2021-09-03 20:13:42 +10:00
Alex Maitland
c62563c52c
Upgrade to CEF CEF 93.1.11+g9e254fa+chromium-93.0.4577.63 / Chromium 93.0.4577.63
2021-09-03 11:42:32 +10:00
Alex Maitland
d350cad52a
Update to M93 ( #3781 )
...
* Upgrade to CEF 93.1.7+g9117d6a+chromium-93.0.4577.42 / Chromium 93.0.4577.42
- Core - Add basic ref counting implementation
IMPLEMENT_REFCOUNTING implementation uses atomic which
forces the VC++ compiler to compile as native which doesn't work for our managed ref classes.
- Use InterlockedCompareExchange for custom ref count reads
- Use InterlockedIncrement/InterlockedDecrement directly
- There's no memory barrier for HasOneRef/HasAtLeastOneRef as the read of a LONG should happen in one operation
on 32/64 bit architectures (at least that's my understanding at this point in time).
References:
https://github.com/chromiumembedded/cef/blob/4472/include/base/internal/cef_atomicops_x86_msvc.h#L125
https://github.com/chromiumembedded/cef/blob/4472/include/base/internal/cef_atomicops_arm64_msvc.h#L107
https://github.com/chromiumembedded/cef/blob/4472/include/base/cef_atomic_ref_count.h#L114
https://github.com/chromiumembedded/cef/blob/4472/include/cef_base.h#L91
- Remove Microsoft.Net.Compilers package from projects
Now that we require a min of VS2019 to build there's no need for a custom compiler package
- Start removing VS2015/VC++2015 references
- Remove RegisterWidevineCdm
This is a breaking change. CEF will now automatically download the Widevine CDM component
Resolves #3767
- RequestContext.LoadExtension now uses managed to code spawn on CEF UI Thread
Avoid having to use cef_callback.h which was causing problems for x86 builds
2021-09-03 10:51:18 +10:00
Jozef Izso
5d14f7c159
Add property Cef.IsShutdown to allow checks for the shutdown state of Cef runtime ( #3782 ) ( #3783 )
2021-08-31 07:15:55 +10:00
campersau
898b843d5d
DevTools - Add GetNextDevToolsMessageId to IBrowserHost ( #3774 )
2021-08-28 11:44:12 +10:00
Alex Maitland
e7c4c726ed
Core - Remove Cookie.Creation/LastAccessed setters
...
Resolves #3741
2021-08-25 10:48:58 +10:00
Alex Maitland
e00b1ce0bf
WPF - SendKeyEvent use VK_MENU instead of VK_RMENU || VK_LMENU
...
Follow up to https://github.com/cefsharp/CefSharp/pull/3769
2021-08-25 09:35:57 +10:00
spinalcord
b86aa00c41
WPF - Support ALT(Left) and ALT GR (Right) Key ( #3769 )
...
Allows also to use the left ALT key, which necessary to input symbols e.g. german keyboard layout.
2021-08-25 09:28:08 +10:00
Alex Maitland
ceda8fe390
Upgrade to CEF 92.0.25+gd15cfa8+chromium-92.0.4515.131 / Chromium 92.0.4515.131
2021-08-14 13:38:51 +10:00
Alex Maitland
a18637facd
C++/CLI - Replace NULL with nullptr
...
Issue #3636
2021-07-31 15:52:56 +10:00
Alex Maitland
b24cd8e2d7
C++/CLI - Replace OVERRIDE with override
...
OVERRIDE was a CEF macro which has been removed, use standard compliant override
Issue #3636
2021-07-31 15:52:55 +10:00
Alex Maitland
018aefcda0
Core - Throw exception if calling Cef.Initialize after calling Cef.Shutdown
2021-07-31 15:52:54 +10:00
campersau
b83bebb042
WPF - Simplify Support Shift + AltGr ( #3701 )
2021-07-24 15:46:44 +10:00
Alex Maitland
0a1a8855c5
Core - Add IBrowser.IsValid
...
- Add IBrowser.IsValid
- Update xml doc comments
- Remove ExecuteScriptAsync CanExecuteJavascriptInMainFrame check as CEF should now internally queue commands for ExecuteScript and LoadRequest
https://bitbucket.org/chromiumembedded/cef/issues/2421/add-onframecreated-onframedeleted#comment-60616371
Issue #3588
2021-07-22 13:27:36 +10:00
Alex Maitland
823a6582a9
Upgrade to CEF 92.0.16+g3492b1b+chromium-92.0.4515.107 / Chromium 92.0.4515.107
2021-07-22 13:11:02 +10:00
Alex Maitland
4ef267cabf
Upgrade to CEF 92.0.14+gadd734a+chromium-92.0.4515.81 / Chromium 92.0.4515.81
2021-07-06 11:30:44 +10:00
Alex Maitland
1d1b6f2e4d
Core - Xml Doc improvements/fixes
2021-07-05 11:38:55 +10:00
Alex Maitland
6e4ef2171c
Upgrade to CEF 92.0.9+g847fba0+chromium-92.0.4515.51 / Chromium 92.0.4515.51
2021-06-21 15:40:35 +10:00
ptrsky
136b928c0e
WPF - Add support for Shift+AltGr ( #3627 )
...
* WPF - Add support for Shift+AltGr
The handling of AltGr characters in CefBrowsterHostWrapper did not cover capital diacritic letters. This commit adds handling for the Shift + AltGr + character combination.
* WPF - Shift+AltGr review fixes
* Trigger rebuild
2021-06-21 15:15:58 +10:00
Alex Maitland
ac0ef70a67
Core - Update FileThreadTaskFactory thread
...
TID_FILE was removed in commit https://bitbucket.org/chromiumembedded/cef/commits/ff8f4a7217189645a98b8affc45641cafe232f73
Use TID_FILE_BACKGROUND
2021-06-18 15:29:38 +10:00
Alex Maitland
49db956bb8
Upgrade to CEF 92.0.8+gd7c630a+chromium-92.0.4515.51 / Chromium 92.0.4515.51
2021-06-18 15:16:14 +10:00
Alex Maitland
e231bc72d2
Revert "WPF/WinForms/OffScreen - Enable Chromium Site Isolation"
...
This reverts commit 9943333397 .
2021-06-05 09:33:44 +10:00
Alex Maitland
9943333397
WPF/WinForms/OffScreen - Enable Chromium Site Isolation
...
CEF has changed it's behaviour slightly to correctly support Chromium Site Isolation
Frame objects (including for the main frame) will now always change after
cross-origin navigation, and the old frame object will be invalidated.
See commit for additional details https://bitbucket.org/chromiumembedded/cef/commits/d9efaee9b9aa
Resolves #2967
2021-06-04 15:10:42 +10:00
Alex Maitland
0386220e06
JavascriptBinding - Add JavascriptBindingSettings.JavascriptBindingApiEnabled property ( #3571 )
...
- The Javascript methods that CefSharp provides in relation to JavaScript Binding are
created using a Global (window) Object. Settings this property allows you to disable
the creation of this object. Features like EvaluateScriptAsPromiseAsync that rely on
the creation of this object will no longer function.
2021-06-04 13:26:00 +10:00
Alex Maitland
a3f914018f
Upgrade to CEF 91.1.6+g8a752eb+chromium-91.0.4472.77 / Chromium 91.0.4472.77
2021-06-04 11:30:13 +10:00
Alex Maitland
d5702be495
Core - ClientAdapter::OnProcessMessageReceived add nullptr checks
...
Follow up to https://github.com/cefsharp/CefSharp/discussions/3573
2021-05-20 10:07:53 +10:00
Alex Maitland
1850f3e0af
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:34:11 +10:00
Alex Maitland
09652614bd
Rename CefSettings.ProductVersion to CefSettings.UserAgentProduct
...
This is a breaking change.
Resolves #3530
2021-04-30 11:39:09 +10:00
Alex Maitland
969b94c356
Upgrade to CEF 91.1.1+gddf5446+chromium-91.0.4472.19 / Chromium 91.0.4472.19
2021-04-30 11:27:14 +10:00
Alex Maitland
473004120c
Upgrade to CEF 90.5.3+gaf0e862+chromium-90.0.4430.72 / Chromium 90.0.4430.72
2021-04-17 11:18:45 +10:00
Alex Maitland
6ea5ac49c8
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-13 15:10:38 +10:00
Alex Maitland
0522530f13
Upgrade to CEF 90.4.2+gd4386da+chromium-90.0.4430.51 / Chromium 90.0.4430.51
2021-04-13 14:44:50 +10:00
Alex Maitland
94fb45766d
CefSettings - **EXPERIMENTAL** Add ChromeRuntime
...
https://bitbucket.org/chromiumembedded/cef/issues/2969/support-chrome-windows-with-cef-callbacks
2021-04-08 12:59:19 +10:00
Alex Maitland
c1f04db758
Upgrade to CEF 90.2.3+g6ad2964+chromium-90.0.4430.51 / Chromium 90.0.4430.51
2021-04-06 16:07:03 +10:00
Konstantin Preißer
462bc747bd
Add support for Windows ARM64 to CefSharp.NETCore packages ( #3359 )
...
* Add support for Windows ARM64 for the NETCore packages.
Note: .NET 5.0 or higher is required to build a WinForms/WPF application for win-arm64.
Fixes cefsharp/CefSharp#2944
* PR feedback: Remove "WIN32" define as it is already defined by minwindef.h.
* PR feedback: Switch the CefSharp.*.Example.netcore and CefSharp.Test.netcore projects from cef.redist to chromiumembeddedframework.runtime.
Note: These projects are excluded for build when platform is 'arm64', as otherwise the build fails as WinForms and WPF are not yet available for ARM64 in .NET 5.0.
* Follow-Up: Update path to CefSharp.Test.dll.
* PR feedback: Also use RuntimeInformation for the .NET Framework example projects.
* PR feedback:
- Remove copying of CefRedist files in CefSharp.AfterBuild.targets which is no longer needed.
- Update .vsconfig to include the VC ARM64 build tools.
2021-04-01 17:27:48 +10:00
Alex Maitland
223af40803
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-03-27 13:05:06 +10:00
Alex Maitland
69eaeb44ec
Upgrade to CEF 90.1.0+g35a360f+chromium-90.0.4430.30 / Chromium 90.0.4430.30
2021-03-27 11:24:10 +10:00