aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-inline-filter.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix for bug #339052Jeffrey Stedfast2006-04-211-22/+39
| | | | | | | | | | | | | | | 2006-04-20 Jeffrey Stedfast <fejj@novell.com> Fix for bug #339052 * em-inline-filter.c (emif_add_part): Preserve all Content-Type params so that they may be restored later. * em-format.c (emf_inlinepgp_signed): Restore the original part's Content-Type params otherwise we lose valuable information such as charset or format=flowed or various other things. svn path=/trunk/; revision=31842
* s/int/guint/g for 1-bit bitfield. Remove cruft use guint for 1-bitKjartan Maraas2006-02-081-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* implement extraction of inline signed/encrypted pgp parts and package themMatt Brown2005-07-011-8/+22
| | | | | | | | | | | | 2005-06-24 Matt Brown <matt@mattb.net.nz> * em-inline-filter.c: implement extraction of inline signed/encrypted pgp parts and package them into x-inlinepgp-signed/x-inline-pgp-encrypted parts. * em-format-html.c: Formatters to verify/decrypt and then display the parts generated by the inline filter. svn path=/trunk/; revision=29603
* ** See bug #72609Not Zed2005-02-281-1/+5
| | | | | | | | | | | | 2005-02-24 Not Zed <NotZed@Ximian.com> ** See bug #72609 * em-inline-filter.c (emif_scan): try to convert the filename based on the incoming charset or the locale charset. This will make sure it is always valid. svn path=/trunk/; revision=28911
* if we end up with an application/octet-stream part, pre-snoop it so we setNot Zed2004-05-191-3/+16
| | | | | | | | | | | | | | | | | | | 2004-05-19 Not Zed <NotZed@Ximian.com> * em-inline-filter.c (emif_add_part): if we end up with an application/octet-stream part, pre-snoop it so we set the right mime type to start with. Fixes #58554. * em-format.c (emf_snoop_part): removed, now in em-utils. * em-utils.c (em_utils_snoop_type): rah rah, snoop a mime part's type. * em-format-html.c (efh_text_plain): Revert jeff's fix for #56290. Ugh, we already have all the citation info in local data. Removed the need for gconf too. svn path=/trunk/; revision=25974
* use a better test for non-full lines.Not Zed2004-04-211-2/+4
| | | | | | | | | 2004-04-21 Not Zed <NotZed@Ximian.com> * em-inline-filter.c (emif_scan): use a better test for non-full lines. svn path=/trunk/; revision=25554
* do a per-line validation of the uuencoded stuff, based on the length byte.Not Zed2004-04-021-0/+17
| | | | | | | | | 2004-04-02 Not Zed <NotZed@Ximian.com> * em-inline-filter.c: do a per-line validation of the uuencoded stuff, based on the length byte. svn path=/trunk/; revision=25297
* keep the windows charset filter around until we're done since if we set itNot Zed2004-01-091-4/+17
| | | | | | | | | | | | | | | | | | | | | | | 2004-01-09 Not Zed <NotZed@Ximian.com> * em-format.c (em_format_format_text): keep the windows charset filter around until we're done since if we set it up we reference its memory. Causes warnings and breaks message display. ** See bug #52637. * em-inline-filter.c (em_inline_filter_new): added a content-type paramter for the base content type. (em_inline_filter_finalize): free base content type. (emif_types[]): Added 'plain' parameter, indicates type needs plain parameters set on content type. (emif_add_part): inherit the full base type if it is set, for plain parts. * em-format-html.c (efh_text_plain): pass the part's content-type to the inline filter. svn path=/trunk/; revision=24121
* updated for CamelTransferEncoding namespace changesJeffrey Stedfast2003-09-191-8/+8
| | | | | | | | | | | | | | 2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * em-inline-filter.c: updated for CamelTransferEncoding namespace changes * em-inline-filter.h: updated for CamelTransferEncoding namespace changes * mail-ops.c: updated for CamelTransferEncoding namespace changes svn path=/trunk/; revision=22618
* cvs removed.Not Zed2003-09-181-0/+335
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