summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* hivexml: Remove unused variable.HEADmasterRichard W.M. Jones2011-12-201-1/+0
|
* hivex: Fix Ruby bindings for 1.9; let the user explicitly choose ruby, rakeHilko Bengen2011-12-095-12/+32
|
* hivex: Added gnulib includes from builddir, as suggested by the Gnulib ↵Hilko Bengen2011-12-014-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | documentation; link hivexml against libgnu. Since some modules (`getopt', for example) may copy files into the build directory, `top_builddir/lib' is needed as well as `top_srcdir/lib'. -- GNU Gnulib manual, section 2.2 Initial import This fixes an in-tree build failure on a Debian/sid system (see below). hivexml could be built out-of-tree, but it turned out that due to a missing include path, in this case the system's getopt implementation was used insted of Gnulib's. make[2]: Entering directory `«SRCDIR»/xml' gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DLOCALEBASEDIR=\""/usr/local/share/locale"\" -I../gnulib/lib -I../lib -I/usr/include/libxml2 -g -O2 -MT hivexml-hivexml.o -MD -MP -MF .deps/hivexml-hivexml.Tpo -c -o hivexml-hivexml.o `test -f 'hivexml.c' || echo './'`hivexml.c mv -f .deps/hivexml-hivexml.Tpo .deps/hivexml-hivexml.Po /bin/bash ../libtool --tag=CC --mode=link gcc -std=gnu99 -DLOCALEBASEDIR=\""/usr/local/share/locale"\" -I../gnulib/lib -I../lib -I/usr/include/libxml2 -g -O2 -o hivexml hivexml-hivexml.o ../lib/libhivex.la -lxml2 libtool: link: gcc -std=gnu99 -DLOCALEBASEDIR=\"/usr/local/share/locale\" -I../gnulib/lib -I../lib -I/usr/include/libxml2 -g -O2 -o .libs/hivexml hivexml-hivexml.o ../lib/.libs/libhivex.so /usr/lib/libxml2.so hivexml-hivexml.o: In function `main': «SRCDIR»/xml/hivexml.c:96: undefined reference to `rpl_getopt' «SRCDIR»/xml/hivexml.c:110: undefined reference to `rpl_optind' «SRCDIR»/xml/hivexml.c:154: undefined reference to `rpl_optind' collect2: ld returned 1 exit status make[2]: *** [hivexml] Error 1 make[2]: Leaving directory `«SRCDIR»/xml'
* out of tree build: ruby (second take)Hilko Bengen2011-11-301-10/+10
|
* Version 1.3.3.1.3.3Richard W.M. Jones2011-11-2916-17/+17
|
* Update to latest gnulib (RHBZ#756981).Richard W.M. Jones2011-11-293-15/+29
|
* Revert "out of tree build: ruby"Richard W.M. Jones2011-11-291-9/+9
| | | | | | | | | | | | | This reverts commit 48d2e0d9ea5c12ae81f31706fa463f8e1ebd09af. This commit breaks the ordinary build: make[2]: Entering directory `/home/rjones/d/hivex/ruby' rake build rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+) rake/gempackagetask is deprecated. Use rubygems/package_task instead top_srcdir=$(pwd)/..; top_builddir=$(pwd)/..; export ARCHFLAGS="-arch $(uname -m)"; mkdir -p ./ext/guestfs; cd ./hivex; ruby #(EXT_CONF} --with-_hivex-include=$top_srcdir/lib --with-_hivex-lib=$top_builddir/lib/.libs sh: line 0: cd: ./hivex: No such file or directory
* out of tree build: rubyHilko Bengen2011-11-221-9/+9
|
* python: Support Python 3 (RHBZ#752916).Richard W.M. Jones2011-11-195-40/+128
|
* Fix conditional test for HAVE_HIVEXSH.Richard W.M. Jones2011-10-241-2/+3
| | | | This fixes commit 0a28041f4156878a74543966f9a72ed3d214ba44.
* Version 1.3.2.1.3.2Richard W.M. Jones2011-10-2416-347/+347
|
* regedit: Fix syntax for deleting registry keys (RHBZ#737944).Richard W.M. Jones2011-10-222-8/+8
| | | | | | | | Previously we parsed -[...] to delete a registry key, but this is not correct. It should be [-...]. Reference: http://support.microsoft.com/kb/310516 https://secure.wikimedia.org/wikipedia/en/wiki/Windows_Registry#.REG_files
* hivexml: Do not print null input timesAlex Nelson2011-09-221-0/+7
| | | | | | | Dealing with "1601-01-01T00:00:00Z" is unnecessarily awkward, especially since the value only represents a 0 found in the data. Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
* hivexsh: Conditionally build for Mac OS XAlex Nelson2011-09-072-2/+9
| | | | | | | | OS X lacks open_memstream, causing hivexsh to fail to build. This patch defines HAVE_HIVEXSH, setting the only condition to open_memstream existence. Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
* Replacement mmap function for Win32.Gillen Daniel2011-09-076-2/+160
| | | | (Updates by RWMJ)
* Add an internal hivex header file.Richard W.M. Jones2011-09-073-50/+76
|
* hivexml: Add correct casts to xmlTextWriter* function call params.Richard W.M. Jones2011-09-071-2/+2
| | | | This fixes commit 7ab64739391d60a52755250e76b0f4a03878a7e8.
* Don't include "Returns ..." in function description.Richard W.M. Jones2011-09-061-4/+2
| | | | | | | The description of what it returns is already produced by the generator. This fixes commit e85b1eaa268caea316f6aa8e02738b3d94297250.
* hivexml: Report attributes in values instead of text.Alex Nelson2011-09-061-5/+20
| | | | | | | | | Reporting value data in attributes has two advantages: * The output of hivexml breaks Python expat processing if binary data makes it out. This was observed in Software hives. * Not having child text makes room for child elements. Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
* hivex: Add metadata length functions for nodes and valuesAlex Nelson2011-09-062-0/+50
| | | | | | | | | | This patch adds hivex_node_struct_length and hivex_value_struct_length to the hivex ABI, to report the amount of hive space used for each stored structure. Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu> A fix added by RWMJ.
* hivex: Split value_key function into value_key and value_key_lenAlex Nelson2011-09-062-11/+38
| | | | | | | | | | This function breaks the value name calculation out so the name does not need to be fetched and immediately thrown away when one only needs the name. Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu> RWMJ fixed hivex_value_key handling of errno.
* generator: Add new return type to ABI: RSizeAlex Nelson2011-09-061-1/+20
| | | | | | | | This patch adds RSize, similar to RNode and RValue. Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu> OCaml bindings fixed by RWMJ.
* Include libintl.h to silence warning about bindtextdomain, textdomain.Richard W.M. Jones2011-09-063-1/+9
|
* lib/byte_conversions.h: Use bswap* functions instead of __bswap* functions.Gillen Daniel2011-09-061-10/+10
|
* Mac OS X: Run glibtoolize in absence of libtoolizeAlex Nelson2011-09-061-1/+1
| | | | Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
* Mac OS X: setlocale function requires locale.hAlex Nelson2011-09-062-0/+2
| | | | | | | In the style of libguestfs commit: 9e397cc16be51f4f3940c7a5b90d0bc43f3f13a8 Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
* Mac OS X: Detect bindtextdomainAlex Nelson2011-09-063-0/+7
| | | | | | | In the style of libguestfs commit: 7581672c7893fd392ca10b47f044af327011f502 Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
* ocaml: Fix binding for Hivex.value_typeAlex Nelson2011-08-311-1/+1
|
* Version 1.3.1.1.3.1Richard W.M. Jones2011-08-2616-17/+17
|
* hivex: Newer Python versions want parentheses around arguments of "print"Hilko Bengen2011-08-241-2/+2
|
* hivex: Fix building on platforms without O_CLOEXEC such as FreeBSDHilko Bengen2011-08-241-0/+7
|
* hivex: Don't build static library, .so.* symlinks for Python bindingsHilko Bengen2011-08-241-0/+1
|
* hivexml: Add root attribute to the root nodeAlex Nelson2011-08-161-0/+4
| | | | | | | New feature: If the root node of the XML root is the hive root node, denote with attribute/value root="1". Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
* ruby: Test against locally built library.Richard W.M. Jones2011-08-151-0/+2
|
* Prevent warning about unused variable in test.Richard W.M. Jones2011-08-151-1/+1
|
* Fix incorrect printf format specifier in error string.Richard W.M. Jones2011-08-151-1/+2
|
* hivex(3): Fix link to CSS.Richard W.M. Jones2011-08-151-1/+1
|
* Version 1.3.0.1.3.0Richard W.M. Jones2011-08-1516-63/+63
|
* Add Ruby bindings.Richard W.M. Jones2011-08-1515-24/+862
|
* header: Fix including just <hivex.h>.Richard W.M. Jones2011-08-154-1/+46
| | | | Also this adds a regression test so we don't break it in future.
* Report last-modified time of hive root and nodesAlex Nelson2011-08-133-3/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | The infrastructure for modified-time reporting has been essentially unused. These changes report the registry time by treating the time fields as Windows filetime fields stored in little-Endian (which means they can be treated as a single 64-bit little-Endian integer). This patch adds to the hivex ABI: * int64_t hivex_last_modified (hive_h *) * int64_t hivex_node_timestamp (hive_h *, hive_node_h) These two functions return the hive's last-modified time and a particular node's last-modified time, respectively. Credit to Richard Jones for the ABI suggestion, and for the tip on Microsoft's filetime time span. hivexml employs these two functions to produce mtime elements for a hive and all of its nodes, producing ISO-8601 formatted time. Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu> A lot of code cleanup by RWMJ.
* Version 1.2.8.1.2.8Richard W.M. Jones2011-08-1216-17/+17
| | | | Pushed and pulled translations from Transifex.
* More changes needed separate builddirHilko Bengen2011-08-121-3/+3
| | | | | | | This patch hopefully fixes building and installing the OCaml bindings both in-tree and out-of-tree. -Hilko
* More changes needed separate builddirHilko Bengen2011-08-121-0/+1
| | | | | | | Here's the fix for perl. Both in-tree and out-of-tree build and install worked. -Hilko
* hivex: A few tweaks to enable building in a separate directoryHilko Bengen2011-08-117-14/+18
| | | | A couple of fixes by RWMJ so it still works in the same directory case.
* Correct 32-bit to 64-bit callAlex Nelson2011-08-111-1/+1
|
* perl: Fix CCFLAGS on Perl 5.14.Richard W.M. Jones2011-07-222-1/+3
| | | | | | | | | | | | | | | | | | | | A change to ExtUtils::CBuilder in Perl 5.14 causes CCFLAGS to completely replace, rather than appending, the C flags. The unfortunate consequence of this is that vital flags such as -D_FILE_OFFSET_BITS=64 are missing. For 32 bit code, this means you get binary-incompatible code that completely fails to load. For further analysis see: http://www.nntp.perl.org/group/perl.perl5.porters/2011/04/msg171535.html This commit changes CCFLAGS so that it appends to the existing $Config{ccflags} instead of replacing it. On earlier versions of Perl this means we get two copies of the flags, which is unfortunate but should be safe. Also, ignore MYMETA.yml file produced by Perl 5.14.
* Close the file descriptor along the writable path.Michael Huang2011-07-111-1/+11
| | | | | Since the file has been completely read into memory, there is no reason to keep the file descriptor open.
* Sort m4/.gitignore file.Richard W.M. Jones2011-06-291-18/+21
|
* maint: add cfg.mk to prepare for syntax-check testsJim Meyering2011-06-291-0/+21
| | | | | | | * cfg.mk: New file, to tell maint.mk which syntax-checks to skip for now, where .gnulib/ is, to exempt images/minimal from one of the tests and to exempt sh/hivexsh\.pod from another. Also exempt lib/gettext.h from sc_useless_cpp_parens.