summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Object/Object.cpp
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2014-08-17 19:54:21 +0000
committerse <se@FreeBSD.org>2014-08-17 19:54:21 +0000
commitdb469b69e412ec2857998b56d5a1cf6e2070ca05 (patch)
treeb9d606ea32d6ee52482a4769dd07c25ef31e6c47 /contrib/llvm/lib/Object/Object.cpp
parent6b7a8c6dec2e04aeff9ee30f019a90aad67f3b8d (diff)
downloadFreeBSD-src-db469b69e412ec2857998b56d5a1cf6e2070ca05.zip
FreeBSD-src-db469b69e412ec2857998b56d5a1cf6e2070ca05.tar.gz
Attempt at converting the SYSCONS keymaps to Unicode for use with NEWCONS.
I have spent many hours comparing source and destination formats, and hope to have caught the most severe conversion errors. Files were converted with a Perl script which I'll shortly commit to the tools directory. This script is a much enhanced version of the one provided by ray@ and is expected to support the full kbdmap(5) syntax. The naming convention used is: <2-letter country code>.<variant>.kbd Only if there are multiple layouts for different languages: <2-letter country code>-<2-letter language code>.<variant>.kbd In nearly all cases, the keyboards are country specific, only. Currently there is only one case where the language was added ("ch-fr.kbd" for the Swiss-French keyboard layout). I choose to write Unicode character codes as hex numbers. While this increases the diff to the SYSCONS keymap files for the trivial cases (conversion from ISO8859-1), it really helps to verify the more complex cases against a Unicode table (which is indexed by hex numbers). This commit does not cover all files that have been converted, since I need to sort out which ones to use, if there were several with different source encodings to choose from. Review and test of the keymap files is highly desirable before 10.1 is released. I'd also appreciate educated opinions regarding the optimum variant (to be made available as the default for each language). Since there are no NEWCONS keymaps in 10-STABLE, I plan to MFC after the minimum allowed delay of 3 days, to allow at least a few weeks to test and improve what will be in the next release. MFC after: 3 days
Diffstat (limited to 'contrib/llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud