1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2024-12-04 09:26:52 +02:00
Commit Graph

291 Commits

Author SHA1 Message Date
Salvador Díaz Fau
5c6539e3a9 Added CopyCEFDlls tool made by raelb
Added GlobalCEFApp properties with most of the switches defined in cef_switches.cc
2019-07-22 09:33:24 +02:00
Salvador Díaz Fau
43b0ec7e20 Update to CEF 75.1.4
- Fixed issue #179 : Added a new EditorBrowser demo.
- Fixed issue #195 : Added VizDisplayCompositor to the disabled features list
- Fixed issue #206 : Added a context menu option to show the DevTools in SimpleFMXBrowser. Added TCEFFMXChromium.ShowDevTools and TCEFFMXChromium.CloseDevTools.
- Added a new menu option to MiniBrowser to simulate key presses in normal mode.
2019-07-18 11:48:11 +02:00
Salvador Díaz Fau
0e08d66a1f Fixed issue #202
- Updated the OnBeforeClose event in all demos using TChromiumWindow to send a WM_CLOSE message instead of calling "close".
- Fixed all MDI demos. Now the demo will not close automatically when the last browser is closed manually.
2019-07-10 14:31:45 +02:00
Salvador Díaz Fau
5d36c422eb Update to CEF 75.0.13 2019-07-04 10:03:43 +02:00
Salvador Díaz Fau
6ad2c32243 Update to CEF 75.0.11 2019-06-20 10:41:45 +02:00
Salvador Díaz Fau
90aeb5e525 Update to CEF 75.0.8
- Restored the GlobalCEFApp.DeleteCookies property
- Fixed the issue with the arrow keys in OSR demos
- Fixed the default return values for TCustomCookieAccessFilter.CanSendCookie and TCustomCookieAccessFilter.CandSaveCookie
- TCustomResourceRequestHandler and TCustomCookieAccessFilterwill only be created if needed by the TChromium events.
2019-06-19 16:53:26 +02:00
Salvador Díaz Fau
52fca97884 Update to CEF 75.0.7 2019-06-16 10:31:13 +02:00
Salvador Díaz Fau
efeb876371 Update to CEF 74.1.19
- Converted almost all the demos to Lazarus thanks to avra
- Reorganized "demos" directory.
2019-05-19 16:08:15 +02:00
Salvador Díaz Fau
59f3441b1e Update to CEF 74.1.16
- Copied the GlobalCEFApp_OnWebKitInitializedEvent fix for D2007 made by jepp to other demos.
- Added TChromium.DownloadImage and TChromium.OnDownloadImageFinished to download images
- Added a TChromium.DownloadImage example to the MiniBrowser demo.
- Modified some parameters in TCefImageRef
2019-05-11 15:40:19 +02:00
Salvador Díaz Fau
62b930cc27 Update to CEF 74.1.14 2019-05-07 12:39:32 +02:00
Salvador Díaz Fau
f8f9d420a7 Compilation fix for Lazarus in Linux 2019-05-04 09:53:50 +02:00
Salvador Díaz Fau
1a239e1e02 Update to CEF 74.1.13 2019-04-25 10:52:10 +02:00
Salvador Díaz Fau
6f3920a052 Update to CEF 73.1.13 2019-04-21 11:10:39 +02:00
Salvador Díaz Fau
dbc4900358 Fix #119 : All units in the source folder start with "uCEF"
- Fixed TCustomAudioHandler creation in uCEFClient.pas
- Fixed "title" parsing in uCEFDragAndDropMgr.pas
2019-04-04 10:26:44 +02:00
Salvador Díaz Fau
0ae96d07d5 TChromium.OnClose parameter changed
- Fixed initialization issue in FMXExternalPumpBrowser
2019-03-28 10:40:36 +01:00
Salvador Díaz Fau
4682fe3a19 Update to CEF 73.1.12
- Added context menu option in JSDemo to get the vertical scroll position.
- Now TChromium uses the same keyboard events for the browser and the DevTools.
- Fixed a MiniBrowser issue with the F12 keyboard shortcut. Now you can press F12 to hide and show the DevTools correctly.
2019-03-22 13:12:44 +01:00
Salvador Díaz Fau
70b12c6ae9 Update to CEF 73.1.11+ge6986dc+chromium-73.0.3683.75 2019-03-20 17:08:16 +01:00
Salvador Díaz Fau
2ed976d906 Fix for duplicated resources in FMX apps made by SchneiderInfosystems
- The FMX demos now load the initial web page using the TFMXChromium.DefaultUrl property.
- Added the $(FrameworkType) conditional define to all the FMX demos.
- Added the $(FrameworkType) conditional define to the CEF4Delphi_FMX project.
2019-03-20 15:56:14 +01:00
Salvador Díaz Fau
6a1c46dd6a Merge branch 'master' of https://github.com/salvadordf/CEF4Delphi 2019-03-15 17:17:24 +01:00
Salvador Díaz Fau
ea103fc6ef Update to CEF 3.3683.1920.g9f41a27 2019-03-15 17:17:14 +01:00
Alexey Shumkin
4240c02281
fixed: FMXExternalPumpBrowser: compilation failure with Delphi XE7
The `TFMXBufferPanel` ancestor TControl has `Hint` and `ShowHint`
properties visibility as `published` since Delphi 10 Seattle only, so,
FMXExternalPumpBrowser demo project compilation fails on Delphi XE7.
2019-03-15 11:18:53 +03:00
Salvador Díaz Fau
1189b9d861 Update to CEF 3.3626.1895.g7001d56 2019-03-08 15:07:34 +01:00
Alexey Shumkin
299c9ec0b1
remove unused FMX.Controls unit from uses clause 2019-03-06 16:40:58 +03:00
Salvador Díaz Fau
3eb6a3d6d8 Update to CEF 3.3626.1894.g90eb8cc 2019-03-01 11:48:02 +01:00
Salvador Díaz Fau
b2f599e31b Added 2 GlobalCEFApp properties to disable some security settings
- Added GlobalCEFApp.AllowFileAccessFromFiles
- Added GlobalCEFApp.AllowRunningInsecureContent
2019-02-25 09:35:22 +01:00
Salvador Díaz Fau
b3213a1052 Update to CEF 3.3626.1891.g52be333
- Added transparency support to TBufferPanel.
- Added TBufferPanel.Transparent property
- Added TBufferPanel.OnPaintParentBkg event
- Added the TRANSPARENT_BROWSER constant in SimpleOSRBrowser to enable transparency
2019-02-20 12:44:07 +01:00
Salvador Díaz Fau
469b194d4a Update to CEF 3.3626.1886.g162fdec 2019-02-12 12:33:17 +01:00
Salvador Díaz Fau
1f96e8272b Added TChromium.GetNavigationEntries and TChromium.OnNavigationVisitorResultAvailable
- MiniBrowser demo : Added a context menu option to get the navigation entries.
2019-02-03 15:34:21 +01:00
Salvador Díaz Fau
311a29d15f Update to CEF 3.3626.1881.g628f810 2019-02-01 09:19:17 +01:00
Salvador Díaz Fau
787bb84938 Update to CEF 3.3578.1869.gcc1dc0f 2019-01-31 09:03:08 +01:00
Salvador Díaz Fau
f2e452c02e Update to CEF 3.3578.1867.g0f6d65a
- Removed obsolete properties in TCefApplication
- TabbedBrowser demo now closes when there are no tabs
2019-01-29 10:16:58 +01:00
Salvador Díaz Fau
2a82206be3 Added default view rect values in OSR mode 2019-01-20 09:50:32 +01:00
Salvador Díaz Fau
a8c44bd87b Update to CEF 3.3578.1863.gbf8cff2
- Removed obsolete "Result" parameter in all OSR demos.
- Added more code comments to ResponseFilterBrowser.
- Now ResponseFilterBrowser modifies the HTTP request to receive uncompressed resources.
- Updated compiler properties in Delphinus.Install.json
2019-01-13 12:17:52 +01:00
Salvador Díaz Fau
fe702f2a2f Fixed backwards compatibility with Delphi XE5 2019-01-10 09:59:39 +01:00
Salvador Díaz Fau
769aa4f384 Fixed IME support in OSR mode
- Added lots of conditional compiler directives to build CEF4DElphi in Linux using Lazarus/FPC
- Updated copyright year
2019-01-08 19:15:25 +01:00
Salvador Díaz Fau
ea11d6cd46 Added the TChromiumWindow.UseSetFocus property 2018-12-18 17:07:50 +01:00
Salvador Díaz Fau
c8e354b8e5 Added renamed constants for backwards compatibility 2018-12-13 13:24:38 +01:00
Salvador Díaz Fau
bab31cc0a2 Update to CEF 3.3578.1860.g36610bd 2018-12-12 17:13:23 +01:00
Salvador Díaz Fau
14410a722a Bug fix #149 : Removed duplicated constants 2018-12-11 11:49:02 +01:00
Salvador Díaz Fau
82795b8159 Added ComponentPlatformsAttribute to TChromiumWindow
Fixed #146
2018-12-09 11:47:32 +01:00
Salvador Díaz Fau
665a578001 Added Delphi 10.3 Rio support
Added ComponentPlatformsAttribute to all the components to provide platform-specific run-time information.
2018-12-09 11:11:59 +01:00
Salvador Díaz Fau
0688b10e1d Fixed circular reference in TCustomCefUrlrequestClient
Added the TCefApplication.DisableBackgroundNetworking and TCefApplication.MetricsRecordingOnly properties
2018-12-06 11:49:08 +01:00
Salvador Díaz Fau
18135e907a Always set the $MINENUMSIZE directive
Fix for #139 when using external message pump
2018-11-22 15:02:21 +01:00
Salvador Díaz Fau
3a762bea54 Fixed D7 compatibility 2018-11-18 14:23:21 +01:00
Salvador Díaz Fau
1bc8aac781 Added missing GUID
Removed FastMM4 from the URLRequest demo
2018-11-17 12:33:28 +01:00
Salvador Díaz Fau
95c6939a37 Added TCEFUrlRequestClientComponent
Added URLRequest demo
2018-11-17 11:50:34 +01:00
Salvador Díaz Fau
10c9a99805 Update to CEF 3.3538.1852.gcb937fc
- Bug fix #139
- Added a LoadHandler in the render process.
- Added TCefApplication.OnLoadingStateChange
- Added TCefApplication.OnLoadStart
- Added TCefApplication.OnLoadEnd
- Added TCefApplication.OnLoadError
- Fixed a Delphi XE2 compilation issue.
2018-11-15 19:08:16 +01:00
Salvador Díaz Fau
123a9dccc7 Update to CEF 3.3538.1851.g5622787 2018-11-13 14:14:45 +01:00
Salvador Díaz Fau
627a77e8d2 Update to CEF 3.3538.1848.g1d1fe01 2018-10-26 10:32:10 +02:00
Salvador Díaz Fau
139f1dded2 Added memory information properties to GlobalCEFApp 2018-10-25 12:50:01 +02:00
Salvador Díaz Fau
74c545a5fb Added TCEFWinControl.InvalidateChildren 2018-10-20 20:43:06 +02:00
Salvador Díaz Fau
b2db728cbf Update to CEF 3.3497.1841.g7f37a0a 2018-10-20 14:46:24 +02:00
Salvador Díaz Fau
6e5a280556 The process information in the debug file has been disabled 2018-10-12 22:23:21 +02:00
Salvador Díaz Fau
a151f8d639 Update to CEF 3.3497.1840.gcd24143
- Added process information in the log file when you compile in DEBUG mode.
- Now TCefApplication checks if the subprocess executable is present.
2018-10-12 12:21:43 +02:00
Salvador Díaz Fau
2b37fa289f Lazarus/FPC compatibility fix. 2018-10-04 21:24:59 +02:00
Salvador Díaz Fau
1624d8712d Fixed an access violation in TChromium.ShowDevTools with some Delphi versions 2018-10-04 20:45:31 +02:00
Salvador Díaz Fau
41157fdb28 Renamed TCefApplication.CheckExtensions to TCefApplication.DisableExtensions to match the command switch name
Moved the code from TCefApplication.DisableExtensions to TCefApplication.Internal_OnBeforeCommandLineProcessing
2018-10-03 13:17:19 +02:00
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
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