summaryrefslogtreecommitdiff
path: root/src/os/macosx/macos.mm
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-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.
2020-04-12Cleanup: [OSX] Mop up some remaining stuff catering to compiling with very ↵Michael Lutz
old SDK versions.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-06Codechange: C++11 STL has a function for getting the number of CPU cores.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
2014-04-23(svn r26485) -Codechange: Replace ttd_strlcpy and ttd_strlcat with strecpy ↵frosch
and strecat.
2013-08-05(svn r25663) -Fix [FS#4857]: [OSX] Monospace font detection.michi_cc
2011-12-11(svn r23490) -Add [FS#2750]: OpenBrowser function to open a browser on major ↵yexo
OSes
2011-12-10(svn r23481) -Add: Function to get the CPU core count.michi_cc
2011-11-30(svn r23376) -Remove: on popular demand, remove my (revoked) name from ↵truebrain
comments in the code. It was silly to name me like that to begin with ;) (based on patch by HackaLittleBit)
2011-07-21(svn r22678) -Doc: More doxygen sprinkles in MacOSX code and cocoa video driverplanetmaker
2010-09-30(svn r20859) -Fix [FS#4143]: Remove an outdated comment and just reference ↵frosch
the readme. (planetmaker)
2009-11-14(svn r18074) -Fix [FS#3314]: [OSX] Don't link clipboard support twice when ↵michi_cc
building without Cocoa.
2009-10-04(svn r17713) -Cleanup: [OSX] Move variable definitions to first use and ↵michi_cc
apply more coding style.
2009-10-04(svn r17711) -Codechange: [OSX] Don't use deprecated methods to construct a ↵michi_cc
Cocoa string.
2009-10-04(svn r17708) -Feature [FS#2053]: [OSX] Implement clipboard support for OS X.michi_cc
2009-10-04(svn r17706) -Codechange: [OSX] Rework the crash handling to use the common ↵michi_cc
CrashLog infrastructure.
2009-10-04(svn r17704) -Codechange: [OSX] Improve detection of OS X version. (planetmaker)michi_cc
2009-10-04(svn r17702) -Change: [OSX] Assure that the minimal OSX version is defined ↵michi_cc
in all cases. -Codechange: [OSX] Improve conditional defines for OS version dependant code.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-14(svn r16827) -Codechange: make OSX specific files include stdafx.h always as ↵rubidium
the first file. Also unify OSX specific stuff into osx_stdafx.h and remove unused includes.
2009-03-29(svn r15892) -Codechange: [OSX] some type fixes so OpenTTD likes more of the ↵rubidium
3.1.x Xcodes.
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2008-07-31(svn r13893) -Fix: [OSX] solved a deprecated warning specific to 10.5bjarni
2008-05-04(svn r12944) -Codechange: use rev.h instead of externs at many placessmatz
2007-12-21(svn r11678) -Fix (r11674): [OSX] fixed compilationbjarni
2007-11-30(svn r11542) -Fix r11540: [OSX] presumed 10.3 style strings when using ↵bjarni
GetCurrentLocale nomatter what OSX the target was
2007-11-30(svn r11540) -Fix: [OSX] Don't try to compile the quartz video driver on OSX ↵bjarni
10.3. It will fail
2007-11-25(svn r11521) -Codechange: [OSX] Check what the running os version is in a ↵egladil
cleaner way.
2007-11-07(svn r11389) -Fix [FS#1386]: Replace calls to deprecated API with newer ones ↵egladil
and handle broken iconv declaration in OSX 10.5.
2007-08-11(svn r10851) -Feature [OSX]: OpenTTD will now pick the same language as ↵bjarni
finder is set to if no config file is found (ln-)
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-02-05(svn r8605) -Codechange: [OSX] changed all objective C to objective C++bjarni
This will permanently solve the issue where compilation on OSX broke because C++ code was added to some header files -Note: (important if you develop mac specific code) taken from http://developer.apple.com/releasenotes/Cocoa/Objective-C++.html gdb lacks an integrated C++ with Objective-C parser. This means that gdb won't be able to evaluate expressions that contain both C++ and Objective-C constructs. gdb assumes that the language for ".mm" files is C++. you can change it to objective C by typing: (gdb) set language objc Mixing C++ and objective C has some limitation (see link for all of them)