2001-10-27 JP Rosevear <jpr@ximian.com>
* conduits/todo/todo-conduit.c (local_record_from_comp): touch on
lookup
(check_for_slow_setting): write touched only if slow sync
(match): touch on lookup
* conduits/calendar/calendar-conduit.c (local_record_from_comp):
touch the record on lookup
(check_for_slow_setting): write touched only if slow sync
(pre_sync): don't touch on lookup
(match): touch on lookup
svn path=/trunk/; revision=14210
2001-10-27 JP Rosevear <jpr@ximian.com>
* conduit/address-conduit.c (local_record_from_ecard): touch the
record on lookup
(check_for_slow_setting): write touched only if we are doing a
slow sync
(card_removed): don't touch on lookup
(match): touch on lookup
svn path=/trunk/; revision=14209
2001-10-27 JP Rosevear <jpr@ximian.com>
* e-pilot-map.h: update proto
* e-pilot-map.c (e_pilot_map_lookup_pid): touch the nodes if
indicated and found
(e_pilot_map_lookup_uid): ditto
svn path=/trunk/; revision=14208
2001-10-26 <NotZed@Ximian.com>
* mail-local.c (mlf_set_folder): Changed to open the source store
from '/', so we can do renames across directories. Of course,
this doesn't quite work with different filesystems, but we'll
assume this isn't a problem we're going to have.
(mail_local_folder_get_type): Setup parent_class.
(mlf_rename): Implement folder rename call, rename internal data.
Is this a security issue? Well, not really, no more than anything
else.
* mail-folder-cache.c (mail_note_store): Listen to rename event.
(store_folder_renamed): Function to handle it, empty.
(mail_note_store_remove): Unhook from rename event.
(mail_note_folder): Hook onto renamed event.
(unset_folder_info): Unhook from renamed event.
(folder_finalised): Lock around update.
(folder_deleted): Lock around update.
(real_flush_updates): If we have a path to remove remove it.
(rename_folders): Scan folderinfo's, if we can find ones renamed,
rename them, otherwise add them.
* component-factory.c (owner_unset_cb): Use a timeout not an idle handler.
(storage_xfer_folder): Implementation of xfer_folder signal
handler, so we can rename imap/vfolders/etc.
svn path=/trunk/; revision=14205
2001-10-27 <NotZed@Ximian.com>
* providers/imap/camel-imap-store.c (rename_folder): Finished
implementation.
* providers/local/camel-local-folder.c (local_rename): Implement
local rename of folder objects.
2001-10-26 <NotZed@Ximian.com>
* camel-vee-folder.c (camel_vee_folder_class_init): Hook into
rename function.
(vee_rename): Implement the veefolder rename function.
(camel_vee_folder_class_init):
(folder_changed_change): Kill a warning with a cast.
* camel-vee-store.c (vee_rename_folder): Emit a folder_renamed
event properly, also call parent to do some rename stuff.
* camel-store.h: Added a CamelRenameInfo for the rename event.
* camel-folder.c (camel_folder_rename): New function to rename a
folder object.
(camel_folder_class_init): Added a renamed event.
(folder_rename): Default impl, set full_name, and set name
assuming the dir separator is '/'.
* camel-store.c (camel_store_class_init): Added folder_renamed
event.
(camel_store_rename_folder): Rename an active folder object if we
have one, and update the folder table.
(rename_folder): Make a default implementation that handles
updating the folder tree.
svn path=/trunk/; revision=14204
2001-10-27 Jon Trowbridge <trow@ximian.com>
* backend/pas/pas-book.c (pas_book_check_queue): Added paranoid
reentrancy guards.
(pas_book_queue_request): Changed our idle handler into a timeout,
so as to work w/ reentrancy guards.
(pas_book_init): Explicit initialization.
svn path=/trunk/; revision=14202
2001-10-26 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-store.c (delete_folder): Don't bother
checking ex since we can rely on the response being NULL on error.
(rename_folder): Implemented.
svn path=/trunk/; revision=14201
2001-10-26 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.h: add prototypes for
addressbook_config_database, and addressbook_load_default_book.
* gui/component/addressbook.c (addressbook_config_database): new
function, so we aren't activating the db everywhere we need to use
it.
(addressbook_load_default_book): load the default book, after
getting the uri from bonobo-config.
svn path=/trunk/; revision=14200
2001-10-26 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-book-util.c (simple_query_card_added_cb): Return
on cancellation.
(simple_query_sequence_complete_cb): Act if not cancelled.
(simple_query_book_view_cb): Free & return on cancellation.
(e_book_simple_query_cancel): Set cancellation flag.
* gui/component/e-address-popup.c (e_address_popup_query): Hold a
reference to ourselves for the duration of our addressbook fetch.
(start_query): Release when we've fetched our addressbook.
(e_address_popup_cleanup): Break out most of what we do in
_destroy into a separate function.
(e_address_popup_destroy): Class cleanup.
(contact_editor_cb): Paranoid clean-up.
(add_contacts_cb): Paranoid clean-up.
(e_address_popup_ambiguous_email_add): Paranoid clean-up.
svn path=/trunk/; revision=14199
2001-10-26 JP Rosevear <jpr@ximian.com>
* conduits/calendar/e-calendar.conduit.in: remove the merges as valid sync
types
* conduits/todo/e-todo.conduit.in: as above
* conduits/calendar/calendar-conduit.c (pre_sync): write out only the
touched records if we are doing copies
* conduits/todo/todo-conduit.c: as above
* conduits/calendar/calendar-conduit-config.h
(calconduit_load_configuration): get the sync type
* conduits/todo/todo-conduit-config.h: as above
svn path=/trunk/; revision=14198
2001-10-26 JP Rosevear <jpr@ximian.com>
* conduit/e-address.conduit.in: remove the merges as valid sync
types
* conduit/address-conduit.c (pre_sync): write out only the touched
records if we are doing copies
* conduit/address-conduit-config.h
(addrconduit_load_configuration): get the sync type
svn path=/trunk/; revision=14197
2001-10-26 JP Rosevear <jpr@ximian.com>
* e-pilot-map.c (real_e_pilot_map_insert): take an extra param on
whether to mark touched
(map_sax_start_element): use above
(e_pilot_map_insert): ditto
(e_pilot_map_write): pass in extra info to foreach call
(map_write_foreach): if we are in touched only mode, write out the
map only if its been touched
* e-pilot-map.h: add new member
svn path=/trunk/; revision=14196
2001-10-26 Kevin Breit <mrproper@ximian.com>
* C/usage-calendar.sgml: Lots of changes on recommendation from Damon Chaplin. We love you Damon!
svn path=/trunk/; revision=14189
2001-10-26 Damon Chaplin <damon@ximian.com>
* gui/e-itip-control.c (write_label_piece): convert the formatted
date to UTF-8.
* cal-util/cal-recur.c (CAL_OBJ_DEBUG): turn off debug functions.
* gui/dialogs/comp-editor-util.c (parse_contact_string): handle UTF8
correctly. Bug #4450. Good enough for 1.0.
* gui/e-week-view-event-item.c (e_week_view_draw_time): set the gc
color before drawing. Should fix bug #11469.
* gui/dialogs/task-editor.c (task_editor_edit_comp): show or hide the
meeting page as appropriate. Note this may be called more than once,
if the task gets updated somewhere else and the user clicks 'Update
the object'. Hopefully fixes bug #12930.
* gui/print.c (print_comp_item): printed more fields and made a little
prettier. Fixes bug #9352.
(print_date_label): used the correct timezones for each date field.
* *.c: removed several debug messages.
svn path=/trunk/; revision=14187
2001-10-26 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c (eti_cursor_activated): Chain the
cursor_activated signal even if the row is -1.
* e-tree.c (item_cursor_activated): Don't error out here if path
is NULL.
svn path=/trunk/; revision=14185
2001-10-26 Iain Holmes <iain@ximian.com>
* e-summary-rdf.c (open_callback): NULL the handle after a failed
open so the offline handler won't think they're still open.
(e_summary_rdf_set_online): Cancel all the open connections when the
summary goes offline.
* e-summary-weather.c (open_callback): NULL the handle after a failed
open so the offline handler won't think they're still open.
(e_summary_weather_set_online): Cancel all the open connections when the
summary goes offline.
* e-summary.c (e_summary_set_online): Call the callback if it's not
NULL.
svn path=/trunk/; revision=14183
* e-shell-offline-handler.c: New member `finished' in
`EShellOfflineHandlerPrivate'.
(finalize_offline): Ref the handler as we might get destroyed
while putting every component offline.
(impl_OfflineProgressListener_updateProgress): Don't emit
::offline_procedure_finished if ->finished is %TRUE. Also, set it
to %TRUE after emitting the signal.
(cancel_offline): Likewise.
(finalize_offline): Likewise.
(update_dialog_clist): Guard against NULL ->dialog_gui.
svn path=/trunk/; revision=14182
2001-10-26 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-folder.c (imap_get_message): Check to
make sure that the dataset is non-NULL before using and/or
freeing.
svn path=/trunk/; revision=14181
2001-10-26 Jeffrey Stedfast <fejj@ximian.com>
* camel-tcp-stream-raw.c (stream_write): Check for EWOULDBLOCK
too?
(stream_read): Same.
(stream_flush): Return 0 always, fsync() and tcp sockets don't
play nice :-)
* providers/imap/camel-imap-message-cache.c
(camel_imap_message_cache_get): Lets try putting a
camel_stream_reset() here. Logic being that the stream may have
been read from since it was cached and thus our caller may try
reading from it and get no data from it since it is already at the
EOS. This may fix bug #12943.
svn path=/trunk/; revision=14180
2001-10-26 Jeffrey Stedfast <fejj@ximian.com>
* camel-tcp-stream-raw.c (stream_write): Check for EWOULDBLOCK too?
(stream_read): Same.
* providers/imap/camel-imap-message-cache.c
(camel_imap_message_cache_get): Lets try putting a
camel_stream_reset() here. Logic being that the stream may have
been read from since it was cached and thus our caller may try
reading from it and get no data from it since it is already at the
EOS. This may fix bug #12943.
svn path=/trunk/; revision=14179
* evolution-storage.c (impl_Storage_async_xfer_folder): Implement.
(class_init): Add the signal "xfer_folder" signal.
* evolution-storage.h: New signal "xfer_folder".
svn path=/trunk/; revision=14177
* configure.in: Bump up to 0.15.99.5.
* gal/util/e-util.c
(e_marshal_INT__POINTER_POINTER_POINTER_POINTER_POINTER): pass
`args[4]' as the fourth argument instead of `args[3]' again.
(e_marshal_INT__POINTER_POINTER_POINTER_BOOL): New.
svn path=/trunk/; revision=14175
* e-corba-storage.c
(async_xfer_folder): New, implementation for the
::async_xfer_folder method.
(class_init): Install it.
svn path=/trunk/; revision=14173
* folder-browser.c (etree_key): Work around something that we
think is a GtkHTML bug, where sometimes the adjustments have
slightly bogus values and scrolling ends up working backwards.
(Ximian 4939)
* mail-display.c (do_signature, do_attachment_header): Set the
icon to be 24x24 here so that (assuming it's not a thumbnail), no
resizes will have to be queued later. (There's still a bug with
the text to the left of the button being drawn twice for some
reason though.)
* mail-callbacks.c (delete_msg): Fix a bug here that makes
deleting multiple messages cause a gratuitous message body fetch.
(Ximian 12355)
svn path=/trunk/; revision=14172
2001-10-26 Kevin Breit <mrproper@ximian.com>
* C/usage-contact.sgml: One more FIXME...done
* C/config-prefs.sgml: Fixed a definition, one less FIXME to deal with.
* C/usage-mail-org.sgml: Moved importing information here.
* C/usage-mail.sgml: Moved importing information to -org.sgml
* C/usage-mail-org.sgml: Added a note
svn path=/trunk/; revision=14171
2001-10-26 Christopher James Lahey <clahey@ximian.com>
* gal/e-text/e-text-test.c, gal/util/e-i18n.h,
gal/widgets/e-hsv-utils.c, gal/widgets/e-hsv-utils.h: Changed the
license announcement at the top of these files.
svn path=/trunk/; revision=14169
2001-10-26 Christopher James Lahey <clahey@ximian.com>
* e-cell-float.c, e-cell-float.h: Changed the license announcement
at the top of these files.
svn path=/trunk/; revision=14168
2001-10-26 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-message-cache.c
(camel_imap_message_cache_get): Lets try putting a
camel_stream_reset() here. Logic being that the stream may have
been read from since it was cached and thus our caller may try
reading from it and get no data from it since it is already at the
EOS. This may fix bug #12943.
svn path=/trunk/; revision=14165
2001-10-26 Kevin Breit <mrproper@ximian.com>
* C/usage-mail-org.sgml: Added a note
* C/usage-mainwindow.sgml: Added screenshot and labels of stuff for summary.
svn path=/trunk/; revision=14164