summaryrefslogtreecommitdiff
path: root/src/video/cocoa/cocoa_v.mm
AgeCommit message (Collapse)Author
2021-01-03Revert 4ce53cb8: [OSX] Delayed fullscreen switch is not needed anymore.Michael Lutz
The fix for #8067 solves the real issue, making this workaround unneeded.
2021-01-03Fix #8067: [OSX] Calculate title bar height instead of assuming a fixed value.Michael Lutz
2021-01-03Fix: [OSX] Quitting in fullscreen mode would loose the original window size.Michael Lutz
This replicates the behaviour on e.g. Windows, which saves the original window size.
2021-01-03Change: [OSX] Hide Dock and menu during fullscreen mode.Michael Lutz
2021-01-03Codechange: [OSX] Silence some annoying warnings.Michael Lutz
2021-01-03Cleanup: [OSX] Remove cargo cult back-buffer alpha setting on show/hide and ↵Michael Lutz
instead simply initialise the buffer on allocation.
2021-01-03Change: [OSX] Compiling the Cocoa/Quartz video driver cannot be disabled ↵Michael Lutz
anymore.
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.
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-05-21Codechange: Use std::string in the driver and blitter selection code.Michael Lutz
2020-04-12Remove: [OSX] Stuff that is pre-10.7 from the Cocoa/Quartz video driver.Michael Lutz
2020-04-12Remove: [OSX] Old fullscreen subdriver for pre 10.7 systems.Michael Lutz
Since the move to C++11, building for pre 10.7 is not possible with the native Apple tools. Also, due to bitrot, the file doesn't even compile anymore. While this could be fixed, it shows that this subdriver is basically never used anymore.
2020-04-12Remove: [OSX] QuickDraw video subdriver used for OSX versions up to 10.4.Michael Lutz
Since the C++11 move, getting OpenTTD to compile and run for anything below 10.7 basically requires building a custom compiler and libc++. Also, the QuickDraw subdriver crashes on more modern OSX version. While this is fixable, keeping the driver around is probably pointless.
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-16Change: [OSX] Recreate backing store if the colour profile of the screen (or ↵Michael Lutz
the screen) the game window is one changes. This will result in changing colours if moving OpenTTD from one screen to another, but should avoid performance problems if the window is moved.
2019-04-18Codechange: use std::vector for _resolutionsglx
2018-05-27Change: [OSX] Disable macOS Sierra's automatic tab featureAlexander Weiss
2018-04-21Fix: [OSX] Compiler warning about an unused NULL argument.Michael Lutz
2018-04-10Codechange: [OSX] Use newer APIs to get resolution information when available.Michael Lutz
2018-04-10Codechange: [OSX] Use non-deprecated API for displaying an alert where ↵Michael Lutz
supported.
2018-04-10Fix: [OSX] Remove some OSX compiler warnings on newer SDKs/compilers.Michael Lutz
2014-09-13(svn r26818) -Fix [FS#AndyShouldHaveFoundFlySprayByNow] (r26758): [OSX] Line ↵michi_cc
history and scrolling in the console window went on a walk.
2014-08-24(svn r26758) -Fix [FS#5972]: [OSX] Implement more of the text editing API to ↵michi_cc
prevent crashes and improve IME support.
2014-04-28(svn r26538) -Codechange: remove double accounting of the driversrubidium
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-24(svn r26502) -Fix: OSX compilation errorrubidium
2014-01-02(svn r26209) -Codechange: remove some template magic and simplify some coderubidium
2013-11-17(svn r26023) -Fix [FS#5805] (r25686): [OSX] Checking for a valid ↵michi_cc
NSTextInputContext is supposed to fail on 10.4 according to docs, but somehow didn't, leading to a crash when an edit box lost focus.
2013-11-14(svn r26001) -Fix [FS#5795a] (r25686): [OSX] Clear any pending marked ↵michi_cc
characters from an edit box losing focus.
2013-11-09(svn r25962) -Fix (r25951): [OSX] Do the SDK version test the proper way 'round.michi_cc
2013-11-08(svn r25951) -Fix [FS#5797]: [OSX] Disable the old fullscreen sub-driver ↵michi_cc
when compiling with SDK versions 10.9+.
2013-11-08(svn r25950) -Codechange: [OSX] Move some functions used by all video ↵michi_cc
sub-drivers into the common source file.
2013-08-31(svn r25751) -Fix (r25657): [OSX] Restore fullscreen state also when ↵michi_cc
starting on 10.7+.
2013-08-10(svn r25714) -Fix: explicitly cast some things to silence warnings on GCC 4.0fonsinchen
2013-08-10(svn r25710) -Fix: string arguments to NSNotificationCenter::addObserver and ↵fonsinchen
NSNotificationCenter::postNotificationName can't be const in certain versions of OSX
2013-08-05(svn r25693) -Add: [OSX] Support the new IME functions introduced with 10.5.michi_cc
2013-08-05(svn r25691) -Add: [OSX] Support for mouse selection in the IME composition ↵michi_cc
string.
2013-08-05(svn r25690) -Change: [OSX] Position the candidate window at the caret position.michi_cc
2013-08-05(svn r25689) -Add: [OSX] Display the IME composition string ourself.michi_cc
2013-08-05(svn r25688) -Codechange: [OSX] Make our view aware of text input by IMEs.michi_cc
2013-08-05(svn r25687) -Codechange: [OSX] Pass text input directly down to the text ↵michi_cc
handling.
2013-08-05(svn r25686) -Codechange: [OSX] Abandon IME input if the edit box lost the ↵michi_cc
focus.
2013-08-05(svn r25665) -Fix [FS#4689]: [OSX] Crash when unhiding the main window.michi_cc
2013-08-05(svn r25664) -Add [FS#4847]: [OSX] Bootstrap downloading of a baseset. ↵michi_cc
(Matthieu)
2013-08-05(svn r25660) -Fix: [OSX] The name's OpenTTD, not OTTD.michi_cc
2013-08-05(svn r25655) -Fix: [OSX] Mouse cursor wasn't displayed properly after ↵michi_cc
switching to fullscreen on 10.7+. (Based on patch by Maedhros)
2013-01-01(svn r24877) -Fix: some whitespace "errors"rubidium
2012-09-13(svn r24524) -Fix [FS#5296]: fix some compile problems in mac-only code (__ln__)yexo