Commit Graph

40 Commits

Author SHA1 Message Date
5b0e9e7791 Bug #250046 - Empty group address as recipient prevents message send
Empty group addresses were left as-is when sending an email directly,
not through Outbox, which could cause a send error through SMTP.
Expanding group addresses, or removing empty groups, from a list
or recipients before sending the message fixes the issue.
2013-06-03 19:22:03 +02:00
58ef547151 Coding style and whitespace cleanup. 2013-05-08 08:28:09 -04:00
4d58a800fa Use e_source_registry_list_enabled() where appropriate. 2013-03-17 08:49:11 -04:00
853abba1d3 Bug #693254 - Mail reply uses wrong "From:" account 2013-03-05 14:14:31 +01:00
bc27cacec3 Remove em_utils_in_addressbook().
No longer used.
2013-02-27 10:59:55 -05:00
4a06e1bb63 Remove emu_free_mail_cache().
No longer needed, since the resources it frees are no longer used.
2013-02-27 10:59:55 -05:00
667585134e Remove emu_remove_from_mail_cache().
No longer used.
2013-02-27 10:59:55 -05:00
cc2a65368c Remove emu_remove_from_mail_cache_1().
No longer used.
2013-02-27 10:59:55 -05:00
a36a3f4181 Remove em_utils_contact_photo().
No longer used.
2013-02-27 10:59:55 -05:00
3b11207dcb Use camel_service_ref_session(). 2013-02-11 10:38:29 -05:00
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
9c6a7673b8 Add comments around g_idle_add() changes 2013-02-08 18:26:49 +01:00
eb9e927926 Bug #683867 - Schedule actions with higher idle priority 2013-02-08 18:26:48 +01:00
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
2b507716b2 Bug #683867 - Schedule actions with higher idle priority 2013-02-08 12:37:30 +01:00
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
de978d4231 Use g_hash_table_add() when using a hash table as a set.
g_hash_table_add(table, key) uses less memory than
g_hash_table_insert(table, key, GINT_TO_POINTER (1)).

Also use g_hash_table_contains() when testing for membership.
2013-01-11 13:43:19 -05:00
63cff95414 Use cancellable mutex for photo and address book lookups in mailer 2012-12-14 17:46:36 +01: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
f62adc91c1 e_flaw_wait_until() expects gint64, not gint 2012-11-05 20:45:04 +01:00
136f4d53bd Replace e_flag_timed_wait() with e_flag_wait_until() 2012-11-05 20:21:14 +01:00
aded0858c4 Prefer e_source_registry_check_enabled().
Prefer e_source_registry_check_enabled() over e_source_get_enabled()
for most instances where we want to exclude disabled data sources.
2012-10-25 13:01:50 -04:00
511acab89a Bug #682425 - Can do network operations on disabled accounts 2012-09-05 15:42:03 +02:00
c85109fc32 Coding style and whitespace cleanup. 2012-08-19 14:17:55 -04:00
e45c63f52b Bug #677695 - Crash on quit under emu_free_mail_cache()
This is reverting previous patch for this bug and fixes it with
a different approach. The previous patch had regression, instead
of freezing evolution on quit it crashed it when there was pending
addressbook lookups.
2012-08-08 11:27:30 +02:00
20973f9281 Bug #548778 - Use original location when replying in Search Folder 2012-07-10 19:21:28 +02:00
8ca9931144 Bug #677695 - Freeze on quit in emu_free_mail_cache() 2012-07-10 18:21:34 +02:00
cc8bf823ec Coding style and whitespace cleanup. 2012-06-24 20:31:43 -04:00
e439e17e2e Make em_utils_in_addressbook() cancellable 2012-06-14 13:01:57 +02:00
4f47f662f6 Bug #674887 - Hang on sender's photo lookup 2012-06-14 12:14:45 +02:00
2a39437ee9 Adapt to single-include E-D-S libraries. 2012-06-03 15:14:03 -04:00
3449e5fcc7 Adapt mail to the new ESource API. 2012-06-02 23:00:40 -04:00
98f39d7ee0 Adapt to CamelService API changes.
em_utils_connect_service_sync() and em_utils_disconnect_service_sync()
are no longer needed.  CamelService itself now effectively does what
these functions were doing.
2012-05-19 13:35:28 -04:00
7981771ea6 Bug #674381 - Show contact photo from address book doesn't work 2012-04-27 18:26:49 +02:00
7950d6a0c6 Adapt to libedataserver[ui] changes. 2012-04-21 17:07:15 -04:00
785515dcbd Bug #465076 - INBOX confusion with outbox 2012-04-19 13:46:56 +02:00
299521f02c Whitespace cleanup.
Replace 8-space indentation with tab characters, and various other
automated cleanups.
2012-04-01 23:15:38 -04:00
23f5773903 Coding style and whitespace cleanup. 2012-02-20 10:04:25 -05:00
59e6e599ba Coding style and whitespace cleanup. 2012-01-18 23:48:48 -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