-2008-01-08 Richard Jones <rjones@redhat.com>
+2011-08-12 Richard W.M. Jones <rjones@redhat.com>
- 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.
+ Fix ordering of csv_mode and stream_mode in tuple.
+ Note that this bug could have been avoided by using a struct instead
+ of a tuple here.
- 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.
+ This updates commit daf79631f3eff904ba89297148c4125ac7dfee39.
- Change comments virt-manager -> virt-ctrl.
- * virt-ctrl/*.ml, virt-ctrl/*.mli: Change comments virt-manager ->
- virt-ctrl.
+2011-08-11 Richard W.M. Jones <rjones@redhat.com>
- 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.
+ docs: Explain how to debug libvirt initialization problems (RHBZ#680031).
- Clean up *.exe files.
- * Makefile.in: Clean up *.exe files.
+2011-04-02 Richard W.M. Jones <rjones@redhat.com>
- Version 0.4.0.1 released.
- * Makefile.in: Provide a 'winupload' target.
+ Pull translations from Transifex.
- Rename some dialogs in virt-ctrl.
- * virt-ctrl/vc_mainwindow.ml: Fix some "virtual machine manager" ->
- "virt-ctrl" dialogs in main window.
+2011-03-08 Richard W.M. Jones <rjones@redhat.com>
- Fix bad paths in wininstaller.nsis.in.
- * wininstaller.nsis.in:
- * .hgignore: Ignore *.orig files.
+ Fix --end-time option with absolute times.
+ Assume the user enters a local time, and convert it to UTC.
- 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.
+ This also adds some clarifying comments to the relative time
+ code (but doesn't change that code).
-2008-01-07 Richard Jones <rjones@redhat.com>
+ Note that the obsolete Calendar1 code is *not* updated by this change.
+
+ docs: Fix documentation for virt-top -c option.
+ Because of changes in libvirt, this no longer connects to Xen by
+ default. Instead the default is to connect to the libvirt default
+ hypervisor (which could be Xen, KVM or others). Update the --help
+ documentation and manual page accordingly.
+
+ Remove generated man pages from git.
+
+2011-03-07 KAMEZAWA Hiroyuki <kamezawa@bluextal.(none)>
+
+ add memory stats to --csv mode.
+ In csv mode, memory usage in kbytes and %mem against total system
+ memory is shown.
+
+2011-03-07 KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
+
+ Record memory statistics information to 'rd' object.
+ This helps to share the calculation (between modes) and
+ will help to show memory statistics in --csv mode
+
+ Signged-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
+
+2011-03-07 Richard W.M. Jones <rjones@redhat.com>
+
+ Import virt-top into transifex.
+ http://www.transifex.net/projects/p/virttop/
+
+2011-02-02 Richard W.M. Jones <rjones@redhat.com>
+
+ Update generated man page files.
+
+2011-02-02 KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
+
+ Add --block-in-bytes option.
+ This option and the 'B' key toggles block I/O stats between
+ requests and bytes.
+
+ Add --stream flag.
+ Output is sent to stdout (similar to the top -b option).
+
+2011-01-24 Richard W.M. Jones <rjones@redhat.com>
+
+ Obey virt-top --end-time down to near millisecond accuracy (RHBZ#637964).
+ Adjust the final delay down so that the --end-time option is obeyed
+ down to near millisecond accuracy.
+
+ The 'usleep' function has been renamed more accurately as 'millisleep'
+ since it sleeps for milliseconds not microseconds.
+
+2011-01-06 Richard W.M. Jones <rjones@redhat.com>
+
+ Version 1.0.5.
+
+ Add aclocal.m4 file to git.
+ This file is sort of generated, but at the moment only has
+ a single line which includes m4/ocaml.m4, that is vital for
+ the build.
+
+ Re-add virt-top/README file.
+ This seems to have been dropped during the hg->git transition.
+
+ Document background noise of RX packets from bridges (RHBZ#647987).
+ For more information see:
+ https://bugzilla.redhat.com/show_bug.cgi?id=647987#c9
+
+ man page: Remove excess blank line.
+
+ 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.
+
+ 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
+
+ Update dependencies.
+
+ Update generated man pages.
+
+ 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.
+
+ Update dependencies file.
+
+ man page: memory option shows total guest memory (RHBZ#647991).
+
+ man page: Update copyright date and link to web pages.
+
+ Remove references to xm/xentop manual pages (RHBZ#648186).
+ These Xen tools are obsolete since virsh/virt-top works across
+ all hypervisors.
+
+2010-09-02 Richard Jones <rjones@redhat.com>
+
+ 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.
+
+2010-06-15 Kiyoto Hashida <khashida@redhat.com>
+
+ Update Japanese translations (RHBZ#493799).
+
+2010-03-05 Yulia <ypoyarko@redhat.com>
+
+ Updated Russian translations (RHBZ#493799).
+
+2010-03-05 Richard Jones <rjones@redhat.com>
+
+ Newer autoconf adds PACKAGE_URL definition.
+
+2010-02-12 Richard Jones <rjones@redhat.com>
+
+ zh_CN: Remove bogus Plural-Forms line.
+
+ Japanese: update bogus 'Plural-Forms: Plural-Forms'.
+
+2010-02-12 Hajime Taira <htaira@redhat.com>
+
+ Update Japanese translations (RHBZ#493799).
+
+2010-01-28 Richard Jones <rjones@redhat.com>
+
+ Rename te_IN.po -> te.po (Piotr Drąg).
+
+ Telugu translation added by Krishna Babu K (RHBZ#493799c32)
+
+ Polish translation updated by Piotr Drag (RHBZ#493799c31)
+
+ Portuguese translation added by Glaucia Cintra (RHBZ#493799c30)
+
+ Chinese translation updated by Wei Liu (RHBZ#493799c29)
+
+ Oriya translation added by Manoj Kumar Giri (RHBZ#493799c28)
+
+ Spanish translation updated by Daniel Cabrera (RHBZ#493799c27)
+
+2009-12-30 Richard Jones <rjones@redhat.com>
+
+ Update to ocaml-autoconf macros 1.1
+
+ Fix detection of ocaml-findlib.
+
+2009-10-06 Richard Jones <rjones@trick.home.annexia.org>
+
+ HACKING file, update (C) messages.
+
+ Update PO files.
+
+ Remove extra spaces after s_ and f_ operators.
+
+ Safer curses functions.
+ Add safer curses functions which don't require use of dangerous
+ ignore() function.
+
+ Replace failwith (sprintf...) with failwithf
+
+ Remove -w s and fix so it compiles without warnings.
+
+ Remove NSIS installer.
+
+ Change over to using ocaml.m4 macros.
+
+2009-10-05 Richard Jones <rjones@trick.home.annexia.org>
Updated MANIFEST.
- * MANIFEST: Bring the MANIFEST file up to date.
-
- 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.
-
- 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.
-
- 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.
-
- Include required libraries in the Windows installer.
- * wininstaller.nsis: Include *.dll files.
-
- Windows installer.
- * Makefile.in, configure.ac: Add --with-nsis[=path/to/nsis] and
- call out to 'makensis.exe'.
- * wininstaller.nsis, winlicense.rtf: Configuration and support
- files for NSIS-based Windows installer.
- * README: Update documentation to reflect.
-
-2008-01-05 Richard Jones <rjones@redhat.com>
-
- 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.
-
- 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.
-
- Update documentation for Windows.
- * README: Update documentation for Windows.
-
- 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.
-
-2008-01-04 Richard Jones <rjones@redhat.com>
-
- Make extlib an optional dependency.
- * Makefile.in, README, configure.ac, examples/Makefile.in,
- libvirt/Makefile.in, mlvirtmanager/Makefile.in: Much code
- doesn't really need extlib, so make it optional.
- Bail earlier in configure step if we don't have ocamlfind.
-
-2007-12-20 Richard Jones <rjones@redhat.com>
-
- * libvirt/libvirt_c.c: Use enter/leave_blocking_section around
- synchronous libvirt API calls, so that multithreaded OCaml
- programs can be used.
- * configure.ac: Version 0.4.0.0 for release.
- * libvirt/libvirt.ml, libvirt/libvirt.mli, libvirt/libvirt_c.c:
- Change the ad-hoc "foo not supported" exception into a
- specific Libvirt.Not_supported "foo" exception.
- * virt-top/virt_top.ml: Change virt-top to understand new
- exception type.
-
-2007-11-20 Richard Jones <rjones@redhat.com>
-
- * libvirt/libvirt.mli, libvirt/libvirt.ml: New error numbers
- in base libvirt.
- * libvirt/libvirt_c.c: Gracefully handle the case where libvirt
- throws an error number we have not heard of before (eg. when
- dynamic linking with newer libvirt).
- * configure.ac: Check <libvirt/virterror.h> exists.
- * configure.ac: Version 0.3.3.4.
- * virt-top/virt-top.pod: Fixed ocaml libvirt website URI in manpage.
-
-2007-11-19 Richard Jones <rjones@redhat.com>
-
- * virt-top/virt-top.pod: Example connection URIs in virt-top manpage
- (bug 390691).
-
-2007-11-14 Richard Jones <rjones@redhat.com>
-
- * libvirt/libvirt.mli: Added filename = string type to clarify
- some function signatures which take a filename. Added lots
- of function documentation.
- * libvirt/libvirt.ml: Added VIR_FROM_OPENVZ.
- * configure.ac: Version 0.3.3.3 for release.
-
-2007-11-14 Richard Jones <rjones@redhat.com>
-
- * Makefile.in: New rules for releasing and uploading.
-
-2007-11-14 Richard Jones <rjones@redhat.com>
-
- * libvirt/libvirt.mli, libvirt/libvirt.ml, libvirt/libvirt_c.c:
- Added support for virNodeGetFreeMemory and virNodeGetCellsFreeMemory
- * mlvirsh/mlvirsh.ml: Added 'freecell' command.
-
-2007-10-19 Richard Jones <rjones@redhat.com>
-
- * virt-top/virt_top_calendar.ml: Added --end-time option.
- Extra optional dep on ocaml-calendar.
- * virt-top/virt-top.pod: Document how to compress and split
- CSV files. Document --end-time option and time formats.
- * virt-top/virt_top.ml: Allow sub-second delays when in batch
- and script mode.
- * virt-top/virt_top_utils.mli, virt-top/virt_top.mli: Reorganise
- the code and add some interfaces.
-
-2007-10-17 Richard Jones <rjones@redhat.com>
- * virt-top/virt_top.ml: Added --script option.
- * virt-top/virt_top.ml: Log domain data to CSV file.
- * virt-top/virt_top.ml: Added --no-csv-cpu, --no-csv-block and
- --no-csv-net flags.
- * virt-top/*.ml: Much code clean-up and restructuring.
- * *: Added GNU GPL/LGPL copyright messages to all files.
-
-2007-09-27 Richard Jones <rjones@redhat.com>
+ TODO.virt-top renamed as TODO
+
+ Typo fixed.
+
+ Update manpage with --version option.
+
+ Add virt-top --version command line option.
- * configure.ac: Changed version to 0.3.2.9.
- * Makefile.in: Re-enable virt-df.
- * virt-df/virt_df*.ml: Mostly finished off the core of virt-df.
- Ext2/3 support. No LVM as yet.
- * virt-df/README: Added README file.
+ Add the real virt-top version to help display.
-2007-09-24 Richard Jones <rjones@redhat.com>
+ Version 1.0.4 for release.
- * configure.ac: Version 0.3.2.8 for release.
- * virt-top/virt-top.ml, virt-top/virt-top.pod: Support for
- $HOME/.virt-toprc init file, modelled after top.
- * virt-top/virt_top_utils.ml: Split out string utilities
- into a separate file.
+ Fix changelog and manifest files.
-2007-09-20 Richard Jones <rjones@redhat.com>
+ gitlog-to-changelog: If the date field is empty, don't barf.
- * virt-top/virt_top.ml: qemu:/// URIs (and others) don't support
- virConnectGetHostname. Catch this exception.
+ Added Jim Meyering's gitlog-to-changelog program.
- * Makefile.in: Disable virt-df in this release until I have
- time to fix it properly.
- * Makefile.in: Fix 'check-manifest' rule. Added 'make release'.
- * MANIFEST: Updated MANIFEST.
+ Add total hardware memory field (RHBZ#521785)
-2007-09-19 Richard Jones <rjones@redhat.com>
+ Don't need to explicitly link against ncurses.
- * virt-top/virt_top.ml: Ignore transient error from
- C.num_of_defined_domains when it cannot contact xend; that
- was causing virt-top to exit when xend was restarted.
+ Update PO files.
-2007-09-18 Richard Jones <rjones@redhat.com>
+ Add Japanese to list of translations.
- * virt-df/virt_df.ml: Handle domains with partition-backed
- block devices.
+ Use msgfmt to generate *.mo files correctly.
- * virt-top/virt_top.ml: Don't fail on older libvirt which would
- give an error if list_domains or list_defined_domains was called
- with n = 0.
+ Update documentation.
- * ChangeLog: Start tracking changes.
+ Update dependencies.
+ Rename .hgignore -> .gitignore, update dependencies.