summaryrefslogtreecommitdiffstats
path: root/gobject
Commit message (Collapse)AuthorAgeFilesLines
* dist: Add miscellaneous files to the tarball.Richard W.M. Jones2012-11-221-0/+2
| | | | | Lots of these had been omitted over time. (cherry picked from commit e8ad3efbc4e91e4a48654d65981f5906b462fb96)
* build: Return 77 from skipped tests.Richard W.M. Jones2012-08-052-2/+2
| | | | (cherry picked from commit fc86db3b3bcd884ee37cef79e22b0324df9fcae6)
* gobject: bindtests: gjs exception behaviour changed, fix test.Richard W.M. Jones2012-06-281-1/+1
| | | | | | | | | | When libguestfs calls 'error (g, "error")', gjs in F17 throws error.message == "Error invoking Guestfs.test0rinterr: error" In F18, error.message is simply the string "error". Fix the test so it works for both cases. (cherry picked from commit 6afb7336e33dc28c4fd1a4545a8298ee36c10723)
* build: Define abs_builddir if not defined already.Richard W.M. Jones2012-06-211-0/+3
| | | | | | | This is missing on RHEL 5. This updates commit 50aa9533e4a505e1c64dbedddb30491bfbb755d6. (cherry picked from commit bc7f1a5ef156576c069f47ea33f4977979ac032d)
* build: Define builddir and abs_srcdir when they are missing.Richard W.M. Jones2012-06-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | RHEL 5-era autoconf did not define these, so define them manually when they are missing. Define builddir as '.' The scripts require this. It won't work in the srcdir != builddir case, but we don't care about that for RHEL 5. This commit also moves the builddir / abs_srcdir variable setting above the include of subdir-rules.mk, in case that include uses these variables. Useful script: for f in $(find -name Makefile.am | xargs fgrep '$(abs_srcdir)' -l) ; do if ! grep -q '^abs_srcdir' $f; then echo missing in $f fi done (cherry picked from commit 50aa9533e4a505e1c64dbedddb30491bfbb755d6)
* Split off GObject tests that require an applianceHilko Bengen2012-06-013-3/+32
| | | | (cherry picked from commit 3893dc0b9436ebb4dd620c6ca9b1d038eacf83a6)
* Fix out-of-tree build for GObject bindingsHilko Bengen2012-06-011-2/+2
| | | | (cherry picked from commit 148e8068267bcf9ce8ff3a5062747998f960619d)
* NEW API: add new api btrfs-fsckWanlong Gao2012-05-151-2/+4
| | | | | | | | | Add the new API btrfs-fsck to check the btrfs filesystem. Btrfs is currently under heavy development, and not suitable for any uses other than benchmarking and review. But it'll be useful in the near future. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* gobject: remove old generated files furtherWanlong Gao2012-05-151-1/+1
| | | | | | also remove guestfs-gobject.c Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* gobject: Remove old generated files.Richard W.M. Jones2012-05-151-1/+8
|
* gobject: Fix installation of headers.Richard W.M. Jones2012-04-271-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RPM build errors: error: Installed (but unpackaged) file(s) found: /usr/include/optargs-add_domain.h /usr/include/optargs-add_drive_opts.h /usr/include/optargs-btrfs_filesystem_resize.h /usr/include/optargs-compress_device_out.h /usr/include/optargs-compress_out.h /usr/include/optargs-copy_device_to_device.h /usr/include/optargs-copy_device_to_file.h /usr/include/optargs-copy_file_to_device.h /usr/include/optargs-copy_file_to_file.h /usr/include/optargs-e2fsck.h /usr/include/optargs-inspect_get_icon.h /usr/include/optargs-md_create.h /usr/include/optargs-mkfs_btrfs.h /usr/include/optargs-mkfs_opts.h /usr/include/optargs-mount_9p.h /usr/include/optargs-mount_local.h /usr/include/optargs-ntfsclone_out.h /usr/include/optargs-ntfsfix.h /usr/include/optargs-ntfsresize_opts.h /usr/include/optargs-set_e2attrs.h /usr/include/optargs-test0.h /usr/include/optargs-tune2fs.h /usr/include/optargs-umount_local.h /usr/include/session.h /usr/include/struct-application.h /usr/include/struct-btrfssubvolume.h /usr/include/struct-dirent.h /usr/include/struct-inotify_event.h /usr/include/struct-int_bool.h /usr/include/struct-isoinfo.h /usr/include/struct-lvm_lv.h /usr/include/struct-lvm_pv.h /usr/include/struct-lvm_vg.h /usr/include/struct-mdstat.h /usr/include/struct-partition.h /usr/include/struct-stat.h /usr/include/struct-statvfs.h /usr/include/struct-version.h /usr/include/struct-xattr.h /usr/include/tristate.h We want to put these headers into the subdirectory, but not guestfs-gobject.h. This isn't easy with automake.
* gobject: Fix whitespace in Makefile.am.Richard W.M. Jones2012-04-271-2/+2
|
* gobject: Use generator_built macro to ensure generated files are rebuilt ↵Richard W.M. Jones2012-04-262-7/+11
| | | | properly.
* gobject: Move headers into a subdirectoryMatthew Booth2012-04-264-87/+91
| | | | | | | | | The gobject bindings generate a large number of header files, which pollute /usr/include when installed. This patch moves them all into a guestfs-gobject/ subdirectory. guestfs-gobject.h remains in the same place. This change also moves generated source files into src/, because it makes the gobject directory a bit tidier.
* gobject: Implement libguestfs events as signalsMatthew Booth2012-04-261-0/+33
| | | | | | | | | | Implement libguestfs events as GObject signals. Callback arguments are passed in a boxed object. Note that this patch fixes the length of the uint64_t array in the callback arguments at 16, whereas it is actually arbitrary length. This is to make it introspectable. There is currently no way to pass an arbitrary length array to a callback, and have its type introspected.
* New btrfs APIs.Richard W.M. Jones2012-04-251-0/+2
| | | | | | | | | | | | | | | | Bind the easy parts of the 'btrfs' program. The new APIs are: btrfs-device-add: add devices to a btrfs filesystem btrfs-device-delete: remove devices from a btrfs filesystem btrfs-filesystem-sync: sync a btrfs filesystem btrfs-filesystem-balance: balance a btrfs filesystem btrfs-subvolume-create: create a btrfs snapshot btrfs-subvolume-delete: delete a btrfs snapshot btrfs-subvolume-list: list btrfs snapshots and subvolumes btrfs-subvolume-set-default: set default btrfs subvolume btrfs-subvolume-snapshot: create a writable btrfs snapshot
* New APIs for reading and writing ext2 file attributes and file generation.Richard W.M. Jones2012-04-131-2/+4
| | | | | | | | | | | | The new APIs are: get-e2attrs: List ext2 file attributes of a file. set-e2attrs: Set or clear ext2 file attributes of a file. get-e2generation: Get ext2 file generation of a file. set-e2generation: Set ext2 file generation of a file. These are implemented using the lsattr and chattr programs from e2fsprogs.
* New API: mkfs-btrfs for creating btrfs filesystems (RHBZ#807905).Richard W.M. Jones2012-04-021-2/+4
| | | | This allows all parameters from btrfs to be accessed.
* New APIs: mount-local, mount-local-run, umount-local (FUSE support in the API).Richard W.M. Jones2012-03-291-0/+4
| | | | | | | | | | Add FUSE support directly to the API. Instead of needing to use the external 'guestmount' command, you can mount the libguestfs filesystem space on a local mountpoint using an API call from any language. Note that although mount-local-run is marked as Cancellable, the current implementation does not support it, but it would be relatively simple to add it.
* gobject: Ignore generated guestfs-sections.txtMatthew Booth2012-03-291-0/+1
|
* Fix out-of-tree build for GObject bindingsHilko Bengen2012-03-281-1/+1
| | | | | | | | | | guestfs-gobject.h (in the source directory) was not found. In file included from <stdin>:4:0: /path/to/libguestfs/gobject/guestfs-gobject.h:23:37: fatal error: guestfs-gobject-session.h: No such file or directory compilation terminated. Error while processing the source. make[2]: *** [Guestfs-1.0.gir] Error 1
* gobject: Remove gtk-doc from TODOMatthew Booth2012-03-281-1/+0
|
* gobject: Split sources into 1 file per classMatthew Booth2012-03-285-11/+106
| | | | | | | This greatly improves the usability of the generated gtk-doc. Although there is a lot of churn in generator_gobject.ml, this is almost exclusively code motion.
* gobject: Add infrastructure to build gtk-docMatthew Booth2012-03-285-0/+176
|
* gobject: Update TODO with details of inspect_get_type fixMatthew Booth2012-03-061-0/+3
|
* build: Add gobject/TODO.txt to EXTRA_DIST.Richard W.M. Jones2012-01-261-1/+2
| | | | This updates commit dd25638fc14ea63cf8e8eb0940173f1c6952447f.
* gobject: Add a TODO listMatthew Booth2012-01-261-0/+9
|
* gobject: Add an explicit close callMatthew Booth2012-01-263-2/+45
| | | | | This change binds guestfs_close(). It consequently results in RConstOptString being able to throw an error.
* gobject: Run bindtests from srcdir.Hilko Bengen2012-01-231-2/+2
|
* gobject: Include bindtests-manual.js in EXTRA_DIST.Richard W.M. Jones2012-01-221-3/+7
| | | | This fixes commit 93b0769ec7929a909678411d75840f81bed55a81.
* gobject: Add bindtests for return valuesMatthew Booth2012-01-202-0/+111
|
* gobject: Add basic bindtestsMatthew Booth2012-01-202-2/+36
|
* gobject: Add GObject bindingsMatthew Booth2012-01-201-0/+58