frosch
3493750241
(svn r26544) [1.4] -Backport from trunk:
...
- Fix: [Windows] Crash when the operating system performs the "paint" callback during window creation [FS#5994] (r26539, r26538)
- Fix: OpenBSD compilation [FS#5992] (r26523)
- Fix: prevent from ever reading huge (or negative) amounts of data in strgen (r26521)
- Fix: Severity rating of dedicated server messages during world generation (r26518)
2014-06-04 19:26:38 +03:00
frosch
e69b50c898
(svn r26543) [1.4] -Backport from trunk:
...
- Fix: Buffer overruns in handling of symbolic links inside tars (r26514)
- Fix: Incorrect usage of strecpy (r26505, r26485)
- Fix: Reading console input on dedicated server relied on unspecified behaviour (r26496)
2014-06-04 19:26:38 +03:00
rubidium
a6fae2c608
(svn r26058) -Fix: handle the return value of a number of functions better
2013-11-23 13:15:07 +00:00
rubidium
f2a6dcc1ba
(svn r26054) -Fix: minor memory leak in strgen
2013-11-22 21:45:57 +00:00
rubidium
ecfed05729
(svn r26050) -Fix: possible, but currently untriggered, out of bounds access in strgen
2013-11-22 21:43:47 +00:00
rubidium
e92f2c72ca
(svn r25326) -Fix [FS#5589]: check for zero width space in translations and fail upon finding them
2013-06-07 19:05:04 +00:00
frosch
2429ccd33c
(svn r25191) -Codechange/Fix: [strgen] Make -export-commands use the actual command classification from strgen_tables.h instead of using something incompletely duplicated.
2013-04-17 18:21:43 +00:00
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
frosch
4507eec9b7
(svn r24516) -Add: [GS] Support ##plural pragma in GS lang files.
2012-09-09 15:55:20 +00:00
frosch
b54a165cd8
(svn r24400) -Add: Plural 'names' to the output of strgen -export-plurals.
2012-07-14 14:21:25 +00:00
rubidium
8123f2929f
(svn r23853) -Fix: several incorrect @files
2012-01-25 22:10:14 +00:00
frosch
624f916468
(svn r23805) -Add: {STRING6} and {STRING7}.
2012-01-15 15:49:01 +00:00
rubidium
d5eeab43b7
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
2012-01-03 21:32:51 +00:00
rubidium
0cfe86cead
(svn r23735) -Codechange: remove ~50 includes from headers that weren't needed
2012-01-03 20:26:05 +00:00
rubidium
7c5545dd3b
(svn r23587) -Fix-ish: MSVC warnings in case strgen would be in the main project file
2011-12-18 11:56:53 +00:00
rubidium
0331d3763e
(svn r23585) -Codechange: replace some magic numbers with less magic constants
2011-12-17 23:16:16 +00:00
rubidium
67c9d930f2
(svn r23576) -Codechange: split the base of strgen with the strgen code that creates the actual .lng files
2011-12-17 18:34:03 +00:00
rubidium
6dc2b3b86a
(svn r23575) -Codechange: split class definition and implementation of base strgen classes
2011-12-17 17:25:50 +00:00
rubidium
5b08ac282d
(svn r23574) -Codechange/Feature-ish: allow converting multiple translations with the same master language instance in a single strgen run
2011-12-17 17:03:38 +00:00
rubidium
b0ed768304
(svn r23573) -Fix (r23571): MSVC doesn't like variable array sizes
2011-12-17 16:59:16 +00:00
rubidium
446f2f5147
(svn r23572) -Codechange: split actual file reading from logic for parsing
2011-12-17 16:56:32 +00:00
rubidium
14c8a3d2b1
(svn r23571) -Codechange: make the number of 'tabs' the generate configurable
2011-12-17 15:02:09 +00:00
rubidium
fe797565cd
(svn r23570) -Codechange: move version generation code to StringData
2011-12-17 14:50:35 +00:00
rubidium
218fd5ce5d
(svn r23569) -Codechange: put more logic in some of the strgen structs, e.g. allocating and freeing its memory, and don't use a global variable for the string data
2011-12-17 14:41:10 +00:00
rubidium
b1565835a3
(svn r23568) -Codechange: only allocate the buffer for writing when it is really needed
2011-12-17 13:33:36 +00:00
rubidium
786841953b
(svn r23567) -Codechange: use SmallVector for the buffer in strgen
2011-12-17 13:23:01 +00:00
rubidium
b2d9a20cca
(svn r23566) -Fix (r23565): hopefully fix MSVC compilation error
2011-12-17 12:19:22 +00:00
rubidium
1ab40412d6
(svn r23565) -Codechange: create some classes for writing language header and translation files
2011-12-17 12:15:19 +00:00
rubidium
57913ed07c
(svn r23563) -Cleanup: remove useless global variable from strgen; it would always be false at the point it would be read
2011-12-16 22:03:59 +00:00
rubidium
c591589818
(svn r23269) -Codechange: rename some control/string codes/IDs to be more consistent
2011-11-19 22:15:44 +00:00
rubidium
54c1616cba
(svn r22806) -Codechange: store the number of untranslated strings in the language file
2011-08-21 19:21:38 +00:00
alberth
9222a30173
(svn r22145) -Codechange: Do explicit test for non-bool values.
2011-02-25 22:04:38 +00:00
alberth
e36c5b649e
(svn r22102) -Codechange: Also use the getopt function in strgen.
2011-02-18 20:52:42 +00:00
rubidium
05199a641a
(svn r21890) -Cleanup: remove some unneeded includes
2011-01-22 14:52:20 +00:00
rubidium
de1699ccac
(svn r21474) -Fix: some MSVC code analysis warnings in strgen
2010-12-12 01:21:02 +00:00
yexo
8066998238
(svn r21445) -Fix: [NewGRF] fix gender choice lists in newgrf strings.
...
Change: strgen no longer writes the type of a string for a gender choice list
2010-12-09 21:01:50 +00:00
yexo
68f61fbdb0
(svn r21348) -Fix (r21346): some compilers complain about int-uint comparisons
2010-11-28 19:48:13 +00:00
yexo
f464afa522
(svn r21347) -Cleanup: remove an unused feature from strgen and remove some ifs where we already know the result
2010-11-28 19:40:35 +00:00
yexo
a90f8114dd
(svn r21346) -Fix (r2592): buffer overflow in strgen for strings with very large arguments
2010-11-28 19:39:04 +00:00
rubidium
e889a93129
(svn r21260) -Codechange: make strgen more stringent w.r.t. the allowed characters in strings
2010-11-19 19:38:02 +00:00
rubidium
5e2c20250a
(svn r21215) -Codechange: store the plural form in the plural (choice) lists
2010-11-16 21:01:56 +00:00
rubidium
0b142b2709
(svn r21203) -Codechange: make the maximum plural count available to the rest of OpenTTD as well
2010-11-16 11:42:47 +00:00
rubidium
ce1e4a3448
(svn r21165) -Codechange: move the case/gender meta data into the language metadata struct as well
2010-11-13 14:36:43 +00:00
rubidium
0020e74533
(svn r21160) -Codechange: reuse the strgen LanguageHeader to store some metadata about a language, and keep the language metadata in memory instead of loading it several times from disk
2010-11-13 11:11:02 +00:00
rubidium
60c29acdae
(svn r21134) -Change: perform some more stringent validity checking on the language files
2010-11-10 17:49:44 +00:00
rubidium
b050aaa42c
(svn r21132) -Codechange: unify the language file version/validity checking
2010-11-10 17:48:31 +00:00
rubidium
fb71ee974d
(svn r21127) -Codechange: change the max gender constant's name's style to the style used by the max case constant's name
2010-11-10 16:31:46 +00:00
rubidium
09a1d006ba
(svn r21115) -Codechange: make it more clear that genders and cases in the base translation are not supported
2010-11-07 20:57:41 +00:00
rubidium
8401322c3e
(svn r21113) -Codechange: remove the amount of places where the language pack identifier magic value is
2010-11-07 18:35:59 +00:00
rubidium
b75f513a1f
(svn r21112) -Codechange: reduce the amount (of copying) variables
2010-11-07 18:20:18 +00:00