Commit Graph

280 Commits (1c82200e0f46b92710f42e45353293f1fbcf325b)

Author SHA1 Message Date
michi_cc 765e7d349e (svn r25676) -Fix: [Win32] The ANSI code page is not UTF-8 for non-Unicode builds. 11 years ago
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. 11 years ago
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. 11 years ago
michi_cc 8b476de3bf (svn r25666) -Feature [FS#4760]: [OSX] Pinch gesture support for zooming. (Based on patch by leecbaker) 11 years ago
michi_cc 3569a4fe5a (svn r25663) -Fix [FS#4857]: [OSX] Monospace font detection. 11 years ago
planetmaker 1024fd3116 (svn r25643) -Fix (r25480): [OSX] Define version constants before they're used 11 years ago
rubidium c33040e037 (svn r25520) -Fix-ish: don't pretend that trunk is still doing something 1.3-ish in the Windows executable version information 11 years ago
rubidium 5b2a5ac790 (svn r25506) -Document: a function, and name it slightly better 11 years ago
michi_cc 0150ab1bb2 (svn r25480) -Codechange: [OSX] OS X SDK versions >= 10.5 always have a non-const iconv declaration. 11 years ago
rubidium 8f9d213675 (svn r25474) -Fix [FS#5618]: OS X compilation failure 11 years ago
michi_cc 2d67f07975 (svn r25155) -Codechange: [Win32] Improve SHGetFolderPath emulation. 11 years ago
michi_cc 3349cb3347 (svn r25154) -Fix: [Win32] Don't store invalid paths in the search path list. 11 years ago
michi_cc d1212e0b1a (svn r25153) -Fix [FS#5522] (r24487): [Win32] Don't statically link to SHGetFolderPath as it may not exist. 11 years ago
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
rubidium f4915ce34f (svn r24878) -Update: the obligatory first of January commit 12 years ago
rubidium d49bd2997b (svn r24572) -Fix: do not cast away some other consts 12 years ago
yexo 1f75f81a41 (svn r24524) -Fix [FS#5296]: fix some compile problems in mac-only code (__ln__) 12 years ago
frosch 77b5e72541 (svn r24441) -Update: Version number to 1.3 in some more files. 12 years ago
michi_cc 36181b3fb2 (svn r24417) -Codechange: [Win32] Don't needlessly include windows.h in a commonly used header. 12 years ago
rubidium b111813d0b (svn r23698) -Fix (r21685): small, apparantly yearly reoccuring, typo 13 years ago
yexo b4fdba2fb3 (svn r23490) -Add [FS#2750]: OpenBrowser function to open a browser on major OSes 13 years ago
michi_cc a0f3649c1a (svn r23481) -Add: Function to get the CPU core count. 13 years ago
rubidium 2ccbd2a6f5 (svn r23446) -Codechange: move _cur_palette and it's related first/count dirty variables into a single structure 13 years ago
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) 13 years ago
truebrain c2398c0fe1 (svn r23356) -Fix: some OSX versions have ScriptOrder defined 13 years ago
rubidium 6e31c2f068 (svn r23241) -Codechange: make the decision when to go to the custom drawn cursor more prominently during the initialisation of OpenTTD 13 years ago
michi_cc 6a2735d24e (svn r23119) -Fix: [Win32] Don't show a crash/assertion message box for a GUI-less video driver. 13 years ago
rubidium 39eaf0e10d (svn r22913) -Fix [OSX]: make splash work again and make it work without needing to bundle it first 13 years ago
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
13 years ago
planetmaker 09c3cabc1e (svn r22833) -Fix (r18006): Compilation on OSX was broken 13 years ago
planetmaker e3d9879690 (svn r22678) -Doc: More doxygen sprinkles in MacOSX code and cocoa video driver 13 years ago
terkhen cee94be7db (svn r22491) -Fix [FS#4623]: [Windows] Generate crashlogs correctly in binaries created with MinGW-w64. (JGR) 13 years ago
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. 13 years ago
terkhen df8806bdb4 (svn r22440) -Change: [Windows] Remove Cancel button from information messages. 13 years ago
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 14 years ago
alberth 31386c42a7 (svn r22145) -Codechange: Do explicit test for non-bool values. 14 years ago
rubidium 22afd83964 (svn r22083) -Change: trunk is heading towards 1.2 now 14 years ago
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... 14 years ago
rubidium 36f55a8823 (svn r21685) -Codechange: prevent bug tracker entries like FS#2487 and FS#1613 for this year 14 years ago
rubidium 091cc85a18 (svn r21635) -Change: simplify/reduce release preparations/changes 14 years ago
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 14 years ago
alberth f65a9a5515 (svn r21593) -Codechange: endif comment correcttions. 14 years ago
alberth b633ffaa1d (svn r21571) -Codechange: Having a break after a return is no good. 14 years ago
rubidium 671158acd8 (svn r21150) -Fix: [OSX] Deprecation warning with libpng 1.4 14 years ago
frosch 7f5f4950d7 (svn r20859) -Fix [FS#4143]: Remove an outdated comment and just reference the readme. (planetmaker) 14 years ago
frosch e0b3b1ffe7 (svn r20846) -Fix: some whitespace. 14 years ago
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. 14 years ago
michi_cc a7e8b67c7c (svn r20598) -Codechange: [Win32] Replace the external x64 asm with a built-in Windows function. 14 years ago
alberth ee01ec9136 (svn r20291) -Codechange: Unify break coding style. 14 years ago
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
alberth a825b4fa5f (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 14 years ago
alberth be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
rubidium b8487afe54 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 14 years ago
rubidium 5297eb5722 (svn r20028) -Fix: trunk Windows binaries still had a 1.0.0.xxxxx version number 14 years ago
rubidium 2de9e2d16b (svn r19853) -Fix [FS#3840]: revert r19781 and apply a more sensible version with the same effect 14 years ago
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 14 years ago
smatz 0ef33548c2 (svn r19614) -Codechange: "it's" => "its" where appropriate 14 years ago
smatz 9fc910fbc2 (svn r18855) -Codechange: record compiler name and version in the crash log 15 years ago
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 15 years ago
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium 0bc292056d (svn r18678) -Update: happy new year 15 years ago
smatz c4205c2599 (svn r18627) -Fix: no need to print 'Registers:' twice in win64 crash logs 15 years ago
rubidium 60082980fd (svn r18622) -Merge: release changes 15 years ago
glx 0c577dfde6 (svn r18446) -Fix (r17450): abort() doesn't trigger crashlog on windows 15 years ago
rubidium 36c58649f8 (svn r18424) -Fix [FS#3327]: [Windows] the help window would be too large in some cases 15 years ago
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
15 years ago
smatz 9ecfcdff78 (svn r18350) -Codechange: catch SIGILL under unix-like systems as well 15 years ago
glx 2535b1afcf (svn r18184) -Codechange: add crash screenshot for win32 15 years ago
smatz b0c370c7e5 (svn r18158) -Codechange: add crash screenshot for OSX 15 years ago
michi_cc 32c6633bef (svn r18074) -Fix [FS#3314]: [OSX] Don't link clipboard support twice when building without Cocoa. 15 years ago
rubidium 860b9b1cea (svn r18028) -Codechange: unglobalise some functions 15 years ago
smatz 433fc04921 (svn r17872) -Codechange: apply coding style to splash.cpp
-Fix (r17871): missing variable declaration
15 years ago
smatz 002f9c0075 (svn r17871) -Fix (r11342): memset() accepts only 1-byte argument 15 years ago
michi_cc c850647e3a (svn r17792) -Fix [FS#3261]: [OSX] Fix (bogus) compiler warnings related to printf argument checking. 15 years ago
michi_cc 53ce152c7e (svn r17767) -Fix [FS#3190]: [OSX] Don't check 64bit-ness when compiling strgen. 15 years ago
michi_cc 9b54d5bbd7 (svn r17713) -Cleanup: [OSX] Move variable definitions to first use and apply more coding style. 15 years ago
michi_cc 8484e08ee0 (svn r17711) -Codechange: [OSX] Don't use deprecated methods to construct a Cocoa string. 15 years ago
michi_cc 049d62b35c (svn r17708) -Feature [FS#2053]: [OSX] Implement clipboard support for OS X. 15 years ago
michi_cc 5f67762a7f (svn r17706) -Codechange: [OSX] Rework the crash handling to use the common CrashLog infrastructure. 15 years ago
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. 15 years ago
michi_cc e2ef24919e (svn r17704) -Codechange: [OSX] Improve detection of OS X version. (planetmaker) 15 years ago
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.
15 years ago
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
rubidium a807026336 (svn r17487) -Fix: silence some MSVC warnings 15 years ago
rubidium 99af06dd30 (svn r17479) -Fix: silence compile warning that's only triggered when you're using a broken iconv. 15 years ago
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. 15 years ago
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). 15 years ago
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 15 years ago
rubidium 46e5625278 (svn r17452) -Fix (r17450): emergency savegames weren't rejected by the crash logger anymore 15 years ago
rubidium 2b144e2ea6 (svn r17450) -Codechange: refactor the windows crash logger so parts of it can be reused by other crash logger implementations 15 years ago
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 15 years ago
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 15 years ago
rubidium b92143b53e (svn r17409) -Codechange: split the crash log and other windows 'glue' code 15 years ago
glx 88bb0e1b7b (svn r17408) -Codechange: remove unused win32 stuff 15 years ago
rubidium bc8e66c202 (svn r17336) -Codechange: move some os specific files into src/os/ 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 6f0d8acf55 (svn r16828) -Codechange: attempt at making OSX compile with the 10.6 SDK too; no guarantees ofcourse... 15 years ago
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. 15 years ago
bjarni 41827de1f8 (svn r16177) -Fix (r15892): [OSX] fixed linking error regarding _select$1050 (only present on some systems) 15 years ago
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__... 15 years ago
rubidium 8293be426c (svn r15892) -Codechange: [OSX] some type fixes so OpenTTD likes more of the 3.1.x Xcodes. 15 years ago
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 16 years ago
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. 16 years ago
rubidium 11da45ee55 (svn r14949) -Cleanup: pointer coding style 16 years ago
rubidium 6b86de13d6 (svn r14200) -Fix (r14199): some OSes failed to compile. Furthermore I hate wrong comments! 16 years ago
bjarni 862ba19279 (svn r13913) -Fix (r13893): [OSX] fixed a warning about MAC_OS_X_VERSION_10_5 not being defined on all systems 16 years ago
bjarni 61799786d5 (svn r13893) -Fix: [OSX] solved a deprecated warning specific to 10.5 16 years ago
smatz 7a7ff65ac5 (svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines 16 years ago
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. 16 years ago
smatz 297f99e100 (svn r12944) -Codechange: use rev.h instead of externs at many places 16 years ago
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' 17 years ago
egladil 22f79df328 (svn r11688) -Fix [FS#1581]: Compilation was broken on OS X again. 17 years ago
rubidium a773d45885 (svn r11684) -Codechange: split gfx.h in a type and functional header. 17 years ago
bjarni 18e96ab49f (svn r11678) -Fix (r11674): [OSX] fixed compilation 17 years ago
glx 65754b8d12 (svn r11676) -Fix (r11674): some references to macros.h were left 17 years ago
bjarni 6b68c6557b (svn r11542) -Fix r11540: [OSX] presumed 10.3 style strings when using GetCurrentLocale nomatter what OSX the target was 17 years ago
bjarni 5fcbb8f59b (svn r11540) -Fix: [OSX] Don't try to compile the quartz video driver on OSX 10.3. It will fail 17 years ago
egladil 1d5010edf9 (svn r11521) -Codechange: [OSX] Check what the running os version is in a cleaner way. 17 years ago
egladil cd5597dddf (svn r11389) -Fix [FS#1386]: Replace calls to deprecated API with newer ones and handle broken iconv declaration in OSX 10.5. 17 years ago
bjarni 18096c4e3c (svn r11351) -Fix (r11342): [OSX] killed a warning 17 years ago
egladil 134227aa8c (svn r11342) -Fix: [OSX] The cocoa driver incorrectly assumed that the blitter always was 8bpp. Now both 8bpp and 32bpp blitters can be used. The driver will check the blitter screen depth. In fullscreen it will select a proper video mode for this depth, and in windowed mode it will simply skip doing fake 8bpp. 17 years ago
bjarni 1a5a748973 (svn r10851) -Feature [OSX]: OpenTTD will now pick the same language as finder is set to if no config file is found (ln-) 17 years ago
glx d6c915e6a6 (svn r10761) -Fix (FS#1101, r10216): _pal_last_dirty changed to _pal_count_dirty without updating, so it was of by one 17 years ago
truelight 1c4760ee06 (svn r10216) -Fix: palette animation always redid all palette entries, where in fact only a few indexes were needed
-Codechange: allow blitters to handle palette animation internally or even disable it; 8bpp uses video-backend for palette animation
17 years ago
rubidium 36bb92ae24 (svn r9050) -Codechange: Foo(void) -> Foo() 18 years ago
bjarni ca1a88f6c4 (svn r8605) -Codechange: [OSX] changed all objective C to objective C++
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)
18 years ago
rubidium f35ed4bbc2 (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 18 years ago
KUDr e373ea7096 (svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp) 18 years ago
rubidium 66bbf336c6 (svn r7759) -Merge: makefile rewrite. This merge features:
- A proper ./configure, so everything needs to be configured only once, not for every make.
 - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies.
 - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC.
 - Proper support for OSX universal binaries.
 - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files.
 - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files.

Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
18 years ago