e61b67df9f
Bump Copyright year
...
Signed-off-by: Simon Rozman <simon.rozman@amebis.si >
2026-01-05 11:52:28 +01:00
e6ea4a2742
Order blocks by Unicode location
...
Signed-off-by: Simon Rozman <simon.rozman@amebis.si >
2025-12-03 12:49:19 +01:00
Simon Rozman
e8f39da602
Replace Unicode character categories with blocks
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2025-11-14 16:25:49 +01:00
Simon Rozman
1ba71443f5
Add support for Unicode character blocks
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2025-11-14 11:59:43 +01:00
Simon Rozman
668396803a
Simplify C++
2025-11-12 10:13:40 +01:00
Simon Rozman
a11c4bc79a
Make character category data reusable
...
This shall assist adding/replacing it with Unicode character blocks.
Signed-off-by: Simon Rozman <simon@rozman.si >
2025-11-12 08:43:24 +01:00
Simon Rozman
0cf4a755fd
Fix C++ undefined behavior
...
It broke in recent VS. Must not dereference std::string::end() iterator,
as this is undefined.
Signed-off-by: Simon Rozman <simon@rozman.si >
2025-08-11 17:10:28 +02:00
Simon Rozman
82906899de
Make mapping reusable
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2024-04-25 15:16:15 +02:00
Simon Rozman
ad07539cb6
Fix to compile for Linux
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2023-11-08 13:50:01 +01:00
Simon Rozman
0daae5af37
Update submodules
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2023-11-07 19:27:30 +01:00
Simon Rozman
7d866b183b
Update submodules
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2023-03-15 22:19:56 +01:00
Simon Rozman
a05e62f1d3
libZRCola: Add some SAL annotations
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2022-09-16 14:53:25 +02:00
Simon Rozman
ca3239f0ff
libZRCola: Fix typo
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2022-09-16 02:57:52 +02:00
Simon Rozman
a6f0357ad8
libZRCola: Cleanup
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2022-09-15 18:17:37 +02:00
Simon Rozman
35eb472e6b
Backport gcc changes to MSVC
...
wchar_t is not char16_t on MSVC, requiring a lot of typecasting when
interfacing ZRCola database strings with GUI.
Signed-off-by: Simon Rozman <simon@rozman.si >
2022-09-15 15:33:08 +02:00
Simon Rozman
ba4ff3cd42
libZRCola: Add test
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2022-09-15 14:36:44 +02:00
Simon Rozman
9709cc2845
libZRCola: Make UTF-16 explicit
...
ZRCola is using UTF-16LE strings internally (thanks to Windows).
However, wchar_t and std::wstring are UTF-32 on other platforms.
Signed-off-by: Simon Rozman <simon@rozman.si >
2022-09-15 14:36:44 +02:00
Simon Rozman
9a307978b5
libZRCola: Include stdex/idrec.h only after << and >> are overloaded
...
gcc precompiles templates. When << and >> operators of our datatypes are
not overloaded at the time <stdex/idrec.h> is #included yet, gcc will
seek/look for currently available << and >> operators when reaching
std::ostream and std::istream templates.
Signed-off-by: Simon Rozman <simon@rozman.si >
2022-09-15 14:36:44 +02:00
Simon Rozman
bd01e250b2
libZRCola: Add standard default "all" make target
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2022-09-15 14:36:44 +02:00
Simon Rozman
8bb1049cf0
libZRCola: Resolve some warnings reported by -Wall
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2022-09-15 14:36:44 +02:00
Simon Rozman
823390d28b
libZRCola: Make parts of the gcc building reusable
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2022-09-15 14:36:44 +02:00
Simon Rozman
eedab7da56
libZRCola: Initial stab at compiling with gcc
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2022-09-15 14:36:44 +02:00
Simon Rozman
63fda12c99
Switch integer datatypes to C99
...
This makes code more portable.
Signed-off-by: Simon Rozman <simon@rozman.si >
2022-09-15 14:36:44 +02:00
Simon Rozman
0bfa44e6bb
stdex: Update
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2022-03-07 11:43:53 +01:00
Simon Rozman
7ea4072724
stdex: Update
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2022-02-03 13:48:16 +01:00
Simon Rozman
47d3884af3
Update Copyright and build year
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2022-01-07 11:38:32 +01:00
Simon Rozman
7fb29aed80
Introduce bad ZRCola Unicode Composition highlighting
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2021-12-21 14:21:28 +01:00
Simon Rozman
6c3b2635f4
Finish ZRCola » Unicode (de)composition
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2021-12-20 20:23:36 +01:00
Simon Rozman
454b02181e
Remove translations from transpositions
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2021-12-17 14:36:55 +01:00
Simon Rozman
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
Simon Rozman
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
Simon Rozman
0d112cd90b
Switch to SPDX license notice
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2021-12-01 08:48:49 +01:00
Simon Rozman
e930d96090
Cleanup project files
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2021-12-01 08:48:49 +01:00
Simon Rozman
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
Simon Rozman
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
Simon Rozman
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
Simon Rozman
f3bb513545
Cleanup
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2021-03-30 12:03:29 +02:00
Simon Rozman
12c2889ea3
Copyright: Bump year
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2021-03-25 08:36:00 +01:00
Simon Rozman
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
Simon Rozman
ebdbb84a29
Enable recommended code analysis and address warnings
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2020-02-13 13:18:11 +01:00
Simon Rozman
b3702ed237
Extend copyright year
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2020-02-11 15:38:57 +01:00
Simon Rozman
0800f813ff
Rename stdafx.h to pch.h
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2020-02-10 14:10:29 +01:00
Simon Rozman
8f1b412c1f
Switch to Visual Studio 2019
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2019-06-19 11:51:33 +02:00
Simon Rozman
893dbf5783
Update year to 2019
...
Signed-off-by: Simon Rozman <simon@rozman.si >
2019-04-01 14:50:04 +02:00
Simon Rozman
5e751eb23e
Make (de)composition a separate translation set
2018-09-18 11:23:30 +02:00
Simon Rozman
e86847f364
Introduce preliminary ARM64 support
2018-09-10 09:41:50 +02:00
Simon Rozman
ddae64ca6d
Extend copyright year
2018-09-07 23:57:59 +02:00
Simon Rozman
bc48240e0a
Upgrade to Visual Studio 2017 and wxWidgets 3.1.2 static
2018-09-07 23:41:58 +02:00
Simon Rozman
dcabe36369
Remove MFC dependency
2018-09-07 19:40:28 +02:00
Simon Rozman
4b59582568
Add missing #include <algorithm>
2018-09-07 19:37:22 +02:00