Commit Graph

1552 Commits

Author SHA1 Message Date
61b4bacf9a e-util: Port to thread-safe ECategories API
This ports the following two function calls throughout Evolution:
 • e_categories_get_list() to e_categories_dup_list()
 • e_categories_get_icon_file_for() to e_categories_dup_icon_file_for()

It necessarily changes some internal e-util API:
 • e_util_get_searchable_categories() to
   e_util_dup_searchable_categories()

This bumps the EDS requirement to 3.13.1.

https://bugzilla.gnome.org/show_bug.cgi?id=727221
2014-03-28 10:44:44 +00:00
ed405f45a5 Bug #726542 - Unpadded black border on various mail account settings pages 2014-03-27 17:08:58 +01:00
5ebf0fd3c3 Add EMailFolderCreateDialog.
Subclass of EMFolderSelector, replaces em_folder_utils_create_folder().
2014-03-26 20:24:34 -04:00
a0015666b9 EMFolderSelector: Remove 'title' argument when creating.
Just call gtk_window_set_title() after creating the dialog.

This makes EMFolderSelector a little more "subclassable".
2014-03-26 20:24:34 -04:00
7624730674 EMFolderSelector: Add a "default-button-label" property.
Replaces the 'oklabel' argument when creating a new dialog, and can be
changed after the dialog is created.

This makes EMFolderSelector a little more "subclassable".
2014-03-26 20:24:33 -04:00
c70e8e9ea2 EMFolderSelector: Add a "caption" property.
Replaces the 'text' argument when creating a new dialog, and can be
changed after the dialog is created.

This makes EMFolderSelector a little more "subclassable".
2014-03-26 20:24:33 -04:00
5747a285f7 EMFolderSelector: Add a "can-create" property.
Replaces the EM_FOLDER_SELECTOR_CAN_CREATE flag, and can also be set
after the selector dialog is instantiated.

This makes EMFolderSelector a little more "subclassable".
2014-03-26 20:24:33 -04:00
a2a2954926 [text-highlight] Fix a possible memory leak
The related part of the code could be reached also when the 'syntax' variable
had been previously set to a newly allocated string, thus (try to) free it first.
2014-03-26 10:38:34 +01:00
8692b1cb72 Add an --enable-code-coverage configure option to enable gcov support
When enabled, this will compile all libraries/binaries with the necessary
gcc and ld flags to enable code coverage support using gcov.
2014-03-25 12:04:58 +01:00
eceb3b3658 ECalConfigWeather: Fix a confusing translator comment. 2014-03-15 08:42:29 -04:00
17acc96914 Bug 711350: Cannot position caret in received message body without using the mouse
If Caret mode is enabled don't try to process the navigation keys and
don't set the focus on main frame to actually make the Caret mode
working.
2014-03-11 14:51:01 +01:00
d325d27f96 Bug #711351 - Folder change in folder tree steals focus 2014-03-07 14:49:13 +01:00
3048de0d91 Bug #711658 - Time zone for new events sometimes defaults to UTC 2014-03-06 15:30:55 +01:00
c53fbc0b8f Miscellaneous cleanups. 2014-03-02 19:36:01 -05:00
f4bb7d7748 EMailFormatter: Use GOutputStream instead of CamelStream. 2014-02-28 14:38:11 -05:00
5c60d57082 Replace 'interface' with 'iface' in the code
Win32 headers have a #define for 'interface', which breaks the build
when this word is used in the code, thus replace it to 'iface',
the same way as GLib or GTK+ code use to have it. (See bug #722068.)
2014-02-26 16:15:21 +01:00
e15c81b8ee Bug 724909 - Highlight module hangs on large attachments
The previous code was writing the entire MIME part content to the
highlight utility's stdin pipe before reading the converted result.
With enough content, this caused the write operation to get stuck.
What's worse is this all happens synchronously in the UI thread.

Not sure exactly what was going on, but my hunch proved correct that
we need to simultaneously write to the stdin pipe and read from the
stdout pipe to avoid the deadlock.

Still not happy about this blocking the UI, but that would require
some major refactoring in libevolution-mail-formatter.
2014-02-24 22:57:52 -05:00
be7f5df707 Add missing action captions after gtk-stock replacement 2014-02-24 18:30:01 +01:00
d0b147ddb6 Add shortcuts previously defined by gtk-stock item definitions 2014-02-17 14:38:58 +01:00
55557b13d2 Do not use "dialog-apply" icon and make EStockRequest fool-proof
The "dialog-apply" icon is not from a set of standard icons, thus
it cannot be used, which I overlooked yesterday. With its drop are
also dropped other button icons in itip-formatter.

The missing icon made EStockRequest "panic" which effectively broke
page rendering for WebKit - the rendering was never finished.
2014-02-13 09:09:21 +01:00
b48e21d9aa Stop using deprecated gtk-stock items 2014-02-12 20:47:07 +01:00
7ab8b4d248 Memory leaks of GSettings objects 2014-01-30 19:47:25 +01:00
285c672785 Avoid multiple save of folder changes on application quit
While looking at bug #721286, I found out that mail_shell_view_prepare_for_quit_cb
calls a sync of the folder changes to the server, but mail_backend_prepare_for_quit_cb
does the same thing (or even more, because it calls to synchronize changes in all folders),
thus the former is redundant and can be dropped.
2014-01-29 20:01:22 +01:00
83ddf07ee8 Bug #722346 - _NL_MEASUREMENT_MEASUREMENT is not portable 2014-01-24 14:45:51 +01:00
51b3d7a000 Fix return values in a few functions 2014-01-21 20:10:47 +01:00
93e98a60f6 Fix duplicate #includes 2014-01-21 20:10:47 +01:00
b6b9428fc6 Drop libsoup-gnome dependency 2014-01-21 16:55:32 +01:00
5a89422182 Prevent GSettings from freaking out over a missing junk filter.
Boy does GSettings like to abort applications!  The default value for
the 'junk-default-plugin' key is 'Bogofilter' but if the key's mapping
function cannot find Evolution's Bogofilter integration module (it is
optional after all, so may not be installed), then indicating failure
will make GSettings abort Evolution.  So always indicate success.
2014-01-16 21:19:20 -05:00
b21733d067 Bug 721545 - License text contains obsolete FSF postal address 2014-01-07 16:05:51 -05:00
7b98c39b0a Coding style and whitespace cleanup. 2013-12-07 10:04:45 -05:00
c9edf5ef1f ECaldavChooser: Remove deprecated SOUP_TYPE_GNOME_FEATURES_2_26.
Proxy support is automatic now.
2013-12-07 08:57:38 -05:00
45a31136e9 Remove audio-inline module.
Drop our explicit gstreamer requirement and merge audio support directly
into libevolution-mail-formatter.  We now use the HTML5 <audio> tag and
let WebKit show much nicer playback controls, with volume and seeking.
2013-12-05 12:09:51 -05:00
ea219ed51b Bug #715057 - Weather calendar is using Fahrenheit units as default 2013-12-01 04:23:25 +01:00
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
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
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
df8d6d045b Use plain SoupSesson everywhere.
SoupSessionAsync and SoupSessionSync are deprecated in libsoup 2.42.
2013-11-26 10:50:10 -05:00
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
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
2a69370d81 composer-autosave: Miscellaneous cleanups. 2013-11-25 15:38:30 -05:00
21effa0d45 Add ESettingsMailSession.
Handles junk mail settings.
2013-11-24 18:43:54 -05:00
70d219dff6 EMMailerPrefs: Remove some unused bits. 2013-11-24 09:46:19 -05:00
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
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
f416f05344 [itip-formatter] Search for an event in enabled calendars only 2013-11-20 17:20:55 +01:00
59f124ac28 Add em_folder_tree_model_get_row_reference().
Replaces em_folder_tree_model_lookup_uri() and to some extent
em_folder_tree_model_lookup_store_info().

Working toward making the EMFolderTreeModelStoreInfo struct private to
EMFolderTreeModel, so it can then be made thread-safe.
2013-11-19 14:50:56 -05:00
705a5a0000 Bug #712342 - Calendar search doesn't finish 2013-11-19 18:40:06 +01:00
1db9434e35 Bug #712388 - Crash when opening Properties of a Weather calendar
Apart of fixing the crash, the format of saved location is changed,
which requires changes in evolution-data-server, commit with the same
bug number in its description (063a2bc).
2013-11-18 21:18:28 +01:00
1970888280 Add em_folder_tree_ref_selected_store().
Replaces em_folder_tree_get_selected_store().

Same as before, but adds a reference to the returned CamelStore.
2013-11-16 19:24:02 -05:00
a1f9e24189 EShellBackend cleanups. 2013-11-16 19:24:02 -05:00