BREAKING CHANGES

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

Re: BREAKING CHANGES

Post by salvadordf » Wed Mar 04, 2020 8:57 am

The commit made on March 4th, 2020 had a different way to handle usernames and password for proxies :
https://github.com/salvadordf/CEF4Delphi/commit/f4dd3e69a3f6f77f99415289f6b950c99659e51a

CEF4Delphi will use the TChromium.ProxyUsername and TChromium.ProxyPassword properties only when TChromium.ProxyType has a CEF_PROXYTYPE_FIXED_SERVERS value.

All other TChromium.ProxyType values will trigger the TChromium.OnGetAuthCredentials event. The application should ask the user for the credentials, make a copy and use it again in later requests with this code :

Code: Select all

callback.cont(username, password);

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

Re: BREAKING CHANGES

Post by salvadordf » Fri Mar 20, 2020 10:20 am

The commit made on March 18th, 2020 fixed a bug with SELECT elements and it required different arguments in the TBufferPanel.BufferDraw and TFMXBufferPanel.BufferDraw procedures.

The OSR demos now have a slightly different implementation of the TChromium.OnPaint event for the same reason.

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

Re: BREAKING CHANGES

Post by salvadordf » Sun Mar 29, 2020 3:43 pm

The update to CEF 80.1.2 removed 2 events because they were redundant :
  • TBufferPanel.OnWrongSize
  • TFMXBufferPanel.OnWrongSize

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

Re: BREAKING CHANGES

Post by salvadordf » Wed Apr 22, 2020 11:22 am

The update to CEF 81.2.21 changed the margin properties in TChromium.PDFPrintOptions from DOUBLE to INTEGER.

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

Re: BREAKING CHANGES

Post by salvadordf » Sat May 23, 2020 1:23 pm

The update to CEF 83.3.9 released on May 23rd, 2020 had different declarations for TCefCookie and TCookie.
Some functions and events related to cookies have 2 new parameters called "same_site" and "priority".

Read the announcement for more information :
https://www.briskbard.com/forum/viewtopic.php?f=8&t=1330

Post Reply