-
-
Notifications
You must be signed in to change notification settings - Fork 826
NVDA source code and user guide: remove Windows 8 constant mentions #15666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
seanbudd
merged 20 commits into
nvaccess:master
from
josephsl:removeWin8ConstantMentions
Oct 23, 2023
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
e02bf58
Ease of Access: add an underscore to 'canConfigTerminateOnDesktopSwit…
josephsl 9c6a627
Ease of Access: provide a warning about deprecated 'canConfigTerminat…
josephsl f64a065
Ease of Access: update copyright header
josephsl 33ee059
Ease of Access: general lint. Re #15662
josephsl 8f3a519
Windows API/lock session state: return Windows 8 or later session sta…
josephsl f64a125
Windows API/session lock state: update copyright header
josephsl a040765
Windows API/lock session state: remove unused imports. Re #15663
josephsl 59e8c79
winVersion/full screen magnification: say 'Windows 8.1'. Re #15664.
josephsl 09a7957
User guide: update audio ducking context help to remove Windows 8 req…
josephsl 23ddec0
Changelog: add deprecation notice on easeOfAccess.canConfigTerminateO…
josephsl 4b61132
Merge branch 'master' into removeWin8ConstantMentions
josephsl c43c9fc
winVersion.isFullScreenMagnificationAvailable: just return True
josephsl 7f6f111
Update source/easeOfAccess.py
josephsl 458afd9
Merge branch 'master' into removeWin8ConstantMentions
josephsl 4dbbfbb
winVersion.isFullScreenMagnificationAvailable: mark as deprecated. Re…
josephsl 5c8a01e
Screen curtain: remove winVersion.isFullScreenMagnificationAvailable …
josephsl 2510085
Changelog: add deprecation notice for winVersion.isFullScreenMagnific…
josephsl b37b85a
Screen curtain: general lint
josephsl 96d4826
Changelog: winVersion.isFullScreenMagnificationAvailable -> visionEnh…
josephsl fad0b32
winVersion: provide replacement for winVersion.isFullScreenMagnificat…
josephsl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this please use the standard
__getattr__methoud outlined in deprecations.md?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did it like this initially as the deprecated symbol is a function, not a constant or a variable, using gui.quit as precedence. If an add-on or other part of NVDA calls winVersion.isFullScreenMagnificationAvailable using the proposed deprecation method, Python will raise attribute error, which amounts to removing the function altogether from the module.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the
gui.quitexample did come before this was standardised though, so I wouldn't use it as precedentThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should give us a motivation to refine the getattr method when dealing with deprecated functions and class methods. I'll follow the suggested process, and then will create a new GitHub issue.