-
-
Notifications
You must be signed in to change notification settings - Fork 654
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into updateMasterFromBeta
- Loading branch information
Showing
54 changed files
with
1,379 additions
and
598 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Citizen and Contributor Code of Conduct | ||
|
||
## 1. Purpose | ||
A primary goal of NV Access and NVDA is to be inclusive to the largest number of contributors, with the most varied and diverse backgrounds possible. As such, we are committed to providing a friendly, safe and welcoming environment for all, regardless of gender, sexual orientation, ability, ethnicity, nationality, socioeconomic status, education, level of experience and religion (or lack thereof). | ||
This code of conduct outlines our expectations for all those who participate in our community, as well as the consequences for unacceptable behaviour. | ||
We invite all those who participate in the NVDA community to help us create safe and positive experiences for everyone. NVDA is a user driven initiative. | ||
|
||
## 2. Open Source Citizenship | ||
A supplemental goal of this Code of Conduct is to increase open source citizenship by encouraging participants to recognise and strengthen the relationships between our actions and their effects on our community. | ||
Communities mirror the societies in which they exist and positive action is essential to counteract the many forms of inequality and abuses of power that exist in society. | ||
If you see someone who is making an extra effort to ensure our community is welcoming, friendly, and encourages all participants to contribute to the fullest extent, we want to know. | ||
|
||
## 3. Expected Behaviour | ||
The following behaviours are expected and requested of all community members: | ||
* To participate in an authentic and active way. In doing so, you contribute to the health and longevity of this community. | ||
* To exercise consideration and respect in your speech and actions. | ||
* To attempt collaboration before conflict. | ||
* To provide helpful contributions to an issue in order to encourage its progression | ||
* To be respectful of differing viewpoints and experiences | ||
* To gracefully accept constructive criticism | ||
* To respect the need to prioritise issues based on NV Access, user, and community priority | ||
* To be aware that GitHub is a public forum and refrain from publishing personal or sensitive information (your own or others). For example, carefully consider the contents of debug logs when publishing. | ||
* To refrain from demeaning, discriminatory, or harassing behaviour and speech. | ||
* To be mindful of your surroundings and of your fellow participants. Alert NV Access staff if you notice a dangerous situation, someone in distress, or violations of this Code of Conduct, even if they seem inconsequential. | ||
|
||
## 4. Unacceptable Behaviour | ||
The following behaviours are considered harassment and are unacceptable within our community: | ||
* Violence, threats of violence or violent language directed against another person. | ||
* Sexist, racist, homophobic, transphobic, ableist or otherwise discriminatory jokes and language. | ||
* Posting or displaying sexually explicit or violent material. | ||
* Posting or threatening to post other people's personally identifying information ("doxing"). | ||
* Trolling, insulting/derogatory comments, and personal or political attacks | ||
* Personal insults, particularly those related to gender, sexual orientation, race, religion, or disability. | ||
* Inappropriate photography or recording. | ||
* Unwelcome sexual attention. This includes sexualized comments or jokes, inappropriate touching, groping, and unwelcomed sexual advances. | ||
* Deliberate intimidation, stalking or following (online or in person). | ||
* Advocating for, or encouraging, any of the above behaviour. | ||
* Sustained disruption of community events, including talks and presentations. | ||
|
||
## 5. Consequences of Unacceptable Behaviour | ||
Unacceptable behaviour from any community member, including sponsors and those with decision-making authority, will not be tolerated. | ||
Anyone asked to stop unacceptable behaviour is expected to comply immediately. | ||
If a community member engages in unacceptable behaviour, NV Access Staff may take any action they deem appropriate, up to and including a temporary ban or permanent expulsion from the community without warning (and without refund in the case of a paid event). | ||
NV Access Staff have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviours that they deem inappropriate, threatening, offensive, or harmful. | ||
|
||
## 6. Reporting Guidelines | ||
If you are subject to or witness unacceptable behaviour, or have any other concerns, please notify NV Access staff as soon as possible via [email protected]. The information required for notifications includes PR/Issue Number, nature of breach, community member responsible, date and time of breach. Please note that the details of the reporter will not be disclosed, unless required to by law. | ||
|
||
## 7. Addressing Grievances | ||
If you feel you have been falsely or unfairly accused of violating this Code of Conduct, you should notify NV Access at [email protected] with a concise description of your grievance. | ||
|
||
## 8. Scope | ||
We expect all community participants (contributors, paid or otherwise; sponsors; and other guests) to abide by this Code of Conduct in all community venues--online and in-person--as well as in all one-on-one communications pertaining to community business. | ||
This code of conduct and its related procedures also applies to unacceptable behaviour occurring outside the scope of community activities when such behaviour has the potential to adversely affect the safety and well-being of community members. | ||
For others setting up or running an NVDA group of any kind, it is strongly recommended that a complementary Citizen and Contributor Code of Conduct is adopted. | ||
|
||
## 9. Contact info | ||
[email protected] | ||
|
||
## 10. License and attribution | ||
The Citizen and Contributor Code of Conduct is distributed by NV Access Limited. | ||
Portions of text were derived from the GitHub sample Citizen and Contributor Code of Conduct, which is distributed under a Creative Commons Attribution-ShareAlike license. | ||
|
||
Revision1.0 adopted by NV Access Limited on 2020-09-23 |
This file contains 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
Submodule liblouis
updated
49 files
This file contains 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# This file is covered by the GNU General Public License. | ||
# See the file COPYING for more details. | ||
# Copyright (C) 2020 NV Access Limited, Leonard de Ruijter | ||
|
||
""" | ||
Object overlay classes for Visual Studio components | ||
available in Visual Studio and SQL Server Management Studio. | ||
""" | ||
|
||
from . import UIA | ||
import speech | ||
import braille | ||
import api | ||
|
||
|
||
class IntelliSenseItem(UIA): | ||
|
||
def _get_name(self): | ||
return self.UIAElement.cachedAutomationID | ||
|
||
def event_UIA_elementSelected(self): | ||
# Cancel speech to have speech announce the selection as soon as possible. | ||
# This is needed because L{reportFocus} does not cancel speech. | ||
# Therefore, if speech wouldn't be cancelled, | ||
# selection announcements would queue up when changing selection rapidly. | ||
speech.cancelSpeech() | ||
api.setNavigatorObject(self, isFocus=True) | ||
self.reportFocus() | ||
# Display results as flash messages. | ||
braille.handler.message(braille.getPropertiesBraille( | ||
name=self.name, role=self.role, positionInfo=self.positionInfo, description=self.description | ||
)) | ||
|
||
|
||
class IntelliSenseList(UIA): | ||
... | ||
|
||
|
||
class IntelliSenseLiveRegion(UIA): | ||
""" | ||
Visual Studio uses both Intellisense menu item objects and a live region | ||
to communicate Intellisense selections. | ||
NVDA uses the menu item approach and therefore the live region provides doubled information | ||
and is disabled. | ||
""" | ||
|
||
_shouldAllowUIALiveRegionChangeEvent = False | ||
|
||
|
||
_INTELLISENSE_LIST_AUTOMATION_IDS = { | ||
"listBoxCompletions", | ||
"CompletionList" | ||
} | ||
|
||
|
||
def findExtraOverlayClasses(obj, clsList): | ||
if obj.UIAAutomationId in _INTELLISENSE_LIST_AUTOMATION_IDS: | ||
clsList.insert(0, IntelliSenseList) | ||
elif isinstance(obj.parent, IntelliSenseList) and obj.UIAElement.cachedClassName == "IntellisenseMenuItem": | ||
clsList.insert(0, IntelliSenseItem) | ||
elif ( | ||
obj.UIAElement.cachedClassName == "LiveTextBlock" | ||
and obj.previous | ||
and isinstance(obj.previous.previous, IntelliSenseList) | ||
): | ||
clsList.insert(0, IntelliSenseLiveRegion) |
This file contains 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 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
Oops, something went wrong.