summaryrefslogtreecommitdiff
path: root/src/misc
AgeCommit message (Collapse)Author
2021-06-03Codechange: use "[[maybe_unused]]" instead of a wide variety of other ways ↵Patric Stout
we had While at it, replace OTTD_ASSERT with WITH_ASSERT, as this is always set if assert() is valid. No matter if NDEBUG is set or not.
2021-05-27Cleanup: remove unused copy-constructor without copy-assignmentrubidium42
2021-04-04Cleanup: Delete remaining Blob codeCharles Pigott
2021-04-04Codechange: Replace CStrA with std::stringCharles Pigott
2021-04-01Codechange: Suppress warnings when asserts are disabled (#8917)Patric Stout
2021-02-22Add: A simple, templated cache map that uses a least recently used eviction ↵Michael Lutz
strategy.
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2020-12-27Codechange: Replace assert_compile macro with static_assertCharles Pigott
2020-07-03Fix: Globally apply preprocessor directive coding styleTechGeekNZ
Global; except for the 32-bit SSE blitter, which has some #DEFINEs in not-very-nice places.
2020-06-27Codechange: Add WARN_FORMAT to vseprintf and fix the cascade of warnings ↵Charles Pigott
that followed
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.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-09-29Fix: Some typos found using codespellJMcKiern
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-05-19Change [#6689]: Tweak HashTable hash calculation to reduce collisions. ↵PeterN
(kernigh2) (#6786)
2015-08-10(svn r27379) -Codechange: Do not throw in the destructors of ↵frosch
ScriptTest/ExecMode.
2015-08-08(svn r27363) -Codechange: Fix codestyle of one-line methods and header ↵alberth
codestyle of derived structs.
2015-08-08(svn r27362) -Codechange: Codestyle fixes for reference var declarations, ↵alberth
static cast type, operator methods.
2014-04-24(svn r26506) -Codechange: replace most of vsnprintf with vseprintfrubidium
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-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2011-12-20(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the ↵truebrain
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-09-02(svn r22875) -Codechange: Add some asserts and checks to better prevent ↵michi_cc
overflow of the argument to malloc. (monoid)
2011-05-02(svn r22411) -Document: another bunch of bitsrubidium
2011-04-19(svn r22351) -Revert (r17101): and reinstall r16546. Hash tables are much ↵smatz
smaller now, so it shouldn't cause crash anymore
2011-02-25(svn r22145) -Codechange: Do explicit test for non-bool values.alberth
2011-02-25(svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)'alberth
2011-02-18(svn r22101) -Codechange (r22098): Unify a bit of code.alberth
2011-02-18(svn r22098) -Codechange: Have an array of option data, use it in the option ↵alberth
parsing routine. Adapt openttd option processing too.
2011-02-18(svn r22097) -Fix (r22096): Add files before commit.alberth
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2010-12-22(svn r21594) -Codechange: Whitespace fixes in ifndef/define lines.alberth
2010-10-30(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)alberth
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-23(svn r20603) -Codechange: silence some ICC warningsrubidium
2010-08-12(svn r20474) -Cleanup: remove some unused codeyexo
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-31(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.alberth
2010-07-24(svn r20211) -Codechange: Indented code should have curly braces around it.alberth
2010-04-12(svn r19614) -Codechange: "it's" => "its" where appropriatesmatz
2010-03-24(svn r19517) -Fix (r19516): compile before commit (a gcc warning was hidden)glx
2010-03-24(svn r19516) -Fix (r19467): MSVC 64bit warningsglx
2010-03-23(svn r19509) -Codechange: remove superfluous semicolons after function ↵smatz
definitions
2010-03-19(svn r19477) -Fix (r1946x): removed a few too functions including the copy ↵yexo
constructor
2010-03-19(svn r19474) -Cleanup: remove ByteBlob::Append(T*, num_items)yexo
2010-03-19(svn r19473) -Codechange: remove unused variables in the Blob::SmartAlloc ↵yexo
code (skidd13)
2010-03-19(svn r19472) -Codechange: reorder the static members of ByteBlob and add ↵yexo
Zero() (skidd13)
2010-03-19(svn r19471) -Codechange: rename ByteBlob methods to fit common style (skidd13)yexo