CEF4Delphi updates

Locked
User avatar
salvadordf
Posts: 2640
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

CEF4Delphi updates

Post by salvadordf » Sat Sep 26, 2020 12:59 pm

From now on, this thread will be used to keep all the CEF4Delphi update announcements together in one place.
Previous announcements are still available in the "General" section using individual threads.

In order to keep this thread clean I disabled the replies but you can create a new thread if you need to add some comments or questions.

The list of commits to the repository is here :
https://github.com/salvadordf/CEF4Delphi/commits/master

GitHub shows all the code changes when you click on each commit.

User avatar
salvadordf
Posts: 2640
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to CEF 85.3.11

Post by salvadordf » Sat Sep 26, 2020 1:04 pm

CEF4Delphi is now updated to CEF 85.3.11

These are the changes in CEF :
  • Windows: Fix incorrect placement with GetInitialBounds : https://bitbucket.org/chromiumembedded/cef/commits/364460420ac49d1bab7b66975b7b97c09c2f8db0
These are the changes in CEF4Delphi :
  • Added an alternative PrintToPDF menu option to the MiniBrowser demo. It uses a DevTools method to call PrintToPDF but it's not working for now.
  • The MiniBrowser demo now has the code to get the error code and error message in case the DevTools method is not succesfull.
These are the CEF binaries :
  • 32 bits -> http://opensource.spotify.com/cefbuilds/cef_binary_85.3.11%2Bg3644604%2Bchromium-85.0.4183.102_windows32.tar.bz2
  • 64 bits -> http://opensource.spotify.com/cefbuilds/cef_binary_85.3.11%2Bg3644604%2Bchromium-85.0.4183.102_windows64.tar.bz2

User avatar
salvadordf
Posts: 2640
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: CEF4Delphi updates

Post by salvadordf » Wed Sep 30, 2020 10:52 am

I just did a small update to CEF4Delphi with the following changes :
  • Fixed issue #303. Open the DLL as read only in uCEFMiscFunctions.GetDLLHeaderMachine : https://github.com/salvadordf/CEF4Delphi/issues/303
  • Added TChromiumCore.ReplaceMisspelling. https://magpcss.org/ceforum/apidocs3/projects/(default)/CefBrowserHost.html#ReplaceMisspelling(constCefString&)
  • Added TChromiumCore.AddWordToDictionary. https://magpcss.org/ceforum/apidocs3/projects/(default)/CefBrowserHost.html#AddWordToDictionary(constCefString&)
  • Added TChromiumCore.OpenerWindowHandle. https://magpcss.org/ceforum/apidocs3/projects/(default)/CefBrowserHost.html#GetOpenerWindowHandle()
  • Added TChromiumCore.MouseCursorChangeDisabled. https://magpcss.org/ceforum/apidocs3/projects/(default)/CefBrowserHost.html#IsMouseCursorChangeDisabled()
  • Removed the 'Print to PDF stream...' menu option from the MiniBrowser demo because it's only available in headless chrome.
The CEF binaries are the same as the previous update.

User avatar
salvadordf
Posts: 2640
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to CEF 85.3.12

Post by salvadordf » Fri Oct 02, 2020 12:30 pm

Hi,

CEF4Delphi is now updated to CEF 85.3.12 which includes Chromium 85.0.4183.121 :D

There are no other code changes in CEF or CEF4Delphi.

These are the CEF binaries :
  • 32 bits -> http://opensource.spotify.com/cefbuilds/cef_binary_85.3.12%2Bg3e94ebf%2Bchromium-85.0.4183.121_windows32.tar.bz2
  • 64 bits -> http://opensource.spotify.com/cefbuilds/cef_binary_85.3.12%2Bg3e94ebf%2Bchromium-85.0.4183.121_windows64.tar.bz2

User avatar
salvadordf
Posts: 2640
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: CEF4Delphi updates

Post by salvadordf » Thu Oct 08, 2020 2:45 pm

I just uploaded a new CEF4Delphi version with one new property :
GlobalCEFApp.EnableUsermediaScreenCapturing

That property adds --enable-usermedia-screen-capturing which has these comments :
Enable screen capturing support for MediaStream API.
The CEF binaries are the same as the previous CEF4Delphi version.

User avatar
salvadordf
Posts: 2640
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to CEF 86.0.14

Post by salvadordf » Wed Oct 14, 2020 8:27 am

Hi,

CEF4Delphi is now updated to CEF 86.0.14

These are the main changes in CEF :
  • Chromium 86.0.4240.75
  • Dark mode support : https://github.com/salvadordf/CEF4Delphi/issues/300

The CEF binaries are these :
  • 32 bits -> http://opensource.spotify.com/cefbuilds/cef_binary_86.0.14%2Bg0b3aeae%2Bchromium-86.0.4240.75_windows32.tar.bz2
  • 64 bits -> http://opensource.spotify.com/cefbuilds/cef_binary_86.0.14%2Bg0b3aeae%2Bchromium-86.0.4240.75_windows64.tar.bz2

User avatar
salvadordf
Posts: 2640
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to CEF 86.0.17

Post by salvadordf » Fri Oct 16, 2020 1:36 pm

Hi,

CEF4Delphi is now updated to CEF 86.0.17.

It doesn't have any relevant changes for us but it's the latest CEF version available.

The CEF binaries are these :
  • 32 bits -> http://opensource.spotify.com/cefbuilds/cef_binary_86.0.17%2Bg4a33048%2Bchromium-86.0.4240.75_windows32.tar.bz2
  • 64 bits -> http://opensource.spotify.com/cefbuilds/cef_binary_86.0.17%2Bg4a33048%2Bchromium-86.0.4240.75_windows64.tar.bz2
WARNING :
This version has a keyboard focus issue. There's no workaround at this moment.
https://github.com/salvadordf/CEF4Delphi/issues/309

Keep using the latest CEF4Delphi release with CEF 85 to avoid this issue :
https://github.com/salvadordf/CEF4Delphi/releases/latest

User avatar
salvadordf
Posts: 2640
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to CEF 86.0.18

Post by salvadordf » Sat Oct 24, 2020 10:38 am

Hi,

CEF4Delphi is now updated to CEF 86.0.18 which includes Chromium 86.0.4240.111

This is a security update in Chromium. Read this for more information :
https://www.zdnet.com/article/google-releases-chrome-security-update-to-patch-actively-exploited-zero-day/
https://chromium.googlesource.com/chromium/src/third_party/freetype2.git/+/refs/heads/chromium/branch-heads/4240%5E%21/

The CEF 86 binaries are these :
  • 32 bits -> http://opensource.spotify.com/cefbuilds/cef_binary_86.0.18%2Bgd3ead8b%2Bchromium-86.0.4240.111_windows32.tar.bz2
  • 64 bits -> http://opensource.spotify.com/cefbuilds/cef_binary_86.0.18%2Bgd3ead8b%2Bchromium-86.0.4240.111_windows64.tar.bz2
WARNING :
This version has a keyboard focus issue. There's no workaround at this moment.
https://github.com/salvadordf/CEF4Delphi/issues/309

Keep using the latest CEF4Delphi release with CEF 85 to avoid this issue :
https://github.com/salvadordf/CEF4Delphi/releases/latest

The CEF project also patched the previous release with Chromium 85 and you can use the patched CEF 85 binaries with the CEF4Delphi release mentioned before if you set GlobalCEFApp.CheckCEFFiles to FALSE. The latest CEF 85 binaries are these :
  • 32 bits -> http://opensource.spotify.com/cefbuilds/cef_binary_85.3.13%2Bgcd6cbe0%2Bchromium-85.0.4183.121_windows32.tar.bz2
  • 64 bits -> http://opensource.spotify.com/cefbuilds/cef_binary_85.3.13%2Bgcd6cbe0%2Bchromium-85.0.4183.121_windows64.tar.bz2

User avatar
salvadordf
Posts: 2640
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: CEF4Delphi updates

Post by salvadordf » Sun Oct 25, 2020 6:08 pm

I just added a new property to GlobalCEFApp called "BlinkSettings".

This property has the same possible values as the "--blink-settings" command line switch and it has this comments :
Set blink settings. Format is <name>[=<value],<name>[=<value>],... The names are declared in Settings.json5. For boolean type, use "true", "false", or omit '=<value>' part to set to true. For enum type, use the int value of the enum value. Applied after other command line flags and prefs.
The possible names and values for that property are here :
https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/frame/settings.json5

For example, you can disable the images by adding this before the GlobalCEFApp.StartMainProcess call in the DPR file :

Code: Select all

GlobalCEFApp.BlinkSettings := 'imagesEnabled=false';
The CEF binaries are the same as the last announcement.

WARNING :
This version has a keyboard focus issue. There's no workaround at this moment.
https://github.com/salvadordf/CEF4Delphi/issues/309

Keep using the latest CEF4Delphi release with CEF 85 to avoid this issue :
https://github.com/salvadordf/CEF4Delphi/releases/latest

User avatar
salvadordf
Posts: 2640
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to CEF 86.0.19

Post by salvadordf » Wed Oct 28, 2020 5:53 pm

Hi,

CEF4Delphi is now updated to CEF 86.0.19.

The issue #309 with the keyboard focus is now fixed in the CEF binaries! :D

The CEF binaries are these :
  • 32 bits -> http://opensource.spotify.com/cefbuilds/cef_binary_86.0.19%2Bg9c5fca5%2Bchromium-86.0.4240.111_windows32.tar.bz2
  • 64 bits -> http://opensource.spotify.com/cefbuilds/cef_binary_86.0.19%2Bg9c5fca5%2Bchromium-86.0.4240.111_windows64.tar.bz2

Locked