diff --git a/README.md b/README.md index 829a7b9a..bac2c791 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 91.1.16 which includes Chromium 91.0.4472.101. +CEF4Delphi uses CEF 91.1.17 which includes Chromium 91.0.4472.101. The CEF binaries used by CEF4Delphi are available for download at spotify : -* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.16%2Bgc95b2a1%2Bchromium-91.0.4472.101_windows32.tar.bz2) -* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.16%2Bgc95b2a1%2Bchromium-91.0.4472.101_windows64.tar.bz2) -* [Linux x86 32 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.16%2Bgc95b2a1%2Bchromium-91.0.4472.101_linux32.tar.bz2) -* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.16%2Bgc95b2a1%2Bchromium-91.0.4472.101_linux64.tar.bz2) -* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.16%2Bgc95b2a1%2Bchromium-91.0.4472.101_linuxarm.tar.bz2) -* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.16%2Bgc95b2a1%2Bchromium-91.0.4472.101_linuxarm64.tar.bz2) -* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.16%2Bgc95b2a1%2Bchromium-91.0.4472.101_macosx64.tar.bz2) +* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.17%2Bg1845583%2Bchromium-91.0.4472.101_windows32.tar.bz2) +* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.17%2Bg1845583%2Bchromium-91.0.4472.101_windows64.tar.bz2) +* [Linux x86 32 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.17%2Bg1845583%2Bchromium-91.0.4472.101_linux32.tar.bz2) +* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.17%2Bg1845583%2Bchromium-91.0.4472.101_linux64.tar.bz2) +* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.17%2Bg1845583%2Bchromium-91.0.4472.101_linuxarm.tar.bz2) +* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.17%2Bg1845583%2Bchromium-91.0.4472.101_linuxarm64.tar.bz2) +* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_91.1.17%2Bg1845583%2Bchromium-91.0.4472.101_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/demos/Delphi_FMX_Mac/FMXExternalPumpBrowser/uFMXExternalPumpBrowser.pas b/demos/Delphi_FMX_Mac/FMXExternalPumpBrowser/uFMXExternalPumpBrowser.pas index cebb87f8..62a3d1fd 100644 --- a/demos/Delphi_FMX_Mac/FMXExternalPumpBrowser/uFMXExternalPumpBrowser.pas +++ b/demos/Delphi_FMX_Mac/FMXExternalPumpBrowser/uFMXExternalPumpBrowser.pas @@ -324,7 +324,9 @@ procedure TFMXExternalPumpBrowserFrm.FormCreate(Sender: TObject); begin TFMXApplicationService.AddPlatformService; - GlobalCEFTimerWorkScheduler.OnAllowDoWork := GlobalCEFTimerWorkScheduler_OnAllowDoWork; + // Enable this code line in case there's an unexpected crash when + // cef_do_message_loop_work is called. + //GlobalCEFTimerWorkScheduler.OnAllowDoWork := GlobalCEFTimerWorkScheduler_OnAllowDoWork; FPopUpBitmap := nil; FPopUpRect := rect(0, 0, 0, 0); @@ -554,25 +556,10 @@ var begin if not(ssTouch in Shift) then begin - Panel1.SetFocus; - TempEvent.x := round(X); TempEvent.y := round(Y); TempEvent.modifiers := getModifiers(Button, Shift); - if (Button = TMouseButton.mbRight) then - begin - // We set the focus in another control as a workaround to show the context - // menu when we click the right mouse button. - GoBtn.SetFocus; - - // We move the event point slightly so the mouse is over the context menu - TempEvent.x := TempEvent.x - 5; - TempEvent.y := TempEvent.y - 5; - end - else - Panel1.SetFocus; - if (ssDouble in Shift) then TempCount := 2 else diff --git a/packages/cef4delphi_lazarus.lpk b/packages/cef4delphi_lazarus.lpk index 5ef3c410..59013ec4 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 fe0d8547..8b9a829e 100644 --- a/source/uCEFApplicationCore.pas +++ b/source/uCEFApplicationCore.pas @@ -66,7 +66,7 @@ uses const CEF_SUPPORTED_VERSION_MAJOR = 91; CEF_SUPPORTED_VERSION_MINOR = 1; - CEF_SUPPORTED_VERSION_RELEASE = 16; + CEF_SUPPORTED_VERSION_RELEASE = 17; CEF_SUPPORTED_VERSION_BUILD = 0; CEF_CHROMEELF_VERSION_MAJOR = 91; diff --git a/update_CEF4Delphi.json b/update_CEF4Delphi.json index 7c47a34b..ff773a1b 100644 --- a/update_CEF4Delphi.json +++ b/update_CEF4Delphi.json @@ -2,9 +2,9 @@ "UpdateLazPackages" : [ { "ForceNotify" : true, - "InternalVersion" : 303, + "InternalVersion" : 304, "Name" : "cef4delphi_lazarus.lpk", - "Version" : "91.1.16.0" + "Version" : "91.1.17.0" } ], "UpdatePackageData" : {