Salvador Díaz Fau
5bfeb8de3f
Rollback the last fix for issue #288
...
The last fix sometimes caused an exception while you close the browser.
2020-07-13 15:28:04 +02:00
Salvador Díaz Fau
4be703326c
Fixed issue #288
...
Added Lazarus 2.0.10/FPC 3.2.0 reference to the readme file
2020-07-12 16:54:37 +02:00
Salvador Díaz Fau
59ec2022e5
Added TChromiumCore.ClearDataForOrigin procedure
...
Added a menu option to the MiniBrowser demo to clear all data from the current URL
2020-07-05 12:56:21 +02:00
Salvador Díaz Fau
d394d41991
Added TChromiumCore.SetUserAgentOverride procedure
...
Added menu option to change the User Agent string at runtime to the MiniBrowser demo.
2020-07-05 12:06:33 +02:00
Salvador Díaz Fau
e82dc1a080
Added TChromium.ClearCache procedure
...
Added TChromium.Offline property.
Added a menu option to the MiniBrowser demo to clear the cache with the DevTools methods.
Added a menu option to the MiniBrowser demo to take a screenshot with the DevTools methods.
2020-07-02 12:49:21 +02:00
Salvador Díaz Fau
43e0c80431
Update to CEF 83.4.2
2020-07-02 10:50:52 +02:00
Salvador Díaz Fau
9e53c4ed92
Merge branch 'master' into master
2020-06-30 13:03:29 +02:00
paweld
45d405774c
Patch for compilation error on FPC 3.2.0 - next part
...
Now it's ok on delpi 7.
Tested on:
- Lazarus 2.1.0 r63482 with fpc3.2.0 and fpc 3.0.4
- Lazarus 2.0.8 with fpc 3.0.4
- Delphi 7
- Delphi 10.2.3
2020-06-30 11:32:49 +02:00
paweld
84e6855b63
Patch for compilation error on FPC 3.2.0
2020-06-29 11:07:22 +02:00
Salvador Díaz Fau
b48fd893ad
Revert "Update uCEFOLEDragAndDrop.pas"
2020-06-28 15:04:16 +02:00
paweld
17b81d9472
Update uCEFOLEDragAndDrop.pas
...
Patch for compilation error on FPC 3.2.0 [No matching implementation for the interface method "SetData (const tagFORMATETC; var TagSTGMEDIUM; LongBool): LongInt; Stdcall; " found]
2020-06-27 20:18:41 +02:00
Salvador Díaz Fau
d55d7c0733
Added the TChromium.DefaultWindowInfoExStyle property
...
DefaultWindowInfoExStyle is used to initialize the browser window with that ExStyle. In some cases a focus issue may be fixed if we use the WS_EX_NOACTIVATE value instead of 0 but it may have some side effects.
This could be used to fix issue #282
2020-06-22 16:17:38 +02:00
Salvador Díaz Fau
7e3e8bad24
Update to CEF 83.4.0
2020-06-21 21:27:55 +02:00
Salvador Díaz Fau
ef2277fe6c
Fixed compiler warnings in Delphi 7 with string type conversions
...
- Added TCefFastDomVisitor3
2020-06-20 16:10:29 +02:00
Salvador Díaz Fau
ea447c74d5
Fixed LoadLibrary parameter for Linux
2020-06-13 17:57:59 +02:00
Salvador Díaz Fau
0be9d32bc3
Fixed Unicode strings issue with Windows API calls
...
Added more NIL checks in TChromiumCore
2020-06-13 17:24:22 +02:00
Salvador Díaz Fau
ef46244dde
Update to CEF 83.3.12
2020-06-06 11:33:13 +02:00
Salvador Díaz Fau
ea75cd51d2
Update to CEF 83.3.11
2020-05-29 16:48:25 +02:00
Salvador Díaz Fau
f773189b70
Update to CEF 83.3.10
...
- Issue #280 : Added GlobalCEFApp.MissingBinariesException property.
2020-05-26 16:57:37 +02:00
Salvador Díaz Fau
c44023cb21
Update to CEF 83.3.9
2020-05-23 15:00:44 +02:00
Salvador Díaz Fau
7798f97872
Update to CEF 81.3.10
...
- Add missing "messages" unit to the uses section in FMXTabbedOSRBrowser demo.
2020-05-14 18:54:42 +02:00
Salvador Díaz Fau
dbab922640
Update to CEF 81.3.5
...
- Added TChromium.IndexOfBrowserID
- Fixed TChromium.GetBrowserById
- Added "Find text..." menu option to the MiniBrowser demo
2020-05-12 11:30:19 +02:00
Salvador Díaz Fau
e47b526c33
Fix for issue #277
...
- Added attribution links to other projects in the readme file.
2020-05-09 11:41:20 +02:00
Salvador Díaz Fau
1d750fac10
Compatibility fix for D7
2020-05-08 17:47:49 +02:00
Salvador Díaz Fau
5c4108424a
Update to CEF 81.3.2
2020-05-08 12:01:11 +02:00
Salvador Díaz Fau
132edb2e88
Added Multi-Browser mode to TChromium
...
MiniBrowser demo now has the Multi-browser mode enabled.
Added TChromium.MultiBrowserMode
Added TChromium.BrowserById
Added TChromium.BrowserCount
Added TChromium.BrowserIdByIndex
Added TChromium.SelectBrowser
Added TChromium.CloseAllBrowsers
Added TChromium.TryCloseBrowser
2020-05-07 11:46:48 +02:00
Salvador Díaz Fau
5c2204b207
Fixed issue #277
2020-05-05 19:20:23 +02:00
Salvador Díaz Fau
318318c85c
Added Views Framework support #244
...
Added ToolBoxBrowser2 demo
Added TCEFBrowserViewComponent.
Added TCEFLabelButtonComponent.
Added TCEFMenuButtonComponent.
Added TCEFPanelComponent.
Added TCEFTextfieldComponent.
Added TCEFScrollViewComponent.
Added TCEFWindowComponent.
2020-05-05 18:10:33 +02:00
Salvador Díaz Fau
ccdb41b357
Update to CEF 81.3.1
2020-04-30 17:28:41 +02:00
Salvador Díaz Fau
ee831e85bd
Update to CEF 81.2.25
...
- Work in progress : Added many more units, classes and types to support the Views Framewrok.
2020-04-29 19:14:44 +02:00
Salvador Díaz Fau
a3cab55a7c
Added missing process type to the CefDebugLog procedure
2020-04-25 16:47:16 +02:00
Salvador Díaz Fau
a34ae44cb0
Update to CEF 81.2.24
...
- Added code comments to the MediaRouter demo
- Added a Lazarus version of the MediaRouter demo
2020-04-25 15:57:11 +02:00
Salvador Díaz Fau
fd50565420
Update to CEF 81.2.22
...
- Added CefKeyEventLog and CefMouseEventLog to the uCEFMiscFunctions unit
2020-04-23 11:11:53 +02:00
Salvador Díaz Fau
823be24cd9
Update to CEF 81.2.21
2020-04-22 13:12:46 +02:00
Salvador Díaz Fau
dce556683a
Update to CEF 81.2.19
2020-04-21 13:27:34 +02:00
Salvador Díaz Fau
9a0c782064
Fixed exceptions when you tried to used empty languages list and set a managed preference
2020-04-20 12:02:16 +02:00
Salvador Díaz Fau
62c310a7b9
Update to CEF 81.2.17
...
- New MediaRouter demo (still buggy)
- Removed TCEFMediaObserverComponent and merged all the ICefMediaObserver methods and events into TChromium.
- Fixed some Media Observer parameters
- Added TChromium.RequestContext
- Added TChromium.MediaRouter
- Added TChromium.MediaObserver
- Added TChromium.Registration
2020-04-19 22:47:20 +02:00
Salvador Díaz Fau
02ef32b474
Update to CEF 81.2.16
...
Removed unused uCEFAudioHandler unit
2020-04-11 11:23:24 +02:00
Salvador Díaz Fau
3de53a0376
Update to CEF 81.2.15
2020-04-10 09:49:34 +02:00
Salvador Díaz Fau
846aeddd54
Issue #273 fixed
...
- Added TFMXChromium.ScreenScale property
2020-04-09 18:43:03 +02:00
Salvador Díaz Fau
c9b2af2a5e
Issue #271 is fixed
...
Removed workaround from TBufferPanel, TFMXBufferPanel and demos.
2020-04-04 10:58:48 +02:00
Salvador Díaz Fau
0bf3156cca
Update to CEF 80.1.15
2020-04-04 10:18:30 +02:00
Salvador Díaz Fau
1f912a7d38
Removed double unit declaration in uses section
2020-04-03 18:40:27 +02:00
Salvador Díaz Fau
0b06db2f13
Minor MacOS build fix
2020-04-03 18:30:12 +02:00
Salvador Díaz Fau
c55283acb1
Update to CEF 80.1.14
2020-04-03 17:57:52 +02:00
Salvador Díaz Fau
45db1a3ef9
Update to CEF 80.1.4
...
- Fixed issue #266
2020-04-02 10:44:53 +02:00
Salvador Díaz Fau
7662b61778
Workaround for issue #271
2020-03-31 12:44:10 +02:00
Salvador Díaz Fau
1984ab16ba
Update to CEF 80.1.2
...
- Added TCEFMediaObserverComponent
- Removed TBufferPanel.OnWrongSize
- Removed TFMXBufferPanel.OnWrongSize
2020-03-29 17:31:42 +02:00
Salvador Díaz Fau
beb287e22c
Fix wrong SELECT size with multiple SELECT elements in OSR mode
2020-03-18 18:37:55 +01:00
Salvador Díaz Fau
a397f68a1a
Update to CEF 80.0.8
...
- Added GlobalCEFApp.ForceFieldTrials property.
- Added GlobalCEFApp.ForceFieldTrialParams property.
2020-03-10 11:59:58 +01:00
Salvador Díaz Fau
e1f3fb5ee3
Update to CEF 80.0.5
...
- Added overloaded ScreenToClient and ClientToScreen functions to TFMXBufferPanel
- Modified TFMXBufferPanel.GetScreenScale to read the current DPI
- Modified FMXExternalPumpBrowser and FMXTabbedOSRBrowser demos to read TFMXBufferPanel.ScreenScale and removed some pointer checks.
2020-03-05 11:15:47 +01:00
Salvador Díaz Fau
f4dd3e69a3
Fix for issue #265 made by Matthias Kretschmar
...
Added TChromium.AcceptCookies and TChormium.Block3rdPartyCookies
2020-03-04 09:42:32 +01:00
Salvador Díaz Fau
feaeb772cb
Update to CEF 80.0.4
...
- Added GlobalCEFApp.DisableNewBrowserInfoTimeout property
- Removed remaining TCEFSentinel from all the demos.
- Fixed mouse coordinates in FMX demos with OSR browsers before sending a mouse wheel event.
2020-02-26 13:28:29 +01:00
Salvador Díaz Fau
a20752eb53
Update to CEF 79.1.38
2020-02-23 10:10:34 +01:00
Salvador Díaz Fau
e8d2db5b57
Added touch support for Windows 8,8.1,10 to FMXExternalPumpBrowser
...
- Removed GestureBrowser demo
- Added TBufferPanel.OnWrongSize event
- Added TFMXBufferPanel.OnWrongSize event
- More touch support fixes in SimpleOSRBrowser and KioskOSRBrowser.
2020-02-08 12:59:59 +01:00
Salvador Díaz Fau
75258ea8e7
Fixed GetDigitizerStatus function for older Delphi versions
2020-02-06 10:37:54 +01:00
Salvador Díaz Fau
7a6a008128
Clip drawing area for Firemonkey browsers in OSR mode using TFMXBufferPanel
2020-02-05 18:52:32 +01:00
Salvador Díaz Fau
e9601e4ee3
Fixed touch events in SimpleOSRBrowser and KioskOSRBrowser demo in Windows 7
...
- TChromium.AcceptLanguageList is now always updated
- Added GetDigitizerStatus and HasTouchOrPen functions to uCEFMiscFunctions
2020-02-05 14:40:22 +01:00
Salvador Díaz Fau
40328b5724
Fixed backwards compatibility issues in Delphi and Linux build issues in Lazarus
2020-02-04 11:50:38 +01:00
Salvador Díaz Fau
99efd21094
Fixed "error 217" in Lazarus with TCEFSentinel
...
- Removed TCEFSentinel from CookieVisitor and CustomResourceBrowser in Lazarus
2020-02-04 11:04:29 +01:00
Salvador Díaz Fau
dc841d6199
Fix Lazarus/FPC compatibility issues
2020-02-03 16:14:31 +01:00
Salvador Díaz Fau
1ca9ebf179
Added touch and pen support to SimpleOSRBrowser and KioskOSRBrowser demos
...
- Added TBufferPanel.OnCustomTouch
- Added TBufferPanel.OnPointerDown
- Added TBufferPanel.OnPointerUp
- Added TBufferPanel.OnPointerUpdate
- Added TFMXWindowParent.Touch
- Added TFMXWindowParent.OnGesture
- Removed the gesture manager from the KioskOSRBrowser demo
2020-02-03 12:02:30 +01:00
Salvador Díaz Fau
f324118a56
Added GestureBrowser demo.
...
- Added TCEFWinControl.Touch and TCEFWinControl.OnGesture to the published section.
2020-02-01 19:14:01 +01:00
Salvador Díaz Fau
23663b10e2
Update to CEF 79.1.36
...
- Added missing Windows messages to the application service and restored the SendCompMessage function in the FMXExternalPumpBrowser demo.
- Removed TCEFSentinel from the JSEval and JSRTTIExtension demos.
2020-01-30 12:08:50 +01:00
Salvador Díaz Fau
b7a4cdd786
Update to CEF 79.1.35
...
- Added groups to the demos with a secondary subprocess project
- Added some conditional directives for MacOS (MACOS IS NOT SUPPORTED YET!)
- Removed some Windows dependencies in the FMXExternalPumpBrowser demo
- Added TChromium.ParentFormHandle property
2020-01-28 11:36:34 +01:00
Salvador Díaz Fau
d84d1b4027
Fixed missing "stdcall" in ProcessUnderWow64 declaration
2020-01-18 15:15:41 +01:00
Salvador Díaz Fau
ec244b75d1
Update to CEF 79.1.31
...
- Fixed an issue with the RETURN key not working in the FMXExternalPumpBrowser demo.
- Moved CEF_SHOWBROWSER constant to the main form unit and removed the DoChildDestroyed procedure in the FMXToolBoxBrowser demo.
- Removed references to the TFMXApplicationService in the SimpleFMXBrowser demo comments.
2020-01-17 11:39:27 +01:00
Salvador Díaz Fau
91a845e42f
Update to CEF 79.1.27
...
- Fixed issue #253 when the FMX demos in normal mode are minimized and restored by clicking directly in the task bar icon.
2020-01-15 18:11:12 +01:00
Salvador Díaz Fau
e93fd29623
Update to CEF 79.1.10
...
- Added TCEFOAuth2Helper
- Added OAuth2Tester demo
- Added GetDefaultCEFUserAgent function to the uCEFMiscFunctions unit.
2020-01-13 15:39:44 +01:00
Salvador Díaz Fau
c14be37648
Update to CEF 79.1.3
2020-01-07 17:08:37 +01:00
Salvador Díaz Fau
8df34119d3
CefRegisterExtension fix for single process mode made by Michał Jasiński
2020-01-05 15:15:48 +01:00
Salvador Díaz Fau
e53cc7ee5d
Added TFMXChromium.TakeSnapshot
...
- Added TFMXChromium.SaveAsBitmapStream
- Added TChromium.SaveAsBitmapStream
- Fixed bug #253
2020-01-02 20:02:47 +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
Salvador Díaz Fau
4b585809ed
Added GlobalCEFApp.SupportedSchemes
...
- Added TChromium.UpdateSupportedSchemes
- Added local image selection to the EditorBrowser demo
2019-12-21 12:30:16 +01:00
Salvador Díaz Fau
b57ba15ff6
Linux fixes made by pmamod
...
- Added 2 Linux demos in Lazarus : SimpleBrowser2 and SimpleOSRBrowser.
2019-12-18 15:10:30 +01:00
Salvador Díaz Fau
c99d14c8f0
Improved zoom handling
...
- Added TChromium.IncZoomPct procedure to increase the zoom percent value
- Added TChromium.DecZoomPct procedure to decrease the zoom percent value
- Added TChromium.ResetZoomLevel procedure to reset the zoom level value
- Added TChromium.ResetZoomPct procedure to reset the zoom percent value
- Added TChromium.ReadZoom procedure to trigger the TChromium.OnZoomPctAvailable event with the current zoom percent value.
- Added TChromium.OnZoomPctAvailable event.
- Added the new TChromium.OnZoomPctAvailable event to the MiniBrowser demo.
2019-12-10 16:49:07 +01:00
Salvador Díaz Fau
52cf914bbb
Added GlobalCEFApp.DisableSiteIsolationTrials property
2019-12-04 11:15:14 +01:00
Salvador Díaz Fau
4231252493
New TChromium.AcceptLanguageList property
...
- New menu option to set the Accept Language List in MiniBrowser.
- CookieVisitor now blocks some cookies from a custom domain.
2019-12-03 12:12:19 +01:00
Salvador Díaz Fau
4140bed28a
Create the resource request handler for new tabs/popups
2019-11-28 17:28:35 +01:00
Salvador Díaz Fau
160d4de7cd
Update to CEF 78.3.9
...
- Issue #230 fixed : Shutdown crashes since CEF 77
- Issue #214 fixed : OSR demos crash when resized since CEF 76
2019-11-27 10:42:42 +01:00
Salvador Díaz Fau
c455886d29
Fixes in string handling and CEF types
...
- Modified Cefv8Accessor and Cefv8Interceptor helper function declarations.
- Fixed and renamed ICefV8Interceptor parameters.
- Fixed and renamed ICefV8Accessor parameters.
- Modified ICefValue.SetBool parameter.
- Fixed ICefMenuModelDelegate.FormatLabel "label" parameter.
- Modified CefStringClearAndGet parameter.
- Added CefStringInitialize function.
- Fixed string handling in TCefRequestContextRef.SetPreference.
- Fixed string handling in TCefCustomResourceBundleHandler.GetLocalizedString.
- Fixed string handling in TCefResourceHandlerOwn.GetResponseHeaders.
- Fixed string handling in TCefResourceRequestHandlerOwn.OnResourceRedirect.
- Fixed string handling in TCefStringMapOwn.
- Fixed string handling in TCefStringMultimapOwn.
- Fixed and renamed ICefv8Handler.Execute parameters.
- Adapted JSWindowBindingWithObject demo to new Cefv8Accessor declaration.
2019-11-24 18:19:49 +01:00
Salvador Díaz Fau
e5c2d4cc99
Update to CEF 78.3.4
...
More fixes in the CEF API types
2019-11-20 10:45:46 +01:00
Salvador Díaz Fau
956eea99bc
New ToolBoxSubProcessBrowser demo
...
- Minor corrections in CEF API types
2019-11-19 12:44:29 +01:00
Andreas Hausladen
688969bcd7
Fixes #198 : Setting the HwndParent for the Chrome_WidgetWin_0 window makes the popupmenu to close if the user clicks somewhere else.
2019-11-11 21:22:39 +01:00
Salvador Díaz Fau
b9e22bd870
Adapted ConsoleBrowser and DLLBrowser to use uCEFApplicationCore
...
- Added more comments to TChromiumCore.VisitAllCookies and TChromiumCore.VisitURLCookies
2019-11-11 11:38:01 +01:00
Andreas Hausladen
eb0d04f1b5
FPC compatibility with all missing MSWINDOWS features (Drag&Drop, OnBrowserCompMsg/OnWidgetCompMsg/OnRenderCompMsg) that VCL/FMX already had
...
Some Linux support (compiles and can load the libcef.so but still crashes when calling CreateBrowser)
2019-11-10 21:41:13 +01:00
Andreas Hausladen
d897a1d815
Combine CEFChromium common code
2019-11-10 00:34:02 +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
Salvador Díaz Fau
8edf03c7c4
Merge pull request #239 from ahausladen/FixCompWndProc
...
Fixed #130 : MiniBrowser demo only shows the mouse coordinates in the first webpage
2019-11-09 15:50:09 +01:00
Andreas Hausladen
a4945a236f
Fixed #130 : If the RenderCompHWND has changed the original WndProc of the old window if it still exists must be restored and the new window must be subclassed.
2019-11-09 14:40:17 +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
d950813081
Updated internal version after several merges
...
- Removed BOM mark in uChromium.pas
2019-11-09 09:44:24 +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
Salvador Díaz Fau
56a11607f3
Merge pull request #236 from ahausladen/FixAnsiStringWarnings
...
Fix AnsiStrings warnings in Delphi 2009-XE3
2019-11-09 09:24:17 +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
9f70845bb1
Fix AnsiStrings warnings in Delphi 2009-XE3
2019-11-08 22:12:45 +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
427059dd9a
Added TChromium.OnCookieVisitorDestroyed
...
- Removed TChromium.OnGetResourceRequestHandler
- Added TChromium.OnGetResourceRequestHandler_ReqHdlr
- Added TChromium.OnGetResourceRequestHandler_ReqCtxHdlr
- Modified the CookieVisitor demo to use TChromium.OnCookieVisitorDestroyed
2019-11-08 14:32:03 +01:00
Salvador Díaz Fau
aec9e6b922
Use SYSTEM proxy settings as default
2019-11-07 14:36:20 +01:00
Andreas Hausladen
16096d9f30
Use SYSTEM proxy settings as default
2019-11-07 13:36:07 +01:00