summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version 1.16.13.1.16.13Richard W.M. Jones2012-03-3020-6991/+7008
|
* test: Thread function is a candidate for attribute noreturn.Richard Jones2012-03-301-3/+1
| | | | | | The start_test_thread function never returns, it is always cancelled by the main thread. (cherry picked from commit b9cb387a109f4d09cdef84a62194201e78f97cb7)
* Partially revert "generator: Fix unescaped '<' and '>' in api descriptions"Richard Jones2012-03-301-5/+5
| | | | | | | Don't escape < and > in verbatim sections. This partially reverts commit 09a4e7664b59789f90b6674f640f9d688e4f8b43. (cherry picked from commit d67da6419ac025db7c48f82054d7153b2c71481d)
* Fix out-of-tree build for GObject bindingsHilko Bengen2012-03-301-1/+1
| | | | | | | | | | | guestfs-gobject.h (in the source directory) was not found. In file included from <stdin>:4:0: /path/to/libguestfs/gobject/guestfs-gobject.h:23:37: fatal error: guestfs-gobject-session.h: No such file or directory compilation terminated. Error while processing the source. make[2]: *** [Guestfs-1.0.gir] Error 1 (cherry picked from commit 0c9361a3568c23581ab43cb926fe138669c4b168)
* Fix out-of-tree build for Java bindingsHilko Bengen2012-03-301-2/+2
| | | | (cherry picked from commit 4db251048bd0aca2b98247109f00e68c2080a71c)
* Fix out-of-tree build for applianceHilko Bengen2012-03-301-1/+1
| | | | (cherry picked from commit 17c828d99550da31c33cc8a7e0f874dd651ded19)
* java: Delete target file before running javah.Richard Jones2012-03-301-0/+1
| | | | | | | javah from old GNU classpath won't overwrite the target *.h file, instead leaving the old one which results in a predictable build failure. Delete the target so this won't happen. (cherry picked from commit 4d0aa08b000743cb523792d0824f2514e2e45ffa)
* fish: Fix compilation when libconfig is not available.Richard Jones2012-03-301-2/+2
| | | | (cherry picked from commit 5ea27d740eb9a7a2fe666dd9ffa70114c0c42756)
* Don't provoke -Wstrict-overflow warning from map_app_md_devices function.Richard Jones2012-03-301-2/+2
| | | | | Unclear if this is a real bug or not. (cherry picked from commit 3d174b39bff6118bca3068c20ff874924cbfa1fd)
* Work around -Wstrict-overflow warning on gcc 4.5.1.Richard Jones2012-03-301-1/+5
| | | | (cherry picked from commit f2fae5151f33e933f4d574dc4324b7a8a2ee393c)
* m4: Update .gitignore for old Fedora.Richard Jones2012-03-301-0/+2
| | | | (cherry picked from commit b169b03dd42b82218c7241f33425c27660e4bdae)
* configure: Don't fail if GOBJECT_INTROSPECTION_CHECK is not defined.Richard Jones2012-03-301-9/+14
| | | | (cherry picked from commit 8111b108d224dda868f257ac0ef23838991b3594)
* tests: Don't include internal guestfs header in tests.Richard W.M. Jones2012-03-301-1/+10
| | | | (cherry picked from commit f35aadcd86a081756b35c1eb4326a9d23e82f21e)
* Ignore guestfs.pyo.Richard W.M. Jones2012-03-301-0/+1
| | | | | This fixes commit e8ef35df267de6fd6308d0c49a6bdef41113cf19. (cherry picked from commit a138063acb32f6fccfef24381a9c61f08d68ea74)
* Only ignore guestfs.* at the top levelMatthew Booth2012-03-301-1/+1
| | | | | | The guestfs.* rule appears to be for temporary appliance directories, which are only at the top level. It was matching more than that. (cherry picked from commit e8ef35df267de6fd6308d0c49a6bdef41113cf19)
* generator: Remove doc reference to non-existent guestfs_inotify_watch_allMatthew Booth2012-03-301-4/+2
| | | | (cherry picked from commit 13e5f1a3b1f6493ea5e576bdd607aedc2c7ddc82)
* generator: Fix unescaped '<' and '>' in api descriptionsMatthew Booth2012-03-301-4/+5
| | | | (cherry picked from commit 09a4e7664b59789f90b6674f640f9d688e4f8b43)
* fuse: Fix documentation for call to virt-filesystems.Richard W.M. Jones2012-03-301-1/+1
| | | | | virt-filesystems requires -a/-d option. (cherry picked from commit f5c31db5ed4225c263e6f508a85f38aa80411c0e)
* df: Avoid a compilation error if libxml2 is not available.Richard W.M. Jones2012-03-303-4/+4
| | | | | | | | | | | virt_df-domains.o: In function `add_domain': /home/feeliwood/Downloads/libguestfs-1.17.21/df/domains.c:274: undefined reference to `guestfs___for_each_disk' guestfs___for_each_disk is only available when libvirt _and_ libxml2 dependencies are available at compile time. Thanks Tho Huynh. (cherry picked from commit f1d10672c7da94f8983b3b5d434e64b127da1242)
* Version 1.16.12.1.16.12Richard W.M. Jones2012-03-2318-23/+32
|
* Remove references to obsolete directory appliance/debian.Richard W.M. Jones2012-03-232-2/+0
| | | | | This directory has not existed for a long time. (cherry picked from commit fc198a3b9aeaa76ee7d6ffc27402d25a4379dbbd)
* generator: Generate a .gitignore file specifically for java structs.Richard W.M. Jones2012-03-214-12/+16
| | | | (cherry picked from commit 65ebec4a7a70cd179e4c39d72f539e500931c267)
* daemon: Set last errno to ENOTSUP when APIs are not available.Richard W.M. Jones2012-03-211-4/+6
| | | | (cherry picked from commit f62db21d8babc14d580f754b0bf4d0cbe3c5bc9d)
* daemon: Add reply_with_error_errno function.Richard W.M. Jones2012-03-212-6/+7
| | | | | | | This function allows you to pass an explicit errno back to the library. reply_with_error is redefined as a macro that calls reply_with_error_errno with errno == 0. (cherry picked from commit 7526df547c5bea9a0cb4370ca022e413388dce2e)
* inspection: Set last errno to ENOTSUP when inspection APIs are not available.Richard W.M. Jones2012-03-211-1/+1
| | | | | | | | | | | | | | | | Previously there was no programmatic way to tell if inspection APIs were unavailable because they are not compiled in (because hivex isn't around). This contrasts with daemon APIs where the availability is covered by the guestfs_available API. Change the inspection APIs so that when they are not available, the last errno is set to ENOTSUP. (Note that ENOTSUP must be defined on all POSIX platforms). This allows programs to detect if they are using a version of libguestfs that was compiled without support for inspection, without having to parse error messages. (cherry picked from commit c7dff02ccbb6bbe505c73df5d83bea8afdc188c3)
* po-docs: Rename LINGUAS -> linguas (RHBZ#804464).Richard W.M. Jones2012-03-211-4/+5
| | | | (cherry picked from commit e1ffb1011566ec68246df33ca42774b44ad5006c)
* Version 1.16.11.1.16.11Richard W.M. Jones2012-03-1620-627/+1209
|
* generator: Sort camel-case structs.Richard W.M. Jones2012-03-162-6/+7
| | | | (cherry picked from commit 14938b46a74467d0e4b1cd076ffd7fcbf06c26eb)
* generator: Fix CompareWithString test.Richard W.M. Jones2012-03-161-1/+1
| | | | | | This type of test was not used, and in fact the generated test simply didn't work. (cherry picked from commit 6bee63beb45678ff937593af59748dfceacdc608)
* generator: Fix FUInt{32,64} struct field types.Richard W.M. Jones2012-03-161-2/+4
| | | | | | | We were not using an unsigned type in the XDR. This doesn't affect data integrity or the protocol, but it makes it more complicated for the daemon to set these fields. (cherry picked from commit c8630300b8ab46c668da1c8d5c1cdb9d1e3a4552)
* daemon: Don't call reply_with_* after split_lines fails.Richard W.M. Jones2012-03-162-6/+2
| | | | | | split_lines already sets reply_with_*, so calling it again would lose protocol synchronization. (cherry picked from commit 710ec49bac8bce10bfc0b9ba4b34d877c22f7287)
* inspect: Fedora/RHEL CDs are multipart if totaldiscs > 1, not > 0.Richard W.M. Jones2012-03-161-1/+1
| | | | (cherry picked from commit 974dffc6769b732befe85bcd8f614b9600927631)
* inspect: Add comment documenting findings of RHEL 5, 6 install CDs.Richard W.M. Jones2012-03-161-0/+58
| | | | (cherry picked from commit 5749de39c2b44644662fb176784731bce851b828)
* sparsify: Add a note about encrypted disks to the man page.Richard W.M. Jones2012-03-161-1/+2
| | | | (cherry picked from commit 1c1ecb2c419382f1677501b22cb98a06c7abe9a9)
* sparsify: Unlink temporary overlay file if user presses ^C.Richard W.M. Jones2012-03-161-1/+5
| | | | | | Add a signal handler so this potentially large temporary file is removed when the user hits ^C. (cherry picked from commit 7283a5a2765c0670e9dceec70e626a49a30d269c)
* sparsify: Use zero-device instead of dd if=/dev/zero to zero device.Richard W.M. Jones2012-03-161-5/+3
| | | | | | zero-device is more efficient in general, and avoids writing to blocks which are already zero. (cherry picked from commit 8c9f6a64be9840a955e481e932f13d005c0de0de)
* sparsify: Only print qemu-img command if verbose.Richard W.M. Jones2012-03-161-1/+1
| | | | (cherry picked from commit 7934ea2395d2a417fbc20efc22573113f7ae9d7a)
* inspect: Ignore missing HKLM\SYSTEM\MountedDevices (RHBZ#803664).Richard W.M. Jones2012-03-161-4/+6
| | | | | | | When a Windows guest doesn't have a HKLM\SYSTEM\MountedDevices node, inspection fails. However inspection should not completely fail just because we cannot get the drive letter mapping from a guest. (cherry picked from commit 91cede3465cd2496a01a89d5c8815df7c326c2ec)
* inspector: Update man page to describe how to access inspection info from ↵Richard W.M. Jones2012-03-161-6/+112
| | | | | | other languages and guestfish. (cherry picked from commit 2bc922dd8e12bcf05e0aeef8a8b60b6aab9ee915)
* Add guestfsd.suppressions file to EXTRA_DIST.Richard W.M. Jones2012-03-141-2/+3
| | | | (cherry picked from commit c23f3b8e527bde9a83dd7ae24273db6da87a7268)
* java: Make sure generator is rerun when necessary to rebuild generated files.Richard W.M. Jones2012-03-141-9/+7
| | | | (cherry picked from commit 13e7a1b400b7e2a5e9335d25205b09e74c89d858)
* appliance: Enhance --enable-valgrind-daemon with a suppressions file.Richard W.M. Jones2012-03-143-3/+26
| | | | | This lets us suppress errors in system libraries. (cherry picked from commit 302309921a8cde83eb19a7c25b7ee43932b91a05)
* daemon: When copy subprocess fails, print return code.Richard W.M. Jones2012-03-141-1/+1
| | | | | Useful for debugging. (cherry picked from commit 5da61d30520315a7d5060137a6c109f2109a7631)
* Version 1.16.10.1.16.10Richard W.M. Jones2012-03-1320-6492/+6540
|
* Fix strict-overflow bugs and reenable this warning.Richard W.M. Jones2012-03-132-4/+4
| | | | | | | | | In two places, we were counting things in an array using an 'int'. In theory, the int could overflow, so gcc determines this to be undefined behaviour. The fix is to use size_t or ssize_t instead. (cherry picked from commit d66dd2260c724bdfe57a8595aac37c8e9173cee5)
* fish: Rename tests and make test paths relative.Richard W.M. Jones2012-03-1315-49/+49
| | | | | | | | | | | When these tests were originally in the old regressions/ directory, they used to refer to guestfish via the path '../fish/guestfish'. Some of the tests were also called 'test-guestfish-*'. Now that the tests have been moved into the fish/ directory, neither of these things make sense. So change the relative path to './guestfish' and rename all 'test-guestfish-*' as 'test-*'. (cherry picked from commit 1f603bfd6d7cd17e88f737a496b7e5ee053750c2)
* tests: Remove/fix unused variables warnings.Richard W.M. Jones2012-03-132-1/+1
| | | | (cherry picked from commit 2c8ead5aa0e6b821bf2d21a89e437e9a6c0ed1ca)
* tests: Remove unused variable.Richard W.M. Jones2012-03-131-1/+0
| | | | (cherry picked from commit 099e3dd9f129e05bff5512855ea89530a7999004)
* erlang: Remove unused variables.Richard W.M. Jones2012-03-131-2/+0
| | | | (cherry picked from commit 6292e630da080eb5d3427af6190eb68fe4eb1415)
* format: Remove unused variables.Richard W.M. Jones2012-03-131-1/+1
| | | | (cherry picked from commit e9e0920c00c55894358559bcdbd89d55cbb66d2a)