Skip to content

Update Liblouis to version 3.5.0#7839

Merged
michaelDCurran merged 16 commits into
nvaccess:masterfrom
BabbageCom:liblouis3.4
Mar 28, 2018
Merged

Update Liblouis to version 3.5.0#7839
michaelDCurran merged 16 commits into
nvaccess:masterfrom
BabbageCom:liblouis3.4

Conversation

@LeonarddeR

@LeonarddeR LeonarddeR commented Dec 8, 2017

Copy link
Copy Markdown
Collaborator

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

josephsl commented Dec 8, 2017 via email

Copy link
Copy Markdown
Contributor

@LeonarddeR

Copy link
Copy Markdown
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

josephsl commented Dec 12, 2017 via email

Copy link
Copy Markdown
Contributor

@LeonarddeR

Copy link
Copy Markdown
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
Copy Markdown
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

josephsl commented Feb 4, 2018 via email

Copy link
Copy Markdown
Contributor

@bertfrees

Copy link
Copy Markdown

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
Copy Markdown
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?

Comment thread readme.md Outdated
* [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
Copy Markdown
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
Copy Markdown
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

AAClause commented Mar 5, 2018

Copy link
Copy Markdown
Contributor

@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
Copy Markdown
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

Projects

None yet

7 participants