1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-11-23 21:34:53 +02:00

Update to CEF 142.0.10

Dump header information in SimpleServer demo for Lazarus
Added Lazarus 4.4 mention
This commit is contained in:
Salvador Díaz Fau
2025-11-11 08:52:14 +01:00
parent 936afd0f20
commit 13ca0413b8
5 changed files with 26 additions and 13 deletions

View File

@@ -3,17 +3,17 @@ 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 LICENSE.md file.
CEF4Delphi uses CEF 142.0.8 which includes Chromium 142.0.7444.135.
CEF4Delphi uses CEF 142.0.10 which includes Chromium 142.0.7444.135.
The CEF binaries used by CEF4Delphi are available for download at Spotify :
* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_142.0.8%2Bgaa285ed%2Bchromium-142.0.7444.135_windows32.tar.bz2)
* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_142.0.8%2Bgaa285ed%2Bchromium-142.0.7444.135_windows64.tar.bz2)
* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_142.0.8%2Bgaa285ed%2Bchromium-142.0.7444.135_linux64.tar.bz2)
* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_142.0.8%2Bgaa285ed%2Bchromium-142.0.7444.135_linuxarm.tar.bz2)
* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_142.0.8%2Bgaa285ed%2Bchromium-142.0.7444.135_linuxarm64.tar.bz2)
* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_142.0.8%2Bgaa285ed%2Bchromium-142.0.7444.135_macosx64.tar.bz2)
* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_142.0.10%2Bg29548e2%2Bchromium-142.0.7444.135_windows32.tar.bz2)
* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_142.0.10%2Bg29548e2%2Bchromium-142.0.7444.135_windows64.tar.bz2)
* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_142.0.10%2Bg29548e2%2Bchromium-142.0.7444.135_linux64.tar.bz2)
* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_142.0.10%2Bg29548e2%2Bchromium-142.0.7444.135_linuxarm.tar.bz2)
* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_142.0.10%2Bg29548e2%2Bchromium-142.0.7444.135_linuxarm64.tar.bz2)
* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_142.0.10%2Bg29548e2%2Bchromium-142.0.7444.135_macosx64.tar.bz2)
CEF4Delphi was developed and tested on Delphi 13 and it has been tested in Delphi 6, Delphi XE, Delphi 10, Delphi 11 and Lazarus 4.2/FPC 3.2.2. CEF4Delphi includes VCL, FireMonkey (FMX) and Lazarus components.
CEF4Delphi was developed and tested on Delphi 13 and it has been tested in Delphi 6, Delphi XE, Delphi 10, Delphi 11 and Lazarus 4.4/FPC 3.2.2. CEF4Delphi includes VCL, FireMonkey (FMX) and Lazarus components.
CEF4Delphi demos have been tested in Windows 10, Windows 11, Linux Mint 22.2 and Raspberry Pi OS.

View File

@@ -9,7 +9,8 @@ interface
uses
LCLIntf, LCLType, LMessages, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, StdCtrls, Spin, ExtCtrls, Math, ShellAPI,
uCEFInterfaces, uCEFServerComponent, uCEFTypes, uCEFMiscFunctions;
uCEFInterfaces, uCEFServerComponent, uCEFTypes, uCEFMiscFunctions,
uCEFStringMultimap;
type
@@ -138,6 +139,9 @@ begin
end;
procedure TSimpleServerFrm.ShowRequestInfo(const aRequest : ICefRequest);
var
TempHeaderMap : ICefStringMultimap;
i : NativeUInt;
begin
if (aRequest = nil) then exit;
@@ -147,6 +151,15 @@ begin
if (length(aRequest.ReferrerUrl) > 0) then
ConnectionLogMem.Lines.Add('Request Referrer : ' + aRequest.ReferrerUrl);
TempHeaderMap := TCefStringMultimapOwn.Create;
aRequest.GetHeaderMap(TempHeaderMap);
i := 0;
while (i < TempHeaderMap.Size) do
begin
ConnectionLogMem.Lines.Add('HTTP header : ' + TempHeaderMap.Key[i] + ':' + TempHeaderMap.Value[i]);
inc(i);
end;
ShowPostDataInfo(aRequest.PostData);
end;

View File

@@ -21,7 +21,7 @@
</CompilerOptions>
<Description Value="CEF4Delphi is an open source project created by Salvador Díaz Fau to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC."/>
<License Value="MPL 1.1"/>
<Version Major="142" Release="8"/>
<Version Major="142" Release="10"/>
<Files Count="216">
<Item1>
<Filename Value="..\source\uCEFAccessibilityHandler.pas"/>

View File

@@ -1,6 +1,6 @@
CEF_SUPPORTED_VERSION_MAJOR = 142;
CEF_SUPPORTED_VERSION_MINOR = 0;
CEF_SUPPORTED_VERSION_RELEASE = 8;
CEF_SUPPORTED_VERSION_RELEASE = 10;
CEF_SUPPORTED_VERSION_BUILD = 0;
CEF_CHROMEELF_VERSION_MAJOR = CEF_SUPPORTED_VERSION_MAJOR;

View File

@@ -2,9 +2,9 @@
"UpdateLazPackages" : [
{
"ForceNotify" : true,
"InternalVersion" : 818,
"InternalVersion" : 819,
"Name" : "cef4delphi_lazarus.lpk",
"Version" : "142.0.8"
"Version" : "142.0.10"
}
],
"UpdatePackageData" : {