Commit Graph

953 Commits

Author SHA1 Message Date
Martin Baulig
abaa37c51f Return SCM_BOOL_F on error. 1999-12-05 14:15:49 +00:00
Martin Baulig
4a2fb0a871 Use `array(<type>)' as return value for functions returning an array of
1999-12-05  Martin Baulig  <martin@home-of-linux.org>

	* features.def: Use `array(<type>)' as return value for functions
	returning an array of structures.
1999-12-05 14:07:20 +00:00
Martin Baulig
5ddf25c66a Enable `guile' subdir again. 1999-12-05 13:58:31 +00:00
Martin Baulig
ff9f90c7e6 This is now the low-level guile interface to LibGTop. For each of the
1999-12-05  Martin Baulig  <martin@home-of-linux.org>

	This is now the low-level guile interface to LibGTop. For
	each of the LibGTop structures we create a new smob here and
	let the `glibtop-get-<feature>' functions return such a smob.

	* main.c: New file.
	(glibtop_boot_guile_main): Initialize "glibtop-global-server" here.

	* guile.h: New file.
1999-12-05 13:58:03 +00:00
Martin Baulig
d48d48cafb Reflect latest interface changes. 1999-12-05 13:54:58 +00:00
Martin Baulig
2bb9bc624d Return array of `glibtop_interface' structures. (glibtop_interface): New
1999-12-05  Martin Baulig  <martin@home-of-linux.org>

	* includes/glibtop/interfaces.h (glibtop_get_interface_names):
	Return array of `glibtop_interface' structures.
	(glibtop_interface): New structure.
1999-12-05 13:54:37 +00:00
Martin Baulig
069eb707f0 New #define. (GLIBTOP_UNLIMITED): #define this to be `(~(u_int64_t)0)'.
1999-12-05  Martin Baulig  <martin@home-of-linux.org>

	* include/glibtop/limits.h (GLIBTOP_INTERFACE_LEN): New #define.
	(GLIBTOP_UNLIMITED): #define this to be `(~(u_int64_t)0)'.
1999-12-05 13:52:32 +00:00
Martin Baulig
c1cae4e9ba Added `refcount' field. New functions to deal with refcounts.
1999-12-05  Martin Baulig  <martin@home-of-linux.org>

	* glibtop.h (glibtop): Added `refcount' field.
	* lib/init.c (glibtop_server_ref, glibtop_server_unref): New
	functions to deal with refcounts.
1999-12-05 13:50:35 +00:00
Martin Baulig
f5efccc8d6 New file. This is used by the language bindings code to get the
1999-12-05  Martin Baulig  <martin@home-of-linux.org>

	* structures.def: New file. This is used by the language bindings
	code to get the definitions of some of LibGTop's structures.
1999-12-05 13:49:36 +00:00
Birger Langkjer/danish translations
f6e4fefd66 Modified Files: balsa/po/da.po gedit/po/da.po libgtop/po/da.po
Modified Files:
 	balsa/po/da.po gedit/po/da.po libgtop/po/da.po
1999-12-03 18:57:14 +00:00
Martin Baulig
66bab0ec49 Partitially got it working again. 1999-12-02 20:56:42 +00:00
Martin Baulig
2b501953ce New file.
1999-12-02  Martin Baulig  <martin@home-of-linux.org>

	* guile_types.pl: New file.
1999-12-02 20:54:55 +00:00
Yuri Syrota
150d9c9961 Added Ukrainian Translation 1999-12-02 09:15:23 +00:00
Kjartan Maraas
e5b62ecc0b Updated Norwegian translation.
1999-12-01  Kjartan Maraas  <kmaraas@online.no>

	* no.po: Updated Norwegian translation.
1999-12-01 08:49:10 +00:00
Yuri Syrota
b621d3cf1c Added Ukrainian Translation 1999-11-30 13:21:33 +00:00
Ricardo Soares Guimarães
9abff2143d Updated pt_BR translations
1999-11-29 Ricardo Soares Guimarães <ricardo@conectiva.com.br>
	*	Updated pt_BR translations
1999-11-29 18:49:10 +00:00
Drazen Kacar
5d224583a1 @#$!%@# gcc!!! 1999-11-29 16:19:28 +00:00
Nam SungHyun
fdc5890b09 updated to 1.1.3 1999-11-29 04:22:15 +00:00
Martin Baulig
f850409d45 Added transport' and protocol' argument to specify transport method and
1999-11-28  Martin Baulig  <martin@home-of-linux.org>

	* include/glibtop/netload.h (glibtop_get_netload): Added
	`transport' and `protocol' argument to specify transport method
	and protocol.

	* include/glibtop/netinfo.h (glibtop_get_netinfo): Added
	`transport' argument to specify the transport method.
1999-11-28 19:03:05 +00:00
Martin Baulig
d58748ac66 Added `transport' field for the transport method.
1999-11-28  Martin Baulig  <martin@home-of-linux.org>

	* include/glibtop/netinfo.h (glibtop_netinfo): Added `transport'
	field for the transport method.
1999-11-28 18:41:45 +00:00
Martin Baulig
4a01752467 Split netload into netload and netinfo.
1999-11-28  Martin Baulig  <martin@home-of-linux.org>

	Split netload into netload and netinfo.

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

	* include/glibtop/netload.h (glibtop_netload): Moved `if_flags',
	`mtu', `subnet' and `address' into the new `glibtop_netinfo'.

	* include/glibtop/sysdeps.h (GLIBTOP_SYSDEPS_NETINFO): Added.
	(glibtop_sysdeps): Added `netinfo.
	* include/glibtop/union.h (glibtop_union): Added `netinfo.
	* include/glibtop/command.h (GLIBTOP_CMND_NETINFO): Added.
1999-11-28 18:17:21 +00:00
Martin Baulig
53f9d03e30 Added `instance' argument.
1999-11-28  Martin Baulig  <martin@home-of-linux.org>

	* include/glibtop/interfaces.h (glibtop_get_interface_names):
	Added `instance' argument.
1999-11-28 17:53:34 +00:00
Martin Baulig
776b6965fb **** Merged from Hardangervidda ****
1999-11-28  Martin Baulig  <martin@home-of-linux.org>

	* gnuserv.c (setup_table): Don't dump core when the table of
	permitted host names contains a NULL pointer.
1999-11-28 16:43:30 +00:00
Martin Baulig
aeeef43f45 We now have a new, more extensible client/server communication model.
1999-11-28  Martin Baulig  <martin@home-of-linux.org>

	* lib/lib.pl: We now have a new, more extensible client/server
	communication model. Include `$(top_srcdir)/scripts/c_types.pl' here.
1999-11-28 16:21:51 +00:00
Martin Baulig
b60b7fd201 New file. This is included in `$(top_srcdir)/lib/lib.pl'.
1999-11-28  Martin Baulig  <martin@home-of-linux.org>

	* c_types.pl: New file.
	This is included in `$(top_srcdir)/lib/lib.pl'.
1999-11-28 16:20:16 +00:00
Martin Baulig
f918792bb6 Temporarily comment out guile subdir. 1999-11-28 16:19:20 +00:00
Martin Baulig
abb3ba2c6a **** Merged from Hardangervidda ****
1999-11-28  Martin Baulig  <martin@home-of-linux.org>

	* procstate.c (glibtop_get_procstate_s): Stat "/proc/<pid>" instead
	of "/proc/<pid>/state" to get `uid' and `gid'. Thanks to Jason Becker
	for pointing out that GTop reported wrong uid's.
1999-11-28 11:58:14 +00:00
Martin Baulig
566e05bb33 *** empty log message *** 1999-11-21 19:05:11 +00:00
Martin Baulig
6380440c00 Reflect latest interface changes. 1999-11-21 19:03:12 +00:00
Martin Baulig
f8e6fb5674 Implement GLIBTOP_CMND_INTERFACE_NAMES. 1999-11-21 18:46:36 +00:00
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