virt-top.git
16 years agoCosmetic fixes and comments.
Richard W.M. Jones [Tue, 15 Apr 2008 14:33:08 +0000 (15:33 +0100)]
Cosmetic fixes and comments.

16 years agoRead out the actual metadata.
Richard W.M. Jones [Tue, 15 Apr 2008 14:27:06 +0000 (15:27 +0100)]
Read out the actual metadata.

16 years agoAdded a documentation note about RAID devices.
Richard W.M. Jones [Tue, 15 Apr 2008 14:08:52 +0000 (15:08 +0100)]
Added a documentation note about RAID devices.

16 years agoRead out metadata offset & length from PV header.
Richard W.M. Jones [Tue, 15 Apr 2008 14:08:34 +0000 (15:08 +0100)]
Read out metadata offset & length from PV header.

16 years agoRefactor the types so we have distinct PV & LV types.
Richard W.M. Jones [Tue, 15 Apr 2008 12:51:57 +0000 (13:51 +0100)]
Refactor the types so we have distinct PV & LV types.

16 years agoInfrastructure to detect filesystems on LVs.
Richard W.M. Jones [Tue, 15 Apr 2008 11:57:58 +0000 (12:57 +0100)]
Infrastructure to detect filesystems on LVs.

16 years agoUpdate deps.
Richard W.M. Jones [Tue, 15 Apr 2008 10:44:59 +0000 (11:44 +0100)]
Update deps.

16 years agoLVM2 PV detection.
Richard W.M. Jones [Tue, 15 Apr 2008 10:44:54 +0000 (11:44 +0100)]
LVM2 PV detection.

16 years agoAdd PV detection framework.
Richard W.M. Jones [Tue, 15 Apr 2008 10:44:41 +0000 (11:44 +0100)]
Add PV detection framework.

16 years agoDon't need the ': device' typecasts any more.
Richard W.M. Jones [Tue, 15 Apr 2008 10:26:46 +0000 (11:26 +0100)]
Don't need the ': device' typecasts any more.

16 years agoMove main code to virt_df_main.ml and provide explicit interface virt_df.mli
Richard W.M. Jones [Tue, 15 Apr 2008 10:00:29 +0000 (11:00 +0100)]
Move main code to virt_df_main.ml and provide explicit interface virt_df.mli

16 years agoAdded Polish translation (thanks: Piotr Drąg)
Richard W.M. Jones [Mon, 14 Apr 2008 16:50:02 +0000 (17:50 +0100)]
Added Polish translation (thanks: Piotr Drąg)

16 years agoComplete rewrite of virt-df:
Richard W.M. Jones [Mon, 14 Apr 2008 16:48:49 +0000 (17:48 +0100)]
Complete rewrite of virt-df:
  - Uses pa_bitmatch for robust parsing of disk structures.
  - Completely modularized.

16 years agoUpdated deps.
Richard W.M. Jones [Mon, 14 Apr 2008 16:48:16 +0000 (17:48 +0100)]
Updated deps.

16 years agopa_bitmatch package added. xml-light is now optional. MBR code now in its own file.
Richard W.M. Jones [Mon, 14 Apr 2008 16:48:00 +0000 (17:48 +0100)]
pa_bitmatch package added. xml-light is now optional. MBR code now in its own file.

16 years agoAdd new column for virt-df requirements.
Richard W.M. Jones [Mon, 14 Apr 2008 16:47:09 +0000 (17:47 +0100)]
Add new column for virt-df requirements.

16 years agoCheck for pa_bitmatch extension (now required by virt-df).
Richard W.M. Jones [Mon, 14 Apr 2008 16:46:47 +0000 (17:46 +0100)]
Check for pa_bitmatch extension (now required by virt-df).

16 years agoAllow extra OCAMLDEPFLAGS to be passed, eg to make syntax extensions possible.
Richard W.M. Jones [Mon, 14 Apr 2008 16:46:15 +0000 (17:46 +0100)]
Allow extra OCAMLDEPFLAGS to be passed, eg to make syntax extensions possible.

16 years agoUpdated PO files.
Richard W.M. Jones [Fri, 28 Mar 2008 17:30:38 +0000 (17:30 +0000)]
Updated PO files.

16 years agoInternationalize virt-top.
Richard W.M. Jones [Fri, 28 Mar 2008 17:30:32 +0000 (17:30 +0000)]
Internationalize virt-top.

16 years agoUpdated PO files.
Richard W.M. Jones [Fri, 28 Mar 2008 17:12:53 +0000 (17:12 +0000)]
Updated PO files.

16 years agoInternationalize virt-df program.
Richard W.M. Jones [Fri, 28 Mar 2008 17:12:47 +0000 (17:12 +0000)]
Internationalize virt-df program.

16 years agoShould always link to program gettext package.
Richard W.M. Jones [Fri, 28 Mar 2008 17:12:35 +0000 (17:12 +0000)]
Should always link to program gettext package.

16 years agoUpdate translations. Added a couple of Japanese translations for testing.
Richard W.M. Jones [Fri, 28 Mar 2008 17:03:17 +0000 (17:03 +0000)]
Update translations.  Added a couple of Japanese translations for testing.

16 years agoInternationalize virt-ctrl.
Richard W.M. Jones [Fri, 28 Mar 2008 17:03:03 +0000 (17:03 +0000)]
Internationalize virt-ctrl.

16 years agoMake mlvirsh localizable.
Richard W.M. Jones [Fri, 28 Mar 2008 16:47:41 +0000 (16:47 +0000)]
Make mlvirsh localizable.

16 years agoBasic infrastructure for using gettext to translate.
Richard W.M. Jones [Fri, 28 Mar 2008 16:47:27 +0000 (16:47 +0000)]
Basic infrastructure for using gettext to translate.

16 years agoVersion 0.4.1.1 for release.
Richard W.M. Jones [Wed, 19 Mar 2008 11:35:11 +0000 (11:35 +0000)]
Version 0.4.1.1 for release.

16 years agoInstall the *.cmi files as well.
Richard W.M. Jones [Wed, 19 Mar 2008 11:34:00 +0000 (11:34 +0000)]
Install the *.cmi files as well.

16 years agoGenerated file updated by previous commit.
Richard W.M. Jones [Wed, 19 Mar 2008 11:33:48 +0000 (11:33 +0000)]
Generated file updated by previous commit.

16 years agoUse CAMLnoreturn to avoid compiler warning.
Richard W.M. Jones [Wed, 19 Mar 2008 11:31:06 +0000 (11:31 +0000)]
Use CAMLnoreturn to avoid compiler warning.

16 years agoDon't link virt-df with ncurses.
rjones@thinkpad.home.annexia.org [Wed, 5 Mar 2008 10:11:05 +0000 (10:11 +0000)]
Don't link virt-df with ncurses.

16 years agoVersion 0.4.1.0 for release.
Richard W.M. Jones [Tue, 4 Mar 2008 17:44:24 +0000 (17:44 +0000)]
Version 0.4.1.0 for release.

16 years agoRestructure main window code slightly.
Richard W.M. Jones [Tue, 4 Mar 2008 17:38:36 +0000 (17:38 +0000)]
Restructure main window code slightly.

16 years agoNew connection dialog with support for Avahi detection of libvirtd.
Richard W.M. Jones [Tue, 4 Mar 2008 17:38:14 +0000 (17:38 +0000)]
New connection dialog with support for Avahi detection of libvirtd.

16 years agoUpdated deps.
Richard W.M. Jones [Tue, 4 Mar 2008 17:37:01 +0000 (17:37 +0000)]
Updated deps.

16 years agoAdded support for compiled-in icons from a GNOME theme.
Richard W.M. Jones [Tue, 4 Mar 2008 17:36:42 +0000 (17:36 +0000)]
Added support for compiled-in icons from a GNOME theme.

16 years agoUpdated MANIFEST.
Richard W.M. Jones [Tue, 4 Mar 2008 17:35:19 +0000 (17:35 +0000)]
Updated MANIFEST.

16 years ago"Finish off" this program, add manpage.
Richard W.M. Jones [Tue, 4 Mar 2008 13:43:04 +0000 (13:43 +0000)]
"Finish off" this program, add manpage.

16 years agoUpdate list of dependencies.
Richard W.M. Jones [Tue, 4 Mar 2008 13:42:39 +0000 (13:42 +0000)]
Update list of dependencies.

16 years agoUpdate MANIFEST.
Richard W.M. Jones [Wed, 27 Feb 2008 11:37:12 +0000 (11:37 +0000)]
Update MANIFEST.

16 years agoMove connection dialog to its own module. ocaml-dbus >= 0.04.
Richard W.M. Jones [Wed, 27 Feb 2008 11:36:43 +0000 (11:36 +0000)]
Move connection dialog to its own module.  ocaml-dbus >= 0.04.

16 years agoUpgrade to released storage API in libvirt CVS.
Richard W.M. Jones [Wed, 20 Feb 2008 18:47:19 +0000 (18:47 +0000)]
Upgrade to released storage API in libvirt CVS.

16 years agoExtra tasks for jmh
Richard W.M. Jones [Wed, 20 Feb 2008 11:42:37 +0000 (11:42 +0000)]
Extra tasks for jmh

16 years agoMove open_connection dialog.
Richard W.M. Jones [Sat, 16 Feb 2008 19:23:16 +0000 (19:23 +0000)]
Move open_connection dialog.
 - Move open_connection dialog into vc_mainwindow which is more logical.

16 years agoCombine historical data, provide accessor functions.
Richard W.M. Jones [Sat, 16 Feb 2008 19:16:50 +0000 (19:16 +0000)]
Combine historical data, provide accessor functions.
 - Historical data combined into a single array of dhentrys.
 - Provide accessor functions.
 - Clamp %CPU to 0..100.

16 years agoStore domain %CPU and memory history.
Richard W.M. Jones [Sat, 16 Feb 2008 16:29:02 +0000 (16:29 +0000)]
Store domain %CPU and memory history.

16 years agoClean up memory handling.
Richard W.M. Jones [Sat, 16 Feb 2008 16:28:44 +0000 (16:28 +0000)]
Clean up memory handling.
 - Call Gc.compact during timeout handler and when program exits to check
   for memory errors.
 - Don't allow timeout exceptions to propagate - causes a segfault in lablgtk.
 - Tidy up the About dialog.

16 years agoAdded a separate file and dependency for DBus.
Richard W.M. Jones [Sat, 16 Feb 2008 14:22:37 +0000 (14:22 +0000)]
Added a separate file and dependency for DBus.

16 years agoRewrite the requirements section of the README file to make it
Richard W.M. Jones [Sat, 16 Feb 2008 14:06:52 +0000 (14:06 +0000)]
Rewrite the requirements section of the README file to make it
clearer.

16 years agoVersion 0.4.0.3 released.
Richard W.M. Jones [Tue, 12 Feb 2008 20:24:03 +0000 (20:24 +0000)]
Version 0.4.0.3 released.

16 years agoMinor fix for calendar 1.x
Richard W.M. Jones [Tue, 12 Feb 2008 20:22:14 +0000 (20:22 +0000)]
Minor fix for calendar 1.x

16 years agoSupport for calendar >= 2.0
rjones@thinkpad.home.annexia.org [Tue, 12 Feb 2008 20:22:43 +0000 (20:22 +0000)]
Support for calendar >= 2.0

16 years agoFix Volume.lookup_by_key and Volume.lookup_by_path
Richard W.M. Jones [Sun, 20 Jan 2008 12:47:11 +0000 (12:47 +0000)]
Fix Volume.lookup_by_key and Volume.lookup_by_path
* libvirt/libvirt.mli, libvirt/libvirt.ml: These functions take
  a connection object, not a pool, as first parameter.

16 years agoVersion 0.4.0.2 released.
Richard W.M. Jones [Sun, 20 Jan 2008 12:37:18 +0000 (12:37 +0000)]
Version 0.4.0.2 released.

16 years agoUpdated MANIFEST
Richard W.M. Jones [Sun, 20 Jan 2008 12:36:53 +0000 (12:36 +0000)]
Updated MANIFEST

16 years agoImplemented virStorageVolLookupByName & virStorageVolCreateXML.
Richard W.M. Jones [Sun, 20 Jan 2008 12:34:13 +0000 (12:34 +0000)]
Implemented virStorageVolLookupByName & virStorageVolCreateXML.

16 years agoReturn UUID (packed byte array) correctly.
Richard W.M. Jones [Sun, 20 Jan 2008 12:08:15 +0000 (12:08 +0000)]
Return UUID (packed byte array) correctly.

16 years agoPrint signatures next to functions in the bindings.
Richard W.M. Jones [Sat, 19 Jan 2008 17:50:01 +0000 (17:50 +0000)]
Print signatures next to functions in the bindings.

16 years agoDon't hard-code Storage API errors, in case building with older libvirt.
Richard W.M. Jones [Sat, 19 Jan 2008 17:41:51 +0000 (17:41 +0000)]
Don't hard-code Storage API errors, in case building with older libvirt.

16 years agoComplete implementation of storage API.
Richard W.M. Jones [Sat, 19 Jan 2008 17:26:09 +0000 (17:26 +0000)]
Complete implementation of storage API.

16 years agoJob functions should be marked as weak.
Richard W.M. Jones [Sat, 19 Jan 2008 16:34:33 +0000 (16:34 +0000)]
Job functions should be marked as weak.

16 years agoStorage API almost completed, even more autogeneration.
Richard W.M. Jones [Sat, 19 Jan 2008 16:29:10 +0000 (16:29 +0000)]
Storage API almost completed, even more autogeneration.

16 years agoAutogenerate *Free and *Destroy functions.
Richard W.M. Jones [Sat, 19 Jan 2008 14:51:26 +0000 (14:51 +0000)]
Autogenerate *Free and *Destroy functions.

16 years agoDocumentation updates.
Richard W.M. Jones [Sat, 19 Jan 2008 14:27:01 +0000 (14:27 +0000)]
Documentation updates.

16 years agoAutogenerate all GetUUID and GetUUIDString functions.
Richard W.M. Jones [Sat, 19 Jan 2008 14:14:02 +0000 (14:14 +0000)]
Autogenerate all GetUUID and GetUUIDString functions.

16 years agoFurther work on storage API and autogenerating bindings.
Richard W.M. Jones [Sat, 19 Jan 2008 14:03:15 +0000 (14:03 +0000)]
Further work on storage API and autogenerating bindings.

16 years agoNotes.
Richard W.M. Jones [Fri, 18 Jan 2008 21:35:05 +0000 (21:35 +0000)]
Notes.

16 years agoAdd 'make autostatus' target so we can test how we autogeneration of bindings is...
Richard W.M. Jones [Fri, 18 Jan 2008 21:34:57 +0000 (21:34 +0000)]
Add 'make autostatus' target so we can test how we autogeneration of bindings is going.

16 years agoIgnore config.cache (./configure -C)
Richard W.M. Jones [Fri, 18 Jan 2008 21:34:37 +0000 (21:34 +0000)]
Ignore config.cache (./configure -C)

16 years agoMore bindings autogenerated, more coverage of storage API.
Richard W.M. Jones [Fri, 18 Jan 2008 19:32:54 +0000 (19:32 +0000)]
More bindings autogenerated, more coverage of storage API.

16 years agoMove to autogeneration of many C bindings.
Richard W.M. Jones [Fri, 18 Jan 2008 18:43:20 +0000 (18:43 +0000)]
Move to autogeneration of many C bindings.
* configure.ac, libvirt/libvirt_c.c, libvirt/generator.pl: Many
  C bindings can now be autogenerated using a Perl script.
  Also includes preliminary support for the experimental
  storage API.

16 years agoList functions to test one-per-line to make it simpler to add more.
Richard W.M. Jones [Fri, 18 Jan 2008 12:49:39 +0000 (12:49 +0000)]
List functions to test one-per-line to make it simpler to add more.

16 years agoChanging copyright notice for new year.
Richard W.M. Jones [Fri, 18 Jan 2008 12:49:23 +0000 (12:49 +0000)]
Changing copyright notice for new year.

16 years agoGet node_info just once for each connection.
Richard W.M. Jones [Tue, 8 Jan 2008 15:14:15 +0000 (15:14 +0000)]
Get node_info just once for each connection.
* vc_connections.ml: Get node_info just once for each connection,
  which is more efficient.
* vc_connections.mli: Tidy up.

16 years agoType Vc_domain_ops.dops_callback_fn for clarity.
Richard W.M. Jones [Tue, 8 Jan 2008 14:43:14 +0000 (14:43 +0000)]
Type Vc_domain_ops.dops_callback_fn for clarity.
* virt-ctrl/vc_domain_ops.mli, virt-ctrl/vc_domain_ops.ml,
  virt-ctrl/vc_mainwindow.mli: Give a type name to the domain_ops
  callback type, for extra clarity.

16 years agoChange comments virt-manager -> virt-ctrl.
Richard W.M. Jones [Tue, 8 Jan 2008 14:33:53 +0000 (14:33 +0000)]
Change comments virt-manager -> virt-ctrl.
* virt-ctrl/*.ml, virt-ctrl/*.mli: Change comments virt-manager ->
  virt-ctrl.

16 years agoMove programming information to libvirt generated doc.
Richard W.M. Jones [Tue, 8 Jan 2008 13:26:23 +0000 (13:26 +0000)]
Move programming information to libvirt generated doc.
* README, libvirt/libvirt.mli: Moved programming information to
  libvirt generated documentation, greatly expanded examples and
  other issues.
* examples/Makefile.in, examples/node_info.ml, examples/.depend:
  Added node_info example program.
* .hgignore, Makefile.in: Ignore, clean up node_info binary.
* examples/list_domains.ml: Make a read-only connection.

16 years agoBumped version number.
Richard W.M. Jones [Tue, 8 Jan 2008 13:23:54 +0000 (13:23 +0000)]
Bumped version number.

16 years agoClean up *.exe files.
Richard W.M. Jones [Tue, 8 Jan 2008 13:22:14 +0000 (13:22 +0000)]
Clean up *.exe files.
* Makefile.in: Clean up *.exe files.

16 years agoVersion 0.4.0.1 released.
Richard W.M. Jones [Tue, 8 Jan 2008 11:22:01 +0000 (11:22 +0000)]
Version 0.4.0.1 released.
* Makefile.in: Provide a 'winupload' target.

16 years agoCommit ChangeLog.
Richard W.M. Jones [Tue, 8 Jan 2008 10:56:08 +0000 (10:56 +0000)]
Commit ChangeLog.

16 years agoRename some dialogs in virt-ctrl.
Richard W.M. Jones [Tue, 8 Jan 2008 10:55:57 +0000 (10:55 +0000)]
Rename some dialogs in virt-ctrl.
* virt-ctrl/vc_mainwindow.ml: Fix some "virtual machine manager" ->
  "virt-ctrl" dialogs in main window.

16 years agoFix bad paths in wininstaller.nsis.in.
Richard W.M. Jones [Tue, 8 Jan 2008 10:55:43 +0000 (10:55 +0000)]
Fix bad paths in wininstaller.nsis.in.
* wininstaller.nsis.in:
* .hgignore: Ignore *.orig files.

16 years agoUpdate Windows installer license to include GPL, LGPL text.
Richard W.M. Jones [Tue, 8 Jan 2008 10:32:42 +0000 (10:32 +0000)]
Update Windows installer license to include GPL, LGPL text.

16 years agoUpdate MANIFEST.
Richard W.M. Jones [Tue, 8 Jan 2008 10:31:39 +0000 (10:31 +0000)]
Update MANIFEST.

16 years agoFix native virt-ctrl on Windows.
Richard W.M. Jones [Tue, 8 Jan 2008 10:21:51 +0000 (10:21 +0000)]
Fix native virt-ctrl on Windows.
* virt-ctrl/Makefile.in, virt-ctrl/mingw-gcc-wrapper.ml: Wrapper
  around 'gcc' to fix native virt-ctrl builds on Windows/MinGW.
* .hgignore: Ignore *.exe files.

16 years agoUpdated MANIFEST.
Richard W.M. Jones [Mon, 7 Jan 2008 22:54:49 +0000 (22:54 +0000)]
Updated MANIFEST.
* MANIFEST: Bring the MANIFEST file up to date.

16 years agomlvirtmanager renamed as virt-ctrl.
Richard W.M. Jones [Mon, 7 Jan 2008 22:53:34 +0000 (22:53 +0000)]
mlvirtmanager renamed as virt-ctrl.
* .hgignore, Makefile.in, configure.ac: Rename
  mlvirtmanager as virt-ctrl to avoid any confusion with
  the real virt-manager.
* mlvirtmanager/, virt-ctrl/: Subdirectory moved.
* README: Supporting documentation updated.

16 years agoMissing virt-df/.depend.
Richard W.M. Jones [Mon, 7 Jan 2008 19:09:35 +0000 (19:09 +0000)]
Missing virt-df/.depend.

16 years agoFix executable permissions added by Windoze.
Richard W.M. Jones [Mon, 7 Jan 2008 19:09:17 +0000 (19:09 +0000)]
Fix executable permissions added by Windoze.

16 years agoInclude mlvirtmanager in the Windows installer.
Richard W.M. Jones [Mon, 7 Jan 2008 19:00:16 +0000 (19:00 +0000)]
Include mlvirtmanager in the Windows installer.
* wininstaller.nsis.in: Include mlvirtmanager in the Windows
  installer.
* Makefile.in: Re-enable native code builds for Windows installer.
* mlvirtmanager/Makefile.in: Pass $(LDFLAGS) when building on
  Windows - you need to specify the location of $GTK/lib.

16 years agoBundle Gtk DLLs and support files in the Windows installer.
Richard W.M. Jones [Mon, 7 Jan 2008 17:39:05 +0000 (17:39 +0000)]
Bundle Gtk DLLs and support files in the Windows installer.
* configure.ac: Detect library paths instead of hard-
  coding them.
* wininstaller.nsis (removed): This file is now autogenerated.
* wininstaller.nsis.in: Bundle Gtk DLLs and support files.
* Makefile.in: More verbose messages from NSIS.

16 years agoInclude required libraries in the Windows installer.
Richard W.M. Jones [Mon, 7 Jan 2008 13:19:32 +0000 (13:19 +0000)]
Include required libraries in the Windows installer.
* wininstaller.nsis: Include *.dll files.

16 years agoUpdate ChangeLog for Windows installer details.
Richard W.M. Jones [Mon, 7 Jan 2008 11:21:30 +0000 (11:21 +0000)]
Update ChangeLog for Windows installer details.

16 years agoBasic framework for NSIS.
Richard W.M. Jones [Mon, 7 Jan 2008 11:19:38 +0000 (11:19 +0000)]
Basic framework for NSIS.

16 years agomlvirtmanager compiles and runs on Windows (MinGW).
Richard W.M. Jones [Sat, 5 Jan 2008 16:59:48 +0000 (16:59 +0000)]
mlvirtmanager compiles and runs on Windows (MinGW).
* configure.ac: Directories to search for optional modules were
  specified incorrectly - fixed.
* mlvirtmanager/Makefile.in: Changed so can build without
  ocamlfind, and checked it can build on Windows.

16 years agomlvirsh can compile without extlib
Richard W.M. Jones [Sat, 5 Jan 2008 15:38:45 +0000 (15:38 +0000)]
mlvirsh can compile without extlib
* mlvirsh/mlvirsh.ml: mlvirsh only needed three functions from
  extlib, so copy them in here to avoid the dependency.
* configure.ac: No dependency on extlib for mlvirsh.
* mlvirsh/Makefile.in: Changed so can build without ocamlfind.
* README: Updated documentation.

16 years agoUpdate documentation for Windows.
Richard W.M. Jones [Sat, 5 Jan 2008 15:24:06 +0000 (15:24 +0000)]
Update documentation for Windows.
* README: Update documentation for Windows.

16 years agoBuild libvirt and examples on Windows (MinGW).
Richard W.M. Jones [Sat, 5 Jan 2008 15:16:31 +0000 (15:16 +0000)]
Build libvirt and examples on Windows (MinGW).
* aclocal.m4: Add AC_CHECK_OCAML_MODULE to check for OCaml
  modules directly (without ocamlfind being needed).
* configure.ac: Remove requirement for ocamlfind.
* config.guess, config.sub: Ship these files to guess host,
  build and target.
* libvirt/Makefile.in, examples/Makefile.in: Change these
  so they don't require ocamlfind, do the right thing on MinGW.
* Make.rules.in: Make.rules is now generated from this file.
  File can use ocamlfind or direct ocaml commands as available.
* .hgignore: Ignore some generated files on Windows.