Photos somewhere between 40KB (okay) and 80KB (dropped) are silently
dropped by the server. Documented this behavior in README.google and
the NEWS for 0.9 final, as we cannot do anything else about it.
These files used to contain the complete sync session
output. Now they contain just the user-visible output,
so don't compress anymore because that doesn't save much
space and makes the files harder to read.
In this mode, Client::Sync is replaced with
just Client::Sync::<first source>::testItems.
This assumes that all servers support WBXML
with our test data.
Couldn't get libsoup to accept the Google certificate, so as a workaround
I'm disabling the use of https for Google. Hopefully we can get this
fixed before the next major release, if not, it has to stay turned off.
The value of SYNCEVOLUTION_GNUTLS_DEBUG is directly passed to gnutls_global_set_log_level().
Use 10 to enable all logging. Log messages are written into the normal log with the
format "level %d: %s". GNUTLS is the line prefix, but that is not currently stored in .html.
To avoid a hard dependency on libgnutls (which we don't call directly), the relevant
functions are found via dlsym().
in dbus server syncevo_get_server_config() and
syncevo_get_template_config() did not set a return variable
to NULL when returning error. The client checked for non-NULLness
even on errors, however.... Both issues fixed.
Fixes#4556
All test/README.* files are included in the same directory as the
normal NEWS/COPYING/README files. It's no longer necessary that
users dig out a copy of these files from the source distro.
In Moblin users are not expected to read these files, so the
build via OBS will not be adapted.
In particular the Google limitations required some more explanation.
The test/README.* files are mentioned, but they are not included in
binary distributions yet.
Only contacts in vCard 2.1 are tested. Several
failures are ignored because Google does not support
them:
* refresh from client
* one-way from client
* XML format
These tests are run although we know that they
fail, just in case that at some point they start
to work.
vcard30::testCopy used to fail because adding new clients forced
unexpected slow syncs on all other clients. This should be fixed
now, so the FAILURES entry could be removed.
Moblin is going to integrate the ca-certificates package from Fedora,
which puts the certificate file into /etc/pki/tls/certs/ca-bundle.crt
Added that path to the default search path in SyncEvolution for libsoup
and also fixed the SyncEvolutionCmdlineTest.
ignore some properties that google server will get lost
not comparing PHOTO encoded data because google always return jpg format
Ignore value mismatch in FN, NOTE, ORG and TEL
Add google specific case to workaround a test failure because of delele failed
to clean the previous data (A know issue in server)
slightly change a test case to workaround google
google server can not delete cleanly; if a later test sends a contact with the
same N field, the server will trigger a client side update which is not
expected.
autogen.sh still didn't remove all obsolete copies of libtool m4 macros.
After moving the only m4 macro that we provide as part of our repository
into m4-repo, it is possible to rebuild m4 during each autogen.sh run.
Build systems like OpenEmbedded/Poky ignore out autogen.sh. This is
problematic when building from git because configure.in and Makefile.am
need to be created after checkout. The new gen-autotools.sh does that,
which hopefully can be used by OpenEmbedded/Poky.
These scripts are used by the regular testing.
valgrindcheck.sh checks that valgrind didn't print
any output while running a program, dbus-session.sh
creates a D-Bus session for running a program
(necessary starting with GNOME 2.26 if D-Bus is not
running yet and there's no X).
For weird reasons that I don't have the patience to analyze running
the client-test wrapper script as generated by libtool fails
to set up the search path for libsyncevolution.so. It works
for syncevolution.
As a workaround let's simply set LD_LIBRARY_PATH ourselves, regardless
whether it is needed.