Richard W.M. Jones
26118d498e
Add missing generated files to the tarball (thanks maksbotan).
...
C# bindings were omitted entirely. Add a Makefile.am for this
directory even though we don't build these.
Because of a missing backslash, some POD files were not being
included.
2010-11-07 10:00:32 +00:00
Richard W.M. Jones
371e83c090
fish: Add --listen --csh to for csh, tcsh compatibility.
...
(Thanks Eric Blake).
2010-11-05 15:39:27 +00:00
Richard W.M. Jones
be728962ff
fish: Suggest safer form of eval.
...
eval "$(guestfish --listen)"
instead of various other forms.
(Thanks Eric Blake).
2010-11-05 15:39:24 +00:00
Richard W.M. Jones
633ae13c80
fish: More portable export sh statment.
...
Don't depend on bash, but allow sh/dash/etc format:
GUESTFISH_PID=nn; export GUESTFISH_PID
(Thanks Eric Blake).
2010-11-05 15:04:10 +00:00
Richard W.M. Jones
7d8807ec3b
New API: inspect-get-roots to return roots from last inspection.
...
Return the roots found by the last call to inspect-os, but
without redoing the whole inspection.
2010-11-05 13:43:08 +00:00
Richard W.M. Jones
9f7926e727
generator: Don't die if an API call isn't listed in API versions file.
...
For example, it may just have been added.
2010-11-05 13:42:07 +00:00
Richard W.M. Jones
12cf2f732a
Version 1.7.2.
1.7.2
2010-11-05 12:29:44 +00:00
Guido Günther
e51d6724d5
configure: Test for 'kvm' binary.
2010-11-05 12:25:24 +00:00
Guido Günther
7fc338690f
Include <stdarg.h> in public header.
...
Public headers use va_list, and this gives an error unless <stdarg.h>
had been included before the header.
2010-11-05 12:25:24 +00:00
Richard W.M. Jones
6283982e36
Don't print out key material in trace output.
2010-11-05 11:54:54 +00:00
Richard W.M. Jones
a232e62dcf
fish: '-i' option automatically handles whole-disk encryption.
...
This feature is also available in guestmount because of the
shared option parsing code.
You don't need to do anything to enable it, just using -i
will attempt decryption of encrypted partitions.
Only works for simple Fedora whole-disk encryption. It's a
work-in-progress to make it work for other types of encryption.
2010-11-05 11:39:24 +00:00
Richard W.M. Jones
446db62e11
docs: Fix API support script.
...
Before libguestfs 1.0.69 we needed to look in src/guestfs.c to
see all the API calls.
2010-11-04 17:43:17 +00:00
Richard W.M. Jones
ca236acc67
fish: Fix missing guestfish commands in HTML docs.
2010-11-04 17:23:21 +00:00
Richard W.M. Jones
74f7c9e4b7
fish: Make the 'help' command more helpful.
2010-11-04 17:04:03 +00:00
Richard W.M. Jones
7e3d76e41b
docs: Which API calls were first supported in which upstream versions.
...
Run src/api-support/update-from-tarballs.sh (this won't work
unless you have a local copy of the tarballs from the website).
src/api-support/added contains the result of running the
script, a list of pairs: (API name, version first appeared).
2010-11-04 10:04:40 +00:00
Richard W.M. Jones
bfeffeb1e4
virt-win-reg: Current is the control set Windows chooses at boot.
2010-11-03 23:17:51 +00:00
Richard W.M. Jones
9694cd59f8
HACKING: Mention PHP bindings.
2010-11-03 22:23:55 +00:00
Richard W.M. Jones
19ea54b3f4
docs: Indent *_va and *_argv functions correctly.
...
This fixes commit f661db2c39 .
2010-11-03 22:12:05 +00:00
Richard W.M. Jones
ece3b30e49
Version 1.7.1.
1.7.1
2010-11-03 21:09:51 +00:00
Richard W.M. Jones
58915725b1
fish: Use a perfect hash for faster command lookups.
...
Existing command lookups are approx O(n^2). Replace this
with a perfect hash implementation which should be a lot
faster.
2010-11-03 20:34:42 +00:00
Richard W.M. Jones
f661db2c39
generator: Properly lay out and indent multi-line C function decls.
2010-11-03 19:26:10 +00:00
Richard W.M. Jones
5d6a918445
docs: Clarify no additional error available from guestfs_create.
2010-11-03 18:52:45 +00:00
Richard W.M. Jones
01d613ae95
docs: Clarify default error handler.
2010-11-03 18:49:00 +00:00
Richard W.M. Jones
6a21809281
docs: Error strings are in fact localized, documentation was wrong.
2010-11-03 18:49:00 +00:00
Richard W.M. Jones
aae5bebe68
docs: Clarify, not every function that returns int returns -1 for errors.
2010-11-03 18:49:00 +00:00
Richard W.M. Jones
9cd1810b5e
capitests: Test guestfs_last_errno call.
2010-11-03 18:49:00 +00:00
Richard W.M. Jones
39052d270f
fuse: Use guestfs_last_errno instead of errno-reversal-hack.
2010-11-03 18:49:00 +00:00
Richard W.M. Jones
2066805a5d
lib: Expose errno through new API guestfs_last_errno.
...
If either the daemon sends back an errno, or a system call
fails in the library, save the errno in the handle and then
make it available to callers through the guestfs_last_errno
function.
2010-11-03 18:48:56 +00:00
Richard W.M. Jones
d859c283c4
daemon: Send back the errno as a string.
...
This changes the protocol again so that if the errno is available,
it is converted to a string (like "EIO") and sent back over the
protocol to the library.
In this commit the library just discards the string.
2010-11-03 17:44:30 +00:00
Richard W.M. Jones
2be1648632
capitests: Test guestfs_add_drive_opts with optional args from C.
2010-11-03 17:44:30 +00:00
Richard W.M. Jones
b535363e7e
capitests: Test some basic aspects of the C API.
2010-11-03 17:44:30 +00:00
Richard W.M. Jones
162c89ed49
capitests: Use ftruncate instead of seek + write to create test files.
2010-11-03 17:44:30 +00:00
Richard W.M. Jones
ec0fe45e48
capitests: Don't open test files with O_NONBLOCK.
...
I have no idea why we were doing this.
2010-11-03 17:44:30 +00:00
Richard W.M. Jones
2a33d81e2b
capitests: Set path in TESTS_ENVIRONMENT instead of in tests.c
...
By exporting LIBGUESTFS_PATH with the right path to the appliance,
we no longer need to hard code the path in tests.c
2010-11-03 17:28:02 +00:00
Richard W.M. Jones
8ccc6cd1f7
generator: Remove unnecessary macro redefinitions.
...
These macros are already defined in guestfs-internals.h
2010-11-03 15:49:59 +00:00
Richard W.M. Jones
6b8d05438c
Define internal safe_calloc shorthand.
2010-11-03 15:49:59 +00:00
Richard W.M. Jones
9ff9941836
daemon: Don't use ../src path to include generator_protocol.h
...
This file is already hard-linked into the current directory, so
the relative path is not required.
2010-11-03 13:15:19 +00:00
Richard W.M. Jones
c5a6584c4f
tests: Remove use of sfdisk from tests.
...
Some older tests used sfdisk to create partitions for the
tests. sfdisk is buggy (more so than parted -- what is it
with partitioning tools?) so replace these tests with
equivalent part-* commands.
2010-11-02 20:57:40 +00:00
Richard W.M. Jones
1937698c25
daemon: Tolerate failure of blockdev --rereadpt after sfdisk.
...
See commit 840536ea5a
and commit 956fc5a3fe .
2010-11-02 20:33:06 +00:00
Richard W.M. Jones
47d1585961
binary: Link guestmount static binary with -lm.
...
This is indirectly required via the new shared guestfish
C inspection code by libxml2.
2010-11-02 17:05:58 +00:00
Richard W.M. Jones
c36214c682
website: Distribute BUGS and RELEASE-NOTES files to website.
2010-11-02 17:05:43 +00:00
Richard W.M. Jones
a2591230c1
Version 1.7.0.
1.7.0
2010-11-02 16:23:58 +00:00
Richard W.M. Jones
3fac199a8b
Final RELEASE-NOTES file for version 1.6.0.
2010-11-02 16:18:30 +00:00
Richard W.M. Jones
f0c28b391c
inspect: Add support for MeeGo.
2010-11-02 10:11:04 +00:00
Richard W.M. Jones
bf0280bf58
Version 1.5.26.
1.5.26
2010-10-29 15:49:36 +01:00
Richard Jones
7badf512f6
inspect: Add support for Ubuntu.
2010-10-29 11:54:54 +01:00
Richard Jones
96b44334dd
inspect: Add detection of Gentoo.
2010-10-29 10:58:20 +01:00
Richard Jones
b4618fb060
inspect: Add detection of Arch Linux.
2010-10-29 10:55:40 +01:00
Richard Jones
233530d354
inspect: Add detection of Pardus.
2010-10-29 10:55:34 +01:00
Richard Jones
a81bf3f3ef
inspect: Generic parsing of MAJOR.MINOR in product names.
2010-10-29 10:54:29 +01:00