Commit Graph

4901 Commits

Author SHA1 Message Date
Matthew Barnes fabdf4e388 ** Fixes bug #565857
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-29 11:49:26 +00:00
Sankar P e00b07975e ** Part of fix for bug #559153
2008-12-22  Sankar P  <psankar@novell.com>

	** Part of fix for bug #559153

	* em-migrate.c (update_progress_in_main_thread), (migrate_folders),
	(count_folders), (migrate_folders_to_db_thread), (migrate_to_db),
	(em_migrate):
	Migration Improvements

svn path=/trunk/; revision=36924
2008-12-22 06:23:09 +00:00
Norman Wang 324695cd77 ** Fix for bug #558337
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-22 03:11:09 +00:00
Milan Crha f4899e740e ** Part of fix for bug #552583
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-16 12:28:46 +00:00
Milan Crha 1a5bb1cef6 ** Fix for bug #564007
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 11:57:55 +00:00
Milan Crha 7365be40fe ** Part of fix for bug #563669
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-15 11:46:53 +00:00
Srinivasa Ragavan 7c0d77d3d4 Fix a impllicit warning
2008-12-15  Srinivasa Ragavan  <sragavan@novell.com>

	* em-format-html-display.c: Fix a impllicit warning

svn path=/trunk/; revision=36891
2008-12-15 11:27:01 +00:00
Srinivasa Ragavan bd5d8981f7 ** Fix for bug #552583
2008-12-15  Srinivasa Ragavan  <sragavan@novell.com>

	** Fix for bug #552583

	* mail-config.c: (mail_config_get_account_by_transport_url): Free the
	right url.



svn path=/trunk/; revision=36889
2008-12-15 08:48:12 +00:00
Srinivasa Ragavan 3529d0384d ** Fix for #546637
2008-12-15  Srinivasa Ragavan  <sragavan@novell.com>

	** Fix for #546637

	* message-list.c: (message_list_finalise), (regen_list_exec),
	(regen_list_done): Don't loose uids.

svn path=/trunk/; revision=36886
2008-12-15 06:53:32 +00:00
Srinivasa Ragavan 3f0a0b70d5 Restore the code for BONOBO components need by the vcard inline viewer.
2008-12-15  Srinivasa Ragavan  <sragavan@novell.com>


	* em-format-html-display.c: (efhd_bonobo_unknown),
	(efhd_find_handler), (efhd_bonobo_object),
	(efhd_check_server_prop), (efhd_use_component),
	(efhd_format_attachment): Restore the code for BONOBO components need
	by the vcard inline viewer.

svn path=/trunk/; revision=36885
2008-12-15 06:46:13 +00:00
Srinivasa Ragavan e522a301b4 Add the unread vfolder hack.
2008-12-15  Srinivasa Ragavan  <sragavan@novell.com>

	* em-account-editor.c: (emae_option_checkspin):
	* em-folder-tree.c: (emft_popup_uvfolder), (emft_popup): Add the
	unread vfolder hack.

svn path=/trunk/; revision=36884
2008-12-15 06:44:07 +00:00
Lucian Langa 200ff2ee97 ** Fixes bug #564519
2008-12-15  Lucian Langa  <lucilanga@gnome.org>

** Fixes bug #564519

* mail-send-recv.c: (build_dialog):
Count also deleted unsent messages when displaying SMTP server

svn path=/trunk/; revision=36879
2008-12-15 06:05:10 +00:00
Matthew Barnes 121ad5ecf9 ** Fixes bug #564351 (patch by Tal Benavidor)
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-13 23:17:32 +00:00
Milan Crha ad79adba1c ** Part of fix for bug #552357
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 18:37:03 +00:00
Milan Crha 65145381a6 ** Fix for bug #563870
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-10 11:05:01 +00:00
Milan Crha e21153cdc8 ** Part of fix for bug #552583
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-09 19:12:33 +00:00
Milan Crha b607fe6bee ** Fix for bug #563369
2008-12-09  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #563369

	* em-folder-properties.c: (emfp_dialog_got_folder_quota):
	* em-folder-tree-model.c: (em_folder_tree_model_set_folder_info):
	* mail-component.c: (view_changed): Translate "Templates" folder name.


svn path=/trunk/; revision=36856
2008-12-09 12:58:00 +00:00
Milan Crha 14ed95aaaf ** Fix for bug #563669
2008-12-09  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #563669

	* addressbook/gui/component/ldap-config.glade:
	* addressbook/printing/e-contact-print.glade:
	* mail/mail-config.glade:
	* filter/filter.glade:
	* widgets/misc/e-send-options.glade:
	* calendar/gui/dialogs/recurrence-page.glade:
	* calendar/gui/dialogs/alarm-dialog.glade:
	* calendar/gui/dialogs/event-page.glade:
	* calendar/gui/dialogs/task-details-page.glade:
	* calendar/gui/dialogs/cal-prefs-dialog.glade:
	* calendar/gui/alarm-notify/alarm-notify.glade:
	* calendar/gui/goto-dialog.glade:
	Use zero GtkSpinButton's PageSize, as Gtk+ requires.


svn path=/trunk/; revision=36855
2008-12-09 12:53:32 +00:00
Suman Manjunath 49988a414f Milan Crha <mcrha@redhat.com> ** Fix for bug #337082 (Do not set 'finished loading' until we are really done with it. The previous behavior can cause duplicate nodes in tree for subscribed folders).
svn path=/trunk/; revision=36847
2008-12-08 09:20:00 +00:00
Sankar P 3059297cdd ** Fixes bug #552583
2008-12-08  Sankar P  <psankar@novell.com>

	** Fixes bug #552583

	* mail/mail-config.c: (mail_config_get_account_by_source_url)
	(mail_config_get_account_by_transport_url):
	Fix the errors in the account checking logic.

svn path=/trunk/; revision=36839
2008-12-08 05:49:35 +00:00
Matthew Barnes c86b544193 ** Fixes bug #552583
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-12-04 15:53:37 +00:00
Matthew Barnes 6485e92586 ** Fixes bug #552850
2008-11-23  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #552850

	* mail/evolution-mail.schemas.in:
	* plugins/folder-unsubscribe/org-gnome-mail-folder-unsubscribe.eplug.xml:
	Prefer the term "side bar" over "folder tree".


svn path=/trunk/; revision=36810
2008-11-24 01:11:32 +00:00
Srinivasa Ragavan fe7b22387a ** Fix for bug #555276
2008-11-19  Srinivasa Ragavan  <sragavan@novell.com>

	** Fix for bug #555276

	* mail/mail-vfolder.c: Don't load vfolder as subfolder.



svn path=/trunk/; revision=36799
2008-11-19 05:42:02 +00:00
Bharath Acharya 9d44f99d89 Do not display the default headers when all the headers are disabled in
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-13 07:50:33 +00:00
Milan Crha d808366b5f ** Part of fix for bug #524377
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-12 20:03:07 +00:00
Matthew Barnes 93f24c38ae Committing on behalf of Matthew Barnes <mbarnes@redhat.com>
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 06:32:34 +00:00
Bharath Acharya f0e5be67de ** Fix for BNC bug #437226 Proper message is missing in mail sent by
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-07 04:49:40 +00:00
Matthew Barnes 3849f9da5a ** Fixes part of bug #559371
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-05 16:16:13 +00:00
Milan Crha 2460ca1d16 ** Fix for bug #386036
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-04 14:15:53 +00:00
Ashish Shrivastava 26fe8fb76e ** Fix for bug #559086
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-03 12:10:48 +00:00
Matthew Barnes 9109e4a78c ** Fixes bug #559042
2008-11-02  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #559042

	* calendar/gui/e-itip-control.c (write_recurrence_piece):
	* mail/mail-config.glade:
	Remove extra spaces in translated strings.


svn path=/trunk/; revision=36722
2008-11-03 04:58:12 +00:00
Matthew Barnes 4052f5078c ** Fixes bug #557613
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-11-02 18:21:05 +00:00
Matthew Barnes ec1f102019 ** Fixes bug #558726 (patch by Frederic van Starbmann)
2008-10-31  Matthew Barnes  <mbarnes@redhat.com>

        ** Fixes bug #558726 (patch by Frederic van Starbmann)

        * mail/em-format-html.c (emfh_multipart_related_check):
        * plugins/mail-to-task/mail-to-task.c (do_mail_to_task):
        * plugins/plugin-manager/plugin-manager.c (eppm_enable_toggled):
        Fix several potential format string crashes.


svn path=/trunk/; revision=36709
2008-10-31 21:04:30 +00:00
Sankarasivasubramanian Pasupathilingam 4db72d173b Disable delete and rename on
right click menu for the system folders

svn path=/trunk/; revision=36703
2008-10-31 11:00:57 +00:00
Matthew Barnes 617fe5b576 Just some minor code polishing.
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-22 16:05:42 +00:00
Sankarasivasubramanian Pasupathilingam e3230aaa65 Re-factor spinner usage
svn path=/trunk/; revision=36671
2008-10-21 09:54:26 +00:00
Suman Manjunath 0ec5adff54 Patch from Patrick Ohly <Patrick.Ohly@gmx.de>: Fix for a build break while compiling out-of-tree.
svn path=/trunk/; revision=36663
2008-10-20 05:03:16 +00:00
Akhil Laddha 028310948a ** Revert the patch committed in rev 36458
2008-10-20  Akhil Laddha  <lakhil@novell.com>

       ** Revert the patch committed in rev 36458

       * Patch from Bug 552583


svn path=/trunk/; revision=36656
2008-10-20 04:06:01 +00:00
Milan Crha 3acdc755d6 ** Fix for bug #438155
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-19 17:08:50 +00:00
Srinivasa Ragavan 35718d17f3 ** Fix for bug #555276
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 09:48:54 +00:00
Milan Crha 7d9f28248b ** Fix for bug #364542
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-17 08:31:43 +00:00
Bharath Acharya 816eb75450 ** Fix for bug #555203
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-10 07:58:56 +00:00
Sankar P 40b56885e4 ** Fix for bug #554349
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-05 12:42:44 +00:00
Milan Crha 77ff19dd83 ** Fix for bug #554418
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 12:29:46 +00:00
Milan Crha 01d08b5074 ** Fix for bug #554458
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-10-01 10:08:05 +00:00
Sankarasivasubramanian Pasupathilingam 3b318d5cbf Change License from GPL to LGPL.
svn path=/trunk/; revision=36520
2008-10-01 09:24:41 +00:00
Philip Withnall d5699b6658 ** Fix for bug #545045
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
2008-09-30 19:38:49 +00:00
Sankarasivasubramanian Pasupathilingam 1f8187e8da Change License from GPL to LGPL.
svn path=/trunk/; revision=36502
2008-09-30 15:19:23 +00:00
Sankarasivasubramanian Pasupathilingam d3038251f3 Remove unnecessary FIXME. normalized columns are for internal
* mail/message-list.c:
Remove unnecessary FIXME.
normalized columns are for internal manipulation.

svn path=/trunk/; revision=36499
2008-09-30 09:13:21 +00:00
Sankarasivasubramanian Pasupathilingam 4fd6e00afa Added new column "Subject - Trimmed". Patch by hpj.
svn path=/trunk/; revision=36498
2008-09-30 07:59:12 +00:00