Skip to content

Update comtypes package to 1.1.3#7831

Merged
michaelDCurran merged 2 commits into
masterfrom
comtypesUpdate
Dec 20, 2017
Merged

Update comtypes package to 1.1.3#7831
michaelDCurran merged 2 commits into
masterfrom
comtypesUpdate

Conversation

@michaelDCurran

Copy link
Copy Markdown
Member

Link to issue number:

None

Summary of the issue:

The version of comtypes we currently use in NVDA (0.6.2) is extremely old. There have been quite a few fixes in later versions. Some of which speechRefactor depends on.

Description of how this pull request fixes the issue:

This pr contains the 2 commits cherry picked from speechRefactor which update comtypes to 1.1.3, including it as a git submodule.
The update of comtypes is separate enough from speechRefactor that it can be taken separately, plus although we don't believe this should cause many breaking changes, it is best that this is tested as early as possible. Also, once this is in Master, working on speechRefactor will become that little bit easier as comInterfaces won't have to be constantly removed and re-built.

Testing performed:

Ran NVDA. Switched to sapi5 synth. Opened and read a document in Microsoft Word.

Known issues with pull request:

Just a note that the old comtypes will eventually have to be removed from miscDeps.
Once this goes into master, we can remove comtypes, scons and probably the old Handytech braille driver from miscDeps all in one go to reduce overhead of miscDeps changes.

Change log entry:

None

This will be necessary to handle events from SAPI 5 once we have speechRefactor, as one of the parameters is a decimal which is not supported by our existing (very outdated) version of comtypes .
comtypes has now been added as a separate git submodule.
@josephsl

josephsl commented Dec 5, 2017 via email

Copy link
Copy Markdown
Contributor

michaelDCurran added a commit that referenced this pull request Dec 6, 2017
@LeonarddeR

Copy link
Copy Markdown
Collaborator

May be mention the update to the newer comtypes in the changes for developers?

@michaelDCurran michaelDCurran merged commit 3859ef5 into master Dec 20, 2017
@nvaccessAuto nvaccessAuto added this to the 2018.1 milestone Dec 20, 2017
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.

6 participants