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

  • From: Christian Egli <christian.egli@xxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 13 Jan 2016 06:43:22 -0800

Branch: refs/heads/feature/ueb_update
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)


Commit: 1e6265afe7127cfb61a96893890bb65530fb095f

https://github.com/liblouis/liblouis/commit/1e6265afe7127cfb61a96893890bb65530fb095f
Author: Bert Frees <bertfrees@xxxxxxxxx>
Date: 2016-01-05 (Tue, 05 Jan 2016)

Changed paths:
M liblouis/compileTranslationTable.c

Log Message:
-----------
fixup


Commit: b02b171f4a7df9d15eb7c98aa2d68c9bd0e036ec

https://github.com/liblouis/liblouis/commit/b02b171f4a7df9d15eb7c98aa2d68c9bd0e036ec
Author: Bert Frees <bertfrees@xxxxxxxxx>
Date: 2016-01-05 (Tue, 05 Jan 2016)

Changed paths:
M liblouis/compileTranslationTable.c
M liblouis/louis.h
M tests/check_yaml.c
M tests/emphclass.c

Log Message:
-----------
Store emphClasses inside translation table

so that getEmphClasses can be called for a table that was not the last
to be compiled.

Also move MAX_EMPH_CLASSES to louis.h so that it can be used from
check_yaml.c


Commit: de655beb31cac050f9d04320ab26db5afe2838b9

https://github.com/liblouis/liblouis/commit/de655beb31cac050f9d04320ab26db5afe2838b9
Author: Christian Egli <christian.egli@xxxxxx>
Date: 2016-01-13 (Wed, 13 Jan 2016)

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
M tests/yaml/en-ueb-10-07-contractions.yaml

Log Message:
-----------
Merge remote-tracking branch 'origin/opcode-unification' into
feature/ueb_update


Compare:
https://github.com/liblouis/liblouis/compare/6d10c38fd2e2...de655beb31ca

Other related posts: