Commit graph

1697 commits

Author SHA1 Message Date
David Bremner
89e81cae33 convert to quilt 3.0 source format 2009-11-23 00:24:40 -04:00
David Bremner
6c7d5df831 add versioned build depends on libsynthesis 2009-11-23 00:21:11 -04:00
David Bremner
e2290982bf Merge branch 'upstream' 2009-11-20 08:02:39 -04:00
David Bremner
0e341da74d add new upstream version to changelog 2009-11-20 07:56:18 -04:00
David Bremner
93a1a3c05c bump upstream tag 2009-11-20 07:54:32 -04:00
Patrick Ohly
83e7a240ae NEWS, version: updated for 0.9.1 2009-10-26 14:44:29 +01:00
ZhuYanhai
1aebbfb61f l10n: Updates to Chinese (China) (zh_CN) translation
Transmitted-via: Transifex (translate.moblin.org)
2009-10-20 20:34:02 -07:00
ZhuYanhai
ef45d55084 l10n: Updates to Chinese (China) (zh_CN) translation
Transmitted-via: Transifex (translate.moblin.org)
2009-10-20 19:42:19 -07:00
Patrick Ohly
e89593f3df NEWS, version: updated for 0.9.1 beta 2 2009-10-19 15:42:13 +02:00
Patrick Ohly
8d0f6dca03 client-test: added testManyDeletes, improved testManyItems
testManyItems now checks that the statistics are correct. This
is based on the assumption that all active sources use the same
number of test items.

The new testManyDeletes triggers a problem with 222 loop detection:
when the message to the server contains many deletes, the server
may require so many reply messages, that the client has to send
5 Alert 222 messages in a row and incorrectly treats this as a loop
that has to be aborted.
2009-10-16 18:16:46 +02:00
Zhu, Yongsheng
be81c952c2 valgrindcheck.sh: return 100 when valgrind finds a problem
Previously the error code of the underlying program was
returned if non-zero. 1 was returned when the program
succeeded and valgrind found a problem.

Now the script always checks for valgrind problems and
returns 100 when one is found.
2009-10-16 14:25:32 +02:00
Congwu Chen
6d2be17e6f runtests.py: added configuration of Resend test
This change was originally committed a while back to the
runtest.py used in the nightly testing. Now we are merging
it back to the public runtest.py.

This patch adds the "Resend" test to various _SKIP and
_FAILURES lists and adds CLIENT_TEST_RESEND_TIMEOUT and
CLIENT_TEST_INTERRUPT_AT.
2009-10-16 14:25:32 +02:00
Patrick Ohly
00cb014971 runtests.py: reformatted source code to split up long lines
The long and unreadable environment strings for client-test
are now in the Python code as multiple independent strings
which get concatenated by Python:
function("foo"
         "bar")
2009-10-16 14:25:32 +02:00
Patrick Ohly
ddaf76ec1b runtests.py: build RPMs in addition to DEBs
checkinstall *does* work on a Debian system, even under fakeroot.
The trick is to make /usr/src/rpm/RPMS writable for normal users.
The Makefile then copies the resulting .rpm back to the current
working directory.
2009-10-16 14:25:32 +02:00
Patrick Ohly
1cffe8fe6f runtests.py: fixed "prebuilt" tests
The invocation of the Client::Source tests for prebuilts binaries
was incorrect, the new source arraty was missing.
2009-10-16 14:25:32 +02:00
Patrick Ohly
fd40f4f87a runtests.py: fixed building lpia .deb
The "lpia" (Low Power Intel Architecture) .debs are our normal
x86 binaries packaged with a different architecture name. The check
whether runtests.py was building for x86 broke when moving to an
64 bit bost. It must be run inside the build environment.
2009-10-16 14:25:32 +02:00
Zhu, Yongsheng
a10a809d9c Testing: add valgrind result checking and generate result in html output
Check valgrind result code and generate corresponding result
in the html outpu
2009-10-16 14:25:31 +02:00
Zhu, Yongsheng
a2cd73595b Testing: add nightly test for memotoo
Memotoo is ready to test so enable it
2009-10-16 14:25:31 +02:00
Chen Congwu
a2b079298e Testing: add time info for mail title
add time info for mail title for the purpose
of clear report
2009-10-16 14:25:31 +02:00
Chen Congwu
d1e9e24721 Testing: change know failures to skip for google testing
Change CLIENT_TEST_FAIURES to CLIENT_TEST_SKIP for google
testing
2009-10-16 14:25:31 +02:00
Chen Congwu
06fd773fd9 Testing: add valgrind check result and backend scan dir
1)Get return code from valgrind check result
2)Add environment variable SYNCEVOLUION_BACKEND_DIR when starting testing
2009-10-16 14:25:31 +02:00
Chen Congwu
950e9251c2 Testing: add valgrind check result and backend scan dir
Change failure to skip for google known failures
Change report title to have more acurate time information
2009-10-16 14:25:31 +02:00
Patrick Ohly
53c5312828 fixed typo: Aboring -> Aborting
Found by Yongsheng and fixed in the D-Bus branch.
2009-10-16 11:49:37 +02:00
Patrick Ohly
5476574ef0 Mobical: PHOTOs preserved verbatim (MB#6668)
Originally, testing against Mobical led to the conclusion that
   'PHOTO' is compressed by server but still be correct
and checking of the PHOTO property was disabled in synccompare.

Later it was found that there were decoding (Mobical
not standard compliant) and encoding (libsynthesis not
compliant when folding was off) issues (MB#6668), fixed in
libsynthesis now.

Automated testing no longer falls over a modified PHOTO property.
Either the compression is not triggered for this photo, or
something has changed. In any case, this patch enables comparison
of the PHOTO property again, because that is necessary to cover
these encoding issues.
2009-10-15 15:07:31 +02:00
Patrick Ohly
df81ccba65 packaging: another fix for installcheck-local
When the installation is in the standard location, pkg-config won't
print -I and -L options. The "redirect into DESTDIR via sed" trick
depended on that, meaning that the files were not found during the
nightly build.

Now -I and -L for the DESTDIR dirs is added explicitly. LD_LIBRARY_PATH
also has to be set, for libsmltk to be found.
2009-10-15 14:44:50 +02:00
Patrick Ohly
d7a9fe5a12 packaging: force serialization of "install" and "installcheck"
The nightly builds use -j to parallelize the builds. This
had the effect that the recursive "$(MAKE) install installcheck"
also ran the two targets in parallel, although install must
be done first. Now invoke the recursive make twice, first
for install and then installcheck.
2009-10-15 12:03:04 +02:00
Zhu, Yongsheng
5ca5d3c61a SyncSourceSerialize: a typo for vCalendar1.0 in getSynthesisInfo
A statement to judge whether type is 'vCalendar1.0'
has a typo. See changes:
text/x-vcalendar:2.0 --> text/x-vcalendar:1.0
2009-10-15 11:04:36 +08:00
Zhu, Yongsheng
5afa043a53 SyncSource: Add 'prioprity' conversion between vCalendar1.0 and 2.0
'priority' values have different interpretations in vCalendar1.0
and iCalendar2.0. Add scripts to do this conversion
to make it consistent.

There are 4 places to handle this kind of conversion:
receiving from server, sending to server, reading from
client backend, and writing to client backend.

For client backend reading and writing, implement a default
behavior in m_afterReadScript and m_beforeWriteScript. Users
could override 'getSynthesisInfo' to customize its own behaviors.
Also users could use default scripts and append its own
implementations in m_afterReadScript and m_beforeWriteScript.

Note that it is possible to lose some information for
priority value.
2009-10-15 11:04:36 +08:00
Zhu, Yongsheng
3e52d52f0c SyncSource: change names for m_incomingScript and m_outgointScript
SynthesisInfo has 2 members m_incomingScript and m_outgointScript
which are used for beforewritescript and afterreadscript.
This could make code confusing. Change their names
2009-10-15 11:04:36 +08:00
xosecalvo
a32a14b9be l10n: First Galician translation
Transmitted-via: Transifex (translate.moblin.org)
2009-10-14 19:56:28 +00:00
Patrick Ohly
71b899846b packaging: fix for installcheck
First, installcheck does not imply install. Packaging must
ask for both.

Second, installcheck of header files and libs must be aware
of DESTDIR. src/syncevo/installcheck-local.sh patches the -I and -L
parameters so that it includes the DESTDIR passed to it.

Third, "distbin" overwrites "prefix", which breaks this. Don't
try installcheck as part of that target.
2009-10-14 12:27:41 +02:00
Patrick Ohly
029265dd60 command line: removing non-existant configuration prints error (MB #6673)
$ ./syncevolution --remove scheduleworld_foo_bar
[ERROR] no such configuration: scheduleworld_foo_bar

This helps the user to detect typos.
2009-10-13 22:08:33 +02:00
Patrick Ohly
efac6f634a message resend: zero interval disables resending (MB #6500)
A zero retry interval was accepted and had the effect that
each message send was aborted immediately. This clearly is
not a useful configuration, so now a value of zero is interpreted
as "don't resend".

Also clarified that interval and duration are specified in
seconds.
2009-10-13 21:44:41 +02:00
Patrick Ohly
0fd377ee87 command line config value checking: detect negative values on 32 bit (MB #6500)
The revised range checking only detected negative values on 64 bit
because in that case, the negative input was interpreted as
very large positive value by strtoul(). On 32 bit it was accepted.

Added an explicit check for the undesired negative input, by looking
for a leading - sign.
2009-10-13 21:29:06 +02:00
Patrick Ohly
b803d3ac8d NEWS: fixed some typos, improved wording 2009-10-13 17:21:54 +02:00
Patrick Ohly
3f7c53c78a --enable-evolution-compatibility: added icalcomp_get_location/summary (MB#6552), added test
Two more functions which have to be intercepted to avoid hard
dependencies on libecal or libical.

Because this is something which is likely to come up again
in the future, this patch also adds a "installcheck-local" for
undesired dependencies on libical/ecal/ebook/edataserver.

This check is triggered when building binary packages by using
"installcheck" instead of "install". It intentionally checks
.so files in the build directory, to catch problems even in
libs which are not currently installed.
2009-10-13 17:21:54 +02:00
Jussi Kukkonen
49d0165e65 gtk-ui: disable sources that are not supported (MB#6672)
Creating a new configuration in sync-ui left all sources enabled,
which meant problems for other clients doing a "sync all" if
some sources were not supported locally.

Set "sync = none" for sources that are not supported when modifying
a configuration.
2009-10-13 12:18:00 +03:00
andika
5bc7864ea0 l10n: Updates to Indonesian (id) translation
Transmitted-via: Transifex (translate.moblin.org)
2009-10-13 04:27:12 +00:00
andika
86a4310f81 l10n: Updates to Indonesian (id) translation
Transmitted-via: Transifex (translate.moblin.org)
2009-10-13 04:21:59 +00:00
GLS_CHS
5705b399c7 l10n: Updates to Chinese (China) (zh_CN) translation
Transmitted-via: Transifex (translate.moblin.org)
2009-10-10 01:35:05 +00:00
Patrick Ohly
81be83bb02 NEWS: added some more issues and release date of 0.9.1 2009-10-06 17:48:29 +02:00
Patrick Ohly
208acee616 NEWS: another update for 0.9.1 beta 1
Added Mobical, describe SSL checking, several of the recently resolved
issues, added known issues (ZYB, incomplete description in GUI).
2009-10-06 17:37:52 +02:00
Patrick Ohly
7e4eb2e93d more classes renamed
EvolutionSyncConfig => SyncConfig
SyncEvolutionException => Exception
EvolutionUnref* => Unref*
2009-10-06 17:22:47 +02:00
Patrick Ohly
5d23ae24f8 --enable-evolution-compatibility: added e_cal_get_uri() (MB#6552)
This function wasn't covered, leading to a dependency on
libecal-1.2.so.6.
2009-10-06 16:50:44 +02:00
Patrick Ohly
fc887b5b6d Memotoo: list in sync UI (MB#5635)
Set the "consumerReady" flag for the Memotoo service, so now
it is going to be listed in the sync UI. Also added a short
description to the NEWS file.
2009-10-06 16:40:42 +02:00
Patrick Ohly
cc6a62c26e Merge commit 'origin/master' 2009-10-06 16:20:33 +02:00
Patrick Ohly
1dfe9a6a8f Google->Evolution: make sure that WORK/HOME numbers are displayed (MB #6501)
WORK and HOME phone numbers imported from Google were not displayed
in Evolution because the expected VOICE flag was missing. Editing
the contact in Evolution fixed that. Now SyncEvolution itself adds
this when importing into Evolution, regardless who sent the contact.
2009-10-06 12:10:53 +02:00
auke
36c660c6d3 l10n: Updates to Dutch (Flemish) (nl) translation
Transmitted-via: Transifex (translate.moblin.org)
2009-10-05 16:53:58 +00:00
Patrick Ohly
0d9f0efe98 RetryInterval/Delay: only accept unsigned integers (MB #6500)
Negative values silently disabled message resending. This was
not documented and thus unexpected, so trigger an error for
this kind of values now (using the new type checking for
integer values).

To disable the feature users would have to use very large
integer numbers (not documented, but kind of obvious I hope).
2009-10-05 18:06:13 +02:00
Patrick Ohly
c094b76659 config value checking: be more strict for integer values
The old check used istringstream >> type as check, which
happened to accept invalid input like -1 for an unsigned
type. Now strol() strtoul() are used to do the conversion,
with the full range of error checking possible with those
functions:

for unsigned: "-1" => range error
for int: "10000000000" => range error
"", "x" => decimal value expected
"10x" => unexpected trailing non-whitespace characters: x
2009-10-05 18:00:38 +02:00