Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						6880cf24a0 
					 
					
						
						
							
							Fix crash in template replacement failure news if autorenew succeeds  
						
						
						
						
					 
					
						2023-05-30 23:41:51 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						2ea1766677 
					 
					
						
						
							
							Merge branch 'master' into jgrpp  
						
						... 
						
						
						
						# Conflicts:
#	.github/workflows/commit-checker.yml
#	src/industry_cmd.cpp
#	src/industry_gui.cpp
#	src/landscape.cpp
#	src/linkgraph/linkgraph_gui.cpp
#	src/order_base.h
#	src/order_cmd.cpp
#	src/order_gui.cpp
#	src/saveload/afterload.cpp
#	src/saveload/league_sl.cpp
#	src/saveload/saveload.h
#	src/script/api/script_object.hpp
#	src/script/squirrel_helper.hpp
#	src/settings_table.cpp
#	src/station_cmd.cpp
#	src/table/settings.h.preamble
#	src/tree_cmd.cpp
#	src/tree_map.h
#	src/vehicle.cpp
#	src/waypoint_cmd.cpp 
						
						
					 
					
						2023-03-04 16:45:05 +00:00 
						 
				 
			
				
					
						
							
							
								Tyler Trahan 
							
						 
					 
					
						
						
							
						
						44848f4edf 
					 
					
						
						
							
							Add: CommandCost supports an optional second error string  
						
						
						
						
					 
					
						2023-03-03 17:11:14 -05:00 
						 
				 
			
				
					
						
							
							
								Niels Martin Hansen 
							
						 
					 
					
						
						
							
						
						2fee8ecdda 
					 
					
						
						
							
							Add  #7525 : Allow autoreplace with same model vehicle  
						
						
						
						
					 
					
						2023-02-26 21:29:25 +01:00 
						 
				 
			
				
					
						
							
							
								rubidium42 
							
						 
					 
					
						
						
							
						
						6ba55e663e 
					 
					
						
						
							
							Codechange: do not hide variables with other variables  
						
						
						
						
					 
					
						2023-01-29 07:21:34 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						a9100e93cb 
					 
					
						
						
							
							Merge branch 'master' into jgrpp  
						
						... 
						
						
						
						# Conflicts:
#	src/group_cmd.cpp
#	src/lang/korean.txt
#	src/lang/simplified_chinese.txt
#	src/script/api/script_rail.cpp
#	src/tunnelbridge_cmd.cpp 
						
						
					 
					
						2023-01-23 19:10:07 +00:00 
						 
				 
			
				
					
						
							
							
								SamuXarick 
							
						 
					 
					
						
						
							
						
						b2a5ebcfc4 
					 
					
						
						
							
							Fix  3c047b1: AIGroup.GetProfitLastYear could get values different than those displayed in GUI ( #10227 )  
						
						... 
						
						
						
						* Change: Store "all time" and "since minimum age" last year profits on groups
* Fix: Update last year profit for groups when copying vehicle statistics on autoreplace
* Codechange: Refactor profit last year
* Change: Rename some group related items for clarity
* Change: Reorder the fields in GroupStatistics
That way less memory gets wasted. 
						
						
					 
					
						2023-01-22 08:14:02 -05:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						10e76b2788 
					 
					
						
						
							
							Fix   #10032 : Capacities of articulated vehicles in build window  
						
						... 
						
						
						
						See also: #9954  
						
						
					 
					
						2023-01-14 18:52:01 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						71b6d7a502 
					 
					
						
						
							
							Merge branch 'master' into jgrpp  
						
						... 
						
						
						
						# Conflicts:
#	src/lang/arabic_egypt.txt
#	src/station_cmd.cpp
#	src/station_cmd.h
#	src/timetable_cmd.cpp
#	src/train_cmd.cpp 
						
						
					 
					
						2022-07-30 20:38:34 +01:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						77a85e9b4c 
					 
					
						
						
							
							Fix: CmdSetAutoReplace didn't validate group type and engine type match ( #9950 )  
						
						... 
						
						
						
						Basically, you could setup an auto-replace in a group for trains
to replace a ship with another ship.
Most of the code is surprisingly okay with this, it is only the
group statistics that doesn't like this. 
						
						
					 
					
						2022-07-09 20:06:22 +02:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						9957675a66 
					 
					
						
						
							
							Fix: autoreplace command did not validate the vehicle argument properly ( #9946 )  
						
						... 
						
						
						
						It first checked if the vehicle was in the depot, which for some types
is only a valid action for the primary vehicle. Afterwards, it checked
if the vehicle was a primary vehicle. 
						
						
					 
					
						2022-07-09 11:25:17 +02:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						92142e5684 
					 
					
						
						
							
							Add routing restriction action to make exempt from speed adaptation  
						
						
						
						
					 
					
						2022-03-06 22:39:53 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						e5a421b65a 
					 
					
						
						
							
							Merge branch 'master' into jgrpp  
						
						... 
						
						
						
						# Conflicts:
#	src/economy.cpp
#	src/linkgraph/refresh.cpp
#	src/order_cmd.cpp
#	src/saveload/vehicle_sl.cpp
#	src/station.cpp
#	src/station_base.h
#	src/timetable_cmd.cpp
#	src/timetable_gui.cpp
#	src/vehicle.cpp
#	src/vehicle_base.h
#	src/vehicle_cmd.cpp 
						
						
					 
					
						2022-03-04 18:17:44 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Martin Hansen 
							
						 
					 
					
						
						
							
						
						e68bf58989 
					 
					
						
						
							
							Codechange: Use anonymous union for vehicle orders/old orders list  
						
						
						
						
					 
					
						2022-02-15 20:01:10 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						904ff6757d 
					 
					
						
						
							
							Add slot support to road vehicles, ships and aircraft  
						
						
						
						
					 
					
						2022-01-19 00:10:49 +00:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						41fa16f325 
					 
					
						
						
							
							Codechange: Don't use globals for return values from vehicle command procs.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						57b82e2e99 
					 
					
						
						
							
							Codechange: Don't use globals for story/goal/sign/group command proc return values.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						e08b3abe7f 
					 
					
						
						
							
							Codechange: Un-bitstuff group and autoreplace commands.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						21675ec7e2 
					 
					
						
						
							
							Codechange: Un-bitstuff vehicle/engine commands.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						211c630cbe 
					 
					
						
						
							
							Codechange: Un-bitstuff order commands.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						4f3ea3907e 
					 
					
						
						
							
							Codechange: Un-bitstuff commands taking a ClientID (i.e. CMD_CLIENT_ID).  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						e740c24eb7 
					 
					
						
						
							
							Codechange: Template DoCommand to automagically reflect the parameters of the command proc.  
						
						... 
						
						
						
						When finished, this will allow each command handler to take individually
different parameters, obliviating the need for bit-packing. 
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						7048e1522f 
					 
					
						
						
							
							Codechange: Move flags in CommandProc in front of the command arguments.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						33ca4f2b99 
					 
					
						
						
							
							Codechange: Let the compile generate the master command table out of templated command traits.  
						
						... 
						
						
						
						This is using a non-intrusive type-traits like templated system, which
allows compile-time validation that the command table and the command
enum match up. 
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						a38bbefe1b 
					 
					
						
						
							
							Codechange: Untangle command code, flags and error string for DoCommand*.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						b6933a2ebd 
					 
					
						
						
							
							Codechange: Move command arguments to the back of the DoCommand function call.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						ffef1c9e44 
					 
					
						
						
							
							Merge branch 'master' into jgrpp-beta  
						
						... 
						
						
						
						# Conflicts:
#	src/saveload/cargopacket_sl.cpp
#	src/saveload/cheat_sl.cpp
#	src/saveload/company_sl.cpp
#	src/saveload/engine_sl.cpp
#	src/saveload/map_sl.cpp
#	src/saveload/order_sl.cpp
#	src/saveload/saveload.cpp
#	src/saveload/saveload.h
#	src/saveload/station_sl.cpp
#	src/saveload/vehicle_sl.cpp
#	src/settings.cpp
#	src/settings_gui.cpp
#	src/settings_internal.h
#	src/stdafx.h
#	src/table/settings/settings.ini
#	src/town_cmd.cpp
#	src/vehicle.cpp 
						
						
					 
					
						2021-10-25 18:10:15 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						8a33e98834 
					 
					
						
						
							
							Fix   #8169 : nullptr dereference when autoreplacing vehicle with no orders ( #9387 )  
						
						
						
						
					 
					
						2021-06-19 23:31:23 +02:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						4577b547ea 
					 
					
						
						
							
							Fix nullptr dereference when autoreplacing vehicle with no orders  
						
						... 
						
						
						
						In GetIncompatibleRefitOrderIdForAutoreplace 
						
						
					 
					
						2021-06-19 18:53:42 +01:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						28e90769f7 
					 
					
						
						
							
							Codechange: use "[[maybe_unused]]" instead of a wide variety of other ways we had  
						
						... 
						
						
						
						While at it, replace OTTD_ASSERT with WITH_ASSERT, as this
is always set if assert() is valid. No matter if NDEBUG is set
or not. 
						
						
					 
					
						2021-06-03 17:30:00 +02:00 
						 
				 
			
				
					
						
							
							
								rubidium42 
							
						 
					 
					
						
						
							
						
						2e136285e1 
					 
					
						
						
							
							Codechange: move from C-string to std::string for DoCommand  
						
						
						
						
					 
					
						2021-05-29 19:02:18 +02:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						c2fce47340 
					 
					
						
						
							
							Fix   #9256 ,  12e43c697d: invalid read after free. ( #9258 )  
						
						... 
						
						
						
						This also changes ScriptEventVehicleAutoReplaced when replacing wagons:
The event is now only spawned, if the head engine changes, so only if the VehicleID of the consist changes.
Previously replacing wagons spawned an event with OldVehicleID==NewVehicleID.
(cherry picked from commit 5bd8144853 
						
						
					 
					
						2021-05-21 18:32:53 +01:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						5bd8144853 
					 
					
						
						
							
							Fix   #9256 ,  12e43c697d: invalid read after free. ( #9258 )  
						
						... 
						
						
						
						This also changes ScriptEventVehicleAutoReplaced when replacing wagons:
The event is now only spawned, if the head engine changes, so only if the VehicleID of the consist changes.
Previously replacing wagons spawned an event with OldVehicleID==NewVehicleID. 
						
						
					 
					
						2021-05-12 23:40:03 +02:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						253772e9af 
					 
					
						
						
							
							Merge branch 'master' into jgrpp  
						
						... 
						
						
						
						# Conflicts:
#	CMakeLists.txt
#	COMPILING.md
#	src/console.cpp
#	src/console_cmds.cpp
#	src/console_internal.h
#	src/rev.cpp.in 
						
						
					 
					
						2021-04-25 02:14:58 +01:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						a05bc04b63 
					 
					
						
						
							
							Feature: Per-group wagon removal flag.  
						
						
						
						
					 
					
						2021-04-22 22:57:00 +02:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						edfa04286b 
					 
					
						
						
							
							Merge branch 'master' into jgrpp  
						
						... 
						
						
						
						# Conflicts:
#	.github/workflows/release.yml
#	bin/CMakeLists.txt
#	src/dock_gui.cpp
#	src/lang/brazilian_portuguese.txt
#	src/lang/catalan.txt
#	src/lang/czech.txt
#	src/lang/dutch.txt
#	src/lang/english.txt
#	src/lang/english_US.txt
#	src/lang/estonian.txt
#	src/lang/finnish.txt
#	src/lang/french.txt
#	src/lang/german.txt
#	src/lang/hungarian.txt
#	src/lang/indonesian.txt
#	src/lang/italian.txt
#	src/lang/japanese.txt
#	src/lang/korean.txt
#	src/lang/lithuanian.txt
#	src/lang/luxembourgish.txt
#	src/lang/norwegian_bokmal.txt
#	src/lang/polish.txt
#	src/lang/portuguese.txt
#	src/lang/romanian.txt
#	src/lang/russian.txt
#	src/lang/serbian.txt
#	src/lang/simplified_chinese.txt
#	src/lang/slovak.txt
#	src/lang/spanish.txt
#	src/lang/spanish_MX.txt
#	src/lang/swedish.txt
#	src/lang/tamil.txt
#	src/lang/ukrainian.txt
#	src/lang/vietnamese.txt
#	src/newgrf.cpp
#	src/newgrf_gui.cpp
#	src/object_gui.cpp
#	src/pathfinder/yapf/yapf_costrail.hpp
#	src/pathfinder/yapf/yapf_node_rail.hpp
#	src/rail_cmd.cpp
#	src/roadveh_cmd.cpp
#	src/town_cmd.cpp
#	src/vehicle.cpp
#	src/water_cmd.cpp 
						
						
					 
					
						2021-04-11 02:39:33 +01:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						fece1c57ca 
					 
					
						
						
							
							Codechange: Suppress warnings when asserts are disabled ( #8917 )  
						
						
						
						
					 
					
						2021-04-01 11:16:19 +02:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						e059a88533 
					 
					
						
						
							
							Fix: Autorenew failure advice due to bad refit being shown to all companies ( #8681 )  
						
						
						
						
					 
					
						2021-02-18 10:50:33 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						5cd3136170 
					 
					
						
						
							
							Fix: Autorenew failure advice due to bad refit being shown to all companies  
						
						
						
						
					 
					
						2021-02-16 18:35:11 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						b7ddd486cf 
					 
					
						
						
							
							Merge branch 'master' into jgrpp  
						
						... 
						
						
						
						# Conflicts:
#	cmake/CompileFlags.cmake
#	src/aircraft_cmd.cpp
#	src/blitter/32bpp_anim.cpp
#	src/cargopacket.cpp
#	src/cheat_gui.cpp
#	src/company_cmd.cpp
#	src/company_gui.cpp
#	src/core/pool_func.hpp
#	src/date.cpp
#	src/economy.cpp
#	src/error_gui.cpp
#	src/ground_vehicle.cpp
#	src/ground_vehicle.hpp
#	src/group_gui.cpp
#	src/industry_cmd.cpp
#	src/lang/dutch.txt
#	src/lang/french.txt
#	src/lang/german.txt
#	src/linkgraph/linkgraph_gui.cpp
#	src/linkgraph/mcf.cpp
#	src/network/network_content.cpp
#	src/network/network_server.cpp
#	src/network/network_udp.cpp
#	src/newgrf_engine.cpp
#	src/newgrf_station.cpp
#	src/order_cmd.cpp
#	src/order_gui.cpp
#	src/pathfinder/follow_track.hpp
#	src/pathfinder/yapf/yapf_common.hpp
#	src/saveload/saveload.cpp
#	src/settings_gui.cpp
#	src/station_cmd.cpp
#	src/station_kdtree.h
#	src/string_func.h
#	src/table/settings.ini
#	src/tgp.cpp
#	src/timetable_cmd.cpp
#	src/timetable_gui.cpp
#	src/toolbar_gui.cpp
#	src/town_cmd.cpp
#	src/train_cmd.cpp
#	src/train_gui.cpp
#	src/tree_gui.cpp
#	src/tunnelbridge_cmd.cpp
#	src/vehicle.cpp
#	src/vehicle_gui.cpp
#	src/video/sdl2_v.cpp
#	src/video/sdl_v.cpp
#	src/video/win32_v.cpp
#	src/viewport.cpp
#	src/viewport_sprite_sorter_sse4.cpp
#	src/window.cpp 
						
						
					 
					
						2021-02-01 17:07:34 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						6c3e5642f8 
					 
					
						
						
							
							Merge branch 'master' into jgrpp  
						
						... 
						
						
						
						# Conflicts:
#	cmake/CompileFlags.cmake
#	src/crashlog.cpp
#	src/fileio.cpp
#	src/fileio_func.h
#	src/fios_gui.cpp
#	src/ini_load.cpp
#	src/ini_type.h
#	src/lang/english.txt
#	src/lang/german.txt
#	src/lang/korean.txt
#	src/network/network_client.cpp
#	src/order_base.h
#	src/order_cmd.cpp
#	src/os/windows/win32.cpp
#	src/road_cmd.cpp
#	src/saveload/saveload.cpp
#	src/saveload/saveload.h
#	src/settings.cpp
#	src/station_cmd.cpp
#	src/stdafx.h
#	src/table/settings.ini
#	src/tree_cmd.cpp
#	src/tree_gui.cpp
#	src/vehicle_base.h
#	src/video/cocoa/cocoa_v.mm
#	src/video/cocoa/event.mm
#	src/video/cocoa/wnd_quartz.mm
#	src/viewport.cpp
#	src/widgets/tree_widget.h 
						
						
					 
					
						2021-01-31 01:08:35 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Stevens 
							
						 
					 
					
						
						
							
						
						a6aec252b1 
					 
					
						
						
							
							Fix   #8153 : Report incompatible cargo/order when autoreplace fails ( #8169 )  
						
						
						
						
					 
					
						2021-01-08 16:05:49 +01:00 
						 
				 
			
				
					
						
							
							
								Charles Pigott 
							
						 
					 
					
						
						
							
						
						9b800a96ed 
					 
					
						
						
							
							Codechange: Remove min/max functions in favour of STL variants ( #8502 )  
						
						
						
						
					 
					
						2021-01-08 11:16:18 +01:00 
						 
				 
			
				
					
						
							
							
								glx22 
							
						 
					 
					
						
						
							
						
						d8605ad18d 
					 
					
						
						
							
							Codechange: Replace FOR_VEHICLE_ORDERS with range-based for loops  
						
						
						
						
					 
					
						2020-12-27 10:28:46 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						1029a03291 
					 
					
						
						
							
							Fix use after free in train autoreplace chain  
						
						
						
						
					 
					
						2019-12-09 03:28:25 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						aa8aae9a62 
					 
					
						
						
							
							Initial implementation of tracerestrict speed restriction feature  
						
						
						
						
					 
					
						2019-12-06 21:15:07 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						cbdd9f84d8 
					 
					
						
						
							
							Merge branch 'master' into jgrpp  
						
						... 
						
						
						
						# Conflicts:
#	src/console_gui.cpp
#	src/lang/korean.txt
#	src/video/sdl2_v.cpp
#	src/video/sdl2_v.h
#	src/window.cpp
#	src/window_gui.h 
						
						
					 
					
						2019-11-12 18:43:10 +00:00 
						 
				 
			
				
					
						
							
							
								S. D. Cloudt 
							
						 
					 
					
						
						
							
						
						13cc8a0cee 
					 
					
						
						
							
							Cleanup: Removed SVN  headers  
						
						
						
						
					 
					
						2019-11-10 17:59:20 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						ca3c72438e 
					 
					
						
						
							
							Merge branch 'master' into jgrpp  
						
						... 
						
						
						
						# Conflicts:
#	Makefile.bundle.in
#	src/os/macosx/string_osx.cpp
#	src/station_cmd.cpp 
						
						
					 
					
						2019-11-06 17:49:00 +00:00 
						 
				 
			
				
					
						
							
							
								glx 
							
						 
					 
					
						
						
							
						
						12e43c697d 
					 
					
						
						
							
							Add: [Script] ScriptEventVehicleAutoReplaced.  
						
						
						
						
					 
					
						2019-10-22 11:55:40 +02:00