[liblouis-liblouisxml] [liblouis/liblouis] 595c8b: Unify emphasis opcodes

  • From: Bert Frees <bertfrees@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Tue, 22 Dec 2015 05:31:26 -0800

Branch: refs/heads/opcode-unification
Home: https://github.com/liblouis/liblouis
Commit: 595c8bd88bf65efd08a0f60b80a7415c1af5fd82

https://github.com/liblouis/liblouis/commit/595c8bd88bf65efd08a0f60b80a7415c1af5fd82
Author: Bert Frees <bertfrees@xxxxxxxxx>
Date: 2015-12-22 (Tue, 22 Dec 2015)

Changed paths:
M .gitignore
M configure.ac
M liblouis/compileTranslationTable.c
M liblouis/liblouis.h.in
M liblouis/louis.h
M tables/da-dk-common6.uti
M tables/da-dk-g18.utb
M tables/de-g0-core.uti
M tables/en-in-g1.ctb
M tables/en-ueb-g1.ctb
M tables/en-ueb-g1.ctb.bak
M tables/en-us-g1.ctb
M tables/en-us-g1.ctb.bak
M tables/en-us-interline.ctb
M tables/fi.utb
M tables/fr-bfu-comp6.utb
M tables/gr-bb.ctb
M tables/hu-hu-g1.ctb
M tables/ko-2006.cti
M tables/ko.cti
M tables/marburg.ctb
M tables/mn-MN.utb
M tables/nl-BE-g1.ctb
M tables/nl-BE-g1.ctb.bak
M tables/nl-NL-g1.ctb
M tables/nl-g0.utb
M tables/nl-old-g0.utb
M tables/no-no-g0.utb
M tables/ru-litbrl.ctb
M tables/ru-ru-g1.utb
M tables/sr-g1.ctb
M tables/ukmaths.ctb
M tests/Makefile.am
M tests/check_yaml.c
A tests/emphclass.c
M tests/tables/Makefile.am
A tests/tables/emphclass/Makefile.am
A tests/tables/emphclass/emphclass_invalid_1.utb
A tests/tables/emphclass/emphclass_invalid_2.utb
A tests/tables/emphclass/emphclass_valid.utb
M tests/tables/pass0_typebuf.ctb

Log Message:
-----------
Unify emphasis opcodes

as explained in https://github.com/liblouis/liblouis/issues/99

Note that the unification has been done completely on the level of
compilation. The result of the compilation step is exactly the same as
before and nothing has changed in the steps following compilation.

To do:
- Rename "ital", "bold", etc. to the generic "emph_1", "emph_2",
etc. everywhere in the code and API. Emphasis classes can be named
freely in the translation tables and the code and API should reflect
that.
- Remove an indirection (see comment in compileTranslationTable.c#L4144)


Other related posts: