Commit Graph

179 Commits

Author SHA1 Message Date
Salvador Díaz Fau
1ee9290040 Merge branch 'master' of https://github.com/salvadordf/CEF4Delphi 2018-10-03 13:08:26 +02:00
Salvador Díaz Fau
0a4ae46c0d Update to CEF 3.3497.1836.gb472a8d 2018-10-03 13:08:23 +02:00
Alexey Shumkin
16a676128f
improve: allow to disable extensions (cef_extensions.pak)
Some projects does not use extenstions, so there is no need to include
`cef_extensions.pak` into a project, but CEF4Delphi requires it.

Make able to disable extensions. Let's introduce the method
`DisableExtensions` which will disable the file check for
`cef_extensions.pak` and will add the `--disable-extensions` command
line option.
2018-10-03 12:36:30 +03:00
Salvador Díaz Fau
24041982ca Update to CEF 3.3497.1834.g0a87d5f 2018-09-28 14:37:54 +02:00
Salvador Díaz Fau
f76630c49f Removed the Offset parameter in TCefApplication.RenameAndDeleteDir 2018-09-26 14:41:56 +02:00
Salvador Díaz Fau
d556c9f3f1 Update to CEF 3.3497.1833.g13f506f 2018-09-23 11:29:38 +02:00
Salvador Díaz Fau
1fad63a2ea Update to CEF 3.3497.1831.g461fa1f 2018-09-21 14:33:22 +02:00
Salvador Díaz Fau
351756834e Lazarus/FPC compatibility fixed 2018-09-19 13:27:23 +02:00
Salvador Díaz Fau
833d50134a Delete the cache and cookies directories in a thread 2018-09-18 15:19:44 +02:00
Salvador Díaz Fau
0cf7c5f6b3 Update to CEF 3.3497.1829.g004ef91
- Added the TCEFLinkedWindowParent component.
2018-09-16 10:39:41 +02:00
Salvador Díaz Fau
8ebb5fb527 Fixed release version check 2018-09-07 12:58:51 +02:00
Salvador Díaz Fau
7e270aa8ca Update to CEF 3.3497.1827.ga4f7e36
- Added option to load PDF files in the MiniBrowser demo.
- Now the ResponseFilterBrowser replaces the logo with an external PNG file.
2018-09-07 11:53:31 +02:00
Salvador Díaz Fau
7342cccbb5 Added more error information to TCefApplication.CheckCEFLibrary
TCefApplication.CheckCEFLibrary now shows the binaries version and it also checks that the DLL and the application are compiled for the same architecture.
2018-09-02 13:11:43 +02:00
Salvador Díaz Fau
208c8b1b19 Update to CEF 3.3440.1806.g65046b7 2018-08-29 12:53:10 +02:00
Salvador Díaz Fau
5bc37a52ad Added GlobalCEFApp.AutoplayPolicy property 2018-08-23 14:24:18 +02:00
Salvador Díaz Fau
87d7b40568 Update to CEF 3.3440.1805.gbe070f9 2018-08-04 11:06:18 +02:00
Salvador Díaz Fau
90b870fc78 Moved cookie path initialization to a thread
- Moved cookie path initialization to a thread. That thread uses a waitableevent and a callback to wait until the cookiemanager is initialized before setting the storage path.
- Added TCefEventCompletionCallback
- Changed TCefWaitableEventRef.New parameters to boolean
2018-08-01 10:00:23 +02:00
Salvador Díaz Fau
eba3058fd5 Update to CEF 3.3440.1802.g9512b3f
- GlobalCEFApp.SitePerProcess default value is now TRUE .
- Added TChromium.SpellChecking and TChromium.SpellCheckerDicts properties.
2018-07-31 09:47:43 +02:00
Salvador Díaz Fau
08977db610 Update to CEF 3.3396.1786.gd3e36d0 2018-07-22 14:55:27 +02:00
Salvador Díaz Fau
eec3ad39d3 Update to CEF 3.3396.1785.ga27bbfa 2018-07-11 09:51:22 +02:00
Salvador Díaz Fau
665602e6c7 Update to CEF 3.3396.1783.g1856231
- Added the DLLBrowser demo.
2018-07-06 16:23:36 +02:00
mronkain
d26e42ba17 Use FSetCurrentDir in CheckCEFLibrary as well so that the resource checking is done from the right place when the working directory is different from the executable location. 2018-07-03 15:54:50 +03:00
Salvador Díaz Fau
8d60702852 Update to CEF 3.3396.1782.gc368dbf 2018-06-29 10:45:17 +02:00
Salvador Díaz Fau
bf402109bf Added GlobalCEFApp.DisablePDFExtension property
- Bug fix #89
- New SimpleLazOSRBrowser demo
2018-06-17 14:18:11 +02:00
Salvador Díaz Fau
bde2aeef85 Update to CEF 3.3396.1777.g636f29b
More GlobalCEFApp checks in uCEFMiscFunctions.pas
2018-06-11 09:01:38 +02:00
Salvador Díaz Fau
ac8a3358fa Removed the GlobalCEFApp.EnableSpellingService property
The --enable-spelling-service parameter doesn't work. The spell checker uses local files, not the online service.
2018-06-06 15:18:14 +02:00
Salvador Díaz Fau
67b9ecc578 Update to CEF 3.3396.1775.g5340bb0
- Bug fix #117
- ResponseFilterBrowser now ignores the Content-Length is it has a compressed size
2018-06-03 17:18:54 +02:00
Salvador Díaz Fau
8000e45198 CEF Views type and interface definitions
- Added some Linux and MacOS initialization (doesn't work yet)
- GlobalCEFApp.MustFreeLibrary is now FALSE by default.
- GlobalCEFApp set to nil in all demos.
- ResponseFilterBrowser now uses the critical section in Chromium1ResourceLoadComplete.
- Added overloaded TChromium.LoadURL to load a URL in a frame.
- Added url and cookiename parameters to TChromium.DeleteCookies to delete the cookies from that url and/or name.
2018-05-24 19:15:41 +02:00
Salvador Díaz Fau
d9e7da9b31 Update to CEF 3.3359.1774.gd49d25f 2018-05-18 11:44:44 +02:00
Salvador Díaz Fau
dae14bed08 Fixed issue #110 : Correct NativeInt and NativeUInt declaration in FPC 2018-05-14 16:12:21 +02:00
Salvador Díaz Fau
dd5f7f42c4 Added support for Lazarus/FPC (windows 32bit) 2018-05-12 14:50:54 +02:00
Salvador Díaz Fau
fba45f4e23 Update to CEF 3.3359.1772.gd1df190 2018-05-07 10:53:47 +02:00
Salvador Díaz Fau
c87743849d Update to CEF 3.3359.1769.gd0bfc4d 2018-04-30 14:44:09 +02:00
Salvador Díaz Fau
cf784aba5f Update to CEF 3.3359.1768.g8e7c5d6 2018-04-20 12:45:06 +02:00
Salvador Díaz Fau
d230010fa9 Update to CEF 3.3325.1758.g9aea513 and new SimpleFMXBrowser demo 2018-04-18 10:25:38 +02:00
Salvador Díaz Fau
f483c86b5d Now relative paths in GlobalCEFApp properties are converted to absolute paths automatically 2018-04-10 12:26:35 +02:00
Salvador Díaz Fau
eae6172ef3 Added the TCefApplication.MustFreeLibrary property 2018-04-04 15:55:57 +02:00
Salvador Díaz Fau
2c4fa2c94f Update to CEF 3.3325.1756.g6d8faa4 2018-03-31 18:08:18 +02:00
Salvador Díaz Fau
6fa50706a1 Update to CEF 3.3325.1755.g7c74b17 2018-03-29 20:02:04 +02:00
Salvador Díaz Fau
15581a9c06 Update to CEF 3.3325.1749.ga42963a 2018-03-17 11:12:03 +01:00
Salvador Díaz Fau
368479b0eb Update to CEF 3.3325.1746.ge81cdf2 2018-03-08 11:47:04 +01:00
Salvador Díaz Fau
f49888c147 Update to CEF 3.3282.1741.gcd94615
TChromium.CreateBrowser and TFMXChromium.CreateBrowser are now virtual
2018-02-24 09:38:25 +01:00
Salvador Díaz Fau
a2ad188dc5 Added more conditional cmpilation for Windows
- Fixed bug with space char in OSR mode.
- SimpleOSRBrowser demo now follows the destruction sequence steps for browsers in OSR mode.
2018-02-19 13:35:01 +01:00
Salvador Díaz Fau
961e90bfbe Update to CEF 3.3282.1733.g9091548 2018-02-13 20:16:24 +01:00
Salvador Díaz Fau
28bf09272d Added two optional properties to GlobalCEFApp to wait for the child processes before shutting down.
Added GlobalCEFApp.WaitForChildProcesses and GlobalCEFApp.WaitTime.
2018-02-10 18:53:22 +01:00
Salvador Díaz Fau
579b3a9457 Update to CEF 3.3282.1732.g973997f 2018-02-08 12:45:25 +01:00
Salvador Díaz Fau
e29989623e Update to CEF 3.3282.1731.gfc9a4fa
- Chromium 64.0.3282.119 which should include partial MP3 support.
- Fixed stability issues when you closed the browser due to circular interface references.
- Fixed TCefRTTIExtension thanks to Pier.
- Added the JSRTTIExtension demo to test TCefRTTIExtension.
- Added the TCustomResponseFilter class to filter the resource contents.
- Added the ResponseFilterBrowser demo to test the new TCustomResponseFilter class.
2018-02-03 17:52:48 +01:00
Salvador Díaz Fau
b47a8e2d52 FireMonkey support added
- New Delphi package called CEF4Delphi_FMX.dpk that includes VCL and FMX components.
- New FMX comopnents : TFMXChromium, TFMXBufferPanel and TFMXWorkScheduler.
- New FMX demo :  FMXExternalPumpBrowser
- Improved WorkScheduler for VCL too.
- New GlobalCEFApp.DisableWebSecurity property.
2018-01-25 21:34:04 +01:00
Salvador Díaz Fau
6c5d5d6036 Update to CEF 3.3239.1723.g071d1c1
- New MDIExternalPumpBrowser demo.
- New JSWindowBindingSubProcess demo.
- Added more comments and checks in some initialization functions of TCEFApplication.
2018-01-06 15:25:32 +01:00
Salvador Díaz Fau
f9ea47984b Added GlobalCEFApp.SitePerProcess property 2018-01-05 12:26:56 +01:00
Salvador Díaz Fau
2f89f8a609 Update to CEF 3.3239.1720.g1ad5e2a
TChromium.DeleteCookies now uses the right cookie manager in custom request contexts.
2018-01-05 11:59:25 +01:00
Salvador Díaz Fau
a334640b24 Update to CEF 3.3239.1716.g735b746
- Added a HTTP, SOCKS4 and SOCKS5 combobox to the proxy preferences in the MiniBrowser.
- Added more comments to DOMVisitor.
2017-12-30 09:54:26 +01:00
Salvador Díaz Fau
9c9a9f59c7 Update to CEF 3.3239.1710.g85f637a
Fixed an initialization bug in MDIBrowser, TabBrowser and ToolBoxBrowser
Added several procedures to clear interface and class references before destruction
2017-12-27 14:05:33 +01:00
Salvador Díaz Fau
7ab81f5233 Update to CEF 3.3239.1709.g093cae4 2017-12-22 12:03:15 +01:00
Salvador Díaz Fau
df5504af4c Update to CEF 3.3239.1705.gf6d6dfc 2017-12-20 09:36:48 +01:00
Salvador Díaz Fau
26c6f6696d 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 showhow 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 their events in TChromium.
- Fixed a destruction bug in OSRExternalPumpBrowser
- Added the procedures to handle WM_ENTERMENULOOP and WM_EXITMENULOOP to all the demos.
2017-12-18 19:38:56 +01:00
Salvador Díaz Fau
afa069b776 Update to CEF 3.3202.1694.gf061c23
- fixed MDIBrowser demo and added some crude initialization checks
2017-12-14 10:31:24 +01:00
Salvador Díaz Fau
14425b01ae Update to CEF 3.3202.1693.g6adf855 2017-12-07 10:49:51 +01:00
Salvador Díaz Fau
77f488d7db Fixed TCefApplication.QuitMessageLoop 2017-12-05 12:13:15 +01:00
Salvador Díaz Fau
751fe924b7 Update to CEF 3.3202.1690.gcd6b88f
- Update to CEF 3.3202.1690.gcd6b88f
- Bug fix #71
- Added the TCEFWorkScheduler class to handle the cef_do_message_loop_work calls when you use an external message pump.
- Added 2 demos using the "external message pump" mode.
- Added a TakeSnapshot function to the TChromium and TCEFWindowParent to take snapshots in non-OSR mode.
2017-12-05 10:02:07 +01:00
Salvador Díaz Fau
f5f1a767c9 bug fix #68 2017-11-25 19:04:15 +01:00
Salvador Díaz Fau
b54a2861c4 Bug fix #68
RenderProcessHandler and ResourceBundleHandler are now created automatically in TCEFApplication. All their events are now TCEFApplication events.
2017-11-22 17:43:48 +01:00
Salvador Díaz Fau
ac54a086f4 Update to CEF 3.3202.1684.gd665578
- Removed the Graphics32 dependency in SimpleOSRBrowser demo. Now this demo uses a custom component called TBufferPanel included in CEF4Delphi.
- Now SimpleOSRBrowser demo draws the "select" elements.
- Fixed a bug in SimpleOSRBrowser with high DPI monitors. The new paint function works with all client sizes.
2017-11-16 12:49:15 +01:00
Salvador Díaz Fau
45d585970d Update to CEF 3.3202.1683.gb095524 2017-11-09 10:33:20 +01:00
Salvador Díaz Fau
f5d1c6285a Update to CEF 3.3202.1678.g28f27be 2017-11-02 09:20:37 +01:00
Salvador Díaz Fau
8becf848e9 Update to CEF 3.3202.1677.gd04a869 2017-11-01 09:38:38 +01:00
Salvador Díaz Fau
38098cc91b GPU Hardware acceleration disabled by default 2017-10-29 22:00:48 +01:00
Salvador Díaz Fau
bb83979092 GlobalCEFApp initialization changes
Added a custom BrowserProcessHandler to GlobalCEFApp to know when the global context is initialized and it's allowed to set the custom cookies directory and to create browsers.
2017-10-28 10:53:51 +02:00
Salvador Díaz Fau
26f286cae7 Update to CEF 3.3202.1674.g2a991c4 2017-10-26 13:23:13 +02:00
Salvador Díaz Fau
87d11774bd Added TCEFApplication.CustomFlashPath property
Added TCEFApplication.CustomFlashPath property.
Added default values to some parameters in CheckLocales and CheckResources o keep backwards compatibility.
2017-10-24 20:44:51 +02:00
Alexey Shumkin
e40716e7aa improve: allow to require specific locales only
Some projects may use specific languages only, so, there is not need to
include unused languages into a project, but CEF4Delphi requires it.

Make able to require specific locales only.
2017-10-24 18:39:11 +03:00
Alexey Shumkin
365bd1eeaf improve: allow to ignore devtools_resources.pak absence
Some projects does not use DevTools, so there is no need to include
devtools_resources.pak into a project, but CEF4Delphi requires it.

Make able to ignore devtools_resources.pak absence.
2017-10-24 18:05:51 +03:00
Salvador Díaz Fau
3c707bb104 Now TCEFApplication sets back the old directory after the DLLs are loaded 2017-10-09 14:59:46 +02:00
Salvador Díaz Fau
4cddbb069b Added GetModulePath to uCEFMiscFunctions.pas 2017-10-09 13:06:45 +02:00
Salvador Díaz Fau
07ee3fd484 Added TCefApplication.SetCurrentDir property to set the current directory before loading the CEF libraries 2017-10-06 16:28:28 +02:00
Salvador Díaz Fau
6dbaa022da Added TCefApplication.ShowMessageDlg property to hide the MessageDlg dialogs 2017-10-05 16:03:02 +02:00
Salvador Díaz Fau
5790d86fbf Bug fix #37
Initialization fix
2017-10-03 14:38:37 +02:00
Salvador Díaz Fau
43412f48d1 Reverted deleted interface 2017-10-02 18:41:55 +02:00
Salvador Díaz Fau
659092bb37 Removed unused interface and more pointer checks 2017-10-02 17:56:56 +02:00
Salvador Díaz Fau
d338c416fd Update to CEF 3.3163.1671.g700dc25 2017-10-02 11:36:22 +02:00
Salvador Díaz Fau
43cb86a823 Added the possibility to use independent request contexts when creating browsers
- Modified MDIBrowser demo to test the child browsers with independent request contexts.
2017-09-29 18:42:12 +02:00
Salvador Díaz Fau
9c33c49353 Update to CEF 3.3163.1670.g934eaba
- Added 2 overloaded versions of TChromium.RetrieveHTML
- Modified TCefBrowserRef.GetFrameIdentifiers and TCefBrowserRef.GetFrameNames functions
2017-09-24 12:48:04 +02:00
Salvador Díaz Fau
df5dce37fc Update to CEF 3.3163.1669.ge260cbb and new demo 2017-09-23 11:38:29 +02:00
Salvador Díaz Fau
d85112902c Cookie manager initialization bug fixed
The custom cookie directory is now used in the GlobalCEFApp initialization instead of setting a TChromium property
2017-09-20 11:15:04 +02:00
Salvador Díaz Fau
4e390071a2 Update to CEF 3.3163.1666.g052c2d2
Added some units for future extension support.
2017-09-19 19:18:52 +02:00
Salvador Díaz Fau
58bd16c441 Delphi 2009 compatibility fixes 2017-09-17 13:06:45 +02:00
Salvador Díaz Fau
968356f197 Update to CEF 3.3163.1663.g416ffeb 2017-09-13 10:25:52 +02:00
Salvador Díaz Fau
379272e643 Update to CEF 3.3112.1659.gfef43e0
- Update to CEF 3.3112.1659.gfef43e0
- Bug Fix #49
- Added longer error messages if the CEF binaries are not available.
- Added the AfterCreated event in TChromiumWindow.
- Added a 'Take a snapshot' button in the OSR demo.
2017-09-07 10:58:09 +02:00
Salvador Díaz Fau
383a1998ca Update to CEF 3.3112.1658.g3d5ae83
- Update to CEF 3.3112.1658.g3d5ae83
- Added an example of binary paramenters in the JSEval demo.
2017-09-01 22:44:58 +02:00
Salvador Díaz Fau
f3c1619d97 Update to CEF 3.3112.1657.g2c22842 2017-08-29 13:59:11 +02:00
Salvador Diaz Fau
e25672e6b5 Update to CEF 3.3112.1656.g9ec3e42 and new demos 2017-08-12 16:23:03 +02:00
Salvador Diaz Fau
cf1b0f0aab Update to CEF 3.3112.1655.gd97fbff 2017-08-10 20:27:10 +02:00
Salvador Diaz Fau
25b3e9bc9b Update to CEF 3.3112.1649.g0dba8a1 2017-07-29 14:06:52 +02:00
Salvador Diaz Fau
d2dd8fe5c7 Added high DPI support in OSR demo
- Added high DPI support in OSR demo
- Added cef.inc files in all demos
- Fixed some function declarations in the render handler.
2017-07-28 12:47:57 +02:00
Salvador Diaz Fau
e712f2fde4 Several small bug fixes
- 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.
2017-07-25 12:25:20 +02:00
Salvador Diaz Fau
9959b4b1e8 Update to CEF 3.3071.1647.gc8067b3 2017-07-12 17:00:34 +02:00
Salvador Diaz Fau
37b6ef8a04 bugfixes #35, #36 2017-07-02 13:17:47 +02:00
Salvador Diaz Fau
20c8f8db40 Update to CEF 3.3071.1645.gf54b5cd and new demo 2017-07-01 13:05:46 +02:00
Salvador Diaz Fau
4449d0505f Revert "Update to CEF 3.3071.1644.g408afd1 and new demo"
This reverts commit 7ac07f7a0f8c83ad44b621e79b3aa0251cb31068.
2017-07-01 13:05:45 +02:00
Salvador Diaz Fau
b80c4a6482 Update to CEF 3.3071.1644.g408afd1 and new demo
Update to CEF 3.3071.1644.g408afd1
New custom resource browser demo
2017-07-01 13:05:44 +02:00