Commit Graph

406 Commits

Author SHA1 Message Date
33e839a5f2 Update API documentation. 2014-02-16 19:55:54 -05:00
f5b5ccc53a Update API documentation. 2013-12-16 13:13:16 -05:00
8ae3cc3283 Remove mail_cancel_all().
Turns out this function was a no-op, because nothing registered itself
to be cancelled this way.  This was part of the legacy async framework,
which we've mostly moved away from now.
2013-11-27 13:15:08 -05:00
eedcd8118c Remove unused mail_cancel_hook_remove(). 2013-11-27 13:15:08 -05:00
19991bcbd0 Remove unused mail_cancel_hook_add(). 2013-11-27 13:15:08 -05:00
3cd87037bc Add e_mail_session_get_junk_filter_by_name().
Looks up an EMailJunkFilter extension by its filter name, as specified
in its class structure.
2013-11-26 10:41:49 -05:00
3c30fb1747 Convert libemail-engine to a single-include model.
Use: #include <libemail-engine/libemail-engine.h>
2013-11-11 12:07:43 -05:00
4ea43b34a8 Move EMailImageLoadingPolicy to e-mail-formatter-enums.h.
libemail-engine doesn't need to know about this enum.
2013-11-11 08:29:20 -05:00
32f5964c6e Fix misspelled enum type. 2013-11-11 08:29:20 -05:00
4c2233114d Rename e-mail-enums.h to e-mail-engine-enums.h. 2013-11-11 08:29:20 -05:00
a7b322d37e Generate documentation for libemail-engine. 2013-11-11 08:10:10 -05:00
40b868004c Bug 709428 - Searchbar widgets should not wrap
Instead of wrapping the searchbar for small screens (which looks ugly
and breaks the initial window size on large screens), hide the filter
combo box in views that would otherwise be too wide for the screen.

There's no loss of functionality when hiding the filter combo box.
It's just a set of convenient pre-defined searches, all of which can
be reproduced through the Advanced Search interface.

New functions:

  e_shell_searchbar_get_filter_visible()
  e_shell_searchbar_set_filter_visible()
2013-10-26 12:04:39 -04:00
85f94ee94d Add a chapter for proxy widgets in API documentation. 2013-10-25 17:20:31 -04:00
ad6059bc0d Add EProxyPreferences. 2013-10-25 12:51:12 -04:00
559d4cf8bf Add EProxyLinkSelector. 2013-10-25 12:51:12 -04:00
6dc14b19df Add EProxyEditor. 2013-10-25 12:51:11 -04:00
c44f909b52 Add EProxySelector. 2013-10-25 12:51:11 -04:00
50f322c578 Add EProxyComboBox.
EProxyComboBox is a combo box of available proxy profiles, as described
by ESource instances with an ESourceProxy extension.
2013-10-25 12:51:11 -04:00
13d765e074 Remove e_source_selector_set_select_new().
Sets a flag that's no longer used internally by ESourceSelector.
2013-10-25 12:18:27 -04:00
6ea6096c80 ESourceSelector: Add a "show-icons" property.
ESourceSelector can now optionally display an icon next to each ESource
matching the selector's "extension-name".  Intended for non-homogeneous
use cases where a variety of account types are shown in the selector.

The icon set is hard-coded, but we could change that if the need arises.
2013-10-25 10:40:03 -04:00
e1d072684f ESourceSelector cleanups. 2013-10-25 08:27:20 -04:00
2ef296bc84 Update API documentation. 2013-10-20 11:27:42 -04:00
683a038c8e EMailIdentityComboBox cleanups. 2013-10-10 17:59:50 -04:00
c802b643ea Update API documentation. 2013-09-15 08:09:37 -04:00
9035bbfe47 Update evolution-shell API documentation. 2013-09-01 09:00:31 -04:00
6a14ad5dc3 Update API documentation. 2013-08-18 06:31:19 -04:00
2ecce97b88 Add e_alert_bar_close_alert().
Closes the active EAlert and returns TRUE, or else returns FALSE if
there is no active EAlert.
2013-08-10 17:20:35 -04:00
82cf893305 Remove unused e_shell_window_get_menu_bar_box(). 2013-08-10 17:20:35 -04:00
826372c351 Add e_web_view_cursor_image_save().
Prompts the user to choose a destination file and then asynchronously
saves the image under the cursor to the destination file.
2013-07-27 21:24:01 -04:00
3eda7a50de Add e_web_view_cursor_image_copy().
Asynchronously copies the image under the cursor to the clipboard.

This replaces the "cursor-image" property, which attempts to match the
image URI to a subresource from WebKitWebDataSource.  The problem with
that approach is EMailDisplay redirects several URI schemes to its own
custom request handlers which further mutate the URI.  So for example,
a text/html message may use a "cid:" URI to refer to an embedded image,
which EMailDisplay transforms to a "mail:" URI and finally to a "data:"
URI.  The final image URI might not be derivable from the original URI
without retracing the SoupRequest.

The "image-copy" action now calls e_web_view_cursor_image_copy().

This also adds an explicit requirement on gdk-pixbuf-2.0 >= 2.24 for
gdk_pixbuf_new_from_stream_async() / finish().

New functions:

  e_web_view_cursor_image_copy()

Removed functions:

  e_web_view_get_cursor_image()
  e_web_view_set_cursor_image()
2013-07-27 21:24:01 -04:00
c71f615a7f Add e_web_view_new_activity().
Returns a new EActivity for an EWebView-related asynchronous operation,
and emits a "new-activity" signal.  By default the EActivity comes loaded
with a GCancellable and sets the EWebView itself as the alert sink (which
means alerts are displayed directly in the content area).  The signal
emission allows the EActivity to be further customized and/or tracked by
the application.
2013-07-27 15:27:13 -04:00
26e659aa33 Add e_web_view_request().
Asynchronously requests data at a URI by way of a SoupRequest to WebKit's
default SoupSession, incorporating both e_web_view_redirect_uri() and the
custom request handlers installed via e_web_view_install_request_handler().

New functions:

  e_web_view_request()
  e_web_view_request_finish()
2013-07-27 15:27:13 -04:00
69837f33cc Add e_web_view_suggest_filename().
Attempts to derive a suggested filename from the given URI for use in a
"Save As" dialog.

By default the suggested filename is the last path segment of the given
URI (the unless the given URI looks like a query), but subclasses can use
other mechanisms for custom URI schemes.  For example, "cid:" URIs in an
email message may refer to a MIME part with a suggested filename in its
Content-Disposition header.
2013-07-27 15:27:09 -04:00
51b74eee72 Add e_web_view_redirect_uri().
Replaces the given URI with a redirected URI as necessary, primarily for
use with custom SoupRequest handlers.  Typically this function would be
called just prior to handing a request off to a SoupSession, such as
from a WebKitWebView "resource-request-starting" signal handler.

Case in point: EMailDisplay now implements the redirect_uri() method,
and calls it from its own "resource-request-starting" signal handler.
2013-07-27 02:16:53 -04:00
14b4291ebd Remove e_web_view_get_uri().
Trivial wrapper for webkit_web_view_get_uri().

Probably made sense while we were transitioning from GtkHTML to WebKit,
but we don't need it anymore.
2013-07-27 02:16:53 -04:00
f8864692d1 Remove unused e_web_view_set_enable_frame_flattening(). 2013-07-27 02:16:53 -04:00
785c41cb16 Remove unused e_web_view_get_enable_frame_flattening(). 2013-07-27 02:16:52 -04:00
20d7939ca3 Remove unused e_web_view_frame_get_uri(). 2013-07-27 02:16:52 -04:00
b997e37bfc Remove unused e_web_view_frame_load_uri(). 2013-07-27 02:16:52 -04:00
7ed095eefd Remove unused e_web_view_frame_load_string(). 2013-07-27 02:16:52 -04:00
c5c6c39c06 Remove unused e_web_view_extract_uri(). 2013-07-27 02:16:52 -04:00
810242e4c9 EWebView: Initialize WebKitWebSettings internally.
Don't expose public API for this.

Even though it's still possible through the WebKitWebView API, we don't
want to encourage setting an arbitrary WebKitWebSettings on an EWebView.

Removed functions:

  e_web_view_set_settings()
  e_web_view_get_default_settings()
2013-07-27 02:16:51 -04:00
a87a779e0b ERuleEditor: Remove dead code.
Unfinished undo framework from ages past.

Nice idea I guess, but not worth the complexity.
2013-07-08 20:38:18 -04:00
0ac936cfe3 Remove nautilus-sendto integration.
nautilus-sendto has been stripped of its usefulness in GNOME 3.8.

It no longer has a UI of its own, it just immediately spawns a mail
client with a set of files as attachment arguments for a new message.
There's no reason for Evolution to be invoking it anymore.
2013-07-08 07:44:46 -04:00
5c866713c7 Remove ESEvent.
Nudging EPlugin closer to full removal.

Nothing in Evolution uses this anymore and 3rd-party plugins should be
using EShell's "event::ready-to-start" signal or else GApplication's
"startup" signal.
2013-07-07 20:37:43 -04:00
90cacf75dd Update evolution-shell API documentation. 2013-07-07 11:04:25 -04:00
682328cded Add e_activity_get_last_known_text().
Evolution is still occasionally getting stuck on shutdown, and although
the evolution-shell log domain shows debug messages for activities that
are preventing shutdown, they frequently look like this:

(evolution:13534): evolution-shell-DEBUG: 5 active 'mail' activities:
(evolution:13534): evolution-shell-DEBUG: * (no description)
(evolution:13534): evolution-shell-DEBUG: * (no description)
(evolution:13534): evolution-shell-DEBUG: * (no description)
(evolution:13534): evolution-shell-DEBUG: * (no description)
(evolution:13534): evolution-shell-DEBUG: * (no description)

I think the lack of descriptions is from CamelOperations popping all
their pushed messages, which is correct behavior but doesn't help us
debug the problem.

e_activity_get_last_known_text() returns the most recent _non-empty_
text value set on the EActivity.  So our debug message can fall back
to that if the EActivity has no description at shutdown:

(evolution:13534): evolution-shell-DEBUG: * (was "blah, blah, blah")
2013-07-06 11:57:57 -04:00
427d93b3df Remove GalViewFactory.
No longer used.
2013-07-05 16:40:51 -04:00
cbc2818d65 Remove GalViewFactoryEtable.
No longer used.
2013-07-05 16:40:51 -04:00
61a773db49 GalViewCollection: Load files during instance initialization.
gal_view_collection_new() now takes system and user directory arguments
and loads GalViews during instance initialization.

Removed functions:

  gal_view_collection_set_storage_directories()
  gal_view_collection_load()
  gal_view_collection_loaded()
2013-07-05 16:40:51 -04:00