Commit Graph

5679 Commits

Author SHA1 Message Date
Alex Maitland 894cbabd92 README.md - Update Release branches table with 88 Release and creating of upcoming 89 branch 2021-03-06 13:04:03 +10:00
Alex Maitland bbf5d5ed0f Upgrade to CEF 89.0.6+g6f30454+chromium-89.0.4389.72 / Chromium 89.0.4389.72 2021-03-06 13:04:02 +10:00
Alex Maitland 5034014f04 Net Core - Nuget Add CefSharpBuildAction and default to NoAction for Class Library
For class libraries we don't want to copy our files into their output folder by default as they won't actually,
so added CefSharpBuildAction and defaulted to NoAction (can be overridden by the user if required).

Consuming packages will have the transitive reference added and files copied into WinExe/Exe projects by default
2021-03-06 12:59:37 +10:00
Alex Maitland 9ccf82ce09 Net Core - WinForms remove Microsoft.Net.Compilers packagereference
Not sure of the reason I included it, it's not required.
2021-03-06 12:59:36 +10:00
Alex Maitland e626015b6e Net Core - Nuget chromiumembeddedframework.runtime include BuildTransitive
Update dependency includes add BuildTransitive
2021-03-06 12:59:36 +10:00
Alex Maitland ba064737dc buildhelp.bat - Add Platform AnyCPU
Sandcastle wasn't building without a Platform (even though the CefSharp.shfbproj defaults to AnyCPU if Platform is empty)
v88.2.90
2021-03-05 09:34:55 +10:00
Alex Maitland c98568d7e3 Upgrade build version to 88.2.90 2021-03-05 09:30:20 +10:00
Alex Maitland 75806f0227 Net Core - Improve Nuget debugging 2021-03-04 10:31:04 +10:00
Alex Maitland a0205571a3 WPF - Re-add Resize Hack for when browser switches from hidden to visible (#2779)
Problem still reproduces, so readding hack to 88 release branch

This reverts commit 47a3fe142d.
2021-03-04 10:25:29 +10:00
Alex Maitland 2b2031ef03 Nuget - When CefSharpTargetDir set remove the duplicate CefSharp.Core.Runtime.dll file from the bin folder
- Extra copy of CefSharp.Core.Runtime.dll when setting CefSharpTargetDir (see https://github.com/cefsharp/CefSharp/discussions/3371#discussioncomment-416961)
- Fix formatting (tabs to spaces, should change this to tabs at some point)
2021-03-02 10:35:08 +10:00
Alex Maitland f63886f9b7 Net Core - Improve Exclude BrowserSubProcess from .Net 5.0 SingleFile/SelfContained builds
Issue #3407
2021-03-01 11:50:39 +10:00
Alex Maitland 06c525a6a7 Net Core - Exclude BrowserSubProcess from .Net 5.0 SingleFile/SelfContained builds
Issue https://github.com/cefsharp/CefSharp/issues/3407
2021-02-27 15:01:49 +10:00
Alex Maitland 0cef482683 Nuget - Default AnyCPU Prefer32Bit to x86 when CefSharpAnyCpuSupport is not set
Can be overridden using CefSharpPlatformTargetOverride
2021-02-27 14:47:48 +10:00
Alex Maitland 56959e9677 Net Core - Remove CefSharp.BrowserSubprocess.runtimeconfig.json when SelfContained
- Previous fix worked for .Net Core 3.1, the .Net 5.0 SDK handles things differently
  Have to remove the runtimeconfig.json file when publishing so the BrowserSubprocess
  Runs for the SelfContained framework
- Fix formatting
2021-02-26 20:43:14 +10:00
Alex Maitland 14291d105c DevTools Client - Upgrade to 88.0.4324.182
Only a version number bump, no changes
2021-02-26 13:51:46 +10:00
Alex Maitland 7b76d6ebdf DevTools Client - Add custom mapping for DisabledImageType[]
Newly added type to the protocol
2021-02-26 13:51:04 +10:00
Alex Maitland cd0a1a30d8 DevTools Client - Update generated code to Chromium 88.0.4324.146 2021-02-26 13:51:03 +10:00
Alex Maitland c87724014d Net Core - Add CefSharpAfterBuildDiagnostic nuget target
Can be added to any consuming project to output some useful diag information
2021-02-26 12:15:42 +10:00
Alex Maitland 00f9819591 Javascript Binding - Add/Improve examples 2021-02-26 12:15:42 +10:00
Alex Maitland 2fa16ff29a WinForms/WPF/OffScreen - Improve Cef.Initialize failed error message.
Direct user to check log file as the underlying CefInitialize call doesn't return an error message.
Errors are only available through the logs.
2021-02-26 12:15:41 +10:00
Alex Maitland 4404fbaa4a Net Core - Fix CefSharpExcludeBrowserSubprocessRuntimeConfigAfterResolveAssemblyReferences
Only when SelfContained is true, for SingleFile that's not self contained we'll need the runtimedeps.json file
2021-02-26 12:15:41 +10:00
Alex Maitland ed41b62c27 Update build version to 88.2.90 2021-02-25 20:38:17 +10:00
Alex Maitland 4c1125dbb4 README.md - Add .Net Core Requirements to Release Branches table
It's not great, could be much better, open to suggestions
2021-02-25 20:37:04 +10:00
Alex Maitland a3e8e919f3 Net Core - SelfContained/PublishSingleFile exclude CefSharp.BrowserSubprocess.runtimeconfig.json
For SelfContained and PublishSingleFile we remove the CefSharp.BrowserSubprocess.runtimeconfig.json file so
the BrowserSubprocess runs using the packages .net runtime

Issue #3407
2021-02-25 20:36:29 +10:00
Alex Maitland 4af75b87ac Core - Fix xml doc 2021-02-25 20:36:28 +10:00
Alex Maitland 806b92143a Nuget - VS2017 ClickOnce publish workaround
- Remove the duplicate CefSharp.Core.Runtime.dll entry from the manifest
- Switch to CefSharpCommonManagedDll as we only need CefSharp.dll and not CefSharp.Core.dll for the BrowserSubProcess
2021-02-25 20:36:27 +10:00
Alex Maitland 6a77d6827d Nuget - Add CefSharpPlatformTargetOverride
Allow for specifying custom CefSharpPlatformTarget

For AnyCPU with Prefer32Bit set this <CefSharpPlatformTargetOverride>x86</CefSharpPlatformTargetOverride>
and the x86 binaries will be used, no need to performing any AnyCPU steps like adding a private probing path
2021-02-25 20:36:25 +10:00
Alex Maitland 1b84e376de Nuget - Move the CefSharpCopyFilesAfterNugetRestore Targets to after AfterBuild 2021-02-25 20:36:25 +10:00
Alex Maitland 6923af7cca Javascript Callback - Move Test
Move test into BindingTestsAsyncTask as build is failing.
Will run all async tests as part of build in near future.
2021-02-25 20:36:24 +10:00
Alex Maitland 1ea6c46163 Javascript Callback - Add very basic support for executing a Promise
It's a manual process at this stage and requires the end user to deal to:
- Return "CefSharpDefEvalScriptRes" immediately after the promise function has been created
- Call cefSharp.sendEvalScriptResponse when the async/await (promise) processing has completed
2021-02-25 20:36:24 +10:00
Alex Maitland 6e07d00adb Nuget - Remove CefSharp.Core.Runtime.dll from ReferenceCopyLocalPaths for AnyCPU
https://thomasfreudenberg.com/archive/2012/11/21/dont-copy-my-referenced-assemblies/

Details at https://github.com/cefsharp/CefSharp/issues/3319#issuecomment-777949648
2021-02-25 20:36:22 +10:00
Alex Maitland 8a79339e2f Net Core - Update Readme.txt with more details on RuntimeIdentifier 2021-02-25 20:36:22 +10:00
Alex Maitland 48480feb6d Upgrade to CEF 88.2.9+g5c8711a+chromium-88.0.4324.182 / Chromium 88.0.4324.182 2021-02-21 20:03:02 +10:00
Alex Maitland 55efda4393 BrowserSubprocess - Update SelfHost example 2021-02-21 20:00:39 +10:00
Alex Maitland 84a57ad64f Core - RequestContext::Create add missing UnWrap call
Unsure if this method is still used, probably isn't. Add the missing call incase it's used at some point
v88.2.40-pre
2021-02-10 09:57:36 +10:00
Alex Maitland f929914432 Core - ManagedCefBrowserAdapter::CreateBrowser add missing UnWrap call
Add UnWrap call to allow for passing in CefSharp.WindowInfo (the wrapper object)

Resolves #3399
2021-02-09 21:05:49 +10:00
Alex Maitland 47a3fe142d Revert "WPF - Resize Hack for when browser switches from hidden to visible (#2779)"
This reverts commit a83c8b35f2.
2021-02-09 10:07:13 +10:00
Alex Maitland c5669068cc Upgrade to CEF 88.2.4+gf3c4ca9+chromium-88.0.4324.150 / Chromium 88.0.4324.150 2021-02-09 09:48:12 +10:00
Daniel Bitterlich 32248d5fbd Add app.config file check to CefSharpPlatformCheck target.
Fixed #3390 - Resolves build issues for projects where app.config transformation would fail, because app.config doesn't exists.
2021-02-09 09:44:33 +10:00
Alex Maitland dc0e11da0b Nuget - Re-Add CefSharpDeleteCoreRuntimeAfterCopyFilesToOutputDirectory target
For Non SDK Style projects CefSharp.Core.Runtime.dll is copied by the _CopyFilesMarkedCopyLocal
MSBuild target.
2021-02-09 09:44:33 +10:00
Alex Maitland ad8822118e Nuget - Add CefSharpTargetPlatform property
As MSBuild doesn't always set PlatformTarget correctly for SDK style projects we have to add some extra checks
2021-02-09 09:44:32 +10:00
Alex Maitland ed5291a7a3 Nuget - Non-SDK Projects when targeting AnyCPU delete CefSharp.Core.Runtime.dll
Nuget/Msbuild is copying the CefSharp.Core.Runtime.dll into the output folder as part of the build
process (not sure which bitness it's actually copying).

This breaks `AnyCPU` as the dll won't work when using Assembly.Resolve
2021-02-08 09:29:55 +10:00
Alex Maitland 47cf10ada8 Core - DependencyChecker add CefSharp.Core.Runtime to list of required files
- Should have been added as part of #3319
- Remove CefSharp.Core.dll from BrowserSubprocessDependencies as it's not required for the BrowserSubprocess
2021-02-05 15:00:16 +10:00
Alex Maitland 1661b2f955 Upgrade to CEF 88.2.1+g0b18d0b+chromium-88.0.4324.146 / Chromium 88.0.4324.146 2021-02-05 15:00:16 +10:00
Alex Maitland ec42cb6abc Nuget - Switch from using UsingMicrosoftNETSdk to NuGetProjectStyle
To detect PackageReference vs packages.config we now use NuGetProjectStyle which is more accurate.
This should allow us to support Paket (not tested)
2021-02-05 14:56:26 +10:00
Alex Maitland 50ffc8d4e2 Nuget - Formating (tabs to spaces) 2021-02-05 14:56:26 +10:00
Alex Maitland 9374ee3390 README.md - Fix typo 2021-02-05 14:56:25 +10:00
Alex Maitland 0b564069e3 README.md - Update as 87.1.132 release 2021-02-05 14:56:03 +10:00
Alex Maitland a4fdda6945 Update to CEF 88.1.6+g4fe33a1+chromium-88.0.4324.96 / Chromium 88.0.4324.96 2021-02-03 15:53:00 +10:00
Alex Maitland 5654fd45c2 Sandcastle - Update to reflect restructure
https://github.com/cefsharp/CefSharp/issues/3319
2021-02-03 10:31:26 +10:00