Page 1 of 1

Update to CEF 3.3239.1700.g385b2d4

Posted: Mon Dec 18, 2017 6:52 pm
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 :

Re: Update to CEF 3.3239.1700.g385b2d4

Posted: Mon Dec 18, 2017 7:25 pm
by salvadordf
I forgot to add that there will be a new CEF3 update very soon which includes Chromium 63.0.3239.109.

Re: Update to CEF 3.3239.1700.g385b2d4

Posted: Tue Dec 19, 2017 5:26 pm
by thefunkyjoint
Awesome, thanks again for your work ! :)