2001-06-21 Havoc Pennington <hp@redhat.com>
* configure.in: switch to using pkg-config to find things
* capplets/*/Makefile.am: clean up crufty flags, adapt to
configure.in changes
2001-06-21 Bradford Hovinen <hovinen@ximian.com>
* capplets/new-*/main.c (main): Abort if prefs structure is NULL
when editing outside the current location. Fixes crash when bad
XML data are supplied.
2001-06-21 Bradford Hovinen <hovinen@ximian.com>
* config-log.c (dump_log): Don't call close on fd
(dump_log): Use g_critical on error conditions rather than g_warning
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
(do_load): Don't call reset_filenames
* archive.c, Makefile.am: Replace all instances of ximian-config
with ximian-setup-tools
* config-log.c (slave_new): Don't apprise slave of new data
(config_log_write_entry): Dump log after every write
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 Richard Hestilow <hestilow@ximian.com>
* capplets/new-background-properties/applicer.c
(get_geometry): Handle properly the case where centered/tiled
image is larger than the screen/preview.
2001-06-20 Bradford Hovinen <hovinen@ximian.com>
* capplets/new-background-properties/applier.c
(is_nautilus_running): Fixed nitems check
(set_root_pixmap): Passing -1 makes the function just set the
pixmap to what it was
2001-06-20 Bradford Hovinen <hovinen@ximian.com>
* config-log.c (slave_new): Don't apprise slave of new data
(config_log_write_entry): Dump log after every write
2001-06-19 Bradford Hovinen <hovinen@ximian.com>
* archive.c (archive_set_current_location): Free the location path
as we walk down it.
(create_backends_list): Implement
(merge_backend_lists): Implement
(archive_set_current_location): Call above functions
(create_backends_list): Get rid of dummy first element
(archive_set_current_location): Don't use backends->next when
calling rollback_backends_to
* location.c (run_backend_proc): Remember to close the writing end
(location_store): Change g_error to g_critical
(run_backend_proc): Don't getenv PATH
(run_backend_proc): Make sure to close other end of pipe in child
process
2001-06-18 Bradford Hovinen <hovinen@ximian.com>
* location.c (location_store): Use GString API
* config-log.c (slave_data_cb): Don't use == to test IO conditions
2001-06-18 Bradford Hovinen <hovinen@ximian.com>
* capplets/new-*/main.c (do_set_xml): Use read () rather than
fread () to make sure to catch end-of-file. Gracefully handle
no-data case.
2001-06-12 Bradford Hovinen <hovinen@ximian.com>
* capplets/new-mouse-properties/main.c (ok_cb):
(cancel_cb): Add #ifdef HAVE_XIMIAN_ARCHIVER around some parts
missing it
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-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-22 JP Rosevear <jpr@ximian.com>
* config-log.c (bind_socket): use AF_UNIX for the family
* location.c (run_backend_proc): use putenv() rather than setenv()
for solaris
* config-log.c: define the SUN_LEN macro for those systems not
having it
(connect_socket): use the more portable domain type, PF_LOCAL
seems to map to PF_UNIX on linux anyhow
2001-05-22 JP Rosevear <jpr@ximian>
* e-search-bar/Makefile.am: include gal cflags
2001-05-13 Chema Celorio <chema@celorio.com>
* all .c files : replace "global.h" with "xst.h"
2001-05-12 Chema Celorio <chema@celorio.com>
* location.c (location_store_xml): add a carriage return after the
warning message
2001-05-13 Chema Celorio <chema@celorio.com>
* internetsharing.glade.in: remove the range entry
2001-05-13 Chema Celorio <chema@celorio.com>
* xst-tool.h (XST_TOOL_MAKE_TYPE): add a macro that will reduce
the boilerplate when we subclass an XstTool.
* xst-dialog.c (xst_dialog_set_widget_policies): use
widget_new function, don't append the widget to the
slist here
(xst_dialog_set_widget_user_modes): use widget_new_full
* xst-widget.h: upd the header
* xst-widget.c (xst_widget_new): reame to widget_new_full
(xst_widget_new): implement a widget_new which takes only 2
parameters an XstDialog and a XstWidgetPolicy. We prepend
to the dialog->xst_widget_list inside the function and not
in the caller.
* Makefile.am (noinst_LIBRARIES): s/global.h/xst.h
2001-05-12 Chema Celorio <chema@celorio.com>
* global.h: rename to xst.h
* xst-xml.c: constify
(xst_xml_element_get_boolean): implement
* xst-xml.h: constify
2001-05-13 Chema Celorio <chema@celorio.com>
* main.c (main): clean and start working on the front end.
* callbacks.c:
* transfer.c:
* ishare.h : new file
2001-05-06 Bradford Hovinen <hovinen@ximian.com>
* preferences.c (preferences_clone): Implement. Create a copy of a
preferences structure
(clone_cb): Implement
(read_prefs_from_db): Parse screensavers from a copy of the string
so that we don't overwrite the original
* main.c (main): Call preferences_clone instead of reloading old
preferences
2001-05-05 Bradford Hovinen <hovinen@ximian.com>
* configure.in: Add check for libximian_archiver; try include
cflags and libs only if the archiver is present *
capplets/*/main.c: Add #ifdef's around anything that uses the
Ximian archiver so that the capplets can compile without it
2001-05-03 Bradford Hovinen <hovinen@ximian.com>
* location.c (location_store_xml): Support STORE_DEFAULT
(store_snapshot_cb): Use STORE_DEFAULT rather than STORE_MASK_PREVIOUS
* location.h (_StoreType): Add STORE_DEFAULT
* config-log.c (config_log_get_rollback_id_by_steps): Return the
current id if the node represents default data
* main.c (do_add_location): Cast correctly, fixing compiler
warning
2001-04-27 Bradford Hovinen <hovinen@ximian.com>
* capplets/wm-properties/wm-list.c (wm_read_from_xml): Make
desktop-entry an attribute rather than a child node
* capplets/*/main.c: Do not try to load preferences from XML if
there was not XML data
2001-04-26 Arturo Espinosa <arturo@ximian.com>
* location.c: changed g_critical to g_error. If a newer
version of glib is to be required, change configure.in then.
2001-04-24 Bradford Hovinen <hovinen@ximian.com>
* applier.c (applier_apply_prefs): Remove FIXME warning
(applier_apply_prefs): Disable wallpaper in new_prefs structure if
the wallpaper pixbuf is NULL and we are not loading a new pixbuf
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-24 Anna Marie Dirks <anna@ximian.com>
* capplets/interfaces/control-center.glade: This is the initial mockup of my reorganization of control center's menus; I'm committing it to garner input. This file includes separate menus for simple, intermediate and advanced modes; it does not include any graphics (yet).
2001-04-20 Bradford Hovinen <hovinen@ximian.com>
* config-log.c: Added InputBuffer, removed get_line
(struct _Slave):
(struct _ConfigLogPrivate ): Replaced GIOChannel * and FILE * with
InputBuffer *'s
(input_buffer_new): Implement. Constructs a new input buffer
(input_buffer_destroy): Implement. Destroys an input buffer and
closes the file descriptor
(input_buffer_cycle): Implement (borrowed from GDict). Reads
additional data from the input file
(input_buffer_read_line): Implement (borrowed from GDict). Reads a
line from the input file and returns a pointer to it
(input_buffer_write): Implement. Write the indicated string out to
the channel
2001-04-15 Bradford Hovinen <hovinen@ximian.com>
* config-log.c (config_log_set_arg): Create semaphore for
auto-reloading
(do_load): Removed locking code
(load_log_entry): Support prepending log entries to the beginning
of the log; free entry->date if parsing was unsuccessful
(config_log_reset_filenames): Unlink socket filename if not owner
(config_log_reset_filenames): Rebind socket when filename is reset
(connect_socket): Implement. Creates or connects to the socket
associated with the config log
(check_socket_filename): Implement. Checks to see if the filename
associated with the socket is in use.
(bind_socket): Implement. Binds the socket to the filename.
(socket_connect_cb): Implement. Callback issued when a master gets
a new connection.
(socket_data_cb): Implement. Callback issued when a slave gets
data from the master.
(slave_new): Implement. Creates a new slave structure
(slave_destroy): Implement. Destroys a slave structure
(slave_data_cb): Implement. Callback issued when data comes in
from a slave
(slave_broadcast_data): Implement. Broadcast the first log entry
to all the slaves except the given one
(disconnect_socket): Implement. Disconnects the socket
(config_log_open): Call connect_socket
(do_unload): Don't dump the log unless currently the socket owner
(config_log_write_entry): Broadcast data to slaves or write data
to socket, depending on whether currently the socket owner
2001-04-14 Bradford Hovinen <hovinen@ximian.com>
* config-log.c (do_unload): Add a parameter write_log to tell
whether to write out the log when unloading
(config_log_finalize): Implement
* config-log.[ch]: Put all data fields in ConfigLogPrivate
structure
* gui-backend-list.c (gui_backend_list_launch_current): Rewrite to
use popen