glx22
63d20c029b
Fix 887b912af: MinGW requires an extra link flag with _FORTIFY_SOURCE ( #8246 )
...
see #7860
4 years ago
Charles Pigott
218db00c4c
Fix #8216 : Don't show floating text on autoreplace if cost is 0
4 years ago
duck
1bc7047af7
Doc: Acknowledge integer type mismatch in certain admin packets using AdminUpdateType ( #8238 )
4 years ago
Charles Pigott
75a2ae2f48
Change: Also make roadside trees match the tree transparency option
4 years ago
Charles Pigott
4c45448fa9
Fix #8129 : Crash if a news message expires while viewing the endgame screen
4 years ago
Charles Pigott
dc8d0089e9
Codechange: Make sure script enums are the same size as their normal counterparts
4 years ago
Charles Pigott
887b912af1
Codechange: Only apply FORTIFY_SOURCE in non-debug builds
...
It requires -O1 (or greater) and GCC spews out warnings if you try using it with -O0
4 years ago
Charles Pigott
e5f931ef42
Fix: Warning about using the wrong enum type
4 years ago
Charles Pigott
64b1c70fdd
Codechange: Add WARN_FORMAT to vseprintf and fix the cascade of warnings that followed
4 years ago
Charles Pigott
224acb78b0
Fix: Compiler warnings about memsetting non-trivial classes
4 years ago
Abdurrahmaan Iqbal
8a655c7fb6
Fix #8232 : 'Huge screenshot' warning being shown incorrectly
4 years ago
TechGeekNZ
3c8d0aa354
Cleanup: Give `TakeScreenshot` a more sensible name
4 years ago
TechGeekNZ
ed6f31f601
Cleanup: Remove redundant implementation of TakeScreenshot
4 years ago
dP
a2e1102b15
Feature: Increase max possible distance from border for oil refineries and rigs
4 years ago
translators
b84d61ef6e
Update: Translations from eints
...
indonesian: 16 changes by adjayanto
4 years ago
translators
78b6587c40
Update: Translations from eints
...
swedish: 3 changes by Joel_A
4 years ago
translators
6d135d4b01
Update: Translations from eints
...
ukrainian: 1 change by nsergiy
korean: 1 change by telk5093
4 years ago
glx22
87a069c887
Fix #8230 : Resolve ".." when opening files in .tar ( #8231 )
4 years ago
Jonathan G Rennison
e6f3e15c32
Fix 63ccb36e: Incorrect string type for OrderBackup::name save/load
...
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.
4 years ago
Jonathan G Rennison
1ac0d4a5b2
Fix: Thread unsafe use of NetworkAddress::GetAddressAsString
...
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.
4 years ago
translators
9aca6ff971
Update: Translations from eints
...
swedish: 33 changes by Joel_A
4 years ago
Dan Church
506598a80a
Fix: [CMake] Fix install paths using GNUInstallDirs
4 years ago
Jonathan G Rennison
b0f192abc4
Fix: Racy use of flags in TCPConnecter::CheckCallbacks
...
conected and aborted flags are used concurrently from multiple threads.
4 years ago
Jonathan G Rennison
c167648d75
Fix: Violation of strict weak ordering in group name sorters
...
This could be caused by a group being renamed, and the old
name being cached from a previous sort.
See: #7838
4 years ago
Jonathan G Rennison
d830a34394
Fix: Violation of strict weak ordering in engine name sorter
...
This could be caused by an engine being renamed, and the old
name being cached from a previous sort.
See: #7838
4 years ago
Jonathan G Rennison
084b073e57
Codechange: Use template type for GUIList::Sort comparator
4 years ago
frosch
d8182b7e15
Change: Allow command cost-estimation while paused.
4 years ago
Niels Martin Hansen
9895ced6af
Fix: Silence some warnings when building with clang-cl on VS 2019
...
Clang-cl presents as both _MSC_VER and __clang__ in the preprocessor which makes some things confusing.
4 years ago
nikolas
c9aff698d0
Fix #8104 : Always add WINDOW_RESIZABLE flag to SDL2 ( #8211 )
...
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.
4 years ago
translators
208614343f
Update: Translations from eints
...
polish: 1 change by MaksOPENTTD1
danish: 1 change by beruic
4 years ago
Frédéric Simonis
fb7723a9d7
Add: [CMake] Always export compile commands ( #8199 )
4 years ago
glx22
8ef3d8f584
Revert f51e66f6: creating zip bundle fails for MacOS
4 years ago
TechGeekNZ
ee570e1b6d
Cleanup: Fix typos in code comments.
4 years ago
TechGeekNZ
8652a4db76
Cleanup: Give `SetDirtyBlocks` a more descriptive name.
4 years ago
arikover
caab095e4e
Fix: [CMake] SDL2 Sound was not included
4 years ago
Miguel Horta
40436019fd
Fix: Display banlist's indexes correctly
...
Bug introduced via commit ab711e6942
4 years ago
glx22
0b86bd8b03
Fix: CMake option values should be ON/OFF
4 years ago
glx22
1e01982a2e
Fix: Restore compression of pdb
4 years ago
glx22
3d76677594
Fix: Generate windows installer only for stable releases
4 years ago
glx22
f51e66f697
Fix: Restore zip bundle for MacOS
4 years ago
Frédéric Simonis
90e849198f
Fix: [CMake] Error when SDL2 provides SDL2Config
4 years ago
TechGeekNZ
fe1925931d
Cleanup: Correct typographic errors in code comments.
4 years ago
TechGeekNZ
3d8597d42e
Cleanup: Add undocumented parameter to GetSpriteSize.
4 years ago
glx
b145ee310c
Fix: MacOS bundle creation
4 years ago
glx
877d196ef5
Fix: Incorrect REV_YEAR, and parsing of .ottdrev
4 years ago
Patric Stout
945508b854
Fix: update COMPILING.md stating what changed with CMake
4 years ago
Patric Stout
4d04009d12
Codechange: remove #ifdef from .cpp files to exclude features
...
With CMake, these files are simply not compiled to start with.
4 years ago
Patric Stout
4218ebc932
Fix: [AzurePipelines] switch the CI / CD to CMake too
...
This also means dropping Debian/jessie, as it has a CMake that is
too old (3.0), with no real path to upgrade.
4 years ago
Patric Stout
b7643b1d36
Add: create bundles via CPack
...
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.
4 years ago
Patric Stout
56d54cf60e
Add: introduce CMake for project management
...
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.
4 years ago