Commit Graph

923 Commits

Author SHA1 Message Date
Martin Baulig
ac83dcc3b3 Added GLIBTOP_INTERFACE_ISDN. 1999-11-21 18:38:48 +00:00
Martin Baulig
b746f488b0 Added new feature to get a list of network interface names.
1999-11-21  Martin Baulig  <martin@home-of-linux.org>

	Added new feature to get a list of network interface names.

	* features.def: Added `interface_names' feature.

	* include/glibtop/interfaces.h: New file.

	* include/glibtop/sysdeps.h (GLIBTOP_SYSDEPS_INTERFACE_NAMES): Added.
	(glibtop_sysdeps): Added `interface_names'.
	* include/glibtop/union.h (glibtop_union): Added `interface_names'.
	* include/glibtop/command.h (GLIBTOP_CMND_INTERFACE_NAMES): Added.
1999-11-21 18:35:40 +00:00
Martin Baulig
e5a7a5b0e5 New file. (glibtop_init_interface_names_s): New function.
1999-11-21  Martin Baulig  <martin@home-of-linux.org>

	* interfaces.c: New file.
	(glibtop_init_interface_names_s): New function.
	(glibtop_get_interface_names_s): New function.
1999-11-21 18:35:10 +00:00
Martin Baulig
f8aae8f544 Support GLIBTOP_KERN_PROC_PPID.
1999-11-21  Martin Baulig  <martin@home-of-linux.org>

	* proclist.c: (glibtop_get_proclist_s): Support GLIBTOP_KERN_PROC_PPID.
1999-11-21 18:08:10 +00:00
Martin Baulig
3f8ad111b2 Use int' as return type, not void'.
1999-11-21  Martin Baulig  <martin@home-of-linux.org>

	* include/glibtop/sysdeps.h (glibtop_init_func_t): Use `int'
	as return type, not `void'.

	* include/glibtop/proclist.h (GLIBTOP_KERN_PROC_PPID): On a
	suggestion from Sebastian Fischmeister added a way to return
	all children of a given process.
1999-11-21 17:07:42 +00:00
Martin Baulig
81176f8181 Reflect latest interface changes; return 0 on success and -1 on error. 1999-11-21 16:54:36 +00:00
Ricardo Soares Guimarães
cdc8e43a79 Updated pt_BR translations
1999-11-10 Ricardo Soares Guimarães <ricardo@conectiva.com.br>

	* Updated pt_BR translations
1999-11-10 13:21:44 +00:00
Jesus Bravo Alvarez
ae69444b3b Added Galician translation 1999-11-02 22:06:26 +00:00
Birger Langkjer/danish translations
28257e906b Modified Files: balsa/po/ChangeLog balsa/po/da.po gedit/po/da.po
Modified Files:
 	balsa/po/ChangeLog balsa/po/da.po gedit/po/da.po
 	gnome-core/desktop-links/Balsa.desktop
 	gnome-core/desktop-links/Development.directory
 	gnome-core/desktop-links/Emacs.desktop
 	gnome-core/desktop-links/GIMP.desktop
 	gnome-core/desktop-links/Games.directory
 	gnome-core/desktop-links/Gmc.desktop
 	gnome-core/desktop-links/Graphics.directory
 	gnome-core/desktop-links/Imlib_config.desktop
 	gnome-core/desktop-links/Internet.directory
 	gnome-core/desktop-links/Kterm.desktop
 	gnome-core/desktop-links/Root.directory
 	gnome-core/desktop-links/Settings.directory
 	gnome-core/desktop-links/System.directory
 	gnome-core/desktop-links/Tkrat.desktop
 	gnome-core/desktop-links/UNIX-regular.desktop
 	gnome-core/desktop-links/Vim.desktop
 	gnome-core/desktop-links/Vnterm.desktop
 	gnome-core/gmenu/gmenu.desktop
 	gnome-core/gnome-hint/gnome-hint-properties.desktop
 	gnome-core/gnome-terminal/gnome-terminal.desktop
 	gnome-core/panel/gnome-panel-properties.desktop
 	gnome-core/po/da.po gnome-libs/po/da.po gnome-pim/po/da.po
 	libgtop/po/da.po libunicode/ltconfig libunicode/ltmain.sh
1999-10-25 00:32:07 +00:00
Martin Baulig
7a9bb6e43d Return 0 on success and -1 on error. 1999-10-24 20:17:42 +00:00
Martin Baulig
507f171b63 Use `retval' for the default retval.
1999-10-24  Martin Baulig  <martin@home-of-linux.org>

	* features.def: Use `retval' for the default retval.

	* include/glibtop/command.h (glibtop_command_h): Added
	`int *retval_ptr' parameter to return the retval from the
	sysdeps functions.
1999-10-24 20:04:37 +00:00
Martin Baulig
1dadfb6d15 Added additional `int' parameter for the retval from the sysdeps
1999-10-24  Martin Baulig  <martin@home-of-linux.org>

	* io.c (do_output): Added additional `int' parameter for the
	retval from the sysdeps functions.
1999-10-24 20:03:35 +00:00
Martin Baulig
2dc529b19f New static variable. (glibtop_get_fsusage_s): Return -1 on error;
1999-10-24  Martin Baulig  <martin@home-of-linux.org>

	* fsusage.c (_glibtop_sysdeps_fsusage): New static variable.
	(glibtop_get_fsusage_s): Return -1 on error; otherwise set the
	features and return 0.
1999-10-24 19:16:52 +00:00
Martin Baulig
a5dd7e9063 This is a very big an possibly breaking commit.
It changes the return values of all sysdeps functions which were
previosly returning void to int.

This is the first step to implement better error handling in LibGTop.

Martin

1999-10-24  Martin Baulig  <martin@home-of-linux.org>

	* include/glibtop/*.h (glibtop_get_*, glibtop_init*): Changed
	the return value of all `glibtop_get_<feature>_* ()' and all
 	`glibtop_init_<feature>_* ()' functions from void to int.

	* features.def: Reflect changes of the return values.
	* sysdeps/*/*.c: Reflect changes of the return values.
1999-10-24 19:09:32 +00:00
Martin Baulig
eae892c9b1 Use glib's malloc functions when compiled with LIBGTOP_USE_GLIB_MALLOC.
1999-10-24  Martin Baulig  <martin@home-of-linux.org>

	* xmalloc.c: Use glib's malloc functions when compiled
	with LIBGTOP_USE_GLIB_MALLOC.
1999-10-24 18:47:50 +00:00
Martin Baulig
71e81ccad3 Added. New configure parameter to use glib's malloc functions.
1999-10-24  Martin Baulig  <martin@home-of-linux.org>

	* acconfig.h (LIBGTOP_USE_GLIB_MALLOC): Added.
	* configure.in (--enable-glib-malloc): New configure parameter
	to use glib's malloc functions.
1999-10-24 18:46:59 +00:00
Martin Baulig
eeaa766456 Use glib's malloc functions when compiled with LIBGTOP_ENABLE_DEBUG.
1999-10-24  Martin Baulig  <martin@home-of-linux.org>

	* xmalloc.c: Use glib's malloc functions when compiled
	with LIBGTOP_ENABLE_DEBUG.

	* xmalloc_suid.c: New file.
1999-10-24 16:19:48 +00:00
Martin Baulig
17627bab9f New file.
1999-10-24  Martin Baulig  <martin@home-of-linux.org>

	* sysdeps/common/ChangeLog: New file.
1999-10-24 16:19:28 +00:00
Martin Baulig
7327906fde Removed examples from the spec file. 1999-10-24 15:55:46 +00:00
Martin Baulig
3c3dfcd77d The LibGTop examples have been moved into their own top-level module
1999-10-24  Martin Baulig  <martin@home-of-linux.org>

	The LibGTop examples have been moved into their own top-level
	module libgtop-examples.

	* examples/*: Removed.
	* configure.in: Removed all checks for the examples.
	* libgtop-sysdeps.m4: Removed --with-libgtop-examples parameter.
	* Makefile.am: Removed examples from the subdir list.
1999-10-24 15:51:28 +00:00
Martin Baulig
0adc3bd9ab Move that warning from configure.in to autogen.sh so it won't show up
each time during the build process.
1999-10-24 14:44:03 +00:00
Martin Baulig
0c3e5cd755 Check for <osreldate.h> on *BSD* systems.
1999-10-24  Martin Baulig  <martin@home-of-linux.org>

	* libgtop-sysdeps.m4: Check for <osreldate.h> on *BSD* systems.
1999-10-24 14:33:44 +00:00
Martin Baulig
34714be205 Make inclusion of <osreldate.h> conditional to `HAVE_OSRELDATE_H', not to
1999-10-24  Martin Baulig  <martin@home-of-linux.org>

	* glibtop_machine.h: Make inclusion of <osreldate.h> conditional
 	to `HAVE_OSRELDATE_H', not to `__FreeBSD__'.
	* procsignal.c, proctime.c, proctime.c: Likewise.
1999-10-24 14:33:18 +00:00
Martin Baulig
77cf90cfb0 Add a prominent warning that this is a development version of LibGTop. 1999-10-24 14:13:02 +00:00
Martin Baulig
359f5511d7 Fix bug #2909; I made some little mistake when applying a patch here. 1999-10-20 14:35:54 +00:00
Martin Baulig
9043e29b18 Don't cast uptime and idletime to float as suggested by John Kodis.
1999-10-19  Martin Baulig  <martin@home-of-linux.org>

	* uptime.c (glibtop_get_uptime_s): Don't cast uptime and idletime
	to float as suggested by John Kodis.
1999-10-19 00:11:33 +00:00
Martin Baulig
d59b8e5220 Set version number to 1.1.3, binary age 0, interface age 0 and increased
1999-10-19  Martin Baulig  <martin@home-of-linux.org>

	* LIBGTOP-VERSION: Set version number to 1.1.3, binary age 0,
	interface age 0 and increased LIBGTOP_SERVER_VERSION to 51.
1999-10-19 00:08:09 +00:00
Martin Baulig
ebbeb1a058 *** empty log message *** LIBGTOP_1_1_2 1999-10-18 22:14:01 +00:00
Martin Baulig
afeb4d50a5 Released LibGTop 1.1.2 "Hardangervidda".
1999-10-19  Martin Baulig  <martin@home-of-linux.org>

	Released LibGTop 1.1.2 "Hardangervidda".
1999-10-18 21:59:46 +00:00
Martin Baulig
7fb4f43469 New file. We also track all changes since 1.0.x here.
1999-10-18  Martin Baulig  <martin@home-of-linux.org>

	* RELNOTES-1.1.x: New file. We also track all changes since
	1.0.x here.
1999-10-18 21:59:03 +00:00
Martin Baulig
ca0cdbae5a This is the *development* branch of LibGTop. It is indended
for people who want to help with the development of LibGTop and
not for end-users.

Please use the LIBGTOP_STABLE_1_0 branch (which is LibGTop 1.0.x)
unless you're really a developer.

If you're using LibGTop from CVS simply do a

	cvs update -r LIBGTOP_STABLE_1_0

to get the latest version from the stable branch.

However, I'll periodically make snapshot releases from the development
branch for Solaris users of LibGTop.

They can be found at

	ftp://ftp.home-of-linux.org/pub/libgtop/1.1/

in near future.

Using released tarballs from the development branch is a lot better than
compiling directly from CVS since things in CVS may not always work as
expected.

Note that releases from the developer branch are neither binary
nor fully source compatible; you'll normally have to recompile
everything that use them.

October 1999
Martin Baulig
1999-10-18 21:42:16 +00:00
Martin Baulig
879b173ae4 We start maintaining a NEWS file now :)
1999-10-18  Martin Baulig  <martin@home-of-linux.org>

	* NEWS: We start maintaining a NEWS file now :)
1999-10-18 21:27:29 +00:00
Martin Baulig
58b341ceec *** empty log message *** 1999-10-18 20:33:08 +00:00
Martin Baulig
98981183d8 Removed obsolete file.
1999-10-18  Martin Baulig  <martin@home-of-linux.org>

	* NEWS.old: Removed obsolete file.

	* TODO: Nuked it. We may need this file later ...
1999-10-18 19:58:36 +00:00
Martin Baulig
2747d6bd2a LIBGTOP_STABLE_1_0 is now an ordinary branch here. 1999-10-18 18:58:58 +00:00
Martin Baulig
e76df47af0 Reverted this commit.
1999-10-18  Martin Baulig  <martin@home-of-linux.org>

	* internals.texi: For LibGTop 1.0.x, we put a short notice here
	that this section was added in the development versions.
1999-10-18 18:52:38 +00:00
Martin Baulig
04fbf58c18 For LibGTop 1.0.x, we put a short notice here that this section was added
1999-10-18  Martin Baulig  <martin@home-of-linux.org>

	* internals.texi: For LibGTop 1.0.x, we put a short notice here
	that this section was added in the development versions.
1999-10-18 18:33:48 +00:00
Martin Baulig
10dcb079f7 Added a note about LibGTop and GNOME.
1999-10-18  Martin Baulig  <martin@home-of-linux.org>

	* about.texi: Added a note about LibGTop and GNOME.

	* reference.texi (glibtop_proc_state): Fix description of the `state'
 	field for LibGTop 1.0.x.
1999-10-18 18:15:30 +00:00
Martin Baulig
8da7856780 Added `@DL_LIB@'.
1999-10-17  Martin Baulig  <martin@home-of-linux.org>

	* Makefile.am (libgtop_sysdeps_la_LIBADD): Added `@DL_LIB@'.
1999-10-17 21:42:15 +00:00
Martin Baulig
78a6bcd553 Small warning fix. 1999-10-17 21:38:38 +00:00
Martin Baulig
66dd76be8f Check for dlopen() and AC_SUBST this.
1999-10-17  Martin Baulig  <martin@home-of-linux.org>

	* configure.in (DL_LIB): Check for dlopen() and AC_SUBST this.
1999-10-17 21:36:00 +00:00
Martin Baulig
2174194bbd Fixed typedef syntax for glibtop-config.h. Thanks to Drazen Kacar for
1999-10-17  Martin Baulig  <martin@home-of-linux.org>

	* configure.in: Fixed typedef syntax for glibtop-config.h.
	Thanks to Drazen Kacar for pointing this out.
1999-10-17 12:59:51 +00:00
Martin Baulig
d58d11fa29 The next release (October GNOME for Solaris people) near ...
1999-10-16  Martin Baulig  <martin@home-of-linux.org>

	* LIBGTOP-VERSION: Set version number to 1.1.2, binary age 2,
	interface age 2.
1999-10-16 18:48:11 +00:00
Martin Baulig
20bc40ac18 Applied all patches from the FreeBSD 3.3 ports collection.
1999-10-16  Martin Baulig  <martin@home-of-linux.org>

	Applied all patches from the FreeBSD 3.3 ports collection.

	* swap.c: Only #include <rlist.h> for __FreeBSD_version < 400005.

	* prockernel.c: Make it compile on FreeBSD / alpha.

	* procsignal.c: Some fixes for FreeBSD-current.
1999-10-16 18:30:52 +00:00
Martin Baulig
7881e4212f Don't use the `GLIBTOP_PROCESS_*' constants for process states for LibGTop
1999-10-16  Martin Baulig  <martin@home-of-linux.org>

	* procstate.c (glibtop_get_proc_state_p): Don't use the
	`GLIBTOP_PROCESS_*' constants for process states for
	LibGTop 1.0.x.
1999-10-16 18:00:54 +00:00
Birger Langkjer/danish translations
aaca4e7cd6 Modified Files: glade/po/da.po libgtop/po/da.po
Modified Files:
 	glade/po/da.po libgtop/po/da.po
1999-10-09 00:04:21 +00:00
Nam SungHyun
3250583253 updated 1999-10-04 14:21:45 +00:00
Martin Baulig
be4c952542 Reverted my commit which reverted Radek Doulik's change.
Sorry for being stupid, but I run the diff in the wrong direction; his
patch was absolutely correct.

Martin
1999-09-29 10:23:04 +00:00
Gert Dewit
5656ad7f6c Updated nl translation for LIBGTOP_STABLE_1_0 1999-09-29 09:52:06 +00:00
Martin Baulig
ed3ab3d31d updated po-files for 1.1.1. 1999-09-29 00:45:15 +00:00