summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-27Codechange: Only apply FORTIFY_SOURCE in non-debug buildsCharles Pigott
It requires -O1 (or greater) and GCC spews out warnings if you try using it with -O0
2020-06-27Fix: Warning about using the wrong enum typeCharles Pigott
2020-06-27Codechange: Add WARN_FORMAT to vseprintf and fix the cascade of warnings ↵Charles Pigott
that followed
2020-06-27Fix: Compiler warnings about memsetting non-trivial classesCharles Pigott
2020-06-27Fix #8232: 'Huge screenshot' warning being shown incorrectlyAbdurrahmaan Iqbal
2020-06-27Cleanup: Give `TakeScreenshot` a more sensible nameTechGeekNZ
2020-06-27Cleanup: Remove redundant implementation of TakeScreenshotTechGeekNZ
2020-06-27Feature: Increase max possible distance from border for oil refineries and rigsdP
2020-06-25Update: Translations from eintstranslators
indonesian: 16 changes by adjayanto
2020-06-24Update: Translations from eintstranslators
swedish: 3 changes by Joel_A
2020-06-22Update: Translations from eintstranslators
ukrainian: 1 change by nsergiy korean: 1 change by telk5093
2020-06-22Fix #8230: Resolve ".." when opening files in .tar (#8231)glx22
2020-06-22Fix 63ccb36e: Incorrect string type for OrderBackup::name save/loadJonathan G Rennison
In 63ccb36e BaseConsist::name was changed from a malloced char* to a std::string. OrderBackup inherits from BaseConsist. The saveload of OrderBackup::name was not updated.
2020-06-21Fix: Thread unsafe use of NetworkAddress::GetAddressAsStringJonathan G Rennison
Remove static buffer form of NetworkAddress::GetAddressAsString. This is used in multiple threads concurrently, and is not thread-safe. Replace it with a form returning std::string.
2020-06-19Update: Translations from eintstranslators
swedish: 33 changes by Joel_A
2020-06-18Fix: [CMake] Fix install paths using GNUInstallDirsDan Church
2020-06-18Fix: Racy use of flags in TCPConnecter::CheckCallbacksJonathan G Rennison
conected and aborted flags are used concurrently from multiple threads.
2020-06-18Fix: Violation of strict weak ordering in group name sortersJonathan G Rennison
This could be caused by a group being renamed, and the old name being cached from a previous sort. See: #7838
2020-06-18Fix: Violation of strict weak ordering in engine name sorterJonathan G Rennison
This could be caused by an engine being renamed, and the old name being cached from a previous sort. See: #7838
2020-06-18Codechange: Use template type for GUIList::Sort comparatorJonathan G Rennison
2020-06-18Change: Allow command cost-estimation while paused.frosch
2020-06-18Fix: Silence some warnings when building with clang-cl on VS 2019Niels Martin Hansen
Clang-cl presents as both _MSC_VER and __clang__ in the preprocessor which makes some things confusing.
2020-06-18Fix #8104: Always add WINDOW_RESIZABLE flag to SDL2 (#8211)nikolas
This fixes a bug that can reproduced with these steps: * Start openttd in fullscreen mode * Turn off fullscreen mode * Try to resize the window. The window can't be resized.
2020-06-12Update: Translations from eintstranslators
polish: 1 change by MaksOPENTTD1 danish: 1 change by beruic
2020-06-12Add: [CMake] Always export compile commands (#8199)Frédéric Simonis
2020-06-10Revert f51e66f6: creating zip bundle fails for MacOSglx22
2020-06-09Cleanup: Fix typos in code comments.TechGeekNZ
2020-06-09Cleanup: Give `SetDirtyBlocks` a more descriptive name.TechGeekNZ
2020-06-09Fix: [CMake] SDL2 Sound was not includedarikover
2020-06-08Fix: Display banlist's indexes correctlyMiguel Horta
Bug introduced via commit ab711e6942
2020-06-08Fix: CMake option values should be ON/OFFglx22
2020-06-08Fix: Restore compression of pdbglx22
2020-06-08Fix: Generate windows installer only for stable releasesglx22
2020-06-08Fix: Restore zip bundle for MacOSglx22
2020-06-07Fix: [CMake] Error when SDL2 provides SDL2ConfigFrédéric Simonis
2020-06-07Cleanup: Correct typographic errors in code comments.TechGeekNZ
2020-06-07Cleanup: Add undocumented parameter to GetSpriteSize.TechGeekNZ
2020-06-06Fix: MacOS bundle creationglx
2020-06-05Fix: Incorrect REV_YEAR, and parsing of .ottdrevglx
2020-06-05Fix: update COMPILING.md stating what changed with CMakePatric Stout
2020-06-05Codechange: remove #ifdef from .cpp files to exclude featuresPatric Stout
With CMake, these files are simply not compiled to start with.
2020-06-05Fix: [AzurePipelines] switch the CI / CD to CMake tooPatric Stout
This also means dropping Debian/jessie, as it has a CMake that is too old (3.0), with no real path to upgrade.
2020-06-05Add: create bundles via CPackPatric Stout
CPack works closely together with CMake to do the right thing in terms of bundling (called 'package'). This generates all the packaging we need, and some more.
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.
2020-06-05Codechange: rework how grf and ob[msg] are generatedPatric Stout
For grfs, it now uses CMake scripts to do its job, and both grf files are split into their own folder to make more clear what is going on. Additionally, it no longer builds in-source (although the resulting grf is copied back in the source folder). For ob[msg] it now uses CMake scripts to generate the translation files; the result is no longer stored in-source (but in the build folder). Although all files are available to create the GRFs and basesets, it won't really work till CMake is introduced (which will happen in a few commits from here)
2020-06-05Codechange: move regression outside of bin and make it work via CMake scriptPatric Stout
The tst_stationlist savegame had to be changed to start the correct AI. In the old setup, all regression AIs had the same name, which made it impossible to run both regressions in parallel. With the new setup this is possible. Although all files are available to run the regression, it won't really work till CMake is introduced (which will happen in a few commits from here)
2020-06-05Remove: all existing project filesPatric Stout
This prepares for the switch to CMake, which takes over all current exisiting forms of project files.
2020-06-05Fix: unbreak building with ICU on macOSMarcus Calhoun-Lopez
A symbol clash breaks building ICU on macOS, and although it isn't necessary, it might as well be possible.
2020-06-05Cleanup: StationCargoList::AreMergable doxygen comment references Vehicle ↵TechGeekNZ
instead of Station.
2020-06-05Cleanup: Add note explaining how settings.h is generated from source.TechGeekNZ