summaryrefslogtreecommitdiffstats
path: root/fish
Commit message (Collapse)AuthorAgeFilesLines
* fish: Use size_t instead of int when counting strings.Richard W.M. Jones2011-11-091-4/+4
| | | | (cherry picked from commit b4da051d54a1597c7d8db8880d21a52265a6172e)
* Flush stdout for progress bars used by guestfish, virt-resize.Richard W.M. Jones2011-10-311-0/+1
| | | | (cherry picked from commit 178a6d78a84a82cfddbf17678c8c8c2a9d9d0dd2)
* valgrind: guestfish -i: free strings before exit.Richard W.M. Jones2011-10-191-0/+2
| | | | | This isn't really necessary, but it keeps valgrind happy. (cherry picked from commit 2f6ec8b4da27c550e2c7187fd17df28f1bdd51a7)
* fish: docs: note how to clean up the remote process properly.Richard W.M. Jones2011-10-191-5/+6
| | | | | | | | Killing it is always a bad idea, because the qemu subprocess will be left hanging around. The best thing is to send the exit command. Cherry picked from commit 11be7d8eee16e6249ed2868b5bd552f29508ec02 and modified.
* fish: Close guestfs handle explicitly before exiting.Richard W.M. Jones2011-10-191-0/+2
| | | | | | | NOTE this is just a cleanup. It is NOT necessary for correctness, since libguestfs itself is correctly closing the handle in the exit handler. (cherry picked from commit baa1618e0f917017c1934b7da41250029c1791ef)
* fish: Add man page section on calling guestfish remote robustly from bash.Richard W.M. Jones2011-10-191-0/+32
| | | | (cherry picked from commit 3a546663655abfcd6399d4fdb7febc6b0d83b822)
* man pages: Add a standard EXIT STATUS section to most pages.Richard W.M. Jones2011-08-281-1/+1
| | | | (cherry picked from commit f0f3e1621180724e0a907a30ff5dea9695ddead0)
* progress: Make default UTF-8 progress bar less black.Richard W.M. Jones2011-08-281-1/+1
| | | | (cherry picked from commit ceb3a57f67f33b33c1f6cafdd0ef81808273f0c0)
* fish: Make progress bars into a mini library.Richard W.M. Jones2011-08-286-165/+207
| | | | | This library could now be called from other virt tools. (cherry picked from commit 6146412f06c2f6f33c3ea7d571f16d4fe71dddb2)
* fish: clarify comment: shared source files are used by virt tools too.Richard W.M. Jones2011-08-281-3/+3
| | | | (cherry picked from commit 0bd055316f8581f4da33b039e33d5f61cc00294c)
* Coverity: Initialize msg buffer.Richard W.M. Jones2011-08-281-0/+2
| | | | | | msg_flags was not being initialized and would have been passed to sendmsg with a random value. (cherry picked from commit a31ac8fc32297cc9185fd20a5578d2bc81cc1bce)
* Coverity: fix memory leak in guestfish.Richard W.M. Jones2011-08-281-2/+1
| | | | (cherry picked from commit c38cb92ec478c4dca83e4d38963720f463d52314)
* pclose: Fix other places where we only tested pclose == -1.Richard W.M. Jones2011-08-281-1/+1
| | | | | pclose can return > 0 when the status of the command was non-zero. (cherry picked from commit 631faad97171d7c1238b2e413c663cf61476f440)
* Coverity: Check guestfs_inspect_get_product_name() != NULL before using.Richard W.M. Jones2011-08-281-1/+1
| | | | (cherry picked from commit fa44536b0ff12102c72ae0337e51d272f0fc2353)
* out-of-tree build: fix documentation generation IIHilko Bengen2011-08-281-2/+2
| | | | (cherry picked from commit 8876b2d3764b42ebae3c5fdf61b1899095508169)
* out-of-tree build: remove unneeded explicit pathsHilko Bengen2011-08-281-4/+4
| | | | (cherry picked from commit 4baec012b1b09a888e570fc89dbaa9fbf9944f34)
* out-of-tree build: fix documentation generationHilko Bengen2011-08-281-9/+9
| | | | (cherry picked from commit ff101adf7ead7bcdb46bccdb227ef18d844b965f)
* fish: Document that remote run in cmd substitution context hangs.Richard W.M. Jones2011-08-171-0/+11
| | | | | This documents bug 592910. (cherry picked from commit 6cabc1cd02e181063596b48df55c3f6db51a6bb9)
* fish: Add fish-cmds.h to generator_built.Richard W.M. Jones2011-08-171-0/+1
| | | | | This updates commit 3064277680ad11f887691646d0fa17bb35f38c19. (cherry picked from commit 85efbc6aa70d522af066a38fd1aae05b790c46d3)
* fish: Declare run_* functions in a generated header file.Richard W.M. Jones2011-08-171-39/+2
| | | | | | Calls to these functions are generated, so there is no need to declare the functions by hand. (cherry picked from commit 3064277680ad11f887691646d0fa17bb35f38c19)
* docs: Document FEBOOTSTRAP_KERNEL, FEBOOTSTRAP_MODULES (RHBZ#671082).Richard W.M. Jones2011-07-261-1/+12
| | | | (cherry picked from commit 316817b5ad98e294a9d2498a4403e82911a75b4a)
* fish: Don't make --ro the default yet.Richard W.M. Jones2011-07-161-1/+1
| | | | Defer this decision to a future version of libguestfs.
* fish: Register ^C handler to cancel long transfers.Richard W.M. Jones2011-07-152-1/+25
|
* fish: Add is_interactive flag.Richard W.M. Jones2011-07-151-2/+9
| | | | | Decide early (before launch) if this is going to be an interactive session, and set the is_interactive flag.
* fish: Handle backslash escapes in guestfish double-quoted strings.Richard W.M. Jones2011-07-142-4/+142
|
* fish: Show device mapper device in tab completion (RHBZ#688062).Richard W.M. Jones2011-07-121-0/+3
| | | | | | | | | With this change: ><fs> luks-open /dev/vda1 lukstest Enter key or passphrase ("key"): ><fs> ll /dev/<TAB> /dev/mapper/lukstest /dev/vda /dev/vda1
* fish: Add 'display' command for displaying graphical files.Richard W.M. Jones2011-06-284-0/+105
|
* Enable deprecation warnings on all C programs.Richard W.M. Jones2011-05-171-0/+1
|
* fish: fuse: Remove redundant -DGUESTFS_DEFAULT_PATH.Richard W.M. Jones2011-05-171-1/+0
| | | | | This was left over from earlier code. It is used in the base library, but not in guestfish or guestmount.
* fish: Allow -d UUID (specify libvirt domains by UUID).Richard W.M. Jones2011-05-062-0/+5
| | | | | | | | | | | | | | This applies in all the commands which use the common C option parsing code, ie: * guestfish * guestmount * virt-cat * virt-df * virt-filesystems * virt-inspector * virt-ls * virt-rescue
* doc: Use I<-...> for cross-references to command line options.Richard W.M. Jones2011-05-011-2/+2
| | | | This is now used consistently across all the documentation.
* fish: --rw option will be mandatory in 1.12 not 1.10.Richard W.M. Jones2011-04-161-2/+2
|
* fish: Fix typo in guestfish man page (--format option).Richard W.M. Jones2011-04-161-1/+1
|
* Remove local LIBGUESTFS_PATH detection from guestfish and guestmount.Richard W.M. Jones2011-04-161-13/+0
| | | | | | | | | | | Remove the hack that let you run ./fish/guestfish or ./fuse/guestmount. You now have to do: ./run ./fish/guestfish or ./run ./fuse/guestmount to run these programs without installing.
* Add missing include directives.Jim Meyering2011-04-133-2/+5
| | | | | | * fish/config.c: Include string.h, for use of strlen. * fish/keys.c: Likewise, but for use of memcpy. * fish/man.c: Likewise, but for use of memset.
* fish: Allows win:... paths to work with drives mounted anywhere.Richard W.M. Jones2011-04-122-82/+106
| | | | | | This allows you to mount disks on (eg) /c and /e and have the guestfish win:... path mechanism map drive letters to the right places.
* Compile rpcgen-generated files with -fno-strict-aliasingMatthew Booth2011-04-071-4/+4
| | | | | rpcgen generates source which can't be safely compiled with strict-aliasing enabled.
* fish: copy-in, copy-out, edit, more commands can use win:... prefix.Richard W.M. Jones2011-04-053-23/+97
|
* fish: Enhance guestfish win:... parsing to understand drive letters.Richard W.M. Jones2011-04-052-7/+75
|
* fish: Add 'pulse mode' to the progress bar.Richard W.M. Jones2011-04-021-9/+26
|
* fish: Move variable decls to top of function.Richard W.M. Jones2011-04-021-10/+15
| | | | This is just code motion.
* fish: Fix incorrect path passed to perror.Richard W.M. Jones2011-04-011-1/+1
| | | | Fix commit b8e1dee73a1deef1bfd5937e2abfbe9afef7b1ef.
* Add libguestfs-tools.conf file to EXTRA_DIST.Richard W.M. Jones2011-04-011-0/+1
|
* Add /etc/libguestfs-tools.conf configuration file.Richard W.M. Jones2011-03-316-20/+214
| | | | | This allows the default for --ro or --rw to be controlled for the three tools guestfish, guestmount and virt-rescue.
* fish: fuse: Add -m dev:mnt:opts to allow mount options to be specified.Richard W.M. Jones2011-03-284-11/+36
| | | | | | | | | | | | | This lets you turn on ACLs and xattrs by doing: -m /dev/sda1:/:acl,user_xattr The extra parameter is passed through to mount_options: libguestfs: trace: mount_options "acl,user_xattr" "/dev/sda1" "/" Notes: Labels: feature
* fish: Add better quick help to --help output.Richard W.M. Jones2011-03-221-10/+10
| | | | | Notes: Labels: cleanup Depends: c8faa5d0b0a17689d27bd33bc787ba0fe9a3f076
* fish: Add -w|--rw option to --help output.Richard W.M. Jones2011-03-221-1/+2
| | | | Notes: Labels: bugfix
* fish: Add all stamp-*.pod files to CLEANFILES.Richard W.M. Jones2011-03-181-1/+6
|
* New event API (RHBZ#664558).Richard W.M. Jones2011-03-154-5/+16
| | | | | | | | | | | | | This API allows more than one callback to be registered for each event, makes it possible to call the API from other languages, and allows [nearly all] log, debug and trace messages to be rerouted from stderr. An older version of this API was discussed on the mailing list here: https://www.redhat.com/archives/libguestfs/2010-December/msg00081.html https://www.redhat.com/archives/libguestfs/2011-January/msg00012.html This also updates guestfish to use the new API for its progress bars.
* fish: Add guestfish --live, guestmount --live options.Richard W.M. Jones2011-02-035-0/+21
| | | | | | The other programs have the variable, but the flag is not enabled either because it doesn't make sense or because the implications are not well understood.