Re: Demo documents for use in screenshots

2011-05-16 Thread Stephanie Das Gupta
On 05/10/2011 03:31 AM, Jaroslaw Staniek wrote:
> On 5 May 2011 08:59, Boudewijn Rempt  wrote:
>> Hi,
>>
>> A first set of demo documents is available at 
>> http://www.valdyas.org/~boud/snapshot1_demodocs.tgz
>>
>> For the next snapshot I'll make new documents.
> Kexi -- please download at:
> https://projects.kde.org/projects/calligra/repository/revisions/master/changes/kexi/examples/Simple_Database.kexi
>
> GFDL licensed
>
I am still waiting for the demo documents for Flow and Plan for 
screenshots, if the maintainers can send me the appropriate documents I 
would appreciate it.

Thanks!

~ Stephanie
___
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel


Re: Usage of libkundo2 in Calligra (Qt's maximal dependency)

2011-05-16 Thread Boudewijn Rempt
On Friday 13 May 2011 May, Alexander Potashev wrote:
> 2011/5/13 C. Boemann :
> > 1. get libkundo2 released and wait until all distributions have picked it up
> > and released with it. Meaning that qt 4.8 might be available at the same 
> > time.
> 
> I didn't think about this somehow...
> 
> > 2. add the library inside the Calligra repository.
> 
> So, moving to Calligra repository seems to be better. It has 2 more 
> advantages:
> 1. the library will be immediately removed when it becomes unnecessary,
> 2. moving to Calligra repository is easier than creating a new repository.
> 

Yes, I agree that that is the way to go. We want nicely translatable undo 
messages. Will you take on the maintenance and so on? I actually think that it 
will make sense for us to start depending on Qt 4.8 as soon as it's packaged by 
most distributions (and meego) since it fixes a lot of bugs. 

> Other applications like Step and Kig will wait for Qt 4.8, because
> nobody uses them. ;)

Aw, I'm not so sure about that -- but they can use the same strategy for now, 
right?

-- 
Boudewijn Rempt | http://www.valdyas.org, http://www.krita.org
___
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel


Re: [calligra] libs/textlayout: Fix infinite loop and optimize layout.

2011-05-16 Thread Cyrille Berger Skott
Hi,

It looks like this commit is breaking the TestBlockLayout test:
http://my.cdash.org/testDetails.php?test=6064793&build=187910

On Sunday 15 May 2011, Sebastian Sauer wrote:
> Git commit 9ce2d5e164fa432e07ff6ef565ab97f819b0f507 by Sebastian Sauer.
> Committed on 15/05/2011 at 22:10.
> Pushed by sebsauer into branch 'master'.
> 
> Fix infinite loop and optimize layout.
> This fixes those *SlidesAndHandouts.odt document.
> 
> M  +7-6libs/textlayout/KoTextDocumentLayout.cpp
> 
> http://commits.kde.org/calligra/9ce2d5e164fa432e07ff6ef565ab97f819b0f507
> 
> diff --git a/libs/textlayout/KoTextDocumentLayout.cpp
> b/libs/textlayout/KoTextDocumentLayout.cpp index 71f7b91..082d121 100644
> --- a/libs/textlayout/KoTextDocumentLayout.cpp
> +++ b/libs/textlayout/KoTextDocumentLayout.cpp
> @@ -245,12 +245,13 @@ void KoTextDocumentLayout::documentChanged(int
> position, int charsRemoved, int c from = block.position() +
> block.length();
>  }
> 
> -//TODO FIXME make corresponding root area as dirty and then do layout
> -// right now we are just marking all as dirty
> -foreach (KoTextLayoutRootArea *rootArea, d->rootAreaList) {
> -if (!rootArea->isDirty())
> -rootArea->setDirty();
> -}
> +// Mark the previous of the corresponding and all following root areas
> as dirty. +KoTextLayoutRootArea *area = rootAreaForPosition(position);
> +if (!area)
> +return;
> +for(int i = qMax(0, d->rootAreaList.indexOf(area) - 1); i <
> d->rootAreaList.count(); ++i) +d->rootAreaList[i]->setDirty();
> +
>  emitLayoutIsDirty();
>  }


-- 
Cyrille Berger Skott
___
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel


Re: Random failures in the test kotext-odf-TestChangeTracking

2011-05-16 Thread Cyrille Berger Skott
Hi,

I now get "permanent" failure in the unit test:
http://my.cdash.org/testDetails.php?test=6063659&build=187759

It seems it happened after the merge of the new text layout.

-- 
Cyrille Berger Skott
___
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel


Re: Usage of libkundo2 in Calligra (Qt's maximal dependency)

2011-05-16 Thread Alexander Potashev
2011/5/16 Boudewijn Rempt :
> Yes, I agree that that is the way to go. We want nicely translatable undo 
> messages.

Ok, now I'm going to clean things up and create a review request.

> Will you take on the maintenance and so on?

I can't guarantee that I'll be available (i.e. online) during the next
months. But it must be very easy to revert the dependency on
libkundo2.

> I actually think that it will make sense for us to start depending on Qt 4.8 
> as soon as it's packaged by most distributions (and meego) since it fixes a 
> lot of bugs.
>
>> Other applications like Step and Kig will wait for Qt 4.8, because
>> nobody uses them. ;)
>
> Aw, I'm not so sure about that -- but they can use the same strategy for now, 
> right?

Yes, but KDE SC 4.7 is in feature and dependency freeze already. It
still can be done if you convince people that it's just bugfixing, but
not a new feature ;)
But still it don't really care about Step and Kig, and will unlikely
spend time on them.


-- 
Alexander Potashev
___
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel


Re: Review Request: Stage: save zoom factor for normal view and slides sorter between sesions

2011-05-16 Thread Commit Hook

---
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101129/#review3344
---


This review has been submitted with commit 
76d298d048bd7f519c4c022489151793650e8e7a by Paul Mendez.

- Commit


On May 13, 2011, 3:43 p.m., Paul Mendez wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/101129/
> ---
> 
> (Updated May 13, 2011, 3:43 p.m.)
> 
> 
> Review request for Calligra.
> 
> 
> Summary
> ---
> 
> Add save of zoom factor and mode for normal view and slides sorter. Also 
> eliminate page and width options of zooming in Slides Sorter (these options 
> doesn't make much sense in that view).
> Finally I eliminate the white space around the slide because it make the 
> slide lost focus when zooming and when I restore the previous zoom value (the 
> zoom function center the white space too), in addition the white space make 
> too big the default size of shapes when inserted.
> (I ask in calligra channel, and the white space was added to have an area for 
> insert things, maybe it could be added in a better way).
> 
> 
> Diffs
> -
> 
>   kpresenter/part/KPrView.h 80b67520be60500ecf11df0827f1d4ee8eeab4e7 
>   kpresenter/part/KPrView.cpp 0ba563aebc7fe7566b5cc00bbcabef235e48b317 
>   kpresenter/part/KPrViewModeSlidesSorter.h 
> ec5f6691072115eb7818f1eb224f6a03fe9bf13c 
>   kpresenter/part/KPrViewModeSlidesSorter.cpp 
> b4fee3c755aebf65e9bff0cef5516776533ec4a6 
>   libs/kopageapp/KoPAView.h 5585364c4bf0503e312a302b91f762653aaf98bb 
>   libs/kopageapp/KoPAView.cpp c53edecb309098949f66e9d50238bc60f26f9bee 
> 
> Diff: http://git.reviewboard.kde.org/r/101129/diff
> 
> 
> Testing
> ---
> 
> build and run
> 
> 
> Thanks,
> 
> Paul
> 
>

___
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel


Re: Random failures in the test kotext-odf-TestChangeTracking

2011-05-16 Thread Ganesh Paramasivam
Hi,

Looks like saving of delete changes in broken ( and probably not
related to the random failures ). Will take a look at it.
Can this wait till the weekend for a fix ?

Thanks,
Ganesh

On Mon, May 16, 2011 at 2:04 PM, Cyrille Berger Skott
 wrote:
> Hi,
>
> I now get "permanent" failure in the unit test:
> http://my.cdash.org/testDetails.php?test=6063659&build=187759
>
> It seems it happened after the merge of the new text layout.
>
> --
> Cyrille Berger Skott
> ___
> calligra-devel mailing list
> calligra-devel@kde.org
> https://mail.kde.org/mailman/listinfo/calligra-devel
>
___
calligra-devel mailing list
calligra-devel@kde.org
https://mail.kde.org/mailman/listinfo/calligra-devel