Commit Graph

747 Commits (6d3e9093c404ffd73d350bca47a9a4cee6cea872)

Author SHA1 Message Date
Jonathan G Rennison 349cd8a6f0 Where possible use compiler builtins for CountBits and FindFirstBit. 8 years ago
Jonathan G Rennison 7b56097f50 Merge branch 'master' into jgrpp
# Conflicts:
#	config.lib
#	src/linkgraph/demands.cpp
#	src/linkgraph/mcf.cpp
#	src/linkgraph/refresh.cpp
#	src/linkgraph/refresh.h
#	src/smallmap_gui.cpp
8 years ago
frosch a2a69c1480 (svn r27623) -Fix (r27616) [FS#6492]: Missed two version checks, and messed one up. 8 years ago
frosch b2fb19cc19 (svn r27623) -Fix (r27616) [FS#6492]: Missed two version checks, and messed one up. 8 years ago
frosch f7a7f141d3 (svn r27616) -Codechange [FS#6487]: [Build] Change the GCC version detection so that it works with two-digit and truncated versions. 8 years ago
frosch 1f4489c266 (svn r27616) -Codechange [FS#6487]: [Build] Change the GCC version detection so that it works with two-digit and truncated versions. 8 years ago
rubidium fe0d3761f7 (svn r27606) -Change/fix: GCC6 defaults to C++14, but our configure limits it to C++0x just because we want to use features from C++0x (which are also in C++14), so use the C++ standard that's the GCC6 default 8 years ago
rubidium e956422f48 (svn r27606) -Change/fix: GCC6 defaults to C++14, but our configure limits it to C++0x just because we want to use features from C++0x (which are also in C++14), so use the C++ standard that's the GCC6 default 8 years ago
Jonathan G Rennison 74ff8b9e8e Merge branch 'crashlog_improvements' into jgrpp
# Conflicts:
#	Makefile.src.in
8 years ago
Jonathan G Rennison 8d078acb4e Log registers and fault instruction in Unix crashlog. 8 years ago
Jonathan G Rennison 0951cb320c Show ./configure invocation in crash log. 8 years ago
Jonathan G Rennison 411f91731d Config: Fix --with-self-gdb-debug config re-exec 8 years ago
Jonathan G Rennison abbc960e96 Linux crashlog: Use sigaction to get more info on fatal signals. 8 years ago
Jonathan G Rennison 655b329142 Merge branch 'master' into jgrpp
# Conflicts:
#	config.lib
8 years ago
smatz 5ac736ec00 (svn r27595) -Fix: prevent GCC 6 over-optimization 8 years ago
smatz 4bd149d05a (svn r27595) -Fix: prevent GCC 6 over-optimization 8 years ago
Jonathan G Rennison 4c0423d6d8 Merge branch 'master' into jgrpp 9 years ago
rubidium b892103747 (svn r27557) -Fix: bashism that caused different CFLAGS with bash vs dash 9 years ago
rubidium 9ea3e42768 (svn r27557) -Fix: bashism that caused different CFLAGS with bash vs dash 9 years ago
Jonathan G Rennison def24030a4 Merge branch 'crashlog_improvements' into jgrpp 9 years ago
Jonathan G Rennison a609439d98 Add support for enhanced crash log stacktraces using gdb on Linux.
This attempts to use gdb to attach to the current process and print
a full backtrace.
9 years ago
Jonathan G Rennison f86b5c58cb Merge branch 'master' into crashlog_improvements 9 years ago
Jonathan G Rennison 155987a4aa Fix override being used on gcc 4.3 to 4.6. 9 years ago
Jonathan G Rennison 42a55f9500 config: Use --static as necessary when autodetecting libs:
libdl, libbfd and dependecies, and cpp symbol demangler support.
9 years ago
Jonathan G Rennison 715c24a209 Merge branch 'master' into jgrpp 9 years ago
planetmaker 96aa437f85 (svn r27472) -Change [FS#6401] (r20219): On Haiku use the appropriate system variable to obtain the include dir (aarroyoc) 9 years ago
planetmaker e78ce08287 (svn r27472) -Change [FS#6401] (r20219): On Haiku use the appropriate system variable to obtain the include dir (aarroyoc) 9 years ago
Jonathan G Rennison 6a780ffde2 Version detection: re-order SVN and Hg after git and .ottdrev-vc 9 years ago
Jonathan G Rennison 99cbd64756 Fix version detection using .ottdrev-vc 9 years ago
Jonathan G Rennison 58b6bf16c3 Linkgraph: Enable MCF custom allocator only for GCC 4.9+
Earlier compilers don't use std::allocator_traits to query allocators.
9 years ago
Jonathan G Rennison 73367d7209 build: include win32/win64 in output bundle name for mingw target. 9 years ago
Jonathan G Rennison ede4bd3662 Change to config libbfd detection.
Include all used functions in test script, this is to catch
unsatisfied dependency link errors.
Try to compile with libiberty and then also with libintl if the
initial test fails.
Log the executed commands at level 2, for consistency with other
config test compiles.
9 years ago
Jonathan G Rennison d7853db2fd Add configure switches for libbfd and bfd extra debug info. 9 years ago
Jonathan G Rennison b9f5765415 Use `rm -f` instead of `rm` for removing configure build temporaries. 9 years ago
Jonathan G Rennison 3a093c4b63 Use libbfd as a fallback for backtrace symbol lookup on MinGW.
This will try to demangle.
If bfd_find_nearest_line returns a file name but nothing else
(debugging info is turned off), scan the symbol table for the previous
symbol and use it if it looks OKish.
9 years ago
Jonathan G Rennison 99d8d1afa6 Enable existing MSVC stack backtrace code on MinGW where supported.
The existing code seems to work fine, though symbol lookup in
openttd.exe does not work.
9 years ago
Jonathan G Rennison c5bc04c4b8 Compile with -g1 if using libbfd to get line numbers. 9 years ago
Jonathan G Rennison 5b755050b8 Use libbfd on Unix to get more symbols, line numbers, etc. for backtraces. 9 years ago
Jonathan G Rennison 387bf403da GCC/Unix: Try to demangle C++ function names in crashlog stack trace.
Change format of stack trace lines to improve readability.
9 years ago
rubidium eb4b6a08d0 (svn r27377) -Codechange: use the pkg-config files of ICU as well. Since they are split into separate libraries it becomes possible to split RTL support for natural sorting, although the effect will be minimal 9 years ago
rubidium 562c269770 (svn r27377) -Codechange: use the pkg-config files of ICU as well. Since they are split into separate libraries it becomes possible to split RTL support for natural sorting, although the effect will be minimal 9 years ago
rubidium cc5b8ea6cb (svn r27376) -Codechange: let libtimidity detection and configuration make use of pkg-config 9 years ago
rubidium d45969779d (svn r27376) -Codechange: let libtimidity detection and configuration make use of pkg-config 9 years ago
rubidium 2011c24502 (svn r27375) -Fix-ish: update help parameter for png configuration (it has used pkg-config for a long time) 9 years ago
rubidium c7c93c68b7 (svn r27375) -Fix-ish: update help parameter for png configuration (it has used pkg-config for a long time) 9 years ago
rubidium 36f77b1aa7 (svn r27374) -Codechange: make zlib detection and configuration make use of pkg-config 9 years ago
rubidium d5810e5d65 (svn r27374) -Codechange: make zlib detection and configuration make use of pkg-config 9 years ago
rubidium c3715a025d (svn r27373) -Codechange: make sdl detection and configuration use pkg-config 9 years ago
rubidium 95ccddd6fe (svn r27373) -Codechange: make sdl detection and configuration use pkg-config 9 years ago
rubidium f05d71a9a6 (svn r27372) -Codechange: make allegro detection and configuration use pkg-config 9 years ago
rubidium b8bb123580 (svn r27372) -Codechange: make allegro detection and configuration use pkg-config 9 years ago
rubidium f179a92007 (svn r27371) -Codechange: make freetype detection and configuration use pkg-config 9 years ago
rubidium 2f267b9207 (svn r27371) -Codechange: make freetype detection and configuration use pkg-config 9 years ago
rubidium 2aee2899e8 (svn r27370) -Codechange: move the "dedicated server" check into the pkg-config check routine 9 years ago
rubidium a00d2b8b3c (svn r27370) -Codechange: move the "dedicated server" check into the pkg-config check routine 9 years ago
rubidium a08d1a044f (svn r27369) -Cleanup: there's no need to do dependency checking of libraries in OpenTTD; zlib should always be installed if libpng is because it links to zlib 9 years ago
rubidium a6710b7ea9 (svn r27369) -Cleanup: there's no need to do dependency checking of libraries in OpenTTD; zlib should always be installed if libpng is because it links to zlib 9 years ago
rubidium 625bc2e0e7 (svn r27368) -Cleanup: undo the special case of OSX; it works fine without it 9 years ago
rubidium 8585cdc6c6 (svn r27368) -Cleanup: undo the special case of OSX; it works fine without it 9 years ago
rubidium ee700fd3b1 (svn r27367) -Codechange: make a distinction between the layouting part of ICU (lx) or the sorting/collation part of ICU (i18n) 9 years ago
rubidium 69fac508c3 (svn r27367) -Codechange: make a distinction between the layouting part of ICU (lx) or the sorting/collation part of ICU (i18n) 9 years ago
rubidium bc199a4fe1 (svn r27361) -Fix-ish: when attempting to find a host, try gcc/g++ but also CC/CXX appended to the host triple. This to make cross compilation with clang alone easier 9 years ago
rubidium 9cadc0e150 (svn r27361) -Fix-ish: when attempting to find a host, try gcc/g++ but also CC/CXX appended to the host triple. This to make cross compilation with clang alone easier 9 years ago
rubidium 501ee2105a (svn r27360) -Feature: allow configuring pkg-config in one go for all libraries 9 years ago
rubidium b40f750243 (svn r27360) -Feature: allow configuring pkg-config in one go for all libraries 9 years ago
frosch 482714e1cf (svn r27250) -Fix [FS#6286]: Broken error message in configure. (NG) 10 years ago
frosch 4fa052dd19 (svn r27250) -Fix [FS#6286]: Broken error message in configure. (NG) 10 years ago
planetmaker e54ba05393 (svn r27224) -Cleanup: Duplicate #ifdef for FreeBSD (AMDim3) 10 years ago
planetmaker 5c80edb7ed (svn r27224) -Cleanup: Duplicate #ifdef for FreeBSD (AMDim3) 10 years ago
planetmaker acef9bb811 (svn r27223) -Add [FS#6274]: Support for DragonflyBSD (AMDmi3) 10 years ago
planetmaker b1a9cf2ed8 (svn r27223) -Add [FS#6274]: Support for DragonflyBSD (AMDmi3) 10 years ago
planetmaker 2d3ad05aa7 (svn r27059) -Change: [Makefile] Make sure to use plain mercurial output unaltered by personal presets 10 years ago
planetmaker bc371a2d9e (svn r27059) -Change: [Makefile] Make sure to use plain mercurial output unaltered by personal presets 10 years ago
rubidium 6592da4952 (svn r26869) -Add: support for an all black palette to prevent the need of having a black tile of all different slopes (ic111) 10 years ago
rubidium 2361aaf601 (svn r26869) -Add: support for an all black palette to prevent the need of having a black tile of all different slopes (ic111) 10 years ago
planetmaker 7836a487ae (svn r26850) -Fix: [Makefile] Compilation of strgen requires also defining variable in for platforms like Solaris 10 years ago
planetmaker a58b74f997 (svn r26850) -Fix: [Makefile] Compilation of strgen requires also defining variable in for platforms like Solaris 10 years ago
rubidium a290f4a6fb (svn r26737) -Fix (r26735): one = too many... why can't all languages use the same basic definition for comparisons? 10 years ago
rubidium d60b2d04e4 (svn r26737) -Fix (r26735): one = too many... why can't all languages use the same basic definition for comparisons? 10 years ago
rubidium bbe58ca737 (svn r26735) -Fix (rmakefilerewrite): for profiling CFLAGS got a -p (for prof) and LDFLAGS got -pg (for gprof), but in the end gprof would be used (via make run-prof). Furthermore -pg isn't compatible with -fomit-frame-pointer on certain architectures (most importantly x86(_64)), so simply don't enable that flag when profiling is enabled 10 years ago
rubidium f4a381f991 (svn r26735) -Fix (rmakefilerewrite): for profiling CFLAGS got a -p (for prof) and LDFLAGS got -pg (for gprof), but in the end gprof would be used (via make run-prof). Furthermore -pg isn't compatible with -fomit-frame-pointer on certain architectures (most importantly x86(_64)), so simply don't enable that flag when profiling is enabled 10 years ago
planetmaker c10662e4cc (svn r26458) -Doc: Correct a few spelling mistakes (__ln__) 11 years ago
planetmaker ba42bcdf49 (svn r26458) -Doc: Correct a few spelling mistakes (__ln__) 11 years ago
rubidium 3e4124695d (svn r26435) -Fix (r26434): linking issue on OS X 11 years ago
rubidium f24d941da1 (svn r26435) -Fix (r26434): linking issue on OS X 11 years ago
rubidium 07a9086ced (svn r26433) -Codechange: use pkg-config for libpng as well 11 years ago
rubidium 67acc9d488 (svn r26433) -Codechange: use pkg-config for libpng as well 11 years ago
rubidium aa5f505b64 (svn r26432) -Codechange: deduplicate code for checking pkg-config dependencies 11 years ago
rubidium e62c104169 (svn r26432) -Codechange: deduplicate code for checking pkg-config dependencies 11 years ago
rubidium aca4b5bf37 (svn r26198) -Fix (r26195): some platforms leave an .exe around... 11 years ago
rubidium 9ee447731a (svn r26198) -Fix (r26195): some platforms leave an .exe around... 11 years ago
rubidium bfd72d7a89 (svn r26194) -Change: add SSE detection to the configure script with the possibility to disable it (based on patch by MJP) 11 years ago
rubidium 6b3c1aa036 (svn r26194) -Change: add SSE detection to the configure script with the possibility to disable it (based on patch by MJP) 11 years ago
rubidium 108b65c967 (svn r26019) -Fix: copy-paste error in configure help 11 years ago
rubidium 89a4455dbc (svn r26019) -Fix: copy-paste error in configure help 11 years ago
rubidium 7de6238e25 (svn r26011) -Fix: --help text of ./configure for packages that require pkg-config 11 years ago
rubidium f10d2417d8 (svn r26011) -Fix: --help text of ./configure for packages that require pkg-config 11 years ago
rubidium a77aa68f16 (svn r25975) -Feature [FS#5385]: XDG base directory support 11 years ago
rubidium ee137a5ced (svn r25975) -Feature [FS#5385]: XDG base directory support 11 years ago
rubidium 7d5aaf95c4 (svn r25960) -Fix-ish: make it less likely to trigger clang's hang with -D_FORTIFY_SOURCE=2 -O1 11 years ago
rubidium 015d2b13b2 (svn r25960) -Fix-ish: make it less likely to trigger clang's hang with -D_FORTIFY_SOURCE=2 -O1 11 years ago
fonsinchen c8d4e83909 (svn r25706) -Fix: don't pass -mmacosx-version-min to compilers that don't support it 11 years ago
fonsinchen 94add80602 (svn r25706) -Fix: don't pass -mmacosx-version-min to compilers that don't support it 11 years ago
michi_cc 1880c36405 (svn r25679) -Codechange: [Win32] Get the result string of an IME input directly without a trip through the window messaging system. 11 years ago
michi_cc 7422120014 (svn r25679) -Codechange: [Win32] Get the result string of an IME input directly without a trip through the window messaging system. 11 years ago
planetmaker b1e2922a23 (svn r25642) -Fix (r25638): Compilation with static ICU 11 years ago
planetmaker b7441b3a77 (svn r25642) -Fix (r25638): Compilation with static ICU 11 years ago
planetmaker 0727c3c76d (svn r25638) -Fix (r25470): Some icu_config are too stupid to separate two ldflags by spaces, thus only call it with one 11 years ago
planetmaker 19d393bda1 (svn r25638) -Fix (r25470): Some icu_config are too stupid to separate two ldflags by spaces, thus only call it with one 11 years ago
michi_cc ac583fc787 (svn r25480) -Codechange: [OSX] OS X SDK versions >= 10.5 always have a non-const iconv declaration. 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 672ccbfde5 (svn r25470) -Feature-ish: use ICU's layout engine when that's available 11 years ago
rubidium 48c1e4f87e (svn r25470) -Feature-ish: use ICU's layout engine when that's available 11 years ago
glx 95552ba45b (svn r25266) -Fix: gcc4.6 removed -mno-cygwin option 12 years ago
glx f9be533f9e (svn r25266) -Fix: gcc4.6 removed -mno-cygwin option 12 years ago
planetmaker 5ed3969ab9 (svn r25209) -Doc: Mention --without-grfcodec in the help for configure and explain its use in the readme 12 years ago
planetmaker 7609dc7fdf (svn r25209) -Doc: Mention --without-grfcodec in the help for configure and explain its use in the readme 12 years ago
frosch e4c87948c5 (svn r25205) -Feature: Translations of baseset descriptions via lang files. 12 years ago
frosch df63cb6cef (svn r25205) -Feature: Translations of baseset descriptions via lang files. 12 years ago
rubidium a9af895fbb (svn r25107) -Change: be slightly more lenient with trying to detect a subversion repository in case someone has a sparse tags checkout. In that case the .svn folder misses from the $ROOT_DIR because it is in the $ROOT_DIR/.. (i.e. tags) folder 12 years ago
rubidium 2661b5cfff (svn r25107) -Change: be slightly more lenient with trying to detect a subversion repository in case someone has a sparse tags checkout. In that case the .svn folder misses from the $ROOT_DIR because it is in the $ROOT_DIR/.. (i.e. tags) folder 12 years ago
rubidium c6ecb1f2f3 (svn r25054) -Document: the *FLAGS_BUILD in configure 12 years ago
rubidium 5b74415631 (svn r25054) -Document: the *FLAGS_BUILD in configure 12 years ago
rubidium 8b92707d7c (svn r24889) -Fix-ish: extra GRF was built with "broken" grfcodec 12 years ago
rubidium 65ff2c1ce6 (svn r24889) -Fix-ish: extra GRF was built with "broken" grfcodec 12 years ago
smatz bc44866c59 (svn r24701) -Fix [FS#5246]: Workaround an overoptimisation done by GCC 4.5 12 years ago
smatz 75e20fd02b (svn r24701) -Fix [FS#5246]: Workaround an overoptimisation done by GCC 4.5 12 years ago
rubidium db460bc4e0 (svn r24601) -Fix: _BUILD flags were not properly parsed when reconfiguring 12 years ago
rubidium 1ba5d9ca6e (svn r24601) -Fix: _BUILD flags were not properly parsed when reconfiguring 12 years ago
rubidium 6b9c131fab (svn r24598) -Fix: configure script failed to detect libfontconfig 2.10 as newer than 2.3 12 years ago
rubidium 295c0b71ef (svn r24598) -Fix: configure script failed to detect libfontconfig 2.10 as newer than 2.3 12 years ago
rubidium cff01ec865 (svn r24573) -Fix: hopefully get packing right on Mingw's gcc 4.7 12 years ago
rubidium a023c9ae68 (svn r24573) -Fix: hopefully get packing right on Mingw's gcc 4.7 12 years ago
truebrain 863cd12c0f (svn r24471) -Feature: unbreak multiparam configure settings (--setting value), which clearly nobody uses, as it has been broken .... for a while 12 years ago
truebrain ae5cd67bea (svn r24471) -Feature: unbreak multiparam configure settings (--setting value), which clearly nobody uses, as it has been broken .... for a while 12 years ago
truebrain 4b4c058669 (svn r24470) -Feature [FS#5270]: be a tiny bit GNU autotools compatible, for those who expect all software to follow GNU guidelines 12 years ago
truebrain e4b8d41e76 (svn r24470) -Feature [FS#5270]: be a tiny bit GNU autotools compatible, for those who expect all software to follow GNU guidelines 12 years ago
rubidium 3fc0196951 (svn r24431) -Fix: some old compilers didn't like some flag that isn't really needed anyway 12 years ago
rubidium 4dfe9379a0 (svn r24431) -Fix: some old compilers didn't like some flag that isn't really needed anyway 12 years ago
rubidium a3f56875c1 (svn r24429) -Change: add some hardening flags to the compiler for release builds 12 years ago
rubidium 990c9f8a7f (svn r24429) -Change: add some hardening flags to the compiler for release builds 12 years ago
rubidium 12279e0aae (svn r24427) -Change: allow passing C(XX)- and LDFLAGS to the compilation of helper binaries such as depend, strgen and settingsgen 12 years ago
rubidium cc364d23a4 (svn r24427) -Change: allow passing C(XX)- and LDFLAGS to the compilation of helper binaries such as depend, strgen and settingsgen 12 years ago
rubidium 762922e956 (svn r24365) -Fix-ish: add C(XX)FLAGS_BUILD to all the executables that are compiled for the build enviroment 12 years ago
rubidium 66d14c50f1 (svn r24365) -Fix-ish: add C(XX)FLAGS_BUILD to all the executables that are compiled for the build enviroment 12 years ago
planetmaker f50de50aee (svn r24220) -Change: Adopt ICU version detection to also deal with the new versioning scheme since ICU 49 13 years ago
planetmaker 640ff642ae (svn r24220) -Change: Adopt ICU version detection to also deal with the new versioning scheme since ICU 49 13 years ago
rubidium 3fb929005b (svn r23993) -Cleanup: remove some disable directives from the NFO as they aren't needed anymore with newer GRFCodec/NFORenum 13 years ago
rubidium 7893ef7b1c (svn r23993) -Cleanup: remove some disable directives from the NFO as they aren't needed anymore with newer GRFCodec/NFORenum 13 years ago
rubidium a28614d6d1 (svn r23981) -Codechange: reduce GRF size by a few percent by letting GRFCodec determine the best compression 13 years ago