Commit graph

2703 commits

Author SHA1 Message Date
tomasgalicia
12a73ae83f l10n: Updates to Spanish (Castilian) (es) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-12 11:01:12 +02:00
GLS_POL1
a6c5f2ee0b l10n: Updates to Polish (pl) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-12 11:01:12 +02:00
GLS_CHS2
c40bd7ec29 l10n: Updates to Chinese (China) (zh_CN) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-12 11:01:11 +02:00
GLS_DEU1
b167793bf3 l10n: Updates to German (de) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-12 11:01:11 +02:00
GLS_KOR
163a98ce21 l10n: Updates to Korean (ko) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-12 11:01:11 +02:00
GLS_PTB
651fcbe191 l10n: Updates to Brazilian Portuguese (pt_BR) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-12 11:01:11 +02:00
GLS_ITA1
6ecef7c6a7 l10n: Updates to Italian (it) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-12 11:01:11 +02:00
GLS_ITA1
899754a5d1 l10n: Updates to Italian (it) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-12 11:01:11 +02:00
margie
d1f968a48a l10n: first submission
Transmitted-via: Transifex (translate.moblin.org)
2010-05-12 11:01:11 +02:00
TomasVirgl
e84eb3e171 l10n: Initial slovak translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-12 11:01:11 +02:00
Jussi Kukkonen
903170cfad gtk-ui: update toolbar style for MeeGo 1.0 (MB #1970) 2010-05-11 21:27:05 +02:00
Patrick Ohly
10bcfe2812 auto sync notifications: avoid extra "Dismiss" button (MB #10487)
mutter-moblin automatically adds that button itself. Because it didn't
recognize that we also add it ourselves, we ended up with two buttons
called "Dismiss".

The way to avoid this and having a "Dismiss" button in other environments
is to use the ID "default" for our "Dismiss" button, then it'll be ignored
by mutter-moblin.
2010-04-19 16:35:00 +02:00
Patrick Ohly
2f338473b0 Ovi.com: fixed typos
The "todo" source used "Calendar" and thus would have synchronized events.

The spelling for the "calendar" type was inconsistent (capital "C").
2010-04-19 16:32:58 +02:00
Patrick Ohly
443a3b5925 command line, client-test: avoid "g_set_application_name not set" warning
When glib logging is invoked, it check the application name and complains
if not set:
** (process:10130): WARNING **: g_set_application_name not set.

With output redirection we hide this in the command line, but it
showed up in client-test when the system was in a state were another
glib WARNING was triggered.

This patch sets the unlocalized program name instead of using a
localized application name, because we don't have and don't need
localization for these two programs. That seems to satisfy glib.
2010-04-19 16:29:49 +02:00
Patrick Ohly
f0e0c4c373 client-test: enable it to use keyring by default (MB #10479)
With "syncevolution" using the D-Bus server and thus the keyring
by default, the client-test executable should better also use
the keyring. Otherwise setting the password via the command line
will render a test config unusable for client-test.

The patch turns out to be very easy: reusing the code in
CmdlineSyncClient via changing the inheritance of the sync engine used
by client-test-app.cpp plus adapting compile flags is enough.
2010-04-19 14:38:27 +02:00
Patrick Ohly
4d5a1ba273 RetryInterval: 0 for Funambol, 2M for everyone else (MB #10451)
A user reported that the default 1 minute resend interval did not work
for him with his own Funambol server installation. The Funambol
developers are notified, but won't be able to do much about this
in the near future.

Therefore this patch disables message resend in the Funambol server
template. Existing configurations have to be updated manually, both
to suppress the resending and to enable it again later.

The default resend interval is also increased from 1 minute to 2
minutes, to help other slow servers which might have problems handling
resends when they arrive to quickly.
2010-04-19 14:06:55 +02:00
Jussi Kukkonen
1404b78d9a gtk-ui: fix mx-gtk >= 0.99.1 header location (BME #892) 2010-04-19 11:49:05 +02:00
Chen Congwu
6e69e6a129 config-phone: interrupt handling 2010-04-19 11:35:40 +02:00
Chen Congwu
1022e21494 Test tools: automatically detection working configuration for a phone (MB#9862)
This is a python script that tries with all possible configuration
combinations for a phone, once found the corresponding configuration and
the configuration template can be generated.
The script is installed as 'syncevo-phone-config'
2010-04-19 11:35:40 +02:00
Chen Congwu
5ae423953c noctcap: Do not send ctcap properties when set SYNCEVOLUTION_NOCTCAP
Some phones might have problem in understanding the Ctcap sent from
SyncEvolution and will leading later syncing problems. Setting the
environment variable will suppress sending ctcap from SyncEvolution
side.
see:
http://lists.syncevolution.org/pipermail/syncevolution/2010-February/001005.html
2010-04-19 11:35:40 +02:00
Chen Congwu
752a234872 Test: Also register file:calendar+todo test for file backend
Since we support both evolution and file backend for supported test
case in client-test.
It might be useful running client-test with calendar+todo test cases
using file backend. (It supports evolution backend only without this
patch).
2010-04-19 11:35:40 +02:00
Patrick Ohly
f035d85aee D-Bus API: added templateName to documentation (MB #10406)
The "templateName" property was added earlier as part of MB #10406.
This patch documents it in the D-Bus server API.
2010-04-19 11:30:55 +02:00
Zhu, Yongsheng
51a0843dcd D-Bus doc: refine spec about Bluetooth device support for GetConfigs
Add more statements to specify how dbus server works for
checking Bluetooth devices and how templates are created for
them.
2010-04-16 11:07:01 +08:00
Patrick Ohly
32a5810182 LogRedirect: redirecting STDOUT to log level SHOW broke the tests
The tests were still expecting the output to appear at level INFO.
They also didn't properly flush the (now) buffered stdout logging.
Added a test which check for this particular feature.
2010-04-15 16:51:55 +02:00
Patrick Ohly
8dea93eccb SecondsConfigProperty: accept "+" sign in duration and interval properties again
Actually found by unit test. The recently introduced check for a valid
digit before unit characters was also applied to + and should have.

Also added a test case for an invalid unit character without digit.
2010-04-15 16:50:13 +02:00
Zhu, Yongsheng
f774bfb368 command line + D-Bus: pass known environment variables (MB#10477)
When running command line arguments in dbus server, it is necessary
to pass environment variables in the command line environment.
The temporary solution is just to collect possible used environment
variables to dbus server. To support it, a new argument of dbus
method 'Session.execute' is added to pass the map of environment
variables.
2010-04-15 11:19:51 +02:00
Chen Congwu
25de8f2baf Enable Ovi test 2010-04-15 11:15:36 +02:00
Chen Congwu
b677810710 Ovi README fixes. 2010-04-15 11:15:36 +02:00
Jussi Kukkonen
9259c9e193 templates: add N85 (Nokia S60) template 2010-04-14 13:58:45 +02:00
Patrick Ohly
5d462f57ea vCard profile: hide X-EVOLUTION-UI-SLOT in DevInf for Nokia N85 (MB #8868)
When we declare X-EVOLUTION-UI-SLOT as parameter in our DevInf, then
the N85 doesn't send telephone and email addresses to us. It seems to
get confused about what this unknown parameter is and then disables
the properties it is declared for.

As a workaround, do not "show" the parameter (per-parameter Synthesis
config option), but keep using it. The implication of that change is
minimal. The X-EVOLUTION-UI-SLOT value is used to preserve the order
of entries in the Evolution GUI. Declaring that our client supports
the value is only relevant when not sending it (because then a server
knows that it can drop its own value), but because we always send it,
we don't need to declare it.

In theory, a peer might avoid sending this value to us if we don't
declare it. In practice, peers are not that sophisticated, for good
reasons (like peers not declaring all of their properties). Synthesis
itself definitely still encodes the value even if not declared by
its peer.
2010-04-14 13:58:45 +02:00
Zhu, Yongsheng
5113364ea1 sync-ui: don't use built-in specialized types (MB #10471)
The version of default dbus-glib package is 0.80 on Ubuntu 9.10.
This version has bugs of specialized types which prevents sync ui
using specialized types. So the fix is to define our used types
instead of predefined specialized types of dbus-glib.
2010-04-14 10:50:28 +02:00
Zhu, Yongsheng
4cd3a2f913 dbus server + command line: return error code (MB#10476)
If there is any error during executing command line arguments in
dbus server, it should catch the exception and set the error code
in the Status. Thus command line can judge the error code and
return the correct value to system.
2010-04-14 10:46:35 +02:00
Zhu, Yongsheng
3da3a388cc DBus server: abort when user didn't provide password (MB#10475)
When user didn't provide password, sync ui sends a hash without
'password' key-value pair in the response. Abort the current sync
process under this situation.
2010-04-14 14:51:53 +08:00
Jussi Kukkonen
03f649c459 gtk-ui: fix crasher and wrong UI state (MB #10473)
Going to configuration view and back without selecting any
configuration would set "sync now" button sensitive. Clicking
the button would crash the ui.

This commit fixes both issues.
2010-04-13 16:42:56 +03:00
Zhu, Yongsheng
8fc6808b11 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'.
2010-04-13 09:44:06 +02:00
Zhu, Yongsheng
63621f6804 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.
2010-04-13 09:44:06 +02:00
Patrick Ohly
bc2908a39f vCard profile: disable Synthesis iPhone client TYPE extensions (MB #10462)
These extensions are useful when acting as server for a Synthesis iPhone
client, because then the server can preserve them.

But they are also confusing Evolution when vCards are imported with
these extensions are set. For example, an
ADR;TYPE=X-Synthesis-Ref0;TYPE=HOME is not shown as home address in
the GUI.

The correct solution would be to disable the extensions only when
writing into Evolution. We cannot do that due to technical limitations
("rule" parameter only works on properties).

So as a short term solution, choose the lesser evil and comment
out the extensions. Making Evolution work right is more important
than incremental enhancements of the server.
2010-04-09 18:05:13 +02:00
Patrick Ohly
54367ca7b4 client-test: CLIENT_TEST_SIMPLE_UID
Our test data uses a UID with special characters, because that happens to
break "dumb" XML encoders/decoders and we want to find such issues. It also
breaks the EDS CalDAV backend. It can create such an event, but then cannot
access it  because the UID becomes of a URL used by WebDAV, and these special
characters are not escaped there (seen in evolution-data-server console output).

As a workaround, I simplified the test data to not use such a complicated UID
when CLIENT_TEST_SIMPLE_UID=1 is set. Still doesn't work, but the patch may
proof useful, so keep it.
2010-04-09 16:05:35 +02:00
Jussi Kukkonen
cd65c118c6 templates: set N900 as consumerReady (MB #10336)
We want the N900 template to show up in the UI
2010-04-09 14:55:44 +03:00
Jussi Kukkonen
e8127ae836 gtk-ui: never show non-consumerReady templates (MB #10472) 2010-04-09 14:55:44 +03:00
Patrick Ohly
316080d3ff dbus C++ bridge: fix inconsistent CallbackData instantiation
The recent change of the first CallbackData constructor broke
some code which still passed the old type.
2010-04-09 13:55:09 +02:00
zerng07
3441b06a2e l10n: Updates to Chinese (Taiwan) (zh_TW) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-04-09 03:21:02 -07:00
GLS_ITA
0a1675e19c l10n: Updates to Italian (it) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-04-09 01:06:49 -07:00
Zhu, Yongsheng
bc7de8351d gdbus c++: fix an issue of DBusClientCall exposed by valgrind (MB#10468)
The issue is to access an invalid memory. The reason is that:
DBusClientCall creates a CallbackData for each dbus call. The
CallbackData itself references the DBusClientCall object. This
object is used to get returned value once the dbus call returns.

However, the typical usage is that DBusClientCall object
is a local variable allocated on the stack. So it is invalid after
existing the stack frame. If using this object in the dbus call
handler, cause a severe problem of reading invalid memory.

The solution is to store an always alive connection object in the
CallbackData instead of DBusClientCall object.
2010-04-09 09:52:07 +02:00
Jussi Kukkonen
5589ba9d5d gtk-ui: fix device template autoselection (MB #10469)
A template in the device configuration template list can currently get
autoselected even if there are several templates with equally good scores.
2010-04-09 10:18:57 +03:00
GLS_FRA3
cf23bd406c l10n: Updates to French (fr) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-04-09 00:01:49 -07:00
Zhu, Yongsheng
834d3cfb4d dbus api: change the signature of 'handler' of 'InfoRequest'
Currently the signature of argument 'handler' of 'InfoRequest'
is 's' on dbus server and sync ui. However, in the dbus api document,
its signature is still 'o'. Change it.

The reason for using a string and not an object path is that
when sending the initial request, the parameter has to be
empty. "" for a string is valid, but seems to be problematic
for an object path.
2010-04-09 08:52:30 +02:00
Zhu, Yongsheng
dc95612eec cmdline: fix password hang (MB#5043)
When passwords in the config are not set, the daemon asks them from
clients like command line. Command line should react and let
user input passwords and then send responses to the daemon.

Command line listens to 'Server.InfoRequest' signal and only handles
password requests from sessions created for command line in the daemon.

If command line dies in the process of inputting passwords, the daemon
always waits for it so expand current timeout mechanism into this
process. Otherwise, the daemon waits permanently.
2010-04-09 08:52:26 +02:00
Zhu, Yongsheng
cae8cb485a command line: fix a regression checked by nightly
There is a regression caused by a string exception
"basic_string::_S_construct NULL not valid". This is because
I push back a non-existing string into vector when collecting
converted command line arguments.
2010-04-09 11:24:03 +08:00
kushylee
1901b5a9fe l10n: Updates to Korean (ko) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-04-08 12:00:22 -07:00