summaryrefslogtreecommitdiff
path: root/src/os/macosx
AgeCommit message (Collapse)Author
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-13Codechange: convert printf DEBUG statements to fmt Debug statementsrubidium42
2021-05-30Codechange: rename _SQ64 into POINTER_IS_64BIT (#9313)Patric Stout
2021-05-13Codechange: move font settings to std::stringrubidium42
2021-03-13Fix #8860: [Win32] Crashlog window wasn't reliably shown for crashes not on ↵Michael Lutz
the main thread.
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-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-13Remove: [OSX] Startup splash screen.Michael Lutz
It wasn't displayed anyway as it was never copied to the bundle.
2021-02-13Codechange: [OSX] Move OSX-specific font code to a separate file.Michael Lutz
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-03Fix: [OSX] Fonts loaded directly from a file have to be registered with ↵Michael Lutz
CoreText for proper text layout.
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-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-01-12Fix: [OSX] Don't show a crash/assertion message box for a GUI-less video driver.glx
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-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-06Codechange: C++11 STL has a function for getting the number of CPU cores.Michael Lutz
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::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.
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-04-10Codechange: [OSX] Use newer APIs to get resolution information when available.Michael Lutz
2018-04-10Codechange: [OSX] Try to set the thread name for debugger display.Michael Lutz
2018-04-10Codechange: [OSX] Use 10.10+ API to get the OSX version when available.Michael Lutz
2018-04-10Fix: [OSX] Remove some OSX compiler warnings on newer SDKs/compilers.Michael Lutz
2016-10-31(svn r27675) -Fix [FS#6502]: [OSX] Building with 10.11 or 10.12 SDKs.michi_cc
2014-07-30(svn r26709) -Fix (r15892 and others) [FS#6069]: [OSX] Compilation fails ↵planetmaker
with some lzo2 versions if we define __LP64__ as 0 instead of checking whether it is defined (kernigh2)
2014-04-23(svn r26485) -Codechange: Replace ttd_strlcpy and ttd_strlcat with strecpy ↵frosch
and strecat.
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-01-02(svn r26209) -Codechange: remove some template magic and simplify some coderubidium
2013-10-26(svn r25913) -Fix: [OSX] Compilation under OSX 10.9. (zydeco)michi_cc
2013-08-05(svn r25666) -Feature [FS#4760]: [OSX] Pinch gesture support for zooming. ↵michi_cc
(Based on patch by leecbaker)