Commit graph

117 commits

Author SHA1 Message Date
Bradford Hovinen
afc3333a5a Added test-1.sh and test-2.sh, the first two tests in the test suite
2001-02-19  Bradford Hovinen  <hovinen@ximian.com>

	* Added test-1.sh and test-2.sh, the first two tests in the test suite

	* location.c (location_foreach_backend): Update to use BackendNote
	(do_rollback): Don't do rollback if the doc is NULL
	(location_store_xml): Return if this location does not contain the
	backend specified
	(location_store_xml): Use fprintf rather than g_warning
	(subtract_xml_node):
	(merge_xml_nodes): Update child node while iterating

	* config-log.c (config_log_get_rollback_ids_for_date): Remove

	* location.c (location_set_arg): ref inherited object

	* main.c (main): Don't check if the location is default; don't
	create default location if non-existant
	(main): Signal error if the user is adding a location and did not
	specify a name
	(main): Use fprintf to signal the error that a location could not
	be opened
	(main): Signal error and exit when archive cannot be opened,
	rather than using g_error
	(do_add_location): Check for NULL location_id
	(do_add_location): Create default location if it does not exist
	and it is specified as the parent

	* archive.c (archive_get_current_location_id): Create the default
	location if it does not exist

	* backend-list.c (backend_list_contains): Use strcmp and iterate
	through the list

	* location.c (location_contains): Read whether the backend is in
	the master list if this location is toplevel

2001-02-18  Bradford Hovinen  <hovinen@ximian.com>

	* main.c (do_add_backend): Support ContainmentType specification
	(do_store): Support StoreType specification
	(struct store_options): Add set of options to support
	compare_parent, mask_previous, options
	(struct add_remove_backend_options): Add option for partial
	containment when adding backend

	* location.c (subtract_xml_node):
	(merge_xml_nodes):
	(compare_xml_nodes):
	(merge_xml_docs):
	(subtract_xml_doc): Implement. XML node compare/merging operations
	(location_store): Rewrite to call location_store_xml
	(location_store_xml): Include support for diffing with
	configuration data from parent config
	(location_dump_rollback_data): Rewrite to use
	location_load_rollback_data
	(dump_xml_data): Remove
	(do_rollback): Rewrite to use xmlDocDump; pass xmlDocPtr rather
	than id number
	(location_rollback_id): Add node merging support
	(location_rollback_backend_by):
	(location_rollback_backend_to): Rewrite to use
	location_load_rollback_data
	(location_rollback_backends_to): Rewrite to iterate through
	backend list and call location_rollback_backend_to for each
	element
	(location_rollback_all_to): Ditto

2001-02-14  Bradford Hovinen  <hovinen@ximian.com>

	* location.h (_ContainmentType): Introduce. Specifies the type of
	containment (full, partial, none), of a backend in a location

	* location.c: Added struct BackendNote; have backend list include
	type of containment as well as backend id
	(location_contains): Use find_note
	(find_note): Implement. Finds a note for the given backend id in
	the backend list
	(backend_note_new):
	(backend_note_destroy): Implement. Convenience functions for
	creating and destroying backend notes
	(load_metadata_file):
	(write_metadata_file): Read/write type of backend containment
	(full or partial)
	(location_add_backend): Pass parameter telling whether containment
	is partial
2001-02-20 02:43:35 +00:00
Jose Maria Celorio
c82bc4ba15 shut up cvs. Upd. TODO
shut up cvs.
Upd. TODO
2001-01-25 22:38:28 +00:00
Bradford Hovinen
b3559fa5ac Use local time rather than Greenwich Mean Time
2001-01-25  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c (get_current_date): Use local time rather than
	Greenwich Mean Time

	* location.c (location_store_xml): Implement; copy from
	location_store
	(location_store): Free filename after use

	* archive.c (archive_load): Free prefix only if not global

	* location.c (location_rollback_all_to): Increment array

	* util.c (parse_date): Normalize values
2001-01-25 19:44:54 +00:00
Bradford Hovinen
18b6da4d1a Increment array
2001-01-25  Bradford Hovinen  <hovinen@ximian.com>

	* location.c (location_rollback_all_to): Increment array

	* util.c (parse_date): Normalize values

2001-01-24  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c (do_load): Disabled locking for now
2001-01-25 15:23:51 +00:00
Arturo Espinosa
1adfcbd424 More Helix to Ximian. Also, the new network code - untested - and a fix for backends/Makefile.am 2001-01-24 20:40:25 +00:00
Bradford Hovinen
c294afced9 Added fine-grained location management description
2001-01-24  Bradford Hovinen  <hovinen@ximian.com>

	* archiver-spec: Added fine-grained location management description
2001-01-24 17:08:15 +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
Hans Petter
7beca6f9f9 Changed e-mail addresses: helixcode.com -> ximian.com. 2001-01-12 15:03:02 +00:00
Hans Petter
53acf19538 Updated copyright headers. 2001-01-12 14:40:26 +00:00
Jacob "Ulysses" Berkman
754c4d92a2 add network
2000-12-27  Jacob "Ulysses" Berkman  <jacob@helixcode.com>

	* src/Makefile.am (SUBDIRS): add network

	* configure.in: add network dir

	* interfaces/network.glade.in: updates etc.

	* src/network/: new network tool, based on (so far) the
	nameresolution tool
2000-12-27 22:34:38 +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
Jacob "Ulysses" Berkman
650afa59df import of new networking tool's interface
2000-12-20  Jacob "Ulysses" Berkman  <jacob@helixcode.com>

	* interfaces/network.glade.in: import of new networking
	tool's interface
2000-12-20 17:59:59 +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