summaryrefslogtreecommitdiff
path: root/src/strgen
AgeCommit message (Collapse)Author
2020-06-05Add: introduce CMake for project managementPatric Stout
CMake works on all our supported platforms, like MSVC, Mingw, GCC, Clang, and many more. It allows for a single way of doing things, so no longer we need shell scripts and vbs scripts to work on all our supported platforms. Additionally, CMake allows to generate project files for like MSVC, KDevelop, etc. This heavily reduces the lines of code we need to support multiple platforms from a project perspective. Addtiionally, this heavily improves our detection of libraries, etc.
2020-02-13Codechange: Format unsigned integers with %u instead of %i or %d.Quipyowert2
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-05-01Fix #7553: check bounds when loading strings (#7554)glx22
2019-04-13Cleanup: Fix alignment after NULL -> nullptr change.peter1138
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-28Fix: MSVC warnings (#7423)glx22
2019-03-26Codechange: Removed SmallVector completelyHenry Wilson
2019-03-26Codechange: Replaced SmallVector::[Begin|End]() with std alternativesHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
2019-03-26Codechange: Replace SmallVector::Length() with std::vector::size()Henry Wilson
2019-03-26Codechange: Replace SmallVector::Clear() with std::vector::clear()Henry Wilson
2019-03-24Codechange: Use override specifer for overriding member declarationsHenry Wilson
This is a C++11 feature that allows the compiler to check that a virtual member declaration overrides a base-class member with the same signature. Also src/blitter/32bpp_anim_sse4.hpp +38 is no longer erroneously marked as virtual despite being a template.
2019-03-11Fix: MingW and MSVC compiled strgen had different path separator behaviourPatric Stout
If it was compiled with MingW, both / and \ were accepted as path separator. On MSVC, only \ was. This is an unexpected difference between binaries for the same platform. Remove this discrepancy by accepting both / and \ on all platforms.
2019-03-05Remove: MorphOS / AmigaOS supportPatric Stout
In 10 years there is no commit to change how MorphOS works, and we have no active maintainer for it. It is unlikely it works in its current state (but not impossible). With the arrival of SDL2 (and removal of SDL), MorphOS is no longer support. There is an SDL2 port for MorphOS, but it is not maintained by upstream SDL2, and nobody can currently test it out. If anyone wants to re-add MorphOS, please do (revert this patch, fix the problems, and create a Pull Request). If you need any help doing so, let us know! It is not that we don't like MorphOS, it is that we don't have anyone fixing the problems :(
2019-01-29Fix: make sure strgen fails when english.txt contains invalid commandsglx
2018-12-27Fix: [Win32] WIN32 may not be defined, always prefer the compiler predefined ↵glx
macro _WIN32
2018-10-31Fix: Protect against a few out of bounds or uninitialised usage errorsCharles Pigott
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2017-02-26(svn r27759) -Fix: strgen compilationfrosch
2015-08-10(svn r27380) -Fix: [Win32] Compilation with MSVC2015.michi_cc
2015-05-28(svn r27295) -Add: [strgen] Default plural subparameter positions for ↵frosch
CARGO_xxx string control codes.
2014-04-26(svn r26521) -Fix-ish: prevent from ever reading huge (or negative) amounts ↵rubidium
of data in strgen
2014-04-25(svn r26511) -Codechange: use strecpy in game_textrubidium
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-24(svn r26506) -Codechange: replace most of vsnprintf with vseprintfrubidium
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
2013-11-23(svn r26058) -Fix: handle the return value of a number of functions betterrubidium
2013-11-22(svn r26054) -Fix: minor memory leak in strgenrubidium
2013-11-22(svn r26050) -Fix: possible, but currently untriggered, out of bounds access ↵rubidium
in strgen
2013-06-07(svn r25326) -Fix [FS#5589]: check for zero width space in translations and ↵rubidium
fail upon finding them
2013-04-17(svn r25191) -Codechange/Fix: [strgen] Make -export-commands use the actual ↵frosch
command classification from strgen_tables.h instead of using something incompletely duplicated.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
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-25(svn r23853) -Fix: several incorrect @filesrubidium
2012-01-15(svn r23805) -Add: {STRING6} and {STRING7}.frosch
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2012-01-03(svn r23735) -Codechange: remove ~50 includes from headers that weren't neededrubidium
2011-12-18(svn r23587) -Fix-ish: MSVC warnings in case strgen would be in the main ↵rubidium
project file
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