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

Update Liblouis to version 3.5.0 #7839

Merged
merged 16 commits into from
Mar 28, 2018
Merged

Update Liblouis to version 3.5.0 #7839

merged 16 commits into from
Mar 28, 2018

Conversation

LeonarddeR
Copy link
Collaborator

@LeonarddeR LeonarddeR commented Dec 8, 2017

Link to issue number:

Supersedes #7822.
Follow-up of #7702
Closes #7301
Fixes #7693, and possibly other issues
Fixes #7526
Closes #7847

Description of this pull request:

First and foremost, this updates the Liblouis braille translator to version 3.5, which is the most recent version. This includes a new Lithuanian 8 dot table, a Mongolian grade 2 table and a Ukrainian table.

In #7702, we introduced a hidden config parameter to toggle the use of Liblouis multipass vs. pass1only. In that pr, pass1only was still enabled, although you could disable it by changing a hidden config parameter. E.g.:
import config; config.conf["braille"]["outputPass1Only"]=False

This pr removes this flag altogether, as pass1only has been removed from liblouis.

This also adds two unit tests for the brailleTables module:

  • A test to check whether all defined tables actually exist in the tables folder
  • A test whether all renamed tables are part of the list of defined tables

Testing performed

  • Tested both Lithuanian tables.
  • Tested the Ukrainian table.
  • Tested Mongolian grade 2.

Change log entry:

Leonard de Ruijter added 3 commits December 7, 2017 17:19
* Update liblouis to 3.4.0
* Add new Lithuanian 6 dot braille table and rename the existing Lithuanian table to Lithuanian 8 dot in the interface
@josephsl
Copy link
Collaborator

josephsl commented Dec 8, 2017 via email

@LeonarddeR
Copy link
Collaborator Author

@josephsl commented on 8 dec. 2017 08:22 CET:

Hi, let’s wait for 3.4.1 (next week) before incubating it. Thanks.

What is your source regarding this potential 3.4.1 release? There is no milestone for this release.

@josephsl
Copy link
Collaborator

josephsl commented Dec 12, 2017 via email

@LeonarddeR
Copy link
Collaborator Author

Here is the most recent update for the bugfix release (3.4.1).

@LeonarddeR LeonarddeR changed the title Update Liblouis to version 3.4 Update Liblouis to version 3.4.1 Feb 3, 2018
@LeonarddeR
Copy link
Collaborator Author

@josephsl: Curious to know your opinion about the current state of Liblouis. It seems that development is heavily delayed.

I don't think it is a good idea to force Liblouis 3.4.1 upon users of NVDA 2017.1. I could base this pr on Liblouis 3.4.1 pre 1, but I don't think that doesn't make any sense either.

@josephsl
Copy link
Collaborator

josephsl commented Feb 4, 2018 via email

@bertfrees
Copy link

The planned 3.4.1 release was cancelled because it's almost time for the next regular release (3 weeks). However it would still be useful if you guys could test the v3.4.1-pre1 tag.

@LeonarddeR LeonarddeR changed the title Update Liblouis to version 3.4.1 Update Liblouis to version 3.4.1Pre1 Feb 12, 2018
@LeonarddeR
Copy link
Collaborator Author

@bertfrees commented on 12 feb. 2018 12:27 CET:

The planned 3.4.1 release was cancelled because it's almost time for the next regular release (3 weeks). However it would still be useful if you guys could test the v3.4.1-pre1 tag.

I agree this could be beneficial.

@michaelDCurran: How about incubating this pr to allow some testing to be done, and than update the pr to 3.5 when that is out?

readme.md Outdated
@@ -62,7 +62,7 @@ For reference, the following dependencies are included in Git submodules:
* [Sonic](https://github.com/waywardgeek/sonic), commit 4f8c1d11
* [IAccessible2](http://www.linuxfoundation.org/collaborate/workgroups/accessibility/iaccessible2), version 1.3
* [ConfigObj](http://www.voidspace.org.uk/python/configobj.html), version 4.6.0
* [liblouis](http://www.liblouis.org/), version 3.3.0
* [liblouis](http://www.liblouis.org/), version 3.4.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want to update this to 3.4.1Pre1

@LeonarddeR
Copy link
Collaborator Author

Liblouis 3.5 will most certainly drop support for pass1only completely, see liblouis/liblouis#511. cc @BueVest

@michaelDCurran: with this in mind, we could consider removing the outputPass1Only what's new entry for 2018.1, since it probably will only survive that version. This proposal does not conflict with the translation freeze.

@LeonarddeR LeonarddeR changed the title Update Liblouis to version 3.4.1Pre1 Update Liblouis to version 3.5.0 Feb 28, 2018
@AAClause
Copy link
Contributor

AAClause commented Mar 5, 2018

@LeonarddeR The french tables 'fr-fr-g1.utb', 'fr-fr-g2.ctb', 'fr-ca-g1.utb' and 'fr-ca-g2.ctb' have been removed.
Could you remove the necessary in 'brailleTables.py'? Among others:

addTable("fr-ca-g1.utb", _("French (Canada) grade 1"))
addTable("Fr-Ca-g2.ctb", _("French (Canada) grade 2"), contracted=True)

Thanks

@LeonarddeR
Copy link
Collaborator Author

@michaelDCurran: This is now fully based on Liblouis 3.5, so your review would be greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment