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