summaryrefslogtreecommitdiffstats
path: root/ocaml
Commit message (Collapse)AuthorAgeFilesLines
* build: enable gcc warnings in capitests/ and ocaml/Jim Meyering2009-08-271-1/+2
| | | | | * capitests/Makefile.am: Use $(WARN_CFLAGS) and $(WERROR_CFLAGS). * ocaml/Makefile.am:: Likewise.
* ocaml/guestfs_c.c: avoid warning about missing prototypesJim Meyering2009-08-271-0/+4
| | | | * ocaml/guestfs_c.c (ocaml_guestfs_create, ocaml_guestfs_close): Declare.
* ocaml/guestfs_c.c: avoid warning about initialization discarding "const"Jim Meyering2009-08-271-1/+1
| | | | * ocaml/guestfs_c.c (guestfs_custom_operations): Add a cast.
* ocaml/guestfs_c.c avoid signed/unsigned-comparison warningJim Meyering2009-08-271-1/+1
| | | | | * ocaml/guestfs_c.c (ocaml_guestfs_strings_val): Declare index as unsigned int.
* build: remove trailing blank lines; enable the syntax-check ruleJim Meyering2009-08-041-1/+0
| | | | | | | | | | | | | | * cfg.mk (disable_temporarily): Remove sc_prohibit_trailing_blank_lines. * appliance/Makefile.am: Remove trailing blank line(s). * appliance/debian/modules/y0_install-guestfsd: Likewise. * appliance/make.sh.in: Likewise. * appliance/packagelist.in: Likewise. * appliance/update.sh.in: Likewise. * haskell/run-bindtests: Likewise. * ocaml/run-bindtests: Likewise. * python/run-python-tests: Likewise. * recipes/squashfs.example: Likewise. * ruby/run-ruby-tests: Likewise.
* build: don't emit trailing blanks, remove generated fileJim Meyering2009-08-042-7/+8
| | | | | | * ocaml/Makefile.am (.depend): Don't redirect directly to $@. Filter out trailing blanks. * ocaml/.depend: Regenerate.
* Convert all TABs-as-indentation to spaces.Jim Meyering2009-08-031-4/+4
| | | | | | | | | | | 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 : $_'
* always include <config.h>Jim Meyering2009-08-031-0/+1
| | | | | | * ocaml/guestfs_c.c: Include <config.h>. * examples/to-xml.c: Likewise. * examples/hello.c: Likewise.
* build: add -I option to get config.h.Jim Meyering2009-08-031-2/+5
| | | | | * ocaml/Makefile.am (AM_CPPFLAGS): Define. (guestfs_c.o, guestfs_c_actions.o): Use it.
* ocaml: Rebuild the tests from source if the main library changes.Richard Jones2009-07-291-0/+5
|
* Fix non-srcdir builds: further fixes to OCaml build rules.Richard Jones2009-07-171-0/+1
|
* Fix non-srcdir builds: fix OCaml build rules.Richard Jones2009-07-161-5/+5
|
* Miscellaneous fixes for non-srcdir builds.Richard Jones2009-07-161-3/+3
|
* Version 1.0.56.1.0.56Richard W.M. Jones2009-07-071-0/+1
|
* Update ocaml/.depend.Richard Jones2009-07-071-1/+0
|
* Whitespace change in ocaml/.depend file.Richard Jones2009-07-061-5/+5
|
* Make it possible to build in a separate directoryMatthew Booth2009-07-031-2/+6
| | | | | | | | | | | | | | | | | | | | | | 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 blanksJim Meyering2009-07-031-5/+5
|
* Remove generated code from git.Richard W.M. Jones2009-07-024-6023/+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. Jones2009-07-025-2/+136
| | | | | | | | | | | | 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.
* Generated code for mknod, mkfifo, mknod_b, mknod_c, umask.Richard W.M. Jones2009-06-303-0/+145
|
* Generated code for 'set_memsize'/'get_memsize' calls.Richard W.M. Jones2009-06-303-0/+53
|
* Generated code for the 'mkswap*' commands.Richard W.M. Jones2009-06-293-0/+83
|
* Generated code for mount-loop command.Richard W.M. Jones2009-06-293-0/+28
|
* Generated code for 'initrd-list'.Richard W.M. Jones2009-06-293-0/+30
|
* Generated code for 'du' command.Richard W.M. Jones2009-06-293-0/+27
|
* Generated code for df / df-h.Richard W.M. Jones2009-06-293-0/+54
|
* Generated code for head/tail commands.Richard W.M. Jones2009-06-293-4/+126
|
* Generated code for 'wc_*' commands.Richard W.M. Jones2009-06-293-0/+81
|
* Generated code for 'mkdtemp' command.Richard W.M. Jones2009-06-243-0/+28
|
* Generated code for 'scrub-*' commands.Richard W.M. Jones2009-06-233-0/+81
|
* Generated code for 'glob-expand'.Richard Jones2009-06-223-0/+30
|
* Generated code for 'sh' and 'sh-lines' commands.Richard Jones2009-06-223-0/+58
|
* Generated code for ntfs_3g_probe command.Richard Jones2009-06-083-0/+28
|
* Generated code for the 'sleep' command.Richard Jones2009-06-043-0/+27
|
* No parallel make in ocaml/ directory (RHBZ#502309).Richard Jones2009-06-021-0/+4
|
* Generated code for 'add_drive_ro' call.Richard Jones2009-06-023-0/+27
|
* Fix permissions on ocaml/run-bindtestsRichard W.M. Jones2009-05-281-0/+0
|
* Add tests for bindings parameters, fix several broken bindings.Richard W.M. Jones2009-05-284-2/+71
|
* Add the test0* functions, used to test language bindings.Richard W.M. Jones2009-05-283-0/+761
|
* Move the appliance and build scripts into new appliance/ subdirectory.Richard W.M. Jones2009-05-281-1/+1
|
* abs_top_builddir doesn't exist in old RHEL 5 automake, use top_builddir instead.Richard Jones2009-05-271-3/+3
|
* Generated code for e2fsck-f command.Richard Jones2009-05-213-0/+27
|
* Generated code for 'find' command.Richard Jones2009-05-193-0/+30
|
* Generated code for lvresize, resize2fs.Richard Jones2009-05-183-0/+55
|
* Add vg-activate{,-all} commands, and resize recipe.Richard Jones2009-05-183-0/+56
|
* Add: pvresize, sfdisk-N, sfdisk-l, sfdisk-kernel-geomtry, ↵Richard W.M. Jones2009-05-153-0/+150
| | | | sfdisk-disk-geometry commands. Pass --no-reread flag to sfdisk.
* Add support for zerofree command.Richard W.M. Jones2009-05-143-0/+27
|
* Add 'append', LIBGUESTFS_APPEND to set additional kernel options.Richard W.M. Jones2009-05-133-0/+53
|
* Add 'make valgrind' target to run tests under valgrind.Richard Jones2009-05-091-1/+2
|