2007-05-19 Benoît Dejean <benoit@placenet.org>
* default.c:
Fixed returned type.
2007-03-16 Benoît Dejean <benoit@placenet.org>
* mountlist.c: (ignore_mount_entry):
Ignore securityfs and fusectl.
Patch by Fryderyk Dziarmagowski <freetz@gmx.net>
Closes #418718.
2007-02-10 Benoît Dejean <benoit@placenet.org>
* fsusage.c: (glibtop_get_fsusage_s):
Make sure avail <= free.
Closes #406280.
2007-01-31 Benoît Dejean <benoit@placenet.org>
* mountlist.c: (ignore_mount_entry):
Fixed order.
Added objfs and ctfs.
Closes #400557.
2006-09-21 Benoît Dejean <benoit@placenet.org>
* mountlist.c: (ignore_mount_entry):
Added nfsd to the exclude list.
2006-06-24 Benoît Dejean <benoit@placenet.org>
* mountlist.c: (read_filesystem_list):
Ensure file is closed.
(glibtop_get_mountlist_s):
Fixed .flags.
Patch by hua.zhang@sun.com.
Closes #345812.
2006-04-09 Benoît Dejean <benoit@placenet.org>
* Makefile.am: Fixed trivial warning.
2006-02-21 Benoît Dejean <benoit@placenet.org>
* mountlist.c: (ignore_mount_entry): Also ignores linprocfs, mfs
and devfs.
Closes #331856.
Patch by Andreas Kohn <andreas.kohn@gmail.com>
2005-04-26 Jörgen Scheibengruber <mfcn@gmx.de>
* mountlist.c: (ignore_mount_entry): Added tmpfs to ignore list.
2005-03-25 Benoît Dejean <TazForEver@dlfp.org>
* error.c: (glibtop_error_io_vr), (glibtop_warn_io_vr):
* error_suid.c: (glibtop_error_io_vr), (glibtop_warn_io_vr):
s/strerror/g_strerror/g.
2005-03-11 Benoît Dejean <TazForEver@dlfp.org>
* mountlist.c: (ignore_mount_entry): Added mqueue to ignore list.
2005-02-28 Benoît Dejean <TazForEver@dlfp.org>
* fsusage.c: * Add support for file system read and write counting
(needed for the disk load feature of the multiload applet).
2005-02-23 Benoît Dejean <TazForEver@dlfp.org>
* fsusage.c: (glibtop_get_fsusage_s): Correct file system size calculations.
Patch from marcus@freebsd.org (Joe Marcus Clarke).
Closes #168232.
2005-02-15 Benoît Dejean <TazForEver@dlfp.org>
* fsusage.c: (_glibtop_get_fsusage_read_write): Fixed G_GNUC attribute usage.
Replaced macro by inline function.
2005-01-18 Benoît Dejean <TazForEver@dlfp.org>
* mountlist.c: (ignore_mount_entry): Re-worked with bsearch.
2004-12-09 Benoît Dejean <tazforever@dlfp.org>
* mountlist.c: (ignore_mount_entry): Ignores "unkown" file system type.
2004-09-24 Benoît Dejean <tazforever@dlfp.org>
* fsusage.c: (glibtop_get_fsusage_s): Fixed .block_size on Solaris.
2004-09-24 Benoît Dejean <tazforever@dlfp.org>
* Makefile.am:
* mountlist.c:
* mountlist.h: Removed mountlist.h.
2004-09-23 Benoît Dejean <tazforever@dlfp.org>
* mountlist.c: (ignore_mount_entry): Added openpromfs.
2004-09-22 Benoît Dejean <tazforever@dlfp.org>
* fsusage.c: (glibtop_get_fsusage_s): Linux: Sanitize. Removed calls
to obfuscated PROPAGATE_ALL_ONES(x) which seems to return unpredictable
values on some arch (e.g sparc).
Closes #153141.
2004-09-22 Benoît Dejean <tazforever@dlfp.org>
* mountlist.c: (ignore_mount_entry): Added mntfs to ignore list.
2004-09-21 Benoît Dejean <tazforever@dlfp.org>
* fsusage.c: (_glibtop_get_fsusage_read_write),
(glibtop_get_fsusage_s):
* mountlist.c: (glibtop_get_mountlist_s): Back to previous version.
2004-09-19 Benoît Dejean <tazforever@dlfp.org>
* fsusage.c: (_glibtop_get_fsusage_read_write) : Added new flag.
(_glibtop_get_fsusage_read_write): Changed prototype. Returns TRUE on
success, then _glibtop_get_fsusage_read_write is set.
Added comment to locate Linux code.
* mountlist.c: (read_filesystem_list): Dropped unused need_fs_type parameter.
This is now default.
Fixed possible leak.
(ignore_mount_entry): Added "usbfs" to ignored FS.
(glibtop_get_mountlist_s): Updated.
2004-08-22 Benoît Dejean <tazforever@dlfp.org>
* mountlist.c: (read_filesystem_list): Merged FreeBSD Marcus' patch.
2004-07-17 Benoît Dejean <tazforever@dlfp.org>
* fsusage.c: (glibtop_get_fsusage_s): Started implementation of read, write.
Code should be splitted into arch specific files.
* mountlist.c: (glibtop_get_mountlist_s): glibify. Used GArray.
2004-07-07 Benoît Dejean <tazforever@dlfp.org>
* Makefile.am:
* procargs.c: (split_args0), (glibtop_get_proc_argv_l),
(glibtop_get_proc_argv_p), (glibtop_get_proc_argv_s): Added file to
repository. Provides glibtop_get_proc_argv*() for system dependant
glibtop_get_proc_args*().
2004-06-18 Benoît Dejean <tazforever@dlfp.org>
* error.c: (print_server_name), (glibtop_error_r),
(glibtop_warn_r), (glibtop_error_io_r), (glibtop_warn_io_r),
(glibtop_error), (glibtop_warn), (glibtop_error_io),
(glibtop_warn_io): These functions are now globally defined.
2004-06-12 Benoît Dejean <tazforever@dlfp.org>
* Makefile.am:
* fsusage-frontend.c:
* fsusage.h: Removed files.
* fsusage.c: (glibtop_get_fsusage_s), (statfs): Merged and cleaned.
2004-06-12 Benoît Dejean <tazforever@dlfp.org>
* mountlist.c: (xatoi) Removed, replaced by ISO strtoull.
(fstype_to_string): Cleaned.
(read_filesystem_list) : Changed prototype. Cleaned and secured.
Replaced broken free by g_free.
(ignore_mount_entry): Added.
(glibtop_get_mountlist_s): Cleaned. Better allocation algorithm.
@all_fs has now a real meaning, see the documentation.
2004-06-06 Benoît Dejean <tazforever@dlfp.org>
* gnuslib.c: (connect_to_internet_server): Cleaned.
* mountlist.c: (glibtop_get_mountlist_s): Replaced multiple strcpy/cat by
g_strdup_printf. Replaced strncpy by g_strlcpy.
2004-03-15 Bastien Nocera <hadess@hadess.net>
* fsusage.c:
* fsusage.h: remove use of uintmax_t
2004-03-09 Bastien Nocera <hadess@hadess.net>
* fsusage.c: fix build (we don't have "full-read.h" here)
2003-12-27 Ole Laursen <olau@hardworking.dk>
* README.fsusage: Added a few words about the code from GNU
Coreutils.
* fsusage.c, fsusage.h: Resynced from GNU Coreutils 5.0.
* fsusage-frontend.c: Moved the frontend from fsusage.c to here.
2003-10-21 Bastien Nocera <hadess@hadess.net>
* Makefile.am:
* fsusage.h: install only one library, libgtop-2.0
Fix build-time warnings due to the redefinition of guint64
Include glib.h for the definition of guint64
2003-10-20 Bastien Nocera <hadess@hadess.net>
* inodedb.c: (glibtop_inodedb_close_s): fix compilation, thanks Jeff
2003-10-20 Bastien Nocera <hadess@hadess.net>
* ChangeLog:
* backend.c: (_open_common):
* fsusage.c:
* fsusage.h:
* inodedb.c: (glibtop_inodedb_lookup_s): s/u_int64_t/guint64/
2003-10-20 Bastien Nocera <hadess@hadess.net>
* inodedb.c:
* mountlist.c: (glibtop_get_mountlist_s): fixed compilation
2003-10-20 Bastien Nocera <hadess@hadess.net>
* Makefile.am:
* inodedb.c: (glibtop_inodedb_open_s), (glibtop_inodedb_close_s):
* mountlist.c: (glibtop_get_mountlist_s):
* xmalloc.c:
* xmalloc_suid.c: replace all the xmalloc crap by glib memory
management functions
2000-01-20 Martin Baulig <martin@home-of-linux.org>
* fsusage.c (adjust_blocks): Use `guint64' arguments and
return value to avoid long int overflows on machines with large
disks.
* fsusage.h (struct fs_usage): Use `guint64' here as well.