aboutsummaryrefslogtreecommitdiffstats
path: root/modules/itip-formatter
Commit message (Collapse)AuthorAgeFilesLines
* Rename libemformat to libevolution-mail-formatter.Matthew Barnes2013-05-282-2/+2
| | | | | | To make Evolution's shared libraries more consistent. Also add an evolution-mail-formatter documentation module.
* Rename libeshell to libevolution-shell.Matthew Barnes2013-05-282-2/+2
| | | | | | To make Evolution's shared libraries more consistent. Also rename the documentation module to evolution-shell.
* Rename libeutil to libevolution-util.Matthew Barnes2013-05-282-2/+2
| | | | | | To make Evolution's shared libraries more consistent. Also rename the documentation module to evolution-util.
* Convert EMailPart to a GObject.Matthew Barnes2013-05-205-111/+205
| | | | | EMailPart is reference-counted, subclassed, and allows a custom finalize function. There's no excuse for it not to use GObject.
* Add e_mail_part_get_id().Matthew Barnes2013-05-201-2/+4
|
* em-format cleanups.Matthew Barnes2013-05-202-6/+8
|
* Remove ECalShellSettings.Matthew Barnes2013-03-171-15/+32
| | | | | | | | EShellSettings predates GSettings and is no longer necessary. GSettings allows binding GObject properties to GSettings keys, with optional mapping functions. That fulfills the purpose of EShellSettings.
* Use e_source_registry_list_enabled() where appropriate.Matthew Barnes2013-03-171-12/+3
|
* [itip-formatter] Reference a view when searching for a calendarTomas Popela2013-03-051-1/+2
| | | | | | | There were printed warnings on console, which may cause crashes, when the meeting invitation was inside an attached message. By adding a reference to the view it'll not disappear before the search is done with it.
* EMailPartItip: Remove redundant client cache.Matthew Barnes2013-02-283-46/+0
| | | | EClientCache already serves this purpose.
* ItipView: Use EClientCache to obtain calendar clients.Matthew Barnes2013-02-281-3/+25
|
* ItipView: Replace "registry" property with "client-cache".Matthew Barnes2013-02-285-101/+146
| | | | Obtain the ESourceRegistry with e_client_cache_ref_registry().
* itip-view.h cleanups.Matthew Barnes2013-02-281-179/+159
|
* Bug #693625 - [itip-formatter] Save button insensitive for multiple eventsMilan Crha2013-02-261-0/+2
|
* Bug #694170 - Accepted invitation not removed from Inbox when it shouldMilan Crha2013-02-221-3/+1
|
* G_PRIORITY_HIGH_IDLE is sufficient to beat GTK+ redraws.Matthew Barnes2013-02-091-2/+4
| | | | | | GTK+ uses (G_PRIORITY_HIGH_IDLE + 20) for redrawing operations, which is actually a slightly lower priority than G_PRIORITY_HIGH_IDLE. Therefore for our purpose, G_PRIORITY_HIGH_IDLE is sufficient.
* Add comments around g_idle_add() changesMilan Crha2013-02-091-0/+1
|
* Bug #683867 - Schedule actions with higher idle priorityMichel Dänzer2013-02-091-1/+1
|
* Revert "Bug #683867 - Schedule actions with higher idle priority"Matthew Barnes2013-02-081-1/+1
| | | | | | | | | This reverts commit 2b507716b257e6ef98dae8463180dbe718eb7b64. The commit contains not a single comment as to why these custom priority values are being used. The rationale needs to be documented in the code, either at each call point or preferrably at a centralized priority value definition.
* Bug #683867 - Schedule actions with higher idle priorityMichel Dänzer2013-02-081-1/+1
|
* Teach EMailExtensionRegistry to find extensions.Matthew Barnes2013-02-012-84/+0
| | | | Restore this commit with a proper bug fix to follow.
* Fix up error handling around e_book/cal_client_connect_finish().Matthew Barnes2013-01-311-15/+8
|
* Use e_cal_client_connect().Matthew Barnes2013-01-301-19/+15
| | | | Instead of e_client_utils_open_new() or e_cal_client_new().
* Revert "Teach EMailExtensionRegistry to find extensions."Milan Crha2013-01-292-0/+84
| | | | | | | | | | This reverts commit bf30024dd7973006bf99d0ae509a7f0022368a41, because it breaks EMailFormatter/Parser extensions, like the prefer-plain. The thing is that the internal formatters/parsers (also extensions) should be always added first, and only after then can be added extended extensions, which are used before those internal. This constraint was not satisfied with the reverted commit, the order of extension registration was unpredictable, depended on GType.
* Bump GDK_VERSION_MIN_REQUIRED to GDK_VERSION_3_2.Matthew Barnes2013-01-201-7/+7
| | | | | Clean up resulting deprecation warnings, which were all related to GtkOrientable consolidation (e.g. gtk_hbox_new() -> gtk_box_new()).
* Bug #692005 - Changing character encoding doesn't workMilan Crha2013-01-191-0/+11
|
* Move the contact map widgets to addressbook/gui/widgets.Matthew Barnes2012-12-132-4/+0
| | | | | | | | | | | | Move the supporting widgets for the contact maps feature alongside EABContactDisplay. Removing them from libeutil helps isolate our usage of libchamplain so it's not imposed on the entire application, and even 3rd party software. That libchamplain is an optional dependency only further complicates the matter. Ideally I'd like to somehow isolate this feature in an extension module, but we currently lack sufficient hooks for such an extension. So this arrangement will have to suffice for now.
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-136-25/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Teach EMailExtensionRegistry to find extensions.Matthew Barnes2012-12-082-84/+0
| | | | | | | | | | | | | | | | | | | | | Now we have the following extension points in the GType hierarchy: E_TYPE_MAIL_FORMATTER_EXTENSION E_TYPE_MAIL_FORMATTER_PRINT_EXTENSION E_TYPE_MAIL_FORMATTER_QUOTE_EXTENSION E_TYPE_MAIL_PARSER_EXTENSION A registry just needs to be given one of these extension points, and it can use g_type_children() to find and load all registered extensions. This eliminates e-mail-format-extensions.[ch] as well as the dynamic loaders I added a few commits back. Dynamically loaded extensions are now easier to register, at the cost of internal extensions being a tad more cumbersome to register. Fair tradeoff, imo. This also makes e_mail_extension_registry_add_extension() a private function used only by e_mail_formatter_extension_registry_load() and e_mail_parser_extension_registry_load().
* EMailParserExtension: Convert get_flags() to an enum field.Matthew Barnes2012-12-081-7/+1
| | | | | | | Of the parser extensions that override get_flags(), they all return a fixed set of flags. So we don't need an instance of the extension to obtain its flags. Just make it an EMailParserExtensionFlags field in the class structure.
* Convert EMailParserExtension to an abstract class.Matthew Barnes2012-12-081-21/+10
| | | | | | | | | With the previous changes, all parser extensions derive from GObjectClass and implement the EMailParserExtensionInterface. Simplify things further by making EMailParserExtension an abstract base class so parser extensions are now just direct subclasses and need not bother with implementing GObject interfaces.
* EMailFormatterExtension: Convert get_description() to a string field.Matthew Barnes2012-12-081-7/+1
| | | | | | Of the formatter extensions that provide a description, they all use a static string. So we don't need an instance of the extension to obtain its description. Just make it a string field in the class structure.
* EMailFormatterExtension: Convert get_display_name() to a string field.Matthew Barnes2012-12-081-7/+1
| | | | | | Of the formatter extensions that provide a display name, they all use a static string. So we don't need an instance of the extension to obtain its display name. Just make it a string field in the class structure.
* Convert EMailFormatterExtension to an abstract class.Matthew Barnes2012-12-081-21/+11
| | | | | | | | | With the previous changes, all formatter extensions derive from GObjectClass and implement the EMailFormatterExtensionInterface. Simplify things further by making EMailFormatterExtension an abstract base class so formatter extensions are now just direct subclasses and need not bother with implementing GObject interfaces.
* Remove EMailExtension.Matthew Barnes2012-12-082-81/+75
| | | | | | | | | | | | EMailExtension is now too trivial to keep as a standalone interface. Add a 'mime_types' string array to the EMailFormatterExtension and EMailFormatterParser interface structs. Alter e_mail_extension_registry_add_extension() to take a 'mime_types' string array and the GType of an extension to instantiate, rather than the extension instance directly. e_mail_extension_registry_remove_extension() is no longer needed.
* EMailExtension: Replace mime_types() method with a string array.Matthew Barnes2012-12-082-20/+12
| | | | | | | | | | | In all implementations for EMailExtension, the MIME type list is a static string array -- with the single exception of the text-highlight module, where the MIME type list is dynamically assembled once. Replace the mime_types() method with a "mime_types" string array in the EMailExtensionInterface struct. Then the list of MIME types supported by the class implementing the EMailExtensionInterface can be obtained without requiring an instance of the class.
* EMailParserExtension: Collect EMailParts in a GQueue.Matthew Barnes2012-12-081-7/+10
| | | | | | | | | | | | | | | Collect EMailParts in a GQueue provided to the EMailParserExtension, and change the return type of parse() to gboolean to indicate whether the given CamelMimePart was handled (even if no parts were added to the output GQueue). This avoids the awkward corner case of a parser extension returning a linked list node with a NULL data member to indicate the CamelMimePart was handled but no EMailParts produced, and then having to watch out for that NULL data member corner case throughout the application. Also, remove the GCancellable parameter from e_mail_parser_error() and e_mail_parser_wrap_as_attachment() since neither function blocks.
* Make EMailPartList thread-safe.Matthew Barnes2012-12-081-3/+3
| | | | | | Exposing data members in the public struct is unwise, especially when EMailPartList is used from multiple threads. Instead keep the members private and provide a set of thread-safe functions to manipulate them.
* EMailFormatterContext: Keep a reference to EMailPartList.Matthew Barnes2012-12-081-8/+14
| | | | | Replace the individual components of an EMailPartList with a reference on the EMailPartList itself in EMailFormatContext. Easier to manage.
* Bug #687999 - 'Open calendar' in invitation email does nothingMilan Crha2012-11-121-50/+25
|
* Coding style and whitespace cleanup.Matthew Barnes2012-11-112-20/+25
|
* Bug #687442 - Magic spacebar avoids iTip formatter comment writeMilan Crha2012-11-021-6/+6
|
* Prefer e_source_registry_check_enabled().Matthew Barnes2012-10-261-3/+3
| | | | | Prefer e_source_registry_check_enabled() over e_source_get_enabled() for most instances where we want to exclude disabled data sources.
* [itip-formatter] Do not include empty values in a printoutMilan Crha2012-09-121-22/+38
|
* [itip-formatter] May not send replies on meeting request mailsMilan Crha2012-09-101-1/+1
|
* [itip-formatter] Cancel pending event searches when any foundMilan Crha2012-09-101-3/+37
|
* Add support for application/ics to ITIP formatterDan Vrátil2012-08-282-3/+20
|
* Coding style and whitespace cleanup.Matthew Barnes2012-08-203-86/+127
|
* Remove GroupWise specific code from itip-formatterMilan Crha2012-08-132-55/+0
| | | | | | | | This had been removing meeting invitations from mail folders when they were added to calendars which had set "save-schedules", but it removed them only from summary, thus server had the message still there, only users didn't see them. As a comment said, this belongs to GroupWise mail provider anyway, thus I removed it.
* Fix redefinition of EMailPartItip in itip-view.hMilan Crha2012-08-091-3/+5
|
* Bug #681400 - Fix build against WebKitGtk+ 1.9.6Dan Vrátil2012-08-081-2/+10
|
* Bug #679404 - Read colors for message preview from Gtk themeDan Vrátil2012-07-273-10/+9
|
* Bug #679049 - [itip-formatter] Cannot reply to meeting invitationDan Vrátil2012-07-181-8/+43
|
* Bug #548778 - Use original location when replying in Search FolderMilan Crha2012-07-111-1/+1
|
* itip-formatter/plugin: Can't link a module to another module.Matthew Barnes2012-06-261-2/+5
| | | | | Point modules/itip-formatter/plugin/Makefile.am to the source files it needs from the module directory. Have to rebuild them for the plugin.
* Include e-mail-part-itip.h in tarball.Matthew Barnes2012-06-261-0/+1
| | | | Private header, but still need to distribute it.
* itip-formatter: Forgot to build the EPluginMatthew Barnes2012-06-261-0/+2
|
* Coding style and whitespace cleanup.Matthew Barnes2012-06-252-8/+8
|
* Reduce usage of g_type_class_peek_parent().Matthew Barnes2012-06-252-4/+0
| | | | G_DEFINE_TYPE macros define a static "parent_class" variable.
* Do not call g_object_notify() when property didn't changeMilan Crha2012-06-181-0/+3
|
* Fix typo in SOURCES for itip-formatterMilan Crha2012-06-151-1/+1
|
* Add forgotten -include $(top_srcdir)/git.mk to Makefile.am filesMilan Crha2012-06-141-0/+2
|
* Bug #677607 - Closing Mail Browser emits critical warningsDan Vrátil2012-06-131-2/+4
|
* itip-formatter: Remove redundant declaration.Matthew Barnes2012-06-091-2/+0
|
* ItipView should hold a reference to underlaying WebKitDOMDocumentDan Vrátil2012-06-081-1/+2
|
* Bug #670876 - Missing mnemonics for buttons for vcard attached to emailDan Vrátil2012-06-081-43/+4
|
* Fix build issue in itip-formatterMilan Crha2012-06-071-1/+3
|
* Mail formatter rewrite - convert some plugins to modulesDan Vrátil2012-06-0617-0/+7880
audio-inline, itip-formatter, prefer-plain, tnef-attachments and vcard-inline plugins were converted to modules so that they can fit into concept of the new formatter. Every module still installs .eplug file, because there is no suitable API at the moment to register plugins to the plugins dialog and to extend the Preferences dialog.