Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-15 | Codechange: Make use of the improved C++17 emplace_back function. | Michael Lutz | |
2020-07-03 | Fix: Globally apply preprocessor directive coding style | TechGeekNZ | |
Global; except for the 32-bit SSE blitter, which has some #DEFINEs in not-very-nice places. | |||
2020-06-05 | Add: introduce CMake for project management | Patric 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-05-21 | Codechange: Replace SmallPair with std::pair. | Michael Lutz | |
std::pair is already the smallest possible pair, and it already handles non-POD types correctly. | |||
2020-02-11 | Fix: OpenBSD endianness detection | Charlène | |
2020-01-07 | Codechange: Remove std::function from Pool iteration wrapper | Jonathan G Rennison | |
Add a separate template wrapper for filtered iteration | |||
2019-12-21 | Fix: unused variable warnings | glx | |
2019-12-21 | Cleanup: remove FOR_ALL_ITEMS | glx | |
2019-12-21 | Add: Allow iteration of pools in range-based for loops | glx | |
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-10-08 | Codechange: Performance improvement in k-d tree FindNearest() | Gabda | |
2019-09-29 | Fix: Some typos found using codespell | JMcKiern | |
2019-08-31 | Codechange: math functions - use cpp-style casts | Nikolas Nyby | |
2019-08-17 | Add #6887: Option to show zone inside local authority boundary of towns | Gabda | |
Can be found at town information > local authority window Layout for button is same as Graph Keys Turn on/off for every town individually | |||
2019-05-04 | Remove: grow() helper function | glx | |
2019-04-29 | Remove: (Simple)TinyEnumT | Charles Pigott | |
2019-04-21 | Codechange: Use std::underlying_type for DECLARE_POSTFIX_INCREMENT. | peter1138 | |
2019-04-21 | Fix: Replace int with std::underlying_type in DECLARE_ENUM_AS_BIT_SET. | peter1138 | |
This fixes 64 bit uses of this macro. | |||
2019-04-18 | Cleanup: remove core/sort_func.hpp as it's not used anymore | glx | |
2019-04-18 | Codechange: use std::vector for _resolutions | glx | |
2019-04-15 | Codechange: No need for AutoFreePtr if there's std::unique_ptr. | Michael Lutz | |
2019-04-15 | Codechange: Replace SmallStackSafeStackAlloc with std::array. | Michael Lutz | |
The only port that ever used it to make heap allocations instead of stack ones was the NDS port, which got thrown out some time ago. | |||
2019-04-13 | Fix 801cbea9c: operator< is not always the best idea | glx | |
Also removes unused and anyway broken SmallMap::SortByKey() function. | |||
2019-04-13 | Codechange: use std::sort() for all std::vector types | glx | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
2019-04-09 | Remove: AutoFreeSmallVector. | Michael Lutz | |
The last use was for storing a list of memory blocks. As the way these lists are accessed is very specific, it is easier to just write an explicit destructor instead of trying to exactly match the behaviour. | |||
2019-04-09 | Codechange: If something is a vector of strings, use a vector of strings ↵ | Michael Lutz | |
instead of an AutoFreeSmallVector. | |||
2019-04-09 | Codechange: Switch DropDownList to directly use std::vector, thus making ↵ | Michael Lutz | |
AutoDeleteSmallVector obsolete. DropDownListItem are strongly managed using std::unique_ptr to ensure leak-free handling. Appropriate use of move-semantics make intent a lot clearer than parameter comments and allows the compiler to generate copy-free code for most situations. | |||
2019-04-06 | Codechange: Replace custom mutex code with C++11 mutex'es. | Michael Lutz | |
A conforming compiler with a valid <mutex>-header is expected. Most parts of the code assume that locking a mutex will never fail unexpectedly, which is generally true on all common platforms that don't just pretend to be C++11. The use of condition variables in driver code is checked. | |||
2019-03-28 | Fix #7165: Const overload SmallMap::Contains(key) compared wrong types. | Michael Lutz | |
Const and non-const Find() have different return types. | |||
2019-03-28 | Fix #7165: SmallMap::Erase(key) does not work correctly | stormcone | |
2019-03-28 | Fix: MSVC warnings (#7423) | glx22 | |
2019-03-27 | Fix #7421: Don't (directly) dereference std::vector::end() in SmallMap | Charles Pigott | |
2019-03-26 | Codechange: Use range-based for-loop in Auto[Free|Delete]SmallVector | Henry Wilson | |
2019-03-26 | Cleanup: Remove unused size template parameters from SmallMap and ↵ | Henry Wilson | |
Auto[Free|Delete]SmallVector | |||
2019-03-26 | Codechange: Removed SmallVector completely | Henry Wilson | |
2019-03-26 | Codechange: Declare SmallVector as an alias for std::vector | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::[Begin|End]() with std alternatives | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Include() with include() | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Find() with std::find() | Henry Wilson | |
2019-03-26 | Codechange: Removed SmallVector::Insert() | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Append() with ↵ | Henry Wilson | |
std::vector::[push|emplace]_back() | |||
2019-03-26 | Codechange: Replaced SmallVector::Erase() with std::vector::erase() | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Get() const with std alternatives | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Get(n) non-const with std::vector::data() + n | Henry Wilson | |
2019-03-26 | Codechange: Removed SmallVector::Assign() | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Contains() with std::find() pattern | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::ErasePreservingOrder(pos, count) with ↵ | Henry Wilson | |
std::vector::erase() | |||
2019-03-26 | Codechange: Replaced SmallVector::ErasePreservingOrder(it, count) with ↵ | Henry Wilson | |
std::vector::erase() | |||
2019-03-26 | Codechange: Replaced SmallVector::Find() const with suitable alternatives | Henry Wilson | |
The use of std::none_of in network/core/host.cpp is driven by the non-const comparison operator use by NetworkAddress. A future commit should address the const_casts in that class to ensure const-correctness. |