eafa6e86f7 
								
									
								
							
								 
							
						 
						
							
							
								
								add utils.normalizePath()  
							
							
							
						 
						
							2021-06-29 12:22:05 -07:00  
				
					
						
							
							
								 
						
							
							
								e070f4d9d8 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'myk002/myk_sidebar' into develop  
							
							
							
						 
						
							2021-06-28 01:03:13 -04:00  
				
					
						
							
							
								 
						
							
							
								4945018e92 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'myk002/myk_multi_mock' into develop  
							
							
							
						 
						
							2021-06-25 01:27:46 -04:00  
				
					
						
							
							
								 
						
							
							
								96dd249be0 
								
									
								
							
								 
							
						 
						
							
							
								
								getAnyPlant: use Maps::getPlantAtTile  
							
							... 
							
							
							
							Followup to #1882  
							
						 
						
							2021-06-25 01:08:58 -04:00  
				
					
						
							
							
								 
						
							
							
								5807d6fbfa 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge branch 'DFHack:develop' into patch-1  
							
							
							
						 
						
							2021-06-23 23:08:01 -07:00  
				
					
						
							
							
								 
						
							
							
								c5e7a54d97 
								
									
								
							
								 
							
						 
						
							
							
								
								Rename to getPlantAtTile; remove extra variables  
							
							
							
						 
						
							2021-06-23 23:03:22 -07:00  
				
					
						
							
							
								 
						
							
							
								c5fb28a13c 
								
									
								
							
								 
							
						 
						
							
							
								
								Rename getPlantAtCoords to getPlantAtTile  
							
							
							
						 
						
							2021-06-23 23:00:30 -07:00  
				
					
						
							
							
								 
						
							
							
								818ff7a946 
								
									
								
							
								 
							
						 
						
							
							
								
								Rename getPlantAtCoords to getPlantAtTile  
							
							
							
						 
						
							2021-06-23 22:59:39 -07:00  
				
					
						
							
							
								 
						
							
							
								1b167e7898 
								
									
								
							
								 
							
						 
						
							
							
								
								Also add quotes in expect.ne()  
							
							... 
							
							
							
							Extension of #1886  
							
						 
						
							2021-06-24 01:15:15 -04:00  
				
					
						
							
							
								 
						
							
							
								72998cddd5 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'myk002/myk_expect_quotes' into develop  
							
							
							
						 
						
							2021-06-24 01:11:21 -04:00  
				
					
						
							
							
								 
						
							
							
								67840c033c 
								
									
								
							
								 
							
						 
						
							
							
								
								add quotes around printed unequal values  
							
							... 
							
							
							
							so you can see confusing hidden trailing spaces 
							
						 
						
							2021-06-23 14:04:16 -07:00  
				
					
						
							
							
								 
						
							
							
								5b12c64cba 
								
									
								
							
								 
							
						 
						
							
							
								
								add new string function: wrap()  
							
							... 
							
							
							
							refactored and improved from the implementation in quickfort's dialog.lua 
							
						 
						
							2021-06-23 13:59:39 -07:00  
				
					
						
							
							
								 
						
							
							
								000b589e3a 
								
									
								
							
								 
							
						 
						
							
							
								
								add dwarfmode library function: enterSidebarMode()  
							
							... 
							
							
							
							refactored from quickfort. this common implementation will replace the
now redundant functions in quickfort, gui/mass-remove, and gui/blueprint 
							
						 
						
							2021-06-23 12:29:37 -07:00  
				
					
						
							
							
								 
						
							
							
								bc841f595e 
								
									
								
							
								 
							
						 
						
							
							
								
								Update LuaApi.cpp  
							
							
							
						 
						
							2021-06-22 20:05:45 -07:00  
				
					
						
							
							
								 
						
							
							
								b64e28253f 
								
									
								
							
								 
							
						 
						
							
							
								
								Update Maps.cpp  
							
							
							
						 
						
							2021-06-22 20:03:18 -07:00  
				
					
						
							
							
								 
						
							
							
								d81de5e4c7 
								
									
								
							
								 
							
						 
						
							
							
								
								Add getPlantAtCoords function to Maps namespace  
							
							... 
							
							
							
							Derived from disassembly of DF code. Returns a pointer to plant struct that owns the tile at position. Useful for finding a tree from one of its branches. Lua API support. 
							
						 
						
							2021-06-22 20:01:10 -07:00  
				
					
						
							
							
								 
						
							
							
								2fc5fbacb5 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'myk002/myk_reveal_unhideFlood' into develop  
							
							
							
						 
						
							2021-06-19 01:08:05 -04:00  
				
					
						
							
							
								 
						
							
							
								b7a970a309 
								
									
								
							
								 
							
						 
						
							
							
								
								allow mock.func() to return multiple values  
							
							
							
						 
						
							2021-06-15 13:16:05 -07:00  
				
					
						
							
							
								 
						
							
							
								fc860478e4 
								
									
								
							
								 
							
						 
						
							
							
								
								move fastdwarf's teleport code to Units module  
							
							... 
							
							
							
							and expose in Lua API 
							
						 
						
							2021-06-06 08:48:32 -07:00  
				
					
						
							
							
								 
						
							
							
								fb8d6614c7 
								
									
								
							
								 
							
						 
						
							
							
								
								expose core flood unhide logic to Lua  
							
							... 
							
							
							
							refactor is a straight copy-paste. this code could really stand some
cleanup (unused vars, unnecessary use of the MapCache layer, forced
allocation of all blocks even if they are not being unhidden, etc.), but
that can come in a later PR. 
							
						 
						
							2021-06-02 14:49:19 -07:00  
				
					
						
							
							
								 
						
							
							
								4f976a5909 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'myk002/myk_blueprint' into develop  
							
							
							
						 
						
							2021-05-24 23:48:21 -04:00  
				
					
						
							
							
								 
						
							
							
								ed290e104a 
								
							
								 
							
						 
						
							
							
								
								Auto-update submodules  
							
							... 
							
							
							
							library/xml: master 
							
						 
						
							2021-05-21 07:24:42 +00:00  
				
					
						
							
							
								 
						
							
							
								aff5c9bf35 
								
									
								
							
								 
							
						 
						
							
							
								
								add getCursorCoords overload for df::coord  
							
							... 
							
							
							
							and factor out active cursor detection 
							
						 
						
							2021-05-15 12:05:00 -07:00  
				
					
						
							
							
								 
						
							
							
								59b08e99f6 
								
									
								
							
								 
							
						 
						
							
							
								
								fix -- handling and required arg detection  
							
							
							
						 
						
							2021-05-07 15:21:45 -07:00  
				
					
						
							
							
								 
						
							
							
								fd735d4b42 
								
									
								
							
								 
							
						 
						
							
							
								
								treat negative numbers as non-options in getopt  
							
							
							
						 
						
							2021-05-07 15:21:45 -07:00  
				
					
						
							
							
								 
						
							
							
								27433b7388 
								
							
								 
							
						 
						
							
							
								
								Auto-update submodules  
							
							... 
							
							
							
							library/xml: master 
							
						 
						
							2021-05-07 07:20:06 +00:00  
				
					
						
							
							
								 
						
							
							
								06612182ec 
								
							
								 
							
						 
						
							
							
								
								Auto-update submodules  
							
							... 
							
							
							
							library/xml: master
scripts: master 
							
						 
						
							2021-04-24 07:08:43 +00:00  
				
					
						
							
							
								 
						
							
							
								22752f0630 
								
							
								 
							
						 
						
							
							
								
								Auto-update submodules  
							
							... 
							
							
							
							library/xml: master 
							
						 
						
							2021-04-23 07:08:50 +00:00  
				
					
						
							
							
								 
						
							
							
								ee8e10429d 
								
									
								
							
								 
							
						 
						
							
							
								
								Add initial implementation of mock.restore()  
							
							... 
							
							
							
							Like mock.patch() but only restores original values instead of also setting
new values initially. 
							
						 
						
							2021-04-16 00:34:46 -04:00  
				
					
						
							
							
								 
						
							
							
								792bf14921 
								
							
								 
							
						 
						
							
							
								
								Auto-update submodules  
							
							... 
							
							
							
							library/xml: master 
							
						 
						
							2021-04-13 07:08:38 +00:00  
				
					
						
							
							
								 
						
							
							
								757736728d 
								
									
								
							
								 
							
						 
						
							
							
								
								Add a mock.func() helper for mocking functions  
							
							
							
						 
						
							2021-04-10 01:22:03 -04:00  
				
					
						
							
							
								 
						
							
							
								5424392273 
								
									
								
							
								 
							
						 
						
							
							
								
								mock.patch(): propagate return values  
							
							
							
						 
						
							2021-04-09 00:41:39 -04:00  
				
					
						
							
							
								 
						
							
							
								f25b8a0d14 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix patching value with nil  
							
							
							
						 
						
							2021-04-09 00:35:54 -04:00  
				
					
						
							
							
								 
						
							
							
								7b2f01d45b 
								
									
								
							
								 
							
						 
						
							
							
								
								Add initial mock.patch() implementation for tests  
							
							
							
						 
						
							2021-04-09 00:32:10 -04:00  
				
					
						
							
							
								 
						
							
							
								172821af17 
								
							
								 
							
						 
						
							
							
								
								Auto-update submodules  
							
							... 
							
							
							
							library/xml: master
scripts: master 
							
						 
						
							2021-04-07 07:07:27 +00:00  
				
					
						
							
							
								 
						
							
							
								642d8cbe4b 
								
									
								
							
								 
							
						 
						
							
							
								
								handle nil values sent to printerr  
							
							
							
						 
						
							2021-04-05 01:37:43 -07:00  
				
					
						
							
							
								 
						
							
							
								13ca7f8c9e 
								
									
								
							
								 
							
						 
						
							
							
								
								move expect.lua from internal/ to test_util/  
							
							
							
						 
						
							2021-04-04 17:37:37 -07:00  
				
					
						
							
							
								 
						
							
							
								5af1b627cb 
								
									
								
							
								 
							
						 
						
							
							
								
								add tests, move expect.lua  
							
							... 
							
							
							
							I moved expect.lua from library/lua/test/ to library/lua/internal since
luacov is configured to ignore any file with /test/ in its path 
							
						 
						
							2021-04-04 17:37:36 -07:00  
				
					
						
							
							
								 
						
							
							
								a6561911c1 
								
									
								
							
								 
							
						 
						
							
							
								
								error on unmatched printerr output during a test  
							
							... 
							
							
							
							- provides expect,printerr_match for matching printerr output
- fails tests if printerr is called outside the printerr_match wrapper
- changes api of expect.error_match to mirror the new printerr_match api 
							
						 
						
							2021-04-04 17:37:33 -07:00  
				
					
						
							
							
								 
						
							
							
								dfb52a2aba 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'lethosor/command-prompt-fix-gui-scripts' into develop  
							
							... 
							
							
							
							Conflicts:
	docs/changelog.txt 
							
						 
						
							2021-04-02 21:53:14 -04:00  
				
					
						
							
							
								 
						
							
							
								8129fdab4e 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'myk002/myk_invalidate_scripts' into develop  
							
							
							
						 
						
							2021-03-31 00:50:31 -04:00  
				
					
						
							
							
								 
						
							
							
								c06d1f8e52 
								
									
								
							
								 
							
						 
						
							
							
								
								tagged union support for lua ( #1818 )  
							
							
							
						 
						
							2021-03-30 15:55:06 -05:00  
				
					
						
							
							
								 
						
							
							
								4e844f39ae 
								
									
								
							
								 
							
						 
						
							
							
								
								undo formatting change in script_environment  
							
							
							
						 
						
							2021-03-29 12:29:15 -07:00  
				
					
						
							
							
								 
						
							
							
								54a1e8d98a 
								
									
								
							
								 
							
						 
						
							
							
								
								move script_environment changes to test.lua  
							
							
							
						 
						
							2021-03-29 12:23:53 -07:00  
				
					
						
							
							
								 
						
							
							
								e4cab1b1c6 
								
									
								
							
								 
							
						 
						
							
							
								
								load scripts into different namespace for testing  
							
							
							
						 
						
							2021-03-29 11:26:28 -07:00  
				
					
						
							
							
								 
						
							
							
								badf471434 
								
							
								 
							
						 
						
							
							
								
								Auto-update submodules  
							
							... 
							
							
							
							library/xml: master 
							
						 
						
							2021-03-29 07:07:32 +00:00  
				
					
						
							
							
								 
						
							
							
								2332009825 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'myk002/myk_enable_luacov' into develop  
							
							
							
						 
						
							2021-03-28 00:38:36 -04:00  
				
					
						
							
							
								 
						
							
							
								5e09fd882d 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix Painter:viewport()  
							
							... 
							
							
							
							This works because Painter inherits from ViewRect. Unsure how this went unnoticed. 
							
						 
						
							2021-03-27 16:55:48 -04:00  
				
					
						
							
							
								 
						
							
							
								d5ba1a3d23 
								
							
								 
							
						 
						
							
							
								
								Auto-update submodules  
							
							... 
							
							
							
							library/xml: master 
							
						 
						
							2021-03-27 07:11:38 +00:00  
				
					
						
							
							
								 
						
							
							
								dbd35359be 
								
									
								
							
								 
							
						 
						
							
							
								
								Update xml  
							
							
							
						 
						
							2021-03-24 22:07:37 -04:00