From f044e754fa530d6144de0b7e6faf2bd17ebadbd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Salvador=20D=C3=ADaz=20Fau?= Date: Wed, 28 Apr 2021 14:38:07 +0200 Subject: [PATCH] Update to CEF 90.6.0 --- README.md | 16 ++++++++-------- packages/cef4delphi_lazarus.lpk | 2 +- source/uCEFApplicationCore.pas | 12 ++++++------ source/uCEFTypes.pas | 2 +- update_CEF4Delphi.json | 4 ++-- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 367a537a..2fe4c09c 100644 --- a/README.md +++ b/README.md @@ -3,15 +3,15 @@ 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 90.5.9 which includes Chromium 90.0.4430.85. +CEF4Delphi uses CEF 90.6.0 which includes Chromium 90.0.4430.85. The CEF binaries used by CEF4Delphi are available for download at spotify : -* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_90.5.9%2Bgd330790%2Bchromium-90.0.4430.85_windows32.tar.bz2) -* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_90.5.9%2Bgd330790%2Bchromium-90.0.4430.85_windows64.tar.bz2) -* [Linux x86 32 bits](https://cef-builds.spotifycdn.com/cef_binary_90.5.9%2Bgd330790%2Bchromium-90.0.4430.85_linux32.tar.bz2) -* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_90.5.9%2Bgd330790%2Bchromium-90.0.4430.85_linux64.tar.bz2) -* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_90.5.9%2Bgd330790%2Bchromium-90.0.4430.85_linuxarm.tar.bz2) -* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_90.5.9%2Bgd330790%2Bchromium-90.0.4430.85_linuxarm64.tar.bz2) -* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_90.5.9%2Bgd330790%2Bchromium-90.0.4430.85_macosx64.tar.bz2) +* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_90.6.0%2Bg02ae459%2Bchromium-90.0.4430.85_windows32.tar.bz2) +* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_90.6.0%2Bg02ae459%2Bchromium-90.0.4430.85_windows64.tar.bz2) +* [Linux x86 32 bits](https://cef-builds.spotifycdn.com/cef_binary_90.6.0%2Bg02ae459%2Bchromium-90.0.4430.85_linux32.tar.bz2) +* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_90.6.0%2Bg02ae459%2Bchromium-90.0.4430.85_linux64.tar.bz2) +* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_90.6.0%2Bg02ae459%2Bchromium-90.0.4430.85_linuxarm.tar.bz2) +* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_90.6.0%2Bg02ae459%2Bchromium-90.0.4430.85_linuxarm64.tar.bz2) +* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_90.6.0%2Bg02ae459%2Bchromium-90.0.4430.85_macosx64.tar.bz2) CEF4Delphi was developed and tested on Delphi 10.4.2 and it has been tested in Delphi 7, Delphi XE, Delphi 10, Delphi 10.2, Delphi 10.3 and Lazarus 2.0.12/FPC 3.2.0. CEF4Delphi includes VCL, FireMonkey (FMX) and Lazarus components. diff --git a/packages/cef4delphi_lazarus.lpk b/packages/cef4delphi_lazarus.lpk index daafad89..9c530f71 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 2f01d9fb..7394b910 100644 --- a/source/uCEFApplicationCore.pas +++ b/source/uCEFApplicationCore.pas @@ -65,8 +65,8 @@ uses const CEF_SUPPORTED_VERSION_MAJOR = 90; - CEF_SUPPORTED_VERSION_MINOR = 5; - CEF_SUPPORTED_VERSION_RELEASE = 9; + CEF_SUPPORTED_VERSION_MINOR = 6; + CEF_SUPPORTED_VERSION_RELEASE = 0; CEF_SUPPORTED_VERSION_BUILD = 0; CEF_CHROMEELF_VERSION_MAJOR = 90; @@ -102,7 +102,7 @@ type FRootCache : ustring; FUserDataPath : ustring; FUserAgent : ustring; - FProductVersion : ustring; + FUserAgentProduct : ustring; FLocale : ustring; FLocalesRequired : ustring; FLogFile : ustring; @@ -417,7 +417,7 @@ type property PersistSessionCookies : Boolean read FPersistSessionCookies write FPersistSessionCookies; property PersistUserPreferences : Boolean read FPersistUserPreferences write FPersistUserPreferences; property UserAgent : ustring read FUserAgent write FUserAgent; - property ProductVersion : ustring read FProductVersion write FProductVersion; + property UserAgentProduct : ustring read FUserAgentProduct write FUserAgentProduct; property Locale : ustring read FLocale write FLocale; property LogFile : ustring read FLogFile write FLogFile; property LogSeverity : TCefLogSeverity read FLogSeverity write FLogSeverity; @@ -652,7 +652,7 @@ begin FRootCache := ''; FUserDataPath := ''; FUserAgent := ''; - FProductVersion := ''; + FUserAgentProduct := ''; FLocale := ''; FLogFile := ''; FBrowserSubprocessPath := ''; @@ -1373,7 +1373,7 @@ begin aSettings.persist_session_cookies := Ord(FPersistSessionCookies); aSettings.persist_user_preferences := Ord(FPersistUserPreferences); aSettings.user_agent := CefString(FUserAgent); - aSettings.product_version := CefString(FProductVersion); + aSettings.user_agent_product := CefString(FUserAgentProduct); aSettings.locale := CefString(FLocale); aSettings.log_file := CefString(FLogFile); aSettings.log_severity := FLogSeverity; diff --git a/source/uCEFTypes.pas b/source/uCEFTypes.pas index 3e70c5c9..b4357c9b 100644 --- a/source/uCEFTypes.pas +++ b/source/uCEFTypes.pas @@ -1223,7 +1223,7 @@ type persist_session_cookies : Integer; persist_user_preferences : Integer; user_agent : TCefString; - product_version : TCefString; + user_agent_product : TCefString; locale : TCefString; log_file : TCefString; log_severity : TCefLogSeverity; diff --git a/update_CEF4Delphi.json b/update_CEF4Delphi.json index ca3547e1..83e5e452 100644 --- a/update_CEF4Delphi.json +++ b/update_CEF4Delphi.json @@ -2,9 +2,9 @@ "UpdateLazPackages" : [ { "ForceNotify" : true, - "InternalVersion" : 283, + "InternalVersion" : 284, "Name" : "cef4delphi_lazarus.lpk", - "Version" : "90.5.9.0" + "Version" : "90.6.0.0" } ], "UpdatePackageData" : {