aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-attachment.c
Commit message (Collapse)AuthorAgeFilesLines
* Make EAttachment column updates thread-safe.Matthew Barnes2013-05-241-8/+125
| | | | | | | | | EAttachment updates its tree model row directly in response to property change notifications, but now change notifications can come from worker threads whereas the tree model row should only be updated from the main thread. To compensate, respond to notifications by adding idle sources to the default context. The idle callback will update the row from the appropriate thread.
* Make EAttachment a little more thread-safe.Matthew Barnes2013-05-241-69/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | EAttachment is now used from worker threads by EMailFormatterAttachment, so add some thread-safe accessor functions to eliminate potential races. Added thread-safe functions: e_attachment_dup_disposition() e_attachment_ref_file() e_attachment_ref_file_info() e_attachment_ref_icon() e_attachment_ref_mime_part() e_attachment_dup_description() e_attachment_dup_thumbnail_path() Renamed functions: e_attachment_get_mime_type() -> e_attachment_dup_mime_type() Removed non-thread-safe functions: e_attachment_get_file() e_attachment_get_file_info() e_attachment_get_icon() e_attachment_get_mime_part() e_attachment_get_description() e_attachment_get_thumbnail_path()
* Attachment-related cleanups.Matthew Barnes2013-05-241-64/+76
|
* EAttachment: Use Subject as fallback filename for message attachmentsMilan Crha2013-02-201-0/+21
|
* EAttachment: Decode part's file name before using itMilan Crha2013-02-201-2/+12
|
* Coding style and whitespace cleanup.Matthew Barnes2013-01-111-6/+6
|
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-0/+2882
Evolution consists of entirely too many small utility libraries, which increases linking and loading time, places a burden on higher layers of the application (e.g. modules) which has to remember to link to all the small in-tree utility libraries, and makes it difficult to generate API documentation for these utility libraries in one Gtk-Doc module. Merge the following utility libraries under the umbrella of libeutil, and enforce a single-include policy on libeutil so we can reorganize the files as desired without disrupting its pseudo-public API. libemail-utils/libemail-utils.la libevolution-utils/libevolution-utils.la filter/libfilter.la widgets/e-timezone-dialog/libetimezonedialog.la widgets/menus/libmenus.la widgets/misc/libemiscwidgets.la widgets/table/libetable.la widgets/text/libetext.la This also merges libedataserverui from the Evolution-Data-Server module, since Evolution is its only consumer nowadays, and I'd like to make some improvements to those APIs without concern for backward-compatibility. And finally, start a Gtk-Doc module for libeutil. It's going to be a project just getting all the symbols _listed_ much less _documented_. But the skeletal structure is in place and I'm off to a good start.