From 3d4f890935f9089e13f6bff25657b47395d4de21 Mon Sep 17 00:00:00 2001 From: salvadordf Date: Thu, 9 Feb 2023 16:45:08 +0100 Subject: [PATCH] Update to CEF 110.0.25 --- README.md | 18 +++++++++--------- packages/cef4delphi_lazarus.lpk | 2 +- source/uCEFApplicationCore.pas | 10 +++++----- source/uCEFLinuxFunctions.pas | 2 +- source/uCEFTypes.pas | 5 +---- update_CEF4Delphi.json | 4 ++-- 6 files changed, 19 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 1fae0404..d47616a5 100644 --- a/README.md +++ b/README.md @@ -3,24 +3,24 @@ 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 109.1.18 which includes Chromium 109.0.5414.120. +CEF4Delphi uses CEF 110.0.25 which includes Chromium 110.0.5481.78. The CEF binaries used by CEF4Delphi are available for download at Spotify : -* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_109.1.18%2Bgf1c41e4%2Bchromium-109.0.5414.120_windows32.tar.bz2) -* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_109.1.18%2Bgf1c41e4%2Bchromium-109.0.5414.120_windows64.tar.bz2) -* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_109.1.18%2Bgf1c41e4%2Bchromium-109.0.5414.120_linux64.tar.bz2) -* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_109.1.18%2Bgf1c41e4%2Bchromium-109.0.5414.120_linuxarm.tar.bz2) -* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_109.1.18%2Bgf1c41e4%2Bchromium-109.0.5414.120_linuxarm64.tar.bz2) -* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_109.1.18%2Bgf1c41e4%2Bchromium-109.0.5414.120_macosx64.tar.bz2) +* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_110.0.25%2Bg75b1c96%2Bchromium-110.0.5481.78_windows32.tar.bz2) +* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_110.0.25%2Bg75b1c96%2Bchromium-110.0.5481.78_windows64.tar.bz2) +* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_110.0.25%2Bg75b1c96%2Bchromium-110.0.5481.78_linux64.tar.bz2) +* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_110.0.25%2Bg75b1c96%2Bchromium-110.0.5481.78_linuxarm.tar.bz2) +* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_110.0.25%2Bg75b1c96%2Bchromium-110.0.5481.78_linuxarm64.tar.bz2) +* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_110.0.25%2Bg75b1c96%2Bchromium-110.0.5481.78_macosx64.tar.bz2) CEF4Delphi was developed and tested on Delphi 11.2 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.4/FPC 3.2.2. CEF4Delphi includes VCL, FireMonkey (FMX) and Lazarus components. -CEF4Delphi demos have been tested in Windows 7, Windows 10, Windows 11, Linux Mint 20.3 and Raspberry Pi OS. +CEF4Delphi demos have been tested in Windows 10, Windows 11, Linux Mint 20.3 and Raspberry Pi OS. ## Links * [Installation instructions and more information about CEF4Delphi](https://www.briskbard.com/index.php?lang=en&pageid=cef) * [Developer Forums](https://www.briskbard.com/forum) -* The Windows components need Windows 7, 8, 8.1, 10 or newer to run. If you need Windows XP and Vista support use [OldCEF4Delphi](https://github.com/salvadordf/OldCEF4Delphi) +* The Windows components need Windows 10, 11 or newer to run. If you need Windows XP and Vista support use [OldCEF4Delphi](https://github.com/salvadordf/OldCEF4Delphi) ## Stable releases This is the development branch and it may have issues. Use the [latest release](https://github.com/salvadordf/CEF4Delphi/releases/latest) if you need a stable component. diff --git a/packages/cef4delphi_lazarus.lpk b/packages/cef4delphi_lazarus.lpk index 11a3cbec..507b7ca3 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 90f61558..49069c8e 100644 --- a/source/uCEFApplicationCore.pas +++ b/source/uCEFApplicationCore.pas @@ -67,15 +67,15 @@ uses uCEFSchemeRegistrar, uCEFPreferenceRegistrar; const - CEF_SUPPORTED_VERSION_MAJOR = 109; - CEF_SUPPORTED_VERSION_MINOR = 1; - CEF_SUPPORTED_VERSION_RELEASE = 18; + CEF_SUPPORTED_VERSION_MAJOR = 110; + CEF_SUPPORTED_VERSION_MINOR = 0; + CEF_SUPPORTED_VERSION_RELEASE = 25; CEF_SUPPORTED_VERSION_BUILD = 0; CEF_CHROMEELF_VERSION_MAJOR = CEF_SUPPORTED_VERSION_MAJOR; CEF_CHROMEELF_VERSION_MINOR = 0; - CEF_CHROMEELF_VERSION_RELEASE = 5414; - CEF_CHROMEELF_VERSION_BUILD = 120; + CEF_CHROMEELF_VERSION_RELEASE = 5481; + CEF_CHROMEELF_VERSION_BUILD = 78; {$IFDEF MSWINDOWS} LIBCEF_DLL = 'libcef.dll'; diff --git a/source/uCEFLinuxFunctions.pas b/source/uCEFLinuxFunctions.pas index c9299f83..dc33cbca 100644 --- a/source/uCEFLinuxFunctions.pas +++ b/source/uCEFLinuxFunctions.pas @@ -85,7 +85,7 @@ function gdk_screen_get_resolution(screen:PGdkScreen):gdouble; cdecl; external ' {$ENDIF} {$IFDEF FPC} {$IFDEF LCLGTK3} -function gdk_x11_window_get_xid(window: PGdkWindow): TWindow; cdecl; external Gdk3_library; +function gdk_x11_window_get_xid(window: PGdkWindow): TXID; cdecl; external Gdk3_library; function gdk_x11_get_default_xdisplay: PDisplay; cdecl; external Gdk3_library; procedure gdk_set_allowed_backends(const backends: PGchar); cdecl; external Gdk3_library; {$ENDIF} diff --git a/source/uCEFTypes.pas b/source/uCEFTypes.pas index 3779d1f8..3bb48ab8 100644 --- a/source/uCEFTypes.pas +++ b/source/uCEFTypes.pas @@ -1352,10 +1352,7 @@ type widthSet : Integer; height : Integer; heightSet : Integer; - menuBarVisible : Integer; - statusBarVisible : Integer; - toolBarVisible : Integer; - scrollbarsVisible : Integer; + isPopup : Integer; end; // /include/internal/cef_types.h (cef_browser_settings_t) diff --git a/update_CEF4Delphi.json b/update_CEF4Delphi.json index 01979f0c..58c106be 100644 --- a/update_CEF4Delphi.json +++ b/update_CEF4Delphi.json @@ -2,9 +2,9 @@ "UpdateLazPackages" : [ { "ForceNotify" : true, - "InternalVersion" : 459, + "InternalVersion" : 460, "Name" : "cef4delphi_lazarus.lpk", - "Version" : "109.1.18" + "Version" : "110.0.25" } ], "UpdatePackageData" : {