summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-5/+9
| | | | | This is just a rename. (cherry picked from commit 7f519bdc06de978c2460112a88e8bfac5f292dee)
* fuse:remove the unused macro when fuse is not availableWanlong Gao2012-08-051-1/+1
| | | | | | | Just make gcc happy when fuse is not available. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> (cherry picked from commit a58368b3db4f02b9fd907cec82621be11884d256)
* ocaml: Skip mount-local test if /dev/fuse is not writable.Richard W.M. Jones2012-08-051-0/+8
| | | | (cherry picked from commit 184b9d7c11f771a74c981f739c28fa0713f3e3e7)
* 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)
* build: Rename most C files that contain underscore with dash.Richard W.M. Jones2012-08-0534-16710/+21822
| | | | | | | | | | | | | | This is just code motion. Some files cannot be renamed. Notably rpcgen input and output files must not contain dash characters, else rpcgen breaks. Cherry picked from commit 2e4089f30007e79bc157c775cfd3b326d22f2992 and modified so that conflicts in the following files: po-docs/ja.po po-docs/libguestfs-docs.pot po-docs/uk.po were resolved by simply copying the files from the master branch.
* 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)
* build: Arrange libguestfs_la_SOURCES in order.Richard W.M. Jones2012-08-051-1/+1
| | | | (cherry picked from commit d88f4ca634685f9aefab1a283f03646e32ba4a25)
* 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-0520-29/+29
| | | | (cherry picked from commit fc86db3b3bcd884ee37cef79e22b0324df9fcae6)
* ocaml: Test mount-local, without parallel test.Richard W.M. Jones2012-08-055-115/+22
| | | | | | | | | | | Unfortunately the parallel test keeps hitting this bug: https://bugzilla.redhat.com/show_bug.cgi?id=838081 which could be a bug in the OCaml runtime. Just test simple mount-local. We will write a parallel test in C to replace this. (cherry picked from commit eef11f33f9f14d3706b681bd4e23e334fcc9b791)
* 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-053-30/+51
| | | | | | 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-055-31/+27
| | | | | | 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)
* configure: Make generated files read-only.Richard W.M. Jones2012-08-051-3/+3
| | | | | Some of the generated files anyway. (cherry picked from commit 3a442e66170518f725b92a1041546d81fde95492)
* build: Change calls to podwrapper.sh to use $(PODWRAPPER).Richard W.M. Jones2012-08-0526-44/+48
| | | | | | This will allow us to easily change the location of this script in future. (cherry picked from commit f2ea617e224cd82496e56a41b5878063d6f02e3d)
* virt-make-fs: Recognize "msdos" as a partition or filesystem type.Richard W.M. Jones2012-08-051-2/+6
| | | | | Set MBR partition type byte accordingly. (cherry picked from commit 24b7979ea25cbe5f08494cc4580c1341e78e090e)
* Revert "ocaml: Calling Gc.compact before g#mount_local works around ↵Richard W.M. Jones2012-08-051-1/+0
| | | | | | | | | RHBZ#838081." This reverts commit ad7c4498f66f37c4219242c6df04d28e9ee7877f. Reverted because we still see core dumps. (cherry picked from commit d69a03e44832d8a8da84696bd4e2aaf3cd5d6cff)
* run: Update comments.Richard W.M. Jones2012-08-051-3/+4
| | | | (cherry picked from commit 98f2d221cfe184535a493057f5b2b38d8bee34e4)
* java: Generate overloaded non-optargs method for each optargs method.Richard W.M. Jones2012-08-053-2/+25
| | | | | | | | | | | | | | | For example the existing method: public void mkfs_opts (String fstype, String device, Map<..> optargs); is now accompanied by this overloaded method which is a simple wrapper: public void mkfs_opts (String fstype, String device) throws LibGuestFSException { mkfs_opts (fstype, device, null); } (cherry picked from commit 0da2dbef26a9efddbc1f4cd6cbe796b3b5f98d13)
* tests: Better way to ensure 'g' is used and return success or error.Richard W.M. Jones2012-08-052-4/+2
| | | | (cherry picked from commit 7a0478bed0fe3ccbdf16087552f3d6ea196f29ec)
* generator: Add a note in generator/README about safely extending functions.Richard W.M. Jones2012-08-051-0/+9
| | | | (cherry picked from commit 196742cd46a8d80f0298f9f58c540482919306a3)
* generator: Move note in comment to generator/README file.Richard W.M. Jones2012-08-052-8/+7
| | | | (cherry picked from commit cf0defedb8121a0ff39c1d4c6d9f3eee9fd7ee72)
* fuse: Cleaner code and documentation for safe cleanups.Richard W.M. Jones2012-08-052-7/+50
| | | | (cherry picked from commit ec0c7e0a1aafd145309ab53749d910ad837d8745)
* tests/guests: Add temp files to CLEANFILES.Richard W.M. Jones2012-08-051-1/+1
| | | | (cherry picked from commit f883e4d8d3ea65c5cd4c2dc5d557989c00aafc56)
* podwrapper: Fix shell script.Richard W.M. Jones2012-08-051-2/+2
| | | | | This fixes commit f9a5e3ed86ee7bcd13619f13b4d4de6ce46ac8c3. (cherry picked from commit 33bb7408f684bf0d4eff0a0e99c53449fa4923e4)
* podwrapper.sh: Take date from ChangeLog or from the latest git commit.Hilko Bengen2012-08-051-0/+8
| | | | (cherry picked from commit f9a5e3ed86ee7bcd13619f13b4d4de6ce46ac8c3)
* Version 1.18.5.1.18.5Richard W.M. Jones2012-07-1020-546/+904
|
* fuse: Add regression test for RHBZ#838592.Richard W.M. Jones2012-07-102-2/+91
| | | | (cherry picked from commit 8df259496a80bc74edbab4436e3679d0900bd173)
* fuse: Add guestmount --pid-file option (RHBZ#838592).Richard W.M. Jones2012-07-092-2/+52
| | | | (cherry picked from commit 5546ea6d68532caa69fbede1f29385afe34e7362)