Window background (was: Re: [ANN] LibreOffice 3.6.0.0 beta2 available for testing)

2012-06-28 Thread Stefan Knorr (Astron)
Hi ape, Kendy, (Mirek,)

CC'ing Mirek, since he proposed the look...

   His eyes involuntarily seek the boundaries between objects: a page, the
 working area or a ruler.
   If the objects are:
   a) a very bright or dark;
   b) have almost the same color and have no boundary lines;
   c) have too much color contrast
   lens of the muscles are working constantly. So my eyes tire quickly.
 Therefore, all the Office Suites have The Windows that have color schemes
 are very similar.

Tbh, I am not exactly sure what to take from this description ... I
don't find it eye-straining to work with LibO 3.6. (Then again, for
most actual productivity tasks I use Linux – where I am using the
similarly light Clearlooks theme, though.)

However, I agree that the document background is now a little light –
even the colour Gray 10% is darker now than the default window
background on Vista/7.
What bugs me much more than the default being a bit light though is
that the ruler background as well as the Start Center background
colour will stay the same no matter what application background colour
is chosen. IMHO these colours should be the same as the normal window
background, IMHO.


Astron.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Error when trying to compile LibreOffice 3.5.2

2012-06-28 Thread Caolán McNamara
On Tue, 2012-06-26 at 12:35 -0700, Leonardo Josué Corcega Ufona wrote:
 vcbuild.exe : error VCBLD0001: VCProjectEngine.dll no se puede cargar.
 Aseg▒rese de que el archivo VCProjectEngine.dll se encuentra en el
 mismo directorio que el archivo vcbuild.exe.

Well, google translate turns this into...

VCBLD0001: CProjectEngine.dll not be loaded. Make sure
VCProjectEngine.dll that the file is in the same directory as the
VCBuild.exe.

googling on that then gives
http://wiki.postgresql.org/wiki/PgAdmin_Internals as a plausible similar
problem and solution, i.e. on non-english version of visual c++ express
edition (spanish, french and others). This Problem seems to be that for
non english versions, vcbuild cannot load the specific languages dll.
SOLUTION: copy the content of the localized folder (for french it
is ...vcpackages\1036, spanish it is ...vcpackages\3082) in vcpackages.
It worked on french and spanish version.

So it seems to be a non-english language specific problem with visual
studio express.

C.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [PUSHED][PATCH] fdo#44602 Modeless word count window hides when user clicks into note

2012-06-28 Thread Caolán McNamara
On Mon, 2012-06-25 at 13:53 +0300, Muhammad Haggag wrote:
 Gerrit change: https://gerrit.libreoffice.org/236

marking this as pushed via gerrit by Michael.

C.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Window background (was: Re: [ANN] LibreOffice 3.6.0.0 beta2 available for testing)

2012-06-28 Thread Jan Holesovsky
Hi Astron,

On 2012-06-28 at 09:13 +0200, Stefan Knorr (Astron) wrote:

His eyes involuntarily seek the boundaries between objects: a page, the
  working area or a ruler.
If the objects are:
a) a very bright or dark;
b) have almost the same color and have no boundary lines;
c) have too much color contrast
lens of the muscles are working constantly. So my eyes tire quickly.
  Therefore, all the Office Suites have The Windows that have color schemes
  are very similar.
 
 Tbh, I am not exactly sure what to take from this description ... I
 don't find it eye-straining to work with LibO 3.6. (Then again, for
 most actual productivity tasks I use Linux – where I am using the
 similarly light Clearlooks theme, though.)
 
 However, I agree that the document background is now a little light –
 even the colour Gray 10% is darker now than the default window
 background on Vista/7.

No problem there - just give me the RGB values we should use, and I'll
put it there :-)

 What bugs me much more than the default being a bit light though is
 that the ruler background as well as the Start Center background
 colour will stay the same no matter what application background colour
 is chosen. IMHO these colours should be the same as the normal window
 background, IMHO.

This might be harder - the handling of the color settings is much more
complex than it should be, so not sure if I manage to do it in time for
Beta3, and I am off for vacation after that; let's see.

All the best,
Kendy

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice-ux-advise] Enable CTL for Default?

2012-06-28 Thread Stefan Knorr (Astron)
Hi all,

I enabled CTL/Asian support some time ago and it doesn't bother me
performance-wise. However, the separate font entries in the Paragraph
Style dialogue do bother me quite a bit. I also don't really see the
use for them because (at least in the case of the CTL default) they
lump very different scripts together – most fonts aren't optimised for
both (e. g.) Arabic and Indic scripts.
Thus, if we think this principle through, we would end up with
different pickers for every language – which hopefully no one wants. I
would very much like to only ever see one default font, not three.

(It also adds two more tabs, Asian Typography and Asian Layout to the
same dialogue. It should be simple to add the three options in Asian
Typography as a button on the Font tab. Asian Layout would seem to
topically fit into the Position tab – which is already crammed though,
so that Tab would likely need to stay.)

Then, the Asian option adds the entries Hangul/Hanja Conversion and
Chinese Translation to the Tools→Language menu. These, don't bother me
really.

The other UI thing is that it adds three more pages to the options itself.
The Searching in Japanese page initially comes up with all options
enabled – thus, it might make sense to think about whether people
really need such granular control over these options or if we could
maybe make it all a single option (I am not Japanese, obviously, so I
am guessing wildly here). [NB: all the options are also available in
Find  Replace next to the tick box Sounds like.]

Keeping most of the options for Asian Layout seems like a good idea to
me, but the Beginning and End Character settings, we can probably also
conclude the right thing to do from the default language setting, no?
As for the options under Conmplex Text Layout:
* Sequence Checking sounds like an option that's useful to keep;
* I am not sure about Cursor Movement, but I've tried the options and
visual seems to behave rather buggy – if it weren't it would likely
be the best option
* the Digits option: it could find a new home in the Languages tab
or it could be removed completely, with it being set to Context
always

This way, we could probably compress all the relevant options to a
single additional options page (instead of three) – which would lower
the UI impact immediately.

Conclusion: if we could adapt the UI as outlined, it would be great if
we could always enable CJK/CTL support.

Regards,

Astron.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: ucb/source

2012-06-28 Thread Cédric Bosdonnat
 ucb/source/ucp/cmis/cmis_content.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b9cf9ea846bd993462762407ce8740665a92593c
Author: Cédric Bosdonnat cedric.bosdon...@free.fr
Date:   Thu Jun 28 10:30:11 2012 +0200

CMIS UCP: oops, read-only check has been reversed somehow

Change-Id: Ib81bf394b71cf3e38ee6a87db903474414b9f704

diff --git a/ucb/source/ucp/cmis/cmis_content.cxx 
b/ucb/source/ucp/cmis/cmis_content.cxx
index ddf09ba..fb78931 100644
--- a/ucb/source/ucp/cmis/cmis_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_content.cxx
@@ -352,7 +352,7 @@ namespace cmis
 {
 boost::shared_ptr libcmis::AllowableActions  
allowableActions = getObject()-getAllowableActions( );
 sal_Bool bReadOnly = sal_False;
-if ( allowableActions-isAllowed( 
libcmis::ObjectAction::SetContentStream ) )
+if ( !allowableActions-isAllowed( 
libcmis::ObjectAction::SetContentStream ) )
 bReadOnly = sal_True;
 
 xRow-appendBoolean( rProp, bReadOnly );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [PATCH] update cppunit to version 1-13

2012-06-28 Thread Philipp Riemer
Hey Markus, Michael, all,

Two minor things from my side as a newbie to the LO project:

(1) In lines 288-291 of the patch you also delete the comment showing
from where you got the CPPUNIT file. Might be helpful to keep the
URL...

(2) In addition, I was wondering why the install folder is still
ooo-install in the makefile (lines 321-257)? Backward compatibility
reasons?

Just my 2 cents,
Philipp

2012/6/27 Michael Meeks michael.me...@suse.com:

 On Wed, 2012-06-27 at 18:57 +0200, Markus Mohrhard wrote:
 the attached patch updates our cppunit version to a state that will
 become 1.13.0 if we don't find any problems with it in the next 2
 days.

        All looks good to me; I'd love to get it in since I've a number of
 queued up commits that are blocking on it :-) If it builds for you, I'd
 push it to master; much of the patch (that isn't removing crufty
 patches) is a version search  replace it seems to me :-)

        Thanks !

                Michael.

 --
 michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

 ___
 LibreOffice mailing list
 LibreOffice@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/libreoffice
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: writerfilter/source

2012-06-28 Thread Miklos Vajna
 writerfilter/source/rtftok/rtfdocumentimpl.cxx |3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 0e82afdc8aeb34282f72a4e1a22542490675ffc7
Author: Miklos Vajna vmik...@suse.cz
Date:   Thu Jun 28 10:34:43 2012 +0200

rtftok: implement RTF_FACINGP

Change-Id: I9e108f278a82f2ff8d4e5a29fa8af7c58843e9e4

diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx 
b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 699b42b..270d711 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -2164,6 +2164,9 @@ int RTFDocumentImpl::dispatchFlag(RTFKeyword nKeyword)
 case RTF_LANDSCAPE:
 lcl_putNestedAttribute(m_aStates.top().aSectionSprms, 
NS_ooxml::LN_EG_SectPrContents_pgSz, NS_ooxml::LN_CT_PageSz_orient, 
RTFValue::Pointer_t(new RTFValue(1)));
 break;
+case RTF_FACINGP:
+
m_aSettingsTableSprms.set(NS_ooxml::LN_CT_Settings_evenAndOddHeaders, 
RTFValue::Pointer_t(new RTFValue(1)));
+break;
 default:
 SAL_INFO(writerfilter, OSL_THIS_FUNC  : TODO handle flag ' 
 lcl_RtfToString(nKeyword)  ');
 aSkip.setParsed(false);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: sd/source

2012-06-28 Thread Radek Doulík
 sd/source/ui/view/Outliner.cxx |8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

New commits:
commit ca644612762921e772ca95d5e8737325d9f343d2
Author: Radek Doulik r...@novell.com
Date:   Tue Jun 26 12:25:03 2012 +0200

remember spell check/findreplace start position only 1st time

 - use mnStartPageIndex as indicator, -1 means it wasn't set yet
   otherwise it is set. reset it to -1 at the end of spell check
   and findreplace

Change-Id: Ic45106b019d3c1a0232fe3d766aab07bbcd24d2c

diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index e7100e7..43aa502 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -381,6 +381,7 @@ void Outliner::EndSpelling (void)
 mpWeakViewShell.reset();
 mpView = NULL;
 mpWindow = NULL;
+mnStartPageIndex = (sal_uInt16) -1;
 }
 
 
@@ -531,8 +532,7 @@ bool Outliner::StartSearchAndReplace (const SvxSearchItem* 
pSearchItem)
 // restore start position if nothing was found
 if(!mbStringFound)
 RestoreStartPosition ();
-else
-mnStartPageIndex = (sal_uInt16)-1;
+mnStartPageIndex = (sal_uInt16)-1;
 }
 }
 else
@@ -657,6 +657,7 @@ bool Outliner::SearchAndReplaceAll (void)
 }
 
 RestoreStartPosition ();
+mnStartPageIndex = (sal_uInt16)-1;
 
 return true;
 }
@@ -870,6 +871,9 @@ void Outliner::RememberStartPosition (void)
 return;
 }
 
+if ( mnStartPageIndex != (sal_uInt16) -1 )
+return;
+
 if (pViewShell-ISA(DrawViewShell))
 {
 ::boost::shared_ptrDrawViewShell pDrawViewShell (
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'libreoffice-3-6' - ucb/source

2012-06-28 Thread Cédric Bosdonnat
 ucb/source/ucp/cmis/cmis_content.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1a19e67d1a20d448d4e0f64647540f6ecc7b7e51
Author: Cédric Bosdonnat cedric.bosdon...@free.fr
Date:   Thu Jun 28 10:30:11 2012 +0200

CMIS UCP: oops, read-only check has been reversed somehow

Change-Id: Ib81bf394b71cf3e38ee6a87db903474414b9f704

diff --git a/ucb/source/ucp/cmis/cmis_content.cxx 
b/ucb/source/ucp/cmis/cmis_content.cxx
index ddf09ba..fb78931 100644
--- a/ucb/source/ucp/cmis/cmis_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_content.cxx
@@ -352,7 +352,7 @@ namespace cmis
 {
 boost::shared_ptr libcmis::AllowableActions  
allowableActions = getObject()-getAllowableActions( );
 sal_Bool bReadOnly = sal_False;
-if ( allowableActions-isAllowed( 
libcmis::ObjectAction::SetContentStream ) )
+if ( !allowableActions-isAllowed( 
libcmis::ObjectAction::SetContentStream ) )
 bReadOnly = sal_True;
 
 xRow-appendBoolean( rProp, bReadOnly );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Including a patch from AOO...

2012-06-28 Thread Michael Meeks

On Wed, 2012-06-27 at 12:07 -0700, bfo wrote:
 There are bug reports on bugs.freedesktop.org imported from AOO which 
 are in RESOLVED FIXED state there. ...

There are plenty of bugs cross-linked to AOO bugs, many of them FIXED
no doubt on one side or the other. It is certainly clear that we have
fixed many hundreds of bugs - we've been shipping the code-base that
Apache are now based on to end-users for over a year. The milestone we
based from was a beta code-base - it is -inevitable- that there is some
duplication of fixing there. That is sad of course.

 This can impact improving LO quality. Any comments on that?

In general fixing bugs tends to improve quality :-) so we should do
more of that.

Having said that - I wrote a length mail explaining the current
situation. No-one should be taking any code from the Apache project
until we have fully re-based on the ALv2 code, under their license.

That process is ongoing; track it's progress in the ESC minutes. There
will be no lack of clarity / announcement as to when it is complete. It
seems possible that we will also import a (suitably cleaned-up) version
of the Apache svn into a git repository in due course); that should make
it easier to pick fixes across, and of course retain all the history on
both sides for easy comparison. Then I suspect we will want a
-systematic- way of reviewing all future changes and fixes to ensure
that we only pick and test fixes that don't overlap with our existing
work and are appropriate.

The punch line is that -for-now- it is frustrating, and in the future
life will be much easier.

Anyway, anyone, please contact me privately if you want to continue
this discussion.

Thank you,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: cppunit/makefile.mk ooo.lst.in

2012-06-28 Thread Markus Mohrhard
 cppunit/makefile.mk |2 +-
 ooo.lst.in  |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 8122fdb0d391f07be4a35ca87ed641745a9e4dc9
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Thu Jun 28 10:48:16 2012 +0200

use updated cppunit-1.13.0 sources

Thanks a lot to Fridrich.

Change-Id: Iab8c1454f5aaf629b4761f451fbd075fd59bfa62

diff --git a/cppunit/makefile.mk b/cppunit/makefile.mk
index 03d59e4..598dd9d 100644
--- a/cppunit/makefile.mk
+++ b/cppunit/makefile.mk
@@ -30,7 +30,7 @@ TARGET = cppunit
 .INCLUDE: settings.mk
 
 TARFILE_NAME=cppunit-1.13.0
-TARFILE_MD5=4db5c308c80d04ad8b6839aea5224dea
+TARFILE_MD5=0c65c839854edd43d9294d1431a2b292
 
 PATCH_FILES =
 
diff --git a/ooo.lst.in b/ooo.lst.in
index c324a9b..efedf1e 100644
--- a/ooo.lst.in
+++ b/ooo.lst.in
@@ -30,7 +30,7 @@ f101a9e88b783337b20b2e26dfd26d5f-cairo-1.10.2.tar.gz
 798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
 ecb2e37e45c9933e2a963cabe03670ab-curl-7.19.7.tar.gz
 8294d6c42e3553229af9934c5c0ed997-stax-api-1.0-2-sources.jar
-4db5c308c80d04ad8b6839aea5224dea-cppunit-1.13.0.tar.gz
+0c65c839854edd43d9294d1431a2b292-cppunit-1.13.0.tar.gz
 a169ab152209200a7bad29a275cb0333-seamonkey-1.1.14.source.tar.gz
 a4d9b30810a434a3ed39fc0003bbd637-LICENSE_stax-api-1.0-2-sources.html
 a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 2 commits - bug/bug.xhtml bug/sanity-components.xhtml bug/sanity-query.xhtml

2012-06-28 Thread Petr Mladek
 bug/bug.xhtml   |2 +-
 bug/sanity-components.xhtml |9 +++--
 bug/sanity-query.xhtml  |2 +-
 3 files changed, 5 insertions(+), 8 deletions(-)

New commits:
commit 2e00567a553f838b3c5faefc0451b17399cdf173
Author: Rob Snelders programm...@ertai.nl
Date:   Thu Jun 21 21:27:57 2012 +0200

Localisation changed to Localization

diff --git a/bug/bug.xhtml b/bug/bug.xhtml
index fed2e2d..ca70672 100644
--- a/bug/bug.xhtml
+++ b/bug/bug.xhtml
@@ -124,7 +124,7 @@
   /div
   div
 div class=components_icons
-  divimg src=icons/WRITER.png title=Text Document 
data=Writer alt=Text Document /img src=icons/Spreadsheet.png 
title=Spreadsheet data=Spreadsheet alt=Spreadsheet /img 
src=icons/Presentation.png title=Presentation data=Presentation 
alt=Presentation /img src=icons/Drawing.png title=Drawing 
data=Drawing alt=Drawing /img src=icons/Database.png title=Database 
data=Database alt=Database /img src=icons/Chart.png title=Chart 
data=Chart alt=Chart //divdivimg src=icons/Libreoffice.png 
title=Localisation data=Localisation alt=Localisation /img 
src=icons/Documentation.png title=Documentation data=Documentation 
alt=Documentation /img src=icons/Extensions.png title=Extensions 
data=Extensions alt=Extensions /img src=icons/WWW.png title=Web Pages 
data=WWW alt=Web Pages /img src=icons/Libreoffice.png title=Contrib 
data=contrib alt=Contrib /img src=icons/Libreo
 ffice.png title=Linguistic data=Linguistic alt=Linguistic 
//divdivimg src=icons/Installation.png title=Installation 
data=Installation alt=Installation /img src=icons/Libreoffice.png 
title=BASIC data=BASIC alt=BASIC /img src=icons/Formula_editor.png 
title=Formula Editor data=Formula_Editor alt=Formula Editor /img 
src=icons/PDF_export.png title=Printing and PDF export 
data=Printing_and_PDF_export alt=Printing and PDF export /img 
src=icons/Libreoffice.png title=User Interface data=UI alt=User 
Interface /img src=icons/Libreoffice.png title=Unspecified 
data=Libreoffice alt=Unspecified //div
+  divimg src=icons/WRITER.png title=Text Document 
data=Writer alt=Text Document /img src=icons/Spreadsheet.png 
title=Spreadsheet data=Spreadsheet alt=Spreadsheet /img 
src=icons/Presentation.png title=Presentation data=Presentation 
alt=Presentation /img src=icons/Drawing.png title=Drawing 
data=Drawing alt=Drawing /img src=icons/Database.png title=Database 
data=Database alt=Database /img src=icons/Chart.png title=Chart 
data=Chart alt=Chart //divdivimg src=icons/Libreoffice.png 
title=Localization data=Localization alt=Localization /img 
src=icons/Documentation.png title=Documentation data=Documentation 
alt=Documentation /img src=icons/Extensions.png title=Extensions 
data=Extensions alt=Extensions /img src=icons/WWW.png title=Web Pages 
data=WWW alt=Web Pages /img src=icons/Libreoffice.png title=Contrib 
data=contrib alt=Contrib /img src=icons/Libreo
 ffice.png title=Linguistic data=Linguistic alt=Linguistic 
//divdivimg src=icons/Installation.png title=Installation 
data=Installation alt=Installation /img src=icons/Libreoffice.png 
title=BASIC data=BASIC alt=BASIC /img src=icons/Formula_editor.png 
title=Formula Editor data=Formula_Editor alt=Formula Editor /img 
src=icons/PDF_export.png title=Printing and PDF export 
data=Printing_and_PDF_export alt=Printing and PDF export /img 
src=icons/Libreoffice.png title=User Interface data=UI alt=User 
Interface /img src=icons/Libreoffice.png title=Unspecified 
data=Libreoffice alt=Unspecified //div
 /div
 div 
class=component_comments_containercomponent_comments;/div
   /div
diff --git a/bug/sanity-query.xhtml b/bug/sanity-query.xhtml
index 5342d2d..6ab3dfa 100644
--- a/bug/sanity-query.xhtml
+++ b/bug/sanity-query.xhtml
@@ -1,4 +1,4 @@
-cpts[0] = ['BASIC', 'BugAssistant', 'Chart', 'contrib', 'Database', 
'Documentation', 'Drawing', 'Extensions', 'Formula editor', 'Installation', 
'Libreoffice', 'Linguistic', 'Localisation', 'Printing and PDF export', 
'Presentation', 'Spreadsheet', 'UI', 'Writer', 'WWW' ];
+cpts[0] = ['BASIC', 'BugAssistant', 'Chart', 'contrib', 'Database', 
'Documentation', 'Drawing', 'Extensions', 'Formula editor', 'Installation', 
'Libreoffice', 'Linguistic', 'Localization', 'Printing and PDF export', 
'Presentation', 'Spreadsheet', 'UI', 'Writer', 'WWW' ];
 select name=product multiple=multiple size=5 id=product
   option value=LibreOffice selectedLibreOffice/option
 /select
commit 77cfa949192dd770dc5df1aaae8f53d7f64d9cb4
Author: Rob Snelders programm...@ertai.nl
Date:   Thu Jun 21 21:22:15 2012 +0200

fdo#50871 BUGZILLAASSISTANT: Help Linguistic not available (and Help PDF 
Export)

diff --git a/bug/bug.xhtml b/bug/bug.xhtml
index 254731a..fed2e2d 100644
--- a/bug/bug.xhtml
+++ b/bug/bug.xhtml
@@ -124,7 +124,7 @@
   /div
   div
 div class=components_icons
-  divimg 

Re: [PATCH][PUSHED] update cppunit to version 1-13

2012-06-28 Thread Markus Mohrhard
Hellp Philipp

2012/6/28 Philipp Riemer ruderphil...@gmail.com:
 Hey Markus, Michael, all,

 Two minor things from my side as a newbie to the LO project:

 (1) In lines 288-291 of the patch you also delete the comment showing
 from where you got the CPPUNIT file. Might be helpful to keep the
 URL...

The URL is wrong now. Our cppunit version is from
http://cgit.freedesktop.org/libreoffice/cppunit/log/ so I don't think
that we need this URL now.


 (2) In addition, I was wondering why the install folder is still
 ooo-install in the makefile (lines 321-257)? Backward compatibility
 reasons?


Why should we make a riskful change to something that is clearly
working as it should. IMHO changing internal names without a good
reason is not a good idea.

Patches is already pushed because Michael needed it for his rebasing.

Regards,
Markus
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [PUSHED] fdo#50871 BUGZILLAASSISTANT: Help Linguistic PDF Export not available

2012-06-28 Thread Petr Mladek
Rainer Bielefeld píše v St 27. 06. 2012 v 20:00 +0200:
 Petr Mladek schrieb:
 
  I am still confused. I am talking about Rob's
  0001-Localisation-changed-to-Localization.patch. I guess that we want to
  rename the component but I am not sure about the push timing. Do you
  need to do some changes in bugzilla first?
 
 
 Hi Petr,
 
 no need to be confused. All fixes can (and should) be pushed immediately 
 when review has showed that the patch is sane. The push is without any 
 influence to the Assistant until the update of the Assistant due to 
 https://wiki.documentfoundation.org/Bug_Submission_Assistant#Installation_and_maintenance
  
 will have been done.

 I consider that these updates only can be done when Bugzilla, Wiki and 
 may be patches all are prepared. Currently these Updates generally are 
 done By Thorsten Behrens (I did not understand the SSH proceeding), and 
 I initiate the the update only

This is the problem. The bugzilla assistant is in the website
repository. It is common for more services. It might be pulled on the
server because of changes in other services. The bugzilla assistant
might get restarted because of other reasons (problem on the server,
power outage). So, there is always risk that pushed changes will be
visible earlier than expected.

 So please push Rob's latest patch.

I see that bugzilla is already updated. So, I pushed the changes, see
http://cgit.freedesktop.org/libreoffice/website/commit/?id=77cfa949192dd770dc5df1aaae8f53d7f64d9cb4
http://cgit.freedesktop.org/libreoffice/website/commit/?id=2e00567a553f838b3c5faefc0451b17399cdf173

Let's ask Thorsten to pull and restart the service once I push the other
fix for fdo#41601.


Best Regards,
Petr

PS: I am sorry for prolonging the push. I wanted to be sure that I do
not break things :-)

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Filter Selection Dialog

2012-06-28 Thread Michael Meeks
Hi Joel,

On Wed, 2012-06-27 at 09:25 -0700, Joel Madero wrote:
 I am trying to track down how LO is handling the Filter Selection
 dialog found
 here: https://bugs.freedesktop.org/attachment.cgi?id=55136

:-) that does look bad.

 I have tracked down the framework
 here: http://opengrok.libreoffice.org/xref/core/uui/source/fltdlg.src#45  but 
 am yet to see how the actual list is being generated inside of the dialog. 
 Any guidance greatly appreciated.

Right - so each .src file (that describes a UI resource) has an
associated .cxx file that refers to those resources using these magic
defines:

 45 ListBox LB_FILTERS

so:

$ git --no-pager grep LB_FILTERS
uui/source/fltdlg.cxx:,   m_lbFilters  ( this, ResId( LB_FILTERS, *pResMgr  
  )   )

usually they are next to each other like this. So:

http://opengrok.libreoffice.org/xref/core/uui/source/fltdlg.cxx#91

Looks like a good method to do another git grep on to unwind this. Why
we're getting that filter dialog for a .docx file though - that is
interesting  prolly a different issue ;-)

 As a side note...I fried my hard drive last nightso I'm offline
 until replacement arrives in a few days (got to love Dell Extended
 Warranty) :)

Drat - well, LibreOffice can kill hardware I'm afraid; hope it recovers
soon.

All the best,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [PATCH][PUSHED] update cppunit to version 1-13

2012-06-28 Thread Philipp Riemer
2012/6/28 Markus Mohrhard markus.mohrh...@googlemail.com:
 Hellp Philipp

 2012/6/28 Philipp Riemer ruderphil...@gmail.com:
 Hey Markus, Michael, all,

 Two minor things from my side as a newbie to the LO project:

 (1) In lines 288-291 of the patch you also delete the comment showing
 from where you got the CPPUNIT file. Might be helpful to keep the
 URL...

 The URL is wrong now. Our cppunit version is from
 http://cgit.freedesktop.org/libreoffice/cppunit/log/ so I don't think
 that we need this URL now.


 (2) In addition, I was wondering why the install folder is still
 ooo-install in the makefile (lines 321-257)? Backward compatibility
 reasons?


 Why should we make a riskful change to something that is clearly
 working as it should. IMHO changing internal names without a good
 reason is not a good idea.

 Patches is already pushed because Michael needed it for his rebasing.

 Regards,
 Markus

Hey Markus,
thanks for the fast answers.

Cheers,
Philipp
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 37361] LibreOffice 3.5 most annoying bugs

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37361

Bug 37361 depends on bug 39415, which changed state.

Bug 39415 Summary: Painting of collapsing table borders broken in Writer
https://bugs.freedesktop.org/show_bug.cgi?id=39415

   What|Old Value   |New Value

 Resolution||FIXED
 Status|NEW |RESOLVED

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: bug/bug

2012-06-28 Thread Petr Mladek
 bug/bug/bug.css |4 
 1 file changed, 4 deletions(-)

New commits:
commit b5b79b065b1e2f43a6ced0bade5edb8748ad48e1
Author: Rob Snelders programm...@ertai.nl
Date:   Wed Jun 27 23:29:01 2012 +0200

fdo#41601 - BUGZILLAASSISTANT: Mouseover SUBMIT button does not change 
mouse pointer view

diff --git a/bug/bug/bug.css b/bug/bug/bug.css
index 34e4377..6fde858 100644
--- a/bug/bug/bug.css
+++ b/bug/bug/bug.css
@@ -430,11 +430,7 @@ body {
 color: #fff;
 text-align: center;
 line-height: 49px;
-}
-
-.state_submit div:hover.go {
 cursor: pointer;
-background: url('images/submit-hover.png') no-repeat;
 }
 
 /* related bugs */
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [PUSHED] fdo#41601 - BUGZILLAASSISTANT: Mouseover SUBMIT button does not change mouse pointer view

2012-06-28 Thread Petr Mladek
Rob Snelders píše v St 27. 06. 2012 v 23:31 +0200:
 Hi All,
 
 Here the patch that solves this bug. The SUBMIT-button now has the 
 pointer again.

Makes sense. Pushed, see
http://cgit.freedesktop.org/libreoffice/website/commit/?id=b5b79b065b1e2f43a6ced0bade5edb8748ad48e1

Thorsten, could you please pull and restart the bugzilla assistant to
make it alive?

Thanks a lot for the fix.


Best Regards,
Petr

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Filter Selection Dialog

2012-06-28 Thread Michael Meeks

On Thu, 2012-06-28 at 10:05 +0100, Michael Meeks wrote:
   Drat - well, LibreOffice can kill hardware I'm afraid

A quick clarification - -building- LibreOffice tends to discover poor
thermal management in systems better than anything else I've seen ;-)
Wise OEM's would run a LibreOffice compile as a soak-test before
shipping IMHO.

Heh,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: Branch 'libreoffice-3-6' - svl/source

2012-06-28 Thread Ivan Timofeev
 svl/source/undo/undo.cxx |   10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

New commits:
commit a20b6ed44995c91211b090a8470e0dd64079269e
Author: Ivan Timofeev timofeev@gmail.com
Date:   Thu Jun 28 13:12:56 2012 +0400

i#119400 repair broken undo

Change-Id: I36d74fe1555bd436f93a5fa595e7da05bbd37493
(cherry picked from commit 1eed4c837828c00dff4ef0b2cf29b1e2962e912d)

diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx
index e27bf00..e916675 100644
--- a/svl/source/undo/undo.cxx
+++ b/svl/source/undo/undo.cxx
@@ -635,10 +635,14 @@ bool SfxUndoManager::ImplAddUndoAction_NoNotify( 
SfxUndoAction *pAction, bool bT
 // merge, if required
 SfxUndoAction* pMergeWithAction = m_pData-pActUndoArray-nCurUndoAction ?
 
m_pData-pActUndoArray-aUndoActions[m_pData-pActUndoArray-nCurUndoAction-1].pAction
 : NULL;
-if ( bTryMerge  ( !pMergeWithAction || !pMergeWithAction-Merge( pAction 
) ) )
+if ( bTryMerge  pMergeWithAction )
 {
-i_guard.markForDeletion( pAction );
-return false;
+bool bMerged = pMergeWithAction-Merge( pAction );
+if ( bMerged )
+{
+i_guard.markForDeletion( pAction );
+return false;
+}
 }
 
 // clear redo stack, if requested
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'libreoffice-3-5' - svl/source

2012-06-28 Thread Ivan Timofeev
 svl/source/undo/undo.cxx |   10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

New commits:
commit af18adbad7de00a7b0b1eda659ec6552a760556d
Author: Ivan Timofeev timofeev@gmail.com
Date:   Thu Jun 28 13:12:56 2012 +0400

i#119400 repair broken undo

(cherry picked from commit 1eed4c837828c00dff4ef0b2cf29b1e2962e912d)

Change-Id: I36d74fe1555bd436f93a5fa595e7da05bbd37493
Signed-off-by: Michael Meeks michael.me...@suse.com

diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx
index b3bd440..e3b8cd1 100644
--- a/svl/source/undo/undo.cxx
+++ b/svl/source/undo/undo.cxx
@@ -635,10 +635,14 @@ bool SfxUndoManager::ImplAddUndoAction_NoNotify( 
SfxUndoAction *pAction, bool bT
 // merge, if required
 SfxUndoAction* pMergeWithAction = m_pData-pActUndoArray-nCurUndoAction ?
 
m_pData-pActUndoArray-aUndoActions[m_pData-pActUndoArray-nCurUndoAction-1].pAction
 : NULL;
-if ( bTryMerge  ( !pMergeWithAction || !pMergeWithAction-Merge( pAction 
) ) )
+if ( bTryMerge  pMergeWithAction )
 {
-i_guard.markForDeletion( pAction );
-return false;
+bool bMerged = pMergeWithAction-Merge( pAction );
+if ( bMerged )
+{
+i_guard.markForDeletion( pAction );
+return false;
+}
 }
 
 // clear redo stack, if requested
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Filter Selection Dialog

2012-06-28 Thread Olivier Hallot
Indeed. My dell notebook flirts 98 degrees C for hours, with 100 as safety
threshold.
Em 28/06/2012 06:46, Michael Meeks michael.me...@suse.com escreveu:


 On Thu, 2012-06-28 at 10:05 +0100, Michael Meeks wrote:
Drat - well, LibreOffice can kill hardware I'm afraid

A quick clarification - -building- LibreOffice tends to discover
 poor
 thermal management in systems better than anything else I've seen ;-)
 Wise OEM's would run a LibreOffice compile as a soak-test before
 shipping IMHO.

Heh,

Michael.

 --
 michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

 ___
 LibreOffice mailing list
 LibreOffice@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/libreoffice

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: ucb/source

2012-06-28 Thread Cédric Bosdonnat
 ucb/source/ucp/cmis/cmis_content.cxx  |   19 ++-
 ucb/source/ucp/cmis/cmis_datasupplier.cxx |4 +++-
 2 files changed, 13 insertions(+), 10 deletions(-)

New commits:
commit 2349c6a4743b517e705f90cc2a4eaf8ed70958e1
Author: Cédric Bosdonnat cedric.bosdon...@free.fr
Date:   Thu Jun 28 12:08:27 2012 +0200

CMIS UCP: strings coming from libcmis are UTF-8, not ascii

Change-Id: Ieb906b8acb677bfc74abc35abb06312704887b66

diff --git a/ucb/source/ucp/cmis/cmis_content.cxx 
b/ucb/source/ucp/cmis/cmis_content.cxx
index fb78931..977e2a3 100644
--- a/ucb/source/ucp/cmis/cmis_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_content.cxx
@@ -64,6 +64,7 @@
 #include cmis_resultset.hxx
 
 #define OUSTR_TO_STDSTR(s) string( rtl::OUStringToOString( s, 
RTL_TEXTENCODING_UTF8 ).getStr() )
+#define STD_TO_OUSTR( str ) rtl::OUString( str.c_str(), str.length( ), 
RTL_TEXTENCODING_UTF8 )
 
 using namespace com::sun::star;
 using namespace std;
@@ -98,8 +99,8 @@ namespace
 rtl::Reference ucbhelper::SimpleAuthenticationRequest  
xRequest
 = new ucbhelper::SimpleAuthenticationRequest(
 m_sUrl, m_sBindingUrl, ::rtl::OUString(),
-rtl::OUString::createFromAscii( username.c_str( ) ),
-rtl::OUString::createFromAscii( password.c_str( ) ),
+STD_TO_OUSTR( username ),
+STD_TO_OUSTR( password ),
 ::rtl::OUString(), true, false );
 xIH-handle( xRequest.get() );
 
@@ -300,7 +301,7 @@ namespace cmis
 {
 rtl::OUString sTitle;
 if ( getObject().get() )
-sTitle = rtl::OUString::createFromAscii( 
getObject()-getName().c_str( ) );
+sTitle = STD_TO_OUSTR( getObject()-getName() );
 else if ( m_pObjectProps.size()  0 )
 {
 map string, libcmis::PropertyPtr ::iterator it = 
m_pObjectProps.find( cmis:name );
@@ -308,7 +309,7 @@ namespace cmis
 {
 vector string  values = it-second-getStrings( 
);
 if ( values.size()  0 )
-sTitle = rtl::OUString::createFromAscii( 
values.front( ).c_str( ) );
+sTitle = STD_TO_OUSTR( values.front( ) );
 }
 }
 
@@ -343,7 +344,7 @@ namespace cmis
 else
 path = getObject()-getName( );
 
-xRow-appendString( rProp, 
rtl::OUString::createFromAscii( path.c_str() ) );
+xRow-appendString( rProp, STD_TO_OUSTR( path ) );
 }
 else
 xRow-appendVoid( rProp );
@@ -557,7 +558,7 @@ namespace cmis
 try
 {
 object = m_pSession-getObjectByPath( newPath );
-sNewPath = rtl::OUString::createFromAscii( newPath.c_str( 
) );
+sNewPath = STD_TO_OUSTR( newPath );
 }
 catch ( const libcmis::Exception )
 {
@@ -594,7 +595,7 @@ namespace cmis
 if ( bIsFolder )
 {
 libcmis::FolderPtr pNew = pFolder-createFolder( 
m_pObjectProps );
-sNewPath = rtl::OUString::createFromAscii( 
newPath.c_str( ) );
+sNewPath = STD_TO_OUSTR( newPath );
 }
 else
 {
@@ -602,7 +603,7 @@ namespace cmis
 uno::Reference  io::XOutputStream  xOutput = new 
ucbhelper::StdOutputStream( pOut );
 copyData( xInputStream, xOutput );
 libcmis::DocumentPtr pNew = pFolder-createDocument( 
m_pObjectProps, pOut, string() );
-sNewPath = rtl::OUString::createFromAscii( 
newPath.c_str( ) );
+sNewPath = STD_TO_OUSTR( newPath );
 }
 }
 
@@ -899,7 +900,7 @@ namespace cmis
 if ( !parentPath.empty() )
 {
 URL aUrl( m_sURL );
-aUrl.setObjectPath( rtl::OUString::createFromAscii( 
parentPath.c_str( ) ) );
+aUrl.setObjectPath( STD_TO_OUSTR( parentPath ) );
 sRet = aUrl.asString( );
 }
 
diff --git a/ucb/source/ucp/cmis/cmis_datasupplier.cxx 
b/ucb/source/ucp/cmis/cmis_datasupplier.cxx
index 59ffd73..edddc9e 100644
--- a/ucb/source/ucp/cmis/cmis_datasupplier.cxx
+++ b/ucb/source/ucp/cmis/cmis_datasupplier.cxx
@@ -18,6 +18,8 @@
 #include cmis_content.hxx
 #include cmis_provider.hxx
 
+#define STD_TO_OUSTR( str ) rtl::OUString( str.c_str(), str.length( ), 
RTL_TEXTENCODING_UTF8 )
+
 using namespace com::sun::star;
 using namespace std;
 
@@ -98,7 

Re: [PUSHED] fdo#50871 BUGZILLAASSISTANT: Help Linguistic PDF Export not available

2012-06-28 Thread Rainer Bielefeld

Petr Mladek schrieb:


This is the problem. The bugzilla assistant is in the website
repository.


Hi Petr,

I can't remember that that ever caused problems. During all the early 
times when BSA has been developed we never had a conflict. But I will 
keep your concerns in mind and be watchful.



Let's ask Thorsten to pull and restart the service once I push the other
fix for fdo#41601.


Please push ASAP to get that fix included;  Thorsten has an update 
request (from yesterday evening) in the line because of new 3.5.5.2


Best regards

Rainer
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: Branch 'libreoffice-3-6' - ucb/source

2012-06-28 Thread Cédric Bosdonnat
 ucb/source/ucp/cmis/cmis_content.cxx  |   19 ++-
 ucb/source/ucp/cmis/cmis_datasupplier.cxx |4 +++-
 2 files changed, 13 insertions(+), 10 deletions(-)

New commits:
commit 69f44de0b5f2b37d6a0947ef88984a0e41cb54d3
Author: Cédric Bosdonnat cedric.bosdon...@free.fr
Date:   Thu Jun 28 12:08:27 2012 +0200

CMIS UCP: strings coming from libcmis are UTF-8, not ascii

Change-Id: Ieb906b8acb677bfc74abc35abb06312704887b66

diff --git a/ucb/source/ucp/cmis/cmis_content.cxx 
b/ucb/source/ucp/cmis/cmis_content.cxx
index fb78931..977e2a3 100644
--- a/ucb/source/ucp/cmis/cmis_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_content.cxx
@@ -64,6 +64,7 @@
 #include cmis_resultset.hxx
 
 #define OUSTR_TO_STDSTR(s) string( rtl::OUStringToOString( s, 
RTL_TEXTENCODING_UTF8 ).getStr() )
+#define STD_TO_OUSTR( str ) rtl::OUString( str.c_str(), str.length( ), 
RTL_TEXTENCODING_UTF8 )
 
 using namespace com::sun::star;
 using namespace std;
@@ -98,8 +99,8 @@ namespace
 rtl::Reference ucbhelper::SimpleAuthenticationRequest  
xRequest
 = new ucbhelper::SimpleAuthenticationRequest(
 m_sUrl, m_sBindingUrl, ::rtl::OUString(),
-rtl::OUString::createFromAscii( username.c_str( ) ),
-rtl::OUString::createFromAscii( password.c_str( ) ),
+STD_TO_OUSTR( username ),
+STD_TO_OUSTR( password ),
 ::rtl::OUString(), true, false );
 xIH-handle( xRequest.get() );
 
@@ -300,7 +301,7 @@ namespace cmis
 {
 rtl::OUString sTitle;
 if ( getObject().get() )
-sTitle = rtl::OUString::createFromAscii( 
getObject()-getName().c_str( ) );
+sTitle = STD_TO_OUSTR( getObject()-getName() );
 else if ( m_pObjectProps.size()  0 )
 {
 map string, libcmis::PropertyPtr ::iterator it = 
m_pObjectProps.find( cmis:name );
@@ -308,7 +309,7 @@ namespace cmis
 {
 vector string  values = it-second-getStrings( 
);
 if ( values.size()  0 )
-sTitle = rtl::OUString::createFromAscii( 
values.front( ).c_str( ) );
+sTitle = STD_TO_OUSTR( values.front( ) );
 }
 }
 
@@ -343,7 +344,7 @@ namespace cmis
 else
 path = getObject()-getName( );
 
-xRow-appendString( rProp, 
rtl::OUString::createFromAscii( path.c_str() ) );
+xRow-appendString( rProp, STD_TO_OUSTR( path ) );
 }
 else
 xRow-appendVoid( rProp );
@@ -557,7 +558,7 @@ namespace cmis
 try
 {
 object = m_pSession-getObjectByPath( newPath );
-sNewPath = rtl::OUString::createFromAscii( newPath.c_str( 
) );
+sNewPath = STD_TO_OUSTR( newPath );
 }
 catch ( const libcmis::Exception )
 {
@@ -594,7 +595,7 @@ namespace cmis
 if ( bIsFolder )
 {
 libcmis::FolderPtr pNew = pFolder-createFolder( 
m_pObjectProps );
-sNewPath = rtl::OUString::createFromAscii( 
newPath.c_str( ) );
+sNewPath = STD_TO_OUSTR( newPath );
 }
 else
 {
@@ -602,7 +603,7 @@ namespace cmis
 uno::Reference  io::XOutputStream  xOutput = new 
ucbhelper::StdOutputStream( pOut );
 copyData( xInputStream, xOutput );
 libcmis::DocumentPtr pNew = pFolder-createDocument( 
m_pObjectProps, pOut, string() );
-sNewPath = rtl::OUString::createFromAscii( 
newPath.c_str( ) );
+sNewPath = STD_TO_OUSTR( newPath );
 }
 }
 
@@ -899,7 +900,7 @@ namespace cmis
 if ( !parentPath.empty() )
 {
 URL aUrl( m_sURL );
-aUrl.setObjectPath( rtl::OUString::createFromAscii( 
parentPath.c_str( ) ) );
+aUrl.setObjectPath( STD_TO_OUSTR( parentPath ) );
 sRet = aUrl.asString( );
 }
 
diff --git a/ucb/source/ucp/cmis/cmis_datasupplier.cxx 
b/ucb/source/ucp/cmis/cmis_datasupplier.cxx
index 59ffd73..edddc9e 100644
--- a/ucb/source/ucp/cmis/cmis_datasupplier.cxx
+++ b/ucb/source/ucp/cmis/cmis_datasupplier.cxx
@@ -18,6 +18,8 @@
 #include cmis_content.hxx
 #include cmis_provider.hxx
 
+#define STD_TO_OUSTR( str ) rtl::OUString( str.c_str(), str.length( ), 
RTL_TEXTENCODING_UTF8 )
+
 using namespace com::sun::star;
 using namespace std;
 
@@ -98,7 

Re: Filter Selection Dialog

2012-06-28 Thread Michael Stahl
On 28/06/12 11:43, Michael Meeks wrote:
 
 On Thu, 2012-06-28 at 10:05 +0100, Michael Meeks wrote:
  Drat - well, LibreOffice can kill hardware I'm afraid
 
   A quick clarification - -building- LibreOffice tends to discover poor
 thermal management in systems better than anything else I've seen ;-)
 Wise OEM's would run a LibreOffice compile as a soak-test before
 shipping IMHO.

+1 on that one, definitely, this kind of test clearly separates the good
laptops from the ones that rhyme with hell quite well  :)

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: 5 commits - desktop/source sc/source sysui/desktop

2012-06-28 Thread David Tardon
 desktop/source/splash/splash.cxx  |2 --
 sc/source/ui/drawfunc/graphsh.cxx |3 +--
 sysui/desktop/menus/draw.desktop  |2 +-
 sysui/desktop/menus/math.desktop  |2 +-
 4 files changed, 3 insertions(+), 6 deletions(-)

New commits:
commit 666af96fcbd96c7635c2c0d8690bd0cd29f2b2b2
Author: David Tardon dtar...@redhat.com
Date:   Thu Jun 28 12:08:52 2012 +0200

remove debug statement

Change-Id: I888939bffe0eb4f1e19aae24bd62cd9313337065

diff --git a/sc/source/ui/drawfunc/graphsh.cxx 
b/sc/source/ui/drawfunc/graphsh.cxx
index 4361df6..655df34 100644
--- a/sc/source/ui/drawfunc/graphsh.cxx
+++ b/sc/source/ui/drawfunc/graphsh.cxx
@@ -190,7 +190,6 @@ void ScGraphicShell::ExecuteExternalEdit( SfxRequest )
 {
 ScDrawView* pView = GetViewData()-GetScDrawView();
 const SdrMarkList rMarkList = pView-GetMarkedObjectList();
-printf(YO!\n);
 
 if( rMarkList.GetMarkCount() == 1 )
 {
commit ec8f3fcc5dde0ec77b1293b4f0d20637023e732f
Author: David Tardon dtar...@redhat.com
Date:   Thu Jun 28 12:08:42 2012 +0200

WaE: unused parameter

Change-Id: Idd69ec052b037e31c3d116aab055b5f94a90a4a5

diff --git a/sc/source/ui/drawfunc/graphsh.cxx 
b/sc/source/ui/drawfunc/graphsh.cxx
index ff4d43d..4361df6 100644
--- a/sc/source/ui/drawfunc/graphsh.cxx
+++ b/sc/source/ui/drawfunc/graphsh.cxx
@@ -186,7 +186,7 @@ void ScGraphicShell::GetExternalEditState( SfxItemSet rSet 
)
 rSet.DisableItem( SID_EXTERNAL_EDIT );
 }
 
-void ScGraphicShell::ExecuteExternalEdit( SfxRequest rReq )
+void ScGraphicShell::ExecuteExternalEdit( SfxRequest )
 {
 ScDrawView* pView = GetViewData()-GetScDrawView();
 const SdrMarkList rMarkList = pView-GetMarkedObjectList();
commit 71b9eb272d3b0050dede554b2282b478f979ff7c
Author: David Tardon dtar...@redhat.com
Date:   Thu Jun 28 09:29:12 2012 +0200

drop unused includes

Change-Id: Ic6ead729034a2a02d08f9e8edda0af1d0ff3f459

diff --git a/desktop/source/splash/splash.cxx b/desktop/source/splash/splash.cxx
index 0ef211a..38de2eb 100644
--- a/desktop/source/splash/splash.cxx
+++ b/desktop/source/splash/splash.cxx
@@ -44,10 +44,8 @@
 #include rtl/locale.hxx
 #include rtl/strbuf.hxx
 #include rtl/math.hxx
-#include vcl/graph.hxx
 #include vcl/introwin.hxx
 #include vcl/virdev.hxx
-#include svtools/filter.hxx
 
 #define NOT_LOADED  ((long)-1)
 
commit 238f3e58763fe1ffc04eb3b09d2919bc6865e1ce
Author: David Tardon dtar...@redhat.com
Date:   Tue Jun 26 06:21:50 2012 +0200

add more categories

this fixes desktop-file-validate warning

Change-Id: Ic9d7acee0871896d7b4a9012e7d9158289932ac8

diff --git a/sysui/desktop/menus/math.desktop b/sysui/desktop/menus/math.desktop
index 122e01f..867711d 100755
--- a/sysui/desktop/menus/math.desktop
+++ b/sysui/desktop/menus/math.desktop
@@ -4,7 +4,7 @@ Terminal=false
 NoDisplay=true
 Icon=math
 Type=Application
-Categories=Office;Math;X-Red-Hat-Base;X-MandrivaLinux-Office-Other;
+Categories=Office;Education;Science;Math;X-Red-Hat-Base;X-MandrivaLinux-Office-Other;
 Exec=${UNIXBASISROOTNAME} --math %U
 
MimeType=application/vnd.oasis.opendocument.formula;application/vnd.sun.xml.math;application/vnd.oasis.opendocument.formula-template;text/mathml;
 Name=%PRODUCTNAME Math
commit b47d78362c8e3c324513d3bd7a222c5d9bcaa999
Author: David Tardon dtar...@redhat.com
Date:   Tue Jun 26 06:20:32 2012 +0200

add more categories

this fixes desktop-file-validate warning

Change-Id: Ic8d833b552de318f4e7e221c8c67c20e42298dd8

diff --git a/sysui/desktop/menus/draw.desktop b/sysui/desktop/menus/draw.desktop
index 5c741a9..9511fd5 100755
--- a/sysui/desktop/menus/draw.desktop
+++ b/sysui/desktop/menus/draw.desktop
@@ -3,7 +3,7 @@ Version=1.0
 Terminal=false
 Icon=draw
 Type=Application
-Categories=Office;FlowChart;VectorGraphics;X-Red-Hat-Base;X-MandrivaLinux-Office-Drawing;
+Categories=Office;FlowChart;Graphics;2DGraphics;VectorGraphics;X-Red-Hat-Base;X-MandrivaLinux-Office-Drawing;
 Exec=${UNIXBASISROOTNAME} --draw %U
 
MimeType=application/vnd.oasis.opendocument.graphics;application/vnd.oasis.opendocument.graphics-template;application/vnd.sun.xml.draw;application/vnd.sun.xml.draw.template;application/vnd.visio;application/x-wpg;
 Name=%PRODUCTNAME Draw
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'libreoffice-3-6' - 2 commits - sysui/desktop

2012-06-28 Thread David Tardon
 sysui/desktop/menus/draw.desktop |2 +-
 sysui/desktop/menus/math.desktop |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 4afe38c435cf1a2a1248977003aba0e9a7912bbd
Author: David Tardon dtar...@redhat.com
Date:   Tue Jun 26 06:21:50 2012 +0200

add more categories

this fixes desktop-file-validate warning

Change-Id: Ic9d7acee0871896d7b4a9012e7d9158289932ac8

diff --git a/sysui/desktop/menus/math.desktop b/sysui/desktop/menus/math.desktop
index 122e01f..867711d 100755
--- a/sysui/desktop/menus/math.desktop
+++ b/sysui/desktop/menus/math.desktop
@@ -4,7 +4,7 @@ Terminal=false
 NoDisplay=true
 Icon=math
 Type=Application
-Categories=Office;Math;X-Red-Hat-Base;X-MandrivaLinux-Office-Other;
+Categories=Office;Education;Science;Math;X-Red-Hat-Base;X-MandrivaLinux-Office-Other;
 Exec=${UNIXBASISROOTNAME} --math %U
 
MimeType=application/vnd.oasis.opendocument.formula;application/vnd.sun.xml.math;application/vnd.oasis.opendocument.formula-template;text/mathml;
 Name=%PRODUCTNAME Math
commit 93796bfb3874d799f639cd5a9b6caf67da63f052
Author: David Tardon dtar...@redhat.com
Date:   Tue Jun 26 06:20:32 2012 +0200

add more categories

this fixes desktop-file-validate warning

Change-Id: Ic8d833b552de318f4e7e221c8c67c20e42298dd8

diff --git a/sysui/desktop/menus/draw.desktop b/sysui/desktop/menus/draw.desktop
index 5c741a9..9511fd5 100755
--- a/sysui/desktop/menus/draw.desktop
+++ b/sysui/desktop/menus/draw.desktop
@@ -3,7 +3,7 @@ Version=1.0
 Terminal=false
 Icon=draw
 Type=Application
-Categories=Office;FlowChart;VectorGraphics;X-Red-Hat-Base;X-MandrivaLinux-Office-Drawing;
+Categories=Office;FlowChart;Graphics;2DGraphics;VectorGraphics;X-Red-Hat-Base;X-MandrivaLinux-Office-Drawing;
 Exec=${UNIXBASISROOTNAME} --draw %U
 
MimeType=application/vnd.oasis.opendocument.graphics;application/vnd.oasis.opendocument.graphics-template;application/vnd.sun.xml.draw;application/vnd.sun.xml.draw.template;application/vnd.visio;application/x-wpg;
 Name=%PRODUCTNAME Draw
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 8 commits - filter/source slideshow/source

2012-06-28 Thread Marco Cecchetti
 filter/source/svg/presentation_engine.js |  400 ---
 slideshow/source/engine/activities/activitiesfactory.cxx |   75 +-
 slideshow/source/engine/animationnodes/animationbasenode.cxx |4 
 slideshow/source/engine/animationnodes/basecontainernode.cxx |   40 +
 slideshow/source/engine/animationnodes/basecontainernode.hxx |4 
 slideshow/source/engine/color.cxx|   25 
 slideshow/source/inc/hslcolor.hxx|2 
 slideshow/source/inc/rgbcolor.hxx|2 
 8 files changed, 452 insertions(+), 100 deletions(-)

New commits:
commit ed92cdd7f131bc37957d91d9ff171a2c5c2716c7
Author: Marco Cecchetti mrcek...@gmail.com
Date:   Tue Jun 26 22:08:02 2012 +0200

Bug fix: now skip effect work correctly with repeated animations

diff --git a/slideshow/source/engine/animationnodes/basecontainernode.cxx 
b/slideshow/source/engine/animationnodes/basecontainernode.cxx
index 6dab08e..e2a3a66 100644
--- a/slideshow/source/engine/animationnodes/basecontainernode.cxx
+++ b/slideshow/source/engine/animationnodes/basecontainernode.cxx
@@ -85,6 +85,7 @@ bool BaseContainerNode::init_children()
 
 void BaseContainerNode::deactivate_st( NodeState eDestState )
 {
+mnLeftIterations = 0; // in order to make skip effect work correctly
 if (eDestState == FROZEN) {
 // deactivate all children that are not FROZEN or ENDED:
 forEachChildNode( boost::mem_fn(AnimationNode::deactivate),
@@ -178,7 +179,7 @@ bool BaseContainerNode::notifyDeactivatedChild(
 
 bool BaseContainerNode::repeat()
 {
-deactivate_st( ENDED );
+forEachChildNode( boost::mem_fn(AnimationNode::end), ~ENDED );
 sal_Bool bState = init_children();
 if( bState )
 activate_st();
commit 5525b212faadc83df458b0911d416a734357ea30
Author: Marco Cecchetti mrcek...@gmail.com
Date:   Sat Jun 23 21:12:58 2012 +0200

Modified the JavaScript implementation for repeated animations.

That has been needed because of Firefox that does not compute the bounding 
box of a
shape with zero width and height properly.

diff --git a/filter/source/svg/presentation_engine.js 
b/filter/source/svg/presentation_engine.js
index 4dba32e..5161780 100644
--- a/filter/source/svg/presentation_engine.js
+++ b/filter/source/svg/presentation_engine.js
@@ -1433,13 +1433,13 @@ var NAVDBG = new DebugPrinter();
 NAVDBG.off();
 
 var ANIMDBG = new DebugPrinter();
-ANIMDBG.on();
+ANIMDBG.off();
 
 var aRegisterEventDebugPrinter = new DebugPrinter();
 aRegisterEventDebugPrinter.off();
 
 var aTimerEventQueueDebugPrinter = new DebugPrinter();
-aTimerEventQueueDebugPrinter.on();
+aTimerEventQueueDebugPrinter.off();
 
 var aEventMultiplexerDebugPrinter = new DebugPrinter();
 aEventMultiplexerDebugPrinter.off();
@@ -4585,49 +4585,6 @@ function createStateTransitionTable()
 var aStateTransitionTable = createStateTransitionTable();
 
 
-
-
-
-// 
--
 //
-// Transition tables
-
-// transition table for restart=NEVER, fill=FREEZE
-var aStateTransitionTable_Never_Freeze =
-[
-INVALID_NODE,
-RESOLVED_NODE | ENDED_NODE, // active successors for UNRESOLVED
-ACTIVE_NODE | ENDED_NODE,   // active successors for RESOLVED
-INVALID_NODE,
-FROZEN_NODE | ENDED_NODE,   // active successors for ACTIVE: 
freeze object
-INVALID_NODE,
-INVALID_NODE,
-INVALID_NODE,
-ENDED_NODE, // active successors for FROZEN: end
-INVALID_NODE,
-INVALID_NODE,
-INVALID_NODE,
-INVALID_NODE,
-INVALID_NODE,
-INVALID_NODE,
-INVALID_NODE,
-ENDED_NODE  // active successors for ENDED:
-// this state is a sink here (cannot restart)
-];
-
-
-// Table guide
-var aTableGuide =
-[
- null,
- null,
- null,
- aStateTransitionTable_Never_Freeze,
- null,
- null
-];
-
-
-
 // 
--
 //
 function getTransitionTable( eRestartMode, eFillMode )
 {
@@ -5352,9 +5309,6 @@ BaseNode.prototype.resolve = function()
 
 BaseNode.prototype.activate = function()
 {
-log( 'restart mode: ' + aRestartModeOutMap[ this.getRestartMode() ] );
-log( 'fill mode: ' + aFillModeOutMap[ this.getFillMode() ] );
-
 if( ! this.checkValidNode() )
 return false;
 
@@ -8373,7 +8327,7 @@ function AnimatedElement( aElement )
 this.aClipPathContent = null;
 
 this.aPreviousElement = null;
-this.aElementArray = new Array();
+this.aStateArray = new Array();
 this.nCurrentState = -1;
 this.eAdditiveMode = ADDITIVE_MODE_REPLACE;
 this.bIsUpdated = true;
@@ -8486,7 +8440,8 @@ AnimatedElement.prototype.setToElement = function( 
aElement )
 
 AnimatedElement.prototype.notifySlideStart = function()
 {
-this.setToFirst();
+this.nCurrentState = -1;
+

[Libreoffice-commits] .: Branch 'feature/svg-export' - 0 commits -

2012-06-28 Thread Marco Cecchetti
Rebased ref, commits from common ancestor:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: writerfilter/source

2012-06-28 Thread Miklos Vajna
 writerfilter/source/dmapper/PropertyMap.cxx |   19 ++-
 1 file changed, 6 insertions(+), 13 deletions(-)

New commits:
commit 45e60ae3120b81e2987151a8485766c2fa946d48
Author: Miklos Vajna vmik...@suse.cz
Date:   Thu Jun 28 13:06:52 2012 +0200

dmapper: better fix for import of titlepg top/bottom margin

This commit reverts the fix for fdo#44176, and implements a better fix,
which keeps the original testcase passing, but also fixes the layout of
a simple document, having different first, odd and even headers within
the same section.

Change-Id: I96893ce3e886e479f1d7640b126ad7a1dd828bdb

diff --git a/writerfilter/source/dmapper/PropertyMap.cxx 
b/writerfilter/source/dmapper/PropertyMap.cxx
index 2d3d4cb..8542d7e 100644
--- a/writerfilter/source/dmapper/PropertyMap.cxx
+++ b/writerfilter/source/dmapper/PropertyMap.cxx
@@ -782,19 +782,12 @@ void SectionPropertyMap::PrepareHeaderFooterProperties( 
bool bFirstPage )
 operator[]( PropertyDefinition( PROP_FOOTER_BODY_DISTANCE, false )) = 
uno::makeAny( m_nHeaderBottom );
 }
 
-//now set the top/bottom margin
-sal_Int32 nHeaderHeight = 0, nFooterHeight = 0;
-if (bFirstPage)
-{
-PropertyNameSupplier rPropNameSupplier = 
PropertyNameSupplier::GetPropertyNameSupplier();
-// make sure the height of the header/footer is added to the 
top/bottom margin if necessary
-if (m_aFollowPageStyle.is()  !HasHeader(true)  HasHeader(false))
-
m_aFollowPageStyle-getPropertyValue(rPropNameSupplier.GetName(PROP_HEADER_HEIGHT))
 = nHeaderHeight;
-if (m_aFollowPageStyle.is()  !HasFooter(true)  HasFooter(false))
-
m_aFollowPageStyle-getPropertyValue(rPropNameSupplier.GetName(PROP_FOOTER_HEIGHT))
 = nFooterHeight;
-}
-operator[]( PropertyDefinition( PROP_TOP_MARGIN, false )) = uno::makeAny( 
m_nTopMargin + nHeaderHeight );
-operator[]( PropertyDefinition( PROP_BOTTOM_MARGIN, false )) = 
uno::makeAny( m_nBottomMargin + nFooterHeight );
+//now set the top/bottom margin for the follow page style
+operator[]( PropertyDefinition( PROP_TOP_MARGIN, false )) = uno::makeAny( 
m_nTopMargin );
+operator[]( PropertyDefinition( PROP_BOTTOM_MARGIN, false )) = 
uno::makeAny( m_nBottomMargin );
+
+// Restore original top margin, so we don't end up with a smaller margin 
in case we have to produce two page styles from one Word section.
+m_nTopMargin = nTopMargin;
 }
 
 uno::Referencebeans::XPropertySet lcl_GetRangeProperties(bool 
bIsFirstSection, DomainMapper_Impl rDM_Impl, uno::Referencetext::XTextRange 
xStartingRange)
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Calc-Edit Picture with External Tool

2012-06-28 Thread Tomaž Vajngerl
Hi,

I have added Edit With External Tool menu option also for Calc and
in the future I will add it for Draw and Impress too. To do this I
moved the common parts (class responsible for invoking of external
tool and watching of files in temp directory) from sw to svx. Updating
of graphics is quite different between Writer and Calc - I implemented
specific subclasses for each but I don't like this solution.

There is currently no cleanup of temporary files after work in
external editor is finished and I think monitoring for changes to
temporary files is never interrupted. Unless someone has a better
solution I will add a message box when external editor is invoked.
When the user finishes working in the external editor, he must click
OK in the message box to be able to continue working in Libreoffice.
With this it is clear when working in an external editor has finished
and the temporary files can be removed and file monitoring can stop.

Regards, Tomaž


On Mon, Jun 25, 2012 at 10:38 AM, Michael Meeks michael.me...@suse.com wrote:
 Hi there,

 On Sun, 2012-06-24 at 18:32 -0700, jkedar wrote:
 Is there a way to set up Right Click -Edit Picture With External Tool in
 Calc the same way as in Writer ?

        If you want to hack on this it shouldn't be a huge problem to come up
 with something:

        git grep FN_EXTERNAL_EDIT

        will show you how it works for writer.

  This is useful for correcting OCR outputs of external programs.

        This is a developer's list, which is not a good place for requesting
 features unless you're going to hack on them yourself :-)

        All the best,

                Michael.

 --
 michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

 ___
 LibreOffice mailing list
 LibreOffice@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/libreoffice
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: vcl checkbox behaviour

2012-06-28 Thread Jan Holesovsky
Hi Noel,

Noel Power píše v Po 25. 06. 2012 v 11:46 +0100:

 I am somewhat stumbling over what would be best to do, change the 
 underlying vcl class unconditionally ? ( that would imply the uno 
 controls behaviour also changes unconditionally ) or ... if we change 
 the underlying vcl class conditionally what about the uno controls?, 
 should we change them also conditionally? or unconditionally? It would 
 seem to me if there is some consensus that the 'normal' vcl behaviour is 
 not that normal but is 'abnormal' then I would be inclined to change the 
 vcl class unconditionally ( and similarly the behaviour of the dependant 
 uno controls ) Any thoughts ?

So the behavior sound curious to me; but OTOH nearly sounds as if
somebody did that deliberately.  Do you have pointers to the code where
does the apply the Align property on the control itself live?  Any
history that would be of some worth around there?

Regards,
Kendy

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: 5 commits - svx/source sw/source

2012-06-28 Thread Michael Stahl
 svx/source/dialog/framelink.cxx|   18 
 sw/source/core/layout/paintfrm.cxx |   76 -
 2 files changed, 43 insertions(+), 51 deletions(-)

New commits:
commit d0bbbfdef6b31650a351883de09b5338562048a2
Author: Michael Stahl mst...@redhat.com
Date:   Wed Jun 27 23:10:00 2012 +0200

fdo#39415: sw: fix vertical collapsing border painting:

For borders in vertically oriented text it's necessary to correct
positions at different sides, i.e., right and left instead of
top and bottom; refactor SwTabFrmPainter::Insert some more
to handle this properly.

Change-Id: If20b9477415e9bd12e63aab4eed2f070065eb473

diff --git a/sw/source/core/layout/paintfrm.cxx 
b/sw/source/core/layout/paintfrm.cxx
index 133a6c2..d880a62 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -2710,42 +2710,44 @@ void SwTabFrmPainter::Insert( const SwFrm rFrm, const 
SvxBoxItem rBoxItem )
 
 bool const 
bBottomAsTop(lcl_IsFirstRowInFollowTableWithoutRepeatedHeadlines(
 mrTabFrm, rFrm, rBoxItem));
-
-// these are positions of the lines
-const SwTwips nLeft   = aBorderRect._Left();
-const SwTwips nRight  = aBorderRect._Right();
-const SwTwips nTop= aBorderRect._Top();
-const SwTwips nBottom = aBorderRect._Bottom();
+bool const bVert = mrTabFrm.IsVertical();
+bool const bR2L  = mrTabFrm.IsRightToLeft();
 
 svx::frame::Style aL( rBoxItem.GetLeft() );
 svx::frame::Style aR( rBoxItem.GetRight() );
 svx::frame::Style aT( rBoxItem.GetTop() );
 svx::frame::Style aB( rBoxItem.GetBottom() );
 
+aR.MirrorSelf();
+aB.MirrorSelf();
+
 const SwTwips nHalfBottomWidth = aB.GetWidth() / 2;
 const SwTwips nHalfTopWidth = (bBottomAsTop)
 ? nHalfBottomWidth : aT.GetWidth() / 2;
 
-aR.MirrorSelf();
-aB.MirrorSelf();
-
-bool bVert = mrTabFrm.IsVertical();
-bool bR2L  = mrTabFrm.IsRightToLeft();
+// these are positions of the lines
+const SwTwips nLeft   =
+aBorderRect._Left()  - ((bVert) ? nHalfBottomWidth : 0);
+const SwTwips nRight  =
+aBorderRect._Right() - ((bVert) ? nHalfTopWidth : 0);
+const SwTwips nTop=
+aBorderRect._Top()   + ((bVert) ? 0 : nHalfTopWidth);
+const SwTwips nBottom =
+aBorderRect._Bottom()+ ((bVert) ? 0 : nHalfBottomWidth);
 
 aL.SetRefMode( svx::frame::REFMODE_CENTERED );
 aR.SetRefMode( svx::frame::REFMODE_CENTERED );
 aT.SetRefMode( !bVert ? svx::frame::REFMODE_BEGIN : 
svx::frame::REFMODE_END );
 aB.SetRefMode( !bVert ? svx::frame::REFMODE_BEGIN : 
svx::frame::REFMODE_END );
 
-SwLineEntry aLeft  ( nLeft,   nTop + nHalfTopWidth,
-nBottom + nHalfBottomWidth, bVert ? aB : ( bR2L ? aR : aL ) );
-SwLineEntry aRight ( nRight,  nTop + nHalfTopWidth,
-nBottom + nHalfBottomWidth,
-bVert ? ((bBottomAsTop) ? aB : aT) : ( bR2L ? aL : aR ) );
-SwLineEntry aTop   ( nTop + nHalfTopWidth,
-nLeft, nRight,  bVert ? aL : ((bBottomAsTop) ? aB : aT) );
-SwLineEntry aBottom( nBottom + nHalfBottomWidth,
-nLeft, nRight,  bVert ? aR : aB );
+SwLineEntry aLeft  (nLeft,   nTop,  nBottom,
+(bVert) ? aB : ((bR2L) ? aR : aL));
+SwLineEntry aRight (nRight,  nTop,  nBottom,
+(bVert) ? ((bBottomAsTop) ? aB : aT) : ((bR2L) ? aL : aR));
+SwLineEntry aTop   (nTop,nLeft, nRight,
+(bVert) ? aL : ((bBottomAsTop) ? aB : aT));
+SwLineEntry aBottom(nBottom, nLeft, nRight,
+(bVert) ? aR : aB);
 
 Insert( aLeft, false );
 Insert( aRight, false );
commit 3a4b7c3555f2ffb4e89502bb04ff063d8c08f628
Author: Michael Stahl mst...@redhat.com
Date:   Wed Jun 27 20:51:24 2012 +0200

fdo#39415: sw: fix collapsing border painting more:

There is a special case for i#9860, which is for first line in follow
table (i.e. continued on new page) without repeated headlines:
Here the bottom border of the cell is used as the top border in case
the cell does not have a top border; this is fixed now with a bit of
refactoring, so the correct half width adjustment can be made.

Change-Id: I58ef81b7e13544014ef75973ea793f673a242488

diff --git a/sw/source/core/layout/paintfrm.cxx 
b/sw/source/core/layout/paintfrm.cxx
index ca3d761..133a6c2 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -2680,6 +2680,24 @@ void SwTabFrmPainter::FindStylesForLine( const Point 
rStartPoint,
 }
 }
 
+// special case: #i9860#
+// first line in follow table without repeated headlines
+static bool lcl_IsFirstRowInFollowTableWithoutRepeatedHeadlines(
+SwTabFrm const rTabFrm, SwFrm const rFrm, SvxBoxItem const rBoxItem)
+{
+SwRowFrm const*const pThisRowFrm =
+dynamic_castconst SwRowFrm*(rFrm.GetUpper());
+

[Libreoffice-commits] .: desktop/win32

2012-06-28 Thread Andras Timar
 desktop/win32/source/QuickStart/QuickStart.cxx |   11 ---
 1 file changed, 4 insertions(+), 7 deletions(-)

New commits:
commit 238108c5429722abe39262df4709ed0d31917790
Author: Andras Timar ati...@suse.com
Date:   Thu Jun 28 14:21:27 2012 +0200

use defines from systools/win32/qswin32.h instead of duplication

Change-Id: I3d52308087412d1250b8ad64ffc308ca7cc414fd

diff --git a/desktop/win32/source/QuickStart/QuickStart.cxx 
b/desktop/win32/source/QuickStart/QuickStart.cxx
index b3e19a5..77583c4 100644
--- a/desktop/win32/source/QuickStart/QuickStart.cxx
+++ b/desktop/win32/source/QuickStart/QuickStart.cxx
@@ -5,16 +5,13 @@
 #include StdAfx.h
 #include resource.h
 #include systools/win32/uwinapi.h
+#include systools/win32/qswin32.h
 #include stdio.h
 
-// message used to communicate with soffice
-#define LISTENER_WINDOWCLASSSO Listener Class
-#define KILLTRAY_MESSAGESO KillTray
-
 bool SofficeRuns()
 {
 // check for soffice by searching the communication window
-return ( FindWindowEx( NULL, NULL, LISTENER_WINDOWCLASS, NULL ) == NULL ) 
? false : true;
+return ( FindWindowEx( NULL, NULL, QUICKSTART_CLASSNAME, NULL ) == NULL ) 
? false : true;
 }
 
 bool launchSoffice( )
@@ -57,11 +54,11 @@ int APIENTRY WinMain(HINSTANCE /*hInstance*/,
 {
 if ( 0 == strcmp( __argv[i], --killtray ) )
 {
-HWNDhwndTray = FindWindow( LISTENER_WINDOWCLASS, NULL );
+HWNDhwndTray = FindWindow( QUICKSTART_CLASSNAME, NULL );
 
 if ( hwndTray )
 {
-UINTuMsgKillTray = RegisterWindowMessage( KILLTRAY_MESSAGE 
);
+UINTuMsgKillTray = RegisterWindowMessage( 
SHUTDOWN_QUICKSTART_MESSAGE );
 SendMessage( hwndTray, uMsgKillTray, 0, 0 );
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'libreoffice-3-6' - 3 commits - sw/source

2012-06-28 Thread Michael Stahl
 sw/source/core/layout/paintfrm.cxx |   71 ++---
 1 file changed, 43 insertions(+), 28 deletions(-)

New commits:
commit 91b6ab615b4f72832412b4f4a8c633f93952a17f
Author: Michael Stahl mst...@redhat.com
Date:   Wed Jun 27 23:10:00 2012 +0200

fdo#39415: sw: fix vertical collapsing border painting:

For borders in vertically oriented text it's necessary to correct
positions at different sides, i.e., right and left instead of
top and bottom; refactor SwTabFrmPainter::Insert some more
to handle this properly.

Change-Id: If20b9477415e9bd12e63aab4eed2f070065eb473
(cherry picked from commit d0bbbfdef6b31650a351883de09b5338562048a2)

Signed-off-by: Michael Stahl mst...@redhat.com

diff --git a/sw/source/core/layout/paintfrm.cxx 
b/sw/source/core/layout/paintfrm.cxx
index 9ecd59a..15b6bf1 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -2716,42 +2716,44 @@ void SwTabFrmPainter::Insert( const SwFrm rFrm, const 
SvxBoxItem rBoxItem )
 
 bool const 
bBottomAsTop(lcl_IsFirstRowInFollowTableWithoutRepeatedHeadlines(
 mrTabFrm, rFrm, rBoxItem));
-
-// these are positions of the lines
-const SwTwips nLeft   = aBorderRect._Left();
-const SwTwips nRight  = aBorderRect._Right();
-const SwTwips nTop= aBorderRect._Top();
-const SwTwips nBottom = aBorderRect._Bottom();
+bool const bVert = mrTabFrm.IsVertical();
+bool const bR2L  = mrTabFrm.IsRightToLeft();
 
 svx::frame::Style aL( rBoxItem.GetLeft() );
 svx::frame::Style aR( rBoxItem.GetRight() );
 svx::frame::Style aT( rBoxItem.GetTop() );
 svx::frame::Style aB( rBoxItem.GetBottom() );
 
+aR.MirrorSelf();
+aB.MirrorSelf();
+
 const SwTwips nHalfBottomWidth = aB.GetWidth() / 2;
 const SwTwips nHalfTopWidth = (bBottomAsTop)
 ? nHalfBottomWidth : aT.GetWidth() / 2;
 
-aR.MirrorSelf();
-aB.MirrorSelf();
-
-bool bVert = mrTabFrm.IsVertical();
-bool bR2L  = mrTabFrm.IsRightToLeft();
+// these are positions of the lines
+const SwTwips nLeft   =
+aBorderRect._Left()  - ((bVert) ? nHalfBottomWidth : 0);
+const SwTwips nRight  =
+aBorderRect._Right() - ((bVert) ? nHalfTopWidth : 0);
+const SwTwips nTop=
+aBorderRect._Top()   + ((bVert) ? 0 : nHalfTopWidth);
+const SwTwips nBottom =
+aBorderRect._Bottom()+ ((bVert) ? 0 : nHalfBottomWidth);
 
 aL.SetRefMode( svx::frame::REFMODE_CENTERED );
 aR.SetRefMode( svx::frame::REFMODE_CENTERED );
 aT.SetRefMode( !bVert ? svx::frame::REFMODE_BEGIN : 
svx::frame::REFMODE_END );
 aB.SetRefMode( !bVert ? svx::frame::REFMODE_BEGIN : 
svx::frame::REFMODE_END );
 
-SwLineEntry aLeft  ( nLeft,   nTop + nHalfTopWidth,
-nBottom + nHalfBottomWidth, bVert ? aB : ( bR2L ? aR : aL ) );
-SwLineEntry aRight ( nRight,  nTop + nHalfTopWidth,
-nBottom + nHalfBottomWidth,
-bVert ? ((bBottomAsTop) ? aB : aT) : ( bR2L ? aL : aR ) );
-SwLineEntry aTop   ( nTop + nHalfTopWidth,
-nLeft, nRight,  bVert ? aL : ((bBottomAsTop) ? aB : aT) );
-SwLineEntry aBottom( nBottom + nHalfBottomWidth,
-nLeft, nRight,  bVert ? aR : aB );
+SwLineEntry aLeft  (nLeft,   nTop,  nBottom,
+(bVert) ? aB : ((bR2L) ? aR : aL));
+SwLineEntry aRight (nRight,  nTop,  nBottom,
+(bVert) ? ((bBottomAsTop) ? aB : aT) : ((bR2L) ? aL : aR));
+SwLineEntry aTop   (nTop,nLeft, nRight,
+(bVert) ? aL : ((bBottomAsTop) ? aB : aT));
+SwLineEntry aBottom(nBottom, nLeft, nRight,
+(bVert) ? aR : aB);
 
 Insert( aLeft, false );
 Insert( aRight, false );
commit aee5c2ec17ffdfacc9190f6467d7ecc291ac8e3d
Author: Michael Stahl mst...@redhat.com
Date:   Wed Jun 27 20:51:24 2012 +0200

fdo#39415: sw: fix collapsing border painting more:

There is a special case for i#9860, which is for first line in follow
table (i.e. continued on new page) without repeated headlines:
Here the bottom border of the cell is used as the top border in case
the cell does not have a top border; this is fixed now with a bit of
refactoring, so the correct half width adjustment can be made.

Change-Id: I58ef81b7e13544014ef75973ea793f673a242488
(cherry picked from commit 3a4b7c3555f2ffb4e89502bb04ff063d8c08f628)

Signed-off-by: Michael Stahl mst...@redhat.com

diff --git a/sw/source/core/layout/paintfrm.cxx 
b/sw/source/core/layout/paintfrm.cxx
index 36e4d8b..9ecd59a 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -2681,6 +2681,24 @@ void SwTabFrmPainter::FindStylesForLine( const Point 
rStartPoint,
 }
 }
 
+// special case: #i9860#
+// first line in follow table without repeated headlines
+static bool 

Re: shrinking templates / bloat ...

2012-06-28 Thread Jesso Murugan
Hi Michael,

I am sorry I didn't cc libreoffice list in the previous email. I think
having this on the public list might be of use to other new people similar
to
me. (I have no issues discussing this privately, I'm afraid I am not yet
sure of the culture here.)

On Tue, Jun 26, 2012 at 1:48 PM, Michael Meeks michael.me...@suse.com
wrote:
   I guess for de-bloating; we want to first poke at the 'ott' files in
 extras/:

   du -m | sort

   in there shows:

 41  ./source/templates/wizard
 53  ./source/templates

   Which I guess shows a good place to start: the wizards are big
bloated
users of templates. The wizards/ code is in wizards/ :-)

Yes I checked, a lot of savings can be made here.

   It would be great to see if we can adapt that to use a flat ODF file
 instead - try saving the template as a .fott (if that works, or .fodt if
 not), and add some goodness to to the flat ODF filter ( initially to
 prototype it, just hack some translation support directly into the code
 I suggest in filter/source/odfflatxml/ ).

I saved one template (for two different languages) as .fodt and did a diff.
As
expected only a handful were changing.

   We really want to compress all the pointless language differences in
 those templates out into just a few translated strings / attributes that
 we can annotate and replace on load.

If I understood you correctly, the plan is to use one base fodt with
placeholders
for the attributes and values which change, and then substitute the
appropriate
values when the template is loaded. So those strings alone should be hard
coded
or kept in another file.

 That will (I hope) give us more space for translations  dictionaries
 and/or a smaller download  install :-)


The .fodt file had a size around 153 kb, and the individual .ott files were
around 23 kb (for the template I chose), so 23 kb * 23 languages = 529 kb,
so we cut around 71% :-)

 Does that make sense ?

Did I understand you correctly?

I'll now see what I can do in filter/source/odfflatxml/

Thanks and regards.

- Jesso Clarence
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: vcl checkbox behaviour

2012-06-28 Thread Noel Power

On 28/06/12 12:44, Jan Holesovsky wrote:

Hi Noel,

Noel Power píše v Po 25. 06. 2012 v 11:46 +0100:


I am somewhat stumbling over what would be best to do, change the
underlying vcl class unconditionally ? ( that would imply the uno
controls behaviour also changes unconditionally ) or ... if we change
the underlying vcl class conditionally what about the uno controls?,
should we change them also conditionally? or unconditionally? It would
seem to me if there is some consensus that the 'normal' vcl behaviour is
not that normal but is 'abnormal' then I would be inclined to change the
vcl class unconditionally ( and similarly the behaviour of the dependant
uno controls ) Any thoughts ?

So the behavior sound curious to me; but OTOH nearly sounds as if
somebody did that deliberately.  Do you have pointers to the code where
does the apply the Align property on the control itself live?  Any
history that would be of some worth around there?
no like I mentioned earlier in the mail the behaviour is indeed 
intentional see 
http://opengrok.libreoffice.org/xref/core/vcl/source/control/button.cxx#3209 
However, I just don't understand why it, historically this behaviour 
seems to be there for quite a while, the last change around there was
http://cgit.freedesktop.org/libreoffice/core/commit/?id=d727e1094312e34fedc2bfdb12b43c109a954054 
which adds a new logic leg  for checkboxes with images ( which is a 
strange concept for me too :-) )

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Licence Agreement

2012-06-28 Thread Pavel Kysilka
   Hi,

All of my past  future contributions to LibreOffice may be licensed
under the MPL/LGPLv3+ dual license.

Thanks
  Pavel

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Window background (was: Re: [ANN] LibreOffice 3.6.0.0 beta2 available for testing)

2012-06-28 Thread Stefan Knorr
Hi Kendy,

 No problem there - just give me the RGB values we should use, and I'll
 put it there :-)

I experimented with it and thought 213,218,224 looked good. But no
doubt, Mirek has an opinion on that... which we probably best hear
before changing it, too.

 This might be harder - the handling of the color settings is much more
 complex than it should be, so not sure if I manage to do it in time for
 Beta3, and I am off for vacation after that; let's see.

In that case, it might be best to leave the background as is for 3.6 (I
think it's quite alright, so no real urgency to fix it and in
consequence rub the other two problems in the user's face).
Should I file bugs about the ruler bg and the Start Center bg staying
the same, then?

Anyway... I just noticed another sign of breakage that does need to be
fixed: toolbars which are undocked or docked to the side/bottom: these
still use the old-style gradient. I think it would be best to colour
them (solidly) with the colour that's at the bottom of the toolbar.
Else, the gradient from the top would repeat itself – which I don't
think would look very attractive.
(Again, I can file a bug about that.)

Thanks for your quick answer,
Astron.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: binfilter/bf_svtools

2012-06-28 Thread Caolán McNamara
 binfilter/bf_svtools/source/filter.vcl/igif/svt_gifread.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 050939cfb8c5ab5ba4cc53359c24c307a491e6f7
Author: Caolán McNamara caol...@redhat.com
Date:   Thu Jun 28 12:14:11 2012 +0100

drop a UniString

Change-Id: Ia067ecaffa81c74a6fdad4ee0ba76db8c3d867c2

diff --git a/binfilter/bf_svtools/source/filter.vcl/igif/svt_gifread.cxx 
b/binfilter/bf_svtools/source/filter.vcl/igif/svt_gifread.cxx
index 3c07512..511b1a2 100644
--- a/binfilter/bf_svtools/source/filter.vcl/igif/svt_gifread.cxx
+++ b/binfilter/bf_svtools/source/filter.vcl/igif/svt_gifread.cxx
@@ -49,7 +49,7 @@ GIFReader::GIFReader( SvStream rStm ) :
 bGCTransparent  ( FALSE ),
 bImGraphicReady ( FALSE )
 {
-maUpperName = UniString::CreateFromAscii( SVIGIF, 6 );
+maUpperName = rtl::OUString(SVIGIF);
 pSrcBuf = new BYTE[ 256 ];
 ClearImageExtensions();
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[REVIEW][3-5] fdo#39415 Writer collapsing table border painting fixes

2012-06-28 Thread Michael Stahl

hi all, to fix this LO 3.4 regression i've committed 3 patches, which
should be applied to libreoffice-3-5.

i've just pushed these to gerrit, which has strangely resulted in 3
reviews instead of the expected one, but you can look at these here:

https://gerrit.libreoffice.org/239
https://gerrit.libreoffice.org/240
https://gerrit.libreoffice.org/241

the thing i don't understand is how you would add sign-offs to these
before pushing them, but i haven't actually pushed a gerrit patch yet so
probably i don't understand it yet :)

in case gerrit doesn't work for the reviewer, the commit messages
contain the original master commit ids anyway for git-cherry-pick.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] Changes to 'feature/cmclayouttrans'

2012-06-28 Thread Caolán McNamara
New branch 'feature/cmclayouttrans' available with the following commits:
commit d4b655a8f1afe35afd1bd6df331457062b2bba12
Author: Caolán McNamara caol...@redhat.com
Date:   Wed Jun 27 23:12:48 2012 +0100

fix merge conflict

Change-Id: I48aedf99459f632e2e94db20be44b0bc5d166805

commit e2ac733058075f3a72e1885edbb3f61962dfd2fc
Author: Caolán McNamara caol...@redhat.com
Date:   Wed Jun 27 16:13:37 2012 +0100

add a plausible .ui to .sdf extraction tool

Change-Id: Icd45e901ea9dd664fcbc0db0c71f555c4cc24a34

commit 9af472658b3d5930e9596e74c96e0ff60b566ce9
Author: Caolán McNamara caol...@redhat.com
Date:   Wed Jun 27 11:04:18 2012 +0100

1-10 shouldn't be translatable

Change-Id: I92282a3fe8c773bf1e3a3bb6f80cd96475223990

commit e53ec77d1f6d6cc2d02b24887a6176db74c2db1b
Author: Caolán McNamara caol...@redhat.com
Date:   Tue Jun 26 13:51:13 2012 +0100

adapt for changes

Change-Id: If63af9edf9afea73e8b2e5f2f35024fd43a54a99

commit da5efcfe12e8b398124809bd302b76aed0abf240
Author: Caolán McNamara caol...@redhat.com
Date:   Mon Jun 18 14:38:37 2012 +0100

hook up tooltips

commit a7b013786af169dfb45408a09df4ebaa8862da7d
Author: Caolán McNamara caol...@redhat.com
Date:   Mon Jun 18 13:21:15 2012 +0100

make isLayoutEnabled stricter

dialog/tabpage must have only one child that is a container

commit 609b2a4b56c85bdea77877d4abd4a61d93ad19ad
Author: Caolán McNamara caol...@redhat.com
Date:   Mon Jun 18 13:08:59 2012 +0100

for legacy TabDialogs dialogs hack the hack to reposition the TabControl

hack to get tab dialogs that add extra widgets to a SfxTabDialog
parent to continue to work as before now that the SfxTabDialog
contains a Container rather than a raw TabControl

commit a78f5eb032386ac424a1ce6471f2049b96c5b310
Author: Caolán McNamara caol...@redhat.com
Date:   Mon Jun 18 08:10:30 2012 +0100

further improvements to tabcontrol optimal size

One calculation takes the vertical offset into account, which we want
for height. But that one calculates the label width according to the
double-decker layout for over-wide layout, which we don't want.

commit 18526bdbfc004a48730945d02816c87745ed46ba
Author: Caolán McNamara caol...@redhat.com
Date:   Sat Jun 16 23:25:37 2012 +0100

put apply button into button action area

commit 161e863ba8fafa02c270af36d0cf57169d81529f
Author: Caolán McNamara caol...@redhat.com
Date:   Sat Jun 16 20:23:31 2012 +0100

add and use a WINDOW_CONTAINER type

use it instead of dynamic_cast seeing as we already are dragging
the window type information around with us

commit 3b5f9a06bbddb646c47fa57180b9f88119b3f59d
Author: Caolán McNamara caol...@redhat.com
Date:   Sat Jun 16 16:43:25 2012 +0100

improve queue_resize

commit a52e318026c9a0ed0f5603a7995d5746c5e9a9c7
Author: Caolán McNamara caol...@redhat.com
Date:   Sat Jun 16 13:29:15 2012 +0100

avoid redraws when size/pos is unchanged

commit 9c85b4283cab32ae80c5a13673cf91059f348784
Author: Caolán McNamara caol...@redhat.com
Date:   Sat Jun 16 12:38:51 2012 +0100

skip queue_resize on irrelevant state changes

commit dbe3c8c486fc3900784ab47e3c6a114fa9c01d36
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Jun 15 13:35:15 2012 +0100

keep empty but spanned rows/cols

commit aefe9698a6982eaefdae51dbaebc15a4e0bd28a7
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Jun 15 12:33:10 2012 +0100

zero-code-change outline numbering dialog layout conversion

a conversion of the outline numbering dialog in writer
to layout enabled widgets built from a .ui file without
changing any dialog code

Actual code conversion is optimal in terms of load time,
memory usage and code size/simplicity.

commit 90cd9994cc28ed7df6f78616544b19635c3d0198
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Jun 15 12:30:19 2012 +0100

adjustment implementation

commit 0dbf6f5c3f70051c1266107bc4f80ed50c4e5410
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Jun 15 12:29:25 2012 +0100

improve TabControl::GetOptimalSize

commit 1c2f36ab1bcd234fc07882a55789dbcbc779df0f
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Jun 15 10:19:41 2012 +0100

drop empty rows/cols in VclGrid

commit 710e34770f9019099d268b27cb5595d0a9c8250a
Author: Caolán McNamara caol...@redhat.com
Date:   Thu Jun 14 21:03:05 2012 +0100

MultiListBox replace by builder as well

commit 8ed77d801e467c3b199e9bac9fbdc0a7a64fda1a
Author: Caolán McNamara caol...@redhat.com
Date:   Thu Jun 14 14:20:49 2012 +0100

implement GtkAdjustment import + apply

commit 764a66ea284914702e9def5defaa148f3d91bc18
Author: Caolán McNamara caol...@redhat.com
Date:   Thu Jun 14 11:07:59 2012 +0100

make default dropdown list length shorter

commit ff9d127c6d7617dbc20111c4fb01dfb3ea486ae6
Author: Caolán McNamara caol...@redhat.com
Date:   Thu Jun 14 11:07:22 2012 +0100

copy properties of 

[Libreoffice-commits] .: Branch 'feature/cmclayout' - 0 commits -

2012-06-28 Thread Caolán McNamara
Rebased ref, commits from common ancestor:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [GSOC] Removing avmedia dependency in drawinglayer

2012-06-28 Thread Rafael Dominguez
On Wed, Jun 27, 2012 at 5:58 AM, Thorsten Behrens 
t...@documentfoundation.org wrote:

 Rafael Dominguez wrote:
   Oops my bad, heres the patch attached
 
 Hi Rafael,

 nice improvement - two nits though:

  @@ -65,6 +67,8 @@ namespace drawinglayer
   /// discrete border (in 'pixels')
   sal_uInt32
  mnDiscreteBorder;
 
  +const Graphic   *mpSnapshot;
  +
 
 Parent classes of MediaPrimitive2D derive from boost::noncopyable -
 that means you don't have to worry about having to modify mpSnapshot,
 which in turn means it could be const Graphic instead.

 But it's even easier, since Graphic has copy-on-write behaviour -
 you can simply hold a Graphic by value in your primitive, it only
 contains a cheap ptr to an impl class, that gets, if necessary,
 copied  duplicated if you modify one of the many shared copies.

 (many bulky objects in LibO have that behaviour, including bitmaps,
 polygons, and metafiles (sorta))

 Cheers,

 -- Thorsten


Thanks for the input, i took your advice and changed it, gonna push it to
my branch then
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] Changes to 'feature/cmclayouttrans'

2012-06-28 Thread Caolán McNamara
New branch 'feature/cmclayouttrans' available with the following commits:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'feature/cmclayout' - 0 commits -

2012-06-28 Thread Caolán McNamara
Rebased ref, commits from common ancestor:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: ucb/source

2012-06-28 Thread Cédric Bosdonnat
 ucb/source/ucp/cmis/cmis_content.cxx |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit d710723a52929a708ca0195da833ccda6a489082
Author: Cédric Bosdonnat cedric.bosdon...@free.fr
Date:   Thu Jun 28 15:22:29 2012 +0200

CMIS UCP: cached session id change was not impacted on all constructors

Change-Id: I42cc76c08ce1a5e0942125d59bddf600c7ff9ee2

diff --git a/ucb/source/ucp/cmis/cmis_content.cxx 
b/ucb/source/ucp/cmis/cmis_content.cxx
index 977e2a3..f4f73e5 100644
--- a/ucb/source/ucp/cmis/cmis_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_content.cxx
@@ -190,13 +190,14 @@ namespace cmis
 m_sURL = m_xIdentifier-getContentIdentifier( );
 cmis::URL url( m_sURL );
 
-// Look for a cached session
-m_pSession = pProvider-getSession( url.getBindingUrl( ) );
+// Look for a cached session, key is binding url + repo id
+rtl::OUString sSessionId = url.getBindingUrl( ) + url.getRepositoryId( 
);
+m_pSession = pProvider-getSession( sSessionId );
 if ( NULL == m_pSession )
 {
 // Initiate a CMIS session and register it as we found nothing
 m_pSession = libcmis::SessionFactory::createSession( 
url.getSessionParams( ) );
-pProvider-registerSession( url.getBindingUrl( ), m_pSession );
+pProvider-registerSession( sSessionId, m_pSession );
 }
 
 m_sObjectPath = url.getObjectPath( );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'libreoffice-3-6' - ucb/source

2012-06-28 Thread Cédric Bosdonnat
 ucb/source/ucp/cmis/cmis_content.cxx |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit db21b52e446d43624a9ee829300b42f6906999a8
Author: Cédric Bosdonnat cedric.bosdon...@free.fr
Date:   Thu Jun 28 15:22:29 2012 +0200

CMIS UCP: cached session id change was not impacted on all constructors

Change-Id: I42cc76c08ce1a5e0942125d59bddf600c7ff9ee2

diff --git a/ucb/source/ucp/cmis/cmis_content.cxx 
b/ucb/source/ucp/cmis/cmis_content.cxx
index 977e2a3..f4f73e5 100644
--- a/ucb/source/ucp/cmis/cmis_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_content.cxx
@@ -190,13 +190,14 @@ namespace cmis
 m_sURL = m_xIdentifier-getContentIdentifier( );
 cmis::URL url( m_sURL );
 
-// Look for a cached session
-m_pSession = pProvider-getSession( url.getBindingUrl( ) );
+// Look for a cached session, key is binding url + repo id
+rtl::OUString sSessionId = url.getBindingUrl( ) + url.getRepositoryId( 
);
+m_pSession = pProvider-getSession( sSessionId );
 if ( NULL == m_pSession )
 {
 // Initiate a CMIS session and register it as we found nothing
 m_pSession = libcmis::SessionFactory::createSession( 
url.getSessionParams( ) );
-pProvider-registerSession( url.getBindingUrl( ), m_pSession );
+pProvider-registerSession( sSessionId, m_pSession );
 }
 
 m_sObjectPath = url.getObjectPath( );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


overview of localization

2012-06-28 Thread Caolán McNamara
For testing purposes, I want to update my local translations/lang/foo.po
files with freshly added strings from a new file type, i.e. .ui files.

I see that localize is used to exact the English source strings
from .src, .ulf etc and I think I have it doing what I want to exact
localizables from .ui files now. What do I use to update the
translations po files from that ?

C.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 44446] LibreOffice 3.6 most annoying bugs

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=6

Rainer Bielefeld libreoff...@bielefeldundbuss.de changed:

   What|Removed |Added

 Depends on||51507

--- Comment #31 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2012-06-28 07:16:25 UTC ---
Add Bug 51507 - FILEOPEN 3.5 document: conditional formatting of type Formula
is not recognized correctly, lost after saved, serious problem affecting many
users.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: Branch 'feature/template-dialog' - 3 commits - drawinglayer/inc drawinglayer/Library_drawinglayer.mk drawinglayer/source sfx2/source svx/source

2012-06-28 Thread Rafael Dominguez
 drawinglayer/Library_drawinglayer.mk   |5 +--
 drawinglayer/inc/drawinglayer/primitive2d/mediaprimitive2d.hxx |6 +++-
 drawinglayer/source/primitive2d/mediaprimitive2d.cxx   |   14 
--
 sfx2/source/control/templateview.cxx   |1 
 sfx2/source/control/thumbnailview.cxx  |2 -
 svx/source/sdr/contact/viewcontactofsdrmediaobj.cxx|4 ++
 6 files changed, 18 insertions(+), 14 deletions(-)

New commits:
commit fd174268bdea92d966feffbb312c0c3d19de3c5f
Author: Rafael Dominguez venccsra...@gmail.com
Date:   Thu Jun 28 09:47:41 2012 -0430

Remove avmedia dependency from drawinglayer.

Change-Id: If5c6bacd77783cc58da7fc31043bb9dd5bc4403d

diff --git a/drawinglayer/Library_drawinglayer.mk 
b/drawinglayer/Library_drawinglayer.mk
index 8995f52..54f6df8 100644
--- a/drawinglayer/Library_drawinglayer.mk
+++ b/drawinglayer/Library_drawinglayer.mk
@@ -34,7 +34,7 @@ $(eval $(call gb_Library_set_include,drawinglayer,\
 ))
 
 $(eval $(call gb_Library_add_defs,drawinglayer,\
-   -DDRAWINGLAYER_DLLIMPLEMENTATION \
+-DDRAWINGLAYER_DLLIMPLEMENTATION \
 ))
 
 $(eval $(call gb_Library_use_api,drawinglayer,\
@@ -43,7 +43,6 @@ $(eval $(call gb_Library_use_api,drawinglayer,\
 ))
 
 $(eval $(call gb_Library_use_libraries,drawinglayer,\
-avmedia \
 basegfx \
 canvastools \
 comphelper \
@@ -158,7 +157,7 @@ $(eval $(call 
gb_Library_add_exception_objects,drawinglayer,\
 drawinglayer/source/processor2d/helperwrongspellrenderer \
 drawinglayer/source/processor2d/hittestprocessor2d \
 drawinglayer/source/processor2d/linegeometryextractor2d \
-   drawinglayer/source/processor2d/processorfromoutputdevice \
+drawinglayer/source/processor2d/processorfromoutputdevice \
 drawinglayer/source/processor2d/textaspolygonextractor2d \
 drawinglayer/source/processor2d/vclhelperbitmaprender \
 drawinglayer/source/processor2d/vclhelperbitmaptransform \
diff --git a/drawinglayer/inc/drawinglayer/primitive2d/mediaprimitive2d.hxx 
b/drawinglayer/inc/drawinglayer/primitive2d/mediaprimitive2d.hxx
index bc9dcb9..a030933 100644
--- a/drawinglayer/inc/drawinglayer/primitive2d/mediaprimitive2d.hxx
+++ b/drawinglayer/inc/drawinglayer/primitive2d/mediaprimitive2d.hxx
@@ -34,6 +34,7 @@
 #include drawinglayer/primitive2d/baseprimitive2d.hxx
 #include basegfx/matrix/b2dhommatrix.hxx
 #include basegfx/color/bcolor.hxx
+#include vcl/graph.hxx
 
 //
 
@@ -65,6 +66,8 @@ namespace drawinglayer
 /// discrete border (in 'pixels')
 sal_uInt32  mnDiscreteBorder;
 
+const Graphic   maSnapshot;
+
 protected:
 /// local decomposition
 virtual Primitive2DSequence create2DDecomposition(const 
geometry::ViewInformation2D rViewInformation) const;
@@ -75,7 +78,8 @@ namespace drawinglayer
 const basegfx::B2DHomMatrix rTransform,
 const rtl::OUString rURL,
 const basegfx::BColor rBackgroundColor,
-sal_uInt32 nDiscreteBorder);
+sal_uInt32 nDiscreteBorder,
+const Graphic rSnapshot);
 
 /// data read access
 const basegfx::B2DHomMatrix getTransform() const { return 
maTransform; }
diff --git a/drawinglayer/source/primitive2d/mediaprimitive2d.cxx 
b/drawinglayer/source/primitive2d/mediaprimitive2d.cxx
index 9c59997..68daf6e 100644
--- a/drawinglayer/source/primitive2d/mediaprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/mediaprimitive2d.cxx
@@ -30,7 +30,6 @@
 #include basegfx/polygon/b2dpolygon.hxx
 #include basegfx/polygon/b2dpolygontools.hxx
 #include drawinglayer/primitive2d/polypolygonprimitive2d.hxx
-#include avmedia/mediawindow.hxx
 #include svtools/grfmgr.hxx
 #include drawinglayer/primitive2d/graphicprimitive2d.hxx
 #include drawinglayer/geometry/viewinformation2d.hxx
@@ -57,12 +56,9 @@ namespace drawinglayer
 getBackgroundColor()));
 xRetval[0] = xRefBackground;
 
-// try to get graphic snapshot
-const Graphic aGraphic(avmedia::MediaWindow::grabFrame(getURL(), 
true));
-
-if(GRAPHIC_BITMAP == aGraphic.GetType() || GRAPHIC_GDIMETAFILE == 
aGraphic.GetType())
+if(GRAPHIC_BITMAP == maSnapshot.GetType() || GRAPHIC_GDIMETAFILE 
== maSnapshot.GetType())
 {
-const GraphicObject aGraphicObject(aGraphic);
+const GraphicObject aGraphicObject(maSnapshot);
 const GraphicAttr aGraphicAttr;
 xRetval.realloc(2);
 xRetval[0] = xRefBackground;
@@ -110,12 +106,14 @@ namespace drawinglayer
 const basegfx::B2DHomMatrix rTransform,
 const rtl::OUString rURL,
 const basegfx::BColor 

Re: [Libreoffice-ux-advise] Enable CTL for Default?

2012-06-28 Thread Khaled Hosny
On Thu, Jun 28, 2012 at 10:21:57AM +0200, Stefan Knorr (Astron) wrote:
 * I am not sure about Cursor Movement, but I've tried the options and
 visual seems to behave rather buggy – if it weren't it would likely
 be the best option

I always set it to visual, logical seems very unprediuctable to me (i.e.
I can't usually tell if the right arrow will move the cursor left or
right at ant given position).

 * the Digits option: it could find a new home in the Languages tab
 or it could be removed completely, with it being set to Context
 always

This have to be kept, in Arabic countries to the west of Egypt the
European (AKA Arabic) digits are always used.

Regards,
 Khaled
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: overview of localization

2012-06-28 Thread Andras Timar
Hi Caolan,

2012/6/28 Caolán McNamara caol...@redhat.com:
 For testing purposes, I want to update my local translations/lang/foo.po
 files with freshly added strings from a new file type, i.e. .ui files.

 I see that localize is used to exact the English source strings
 from .src, .ulf etc and I think I have it doing what I want to exact
 localizables from .ui files now. What do I use to update the
 translations po files from that ?


You need translate-toolkit
(http://translate.sourceforge.net/wiki/toolkit/index).
Create pot files from en-US.sdf:
$ oo2po -P 
workdir/unxlngi6.pro/CustomTarget/translations/translate/sdf-template/en-US.sdf
workdir/unxlngi6.pro/CustomTarget/translations/translate/pot
Then update languages, e.g.
$ cd translations/source/
$ for in de fr it;do pomigrate2 $i $i.new
workdir/unxlngi6.pro/CustomTarget/translations/translate/pot;rm -rf
$i;mv $i.new $i;done

That should work for local testing purposes.

Andras
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: sw/source

2012-06-28 Thread Miklos Vajna
 sw/source/core/layout/pagedesc.cxx |6 --
 1 file changed, 6 deletions(-)

New commits:
commit 64040dbbb5b35e8838f55b791f86a4d6819070b0
Author: Miklos Vajna vmik...@suse.cz
Date:   Thu Jun 28 16:47:59 2012 +0200

SwPageDesc impl: drop unused includes

Change-Id: Ie3b1113461b65ae8bace25884f965ac99fda4910

diff --git a/sw/source/core/layout/pagedesc.cxx 
b/sw/source/core/layout/pagedesc.cxx
index a1db5c5..45ac7b5 100644
--- a/sw/source/core/layout/pagedesc.cxx
+++ b/sw/source/core/layout/pagedesc.cxx
@@ -26,22 +26,16 @@
  *
  /
 
-#include hintids.hxx
 #include editeng/pbinitem.hxx
 #include editeng/ulspitem.hxx
 #include editeng/boxitem.hxx
 #include editeng/brshitem.hxx
 #include editeng/shaditem.hxx
-#include editeng/lrspitem.hxx
 #include editeng/frmdiritem.hxx
 #include fmtclds.hxx
 #include fmtfsize.hxx
-#include frmatr.hxx
 #include pagefrm.hxx
 #include pagedesc.hxx
-#include frmfmt.hxx
-#include fmtcol.hxx   // SwTxtFmtColl
-#include node.hxx
 #include swtable.hxx
 #include frmtool.hxx
 #include doc.hxx  // for GetAttrPool
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [REVIEW][3-5] fdo#39415 Writer collapsing table border painting fixes

2012-06-28 Thread Bjoern Michaelsen
On Thu, Jun 28, 2012 at 02:59:46PM +0200, Michael Stahl wrote:
 i've just pushed these to gerrit, which has strangely resulted in 3
 reviews instead of the expected one, but you can look at these here:

That is to be expected as every change can be reviewed on its own. The patches
are marked as depending on each other, so if you would submit them with gerrit,
the second would wait for the first to be reviewed to even if it is deemed good
to go.

Best,

Bjoern
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: ScInterpreter::Interpret() backtraces during ODS import

2012-06-28 Thread Eike Rathke
Hi Daniel,

On Wednesday, 2012-06-27 16:34:38 -0500, Daniel Bankston wrote:

 When ScInterpreter::Interpret()
 is called multiple times, I assume that each call is for each
 formula cell, although I have not thoroughly verified this.

Your assumption is correct.

 Does this mean we are indeed unnecessarily recalculating formula
 results even though we have imported formula results at our
 disposal?

As discussed on IRC yesterday, yes and no.. unnecessarily if we could
trust all results are identical to what we would calculate, including
modifications that might had been done by other processors and
differences that may result from improved algorithms / changed behavior
in our own code.

So, a possible solution could be to set formula cells dirty only if the
content of the meta:generator element differs from the current office
version.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD


pgp4cJe3ab3NC.pgp
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: ucb/source

2012-06-28 Thread Cédric Bosdonnat
 ucb/source/ucp/cmis/cmis_content.cxx |   80 +--
 1 file changed, 50 insertions(+), 30 deletions(-)

New commits:
commit 6fe84df471e80e47dcc41c2fb02d39a178477a0e
Author: Cédric Bosdonnat cedric.bosdon...@free.fr
Date:   Thu Jun 28 17:25:31 2012 +0200

CMIS UCP: fixed save as which was broken by bad exceptions catching

Change-Id: I81bb45279b23d0c8d77f8e7aa366d038efa13d89

diff --git a/ucb/source/ucp/cmis/cmis_content.cxx 
b/ucb/source/ucp/cmis/cmis_content.cxx
index f4f73e5..6c41521 100644
--- a/ucb/source/ucp/cmis/cmis_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_content.cxx
@@ -276,41 +276,56 @@ namespace cmis
 
 for( sal_Int32 n = 0; n  nProps; ++n )
 {
+const beans::Property rProp = pProps[ n ];
+
 try
 {
-const beans::Property rProp = pProps[ n ];
-
 if ( rProp.Name == IsDocument )
 {
-if ( getObject( ).get( ) )
+try
+{
 xRow-appendBoolean( rProp, getObject()-getBaseType( 
) == cmis:document );
-else if ( m_pObjectType.get( ) )
-xRow-appendBoolean( rProp, 
m_pObjectType-getBaseType()-getId( ) == cmis:document );
-else
-xRow-appendVoid( rProp );
+}
+catch ( const libcmis::Exception )
+{
+if ( m_pObjectType.get( ) )
+xRow-appendBoolean( rProp, 
m_pObjectType-getBaseType()-getId( ) == cmis:document );
+else
+xRow-appendVoid( rProp );
+}
 }
 else if ( rProp.Name == IsFolder )
 {
-if ( getObject( ).get( ) )
+try
+{
 xRow-appendBoolean( rProp, getObject()-getBaseType( 
) == cmis:folder );
-else if ( m_pObjectType.get( ) )
-xRow-appendBoolean( rProp, 
m_pObjectType-getBaseType()-getId( ) == cmis:folder );
-else
-xRow-appendVoid( rProp );
+}
+catch ( const libcmis::Exception )
+{
+if ( m_pObjectType.get( ) )
+xRow-appendBoolean( rProp, 
m_pObjectType-getBaseType()-getId( ) == cmis:folder );
+else
+xRow-appendVoid( rProp );
+}
 }
 else if ( rProp.Name == Title )
 {
 rtl::OUString sTitle;
-if ( getObject().get() )
+try
+{
 sTitle = STD_TO_OUSTR( getObject()-getName() );
-else if ( m_pObjectProps.size()  0 )
+}
+catch ( const libcmis::Exception )
 {
-map string, libcmis::PropertyPtr ::iterator it = 
m_pObjectProps.find( cmis:name );
-if ( it != m_pObjectProps.end( ) )
+if ( m_pObjectProps.size()  0 )
 {
-vector string  values = it-second-getStrings( 
);
-if ( values.size()  0 )
-sTitle = STD_TO_OUSTR( values.front( ) );
+map string, libcmis::PropertyPtr ::iterator it = 
m_pObjectProps.find( cmis:name );
+if ( it != m_pObjectProps.end( ) )
+{
+vector string  values = 
it-second-getStrings( );
+if ( values.size()  0 )
+sTitle = STD_TO_OUSTR( values.front( ) );
+}
 }
 }
 
@@ -337,7 +352,7 @@ namespace cmis
 else if ( rProp.Name == TitleOnServer )
 {
 string path;
-if ( getObject().get( ) )
+try
 {
 vector string  paths = getObject( )-getPaths( );
 if ( paths.size( )  0 )
@@ -347,8 +362,10 @@ namespace cmis
 
 xRow-appendString( rProp, STD_TO_OUSTR( path ) );
 }
-else
+catch ( const libcmis::Exception )
+{
 xRow-appendVoid( rProp );
+}
 }
 else if ( rProp.Name == IsReadOnly )
 {
@@ -371,11 +388,18 @@ namespace cmis
 }
 else if ( rProp.Name == Size )
 {
-

[Libreoffice-commits] .: Branch 'libreoffice-3-6' - ucb/source

2012-06-28 Thread Cédric Bosdonnat
 ucb/source/ucp/cmis/cmis_content.cxx |   80 +--
 1 file changed, 50 insertions(+), 30 deletions(-)

New commits:
commit 2009ee83ba068ec45654a4c8e4efa6c18a543a76
Author: Cédric Bosdonnat cedric.bosdon...@free.fr
Date:   Thu Jun 28 17:25:31 2012 +0200

CMIS UCP: fixed save as which was broken by bad exceptions catching

Change-Id: I81bb45279b23d0c8d77f8e7aa366d038efa13d89

diff --git a/ucb/source/ucp/cmis/cmis_content.cxx 
b/ucb/source/ucp/cmis/cmis_content.cxx
index f4f73e5..6c41521 100644
--- a/ucb/source/ucp/cmis/cmis_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_content.cxx
@@ -276,41 +276,56 @@ namespace cmis
 
 for( sal_Int32 n = 0; n  nProps; ++n )
 {
+const beans::Property rProp = pProps[ n ];
+
 try
 {
-const beans::Property rProp = pProps[ n ];
-
 if ( rProp.Name == IsDocument )
 {
-if ( getObject( ).get( ) )
+try
+{
 xRow-appendBoolean( rProp, getObject()-getBaseType( 
) == cmis:document );
-else if ( m_pObjectType.get( ) )
-xRow-appendBoolean( rProp, 
m_pObjectType-getBaseType()-getId( ) == cmis:document );
-else
-xRow-appendVoid( rProp );
+}
+catch ( const libcmis::Exception )
+{
+if ( m_pObjectType.get( ) )
+xRow-appendBoolean( rProp, 
m_pObjectType-getBaseType()-getId( ) == cmis:document );
+else
+xRow-appendVoid( rProp );
+}
 }
 else if ( rProp.Name == IsFolder )
 {
-if ( getObject( ).get( ) )
+try
+{
 xRow-appendBoolean( rProp, getObject()-getBaseType( 
) == cmis:folder );
-else if ( m_pObjectType.get( ) )
-xRow-appendBoolean( rProp, 
m_pObjectType-getBaseType()-getId( ) == cmis:folder );
-else
-xRow-appendVoid( rProp );
+}
+catch ( const libcmis::Exception )
+{
+if ( m_pObjectType.get( ) )
+xRow-appendBoolean( rProp, 
m_pObjectType-getBaseType()-getId( ) == cmis:folder );
+else
+xRow-appendVoid( rProp );
+}
 }
 else if ( rProp.Name == Title )
 {
 rtl::OUString sTitle;
-if ( getObject().get() )
+try
+{
 sTitle = STD_TO_OUSTR( getObject()-getName() );
-else if ( m_pObjectProps.size()  0 )
+}
+catch ( const libcmis::Exception )
 {
-map string, libcmis::PropertyPtr ::iterator it = 
m_pObjectProps.find( cmis:name );
-if ( it != m_pObjectProps.end( ) )
+if ( m_pObjectProps.size()  0 )
 {
-vector string  values = it-second-getStrings( 
);
-if ( values.size()  0 )
-sTitle = STD_TO_OUSTR( values.front( ) );
+map string, libcmis::PropertyPtr ::iterator it = 
m_pObjectProps.find( cmis:name );
+if ( it != m_pObjectProps.end( ) )
+{
+vector string  values = 
it-second-getStrings( );
+if ( values.size()  0 )
+sTitle = STD_TO_OUSTR( values.front( ) );
+}
 }
 }
 
@@ -337,7 +352,7 @@ namespace cmis
 else if ( rProp.Name == TitleOnServer )
 {
 string path;
-if ( getObject().get( ) )
+try
 {
 vector string  paths = getObject( )-getPaths( );
 if ( paths.size( )  0 )
@@ -347,8 +362,10 @@ namespace cmis
 
 xRow-appendString( rProp, STD_TO_OUSTR( path ) );
 }
-else
+catch ( const libcmis::Exception )
+{
 xRow-appendVoid( rProp );
+}
 }
 else if ( rProp.Name == IsReadOnly )
 {
@@ -371,11 +388,18 @@ namespace cmis
 }
 else if ( rProp.Name == Size )
 {
-

Re: [Libreoffice-ux-advise] Window background (was: Re: [ANN] LibreOffice 3.6.0.0 beta2 available for testing)

2012-06-28 Thread Jan Holesovsky
Hi Astron, Mirek,

Stefan Knorr píše v Čt 28. 06. 2012 v 14:48 +0200:

  No problem there - just give me the RGB values we should use, and I'll
  put it there :-)
 
 I experimented with it and thought 213,218,224 looked good. But no
 doubt, Mirek has an opinion on that... which we probably best hear
 before changing it, too.

Mirek? :-)

  This might be harder - the handling of the color settings is much more
  complex than it should be, so not sure if I manage to do it in time for
  Beta3, and I am off for vacation after that; let's see.
 
 In that case, it might be best to leave the background as is for 3.6 (I
 think it's quite alright, so no real urgency to fix it and in
 consequence rub the other two problems in the user's face).
 Should I file bugs about the ruler bg and the Start Center bg staying
 the same, then?

Yes, please do  give me the bug number.  I'll put there code pointers,
in order to easy-hackize it.

 Anyway... I just noticed another sign of breakage that does need to be
 fixed: toolbars which are undocked or docked to the side/bottom: these
 still use the old-style gradient. I think it would be best to colour
 them (solidly) with the colour that's at the bottom of the toolbar.
 Else, the gradient from the top would repeat itself – which I don't
 think would look very attractive.
 (Again, I can file a bug about that.)

Ah, good point.  What is happening here is that we are still using the
Windows theming for the toolbars that are not at the the top of the
window.  What would help most is if you made me a mockup how they should
look like (realistic one, ie. it should look like this) for the
horizontal, as well as the vertical toolbars.

[It can be a gradient that spans over all the toolbars together, or
solid color, or whatever.  The only problem is that I need it ~now, in
order to implement it tomorrow; I am leaving for vacation on Saturday.]

Thanks a lot,
Kendy

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: smoketest/Library_smoketest.mk

2012-06-28 Thread Michael Stahl
 smoketest/Library_smoketest.mk |6 ++
 1 file changed, 6 insertions(+)

New commits:
commit 1e0a880cfe5b9d724f1bb2b6bedb25da46d6c5ab
Author: Michael Stahl mst...@redhat.com
Date:   Thu Jun 28 19:29:18 2012 +0200

smoketest: fix breakage from 328e2263fb6e2415bafbc40a7d7309b66f65971a

Change-Id: I18eaf5596e9ba518672ef041bf6084ef84f608fb

diff --git a/smoketest/Library_smoketest.mk b/smoketest/Library_smoketest.mk
index f14348e..c62e015 100644
--- a/smoketest/Library_smoketest.mk
+++ b/smoketest/Library_smoketest.mk
@@ -25,8 +25,14 @@
 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
 # instead of those above.
 
+# this is a Library that contains a unit test, so it can be packaged
 $(eval $(call gb_Library_Library,smoketest))
 
+# necessary because this is no CppUnitTest but a Library
+$(eval $(call gb_Library_add_defs,smoketest,\
+   -DCPPUNIT_PLUGIN_EXPORT='extern C SAL_DLLPUBLIC_EXPORT' \
+))
+
 $(eval $(call gb_Library_use_api,smoketest,\
offapi \
udkapi \
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'libreoffice-3-6' - 2 commits - desktop/source desktop/win32 instsetoo_native/inc_openoffice scp2/source

2012-06-28 Thread Andras Timar
 desktop/source/app/app.cxx |   36 
++
 desktop/win32/source/QuickStart/QuickStart.cxx |   11 +--
 instsetoo_native/inc_openoffice/windows/msi_templates/CheckBox.idt |1 
 instsetoo_native/inc_openoffice/windows/msi_templates/Control.idt  |3 
 instsetoo_native/inc_openoffice/windows/msi_templates/ControlC.idt |1 
 scp2/source/quickstart/registryitem_quickstart.scp |5 -
 6 files changed, 47 insertions(+), 10 deletions(-)

New commits:
commit 55d095a3122f68ebf97fd9b2567173c7fb648761
Author: Andras Timar ati...@suse.com
Date:   Thu Jun 28 14:21:27 2012 +0200

use defines from systools/win32/qswin32.h instead of duplication

Change-Id: I3d52308087412d1250b8ad64ffc308ca7cc414fd

diff --git a/desktop/win32/source/QuickStart/QuickStart.cxx 
b/desktop/win32/source/QuickStart/QuickStart.cxx
index b3e19a5..77583c4 100644
--- a/desktop/win32/source/QuickStart/QuickStart.cxx
+++ b/desktop/win32/source/QuickStart/QuickStart.cxx
@@ -5,16 +5,13 @@
 #include StdAfx.h
 #include resource.h
 #include systools/win32/uwinapi.h
+#include systools/win32/qswin32.h
 #include stdio.h
 
-// message used to communicate with soffice
-#define LISTENER_WINDOWCLASSSO Listener Class
-#define KILLTRAY_MESSAGESO KillTray
-
 bool SofficeRuns()
 {
 // check for soffice by searching the communication window
-return ( FindWindowEx( NULL, NULL, LISTENER_WINDOWCLASS, NULL ) == NULL ) 
? false : true;
+return ( FindWindowEx( NULL, NULL, QUICKSTART_CLASSNAME, NULL ) == NULL ) 
? false : true;
 }
 
 bool launchSoffice( )
@@ -57,11 +54,11 @@ int APIENTRY WinMain(HINSTANCE /*hInstance*/,
 {
 if ( 0 == strcmp( __argv[i], --killtray ) )
 {
-HWNDhwndTray = FindWindow( LISTENER_WINDOWCLASS, NULL );
+HWNDhwndTray = FindWindow( QUICKSTART_CLASSNAME, NULL );
 
 if ( hwndTray )
 {
-UINTuMsgKillTray = RegisterWindowMessage( KILLTRAY_MESSAGE 
);
+UINTuMsgKillTray = RegisterWindowMessage( 
SHUTDOWN_QUICKSTART_MESSAGE );
 SendMessage( hwndTray, uMsgKillTray, 0, 0 );
 }
 
commit fbc9e19443167bdfd98474ff979bf2c34530efca
Author: Andras Timar ati...@suse.com
Date:   Thu Jun 28 12:33:25 2012 +0200

fdo#46510 optionally turn on Quickstarter by installer

Change-Id: Ie002ab01a804cceea06e0a2ba7e6b2fe2a495344

diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 7f037c1..b7136de 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -102,6 +102,18 @@
 #include sys/wait.h
 #endif
 
+#ifdef WNT
+#ifdef _MSC_VER
+#pragma warning(push, 1) /* disable warnings within system headers */
+#endif
+#define WIN32_LEAN_AND_MEAN
+#include windows.h
+#ifdef _MSC_VER
+#pragma warning(pop)
+#endif
+#endif //WNT
+
+
 using rtl::OUString;
 using rtl::OUStringBuffer;
 
@@ -3053,6 +3065,30 @@ void Desktop::CheckFirstRun( )
 m_firstRunTimer.SetTimeoutHdl(LINK(this, Desktop, AsyncInitFirstRun));
 m_firstRunTimer.Start();
 
+#ifdef WNT
+// Check if Quckstarter should be started (on Windows only)
+TCHAR szValue[8192];
+DWORD nValueSize = sizeof(szValue);
+HKEY hKey;
+if ( ERROR_SUCCESS == RegOpenKey( HKEY_LOCAL_MACHINE,  
Software\\LibreOffice, hKey ) )
+{
+if ( ERROR_SUCCESS == RegQueryValueEx( hKey, 
TEXT(RunQuickstartAtFirstStart), NULL, NULL, (LPBYTE)szValue, nValueSize ) )
+{
+sal_Bool bQuickstart( sal_True );
+sal_Bool bAutostart( sal_True );
+Sequence Any  aSeq( 2 );
+aSeq[0] = bQuickstart;
+aSeq[1] = bAutostart;
+
+Reference  XInitialization  xQuickstart( 
::comphelper::getProcessServiceFactory()-createInstance(
+OUString::createFromAscii( com.sun.star.office.Quickstart 
)),UNO_QUERY );
+if ( xQuickstart.is() )
+xQuickstart-initialize( aSeq );
+RegCloseKey( hKey );
+}
+}
+#endif
+
 // 
 // reset the config flag
 
diff --git a/instsetoo_native/inc_openoffice/windows/msi_templates/CheckBox.idt 
b/instsetoo_native/inc_openoffice/windows/msi_templates/CheckBox.idt
index 20d80fb..85d191a 100644
--- a/instsetoo_native/inc_openoffice/windows/msi_templates/CheckBox.idt
+++ b/instsetoo_native/inc_openoffice/windows/msi_templates/CheckBox.idt
@@ -3,3 +3,4 @@ s72 S64
 CheckBox   Property
 CREATEDESKTOPLINK  1
 ENABLEATTOOLS  1
+QUICKSTART 1
diff --git a/instsetoo_native/inc_openoffice/windows/msi_templates/Control.idt 
b/instsetoo_native/inc_openoffice/windows/msi_templates/Control.idt
index 2fbbad7..01fd1f4 100644
--- a/instsetoo_native/inc_openoffice/windows/msi_templates/Control.idt
+++ b/instsetoo_native/inc_openoffice/windows/msi_templates/Control.idt
@@ -231,7 +231,8 @@ ReadyToInstall  

Re: vcl checkbox behaviour

2012-06-28 Thread Jan Holesovsky
Hi Noel,

Noel Power píše v Čt 28. 06. 2012 v 13:36 +0100:

  I am somewhat stumbling over what would be best to do, change the
  underlying vcl class unconditionally ? ( that would imply the uno
  controls behaviour also changes unconditionally ) or ... if we change
  the underlying vcl class conditionally what about the uno controls?,
  should we change them also conditionally? or unconditionally? It would
  seem to me if there is some consensus that the 'normal' vcl behaviour is
  not that normal but is 'abnormal' then I would be inclined to change the
  vcl class unconditionally ( and similarly the behaviour of the dependant
  uno controls ) Any thoughts ?
  So the behavior sound curious to me; but OTOH nearly sounds as if
  somebody did that deliberately.  Do you have pointers to the code where
  does the apply the Align property on the control itself live?  Any
  history that would be of some worth around there?
 no like I mentioned earlier in the mail the behaviour is indeed 
 intentional see 
 http://opengrok.libreoffice.org/xref/core/vcl/source/control/button.cxx#3209 
 However, I just don't understand why it, historically this behaviour 
 seems to be there for quite a while, the last change around there was
 http://cgit.freedesktop.org/libreoffice/core/commit/?id=d727e1094312e34fedc2bfdb12b43c109a954054
  
 which adds a new logic leg  for checkboxes with images ( which is a 
 strange concept for me too :-) )

Actually the for quite a while spans to
8ab086b6cc054501bfbf7ef6fa509c393691e860, the inital import of
button.cxx to CVS :-( - it has been imported in 2000 with this already
in place.

Looking deeper, I thought that the 'alignment of checkboxes without
text' behavior might make sense for the dialogs like Tools - Options -
Load/Save - Microsoft Office and alike, where you'd want to center the
checkbox; but it seems to me that it is actually SvLBoxButton that is
used there, not CheckBox.

So - can you in any way check if we are actually using this CheckBox
feature anywhere in the UI?  [Ie. if we construct a CheckBox without
text, but with WB_CENTER or WB_RIGHT?]  If we do not use it, I'd get rid
of that [even in UNO controls and everywhere], as you proposed.

Regards,
Kendy

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: desktop/source instsetoo_native/inc_openoffice scp2/source

2012-06-28 Thread Andras Timar
 desktop/source/app/app.cxx |   36 
++
 instsetoo_native/inc_openoffice/windows/msi_templates/CheckBox.idt |1 
 instsetoo_native/inc_openoffice/windows/msi_templates/Control.idt  |3 
 instsetoo_native/inc_openoffice/windows/msi_templates/ControlC.idt |1 
 scp2/source/quickstart/registryitem_quickstart.scp |5 -
 5 files changed, 43 insertions(+), 3 deletions(-)

New commits:
commit 677f10cdf0b6a7acb2f94fce8404b464061ccaf7
Author: Andras Timar ati...@suse.com
Date:   Thu Jun 28 12:33:25 2012 +0200

fdo#46510 optionally turn on Quickstarter by installer

Change-Id: Ie002ab01a804cceea06e0a2ba7e6b2fe2a495344

diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index e29e535..d50507a 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -103,6 +103,18 @@
 #include sys/wait.h
 #endif
 
+#ifdef WNT
+#ifdef _MSC_VER
+#pragma warning(push, 1) /* disable warnings within system headers */
+#endif
+#define WIN32_LEAN_AND_MEAN
+#include windows.h
+#ifdef _MSC_VER
+#pragma warning(pop)
+#endif
+#endif //WNT
+
+
 using rtl::OUString;
 using rtl::OUStringBuffer;
 
@@ -3039,6 +3051,30 @@ void Desktop::CheckFirstRun( )
 m_firstRunTimer.SetTimeoutHdl(LINK(this, Desktop, AsyncInitFirstRun));
 m_firstRunTimer.Start();
 
+#ifdef WNT
+// Check if Quckstarter should be started (on Windows only)
+TCHAR szValue[8192];
+DWORD nValueSize = sizeof(szValue);
+HKEY hKey;
+if ( ERROR_SUCCESS == RegOpenKey( HKEY_LOCAL_MACHINE,  
Software\\LibreOffice, hKey ) )
+{
+if ( ERROR_SUCCESS == RegQueryValueEx( hKey, 
TEXT(RunQuickstartAtFirstStart), NULL, NULL, (LPBYTE)szValue, nValueSize ) )
+{
+sal_Bool bQuickstart( sal_True );
+sal_Bool bAutostart( sal_True );
+Sequence Any  aSeq( 2 );
+aSeq[0] = bQuickstart;
+aSeq[1] = bAutostart;
+
+Reference  XInitialization  xQuickstart( 
::comphelper::getProcessServiceFactory()-createInstance(
+OUString::createFromAscii( com.sun.star.office.Quickstart 
)),UNO_QUERY );
+if ( xQuickstart.is() )
+xQuickstart-initialize( aSeq );
+RegCloseKey( hKey );
+}
+}
+#endif
+
 // 
 // reset the config flag
 
diff --git a/instsetoo_native/inc_openoffice/windows/msi_templates/CheckBox.idt 
b/instsetoo_native/inc_openoffice/windows/msi_templates/CheckBox.idt
index 20d80fb..85d191a 100644
--- a/instsetoo_native/inc_openoffice/windows/msi_templates/CheckBox.idt
+++ b/instsetoo_native/inc_openoffice/windows/msi_templates/CheckBox.idt
@@ -3,3 +3,4 @@ s72 S64
 CheckBox   Property
 CREATEDESKTOPLINK  1
 ENABLEATTOOLS  1
+QUICKSTART 1
diff --git a/instsetoo_native/inc_openoffice/windows/msi_templates/Control.idt 
b/instsetoo_native/inc_openoffice/windows/msi_templates/Control.idt
index 2fbbad7..01fd1f4 100644
--- a/instsetoo_native/inc_openoffice/windows/msi_templates/Control.idt
+++ b/instsetoo_native/inc_openoffice/windows/msi_templates/Control.idt
@@ -231,7 +231,8 @@ ReadyToInstall  DlgTitle2   Text13  6   
280 25  65538   OOO_CONTROL_171
 ReadyToInstall DlgTitle3   Text13  6   280 25  65538   
OOO_CONTROL_172 
 ReadyToInstall InstallNow  PushButton  230 243 66  17  
3   OOO_CONTROL_173 Cancel  
 ReadyToInstall DesktopLink CheckBox21  100 300 10  
3   CREATEDESKTOPLINK   OOO_CONTROL_319 EnableATTools   
-ReadyToInstall EnableATTools   CheckBox21  125 300 10  
3   ENABLEATTOOLS   OOO_CONTROL_320 Back
+ReadyToInstall EnableATTools   CheckBox21  125 300 10  
3   ENABLEATTOOLS   OOO_CONTROL_320 EnableQuickstart
+ReadyToInstall EnableQuickstartCheckBox21  150 300 
10  3   QUICKSTART  OOO_CONTROL_321 Back
 ReadyToRemove  BackPushButton  164 243 66  17  3   
OOO_CONTROL_174 RemoveNow   
 ReadyToRemove  Banner  Bitmap  0   0   374 44  1   
BannerBmp   
 ReadyToRemove  BannerLine  Line0   44  374 0   1   

diff --git a/instsetoo_native/inc_openoffice/windows/msi_templates/ControlC.idt 
b/instsetoo_native/inc_openoffice/windows/msi_templates/ControlC.idt
index 7b69d14..3fc3e48 100644
--- a/instsetoo_native/inc_openoffice/windows/msi_templates/ControlC.idt
+++ b/instsetoo_native/inc_openoffice/windows/msi_templates/ControlC.idt
@@ -24,6 +24,7 @@ ReadyToInstallDlgTitleShow
ProgressType0=Modify
 ReadyToInstall DlgTitle2   ShowProgressType0=Repair
 ReadyToInstall DlgTitle3   ShowProgressType0=install
 ReadyToInstall 

[Bug 37361] LibreOffice 3.5 most annoying bugs

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37361

Bug 37361 depends on bug 46510, which changed state.

Bug 46510 Summary: Turn on Quickstarter by silent install
https://bugs.freedesktop.org/show_bug.cgi?id=46510

   What|Old Value   |New Value

 Resolution||FIXED
 Status|ASSIGNED|RESOLVED

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: 2 commits - android/experimental

2012-06-28 Thread Iain Billett
 android/experimental/LibreOffice4Android/AndroidManifest.xml   
|1 
 android/experimental/LibreOffice4Android/res/layout/document_viewer.xml
|   27 
 android/experimental/LibreOffice4Android/res/layout/navigation_grid_item.xml   
|   16 
 android/experimental/LibreOffice4Android/res/values/styles.xml 
|2 
 
android/experimental/LibreOffice4Android/src/org/libreoffice/android/DocumentLoader.java
   |  359 +-
 
android/experimental/LibreOffice4Android/src/org/libreoffice/ui/LibreOfficeUIActivity.java
 |3 
 6 files changed, 398 insertions(+), 10 deletions(-)

New commits:
commit 06b935baa5696f90caedf51e4d3a0302350a446b
Author: Iain Billett iainbill...@gmail.com
Date:   Thu Jun 28 19:36:29 2012 +0100

First draft of navigator, a strip of live thumbnails which are 
clickable.
Open method to open random page, not first.
Put some UI set up in documentLoadTask as the UI requires the number of 
pages in the document which is only know on load.

diff --git 
a/android/experimental/LibreOffice4Android/res/layout/document_viewer.xml 
b/android/experimental/LibreOffice4Android/res/layout/document_viewer.xml
index 2f84be9..fbb25c8 100644
--- a/android/experimental/LibreOffice4Android/res/layout/document_viewer.xml
+++ b/android/experimental/LibreOffice4Android/res/layout/document_viewer.xml
@@ -13,11 +13,13 @@
 android:layout_width=match_parent
 android:layout_height=wrap_content
android:layout_alignBottom=@id/page_flipper
+   android:scrollbarAlwaysDrawHorizontalTrack=true
android:background=#aa00
LinearLayout
android:id=@+id/navigator
android:layout_width=wrap_content
-   android:layout_height=150dp
+   android:layout_height=120dp
+   android:layout_margin=15dp
android:orientation=horizontal
/LinearLayout
/HorizontalScrollView 
diff --git 
a/android/experimental/LibreOffice4Android/src/org/libreoffice/android/DocumentLoader.java
 
b/android/experimental/LibreOffice4Android/src/org/libreoffice/android/DocumentLoader.java
index 2c839a5..bd40040 100644
--- 
a/android/experimental/LibreOffice4Android/src/org/libreoffice/android/DocumentLoader.java
+++ 
b/android/experimental/LibreOffice4Android/src/org/libreoffice/android/DocumentLoader.java
@@ -95,7 +95,7 @@ public class DocumentLoader
 extends Activity
 {
 private static final String TAG = DocumentLoader;
-
+
 // Size of a small virtual (bitmap) device used to find out page count and
 // page sizes
 private static final int SMALLSIZE = 128;
@@ -152,7 +152,7 @@ public class DocumentLoader
 flipper.setOutAnimation(outToLeft);
 
 flipper.showNext();
-
+
 ((PageViewer)flipper.getChildAt((flipper.getDisplayedChild() + 
PAGECACHE_PLUSMINUS) % 
PAGECACHE_SIZE)).display(((PageViewer)flipper.getCurrentView()).currentPageNumber
 + PAGECACHE_PLUSMINUS);
 return true;
 } else if (event2.getX() - event1.getX()  120) {
@@ -523,7 +523,13 @@ public class DocumentLoader
 View thumbnailView;
 //PageState state = PageState.NONEXISTENT;
 Bitmap bm;
-
+final float scale;
+final int widthInPx;
+final int heightInPx;
+final int defaultWidthPx = 120;
+final int defaultHeightPx = 120;
+final int thumbnailPaddingDp = 10;
+   
 class ThumbLoadTask
 extends AsyncTaskInteger, Void, Integer
 {
@@ -535,8 +541,8 @@ public class DocumentLoader
 return -1;
 
 //state = PageState.LOADING;
-ByteBuffer bb = renderPage( number , 120 , 120);
-bm = Bitmap.createBitmap( 120 , 120 , Bitmap.Config.ARGB_);
+ByteBuffer bb = renderPage( number , widthInPx , heightInPx);
+bm = Bitmap.createBitmap( widthInPx , heightInPx , 
Bitmap.Config.ARGB_);
 bm.copyPixelsFromBuffer(bb);
 
 return number;
@@ -552,7 +558,8 @@ public class DocumentLoader
 
ImageView thumbImage = new 
ImageView(DocumentLoader.this);//(ImageView)findViewById( R.id.thumbnail );
 thumbImage.setImageBitmap(bm);
-
+int paddingPx = (int) (thumbnailPaddingDp* scale + 0.5f);
+thumbImage.setPadding( paddingPx , 0 , paddingPx , 0 );
 thumbImage.setScaleY(-1);
 
Log.i( TAG, Integer.toString( 
thumbImage.getWidth() ) );
@@ -570,15 +577,31 @@ public class DocumentLoader
 if (number = 0)
 waitView.setText(Page  + (number+1) + , wait...);
 //state = PageState.NONEXISTENT;
-
 

[Libreoffice-commits] .: i18npool/inc

2012-06-28 Thread Eike Rathke
 i18npool/inc/i18npool/lang.h |1 +
 1 file changed, 1 insertion(+)

New commits:
commit c569add9b9b9e5aadff4b1379d1848c192f027ee
Author: Eike Rathke er...@redhat.com
Date:   Fri Jun 29 01:54:49 2012 +0200

added LANGUAGE_USER_SYSTEM_CONFIG 0xFFFE for configuration context

Intended as preparation to solve fdo#45830

Change-Id: Id3d5be9ef27e1b565ec0b21e580b89e893a782b8

diff --git a/i18npool/inc/i18npool/lang.h b/i18npool/inc/i18npool/lang.h
index 5da8729..825efac 100644
--- a/i18npool/inc/i18npool/lang.h
+++ b/i18npool/inc/i18npool/lang.h
@@ -537,6 +537,7 @@ typedef unsigned short LanguageType;
 #define LANGUAGE_USER_MARI_MEADOW   0x066D
 #define LANGUAGE_USER_PAPIAMENTU_CURACAO0x8479  /* makeLangID( 0x21, 
getPrimaryLanguage( LANGUAGE_PAPIAMENTU)) */
 #define LANGUAGE_USER_PAPIAMENTU_BONAIRE0x8879  /* makeLangID( 0x22, 
getPrimaryLanguage( LANGUAGE_PAPIAMENTU)) */
+#define LANGUAGE_USER_SYSTEM_CONFIG 0xFFFE  /* not a locale, to be 
used only in configuration context to obtain system default, primary 0x3fe, sub 
0x3f */
 
 #endif /* INCLUDED_I18NPOOL_LANG_H */
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[ANN] LibreOffice 3.5.5 RC2 available

2012-06-28 Thread Thorsten Behrens
Dear Community,

The Document Foundation is happy to announce the second release
candidate of LibreOffice 3.5.5. The upcoming 3.5.5 will be the fifth
in a series of frequent bugfix releases for our 3.5 code line. Please
be aware that LibreOffice 3.5.5 RC2 is not yet ready for production
use, you should continue to use LibreOffice 3.5.4 for that.

The release is available for Windows, Linux and Mac OS X from our QA
builds download page at

  http://www.libreoffice.org/download/pre-releases/

Should you find bugs, please report them to the FreeDesktop Bugzilla:

  https://bugs.freedesktop.org

A good way to assess the beta quality is to run some specific manual
tests on it, our TCM wiki page has more details:

 
http://wiki.documentfoundation.org/QA/Testing/Regression_Tests#Full_Regression_Test

 (and the announcement mail: 
http://lists.freedesktop.org/archives/libreoffice/2011-December/022464.html)
 
For other ways to get involved with this exciting project - you can
e.g. contribute code:

  http://www.libreoffice.org/get-involved/developers/

translate LibreOffice to your language:

  http://wiki.documentfoundation.org/Translation_for_3.5

or help with funding our operations:

  http://challenge.documentfoundation.org/

A list of known issues and fixed bugs with 3.5.5 RC2 is available
from our wiki:

  https://wiki.documentfoundation.org/Releases/3.5.5/RC2

Please find the list of changes against LibreOffice 3.5.5 RC1 here:

  
http://download.documentfoundation.org/libreoffice/src/bugfixes-libreoffice-3-5-5-release-3.5.5.2.log

Let us close again with a BIG Thank You! to all of you having
contributed to the LibreOffice project - this release would not have
been possible without your help.

Yours,

The Document Foundation Board of Directors


pgpDza12SCLuN.pgp
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: Branch 'feature/template-dialog' - 11 commits - sfx2/inc sfx2/source

2012-06-28 Thread Rafael Dominguez
 sfx2/inc/sfx2/templatefolderview.hxx   |2 
 sfx2/inc/sfx2/templatefolderviewitem.hxx   |2 
 sfx2/inc/sfx2/templateview.hxx |5 
 sfx2/inc/sfx2/thumbnailview.hxx|   20 -
 sfx2/inc/sfx2/thumbnailviewitem.hxx|3 
 sfx2/inc/templatedlg.hxx   |4 
 sfx2/source/control/templatefolderview.cxx |   57 +++
 sfx2/source/control/templatefolderviewitem.cxx |4 
 sfx2/source/control/templateview.cxx   |7 
 sfx2/source/control/thumbnailview.cxx  |  371 -
 sfx2/source/control/thumbnailviewitem.cxx  |6 
 sfx2/source/doc/templatedlg.cxx|   88 +
 sfx2/source/doc/templatedlg.hrc|5 
 sfx2/source/doc/templatedlg.src|5 
 14 files changed, 298 insertions(+), 281 deletions(-)

New commits:
commit 8f7d779f94ef277ab4162b4a45d81d1fdd2a1f7c
Author: Rafael Dominguez venccsra...@gmail.com
Date:   Thu Jun 28 23:14:52 2012 -0430

Display Move to Folder popup menu when selecting a template.

Change-Id: If4ad6a1809b428b55b26bdb21d64f41cc9b6fbf5

diff --git a/sfx2/inc/templatedlg.hxx b/sfx2/inc/templatedlg.hxx
index 46c3bcf..b406d25 100644
--- a/sfx2/inc/templatedlg.hxx
+++ b/sfx2/inc/templatedlg.hxx
@@ -56,6 +56,7 @@ private:
 DECL_LINK(TVTemplateStateHdl, const ThumbnailViewItem*);
 
 DECL_LINK(MenuSelectHdl, Menu*);
+DECL_LINK(MoveMenuSelectHdl, Menu*);
 
 DECL_LINK(OpenTemplateHdl, ThumbnailViewItem*);
 
@@ -82,6 +83,7 @@ private:
 TemplateFolderView *maView;
 PopupMenu *mpCreateMenu;
 PopupMenu *mpActionMenu;
+PopupMenu *mpMoveMenu;
 
 int mnSelectionCount;
 std::setconst ThumbnailViewItem* maSelTemplates;
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index 7668177..4a3eb37 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -91,6 +91,10 @@ SfxTemplateManagerDlg::SfxTemplateManagerDlg (Window *parent)
 
mpActionMenu-InsertItem(MNI_ACTION_SORT_NAME,SfxResId(STR_ACTION_SORT_NAME).toString());
 mpActionMenu-SetSelectHdl(LINK(this,SfxTemplateManagerDlg,MenuSelectHdl));
 
+mpMoveMenu = new PopupMenu;
+mpMoveMenu-InsertItem(MNI_MOVE_NEW,SfxResId(STR_MOVE_NEW).toString());
+
mpMoveMenu-SetSelectHdl(LINK(this,SfxTemplateManagerDlg,MoveMenuSelectHdl));
+
 Size aWinSize = GetOutputSize();
 
 // Calculate thumbnail view minimum size
@@ -123,6 +127,7 @@ SfxTemplateManagerDlg::SfxTemplateManagerDlg (Window 
*parent)
 // Set toolbox button bits
 mpViewBar-SetItemBits(TBI_TEMPLATE_CREATE, TIB_DROPDOWNONLY);
 mpActionBar-SetItemBits(TBI_TEMPLATE_ACTION, TIB_DROPDOWNONLY);
+mpTemplateBar-SetItemBits(TBI_TEMPLATE_MOVE,TIB_DROPDOWNONLY);
 
 // Set toolbox handlers
 mpViewBar-SetClickHdl(LINK(this,SfxTemplateManagerDlg,TBXViewHdl));
@@ -130,6 +135,7 @@ SfxTemplateManagerDlg::SfxTemplateManagerDlg (Window 
*parent)
 mpActionBar-SetClickHdl(LINK(this,SfxTemplateManagerDlg,TBXActionHdl));
 
mpActionBar-SetDropdownClickHdl(LINK(this,SfxTemplateManagerDlg,TBXDropdownHdl));
 
mpTemplateBar-SetClickHdl(LINK(this,SfxTemplateManagerDlg,TBXTemplateHdl));
+
mpTemplateBar-SetDropdownClickHdl(LINK(this,SfxTemplateManagerDlg,TBXDropdownHdl));
 
 // Set view position below toolbox
 Point aViewPos = maView-GetPosPixel();
@@ -188,6 +194,7 @@ SfxTemplateManagerDlg::~SfxTemplateManagerDlg ()
 delete maView;
 delete mpCreateMenu;
 delete mpActionMenu;
+delete mpMoveMenu;
 }
 
 IMPL_LINK_NOARG(SfxTemplateManagerDlg,ViewAllHdl)
@@ -309,6 +316,16 @@ IMPL_LINK(SfxTemplateManagerDlg, TBXDropdownHdl, ToolBox*, 
pBox)
 pBox-EndSelection();
 pBox-Invalidate();
 break;
+case TBI_TEMPLATE_MOVE:
+pBox-SetItemDown( nCurItemId, true );
+
+mpMoveMenu-Execute(pBox,pBox-GetItemRect(TBI_TEMPLATE_MOVE),
+POPUPMENU_EXECUTE_DOWN);
+
+pBox-SetItemDown( nCurItemId, false );
+pBox-EndSelection();
+pBox-Invalidate();
+break;
 default:
 break;
 }
@@ -392,6 +409,20 @@ IMPL_LINK(SfxTemplateManagerDlg, MenuSelectHdl, Menu*, 
pMenu)
 return 0;
 }
 
+IMPL_LINK(SfxTemplateManagerDlg, MoveMenuSelectHdl, Menu*, pMenu)
+{
+sal_uInt16 nMenuId = pMenu-GetCurItemId();
+
+if (nMenuId == MNI_MOVE_NEW)
+{
+}
+else
+{
+}
+
+return 0;
+}
+
 IMPL_LINK(SfxTemplateManagerDlg, OpenTemplateHdl, ThumbnailViewItem*, pItem)
 {
 uno::Sequence PropertyValue  aArgs(1);
diff --git a/sfx2/source/doc/templatedlg.hrc b/sfx2/source/doc/templatedlg.hrc
index 064e85c..5fbbfab 100644
--- a/sfx2/source/doc/templatedlg.hrc
+++ b/sfx2/source/doc/templatedlg.hrc
@@ -43,4 +43,9 @@
 
 #define STR_ACTION_SORT_NAME264
 
+#define MNI_MOVE_NEW265
+#define MNI_MOVE_FOLDER_BASE266
+
+#define STR_MOVE_NEW267
+
 #define 

Re: [Libreoffice-qa] Online update in 3.6

2012-06-28 Thread Roman Eisele
Hi Kendy,

Am 27.06.12 18:12, schrieb Jan Holesovsky:
 I have enabled the online update service for the 3.6 line now too - can
 you please test?  To test, please install the 3.6 Beta1, and choose
 'Help' - 'Check for Updates...' - it should offer you the Beta2 :-)

I tried some minutes ago, and on MacOS X 10.6.8, it works fine -- it
offers me Beta 2, and even selects the right (German) download page. Thanks!

Roman
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


Re: [Libreoffice-qa] bug 46250

2012-06-28 Thread Michael Meeks

On Wed, 2012-06-27 at 19:12 +0200, VLB1 wrote:
 The bug 46250 is begin in 3.5.0 and still in 3.6.0 beta 2!

With a code pointer it might be an easy-hack I suppose. The calc team
had a really good drive to reduce their regression count - but we lost
Kohei for vacation for the last several weeks which affected that :-)
he's back soon though.

ATB,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


Re: [Libreoffice-qa] Online update in 3.6

2012-06-28 Thread klaus-jürgen weghorn ol

Hi Kendy,
Am 28.06.2012 08:45, schrieb Jan Holesovsky:

Hi Klaus-Juergen,

On 2012-06-27 at 20:02 +0200, ol klaus-jürgen weghorn wrote:


Please report back any issues.  Thank you in advance!


So I don't get Beta2.


Oh!  A small glitch, it really should work now :-) - can you please
check?


Works now on WIN8beta and Beta1..


--
Grüße
k-j


___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/

[Libreoffice-qa] New WWW Bug Reports will send message to webs...@global.libreoffice.org

2012-06-28 Thread Rainer Bielefeld

Hi all,

to ensure that the Web Team gets info concerning infrastructure related 
Bugs immediately after a Bug report from now on this Mailing list will 
receive a note for every newly created report with Component WWW. 
Bugzilla mail daemon will only send this 1 Mail for the opened Bug, no 
more mails will be sent to here to limit the number of mails.


The settings for the Bugzilla mail daemon are the same as you find in 
your Bugzilla e-mail settings, if you have ideas for additional useful 
mails (Closed Bugs? Reopened Bugs?) please contact me!.


Best Regards


Rainer
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


Re: [Libreoffice-qa] Bug transfer from AOOo Bugzilla to LibO Bugzilla

2012-06-28 Thread Rainer Bielefeld

bfo schrieb:


Simple  Summary: [From Symphony] query returned 320 bugs



Hi,

Here
https://bugs.freedesktop.org/buglist.cgi?query_format=advancedemailreporter1=1list_id=88612field0-0-0=see_alsoemail1=bielefeldtype0-0-0=substringvalue0-0-0=https%3A%2F%2Fissues.apache.org%2Fooo%2Fshowproduct=LibreOfficeemailtype1=substring

The bugs submitted as a consequence of fixed AOOo Bugs.

Best regards


Rainer


___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


[Libreoffice-qa] [ANN] LibreOffice 3.5.5 RC2 available

2012-06-28 Thread Thorsten Behrens
Dear Community,

The Document Foundation is happy to announce the second release
candidate of LibreOffice 3.5.5. The upcoming 3.5.5 will be the fifth
in a series of frequent bugfix releases for our 3.5 code line. Please
be aware that LibreOffice 3.5.5 RC2 is not yet ready for production
use, you should continue to use LibreOffice 3.5.4 for that.

The release is available for Windows, Linux and Mac OS X from our QA
builds download page at

  http://www.libreoffice.org/download/pre-releases/

Should you find bugs, please report them to the FreeDesktop Bugzilla:

  https://bugs.freedesktop.org

A good way to assess the beta quality is to run some specific manual
tests on it, our TCM wiki page has more details:

 
http://wiki.documentfoundation.org/QA/Testing/Regression_Tests#Full_Regression_Test

 (and the announcement mail: 
http://lists.freedesktop.org/archives/libreoffice/2011-December/022464.html)
 
For other ways to get involved with this exciting project - you can
e.g. contribute code:

  http://www.libreoffice.org/get-involved/developers/

translate LibreOffice to your language:

  http://wiki.documentfoundation.org/Translation_for_3.5

or help with funding our operations:

  http://challenge.documentfoundation.org/

A list of known issues and fixed bugs with 3.5.5 RC2 is available
from our wiki:

  https://wiki.documentfoundation.org/Releases/3.5.5/RC2

Please find the list of changes against LibreOffice 3.5.5 RC1 here:

  
http://download.documentfoundation.org/libreoffice/src/bugfixes-libreoffice-3-5-5-release-3.5.5.2.log

Let us close again with a BIG Thank You! to all of you having
contributed to the LibreOffice project - this release would not have
been possible without your help.

Yours,

The Document Foundation Board of Directors


pgp0kQ2mPRz40.pgp
Description: PGP signature
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/

[Libreoffice-bugs] [Bug 40762] EDITING

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40762

--- Comment #2 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2012-06-27 22:57:23 PDT ---
Forward Test 1

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 40762] EDITING

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40762

--- Comment #3 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2012-06-27 22:59:21 UTC ---
Test 2

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 40762] EDITING

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40762

--- Comment #4 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2012-06-27 23:02:27 PDT ---
Test 3

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51500] New: Wiki: Seems to be dead

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51500

 Bug #: 51500
   Summary: Wiki: Seems to be dead
Classification: Unclassified
   Product: LibreOffice
   Version: unspecified
  Platform: Other
   URL: https://wiki.documentfoundation.org/
OS/Version: All
Status: UNCONFIRMED
  Severity: major
  Priority: medium
 Component: WWW
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: libreoff...@bielefeldundbuss.de
CC: libowebsiteforw...@bielefeldundbuss.de


After Wiki has been very slow the last hours now I only get blank pages when I
try to visit arbitrary Wiki pages. Same with Seamonkey and FF

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51502] New: TDF Site: dead?

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51502

 Bug #: 51502
   Summary: TDF Site: dead?
Classification: Unclassified
   Product: LibreOffice
   Version: unspecified
  Platform: Other
   URL: http://www.libreoffice.org/
OS/Version: All
Status: UNCONFIRMED
  Severity: critical
  Priority: medium
 Component: WWW
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: libreoff...@bielefeldundbuss.de
CC: libowebsiteforw...@bielefeldundbuss.de


a.m. URL only shows empty page in Seamonkey and FF for me

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51503] New: MAILING: Create Bugzilla account for list webs...@global.libreoffice.org

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51503

 Bug #: 51503
   Summary: MAILING: Create Bugzilla account for list
webs...@global.libreoffice.org
Classification: Unclassified
   Product: LibreOffice
   Version: unspecified
  Platform: Other
OS/Version: All
Status: NEW
  Severity: enhancement
  Priority: medium
 Component: WWW
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: libreoff...@bielefeldundbuss.de
CC: libowebsiteforw...@bielefeldundbuss.de


Please create a Bugzilla account for webs...@global.libreoffice.org and
forward account data to one of the Bugzilla admins (Thorsten Behrens, Michael
Meeks, Rainer Bielefeld) so that Component WWW will get a default mail to
webs...@global.libreoffice.org for every newly created WWW Bug report.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 44784] FORMATTING: Japanese Ruby Characters require an offset control in Asian Phonetic Guide

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44784

--- Comment #11 from sasha.libreoff...@gmail.com 2012-06-27 23:45:34 PDT ---
Created attachment 63546
  -- https://bugs.freedesktop.org/attachment.cgi?id=63546
PDF, produced from docx using msWord 2007 (Russian locale)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51502] TDF Site: dead?

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51502

Rainer Bielefeld libreoff...@bielefeldundbuss.de changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||WORKSFORME
 CC||LibreOffice@bielefeldundbus
   ||s.de

--- Comment #1 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2012-06-27 23:58:34 PDT ---
Seems to be back again

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51500] Wiki: Seems to be dead

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51500

Rainer Bielefeld libreoff...@bielefeldundbuss.de changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||WORKSFORME
 CC||LibreOffice@bielefeldundbus
   ||s.de

--- Comment #1 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2012-06-27 23:58:52 PDT ---
Seems to be back again

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51324] crash in xmloff.Impress.XMLContentImporter::com::sun::star::document::XImporter by CXX0X ABI incompatibilities

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51324

--- Comment #22 from Björn Michaelsen bjoern.michael...@canonical.com 
2012-06-28 00:02:47 PDT ---
just rechecked on Ubuntu 12.04 LTS precise: 1282 full runs of xmloff_unoapi
without one hickup. So yeah, something did creep in cxx0x compiled stuff in
Ubuntu 12.10 quantal in one/any of our deps. The fun is to find out what.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 44784] FORMATTING: Japanese Ruby Characters require an offset control in Asian Phonetic Guide

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44784

sasha.libreoff...@gmail.com changed:

   What|Removed |Added

   Platform|Other   |All
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1

--- Comment #12 from sasha.libreoff...@gmail.com 2012-06-28 00:02:59 UTC ---
Thanks for attachments
I see two main problem:
1. no control of distance between regular text and Ruby in Format-Asian
phonetic guide
2. docx files opens without Ruby (but doc opens with Ruby)

May by somewhere also lost aligning of Ruby (left, centred, ...)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51438] FILESAVE as xslx: cached formula result is not saved for calculated date cells

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51438

Markus Mohrhard markus.mohrh...@googlemail.com changed:

   What|Removed |Added

   Severity|normal  |enhancement
   Priority|medium  |low

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 44784] FORMATTING: Japanese Ruby Characters require an offset control in Asian Phonetic Guide

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44784

--- Comment #13 from sasha.libreoff...@gmail.com 2012-06-28 00:06:02 PDT ---
@ Caolan
Greetings
What do You think about this problem (no control of distance between Ruby and
main text)?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51447] VIEWING: relative Positions of elements change when zoom

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51447

--- Comment #2 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2012-06-28 00:14:10 PDT ---
Created attachment 63547
  -- https://bugs.freedesktop.org/attachment.cgi?id=63547
Sample 2

Currently it looks more like a picture.png zoom problem. 

Steps to reproduce:

1. Download / open Sample 2
2. make invisible Navigator, Styles  and other similar side panes
3. Single click yellow text box
Control points appear
4. Do an 'Object Zoom' using icon in Zoom bar
Text box fills more or less all monitor screen
   Bug: height / width ration for text in screenshots broken
5. scroll horizontal using slider
   Bug: Redraw terribly broken for pictures.png

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51507] New: conditional formatting of type Formula is lost in files saved with LO 3.6

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51507

 Bug #: 51507
   Summary: conditional formatting of type Formula is lost in
files saved with LO 3.6
Classification: Unclassified
   Product: LibreOffice
   Version: 3.6.0.0.beta2
  Platform: All
OS/Version: Linux (All)
Status: UNCONFIRMED
  Severity: critical
  Priority: medium
 Component: Spreadsheet
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: jbf.fa...@orange.fr


Created attachment 63548
  -- https://bugs.freedesktop.org/attachment.cgi?id=63548
bugdoc saved with LO 3.6

Version : 3.6.0.0.beta2+ (Build ID: 2992b53)
Ubuntu 11.10 x86_64 with gnome-shell

The attached bugdoc is a spreadsheet designed with LO 3.5 and modified with LO
3.6. this spreadsheet contains conditional formatting of both types Value is
and Formula is. The last type is used to set the backgroung of each line,
alternating between blank and yellow background.

steps to reproduce:
- open the bugdoc with LO 3.5 : works fine. Close the file without saving.
- open the bugdoc with LO 3.6 : alternating background are lost
- select cell C6 and open Conditional Formatting dialog : condition is of type
Formula is but the formula shown is 0 instead of MOD(LIGNE();2)=0
- in the dialog the string Apply style is not there unlike condition Value
is
- more generally :
  * dialog window is too small
  * dropdown list for style names is too small
  * it seems that exemple box is not functionnal when reopening the file

Best regards. JBF

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51508] New: : Writer OLE object inserted to presentation changes its size and position after editing

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51508

 Bug #: 51508
   Summary: : Writer OLE object inserted to presentation changes
its size and position after editing
Classification: Unclassified
   Product: LibreOffice
   Version: 3.5.3 release
  Platform: Other
OS/Version: All
Status: UNCONFIRMED
 Status Whiteboard: BSA
  Severity: normal
  Priority: medium
 Component: Presentation
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: china...@ya.ru


Created attachment 63549
  -- https://bugs.freedesktop.org/attachment.cgi?id=63549
Screenshots of the described four steps

Problem description: 

Steps to reproduce:
1. Create four snap lines to have a rectangle.
2. Place the Writer text (OLE object) in the rectangle, change its size to fit
the rectangle and write some text to have a paragraph of several lines.
3. Click somewhere outside the OLE object to finish editing.
4. Double-click OLE object again to edit it.

Current behavior:
1. On step 2 Writer text become squeezed.
2. On step 3 OLE object changes the size and Writer text goes out of the
rectangle.
3. On step 4 OLE object changes the size and position again.

Expected behavior:
No squeezing. No self-resizing. No position change.

Platform (if different from the browser): 
Win32  Ubuntu

Browser: Opera/9.80 (X11; Linux i686; U; ru) Presto/2.10.289 Version/12.00

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51502] TDF Site: dead?

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51502

Florian Effenberger flo...@documentfoundation.org changed:

   What|Removed |Added

 CC||floeff@documentfoundation.o
   ||rg

--- Comment #2 from Florian Effenberger flo...@documentfoundation.org 
2012-06-28 00:40:00 PDT ---
Restarted SQL server, seems to work now

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51500] Wiki: Seems to be dead

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51500

Florian Effenberger flo...@documentfoundation.org changed:

   What|Removed |Added

 CC||floeff@documentfoundation.o
   ||rg

--- Comment #2 from Florian Effenberger flo...@documentfoundation.org 
2012-06-28 00:40:05 PDT ---
Restarted SQL server, seems to work now

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51503] MAILING: Create Bugzilla account for list webs...@global.libreoffice.org

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51503

Florian Effenberger flo...@documentfoundation.org changed:

   What|Removed |Added

 CC||floeff@documentfoundation.o
   ||rg

--- Comment #1 from Florian Effenberger flo...@documentfoundation.org 
2012-06-28 00:40:48 PDT ---
Feel free to create that account in BugZilla and ping me directly when the
confirmation message should have arrived. I'll fish it out from our moderation
queue so we can confirm the account.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 48009] EDITING: Data points missing in line chart

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48009

sasha.libreoff...@gmail.com changed:

   What|Removed |Added

   Platform|Other   |All
 OS/Version|All |Linux (All)
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1

--- Comment #12 from sasha.libreoff...@gmail.com 2012-06-28 00:47:52 PDT ---
Thanks for attachment. Now reproduced. My fault was that I used XY type
instead of Line.
Here I will describe what happens if double click on chart:
in 3.3.4 on Fedora: all points becomes visible, but dates now treating as text
in 3.5.2 on Windows 7: all becomes correct
in 3.5.4 and 3.6.beta1 on Fedora: point from line 1 appears, but point from
line 7 still not appears.

Deleting any row of data fixes problem.

So, reproduced in 3.5.4 and 3.6.b1 on Fedora 64 bit

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 47978] LO does not save/open charts in .XLS files properly

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47978

sasha.libreoff...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||WORKSFORME

--- Comment #3 from sasha.libreoff...@gmail.com 2012-06-28 00:52:13 PDT ---
Thanks for additional testing
Due to last comment, changing status to WorksForMe

If problem will appear again, please, change status to Reopened

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 51299] Impress produces reliably crashes when clicking Tabs

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51299

--- Comment #7 from ullakat...@gmx.net 2012-06-28 01:34:25 PDT ---
Created attachment 63550
  -- https://bugs.freedesktop.org/attachment.cgi?id=63550
Backtrace attempt #2.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 38983] Word Count counts incorrectly with dashes and other separators

2012-06-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38983

Astron heinzless...@gmail.com changed:

   What|Removed |Added

 Status|NEEDINFO|NEW

--- Comment #11 from Astron heinzless...@gmail.com 2012-06-28 01:37:33 PDT ---
Setting this to NEW.

Can reproduce  completely agree with James's proposal.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


  1   2   3   >