summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* Version 1.5.24.1.5.24Richard W.M. Jones2010-10-271-1/+1
|
* appliance: Repo name is not Fedora-specific.Richard W.M. Jones2010-10-271-2/+2
| | | | | | The --with-repo parameter is also used by Debian to specify the Debian software repository, so remove references to Fedora.
* Version 1.5.23.1.5.23Richard W.M. Jones2010-10-221-1/+1
|
* generator: Optional arguments, add-drive-opts (RHBZ#642934,CVE-2010-3851).Richard W.M. Jones2010-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This large commit changes the generator so that optional arguments can be supported for functions. The model for arguments (known as the "style") is changed from (ret, args) to (ret, args, optargs) where optargs is a more limited list of arguments. One function has been added which takes optional arguments, it is "add-drive-opts", modelled as: (RErr, [String "filename"], #required [Bool "readonly"; String "format"; String "iface"]) #optional Note that this function is processed in the library (does not go over the RPC protocol to the daemon). This has allowed us to simplify the current implementation by omitting changes related to RPC or the daemon, although we plan to add these at some point in the future. From C this function can be called in 3 different ways as in these examples: guestfs_add_drive_opts (g, filename, GUESTFS_ADD_DRIVE_OPTS_READONLY, 1, GUESTFS_ADD_DRIVE_OPTS_FORMAT, "raw", -1); (the argument(s) between 'filename' and '-1' are the optional ones). guestfs_add_drive_opts_va (g, filename, args); where 'args' is a va_list. This works like the first version. struct guestfs_add_drive_opts_argv optargs = { .bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK, .readonly = 1, } guestfs_add_drive_opts_argv (g, filename, &optargs); This last form lets you construct lists of optional arguments, and is used by guestfish and the language bindings. In guestfish optional arguments are used like this: add-drive-opts filename readonly:true In OCaml these are mapped naturally to OCaml optional arguments, eg: g#add_drive_opts ~readonly:true filename; In Perl these are mapped to extra arguments, eg: $g->add_drive_opts ($filename, readonly => 1); In Python these are mapped to optional arguments, eg: g.add_drive_opts ("file", readonly = 1, format = "qcow2") In Ruby these are mapped to a final hash argument, eg: g.add_drive_opts("file", {}) g.add_drive_opts("file", :readonly => 1) g.add_drive_opts("file", :readonly => 1, :iface => "virtio") In PHP these are mapped to extra parameters. This is not quite accurate since you cannot omit arbitrary optional parameters, but there's not much than can be done within the limitations of PHP as a language. Unimplemented in: Haskell, C#, Java.
* Version 1.5.22.1.5.22Richard W.M. Jones2010-10-191-1/+1
|
* Version 1.5.21.1.5.21Richard W.M. Jones2010-10-011-1/+1
|
* Version 1.5.20.1.5.20Richard W.M. Jones2010-09-261-1/+1
|
* Version 1.5.19.1.5.19Richard W.M. Jones2010-09-221-1/+1
|
* Version 1.5.18.1.5.18Richard W.M. Jones2010-09-221-1/+1
|
* Version 1.5.17.1.5.17Richard W.M. Jones2010-09-211-1/+1
|
* Version 1.5.16.1.5.16Richard Jones2010-09-151-1/+1
|
* configure: Make "fedora-13" the default repository.Richard Jones2010-09-151-2/+2
|
* Version 1.5.15.1.5.15Richard Jones2010-09-151-1/+1
|
* Version 1.5.14.1.5.14Richard Jones2010-09-141-1/+1
|
* configure: Check for virtio-serial support in qemu.Richard Jones2010-09-141-35/+9
| | | | | | All other vmchannel methods are obsolete, but we were still trying to check for them. This replaces all of them with a simple check for virtio-serial.
* pardus: Check for cpio in configure.Richard Jones2010-09-141-0/+5
|
* Version 1.5.13.1.5.13Richard Jones2010-09-131-1/+1
|
* build: hivex is required.Richard Jones2010-09-111-6/+2
| | | | | hivex library has been required since we moved the inspection code to C. Check for this in configure.ac.
* Version 1.5.12.1.5.12Richard Jones2010-09-111-1/+1
|
* build: require Augeas for library.Richard Jones2010-09-111-0/+5
| | | | | | Augeas has been required since we moved the inspection code to C, however we were not correctly enforcing this in configure.ac, nor correctly linking to the library until now.
* Split generator into separate source files.Richard Jones2010-09-111-0/+1
| | | | | | | | | | 'src/generator.ml' is no more. Instead the generator is logically split up over many different source files. Read generator/README for help and tips. We compile the generator down to bytecode, not native code. This means it will run more slowly, but is done for maximum portability.
* syntax: Replace -a and -o with && and || for portability.Richard Jones2010-09-111-13/+13
|
* Version 1.5.11.1.5.11Richard Jones2010-09-101-1/+1
|
* Version 1.5.10.1.5.10Richard Jones2010-09-091-1/+1
|
* Version 1.5.9.1.5.9Richard Jones2010-09-081-1/+1
|
* Version 1.5.8.1.5.8Richard Jones2010-09-041-1/+1
|
* PHP bindings.Richard Jones2010-09-041-0/+8
| | | | | | Note that these are not complete on 32 bit architectures. PHP doesn't offer any convenient 64 bit type (on 32 bit). Therefore you should always use these PHP bindings on 64 bit.
* Allow manual pages and POD files to be translated.Richard Jones2010-09-021-0/+6
| | | | | | | | | | | | | | This uses the optional po4a package to split these files into PO files for translation, and reassemble afterwards. Note this creates an extra pot file (po-docs/libguestfs-docs.pot). We don't (yet) combine this with the main po/libguestfs.pot file. The 'libguestfs-docs.pot' file included in this commit is not the real thing, just a short cut down snippet for testing. The real thing is created if you update one of the dependent files and rebuild. Note also the dummy ja.po, for testing the principles.
* Version 1.5.7.1.5.7Richard Jones2010-09-011-1/+1
|
* Version 1.5.6.1.5.6Richard Jones2010-08-271-1/+1
|
* build: Don't add version extra string to the version number.Richard Jones2010-08-271-1/+1
| | | | | | | | | | | | If this string was non-empty, then it broke a lot of things because autoconf and other parts of the build system were expecting this string to contain a simple MAJOR.MINOR.RELEASE version number. This requires changes to guestfish and guestmount so they use the guestfs_version API to fetch the version from the library. (The Perl tools were already doing it this way). In a way this is more accurate, because it's no longer hard-coded in the binary, but fetched from the dynamically linked libguestfs.so.
* Prepare for version 1.5.5.Richard Jones2010-08-261-1/+1
|
* Version 1.5.4.1.5.4Richard Jones2010-08-241-1/+1
|
* New APIs: set-network and get-network to enable network support.Richard Jones2010-08-241-3/+3
| | | | guestfs_set_network (g, true) enables network support in the appliance.
* Version 1.5.31.5.3Richard Jones2010-08-171-1/+1
|
* fish: Add -c/--connect and -d/--domain options.Richard Jones2010-08-171-0/+10
| | | | | | | | The -d option lets you specify libvirt domains. The disks from these domains are found and added, as if you'd named them with -a. The -c option lets you specify a libvirt URI, which is needed when we consult libvirt to implement the above.
* New API: file-architectureRichard Jones2010-08-171-0/+19
| | | | | | This change simply converts the existing Perl-only function file_architecture into a core API call. The core API call is written in C and available in all languages and from guestfish.
* Python: Use new PyCapsule API where supported.Richard Jones2010-08-171-0/+5
| | | | | See: http://lists.fedoraproject.org/pipermail/devel/2010-August/141064.html
* Version 1.5.2.1.5.2Richard Jones2010-07-221-1/+1
|
* Version 1.5.1.1.5.1Richard Jones2010-07-211-1/+1
|
* Use an unsigned type (size_t) for all loop iterators.Richard Jones2010-07-161-1/+0
| | | | | | | | | This resolves a warning from gcc 4.5: assuming signed overflow does not occur when simplifying conditional to constant This page explains the issues in some detail: http://www.airs.com/blog/archives/120
* build: Don't warn about 'long long'.Richard Jones2010-07-161-0/+2
| | | | | Various language bindings simply need this, so we have to allow it even though it's a GCC extension.
* Prepare for new development branch, starting at 1.5.0.Richard Jones2010-07-081-2/+2
| | | | | | Add BUGS and RELEASE-NOTES to EXTRA_DIST. Also update the RELEASE-NOTES file.
* Version 1.3.21.1.3.21Richard Jones2010-06-161-1/+1
|
* Version 1.3.20.1.3.20Richard Jones2010-06-081-1/+1
|
* Version 1.3.19.1.3.19Richard Jones2010-06-041-1/+1
| | | | Update BUGS and PO files.
* Version 1.3.18.1.3.18Richard Jones2010-06-021-1/+1
| | | | Update BUGS and PO files.
* Version 1.3.17.1.3.17Richard Jones2010-05-271-1/+1
|
* Version 1.3.16.1.3.16Richard Jones2010-05-251-1/+1
|
* Version 1.3.15.1.3.15Richard Jones2010-05-251-1/+1
|