Salvador Diaz Fau
187a4d825c
Added TabbedBrowser2 demo for Linux
...
Update the TCEFBitmapBitBuffer size instead of destrying and creating it when the browser is resized.
2021-01-03 18:36:17 +01:00
Salvador Diaz Fau
6eddf7b5da
Added workaround for focus issues in Linux
...
Added workaround for the CEF issue #2026 :
https://bitbucket.org/chromiumembedded/cef/issues/2026/multiple-major-keyboard-focus-issues-on
2021-01-02 16:40:12 +01:00
Salvador Diaz Fau
e3f1a0902d
Added Printing support in Linux
...
Added the GlobalCEFApp.DisableZygote property
Added the GlobalCEFApp.OnPrintStart event.
Added the GlobalCEFApp.OnPrintSettings event.
Added the GlobalCEFApp.OnPrintDialog event.
Added the GlobalCEFApp.OnPrintJob event.
Added the GlobalCEFApp.OnPrintReset event.
Added the GlobalCEFApp.OnGetPDFPaperSize event.
2021-01-01 17:51:09 +01:00
Salvador Diaz Fau
1d984307ad
Updated copyright year
2021-01-01 11:11:30 +01:00
Salvador Diaz Fau
f21d1f66ba
Added the ExternalPumpBrowser demo for Lazarus in Linux
2020-12-31 21:04:00 +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
34c2c49034
Added GlobalCEFApp.ForcedDeviceScaleFactor property.
...
Added TBufferPanel.ForcedDeviceScaleFactor property.
Added TFMXBufferPanel.ForcedDeviceScaleFactor property.
Updated ConsoleBrowser2 and WebpageSnapshot demos to use the new TBufferPanel.ForcedDeviceScaleFactor property.
2020-12-20 12:28:56 +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
28958bf7b6
Added custom popup windows to the TabbedBrowser2 demo
2020-12-17 16:28:38 +01:00
Salvador Diaz Fau
8f88a31440
Fixed an issue copying the bitmap in uCEFBrowserThread
...
Added more checks to uCEFBrowserThread
2020-12-14 13:27:19 +01:00
Salvador Diaz Fau
1299a6f596
Added ConsoleBrowser2 and WebpageSnapshot demos
...
- Split the Lazarus demos directory into "Lazarus_Windows" and "Lazarus_Linux".
- Added OSRExternalPumpBrowser and TinyBrowser2 demos to "Lazarus_Linux".
- Set TBufferPanel.GetScreenScale as virtual.
- Added DevTools to the SchemeRegistrationBrowser demo.
- Modified the SchemeRegistrationBrowser demo to receive XMLHttpRequest requests from JavaScript.
2020-12-13 18:36:10 +01:00
Salvador Diaz Fau
1484fdca25
Added TinyBrowser2 demo
...
- Added an overloaded version of TChromiumCore.CreateBrowser to create popup browser windows in the TinyBrowser2 demo.
- Added more comments in the DOMVisitor demo describing alternative ways to send information between processes.
2020-12-06 12:28:13 +01:00
Salvador Diaz Fau
073186e71d
Added workaround for issue #323
...
Modified all demos that used the TChromium.OnCursorChange event with the new parameters.
2020-11-22 16:42:52 +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 Diaz Fau
8af741c3e1
Update to CEF 85.3.11
...
Added an alternative PrintToPDF menu option to the MiniBrowser demo (not working for now)
2020-09-26 13:08:53 +02:00
Salvador Díaz Fau
03916e75f4
Added missing "Sender" parameter to all the TChromiumCore events
2020-09-15 16:31:49 +02:00
Salvador Díaz Fau
c7074c102c
Update to CEF 85.3.7
2020-09-15 15:47:46 +02:00
Salvador Díaz Fau
a4882558dd
Update to CEF 85.3.6
...
- Fixed issue #301
- Removed workaround for issue #301 in the MiniBrowser demo.
2020-09-12 19:33:05 +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
d444bb29e1
Update to CEF 85.2.11
2020-08-29 11:48:12 +02:00
Salvador Díaz Fau
e36cd5e8c7
Added a "Show DevTools" context menu option to the DOMVisitor demo
...
- Updated the DOMVisitor demo for Lazarus.
- Replaced some local variable types from string to ustring to fix some issues in Delpi XE2.
2020-08-22 12:29:11 +02:00
Salvador Díaz Fau
3c1dae426c
Update to CEF 84.4.1
2020-08-15 12:15:10 +02:00
Salvador Díaz Fau
5430db5601
Update to CEF 84.3.10
...
Added 2 browser extension demos : HelloWorldExt and PageColorExt
2020-08-04 17:52:09 +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
df55d013fb
Fix rendering of example background for OSR transparency
...
3dd2e2902a
2020-07-21 13:05:08 +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
3246eff9a1
Added context menu option to DOMVisitor to set the value of an INPUT element using the DevTools methods
...
Added the TCEFJson class
2020-07-16 15:47:27 +02:00
Salvador Díaz Fau
882c79ac1b
Update to CEF 83.5.0
2020-07-15 14:56:41 +02:00
Salvador Díaz Fau
59ec2022e5
Added TChromiumCore.ClearDataForOrigin procedure
...
Added a menu option to the MiniBrowser demo to clear all data from the current URL
2020-07-05 12:56:21 +02:00
Salvador Díaz Fau
d394d41991
Added TChromiumCore.SetUserAgentOverride procedure
...
Added menu option to change the User Agent string at runtime to the MiniBrowser demo.
2020-07-05 12:06:33 +02:00
Salvador Díaz Fau
e82dc1a080
Added TChromium.ClearCache procedure
...
Added TChromium.Offline property.
Added a menu option to the MiniBrowser demo to clear the cache with the DevTools methods.
Added a menu option to the MiniBrowser demo to take a screenshot with the DevTools methods.
2020-07-02 12:49:21 +02:00
Salvador Díaz Fau
43e0c80431
Update to CEF 83.4.2
2020-07-02 10:50:52 +02:00
Salvador Díaz Fau
acf085ddea
Added a context menu option to set an input value in the DOMVisitor demo.
2020-06-30 09:58:37 +02:00
Salvador Díaz Fau
ae83f0e54c
Added a new option to visit the DOM using JavaScript in DOMVisitor demo
...
- Removed the calls to ICefDomNode.GetValue and ICefDomNode.SetValue in DOMVisitor demo due to a CEF issue.
- Added more code comments to the DOMVisitor demo.
2020-06-28 14:51:16 +02:00
Salvador Díaz Fau
b142412810
Fix for issue #248 made by pmccarenko
2020-06-25 17:31:09 +02:00
Salvador Díaz Fau
b4945628c5
Added a context menu option to delete the cache at runtime to the CookieVisitor demo
2020-06-24 12:29:13 +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
32ea814c9c
Added the "console trick" to the DOMVisitor demo
...
The "console trick" is an alternative method to send text information from the render process to the browser process without a JavaScript extension.
2020-06-20 11:39:05 +02:00
Salvador Díaz Fau
c44023cb21
Update to CEF 83.3.9
2020-05-23 15:00:44 +02:00
Salvador Díaz Fau
58d988487b
New TinyBrowser demo using the Views Framework
2020-05-16 13:01:59 +02:00
Salvador Díaz Fau
7798f97872
Update to CEF 81.3.10
...
- Add missing "messages" unit to the uses section in FMXTabbedOSRBrowser demo.
2020-05-14 18:54:42 +02:00
Salvador Díaz Fau
dbab922640
Update to CEF 81.3.5
...
- Added TChromium.IndexOfBrowserID
- Fixed TChromium.GetBrowserById
- Added "Find text..." menu option to the MiniBrowser demo
2020-05-12 11:30:19 +02:00
Salvador Díaz Fau
132edb2e88
Added Multi-Browser mode to TChromium
...
MiniBrowser demo now has the Multi-browser mode enabled.
Added TChromium.MultiBrowserMode
Added TChromium.BrowserById
Added TChromium.BrowserCount
Added TChromium.BrowserIdByIndex
Added TChromium.SelectBrowser
Added TChromium.CloseAllBrowsers
Added TChromium.TryCloseBrowser
2020-05-07 11:46:48 +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
ccdb41b357
Update to CEF 81.3.1
2020-04-30 17:28:41 +02:00
Salvador Díaz Fau
ee831e85bd
Update to CEF 81.2.25
...
- Work in progress : Added many more units, classes and types to support the Views Framewrok.
2020-04-29 19:14:44 +02:00
Salvador Díaz Fau
17c82fa24c
Fix TAB key handling in FMX demos in OSR mode
2020-04-25 16:26:49 +02:00
Salvador Díaz Fau
a34ae44cb0
Update to CEF 81.2.24
...
- Added code comments to the MediaRouter demo
- Added a Lazarus version of the MediaRouter demo
2020-04-25 15:57:11 +02:00
Salvador Díaz Fau
22b59eae73
Fixed accented characters issue in web pages
2020-04-23 12:32:52 +02:00
Salvador Díaz Fau
dce556683a
Update to CEF 81.2.19
2020-04-21 13:27:34 +02:00
Salvador Díaz Fau
62c310a7b9
Update to CEF 81.2.17
...
- New MediaRouter demo (still buggy)
- Removed TCEFMediaObserverComponent and merged all the ICefMediaObserver methods and events into TChromium.
- Fixed some Media Observer parameters
- Added TChromium.RequestContext
- Added TChromium.MediaRouter
- Added TChromium.MediaObserver
- Added TChromium.Registration
2020-04-19 22:47:20 +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
846aeddd54
Issue #273 fixed
...
- Added TFMXChromium.ScreenScale property
2020-04-09 18:43:03 +02:00
Salvador Díaz Fau
c9b2af2a5e
Issue #271 is fixed
...
Removed workaround from TBufferPanel, TFMXBufferPanel and demos.
2020-04-04 10:58:48 +02:00
Salvador Díaz Fau
7662b61778
Workaround for issue #271
2020-03-31 12:44:10 +02:00
Salvador Díaz Fau
1984ab16ba
Update to CEF 80.1.2
...
- Added TCEFMediaObserverComponent
- Removed TBufferPanel.OnWrongSize
- Removed TFMXBufferPanel.OnWrongSize
2020-03-29 17:31:42 +02:00
Salvador Díaz Fau
beb287e22c
Fix wrong SELECT size with multiple SELECT elements in OSR mode
2020-03-18 18:37:55 +01:00
Salvador Díaz Fau
9962fecc4e
Compatibility fixes in SimpleOSRBrowser demo for older Delphi versions
2020-03-18 10:01:28 +01:00
Salvador Díaz Fau
e1f3fb5ee3
Update to CEF 80.0.5
...
- Added overloaded ScreenToClient and ClientToScreen functions to TFMXBufferPanel
- Modified TFMXBufferPanel.GetScreenScale to read the current DPI
- Modified FMXExternalPumpBrowser and FMXTabbedOSRBrowser demos to read TFMXBufferPanel.ScreenScale and removed some pointer checks.
2020-03-05 11:15:47 +01:00
Salvador Díaz Fau
f4dd3e69a3
Fix for issue #265 made by Matthias Kretschmar
...
Added TChromium.AcceptCookies and TChormium.Block3rdPartyCookies
2020-03-04 09:42:32 +01:00
Salvador Díaz Fau
5649b6e661
Added DevTools menu option to popup windows in MiniBrowser demo
2020-03-01 09:38:09 +01:00
Salvador Díaz Fau
78adeecde2
Fixed touch events in FMX demos with high DPI screens
2020-02-27 12:18:43 +01: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
bb33f5d6f5
Fixed code comments in FMX demos
2020-02-16 17:29:31 +01:00
Salvador Díaz Fau
2906c02231
Added FMXTabbedOSRBrowser demo
...
- Added lincese to FMXTabbedBrowser.dpr
2020-02-11 18:52:26 +01:00
Salvador Díaz Fau
a975f8ff89
Added FMXTabbedBrowser demo
2020-02-10 16:36:15 +01:00
Salvador Díaz Fau
fa64d506b4
Added TabbedBrowser2 demo
2020-02-09 16:31:45 +01:00
Salvador Díaz Fau
e8d2db5b57
Added touch support for Windows 8,8.1,10 to FMXExternalPumpBrowser
...
- Removed GestureBrowser demo
- Added TBufferPanel.OnWrongSize event
- Added TFMXBufferPanel.OnWrongSize event
- More touch support fixes in SimpleOSRBrowser and KioskOSRBrowser.
2020-02-08 12:59:59 +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
99efd21094
Fixed "error 217" in Lazarus with TCEFSentinel
...
- Removed TCEFSentinel from CookieVisitor and CustomResourceBrowser in Lazarus
2020-02-04 11:04:29 +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
f324118a56
Added GestureBrowser demo.
...
- Added TCEFWinControl.Touch and TCEFWinControl.OnGesture to the published section.
2020-02-01 19:14:01 +01:00
Salvador Díaz Fau
64d9393439
Added touch gestures to the KioskOSRBrowser demo
...
- Removed TCEFSentinel from the KioskOSRBrowser demo
- Added the -dUseCThreads compiler option to the Lazarus demos in Linux.
- Replaced panel by TLayout in the SimpleFMXBrowser demo.
2020-02-01 17:04:19 +01:00
Salvador Díaz Fau
23663b10e2
Update to CEF 79.1.36
...
- Added missing Windows messages to the application service and restored the SendCompMessage function in the FMXExternalPumpBrowser demo.
- Removed TCEFSentinel from the JSEval and JSRTTIExtension demos.
2020-01-30 12:08:50 +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
ec244b75d1
Update to CEF 79.1.31
...
- Fixed an issue with the RETURN key not working in the FMXExternalPumpBrowser demo.
- Moved CEF_SHOWBROWSER constant to the main form unit and removed the DoChildDestroyed procedure in the FMXToolBoxBrowser demo.
- Removed references to the TFMXApplicationService in the SimpleFMXBrowser demo comments.
2020-01-17 11:39:27 +01:00
Salvador Díaz Fau
91a845e42f
Update to CEF 79.1.27
...
- Fixed issue #253 when the FMX demos in normal mode are minimized and restored by clicking directly in the task bar icon.
2020-01-15 18:11:12 +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
c14be37648
Update to CEF 79.1.3
2020-01-07 17:08:37 +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
4b585809ed
Added GlobalCEFApp.SupportedSchemes
...
- Added TChromium.UpdateSupportedSchemes
- Added local image selection to the EditorBrowser demo
2019-12-21 12:30:16 +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
c99d14c8f0
Improved zoom handling
...
- Added TChromium.IncZoomPct procedure to increase the zoom percent value
- Added TChromium.DecZoomPct procedure to decrease the zoom percent value
- Added TChromium.ResetZoomLevel procedure to reset the zoom level value
- Added TChromium.ResetZoomPct procedure to reset the zoom percent value
- Added TChromium.ReadZoom procedure to trigger the TChromium.OnZoomPctAvailable event with the current zoom percent value.
- Added TChromium.OnZoomPctAvailable event.
- Added the new TChromium.OnZoomPctAvailable event to the MiniBrowser demo.
2019-12-10 16:49:07 +01:00
Salvador Díaz Fau
4231252493
New TChromium.AcceptLanguageList property
...
- New menu option to set the Accept Language List in MiniBrowser.
- CookieVisitor now blocks some cookies from a custom domain.
2019-12-03 12:12:19 +01:00
Salvador Díaz Fau
160d4de7cd
Update to CEF 78.3.9
...
- Issue #230 fixed : Shutdown crashes since CEF 77
- Issue #214 fixed : OSR demos crash when resized since CEF 76
2019-11-27 10:42:42 +01:00
Salvador Díaz Fau
1d8773c42c
Moved TChromium.InitializeDragAndDrop to TForm.OnShow in PopupBrowser
2019-11-26 10:59:04 +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
Salvador Díaz Fau
956eea99bc
New ToolBoxSubProcessBrowser demo
...
- Minor corrections in CEF API types
2019-11-19 12:44:29 +01:00
Salvador Díaz Fau
3ae057d415
Merge branch 'master' of https://github.com/salvadordf/CEF4Delphi
2019-11-14 11:03:26 +01:00
Salvador Díaz Fau
2ea56f3f52
Removed WM_MOVE and WM_MOVING handling from the application service
...
- Updated internal version
2019-11-14 11:03:04 +01:00
Andreas Hausladen
cbca087674
Fixed #246 : FMX doesn't have a OnMove event
2019-11-13 21:37:31 +01:00
Andreas Hausladen
f33417ca73
Fixed #190 : Lazarus : access violation creating a TCefBinaryValueRef in 64 bits
...
Access violation was because of a memory overwrite. TStream.Read doesn't have a TBytes overload in FPC, so the stack was overwritten instead of the array's content.
2019-11-11 17:33:16 +01:00
Salvador Díaz Fau
b9e22bd870
Adapted ConsoleBrowser and DLLBrowser to use uCEFApplicationCore
...
- Added more comments to TChromiumCore.VisitAllCookies and TChromiumCore.VisitURLCookies
2019-11-11 11:38:01 +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
Salvador Díaz Fau
88950ed6d0
Modified JSWindowBindingSubProcess demos to use the new uCEFApplicationCore unit
2019-11-09 18:10:24 +01:00
Salvador Díaz Fau
36bb84fcf6
Added uCEFApplicationCore.pas to project files
...
- Replaced response.GetHeader by response.GetHeaderByName in ResponseFilterBrowser demo
2019-11-09 17:31:59 +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
427059dd9a
Added TChromium.OnCookieVisitorDestroyed
...
- Removed TChromium.OnGetResourceRequestHandler
- Added TChromium.OnGetResourceRequestHandler_ReqHdlr
- Added TChromium.OnGetResourceRequestHandler_ReqCtxHdlr
- Modified the CookieVisitor demo to use TChromium.OnCookieVisitorDestroyed
2019-11-08 14:32:03 +01:00
Salvador Díaz Fau
172e7ba9e4
Update to CEF 78.3.1
...
- Added TChromium.LoadString using a DATA URL
- Added TChromium.LoadResource using a DATA URL
2019-11-07 11:01:25 +01:00
Salvador Díaz Fau
f180972f22
Update to CEF 78.2.14
2019-11-06 11:18:33 +01:00
Salvador Díaz Fau
3c54f655db
Update to CEF 78.2.10
...
- CustomTitleBar demo moved to the Javascript directory
- Fixed issue #189
2019-11-03 11:17:09 +01:00
Greg
5e6c32b0ee
- add Open Jpeg functionality
2019-11-02 20:51:21 +01:00
Greg
c6f412eabc
- add demo for Custom Title Bar
2019-11-02 17:29:19 +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
2fe89069a4
Added all TCefCookieManager functions to TChromium
...
- Added TChromium.VisitAllCookies
- Added TChromium.VisitURLCookies
- Added TChromium.SetCookie
- Added TChromium.OnCookiesVisited
- Added TChromium.OnCookieSet
- Removed unused constants.
- CookieVisitor demo adapted to the new TChromium functions and events.
2019-10-29 16:13:35 +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
91615ff437
MiniBrowser demo : Added context menu option to show the ZoomPct value in the statusbar
2019-10-18 17:26:03 +02:00
Salvador Díaz Fau
ac75b5ba14
Merge branch 'master' into beta
2019-10-15 11:29:09 +02:00
Salvador Díaz Fau
4d994de2e9
Fixed the CustomResourceHandler demo
...
- Added TCEFSentinel to more demos
2019-10-14 15:39:27 +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
9391d68ee0
Update to CEF 77.1.13
...
- Added TChromium.OnRequestContextInitialized
- Added TChromium.OnBeforePluginLoad
- Added TChromium.ReqContextHandler
- Removed GlobalCEFApp.ShutdownWaitTime
2019-10-11 17:51:16 +02:00
Salvador Díaz Fau
096b2c9a4b
Added TCEFSentinel component
...
- Added TCEFSentinel to MiniBrowser, TabbedBrowser, ToolBoxBrowser and SimpleBrowser2.
2019-10-09 12:24:47 +02:00
Salvador Díaz Fau
7b82de6abe
Fixed CookieAccessFilter events not being triggered
...
Fixed SimpleServer demo to call the updated ICefPostData function names
2019-10-04 16:49:53 +02:00
Salvador Díaz Fau
33213f25e4
Update to CEF 77.1.8
2019-10-04 15:13:24 +02:00
Salvador Díaz Fau
9f202b19c0
Update to CEF 77.1.3
2019-10-01 18:47:24 +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
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
5e5b775608
Removed all code comments about the GlobalCEFApp.cookies property and a separate cookies directory
2019-09-19 14:14:03 +02:00
Salvador Díaz Fau
c7b91264cb
Added functions and events to flush the cookies easily.
...
- Added TChromium.FlushCookieStore and TFMXChromium.FlushCookieStore functions.
- Added TChromium.OnCookiesFlushed and TFMXChromium.OnCookiesFlushed events
- Added a menu option in the MiniBrowser demo to test the new functions to flush the cookies.
2019-09-16 11:28:48 +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
f6973112aa
Added JSWindowBindingWithArrayBuffer demo
2019-09-10 13:09:14 +02:00
Salvador Díaz Fau
be14dc6f33
Update to CEF 76.1.13
...
Added more code comments to the JSExtension demo
2019-08-31 17:17:55 +02:00
Salvador Díaz Fau
2507e0730b
Fixed min, max and default value of TChromium.MaxConnectionsPerProxy
2019-08-29 12:52:11 +02:00
Salvador Díaz Fau
72ebe76989
Update to CEF 76.1.11
...
Added TChromium.MaxConnectionsPerProxy
2019-08-29 12:28:13 +02:00
Salvador Díaz Fau
0acd59b3d2
Update to CEF 76.1.10
...
- Added GlobalCEFApp.UseFakeUIForMediaStream
- Added overloaded TCefBaseRefCountedOwn.SameAs
2019-08-27 09:52:33 +02:00
Salvador Díaz Fau
24d3d5b672
Disabling some features to improve stability in the VCL SimpleBrowser and SimpleBrowser2 demos
2019-08-02 10:58:50 +02:00
Salvador Díaz Fau
a189468639
Update to CEF 76.1.5
2019-08-01 18:20:42 +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
22f4a1d6d8
Fix #188
...
Set all "ShowCaption" properties to the default value for backwards compatibility
2019-05-23 11:36:33 +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
8e084c205f
Fixed TChromium.OnClose event declaration in JSRTTIExtension demo
2019-05-16 16:56:05 +02:00
Salvador Díaz Fau
2173c94bf0
SchemeRegistrationBrowser demo improvements
...
- Added a local JavaScript file to show an alert dialog
- Added more comments to the demo.
2019-05-12 10:50:27 +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
jepp
0d0912f125
GlobalCEFApp_OnWebKitInitializedEvent for D2007-
...
For Delphi 2007 and lower, the definition of TCefApplication.OnWebKitInitialized is a "procedure of object." The existing demo code uses a non-method procedure, which is only compatible with the definition of "reference to procedure" used for the Delphi 2009 conditional.
2019-05-10 16:54:26 -05: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
SchneiderInfosystems
c693aa506e
Prevent Memory Leak of one TCriticalSection object
2019-03-27 18:36:18 +01:00
Salvador Díaz Fau
745026375f
Added context menu option to mute/unmute the audio in the MiniBrowser demo
2019-03-24 10:59:39 +01:00
Salvador Díaz Fau
32c4ed2eb0
Updated comments in Subprocess demo
...
Added more info to the Lazarus package
2019-03-22 17:23:20 +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
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
ea103fc6ef
Update to CEF 3.3683.1920.g9f41a27
2019-03-15 17:17:14 +01:00
Salvador Díaz Fau
0172c6e1e3
Fix FMX demos compilation failures with Delphi 10 Seattle and XE7
2019-03-06 15:08:17 +01:00
Alexey Shumkin
84e34fea3f
fixed: SimpleFMXBrowser: compilation failure with Delphi XE7
...
IFXMApplicationService has GetVersionString method since XE8 only.
2019-03-06 16:45:47 +03:00
Alexey Shumkin
def9ab8a83
fixed: SimpleFMXBrowser: compilation failure with Delphi 10 Seattle
...
TCommonCustomForm.SetBounds(TRect) overloaded method is since Delphi
10.1 Berlin.
2019-03-06 16:45:07 +03: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
45545152d0
New ToolBoxLazBrowser demo
2019-02-12 08:19:00 +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
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
9e12b2258b
Bug fix #154
...
Fixed an issue in SchemeRegistrationBrowser with big streams. Now THelloScheme.ReadResponse copies the stream in chunks correctly.
2019-01-17 14:53:02 +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
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
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
f7ffd5c4c9
Fixed mime type in DATA URL
2018-11-28 11:53:54 +01:00
Salvador Díaz Fau
a06523287c
Added WebSockets events and instructions to SimpleServer
2018-11-25 18:59:41 +01:00
Salvador Díaz Fau
7e7f0cbe8f
Enable the timer in SimpleLazarusBrowser
2018-11-19 09:59:29 +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
c57b66c402
Added the PostInspectorBrowser demo
2018-10-28 12:52:14 +01:00
Salvador Díaz Fau
87e0dcbd84
Added missing cef.inc in the ConsoloeBrowser demo
2018-10-25 19:46:24 +02:00
Salvador Díaz Fau
b57d11d6ce
New ConsoleBrowser demo
2018-10-25 19:09:24 +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
b5920d1aac
Added SetCookie example to the CookieVisitor demo
2018-10-21 20:32:35 +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
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
4d3f1b0b8b
Added MutatioObserver option to the JSRTTIExtension demo
2018-10-04 09:40:14 +02:00
Salvador Díaz Fau
0a4ae46c0d
Update to CEF 3.3497.1836.gb472a8d
2018-10-03 13:08:23 +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
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
37518b318e
KioskOSRBrowser : detect HTML5 INPUT types
2018-08-21 10:55:01 +02:00
Salvador Díaz Fau
7a7225773f
KioskOSRBrowser : removed unused AfterCreated event
2018-08-21 08:54:02 +02:00
Salvador Díaz Fau
d3f41977b5
KioskOSRBrowser improvements and fixes
...
- Removed browser controls like the address bar, snapshot button, etc.
- Added a context menu option to close the app.
- Fixed the node detection. Input elements have a 'text' type by default.
- Added more code comments.
2018-08-21 08:50:02 +02:00
Salvador Díaz Fau
9ac1270ffd
New KioskOSRBrowser demo
2018-08-20 18:39:43 +02:00
Salvador Díaz Fau
5243ce887e
Fixed D2010 issues with missing TEncoding types.
2018-08-20 14:56:14 +02:00
Salvador Díaz Fau
17a3b8e61c
Added option to replace a resource in ResponseFilterBrowser
...
- Added more comments to ResponseFilterBrowser
2018-08-09 09:59:43 +02:00
Salvador Díaz Fau
a6d948a5c4
Added more comments to ResponseFilterBrowser and fixed a couple of bugs
...
- Move unit in the "uses" section.
- Return RESPONSE_FILTER_DONE when all data has been written.
2018-08-07 17:03:13 +02:00
Salvador Díaz Fau
61ff40bd9d
Added a touch keyboard to SimpleOSRBrowser
2018-07-29 10:58:26 +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
b52736b43f
Added FMXToolBoxBrowser demo
2018-07-22 11:12:41 +02:00
Salvador Díaz Fau
144f0268b3
added missing stdcall directive
2018-07-06 17:33:59 +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
Salvador Díaz Fau
55aa9965df
Added more comments to JSExtension
...
- MiniBrowser shows the name of the loaded frames.
- Fixed MiniBrowser Chromium1TextResultAvailable declaration.
2018-06-27 10:17:34 +02:00
Salvador Díaz Fau
5f82e1ace3
Added more code comments to the JSExtension demo
2018-06-25 13:56:23 +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
09161b19e1
The SubProcess demo now uses an external unit to create and destroy GlobalCEFApp
2018-06-18 17:01:44 +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
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
b636a5930e
Missing FFilterInit initialization
2018-05-27 11:43:54 +02:00