Commit Graph

272 Commits

Author SHA1 Message Date
Alex Maitland da94de224e Upgrade to 106.0.20+g354064a+chromium-106.0.5249.12 / Chromium 106.0.5249.12 2022-09-21 10:02:14 +10:00
Alex Maitland 0ad6310e87 Upgrade to 105.3.39+g2ec21f9+chromium-105.0.5195.127 / Chromium 105.0.5195.127 2022-09-19 16:35:45 +10:00
Alex Maitland 979f79bb52 Nuget - Update NetCore Readme.txt
- Minor improvements
2022-09-19 13:31:37 +10:00
Alex Maitland f3676bed4e Upgrade to 105.3.33+gd83f874+chromium-105.0.5195.102 / Chromium 105.0.5195.102 2022-09-08 11:17:33 +10:00
Alex Maitland 6be92988d2 Upgrade to 105.3.25+g0ca6a9e+chromium-105.0.5195.54 / Chromium 105.0.5195.54 2022-09-04 10:40:53 +10:00
Alex Maitland 01310244ee Upgrade to 104.4.24+gdf482f6+chromium-104.0.5112.102 / Chromium 104.0.5112.102 2022-08-21 13:31:04 +10:00
Alex Maitland d413f481dd Upgrade to 104.4.18+g2587cf2+chromium-104.0.5112.81 / Chromium 104.0.5112.81 2022-08-08 11:18:43 +10:00
Alex Maitland 6467ece9b6 Upgrade to 104.4.15+g12fbff8+chromium-104.0.5112.65 / Chromium 104.0.5112.65 2022-08-02 13:14:32 +10:00
Alex Maitland 81d2168262 Upgrade to CEF 103.0.8+g444ebe7+chromium-103.0.5060.66 / Chromium 103.0.5060.66 2022-07-01 09:34:44 +10:00
Alex Maitland 2788ec0704 Upgrade to CEF 103.0.6+ge38efd5+chromium-103.0.5060.53 / Chromium 103.0.5060.53 2022-06-21 11:47:09 +10:00
Alex Maitland 71613df39e Net Core - Nuget Add CefSharpExcludeSubProcessExe
- When true excludes CefSharp.BrowserSubprocess.exe and CefSharp.BrowserSubprocess.dll
- Defaults to true for .Net 5+ SelfContained PublishSingleFile builds
 (same as before)

Allows user to easily exclude the BrowserSubprocess when they want to create a self contained
build
2022-06-16 11:06:12 +10:00
Alex Maitland 923e687fda Upgrade to CEF 102.0.9+g1c5e658+chromium-102.0.5005.63 / Chromium 102.0.5005.63 2022-05-30 13:37:46 +10:00
Alex Maitland 61f581346a Remove Legacy Swiftshader
- Update readme files
- Remove from targets
- Remove text references

Issue https://github.com/cefsharp/CefSharp/issues/4085
2022-05-24 15:13:31 +10:00
Alex Maitland 0c6289322f Upgrade to CEF 102.0.6+g4209780+chromium-102.0.5005.61 / Chromium 102.0.5005.61 2022-05-24 14:54:48 +10:00
Alex Maitland c5f861594d Upgrade to CEF 102.0.5+gf11ca74+chromium-102.0.5005.49 / Chromium 102.0.5005.49 2022-05-17 19:33:34 +10:00
Alex Maitland 8e2d66b0b2 Nuget - FIX Change default CefSharpBuildAction for Exe/WinExe projects when using packages.config
- Reorder statements
- Original testing was misleading, the MinimalExample already has CefSharpBuildAction set to true

Resolves #4062
2022-05-09 10:22:27 +10:00
Alex Maitland 40b285fbc3 Upgrade to CEF 101.0.15+gca159c5+chromium-101.0.4951.54 / Chromium 101.0.4951.54 2022-05-04 10:46:36 +10:00
Alex Maitland 684e76c836 Upgrade to CEF 101.0.11+g0692cb0+chromium-101.0.4951.34 / Chromium 101.0.4951.34 2022-04-21 09:04:37 +10:00
Alex Maitland 59f9608034 Nuget - Update build diagnostics to output CefSharpAnyCpuSupport 2022-04-13 09:17:19 +10:00
Alex Maitland 8a6241c9ce Nuget - Change default CefSharpBuildAction for Exe/WinExe projects when using packages.config
- For Non library projects that use packages.config the default is now Content which should simplify clickonce support
  For libraries the default will remain as None
- For NetCore projects CefSharpBuildAction Content is mapped to default to support upgrading users

Technically this is a breaking change, user impact is expected to be low and can be overridden to restore
the previous behaviour in the edge cases.

Issue #4062
2022-04-12 12:20:13 +10:00
Alex Maitland b160c1dd4d Upgrade to CEF 100.0.12+g734f820+chromium-100.0.4896.60 / Chromium 100.0.4896.60 2022-04-01 17:30:31 +10:00
Alex Maitland e6d9aba3f6 Upgrade to CEF 100.0.11+g45b9728+chromium-100.0.4896.46 / Chromium 100.0.4896.46 2022-03-21 09:10:44 +10:00
Alex Maitland 181271630c Upgrade to CEF 99.2.12+g2977b3a+chromium-99.0.4844.74 / Chromium 99.0.4844.74 2022-03-18 09:29:12 +10:00
Alex Maitland 87f161dd0f Upgrade to CEF 99.2.9+gf426765+chromium-99.0.4844.51 / Chromium 99.0.4844.51 2022-03-06 09:21:16 +10:00
Alex Maitland f6aff4f075 Upgrade to CEF 99.2.7+g674fc01+chromium-99.0.4844.51 / Chromium 99.0.4844.51 2022-03-04 20:46:59 +10:00
Alex Maitland 0d5e830c27 Upgrade to CEF CEF 99.2.3+g962d9c9+chromium-99.0.4844.27 / Chromium 99.0.4844.27 2022-02-22 10:41:32 +10:00
Alex Maitland ad41e1d6aa Nuget - Add CefSharpTransformXmlDllPathOverride
Allow for setting a custom location for CefSharpTransformXmlDllPath
2022-02-14 13:59:02 +10:00
Alex Maitland 21efaf3c46 Upgrade to CEF 98.1.12+gd87e3f4+chromium-98.0.4758.55 / Chromium 98.0.4758.55 2022-01-31 11:30:22 +10:00
Alex Maitland 82d7ae7ab2 Upgrade to CEF 97.1.1+g50067f2+chromium-97.0.4692.71 / Chromium 97.0.4692.71 2022-01-10 13:44:29 +10:00
Alex Maitland d45aaff7ca Upgrade to CEF 97.0.11+g695453b+chromium-97.0.4692.71 / Chromium 97.0.4692.71 2022-01-05 10:54:41 +10:00
Alex Maitland f07be8c5e5 build.ps1 - Add new update-build-version target
Updated Version/AssemblyVersion

Performs some unnecessary tasks, so could be improved
2021-12-16 13:02:24 +10:00
Alex Maitland 4d7c354f63 Update build number to 96.0.140 2021-11-25 11:01:57 +10:00
Alex Maitland 5447c8d904 Nuget - Set IncludeInVsix = true for <Content/> entries 2021-11-18 13:28:37 +10:00
Alex Maitland 4df57e32bb Net Core - Nuget CefSharpBuildAction default to NoAction for Library projects
This should cleanup Library projects bin folders and eliminate stray copies of project files
when a Library RuntimeIdentifier/PlatformTarget doesn't match the WinExe/Exe project

For plugins the files will be included when EnableDynamicLoading = true

Can be overridden be adding <CefSharpBuildAction>Default</CefSharpBuildAction> to your project file

https://docs.microsoft.com/en-us/dotnet/core/tutorials/creating-app-with-plugin-support#plugin-with-library-dependencies
2021-10-22 10:37:20 +10:00
Alex Maitland c3f48fef3d Nuget - VS2022 remove extra CefSharp.Core.Runtime.dll copy from bin folder
VS2022 differs from previous versions in how the file paths appear to work. Use a filter to match based on filename + extension
rather than an exact file path match.

I've also updated the CefSharpAnyCPUExcludeCoreRuntimeBeforeGenerateApplicationManifest target to include a similar filter.
Leaving CefSharpExcludeCoreRuntimeBeforeGenerateApplicationManifest as is because it's only for VS2017

In VS2019:

C:\Projects\CefSharp.MinimalExample\packages\CefSharp.Common.94.4.50\buildTransitive\..\CefSharp\x86\CefSharp.Core.Runtime.dll;
C:\Projects\CefSharp.MinimalExample\packages\CefSharp.Common.94.4.50\buildTransitive\..\CefSharp\x86\CefSharp.Core.Runtime.pdb;
C:\Projects\CefSharp.MinimalExample\packages\CefSharp.Common.94.4.50\buildTransitive\..\CefSharp\x86\CefSharp.Core.Runtime.xml

In VS2022:
C:\Projects\CefSharp.MinimalExample\packages\CefSharp.Common.94.4.50\CefSharp\x86\CefSharp.Core.Runtime.dll;
C:\Projects\CefSharp.MinimalExample\packages\CefSharp.Common.94.4.50\CefSharp\x86\CefSharp.Core.Runtime.pdb;
C:\Projects\CefSharp.MinimalExample\packages\CefSharp.Common.94.4.50\CefSharp\x86\CefSharp.Core.Runtime.xml

Issue #3854
2021-10-22 10:04:46 +10:00
Alex Maitland f8b96ecf5d Nuget - Fix formatting 2021-10-22 09:42:11 +10:00
Alex Maitland aedd60e3ff Upgrade to 94.4.9+g09ee681+chromium-94.0.4606.71 / Chromium 94.0.4606.71 2021-10-16 13:40:20 +10:00
Alex Maitland 7c2226caff Nuget - Update dependency groups
Resolves nuget pack warning
2021-10-14 09:39:12 +10:00
Alex Maitland 8aa0ee5e9f build.ps1 - Cleanup
- Fail fast if nuget.exe not found
- Check for VSWhere at build start
  (should always be installed as it's included in VS2019 and above)
- Remove netcore31 from $Target valid set, we'll just rely on the
  $TargetFramework
- Push-Location to working directory for easier debugging
2021-10-14 09:39:12 +10:00
Alex Maitland 66bb6c0f68 Nuget - Remove netcoreapp3.0 hacks
For those unable to upgrade to .Net Core 3.1 then the old packages should still be usable by specifying AssetTargetFallback as detailed in https://docs.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files#assettargetfallback

Resolves #3444
2021-10-13 11:50:00 +10:00
Alex Maitland 6953d82f25 Net Core - Nupkg Include xml files
Issue #3843
2021-10-11 10:27:49 +10:00
Alex Maitland 2e55f7d1aa Upgrade to CEF 94.4.2+g6a963ca+chromium-94.0.4606.61 / Chromium 94.0.4606.61 2021-09-29 09:49:40 +10:00
Alex Maitland 4cc758029b Nuget - Simplify CefSharpCopyFilesAfterNugetRestore targets
- Now there are just two targets that actually copy files as the AnyCPU was just a duplicate of
  the x86/x64 ones.
- Remove file exists checks and just rely on the CefSharpPropertiesLoaded not being set
- Added a duplicate copy of CefSharpPlatformTarget (as _CefSharpPlatformTarget) to make
  sure we copy the correct files.
2021-09-24 11:52:44 +10:00
Alex Maitland db6e118cbc Nuget - Use PlatformTarget instead of CefSharpPlatformTarget for copy targets
CefSharpPlatformTarget isn't defined on initial load
2021-09-10 15:59:36 +10:00
Alex Maitland 738e90dbc2 Upgrade build version to 94.0.30 2021-09-10 15:50:55 +10:00
Alex Maitland e4e0f22ca7 WinForms/WPF/OffScreen - Upgrade to SDK style projects and multi-target net452 and net462
Haven't tested the output nuget packages yet, we might still need to change the nuspec files to add a
dependency group.

Issue #3791
2021-09-05 15:09:35 +10:00
Alex Maitland 2ddb0cb1ed Net Core - Update Nuget Readme.txt to include ARM64 2021-09-05 10:54:53 +10:00
Alex Maitland 464232538a Net Core/Net 5 - Improve CefSharp.Common.NETCore.targets RID handling
Resolves #3773
2021-09-04 14:08:05 +10:00
Alex Maitland d350cad52a Update to M93 (#3781)
* Upgrade to CEF 93.1.7+g9117d6a+chromium-93.0.4577.42 / Chromium 93.0.4577.42

- Core - Add basic ref counting implementation

IMPLEMENT_REFCOUNTING implementation uses atomic which
forces the VC++ compiler to compile as native which doesn't work for our managed ref classes.

    - Use InterlockedCompareExchange for custom ref count reads
    - Use InterlockedIncrement/InterlockedDecrement directly
    - There's no memory barrier for HasOneRef/HasAtLeastOneRef as the read of a LONG should happen in one operation
on 32/64 bit architectures (at least that's my understanding at this point in time).

    References:
    https://github.com/chromiumembedded/cef/blob/4472/include/base/internal/cef_atomicops_x86_msvc.h#L125
    https://github.com/chromiumembedded/cef/blob/4472/include/base/internal/cef_atomicops_arm64_msvc.h#L107
    https://github.com/chromiumembedded/cef/blob/4472/include/base/cef_atomic_ref_count.h#L114
    https://github.com/chromiumembedded/cef/blob/4472/include/cef_base.h#L91

-  Remove Microsoft.Net.Compilers package from projects
Now that we require a min of VS2019 to build there's no need for a custom compiler package
- Start removing VS2015/VC++2015 references
- Remove RegisterWidevineCdm
This is a breaking change. CEF will now automatically download the Widevine CDM component
Resolves #3767

- RequestContext.LoadExtension now uses managed to code spawn on CEF UI Thread
Avoid having to use cef_callback.h which was causing problems for x86 builds
2021-09-03 10:51:18 +10:00
Alex Maitland 8fb2e414b6 Nuget - Manually copy CefSharp Common files after initial Nuget restore
Follow up to https://github.com/cefsharp/CefSharp/commit/24d64c427e8d41709230baf460cb8c803048dc54
2021-07-24 16:13:10 +10:00