28 Commits

Author SHA1 Message Date
Alex Maitland 67a08c47ee BrowserSubProcess/Examples/Tests - Migrate to newer SDK Style projects
- Migrate to new SDK style projects
- Migrate to chromiumembeddedframework.runtime packages
- Remove old packages.config files
- Update post build event for BrowserSubprocess to set TSAware/LargeAddressAware
- Change project build order

Issue #3706
2021-10-12 19:48:11 +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
Jeroen Janssen 049181b2bd VS2017 build support (using the VS2015 tooling) (#2179)
* initial vs2017 build support

* update nuget retrieval url

apparently http://nuget.org/nuget.exe is version 2.8, which is fairly
old

* enable child process debugging
2017-11-29 22:47:39 +02:00
Chris c0ec00953a Re-sign x86 assembly in post build (#1914) 2017-02-01 16:28:03 +10:00
amaitland a44dc9b2db Follow up to https://github.com/cefsharp/CefSharp/commit/e41c097de98f9ce9d1a79d045df79f58f7338a0c 2016-08-27 07:10:13 +10:00
amaitland e41c097de9 Resolve #1774 2016-08-26 19:39:00 +10:00
amaitland bccfc17e3e Build for x64 didn't work as it couldn't find the vsvars64.bat
Simplify and call editbin directly instead
Remove unnecessary changes to end of file from last commit
2016-06-16 07:37:32 +10:00
JJO30 42caa772f5 Windows Server 2008 R2 TerminalServices BEX Access Violation (#1703)
* Access Violation of BEX or APPCRASH occurrs on Windows Server 2008 R2 with Terminal Service

Hi,
I have AppCrash with CefSharpSubProcess in Windows Server 2008 R2 with Terminal Service.
I can not disable Data Execution Prevention (DEP) for CefSharpSubProcess.exe.
I have this message : " the execution of data protection must be activated to execute this program. You can not disable the protection of data execution for this program."

I think to activate TSAWARE for CefSharpSubprocess.exe. See : https://support.microsoft.com/en-us/kb/2279689 
Option 3

Thanks

* call vsvars64.bat when building the x64 version

* We write only once the target

https://msdn.microsoft.com/en-us/library/8e77sz74.aspx
2016-06-16 07:14:01 +10:00
amaitland 7bbcf162f9 Remove CefSubProcess.cpp - having such trivial cpp files seems silly
Convert CefRenderProcess into a cpp class - this should theoretically allow users to add CefSharp.BrowserSubprocess.Core as a reference then use their own process to spawn it
Move CefRenderProcess and CefSubProcess into CefSharp.BrowserSubprocess namespace - otherclasses should really be moved as well

Only use our custom subProcess when type is render, for gpu and plugin processes the standard implementation is just fine

Remove CefSubProcess
Rename CefAppWrapper to CefSubProcess
2016-05-16 19:46:30 +10:00
amaitland 54f7fccdaa Upgrade to .Net 4.5.2
Resolve #1572
2016-05-10 20:28:21 +10:00
amaitland 7937d4d1dc Only call editbin /largeaddressaware for x86 configuration - probably not necessary 2016-03-23 09:06:13 +10:00
amaitland 4745f45f18 BrowserSubProcess set largeaddressaware - resolves #1348 2016-03-23 08:18:26 +10:00
amaitland 614bb08fca Cleanup project references - removed some unused ones 2015-09-15 13:13:08 +10:00
amaitland bf96cafab1 Remove unused project references
Remove CallbackBehavior attribute - not used that WCF feature anymore
2015-09-15 13:11:19 +10:00
amaitland 54b8076043 Remove CefGpuProcess - wasn't used for anything
Simplify the class structure for the render/gpu subprocesses
2015-09-15 13:08:17 +10:00
James Noble III 3885aec88b Add DPI-Aware Manifests for High DPI Support
add dpi-aware manifest to BrowserSubprocess and WinForms.Example
projects
update .gitignore to allow .manifest files
2014-12-03 19:14:15 -05:00
jankurianski 66e8d00427 BrowserSubprocess now targets .NET 4 Client Profile 2014-10-20 14:30:36 +10:00
Per Lundberg 7b94e8a4f9 Use FooProcess notation rather than Fooprocess, since it looks slightly better. 2014-06-02 12:15:29 +01:00
JanEggers 731ebf67a9 reversed subprocess communication now Browser is host and renderer is client 2014-05-24 19:43:34 +02:00
JanEggers ef36077f16 added specialized subprocess types and moved render process specific code in that class 2014-05-24 15:34:23 +02:00
JanEggers 363734e0aa next step: metadata can be transported via wcf and is automatically converted to wrapper objects so we have fields to store native stuff 2014-05-10 17:26:57 +02:00
Per Lundberg 81e28fcdd8 More changes to the Subprocess after all my "interesting" refactorings. It now compiles and runs - only tested on VS2012 though, will do a minor change to ensure it works w/ other VS versions in a minute. 2014-04-08 20:42:08 +01:00
Per Lundberg ee69eda415 Jan - I think it actually is better after all to keep everything related to the Subprocess in its own repo (i.e. the subprocess repo). That way, we can separate the concerns more elegantly (IMHO). 2014-04-04 21:04:37 +02:00
JanEggers 52bfa60c23 remaining stuff that i desired to put in on changeset 2014-03-09 14:11:37 +01:00
Per Lundberg 216a9c8e8e Fixed incorrect output path for the BrowserSubprocess for x86/Release, which made it non-functional. 2013-11-11 10:14:04 +02:00
Per Lundberg d6284f4d88 Moved the OutputDebugString P/Invoke signature to a separate “Kernel32” class. 2013-11-06 22:20:12 +01:00
Per Lundberg 2e0a73e0d6 More heavily-WIP-style work towards #159. I wonder if we'll ever gonna get that one solved actually... Well, of course we are, but how well with it work? Anyway, time to go to bed now and so forth. 2013-10-31 00:06:36 +02:00
Per Lundberg 394287cf08 WIP on #159, trying to drastically refactor the subprocess (in C#, which is debuggable and hence a HUGE plus in what we are trying to achieve...). Will also consider using the C API for CEF, since I think it actually will suit us better. 2013-10-29 22:29:52 +02:00