2004-03-05 Jeffrey Stedfast <fejj@ximian.com>
* em-format-html-display.c (em_format_html_display_search): Don't
set our parent window as the efhd, ehfd isn't even a widget.
Fixes bug #54030
* em-format-html-display.c (efhd_search_response): Reset the
searching tokeniser on Cancel.
* e-searching-tokenizer.c (e_searching_tokenizer_reset): New
function to reset a search tokeniser.
svn path=/trunk/; revision=24977
2004-03-05 Jeffrey Stedfast <fejj@ximian.com>
Fixes bug #55202
* e-msg-composer.c (add_recipients): No longer takes a decode
argument (handle_mailto is the only function that calls it, and
the decode value always has to be TRUE for mailto).
(handle_mailto): Updated.
svn path=/trunk/; revision=24975
2004-03-05 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/alarm-notify.c (alarm_notify_init): set a GConf
listener callback to list for changes in selected calendars.
(alarm_notify_finalize): remove the GConf notification listener.
(conf_changed_cb): callback to react on configuration changes. Process
the new selected calendars and remove the unselected ones.
(process_removal_in_hash): callback to remove unselected calendars.
svn path=/trunk/; revision=24973
2004-03-05 Not Zed <NotZed@Ximian.com>
** See bug #55096.
* importers/evolution-mbox-importer.c (process_item_fn): hack,
unref when complete
* importers/evolution-outlook-importer.c (outlook_importer_new):
init status lock.
(process_item_fn): hack, unref ourselves when we're complete. i
think the shell leaks the ref.
svn path=/trunk/; revision=24972
2004-03-04 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-view.c (emfv_popup): If event == NULL, don't try to
use event->key.time
* em-migrate.c (upgrade_vfolder_sources_1_4): New function to
upgrade vfolder sources.
(em_upgrade_xml_1_4): If the doc is vfolders.xml, upgrade the
sources nodes.
svn path=/trunk/; revision=24971
2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
Fixes#50294
* gui/e-tasks.c (setup_widgets): connect to "model_rows_deleted" signal
on the ETable's model.
(model_rows_deleted_cb): callback for clearing the preview widget when
the currently selected task is removed.
svn path=/trunk/; revision=24969
2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
* gui/calendar-commands.c (calendar_control_sensitize_calendar_commands):
set the sensitivity correctly, depending on whether the command applied
to the currently selected event or the default client.
(calendar_control_activate): make sure we start with the menu items
correctly enabled/disabled.
svn path=/trunk/; revision=24968
2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
Fixes#53496
* gui/dialogs/cal-prefs-dialog.glade: set the same spacing for all
tabs in the notebook.
svn path=/trunk/; revision=24966
2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
* gui/dialogs/comp-editor.c (comp_editor_append_page): always add
the page.
* gui/dialogs/event-page.c (event_page_fill_widgets): continue filling
up all other fields even if there are missing ones, and return the
validation result.
svn path=/trunk/; revision=24965
2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
* gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog):
don't make the dialog window sticky, the icon on the system tray
already shows in all workspaces.
svn path=/trunk/; revision=24963
2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
Fixes#54028
* gui/alarm-notify/alarm-queue.c (query_objects_changed_cb): fixed the
time range for the alarm query, to include the end of today.
svn path=/trunk/; revision=24961
2004-03-04 Rodrigo Moya <rodrigo@ximian.com>
Fixes#53137
* gui/dialogs/comp-editor-page.[ch]: made fill_widgets virtual
method return a gboolean.
(comp_editor_page_fill_widgets): return value from virtual method
implementation.
* gui/dialogs/event-page.c (event_page_fill_widgets):
* gui/dialogs/meeting-page.c (meeting_page_fill_widgets):
* gui/dialogs/recurrence-page.c (recurrence_page_fill_widgets):
* gui/dialogs/schedule-page.c (schedule_page_fill_widgets):
* gui/dialogs/task-details-page.c (task_details_page_fill_widgets):
* gui/dialogs/task-page.c (task_page_fill_widgets):
* gui/dialogs/alarm-page.c (alarm_page_fill_widgets): return value,
as expected from the virtual method signature.
* gui/dialogs/comp-editor.c (comp_editor_append_page): dont add the
page if there was an error calling the fill_widgets method.
svn path=/trunk/; revision=24960
2004-02-27 Bruce Tao <bruce.tao@sun.com>
* e-msg-composer-attachment-bar.c: add a key-press event handler,
with which a little modification to Paolo Borelli's patch.
<pborelli@katamail.com> When one attachment is deleted, the
icon right after the last deleted one will be focused.
svn path=/trunk/; revision=24959
2004-03-04 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/addressbook-config.c :
(addressbook_add_server_druid) : maintain a list of only those source groups which are added to menu
instead of all
(source_group_changed_cb) : use the new list to get the selected group
(addressbook_source_dialog_destroy) : free the new list
svn path=/trunk/; revision=24958
2004-03-04 Not Zed <NotZed@Ximian.com>
** See #54991.
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_start_query): dont try to unref a null
query.
(name_style_query): use a GString to build the query, so we can
use e_sexp_encode_string to properly encode the sub terms.
svn path=/trunk/; revision=24957
2004-03-04 Not Zed <NotZed@Ximian.com>
** See bug #53355.
* providers/imap/camel-imap-folder.c (get_content): if the parent
isn't a message/rfc822 type, we don't want to get the section.TEXT
for multipart/signed, we just want to get section.
svn path=/trunk/; revision=24955
2004-03-03 Hans Petter Jansson <hpj@ximian.com>
* gui/component/addressbook-component.c (delete_addressbook_cb):
Set error to NULL before using it.
svn path=/trunk/; revision=24953
2004-03-03 Hans Petter Jansson <hpj@ximian.com>
* gui/component/addressbook-component.c (delete_addressbook_cb):
Remove local data, with error reporting on failure.
svn path=/trunk/; revision=24952
2004-03-03 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-model.c (e_cal_model_add_client): prevent from adding
the same client more than once.
svn path=/trunk/; revision=24951
2004-03-03 Rodrigo Moya <rodrigo@ximian.com>
* providers/groupwise/camel-gw-listener.c
(add_calendar_tasks_sources): use "Calendar" and "Checklist" for the
folder names, instead of "Default".
(remove_calendar_tasks_sources): remove the correct folder.
svn path=/trunk/; revision=24949
2004-03-03 Not Zed <NotZed@Ximian.com>
** See bug #53738.
* mail-ops.c (fetch_mail_fetch): if we've been cancelled, uncancel
so syncing can work. and always sync the folder (with expunge if
deleting).
svn path=/trunk/; revision=24948
2004-03-03 Not Zed <NotZed@Ximian.com>
** See bug #54924.
* em-utils.c (em_utils_selection_set_urilist): Try to get the drop
filename from the message subject, or folder name.
(em_utils_empty_trash): kill warning.
svn path=/trunk/; revision=24946
2004-03-03 Not Zed <NotZed@Ximian.com>
** See bug #54121.
* mail-component.c (impl_requestCreateItem)
(emc_new_folder_response): Hack in a nastish implementation of
create folder for the new menu.
(impl__get_userCreatableItems): add 'new mail folder' to new
button.
svn path=/trunk/; revision=24945
2004-03-03 Not Zed <NotZed@Ximian.com>
* em-inline-filter.c (emif_scan):
* em-folder-tree-model.c (em_folder_tree_model_set_folder_info):
if we have the folder opened already, and its the outbox, then use
the total count instead of unread count. Bit of hack, but copies
mail-folder-cache stuff.
* mail-component.c (mc_add_store): renamed from
mail_component_add_store, internal call. Added a done callback.
(mc_add_local_store): renamed from mc_add_store, callback for
local store.
(mail_component_add_store): call mc_add_store to do the work.
(mc_add_local_store_done): ugh, the target of all this shit - note
all the default folders now they should be setup.
* mail-folder-cache.c (mail_note_folder): clean up the logic a
bit. was gonna do osmething else but it didn't work.
2004-03-02 Not Zed <NotZed@Ximian.com>
* mail-send-recv.c (mail_send): if we're already sending, up the
again count to tell it we need to re-send again.
(receive_done): if we've been asked to run a send again while we
were already running it, run it again to make sure we didn't miss
any new messages. See bug #46839.
* em-mailer-prefs.c (em_mailer_prefs_construct): update
check_incoming_imap changes for merge conflicts.
(settings_changed): i have no idea what these changes jeff did do,
but check_incoming_imap is no longer needed, so i've deleted most
of it.
2004-02-27 Not Zed <NotZed@Ximian.com>
* em-format.c (emf_multipart_encrypted, emf_multipart_signed): If
validation fails, display as multipart/mixed rather than unkown
attachment type, and make the error a little clearer that its an
error. See #52939.
2004-02-26 Not Zed <NotZed@Ximian.com>
* message-list.c (regen_list_regened): NOOP if the folder has
changed.
* mail-session.c (mail_session_check_junk_notify): remove
check_incoming_imap test.
(mail_session_init): "
* evolution-mail.schemas.in.in: Remove check_incoming_imap option.
* mail-config.glade: Remove check incoming imap checkbox.
* em-mailer-prefs.c (em_mailer_prefs_construct): remove
check_incoming_imap test.
(em_mailer_prefs_apply): "
(settings_changed): "
svn path=/trunk/; revision=24944
2004-03-03 Not Zed <NotZed@Ximian.com>
* camel-stream-filter.c (do_write, do_write): fun dun diddley un
fun. Since we're writing a const buffer, we need to copy it
first. See #54937.
2004-02-27 Not Zed <NotZed@Ximian.com>
** See bug #54755.
* camel-vtrash-folder.c (vtrash_append_message)
(vtrash_transfer_messages_to): error/fail out if the user tries to
copy messages to the trash.
(vtrash_transfer_messages_to): use the destination bit not the
source bit for moving messages to a vtrash folder.
* camel-gpg-context.c (gpg_ctx_parse_status): ignore NODATA
response, otherwise we abort in a meaningless way. See #52939.
* providers/imap/camel-imap-utils.c: use g_ascii_str[n]casecmp
everywhere.
* providers/imap/camel-imap-utils.c (imap_body_decode): fix the
sense of the nil check for the subtype of a mutlipart. See
#53355.
2004-02-26 Not Zed <NotZed@Ximian.com>
* camel-session.c (camel_session_check_junk_for_imap)
(camel_session_set_check_junk_for_imap): removed.
* providers/imap/camel-imap-provider.c: Add filter_junk and
filter_junk_inbox options to the receive option page.
* providers/imap/camel-imap-store.c (imap_setv, imap_getv): handle
FILTER_JUNK and FILTER_JUNK_INBOX parameters.
(imap_setv): conver to switch rather than if statement.
(construct): handle url args for filter_junk and
filter_junk_inbox.
* providers/imap/camel-imap-folder.c (camel_imap_folder_new): Set
the folder's flags based on the stores junk settings.
(imap_update_summary): remove the test for
session_check_junk_for_imap, its handled per-store now.
* camel-folder.c (folder_changed): only check for FILTER_RECENT or
FILTER_JUNK to see if we need to do filtering.
* camel-folder.h (CAMEL_FOLDER_FILTER_JUNK): renamed from
CAMEL_FOLDER_SUPRESS_JUNK_TEST (and obviously inverted logic).
svn path=/trunk/; revision=24942
2004-02-27 Not Zed <NotZed@Ximian.com>
** See Bug #37329.
* e-mktemp.c (get_dir): setup a comjpile time option for storing
in the homedir, and also just use the uid as the key for a /tmp
dir option.
(e_mktemp_cleanup): removed entirely.
(e_mkstemp, e_mkdtemp, e_mktemp): dont save the file/dirname in a
list anymore.
(expire_dir_rec): expire old temp data from previous runs/old data
lying around. Based on access time.
(get_dir): run an expirey every now and then.
svn path=/trunk/; revision=24941
2004-03-02 Rodrigo Moya <rodrigo@ximian.com>
* gui/cal-search-bar.c: added support for searching the location
field also.
(regen_query): take into account the new search field.
svn path=/trunk/; revision=24940
2004-03-02 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-mbox-summary.c
(mbox_summary_encode_x_evolution): Overrides the parent method. We
don't want to encode user flags/tags or the size of the header
will change and force a complete rewrite of the mbox file.
svn path=/trunk/; revision=24937
* configure.in (DATASERVER_API_VERSION): Define this (the number
used in the e-d-s component repo_ids).
* tools/killev.c (main): Update the repo_ids
svn path=/trunk/; revision=24932
2004-03-02 Larry Ewing <lewing@ximian.com>
* gui/calendar-component.c: add untested start of dnd support for
source selector.
svn path=/trunk/; revision=24931
2004-03-02 Larry Ewing <lewing@ximian.com>
* gui/component/addressbook-component.c: add drop support for
text/x-vcard to the source list.
svn path=/trunk/; revision=24930
2004-03-01 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-selector.c (em_folder_selector_construct): Connect to
the folder-activated signal.
(folder_activated_cb): Call gtk_dialog_response() with
GTK_RESPONSE_OK. Fixes bug #54793.
* em-folder-tree.c (emft_tree_row_activated): New callback to emit
the "folder-activated" signal which is needed to fix bug #54793.
(emft_tree_button_press): Handle button1 double-clicks too (also
for bug #54793).
(emft_tree_button_press): On right-click, we also want to select
the folder the user right-clicked on. Fixes bug #54772.
svn path=/trunk/; revision=24928
2004-03-01 Rodrigo Moya <rodrigo@ximian.com>
* gui/itip-utils.c (comp_server_send): pass the user list and
returned icalcomponent to e_cal_send_objects().
svn path=/trunk/; revision=24926