Commit Graph

54 Commits

Author SHA1 Message Date
Salvador Díaz Fau
4155f11128 OSR : MouseDown must handle the event regardless of the shift state 2018-02-25 16:57:03 +01:00
Salvador Díaz Fau
f1765f7288 Bug fix #93 2018-02-25 16:27:53 +01:00
Salvador Díaz Fau
3f94588897 Bug fix #92 2018-02-25 13:10:21 +01:00
Salvador Díaz Fau
a2ad188dc5 Added more conditional cmpilation for Windows
- Fixed bug with space char in OSR mode.
- SimpleOSRBrowser demo now follows the destruction sequence steps for browsers in OSR mode.
2018-02-19 13:35:01 +01:00
Salvador Díaz Fau
6905f9a292 Block all popup windows and new tabs in all demos except the MiniBrowser
- Added TChromium.IsSameBrowser function
2018-02-16 18:41:13 +01:00
Salvador Díaz Fau
fed1c04a3f SimpleOSRBrowser now shows tooltips 2018-02-01 18:57:54 +01:00
Salvador Díaz Fau
b47a8e2d52 FireMonkey support added
- New Delphi package called CEF4Delphi_FMX.dpk that includes VCL and FMX components.
- New FMX comopnents : TFMXChromium, TFMXBufferPanel and TFMXWorkScheduler.
- New FMX demo :  FMXExternalPumpBrowser
- Improved WorkScheduler for VCL too.
- New GlobalCEFApp.DisableWebSecurity property.
2018-01-25 21:34:04 +01:00
Salvador Díaz Fau
6c5d5d6036 Update to CEF 3.3239.1723.g071d1c1
- New MDIExternalPumpBrowser demo.
- New JSWindowBindingSubProcess demo.
- Added more comments and checks in some initialization functions of TCEFApplication.
2018-01-06 15:25:32 +01:00
Salvador Díaz Fau
26c6f6696d Update to CEF 3.3239.1700.g385b2d4
- New TCEFServerComponent. The new CEF3 includes a http and websockets server for communication between applications in localhost.
- New JSDialogBrowser demo to showhow to use custom forms in javascript dialogs.
- New SimpleServer demo which uses TCEFServerComponent.
- Removed all the code that could be removed from the DPR files and moved to another units.
- Now the GlogalCEFApp checks all the CEF3 binaries and stores the missing files in GlogalCEFApp.MissingLibFiles. The default error message gives a list of missing files.
- New GlobalCEFApp.Status property. Use it with GlobalCEFApp.ShowMessageDlg set to False if you want to show customized error messages.
- Now TCEFClient only creates the necessary handlers if you use any their events in TChromium.
- Fixed a destruction bug in OSRExternalPumpBrowser
- Added the procedures to handle WM_ENTERMENULOOP and WM_EXITMENULOOP to all the demos.
2017-12-18 19:38:56 +01:00
Salvador Díaz Fau
751fe924b7 Update to CEF 3.3202.1690.gcd6b88f
- Update to CEF 3.3202.1690.gcd6b88f
- Bug fix #71
- Added the TCEFWorkScheduler class to handle the cef_do_message_loop_work calls when you use an external message pump.
- Added 2 demos using the "external message pump" mode.
- Added a TakeSnapshot function to the TChromium and TCEFWindowParent to take snapshots in non-OSR mode.
2017-12-05 10:02:07 +01:00
Salvador Díaz Fau
b54a2861c4 Bug fix #68
RenderProcessHandler and ResourceBundleHandler are now created automatically in TCEFApplication. All their events are now TCEFApplication events.
2017-11-22 17:43:48 +01:00
Salvador Díaz Fau
47765631e3 Buffer panel resize fixes for SimpleOSRBrowser 2017-11-19 11:30:26 +01:00
Salvador Díaz Fau
ac54a086f4 Update to CEF 3.3202.1684.gd665578
- Removed the Graphics32 dependency in SimpleOSRBrowser demo. Now this demo uses a custom component called TBufferPanel included in CEF4Delphi.
- Now SimpleOSRBrowser demo draws the "select" elements.
- Fixed a bug in SimpleOSRBrowser with high DPI monitors. The new paint function works with all client sizes.
2017-11-16 12:49:15 +01:00
Salvador Díaz Fau
28a5827e3e SimpleOSRBrowser demo focus and mouse wheel fixes
- TChromium.Invalidate now also invalidates the browser in normal mode (non-OSR)
2017-11-13 18:32:48 +01:00
Salvador Díaz Fau
45d585970d Update to CEF 3.3202.1683.gb095524 2017-11-09 10:33:20 +01:00
Salvador Díaz Fau
d138e98ecb Added timers to create the browsers only when GlobalCEFApp.GlobalContextInitialized is TRUE 2017-11-04 18:32:29 +01:00
Salvador Díaz Fau
8becf848e9 Update to CEF 3.3202.1677.gd04a869 2017-11-01 09:38:38 +01:00
Salvador Díaz Fau
453c3065d7 OSR demo : TChromium.WasHidden(False) must be in TForm.OnShow 2017-10-29 17:18:27 +01:00
Salvador Díaz Fau
410c16b0bb OSR demo : TChromium.CreateBrowser moved to TForm.OnShow 2017-10-29 17:10:33 +01:00
Salvador Díaz Fau
bd0de4a775 Deleted unused files
- Bug fix #56 : Deleted unused files.
- Created the source\dcu directory for the Delphi 7 project .
2017-10-10 09:25:01 +02:00
Salvador Díaz Fau
5790d86fbf Bug fix #37
Initialization fix
2017-10-03 14:38:37 +02:00
Salvador Díaz Fau
d338c416fd Update to CEF 3.3163.1671.g700dc25 2017-10-02 11:36:22 +02:00
Salvador Díaz Fau
379272e643 Update to CEF 3.3112.1659.gfef43e0
- Update to CEF 3.3112.1659.gfef43e0
- Bug Fix #49
- Added longer error messages if the CEF binaries are not available.
- Added the AfterCreated event in TChromiumWindow.
- Added a 'Take a snapshot' button in the OSR demo.
2017-09-07 10:58:09 +02:00
Salvador Díaz Fau
383a1998ca Update to CEF 3.3112.1658.g3d5ae83
- Update to CEF 3.3112.1658.g3d5ae83
- Added an example of binary paramenters in the JSEval demo.
2017-09-01 22:44:58 +02:00
Salvador Díaz Fau
13c427fc24 Extra UpdateSize call
- Added an extra call to TCEFWindowParent.UpdateSize to the demos when the browser is fully created.

- Also added a fix for Delphi 10.2 compatibility in the SchemeRegistrationBrowser.
2017-08-23 12:28:45 +02:00
Salvador Díaz Fau
7f75c50c0b PostDataInspector demo 2017-08-22 18:35:04 +02:00
Salvador Diaz Fau
d2dd8fe5c7 Added high DPI support in OSR demo
- Added high DPI support in OSR demo
- Added cef.inc files in all demos
- Fixed some function declarations in the render handler.
2017-07-28 12:47:57 +02:00
Salvador Diaz Fau
e712f2fde4 Several small bug fixes
- Fixed the functions to get the certificate issuer chains :
TCEFX509CertificateRef.GetDEREncodedIssuerChain and
TCEFX509CertificateRef.GetPEMEncodedIssuerChain.
- Replaced FmtStr by a custom function for backwards compatibility.
- Added the property TCEFApplication.EnableGPU.
- Updated cef.inc to include the latest Delphi versions.
2017-07-25 12:25:20 +02:00
Salvador Diaz Fau
d54ab43b04 Bug fix #43 : backwards compatibility 2017-07-19 12:12:08 +02:00
Salvador Diaz Fau
5766453f91 Improved demos
- Bug fix #33 : Drag and drop is now supported in OSR mode.
- Improved keyboard handling in OSR mode.
- MiniBrowser demo : The DOM visitor and the Javascript extensions now
send customized results to the main form
- Fixed some CEF3 variable definitions.
2017-07-18 17:50:28 +02:00
Salvador Diaz Fau
9959b4b1e8 Update to CEF 3.3071.1647.gc8067b3 2017-07-12 17:00:34 +02:00
Salvador Diaz Fau
37b6ef8a04 bugfixes #35, #36 2017-07-02 13:17:47 +02:00
Salvador Diaz Fau
20c8f8db40 Update to CEF 3.3071.1645.gf54b5cd and new demo 2017-07-01 13:05:46 +02:00
Salvador Diaz Fau
4449d0505f Revert "Update to CEF 3.3071.1644.g408afd1 and new demo"
This reverts commit 7ac07f7a0f8c83ad44b621e79b3aa0251cb31068.
2017-07-01 13:05:45 +02:00
Salvador Diaz Fau
b80c4a6482 Update to CEF 3.3071.1644.g408afd1 and new demo
Update to CEF 3.3071.1644.g408afd1
New custom resource browser demo
2017-07-01 13:05:44 +02:00
Salvador Diaz Fau
b13e735ed6 Added a simple node search in MiniBrowser 2017-06-28 10:18:15 +02:00
Salvador Diaz Fau
afffdaab2f Update to CEF 3.3071.1643.ga83b8e9 2017-06-22 11:51:15 +02:00
Salvador Diaz Fau
830117e0ca Faster browser destruction
Faster browser destruction. All timers have been removed from the demos.
Removed unnecessary client handler class in TChromium. Now there's only
an interface.
Fixed an old memory leak in popup windows.
2017-06-11 17:48:20 +02:00
Salvador Diaz Fau
6851d71bd3 Update to CEF 3.3071.1634.g9cc59c8 2017-06-06 12:49:27 +02:00
Salvador Diaz Fau
006d33da3a Added overloaded TChromium.CreateBrowser function 2017-06-01 10:33:30 +02:00
Salvador Diaz Fau
f803df15e7 Update to CEF 3.3029.1619.geeeb5d7
- Update to CEF 3.3029.1619.geeeb5d7
- Added fullscreen for HTML5 to MiniBrowser demo
2017-05-18 11:46:23 +02:00
Salvador Diaz Fau
18a9de0a94 Update to CEF 3.3029.1613.g22354a9
- Update to CEF 3.3029.1613.g22354a9
- Bug fix #28
- Added missing functions in uCEFMiscFunctions.pas
- Fixed MDIBrowser app close issue.
- Changed the CustomExceptionHandler to reraise exceptions with full
trace.
2017-05-07 18:14:02 +02:00
Salvador Diaz Fau
0ec2b29075 Update to CEF 3.3029.1611.g44e39a8
Update to CEF 3.3029.1611.g44e39a8
New MDIBroser demo
MultiThreadedMessageLoop initialization bug fix
New function to handle exceptions
Added a function to parse URLs
2017-05-01 14:49:43 +02:00
Salvador Diaz Fau
ca993f6003 Update to CEF 3.3029.1604.g364cd86
Update to CEF 3.3029.1604.g364cd86 / Chromium 58.0.3029.81
Bug fix for Delphi 10.2
Now the binaries are fully movable
2017-04-26 15:45:41 +02:00
Salvador Diaz Fau
6842559661 Bug fixes : #18 #26
Bug fix #18 : Random crashes using custom schemes
Bug fix #26 : Dropdown control appearing in wrong place after form moved
2017-04-24 12:57:16 +02:00
Salvador Diaz Fau
f912c6d5ec Bug fix : Render process crash with large images 2017-04-15 18:19:22 +02:00
Salvador Diaz Fau
5c484b5658 Conditional compilation for Delphi 2007 in DPR 2017-03-26 22:43:46 +02:00
Salvador Diaz Fau
68769fdda2 Update to CEF 3.2987.1594.g92fba9c
Bug fix for memory leak in TChromium.Internal_SavePreferences
2017-03-16 19:12:31 +01:00
Salvador Diaz Fau
6178ab49a5 Update to CEF3.2924.1575
MiniBrowser : Addition of a preferences form, replacement of URLEdt by
URLCbx, addition of a custom scheme
TCEFApplication : Addition of 3 new properties : EnableSpellingService,
EnableMediaStream, EnableSpeechInput
TCEFChromium : Renamed internal procedures, addition of
UppdatePreferences and SavePreferences procedures, more checks in
doOnBeforeClose and doOnClose.
TCefChromiumWindow : WebBrowser_OnClose returns False by default
2017-03-15 14:53:45 +01:00
Salvador Diaz Fau
b35837585c missing cef.inc in demos 2017-02-26 16:47:09 +01:00