Commit Graph

1553 Commits

Author SHA1 Message Date
65fed9486c EPhotoCache: Fix a documentation typo. 2013-04-19 08:11:02 -04:00
d4473cf20a Bug 698042 - Crash when sending e-mail with attachment 2013-04-18 16:55:38 -04:00
7dec65de1a build: Fix srcdir != builddir from git
Mimicing Colin's commit fb9b02e for E-D-S.

We can't do (cd $(srcdir); ...) and inside reference $(top_srcdir)
because that variable uses a *relative* path.  Thus we copy the
approach from gnome-shell of explicitly using addprefix to append
the source directory.
2013-04-18 11:30:24 -04:00
f6d4d6db61 Search bar functionality polishing
Polishing after switching from Evolution's highlight implementation to WebKit's one.
2013-04-15 16:46:57 +02:00
b9a1dcc4df Remove Evolution's implementation of highlighting and use WebKit highlighting. Fixes Bug#696673 2013-04-12 16:07:27 +02:00
1c5f6313c5 Bug #681837 - Make enum type registration thread safe 2013-04-12 09:50:06 +02:00
eb6ecc6fb5 EWebView: Disable WebKit plugins during instance initialization.
Calling webkit_get_web_plugin_database() somehow ends up calling
g_bus_get_sync(), which in turn makes gtkdoc-scangobj hang forever.

Call it instead as a GOnce callback during instance initialization,
which avoids the hang since gtkdoc-scangobj only peeks at classes.
2013-04-08 22:18:07 -04:00
fa875d8565 EWebView: Remove a backward-compatibility hack.
We require WebKitGTK+ >= 1.10 so we can drop a hack to support < 1.9.6.
2013-04-07 12:24:47 -04:00
b83a9cd5bb EWebView: Use a GQueue to track highlight strings.
This also removes an unused function e_web_view_get_highlights() which
was returning a GSList.
2013-04-07 12:24:47 -04:00
e0a85ffed4 EWebView cleanups. 2013-04-07 12:24:47 -04:00
4d3d4aaab9 Remove e_preferences_window_filter_page().
No longer used.
2013-03-31 12:10:54 -04:00
0494d4c3c6 Remove EUIManager.
No longer needed.  Use GtkUIManager directly.
2013-03-31 12:10:54 -04:00
0125093ff7 Add e_load_ui_manager_definition().
Loads a UI definition into a GtkUIManager from Evolution's UI directory.

We actually had this function for a brief period during the 2.29 series,
before Express Mode was a thing.  I'm reviving the function to take over
for EUIManager.
2013-03-31 12:10:54 -04:00
39e4534665 Bug #684245 - Disable 3rd-party browser plugins 2013-03-25 15:22:12 +01:00
929742a76f Bug #696185 - Disable WebKit's caching 2013-03-25 15:00:17 +01:00
4b03f11c4c Bug #696173 - Various memory leaks 2013-03-25 14:57:01 +01:00
3b20569876 Convert all "week-start-day" properties to GDateWeekday. 2013-03-17 08:49:12 -04:00
4d58a800fa Use e_source_registry_list_enabled() where appropriate. 2013-03-17 08:49:11 -04:00
959c04d0ce Add argument checks to weekday functions. 2013-03-14 20:15:08 -04:00
035fa295cd Bug 676696 - Automatic EXIF image rotation doesn't work
Requires WebKitGTK+ 2.0 to work again.
2013-03-14 18:30:50 -04:00
417d720906 EWebView: Whitespace cleanups. 2013-03-14 18:26:31 -04:00
aa394ce82e client_cache_process_results: Fix runtime warnings.
Use g_simple_async_result_complete_in_idle() so the queued results
complete in the correct main loop context.  Otherwise we get runtime
warnings:

    "g_simple_async_result_complete() called from wrong context!"
2013-03-14 18:23:34 -04:00
d1eb86b2c3 EContactStore: Remove unnecessary warnings. 2013-03-11 14:23:16 -04:00
ee18b469c7 Make ESpellEntry extensible. 2013-03-11 13:37:57 -04:00
bf2823d50f ESpellEntry cleanups. 2013-03-11 13:37:57 -04:00
41a30e59c8 EUIManager: Fix a bad DocBook tag in comment. 2013-03-08 13:13:30 -05:00
494c98c764 Add weekday conversion functions.
e_weekday_to_tm_wday()
e_weekday_from_tm_wday()
2013-03-08 12:39:27 -05:00
9fa7358f74 Add more weekday arithmetic functions.
These aren't as efficient as possible, but are as clear as possible.

New functions:

    e_weekday_add_days()
    e_weekday_subtract_days()
    e_weekday_get_days_between()
2013-03-07 15:50:41 -05:00
2b80037420 Rename functions in previous commit.
Changed my mind... got more to add.

e_get_next_weekday() -> e_weekday_get_next()
e_get_prev_weekday() -> e_weekday_get_prev()
2013-03-07 15:50:41 -05:00
5e9bdd4509 Add e_get_next_weekday() and e_get_prev_weekday().
These just cycle over the GDateWeekday enum.

Trivial functions, but they help make loops a little easier to read.
2013-03-07 10:00:31 -05:00
51bc12ddec Bug #695193 - Window size resets to default at exit with gtk 3.7.10+ 2013-03-06 18:15:02 +01:00
8c903b9320 e-util-enums.h: Add EDateWeekday enum.
This enum type is intentionally compatible with GDateWeekday.
It exists only because GLib does not provide a GEnumClass for
GDateWeekday.  If that ever changes, this enum can go away.
2013-03-06 10:20:45 -05:00
85aba54903 Document the enum types in e-util-enums.h. 2013-03-06 10:01:16 -05:00
a659ca9e35 e-util.h: #include <e-util/e-util-enumtypes.h>
So the generated GEnumClass types can be used outside of libeutil.
2013-03-05 12:43:25 -05:00
7dcd0b4499 Update API documentation. 2013-03-02 19:45:09 -05:00
4ff90f2bfd Use EClientComboBox where appropriate.
Basically any place where we use both EClient and ESourceComboBox.
2013-03-01 18:16:07 -05:00
977be20ced Add EClientComboBox. 2013-03-01 18:09:36 -05:00
7bd9b878a3 EClientSelector: Pre-fetch selected clients. 2013-03-01 18:09:36 -05:00
a7196dd228 e_client_selector_get_client_sync(): Add argument guards. 2013-03-01 13:55:48 -05:00
6d9cf1b8fe e-client-selector.h: Add missing G_END_DECLS. 2013-03-01 12:19:08 -05:00
662ed02cc7 Never ever pre-fetch anything in EClientSelector
That's the worst idea for many reasons, couple examples:
 - password prompts after evolution's run for disabled (in selector) sources
 - too much unnecessary network I/O (most remote backends runs sync on open)
 - doesn't do what user told it to do (Unselected means unselected. Dot.)
 - unable to debug anything in factories when it misbehaves this way

Next time ask peers, users and usability experts for their opinion, before doing such decision.
2013-03-01 16:47:37 +01:00
e8b4f7de7f EClientCache cleanups. 2013-02-27 11:45:47 -05:00
c03ac67511 Add EPhotoCache.
Caches contact photos by email address.

Replaces the disastrous implementation in e-mail-utils.c.
2013-02-27 10:59:54 -05:00
33bbdaa50b Coding style and whitespace cleanup. 2013-02-23 22:24:59 -05:00
3b81518304 EClientCache: Use e_source_registry_dup_unique_display_name().
Use a standard format for naming an ESource in user-visible messages.
2013-02-23 09:35:20 -05:00
e82cb12e16 EClientSelector: Pre-fetch relevant EClient instance.
Asyncrhonously fetch all relevant EClient instances during instance
initialization to try and get them cached ahead of time, and so that
all status icons are present when the tree view is shown.
2013-02-22 10:59:30 -05:00
3b8afec6a7 Autocompletion - do not use quick timeout when user types text
The quick timeout is used only when new items are found,
do not use it when user types text, because it flickers.
2013-02-22 09:34:31 +01:00
e667bac9f9 Speed-up auto-completion results showing
The results were postponed to show as long as there were new notifications
about added contacts, which could take quite long for many matched items.
This shows the results with smaller timeout and without postponing.
2013-02-21 19:07:37 +01:00
fd9622bb41 EClientSelector: Add a backend status icon.
Append a tree view column to display a symbolic icon hinting at backend
status.  Currently this only displays icons for online/offline and when
the backend dies.  I'd also like to add a spinner icon to indicate when
we're processing a query and for other long-running activities.
2013-02-20 16:35:58 -05:00
5488c24819 Add e_client_selector_ref_cached_client_by_iter(). 2013-02-20 16:35:58 -05:00