Commit Graph

117 Commits

Author SHA1 Message Date
Salvador Diaz Fau
5de491ed03 Fixed the FixCefTime function 2021-01-18 11:48:23 +01:00
Salvador Diaz Fau
6ede7fa51a Fixed cookie date conversion issue 2021-01-18 11:12:01 +01:00
Salvador Diaz Fau
b4a2cee7f5 Fixed building errors and warnings on FMX for MacOS and Linux thanks to Christoph Schneider 2021-01-14 16:03:04 +01:00
Salvador Diaz Fau
62753fa7f9 Update to CEF 87.1.13
Fixed some FMX compilation issues in Linux thanks to Christoph Schneider.
2021-01-08 16:01:06 +01:00
Salvador Diaz Fau
76d296871f Added the MiniBrowser demo for Linux
Fixed the Linux version of WindowInfoAsPopUp.
2021-01-06 12:18:14 +01:00
Salvador Diaz Fau
83cf65a8ec Workaround for issue #333
Disabled range checking in some units when using old Delphi versions to avoid internal compiler errors.
2021-01-05 11:44:41 +01:00
Salvador Diaz Fau
1d984307ad Updated copyright year 2021-01-01 11:11:30 +01:00
Salvador Diaz Fau
5fd5dc79f0 Added a Linux version of the SubProcess demo for Lazarus
GlobalCEFApp now uses the custom "ShowX11Message" procedure to show messages when the WidgetSet is not initialized.
2020-12-31 12:15:10 +01:00
Salvador Diaz Fau
05680d5abc Fixed issue #256
Removed non working Linux demos for now.
2020-12-30 19:40:07 +01:00
Salvador Diaz Fau
e7eae21105 Improved Linux support in Lazarus
- Fixed issue #255
- Changed GlobalCEFApp.DefaultEncoding property type to ustring
- Changed GlobalCEFApp.OverrideSpellCheckLang property type to ustring
2020-12-28 18:11:27 +01:00
Salvador Diaz Fau
858f1a1625 Improved Linux support thanks to Christoph Schneider
Added more code comments in the TabbedBrowser2 demo.
Removed FastMM4 from the SimpleOSRBrowser demo.
Modified TCEFWorkScheduler for FPC in Linux.
2020-12-18 16:51:02 +01:00
Salvador Diaz Fau
e601067d01 Update to CEF 86.0.20
Fixed issue #307 TBufferPanel.ScreenScale and GetDeviceScaleFactor return 1 after changing the DPI value while the browser is runninng.
2020-10-31 14:23:06 +01:00
Salvador Diaz Fau
6e936cf07c Fixed issue #303
- Added TChromiumCore.ReplaceMisspelling
- Added TChromiumCore.AddWordToDictionary
- Added TChromiumCore.OpenerWindowHandle
- Added TChromiumCore.MouseCursorChangeDisabled
- Removed the 'Print to PDF stream...' menu option from the MiniBrowser demo because it's only available in headless chrome.
2020-09-30 12:43:48 +02:00
Salvador Díaz Fau
c7d0200657 Update to CEF 85.3.5
- Added the workaround to the issue #301 to the MiniBrowser demo.
2020-09-10 11:21:39 +02:00
Salvador Díaz Fau
0f0c827b5d Fixed Is32BitProcess hint on Delphi 10.4
Renamed TChromiumCore.ClearDataForOrigin parameter from "aOriginURL" to "aOrigin"
Added some missing cef.inc files to the new demos
2020-07-28 20:04:25 +02:00
Salvador Díaz Fau
d42b2e68fb Update to CEF 84.2.6
- Fixed TChromium.HyperlinkAuditing default value
- Fixed CheckDLLs function in Linux
- Fixed Delphi 7 backwards compatibility
- Fixed issue #289
2020-07-21 12:41:03 +02:00
Salvador Díaz Fau
dceb2299e3 Moved all JSON functions to the TCEFJson class
- Added TCEFJson.SaveToFile and TCEFJson.LoadFromFile functions
- Added more code comments to DOMVisitor
- Replaced all the code to save the browser preferences in TChromiumCore with the new TCEFJson functions
2020-07-17 12:56:43 +02:00
Salvador Díaz Fau
51658e03f2 Fixed TChromium.OnDevToolsEvent declaration
Added more parameter checks to CefString.
Added TChromium.DestroyAllHandlersAndObservers which includes DestroyDevToolsMsgObserver to fix issue #288.
2020-07-14 15:50:23 +02:00
Salvador Díaz Fau
7e3e8bad24 Update to CEF 83.4.0 2020-06-21 21:27:55 +02:00
Salvador Díaz Fau
ef2277fe6c Fixed compiler warnings in Delphi 7 with string type conversions
- Added TCefFastDomVisitor3
2020-06-20 16:10:29 +02:00
Salvador Díaz Fau
0be9d32bc3 Fixed Unicode strings issue with Windows API calls
Added more NIL checks in TChromiumCore
2020-06-13 17:24:22 +02:00
Salvador Díaz Fau
e47b526c33 Fix for issue #277
- Added attribution links to other projects in the readme file.
2020-05-09 11:41:20 +02:00
Salvador Díaz Fau
5c2204b207 Fixed issue #277 2020-05-05 19:20:23 +02:00
Salvador Díaz Fau
318318c85c Added Views Framework support #244
Added ToolBoxBrowser2 demo
Added TCEFBrowserViewComponent.
Added TCEFLabelButtonComponent.
Added TCEFMenuButtonComponent.
Added TCEFPanelComponent.
Added TCEFTextfieldComponent.
Added TCEFScrollViewComponent.
Added TCEFWindowComponent.
2020-05-05 18:10:33 +02:00
Salvador Díaz Fau
a3cab55a7c Added missing process type to the CefDebugLog procedure 2020-04-25 16:47:16 +02:00
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