Commit Graph

646 Commits

Author SHA1 Message Date
amaitland 78fe342988 Javascript CallbackRegistry FindWrapper - Improve error message when no wrapper found 2019-04-26 12:03:32 +10:00
amaitland 5b191c0fdf Upgrade version numbers to 74.1.130 2019-04-26 07:19:41 +10:00
amaitland 8d70f83686 IMPLEMENT_REFCOUNTING template changed - Add missing semi colon
https://github.com/chromiumembedded/cef/commit/725ed88529d7542e64b9735cf0da137d8a80a8b9#diff-221201fe823e7238023e4e7f7083e26fL142
2019-04-26 06:44:18 +10:00
amaitland 40117b0cdb Upgrade to CEF 74.1.13+g98f22d3+chromium-74.0.3729.108 / Chromium 74.0.3729.108 2019-04-25 22:18:54 +10:00
amaitland c5cb465b55 Upgrade to CEF 73.1.13+g6e3c989+chromium-73.0.3683.75 / Chromium 73.0.3683.75 2019-04-25 20:40:11 +10:00
amaitland b97f85cb2a Revert "Upgrade version numbers to 73.1.12.0"
This reverts commit bb9873d410.
2019-04-10 19:02:17 +10:00
amaitland bb9873d410 Upgrade version numbers to 73.1.12.0
Issue #2706
2019-03-27 15:23:24 +10:00
amaitland 3520581309 Upgrade to CEF 73.1.12+gee4b49f+chromium-73.0.3683.75 / Chromium 73.0.3683.75 2019-03-27 14:00:42 +10:00
amaitland 3731dfa931 BrowserSubprocess Wrappers - Fix copyright year 2019-03-21 05:26:23 +10:00
Alex Maitland 70de3a6d9c Add Initial IRenderProcessHandler.OnContextCreated/Released implementation (#2697)
* WinForms/WPF - Dispose of IFrame after calling LoadUrl

* BrowserProcess - Add initial implementation of IRenderProcessHandler.OnContextCreated/OnContextReleased

- IV8Context.Execute is the only method to be implemented so far (execute script without returning a result)
- Wrappers for CefFrame and CefBrowser have yet to be imported yet, still need to determine if they should be included individually or reference to CefSharp.Core added

* BrowserProcess - Add wrappers for Browser and Frame

Ultimately we should probably remove the CefSharp.BrowserSubprocess.Core project and move all the code into a folder/namespace within CefSharp.Core
This would allow us to share the a lot of existing code, major refactor required

* CefSharp.Common.props - Add CefSharpBrowserProcessCore32/64 properties

Make creating your own custom browser process easier

* BrowserProcess - Remove example and add comments about creating your own custom version
2019-03-20 20:33:10 +10:00
amaitland 8ffd29fc56 Upgrade version numbers to 73.0.0 2019-03-15 22:13:07 +10:00
amaitland 111439c98e CefSchemeRegistrar->AddCustomScheme - signature changed
https://bitbucket.org/chromiumembedded/cef/commits/cbcbd02638e5b4ccc26bab4a4b45b527c687068b?at=3683

Temp workaround until #2690 is implemented
2019-03-15 21:13:21 +10:00
amaitland 13970fe55c Upgrade to CEF 3.3683.1920.g9f41a27 / Chromium 73.0.3683.75 2019-03-15 20:58:06 +10:00
amaitland 7436d648a5 Upgrade to CEF 3.3626.1895.g7001d56 / Chromium 72.0.3626.121 2019-03-10 11:39:27 +10:00
amaitland 679250ee58 Upgrade version number to 72.0.0 2019-02-25 21:54:25 +10:00
amaitland 8e6cd06956 Upgrade to CEF 3.3626.1891.g52be333 / Chromium 72.0.3626.96 2019-02-25 20:57:44 +10:00
Chris a9b3c36f77 Build.ps1 - Automated more tasks relating to updating CefSharp version and copyright year (#2640)
* build.ps1 - Write version to CefSharp.shfbproj

* build.ps1 - Specify UTF-8 as encoding when reading

* build.ps1 - Save files as UTF-8 without BOM

* build.ps1 - Update copyright year on compiled files

* build.ps1 - Update version in appveyor.yml

* Removed copyright year from the nuspec files

* Updated editorconfig for ps1 files

* Apply changes from build.ps1

* LICENSE - Removed year
2019-02-15 21:40:25 +01:00
amaitland 5588cc47c5 Upgrade to CEF 3.3578.1863.gbf8cff2 / Chromium 71.0.3578.98 2019-01-13 20:46:16 +10:00
amaitland 809a7859b6 Update version numbers to 71.0.0 2018-12-28 13:52:03 +10:00
amaitland 11a8371e19 Rename CefExtension to V8Extension
Resolves #2612
2018-12-27 15:47:29 +10:00
amaitland 8d3eb356a1 Upgrade to CEF 3.3578.1860.g36610bd / Chromium 71.0.3578.80 2018-12-16 05:13:32 +10:00
Chris 4846471d0f Added SourcePath to CefSharp.Core and CefSharp.BrowserSubprocess.Core (#2595)
* Added include path to CefSharp.Core and CefSharp.BrowserSubprocess.Core

* Changed from IncludePath to SourcePath
2018-12-12 08:39:14 +10:00
Chris d5aeb20fda Enabled MultiProcessorCompilation for CefSharp.Core and CefSharp.BrowserSubprocess.Core (#2596) 2018-12-09 13:10:55 +01:00
amaitland 19a56bd7f9 CefAppUnmanagedWrapper::OnContextCreated - Fixed up merge mistake
IPC message was only sent for main frame

Follow up #2373
2018-10-28 16:52:21 +10:00
Alex Sukhovy 304a300b0c Call OnContextCreated and OnContextReleased for each frame (#2373)
* ContextEvents for each frame

* set CanExecuteJavascriptOnMainFrame

* example and comments

* whitespace fix

* comments

* whitespace

* update comments
2018-10-28 16:48:50 +10:00
amaitland ce93352345 Upgrade version numbers to 70.0.0 2018-10-28 10:53:26 +10:00
amaitland 4e50ad8a95 Upgrade to CEF 3.3538.1849.g458cc98 / Chromium 70.0.3538.77 2018-10-28 10:46:02 +10:00
amaitland 23b905dbda Upgrade to CEF 3.3497.1841.g7f37a0a / Chromium 69.0.3497.100 2018-10-23 12:58:37 +10:00
amaitland 8282482758 Upgrade to CEF 3.3497.1840.gcd24143 / Chromium 69.0.3497.100 2018-10-16 12:24:07 +10:00
amaitland 529a463613 Upgrade to CEF 3.3497.1834.g0a87d5f / Chromium 69.0.3497.100 2018-09-30 15:22:53 +10:00
amaitland 557b279093 Upgrade to CEF 3.3497.1833.g13f506f / Chromium 69.0.3497.100 2018-09-23 21:05:06 +10:00
amaitland 732f5851de Upgrade to CEF 3.3497.1829.g004ef91 / Chromium 69.0.3497.81 2018-09-16 13:01:45 +10:00
amaitland 6602977496 Upgrade version number to 69 2018-09-10 13:27:10 +10:00
amaitland b24286d591 Upgrade to CEF 3.3497.1827.ga4f7e36 / Chromium 69.0.3497.81 2018-09-10 12:13:39 +10:00
Chris bef5dd37c4 Maintenance - Fixed formatting, file encoding, and copyright year (#2504)
* Applied formatting

* Fixed file encoding + Updated copyright year

* Updated License

* Fixed more file encoding

* Copyright notice now shows the year the file was created
2018-09-10 10:41:13 +10:00
amaitland 7450d0d51b JSB - Remove use of CefRegisterExtension and change Promise creator to an anon function
Use CefV8Context::Eval to create the promise using an anonymous function

Attempt to resolve #2432 (though it actually seems upgrading to a newer version resolves the underlying problem)
2018-08-27 13:12:55 +10:00
Damir Ainullin fc373f4601 Fixed small typo and removed excessive null-check (#2485) 2018-08-16 19:44:40 +10:00
amaitland e5a7ed75ec Upgrade version numbers to 68.0.0 2018-08-07 19:15:00 +10:00
amaitland 38bc2d8365 CefAppUnmanagedWrapper::OnContextCreated - Send OnContextCreated message after Objects created
Message is now sent once the CefSharp.BindObjectAsync and helper functions are created and Legacy objects
are bound.

It should now be reliable to call CefSharp.BindObjectAsync in OnContextCreated
2018-08-05 19:56:41 +10:00
amaitland 161e1ae0cc Upgrade to CEF 3.3440.1803.gde363ee / Chromium 68.0.3440.75 2018-08-02 10:03:10 +10:00
amaitland 1d94885d75 Upgrade to CEF 3.3396.1786.gd3e36d0 / Chromium 67.0.3396.79 2018-07-31 19:20:56 +10:00
amaitland 49d353bc9e JavascriptAsyncMethodHandler::Execute - Add extra logging
- Add extra logging
- Fix formatting
- Add reference to relevant github issue

Follow up to https://github.com/cefsharp/CefSharp/pull/2446
2018-07-09 20:31:15 +10:00
mtajmajer 8fb47b4761 Add nullcheck to promiseData. This is null at times; I see it when refreshing the browser in the development tools. 2018-07-09 20:16:18 +10:00
amaitland 72c1babab9 Upgrade version numbers to 67 2018-06-25 21:33:57 +10:00
amaitland e7cacffe5a Upgrade to CEF 3.3396.1777.g636f29b / Chromium 67.0.3396.79 2018-06-14 22:33:47 +10:00
amaitland cb0d9275e0 WcfEnabledSubProcess - Revert codepage change 2018-06-09 21:53:15 +10:00
João Neves 274e841f35 Close CefSharp.BrowserSubprocess.exe if parent process exits (#2375)
* Close cefsharp subprocess if main process dies

* Code review

* Await before exiting

* Update Program.cs
2018-06-09 21:39:23 +10:00
amaitland fdc7cc21d5 Upgrade to CEF 3.3359.1772.gd1df190 / Chromium 66.0.3359.117 2018-05-17 12:40:39 +10:00
amaitland 5f3dca4d96 JavascriptAsyncMethodHandler - Obtain Promise from context on Execute
Previously the promise reference was passed into the handler, now we obtain the reference on demand
2018-05-15 16:12:46 +10:00
amaitland ddb2fdcbbc CefAppUnmanagedWrapper - Add comment about mapping layer so code isn't duplicated to handle camel casing of object names 2018-05-15 15:52:31 +10:00