Commit Graph

6179 Commits

Author SHA1 Message Date
Alex Maitland 26ddd913e7 Update cefclient links to 88.2.9+g5c8711a+chromium-88.0.4324.182
Issue #3389
2021-03-05 11:37:04 +10:00
Alex Maitland 265d39f956 buildhelp.bat - Add Platform AnyCPU
Sandcastle wasn't building without a Platform (even though the CefSharp.shfbproj defaults to AnyCPU if Platform is empty)
2021-03-05 09:51:14 +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 639bd6382f Nuget - Default AnyCPU Prefer32Bit to x86 when CefSharpAnyCpuSupport is not set
Can be overridden using CefSharpPlatformTargetOverride
2021-02-27 14:47:26 +10:00
Alex Maitland e3e4c3fe35 BrowserSubprocess - Namespace cleanup
Possibly a few cases that were missed, this should be the bulk of the rename

Resolves #3253
2021-02-27 14:40:16 +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 2e88a66a22 Nuget - Update Readme.txt
- Updated dependency list
2021-02-26 13:23:47 +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 9214052868 Javascript Binding - Add/Improve examples 2021-02-26 12:16:50 +10:00
Alex Maitland 30860d66d6 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:16:49 +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 983a57be05 Update README.md
Add links to Net Core packages
2021-02-26 11:54:03 +10:00
Alex Maitland 7aed82a45a 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:34:28 +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 a5d5afef84 Core - Fix xml doc 2021-02-25 20:24:26 +10:00
Alex Maitland 2b18d60c90 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-23 10:28:15 +10:00
Alex Maitland 0e81e2f344 Upgrade to CEF 89.0.5+gc1f90d8+chromium-89.0.4389.40 / Chromium 89.0.4389.40 2021-02-23 10:20:57 +10:00
Alex Maitland c03c377a7f Upgrade to CEF 88.2.9+g5c8711a+chromium-88.0.4324.182 / Chromium 88.0.4324.182 2021-02-21 19:59:51 +10:00
Alex Maitland 6ea651bf55 BrowserSubprocess - Update SelfHost example 2021-02-21 19:47:59 +10:00
Alex Maitland 9e1d05ec57 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-20 19:46:47 +10:00
Alex Maitland eb70af9173 Nuget - Move the CefSharpCopyFilesAfterNugetRestore Targets to after AfterBuild 2021-02-15 15:38:58 +10:00
Alex Maitland ede36bf009 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-15 15:21:28 +10:00
Alex Maitland 6d9f214196 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-15 13:43:51 +10:00
Alex Maitland 7c4148af03 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-12 16:30:41 +10:00
Alex Maitland 49dd49e8ca Net Core - Update Readme.txt with more details on RuntimeIdentifier 2021-02-11 13:26:17 +10:00
Alex Maitland 78863aec54 Upgrade cefclient links 2021-02-10 20:27:16 +10:00
Alex Maitland 1b387b46d3 Upgrade build version to 88.2.40 2021-02-10 10:00:16 +10:00
Alex Maitland 83ec62981b 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
2021-02-10 09:58:53 +10:00
Alex Maitland cf55e4f256 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:06:44 +10:00
Daniel Bitterlich d36c0bceb3 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-08 17:23:12 +10:00
Alex Maitland 9aac37090a Nuget - Re-Add CefSharpDeleteCoreRuntimeAfterCopyFilesToOutputDirectory target
For Non SDK Style projects CefSharp.Core.Runtime.dll is copied by the _CopyFilesMarkedCopyLocal
MSBuild target.
2021-02-08 17:12:42 +10:00
Alex Maitland 088df55173 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-08 16:33:37 +10:00
Alex Maitland 2cbc33bf97 Upgrade to CEF 88.2.4+gf3c4ca9+chromium-88.0.4324.150 / Chromium 88.0.4324.150 2021-02-08 11:12:31 +10:00
Alex Maitland 102dfc5d6b DevTools Client - Add custom mapping for DisabledImageType[]
Newly added type to the protocol
2021-02-08 10:00:22 +10:00
Alex Maitland b485198298 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:19:57 +10:00
Alex Maitland d0988ce126 DevTools Client - Update generated code to Chromium 88.0.4324.146 2021-02-05 18:09:07 +10:00
Alex Maitland 9f73a68457 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 14:08:08 +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 cde3c3f862 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-04 15:06:36 +10:00
Alex Maitland ea578aed32 Nuget - Formating (tabs to spaces) 2021-02-04 10:55:30 +10:00
Alex Maitland 4786cefb9f README.md - Fix typo 2021-02-03 16:01:09 +10:00
Alex Maitland 1d65d2f422 README.md - Update as 87.1.132 release 2021-02-03 15:55:22 +10:00
Alex Maitland 7262480847 Sandcastle - Update to reflect restructure
https://github.com/cefsharp/CefSharp/issues/3319
2021-02-03 15:46:30 +10:00
Alex Maitland 3dd4d17dc0 Core - Make LegacyJavascriptBindingEnabled obsolete
Will likely be removed in the future as it's been replaced.
Setting after creating your ChromiumWebBrowser instance also doesn't work

Issue https://github.com/cefsharp/CefSharp/issues/2977
2021-02-03 10:04:03 +10:00
Alex Maitland 3f5dc4248a Update to CEF 88.1.6+g4fe33a1+chromium-88.0.4324.96 / Chromium 88.0.4324.96 2021-01-29 17:01:17 +10:00
Alex Maitland 08bd9cb0b8 Core - Disable Windows Native spell checker
Workaround for issue https://bitbucket.org/chromiumembedded/cef/issues/3055/windows-spell-checker-not-working-add

https://github.com/cefsharp/CefSharp/issues/3343#issuecomment-768591711
2021-01-29 16:26:18 +10:00
Alex Maitland 9d7cf7fcbb Nuget - Add support for buildTransitive
- Add support for buildTransitive folder
- Show error when MSBuild didn't copy files (unable to use a Copy Task as props files aren't imported at that point)
- Remove FrameworkVersionCheck (we now have our dlls in a lib\net452) folder so nuget should complain without our custom check)

Issue #3319
2021-01-29 15:05:20 +10:00