Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-26 | Update: Translations from eints | translators | |
greek: 51 changes by Jubilee russian: 17 changes by Lone_Wolf latin: 19 changes by Supercheese portuguese: 53 changes by JayCity | |||
2019-03-25 | Fix #7414: Reinstate marking sign dirty before removal. (#7416) | PeterN | |
2019-03-25 | Change: Do not display a newspaper about old vehicles for which replacement ↵ | stormcone | |
is activated. | |||
2019-03-25 | Fix #7410: Sign position/width not set on initial creation. (#7413) | PeterN | |
Sign width was only updated when the text was changed. This seems to work for player-placed signs as there is always a rename operation, however AIs can create a sign with text in one go, in which case the width was never set. | |||
2019-03-25 | Fix #7411: Use industry production callback (if used) on initial industry ↵ | PeterN | |
cargo generation. (#7412) | |||
2019-03-25 | Update: Translations from eints | translators | |
finnish: 12 changes by hpiirai greek: 40 changes by Jubilee luxembourgish: 2 changes by Phreeze dutch: 12 changes by JanWillem french: 4 changes by romazoon norwegian (bokmal): 12 changes by Leifbk hungarian: 14 changes by Brumi portuguese: 51 changes by JayCity, 11 changes by vesgo | |||
2019-03-24 | Update: Translations from eints | translators | |
finnish: 13 changes by hpiirai korean: 1 change by telk5093 | |||
2019-03-24 | Fix #7374: Ensure k-d trees are always updated when station sign moves | Niels Martin Hansen | |
2019-03-24 | Codechange: Use override keyword for smallmap window. | peter1138 | |
2019-03-24 | Codechange: Use override keyword in networking classes. | peter1138 | |
2019-03-24 | Codechange: More use of override keyword. | peter1138 | |
2019-03-24 | Change: Show additional cost and refitted capacity in build vehicle window. | peter1138 | |
2019-03-24 | Add: script API functions for build with refit feature | glx | |
2019-03-24 | Feature: When filtering purchase list by cargo type, make buy button perform ↵ | peter1138 | |
a refit if required. | |||
2019-03-24 | Change: Bump savegame version for tree tile water class conversion. | Peter Nelson | |
2019-03-24 | Fix #7400: Water class for tree tiles was not converted for old saves ↵ | Peter Nelson | |
preventing industry creation. As the information is always available from the tree ground type, unconditionally update the map array for tree tiles. | |||
2019-03-24 | Codechange: Use override specifier in Window-derived classes. | peter1138 | |
2019-03-24 | Codechange: Use override specifier for DropDownListItem classes. | peter1138 | |
2019-03-24 | Codechange: Use override specifer for overriding member declarations | Henry Wilson | |
This is a C++11 feature that allows the compiler to check that a virtual member declaration overrides a base-class member with the same signature. Also src/blitter/32bpp_anim_sse4.hpp +38 is no longer erroneously marked as virtual despite being a template. | |||
2019-03-23 | Update: Translations from eints | translators | |
finnish: 13 changes by hpiirai danish: 2 changes by nielsmh | |||
2019-03-23 | Fix: Filtered file list did not scroll properly. (#7402) | PeterN | |
2019-03-22 | Update: Translations from eints | translators | |
luxembourgish: 31 changes by Phreeze croatian: 2 changes by VoyagerOne | |||
2019-03-21 | Fix: Bounds check NewGRF feature. | Peter Nelson | |
2019-03-21 | Codechange: NewGRF features are documented in hex, so display as hex. | Peter Nelson | |
2019-03-21 | Fix #7391, 9b99b95: Don't invalidate go to depot orders of non-aircraft when ↵ | Michael Lutz | |
invalidating hangar orders that happen to share IDs. This was caused because hangars are referred to by station ID, which is not unique with respect to depot IDs. | |||
2019-03-21 | Fix 4da83d2f66: Remove measurement tooltips when completed. | peter1138 | |
2019-03-21 | Update: Translations from eints | translators | |
dutch: 28 changes by JanWillem russian: 1 change by Lone_Wolf | |||
2019-03-20 | Fix #7390: Extra line removed by mistake caused server_password to disappear ↵ | peter1138 | |
from settings. | |||
2019-03-20 | Fix #7384: Industry Chain tooltips did not display on right-click. | peter1138 | |
This is fixed by handling the new Window::OnTooltip() event instead of OnHover() | |||
2019-03-20 | Codechange: Implement OnTooltip event for custom window tooltips. | peter1138 | |
This avoids windows from needing to know or care about tooltip delay settings. | |||
2019-03-20 | Fix #7386: Measurement tooltip for tunnels, aqueducts & docks did not ↵ | peter1138 | |
display or flickered. Measurement tooltip was auto-closed as the hover/right-click test for tooltips was not satisfied in this case. This is fixed by keeping the tooltip visible and instead explicitly closing the tooltip when the PlaceObject is cancelled/completed. | |||
2019-03-20 | Remove: ENABLE_NETWORK switch | Patric Stout | |
This switch has been a pain for years. Often disabling broke compilation, as no developer compiles OpenTTD without, neither do any of our official binaries. Additionaly, it has grown so hugely in our codebase, that it clearly shows that the current solution was a poor one. 350+ instances of "#ifdef ENABLE_NETWORK" were in the code, of which only ~30 in the networking code itself. The rest were all around the code to do the right thing, from GUI to NewGRF. A more proper solution would be to stub all the functions, and make sure the rest of the code can simply assume network is available. This was also partially done, and most variables were correct if networking was disabled. Despite that, often the #ifdefs were still used. With the recent removal of DOS, there is also no platform anymore which we support where networking isn't working out-of-the-box. All in all, it is time to remove the ENABLE_NETWORK switch. No replacement is planned, but if you feel we really need this option, we welcome any Pull Request which implements this in a way that doesn't crawl through the code like this diff shows we used to. |