Commit Graph

87 Commits

Author SHA1 Message Date
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
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
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
d8bf9f5b38 Bug 672827 - 'Mark as read' confirmation dialog is too big 2012-05-20 21:20:39 -04:00
d97c776f24 WebKit port - port plugins 2012-03-28 18:39:26 +02:00
b4f895265d Add missing linker flags. 2012-03-03 14:11:12 -05:00
23f5773903 Coding style and whitespace cleanup. 2012-02-20 10:04:25 -05:00
61ae36351b Introduce libemail-engine and libemail-utils.
These libraries are bound for E-D-S so they live at the lowest layer of
Evolution for now -- even libeutil can link to them (but please don't).

This is the first step toward moving mail handing to a D-Bus service.
2012-01-18 23:48:47 -05:00
e64d6fe05c Miscellaneous cleanups. 2011-11-22 20:43:04 -05:00
23f7fa7570 Bug #660829 - Allow 'Mark as read' in right click menu on spam folder 2011-10-11 10:03:17 +02:00
7225739d7d Bug #660861 - Avoid mark-all-read on a non-folder selection 2011-10-10 22:30:48 +02:00
1f38f4d92c Simplify library dependency flags.
We have a confusing array of nearly-identical CFLAGS/LIBS definitions in
configure.ac.  Time to simplify.  Instead let's just have one definition
that includes all the libraries provided by Evolution-Data-Server (incl.
Camel).  That, in combination with GNOME_PLATFORM, gives us most of what
we need for compliation and linking, and we can sprinkle definitions for
additional library dependencies in Makefile.am's as needed.
2011-10-04 22:27:14 -04:00
f615000f6c EMFolderTreeModel: Don't use parameters in "get_default" functions.
Drop EMFolderTreeModel's "session" property now that it has a "backend"
property and call em_folder_tree_model_set_backend() where we used to
call em_folder_tree_model_set_session().

The session can still be obtained through e_mail_backend_get_session().
2011-09-26 11:45:11 -04:00
e0548d2570 Bug #351025 - Make the order of the mail accounts configurable 2011-09-26 11:45:59 +02:00
fcbbdfbd18 Coding style and whitespace cleanup. 2011-09-04 07:34:32 -04:00
279722df7c Bug #652092 - 'Mark messages as read' doesn't work with search folder 2011-08-22 17:02:58 +02:00
394e580dfd Including <glib.h> directly is rarely needed. 2011-05-28 10:39:52 -04:00
756c8abcb8 Bug #646109 - Fix use of include <config.h> to make sure translations work 2011-05-27 15:23:07 +02:00
a9dff2f33a Use em_folder_tree_get_selected() in places to simplify code.
There were a few places where we were accessing the folder tree model
directly to get the selected store + folder name, or were asking for the
selected URI only to parse back into its store + folder name components.
2011-05-24 19:41:59 -04:00
9692758dc5 EMFolderTree: Store an EMailBackend instead of an EMailSession.
All this so EMFolderTree can submit EActivity instances for async ops.
You can obtain an EMailSession from an EMailBackend, but not vice versa.

Creates lots of pretty ripples in the mail code, but ultimately reduces
complexity.  So it's a code cleanup of sorts.
2011-05-23 21:50:50 -04:00
e270dfde64 Keep forgetting to add prefixes to EAlert tags. 2011-05-12 19:26:34 -04:00
3f196cf3bd mark-all-read: Reimplement to not block.
I'm mainly trying to get rid of mail_get_folder(), but I'm also tired of
this plugin blocking the UI.  If there's a lot of messages the lockup is
really noticable.
2011-05-11 21:36:34 -04:00
753c60fc67 Drop backward-compatibility cruft. 2011-01-25 10:28:26 -05:00
0af3ff804c Fudge gtk_widget_get_preferred_size() for gtk2.
Easy enough to fake gtk_widget_get_preferred_size() in gtk2 using
gtk_widget_size_request().  Reduces diff noise with gtk3 branch.
2011-01-14 14:58:29 -05:00
a06e4484b8 Give MailSession a permanent home.
Global variables in shared libraries are a bad idea.  EMailBackend now
owns the MailSession instance, which is actually now EMailSession.

Move the blocking utility functions in mail-tools.c to e-mail-session.c
and add asynchronous variants.  Same approach as Camel.

Replace EMailReader.get_shell_backend() with EMailReader.get_backend(),
which returns an EMailBackend.  Easier access to the EMailSession.
2010-10-12 13:58:59 -04:00
31b57ed038 Adapt to Camel API changes. 2010-09-28 11:35:55 -04:00
a91eeb6471 Pass GCancellable to Camel. 2010-09-28 11:35:55 -04:00
cd53ba9900 Coding style cleanups. 2010-09-13 08:28:58 -04:00
bc9ece413f Re-work my GtkDialog:has-separator workaround.
If we're using GTK+ 2.21.8 (where gtk_dialog_set_has_separator() is
deprecated but the property is still present and defaults to TRUE), we
still need to set the property to FALSE.  So instead use g_object_set()
up through GTK+ 2.90.6, after which the property itself is gone.
2010-09-11 09:03:45 -04:00
a6e137295f Work around deprecation of gtk_dialog_set_has_separator()
Unfortunately the default value for this property is TRUE (bzzt, WRONG!)
so we can't just remove the function outright until we require GTK+ 2.22.
It was deprecated in GTK+ 2.21.8.
2010-09-11 00:30:54 -04:00
137b0743dd Migrate from CamelException to GError. 2010-07-08 14:37:52 -04:00
61215065ca Warn the user before marking all messages as read 2010-06-17 11:53:14 +05:30
0b1cd2dd5b Coding style and whitespace cleanup. 2010-05-26 17:19:41 -04:00
a5d79e9f91 Bug #546551 - Dialog for mark-all-read always mentions subfolders 2010-05-21 16:30:40 +02:00
aec33928b7 Adapt to Camel API changes. 2010-04-30 11:30:19 -04:00
d6fd193f8f Bug #610495 - Plugins should define e_plugin_lib_enable 2010-04-27 16:31:05 +02:00
72797decc1 Giant leap towards GSEAL compliance. 2010-04-08 11:05:26 -04:00
26240e0b18 Generate ChangeLog files for tarball releases.
Remove old ChangeLog files that predate our switch to git.
2010-04-02 18:18:33 -04:00
fabb6b035c Only #include Camel's top-level header. 2010-04-02 16:59:20 -04:00
781c3b10aa Bug 609982 - Avoid unnecessary prompts when marking folders as read 2010-02-16 16:55:51 -05:00
9acd121a93 Coding style and whitespace cleanups. 2010-01-22 23:04:56 -05:00
59bd81691d Compiler and linker flag cleanups. 2009-12-27 14:32:39 -05:00
c2ee0afbc8 Rename EError to EAlert to match general use better
The EError mechanism is used both for error dialogs as well as basic alerts or
user prompts, so we should give it a more general name which matches this use.

This patch also cleans up a few includes of e-alert.h (formerly e-error.h) that
were not actually being used.

https://bugzilla.gnome.org/show_bug.cgi?id=602963
2009-11-30 13:33:04 -06:00
c5e04ca040 EWebView popup menu enhancements.
Bumps the GtkHtml dependency to 3.29.2 for gtk_html_unselect_all().
2009-11-13 11:26:43 -05:00
9b4c243865 Bug #550049 - Disable Mark messages as read actions when unusable 2009-10-27 21:18:01 +01:00
f62728b55e Bug 596848 - Use per-target CPPFLAGS in automake files 2009-09-30 23:37:50 -04:00
342f66be22 Bug #551127 - Added translators comment and changed strings slightly 2009-08-10 16:39:27 -04:00
1f89bf6b80 Fix some build issues. 2009-07-14 10:07:12 -04:00
bfc5ba2511 Fix "make distcheck" errors and other build cleanups. 2009-06-30 18:34:08 -04:00
ce37d56d0b Get the "mail-to-task" plugin working again.
This one was more challenging.  It exposed some flaws in the new shell
design and in EPluginUI, which is good because they're fixed now.
2009-06-26 11:05:58 -04:00