From d93927b5c8a2926a9b31fd7d821a683693650397 Mon Sep 17 00:00:00 2001 From: salvadordf Date: Sat, 29 Jan 2022 14:18:55 +0100 Subject: [PATCH] Update to CEF 97.1.9 --- README.md | 16 ++++++++-------- packages/cef4delphi_lazarus.lpk | 2 +- source/uCEFApplicationCore.pas | 4 +++- update_CEF4Delphi.json | 4 ++-- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 96f62c93..8d84c506 100644 --- a/README.md +++ b/README.md @@ -3,16 +3,16 @@ CEF4Delphi is an open source project created by Salvador Díaz Fau to embed Chro CEF4Delphi is based on DCEF3 and fpCEF3. The original license of those projects still applies to CEF4Delphi. Read the license terms in the first lines of any *.pas file. -CEF4Delphi uses CEF 97.1.7 which includes Chromium 97.0.4692.99. +CEF4Delphi uses CEF 97.1.9 which includes Chromium 97.0.4692.99. The CEF binaries used by CEF4Delphi are available for download at Spotify : -* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_97.1.7%2Bg45ce543%2Bchromium-97.0.4692.99_windows32.tar.bz2) -* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_97.1.7%2Bg45ce543%2Bchromium-97.0.4692.99_windows64.tar.bz2) -* [Linux x86 32 bits](https://cef-builds.spotifycdn.com/cef_binary_97.1.7%2Bg45ce543%2Bchromium-97.0.4692.99_linux32.tar.bz2) -* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_97.1.7%2Bg45ce543%2Bchromium-97.0.4692.99_linux64.tar.bz2) -* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_97.1.7%2Bg45ce543%2Bchromium-97.0.4692.99_linuxarm.tar.bz2) -* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_97.1.7%2Bg45ce543%2Bchromium-97.0.4692.99_linuxarm64.tar.bz2) -* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_97.1.7%2Bg45ce543%2Bchromium-97.0.4692.99_macosx64.tar.bz2) +* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_97.1.9%2Bga00bca5%2Bchromium-97.0.4692.99_windows32.tar.bz2) +* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_97.1.9%2Bga00bca5%2Bchromium-97.0.4692.99_windows64.tar.bz2) +* [Linux x86 32 bits](https://cef-builds.spotifycdn.com/cef_binary_97.1.9%2Bga00bca5%2Bchromium-97.0.4692.99_linux32.tar.bz2) +* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_97.1.9%2Bga00bca5%2Bchromium-97.0.4692.99_linux64.tar.bz2) +* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_97.1.9%2Bga00bca5%2Bchromium-97.0.4692.99_linuxarm.tar.bz2) +* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_97.1.9%2Bga00bca5%2Bchromium-97.0.4692.99_linuxarm64.tar.bz2) +* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_97.1.9%2Bga00bca5%2Bchromium-97.0.4692.99_macosx64.tar.bz2) CEF4Delphi was developed and tested on Delphi 11.0 and it has been tested in Delphi 7, Delphi XE, Delphi 10, Delphi 10.2, Delphi 10.3, Delphi 10.4 and Lazarus 2.2.0/FPC 3.2.2. CEF4Delphi includes VCL, FireMonkey (FMX) and Lazarus components. diff --git a/packages/cef4delphi_lazarus.lpk b/packages/cef4delphi_lazarus.lpk index 5b118e14..f759f9c1 100644 --- a/packages/cef4delphi_lazarus.lpk +++ b/packages/cef4delphi_lazarus.lpk @@ -21,7 +21,7 @@ - + diff --git a/source/uCEFApplicationCore.pas b/source/uCEFApplicationCore.pas index b54c36de..ad63ccc9 100644 --- a/source/uCEFApplicationCore.pas +++ b/source/uCEFApplicationCore.pas @@ -66,7 +66,7 @@ uses const CEF_SUPPORTED_VERSION_MAJOR = 97; CEF_SUPPORTED_VERSION_MINOR = 1; - CEF_SUPPORTED_VERSION_RELEASE = 7; + CEF_SUPPORTED_VERSION_RELEASE = 9; CEF_SUPPORTED_VERSION_BUILD = 0; CEF_CHROMEELF_VERSION_MAJOR = 97; @@ -2080,11 +2080,13 @@ begin // The list of features you can enable is here : // https://chromium.googlesource.com/chromium/src/+/master/chrome/common/chrome_features.cc + // https://source.chromium.org/chromium/chromium/src/+/main:content/public/common/content_features.cc if (length(FEnableFeatures) > 0) then AppendSwitch(aKeys, aValues, '--enable-features', FEnableFeatures); // The list of features you can disable is here : // https://chromium.googlesource.com/chromium/src/+/master/chrome/common/chrome_features.cc + // https://source.chromium.org/chromium/chromium/src/+/main:content/public/common/content_features.cc if (length(FDisableFeatures) > 0) then AppendSwitch(aKeys, aValues, '--disable-features', FDisableFeatures); diff --git a/update_CEF4Delphi.json b/update_CEF4Delphi.json index ab2122b7..cba636c1 100644 --- a/update_CEF4Delphi.json +++ b/update_CEF4Delphi.json @@ -2,9 +2,9 @@ "UpdateLazPackages" : [ { "ForceNotify" : true, - "InternalVersion" : 351, + "InternalVersion" : 352, "Name" : "cef4delphi_lazarus.lpk", - "Version" : "97.1.7.0" + "Version" : "97.1.9.0" } ], "UpdatePackageData" : {