2008-12-29 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #565857
* mail/e-searching-tokenizer.c (searcher_next_token):
The HTMLTokenizer now expects a newly-allocated string from its
next_token() method, so duplicate the returned string. This fixes
a memory leak whereby previously, some implementations of next_token()
did return a newly-allocated string, some did not. Those that did
leaked those strings.
svn path=/trunk/; revision=36945
2008-12-22 Norman Wang <zhichao.wang@sun.com>
** Fix for bug #558337
* mail/em-subscribe-editor.c: Create a wrapper class MailMsgListNode of
_zsubscribe_msg message. The MailMsgListNode class is the subclass of
EDListNode class. So the _zsubscribe_msg can be added into the EDList.
svn path=/trunk/; revision=36922
2008-12-16 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #552583
* mail-config.c: (mail_config_get_account_by_source_url),
(mail_config_get_account_by_transport_url): Do not leak.
svn path=/trunk/; revision=36903
2008-12-15 Milan Crha <mcrha@redhat.com>
** Fix for bug #564007
* em-format.c: (emf_inlinepgp_encrypted): Guess the decrypted
part mime type if not known from the decryptor, thus show the
content really inline, if possible.
svn path=/trunk/; revision=36894
2008-12-15 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #563669
* mail/em-account-editor.c: (emae_option_checkspin):
* filter/filter-int.c: (get_widget):
* calendar/gui/dialogs/recurrence-page.c: (make_ending_count_special):
* calendar/conduits/todo/todo-conduit.c: (e_todo_gui_new):
Use zero GtkSpinButton's PageSize, as Gtk+ requires.
svn path=/trunk/; revision=36892
2008-12-13 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #564351 (patch by Tal Benavidor)
* mail/em-icon-stream.c:
Fix single-header include issue for GdkPixbuf.
svn path=/trunk/; revision=36874
2008-12-10 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #552357
* e-searching-tokenizer.c: (e_searching_tokenizer_begin):
Function prototype changed.
svn path=/trunk/; revision=36868
2008-12-10 Milan Crha <mcrha@redhat.com>
** Fix for bug #563870
* e-util/e-util-labels.h: (e_util_labels_get_filter_options):
* e-util/e-util-labels.c: (e_util_labels_get_filter_options):
New helper function to be used in FilterOption.
* filter/Makefile.am:
* filter/filter-label.h:
* filter/filter-label.c: Drop, not used anywhere.
* filter/filter-element.c:
* filter/rule-context.c: Remove dropped include and code.
* filter/filter-option.c: (get_dynamic_options), (xml_create), (get_widget):
Evaluate dynamic options even on create, to have them available for
saved searches even before the widget itself is shown.
* mail/vfoldertypes.xml:
* mail/filtertypes.xml:
* mail/searchtypes.xml: Use dynamic filter option.
* mail/message-list.c: Drop unused header include.
svn path=/trunk/; revision=36863
2008-12-09 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #552583
* mail-config.c: (mail_config_get_account_by_source_url),
(mail_config_get_account_by_transport_url): Extending Sankar's fix
of account checking logic a bit, to be more consistent.
svn path=/trunk/; revision=36859
2008-12-04 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #552583
* mail/mail-config.c (mail_config_get_account_by_source_url),
(mail_config_get_account_by_transport_url):
For the purpose of matching a URL to an EAccount, only compare
the protocol, user, host and port and disregard the rest.
svn path=/trunk/; revision=36832
2008-11-13 Bharath Acharya <abharath@novell.com>
* em-folder-view.c: (emfv_setting_notify):
* em-format-html.c: (efh_format_headers): Do not display the default
headers when all the headers are disabled in Mail preferences.
svn path=/trunk/; revision=36780
2008-11-12 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #524377
* configure.in: Bump eds minimum version to 2.25.2 because of
camel's int camel_header_param_encode_filenames_in_rfc_2047.
* mail/mail-config.glade:
* mail/evolution-mail.schemas.in:
* mail/em-composer-prefs.c: (em_composer_prefs_construct):
* mail/mail-config.c: (gconf_outlook_filenames_changed), (mail_config_init):
Declare, be able to change and listen to changes on new key,
'/apps/evolution/mail/composer/outlook_filenames' to encode file names
header in camel based on the RFC 2047, instead of the correct RFC 2231.
Note: Requires at least eds revision 9756.
svn path=/trunk/; revision=36779
2008-11-07 Matthew Barnes <mbarnes@redhat.com>
** Fix for bug #552583
* mail-config.c: (mail_config_get_account_by_source_url):
Instead of preserving the authmech attribute in the two URLs
being compared, strip the attributes out of both URLs and just do
a simple string comparison. We're just trying to match a URL to
an account here. The authentication method shouldn't be relevant.
svn path=/trunk/; revision=36758
2008-11-07 Bharath Acharya <abharath@novell.com>
** Fix for BNC bug #437226
Proper message is missing in mail sent by delegatee
* em-format-html.c (efh_format_headers): Regression caused by
r35319. Check for the condition only after the while loop.
svn path=/trunk/; revision=36750
2008-11-05 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #559371
* composer/e-msg-composer.c (e_load_spell_languages):
New function loads a list of GtkhtmlSpellLanguage structs from
GConf, taking care of details like converting language codes to
structs and ensuring the returned list is non-empty.
* composer/e-msg-composer.c (e_save_spell_languages):
New function saves a list of GtkhtmlSpellLanguage structs to
GConf, taking care of details like converting the structs to
language codes.
* composer/e-msg-composer.c (msg_composer_constructor):
* mail/em-composer-prefs.c (spell_language_save), (spell_setup):
Simplify the logic by using e_load_spell_languages() and
e_save_spell_languages().
svn path=/trunk/; revision=36743
2008-11-04 Milan Crha <mcrha@redhat.com>
** Fix for bug #386036
* vfoldertypes.xml:
* filtertypes.xml: Added new option "Sender or Recipients" which
filters on From/To/Cc/Bcc headers.
svn path=/trunk/; revision=36739
2008-11-03 Ashish Shrivastava <shashish@novell.com>
** Fix for bug #559086
* Most of the calendar errors are now non-intrusive
* calendar.error.xml: Added a new error message for
non-intrusive backend_died.
* apps_evolution_calendar.schemas.in:
* calendar-commands.c: Added new verb for help debug message
(help_debug):
* gnome-cal.c: Support for non-intrusive error.
(client_cal_opened_cb), Define fash table and accessing
errors:
* e-calendar-view.c: (error_response):
(e_calendar_utils_show_error_silent),
(e_calendar_utils_show_info_silent):
* e-calendar-view.h:
* calendar-component.c: Added EActivityHandler and ELogger:
(calendar_component_peek_activity_handler),
(calendar_component_show_logger):
* calendar-component.h:
svn path=/trunk/; revision=36727
2008-11-02 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #557613
* mail/em-utils.c (try_open_e_book):
Wait for try_open_e_book_cb() to run before freeing the EFlag.
It will run regardless of whether the EBook operation completes.
svn path=/trunk/; revision=36715
2008-10-22 Matthew Barnes <mbarnes@redhat.com>
* mail-send-recv.c:
* mail-send-recv.h:
Just some minor code polishing.
svn path=/trunk/; revision=36676
2008-10-19 Milan Crha <mcrha@redhat.com>
** Fix for bug #438155
* message-list.h: (struct _MessageList): message-list.c: (message_list_init),
(message_list_finalise), (regen_list_done), (regen_list_free), (ml_regen_timeout),
(mail_regen_cancel): Guard access to the 'regen' list with a lock.
svn path=/trunk/; revision=36652
2008-10-17 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #555276
* mail/mail-vfolder.c: Don't load a vfolder as a sub folder.
svn path=/trunk/; revision=36639
2008-10-17 Milan Crha <mcrha@redhat.com>
** Fix for bug #364542
* em-utils.c: (struct TryOpenEBookStruct), (try_open_e_book_cb),
(try_open_e_book), (em_utils_in_addressbook),
(em_utils_contact_photo):
Stop when camel operation has been canceled. Also check for
cancellation when opening EBook, thus the UI (preview) will
not freeze with slow address books.
svn path=/trunk/; revision=36635
2008-10-07 Bharath Acharya <abharath@novell.com>
** Fix for bug #555203
* mail-session.c: (get_password): Use the url value in cases
where the account goes NULL. Fixes the issue of Exchange not sending
mails, because it does not have a valid transport url to use.
svn path=/trunk/; revision=36585
2008-10-05 Sankar P <psankar@novell.com>
** Fix for bug #554349
* mail/em-folder-browser.c:
Expand threads and select messages,
if user has given select-all.
svn path=/trunk/; revision=36562
2008-10-01 Milan Crha <mcrha@redhat.com>
** Fix for bug #554418
* e-util/e-util.h: (e_util_guess_mime_type):
* e-util/e-util.c: (e_util_guess_mime_type): Guess mime_type based on
the file content only when permitted by the caller, otherwise
check based on the filename only, where it fallbacks if file
content guess fails.
* mail/em-utils.c: (em_utils_snoop_type):
* mail/em-popup.c: (emp_standard_menu_factory):
Guess mime_type based on the filename only.
* composer/e-msg-composer.c: (handle_uri),
(e_msg_composer_add_inline_image_from_file): Guess mime_type based
on the file content, if failed, then on the filename.
* widgets/misc/e-attachment.c: (attachment_guess_mime_type):
Allow guessing mime_type based on the file content.
* calendar/gui/dialogs/comp-editor.c: (set_attachment_list):
* calendar/gui/e-cal-popup.c: (ecalp_standard_menu_factory):
Allow/disallow guessing of the mime_type based on the file content.
svn path=/trunk/; revision=36529
2008-10-01 Milan Crha <mcrha@redhat.com>
** Fix for bug #554458
* configure.in: Bump glib version to 2.18.0 because of g_content_type_from_mime_type.
* mail/em-popup.c: (emp_standard_menu_factory):
* calendar/gui/e-cal-popup.c: (ecalp_standard_menu_factory):
Use content-type to call of g_app_info_get_all_for_type.
svn path=/trunk/; revision=36526
2008-09-30 Philip Withnall <philip@tecnocode.co.uk>
** Fix for bug #545045
* mail-send-recv.c (build_dialog): Don't show SMTP in the
Send/Receive dialogue if there are no unsent mails.
svn path=/trunk/; revision=36505