Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2019-03-26 | Codechange: Replaced SmallVector::Find() non-const with std::find() | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Reset() with std::vector::clear() + ↵ | Henry Wilson | |
shrink_to_fit() | |||
2019-03-26 | Codechange: Replaced SmallVector::Resize() with std::vector::resize() | Henry Wilson | |
2019-03-26 | Codechange: Replace SmallVector::Length() with std::vector::size() | Henry Wilson | |
2019-03-26 | Codechange: Removed SmallVector::operator[] | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Compact() with std::vector::shrink_to_fit() | Henry Wilson | |
2019-03-26 | Codechange: Replace SmallVector::Clear() with std::vector::clear() | Henry Wilson | |
2019-03-26 | Codechange: [core] Implement SmallVector using std::vector | Henry Wilson | |
The public and protected interface to SmallVector are unchanged SmallVector now requires that items be default constructible This isn't an issue since some contained items were previously created uninitialized. Temporary default constructors are added to the following structs - SmallPair - SmallStackItem - GRFPresence Where vector<bool> is required, transition immediately to std::vector to avoid returning proxy object references. | |||
2019-03-19 | Remove: DOS support | Patric Stout | |
In 10 years there was no active development on DOS. Although it turned out to still work, the FPS was very bad. There is little interest in the current community to look into this. Further more, we like to switch to c++11 functions for threads, which are not implemented by DJGPP, the only current compiler for DOS. Additionally, DOS is the only platform which does not support networking. It is the reason we have tons of #ifdefs to support disabling networking. By removing DOS support, we can both use c++11 functions for threads, and remove all the code related to disabling network. Sadly, this means we have to see DOS go. Of course, if you feel up for the task, simply revert this commit, and implement stub c++11 functions for threads and stub functions for networking. We are more than happy to accept such Pull Request. | |||
2019-03-09 | Codechange: Add a k-d tree generic data structure | Niels Martin Hansen | |
2019-03-05 | Fix: warnings when compiling with DJGPP | Patric Stout | |
This was most likely broken for months, if not years. | |||
2019-03-05 | Fix: warnings when compiling for a recent version of Haiku | Patric Stout | |
This might break older Haiku versions, but it is hard to tell. | |||
2019-03-05 | Codechange: removed some left-behind __NDS__ references | Patric Stout | |
2019-03-05 | Remove: MorphOS / AmigaOS support | Patric 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-02-13 | Change: Use SlErrorCorrupt() on pool index error when loading a savegame, ↵ | PeterN | |
instead of terminating. (#7219) | |||
2019-01-20 | Fix: Round up deltas for smooth scrolling, so target will be reached | btzy | |
2019-01-13 | Fix: Grammar in a bunch of comments (#7054) | nikolas | |
2018-12-27 | Fix: [Win32] WIN32 may not be defined, always prefer the compiler predefined ↵ | glx | |
macro _WIN32 | |||
2018-10-31 | Fix: [NewGRF] Make VA2 operator 11 (ror) behave well-defined when rotating ↵ | frosch | |
by 0 bits. | |||
2018-10-31 | Doc: Lots and lots of doxymentation fixes | Charles Pigott | |
2018-06-27 | Codechange: Silence -Wclass-memaccess warnings with GCC8 | Charles Pigott | |
2018-04-30 | Fix 0165fe1: Native OSX doesn't have a __BYTE_ORDER macro but defines a ↵ | Michael Lutz | |
differently named macro. | |||
2018-04-30 | Fix: Some spelling errors in printed messages | Matthijs Kooijman | |
2018-04-29 | Codechange: remove endian_check in favour of __BYTE_ORDER macro (Rubidium) ↵ | Patric Stout | |
(#6762) | |||
2018-04-21 | Fix: Remove need to instantiate SmallStack's pool object by making it a ↵ | Charles Pigott | |
singleton method | |||
2018-04-15 | Codechange: Add functions to insert and extract an element at a specific ↵ | Michael Lutz | |
position in a SmallVec. | |||
2016-09-04 | (svn r27641) -Codechange: Fold the _fios_items file list vector into its own ↵ | alberth | |
class. | |||
2015-08-10 | (svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing ↵ | michi_cc | |
conversions in initializer lists. |