Commit graph

2960 commits

Author SHA1 Message Date
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
GLS_PTB
82298656f7 l10n: Updates to Brazilian Portuguese (pt_BR) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-11 21:32:05 +02:00
Jussi Kukkonen
903170cfad gtk-ui: update toolbar style for MeeGo 1.0 (MB #1970) 2010-05-11 21:27:05 +02:00
Jussi Kukkonen
b9fd541cea gtk-ui: explicitly set names for glade widgets (MBC #1372)
GtkBuilder no longer sets widget name based on ui definition id. This
breaks name-based styling on all widgets originating from Glade, as
Glade does not take the GtkBuilder change into account.

Work around this by explixitly setting the widget names for the widgets
that are referenced by name in the rc-file.
2010-05-11 20:03:55 +02:00
Jussi Kukkonen
c12057d981 gtk-ui: update toolbar style for MeeGo 1.0 (MB #1970) 2010-05-11 20:03:44 +02:00
Patrick Ohly
e29bf278eb syncevo-phone-config: handle phones with no calendar or no todo (MBC #1847)
The Sony Ericsson W595 only support contacts and events, but no tasks.
That triggered an access to a "NoneType" for the task config. Need to
check not only for existance of key, but also for real value.
2010-05-07 14:05:42 +02:00
GLS_DEU1
2f1cc300a4 l10n: Updates to Italian (it) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-06 18:07:00 -07:00
tomasgalicia
0f65d4e97f l10n: Updates to Spanish (Castilian) (es) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-06 17:47:34 -07:00
GLS_CHS2
b23795429d l10n: Updates to Chinese (China) (zh_CN) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-06 17:44:57 -07:00
GLS_ITA1
1b0049c193 l10n: Updates to Italian (it) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-06 11:19:09 -07:00
GLSJPN_Yukari
4208debd3b l10n: Updates to Japanese (ja) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-06 00:01:19 -07:00
gls_rus1
15b5612e7e l10n: Updates to Russian (ru) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-05 20:23:24 -07:00
GLS_PTB
d1b5f20687 l10n: Updates to Brazilian Portuguese (pt_BR) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-05 15:30:55 -07:00
GLS_PTB
8386ca4dbe l10n: Updates to Brazilian Portuguese (pt_BR) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-05 14:47:11 -07:00
Patrick Ohly
913db88bc6 ical20.ics.local: must be included in dist 2010-05-05 09:08:03 +02:00
tomasgalicia
d93ed52a4b l10n: Updates to Spanish (Castilian) (es) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-04 16:10:52 -07:00
tomasgalicia
e8aa73bcc3 l10n: Updates to Spanish (Castilian) (es) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-04 14:20:08 -07:00
Patrick Ohly
967f0a8b2c client-test: added test case for broken VTIMEZONE matching (MBC #1332)
client-test now accepts test case files like ical20.ics.<server>,
without the .tem suffix. This is used for testing the problematic
VCALENDAR items from MBC #1332, like this:
CLIENT_TEST_SERVER=local ./client-test Client::Sync::ical20::testConversion

Because "local" is not a recognized server, one has to set the syncURL
in the created "local_1" config before the test runs.
2010-05-04 22:05:15 +02:00
Patrick Ohly
e34ad5b2a3 test-dbus.py: test server progress events (MBC #1359)
With the server properly recording per-source information, it is
possible to check for it. In the "client disconnect" case, the
overall status is "transport failure" whereas the one source which
was activated ends up with "aborted on behalf of user".
2010-05-04 16:05:24 +02:00
Patrick Ohly
7046f6bc51 SyncContext: accept progress events in server mode (MBC #1359)
The latest Synthesis engine also emits progress events in server mode.
Before this patch, the events were ignored because the code was
conservative about not relying on something not supported. Now
client and server mode report and record progress and statistics
the same way.
2010-05-04 15:36:00 +02:00
Patrick Ohly
8a0d2db04a README.html: built from README.rst with rst2html (MBC #690)
The main reason for bundling the .html version with the distribution
packages is that the syncevolution.org "Usage" page needs the
.html version. Building it as part of of the distribution packages
ensures that packages and documentation are in sync.

An additional benefit is that some users might prefer to read the
documentation in HTML.

As with man pages, building the HTML README depends on rst2html and
can be controlled via --with-rst2html.
2010-05-04 13:49:54 +02:00
Patrick Ohly
55f3b2ddef README: replaced with README.rst, added man page (MBC #690)
This patch adds the necessary autotools rules a) to use README.rst
as README in distribution archives and b) to build a syncevolution.1
man page out of it.

The later depends rst2man. --with-rst2man can be used to force man page
creation on or off. Without an explicit choice, it is only built when
the tool is found.

Version and compile date are inserted automatically.
2010-05-04 13:49:54 +02:00
Patrick Ohly
1051c24af8 README: converted into reStructuredText (MBC #690)
Reorganized the content so that it is more like a man reference page.
Known problems, setup, feature overview are meant to be maintained
at syncevolution.org.

Changed the format to reStructuredText (http://docutils.sourceforge.net/rst.html).
It can already be converted to man format (rst2man) and HTML for the
Drupal installation on syncevolution.org. Line breaks are problematic
when copying the HTML source because Drupal turns line breaks into <br/>.

The goal is that the README.rst is the authoritative copy of the
syncevolution.org "Usage" page and a "syncevolution/synccompare" man
page.
2010-05-04 13:49:54 +02:00
Patrick Ohly
581551d5ff Nokia E55: needs absolute alarm times (MBC #1657)
As discussed on the mailing list, the Nokia E55 needs alarm times
in UTC. This rule enables that, using the mechanism introduced
earlier for Mobical.
2010-05-04 09:48:54 +02:00
Patrick Ohly
f7f0bee61b templates: skip over temporary files (MBC #1208)
After switching to files for template, temporary files as
created while editing a template file were also read as templates,
leading to duplicate templates (one old, one modified).

With this patch, invisible files starting with a dot and backup
files ending in a tilde are ignored.
2010-05-04 09:39:20 +02:00
Patrick Ohly
8e759d4d59 templates: also search in .config/syncevolution-templates (MBC #1208)
With this patch, template files are also found in
.config/syncevolution-templates (or the corresponding directory
pointed to by the XDG env variables).

The tests had to be adapted a) to not find templates installed
by the user in his own home and b) to cover finding templates
via XDG_CONFIG_HOME.
2010-05-04 09:39:20 +02:00
Patrick Ohly
29e0b8eac1 templates: use single-file format (MBC #1208)
This patch switches reading of templates on disk from the previous,
one file per .ini file format to the single-file format produced
by the syncevo-phone-config utility. This makes creating templates
much easier, also when using just an editor instead of the tool.

The existing Cmdline tests cover this code pretty well, as demonstrated
by the number of fixes that were necessary in the previous patches
when running the tests. Therefore it should be safe to use this in
SyncEvolution 1.0.
2010-05-04 09:39:20 +02:00
Patrick Ohly
006bcf2603 single file format for multiple .ini files (MBC #1208)
This patch adds the infrastructure for reading a single file
which contains multiple separate .ini files. Writing is not
implemented.

The Ini*ConfigNode classes are derived from the File*ConfigNode
classes and could replace those. The only reason for not doing
this right away is that the master branch is in code freeze in
preparation for 1.0. Removing File*ConfigNode and replacing
their usages should be done after the release.

The SingleFileConfigTree implements the splitting of the single
file into independent pieces. It instantiates IniFileConfigNodes
with in-memory access to the actual data, using the new classes
introduced for this case in the previous patches.

SingleFileConfigTree could also use other ConfigNodes, but that kind
of flexibility is not needed yet and also would require rethinking the
way how the single file is split. Right now the separators ("===
.... ===") are known to not occur in the individual pieces.

Like the FileConfigTree, this class must be able to preserve
nodes which were created without flushing the tree afterwards.
This is done when reading from a read-only template, which may
add new nodes or modify existing ones in memory.
2010-05-04 09:39:20 +02:00
Patrick Ohly
663939976a StringDataBlob: read/write shared string in memory
This class works with a string whose ownership is shared with
others. The goal is that this will avoid copying strings around.

Right now, writing into that string is not implemented, because
only reading from an existing string is needed for the single
.ini file use case (MBC #1208).
2010-05-04 09:39:20 +02:00
Patrick Ohly
8b2503ddc6 ConfigNode: moved ConfigNode::createFileNode() into separate file
Moved ConfigNode::createFileNode() into ConfigNode.cpp where it
belongs. Moving it now allows us to replace FileConfigNode.cpp
later on.
2010-05-04 09:39:20 +02:00
Patrick Ohly
50101688df DataBlob: abstract access to chunks of data
The goal of the DataBlob base class is encapsulating read/write
access to permanent data storage *on demand*. Comparing it to
files, it is more like a path name than a file handle.

boost::shared_ptr are used a) because it automates deletion of
the actual data streams and b) some implementations of DataBlob
might have to share access to these instances.

One possible implementation (included in this patch) is indeed
a plain file. It writes into a temporary file and only renames
it to the final path name on success, which emulates the behavior
of the FileConfigNode. The actual implementation of this renaming
was moved into a separate class, the SafeOstream.

Another (to be added later) is a chunk of data inside a larger file.
This is needed for embedding different .ini style files inside
one large text file, as required for MBC #1208).
2010-05-04 09:39:19 +02:00
Patrick Ohly
6144231589 util: getBasename()/getDirname()/splitPath()
Added functions to split a full path name into its components.
The base name is implemented as in the "basename" utility,
i.e., the trailing slash in "foo/" is ignored, leading to "foo"
as base name.
2010-05-04 09:39:19 +02:00
GLS_POL1
ea8f28357d l10n: Updates to Polish (pl) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-03 21:27:02 +02:00
Jussi Kukkonen
1f60171e53 gtk-ui: preserve configuration names on save (BME #1266)
use the name of a saved config (and not the the template) when saving
the config again.
2010-05-03 15:24:41 +03:00
Jussi Kukkonen
d4e05b2531 gtk-ui: put emergency view in scrolledwindow (BME #1296)
Use a vertical scrollbar when needed.

The commit looks extensive, but it's just glade re-indenting
everything inside the scrolledwindow.
2010-05-03 15:24:41 +03:00
GLS_CHS2
ce88edb61b l10n: Updates to Chinese (China) (zh_CN) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-05-01 00:49:30 -07:00
GLS_DEU1
93896a66a7 l10n: Updates to German (de) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-04-30 18:33:58 -07:00
GLS_KOR
dbde7cf90c l10n: Updates to Korean (ko) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-04-30 15:56:52 -07:00
GLS_PTB
afb8001c63 l10n: Updates to Brazilian Portuguese (pt_BR) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-04-30 15:51:08 -07:00
GLS_ITA1
2203ee19b4 l10n: Updates to Italian (it) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-04-30 13:34:50 -07:00
GLS_ITA1
6a5427fae1 l10n: Updates to Italian (it) translation
Transmitted-via: Transifex (translate.moblin.org)
2010-04-30 12:11:42 -07:00
Chen Congwu
6ded33e01d Ovi nightly testing: set serverName to 'Ovi' instead of 'ovi' 2010-04-28 09:17:26 +02:00
Patrick Ohly
be78d802a8 syncevo-phone-config: add "forced types" to tested configs (MBC #1197)
Types like "text/calendar" are implicitly turned into
"text/x-vcalendar" inside SyncEvolution when asking the phone to
sync. Forcing the type leads to a different SAN message and thus
is worth testing.

Forcing legacy types also leads to a slightly different sync session:
the SAN is the same as without forcing the type, but then we send
simpler CtCap information. This might make a difference when a phone
stumbles over too complex CtCap. But because such a phone should
work when disabling CtCap altogether, the forced legacy types are
not tested separately (would increase overall number of test cases).

Using --advanced with a --type for which no test data exists now fails
with an error instead of silently using empty items.
2010-04-28 08:06:57 +02:00
Patrick Ohly
07d0455bbe SAN message: typo fix in text/calendar => text/x-vcalendar mapping (MBC #1197)
The Sony Ericsson K750i accepts "text/x-vcalendar" as type in the SAN message,
but not "text/calendar". We had code which was supposed to map to the older
type, but due to a typo ended up sending "text/x-calendar", which is rejected.
Fixed.
2010-04-28 08:06:57 +02:00
Patrick Ohly
8a23af0acb syncevo-phone-config: avoid referencing invalid config (MBC #1197)
The code which set remoteIdentifier and SyncMLVersion in the template
copied from a "config" variable which was not set if a) not creating
a config earlier or b) the last source had no working config.

Case b actually occurred when running against a MeeGo netbook, which
has no "memo" database.

The fix is simple: only copy the values when at least one source has
them.
2010-04-28 08:06:57 +02:00