Commit Graph

39993 Commits

Author SHA1 Message Date
Philip Withnall 7cb2ed6c67 pine-importer: Fix a crash when importing with no existing address books
This is a theoretical crash (not actually reproduced), caused by the
client variable being NULL if no address books exist. Instead of
crashing, gracefully exit with an error.

Found by scan-build.

https://bugzilla.gnome.org/719540
2013-12-04 08:18:08 -05:00
Fabiano Fidêncio ea219ed51b Bug #715057 - Weather calendar is using Fahrenheit units as default 2013-12-01 04:23:25 +01:00
Matthew Barnes 912785cb60 EMFolderTreeModel: Remove some dead code. 2013-11-30 09:51:38 -05:00
Matthew Barnes 99bdfc8c24 sync_store_desc: Display the store's display name.
That's what it's for.
2013-11-30 09:49:15 -05:00
Matthew Barnes f02bb4526c em_utils_is_local_delivery_mbox_file(): Take a CamelService.
More convenient than constructing a CamelURL just for this function.

Also, document it.
2013-11-30 09:45:57 -05:00
Matthew Barnes f911f1754a Avoid camel_service_get_session().
Use camel_service_ref_session() instead.
2013-11-30 08:18:55 -05:00
Мирослав Николић 9f7569cc8c Updated serbian translation 2013-11-30 10:18:11 +01:00
Matthew Barnes 7c407a88e2 Remove unused arguments in mail_fetch_mail().
The 'fetch_type' and 'fetch_count' arguments are not used.
2013-11-29 15:15:57 -05:00
Milan Crha e607ae83d4 Bug #329616 - Spell checking for Event/Task/Memo editors
This is based on the work of Jan-Michael Brummer from bug #705338,
just a little extended to be reusable across whole evolution.
2013-11-29 12:59:09 +01:00
Milan Crha c12a958aba Extend test-source-selector test program
Added features:
 - show all four selectors (for Calendars/Memos/Tasks/Books)
 - be able to open/close selected source

Especially the later can be used for testing the factories easily,
without running evolution or other client. There can be added more
actions on an opened EClient descendant in the future, if it'll be
found useful.
2013-11-28 20:32:37 +01:00
Milan Crha c8322a6c39 Remove unused functions after itip_publish_comp() removal 2013-11-28 09:15:16 +01:00
Matthew Barnes 8ae3cc3283 Remove mail_cancel_all().
Turns out this function was a no-op, because nothing registered itself
to be cancelled this way.  This was part of the legacy async framework,
which we've mostly moved away from now.
2013-11-27 13:15:08 -05:00
Matthew Barnes eedcd8118c Remove unused mail_cancel_hook_remove(). 2013-11-27 13:15:08 -05:00
Matthew Barnes 19991bcbd0 Remove unused mail_cancel_hook_add(). 2013-11-27 13:15:08 -05:00
Daniel Mustieles f0a37733c3 Updated Spanish translation 2013-11-27 17:08:50 +01:00
Matthew Barnes c803769454 Adapt to new CamelSession "user-alert" signal.
Replaces the old interactive (but not really) alert_user() method.
2013-11-27 10:02:59 -05:00
Matthew Barnes 0fcfad1df3 mail-mt.h: Remove dangling mail_get_password() declaration. 2013-11-27 10:02:59 -05:00
Alberto Ruiz f72c529f09 e-utils: replacing g_memmove with memmove
glib has removed g_memmove, since it was a macro there is no ABI break but sources have to be adapted to switch to memmove
See glib commit 6e4a7fca431f53fdfd89afbe956212229cf52200 for further reference.
2013-11-27 13:48:09 +01:00
Matthew Barnes e80ec71e4c EMeetingStore: Remove deprecated EProxy usage.
EMeetingStore needs an ESourceRegistry property so it can obtain
an appropriate proxy ESource to serve as a GProxyResolver for the
SoupSession.

But frankly, this code is a mess and I can't be bothered right now.
The SoupSession will just use the desktop-wide proxy settings which
is fine for the vast majority of users.
2013-11-26 17:00:55 -05:00
Matthew Barnes c9548365aa Remove unused itip_publish_comp(). 2013-11-26 17:00:55 -05:00
Matthew Barnes 989efd6c2e EHttpRequest: Simplify proxy handling.
When creating a temporary SoupSession, synchronize its GProxyResolver
with the SoupRequest's SoupSession which is already configured to use
our built-in proxy ESource.
2013-11-26 17:00:55 -05:00
Matthew Barnes 7f008d11a2 EHttpRequest cleanups. 2013-11-26 17:00:55 -05:00
Matthew Barnes 42f71a3b0e EShell: Configure WebKit's default SoupSession.
Configure WebKit's default SoupSession to honor our proxy settings.
2013-11-26 17:00:55 -05:00
Matthew Barnes 784e99d280 EMailAutoconfig: Set SoupSession's GProxyResolver.
Pass the built-in proxy ESource to SoupSession as a GProxyResolver.

Replaces EProxy usage, which is deprecated.
2013-11-26 12:25:54 -05:00
Matthew Barnes 05c5d2998e EMailAutoconfig: Add an ESourceRegistry property. 2013-11-26 11:58:13 -05:00
Matthew Barnes 99120a0f18 EGravatarPhotoSource: Remove EProxy usage.
EProxy is deprecated.  No easy access to ESourceRegistry from which to
grab the "system-proxy" ESource, so just rely on SoupSession's default
GProxyResolver.  Good enough; this is a nice-to-have feature anyway.
2013-11-26 11:35:28 -05:00
Matthew Barnes 60775476f3 EMailSession: Remove leftover EProxy instance. 2013-11-26 11:27:21 -05:00
Matthew Barnes 3982c52a51 Use SoupSession's request API instead of SoupRequester.
SoupRequester functionality is built directly into SoupSession now.
2013-11-26 11:06:38 -05:00
Matthew Barnes df8d6d045b Use plain SoupSesson everywhere.
SoupSessionAsync and SoupSessionSync are deprecated in libsoup 2.42.
2013-11-26 10:50:10 -05:00
Matthew Barnes d79b302d78 Bump libsoup requirement to 2.42.
Evolution-Data-Server already requires this.
2013-11-26 10:50:07 -05:00
Matthew Barnes ce72cf5b4e EMailSession: Remove "junk-filter-name" property.
No longer needed.  Following up on a pre-GSettings "FIXME" item.
2013-11-26 10:41:49 -05:00
Matthew Barnes 122a84d7f6 ESettingsMailSession: Bind to "junk-default-plugin".
Use mapping functions to convert between the filter name string and
the corresponding EMailJunkFilter extension.
2013-11-26 10:41:49 -05:00
Matthew Barnes 4899dc5ca6 EMailJunkOptions: Bind to "junk-filter" instead of "junk-filter-name".
Use transformation functions to convert between EMailJunkFilter and the
junk filter name.
2013-11-26 10:41:49 -05:00
Matthew Barnes 3cd87037bc Add e_mail_session_get_junk_filter_by_name().
Looks up an EMailJunkFilter extension by its filter name, as specified
in its class structure.
2013-11-26 10:41:49 -05:00
Aurimas Černius 8ad95dd7d9 Updated Lithuanian translation 2013-11-25 23:05:51 +02:00
Matthew Barnes 66923efa0c Bug 712668 - Disable message recovery after initial scan
This prevents Evolution from prompting to restore what it thinks are
orphaned messages during an Evolution session.  This is triggered by
a shell window emitting another "map-event" signal for some reason.

Some GNOME Shell users have reported seeing this.
2013-11-25 15:38:30 -05:00
Matthew Barnes 2a69370d81 composer-autosave: Miscellaneous cleanups. 2013-11-25 15:38:30 -05:00
Daniel Mustieles c1acd36b25 Updated Spanish translation 2013-11-25 12:36:19 +01:00
Matthew Barnes 21effa0d45 Add ESettingsMailSession.
Handles junk mail settings.
2013-11-24 18:43:54 -05:00
Matthew Barnes f3d3802199 EMailUISession: Add "check-junk" property.
Takes over CamelSession's "check-junk" property.
2013-11-24 16:16:42 -05:00
Matthew Barnes 70d219dff6 EMMailerPrefs: Remove some unused bits. 2013-11-24 09:46:19 -05:00
甘露(Gan Lu) 4fafc3ce04 Update Chinese simplified translation 2013-11-23 20:57:38 +08:00
Dimitris Spingos 1425860362 Updated Greek translation of help 2013-11-23 00:23:13 +02:00
Milan Crha 84c50d3e3f Weather calendar: Be able to change temperature unit
The ESourceExtension had a 'unit' property, but it was not used
anywhere, thus I changed it to reflect possible values of current
libgweather and made it used in the background.
2013-11-22 19:18:23 +01:00
Milan Crha a05f4a9198 Bug #711824 - Crash due to use-after-free after pine import 2013-11-20 21:57:13 +01:00
Milan Crha 93bff56329 Bug #711685 - Check calendar email as an organizer 2013-11-20 21:26:54 +01:00
Matthew Barnes 6840cc4fed EMFolderTreeModel: Rework CamelStore signal handlers.
Pass a referenced StoreInfo as the closure so it doesn't have to be
looked up in the signal handler, but do so without leaking references.

Simplifies the signal handlers a bit.
2013-11-20 13:34:12 -05:00
Matthew Barnes cbb07ef381 Remove "side-bar-ellipsize-mode" setting.
I was wrong: ellipsize setting got renamed, not removed.  Remove it.
2013-11-20 12:41:47 -05:00
Milan Crha 838e0ec392 Bug #711499 - Failed image download lefts opened file descriptor 2013-11-20 18:32:43 +01:00
Matthew Barnes 598a34e693 EMFolderTree: Remove "ellipsize" property.
Always ellipsize folder names, otherwise it interferes with the status
icons.  The property was once bound to a hidden GSettings key, but the
setting was silly and was removed some time ago.
2013-11-20 12:33:30 -05:00