2001-10-13 Bradford Hovinen <hovinen@ximian.com>
* bonobo-config-archiver.c (real_sync): Try to resolve a listener
to make sure that something is listening when we issue the sync
event (disabled for now)
(get_listener_oafiid): Implement (disabled for now)
2001-10-12 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (get_factory_name): Updated factory name to
reflect new, expanded roles
* Bonobo_Control_Capplet_generic.oaf.in: Create
2001-09-29 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (create_control_cb): Elimite reference counter --
it's not necessary
(create_control_cb): Make this a multi-factory so that we can
return the listener when needed
(capplet_init): Set up the listener here rather than in
get_control_cb; also remove the listener and unref the database
here
(quit_cb, real_quit_cb): Remove (thank the gods)
2001-10-12 Bradford Hovinen <hovinen@ximian.com>
* Makefile.am ($(oaffile)): Make creation of the .oaf file generic
2001-10-12 Bradford Hovinen <hovinen@ximian.com>
* capplet-dir.c (capplet_control_launch): Unref the property bag
when we are done
2001-09-28 Bradford Hovinen <hovinen@ximian.com>
* bonobo-config-archiver.c (bonobo_config_archiver_new): Store the
listener id in the archiver_db structure
(bonobo_config_archiver_destroy): Remove the event source
listener; destroy the XML cache
(new_rollback_cb): Don't reload everything if we initiated the
sync ourselves
(real_sync): Mark that we are currently up to date
2001-09-28 Bradford Hovinen <hovinen@ximian.com>
* bonobo-config-archiver.c (bonobo_config_archiver_new): Store the
listener id in the archiver_db structure
(bonobo_config_archiver_destroy): Remove the event source
listener; destroy the XML cache
2001-09-07 Bradford Hovinen <hovinen@ximian.com>
* archiver-client.c (location_client_store_xml): Make backend_id
const
* util.c (parse_date): Set the time zone
(parse_date): Initialize tm_isdst
* archiver-client.c (location_client_store_xml): Call
ConfigArchiver_Location_storageComplete when done
(location_client_store_xml): Don't try to save the XML file if
there was an error getting the storage filename
* location.c (location_storage_complete): Implement
(impl_ConfigArchiver_Location_storageComplete): Implement
* config-log.c (config_log_get_backend_id_for_id): Make return
value const
2001-09-04 Bradford Hovinen <hovinen@ximian.com>
* location.c (location_get_storage_filename): Notify listeners
that new rollback data is available
* bonobo-config-archiver.c (new_rollback_cb): Implement
(bonobo_config_archiver_new): Connect above to event source
* location.c (location_store):
(location_init): Construct an event source and add its interface
* Makefile.am (INCLUDES): Remove -DDEFAULTS_DIR
2001-09-03 Bradford Hovinen <hovinen@ximian.com>
* bonobo-config-archiver.c (bonobo_config_archiver_new): Accept
complete moniker as an argument; do the parsing here
* archiver-client.c (location_client_load_rollback_data): Adjust
time from mktime according to time zone information
* bonobo-moniker-archiver.c (is_leap_year):
(mod_date_by_str): Implement
(parse_name): Use correct math for computing offsets
* bonobo-config-archiver.c (bonobo_config_archiver_new): Don't
print an error message if the parent moniker is bad
(bonobo_config_archiver_new): Remove debugging messages
* archiver-client.c (location_client_load_rollback_data): Make
date and backend_id const
* bonobo-moniker-archiver.c (archiverdb_resolve): Determine date
from moniker and pass to bonobo_config_archiver_new
* bonobo-config-archiver.c (bonobo_config_archiver_new): Accept
date structure as argument
2001-08-21 Bradford Hovinen <hovinen@ximian.com>
* idl/ConfigArchiver.idl: Added exception RollbackDataNotFound
Added exception LocationNotFound
* archive.c (archive_get_current_location_id): Use
archive_create_location rather than location_new
(archive_get_current_location_id): Unref the location once we have
created it
* archiver-client.c (location_client_load_rollback_data): Don't
try to parse the XML file if there was an exception
* bonobo-config-archiver.c (bonobo_config_archiver_new): Make sure
to release_unref location and archive if aborting
(bonobo_config_archiver_new): Reinitialize exception structure
after we have succeeded
* location.c (location_get_rollback_filename): Recurse on parent
location if parent_chain is set to TRUE
* archive.c (impl_ConfigArchiver_Archive_getLocation): Set the
LocationNotFound exception if the location returned was NULL
* location.c (impl_ConfigArchiver_Location_getRollbackFilename): Don't try
* archive.c (impl_ConfigArchiver_Archive_getLocation): Don't try
to CORBA_Object_duplicate the result if it is NULL
(archive_get_location): Don't try to cast the result of
location_open before we know whether it is non-NULL
(impl_ConfigArchiver_Archive_createLocation): Call
bonobo_object_from_servant on parent_ref->servant
* location.c (location_destroy): Remove debugging message; make
remaining debugging message more enlightening
* archive.c (archive_get_child_locations): Rename from
archive_foreach_child_location; rewrite to return a GList of child
locations
(impl_ConfigArchiver_Archive_getChildLocations): Use
archive_get_child_locations
(archive_destroy): Remove debugging message
* bonobo-moniker-archiver.c (archive_resolve): Remove debugging
messages
* archive.c (archive_get_location): Remove debugging messages
* config-log.c (dump_log): Remove debugging messages
* archive.c (archive_foreach_child_location): Build a list first
and then traverse it to avoid screwing up the tree traversal
* mouse-properties-capplet.c (apply_settings): Use a CORBA
exception structure
2001-07-31 Bradford Hovinen <hovinen@ximian.com>
* bonobo-config-archiver.c (pb_get_fn): Use
location_get_config_log rather than config_log_open; don't destroy
the log
2001-07-27 Bradford Hovinen <hovinen@ximian.com>
* bonobo-config-archiver.c (bonobo_config_archiver_destroy): Don't
unref the event source or the property bag
2001-07-24 Richard Hestilow <hestilow@ximian.com>
* config-log.c (parse_line): Ok, bad fix. Move that to the archiver.
* bonobo-config-archiver.c (pb_set_fn): Moved here.
(bonobo_config_archiver_new): Don't aggregate against an EventSource,
since the PropertyBag already has one and everything will get confused.
Just use the one the bag has.
(bonobo_config_archiver_destroy): Don't unref the event source, we
don't own it any more.
2001-07-24 Richard Hestilow <hestilow@ximian.com>
* config-log.c (parse_line): Fix date parsing to work with DST.
* bonobo-config-archiver.[ch]: Export a PropertyBag interface that
has the last_modified date as a read-only property.
2001-07-17 Bradford Hovinen <hovinen@ximian.com>
* bonobo-config-archiver.c (bonobo_config_archiver_new): Add
mechanism for quitting once the moniker is no longer in use
(bonobo_config_archiver_new): Make archive a static variable
(bonobo_config_archiver_new): Explicitly destroy archive when
program quits
(timeout_cb): Remove
* capplet-util.c (get_factory_name):
(get_default_moniker):
(get_property_name): Use correct names when the full path was
specified for the executable
2001-07-17 Bradford Hovinen <hovinen@ximian.com>
* bonobo-config-archiver.c (bonobo_config_archiver_new): Add
mechanism for quitting once the moniker is no longer in use
2001-07-12 Bradford Hovinen <hovinen@ximian.com>
* archive.c (archive_get_current_location_id): Only try to store a
full snapshot if we are in a global archive
* bonobo-config-archiver.c (bonobo_config_archiver_new): Store
real_name in archiver_db
(bonobo_config_archiver_destroy): Use archiver_db->real_name with
bonobo_url_register
2001-07-09 Bradford Hovinen <hovinen@ximian.com>
* bonobo-config-archiver.c (bonobo_config_archiver_new): Use
bonobo_object_unref rather than gtk_object_destroy
* bonobo-moniker-archiver.c (archiver_resolve): Allow PropertyBag
interface as well
(parse_name): Set *location to NULL when there is no location
* sound-properties.xml: Use 0 and 1 rather than true and false
* capplet-dir.c (capplet_control_launch): Don't convert underscores
to dashes in moniker
2001-07-09 Bradford Hovinen <hovinen@ximian.com>
* bonobo-config-archiver.c (bonobo_config_archiver_new): Try to
load the defaults file if no rollback data can be found
* capplets/sound/Makefile.am (defaults_DATA): Add sound-properties.xml
(EXTRA_DIST): Add defaults_DATA
* control-center/Makefile.am (INCLUDES): Update directory locations