Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						78cf5ca682 
					 
					
						
						
							
							Add setting for linkgraph times to be in non daylength scaled days.  
						
						... 
						
						
						
						Savegame format change for link graph jobs.
Change link graph scheduler to support more than one operation
per day, on _date_fract ticks other than SPAWN_JOIN_TICK. 
						
						
					 
					
						2016-01-29 00:26:47 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						3896952136 
					 
					
						
						
							
							Join more than one link graph job at once where possible.  
						
						... 
						
						
						
						This can occur when the link graph recalculation times are changed.
In particular, if the duration or interval are reduced, the new jobs
will be delayed until the completion of the previous long job,
and then remain backlogged thereafter as jobs are dequeued at the same
rate as they are queued. 
						
						
					 
					
						2016-01-28 19:32:21 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						548ea31e83 
					 
					
						
						
							
							Fix compilation on gcc before 4.7 due to use of atomic builtins.  
						
						
						
						
					 
					
						2016-01-07 22:45:11 +00:00 
						 
				 
			
				
					
						
							
							
								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. 
						
						
					 
					
						2015-11-29 19:10:16 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						e22e1df939 
					 
					
						
						
							
							Store annotation and node ID in set key, to reduce ptr derefs on sort.  
						
						... 
						
						
						
						Store the set iterator in the node, for faster erasing during forks.
Use a custom pool allocator to store set nodes contiguously. 
						
						
					 
					
						2015-11-27 01:02:55 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						4534812b4f 
					 
					
						
						
							
							Use a fixed array instead of a map for link refresher cargo capacities.  
						
						
						
						
					 
					
						2015-11-26 18:59:31 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						0fb79a8f15 
					 
					
						
						
							
							Use a flat vector instead of a map in FlowEdgeIterator.  
						
						... 
						
						
						
						This reduced the cost of Dijkstra<CapacityAnnotation> by approx. 25%,
in a test profiling. 
						
						
					 
					
						2015-11-26 18:23:10 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						a3768d3a29 
					 
					
						
						
							
							Label threads with a descriptive name where supported (pthreads).  
						
						
						
						
					 
					
						2015-11-26 17:48:47 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						3a28be7841 
					 
					
						
						
							
							Linkgraph: Replace three uses of std::list with std::deque/vector.  
						
						
						
						
					 
					
						2015-11-26 01:02:52 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						564744d427 
					 
					
						
						
							
							Cache the calculated value of CapacityAnnotation.  
						
						... 
						
						
						
						This is because CapacityAnnotation::Comparator::operator()
was appearing at the top of profiler output due to regenerating
the annotation value on every comparison when performing a set operation. 
						
						
					 
					
						2015-11-25 23:05:55 +00:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						c6854afcef 
					 
					
						
						
							
							Pause the game instead of blocking when link graph jobs lag.  
						
						... 
						
						
						
						Check if the job is still running one date fract tick before it
is due to join and if so pause the game until its done.
This avoids the main thread being blocked on a thread join.
Show if pause is due to link graph job in status bar, update network
messages.
This does not apply for network clients. 
						
						
					 
					
						2015-09-03 18:36:30 +01:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						a14b836bf2 
					 
					
						
						
							
							(svn r27178) -Fix [FS#5969]: Data race due to lazy initialisation of objects.  
						
						
						
						
					 
					
						2015-03-07 18:27:01 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						780e595933 
					 
					
						
						
							
							(svn r27178) -Fix [FS#5969]: Data race due to lazy initialisation of objects.  
						
						
						
						
					 
					
						2015-03-07 18:27:01 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						0c2f4bdc2b 
					 
					
						
						
							
							(svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces)  
						
						
						
						
					 
					
						2014-10-15 18:31:37 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						d534c80e94 
					 
					
						
						
							
							(svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces)  
						
						
						
						
					 
					
						2014-10-15 18:31:37 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						26574124b1 
					 
					
						
						
							
							(svn r27002) -Fix-ish: replace some non-ASCII characters with ASCII characters, e.g. @þaram to @param  
						
						
						
						
					 
					
						2014-10-12 18:26:54 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						fddeeb5e49 
					 
					
						
						
							
							(svn r27002) -Fix-ish: replace some non-ASCII characters with ASCII characters, e.g. @þaram to @param  
						
						
						
						
					 
					
						2014-10-12 18:26:54 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						78df68e695 
					 
					
						
						
							
							(svn r26891) -Codechange: Add methods to retrieve flows from a FlowStatMap  
						
						
						
						
					 
					
						2014-09-21 16:19:52 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						9fdb88962f 
					 
					
						
						
							
							(svn r26891) -Codechange: Add methods to retrieve flows from a FlowStatMap  
						
						
						
						
					 
					
						2014-09-21 16:19:52 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						ce9d75f517 
					 
					
						
						
							
							(svn r26889) -Feature: Predict links for station-autorefitting vehicles  
						
						
						
						
					 
					
						2014-09-21 14:22:32 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						831fb254f6 
					 
					
						
						
							
							(svn r26889) -Feature: Predict links for station-autorefitting vehicles  
						
						
						
						
					 
					
						2014-09-21 14:22:32 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						ef2caa02b2 
					 
					
						
						
							
							(svn r26646) -Fix [FS#6041]: Save locations instead of distances in link graphs to reduce size.  
						
						
						
						
					 
					
						2014-06-14 13:35:39 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						957f5ca117 
					 
					
						
						
							
							(svn r26646) -Fix [FS#6041]: Save locations instead of distances in link graphs to reduce size.  
						
						
						
						
					 
					
						2014-06-14 13:35:39 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						fb9dbf30fa 
					 
					
						
						
							
							(svn r26580) -Codechange: s/GES_PICKUP/GES_RATING/ (it has nothing to do with actual pickup), s/acceptance_pickup/status/ (the enum isn't called GoodEntryStatus for a reason; it's not only acceptance and pickup anymore)  
						
						
						
						
					 
					
						2014-05-11 18:02:11 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						89c25b955e 
					 
					
						
						
							
							(svn r26580) -Codechange: s/GES_PICKUP/GES_RATING/ (it has nothing to do with actual pickup), s/acceptance_pickup/status/ (the enum isn't called GoodEntryStatus for a reason; it's not only acceptance and pickup anymore)  
						
						
						
						
					 
					
						2014-05-11 18:02:11 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						b8381b6b25 
					 
					
						
						
							
							(svn r26549) -Change: better estimation for link capacities during full load  
						
						
						
						
					 
					
						2014-05-01 14:50:52 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						11d98f043e 
					 
					
						
						
							
							(svn r26549) -Change: better estimation for link capacities during full load  
						
						
						
						
					 
					
						2014-05-01 14:50:52 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						547e8233be 
					 
					
						
						
							
							(svn r26484) -Change: Remove demand calculation based on tiles.  
						
						
						
						
					 
					
						2014-04-23 20:23:22 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						56e8ea6dde 
					 
					
						
						
							
							(svn r26484) -Change: Remove demand calculation based on tiles.  
						
						
						
						
					 
					
						2014-04-23 20:23:22 +00:00 
						 
				 
			
				
					
						
							
							
								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  
						
						
						
						
					 
					
						2014-04-23 20:13:33 +00:00 
						 
				 
			
				
					
						
							
							
								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  
						
						
						
						
					 
					
						2014-04-23 20:13:33 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						8395c08738 
					 
					
						
						
							
							(svn r26448) -Fix [FS#5970]: Avoid division by 0 when scaling flow values.  
						
						
						
						
					 
					
						2014-04-08 19:28:14 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						bef953a32c 
					 
					
						
						
							
							(svn r26448) -Fix [FS#5970]: Avoid division by 0 when scaling flow values.  
						
						
						
						
					 
					
						2014-04-08 19:28:14 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						d6097956a5 
					 
					
						
						
							
							(svn r26445) -Change [FS#5961]: Draw links to match _settings_game.vehicle.road_side (M3Henry)  
						
						
						
						
					 
					
						2014-04-05 14:28:55 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						782b9f01cb 
					 
					
						
						
							
							(svn r26445) -Change [FS#5961]: Draw links to match _settings_game.vehicle.road_side (M3Henry)  
						
						
						
						
					 
					
						2014-04-05 14:28:55 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						e4385f1423 
					 
					
						
						
							
							(svn r26411) -Change [FS#5941]: Use better distance metric for link graph (MildaIV)  
						
						
						
						
					 
					
						2014-03-17 20:33:26 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						afd1263ce1 
					 
					
						
						
							
							(svn r26411) -Change [FS#5941]: Use better distance metric for link graph (MildaIV)  
						
						
						
						
					 
					
						2014-03-17 20:33:26 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						3570104d24 
					 
					
						
						
							
							(svn r26393) -Fix: Update distances between link graph nodes when station sign is moved  
						
						
						
						
					 
					
						2014-03-06 21:19:41 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						5d3fcce725 
					 
					
						
						
							
							(svn r26393) -Fix: Update distances between link graph nodes when station sign is moved  
						
						
						
						
					 
					
						2014-03-06 21:19:41 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						ebcba0c0e3 
					 
					
						
						
							
							(svn r26347) -Fix [FS#5898]: Make sure link graph jobs can delete themselves after SLA_NULL.  
						
						
						
						
					 
					
						2014-02-16 18:42:59 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						cc77d40336 
					 
					
						
						
							
							(svn r26347) -Fix [FS#5898]: Make sure link graph jobs can delete themselves after SLA_NULL.  
						
						
						
						
					 
					
						2014-02-16 18:42:59 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						537975b794 
					 
					
						
						
							
							(svn r26341) -Fix [FS#5902]: Reroute cargo when automatic distribution is switched off.  
						
						
						
						
					 
					
						2014-02-16 11:17:17 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						2945e76269 
					 
					
						
						
							
							(svn r26341) -Fix [FS#5902]: Reroute cargo when automatic distribution is switched off.  
						
						
						
						
					 
					
						2014-02-16 11:17:17 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						86ebb981f1 
					 
					
						
						
							
							(svn r26331) -Fix: some inconsistencies regarding link graph (job) IDs.  
						
						
						
						
					 
					
						2014-02-10 20:13:07 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						e37656f2e5 
					 
					
						
						
							
							(svn r26331) -Fix: some inconsistencies regarding link graph (job) IDs.  
						
						
						
						
					 
					
						2014-02-10 20:13:07 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						b31a1119fb 
					 
					
						
						
							
							(svn r26286) -Fix: Thoroughly erase dead flows.  
						
						
						
						
					 
					
						2014-01-29 19:55:29 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						91407b924e 
					 
					
						
						
							
							(svn r26286) -Fix: Thoroughly erase dead flows.  
						
						
						
						
					 
					
						2014-01-29 19:55:29 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						21a5571d07 
					 
					
						
						
							
							(svn r26283) -Fix [FS#5878]: Prevent infinite recursion also in RefreshLinks.  
						
						
						
						
					 
					
						2014-01-28 19:49:43 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						b12bf124c7 
					 
					
						
						
							
							(svn r26283) -Fix [FS#5878]: Prevent infinite recursion also in RefreshLinks.  
						
						
						
						
					 
					
						2014-01-28 19:49:43 +00:00 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						cd68a2d8a5 
					 
					
						
						
							
							(svn r26276) -Fix [FS#5874]: Don't spawn link graph jobs for link graphs with only one node  
						
						
						
						
					 
					
						2014-01-24 21:39:07 +00:00