Commit Graph

168 Commits

Author SHA1 Message Date
bfc8b8784d License changes from GPL to LGPL
svn path=/trunk/; revision=36465
2008-09-29 08:36:04 +00:00
cea054cd54 Merge revisions 35747:35930 from trunk.
svn path=/branches/kill-bonobo/; revision=35931
2008-08-08 04:26:12 +00:00
5948c36901 ** Fixes Bug #200147
2008-07-18  Bharath Acharya  <abharath@novell.com>

        ** Fixes Bug #200147

        Basic functionality implemented by Diego Escalante Urrelo 
        <diegoe@gnome.org> Everyone owes him a big mug of Beer for that.

        ** Added Templates plugin
        * Makefile.am:
        * apps-evolution-template-placeholders.schemas.in:
        * org-gnome-templates.eplug.xml:
        * templates.c: 
        * templates.glade:


svn path=/trunk/; revision=35780
2008-07-20 18:26:42 +00:00
94c501caf6 fixed copyright notices
svn path=/trunk/; revision=35663
2008-06-20 22:14:15 +00:00
22dc0c949c ** Fix for bug #535791
2008-06-09  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #535791

	* mail-config.glade:
	* em-composer-prefs.c: (em_composer_prefs_construct):
	New UI option to let uset choose whether start typing at the bottom
	of the document or not on replying.
	* em-utils.h: (em_utils_message_to_html):
	* em-utils.c: (em_utils_message_to_html):
	* em-composer-utils.c: (forward_non_attached), (composer_set_body):
	Take care of /apps/evolution/mail/composer/reply_start_bottom.


svn path=/trunk/; revision=35621
2008-06-09 11:09:01 +00:00
36321cbfdf ** Fixes bug #534476
2008-05-23  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #534476

	* configure.in:
	Require shared-mime-info >= 0.22 to make sure we pick up the fix
	for correctly identifying "winmail.dat" attachments.

	* calendar/gui/e-cal-popup.c (ecalp_standard_menu_factory):
	* mail/em-utils.c (em_utils_snoop_type):
	* mail/em-popup.c (emp_standard_menu_factory):
	Remove the special check for "winmail.dat".  GIO correctly
	identifies it as "application/ms-tnef".


svn path=/trunk/; revision=35534
2008-05-23 14:41:30 +00:00
e99e12428d ** Fixes bug #534360
2008-05-22  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #534360

	Migrate from deprecated GtkObject symbols to GObject equivalents.
	Touches over 150 files in all components; too many to list.


svn path=/trunk/; revision=35526
2008-05-22 17:27:48 +00:00
0f1e50fde2 Fixes compiler warning (unused variable).
2008-04-29  Milan Crha  <mcrha@redhat.com>

	* em-utils.c: (em_utils_snoop_type):
	Fixes compiler warning (unused variable).


svn path=/trunk/; revision=35439
2008-04-29 08:41:43 +00:00
29d5ce762e Avoid crash while detecting mime types.
2008-04-28  Srinivasa Ragavan  <sragavan@novell.com>

	* mail/em-utils.c: Avoid crash while detecting mime types.

svn path=/trunk/; revision=35426
2008-04-28 05:36:20 +00:00
71e5a4dcbb ** Fix for bug #529375
2008-04-23  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #529375

	* evolution-mail.schemas.in:
	* mail-config.glade:
	* em-utils.h: (em_utils_in_addressbook):
	* em-utils.c: (em_utils_in_addressbook):
	* em-format-html.c: (emfh_gethttp):
	* mail-session.c: (lookup_addressbook):
	* mail-config.h: (mail_config_get_lookup_book_local_only):
	* mail-config.c: (struct MailConfig), (mail_config_init),
	(mail_config_get_lookup_book_local_only):
	* em-mailer-prefs.h: (struct _EMMailerPrefs):
	* em-mailer-prefs.c: (junk_book_lookup_button_toggled),
	(em_mailer_prefs_construct): Add new option
	/apps/evolution/mail/junk/lookup_addressbook_local_only
	to determine whether check for address in a local address book only.


svn path=/trunk/; revision=35410
2008-04-23 09:29:11 +00:00
e9a0cfe1a9 ** Fix for bug #526741 (gnome-vfs to gio/gvfs port)
2008-04-17  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #526741 (gnome-vfs to gio/gvfs port)

	* configure.in: Drop dependency on gnome-vfs, depend on gio instead.

	* addressbook/gui/contact-editor/e-contact-editor.c: Do not include gnome-vfs.

	* calendar/gui/e-meeting-store.c: (start_async_read), (freebusy_async),
	(async_read): Read data with gio, not with gnome-vfs.
	* calendar/gui/e-meeting-store.c: (async_close): Function removed.
	* calendar/gui/migration.c:
	* calendar/gui/e-memos.c:
	* calendar/gui/alarm-notify/notify-main.c:
	* calendar/gui/e-tasks.c:
	* calendar/gui/main.c:
	* calendar/gui/e-meeting-list-view.c:
	Do not include gnome-vfs.
	* calendar/gui/dialogs/comp-editor.c: (set_attachment_list):
	* calendar/gui/dialogs/comp-editor.c: (attachment_guess_mime_type):
	Function removed, use e-util function instead.
	* calendar/gui/e-cal-popup.c: (temp_save_part):
	Reflect changes in CamelStreamVFS.
	* calendar/gui/e-cal-popup.c: (ecalp_apps_open_in), (ecalp_apps_popup_free),
	(ecalp_standard_menu_factory): Use gio to fill popup and launch app.
	* calendar/gui/e-cal-component-preview.h: (e_cal_comp_preview_url_requested_cb):
	* calendar/gui/e-cal-component-preview.c: (e_cal_comp_preview_url_requested_cb):
	New helper function to manage file:// urls for GtkHTML component.
	* calendar/gui/e-cal-component-preview.c: (e_cal_component_preview_init):
	* calendar/gui/e-cal-component-memo-preview.c:
	(e_cal_comp_preview_url_requested_cb):
	Use above helper function.
	* calendar/gui/e-cal-component-memo-preview.c: (url_requested_cb):
	* calendar/gui/e-cal-component-preview.c: (url_requested_cb): Function removed.

	* composer/e-msg-composer.h: (e_msg_composer_guess_mime_type):
	* composer/e-msg-composer.c: (e_msg_composer_guess_mime_type), (handle_uri),
	(e_msg_composer_add_inline_image_from_file):
	Use shared e_util_guess_mime_type instead of its own.

	* e-util/e-gui-utils.c: Do not include gnome-vfs.
	* e-util/e-util.c: (e_write_file_uri), (e_file_get_save_path):
	* e-util/e-dialog-utils.c: (e_file_can_save), (e_file_check_local):
	Use gio instead of gnome-vfs.
	* e-util/e-util.h:
	* e-util/e-util.c: (e_util_guess_mime_type), (e_util_filename_to_uri),
	(e_util_uri_to_filename), (e_util_read_file): New helper functions.

	* mail/Makefile.am:
	* mail/em-vfs-stream.h:
	* mail/em-vfs-stream.c: Removed from project, not used anywhere.
	* mail/em-menu.c:
	* mail/em-config.c: Do not include gnome-vfs.
	* mail/mail-ops.c: (save_messages_exec), (save_part_exec):
	Changes related to Data Server change of CamelStreamVFS.
	* mail/em-format.c: (em_format_describe_part):
	* mail/em-format-html-display.c: (efhd_bonobo_object), (efhd_find_handler),
	(efhd_use_component), (efhd_bonobo_unknown), (efhd_check_server_prop),
	(efhd_format_attachment): Drop use of deprecated gnome-vfs functions.
	* mail/em-utils.c: (em_utils_snoop_type): Use gio to guess the mime_type.
	* mail/em-popup.c: (emp_apps_open_in), (emp_apps_popup_free),
	(emp_standard_menu_factory): Use gio to fill popup and launch app.

	* plugins/import-ics-attachments/icsimporter.c: Do not include gnome-vfs.

	* plugins/ipod-sync/ical-format.c: (do_save_calendar_ical):
	* plugins/ipod-sync/ipod-sync.c: (destination_save_addressbook):
	Write to gio GOutputStream instead of gnome-vfs handle.
	* plugins/ipod-sync/format-handler.h: (open_for_writing):
	* plugins/ipod-sync/ipod-sync.c: (open_for_writing): New helper function.

	* plugins/publish-calendar/publish-format-fb.h: (publish_calendar_as_fb):
	* plugins/publish-calendar/publish-format-fb.c: (write_calendar), (publish_calendar_as_fb):
	* plugins/publish-calendar/publish-format-ical.h: (publish_calendar_as_ical):
	* plugins/publish-calendar/publish-format-ical.c: (write_calendar), (publish_calendar_as_ical):
	Use gio GOutputStream instead of gnome-vfs handle.
	* plugins/publish-calendar/url-editor-dialog.c: (create_uri): Use glib function to escape URI.
	* plugins/publish-calendar/publish-location.c: (migrateURI): Use EUri to parse URI.
	* plugins/publish-calendar/publish-calendar.c: (publish_online), (unmount_done_cb),
	(struct mnt_struct), (mount_ready_cb), (ask_password), (ask_question),
	(mount_first), (publish):
	Use gio instead of gnome-vfs for opening (remote) files.

	* plugins/save-calendar/ical-format.c: (do_save_calendar_ical):
	* plugins/save-calendar/csv-format.c: (do_save_calendar_csv):
	* plugins/save-calendar/rdf-format.c: (do_save_calendar_rdf):
	Use gio GOutpuStream instead of gnome-vfs handle.
	* plugins/save-calendar/format-handler.h: (open_for_writing):
	* plugins/save-calendar/save-calendar.c: (open_for_writing): New helper function.

	* shell/e-shell-window-commands.c: (command_quick_reference):
	Use gio instead of gnome-vfs.

	* widgets/misc/e-attachment.h: (struct _EAttachment):
	* widgets/misc/e-attachment.c: (finalise), (init), (attachment_guess_mime_type),
	(e_attachment_new), (struct DownloadInfo), (download_info_free),
	(data_ready_cb), (download_to_local_path),
	(e_attachment_new_remote_file):
	Use gio instead of gnome-vfs to download remote files.
	* widgets/misc/e-image-chooser.c: (image_drag_data_received_cb):
	Use new util function to read file.
	* widgets/misc/e-attachment-bar.c: (size_to_string): Stolen from gnome-vfs.


svn path=/trunk/; revision=35378
2008-04-17 16:59:08 +00:00
e7adc5aefa Patch from Shuai Liu <shuai.liu@sun.com>: Fix for bug #528358 (Use message subject as default filename when attempting to 'save message')
svn path=/trunk/; revision=35372
2008-04-16 18:05:18 +00:00
9bd177927d ** Fix for bug #273177
2008-03-13  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #273177

	* addressbook/gui/contact-editor/e-contact-quick-add.h:
	(e_contact_quick_add_vcard):
	* addressbook/gui/contact-editor/e-contact-quick-add.c: (struct _QuickAdd),
	(quick_add_unref), (quick_add_set_vcard), (clicked_cb),
	(build_quick_add_dialog), (e_contact_quick_add_vcard):
	Allow adding also whole vCard with this dialog.
	* addressbook/gui/widgets/eab-popup-control.h: (struct _EABPopupControl):
	* addressbook/gui/widgets/eab-popup-control.c: (eab_popup_control_set_vcard),
	(eab_popup_control_cleanup), (eab_popup_control_set_vcard),
	(eab_popup_control_no_matches), (set_prop), (get_prop),
	(eab_popup_control_new):
	New property 'vcard', if set, has higher precedence than name/email.

	* mail/em-utils.h: (em_utils_add_vcard):
	* mail/em-utils.c: (emu_add_address_or_vcard),
	(em_utils_add_address), (em_utils_add_vcard):
	New function to add whole vCard to addressbook.
	* mail/em-popup.c: (emp_add_vcard), (emp_standard_menu_factory):
	Add popup menu item to vcard attachments.


svn path=/trunk/; revision=35181
2008-03-13 10:12:49 +00:00
cc692562f5 ** Fixes breakage caused by bug #513951
2008-03-12  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes breakage caused by bug #513951

	* mail-autofilter.c (filter_gui_add_from_message),
	(mail_filter_rename_uri), (mail_filter_delete_uri):
	* mail-tools.c (mail_tool_get_local_movemail_path):
	* mail-vfolder.c (mail_vfolder_delete_uri), (mail_vfolder_rename_uri),
	(store_folder_deleted), (store_folder_renamed),
	(vfolder_load_storage), (vfolder_revert),
	(em_vfolder_editor_response), (edit_rule_response),
	(new_rule_clicked):
	* em-folder-browser.c (emfb_search_search_activated):
	* em-folder-tree.c (em_folder_tree_new):
	* mail-ops.c (uid_cachename_hack), (empty_trash_exec):
	* em-folder-view.c (emfv_setup_view_instance):
	* em-utils.c (em_filter_editor_response), (em_utils_edit_filters):
	* importers/mail-importer.c (import_folders_rec):
	* mail-folder-cache.c (rename_folders):
	* em-format-html.c (em_format_html_get_type):
	* mail-session.c (main_get_filter_driver):
	* mail-config.c (gconf_mime_types_changed), (uri_to_evname),
	(mail_config_folder_to_cachename), (get_new_signature_filename):
	Adapt to new meaning of mail_component_peek_base_directory().

	* mail-component.c (mail_component_init):
	Add back initialization of priv->base_directory.  Accidentally
	removed it somehow in last commit.


svn path=/trunk/; revision=35179
2008-03-12 12:25:24 +00:00
510eb1f016 ** Most of the errors are now non-intrusive
2008-01-10  Srinivasa Ragavan  <sragavan@novell.com>

	** Most of the errors are now non-intrusive 

	* em-folder-utils.c: (emfu_copy_folder_selected),
	(emfu_delete_response), (em_folder_utils_delete_folder):
	* em-folder-view.c: (emfv_delete_msg_response):
	* em-utils.c: (em_utils_edit_filters),
	(em_utils_save_part_to_file), (em_utils_temp_save_part),
	(error_response), (em_utils_show_error_silent),
	(em_utils_show_info_silent):
	* em-utils.h:
	* mail-autofilter.c: (mail_filter_delete_uri):
	* mail-component.c: (mail_component_show_logger):
	* mail-mt.c: (mail_msg_free):
	* mail-session.c: (do_user_message):
	* mail-vfolder.c: (mail_vfolder_delete_uri), (vfolder_edit_rule):


svn path=/trunk/; revision=34787
2008-01-10 09:31:07 +00:00
538be0680e ** Fixes bug #362638
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-20 17:58:09 +00:00
0393621697 ** Fix for bug #329706
2007-12-07  Alex Kloss  <alexkloss@att.net>

	** Fix for bug #329706

	* em-utils.c (em_utils_prompt_user):
	Add mnemonic 'd' to 'Do not show...' checkbox
	* mail.error.xml:
	Remove redundant 'Send anyway' label
	Reorder buttons to 'Send','Cancel' as per HIG


svn path=/trunk/; revision=34668
2007-12-07 18:39:06 +00:00
1414e25bb3 ** Fix for bug #494425
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 09:22:45 +00:00
9e4fcb29cf ** Remove trailing whitespace from source code.
2007-11-14  Matthew Barnes  <mbarnes@redhat.com>

	** Remove trailing whitespace from source code.


svn path=/trunk/; revision=34537
2007-11-14 22:04:21 +00:00
19993ca2f0 Warning fixes: - NULL vs. 0 vs FALSE - ANSIfication of function
2007-10-26  Kjartan Maraas  <kmaraas@gnome.org>

	* e-searching-tokenizer.c: (build_trie), (searcher_new),
	(output_token), (output_match), (merge_subpending),
	(searcher_next_token):
	* em-account-editor.c: (em_account_editor_new), (emae_load_text),
	(emae_check_license), (emae_auto_detect), (smime_sign_key_select),
	(smime_encrypt_key_select), (emae_service_url_path_changed),
	(emae_ssl_changed), (emae_service_provider_changed),
	(emae_refresh_providers), (emae_refresh_authtype),
	(emae_setup_service), (emae_identity_page):
	* em-composer-utils.c: (em_utils_send_receipt),
	(generate_account_hash), (em_utils_camel_address_to_destination),
	(reply_get_composer):
	* em-config.c: (em_config_new):
	* em-event.c: (em_event_peek):
	* em-filter-rule.c: (get_widget):
	* em-folder-browser.c: (generate_viewoption_menu),
	(em_folder_browser_show_preview), (get_view_query),
	(vfolder_setup_do), (emfb_search_search_activated),
	(emfb_list_key_press), (emfb_list_built):
	* em-folder-view.c: (em_folder_view_new),
	(emfv_setup_view_instance), (emfv_popup_forward),
	(emp_uri_popup_vfolder_sender), (emp_uri_popup_vfolder_recipient),
	(emfv_enable_menus):
	* em-format-hook.c:
	* em-format-html-display.c: (efhd_attachment_optional):
	* em-format-html.c: (em_format_html_new),
	(em_format_html_add_pobject), (em_format_html_find_pobject),
	(em_format_html_find_pobject_func), (efh_text_enriched),
	(efh_multipart_related), (efh_format_address), (efh_format_header):
	* em-icon-stream.h:
	* em-inline-filter.c: (emif_add_part), (emif_scan):
	* em-junk-hook.c: (emjh_construct_group):
	* em-mailer-prefs.c: (junk_plugin_setup):
	* em-menu.c: (em_menu_new), (em_menu_target_new_select):
	* em-message-browser.c: (em_message_browser_new):
	* em-popup.c: (em_popup_new), (em_popup_target_new_select):
	* em-sync-stream.c:
	* em-utils.c: (em_utils_save_part_to_file), (tag_editor_response),
	(em_utils_read_messages_from_stream), (em_utils_get_proxy_uri),
	(em_utils_in_addressbook):
	* em-vfolder-rule.c: (validate):
	* importers/elm-importer.c:
	* importers/mail-importer.c: (import_mbox_import),
	(import_folders_rec):
	* importers/pine-importer.c:
	* mail-component.c: (setline_done):
	* mail-folder-cache.c: (flush_updates):
	* mail-mt.c: (mail_msg_new), (checkmem), (mail_msg_check_error),
	(mail_msg_cancel), (mail_msg_wait), (mail_msg_init),
	(do_op_status):
	* mail-send-recv.c: (receive_status), (receive_done),
	(refresh_folders_get):
	* mail-vfolder.c: (mail_vfolder_get_sources_local),
	(mail_vfolder_get_sources_remote), (context_rule_added),
	(store_folder_renamed):
	* message-list.c: (e_mail_address_new), (e_mail_address_compare),
	(get_normalised_string), (ml_search_forward), (ml_search_backward),
	(ml_search_path), (message_list_select_uid),
	(thread_select_foreach), (message_list_copy), (ml_duplicate_value),
	(ml_free_value), (ml_initialize_value), (ml_value_is_empty),
	(ml_value_to_string), (subtree_latest), (sanitize_recipients),
	(ml_tree_value_at), (ml_tree_sort_value_at),
	(message_list_init_images), (filter_date), (build_tree),
	(build_flat_diff), (regen_list_regen):

	Warning fixes:
	- NULL vs. 0 vs FALSE
	- ANSIfication of function declarations
	- Remove unused bits
	- use unsigned ints for 1-bit bitfields
	- invalid pointer type
	- mark a global var static
	- mixing code and declarations

svn path=/trunk/; revision=34449
2007-10-29 13:05:42 +00:00
8e47917e8c Update FSF address in header comments (#469886). Patch from Tobias
2007-09-02  Matthew Barnes  <mbarnes@redhat.com>

	* Update FSF address in header comments (#469886).
	  Patch from Tobias Mueller.


svn path=/trunk/; revision=34151
2007-09-02 04:19:22 +00:00
e7d6ad6d83 ** Move away from g_assert to g_return* calls
svn path=/trunk/; revision=34143
2007-08-31 05:24:51 +00:00
e3bc9c8237 2007-08-20 mcrha Fix for bug #367760
svn path=/trunk/; revision=34042
2007-08-20 07:11:31 +00:00
2821b99a0b Do not free const pointer. Plugged memory leak.
2007-07-27  Hiroyuki Ikezoe  <poincare@ikezoe.net>

	* em-utils.c: (em_utils_save_parts): Do not free const pointer.
	Plugged memory leak.


svn path=/trunk/; revision=33856
2007-07-27 05:56:56 +00:00
0885119ef7 ** Fix for bug #307410
svn path=/trunk/; revision=33776
2007-07-09 03:10:13 +00:00
8c1ef74efd ** Fix for bug #453294
2007-07-03  simon.zheng  <simon.zheng@sun.com>

        ** Fix for bug #453294

        * em-utils.c: (em_utils_save_parts): Convert filename encoding 
        from UTF-8 to current locale before saving attachement.


svn path=/trunk/; revision=33746
2007-07-03 07:36:15 +00:00
13d4452306 Fix compilation warnings in mail folder (#437935).
svn path=/trunk/; revision=33628
2007-06-03 02:54:32 +00:00
7f5cd51bfe Removing few debug statements
svn path=/trunk/; revision=33617
2007-06-02 05:09:33 +00:00
068e5e40b0 ** Adds support for Contact Image in the preview pane
svn path=/trunk/; revision=33613
2007-06-01 21:41:12 +00:00
1118857d92 Fix file descriptor leaks
svn path=/trunk/; revision=33598
2007-05-29 09:06:58 +00:00
64977cb1bc Massive code cleanup (bug #429422)
svn path=/trunk/; revision=33432
2007-04-19 18:53:33 +00:00
bb05f6e6d0 ** Fixes bug #423766
2007-04-18  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #423766

	* mail/em-format-html-display.c (attachments_save_all_clicked):
	Call em_utils_save_part() if there's only one attachment to save.

	* mail/em-utils.c (em_utils_save_part):
	Refactor to use gtk_dialog_run() instead of a "response" callback.

	* mail/em-utils.c (em_utils_save_parts):
	Refactor to use gtk_dialog_run() instead of a "response" callback.
	Use gtk_file_chooser_get_uri() to fetch the selected folder.


svn path=/trunk/; revision=33429
2007-04-18 11:09:52 +00:00
860676317c Evolution requires GLib 2.10 now; remove dead backward-compatibility code
2007-03-29  Matthew Barnes  <mbarnes@redhat.com>

	* mail/em-utils.c:
	* mail/mail-config.c:
	* plugins/save-attachments/save-attachments.c:
	Evolution requires GLib 2.10 now; remove dead backward-compatibility
	code for GLib < 2.8 (#418971).


svn path=/trunk/; revision=33341
2007-03-29 19:04:25 +00:00
cba3097cad ** Fixes bug #419524
2007-03-20  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #419524

	* Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>.

	* e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list):
	* mail/em-migrate.c (emm_setup_initial):
	* shell/e-component-registry.c (query_components):
	* shell/e-shell-settings-dialog.c (load_pages):
	* shell/e-shell-window-commands.c (command_quick_reference):
	* tools/killev.c (main):
	Use g_get_language_names() instead of gnome_i18n_get_language_list().

	* e-util/e-util.c: Remove e_gettext().

	* e-util/Makefile.am: Remove e-i18n.h.


svn path=/trunk/; revision=33319
2007-03-20 17:23:58 +00:00
6395ec0243 ** Fix for bug #349966
2006-11-28  Daniel Gryniewicz <dang@gentoo.org>

	** Fix for bug #349966

svn path=/trunk/; revision=33026
2006-11-27 18:49:11 +00:00
0a7017c1a6 Fix for bug #337439 DoS attach with large emails
2006-11-26  Srinivasa Ragavan  <sragavan@novell.com>

	* Fix for bug #337439 DoS attach with large emails

svn path=/trunk/; revision=33024
2006-11-26 18:30:29 +00:00
cd59caa640 ** Fix for bug #347248
svn path=/trunk/; revision=32647
2006-08-23 14:05:21 +00:00
c09e79bbf4 ** Fixes bug #347238
svn path=/trunk/; revision=32636
2006-08-23 07:59:00 +00:00
24368cf92d Added code to save/attach files/mails/events to/from remote shares
svn path=/trunk/; revision=32023
2006-05-25 06:04:48 +00:00
d5e7959943 Fixed premature memory free. Fixes bug #335203.
2006-03-22  Patrick Ohly  <patrick.ohly@intel.com>

	* em-utils.c (em_utils_selection_set_urilist):
	Fixed premature memory free. Fixes bug #335203.

svn path=/trunk/; revision=31740
2006-03-22 12:00:05 +00:00
379633a5ad Fixed bug #326571 Add em_filename_make_safe(), and use it to allow
2006-03-21  Simon Zheng  <simon.zheng@sun.com>

        Fixed bug #326571
        * em-utils.c (em_filename_make_safe), (emu_get_save_filesel),
        (emu_save_parts_response):
        Add em_filename_make_safe(), and use it to allow filenames
        contain more valid characters when saving attachments.

svn path=/trunk/; revision=31726
2006-03-21 03:02:59 +00:00
1ad03dc11b Fixes bug #332140 Transfer filenames from utf-8 to glib encoding before
2006-03-06  Simon Zheng  <simon.zheng@sun.com>

        Fixes bug #332140
        * em-utils.c: (em_utils_temp_save_part):
        Transfer filenames from utf-8 to glib encoding before really
        saving files.

svn path=/trunk/; revision=31662
2006-03-06 10:44:25 +00:00
bc081447eb Fix for bug 322160.
svn path=/trunk/; revision=31548
2006-02-20 16:01:01 +00:00
1a405a9af6 change Filters dialog window title to be HIG compliant
svn path=/trunk/; revision=31476
2006-02-10 20:57:26 +00:00
f6e0e26a6f s/int/guint/g for 1-bit bitfield. Remove cruft use guint for 1-bit
2006-01-09  Kjartan Maraas  <kmaraas@gnome.org>

	* em-account-editor.h: s/int/guint/g for 1-bit bitfield.
	* em-composer-utils.c: (em_utils_redirect_message): Remove cruft
	* em-folder-tree.c: (emft_drop_target): use guint for 1-bit bitfield
	and rename a variable with a name clash.
	* em-folder-utils.c: (em_folder_utils_rename_folder): Rename var to
	avoid name clashes.
	* em-folder-view.c: guint for 1-bit bitfields.
	* em-folder-view.h: Same as above.
	* em-format-html-print.h: Again.
	* em-format-html.c: (efh_text_html), (efh_multipart_related): Add comments
	* em-format.c: (emf_multipart_alternative): Add comment about using var that
	is passed in rather than a local variable.
	* em-inline-filter.c: (emif_scan): Remove unused var. Mark code static.
	* em-mailer-prefs.h: guint for 1-bit bitfields.
	* em-migrate.c: (em_migrate_folder): mark a struct static. remove unused var
	* em-subscribe-editor.c: guint for 1-bit bitfield
	* em-utils.c: remove unused function
	* em-vfolder-rule.c: mark array static
	* importers/mail-importer.c: (decode_status): Remove unused code. Use guint
	for 1-bit bitfield.
	* mail-autofilter.c: (rule_from_message): rename a variable
	* mail-component.c: guint for 1-bit bitfield
	* mail-folder-cache.c: (update_1folder): remove unused code
	* mail-mt.c: mark some structs static
	* message-list.c: (message_list_select_uid), (ml_value_to_string),
	(ml_tree_value_at), (find_next_undeleted), (build_tree),
	(build_flat): Remove unused code and fix some format specifiers.

svn path=/trunk/; revision=31448
2006-02-08 11:51:32 +00:00
3f965e3474 ** Fixes bug #316223
2006-01-30  pavithran <pavithran@gmx.de>

	** Fixes bug #316223

	* em-utils.c: (emu_save_parts_response): Added a confirmation dialog
	for overwriting existing file during save all.

svn path=/trunk/; revision=31341
2006-01-30 04:18:58 +00:00
3e82887a54 Use e_util_mkdir_hier() instead of e_mkdir_hier().
2006-01-10  Simon Zheng  <simon.zheng@sun.com>

        * em-composer-utils.c:
        * em-folder-tree-model.c: (em_folder_tree_model_save_state):
        * em-format-html.c:
        * em-migrate.c: (cp_r), (em_migrate_folder),
        (em_migrate_pop_uid_caches_1_4),
        (em_migrate_folder_expand_state_1_4),
        (em_migrate_folder_view_settings_1_4),
        (em_migrate_imap_cmeta_1_4),
        (em_migrate_1_4), (emm_setup_initial),
        (em_migrate):
        * em-popup.c:
        * em-utils.c: (em_utils_save_part_to_file):
        * mail-component.c: (mail_component_init):
        * mail-config.c:
        * mail-folder-cache.c:
        * mail-mt.c:
        * mail-ops.c:
        * mail-tools.c: (mail_tool_get_local_movemail_path):
        Use e_util_mkdir_hier() instead of e_mkdir_hier().

        Use e_util_strstrcase() instead of e_strstrcasea().

        use e_strftime() in evolution-data-server/
        libedataserver/e-data-server-util.c instead of the copy in
        evolution/e-util/e-util.c.

        use e_filename_make_safe() in evolution-data-server/
        libedataserver/e-data-server-util.c instead of the copy in
        evolution/e-util/e-util.c.

        use e_utf8_strftime() in evolution-data-server/
        libedataserver/e-data-server-util.c instead of the copy in
        evolution/e-util/e-util.c.

svn path=/trunk/; revision=31118
2006-01-10 08:10:30 +00:00
2c28b8f608 use libedataserver/e-account-list.h instead of e-util/e-account-list.h.
2006-01-06  Simon Zheng <simon.zheng@sun.com>

        * em-account-editor.c:
        * em-account-prefs.c:
        * em-composer-utils.c:
        * em-folder-tree-model.h:
        * em-migrate.c:
        * em-subscribe-editor.c:
        * em-utils.c:
        * importers/netscape-importer.c:
        * mail-config.c:
        * mail-crypto.c:
        * mail-ops.h:
        * mail-send-recv.c:
        * mail-vfolder.c:
        use libedataserver/e-account-list.h instead of e-util/e-account-list.h.
        use libedataserver/e-account.h instead of e-util/e-account.h.

svn path=/trunk/; revision=31075
2006-01-06 06:44:15 +00:00
66d997c160 s/don't/do not/ string changes. Fixes #325276.
2006-01-01  Harish Krishnaswamy  <kharish@novell.com>

* em-utils.c (em_utils_prompt_user), mail-config.glade, mail.error.xml :
s/don't/do not/ string changes. Fixes #325276.

svn path=/trunk/; revision=31002
2006-01-01 12:21:38 +00:00
4f2de6eca9 ** Fixes bug #228040, #324677
2005-12-23  Srinivasa Ragavan  <sragavan@novell.com>

	** Fixes bug #228040, #324677

	* em-folder-view.c (emfv_popup_flag_completed),
	(emfv_popup_flag_clear), (emfv_enable_menus): Added menus for complete
	and clear. Also added code to refresh preview on setting flags. Also
	added code to hide junk/not-junk menu depending on their sensitivity.

	* em-utils.c: (tag_editor_response), (em_utils_flag_for_followup):
	Added code to refresh preview.

svn path=/trunk/; revision=30941
2005-12-23 04:10:07 +00:00