Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						5442fab97d
					 | 
					
						
						
							
							Fix issues found by staticcheck
						
						
						
						
						
						
					 | 
					
						2024-01-06 10:34:37 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						65762936a4
					 | 
					
						
						
							
							fix error strings
						
						
						
						
						
						
					 | 
					
						2024-01-06 10:17:25 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						fa0ec06e36
					 | 
					
						
						
							
							Fix zstd decoding
						
						
						
						
						
						
					 | 
					
						2024-01-06 02:27:45 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						8a344b5a6d
					 | 
					
						
						
							
							Support v29 blocks
						
						
						
						
						
						
					 | 
					
						2024-01-06 01:40:03 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						827d73bed0
					 | 
					
						
						
							
							Add zstd library
						
						
						
						
						
						
					 | 
					
						2024-01-05 14:41:06 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						c507663826
					 | 
					
						
						
							
							Use a more general db client factory approach.
						
						
						
						
						
						
					 | 
					
						2022-03-01 14:47:14 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						6ffa0e1001
					 | 
					
						
						
							
							Name players correctly.
						
						
						
						
						
						
					 | 
					
						2022-02-28 16:21:26 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						d98df1c1cd
					 | 
					
						
						
							
							WIP: add tile updating in in web mapper with pg listen/notify
						
						
						
						
						
						
					 | 
					
						2022-02-28 11:07:50 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						4b654672e7
					 | 
					
						
						
							
							Fixed handling of query parameter.
						
						
						
						
						
						
					 | 
					
						2022-02-28 00:55:03 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						d32c0d1a90
					 | 
					
						
						
							
							build rudimentary postgresq block client
						
						
						
						
						
						
					 | 
					
						2022-02-27 22:48:20 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						4f7fedf0b9
					 | 
					
						
						
							
							Use db client factory in seeder.
						
						
						
						
						
						
					 | 
					
						2022-02-27 21:17:43 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						34d01762f0
					 | 
					
						
						
							
							Started with db abstraction in seeder.
						
						
						
						
						
						
					 | 
					
						2022-02-27 21:02:16 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						37574839b9
					 | 
					
						
						
							
							Bumped version to 0.9.1
						
						
						
						
						
						
					 | 
					
						2017-05-14 18:41:29 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						fd73757bbd
					 | 
					
						
						
							
							Bump version to 0.9
						
						
						
						
						
						
					 | 
					
						2017-04-15 13:23:22 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						8badf4aaca
					 | 
					
						
						
							
							Added a meaningful comment to the method of the base tile creator which creates the backgound task.
						
						
						
						
						
						
					 | 
					
						2017-04-15 13:08:19 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						6a1356f0eb
					 | 
					
						
						
							
							When an tile is rendered the writing to disk can be done in background
						
						
						
						
						
						
						
						concurrently to the rendering of the next tile. 
						
						
					 | 
					
						2017-03-06 15:43:30 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						2cba483d32
					 | 
					
						
						
							
							redis client: Issue fewer write sys calls by fill hspatial request into a temp buffer first and write it in one go.
						
						
						
						
						
						
					 | 
					
						2017-03-06 11:44:06 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						e1e3821f47
					 | 
					
						
						
							
							Bumped version to 0.8.2
						
						
						
						
						
						
					 | 
					
						2017-03-05 18:10:14 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						baef2659e3
					 | 
					
						
						
							
							Bumped version to 0.8.1
						
						
						
						
						
						
					 | 
					
						2017-03-04 12:30:40 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						91959685f5
					 | 
					
						
						
							
							Re-worked memory management of blocks loaded from redis client to avoid
						
						
						
						
						
						
						
						unnecessary copying them around. 
						
						
					 | 
					
						2017-03-03 23:00:29 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						4a3fa1f568
					 | 
					
						
						
							
							Small clean up in y order code.
						
						
						
						
						
						
					 | 
					
						2017-03-03 22:24:00 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						427ec305fc
					 | 
					
						
						
							
							One more use of the scratch of redis client.
						
						
						
						
						
						
					 | 
					
						2017-03-03 16:03:08 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						41187af7db
					 | 
					
						
						
							
							Replaced one sync.Pool with a scratch byte arrary in redis client.
						
						
						
						
						
						
					 | 
					
						2017-03-02 10:57:03 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						956f7b5e8b
					 | 
					
						
						
							
							Factored YOrder out of Renderer as it is only an optimization and not directly related to the rendering.
						
						
						
						
						
						
					 | 
					
						2017-03-01 15:05:51 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						75aeb36c95
					 | 
					
						
						
							
							Optimize the inner loop of the renderer to save some cycles by hoisting out version checks and common indexing.
						
						
						
						
						
						
					 | 
					
						2017-03-01 13:06:51 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						08d32826dc
					 | 
					
						
						
							
							Increased readability of block content extraction a tiny bit.
						
						
						
						
						
						
					 | 
					
						2017-03-01 11:41:21 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						7fca02e45f
					 | 
					
						
						
							
							Unified pooling for redis client in hspatial requests.
						
						
						
						
						
						
					 | 
					
						2017-02-28 18:50:45 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						3ba10aa00a
					 | 
					
						
						
							
							Cosmetic: x[0:n] -> x[:n].
						
						
						
						
						
						
					 | 
					
						2017-02-28 00:39:03 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						5def145564
					 | 
					
						
						
							
							The block data from the redis server in of the HSPATIAL requests is now recycled with a sync.Pool. Removes some pressure from the gc.
						
						
						
						
						
						
					 | 
					
						2017-02-28 00:33:59 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						d6411f3f6d
					 | 
					
						
						
							
							Implement renderer reset cheaper ... and this time correctly.
						
						
						
						
						
						
					 | 
					
						2017-02-27 23:50:15 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						eed91e7148
					 | 
					
						
						
							
							Comment out early stop in renderer reset as it results in broken renderings.
						
						
						
						
						
						
					 | 
					
						2017-02-27 20:47:23 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						58d930e1d2
					 | 
					
						
						
							
							Only clear renderer if necessary.
						
						
						
						
						
						
					 | 
					
						2017-02-27 20:10:49 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						ba43353488
					 | 
					
						
						
							
							Bumped version to 0.8
						
						
						
						
						
						
					 | 
					
						2017-02-26 21:51:49 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						12cfd32ad5
					 | 
					
						
						
							
							Use blake2b instead of sha1 to check for identical tiles to not regenerate the tiles pyramid.
						
						
						
						
						
						
					 | 
					
						2017-02-26 21:47:50 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						ca634f28ef
					 | 
					
						
						
							
							Simplified area coverage calculation a great deal.
						
						
						
						
						
						
					 | 
					
						2017-02-26 17:01:15 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						4b92a6c722
					 | 
					
						
						
							
							Do not leave the current area when re-checking the coverage area.
						
						
						
						
						
						
					 | 
					
						2017-02-26 13:21:39 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						003ce5035a
					 | 
					
						
						
							
							Moved area coverage stuff out of renderer. It is an optimization to load
						
						
						
						
						
						
						
						only needed blocks from db and has nothing to do with rendering. 
						
						
					 | 
					
						2017-02-26 13:13:19 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						3e3413566b
					 | 
					
						
						
							
							Only do expensive area coverage calculation if there where blocks loaded from database.
						
						
						
						
						
						
						
						If there are not, nothing changed, so nothing to recalculate.
Takes a good deal from the clock. 
						
						
					 | 
					
						2017-02-26 12:57:38 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						7f78feb9bd
					 | 
					
						
						
							
							Replaced expensive fmt.Sscanf call in redis client with strconv.ParseInt.
						
						
						
						
						
						
					 | 
					
						2017-02-25 19:29:27 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						228bd9026b
					 | 
					
						
						
							
							Added a recyling pool for bulk strings written in redis client to help performance.
						
						
						
						
						
						
					 | 
					
						2017-02-25 17:00:17 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						b2ca97568e
					 | 
					
						
						
							
							Call better suited strconv.AppendInt when converting keys to byte slices.
						
						
						
						
						
						
					 | 
					
						2017-02-25 00:11:03 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						b6bfe468b7
					 | 
					
						
						
							
							For symmetry inline readline function in redis client.
						
						
						
						
						
						
					 | 
					
						2017-02-24 21:23:04 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						744208ba00
					 | 
					
						
						
							
							Removed superfluous error checking in redis client.
						
						
						
						
						
						
					 | 
					
						2017-02-24 19:54:19 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						3c2ab551f1
					 | 
					
						
						
							
							Opitimized writing redis hspatial queries a bit.
						
						
						
						
						
						
					 | 
					
						2017-02-24 19:49:08 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						b0a42867d8
					 | 
					
						
						
							
							Improved performance of Renderer.Reset by factor of 2.
						
						
						
						
						
						
					 | 
					
						2017-02-24 17:59:41 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						c167efecd2
					 | 
					
						
						
							
							Content and parameters width seems to be 255 instead of 2 in new block format. This is strange becaus they are set hard to 2 in mapblock.cpp#MapBlock::serialize.
						
						
						
						
						
						
					 | 
					
						2017-02-24 12:02:06 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						90279506d1
					 | 
					
						
						
							
							Ported new map block offset in version >= 27 from C++ mapper.
						
						
						
						
						
						
						
						Needs testing.
See 21444d00c3 
						
						
					 | 
					
						2017-02-23 16:08:16 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						599ec1cf2b
					 | 
					
						
						
							
							Set version to 0.7
						
						
						
						
						
						
					 | 
					
						2016-05-13 16:46:06 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						674912ed5f
					 | 
					
						
						
							
							Test linked list in both directions in base tile hash.
						
						
						
						
						
						
					 | 
					
						2016-05-11 18:43:20 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Sascha L. Teichmann
							
						 
					 | 
					
						
						
							
						
						9a355d08fd
					 | 
					
						
						
							
							Typo fix.
						
						
						
						
						
						
					 | 
					
						2016-05-11 12:02:36 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 |