Commit Graph
100 Commits
Author SHA1 Message Date
Salvador Díaz Fau b9c57057b8 Fixed deprecated GetLocaleFormatSettings symbol warning thanks to dilfich 2021-03-08 14:24:26 +01:00
Salvador Díaz Fau 1515e2bf99 Update to CEF 89.0.6
Added GlobalCEFApp.ApiHashUniversal
Added GlobalCEFApp.ApiHashPlatform
Added GlobalCEFApp.ApiHashCommit
Added a menu option to the MiniBrowser demo to show the CEF version info and API hashes.
2021-03-06 12:24:28 +01:00
Salvador Díaz Fau e9bf19225a Update internal version
Updated the readme file with a mention to the MacOS demos state.
2021-03-02 22:52:49 +01:00
Salvador Díaz Fau c87b93a41a Merge pull request #349 from User4martin/fpc-work-mac-2
Fix compile for Cocoa with Lazarus fixes branch 2.0.x / Requires patc…
2021-03-02 09:58:05 +01:00
Salvador Díaz Fau a5e430aef1 Added MacOS support with Lazarus
Updated internal version
Updated Readme file with MacOS info.
2021-03-01 09:01:34 +01:00
Salvador Díaz Fau 811140603e Merge pull request #348 from User4martin/fpc-work-mac-1
Thank you very much!
2021-03-01 08:42:09 +01:00
Salvador Díaz Fau 2838b7964e Fixed CookieVisitor demo issue with cookies not written
Added New Delphi and Lazarus versions and MacOS info to Readme.md.
2021-02-27 12:55:29 +01:00
Salvador Diaz Fau ce5384b108 Moved uCEFLinkedWinControlBase to the source directory
Fixed build issues in Delphi with uCEFLinkedWinControlBase
Fixed GetDeviceScaleFactor for MacOS in FMX
Updated Readme
2021-02-24 10:57:59 +01:00
Salvador Díaz Fau 23bf854c28 Merge pull request #347 from User4martin/fpc-work-2d
Fpc work 2d
2021-02-24 10:20:20 +01:00
Salvador Diaz Fau 1ef28cb013 Fix Lazarus build issue 2021-02-21 18:49:04 +01:00
Salvador Diaz Fau 92da537bf7 Fix Lazarus build issue in Windows
Fix Delphi build issue in MacOS
Added TCefApplicationCore.CheckCEFResources
Added TCefApplicationCore.CheckCEFDLL
Set TCefApplicationCore.CheckCEFFiles to false by default in MacOS
2021-02-21 18:41:25 +01:00
Salvador Diaz Fau 51d8c20f63 Fixed UTF8 string conversion in SimpleBrowser for Linux
- Removed "cmem" and "interfaces" from the TinyBrowser2 demo for Linux.
- Simplified the code of the TinyBrowser2 demo for Linux.
- Added the workaround for the CEF focus issue to TChromiumWindow in Linux.
- Set the result type of GetChildWindowHandle to LclType.THandle in FPC for TCEFWinControl, TCEFLinkedWindowParent and TChromiumWindow.
2021-02-21 11:11:08 +01:00
Salvador Diaz Fau 8c8e43b671 Updated Lazarus package version 2021-02-20 19:05:02 +01:00
Salvador Diaz Fau 21ae7cec31 Update CEF_CHROMEELF_VERSION_BUILD 2021-02-20 17:30:59 +01:00
Salvador Diaz Fau 9d17a50210 Update to CEF 88.2.9
Added the SimpleBrowser demo for Linux.
Added Linux support to TChromiumWindow.
Removed unused code and added more code comments to the SimpleBrowser demos for Windows.
2021-02-20 17:14:15 +01:00
Salvador Díaz Fau fcb2b586cf Merge pull request #346 from User4martin/fpc-work-2c
Fpc work 2c
2021-02-19 09:41:31 +01:00
Salvador Díaz Fau baae6a3765 Increased InternalVersion 2021-02-18 19:03:51 +01:00
Salvador Díaz Fau c1961034c7 typo 2021-02-18 19:03:22 +01:00
Salvador Díaz Fau b9adf07ac2 Merge pull request #345 from User4martin/fpc-work-2b
Fix ExternalPumpBrowser, Stop Scheduler.
2021-02-18 18:57:49 +01:00
Salvador Díaz Fau c6884ecdf8 Merge pull request #344 from User4martin/fpc-work-2a
Thanks!
2021-02-17 22:55:31 +01:00
Salvador Díaz Fau 2353308ef2 Merge pull request #343 from User4martin/fpc-work-2
Thank you for all this work!!!
2021-02-17 09:50:04 +01:00
Salvador Diaz Fau ee94b7d2cc Added TBufferPanel.UpdateDeviceScaleFactor
Fixed issue #339 : SimpleOSRBrowser crashes when the mouse is moved over the browser using CEF 88
2021-02-16 12:47:22 +01:00
Salvador Diaz Fau bdaf4554e6 Update to CEF 88.2.8
Fixed issue #339 : SimpleOSRBrowser crashes when the mouse is moved over the browser using CEF 88
2021-02-16 12:45:44 +01:00
Salvador Diaz Fau 7de0ea6a81 Update to CEF 88.2.7 2021-02-13 14:39:56 +01:00
Salvador Diaz Fau 086042c0d9 Update to CEF 88.2.6 2021-02-12 16:45:54 +01:00
Salvador Diaz Fau aaf512a419 Fixed TFMXWorkScheduler.QueueThread_OnPulse. Only build it when USEQUEUETHREAD is defined. 2021-02-11 21:07:22 +01:00
Salvador Diaz Fau 002a21e6d6 Update to CEF 88.2.5
- Added TCEFWorkSchedulerQueueThread as an experimental way to handle the external message pump events for all platforms.
- Fixed backwards compatibility issues with Delphi 7.
2021-02-11 19:52:23 +01:00
Salvador Diaz Fau e7e7cb80c1 Linux : Implemented printing in MiniBrowser demo (issue #337) 2021-02-08 18:39:07 +01:00
Salvador Diaz Fau e45839bb90 Added TBufferPanel.OnMouseEnter and TBufferPanel.OnMouseLeave on Lazarus
Fixed building in Windows
Issue #337 : First implementation. It's incomplete.
2021-02-08 10:28:36 +01:00
Salvador Díaz Fau a1f3e133ed Merge pull request #341 from User4martin/fpc-mac-2
Thank you so much Martin! :-D
2021-02-08 09:58:16 +01:00
Salvador Diaz Fau 8f1b88bac9 Update to CEF 88.2.4
Fixed issue #335
2021-02-06 17:38:44 +01:00
Salvador Diaz Fau 6d5b74070b Added tab navigation controls to the FMXTabbedOSRBrowser demo 2021-02-05 17:35:53 +01:00
Salvador Diaz Fau 691986692b Merge branch 'master' of https://github.com/salvadordf/CEF4Delphi 2021-02-05 17:25:41 +01:00
Salvador Diaz Fau 04a6f9d66d Added tab navigation controls to the FMXTabbedBrowser demo 2021-02-05 17:25:37 +01:00
Salvador Díaz Fau 2286ad332a Update README.md
Fixed a link to the CEF binaries
2021-02-04 17:02:32 +01:00
Salvador Diaz Fau 5c93e5c49a Update to CEF 88.2.1
- Added  xlib error handlers to the "interface" unit in the Lazarus demos for Linux.
- Added the "broker" CEF process type.
- Add the Zygote process to all the MustCreate* functions in TCefApplicationCore
2021-02-04 16:59:08 +01:00
Salvador Diaz Fau 12cce1cbba Fixed TChromium.OnPreKeyEvent and TChromium.OnKeyEvent event parameters in demos
Added a workaround for a focus issue in popup windows handled by CEF in the MiniBrowser demo.
2021-02-03 10:30:07 +01:00
Salvador Diaz Fau e0396ac3a5 Improved MacOS support thanks to martin_fr
Reorganized demos by OS
2021-01-31 16:53:07 +01:00
Salvador Diaz Fau cd46aa097d Fixed incorrect coordinates using the wheel button in OSR demos for Windows (VCL). 2021-01-29 18:27:10 +01:00
Salvador Diaz Fau e3fdfe8a45 Call ConnectKeyPressReleaseEvents only once in FMXExternalPumpBrowser2 2021-01-29 16:38:07 +01:00
Salvador Diaz Fau 77a5766367 Added keyboard support to the FMXExternalPumpBrowser2 demo in Linux thanks to Christoph Schneider
Moved most of the Linux constants, types and functions to new units.
2021-01-28 19:29:04 +01:00
Salvador Diaz Fau 8d5797b01f Fixed the TCefWindowHandle, TCefCursorHandle and TCefEventHandle declarations 2021-01-26 18:26:24 +01:00
Salvador Diaz Fau e2ffd8519c Added initialization workaround for Linux demos thanks to Christoph Schneider 2021-01-25 18:24:22 +01:00
Salvador Diaz Fau f1f638ba18 Updated Lazarus package version 2021-01-24 18:33:53 +01:00
Salvador Diaz Fau ee71ccb87e Update to CEF 88.1.6 2021-01-24 18:18:27 +01:00
Salvador Diaz Fau 4cc230fea8 Changed the GlobalCEFApp.EnableSpeechInput default value to false
The Speech API requires building the CEF binaries with your own Google API keys and the service is not free.
http://www.chromium.org/developers/how-tos/api-keys
https://cloud.google.com/speech-to-text/pricing
2021-01-24 15:28:38 +01:00
Salvador Diaz Fau 47fb09e887 Fixed black screen issue in OSR mode thanks to "Student"
- Fixed issues adding or replacing command line switches with hyphenated and non-hyphenated keys in TCEFApplicationCore.
- Remove the values from the "enable-features" and "enable-blink-features" when that value is in the "disable-features" or "disable-blink-features" in the command line switches.
2021-01-21 19:32:43 +01:00
Salvador Diaz Fau 151b6fe3da Update to CEF 88.1.4
Added GlobalCEFApp.DisableChromeLoginPrompt
Removed GlobalCEFApp.CustomFlashPath
Removed GlobalCEFApp.FlashEnabled
Removed TChromiumCore.RunAllFlashInAllowMode
2021-01-21 15:46:35 +01:00
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 Díaz Fau a7fa151cfb Added links to other resources 2021-01-12 17:47:22 +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 1fca56f298 Added a preliminary version of the OSRExternalPumpBrowser for Linux 2021-01-11 17:43:28 +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 e19ecae2b5 Fixed wrong DevTools method result handling in MiniBrowser demo 2021-01-07 11:12:20 +01:00
Salvador Diaz Fau cfe43f040f Added links to CEF binaries for ARM CPUs
Removed custom paths in the TinyBrowser2 demo for Linux.
Added list of operating systems used to test the demos to the readme file.
2021-01-06 18:56:05 +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 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 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 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 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 bfe3554291 Merge branch 'master' of https://github.com/salvadordf/CEF4Delphi 2020-11-10 15:02:53 +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 Díaz Fau 4db7d89938 Update CEF binaries download links to new Spotify server 2020-11-07 09:21:47 +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