syncevolution/src
Patrick Ohly f3f689b857 PIM: fix phone number normalization
The parsed number always has a country code, whereas SyncEvolution expected it
to be zero for strings without an explicit country code. This caused a caller
ID lookup of numbers like "089788899" in DE to find only telephone numbers in
the current default country, instead of being more permissive and also finding
"+189788899". The corresponding unit test was broken and checked for the wrong
result. Found while investigating an unrelated test failure when updating
libphonenumber.

EDS handles this differently, by calling ParseAndKeepRawInput() if necessary
(checked by configure) and looking at the source of the country code. Instead
of replicating that logic, let's use EPhoneNumber. This means that EDS has to
be compiled with libphonenumber support, because SyncEvolution can no longer
fall back to using libphonenumber directly.

For testing purposes it is still useful to not depend on X-EVOLUTION-E164.
testLocaledPhone uses this at the moment, because re-generating
X-EVOLUTION-E164 during a locale change seems to be broken at the moment
in the intel-work-3-12 branch.

The test itself has to be updated for the newer libphonenumber (6.1.1 instead
of 5.3.2). The "12345" string it relied upon now gets parsed consistently in
US and DE. Instead we use the "01164 3 331 6005" string (as in libphonenumber
tests) which is treated differently.
2014-07-03 11:20:10 +02:00
..
backends PBAP: avoid empty field filter 2014-06-20 09:16:52 +02:00
dbus PIM: fix phone number normalization 2014-07-03 11:20:10 +02:00
gdbus D-Bus: use streams for direct IPC with GIO 2014-04-01 16:45:09 +02:00
gdbusxx GDBus GIO: copy constructor for GDBusConnectionPtr 2014-05-05 09:28:13 +02:00
gnome-bluetooth GNOME Bluetooth: fix false (?) buffer overflow 2014-01-17 16:15:16 +01:00
gtk-ui GTK-UIs: avoid unnecessary variable initialization 2014-01-17 16:15:15 +01:00
gtk3-ui GTK-UIs: avoid unnecessary variable initialization 2014-01-17 16:15:15 +01:00
syncevo config templates: Funambol URLs 2014-05-22 17:05:01 +02:00
synthesis-includes autotools: --disable-core --enable-gui => build only sync-ui and its D-Bus lib 2010-03-23 19:04:06 +01:00
templates config templates: Funambol URLs 2014-05-22 17:05:01 +02:00
async.patch patch switches to async version of the Evolution API 2007-02-22 19:33:21 +00:00
client-test-app.cpp config: user name -> identity 2013-09-27 08:59:13 -07:00
README.h added missing copyright and license headers 2009-05-11 16:31:17 +02:00
README.templates Merge remote branch 'origin/syncevolution-0-9-branch' 2009-11-30 21:41:53 +01:00
shlibs.local reverted to 0.7 packaging 2008-07-03 19:56:15 +00:00
src.am testing: simulate remote item manipulation 2014-05-19 21:33:45 +02:00
syncevo-local-sync.cpp local sync: execute 'syncevo-local-sync' on child side, communicate via D-Bus 2012-01-20 13:38:49 +01:00
syncevolution.cpp Logging: thread-safe 2013-05-06 16:28:13 +02:00
testcases.am autotools: avoid redundancy in installation of test files 2014-05-16 11:26:55 +02:00
valgrind.supp ObexTransportAgent: Fix valgrind warnings (MB#10091) 2010-03-12 06:33:13 -08:00

The configuration templates in "templates" get installed into
$(datadir)/syncevolution/templates.

When adding/changing a new server, then only enter the properties
which need to be changed here so that the default values can
be used for the remaining properties.

An icon can be added here for servers. The file name must start with
"icon".

Server configurations must be kept in sync in three different places:
- here (if a server is installed as files)
- in SyncEvolutionConfig.cpp's EvolutionSyncConfig::createServerTemplate()
- in SyncEvolutionCmdline.cpp's test server configs
- in test/test-dbus.py testGetConfigsTemplates()

Note that server icons must come with a suitable license that allows
redistribution.