Commit Graph

167 Commits

Author SHA1 Message Date
d051bd5d71 Drop missing .xml files from evolution-util-docs.sgml
Drop them for now and add them later, if/when needed.
2014-06-23 08:45:50 +02:00
8650fb139a Bug 540362: [webkit-composer] Use webkit for composer
Merge wip/webkit-composer branch into master.
2014-06-09 16:32:25 +02:00
61b4bacf9a e-util: Port to thread-safe ECategories API
This ports the following two function calls throughout Evolution:
 • e_categories_get_list() to e_categories_dup_list()
 • e_categories_get_icon_file_for() to e_categories_dup_icon_file_for()

It necessarily changes some internal e-util API:
 • e_util_get_searchable_categories() to
   e_util_dup_searchable_categories()

This bumps the EDS requirement to 3.13.1.

https://bugzilla.gnome.org/show_bug.cgi?id=727221
2014-03-28 10:44:44 +00:00
9b98bde880 Update API documentation. 2014-03-02 20:39:17 -05:00
33e839a5f2 Update API documentation. 2014-02-16 19:55:54 -05:00
f5b5ccc53a Update API documentation. 2013-12-16 13:13:16 -05: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
683a038c8e EMailIdentityComboBox cleanups. 2013-10-10 17:59:50 -04:00
c802b643ea Update API documentation. 2013-09-15 08:09:37 -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
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
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
7bb795b299 Remove gal_view_collection_add_factory().
No longer needed.  Instead, use g_type_ensure() to ensure the necessary
GalView subclasses are registered in the GType system before loading a
GalViewCollection.  Best place to ensure types is from GClassInitFunc.
2013-07-05 16:40:50 -04:00
25d2fab96e GalViewCollection: Add a private section. 2013-07-05 16:40:50 -04:00
8445107974 GalViewCollection: Add a "user-directory" property.
Just readable for now, but I plan to make it also construct-only.

(Despite the precendence, I prefer "user" over "local" for the name.)

New functions:

  gal_view_collection_get_user_directory()
2013-07-05 16:40:50 -04:00
695e0dba70 GalViewCollection: Add a "system-directory" property.
Just readable for now, but I plan to make it also construct-only.

New functions:

  gal_view_collection_get_system_directory()
2013-07-05 16:40:50 -04:00
2ce22e2506 Remove unused gal_view_collection_set_default_view(). 2013-07-05 16:40:50 -04:00
8fd95b78a4 Remove unused gal_view_collection_copy_view(). 2013-07-05 16:40:50 -04:00
2996a0503b Remove unused gal_view_collection_append(). 2013-07-05 16:40:50 -04:00
535084860b Remove unused gal_view_collection_get_view_id_by_index(). 2013-07-05 16:40:50 -04:00
562c54612f GalViewCollection: Remove "title" member.
It's set by EShellView but not actually used for anything.

Removed functions:

  gal_view_collection_set_title()
2013-07-05 16:40:50 -04:00
8abe1f3203 GalViewCollection: Remove unused "display-view" signal.
Removed functions:

  gal_view_collection_display_view()
2013-07-05 16:40:50 -04:00
57a3b819e1 GalViewClass: Replace get_type_code() with "type_code" string.
All GalView subclasses return a static string in their get_type_code()
methods, so replace the method with a static string pointer directly in
the class structure, and remove the "type-code" GalView property.
2013-07-05 16:40:49 -04:00