| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* mountlist.c: (ignore_mount_entry): Added tmpfs to ignore list.
|
|
|
|
| |
* mountlist.c: (ignore_mount_entry): Added mqueue to ignore list.
|
|
|
|
| |
* mountlist.c: (ignore_mount_entry): Re-worked with bsearch.
|
|
|
|
| |
* mountlist.c: (ignore_mount_entry): Ignores unkown file system type.
|
|
|
|
|
|
| |
* Makefile.am:
* mountlist.c:
* mountlist.h: Removed mountlist.h.
|
|
|
|
| |
* mountlist.c: (ignore_mount_entry): Added openpromfs.
|
|
|
|
| |
* mountlist.c: (ignore_mount_entry): Added mntfs to ignore list
|
|
|
|
|
|
|
|
|
|
| |
* fsusage.c: (_glibtop_get_fsusage_read_write),
(glibtop_get_fsusage_s):
* mountlist.c: (glibtop_get_mountlist_s): Back to previous version.
* fsusage.c: (linux_2_6_0), (linux_2_4_0),
(_glibtop_linux_get_fsusage_read_write): Back to previous version.
Now set .flags correctly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* mountlist.c: (read_filesystem_list): Merged FreeBSD Marcus' patch.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* *.{c,h} : whitespace clean up.
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
|
|
| |
2003-10-19 Carlos Perelló Marín <carlos@gnome.org>
* libgtop-GNOME-2-0-branch moved to HEAD.
|
|
|
|
|
|
|
|
|
|
| |
2001-04-21 Martin Baulig <baulig@suse.de>
* Makefile.am: Install this as a backend.
* libgtop-common.backend, backend.c: New files.
* inodedb.c: Removed; moved to ~/lib.
|
|
|
|
|
|
|
|
|
| |
2000-11-22 Martin Baulig <martin@home-of-linux.org>
* fsusage.c, moutlist.c: Don't call glibtop_init_s() anymore,
this is deprecated.
* Makefile.am: Don't install libgtop_common.la
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-20 Martin Baulig <baulig@suse.de>
Started with the big rewrite for GNOME 2.0:
- split the `glibtop' structure into `glibtop_server' and
`glibtop_client' and make `glibtop_client' a GObject.
- cleanly separate the library and the backends.
This stuff currently does not compile.
* glibtop.h (glibtop_server_private, glibtop_server_info):
Removed typedefs.
(struct _glibtop, struct _glibtop_server_info): Removed.
(glibtop_global_server, glibtop_server_features): Removed.
(glibtop_server_ref, glibtop_server_unref): Removed.
* glibtop.h (glibtop_init_s): First argument is now a
`glibtop_server *'.
* include/glibtop/*.h: Removed all #defines with the
glibtop_global_server.
(glibtop_get_*_l): First argument is now a `glibtop_client *'.
(glibtop_get_*_s, glibtop_init_*_s): First argument is now a
`glibtop_server *'.
* lib/glibtop-client.c: New file.
* sysdeps/common/xmalloc.c: Moved to lib/.
* sysdeps/common/error.c: Moved to lib/.
* lib/xmalloc.c: Moved here from sysdeps/common/.
* lib/error.c: Moved here from sysdeps/common/.
* include/glibtop/backend.h
(glibtop_backend_open_func_t, glibtop_backend_close_func_t):
First argument is now a `glibtop_server *'.
(glibtop_backend_info): Added `glibtop_server *server'.
(glibtop_open_backend_l): Returns `glibtop_backend *', first
argument is `glibtop_client *' and added `GError **'.
* include/glibtop/close.h (glibtop_close_s, glibtop_close_p):
First argument is now a `glibtop_server *'.
* include/glibtop/error.h (*):
First argument is now a `glibtop_server *'.
* include/glibtop/errors.h: Switched this to use GError.
|
|
|
|
|
|
|
|
| |
find . -name \*.[ch] | xargs -i emacs -batch {} \
-l /gnome/compile/libgtop/misc/format.el -f save-buffer
December 26, 1999
Martin
|
|
|
|
|
|
|
| |
1999-02-18 Martin Baulig <martin@home-of-linux.org>
* include/glibtop/*.h: Use glib-like function prototypes
instead of "extern <function> __P((args))".
|
|
|
|
| |
is really required on some system.
|
|
|
|
|
|
|
| |
1998-11-20 Martin Baulig <baulig@merkur.uni-trier.de>
* sysdeps/common/mountlist.c: Applied a patch from Kenneth Stailey to
make it work on OpenBSD.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1998-08-06 Martin Baulig <martin@home-of-linux.org>
* include/glibtop/*.h: Using `GLIBTOP_GUILE' instead of `HAVE_GUILE'
so one should be able to use libgtop without guile in an application
even if guile is installed.
* sysdeps/common/mountlist.c: Fixed some `xstrdup' problems.
* lib/open.c: Now correctly reading server features for
`GLIBTOP_METHOD_PIPE'.
* sysdeps/freebsd: New directory.
|
|
|
|
|
|
|
| |
1998-07-24 Martin Baulig <martin@home-of-linux.org>
* sysdeps/common/mountlist.c (glibtop_get_mountlist_s):
Added `all_fs' parameter.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
1998-07-22 Martin Baulig <martin@home-of-linux.org>
* include/glibtop/mountlist.h: New file.
* features.def: Added new feature `mountlist'.
* sysdeps/common/mountlist.c (glibtop_get_mountlist_s): New function.
(read_filesystem_list): Declared as `static'.
|
|
|
|
|
|
|
|
|
| |
1998-07-06 Martin Baulig <martin@home-of-linux.org>
* sysdeps/common/mountlist.c: using functions from `xmalloc.c'.
* sysdeps/common/error.c: all functions now accept NULL as
`server' argument.
|
|
|
|
| |
* mountlist.c: using g_malloc, g_realloc and g_strdup.
|
|
|