Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

Update to CEF 3.3239.1700.g385b2d4

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

Update to CEF 3.3239.1700.g385b2d4

Post by salvadordf »

Hi,

I just uploaded the CEF4Delphi update to CEF 3.3239.1700.g385b2d4 which includes Chromium 63.0.3239.70

This is what's new :
  • Update to CEF 3.3239.1700.g385b2d4
  • New TCEFServerComponent. The new CEF3 includes a http and websockets server for communication between applications in localhost.
  • New JSDialogBrowser demo to show how to use custom forms in javascript dialogs.
  • New SimpleServer demo which uses TCEFServerComponent.
  • Removed all the code that could be removed from the DPR files and moved to another units.
  • Now the GlogalCEFApp checks all the CEF3 binaries and stores the missing files in GlogalCEFApp.MissingLibFiles. The default error message gives a list of missing files.
  • New GlobalCEFApp.Status property. Use it with GlobalCEFApp.ShowMessageDlg set to False if you want to show customized error messages.
  • Now TCEFClient only creates the necessary handlers if you use any of their events in TChromium.
  • Fixed a destruction bug in OSRExternalPumpBrowser
  • Added the procedures to handle WM_ENTERMENULOOP and WM_EXITMENULOOP to all the demos.
ATTENTION : There's a known bug if you use the events TChromium.OnJsdialog, TChromium.OnBeforeUnloadDialog, TChromium.OnResetDialogState or TChromium.OnDialogClosed. If you let CEF3 use the default JS dialogs while you use any of those events your app will crash. While this bug is being fixed you can do any of these workarounds :
  • Don't use any of the TChromium.OnJsdialog, TChromium.OnBeforeUnloadDialog, TChromium.OnResetDialogState or TChromium.OnDialogClosed events.
  • Use TChromium.OnJsdialog and set suppressMessage to True and Result to False. This will suppress all JS dialogs.
  • Show customized JS dialogs. This, in fact, is recommended by CEF3 and the new JSDialogBrowser demo shows how to do it.
The CEF3 binaries used are these :
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Update to CEF 3.3239.1700.g385b2d4

Post by salvadordf »

I forgot to add that there will be a new CEF3 update very soon which includes Chromium 63.0.3239.109.
thefunkyjoint
Posts: 513
Joined: Thu Aug 10, 2017 12:40 pm

Re: Update to CEF 3.3239.1700.g385b2d4

Post by thefunkyjoint »

Awesome, thanks again for your work ! :)
Post Reply