diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj index 8f3874cf9..e5ba79a68 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj index f8217dcc5..aaa720e2b 100644 --- a/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj +++ b/CefSharp.BrowserSubprocess.Core/CefSharp.BrowserSubprocess.Core.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/Resource.rc b/CefSharp.BrowserSubprocess.Core/Resource.rc index 59da29580..3fe4ca3f6 100644 --- a/CefSharp.BrowserSubprocess.Core/Resource.rc +++ b/CefSharp.BrowserSubprocess.Core/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 144,0,250 - PRODUCTVERSION 144,0,250 + FILEVERSION 144,0,260 + PRODUCTVERSION 144,0,260 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.BrowserSubprocess.Core" - VALUE "FileVersion", "144.0.250" + VALUE "FileVersion", "144.0.260" VALUE "LegalCopyright", "Copyright © 2026 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "144.0.250" + VALUE "ProductVersion", "144.0.260" END END BLOCK "VarFileInfo" diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config index 4620155c3..17921327b 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config index 8f02d4f23..e8c2e53d1 100644 --- a/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config +++ b/CefSharp.BrowserSubprocess.Core/packages.CefSharp.BrowserSubprocess.Core.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.BrowserSubprocess/app.manifest b/CefSharp.BrowserSubprocess/app.manifest index 802ed8fbe..1b46c2c94 100644 --- a/CefSharp.BrowserSubprocess/app.manifest +++ b/CefSharp.BrowserSubprocess/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Core.Runtime.RefAssembly/CefSharp.Core.Runtime.netcore.cs b/CefSharp.Core.Runtime.RefAssembly/CefSharp.Core.Runtime.netcore.cs index f9fffdfab..c9be22523 100644 --- a/CefSharp.Core.Runtime.RefAssembly/CefSharp.Core.Runtime.netcore.cs +++ b/CefSharp.Core.Runtime.RefAssembly/CefSharp.Core.Runtime.netcore.cs @@ -269,6 +269,7 @@ public RequestContext(CefSharp.IRequestContextHandler requestContextHandler) { } public virtual bool IsGlobal { get { throw null; } } public virtual bool CanSetPreference(string name) { throw null; } public virtual void ClearCertificateExceptions(CefSharp.ICompletionCallback callback) { } + public virtual void ClearHttpCache(CefSharp.ICompletionCallback callback) { } public virtual void ClearHttpAuthCredentials(CefSharp.ICompletionCallback callback) { } public virtual bool ClearSchemeHandlerFactories() { throw null; } public virtual void CloseAllConnections(CefSharp.ICompletionCallback callback) { } diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj index 99d166060..f7c42763a 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.netcore.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj index 1a0d87346..dab5e9361 100644 --- a/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj +++ b/CefSharp.Core.Runtime/CefSharp.Core.Runtime.vcxproj @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/Internals/TypeConversion.h b/CefSharp.Core.Runtime/Internals/TypeConversion.h index b4f2e135c..9c1601e66 100644 --- a/CefSharp.Core.Runtime/Internals/TypeConversion.h +++ b/CefSharp.Core.Runtime/Internals/TypeConversion.h @@ -58,6 +58,7 @@ namespace CefSharp item->IsInProgress = downloadItem->IsInProgress(); item->IsComplete = downloadItem->IsComplete(); item->IsCancelled = downloadItem->IsCanceled(); + item->IsPaused = downloadItem->IsPaused(); item->CurrentSpeed = downloadItem->GetCurrentSpeed(); item->PercentComplete = downloadItem->GetPercentComplete(); item->TotalBytes = downloadItem->GetTotalBytes(); diff --git a/CefSharp.Core.Runtime/RequestContext.cpp b/CefSharp.Core.Runtime/RequestContext.cpp index 3e20bc3eb..0733f69fc 100644 --- a/CefSharp.Core.Runtime/RequestContext.cpp +++ b/CefSharp.Core.Runtime/RequestContext.cpp @@ -126,6 +126,15 @@ namespace CefSharp _requestContext->ClearCertificateExceptions(wrapper); } + void RequestContext::ClearHttpCache(ICompletionCallback^ callback) + { + ThrowIfDisposed(); + + CefRefPtr wrapper = callback == nullptr ? nullptr : new CefCompletionCallbackAdapter(callback); + + _requestContext->ClearHttpCache(wrapper); + } + void RequestContext::ClearHttpAuthCredentials(ICompletionCallback^ callback) { ThrowIfDisposed(); diff --git a/CefSharp.Core.Runtime/RequestContext.h b/CefSharp.Core.Runtime/RequestContext.h index 13e4ddbd8..01ff27047 100644 --- a/CefSharp.Core.Runtime/RequestContext.h +++ b/CefSharp.Core.Runtime/RequestContext.h @@ -282,6 +282,13 @@ namespace CefSharp /// completion. This param is optional virtual void ClearCertificateExceptions(ICompletionCallback^ callback); + /// + /// Clears the HTTP cache. + /// + /// If is non-NULL it will be executed on the CEF UI thread after + /// completion. This param is optional + virtual void ClearHttpCache(ICompletionCallback^ callback); + /// /// Clears all HTTP authentication credentials that were added as part of handling /// . diff --git a/CefSharp.Core.Runtime/Resource.rc b/CefSharp.Core.Runtime/Resource.rc index 8efbf384e..4fd630bc9 100644 --- a/CefSharp.Core.Runtime/Resource.rc +++ b/CefSharp.Core.Runtime/Resource.rc @@ -1,8 +1,8 @@ #pragma code_page(65001) 1 VERSIONINFO - FILEVERSION 144,0,250 - PRODUCTVERSION 144,0,250 + FILEVERSION 144,0,260 + PRODUCTVERSION 144,0,260 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -18,10 +18,10 @@ BEGIN BLOCK "040904b0" BEGIN VALUE "FileDescription", "CefSharp.Core" - VALUE "FileVersion", "144.0.250" + VALUE "FileVersion", "144.0.260" VALUE "LegalCopyright", "Copyright © 2026 The CefSharp Authors" VALUE "ProductName", "CefSharp" - VALUE "ProductVersion", "144.0.250" + VALUE "ProductVersion", "144.0.260" END END BLOCK "VarFileInfo" diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config index 4620155c3..17921327b 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config index 8f02d4f23..e8c2e53d1 100644 --- a/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config +++ b/CefSharp.Core.Runtime/packages.CefSharp.Core.Runtime.netcore.config @@ -1,6 +1,6 @@  - + diff --git a/CefSharp.Core/RequestContext.cs b/CefSharp.Core/RequestContext.cs index 028d4e9e9..5a71fde96 100644 --- a/CefSharp.Core/RequestContext.cs +++ b/CefSharp.Core/RequestContext.cs @@ -180,6 +180,12 @@ public void ClearCertificateExceptions(ICompletionCallback callback) requestContext.ClearCertificateExceptions(callback); } + /// + public void ClearHttpCache(ICompletionCallback callback = null) + { + requestContext.ClearHttpCache(callback); + } + /// public void ClearHttpAuthCredentials(ICompletionCallback callback = null) { diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj index 8d4607d2d..ae00ce380 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.csproj @@ -23,7 +23,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj index 292666130..ea49f3073 100644 --- a/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj +++ b/CefSharp.OffScreen.Example/CefSharp.OffScreen.Example.netcore.csproj @@ -38,7 +38,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CefSharp.OffScreen.Example/app.manifest b/CefSharp.OffScreen.Example/app.manifest index c20c883b0..67dec0b11 100644 --- a/CefSharp.OffScreen.Example/app.manifest +++ b/CefSharp.OffScreen.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Test/CefSharp.Test.csproj b/CefSharp.Test/CefSharp.Test.csproj index cfe14cd97..d77daac3d 100644 --- a/CefSharp.Test/CefSharp.Test.csproj +++ b/CefSharp.Test/CefSharp.Test.csproj @@ -36,7 +36,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CefSharp.Test/CefSharp.Test.netcore.csproj b/CefSharp.Test/CefSharp.Test.netcore.csproj index fa7e458ca..d8562fa08 100644 --- a/CefSharp.Test/CefSharp.Test.netcore.csproj +++ b/CefSharp.Test/CefSharp.Test.netcore.csproj @@ -35,7 +35,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj index bc3d54460..72c3cda20 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.csproj @@ -32,7 +32,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj index 5513cf07f..f5c102d27 100644 --- a/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj +++ b/CefSharp.WinForms.Example/CefSharp.WinForms.Example.netcore.csproj @@ -38,7 +38,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CefSharp.WinForms.Example/app.manifest b/CefSharp.WinForms.Example/app.manifest index 0ce54f9b4..50306f88f 100644 --- a/CefSharp.WinForms.Example/app.manifest +++ b/CefSharp.WinForms.Example/app.manifest @@ -8,7 +8,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj index a0b971981..6ac241862 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.csproj @@ -31,7 +31,7 @@ - + all diff --git a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj index d7ed319a3..66e86484b 100644 --- a/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj +++ b/CefSharp.Wpf.Example/CefSharp.Wpf.Example.netcore.csproj @@ -39,7 +39,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CefSharp.Wpf.Example/app.manifest b/CefSharp.Wpf.Example/app.manifest index 306c8712f..9217d0c85 100644 --- a/CefSharp.Wpf.Example/app.manifest +++ b/CefSharp.Wpf.Example/app.manifest @@ -7,7 +7,7 @@ xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - + diff --git a/CefSharp.Wpf.HwndHost.Example/CefSharp.Wpf.HwndHost.Example.csproj b/CefSharp.Wpf.HwndHost.Example/CefSharp.Wpf.HwndHost.Example.csproj index 3bfd39ae6..6b15211ba 100644 --- a/CefSharp.Wpf.HwndHost.Example/CefSharp.Wpf.HwndHost.Example.csproj +++ b/CefSharp.Wpf.HwndHost.Example/CefSharp.Wpf.HwndHost.Example.csproj @@ -28,7 +28,7 @@ - + diff --git a/CefSharp.Wpf.HwndHost.Example/CefSharp.Wpf.HwndHost.Example.netcore.csproj b/CefSharp.Wpf.HwndHost.Example/CefSharp.Wpf.HwndHost.Example.netcore.csproj index 7745fa499..0535fa930 100644 --- a/CefSharp.Wpf.HwndHost.Example/CefSharp.Wpf.HwndHost.Example.netcore.csproj +++ b/CefSharp.Wpf.HwndHost.Example/CefSharp.Wpf.HwndHost.Example.netcore.csproj @@ -40,7 +40,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CefSharp.shfbproj b/CefSharp.shfbproj index b68487808..05c7ad6df 100644 --- a/CefSharp.shfbproj +++ b/CefSharp.shfbproj @@ -31,7 +31,7 @@ - 144.0.250 + 144.0.260 2 False C#, Managed C++ @@ -59,7 +59,7 @@ InheritedMembers, InheritedFrameworkMembers, Protected, ProtectedInternalAsProtected, EditorBrowsableNever, NonBrowsable - Version 144.0.250 + Version 144.0.260 https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE Interfaces, enums, structs and classes that make up the core API interface diff --git a/CefSharp/DownloadItem.cs b/CefSharp/DownloadItem.cs index 0f56246a0..5b477877c 100644 --- a/CefSharp/DownloadItem.cs +++ b/CefSharp/DownloadItem.cs @@ -31,6 +31,11 @@ public sealed class DownloadItem /// public bool IsCancelled { get; set; } + /// + /// Returns true if the download has been paused. + /// + public bool IsPaused { get; set; } + /// /// Returns a simple speed estimate in bytes/s. /// diff --git a/CefSharp/IRequestContext.cs b/CefSharp/IRequestContext.cs index 3515ecee8..c912085d7 100644 --- a/CefSharp/IRequestContext.cs +++ b/CefSharp/IRequestContext.cs @@ -168,6 +168,13 @@ public interface IRequestContext : IDisposable /// completion. This param is optional void ClearCertificateExceptions(ICompletionCallback callback); + /// + /// Clears the HTTP cache. + /// + /// If is non-NULL it will be executed on the CEF UI thread after + /// completion. This param is optional + void ClearHttpCache(ICompletionCallback callback = null); + /// /// Clears all HTTP authentication credentials that were added as part of handling /// . diff --git a/CefSharp/Properties/AssemblyInfo.cs b/CefSharp/Properties/AssemblyInfo.cs index c6022abb4..0e1ddc4b4 100644 --- a/CefSharp/Properties/AssemblyInfo.cs +++ b/CefSharp/Properties/AssemblyInfo.cs @@ -26,8 +26,8 @@ public static class AssemblyInfo public const bool ComVisible = false; public const string AssemblyCompany = "The CefSharp Authors"; public const string AssemblyProduct = "CefSharp"; - public const string AssemblyVersion = "144.0.250"; - public const string AssemblyFileVersion = "144.0.250.0"; + public const string AssemblyVersion = "144.0.260"; + public const string AssemblyFileVersion = "144.0.260.0"; public const string AssemblyCopyright = "Copyright © 2026 The CefSharp Authors"; public const string CefSharpCoreProject = "CefSharp.Core, PublicKey=" + PublicKey; public const string CefSharpBrowserSubprocessProject = "CefSharp.BrowserSubprocess, PublicKey=" + PublicKey; diff --git a/NuGet/CefSharp.Common.app.config.x64.transform b/NuGet/CefSharp.Common.app.config.x64.transform index 0585a7667..07ebeb652 100644 --- a/NuGet/CefSharp.Common.app.config.x64.transform +++ b/NuGet/CefSharp.Common.app.config.x64.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/CefSharp.Common.app.config.x86.transform b/NuGet/CefSharp.Common.app.config.x86.transform index 3efb5e75e..2cff6d11d 100644 --- a/NuGet/CefSharp.Common.app.config.x86.transform +++ b/NuGet/CefSharp.Common.app.config.x86.transform @@ -20,7 +20,7 @@ - + diff --git a/NuGet/PackageReference/CefSharp.Common.NETCore.targets b/NuGet/PackageReference/CefSharp.Common.NETCore.targets index 0d38c1724..a087b83ff 100644 --- a/NuGet/PackageReference/CefSharp.Common.NETCore.targets +++ b/NuGet/PackageReference/CefSharp.Common.NETCore.targets @@ -143,16 +143,16 @@ - - - + + + - - - + + + diff --git a/README.md b/README.md index 5ead5ac17..fff57ddde 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,8 @@ If you're new to `CefSharp` and are downloading the source to check it out, plea | Branch | CEF Version | VC++ Version | .Net Version | Status | |-----------------------------------------------------------------------|------|-------|---------|-----------------| | [master](https://github.com/cefsharp/CefSharp/) | 7499 | 2022* | 4.6.2** | Development | -| [cefsharp/143](https://github.com/cefsharp/CefSharp/tree/cefsharp/143)| 7499 | 2022* | 4.6.2** | **Release** | +| [cefsharp/144](https://github.com/cefsharp/CefSharp/tree/cefsharp/144)| 7599 | 2022* | 4.6.2** | **Release** | +| [cefsharp/143](https://github.com/cefsharp/CefSharp/tree/cefsharp/143)| 7499 | 2022* | 4.6.2** | Unsupported | | [cefsharp/141](https://github.com/cefsharp/CefSharp/tree/cefsharp/141)| 7390 | 2022* | 4.6.2** | Unsupported | | [cefsharp/140](https://github.com/cefsharp/CefSharp/tree/cefsharp/140)| 7339 | 2022* | 4.6.2** | Unsupported | | [cefsharp/139](https://github.com/cefsharp/CefSharp/tree/cefsharp/139)| 7258 | 2022* | 4.6.2** | Unsupported | diff --git a/UpdateNugetPackages.ps1 b/UpdateNugetPackages.ps1 index 9c394239a..607080142 100644 --- a/UpdateNugetPackages.ps1 +++ b/UpdateNugetPackages.ps1 @@ -1,9 +1,9 @@ -#requires -Version 5 +#requires -Version 5 [CmdletBinding()] param( [Parameter(Position = 1)] - [string] $CefVersion = "144.0.25", + [string] $CefVersion = "144.0.26", [Parameter(Position = 2)] [string] $CefSharpVersion = "" ) diff --git a/appveyor.yml b/appveyor.yml index 8bf4e50aa..86183f365 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 144.0.120-RCI{build} +version: 144.0.260-RCI{build} clone_depth: 10 diff --git a/build.ps1 b/build.ps1 index 3990863c9..6577d1af8 100644 --- a/build.ps1 +++ b/build.ps1 @@ -1,13 +1,13 @@ -#requires -Version 5 +#requires -Version 5 param( [ValidateSet("vs2022","vs2019", "nupkg-only", "update-build-version")] [Parameter(Position = 0)] [string] $Target = "vs2022", [Parameter(Position = 1)] - [string] $Version = "144.0.250", + [string] $Version = "144.0.260", [Parameter(Position = 2)] - [string] $AssemblyVersion = "144.0.250", + [string] $AssemblyVersion = "144.0.260", [Parameter(Position = 3)] [ValidateSet("NetFramework", "NetCore")] [string] $TargetFramework = "NetFramework",