Age | Commit message (Collapse) | Author |
|
In case a character was encoded in multiple bytes, but required fewer bytes to be encoded, the first byte would be copied to the output leaving an invalid Utf8 encoded string. Later uses of the validated string would use the same decode logic, which would yield a question mark and just read a single byte, so nothing dangerous happened.
Furthermore, because the next byte would not be a first byte of an encoded Utf8 character, the last few valid characters could be removed by the validation as well.
|
|
|
|
|
|
|
|
|
|
A symbol clash breaks building ICU on macOS, and although it isn't
necessary, it might as well be possible.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
std::vector::[push|emplace]_back()
|
|
|
|
|
|
By naming it in a different way, things get a bit confusing.
Especially if we are switching to CMake, which autodetects these
things, we need to use the name the authors of ICU gave it; not
our interpertation of that name.
|
|
macro _WIN32
|
|
|
|
|
|
|
|
|
|
This removes the need for the ICU lib on Windows.
|
|
|
|
|
|
they are split into separate libraries it becomes possible to split RTL support for natural sorting, although the effect will be minimal
|
|
ICU (lx) or the sorting/collation part of ICU (i18n)
|
|
spaces)
|
|
|
|
|
|
|
|
strecpy and strecat; give end pointer instead of a size
|
|
and strecat.
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
|
|
case of leading or trailing whitespace
|
|
initialised
|
|
other sorting 'improving' characters
|
|
|
|
|
|
before they were shown, causing an assertion to trigger
|
|
upper limit.
|
|
than default fonts, so get rid of it
|
|
NewGRF list as for the server list.
|
|
Eagle_rainbow)
|
|
StringControlCode enum since it's value is not allowed to change
|
|
|
|
and safe/load (Rubidium)
|
|
|
|
again if strtolower actually changed the name.
|