Benoît Dejean
933683da39
Add -no-undefined for shared libraries on Cygwin.
...
Bug #578890 .
2009-05-04 12:05:06 +02:00
Benoît Dejean
90fc3ca780
New API to retrieve process CPU affinity.
...
Linux implementation.
svn path=/trunk/; revision=2748
2008-05-24 09:50:04 +00:00
Benoît Dejean
fedd75b2b1
Dropped dead files.
...
svn path=/trunk/; revision=2735
2008-04-14 16:22:00 +00:00
Benoît Dejean
e2e0e3a555
Don't export _s and _p symbols. These symbols were never meant to be
...
public (i know, i say it all the time ;). I've checked every
debian/sid package which depends on libgtop2-7 and it's OK.
This also fixes a symbol mess on darwin.
svn path=/trunk/; revision=2677
2007-10-15 17:49:29 +00:00
Benoît Dejean
3f55d507dd
Fixed arguments type.
...
svn path=/trunk/; revision=2671
2007-10-03 19:29:28 +00:00
Benoît Dejean
ef34cfb38a
git-svn sucks. Kill r2609
...
svn path=/trunk/; revision=2611
2007-06-25 17:30:40 +00:00
Benoît Dejean
6b0bafcafb
New API : glibtop_get_proc_affinity.
...
Implemented for linux.
svn path=/trunk/; revision=2609
2007-06-25 17:27:27 +00:00
Benoît Dejean
da54431af5
Fixed dist.
...
2007-05-14 Benoît Dejean <benoit@placenet.org >
* include/glibtop/Makefile.am:
* lib/Makefile.am:
Fixed dist.
svn path=/trunk/; revision=2583
2007-05-14 08:04:19 +00:00
Benoît Dejean
eee0cad2b6
Added missing files
...
svn path=/trunk/; revision=2580
2007-05-13 14:28:50 +00:00
Benoît Dejean
3eb958dc6c
Manual commit from my local git-svn which is broken :/
...
svn path=/trunk/; revision=2578
2007-05-13 08:20:10 +00:00
Benoît Dejean
cd389851b9
Got rid of InodeDB. This feature was optionnal and i have never heard of
...
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
2007-04-27 17:37:47 +00:00
Benoît Dejean
aa9fafe5c3
Renamed all glibtop_init_xxx functions to _glibtop_init_xxx so they get
...
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
2007-04-11 17:52:14 +00:00
Benoît Dejean
04a5531a46
Removed noisy $Id$.
...
2007-02-20 Benoît Dejean <benoit@placenet.org >
* *:
Removed noisy $Id$.
svn path=/trunk/; revision=2558
2007-02-19 23:10:10 +00:00
Benoît Dejean
09f8aaec1e
Handle EINTR.
...
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
2007-02-14 22:19:01 +00:00
Benoît Dejean
c9385972bd
Bumped version number to 2.14.6.
...
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
2007-01-11 20:35:33 +00:00
Benoît Dejean
64fe5d591b
Fixed a bunch of signedness warnings.
...
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.
2006-04-10 08:41:46 +00:00
James Henstridge
aa5ac8fc10
remove unused file.
...
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.
2005-12-12 09:38:15 +00:00
Benoît Dejean
95b2dfa326
Dropped many dead files. Bumped release number. I guess this closes
...
* 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 .
2005-10-30 18:46:27 +00:00
Benoît Dejean
78cb7832c5
Moved _glibtop_init_hook_[sp] declaration to private glibtop/init_hooks.h.
...
* 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.
2005-08-02 09:47:21 +00:00
Benoît Dejean
4cd022b315
Removed translation.
...
* 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.
2005-06-06 12:33:42 +00:00
Benoît Dejean
a71839c0a7
Got rid of include/libgtop-i18n.h.
...
* 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.
2005-06-06 11:25:36 +00:00
Benoît Dejean
adb38dd2a3
2.10.2 post release bump.
...
* 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).
2005-04-27 14:50:24 +00:00
Benoît Dejean
29a991160c
Fixed warning.
...
* lib/read_data.c: (glibtop_read_data_l): Fixed warning.
2005-03-29 13:18:15 +00:00
Benoît Dejean
f4f88ff224
s/strerror/g_strerror.
...
* lib/error.c: (glibtop_error_io_vr), (glibtop_warn_io_vr):
s/strerror/g_strerror.
2005-03-25 13:26:24 +00:00
Benoît Dejean
35f0277afd
don't export private symbols.
...
* lib/Makefile.am: don't export private symbols.
2005-02-21 15:24:26 +00:00
Benoît Dejean
53c43e6e90
Removed some dead files. Don't install private headers.
...
* 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.
2005-02-15 12:48:34 +00:00
Benoît Dejean
1ac8744251
G_GNUC_NORETURN love.
...
* include/glibtop/error.h: G_GNUC_NORETURN love.
* include/glibtop/errors.h:
* lib/errors.c: Bye bye dead code.
2005-02-15 09:55:01 +00:00
Benoît Dejean
c22300d109
Fixed error messages. Closes #162406 .
...
* lib/read_data.c: (glibtop_read_data_l):
* lib/write.c: (glibtop_write_l): Fixed error messages.
Closes #162406 .
2004-12-29 00:14:29 +00:00
Benoît Dejean
ce9ce223ca
Turned all macros to functions. Marked everything as G_GNUC_PRINTF and
...
* 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
2004-12-23 21:50:41 +00:00
Benoît Dejean
65d2d61d41
Fixed Argument passing between library and server. Thanks everyone. Closes
...
* lib/lib.pl: Fixed Argument passing between library and server.
Thanks everyone. Closes #139809 .
2004-12-10 22:05:17 +00:00
Benoît Dejean
13025c6c5f
Replaced C99 initializer.
...
* lib/init.c: Replaced C99 initializer.
* lib/read.c: (do_read): 1-line cleanup.
2004-10-10 17:21:57 +00:00
Benoît Dejean
770e39d2d2
Zeroed all args.
...
* 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.
2004-08-28 11:12:02 +00:00
Benoît Dejean
e81e7db939
Zeroed all args.
...
* lib/command.c: (glibtop_call_l): Zeroed all args.
2004-08-22 19:32:56 +00:00
Benoît Dejean
ff4fe5e846
Glibify a bit more. Closes #147618 .
...
* 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 .
2004-07-18 20:33:56 +00:00
Benoît Dejean
a08c8d96bb
*** empty log message ***
2004-06-20 22:10:52 +00:00
Benoît Dejean
6b3d52ff0e
Moved 8 static error functions to sysdeps/common/error.c. This is the end
...
* 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.
2004-06-18 07:38:37 +00:00
Benoît Dejean
d5b8a71e5b
block_size is now defined as a guint32 instead of a fuzzy gint.
...
* 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.
2004-06-12 15:39:31 +00:00
Benoît Dejean
ac2b8285ab
Added missing initializer.
...
* lib/init.c: Added missing initializer.
2004-06-12 12:50:01 +00:00
Benoît Dejean
70b0925a82
whitespace clean up.
...
* *.{c,h} : whitespace clean up.
2004-06-09 18:52:22 +00:00
Benoît Dejean
95d39a87c8
Cleaned.
...
* lib/parameter.c:
* support/popt.c: (poptGetContext): Cleaned.
* support/vsnprintf.c: s/strncpy/g_strlcpy
2004-06-06 22:10:29 +00:00
Bastien Nocera
2ae3495a87
remove dependency on libgnome, check for linux/isdn.h for distros using
...
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
2004-03-04 15:29:16 +00:00
Bastien Nocera
58b323cfab
apply patch for ngettext support by Christian Neumair <chris@gnome-de.org>
...
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 >
2003-10-20 21:33:01 +00:00
Bastien Nocera
07d991f383
Apply patch by the_h1ghlander@yahoo.com and Cory Omand
...
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
2003-10-20 21:27:31 +00:00
Bastien Nocera
b2283f7c79
- s/u_int64_t/guint64/
2003-10-20 20:12:28 +00:00
Bastien Nocera
b67e4c7f7d
- fixed compilation
2003-10-20 15:20:16 +00:00
Bastien Nocera
ba36a20cb8
- replace all the xmalloc crap by glib memory management functions
2003-10-20 13:55:44 +00:00
Bastien Nocera
af8478ca5f
removed traces of guile, intllibs and libgnomesupport
...
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
2003-10-20 13:14:53 +00:00
Carlos Perelló Marín
4c8ae9e25c
Reverted libgtop changes. It's a common module and I should not modify it.
...
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.
2003-10-19 16:55:56 +00:00
Carlos Perelló Marín
bae16b467f
libgtop-GNOME-2-0-branch moved to HEAD.
...
2003-10-19 Carlos Perelló Marín <carlos@gnome.org >
* libgtop-GNOME-2-0-branch moved to HEAD.
2003-10-19 16:10:39 +00:00
Owen Taylor
1042379d6d
Argument to free can't be const!
...
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.
2001-11-27 01:15:03 +00:00