summaryrefslogtreecommitdiff
path: root/src/strgen/strgen.cpp
AgeCommit message (Collapse)Author
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
2009-11-28(svn r18329) -Remove: [strgen] Support for {SETX} and {SETXY}. Let it rest ↵frosch
in peace as NewGRF relict.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-14(svn r17168) -Codechange: apply coding style to if and while statementssmatz
2009-08-12(svn r17157) -Add: localised decimal separatorsmatz
2009-08-09(svn r17137) -Fix (r17129): strgen complained a lot about english.txt ↵rubidium
compiled with MSVC.
2009-08-09(svn r17129) -Codechange: also let strgen warn if the translation uses ↵rubidium
STRINGn or RAW_STRING instead of STRING.
2009-08-06(svn r17095) -Codechange: make ParseStringChoice a bit saferrubidium
2009-06-22(svn r16627) -Fix: warning about comparing signed and unsigned typessmatz
2009-06-22(svn r16625) -Fix: unsigned vs signed warning in strgenrubidium
2009-06-18(svn r16591) -Codechange: some coding style in strgenrubidium
2009-06-14(svn r16577) -Fix: signed/unsigned comparisonrubidium
2009-06-14(svn r16576) -Fix: show the line of the translation file that has the fault ↵rubidium
and not the line of the string in english.txt.
2009-05-10(svn r16269) -Codechange: use gcc's ability to check parameters sent to ↵smatz
printf-like functions -Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
2009-04-25(svn r16145) -Add: '-export-pragmas' to strgen so external tools can ↵rubidium
(hopefully) automatically be updated to support new pragmas
2009-04-23(svn r16129) -Feature-ish: configurable digit group separator per language ↵rubidium
with user override.
2009-04-23(svn r16123) -Fix: forgot to add table/strgen.h to the project files + a typorubidium
2009-04-23(svn r16122) -Change: add more misc information about the behaviour of ↵rubidium
commands to strgen's -export-commands.
2009-04-21(svn r16115) -Change: make strgen able to 'export' the important command and ↵rubidium
plural information so external tools can easily get that information instead of needing manual updating
2009-04-10(svn r16024) -Codechange: harden string copying on places where it's possiblerubidium
2009-04-07(svn r15965) -Change: use recent Czech language for plural form (it has been ↵smatz
official for years anyway)
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-13(svn r15696) -Codechange: move the NewGRF language ID into the language file ↵rubidium
instead of maintaining a table in the code.
2009-02-12(svn r15456) -Fix(ish): add strgen support to add 'directional formatting ↵rubidium
codes', so one can guide the bidirectional rendering a bit better.
2009-01-16(svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes ↵rubidium
strings.
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium