Commit Graph

2584 Commits

Author SHA1 Message Date
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
Piotr Drąg
69f7b16421 Update MSGID_BUGS_ADDRESS in po/Makevars 2018-08-16 20:21:24 +02:00
Benoît Dejean
7c811a7826 Fixed 3 old compile warnings. 2018-07-22 12:23:11 +02:00
Mingcong Bai
40144f3908 Update Chinese (China) translation 2018-05-21 14:31:20 +00:00
Daniel Șerbănescu
35a0ba8e27 Update Romanian translation 2018-03-26 20:38:41 +00:00
Benoît Dejean
ec6a87e670 Bump version number and SO libgtop_revision. 2018-03-26 18:28:59 +02:00
Benoît Dejean
e4335d4db2 glibtop_get_proc_map on Linux doesn't need to be SUID.
Revert this proof of concept.
Add C file with comments to document how to make a call SUID.
2018-03-26 18:15:26 +02:00
Benoît Dejean
ec662d01da Make linux build with server.
Add suid infrastructure.
Demo proc_map.
2018-03-26 17:44:43 +02:00
Chao-Hsiung Liao
cab8791fdd Update Chinese (Taiwan) translation 2018-03-10 12:05:24 +00:00
Benoît Dejean
4f36c74b68 Fix build on freebsd and darwin. 2018-03-07 20:47:44 +01:00
Benoît Dejean
c65cb3e46b Rename GLIBTOP_SUID_PROC_FILE to GLIBTOP_SUID_PROC_OPEN_FILES.
The previous name is incorrect and inconsistent with the code generated
by lib.pl.
Also add missing hooks.

This symbol, although exposed in public headers is not part of the API
and is only used internally.
2018-03-07 19:44:41 +01:00
Benoît Dejean
b450bbc67c Try to fix all format flags in pprint example. 2018-03-07 19:39:36 +01:00
Jiri Grönroos
f80b08a865 Update Finnish translation 2018-03-03 16:19:43 +00:00
Benoît Dejean
42b049f338 Fix darwin build by adding dummy proc_io implementation.
https://gitlab.gnome.org/GNOME/libgtop/issues/36
2018-02-11 09:12:54 +01:00
Benoît Dejean
b31bce292b Add Robert and fix my email in AUTHORS. 2018-01-25 10:49:05 +01:00
Hannie Dumoleyn
32a02dfcdb Update Dutch translation 2017-11-06 16:33:03 +00:00
Kjartan Maraas
286db6d137 Updated Norwegian bokmål translation. 2017-11-06 15:01:17 +01:00
Matej Urbančič
aa4b2dc5ee Updated Slovenian translation 2017-10-20 16:58:26 +02:00
Xavi Ivars
d61659c143 [l10n] Updated Catalan (Valencian) translation 2017-10-05 14:35:35 +02:00
Arash Mousavi
9308027409 [L10N] Update Persian translation 2017-09-29 19:26:59 +03:30
Efstathios Iosifidis
487e584a18 Update Greek translation 2017-09-12 19:52:49 +00:00
Robert Roth
e9775e1a40 Prepared release 2.38.0 2.38.0 2017-09-11 23:25:03 +03:00
Ask Hjorth Larsen
b50c07af1d Updated Danish translation 2017-09-10 18:12:33 +02:00
Inaki Larranaga Murgoitio
68509e60d1 Update Basque language 2017-09-09 18:00:16 +02:00
Jordi Mas
f7ff106859 Update Catalan translation 2017-09-09 14:14:40 +02:00
Emin Tufan Çetin
ad8e73957c Update Turkish translation 2017-09-05 16:54:32 +00:00
Robert Roth
8a8c00f4fe Prepared release 2.37.92 2.37.92 2017-09-05 07:50:49 +03:00
Rafael Fontenelle
d30928e8d4 Update Brazilian Portuguese translation 2017-09-03 14:59:33 +00:00