Rubidium
|
df19673fbd
|
Codechange: let convert_to_fs accept std::string
|
2023-04-29 12:07:45 +02:00 |
|
Rubidium
|
4dd5f994be
|
Codechange: replace strncasecmp with case ignoring variant of StrStarts/EndsWith
|
2023-04-29 10:25:25 +02:00 |
|
Rubidium
|
86786a7af6
|
Codechange: introduce StrEqualsIgnoreCase/StrCompareIgnoreCase to replace strcasecmp
|
2023-04-29 10:25:25 +02:00 |
|
Rubidium
|
f74e26ca7e
|
Codechange: replace error/usererror printf variant with fmt variant and rename
|
2023-04-25 17:55:09 +02:00 |
|
Rubidium
|
f5f6306af3
|
Codechange: use string/fmt instead of printf for ShowInfo(F)
|
2023-04-24 17:51:54 +02:00 |
|
PeterN
|
e97bf271dc
|
Codechange: Make SpriteType, CargoSortType, SourceType and ScriptType enum classes. (#10663)
This avoids a (soft) namespace conflict between the four ST_* enums.
|
2023-04-16 20:00:55 +01:00 |
|
Rubidium
|
9b56505fec
|
Codechange: split building into a library and executable
|
2023-04-16 18:58:21 +02:00 |
|
Rubidium
|
9e89eb5726
|
Codechange: move main function(s) to separate files
|
2023-04-16 18:58:21 +02:00 |
|
Charles Pigott
|
6fc28d649e
|
Cleanup: Unused alloca definitions and includes
|
2023-04-15 16:57:00 +01:00 |
|
Charles Pigott
|
b282664242
|
Codechange: Replace all usages of alloca/AllocaM with more modern/less discouraged alternatives
|
2023-04-15 16:57:00 +01:00 |
|
Jonathan G Rennison
|
cfb0d366f3
|
Unix: Trigger crash log handler on receiving SIGQUIT
|
2023-04-02 01:07:54 +01:00 |
|
Jonathan G Rennison
|
97acdfaa05
|
Crashlog: Unix: Use dladdr1 for symbol offset for addr2line
Subtract 1 from offset given to addr2line
|
2023-02-20 23:42:55 +00:00 |
|
PeterN
|
968709735d
|
Fix #10477: Not enough space for text due to rounding down (OSX) (#10489)
(cherry picked from commit 2376112c77)
|
2023-02-20 17:32:31 +00:00 |
|
Jonathan G Rennison
|
588a92648d
|
Fix fbfbaa11: gmtime replaccement in Windows exception handler
|
2023-02-20 09:29:51 +00:00 |
|
PeterN
|
2376112c77
|
Fix #10477: Not enough space for text due to rounding down (OSX) (#10489)
|
2023-02-18 05:50:20 -05:00 |
|
Jonathan G Rennison
|
fbfbaa118a
|
Remove use of gmtime and asctime
|
2023-02-15 22:02:23 +00:00 |
|
Rubidium
|
d51d08ddcb
|
Codechange: put stack variables in global variables for gamelog/crashlog
|
2023-01-28 17:23:30 +01:00 |
|
Jonathan G Rennison
|
1bfd96c7f2
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/3rdparty/fmt/core.h
# src/command_type.h
# src/console_cmds.cpp
# src/core/overflowsafe_type.hpp
# src/landscape.cpp
# src/network/network.cpp
# src/newgrf_object.h
# src/object_cmd.cpp
# src/order_gui.cpp
# src/saveload/vehicle_sl.cpp
# src/script/api/script_industrytype.cpp
# src/script/api/script_object.hpp
# src/script/api/script_town.cpp
# src/table/object_land.h
# src/timetable_cmd.cpp
# src/tree_cmd.cpp
# src/vehicle_gui.cpp
# src/window.cpp
|
2023-01-15 19:28:37 +00:00 |
|
Peter Nelson
|
8149ba338f
|
Change: Check glyph size before trying to render it.
This change of order ensures that the "Font glyph is foot large" occurs
even if the glyph is too large for an alloca() allocation.
|
2023-01-14 20:50:59 +00:00 |
|
Peter Nelson
|
fa0c67b10a
|
Change: Remove guess-work from calls to GetGlyphOutline().
This API method is intended to be called twice, so don't attempt to guess
the required size.
|
2023-01-14 20:50:59 +00:00 |
|
Peter Nelson
|
5370e910d3
|
Change: Use std::vector for fallback font list.
|
2023-01-14 20:50:59 +00:00 |
|
Jonathan G Rennison
|
5b490b243d
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/industry_cmd.cpp
# src/landscape.cpp
# src/object_cmd.cpp
# src/rail_cmd.cpp
# src/script/api/script_tile.cpp
# src/table/settings/difficulty_settings.ini
# src/table/settings/world_settings.ini
# src/terraform_cmd.cpp
# src/tilearea_type.h
# src/tree_cmd.cpp
# src/tree_cmd.h
# src/tree_gui.cpp
# src/water_cmd.cpp
|
2023-01-14 16:49:17 +00:00 |
|
Rubidium
|
b951332def
|
Codechange: use smart pointers when creating StringIterators
|
2023-01-13 21:09:40 +01:00 |
|
Jonathan G Rennison
|
0310fb0cdc
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/lang/czech.txt
# src/lang/galician.txt
# src/lang/german.txt
# src/order_cmd.cpp
# src/saveload/afterload.cpp
# src/ship.h
# src/vehicle.cpp
|
2023-01-05 23:45:34 +00:00 |
|
Rubidium
|
752cd5c0da
|
Cleanup 84b71f7: remove G5 detector as it's not referenced anymore
The last supported Mac OS X for G5 is 10.5.8 and support for < 10.7 has already been removed.
|
2023-01-04 22:42:23 +01:00 |
|
Jonathan G Rennison
|
5e76e6fb07
|
MacOS: Add workaround for std::variant
|
2023-01-02 19:15:37 +00:00 |
|
Jonathan G Rennison
|
58d841486e
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/os/windows/font_win32.cpp
# src/script/api/script_object.hpp
# src/town_cmd.cpp
# src/train_cmd.cpp
# src/viewport.cpp
# src/viewport_func.h
|
2022-12-27 01:00:40 +00:00 |
|
glx22
|
e6c857cdba
|
Codechange: [windows] cache the actually loaded font name
|
2022-12-23 23:23:03 +01:00 |
|
glx22
|
af3df959c2
|
Codechange: reduce code duplication
|
2022-12-23 23:23:03 +01:00 |
|
Jonathan G Rennison
|
c6e5776cc4
|
Crashlog: Windows: Fix sign error for symbol offsets in crashlog
|
2022-12-22 12:49:37 +00:00 |
|
Jonathan G Rennison
|
9e33153df9
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/os/macosx/string_osx.cpp
|
2022-12-20 18:05:43 +00:00 |
|
Jonathan G Rennison
|
16a3e0ef59
|
Windows: Crashlog: Fix printf format warnings
|
2022-12-19 20:54:41 +00:00 |
|
Peter Nelson
|
daaa058493
|
Change: Vertically centre sprite font relative to TrueType font.
|
2022-12-18 11:46:01 -05:00 |
|
Peter Nelson
|
8599041ce4
|
Fix: GetDefaultFontHeight() is static, don't use ->
|
2022-12-18 11:46:01 -05:00 |
|
Jonathan G Rennison
|
6d4474b84e
|
Merge tag '13.0-beta2' into jgrpp
# Conflicts:
# src/cheat_gui.cpp
# src/company_gui.cpp
# src/console_gui.cpp
# src/depot_gui.cpp
# src/error_gui.cpp
# src/gfx.cpp
# src/graph_gui.cpp
# src/group_gui.cpp
# src/lang/english.txt
# src/lang/korean.txt
# src/lang/polish.txt
# src/misc_gui.cpp
# src/network/network_content_gui.h
# src/newgrf_debug_gui.cpp
# src/order_gui.cpp
# src/rail_gui.cpp
# src/road_gui.cpp
# src/settings_gui.cpp
# src/settings_type.h
# src/station_gui.cpp
# src/subsidy_gui.cpp
# src/table/settings/gui_settings.ini
# src/timetable_gui.cpp
# src/town_gui.cpp
# src/train_cmd.cpp
# src/vehicle_gui.cpp
# src/viewport.cpp
# src/water_cmd.cpp
# src/widgets/dropdown.cpp
# src/window_gui.h
|
2022-12-04 20:43:11 +00:00 |
|
Jonathan G Rennison
|
e97781608f
|
Crashlog: Windows: Show some memory stats for out of memory crashes
|
2022-11-29 17:53:15 +00:00 |
|
Peter Nelson
|
9666e46739
|
Feature: Variable GUI scale.
GUI scale is now variable from 100% to 500%, and no longer restricted to
powers-of-2.
|
2022-11-12 18:28:39 +00:00 |
|
Peter Nelson
|
062ea68422
|
Change: Scale position of font shadow.
|
2022-11-12 18:28:39 +00:00 |
|
Jonathan G Rennison
|
652d6c8181
|
Crashlog: Windows: Handle negative address offsets from BFD symbol
|
2022-11-03 00:57:47 +00:00 |
|
Jonathan G Rennison
|
60ed858707
|
Fix handling of printf format specifiers on MinGW
See: #446
|
2022-11-03 00:57:47 +00:00 |
|
Jonathan G Rennison
|
5cc56a6145
|
Crashlog: Limit iterations of calls to bfd_find_inliner_info
|
2022-10-08 19:56:16 +01:00 |
|
Jonathan G Rennison
|
23b974fb39
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/fontcache.cpp
# src/openttd.cpp
# src/os/macosx/font_osx.cpp
# src/os/unix/font_unix.cpp
# src/os/windows/font_win32.cpp
# src/strings.cpp
|
2022-10-03 20:32:26 +01:00 |
|
Peter Nelson
|
2cdd8b7429
|
Change: Separate fontcache implementations.
|
2022-09-25 18:34:24 +01:00 |
|
Peter Nelson
|
f6ad8e1c9c
|
Change: Rename some freetype things to fontcache.
The font cache supports more than just FreeType as a font provider, but still used freetype in some naming.
This now uses more suitable terms.
|
2022-09-25 18:34:24 +01:00 |
|
Peter Nelson
|
273988551d
|
Fix: font_win32.cpp compile failure with WITH_FREETYPE
|
2022-09-25 18:34:24 +01:00 |
|
Jonathan G Rennison
|
a8d5e56696
|
Crashlog: Only output dump files for MSVC builds
|
2022-09-11 10:28:57 +01:00 |
|
Jonathan G Rennison
|
4049cb1407
|
MacOS: Use _exit instead of exit on execvp failure in crashlog
|
2022-09-04 22:16:20 +01:00 |
|
Jonathan G Rennison
|
e64427d034
|
Crashlog: Unix: Add BFD inline info support
|
2022-09-04 22:01:23 +01:00 |
|
Jonathan G Rennison
|
ad1e4ca334
|
Crashlog: Windows: Add BFD inline info support
|
2022-09-04 22:01:09 +01:00 |
|
Jonathan G Rennison
|
3d39e439f6
|
Unix: Use _exit instead of exit on execvp failure in crashlog
|
2022-09-04 20:58:28 +01:00 |
|