summaryrefslogtreecommitdiff
path: root/src/string.cpp
AgeCommit message (Collapse)Author
2018-06-06Change: [Win32] Use Uniscribe instead of ICU for text caret handling.Michael Lutz
This removes the need for the ICU lib on Windows.
2018-06-06Add: [Win32] Native natural sort implementation.Michael Lutz
2015-08-10(svn r27380) -Fix: [Win32] Compilation with MSVC2015.michi_cc
2015-08-09(svn r27377) -Codechange: use the pkg-config files of ICU as well. Since ↵rubidium
they are split into separate libraries it becomes possible to split RTL support for natural sorting, although the effect will be minimal
2015-08-09(svn r27367) -Codechange: make a distinction between the layouting part of ↵rubidium
ICU (lx) or the sorting/collation part of ICU (i18n)
2014-10-15(svn r27020) -Cleanup: some coding style consistency improvements (mostly ↵rubidium
spaces)
2014-04-25(svn r26507) -Cleanup: remove now unused custom strndup implementationrubidium
2014-04-24(svn r26506) -Codechange: replace most of vsnprintf with vseprintfrubidium
2014-04-24(svn r26500) -Cleanup: remove unused snprintf implementationrubidium
2014-04-24(svn r26498) -Add: method for duplicating strings with similar behaviours as ↵rubidium
strecpy and strecat; give end pointer instead of a size
2014-04-23(svn r26485) -Codechange: Replace ttd_strlcpy and ttd_strlcat with strecpy ↵frosch
and strecat.
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-20(svn r26472) -Cleanup: pointless instance variablerubidium
2014-03-01(svn r26384) -Fix [FS#5924]: Return correct values from ICU iterators in ↵fonsinchen
case of leading or trailing whitespace
2013-11-26(svn r26124) -Fix: make sure all members of the default string iterator are ↵rubidium
initialised
2013-11-08(svn r25952) -Fix [FS#5719]: do not skip numbers when skipping spaces and ↵rubidium
other sorting 'improving' characters
2013-08-05(svn r25653) -Add: Caret movement by words for CJK languages.michi_cc
2013-08-05(svn r25652) -Fix: Improve text caret movement for complex scripts.michi_cc
2013-07-04(svn r25555) -Fix [FS#5632]: [Script] Texts from scripts were not validated ↵rubidium
before they were shown, causing an assertion to trigger
2013-06-30(svn r25527) -Fix[FS#5621]: strndup should not examine strings beyond its ↵alberth
upper limit.
2013-06-24(svn r25454) -Remove/Fix/Cleanup: SETX(Y) does not work at all with other ↵rubidium
than default fonts, so get rid of it
2013-02-09(svn r24983) -Change: Apply the same name sorting rules to content and ↵frosch
NewGRF list as for the server list.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-01-16(svn r23816) -Fix (r23635, r23805): make SCC_ENCODED the first entry in the ↵yexo
StringControlCode enum since it's value is not allowed to change
2012-01-01(svn r23706) -Codechange: prevent 'unknown command' doxygen errorssmatz
2011-12-19(svn r23603) -Add: support for control commands in strings, in both network ↵truebrain
and safe/load (Rubidium)
2011-12-18(svn r23590) -Codechange: make the string validation settings better expandablerubidium
2011-07-16(svn r22669) -Codechange: For non-windows, only test for file existence ↵alberth
again if strtolower actually changed the name.
2011-05-01(svn r22406) -Document: some more "random-ish" tidbitsrubidium
2011-03-03(svn r22177) -Fix: make sure the right endianness is chosen with ↵rubidium
cross-compiling, and strndup is available in the binary for more exotic platforms
2011-01-18(svn r21846) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updated [o-s].
2010-12-05(svn r21404) -Add: method for getting the length of an Utf8 string in charactersrubidium
2010-11-27(svn r21343) -Add: Function that compares strings using case insensitive ↵terkhen
natural sort.
2010-11-10(svn r21133) -Add: function to check the validity of a string (without ↵rubidium
modifying it)
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-25(svn r20220) -Fix [FS#3974]: strip non-printable characters before showing ↵rubidium
it in an edit box, so when renaming a vehicle type you won't get the "SETX stuff" that some NewGRFs use
2010-06-27(svn r20025) -Doc: Fix/add comments to let Doxygen know about the documentation.alberth
2010-05-21(svn r19874) -Fix [FS#3845]: NetBSD compilation was still broken in some ↵rubidium
cases (Krille)
2010-04-24(svn r19703) -Add: hexadecimal string filterrubidium
2010-02-18(svn r19158) -Fix (r19149): MSVC 64 bits compile warningrubidium
2010-02-17(svn r19149) -Codechange: make our vsnprintf implementation for Windows more ↵rubidium
POSIX compliant (adf88)
2010-02-17(svn r19148) -Fix [FS#3627]: [v]seprintf should return the number of added ↵rubidium
characters excluding '\0' on truncation (adf88)
2010-01-26(svn r18919) -Fix (r15371): strcasestr() return should not be constglx
2009-10-31(svn r17920) -Codechange: add a 'filter' for numbers+spaces and use it for ↵rubidium
the NewGRF parameter list
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-04-06(svn r15963) -Fix [FS#2814]: (v)seprintf chopped of strings one character ↵rubidium
earlier than necessary.
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-06(svn r15626) -Fix [FS#2698]: UTF8 string handling could cause buffer overruns.rubidium
2009-03-06(svn r15625) -Codechange: remove unneeded assertsmatz