Commit Graph

92 Commits

Author SHA1 Message Date
Salvador Díaz Fau
fd50565420 Update to CEF 81.2.22
- Added CefKeyEventLog and CefMouseEventLog to the uCEFMiscFunctions unit
2020-04-23 11:11:53 +02:00
Salvador Díaz Fau
3de53a0376 Update to CEF 81.2.15 2020-04-10 09:49:34 +02:00
Salvador Díaz Fau
1f912a7d38 Removed double unit declaration in uses section 2020-04-03 18:40:27 +02:00
Salvador Díaz Fau
c55283acb1 Update to CEF 80.1.14 2020-04-03 17:57:52 +02:00
Salvador Díaz Fau
feaeb772cb Update to CEF 80.0.4
- Added GlobalCEFApp.DisableNewBrowserInfoTimeout property
- Removed remaining TCEFSentinel from all the demos.
- Fixed mouse coordinates in FMX demos with OSR browsers before sending a mouse wheel event.
2020-02-26 13:28:29 +01:00
Salvador Díaz Fau
75258ea8e7 Fixed GetDigitizerStatus function for older Delphi versions 2020-02-06 10:37:54 +01:00
Salvador Díaz Fau
e9601e4ee3 Fixed touch events in SimpleOSRBrowser and KioskOSRBrowser demo in Windows 7
- TChromium.AcceptLanguageList is now always updated
- Added GetDigitizerStatus and HasTouchOrPen functions to uCEFMiscFunctions
2020-02-05 14:40:22 +01:00
Salvador Díaz Fau
40328b5724 Fixed backwards compatibility issues in Delphi and Linux build issues in Lazarus 2020-02-04 11:50:38 +01:00
Salvador Díaz Fau
dc841d6199 Fix Lazarus/FPC compatibility issues 2020-02-03 16:14:31 +01:00
Salvador Díaz Fau
1ca9ebf179 Added touch and pen support to SimpleOSRBrowser and KioskOSRBrowser demos
- Added TBufferPanel.OnCustomTouch
- Added TBufferPanel.OnPointerDown
- Added TBufferPanel.OnPointerUp
- Added TBufferPanel.OnPointerUpdate
- Added TFMXWindowParent.Touch
- Added TFMXWindowParent.OnGesture
- Removed the gesture manager from the KioskOSRBrowser demo
2020-02-03 12:02:30 +01:00
Salvador Díaz Fau
b7a4cdd786 Update to CEF 79.1.35
- Added groups to the demos with a secondary subprocess project
- Added some conditional directives for MacOS (MACOS IS NOT SUPPORTED YET!)
- Removed some Windows dependencies in the FMXExternalPumpBrowser demo
- Added TChromium.ParentFormHandle property
2020-01-28 11:36:34 +01:00
Salvador Díaz Fau
d84d1b4027 Fixed missing "stdcall" in ProcessUnderWow64 declaration 2020-01-18 15:15:41 +01:00
Salvador Díaz Fau
e93fd29623 Update to CEF 79.1.10
- Added TCEFOAuth2Helper
- Added OAuth2Tester demo
- Added GetDefaultCEFUserAgent function to the uCEFMiscFunctions unit.
2020-01-13 15:39:44 +01:00
Salvador Díaz Fau
8df34119d3 CefRegisterExtension fix for single process mode made by Michał Jasiński 2020-01-05 15:15:48 +01:00
Salvador Díaz Fau
e53cc7ee5d Added TFMXChromium.TakeSnapshot
- Added TFMXChromium.SaveAsBitmapStream
- Added TChromium.SaveAsBitmapStream
- Fixed bug #253
2020-01-02 20:02:47 +01:00
Salvador Díaz Fau
fd1e936198 Update to CEF 79.0.10
- Removed CEFSentinel from some demos because it's no longer necessary.
- Updated copyright year.
2020-01-01 12:48:10 +01:00
Salvador Díaz Fau
b57ba15ff6 Linux fixes made by pmamod
- Added 2 Linux demos in Lazarus : SimpleBrowser2 and SimpleOSRBrowser.
2019-12-18 15:10:30 +01:00
Salvador Díaz Fau
c455886d29 Fixes in string handling and CEF types
- Modified Cefv8Accessor and Cefv8Interceptor helper function declarations.
- Fixed and renamed ICefV8Interceptor parameters.
- Fixed and renamed ICefV8Accessor parameters.
- Modified ICefValue.SetBool parameter.
- Fixed ICefMenuModelDelegate.FormatLabel "label" parameter.
- Modified CefStringClearAndGet parameter.
- Added CefStringInitialize function.
- Fixed string handling in TCefRequestContextRef.SetPreference.
- Fixed string handling in TCefCustomResourceBundleHandler.GetLocalizedString.
- Fixed string handling in TCefResourceHandlerOwn.GetResponseHeaders.
- Fixed string handling in TCefResourceRequestHandlerOwn.OnResourceRedirect.
- Fixed string handling in TCefStringMapOwn.
- Fixed string handling in TCefStringMultimapOwn.
- Fixed and renamed ICefv8Handler.Execute parameters.
- Adapted JSWindowBindingWithObject demo to new Cefv8Accessor declaration.
2019-11-24 18:19:49 +01:00
Andreas Hausladen
688969bcd7 Fixes #198: Setting the HwndParent for the Chrome_WidgetWin_0 window makes the popupmenu to close if the user clicks somewhere else. 2019-11-11 21:22:39 +01:00
Andreas Hausladen
eb0d04f1b5 FPC compatibility with all missing MSWINDOWS features (Drag&Drop, OnBrowserCompMsg/OnWidgetCompMsg/OnRenderCompMsg) that VCL/FMX already had
Some Linux support (compiles and can load the libcef.so but still crashes when calling CreateBrowser)
2019-11-10 21:41:13 +01:00
Andreas Hausladen
d897a1d815 Combine CEFChromium common code 2019-11-10 00:34:02 +01:00
Andreas Hausladen
4cdb8207c6 uCEFApplicationCore is a VCL-free implementation (no Controls/Forms units, no Application object).
The old uCEFApplication.pas is renamed to uCEFApplicationCore.pas and a new uCEFApplication.pas is created that only contains the Controls/Forms unit related code and is backward compatible to existing code.

This allows the creation of a SubProcess executable that doesn't initialize the VCL with all its problems (GlobalAtom leak in Delphi 6-XE, Application.Handle, OleInitialize and other unnecessary init-code).

ujCEFMiscFunctions.GefCursorToWindowsCursor is renamed to >>C<<efCursorToWindowsCursor and moved to uCEFApplication.pas to prevent the inclusion of the Controls unit in Delphi 7-XE.
2019-11-09 15:57:29 +01:00
Salvador Díaz Fau
f0106c20d7 Update to CEF 78.2.9 2019-10-30 10:26:48 +01:00
Salvador Díaz Fau
1fa2f43b0c Update to CEF 77.1.18
- Modified CefPostTask and CefPostDelayedTask to return a boolean value.
- Added CefCurrentlyOn helper function.
- Replaced all "CEF3" mentions by "CEF".
2019-10-19 10:58:34 +02:00
Salvador Díaz Fau
77121dc510 Added TCEFSentinel to more demos
- Check that all frames are valid before using them
- Added an error page to MiniBrowser.
2019-10-13 18:50:23 +02:00
Salvador Díaz Fau
437c3bf4c0 Bug fix #222
- Fixed ICEFPostData and TCefPostData declarations
- Fixed CustomAbsolutePath to convert the relative path to absolute path even when CustomPathCanonicalize fails.
- Added a POST example to the URLRequest demo.
- Updated the PostInspectorBrowser demo for the new ICEFPostData decalrations.
2019-09-25 17:23:16 +02:00
Salvador Díaz Fau
7ab6b9e9c6 Fixed PathIsUNCA and PathIsURLA declarations 2019-09-23 12:01:39 +02:00
Salvador Díaz Fau
8ec0801777 CustomAbsolutePath canonicalizes relative and absolute paths now.
Added CustomPathIsURL and CustomPathIsUNC functions
Added checks in CustomPathCanonicalize to avoid buffer overruns and unsupported paths.
2019-09-23 11:42:20 +02:00
Salvador Díaz Fau
09685f56e1 Fixed crash with relative paths that have ".."
Fixed compilation bug in Delphi 7
2019-09-21 11:37:13 +02:00
Salvador Díaz Fau
8b948745ef Improved debug info in JS extension demos
Removed mutation observer from the JSRTTIExtension demo
2019-09-12 11:40:52 +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
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
f8f9d420a7 Compilation fix for Lazarus in Linux 2019-05-04 09:53:50 +02:00
Salvador Díaz Fau
ea103fc6ef Update to CEF 3.3683.1920.g9f41a27 2019-03-15 17:17:14 +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
bab31cc0a2 Update to CEF 3.3578.1860.g36610bd 2018-12-12 17:13:23 +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
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
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
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
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
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
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
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
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
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