Commit Graph

502 Commits

Author SHA1 Message Date
salvadordf
e470e8a535 Set the GlobalUseSkiaRasterWhenAvailable and GlobalUseMetal values in FMXSkiaBrowser 2022-06-08 16:29:01 +02:00
salvadordf
688c68ab65 Added the FMXSkiaBrowser demo
Added the FMXSkiaBrowser demo. It uses Skia4Delphi to show the web contents.
https://github.com/skia4delphi/skia4delphi
2022-06-02 18:02:58 +02:00
salvadordf
5bbddf099c Update to CEF 102.0.8 2022-05-26 13:08:20 +02:00
salvadordf
3bca41ef4a Update to CEF 101.0.15 2022-05-03 12:43:16 +02:00
salvadordf
455a75c849 Fixed issue #415 : TChromiumCore.Initialized remains False in some popup windows
Added the TabbedOSRBrowser demo
2022-04-30 19:01:45 +02:00
salvadordf
7de8912d31 Use TChromium.OnCursorChange in the MiniBrowser demo 2022-04-27 11:03:07 +02:00
salvadordf
a7d682639a Use GlobalCEFApp.OnFocusedNodeChanged in DOMVisitor to fill an input element 2022-04-18 10:39:28 +02:00
salvadordf
52c42ad27d Added ResponseFilterBrowser demo for Lazarus in Windows 2022-04-16 17:32:47 +02:00
salvadordf
c99a44aab2 Show and hide browser tabs in FMXTabbedOSRBrowser 2022-04-11 11:49:01 +02:00
salvadordf
ad44231235 Fixed error logging in OSRExternalPumpBrowser2 2022-04-09 18:36:05 +02:00
salvadordf
a2a61e3ef7 Enable hardware acceleration in OSRExternalPumpBrowser2 and SimpleOSRBrowser2 2022-04-09 18:27:32 +02:00
salvadordf
bb26a4cf18 Added 2 OSR demos using OpenGL for Windows and Linux
Added the OSRExternalMessagePump2 demo for Lazarus in Linux
Added the SimpleOSRBrowser2 demo for Lazarus in Windows
2022-04-09 18:15:33 +02:00
salvadordf
d4f7a9a3aa Update to CEF 100.0.14 2022-04-06 12:13:07 +02:00
salvadordf
b4a02e89af Added MobileBrowser demo for Lazarus on Windows and Linux
Fixed issues using the message_id parameter incorrectly when calling ExecuteDevToolsMethod in the MiniBrowser and MobileBrowser demos.
2022-04-02 16:32:39 +02:00
salvadordf
fd331e266c Update to CEF 99.2.14
Added the MobileBrowser demo
2022-03-30 16:48:20 +02:00
salvadordf
d141f5d751 Fixed backwards compatibility issues
Fixed issue #409
2022-03-06 10:21:37 +01:00
salvadordf
2133254e80 Release the certificate selection callback as soon as it's no longer needed 2022-03-05 14:16:25 +01:00
salvadordf
d0838e2438 Update to CEF 99.2.9
Added a certificate selection form to the MiniBrowser VCL demo
2022-03-05 13:17:34 +01:00
salvadordf
951c583ddd Update to CEF 99.2.7 2022-03-03 11:16:30 +01:00
salvadordf
41490cebdb Fixed some focus issues in FMX demos for Windows in normal mode 2022-02-27 19:39:19 +01:00
salvadordf
acd6deb308 Update to CEF 98.2.1
Added the source directory to all the search paths
Replaced packages with a DPK file for old Delphi versions and a group for newer Delphi versions.
Updated all include files
2022-02-26 14:29:41 +01:00
salvadordf
127b062909 Update to CEF 97.1.2
Enable the "Chrome runtime" mode in the TinyBrowser2 demos
2022-01-11 11:49:38 +01:00
salvadordf
2ef6568a3f Update to CEF 97.1.1 2022-01-07 19:18:18 +01:00
salvadordf
29c04d2221 Updated copyright year
Fixed the project version in the Lazarus LPK file
2022-01-01 10:41:21 +01:00
salvadordf
6030a82644 Fixed missing DELPHI28_UP define for unknown Delphi versions 2021-12-23 18:44:15 +01:00
salvadordf
3fef420fff Fixed a size issue in SimpleFMXBrowser with a high DPI screen 2021-12-03 18:34:44 +01:00
salvadordf
25edba76e8 Added TCEFFileDialogInfo
MiniBrowser now uses TCEFFileDialogInfo to show custom open and save dialogs.
2021-11-28 20:16:49 +01:00
salvadordf
e3cee7cf9b Changed some Windows API imports to improve compatibility with C++ Builder 2021-10-27 12:18:33 +02:00
salvadordf
f9b7447094 Update to CEF 95.7.12
Fix for Windows shutdown issue thanks to petko
2021-10-26 10:29:58 +02:00
salvadordf
9b90babbcb Update to CEF 95.7.10
Added TChromiumCore.OnPrefsUpdated. See issue #390
2021-10-22 19:19:57 +02:00
salvadordf
dde1340250 Update to CEF 94.4.8 2021-10-05 11:45:21 +02:00
salvadordf
c88ec15bd4 Update to CEF 94.4.1
Added the keyboard handling modification to the OSRExternalPumpBrowser demo requested by mterrisse in issue #378
Fixed the wrong form icon in TinyBrowser demo.
2021-09-27 12:04:33 +02:00
Salvador Díaz Fau
a14c51f98b Added Delphi 11 Alexandria support 2021-09-14 12:45:14 +02:00
Salvador Díaz Fau
5602e1029d Moved CefClearSchemeHandlerFactories to the GlobalCEFApp destruction 2021-09-11 12:00:09 +02:00
Salvador Díaz Fau
0683539655 Fixed issue #382 : scheme registration leak
Added a link to test Widevine in the MiniBrowser demo
2021-09-10 18:30:54 +02:00
Salvador Díaz Fau
83a75c985a Update to CEF 93.1.11
Fixed issue #378  in the VCL demos
2021-09-05 10:49:20 +02:00
Salvador Díaz Fau
701406f0e8 Update to CEF 92.0.26
Added the SchemeRegistrationBrowser_subprocess demo for Lazarus in Windows
Added a Google Maps example in the test.html file used by all the SchemeRegistrationBrowser demos.
Removed obsolete Flash file.
2021-08-18 15:55:54 +02:00
Salvador Díaz Fau
401a622bf8 Fixed SimpleBrowser2 demo for Lazarus in Windows 2021-08-10 10:00:07 +02:00
Salvador Díaz Fau
c4135dedd5 Update to CEF 92.0.21
Added GlobalCEFApp.DisablePopupBlocking
Added GlobalCEFApp.DisableBackForwardCache
Fixed issue #372
TCefApplicationCore code reorganization
2021-07-31 17:24:54 +02:00
Salvador Díaz Fau
b0259524c5 Update to CEF 91.1.21
The TabbedBrowser2 demo for Windows can now open new tabs without losing the POST data.
2021-06-20 13:08:37 +02:00
Salvador Díaz Fau
c5b989588e Update to CEF 91.1.17
Remove unnecessary workarounds in the FMX demo for MacOS
2021-06-16 10:31:12 +02:00
Salvador Díaz Fau
3228738e3a Close MiniBrowser correctly when the user logs off 2021-06-14 12:58:46 +02:00
Salvador Díaz Fau
1efd6c9a67 Added custom JavaScript dialogs to FMXExternalPumpBrowser2 for Linux
Removed unused TOpenDialog from FMXExternalPumpBrowser for MacOS
Replaced the address box with a TComboEdit in FMXExternalPumpBrowser for Windows
2021-06-05 18:23:21 +02:00
Salvador Díaz Fau
43ab8ef953 Added TCEFTimerWorkScheduler
- Moved the GlobalCEFWorkScheduler creation after the GlobalCEFApp creation in all demos using it.
- Replaced TCEFWorkScheduler by TCEFTimerWorkScheduler in FMX demos for Linux and MacOS.
- Fixed context menu issue in FMXExternalPumpBrowser2 for Linux
- Fixed stability issues in FMXExternalPumpBrowser for MacOS
- Fixed 32bit build issues in TinyBrowser and ToolBoxBrowser2 demos.
- Added uCEFMacOSInterfaces and uCEFMacOSCustomCocoaTimer.
2021-06-04 15:10:40 +02:00
Salvador Díaz Fau
b14abde967 Update to CEF 90.6.7
Added workaround to avoid a crash when the user clicks the right mouse button in Firemonkey for MacOS.
Added the click count to the mouse events to the Linux Firemonkey demo.
Added the ShowMessageCF function to show a message dialog in MacOS.
Added calls to FMX.Types.Log.d to write error messages in Firemonkey for Linux and MacOS.
2021-05-27 14:29:30 +02:00
Salvador Díaz Fau
44896524e8 Improved keyboard and mouse support in FMXExternalPumpBrowser for MacOS
Added X11 error handling functions to FMXExternalPumpBrowser2 demo for Linux.
Deleted FMXExternalPumpBrowser demo for Linux.
Added uCEFMacOSConstants and uCEFMacOSFunctions units for MacOS.
Replaced TThread.Queue for TThread.ForceQueue to avoid executing that method immediately in some cases.
2021-05-26 19:32:10 +02:00
Salvador Díaz Fau
a22e1a07b1 Added partial keyboard support to FMXExternalPumpBrowser for MacOS
Added FMXExternalPumpBrowser demo for Linux thanks to Christoph Schneider
2021-05-24 18:42:12 +02:00
Salvador Díaz Fau
51a29225ef Added CrAppProtocol protocol implementation to FMXExternalPumpBrowser for MacOS 2021-05-23 19:45:24 +02:00
Salvador Díaz Fau
a3d361d8ba Disable TNetEncoding calls for older Delphi versions in the MiniBrowser demo 2021-05-20 16:59:01 +02:00
Salvador Díaz Fau
fec1b3be79 Fixed colors in FMXExternalPumpBrowser for MacOS
Added functions to copy the CEF binaries and the CEF helpers automatically to FMXExternalPumpBrowser for MacOS
Added TFMXBufferPanel.OnResized
Added more comments with missing functionality in Linux and MacOS
2021-05-18 16:40:37 +02:00
Salvador Díaz Fau
28ed9e7794 Added FMXExternalPumpBrowser demo for MacOS
Added TinyBrowser demo for Linux.
Added AppHelperRenamer tool for MacOS.
Disabled 3 event in TCefViewDelegateRef in 32 bits as a workaround for the issue #278
2021-05-16 19:42:25 +02:00
Salvador Díaz Fau
15e6332392 Added a menu option to save as MHTML in the MiniBrowser demo 2021-05-07 16:25:49 +02:00
Salvador Díaz Fau
d24eec2794 Update to CEF 90.6.3
Enabled the ChromeRuntime mode to the TinyBrowser2 demo for Lazarus in Windows.
2021-05-01 10:06:25 +02:00
Salvador Díaz Fau
8188dd2ca0 Update to CEF 90.6.2 2021-04-29 17:00:54 +02:00
Salvador Díaz Fau
edbfe8775b Update to CEF 90.5.7
Modified the VCL version of the TinyBrowser2 demo to use the experimental "ChromeRuntime" mode.
2021-04-23 14:52:53 +02:00
Salvador Díaz Fau
46f8fde8f9 Fixed PopupBrowser demo
Fixed the Chromium1BeforePopup event in PopupBrowser
Fixed the PopupBrowser.html file to use a different window name for the new popup windows.
2021-04-22 10:01:13 +02:00
Salvador Díaz Fau
0c5f4b626d Fixed cookie issues with browsers using a different request context 2021-04-19 15:54:06 +02:00
Salvador Díaz Fau
c5fae76a1f Update to CEF 90.5.4 2021-04-18 19:36:20 +02:00
Salvador Díaz Fau
c6e8a08522 Update to CEF 89.0.17
Added an option make simple text replacements in the ResponseFilterBrowser demo
2021-04-03 14:53:50 +02:00
martin
ae36a9c9e2 Demos: removed GlobalCEFApp.CheckCEFFiles := false; 2021-03-21 17:20:12 +01:00
martin
eb03146bb2 Merged LazApplication int CefApplication (IFDEF) 2021-03-21 02:27:03 +01:00
martin
df326d4e06 Rename references in demos 2021-03-21 00:12:12 +01:00
martin
eec00d7da7 Rename Components 2021-03-20 21:06:46 +01:00
Salvador Díaz Fau
0abb2732de Update to CEF 89.0.12
Modified the VCL SubProcess demo as suggested by Tomm Prami
Fixed issue #352
2021-03-20 13:16:08 +01:00
martin
9766f0e175 Readme and known restrictions 2021-03-20 05:44:04 +01:00
martin
05d3f02c8e Added NSPrincipalClass for Lazarus 2.1 2021-03-19 21:24:56 +01:00
martin
0901f64763 Fix ReadMe files 2021-03-11 17:02:58 +01:00
martin
72767eda01 Demo BrowserWindowDom2 (Lazarus_any_OS) / Paint on browser 2021-03-11 16:49:26 +01:00
martin
80693d87c1 Demo BrowserWindowDom (Lazarus_any_OS) 2021-03-10 18:57:49 +01:00
martin
ac1f570c7b Added: Demo BrowserWindowEx (Lazarus_any_OS) - with more than one browser 2021-03-10 17:12:40 +01:00
martin
d37e72c010 Changed Demo BrowserWindow (Lazarus_any_OS) to use ContextInitialized Handler 2021-03-10 17:07:58 +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
martin
73ff8fa985 Update AppHelper.lpi for older Lazarus 2021-03-01 02:16:44 +01:00
martin
8fdd1c7253 Sample app BrowserWindow for new component
amend demos/Lazarus/CustomResourceBrowser/LICENSE.txt
2021-03-01 01:26:21 +01:00
martin
121a43e824 CrAppProtocol for cocoa / Add Cocoa CloseChildHandle 2021-03-01 01:18:02 +01:00
martin
08d8c3076f ExternalPumpBrowser: Fix thread handling 2021-03-01 01:18:02 +01:00
martin
70042ffc67 Fix Leak in demos 2021-03-01 01:18:01 +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
martin
34a3e69107 Add Headers to all units 2021-02-23 17:37:39 +01:00
martin
24d5b6b461 Ensure all units have {$I cef.inc} 2021-02-21 22:57:18 +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
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
martin
bab194d3c0 Add Win32 PE flag 2021-02-19 02:40:37 +01:00
martin
14bfc9c832 Sample app for Mac only 2021-02-19 02:04:33 +01:00
martin
a822fc23d5 Url Dropdown
Fix Caption for ExternalPumpBrowser
Fix Windows IFDEF
2021-02-19 02:04:33 +01:00
martin
81328d5242 ExternalPumpBrowser, fix unit-name 2021-02-18 16:01:32 +01:00
martin
685304d4ac Added WM_ENTERMENULOOP 2021-02-18 00:57:30 +01:00
martin
ed42096f1e Fix ExternalPumpBrowser, Stop Scheduler. 2021-02-18 00:12:37 +01:00
martin
ac1e26f86c AppHelper on Windows: Do not create a console window 2021-02-17 22:51:05 +01:00
martin
55f5eec85c Fixes for ExternalPumpBrowser 2021-02-17 22:51:00 +01:00
martin
088d20ff01 Allow Win/Linux to use external helper 2021-02-16 23:12:07 +01:00
martin
4a49ab6755 Add option UseMockKeyChain for Mac. Prevents requiring permissions, but stops encrypting Cookies. 2021-02-16 23:12:07 +01:00
martin
567f85058b Remove lps files and add *.lps to .gitignore. LPS are local session files meant to represent the state of the IDE, not the project. 2021-02-16 23:12:07 +01:00
martin
15d6336dd0 Make same app run on Win, Linux and Mac / Folder Lazarus_any_OS 2021-02-16 23:12:06 +01:00
martin
5cc767d430 Rename to ExternalPumpBrowser / Clean up 2021-02-16 18:10:01 +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
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