summaryrefslogtreecommitdiff
path: root/src/os
AgeCommit message (Collapse)Author
2020-07-03Fix: Globally apply preprocessor directive coding styleTechGeekNZ
Global; except for the 32-bit SSE blitter, which has some #DEFINEs in not-very-nice places.
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-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-01Fix: [Win32] Crash message not fitting in crash dialogglx
2020-06-01Fix #7970: [Win32] Disable event loop on crash to prevent recursive faultsglx
2020-05-06Codechange: Use a dynamic copyright yearglx
2020-04-12Cleanup: [OSX] Mop up some remaining stuff catering to compiling with very ↵Michael Lutz
old SDK versions.
2020-04-12Codechange: [OSX] Allow compiling with SDK version pre 10.9.Michael Lutz
2020-02-15Fix: [SDL2] support pasting from clipboard on LinuxLCD 47
2020-02-08Change: Heading for 1.11 nowglx
2020-01-12Fix: [OSX] Don't show a crash/assertion message box for a GUI-less video driver.glx
2019-12-24Codechange: Improve MSVC ARM64 supportMichał Janiszewski
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-11-01Codechange: [OSX] Use std::unique_ptr with a custom deleter to simply memory ↵Michael Lutz
management of Core Foundation types.
2019-09-29Fix: Some typos found using codespellJMcKiern
2019-09-29Fix: [OSX] Wrong allocator usage for creating a CFString.Michael Lutz
2019-09-01Fix #7704: [OSX] Handle malformed UTF8 stringsuvealonso
2019-05-14Codechange: [Win32] Remove a FreeType work-around from Uniscribe if not ↵Michael Lutz
using FreeType.
2019-05-14Codechange: [Win32] Pass a native GDI font description around when we have ↵Michael Lutz
one, instead of repeatedly guessing the font.
2019-05-04Fix #7570: Show Github URL in the crashlog windowTransportman
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-04-09Codechange: Replace AutoDeleteSmallVector with direct std::vector use in ↵Michael Lutz
text layout code.
2019-04-09Codechange: Store text layout runs directly as values in a std::vector ↵Michael Lutz
instead of heap allocated. This reduces memory allocations and heap fragmentation.
2019-04-09Codechange: Use override specifier for text layout classes.Michael Lutz
2019-04-07Fix: [Windows] OpenTTD window may be inactive when an error happens (#7482)glx22
2019-04-06Codechange: C++11 STL has a function for getting the number of CPU cores.Michael Lutz
2019-04-06Codechange: Use platform independent C++11 function for sleeping on a thread.Michael Lutz
2019-04-06Codechange: Replace custom thread code with C++11 thread objects.Michael Lutz
We assume a conforming C++11 compiler environment that has a valid <thread>-header. Failure to run a real thread is handled gracefully.
2019-03-28Fix: MSVC warnings (#7423)glx22
2019-03-26Codechange: Move 2 constants into the ifdef where they're usedCharles Pigott
2019-03-26Cleanup: Remove unused size template parameters from SmallMap and ↵Henry Wilson
Auto[Free|Delete]SmallVector
2019-03-26Codechange: Replaced SmallVector::[Begin|End]() with std alternativesHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Find() with std::find()Henry Wilson
2019-03-26Codechange: Replaced SmallVector::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
2019-03-26Codechange: Replaced SmallVector::Get() const with std alternativesHenry Wilson
2019-03-26Codechange: Replace SmallVector::Length() with std::vector::size()Henry Wilson
2019-03-24Codechange: Use override specifer for overriding member declarationsHenry 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-05Remove: BeOS support (deprecated by Haiku)Patric Stout
In 10 years there is no commit to change how BeOS 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), BeOS is no longer support. SDL2 suggests to use Haiku instead of BeOS.
2019-03-05Remove: MorphOS / AmigaOS supportPatric 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-03-03Change: Heading for 1.10 now (#7319)frosch
2019-02-01Doc: Yearly increment.Peter Nelson
2019-01-25Fix: enable DPI-awareness for MINGW buildsglx
2019-01-17Codechange: Remove unnecessarily defined functions under MinGWCharles Pigott
2019-01-17Fix: A few minor compile warnings under MinGWCharles Pigott
2019-01-05Fix: [Win32] don't mess with std[out|err|in] if we can't allocate a consoleglx
2018-12-08Add: [OSX] Text layout using the native CoreText API.Michael Lutz
By default, the native API will be used instead of ICU, but if ICU is forced in using configure, it will take precedence.
2018-12-08Add: [OSX] Native text caret handling.Michael Lutz
2018-12-08Add: [OSX] Native natural sort implementation.Michael Lutz
2018-12-01Fix: [Win32] Align sprite glyphs to the font baseline when using Uniscribe ↵Michael Lutz
text layout.
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott