summaryrefslogtreecommitdiff
path: root/src/os
AgeCommit message (Collapse)Author
2021-02-22Codechange: Make the simple Malloc sprite allocator globally usable.Michael Lutz
2021-02-22Codechange: Give sprite encoders a hint which colour components of a sprite ↵Michael Lutz
are filled with useful information.
2021-02-22Add: [Win32] Video driver that uses OpenGL to transfer the video buffer to ↵Michael Lutz
the screen.
2021-02-14Change: [OSX] When auto-detecting a font, try for sans-serif first.Michael Lutz
On a display, especially with small fonts or low pixel sizes, sans-serif fonts are usually easier to read than serif fonts.
2021-02-14Add: [OSX] Native font rendering without using FreeType.Michael Lutz
2021-02-14Codechange: Replace magic numbers by constants.Michael Lutz
2021-02-13Remove: [OSX] Startup splash screen.Michael Lutz
It wasn't displayed anyway as it was never copied to the bundle.
2021-02-13Codechange: Move Fontconfig-specific code to a seperate file.Michael Lutz
2021-02-13Codechange: [OSX] Move OSX-specific font code to a separate file.Michael Lutz
2021-02-13Codechange: [Win32] Move Win32-specific font code to a seperate file.Michael Lutz
2021-02-13Codechange: Make OS font handle of the FontCache read-only.Michael Lutz
2021-02-13Fix f1f281b31: [Win32] MinGW doesn't know timeapi.hglx22
2021-02-09Fix: [Win32] Set minimum resolution for timers to 1ms. (#8660)Loïc Guilloux
2021-02-08Fix: [Emscripten] open links in browser (#8655)embeddedt
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2021-01-03Codechange: [OSX] Silence some annoying warnings.Michael Lutz
2021-01-03Codechange: [OSX] Re-arrange the OSX video driver code by combining all ↵Michael Lutz
drawing code and moving the window/event handling to a different file. This is just a code move/rename, not a functionality change.
2021-01-03Add: always set PERSONAL_DIR "/content_download" in search path (#8481)Patric Stout
This means that if you start OpenTTD with "-c" to indicate another location to store files, it can still read the content you already downloaded from your PERSONAL_DIR. This folder is, however, read-only. This is useful for situations where you downloaded OpenGFX via the content-service, but want to run the regression or want to run with a clean configuration. With this change, you no longer need to download OpenGFX again.
2021-01-03Fix: [OSX] Fonts loaded directly from a file have to be registered with ↵Michael Lutz
CoreText for proper text layout.
2020-12-27Codechange: Use std::string in FIO search path handling.Michael Lutz
2020-12-27Codechange: Store file search paths as std::string.Michael Lutz
2020-12-27Codechange: Stringify config file paths.Michael Lutz
2020-12-13Fix: set SP_WORKING_DIR earlier with '-c'Patric Stout
On Windows, relative folders don't work so well. So we need to lookup the full path. This is best done in DetermineBasePaths() and as a bonus that only sets SP_WORKING_DIR once.
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