summaryrefslogtreecommitdiff
path: root/src/strings.cpp
AgeCommit message (Collapse)Author
2018-12-27Fix: [Win32] WIN32 may not be defined, always prefer the compiler predefined ↵glx
macro _WIN32
2018-12-08Add: [OSX] Text layout using the native CoreText API.Michael Lutz
By default, the native API will be used instead of ICU, but if ICU is forced in using configure, it will take precedence.
2018-12-08Add: [OSX] Native natural sort implementation.Michael Lutz
2018-10-31Fix: Remove various dead or unnecessary assignmentsCharles Pigott
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-06-26Change: Increase cargo type limit to 64.PeterN
2018-06-06Add: [Win32] Text layout using the native Windows Uniscribe library.Michael Lutz
Uniscribe is sometimes producing different results compared to ICU, especially when RTL and LTR content is mixed. Comparing the results to other programs (like editors or web browsers) leads me to believe that the result are at least not worse than ICU and possibly better.
2018-06-06Add: [Win32] Native natural sort implementation.Michael Lutz
2018-05-21Change: Add CargoTypes type for cargo masks. (#6790)PeterN
2018-04-19Add: {PUSH_COLOUR} and {POP_COLOUR} control codes to handle switching ↵PeterN
colours. (#6737) This replaces the internal SCC_PREVIOUS_COLOUR swap.
2018-04-17Fix #6465: Add {NORMAL_FONT} and {MONO_FONT} control codes to GS strings (#6726)Pavel Stupnikov
2018-04-08Fix #6690: Compilation with ICU 61Charles Pigott
2017-02-26(svn r27758) -Change: Increase the maximum number of GameScript texts to ↵frosch
64k, and NewGRF texts to 512k.
2017-02-26(svn r27756) -Codechange: Add StringTab enumfrosch
2017-02-26(svn r27754) -Codechange: Add GetStringTab(), GetStringIndex() and ↵frosch
MakeStringID() to access the structure of StringIDs.
2016-06-17(svn r27602) -Fix [FS#6481]: Compilation with --disable-network. (Deranged)frosch
2015-08-10(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing ↵michi_cc
conversions in initializer lists.
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)
2015-05-17(svn r27288) -Fix: Slow network content GUI in MSVC Debug builds due to ↵michi_cc
repeated string resolving.
2015-01-01(svn r27102) -Fix [FS#6194]: money values would end up wrong in strings when ↵rubidium
outside of the bounds of a 32 bits integer
2014-11-18(svn r27063) -Fix [FS#6172]: Some lists did not use natural string sorting.frosch
2014-08-15(svn r26733) -Fix [FS#6086]: inconsistency in using spaces between number ↵rubidium
and unit in some strings Try to follow the SI recommendation to use a non-breaking space between a number and its units (and prefix)
2014-06-20(svn r26657) -Add [FS#6047]: Days in dates are not represented by ordinal ↵planetmaker
numbers in all languages
2014-04-27(svn r26525) -Remove: Screenshot format setting from GUI.frosch
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-23(svn r26489) -Codechange: properly account for the end of buffers in the ↵rubidium
file io code instead of assuming MAX_PATH is okay
2014-04-23(svn r26486) -Codechange: replace a number of snprintfs with seprintfrubidium
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-01-12(svn r26242) -Codechange: Use GRFFile that filled the TextRefStack to ↵frosch
translate StringIDs from the TextRefStack, instead of passing stuff via global vars.
2014-01-12(svn r26239) -Fix: Check that there is space left in the string parameter ↵frosch
array, before pushing NewGRF parameters to it.
2014-01-12(svn r26238) -Codechange: Use StringParameters::GetDataLeft to check for ↵frosch
left space in the param array.
2014-01-12(svn r26237) -Cleanup: Remove unused SCC_STRING_ID.frosch
2013-11-23(svn r26063) -Fix (r26062): a few tabs too muchrubidium
2013-11-23(svn r26062) -Fix: beef up checks against invalid data in highscore and ↵rubidium
language files
2013-11-19(svn r26041) -Fix: make variable initialization more obvious for humans and ↵fonsinchen
compilers.
2013-11-16(svn r26007) -Change: make handling strings coming from game scripts ↵rubidium
slightly more lenient, i.e. less 'fatal error... must quit'
2013-11-16(svn r26006) -Fix [FS#5804]: Game script showing vehicle on a story book, ↵rubidium
then the vehicle being removed and eventually being replaced by a non-user vehicle (most likely smoke) causing an assertion to trigger
2013-06-29(svn r25508) -Change: split unit localisation choice into a choice per type ↵rubidium
of unit, and move it to the advanced settings -Feature [FS#5482]: have tractive effort in imperial (lbf) and metric (kgf) units -Feature: have weights and volumes in imperial units (short tons, gallons)
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-06-23(svn r25437) -Codechange: rework the FreeTypeSettings structure to make it ↵rubidium
better grouped
2013-06-23(svn r25436) -Codechange: split the font detection code out of the font ↵rubidium
caching code
2013-06-01(svn r25314) -Fix (r25313): If '0' is the broadest digit, 0 * sum(10^i, ↵frosch
i=0..(n-1)) is not the broadest n-digit number. -Fix [FS#5562]: Proper size-estimation for numbers with n digits.
2013-06-01(svn r25313) -Fix: Do not assume '8' to be the broadest digit, but test all ↵frosch
of them.
2013-03-10(svn r25078) -Add: New plural form to be used by Scottish Gaelic (1,11; ↵planetmaker
2,12; 3..10, 13..19; other)
2013-02-08(svn r24981) -Fix: handle corner case where an encoded string contains too ↵rubidium
many parameters more gracefully
2013-02-08(svn r24980) -Fix: memory leak in corner case of handling encoded stringsrubidium
2013-01-14(svn r24915) -Fix: Several out-of-bounds readssmatz
2013-01-12(svn r24910) -Fix: [strgen] Description of plural form 3 was incorrect.frosch
2013-01-12(svn r24909) -Codechange: Remove implicit bool -> integer conversion.frosch
2013-01-12(svn r24908) -Fix [FS#5419]: Allow GSs to pass negative integer string ↵zuu
parameters (frosch123)