Commit Graph

130 Commits

Author SHA1 Message Date
Matthew Barnes 04aa0fba1f Rename libemformat to libevolution-mail-formatter.
To make Evolution's shared libraries more consistent.

Also add an evolution-mail-formatter documentation module.
2013-05-28 09:56:30 -04:00
Matthew Barnes 70a9fcdf9c Rename libeshell to libevolution-shell.
To make Evolution's shared libraries more consistent.

Also rename the documentation module to evolution-shell.
2013-05-28 09:56:30 -04:00
Matthew Barnes 6c9a3243c9 Rename libeutil to libevolution-util.
To make Evolution's shared libraries more consistent.

Also rename the documentation module to evolution-util.
2013-05-28 09:56:30 -04:00
Samarjit Adhikari f0151c7856 Bug 697632 - [mail-to-task] Invalid unref of a CamelFolder
e_mail_reader_get_folder() does not return a new CamelFolder reference,
yet mail_to_event() was acting as though it does.  This caused a crash
after the function ran and Evolution tried to use the folder again.

Truth be told, e_mail_reader_get_folder() really *should* return a new
reference to ensure the CamelFolder is not finalized while it's in use.
But we would need to rename the function to e_mail_reader_ref_folder()
to reflect the change in semantics, and I suspect the function is used
in a great many places.
2013-05-12 08:27:36 -04:00
Matthew Barnes 15fbc1654e Remove conditionals from GtkUIManager definitions. 2013-03-31 12:10:54 -04: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 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 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
Milan Crha 4f62d2108d Bug #692783 - [mail-to-task] Crash on edit prompt cancel 2013-01-29 17:04:40 +01: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
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
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 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
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 8c66c83206 Adapt mail-to-task plugin to the new ESource API. 2012-06-02 23:00:43 -04:00
Dan Vrátil d97c776f24 WebKit port - port plugins 2012-03-28 18:39:26 +02:00
Matthew Barnes 23f5773903 Coding style and whitespace cleanup. 2012-02-20 10:04:25 -05:00
Milan Crha ea73b4f8ca Bug #659396 - Missing plural handling for "You have selected %d mails to..." 2012-02-16 10:42:31 +01:00
Matthew Barnes 5c03d975b4 Add missing linker flags. 2012-01-19 09:07:41 -05:00
Matthew Barnes 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
Matthew Barnes e64d6fe05c Miscellaneous cleanups. 2011-11-22 20:43:04 -05:00
Milan Crha a8e8c46122 Bug #664018 - Cannot create task/memo from a mail 2011-11-21 17:53:17 +01:00
Matthew Barnes 5f439e5e62 Trivial little cleanups.
To synchronize with the "wip/gsettings" branch.

Mostly just removing unneeded "gconf-bridge.h" includes.
2011-10-18 12:27:13 -04:00
Matthew Barnes 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
Matthew Barnes e2b6ff7a6c Miscellaneous cleanups from the account-mgmt branch.
Reducing diff noise so I can see important changes easier when comparing
branches.  A few API changes, but nothing that affects functionality.
2011-09-27 09:31:13 -04:00
Milan Crha 8a309aef81 Bug #655252 - Need to escape the comp_uid part of a path 2011-09-26 11:02:47 +02:00
Matthew Barnes fcbbdfbd18 Coding style and whitespace cleanup. 2011-09-04 07:34:32 -04:00
Milan Crha 4cabd2c247 [mail-to-task] Uses incorrect function to free array of message uids 2011-08-26 14:56:12 +02:00
Milan Crha df385fa05b Changing source in CompEditor blocks UI 2011-08-26 14:24:15 +02:00
Milan Crha 857505c202 Bug #655551 - [mail-to-task] Pick organizer based on selected folder's store 2011-08-26 11:24:49 +02:00
Milan Crha 4c7a93d9fd Bug #655549 - [mail-to-task] Ignores cancel of source select dialog 2011-08-26 10:56:37 +02:00
Dan Vrátil cc96d85ef9 Bug #646442 - [mail-to-task] Edit event details before adding to calendar 2011-06-23 09:35:26 +02:00
Milan Crha 38790d8478 Do not use deprecated EBook/ECal API 2011-06-14 08:54:20 +02:00
Milan Crha 756c8abcb8 Bug #646109 - Fix use of include <config.h> to make sure translations work 2011-05-27 15:23:07 +02:00
Matthew Barnes 8a186c3588 Coding style cleanups. 2011-05-08 13:37:20 -04:00
Milan Crha 2533e52b8c Do not leak attachments in a mail view 2011-03-02 15:13:40 +01:00
Matthew Barnes ec170e47fd Move more account utilities to e-account-utils.c. 2010-10-18 12:32:38 -04:00
Matthew Barnes 9675f18d91 Coding style and whitespace cleanup. 2010-10-03 13:29:20 -04:00
Matthew Barnes 31b57ed038 Adapt to Camel API changes. 2010-09-28 11:35:55 -04:00
Matthew Barnes a91eeb6471 Pass GCancellable to Camel. 2010-09-28 11:35:55 -04:00
Punit Jain b7abc64e9d Bug #629132 - set_attachments: assertion failed.
[mail-to-task] CRITICAL **: set_attachments: assertion `status.uris != NULL' failed
Uri was actually a path.
2010-09-13 09:48:27 +05:30
Matthew Barnes 78bf9d9d70 Bug 624128 - Folder -> Subscriptions is always enabled 2010-07-12 11:26:47 -04:00
Matthew Barnes 137b0743dd Migrate from CamelException to GError. 2010-07-08 14:37:52 -04:00