Convert to using automake
[virt-top.git] / ChangeLog
1 2021-10-01  Richard W.M. Jones  <rjones@redhat.com>
2
3         Convert to using automake
4
5 2020-09-21  Richard W.M. Jones  <rjones@redhat.com>
6
7         Merge remote-tracking branch 'weblate/master' into master
8
9 2020-09-13  Emilio Herrera  <ehespinosa57@gmail.com>
10
11         Translated using Weblate (Spanish)
12         Currently translated at 84.5% (71 of 84 strings)
13
14         Translation: virt-top/master
15         Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/es/
16
17 2020-08-28  Julien Humbert  <julroy67@gmail.com>
18
19         Translated using Weblate (French)
20         Currently translated at 20.2% (17 of 84 strings)
21
22         Translation: virt-top/master
23         Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/fr/
24
25 2020-08-28  Yuri Chornoivan  <yurchor@ukr.net>
26
27         Translated using Weblate (Ukrainian)
28         Currently translated at 100.0% (84 of 84 strings)
29
30         Translation: virt-top/master
31         Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/uk/
32
33 2020-08-28  Göran Uddeborg  <goeran@uddeborg.se>
34
35         Translated using Weblate (Swedish)
36         Currently translated at 100.0% (84 of 84 strings)
37
38         Translation: virt-top/master
39         Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/sv/
40
41 2020-08-28  Oğuz Ersen  <oguzersen@protonmail.com>
42
43         Translated using Weblate (Turkish)
44         Currently translated at 100.0% (84 of 84 strings)
45
46         Translation: virt-top/master
47         Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/tr/
48
49 2020-08-28  Piotr Drąg  <piotrdrag@gmail.com>
50
51         Translated using Weblate (Polish)
52         Currently translated at 100.0% (84 of 84 strings)
53
54         Translation: virt-top/master
55         Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/pl/
56
57         Translated using Weblate (Polish)
58
59         Currently translated at 100.0% (84 of 84 strings)
60
61         Translation: virt-top/master
62         Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/pl/
63
64 2020-08-28  Weblate  <noreply@weblate.org>
65
66         Update translation files
67         Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
68
69         Translation: virt-top/master
70         Translate-URL: https://translate.fedoraproject.org/projects/virt-top/master/
71
72 2020-08-27  Richard W.M. Jones  <rjones@redhat.com>
73
74         Update translations from Zanata (RHBZ#1868108).
75
76 2019-08-21  Stephane Glondu  <steph@glondu.net>
77
78         libvirt: Handle VIR_DOMAIN_PMSUSPENDED state.
79         Fixes FTBFS with ocaml-libvirt 0.6.1.5.
80
81         RWMJ: Added documentation and changed the letter to 'M'.
82
83 2019-08-20  Richard W.M. Jones  <rjones@redhat.com>
84
85         Version 1.0.9.
86
87         src/top.ml: Don't depend on exact value of Failure argument.
88         File "top.ml", line 423, characters 14-31:
89         423 |       Failure "float_of_string" ->
90                             ^^^^^^^^^^^^^^^^^
91         Warning 52: Code should not depend on the actual values of
92         this constructor's arguments. They are only for information
93         and may change in future versions. (See manual section 9.5)
94
95 2018-09-20  Richard W.M. Jones  <rjones@redhat.com>
96
97         build: Pass through CFLAGS and LDFLAGS to ocaml compiler (RHBZ#1630636).
98
99 2017-11-18  Richard W.M. Jones  <rjones@redhat.com>
100
101         Link with -fPIC runtime.
102
103         Fixes for -safe-string in OCaml 4.06.
104
105 2017-03-28  Richard W.M. Jones  <rjones@redhat.com>
106
107         chmod -x COPYING* files.
108
109         Use virConnectGetAllDomainStats API to collect domain stats (RHBZ#1422795).
110         This is much faster than using the basic libvirt APIs to collect
111         stats for each domain individually.
112
113         Note this will not work unless you have the latest ocaml-libvirt
114         package which includes this new API binding.
115
116         Remove unused variable is_calendar2.
117         Fixes commit effd1ec5897a2cac6e897ae7bce72f6b1e617b90.
118
119 2017-03-27  Richard W.M. Jones  <rjones@redhat.com>
120
121         Move block_in_bytes entirely to the presentation layer.
122         Simplifies and updates commit dbef8dd3bf00417e75a12c851b053e49c9e1a79e.
123
124         Split up huge Top module into smaller modules.
125         This change is hopefully pure refactoring, splitting up the very large
126         and highly interlinked module into more manageable modules with
127         well-defined (or at least *better*-defined) interfaces between them.
128
129         src: Fix some comments which referred to the old filenames.
130         Fixes commit b7c3ef13cbd9c9cd49005a32ffb70faf6f5bbe8c.
131
132         Remove support for OCaml Calendar v1.
133         Calendar v2 was released in 2008 (9 years ago!), thus remove support
134         for v1.
135
136         This was already broken by commit dc0e217390132f7e76a4d9c0a8a81a9556d19081
137         so it likely didn't work anyway.
138
139         Update PO files.
140
141         Fix po/POTFILES for new location of source files.
142         Fixes commit b7c3ef13cbd9c9cd49005a32ffb70faf6f5bbe8c.
143
144         Refresh HACKING file.
145         Fixes commit b7c3ef13cbd9c9cd49005a32ffb70faf6f5bbe8c.
146
147         Remove +x (executable) permission on several source files.
148         Not sure why it was there, but it was incorrect.
149
150         Enable same warnings as libguestfs.
151         In particular 'warning 3' was still enabled before, meaning that the
152         code would fail with newer OCaml compilers:
153
154           File "top.ml", line 377, characters 12-25:
155           Warning 3: deprecated: String.create
156           Use Bytes.create instead.
157
158         Since we want to continue using old OCaml for now, don't enable
159         this warning.
160
161 2016-10-31  Richard W.M. Jones  <rjones@redhat.com>
162
163         Rename source directory and files.
164         This renames the source directory from virt-top to src/ and removes
165         the unnecessary virt_top_* prefix from many source files.
166
167         This is entirely refactoring and makes no functional change.
168
169         Also this fixes the MANIFEST file and removes old Transifex
170         configuration, fixing commit defe5bdd4a32e0206a786d279e0f9cfc238e5e17.
171
172 2016-01-04  Richard W.M. Jones  <rjones@redhat.com>
173
174         build: Add -g flag to ocamlopt.
175         Modern ocamlopt supports the -g flag fine (very old versions did not).
176
177 2015-02-21  Richard W.M. Jones  <rjones@redhat.com>
178
179         Update translations from Zanata.
180
181         Move upstream translations from Tranifex to Zanata.
182         This is at the request of the Fedora localization team.
183         For further information see:
184
185         https://www.redhat.com/archives/libguestfs/2015-February/msg00168.html
186
187 2014-08-02  Richard W.M. Jones  <rjones@redhat.com>
188
189         Disable warning about immutable strings (for OCaml 4.02).
190
191 2012-10-12  Richard W.M. Jones  <rjones@redhat.com>
192
193         Version 1.0.8.
194
195 2012-10-12  Hu Tao  <hutao@cn.fujitsu.com>
196
197         show `vcpu usages' by `virt-top -1'
198         Before this patch, `virt-top -1' shows total cpu usages
199         which euqal to `vcpu usages' + `hypervisor usages'. This
200         patch adds another column for domains showing `vcpu
201         usages'. An example is:
202
203         PHYCPU %CPU example_domain
204            0   10.4 10.4  0.8
205            1    1.6  1.6  1.4
206            2    2.6  2.6  2.6
207            3    0.0  0.0  0.1
208
209         RWMJ: I cleaned up this patch a little, but it should be
210         functionally the same.
211
212         Rename find_usages_from_stats as find_cpu_usages.
213         This is just code motion.
214
215 2012-10-12  Richard W.M. Jones  <rjones@redhat.com>
216
217         OCaml stable dependencies.
218
219         Remove D.get_cpu_stats second parameter.
220         In upstream ocaml-libvirt, this second parameter has been removed,
221         because it was found that nr_pcpus can be found by calling the libvirt
222         API directly.
223
224 2012-09-28  Richard W.M. Jones  <rjones@redhat.com>
225
226         Make the main code and exception handling simpler.
227
228         Better error messages when parsing the init file (RHBZ#836231).
229
230         Add missing sort order options in --help output (RHBZ#807176).
231
232         Man page: Add an explanation of columns (RHBZ#834208).
233
234         man page: Update copyright date.
235
236 2012-03-06  Richard W.M. Jones  <rjones@redhat.com>
237
238         Version 1.0.7.
239
240         Ignore aclocal.m4.
241
242         Document requirements in README file.
243
244 2012-03-06  Lai Jiangshan  <laijs@cn.fujitsu.com>
245
246         virt-top: correct "virt-top -1" command via cpuacct cgroup
247         Old "virt-top -1" is not correct, its output is generated by guess:
248         use average usage for pinned physical CPUs.
249
250         example(old "virt-top -1"):
251
252         PHYCPU %CPU rhel6  Windows
253            0    0.6  0.1=   0.5=
254            1    0.6  0.1=   0.5=#
255            2    0.6  0.1=   0.5=
256            3    0.6  0.1=#  0.5=
257
258         The output almost makes no sense(all the value are just average, not real).
259
260         This is new implement, it use cpuacct cgroup to gain *real* physical usages
261         via cpuacct cgroup by virDomainGetCPUStats() API.
262
263         new result:
264
265         PHYCPU %CPU rhel6  Windows
266            0    1.3  0.3     1.0
267            1    2.3  0.3     2.0
268            2    2.2  0.5     1.7
269            3    2.5  0.4     2.1
270
271         PHYCPU %CPU rhel6  Windows
272            0    1.7  0.4     1.3
273            1    3.6  1.0     2.7
274            2    1.6  0.4     1.2
275            3    4.8  3.1     1.7
276
277         Note: average flag(=) is dropped, there is not average value in here.
278         Note: running flag(#) is dropped, because if the value is not empty,
279               it means the guest was once running in the physical CPU in this period
280               between updates.
281
282         Changed from V3:
283                 use new virDomainGetCPUStats() libvirt-API.
284                 add a new function find_usages_from_stats() to gain cpu usages.
285
286 2011-08-15  Richard W.M. Jones  <rjones@redhat.com>
287
288         Ensure manpages get built when using native compiler (thanks Laurent Léonard).
289
290 2011-08-12  Richard W.M. Jones  <rjones@redhat.com>
291
292         Version 1.0.6.
293
294         Update MANIFEST and fix 'make dist'.
295         make dist now copies the generated manual pages into the tarball, so
296         that we don't have to keep these generated files in git.
297
298         Fix ordering of csv_mode and stream_mode in tuple.
299         Note that this bug could have been avoided by using a struct instead
300         of a tuple here.
301
302         This updates commit daf79631f3eff904ba89297148c4125ac7dfee39.
303
304 2011-08-11  Richard W.M. Jones  <rjones@redhat.com>
305
306         docs: Explain how to debug libvirt initialization problems (RHBZ#680031).
307
308 2011-04-02  Richard W.M. Jones  <rjones@redhat.com>
309
310         Pull translations from Transifex.
311
312 2011-03-08  Richard W.M. Jones  <rjones@redhat.com>
313
314         Fix --end-time option with absolute times.
315         Assume the user enters a local time, and convert it to UTC.
316
317         This also adds some clarifying comments to the relative time
318         code (but doesn't change that code).
319
320         Note that the obsolete Calendar1 code is *not* updated by this change.
321
322         docs: Fix documentation for virt-top -c option.
323         Because of changes in libvirt, this no longer connects to Xen by
324         default.  Instead the default is to connect to the libvirt default
325         hypervisor (which could be Xen, KVM or others).  Update the --help
326         documentation and manual page accordingly.
327
328         Remove generated man pages from git.
329
330 2011-03-07  KAMEZAWA Hiroyuki  <kamezawa@bluextal.(none)>
331
332         add memory stats to --csv mode.
333         In csv mode, memory usage in kbytes and %mem against total system
334         memory is shown.
335
336 2011-03-07  KAMEZAWA Hiroyuki  <kamezawa.hiroyu@jp.fujitsu.com>
337
338         Record memory statistics information to 'rd' object.
339         This helps to share the calculation (between modes) and
340         will help to show memory statistics in --csv mode
341
342         Signged-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
343
344 2011-03-07  Richard W.M. Jones  <rjones@redhat.com>
345
346         Import virt-top into transifex.
347         http://www.transifex.net/projects/p/virttop/
348
349 2011-02-02  Richard W.M. Jones  <rjones@redhat.com>
350
351         Update generated man page files.
352
353 2011-02-02  KAMEZAWA Hiroyuki  <kamezawa.hiroyu@jp.fujitsu.com>
354
355         Add --block-in-bytes option.
356         This option and the 'B' key toggles block I/O stats between
357         requests and bytes.
358
359         Add --stream flag.
360         Output is sent to stdout (similar to the top -b option).
361
362 2011-01-24  Richard W.M. Jones  <rjones@redhat.com>
363
364         Obey virt-top --end-time down to near millisecond accuracy (RHBZ#637964).
365         Adjust the final delay down so that the --end-time option is obeyed
366         down to near millisecond accuracy.
367
368         The 'usleep' function has been renamed more accurately as 'millisleep'
369         since it sleeps for milliseconds not microseconds.
370
371 2011-01-06  Richard W.M. Jones  <rjones@redhat.com>
372
373         Version 1.0.5.
374
375         Add aclocal.m4 file to git.
376         This file is sort of generated, but at the moment only has
377         a single line which includes m4/ocaml.m4, that is vital for
378         the build.
379
380         Re-add virt-top/README file.
381         This seems to have been dropped during the hg->git transition.
382
383         Document background noise of RX packets from bridges (RHBZ#647987).
384         For more information see:
385         https://bugzilla.redhat.com/show_bug.cgi?id=647987#c9
386
387         man page: Remove excess blank line.
388
389         main: Record and print full exception stack traces.
390         This turns on stack trace recording unconditionally (the same
391         effect as if OCAMLRUNPARAM=b was always supplied), and also prints
392         stack traces to the log file if there is an exception.
393
394         See also:
395         http://caml.inria.fr/pub/docs/manual-ocaml/libref/Printexc.html
396
397         Note that this requires OCaml >= 3.11.0.
398
399         Fix pad function to work for negative widths (RHBZ#634435).
400         The pad function is supposed to pad a string to a width.  Under some
401         circumstances, the width parameter could be negative resulting in a
402         call to String.sub such as:
403
404           String.sub str 0 (-1)
405
406         which caused an exception to be thrown and not caught, causing
407         virt-top to exit.  Fix the pad function to return an empty string if
408         width <= 0 instead of throwing an exception.
409
410         See also:
411         https://bugzilla.redhat.com/show_bug.cgi?id=634435
412
413         Update dependencies.
414
415         Update generated man pages.
416
417         Fix virt-top --end-time option when TZ<>UTC (RHBZ#637964).
418         Return the end time as seconds since 1970, and don't adjust it
419         for timezone.  In the main module the end time is compared against
420         the result of Unix.gettimeofday, which is also seconds since 1970,
421         so the comparison now works.
422
423         Tested with TZ=UTC-05, TZ=UTC and TZ=UTC+05.
424
425         NB: This has not been tested against ocaml-calendar 1.x, although
426         that version of calendar is obsolete and no one should be using it.
427
428         Update dependencies file.
429
430         man page: memory option shows total guest memory (RHBZ#647991).
431
432         man page: Update copyright date and link to web pages.
433
434         Remove references to xm/xentop manual pages (RHBZ#648186).
435         These Xen tools are obsolete since virsh/virt-top works across
436         all hypervisors.
437
438 2010-09-02  Richard Jones  <rjones@redhat.com>
439
440         Change order of return values from getyx - fixes display of historical CPU.
441         In this commit:
442         http://cvs.savannah.gnu.org/viewvc/ocaml-tmk/functions.c?root=ocaml-tmk&r1=1.2&r2=1.3
443         Sam changed (fixed) the order that the coordinates are returned
444         from the ncurses 'getyx' call.  Since this commit was made 3 years
445         ago it should be safe to assume everyone is using the new ocaml-ncurses
446         by now.
447
448         This meant the historical %CPU was being displayed off the bottom of
449         the screen instead of on the top row at the right.  Now it is displayed
450         in the correct place.
451
452 2010-06-15  Kiyoto Hashida  <khashida@redhat.com>
453
454         Update Japanese translations (RHBZ#493799).
455
456 2010-03-05  Yulia  <ypoyarko@redhat.com>
457
458         Updated Russian translations (RHBZ#493799).
459
460 2010-03-05  Richard Jones  <rjones@redhat.com>
461
462         Newer autoconf adds PACKAGE_URL definition.
463
464 2010-02-12  Richard Jones  <rjones@redhat.com>
465
466         zh_CN: Remove bogus Plural-Forms line.
467
468         Japanese: update bogus 'Plural-Forms: Plural-Forms'.
469
470 2010-02-12  Hajime Taira  <htaira@redhat.com>
471
472         Update Japanese translations (RHBZ#493799).
473
474 2010-01-28  Richard Jones  <rjones@redhat.com>
475
476         Rename te_IN.po -> te.po (Piotr Drąg).
477
478         Telugu translation added by Krishna Babu K (RHBZ#493799c32)
479
480         Polish translation updated by Piotr Drag (RHBZ#493799c31)
481
482         Portuguese translation added by Glaucia Cintra (RHBZ#493799c30)
483
484         Chinese translation updated by Wei Liu (RHBZ#493799c29)
485
486         Oriya translation added by Manoj Kumar Giri (RHBZ#493799c28)
487
488         Spanish translation updated by Daniel Cabrera (RHBZ#493799c27)
489
490 2009-12-30  Richard Jones  <rjones@redhat.com>
491
492         Update to ocaml-autoconf macros 1.1
493
494         Fix detection of ocaml-findlib.
495
496 2009-10-06  Richard Jones  <rjones@trick.home.annexia.org>
497
498         HACKING file, update (C) messages.
499
500         Update PO files.
501
502         Remove extra spaces after s_ and f_ operators.
503
504         Safer curses functions.
505         Add safer curses functions which don't require use of dangerous
506         ignore() function.
507
508         Replace failwith (sprintf...) with failwithf
509
510         Remove -w s and fix so it compiles without warnings.
511
512         Remove NSIS installer.
513
514         Change over to using ocaml.m4 macros.
515
516 2009-10-05  Richard Jones  <rjones@trick.home.annexia.org>
517
518         Updated MANIFEST.
519
520         TODO.virt-top renamed as TODO
521
522         Typo fixed.
523
524         Update manpage with --version option.
525
526         Add virt-top --version command line option.
527
528         Add the real virt-top version to help display.
529
530         Version 1.0.4 for release.
531
532         Fix changelog and manifest files.
533
534         gitlog-to-changelog: If the date field is empty, don't barf.
535
536         Added Jim Meyering's gitlog-to-changelog program.
537
538         Add total hardware memory field (RHBZ#521785)
539
540         Don't need to explicitly link against ncurses.
541
542         Update PO files.
543
544         Add Japanese to list of translations.
545
546         Use msgfmt to generate *.mo files correctly.
547
548         Update documentation.
549
550         Update dependencies.
551
552         Rename .hgignore -> .gitignore, update dependencies.