+++ /dev/null
-2021-10-01 Richard W.M. Jones <rjones@redhat.com>
-
- Convert to using automake
-
-2020-09-21 Richard W.M. Jones <rjones@redhat.com>
-
- Merge remote-tracking branch 'weblate/master' into master
-
-2020-09-13 Emilio Herrera <ehespinosa57@gmail.com>
-
- Translated using Weblate (Spanish)
- Currently translated at 84.5% (71 of 84 strings)
-
- Translation: virt-top/master
- Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/es/
-
-2020-08-28 Julien Humbert <julroy67@gmail.com>
-
- Translated using Weblate (French)
- Currently translated at 20.2% (17 of 84 strings)
-
- Translation: virt-top/master
- Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/fr/
-
-2020-08-28 Yuri Chornoivan <yurchor@ukr.net>
-
- Translated using Weblate (Ukrainian)
- Currently translated at 100.0% (84 of 84 strings)
-
- Translation: virt-top/master
- Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/uk/
-
-2020-08-28 Göran Uddeborg <goeran@uddeborg.se>
-
- Translated using Weblate (Swedish)
- Currently translated at 100.0% (84 of 84 strings)
-
- Translation: virt-top/master
- Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/sv/
-
-2020-08-28 Oğuz Ersen <oguzersen@protonmail.com>
-
- Translated using Weblate (Turkish)
- Currently translated at 100.0% (84 of 84 strings)
-
- Translation: virt-top/master
- Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/tr/
-
-2020-08-28 Piotr Drąg <piotrdrag@gmail.com>
-
- Translated using Weblate (Polish)
- Currently translated at 100.0% (84 of 84 strings)
-
- Translation: virt-top/master
- Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/pl/
-
- Translated using Weblate (Polish)
-
- Currently translated at 100.0% (84 of 84 strings)
-
- Translation: virt-top/master
- Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/pl/
-
-2020-08-28 Weblate <noreply@weblate.org>
-
- Update translation files
- Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
-
- Translation: virt-top/master
- Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/
-
-2020-08-27 Richard W.M. Jones <rjones@redhat.com>
-
- Update translations from Zanata (RHBZ#1868108).
-
-2019-08-21 Stephane Glondu <steph@glondu.net>
-
- libvirt: Handle VIR_DOMAIN_PMSUSPENDED state.
- Fixes FTBFS with ocaml-libvirt 0.6.1.5.
-
- RWMJ: Added documentation and changed the letter to 'M'.
-
-2019-08-20 Richard W.M. Jones <rjones@redhat.com>
-
- Version 1.0.9.
-
- src/top.ml: Don't depend on exact value of Failure argument.
- File "top.ml", line 423, characters 14-31:
- 423 | Failure "float_of_string" ->
- ^^^^^^^^^^^^^^^^^
- Warning 52: Code should not depend on the actual values of
- this constructor's arguments. They are only for information
- and may change in future versions. (See manual section 9.5)
-
-2018-09-20 Richard W.M. Jones <rjones@redhat.com>
-
- build: Pass through CFLAGS and LDFLAGS to ocaml compiler (RHBZ#1630636).
-
-2017-11-18 Richard W.M. Jones <rjones@redhat.com>
-
- Link with -fPIC runtime.
-
- Fixes for -safe-string in OCaml 4.06.
-
-2017-03-28 Richard W.M. Jones <rjones@redhat.com>
-
- chmod -x COPYING* files.
-
- Use virConnectGetAllDomainStats API to collect domain stats (RHBZ#1422795).
- This is much faster than using the basic libvirt APIs to collect
- stats for each domain individually.
-
- Note this will not work unless you have the latest ocaml-libvirt
- package which includes this new API binding.
-
- Remove unused variable is_calendar2.
- Fixes commit effd1ec5897a2cac6e897ae7bce72f6b1e617b90.
-
-2017-03-27 Richard W.M. Jones <rjones@redhat.com>
-
- Move block_in_bytes entirely to the presentation layer.
- Simplifies and updates commit dbef8dd3bf00417e75a12c851b053e49c9e1a79e.
-
- Split up huge Top module into smaller modules.
- This change is hopefully pure refactoring, splitting up the very large
- and highly interlinked module into more manageable modules with
- well-defined (or at least *better*-defined) interfaces between them.
-
- src: Fix some comments which referred to the old filenames.
- Fixes commit b7c3ef13cbd9c9cd49005a32ffb70faf6f5bbe8c.
-
- Remove support for OCaml Calendar v1.
- Calendar v2 was released in 2008 (9 years ago!), thus remove support
- for v1.
-
- This was already broken by commit dc0e217390132f7e76a4d9c0a8a81a9556d19081
- so it likely didn't work anyway.
-
- Update PO files.
-
- Fix po/POTFILES for new location of source files.
- Fixes commit b7c3ef13cbd9c9cd49005a32ffb70faf6f5bbe8c.
-
- Refresh HACKING file.
- Fixes commit b7c3ef13cbd9c9cd49005a32ffb70faf6f5bbe8c.
-
- Remove +x (executable) permission on several source files.
- Not sure why it was there, but it was incorrect.
-
- Enable same warnings as libguestfs.
- In particular 'warning 3' was still enabled before, meaning that the
- code would fail with newer OCaml compilers:
-
- File "top.ml", line 377, characters 12-25:
- Warning 3: deprecated: String.create
- Use Bytes.create instead.
-
- Since we want to continue using old OCaml for now, don't enable
- this warning.
-
-2016-10-31 Richard W.M. Jones <rjones@redhat.com>
-
- Rename source directory and files.
- This renames the source directory from virt-top to src/ and removes
- the unnecessary virt_top_* prefix from many source files.
-
- This is entirely refactoring and makes no functional change.
-
- Also this fixes the MANIFEST file and removes old Transifex
- configuration, fixing commit defe5bdd4a32e0206a786d279e0f9cfc238e5e17.
-
-2016-01-04 Richard W.M. Jones <rjones@redhat.com>
-
- build: Add -g flag to ocamlopt.
- Modern ocamlopt supports the -g flag fine (very old versions did not).
-
-2015-02-21 Richard W.M. Jones <rjones@redhat.com>
-
- Update translations from Zanata.
-
- Move upstream translations from Tranifex to Zanata.
- This is at the request of the Fedora localization team.
- For further information see:
-
- https://www.redhat.com/archives/libguestfs/2015-February/msg00168.html
-
-2014-08-02 Richard W.M. Jones <rjones@redhat.com>
-
- Disable warning about immutable strings (for OCaml 4.02).
-
-2012-10-12 Richard W.M. Jones <rjones@redhat.com>
-
- Version 1.0.8.
-
-2012-10-12 Hu Tao <hutao@cn.fujitsu.com>
-
- show `vcpu usages' by `virt-top -1'
- Before this patch, `virt-top -1' shows total cpu usages
- which euqal to `vcpu usages' + `hypervisor usages'. This
- patch adds another column for domains showing `vcpu
- usages'. An example is:
-
- PHYCPU %CPU example_domain
- 0 10.4 10.4 0.8
- 1 1.6 1.6 1.4
- 2 2.6 2.6 2.6
- 3 0.0 0.0 0.1
-
- RWMJ: I cleaned up this patch a little, but it should be
- functionally the same.
-
- Rename find_usages_from_stats as find_cpu_usages.
- This is just code motion.
-
-2012-10-12 Richard W.M. Jones <rjones@redhat.com>
-
- OCaml stable dependencies.
-
- Remove D.get_cpu_stats second parameter.
- In upstream ocaml-libvirt, this second parameter has been removed,
- because it was found that nr_pcpus can be found by calling the libvirt
- API directly.
-
-2012-09-28 Richard W.M. Jones <rjones@redhat.com>
-
- Make the main code and exception handling simpler.
-
- Better error messages when parsing the init file (RHBZ#836231).
-
- Add missing sort order options in --help output (RHBZ#807176).
-
- Man page: Add an explanation of columns (RHBZ#834208).
-
- man page: Update copyright date.
-
-2012-03-06 Richard W.M. Jones <rjones@redhat.com>
-
- Version 1.0.7.
-
- Ignore aclocal.m4.
-
- Document requirements in README file.
-
-2012-03-06 Lai Jiangshan <laijs@cn.fujitsu.com>
-
- virt-top: correct "virt-top -1" command via cpuacct cgroup
- Old "virt-top -1" is not correct, its output is generated by guess:
- use average usage for pinned physical CPUs.
-
- example(old "virt-top -1"):
-
- PHYCPU %CPU rhel6 Windows
- 0 0.6 0.1= 0.5=
- 1 0.6 0.1= 0.5=#
- 2 0.6 0.1= 0.5=
- 3 0.6 0.1=# 0.5=
-
- The output almost makes no sense(all the value are just average, not real).
-
- This is new implement, it use cpuacct cgroup to gain *real* physical usages
- via cpuacct cgroup by virDomainGetCPUStats() API.
-
- new result:
-
- PHYCPU %CPU rhel6 Windows
- 0 1.3 0.3 1.0
- 1 2.3 0.3 2.0
- 2 2.2 0.5 1.7
- 3 2.5 0.4 2.1
-
- PHYCPU %CPU rhel6 Windows
- 0 1.7 0.4 1.3
- 1 3.6 1.0 2.7
- 2 1.6 0.4 1.2
- 3 4.8 3.1 1.7
-
- Note: average flag(=) is dropped, there is not average value in here.
- Note: running flag(#) is dropped, because if the value is not empty,
- it means the guest was once running in the physical CPU in this period
- between updates.
-
- Changed from V3:
- use new virDomainGetCPUStats() libvirt-API.
- add a new function find_usages_from_stats() to gain cpu usages.
-
-2011-08-15 Richard W.M. Jones <rjones@redhat.com>
-
- Ensure manpages get built when using native compiler (thanks Laurent Léonard).
-
-2011-08-12 Richard W.M. Jones <rjones@redhat.com>
-
- Version 1.0.6.
-
- Update MANIFEST and fix 'make dist'.
- make dist now copies the generated manual pages into the tarball, so
- that we don't have to keep these generated files in git.
-
- 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.
-
- This updates commit daf79631f3eff904ba89297148c4125ac7dfee39.
-
-2011-08-11 Richard W.M. Jones <rjones@redhat.com>
-
- docs: Explain how to debug libvirt initialization problems (RHBZ#680031).
-
-2011-04-02 Richard W.M. Jones <rjones@redhat.com>
-
- Pull translations from Transifex.
-
-2011-03-08 Richard W.M. Jones <rjones@redhat.com>
-
- Fix --end-time option with absolute times.
- Assume the user enters a local time, and convert it to UTC.
-
- This also adds some clarifying comments to the relative time
- code (but doesn't change that code).
-
- 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.
-
- TODO.virt-top renamed as TODO
-
- Typo fixed.
-
- Update manpage with --version option.
-
- Add virt-top --version command line option.
-
- Add the real virt-top version to help display.
-
- Version 1.0.4 for release.
-
- Fix changelog and manifest files.
-
- gitlog-to-changelog: If the date field is empty, don't barf.
-
- Added Jim Meyering's gitlog-to-changelog program.
-
- Add total hardware memory field (RHBZ#521785)
-
- Don't need to explicitly link against ncurses.
-
- Update PO files.
-
- Add Japanese to list of translations.
-
- Use msgfmt to generate *.mo files correctly.
-
- Update documentation.
-
- Update dependencies.
-
- Rename .hgignore -> .gitignore, update dependencies.
+++ /dev/null
-#!/usr/bin/perl
-# Convert git log output to ChangeLog format.
-
-my $VERSION = '2009-10-05 15:04'; # UTC
-# The definition above must lie within the first 8 lines in order
-# for the Emacs time-stamp write hook (at end) to update it.
-# If you change this file with Emacs, please let the write hook
-# do its job. Otherwise, update this string manually.
-
-# Copyright (C) 2008, 2009 Free Software Foundation, Inc.
-
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-# Written by Jim Meyering
-
-use strict;
-use warnings;
-use Getopt::Long;
-use POSIX qw(strftime);
-
-(my $ME = $0) =~ s|.*/||;
-
-# use File::Coda; # http://meyering.net/code/Coda/
-END {
- defined fileno STDOUT or return;
- close STDOUT and return;
- warn "$ME: failed to close standard output: $!\n";
- $? ||= 1;
-}
-
-sub usage ($)
-{
- my ($exit_code) = @_;
- my $STREAM = ($exit_code == 0 ? *STDOUT : *STDERR);
- if ($exit_code != 0)
- {
- print $STREAM "Try `$ME --help' for more information.\n";
- }
- else
- {
- print $STREAM <<EOF;
-Usage: $ME [OPTIONS] [ARGS]
-
-Convert git log output to ChangeLog format. If present, any ARGS
-are passed to "git log". To avoid ARGS being parsed as options to
-$ME, they may be preceded by '--'.
-
-OPTIONS:
-
- --since=DATE convert only the logs since DATE;
- the default is to convert all log entries.
- --format=FMT set format string for commit subject and body;
- see 'man git-log' for the list of format metacharacters;
- the default is '%s%n%b%n'
-
- --help display this help and exit
- --version output version information and exit
-
-EXAMPLE:
-
- $ME --since=2008-01-01 > ChangeLog
- $ME -- -n 5 foo > last-5-commits-to-branch-foo
-
-EOF
- }
- exit $exit_code;
-}
-
-# If the string $S is a well-behaved file name, simply return it.
-# If it contains white space, quotes, etc., quote it, and return the new string.
-sub shell_quote($)
-{
- my ($s) = @_;
- if ($s =~ m![^\w+/.,-]!)
- {
- # Convert each single quote to '\''
- $s =~ s/\'/\'\\\'\'/g;
- # Then single quote the string.
- $s = "'$s'";
- }
- return $s;
-}
-
-sub quoted_cmd(@)
-{
- return join (' ', map {shell_quote $_} @_);
-}
-
-{
- my $since_date = '1970-01-01 UTC';
- my $format_string = '%s%n%b%n';
- GetOptions
- (
- help => sub { usage 0 },
- version => sub { print "$ME version $VERSION\n"; exit },
- 'since=s' => \$since_date,
- 'format=s' => \$format_string,
- ) or usage 1;
-
- my @cmd = (qw (git log --log-size), "--since=$since_date",
- '--pretty=format:%ct %an <%ae>%n%n'.$format_string, @ARGV);
- open PIPE, '-|', @cmd
- or die ("$ME: failed to run `". quoted_cmd (@cmd) ."': $!\n"
- . "(Is your Git too old? Version 1.5.1 or later is required.)\n");
-
- my $prev_date_line = '';
- while (1)
- {
- defined (my $in = <PIPE>)
- or last;
- $in =~ /^log size (\d+)$/
- or die "$ME:$.: Invalid line (expected log size):\n$in";
- my $log_nbytes = $1;
-
- my $log;
- my $n_read = read PIPE, $log, $log_nbytes;
- $n_read == $log_nbytes
- or die "$ME:$.: unexpected EOF\n";
-
- my @line = split "\n", $log;
- my $author_line = shift @line;
- defined $author_line
- or die "$ME:$.: unexpected EOF\n";
- if ($author_line =~ /^(\d+) (.*>)$/) {
- my $date_line = sprintf "%s $2\n", strftime ("%F", localtime ($1));
- # If this line would be the same as the previous date/name/email
- # line, then arrange not to print it.
- if ($date_line ne $prev_date_line)
- {
- $prev_date_line eq ''
- or print "\n";
- print $date_line;
- }
- $prev_date_line = $date_line;
- }
-
- # Omit "Signed-off-by..." lines.
- @line = grep !/^Signed-off-by: .*>$/, @line;
-
- # If there were any lines
- if (@line == 0)
- {
- warn "$ME: warning: empty commit message:\n $prev_date_line\n";
- }
- else
- {
- # Remove leading and trailing blank lines.
- while ($line[0] =~ /^\s*$/) { shift @line; }
- while ($line[$#line] =~ /^\s*$/) { pop @line; }
-
- # Prefix each non-empty line with a TAB.
- @line = map { length $_ ? "\t$_" : '' } @line;
-
- print "\n", join ("\n", @line), "\n";
- }
-
- defined ($in = <PIPE>)
- or last;
- $in ne "\n"
- and die "$ME:$.: unexpected line:\n$in";
- }
-
- close PIPE
- or die "$ME: error closing pipe from " . quoted_cmd (@cmd) . "\n";
- # FIXME-someday: include $PROCESS_STATUS in the diagnostic
-}
-
-# Local Variables:
-# indent-tabs-mode: nil
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "my $VERSION = '"
-# time-stamp-format: "%:y-%02m-%02d %02H:%02M"
-# time-stamp-time-zone: "UTC"
-# time-stamp-end: "'; # UTC"
-# End: