virt-top.git
8 years agomain: Record and print full exception stack traces.
Richard W.M. Jones [Thu, 6 Jan 2011 12:40:29 +0000 (12:40 +0000)]
main: Record and print full exception stack traces.

This turns on stack trace recording unconditionally (the same
effect as if OCAMLRUNPARAM=b was always supplied), and also prints
stack traces to the log file if there is an exception.

See also:
http://caml.inria.fr/pub/docs/manual-ocaml/libref/Printexc.html

Note that this requires OCaml >= 3.11.0.

8 years agoFix pad function to work for negative widths (RHBZ#634435).
Richard W.M. Jones [Thu, 6 Jan 2011 12:38:24 +0000 (12:38 +0000)]
Fix pad function to work for negative widths (RHBZ#634435).

The pad function is supposed to pad a string to a width.  Under some
circumstances, the width parameter could be negative resulting in a
call to String.sub such as:

  String.sub str 0 (-1)

which caused an exception to be thrown and not caught, causing
virt-top to exit.  Fix the pad function to return an empty string if
width <= 0 instead of throwing an exception.

See also:
https://bugzilla.redhat.com/show_bug.cgi?id=634435

8 years agoUpdate dependencies.
Richard W.M. Jones [Thu, 6 Jan 2011 11:24:57 +0000 (11:24 +0000)]
Update dependencies.

8 years agoUpdate generated man pages.
Richard W.M. Jones [Thu, 6 Jan 2011 11:24:54 +0000 (11:24 +0000)]
Update generated man pages.

8 years agoFix virt-top --end-time option when TZ<>UTC (RHBZ#637964).
Richard W.M. Jones [Thu, 6 Jan 2011 11:22:44 +0000 (11:22 +0000)]
Fix virt-top --end-time option when TZ<>UTC (RHBZ#637964).

Return the end time as seconds since 1970, and don't adjust it
for timezone.  In the main module the end time is compared against
the result of Unix.gettimeofday, which is also seconds since 1970,
so the comparison now works.

Tested with TZ=UTC-05, TZ=UTC and TZ=UTC+05.

NB: This has not been tested against ocaml-calendar 1.x, although
that version of calendar is obsolete and no one should be using it.

8 years agoUpdate dependencies file.
Richard W.M. Jones [Thu, 6 Jan 2011 10:19:18 +0000 (10:19 +0000)]
Update dependencies file.

8 years agoman page: memory option shows total guest memory (RHBZ#647991).
Richard W.M. Jones [Thu, 6 Jan 2011 10:18:43 +0000 (10:18 +0000)]
man page: memory option shows total guest memory (RHBZ#647991).

8 years agoman page: Update copyright date and link to web pages.
Richard W.M. Jones [Thu, 6 Jan 2011 10:16:12 +0000 (10:16 +0000)]
man page: Update copyright date and link to web pages.

8 years agoRemove references to xm/xentop manual pages (RHBZ#648186).
Richard W.M. Jones [Thu, 6 Jan 2011 10:14:51 +0000 (10:14 +0000)]
Remove references to xm/xentop manual pages (RHBZ#648186).

These Xen tools are obsolete since virsh/virt-top works across
all hypervisors.

9 years agoChange order of return values from getyx - fixes display of historical CPU.
Richard Jones [Thu, 2 Sep 2010 08:00:35 +0000 (09:00 +0100)]
Change order of return values from getyx - fixes display of historical CPU.

In this commit:
http://cvs.savannah.gnu.org/viewvc/ocaml-tmk/functions.c?root=ocaml-tmk&r1=1.2&r2=1.3
Sam changed (fixed) the order that the coordinates are returned
from the ncurses 'getyx' call.  Since this commit was made 3 years
ago it should be safe to assume everyone is using the new ocaml-ncurses
by now.

This meant the historical %CPU was being displayed off the bottom of
the screen instead of on the top row at the right.  Now it is displayed
in the correct place.

9 years agoUpdate Japanese translations (RHBZ#493799).
Kiyoto Hashida [Tue, 15 Jun 2010 10:26:13 +0000 (11:26 +0100)]
Update Japanese translations (RHBZ#493799).

9 years agoUpdated Russian translations (RHBZ#493799).
Yulia [Fri, 5 Mar 2010 10:14:44 +0000 (10:14 +0000)]
Updated Russian translations (RHBZ#493799).

9 years agoNewer autoconf adds PACKAGE_URL definition.
Richard Jones [Fri, 5 Mar 2010 09:40:41 +0000 (09:40 +0000)]
Newer autoconf adds PACKAGE_URL definition.

9 years agozh_CN: Remove bogus Plural-Forms line.
Richard Jones [Fri, 12 Feb 2010 09:55:15 +0000 (09:55 +0000)]
zh_CN: Remove bogus Plural-Forms line.

9 years agoJapanese: update bogus 'Plural-Forms: Plural-Forms'.
Richard Jones [Fri, 12 Feb 2010 09:54:33 +0000 (09:54 +0000)]
Japanese: update bogus 'Plural-Forms: Plural-Forms'.

9 years agoUpdate Japanese translations (RHBZ#493799).
Hajime Taira [Fri, 12 Feb 2010 09:53:09 +0000 (09:53 +0000)]
Update Japanese translations (RHBZ#493799).

9 years agoRename te_IN.po -> te.po (Piotr Drąg).
Richard Jones [Thu, 28 Jan 2010 19:45:00 +0000 (19:45 +0000)]
Rename te_IN.po -> te.po (Piotr Drąg).

9 years agoTelugu translation added by Krishna Babu K (RHBZ#493799c32)
Richard Jones [Thu, 28 Jan 2010 17:08:43 +0000 (17:08 +0000)]
Telugu translation added by Krishna Babu K (RHBZ#493799c32)

9 years agoPolish translation updated by Piotr Drag (RHBZ#493799c31)
Richard Jones [Thu, 28 Jan 2010 17:07:47 +0000 (17:07 +0000)]
Polish translation updated by Piotr Drag (RHBZ#493799c31)

9 years agoPortuguese translation added by Glaucia Cintra (RHBZ#493799c30)
Richard Jones [Thu, 28 Jan 2010 17:06:43 +0000 (17:06 +0000)]
Portuguese translation added by Glaucia Cintra (RHBZ#493799c30)

9 years agoChinese translation updated by Wei Liu (RHBZ#493799c29)
Richard Jones [Thu, 28 Jan 2010 17:04:19 +0000 (17:04 +0000)]
Chinese translation updated by Wei Liu (RHBZ#493799c29)

9 years agoOriya translation added by Manoj Kumar Giri (RHBZ#493799c28)
Richard Jones [Thu, 28 Jan 2010 17:03:23 +0000 (17:03 +0000)]
Oriya translation added by Manoj Kumar Giri (RHBZ#493799c28)

9 years agoSpanish translation updated by Daniel Cabrera (RHBZ#493799c27)
Richard Jones [Thu, 28 Jan 2010 17:02:12 +0000 (17:02 +0000)]
Spanish translation updated by Daniel Cabrera (RHBZ#493799c27)

9 years agoUpdate to ocaml-autoconf macros 1.1
Richard Jones [Wed, 30 Dec 2009 15:24:14 +0000 (15:24 +0000)]
Update to ocaml-autoconf macros 1.1

9 years agoFix detection of ocaml-findlib.
Richard Jones [Wed, 30 Dec 2009 15:22:54 +0000 (15:22 +0000)]
Fix detection of ocaml-findlib.

10 years agoHACKING file, update (C) messages.
Richard Jones [Tue, 6 Oct 2009 15:38:11 +0000 (16:38 +0100)]
HACKING file, update (C) messages.

10 years agoUpdate PO files.
Richard Jones [Tue, 6 Oct 2009 14:58:51 +0000 (15:58 +0100)]
Update PO files.

10 years agoRemove extra spaces after s_ and f_ operators.
Richard Jones [Tue, 6 Oct 2009 14:58:35 +0000 (15:58 +0100)]
Remove extra spaces after s_ and f_ operators.

10 years agoSafer curses functions.
Richard Jones [Tue, 6 Oct 2009 14:50:07 +0000 (15:50 +0100)]
Safer curses functions.

Add safer curses functions which don't require use of dangerous
ignore() function.

10 years agoReplace failwith (sprintf...) with failwithf
Richard Jones [Tue, 6 Oct 2009 14:17:26 +0000 (15:17 +0100)]
Replace failwith (sprintf...) with failwithf

10 years agoRemove -w s and fix so it compiles without warnings.
Richard Jones [Tue, 6 Oct 2009 14:14:18 +0000 (15:14 +0100)]
Remove -w s and fix so it compiles without warnings.

10 years agoRemove NSIS installer.
Richard Jones [Tue, 6 Oct 2009 14:05:09 +0000 (15:05 +0100)]
Remove NSIS installer.

10 years agoChange over to using ocaml.m4 macros.
Richard Jones [Tue, 6 Oct 2009 14:04:25 +0000 (15:04 +0100)]
Change over to using ocaml.m4 macros.

10 years agoUpdated MANIFEST.
Richard Jones [Mon, 5 Oct 2009 17:08:42 +0000 (18:08 +0100)]
Updated MANIFEST.

10 years agoTODO.virt-top renamed as TODO
Richard Jones [Mon, 5 Oct 2009 17:08:16 +0000 (18:08 +0100)]
TODO.virt-top renamed as TODO

10 years agoTypo fixed.
Richard Jones [Mon, 5 Oct 2009 17:07:28 +0000 (18:07 +0100)]
Typo fixed.

10 years agoUpdate manpage with --version option.
Richard Jones [Mon, 5 Oct 2009 16:58:53 +0000 (17:58 +0100)]
Update manpage with --version option.

10 years agoAdd virt-top --version command line option.
Richard Jones [Mon, 5 Oct 2009 16:55:32 +0000 (17:55 +0100)]
Add virt-top --version command line option.

10 years agoAdd the real virt-top version to help display.
Richard Jones [Mon, 5 Oct 2009 16:49:39 +0000 (17:49 +0100)]
Add the real virt-top version to help display.

10 years agoVersion 1.0.4 for release. 1.0.4
Richard Jones [Mon, 5 Oct 2009 15:08:05 +0000 (16:08 +0100)]
Version 1.0.4 for release.

10 years agoFix changelog and manifest files.
Richard Jones [Mon, 5 Oct 2009 15:07:58 +0000 (16:07 +0100)]
Fix changelog and manifest files.

10 years agogitlog-to-changelog: If the date field is empty, don't barf.
Richard Jones [Mon, 5 Oct 2009 15:06:01 +0000 (16:06 +0100)]
gitlog-to-changelog: If the date field is empty, don't barf.

10 years agoAdded Jim Meyering's gitlog-to-changelog program.
Richard Jones [Mon, 5 Oct 2009 15:05:37 +0000 (16:05 +0100)]
Added Jim Meyering's gitlog-to-changelog program.

10 years agoAdd total hardware memory field (RHBZ#521785)
Richard Jones [Mon, 5 Oct 2009 14:54:49 +0000 (15:54 +0100)]
Add total hardware memory field (RHBZ#521785)

10 years agoDon't need to explicitly link against ncurses.
Richard Jones [Mon, 5 Oct 2009 14:36:07 +0000 (15:36 +0100)]
Don't need to explicitly link against ncurses.

10 years agoUpdate PO files.
Richard Jones [Mon, 5 Oct 2009 14:10:44 +0000 (15:10 +0100)]
Update PO files.

10 years agoAdd Japanese to list of translations.
Richard Jones [Mon, 5 Oct 2009 14:10:32 +0000 (15:10 +0100)]
Add Japanese to list of translations.

10 years agoUse msgfmt to generate *.mo files correctly.
Richard Jones [Mon, 5 Oct 2009 14:10:08 +0000 (15:10 +0100)]
Use msgfmt to generate *.mo files correctly.

10 years agoUpdate documentation.
Richard Jones [Mon, 5 Oct 2009 13:17:40 +0000 (14:17 +0100)]
Update documentation.

10 years agoUpdate dependencies.
Richard Jones [Mon, 5 Oct 2009 13:06:49 +0000 (14:06 +0100)]
Update dependencies.

10 years agoRename .hgignore -> .gitignore, update dependencies.
Richard Jones [Mon, 5 Oct 2009 12:58:27 +0000 (13:58 +0100)]
Rename .hgignore -> .gitignore, update dependencies.

10 years agoNew translations.
Richard W.M. Jones [Mon, 5 Oct 2009 10:39:28 +0000 (11:39 +0100)]
New translations.

10 years agoUnknown, empty change.
Richard W.M. Jones [Mon, 5 Oct 2009 10:36:38 +0000 (11:36 +0100)]
Unknown, empty change.

11 years agoAdded PO files. For some reason the Japanese PO file has a parse error, so omitted...
Richard W.M. Jones [Mon, 3 Nov 2008 12:12:07 +0000 (12:12 +0000)]
Added PO files.  For some reason the Japanese PO file has a parse error, so omitted it for now.

11 years agoUpdated MANIFEST
Richard W.M. Jones [Tue, 21 Oct 2008 09:15:40 +0000 (10:15 +0100)]
Updated MANIFEST

11 years agoAdded translations for zh_CN by Wei Liu
Richard W.M. Jones [Tue, 21 Oct 2008 09:00:46 +0000 (10:00 +0100)]
Added translations for zh_CN by Wei Liu

11 years agoAdded de translation by Fabian Affolter
Richard W.M. Jones [Tue, 21 Oct 2008 08:51:03 +0000 (09:51 +0100)]
Added de translation by Fabian Affolter

11 years agoVersion 1.0.2 for release.
Richard W.M. Jones [Wed, 16 Jul 2008 09:51:04 +0000 (10:51 +0100)]
Version 1.0.2 for release.

11 years agoFixed missing PO file in MANIFEST.
Richard W.M. Jones [Wed, 16 Jul 2008 09:50:57 +0000 (10:50 +0100)]
Fixed missing PO file in MANIFEST.

11 years agoRebuild ChangeLog file automatically when we distribute.
Richard W.M. Jones [Wed, 16 Jul 2008 09:50:48 +0000 (10:50 +0100)]
Rebuild ChangeLog file automatically when we distribute.

11 years agoBrazilian Portuguese translation by Herli Joaquim de Menezes and revised by Igor...
Richard W.M. Jones [Tue, 27 May 2008 11:21:39 +0000 (12:21 +0100)]
Brazilian Portuguese translation by Herli Joaquim de Menezes and revised by Igor Pires Soares.

11 years agoIgnore tarball.
Richard W.M. Jones [Thu, 1 May 2008 19:03:54 +0000 (20:03 +0100)]
Ignore tarball.

11 years agoAvoid an error when gettext is not available.
Richard W.M. Jones [Thu, 1 May 2008 19:01:46 +0000 (20:01 +0100)]
Avoid an error when gettext is not available.

11 years agoMerge.
rjones@thinkpad [Thu, 17 Apr 2008 10:13:39 +0000 (11:13 +0100)]
Merge.

11 years agoRemove bogus =end from end of manpage.
rjones@thinkpad [Thu, 17 Apr 2008 10:12:47 +0000 (11:12 +0100)]
Remove bogus =end from end of manpage.

11 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.

11 years agoReadded AC_PROG_INSTALL.
Richard W.M. Jones [Wed, 16 Apr 2008 13:14:07 +0000 (14:14 +0100)]
Readded AC_PROG_INSTALL.

11 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.

11 years agoRemove META file.
Richard W.M. Jones [Wed, 16 Apr 2008 13:12:12 +0000 (14:12 +0100)]
Remove META file.

11 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.

11 years ago*** THIS REPO IS JUST FOR VIRT-TOP NOW ***
Richard W.M. Jones [Wed, 16 Apr 2008 13:11:41 +0000 (14:11 +0100)]
*** THIS REPO IS JUST FOR VIRT-TOP NOW ***
 - See http://hg.et.redhat.com/applications/virt/ for bindings and
   the other applications.

11 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.

11 years agoRemoved virt-ctrl, virt-df, ocaml-libvirt - now in separate repositories.
Richard W.M. Jones [Wed, 16 Apr 2008 12:51:14 +0000 (13:51 +0100)]
Removed virt-ctrl, virt-df, ocaml-libvirt - now in separate repositories.

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

11 years agoUpdated MANIFEST.
Richard W.M. Jones [Wed, 16 Apr 2008 12:38:04 +0000 (13:38 +0100)]
Updated MANIFEST.

11 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.

11 years agoUpdate manpage.
Richard W.M. Jones [Wed, 16 Apr 2008 11:58:06 +0000 (12:58 +0100)]
Update manpage.

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

11 years agoFix alignment in -t option
Richard W.M. Jones [Wed, 16 Apr 2008 11:58:00 +0000 (12:58 +0100)]
Fix alignment in -t option

11 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.

11 years agoLVM2 parsing complete and working.
Richard W.M. Jones [Wed, 16 Apr 2008 11:08:54 +0000 (12:08 +0100)]
LVM2 parsing complete and working.

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

11 years agoUse offset_device
Richard W.M. Jones [Wed, 16 Apr 2008 11:08:41 +0000 (12:08 +0100)]
Use offset_device

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

11 years agoAdded offset_device, canonical_uuid function, pass LV device with LV filesystems
Richard W.M. Jones [Wed, 16 Apr 2008 11:08:27 +0000 (12:08 +0100)]
Added offset_device, canonical_uuid function, pass LV device with LV filesystems

11 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.

11 years agoMinor clarifications to developer docs.
Richard W.M. Jones [Wed, 16 Apr 2008 11:07:17 +0000 (12:07 +0100)]
Minor clarifications to developer docs.

11 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.

11 years agoMake debug selectable at runtime.
Richard W.M. Jones [Wed, 16 Apr 2008 07:15:56 +0000 (08:15 +0100)]
Make debug selectable at runtime.

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

11 years agoAlmost complete VG & LV metadata parsing.
Richard W.M. Jones [Tue, 15 Apr 2008 21:31:24 +0000 (22:31 +0100)]
Almost complete VG & LV metadata parsing.

11 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.

11 years agoAdded range library function.
Richard W.M. Jones [Tue, 15 Apr 2008 21:31:08 +0000 (22:31 +0100)]
Added range library function.

11 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.

11 years agoRedundant newline.
Richard W.M. Jones [Tue, 15 Apr 2008 21:30:45 +0000 (22:30 +0100)]
Redundant newline.

11 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.

11 years agoRemoved some debugging prints.
Richard W.M. Jones [Tue, 15 Apr 2008 21:30:27 +0000 (22:30 +0100)]
Removed some debugging prints.

11 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.

11 years agoRemoved text-mode annotation.
Richard W.M. Jones [Tue, 15 Apr 2008 19:51:46 +0000 (20:51 +0100)]
Removed text-mode annotation.

11 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.