Update liblouis to commit 58d67e63#10168
Conversation
|
I believe this PR fixes #10094 |
|
Good catch, thanks @lukaszgo1 |
|
Hi!
Can you see which commit gives us the improvements to polish tables, grade 1 or 2?
From: Leonard de Ruijter <notifications@github.com>
Sent: Friday, September 6, 2019 1:51 PM
To: nvaccess/nvda <nvda@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: [nvaccess/nvda] Update liblouis to commit 58d67e63 (#10168)
Link to issue number:
None
Summary of the issue:
The python 3 transition caused a regression for liblouis, printing unicode surrogate characters like \ud83d cause an UnicodeEncodeError, You can easily trigger this issue by reading the following line:
�
Description of how this pull request fixes the issue:
Updates liblouis to a commit that has a fix for this. This is a commit post 3.10, also applying the following fixes:
* Don't let a caps passage end on a word with no letters
* Handle word resets in the last word of an caps or emphasis passage if the end indicator was placed before the word- Never convert to lowercase if capsletter is not defined
* Fix position mapping for back-translation when noUndefinedDots mode is active
* Fix an issue with ordinal numbers inside caps passages in Dutch braille
* Improved back-translation for Mongolian
Testing performed:
Tested the case above, the issue does no longer occur and liblouis prints the hexadecimal representation of the surrogate character, as expected.
Known issues with pull request:
This does not update to liblouis 3.11, see #10161 <#10161>
Change log entry:
* Changes
* Updated Liblouis braille translator to commit 58d67e63
…_____
You can view, comment on, or merge this pull request online at:
#10168
Commit Summary
* Update liblouis to commit 58d67e63
File Changes
* M include/liblouis <https://github.com/nvaccess/nvda/pull/10168/files#diff-0> (2)
* M readme.md <https://github.com/nvaccess/nvda/pull/10168/files#diff-1> (2)
Patch Links:
* https://github.com/nvaccess/nvda/pull/10168.patch
* https://github.com/nvaccess/nvda/pull/10168.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#10168?email_source=notifications&email_token=ACVCDE76GCUHA5DRUAMI773QII73BA5CNFSM4IUIEY22YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HJZFFCA> , or mute the thread <https://github.com/notifications/unsubscribe-auth/ACVCDE66JX4XZ2RN3MBXOPTQII73BANCNFSM4IUIEY2Q> . <https://github.com/notifications/beacon/ACVCDEZFZSYQNI6ITMLGEX3QII73BA5CNFSM4IUIEY22YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HJZFFCA.gif>
|
This comment has been minimized.
This comment has been minimized.
|
@LeonarddeR can you do that?
From: Leonard de Ruijter <notifications@github.com>
Sent: Friday, September 6, 2019 2:56 PM
To: nvaccess/nvda <nvda@noreply.github.com>
Cc: zstanecic <zvonimirek222@yandex.com>; Comment <comment@noreply.github.com>
Subject: Re: [nvaccess/nvda] Update liblouis to commit 58d67e63 (#10168)
This is c870f23c63dc3a2eed9e025d3bbf63de175f00cb
I actually discovered that we could also go to 146c0757b91c186742922b8e0f4e2f8f4a8350cc, which is the last merge commit before the MSVC incompatible code was merged. That will include the changes to Polish and will also fix the double underscores bug.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#10168?email_source=notifications&email_token=ACVCDE6DKCXLSGAMRF3POYTQIJHMPA5CNFSM4IUIEY22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6CYESA#issuecomment-528843336> , or mute the thread <https://github.com/notifications/unsubscribe-auth/ACVCDE5UN5RGXRXEGEM2YELQIJHMPANCNFSM4IUIEY2Q> . <https://github.com/notifications/beacon/ACVCDE6CHWDAJAF3XPSGWFLQIJHMPA5CNFSM4IUIEY22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6CYESA.gif>
|
|
This is c870f23c63dc3a2eed9e025d3bbf63de175f00cb I will see what I can do to have these changes included. |
|
Unfortunately, there is no point in the liblouis history where both the polish changes and the python wrapper changes can be build as part of NVDA. The only way would be using a fork of liblouis, but I don't see a real need for that at the moment. |
Ugh, I was wrong there, I'm sorry for creating wrong expectations here. |
|
So i am against any compromises.
We should go with the big dependency change, no matter how it is big, as it fixe salso accessibility, as well as security issues in Ll.
I don’t know what others say, but we should keep improvements going, even if it is a small table improvement for output/imput.
The real showstopper question is: what forces us to stay on MSVC 2017 and not switch to 2019 completely which fixes the c99 with clang dependency?
Yes, the local building environments, but this is the problem of the developer itself. He needs to maintain his development env up to date.
That’s just my opinion…
From: Leonard de Ruijter <notifications@github.com>
Sent: Friday, September 6, 2019 3:20 PM
To: nvaccess/nvda <nvda@noreply.github.com>
Cc: zstanecic <zvonimirek222@yandex.com>; Comment <comment@noreply.github.com>
Subject: Re: [nvaccess/nvda] Update liblouis to commit 58d67e63 (#10168)
I actually discovered that we could also go to 146c0757b91c186742922b8e0f4e2f8f4a8350cc, which is the last merge commit before the MSVC incompatible code was merged. That will include the changes to Polish and will also fix the double underscores bug.
Ugh, I was wrong there, I'm sorry for creating wrong expectations here.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#10168?email_source=notifications&email_token=ACVCDE6U2523KPTGDD36GP3QIJKI3A5CNFSM4IUIEY22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6C2FCA#issuecomment-528851592> , or mute the thread <https://github.com/notifications/unsubscribe-auth/ACVCDEZO4CGWMOOZFSHWXHDQIJKI3ANCNFSM4IUIEY2Q> . <https://github.com/notifications/beacon/ACVCDE3DYM4JXN6QPGWJQS3QIJKI3A5CNFSM4IUIEY22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6C2FCA.gif>
|
|
@LeonarddeR What is the state of this pr exactly? Did you settle on an exact commit? |
|
I settled on the commit in the description and title of the pr. I think
it is ready to be reviewed/merged if we agree that this is the right way
to go, i.e. stick with 3.10 with patches instead of going the liblouis
3.11 with vs2019 and clang route.
|
|
Do you have a branch or draft pr based on your vs 2019 work with Liblouis being successfully built with clang? It owuld be good to know that this is definitely technically possible within NVDA's infrastructure. If not, then we'll go with this pr. |
|
@LeonarddeR is #10275 not including this commit already? |
|
@feerrenrut and I have decided that we do not want to take the risk of updating to VS 2019 for 2019.3. Therefore, we will most likely take this pr. |
Link to issue number:
Fixes #10094
Summary of the issue:
The python 3 transition caused a regression for liblouis, printing unicode surrogate characters like \ud83d cause an UnicodeEncodeError.
Description of how this pull request fixes the issue:
Updates liblouis to a commit that has a fix for this. This is a commit post 3.10, also applying the following fixes:
Testing performed:
Tested that liblouis prints the hexadecimal representation of a surrogate character, when printed to a python console.
Known issues with pull request:
This does not update to liblouis 3.11, see #10161
Change log entry: