aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-display.c
Commit message (Collapse)AuthorAgeFilesLines
* EMailDisplay cleanups.Matthew Barnes2013-06-051-62/+75
|
* Distinguish "attachment-wrapper" elements from attachments.Matthew Barnes2013-05-291-12/+16
| | | | | | | | | | | | | | | | | | | | The HTML for attachments always has the following form: <div class="attachment-wrapper" id="something" style="display: block;"> <actual attachment element> </div> The <div> element controls attachment visibility through its "display" style attribute, which is either "block" or "none". Problem is the <actual attachment element> was getting the same ID as its parent <div> element. So when either element was requested by ID, in certain cases the wrong element was returned and caused misbehavior and console warnings. Solve this by adding a "wrapper" suffix to the <div> element ID. So in the example above, id="something" gets the <actual attachment element>, whereas id="something.wrapper" gets the <div> element.
* Convert EMailPart to a GObject.Matthew Barnes2013-05-201-4/+4
| | | | | 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_ref_mime_part().Matthew Barnes2013-05-201-1/+6
|
* Add e_mail_part_id_has_prefix().Matthew Barnes2013-05-201-1/+1
|
* Add e_mail_part_get_id().Matthew Barnes2013-05-201-8/+6
|
* em-format cleanups.Matthew Barnes2013-05-201-1/+1
|
* Remove e_mail_display_set_charset().Matthew Barnes2013-05-151-11/+0
| | | | | Use e_mail_formatter_set_charset() instead. Obtain the EMailFormatter with e_mail_display_get_formatter().
* EMailDisplay cleanups.Matthew Barnes2013-05-151-54/+68
|
* Right-align mail header names.Matthew Barnes2013-05-091-3/+3
| | | | | | | We used to do this before WebKit and it looked better. Also fix up the header section for right-to-left locales: put the collapse button on the right, and images on the left.
* [EMailFormatter] Use GdkRGBA and GtkStyleContext to get theme colorsMilan Crha2013-04-231-13/+8
| | | | | | | | | | It could happen that header text color had been picked white one time, but the other time black as expected (for me usually when I started Evolution in Calendar and moved to Mail view, the header text color was white, while when starting in Mail view it was black). The change to use GtkStyleContext is there only as a cleanup from deprecated GtkStyle, and to make things easier too, because both GtkStyle and the GtkStyleContext had set white color for some reason.
* Bug #696173 - Various memory leaksMilan Crha2013-03-251-0/+4
|
* Fix usage of non-existing variable in debug message.Tomas Popela2013-03-211-1/+1
|
* EMailFormatter: Remove "only-local-photos" property.Matthew Barnes2013-02-271-2/+0
| | | | EPhotoCache already handles this setting.
* Fix a memory leak in EMailDisplay::do_reload_displayMilan Crha2013-02-211-2/+2
|
* G_PRIORITY_HIGH_IDLE is sufficient to beat GTK+ redraws.Matthew Barnes2013-02-091-4/+5
| | | | | | 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
|
* Bug #692009 - text/css always formatted as attachmentMilan Crha2013-01-241-1/+1
| | | | | | | Might be the final change for this bug, the two previous commits were not using the right approach, causing regression in rendering of text/* parts which were not named in the list of excluded content types for a 'raw' formatting.
* Bug #692005 - Changing character encoding doesn't workMilan Crha2013-01-191-4/+48
|
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-19/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Make EMailPartList thread-safe.Matthew Barnes2012-12-081-31/+42
| | | | | | 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.
* EMailDisplay lefts opened file handles to downloaded imagesMilan Crha2012-11-231-22/+26
| | | | | | | This fixes three things: a) mail_display_resource_requested() was leaking file handles on downloaded images b) it's not necessary to open files, it's enough to test whether file exists c) mail_display_button_press_event() used incorrect key for "http" cache
* Relative URI can crash Evolution in http_request_send_async()Milan Crha2012-11-131-1/+2
|
* Bug 685786 - EWebView: Signal handlers never disconnectedMatthew Barnes2012-10-141-1/+8
| | | | | | | | | | | | Both EWebView and EMailDisplay listen for "changed" signals from a GSettings instance, passing itself as the 'user_data' to the signal handler e_web_view_update_fonts(). But in both cases the signal handler was left connected after EWebView and EMailDisplay were finalized, resulting in the signal handler receiving a dangling pointer. Not using g_signal_connect_object() here because of the unresolved reference leak issue in GObject. The GSettings instance is likely cached internally and lives well beyond EWebView and EMailDisplay.
* EMailDisplay cleanups.Matthew Barnes2012-10-141-430/+467
|
* Bug #678835 - Disconnect signal handlers from WebKit plugin widgets on disposeMilan Crha2012-09-111-1/+24
|
* Bug #683130 - Folder hangs when reading mail with an attachmentDan Vrátil2012-09-041-5/+13
|
* Bug #681431 - Expanded attachment bar hides headersDan Vrátil2012-08-291-5/+3
|
* Coding style and whitespace cleanup.Matthew Barnes2012-08-201-58/+86
|
* Bug #681432 - Runtime warnings from e_mail_display_reload()Dan Vrátil2012-08-101-24/+18
|
* Remove some unused code from EMailReaderDan Vrátil2012-08-091-0/+12
| | | | | | This is leftover from the WebKit port and it didn't work properly. Most of the code was removed, some was moved to a better place.
* Remove all references to JavaScriptCore and use of JavaScriptDan Vrátil2012-08-091-19/+65
| | | | | | | | | | JavaScript is disabled in EWebView, so any attempt to evaluate a JavaScript code will fail. We are using DOM bindings instead to interact with the document. This commit removes some helper functions created in the early days of WebKit port which are not used anymore and also fixes mail-to-task plugin, which was relying on some JavaScript.
* Bug #680724 - Attachment bar regressionDan Vrátil2012-08-081-6/+0
|
* Bug #680666 - Contacts/Tasks/Memos preview pane does not follow theme colorsDan Vrátil2012-08-021-5/+15
|
* Bug #679404 - Read colors for message preview from Gtk themeDan Vrátil2012-07-271-14/+15
|
* Highlighting of text parts and source codesDan Vrátil2012-07-251-0/+6
| | | | | | | | | | This adds 'Format as' submenu to the preview pane context menu. The submenu is available only for text/plain parts or parts with a source code (we support about 40 various types). Using the 'highlight' utility, the formatter processes the part and highlights the source code it contains. (discussion in bug #680026)
* Bug #679843 - Double free when printingDan Vrátil2012-07-181-28/+30
|
* Bug 679726 - Can't unfold long recipient list in message windowDan Vrátil2012-07-131-8/+5
|
* Cancel scheduled EMailDisplay reload in _dispose()Dan Vrátil2012-06-281-5/+11
|
* Don't load images in preview pane when openning Preferences DialogDan Vrátil2012-06-281-38/+41
| | | | | | | | | | | | | | Openning the Preferences dialog for the first time causes many property bindings to be created. GLib emits a lot of ::notify signals during this, one of them being about image-loading-policy. We now correctly check, whether the change was to allow loading images, or not (and we don't display them in that case). Finaly, e_mail_display_reload() will always schedule the action via g_idle_add() so that we can merge plenty of _reload() calls caused by the afformentioned ::notify emitions into single call when all the noise is over.
* Bug #515004 - Allow toggling between text and HTML view of mailDan Vrátil2012-06-261-23/+55
|
* Coding style and whitespace cleanup.Matthew Barnes2012-06-251-2/+2
|
* Reduce usage of g_type_class_peek_parent().Matthew Barnes2012-06-251-7/+6
| | | | G_DEFINE_TYPE macros define a static "parent_class" variable.
* Disable a leftover debug messageDan Vrátil2012-06-191-2/+0
|
* Reduce amount or EMailDisplay reloads when displaying Preferences dialogDan Vrátil2012-06-191-14/+38
|
* Do not call g_object_notify() when property didn't changeMilan Crha2012-06-181-2/+5
|
* Bug #764467 - URL popup shows all Copy optionsDan Vrátil2012-06-181-39/+32
|
* Fix some memory leaksDan Vrátil2012-06-181-9/+8
|
* Bug #674887 - Hang on sender's photo lookupDan Vrátil2012-06-141-3/+8
|
* Fix displayed message headersDan Vrátil2012-06-081-0/+2
| | | | | | | | | The new formatter was ignoring selected headers, always displaying only From, To, Subject and Date (default headers). Handling of the currently displayed headers has been moved to EMailConfigFormatHTML extension, because it is related to configuration of EMailFormatter, rather then EMailReader.
* Mail formatter rewriteDan Vrátil2012-06-061-323/+456
| | | | | | | | All mail-parsing and formatting code has been moved to em-format. Parsing is handeled by EMailParser class, formatting by EMailFormatter. Both classes have registry which hold extensions - simple classes that do actual parsing and formatting. Each supported mime-type has it's own parser and formatter extension class.
* Whitespace cleanups.Matthew Barnes2012-05-131-3/+2
|
* Fix displaying icons in EWebView alertsDan Vrátil2012-05-031-1/+0
|
* Fix memleak introduced from patch for bug #674466Priit Laes2012-04-301-0/+1
|
* Bug #674060 - Preview panel on folder change not updatedDan Vrátil2012-04-271-2/+9
|
* Bug #674466 - Mail's preview panel can show listing of local filesystem rootDan Vrátil2012-04-271-2/+15
|
* Bug #674272 - Contacts preview differs with mailer running and notDan Vrátil2012-04-231-12/+7
| | | | | | This splits the giant EMailRequest to individual EFileRequest, EStockRequest, EHTTPRequest and EMailRequest, making the first two available globally from e-utils, the othe two are loaded only with mailer, since no other component uses them.
* Bug #673108 - Font settings and monospace fonts don't workDan Vrátil2012-04-121-0/+56
|
* Whitespace cleanup.Matthew Barnes2012-04-021-111/+111
| | | | | Replace 8-space indentation with tab characters, and various other automated cleanups.
* WebKit port - port formatter and mail moduleDan Vrátil2012-03-291-132/+1298
|
* Mail widget cleanups.Matthew Barnes2011-11-221-43/+22
|
* Bug #530335 - Allow Reply to selected address onlyRathin2011-06-141-0/+8
|
* Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-271-1/+4
|
* Whitespace and coding style cleanups.Matthew Barnes2011-05-081-3/+11
|
* EMailDisplay: Coding style cleanup.Matthew Barnes2011-05-061-1/+2
|
* Remove 'from_uri' params from e-msg-composer-utils.c.Matthew Barnes2011-05-041-5/+1
| | | | | Pass CamelFolder objects instead, which are already available at almost every call site.
* Bug #303653 - Make headers collapsable in preview paneDan Vrátil2011-04-271-0/+5
|
* Coding style and whitespace cleanup.Matthew Barnes2011-03-061-1/+2
|
* Bug #641374 - "Send new mail to..." popup action doesn't workMilan Crha2011-02-281-16/+38
|
* Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-02-251-9/+5
|
* Coding style and whitespace cleanup.Matthew Barnes2011-01-301-2/+10
|
* Bug #627176 - Do not spawn other process when clicking mailto: uriMilan Crha2010-12-021-0/+8
|
* Change em_format_redraw() to em_format_queue_redraw().Matthew Barnes2010-08-111-2/+2
| | | | | | This changes the behavior of the function: instead of redrawing immediately it schedules the redraw from an idle callback. This allows us to make multiple changes to EMFormat before redrawing.
* Bug #614325 - Shrink/expand To,Cc header images is missingMilan Crha2010-04-081-2/+2
|
* Minor EMailReader cleanup.Matthew Barnes2010-03-261-0/+20
| | | | | | | Add a load_string() method to EWebView. Have EMailDisplay override load_string() and check that the formatter is not busy before loading the string. Have EMailReader call e_web_view_load_string() directly on the EMailDisplay instance, and eliminate update_webview_content().
* Bug 612374 - Build failure due to recent GTK+ deprecationsMatthew Barnes2010-03-101-2/+2
|
* Finish killing Bonobo.Matthew Barnes2009-09-091-722/+31
|
* Add menu item ellipsis according to bug #324492.Matthew Barnes2009-08-251-1/+1
|
* Get the mailer's URI popup menu working.Matthew Barnes2009-05-281-22/+467
| | | | | Except for "Add to Address Book", which looks like a project unto itself. This also kills off another plugin (copy-tool).
* Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: a11y/widgets/ea-combo-button.c a11y/widgets/ea-combo-button.h addressbook/gui/component/addressbook-component.c addressbook/gui/component/addressbook-component.h addressbook/gui/component/addressbook-view.c addressbook/gui/component/addressbook-view.h addressbook/gui/component/component-factory.c addressbook/gui/widgets/e-addressbook-view.c addressbook/gui/widgets/eab-contact-display.c addressbook/gui/widgets/eab-gui-util.h addressbook/gui/widgets/eab-menu.c addressbook/gui/widgets/eab-menu.h addressbook/gui/widgets/eab-popup-control.c addressbook/gui/widgets/eab-popup-control.h addressbook/gui/widgets/eab-popup.c addressbook/gui/widgets/eab-popup.h calendar/gui/cal-search-bar.c calendar/gui/calendar-commands.c calendar/gui/calendar-component.c calendar/gui/comp-editor-factory.c calendar/gui/comp-editor-factory.h calendar/gui/control-factory.c calendar/gui/dialogs/comp-editor.c calendar/gui/e-cal-component-memo-preview.c calendar/gui/e-cal-component-memo-preview.h calendar/gui/e-calendar-table.c calendar/gui/e-memo-table.c calendar/gui/e-memos.c calendar/gui/e-tasks.c calendar/gui/gnome-cal.c calendar/gui/gnome-cal.h calendar/gui/itip-bonobo-control.c calendar/gui/itip-bonobo-control.h calendar/gui/main.c calendar/gui/memos-component.c calendar/gui/memos-control.c calendar/gui/memos-control.h calendar/gui/migration.c calendar/gui/migration.h calendar/gui/tasks-component.c calendar/gui/tasks-control.c calendar/importers/main.c composer/Makefile.am composer/e-composer-header-table.c composer/e-composer-header.c composer/e-composer-header.h composer/e-composer-name-header.c composer/e-composer-private.c composer/e-composer-text-header.c composer/e-msg-composer.c composer/e-msg-composer.h e-util/e-corba-utils.h e-util/e-logger.c e-util/e-logger.h e-util/e-util-labels.c e-util/e-util-labels.h em-format/em-format.c mail/Makefile.am mail/e-mail-shell-migrate.c mail/em-account-editor.c mail/em-account-editor.h mail/em-composer-prefs.c mail/em-composer-utils.c mail/em-composer-utils.h mail/em-folder-browser.c mail/em-folder-tree-model.c mail/em-folder-tree.c mail/em-folder-tree.h mail/em-folder-utils.c mail/em-folder-utils.h mail/em-folder-view.c mail/em-format-html-display.c mail/em-format-html.c mail/em-mailer-prefs.c mail/em-mailer-prefs.h mail/em-message-browser.c mail/em-message-browser.h mail/em-network-prefs.h mail/em-popup.c mail/em-utils.c mail/importers/Makefile.am mail/mail-component-factory.c mail/mail-component.c mail/mail-config-factory.c mail/mail-config-factory.h mail/mail-config.c mail/mail-dialogs.glade mail/mail-types.h plugins/calendar-weather/calendar-weather.c plugins/mail-account-disable/mail-account-disable.c plugins/select-one-source/select-one-source.c po/POTFILES.in shell/e-component-registry.c shell/e-component-registry.h shell/e-component-view.c shell/e-component-view.h shell/e-corba-config-page.c shell/e-corba-config-page.h shell/e-shell-constants.h shell/e-shell-settings-dialog.c shell/e-shell-settings-dialog.h shell/e-shell-window-commands.c shell/e-shell-window.c shell/e-shell.h shell/e-sidebar.c shell/e-sidebar.h shell/e-user-creatable-items-handler.c shell/e-user-creatable-items-handler.h shell/es-menu.c shell/es-menu.h shell/evolution-component.h shell/evolution-config-control.c shell/evolution-config-control.h shell/evolution-listener.c shell/evolution-listener.h shell/evolution-shell-component-utils.c shell/evolution-shell-component-utils.h shell/importer/evolution-importer-client.c shell/importer/evolution-importer-client.h shell/importer/evolution-importer-listener.c shell/importer/evolution-importer-listener.h shell/importer/evolution-importer.c shell/importer/evolution-importer.h shell/importer/evolution-intelligent-importer.c shell/importer/evolution-intelligent-importer.h shell/importer/intelligent.c shell/main.c shell/test/evolution-test-component.c shell/test/evolution-test-component.h widgets/menus/gal-view-instance.c widgets/menus/gal-view-menus.c widgets/menus/gal-view-menus.h widgets/misc/Makefile.am widgets/misc/e-activity-handler.c widgets/misc/e-activity-handler.h widgets/misc/e-charset-picker.c widgets/misc/e-combo-button.c widgets/misc/e-combo-button.h widgets/misc/e-config-page.h widgets/misc/e-dropdown-button.c widgets/misc/e-dropdown-button.h widgets/misc/e-filter-bar.c widgets/misc/e-info-label.c widgets/misc/e-info-label.h widgets/misc/e-multi-config-dialog.c widgets/misc/e-multi-config-dialog.h widgets/misc/e-search-bar.c widgets/misc/e-search-bar.h widgets/misc/e-task-bar.c widgets/misc/e-task-bar.h widgets/misc/e-task-widget.c widgets/misc/e-task-widget.h widgets/misc/test-dropdown-button.c widgets/misc/test-error.c widgets/misc/test-info-label.c widgets/table/e-table-example-1.c
* Move text searching UI into a new EMailSearchBar widget.Matthew Barnes2009-03-021-1/+1
| | | | svn path=/branches/kill-bonobo/; revision=37351
* Split the interactive parts of the message display out of EMFormatHTMLDisplayMatthew Barnes2009-03-011-0/+627
to a new GtkHTML subclass named EMailDisplay, and have EMFormatHTML create an instance of that. EMailDisplay will handle link clicking, mousing over URIs, popup menus, and interactive search. This makes EMFormatHTMLDisplay and EMailReader more lightweight. Clean up more of the EMFormat stack. svn path=/branches/kill-bonobo/; revision=37346