Add 'make autostatus' target so we can test how we autogeneration of bindings is...
[virt-top.git] / ChangeLog
1 2008-01-18  Richard Jones  <rjones@redhat.com>
2
3         Move to autogeneration of many C bindings.
4         * configure.ac, libvirt/libvirt_c.c, libvirt/generator.pl: Many
5           C bindings can now be autogenerated using a Perl script.
6           Also includes preliminary support for the experimental
7           storage API.
8
9 2008-01-08  Richard Jones  <rjones@redhat.com>
10
11         Get node_info just once for each connection.
12         * vc_connections.ml: Get node_info just once for each connection,
13           which is more efficient.
14         * vc_connections.mli: Tidy up.
15
16         Type Vc_domain_ops.dops_callback_fn for clarity.
17         * virt-ctrl/vc_domain_ops.mli, virt-ctrl/vc_domain_ops.ml,
18           virt-ctrl/vc_mainwindow.mli: Give a type name to the domain_ops
19           callback type, for extra clarity.
20
21         Change comments virt-manager -> virt-ctrl.
22         * virt-ctrl/*.ml, virt-ctrl/*.mli: Change comments virt-manager ->
23           virt-ctrl.
24
25         Move programming information to libvirt generated doc.
26         * README, libvirt/libvirt.mli: Moved programming information to
27           libvirt generated documentation, greatly expanded examples and
28           other issues.
29         * examples/Makefile.in, examples/node_info.ml, examples/.depend:
30           Added node_info example program.
31         * .hgignore, Makefile.in: Ignore, clean up node_info binary.
32         * examples/list_domains.ml: Make a read-only connection.
33
34         Clean up *.exe files.
35         * Makefile.in: Clean up *.exe files.
36
37         Version 0.4.0.1 released.
38         * Makefile.in: Provide a 'winupload' target.
39
40         Rename some dialogs in virt-ctrl.
41         * virt-ctrl/vc_mainwindow.ml: Fix some "virtual machine manager" ->
42           "virt-ctrl" dialogs in main window.
43
44         Fix bad paths in wininstaller.nsis.in.
45         * wininstaller.nsis.in: 
46         * .hgignore: Ignore *.orig files.
47
48         Fix native virt-ctrl on Windows.
49         * virt-ctrl/Makefile.in, virt-ctrl/mingw-gcc-wrapper.ml: Wrapper
50           around 'gcc' to fix native virt-ctrl builds on Windows/MinGW.
51         * .hgignore: Ignore *.exe files.
52
53 2008-01-07  Richard Jones  <rjones@redhat.com>
54
55         Updated MANIFEST.
56         * MANIFEST: Bring the MANIFEST file up to date.
57
58         mlvirtmanager renamed as virt-ctrl.
59         * .hgignore, Makefile.in, configure.ac: Rename
60           mlvirtmanager as virt-ctrl to avoid any confusion with
61           the real virt-manager.
62         * mlvirtmanager/, virt-ctrl/: Subdirectory moved.
63         * README: Supporting documentation updated.
64
65         Include mlvirtmanager in the Windows installer.
66         * wininstaller.nsis.in: Include mlvirtmanager in the Windows
67           installer.
68         * Makefile.in: Re-enable native code builds for Windows installer.
69         * mlvirtmanager/Makefile.in: Pass $(LDFLAGS) when building on
70           Windows - you need to specify the location of $GTK/lib.
71
72         Bundle Gtk DLLs and support files in the Windows installer.
73         * configure.ac: Detect library paths instead of hard-
74           coding them.
75         * wininstaller.nsis (removed): This file is now autogenerated.
76         * wininstaller.nsis.in: Bundle Gtk DLLs and support files.
77         * Makefile.in: More verbose messages from NSIS.
78
79         Include required libraries in the Windows installer.
80         * wininstaller.nsis: Include *.dll files.
81
82         Windows installer.
83         * Makefile.in, configure.ac: Add --with-nsis[=path/to/nsis] and
84           call out to 'makensis.exe'.
85         * wininstaller.nsis, winlicense.rtf: Configuration and support
86           files for NSIS-based Windows installer.
87         * README: Update documentation to reflect.
88
89 2008-01-05  Richard Jones  <rjones@redhat.com>
90
91         mlvirtmanager compiles and runs on Windows (MinGW).
92         * configure.ac: Directories to search for optional modules were
93           specified incorrectly - fixed.
94         * mlvirtmanager/Makefile.in: Changed so can build without
95           ocamlfind, and checked it can build on Windows.
96
97         mlvirsh can compile without extlib
98         * mlvirsh/mlvirsh.ml: mlvirsh only needed three functions from
99           extlib, so copy them in here to avoid the dependency.
100         * configure.ac: No dependency on extlib for mlvirsh.
101         * mlvirsh/Makefile.in: Changed so can build without ocamlfind.
102         * README: Updated documentation.
103
104         Update documentation for Windows.
105         * README: Update documentation for Windows.
106
107         Build libvirt and examples on Windows (MinGW).
108         * aclocal.m4: Add AC_CHECK_OCAML_MODULE to check for OCaml
109           modules directly (without ocamlfind being needed).
110         * configure.ac: Remove requirement for ocamlfind.
111         * config.guess, config.sub: Ship these files to guess host,
112           build and target.
113         * libvirt/Makefile.in, examples/Makefile.in: Change these
114           so they don't require ocamlfind, do the right thing on MinGW.
115         * Make.rules.in: Make.rules is now generated from this file.
116           File can use ocamlfind or direct ocaml commands as available.
117         * .hgignore: Ignore some generated files on Windows.
118
119 2008-01-04  Richard Jones  <rjones@redhat.com>
120
121         Make extlib an optional dependency.
122         * Makefile.in, README, configure.ac, examples/Makefile.in,
123           libvirt/Makefile.in, mlvirtmanager/Makefile.in: Much code
124           doesn't really need extlib, so make it optional.
125           Bail earlier in configure step if we don't have ocamlfind.
126
127 2007-12-20  Richard Jones  <rjones@redhat.com>
128
129         * libvirt/libvirt_c.c: Use enter/leave_blocking_section around
130           synchronous libvirt API calls, so that multithreaded OCaml
131           programs can be used.
132         * configure.ac: Version 0.4.0.0 for release.
133         * libvirt/libvirt.ml, libvirt/libvirt.mli, libvirt/libvirt_c.c:
134           Change the ad-hoc "foo not supported" exception into a
135           specific Libvirt.Not_supported "foo" exception.
136         * virt-top/virt_top.ml: Change virt-top to understand new
137           exception type.
138
139 2007-11-20  Richard Jones  <rjones@redhat.com>
140
141         * libvirt/libvirt.mli, libvirt/libvirt.ml: New error numbers
142           in base libvirt.
143         * libvirt/libvirt_c.c: Gracefully handle the case where libvirt
144           throws an error number we have not heard of before (eg. when
145           dynamic linking with newer libvirt).
146         * configure.ac: Check <libvirt/virterror.h> exists.
147         * configure.ac: Version 0.3.3.4.
148         * virt-top/virt-top.pod: Fixed ocaml libvirt website URI in manpage.
149
150 2007-11-19  Richard Jones  <rjones@redhat.com>
151
152         * virt-top/virt-top.pod: Example connection URIs in virt-top manpage
153           (bug 390691).
154
155 2007-11-14  Richard Jones  <rjones@redhat.com>
156
157         * libvirt/libvirt.mli: Added filename = string type to clarify
158           some function signatures which take a filename.  Added lots
159           of function documentation.
160         * libvirt/libvirt.ml: Added VIR_FROM_OPENVZ.
161         * configure.ac: Version 0.3.3.3 for release.
162
163 2007-11-14  Richard Jones  <rjones@redhat.com>
164
165         * Makefile.in: New rules for releasing and uploading.
166
167 2007-11-14  Richard Jones  <rjones@redhat.com>
168
169         * libvirt/libvirt.mli, libvirt/libvirt.ml, libvirt/libvirt_c.c:
170           Added support for virNodeGetFreeMemory and virNodeGetCellsFreeMemory
171         * mlvirsh/mlvirsh.ml: Added 'freecell' command.
172
173 2007-10-19  Richard Jones  <rjones@redhat.com>
174
175         * virt-top/virt_top_calendar.ml: Added --end-time option.
176           Extra optional dep on ocaml-calendar.
177         * virt-top/virt-top.pod: Document how to compress and split
178           CSV files.  Document --end-time option and time formats.
179         * virt-top/virt_top.ml: Allow sub-second delays when in batch
180           and script mode.
181         * virt-top/virt_top_utils.mli, virt-top/virt_top.mli: Reorganise
182           the code and add some interfaces.
183
184 2007-10-17  Richard Jones  <rjones@redhat.com>
185
186         * virt-top/virt_top.ml: Added --script option.
187         * virt-top/virt_top.ml: Log domain data to CSV file.
188         * virt-top/virt_top.ml: Added --no-csv-cpu, --no-csv-block and
189           --no-csv-net flags.
190         * virt-top/*.ml: Much code clean-up and restructuring.
191         * *: Added GNU GPL/LGPL copyright messages to all files.
192
193 2007-09-27  Richard Jones  <rjones@redhat.com>
194
195         * configure.ac: Changed version to 0.3.2.9.
196         * Makefile.in: Re-enable virt-df.
197         * virt-df/virt_df*.ml: Mostly finished off the core of virt-df.
198           Ext2/3 support.  No LVM as yet.
199         * virt-df/README: Added README file.
200
201 2007-09-24  Richard Jones  <rjones@redhat.com>
202
203         * configure.ac: Version 0.3.2.8 for release.
204         * virt-top/virt-top.ml, virt-top/virt-top.pod: Support for
205           $HOME/.virt-toprc init file, modelled after top.
206         * virt-top/virt_top_utils.ml: Split out string utilities
207           into a separate file.
208
209 2007-09-20  Richard Jones  <rjones@redhat.com>
210
211         * virt-top/virt_top.ml: qemu:/// URIs (and others) don't support
212           virConnectGetHostname.  Catch this exception.
213
214         * Makefile.in: Disable virt-df in this release until I have
215           time to fix it properly.
216         * Makefile.in: Fix 'check-manifest' rule.  Added 'make release'.
217         * MANIFEST: Updated MANIFEST.
218
219 2007-09-19  Richard Jones  <rjones@redhat.com>
220
221         * virt-top/virt_top.ml: Ignore transient error from
222           C.num_of_defined_domains when it cannot contact xend; that
223           was causing virt-top to exit when xend was restarted.
224
225 2007-09-18  Richard Jones  <rjones@redhat.com>
226
227         * virt-df/virt_df.ml: Handle domains with partition-backed
228           block devices.
229
230         * virt-top/virt_top.ml: Don't fail on older libvirt which would
231           give an error if list_domains or list_defined_domains was called
232           with n = 0.
233
234         * ChangeLog: Start tracking changes.
235