Commit Graph

105 Commits

Author SHA1 Message Date
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
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