Commit Graph

6305 Commits

Author SHA1 Message Date
Alex Maitland 4e3f07faea Upgrade to 111.2.7+gebf5d6a+chromium-111.0.5563.148 / Chromium 111.0.5563.148 v111.2.70 2023-04-04 05:47:53 +10:00
Alex Maitland 30c286c428 DevTools Client - Update to 111.0.5563.65 v111.2.20 2023-03-15 10:29:46 +10:00
Alex Maitland a3f7537122 WinForms - LifeSpanHandler.DoClose add ObjectDisposedException try/catch
- If the popup is being hosted on a Form that is being Closed/Disposed
  as we attempt to call Control.Invoke we can end up with an ObjectDisposedException
2023-03-14 13:25:31 +10:00
Alex Maitland 1273afcda8 WinForms - Refactor ChromiumHostControlBase to use P/Invoke
- Avoid using using NativeMethodWrapper, hopefully this keeps the designer
  happy, no need to load CefSharp.Core.Runtime.dll

Issue #4019
2023-03-14 13:25:31 +10:00
Alex Maitland ae2e7976f2 Net Core - Remove EnableHighDPISupport from BrowserSubProcess
- NetCore has it's own exe which still had a call to EnableHighDPISupport
- WPF seems to default to System DPI aware, revert to using app.manifest for PerMonitorV2

Follow up to https://github.com/cefsharp/CefSharp/commit/b17cd2a1b23df786c1051c7c66947f6d52239510

Issues #4417 #4410
2023-03-13 13:03:05 +10:00
Alex Maitland a06349eb3f appveyor.yml - Update build number 2023-03-12 17:00:09 +10:00
Alex Maitland 7cdab11dc3 Upgrade to 111.2.2+g1b83ff6+chromium-111.0.5563.65 / Chromium 111.0.5563.65 2023-03-12 16:53:52 +10:00
Alex Maitland a4db645e5b Core - Xml Doc fixes 2023-03-12 11:09:48 +10:00
Alex Maitland 1877279601 Test - Add JavascriptBinding/JavascriptBindingSimpleTest.ShouldWork
- Now a single file example using OffScreen
2023-03-12 06:49:47 +10:00
Alex Maitland f6093ef54e Core - Add JavascriptMessageReceivedEventArgs.SetBinder method
- Allow for specifying a custom binder used for converting the
  response from cefSharp.postMessage
2023-03-11 06:40:51 +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 05fc069837 Upgrade to 111.1.2+g6926287+chromium-111.0.5563.64 / Chromium 111.0.5563.64 2023-03-09 12:35:33 +10:00
Alex Maitland a8f20291e2 build.ps1 - Update version number via UpdateNugetPackages.ps1
Resolves #4418
2023-03-08 06:44:23 +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 5b61574a51 Net Core - Support Central Package Management
- Use VersionOverride in .targets file when ManagePackageVersionsCentrally == true

Resolves #4362
2023-03-07 11:07:44 +10:00
Alex Maitland edf99b5c24 Net Core - ManagePackageVersionsCentrally exclude chromiumembeddedframework.runtime packages
- When Nuget packages are managed centrally the build will break when no RuntimeIdentifier is specified
  as the .targets file includes <PackageReference/> entries for the chromiumembeddedframework.runtime packages.
  For now when ManagePackageVersionsCentrally exclude the <ItemGroup />

Issue #4362
2023-03-07 10:53:16 +10:00
Alex Maitland 4f6fdf85c8 Upgrade to 111.0.11+geb023d1+chromium-111.0.5563.50 / Chromium 111.0.5563.50 2023-03-04 10:19:50 +10:00
Alex Maitland a39686b339 Core - Cleanup WebBrowserExtensions
- Add null check
- Rename params
- Reduce code duplication
2023-02-27 11:09:17 +10:00
Alex Maitland 75d49a9d81 Bug Report - Update links 2023-02-27 06:40:02 +10:00
Alex Maitland 916b7e01a6 Test - Add PostMessage IJavascriptCallback test 2023-02-25 05:36:56 +10:00
Alex Maitland 6df59e0cf2 Core - Fix some xml doc mistakes 2023-02-23 13:05:53 +10:00
Alex Maitland 89da873101 Core - Make WebBrowserExtensions.ThrowExceptionIfBrowserNull public
- Make public
- No longer extension method so it doesn't pollute the public API
2023-02-23 12:40:16 +10:00
Alex Maitland f7cc1d4b63 Upgrade to 110.0.28+g16a2153+chromium-110.0.5481.104 / Chromium 110.0.5481.104 2023-02-22 05:53:01 +10:00
Alex Maitland 1f25de839c Test - JavascriptBindingTests.ShouldReturnRenderProcessId assert page loaded 2023-02-17 19:07:56 +10:00
Alex Maitland d960f98dd4 Test - CookieManagerTests.ShouldSetAndGetCookie adjust Date comparison
- Test was failing when run on Appveyor, use Assert.Equal with a 1second tolerance
2023-02-17 18:48:39 +10:00
Alex Maitland abefe829ae Test - Improvements
- Use LangVersion to 8.0
- Minor cleanup
2023-02-17 18:04:30 +10:00
Alex Maitland d0b06b3105 Test - CookieManagerTests rename method 2023-02-17 16:52:03 +10:00
Alex Maitland 75a564bdff Test - ConcurrentMethodRunnerQueueTest cleanup
Issue #3067
2023-02-17 16:48:28 +10:00
Alex Maitland cafd378859 Test - Code Cleanup
- Start splitting tests out into own files where relevant
- Improve call ordering
- Use Assert.RaisesAsync where possible
- Classes have been renamed (Tests is now the standard suffix)

TODO: Some of the classes still need their method names changed
2023-02-17 13:53:23 +10:00
Alex Maitland 7edc164206 Upgrade to 110.0.25+g75b1c96+chromium-110.0.5481.78 / Chromium 110.0.5481.78 2023-02-10 06:17:40 +10:00
Alex Maitland 2c141e0fc7 DevTools Client - Update to 110.0.5481.77 2023-02-07 05:59:19 +10:00
Alex Maitland 929039e9e3 README.md - Update M110 release imminent 2023-02-07 05:51:31 +10:00
Alex Maitland 91d9981ff2 Upgrade to 110.0.22+gb3f93d5+chromium-110.0.5481.77 / Chromium 110.0.5481.77 2023-02-06 12:08:02 +10:00
Alex Maitland 0916c757dd WPF - Tooltip minor cleanup
- Ignore tooltip change if both new/old values are null/empty
- Change order so timer is stopped before hiding tooltip
2023-02-03 13:08:28 +10:00
Alex Maitland 7021a7da52 WPF - Allow overriding of TooltipTextProperty change
- Override the OnTooltipTextChanged method to customise display of browser tooltip

Related to issue #4048
2023-02-03 13:08:28 +10:00
Alex Maitland b5334f8d31 Net Core - Update RefAssembly
- PopupFeatures was updated

Issue #4383
2023-02-02 11:49:33 +10:00
Alex Maitland ee0c75368c Core - Update IPopupFeatures
Upstream change see https://github.com/chromiumembedded/cef/commit/d04b5d4f8747ec68370740729922a9cd6868b8f5#diff-447d40892c51b4ffc870cf1a28bab2ae2d411752216be4750a17193e6675b26bL2182

Resolves #4383
2023-02-02 11:27:51 +10:00
Alex Maitland 2cb65efeed Upgrade to 110.0.21+g6054757+chromium-110.0.5481.52 / Chromium 110.0.5481.52 2023-02-02 11:13:47 +10:00
Alex Maitland ca905157f7 Test - Simplify callback promise tests
Issue #4276
2023-01-30 11:35:43 +10:00
Alex Maitland b8dbb0c0c5 WinForms - Throw InvalidOperationException if Load() called on invalid IBrowser
- When IBrowser.IsValid == false throw an InvalidOperationException when an attempt to
  call Load() is made.

Resolves #4368
2023-01-24 10:55:03 +10:00
Alex Maitland 17173587fe Core - Improve IBrowser.MainFrame and IBrowser.FocusedFrame null handling
- When CEF added CefFrameManager support the lifespan of a frame changed, it's now possible for MainFrame/FocusedFrame
  to be null when the browser is closed.

Issue #4368
2023-01-24 10:55:02 +10:00
Alex Maitland a51cdd3723 Core - OnSelectClientCertificate copy certificate vector
- Attempt to fix AccessViolationException by making a copy of
  the vector

Issue #2948
2023-01-17 10:22:59 +10:00
Alex Maitland a51da76ad9 OffScreen - Add useLegacyRenderHandler optional param to constructor
- Defaults to true
- For those using CaptureScreenshotAsync set to false to avoid
  creating DefaultRenderHandler
2023-01-15 11:33:08 +10:00
Alex Maitland 0d790cdf8f Revert "OffScreen - Lazy Initialize RenderHandler"
This reverts commit 664406869a.
2023-01-15 11:05:27 +10:00
Alex Maitland 664406869a OffScreen - Lazy Initialize RenderHandler
- Instead of assigning RenderHandler directly in the constructor, only assign when
  the new instance in ScreenshotOrNull. Avoid allocating the buffer for those
  using the new CaptureScreenshotAsync method.
2023-01-15 10:23:10 +10:00
Alex Maitland 2585e7de30 Core - Update CefErrorCode (109.0.5414.87) 2023-01-14 09:58:15 +10:00
Alex Maitland aa3d060639 DevTools Client - Update to 109.0.5414.87 2023-01-14 09:54:04 +10:00
Alex Maitland 2ee7e9d442 Upgrade to 109.1.11+g6d4fdb2+chromium-109.0.5414.87 / Chromium 109.0.5414.87 2023-01-14 07:16:02 +10:00
Alex Maitland ceb347988d Upgrade to 109.1.8+g44ba3e7+chromium-109.0.5414.87 / Chromium 109.0.5414.87 2023-01-13 20:35:52 +10:00
Alex Maitland f68616c54e Nuget - Update Readme.txt 2023-01-13 05:53:05 +10:00