41e298bdfc 
								
							
								 
							
						 
						
							
							
								
								Update submodules  
							
							
							
						 
						
							2016-08-27 15:27:57 -04:00  
				
					
						
							
							
								 
						
							
							
								85ebbf0e9c 
								
							
								 
							
						 
						
							
							
								
								Fix df_expr_to_ref for raw userdata  
							
							
							
						 
						
							2016-08-24 17:18:55 -04:00  
				
					
						
							
							
								 
						
							
							
								6ce470ad57 
								
							
								 
							
						 
						
							
							
								
								Add basic lua expression support to memview  
							
							... 
							
							
							
							Currently just supports basic field accesses (world.x, screen.y.z).
No support for world.x - 4, etc.
Closes  #976  
							
						 
						
							2016-08-24 16:26:34 -04:00  
				
					
						
							
							
								 
						
							
							
								7487f44fc8 
								
							
								 
							
						 
						
							
							
								
								Implement a helper to create lua environments with shortcuts (e.g. scr, unit)  
							
							... 
							
							
							
							Used in gui/gm-editor and lua
Closes  #977  
							
						 
						
							2016-08-23 21:47:41 -04:00  
				
					
						
							
							
								 
						
							
							
								2dccd1d0ff 
								
							
								 
							
						 
						
							
							
								
								Add CheckedArray:__tostring() method  
							
							
							
						 
						
							2016-08-22 23:18:30 -04:00  
				
					
						
							
							
								 
						
							
							
								1dab45ffed 
								
							
								 
							
						 
						
							
							
								
								Replace lua_pushnumber with lua_pushinteger in LuaApi.cpp  
							
							
							
						 
						
							2016-08-22 23:18:08 -04:00  
				
					
						
							
							
								 
						
							
							
								e983e66a1a 
								
							
								 
							
						 
						
							
							
								
								Update xml and scripts  
							
							
							
						 
						
							2016-08-21 20:59:24 -04:00  
				
					
						
							
							
								 
						
							
							
								70ac99cbfa 
								
							
								 
							
						 
						
							
							
								
								Fix Buildings::setOwner() persistence  
							
							... 
							
							
							
							Needed to set bld->owner_id for changes to persist across save/load
Fixes  #983 , thanks to Quietust 
							
						 
						
							2016-08-21 20:58:40 -04:00  
				
					
						
							
							
								 
						
							
							
								98a187ca43 
								
							
								 
							
						 
						
							
							
								
								Update xml  
							
							
							
						 
						
							2016-08-18 17:28:44 -04:00  
				
					
						
							
							
								 
						
							
							
								9e4a6d7591 
								
							
								 
							
						 
						
							
							
								
								Update default base address on 64-bit Linux  
							
							
							
						 
						
							2016-08-18 17:28:18 -04:00  
				
					
						
							
							
								 
						
							
							
								0b6597ddb2 
								
							
								 
							
						 
						
							
							
								
								Stop field_offset from crashing due to missing vtables  
							
							... 
							
							
							
							Now, a pointer to NULL is cast to the type in question, avoiding the need to
call new() or delete() with potentially-misaligned types. Also,
virtual_identity::find has been tweaked to prevent it from crashing on NULL
vtable pointers.
This was suggested by Angavrilov. 
							
						 
						
							2016-08-18 15:59:46 -04:00  
				
					
						
							
							
								 
						
							
							
								c2997b9c79 
								
							
								 
							
						 
						
							
							
								
								Fix save_dir  
							
							
							
						 
						
							2016-08-18 15:47:40 -04:00  
				
					
						
							
							
								 
						
							
							
								de731b0299 
								
							
								 
							
						 
						
							
							
								
								Move save_dir back into cur_savegame and update submodules  
							
							
							
						 
						
							2016-08-14 12:41:09 -04:00  
				
					
						
							
							
								 
						
							
							
								e965f5318f 
								
							
								 
							
						 
						
							
							
								
								Replace many includes with forward declarations in modules/Maps.h  
							
							
							
						 
						
							2016-08-13 21:44:01 -04:00  
				
					
						
							
							
								 
						
							
							
								576174ea0b 
								
							
								 
							
						 
						
							
							
								
								Lua: Add lengths of (some) containers to their string representations  
							
							
							
						 
						
							2016-08-13 19:52:14 -04:00  
				
					
						
							
							
								 
						
							
							
								eef6f9bfb7 
								
							
								 
							
						 
						
							
							
								
								Add df.new() support for char and unsigned long  
							
							
							
						 
						
							2016-08-11 00:01:52 -04:00  
				
					
						
							
							
								 
						
							
							
								a1ff432bf8 
								
							
								 
							
						 
						
							
							
								
								Restore fixed-width types in string representations of lua fields  
							
							... 
							
							
							
							e.g. tostring(df.new('int16_t')) was returning "<short: 0xaddr>" 
							
						 
						
							2016-08-10 23:58:45 -04:00  
				
					
						
							
							
								 
						
							
							
								215afa34f3 
								
							
								 
							
						 
						
							
							
								
								Update for 64-bit unit changes  
							
							... 
							
							
							
							Includes xml, stonesense, scripts
Ref DFHack/df-structures@25cb373  
							
						 
						
							2016-08-10 23:50:00 -04:00  
				
					
						
							
							
								 
						
							
							
								6e741b1a80 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #969  from Qartar/win64  
							
							... 
							
							
							
							Minor fixes/updates for Visual Studio 2015 Win64 
							
						 
						
							2016-08-10 15:15:44 -04:00  
				
					
						
							
							
								 
						
							
							
								02eef95147 
								
							
								 
							
						 
						
							
							
								
								Fix base address for Darwin x64  
							
							
							
						 
						
							2016-08-09 20:00:31 -04:00  
				
					
						
							
							
								 
						
							
							
								e22b3b1de7 
								
							
								 
							
						 
						
							
							
								
								Use non-fixed-width types in integer identity_traits definitions  
							
							... 
							
							
							
							In some situations (e.g. 32-bit Linux), "intptr_t" is defined as "int", which is
equivalent to "int32_t", leading to issues with duplicate definitions. In other
situations with GCC, "intptr_t" is "long", which isn't covered by any intNN_t
types. Also, definitions for "long" already had to be added on Windows, because
no fixed-width types in MSVC are equivalent to "long".
Switching to non-fixed-width types should hopefully cover all of these
situations. If this doesn't cover any integer types that we need, it will
be caught quickly, e.g. by references to integer_traits<T> in LuaWrapper.cpp. 
							
						 
						
							2016-08-08 11:46:20 -04:00  
				
					
						
							
							
								 
						
							
							
								298d16238e 
								
							
								 
							
						 
						
							
							
								
								Remove a few unneeded includes in DataStaticsFields.cpp  
							
							
							
						 
						
							2016-08-08 11:45:00 -04:00  
				
					
						
							
							
								 
						
							
							
								aeac8b4fef 
								
							
								 
							
						 
						
							
							
								
								Update xml  
							
							
							
						 
						
							2016-08-05 18:04:42 -04:00  
				
					
						
							
							
								 
						
							
							
								ee7357b60e 
								
							
								 
							
						 
						
							
							
								
								x86: fix vector validity check  
							
							
							
						 
						
							2016-08-05 17:51:08 -04:00  
				
					
						
							
							
								 
						
							
							
								dde6901534 
								
							
								 
							
						 
						
							
							
								
								x86: fix lua address display  
							
							
							
						 
						
							2016-08-05 17:50:49 -04:00  
				
					
						
							
							
								 
						
							
							
								44913609c8 
								
							
								 
							
						 
						
							
							
								
								Fix format string warnings  
							
							
							
						 
						
							2016-08-01 19:03:26 -07:00  
				
					
						
							
							
								 
						
							
							
								79377669a1 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'NCommander/dwarfvet' into develop  
							
							
							
						 
						
							2016-07-29 16:25:53 -04:00  
				
					
						
							
							
								 
						
							
							
								158f18106f 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'NCommander/vs2015' into develop  
							
							
							
						 
						
							2016-07-29 15:30:32 -04:00  
				
					
						
							
							
								 
						
							
							
								55970a71ab 
								
							
								 
							
						 
						
							
							
								
								Fix Lua::Push for enums  
							
							
							
						 
						
							2016-07-29 11:06:16 -04:00  
				
					
						
							
							
								 
						
							
							
								e8fe72826f 
								
							
								 
							
						 
						
							
							
								
								Add new integer types to memscan and update find-offsets  
							
							
							
						 
						
							2016-07-29 00:05:12 -04:00  
				
					
						
							
							
								 
						
							
							
								dc79e2477b 
								
							
								 
							
						 
						
							
							
								
								Expose long/[u]intptr_t to lua and fix some integer return values  
							
							
							
						 
						
							2016-07-29 00:02:51 -04:00  
				
					
						
							
							
								 
						
							
							
								b7856fd9f2 
								
							
								 
							
						 
						
							
							
								
								Use enable_if for Lua::Push specializations  
							
							
							
						 
						
							2016-07-28 22:04:46 -04:00  
				
					
						
							
							
								 
						
							
							
								7b7f7a1b79 
								
							
								 
							
						 
						
							
							
								
								Fix support for integer fields in Lua 5.3  
							
							
							
						 
						
							2016-07-28 16:36:02 -04:00  
				
					
						
							
							
								 
						
							
							
								41a81f9021 
								
							
								 
							
						 
						
							
							
								
								Fix some more warnings (GCC 4.8)  
							
							
							
						 
						
							2016-07-28 11:00:52 -04:00  
				
					
						
							
							
								 
						
							
							
								42c620bb9c 
								
							
								 
							
						 
						
							
							
								
								Download non-broken libstdc++ on OS X  
							
							
							
						 
						
							2016-07-27 21:43:38 -04:00  
				
					
						
							
							
								 
						
							
							
								828fee532a 
								
							
								 
							
						 
						
							
							
								
								Switch to downloading zlib.lib and SDLreal.dll on Windows  
							
							
							
						 
						
							2016-07-27 21:08:24 -04:00  
				
					
						
							
							
								 
						
							
							
								223c83071e 
								
							
								 
							
						 
						
							
							
								
								win64 fixes: doReadClassName, ParseVersion  
							
							... 
							
							
							
							cherry-picked from 2f734ae2317060edb83021f17cffc966c435ad7b 
							
						 
						
							2016-07-27 20:21:57 -04:00  
				
					
						
							
							
								 
						
							
							
								ddd56d7825 
								
							
								 
							
						 
						
							
							
								
								Fix (for win64) and avoid duplicating base address  
							
							
							
						 
						
							2016-07-27 20:10:03 -04:00  
				
					
						
							
							
								 
						
							
							
								50144b60ea 
								
							
								 
							
						 
						
							
							
								
								A few %08x to %p changes  
							
							
							
						 
						
							2016-07-27 19:54:19 -04:00  
				
					
						
							
							
								 
						
							
							
								8916aba3bf 
								
							
								 
							
						 
						
							
							
								
								win64 fixes (partial)  
							
							... 
							
							
							
							cherry-picked from 2f734ae2317060edb83021f17cffc966c435ad7b 
							
						 
						
							2016-07-27 19:46:49 -04:00  
				
					
						
							
							
								 
						
							
							
								fe18f176f7 
								
							
								 
							
						 
						
							
							
								
								More 64-bit fixes  
							
							... 
							
							
							
							Cherry-picked from 7eb3ba6
- Lua update already done in e2c63504dd411e 
							
						 
						
							2016-07-26 23:47:53 -04:00  
				
					
						
							
							
								 
						
							
							
								3833ff2e09 
								
							
								 
							
						 
						
							
							
								
								proper 64bit address formatting  
							
							
							
						 
						
							2016-07-26 23:30:50 -04:00  
				
					
						
							
							
								 
						
							
							
								a684e1dd0f 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'lethosor/64-bit' into develop  
							
							
							
						 
						
							2016-07-26 22:54:36 -04:00  
				
					
						
							
							
								 
						
							
							
								e10397370b 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:DFHack/dfhack into vs2015  
							
							
							
						 
						
							2016-07-11 18:59:22 -05:00  
				
					
						
							
							
								 
						
							
							
								ed6fb69012 
								
							
								 
							
						 
						
							
							
								
								Fix whitespace spacing  
							
							... 
							
							
							
							Signed-off-by: Michael Casadevall <mcasadevall@ubuntu.com> 
							
						 
						
							2016-07-11 18:54:03 -05:00  
				
					
						
							
							
								 
						
							
							
								cede0528f2 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of  https://github.com/dfhack/dfhack  into develop  
							
							
							
						 
						
							2016-07-06 21:00:20 -04:00  
				
					
						
							
							
								 
						
							
							
								39aa143cfa 
								
							
								 
							
						 
						
							
							
								
								Update NEWS and submodules  
							
							
							
						 
						
							2016-07-06 20:59:49 -04:00  
				
					
						
							
							
								 
						
							
							
								4f96bdd0eb 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #950  from TC01/linux-system-tinyxml  
							
							... 
							
							
							
							Support linking against an external tinyxml if EXTERNAL_TINYXML is set 
							
						 
						
							2016-07-06 20:37:28 -04:00  
				
					
						
							
							
								 
						
							
							
								2de2e6a983 
								
							
								 
							
						 
						
							
							
								
								Update CMakeLists and submodules  
							
							
							
						 
						
							2016-07-06 20:30:28 -04:00  
				
					
						
							
							
								 
						
							
							
								b4063352cf 
								
							
								 
							
						 
						
							
							
								
								Fix crash in vprinterr due to va_list misuse  
							
							
							
						 
						
							2016-07-03 23:33:07 -04:00