summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* git-svn sucks. Kill r2609Benoît Dejean2007-06-252-16/+5
| | | | svn path=/trunk/; revision=2611
* New API : glibtop_get_proc_affinity.Benoît Dejean2007-06-252-5/+16
| | | | | | Implemented for linux. svn path=/trunk/; revision=2609
* Fixed dist.LIBGTOP_2_19_2Benoît Dejean2007-05-141-2/+2
| | | | | | | | | | | 2007-05-14 Benoît Dejean <benoit@placenet.org> * include/glibtop/Makefile.am: * lib/Makefile.am: Fixed dist. svn path=/trunk/; revision=2583
* Added missing filesBenoît Dejean2007-05-131-0/+130
| | | | svn path=/trunk/; revision=2580
* Manual commit from my local git-svn which is broken :/Benoît Dejean2007-05-132-1/+8
| | | | svn path=/trunk/; revision=2578
* Got rid of InodeDB. This feature was optionnal and i have never heard ofBenoît Dejean2007-04-271-115/+0
| | | | | | | | | | 2007-04-27 Benoît Dejean <benoit@placenet.org> Got rid of InodeDB. This feature was optionnal and i have never heard of anyone using it. I have never touched it so it may be broken since 2.6. svn path=/trunk/; revision=2573
* Renamed all glibtop_init_xxx functions to _glibtop_init_xxx so they getBenoît Dejean2007-04-112-45/+45
| | | | | | | | | | | | | | | 2007-04-11 Benoît Dejean <benoit@placenet.org> * *: Renamed all glibtop_init_xxx functions to _glibtop_init_xxx so they get internal visibility. * configure.in: Bumped version number. svn path=/trunk/; revision=2569
* Removed noisy $Id$.Benoît Dejean2007-02-1912-24/+0
| | | | | | | | | | 2007-02-20 Benoît Dejean <benoit@placenet.org> * *: Removed noisy $Id$. svn path=/trunk/; revision=2558
* Handle EINTR.Benoît Dejean2007-02-142-30/+21
| | | | | | | | | | | | | | | 2007-02-14 Benoît Dejean <benoit@placenet.org> * lib/read.c: (glibtop_read_l): * lib/write.c: (glibtop_write_l): Handle EINTR. * configure.in: Post release version bump. svn path=/trunk/; revision=2554
* Bumped version number to 2.14.6.Benoît Dejean2007-01-111-8/+0
| | | | | | | | | | | | | | 2007-01-11 Benoît Dejean <benoit@placenet.org> * configure.in: Bumped version number to 2.14.6. * *: Got rid of CVS admin files. svn path=/trunk/; revision=2545
* Fixed a bunch of signedness warnings.Benoît Dejean2006-04-103-8/+11
| | | | | | | | | | 2006-04-10 Benoît Dejean <benoit@placenet.org> * lib/open.c: (glibtop_open_l): * lib/read.c: (glibtop_read_l): * lib/write.c: (glibtop_write_l): Fixed a bunch of signedness warnings.
* remove unused file.James Henstridge2005-12-128-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-12 James Henstridge <james@jamesh.id.au> * doc/auto-macros.texi.in: remove unused file. * doc/libgtop2.texi: don't include auto-macros.texi. * doc/Makefile.am: don't build auto-macros.texi, since none of its macros are used in the documentation any more. * include/glibtop/global.h: don't include <config.h> from headers. * .../*.c: make sure <config.h> is the first thing included. * acinclude.m4: m4_include() libgtop-sysdeps.m4 rather than inlining it. * acinclude.m4, libgtop-sysdeps.m4: use third argument to AC_DEFINE() to set the comment. * configure.in: modernise a bit. * acconfig.h: remove file, since it is deprecated * autogen.sh: require automake 1.9 instead of 1.4.
* Dropped many dead files. Bumped release number. I guess this closesBenoît Dejean2005-10-305-916/+0
| | | | | | | | | | | | | | | | | | * configure.in: * include/glibtop/glibtop-backend-info.h: * include/glibtop/glibtop-backend.h: * include/glibtop/glibtop-client.h: * lib/glibtop-backend-info.c: * lib/glibtop-backend.c: * lib/glibtop-client-private.h: * lib/glibtop-client.c: * lib/test-backends.c: * sysdeps/common/backend.c: * sysdeps/common/libgtop-common.backend: Dropped many dead files. Bumped release number. I guess this closes #320250.
* Moved _glibtop_init_hook_[sp] declaration to private glibtop/init_hooks.h.Benoît Dejean2005-08-022-3/+12
| | | | | | | | | | | | | | | | | | | | | * configure.in: * include/glibtop/Makefile.am: * include/glibtop/glibtop-server.h: * include/glibtop/init_hooks.h: * include/glibtop/sysdeps.h: * lib/init.c: (glibtop_init_s): * lib/sysdeps.c: * sysdeps/aix/open.c: (glibtop_init_p): * sysdeps/common/sysdeps_suid.c: * sysdeps/freebsd/open.c: (glibtop_init_p): * sysdeps/osf1/open_suid.c: (glibtop_init_p): * sysdeps/solaris/open_suid.c: (glibtop_init_p): * sysdeps/stub_suid/open.c: (glibtop_init_p): Moved _glibtop_init_hook_[sp] declaration to private glibtop/init_hooks.h. Marked them const. Fixed GLIBTOP_SUID_NETLIST issues.
* Removed translation.Benoît Dejean2005-06-064-4/+4
| | | | | | | | | | * examples/smp.c: (main): Removed translation. * lib/lib.pl: * lib/read.c: * lib/read_data.c: * lib/write.c: * src/daemon/gnuserv.c: s/gi18n.h/gi18n-lib.h.
* Got rid of include/libgtop-i18n.h.Benoît Dejean2005-06-064-4/+4
| | | | | | | | | | | * examples/smp.c: * include/Makefile.am: * include/libgtop-i18n.h: * lib/lib.pl: * lib/read.c: * lib/read_data.c: * lib/write.c: * src/daemon/gnuserv.c: Got rid of include/libgtop-i18n.h.
* 2.10.2 post release bump.Benoît Dejean2005-04-271-0/+1
| | | | | | | | * configure.in: 2.10.2 post release bump. * include/glibtop/Makefile.am: * include/glibtop/parameter.h: * lib/init.c: Re-install open.h to please GTop (libgtop perl wrapper).
* Fixed warning.Benoît Dejean2005-03-291-1/+2
| | | | * lib/read_data.c: (glibtop_read_data_l): Fixed warning.
* s/strerror/g_strerror.Benoît Dejean2005-03-251-2/+7
| | | | | * lib/error.c: (glibtop_error_io_vr), (glibtop_warn_io_vr): s/strerror/g_strerror.
* don't export private symbols.Benoît Dejean2005-02-211-1/+1
| | | | * lib/Makefile.am: don't export private symbols.
* Removed some dead files. Don't install private headers.Benoît Dejean2005-02-158-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * backends/server/server.h: * configure.in: * glibtop.h: * include/glibtop/Makefile.am: * include/glibtop/gnuserv.h: * include/glibtop/open.h: * include/glibtop/read.h: * include/glibtop/read_data.h: * include/glibtop/types.h: * include/glibtop/write.h: * lib/close.c: * lib/init.c: * lib/lib.pl: * lib/open.c: * lib/parameter.c: * lib/read.c: * lib/read_data.c: * lib/write.c: * src/daemon/daemon.h: * src/daemon/io.c: * src/daemon/main.c: (handle_parent_connection): * src/daemon/slave.c: (handle_slave_connection), (handle_slave_command): * sysdeps/common/gnuslib.c: * sysdeps/solaris/glibtop_private.h: Removed some dead files. Don't install private headers.
* G_GNUC_NORETURN love.Benoît Dejean2005-02-151-156/+0
| | | | | | | * include/glibtop/error.h: G_GNUC_NORETURN love. * include/glibtop/errors.h: * lib/errors.c: Bye bye dead code.
* Fixed error messages. Closes #162406.Benoît Dejean2004-12-292-2/+3
| | | | | | * lib/read_data.c: (glibtop_read_data_l): * lib/write.c: (glibtop_write_l): Fixed error messages. Closes #162406.
* Turned all macros to functions. Marked everything as G_GNUC_PRINTF andBenoît Dejean2004-12-232-6/+10
| | | | | | | | | | | | | | * include/glibtop/error.h: * lib/parameter.c: (glibtop_set_parameter_l): * lib/read_data.c: (glibtop_read_data_l): * sysdeps/common/error.c: (print_server_name), (glibtop_error_vr), (glibtop_error_io_vr), (glibtop_warn_vr), (glibtop_warn_io_vr), (glibtop_error_r), (glibtop_warn_r), (glibtop_error_io_r), (glibtop_warn_io_r), (glibtop_error), (glibtop_warn), (glibtop_error_io), (glibtop_warn_io): Turned all macros to functions. Marked everything as G_GNUC_PRINTF and fixed format bugs. * sysdeps/common/fsusage.c: Marked some functions as G_GNUC_INTERNAL
* Fixed Argument passing between library and server. Thanks everyone. ClosesBenoît Dejean2004-12-101-14/+23
| | | | | * lib/lib.pl: Fixed Argument passing between library and server. Thanks everyone. Closes #139809.
* Replaced C99 initializer.Benoît Dejean2004-10-102-3/+2
| | | | | | * lib/init.c: Replaced C99 initializer. * lib/read.c: (do_read): 1-line cleanup.
* Zeroed all args.Benoît Dejean2004-08-281-120/+0
| | | | | | | | | | | | | | | | * backends/server/command.c: (glibtop_call_i): Zeroed all args. * configure.in: Bumped soname (thanks to seb128 and Dodji even if i've fully understand everything. * include/glibtop/array.h: * include/glibtop/compat_10.h: * include/glibtop/glib-arrays.h: * include/glibtop/interfaces.h: * include/glibtop/proccwd.h: * lib/glib-arrays.c: * sysdeps/names/interfaces.c: * sysdeps/names/proccwd.c: Got rid of never-used / never-implemented files.
* Zeroed all args.Benoît Dejean2004-08-221-4/+2
| | | | * lib/command.c: (glibtop_call_l): Zeroed all args.
* Glibify a bit more. Closes #147618.Benoît Dejean2004-07-182-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/reference.texi: * include/glibtop/command.h: * include/glibtop/glib-arrays.h: * include/glibtop/proclist.h: * lib/glib-arrays.c: (glibtop_get_proclist_as_array_l): * lib/lib.pl: * scripts/c_types.pl: * src/daemon/main.c: (handle_parent_connection): * src/daemon/slave.c: (handle_slave_connection): * support/mkstemp.c: * sysdeps/aix/proclist.c: (glibtop_get_proclist_s): * sysdeps/freebsd/cpu.c: (glibtop_get_cpu_p): * sysdeps/freebsd/prockernel.c: (glibtop_get_proc_kernel_p): * sysdeps/freebsd/proclist.c: (glibtop_get_proclist_p): * sysdeps/freebsd/procmem.c: (glibtop_get_proc_mem_p): * sysdeps/kernel/proclist.c: (glibtop_get_proclist_s): * sysdeps/linux/proclist.c: (glibtop_get_proclist_s): * sysdeps/osf1/proclist.c: (glibtop_get_proclist_p): * sysdeps/solaris/proclist.c: (glibtop_get_proclist_s): * sysdeps/stub/proclist.c: (glibtop_get_proclist_s): * sysdeps/stub_suid/proclist.c: (glibtop_get_proclist_p): * sysdeps/sun4/proclist.c: (glibtop_get_proclist_p): Glibify a bit more. Closes #147618.
* *** empty log message ***Benoît Dejean2004-06-201-0/+1
|
* Moved 8 static error functions to sysdeps/common/error.c. This is the endBenoît Dejean2004-06-183-32/+22
| | | | | | | | | | | | * include/glibtop/error.h: Moved 8 static error functions to sysdeps/common/error.c. This is the end of an big useless code bloat : expect ~8KB of object size reduction. * include/glibtop/procuid.h: s/int/gint32/g * lib/errors.c: (glibtop_error_quark): * lib/read.c: (do_read), (glibtop_read_l): * lib/read_data.c: (glibtop_read_data_l): Minor cleanups.
* block_size is now defined as a guint32 instead of a fuzzy gint.Benoît Dejean2004-06-121-1/+1
| | | | | | | * include/glibtop/fsusage.h: block_size is now defined as a guint32 instead of a fuzzy gint. * lib/sysdeps.c: (glibtop_get_sysdeps_r): Small cleanup.
* Added missing initializer.Benoît Dejean2004-06-121-1/+1
| | | | * lib/init.c: Added missing initializer.
* whitespace clean up.Benoît Dejean2004-06-099-61/+61
| | | | * *.{c,h} : whitespace clean up.
* Cleaned.Benoît Dejean2004-06-061-1/+1
| | | | | | | * lib/parameter.c: * support/popt.c: (poptGetContext): Cleaned. * support/vsnprintf.c: s/strncpy/g_strlcpy
* remove dependency on libgnome, check for linux/isdn.h for distros usingBastien Nocera2004-03-044-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-04 Bastien Nocera <hadess@hadess.net> * configure.in: * include/libgtop-i18n.h: * lib/lib.pl: * lib/read.c: * lib/read_data.c: * lib/write.c: * sysdeps/names/cpu.c: * sysdeps/names/fsusage.c: * sysdeps/names/loadavg.c: * sysdeps/names/mem.c: * sysdeps/names/mountlist.c: * sysdeps/names/msg_limits.c: * sysdeps/names/netload.c: * sysdeps/names/ppp.c: * sysdeps/names/procargs.c: * sysdeps/names/prockernel.c: * sysdeps/names/proclist.c: * sysdeps/names/procmap.c: * sysdeps/names/procmem.c: * sysdeps/names/procsegment.c: * sysdeps/names/procsignal.c: * sysdeps/names/procstate.c: * sysdeps/names/proctime.c: * sysdeps/names/procuid.c: * sysdeps/names/sem_limits.c: * sysdeps/names/shm_limits.c: * sysdeps/names/swap.c: * sysdeps/names/sysdeps.c: * sysdeps/names/uptime.c: remove dependency on libgnome, check for linux/isdn.h for distros using the 2.6 kernel headers
* apply patch for ngettext support by Christian Neumair <chris@gnome-de.org>Bastien Nocera2003-10-203-3/+3
| | | | | | | | | 2003-10-20 Bastien Nocera <hadess@hadess.net> * lib/read.c: (glibtop_read_l): * lib/read_data.c: (glibtop_read_data_l): * lib/write.c: (glibtop_write_l): apply patch for ngettext support by Christian Neumair <chris@gnome-de.org>
* Apply patch by the_h1ghlander@yahoo.com and Cory OmandBastien Nocera2003-10-201-0/+64
| | | | | | | | | | | | | | | 2003-10-20 Bastien Nocera <hadess@hadess.net> * include/glibtop/cpu.h: * include/glibtop/procstate.h: * include/glibtop/procuid.h: * include/glibtop/uptime.h: * lib/sysdeps.c: * sysdeps/names/cpu.c: * sysdeps/names/procstate.c: * sysdeps/names/procuid.c: * sysdeps/names/uptime.c: Apply patch by the_h1ghlander@yahoo.com and Cory Omand <cory.omand@Sun.com> for Solaris support
* - s/u_int64_t/guint64/Bastien Nocera2003-10-204-6/+6
|
* - fixed compilationBastien Nocera2003-10-2010-11/+17
|
* - replace all the xmalloc crap by glib memory management functionsBastien Nocera2003-10-205-112/+11
|
* removed traces of guile, intllibs and libgnomesupportBastien Nocera2003-10-201-1/+1
| | | | | | | | | | | 2003-10-20 Bastien Nocera <hadess@hadess.net> * lib/Makefile.am: * libgtop-config.in: * libgtop.spec.in: * libgtopConf.sh.in: * src/inodedb/Makefile.am: removed traces of guile, intllibs and libgnomesupport
* Reverted libgtop changes. It's a common module and I should not modify it.Carlos Perelló Marín2003-10-194-0/+271
| | | | | | | | 2003-10-19 Carlos Perelló Marín <carlos@gnome.org> * support/*: Reverted libgtop changes. It's a common module and I should not modify it. * Added/removed files. Now the move should be done.
* libgtop-GNOME-2-0-branch moved to HEAD.Carlos Perelló Marín2003-10-199-389/+688
| | | | | | 2003-10-19 Carlos Perelló Marín <carlos@gnome.org> * libgtop-GNOME-2-0-branch moved to HEAD.
* Argument to free can't be const!Owen Taylor2001-11-273-5/+3
| | | | | | | | | | | Mon Nov 26 20:11:31 2001 Owen Taylor <otaylor@redhat.com> * lib/xmalloc.c include/glibtop/xmalloc.h: (glibtop_free_r): Argument to free can't be const! * include/glibtop/glibtop-client/backend.h lib/glibtop-backend.c lib/glibtop-client.c: Include glib-object.h, not gobject/gobject.h.
* - fixes for glib-1.3.9Bastien Nocera2001-10-132-5/+5
|
* We always have libxml installed.Martin Baulig2001-04-201-10/+0
|
* Removed all sysdeps checks.Martin Baulig2001-04-2010-433/+12
| | | | | | | | | | | | 2001-04-21 Martin Baulig <baulig@suse.de> * configure.in: Removed all sysdeps checks. * lib/sysdeps-init*.c: Removed. * lib/inodedb.c: Moved here from sysdeps/common/inodedb.c. * glibtop-config.h: Removed.
* Added xmalloc.c and error.c.Martin Baulig2001-04-201-1/+1
| | | | | | | 2001-04-20 Martin Baulig <baulig@suse.de> * lib/Makefile.am (libgtop_la_SOURCES): Added xmalloc.c and error.c.
* New file.Martin Baulig2001-04-201-3/+4
| | | | | | 2001-04-20 Martin Baulig <baulig@suse.de> * include/glibtop/closure.h: New file.