Petr Mrázek
837ea52c22
Fix windows/wine version information bugs related to processes without a PE header.
2011-03-31 05:39:12 +02:00
Petr Mrázek
6cd08c3f31
Suspend all DF threads on Windows.
2011-03-31 01:14:08 +02:00
Petr Mrázek
75b44ba33b
Fix possible bug in zero length C string reading
2011-03-28 02:13:32 +02:00
Petr Mrázek
cfd309bf70
fix C string idiocy.
2011-03-28 02:09:13 +02:00
Petr Mrázek
635e1998ee
Stop DFVector from accessing VersionInfo in the constructor (slight optimization).
2011-03-25 06:40:33 +01:00
Petr Mrázek
c223bb858f
Added MapExtras, ported dfliquids to MapCache. Fixed vein non-ident bug in dfvdig.
2011-03-11 03:09:45 +01:00
Petr Mrázek
803269122f
... What The Hell ?
2011-02-24 21:34:51 +01:00
Petr Mrázek
820acc7483
Windows fixes
2011-02-24 21:32:12 +01:00
Petr Mrázek
97bfa32a82
More cleanup in the Process lands.
2011-02-24 11:43:33 +01:00
Petr Mrázek
79b78673e5
Fix build on MSVC
2011-02-24 01:32:15 +01:00
Tom Prince
4806318494
Factor out microsoft string handling functions.
2011-02-23 15:55:07 -05:00
Tom Prince
aac3056b12
Get rid of NormalProcess::Private on windows.
2011-02-23 15:27:15 -05:00
Tom Prince
63ab8672d3
Add create*Process functions to create process instances.
...
This allows us to remove friendship of DFProcessEnumerator for Process
subclasses.
2011-02-23 06:13:10 -05:00
Tom Prince
b3c490857c
Refactor DFProcess-linux-{,wine}.cpp into DFProcess-linux-base.cpp.
2011-02-23 06:11:28 -05:00
Tom Prince
9b854be327
Remove duplicate code implementing readInt.
...
Implement one version in terms of the other.
2011-02-23 02:04:29 -05:00
Tom Prince
6ca0dd7c1d
Fix Process class.
2011-02-23 04:01:07 +01:00
Petr Mrázek
1c8249c55a
Mingw32 fixes
2011-02-18 01:14:16 +01:00
Petr Mrázek
3835ba0f75
Search tools run on windows and moved to supported, some windows segment/heap/PE section enumeration work.
...
New windows dependency: ntdll.lib
2011-02-14 03:58:32 +01:00
Petr Mrázek
e958b8432a
More work on windos VM map method (compiles, needs testing), some MSVC 2010 nonsense warnings disabled.
2011-02-12 10:26:36 +01:00
Petr Mrázek
d16bee48d2
Merge branch 'master' of github.com:peterix/dfhack
2011-02-08 22:57:14 +01:00
Petr Mrázek
5bed6c5949
Sync, autosearch skeleton.
2011-02-08 22:55:40 +01:00
Petr Mrázek
7676120dc8
Windows VM ranges (not tested)
2011-02-08 15:34:34 +01:00
Petr Mrázek
130d965494
TODO use VirtualQuery
2011-02-08 14:34:43 +01:00
Petr Mrázek
9ac7c1a9f2
memory.xml invalidation (untested)
2010-11-08 00:10:59 +01:00
belal
026a2eb94e
Merge branch 'master' of git://github.com/peterix/dfhack into belal
2010-09-22 10:42:22 -04:00
Petr Mrázek
dfdd1467ff
Offset stuff
2010-09-18 04:36:14 +02:00
belal
3dfbc5fb21
update widows getPath to only output the path, not the path and exe filename, to correspond with the linux versions
2010-09-16 21:44:38 -04:00
belal
040f8f7b7a
Add function to get the current working directory of the DF process, as well as offsets for the relative paths of the current tileset and color file, also created a simple program to dump those three things out
2010-09-12 21:38:21 -04:00
Petr Mrázek
143f30f64b
Merge branch 'master' of http://github.com/sizeak/dfhack
...
Conflicts:
library/VersionInfo.cpp
2010-08-23 16:16:58 +02:00
Petr Mrázek
1bceac2343
Rename memory_info and its factory class.
2010-08-20 14:10:05 +02:00
Petr Mrázek
a159707250
Fix memleak with Context not cleaning up.
2010-08-14 01:25:18 +02:00
Petr Mrázek
af1a41712e
Tiny fixes.
2010-05-26 17:54:30 +02:00
Petr Mrázek
04b71f154c
Fun and games. Also turning old DFWindow class into a module tracked by Context.
2010-05-26 12:24:45 +02:00
Petr Mrázek
966a145b3e
Moving stuff around, part 3
2010-05-26 08:42:09 +02:00
Petr Mrázek
b710ed687a
Moving stuff around, part 2
2010-05-26 06:48:23 +02:00
Petr Mrázek
c26da9b84c
More DF 2010 reorganization
2010-04-02 16:46:33 +02:00
Petr Mrázek
71fc49897f
Accelerated creatures work on Windows
...
Refactored vector reading, proper length of vectors from MSVC9 is known (0x18, triplet starts at 0xC)
2010-03-30 02:26:52 +02:00
Petr Mrázek
6522d0c498
Even more fixes for random crashes in some less common cases (DF in the menu, etc...)
2010-03-26 13:38:49 +01:00
Petr Mrázek
5c4ef73f4d
Merge branch 'shm-only'
2010-03-09 15:31:44 +01:00
Petr Mrázek
f0087926c5
Revert "Nuked many Process classes. Only SHM remains. We'll see how it goes :)"
...
This reverts commit b3424418e6
.
Conflicts:
library/DFProcess-linux-SHM.cpp
library/DFProcess-windows-SHM.cpp
library/DFProcess.h
library/DFProcessEnumerator-linux.cpp
library/DFProcessEnumerator-windows.cpp
Minor manual changes were required.
2010-03-09 15:15:15 +01:00
belal
0c8c1d0eec
Modified Memory.xml to support all d# versions, modified Vtable meminfo reading, so it auto-resolves all vtables now, so you should never have to do any rebasing or anything. Fixed some bugs in windows meminfo as well
2010-03-07 21:00:31 -05:00
Petr Mrázek
b3424418e6
Nuked many Process classes. Only SHM remains. We'll see how it goes :)
2010-03-02 01:18:34 +01:00
Petr Mrázek
c4cb3afd0b
Fix for Windows exceptions
2010-02-28 19:59:07 +01:00
Petr Mrázek
1e04722a63
Refactor of memory_info class, now with more d-pointer
2010-02-22 23:34:20 +01:00
Petr Mrázek
f71fef9ef5
Process::readClassName implemented
2010-02-19 02:48:03 +01:00
Petr Mrázek
56969fb977
Added std::string read/write by belal. Extremely volatile.
2010-02-16 00:04:15 +01:00
Petr Mrázek
7c784bce32
deadlock-filled windows SHM version
2010-01-11 06:27:59 +00:00
Petr Mrázek
91f64ac8ba
iteration for huge reads and writes, async suspend call for polling
2010-01-02 02:25:21 +00:00
Petr Mrázek
efce0ab21b
merge in shm branch
2009-12-22 21:19:39 +00:00
Petr Mrázek
5c93d339db
got rid of many temporary objects in string reading
2009-11-24 10:34:42 +00:00