Commit Graph

53 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 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 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 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 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 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 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 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 738e90dbc2 Upgrade build version to 94.0.30 2021-09-10 15:50:55 +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
Konstantin Preißer 462bc747bd Add support for Windows ARM64 to CefSharp.NETCore packages (#3359)
* Add support for Windows ARM64 for the NETCore packages.

Note: .NET 5.0 or higher is required to build a WinForms/WPF application for win-arm64.

Fixes cefsharp/CefSharp#2944

* PR feedback: Remove "WIN32" define as it is already defined by minwindef.h.

* PR feedback: Switch the CefSharp.*.Example.netcore and CefSharp.Test.netcore projects from cef.redist to chromiumembeddedframework.runtime.

Note: These projects are excluded for build when platform is 'arm64', as otherwise the build fails as WinForms and WPF are not yet available for ARM64 in .NET 5.0.

* Follow-Up: Update path to CefSharp.Test.dll.

* PR feedback: Also use RuntimeInformation for the .NET Framework example projects.

* PR feedback:
- Remove copying of CefRedist files in CefSharp.AfterBuild.targets which is no longer needed.
- Update .vsconfig to include the VC ARM64 build tools.
2021-04-01 17:27:48 +10:00
Alex Maitland 0c6268f940 Nuget - Improvements and formatting fixes
- Remove CefSharpBuildAction default to NoAction when Nuget 5.0 and Library
  For those writing plugins this would have resulted in no files being copied, will rely on users setting
  to NoAction themselves when required
- When $PlatformTarget is empty default to $Platform as the fallback, older Non SDK Style library projects
  are known to not set PlatformTarget when Platform is AnyCPU which would have resulted in only the x86 files being copied.
- Fix formatting of CefSharp.Common.NETCore.targets
2021-03-23 10:49:14 +10:00
Alex Maitland 6d080ad3f9 Nuget (Net Core) - Add CefSharpBuildAction to CefSharpAfterBuildDiagnostic 2021-03-12 13:55:38 +10:00
Alex Maitland 73e2192c95 Upgrade version numbers to 89.0.60 2021-03-12 13:20:12 +10:00
Alex Maitland 5ebb08f3bc 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 10:37:48 +10:00
Alex Maitland 9475ca99b8 Net Core - Improve Nuget debugging 2021-03-02 11:44:23 +10:00
Alex Maitland f8e07de1a3 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:53 +10:00
Alex Maitland e627af899e Net Core - Improve Exclude BrowserSubProcess from .Net 5.0 SingleFile/SelfContained builds
Issue #3407
2021-03-01 11:41:01 +10:00
Alex Maitland edba4bef9e Net Core - Exclude BrowserSubProcess from .Net 5.0 SingleFile/SelfContained builds
Issue https://github.com/cefsharp/CefSharp/issues/3407
2021-02-27 15:02:29 +10:00
Alex Maitland 0ca3a92700 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:44:06 +10:00
Alex Maitland f953f2daa7 Net Core - Add CefSharpAfterBuildDiagnostic nuget target
Can be added to any consuming project to output some useful diag information
2021-02-26 12:16:50 +10:00
Alex Maitland 7c45907c76 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:16:49 +10:00
Alex Maitland 34b17bd32f 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:29:37 +10:00
Alex Maitland 3a29c70d81 Upgrade build version to 87.1.13 2021-01-09 14:20:11 +10:00
Alex Maitland 32a8cc6b88 Net Core - BrowserSubProcess run on newer .Net version
Set RollForward Major so if .Net Core 3.1 isn't installed then .Net 5 can be used (if installed)

Issue #3197
2020-12-16 13:37:09 +10:00
Alex Maitland 8a367fbdc4 Refactor CefSharp.Core into CefSharp.Core.Runtime (#3311)
* Net Core - Rename CefSharp.Core.dll to CefSharp.Core.Runtime.dll

Partial rename, only Net Core, folder not renamed

* Net Core - Rename CefSharp.Core.RefAssembly to CefSharp.Core.netcore

Remove GenApi

* Core - Rename CefDragDataWrapper to DragData

Move into CefSharp.Core namespace

* WinForms/WPF/OffScreen - Migrate from GitLink command line to Nuget package

* Net Core - Refactor to have CefSharp.Core.dll contain only public Api

* Net Core - Remove CefSharp.Core.RefAssembly

* Net Core - Change CefSharp.Core.netcore output folder

* Net Core - Restructure nuget packages

* Net Core - Add Cefsharp.Core.Runtime.RefAssembly

* Net Core - Hide CLI/C++ classes from intellisense

Make sure users don't attempt to load them directly

* Rename CefSharp.Core to CefSharp.Core.Runtime

* Core - Restructure Net 4.5.2 packages to use CefSharp.Core.dll anycpu variant

Attempt to load CefSharp.Core.Runtime at runtime rather than having to use msbuild to copy the correct version

* Rename CefSharp.Core.netcore to CefSharp.Core

* WPF/WinForms/OffScreen - Change from x86/64 to AnyCPU

As they are all managed assemblies they can target AnyCPU.
Includes CefSharp.dll

* Convert RequestContextBuilder from C++ to C#

Now part of the CefSharp.Core PublicApi

* Update version number to 87.1.11

* Migrate more of the public Api to C#

* Net Core - Basic restructure complete

* Net Core - ModuleInitializer (Doesn't work yet)

* Remove direct references to BrowserSettings

* Net Core - ModuleInitializer load CefShar.Core.Runtime.dl

* Net Core - Load libcef.dll via CLR Module initializer

If no RID is specified then we can load libcef.dll using the module initializer

* Add version to CefSharp.Core

* Remove dependency on CefSharp.Core.Runtime
Rewrite common targets

* AnyCPU app.config transform

Improve AnyCPU support

* Improve Net Core 3 support
Only delete CefSharp.Core.Runtime.dll when AnyCPU

* Nuget - Add CefSharp.Core.Runtime reference when TargetFramework = NetCore

* Fix Typos

Based on #3306

* Net Core - Rename CefSharp.Core.Runtime RefAssembly source file

* Net Full - Generate CefSharp.Core.Runtime Ref Assembly

For now the powershell build script generates the .cs file based on a x86 release build.ps1
It's not possible to directly install GenApi as it requires a Sdk style project

* Net Core - Old packages copy files to required folders

* Test - Install newer .Net Compiler and set Lang Version to 7.3

* Net Core - Exclude Net 452 Runtime generated reference source

* Core - Add Refactoring TODO

* Ref Assembly - Generate source as part of build

- Move ref assembly source generate into GenerateRefAssemblySource.ps1
- Call before project build

Runs locally, see if Appveyor has a problem with the powershell script execution

* Core - Add more factory methods to create instances of managed wrappers

* Net Core - Make Initialzier properties internal

Not quite sure what the public API should look like as yet, so making internal for now.
2020-12-16 10:47:34 +10:00
Konstantin Preißer 007cb53720 Improve the check for RuntimeIdentifier to also allow non-portable RIDs like "win7-x64" or "win10-x86". (#3295)
Issue: cefsharp/CefSharp#3197
2020-11-26 21:01:37 +10:00