platform/upstream/evolution-data-server.git
14 years agoBuild against gtk+-3.0 when running distcheck.
Matthew Barnes [Tue, 29 Jun 2010 13:14:33 +0000 (09:14 -0400)]
Build against gtk+-3.0 when running distcheck.

14 years agoRequire gweather >= 2.90.0 when building against gtk+-3.0.
Matthew Barnes [Tue, 29 Jun 2010 13:07:43 +0000 (09:07 -0400)]
Require gweather >= 2.90.0 when building against gtk+-3.0.

Note, at this moment libgweather-2.90.0 doesn't exist.  The version
requirement is a guess.  The tarball should appear "any minute now".

14 years agoBug #622350 - CamelFolder's "deleted" signal prototype changed
Milan Crha [Tue, 29 Jun 2010 12:54:47 +0000 (14:54 +0200)]
Bug #622350 - CamelFolder's "deleted" signal prototype changed

14 years agoUpdate libedataserverui versioning for gtk3. 3.0 should build gtk3 and 1.2 with gtk2
Chenthill Palanisamy [Tue, 29 Jun 2010 12:05:09 +0000 (17:35 +0530)]
Update libedataserverui versioning for gtk3. 3.0 should build gtk3 and 1.2 with gtk2

14 years agoAdd helper to show the name selector with correct transience, to
Michael Meeks [Tue, 29 Jun 2010 10:05:53 +0000 (11:05 +0100)]
Add helper to show the name selector with correct transience, to
fix the umpteen bugs in its use in Evolution.

14 years agoUpdate summary uidnext after fetching messages.
David Woodhouse [Tue, 29 Jun 2010 08:41:33 +0000 (09:41 +0100)]
Update summary uidnext after fetching messages.

Since we don't refetch flags if we've fetched new messages for a previously
empty folder, we weren't updating the stored uidnext -- which meant we would
refetch messages again next time. And if the folder is empty, we'd refetch
messages every time and never update uidnext.

14 years agoBug 622828 - Don't recurse to parent class's ->disconnect() method.
David Woodhouse [Sun, 27 Jun 2010 08:26:41 +0000 (09:26 +0100)]
Bug 622828 - Don't recurse to parent class's ->disconnect() method.

That seems to be our caller. Calling it back will just end in tears.

14 years agoBug 622822 - Fix failure return from nntp_folder_refresh_info_online()
David Woodhouse [Sun, 27 Jun 2010 07:37:55 +0000 (08:37 +0100)]
Bug 622822 - Fix failure return from nntp_folder_refresh_info_online()

When invoked with no fmt argument, camel_nntp_command() is only supposed
to select the folder and return zero.

Since commit 08cfec3e we have been interpreting that zero as FALSE, and
this is what causes nntp folders to appear empty as refresh_info appears
to fail.

14 years agoFix nntp folder tree building
David Woodhouse [Sat, 26 Jun 2010 15:03:35 +0000 (16:03 +0100)]
Fix nntp folder tree building

When it creates a 'virtual' NOSELECT|CHILDREN folder to fill a gap in
the hierarchy, it doesn't correctly insert that into the tree if it is a
top-level folder (i.e. last == NULL).

Once you fix that bug, you end up with two identical copies of the
tree-insertion code. I moved that out into a separate function.

14 years agoBug 622719 - Fix lifetime issues with CamelIMAPXServer w.r.t. disconnection
David Woodhouse [Sat, 26 Jun 2010 13:47:25 +0000 (14:47 +0100)]
Bug 622719 - Fix lifetime issues with CamelIMAPXServer w.r.t. disconnection

14 years agoFix idle thread exit and locking
David Woodhouse [Fri, 25 Jun 2010 17:09:09 +0000 (18:09 +0100)]
Fix idle thread exit and locking

If we trigger its exit and wait for it while still holding the lock, it may
deadlock on the same lock. Also fix a multiple-unlock bug.

14 years agoHandle BYE response
David Woodhouse [Fri, 25 Jun 2010 11:25:38 +0000 (12:25 +0100)]
Handle BYE response

14 years agoFix idle dwell time
David Woodhouse [Fri, 25 Jun 2010 08:36:46 +0000 (09:36 +0100)]
Fix idle dwell time

When switching from sleep() to g_usleep() in commit 25b19908, we should
also have converted its argument into µs.

14 years agoRemove superfluous debug printf
David Woodhouse [Thu, 24 Jun 2010 23:12:08 +0000 (00:12 +0100)]
Remove superfluous debug printf

14 years agoUse LIST-EXTENDED to return subscribed status from LIST
David Woodhouse [Thu, 24 Jun 2010 23:01:36 +0000 (00:01 +0100)]
Use LIST-EXTENDED to return subscribed status from LIST

If the server supports LIST-EXTENDED, we don't have to follow the initial
LIST with an LSUB command to see which folders are subscribed -- we can
just ask it to tell us the subscribed status in the LIST responses.

14 years agoDetect LIST-STATUS and LIST-EXTENDED capabilities
David Woodhouse [Thu, 24 Jun 2010 22:23:19 +0000 (23:23 +0100)]
Detect LIST-STATUS and LIST-EXTENDED capabilities

14 years agoDon't show subscribed but non-existent folders.
David Woodhouse [Thu, 24 Jun 2010 22:10:35 +0000 (23:10 +0100)]
Don't show subscribed but non-existent folders.

The RFCs are clear that it's OK to have non-existent folders in the
subscribed list. Don't treat them as if they were real folders -- just
use their existence in the LSUB response to set the SUBSCRIBED flag if they
were already returned by the LIST response.

14 years agoReally select INBOX for folder deletion and rename
David Woodhouse [Thu, 24 Jun 2010 22:05:48 +0000 (23:05 +0100)]
Really select INBOX for folder deletion and rename

The folder selection code is a bit screwed -- a string comparison with
ic->select is used to determine which folder a job can run on, but
ic->job->folder is the one that's actually passed to imapx_select().

Fixing that is probably going to involve turning ic->select into a
folder pointer instead of a string -- so these callers might as well
start getting used to the fact that they have to look the INBOX up using
camel_store_get_folder(). I'll come back and actually fix the
imapx_command_start() code later, when there's nothing more important
offending me.

We really do need _not_ to be SELECTed on a renamed or deleted folder, or
entering IDLE will cause some servers (dovecot) to kick us off.

14 years agoRemove courier-imap rename workaround
David Woodhouse [Thu, 24 Jun 2010 14:41:30 +0000 (15:41 +0100)]
Remove courier-imap rename workaround

This is breaking things on non-buggy servers, because after renaming the
folder in question we also attempt to rename all its subfolders... and
quite reasonably get a failure.

Testing against current versions of Courier (4.4.0) seems to suggest
that it's not actually necessary, either -- perhaps the bug has been
fixed in the 9 years since this hack was first added to the imap back
end in commit bfce883e.

14 years agouse gtk-3.0 if available
Chenthill Palanisamy [Mon, 28 Jun 2010 09:51:13 +0000 (15:21 +0530)]
use gtk-3.0 if available

14 years agoUpdated Hebrew translation.
Yaron Shahrabani [Sun, 27 Jun 2010 21:09:13 +0000 (00:09 +0300)]
Updated Hebrew translation.

14 years agoBug 622392 - Build failure due to missing nspr includes
Matthew Barnes [Sun, 27 Jun 2010 11:45:18 +0000 (07:45 -0400)]
Bug 622392 - Build failure due to missing nspr includes

camel.pc.in already defines @mozilla_nss@ and @mozilla_nspr@ in its
Requires list, but that only works for distros that ship their own nss
and nspr pkg-config files.

Debian, for example, doesn't (but it should).  So @mozilla_nss@ and
@mozilla_nspr@ are never defined.  Instead, the configure script falls
back to the older "manual" settings and defines MANUAL_NSS_CFLAGS and
MANUAL_NSS_LIBS.  So list those as well in camel.pc.in.  They will be
mutually exclusive with the pkg-config variables.

And please, for the love of free software, somebody push pkg-config
files to upstream nss/nspr so we can drop this gunk from configure.
It's 2010 already for cryin' out loud...

14 years agoBug 622799 - Fails to link libedataserverui-1.2.la
Matthew Barnes [Sun, 27 Jun 2010 02:55:43 +0000 (22:55 -0400)]
Bug 622799 - Fails to link libedataserverui-1.2.la

14 years agoBug #622710 - Crash in imapx_idle_supported due to cinfo being NULL
Milan Crha [Fri, 25 Jun 2010 12:27:42 +0000 (14:27 +0200)]
Bug #622710 - Crash in imapx_idle_supported due to cinfo being NULL

14 years agoFor the sake of portability: sleep -> g_usleep
Fridrich Štrba [Fri, 25 Jun 2010 07:54:45 +0000 (09:54 +0200)]
For the sake of portability: sleep -> g_usleep

14 years agoBug #620815 - Memory leaks with Evolution
Milan Crha [Thu, 24 Jun 2010 18:42:16 +0000 (20:42 +0200)]
Bug #620815 - Memory leaks with Evolution

14 years agoBug 622008 - Don't trust is->select_folder in imapx_job_scan_changes_done()
David Woodhouse [Thu, 24 Jun 2010 13:13:17 +0000 (14:13 +0100)]
Bug 622008 - Don't trust is->select_folder in imapx_job_scan_changes_done()

We may have already issued a new SELECT command by the time the scan_changes
completion function is called, and is->select_folder may be NULL already.

14 years agoDisable the special-case for the selected folder in refresh_info
David Woodhouse [Thu, 24 Jun 2010 13:09:45 +0000 (14:09 +0100)]
Disable the special-case for the selected folder in refresh_info

It will make us miss messages on servers like Groupwise which don't give
unsolicited change notices; we really _do_ need to issue STATUS there,
even though it's explicitly forbidden by RFC3501 do so. Or SEARCH UNSEEN.

But the logic is broken anyway -- what is the currently-selected folder NOW
may not be the currently-selected folder by the time our STATUS command hits
the front of the queue anyway, so we do still end up doing STATUS on the
current folder sometimes. Needs more thought.

14 years agoRevamp imapx_job_refresh_info_start() to make use of modseq and uidnext
David Woodhouse [Thu, 24 Jun 2010 12:13:03 +0000 (13:13 +0100)]
Revamp imapx_job_refresh_info_start() to make use of modseq and uidnext

14 years agoAlways enable QRESYNC where it's available.
David Woodhouse [Sat, 19 Jun 2010 11:45:56 +0000 (12:45 +0100)]
Always enable QRESYNC where it's available.

This doesn't have much of an effect until we start using it, except for
enabling the VANISHED response, and causing unsolicited fetches to have UIDs.

14 years agoUpdate summary to include uidnext and modseq, and 64-bit uidvalidity
David Woodhouse [Thu, 24 Jun 2010 12:01:21 +0000 (13:01 +0100)]
Update summary to include uidnext and modseq, and 64-bit uidvalidity

Also set the new fields in imapx_job_scan_changes_done() -- although
the summary's uidvalidity still isn't being set anywhere.

14 years agoHandle UIDNEXT and MODSEQ/HIGHESTMODSEQ information from server.
David Woodhouse [Thu, 24 Jun 2010 11:36:51 +0000 (12:36 +0100)]
Handle UIDNEXT and MODSEQ/HIGHESTMODSEQ information from server.

UIDNEXT is useful for detecting when new messages have been added to a
folder, and (for servers which support it) MODSEQ is even more useful because
it lets us detect flags changes.

14 years agoMake uidvalidity field 64-bit
David Woodhouse [Thu, 24 Jun 2010 11:30:58 +0000 (12:30 +0100)]
Make uidvalidity field 64-bit

But not in the summary yet; I'll get to that shortly and we aren't even
storing it there anyway right now -- we're always writing zero.

14 years agoRecalculate unread_on_server count after fetching flags.
David Woodhouse [Thu, 24 Jun 2010 11:21:24 +0000 (12:21 +0100)]
Recalculate unread_on_server count after fetching flags.

Since we're not allowed to issue STATUS for the currently-selected mailbox,
the only way to ask the server for the count of unseen messages is to select
some _other_ mailbox and then issue STATUS. Even re-SELECTing the mailbox
doesn't give it, although a 'SEARCH UNSEEN' would do it, if we count the
responses.

But we _can_ work it out from the flags after we fetch them all.

14 years agoDecrement ifolder->exists_on_server when handling EXPUNGE/VANISHED
David Woodhouse [Thu, 24 Jun 2010 11:14:23 +0000 (12:14 +0100)]
Decrement ifolder->exists_on_server when handling EXPUNGE/VANISHED

We're supposed to keep track of this for ourselves; the server doesn't send
a new EXISTS.

14 years agoPermit all characters but dir_sep in imapx folder names.
David Woodhouse [Wed, 23 Jun 2010 23:24:58 +0000 (00:24 +0100)]
Permit all characters but dir_sep in imapx folder names.

There's no point in preventing people from creating folders with %#* in the
names; they can always create them from elsewhere. Or, AFAICT, just create
them using evo with a 'permitted' name and then rename them to contain the
'offending' characters.

14 years agoSimplify relationship between full and path names for imapx
David Woodhouse [Wed, 23 Jun 2010 23:17:58 +0000 (00:17 +0100)]
Simplify relationship between full and path names for imapx

There seems to be no point in the %25-style escapes, which we were applying
in full_to_path() only if dir_sep != '/', and then reversing in path_to_full()
unconditionally. Instead, just swap dir_sep with '/'. Aside from simplifying
the code, this also means that the path displayed to the user will be as close
as possible to the real name -- it means that my "be nasty to imapx" test
folder called fish"%sd is displayed properly, instead of as fish"%25sd.

14 years agoQueue non-folder specific jobs while waiting for SELECT to complete
David Woodhouse [Wed, 23 Jun 2010 22:04:01 +0000 (23:04 +0100)]
Queue non-folder specific jobs while waiting for SELECT to complete

Remove this TODO from the list...

14 years agoPropagate STATUS responses to folders directly from imapx_untagged()
David Woodhouse [Wed, 23 Jun 2010 11:07:33 +0000 (12:07 +0100)]
Propagate STATUS responses to folders directly from imapx_untagged()

Storing this in the server-global variables like is->exists is broken;
any SELECT command which is sent between the untagged STATUS response
and the tagged completion of the command is going to overwrite the data.
Not to mention the fact that LIST-STATUS and NOTIFY will be totally hosed,
when we get more than one untagged STATUS response between tagged commands.

14 years agoUpdate ifolder->exists_on_server from STATUS response
David Woodhouse [Mon, 21 Jun 2010 20:00:17 +0000 (21:00 +0100)]
Update ifolder->exists_on_server from STATUS response

14 years agoMake camel_imapx_stream_number() return a guint64
David Woodhouse [Fri, 18 Jun 2010 10:29:29 +0000 (11:29 +0100)]
Make camel_imapx_stream_number() return a guint64

Some fields like UIDVALIDITY and MODSEQ may well be larger than can fit in
a 32-bit value. RFC4551 makes this abundantly clear in its examples.

14 years agoAllow debugging to be enabled with CAMEL_DEBUG environment variable
David Woodhouse [Sat, 19 Jun 2010 09:51:22 +0000 (10:51 +0100)]
Allow debugging to be enabled with CAMEL_DEBUG environment variable

CAMEL_DEBUG=imapx will enable all debugging, or 'imapx:command',
'imapx:token' etc. will enable certain types.

Not entirely sure if 'debug' and 'extra' are the correct names for the
old 'd()' and 'e()' debug output...

14 years agoFix overzealous IDLE handling
David Woodhouse [Wed, 23 Jun 2010 18:27:34 +0000 (19:27 +0100)]
Fix overzealous IDLE handling

We were sometimes entering the IDLE state even during a multi-part message
fetch, between one part and the other. This happened because we call
imapx_command_start_next() which sees an empty queue and triggers IDLE,
before we called the completion handler for the previous command which
puts a new FETCH request into the queue.

Similar behaviour was seen in various other situations, including between
subsequent sync_message() calls from the front end.

Fix this by having a dwell time of 2 seconds between the queue becoming
empty and actually sending the IDLE command. Only if the queue _remains_
empty for 2 seconds do we really enter the IDLE state.

Clean up the IDLE handling to use a state machine instead of a set of
boolean flags, while we're at it.

14 years agoImprove imapx command queue processing
David Woodhouse [Wed, 23 Jun 2010 13:33:14 +0000 (14:33 +0100)]
Improve imapx command queue processing

We were breaking out of the loop which looked for commands to start on
the currently-selected folder, as soon as we reached any command which
was for any other folder.

This meant that we'd only ever run the _first_ command from the queue,
even if it was for another folder and there were other were other commands
with equal priority waiting to run on the _current_ folder. This leads to
a bunch of gratuitous ping-ponging between folders with SELECT, without
actually running any real commands between two consecutive SELECTs.

14 years agoSilence compiler warning in imapx_job_matches()
David Woodhouse [Mon, 21 Jun 2010 19:56:40 +0000 (20:56 +0100)]
Silence compiler warning in imapx_job_matches()

It's a false positive, but it's annoying:
camel-imapx-server.c: In function ‘imapx_job_matches’:
camel-imapx-server.c:1004: warning: ‘full_name’ may be used uninitialized in this function

14 years agoRemove redundant 'unseen' member of CamelIMAPXServer.
David Woodhouse [Sun, 20 Jun 2010 22:43:28 +0000 (23:43 +0100)]
Remove redundant 'unseen' member of CamelIMAPXServer.

This was added in commit ed158d12 ("Fetch new messages first") seemingly by
mistake -- there was already an 'unread' field.

14 years agoHandle [CLOSED] status (RFC5162).
David Woodhouse [Sun, 20 Jun 2010 22:36:28 +0000 (23:36 +0100)]
Handle [CLOSED] status (RFC5162).

This indicates precisely when the selected mailbox changes to the new
mailbox during the SELECT command, before its tagged completion.

This allows us to assign unsolicited FETCH responses to the correct
mailbox; with QRESYNC those will arrive before the SELECT completion.

It also theoretically allows us to pipeline SELECT requests, although
there's not a huge amount of point in that and we'll have other issues
with our implementation if we do that.

14 years agoCope with unsolicited FETCH having both FLAGS and UID.
David Woodhouse [Sat, 19 Jun 2010 21:03:00 +0000 (22:03 +0100)]
Cope with unsolicited FETCH having both FLAGS and UID.

This'll happen once we're using CONDSTORE or QRESYNC

14 years agoSupport VANISHED response (RFC5162)
David Woodhouse [Sat, 19 Jun 2010 11:41:11 +0000 (12:41 +0100)]
Support VANISHED response (RFC5162)

14 years agoExtract EXPUNGE handling into imapx_expunge_uid_from_summary() function.
David Woodhouse [Sat, 19 Jun 2010 10:57:03 +0000 (11:57 +0100)]
Extract EXPUNGE handling into imapx_expunge_uid_from_summary() function.

We'll want to use the same function for handling VANISHED.

14 years agoFix imapx_parse_flags to not just return the first UID repeatedly, export it.
David Woodhouse [Sat, 19 Jun 2010 11:37:48 +0000 (12:37 +0100)]
Fix imapx_parse_flags to not just return the first UID repeatedly, export it.

14 years agoFix batch fetch to use UID FETCH in imapx_job_fetch_new_messages_start()
David Woodhouse [Mon, 21 Jun 2010 20:02:43 +0000 (21:02 +0100)]
Fix batch fetch to use UID FETCH in imapx_job_fetch_new_messages_start()

14 years agoAdd LITERALPLUS support.
David Woodhouse [Sun, 20 Jun 2010 18:23:17 +0000 (19:23 +0100)]
Add LITERALPLUS support.

In imapx_command_start(), just keep calling imapx_continuation() to send
the continuations immediately.

For this, we have to pass the CamelIMAPXServer pointer in to
camel_imapx_command_new() so that it can see the server's capabilities.

14 years agoFix division-by-zero in imapx message fetch
David Woodhouse [Tue, 22 Jun 2010 10:04:06 +0000 (11:04 +0100)]
Fix division-by-zero in imapx message fetch

Use ifolder->exists_on_server, not imap->exists (which could have come
from a STATUS command and be the value for some other folder).

And it's possible to get here when we thought there were no messages, so
add ?:1 to avoid the division by zero in that case too.

14 years agoDon't bother checking for is->cinfo being NULL. It can never happen now.
David Woodhouse [Thu, 24 Jun 2010 10:12:02 +0000 (11:12 +0100)]
Don't bother checking for is->cinfo being NULL. It can never happen now.

Famous last words, I know...

14 years agoAdd IMAPX_INITIALISED state; don't let users run before CAPABILITY/NAMESPACE
David Woodhouse [Tue, 22 Jun 2010 10:55:09 +0000 (11:55 +0100)]
Add IMAPX_INITIALISED state; don't let users run before CAPABILITY/NAMESPACE

Previously, other users would blindly carry on as soon as we reached the
IMAPX_AUTHENTICATED state... and then occasionally fail because ->capa
wasn't set, etc.

14 years agoEncode folder names as literals when sending commands, where needed
David Woodhouse [Mon, 21 Jun 2010 10:11:01 +0000 (11:11 +0100)]
Encode folder names as literals when sending commands, where needed

14 years agoAccept literals as folder names in STATUS
David Woodhouse [Mon, 21 Jun 2010 10:10:01 +0000 (11:10 +0100)]
Accept literals as folder names in STATUS

14 years agoNUL-terminate literal strings when tokenising
David Woodhouse [Mon, 21 Jun 2010 10:08:59 +0000 (11:08 +0100)]
NUL-terminate literal strings when tokenising

14 years agoRe-fetch capabilities after STARTTLS. There might be new auth methods available
David Woodhouse [Thu, 17 Jun 2010 13:58:41 +0000 (14:58 +0100)]
Re-fetch capabilities after STARTTLS. There might be new auth methods available

14 years agoAccept unsolicited CAPABILITY report as part of LOGIN/AUTHENTICATE response
David Woodhouse [Thu, 17 Jun 2010 13:47:56 +0000 (14:47 +0100)]
Accept unsolicited CAPABILITY report as part of LOGIN/AUTHENTICATE response

Also fix up freeing of cinfo status response.

14 years agoFix handling of unsolicited [CAPABILITY xxx] report in server greeting.
David Woodhouse [Thu, 17 Jun 2010 13:08:59 +0000 (14:08 +0100)]
Fix handling of unsolicited [CAPABILITY xxx] report in server greeting.

Fix up imapx_untagged() and imap_parse_status() to handle capabilities,
and use imapx_untagged() to read the server greeting.

Unify the greeting handling for the process and socket connections, and
don't re-fetch the capabilities immediately if we have them.

Handle incoming lines of noise before the greeting.

14 years agoDetect CONDSTORE and QRESYNC capabilities
David Woodhouse [Thu, 17 Jun 2010 10:37:34 +0000 (11:37 +0100)]
Detect CONDSTORE and QRESYNC capabilities

I have plans for these...

14 years agoRemove unused variable ‘message’
David Woodhouse [Wed, 23 Jun 2010 22:51:29 +0000 (23:51 +0100)]
Remove unused variable ‘message’

camel-offline-folder.c: In function ‘offline_downsync_sync’:
camel-offline-folder.c:63: warning: unused variable ‘message’

14 years agoUse camel_folder_sync_message() to sync messages.
David Woodhouse [Wed, 23 Jun 2010 13:38:41 +0000 (14:38 +0100)]
Use camel_folder_sync_message() to sync messages.

The imapx back end will handle sync_message requests at a much lower
priority than normal get_message requests, as is right and proper.

It would help if the front end would call the correct method, so that
the prioritisation actually works as expected. Otherwise, sync_message
requests end up having higher priority than the requests which are updating
flags and headers for changed folders -- leading to a crappy user experience.

14 years agoI caused a build break, shame on me.
Matthew Barnes [Wed, 23 Jun 2010 14:48:30 +0000 (10:48 -0400)]
I caused a build break, shame on me.

14 years agocamel_folder_append_message: 'info' can be NULL.
Matthew Barnes [Tue, 22 Jun 2010 23:46:51 +0000 (19:46 -0400)]
camel_folder_append_message: 'info' can be NULL.

14 years agoBug 316783 - Broken dragging of email addresses
Matthew Barnes [Tue, 22 Jun 2010 14:05:41 +0000 (10:05 -0400)]
Bug 316783 - Broken dragging of email addresses

14 years agoClarify documentation for e_destination_get_address().
Matthew Barnes [Mon, 21 Jun 2010 15:21:41 +0000 (11:21 -0400)]
Clarify documentation for e_destination_get_address().

14 years agoRevert "Bug 619347 - Return formatted address in e_destination_get_address"
Matthew Barnes [Mon, 21 Jun 2010 11:28:22 +0000 (07:28 -0400)]
Revert "Bug 619347 - Return formatted address in e_destination_get_address"

This reverts commit db8c986c4f06f0cb57de9bfa6982b4e78f0bb32a.

Despite the misleading documentation, e_destination_get_address() -is-
intended to return an encoded address suitable for use in mail headers.
e_destination_get_textrep() exists for displaying destination addresses
to the user.  The Contact List Editor is apparently calling the wrong
function.

14 years agoBug 621851 - CamelFolder description should fall back to full-name
Matthew Barnes [Sat, 19 Jun 2010 16:57:52 +0000 (12:57 -0400)]
Bug 621851 - CamelFolder description should fall back to full-name

14 years agoBug 621961 - Remove GroupWise debugging messages.
Matthew Barnes [Sat, 19 Jun 2010 12:23:33 +0000 (08:23 -0400)]
Bug 621961 - Remove GroupWise debugging messages.

14 years agoBug 601535 - Categories not translated in menus
Matthew Barnes [Sat, 19 Jun 2010 00:17:53 +0000 (20:17 -0400)]
Bug 601535 - Categories not translated in menus

14 years agos/EVOLUTION_LOCALEDIR/LOCALEDIR/
Matthew Barnes [Sat, 19 Jun 2010 00:01:58 +0000 (20:01 -0400)]
s/EVOLUTION_LOCALEDIR/LOCALEDIR/

14 years agoRemove the generated file camel-imapx-tokenise.h from git.
Chenthill Palanisamy [Fri, 18 Jun 2010 06:37:06 +0000 (12:07 +0530)]
Remove the generated file camel-imapx-tokenise.h from git.

14 years agoDo not set exception if its already set
Chenthill Palanisamy [Fri, 18 Jun 2010 03:04:07 +0000 (08:34 +0530)]
Do not set exception if its already set

14 years agoBug #621877 - Crash in summary_header_to_db at camel-vee-folder.c
Milan Crha [Thu, 17 Jun 2010 14:35:25 +0000 (16:35 +0200)]
Bug #621877 - Crash in summary_header_to_db at camel-vee-folder.c

14 years agoBug 621842 - use 'UID FETCH' instead of 'FETCH' for scan_changes
David Woodhouse [Thu, 17 Jun 2010 09:35:59 +0000 (10:35 +0100)]
Bug 621842 - use 'UID FETCH' instead of 'FETCH' for scan_changes

RFC3501 requires that 'UID FETCH' for non-existent message sets should
return an empty set of data and not complain. Unlike 'FETCH'.

14 years agoFix locking issues in cancel_all_jobs()
David Woodhouse [Wed, 16 Jun 2010 23:14:24 +0000 (00:14 +0100)]
Fix locking issues in cancel_all_jobs()

While debugging bug 621740, the race conditions in here were suspected.
On balance they probably weren't the cause, but fix them anyway for good
measure.

14 years agoFix tagprefix for multiple accounts.
David Woodhouse [Wed, 16 Jun 2010 23:11:02 +0000 (00:11 +0100)]
Fix tagprefix for multiple accounts.

It gets very confusing looking at debug logs when all four imapx accounts
are using 'A' as their tagprefix.

14 years agoBug 621740 - Fix double-free of is->literal in cancel_all_jobs()
David Woodhouse [Wed, 16 Jun 2010 23:09:15 +0000 (00:09 +0100)]
Bug 621740 - Fix double-free of is->literal in cancel_all_jobs()

The command which is is->literal is either on the queue or owned somewhere
else; there's no need for it to be freed in cancel_all_jobs() too.

14 years agoBug 621740 - Fix double command ->complete() in imapx_command_start_next()
David Woodhouse [Wed, 16 Jun 2010 23:06:54 +0000 (00:06 +0100)]
Bug 621740 - Fix double command ->complete() in imapx_command_start_next()

If imapx_command_start() returns FALSE, it'll already have called the
completion function for the command in question. Don't do it again; it's the
second of the _three_ places that command was getting freed.

14 years agoBug #617723 - Critical warnings when going offline in contact view
Milan Crha [Wed, 16 Jun 2010 17:41:47 +0000 (19:41 +0200)]
Bug #617723 - Critical warnings when going offline in contact view

14 years agoBug #206061 - Allow normal, non-vFolder, Trash and Junk folder
Milan Crha [Tue, 15 Jun 2010 14:09:04 +0000 (16:09 +0200)]
Bug #206061 - Allow normal, non-vFolder, Trash and Junk folder

14 years agoBug 610919 - Remove superfluous space in flags in APPEND command
David Woodhouse [Tue, 15 Jun 2010 11:24:51 +0000 (12:24 +0100)]
Bug 610919 - Remove superfluous space in flags in APPEND command

RFC3501 doesn't permit a space between the final flag and the closing
parenthesis, and Exchange will reject the command if it's there.

14 years agoSet exception correctly while appending message - missed in previous commit
Chenthill Palanisamy [Tue, 15 Jun 2010 11:11:26 +0000 (16:41 +0530)]
Set exception correctly while appending message - missed in previous commit

14 years agoPart of bug 610919, to display the exceptions to the user. We still need to enable...
Chenthill Palanisamy [Tue, 15 Jun 2010 11:00:58 +0000 (16:30 +0530)]
Part of bug 610919, to display the exceptions to the user. We still need to enable displaying exceptions asyncronously

14 years agoBug 615239 - Fix GSSAPI (and other SASL) authentication for imapx
David Woodhouse [Mon, 14 Jun 2010 11:19:38 +0000 (12:19 +0100)]
Bug 615239 - Fix GSSAPI (and other SASL) authentication for imapx

14 years agoBug 599879 - Fix NULL return without exception on krb5-auth-dialog failure
David Woodhouse [Mon, 14 Jun 2010 10:57:22 +0000 (11:57 +0100)]
Bug 599879 - Fix NULL return without exception on krb5-auth-dialog failure

14 years agoBug 585301 - Use ~/.pki/nssdb for NSS SQL database, not Evolution directory.
David Woodhouse [Sat, 12 Jun 2010 23:07:47 +0000 (00:07 +0100)]
Bug 585301 - Use ~/.pki/nssdb for NSS SQL database, not Evolution directory.

This is where the user-specific part of the 'shared system database' goes,
and is what Chrome uses. When the system _isn't_ configured to use the
shared system database, this is what we should be using.

14 years agoUpdated Galician translations
Fran Diéguez [Sun, 13 Jun 2010 15:20:34 +0000 (17:20 +0200)]
Updated Galician translations

14 years agoBug 585301 - Use correct NSS system database where appropriate.
David Woodhouse [Thu, 10 Jun 2010 12:52:13 +0000 (13:52 +0100)]
Bug 585301 - Use correct NSS system database where appropriate.

It sucks that we have to look in the /etc/pki/nssdb/pkcs11.txt file to work
out whether the system database is being used, but it's the only way to tell.

14 years agoBug 621262 - Fix fetch of large mails from broken servers like Exchange
David Woodhouse [Fri, 11 Jun 2010 00:42:59 +0000 (01:42 +0100)]
Bug 621262 - Fix fetch of large mails from broken servers like Exchange

14 years agoBug 621237 - Add imap-over-custom-command support for imapx
David Woodhouse [Thu, 10 Jun 2010 19:22:13 +0000 (20:22 +0100)]
Bug 621237 - Add imap-over-custom-command support for imapx

14 years agoCheck EBook DBus error names without underscores too
Milan Crha [Fri, 11 Jun 2010 09:09:07 +0000 (11:09 +0200)]
Check EBook DBus error names without underscores too

As shown in Gnome bug #621232, newer DBus can strip underscores
in the names (see comment #0 there). I guess it does newer DBus.

14 years agofixed an error in previous commit
Chenthill Palanisamy [Thu, 10 Jun 2010 20:32:26 +0000 (02:02 +0530)]
fixed an error in previous commit

14 years agouse gdk_drag_context_get_action instead of gdk_drag_context_get_selected_action for...
Chenthill Palanisamy [Thu, 10 Jun 2010 12:21:55 +0000 (17:51 +0530)]
use gdk_drag_context_get_action instead of gdk_drag_context_get_selected_action for gtk version 2.21.1

14 years agopost release version bump
Chenthill Palanisamy [Thu, 10 Jun 2010 09:24:29 +0000 (14:54 +0530)]
post release version bump

14 years agoupdating the minor version
Chenthill Palanisamy [Thu, 10 Jun 2010 07:38:48 +0000 (13:08 +0530)]
updating the minor version

14 years agoversion update for 2.31.3.1 release
Chenthill Palanisamy [Thu, 10 Jun 2010 06:49:03 +0000 (12:19 +0530)]
version update for 2.31.3.1 release