Commit Graph

246 Commits

Author SHA1 Message Date
Alex Maitland 86877f7885 Upgrade to CEF 101.0.15+gca159c5+chromium-101.0.4951.54 / Chromium 101.0.4951.54 2022-05-04 10:51:33 +10:00
Alex Maitland 94b524b89d Upgrade to CEF 100.0.23+ga1e2187+chromium-100.0.4896.127 / Chromium 100.0.4896.127 2022-04-19 09:24:26 +10:00
Alex Maitland d841b9a1cd Upgrade to CEF 100.0.14+g4e5ba66+chromium-100.0.4896.75 / Chromium 100.0.4896.75 2022-04-07 09:07:48 +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 0d15db9e90 BrowserSubProcess - Increase x64/arm64 stack size
- For Net 4.5.2 it appears we need to resign the exe
- For .Net Core as the exes are native it doesn't look
 like we need to sign them (the CefSharp.BrowserSubprocess.dll is actually
 the one that's signed).
- Remove unused CefSharpBrowserSubprocessPostBuildEvent

Issue #3986
2022-03-01 15:29:57 +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 67a08c47ee BrowserSubProcess/Examples/Tests - Migrate to newer SDK Style projects
- Migrate to new SDK style projects
- Migrate to chromiumembeddedframework.runtime packages
- Remove old packages.config files
- Update post build event for BrowserSubprocess to set TSAware/LargeAddressAware
- Change project build order

Issue #3706
2021-10-12 19:48:11 +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 3f27c9d7ae ClickOnce - Remove attempt at AnyCPU workaround
Wasn't working so reverting for now
2021-09-23 14:36:08 +10:00
Alex Maitland a566c284aa ClickOnce - AnyCPU Use full path 2021-09-23 13:46:15 +10:00
Alex Maitland 2b8f1f4b1a ClickOnce - Load CefSharp.dll from parent directory if not in current directory
Assembly.LoadFile wasn't working for some reason, switch to using AppDomain.CurrentDomain.AssemblyResolve
Only attach to even if file doesn't exist within the current project

Follow up to https://github.com/cefsharp/CefSharp/commit/6f4fe5e12ad81297218da0d8e43a629af77879cc#diff-2bf0d9d6d03aa9b6327ddacd7d82698462654236f558191054e7ed274b6addd9
2021-09-23 13:12:38 +10:00
Alex Maitland 738e90dbc2 Upgrade build version to 94.0.30 2021-09-10 15:50:55 +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 6f4fe5e12a ClickOnce - Load CefSharp.dll from parent directory if not in current directory
Still not loading, move the EnableHighDPISupport into internal method

Follow up to https://github.com/cefsharp/CefSharp/commit/aee97e650dd1d3099e17cf84930bc016b84e6c4c
2021-03-24 20:18:27 +10:00
Alex Maitland 583608095a ClickOnce - Load CefSharp.dll from parent directory if not in current folder
When publishing with ClickOnce targeting AnyCPU the x64 folder is missing a copy of CefSharp.dll which is required by the BrowserSubprocess.
The file is copied correctly when the projects builds normally, so there's some quirk of the Publish process.

Temp workaround

Issue as described at https://github.com/cefsharp/CefSharp/issues/3319#issuecomment-791783346
2021-03-23 10:49:14 +10:00
Alex Maitland 73e2192c95 Upgrade version numbers to 89.0.60 2021-03-12 13:20:12 +10:00
Alex Maitland 1397398770 Upgrade to CEF 88.2.1+g0b18d0b+chromium-88.0.4324.146 / Chromium 88.0.4324.146 2021-02-05 13:39:50 +10:00
Alex Maitland 580042e58d Update version number to 88.1.0 2021-01-11 10:58:53 +10:00
Alex Maitland 3a29c70d81 Upgrade build version to 87.1.13 2021-01-09 14:20:11 +10:00
Alex Maitland a4e42843f8 Update version numbers to 87.1.12 2020-12-16 16:09:08 +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
Alex Maitland 833ebe49a6 Net Core - BrowserSubprocess compile as x86/x64 variants
Using an AnyCPU process wouldn't load when the browser process was x86
Basically x86 browser process couldn't use an x64 subprocess

Issue #3197
2020-11-06 17:41:45 +10:00
Alex Maitland 928bc68ef6 Net Core - Embed PDB and Source
For release builds we embed project source and symbols (at least until https://github.com/dotnet/sdk/issues/1458 is resolved)

Issue #3197
2020-11-06 15:45:36 +10:00
amaitland 11060ddc5a Upgrade build version to 86.0.20 2020-10-31 19:28:35 +10:00
amaitland 44e1e03fab Update build version to 86.0.19 2020-10-30 16:23:29 +10:00
amaitland d0c14cd036 Update version number to 84.4.0 2020-08-14 15:17:03 +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 36b35e478b Upgrade to CEF 83.4.2+gc8d4f85+chromium-83.0.4103.106 2020-07-02 09:46:41 +10:00
amaitland 0bf05e6de7 Upgrade to CEF 83.4.0+gfd6631b+chromium-83.0.4103.106 / Chromium 83.0.4103.106 2020-06-28 20:08:18 +10:00
amaitland 35e207d08b Update version number to 81.3.100 2020-05-23 12:05:06 +10:00
amaitland 99dd3f4273 Upgrade version number to 81.3.20 2020-05-09 05:56:39 +10:00
amaitland bce627097b Upgrade version number to 81.2.210 2020-04-27 17:45:53 +10:00
amaitland 2c5b07d2d0 Upgrade version to 80.0.40 2020-02-27 17:38:00 +10:00
amaitland 31c7e9957a Upgrade version number to 79.1.380 2020-02-27 15:24:18 +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
amaitland 88ab0a1a69 Update version numbers to 76.1.90 2019-08-14 10:14:18 +10:00
amaitland f3e400d8d7 Update version number to 76.1.50 2019-08-02 10:14:31 +10:00
amaitland 6cc1026156 Upgrade version to 75.1.140 2019-07-27 21:36:33 +10:00
amaitland 6233925efd Upgrade version number to 75.1.40 2019-07-18 21:23:41 +10:00
amaitland e0268a3e2a Network Service - Register custom scheme in all process types
The network services requires that custom schemes be registered, previously we only registered them in render processes.

Add SubProcessApp to handle scheme registration
CefAppUnmanagedWrapper inherits SubProcessApp now

#2743
2019-07-04 20:47:42 +10:00