Commit Graph

2611 Commits

Author SHA1 Message Date
ToMe25
cfabe09ad8 Fix some more procmap.c issues
Commit acinclude getmntinfo workaround
2021-04-18 17:49:33 +02:00
ToMe25
72124ab005 Undo some procmap.c changes 2021-04-18 04:28:08 +02:00
ToMe25
9e68eb94c3 Fix compilation issues in sysdeps/openbsd/netload.c 2021-04-18 02:45:57 +02:00
ToMe25
5714b6089c Fix openbsd procmap.c compile errors 2021-04-18 01:04:59 +02:00
ToMe25
e1b249d6b7 Minor cleanup 2021-04-12 13:53:49 +02:00
ToMe25
757d90b2ab Install missing dependencies in abi step 2021-04-12 13:53:49 +02:00
ToMe25
065a021a82 Move the abi check to its own job
To make it easier to tell  which check failed
2021-04-12 13:52:25 +02:00
ToMe25
61093d22d9 Add automated test build on ubuntu 2021-04-11 14:05:23 +00:00
Bastien Nocera
cc042e1833 ci: Add ABI check 2021-03-30 11:42:45 +02:00
Bastien Nocera
38b8e65e00 ci: Use builddir != srcdir 2021-03-30 11:23:46 +02:00
Bastien Nocera
32f8317d04 ci: Split off dependency list 2021-03-30 11:23:14 +02:00
Ben
489e090286 Delete empty TODO file. 2021-03-17 20:59:27 +00:00
Niels De Graef
9023171166 Add gitlab-ci.yml file
Start basic, with a single stage that builds for Fedora.
2021-03-17 01:14:02 +01:00
Charles Monzat
7eafc23017 Update French translation 2021-03-14 14:57:12 +00:00
Fran Dieguez
8f179da4ee Update Galician translation 2021-02-24 00:10:02 +00:00
A S Alam
2a34650c28 Update Punjabi translation 2021-02-14 02:42:05 +00:00
Jordi Mas
d94138f45d Update Catalan translation 2021-01-16 14:24:55 +01:00
Michael Catanzaro
7e214414bf Revert "New API to retrieve disk stats in Linux"
This reverts commit 9e62440b31.
2020-11-06 09:52:01 -06:00
Michael Catanzaro
30bf8d0418 Revert "Handle LVM and RAID"
This reverts commit 9cbb3b91f1.
2020-11-06 09:52:00 -06:00
Michael Catanzaro
ea08151ae6 Revert "Code clean up and add example"
This reverts commit 7396970afe.
2020-11-06 09:52:00 -06:00
Michael Catanzaro
2229253e11 Revert "Updated config and added reference"
This reverts commit e9da959773.
2020-11-06 09:51:58 -06:00
James Dominic P. Guana
e9da959773 Updated config and added reference 2020-11-04 13:38:03 +00:00
James Dominic P. Guana
7396970afe Code clean up and add example 2020-11-04 13:38:03 +00:00
James Dominic P. Guana
9cbb3b91f1 Handle LVM and RAID 2020-11-04 13:38:03 +00:00
James Dominic P. Guana
9e62440b31 New API to retrieve disk stats in Linux 2020-11-04 13:38:03 +00:00
Juliano Camargo
d49e17039e Update Portuguese translation 2020-09-11 23:50:02 +00:00
Daniel Korostil
267ae64965 Update Ukrainian translation 2020-03-16 15:05:24 +00:00
Jiri Grönroos
c20421275b Update Finnish translation 2020-02-22 15:09:51 +00:00
Zander Brown
5e11fb4405 Update British English translation 2020-02-19 19:03:10 +00:00
sicklylife
6dcc9195ea Update Japanese translation 2020-01-28 15:11:10 +00:00
sicklylife
317841ba04 Update Japanese translation 2020-01-28 15:05:30 +00:00
Ting-Wei Lan
4229d1ea20 Check if sbrk is available
The only use of sbrk in libgtop is in an example which always calls it
with 0. Since the use of sbrk provides no functionality, just skip these
calls when sbrk is not available.

This problem was first reported on FreeBSD Bugzilla because FreeBSD
decides not to support sbrk on ARM64 and RISC-V:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221751

Fix https://gitlab.gnome.org/GNOME/libgtop/issues/46
2020-01-20 07:24:34 +00:00
Umarzuki Bin Mochlis Moktar
9e98bbd98b Update Malay translation 2020-01-08 15:19:03 +00:00
Neel Chauhan
9b4a03ed0a Support FreeBSD 13.0-CURRENT >= 1300062 vm_map_entry 2019-12-15 11:06:37 -05:00
Ting-Wei Lan
34242826d6 Check for kinfo_getfile on FreeBSD
Code in sysdeps/freebsd contains a lot of HAVE_KINFO_GETFILE checks, but
the macro is always undefined because the configure script doesn't check
for it. To fix it, add required checks for kinfo_getfile function.
2019-10-31 20:06:56 +01:00
Jordi Mas
9146c9d0e4 Update Catalan translation 2019-10-08 20:30:06 +02:00
Ting-Wei Lan
31db82efce Mark glibtop_init_s as non-introspectable
This function isn't exported so it should be skipped.

https://gitlab.gnome.org/GNOME/gjs/issues/259
2019-07-24 09:21:32 +00:00
Ting-Wei Lan
0fd23dd185 Allow building with gettext ≥ 0.20
The use of AM_GNU_GETTEXT_VERSION in configure.ac instructs autopoint to
copy po/Makefile.in.in from the exact gettext version. It is fine if the
version of gettext installed on the system has the same minor version
number with the requested version, but it fails if you have a newer
version of gettext because of the mismatch between autoconf macros and
Makefile.in.in.

  *** error: gettext infrastructure mismatch: using a Makefile.in.in
  from gettext version 0.19 but the autoconf macros are from gettext
  version 0.20

Instead of specifying the exact version with AM_GNU_GETTEXT_VERSION, we
can use AM_GNU_GETTEXT_REQUIRE_VERSION to ask autopoint to simply use
the gettext version installed on the system to prevent the mismatch.

This also bumps the version requirement on gettext to 0.19.6 because
AM_GNU_GETTEXT_REQUIRE_VERSION was added in this version.
2019-07-24 17:04:00 +08:00
Robert Roth
abccaf488a Prepared release 2.40.0 2.40.0 2019-03-11 10:59:50 +02:00
Mart Raudsepp
8b37040b5b Update Estonian translation 2019-03-10 17:10:13 +00:00
Corentin Noël
8871660dac Fix several array and transfer annotations 2019-03-07 16:28:17 +01:00
Ask Hjorth Larsen
334f1e5c4c Updated Danish translation 2019-02-24 14:52:58 +01:00
Kristjan SCHMIDT
e88e854e57 Update Esperanto translation 2019-02-24 11:07:31 +00:00
Robert Roth
00140eadc8 Prepared release 2.39.91 2.39.91 2019-02-18 20:52:54 +02:00
Javier Jardón
0c1be6e7b6 autogen.sh: Use autoreconf instead deprecated gnome-common
See https://wiki.gnome.org/Projects/GnomeCommon/Migration
2019-02-09 12:28:56 +00:00
Robert Roth
30c771151d Prepared release 2.39.90 2.39.90 2019-02-04 22:27:23 +02:00
Charles Monzat
77912eae1d Update French translation 2018-12-29 14:53:23 +00:00
Robert Roth
b71a5c1404 Merge branch 'wip/lantw/freebsd-laundry-memory-and-zfs-arc' into 'master'
freebsd: Support laundry memory and ZFS ARC

See merge request GNOME/libgtop!3
2018-11-21 06:21:53 +00:00
Balasankar C
8e4c9c197b Update Malayalam translation 2018-10-26 15:13:16 +00:00
Ting-Wei Lan
bb118fa9d6 freebsd: Support laundry memory and ZFS ARC
FreeBSD 11.1 removes cache memory and adds laundry memory. The MIB of
cache memory still exists, but its value is always set to zero.
According to the man page of top(1), the value of laundry memory means
number of dirty pages queued for laundering, suggesting that it should
be added to the 'user' in libgtop because it cannot be freed immediately
without writing out data. Laundry memory was part of inactive memory in
older FreeBSD releases.

FreeBSD systems running on ZFS usually have a large portion of memory
used as ZFS ARC, which has similar purpose to buffer cache of other
filesystems. ZFS ARC can usually be freed quickly when the system needs
more memory, so we don't want to put it in 'user' in libgtop. However,
both buffer cache and ZFS ARC are parts of wired memory, and wired
memory is counted in 'user'. Therefore, we subtract the size of ZFS ARC
from wired memory when calculating 'user' value, making it more useful
to FreeBSD users.

This patch is based on the patch submiited three years ago by
Benoît Dejean <bdejean@gmail.com>.

https://bugzilla.gnome.org/show_bug.cgi?id=748928
https://gitlab.gnome.org/GNOME/libgtop/issues/31
2018-10-25 00:30:12 +08:00