Commit Graph

2115 Commits

Author SHA1 Message Date
Matthew Barnes 4ff90f2bfd Use EClientComboBox where appropriate.
Basically any place where we use both EClient and ESourceComboBox.
2013-03-01 18:16:07 -05:00
Vadim Rutkovsky da975dadf5 Replace deprecated static mutexes 2013-02-13 18:46:30 +01:00
Matthew Barnes 60d1c3054a G_PRIORITY_HIGH_IDLE is sufficient to beat GTK+ redraws.
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.
2013-02-08 14:21:42 -05:00
Milan Crha 9c6a7673b8 Add comments around g_idle_add() changes 2013-02-08 18:26:49 +01:00
Michel Dänzer eb9e927926 Bug #683867 - Schedule actions with higher idle priority 2013-02-08 18:26:48 +01:00
Matthew Barnes 1214f942cc email-custom-header.c cleanups. 2013-02-08 11:44:31 -05:00
Matthew Barnes 6ba0a6a95b Revert "Bug #683867 - Schedule actions with higher idle priority"
This reverts commit 2b507716b2.

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.
2013-02-08 07:03:26 -05:00
Michel Dänzer 2b507716b2 Bug #683867 - Schedule actions with higher idle priority 2013-02-08 12:37:30 +01:00
Matthew Barnes c5fae912d1 Use CamelMimeFilterToHTMLFlags enum type where appropriate. 2013-02-06 13:16:40 -05:00
Matthew Barnes 763081aa86 Fix up error handling around e_book/cal_client_connect_finish(). 2013-01-30 12:45:55 -05:00
Matthew Barnes 1ec896118c pst-importer: Avoid EClientSourceType enum.
Use ESource extension names instead.
2013-01-30 09:35:27 -05:00
Matthew Barnes f19241d136 Use e_cal_client_connect().
Instead of e_client_utils_open_new() or e_cal_client_new().
2013-01-30 09:35:27 -05:00
Matthew Barnes e583928e04 Use e_book_client_connect().
Instead of e_client_utils_open_new() and e_book_client_new().
2013-01-30 08:37:15 -05:00
Milan Crha 4f62d2108d Bug #692783 - [mail-to-task] Crash on edit prompt cancel 2013-01-29 17:04:40 +01:00
Matthew Barnes 8e2902eefc Bump GDK_VERSION_MIN_REQUIRED to GDK_VERSION_3_2.
Clean up resulting deprecation warnings, which were all related to
GtkOrientable consolidation (e.g. gtk_hbox_new() -> gtk_box_new()).
2013-01-19 19:08:01 -05:00
Matthew Barnes d545bdb78c Avoid deprecated libedataserver APIs.
I forgot to include this in 3.7.4, but no matter.
2013-01-15 09:43:40 -05:00
Matthew Barnes b1ed35f70d Coding style and whitespace cleanup. 2013-01-10 11:20:32 -05:00
Matthew Barnes bed514dd86 Bug 691047 - Support notification filtering
For compliance with:
https://live.gnome.org/GnomeGoals/NotificationSource
2013-01-08 12:08:26 -05:00
Matthew Barnes 6faf671382 e-passwords: Remove unused function parameters. 2012-12-16 17:03:54 -05:00
Matthew Barnes bed06d9ec3 Move the contact map widgets to addressbook/gui/widgets.
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.
2012-12-12 14:33:47 -05:00
Matthew Barnes d09d8de870 Consolidate base utility libraries into libeutil.
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.
2012-12-12 14:33:43 -05:00
Milan Crha 2e07947a51 Bug #502516 - Avoid "source" string in user visible dialogs 2012-12-03 17:55:55 +01:00
Milan Crha ab3f65a15e Address couple issues found by a Coverity scan 2012-11-30 15:30:45 +01:00
Matthew Barnes d2fb5ee1a8 Avoid using GdkEventButton directly in certain places.
Prefer dealing with GdkEvent pointers and using accessor functions like
gdk_event_get_button().

This is complicated by the fact that some GtkWidget method declarations
still use GdkEventButton pointers, and synthesizing button events pretty
much requires direct GdkEventButton access.  But GDK seems to be nudging
itself toward sealing the GdkEvent union.  Likely to happen in GDK4.

Mainly clean up signal handlers and leave method overrides alone for now.
2012-11-29 13:24:24 -05:00
Milan Crha dad357207e Bug #688199 - Replying via a template doesn't mark mail as read/replied 2012-11-13 15:02:40 +01:00
Matthew Barnes 2c4ae5e768 Coding style and whitespace cleanup. 2012-11-10 15:54:43 -05:00
Milan Crha 704b78d23b Replace deprecated GLib symbols (as of GLib 2.34.x) 2012-11-06 16:21:37 +01:00
Matthew Barnes c85109fc32 Coding style and whitespace cleanup. 2012-08-19 14:17:55 -04:00
Matthew Barnes cbf51737fa Add e_mail_session_append_to_local_folder().
Asynchronous + synchronous convenience functions.

Uses the EMailLocalFolder enumeration to specify a well-known folder.
2012-08-15 11:44:29 -04:00
Dan Vrátil 967b238b77 Remove all references to JavaScriptCore and use of JavaScript
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.
2012-08-08 19:39:27 +02:00
Matthew Barnes 07be2453e0 Remove all GDK threads usage.
According to [1], we don't need to worry about GDK's global lock since
we don't call gdk_threads_init() or gdk_threads_set_lock_functions().

The GDK threads API is being aggressively deprecated by GTK+ developers
so let's just abandon it entirely.  I've never really understood when
you're supposed to use it or not use it anyway, so it's good to be rid
of this confusion.

[1] https://mail.gnome.org/archives/desktop-devel-list/2012-August/msg00005.html
2012-08-05 22:12:26 -04:00
Matthew Barnes cc8bf823ec Coding style and whitespace cleanup. 2012-06-24 20:31:43 -04:00
Matthew Barnes d6ad0c22a2 Bug 678397 - Move "mail-to-task" actions to a submenu
Shortens the Message menu a little for low screen resolutions.
2012-06-21 01:31:56 -04:00
Matthew Barnes 67b64140d5 Use SoupURI instead of EUri.
EUri is now deprecated.
2012-06-18 22:04:43 -04:00
Matthew Barnes 0252395e8e No more experimental plugins.
We don't have any experimental plugins left.  Remove the slot for it in
configure.ac so we don't pick up anymore.  EPlugin is deprecated anyway.
2012-06-18 11:04:04 -04:00
Milan Crha 94daae3dba Remove the last remaining usage of GConf 2012-06-15 09:04:08 +02:00
Matthew Barnes e0f11ae8eb Bump minimum libnotify version to 0.7.
GNOME has included libnotify 0.7.x since GNOME 3.0.  It's still an
optional dependency for Evolution, but if you're gonna use it you'll
need a GNOME3-era release.
2012-06-07 17:04:13 -04:00
Matthew Barnes c3d830ff18 Bug 677628 - Remove account and folder name from mail notifications 2012-06-07 16:23:41 -04:00
Dan Vrátil 9311914746 Mail formatter rewrite - convert some plugins to modules
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.
2012-06-06 15:29:38 +02:00
Matthew Barnes 2a39437ee9 Adapt to single-include E-D-S libraries. 2012-06-03 15:14:03 -04:00
Matthew Barnes 328de3de78 Adapt vcard-inline plugin to the new ESource API. 2012-06-02 23:00:43 -04:00
Matthew Barnes 08567541fa Adapt save-calendar plugin to new ESource API. 2012-06-02 23:00:43 -04:00
Matthew Barnes d502cc9f84 Adapt publish-calendar plugin to the new ESource API. 2012-06-02 23:00:43 -04:00
Matthew Barnes aa081cc6e8 Adapt pst-importer plugin to the new ESource API. 2012-06-02 23:00:43 -04:00
Matthew Barnes 16e8dd5557 Adapt mailing-list-actions plugin to the new ESource API. 2012-06-02 23:00:43 -04:00
Matthew Barnes 8c66c83206 Adapt mail-to-task plugin to the new ESource API. 2012-06-02 23:00:43 -04:00
Matthew Barnes 09a335ec7b Adapt itip-formatter plugin to the new ESource API. 2012-06-02 23:00:42 -04:00
Matthew Barnes 9385743236 Adapt email-custom-header plugin to the new ESource API. 2012-06-02 23:00:42 -04:00
Matthew Barnes f8528336da Adapt bbdb plugin to new ESource API. 2012-06-02 23:00:42 -04:00
Matthew Barnes 2b5a9b4eb4 Remove default-source plugin.
Obsoleted by EBookSourceConfig and ECalSourceConfig.
2012-06-02 23:00:42 -04:00