Re: [PATCH] Fix Cyrillic keyboard map files

2020-09-17 Thread Jürgen Spitzmüller
Am Donnerstag, den 17.09.2020, 15:58 +0300 schrieb Yuriy Skalko: > > I guess this also replaces files with those names (modified copies) > in > > the user directory or in custom paths. Only references to the map > files > > shipped with LyX should be replaced. > > Really. Quotes should be included

Re: [PATCH] Fix Cyrillic keyboard map files

2020-09-17 Thread Yuriy Skalko
> I guess this also replaces files with those names (modified copies) in > the user directory or in custom paths. Only references to the map files > shipped with LyX should be replaced. Really. Quotes should be included too. Yuriy From 64313f756c3bf848d3709e756b773fa8acd0ceda Mon Sep 17 00:00:00

Re: [PATCH] Fix Cyrillic keyboard map files

2020-09-17 Thread Jürgen Spitzmüller
Am Donnerstag, den 17.09.2020, 15:35 +0300 schrieb Yuriy Skalko: > +def rename_cyrillic_kmap_files(line): > + line = line.lower() > + if not (line.startswith("\\kbmap_primary ") > + or line.startswith("\\kbmap_secondary ")): > + return no_match > +

Re: [PATCH] Fix Cyrillic keyboard map files

2020-09-17 Thread Yuriy Skalko
> Since the map file names changed, I wonder whether this doesn't need a > pref format update and prefs2prefs handling. > > For instance, should people's preferences, if they have have koi8- > r.kmap selected in preferences be updated to point to russian.kmap? > > Jürgen Here is the patch. Yuri

Re: [PATCH] Fix Cyrillic keyboard map files

2020-09-17 Thread Jürgen Spitzmüller
Am Mittwoch, den 16.09.2020, 11:52 +0300 schrieb Yuriy Skalko: > Hello, > > I've fixed *.kmap files for Cyrillic languages: removed encoding from > file names (since they are in utf-8 now), added and updated some > definitions. Since the map file names changed, I wonder whether this doesn't need

Re: [PATCH] Fix Cyrillic keyboard map files

2020-09-16 Thread Jürgen Spitzmüller
Am Donnerstag, den 17.09.2020, 07:50 +0200 schrieb Jürgen Spitzmüller: > Thanks, Yuriy. Committed. And Makefile.am fix amended, at 6ad1c359fcd. Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailm

Re: [PATCH] Fix Cyrillic keyboard map files

2020-09-16 Thread Jürgen Spitzmüller
Am Mittwoch, den 16.09.2020, 11:52 +0300 schrieb Yuriy Skalko: > Hello, > > I've fixed *.kmap files for Cyrillic languages: removed encoding from > file names (since they are in utf-8 now), added and updated some > definitions. Thanks, Yuriy. Committed. Jürgen > > Yuriy signature.asc Descrip

[PATCH] Fix Cyrillic keyboard map files

2020-09-16 Thread Yuriy Skalko
+0300 Subject: [PATCH] Fix Cyrillic keyboard map files --- lib/kbd/{bg-bds-1251.kmap => bulgarian.kmap} | 2 +- lib/kbd/{koi8-r.kmap => russian.kmap}| 33 +++- lib/kbd/{koi8-u.kmap => ukrainian.kmap} | 2 +- 3 files changed, 20 insertions(+), 17 deletions(-) rena