Commit graph

1329 commits

Author SHA1 Message Date
Patrick Ohly ea9535034b synccompare: due to typo it did not compare file against dir (skipped content of dir)
This showed up as verification errors during Client::Source::vcard21::testImport
and Client::Source::text::testImport (#2219, #2220).
2009-05-14 19:48:16 +02:00
Jussi Kukkonen 69853517f7 dbus client: don't open urls twice
earlier implementation did not use GtkLinkButtons so I had
my own url opener: now the link button opens urls.

Fixes #2387
2009-05-14 13:07:07 +03:00
Jussi Kukkonen 9ebf5e1c5e dbus client: handle LOCERR_TRANSPFAIL 2009-05-14 11:30:59 +03:00
Jussi Kukkonen 7001704b9b dbus service: don't abort on Sync() exception 2009-05-14 11:21:46 +03:00
Jussi Kukkonen d24fc89eab dbus client: hide progress bar when new service is selected 2009-05-13 22:38:13 +03:00
Jussi Kukkonen 206d0c21da dbus client: cosmetic fixes
Make the 'no service selected' case a bit prettier.
2009-05-13 22:29:53 +03:00
Patrick Ohly 2e6cfaceba version bump: 0.8.1+0.9+beta2+20090513 2009-05-13 20:31:37 +02:00
Patrick Ohly 011390896a Merge branch 'ui' of git@git.moblin.org:syncevolution-internal into ui 2009-05-13 20:30:40 +02:00
Jussi Kukkonen c84211c523 maximise windows even more
Sometimes metacity won't maximize when asked, but will
if asked another time...

Fixes #2057 (I hope)
2009-05-13 20:54:25 +03:00
Patrick Ohly 3c63dcd53b EXDATE: accept all reasonable versions, generate separate properties with one value each
The separator character in EXDATE varies between iCalendar 2.0 (comma)
and vCalendar 1.0 (semicolon). This wasn't handled correctly by the
default Synthesis config and also confuses ScheduleWorld.

Now the configuration accepts everything (separate properties,
comma, semicolon) and generates separate properties with one value
per property, because that avoids this ambiguity.
2009-05-13 19:16:21 +02:00
Jussi Kukkonen 877452e0ad dbus client: avoid possible crasher on restart
if sync-ui is started while a sync is in progress,
some progress event handling might have crashed
2009-05-13 19:32:41 +03:00
Jussi Kukkonen 1cd75f3813 dbus client: disable canceling for now
Fixes #2067
2009-05-13 19:32:41 +03:00
Jussi Kukkonen 24715a1ae2 dbus client/service: hide non--supported sources
Add a source option  that tells whether source is
supported locally.
Don't show or enable unsupported sources in main window
Don't include unsupported sources in sync

Fixes #1977
2009-05-13 19:32:40 +03:00
Jussi Kukkonen bf760a7f33 dbus client: call AbortSync asynchronously
Fixes #2271
2009-05-13 19:32:40 +03:00
Jussi Kukkonen 3ea83926ac dbus client: Add missing async AbortSync to wrapper lib 2009-05-13 19:32:40 +03:00
Jussi Kukkonen 10f21f5cff dbus service/client: fix DBus error handling
server did not call dbus_g_error_domain_register() so
the remote exception names weren't transmitted.

Fixes #2067
2009-05-13 19:32:40 +03:00
Patrick Ohly f11d317ba6 --enable-shared: fix for loading backend modules contained typo, only syncecal.so was opened
Due to a typo (source[1] instead of source[i]) one backend was opened
repeatedly and the others not at all all.
2009-05-13 16:46:12 +02:00
Patrick Ohly 02f9ff8b35 --remove: .other.ini files were not removed, leaving an incomplete config behind (#1806)
The list of files to remove for a config was incomplete: .config.ini
files (created by SyncEvolution for meta information, not used for much
anymore) were not removed. Fixed.
2009-05-13 14:07:52 +02:00
Patrick Ohly 037d9ff774 configuration handling: only list servers as "configured" which really have a config
Previously, just having a directory was enough to list the server. Now
an additional sanity check ensures that only servers with a configuration
are listed.

This is in response to Bugzilla #1806: removing the config, but leaving
other files led to the situation that --print-servers showed entries
that the other options didn't work with.
2009-05-13 13:46:56 +02:00
Patrick Ohly d9dbc31904 --enable-shared: find backends in $(libdir)/syncevolution
Somehow /usr/lib/syncevolution wasn't searched by the dynamic loader
in Moblin, despite it being in the RPATH of the binaries. Open
modules also with absolute path to find them.
2009-05-12 23:00:15 +02:00
Jussi Kukkonen 23f64d7fdf dbus client: support Connman
if connman state is not 'online', show this in the UI
(with a note and insensitive Sync-button)

Fixes #2222
2009-05-12 21:35:01 +03:00
Jussi Kukkonen 432e13b235 dbus client: make the main window layout even tighter 2009-05-12 21:35:01 +03:00
Jussi Kukkonen 64fff04c42 modify services window to actually fit into netbook screen 2009-05-12 21:35:01 +03:00
Jussi Kukkonen a4c7ad8a1a dbus client: use less space in main window
the source checkboxes used too much space and were potentially
cut off on a netbook. GtkCheckButton doesn't really do what we want
but this hack is almost there (the labels are unfortunately now
non-clickable)
2009-05-12 21:35:01 +03:00
Patrick Ohly 495a5a4287 bumped version: 0.8.1+0.9+ui+20090512 2009-05-12 17:57:58 +02:00
Patrick Ohly 5e4c23e264 NEWS: summarized new features 2009-05-12 17:57:17 +02:00
Patrick Ohly f0115a4890 testing: fixed compile error and test driver linking with --enable-shared
Building the backend shared objects failed with --enable-shared because
then the *Register.cpp files have to be compiled into them. This used to
fail due to a missing -I path for test.h. When compiling the files for
the main executables it worked (the case without --enable-shared) because
those executables had the right search path.

After fixing that, it was necessary to add the *Register.cpp files
to client-test (and only that) because only that way are the tests in them
really enabled.

To avoid the resulting link errors, client-test (and again, only that)
links to the backend shared objects directly. The main executables don't
do that because then they work even if a backend cannot be loaded dynamically
due to missing dependencies (as on older Maemo without libecal). For testing
these hard dependencies are acceptable.
2009-05-12 17:23:21 +02:00
Patrick Ohly a3fe095bdd Merge branch 'ui' of git@git.moblin.org:syncevolution-internal into ui 2009-05-11 22:31:19 +02:00
Patrick Ohly 7e63555088 Merge branch 'master' into ui
Conflicts:
	configure-pre.in

Resolved version conflict by bumping version to
0.8.1+0.9+ui+20090511
2009-05-11 20:52:26 +02:00
Patrick Ohly 3aa87708fa README: added --print-sessions, --remove, --restore and "Item/Data Changes" (#1806)
These options were added already a bit earlier. The new section on
"Item Changes and Data Changes" is necessary to understand the output
about changes made during a sync.
2009-05-11 20:49:54 +02:00
Patrick Ohly 70930b6cc2 synccompare: ignore UID when comparing for Synthesis server (#2161)
The default server config in SyServ Demo 3.2.0.26 only supports
vCalendar 1.0 without UID. Suppressing the UID comparison is an
oversimplification, but helps to get the Client::Sync::ical20::testCopy
test to work - at least for me.
2009-05-11 20:42:17 +02:00
Jussi Kukkonen 8d093aa246 dbus client: handle server disappearing while syncing
the SyncevoService wrapper now emits "server-shutdown" whenever
the dbus dervice disappears from the bus. It restarts the server
on the next method call automatically, but clients may need to do
some cleanup because of ongoing async method calls that will never
return or signals that will never come... the gtk ui does this
for StartSync)
2009-05-11 19:03:36 +03:00
Patrick Ohly c4a605d3cc added missing copyright and license headers 2009-05-11 16:31:17 +02:00
Patrick Ohly 3f6788962b NEWS: bumped date of release 2009-05-11 16:11:50 +02:00
Patrick Ohly 41b1400492 version bump: 0.8.1+0.9+beta1 2009-05-11 16:06:51 +02:00
Patrick Ohly 90d0011ed8 synccompare: filter out INTERVAL=1 in normal form (#2029)
INTERVAL=1 is the default, therefore it can be removed. This is required
for testing with upstream libical, which adds this redundant value.
2009-05-11 15:56:31 +02:00
Patrick Ohly 108aee91b7 Merge branch 'ui' of git@git.moblin.org:syncevolution-internal into ui 2009-05-11 15:56:10 +02:00
Patrick Ohly 24ec37aee7 synccompare: filter out INTERVAL=1 in normal form (#2029)
INTERVAL=1 is the default, therefore it can be removed. This is required
for testing with upstream libical, which adds this redundant value.
2009-05-11 15:51:08 +02:00
Jussi Kukkonen 3869951cb4 dbus service: remember to init GLib threads 2009-05-11 10:50:59 +03:00
Patrick Ohly 5b5b4ca2b2 version bump: 0.8.1+0.9+ui+20090508 2009-05-08 17:33:36 +02:00
Patrick Ohly 3190285821 Merge branch 'master' into ui
Conflicts:
	Makefile-gen.am
2009-05-08 17:32:10 +02:00
Patrick Ohly ce4644f2e9 Merge branch 'ui' of git@git.moblin.org:syncevolution-internal into ui 2009-05-08 17:29:06 +02:00
Patrick Ohly 1edf061c5a Merge branch 'master' of git@git.moblin.org:syncevolution 2009-05-08 17:28:45 +02:00
Patrick Ohly 3a534e1112 configure: accept git@<host>/<path>.git as git URI 2009-05-08 15:21:51 +02:00
Patrick Ohly 50fca4dae0 testing: fix for database comparison
When changing from flat file to directory for database dumps the necessary directory wasn't created for some test cases.
2009-05-08 15:12:20 +02:00
Jussi Kukkonen 754de74c49 dbus client: localize 'known' source names
addressbook, calendar, memo and todo will now
be localized.
2009-05-08 13:43:51 +03:00
Jussi Kukkonen 7ca35de748 dbus client: compare template names case-insensitively 2009-05-08 12:55:41 +03:00
Jussi Kukkonen b3a4e25e27 dbus client: improve language in sync source reporting 2009-05-08 12:55:40 +03:00
Jussi Kukkonen c40e36bc72 dbus service: chain up progress methods
Need to call EvolutionSyncClients displaySourceProgress and
displaySyncProgress methods in overrided version to make sync
reports work.
2009-05-08 12:55:40 +03:00
Jussi Kukkonen 5ea620c984 dbus client: improve error handling 2009-05-08 12:55:40 +03:00