Commit Graph

1569 Commits

Author SHA1 Message Date
0e9bb570cb Check whether value really changed in callbacks of GSettings::changed signal
Just two more places, which are new after a merge of the webkit-composer
branch changes.
2014-06-11 18:47:46 +02:00
60d5ff7b71 Fix runtime warnings when opening Edit->Preferences
These were new after merging webkit-composer branch changes, but just
some leftovers.
2014-06-11 18:19:10 +02:00
8650fb139a Bug 540362: [webkit-composer] Use webkit for composer
Merge wip/webkit-composer branch into master.
2014-06-09 16:32:25 +02:00
d6dcec1b55 Bug 731321 - Missing custom types when loading .ui definition 2014-06-06 12:02:13 +02:00
1205a86888 Bug 730977 - Online state change received in a dedicated thread 2014-06-06 08:59:53 +02:00
6e9e7b0676 Ignore false GSettings key change notifications
Similar to GObject::notify, the GSettings::changed can be emitted
even if a key didn't change. It's up to the user (aka evolution)
to test for real changes, thus let's do it. It may have certain
performance positive impact too.
2014-06-05 16:59:29 +02:00
2e71c86143 Properly disconnect signal handlers added with e_signal_connect_notify*()
This is a follow-up for the previous commit, where e_signal_connect_notify*()
functions had been added. Due to a different callback and user data being
attached to the 'notify' signal, the g_signal_handlers_*() functions do not
work properly, thus these e_signal_connect_notify*() functions need
a different way for a signal handler disconnect.

A side-change was done in e-settings-web-view-gtkhtml.c, checking for a real
key change from GSettings.
2014-06-05 11:47:13 +02:00
2f3fbdd6c6 Ignore false GObject property change notifications
This is related to bug 698275, which did not cover all cases.
The problem here is that the dconf can in certain situation claim
that everything changed (path "/" changed), which GSettingsBinding
propagates to a GObject property unconditionally and GObject's
property setter (g_object_set_property()) also notifies about
the property change unconditionally, despite the real descendant
property setter properly checks for the value change. After all
these false notifications a callback on "notify" signal is called
and possibly an expensive operation is run.

Checking whether the value really changed helps in performance, for
which were added new e-util functions:
   e_signal_connect_notify()
   e_signal_connect_notify_after()
   e_signal_connect_notify_swapped()
   e_signal_connect_notify_object()
which have the same prototype as their GLib counterparts, but they allow
only "notify::..." signals and they test whether the value really changed
before they call the registered callback.
2014-06-04 19:46:25 +02:00
70f58975e3 Bug 604346 - Ctrl+Enter sends mail without asking confirmation 2014-06-03 10:44:19 +02:00
2f73b39bf2 Add "Send messages through Outbox folder" option
Users ask from time to time for the old behaviour when the messages
used to be saved through Outbox, rather than the composer being opened
all the time the message is sending. The change is pretty simple,
thus why not to add it.

Note the Outbox is not flushed after sending, the users is responsible
to invoke the Outbox flush on his/her own. This also allows a user
to postpone the message send for later.
2014-06-02 14:36:00 +02:00
82076f2fae Bug 730743 - Add an option to disable sender's photo search at gravatar.com 2014-05-27 16:12:51 +02:00
a3db47909e Bug 726746 - Allow to auto-empty trash without needing to exit 2014-05-26 16:41:48 +02:00
24630c83cf Bug #563048 - Prefer Inbox type over other types in folder description 2014-05-20 07:48:38 +02:00
d46ad6d3cd Bug #678843 - May re-prompt password on account re-enable 2014-05-12 19:47:16 +02:00
c7ddf191bf Bug #691957 - MDN: Do not show "Sender has been notified..." message
Evolution doesn't have any capability to distinguish between truly sent
read receipts and those cancelled, neither it stores anywhere the date
of the read receipt send, thus showing to users an information about
"Sender has been notified..." is only confusing to them.
2014-05-09 11:38:30 +02:00
192a2f785e Bug #699797 - Verify SSL trust after redirection 2014-04-18 17:49:03 +02:00
3bd387bc25 Bug #684425 - Do not pass NULL text to gtk_entry_set_text() 2014-04-11 10:49:15 +02:00
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