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.

CEF4Delphi update

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

CEF4Delphi update

Post 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.
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: CEF4Delphi update

Post 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.
User avatar
xpert13
Posts: 39
Joined: Wed May 31, 2017 5:26 pm

Re: CEF4Delphi update

Post 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.
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: CEF4Delphi update

Post by salvadordf »

I'll take a look as soon as I can. :oops:
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: CEF4Delphi update

Post 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.
Post Reply