Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-04-24 | Fix: Scale news ticker scroll speed by UI scale | Niels Martin Hansen | |
2019-04-24 | Fix: Scale all min size and padding by UI scale | Niels Martin Hansen | |
2019-04-24 | Codechange: Revert unnecessary indentation change | Niels Martin Hansen | |
2019-04-24 | Fix: Also breaking for warning text in set company password | Niels Martin Hansen | |
2019-04-24 | Fix: Automatic line breaking of the warning | Niels Martin Hansen | |
2019-04-24 | Add: Warn players that company passwords are not truly secure | Niels Martin Hansen | |
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-20 | Fix e8d397e: Invisible station/waypoint signs could still be clicked on. (#7531) | PeterN | |
2019-04-20 | Fix: Bounds check access to railtype_map. (#7529) | PeterN | |
2019-04-20 | Add: NewGRF string codes to access PUSH/POP_COLOUR. (#7527) | PeterN | |
2019-04-19 | Fix #7526, 5b77102b6: FiosItem::operator< must return false for equality (#7528) | glx22 | |
2019-04-18 | Cleanup: remove core/sort_func.hpp as it's not used anymore | glx | |
2019-04-18 | Codechange: use std::array for _sorted_industry_types | glx | |
2019-04-18 | Codechange: use std::sort in SaveHighScoreValueNetwork() | glx | |
2019-04-18 | Codechange: use std::vector to sort _all_grfs linked list | glx | |
2019-04-18 | Codechange: use std::vector for _language_dropdown | glx | |
2019-04-18 | Codechange: use std::vector for _resolutions | glx | |
2019-04-18 | Codechange: use std::vector for _sorted_railtypes | glx | |
2019-04-18 | Codechange: use std::vector for _sorted_cargo_specs | glx | |
2019-04-17 | Update: Translations from eints | translators | |
indonesian: 9 changes by fanioz | |||
2019-04-16 | Fix #7235: Ensure catchment area of neutral station covers entire industry. ↵ | PeterN | |
(#7518) | |||
2019-04-16 | Update: Translations from eints | translators | |
indonesian: 6 changes by fanioz | |||
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-15 | Fix: Typos. (#7517) | stormcone | |
2019-04-15 | Update: Translations from eints | translators | |
luxembourgish: 1 change by Phreeze | |||
2019-04-13 | Cleanup: Fix alignment after NULL -> nullptr change. | peter1138 | |
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 | Fix: Industry coverage area is no longer rectangular. (#7464) | PeterN | |
AIs test station catchment in reverse to how players see station catchment. This did not take account of non-rectangular station catchment areas, so AIs could end up placing stations in locations that did not accept/deliver cargo. | |||
2019-04-13 | Codechange: Replace duplicated code with TileArea::Expand() (#7467) | PeterN | |
2019-04-13 | Codechange: use std::sort() for all std::vector types | glx | |
2019-04-13 | Codechange: use std::sort() to sort file lists | glx | |
2019-04-13 | Codechange: use std::sort() in EngList_Sort[Partial]() | glx | |
2019-04-13 | Codechange: use std::sort() in GUIList | glx | |
2019-04-13 | Change: Always report error when ordering a road vehicle to wrong type of ↵ | PeterN | |
road stop. (#7316) This was inconsistent before, depending on road/tram and articulated/single vehicle status. | |||
2019-04-11 | Codechange: Replace NULL with nullptr in squirrel interface. | peter1138 | |
2019-04-11 | Codechange: NULL -> nullptr in settings files. | peter1138 | |
2019-04-11 | Fix #7491: Send company update admin message when bankruptcy counter changes. | peter1138 | |
2019-04-11 | Fix 50e08f333a: Creating a cargo subsidy with town as source did not ↵ | SamuXarick | |
consider min population. (#7493) | |||
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
2019-04-10 | Fix #7494: std::sort() and qsort() use different comparators (#7495) | glx22 | |
2019-04-10 | Update: Translations from eints | translators | |
luxembourgish: 17 changes by Phreeze spanish (mexican): 2 changes by njn | |||
2019-04-09 | Fix: Crash due to use of invalid iterator in ClientNetworkContentSocketHandler | Jonathan G Rennison | |
In particular this crash can be observed when using the bootstrap GUI to download the base graphics. In ClientNetworkContentSocketHandler::OnReceiveContentInfo ClientNetworkContentSocketHandler::callbacks is iterated, using an iterator cb->OnReceiveContentInfo() is called (cb is of type BootstrapAskForDownloadWindow) This calls new BootstrapContentDownloadStatusWindow() This inherits from BaseNetworkContentDownloadStatusWindow The constructor of which calls _network_content_client.AddCallback(this) This reallocates the std::vector which is being iterated in ClientNetworkContentSocketHandler::OnReceiveContentInfo This results in iter being invalid, and an assertion failure occurs shortly afterwards due to its use in the next iteration of cb->OnReceiveContentInfo() Adjust all locations where ClientNetworkContentSocketHandler::callbacks is iterated to avoid problematic behaviour | |||
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-09 | Codechange: Use std::vector instead of AutoDeleteSmallVector in GS text ↵ | Michael Lutz | |
handling. | |||
2019-04-09 | Codechange: Replace AutoDeleteSmallVector with direct std::vector use in ↵ | Michael Lutz | |
text layout code. | |||
2019-04-09 | Codechange: Store text layout runs directly as values in a std::vector ↵ | Michael Lutz | |
instead of heap allocated. This reduces memory allocations and heap fragmentation. |