martin
9766f0e175
Readme and known restrictions
2021-03-20 05:44:04 +01:00
martin
9346acaaa0
MacOS: Get cursor keys to work under OSR
2021-03-20 05:29:35 +01:00
martin
c45c130b33
Expose additional event properties
2021-03-20 05:29:35 +01:00
Salvador Díaz Fau
181f589843
Update to CEF 89.0.7
2021-03-14 11:54:24 +01:00
martin
bd947d73a9
Add component LazarusOsrBrowserWindow / limited keyboard support, no sys keys, some keys missing on Mac
2021-03-11 16:49:26 +01:00
martin
83da1908ee
Refactor BufferPanel: call OnPaint, after painting / allow apps to paint in browser
2021-03-10 18:57:50 +01:00
martin
28d4240ace
Refactor BufferPanel: Allow inherited classes to hook IME events
2021-03-10 18:57:49 +01:00
martin
243b42ebd4
refactor Component LazBrowserWindow / Extracted TLazChromium
2021-03-10 18:57:49 +01:00
martin
d37e72c010
Changed Demo BrowserWindow (Lazarus_any_OS) to use ContextInitialized Handler
2021-03-10 17:07:58 +01:00
martin
605d31f8cf
Added CefLazApplication: Provide RegisterHandler for ContextInitialized
2021-03-10 17:07:58 +01:00
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
martin
8676b8c90a
Fix compile for Cocoa with Lazarus fixes branch 2.0.x / Requires patches LCL from SVN rev 63693
2021-03-02 00:03:55 +01:00
martin
754fd4a952
New TLazarusBrowserWindow. Handles all required events.
2021-03-01 01:18:26 +01:00
martin
121a43e824
CrAppProtocol for cocoa / Add Cocoa CloseChildHandle
2021-03-01 01:18:02 +01:00
martin
cee41f519b
Browser can be destroyed while in event. Do not access after that.
2021-03-01 01:18:01 +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
martin
c7fba0eb39
Extracted base-class for TCefWindow with Chromium / Move WndProc
2021-02-23 17:37:39 +01:00
martin
ff9d2a39a8
Extracted base-class for TCefWindow with Chromium
2021-02-23 17:37:00 +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
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
martin
4a49ab6755
Add option UseMockKeyChain for Mac. Prevents requiring permissions, but stops encrypting Cookies.
2021-02-16 23:12:07 +01:00
martin
91f0c8d740
Fix: Set LocalesDirPath and ResourcesDirPath from FrameworkDirPath, if not set explicitly
2021-02-16 21:15:22 +01:00
martin
cd73dd8b8d
Use MultiExeProcessing on Mac
2021-02-16 18:10:01 +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
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
martin
03e917f85c
Set LocalesDirPath and ResourcesDirPath from FrameworkDirPath, if not set explicitly
2021-02-07 22:10:08 +01:00
martin
bfff18e7b5
fix compile. If IFDEF does not apply, an empty var block causes a compile error on fpc
2021-02-07 22:10:08 +01:00
martin
7c94142d25
fix compile on Fpc/Mac. Handle is PtrUInt. IFDEF MACOS only matches Delphi
2021-02-07 22:10:08 +01:00
martin
06bcf00dd7
Allow AppHelper to read FrameworkDirPath from argv
2021-02-07 22:10:08 +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
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
e0396ac3a5
Improved MacOS support thanks to martin_fr
...
Reorganized demos by OS
2021-01-31 16:53: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
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