test server is back, now with calligra

Jos van den Oever jos at vandenoever.info
Tue May 10 09:18:02 BST 2011


On Monday, May 09, 2011 15:34:04 PM Jos van den Oever wrote:
> The test server is up again at http://158.36.191.251:8080/
> Press "Login as a Guest User" at the bottom of the login screen.
> 
> As before you can follow the progress of Calligra in steps of a few
> commits.
> 
> In Calligra/default you can see:
>   -- if Calligra compiles
>   -- how many tests are failing
>   -- how long each test took and if that's slower or faster then before
> 
> In Calligra/kofficetests you can see:
>   -- what files are causing crashes on a load/save cycle
>   -- how long these cycles take in the current and previous snapshot
>   -- see backtraces for crashes

I forgot an important feature: ODF 1.2 validation. After roundtripping, saved 
documents are validated. A large group of reported errors is formed by this. 
For example, roundtripping 
kofficetests/interoperability/kword/oowriter/mumi0.odt with the command
  words --roundtrip-filename out.odt mumi0.odt
gives a file out.odt with a content.xml that has many of the same error (as 
repoted by
  calligra/tools/scripts/validateODF.py
/tmp/tmp9D5U4N_content.xml:2140:86: error: bad value for attribute "letter-
spacing" from namespace "urn:oasis:names:tc:opendocument:xmlns:xsl-fo-
compatible:1.0"
The cause is simple. Here is one occurrance of the problem:
  <style:text-properties fo:font-size="14.000000000000000pt" fo:font-
weight="bold" fo:letter-spacing="97"/>
The attribute fo:letter-spacing has no unit! In the input file the spacing was 
specified in inches, e.g. fo:letter-spacing="-0.0041in". In Qt letter spacing 
can be done in percent or in pixels. In Calligra, using pixels makes no sense, 
percentages are being used. ODF only allows absolute length, so the relative 
value has to be converted. (It would be nice of Calligra kept track of the 
original absolute distance, but making it write valid ODF at all is already an 
improvement.)
The fix for this problems was done in less than an hour. The problem count 
should go down shortly, when the committed patch has made it through the test 
server. You see that getting the problem count down, can be easy.

> http://158.36.191.251:8080/
> Press "Login as a Guest User" at the bottom of the login screen.

Cheers,
Jos



More information about the calligra-devel mailing list