Skip to content

Update to latest nvda_dmp#16508

Merged
seanbudd merged 5 commits into
nvaccess:masterfrom
codeofdusk:update-nvda-dmp-20240508
May 10, 2024
Merged

Update to latest nvda_dmp#16508
seanbudd merged 5 commits into
nvaccess:masterfrom
codeofdusk:update-nvda-dmp-20240508

Conversation

@codeofdusk

@codeofdusk codeofdusk commented May 8, 2024

Copy link
Copy Markdown
Contributor

Link to issue number:

None

Summary of the issue:

nvda_dmp has received updates for better handling of large diffs, unicode characters, etc.

Description of how this pull request fixes the issue:

Updates nvda_dmp (and its backing diff-match-patch implementation) to the latest version.

Testing strategy:

Daily testing by two active terminal users.

Known issues with pull request:

None known

Change log entry:

== Changes ==

Code Review Checklist:

  • Documentation:
    • Change log entry
    • User Documentation
    • Developer / Technical Documentation
    • Context sensitive help for GUI changes
  • Testing:
    • Unit tests
    • System (end to end) tests
    • Manual testing
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers
    • Localization in other languages / culture than English
  • API is compatible with existing add-ons.
  • Security precautions taken.

@codeofdusk codeofdusk marked this pull request as ready for review May 9, 2024 22:15
@codeofdusk codeofdusk requested a review from a team as a code owner May 9, 2024 22:15
@codeofdusk codeofdusk requested a review from gerald-hartig May 9, 2024 22:15
Comment thread requirements.txt
@seanbudd

seanbudd commented May 9, 2024

Copy link
Copy Markdown
Member

please add a change log entry to 2024.3 in changes.md under changes for developers

Comment thread user_docs/en/changes.md Outdated

@seanbudd seanbudd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @codeofdusk

@seanbudd seanbudd merged commit 4f66fd6 into nvaccess:master May 10, 2024
@nvaccessAuto nvaccessAuto added this to the 2024.3 milestone May 10, 2024
Comment thread user_docs/en/changes.md

* Component updates:
* Updated Unicode CLDR to version 45.0. (#16507, @OzancanKaratas)
* Updated fast_diff_match_patch (used to detect changes in terminals and other dynamic content) to version 2.1.0. (#16508, @codeofdusk)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure, but this does not seem to be an update but rather standard diff match patch being replaced by fast diff match patch.
@codeofdusk, is it correct? If yes, the change log item should be modified.

@zstanecic

zstanecic commented May 14, 2024 via email

Copy link
Copy Markdown
Contributor

@Danstiv

Danstiv commented May 14, 2024

Copy link
Copy Markdown
Contributor

@zstanecic
It's strange that you noticed improvements, because The fix was a little different. And it shouldn't have affect braille.
Perhaps performance has increased due to the transition back to the fast diff match patch, but just in case, check if you have UIA notifications as diffing algorithm selected.

@zstanecic

zstanecic commented May 14, 2024 via email

Copy link
Copy Markdown
Contributor

@codeofdusk

Copy link
Copy Markdown
Contributor Author

The change log entry is fine as-is, because:

  • fast-diff-match-patch is a renaming of the existing package (same maintainer, same repo).
  • No changes to Braille code were made. Any performance gains here are incidental.

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.

7 participants