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.
2000-11-26 Martin Baulig <martin@home-of-linux.org>
* include/glibtop/glibtop-backend.h (glibtop_backend_open):
Renamed to glibtop_backend_get().
(glibtop_backend_get_server): New function.
2000-11-26 Martin Baulig <martin@home-of-linux.org>
* include/glibtop/glibtop-backend.h
(glibtop_backend_get_call_vector): New function.
* lib/glibtop-client-private.h: New file.
* lib/glibtop-client.h (struct _glibtop_client_private): Moved
to glibtop-client-private.h.
2000-11-26 Martin Baulig <martin@home-of-linux.org>
* include/glibtop/glibtop-client.h (glibtop_client_open_backend):
Changed return value to void.
* lib/glibtop-client.c: Implement glibtop_client_add_backend() and
glibtop_client_remove_backend().
2000-11-26 Martin Baulig <martin@home-of-linux.org>
* include/glibtop/backend.h: Removed. Split into glibtop-backend.h
and glibtop-backend-info.h.
* include/glibtop/glibtop-backend.h: New file. Switched
glibtop_backend to a GObject.
* include/glibtop/glibtop-backend-info.h: New file.
* lib/backend.c, lib/init-backends.c, lib/open-backend.c: Removed.
* lib/glibtop-backend.c: New file.
* lib/glibtop-backend-info.c: New file.
2000-11-26 Martin Baulig <martin@home-of-linux.org>
* include/glibtop/call-vector.h (glibtop_call_vector): Moved
the typedef to backend.h.
* include/glibtop/backend.h (glibtop_open_backend_l): Renamed
to glibtop_open_backend(), removed the `glibtop_client *'
argument and made the `GError *' argument non-optional.
* include/glibtop/glibtop-client.h
(glibtop_client_add_backend, glibtop_client_remove_backend): New
functions to add/remove a glibtop_backend to a glibtop_client.
(glibtop_client_open_backend): New convenient function; calls
glibtop_open_backend() and glibtop_client_add_backend().
2000-11-22 Martin Baulig <martin@home-of-linux.org>
* configure.in (INCLUDES): Added -Werror.
* include/glibtop/open.h (_glibtop_open_sysdeps): The first
argument is now a `glibtop_client *', removed the `flags' argument
and added `const char **backend_args' and `GError **opt_error'.
2000-11-22 Martin Baulig <martin@home-of-linux.org>
* lib/glibtop-server.c: New file.
* lib/test-backends.c: New file.
* lib/Makefile.am: Build test-backends test program.
* lib/init-backends.c: Port this to libxml 2.
* configure.in: Make this really work.
* acinclude.m4: Removed the xml stuff.
* Makefile.am (SUBDIRS): Put lib in front of sysdeps and backends.
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.