2008-01-07 Milan Crha <mcrha@redhat.com>
** Fix for bug #300336
* plugins/groupwise-features/share-folder-common.c: (users_dialog_response):
Ensure vfolder is running.
* mail/mail-vfolder.h: (vfolder_loaded):
* mail/mail-vfolder.c: (vfolder_loaded): New helper function.
* mail/em-folder-utils.c: (emfu_popup_new_folder_response):
* mail/mail-vfolder.c: (vfolder_gui_add_rule),
(vfolder_gui_add_from_message), (vfolder_gui_add_from_address):
* mail/em-folder-browser.c: (emfb_search_menu_activated):
* mail/em-folder-view.c: (emp_uri_popup_vfolder_sender),
(emp_uri_popup_vfolder_recipient), (vfolder_type_current):
Ensure vfolder is running.
* mail/mail-component.c: (mc_startup): Do not start vfolder when
disabled by option '/apps/evolution/mail/display/enable_vfolders'.
* mail/evolution-mail.schemas.in: Added schema for new option.
* mail/mail-config.glade:
* mail/em-mailer-prefs.h:
* mail/em-mailer-prefs.c: Added checkbox for "Enable Search Folders" option.
Note: if your schema failed to install, then the search folders will be hidden. Enable by hand then.
svn path=/trunk/; revision=34775
M addressbook/gui/component/addressbook-view.c
M addressbook/ChangeLog
AM data/icons/hicolor_actions_16x16_mail-move.png
AM data/icons/hicolor_actions_16x16_mail-copy.png
AM data/icons/hicolor_actions_16x16_folder-move.png
M data/icons/Makefile.am
AM data/icons/hicolor_actions_16x16_folder-copy.png
M mail/em-folder-browser.c
M mail/ChangeLog
M mail/em-folder-tree.c
M mail/em-folder-view.c
M mail/message-list.c
M composer/ChangeLog
M composer/e-msg-composer.c
M ChangeLog
M calendar/gui/dialogs/comp-editor.c
M calendar/ChangeLog
svn path=/trunk/; revision=34769
2008-01-02 Milan Crha <mcrha@redhat.com>
** Fix for bug #317823
* em-format-html-display.c: (efhd_get_uri_puri):
New helper function to dig up uri or puri from the GtkHtml.
If the object is an image, then pass it as puri or uri, depends
on the source of the image.
* em-format-html-display.c: (efhd_html_button_press_event),
(em_format_html_display_popup_menu): Using new helper function.
Note: New API functions in gtkhtml are required.
svn path=/trunk/; revision=34750
2008-01-02 Srinivasa Ragavan <sragavan@novell.com>
* em-event.c: (eme_target_free):
* em-event.h:
* em-folder-tree-model.c: (em_folder_tree_model_get_folder_name):
* em-folder-tree-model.h:
* mail-folder-cache.c: (real_flush_updates): Send the folder name
along with the new mail event.
svn path=/trunk/; revision=34744
2007-12-20 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #362638
* calendar/gui/alarm-notify/alarm-notify.c:
* calendar/gui/alarm-notify/alarm-notify.h:
* calendar/gui/alarm-notify/alarm-queue.c:
Rewrite message passing to use GThreadPool instead of EThread.
* mail/mail-mt.h:
Overhaul the message passing API:
- Define a MailMsg type as the base message struct.
- Define types for the various callback functions.
- Add a priority value to each message (not yet used).
- Add a reference count to each message.
- Define a MailMsgInfo type for the virtual function table.
- Record the size of message sub-types in MailMsgInfo.
- New/changed functions:
mail_msg_new() - Easier to use.
mail_msg_ref() - Increase reference count.
mail_msg_unref() - Decrease reference count.
mail_msg_main_loop_push() }
mail_msg_unordered_push() } Submit MailMsgs to various
mail_msg_fast_ordered_push() } message-processing threads.
mail_msg_slow_ordered_push() }
* mail/mail-mt.c (mail_msg_new):
Use GSlice for memory allocation.
* mail/mail-mt.c (mail_msg_ref), (mail_msg_unref):
New functions increment/decrement a MailMsg's reference count.
* mail/mail-mt.c (mail_cancel_hood_add), (mail_cancel_hook_remove):
Convert the 'cancel_hook_list' from an EDList to a GHookList and
modify the API accordingly.
* mail/mail-mt.c:
Use GThreadPools instead of EThreads.
Use GAsyncQueues instead of EMsgPorts.
* mail/em-composer-utils.c:
* mail/em-folder-browser.c:
* mail/em-folder-properties.c:
* mail/em-folder-tree.c:
* mail/em-folder-utils.c:
* mail/em-folder-view.c:
* mail/em-format-html-print.c:
* mail/em-format-html.c:
* mail/em-subscribe-editor.c:
* mail/em-sync-stream.c:
* mail/importers/elm-importer.c:
* mail/importers/mail-importer.c:
* mail/importers/pine-importer.c:
* mail/mail-component.c:
* mail/mail-folder-cache.c:
* mail/mail-mt.c:
* mail/mail-ops.c:
* mail/mail-ops.h:
* mail/mail-send-recv.c:
* mail/mail-session.c:
* mail/mail-vfolder.c:
* mail/message-list.c:
* plugins/folder-unsubscribe/folder-unsubscribe.c:
* plugins/groupwise-features/share-folder-common.c:
* plugins/exchange-operations/exchange-folder.c:
* plugins/mark-all-read/mark-all-read.c:
* plugins/mailing-list-actions/mailing-list-actions.c:
* plugins/itip-formatter/itip-formatter.c:
* plugins/save-attachments/save-attachments.c:
Use the new MailMsg API for messages.
svn path=/trunk/; revision=34730
2007-12-14 Milan Crha <mcrha@redhat.com>
** Fix for bug #211353
* message-list.etspec:
* message-list.h:
* message-list.c: Added new column to show labels.
* filtertypes.xml:
* vfoldertypes.xml:
Code for label filters/search folders has been changed.
* mail-config.glade:
* em-folder-view.c: (emfv_set_label), (emfv_unset_label),
(emfv_popup_label_clear), (emfv_popup_label_set),
(emfv_popup_labels_get_state_for_tag), (emfv_popup):
Labels popup submenu is now shown with checkboxes so one can set
more than one label to the message and unset only one label from
message. There has been added new function, because of this.
* mail-config.h:
* mail-config.c: New "interface" functions to work with labels.
* em-mailer-prefs.h:
* em-mailer-prefs.c: Editing labels in tree.
* em-folder-browser.c:
Labels in show menu reflect changes in preferences.
2007-12-14 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #211353
* filter-label.c: Use global label's setup, not its own copy.
2007-12-14 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #211353
* e-popup.h:
* e-popup.c: (ep_build_tree):
Toggles can be in inconsistent state now, and can also contain
an image, which is a pointer to GtkImage widget.
2007-12-14 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #211353
* e-search-bar.c: (e_search_bar_get_viewitem_id):
Return -1 if no viewmenu is setup yet.
svn path=/trunk/; revision=34715
2007-12-15 Matthew Barnes <mbarnes@redhat.com>
* configure.in:
* plugins/mail-remote:
Just remove the mail-remote plugin altogether so we stop going
back and forth over whether the translatable files should be added
to POTFILES.in. We can always add it back once we get it working
again.
* po/POTFILES.in:
Remove the mail-remote files for good this time.
* mail/em-folder-tree-model.c (emft_model_unread_count_changed),
(emfolder_tree_model_set_unread_count):
Fix recently introduced compiler warnings.
* plugins/mail-remote:
Remove this plugin until it can be fixed.
* ui/evolution.xml:
Fix capitalization of "Download Messages..." (HIG 8.3.2).
svn path=/trunk/; revision=34706
2007-12-14 Sankar P <psankar@novell.com>
* em-folder-tree-model.c: (emft_model_unread_count_changed),
(em_folder_tree_model_init),
(em_folder_tree_model_set_unread_count):
* em-folder-tree.c: (em_folder_tree_construct):
Moving some code from tree to model where it belongs.
Fixes some CPU usage issue whenever (un)read count is updated.
Hopefully no regresssions.
svn path=/trunk/; revision=34698
2007-12-11 Milan Crha <mcrha@redhat.com>
** Fix for bug #502318
* em-format-html-display.c: (struct _EMFormatHTMLDisplayPrivate),
(efhd_search_destroy), (em_format_html_get_search_dialog),
(em_format_html_display_search), (em_format_html_display_search_with),
(em_format_html_display_search_close), (efhd_complete):
Track search dialog activity rather based on flag than on widget
existence, because the pointer to that widget it still
there (non-NULL) even after destroy of that widget.
svn path=/trunk/; revision=34689
2007-12-11 Milan Crha <mcrha@redhat.com>
** Fix for bug #336074
* mail-send-recv.c: (get_folders):
Determine whether refresh folder from the store based on result of new
store's function 'camel_store_can_refresh_folder'.
Note: Be sure you updated evolution-data-server (revision 8288) and evolution-exchange too
svn path=/trunk/; revision=34688
2007-12-10 Jeff Cai <jeff.cai@sun.com>
* em-folder-view.c: (emfv_setting_notify):
If it is not FolderBrowser object, the pane size
signal is not sent.
Fix#501677
svn path=/trunk/; revision=34681
2007-12-07 Denis Washington <denisw@svn.gnome.org>
** Fix for bug #500561
* em-folder-browser.c: Added icon for mark all messages as read menu
item.
--This
M mail/em-folder-browser.c
M mail/ChangeLog
M ui/ChangeLog
M ui/evolution-mail-list.xml
svn path=/trunk/; revision=34665
2007-12-06 Milan Crha <mcrha@redhat.com>
** Fix for bug #263236
* em-folder-view.c: (emfv_delete_msg_response):
Look for "Do not ask me again" check in alignment, so
let it works properly.
svn path=/trunk/; revision=34660
2007-12-04 David Turner <cillian64@googlemail.com>
** Part of fix for bug #466499
* em-account-editor.c: (emae_option_toggle):
Added support for mnemonics in config options from camel
svn path=/trunk/; revision=34645
2007-12-04 David Turner <cillian64@googlemail.com>
** Fix for bug #466497
* mail-config.glade: Changed some mnemonics to stop l being used
as a mnemonic key
svn path=/trunk/; revision=34644
2007-12-04 David Turner <cillian64@googlemail.com>
** Fix for bug #466241
* plugins/exchange-operations/exchange-account-setup.c: (org_gnome_exchange_auth_section):
Added a mnemonic to the Authentication Type label/dropdown
* mail/mail-config.glade: Added a mnemonic to "Authentication type"
in the recieving mail section of configuration
svn path=/trunk/; revision=34643
2007-12-03 Denis Washington <denisw@svn.gnome.org>
** Fix for bug #363644
* mail-send-recv.c:
Added a 6px padding around the scrolled window so that
it's border doesn't look like a separator on the bottom.
svn path=/trunk/; revision=34630
2007-11-29 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #271551
* mail/evolution-mail.schemas.in:
New key "/apps/evolution/mail/composer/current_folder".
* composer/e-msg-composer.h: (e_msg_composer_set_attach_path),
(e_msg_composer_get_attach_path):
* composer/e-msg-composer.c: (e_msg_composer_set_attach_path),
(e_msg_composer_get_attach_path):
Functions to set/get attach path to both composer and editor.
* composer/e-msg-composer.c: (prepare_engine):
Set last used path right after creation of the engine.
* composer/e-msg-composer-select-file.c: (get_selector), (select_file_response),
(select_attach_response): Using new functions.
* composer/listener.c: (impl_event): Store new file path when received event
about its change.
* composer/e-msg-composer.c: (set_signature_gui): Leak fix.
Note: update your GtkHtml to revision 8636 and above.
svn path=/trunk/; revision=34613
2007-11-28 Matthew Barnes <mbarnes@redhat.com>
* mail/mail-session.c:
Fix an implicit function declaration caused by my last commit.
svn path=/trunk/; revision=34608
2007-11-27 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #495123
* composer/Makefile.am:
Add a bunch of files for managing composer headers.
* composer/e-msg-composer.c (build_message), (from_changed_cb),
(set_editor_signature), (e_msg_composer_set_body),
(e_msg_composer_get_preferred_account):
* plugins/exchange-operations/exchange-mail-send-options.c
(append_to_header):
Use e_msg_composer_hdrs_get_from_account() to obtain the EAccount.
* composer/e-msg-composer-hdrs.c:
* composer/e-msg-composer-hdrs.h:
Massive refactoring to use new EComposerHeader classes.
* composer/e-composer-header.c:
* composer/e-composer-header.h:
* composer/e-composer-from-header.c:
* composer/e-composer-from-header.h:
* composer/e-composer-name-header.c:
* composer/e-composer-name-header.h:
* composer/e-composer-post-header.c:
* composer/e-composer-post-header.h:
* composer/e-composer-text-header.c:
* composer/e-composer-text-header.h:
New GObject classes manage different types of composer headers.
See bug #495123 for a more detailed description of each class.
* mail/mail-session.c (mail_session_init):
Pass the CamelSession to the EAccountComboBox class (ugly hack).
* widgets/misc/Makefile.am:
Add e-account-combo-box.[ch].
* widgets/misc/e-account-combo-box.c:
* widgets/misc/e-account-combo-box.h:
New widget renders an EAccountList as a combo box. Also listens
for changes to the EAccountList and updates itself accordingly.
svn path=/trunk/; revision=34600
2007-11-26 Nicholas Miell <nmiell@gmail.com>
** Fix for bug #216485
Edit->Select thread menu fix and improvement.
* mail/em-folder-browser.c: (emfb_edit_select_subthread): new function,
(emfb_enable_map, emfb_verbs) hook it up
* mail/message-list.c: (select_thread): new function based on
thread_select_foreach, (thread_select_foreach): remove the logic
now in select_thread, (message_list_select_thread): use
select_thread, (subthread_select_foreach): new function,
(message_list_select_subthread): new function
* mail/message-list.h: (message_list_select_subthread): add prototype
* ui/evolution-mail-list.xml
Add Select Message Subthread
svn path=/trunk/; revision=34585
2007-11-23 Milan Crha <mcrha@redhat.com>
** Fix for bug #494414
* em-folder-selection-button.c: (set_contents): If used uri points
to an account, then prepend account's name to folder name.
svn path=/trunk/; revision=34574
2007-11-23 Milan Crha <mcrha@redhat.com>
** Fix for bug #494425
* em-utils.c: (get_unique_file_names):
New helper function to "assign" unique file name to each part.
* em-utils.c: (em_utils_save_parts): Use new helper function.
svn path=/trunk/; revision=34568
2007-11-23 Milan Crha <mcrha@redhat.com>
** Fix for bug #335931
* message-list.c: (struct _regen_list_msg): New member last_row.
* message-list.c: (regen_list_regen): Store last_row for later use.
* message-list.c: (regen_list_regened): Restore row based on last_row
when no uid was selected before.
* message-list.c: (mail_regen_list): Init new last_row member.
* em-folder-view.c: (emfv_select_next_message): New helper function
to select messages in list.
* em-folder-view.c: (emfv_popup_mark_junk), (emfv_popup_mark_nojunk),
(emfv_popup_delete): Using new helper function, so get same behavior.
* message-list.h: (struct _MessageList):
* message-list.c: (on_cursor_activated_cmd): Removed cursor_row member.
svn path=/trunk/; revision=34567
2007-11-22 Milan Crha <mcrha@redhat.com>
** Fix for bug #498551
* em-folder-tree.c: (emft_get_folder_info__got):
Remove placeholder node even for store if no children found.
svn path=/trunk/; revision=34563
2007-11-20 Milan Crha <mcrha@redhat.com>
** Fix for bug #480514
* em-folder-browser.c: (get_view_query),
(emfb_search_search_activated): Let work "Last 5 Days' Messages" and
"Recent messages" filters in Sent folder too.
svn path=/trunk/; revision=34556
2007-11-20 Milan Crha <mcrha@redhat.com>
** Fix for bug #493783
* em-format-html.c: (efh_format_timeout): Do not erase old content
when re-formatting same mail, so keep scroll position.
svn path=/trunk/; revision=34554