Commit Graph

12 Commits

Author SHA1 Message Date
Alex Maitland 65eef56c58 Add support for Synchronous Bindings when Self Hosting BrowserSubProcess
Resolves #4562
2023-08-20 08:53:22 +10:00
Alex Maitland b17cd2a1b2 Core - High-DPI support is now enabled by default in Chromium.
- Chromium now enables DPI awareness programmatically by default
- Remove Cef.EnableHighDPISupport calls and mark as obsolete
- Remove dpiawareness entries from app.manifest

Issues #4417 #4410
2023-03-07 13:03:53 +10:00
Alex Maitland 0ac43cf69f Core - Remove Remaining Plugin APIs
- Remove plugin references
- Update xml doc comments
- Update ref assembly (netcore)
- Update examples

Issue #4045
2022-03-21 10:01:26 +10:00
Alex Maitland 57d7b48f8d BrowserSubProcess - Change SetProcessShutdownParameters priority to 0x200
- Change to 0x200 which is low end of 'Application reserved "in between" shutdown range.'
- Remove logging as it wasn't working, must be too early to use the LOG(INFO) CEF macro

Test with a GetProcessShutdownParameters in debugger shows working e.g.

if (SetProcessShutdownParameters(0x200, SHUTDOWN_NORETRY))
{
	DWORD level = 0;
	DWORD flags = 0;
	GetProcessShutdownParameters(&level, &flags);
}

Issue #3155
2021-12-09 10:07:53 +10:00
Alex Maitland 4313c9a25f BrowserSubprocess - Update shutdown priority (SetProcessShutdownParameters)
Issue #3155
2021-12-07 14:40:53 +10:00
Alex Maitland 01d775a46d Core - Add BrowserSubprocess.SelfHost.Main
Can be used to self host the browser SubProcess
Fixes build errors, the Net Core implementation is now renamed from MainNetCore to Main

Issue #3197
2020-11-26 09:27:35 +10:00
Alex Maitland aada072f80 Net Core - Add SelfHost class to CefSharp.Core
Allows for quick self hosting of the BrowserSubprocess

Issue #3197
2020-11-25 17:10:45 +10:00
amaitland e8cf336bf3 Net Core - Support for compiling with .Net Core 3.1
- Make Wpf/WinForms/OffScreen projects target AnyCPU
Only the VC++ projects are platform specific now.
- Remove BrowserSubProcess project reference
Not needed as we now have a standalone exe
- Add OffScreen example
- Add WPF Example project
- Fix some compile errors for main solution
- Add BrowserSubProcess executable
- JavascriptObjectRepository remove isAsync param
Rather than throw exception remove the option
- BrowserSubprocess Exclude the WCF specific code from the netCore project
- Add some ifdef/ifndef to exclude the WCF specific implementation
- Move WCF implementation into separate namespace
2020-07-23 15:23:45 +10:00
amaitland 185d8e5d7b BrowserSubprocess - Add args to MainNetCore
MainNetCore(IntPtr arg, int argLength) is required by default signature.
2020-03-12 17:53:46 +10:00
amaitland 4e3887d85d BrowserSubprocess - Add Main method for .Net Core
Needed to test out my idea outlined in https://github.com/cefsharp/CefSharp/issues/2795#issuecomment-592441989
2020-03-06 16:01:26 +10:00
amaitland 926cd7243e BrowserSubProcess.Core.BrowserSubprocessExecutable - Return -1 when no type param specified as per the doc 2020-01-15 11:16:40 +10:00
Alex Maitland cc2359126b BrowserSubprocess - Refactor to support .Net Core (#2891)
* BrowserSubprocess - Refactor to support .Net Core

- Added BrowserSubprocessExecutable for use with .Net Core (no WCF)
- Added WcfBrowserSubprocessExecutable for use with the existing CefSharp.BrowserSubprocess.exe which supports WCF (conditionally)

* Add additional comments and minor code simplification
2019-10-02 12:25:34 +10:00