188 Commits

Author SHA1 Message Date
amaitland 5e83050ae0 Upgrade version numbers to 71.0.1 2019-02-23 14:46:58 +10:00
amaitland 809a7859b6 Update version numbers to 71.0.0 2018-12-28 13:52:03 +10:00
amaitland ce93352345 Upgrade version numbers to 70.0.0 2018-10-28 10:53:26 +10:00
Chris 30ee538ce0 Added EditorConfig (#2514) 2018-09-17 00:46:21 +02:00
amaitland 6602977496 Upgrade version number to 69 2018-09-10 13:27:10 +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 e5a7ed75ec Upgrade version numbers to 68.0.0 2018-08-07 19:15:00 +10:00
amaitland 383734efdf CefSharp.BrowserSubprocess/Program.cs - Remove redundant using 2018-07-11 18:05:12 +10:00
Per Lundberg 2e966d9935 Bug fix: handle type=crashpad-handler
Cherry-pick of #2449 which was approved by Alex.

I was seeing instances of the subprocess being spawned this way when running the CefSharp.Wpf.Example project. Debugging showed me that no such argument was being passed to the process. This PR works around the issue by opting out from getting the parent process ID for such processes.
2018-07-11 09:55:02 +03:00
amaitland 72c1babab9 Upgrade version numbers to 67 2018-06-25 21:33:57 +10:00
amaitland e4535ab9df CefSharpSettings.SubprocessExitIfParentProcessClosed - only spawn task to monitor parent if command line arg present
Follow up to #2375
2018-06-11 22:18:51 +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 56ce91fa9d Upgrade version numbers to 66 and update README.md 2018-05-03 12:20:45 +10:00
amaitland f2fcbf0add Always pass through Process Id to subprocess
Improve command line parsing

Partial import of changes from #2375
2018-04-30 12:45:15 +10:00
amaitland c37dbcd06a Remove Geolocation API and Upgrade version numbers to 65 2018-03-17 21:31:25 +10:00
amaitland a38df4a268 Default builds to using VS2015
Builds are now done using VS2015 which will require VC++ 2015 (or VC++ 2017 as they are compatible)

Remove VS2013 target from build.ps1
2018-02-05 17:23:34 +10:00
amaitland 2c935268e6 Upgrade to CEF 3.3239.1700
Update version numbers to 63.x
Remove EnsureNuGetPackageBuildImports targets (newer nuget restore method should always be used)
cef.redist targets updated as package structure changed with commit https://github.com/cefsharp/cef-binary/commit/982a6330e70a75860bc6ecb6f84d55456b847d68
(Swiftshader should now be supported)
2017-12-19 11:44:34 +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
GrabzIt 93b08f1c12 Upgraded CEF to version 60 (#2159)
* Fixed pointer problem.

* Upgrade to CEF version 60

* Fix for invalid cookie date time

Error and stacktrace:

Year, Month, and Day parameters describe an un-representable DateTime.
   at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day)
   at System.DateTime..ctor(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second, Int32 millisecond)
   at CefSharp.ResourceHandlerWrapper.GetCookie(ResourceHandlerWrapper* , CefStructBase<CefCookieTraits>* cookie)
   at CefSharp.ResourceHandlerWrapper.CanGetCookie(ResourceHandlerWrapper* , CefStructBase<CefCookieTraits>* cookie)

Fixed by copying the same solution found here:

https://github.com/cefsharp/CefSharp/blob/cd934267c65f494ceb9ee75995cd2a1ca0954543/CefSharp.Core/Internals/CookieVisitor.cpp
2017-11-08 13:08:59 +02:00
GrabzIt 08444fe035 Updated to version 59.0.0 2017-08-18 16:07:03 +01:00
amaitland 5b472f7258 Upgrade version numbers to 58 - this is for development purposes only, there is no planned 58 version, next version is 59
Upgrade to CEF 3.3029.1611.g44e39a8 / Chromium 58.0.3029.81
2017-05-05 10:46:54 +10:00
amaitland 3bc9ca1898 Move Enums into their own folder (again not changing the namespace as to avoid breaking the public API, at least for now)
Add copyright disclaimer to JavascriptResponse
Remove Kernel32.OutputDebugString calls and replace with Debug.WriteLine
Removed ScriptException and ResponseAction - unused classes
Rename CefCursorType to CursorType - wasn't exposed as part of the public API so can rename
2017-03-21 10:05:38 +10:00
amaitland e5ecfde20f Upgrade version number to 57.0.0
Upgrade to cef.redist.x86.3.2987.1591
CefSchemeRegistrar::AddCustomScheme has new params - IsSecure and IsCorsEnabled
Also new CefRawPtr type is used for Scheme registra
2017-03-13 10:58:03 +10:00
Chris cd934267c6 Updated copyright year and made sure it used same format everywhere (#1966) 2017-03-06 08:44:37 +10:00
Chris c0ec00953a Re-sign x86 assembly in post build (#1914) 2017-02-01 16:28:03 +10:00
amaitland b30d615c6d Update to 55 version number - don't get too excited we're still 2-3 months away 2016-09-25 20:42:45 +10:00
amaitland 3084e3b4b3 Upgrade versions to 53.0.0 2016-09-07 13:35:32 +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 e48d0f7bd6 Set per monitor DPI aware attribute in app.manifest
Resolves #1720
2016-07-13 09:12:55 +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 d8704c5d8c Add app.manifest compatibility/application section to BrowserSubProcess 2016-06-08 09:27:04 +10:00
amaitland 28f6abd508 Update to 51.0.0 2016-05-30 07:59:51 +10:00
amaitland c8934a3964 Rename RenderSubProcess to WcfEnabledSubProcess - a much more descriptive name 2016-05-16 20:22:08 +10:00
amaitland 533911a507 Remove the cef prefix from class names - going for a more consistent naming overall - should these classes be used by someone else, better to rename now 2016-05-16 19:56:15 +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 be593403b2 Upgrade version numbers to 49.0.0 - less confusion when downloading the packages from MyGet
Obviously the Chromium version hasn't been updated as yet, still waiting on cefbuilds.com to output the relevant packages.
2016-02-26 14:39:32 +10:00
amaitland 1722914300 Re-add dpiAware to app.manifest for BrowserSubProcess 2016-01-16 09:11:40 +10:00
amaitland bae3c28e92 Update copyright to 2016 2016-01-11 14:11:30 +10:00
amaitland 36b0b95d55 Remove dpiAware tag from app.manifest for both WinForms example and BrowserSubProcess
Use new CefEnableHighDPISupport method for on all processes
2016-01-06 11:50:18 +10:00
amaitland d33c41ec5d Remove unused include
No need to wrap bool in gcroot
Move command line parsing into c# land - can be reused in a few places.
Reduce code duplication in OnProcessMessageReceived - kOnFocusedNodeChanged handler
Minor changes for code consistency/formatting
2015-12-09 11:23:06 +10:00
amaitland 0ecd64dfd2 Upgrade to 3.2526.1347
Upgrade 45.0.0 references to 47.0.0
Remove BrowserSettings.Java as it's an NPAPI plugin and support was removed in version 45
2015-10-30 09:10:12 +10:00
amaitland 4dbc90333d CefAppWrapper no longer inherits from DisposableResource
No need for CefRenderProcess to keep a list of browsers any more, one less  thing to cleanup
2015-10-15 21:00:27 +10:00
amaitland 68b2c461b5 Remove unused references 2015-10-15 21:00:26 +10:00
amaitland 80c629e58b Fix small build error - had to do a full rebuild before compiler showed a problem 2015-09-24 18:51:07 +10:00
amaitland e492c0d21e Fixes #1263
Pass in CefCustomScheme as command line argument, as they're registered correctly in all processes
2015-09-15 15:15:26 +10:00