Commit graph

123 commits

Author SHA1 Message Date
Jonathan Blandford
b8d1d9548c 2.1.7 2003-01-16 07:59:09 +00:00
Jody Goldberg
5a35e2caad Release 2.1.6
2003-01-10  Jody Goldberg <jody@gnome.org>

	* Release 2.1.6
2003-01-10 16:11:31 +00:00
Jody Goldberg
0c0c49f22c Release 2.1.5
2002-12-18  Jody Goldberg <jody@gnome.org>

	* Release 2.1.5
2002-12-18 21:43:55 +00:00
Jody Goldberg
4ab7f6e379 Release 2.1.3
2002-11-23  Jody Goldberg <jody@gnome.org>

	* Release 2.1.3
2002-11-24 05:16:35 +00:00
Jody Goldberg
de3fad8d1a Release 2.1.2
2002-11-02  Jody Goldberg <jody@gnome.org>

	* Release 2.1.2
2002-11-02 19:03:15 +00:00
Jody Goldberg
de4daccb66 Release 2.1.1
2002-10-21  Jody Goldberg <jody@gnome.org>

	* Release 2.1.1
2002-10-21 16:48:10 +00:00
Jody Goldberg
69bc347c0f Forgot to commit when I did the 2.1.0.1 snapshot
2002-10-01  Jody Goldberg <jody@gnome.org>

	* Release 2.1.0.1
2002-10-03 10:17:40 +00:00
Jody Goldberg
b3ca0b3f9f Release 2.1.0
2002-08-21  Jody Goldberg <jody@gnome.org>

	* Release 2.1.0
2002-08-21 06:01:42 +00:00
jacob berkman
961f08cd62 fixup localedir to work with solaris gettext (fixes bug #83616)
2002-06-18  jacob berkman  <jacob@ximian.com>

	* configure.in:
	* archiver/Makefile.am:
	* capplets/common/Makefile.am:
	* control-center/Makefile.am:
	* libbackground/Makefile.am:
	* libwindow-settings/Makefile.am:
	* root-manager/Makefile.am: fixup localedir to work with solaris
	gettext (fixes bug #83616)
2002-06-18 19:29:45 +00:00
Jody Goldberg
96a33b67f8 Release 2.0.0
2002-06-17  Jody Goldberg <jody@gnome.org>

	* Release 2.0.0
2002-06-17 22:10:21 +00:00
jacob berkman
64a0eee134 fix improper use of guint as GType
2002-04-11  jacob berkman  <jacob@ximian.com>

	* (various files): fix improper use of guint as GType
2002-04-11 19:13:49 +00:00
Kjartan Maraas
2cd2e13cb7 s/PACKAGE/GETTEXT_PACKAGE/g Same here.
2002-02-27  Kjartan Maraas  <kmaraas@gnome.org>

	* config-archiver.c: s/PACKAGE/GETTEXT_PACKAGE/g
	* config-manager.c: Same here.
2002-02-27 22:11:46 +00:00
Laszlo Peter
a02d04c48b s/__FUNCTION__/G_GNUC_FUNCTION/ ditto ditto ditto change "test $x == y" to
2002-01-28  Laszlo Peter  <laca@ireland.sun.com>

	* archiver/location.c: s/__FUNCTION__/G_GNUC_FUNCTION/
	* capplets/common/capplet-util.c: ditto
	* capplets/common/capplet-util.h: ditto
	* libbackground/preferences.c: ditto
	* applets/common/wrapper-script.in: change "test $x == y" to
	  "test $x = y" for portability
2002-01-28 19:55:29 +00:00
Gediminas Paulauskas
9f8ed1254f retrieve translation in utf-8 codeset. Do not setlocale (). remove intl.
2001-12-09  Gediminas Paulauskas <menesis@delfi.lt>

	* *.c (main): retrieve translation in utf-8 codeset. Do not
	setlocale ().
	* some Makefile.am (INCLUDES): remove intl.
	(..._LDADD): remove INTLLIBS
2001-12-09 12:23:40 +00:00
Bradford Hovinen
caea6d86ce Update listener name
2001-10-18  Bradford Hovinen  <hovinen@ximian.com>

	* bonobo-config-archiver.c (get_listener_oafiid): Update listener name
2001-10-18 13:36:48 +00:00
Bradford Hovinen
4b6d9f7f99 Try to resolve a listener to make sure that something is listening when we
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-10-13 17:26:48 +00:00
Shaun Merrigan
cb870464b4 Only use tm_gmtoffm if __USE_BSD is defined.
2001-10-05  Shaun Merrigan  <shaun.merrigan@sun.com>

        * archiver-client.c (location_client_load_rollback_data):
        Only use tm_gmtoffm if __USE_BSD is defined.
2001-10-05 10:14:05 +00:00
Bradford Hovinen
091dc3447c Only set tm_gmtoff and tm_zone fields if __USE_BSD is defined
2001-09-28  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c (parse_line): Only set tm_gmtoff and tm_zone fields
	if __USE_BSD is defined

	* util.c (parse_date): Ditto
2001-09-28 21:27:19 +00:00
Bradford Hovinen
233eec9cca Store the listener id in the archiver_db structure
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 21:04:53 +00:00
Bradford Hovinen (Gdict maintainer)
ce8cb4574b Added ConfigArchiver* 2001-09-28 14:19:30 +00:00
Bradford Hovinen
99d03c73dd Store the listener id in the archiver_db structure
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-28 14:17:25 +00:00
Bradford Hovinen
43b6559753 Abort if the object is already destroyed
2001-09-22  Bradford Hovinen  <hovinen@ximian.com>

        * bonobo-config-archiver.c (notify_listeners): Abort if the object
        is already destroyed
2001-09-22 23:38:10 +00:00
Bradford Hovinen
6ab6caa498 Make backend_id const
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-09-12 15:30:41 +00:00
Bradford Hovinen
1d03bbd1c5 1.5.7
2001-08-29  Bradford Hovinen  <hovinen@ximian.com>

        * RELEASE : 1.5.7

        * archive.c (foreach_build_list_cb): Don't unref the location if
        it is deleted
        (load_all_locations): Check if the location is marked deleted and
        throw it away if so

        * location.c (location_new): Don't unref parent location
2001-09-04 13:43:48 +00:00
Bradford Hovinen
eab386057e Don't unref parent location
2001-08-29  Bradford Hovinen  <hovinen@ximian.com>

	* location.c (location_new): Don't unref parent location
2001-08-29 15:12:10 +00:00
Bradford Hovinen
579d651161 Unref the location given if we are not going to use it
2001-08-28  Bradford Hovinen  <hovinen@ximian.com>

	* archive.c (foreach_build_list_cb): Unref the location given if
	we are not going to use it
2001-08-29 14:23:01 +00:00
Bradford Hovinen
a82ec1573c Don't add the location to the list if it is marked deleted
2001-08-27  Bradford Hovinen  <hovinen@ximian.com>

	* archive.c (foreach_build_list_cb): Don't add the location to the
	list if it is marked deleted
	(impl_ConfigArchiver_Archive_createLocation): Do
	CORBA_Object_duplicate rather than bonobo_object_dup_ref

	* location.c (location_is_deleted): Implement

	* background-properties-capplet.c (setup_dialog): Initialize/free
	the CORBA environment structure
	(real_realize_cb): Put into an idle handler, called by
	realize_2_cb, the new timeout handler

	* preferences.c (preferences_load_from_bonobo_pbag):
	(preferences_load_from_bonobo_db): Extract from preferences_new_*

	* background-properties-capplet.c (property_change_cb):
	(realize_cb): Accept prefs structure in lieu of
	Bonobo_PropertyBag; don't reload the preferences structure from
	the property bag
	(property_change_cb): Call preferences_apply_event to modify the
	preferences structure appropriately
	(property_change_cb):
	(realize_cb): If the preferences structure is marked destroyed,
	just return
	(setup_dialog): Create a preferences structure from the property
	bag given and use that as the extra data passed to callbacks
	(realize_cb): Put into an idle handler real_realize_cb

	* preferences.c (preferences_apply_event): Implement

	* applier.c (output_compat_prefs): Make prefs const

	* applier.[ch]: Have applier_apply_prefs take a const Preferences
	structure

	* preferences.[ch]: Make preferences_clone take a const
	Preferences structure
2001-08-28 13:01:54 +00:00
Bradford Hovinen
286cb3899a Make sure we don't try to do this if we are marked deleted
2001-08-23  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c (do_unload): Make sure we don't try to do this if
	we are marked deleted
	(config_log_delete): Call do_unload to eliminate memory leaks

	* location.c (location_delete): Set the deleted flag

	* config-log.c (dump_log): Don't try to dump the log if we are
	deleted

	* location.c (save_metadata): Don't try to save metadata if we are
	deleted
2001-08-23 20:09:21 +00:00
Hans Petter Jansson
917268be7c Fixed include path, libxml -> gnome-xml. It's consistent with the includes
2001-08-22  Hans Petter Jansson  <hpj@ximian.com>

	* archiver-client.h: Fixed include path, libxml -> gnome-xml. It's
	consistent with the includes in archiver-client.c, and it stops the build
	breaking here.
2001-08-22 19:15:13 +00:00
Bradford Hovinen
b37d7f6897 Added exception RollbackDataNotFound Added exception LocationNotFound
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-08-22 13:56:23 +00:00
Richard Hestilow
be5fc9d840 Add dependency on CORBA_SOURCE to archiver-client.c. (clean-local): Add
2001-08-20  Richard Hestilow  <hestilow@ximian.com>

	* Makefile.am: Add dependency on CORBA_SOURCE to archiver-client.c.
	(clean-local): Add CORBA_SOURCE to files to be removed.
2001-08-20 23:43:10 +00:00
Bradford Hovinen (Gdict maintainer)
4e6a3b89d6 Added CORBA interface to the archiver 2001-08-20 15:47:57 +00:00
Bradford Hovinen
212641565b Return NULL if file_stream is NULL
2001-08-03  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c (load_log_entry): Return NULL if file_stream is NULL
2001-08-03 14:48:33 +00:00
Bradford Hovinen
a1c5aa388f Return NULL if fgets returns NULL (dump_log): If both first_old and
2001-08-03  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c (load_log_entry): Return NULL if fgets returns NULL
	(dump_log): If both first_old and log_data are NULL, go ahead and
	dump the file, since nothing has been loaded yet
	(config_log_garbage_collect): Don't bother dumping the log file or
	reloading

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

	* config-log.c (config_log_garbage_collect): Implement
	(dump_log): Don't dump the old file if first_old is NULL

	* main.c (main): Support --garbage_collect

	* location.c (location_garbage_collect):
	(garbage_collect_cb): Implement
2001-08-03 14:38:09 +00:00
Bradford Hovinen
8dbdcab35e Remove socket-based synchronization system entirely. Switch to using
2001-07-31  Bradford Hovinen  <hovinen@ximian.com>

        * config-log.c: Remove socket-based synchronization system
        entirely. Switch to using standard FILE streams for interfacing
        with the configuration log
2001-07-31 18:00:39 +00:00
Bradford Hovinen
d30dd82590 Re-enable caching mechanism
2001-07-31  Bradford Hovinen  <hovinen@ximian.com>

	* archive.c (archive_get_current_location_id): Re-enable caching
	mechanism
2001-07-31 17:19:46 +00:00
Bradford Hovinen
478de4ee41 Eliminate unref mechanism; it is not needed
2001-07-31  Bradford Hovinen  <hovinen@ximian.com>

	* bonobo-config-archiver.c (bonobo_config_archiver_new):
	Eliminate unref mechanism; it is not needed
2001-07-31 16:49:26 +00:00
Bradford Hovinen
0f5d8ca6dd Use location_get_config_log rather than config_log_open; don't destroy the
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-31 14:41:02 +00:00
Bradford Hovinen
7a711c8ba9 Implement
2001-07-30  Bradford Hovinen  <hovinen@ximian.com>

	* location.c (location_get_config_log): Implement
2001-07-31 14:39:32 +00:00
Bradford Hovinen
aed49db337 Always retrieve the location id from gnome_config
2001-07-30  Bradford Hovinen  <hovinen@ximian.com>

	* archive.c (archive_get_current_location_id): Always retrieve
	the location id from gnome_config
2001-07-30 14:25:57 +00:00
Bradford Hovinen
bd3a67e6b6 Use capplet-archive/config/current/location for current location to avoid
2001-07-30  Bradford Hovinen  <hovinen@ximian.com>

	* archive.c (archive_set_current_location_id): Use
	capplet-archive/config/current/location for current location to
	avoid conflicting with control-center
2001-07-30 14:12:03 +00:00
Bradford Hovinen
eb938c2725 Make sure to write log when socket_owner not set
2001-07-30  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c (config_log_write_entry): Make sure to write log
	when socket_owner not set
2001-07-30 13:43:33 +00:00
Bradford Hovinen
a817c23277 Close the socket if we couldn't load the log entry (config_log_destroy):
2001-07-30  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c (socket_data_cb): Close the socket if we couldn't
	load the log entry
	(config_log_destroy):
	(config_log_open): Disable socket sync system
2001-07-30 13:23:57 +00:00
Bradford Hovinen (Gdict maintainer)
2087f846f0 Removed efence bootstrap 2001-07-27 22:23:44 +00:00
Bradford Hovinen
d9f17ec8c3 Don't unref the event source or the property bag
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-27 22:21:38 +00:00
Bradford Hovinen
33b3809115 1.5.2
2001-07-27  Bradford Hovinen  <hovinen@ximian.com>

	* RELEASE : 1.5.2
2001-07-27 16:02:08 +00:00
Bradford Hovinen
4937798114 Remove IMLIB check (GNOMECC_CAPPLETS_DESKTOP_IN_RULE): Add sed expression
2001-07-25  Bradford Hovinen  <hovinen@ximian.com>

	* configure.in: Remove IMLIB check
	(GNOMECC_CAPPLETS_DESKTOP_IN_RULE): Add sed expression to cover
	macro DESKTOP_EXEC_LINE
	(LIBCOMMON_DIR): Add option --enable-bonobo-conf

	* all: Added support for optionally compiling without bonobo-conf enabled
2001-07-25 17:26:17 +00:00
Richard Hestilow
ed25d779db Do sanity checking on the rollback ID we get.
2001-07-24  Richard Hestilow  <hestilow@ximian.com>

	* bonobo-config-archiver.c (pb_set_fn): Do sanity checking on
	the rollback ID we get.
2001-07-25 06:00:49 +00:00
Richard Hestilow
fa088b6d63 Ok, bad fix. Move that to the archiver.
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-25 05:25:13 +00:00
Richard Hestilow
17cd2c6e79 Fix date parsing to work with DST.
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-25 02:58:40 +00:00