Commit Graph

478 Commits (81e69fcbbee1810da3b6ac8031191615fdb2bfd0)

Author SHA1 Message Date
Jonathan G Rennison 035f5622b9 Merge branch 'master' into jgrpp
# Conflicts:
#	src/console_cmds.cpp
#	src/landscape.cpp
#	src/linkgraph/linkgraphschedule.cpp
#	src/openttd.cpp
#	src/roadveh_cmd.cpp
#	src/toolbar_gui.cpp
#	src/train_cmd.cpp
#	src/vehicle.cpp
#	src/viewport.cpp
#	src/window_type.h
6 years ago
Charles Pigott 63898f61b0 Codechange: Rearrange struct packing defines and make MinGW use _Pragma pack style 6 years ago
Jonathan G Rennison b48a6ef368 Revert "Revert "Add: [Win32] Uniscribe configure options for MinGW targets.""
This reverts commit ca4a4869a2.
6 years ago
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 eec3f40931 Change: [Win32] Use Uniscribe instead of ICU for text caret handling.
This removes the need for the ICU lib on Windows.
6 years ago
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.
6 years ago
Michael Lutz f4394debdc Add: [Win32] Native natural sort implementation. 6 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 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
frosch 192770e6da Change: Non-tag revisions are now named '<commitdate>-<branch>-g<shorthash><modified>'. 7 years ago
Michael Lutz 6c3902ac41 Codechange: [OSX] Use newer APIs to get resolution information when available. 7 years ago
Michael Lutz f670277ff5 Codechange: [OSX] Try to set the thread name for debugger display. 7 years ago
Michael Lutz 4971678f52 Codechange: [OSX] Use 10.10+ API to get the OSX version when available. 7 years ago
Michael Lutz 74b7f0a9aa Fix: [OSX] Remove some OSX compiler warnings on newer SDKs/compilers. 7 years ago
frosch 09d4735679 (svn r27993) -Change: Heading for 1.9 now 7 years ago
Jonathan G Rennison 385a2552e9 Merge branch 'enhanced_viewport_overlay' into jgrpp 7 years ago
frosch 91464af737 (svn r27980) -Doc: Yearly increment 7 years ago
frosch b1592787eb (svn r27980) -Doc: Yearly increment 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 2f85326a4a Increase crashlog length limits 7 years ago
Jonathan G Rennison acea2e83fe Merge branch 'crashlog_improvements' into jgrpp 7 years ago
Jonathan G Rennison fd9a2e680c Fix using crash abort reason string as printf format string 7 years ago
Jonathan G Rennison 7d960e28b4 Update crash dialog message to point to forum thread and github
Instead of bugs.openttd.org
7 years ago
Jonathan G Rennison 38b446ee0f Merge branch 'crashlog_improvements' into jgrpp 7 years ago
Jonathan G Rennison 3271d69bda Enable crashlogs for emergency or missing NewGRF savegames, in dev mode.
Factor out common checks for emergency and missing NewGRFs.
7 years ago
Jonathan G Rennison 56013d3b91 Mac OSX: Disable Mac assert header globally defining common names.
See: https://groups.google.com/a/chromium.org/forum/#!topic/chromium-reviews/a9hZ094JK68
8 years ago
Jonathan G Rennison ac69b746ab Merge branch 'master' into jgrpp
# Conflicts:
#	src/gfxinit.cpp
#	src/saveload/saveload.cpp
8 years ago
frosch afcef7faa6 (svn r27780) -Update: Numbers 8 years ago
frosch ed63b48e76 (svn r27780) -Update: Numbers 8 years ago
frosch 15032bd765 (svn r27777) -Doc: Yearly increment 8 years ago
frosch bc61ff380a (svn r27777) -Doc: Yearly increment 8 years ago
Jonathan G Rennison 064a36b319 Merge branch 'crashlog_improvements' into jgrpp 8 years ago
Jonathan G Rennison 102405e082 Fix recursive faults in Window crash logger due to message box event loop. 8 years ago
Jonathan G Rennison 7f10d83a4a Merge branch 'template_train_replacement' into jgrpp
# Conflicts:
#	src/linkgraph/linkgraphjob.cpp
#	src/saveload/extended_ver_sl.cpp
#	src/train_cmd.cpp
#	src/vehicle_base.h
8 years ago
michi_cc 94b3965989 (svn r27675) -Fix [FS#6502]: [OSX] Building with 10.11 or 10.12 SDKs. 8 years ago
michi_cc 4436f96f9f (svn r27675) -Fix [FS#6502]: [OSX] Building with 10.11 or 10.12 SDKs. 8 years ago
michi_cc 51052f4961 (svn r27674) -Fix (r27673): Mingw... 8 years ago
michi_cc 221c84be66 (svn r27674) -Fix (r27673): Mingw... 8 years ago
michi_cc c83306391e (svn r27673) -Add: [Win32] Thread names for windows debuggers. 8 years ago
michi_cc 36cbb54a9d (svn r27673) -Add: [Win32] Thread names for windows debuggers. 8 years ago
Jonathan G Rennison f7774415f2 Merge branch 'cpp-11' into crashlog_improvements
# Conflicts:
#	src/stdafx.h
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
alberth 95bb103a23 (svn r27643) -Codechange: FiosGetDrives function also takes a destination file list. 8 years ago
alberth f618c0d0a5 (svn r27643) -Codechange: FiosGetDrives function also takes a destination file list. 8 years ago
Jonathan G Rennison 74ff8b9e8e Merge branch 'crashlog_improvements' into jgrpp
# Conflicts:
#	Makefile.src.in
8 years ago
Jonathan G Rennison 62631cba02 Attempt to log distro name/version in Unix crashlog.
Factor out fork/execve/read stdout code into own function.
8 years ago
Jonathan G Rennison 8d078acb4e Log registers and fault instruction in Unix crashlog. 8 years ago
Jonathan G Rennison abbc960e96 Linux crashlog: Use sigaction to get more info on fatal signals. 8 years ago
Jonathan G Rennison bdca33ee80 Merge branch 'crashlog_improvements' into jgrpp 9 years ago
Jonathan G Rennison c949ab72e4 Close read end of pipe after reading in gdb stack trace mode. 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 57cbecb0e0 Merge branch 'master' into jgrpp 9 years ago
frosch 0c7c0ada78 (svn r27518) -Update: Numbers 9 years ago
frosch fbd79d88f0 (svn r27518) -Update: Numbers 9 years ago
frosch 56c54dcaec (svn r27516) -Update: Documentation 9 years ago
frosch a8b5756718 (svn r27516) -Update: Documentation 9 years ago
Jonathan G Rennison cbc35e8aae Try to make scope info logging more robust.
Add checks for validity of Vehicle ptrs in scope_dumper::VehicleInfo.
In Unix mode, try to handle SIGSEGVs when dumping scope info.
9 years ago
Jonathan G Rennison f86b5c58cb Merge branch 'master' into crashlog_improvements 9 years ago
michi_cc be689517f6 (svn r27481) -Fix: [Win32] Stdin/out/err need to be re-assigned differently if the runtime lib of MSVC2015 is used. 9 years ago
michi_cc 4445809dd9 (svn r27481) -Fix: [Win32] Stdin/out/err need to be re-assigned differently if the runtime lib of MSVC2015 is used. 9 years ago
Jonathan G Rennison 1ee1c6201a Fix compilation on 32 bit windows due to type mismatches. 9 years ago
Jonathan G Rennison eaf9aa6571 Unix crash log: handle SIGSEGVs while backtracing. Add documentation. 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 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 8b1f9399bc (svn r27385) -Fix: compilation failure due #define-ing enum name of a system library before including the system library 9 years ago
rubidium 3b8aabdd9e (svn r27385) -Fix: compilation failure due #define-ing enum name of a system library before including the system library 9 years ago
michi_cc 35b77450f8 (svn r27380) -Fix: [Win32] Compilation with MSVC2015. 9 years ago
michi_cc 0cd198c798 (svn r27380) -Fix: [Win32] Compilation with MSVC2015. 9 years ago
rubidium 10466746b4 (svn r27290) -Fix: sanitize the command line arguments before doing anything complex with them 10 years ago
rubidium dde669e6d3 (svn r27290) -Fix: sanitize the command line arguments before doing anything complex with them 10 years ago
frosch 6477356dd2 (svn r27192) -Change: heading for 1.6 now 10 years ago
frosch 2edbc72ebd (svn r27192) -Change: heading for 1.6 now 10 years ago
planetmaker 15a29b8b28 (svn r27176) -Fix: Compilation with MinGW64 (Eddy Arfik) 10 years ago
planetmaker 0a9364cef6 (svn r27176) -Fix: Compilation with MinGW64 (Eddy Arfik) 10 years ago
rubidium 9428d6fb34 (svn r27103) -Update: copyright date 10 years ago
rubidium dd40950643 (svn r27103) -Update: copyright date 10 years ago
frosch 396dde1636 (svn r27092) -Fix/Add [FS#6186]: Compilation on OS/2 (smedles) 10 years ago
frosch 93fb724f87 (svn r27092) -Fix/Add [FS#6186]: Compilation on OS/2 (smedles) 10 years ago
alberth 35f671229b (svn r26724) -Fix[FS#6077] Use the normal search path to look for xdg-open at Unix (kernigh2) 10 years ago
alberth fa4996feef (svn r26724) -Fix[FS#6077] Use the normal search path to look for xdg-open at Unix (kernigh2) 10 years ago
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) 10 years ago
planetmaker cd084721b4 (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) 10 years ago
frosch 51f68c42bb (svn r26606) -Fix [FS#6022]: Filename capitalisation (NG) 11 years ago
frosch 6e9edc085b (svn r26606) -Fix [FS#6022]: Filename capitalisation (NG) 11 years ago
rubidium b476086c39 (svn r26538) -Codechange: remove double accounting of the drivers 11 years ago
rubidium beb540ec55 (svn r26538) -Codechange: remove double accounting of the drivers 11 years ago
frosch cadfedd584 (svn r26523) -Fix [FS#5992]: OpenBSD compilation (MagisterQuis) 11 years ago
frosch 3be8cb7061 (svn r26523) -Fix [FS#5992]: OpenBSD compilation (MagisterQuis) 11 years ago
rubidium 5ebf72d126 (svn r26517) -Fix: Windows 9x (or rather non-unicode) compile failures 11 years ago
rubidium b3ea3c45f9 (svn r26517) -Fix: Windows 9x (or rather non-unicode) compile failures 11 years ago
rubidium 9ed12b0f07 (svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL) 11 years ago
rubidium 034735a54c (svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL) 11 years ago
rubidium ce06139328 (svn r26490) -Fix (r26489): compilation under Windows 11 years ago
rubidium 4cc448fa82 (svn r26490) -Fix (r26489): compilation under Windows 11 years ago
rubidium 5b82822c12 (svn r26486) -Codechange: replace a number of snprintfs with seprintf 11 years ago
rubidium 6ecc602050 (svn r26486) -Codechange: replace a number of snprintfs with seprintf 11 years ago
frosch ef4c2ce031 (svn r26485) -Codechange: Replace ttd_strlcpy and ttd_strlcat with strecpy and strecat. 11 years ago
frosch 24c7134bff (svn r26485) -Codechange: Replace ttd_strlcpy and ttd_strlcat with strecpy and strecat. 11 years ago
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 11 years ago
rubidium 2be4215f43 (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 11 years ago
frosch 8ff9499fe2 (svn r26409) -Update: Version number in some more places. 11 years ago
frosch e511805439 (svn r26409) -Update: Version number in some more places. 11 years ago
rubidium 2618d960e3 (svn r26209) -Codechange: remove some template magic and simplify some code 11 years ago
rubidium 4a911754b5 (svn r26209) -Codechange: remove some template magic and simplify some code 11 years ago
rubidium e3542b1977 (svn r26192) -Fix (r24878): off-by-one error ;) 11 years ago
rubidium 10e5681920 (svn r26192) -Fix (r24878): off-by-one error ;) 11 years ago
michi_cc dce0951fdc (svn r25913) -Fix: [OSX] Compilation under OSX 10.9. (zydeco) 11 years ago
michi_cc 039b1f692c (svn r25913) -Fix: [OSX] Compilation under OSX 10.9. (zydeco) 11 years ago
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. 11 years ago
michi_cc b2d68431d5 (svn r25677) -Codechange: [Win32] There are no 64-bit Windows versions below XP and we can safely assume it as the target platform. 11 years ago
michi_cc 765e7d349e (svn r25676) -Fix: [Win32] The ANSI code page is not UTF-8 for non-Unicode builds. 11 years ago
michi_cc 8c7a4db53a (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 66d9ded71f (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 6be5000eda (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 21120665e3 (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
michi_cc 3cd7eeb160 (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
planetmaker f613faac19 (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 4f0382702d (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
rubidium 17951f57a5 (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
michi_cc ac583fc787 (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
rubidium fd1ee0560c (svn r25474) -Fix [FS#5618]: OS X compilation failure 11 years ago
michi_cc 2d67f07975 (svn r25155) -Codechange: [Win32] Improve SHGetFolderPath emulation. 12 years ago
michi_cc db09d96279 (svn r25155) -Codechange: [Win32] Improve SHGetFolderPath emulation. 12 years ago
michi_cc 3349cb3347 (svn r25154) -Fix: [Win32] Don't store invalid paths in the search path list. 12 years ago
michi_cc 26203f2f87 (svn r25154) -Fix: [Win32] Don't store invalid paths in the search path list. 12 years ago
michi_cc d1212e0b1a (svn r25153) -Fix [FS#5522] (r24487): [Win32] Don't statically link to SHGetFolderPath as it may not exist. 12 years ago
michi_cc da843d931e (svn r25153) -Fix [FS#5522] (r24487): [Win32] Don't statically link to SHGetFolderPath as it may not exist. 12 years ago
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
planetmaker f00d9976f9 (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 5539263c6a (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
rubidium 4c2c909a6a (svn r24572) -Fix: do not cast away some other consts 12 years ago