Commit Graph

39 Commits

Author SHA1 Message Date
84c55f4e98 Fix even more compiler warnings and disable one for format strings 2009-06-05 14:50:42 +02:00
fad4af8a3d Prefer GLib basic types over C types. 2009-05-28 12:13:23 -04:00
6f5464f34c Remove trailing whitespace, again. 2009-05-28 12:13:22 -04:00
0cf607076d Fix compiler warnings in mail. 2009-05-26 10:58:25 -04:00
1bad915150 License Changes
svn path=/trunk/; revision=36116
2008-08-27 10:33:22 +00:00
55997e2451 Committing on behalf of Milan Crha <mcrha@redhat.com>
2008-07-09  Milan Crha  <mcrha@redhat.com>

       ** Fix for bug #269152

       * em-format-quote.c: (emfq_format_header):
       * em-format-html.c: (efh_format_headers):
       Use X-MimeOLE as Mailer header when there's nothing better
available.


svn path=/trunk/; revision=35781
2008-07-20 19:10:46 +00:00
94c501caf6 fixed copyright notices
svn path=/trunk/; revision=35663
2008-06-20 22:14:15 +00:00
9025a50010 ** Fix for bug #535670
2008-05-30  Lucian Langa  <lucilanga@gnome.org>

** Fix for bug #535670

* em-format-quote.c: (type_builtin_table):
Add x-evolution/evolution-feed-rss as internal mime
for evolution-rss artiles.
* em-format.c: (em_format_is_attachment): prevent
evolution-rss articles being formatted as attachments.

svn path=/trunk/; revision=35559
2008-05-30 17:57:40 +00:00
2e731573fb ** Fixes part of bug #424744
2008-05-06  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes part of bug #424744

	* configure.in:
	Bump eds_minimum_version to 2.23.2 for camel-iconv.h.

	* composer/e-composer-private.c:
	* composer/e-composer-private.h:
	* composer/e-msg-composer.c:
	* mail/em-composer-prefs.c:
	* mail/em-format-html.c:
	* mail/em-format-quote.c:
	* mail/em-mailer-prefs.c:
	* widgets/misc/e-attachment-bar.c:
	* widgets/misc/e-unicode.c:
	Use camel-iconv.c instead of e-iconv.h (now deprecated).


svn path=/trunk/; revision=35474
2008-05-07 02:17:18 +00:00
0828f35962 Fix a corner case that I missed in my last commit.
2008-04-05  Matthew Barnes  <mbarnes@redhat.com>

	* mail/em-composer-prefs.c:
	Fix a corner case that I missed in my last commit.


svn path=/trunk/; revision=35324
2008-04-06 01:13:37 +00:00
20fca64c5a Same as below.
2008-04-04  Jeffrey Stedfast  <fejj@novell.com>

	* em-format-quote.c (emfq_format_header): Same as below.


svn path=/trunk/; revision=35320
2008-04-05 02:59:53 +00:00
88b3d91682 ** Fix for bug #469292
2008-02-20  Srinivasa Ragavan  <sragavan@novell.com>

	** Fix for bug #469292

	* em-format-quote.c: (emfq_format_clone): Add empty line only when top
	posting is enabled.

svn path=/trunk/; revision=35061
2008-02-20 10:43:13 +00:00
d3db6453d5 ** Fix for bug #516349
2008-02-19  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #516349

	* em-format-quote.c: (emfq_format_message):
	Do not force black text in quotation part of the message.


svn path=/trunk/; revision=35050
2008-02-19 08:51:16 +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
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
ca5d6d6a33 2007-08-16 mcrha Part of fix for bug #350539
svn path=/trunk/; revision=34017
2007-08-16 10:51:06 +00:00
4672dd71dd Fixes #450820.
2007-07-02  Wang Xin  <jedy.wang@sun.com>

    Fixes #450820.

    * em-format-quote.c: Add an empty new line at the beginning
    of the mail body when relpying a mail.


svn path=/trunk/; revision=33738
2007-07-02 06:58:41 +00:00
13d4452306 Fix compilation warnings in mail folder (#437935).
svn path=/trunk/; revision=33628
2007-06-03 02:54:32 +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
27cf0a5283 ** Fixes bug #360240
2007-03-16  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #360240

	* addressbook/gui/widgets/e-addressbook-view.c
	(e_contact_print_button):
	* addressbook/printing/e-contact-print.c (complete_sequence),
	(e_contact_build_style), (e_contact_print_response),
	(e_contact_print_contact_list_dialog_new):
	* shell/e-shell-importer.c (importer_file_page_new):
	* plugins/startup-wizard/startup-wizard.c
	(startup_wizard_timezone_page):
	* mail/em-vfolder-rule.c (select_source_with_changed), (get_widget):
	* mail/em-format-quote.c (emfq_format_source):
	* mail/mail-ops.c (save_messages_save):
	* mail/em-format.c (emf_init):
	* mail/em-format-html-display (em_format_html_get_search_dialog),
	(em_format_html_display_seearch_with), (ehhd_resize),
	(efhd_attachment_optional), (efhd_format_optional):
	* mail/em-folder-view.c (emfv_init):
	* mail/message-list.c (ml_tree_value_at):
	* composer/e-msg-composer-hdrs (header_new_recipient):
	* composer/e-msg-composer.c (e_msg_composer_show_help), (drop_action):
	* widgets/table/e-cell-text.c (ect_free_color):
	* widgets/misc/e-calendar-item.c (e_calendar_item_unrealize):
	* widgets/misc/e-icon-entry.c (e_icon_entry_pack_widget):
	Remove unused variables.


svn path=/trunk/; revision=33315
2007-03-16 21:13:06 +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
6f4d79f29e ** See bug #312397.
2005-08-05  Not Zed  <NotZed@Ximian.com>

        ** See bug #312397.

        * em-format-quote.c (emfq_format_message): if we are rendering an
        attached message, include the headers always and a marker for it.

svn path=/trunk/; revision=30026
2005-08-08 04:30:38 +00:00
44f24cdf5a ** See bug #273885.
2005-08-04  Not Zed  <NotZed@Ximian.com>

        ** See bug #273885.

        * em-utils.c (em_utils_edit_filters): setup filter source names
        properly translated.

        * em-filter-editor.c (em_filter_editor_construct): take an array
        of structs for the filter source so the incoming/outgoing is
        properly translated.

        ** See bug #312397.

        * em-format-quote.c (emfq_format_message): dont quote credits
        here.
        (emfq_format_message_prefix): new prefix handler for credits.
        (emfq_format_clone): invoke the message prefix before anything
        else.

        ** See bug #310840.

        * em-icon-stream.c (em_icon_stream_get_image): check for /0
        possibility.

        ** See bug #308512.

        * em-account-editor.c (emae_authtype_changed): take into account
        the writability of the password when sensitising remember
        password.
        (get_password): small hack to disable the save-password button
        when appropriate.

svn path=/trunk/; revision=29997
2005-08-05 06:53:35 +00:00
16eefad885 fix rodney's name choices. fix multiple-inclusion. fix forward references.
2005-05-19  Not Zed  <NotZed@Ximian.com>

        * em-folder-utils.h: fix rodney's name choices.  fix
        multiple-inclusion.  fix forward references.  fix all callers.
        add many fixme's for the busted api's.

        * em-format-quote.c (emfq_format_clone): use pseudo mime type to
        find message formatter.

        * em-format-html-display.c (efhd_format_message): remove, it
        didn't do anything.

        * em-format-html.c (efh_format_message): make this a handler
        callback.

        * em-format.c (emf_message_rfc822): make this use the pseudo
        mime-type x-evolution/message/rfc822 instead of the hardcoded
        format_message callback.

        * em-format-html-display.c (efhd_message_prefix): make this use a
        pseudo-mime-type handler rather than hard-coded, so it can be
        overridden by a plugin.

svn path=/trunk/; revision=29382
2005-05-19 06:06:35 +00:00
c9030af34b ** See bug #68866
2005-02-22  Not Zed  <NotZed@Ximian.com>

        ** See bug #68866

        * em-format-quote.c (emfq_format_headers): line-feed after all
        headers for blind people.

svn path=/trunk/; revision=28859
2005-02-23 06:15:18 +00:00
8652353f28 Moved various things from e-util to libedataserver.
2004-11-15  Not Zed  <NotZed@Ximian.com>

        * *.c: Moved various things from e-util to libedataserver.

        * GNOME_Evolution_Mail.server.in.in: remove the startup wizard stuff.

        * mail-config-druid.[ch]:
        * mail-account-editor.[ch]:
        * mail-account-gui.[ch]: removed & deleted.

        * mail-session.c (mail_session_init): and here too.
        * em-migrate.c (em_migrate_1_4): init camel-provider library too.
        (e_path_to_physical): copy from e-util/e-path.c.

        * Makefile.am (libevolution_mail_la_LIBADD): link to new libcamel
        provider too.

svn path=/trunk/; revision=28047
2004-12-03 03:38:03 +00:00
ef6a3af717 Merged notzed-eplugin-2-branch to head.
svn path=/trunk/; revision=27300
2004-09-20 05:59:55 +00:00
1d5b61d3d0 Partial fix for bug #62771
2004-08-10  Jeffrey Stedfast  <fejj@novell.com>

	Partial fix for bug #62771

	* em-format-quote.c (emfq_format_header): Same.

	* em-format-html.c (efh_format_header): Decode the
	X-Mailer/User-Agent headers.

svn path=/trunk/; revision=26889
2004-08-12 16:34:22 +00:00
27f894733e only call expunge if the folder is set. (emfb_enable_map[]): only enable
2004-07-09  Not Zed  <NotZed@Ximian.com>

        * em-folder-browser.c (emfb_folder_expunge): only call expunge if
        the folder is set.
        (emfb_enable_map[]): only enable expunge menu item if we have a
        valid folder set.

        ** See bug #60900.

        * em-format-html.c: convert the text_inline_parts hash to be keyed
        off the partid.
        (efh_free_inline_parts): -> efh_free_cache and fix to do it.

        * em-format.c (emf_free_cache): make the inline table cache other
        info too based on partid, this frees the structure.
        (emf_clone_inlines): copy all of the cache data.
        (em_format_is_inline): use the new data structure to determine
        state.
        (em_format_set_inline): same for setting.
        (emf_multipart_signed): cache/lookup the cached part.
        (emf_insert_cache): helper to add a cache entry.
        (emf_multipart_encrypted): cache decrypted part.
        (emf_application_xpkcs7mime): same.

2004-07-08  Not Zed  <NotZed@Ximian.com>

        ** See bug #60900 (related only).

        * em-format-html-display.c (efhd_attachment_show): let set_inline
        do the redraw itself if required.  kill some dead code.

        * em-format.c (em_format_set_inline): trigger a redraw here like
        the other em_format_set methods, if the state changed.

        * em-format.c (emf_format_clone): free inline table keys & setup
        string hash table.

        * em-format-quote.c (emfq_format_attachment):
        * em-format-html-display.c (efhd_format_attachment):
        * em-format-html.c (efh_format_attachment): is_inline api changes.

        * em-format-html-display.c (efhd_attachment_show): set_inline api
        changes.

        * em-format.c (em_format_is_inline): make this use the partid
        rather than the part address as a key, which may change.
        (emf_init): make the inline talbe a string hashtable.
        (emf_finalise): free inline keys.
        (emf_clone_inlines): copy the key string.

svn path=/trunk/; revision=26614
2004-07-10 01:31:04 +00:00
3135766500 Fix for bug #61199.
2004-07-07  Jeffrey Stedfast  <fejj@novell.com>

	Fix for bug #61199.

	* em-format-html.c (efh_format_address): Same.

	* em-format-quote.c (emfq_format_address): Make sure 'real' isn't
	NULL before using.

svn path=/trunk/; revision=26606
2004-07-09 13:57:54 +00:00
b28d4738f2 a few fixes.
2004-05-25  Jeffrey Stedfast  <fejj@novell.com>

	* mail-errors.xml: a few fixes.

	* em-format-quote.c (emfq_text_plain): Only strip the signature if
	we are in some wy modifying the content (we don't want to remove
	the signature if we are editing the message as a new
	message). Fixes bug #58826.

svn path=/trunk/; revision=26079
2004-05-25 16:16:25 +00:00
c22062eb58 Add a stripsig filter. Fixes bug #52767.
2004-05-13  Jeffrey Stedfast  <fejj@novell.com>

	* em-format-quote.c (emfq_text_plain): Add a stripsig
	filter. Fixes bug #52767.

	* em-stripsig-filter.[c,h]: New filter class to strip
	signatures. Useful when generating forwards/replies.

svn path=/trunk/; revision=25902
2004-05-13 15:37:54 +00:00
a116729eb5 format inline(d) parts automatically into the reply. Part of #55702.
2004-03-23  Not Zed  <NotZed@Ximian.com>

        * em-format-quote.c (emfq_format_attachment): format inline(d)
        parts automatically into the reply.  Part of #55702.

svn path=/trunk/; revision=25152
2004-03-23 06:52:16 +00:00
82c5c59152 Print the headers when forwarding inline/quoted. Fixes bug #53916.
2004-02-23  Jeffrey Stedfast  <fejj@ximian.com>

	* em-format-quote.c (emfq_format_message): Print the headers when
	forwarding inline/quoted. Fixes bug #53916.

svn path=/trunk/; revision=24833
2004-02-23 19:09:58 +00:00
803f1baab0 just print the \n after the credits in the same printf, rather than adding
2004-02-09  Not Zed  <NotZed@Ximian.com>

        * em-format-quote.c (emfq_format_message): just print the \n after
        the credits in the same printf, rather than adding an else.  Add a
        <br> too, otherwise it has no effect.

svn path=/trunk/; revision=24675
2004-02-09 05:45:12 +00:00
f1088a30d3 Make private (only EMFormatHTMLQuote used it and that class is no longer
2004-02-06  Jeffrey Stedfast  <fejj@ximian.com>

	* em-format-html.c (efh_format_headers): Make private (only
	EMFormatHTMLQuote used it and that class is no longer in use).
	(efh_format_message): Updated for above change.

	* em-format-quote.c (emfq_format_message): Always write a \n after
	the credits line.

svn path=/trunk/; revision=24661
2004-02-06 21:03:33 +00:00
df12f97f29 ** See bug 51660.
2004-01-14  Not Zed  <NotZed@Ximian.com>

        ** See bug 51660.

        * em-format-html-quote.c (efhq_multipart_related): setup part_id
        appropriately.

        * em-format-html-display.c (efhd_output_secure): use part_id in
        classid, and add .signed to part_id for subpart.
        (efhd_bonobo_unknown): use part_id in classid.
        (efhd_format_attachment): use part_id in classid's.

        * em-format-html.c (efh_multipart_related)
        (emfh_multipart_related_check): setup part_id for each subpart.
        (efh_output_secure): as above, and use the part_id for the
        classid.
        (em_format_html_add_pobject): use part_id for a generated classid.
        (efh_text_plain): setup pseudo-parts into part_id.

        * em-format.c (emf_format_clone): setup the part_id base, folder +
        uid.
        (emf_finalise): free the part_id gstring.
        (emf_init): allocate the part_id gstring.
        (em_format_add_puri): build the cid from the part_id rather than
        an arbitrary number, so it is more persistent.  Also save the
        part_id in the puri for multipart/related use.
        (emf_multipart_mixed, emf_multipart_alternative)
        (emf_multipart_appledouble, emf_multipart_encrypted)
        (emf_multipart_related, emf_multipart_signed): Set the part_id for
        each subpart.
        (emf_clear_puri_node): free part_id.

2004-01-13  Not Zed  <NotZed@Ximian.com>

        ** See bug 51660.

        * em-format-html-print.c (em_format_html_print_print): dont take
        message, get the message from the source formatter.

        * em-format.c (emf_format_clone): Added folder and uid parameters,
        changed camelmedium to a mimemessage.

        * em-format-html-display.c (efhd_attachment_button): check the
        icon image cache and if the image is there use it.

        * em-icon-stream.c (em_icon_stream_get_image): api to lookup
        finished images in cache.
        (em_icon_stream_new): add a cache key arg.
        (emis_sync_close): store the image in the cache once its
        completed.

svn path=/trunk/; revision=24210
2004-01-14 02:58:24 +00:00
2a88606f5d updated for camel namespace changes
2003-09-18  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c: updated for camel namespace changes

	* em-folder-view.c: updated for camel namespace changes

	* em-format-html-display.c: updated for camel namespace changes

	* em-format-html-quote.c: updated for camel namespace changes

	* em-format.c: updated for camel namespace changes

	* em-popup.c: updated for camel namespace changes

	* em-utils.c: updated for camel namespace changes

	* mail-autofilter.c: updated for camel namespace changes

	* mail-ops.c: updated for camel namespace changes

	* mail-session.c: updated for camel namespace changes

	* message-list.c: updated for camel namespace changes

	* message-tag-followup.c: updated for camel namespace changes

	* importers/evolution-mbox-importer.c: updated for camel namespace
	changes

2003-09-18  Jeffrey Stedfast  <fejj@ximian.com>

	* em-popup.c (emp_standard_menu_factory): Don't forget to
	initialise/increment 'i' when using it as an object id in the
	for-loop.

	* em-format.c (em_format_format_text): Initialise charset to NULL
	or it may be used uninitialised. Also include
	gnome-vfs-mime-handlers.h for gnome_vfs_mime_type_get_description().

svn path=/trunk/; revision=22610
2003-09-18 17:05:23 +00:00
81a0ff5bc4 cvs removed.
2003-09-17  Not Zed  <NotZed@Ximian.com>

         * folder-browser.c, folder-browser.h, folder-browser-ui.c
         folder-browser-ui.h, mail-callbacks.c, mail-callbacks.h
         mail-display.c, mail-display.h, mail-display-stream.c
         mail-display-stream.h, mail-format.c, mail-format.h
         mail-identify.c, mail-search.c, mail-search.h
         message-browser.c, message-browser.h, subscribe-dialog.c
         subscribe-dialog.h, mail-font-prefs.c, mail-font-prefs.h: cvs
         removed.

        * Makefile.am: Removed mail-font-prefs.[ch], hasn't been built for
        ages.

        * em-*.c: killed a bunch of printfs.

        * em-format-html-display.c (efhd_html_button_press_event): update
        for html object api chagnes.

        ** Merge in mail-refactor-2 branch.

svn path=/trunk/; revision=22602
2003-09-17 21:19:04 +00:00