Skip to content

Update detours#18447

Merged
seanbudd merged 8 commits into
nvaccess:masterfrom
LeonarddeR:updateDetours
Jul 23, 2025
Merged

Update detours#18447
seanbudd merged 8 commits into
nvaccess:masterfrom
LeonarddeR:updateDetours

Conversation

@LeonarddeR

@LeonarddeR LeonarddeR commented Jul 12, 2025

Copy link
Copy Markdown
Collaborator

Link to issue number:

None

Summary of the issue:

Our bundled version of Detours is over two years old. Since October last year, updates have been added that mainly fix bugs.
While at it, I also discovered that LINKFLAGS wasn't used for detours, which is a static lib. I added the relevant flags to ARFLAGS.

Description of user facing changes:

None

Description of developer facing changes:

None

Description of development approach:

  1. Updated submodule
  2. Populated ARFLAGS with relevant flags from LINKFLAGS that apply to static libs.

Testing strategy:

Tested display model operation in Windows Explorer file properties dialog, as outlined in include/readme.md

Known issues with pull request:

None

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.

@coderabbitai summary

Copilot AI review requested due to automatic review settings July 12, 2025 17:38
@LeonarddeR LeonarddeR requested a review from a team as a code owner July 12, 2025 17:38
@LeonarddeR LeonarddeR requested a review from SaschaCowley July 12, 2025 17:38

This comment was marked as outdated.

@SaschaCowley SaschaCowley added the conceptApproved Similar 'triaged' for issues, PR accepted in theory, implementation needs review. label Jul 15, 2025
@LeonarddeR LeonarddeR requested a review from Copilot July 17, 2025 05:46

Copilot AI left a comment

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.

Pull Request Overview

This PR updates the bundled Microsoft Detours library from a version that is over two years old to the latest commit, incorporating bug fixes that have been added since October last year. Additionally, it fixes a build configuration issue where LINKFLAGS wasn't being applied to the static Detours library by adding relevant flags to ARFLAGS.

  • Updated Detours submodule to latest commit 9764cebcb1a75940e68fa83d6730ffaf0f669401
  • Fixed build configuration by moving /release flag to LINKFLAGS and adding appropriate flags to ARFLAGS for static library builds
  • Updated documentation to reflect the new Detours version and corrected branch reference from "master" to "main"

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
user_docs/en/changes.md Added changelog entry documenting the Detours update
projectDocs/dev/createDevEnvironment.md Updated documentation with new Detours commit hash
nvdaHelper/archBuild_sconscript Fixed build flags configuration for static libraries
include/readme.md Updated branch reference from "master" to "main"
include/detours Updated submodule pointer to latest Detours commit

@seanbudd

Copy link
Copy Markdown
Member

Thanks @LeonarddeR

@seanbudd seanbudd merged commit e9c1a6a into nvaccess:master Jul 23, 2025
4 of 5 checks passed
@SaschaCowley SaschaCowley added this to the 2025.3 milestone Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conceptApproved Similar 'triaged' for issues, PR accepted in theory, implementation needs review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants