1a4c4a5f33 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-03-12 14:03:23 -05:00  
				
					
						
							
							
								 
						
							
							
								f204f14e52 
								
									
								
							
								 
							
						 
						
							
							
								
								update scripts and structures  
							
							
							
						 
						
							2020-03-12 12:53:24 -05:00  
				
					
						
							
							
								 
						
							
							
								2a6b2cacbd 
								
									
								
							
								 
							
						 
						
							
							
								
								update scripts and structures  
							
							
							
						 
						
							2020-03-12 12:34:57 -05:00  
				
					
						
							
							
								 
						
							
							
								b9841110c3 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures and scripts  
							
							
							
						 
						
							2020-03-09 17:53:34 -05:00  
				
					
						
							
							
								 
						
							
							
								a7d263fa67 
								
									
								
							
								 
							
						 
						
							
							
								
								getFullName of the container AND the item, also exclude container of char ( #1515 )  
							
							... 
							
							
							
							* getFullName of the container AND the item, also exclude container of char
* bit vector condition was backwards 
							
						 
						
							2020-03-09 13:12:04 -05:00  
				
					
						
							
							
								 
						
							
							
								ffb3c29cfc 
								
									
								
							
								 
							
						 
						
							
							
								
								simplify Graphic module. update structures.  
							
							... 
							
							
							
							it appears that all this added complexity including an extra pointer dereference was to avoid including the vector header. 
							
						 
						
							2020-03-08 00:12:48 -06:00  
				
					
						
							
							
								 
						
							
							
								c4e9c8d29c 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-03-07 15:15:02 -06:00  
				
					
						
							
							
								 
						
							
							
								5f83681fbc 
								
									
								
							
								 
							
						 
						
							
							
								
								update scripts and structures  
							
							
							
						 
						
							2020-03-07 12:08:03 -06:00  
				
					
						
							
							
								 
						
							
							
								a214e00407 
								
									
								
							
								 
							
						 
						
							
							
								
								allow union vectors to have tags that are bit vectors if they have exactly 2 members  
							
							
							
						 
						
							2020-03-06 16:48:33 -06:00  
				
					
						
							
							
								 
						
							
							
								508ab79af2 
								
									
								
							
								 
							
						 
						
							
							
								
								document where tagged unions should be implemented for Lua  
							
							
							
						 
						
							2020-03-06 16:33:02 -06:00  
				
					
						
							
							
								 
						
							
							
								635e709d95 
								
									
								
							
								 
							
						 
						
							
							
								
								name ui_look_list union  
							
							... 
							
							
							
							update scripts and structures 
							
						 
						
							2020-03-06 16:06:27 -06:00  
				
					
						
							
							
								 
						
							
							
								fa574cfbec 
								
									
								
							
								 
							
						 
						
							
							
								
								allow dfhack-run to output colors.  
							
							... 
							
							
							
							refactor Console-posix to avoid having a parameter equivalent to not calling the function at all. 
							
						 
						
							2020-03-06 15:02:03 -06:00  
				
					
						
							
							
								 
						
							
							
								885fa541fd 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-03-05 00:06:32 -06:00  
				
					
						
							
							
								 
						
							
							
								84cae060b1 
								
									
								
							
								 
							
						 
						
							
							
								
								move find_union_tag from check-structures-sanity to DataDefs.h  
							
							
							
						 
						
							2020-03-04 18:23:49 -06:00  
				
					
						
							
							
								 
						
							
							
								08e1fe1f02 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-03-03 22:42:40 -06:00  
				
					
						
							
							
								 
						
							
							
								6d15d349bc 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-03-03 21:45:13 -06:00  
				
					
						
							
							
								 
						
							
							
								676e73d477 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-03-02 23:59:55 -06:00  
				
					
						
							
							
								 
						
							
							
								e356925795 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-03-02 23:12:03 -06:00  
				
					
						
							
							
								 
						
							
							
								7784e569a5 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-03-02 22:29:53 -06:00  
				
					
						
							
							
								 
						
							
							
								c29b606a4a 
								
									
								
							
								 
							
						 
						
							
							
								
								check-structures-sanity: suggest known structure types for large unknown pointers  
							
							... 
							
							
							
							update structures 
							
						 
						
							2020-03-02 21:33:04 -06:00  
				
					
						
							
							
								 
						
							
							
								66ded03bc1 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-03-02 20:41:13 -06:00  
				
					
						
							
							
								 
						
							
							
								4da0a761ea 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-03-02 18:36:28 -06:00  
				
					
						
							
							
								 
						
							
							
								269b3cb8eb 
								
									
								
							
								 
							
						 
						
							
							
								
								add support for finding vtable pointers to check-structures-sanity  
							
							... 
							
							
							
							update structures 
							
						 
						
							2020-03-02 15:34:29 -06:00  
				
					
						
							
							
								 
						
							
							
								0024457167 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							... 
							
							
							
							don't mark lua argument as a pointer (to be revisited at some point) 
							
						 
						
							2020-03-02 02:27:15 -06:00  
				
					
						
							
							
								 
						
							
							
								102fedc2ff 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-03-01 00:20:31 -06:00  
				
					
						
							
							
								 
						
							
							
								dc5ef1fe58 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-29 20:11:41 -06:00  
				
					
						
							
							
								 
						
							
							
								aaace29e11 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-29 18:29:32 -06:00  
				
					
						
							
							
								 
						
							
							
								18523a1821 
								
									
								
							
								 
							
						 
						
							
							
								
								Convert untagged unions to tagged. Fix some edge cases in check-structures-sanity union checking.  
							
							
							
						 
						
							2020-02-29 15:08:39 -06:00  
				
					
						
							
							
								 
						
							
							
								94e818fd53 
								
									
								
							
								 
							
						 
						
							
							
								
								reference union_identity in the df namespace  
							
							
							
						 
						
							2020-02-29 13:26:42 -06:00  
				
					
						
							
							
								 
						
							
							
								3ddbb5cec1 
								
									
								
							
								 
							
						 
						
							
							
								
								fix typo  
							
							
							
						 
						
							2020-02-29 13:24:12 -06:00  
				
					
						
							
							
								 
						
							
							
								a30678cee3 
								
									
								
							
								 
							
						 
						
							
							
								
								subclass struct_identity for unions  
							
							
							
						 
						
							2020-02-29 13:11:23 -06:00  
				
					
						
							
							
								 
						
							
							
								196f4d3c06 
								
							
								 
							
						 
						
							
							
								
								Update submodules  
							
							
							
						 
						
							2020-02-27 18:54:30 -05:00  
				
					
						
							
							
								 
						
							
							
								141928ead0 
								
							
								 
							
						 
						
							
							
								
								Fix gui.FilteredList widget search on plain string choices  
							
							
							
						 
						
							2020-02-27 07:56:30 +01:00  
				
					
						
							
							
								 
						
							
							
								92eb8b058b 
								
									
								
							
								 
							
						 
						
							
							
								
								update scripts and structures  
							
							
							
						 
						
							2020-02-26 12:10:15 -06:00  
				
					
						
							
							
								 
						
							
							
								e26787604a 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-24 12:16:59 -06:00  
				
					
						
							
							
								 
						
							
							
								f6f5d54f9d 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-24 10:20:32 -06:00  
				
					
						
							
							
								 
						
							
							
								1f34c813c8 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-24 10:13:46 -06:00  
				
					
						
							
							
								 
						
							
							
								8a4eac3d3e 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1503  from TymurGubayev/dev/minor-improvement/dfhack-lua/printall_recurse  
							
							... 
							
							
							
							allow custom filter in calls to `dfhack.printall_recurse` 
							
						 
						
							2020-02-24 10:05:28 -06:00  
				
					
						
							
							
								 
						
							
							
								546178bc56 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-24 03:03:58 -06:00  
				
					
						
							
							
								 
						
							
							
								e9564a28f5 
								
									
								
							
								 
							
						 
						
							
							
								
								allow tagged unions to not be union followed by tag  
							
							
							
						 
						
							2020-02-23 21:33:32 -06:00  
				
					
						
							
							
								 
						
							
							
								1d8998de22 
								
									
								
							
								 
							
						 
						
							
							
								
								allow custom filter in `dfhack.printall_recurse`  
							
							... 
							
							
							
							Objects with links like `job` output way too much. With this change, it's possible to provide an optional filter and exclude the `list_link`.
```
[lua]# j = dfhack.gui.getSelectedJob()
[lua]# printall_recurse(j, {[tostring(j.list_link)]=true, [tostring(j.pos)]=true})
``` 
							
						 
						
							2020-02-23 16:57:57 +01:00  
				
					
						
							
							
								 
						
							
							
								1e3e3829a7 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-22 23:36:14 -06:00  
				
					
						
							
							
								 
						
							
							
								5580d375aa 
								
									
								
							
								 
							
						 
						
							
							
								
								add more diagnostics that will help in the identification of stl-string fields  
							
							
							
						 
						
							2020-02-22 15:34:48 -06:00  
				
					
						
							
							
								 
						
							
							
								0711b2569a 
								
									
								
							
								 
							
						 
						
							
							
								
								in -sizes mode, report sizes of unknown structures behind pointers.  
							
							... 
							
							
							
							update structures 
							
						 
						
							2020-02-22 14:04:53 -06:00  
				
					
						
							
							
								 
						
							
							
								57154e33c8 
								
									
								
							
								 
							
						 
						
							
							
								
								warn about misidentified generic pointers  
							
							... 
							
							
							
							update structures 
							
						 
						
							2020-02-21 18:49:02 -06:00  
				
					
						
							
							
								 
						
							
							
								53da38ca47 
								
									
								
							
								 
							
						 
						
							
							
								
								add additional pointer, string, and vector sanity checks  
							
							... 
							
							
							
							update structures and scripts 
							
						 
						
							2020-02-21 17:31:31 -06:00  
				
					
						
							
							
								 
						
							
							
								f383f63eea 
								
									
								
							
								 
							
						 
						
							
							
								
								fix check-structures-sanity not catching certain types of invalid string on GCC builds.  
							
							... 
							
							
							
							update structures. 
							
						 
						
							2020-02-21 17:31:31 -06:00  
				
					
						
							
							
								 
						
							
							
								14eade3886 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-21 02:52:56 -06:00  
				
					
						
							
							
								 
						
							
							
								eb35ff9b47 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-21 02:31:37 -06:00  
				
					
						
							
							
								 
						
							
							
								f708bb5cff 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-21 01:41:05 -06:00  
				
					
						
							
							
								 
						
							
							
								38410544b0 
								
									
								
							
								 
							
						 
						
							
							
								
								handle tagged unions in check-structures-sanity  
							
							... 
							
							
							
							update structures 
							
						 
						
							2020-02-20 22:17:25 -06:00  
				
					
						
							
							
								 
						
							
							
								903f829e30 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-20 20:19:50 -06:00  
				
					
						
							
							
								 
						
							
							
								1beb0f417e 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-20 17:44:24 -06:00  
				
					
						
							
							
								 
						
							
							
								f81587bd82 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-18 21:05:54 -06:00  
				
					
						
							
							
								 
						
							
							
								0d36e62d81 
								
									
								
							
								 
							
						 
						
							
							
								
								fix some weird uses of the part of speech enum  
							
							
							
						 
						
							2020-02-18 16:39:39 -06:00  
				
					
						
							
							
								 
						
							
							
								c43c9de477 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-18 16:33:24 -06:00  
				
					
						
							
							
								 
						
							
							
								fce52866c7 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-17 22:43:12 -06:00  
				
					
						
							
							
								 
						
							
							
								91771f9c64 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-17 22:02:25 -06:00  
				
					
						
							
							
								 
						
							
							
								28bf6667cb 
								
							
								 
							
						 
						
							
							
								
								Update xml  
							
							
							
						 
						
							2020-02-16 21:22:31 -05:00  
				
					
						
							
							
								 
						
							
							
								a703e2b2fc 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-16 19:02:36 -06:00  
				
					
						
							
							
								 
						
							
							
								b033a215bd 
								
									
								
							
								 
							
						 
						
							
							
								
								update for Dwarf Fortress 0.47.03  
							
							
							
						 
						
							2020-02-16 18:48:27 -06:00  
				
					
						
							
							
								 
						
							
							
								4e42da9e4f 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-16 10:36:06 -06:00  
				
					
						
							
							
								 
						
							
							
								631b8e772c 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures; fix -lowmem being enabled due to being uninitialized on the stack.  
							
							
							
						 
						
							2020-02-15 16:10:54 -06:00  
				
					
						
							
							
								 
						
							
							
								122169a559 
								
									
								
							
								 
							
						 
						
							
							
								
								update scripts and structures  
							
							... 
							
							
							
							fix a crash if check-structures-sanity was called with a lua expression that evaluated to nil 
							
						 
						
							2020-02-15 12:04:00 -06:00  
				
					
						
							
							
								 
						
							
							
								bc5b0a6dd0 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-15 02:58:00 -06:00  
				
					
						
							
							
								 
						
							
							
								99ccc55d65 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-15 01:23:26 -06:00  
				
					
						
							
							
								 
						
							
							
								c2584d615c 
								
									
								
							
								 
							
						 
						
							
							
								
								Define MapExtras::BiomeInfo::MAX_LAYERS ( #1496 )  
							
							... 
							
							
							
							Definition is required even for constexpr variables in some compilation
setups (e.g. debug builds). 
							
						 
						
							2020-02-15 01:22:58 -06:00  
				
					
						
							
							
								 
						
							
							
								9caf6e97e6 
								
									
								
							
								 
							
						 
						
							
							
								
								add -enums, -sizes, and specific starting point flags to check-structures-sanity  
							
							
							
						 
						
							2020-02-14 19:47:26 -06:00  
				
					
						
							
							
								 
						
							
							
								f7f7bd7ca7 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-13 21:23:42 -06:00  
				
					
						
							
							
								 
						
							
							
								69c4f5c972 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-13 02:12:26 -06:00  
				
					
						
							
							
								 
						
							
							
								8fe950f815 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							... 
							
							
							
							sizecheck no longer segfaults on the medium world 
							
						 
						
							2020-02-13 00:52:00 -06:00  
				
					
						
							
							
								 
						
							
							
								3996189f9f 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures and scripts  
							
							
							
						 
						
							2020-02-12 23:52:58 -06:00  
				
					
						
							
							
								 
						
							
							
								e9a295c788 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-12 19:00:18 -06:00  
				
					
						
							
							
								 
						
							
							
								b754192f2d 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-12 16:18:05 -06:00  
				
					
						
							
							
								 
						
							
							
								ddc3cfcfbc 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-12 13:34:04 -06:00  
				
					
						
							
							
								 
						
							
							
								7bb921be19 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-12 11:35:58 -06:00  
				
					
						
							
							
								 
						
							
							
								3c9f6f79ab 
								
									
								
							
								 
							
						 
						
							
							
								
								fix some warnings  
							
							
							
						 
						
							2020-02-10 19:35:17 -06:00  
				
					
						
							
							
								 
						
							
							
								7b9ea1f1b6 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-10 18:23:57 -06:00  
				
					
						
							
							
								 
						
							
							
								69611ab325 
								
									
								
							
								 
							
						 
						
							
							
								
								exit if a fatal startup error is encountered while in headless mode ( #1491 )  
							
							
							
						 
						
							2020-02-09 18:05:09 -06:00  
				
					
						
							
							
								 
						
							
							
								5b56125ad6 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-08 23:02:25 -06:00  
				
					
						
							
							
								 
						
							
							
								b375586b67 
								
									
								
							
								 
							
						 
						
							
							
								
								Update to DF 0.47.02  
							
							
							
						 
						
							2020-02-07 16:00:53 -06:00  
				
					
						
							
							
								 
						
							
							
								0243e422e5 
								
									
								
							
								 
							
						 
						
							
							
								
								Allow plugins to define subclasses of dfhack_viewscreen that have their own virtual_identity.  
							
							
							
						 
						
							2020-02-07 16:00:14 -06:00  
				
					
						
							
							
								 
						
							
							
								5db7d518ee 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures; fix some minor compile warnings  
							
							
							
						 
						
							2020-02-05 12:35:43 -06:00  
				
					
						
							
							
								 
						
							
							
								321d948f8d 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix crash on missing symbols.  
							
							... 
							
							
							
							Fixes  #1487 . 
						
							2020-02-03 20:21:10 -06:00  
				
					
						
							
							
								 
						
							
							
								9c52b4e5e6 
								
									
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2020-02-02 17:31:01 -06:00  
				
					
						
							
							
								 
						
							
							
								dfc90fe660 
								
									
								
							
								 
							
						 
						
							
							
								
								Update df-structures and scripts.  
							
							
							
						 
						
							2020-02-02 17:10:11 -06:00  
				
					
						
							
							
								 
						
							
							
								62e3802d26 
								
									
								
							
								 
							
						 
						
							
							
								
								Update to DF 0.47.01  
							
							
							
						 
						
							2020-01-29 14:51:48 -06:00  
				
					
						
							
							
								 
						
							
							
								121497a466 
								
							
								 
							
						 
						
							
							
								
								Propagated getBookTitle to Lua  
							
							
							
						 
						
							2020-01-26 11:47:47 +01:00  
				
					
						
							
							
								 
						
							
							
								876ac6c056 
								
							
								 
							
						 
						
							
							
								
								Renamed to getBookTitle, cut down on virtual_cast  
							
							
							
						 
						
							2020-01-25 21:46:10 +01:00  
				
					
						
							
							
								 
						
							
							
								c6bbf39c6c 
								
							
								 
							
						 
						
							
							
								
								Issue  #1262 . Added Items::getTitle and used in stocks  
							
							
							
						 
						
							2020-01-25 12:43:02 +01:00  
				
					
						
							
							
								 
						
							
							
								815821eb93 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into cmake-cleanup  
							
							... 
							
							
							
							Conflicts:
	depends/lua/CMakeLists.txt
	plugins/CMakeLists.txt
	plugins/devel/CMakeLists.txt 
							
						 
						
							2020-01-18 22:28:43 -05:00  
				
					
						
							
							
								 
						
							
							
								bb9bc4e353 
								
							
								 
							
						 
						
							
							
								
								Update submodules  
							
							
							
						 
						
							2020-01-18 18:52:32 -05:00  
				
					
						
							
							
								 
						
							
							
								96d8dffd32 
								
									
								
							
								 
							
						 
						
							
							
								
								Make dfhack.run_command return the command_result value.  
							
							... 
							
							
							
							Rename local variables to match dfhack.run_command_silent for clarity. 
							
						 
						
							2020-01-14 17:53:52 -06:00  
				
					
						
							
							
								 
						
							
							
								47fa9e1159 
								
							
								 
							
						 
						
							
							
								
								Update authors, submodules  
							
							
							
						 
						
							2020-01-13 23:35:31 -05:00  
				
					
						
							
							
								 
						
							
							
								5eca50476e 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'nornagon/unit-description' into develop  
							
							
							
						 
						
							2020-01-13 23:31:23 -05:00  
				
					
						
							
							
								 
						
							
							
								be5dc2d4a4 
								
									
								
							
								 
							
						 
						
							
							
								
								Make Units::isGay act consistently when called on an asexual unit.  
							
							... 
							
							
							
							The function appears to be used to determine whether heterosexual relationships are possible, so asexual units will always return true for isGay.
Old behavior was to treat asexual units as male. 
							
						 
						
							2020-01-09 14:48:30 -06:00  
				
					
						
							
							
								 
						
							
							
								5de368a1ed 
								
							
								 
							
						 
						
							
							
								
								unit_{=> get_}physical_description  
							
							
							
						 
						
							2020-01-04 22:17:03 +11:00  
				
					
						
							
							
								 
						
							
							
								7644dde9e4 
								
									
								
							
								 
							
						 
						
							
							
								
								default to empty description if symbol unavailable  
							
							
							
						 
						
							2019-12-14 12:01:13 -08:00  
				
					
						
							
							
								 
						
							
							
								50e696acf6 
								
							
								 
							
						 
						
							
							
								
								getDescription => getPhysicalDescription  
							
							
							
						 
						
							2019-12-14 09:36:47 -08:00  
				
					
						
							
							
								 
						
							
							
								7fce6fe0b0 
								
							
								 
							
						 
						
							
							
								
								move THISCALL define to header, clean up code a little  
							
							
							
						 
						
							2019-12-13 23:54:27 -08:00  
				
					
						
							
							
								 
						
							
							
								dfab521a71 
								
									
								
							
								 
							
						 
						
							
							
								
								specify __thiscall  
							
							... 
							
							
							
							According to https://docs.microsoft.com/en-us/cpp/cpp/thiscall?view=vs-2019 , "on ARM and x64 machines, __thiscall is accepted and ignored by the compiler.". So it should be OK to specify this for all win32 
							
						 
						
							2019-12-12 17:51:41 -08:00  
				
					
						
							
							
								 
						
							
							
								9a37849603 
								
							
								 
							
						 
						
							
							
								
								use symbols.xml  
							
							
							
						 
						
							2019-12-07 22:41:55 -08:00  
				
					
						
							
							
								 
						
							
							
								910f965838 
								
							
								 
							
						 
						
							
							
								
								wip  
							
							
							
						 
						
							2019-12-07 22:17:59 -08:00  
				
					
						
							
							
								 
						
							
							
								49563b4618 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'warmist/FilteredListFix' into develop  
							
							
							
						 
						
							2019-11-02 16:28:06 -04:00  
				
					
						
							
							
								 
						
							
							
								08aeb6faeb 
								
							
								 
							
						 
						
							
							
								
								Fix EventManager building ID type  
							
							... 
							
							
							
							The pointer to the building ID was sometimes not dereferenced properly.
Addressed by switching to an ID cast to a pointer type for consistency with
other types of events.
Fixes  #1434 
Ref #1003  (19695b4ee7#1253  (a7dfacd1c5 
							
						 
						
							2019-10-05 20:26:31 -04:00  
				
					
						
							
							
								 
						
							
							
								7d5970303f 
								
							
								 
							
						 
						
							
							
								
								Update xml ( dfhack/df-structures#286 )  
							
							
							
						 
						
							2019-10-04 00:14:08 -04:00  
				
					
						
							
							
								 
						
							
							
								ca7d0f1cac 
								
							
								 
							
						 
						
							
							
								
								Add algorithm include for MSVC  
							
							
							
						 
						
							2019-10-03 23:26:57 -04:00  
				
					
						
							
							
								 
						
							
							
								f3658db85f 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into avoid_rebuilding_df_statics_if_core_h_changes  
							
							
							
						 
						
							2019-10-03 23:23:36 -04:00  
				
					
						
							
							
								 
						
							
							
								a2b5c1ddd9 
								
									
								
							
								 
							
						 
						
							
							
								
								lua/widgets filtered list input fix  
							
							... 
							
							
							
							FilteredList was not consuming input events. 
							
						 
						
							2019-09-30 22:00:06 +03:00  
				
					
						
							
							
								 
						
							
							
								ac5a54c8db 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into cmake-cleanup  
							
							... 
							
							
							
							Conflicts:
	library/CMakeLists.txt
	plugins/CMakeLists.txt 
							
						 
						
							2019-08-23 23:58:00 -04:00  
				
					
						
							
							
								 
						
							
							
								0f4162acc9 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1402  from BenLubar/persist  
							
							... 
							
							
							
							Add Persistence module. 
							
						 
						
							2019-08-23 23:37:06 -04:00  
				
					
						
							
							
								 
						
							
							
								222b88063c 
								
							
								 
							
						 
						
							
							
								
								Update submodules  
							
							
							
						 
						
							2019-08-23 21:37:50 -04:00  
				
					
						
							
							
								 
						
							
							
								2ef46562c8 
								
							
								 
							
						 
						
							
							
								
								Avoid calling doSaveData twice when unloading a world  
							
							... 
							
							
							
							This was happening because of a switch to viewscreen_game_cleanerst and back to
viewscreen_savegamest when saving 
							
						 
						
							2019-08-23 20:45:35 -04:00  
				
					
						
							
							
								 
						
							
							
								100e584c34 
								
							
								 
							
						 
						
							
							
								
								Fix saving persistent data on regular save  
							
							
							
						 
						
							2019-08-23 20:30:06 -04:00  
				
					
						
							
							
								 
						
							
							
								07575095fd 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into persist  
							
							
							
						 
						
							2019-08-22 22:00:50 -04:00  
				
					
						
							
							
								 
						
							
							
								88757d5c27 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into cmake-cleanup  
							
							
							
						 
						
							2019-07-20 19:22:33 -04:00  
				
					
						
							
							
								 
						
							
							
								99038c395a 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'ab9rf/biometype' into develop  
							
							
							
						 
						
							2019-07-20 16:32:46 -04:00  
				
					
						
							
							
								 
						
							
							
								8a07426643 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into cmake-cleanup  
							
							
							
						 
						
							2019-07-20 15:15:39 -04:00  
				
					
						
							
							
								 
						
							
							
								49f3de979f 
								
							
								 
							
						 
						
							
							
								
								Make ServerMain and ServerConnection data race free  
							
							... 
							
							
							
							RemoteServer and PluginManager side would need complete redesign to be
data race free and concurrent. But as that would be unlikely to be
required from DFHack I decided simpler solution that is fixing data
ownership to a thread and all ServerConnection share a single lock which
allows access to PluginManager and Core. 
							
						 
						
							2019-07-18 23:05:11 -04:00  
				
					
						
							
							
								 
						
							
							
								0605b9601c 
								
							
								 
							
						 
						
							
							
								
								Make Core::started thread safe  
							
							
							
						 
						
							2019-07-18 23:05:11 -04:00  
				
					
						
							
							
								 
						
							
							
								0ed5c8db39 
								
							
								 
							
						 
						
							
							
								
								Fix data race between threaded init and EventManager  
							
							... 
							
							
							
							The initial run_dfhack_init loads shared state information that is used
by EventManager when state changes. There is a small risk that
EventManager can handle events while run_dfhack_init is still running. 
							
						 
						
							2019-07-18 23:04:40 -04:00  
				
					
						
							
							
								 
						
							
							
								76da2c2aaf 
								
							
								 
							
						 
						
							
							
								
								Clean up CMakeLists.txt style  
							
							
							
						 
						
							2019-07-16 22:19:11 -04:00  
				
					
						
							
							
								 
						
							
							
								b60faa8021 
								
							
								 
							
						 
						
							
							
								
								dfhack-run: add note about installation when called with no arguments  
							
							
							
						 
						
							2019-07-13 15:51:46 -04:00  
				
					
						
							
							
								 
						
							
							
								c125926727 
								
							
								 
							
						 
						
							
							
								
								Update submodules and Authors.rst  
							
							... 
							
							
							
							Ref #1432 
Ref dfhack/stonesense#54 
Ref dfhack/scripts#93  
							
						 
						
							2019-07-10 19:21:23 -04:00  
				
					
						
							
							
								 
						
							
							
								5b11d14c6c 
								
							
								 
							
						 
						
							
							
								
								Rename save/load to "save data"/"load data"  
							
							
							
						 
						
							2019-05-29 19:52:03 -04:00  
				
					
						
							
							
								 
						
							
							
								ceebef5fe2 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into persist  
							
							
							
						 
						
							2019-05-28 21:08:16 -04:00  
				
					
						
							
							
								 
						
							
							
								dd9c433f17 
								
							
								 
							
						 
						
							
							
								
								Use BYPRODUCTS to keep ninja builds from re-running codegen every time  
							
							... 
							
							
							
							This partially reverts f02466de8ahttps://cmake.org/cmake/help/v3.14/command/add_custom_command.html :
> The `BYPRODUCTS` option is ignored on non-Ninja generators except to mark
> byproducts `GENERATED`.
Since `$GENERATED_HDRS` are already marked generated, this change should have
no effect on non-Ninja generators. 
							
						 
						
							2019-05-13 19:47:39 -04:00  
				
					
						
							
							
								 
						
							
							
								32a0ab9679 
								
							
								 
							
						 
						
							
							
								
								Update submodules  
							
							
							
						 
						
							2019-05-11 23:34:59 -04:00  
				
					
						
							
							
								 
						
							
							
								e5eade1ad7 
								
							
								 
							
						 
						
							
							
								
								Make gui.dwarfmode.{get_movement_delta,get_hotkey_target} public  
							
							
							
						 
						
							2019-04-30 16:53:09 -04:00  
				
					
						
							
							
								 
						
							
							
								6c266075de 
								
							
								 
							
						 
						
							
							
								
								Console-posix: fix crash with prompts longer than screen width  
							
							... 
							
							
							
							Also add an extra fallback check around substr
Fixes  #1425  
							
						 
						
							2019-01-15 21:06:49 -05:00  
				
					
						
							
							
								 
						
							
							
								f0632347d0 
								
							
								 
							
						 
						
							
							
								
								Remove Core.h include from DataDefs.h  
							
							... 
							
							
							
							Core.h isn't required for DataDefs.h which removes Core.h dependency
from DataStatics*. 
							
						 
						
							2018-12-30 17:08:42 -05:00  
				
					
						
							
							
								 
						
							
							
								e74946f62e 
								
							
								 
							
						 
						
							
							
								
								Update xml and related changelog entries  
							
							
							
						 
						
							2018-12-27 17:37:13 -05:00  
				
					
						
							
							
								 
						
							
							
								a2f8742128 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'suokko/runtime_debug_prints' into develop  
							
							... 
							
							
							
							Also fix and reorganize changelog 
							
						 
						
							2018-12-27 16:28:25 -05:00  
				
					
						
							
							
								 
						
							
							
								13c6bfc1b2 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'sgayda2/memory_fixes' into develop  
							
							
							
						 
						
							2018-12-22 11:54:31 -05:00  
				
					
						
							
							
								 
						
							
							
								b913076451 
								
							
								 
							
						 
						
							
							
								
								Update xml, stonesense, changelog  
							
							... 
							
							
							
							Merged DFHack/df-structures#296  and (modified) attached changelog
entry 
							
						 
						
							2018-11-24 17:09:24 -05:00  
				
					
						
							
							
								 
						
							
							
								368f8d0504 
								
							
								 
							
						 
						
							
							
								
								Remove and replace checks for OnBreak  
							
							
							
						 
						
							2018-11-24 14:52:26 -05:00  
				
					
						
							
							
								 
						
							
							
								02f047e9f1 
								
							
								 
							
						 
						
							
							
								
								a pox on whitespace  
							
							
							
						 
						
							2018-09-11 18:41:32 -05:00  
				
					
						
							
							
								 
						
							
							
								3817773b5a 
								
							
								 
							
						 
						
							
							
								
								eliminate stray whitespace  
							
							
							
						 
						
							2018-09-11 17:32:33 -05:00  
				
					
						
							
							
								 
						
							
							
								10267f3e70 
								
									
								
							
								 
							
						 
						
							
							
								
								Only save on the first frame of the save screen.  
							
							
							
						 
						
							2018-08-26 19:11:41 -05:00  
				
					
						
							
							
								 
						
							
							
								a672ffcb95 
								
									
								
							
								 
							
						 
						
							
							
								
								Use viewscreen_savegamest instead of viewscreen_optionst  
							
							
							
						 
						
							2018-08-26 19:05:44 -05:00  
				
					
						
							
							
								 
						
							
							
								4e690df96a 
								
									
								
							
								 
							
						 
						
							
							
								
								Add Persistence module.  
							
							... 
							
							
							
							Alter World to use Persistence instead of storing data in historical figures.
Fake historical figures will be converted to the new format when a world is loaded.
Added plugin_save and plugin_load functions to the plugin API.
Made the weird int7/int28 code that was in the old persistence API slightly safer. 
							
						 
						
							2018-08-26 18:27:58 -05:00  
				
					
						
							
							
								 
						
							
							
								338572d270 
								
							
								 
							
						 
						
							
							
								
								resolve uninitialized variable warning  
							
							
							
						 
						
							2018-08-16 12:15:56 -05:00  
				
					
						
							
							
								 
						
							
							
								59d70d6687 
								
							
								 
							
						 
						
							
							
								
								Add function to infer biome type to Maps module  
							
							... 
							
							
							
							This moves code intended to infer biome type currently living in a
couple of plugins into the Maps module, so that this code can be shared
more easily by multiple plugins, as discussed in #1392 . 
							
						 
						
							2018-08-15 20:28:18 -05:00  
				
					
						
							
							
								 
						
							
							
								e56cb2a25a 
								
							
								 
							
						 
						
							
							
								
								Update xml (setup_character_info.skill_points_remaining)  
							
							
							
						 
						
							2018-08-04 00:59:15 -04:00  
				
					
						
							
							
								 
						
							
							
								9bd5ecd738 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1372  from BenLubar/dfhack-viewscreen-identity  
							
							... 
							
							
							
							Add an identity to dfhack_viewscreen and dfhack_lua_viewscreen. 
							
						 
						
							2018-07-26 16:06:24 -04:00  
				
					
						
							
							
								 
						
							
							
								4837e65322 
								
									
								
							
								 
							
						 
						
							
							
								
								Add an identity to dfhack_viewscreen and dfhack_lua_viewscreen.  
							
							
							
						 
						
							2018-07-22 17:31:39 -05:00  
				
					
						
							
							
								 
						
							
							
								c53353fc28 
								
							
								 
							
						 
						
							
							
								
								Update changelog, xml  
							
							
							
						 
						
							2018-07-20 23:29:24 -04:00  
				
					
						
							
							
								 
						
							
							
								163c9b4059 
								
							
								 
							
						 
						
							
							
								
								Add utils.OrderedTable, make test order consistent  
							
							... 
							
							
							
							Also added OrderedTable tests and comment support to expect.*() 
							
						 
						
							2018-07-19 12:40:25 -04:00  
				
					
						
							
							
								 
						
							
							
								063602349c 
								
							
								 
							
						 
						
							
							
								
								Add a basic test library and a couple GUI module tests (squashed)  
							
							... 
							
							
							
							Also modified Core/Console a bit to get this to actually produce output on
Travis (DFHACK_DISABLE_CONSOLE now allows console output, just not input)
Squashed merge from lethosor/tests 
							
						 
						
							2018-07-18 14:29:13 -04:00  
				
					
						
							
							
								 
						
							
							
								3b44c18576 
								
							
								 
							
						 
						
							
							
								
								Followups for  #1325  
							
							... 
							
							
							
							- Fix git tag detection
- Fix changelog entry position
- Update/clean up docs some 
							
						 
						
							2018-07-17 00:58:49 -04:00  
				
					
						
							
							
								 
						
							
							
								1d6c3dc871 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'suokko/fix_cmake_dependencies_to_generated_headers' into develop  
							
							
							
						 
						
							2018-07-17 00:24:18 -04:00  
				
					
						
							
							
								 
						
							
							
								38cccdb0f4 
								
							
								 
							
						 
						
							
							
								
								Update the module create calls to return unique_ptrs  
							
							
							
						 
						
							2018-07-14 19:55:25 -07:00  
				
					
						
							
							
								 
						
							
							
								6f90273bb6 
								
							
								 
							
						 
						
							
							
								
								More usage of smart pointers throughout core and version info.  
							
							
							
						 
						
							2018-07-14 19:55:25 -07:00  
				
					
						
							
							
								 
						
							
							
								699f864110 
								
							
								 
							
						 
						
							
							
								
								use dts::make_unique instead of new  
							
							
							
						 
						
							2018-07-14 19:51:46 -07:00  
				
					
						
							
							
								 
						
							
							
								6cfd987c0d 
								
							
								 
							
						 
						
							
							
								
								Remove an outdated comment, with c++11 enabled the code is thread safe  
							
							
							
						 
						
							2018-07-14 19:51:46 -07:00  
				
					
						
							
							
								 
						
							
							
								12c8046f90 
								
							
								 
							
						 
						
							
							
								
								Some memory management changes for Core  
							
							
							
						 
						
							2018-07-14 19:51:46 -07:00  
				
					
						
							
							
								 
						
							
							
								b5ddde8475 
								
							
								 
							
						 
						
							
							
								
								Use a shared_ptr to avoid having to manage VersionInfo vector memory  
							
							
							
						 
						
							2018-07-14 19:51:46 -07:00  
				
					
						
							
							
								 
						
							
							
								c127ceab96 
								
							
								 
							
						 
						
							
							
								
								Use a unique_ptr for VersionInfo to avoid worrying about memory  
							
							
							
						 
						
							2018-07-14 19:51:46 -07:00  
				
					
						
							
							
								 
						
							
							
								790d16cc1c 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'sgayda2/call_once' into develop  
							
							
							
						 
						
							2018-07-14 21:08:15 -04:00  
				
					
						
							
							
								 
						
							
							
								99d05117ab 
								
							
								 
							
						 
						
							
							
								
								fix a return statement in FirstCall  
							
							
							
						 
						
							2018-07-14 12:15:52 -07:00  
				
					
						
							
							
								 
						
							
							
								c2a64b3573 
								
							
								 
							
						 
						
							
							
								
								Update changelog, xml, bump to r1  
							
							
							
						 
						
							2018-07-13 21:16:35 -04:00  
				
					
						
							
							
								 
						
							
							
								f85b2c2b3c 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of gh:dfhack/dfhack into develop  
							
							
							
						 
						
							2018-07-13 20:00:52 -04:00  
				
					
						
							
							
								 
						
							
							
								78f2431c93 
								
							
								 
							
						 
						
							
							
								
								Update xml  
							
							
							
						 
						
							2018-07-13 19:59:46 -04:00  
				
					
						
							
							
								 
						
							
							
								b44789285c 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix Windows df-structures stubs failing to compile if the option to keep symbols is specified.  
							
							
							
						 
						
							2018-07-13 15:49:37 -05:00  
				
					
						
							
							
								 
						
							
							
								f02466de8a 
								
							
								 
							
						 
						
							
							
								
								Correct codegen.pl output dependecies for VC  
							
							... 
							
							
							
							The change allows correct and optimized incremental builds with VC and
ninja but unix makefile backend will rebuild everything if anything
changes in structures. 
							
						 
						
							2018-07-13 17:01:36 +03:00  
				
					
						
							
							
								 
						
							
							
								bc8b8ef256 
								
							
								 
							
						 
						
							
							
								
								Use configure_file to optimize incremental builds for git-describe.h  
							
							
							
						 
						
							2018-07-13 16:07:46 +03:00  
				
					
						
							
							
								 
						
							
							
								c92b52537c 
								
							
								 
							
						 
						
							
							
								
								Only run once codegen.pl and git-describe.cmake with make  
							
							... 
							
							
							
							ninja has a single build file which avoided issues if multiple targets
depend on same files. But Unix Makefiles generator user recursive make
which requires each ADD_CUSTOM_COMMAND to have only one target depending
on them.
Then makefile generator also has stupid rule that it touches all
secundary output files if primary file has been updated.
It was surprising hard to find a version that actually works correctly
for both issues. Solution is using BYPRODUCTS and refactoring command
and target dependencies.
As a bonus this change now allows build to work from source tarball if
the tarball includes git-describe.h. 
							
						 
						
							2018-07-13 15:23:54 +03:00  
				
					
						
							
							
								 
						
							
							
								fad9d58ac6 
								
							
								 
							
						 
						
							
							
								
								Keep git-describe.h in source tree  
							
							... 
							
							
							
							Temporary file goes to binary directory to avoid race between
simultanous builts. 
							
						 
						
							2018-07-13 15:16:04 +03:00  
				
					
						
							
							
								 
						
							
							
								68d1dfa0da 
								
							
								 
							
						 
						
							
							
								
								Keep make output short  
							
							... 
							
							
							
							Without custom comment add_custom_command would list all target files. 
							
						 
						
							2018-07-13 15:15:42 +03:00  
				
					
						
							
							
								 
						
							
							
								3f34ea196b 
								
							
								 
							
						 
						
							
							
								
								Fix build not to delete git-describe.h  
							
							... 
							
							
							
							make doesn't keep primary output file if secundary is missing.
always_rebuild must be primary output to make the phony command work
correctly. 
							
						 
						
							2018-07-13 15:15:42 +03:00  
				
					
						
							
							
								 
						
							
							
								2956e654d4 
								
							
								 
							
						 
						
							
							
								
								Add dependency from codegen.pl to df/*.h  
							
							
							
						 
						
							2018-07-13 15:15:42 +03:00  
				
					
						
							
							
								 
						
							
							
								5154370402 
								
							
								 
							
						 
						
							
							
								
								Add full paths to codegen.pl error messages  
							
							... 
							
							
							
							I noticed that relative paths were not correctly guessed by vim. I
decided to fix the paths to allow me quickly to jump to error line in
xml. 
							
						 
						
							2018-07-13 15:15:42 +03:00  
				
					
						
							
							
								 
						
							
							
								b3b23e8278 
								
							
								 
							
						 
						
							
							
								
								Add dependency from git-describe.h to DFHackVersion.cpp  
							
							... 
							
							
							
							Using add_custom_command allows cmake to track dependency from command
to git-describe.h that is implicit dependency of DFHackVersion.cpp.
The change also fixes issues if there is multiple build directories and
git-describe.h missing but git-dsecribe.h.tmp is present. 
							
						 
						
							2018-07-13 15:15:39 +03:00  
				
					
						
							
							
								 
						
							
							
								9ee368d456 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'suokko/MapCache_reduce_latency_from_designation_to_jobs' into develop  
							
							
							
						 
						
							2018-07-11 11:51:24 -04:00  
				
					
						
							
							
								 
						
							
							
								7afa3690bf 
								
							
								 
							
						 
						
							
							
								
								Add support for DFHACK_BUILD_ID  
							
							... 
							
							
							
							Used for BuildMaster builds, for example 
							
						 
						
							2018-07-11 11:47:55 -04:00  
				
					
						
							
							
								 
						
							
							
								2d8be8f4ad 
								
							
								 
							
						 
						
							
							
								
								Update xml (dlsym vtables,  dfhack/df-structures#282 )  
							
							
							
						 
						
							2018-07-10 13:01:54 -04:00  
				
					
						
							
							
								 
						
							
							
								fa8c6724f6 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'suokko/dlsym_libgraphics' into develop  
							
							
							
						 
						
							2018-07-10 12:25:11 -04:00  
				
					
						
							
							
								 
						
							
							
								dd3c04eb26 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'suokko/windows_crash_after_die' into develop  
							
							
							
						 
						
							2018-07-10 11:57:10 -04:00  
				
					
						
							
							
								 
						
							
							
								06511340ab 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'BenLubar/proto-docs' into develop  
							
							
							
						 
						
							2018-07-10 11:26:31 -04:00  
				
					
						
							
							
								 
						
							
							
								7d92d3f48f 
								
							
								 
							
						 
						
							
							
								
								Fix the class vs struct warning  
							
							
							
						 
						
							2018-07-10 18:24:34 +03:00  
				
					
						
							
							
								 
						
							
							
								5eea7198a9 
								
							
								 
							
						 
						
							
							
								
								Make Core::~Core safe to call after die  
							
							... 
							
							
							
							Fixes  #1356  
						
							2018-07-10 18:24:34 +03:00  
				
					
						
							
							
								 
						
							
							
								4a842810d5 
								
							
								 
							
						 
						
							
							
								
								Update xml, changelog  
							
							
							
						 
						
							2018-07-10 11:24:26 -04:00  
				
					
						
							
							
								 
						
							
							
								ce6af3d649 
								
							
								 
							
						 
						
							
							
								
								Use c++ standard std::_Exit instead of _exit  
							
							... 
							
							
							
							_exit seems to run dll unloading code which calls static destructors.
Standrd requires std::_Exit not to call destructors which makes using it
attractive in case MSVC actually follows the standard. 
							
						 
						
							2018-07-10 18:21:09 +03:00  
				
					
						
							
							
								 
						
							
							
								96c9b8b864 
								
							
								 
							
						 
						
							
							
								
								Add windows emulation for RTLD_DEFAULT  
							
							... 
							
							
							
							I'm not sure if calling GetModuleHandle in static construction is safe.
But I assumme it is and works correctly.
There is still potential issue that documentation can be understood
meaning that the HMODULE will resolve only symbols from exe while
RTLD_DEFAULT resolves all global symbols. 
							
						 
						
							2018-07-10 17:10:30 +03:00  
				
					
						
							
							
								 
						
							
							
								ca5c11603f 
								
							
								 
							
						 
						
							
							
								
								Support dlsym loading from libgraphics vtables  
							
							
							
						 
						
							2018-07-10 17:08:23 +03:00  
				
					
						
							
							
								 
						
							
							
								2dac3c53c7 
								
							
								 
							
						 
						
							
							
								
								Add stress cutoffs to Units module, fix dwarfmonitor/manipulator  
							
							... 
							
							
							
							Fixes  #1292  
						
							2018-07-09 15:59:12 -04:00  
				
					
						
							
							
								 
						
							
							
								46e53fc3b3 
								
							
								 
							
						 
						
							
							
								
								Make df2console only call df2utf if the output stream is a console  
							
							... 
							
							
							
							Fixes output in command-prompt, for example 
							
						 
						
							2018-07-09 11:00:28 -04:00  
				
					
						
							
							
								 
						
							
							
								7fcc6be6f6 
								
							
								 
							
						 
						
							
							
								
								Update xml, changelog  
							
							
							
						 
						
							2018-07-09 10:46:19 -04:00  
				
					
						
							
							
								 
						
							
							
								ab179bbf42 
								
							
								 
							
						 
						
							
							
								
								Fix crash when editing lines that are exactly console width  
							
							... 
							
							
							
							plen+cooked_cursor==cols => begin = -1 which is passed to substr. The
sign is incorrect as code should be removing a character from begin
instead of trying to add a character. 
							
						 
						
							2018-07-09 16:12:39 +03:00  
				
					
						
							
							
								 
						
							
							
								e96c6f07ce 
								
							
								 
							
						 
						
							
							
								
								fixes from comments  
							
							
							
						 
						
							2018-07-08 15:53:26 -07:00  
				
					
						
							
							
								 
						
							
							
								68770ecbf2 
								
							
								 
							
						 
						
							
							
								
								Use std::call_once to ensure thread safety and a single call to initialize the SDL pointers  
							
							
							
						 
						
							2018-07-08 12:52:06 -07:00  
				
					
						
							
							
								 
						
							
							
								5d16e5a74c 
								
							
								 
							
						 
						
							
							
								
								Bump to 0.44.12-alpha1  
							
							
							
						 
						
							2018-07-08 14:26:57 -04:00  
				
					
						
							
							
								 
						
							
							
								480907259c 
								
							
								 
							
						 
						
							
							
								
								Rename ui_sidebar_menus.command_line field  
							
							... 
							
							
							
							Ref dfhack/df-structures#277  
							
						 
						
							2018-07-07 23:51:20 -04:00  
				
					
						
							
							
								 
						
							
							
								03b01048d7 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'BenLubar/linked-list' into develop  
							
							
							
						 
						
							2018-07-07 23:49:53 -04:00  
				
					
						
							
							
								 
						
							
							
								037e7e4901 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'suokko/spotclean_ui_state_fix_1194' into develop  
							
							... 
							
							
							
							Moved/adjusted changelog entry 
							
						 
						
							2018-07-07 18:08:53 -04:00  
				
					
						
							
							
								 
						
							
							
								dec61b89be 
								
							
								 
							
						 
						
							
							
								
								Fix windows ReadConsoleInput return value check  
							
							... 
							
							
							
							I messed up the check. I forgot that windows commonly has opposite
return values to posix and failed to check it from documentation.
Fixes 1345 
							
						 
						
							2018-07-08 00:50:43 +03:00  
				
					
						
							
							
								 
						
							
							
								aa76b92662 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'suokko/main_thread_ownership_for_df_ai' into develop  
							
							
							
						 
						
							2018-07-06 16:37:06 -04:00  
				
					
						
							
							
								 
						
							
							
								c006df561e 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'suokko/lua_printall_recurse' into develop  
							
							
							
						 
						
							2018-07-06 14:25:35 -04:00  
				
					
						
							
							
								 
						
							
							
								be9affc8fb 
								
							
								 
							
						 
						
							
							
								
								Update xml, changelog  
							
							
							
						 
						
							2018-07-06 14:22:46 -04:00  
				
					
						
							
							
								 
						
							
							
								dc6fd8d35c 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'suokko/stl_printf_remove_extra_null' into develop  
							
							
							
						 
						
							2018-07-06 11:09:39 -04:00  
				
					
						
							
							
								 
						
							
							
								54cf8b7dc3 
								
							
								 
							
						 
						
							
							
								
								Fix getVisibleName for units with identities  
							
							... 
							
							
							
							As of 0.44.11 (possibly 0.44.01), identity names take precedence over the
associated histfig names. Tested with:
https://drive.google.com/file/d/1bX5CQMqNsb_mjJOEOS4wBm4mGDLLs_cZ/view  (#1279 )
http://dffd.bay12games.com/file.php?id=13428  (from http://www.bay12games.com/dwarves/mantisbt/view.php?id=10530 )
Fixes  #1279  
							
						 
						
							2018-07-06 11:06:04 -04:00  
				
					
						
							
							
								 
						
							
							
								3b6a0738a0 
								
									
								
							
								 
							
						 
						
							
							
								
								Add check-rpc.py for Travis.  
							
							
							
						 
						
							2018-07-04 15:32:06 -05:00  
				
					
						
							
							
								 
						
							
							
								d1a3f1a738 
								
							
								 
							
						 
						
							
							
								
								Allow canceling lineedit with ctrl+c  
							
							
							
						 
						
							2018-07-04 15:21:25 +03:00  
				
					
						
							
							
								 
						
							
							
								a550e112c3 
								
							
								 
							
						 
						
							
							
								
								Allow temporary transfer of main logic thread ownership  
							
							... 
							
							
							
							Dependency to fix df-ai to work with the new CoreSuspender 
							
						 
						
							2018-07-04 00:02:03 +03:00  
				
					
						
							
							
								 
						
							
							
								dabe04cbf1 
								
									
								
							
								 
							
						 
						
							
							
								
								Rename bind argument proto -> plugin to avoid confusion.  
							
							
							
						 
						
							2018-07-03 16:00:48 -05:00  
				
					
						
							
							
								 
						
							
							
								320e94a1eb 
								
							
								 
							
						 
						
							
							
								
								Avoid locking CoreSuspender second time in main thread  
							
							
							
						 
						
							2018-07-04 00:00:06 +03:00  
				
					
						
							
							
								 
						
							
							
								6839fde555 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove execute permission on files that are not executables.  
							
							
							
						 
						
							2018-07-03 15:37:16 -05:00  
				
					
						
							
							
								 
						
							
							
								8a3a05de24 
								
							
								 
							
						 
						
							
							
								
								Allow unloading plugins that use std::regex  
							
							
							
						 
						
							2018-07-03 15:23:46 +03:00  
				
					
						
							
							
								 
						
							
							
								ee999ccbdf 
								
							
								 
							
						 
						
							
							
								
								Implement runtime debug print filtering  
							
							... 
							
							
							
							The runtime debug print filtering support dynamic debug print selection.
Tis patch only implements basic core support for filtering. The commands
to change the runtime filtering settings will be added in a following
patch.
But even with only this one can change filtering settings by editing
memory using a debugger. It can even be automated by using gdb break
point commands. 
							
						 
						
							2018-07-03 15:23:46 +03:00  
				
					
						
							
							
								 
						
							
							
								616675f0ce 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'suokko/kittens_data_race_fix' into develop  
							
							
							
						 
						
							2018-07-03 00:30:36 -04:00  
				
					
						
							
							
								 
						
							
							
								c449041c11 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'suokko/lua_List_setChoices_internal_table_1171' into develop  
							
							
							
						 
						
							2018-07-03 00:27:22 -04:00  
				
					
						
							
							
								 
						
							
							
								c543a17250 
								
							
								 
							
						 
						
							
							
								
								Improve RPC port handling  
							
							... 
							
							
							
							- Use port from remote-server.json in dfhack-run
- Make DFHACK_RUN environment variable take priority over remote-server.json
- Log current port to stderr 
							
						 
						
							2018-07-02 23:53:56 -04:00  
				
					
						
							
							
								 
						
							
							
								81a7ddcf92 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'suokko/screen_show_memory_leak' into develop  
							
							
							
						 
						
							2018-07-02 22:58:11 -04:00  
				
					
						
							
							
								 
						
							
							
								f0ff96f614 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'suokko/multibyte_console' into develop  
							
							
							
						 
						
							2018-07-02 10:55:03 -04:00  
				
					
						
							
							
								 
						
							
							
								b5eb541fd3 
								
									
								
							
								 
							
						 
						
							
							
								
								Handle pointers back to the list link.  
							
							
							
						 
						
							2018-06-30 23:04:27 -05:00  
				
					
						
							
							
								 
						
							
							
								1606483e7e 
								
									
								
							
								 
							
						 
						
							
							
								
								perf improvement for DfLinkedList::end(), erase/insert/insert_after/push_front implementations  
							
							
							
						 
						
							2018-06-30 23:04:26 -05:00  
				
					
						
							
							
								 
						
							
							
								0b9d46712f 
								
									
								
							
								 
							
						 
						
							
							
								
								Run DfLinkedList::end's computations only when needed.  
							
							
							
						 
						
							2018-06-30 23:04:26 -05:00  
				
					
						
							
							
								 
						
							
							
								31d22967f8 
								
									
								
							
								 
							
						 
						
							
							
								
								Linked list  
							
							
							
						 
						
							2018-06-30 23:04:26 -05:00  
				
					
						
							
							
								 
						
							
							
								ba1d3fcb6a 
								
							
								 
							
						 
						
							
							
								
								Add dfhack.printall_recurse to quickly print df containers  
							
							... 
							
							
							
							I often want to see multiple items quickly when trying to figure out
what states actually matter to an issue that I debug. I decided to make
it easier to quickly dump df structures with substructures and
containers. It will generate large amount of data which can be sometimes
slow to process manually. But processing can be automated using
dfhack-run lua ^<df data to inspect> and pipe to other tools (eg grep,
sed, perl, sort, uniq etc) 
							
						 
						
							2018-06-30 22:31:49 +03:00  
				
					
						
							
							
								 
						
							
							
								645ec0d591 
								
							
								 
							
						 
						
							
							
								
								Improve kittens thread safety and shutdown with core  
							
							... 
							
							
							
							The bools could use acquire&release memory order or even relaxed but I
didn't think code was worth auditing for such low level optimizations.
Sequantial consistent is fast enough but much harder to use incorrectly.
The timeLast is protected by CoreSuspender lock. plugin_update is only
called when CoreSuspender lock is held.
The last_menu is protected by trackmenu_flg loads and stores. 
							
						 
						
							2018-06-30 21:53:12 +03:00  
				
					
						
							
							
								 
						
							
							
								0727403ac1 
								
							
								 
							
						 
						
							
							
								
								Fix devel plugins linking in linux  
							
							
							
						 
						
							2018-06-30 21:12:42 +03:00  
				
					
						
							
							
								 
						
							
							
								7a2245c2fa 
								
							
								 
							
						 
						
							
							
								
								Remove null byte from string length  
							
							... 
							
							
							
							I noticed an extra null when trying to grep dfhack.run ls output.
std::string manages null byte at end(). Pre C++11 didn't require null
termination for std::string but C++11 add the null termination to make
c_str() and data() truely const. It is undefined behavior to modify the
internal null termination but this modification sets the null to null. 
							
						 
						
							2018-06-30 12:51:38 +03:00  
				
					
						
							
							
								 
						
							
							
								1a4440859c 
								
							
								 
							
						 
						
							
							
								
								Update xml (viewscreen_civlistst)  
							
							
							
						 
						
							2018-06-29 22:33:15 -04:00  
				
					
						
							
							
								 
						
							
							
								105ddd86d8 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'suokko/jsoncpp_upgrade_to_submodule' into develop  
							
							
							
						 
						
							2018-06-29 22:33:00 -04:00  
				
					
						
							
							
								 
						
							
							
								c39a882b57 
								
							
								 
							
						 
						
							
							
								
								Add missing Unit::isDiplomat  
							
							... 
							
							
							
							Fixes  #1324  
						
							2018-06-29 16:19:18 +03:00  
				
					
						
							
							
								 
						
							
							
								3c2bfb6f47 
								
							
								 
							
						 
						
							
							
								
								Bump to 0.44.11-alpha1, update changelog, xml  
							
							
							
						 
						
							2018-06-28 13:31:56 -04:00  
				
					
						
							
							
								 
						
							
							
								f9dfb5907b 
								
							
								 
							
						 
						
							
							
								
								Update submodules, authors  
							
							
							
						 
						
							2018-06-27 13:57:34 -04:00  
				
					
						
							
							
								 
						
							
							
								19627b9221 
								
							
								 
							
						 
						
							
							
								
								Bump to 0.44.11  
							
							
							
						 
						
							2018-06-24 17:42:31 -04:00  
				
					
						
							
							
								 
						
							
							
								20bd03ab6d 
								
							
								 
							
						 
						
							
							
								
								Reset dsgn_check_cooldown in Block::write  
							
							... 
							
							
							
							To make sure that DF generates jobjs from desgination as soon as
possible the dsgn_check_cooldown should be reset when designations
change. 
							
						 
						
							2018-06-24 17:06:32 +03:00  
				
					
						
							
							
								 
						
							
							
								123de7fdf7 
								
							
								 
							
						 
						
							
							
								
								Use constexpr to prevent attempts of linking static variable  
							
							
							
						 
						
							2018-06-24 17:06:32 +03:00  
				
					
						
							
							
								 
						
							
							
								f6b0ac7819 
								
							
								 
							
						 
						
							
							
								
								Refactor CoreSuspender to fix Console::lineedit exit hangs  
							
							... 
							
							
							
							The old CoreSuspender requires processing from Core::Update to allow
commands execute. But that causes issues if Core::Shutdown wants
quarentee cleanup order with std:🧵 :join. Fixing shutdown ordering
adds too many branches to already fairly complex code.
I decided to try to refactor CoreSuspender to use simpler locking
locking using a std::recusive_muted as primary synchronization
primitive.
To help control when Core::Update unlocks the primary mutex there is
std::contition_variable_any and std::atomic<size_t> queue lenght
counter.
The last state variable is std::atomic<std:🧵 :id> that is used to
keep track of owner thread for Core::IsSuspended query.
This should be merged only just after a release to make sure that it
gets maximum testing in develop branch before next release.
Fixes  #1066  
							
						 
						
							2018-06-22 17:57:37 +03:00  
				
					
						
							
							
								 
						
							
							
								0bc1db4f07 
								
							
								 
							
						 
						
							
							
								
								Make sure hotkeythread exits before cleanup  
							
							
							
						 
						
							2018-06-22 17:57:37 +03:00  
				
					
						
							
							
								 
						
							
							
								1fc37f8ddc 
								
							
								 
							
						 
						
							
							
								
								Checke Console::lineedit error return values  
							
							... 
							
							
							
							Console::lineedit can return -1 to indicate input error and -2 to
indicate the program is closing. But most users don't check possible
unusual return values which can lead to exit hang. 
							
						 
						
							2018-06-22 17:57:37 +03:00  
				
					
						
							
							
								 
						
							
							
								84f8a75a2e 
								
							
								 
							
						 
						
							
							
								
								Add cuchar fallback implementation for gcc 4 and 5  
							
							
							
						 
						
							2018-06-22 17:57:37 +03:00  
				
					
						
							
							
								 
						
							
							
								820b787cd0 
								
							
								 
							
						 
						
							
							
								
								Add multibyte character handling to posix console  
							
							... 
							
							
							
							I noticed that multibyte characters can mess up the console state
variables. I decided to add a minimal multibyte support to make sure the
input only collects complete valid multibyte characters in case user
enters them to console.
This change assumes that UTF-32 has one to one mapping between printed
characters and char32 indexes. But I remember reading there is a few
rare corner cases with accents where character might require multiple
4byte characters too. But this patch at least changes correct handling
from about 100 characters to 99% of unicode characters. 
							
						 
						
							2018-06-22 17:57:37 +03:00  
				
					
						
							
							
								 
						
							
							
								1acb60daa2 
								
							
								 
							
						 
						
							
							
								
								Prevent data races during console/init thread shutdown  
							
							... 
							
							
							
							There is a minor chance that console or init thread would access already
freed memory when core is shutting down and cleaning up state. To avoid
any danger of having random bugs caused by the potential data race I
decided to make sure the shutdown code waits for the thread to exit
first.
Windows change is completely untested. It is purely based on msdn
documentation. 
							
						 
						
							2018-06-22 17:57:37 +03:00  
				
					
						
							
							
								 
						
							
							
								19a169ba65 
								
							
								 
							
						 
						
							
							
								
								Convert Core.cpp to use c++11 thread  
							
							... 
							
							
							
							I noticed that tthread is missing some c++11 features that make thread
handling code a bit easier. To be able to use those features I decided
to convert Core.cpp to use equivalent standard classes.
This patch has no functional changes. 
							
						 
						
							2018-06-22 17:57:37 +03:00  
				
					
						
							
							
								 
						
							
							
								b7871c7368 
								
							
								 
							
						 
						
							
							
								
								Console-posix: Use lowest possible nfds parameter to the select call  
							
							
							
						 
						
							2018-06-22 17:57:37 +03:00  
				
					
						
							
							
								 
						
							
							
								854f467f56 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'suokko/check_jobs_on_mapcache_commit_1229' into develop  
							
							
							
						 
						
							2018-06-21 15:03:51 -04:00  
				
					
						
							
							
								 
						
							
							
								7a5e7c7c86 
								
							
								 
							
						 
						
							
							
								
								Rename unit_flags1.dead to killed, update submodules/changelog  
							
							... 
							
							
							
							Follow-up for dfhack/df-structures#247  
							
						 
						
							2018-06-21 11:17:09 -04:00  
				
					
						
							
							
								 
						
							
							
								1deb6ab024 
								
							
								 
							
						 
						
							
							
								
								Update xml  
							
							
							
						 
						
							2018-06-20 16:19:00 -04:00  
				
					
						
							
							
								 
						
							
							
								7fda8506f0 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'suokko/cmake_option_to_enable_all_symbols' into develop  
							
							
							
						 
						
							2018-06-20 16:16:03 -04:00  
				
					
						
							
							
								 
						
							
							
								9b6781f0f2 
								
							
								 
							
						 
						
							
							
								
								Temporary lower command-prompt when executing the command  
							
							... 
							
							
							
							command-prompt viewscreen may affect command execution if they are
looking for UI state. To make commands execute simillary to hotkeys or
console commands the viewscreen needs to removed from the top position.
Fixes  #1194  
							
						 
						
							2018-06-20 21:51:45 +03:00  
				
					
						
							
							
								 
						
							
							
								6077a8ce4c 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'suokko/printf_warnings' into develop  
							
							
							
						 
						
							2018-06-20 11:25:14 -04:00  
				
					
						
							
							
								 
						
							
							
								2f1d3c68c6 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'suokko/stl_vsnprintf' into develop  
							
							
							
						 
						
							2018-06-20 11:23:57 -04:00  
				
					
						
							
							
								 
						
							
							
								b9df6fae85 
								
							
								 
							
						 
						
							
							
								
								Update xml, authors  
							
							
							
						 
						
							2018-06-20 10:51:24 -04:00  
				
					
						
							
							
								 
						
							
							
								98b25e3462 
								
							
								 
							
						 
						
							
							
								
								Allow calling List:setChoices() to clear choices  
							
							
							
						 
						
							2018-06-20 17:46:24 +03:00  
				
					
						
							
							
								 
						
							
							
								ed23d2c4e2 
								
							
								 
							
						 
						
							
							
								
								Change gui.widgets.List:setChoices to keep state in internal table  
							
							... 
							
							
							
							Fixes  #1171  
						
							2018-06-20 17:23:57 +03:00  
				
					
						
							
							
								 
						
							
							
								9c59b7ff48 
								
							
								 
							
						 
						
							
							
								
								Fix unlikely memory leaks if Screen::show fails  
							
							... 
							
							
							
							The Screen::show takes ownership of the screen pointer. I decided to
switch the parameter to std::unique_ptr to make the pointer ownership
explicit. The unique_ptr then provides automatic screen destruction in
Screen::show unless pointer is inserted or is already in the linked list
that is managed by df. 
							
						 
						
							2018-06-19 16:41:31 +03:00  
				
					
						
							
							
								 
						
							
							
								87e7c0f7aa 
								
							
								 
							
						 
						
							
							
								
								Add cmake configuration to select if stubs include symbols  
							
							... 
							
							
							
							G++ generates structure debug symbols for a few df namespace classes to
generated stub source files. I decided to test how much symbols from
those files would increase binary size. When the result was about double
size I decided to add cmake configuration option to let user easily
select if they prefer complete symbols or reduced size. 
							
						 
						
							2018-06-19 16:16:38 +03:00