Commit Graph

451 Commits

Author SHA1 Message Date
Salvador Diaz Fau
afa8418821 Initialization fixes for some Linux demos
Added TCEFWorkScheduler.CreateDelayed
Added TFMXWorkScheduler.CreateDelayed
Added an event to wait until the context is initialized in FMXExternalPumpBrowser2 and  OSRExternalPumpBrowser for Linux
2021-01-20 18:57:20 +01:00
Salvador Diaz Fau
65733bc784 Added FMXExternalPumpBrowser2 demo for Linux thanks to Christoph Schneider
Fixed OutputDebugMessage function in Linux
Added Linux support to TCEFWorkScheduler
2021-01-19 19:14:25 +01:00
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
908017b2f5 Added new DevTools events to TChromium and missing drag adn drop properties to TCefWinControl
Added TChromium.OnDevToolsRawMessage
Added TChromium.OnDevToolsMethodRawResult
Added TChromium.OnDevToolsRawEvent
Added TCefWinControl.DragKind
Added TCefWinControl.DragCursor
Added TCefWinControl.DragMode
Added TCefWinControl.OnDragDrop
Added TCefWinControl.OnDragOver
Added TCefWinControl.OnStartDrag
Added TCefWinControl.OnEndDrag
2021-01-16 14:35: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
739b510526 Added more FPC conditionals in Linux code 2021-01-12 20:32:28 +01:00
Salvador Diaz Fau
123f45ea08 Fixed OSRExternalPumpBrowser in Linux
Fixed SimpleOSRBrowser in Linux
Added the TBufferPanel.CopyOriginalBuffer property
Added the TBufferPanel.MustInitBuffer property
Added the TBufferPanel.OrigBuffer property
Added the TBufferPanel.OrigBufferWidth property
Added the TBufferPanel.OrigBufferHeight property
Renamed TBufferPanel.PopupBuffer to TBufferPanel.OrigPopupBuffer
Renamed TBufferPanel.PopupBufferWidth to TBufferPanel.OrigPopupBufferWidth
Renamed TBufferPanel.PopupBufferHeight to TBufferPanel.OrigPopupBufferHeight
Renamed TBufferPanel.PopupBufferBits to TBufferPanel.OrigPopupBufferBits
Renamed TBufferPanel.PopupScanlineSize to TBufferPanel.OrigPopupScanlineSize
Added the TBufferPanel.UpdateOrigBufferDimensions function
Added the TBufferPanel.UpdateOrigPopupBufferDimensions function
2021-01-12 17:06:31 +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
bef1626f31 Added the PopupBrowser2 demo for Linux
Set the CEFLinkedWindowParent1.TabStop to true to fix a focus issue
Moved TCEFLinkedWindowParent.UpdateSize to the public section
2021-01-04 18:39:15 +01:00
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
c3def9de88 Added workaround for issue #330 2021-01-03 13:06: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
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
7ec49e1f95 Added workaround for the CEF issue #2899
https://bitbucket.org/chromiumembedded/cef/issues/2899/cefsettingsignore_certificate_errors-true
2020-12-21 19:44:10 +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
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
8f55182540 Update to CEF 87.1.12 2020-12-08 21:35:57 +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
80b1140db6 Update to CEF 87.1.11
Fixed issue #323 in the CEF code.
2020-11-26 14:42:33 +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
8e7660ccf8 Update to CEF 87.1.6 2020-11-19 18:55:17 +01:00
Salvador Diaz Fau
2f3c23c202 Update to CEF 86.0.24 2020-11-18 12:23:20 +01:00
Salvador Diaz Fau
db361ed6d8 Use the custom conditional compilation directives 2020-11-17 15:09:02 +01:00
Salvador Diaz Fau
3ab78ad28c Delphi 10 Seattle backwards compatibility fix 2020-11-17 14:59:18 +01:00
Salvador Diaz Fau
a4067cf44c Update to CEF 86.0.23 2020-11-11 15:03:59 +01:00
Salvador Diaz Fau
8274424032 Use the TCefCustomRenderProcessHandler.RemoveReferences only in destruction 2020-11-10 15:34:48 +01:00
Salvador Diaz Fau
e72db93dd2 Partial fix for issue #291
- Create the CefApp handlers only when they are needed in SingleProcess mode.
- Added several "RemoveReferences" procedures to disable events when the application is shutting down in the CefApp handlers.
2020-11-10 15:02:49 +01:00
Salvador Diaz Fau
9ac740613c Update to CEF 86.0.21 2020-11-04 14:45:23 +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
f5bce048ce Update to CEF 86.0.19
Fixed issue #309
2020-10-28 18:49:34 +01:00
Salvador Diaz Fau
8a28f9fea9 Added the GlobalCEFApp.BlinkSettings property 2020-10-25 18:59:09 +01:00
Salvador Diaz Fau
b118999a56 Update to CEF 86.0.18 2020-10-24 12:30:00 +02:00
Salvador Diaz Fau
592818ef30 Update to CEF 86.0.17 2020-10-16 15:27:39 +02:00
Salvador Diaz Fau
fd7645fe2c Update to CEF 86.0.14
Fixed issue #300
2020-10-14 09:56:47 +02:00
Salvador Diaz Fau
d44db3bf2a Added GlobalCEFApp.EnableUsermediaScreenCapturing 2020-10-08 16:41:27 +02:00
Salvador Diaz Fau
1186f0b105 Update to CEF 85.3.12 2020-10-02 14:23:38 +02: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 Diaz Fau
d3e68a1d6d Update to CEF 85.3.10 2020-09-23 15:42:47 +02:00
Salvador Díaz Fau
29e5b987f8 Fix for a rare TCustomRequestContextHandler leak in TChromiumCore
- Moved all the code from TChromiumCore.BeforeDestruction to TChromiumCore.Destruction.
- Moved all the HWND fields to the Windows conditional directive section.
2020-09-20 12:07:24 +02:00
Salvador Díaz Fau
d31456f517 Update to CEF 85.3.9 2020-09-16 11:11:45 +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