Commit Graph

182 Commits

Author SHA1 Message Date
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
54a88d04fa Catch date conversion exceptions 2018-09-18 16:19:21 +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
e5bb0cd561 Improved Is32BitProcess function. 2018-09-02 15:40:56 +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
d16ce93bd5 Fixed TPDFPrintOptions properties.
Now header_footer_enabled, selection_only, landscape and backgrounds_enabled are boolean.
2018-08-31 12:24:21 +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
7ba82bd5ed Fixed UpdateStringListPref and spell checker dictionaries in TFMXChromium 2018-08-15 14:36:11 +02:00
Salvador Díaz Fau
eaca9d8b65 Fixed parameter checking in UpdateStringListPref. 2018-08-13 09:41:08 +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
5e5d0dcb74 TCefFileDialogMode and TCefDuplexMode defined as constants
- Added more parameter checks in CefRegisterExtension
- Minor change registering the extension in JSExtension demo. The TempHandler reference is valid until it reaches the "finally".
2018-07-24 18:18:54 +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
dedb740a03 TChromiumWindow.GetChildWindowHandle must return TChromium.WindowHandle 2018-06-27 12:02:29 +02:00
Salvador Díaz Fau
911aa245a7 Publish TCEFWindowParent.Enabled, TCEFWindowParent.DoubleBuffered and TCEFWindowParent.ParentDoubleBuffered 2018-06-24 19:03:26 +02:00
Salvador Díaz Fau
f05fbdc8ce Added TBufferPanel.OnUTF8KeyPress event for Lazarus
- Bug fix #120
2018-06-18 21:57:18 +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
8519c9b5d5 Added overloaded TCEFDomNode.GetElementAttributes(var attrList: TStrings); 2018-06-12 21:34:53 +02:00
Salvador Díaz Fau
b701fc99e8 CefRegisterSchemeHandlerFactory bug fix
CefRegisterSchemeHandlerFactory can have an empty DomainName and a nil handler.
2018-06-11 18:38:51 +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
e658ff6c92 New PopupBrowser2 demo 2018-04-08 21:35:21 +02:00
Salvador Díaz Fau
62580730d2 Added GlobalCEFWorkScheduler and GlobalFMXWorkScheduler global variables 2018-04-07 20:24:55 +02:00
Salvador Díaz Fau
eae6172ef3 Added the TCefApplication.MustFreeLibrary property 2018-04-04 15:55:57 +02:00
Salvador Díaz Fau
6c034fac25 Subclass CEF windows only once 2018-04-02 14:53:03 +02:00
Salvador Díaz Fau
2c4fa2c94f Update to CEF 3.3325.1756.g6d8faa4 2018-03-31 18:08:18 +02:00