Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Remove ocaml/.depend from git." | Richard Jones | 2010-11-08 | 1 | -0/+5 |
| | | | | | | | | | This reverts commit 064569bcbf854a9cf588ce31851d987d5f114ec8. This commit does the wrong thing: creating an empty ocaml/.depend file is wrong because building the OCaml bindings will fail. Not having this file will prevent automake from running. Therefore this file has to exist with the correct content in git. | ||||
* | Remove ocaml/.depend from git. | Matthew Booth | 2010-10-28 | 1 | -5/+0 |
| | | | | ocaml/.depend is automatically generated. This patch removes it from git. | ||||
* | Update OCaml dependencies. | Richard Jones | 2010-09-10 | 1 | -3/+0 |
| | |||||
* | ocaml: Update dependencies file. | Richard Jones | 2009-11-09 | 1 | -4/+4 |
| | |||||
* | ocaml: Sort the dependencies so they are stable between machines. | Richard W.M. Jones | 2009-11-06 | 1 | -3/+3 |
| | |||||
* | inspector: Generate language bindings for OCaml. | Richard Jones | 2009-10-13 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a generic mechanism for deriving language bindings for virt-inspector, and implements one concrete binding, for OCaml. The bindings are generated from the RELAX NG schema (virt-inspector.rng) which is supposed to be a correct and always up to date description of the XML that the virt-inspector program can generate. From the RNG we generate a set of types to describe the output of virt-inspector for the language, plus an XML parser, plus some glue code to actually run an external instance of virt-inspector and parse the resulting XML. At runtime, an external 'virt-inspector --xml <name>' command runs and the XML is parsed into language-specific structures. This has been tested on the four example files (inspector/example?.xml) The only particular difficulty about the OCaml binding is the use of Obj.magic, which is naughty but works because of the isomorphism between the representation of tuples and records in OCaml. This seems to cause no problems in my test program. Apart from this, the OCaml binding is straightforward and could be adapted easily for any other languages that want type-safe virt-inspector bindings. It's important to keep virt-inspector.rng up to date with changes to virt-inspector's XML output format. | ||||
* | build: don't emit trailing blanks, remove generated file | Jim Meyering | 2009-08-04 | 1 | -5/+5 |
| | | | | | | * ocaml/Makefile.am (.depend): Don't redirect directly to $@. Filter out trailing blanks. * ocaml/.depend: Regenerate. | ||||
* | Version 1.0.56.1.0.56 | Richard W.M. Jones | 2009-07-07 | 1 | -0/+1 |
| | |||||
* | Update ocaml/.depend. | Richard Jones | 2009-07-07 | 1 | -1/+0 |
| | |||||
* | Add tests for bindings parameters, fix several broken bindings. | Richard W.M. Jones | 2009-05-28 | 1 | -0/+2 |
| | |||||
* | File was removed, updated dependencies. | Richard Jones | 2009-04-08 | 1 | -2/+0 |
| | |||||
* | Outline OCaml bindings. | Richard Jones | 2009-04-07 | 1 | -0/+5 |