Skip to content
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

Merge beta to master #16075

Merged
merged 3 commits into from
Jan 22, 2024
Merged

Merge beta to master #16075

merged 3 commits into from
Jan 22, 2024

Conversation

seanbudd
Copy link
Member

No description provided.

lukaszgo1 and others added 3 commits January 22, 2024 11:30
…ose (#16074)

Fixes #16070

Summary of the issue:
To log unhandled exceptions NVDA relies on a custom except hook installed when initializing logging. Until Python 3.8 custom except hooks were not called for exception which occurred outside of the main thread - they were simply written to stderr (see python/cpython#42148). This worked well for NVDA, since it replaces stderr with a custom object which logs everything written to stderr, so the exceptions ended up in our log, just in a different way. In Python 3.8 it become possible to install a custom hook which gets called for exceptions which are raised in non main threads, but as part of this change the way in which they are handled by default has changed - the traceback is written to stderr line by line, rather than as a single call to print as it used to be. For NVDA it means that each line of the traceback results in a separate log entry making logging extremely noisy.

Description of user facing changes
Exception from threads different than the main one are logged in the same way as they were in NVDA 2023.3.

Description of development approach
A custom except hook for exception raised in threads was introduced. It logs them as an exception with additional information explaining in which thread they were raised.

Testing strategy:
Performed STR from #16070 - ensured that logging looks similarly to the one from 2023.3 and that single exception results in a single log entry.

Known issues with p
Summary of the issue:
Everyone may not know what speech modes are, especially the new on-demand mode.

Description of user facing changes
In the User Guide, there is a paragraph describing the setting to change available speech mode in the cycling command. A link has been added to the paragraph describing the speech modes.
While at it, I have also rephrased a script's documentation, which inappropriately mentions "peech modes" when referring to language switching possible values; this way, it's not confusing anymore when searching for "speech mode" in the UG
…and also clarify some information about MathPlayer. (#16062)

Fixes #16036
Fixes #15352

Summary of the issue:
When reading the section of the User guide about Math support, and then the MathPlayer page from Wiris, it is unclear as to whether MathPlayer is actually needed for NvDA unless you are using an older browser such as Internet Explorer 8.
Also, Nthe User Guide does not recommend let alone mention, MathCAT, which is now the replacement for the older and unmaintained MathPlayer.

Description of user facing changes
Update the math section in the User guide to mention and recommend MathCAT, and clarify that MathPlayer is still relevant on newer browsers.
@seanbudd seanbudd requested review from a team as code owners January 22, 2024 02:00
@seanbudd seanbudd merged commit cca89ba into master Jan 22, 2024
1 of 2 checks passed
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.

4 participants