summaryrefslogtreecommitdiff
path: root/src/os
AgeCommit message (Collapse)Author
2021-09-23Feature: Add selected toolbar buttons to MacBook Pro Touch BarDanny de Bruijne
2021-08-15Change: rebrand 1.12.0 to 12.0Patric Stout
One question that keeps popping up: "when do we release 2.0?". NewGRF will force that at least 1.16 will be 2.0, but to not wait for this, let's drop the "1." and be for ever done with that conversation. We are following in the footstep of giants here.
2021-07-16Change: [Win32] Set the console codepage to UTF-8glx22
2021-06-22Codechange: [OSX] Use more exact enum names where introduced with the 10.12 SDK.Michael Lutz
The enum values still have the exact same numerical values, but the 10.12 SDK introduced more explicit names (e.g. like NSEventTypeApplicationDefined instead of NSApplicationDefined) for several enum constants. Use them when available.
2021-06-17Cleanup: use nullptr instead of 0 or NULLRubidium
2021-06-13Codechange: convert printf DEBUG statements to fmt Debug statementsrubidium42
2021-06-10Codechange: [WIN32] Add a wrapper around GetProcAddress()glx22
2021-06-10Fix: [MinGW] Silence 2 cast warningsglx22
2021-06-10Fix: [MinGW32] Linking errorglx22
2021-06-10Fix: [MinGW32] SHGFP_TYPE_CURRENT is now present in win32apiglx22
2021-06-10Codechange: [WIN32] Reduce manual dynamic loading as WinXP is the minimum ↵glx22
version
2021-06-10Codechange: [WIN32] Use VersionHelpers where appropriateglx22
2021-05-30Codechange: rename _SQ64 into POINTER_IS_64BIT (#9313)Patric Stout
2021-05-29Codechange: rename str_validate to StrMakeValid(InPlace) (#9304)Patric Stout
This to be more explicit the function changes the value, and not returns yes/no.
2021-05-13Codechange: move font settings to std::stringrubidium42
2021-04-29Cleanup: Remove old FiosList helper methods. (#9139)PeterN
2021-04-20Fix: [CMake] Auto-fill version details in rev.cpp and ottres.rc (#9066)Loïc Guilloux
2021-04-11Fix #9015: Don't set free space value if not requested. (#9016)PeterN
2021-04-10Fix: [Win32] Font glyphs of certain widths brokeNiels Martin Hansen
Font glyphs between 33 and 39 pixels wide, in the Win32 font system, used wrong alignment and caused glyphs to appear broken. When in the 33 to 39 pixel range, glyphs without AA were rounded down to 32 pixel pitch, instead of up to 64 pixel pitch.
2021-04-09Change: [win32] Use user UI language for initial language selection (#8973) ↵Wim Leflere
(#8974)
2021-04-07Codechange: Remove the now meaningless console_cp parameter from OTTD2FSNiels Martin Hansen
2021-04-07Fix #8713: Change OTTD2FS and FS2OTTD to return string objects instead of ↵Niels Martin Hansen
static buffers
2021-03-13Fix #8860: [Win32] Crashlog window wasn't reliably shown for crashes not on ↵Michael Lutz
the main thread.
2021-02-23Change: [Win32] Use more modern way of getting free disk spaceNiels Martin Hansen
2021-02-23Codechange: Switch to explicit wide stringsNiels Martin Hansen
2021-02-23Remove: [Win32] Last pretenses of being able to build for Windows 95Niels Martin Hansen
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.