Commit Graph

1658 Commits

Author SHA1 Message Date
Alex Maitland 3ff0c363ce README.md - Update releases
DevTools Client - Upgrade to 125.0.6422.142
2024-06-09 07:43:54 +10:00
Alex Maitland 7af16b9571 Add IWindowInfo.RuntimeStyle
- CEF will remove the alloy bootstrap (likely in M127)
- Change examples to use the `Chrome Runtime`
-

Issue https://github.com/chromiumembedded/cef/issues/3685
2024-05-06 11:03:04 +10:00
Alex Maitland 0ab5d1a08b IDownloadHandler.OnBeforeDownload now returns boolean
Return true and execute callback either
asynchronously or in this method to continue or cancel the download.
Return false to proceed with default handling (cancel with Alloy style,
download shelf with Chrome style).
2024-05-06 10:28:35 +10:00
Alex Maitland 8e1805eeb7 DevTools Client - Upgrade to 124.0.6367.60 2024-05-04 11:49:37 +10:00
Alex Maitland 3ac6487fcc Core - Add Cef.IsWindows10OrGreater and Cef.AssertIsWindows10OrGreater 2024-04-25 17:46:13 +10:00
Alex Maitland 9115762b1a DevTools Client - Upgrade to 123.0.6312.46 2024-03-24 08:44:37 +10:00
Alex Maitland 898ef3df36 DevTools Client - Upgrade to 122.0.6261.112 2024-03-12 18:52:20 +10:00
Alex Maitland a66c36037c DevTools Client - Upgrade to 121.0.6167.160 2024-02-09 20:02:40 +10:00
Alex Maitland bbe7260fe8 NetCore - Initializer additional checks to locate libcef.dll
- When running from a library with no RuntimeIdentifier specified, check
  relative to CefSharp.Core.dll in runtimes folder
2024-01-19 20:14:25 +10:00
Alex Maitland ad2213bbc3 DevTools Client - Upgrade to 120.0.6099.109 2023-12-16 10:49:22 +10:00
Alex Maitland d5a7084c21 DevTools Client - Upgrade to 119.0.6045.105 2023-11-04 06:33:57 +10:00
Alex Maitland eedb2ba507 DevTools Client - Upgrade to 118.0.5993.96 2023-10-27 19:32:38 +10:00
Alex Maitland 30b9a2c4b4 Remove BrowserSettings.AcceptLanguageList
Resolves #4614
2023-10-27 06:31:49 +10:00
Alex Maitland 0b388197c9 DevTools Client - Upgrade to 117.0.5938.92 2023-09-28 05:55:56 +10:00
Alex Maitland 2e2b53f8a1 Core - DownloadUrlAsync add optional UrlReqestFlags param
Discussion #4578
2023-08-26 07:47:19 +10:00
Alex Maitland c09f10092d DevTools Client - Upgrade to 116.0.5845.97 2023-08-21 06:24:17 +10:00
Alex Maitland 65eef56c58 Add support for Synchronous Bindings when Self Hosting BrowserSubProcess
Resolves #4562
2023-08-20 08:53:22 +10:00
developersthinksmartbox f75b991898 NetCore - Generate Reference Assemblies building with VS2022 (#4559)
* Ensure reference assemblies are copied to output folders

The .NET 6.0 SDK introduced a breaking change meaning that reference
assemblies are no longer automatically copied from the intermediate
build directory to the output directory. An additional MsBuild property
is now required.

* Specify VS2022 for reference assembly copy condition

---------

Co-authored-by: Bernard Mason <bernard.mason@thinksmartbox.com>
2023-08-04 06:24:59 +10:00
Alex Maitland e65d05e3d3 DevTools Client - Upgrade to 115.0.5790.114 2023-07-30 18:18:54 +10:00
Alex Maitland c0d840a641 Remove CefSettings.UserDataPath
Resolves #4518
2023-07-16 09:34:44 +10:00
Alex Maitland b79c7c8f79 DevTools Client - Update to 114.0.5735.110 2023-06-20 05:30:53 +10:00
Alex Maitland 1def8a7937 Upgrade to .Net 4.6.2 (#4482)
* Upgrade minimum .Net version to 4.6.2

#4433

* Use TaskCreationOptions.RunContinuationsAsynchronously

- Now that min version is .Net 4.6.2 we can use RunContinuationsAsynchronously
- Remove some unused code
2023-06-10 07:33:20 +10:00
Alex Maitland 4699eb5e0e DevTools Client - Update to 113.0.5672.63 2023-04-30 10:30:09 +10:00
Alex Maitland 5cf01850a0 DevTools Client - Update to 112.0.5615.49
- Fully qualified attributes have been changed to a using statement
  to reduce file size
2023-04-10 14:30:59 +10:00
Alex Maitland 3ce76eb191 CEF Issue Tracker moved to GitHub
- Update some of the internal links

Issue #4430
2023-03-24 10:52:58 +10:00
Alex Maitland f14ecb69b9 Core - Remove Cef.EnableHighDPISupport
Resolves #4417
2023-03-15 18:26:35 +10:00
Alex Maitland 874f18bc33 DevTools Client - Update to 111.0.5563.65 2023-03-15 10:33:52 +10:00
Alex Maitland fb779a5b46 Core - Move DevTools Client from CefSharp.dll to CefSharp.Core.dll
- Moves the Dependency of System.Text.Json from CefSharp.dll
  BrowserSubProcess as a result no longer has a reference
  where wasn't required for it's operation.

Resolves #4428 #4427
2023-03-14 14:05:48 +10:00
Alex Maitland a4db645e5b Core - Xml Doc fixes 2023-03-12 11:09:48 +10:00
Alex Maitland fa4a37a8b0 Core - Add EvaluateScriptAsync<T>(string script) extension method
- Add generic overload that uses the DefaultBinder (with CamelCaseNaming)
  to perform type conversion
2023-03-10 18:37:42 +10:00
Alex Maitland b17cd2a1b2 Core - High-DPI support is now enabled by default in Chromium.
- Chromium now enables DPI awareness programmatically by default
- Remove Cef.EnableHighDPISupport calls and mark as obsolete
- Remove dpiawareness entries from app.manifest

Issues #4417 #4410
2023-03-07 13:03:53 +10:00
Alex Maitland 852b0f2d7f Core - RequestContext add ArgumentNull checks 2022-12-06 10:03:47 +10:00
Alex Maitland 2bf95438a9 Core - Add Cef.ShutdownStarted event 2022-11-08 14:42:12 +10:00
Alex Maitland 92892c9b85 WPF - Add ChromiumWebBrowser.ToggleAudioMuteCommand
- Add new extension method to toggle audio mute
- Add new command to toggle audio mute
- Add new menu item to WPF Example

Resolves #3247
2022-10-25 12:32:01 +10:00
Alex Maitland f8530064b1 Core - Add Cef.PostAction and Cef.PostDelayedAction 2022-06-22 10:52:17 +10:00
Alex Maitland 2cd1c9b5ae Core - Add Cef.WaitForBrowsersToClose(int) overload
- Allow for specifying the timeout in ms
- Update the tests to 5000ms timeout
2022-06-20 13:03:15 +10:00
Alex Maitland f0a72fbe6b Core - Add IWindowInfo.WindowName
Allows setting of the window_name property
2022-06-06 11:08:52 +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 b4c4913b35 Core - Add IDownloadHandler.CanDownload
- Add IDownloadHandler.CanDownload
- Add to Fluent implementation
- Update examples

https://bitbucket.org/chromiumembedded/cef/commits/6d7a6801871cd4fcceb174dfa99a5b46da6253c1

Resolves #4090
2022-05-05 12:40:33 +10:00
Alex Maitland e895c41796 Core - Remove CefSettings.ApplicationClientIdForFileScanning
- Was removed upstream.

This is a breaking change.

Resolves https://github.com/cefsharp/CefSharp/issues/4070
2022-04-21 09:18:23 +10:00
Alex Maitland df562dd251 WPF - Workaround for Cursors not loading correctly
- For cursors that are embedded in libcef.dll the OnCursorChange method is passing
 in IntPtr.Zero so we're unable to load the cursor.
 This commit adds a manual mapping of CursorType to resource Id and loads the cursors manually
- Adds a basic test to assert the cursors load, should validate if the resource ids change

This needs to be fixed upstream https://bitbucket.org/chromiumembedded/cef/issues/3270/osr-pan-icon-missing-when-pressing-the

Test url https://developer.mozilla.org/en-US/docs/Web/CSS/cursor#values

Issue #4021
2022-04-04 14:45:27 +10:00
Alex Maitland 0ac43cf69f Core - Remove Remaining Plugin APIs
- Remove plugin references
- Update xml doc comments
- Update ref assembly (netcore)
- Update examples

Issue #4045
2022-03-21 10:01:26 +10:00
Alex Maitland 009687f7dd Core - SetCrashKeyValue fix key not being passed to CEF 2022-02-22 11:33:47 +10:00
Alex Maitland 54bd29a551 Core - Fix typo 2022-02-22 11:17:40 +10:00
Alex Maitland 571a1db548 Core - Further migration of extensions methods from IWebBrowser to IChromiumWebBrowserBase
- EvaluateScriptAsync can now be used from IChromiumWebBrowserBase, if also IWebBrowser then
main frame check will occur as previous.

Related to #3944
2022-01-10 13:44:29 +10:00
Alex Maitland 8160ec1ce4 Remove IRequestContextHandler.OnBeforePluginLoad and IRequestContext.PurgePluginListCache
Resolves #3924
2021-12-07 14:54:11 +10:00
Alex Maitland 0fc3ae2323 Core - Add CefSettingsBase.IsDisposed
- Dispose CefSettingsBase
- Take a copy of the CefSettings struct and free our pointer
2021-11-25 09:45:29 +10:00
Alex Maitland d46f6380ad Core - Cef.InitializeAsync add optional IBrowserProcessHandler param
Issue #3634
2021-10-28 11:10:08 +10:00
Alex Maitland 4a07af26e9 Core - Rename WaitForBrowserInitialLoadAsync to WaitForInitialLoadAsync and simplify
- Initial intention was to have a reusable method that could be used CefSharp.Wpf.HwndHost,
  upon further deliberation I've decided to build the functionality into the ChromiumWebBrowser.Partial.cs
  and will need to duplicate the functionality in CefSharp.Wpf.HwndHost. This guarantees that the
  Task will be resolved in all cases. The previous implementation there was a theoretical change we'd
  miss subscribing to the relevant events
- Remove CancellationToken as it's not possible to cancel

Issue #3842
2021-10-28 10:31:03 +10:00
Alex Maitland 91b7514a1c WinForms/WPF/OffScreen - Add WaitForBrowserInitialLoadAsync
Second attempt at WaitForBrowserInitialLoadAsync, includes optional
CancellationToken param.

Issue #3842
2021-10-27 13:58:57 +10:00