Commit graph

16 commits

Author SHA1 Message Date
Bradford Hovinen
c39d6dff02 Dump the log after loading it from the slave (dump_log): Set first_old to
2001-06-20  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c (slave_data_cb): Dump the log after loading it from
	the slave
	(dump_log): Set first_old to the beginning of the list after the dump
	(do_load): Don't call do_unload
	(socket_data_cb): Check for hang up first
2001-06-20 17:21:33 +00:00
Chema Celorio
1d5ef7fade create x_aConf.sh from the XIMIAN_ARCHIVER_FOO_CONF varialbes
2001-05-26  Chema Celorio  <chema@celorio.com>

	* Makefile.am (ximian_archiverConf.sh): create x_aConf.sh from
	the XIMIAN_ARCHIVER_FOO_CONF varialbes

2001-05-26  Chema Celorio  <chema@celorio.com>

	* configure.in (XIMIAN_ARCHIVER_LIBDIR/LIBS/INCLUDEDIR_CONF):
	add new variables to be used in ximian_archiverConf.sh which are
	different from
2001-05-26 10:14:57 +00:00
Chema Celorio
d8c177553d bump to 0.5.0 (XIMIAN_ARCHIVER_INCLUDEDIR): add variables for
2001-05-24  Chema Celorio  <chema@celorio.com>

	* configure.in: bump to 0.5.0
	(XIMIAN_ARCHIVER_INCLUDEDIR): add variables for ximian_archiverConf.sh.in

2001-05-24  Chema Celorio  <chema@celorio.com>

	* Makefile.am (libximian_archiver_la_SOURCES): add config-
	manger-dialog so that distcheck would pass
	(SUBDIRS): add the . dir because the capplet depends on
	the archiver and we need to build the archiver first
	(libximian_archiver_la_SOURCES): add location-list &
	create-location-dialog
	(ximian_archiverConf.sh): change to XIMIAN_ARVHIER_FOO

2001-05-24  Chema Celorio  <chema@celorio.com>

	* Makefile.am (Applicationsdir): added checked/unchecked.xpm
	so that distcheck will show me a little love


2001-05-24  Chema Celorio  <chema@celorio.com>

	* rollback-location-management.glade.in: move from archiver
2001-05-25 01:19:21 +00:00
Bradford Hovinen
3621d25287 Added location-manager-capplet
2001-05-24  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am (SUBDIRS): Added location-manager-capplet
2001-05-24 19:19:26 +00:00
Bradford Hovinen
27692b9c5c Add sed expression to replace @VERSION@
2001-05-05  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am (ximian_archiverConf.sh): Add sed expression to
	replace @VERSION@
2001-05-05 14:14:30 +00:00
Bradford Hovinen
a053572d1d Implement
2001-05-04  Bradford Hovinen  <hovinen@ximian.com>

	* cluster-location.c (cluster_location_do_rollback): Implement

	* location.c (location_do_rollback): Rename from do_rollback; make
	into virtual method
	(location_rollback_backend_to):
	(location_rollback_backend_by):
	(location_rollback_id): Update to call virtual method

	* Makefile.am (libximian_archiver_la_SOURCES):
	(include_HEADERS): Add cluster.[ch], cluster-location.[ch]

2001-05-03  Bradford Hovinen  <hovinen@ximian.com>

	* cluster.[ch]: New class

	* cluster.c (cluster_new):
	(cluster_load): Implement

	* archive.c (archive_set_arg): Add argument ARG_IS_GLOBAL
	(archive_class_init): Make ARG_PREFIX construct-only
	(archive_construct): Implement
	(do_load): Remove
	(archive_load): Use archive_construct; pass is_global as an
	argument to the object constructor
2001-05-05 03:05:20 +00:00
Bradford Hovinen
b38b466dc0 Use read rather than fread
2001-04-24  Bradford Hovinen  <hovinen@ximian.com>

	* location.c (location_store): Use read rather than fread

2001-04-23  Bradford Hovinen  <hovinen@ximian.com>

	* location.c (location_store): Block SIGPIPE
	(location_store): Fix off-by-one bug

	* archive.c (archive_get_current_location_id): Store a full
	snapshot of the system after the default location is created

	* location.c (run_backend_proc): Added parameter do_get to allow
	control of whether pipe is opened to read or write
	(store_snapshot_cb): Implement. Invokes the given backend with
	--get and stores the XML data
	(location_store_full_snapshot): Implement. Stores a complete
	snapshot with all backend data
	(subtract_xml_node): Assume all nodes are the same
	(location_store): Add string termination character
	(location_store): Only store data if any data were actually read

2001-04-22  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c (config_log_iterate): Use the correct data pointer
	to pass to the callback

	* location.c (location_new): Save the metadata for the newly
	created location right away

	* util.h: Defined DEBUG_MSG macro for debugging messages

	* archive.c (archive_unregister_location): Don't remove the
	location from the tree if the object is marked destroyed

2001-04-21  Bradford Hovinen  <hovinen@ximian.com>

	* archive.c (archive_destroy): Return if the archive was already
	destroyed

	* location.c (location_delete): Unregister the location before
	destroying it

	* config-log.c (config_log_delete): Set deleted flag
	(config_log_destroy): Only dump the log if the log is not marked
	deleted

	* location.c (location_delete): Check return value of rmdir

	* config-log.c (io_buffer_destroy): Call g_io_channel_close to
	close the GIOChannel
	(disconnect_socket): Force the removal of the source id from the
	main loop
	(config_log_destroy): Disconnect the socket after unloading, not
	before

	* location.c (location_delete): Remember to have a NULL at the end
	of arguments to g_strconcat ()

2001-04-22  Bradford Hovinen  <hovinen@ximian.com>

	* location-list.[ch]: Change to inherit GtkObject

	* location-manager-dialog.c (location_manager_dialog_destroy):
	Implement. Close and destroy all aggregated objects.
	(close_cb): Call gtk_object_destroy

2001-04-21  Bradford Hovinen  <hovinen@ximian.com>

	* location-manager-dialog.c (delete_location_cb): Don't let the
	user delete the default location
	(delete_ok_cb): Add some sanity checks to make sure the current
	location is set to something new if we delete it

	* location-list.c (location_list_select): Implement. Selectes the
	given location in the location list

	* location-manager-dialog.c (delete_ok_cb): Use correct semantics
	for callback
2001-04-25 00:57:59 +00:00
Bradford Hovinen
69ff23e49b Make sure to search location of XST backends
2001-04-11  Bradford Hovinen  <hovinen@ximian.com>

	* location.c (run_backend_proc): Make sure to search location of
	XST backends

	* Makefile.am (INCLUDES): Added XST_BACKEND_LOCATION
2001-04-12 01:43:31 +00:00
Bradford Hovinen
c366b85ccf Search XST_FRONTEND_LOCATION if we are in a global state, to make sure
2001-04-11  Bradford Hovinen  <hovinen@ximian.com>

	* gui-backend-list.c: Search XST_FRONTEND_LOCATION if we are in a
	global state, to make sure XSTs are found
	(populate_from_dir): If dealing with an XST, replace "-admin" with
	"-conf" to get the backend

	* Makefile.am (INCLUDES): Added XST_FRONTEND_LOCATION

	* Makefile.am (INCLUDES): Replace obsolete hcm directory names
	with ximian-config
2001-04-12 00:57:01 +00:00
Bradford Hovinen
0229873762 Added AM_PROG_LIBTOOL call for libximian_archiver Added rule for
2001-01-13  Bradford Hovinen  <hovinen@ximian.com>

        * configure.in: Added AM_PROG_LIBTOOL call for libximian_archiver
        * archiver/Makefile.am: Added rule for ximian_archiverConf.sh; add
	installation target for Conf.sh
	* archiver/Makefile.am: Replaced occurrences of helix with ximian
	Removed references to ximian_config_manager
2001-01-24 15:47:33 +00:00
Ross Golder
de4afa46e7 Fixed missing 'make dist' distributables 2000-12-26 16:15:09 +00:00
Bradford Hovinen
cef853b322 Use auxillary structure to pass data to traversal callback
2000-12-22  Bradford Hovinen  <hovinen@helixcode.com>

	* archive.c (foreach_cb):
	(archive_foreach_child_location): Use auxillary structure to pass
	data to traversal callback
	(archive_get_location):
	(archive_register_location): strdup() location ids
	(free_location_cb): free() key

	* Added config-manager-dialog.[ch], create-location-dialog.[ch],
	location-list.[ch], config-manager.c
	rollback-location-management.glade

2000-12-20  Bradford Hovinen  <hovinen@helixcode.com>

	* location.c (location_get_parent): Implement

	* archive.c (load_all_locations): Implement
	(foreach_cb):
	(archive_foreach_child_location): Implement
2000-12-22 21:44:22 +00:00
Bradford Hovinen
251530d68a Create and include headers for libhelix_archiver.a (includedir): Set
2000-12-19  Bradford Hovinen  <hovinen@helixcode.com>

	* Makefile.am (include_HEADERS): Create and include headers for
	libhelix_archiver.a
	(includedir): Set includedire to include/helix-archiver
2000-12-19 15:03:45 +00:00
Bradford Hovinen
62734d0bab Changed XML_CFLAGS to GNOME_XML_CFLAGS
2000-12-19  Bradford Hovinen  <hovinen@helixcode.com>

	* Makefile.am (INCLUDES): Changed XML_CFLAGS to GNOME_XML_CFLAGS
2000-12-19 14:54:55 +00:00
Bradford Hovinen
aec5f9b2f1 Changed name of archiver to helix-archiver (lib_LIBRARIES): Added
2000-12-19  Bradford Hovinen  <hovinen@helixcode.com>

	* Makefile.am (bin_PROGRAMS): Changed name of archiver to
	helix-archiver
	(lib_LIBRARIES): Added libhelix_archiver.a
	(helix_archiver_SOURCES): Moved archiver core to
	libhelix_archiver_a_SOURCES
	(helix_archiver_LDADD): Added helix_archiver.a

	* Added default backend lists
2000-12-19 14:51:19 +00:00
Bradford Hovinen
f089da2886 Added archiver directory Imported archiver for time travel, location
Tue Dec 19 09:04:00 2000  Bradford Hovinen  <hovinen@helixcode.com>

	* Makefile.am (SUBDIRS): Added archiver directory
	* archiver/*: Imported archiver for time travel, location management
2000-12-19 14:05:04 +00:00