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  
				
					
						
							
							
								 
						
							
							
								bcf9387ce9 
								
							
								 
							
						 
						
							
							
								
								Only remove jobs that were created from a designation  
							
							
							
						 
						
							2018-06-18 19:57:00 +03:00  
				
					
						
							
							
								 
						
							
							
								1b5ec7ce69 
								
							
								 
							
						 
						
							
							
								
								Update jobs when committing MapCache changes  
							
							... 
							
							
							
							The map_block->designation.{dig,smooth} are reset to zeros when a job
posting is created for the designation. The job is then used to override
the designation state in the map_block. To make the new designation set
propogate to jobs the job structure would require updating. The update
would be possible a complex operation. The simple alternative is to
remove the job and let df create a new job in the next tick.
Fixes  #1229  
							
						 
						
							2018-06-18 16:34:09 +03:00  
				
					
						
							
							
								 
						
							
							
								6a151353e3 
								
							
								 
							
						 
						
							
							
								
								Use automatic return type for index_tile  
							
							
							
						 
						
							2018-06-18 16:23:57 +03:00  
				
					
						
							
							
								 
						
							
							
								0bc2b3ab1b 
								
							
								 
							
						 
						
							
							
								
								Update toSimpleString to use a the new builder API  
							
							
							
						 
						
							2018-06-14 21:20:54 +03:00  
				
					
						
							
							
								 
						
							
							
								2b79b4cce7 
								
							
								 
							
						 
						
							
							
								
								Use jsoncpp 1.8.4 as a submodule  
							
							... 
							
							
							
							This makes jsoncpp a submodule that can be build directly from git
sources. This changes depends/jsoncpp to depends/jsoncpp-sub to avoid
filename conflict if someone tries to use git bisect.
jsoncpp library name changes to jsoncpp_lib_static.
jsoncpp version is the latest tagged release. 
							
						 
						
							2018-06-14 21:20:46 +03:00  
				
					
						
							
							
								 
						
							
							
								aac892c560 
								
							
								 
							
						 
						
							
							
								
								Adapted to changed Units functions  
							
							... 
							
							
							
							Squashed version of #1307 
Closes  #1307  
							
						 
						
							2018-06-14 10:30:35 -04:00  
				
					
						
							
							
								 
						
							
							
								4cfdd7d92e 
								
							
								 
							
						 
						
							
							
								
								Check if second vsnprintf does something unexpected  
							
							
							
						 
						
							2018-06-13 23:33:13 +03:00  
				
					
						
							
							
								 
						
							
							
								10e6016989 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'units_dead' into develop  
							
							... 
							
							
							
							Closes  #1297  
						
							2018-06-13 15:38:35 -04:00  
				
					
						
							
							
								 
						
							
							
								51584c2d9e 
								
							
								 
							
						 
						
							
							
								
								Corrected isGhost  
							
							
							
						 
						
							2018-06-13 15:37:45 -04:00  
				
					
						
							
							
								 
						
							
							
								f329774059 
								
							
								 
							
						 
						
							
							
								
								dead & killed flag separation  
							
							... 
							
							
							
							squashed 4 commits from #1297  
							
						 
						
							2018-06-13 15:37:45 -04:00  
				
					
						
							
							
								 
						
							
							
								8f2cf3ad26 
								
							
								 
							
						 
						
							
							
								
								Fix printf format warnings  
							
							
							
						 
						
							2018-06-11 19:57:06 +03:00  
				
					
						
							
							
								 
						
							
							
								8484b5dc8a 
								
							
								 
							
						 
						
							
							
								
								Add parameter type checks to printf style functions  
							
							... 
							
							
							
							gcc supports type checks for printf parameters which can catch some hard
to reproduce bugs. Possible bugs happen when the parameter value is
intepreted differently to the variable value.
Example warnings follow
../library/LuaWrapper.cpp:1011:86: warning: format ‘%llu’ expects argument
    of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t
    {aka long unsigned int}’ [-Wformat=]
../plugins/follow.cpp:159:35: warning: format not a string literal and no
    format arguments [-Wformat-security] 
							
						 
						
							2018-06-11 19:27:35 +03:00  
				
					
						
							
							
								 
						
							
							
								82e7b8300a 
								
							
								 
							
						 
						
							
							
								
								Make stl_vsprintf return if there is an vsnprintf error  
							
							... 
							
							
							
							vsnprintf man page claims:
"If an output error is encountered, a negative value is returned."
That means we has to call vsnprintf twice at most to have whole output
written to a string. But in case of error we return an empty string.
The code also optimizes an expected common case of outputting single
line with a small stack allocated buffer. If the stack buffer is too
small then it uses std::string::resize to allocate exactly enough memory
and writes directly to std::string.
Second call could use vsprintf because memory is known to be large
enough. But I think that difference isn't detectable outside micro
benchmarks. 
							
						 
						
							2018-06-10 16:23:31 +03:00  
				
					
						
							
							
								 
						
							
							
								fe458d3ac1 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'grubsteak/patch-2' into develop  
							
							
							
						 
						
							2018-06-08 22:05:20 -04:00  
				
					
						
							
							
								 
						
							
							
								1fe6c3b880 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'suokko/profiler' into develop  
							
							... 
							
							
							
							Closes  #1296  
						
							2018-06-08 22:01:21 -04:00  
				
					
						
							
							
								 
						
							
							
								e3df5cd765 
								
							
								 
							
						 
						
							
							
								
								Port profiler to lua 5.3 and dfhack  
							
							... 
							
							
							
							Changes include
* table.getn(obj) -> #obj
* Making sure string.rep gets an integer parameter
* Optimized profiling hooks (call profiler cost from factor 40 to 10)
* Specialized parameter name lookup code for c++ __index metamod calls
* Collect source lines in time sampling variant
* Simplified prevent to always filter all children 
							
						 
						
							2018-06-06 19:18:18 +03:00  
				
					
						
							
							
								 
						
							
							
								96ba5116f7 
								
							
								 
							
						 
						
							
							
								
								Add lua Pepperfish Profiler code  
							
							... 
							
							
							
							Pepperfish Profiler can produce time sampled profiles and call entry
exit profiles. Code is verbatim copy from the lua wiki [1]. This commit
won't work alone but it exists to give author credit correctly to
Daniel.
[1] http://lua-users.org/wiki/PepperfishProfiler 
Authors:
Daniel Silverstone <dsilvers@pepperfish.net>
Tom Spilman <tom@sickheadgames.com>
Ben Wilhelm <zorba-pepperfish@pavlovian.net> 
							
						 
						
							2018-06-06 17:27:40 +03:00  
				
					
						
							
							
								 
						
							
							
								03968db344 
								
							
								 
							
						 
						
							
							
								
								Fix GCC warnings in 'tweak kitchen-prefs-all' and dev plugins  
							
							
							
						 
						
							2018-06-01 10:02:38 -04:00  
				
					
						
							
							
								 
						
							
							
								7a04fefb0b 
								
							
								 
							
						 
						
							
							
								
								Remove Vermin module (unused and obsolete)  
							
							
							
						 
						
							2018-06-01 00:22:10 -04:00  
				
					
						
							
							
								 
						
							
							
								eb199d97b5 
								
							
								 
							
						 
						
							
							
								
								Prepend script name to qerror messages, if applicable  
							
							... 
							
							
							
							Resolves  #1282  
						
							2018-05-20 09:30:46 -04:00  
				
					
						
							
							
								 
						
							
							
								7e3c8c9965 
								
									
								
							
								 
							
						 
						
							
							
								
								added fast keys for workshop gui overlay  
							
							
							
						 
						
							2018-05-19 20:25:24 -05:00  
				
					
						
							
							
								 
						
							
							
								badc0e3a3d 
								
							
								 
							
						 
						
							
							
								
								Update changelog, submodules for r1  
							
							
							
						 
						
							2018-05-18 14:30:09 -04:00  
				
					
						
							
							
								 
						
							
							
								9ca79d050d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1259  from AtomicChicken/syndrome-util-updates  
							
							... 
							
							
							
							syndrome-util: added function to remove syndrome wound data 
							
						 
						
							2018-05-18 14:10:14 -04:00  
				
					
						
							
							
								 
						
							
							
								e44bca0fb4 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'grubsteak/patch-1' into develop  
							
							
							
						 
						
							2018-05-18 00:48:04 -04:00  
				
					
						
							
							
								 
						
							
							
								fe0049db8c 
								
									
								
							
								 
							
						 
						
							
							
								
								enable lua api construction functions  
							
							... 
							
							
							
							it seems this has been left out on accident? 
							
						 
						
							2018-05-17 23:29:10 -05:00  
				
					
						
							
							
								 
						
							
							
								50a863a48e 
								
							
								 
							
						 
						
							
							
								
								Fix Kitchen.h include (case-sensitive)  
							
							
							
						 
						
							2018-05-17 20:11:46 -04:00  
				
					
						
							
							
								 
						
							
							
								17ba492992 
								
							
								 
							
						 
						
							
							
								
								Add some exclusion functions to Kitchen module, expose to Lua, fix build  
							
							
							
						 
						
							2018-05-17 19:34:03 -04:00  
				
					
						
							
							
								 
						
							
							
								97a79893e7 
								
							
								 
							
						 
						
							
							
								
								Change Kitchen.{h,cpp} to title case  
							
							
							
						 
						
							2018-05-17 11:08:13 -04:00  
				
					
						
							
							
								 
						
							
							
								fcd8c9606e 
								
							
								 
							
						 
						
							
							
								
								Fix some warnings on OS X  
							
							
							
						 
						
							2018-05-12 18:46:58 -04:00  
				
					
						
							
							
								 
						
							
							
								e9ec08f419 
								
							
								 
							
						 
						
							
							
								
								Add Buildings::getRoomDescription(), moved from search plugin, +cleanup  
							
							
							
						 
						
							2018-05-12 17:00:21 -04:00  
				
					
						
							
							
								 
						
							
							
								c15571caa0 
								
							
								 
							
						 
						
							
							
								
								Move isRouteVehicle, isSquadEquipment from workflow to Items module  
							
							
							
						 
						
							2018-05-12 14:49:30 -04:00  
				
					
						
							
							
								 
						
							
							
								a34b34d3cb 
								
							
								 
							
						 
						
							
							
								
								Move a few item functions from autotrade/stocks into DFHack::Items  
							
							
							
						 
						
							2018-05-12 12:04:46 -04:00  
				
					
						
							
							
								 
						
							
							
								759df34fce 
								
							
								 
							
						 
						
							
							
								
								fix potential segfault  
							
							
							
						 
						
							2018-05-11 17:51:32 +02:00  
				
					
						
							
							
								 
						
							
							
								ceaa518be9 
								
							
								 
							
						 
						
							
							
								
								Fix a potential segfault in getAnyUnit  
							
							... 
							
							
							
							See #1218  
							
						 
						
							2018-05-11 10:04:10 -04:00  
				
					
						
							
							
								 
						
							
							
								10abece564 
								
							
								 
							
						 
						
							
							
								
								Fix duplicate condition in Gui::getAnyUnit()  
							
							
							
						 
						
							2018-05-11 09:58:40 -04:00  
				
					
						
							
							
								 
						
							
							
								272cdcb2b5 
								
							
								 
							
						 
						
							
							
								
								Add function names to NullPointer and InvalidArgument exceptions  
							
							
							
						 
						
							2018-05-11 09:49:27 -04:00  
				
					
						
							
							
								 
						
							
							
								2a52582c1f 
								
							
								 
							
						 
						
							
							
								
								Add Gui::inRenameBuilding  
							
							
							
						 
						
							2018-05-09 10:23:05 -04:00  
				
					
						
							
							
								 
						
							
							
								4fe55639be 
								
							
								 
							
						 
						
							
							
								
								Update version/submodules to 0.44.10-alpha1  
							
							
							
						 
						
							2018-05-07 00:25:21 -04:00  
				
					
						
							
							
								 
						
							
							
								f4088dbd28 
								
							
								 
							
						 
						
							
							
								
								Update xml, scripts  
							
							
							
						 
						
							2018-05-05 16:09:20 -04:00  
				
					
						
							
							
								 
						
							
							
								b266c7322f 
								
							
								 
							
						 
						
							
							
								
								Make fpause pause worldgen  
							
							... 
							
							
							
							Closes  #1256  
						
							2018-05-05 16:08:06 -04:00  
				
					
						
							
							
								 
						
							
							
								c58ffdb922 
								
									
								
							
								 
							
						 
						
							
							
								
								Added function to remove syndrome wound data  
							
							... 
							
							
							
							The presence of syndrome data in unit.syndromes.active generates corresponding wound data in unit.body.wounds. This wound data acts to produce all of the syndrome's actual effects, including but not limited to flag changes, interaction abilities, body transformation and display name alterations. Wound data persists when syndrome data is cleared from unit.syndromes.active. Since syndrome-util did not touch wound data at all, the erase function was completely ineffective at actually removing syndromes.
Note that syndromes also generate a bunch of data in the historical figure information of units. I have observed that this historical data is sufficient to restore the syndrome in a unit following map reload (at least in adventure mode), so its clearance (which needs to also include any corresponding interaction effects) will have to be addressed in a future update. As is, syndrome erasure remains incomplete. 
							
						 
						
							2018-04-20 17:14:03 +02:00  
				
					
						
							
							
								 
						
							
							
								a708b0b303 
								
							
								 
							
						 
						
							
							
								
								Add some includes in DataDefs.h  
							
							
							
						 
						
							2018-04-19 21:11:43 -04:00  
				
					
						
							
							
								 
						
							
							
								2bf9632000 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'origin/develop' into complex-enum  
							
							
							
						 
						
							2018-04-11 10:23:32 -04:00  
				
					
						
							
							
								 
						
							
							
								b0e1ae93ea 
								
							
								 
							
						 
						
							
							
								
								Add next_item, _complex for complex enums  
							
							
							
						 
						
							2018-04-09 19:46:12 -04:00  
				
					
						
							
							
								 
						
							
							
								9398262654 
								
							
								 
							
						 
						
							
							
								
								Make enum attrs work for complex enums (lever_target_type)  
							
							
							
						 
						
							2018-04-09 16:12:03 -04:00  
				
					
						
							
							
								 
						
							
							
								7da8793172 
								
							
								 
							
						 
						
							
							
								
								Set last_item_value properly for complex enums  
							
							
							
						 
						
							2018-04-09 16:11:47 -04:00  
				
					
						
							
							
								 
						
							
							
								c1dd21730d 
								
							
								 
							
						 
						
							
							
								
								Fix complex enum ipairs for first element  
							
							
							
						 
						
							2018-04-09 11:27:02 -04:00  
				
					
						
							
							
								 
						
							
							
								61539bf345 
								
							
								 
							
						 
						
							
							
								
								Lua: implement key lookup and ipairs for complex enums  
							
							
							
						 
						
							2018-04-09 11:04:37 -04:00  
				
					
						
							
							
								 
						
							
							
								ae6b8a16e8 
								
							
								 
							
						 
						
							
							
								
								Handle most complex enum metadata on the C++ side  
							
							
							
						 
						
							2018-04-09 03:00:58 -04:00  
				
					
						
							
							
								 
						
							
							
								51661d7355 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix -Wswitch warning about UNDERWORLD_GATE in MapCache.  
							
							
							
						 
						
							2018-04-05 16:50:04 -05:00  
				
					
						
							
							
								 
						
							
							
								565c1e1260 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix uninitialized pointer being returned from Gui::getAnyUnit when on the pet list with no selection.  
							
							
							
						 
						
							2018-04-05 16:49:30 -05:00  
				
					
						
							
							
								 
						
							
							
								0a2ec30199 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove or comment out unused code.  
							
							
							
						 
						
							2018-04-05 16:48:11 -05:00  
				
					
						
							
							
								 
						
							
							
								2eec5ee78d 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix signed/unsigned comparison warnings in core.  
							
							
							
						 
						
							2018-04-05 16:47:47 -05:00  
				
					
						
							
							
								 
						
							
							
								304e1d45f0 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove unused labels in Console-posix.cpp  
							
							
							
						 
						
							2018-04-05 16:46:59 -05:00  
				
					
						
							
							
								 
						
							
							
								ec5d238e5e 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove warnings in generated code for core protobufs.  
							
							
							
						 
						
							2018-04-05 16:46:04 -05:00  
				
					
						
							
							
								 
						
							
							
								a44b3b8f98 
								
									
								
							
								 
							
						 
						
							
							
								
								Move null pointer check from Job module to LuaApi, where it does not invoke undefined behavior.  
							
							
							
						 
						
							2018-04-05 16:01:26 -05:00  
				
					
						
							
							
								 
						
							
							
								a3d4c586ab 
								
									
								
							
								 
							
						 
						
							
							
								
								Hide "complex enum" warning for dfhack-specific enums.  
							
							
							
						 
						
							2018-04-05 14:48:29 -05:00  
				
					
						
							
							
								 
						
							
							
								9cbba0ae01 
								
									
								
							
								 
							
						 
						
							
							
								
								Hide warnings about non-virtual destructors from df-structures.  
							
							
							
						 
						
							2018-04-05 14:46:28 -05:00  
				
					
						
							
							
								 
						
							
							
								c8089db5df 
								
							
								 
							
						 
						
							
							
								
								Install the correct libstdc++  
							
							
							
						 
						
							2018-04-04 20:01:27 -04:00  
				
					
						
							
							
								 
						
							
							
								5081710900 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'ThiagoLira/develop' into develop  
							
							... 
							
							
							
							Also fixed whitespace from #1251 
Closes  #1186  
							
						 
						
							2018-04-04 17:13:07 -04:00  
				
					
						
							
							
								 
						
							
							
								b7bd88352e 
								
							
								 
							
						 
						
							
							
								
								fixed bug causing gui scripts to fail when sidebar is closed  
							
							
							
						 
						
							2018-04-04 17:42:46 -03:00  
				
					
						
							
							
								 
						
							
							
								1ac896a874 
								
							
								 
							
						 
						
							
							
								
								Stop generate_headers from depending on symbols.xml  
							
							... 
							
							
							
							Changes to just symbols.xml will no longer cause codegen.pl to be re-run 
							
						 
						
							2018-04-04 11:52:18 -04:00  
				
					
						
							
							
								 
						
							
							
								8f3701752d 
								
							
								 
							
						 
						
							
							
								
								Update xml  
							
							
							
						 
						
							2018-04-04 11:36:24 -04:00  
				
					
						
							
							
								 
						
							
							
								3e3571094d 
								
							
								 
							
						 
						
							
							
								
								Update xml (name attrs)  
							
							
							
						 
						
							2018-04-03 16:44:30 -04:00  
				
					
						
							
							
								 
						
							
							
								f6a222751b 
								
							
								 
							
						 
						
							
							
								
								Update xml (osx64 renderer)  
							
							
							
						 
						
							2018-04-03 11:36:06 -04:00  
				
					
						
							
							
								 
						
							
							
								573fcb4bd0 
								
							
								 
							
						 
						
							
							
								
								Bump to 0.44.09-alpha1, update news/submodules  
							
							
							
						 
						
							2018-04-02 01:00:20 -04:00  
				
					
						
							
							
								 
						
							
							
								2c9c935c0e 
								
							
								 
							
						 
						
							
							
								
								Update submodules/news, bump to 0.44.08-alpha1  
							
							
							
						 
						
							2018-03-29 11:38:55 -04:00  
				
					
						
							
							
								 
						
							
							
								93bef3351e 
								
							
								 
							
						 
						
							
							
								
								Update submodules/news, bump to beta1  
							
							
							
						 
						
							2018-03-28 22:01:27 -04:00  
				
					
						
							
							
								 
						
							
							
								6f864f97b3 
								
							
								 
							
						 
						
							
							
								
								Update news, xml  
							
							
							
						 
						
							2018-03-14 10:11:45 -04:00  
				
					
						
							
							
								 
						
							
							
								40654954a1 
								
									
								
							
								 
							
						 
						
							
							
								
								Partial preparation for 0.44.07-alpha1.  
							
							... 
							
							
							
							Still need to write release notes and add tags. 
							
						 
						
							2018-03-13 15:49:42 -05:00  
				
					
						
							
							
								 
						
							
							
								464052fe52 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1237  from warmist/warmist-patch-1  
							
							... 
							
							
							
							Fix parse_inset in gui.lua 
							
						 
						
							2018-03-11 12:11:24 -04:00  
				
					
						
							
							
								 
						
							
							
								25d2938477 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix parse_inset in gui.lua  
							
							... 
							
							
							
							It was used in different order than the return happened. 
							
						 
						
							2018-03-11 12:40:30 +02:00  
				
					
						
							
							
								 
						
							
							
								ad57037711 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'BenLubar/cmp0022-warning' into develop  
							
							
							
						 
						
							2018-03-10 17:02:34 -05:00  
				
					
						
							
							
								 
						
							
							
								d55048dfa1 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'BenLubar/ubuntu-bionic' into develop  
							
							
							
						 
						
							2018-03-10 16:57:07 -05:00  
				
					
						
							
							
								 
						
							
							
								0ccc89a5fe 
								
							
								 
							
						 
						
							
							
								
								Make git-describe.cmake detect changes to itself  
							
							
							
						 
						
							2018-03-10 16:55:20 -05:00  
				
					
						
							
							
								 
						
							
							
								eb22d5c38e 
								
							
								 
							
						 
						
							
							
								
								Add ABI version symbol to plugins  
							
							
							
						 
						
							2018-03-10 16:55:00 -05:00  
				
					
						
							
							
								 
						
							
							
								db95796d4c 
								
							
								 
							
						 
						
							
							
								
								Many build fixes  
							
							
							
						 
						
							2018-03-10 16:53:45 -05:00  
				
					
						
							
							
								 
						
							
							
								f2ff609e1c 
								
							
								 
							
						 
						
							
							
								
								Initial 0.44.06 support, update xml  
							
							
							
						 
						
							2018-03-10 16:18:15 -05:00  
				
					
						
							
							
								 
						
							
							
								7bbfd456d3 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix compile errors on Ubuntu 18.04 Bionic Beaver  
							
							
							
						 
						
							2018-03-08 11:42:58 -06:00  
				
					
						
							
							
								 
						
							
							
								acd4adc7cc 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix CMake warning about CMP0022 policy being set as "OLD".  
							
							
							
						 
						
							2018-03-08 02:28:28 -06:00  
				
					
						
							
							
								 
						
							
							
								0e7ab27850 
								
							
								 
							
						 
						
							
							
								
								Bump to r2, update changelog, update submdules  
							
							
							
						 
						
							2018-02-21 23:07:53 -05:00  
				
					
						
							
							
								 
						
							
							
								988ce9c30d 
								
							
								 
							
						 
						
							
							
								
								Update xml  
							
							
							
						 
						
							2018-02-16 02:19:30 -05:00  
				
					
						
							
							
								 
						
							
							
								8779168c96 
								
							
								 
							
						 
						
							
							
								
								DFHACK_PLUGIN: qualify Plugin  
							
							
							
						 
						
							2018-02-16 02:17:58 -05:00  
				
					
						
							
							
								 
						
							
							
								74bf06c69e 
								
							
								 
							
						 
						
							
							
								
								Do some checks before trying to read json files.  
							
							
							
						 
						
							2018-02-13 20:02:42 +05:30  
				
					
						
							
							
								 
						
							
							
								8c13ce4da3 
								
							
								 
							
						 
						
							
							
								
								update xmls  
							
							
							
						 
						
							2018-02-13 12:36:00 +05:30  
				
					
						
							
							
								 
						
							
							
								5dc89fee38 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'DFHack/develop' into RemoteServerUnsafe  
							
							
							
						 
						
							2018-02-13 12:26:36 +05:30  
				
					
						
							
							
								 
						
							
							
								2f8fbd7ecd 
								
							
								 
							
						 
						
							
							
								
								Show warning if all plugins fail to load (e.g. on Windows XP)  
							
							
							
						 
						
							2018-02-12 13:58:55 -05:00  
				
					
						
							
							
								 
						
							
							
								7b19c9b8f0 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'remotes/DFHack/develop' into RemoteServerUnsafe  
							
							... 
							
							
							
							# Conflicts:
#	plugins/proto/RemoteFortressReader.proto
#	plugins/remotefortressreader/remotefortressreader.cpp
#	scripts 
							
						 
						
							2018-02-12 20:19:40 +05:30  
				
					
						
							
							
								 
						
							
							
								19b65c2d1e 
								
							
								 
							
						 
						
							
							
								
								Remove Error.h include ( #1224 )  
							
							
							
						 
						
							2018-02-07 20:14:36 -05:00  
				
					
						
							
							
								 
						
							
							
								7ab8d74ac9 
								
									
								
							
								 
							
						 
						
							
							
								
								Add mising Error.cpp reference to dfhack-client  
							
							
							
						 
						
							2018-02-07 14:32:27 -06:00  
				
					
						
							
							
								 
						
							
							
								7426f08504 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix Error.cpp compile for Windows  
							
							
							
						 
						
							2018-02-07 10:40:52 -06:00  
				
					
						
							
							
								 
						
							
							
								bc6acfa24e 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'lethosor/travis-df' into develop  
							
							
							
						 
						
							2018-02-05 19:21:13 -05:00  
				
					
						
							
							
								 
						
							
							
								c1e2633e17 
								
							
								 
							
						 
						
							
							
								
								Refactor DFHack exception classes  
							
							... 
							
							
							
							Move implementations out of MiscUtils.cpp to Error.cpp and make what() return a
more useful description 
							
						 
						
							2018-02-05 19:18:35 -05:00  
				
					
						
							
							
								 
						
							
							
								78061085c6 
								
							
								 
							
						 
						
							
							
								
								Add art image properties to RFR  
							
							
							
						 
						
							2018-02-04 16:02:02 +05:30  
				
					
						
							
							
								 
						
							
							
								a5cca75715 
								
							
								 
							
						 
						
							
							
								
								headless: Disable sound, wgetch  
							
							
							
						 
						
							2018-02-04 00:17:46 -05:00  
				
					
						
							
							
								 
						
							
							
								956d0ce363 
								
							
								 
							
						 
						
							
							
								
								update submodules.  
							
							
							
						 
						
							2018-02-04 10:30:49 +05:30  
				
					
						
							
							
								 
						
							
							
								638f0ab35a 
								
							
								 
							
						 
						
							
							
								
								Add "headless" mode, use in travis  
							
							
							
						 
						
							2018-02-03 23:59:01 -05:00  
				
					
						
							
							
								 
						
							
							
								60c1bd3c66 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'refs/remotes/DFHack/develop'  
							
							... 
							
							
							
							Conflicts:
	library/xml 
							
						 
						
							2018-02-04 10:26:39 +05:30  
				
					
						
							
							
								 
						
							
							
								38140fb450 
								
							
								 
							
						 
						
							
							
								
								Copy engravings in RFR, and update the art image function.  
							
							
							
						 
						
							2018-02-04 10:12:15 +05:30  
				
					
						
							
							
								 
						
							
							
								426839aac2 
								
							
								 
							
						 
						
							
							
								
								Update scripts, xml, NEWS for  dfhack/scripts#37  
							
							
							
						 
						
							2018-02-03 17:59:26 -05:00  
				
					
						
							
							
								 
						
							
							
								0f43c07334 
								
							
								 
							
						 
						
							
							
								
								update xml  
							
							
							
						 
						
							2018-02-03 11:10:26 +05:30  
				
					
						
							
							
								 
						
							
							
								ae3a662231 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'danamlund/more-gui-getanyunit-cases' into develop  
							
							
							
						 
						
							2018-01-31 15:58:55 -05:00  
				
					
						
							
							
								 
						
							
							
								38491b4be8 
								
							
								 
							
						 
						
							
							
								
								add checks to avoid potential segfaults. use more dfhack idiomatic code  
							
							
							
						 
						
							2018-01-31 20:10:40 +01:00  
				
					
						
							
							
								 
						
							
							
								537e94d75a 
								
							
								 
							
						 
						
							
							
								
								fix segfault when splatter did not have historical figure  
							
							
							
						 
						
							2018-01-31 20:10:34 +01:00  
				
					
						
							
							
								 
						
							
							
								325e0b0e33 
								
							
								 
							
						 
						
							
							
								
								binpatch.lua: check for empty patches  
							
							
							
						 
						
							2018-01-31 09:57:11 -05:00  
				
					
						
							
							
								 
						
							
							
								e63a871363 
								
							
								 
							
						 
						
							
							
								
								use the vmethod for getting improvement images.  
							
							
							
						 
						
							2018-01-31 10:11:43 +05:30  
				
					
						
							
							
								 
						
							
							
								2deeda11d2 
								
							
								 
							
						 
						
							
							
								
								add many new cases for Gui::getSelectedUnit: report list, combat log list, military screen, unit health, unit custumize, assigning to cage, viewing cage, pitting, penning, burrows, look at corpse, look at corpse piece, look at named spatter  
							
							
							
						 
						
							2018-01-28 13:04:52 +01:00  
				
					
						
							
							
								 
						
							
							
								8d8632908e 
								
							
								 
							
						 
						
							
							
								
								update submodules  
							
							
							
						 
						
							2018-01-28 13:45:21 +05:30  
				
					
						
							
							
								 
						
							
							
								9a1f970d2d 
								
							
								 
							
						 
						
							
							
								
								Update submodules  
							
							
							
						 
						
							2018-01-28 02:14:54 -05:00  
				
					
						
							
							
								 
						
							
							
								77c6ea1d33 
								
							
								 
							
						 
						
							
							
								
								update xmls.  
							
							
							
						 
						
							2018-01-28 10:22:16 +05:30  
				
					
						
							
							
								 
						
							
							
								b78b2feed2 
								
							
								 
							
						 
						
							
							
								
								Remove extra whitespace.  
							
							
							
						 
						
							2018-01-28 10:12:50 +05:30  
				
					
						
							
							
								 
						
							
							
								db60ff3911 
								
							
								 
							
						 
						
							
							
								
								update xmls  
							
							
							
						 
						
							2018-01-28 07:55:42 +05:30  
				
					
						
							
							
								 
						
							
							
								c0c80b626d 
								
							
								 
							
						 
						
							
							
								
								update submodules  
							
							
							
						 
						
							2018-01-27 12:12:19 +05:30  
				
					
						
							
							
								 
						
							
							
								4a376752e2 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'refs/remotes/DFHack/develop'  
							
							... 
							
							
							
							Conflicts:
	library/xml
	scripts 
							
						 
						
							2018-01-26 08:21:47 +05:30  
				
					
						
							
							
								 
						
							
							
								e3d95daf45 
								
							
								 
							
						 
						
							
							
								
								Don't use globals  
							
							
							
						 
						
							2018-01-26 08:19:41 +05:30  
				
					
						
							
							
								 
						
							
							
								5e0e674580 
								
							
								 
							
						 
						
							
							
								
								Update submodules  
							
							
							
						 
						
							2018-01-25 10:56:08 -05:00  
				
					
						
							
							
								 
						
							
							
								2202c781f7 
								
							
								 
							
						 
						
							
							
								
								Add a dfhack.script_help() function to assist scripts  
							
							
							
						 
						
							2018-01-25 10:55:00 -05:00  
				
					
						
							
							
								 
						
							
							
								f1b8fa305b 
								
							
								 
							
						 
						
							
							
								
								try using the new function pointer.  
							
							
							
						 
						
							2018-01-25 11:55:46 +05:30  
				
					
						
							
							
								 
						
							
							
								f33c42a49e 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'DFHack/develop' into remote_control  
							
							... 
							
							
							
							# Conflicts:
#	scripts 
							
						 
						
							2018-01-24 10:04:51 +05:30  
				
					
						
							
							
								 
						
							
							
								1ba5477b63 
								
							
								 
							
						 
						
							
							
								
								Add designation priority support to MapCache and dig plugin  
							
							... 
							
							
							
							Fixes  #481  
						
							2018-01-21 19:27:16 -05:00  
				
					
						
							
							
								 
						
							
							
								7439f7fba7 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'DFHack/develop' into remote_control  
							
							... 
							
							
							
							# Conflicts:
#	scripts 
							
						 
						
							2018-01-19 22:11:48 +05:30  
				
					
						
							
							
								 
						
							
							
								e2ad956227 
								
							
								 
							
						 
						
							
							
								
								update xml  
							
							
							
						 
						
							2018-01-16 15:54:41 +05:30  
				
					
						
							
							
								 
						
							
							
								46bc26dfe2 
								
							
								 
							
						 
						
							
							
								
								Update xml  
							
							
							
						 
						
							2018-01-14 23:25:28 -05:00  
				
					
						
							
							
								 
						
							
							
								c3bf14a300 
								
							
								 
							
						 
						
							
							
								
								Correct bad os-type attributes in symbols.xml  
							
							
							
						 
						
							2018-01-14 22:56:35 -05:00  
				
					
						
							
							
								 
						
							
							
								ce1644d655 
								
							
								 
							
						 
						
							
							
								
								Bump to 0.44.05-alpha1 and update submodules  
							
							
							
						 
						
							2018-01-14 18:21:46 -05:00  
				
					
						
							
							
								 
						
							
							
								dbe950d92d 
								
							
								 
							
						 
						
							
							
								
								Update submodules  
							
							
							
						 
						
							2018-01-13 16:51:03 -05:00  
				
					
						
							
							
								 
						
							
							
								4aa8456878 
								
							
								 
							
						 
						
							
							
								
								Update submodules  
							
							
							
						 
						
							2018-01-12 00:28:15 -05:00  
				
					
						
							
							
								 
						
							
							
								16c4cde214 
								
							
								 
							
						 
						
							
							
								
								Change version to 0.44.04 and update xml  
							
							
							
						 
						
							2018-01-11 12:10:21 -05:00  
				
					
						
							
							
								 
						
							
							
								2782008b42 
								
							
								 
							
						 
						
							
							
								
								Update tweak condition-material with new field names  
							
							... 
							
							
							
							dfhack/df-structures#236  
						
							2018-01-10 19:53:25 -05:00  
				
					
						
							
							
								 
						
							
							
								e35e2d389c 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1205  from JapaMala/remote_reader  
							
							... 
							
							
							
							add more world mode options to world info 
							
						 
						
							2018-01-07 23:53:09 -05:00  
				
					
						
							
							
								 
						
							
							
								04523f9e5d 
								
							
								 
							
						 
						
							
							
								
								dfhack/df-structures#231 : twbt_render_map offset for x64  
							
							
							
						 
						
							2017-12-29 23:40:55 -05:00  
				
					
						
							
							
								 
						
							
							
								fde1e284f4 
								
							
								 
							
						 
						
							
							
								
								Gui::getAnyItem: support viewscreen_assign_display_itemst  
							
							
							
						 
						
							2017-12-28 16:19:45 -05:00  
				
					
						
							
							
								 
						
							
							
								e72474613f 
								
							
								 
							
						 
						
							
							
								
								Add new PutItemOnDisplay job to labor management plugins  
							
							... 
							
							
							
							Also add building_type::DisplayFurniture to labormanager
Fixes  #1208  
							
						 
						
							2017-12-27 13:48:53 -05:00  
				
					
						
							
							
								 
						
							
							
								94e6e89b31 
								
							
								 
							
						 
						
							
							
								
								Update xml, scripts  
							
							
							
						 
						
							2017-12-26 20:36:37 -05:00  
				
					
						
							
							
								 
						
							
							
								4007c39438 
								
							
								 
							
						 
						
							
							
								
								Update xml  
							
							
							
						 
						
							2017-12-26 12:54:08 -05:00  
				
					
						
							
							
								 
						
							
							
								0eff9fa084 
								
							
								 
							
						 
						
							
							
								
								Bump version to 0.44.03-alpha1 and update submodules  
							
							
							
						 
						
							2017-12-25 22:48:54 -05:00  
				
					
						
							
							
								 
						
							
							
								4d5c7c5927 
								
							
								 
							
						 
						
							
							
								
								getKeyDisplay: use enabler::GetKeyDisplay()  
							
							
							
						 
						
							2017-12-25 20:14:11 -05:00  
				
					
						
							
							
								 
						
							
							
								0332a5c25a 
								
							
								 
							
						 
						
							
							
								
								Replace a call to abort() with a VTableMissing exception  
							
							... 
							
							
							
							This makes some scripts crash less when the viewscreen vtable is unavailable,
for example. 
							
						 
						
							2017-12-25 20:13:15 -05:00  
				
					
						
							
							
								 
						
							
							
								e6651171bf 
								
							
								 
							
						 
						
							
							
								
								json: Improve IO-related error messages  
							
							
							
						 
						
							2017-12-25 14:40:06 -05:00  
				
					
						
							
							
								 
						
							
							
								d6a6bf008e 
								
							
								 
							
						 
						
							
							
								
								Update xml, stonesense  
							
							... 
							
							
							
							Ref #1206  
							
						 
						
							2017-12-24 23:17:39 -05:00  
				
					
						
							
							
								 
						
							
							
								692bce8507 
								
									
								
							
								 
							
						 
						
							
							
								
								Tabs to spaces  
							
							
							
						 
						
							2017-12-24 13:50:54 -05:00  
				
					
						
							
							
								 
						
							
							
								73c6209f87 
								
							
								 
							
						 
						
							
							
								
								Remove extra These don't actually act the same.  
							
							
							
						 
						
							2017-12-24 17:22:50 +05:30  
				
					
						
							
							
								 
						
							
							
								22bdc6227c 
								
							
								 
							
						 
						
							
							
								
								add more world mode options to world info  
							
							
							
						 
						
							2017-12-24 10:50:30 +05:30  
				
					
						
							
							
								 
						
							
							
								d90ee0edf8 
								
							
								 
							
						 
						
							
							
								
								Update submodules  
							
							
							
						 
						
							2017-12-23 21:15:30 -05:00  
				
					
						
							
							
								 
						
							
							
								9ae4051d33 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of gh:dfhack/dfhack into develop  
							
							
							
						 
						
							2017-12-23 20:20:58 -05:00  
				
					
						
							
							
								 
						
							
							
								e7a95155ab 
								
							
								 
							
						 
						
							
							
								
								Lua API: add get_vector() and support for renaming class methods  
							
							... 
							
							
							
							See dfhack/df-structures@5bdb0e8  
							
						 
						
							2017-12-23 20:18:55 -05:00  
				
					
						
							
							
								 
						
							
							
								fd9f198239 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1203  from PatrikLundell/console  
							
							... 
							
							
							
							Blocked errant line feed at full buffer 
							
						 
						
							2017-12-22 11:31:24 -05:00  
				
					
						
							
							
								 
						
							
							
								d6a51f65eb 
								
							
								 
							
						 
						
							
							
								
								Blocked errant line feed at full buffer  
							
							
							
						 
						
							2017-12-22 13:42:59 +01:00  
				
					
						
							
							
								 
						
							
							
								c7f3902e0d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1197  from PatrikLundell/console  
							
							... 
							
							
							
							Made console prompt respect color reset 
							
						 
						
							2017-12-21 12:43:10 -05:00  
				
					
						
							
							
								 
						
							
							
								7ba43d3be2 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1189  from Pfhreak/autocompletebuiltins  
							
							... 
							
							
							
							Autocomplete built in commands (die, etc.) 
							
						 
						
							2017-12-20 23:35:36 -05:00  
				
					
						
							
							
								 
						
							
							
								b8d5aba0ef 
								
							
								 
							
						 
						
							
							
								
								Update xml, scripts  
							
							
							
						 
						
							2017-12-20 00:02:26 -05:00  
				
					
						
							
							
								 
						
							
							
								14996a9d67 
								
							
								 
							
						 
						
							
							
								
								Made prompt respect color reset  
							
							
							
						 
						
							2017-12-14 12:46:52 +01:00  
				
					
						
							
							
								 
						
							
							
								cf7dbd478a 
								
							
								 
							
						 
						
							
							
								
								Made prompt respect color reset  
							
							
							
						 
						
							2017-12-14 12:45:35 +01:00  
				
					
						
							
							
								 
						
							
							
								7721a142d8 
								
							
								 
							
						 
						
							
							
								
								Add a basic Lua console API  
							
							
							
						 
						
							2017-12-07 14:43:27 -05:00  
				
					
						
							
							
								 
						
							
							
								622a8dacb6 
								
							
								 
							
						 
						
							
							
								
								Update submodules  
							
							
							
						 
						
							2017-12-07 14:39:15 -05:00  
				
					
						
							
							
								 
						
							
							
								88c7e493b8 
								
							
								 
							
						 
						
							
							
								
								Merge ui_area_map_width into ui_menu_width, now a 2-byte array  
							
							
							
						 
						
							2017-12-03 20:34:59 -06:00  
				
					
						
							
							
								 
						
							
							
								c72ae8d8a7 
								
							
								 
							
						 
						
							
							
								
								Merge "announcements" global into d_init where it belongs  
							
							
							
						 
						
							2017-12-03 20:05:08 -06:00  
				
					
						
							
							
								 
						
							
							
								ec06ed09c9 
								
							
								 
							
						 
						
							
							
								
								update structures - add remaining Linux 64-bit offsets  
							
							
							
						 
						
							2017-12-03 13:49:57 -06:00  
				
					
						
							
							
								 
						
							
							
								1489e7db82 
								
							
								 
							
						 
						
							
							
								
								update structures - fix unit_personality and historical_figure_info.personality  
							
							
							
						 
						
							2017-12-02 22:14:04 -06:00  
				
					
						
							
							
								 
						
							
							
								4edc7a6f43 
								
									
								
							
								 
							
						 
						
							
							
								
								update DataFuncs to support vmethods with 12-13 parameters ( #1192 )  
							
							
							
						 
						
							2017-12-02 21:41:44 -06:00  
				
					
						
							
							
								 
						
							
							
								e174135133 
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2017-12-02 21:09:00 -06:00  
				
					
						
							
							
								 
						
							
							
								d1c1dfe2cd 
								
							
								 
							
						 
						
							
							
								
								update xml  
							
							
							
						 
						
							2017-11-30 19:46:03 +05:30  
				
					
						
							
							
								 
						
							
							
								bbdf157a52 
								
							
								 
							
						 
						
							
							
								
								Fixup autocomplete built ins per IRC  
							
							
							
						 
						
							2017-11-27 13:45:58 -08:00  
				
					
						
							
							
								 
						
							
							
								7e55efa3f7 
								
							
								 
							
						 
						
							
							
								
								Autocomplete built in commands (die, etc.)  
							
							
							
						 
						
							2017-11-27 13:15:16 -08:00  
				
					
						
							
							
								 
						
							
							
								a0634f9ee0 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'DFHack/develop' into RemoteServerUnsafe  
							
							
							
						 
						
							2017-11-25 11:50:56 +05:30  
				
					
						
							
							
								 
						
							
							
								ea8347e2ca 
								
							
								 
							
						 
						
							
							
								
								update xml  
							
							
							
						 
						
							2017-11-25 11:45:30 +05:30  
				
					
						
							
							
								 
						
							
							
								35b0e962ce 
								
							
								 
							
						 
						
							
							
								
								Fix crash on empty symbol tables  
							
							
							
						 
						
							2017-11-25 01:10:47 -05:00  
				
					
						
							
							
								 
						
							
							
								69a88e1641 
								
							
								 
							
						 
						
							
							
								
								Use json for server config.  
							
							
							
						 
						
							2017-11-25 11:34:02 +05:30  
				
					
						
							
							
								 
						
							
							
								2c95ac411e 
								
							
								 
							
						 
						
							
							
								
								Update xml and all uses of job_handler  
							
							
							
						 
						
							2017-11-25 00:59:59 -05:00  
				
					
						
							
							
								 
						
							
							
								272f51ef4b 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'remotes/DFHack/master' into RemoteServerUnsafe  
							
							
							
						 
						
							2017-11-25 10:24:51 +05:30  
				
					
						
							
							
								 
						
							
							
								5795a370bc 
								
							
								 
							
						 
						
							
							
								
								Update xml again to fix GCC build error  
							
							
							
						 
						
							2017-11-23 16:01:27 -05:00  
				
					
						
							
							
								 
						
							
							
								111df1312b 
								
							
								 
							
						 
						
							
							
								
								Update xml to 1cdab5a (last for 0.43.05)  
							
							
							
						 
						
							2017-11-23 15:50:58 -05:00  
				
					
						
							
							
								 
						
							
							
								9259cb22d2 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1184  from quietust/develop  
							
							... 
							
							
							
							update structures 
							
						 
						
							2017-11-23 11:57:41 -05:00  
				
					
						
							
							
								 
						
							
							
								33a43c5bfd 
								
							
								 
							
						 
						
							
							
								
								update structures  
							
							
							
						 
						
							2017-11-04 07:50:47 -06:00  
				
					
						
							
							
								 
						
							
							
								f91123610e 
								
							
								 
							
						 
						
							
							
								
								Update structures.  
							
							
							
						 
						
							2017-10-30 21:51:54 +05:30  
				
					
						
							
							
								 
						
							
							
								d3f3ebf778 
								
									
								
							
								 
							
						 
						
							
							
								
								auto_ptr is deprecated - use unique_ptr instead  
							
							
							
						 
						
							2017-10-04 14:49:28 -05:00  
				
					
						
							
							
								 
						
							
							
								3c5483df03 
								
							
								 
							
						 
						
							
							
								
								Change tabs to spaces to satisfy travis.  
							
							
							
						 
						
							2017-10-04 09:48:12 +05:30  
				
					
						
							
							
								 
						
							
							
								bb1eb0b48a 
								
							
								 
							
						 
						
							
							
								
								Use a config file to enable outside connections.  
							
							
							
						 
						
							2017-10-03 19:48:37 +05:30  
				
					
						
							
							
								 
						
							
							
								1d02ecff6f 
								
							
								 
							
						 
						
							
							
								
								Add safe for remote flag to select default functions.  
							
							
							
						 
						
							2017-10-03 18:56:49 +05:30  
				
					
						
							
							
								 
						
							
							
								cbeb241435 
								
							
								 
							
						 
						
							
							
								
								Listen on any address  
							
							
							
						 
						
							2017-10-02 20:48:05 +05:30  
				
					
						
							
							
								 
						
							
							
								8dffd48f70 
								
							
								 
							
						 
						
							
							
								
								Add a flag for functions considered safe for a remote computer to call.  
							
							
							
						 
						
							2017-10-02 19:55:16 +05:30  
				
					
						
							
							
								 
						
							
							
								9d4c7af11c 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of gh:dfhack/dfhack into develop  
							
							
							
						 
						
							2017-08-08 20:09:10 -04:00  
				
					
						
							
							
								 
						
							
							
								08656a3ca7 
								
							
								 
							
						 
						
							
							
								
								Strip DF folder from Ruby script paths  
							
							... 
							
							
							
							Fixes  #1146  (temporarily, see #1147 ) 
						
							2017-08-08 20:08:07 -04:00  
				
					
						
							
							
								 
						
							
							
								0b26e9aec7 
								
							
								 
							
						 
						
							
							
								
								Fix a couple of MSVC warnings  
							
							... 
							
							
							
							Use intptr_t instead of long for a handle, and add an explict cast to
eliminate a narrowing conversion warning 
							
						 
						
							2017-08-07 14:13:22 -05:00  
				
					
						
							
							
								 
						
							
							
								5c33fcccbd 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'BenLubar/win64-warnings' into develop  
							
							
							
						 
						
							2017-08-07 13:51:18 -04:00  
				
					
						
							
							
								 
						
							
							
								16fb230ef6 
								
							
								 
							
						 
						
							
							
								
								getAnyItem: support viewscreen_textviewerst  
							
							
							
						 
						
							2017-08-05 21:38:18 -04:00  
				
					
						
							
							
								 
						
							
							
								d280863bc8 
								
							
								 
							
						 
						
							
							
								
								Avoid iterating over "has-bad-pointers" fields of IDTYPE_STRUCT and others  
							
							... 
							
							
							
							dfhack/df-structures@4c224dd205  
						
							2017-08-05 21:34:16 -04:00  
				
					
						
							
							
								 
						
							
							
								17a7885ef2 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix a bunch of 64-bit Windows warnings  
							
							
							
						 
						
							2017-07-21 13:30:05 -05:00  
				
					
						
							
							
								 
						
							
							
								15ed1bfd67 
								
							
								 
							
						 
						
							
							
								
								stl_vsprintf: avoid truncating 4096-byte strings  
							
							
							
						 
						
							2017-07-13 13:08:27 -04:00  
				
					
						
							
							
								 
						
							
							
								ce1158780f 
								
							
								 
							
						 
						
							
							
								
								Fix crash in stl_vsprintf() from reusing va_list  
							
							
							
						 
						
							2017-07-13 13:07:58 -04:00  
				
					
						
							
							
								 
						
							
							
								d236181cdc 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'BenLubar/repeat-util-cancel-self' into develop  
							
							
							
						 
						
							2017-07-12 16:35:24 -04:00  
				
					
						
							
							
								 
						
							
							
								3103d697d9 
								
							
								 
							
						 
						
							
							
								
								Add an onLoad.init-example file  
							
							... 
							
							
							
							Closes  #1093  
						
							2017-07-12 16:30:49 -04:00  
				
					
						
							
							
								 
						
							
							
								e3cd820fb1 
								
							
								 
							
						 
						
							
							
								
								Limit recursive runCommand() calls to 20  
							
							... 
							
							
							
							Addresses an issue with recursive aliases crashing (#701 ) 
							
						 
						
							2017-07-12 16:28:21 -04:00  
				
					
						
							
							
								 
						
							
							
								7fed961fcd 
								
									
								
							
								 
							
						 
						
							
							
								
								Make repeatUtil.cancel work even when called from the callback.  Closes   #1122 .  
							
							
							
						 
						
							2017-07-11 15:10:42 -05:00  
				
					
						
							
							
								 
						
							
							
								d628212254 
								
							
								 
							
						 
						
							
							
								
								Lua API: Use CallWithCatchWrapper for a few more functions  
							
							... 
							
							
							
							This produces more readable backtraces when native functions that aren't wrapped
using wrap_function() throw exceptions. 
							
						 
						
							2017-07-01 17:39:39 -04:00  
				
					
						
							
							
								 
						
							
							
								6100074ba6 
								
							
								 
							
						 
						
							
							
								
								Add a few MD5 and thread functions to the Lua API  
							
							
							
						 
						
							2017-07-01 17:39:17 -04:00  
				
					
						
							
							
								 
						
							
							
								7a7f1df908 
								
							
								 
							
						 
						
							
							
								
								Redirect stdout and stderr again on Windows  
							
							... 
							
							
							
							DF appears to redirect them itself at an inconvenient point.
Fixes  #1124  (hopefully) 
							
						 
						
							2017-06-30 13:29:05 -04:00  
				
					
						
							
							
								 
						
							
							
								cc0220f030 
								
							
								 
							
						 
						
							
							
								
								Add a "key" option to EditField and FilteredList  
							
							
							
						 
						
							2017-06-27 21:10:14 -04:00  
				
					
						
							
							
								 
						
							
							
								6af5f3b299 
								
							
								 
							
						 
						
							
							
								
								fixing getItemBaseValue() for cheese, sheets and instruments  
							
							
							
						 
						
							2017-06-26 09:17:23 +12:00  
				
					
						
							
							
								 
						
							
							
								10e13c532a 
								
							
								 
							
						 
						
							
							
								
								Add "tweak cage-butcher" and some extra Building module functions  
							
							... 
							
							
							
							* Buildings::markedForRemoval()
* Buildings::getCageOccupants()
Closes  #906  
							
						 
						
							2017-06-25 15:27:21 -04:00  
				
					
						
							
							
								 
						
							
							
								db375ae83b 
								
							
								 
							
						 
						
							
							
								
								Add a Pages:getSelectedPage() helper  
							
							... 
							
							
							
							Equivalent to select(2, pages:getSelected()), but more readable. 
							
						 
						
							2017-06-23 12:46:46 -04:00  
				
					
						
							
							
								 
						
							
							
								bf8e65311b 
								
							
								 
							
						 
						
							
							
								
								Update submodules  
							
							
							
						 
						
							2017-06-23 12:43:38 -04:00  
				
					
						
							
							
								 
						
							
							
								cda5cedacf 
								
							
								 
							
						 
						
							
							
								
								Fix Gui::refreshSidebar() on topmost z-level  
							
							
							
						 
						
							2017-06-23 10:30:16 -04:00  
				
					
						
							
							
								 
						
							
							
								ae809afde7 
								
							
								 
							
						 
						
							
							
								
								Add Gui::refreshSidebar()  
							
							... 
							
							
							
							This handles feeding CURSOR_DOWN_Z and CURSOR_UP_Z properly, avoiding issues
when on the lowest z-level. 
							
						 
						
							2017-06-23 00:02:21 -04:00  
				
					
						
							
							
								 
						
							
							
								0796fafb2a 
								
							
								 
							
						 
						
							
							
								
								Add new built-in "alias" command  
							
							... 
							
							
							
							Closes  #701  
						
							2017-06-19 00:15:20 -04:00  
				
					
						
							
							
								 
						
							
							
								27343e3253 
								
							
								 
							
						 
						
							
							
								
								Add unit and tile visibility functions  
							
							
							
						 
						
							2017-06-10 21:54:08 -04:00  
				
					
						
							
							
								 
						
							
							
								9b63c451b1 
								
							
								 
							
						 
						
							
							
								
								Expose getUnitsInBox to Lua  
							
							
							
						 
						
							2017-06-10 21:03:42 -04:00  
				
					
						
							
							
								 
						
							
							
								778ffb0971 
								
							
								 
							
						 
						
							
							
								
								More Units module cleanup, modernize getUnitsInBox  
							
							
							
						 
						
							2017-06-10 21:02:30 -04:00  
				
					
						
							
							
								 
						
							
							
								dff94fc97e 
								
							
								 
							
						 
						
							
							
								
								replacment -> replacement  
							
							
							
						 
						
							2017-06-10 19:41:59 -04:00  
				
					
						
							
							
								 
						
							
							
								0ed7e60522 
								
							
								 
							
						 
						
							
							
								
								getAnyUnit: support viewscreen_layer_unit_relationshipst  
							
							
							
						 
						
							2017-06-10 19:06:43 -04:00  
				
					
						
							
							
								 
						
							
							
								1321a64613 
								
							
								 
							
						 
						
							
							
								
								Remove lots of old/unused functions from the Units module  
							
							
							
						 
						
							2017-06-10 17:21:34 -04:00  
				
					
						
							
							
								 
						
							
							
								ba68683964 
								
							
								 
							
						 
						
							
							
								
								Fix ncurses wgetch() on OS X  
							
							... 
							
							
							
							Ref #731  
							
						 
						
							2017-06-08 13:05:31 -04:00  
				
					
						
							
							
								 
						
							
							
								8d23660d55 
								
							
								 
							
						 
						
							
							
								
								Expose Gui::getAny* to Lua  
							
							
							
						 
						
							2017-06-08 11:21:30 -04:00  
				
					
						
							
							
								 
						
							
							
								047a66030b 
								
							
								 
							
						 
						
							
							
								
								getAnyUnit: add support for viewscreen_unitst, viewscreen_textviewerst  
							
							
							
						 
						
							2017-06-07 20:51:40 -04:00  
				
					
						
							
							
								 
						
							
							
								da98a5054d 
								
							
								 
							
						 
						
							
							
								
								Make sc-script help more helpful  
							
							
							
						 
						
							2017-06-04 19:24:26 -04:00  
				
					
						
							
							
								 
						
							
							
								92c2e52e45 
								
							
								 
							
						 
						
							
							
								
								Fix MSVC error  
							
							
							
						 
						
							2017-06-02 21:22:19 -04:00  
				
					
						
							
							
								 
						
							
							
								4eb767c3f0 
								
							
								 
							
						 
						
							
							
								
								Expose getDepthAt() to Lua  
							
							
							
						 
						
							2017-06-02 15:39:49 -04:00  
				
					
						
							
							
								 
						
							
							
								ae1aa49089 
								
							
								 
							
						 
						
							
							
								
								Add map parameter to Lua paintTile() and use in Painter  
							
							... 
							
							
							
							Also updated gui/siege-engine.lua 
							
						 
						
							2017-06-02 12:42:51 -04:00  
				
					
						
							
							
								 
						
							
							
								9df35dd844 
								
							
								 
							
						 
						
							
							
								
								revealInDwarfmodeMap: use map y dimensions  
							
							
							
						 
						
							2017-06-02 00:40:59 -04:00  
				
					
						
							
							
								 
						
							
							
								43c4a88068 
								
							
								 
							
						 
						
							
							
								
								Move some checks in paintTile/readTile after hooks are called  
							
							
							
						 
						
							2017-06-02 00:40:14 -04:00  
				
					
						
							
							
								 
						
							
							
								346e8b91a9 
								
							
								 
							
						 
						
							
							
								
								Use getDwarfmodeViewDims() in getPanelLayout()  
							
							... 
							
							
							
							Allows C++ hooks to affect Lua scripts as well 
							
						 
						
							2017-06-01 23:36:02 -04:00  
				
					
						
							
							
								 
						
							
							
								05f322ca30 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'lethosor/lua-dmdims' into develop  
							
							
							
						 
						
							2017-06-01 23:34:35 -04:00  
				
					
						
							
							
								 
						
							
							
								b28742cbd0 
								
							
								 
							
						 
						
							
							
								
								Respect script path when running ruby scripts  
							
							... 
							
							
							
							Fixes  #1099  
						
							2017-06-01 16:20:26 -04:00  
				
					
						
							
							
								 
						
							
							
								d41ff4e836 
								
							
								 
							
						 
						
							
							
								
								Implement map parameters for Lua paintString() and fillRect(), update docs  
							
							
							
						 
						
							2017-06-01 16:17:59 -04:00  
				
					
						
							
							
								 
						
							
							
								939aff3231 
								
							
								 
							
						 
						
							
							
								
								readTile(): add hook support and map parameter  
							
							
							
						 
						
							2017-05-31 12:12:15 -04:00  
				
					
						
							
							
								 
						
							
							
								f4e18b2d87 
								
							
								 
							
						 
						
							
							
								
								Lua: implement to_first argument in dfhack.screen.dismiss()  
							
							... 
							
							
							
							This was mentioned in Lua API.rst, but never actually implemented. 
							
						 
						
							2017-05-30 09:17:09 -04:00