- Add OffScreen project to internals visible to list for CefSharp.Core
- Add BrowserSettings.FrameworkCreated property which can only be set through an internal constructor
- Dispose of BrowserSettings immediately after call to CreateBrowser if created by CefSharp framework
- managedCefBrowserAdapter::CreateBrowser throw exception if browserSettings already disposed
Resolves#2643
* Core - BrowserSettings: Fixed memory leak
* Core - BrowserSettings: Only delete if we created the instance
* Core - BrowserSettings: Always set pointer to null
* Update BrowserSettings.h
* build.ps1 - Write version to CefSharp.shfbproj
* build.ps1 - Specify UTF-8 as encoding when reading
* build.ps1 - Save files as UTF-8 without BOM
* build.ps1 - Update copyright year on compiled files
* build.ps1 - Update version in appveyor.yml
* Removed copyright year from the nuspec files
* Updated editorconfig for ps1 files
* Apply changes from build.ps1
* LICENSE - Removed year
- Changed to expose only the public interface (this is better for scenarios where the designer attempts to query the property and subsequently attempts to load libcef and fails).
- Make IBrowserSettings implement IDisposable
- ManagedCefBrowserAdapter::CreateBrowser now throws exception if browserSettings param is null
The WPF version won't actually throw an exception, just standardised it's code so they're both the same.
Issue #2638
Previously you had to used a fixed type, now the type checking is more flexible.
Move the Dictionary check to before the collection check as a dictionary is technically a collection
Resolves#2625
For the x86 version we define and undefine CEF_INCLUDE_BASE_INTERNAL_CEF_BIND_INTERNAL_WIN_H_
as the /clr compliation option attempts to be helpful and convers all the __fastcall versions
to __stdcall which already exist, so we just use the standard calling convention and ignore
the optimised ones. The original error is
warning C4561: '__fastcall' incompatible with the '/clr' option: converting to '__stdcall'
(compiling source file RequestContext.cpp)
* Core - Add IApp interface and DefaultApp implementation
Move code from Cef.Initialize into CefSharpApp
Working towards #2139
* CefSharpApp.h - Allow CefCustomScheme->SchemeHandlerFactory to be null
If cefCustomScheme->SchemeHandlerFactory is null then we no longer attempt to call CefRegisterSchemeHandlerFactory
You can then choose which RequestContext you wish to register your handler for, no longer forcing you to register
in the global context
Remove null checks in OnScheduleMessagePumpWork as we're throwing an exception if they're null when the CefApp is created
As IsInitialized is set when CefInitialize returns and it appears to be possible the OnContextInitialized is called
before it returns then this exception wasn't going to work.
Testing with Cef.GetGlobalRequestContext and Cef.GetGlobalCookieManager and they both return null if called before Cef.Initialize
So it shouldn't be possible to actually access the cookie manager/RequestContext. Improved the xml doc
Resolves#2600
* Add Chromium Extension Support
Add IRequestContext.LoadExtension
Add IExtensionHandler
Add IExtension
Add example (import from cefclient) - was added to CefSharp.WinForms.Example projct
Add RequestContextExtensions - to make loading an extension slightly easier