Page 1 of 1

Latest CEF4Delphi update

Posted: Mon Nov 11, 2019 11:03 am
by salvadordf
Hi,

In the recent days CEF4Delphi has received multiple code contributions made by Andreas Hausladen (ahausladen in GitHub).
Thank you very much! :D

The changes are these :
  • The default proxy type is now "SYSTEM".
  • Improved compatibility with the debug CEF libraries.
  • Fixed GlobalCEFApp.ProcessType parsing.
  • Fixed the issue #130 : https://github.com/salvadordf/CEF4Delphi/issues/130
  • Created the uCEFApplicationCore.pas unit to fix some issues with the subprocesses and the debug CEF libraries.
  • Created the uCEFChromiumCore.pas unit to unify most of the repeated code in uCEFChromium.pas and uCEFFMXChromium.pas
  • Fixed some Lazarus/FPC building issues in Linux.
If your applications used a different EXE for the subprocesses it's recommended that you make a couple of small changes in the subprocess DPR file :
  • Replace uCEFApplication by uCEFApplicationCore in the uses section.
  • Replace TCefApplication.Create by TCefApplicationCore.Create when you create GlobalCEFApp.
See the "SubProcess" demo.

The fix for the issue #130 means that we can intercept all Windows messages at all times. The MiniBrowser demo uses this to show the mouse pointer coordinates.

Except for the subprocess changes, it's not necessary to change anything in the code of other applications.

The CEF binaries are the same as the CEF 78.3.1 update :
https://www.briskbard.com/forum/viewtop ... f=8&t=1023

WARNING :
The shutdown and resize issues in OSR mode are still present. Use the latest release version if you need a stable component :
https://github.com/salvadordf/CEF4Delph ... ses/latest