summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* erlang, lua: Fix links in man pages.Richard W.M. Jones2012-11-192-1/+3
|
* lua: Test globals in Guestfs.* namespace.Richard W.M. Jones2012-11-192-0/+28
|
* lua: Add global Guestfs.event_all (list of all events).Richard W.M. Jones2012-11-192-0/+19
|
* Version 1.19.61.1.19.61Richard W.M. Jones2012-11-196-62/+352
|
* lua: Various fixes and enhancements:Richard W.M. Jones2012-11-199-55/+435
| | | | | | | | | - add support for events (with test) - test progress messages - update documentation to describe events - refactor handle closing code - refactor error code - use 'assert' in test code instead of 'if ... then error end'
* perl: Add test of multiple independent handles.Richard W.M. Jones2012-11-191-0/+37
|
* lua: examples: Boolean true shouldn't have quotes around it.Richard W.M. Jones2012-11-181-2/+2
|
* lua: Add another test to prove that the handles are really independent.Richard W.M. Jones2012-11-182-0/+43
|
* lua: Don't use %m since Lua string formatter doesn't understand it.Richard W.M. Jones2012-11-181-2/+5
| | | | Use %s + strerror as a replacement.
* lua: Add some missing features.Richard W.M. Jones2012-11-172-8/+50
| | | | | | | | - Remove default error handler. - User cancel. - Add the errno to the object which is thrown on error. Still no events.
* Version 1.19.60.1.19.60Richard W.M. Jones2012-11-1720-3357/+4285
|
* Add Lua bindings.Richard W.M. Jones2012-11-1732-0/+1212
| | | | | | | | These are relatively complete, although only lightly tested. Missing: - events - last_errno - user_cancel
* perl: Clean up and update the tests.Richard W.M. Jones2012-11-173-4/+3
|
* perl: Small test of create with flags.Richard W.M. Jones2012-11-171-0/+25
|
* sparsify: Better error when user specifies --compress + raw output ↵Richard W.M. Jones2012-11-151-16/+21
| | | | (RHBZ#852194).
* todo: We must implement ACLs and filesystem capabilities for SCAP.Richard W.M. Jones2012-11-151-1/+23
| | | | Thanks Steve Grubb.
* daemon: Perform device name translation on mke2fs journaldevice (RHBZ#876579).Richard W.M. Jones2012-11-151-4/+18
| | | | | | | Also various fixes: - remove fixed-size buffer - change if (err) free (err) -> free (err).
* recipes: Add sections about hexdumping, hexediting sectors.Richard W.M. Jones2012-11-151-1/+14
|
* recipes: Add recipe for diffing two guests.Richard W.M. Jones2012-11-141-0/+10
|
* Version 1.19.59.1.19.59Richard W.M. Jones2012-11-1320-9796/+10535
|
* dist: Add miscellaneous files to the tarball.Richard W.M. Jones2012-11-134-1/+15
| | | | Lots of these had been omitted over time.
* tests/protocol: Add test-qemudir-launchfail.sh to tarball (but don't run it).Richard W.M. Jones2012-11-131-1/+2
| | | | | | | This file was present in git, but missing from the tarball. Don't actually run the test: it depends on details of how the appliance is constructed which would fail for old-style appliances.
* fish: Add test for remote events.Richard W.M. Jones2012-11-132-1/+3
| | | | | | | This test was present in git, but not included in the tarball, nor in the tests that guestfish actually runs. This fixes commit 17182af3a6de8e3e94e0a914416c54f09bb74007.
* tests: Add a parallel launch test.Richard W.M. Jones2012-11-135-0/+203
| | | | | | | This is designed to reveal libvirt race conditions such as bug 875741. This is a "slow test" so it only runs if you do 'make check-slow'.
* tests: Add 'make check-slow' rule to recursively run slow/long-running tests.Richard W.M. Jones2012-11-133-6/+20
|
* Add 'make help' rule.Richard W.M. Jones2012-11-132-0/+27
| | | | This gives a short overview of the make targets.
* tests: Replace 'make extra-tests' with individual tests.Richard W.M. Jones2012-11-1336-392/+225
| | | | | | | | | | | | | | | | | | | | | | | | | 'make extra-tests' was a monolithic set of tests that did all sorts of things: valgrind, tests over local guests, tests with upstream qemu, tests with upstream libvirt, tests with the appliance attach method. This made it hard to perform individual tests, eg. just valgrind testing. It was also hard to maintain because the tests were not located in the same directories as the programs and sometimes duplicated tests that were run elsewhere. This commit splits up 'make extra-tests' into 5 separate targets: make check-valgrind # run a subset of tests under valgrind make check-valgrind-local-guests # test under valgrind with local guests make check-with-appliance # test with attach-method == appliance make check-with-upstream-qemu # test with an alternate/upstream qemu make check-with-upstream-libvirt # test with an alternate/upstream libvirt (You can also still run 'make extra-tests' which is now simply a rule that runs the above 5 targets in order). This replaces everything that was in the tests/extra directory, so that has now gone.
* extra-tests: Add $(libvirt_ro_uri) substitution to configure.Richard W.M. Jones2012-11-132-11/+12
| | | | This is essentially just code motion.
* Define whole valgrind command (as @VG@) in the configure script.Richard W.M. Jones2012-11-133-7/+7
| | | | | | This is mostly just code motion, but it also changes the default location where valgrind.log is written to be the top build directory (instead of tests/extra/valgrind.log).
* align: Add a test for virt-alignment-scan.Richard W.M. Jones2012-11-132-2/+33
|
* fish: Add simple tests of starting up, inspection, using the prepared disks.Richard W.M. Jones2012-11-134-0/+81
|
* inspector: Add some real virt-inspector tests.Richard W.M. Jones2012-11-135-5/+68
|
* extra-tests: Move valgrind suppressions file to top source directory.Richard W.M. Jones2012-11-123-3/+24
| | | | This is just code motion.
* Various fixes to API support script.Richard W.M. Jones2012-11-1211-49/+5373
| | | | | Remove internal structures, fix it so it works with the new code layout under src/
* lib: Split up huge src/guestfs.c into logical compilation units.Richard W.M. Jones2012-11-129-541/+675
| | | | | | | | | | | | | | | | | | | This file had grown by accretion to include: - code related to handles (now in src/handle.c) - safe allocation (src/alloc.c) - debug, errors, warnings (src/errors.c) - private data (src/private-data.c) - miscellaneous functions (src/canonical-name.c, src/utils.c) This commit also removes about a dozen #include files which were probably not really used. This is just code motion.
* test-tool: Print cachedir and tmpdir.Richard W.M. Jones2012-11-101-0/+6
| | | | This fixes commit 1efed122c07792f4c66a4083159cfacfb1893212.
* Update release notes.Richard W.M. Jones2012-11-102-7/+109
|
* Version 1.19.58.1.19.58Richard W.M. Jones2012-11-1020-24351/+25655
|
* lib: Fix memory leak in tmpdir/cachedir code (found by valgrind).Richard W.M. Jones2012-11-101-0/+3
| | | | This fixes commit 1efed122c07792f4c66a4083159cfacfb1893212.
* tests: Remove double-test for availability.Richard W.M. Jones2012-11-092-16/+29
| | | | | | | | | | If you have a function which is in the X optgroup, and also has IfAvailable X, then two tests for the optgroup are added to the output. Check for this case and give an error. This also fixes existing APIs.
* tests: More efficient use of strings in the object code.Richard W.M. Jones2012-11-091-37/+32
| | | | No functional change.
* tests: Use guestfs_{push,pop}_error_handler.Richard W.M. Jones2012-11-091-13/+7
| | | | | | Replace the custom error handler with calls to guestfs_{push,pop}_error_handler only where necessary. This simplifies the generated code.
* tests: Cleanup code that prints each test name.Richard W.M. Jones2012-11-091-12/+18
| | | | This is just code motion.
* tests: Change code for printing warnings about untested functions.Richard W.M. Jones2012-11-091-3/+12
| | | | Just code cleanup, no functional change.
* tests: Remove dead code in generated output.Richard W.M. Jones2012-11-091-10/+0
|
* tests: Format the generated code properly.Richard W.M. Jones2012-11-091-6/+12
| | | | This is just whitespace changes in the output.
* fuse: Use guestfs_{push,pop}_error_handler so we can see errors in shutdown.Richard W.M. Jones2012-11-091-7/+9
| | | | | | In the fork (usual) case, we still won't see any errors since stderr has been redirected to /dev/null, but this way is still a little more correct.
* tools: Modify existing tools to use guestfs_{push,pop}_error_handler.Richard W.M. Jones2012-11-0913-160/+83
| | | | | This is a shorter and more convenient way to disable errors temporarily across calls.
* lib: Modify library code to use guestfs_{push,pop}_error_handler.Richard W.M. Jones2012-11-095-34/+33
| | | | | This is less efficient than directly manipulating g->error_cb, but easier to maintain.
* lib: Add new C API calls: guestfs_push_error_handler,Richard W.M. Jones2012-11-094-11/+95
| | | | | | | | | | | | | | | | | guestfs_pop_error_handler. The addition of these calls makes it much simpler to temporarily disable or ignore errors: guestfs_push_error_handler (g, NULL, NULL); guestfs_mkdir (g, "/foo"); /* We don't care if this fails. */ guestfs_pop_error_handler (g); Note these calls are used by the C API only. They are not necessary in other languages, because those map errors to exceptions. The subsequent commits change existing code to use push/pop instead of laboriously saving and restoring the error handler.