Commit Graph

22 Commits

Author SHA1 Message Date
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 8a367fbdc4 Refactor CefSharp.Core into CefSharp.Core.Runtime (#3311)
* Net Core - Rename CefSharp.Core.dll to CefSharp.Core.Runtime.dll

Partial rename, only Net Core, folder not renamed

* Net Core - Rename CefSharp.Core.RefAssembly to CefSharp.Core.netcore

Remove GenApi

* Core - Rename CefDragDataWrapper to DragData

Move into CefSharp.Core namespace

* WinForms/WPF/OffScreen - Migrate from GitLink command line to Nuget package

* Net Core - Refactor to have CefSharp.Core.dll contain only public Api

* Net Core - Remove CefSharp.Core.RefAssembly

* Net Core - Change CefSharp.Core.netcore output folder

* Net Core - Restructure nuget packages

* Net Core - Add Cefsharp.Core.Runtime.RefAssembly

* Net Core - Hide CLI/C++ classes from intellisense

Make sure users don't attempt to load them directly

* Rename CefSharp.Core to CefSharp.Core.Runtime

* Core - Restructure Net 4.5.2 packages to use CefSharp.Core.dll anycpu variant

Attempt to load CefSharp.Core.Runtime at runtime rather than having to use msbuild to copy the correct version

* Rename CefSharp.Core.netcore to CefSharp.Core

* WPF/WinForms/OffScreen - Change from x86/64 to AnyCPU

As they are all managed assemblies they can target AnyCPU.
Includes CefSharp.dll

* Convert RequestContextBuilder from C++ to C#

Now part of the CefSharp.Core PublicApi

* Update version number to 87.1.11

* Migrate more of the public Api to C#

* Net Core - Basic restructure complete

* Net Core - ModuleInitializer (Doesn't work yet)

* Remove direct references to BrowserSettings

* Net Core - ModuleInitializer load CefShar.Core.Runtime.dl

* Net Core - Load libcef.dll via CLR Module initializer

If no RID is specified then we can load libcef.dll using the module initializer

* Add version to CefSharp.Core

* Remove dependency on CefSharp.Core.Runtime
Rewrite common targets

* AnyCPU app.config transform

Improve AnyCPU support

* Improve Net Core 3 support
Only delete CefSharp.Core.Runtime.dll when AnyCPU

* Nuget - Add CefSharp.Core.Runtime reference when TargetFramework = NetCore

* Fix Typos

Based on #3306

* Net Core - Rename CefSharp.Core.Runtime RefAssembly source file

* Net Full - Generate CefSharp.Core.Runtime Ref Assembly

For now the powershell build script generates the .cs file based on a x86 release build.ps1
It's not possible to directly install GenApi as it requires a Sdk style project

* Net Core - Old packages copy files to required folders

* Test - Install newer .Net Compiler and set Lang Version to 7.3

* Net Core - Exclude Net 452 Runtime generated reference source

* Core - Add Refactoring TODO

* Ref Assembly - Generate source as part of build

- Move ref assembly source generate into GenerateRefAssemblySource.ps1
- Call before project build

Runs locally, see if Appveyor has a problem with the powershell script execution

* Core - Add more factory methods to create instances of managed wrappers

* Net Core - Make Initialzier properties internal

Not quite sure what the public API should look like as yet, so making internal for now.
2020-12-16 10:47:34 +10:00
Gilberto Stankiewicz 29e6a6d03a Fix a typo in an error message (#3087) 2020-03-26 08:37:02 +10:00
amaitland b5993fb31e ICookieManager - Update xml doc
Updated to reflect upstream changes see https://magpcss.org/ceforum/apidocs3/projects/(default)/CefCookieManager.html

Resolves #2855
2019-08-14 07:44:03 +10:00
amaitland 581fa04ef7 ICookieManager - Update xml doc (methods are executed on UI thread now) 2019-07-23 20:45:24 +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
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 9fc2f33ea8 Xml Doc improvements
Fix some invalid markup
Move some unmanaged constructors and implicit conversion to internal
2018-02-09 13:41:55 +10:00
amaitland 4d4607f24a ICookieManager - Improve xmldoc wording around how methods are executed.
Most methods are executed in an async fashion with a callback that notifies of completion.
Set ICookieManager.DeleteCookies params to null by default (they're optional)
2018-02-08 10:46:52 +10:00
amaitland e88baebc17 Minor API Cleanup
- Move ITaskScheduler and InternalWebBrowserExtensions into Internals folder (not for public use)
- Improve some of the API xml doc
2018-02-05 14:28:17 +10:00
amaitland b35ed7cdc0 Fix ICookieManager xml doc
It's not necessary to delete cookies on IO thread any more (it was long ago)
2017-12-20 09:46:53 +10:00
Chris cd934267c6 Updated copyright year and made sure it used same format everywhere (#1966) 2017-03-06 08:44:37 +10:00
amaitland 6e443ca091 CookieManager Rewrite - remove all the async wrappers and expose the underlying CEF API
Remove CookieAsyncWrapper as it's no longer required to perform the operations directly on the CEF IO thread.
Async extension methods will be added to maintain existing functionality
2017-02-14 11:40:12 +10:00
amaitland feff68895f Add Visit cookie async methods 2016-05-31 18:46:45 +10:00
amaitland bae3c28e92 Update copyright to 2016 2016-01-11 14:11:30 +10:00
amaitland b739c155f9 Make ICookieManager.FlushStore Async
Resolves #1276
2015-10-12 08:47:38 +10:00
amaitland 9a7ca5eda0 Rename IComplectionHandler to ICompletionCallback (matches CefComplectionCallback naming)
Should be the final breaking changes before the 43.0.0 release
2015-09-18 17:21:30 +10:00
David Serfozo 47cdbf92a4 ICookieManager.DeleteCookies and SetCookie made async 2015-07-30 09:22:21 +02:00
David Serfozo f7200064f3 added missing license headers 2015-07-29 22:56:46 +02:00
David Serfozo abd1f9a89e added missing method in ICookieManager and removed now unnecessary methods from Cef.h 2015-07-29 22:55:35 +02:00
David Serfozo 648ec6888a added ICookieManager implementation 2015-07-29 22:47:10 +02:00
David Serfozo c5fcd7c524 added ICookieManager interface 2015-07-29 22:14:13 +02:00