Commit Graph

10156 Commits

Author SHA1 Message Date
Enno Rehling cdb648b761 Check that groups are cleared when units are transferred. 2019-03-03 09:41:15 +01:00
Enno Rehling 92725faee6 New tests for give_unit and migrants. 2019-03-03 09:41:15 +01:00
Enno Rehling e9b2918209 fix source encodings, break umlauts, ASCII everywhere 2019-03-03 09:41:15 +01:00
Enno Rehling a597e97708 Someone was casting leaveastral with more than 32 arguments recently. 2019-03-03 09:41:15 +01:00
Enno Rehling 0de71b424a fix compilation 2019-03-03 09:41:15 +01:00
Enno Rehling 2a96fffeb5 starting to see diminishing returns. 2019-03-03 09:41:15 +01:00
Enno Rehling 484945d42a more allocation checks. 2019-03-03 09:41:15 +01:00
Enno Rehling 033070663a code analysis scan.
add checks for malloc results.
reduce stack size.
2019-03-03 09:41:15 +01:00
Enno Rehling a16c829218 include what you use 2019-03-03 09:41:15 +01:00
Enno Rehling 3d2bd2f1cd remove unused function 2019-03-03 09:41:15 +01:00
Enno Rehling 5764f71985 readorders was deprecated and is now gone. 2019-03-03 09:41:15 +01:00
Enno Rehling 0137d70221 order atoi36 conditions by likeliness. 2019-03-03 09:41:15 +01:00
Enno Rehling 28293eb2df cmake (on macOS) already has a FindLua module 2019-03-03 09:41:15 +01:00
Enno Rehling ca7f3fbf88 reduce variables scope (cppcheck warnings). 2019-03-03 09:41:15 +01:00
Enno Rehling 230a2d8fba do not use macros for va_copy, which is available from C99 on and with gcc >= 3.0.
this somehow eliminates bogus cppcheck warnings
2019-03-03 09:41:15 +01:00
Enno Rehling 6bf33f9fc2 stop coverity warning (realloc). 2019-03-03 09:41:15 +01:00
Enno Rehling 07d2278741 re-enable intermittent test, supplement unit test.
Untote reservieren nichts von anderen Einheiten.
2019-03-03 09:41:15 +01:00
Enno Rehling 230f7ca11f BUG 2535: Anzeige von Kampfzaubern.
use sbs_printf where possible.
2019-03-03 09:40:54 +01:00
Enno Rehling d0577a5d6a cppcheck style warnings: reduce variable scope 2019-03-03 09:40:22 +01:00
Enno Rehling 11c21d035a fix dupe declaration merge snafu 2019-03-03 09:39:52 +01:00
Enno Rehling 45c44a03fb some static analysis warnings (cppcheck and msvc). 2019-03-03 09:39:52 +01:00
Enno Rehling 83556f8010 cppcheck style 2019-03-03 09:39:52 +01:00
Enno Rehling cb7d2e9fcb fewer warnings from cppcheck 2019-03-03 09:39:52 +01:00
Enno Rehling 0a5cf34420 ignore cppcheck configurations, but not tests 2019-03-03 09:39:52 +01:00
Enno Rehling 933914a301 re-enable disabled test. 2019-03-03 09:39:52 +01:00
Enno Rehling 11316a4992 remove jsreport.
fix some cppcheck warnings.
2019-03-03 09:39:52 +01:00
Enno Rehling 781acdbf6b start adding legacy tests for paragraph 2019-03-03 09:39:52 +01:00
Enno Rehling 2e79c51d00 fix overly long lines in NR. 2019-03-03 09:39:52 +01:00
Enno Rehling 3f9331cd09 fix string unit tests after strcpy was removed 2019-03-03 09:39:52 +01:00
Enno Rehling d162c2dee1 excise bsdstring from the project 2019-03-03 09:39:52 +01:00
Enno Rehling 5d99dc7014 add a printf function to sbstring (about time) 2019-03-03 09:39:52 +01:00
Enno Rehling 2766ed8de4 Bug 2521: Übersetzung von at_racename für Geister 2019-03-03 09:39:52 +01:00
Enno Rehling fbb7a6c418 convert report_template to sbstring 2019-03-03 09:39:52 +01:00
Enno Rehling 08cf00e700 more sbstring conversions 2019-03-03 09:39:52 +01:00
Enno Rehling 892b07c64c oops. broke test again with another case of too many periods. 2019-03-03 09:39:52 +01:00
Enno Rehling 97af710e97 fix display of luxury prices, period at end of description. 2019-03-03 09:39:52 +01:00
Enno Rehling 3291dcbe5b more sbstring use in reports.
fix paragraph lines with very long words, indirectly test through region report.
2019-03-03 09:39:52 +01:00
Enno Rehling 847361fef2 split region reporting into more and smaller functions. 2019-03-03 09:39:52 +01:00
Enno Rehling 5d80f99552 add a str_adopt constructor for sbstring. 2019-03-03 09:39:52 +01:00
Enno Rehling 164baecbd8 print spells with sbstring 2019-03-03 09:39:52 +01:00
Enno Rehling 32519e1683 version number increment 2019-03-03 09:39:52 +01:00
Enno Rehling 6c24956da7 unsigned/signed comparison 2019-03-03 09:39:52 +01:00
Enno Rehling 2483232537 unfuck str_strlcpy again. 2019-03-03 09:39:52 +01:00
Enno Rehling 5520372dfa define SIZE_MAX if needed. 2019-03-03 09:39:52 +01:00
Enno Rehling d4d7394e29 replace sbs_cut with more powerful sbs_substr 2019-03-03 09:39:52 +01:00
Enno Rehling 3be5211a53 fix a previously undetected bug in str_strlcpy. 2019-03-03 09:39:51 +01:00
Enno Rehling a597d06484 some factions have very long names, breaking my buffer.
use sbstring with care.
fix hackish utf8 space detection.
2019-03-03 09:39:27 +01:00
Enno Rehling 84871cc6c4 coverity 189780, realloc result check 2019-03-03 09:39:27 +01:00
Enno Rehling 56251ffdaf reduce big arrays on the stack, report allies with new pump_paragraph function (WIP) 2019-03-03 09:39:27 +01:00
Enno Rehling c200199569 fix the new password test 2019-03-03 09:37:16 +01:00