| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
* mail-identify.c (mail_identify_mime_part): Don't trust gnome-vfs
when it says "text/plain" if gnome_vfs_mime_type_from_name says
something different. Fixes a problem with recognizing icalendar
attachments labeled "application/octet-stream". Also, don't bother
asking gnome-vfs about winmail.dat attachments, since it will
often claim that they're MPEGs due to some mis-magic.
svn path=/trunk/; revision=12357
|
|
|
|
|
|
| |
helixcode.com with ximian.com all over the place.
svn path=/trunk/; revision=10440
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-identify.c (mail_identify_mime_part): If the message data
is online, sniff the data for a MIME type first, and use the
filename second. Makes it more reliable, and deals with the
specific case of "application/octet-stream; name=foo.vcf" which
gnome-vfs will identify as vcalendar, but which can also be a
vcard.
svn path=/trunk/; revision=9968
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-29 Kjartan Maraas <kmaraas@gnome.org>
* *.*: Cleaned up #includes. Remove unneccesary includes of
<gnome.h>, <gtk/gtk.h>, <bonobo.h> and replaced with more
fine grained headers where needed. Also marked a bunch of
strings for translations and added some missing prototypes.
svn path=/trunk/; revision=9025
|
|
|
|
|
|
|
| |
* mail-identify.c (mail_identify_mime_part): Fix an uninitialized
variable use.
svn path=/trunk/; revision=7838
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-format.c (mail_content_loaded): Check if a message part's
content is available, and if it's not, queue a thread that will
load it and then queue an idle-handler redisplay of the message.
(call_handler_function): Call mail_content_loaded() on the part
and don't try to display it if it's currently offline.
(get_data_wrapper_text): Simplify a bit
* mail-display.c (mail_display_queue_redisplay): rename and make
non-static.
(mail_display_redisplay): Use a "new and improved" way of
preserving the GtkHTML scroll location. ("new and improved" is
code for "gross and hackish", but there should be a real interface
for this eventually.)
(on_url_requested): Use mail_content_loaded() and don't write out
offline cid: URLs
* mail-identify.c (mail_identify_mime_part): Use
mail_content_loaded and don't try to identify the data if it's
offline.
svn path=/trunk/; revision=7813
|
|
|
|
|
|
|
|
|
|
| |
* mail-display.c (make_safe_filename):
* mail-format.c (handle_mystery):
* mail-identify.c (mail_identify_mime_part):
camel_mime_part_get_filename now deals with both
Content-Disposition and Content-Type.
svn path=/trunk/; revision=5215
|
|
|
|
|
|
|
|
|
|
| |
* mail-identify.c: Remove workaround for gnome-vfs 0.2 bug.
* mail-format.c (lookup_handler): Remove workaround for function
introduced between gnome-vfs 0.2 and 0.3, since we depend on 0.3
now.
svn path=/trunk/; revision=4777
|
|
|
|
| |
svn path=/trunk/; revision=4687
|
|
|
|
|
|
|
| |
* mail-identify.c: Add a workaround for a small gnome-vfs 0.2 bug
so we don't need to require CVS gnome-vfs.
svn path=/trunk/; revision=3924
|
|
|
|
|
|
|
| |
* mail-identify.c (mail_identify_mime_part): Oops. My gnome-vfs
was out-of-date. Update for changed function name.
svn path=/trunk/; revision=3898
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-identify.c (mail_identify_mime_part): Use the gnomevfs
sniff buffer interface to try to identify the MIME type when
everything else fails.
* mail-display.c (on_object_requested):
* mail-format.c (lookup_handler, handle_undisplayable,
handle_audio): s/gnome_mime/gnome_vfs_mime/
* Makefile.am: Add gnomevfs stuff
svn path=/trunk/; revision=3893
|
|
|
|
|
|
|
|
| |
* mail.h: consolidate mail-format.h, mail-identify.h, mail-ops.h,
main.h and session.h into this new file. There's no reason to have
a .h for every .c.
svn path=/trunk/; revision=2830
|
|
* mail-format.c (lookup_handler, etc): Improve the builtin vs
bonobo selection code.
(handle_mystery): Include name and Content-Description in the
"mystery data" info, when available
(handle_unknown_type): Call mail_identify_mime_part before
giving up.
(handle_undisplayable): Split out of handle_unknown_type now
that handle_unknown_type can try alternate viewers.
(handle_via_bonobo): Fall back to handle_undisplayable if the
bonobo control fails.
* mail-identify.c (mail_identify_mime_part): New function to
attempt to identify a MIME part that we can't identify based on
Content-Type alone.
* mail-display.c (on_url_requested): redo the mystery data icon
display stuff less kludgily.
svn path=/trunk/; revision=2684
|