Package: syncevolution / 1.0+ds1~beta2a-2

Metadata

Package Version Patches format
syncevolution 1.0+ds1~beta2a-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 EDS compatibility added several recurrence ID relate.patch | (download)

src/syncevo/eds_abi_wrapper.cpp | 6 6 + 0 - 0 !
src/syncevo/eds_abi_wrapper.h | 12 12 + 0 - 0 !
2 files changed, 18 insertions(+)

 [patch] eds compatibility: added several recurrence id related methods (mbc #1916)

Most of these methods are needed by the patch which fixes MBC #1916.
Some were added as part of experimenting with the solution and were
kept because they might be useful in the future.
(cherry picked from commit f8c3f9bb0ec47109c622089354a695329d6d4df3)

0002 Funambol Memotoo preserve meeting series when receiv.patch | (download)

src/backends/evolution/EvolutionCalendarSource.cpp | 27 24 + 3 - 0 !
1 file changed, 24 insertions(+), 3 deletions(-)

 [patch] funambol, memotoo: preserve meeting series when receiving update for detached recurrence (mbc #1916)

The RECURRENCE-ID is not preserved by these servers and also was not
preserved by SyncEvolution or Synthesis, because the servers do not
send CtCap information. As a result, updating a detached recurrence (=
a single instance in a meeting series) overwrote series in Evolution
and only left the updated recurrence.

This patch fixes that problem by copying the original RECURRENCE-ID
property from the original event which is to be updated. This is only
done when necessary, because it has to read the original event.
(cherry picked from commit 2915fde0e7a661fa88836ce2c45a11083d0b26c9)

0003 lcs fixed out of bounds array access MBC 1007.patch | (download)

src/syncevo/lcs.h | 16 15 + 1 - 0 !
1 file changed, 15 insertions(+), 1 deletion(-)

 [patch] lcs: fixed out-of-bounds array access (mbc #1007)

Found by valgrind: the cost function is called with indices just
outside the array, causing it to read unitialized (and potentially
unavailable) memory.

Calling it like this is intentional, as the original LCS algorithm
works like that. The cost function has to map access outside of the
array to the cost at the boundaries. It also has to handle empty
arrays.
(cherry picked from commit 2bdda6ae27dc4f3705af2a68f326f311bc219049)

0004 syncevo dbus server first sync was done without libi.patch | (download)

src/syncevo-dbus-server.cpp | 8 8 + 0 - 0 !
1 file changed, 8 insertions(+)

 [patch] syncevo-dbus-server: first sync was done without libical time zone info (mbc #2435)

If (and only if) compiled with --enable-evolution-compatibility (as
the binaries on syncevolution.org), libical was only pulled into the
syncevo-dbus-server as part of running a sync. That was too late for
libsynthesis, which had already checked for libical earlier in that
sync session.

All following sync sessions then used libical time zone information.

The effect of not having libical time zone information were occasional
mismatches of time zones.
(cherry picked from commit b4865677f5330b6b844190cacec794f1bfb3d380)

0005 gtk ui preserve configuration names on save BME 1266.patch | (download)

src/gtk-ui/sync-config-widget.c | 1 1 + 0 - 0 !
src/gtk-ui/sync-ui.c | 5 4 + 1 - 0 !
2 files changed, 5 insertions(+), 1 deletion(-)

 [patch] gtk-ui: preserve configuration names on save (bme #1266)

use the name of a saved config (and not the the template) when saving
the config again.

(originally commit 1f60171e53e17a1c, backported by David Bremner <bremner@debian.org>)

0006 Nokia phones alarm times in UTC sending PHOTO BMC 16.patch | (download)

src/syncevo/configs/remoterules/server/00_nokia.xml | 19 19 + 0 - 0 !
1 file changed, 19 insertions(+)

 [patch] nokia phones: alarm times in utc, sending photo (bmc #1657, #5860)

Introduced a new remote rule for all devices made by Nokia. In that
rule, we set certain defaults which turned out to be useful for
a variety of existing phones:
- send alarm times in UTC (BMC #1657)
- ignore the incorrect 256 bytes size limit for PHOTOs
  and other properties (BMC #5860)

0007 Nokia 7120C fix for enabling TZ MB 9907.patch | (download)

src/syncevo/configs/remoterules/00_need_tz_in_event.xml | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 [patch] nokia 7120c: fix for enabling tz (mb #9907)

The commit for this didn't include the "needsTZinEvent" <subrule>.

This common rule enables the "TZ" property. It must be defined for
clients and servers and gets activated by remote rules of specific
devices which need this, like the 7120c.
(cherry picked from commit b3f6b30f52b4ff4bbeac9b021f4afa368e7fa29d)

0008 e_cal_check_timezones broken in EDS 2.30 due to chan.patch | (download)

src/backends/evolution/e-cal-check-timezones.c | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 [patch] e_cal_check_timezones(): broken in eds 2.30 due to change of error code (gnome bugzilla #611558, moblin bugzilla #9820)

The move to D-Bus changed the error code for "timezone cannot be
retrieved because it doesn't exist" from
E_CALENDAR_STATUS_OBJECT_NOT_FOUND to
E_CALENDAR_STATUS_INVALID_OBJECT. That latter error code was not
recognized by the code and caused e_cal_check_timezones() to fail with
that error ("Could not retrieve calendar time zone").

This patch fixes the problem by recognizing both the old and the new
error code.
(cherry picked from commit 3048b879b6f633f86204aef5ddb6c808bbd462d4)

0009 Calendar add workaround for alarm in vCalendar1.0 MB.patch | (download)

src/syncevo/configs/scripting/11calendar.xml | 19 19 + 0 - 0 !
1 file changed, 19 insertions(+)

 [patch] calendar: add workaround for 'alarm' in vcalendar1.0 (mb#10458)

Mobical.net syncML server only accepts 'trigger' time
of alarms as 'UTC' time. If 'trigger' time is a duration,
it ignores that.

To prevent this, when the outgoing format is 'vCalendar1.0',
convert the duration time into 'UTC' time.
(cherry picked from commit 63621f6804c5de1f1ad1776749c6dabf29197643)

0010 Cal Mobical apply the workaround only for Mobical MB.patch | (download)

src/syncevo/SyncContext.cpp | 2 2 + 0 - 0 !
src/syncevo/configs/remoterules/client/01mobical.xml | 8 8 + 0 - 0 !
src/syncevo/configs/scripting/11calendar.xml | 27 13 + 14 - 0 !
3 files changed, 23 insertions(+), 14 deletions(-)

 [patch] cal + mobical: apply the workaround only for mobical (mb#10458)

Only apply conversion of alarm time to UTC time when server is
Mobical.net. The way is to define a global flag and set the flag
when 'remoterule' of 'Mobical' is matched.

The global flag is declared as a context variable and the script
reads it via built-in function 'SESSIONVAR'.
(cherry picked from commit 8fc6808b116ce7249322f0005b61247899720684)

0011 Nokia phones avoid data loss in two way sync due to .patch | (download)

src/backends/file/FileSyncSource.h | 9 9 + 0 - 0 !
src/syncevo/configs/datatypes/01vcard-profile.xml | 20 10 + 10 - 0 !
src/syncevo/configs/remoterules/00_have_evolution_ui_slot.xml | 5 5 + 0 - 0 !
src/syncevo/configs/remoterules/00_syncevolution.xml | 7 7 + 0 - 0 !
src/syncevo/configs/remoterules/all.xml | 5 5 + 0 - 0 !
src/syncevo/configs/remoterules/evolution.xml | 1 1 + 0 - 0 !
6 files changed, 37 insertions(+), 10 deletions(-)

 [patch] nokia phones: avoid data loss in two-way sync due to x-evolution-ui-slot (mbc #2566)

Sending the X-EVOLUTION-UI-SLOT parameter to a Nokia phone when
updating an existing contact confuses the phone such that it drops the
phone number or email that had the parameter; the initial import was
okay. Reported for Nokia N81, E72, root-caused on a N97 mini.

Sending the X-EVOLUTION-UI-SLOT has very little value except when
talking to another SyncEvolution instance. All other SyncML peers
are expected to simply ignore the parameter, so there is no point
in sending it in the first place.

This is the solution implemented in this patch. A "rule" parameter
of the <parameter> element that defines X-EVOLUTION-UI-SLOT declares
that the parameter is to be ignored when parsing or generating vCards,
except when the peer is known to be SyncEvolution.

A remote peer is detected by the new 00_syncevolution.xml remote rule.
Locally, the parameter needs to be enabled when talking to Evolution
(evolution.xml) or to files which can also store the parameter
(all.xml). The later case is important for a SyncEvolution HTTP server
with file storage.

Running "./client-test Client::Sync::vcard30::testItems" against such
a SyncEvolution server confirmed that without all.xml, the
X-EVOLUTION-UI-SLOT got lost, which also confirms that the rule
mechanism works.

(Cherry-picked from  9db07a66a712e050db38d2f75550c148239bc5a3
Conflicts in 01vcard-profile.xml resolved by David Bremner <bremner@debian.org>)

0012 sync ui renamed local sync to do_sync to avoid name .patch | (download)

src/gtk-ui/sync-ui.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch] sync-ui: renamed local sync() to do_sync() to avoid name collision with system sync()

As reported by Peter Robison, the source code no longer compiles on
Fedora Core 13. The root cause is a name collision of a static
function with the previously defined system call sync().
(cherry picked from commit 8a1c26e3d25a3fba43de5ec67b0a09d1a3b5b1e8)

0013 disable stopping the build in case missing translati.patch | (download)

autogen.sh | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 [patch] disable stopping the build in case missing translations detected.

The Debian build generates a .pc (quilt) directory, which contains
some backup files that generate false positives for intltool-update -m