summaryrefslogtreecommitdiff
path: root/src/string_func.h
AgeCommit message (Expand)Author
2021-05-29Codechange: add std::string variant of Utf8StringLengthrubidium42
2021-05-29Codechange: move casting a "const char *" to "char *" to the callerPatric Stout
2021-05-29Codechange: rename str_validate to StrMakeValid(InPlace) (#9304)Patric Stout
2021-05-13Codechange: move client name in settings to std::stringrubidium42
2021-05-06Add: [[nodiscard]] to std::string str_validaterubidium42
2021-04-28Codechange: Use __attribute__ access none to silence GCC 11 -Wmaybe-uninitial...Milek7
2021-04-24Add: String functionality to trim spaces from C-style stringsrubidium42
2021-01-08Revert c1fddb9, 639cfa4: "Codechange: Check if access __attribute__ is suppor...Patric Stout
2021-01-08Codechange: Use access __attribute__ to silence warnings in GCCmilek7
2020-12-27Codechange: Store file search paths as std::string.Michael Lutz
2020-06-27Codechange: Add WARN_FORMAT to vseprintf and fix the cascade of warnings that...Charles Pigott
2020-05-21Codechange: Use std::string in INI file parsing.Michael Lutz
2020-05-21Codechange: Use std::string when translating TTDP NewGRF string codes.Michael Lutz
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2014-04-25(svn r26513) -Fix: 9x compilation, maybefrosch
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 r26498) -Add: method for duplicating strings with similar behaviours as ...rubidium
2014-04-23(svn r26485) -Codechange: Replace ttd_strlcpy and ttd_strlcat with strecpy an...frosch
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 b...rubidium
2013-02-09(svn r24983) -Change: Apply the same name sorting rules to content and NewGRF...frosch
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagl...planetmaker
2012-01-16(svn r23816) -Fix (r23635, r23805): make SCC_ENCODED the first entry in the S...yexo
2011-12-18(svn r23590) -Codechange: make the string validation settings better expandablerubidium
2011-09-04(svn r22889) -Fix [FS#4751]: [OSX] MacOSX 10.7 knows already about strndup (l...planetmaker
2011-07-16(svn r22669) -Codechange: For non-windows, only test for file existence again...alberth
2011-04-30(svn r22385) -Fix [FS#4603]: strnatcmp is in string.cpp, so it ought to be de...rubidium
2011-01-18(svn r21846) -Codechange: move documentation towards the code to make it more...rubidium
2010-12-05(svn r21404) -Add: method for getting the length of an Utf8 string in charactersrubidium
2010-11-24(svn r21310) -Fix [FS#4259]: apparantly even earlier FreeBSDs had strnduprubidium
2010-11-22(svn r21295) -Fix [FS#4259]: FreeBSD introduced strndup as well (MicRO)rubidium
2010-11-20(svn r21273) -Codechange: Return values should start at the same line.alberth
2010-11-10(svn r21133) -Add: function to check the validity of a string (without modify...rubidium
2010-10-22(svn r21006) -Fix (r21004): don't print the text direction character when ICU...rubidium
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-05-21(svn r19874) -Fix [FS#3845]: NetBSD compilation was still broken in some case...rubidium
2010-05-19(svn r19859) -Fix (r19853): preprocessor warningglx
2010-05-18(svn r19853) -Fix [FS#3840]: revert r19781 and apply a more sensible version ...rubidium
2010-01-26(svn r18919) -Fix (r15371): strcasestr() return should not be constglx
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-05-24(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessar...rubidium
2009-05-10(svn r16269) -Codechange: use gcc's ability to check parameters sent to print...smatz
2009-03-06(svn r15626) -Fix [FS#2698]: UTF8 string handling could cause buffer overruns.rubidium
2009-02-06(svn r15376) -Fix [FS#2608] (r15371): OSX/BSD also seems to define strcasecmp...rubidium
2009-02-06(svn r15371) -Codechange: add an implementation of strcasestr for when _GNU_S...rubidium
2009-02-02(svn r15316) -Fix [NoAI]: ignore unprintable chars when returning a string to...glx
2009-01-18(svn r15135) -Fix/Change: allow str_validate (part of receiving strings from ...rubidium