Skip to content

Conversation

@egil
Copy link
Collaborator

@egil egil commented Oct 14, 2024

Types of Changes

Prerequisites

Please make sure you can check the following two boxes:

  • I have read the CONTRIBUTING document
  • My code follows the code style of this project

Contribution Type

What types of changes does your code introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue, please reference the issue id)
  • New feature (non-breaking change which adds functionality, make sure to open an associated issue first)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

Description

[Place a meaningful description here.]

SebastianStehle and others added 6 commits March 28, 2023 22:29
* Ensure that the correct diff is returned.

* Use records.

* Move kind to beginning of text.

* Fix compilation error and test for custom diff.

* Update src/AngleSharp.Diffing/Core/CompareResult.cs

Co-authored-by: Egil Hansen <egil@assimilated.dk>

* Update src/AngleSharp.Diffing/Core/Comparison.cs

Co-authored-by: Egil Hansen <egil@assimilated.dk>

* Update src/AngleSharp.Diffing/Core/AttributeComparison.cs

Co-authored-by: Egil Hansen <egil@assimilated.dk>

* 1. Rename CompareResultDecision
2. Move method inside type.

* Rename method.

* Get rid of StylesOrder

* More records.

* refactor: move IsExternalInit to folder matching namespace

* add comment to explain use of ReferenceEquals

* Move types into two files

* simplify attrdiff object hierarchi

* remove diff type check

* clean up using statements

* refactor: IsSameOrSkip as property

* refactor: normalize tests

* feat: add CommentComparer tests

* nodes do not have different closing tags, elements do, so switch to using ElementDiff when comparing elements

* fix: override ComparisonSource.ToString for better output

* fix: use unspecified when no diff is returned

* override ToString in AttributeComparisonSource

* bump version number

---------

Co-authored-by: Egil Hansen <egil@assimilated.dk>
@egil egil closed this Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants