summaryrefslogtreecommitdiff
path: root/src/strgen/strgen.cpp
AgeCommit message (Collapse)Author
2012-09-09(svn r24516) -Add: [GS] Support ##plural pragma in GS lang files.frosch
2012-07-14(svn r24400) -Add: Plural 'names' to the output of strgen -export-plurals.frosch
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-17(svn r23585) -Codechange: replace some magic numbers with less magic constantsrubidium
2011-12-17(svn r23576) -Codechange: split the base of strgen with the strgen code that ↵rubidium
creates the actual .lng files
2011-12-17(svn r23575) -Codechange: split class definition and implementation of base ↵rubidium
strgen classes
2011-12-17(svn r23574) -Codechange/Feature-ish: allow converting multiple translations ↵rubidium
with the same master language instance in a single strgen run
2011-12-17(svn r23573) -Fix (r23571): MSVC doesn't like variable array sizesrubidium
2011-12-17(svn r23572) -Codechange: split actual file reading from logic for parsingrubidium
2011-12-17(svn r23571) -Codechange: make the number of 'tabs' the generate configurablerubidium
2011-12-17(svn r23570) -Codechange: move version generation code to StringDatarubidium
2011-12-17(svn r23569) -Codechange: put more logic in some of the strgen structs, e.g. ↵rubidium
allocating and freeing its memory, and don't use a global variable for the string data
2011-12-17(svn r23568) -Codechange: only allocate the buffer for writing when it is ↵rubidium
really needed
2011-12-17(svn r23567) -Codechange: use SmallVector for the buffer in strgenrubidium
2011-12-17(svn r23566) -Fix (r23565): hopefully fix MSVC compilation errorrubidium
2011-12-17(svn r23565) -Codechange: create some classes for writing language header ↵rubidium
and translation files
2011-12-16(svn r23563) -Cleanup: remove useless global variable from strgen; it would ↵rubidium
always be false at the point it would be read
2011-11-19(svn r23269) -Codechange: rename some control/string codes/IDs to be more ↵rubidium
consistent
2011-08-21(svn r22806) -Codechange: store the number of untranslated strings in the ↵rubidium
language file
2011-02-25(svn r22145) -Codechange: Do explicit test for non-bool values.alberth
2011-02-18(svn r22102) -Codechange: Also use the getopt function in strgen.alberth
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2010-12-12(svn r21474) -Fix: some MSVC code analysis warnings in strgenrubidium
2010-12-09(svn r21445) -Fix: [NewGRF] fix gender choice lists in newgrf strings.yexo
Change: strgen no longer writes the type of a string for a gender choice list
2010-11-28(svn r21348) -Fix (r21346): some compilers complain about int-uint comparisonsyexo
2010-11-28(svn r21347) -Cleanup: remove an unused feature from strgen and remove some ↵yexo
ifs where we already know the result
2010-11-28(svn r21346) -Fix (r2592): buffer overflow in strgen for strings with very ↵yexo
large arguments
2010-11-19(svn r21260) -Codechange: make strgen more stringent w.r.t. the allowed ↵rubidium
characters in strings
2010-11-16(svn r21215) -Codechange: store the plural form in the plural (choice) listsrubidium
2010-11-16(svn r21203) -Codechange: make the maximum plural count available to the ↵rubidium
rest of OpenTTD as well
2010-11-13(svn r21165) -Codechange: move the case/gender meta data into the language ↵rubidium
metadata struct as well
2010-11-13(svn r21160) -Codechange: reuse the strgen LanguageHeader to store some ↵rubidium
metadata about a language, and keep the language metadata in memory instead of loading it several times from disk
2010-11-10(svn r21134) -Change: perform some more stringent validity checking on the ↵rubidium
language files
2010-11-10(svn r21127) -Codechange: change the max gender constant's name's style to ↵rubidium
the style used by the max case constant's name
2010-11-07(svn r21115) -Codechange: make it more clear that genders and cases in the ↵rubidium
base translation are not supported
2010-11-07(svn r21113) -Codechange: remove the amount of places where the language ↵rubidium
pack identifier magic value is
2010-11-07(svn r21112) -Codechange: reduce the amount (of copying) variablesrubidium
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-24(svn r20211) -Codechange: Indented code should have curly braces around it.alberth
2010-05-20(svn r19867) -Change: use non-breaking spaces for currency pre-/postfixes.rubidium
2010-05-13(svn r19811) -Codechange: make the last bits from table/strings.h use static ↵rubidium
consts too instead of an unnamed enum
2010-04-12(svn r19614) -Codechange: "it's" => "its" where appropriatesmatz
2010-02-26(svn r19264) -Fix (r19179): strgen segfaults when trying to lookup the ↵rubidium
command for a non-existing command
2010-02-20(svn r19180) -Add/Fix: (partial) support for genders for cargos, industries, ↵rubidium
vehicles, stations, ...; partial because you can't set a gender for a custom string.
2010-02-20(svn r19179) -Codechange: make strgen do some checking on whether genders ↵rubidium
are valid for a command (e.g. we don't have genders for numbers)
2010-02-12(svn r19114) -Change: [strgen] Modify the outputted format for MSVC builds ↵rubidium
of strgen so it also shows fatal errors in the 'error list' and it also counts them. (Fatal) errors are marked as warnings so a failing language file is not causing the complete compilation to fail.
2010-02-12(svn r19113) -Change: [strgen] Remove the partially generated language file ↵rubidium
if compilation fails.
2010-01-04(svn r18727) -Fix [FS#3480]: some invalid gender/plural indices in strings, ↵rubidium
which could eventually cause crashes.
2009-12-09(svn r18444) -Feature: allow G and P to 'select' substrings of STRINGn for ↵rubidium
getting their gender