Age | Commit message (Collapse) | Author |
|
Problem: is*() and to*() function may be unsafe
Solution: Add SAFE_* macros and start using those instead
(Keith Thompson)
Use SAFE_() macros for is*() and to*() functions
The standard is*() and to*() functions declared in <ctype.h> have
undefined behavior for negative arguments other than EOF. If plain char
is signed, passing an unchecked value from argv for from user input
to one of these functions has undefined behavior.
Solution: Add SAFE_*() macros that cast the argument to unsigned char.
Most implementations behave sanely for negative arguments, and most
character values in practice are non-negative, but it's still best
to avoid undefined behavior.
The change from #13347 has been omitted, as this has already been
separately fixed in commit ac709e2fc0db6d31abb7da96f743c40956b60c3a
(v9.0.2054)
fixes: #13332
closes: #13347
Signed-off-by: Keith Thompson <Keith.S.Thompson@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
|
|
Problem: Spacing-combining characters handled as composing, causing text to
take more space than expected.
Solution: Handle characters marked with "Mc" not as composing.
(closes #11282
|
|
Problem: Unicode tables are outdated.
Solution: Update to Unicode release 15. (Christian Brabandt, closes #11220)
|
|
|
|
|
|
|
|
Problem: Unicode tables are slightly outdated.
Solution: Update the tables for Unicode release 13. (Christian Brabandt
closes #8430)
|
|
|
|
|
|
Problem: The user cannot try out emoji character widths.
Solution: Move the emoji script to the runtime/tools directory.
|
|
Problem: Printf formats are not exactly right.
Solution: Adjust signed/unsigned conversions. (Frazer Clews, closes #5456)
|
|
Problem: OS/2 and MS-DOS are still mentioned, even though support was
removed long ago.
Solution: Update documentation. (Yegappan Lakshmanan, closes #5368)
|
|
|
|
|
|
|
|
|
|
|
|
Problem: Unicode information is outdated.
Solution: Update to Unicode 10. (Christian Brabandt)
|
|
|
|
|
|
|
|
Problem: Handling emoji characters as full width has problems with
backwards compatibility.
Solution: Only put characters in the 1f000 range in the emoji table.
|
|
Problem: Handling emoji characters as full width has problems with
backwards compatibility.
Solution: Remove ambiguous and double width characters from the emoji table.
Use a separate table for the character class.
(partly by Yasuhiro Matsumoto)
|
|
|
|
Problem: Although emoji characters are ambiguous width, best is to treat
them as full width.
Solution: Update the Unicode character tables. Add the 'emoji' options.
(Yasuhiro Matsumoto)
|
|
|
|
Problem: The channel functions don't sort together.
Solution: Use a common "ch_" prefix.
|
|
Problem: Demo server only runs with Python 2.
Solution: Make it run with Python 3 as well. (Ken Takata)
|
|
Problem: Still a few old style function declarations.
Solution: Make them new style. (Hirohito Higashi)
|
|
Problem: Missing change in configure. More changes for function style.
Solution: Avoid the typos.
|
|
Problem: Using old style function declarations.
Solution: Change to new style function declarations. (script by Hirohito
Higashi)
|
|
Problem: Still using __ARGS.
Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
|
|
Problem: The channel feature isn't working yet.
Solution: Add the connect(), disconnect(), sendexpr() and sendraw()
functions. Add initial documentation. Add a demo server.
|
|
Problem: Unicode 8.0 not supported.
Solution: Update tables for Unicode 8.0. Avoid E36 when running the script.
(James McCoy)
|
|
|
|
Problem: Typos in source files.
Solution: Fix the typos. (Ken Takata)
|
|
|
|
Problem: Unicode double-width characters are not up-to date.
Solution: Produce the double-width table like the others.
|
|
Problem: Tables for Unicode case operators are outdated.
Solution: Add a Vim script for generating the tables. Include tables for
Unicode 5.2.
|
|
|
|
|
|
|
|
|
|
|