Jonathan G Rennison
ca4a4869a2
Revert "Add: [Win32] Uniscribe configure options for MinGW targets."
...
Revert "Change: [Win32] Use Uniscribe instead of ICU for text caret handling."
Revert "Change: [Win32/MSVC] Make the Uniscribe text layouter the windows default and remove usage of the deprecated ICU layout libs."
Revert "Add: [Win32] Text layout using the native Windows Uniscribe library."
Revert "Codechange: Move ParagraphLayouter-specific functions into factory classes instead of relying on overloads."
Revert "Add: [Win32] Native natural sort implementation."
This reverts commit cd966f3810
.
This reverts commit eec3f40931
.
This reverts commit 33829dc6ab
.
This reverts commit 768a31bfe3
.
This reverts commit a4278c302b
.
This reverts commit f4394debdc
.
This is to fix various problems and crashes with text rendering
and font handling on Windows.
See #58 .
6 years ago
Jonathan G Rennison
8e9d68048a
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/string.cpp
6 years ago
Michael Lutz
cd966f3810
Add: [Win32] Uniscribe configure options for MinGW targets.
6 years ago
Jonathan G Rennison
56be293107
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/blitter/32bpp_anim.cpp
# src/blitter/32bpp_anim.hpp
# src/blitter/32bpp_anim_sse2.cpp
# src/blitter/32bpp_base.cpp
# src/blitter/32bpp_base.hpp
# src/ground_vehicle.cpp
# src/linkgraph/linkgraph_gui.h
# src/main_gui.cpp
# src/newgrf_house.cpp
# src/newgrf_house.h
# src/town_cmd.cpp
# src/vehicle_base.h
# src/viewport_gui.cppp
6 years ago
Owen Rudge
7bd2fa3516
Feature: Add XAudio2 driver
6 years ago
Jonathan G Rennison
094e04a04d
Fix configure script detection of clang
...
See 00c16032
6 years ago
Jonathan G Rennison
ce80eedd96
Merge branch 'crashlog_improvements' into jgrpp
...
# Conflicts:
# config.lib
7 years ago
Jonathan G Rennison
ffa4f03128
Fix lib detection when using environment c/l flags
...
This was broken by f06061aa3b
7 years ago
Jonathan G Rennison
ad1c402ad8
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/debug.cpp
# src/saveload/afterload.cpp
# src/saveload/saveload.cpp
# src/settings_type.h
# src/town_cmd.cpp
# src/window.cpp
7 years ago
Patric Stout
0165fe1283
Codechange: remove endian_check in favour of __BYTE_ORDER macro (Rubidium) ( #6762 )
7 years ago
Patric Stout
aef69443e7
Remove: WinCE support
7 years ago
Patric Stout
85adde7485
Remove: PSP support
7 years ago
Jonathan G Rennison
1fe0bb76b9
Merge branches 'crashlog_improvements', 'save_ext', 'version_utils' into jgrpp
7 years ago
Jonathan G Rennison
f42cc19aad
Merge branch 'cpp-11' into crashlog_improvements
...
# Conflicts:
# Makefile.src.in
# src/crashlog.cpp
# src/crashlog.h
7 years ago
Jonathan G Rennison
b90c5b9618
Merge branch 'master' into cpp-11
...
# Conflicts:
# src/stdafx.h
7 years ago
Charles Pigott
00c1603256
Fix e614357: Ask the compiler who it is, instead of using symlinks ( #6727 )
...
This fixes #6723
7 years ago
Patric Stout
aaf7e98c77
Fix 6ac0790: don't show the location to / failure of 'realpath' every time ( #6719 )
7 years ago
Patric Stout
ae5628e903
Change: [Build] prioritize cc-build over build (based on patch by woutershep2) ( #6716 )
...
This closes #6414
7 years ago
Patric Stout
f06061aa3b
Change: [Build] use flags set by env at the end, not at the start (based on patch by adf88) ( #6715 )
...
This closes #6433
7 years ago
Victor Sergienko
6ac079020b
Fix e614357: MingW/MacOS/MacPorts don't have realpath, use reallink in those cases ( #6710 )
7 years ago
Charles Pigott
e47f646cb3
Fix e61435774b: Some systems don't have realpath ( #6705 )
7 years ago
Charles Pigott
e61435774b
Fix: Resolve symlinks when working out which compiler is being used
7 years ago
Charles Pigott
4b1a42c703
Codechange: Remove outdated assumption about FreeBSD's C compiler
7 years ago
Jonathan G Rennison
f77a368268
Merge branch 'crashlog_improvements' into jgrpp
7 years ago
Jonathan G Rennison
4a6ddb2d50
Merge branch 'cpp-11' into crashlog_improvements
...
# Conflicts:
# config.lib
7 years ago
Jonathan G Rennison
509e20406f
Merge branch 'master' into cpp-11
7 years ago
adf88
b3d37c0032
(svn r27902) -Feature [FS#6614]: Preserve PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR environment variables in config.cache file (just like other variabes CFLAGS, LDFLAGS etc.) so they can be resused when OpenTTD re-configures itself
7 years ago
adf88
2aa806842f
(svn r27902) -Feature [FS#6614]: Preserve PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR environment variables in config.cache file (just like other variabes CFLAGS, LDFLAGS etc.) so they can be resused when OpenTTD re-configures itself
7 years ago
Jonathan G Rennison
f3a0aace0c
Merge branch 'master' into cpp-11
...
# Conflicts:
# src/stdafx.h
7 years ago
Jonathan G Rennison
90cd312428
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/fios.h
8 years ago
michi_cc
3e7bdb0c73
(svn r27727) -Fix(-or-not) [FS#6295]: [OSX] Out-of-the-box compilation on newer OSX versions (dunn).
8 years ago
michi_cc
8ad28478a3
(svn r27727) -Fix(-or-not) [FS#6295]: [OSX] Out-of-the-box compilation on newer OSX versions (dunn).
8 years ago
Jonathan G Rennison
5c7f36ef4b
Merge branch 'enhanced_viewport_overlay' into jgrpp
...
Further fixes for viewport lines/marker for multiplayer clients.
# Conflicts:
# src/lang/russian.txt
8 years ago
Jonathan G Rennison
56f173e15e
Merge branch 'master' into save_ext
8 years ago
frosch
d8a316d7c5
(svn r27709) -Fix-ish: Silence some warnings. (adf88)
8 years ago
frosch
4342798ff5
(svn r27709) -Fix-ish: Silence some warnings. (adf88)
8 years ago
frosch
ab3d5305a5
(svn r27703) -Change [FS#6532]: [gcc] Wnarrowing and Wfree-nonheap-object do no longer trigger in gcc 4.9.2, so reenable them.
8 years ago
frosch
41e5e7626e
(svn r27703) -Change [FS#6532]: [gcc] Wnarrowing and Wfree-nonheap-object do no longer trigger in gcc 4.9.2, so reenable them.
8 years ago
Jonathan G Rennison
f1999edbf0
Merge branch 'cpp-11' into jgrpp
8 years ago
Jonathan G Rennison
06f9c01986
Fix CPU pointer width detection in configure script.
8 years ago
Jonathan G Rennison
778d3f1352
Configure: Default to trying clang then gcc on OSX, gcc then clang elsewhere.
8 years ago
Jonathan G Rennison
5672b6c2c8
Enable custom allocator use on clang.
8 years ago
Jonathan G Rennison
8ad53acfef
Merge branch 'crashlog_improvements' into jgrpp
8 years ago
Jonathan G Rennison
c59509c2aa
Use -gline-tables-only instead of -g1 on clang.
8 years ago
Jonathan G Rennison
f7774415f2
Merge branch 'cpp-11' into crashlog_improvements
...
# Conflicts:
# src/stdafx.h
8 years ago
Jonathan G Rennison
8a2f9311a9
Include -01 in CFLAGS_BUILD when using clang.
8 years ago
Jonathan G Rennison
5e67582a64
Merge branch 'save_ext' into jgrpp
...
# Conflicts:
# config.lib
# src/saveload/extended_ver_sl.cpp
# src/saveload/saveload.cpp
8 years ago
Jonathan G Rennison
2fe7571034
Require C++11 support.
...
Set minimum compiler versions to:
GCC 4.7
clang 3.3
ICC 14.0
8 years ago
frosch
533cb7c156
(svn r27654) -Change: Enable C++11 for clang 3.3 (LordAro)
8 years ago
frosch
ac6793dace
(svn r27654) -Change: Enable C++11 for clang 3.3 (LordAro)
8 years ago
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