cd7fe8a213 
								
							
								 
							
						 
						
							
							
								
								Update .gitmodules  
							
							... 
							
							
							
							Co-authored-by: Alan <lethosor@users.noreply.github.com> 
							
						 
						
							2022-11-25 09:43:04 -08:00  
				
					
						
							
							
								 
						
							
							
								a716b2796e 
								
							
								 
							
						 
						
							
							
								
								Updates test binary name in build.yml  
							
							
							
						 
						
							2022-11-25 09:43:04 -08:00  
				
					
						
							
							
								 
						
							
							
								25f87306b4 
								
							
								 
							
						 
						
							
							
								
								Removes separated unit test executables  
							
							
							
						 
						
							2022-11-25 09:43:04 -08:00  
				
					
						
							
							
								 
						
							
							
								69d988332c 
								
							
								 
							
						 
						
							
							
								
								Updates build.yml to call test-all  
							
							
							
						 
						
							2022-11-25 09:43:04 -08:00  
				
					
						
							
							
								 
						
							
							
								79551f7ef0 
								
							
								 
							
						 
						
							
							
								
								Updates CMake TESTING vars  
							
							
							
						 
						
							2022-11-25 09:43:04 -08:00  
				
					
						
							
							
								 
						
							
							
								3e2d0f2ec2 
								
							
								 
							
						 
						
							
							
								
								Updates GithubActions yml file to use new BUILD_TESTING variable  
							
							
							
						 
						
							2022-11-25 09:43:04 -08:00  
				
					
						
							
							
								 
						
							
							
								de91fa7f28 
								
							
								 
							
						 
						
							
							
								
								Adds -Wno-sign-compare to test targets  
							
							
							
						 
						
							2022-11-25 09:43:04 -08:00  
				
					
						
							
							
								 
						
							
							
								9fdb2f7e47 
								
							
								 
							
						 
						
							
							
								
								Adds -Wno-sign-compare to gtest target  
							
							
							
						 
						
							2022-11-25 09:43:04 -08:00  
				
					
						
							
							
								 
						
							
							
								32b030e348 
								
							
								 
							
						 
						
							
							
								
								Adds -Wno-maybe-uninitialized to gtest target  
							
							
							
						 
						
							2022-11-25 09:43:04 -08:00  
				
					
						
							
							
								 
						
							
							
								e1f9a95d4f 
								
							
								 
							
						 
						
							
							
								
								Rolls back googletest to release-1.8.1  
							
							
							
						 
						
							2022-11-25 09:43:04 -08:00  
				
					
						
							
							
								 
						
							
							
								268719ed1f 
								
							
								 
							
						 
						
							
							
								
								Integrates googletest  
							
							
							
						 
						
							2022-11-25 09:43:04 -08:00  
				
					
						
							
							
								 
						
							
							
								8e18d610f5 
								
							
								 
							
						 
						
							
							
								
								cmake: Add SDL dep for Linux dfhack; deprecate BUILD_TESTS  
							
							... 
							
							
							
							On Linux, libdfhack.so depends on libSDL.so, but that was not marked
inside CMake. As it's only used via LD_PRELOAD, there was no problem.
But when linking unit tests against it, this becomes necessary. It may
be wise to add a find_package(SDL) to provide the user with more
control, but just a hard-coded "SDL" should work for most installs.
The CTest module creates a BUILD_TESTING option, which clashes
(thematically, not in code) with the existing BUILD_TESTS option.
Resolve it thus:
- Deprecate BUILD_TESTS; it still works, but is marked as an advanced
  option so it doesn't show in the CMake UI by default.
- Add a new BUILD_TEST_SCRIPTS that does what BUILD_TESTS used to do,
  but is a "dependent" option so it goes away if BUILD_TESTING=OFF.
The up-shot is that, by default, the C++ unit tests will be built
(BUILD_TESTING=ON) and the Lua integration tests are not installed
(BUILD_TEST_SCRIPTS=OFF). 
							
						 
						
							2022-11-25 09:43:04 -08:00  
				
					
						
							
							
								 
						
							
							
								face558dd0 
								
							
								 
							
						 
						
							
							
								
								unit testing: Link test executables against libdfhack  
							
							... 
							
							
							
							Note: Hard-coded "SDL" here is wrong, but requires some refactoring in
top-level CMakeLists.txt to fix. 
							
						 
						
							2022-11-25 09:43:04 -08:00  
				
					
						
							
							
								 
						
							
							
								c5be87e381 
								
							
								 
							
						 
						
							
							
								
								unit tests: Add CTest support, and a trivial first unit test  
							
							... 
							
							
							
							If BUILD_TESTS=ON:
- Adds a 'test' target for ninja
- Adds a library/MiscUtils.test unit test executable 
							
						 
						
							2022-11-25 09:43:04 -08:00  
				
					
						
							
							
								 
						
							
							
								344ed4312b 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2111  from cppcooper/channel-safely  
							
							... 
							
							
							
							Channel safely 
							
						 
						
							2022-11-23 12:41:50 -08:00  
				
					
						
							
							
								 
						
							
							
								92a53bbef6 
								
									
								
							
								 
							
						 
						
							
							
								
								Update docs/plugins/channel-safely.rst  
							
							
							
						 
						
							2022-11-23 11:39:04 -08:00  
				
					
						
							
							
								 
						
							
							
								cd8358518a 
								
							
								 
							
						 
						
							
							
								
								Auto-update submodules  
							
							... 
							
							
							
							scripts: master 
							
						 
						
							2022-11-23 19:33:21 +00:00  
				
					
						
							
							
								 
						
							
							
								e943b4ed31 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2413  from myk002/myk_resume  
							
							... 
							
							
							
							Turn down resume plugin 
							
						 
						
							2022-11-23 11:29:56 -08:00  
				
					
						
							
							
								 
						
							
							
								a900b1789a 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2414  from myk002/myk_mouse_buttons  
							
							... 
							
							
							
							Make mouse button event behavior conform to docs 
							
						 
						
							2022-11-23 11:29:20 -08:00  
				
					
						
							
							
								 
						
							
							
								6cdb192181 
								
							
								 
							
						 
						
							
							
								
								Documents persistence of settings  
							
							
							
						 
						
							2022-11-23 10:37:33 -08:00  
				
					
						
							
							
								 
						
							
							
								a9ea68b26a 
								
							
								 
							
						 
						
							
							
								
								Auto-update submodules  
							
							... 
							
							
							
							scripts: master 
							
						 
						
							2022-11-23 07:15:32 +00:00  
				
					
						
							
							
								 
						
							
							
								86ec1c17ad 
								
							
								 
							
						 
						
							
							
								
								Fixes doc formatting  
							
							
							
						 
						
							2022-11-22 13:28:27 -08:00  
				
					
						
							
							
								 
						
							
							
								c6b15b1ccb 
								
							
								 
							
						 
						
							
							
								
								Implements plugin: channel-safely v1.2a  
							
							
							
						 
						
							2022-11-22 11:03:28 -08:00  
				
					
						
							
							
								 
						
							
							
								ae1c7ff831 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2382  from cppcooper/patch-2  
							
							... 
							
							
							
							Updates spectate plugin 
							
						 
						
							2022-11-22 10:35:58 -08:00  
				
					
						
							
							
								 
						
							
							
								807ce39251 
								
							
								 
							
						 
						
							
							
								
								Auto-update submodules  
							
							... 
							
							
							
							scripts: master 
							
						 
						
							2022-11-22 07:17:58 +00:00  
				
					
						
							
							
								 
						
							
							
								61974b86ab 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2415  from DFHack/master  
							
							... 
							
							
							
							Merge robots.txt change from master to develop 
							
						 
						
							2022-11-21 21:47:54 -08:00  
				
					
						
							
							
								 
						
							
							
								89aef0a2a4 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2410  from myk002/myk_robots  
							
							... 
							
							
							
							Add robots.txt to our HTML docs 
							
						 
						
							2022-11-21 21:40:24 -08:00  
				
					
						
							
							
								 
						
							
							
								c9cf5ecca8 
								
									
								
							
								 
							
						 
						
							
							
								
								we kept editfield as MOUSE_L for click and drag  
							
							
							
						 
						
							2022-11-21 17:51:24 -08:00  
				
					
						
							
							
								 
						
							
							
								db516d9474 
								
									
								
							
								 
							
						 
						
							
							
								
								update changelog  
							
							
							
						 
						
							2022-11-21 17:38:29 -08:00  
				
					
						
							
							
								 
						
							
							
								24dc879888 
								
									
								
							
								 
							
						 
						
							
							
								
								adapt library code to newly correct mouse events  
							
							
							
						 
						
							2022-11-21 17:36:46 -08:00  
				
					
						
							
							
								 
						
							
							
								e2218d0429 
								
									
								
							
								 
							
						 
						
							
							
								
								make mouse button event behavior conform to docs  
							
							... 
							
							
							
							before, when a mouse button was held down, we'd send a single _MOUSE_L
and _MOUSE_L_DOWN event and that's it. now we properly send a single
_MOUSE_L_DOWN event and _MOUSE_L events for as long as the button is
held down. similar for the right mouse button 
							
						 
						
							2022-11-21 17:35:14 -08:00  
				
					
						
							
							
								 
						
							
							
								cb338e4257 
								
									
								
							
								 
							
						 
						
							
							
								
								remove resume plugin  
							
							... 
							
							
							
							all functionality has been migrated to unsuspend 
							
						 
						
							2022-11-21 15:27:40 -08:00  
				
					
						
							
							
								 
						
							
							
								8a0999ffdc 
								
							
								 
							
						 
						
							
							
								
								Implements plugin: channel-safely v1.1a  
							
							
							
						 
						
							2022-11-21 12:39:26 -08:00  
				
					
						
							
							
								 
						
							
							
								5352649b88 
								
							
								 
							
						 
						
							
							
								
								Implements plugin: spectate v1.0.3b  
							
							... 
							
							
							
							test 
							
						 
						
							2022-11-21 12:26:40 -08:00  
				
					
						
							
							
								 
						
							
							
								4a0abd1915 
								
							
								 
							
						 
						
							
							
								
								Implements plugin: spectate v1.0.2b  
							
							
							
						 
						
							2022-11-21 12:26:40 -08:00  
				
					
						
							
							
								 
						
							
							
								b99e948b8a 
								
							
								 
							
						 
						
							
							
								
								Implements plugin: spectate v1.0.1a  
							
							
							
						 
						
							2022-11-21 12:26:40 -08:00  
				
					
						
							
							
								 
						
							
							
								40cbe4fe88 
								
							
								 
							
						 
						
							
							
								
								Implements plugin: spectate v1.0a  
							
							
							
						 
						
							2022-11-21 12:26:40 -08:00  
				
					
						
							
							
								 
						
							
							
								ec6cd8d53a 
								
							
								 
							
						 
						
							
							
								
								Implements plugin: spectate v0.5  
							
							... 
							
							
							
							Fixes spectate not starting with the first job
Updates spectate.cpp
- refactors features/settings to under a `Configuration` struct with a global variable `config`
- refactors existing `config` => `pconfig`
- moves plugin logic, mostly, to namespace SP (spectate plugin)
- utilizes debugging log macros
- updates status format
- refactors status print code into a separate function 
							
						 
						
							2022-11-21 12:26:27 -08:00  
				
					
						
							
							
								 
						
							
							
								9959ef1b36 
								
							
								 
							
						 
						
							
							
								
								Implements plugin: channel-safely v1.0.1a  
							
							
							
						 
						
							2022-11-21 09:26:55 -08:00  
				
					
						
							
							
								 
						
							
							
								6c68e72295 
								
							
								 
							
						 
						
							
							
								
								Implements plugin: channel-safely v1.0a  
							
							
							
						 
						
							2022-11-21 09:26:55 -08:00  
				
					
						
							
							
								 
						
							
							
								c4e55f1cc9 
								
							
								 
							
						 
						
							
							
								
								Implements plugin: channel-safely v0.6.1.3  
							
							
							
						 
						
							2022-11-21 09:26:55 -08:00  
				
					
						
							
							
								 
						
							
							
								3cb186a62f 
								
							
								 
							
						 
						
							
							
								
								Implements plugin: channel-safely v0.6.1.2  
							
							
							
						 
						
							2022-11-21 09:26:55 -08:00  
				
					
						
							
							
								 
						
							
							
								8847ed23b4 
								
							
								 
							
						 
						
							
							
								
								Implements plugin: channel-safely v0.6.1.1  
							
							
							
						 
						
							2022-11-21 09:26:55 -08:00  
				
					
						
							
							
								 
						
							
							
								a9f0021927 
								
							
								 
							
						 
						
							
							
								
								Implements plugin: channel-safely v0.6.1  
							
							
							
						 
						
							2022-11-21 09:26:55 -08:00  
				
					
						
							
							
								 
						
							
							
								92537bc459 
								
							
								 
							
						 
						
							
							
								
								Implements plugin: channel-safely v0.6  
							
							
							
						 
						
							2022-11-21 09:26:55 -08:00  
				
					
						
							
							
								 
						
							
							
								fcd6696768 
								
							
								 
							
						 
						
							
							
								
								Implements plugin: channel-safely v0.5.3  
							
							
							
						 
						
							2022-11-21 09:26:55 -08:00  
				
					
						
							
							
								 
						
							
							
								84ffeef092 
								
							
								 
							
						 
						
							
							
								
								Implements plugin: channel-safely v0.5.2  
							
							
							
						 
						
							2022-11-21 09:26:55 -08:00  
				
					
						
							
							
								 
						
							
							
								9db0d809fa 
								
							
								 
							
						 
						
							
							
								
								Implements plugin: channel-safely v0.5.1  
							
							
							
						 
						
							2022-11-21 09:26:55 -08:00  
				
					
						
							
							
								 
						
							
							
								e5dbaac85d 
								
							
								 
							
						 
						
							
							
								
								Implements plugin: channel-safely v0.5  
							
							
							
						 
						
							2022-11-21 09:26:55 -08:00  
				
					
						
							
							
								 
						
							
							
								c2d346fc84 
								
							
								 
							
						 
						
							
							
								
								Implements plugin: channel-safely v0.4  
							
							
							
						 
						
							2022-11-21 09:26:55 -08:00