Commit Graph

359 Commits

Author SHA1 Message Date
uvealonso ead772324e Fix #7704: [OSX] Handle malformed UTF8 strings 2019-09-01 14:01:52 +02:00
Michael Lutz de73c8f91c Codechange: [Win32] Remove a FreeType work-around from Uniscribe if not using FreeType. 2019-05-14 11:21:36 +01:00
Michael Lutz d2ed426077 Codechange: [Win32] Pass a native GDI font description around when we have one, instead of repeatedly guessing the font. 2019-05-14 11:21:36 +01:00
Transportman 7ef2f11c4c Fix #7570: Show Github URL in the crashlog window 2019-05-04 19:54:32 +01:00
Henry Wilson 7c8e7c6b6e Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
Michael Lutz baf9229931 Codechange: Replace AutoDeleteSmallVector with direct std::vector use in text layout code. 2019-04-09 22:45:15 +02:00
Michael Lutz 329bb52613 Codechange: Store text layout runs directly as values in a std::vector instead of heap allocated.
This reduces memory allocations and heap fragmentation.
2019-04-09 22:45:15 +02:00
Michael Lutz fbc4cef180 Codechange: Use override specifier for text layout classes. 2019-04-09 22:45:15 +02:00
glx22 3e608afa6c
Fix: [Windows] OpenTTD window may be inactive when an error happens (#7482) 2019-04-07 21:52:30 +02:00
Michael Lutz 967b27a2c1 Codechange: C++11 STL has a function for getting the number of CPU cores. 2019-04-06 11:27:39 +02:00
Michael Lutz ae748166d0 Codechange: Use platform independent C++11 function for sleeping on a thread. 2019-04-06 11:27:39 +02:00
Michael Lutz 05bc2ed7cb Codechange: Replace custom thread code with C++11 thread objects.
We assume a conforming C++11 compiler environment that has a valid <thread>-header.
Failure to run a real thread is handled gracefully.
2019-04-06 11:27:39 +02:00
glx22 66dd7c3879
Fix: MSVC warnings (#7423) 2019-03-28 00:09:33 +01:00
Charles Pigott a065d4623e Codechange: Move 2 constants into the ifdef where they're used 2019-03-26 20:54:40 +00:00
Henry Wilson cc62f4163f Cleanup: Remove unused size template parameters from SmallMap and Auto[Free|Delete]SmallVector 2019-03-26 20:15:57 +00:00
Henry Wilson ab711e6942 Codechange: Replaced SmallVector::[Begin|End]() with std alternatives 2019-03-26 20:15:57 +00:00
Henry Wilson 2bc2de9034 Codechange: Replaced SmallVector::Find() with std::find() 2019-03-26 20:15:57 +00:00
Henry Wilson a0f36a50e6 Codechange: Replaced SmallVector::Append() with std::vector::[push|emplace]_back() 2019-03-26 20:15:57 +00:00
Henry Wilson 097328c3d7 Codechange: Replaced SmallVector::Get() const with std alternatives 2019-03-26 20:15:57 +00:00
Henry Wilson a690936ed7 Codechange: Replace SmallVector::Length() with std::vector::size() 2019-03-26 20:15:57 +00:00
Henry Wilson af7d9020a1 Codechange: Use override specifer for overriding member declarations
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.
2019-03-24 16:10:04 +01:00
Patric Stout f58db44ff2 Remove: BeOS support (deprecated by Haiku)
In 10 years there is no commit to change how BeOS works, and we
have no active maintainer for it. It is unlikely it works in its
current state (but not impossible).

With the arrival of SDL2 (and removal of SDL), BeOS is no longer
support. SDL2 suggests to use Haiku instead of BeOS.
2019-03-05 22:03:00 +01:00
Patric Stout 7784d77713 Remove: MorphOS / AmigaOS support
In 10 years there is no commit to change how MorphOS works, and we
have no active maintainer for it. It is unlikely it works in its
current state (but not impossible).

With the arrival of SDL2 (and removal of SDL), MorphOS is no longer
support. There is an SDL2 port for MorphOS, but it is not maintained
by upstream SDL2, and nobody can currently test it out.

If anyone wants to re-add MorphOS, please do (revert this patch,
fix the problems, and create a Pull Request). If you need any help
doing so, let us know! It is not that we don't like MorphOS, it is
that we don't have anyone fixing the problems :(
2019-03-05 22:03:00 +01:00
frosch a67ee02529
Change: Heading for 1.10 now (#7319) 2019-03-03 20:51:57 +01:00
Peter Nelson fa53abe864 Doc: Yearly increment. 2019-02-01 22:12:07 +00:00
glx 255fa6e1a8 Fix: enable DPI-awareness for MINGW builds 2019-01-25 16:59:41 +01:00
Charles Pigott fe8c24e081 Codechange: Remove unnecessarily defined functions under MinGW 2019-01-17 21:55:15 +00:00
Charles Pigott 2d981a4b2c Fix: A few minor compile warnings under MinGW 2019-01-17 21:55:15 +00:00
glx 92d3358db5 Fix: [Win32] don't mess with std[out|err|in] if we can't allocate a console 2019-01-05 18:10:14 +01:00
Michael Lutz 32ce1ce347 Add: [OSX] Text layout using the native CoreText API.
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-08 20:13:27 +01:00
Michael Lutz 4bf216993a Add: [OSX] Native text caret handling. 2018-12-08 20:13:27 +01:00
Michael Lutz 8d7cd6a526 Add: [OSX] Native natural sort implementation. 2018-12-08 20:13:27 +01:00
Michael Lutz 3b8db31a49 Fix: [Win32] Align sprite glyphs to the font baseline when using Uniscribe text layout. 2018-12-01 11:57:14 +01:00
Charles Pigott f5b1115039 Doc: Lots and lots of doxymentation fixes 2018-10-31 12:35:54 +01:00
Charles Pigott 63898f61b0 Codechange: Rearrange struct packing defines and make MinGW use _Pragma pack style 2018-07-19 20:24:17 +02:00
Michael Lutz eec3f40931 Change: [Win32] Use Uniscribe instead of ICU for text caret handling.
This removes the need for the ICU lib on Windows.
2018-06-06 21:37:09 +02:00
Michael Lutz 768a31bfe3 Add: [Win32] Text layout using the native Windows Uniscribe library.
Uniscribe is sometimes producing different results compared to ICU, especially
when RTL and LTR content is mixed. Comparing the results to other programs
(like editors or web browsers) leads me to believe that the result are at least
not worse than ICU and possibly better.
2018-06-06 21:37:09 +02:00
Michael Lutz f4394debdc Add: [Win32] Native natural sort implementation. 2018-06-06 21:37:09 +02:00
Patric Stout aef69443e7 Remove: WinCE support 2018-04-29 15:32:16 +02:00
Patric Stout 85adde7485 Remove: PSP support 2018-04-29 15:32:16 +02:00
frosch 192770e6da Change: Non-tag revisions are now named '<commitdate>-<branch>-g<shorthash><modified>'. 2018-04-12 22:26:45 +02:00
Michael Lutz 6c3902ac41 Codechange: [OSX] Use newer APIs to get resolution information when available. 2018-04-10 23:30:01 +02:00
Michael Lutz f670277ff5 Codechange: [OSX] Try to set the thread name for debugger display. 2018-04-10 23:30:01 +02:00
Michael Lutz 4971678f52 Codechange: [OSX] Use 10.10+ API to get the OSX version when available. 2018-04-10 23:30:01 +02:00
Michael Lutz 74b7f0a9aa Fix: [OSX] Remove some OSX compiler warnings on newer SDKs/compilers. 2018-04-10 23:30:01 +02:00
frosch 09d4735679 (svn r27993) -Change: Heading for 1.9 now 2018-03-14 19:36:41 +00:00
frosch 91464af737 (svn r27980) -Doc: Yearly increment 2018-03-11 12:24:32 +00:00
frosch afcef7faa6 (svn r27780) -Update: Numbers 2017-03-11 20:50:26 +00:00
frosch 15032bd765 (svn r27777) -Doc: Yearly increment 2017-03-11 16:49:51 +00:00
michi_cc 94b3965989 (svn r27675) -Fix [FS#6502]: [OSX] Building with 10.11 or 10.12 SDKs. 2016-10-31 19:29:01 +00:00
michi_cc 51052f4961 (svn r27674) -Fix (r27673): Mingw... 2016-10-30 19:27:07 +00:00
michi_cc c83306391e (svn r27673) -Add: [Win32] Thread names for windows debuggers. 2016-10-30 18:22:55 +00:00
alberth 95bb103a23 (svn r27643) -Codechange: FiosGetDrives function also takes a destination file list. 2016-09-04 12:54:30 +00:00
frosch 0c7c0ada78 (svn r27518) -Update: Numbers 2016-03-01 20:00:22 +00:00
frosch 56c54dcaec (svn r27516) -Update: Documentation 2016-03-01 19:41:31 +00:00
michi_cc be689517f6 (svn r27481) -Fix: [Win32] Stdin/out/err need to be re-assigned differently if the runtime lib of MSVC2015 is used. 2015-12-28 13:16:41 +00:00
rubidium 8b1f9399bc (svn r27385) -Fix: compilation failure due #define-ing enum name of a system library before including the system library 2015-08-13 18:13:24 +00:00
michi_cc 35b77450f8 (svn r27380) -Fix: [Win32] Compilation with MSVC2015. 2015-08-10 20:21:29 +00:00
rubidium 10466746b4 (svn r27290) -Fix: sanitize the command line arguments before doing anything complex with them 2015-05-20 18:18:26 +00:00
frosch 6477356dd2 (svn r27192) -Change: heading for 1.6 now 2015-03-17 20:33:44 +00:00
planetmaker 15a29b8b28 (svn r27176) -Fix: Compilation with MinGW64 (Eddy Arfik) 2015-03-02 09:10:16 +00:00
rubidium 9428d6fb34 (svn r27103) -Update: copyright date 2015-01-01 20:51:18 +00:00
frosch 396dde1636 (svn r27092) -Fix/Add [FS#6186]: Compilation on OS/2 (smedles) 2014-12-24 17:17:18 +00:00
alberth 35f671229b (svn r26724) -Fix[FS#6077] Use the normal search path to look for xdg-open at Unix (kernigh2) 2014-08-09 19:39:14 +00:00
planetmaker bcb9c64ac8 (svn r26709) -Fix (r15892 and others) [FS#6069]: [OSX] Compilation fails with some lzo2 versions if we define __LP64__ as 0 instead of checking whether it is defined (kernigh2) 2014-07-30 20:19:29 +00:00
frosch 51f68c42bb (svn r26606) -Fix [FS#6022]: Filename capitalisation (NG) 2014-05-22 19:03:14 +00:00
rubidium b476086c39 (svn r26538) -Codechange: remove double accounting of the drivers 2014-04-28 21:06:51 +00:00
frosch cadfedd584 (svn r26523) -Fix [FS#5992]: OpenBSD compilation (MagisterQuis) 2014-04-27 13:21:30 +00:00
rubidium 5ebf72d126 (svn r26517) -Fix: Windows 9x (or rather non-unicode) compile failures 2014-04-26 07:30:15 +00:00
rubidium 9ed12b0f07 (svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL) 2014-04-25 15:40:32 +00:00
rubidium ce06139328 (svn r26490) -Fix (r26489): compilation under Windows 2014-04-23 21:30:32 +00:00
rubidium 5b82822c12 (svn r26486) -Codechange: replace a number of snprintfs with seprintf 2014-04-23 21:12:09 +00:00
frosch ef4c2ce031 (svn r26485) -Codechange: Replace ttd_strlcpy and ttd_strlcat with strecpy and strecat. 2014-04-23 20:44:42 +00:00
rubidium 0463dbdc9e (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
frosch 8ff9499fe2 (svn r26409) -Update: Version number in some more places. 2014-03-17 20:16:05 +00:00
rubidium 2618d960e3 (svn r26209) -Codechange: remove some template magic and simplify some code 2014-01-02 22:41:58 +00:00
rubidium e3542b1977 (svn r26192) -Fix (r24878): off-by-one error ;) 2013-12-31 23:08:55 +00:00
michi_cc dce0951fdc (svn r25913) -Fix: [OSX] Compilation under OSX 10.9. (zydeco) 2013-10-26 17:20:48 +00:00
michi_cc b96ef5c758 (svn r25677) -Codechange: [Win32] There are no 64-bit Windows versions below XP and we can safely assume it as the target platform. 2013-08-05 20:36:58 +00:00
michi_cc 765e7d349e (svn r25676) -Fix: [Win32] The ANSI code page is not UTF-8 for non-Unicode builds. 2013-08-05 20:36:55 +00:00
michi_cc e3648455aa (svn r25674) -Fix: [Win32] The console code page for non-Unicode builds is not the normal ANSI code page and definitely not UTF-8 either. 2013-08-05 20:36:47 +00:00
michi_cc e37968aadd (svn r25673) -Fix: [Win32] Use the right code page for converting ANSI strings into UTF-8 for non-Unicode builds. And don't crap out on DBCS code pages either. 2013-08-05 20:36:43 +00:00
michi_cc 8b476de3bf (svn r25666) -Feature [FS#4760]: [OSX] Pinch gesture support for zooming. (Based on patch by leecbaker) 2013-08-05 20:36:17 +00:00
michi_cc 3569a4fe5a (svn r25663) -Fix [FS#4857]: [OSX] Monospace font detection. 2013-08-05 20:36:06 +00:00
planetmaker 1024fd3116 (svn r25643) -Fix (r25480): [OSX] Define version constants before they're used 2013-07-31 18:50:01 +00:00
rubidium c33040e037 (svn r25520) -Fix-ish: don't pretend that trunk is still doing something 1.3-ish in the Windows executable version information 2013-06-29 16:13:41 +00:00
rubidium 5b2a5ac790 (svn r25506) -Document: a function, and name it slightly better 2013-06-28 21:11:35 +00:00
michi_cc 0150ab1bb2 (svn r25480) -Codechange: [OSX] OS X SDK versions >= 10.5 always have a non-const iconv declaration. 2013-06-26 21:17:09 +00:00
rubidium 8f9d213675 (svn r25474) -Fix [FS#5618]: OS X compilation failure 2013-06-26 15:02:16 +00:00
michi_cc 2d67f07975 (svn r25155) -Codechange: [Win32] Improve SHGetFolderPath emulation. 2013-04-06 18:36:49 +00:00
michi_cc 3349cb3347 (svn r25154) -Fix: [Win32] Don't store invalid paths in the search path list. 2013-04-06 18:36:45 +00:00
michi_cc d1212e0b1a (svn r25153) -Fix [FS#5522] (r24487): [Win32] Don't statically link to SHGetFolderPath as it may not exist. 2013-04-06 18:36:41 +00:00
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 2013-01-08 22:46:42 +00:00
rubidium f4915ce34f (svn r24878) -Update: the obligatory first of January commit 2013-01-01 11:08:22 +00:00
rubidium d49bd2997b (svn r24572) -Fix: do not cast away some other consts 2012-10-04 15:33:13 +00:00
yexo 1f75f81a41 (svn r24524) -Fix [FS#5296]: fix some compile problems in mac-only code (__ln__) 2012-09-13 18:42:33 +00:00
frosch 77b5e72541 (svn r24441) -Update: Version number to 1.3 in some more files. 2012-07-29 16:28:54 +00:00
michi_cc 36181b3fb2 (svn r24417) -Codechange: [Win32] Don't needlessly include windows.h in a commonly used header. 2012-07-19 19:21:47 +00:00
rubidium b111813d0b (svn r23698) -Fix (r21685): small, apparantly yearly reoccuring, typo 2012-01-01 00:05:02 +00:00
yexo b4fdba2fb3 (svn r23490) -Add [FS#2750]: OpenBrowser function to open a browser on major OSes 2011-12-11 11:47:08 +00:00
michi_cc a0f3649c1a (svn r23481) -Add: Function to get the CPU core count. 2011-12-10 16:54:41 +00:00
rubidium 2ccbd2a6f5 (svn r23446) -Codechange: move _cur_palette and it's related first/count dirty variables into a single structure 2011-12-08 18:13:29 +00:00
truebrain 160bfd8851 (svn r23376) -Remove: on popular demand, remove my (revoked) name from comments in the code. It was silly to name me like that to begin with ;) (based on patch by HackaLittleBit) 2011-11-30 01:22:18 +00:00
truebrain c2398c0fe1 (svn r23356) -Fix: some OSX versions have ScriptOrder defined 2011-11-29 23:15:48 +00:00
rubidium 6e31c2f068 (svn r23241) -Codechange: make the decision when to go to the custom drawn cursor more prominently during the initialisation of OpenTTD 2011-11-17 21:09:08 +00:00
michi_cc 6a2735d24e (svn r23119) -Fix: [Win32] Don't show a crash/assertion message box for a GUI-less video driver. 2011-11-04 23:47:00 +00:00
rubidium 39eaf0e10d (svn r22913) -Fix [OSX]: make splash work again and make it work without needing to bundle it first 2011-09-09 20:28:48 +00:00
planetmaker bce482c76f (svn r22893) -Fix [FS#4744]: [OSX] Compilation on OSX 10.7 was broken (based on patch by leecbaker)
-Add: [OSX] Support for fullscreen mode when compiled against SDK 10.7. Otherwise fullscreen mode is disabled when OpenTTD is run on OSX Lion
2011-09-04 17:49:08 +00:00
planetmaker 09c3cabc1e (svn r22833) -Fix (r18006): Compilation on OSX was broken 2011-08-24 21:26:03 +00:00
planetmaker e3d9879690 (svn r22678) -Doc: More doxygen sprinkles in MacOSX code and cocoa video driver 2011-07-21 16:13:34 +00:00
terkhen cee94be7db (svn r22491) -Fix [FS#4623]: [Windows] Generate crashlogs correctly in binaries created with MinGW-w64. (JGR) 2011-05-25 16:40:30 +00:00
terkhen 003dee6e38 (svn r22464) -Fix [FS#4587]: [Windows] Prevent a crash when launching OpenTTD with -d from a MSYS console. Added a note to known-bugs about this issue. 2011-05-15 14:51:06 +00:00
terkhen df8806bdb4 (svn r22440) -Change: [Windows] Remove Cancel button from information messages. 2011-05-09 20:29:01 +00:00
rubidium 59e42ea178 (svn r22177) -Fix: make sure the right endianness is chosen with cross-compiling, and strndup is available in the binary for more exotic platforms 2011-03-03 21:43:24 +00:00
alberth 31386c42a7 (svn r22145) -Codechange: Do explicit test for non-bool values. 2011-02-25 22:04:38 +00:00
rubidium 22afd83964 (svn r22083) -Change: trunk is heading towards 1.2 now 2011-02-14 20:20:57 +00:00
rubidium 1d0d7635e0 (svn r22021) -Fix (r22019): ofcourse make doesn't notice files are gone, so it doesn't recompile everything that needs to be recompiled... 2011-02-07 22:49:38 +00:00
rubidium 36f55a8823 (svn r21685) -Codechange: prevent bug tracker entries like FS#2487 and FS#1613 for this year 2011-01-01 08:31:23 +00:00
rubidium 091cc85a18 (svn r21635) -Change: simplify/reduce release preparations/changes 2010-12-25 15:41:12 +00:00
rubidium 2c4c6b4fe1 (svn r21634) -Codechange: apparantly the "broken" iconv interface is the new official interface, so update the variable/definition naming slightly as it's not broken just different from the earlier iconv interface 2010-12-25 12:49:36 +00:00
alberth f65a9a5515 (svn r21593) -Codechange: endif comment correcttions. 2010-12-22 10:50:32 +00:00
alberth b633ffaa1d (svn r21571) -Codechange: Having a break after a return is no good. 2010-12-21 15:23:54 +00:00
rubidium 671158acd8 (svn r21150) -Fix: [OSX] Deprecation warning with libpng 1.4 2010-11-12 12:00:03 +00:00
frosch 7f5f4950d7 (svn r20859) -Fix [FS#4143]: Remove an outdated comment and just reference the readme. (planetmaker) 2010-09-30 18:58:56 +00:00
frosch e0b3b1ffe7 (svn r20846) -Fix: some whitespace. 2010-09-25 19:13:25 +00:00
michi_cc 0fd73dee60 (svn r20599) -Add: [Win32] Append a decoded stack trace to the debug.log. Most of the time, the result will only be useful if the corresponding PDB file is present. 2010-08-23 18:20:22 +00:00
michi_cc a7e8b67c7c (svn r20598) -Codechange: [Win32] Replace the external x64 asm with a built-in Windows function. 2010-08-23 18:19:15 +00:00
alberth ee01ec9136 (svn r20291) -Codechange: Unify break coding style. 2010-08-01 21:19:49 +00:00
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +00:00
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
alberth a825b4fa5f (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 2010-07-31 21:02:56 +00:00
alberth be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
rubidium b8487afe54 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 2010-07-19 17:28:27 +00:00
rubidium 5297eb5722 (svn r20028) -Fix: trunk Windows binaries still had a 1.0.0.xxxxx version number 2010-06-28 13:51:33 +00:00
rubidium 2de9e2d16b (svn r19853) -Fix [FS#3840]: revert r19781 and apply a more sensible version with the same effect 2010-05-18 21:17:25 +00:00
rubidium 6d94dd10dd (svn r19780) -Fix [FS#3807]: make sure that when checking whether a path + filename are valid the whole string can be constructed within an array of length MAX_PATH. If not, the name is too long and is deemed invalid 2010-05-10 09:50:49 +00:00
smatz 0ef33548c2 (svn r19614) -Codechange: "it's" => "its" where appropriate 2010-04-12 14:12:47 +00:00
smatz 9fc910fbc2 (svn r18855) -Codechange: record compiler name and version in the crash log 2010-01-18 10:11:27 +00:00
rubidium 251ffaa000 (svn r18831) -Change [FS#3537]: do not go into the crashlog handler in case loading a savegame misses with missing NewGRFs. This way the load game crash handler gets better visibility and the user is instructed to find the missing NewGRFs before filing a bug report 2010-01-16 19:08:33 +00:00
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
rubidium 0bc292056d (svn r18678) -Update: happy new year 2010-01-01 00:00:45 +00:00
smatz c4205c2599 (svn r18627) -Fix: no need to print 'Registers:' twice in win64 crash logs 2009-12-25 11:52:14 +00:00
rubidium 60082980fd (svn r18622) -Merge: release changes 2009-12-23 23:09:47 +00:00
glx 0c577dfde6 (svn r18446) -Fix (r17450): abort() doesn't trigger crashlog on windows 2009-12-09 15:24:13 +00:00
rubidium 36c58649f8 (svn r18424) -Fix [FS#3327]: [Windows] the help window would be too large in some cases 2009-12-07 17:13:28 +00:00
rubidium 9a656dbd32 (svn r18423) -Fix (r17336): [Windows] incorrect relative path the the icon making the icon not being included in the binary
-Fix: [Windows] mention the version of GPL in the metadata
2009-12-07 16:55:50 +00:00
smatz 9ecfcdff78 (svn r18350) -Codechange: catch SIGILL under unix-like systems as well 2009-11-29 22:18:04 +00:00
glx 2535b1afcf (svn r18184) -Codechange: add crash screenshot for win32 2009-11-19 16:27:15 +00:00
smatz b0c370c7e5 (svn r18158) -Codechange: add crash screenshot for OSX 2009-11-18 01:00:01 +00:00
michi_cc 32c6633bef (svn r18074) -Fix [FS#3314]: [OSX] Don't link clipboard support twice when building without Cocoa. 2009-11-14 15:26:43 +00:00
rubidium 860b9b1cea (svn r18028) -Codechange: unglobalise some functions 2009-11-09 10:40:33 +00:00
smatz 433fc04921 (svn r17872) -Codechange: apply coding style to splash.cpp
-Fix (r17871): missing variable declaration
2009-10-25 17:55:13 +00:00
smatz 002f9c0075 (svn r17871) -Fix (r11342): memset() accepts only 1-byte argument 2009-10-25 17:36:24 +00:00
michi_cc c850647e3a (svn r17792) -Fix [FS#3261]: [OSX] Fix (bogus) compiler warnings related to printf argument checking. 2009-10-17 22:36:35 +00:00
michi_cc 53ce152c7e (svn r17767) -Fix [FS#3190]: [OSX] Don't check 64bit-ness when compiling strgen. 2009-10-12 00:19:07 +00:00
michi_cc 9b54d5bbd7 (svn r17713) -Cleanup: [OSX] Move variable definitions to first use and apply more coding style. 2009-10-04 21:36:17 +00:00
michi_cc 8484e08ee0 (svn r17711) -Codechange: [OSX] Don't use deprecated methods to construct a Cocoa string. 2009-10-04 21:33:31 +00:00
michi_cc 049d62b35c (svn r17708) -Feature [FS#2053]: [OSX] Implement clipboard support for OS X. 2009-10-04 21:08:38 +00:00
michi_cc 5f67762a7f (svn r17706) -Codechange: [OSX] Rework the crash handling to use the common CrashLog infrastructure. 2009-10-04 21:08:30 +00:00
michi_cc 4f98178fcd (svn r17705) -Fix: [OSX] Re-enable signal handling on OSX 10.3.9. Trying to link with an undefined symbols that lives in the system library seems to confuse the loader on 10.3.9. Use a different function to circumvent it. 2009-10-04 21:08:25 +00:00
michi_cc e2ef24919e (svn r17704) -Codechange: [OSX] Improve detection of OS X version. (planetmaker) 2009-10-04 20:53:30 +00:00
michi_cc 10ca710e98 (svn r17702) -Change: [OSX] Assure that the minimal OSX version is defined in all cases.
-Codechange: [OSX] Improve conditional defines for OS version dependant code.
2009-10-04 20:53:22 +00:00
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
rubidium a807026336 (svn r17487) -Fix: silence some MSVC warnings 2009-09-09 12:41:51 +00:00
rubidium 99af06dd30 (svn r17479) -Fix: silence compile warning that's only triggered when you're using a broken iconv. 2009-09-08 21:43:47 +00:00
glx 458e7876d3 (svn r17475) -Codechange: show path to crash.log and crash.dmp in crash window. Also tells the user where crash.sav is when saving succeeded. 2009-09-08 14:58:15 +00:00
frosch fe7032a7a6 (svn r17463) -Change (r17453): Retrigger the abort signal after writing the crashlog, so the next one can catch it again (e.g. to write a core dump). 2009-09-07 20:30:45 +00:00
rubidium d916400521 (svn r17453) -Add: crash logger for all Unixy OSes; should work for all, but I don't have all exotic machines so it might break compilation on the more exotic configurations 2009-09-07 12:14:45 +00:00
rubidium 46e5625278 (svn r17452) -Fix (r17450): emergency savegames weren't rejected by the crash logger anymore 2009-09-07 12:13:33 +00:00
rubidium 2b144e2ea6 (svn r17450) -Codechange: refactor the windows crash logger so parts of it can be reused by other crash logger implementations 2009-09-07 11:10:49 +00:00
rubidium a1f49db54d (svn r17416) -Codechange: move the build date/time 'determination' to rev.cpp as that's the file most likely to be regularly recompiled 2009-09-04 20:31:49 +00:00
rubidium c9a1f33418 (svn r17410) -Codechange: use the same define for determining whether windows does crash reports instead of using several that aren't necessarily equal 2009-09-03 22:32:08 +00:00
rubidium b92143b53e (svn r17409) -Codechange: split the crash log and other windows 'glue' code 2009-09-03 21:56:29 +00:00
glx 88bb0e1b7b (svn r17408) -Codechange: remove unused win32 stuff 2009-09-03 20:04:15 +00:00
rubidium bc8e66c202 (svn r17336) -Codechange: move some os specific files into src/os/ 2009-08-31 22:38:37 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium 6f0d8acf55 (svn r16828) -Codechange: attempt at making OSX compile with the 10.6 SDK too; no guarantees ofcourse... 2009-07-14 17:16:32 +00:00
rubidium e3c7a77b40 (svn r16827) -Codechange: make OSX specific files include stdafx.h always as the first file. Also unify OSX specific stuff into osx_stdafx.h and remove unused includes. 2009-07-14 16:43:45 +00:00
bjarni 41827de1f8 (svn r16177) -Fix (r15892): [OSX] fixed linking error regarding _select$1050 (only present on some systems) 2009-04-27 00:39:15 +00:00
rubidium 8f831ceebc (svn r15909) -Fix (r15892): Apple, PLEASE do not fill your API with #if !__LP64__. Especially when another part of your API depends on whether __LP64__ is defined and thus making it non-trivial to silence the warnings from the undefinedness of __LP64__ in #if !__LP64__... 2009-04-01 02:58:38 +00:00
rubidium 8293be426c (svn r15892) -Codechange: [OSX] some type fixes so OpenTTD likes more of the 3.1.x Xcodes. 2009-03-29 19:55:08 +00:00
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 2009-03-15 00:32:18 +00:00
rubidium a231ab7560 (svn r15648) -Fix (r14773): hack around an OSX stupidity in < 10.4 w.r.t. signals by not having any signal handling support for OSX < 10.4. Thanks to PearPC and TrueBrain's OSX compiler. 2009-03-08 23:06:41 +00:00
rubidium 11da45ee55 (svn r14949) -Cleanup: pointer coding style 2009-01-10 00:31:47 +00:00
rubidium 6b86de13d6 (svn r14200) -Fix (r14199): some OSes failed to compile. Furthermore I hate wrong comments! 2008-08-31 11:51:09 +00:00
bjarni 862ba19279 (svn r13913) -Fix (r13893): [OSX] fixed a warning about MAC_OS_X_VERSION_10_5 not being defined on all systems 2008-08-01 17:43:11 +00:00
bjarni 61799786d5 (svn r13893) -Fix: [OSX] solved a deprecated warning specific to 10.5 2008-07-31 14:00:01 +00:00
smatz 7a7ff65ac5 (svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines 2008-06-18 21:19:04 +00:00
rubidium d03994098b (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 2008-05-06 15:11:33 +00:00
smatz 297f99e100 (svn r12944) -Codechange: use rev.h instead of externs at many places 2008-05-04 21:53:36 +00:00
rubidium 429521a7d1 (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' 2007-12-25 11:26:07 +00:00
egladil 22f79df328 (svn r11688) -Fix [FS#1581]: Compilation was broken on OS X again. 2007-12-23 18:08:39 +00:00
rubidium a773d45885 (svn r11684) -Codechange: split gfx.h in a type and functional header. 2007-12-23 10:56:02 +00:00
bjarni 18e96ab49f (svn r11678) -Fix (r11674): [OSX] fixed compilation 2007-12-21 22:08:59 +00:00
glx 65754b8d12 (svn r11676) -Fix (r11674): some references to macros.h were left 2007-12-21 21:16:14 +00:00
bjarni 6b68c6557b (svn r11542) -Fix r11540: [OSX] presumed 10.3 style strings when using GetCurrentLocale nomatter what OSX the target was 2007-11-30 14:49:13 +00:00
bjarni 5fcbb8f59b (svn r11540) -Fix: [OSX] Don't try to compile the quartz video driver on OSX 10.3. It will fail 2007-11-30 13:26:24 +00:00
egladil 1d5010edf9 (svn r11521) -Codechange: [OSX] Check what the running os version is in a cleaner way. 2007-11-25 14:43:16 +00:00
egladil cd5597dddf (svn r11389) -Fix [FS#1386]: Replace calls to deprecated API with newer ones and handle broken iconv declaration in OSX 10.5. 2007-11-07 21:35:33 +00:00
bjarni 18096c4e3c (svn r11351) -Fix (r11342): [OSX] killed a warning 2007-10-27 11:26:19 +00:00