CEF4Delphi updates

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

Update to CEF 90.6.2

Post by salvadordf »

Hi,

I just updated CEF4Delphi to CEF 90.6.2.

This is what's new in CEF :
  • Chromium 90.0.4430.93 :D
  • Support configuration of accept language. Another improvement to the chrome windows with CEF callbacks : https://bitbucket.org/chromiumembedded/cef/commits/044c82849e23ceb07185e0612c37a1b19f2fa44d
This is what's fixed in CEF4Delphi :
  • Fixed a crash in the ConsoleBrowser2 for Lazarus in Windows.
  • Fixed a build issue in the URLRequest demo for Lazarus.
These are the CEF binaries :
  • Windows 32 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.2%2Bg5c92ffb%2Bchromium-90.0.4430.93_windows32.tar.bz2
  • Windows 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.2%2Bg5c92ffb%2Bchromium-90.0.4430.93_windows64.tar.bz2
  • Linux x86 32 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.2%2Bg5c92ffb%2Bchromium-90.0.4430.93_linux32.tar.bz2
  • Linux x86 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.2%2Bg5c92ffb%2Bchromium-90.0.4430.93_linux64.tar.bz2
  • Linux ARM 32 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.2%2Bg5c92ffb%2Bchromium-90.0.4430.93_linuxarm.tar.bz2
  • Linux ARM 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.2%2Bg5c92ffb%2Bchromium-90.0.4430.93_linuxarm64.tar.bz2
  • MacOS x86 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.2%2Bg5c92ffb%2Bchromium-90.0.4430.93_macosx64.tar.bz2
User avatar
salvadordf
Posts: 3067
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to CEF 90.6.3

Post by salvadordf »

Hi,

CEF4Delphi is now updated to CEF 90.6.3

This is what's new in CEF :
  • Restore async CreateBrowser behavior : https://bitbucket.org/chromiumembedded/cef/commits/c53c523f4dea8c267cc21485b50955c671e8fdf2
This is what's new in CEF4Delphi :
  • Enabled the "ChromeRuntime" mode to the TinyBrowser2 demo for Lazarus in Windows.
These are the CEF binaries :
  • Windows 32 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.3%2Bgc53c523%2Bchromium-90.0.4430.93_windows32.tar.bz2
  • Windows 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.3%2Bgc53c523%2Bchromium-90.0.4430.93_windows64.tar.bz2
  • Linux x86 32 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.3%2Bgc53c523%2Bchromium-90.0.4430.93_linux32.tar.bz2
  • Linux x86 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.3%2Bgc53c523%2Bchromium-90.0.4430.93_linux64.tar.bz2
  • Linux ARM 32 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.3%2Bgc53c523%2Bchromium-90.0.4430.93_linuxarm.tar.bz2
  • Linux ARM 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.3%2Bgc53c523%2Bchromium-90.0.4430.93_linuxarm64.tar.bz2
  • MacOS x86 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.3%2Bgc53c523%2Bchromium-90.0.4430.93_macosx64.tar.bz2
User avatar
salvadordf
Posts: 3067
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Documentation update

Post by salvadordf »

I just published a large change in the documentation page :
https://www.briskbard.com/index.php?lang=en&pageid=cef

It has a lot more detailed instructions for Windows, Linux and MacOS, and much better component and demo descriptions.

The procedures, properties and events of the main classes are here :
https://www.briskbard.com/index.php?lang=en&pageid=cefapp
https://www.briskbard.com/index.php?lang=en&pageid=cefchromium

I'm aware this is not a complete documentation but at least it has descriptions and links to other pages where you can see all the details.

The Spanish translation is incomplete at the moment.
User avatar
salvadordf
Posts: 3067
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to CEF 90.6.4

Post by salvadordf »

Hi,

CEF4Delphi is now updated to CEF 90.6.4

This is what's new in CEF :
  • Fix crash in OnGuestDetached when unloading PDF : https://bitbucket.org/chromiumembedded/cef/commits/f03d75a3334038990d679db70c346925114cd1bd
This is what's new in CEF4Delphi :
  • Added try..except blocks to TCustomRequestContextHandler and TCustomResourceRequestHandler events.
The CEF binaries are these :
  • Windows 32 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.4%2Bgf03d75a%2Bchromium-90.0.4430.93_windows32.tar.bz2
  • Windows 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.4%2Bgf03d75a%2Bchromium-90.0.4430.93_windows64.tar.bz2
  • Linux x86 32 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.4%2Bgf03d75a%2Bchromium-90.0.4430.93_linux32.tar.bz2
  • Linux x86 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.4%2Bgf03d75a%2Bchromium-90.0.4430.93_linux64.tar.bz2
  • Linux ARM 32 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.4%2Bgf03d75a%2Bchromium-90.0.4430.93_linuxarm.tar.bz2
  • Linux ARM 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.4%2Bgf03d75a%2Bchromium-90.0.4430.93_linuxarm64.tar.bz2
  • MacOS x86 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.4%2Bgf03d75a%2Bchromium-90.0.4430.93_macosx64.tar.bz2
User avatar
salvadordf
Posts: 3067
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to CEF 90.6.5

Post by salvadordf »

Hi,

CEF4Delphi has been updated to CEF 90.6.5

This is what's new in CEF :
  • Fix crash closing DevTools window : https://bitbucket.org/chromiumembedded/cef/commits/7a604aacf4bbbef0fc4d64185feb672f12880391
CEF4Delphi code has no changes this time.

These are the CEF binaries :
  • Windows 32 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.5%2Bg7a604aa%2Bchromium-90.0.4430.93_windows32.tar.bz2
  • Windows 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.5%2Bg7a604aa%2Bchromium-90.0.4430.93_windows64.tar.bz2
  • Linux x86 32 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.5%2Bg7a604aa%2Bchromium-90.0.4430.93_linux32.tar.bz2
  • Linux x86 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.5%2Bg7a604aa%2Bchromium-90.0.4430.93_linux64.tar.bz2
  • Linux ARM 32 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.5%2Bg7a604aa%2Bchromium-90.0.4430.93_linuxarm.tar.bz2
  • Linux ARM 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.5%2Bg7a604aa%2Bchromium-90.0.4430.93_linuxarm64.tar.bz2
  • MacOS x86 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.5%2Bg7a604aa%2Bchromium-90.0.4430.93_macosx64.tar.bz2
User avatar
salvadordf
Posts: 3067
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

MacOS support in Firemonkey!

Post by salvadordf »

The last update added a new FMX demo for MacOS called FMXExternalPumpBrowser. :D

It's still in development. Many features are not implemented and some other don't work correctly or don't work at all but you can load a web page and start navigating in MacOS!

Read the code comments in the main unit for all the details and expect many changes in the future.

Of course, this would have been impossible without the help from martin_fr who added MacOS support in Lazarus and Christoph Schneider who helped in the development of the FMX code.

Thank you very much! :D
User avatar
salvadordf
Posts: 3067
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to CEF 90.6.6

Post by salvadordf »

Hi,

CEF4Delphi is now updated to CEF 90.6.6.

There's only one change in the CEF code :
  • Restore support for CreateBrowserSync with NULL request_context : https://bitbucket.org/chromiumembedded/cef/commits/3c44b04c4ebefee6e49bf1fed8ab1bff6f737da1
This is what's new in CEF4Delphi since the last announcement :
  • Fixed colors in FMXExternalPumpBrowser for MacOS.
  • Added functions to copy the CEF binaries and the CEF helpers automatically to FMXExternalPumpBrowser for MacOS.
  • Added TFMXBufferPanel.OnResized.
  • Added more comments with missing functionality in Linux and MacOS.
  • Disable TNetEncoding calls for older Delphi versions in the MiniBrowser demo.
The FMXExternalPumpBrowser demo for MacOS is still in ALPHA state. I'm still learning how the Objective-C to Delphi bridge works. That's required to implement the remaining features in that demo.

These are the CEF binaries :
  • Windows 32 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.6%2Bg3c44b04%2Bchromium-90.0.4430.93_windows32.tar.bz2
  • Windows 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.6%2Bg3c44b04%2Bchromium-90.0.4430.93_windows64.tar.bz2
  • Linux x86 32 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.6%2Bg3c44b04%2Bchromium-90.0.4430.93_linux32.tar.bz2
  • Linux x86 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.6%2Bg3c44b04%2Bchromium-90.0.4430.93_linux64.tar.bz2
  • Linux ARM 32 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.6%2Bg3c44b04%2Bchromium-90.0.4430.93_linuxarm.tar.bz2
  • Linux ARM 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.6%2Bg3c44b04%2Bchromium-90.0.4430.93_linuxarm64.tar.bz2
  • MacOS x86 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.6%2Bg3c44b04%2Bchromium-90.0.4430.93_macosx64.tar.bz2
User avatar
salvadordf
Posts: 3067
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to CEF 90.6.7

Post by salvadordf »

Hi,

CEF4Delphi is now updated to CEF 90.6.7 which includes Chromium 90.0.4430.212. :D

This is what's new in CEF4Delphi since the last announcement :
  • Added CrAppProtocol protocol implementation to FMXExternalPumpBrowser for MacOS.
  • Added keyboard support to FMXExternalPumpBrowser for MacOS.
  • Added workaround to avoid a crash when the user clicks the right mouse button in FMXExternalPumpBrowser for MacOS.
  • Added the click count to the mouse events to FMXExternalPumpBrowser2 for Linux thanks to Christoph Schneider.
  • Added the ShowMessageCF function to show a message dialog in MacOS.
  • Added calls to FMX.Types.Log.d to write error messages in Firemonkey for Linux and MacOS.
  • Added X11 error handling functions to FMXExternalPumpBrowser2 for Linux thanks to Christoph Schneider.
  • Added uCEFMacOSConstants and uCEFMacOSFunctions units for MacOS.
  • Replaced TThread.Queue for TThread.ForceQueue to avoid executing that method immediately in some cases.
The Firemonkey demos for Linux and MacOS are still in experimental state and they still have some issues.

These are the CEF binaries :
  • Windows 32 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.7%2Bg19ba721%2Bchromium-90.0.4430.212_windows32.tar.bz2
  • Windows 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.7%2Bg19ba721%2Bchromium-90.0.4430.212_windows64.tar.bz2
  • Linux x86 32 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.7%2Bg19ba721%2Bchromium-90.0.4430.212_linux32.tar.bz2
  • Linux x86 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.7%2Bg19ba721%2Bchromium-90.0.4430.212_linux64.tar.bz2
  • Linux ARM 32 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.7%2Bg19ba721%2Bchromium-90.0.4430.212_linuxarm.tar.bz2
  • Linux ARM 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.7%2Bg19ba721%2Bchromium-90.0.4430.212_linuxarm64.tar.bz2
  • MacOS x86 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_90.6.7%2Bg19ba721%2Bchromium-90.0.4430.212_macosx64.tar.bz2
User avatar
salvadordf
Posts: 3067
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: CEF4Delphi updates

Post by salvadordf »

Hi,

The last update fixed some issues in the demos and added a new kind of work scheduler for Linux and MacOS called TCEFTimerWorkScheduler.

TCEFTimerWorkScheduler is only recommended for FMX demos in Linux and MacOS because those systems have issues if you try to use TCEFWorkScheduler or TFMXWorkScheduler.

TCEFTimerWorkScheduler uses a TCustomCocoaTimer in MacOS or a TTimer in other operating systems.

The Firemonkey MacOS demo also uses the uFMXApplicationService unit to replace IFMXApplicationService. This is necessary to implement the CrAppProtocol, which is a Chromium requirement in that OS.

Firemonkey doesn't allow to subclass NSApplication in MacOS and that means that the CrAppProtocol implementation doesn't work 100% of the times. For that reason the context menu and JavaScript dialogs in the browser have to be replaced in order to avoid crashes.

This is what's new :
  • Added TCEFTimerWorkScheduler.
  • Moved the GlobalCEFWorkScheduler creation after the GlobalCEFApp creation in all demos using it.
  • Replaced TCEFWorkScheduler by TCEFTimerWorkScheduler in FMX demos for Linux and MacOS.
  • Fixed context menu issue in FMXExternalPumpBrowser2 for Linux
  • Fixed stability issues in FMXExternalPumpBrowser for MacOS
  • Fixed 32bit build issues in TinyBrowser and ToolBoxBrowser2 demos.
  • Added uCEFMacOSInterfaces and uCEFMacOSCustomCocoaTimer.
The CEF binaries are the same as the previous update.
User avatar
salvadordf
Posts: 3067
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Update to CEF 91.1.12

Post by salvadordf »

Hi,

CEF4Delphi has been updated to CEF 91.1.12 which includes Chromium 91.0.4472.101.

CEF has no other relevant changes for us but CEF4Delphi received several improvements since the last update in the Firemonkey demos for MacOS and Linux thanks to Christoph Schneider. :D

These are the CEF binaries used in this version :
  • Windows 32 bits -> https://cef-builds.spotifycdn.com/cef_binary_91.1.12%2Bgcf0c26a%2Bchromium-91.0.4472.101_windows32.tar.bz2
  • Windows 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_91.1.12%2Bgcf0c26a%2Bchromium-91.0.4472.101_windows64.tar.bz2
  • Linux x86 32 bits -> https://cef-builds.spotifycdn.com/cef_binary_91.1.12%2Bgcf0c26a%2Bchromium-91.0.4472.101_linux32.tar.bz2
  • Linux x86 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_91.1.12%2Bgcf0c26a%2Bchromium-91.0.4472.101_linux64.tar.bz2
  • Linux ARM 32 bits -> https://cef-builds.spotifycdn.com/cef_binary_91.1.12%2Bgcf0c26a%2Bchromium-91.0.4472.101_linuxarm.tar.bz2
  • Linux ARM 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_91.1.12%2Bgcf0c26a%2Bchromium-91.0.4472.101_linuxarm64.tar.bz2
  • MacOS x86 64 bits -> https://cef-builds.spotifycdn.com/cef_binary_91.1.12%2Bgcf0c26a%2Bchromium-91.0.4472.101_macosx64.tar.bz2
Locked