105 Commits

Author SHA1 Message Date
454b02181e Remove translations from transpositions
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-12-17 14:36:55 +01:00
0b68cdedda Add non-PUA ZRCola translations to ZRCola to Unicode translation
This allows ZRCola to Unicode translation to use precomposed Unicode
characters and provide better coverage for ZRCola to Unicode
translation.

Signed-off-by: Simon Rozman <simon@rozman.si>
2021-12-13 14:37:59 +01:00
ce76950b2d Redirect output files to the output folder
Thou linker can locate the output .lib file of referenced projects
wherever .lib is just fine, this helps us to gather all .pdb files in
the output folder.

Signed-off-by: Simon Rozman <simon@rozman.si>
2021-12-01 08:49:10 +01:00
0d112cd90b Switch to SPDX license notice
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-12-01 08:48:49 +01:00
e930d96090 Cleanup project files
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-12-01 08:48:49 +01:00
f6b3b4568a Move revised ZRCola=>Unicode transliteration into the database
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-18 12:05:39 +01:00
1a8884fcab Unify Windows.h inclusion
Windows.h must be included first and must be included with care
regarding WinSock.h and WinSock2.h affair.

Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-15 11:54:32 +01:00
e43a5a0ef0 Add support for ZRCola Composed to Unicode transliteration
The initial support compares characters in ZRCola font Private-Use-Area
to the characters obtained using Unicode combining characters. Those
which match sufficiently are arranged into a new transliteration.

As the ZRCola Composed to Unicode transliteration requires to be applied
_after_ ZRCola composition but UI applies additional transliterations
_before_ ZRCola composition, the ZRCola composition was reintroduced as
one of the transliterations. This allows configuring a custom
transliteration sequence.

Signed-off-by: Simon Rozman <simon@rozman.si>
2021-04-02 15:39:24 +02:00
f3bb513545 Cleanup
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-03-30 12:03:29 +02:00
12c2889ea3 Copyright: Bump year
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-03-25 08:36:00 +01:00
c7e29b1862 Add UTF-8 BOM markers
MSVC needs them to use correct charset when Language for non-Unicode
programs is set to Windows-1252 or anything different than UTF-8.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-11-19 10:59:54 +01:00
ebdbb84a29 Enable recommended code analysis and address warnings
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-13 13:18:11 +01:00
b3702ed237 Extend copyright year
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-11 15:38:57 +01:00
0800f813ff Rename stdafx.h to pch.h
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-10 14:10:29 +01:00
8f1b412c1f Switch to Visual Studio 2019
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-06-19 11:51:33 +02:00
893dbf5783 Update year to 2019
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-04-01 14:50:04 +02:00
5e751eb23e Make (de)composition a separate translation set 2018-09-18 11:23:30 +02:00
e86847f364 Introduce preliminary ARM64 support 2018-09-10 09:41:50 +02:00
ddae64ca6d Extend copyright year 2018-09-07 23:57:59 +02:00
bc48240e0a Upgrade to Visual Studio 2017 and wxWidgets 3.1.2 static 2018-09-07 23:41:58 +02:00
dcabe36369 Remove MFC dependency 2018-09-07 19:40:28 +02:00
4b59582568 Add missing #include <algorithm> 2018-09-07 19:37:22 +02:00
59d06ae3dc Make explicit int to unsigned __int6 conversion 2018-09-07 19:36:10 +02:00
3831012af9 Distinguish variables with same names
...to resolve C4457 warnings.
2018-09-07 19:32:54 +02:00
9ca82f02f8 Decomposition (inverse-translation) fixed 2017-07-13 14:50:27 +02:00
a66128b8ca Incorrect data type fixed 2017-06-01 19:59:09 +02:00
d9527fe70f Predefined translation sequences added to ZRCola.zrcdb database 2017-06-01 13:28:18 +02:00
84fa35c9be Clean-up 2017-05-10 09:44:06 +02:00
b7bef14746 Copyright extended to 2017 2017-04-18 14:05:45 +02:00
6dff6eed4f Translation set database and other translation sets added 2017-03-30 13:08:20 +02:00
acbae76737 Clean-up 2017-03-30 10:57:31 +02:00
cc4a150501 Translation set ID data-type introduced 2017-03-30 10:23:08 +02:00
186dbee443 Multiple translation sets support 2017-03-30 09:49:22 +02:00
716dde0a84 Clean-up 2017-03-29 09:46:33 +02:00
155642a3f9 "Composition" and "Decomposition" renamed to more general terms "Translation" and "Inverse translation" to extend its use for transliteration 2017-03-27 14:10:43 +02:00
87a2828ce0 Translation rank split to composed and decomposed character rank allowing asymmetric ranking 2017-03-27 12:39:36 +02:00
806aa550a5 Characters are represented as UTF-16 sequences instead of a single UTF-16 character 2017-03-21 09:09:07 +01:00
ca306345c2 Composed and decomposed strings of the ZRCola::translation_db::translation protected 2017-03-16 10:21:29 +01:00
03ff056898 ZRCola::translation_db::translation::com_start marked as const now 2017-03-16 09:44:43 +01:00
9f083bb521 Character-Language table extended to support multi-UTF-16 characters 2017-03-14 14:14:39 +01:00
a224454b3c ZRCola::translation::CompareString() >> ZRCola::CompareString() 2017-03-14 13:23:20 +01:00
bd0fdba435 Composed characters extended to support multiple UTF-16 character 2017-03-14 12:54:46 +01:00
87814981db ZRCola::translation_db::Compose fixed to honor inputMax==-1 correctly 2017-03-14 10:51:56 +01:00
d46557a367 CompareString() flags simplified to work on Windows XP 2016-10-13 12:55:44 +02:00
4ce3213b1a Searching by character tags honors category selection now 2016-10-13 12:30:55 +02:00
0ed0cf8c49 Support for searchable character tags added 2016-10-13 11:13:46 +02:00
affe7b06a2 Code clean-up 2016-10-13 09:01:23 +02:00
f51c4dbbec ZRCola::tagname_db::Search() added 2016-10-12 18:45:59 +02:00
650ad13a30 lang >> locale 2016-10-12 18:40:07 +02:00
f53779dbad Character tagging support added 2016-10-12 14:30:24 +02:00