Page 1 of 1

CEF4Delphi update

Posted: Tue Jul 18, 2017 4:01 pm
by salvadordf
Hi,

I just uploaded a bunch of fixes and new features in CEF4Delphi.

This is what's new :
  • Bug fix #33 : Drag and drop is now supported in OSR mode.
  • Improved keyboard handling in OSR mode.
  • MiniBrowser demo : The DOM visitor and the Javascript extensions now send customized results to the main form.
  • Fixed some CEF3 variable definitions.
If you need to add drag and drop support in a OSR browser you have to call TChromium.InitializeDragAndDrop and TChromium.ShutdownDragAndDrop in the creation and destruction form events.

Several events in the SimpleOSRBrowser were modified or added to improve the focus and keyboard handling.

Re: CEF4Delphi update

Posted: Wed Jul 19, 2017 10:18 am
by salvadordf
I uploaded a new version of CEF4Delphi including these bug fixes :
  • bug #43 : backwards compatibility.
  • The functions that check the CEF3 binaries had a couple of BIN files in the wrong category.

Re: CEF4Delphi update

Posted: Mon Jul 24, 2017 5:48 pm
by xpert13
Delphi 2010. Installation errors:

Code: Select all

[DCC Warning] uCEFDragAndDropMgr.pas(343): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warning] uCEFDragAndDropMgr.pas(343): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Error] uCEFDragAndDropMgr.pas(344): E2250 There is no overloaded version of 'FmtStr' that can be called with these arguments
[DCC Warning] uCEFDragAndDropMgr.pas(345): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warning] uCEFDragAndDropMgr.pas(347): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Error] uCEFDragAndDropMgr.pas(348): E2250 There is no overloaded version of 'FmtStr' that can be called with these arguments
[DCC Warning] uCEFDragAndDropMgr.pas(349): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warning] uCEFDragAndDropMgr.pas(351): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Error] uCEFDragAndDropMgr.pas(352): E2250 There is no overloaded version of 'FmtStr' that can be called with these arguments
[DCC Warning] uCEFDragAndDropMgr.pas(353): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warning] uCEFDragAndDropMgr.pas(355): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Error] uCEFDragAndDropMgr.pas(356): E2250 There is no overloaded version of 'FmtStr' that can be called with these arguments
[DCC Warning] uCEFDragAndDropMgr.pas(357): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warning] uCEFDragAndDropMgr.pas(434): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warning] uCEFDragAndDropMgr.pas(439): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Fatal Error] CEF4Delphi.dpk(156): F2063 Could not compile used unit 'uCEFDragAndDropMgr.pas'
Function FmtStr can take only Strings arguments, not AnsiString.

Re: CEF4Delphi update

Posted: Mon Jul 24, 2017 9:02 pm
by salvadordf
I'll take a look as soon as I can. :oops:

Re: CEF4Delphi update

Posted: Tue Jul 25, 2017 10:26 am
by salvadordf
Hi,

I uploaded several small bug fixes and improvements :
  • Fixed the functions to get the certificate issuer chains : TCEFX509CertificateRef.GetDEREncodedIssuerChain and TCEFX509CertificateRef.GetPEMEncodedIssuerChain.
  • Replaced FmtStr by a custom function for backwards compatibility.
  • Added the property TCEFApplication.EnableGPU.
  • Updated cef.inc to include the latest Delphi versions.