Commit Graph

205 Commits

Author SHA1 Message Date
Salvador Díaz Fau
8188dd2ca0 Update to CEF 90.6.2 2021-04-29 17:00:54 +02:00
Salvador Díaz Fau
c5fae76a1f Update to CEF 90.5.4 2021-04-18 19:36:20 +02:00
martin
eb03146bb2 Merged LazApplication int CefApplication (IFDEF) 2021-03-21 02:27:03 +01:00
Salvador Diaz Fau
1d984307ad Updated copyright year 2021-01-01 11:11:30 +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
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
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 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
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
Andreas Hausladen
b9b25a9af1 Fix "Invalid COM thread model change" with Debug-DLLs for FMX 2019-11-09 12:53:13 +01:00
Salvador Díaz Fau
7496c5e67c
Merge pull request #235 from ahausladen/FixSubProcessCOMThreadModel
Fixes #234 "Invalid COM thread model change" with Debug-DLLs
2019-11-09 09:36:47 +01:00
Andreas Hausladen
3e9c5c4017 Fix ProcessType parameter parsing.
ParamStr() uses 0..ParamCount where 0 is the executable filename, 1 is the first and ParamCount is the last parameter.
2019-11-08 23:32:00 +01:00
Andreas Hausladen
af9869319c Undo TApplication.Create's OleInitialize in the sub-processes to prevent the Debug-DLLs from failing with an "Invalid COM thread model change" assertion.
Added optional TCefApplication.DestroyApplicationObject:Boolean property that causes the VCL's Application object to be destroyed. This will undo all the code from TApplication.Create. The Default value is "False" because if user code accesses the Application object in a sub-process it will cause NullReferenceExceptions.
2019-11-08 20:54:11 +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
Salvador Díaz Fau
f0106c20d7 Update to CEF 78.2.9 2019-10-30 10:26:48 +01:00
Salvador Díaz Fau
d8ea60d8fd Added GlobalCEFApp.DisableReadingFromCanvas
Added GlobalCEFApp.HyperlinkAuditing
2019-10-28 09:56:15 +01:00
Salvador Díaz Fau
2f63378da4 Added a warning about using CEF4Delphi events to modify Windows controls 2019-10-21 11:17:47 +02: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
86fd4a0c4d Added GlobalCEFApp.TouchEvents property
- Added TChromium.ExecuteTaskOnCefThread function.
- Added TChromium.OnExecuteTaskOnCefThread event.
2019-10-18 17:15:55 +02:00
Salvador Díaz Fau
b218368d91 Removed unused TChromium.CookiePrefs and TChromium.ImagesPrefs properties
Reorder the TCefApplication properties and added more comments
2019-10-15 18:09:22 +02:00
Salvador Díaz Fau
4756bd864a Update to CEF 77.1.14 2019-10-15 11:22:42 +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
1dc18e6aa6 Update to CEF 77.1.12
- Added TChromium.PrintingEnabled property
- Added TChromium.ClearCertificateExceptions function
- Added TChromium.ClearHttpAuthCredentialsfunction
- Added TChromium.CloseAllConnections function
- Added TChromium.OnCertificateExceptionsCleared event
- Added TChromium.OnHttpAuthCredentialsCleared event
- Added TChromium.OnAllConnectionsClosed event
2019-10-08 15:03:22 +02:00
Salvador Díaz Fau
29f5f3475d Update to CEF 77.1.11 2019-10-05 09:53:21 +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
ed327ed479 Update to CEF 77.1.7 2019-10-03 12:25:40 +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
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
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
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
6663682880 Update to CEF 76.1.9 2019-08-08 22:50:38 +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
ad3260c613 Update to CEF 75.1.14 2019-07-29 09:14:32 +02:00
Salvador Díaz Fau
ca4a7a4296 Update to CEF 75.1.8
- Added a Patreon button to the readme
2019-07-25 12:16:34 +02:00
Salvador Díaz Fau
5c6539e3a9 Added CopyCEFDlls tool made by raelb
Added GlobalCEFApp properties with most of the switches defined in cef_switches.cc
2019-07-22 09:33:24 +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
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
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
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
Salvador Díaz Fau
62b930cc27 Update to CEF 74.1.14 2019-05-07 12:39:32 +02:00
Salvador Díaz Fau
1a239e1e02 Update to CEF 74.1.13 2019-04-25 10:52:10 +02:00
Salvador Díaz Fau
6f3920a052 Update to CEF 73.1.13 2019-04-21 11:10:39 +02: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
70b12c6ae9 Update to CEF 73.1.11+ge6986dc+chromium-73.0.3683.75 2019-03-20 17:08:16 +01:00