summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version 1.16.29.1.16.29Richard W.M. Jones2012-08-051-1/+1
|
* fuse: guestmount doesn't let you pass '-- [FUSE options]'.Richard W.M. Jones2012-08-051-1/+1
| | | | | | | I don't think it ever did, so the --help text was always wrong, and definitely didn't match the real behaviour of the program. (cherry picked from commit 87602b09ead198bd84c0dac83fde2d1c3dfe55bd)
* ruby: Mark all VALUEs as volatile.Richard W.M. Jones2012-08-051-15/+26
| | | | (cherry picked from commit 083125f709c8ca6ec56abf99df918e70376a99bd)
* fish: Fix 'copy-out /' (RHBZ#845522).Richard W.M. Jones2012-08-051-0/+16
| | | | (cherry picked from commit 2a87261dfc830cd6bcb44aa1628d955cb6423bd7)
* Document problems copying long filenames from NTFS to Linux filesystems ↵Richard W.M. Jones2012-08-051-0/+22
| | | | | | (RHBZ#845488). (cherry picked from commit 7fa67427c6b2725bdcce52c08511f8813b7bd42e)
* build: On x86 search for qemu-system-i386 not qemu-system-i686.Richard W.M. Jones2012-08-051-1/+2
| | | | | | host_cpu can be set to i686. The qemu binary is called qemu-system-i386. Apply some sed to fix this. (cherry picked from commit f21b866f3141bb85ebf93ccf0c906ab0b73960f9)
* build: Allow building with new glibc headers and -O0.Eric Blake2012-08-051-2/+5
| | | | | | | This is a patch taken from libvirt. See: http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=2af63b1c349 (cherry picked from commit 06780a92b3e4ea14c09a169cc1d22c1371621fc3)
* appliance: Exclude kernel* packages explicitly.Richard W.M. Jones2012-08-051-4/+9
| | | | | | febootstrap >= 3.19 will no longer exclude the kernel package by default. (cherry picked from commit 77326fa4ad757bb255a3c3a07bef8c3ce050a5ac)
* ruby: Allow optional arguments hash to be really optional.Richard W.M. Jones2012-08-051-38/+59
| | | | | | | | | | | | | | | Allow optargs functions to be called as either: g.mkfs_opts(fs, device) or: g.mkfs_opts(fs, device, { optargs hash }) This also preserves backwards compatibility with once_has_no_optargs functions such as mkfs. (cherry picked from commit 0f837ec068783a6318ba6f7490b567566bce2aa4)
* ruby: In event wrapper, ignore callback functions which have type T_ZOMBIE.Richard W.M. Jones2012-08-051-2/+7
| | | | | Note that in old versions of Ruby, T_ZOMBIE was not defined. (cherry picked from commit 5f30912d74a553399d2bda055560d4340a15088d)
* sparsify: Change code that generates qemu-img -o argument.Richard W.M. Jones2012-08-051-7/+9
| | | | | This is just code motion. (cherry picked from commit 0b3b5f984c2011632c6d56e5f0ae1194d2c5074b)
* fish: Use minimal permissions when initially creating history fileMatthew Booth2012-08-051-1/+1
| | | | (cherry picked from commit 1fb95e65661f19c050b928694f750f2406eff2ac)
* Mac OS X: Use libtool --mode=execute instead of LD_LIBRARY_PATHMasami HIRATA2012-08-051-7/+7
| | | | | | | | because Mac OS X doesn't support LD_LIBRARY_PATH Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit 61c9ea496e0579bb7d1bcf496595d66c3f08cfec)
* Mac OS X: Use gnulib stat-time module explicitly.Masami HIRATA2012-08-051-0/+1
| | | | | Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit 7d3f190d90140aa15b1326bdf7756c39559ae3c2)
* Mac OS X: #define UNIX_PATH_MAX 104Masami HIRATA2012-08-051-0/+4
| | | | | | | See http://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man4/unix.4.html Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit 7dab20876530a7ac954b4fe809755ac12a8d8c4d)
* Mac OS X: Added check of #include <endian.h>Masami HIRATA2012-08-057-0/+21
| | | | | | | Mac OS X doesn't have endian.h Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit 6e3f8d2511a63bdcfa7c7d0e5414d5643c4ff599)
* Mac OS X: Use gnulib fstatat module explicitly.Masami HIRATA2012-08-052-0/+2
| | | | | Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit a47fa7a65e89d80ba1362b39cb9686e5022b7dce)
* Mac OS X: Use gnulib memmem module explicitly.Masami HIRATA2012-08-052-0/+2
| | | | | | | m4/.gitignore: Update. Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit d6ef91d7c4b6cfbd9e4d49317dc7ed414900c4d2)
* configure: Use $(PERL) instead of perlMasami HIRATA2012-08-051-10/+10
| | | | | Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit ef1a8446a659fe3647d755334703a1020a0f88dc)
* tests: Skip regression test for 790721 if attach-method is not 'appliance'.Richard W.M. Jones2012-08-051-0/+25
| | | | (cherry picked from commit 2b059535b19125ca082f4354a7ff73f4f5a33822)
* lib: Initialize libvirt and libxml2 once when the library loads.Richard W.M. Jones2012-08-052-11/+36
| | | | (cherry picked from commit 941ec968b8a1d6f891d30631a8ddb1e23e427b99)
* python: Set file encoding to utf-8.Richard W.M. Jones2012-08-051-0/+5
| | | | (cherry picked from commit a6366f5dae0e8332cfdad0894aa6e5c7fc3faa2c)
* tests/protocol: Skip these tests if default attach-method is not 'appliance'.Richard W.M. Jones2012-08-053-0/+15
| | | | (cherry picked from commit bc917a0efc03b8c28966c9ab474f525752ebe440)
* java: Set '-encoding utf8' for javac and javadoc commands.Richard W.M. Jones2012-08-052-2/+3
| | | | (cherry picked from commit 7a691e6665ed5079e6baa000c9c475f32ca78475)
* java: JAVAC_FLAGS -> EXTRA_JAVAC_FLAGS.Richard W.M. Jones2012-08-053-4/+8
| | | | | | This is just a rename. (cherry picked from commit 7f519bdc06de978c2460112a88e8bfac5f292dee)
* lib: Use safe_asprintf when constructing attach_method.Richard W.M. Jones2012-08-052-6/+2
| | | | | Just a small code cleanup / simplification. (cherry picked from commit eca544d87d9335123077e30b7547270b6bfe0f2b)
* fish: Rename fish/virt.c to fish/domain.cRichard W.M. Jones2012-08-0511-19/+19
| | | | | | This file handles the -d option for guestfish and other C command line utilities. Renaming this file makes it less confusing. (cherry picked from commit 6054051a9d8a5eee4141ca4b12aa5b7d1f36f56d)
* build: Rename src/virt.c to src/libvirtdomain.cRichard W.M. Jones2012-08-053-2/+2
| | | | | | This file contains the code implementing guestfs_add_domain (for adding a libvirt domain) so this name is less confusing. (cherry picked from commit d1d29ab488002dda9e9a1b25fc2dbe4cb844f5ef)
* Remove references to long-obsolete Ocaml_inspector module from .gitignore.Richard W.M. Jones2012-08-051-2/+0
| | | | | Cherry picked from commit a8b4ea1f0c173ab5662a4d0d084f0affb972c94e.
* podwrapper: Fix setting of GIT_DIR in git subcommand.Richard W.M. Jones2012-08-051-1/+2
| | | | | This fixes commit 1e17a32060feb937b3972f61b37f9116ad7d8d9a. (cherry picked from commit f514d462cda5395c8614577930ee69eebafc969d)
* license: Use latest license files from gnu.org.Richard W.M. Jones2012-08-052-105/+125
| | | | | | | | COPYING from https://www.gnu.org/licenses/gpl-2.0.txt COPYING.LIB from https://www.gnu.org/licenses/lgpl-2.1.txt (Note this change shouldn't alter the licensing of libguestfs) (cherry picked from commit 805d6425655abe1450567786ee4b887b23022a3c)
* gnulib: Don't include or run getlogin_r test (thanks Jim Meyering).Richard W.M. Jones2012-08-051-1/+5
| | | | | | See: https://lists.gnu.org/archive/html/bug-gnulib/2012-07/msg00194.html (cherry picked from commit 6e1b5f0feac50a498cb7319e5051a251877fe682)
* build: Return 77 from skipped tests.Richard W.M. Jones2012-08-0514-20/+20
| | | | (cherry picked from commit fc86db3b3bcd884ee37cef79e22b0324df9fcae6)
* tar-in: Add --no-same-owner flag to tar command when target filesystem ↵Richard W.M. Jones2012-08-051-3/+54
| | | | | | | | | | | | | | | | | doesn't support chown (RHBZ#840572). When using tar-in or tools built around it such as virt-make-fs, if the target filesystem is vfat then unpacking the tarball would fail because tar tries to chown(2) files and fails. You would see errors such as: tar: <file>: Cannot change ownership to uid 500, gid 500: Operation not permitted This change detects whether the target filesystem supports chown(2). If not, it adds the --no-same-owner flag to tar to stop it from trying to change the ownership of newly created files. (cherry picked from commit 50780a84f65ec5d76605691cea889392c2730f54)
* daemon: Make 'random_name' into a utility function.Richard W.M. Jones2012-08-052-0/+48
| | | | | | | This is mostly code motion, although the precise contract of this function changes slightly to make it more generally useful (cherry picked from commit 781857a86b3bc8238995a9212ea09aa368fc2fc9)
* virt-make-fs: Suggest guestfish for complex layouts in man page.Richard W.M. Jones2012-08-051-1/+2
| | | | (cherry picked from commit 9c2b9c2df6c3c10b090d71bc808d755dbf625cbe)
* build: Change how make.sh, packagelist, excludelist are updated.Richard W.M. Jones2012-08-051-6/+9
| | | | | | | Add proper dependencies for these files, but also use 'cmp' to ensure they only get overwritten if the new files have actually changed, so we don't rebuild the appliance unnecessarily. (cherry picked from commit b25aea33fa314857c8094e09af9654f925fb935f)
* augeas: make functions as noreturnWanlong Gao2012-08-051-14/+14
| | | | | | | Just make gcc happy. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> (cherry picked from commit 2f89f584c0203023f8a829ff9796dc2c14ddeb68)
* podwrapper: Use UTF8 in output, send errors to stderr.Richard W.M. Jones2012-08-051-1/+2
| | | | | This fixes commit 1e17a32060feb937b3972f61b37f9116ad7d8d9a. (cherry picked from commit 8e75e21b23f18ec0b0fa4f07f96c31dd56a50f25)
* case_sensitive_path: Allow trailing path element to be missing (RHBZ#840115).Richard W.M. Jones2012-08-052-16/+25
| | | | | | | | | | | | | | case_sensitive_path is undefined when the final path element doesn't exist. Currently it returns an error, but this means that creating a new file doesn't work as expected: $ guestfish --rw -i -d windows touch 'win:c:\blah' libguestfs: error: case_sensitive_path: blah no file or directory found with this name We should allow this case (provided there is no trailing slash) so that new files or directories can be created. (cherry picked from commit 973581780d8a006f336684fef6762801402d775d)
* case_sensitive_path: Move variables to top of function.Richard W.M. Jones2012-08-051-6/+8
| | | | | | This is just code motion. (cherry picked from commit ac0373bdecfabe6acf99d3662e5117de73fa2aef)
* docs: Use L<...> for links.Richard W.M. Jones2012-08-054-30/+26
| | | | | | Instead of working around bugs, podwrapper has been fixed so that links work in all output formats. (cherry picked from commit 4bc110e2bc738bde9b9c09bc602ef13c06b60e90)
* podwrapper: Subclass Pod::Man so we can fix the way links are generated.Richard W.M. Jones2012-08-051-5/+22
| | | | (cherry picked from commit 182b4a66609ffd5366575d72351cd8174cf68145)
* podwrapper: Define $VERSION in subclass.Richard W.M. Jones2012-08-051-1/+2
| | | | | | The superclass sometimes uses this and will give an undefined error if it's missing. (cherry picked from commit 9967ad3fa13178c70afd5da77f77a4115808733d)
* podwrapper: Tidy up the program name.Richard W.M. Jones2012-08-051-21/+26
| | | | | | | | Messages now look like this: podwrapper.pl: wrote guestfs-examples.3 podwrapper.pl: wrote ../html/guestfs-examples.3.html (cherry picked from commit 60c42dd2a1a173ec1161502762bc33ae7a1cf190)
* perl: In examples, call $g->shutdown, $g->close.Richard W.M. Jones2012-08-052-2/+4
| | | | (cherry picked from commit f6846d74c947bd8b711ef0b29148fa1e90580354)
* perl: Use $g instead of $h in documentation.Richard W.M. Jones2012-08-058-80/+80
| | | | | | $g is the "standard" name for libguestfs handles. (cherry picked from commit a99ea198b24745c49cdb42645c3497ac3b0e6a2f)
* docs: febootstrap is in section 8 of the manual, not section 1.Richard W.M. Jones2012-08-051-1/+1
| | | | (cherry picked from commit 8d0baf7b859fbbe40bdb072b2009d77c02cee7c3)
* Replace podwrapper shell script with custom Perl script.Richard W.M. Jones2012-08-055-249/+390
| | | | | | | | | | This uses Pod::Simple so it properly parses the input POD and can generate proper custom output as required specifically by libguestfs. One immediate benefit is that links between and within manual pages now work mostly correctly. (cherry picked from commit 1e17a32060feb937b3972f61b37f9116ad7d8d9a)
* Fix pod.css for new HTML output from Perl 5.16.Richard W.M. Jones2012-08-051-9/+9
| | | | | | There used to be a <div> around the table of contents, but that is no longer present. (cherry picked from commit 0bf1e5b6650e71434430bf119b486a779516886d)