Jonathan G Rennison
6c21c93192
Add command line switch -Z to write detailed version information
5 years ago
Jonathan G Rennison
edfd378e93
Merge branch 'master' into jgrpp
...
# Conflicts:
# source.list
# src/blitter/32bpp_anim.cpp
# src/linkgraph/linkgraphjob.cpp
# src/order_cmd.cpp
# src/vehicle.cpp
# src/vehicle_type.h
5 years ago
JMcKiern
04f659e768
Fix: Some typos found using codespell
5 years ago
Michael Lutz
61d6fa97cc
Fix: [OSX] Wrong allocator usage for creating a CFString.
5 years ago
Jonathan G Rennison
1f535915d1
Merge branch 'master' into jgrpp-nrt
...
# Conflicts:
# config.lib
# src/core/bitmath_func.hpp
# src/lang/korean.txt
# src/main_gui.cpp
# src/order_gui.cpp
# src/script/api/script_object.cpp
# src/station_cmd.cpp
# src/video/cocoa/wnd_quartz.mm
5 years ago
uvealonso
ead772324e
Fix #7704 : [OSX] Handle malformed UTF8 strings
5 years ago
Jonathan G Rennison
459a49cb24
Add flags for mismatch type to client desync log
5 years ago
Jonathan G Rennison
97baff6fd8
Add client desync log to server desync log output
5 years ago
Jonathan G Rennison
5a9790a196
Store crash/desync logs in crash/desync savegame
...
Add console command to dump loaded debug log
5 years ago
Jonathan G Rennison
951a50ddd9
Include crash/desync log contents in PNG screenshots
5 years ago
Jonathan G Rennison
fa55a1c002
Output a log, savegame and screenshot on desync events
5 years ago
Transportman
7ef2f11c4c
Fix #7570 : Show Github URL in the crashlog window
5 years ago
Jonathan G Rennison
85c8f4baca
Merge branch 'crashlog_improvements' into jgrpp
...
# Conflicts:
# src/os/macosx/crashlog_osx.cpp
5 years ago
Jonathan G Rennison
cc970aac70
Add sigaltstack support to MacOS crashlog
5 years ago
Jonathan G Rennison
61a4ecf078
Add sigaction and ucontext support to Mac crashlog
5 years ago
Jonathan G Rennison
da2528cbe2
Add defensive checks to MacOSStringCompare
6 years ago
Jonathan G Rennison
8715574c4a
Merge branch 'crashlog_improvements' into jgrpp
6 years ago
Jonathan G Rennison
73c8715eb6
Add LLDB self debug to OSX
6 years ago
Jonathan G Rennison
674732cd68
Merge: Codechange: Use null pointer literal instead of the NULL macro
6 years ago
Jonathan G Rennison
f5747bf753
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/genworld_gui.cpp
# src/group_gui.cpp
# src/saveload/saveload.cpp
# src/settings_gui.cpp
# src/toolbar_gui.cpp
# src/vehicle_gui.cpp
# src/vehicle_gui_base.h
# src/widgets/dropdown.cpp
# src/widgets/dropdown_type.h
6 years ago
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
6 years ago
Michael Lutz
baf9229931
Codechange: Replace AutoDeleteSmallVector with direct std::vector use in text layout code.
6 years ago
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.
6 years ago
Michael Lutz
fbc4cef180
Codechange: Use override specifier for text layout classes.
6 years ago
Jonathan G Rennison
d5ee9d34da
Merge branch 'cpp-11' into crashlog_improvements
...
# Conflicts:
# Makefile.src.in
# projects/determineversion.vbs
# source.list
# src/crashlog.cpp
# src/misc.cpp
# src/os/unix/crashlog_unix.cpp
# src/os/windows/crashlog_win.cpp
# src/rev.h
# src/thread/thread.h
# src/thread/thread_morphos.cpp
# src/thread/thread_none.cpp
# src/thread/thread_os2.cpp
# src/thread/thread_pthread.cpp
# src/thread/thread_win32.cpp
6 years ago
Jonathan G Rennison
361758b516
Merge branches 'crashlog_improvements', 'save_ext' into jgrpp
...
# Conflicts:
# Makefile.src.in
# projects/openttd_vs140.vcxproj
# projects/openttd_vs140.vcxproj.filters
# projects/openttd_vs141.vcxproj
# projects/openttd_vs141.vcxproj.filters
# projects/openttd_vs142.vcxproj
# projects/openttd_vs142.vcxproj.filters
# src/core/smallstack_type.hpp
# src/linkgraph/linkgraphjob.cpp
# src/linkgraph/linkgraphjob.h
# src/misc.cpp
# src/network/network_udp.cpp
# src/openttd.cpp
# src/saveload/saveload.cpp
6 years ago
Michael Lutz
967b27a2c1
Codechange: C++11 STL has a function for getting the number of CPU cores.
6 years ago
Jonathan G Rennison
ba34ec7ade
Merge branch 'master' into jgrpp
...
Replace build and refit, and group collapse implementations
Fix template creation build and refit
# Conflicts:
# Makefile.bundle.in
# config.lib
# src/animated_tile.cpp
# src/blitter/32bpp_anim.hpp
# src/blitter/32bpp_base.hpp
# src/blitter/8bpp_base.hpp
# src/blitter/null.hpp
# src/build_vehicle_gui.cpp
# src/command.cpp
# src/command_func.h
# src/console_gui.cpp
# src/core/smallstack_type.hpp
# src/date.cpp
# src/debug.cpp
# src/genworld_gui.cpp
# src/ground_vehicle.hpp
# src/group_gui.cpp
# src/lang/korean.txt
# src/linkgraph/linkgraph_gui.h
# src/main_gui.cpp
# src/misc_gui.cpp
# src/network/core/game.h
# src/network/core/packet.cpp
# src/network/core/udp.cpp
# src/network/core/udp.h
# src/network/network_content.cpp
# src/network/network_type.h
# src/network/network_udp.cpp
# src/newgrf_house.h
# src/openttd.cpp
# src/order_cmd.cpp
# src/order_gui.cpp
# src/os/unix/crashlog_unix.cpp
# src/os/windows/crashlog_win.cpp
# src/osk_gui.cpp
# src/pathfinder/opf/opf_ship.cpp
# src/rail_cmd.cpp
# src/rail_gui.cpp
# src/saveload/saveload.cpp
# src/settings.cpp
# src/settings_gui.cpp
# src/smallmap_gui.h
# src/station_base.h
# src/station_cmd.cpp
# src/table/gameopt_settings.ini
# src/table/newgrf_debug_data.h
# src/table/settings.ini
# src/timetable_gui.cpp
# src/toolbar_gui.cpp
# src/train_gui.cpp
# src/vehicle.cpp
# src/vehicle_gui.cpp
# src/vehiclelist.cpp
# src/viewport.cpp
# src/widgets/dropdown.cpp
# src/window_gui.h
6 years ago
Henry Wilson
cc62f4163f
Cleanup: Remove unused size template parameters from SmallMap and Auto[Free|Delete]SmallVector
6 years ago
Henry Wilson
ab711e6942
Codechange: Replaced SmallVector::[Begin|End]() with std alternatives
6 years ago
Henry Wilson
a0f36a50e6
Codechange: Replaced SmallVector::Append() with std::vector::[push|emplace]_back()
6 years ago
Henry Wilson
097328c3d7
Codechange: Replaced SmallVector::Get() const with std alternatives
6 years ago
Henry Wilson
a690936ed7
Codechange: Replace SmallVector::Length() with std::vector::size()
6 years ago
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.
6 years ago
Jonathan G Rennison
2003a86932
Merge remote-tracking branch 'origin/master' into jgrpp
...
# Conflicts:
# src/string.cpp
6 years ago
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.
6 years ago
Michael Lutz
4bf216993a
Add: [OSX] Native text caret handling.
6 years ago
Michael Lutz
8d7cd6a526
Add: [OSX] Native natural sort implementation.
6 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
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
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
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
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
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
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
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
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
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
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
yexo
1f75f81a41
(svn r24524) -Fix [FS#5296]: fix some compile problems in mac-only code (__ln__)
12 years ago
yexo
8944dcbef2
(svn r24524) -Fix [FS#5296]: fix some compile problems in mac-only code (__ln__)
12 years ago
yexo
b4fdba2fb3
(svn r23490) -Add [FS#2750]: OpenBrowser function to open a browser on major OSes
13 years ago
yexo
f18be8a266
(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
michi_cc
62ea921e2f
(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
rubidium
a531ec1899
(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
d6e042c735
(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
truebrain
0fbe10a2e3
(svn r23356) -Fix: some OSX versions have ScriptOrder defined
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
rubidium
af9de6c95d
(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
350812a90a
(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
c250139165
(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
planetmaker
52c09189b7
(svn r22678) -Doc: More doxygen sprinkles in MacOSX code and cocoa video driver
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
rubidium
8a08de2f44
(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
f65a9a5515
(svn r21593) -Codechange: endif comment correcttions.
14 years ago
alberth
0b0127b13d
(svn r21593) -Codechange: endif comment correcttions.
14 years ago
rubidium
671158acd8
(svn r21150) -Fix: [OSX] Deprecation warning with libpng 1.4
14 years ago
rubidium
38737efb41
(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