Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | adjust const "**" pointers to avoid warnings | Jim Meyering | 2009-08-17 | 2 | -6/+6 | |
| | | | | | | Also, ... * src/generator.ml: Add DeviceList type, and propagate that change out to all calling/interface code. | |||||
* | guestfish: Add --selinux option. | Richard Jones | 2009-08-13 | 1 | -2/+7 | |
| | ||||||
* | fish: don't read freed memory | Jim Meyering | 2009-08-12 | 1 | -4/+4 | |
| | | | | | | | * fish/rc.c (rc_remote): Close file handle only *after* xdr_destroy, because that latter may flush its file handle (implicated via xdrstdio_create). FYI, this failure is triggered for me only when MALLOC_PERTURB_ is set to nonzero < 256 in my environment. | |||||
* | Fix: segfault in tab completion (RHBZ#516024). | Richard Jones | 2009-08-06 | 1 | -2/+2 | |
| | | | | | Actually this fixes two bugs: 'strs' was not being freed on every path, and the tab completion segfault described in the bug report. | |||||
* | Convert all TABs-as-indentation to spaces. | Jim Meyering | 2009-08-03 | 7 | -361/+361 | |
| | | | | | | | | | | | Do it by running this command: [exempted files are matched via .x-sc_TAB_in_indentation] git ls-files \ | pcregrep -vf .x-sc_TAB_in_indentation \ | xargs pcregrep -l '^ *\t' \ | xargs perl -MText::Tabs -ni -le \ '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_' | |||||
* | build: reenable "syntax-check" rule: sc_const_long_option | Jim Meyering | 2009-08-03 | 1 | -1/+1 | |
| | | | | | | | * cfg.mk (disable_temporarily): Remove sc_const_long_option. * daemon/guestfsd.c (main): Declare long_options to be "const". * fish/fish.c (main): Likewise. * test-tool/test-tool.c (main): Likewise. | |||||
* | guestfish: Make more strings translatable. | Richard Jones | 2009-07-29 | 2 | -6/+4 | |
| | | | | | However this doesn't yet attempt to translate the POD command documentation. We need a plan to do that. | |||||
* | guestfish -iv should print virt-inspector command (for debugging). | Richard W.M. Jones | 2009-07-24 | 1 | -1/+3 | |
| | ||||||
* | More misc fixes for non-srcdir builds. | Richard Jones | 2009-07-16 | 1 | -3/+9 | |
| | ||||||
* | guestfish: Add tilde expansion for paths (RHBZ#511372). | Richard Jones | 2009-07-15 | 4 | -1/+138 | |
| | | | | | | | | | | | | | | | | | | | This commit adds tilde expansion for local users in guestfish: ><fs> echo "~" ~ ><fs> echo ~ /home/rjones ><fs> echo ~foo ~foo ><fs> echo ~rjones/bar /home/rjones/bar ><fs> echo ~roo ~roo ><fs> echo ~root/foo /root/foo ><fs> echo ~root /root | |||||
* | File missing from tarball: rc_protocol.x | Richard W.M. Jones | 2009-07-14 | 1 | -0/+3 | |
| | ||||||
* | Guestfish feature: remote control of guestfish over a pipe. | Richard Jones | 2009-07-14 | 5 | -7/+395 | |
| | | | | | | | | | | | | | | | | | The use case is to have a long-running guestfish process in a shell script, and thus to avoid the overhead of starting guestfish each time. Do: eval `guestfish --listen` guestfish --remote somecmd guestfish --remote someothercmd guestfish --remote exit This patch also supports having multiple guestfish processes at the same time. The protocol is simple XDR messages over a Unix domain socket. | |||||
* | Guestfish: implement -x option, echo commands before executing them. | Richard W.M. Jones | 2009-07-11 | 1 | -2/+15 | |
| | ||||||
* | Fix: '-D' was not recognized as a parameter to guestfish. | Richard W.M. Jones | 2009-07-11 | 1 | -1/+1 | |
| | ||||||
* | Guestfish: Add 'reopen' command to reopen the libguestfs handle. | Richard W.M. Jones | 2009-07-11 | 4 | -4/+90 | |
| | ||||||
* | Add missing documentation for "more" command in guestfish help output. | Richard W.M. Jones | 2009-07-11 | 1 | -0/+2 | |
| | ||||||
* | guestfish: Always fflush stdout between commands. | Richard Jones | 2009-07-06 | 1 | -1/+5 | |
| | ||||||
* | Make it possible to build in a separate directory | Matthew Booth | 2009-07-03 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | This patch allows you to do: mkdir build cd build ../configure ... make This will output all generated files to the build directory. Given that autogen automatically runs configure, you can also do: BUILDDIR=./build ./autogen.sh which will do the right thing. Also: * Fix a dependency bug which means that guestfs_protocol.h isn't automatically rebuilt. * Re-running autogen.sh with no arguments won't blow away your previous configure arguments. | |||||
* | remove trailing blanks | Jim Meyering | 2009-07-03 | 8 | -8/+8 | |
| | ||||||
* | Guestfish tab-completion on destination paths, fixed this time. | Richard W.M. Jones | 2009-07-03 | 1 | -49/+74 | |
| | | | | Tab-completion on destination paths should now work correctly. | |||||
* | Add the guestfish 'time' command. | Richard W.M. Jones | 2009-07-02 | 4 | -9/+78 | |
| | | | | | ><fs> time sfdisk /dev/sda 0 0 0 , elapsed time: 6.12 seconds | |||||
* | Remove generated code from git. | Richard W.M. Jones | 2009-07-02 | 2 | -4111/+0 | |
| | | | | | | | | Git users now require the OCaml compiler in order to regenerate the generated code after a checkout. Generated code will remain in the tarball, so users of the source tarball will not need the OCaml compiler. | |||||
* | Add 'readdir' call. | Richard W.M. Jones | 2009-07-02 | 2 | -0/+40 | |
| | | | | | | | | | | | | This adds a readdir call (mostly intended for programs). The return value is a list of guestfs_dirent structures. This adds the new types 'struct guestfs_dirent' and 'struct guestfs_dirent_list', along with all the code to return these in the different language bindings. Also includes additional tests for OCaml and Perl bindings to test this. | |||||
* | fish: handle some out-of-memory conditions | Jim Meyering | 2009-07-01 | 1 | -29/+62 | |
| | | | | | | | | | | | | | * fish/destpaths.c (xalloc_oversized): Define. (complete_dest_paths_generator): Use size_t as type for a few variables, rather than int. Don't deref NULL or undef on failed heap alloc. Don't leak on failed realloc. Detect theoretical overflow when count_strings returns a very large number of strings. Handle asprintf failure. (APPEND_STRS_AND_FREE): Rewrite as do {...}while(0), so that each use can/must be followed by a semicolon. Better for auto-formatters. | |||||
* | Generated code for the virtio_blk change. | Richard W.M. Jones | 2009-07-01 | 1 | -3/+3 | |
| | ||||||
* | Generated code for mknod, mkfifo, mknod_b, mknod_c, umask. | Richard W.M. Jones | 2009-06-30 | 2 | -0/+132 | |
| | ||||||
* | Generated code for 'set_memsize'/'get_memsize' calls. | Richard W.M. Jones | 2009-06-30 | 2 | -0/+45 | |
| | ||||||
* | Generated code for the 'mkswap*' commands. | Richard W.M. Jones | 2009-06-29 | 2 | -0/+70 | |
| | ||||||
* | Generated code for mount-loop command. | Richard W.M. Jones | 2009-06-29 | 2 | -0/+24 | |
| | ||||||
* | Generated code for 'initrd-list'. | Richard W.M. Jones | 2009-06-29 | 2 | -0/+25 | |
| | ||||||
* | Generated code for 'du' command. | Richard W.M. Jones | 2009-06-29 | 2 | -0/+24 | |
| | ||||||
* | Generated code for df / df-h. | Richard W.M. Jones | 2009-06-29 | 2 | -0/+46 | |
| | ||||||
* | Implement "more" and "less" commands in guestfish. | Richard W.M. Jones | 2009-06-29 | 5 | -20/+137 | |
| | | | | | | | | Use commands such as: more /etc/passwd less /etc/fstab These commands are specific to guestfish. | |||||
* | Generated code for head/tail commands. | Richard W.M. Jones | 2009-06-29 | 2 | -4/+108 | |
| | ||||||
* | Generated code for 'wc_*' commands. | Richard W.M. Jones | 2009-06-29 | 2 | -0/+72 | |
| | ||||||
* | Guestfish pipes. | Richard W.M. Jones | 2009-06-28 | 3 | -17/+73 | |
| | ||||||
* | Clarify documentation for mkdtemp. | Richard W.M. Jones | 2009-06-24 | 1 | -1/+1 | |
| | ||||||
* | Generated code for 'mkdtemp' command. | Richard W.M. Jones | 2009-06-24 | 2 | -0/+25 | |
| | ||||||
* | Quote command line arguments to virt-inspector. | Richard W.M. Jones | 2009-06-24 | 1 | -1/+2 | |
| | ||||||
* | Added guestfish -i option to run virt-inspector. | Richard W.M. Jones | 2009-06-24 | 1 | -2/+58 | |
| | | | | | | You can invoke guestfish with: guestfish -i libvirt-domain guestfish -i disk-image(s) | |||||
* | Implement guestfish -f option to allow guestfish scripts. | Richard W.M. Jones | 2009-06-24 | 1 | -2/+21 | |
| | | | | | New '-f' option allows scripts to be written using: #!/usr/bin/guestfish -f | |||||
* | Incorrect assignment on glob error path. | Richard W.M. Jones | 2009-06-24 | 1 | -1/+1 | |
| | ||||||
* | Generated code for 'scrub-*' commands. | Richard W.M. Jones | 2009-06-23 | 2 | -2/+68 | |
| | ||||||
* | Add 'glob' command for guestfish. | Richard Jones | 2009-06-22 | 4 | -4/+183 | |
| | ||||||
* | Generated code for 'glob-expand'. | Richard Jones | 2009-06-22 | 2 | -0/+25 | |
| | ||||||
* | Generated code for 'sh' and 'sh-lines' commands. | Richard Jones | 2009-06-22 | 2 | -2/+52 | |
| | ||||||
* | Add tab-completion of guest filenames (currently disabled). | Richard Jones | 2009-06-18 | 5 | -0/+201 | |
| | ||||||
* | Generated code for ntfs_3g_probe command. | Richard Jones | 2009-06-08 | 2 | -0/+26 | |
| | ||||||
* | Added 'lcd' command to guestfish. | Richard Jones | 2009-06-08 | 4 | -2/+63 | |
| | ||||||
* | Generated code for the 'sleep' command. | Richard Jones | 2009-06-04 | 2 | -0/+22 | |
| |