Milan Crha [Thu, 29 Jul 2010 18:40:05 +0000 (20:40 +0200)]
Bug #625606 - git/master build dies with glib-2.25.12
Jorge González [Thu, 29 Jul 2010 07:35:14 +0000 (09:35 +0200)]
Updated Spanish translation
Matthew Barnes [Thu, 29 Jul 2010 03:22:39 +0000 (23:22 -0400)]
Fix error handling in CamelImapFolder::get_message().
Matthew Barnes [Thu, 29 Jul 2010 01:53:58 +0000 (21:53 -0400)]
Bug 625039 - Commonly named macros in Camel header files
Matthew Barnes [Wed, 28 Jul 2010 19:57:56 +0000 (15:57 -0400)]
Fix error handling in CamelLocalFolder::sync().
Matthew Barnes [Wed, 28 Jul 2010 19:34:05 +0000 (15:34 -0400)]
Bug 625083 - Gettext can't parse GLib's printf format constants
Milan Crha [Wed, 28 Jul 2010 18:16:50 +0000 (20:16 +0200)]
Bug #625482 - Personal addressbook is vanished
Matthew Barnes [Wed, 28 Jul 2010 17:39:34 +0000 (13:39 -0400)]
Reset BASE_VERSION to 2.32.
In light of today's announcement that GNOME 3.0 is delayed again,
the September 2010 release will be called Evolution Data Server 2.32.
http://www.gnome.org/press/releases/2010-07-gnome-3.0-rescheduled.html
Matthew Barnes [Wed, 28 Jul 2010 16:54:27 +0000 (12:54 -0400)]
Add more debug messages to basedir migration.
If directory removal fails because the directory is not empty,
list the file names in that directory.
Jorge González [Wed, 28 Jul 2010 15:11:46 +0000 (17:11 +0200)]
Updated Spanish translation
Milan Crha [Wed, 28 Jul 2010 11:49:04 +0000 (13:49 +0200)]
Bug #622884 - Migrate from dbus-glib to glib's GDBus
Yaron Shahrabani [Wed, 28 Jul 2010 10:25:39 +0000 (13:25 +0300)]
Updated Hebrew translation.
Matthew Barnes [Sat, 24 Jul 2010 01:43:00 +0000 (21:43 -0400)]
Adjust mbox: file paths in EAccounts.
Point mbox folder URIs to our new base directory.
(I suspect we haven't seen the last of this mbox URI issue...)
Matthew Barnes [Tue, 8 Jun 2010 13:21:05 +0000 (09:21 -0400)]
Add a migration routine to EDataBookFactory.
Migration runs just before the main loop starts.
It's just a sequence of local directory renames.
~/.evolution/cache/addressbook --> $XDG_CACHE_HOME/evolution/addressbook
~/.evolution/addressbook/local --> $XDG_DATA_HOME/evolution/addressbook
Matthew Barnes [Tue, 8 Jun 2010 12:58:10 +0000 (08:58 -0400)]
Add a migration routine to EDataCalFactory.
Migration runs just before the main loop starts.
It's just a sequence of local directory renames.
~/.evolution/cache/calendar --> $XDG_CACHE_HOME/evolution/calendar
~/.evolution/cache/memos --> $XDG_CACHE_HOME/evolution/memos
~/.evolution/cache/tasks --> $XDG_CACHE_HOME/evolution/tasks
~/.evolution/calendar/local --> $XDG_DATA_HOME/evolution/calendar
~/.evolution/memos/local --> $XDG_DATA_HOME/evolution/memos
~/.evolution/tasks/local --> $XDG_DATA_HOME/evolution/tasks
We also migrate Evolution-Exchange account storage:
~/.evolution/exchange --> $XDG_DATA_HOME/evolution/exchange
(After first cleaning up Exchange attachment cache directories.)
Matthew Barnes [Mon, 7 Jun 2010 13:17:44 +0000 (09:17 -0400)]
Comply with XDG Base Directory Specification.
This changes the output of the base directory functions:
e_get_user_cache_dir() now returns "$XDG_CACHE_HOME/evolution"
e_get_user_config_dir() now returns "$XDG_CONFIG_HOME/evolution"
e_get_user_data_dir() now returns "$XDG_DATA_HOME/evolution"
Also, fix test cases with hard-coded directories.
Jorge González [Mon, 26 Jul 2010 19:03:27 +0000 (21:03 +0200)]
Updated Spanish translation
Milan Crha [Mon, 26 Jul 2010 07:52:25 +0000 (09:52 +0200)]
Bug #625282 - Quick add contact claims on console
Yaron Shahrabani [Sat, 24 Jul 2010 10:53:29 +0000 (13:53 +0300)]
Updated Hebrew translation.
Aron Xu [Sat, 24 Jul 2010 05:27:22 +0000 (13:27 +0800)]
Update Simplified Chinese translation.
Matthew Barnes [Thu, 22 Jul 2010 17:13:09 +0000 (13:13 -0400)]
Eek, typo.
Matthew Barnes [Thu, 22 Jul 2010 14:00:34 +0000 (10:00 -0400)]
Fix "system" EBook/ECal creation functions.
The local "system" URIs are trivial now, it's just "local:system".
e_book_new_system_addressbook()
e_cal_new_system_calendar()
e_cal_new_system_tasks()
e_cal_new_system_memos()
Matthew Barnes [Thu, 22 Jul 2010 11:28:24 +0000 (07:28 -0400)]
Bug 602287 - Avoid racing with camel_operation_mute()
Milan Crha [Thu, 22 Jul 2010 09:11:44 +0000 (11:11 +0200)]
Bug #624891 - Various compiler warnings in git/master
Matthew Barnes [Wed, 21 Jul 2010 01:26:45 +0000 (21:26 -0400)]
Refactor ECalBackendCache.
ECalBackendCache doesn't need to know the URI of the backend, it just
needs a file name. Backends must now provide the name of the cache
file. This breaks the API, but eliminates duplicate logic.
Couple other miscellaneous functions removed:
e_book_backend_construct()
e_book_backend_cache_exists()
e_book_backend_db_cache_exists()
libedata-book's shared object name is bumped for the API break.
Adapt backends to the new API.
Matthew Barnes [Tue, 20 Jul 2010 23:36:11 +0000 (19:36 -0400)]
Refactor ECalBackendStore / ECalBackendFileStore.
These classes don't need to know the URI and source type of the backend,
they just need a file name. Backends must now provide the name of the
cache file. This breaks the API, but eliminates duplicate logic.
libedata-cal's shared object name is bumped for the API break.
Adapt backends to the new API.
Matthew Barnes [Tue, 20 Jul 2010 21:43:34 +0000 (17:43 -0400)]
ECalBackendFile overrides its cache directory.
It doesn't need a cache, so its cache directory is its data directory.
Matthew Barnes [Tue, 20 Jul 2010 21:26:45 +0000 (17:26 -0400)]
EDataCal: Add a getCacheDir() D-Bus method.
ECal calls getCacheDir() to find the local attachment store. ECal
caches the result, so getCacheDir() is only called once per instance.
Matthew Barnes [Tue, 20 Jul 2010 21:06:48 +0000 (17:06 -0400)]
ECalBackend: Add a "cache-dir" string property.
Holds the directory where data should be cached for that specific
backend instance.
e_cal_backend_get_cache_dir()
e_cal_backend_set_cache_dir()
Matthew Barnes [Tue, 20 Jul 2010 20:10:23 +0000 (16:10 -0400)]
ECalBackend cleanup.
Matthew Barnes [Tue, 20 Jul 2010 15:48:06 +0000 (11:48 -0400)]
ECalBackendStore cleanup.
Matthew Barnes [Tue, 20 Jul 2010 15:31:05 +0000 (11:31 -0400)]
ECalBackendFileStore cleanup.
Fran Diéguez [Wed, 21 Jul 2010 14:42:43 +0000 (16:42 +0200)]
Updated Galician translations
Jeff Cai [Wed, 21 Jul 2010 10:18:12 +0000 (18:18 +0800)]
Fix bug #624909
Matthew Barnes [Tue, 20 Jul 2010 13:47:51 +0000 (09:47 -0400)]
EBookBackend: Add a "cache-dir" string property.
Holds the directory where data should be cached for that specific
backend instance.
e_book_backend_get_cache_dir()
e_book_backend_set_cache_dir()
Matthew Barnes [Tue, 20 Jul 2010 12:12:14 +0000 (08:12 -0400)]
EBookBackend cleanup.
Matthew Barnes [Tue, 20 Jul 2010 11:58:36 +0000 (07:58 -0400)]
There is no need to call e_book_backend_construct().
Matthew Barnes [Tue, 20 Jul 2010 11:32:08 +0000 (07:32 -0400)]
Header file cleanup.
Chao-Hsiung Liao [Tue, 20 Jul 2010 06:25:28 +0000 (14:25 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Kjartan Maraas [Mon, 19 Jul 2010 19:41:34 +0000 (21:41 +0200)]
Updated Norwegian bokmål translation
Andre Klapper [Mon, 19 Jul 2010 19:14:48 +0000 (21:14 +0200)]
Add missing files to POTFILES.in. Fixes bug #624743.
Kjartan Maraas [Mon, 19 Jul 2010 12:17:17 +0000 (14:17 +0200)]
Updated Norwegian bokmål translation
Fran Diéguez [Sun, 18 Jul 2010 17:11:37 +0000 (19:11 +0200)]
Fixed headers in galician translation file
Jorge González [Sun, 18 Jul 2010 10:10:34 +0000 (12:10 +0200)]
Updated Spanish translation
Matthew Barnes [Fri, 16 Jul 2010 10:53:06 +0000 (06:53 -0400)]
ECalBackendFile: Fix an uninitialized variable
Milan Crha [Fri, 16 Jul 2010 07:34:47 +0000 (09:34 +0200)]
Remove deprecated ECalBackend::set_default_timezone
It's deprecated since 2006-07-10
Matthew Barnes [Thu, 15 Jul 2010 21:58:51 +0000 (17:58 -0400)]
Broke a few things with the local source URI change
ECalBackendFileFactory:
- The factory's get_protocol() method returns "local" now.
- uri_to_path() needs to actually build the path to its ICS file
now instead of just converting the backend's URI to a filename.
EBookBackendFileFactory:
- Similar fixes.
Matthew Barnes [Thu, 15 Jul 2010 17:08:50 +0000 (13:08 -0400)]
Avoid absolute paths in "On This Computer" source groups.
A base URI of "local:" is sufficient to identify the "On This Computer"
source group. No other source group uses that URI scheme, and it avoids
an entire class of portability problems that come with using an absolute
"file:" URI to point to user-specific data:
- What if the user's home directory is renamed?
- What if settings are moved to a new host under a different user name?
- What if settings are copied to another user account on the same host?
- Migrating to XDG base dirs is otherwise a giant PITA.
Matthew Barnes [Thu, 15 Jul 2010 12:31:02 +0000 (08:31 -0400)]
Fix e-data-book-factory.c regression.
Matthew Barnes [Thu, 15 Jul 2010 09:46:46 +0000 (05:46 -0400)]
CamelOperation debugging improvement
When calling camel_operation_unref() with a non-empty status stack,
show what status messages were left over in the status stack.
Matthew Barnes [Thu, 15 Jul 2010 09:31:15 +0000 (05:31 -0400)]
Bug 624417 - Fix error handling in e_cal_backend_sync_get_timezone()
Don't create a GError if we're successful.
Matthew Barnes [Tue, 8 Jun 2010 13:18:02 +0000 (09:18 -0400)]
EDataBookFactory cleanup.
Matthew Barnes [Mon, 7 Jun 2010 19:22:37 +0000 (15:22 -0400)]
EDataCalFactory cleanup.
Matthew Barnes [Wed, 14 Jul 2010 20:44:52 +0000 (16:44 -0400)]
Bug 624029 - Copying messages across stores is broken
Matthew Barnes [Wed, 14 Jul 2010 18:48:01 +0000 (14:48 -0400)]
Bug 624316 - Disable debug messages in GroupWise calendar backend
Matthew Barnes [Tue, 13 Jul 2010 21:26:17 +0000 (17:26 -0400)]
Bug 608299 - Cut/copy error when selection has trailing comma
When cutting or copying a selection that includes a trailing comma, the
subsequent address was also getting copied to the clipboard. The fix is
to ignore trailing whitespace and commas when scanning the selection for
email addresses.
Chenthill Palanisamy [Tue, 13 Jul 2010 19:52:13 +0000 (01:22 +0530)]
Removed folders from connection when operations gets done - handles when jobs return back without executing
Chenthill Palanisamy [Tue, 13 Jul 2010 19:30:57 +0000 (01:00 +0530)]
Add connection manager to imapx
Matthew Barnes [Tue, 13 Jul 2010 13:56:42 +0000 (09:56 -0400)]
Bug 624325 - CamelPOP3Store missing some methods
There's a corresponding change on the Evolution side to catch and clear
the CAMEL_STORE_ERROR_NO_FOLDER that CamelPOP3Store's get_folder_info()
method now sets to satisfy the new runtime checks.
Matthew Barnes [Tue, 13 Jul 2010 12:41:39 +0000 (08:41 -0400)]
CamelPOP3Store cleanup.
Milan Crha [Tue, 13 Jul 2010 12:47:12 +0000 (14:47 +0200)]
Bug #612082 - Do not expose off_t in public API, use goffset instead
Kjartan Maraas [Tue, 13 Jul 2010 12:25:38 +0000 (14:25 +0200)]
Updated Norwegian bokmål translation
Matthew Barnes [Tue, 13 Jul 2010 03:16:53 +0000 (23:16 -0400)]
libebook.pc.in missing camel-1.2 requirement.
EDestination uses CamelInternetAddress.
Fran Diéguez [Tue, 13 Jul 2010 00:41:50 +0000 (02:41 +0200)]
Updated Galician translations
Matthew Barnes [Mon, 12 Jul 2010 22:48:40 +0000 (18:48 -0400)]
Post-release version bump.
Matthew Barnes [Mon, 12 Jul 2010 22:28:55 +0000 (18:28 -0400)]
NEWS update for 2.31.5 release.
Milan Crha [Mon, 12 Jul 2010 14:44:25 +0000 (16:44 +0200)]
Bug #618938 - Crash when reading calendar acknowledgement message
Milan Crha [Mon, 12 Jul 2010 14:16:32 +0000 (16:16 +0200)]
Bug #623936 - 75 second delay when creating new DAV entries in Zimbra
Matthew Barnes [Mon, 12 Jul 2010 11:59:20 +0000 (07:59 -0400)]
Fix another g_propagate_error() runtime warning.
David Woodhouse [Mon, 12 Jul 2010 11:46:01 +0000 (12:46 +0100)]
imapx: Ensure imapx_stream_fill() sets the error on zero-sized read.
We treat an empty read as an error, since we should never be here unless
we're either in the middle of reading a response, or poll() says the fd
is readable. Before commit
46938c348 (the conversion to GError), we'd set
a generic 'IO Error' exception in camel_imapx_stream_token() when
imapx_stream_fill() returned -1 to indicate an error. But now we don't
do that any more, so imapx_stream_fill() needs to reliably set the GError.
Otherwise we end up in an endless loop in imapx_step().
Matthew Barnes [Mon, 12 Jul 2010 11:49:58 +0000 (07:49 -0400)]
Fix runtime warning in camel_filter_driver_flush().
Only propagate the error if there's an error to propagate.
Matthew Barnes [Mon, 12 Jul 2010 11:05:48 +0000 (07:05 -0400)]
Improve error handling in CamelStreamBuffer::read().
If we managed to successfully read some data before camel_stream_read()
failed, discard the GError and return the number of bytes successfully
read. If camel_stream_read() failed immediately, propagate the GError
and return -1.
David Woodhouse [Mon, 12 Jul 2010 03:11:38 +0000 (04:11 +0100)]
imapx: camel_imapx_stream_astring() returns 0 on success.
Matthew Barnes [Mon, 12 Jul 2010 02:19:33 +0000 (22:19 -0400)]
Update API documentation.
Matthew Barnes [Sun, 11 Jul 2010 17:22:13 +0000 (13:22 -0400)]
Coding style and whitespace cleanup.
Mario Blättermann [Sun, 11 Jul 2010 16:36:33 +0000 (18:36 +0200)]
[i18n] Updated German translation
Kjartan Maraas [Sun, 11 Jul 2010 15:44:10 +0000 (17:44 +0200)]
Updated Norwegian bokmål translation
Matthew Barnes [Sun, 11 Jul 2010 15:34:36 +0000 (11:34 -0400)]
Coding style and whitespace cleanup.
David Woodhouse [Sun, 11 Jul 2010 14:11:17 +0000 (15:11 +0100)]
imapx: Avoid running FETCH_NEW_MESSAGES and REFRESH_INFO jobs simultaneously
There are various places where we interpret FETCH results and use
imapx_match_active_job to find the current job, which will behave badly
if there are two jobs which could potentially be responsible for the FETCH.
In particular, this was causing a problem when we triggered a fetch of new
messages from select_done(), and that command was submitted at the same time
as a refresh_info command to fetch all flags. The server (Dovecot) was
returning all the untagged FETCH results before either completion line,
and all the flags were getting "assigned" to the fetch_new_messages job,
causing a bunch of 'g_array_append_vals: assertion `array' failed' warnings,
and all messages to disappear because the refresh_info job didn't see them.
Kjartan Maraas [Sun, 11 Jul 2010 13:42:24 +0000 (15:42 +0200)]
Updated Norwegian bokmål translation
David Woodhouse [Sun, 11 Jul 2010 11:36:19 +0000 (12:36 +0100)]
imapx: Fix handling of return from camel_imapx_stream_text()
It's another of those functions that return 0 for success.
David Woodhouse [Sun, 11 Jul 2010 11:17:13 +0000 (12:17 +0100)]
imapx: More improvements to server unseen count tracking
We're using the unseen count as part of our check for when things have
changed on the server (or when QRESYNC has gone wrong), and we need to
rescan all flags. But the server doesn't *tell* us about changes to the
unseen count, like it does for the total count of messages. So we have to
be more careful about tracking it -- especially since the server doesn't
even tell us in SELECT, and we can't issue STATUS to find it out when the
folder is selected.
One place that it was getting out of sync was when the server notified us
about new messages in SELECT, which weren't there when we last issued STATUS.
For messages with a UID equal to or higher than what we thought was the
folder's UIDNEXT, we also have to update the unseen count.
So far, the _only_ time we've hit the QRESYNC sanity check which triggers
a full rescan has been due to this kind of cosmetic unseen count discrepancy.
It's half tempting to disable that check in the QRESYNC sanity check, but
actually it's useful to get it right for the legacy servers too, because it
might cause us to miss updates if we get out of sync.
David Woodhouse [Sun, 11 Jul 2010 10:56:32 +0000 (11:56 +0100)]
nntp: Fix two more 'returns FALSE on error' vs. 'returns 0 on success' errors
We really need to start being consistent about this.
Pass the GError pointer through to camel_folder_summary_save_to_db()
from nntp_folder_sync() too... although it seems to be NULL a lot of the
time anyway, but that's the fault of our caller. No need to compound it.
Matthew Barnes [Sun, 11 Jul 2010 03:30:06 +0000 (23:30 -0400)]
Fix some linker issues.
Matthew Barnes [Sat, 10 Jul 2010 12:16:15 +0000 (08:16 -0400)]
Bug 624018 - Fix error handling in groupwise_get_folder()
Jorge González [Sat, 10 Jul 2010 08:36:48 +0000 (10:36 +0200)]
Updated Spanish translation
Bharath Acharya [Sat, 10 Jul 2010 04:24:29 +0000 (09:54 +0530)]
Bug #623988 - build failure in git/master.
Add the marshal list and also a typo in weather.
Milan Crha [Fri, 9 Jul 2010 14:18:57 +0000 (16:18 +0200)]
Update user documentation about E_CAL/BOOK_DISABLE_DEPRECATED
Milan Crha [Fri, 9 Jul 2010 11:18:42 +0000 (13:18 +0200)]
Bug #623204 - Be able to report detailed errors from backends
Mario Blättermann [Fri, 9 Jul 2010 10:40:40 +0000 (12:40 +0200)]
[i18n] Updated German translation
Matthew Barnes [Fri, 9 Jul 2010 10:30:35 +0000 (06:30 -0400)]
Bug 623919 - Error while opening any newly received message
Milan Crha [Fri, 9 Jul 2010 07:34:18 +0000 (09:34 +0200)]
Use correct format specifier for 64bit unsigned int
Milan Crha [Fri, 9 Jul 2010 07:32:33 +0000 (09:32 +0200)]
Do not use uninitialized variable
Matthew Barnes [Thu, 8 Jul 2010 22:12:01 +0000 (18:12 -0400)]
Use the new base directory functions.
Put an end to hard-coding "$HOME/.evolution".
Jorge González [Thu, 8 Jul 2010 21:41:18 +0000 (23:41 +0200)]
Updated Spanish translation
Matthew Barnes [Thu, 8 Jul 2010 20:23:58 +0000 (16:23 -0400)]
Add functions to get Evo/EDS base directories.
Use these functions instead of hard-coding "$HOME/.evolution". This
sets the stage for complying with the XDG Base Directory Specification.
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
e_get_user_cache_dir() returns (for now) "$HOME/.evolution/cache"
e_get_user_config_dir() returns (for now) "$HOME/.evolution"
e_get_user_data_dir() returns (for now) "$HOME/.evolution"
Milan Crha [Thu, 8 Jul 2010 19:22:33 +0000 (21:22 +0200)]
Bug #623795 - URI at the end of text isn't clickable
Milan Crha [Thu, 8 Jul 2010 19:18:01 +0000 (21:18 +0200)]
Bug #621609 - Can pass unknown UID to e_source_combo_box_set_active_uid
Matthew Barnes [Sun, 9 May 2010 16:26:48 +0000 (11:26 -0500)]
Migrate from CamelException to GError.
Milan Crha [Thu, 8 Jul 2010 11:25:33 +0000 (13:25 +0200)]
Use text/vcard content type on WebDAV PUT request
See bug #604650 for more details.