Kjartan Maraas [Wed, 10 Aug 2011 13:06:29 +0000 (15:06 +0200)]
Updated Norwegian bokmål translation
Christophe Dumez [Tue, 9 Aug 2011 12:22:25 +0000 (15:22 +0300)]
complete_get_object_master: Fix the NULL recurrence-id check
The check was checking that the recurrence-id was valid instead
of making sure that it is NULL (opposite).
Milan Crha [Tue, 9 Aug 2011 11:25:08 +0000 (13:25 +0200)]
Add a bit more type checking in ESourceList
Milan Crha [Mon, 8 Aug 2011 09:56:28 +0000 (11:56 +0200)]
e_client_utils_open_new() could use already freed memory
Backends can notify that they are "opened" multiple times, but only
the first notification is significant for e_client_utils_open_new().
Tristan Van Berkom [Mon, 8 Aug 2011 08:49:24 +0000 (10:49 +0200)]
Bug #656058 - Improve EBookBackendSqliteDB searching API
Fran Dieguez [Sun, 7 Aug 2011 13:12:10 +0000 (15:12 +0200)]
Updated Galician translations
Milan Crha [Fri, 5 Aug 2011 14:50:13 +0000 (16:50 +0200)]
Properly manage boolean values in SQLite contacts cache
Raul Gutierrez Segales [Thu, 4 Aug 2011 21:23:16 +0000 (22:23 +0100)]
Vala bindings: work around owned not being honored in metadata
Works around: https://bugzilla.gnome.org/show_bug.cgi?id=655996
Milan Crha [Thu, 4 Aug 2011 14:04:00 +0000 (16:04 +0200)]
Bug #652172 - Fix a regression from the previous commit
Milan Crha [Thu, 4 Aug 2011 09:31:15 +0000 (11:31 +0200)]
Call gtk_init_check() in factories with enabled maintainer mode
That's to have loaded gtk-modules, like gnomesegvhandler
from bug-buddy, if it's possible. Factories can still be
run without gtk environment.
Christophe Dumez [Wed, 3 Aug 2011 12:59:24 +0000 (15:59 +0300)]
Add missing G_BEGIN_DECLS macro to libedataserver/e-client.h
Milan Crha [Wed, 3 Aug 2011 10:02:49 +0000 (12:02 +0200)]
Bug #655748 - rdate parsing failure: unknown value for period 20068
Daniel Nylander [Wed, 3 Aug 2011 06:45:13 +0000 (08:45 +0200)]
Updated Swedish translation
Tristan Van Berkom [Mon, 25 Jul 2011 23:12:57 +0000 (19:12 -0400)]
Adding test-client-revision-view.c
This test asserts that e_book_client_view_set_fields_of_interest()
is working properly with the local addressbook backend with regards
to views setup to only notify with the UID+REVISION.
Tristan Van Berkom [Sun, 26 Jun 2011 16:14:13 +0000 (12:14 -0400)]
Added test-client-uid-only-view.c test case.
This test case ensures that an EBookClientView with
the e_book_client_view_set_feilds_of_interest() set to
only the E_CONTACT_UID field, notifies with shallow
vcards holding only the contact UID.
Tristan Van Berkom [Sun, 26 Jun 2011 16:05:54 +0000 (12:05 -0400)]
Handle fields-of-interest for local addressbook backend.
This patch refactors the local addressbook backend to use
the new sqlitedb api instead of the old summary apis.
The result is that vcards are virtually built from the
sqlitedb cache when fields-of-interest is set.
Additionally, the patch adds the EBookBackend->notify_update()
vfunc which can be implemented for e_book_backend_notify_update().
The file backend uses this to notify with virtually created vcards
from the sqlite cache in response to contact additions and modifications.
This patch should address both bugs:
https://bugzilla.gnome.org/show_bug.cgi?id=652179
https://bugzilla.gnome.org/show_bug.cgi?id=652172
Tristan Van Berkom [Fri, 29 Jul 2011 23:28:08 +0000 (19:28 -0400)]
Handle summary fields and fields of interest better in e-book-backend-sqlitedb.c
This patch dramatically changes the sqlitedb cache code by introducing
a table (array of structures) describing all of the fields which should
be included in the (summary) cache. Thus, all code that treats the
summary fields by hand previously now consults the cache generically.
The REV field is added to the summary table, the UID is always returned
in any results from e_book_backend_sqlitedb_search() and when
'fields_of_interest' is specified then the sqlite3 db will only
be queried for the fields_of_interest + UID (thus only those fields
will be present in any virtually created vcard objects).
Additionally, e_book_backend_sqlitedb_get_vcard_string() and _get_contact()
take a new 'GHashTable *fields_of_interest' argument for field filtering and
e_book_backend_sqlitedb_is_summary_query() is an exported api which can be
tested before calling e_book_backend_sqlitedb_get_vcard_string().
Milan Crha [Tue, 2 Aug 2011 14:27:56 +0000 (16:27 +0200)]
Do not cancel cancellable in free_get_objects_async_data()
Raul Gutierrez Segales [Tue, 2 Aug 2011 13:58:01 +0000 (14:58 +0100)]
Introspection: fix annotation in e_vcard_remove_attributes
Milan Crha [Tue, 2 Aug 2011 13:12:14 +0000 (15:12 +0200)]
Bug #655190 - Sluggish performance interacting with calendar/tasks
Andre Klapper [Tue, 2 Aug 2011 09:14:43 +0000 (11:14 +0200)]
Replace alarm by reminder for UI consistency. Fixes bug #340614
Philip Withnall [Sun, 5 Jun 2011 14:58:08 +0000 (15:58 +0100)]
Bug 619135 — Add photo support to Google Contacts backend
Add support for getting and setting photos on contacts from Google Contacts,
including caching support.
Closes: bgo#619135
Daniel Nylander [Mon, 1 Aug 2011 16:43:41 +0000 (18:43 +0200)]
Updated Swedish translation
Milan Crha [Mon, 1 Aug 2011 13:58:35 +0000 (15:58 +0200)]
Bug #655499 - Don't crash when getting contacts before backend is opened
Yuri Kozlov [Sun, 31 Jul 2011 09:16:10 +0000 (13:16 +0400)]
Updated Russian translation
Daniel Mustieles [Fri, 29 Jul 2011 17:58:54 +0000 (19:58 +0200)]
Updated Spanish translation
Milan Crha [Fri, 29 Jul 2011 16:54:45 +0000 (18:54 +0200)]
Merge same backtraces into one e_pointer_tracker report
Milan Crha [Fri, 29 Jul 2011 15:06:16 +0000 (17:06 +0200)]
Be able to provide backtraces for e_ptr_tracker* functions
The e_ptr_tracker* functions from e-data-server-util.h track
pointers and reports those left in the queue at the end of
the application. With this change, when evolution-data-server
is configured with --enable-backtraces and required tools are
available, then also a backtrace when the pointer was added
to the queue is shown.
Thanks to Jan Kratochvil for his help with the dwfl part.
Raul Gutierrez Segales [Fri, 29 Jul 2011 11:44:28 +0000 (12:44 +0100)]
Introspection: state the element-type when using GSLists
Chao-Hsiung Liao [Fri, 29 Jul 2011 08:07:36 +0000 (16:07 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Raul Gutierrez Segales [Thu, 28 Jul 2011 18:15:55 +0000 (19:15 +0100)]
Introspection: fix annotation in e_client_get_capabilities
David Woodhouse [Thu, 28 Jul 2011 16:25:38 +0000 (17:25 +0100)]
Fix stray unref of server in imapx add_folders_to_summary()
This was causing a double (well, multiple) free and use-after-free of the
server; it has no business here.
It was actually seen when a broken Yahoo server gave a namespace with NIL
for the dir_sep, thus causing problems with subfolders.
David Woodhouse [Thu, 28 Jul 2011 16:19:00 +0000 (17:19 +0100)]
Make e-{addressbook,calendar}-factory supersede old factory at startup.
I've lost count of the number of times I've run a factory for debugging
purposes but actually discovered that there's another one already running,
so my new one isn't being used. It's particularly likely because when you
*kill* an existing factory Evolution will bitch about how calendars will
never work again until you restart Evolution... but it *will* restart the
factory automatically!
So make the new factory supersede an old one, and make the old one quit
when it's superseded. This will make debugging a whole lot saner.
Raul Gutierrez Segales [Thu, 28 Jul 2011 14:41:35 +0000 (15:41 +0100)]
Introspection: fix annotation in e_book_client_get_contacts_finish
Raul Gutierrez Segales [Thu, 28 Jul 2011 14:21:07 +0000 (15:21 +0100)]
Introspection: fix annotation in e_book_client_get_self
In the previous commit I forgot to annotate the fact that
the EBookClient param is an out param too.
Raul Gutierrez Segales [Thu, 28 Jul 2011 14:08:36 +0000 (15:08 +0100)]
Introspection: fix annotation in e_book_client_get_self
Milan Crha [Thu, 28 Jul 2011 11:22:13 +0000 (13:22 +0200)]
Add missing \n in a debug print
Raul Gutierrez Segales [Thu, 28 Jul 2011 11:04:37 +0000 (12:04 +0100)]
Introspection: fix annotation in e_book_client_get_contacts_sync
Sean Finney [Thu, 28 Jul 2011 10:59:45 +0000 (12:59 +0200)]
Bug #654893 - Fix one missed rename of 'msg_security' to 'dirty'
Milan Crha [Thu, 28 Jul 2011 09:39:51 +0000 (11:39 +0200)]
Bug #655414 - Need translation comments
Milan Crha [Wed, 27 Jul 2011 20:42:43 +0000 (22:42 +0200)]
Bug #655409 - Extra flags in CamelStoreInfo break folder type check
Milan Crha [Wed, 27 Jul 2011 12:51:00 +0000 (14:51 +0200)]
Bug #654472 - Crash on async error return over GDBus
Milan Crha [Wed, 27 Jul 2011 09:21:31 +0000 (11:21 +0200)]
Be able to fetch all vCards/uids from an SQLite book backend cache
Milan Crha [Wed, 27 Jul 2011 05:33:07 +0000 (07:33 +0200)]
Use same type for fields_of_interest arguments
The fields_of_interest argument of e_book_backend_sqlitedb_search()
was of a different type than the one provided by EDataBookView.
Milan Crha [Tue, 26 Jul 2011 20:19:58 +0000 (22:19 +0200)]
Return back camel_stream_reset() functionality where required
Milan Crha [Tue, 26 Jul 2011 20:14:14 +0000 (22:14 +0200)]
Bug #655331 - pgp/gpg signature is not shown
Matthew Barnes [Sun, 24 Jul 2011 16:34:42 +0000 (11:34 -0500)]
Bug 654480 - [imapx] Mark as Junk is not reliable
When comparing server-side message flags to local flags, disregard
non-permanent flags that appear to have been cleared on the server.
This solves the problem of IMAP servers not storing junk-related flags
permanently, then when we synchronize message flags with the server, our
local junk-related flags (which -are- stored permanently) get clobbered.
Matthew Barnes [Sun, 24 Jul 2011 14:12:51 +0000 (09:12 -0500)]
IMAPX: Delete CamelIMAPXViewSummary.
After spending nearly an hour trying to understand how this code is
used... only to realize it's not.
Matthew Barnes [Sat, 23 Jul 2011 17:17:57 +0000 (12:17 -0500)]
Post-release version bump.
Matthew Barnes [Sat, 23 Jul 2011 17:13:30 +0000 (12:13 -0500)]
NEWS update for 3.1.4 release.
Matthew Barnes [Fri, 22 Jul 2011 15:03:40 +0000 (10:03 -0500)]
Coding style and whitespace cleanups.
Matthew Barnes [Tue, 19 Jul 2011 20:02:58 +0000 (15:02 -0500)]
CamelPOP3Store cleanups.
Matthew Barnes [Thu, 21 Jul 2011 15:38:17 +0000 (10:38 -0500)]
Update API documentation.
Matthew Barnes [Thu, 21 Jul 2011 12:51:09 +0000 (07:51 -0500)]
Update POTFILES.in for camel-junk-filter.c.
Matthew Barnes [Tue, 19 Jul 2011 21:58:23 +0000 (16:58 -0500)]
Add CamelNetworkService interface.
For now this interface is optional for network-based providers.
Eventually I'd like to move the connect() and disconnect() methods
from CamelService to CamelNetworkService entirely, but for now this
interface just collects duplicate code from the imap, imapx, nntp,
pop3 and smtp providers. The connect_sync() method creates a TCP
stream and configures it to use a SOCKS proxy if available.
Matthew Barnes [Tue, 19 Jul 2011 17:53:47 +0000 (12:53 -0500)]
Generate GTypes for various Camel enums.
Kind of picking and choosing at this point. Some enum types must be
renamed to use CamelCase before they can be added to camel-enums.h,
other enum types don't even have a type name.
Matthew Barnes [Fri, 15 Jul 2011 17:14:36 +0000 (13:14 -0400)]
CamelNNTPStore cleanups.
Kjartan Maraas [Mon, 18 Jul 2011 09:38:42 +0000 (11:38 +0200)]
Revert the previous commit since it seems to be a problem with the build chain
Kjartan Maraas [Sun, 17 Jul 2011 18:41:46 +0000 (20:41 +0200)]
Add camel-junk-filter to the provider sources to make it build in recent jhbuild. Also include camel-junk-filter.h in the source files that use the api.
Matthew Barnes [Fri, 15 Jul 2011 15:06:43 +0000 (11:06 -0400)]
CamelIMAPXConnManager: Keep a weak pointer to CamelStore.
CamelIMAPXStore owns CamelIMAPXConnManager, so keep only a weak pointer
back to the CamelIMAPXStore to break another reference cycle.
Matthew Barnes [Fri, 15 Jul 2011 14:21:25 +0000 (10:21 -0400)]
Break reference cycle between CamelStore and CamelFolder.
Now that we've ensured that every CamelFolder instance is cached by its
parent CamelStore, the CamelFolder need only keep a weak pointer to its
parent CamelStore. This breaks another reference cycle.
Matthew Barnes [Fri, 15 Jul 2011 14:07:37 +0000 (10:07 -0400)]
CamelStore: Folder cache is always present.
I can't find any CamelStore instances with no folder cache, so let's
assert that it's always present and quit checking for NULL everywhere.
Matthew Barnes [Fri, 15 Jul 2011 13:28:30 +0000 (09:28 -0400)]
CamelService: Little typo.
Didn't set up the weak pointer correctly.
Matthew Barnes [Fri, 15 Jul 2011 12:45:42 +0000 (08:45 -0400)]
CamelSession: Add camel_session_remove_services()
Helps ensure CamelService instances are finalized during application
shutdown, even if CamelSession itself is caught in reference cycles.
Matthew Barnes [Fri, 15 Jul 2011 03:35:35 +0000 (23:35 -0400)]
CamelIMAPXServer: Fix CamelSession reference leak.
CamelIMAPXServer was not releasing its CamelSession reference.
Not that it matters much at the moment since CamelIMAPXServer instances
themselves are not getting finalized. Need to hunt down what's leaking
those now...
Matthew Barnes [Fri, 15 Jul 2011 03:20:05 +0000 (23:20 -0400)]
Break reference cycle between CamelSession and CamelService.
CamelService now holds only a weak pointer to CamelSession.
Matej Urbančič [Thu, 14 Jul 2011 12:35:11 +0000 (14:35 +0200)]
Updated Slovenian translation
Matthew Barnes [Mon, 11 Jul 2011 01:49:16 +0000 (21:49 -0400)]
Rewrite Camel's junk plugin interface.
Replace CamelJunkPlugin with a proper GInterface and add a "junk-filter"
property to CamelSession with corresponding get/set functions. The new
interface includes GCancellable and GError parameters.
David Woodhouse [Thu, 14 Jul 2011 01:52:12 +0000 (18:52 -0700)]
Fix wakeups in imapx parser thread.
There's no need to wake up every 30 seconds. If the parser_quit flag
gets set, our cancellable will be cancelled. Fix a race condition in
imapx_command_idle_stop which was triggering the cancellable and *then*
setting parser_quit.
Aurimas Černius [Tue, 12 Jul 2011 16:02:59 +0000 (19:02 +0300)]
Updated Lithuanian translation
Rudolfs Mazurs [Tue, 12 Jul 2011 12:39:05 +0000 (15:39 +0300)]
Updated Latvian translation.
Antoine Jacoutot [Tue, 12 Jul 2011 11:26:39 +0000 (13:26 +0200)]
Move the "$host" down when $host is actually set and don't set DL_LIB
to libdl which is not available on OpenBSD/FreeBSD.
https://bugzilla.gnome.org/show_bug.cgi?id=654444
Kjartan Maraas [Tue, 12 Jul 2011 10:43:17 +0000 (12:43 +0200)]
Updated Norwegian bokmål translation
Piotr Drąg [Sun, 10 Jul 2011 11:59:52 +0000 (13:59 +0200)]
Updated POTFILES.in
Matthew Barnes [Sat, 9 Jul 2011 21:23:10 +0000 (17:23 -0400)]
Remove G_DISABLE_DEPRECATED.
ATK headers still use G_CONST_RETURN, which is deprecated.
Matthew Barnes [Sat, 9 Jul 2011 15:58:16 +0000 (11:58 -0400)]
CamelSpoolStore cleanups.
Matthew Barnes [Sat, 9 Jul 2011 15:11:07 +0000 (11:11 -0400)]
CamelMhStore cleanups.
Matthew Barnes [Fri, 8 Jul 2011 19:32:52 +0000 (15:32 -0400)]
CamelLocalStore cleanups.
Muhammet Kara [Thu, 7 Jul 2011 21:25:50 +0000 (00:25 +0300)]
[l10n]Updated Turkish translation
Abduxukur Abdurixit [Thu, 7 Jul 2011 14:27:02 +0000 (16:27 +0200)]
Added UG translation
Matthew Barnes [Wed, 6 Jul 2011 18:58:51 +0000 (14:58 -0400)]
CamelDataWrapper: Keep contents in a GByteArray.
Keep CamelDataWrapper contents in an internal GByteArray rather than a
CamelStream. The CamelStream was causing problems because it now needs
to be seekable, but in some cases we were getting a CamelStreamFilter
which is _not_ seekable.
Also add camel_data_wrapper_get_byte_array() for when you need direct
access to the contents. This is sometimes more convenient than copying
it into a memory stream, but carries a thread-safety risk if you're not
careful. Only CamelDataWrapper subclasses should really be using it.
This is another API and ABI break since CamelDataWrapper's CamelStream
pointer was a public struct member.
Matthew Barnes [Wed, 6 Jul 2011 11:39:43 +0000 (07:39 -0400)]
Remove camel_stream_printf().
GIO streams have no equivalent method, so removing this function forces
our code to look a bit more like it will when we move to GIO streams.
Also, camel_stream_printf() lacks GCancellable and GError arguments,
which inevitably leads to poor error handling in the providers.
libcamel soname has already been bumped for 3.1.4.
Matthew Barnes [Tue, 5 Jul 2011 20:43:59 +0000 (16:43 -0400)]
Avoid camel_stream_printf().
camel_stream_printf() is next on the chopping block.
Use g_strdup_printf() or a GString to construct a formatted string in
memory, pass to to camel_stream_write() in one go, and then check for
errors (unless it's a memory stream).
Chenthill Palanisamy [Wed, 6 Jul 2011 09:57:01 +0000 (15:27 +0530)]
post release version bump
Chenthill Palanisamy [Wed, 6 Jul 2011 09:44:03 +0000 (15:14 +0530)]
News update for 3.1.3.1 release
Daniel Mustieles [Wed, 6 Jul 2011 07:41:44 +0000 (09:41 +0200)]
Updated Spanish translation
Wylmer Wang [Wed, 6 Jul 2011 07:21:39 +0000 (07:21 +0000)]
Update Simplified Chinese translation.
Akhil Laddha [Wed, 6 Jul 2011 04:47:04 +0000 (10:17 +0530)]
Bug#654054 Fix eds build failure
Matthew Barnes [Tue, 5 Jul 2011 15:41:22 +0000 (11:41 -0400)]
camel_stream_vprintf() doesn't exist.
Remove its declaration from camel-stream.h.
Matthew Barnes [Tue, 5 Jul 2011 14:50:11 +0000 (10:50 -0400)]
Remove camel_stream_reset().
All use cases accounted for; they're all seekable streams, so use
g_seekable_seek() instead if you need to reset the cursor position.
Obviously an API break. The libcamel soname has already been bumped for
3.1.4 so we'll leave it be.
Matthew Barnes [Tue, 5 Jul 2011 13:20:47 +0000 (09:20 -0400)]
Prefer g_seekable_seek() over camel_stream_reset().
When a stream is obviously a file or memory stream (both of which
implement the GSeekable interface), use g_seekable_seek() instead of
camel_stream_reset().
This is helping me discover if it's safe to remove camel_stream_reset().
We want to eventually move to GIO streams, which have no reset method.
Matthew Barnes [Tue, 5 Jul 2011 13:36:13 +0000 (09:36 -0400)]
Camel: Remove some unnecessary type casts.
Matthew Barnes [Tue, 5 Jul 2011 11:07:23 +0000 (07:07 -0400)]
CamelImapWrapper: Use GError instead of errno.
Matthew Barnes [Tue, 5 Jul 2011 11:00:48 +0000 (07:00 -0400)]
camel_stream_process_connect(): Add GError parameter.
Fran Dieguez [Tue, 5 Jul 2011 09:29:17 +0000 (11:29 +0200)]
Updated Galician translations
Matthew Barnes [Tue, 5 Jul 2011 04:06:46 +0000 (00:06 -0400)]
camel_tcp_stream_ssl_enable_ssl(): Add GError parameter.
Matthew Barnes [Tue, 5 Jul 2011 03:44:58 +0000 (23:44 -0400)]
SMTP: Use GError instead of errno.
Matthew Barnes [Tue, 5 Jul 2011 03:30:56 +0000 (23:30 -0400)]
NNTP: Remove unnecessary <errno.h> includes.
Matthew Barnes [Tue, 5 Jul 2011 02:08:04 +0000 (22:08 -0400)]
POP3: Use GError instead of errno.
Mario Blättermann [Mon, 4 Jul 2011 19:50:28 +0000 (21:50 +0200)]
[l10n] Updated German translation