Commit Graph

105 Commits

Author SHA1 Message Date
Salvador Díaz Fau
10c9a99805 Update to CEF 3.3538.1852.gcb937fc
- Bug fix #139
- Added a LoadHandler in the render process.
- Added TCefApplication.OnLoadingStateChange
- Added TCefApplication.OnLoadStart
- Added TCefApplication.OnLoadEnd
- Added TCefApplication.OnLoadError
- Fixed a Delphi XE2 compilation issue.
2018-11-15 19:08:16 +01:00
Salvador Díaz Fau
627a77e8d2 Update to CEF 3.3538.1848.g1d1fe01 2018-10-26 10:32:10 +02:00
Salvador Díaz Fau
139f1dded2 Added memory information properties to GlobalCEFApp 2018-10-25 12:50:01 +02:00
Salvador Díaz Fau
a151f8d639 Update to CEF 3.3497.1840.gcd24143
- Added process information in the log file when you compile in DEBUG mode.
- Now TCefApplication checks if the subprocess executable is present.
2018-10-12 12:21:43 +02:00
Alexey Shumkin
16a676128f
improve: allow to disable extensions (cef_extensions.pak)
Some projects does not use extenstions, so there is no need to include
`cef_extensions.pak` into a project, but CEF4Delphi requires it.

Make able to disable extensions. Let's introduce the method
`DisableExtensions` which will disable the file check for
`cef_extensions.pak` and will add the `--disable-extensions` command
line option.
2018-10-03 12:36:30 +03:00
Salvador Díaz Fau
54a88d04fa Catch date conversion exceptions 2018-09-18 16:19:21 +02:00
Salvador Díaz Fau
833d50134a Delete the cache and cookies directories in a thread 2018-09-18 15:19:44 +02:00
Salvador Díaz Fau
e5bb0cd561 Improved Is32BitProcess function. 2018-09-02 15:40:56 +02:00
Salvador Díaz Fau
7342cccbb5 Added more error information to TCefApplication.CheckCEFLibrary
TCefApplication.CheckCEFLibrary now shows the binaries version and it also checks that the DLL and the application are compiled for the same architecture.
2018-09-02 13:11:43 +02:00
Salvador Díaz Fau
5e5d0dcb74 TCefFileDialogMode and TCefDuplexMode defined as constants
- Added more parameter checks in CefRegisterExtension
- Minor change registering the extension in JSExtension demo. The TempHandler reference is valid until it reaches the "finally".
2018-07-24 18:18:54 +02:00
Salvador Díaz Fau
b701fc99e8 CefRegisterSchemeHandlerFactory bug fix
CefRegisterSchemeHandlerFactory can have an empty DomainName and a nil handler.
2018-06-11 18:38:51 +02:00
Salvador Díaz Fau
bde2aeef85 Update to CEF 3.3396.1777.g636f29b
More GlobalCEFApp checks in uCEFMiscFunctions.pas
2018-06-11 09:01:38 +02:00
Salvador Díaz Fau
67b9ecc578 Update to CEF 3.3396.1775.g5340bb0
- Bug fix #117
- ResponseFilterBrowser now ignores the Content-Length is it has a compressed size
2018-06-03 17:18:54 +02:00
Salvador Díaz Fau
8000e45198 CEF Views type and interface definitions
- Added some Linux and MacOS initialization (doesn't work yet)
- GlobalCEFApp.MustFreeLibrary is now FALSE by default.
- GlobalCEFApp set to nil in all demos.
- ResponseFilterBrowser now uses the critical section in Chromium1ResourceLoadComplete.
- Added overloaded TChromium.LoadURL to load a URL in a frame.
- Added url and cookiename parameters to TChromium.DeleteCookies to delete the cookies from that url and/or name.
2018-05-24 19:15:41 +02:00
Salvador Díaz Fau
dae14bed08 Fixed issue #110 : Correct NativeInt and NativeUInt declaration in FPC 2018-05-14 16:12:21 +02:00
Salvador Díaz Fau
dd5f7f42c4 Added support for Lazarus/FPC (windows 32bit) 2018-05-12 14:50:54 +02:00
Salvador Díaz Fau
d230010fa9 Update to CEF 3.3325.1758.g9aea513 and new SimpleFMXBrowser demo 2018-04-18 10:25:38 +02:00
Salvador Díaz Fau
2c4fa2c94f Update to CEF 3.3325.1756.g6d8faa4 2018-03-31 18:08:18 +02:00
Salvador Díaz Fau
6fa50706a1 Update to CEF 3.3325.1755.g7c74b17 2018-03-29 20:02:04 +02:00
Salvador Díaz Fau
368479b0eb Update to CEF 3.3325.1746.ge81cdf2 2018-03-08 11:47:04 +01:00
Salvador Díaz Fau
d31825a7a5 Bug fix #98 2018-02-26 18:40:51 +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
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
92c167a1da Bug fixes #64 and #65
- Modified CheckLocalFiles for D7 compatibility
- Added WebRTC properties to TChromium
2017-11-04 09:40:31 +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
74b1d6c52a Added v8_context_snapshot.bin to the cef binaries checking functions
- Added v8_context_snapshot.bin to the cef binaries checking functions.
- Added a the Initialized property to TChromiumWindow and nowCreateBrowser is a function, not procedure.
2017-10-28 18:48:53 +02:00
Salvador Díaz Fau
87d11774bd Added TCEFApplication.CustomFlashPath property
Added TCEFApplication.CustomFlashPath property.
Added default values to some parameters in CheckLocales and CheckResources o keep backwards compatibility.
2017-10-24 20:44:51 +02:00
Alexey Shumkin
e40716e7aa improve: allow to require specific locales only
Some projects may use specific languages only, so, there is not need to
include unused languages into a project, but CEF4Delphi requires it.

Make able to require specific locales only.
2017-10-24 18:39:11 +03:00
Alexey Shumkin
365bd1eeaf improve: allow to ignore devtools_resources.pak absence
Some projects does not use DevTools, so there is no need to include
devtools_resources.pak into a project, but CEF4Delphi requires it.

Make able to ignore devtools_resources.pak absence.
2017-10-24 18:05:51 +03:00
Salvador Díaz Fau
4cddbb069b Added GetModulePath to uCEFMiscFunctions.pas 2017-10-09 13:06:45 +02:00
Salvador Díaz Fau
5f88acb5d0 Fix DLL cheking functions. icudtl.dat must be next to libcef.dll 2017-10-04 14:02:07 +02:00
Salvador Díaz Fau
659092bb37 Removed unused interface and more pointer checks 2017-10-02 17:56:56 +02:00
Salvador Díaz Fau
f7ca8a7a93 Added widevine helper functions 2017-09-07 22:56:51 +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 Diaz Fau
b349625e09 Geolocation demo 2017-08-12 20:30:34 +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
d54ab43b04 Bug fix #43 : backwards compatibility 2017-07-19 12:12:08 +02:00
Salvador Diaz Fau
3f3f74eeb5 CheckDLLs and CheckResources now check the *.bin files correctly 2017-07-18 18:35:14 +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
6851d71bd3 Update to CEF 3.3071.1634.g9cc59c8 2017-06-06 12:49:27 +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
24b745dbc3 Removed unnecessary PChar casts 2017-04-27 08:33:22 +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
81ed572a79 Bug fix for Delphi 2010 and integrity check functions moved. 2017-03-26 17:39:41 +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
e592e2716a Fixed AV and build error in win64. Support for CEF 3.2924.1571.gcdcdfa9 and new parameter to skip reading dll version in tcefapplication 2017-02-26 16:38:36 +01:00
Salvador Diaz Fau
8d3316ba80 Preliminary Delphi7 support, CommandLine with values, Custom libcef.dll path 2017-02-14 11:01:16 +01:00
Salvador Diaz Fau
9b4bb2a27c OutputDebugMessage moved to uCEFMiscFunctions, New TCEFApplication.AddCommandLine procedure and TCEFApplication.CheckCEFLibrary enhancements 2017-02-13 10:24:44 +01:00
Salvador Diaz Fau
1ce14d8796 New function OutputDebugMessage in TCEFApplication to log messages replacing OutputDebugString 2017-02-12 19:53:45 +01:00
Salvador Diaz Fau
c23afaba1b Fix for crashes on old Delphi versions 2017-02-05 20:56:46 +01:00
Salvador Diaz Fau
21dcc60a24 reorganization of folders 2017-01-27 17:29:37 +01:00