dosbox-staging:teb/translation-utility

Last commit made on 2023-04-09
Get this branch:
git clone -b teb/translation-utility https://git.launchpad.net/dosbox-staging

Branch merges

Branch information

Name:
teb/translation-utility
Repository:
lp:dosbox-staging

Recent commits

6ddc7d0... by Thomas Eric <email address hidden>

Comment out parts of the code for testing

1218566... by Thomas Eric <email address hidden>

Replace shell with initial implementation of python

e7fb44f... by Thomas Eric <email address hidden>

Add shell script for character limit and line length control

This will be a useful tool for translators, as it calculates the
line limit excluding the characters between squared brackets.
If a line exceeds the character limit in the input file, it will print
the corresponding line and its number on the terminal, plus it will
create a line break on the newly generated output file.

5362bab... by dreamer_

Do not rely on OSTYPE in format-commit script

This script should be usable outside of CI machines.

2d302d6... by dreamer_

Reformat recent changes

e78407c... by dreamer_

Disable indenting preprocessor directives

In many cases we rely on ifdef statements to enable/disable a piece of
code for specific feature - thuse sometimes we have whole cpp files
guarded by feature check (because it's easiet to do it this way than
making buildsystem more complicated). In such cases clang-format decides
to push preprocessor directives (all includes (!)) by tab to right.

Disable this rule, let's keep existing style.

e1d2ff9... by dreamer_

Fix reformatting code when manually specifying commits

The code was written in a way to process files touched by commits since
specified commit, but then relied on "HEAD~1" string when detecting
ranges of modified lines. In result:

    ./format-commit.sh HEAD~3

Was re-formatting the newest commit and not detecting any changes in
older commits.

Bump version to 1.0.1

96fb0fc... by dreamer_

Add --version option to format-commit

2c490d3... by kcgen <email address hidden>

Lookup MT-32 ROMs using std::filesystem paths

2994774... by kcgen <email address hidden>

Lookup MT-32 models using std::filesystem paths