[Libreoffice-commits] core.git: svtools/source

2015-11-08 Thread Maxim Monastirsky
 svtools/source/uno/popupmenucontrollerbase.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8655fa318c1924994eb659b4bb60074c86ad70c1
Author: Maxim Monastirsky 
Date:   Sun Nov 8 01:33:47 2015 +0200

Fix property name: ModuleName -> ModuleIdentifier

8b050d1e91a6623fb2770421e564a74d6259d816 changed this everywhere
except here. (This reason is that the commit was imported from Apache,
which didn't have this place.)

Change-Id: I07a914298ee0d350c744789a5dd39605b01e5311

diff --git a/svtools/source/uno/popupmenucontrollerbase.cxx 
b/svtools/source/uno/popupmenucontrollerbase.cxx
index 06c33ff..914ae1d 100644
--- a/svtools/source/uno/popupmenucontrollerbase.cxx
+++ b/svtools/source/uno/popupmenucontrollerbase.cxx
@@ -319,7 +319,7 @@ void SAL_CALL PopupMenuControllerBase::initialize( const 
Sequence< Any >& aArgum
 aPropValue.Value >>= xFrame;
 else if ( aPropValue.Name == "CommandURL" )
 aPropValue.Value >>= aCommandURL;
-else if ( aPropValue.Name == "ModuleName" )
+else if ( aPropValue.Name == "ModuleIdentifier" )
 aPropValue.Value >>= m_aModuleName;
 }
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: desktop/qa sc/source

2015-11-08 Thread Andrzej Hunt
 desktop/qa/desktop_lib/test_desktop_lib.cxx |   20 
 sc/source/ui/view/gridwin.cxx   |7 ++-
 2 files changed, 22 insertions(+), 5 deletions(-)

New commits:
commit 2f13f051c3c39f77d5f65ff0e3f4a476ccb95f1a
Author: Andrzej Hunt 
Date:   Fri Nov 6 18:09:34 2015 +0100

sc lok: Add initial test for .uno:CellCursor

This should be extended with checking that we receive "EMPTY"
when there is no cursor shown - that would require e.g. simulating
keyboard input to hide the cell cursor.

Change-Id: Ia7be5ec3e158f21967b4c307ac10abb2b5e2a56a
Reviewed-on: https://gerrit.libreoffice.org/19828
Tested-by: Jenkins 
Reviewed-by: Andrzej Hunt 
Tested-by: Andrzej Hunt 

diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx 
b/desktop/qa/desktop_lib/test_desktop_lib.cxx
index 0e66678..17002b7 100644
--- a/desktop/qa/desktop_lib/test_desktop_lib.cxx
+++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx
@@ -68,6 +68,7 @@ public:
 void testSaveAsCalc();
 void testPasteWriter();
 void testRowColumnHeaders();
+void testCellCursor();
 void testCommandResult();
 
 CPPUNIT_TEST_SUITE(DesktopLOKTest);
@@ -82,6 +83,7 @@ public:
 CPPUNIT_TEST(testSaveAsCalc);
 CPPUNIT_TEST(testPasteWriter);
 CPPUNIT_TEST(testRowColumnHeaders);
+CPPUNIT_TEST(testCellCursor);
 CPPUNIT_TEST(testCommandResult);
 CPPUNIT_TEST_SUITE_END();
 
@@ -435,6 +437,24 @@ void DesktopLOKTest::testRowColumnHeaders()
 }
 }
 
+void DesktopLOKTest::testCellCursor()
+{
+LibLODocument_Impl* pDocument = loadDoc("search.ods");
+
+boost::property_tree::ptree aTree;
+
+char* pJSON = pDocument->m_pDocumentClass->getCommandValues(pDocument, 
".uno:CellCursor?tileWidth=1&tileHeight=1&outputWidth=1&outputHeight=1");
+
+std::stringstream aStream(pJSON);
+free(pJSON);
+CPPUNIT_ASSERT(!aStream.str().empty());
+
+boost::property_tree::read_json(aStream, aTree);
+
+OString aRectangle(aTree.get("commandValues").c_str());
+CPPUNIT_ASSERT_EQUAL(aRectangle, OString("0, 0, 1278, 254"));
+}
+
 void DesktopLOKTest::testCommandResult()
 {
 LibLODocument_Impl* pDocument = loadDoc("blank_text.odt");
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 3ab0f738..9d6639b 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -5789,13 +5789,10 @@ OString ScGridWindow::getCellCursor( int nOutputWidth, 
int nOutputHeight,
 }
 
 OString ScGridWindow::getCellCursor(const Fraction& rZoomX, const Fraction& 
rZoomY) {
-ScDocument* pDoc = pViewData->GetDocument();
-ScDrawLayer* pDrawLayer = pDoc->GetDrawLayer();
-
-// GridWindows stores a shown cell cursor in mpOOCursors, hence
+// GridWindow stores a shown cell cursor in mpOOCursors, hence
 // we can use that to determine whether we would want to be showing
 // one (client-side) for tiled rendering too.
-if (!pDrawLayer->isTiledRendering() || !mpOOCursors.get())
+if (!mpOOCursors.get())
 {
 return OString("EMPTY");
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'aoo/trunk' - basic/source

2015-11-08 Thread Damjan Jovanovic
 basic/source/runtime/methods.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 519770a2b47d4bb95a7616cedcc1582ae83ab205
Author: Damjan Jovanovic 
Date:   Sun Nov 8 09:28:19 2015 +

#i61854# OpenOffice.org Basic: Default title of Msgboxes should be changed

Found by: berend dot cornelius at germany dot sun dot com
Patch by: Pathangi Janardhanan Jatinshravan 
Review by: Damjan Jovanovic

diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 6d5b036..8e48066 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -4280,7 +4280,7 @@ RTLFUNC(MsgBox)
 if( nArgCount >= 4 )
 aTitle = rPar.Get(3)->GetString();
 else
-aTitle = GetpApp()->GetAppName();
+aTitle = GetpApp()->GetDisplayName();
 
 nType &= (16+32+64);
 MessBox* pBox = 0;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Unicode characters in Thesaurus dialog box

2015-11-08 Thread shantanu oak
Hi,
I am developing Thesaurus for Marathi language. I have 2 synonyms added for
a word. Out of which the first one is shown correctly.

(noun)|सत्ता
(विशेषण)|प्रभुत्व

https://www.flickr.com/photos/shantanuo/22450714007

The first word is shown correctly while the second one is shown as boxes.
This is because there is no ascii character like a-z . I guess there is
some regular expression preventing any word other than english to be
displayed correctly. Can someone confirm this is bug so that I can add it
to bugzilla.

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


Crash test update

2015-11-08 Thread Crashtest VM
New crashtest update available at 
http://dev-builds.libreoffice.org/crashtest/b846b03c709130564527da8d264660a131361221/


exportCrashes.csv
Description: Binary data


importCrash.csv
Description: Binary data


validationErrors.csv
Description: Binary data
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: sw/source

2015-11-08 Thread Sedat Ak
 sw/source/filter/html/htmlnumwriter.cxx |   22 +-
 1 file changed, 9 insertions(+), 13 deletions(-)

New commits:
commit bfc9619fccd17c5059949afc06953695222dea3b
Author: Sedat Ak 
Date:   Sun Nov 8 04:00:12 2015 +0200

tdf#57950 Replace chained O(U)StringBuffer::append() with operator+

Change-Id: I7065f88c752dbd6b7db3f4b4efaec85d083edede
Reviewed-on: https://gerrit.libreoffice.org/19839
Tested-by: Jenkins 
Reviewed-by: Björn Michaelsen 

diff --git a/sw/source/filter/html/htmlnumwriter.cxx 
b/sw/source/filter/html/htmlnumwriter.cxx
index 93bc45d..a3c1588 100644
--- a/sw/source/filter/html/htmlnumwriter.cxx
+++ b/sw/source/filter/html/htmlnumwriter.cxx
@@ -180,14 +180,13 @@ Writer& OutHTML_NumBulListStart( SwHTMLWriter& rWrt,
 rWrt.OutNewLine(); // / in eine neue Zeile
 
 rWrt.m_aBulletGrfs[i].clear();
-OStringBuffer sOut;
-sOut.append('<');
+OString sOut = "<";
 const SwNumFormat& rNumFormat = rInfo.GetNumRule()->Get( i );
 sal_Int16 eType = rNumFormat.GetNumberingType();
 if( SVX_NUM_CHAR_SPECIAL == eType )
 {
 // Aufzaehlungs-Liste: 
-sOut.append(OOO_STRING_SVTOOLS_HTML_unorderlist);
+sOut += OString(OOO_STRING_SVTOOLS_HTML_unorderlist);
 
 // den Typ ueber das Bullet-Zeichen bestimmen
 const sal_Char *pStr = 0;
@@ -206,15 +205,14 @@ Writer& OutHTML_NumBulListStart( SwHTMLWriter& rWrt,
 
 if( pStr )
 {
-sOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_type).
-append("=\"").append(pStr).append("\"");
+sOut += " " + OString(OOO_STRING_SVTOOLS_HTML_O_type) + "=\"" 
+ OString(pStr) + "\"";
 }
 }
 else if( SVX_NUM_BITMAP == eType )
 {
 // Unordered list: 
-sOut.append(OOO_STRING_SVTOOLS_HTML_unorderlist);
-rWrt.Strm().WriteCharPtr( sOut.makeStringAndClear().getStr() );
+sOut += OString(OOO_STRING_SVTOOLS_HTML_unorderlist);
+rWrt.Strm().WriteOString( sOut );
 OutHTML_BulletImage( rWrt,
 0,
 rNumFormat.GetBrush() );
@@ -222,7 +220,7 @@ Writer& OutHTML_NumBulListStart( SwHTMLWriter& rWrt,
 else
 {
 // Ordered list: 
-sOut.append(OOO_STRING_SVTOOLS_HTML_orderlist);
+sOut += OString(OOO_STRING_SVTOOLS_HTML_orderlist);
 
 // den Typ ueber das Format bestimmen
 sal_Char cType = 0;
@@ -245,8 +243,7 @@ Writer& OutHTML_NumBulListStart( SwHTMLWriter& rWrt,
 }
 if( cType )
 {
-sOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_type).
-append("=\"").append(cType).append("\"");
+sOut += " " + OString(OOO_STRING_SVTOOLS_HTML_O_type) + "=\"" 
+ OString(cType) + "\"";
 }
 
 sal_uInt16 nStartVal = rNumFormat.GetStart();
@@ -265,13 +262,12 @@ Writer& OutHTML_NumBulListStart( SwHTMLWriter& rWrt,
 }
 if( nStartVal != 1 )
 {
-sOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_start).
-
append("=\"").append(static_cast(nStartVal)).append("\"");
+sOut += " " + OString(OOO_STRING_SVTOOLS_HTML_O_start) + "=\"" 
+ OString::number(static_cast(nStartVal)) + "\"";
 }
 }
 
 if (!sOut.isEmpty())
-rWrt.Strm().WriteCharPtr( sOut.makeStringAndClear().getStr() );
+rWrt.Strm().WriteOString( sOut );
 
 if( rWrt.m_bCfgOutStyles )
 OutCSS1_NumBulListStyleOpt( rWrt, *rInfo.GetNumRule(), 
(sal_uInt8)i );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Bug 57950] Replace chained O(U)StringBuffer::append() with operator+

2015-11-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=57950

--- Comment #61 from Commit Notification 
 ---
Sedat Ak committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=bfc9619fccd17c5059949afc06953695222dea3b

tdf#57950 Replace chained O(U)StringBuffer::append() with operator+

It will be available in 5.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
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] core.git: slideshow/opengl

2015-11-08 Thread Tor Lillqvist
 slideshow/opengl/dissolveFragmentShader.glsl |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 04352b481cc711dd2f9c345f69fb6a22a585cd29
Author: Tor Lillqvist 
Date:   Sun Nov 8 16:52:39 2015 +0200

Now I understand why that multiplication by 10 was there originally

I was suffering from one basic misunderstanding: I did not get it that
samplers are indexed with normalized texture coordinates, i.e. 0..1.
(Note that multiplying a coordinate by any number does not break
anything horribly for this use case, looking up a pseudo-random
number, because textures by default repeat as a coordinate wraps.)

We multiply by 10 so that neighbouring pixels that map to close index
into the permTexture don't get clumped together with close sn values,
and thus same behaviour.

(Sure, the multiplication by 256 that I had changed it to worked, too,
but not the way my initial reasoning went... So let's use the original
10 to avoid somebody else thinking that we need to multiply by 256
because permTexture is built from a 256x256 array.)

(See 1877228ae8e7cc298cf4e45d061ee54774aa1d08)

Change-Id: I1d350446460fe2fdd3e55f00053a5ce01d2d117c

diff --git a/slideshow/opengl/dissolveFragmentShader.glsl 
b/slideshow/opengl/dissolveFragmentShader.glsl
index 6ce3d53..c0fdbf4 100644
--- a/slideshow/opengl/dissolveFragmentShader.glsl
+++ b/slideshow/opengl/dissolveFragmentShader.glsl
@@ -40,7 +40,7 @@ float snoise(vec2 P) {
 }
 
 void main() {
- float sn = snoise(256*v_texturePosition);
+ float sn = snoise(10.0*v_texturePosition);
  if( sn < time)
  gl_FragColor = texture2D(enteringSlideTexture, v_texturePosition);
  else
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: helpcontent2

2015-11-08 Thread Stanislav Horacek
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 80582896d370750fa5ff88f28208c1ef9f3b21af
Author: Stanislav Horacek 
Date:   Sat Nov 7 19:20:48 2015 +0100

Updated core
Project: help  e3edc535120b598fe44f7b9500d6433eb611ac61

tdf#95626 add holding Ctrl key to undocking Navigator

Change-Id: I8ce3521cce64f013be947ee4cdff2ded06f2aa2f
Reviewed-on: https://gerrit.libreoffice.org/19838
Reviewed-by: Adolfo Jayme Barrientos 
Tested-by: Adolfo Jayme Barrientos 

diff --git a/helpcontent2 b/helpcontent2
index 3436f22..e3edc53 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit 3436f221098263a0053222bbee1dac7e3b06cf82
+Subproject commit e3edc535120b598fe44f7b9500d6433eb611ac61
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] help.git: source/text

2015-11-08 Thread Stanislav Horacek
 source/text/swriter/guide/arrange_chapters.xhp |  139 -
 1 file changed, 68 insertions(+), 71 deletions(-)

New commits:
commit e3edc535120b598fe44f7b9500d6433eb611ac61
Author: Stanislav Horacek 
Date:   Sat Nov 7 19:20:48 2015 +0100

tdf#95626 add holding Ctrl key to undocking Navigator

Change-Id: I8ce3521cce64f013be947ee4cdff2ded06f2aa2f
Reviewed-on: https://gerrit.libreoffice.org/19838
Reviewed-by: Adolfo Jayme Barrientos 
Tested-by: Adolfo Jayme Barrientos 

diff --git a/source/text/swriter/guide/arrange_chapters.xhp 
b/source/text/swriter/guide/arrange_chapters.xhp
index 4c619f7..aa481c5 100644
--- a/source/text/swriter/guide/arrange_chapters.xhp
+++ b/source/text/swriter/guide/arrange_chapters.xhp
@@ -1,6 +1,5 @@
 
 
-   
 
- 
-   
+-->
+
 
-  
- Rearranging a Document by Using the 
Navigator
- /text/swriter/guide/arrange_chapters.xhp
-  
-   
-   
-headings;rearranging
-  rearranging headings
-  moving;headings
-  demoting heading levels
-  promoting heading levels
-  Navigator;heading levels and chapters
-  arranging;headings
-  outlines;arranging chapters
-mw added "outlines;..." entry
-Arranging Chapters in the Navigator
-
-You can move headings and subordinate text up and down in a 
document text by using the Navigator. You can also promote and demote heading 
levels. To use this feature, format the headings in your document with one of 
the predefined heading paragraph styles. To use a custom paragraph style for a 
heading, choose Tools - Outline Numbering, select the style in the 
Paragraph Style box, and then double-click a number in the 
Levels list.
-To quickly move the text cursor to a heading in the document, 
double-click the heading in the Navigator list.
-To dock the Navigator, drag the title bar to the edge 
of the workspace. To undock the Navigator, double-click its 
frame.
-To Move a Heading Up or Down in the Document
-Ensure that all heading levels are shown in the Navigator. By 
default all levels are shown. See steps below how to change the heading levels 
that are shown.
+  
+Rearranging a Document by Using the 
Navigator
+/text/swriter/guide/arrange_chapters.xhp
+  
+
+
+
+
+
+  headings;rearranging
+  rearranging headings
+  moving;headings
+  demoting heading levels
+  promoting heading levels
+  Navigator;heading levels and chapters
+  arranging;headings
+  outlines;arranging chapters
+
+
+
+Arranging Chapters in the Navigator 

+You can move 
headings and subordinate text up and down in a document text by using the 
Navigator. You can also promote and demote heading levels. To use this feature, 
format the headings in your document with one of the predefined heading 
paragraph styles. To use a custom paragraph style for a heading, choose 
Tools - Outline Numbering, select the style in the Paragraph 
Style box, and then double-click a number in the Levels 
list.
+To quickly move the 
text cursor to a heading in the document, double-click the heading in the 
Navigator list.
+To dock the 
Navigator, drag the title bar to the edge of the workspace. To 
undock the Navigator, double-click its frame while holding the 
Command
+Ctrl 
key.
+
+To Move 
a Heading Up or Down in the Document
+Ensure 
that all heading levels are shown in the Navigator. By default all levels are 
shown. See steps below how to change the heading levels that are 
shown.
+
 
-
-On the Standard Bar, click the Navigator 
icon 
-Icon
-to open the Navigator.
-
-
-On the Navigator, click the Content View 
icon 
-Icon
-   .
-
-
-Do one of the following:
-
+  
+On the 
Standard Bar, click the Navigator icon Icon to open the 
Navigator.
+  
+  
+On the 
Navigator, click the Content View icon Icon.
+  
+  
+Do one of 
the following:
+  
 
+
 
-
-Drag a heading to a new location in the Navigator 
list.
-
-
-Click a heading in the Navigator list, and then click 
the Promote Chapter
-Icon
-or Demote Chapter icon 
-Icon
-   .
-
+  
+Drag a 
heading to a new location in the Navigator list.
+  
+  
+Click a 
heading in the Navigator list, and then click the Promote 
Chapter Icon or Demote 
Chapter icon Icon.
+  
 
-To move the heading without the subordinate text, hold down Ctrl 
while you drag or click the Promote Chapter or Demote 
Chapter icons.
-To Promote or Demote the Level of a Heading
+To move the heading 
without the subordinate text, hold down Command
+Ctrl while you drag 
or click the Promote Chapter or Demote Chapter 
icons.
+
+To 
Promote or Demote the Level of a Heading
+
 
-
-Select the heading in the Navigator list. 
-
-
-Click 
the Promote Level 
-Icon
-or Demote Level icon 
-Icon
-   .
-
+  
+Select the 
heading in the Navigator list.
+  
+  
+Click the 
Promote Level Icon or Demote Level icon Icon.
+  
 
-To Change the Number of Heading Levels That Are 
Displayed
-Click the Heading Levels Shown icon 
-Icon
-   , and then 

Re: Developer Info

2015-11-08 Thread Massimiliano Fiori
Hi, 
Yes i hadn't set CCACHE correctly. Now i have builded lode successfully.
Now what is my next step to create a patch for the project?

Thanks a lot, 
Massimiliano. 


> Il giorno 07 nov 2015, alle ore 21:11, jan iversen  
> ha scritto:
> 
> Hi.
> 
> I researched it a bit more, it seems that the clang compiler is not well 
> supported by lode.
> 
> Have a look at:
> https://wiki.documentfoundation.org/Development/Building_LibreOffice_with_Clang#Setup
>  
> 
> 
> the developer specialists told me, that your problem is typically caused 
> because you
> do not have
> CCACHE_CPP2=1
> 
> Have fun
> rgds
> jan i.
> 
> 
> On 7 November 2015 at 19:59, jan iversen  > wrote:
> Hi.
> 
> It seems to me you missed the "autogen.sh" statement.
> 
> you ran "setup --dev" and checked out the source.
> 
> then you need to do:
> 
> cd dev/core
> ./autogen.sh
> 
> and after that (if it does not give you any errors)
> ../../opt/bin/make 2>&1 | tee build.log
> 
> you can run ./autogen.sh anytime, so please run it again, and make sure it 
> does not report errors.
> 
> Secondly it is important that you use "../../opt/bin/make" and NOT the make 
> standard in OSX.
> 
> Finally you need to deactivate your virus checker (this is not the problem 
> right now).
> 
> Please try my suggestion, and then let me have the whole build.log
> 
> have fun
> jan i.
> 
> On 7 November 2015 at 14:54, Massimiliano Fiori  > wrote:
> Hi Sakunt,
> nice to meet you!
> 
> I try to build lode and i have this error after '../../opt/bin/make 2>&1 | 
> tee build.log’ command :
> 
> [build C  ] cppuhelper/source/findsofficepath.c
> clang: error: argument unused during compilation: '-I 
> /Users/Bayway/Developer/lode/dev/core/cppuhelper/source/'
> clang: error: argument unused during compilation: '-I 
> /Users/Bayway/Developer/lode/dev/core/include'
> clang: error: argument unused during compilation: '-I 
> /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/include'
> clang: error: argument unused during compilation: '-I 
> /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/include/darwin'
> clang: error: argument unused during compilation: '-I 
> /Users/Bayway/Developer/lode/dev/core/config_host'
> /Users/Bayway/Developer/lode/dev/core/solenv/gbuild/LinkTarget.mk:138: recipe 
> for target 
> '/Users/Bayway/Developer/lode/dev/core/workdir/CObject/cppuhelper/source/findsofficepath.o'
>  failed
> make[1]: *** 
> [/Users/Bayway/Developer/lode/dev/core/workdir/CObject/cppuhelper/source/findsofficepath.o]
>  Error 1
> Makefile:247: recipe for target 'build' failed
> make: *** [build] Error 2
> 
> My OS: Mac OSX 10.11.2
> 
> Thanks for all, 
> Massimiliano
> 
> 
>> Il giorno 07 nov 2015, alle ore 09:21, jan iversen > > ha scritto:
>> 
>> Hi Massimiliano.
>> 
>> Welcome.
>> 
>> Sakunt meet Massimiliano
>> Massimiliano meet Sakunt.
>> 
>> As I wrote to Sakunt, I am would like to help you get started and help you 
>> get the first patches submitted.
>> 
>> The first 3-4 patches are always the most difficult, because you need to get 
>> the environment setup, write
>> commit messagees correctly etc. but that is exactly the point where we can 
>> work together.
>> 
>> Let us make a little "starter" and before you know it, you will be part of 
>> our communty.
>> 
>> Please look around in the wiki, and get started with lode.
>> 
>> Feel free to mail me directly (this mail is cc to the mailing list, so the 
>> other community member know what we
>> are doing) if you have questions or comments.
>> 
>> rgds
>> jan i.
>> 
>> 
>> On 7 November 2015 at 02:06, Massimiliano Fiori > > wrote:
>> Hi,
>> my name si Massimiliano and I have read your e-mail on list I would to help 
>> LibreOffice Project too and i would to take developer certificate in future, 
>> I've already worked on some easy hack, I can help in anyway?
>> I have more experience in java but I also know C and Python
>> 
>> Thanks a lot,
>> Regards
>> 
>> Massimiliano
>> 
> 
> 
> 

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


auto complete words list

2015-11-08 Thread shantanu oak
Hi,
I have offered $5 to anyone who will let me know how to fix Bug 92311 -
Raise the limit of auto complete entries.
https://bugs.documentfoundation.org/show_bug.cgi?id=92311

here's the FreedomSponsors link:
https://freedomsponsors.org/issue/741/rise-the-limit-of-auto-complete-entries

I do not know the scope of work required. I have therefore started with
lowest possible amount.

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


[Libreoffice-commits] core.git: helpcontent2

2015-11-08 Thread Andras Timar
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 241833e46f7878ed05945ed019f3e48fe515092a
Author: Andras Timar 
Date:   Sun Nov 8 17:30:21 2015 +0100

Updated core
Project: help  2f91170b8637554100e427525541ade2fd38c574

tdf#94473 add missing hid

Change-Id: Ib0709570cdbfdf2ea4dc7e025319ae4acdb1ff36

diff --git a/helpcontent2 b/helpcontent2
index e3edc53..2f91170 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit e3edc535120b598fe44f7b9500d6433eb611ac61
+Subproject commit 2f91170b8637554100e427525541ade2fd38c574
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] help.git: source/text

2015-11-08 Thread Andras Timar
 source/text/shared/01/01100200.xhp |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 2f91170b8637554100e427525541ade2fd38c574
Author: Andras Timar 
Date:   Sun Nov 8 17:30:21 2015 +0100

tdf#94473 add missing hid

Change-Id: Ib0709570cdbfdf2ea4dc7e025319ae4acdb1ff36

diff --git a/source/text/shared/01/01100200.xhp 
b/source/text/shared/01/01100200.xhp
index 53d15bc..3effbba 100644
--- a/source/text/shared/01/01100200.xhp
+++ b/source/text/shared/01/01100200.xhp
@@ -1,6 +1,6 @@
 
 
-   
+
 
- 
-   
+
+
 
   
  General
@@ -57,6 +57,7 @@
   Displays the date and time and author when the file was first 
saved.
   Modified:
   Displays the date and time and author when the file was last saved 
in a $[officename] file format.
+
   Digitally signed:
   Displays the date and the time when the file was last signed as well 
as the name of the author who signed the document.
   Digital Signature
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] online.git: loleaflet/build loleaflet/dist loleaflet/src

2015-11-08 Thread Henry Castro
 loleaflet/build/deps.js   |   14 +++
 loleaflet/dist/leaflet.css|  104 ++
 loleaflet/src/control/Control.ColumnHeader.js |   64 
 loleaflet/src/control/Control.RowHeader.js|   61 +++
 4 files changed, 243 insertions(+)

New commits:
commit fd6d0c2b53c862303c1f3f4244d7f16258a53dfd
Author: Henry Castro 
Date:   Sun Nov 8 12:29:58 2015 -0400

loleaflet: add ColumnHeader and RowHeader controls

Column and Row headers for spreadsheet documents, based
on html table tag

diff --git a/loleaflet/build/deps.js b/loleaflet/build/deps.js
index c9b3d1a..017b6bb 100644
--- a/loleaflet/build/deps.js
+++ b/loleaflet/build/deps.js
@@ -282,6 +282,20 @@ var deps = {
desc: 'Parts preview sidebar'
},
 
+ControlColumnHeader: {
+src: ['control/Control.js',
+  'control/Control.ColumnHeader.js'],
+heading: 'Controls',
+desc: 'Column Header bar'
+},
+
+ControlRowHeader: {
+src: ['control/Control.js',
+  'control/Control.RowHeader.js'],
+heading: 'Controls',
+desc: 'Row Header bar'
+},
+
ControlTabs: {
src: ['control/Control.js',
  'control/Control.Tabs.js'],
diff --git a/loleaflet/dist/leaflet.css b/loleaflet/dist/leaflet.css
index 033e8ab..af534ee 100644
--- a/loleaflet/dist/leaflet.css
+++ b/loleaflet/dist/leaflet.css
@@ -733,9 +733,113 @@ a.leaflet-control-buttons:hover:first-child {
}
 
 .spreadsheet-document {
+border-top: 1px solid #B6B6B6 !important;
+top: 100px !important;
+left: 50px !important;
bottom: 20px !important;
 }
 
+.spreadsheet-container-column {
+position: absolute;
+left: 0px;
+top: 80px;
+width: 100%;
+height: 20px;
+margin: 0px;
+padding: 0px;
+border-width: 0px;
+overflow: hidden;
+}
+
+.spreadsheet-container-table {
+table-layout: fixed;
+width: 100%;
+height: 100%;
+border-spacing: 0px;
+border-collapse: collapse;
+border-width: 0px;
+margin: 0px;
+padding: 0px;
+}
+
+.spreadsheet-container-th-corner {
+border: 1px solid black;
+background-color: darkgrey;
+padding: 0px;
+margin: 0px;
+border-width: 1px;
+width: 47px;  /* 50px - 2px (border) - 1px (border-collapse)*/
+height: 19px;
+}
+
+.spreadsheet-container-th-column {
+padding: 0px;
+margin: 0px;
+border-width: 0px;
+}
+
+.spreadsheet-container-column-inner {
+width: 100%;
+height: 100%;
+overflow: hidden;
+}
+
+#spreadsheet-table-column {
+table-layout: fixed;
+left: 0px;
+width: 100%;
+height: 100%;
+border-spacing: 0px !important;
+border-collapse: collapse !important;
+position: relative;
+margin: 0px;
+padding: 0px;
+}
+
+.spreadsheet-table-column-cell {
+border: 1px solid black;
+background-color: darkgrey;
+overflow: hidden;
+min-width: 1px;
+text-overflow: ellipsis;
+white-space: nowrap;
+font-size: 90%;
+padding: 0px;
+margin: 0px;
+}
+
+.spreadsheet-container-row {
+position: absolute;
+left: 0;
+top: 100px;
+width: 50px;
+bottom: 20px;
+overflow: hidden;
+}
+
+.spreadsheet-container-row-inner {
+width: 100%;
+}
+
+#spreadsheet-table-row {
+table-layout: fixed;
+width: 100%;
+height: 100%;
+border-spacing: 0px !important;
+border-collapse: collapse !important;
+position: relative;
+}
+
+.spreadsheet-table-row-cell {
+border: 1px solid black;
+background-color: darkgrey;
+white-space: nowrap;
+text-overflow: ellipsis;
+font-size: 90%;
+padding: 0px;
+margin: 0px;
+}
+
 .spreadsheet-tab {
margin: 0;
padding: 0;
diff --git a/loleaflet/src/control/Control.ColumnHeader.js 
b/loleaflet/src/control/Control.ColumnHeader.js
new file mode 100644
index 000..7280bc2
--- /dev/null
+++ b/loleaflet/src/control/Control.ColumnHeader.js
@@ -0,0 +1,64 @@
+/*
+* Control.ColumnHeader
+*/
+
+L.Control.ColumnHeader = L.Control.extend({
+onAdd: function (map) {
+var docContainer = L.DomUtil.get('document-container');
+var divHeader = L.DomUtil.create('div', 
'spreadsheet-container-column', docContainer.parentElement);
+var tableContainer =  L.DomUtil.create('table', 
'spreadsheet-container-table', divHeader);
+var tbodyContainer = L.DomUtil.create('tbody', '', 
tableContainer);
+var trContainer = L.DomUtil.create('tr', '', tbodyContainer);
+   

[Libreoffice-commits] website.git: Branch 'update' - check.php

2015-11-08 Thread Christian Lohmaier
 check.php |   24 
 1 file changed, 16 insertions(+), 8 deletions(-)

New commits:
commit 02f974b60cc93f305f3fcc9420888f2aae567330
Author: Christian Lohmaier 
Date:   Sun Nov 8 18:07:32 2015 +0100

enable update to 4.4.6 and 5.0.3

diff --git a/check.php b/check.php
index 1c1bec1..da2c58a 100644
--- a/check.php
+++ b/check.php
@@ -355,6 +355,11 @@ $build_hash_to_version = array(
 # 4.4.5
 '1b6df295803ea040dab1b48b5424da8d78d94cf0' => '4.4.5.1',
 'a22f674fd25a3b6f45bdebf25400ed2adff0ff99' => '4.4.5.2', # Final
+'0117cb452ebc0a76746570e606c6aef5718b1c50' => '4.4.5.3', # unreleased, CVE 
disclosure incertainity..
+# 4.4.6
+'86eeaa3ce8281ef4034ee1f97d7fa699482d04d2' => '4.4.6.1',
+'008d5d0ddffba0b82de2a2c36a65b9cba0a6b328' => '4.4.6.2',
+'e8938fd3328e95dcf59dd64e7facd2c7d67c704d' => '4.4.6.3', # Final
 
 ##
 # 5.0.0 versions
@@ -376,6 +381,9 @@ $build_hash_to_version = array(
 # 5.0.2
 '9a18d52abbdfbdc2ac9acebec2b92e7859eb73b7' => '5.0.2.1',
 '37b43f919e4de5eeaca9b9755ed688758a8251fe' => '5.0.2.2', # Final
+# 5.0.3
+'fd8cfc22f7f58033351fcb8a83b92acbadb0749e' => '5.0.3.1',
+'e5f16313668ac592c1bfb310f4390624e3dbfb75' => '5.0.3.2', # Final
 );
 
 # Descriptions of the target versions
@@ -388,17 +396,17 @@ $build_hash_to_version = array(
 #   where '' and '' will be substitued with the right value
 #   NOTE: '&' in the URL has to be escaped as &
 $update_map = array(
-'stable' => array('gitid'   => 
'a22f674fd25a3b6f45bdebf25400ed2adff0ff99',
-  'id'  => 'LibreOffice 4.4.5',
-  'version' => '4.4.5',
+'stable' => array('gitid'   => 
'e8938fd3328e95dcf59dd64e7facd2c7d67c704d',
+  'id'  => 'LibreOffice 4.4.6',
+  'version' => '4.4.6',
   'update_type' => 'text/html',
-  'update_src'  => 
'http://www.libreoffice.org/download/libreoffice-still/?type=&lang=&version=4.4.5',
+  'update_src'  => 
'http://www.libreoffice.org/download/libreoffice-still/?type=&lang=&version=4.4.6',
   'substitute'  => true ),
-'latest' => array('gitid'   => 
'37b43f919e4de5eeaca9b9755ed688758a8251fe',
-  'id'  => 'LibreOffice 5.0.2',
-  'version' => '5.0.2',
+'latest' => array('gitid'   => 
'e5f16313668ac592c1bfb310f4390624e3dbfb75',
+  'id'  => 'LibreOffice 5.0.3',
+  'version' => '5.0.3',
   'update_type' => 'text/html',
-  'update_src'  => 
'http://www.libreoffice.org/download/libreoffice-fresh/?type=&lang=&version=5.0.2',
+  'update_src'  => 
'http://www.libreoffice.org/download/libreoffice-fresh/?type=&lang=&version=5.0.3',
   'substitute'  => true ),
 );
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] online.git: loleaflet/src

2015-11-08 Thread Henry Castro
 loleaflet/src/layer/tile/CalcTileLayer.js |8 
 1 file changed, 8 insertions(+)

New commits:
commit fd4505079064bde0de7756f9a883e3cf60204c05
Author: Henry Castro 
Date:   Sun Nov 8 13:11:45 2015 -0400

loleaflet: add controls to calc tile layer

diff --git a/loleaflet/src/layer/tile/CalcTileLayer.js 
b/loleaflet/src/layer/tile/CalcTileLayer.js
index 4e2963e..ba72c70 100644
--- a/loleaflet/src/layer/tile/CalcTileLayer.js
+++ b/loleaflet/src/layer/tile/CalcTileLayer.js
@@ -4,6 +4,14 @@
 
 L.CalcTileLayer = L.TileLayer.extend({
 
+beforeAdd: function (map) {
+map._addZoomLimit(this);
+this._columns = L.control.columnHeader();
+this._rows = L.control.rowHeader();
+map.addControl(this._columns);
+map.addControl(this._rows);
+},
+
_onInvalidateTilesMsg: function (textMsg) {
var command = L.Socket.parseServerCmd(textMsg);
if (command.x === undefined || command.y === undefined || 
command.part === undefined) {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] help.git: Branch 'libreoffice-5-0' - source/text

2015-11-08 Thread Andras Timar
 source/text/shared/01/01100200.xhp |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 5f1e836c7d1356ad5c66e6bed1a5e2eeaeebe67d
Author: Andras Timar 
Date:   Sun Nov 8 17:30:21 2015 +0100

tdf#94473 add missing hid

Change-Id: Ib0709570cdbfdf2ea4dc7e025319ae4acdb1ff36
(cherry picked from commit 2f91170b8637554100e427525541ade2fd38c574)
Reviewed-on: https://gerrit.libreoffice.org/19841
Reviewed-by: Adolfo Jayme Barrientos 
Tested-by: Adolfo Jayme Barrientos 

diff --git a/source/text/shared/01/01100200.xhp 
b/source/text/shared/01/01100200.xhp
index 53d15bc..3effbba 100644
--- a/source/text/shared/01/01100200.xhp
+++ b/source/text/shared/01/01100200.xhp
@@ -1,6 +1,6 @@
 
 
-   
+
 
- 
-   
+
+
 
   
  General
@@ -57,6 +57,7 @@
   Displays the date and time and author when the file was first 
saved.
   Modified:
   Displays the date and time and author when the file was last saved 
in a $[officename] file format.
+
   Digitally signed:
   Displays the date and the time when the file was last signed as well 
as the name of the author who signed the document.
   Digital Signature
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - helpcontent2

2015-11-08 Thread Andras Timar
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c4749384756b136b85e06ff8e4d8ced351416437
Author: Andras Timar 
Date:   Sun Nov 8 17:30:21 2015 +0100

Updated core
Project: help  5f1e836c7d1356ad5c66e6bed1a5e2eeaeebe67d

tdf#94473 add missing hid

Change-Id: Ib0709570cdbfdf2ea4dc7e025319ae4acdb1ff36
(cherry picked from commit 2f91170b8637554100e427525541ade2fd38c574)
Reviewed-on: https://gerrit.libreoffice.org/19841
Reviewed-by: Adolfo Jayme Barrientos 
Tested-by: Adolfo Jayme Barrientos 

diff --git a/helpcontent2 b/helpcontent2
index 68c46e7..5f1e836 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit 68c46e7dbaf5cf34a5b5ccb80122801dad778bbe
+Subproject commit 5f1e836c7d1356ad5c66e6bed1a5e2eeaeebe67d
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] online.git: loleaflet/debug loleaflet/src

2015-11-08 Thread Henry Castro
 loleaflet/debug/document/document_simple_example.html |1 -
 loleaflet/src/layer/tile/CalcTileLayer.js |1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a01d56ed116ea7ba13a58690601b722f825bd8a0
Author: Henry Castro 
Date:   Sun Nov 8 13:22:58 2015 -0400

loleaflet: move control tabs creation

Create control tabs if and only if spreadsheet document.

diff --git a/loleaflet/debug/document/document_simple_example.html 
b/loleaflet/debug/document/document_simple_example.html
index 166b8e1..13f6bd6 100644
--- a/loleaflet/debug/document/document_simple_example.html
+++ b/loleaflet/debug/document/document_simple_example.html
@@ -77,6 +77,5 @@
 globalMap.addControl(L.control.insertImg());
 globalMap.addControl(L.control.dialog());
 globalMap.addControl(L.control.partsPreview());
-globalMap.addControl(L.control.tabs());
 
 
diff --git a/loleaflet/src/layer/tile/CalcTileLayer.js 
b/loleaflet/src/layer/tile/CalcTileLayer.js
index ba72c70..b34e930 100644
--- a/loleaflet/src/layer/tile/CalcTileLayer.js
+++ b/loleaflet/src/layer/tile/CalcTileLayer.js
@@ -10,6 +10,7 @@ L.CalcTileLayer = L.TileLayer.extend({
 this._rows = L.control.rowHeader();
 map.addControl(this._columns);
 map.addControl(this._rows);
+map.addControl(L.control.tabs());
 },
 
_onInvalidateTilesMsg: function (textMsg) {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] online.git: loleaflet/src

2015-11-08 Thread Henry Castro
 loleaflet/src/layer/tile/CalcTileLayer.js |   15 ++-
 1 file changed, 14 insertions(+), 1 deletion(-)

New commits:
commit 13b93b6ee03d0875249def4601af1f79167703aa
Author: Henry Castro 
Date:   Sun Nov 8 13:38:05 2015 -0400

loleaflet: request and process command values "ViewRowColumnHeaders"

diff --git a/loleaflet/src/layer/tile/CalcTileLayer.js 
b/loleaflet/src/layer/tile/CalcTileLayer.js
index b34e930..4592516 100644
--- a/loleaflet/src/layer/tile/CalcTileLayer.js
+++ b/loleaflet/src/layer/tile/CalcTileLayer.js
@@ -136,5 +136,18 @@ L.CalcTileLayer = L.TileLayer.extend({
this._preFetchBorder = null;
}
}
-   }
+
+L.Socket.sendMessage('commandvalues 
command=.uno:ViewRowColumnHeaders');
+   },
+
+_onCommandValuesMsg: function (textMsg) {
+if (textMsg.match('.uno:ViewRowColumnHeaders')) {
+var data = 
JSON.parse(textMsg.substring(textMsg.indexOf('{')));
+this._columns.fillColumns(data.columns, 
this._twipsToPixels, this);
+this._rows.fillRows(data.rows, this._twipsToPixels, 
this);
+}
+else {
+L.TileLayer.prototype._onCommandValuesMsg.call(this, 
textMsg);
+}
+}
 });
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Developer Info

2015-11-08 Thread jan iversen
Congratulations !!! that is actually the most difficult step.

Now when both of you have time it would be good for you to register on the
mailing list:
http://nabble.documentfoundation.org/

This is where we all "talk" together.

Sooner or later you will also need to register in Gerrit:
https://wiki.documentfoundation.org/Development/gerrit

we use gerrit to submit and review patches, this is not mandatory for the
first couple
of patches, I can do it for you, but it is something you need to get used
to.

Finally here is a link to "easy hacks":
https://wiki.documentfoundation.org/Development/Easy_Hacks

Which is problems that are easy to solve, and are there for new people. I
do however
also have a set of problems in java, which are open. Most of the java
problems are
simple problems, but typically in multiple files. So whatever you prefer I
am there
to help you.

Sukant@ Do not be stressed getting your environment up and running, there
are plenty
of work waiting.

have a nice day.
rgds
jan i.



On 8 November 2015 at 17:06, Massimiliano Fiori 
wrote:

> Hi,
> Yes i hadn't set CCACHE correctly. Now i have builded lode successfully.
> Now what is my next step to create a patch for the project?
>
> Thanks a lot,
> Massimiliano.
>
>
> Il giorno 07 nov 2015, alle ore 21:11, jan iversen <
> jancasacon...@gmail.com> ha scritto:
>
> Hi.
>
> I researched it a bit more, it seems that the clang compiler is not well
> supported by lode.
>
> Have a look at:
>
> https://wiki.documentfoundation.org/Development/Building_LibreOffice_with_Clang#Setup
>
> the developer specialists told me, that your problem is typically caused
> because you
> do not have
>
> CCACHE_CPP2=1
>
> Have fun
>
> rgds
>
> jan i.
>
>
>
> On 7 November 2015 at 19:59, jan iversen  wrote:
>
>> Hi.
>>
>> It seems to me you missed the "autogen.sh" statement.
>>
>> you ran "setup --dev" and checked out the source.
>>
>> then you need to do:
>>
>> cd dev/core
>> ./autogen.sh
>>
>> and after that (if it does not give you any errors)
>> ../../opt/bin/make 2>&1 | tee build.log
>>
>> you can run ./autogen.sh anytime, so please run it again, and make sure
>> it does not report errors.
>>
>> Secondly it is important that you use "../../opt/bin/make" and NOT the
>> make standard in OSX.
>>
>> Finally you need to deactivate your virus checker (this is not the
>> problem right now).
>>
>> Please try my suggestion, and then let me have the whole build.log
>>
>> have fun
>> jan i.
>>
>> On 7 November 2015 at 14:54, Massimiliano Fiori <
>> massimiliano.fi...@aol.it> wrote:
>>
>>> Hi Sakunt,
>>> nice to meet you!
>>>
>>> I try to build lode and i have this error after '../../opt/bin/make 2>&1
>>> | tee build.log’ command :
>>>
>>> [build C  ] cppuhelper/source/findsofficepath.c
>>> clang: error: argument unused during compilation: '-I
>>> /Users/Bayway/Developer/lode/dev/core/cppuhelper/source/'
>>> clang: error: argument unused during compilation: '-I
>>> /Users/Bayway/Developer/lode/dev/core/include'
>>> clang: error: argument unused during compilation: '-I
>>> /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/include'
>>> clang: error: argument unused during compilation: '-I
>>> /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/include/darwin'
>>> clang: error: argument unused during compilation: '-I
>>> /Users/Bayway/Developer/lode/dev/core/config_host'
>>> /Users/Bayway/Developer/lode/dev/core/solenv/gbuild/LinkTarget.mk:138:
>>> recipe for target
>>> '/Users/Bayway/Developer/lode/dev/core/workdir/CObject/cppuhelper/source/findsofficepath.o'
>>> failed
>>> make[1]: ***
>>> [/Users/Bayway/Developer/lode/dev/core/workdir/CObject/cppuhelper/source/findsofficepath.o]
>>> Error 1
>>> Makefile:247: recipe for target 'build' failed
>>> make: *** [build] Error 2
>>>
>>> My OS: Mac OSX 10.11.2
>>>
>>> Thanks for all,
>>> Massimiliano
>>>
>>>
>>> Il giorno 07 nov 2015, alle ore 09:21, jan iversen <
>>> jancasacon...@gmail.com> ha scritto:
>>>
>>> Hi Massimiliano.
>>>
>>> Welcome.
>>>
>>> Sakunt meet Massimiliano
>>> Massimiliano meet Sakunt.
>>>
>>> As I wrote to Sakunt, I am would like to help you get started and help
>>> you get the first patches submitted.
>>>
>>> The first 3-4 patches are always the most difficult, because you need to
>>> get the environment setup, write
>>> commit messagees correctly etc. but that is exactly the point where we
>>> can work together.
>>>
>>> Let us make a little "starter" and before you know it, you will be part
>>> of our communty.
>>>
>>> Please look around in the wiki, and get started with lode.
>>>
>>> Feel free to mail me directly (this mail is cc to the mailing list, so
>>> the other community member know what we
>>> are doing) if you have questions or comments.
>>>
>>> rgds
>>> jan i.
>>>
>>>
>>> On 7 November 2015 at 02:06, Massimiliano Fiori <
>>> massimiliano.fi...@aol.it> wrote:
>>>
 Hi,
 my name si Massimiliano and I have read your e-mail on list I would to
 help LibreOffice Project too

[Libreoffice-commits] online.git: loleaflet/src

2015-11-08 Thread Henry Castro
 loleaflet/src/control/Control.Scroll.js   |2 ++
 loleaflet/src/layer/tile/CalcTileLayer.js |6 ++
 2 files changed, 8 insertions(+)

New commits:
commit e967b0f388e9c15c192c486b28e2265c9d09508a
Author: Henry Castro 
Date:   Sun Nov 8 14:05:08 2015 -0400

loleaflet: add map fire scroll

Calc Tile Layer capture scroll offset
in order to scroll Columns and Rows

diff --git a/loleaflet/src/control/Control.Scroll.js 
b/loleaflet/src/control/Control.Scroll.js
index 1c02140..f9813a4 100644
--- a/loleaflet/src/control/Control.Scroll.js
+++ b/loleaflet/src/control/Control.Scroll.js
@@ -56,11 +56,13 @@ L.Control.Scroll = L.Control.extend({
this._prevScrollX = -e.mcs.left;
this._map.scroll(offset.x, offset.y);
}
+this._map.fire('scroll', e.mcs);
},
 
_onScrollEnd: function (e) {
this._prevScrollY = -e.mcs.top;
this._prevScrollX = -e.mcs.left;
+this._map.fire('scroll', e.mcs);
},
 
_onScrollTo: function (e) {
diff --git a/loleaflet/src/layer/tile/CalcTileLayer.js 
b/loleaflet/src/layer/tile/CalcTileLayer.js
index 4592516..631ca9d 100644
--- a/loleaflet/src/layer/tile/CalcTileLayer.js
+++ b/loleaflet/src/layer/tile/CalcTileLayer.js
@@ -11,6 +11,7 @@ L.CalcTileLayer = L.TileLayer.extend({
 map.addControl(this._columns);
 map.addControl(this._rows);
 map.addControl(L.control.tabs());
+map.on('scroll', this._onScroll, this);
 },
 
_onInvalidateTilesMsg: function (textMsg) {
@@ -109,6 +110,11 @@ L.CalcTileLayer = L.TileLayer.extend({
}
},
 
+_onScroll: function(point) {
+this._columns.offsetColumn(point.left);
+this._rows.offsetRow(point.top);
+},
+
_onStatusMsg: function (textMsg) {
var command = L.Socket.parseServerCmd(textMsg);
if (command.width && command.height && this._documentInfo !== 
textMsg) {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'aoo/trunk' - 3 commits - wizards/com wizards/source

2015-11-08 Thread Damjan Jovanovic
 wizards/com/sun/star/wizards/common/FileAccess.java   |   24 
+-
 wizards/com/sun/star/wizards/common/TerminateWizardException.java |3 -
 wizards/com/sun/star/wizards/query/QuerySummary.java  |4 -
 wizards/com/sun/star/wizards/ui/AggregateComponent.java   |   15 ++
 wizards/com/sun/star/wizards/ui/FilterComponent.java  |   15 ++
 wizards/source/formwizard/dbwizres.src|   19 
---
 6 files changed, 33 insertions(+), 47 deletions(-)

New commits:
commit 1f6546d6c0e6670d59e6beb05d15c80327634e6c
Author: Damjan Jovanovic 
Date:   Sun Nov 8 15:55:59 2015 +

#i56289# no GROUP BY - COUNT from wizard

Implement the COUNT operator for GROUP BY in the Base Query Wizard,
and delete some unused resource strings to make space for it.

Found by: dtinazzi at easyasp dot it
Patch by: me

diff --git a/wizards/com/sun/star/wizards/ui/AggregateComponent.java 
b/wizards/com/sun/star/wizards/ui/AggregateComponent.java
index 5852ce9..2798486 100644
--- a/wizards/com/sun/star/wizards/ui/AggregateComponent.java
+++ b/wizards/com/sun/star/wizards/ui/AggregateComponent.java
@@ -39,7 +39,7 @@ public class AggregateComponent extends ControlScroller
 String[] sFunctions;
 String[] sFunctionOperators = new String[]
 {
-"SUM", "AVG", "MIN", "MAX"
+"SUM", "AVG", "MIN", "MAX", "COUNT"
 };
 QueryMetaData CurDBMetaData;
 XButton optDetailQuery;
@@ -204,7 +204,7 @@ public class AggregateComponent extends ControlScroller
 soptSummaryQuery = 
CurUnoDialog.m_oResource.getResText(UIConsts.RID_QUERY + 12);
 slblAggregate = 
CurUnoDialog.m_oResource.getResText(UIConsts.RID_QUERY + 16);
 slblFieldNames = 
CurUnoDialog.m_oResource.getResText(UIConsts.RID_QUERY + 17);
-sFunctions = 
CurUnoDialog.m_oResource.getResArray(UIConsts.RID_QUERY + 40, 4);
+sFunctions = 
CurUnoDialog.m_oResource.getResArray(UIConsts.RID_QUERY + 40, 5);
 
 sDuplicateAggregateFunction = 
CurUnoDialog.m_oResource.getResText(UIConsts.RID_QUERY + 90);
 }
diff --git a/wizards/source/formwizard/dbwizres.src 
b/wizards/source/formwizard/dbwizres.src
index fd1a02a..c83cf49 100644
--- a/wizards/source/formwizard/dbwizres.src
+++ b/wizards/source/formwizard/dbwizres.src
@@ -867,28 +867,11 @@ String RID_DB_QUERY_WIZARD_START + 43
 Text [ en-US] = "get the maximum of";
 };
 
-
 String RID_DB_QUERY_WIZARD_START + 44
 {
-Text [ en-US] = "get the sum of ";
-};
-
-String RID_DB_QUERY_WIZARD_START + 45
-{
-Text [ en-US] = "get the average of ";
+Text [ en-US] = "get the count of";
 };
 
-String RID_DB_QUERY_WIZARD_START + 46
-{
-Text [ en-US] = "get the minimum of ";
-};
-
-String RID_DB_QUERY_WIZARD_START + 47
-{
-Text [ en-US] = "get the maximum of ";
-};
-
-
 String RID_DB_QUERY_WIZARD_START + 48
 {
 Text [ en-US] = "(none)";
commit 77ff55a4a1f25c1dc21d083cee43b4506bf91410
Author: Damjan Jovanovic 
Date:   Sun Nov 8 14:38:09 2015 +

Use the UIConsts constants for resource IDs in 
main/wizards/com/sun/star/wizards/query/QuerySummary.java

diff --git a/wizards/com/sun/star/wizards/query/QuerySummary.java 
b/wizards/com/sun/star/wizards/query/QuerySummary.java
index df5118d..96b602c 100644
--- a/wizards/com/sun/star/wizards/query/QuerySummary.java
+++ b/wizards/com/sun/star/wizards/query/QuerySummary.java
@@ -31,11 +31,11 @@ import com.sun.star.wizards.db.FieldColumn;
 import com.sun.star.wizards.db.QueryMetaData;
 import com.sun.star.wizards.ui.FilterComponent;
 
+import static com.sun.star.wizards.ui.UIConsts.RID_QUERY;
+
 public class QuerySummary extends QueryMetaData
 {
 
-final protected int RID_QUERY = 2300;
-final protected int RID_REPORT = 2400;
 String sSummary;
 Resource oResource;
 // XMultiServiceFactory xMSF;
commit 95efcaf575dced8cc18f2ca9fb874d772ad23595
Author: Damjan Jovanovic 
Date:   Sun Nov 8 14:34:28 2015 +

Use UIConsts constants for offsets to resource IDs in main/wizards.

diff --git a/wizards/com/sun/star/wizards/common/FileAccess.java 
b/wizards/com/sun/star/wizards/common/FileAccess.java
index 5a7749e..624c395 100644
--- a/wizards/com/sun/star/wizards/common/FileAccess.java
+++ b/wizards/com/sun/star/wizards/common/FileAccess.java
@@ -22,10 +22,6 @@
 
 package com.sun.star.wizards.common;
 
-import com.sun.star.beans.XPropertySet;
-import com.sun.star.lang.Locale;
-import com.sun.star.uno.Exception;
-import com.sun.star.util.XMacroExpander;
 // import com.sun.star.wizards.common.NoValidPathException;
 import java.io.File;
 import java.util.ArrayList;
@@ -33,17 +29,25 @@ import java.util.Arrays;
 import java.util.Vector;
 
 import com.sun.star.awt.VclWindowPeerAttribute;
+import com.sun.star.beans.PropertyValue;
+import com.sun.star.beans.XPropertySet;
+import com.sun.star.document.XDocumentProperties;
 import com.sun.star.io.XActiveDataSink;
 import com.sun

[Libreoffice-commits] online.git: loleaflet/src

2015-11-08 Thread Henry Castro
 loleaflet/src/layer/tile/CalcTileLayer.js |6 ++
 1 file changed, 6 insertions(+)

New commits:
commit 5485d63aeeb6bb027896eb7642dbe99f5785b082
Author: Henry Castro 
Date:   Sun Nov 8 14:34:51 2015 -0400

loleaflet: handle zoom to update columns and rows

diff --git a/loleaflet/src/layer/tile/CalcTileLayer.js 
b/loleaflet/src/layer/tile/CalcTileLayer.js
index 631ca9d..d1f5a42 100644
--- a/loleaflet/src/layer/tile/CalcTileLayer.js
+++ b/loleaflet/src/layer/tile/CalcTileLayer.js
@@ -12,6 +12,7 @@ L.CalcTileLayer = L.TileLayer.extend({
 map.addControl(this._rows);
 map.addControl(L.control.tabs());
 map.on('scroll', this._onScroll, this);
+map.on('zoomend', this._onZoomRowColumns, this);
 },
 
_onInvalidateTilesMsg: function (textMsg) {
@@ -115,6 +116,11 @@ L.CalcTileLayer = L.TileLayer.extend({
 this._rows.offsetRow(point.top);
 },
 
+_onZoomRowColumns: function () {
+this._columns.updateColumns(this._twipsToPixels, this);
+this._rows.updateRows(this._twipsToPixels, this);
+},
+
_onStatusMsg: function (textMsg) {
var command = L.Socket.parseServerCmd(textMsg);
if (command.width && command.height && this._documentInfo !== 
textMsg) {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: 18 commits - officecfg/registry oox/source sc/inc sc/Library_sc.mk sc/sdi sc/source sc/uiconfig sc/UIConfig_scalc.mk sd/qa sd/source

2015-11-08 Thread Tomaž Vajngerl
 officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu |8 
 oox/source/core/fragmenthandler2.cxx  |   20 
 oox/source/core/xmlfilterbase.cxx |6 
 oox/source/ppt/slidetransition.cxx|   16 
 oox/source/ppt/slidetransitioncontext.cxx |9 
 oox/source/token/namespaces-strict.txt|4 
 oox/source/token/namespaces.hxx.tail  |1 
 oox/source/token/namespaces.txt   |4 
 oox/source/token/tokens.txt   |   19 
 sc/Library_sc.mk  |1 
 sc/UIConfig_scalc.mk  |1 
 sc/inc/sc.hrc |   11 
 sc/sdi/cellsh.sdi |1 
 sc/sdi/scalc.sdi  |   24 
 sc/source/ui/StatisticsDialogs/RegressionDialog.cxx   |  232 +
 sc/source/ui/StatisticsDialogs/StatisticsDialogs.hrc  |   25 
 sc/source/ui/StatisticsDialogs/StatisticsDialogs.src  |   40 
 sc/source/ui/StatisticsDialogs/TableFillingAndNavigationTools.cxx |   25 
 sc/source/ui/app/scdll.cxx|1 
 sc/source/ui/inc/RegressionDialog.hxx |   39 
 sc/source/ui/inc/TableFillingAndNavigationTools.hxx   |6 
 sc/source/ui/inc/reffact.hxx  |7 
 sc/source/ui/view/cellsh1.cxx |9 
 sc/source/ui/view/tabvwsh.cxx |1 
 sc/source/ui/view/tabvwshc.cxx|7 
 sc/uiconfig/scalc/menubar/menubar.xml |1 
 sc/uiconfig/scalc/ui/regressiondialog.ui  |  404 
++
 sd/qa/unit/data/AllTransitions.odp|binary
 sd/qa/unit/export-tests.cxx   |   77 +
 sd/source/filter/eppt/pptexanimations.cxx |2 
 sd/source/filter/eppt/pptx-epptbase.cxx   |   41 -
 sd/source/filter/eppt/pptx-epptooxml.cxx  |  292 
---
 sd/source/filter/ppt/pptanimations.hxx|6 
 33 files changed, 1181 insertions(+), 159 deletions(-)

New commits:
commit 1d75c2e5ed1df1b9e3ae733d9c8a2106701b67ae
Author: Tomaž Vajngerl 
Date:   Sun Nov 8 19:30:34 2015 +0100

oox: check for namespace in MCE is flawed, use a namespace list

In "AlternateContent" nodes we have to check if we support the
namespace which is provided in "Requires" attribute of "Choice".
Currently we tried to resolve the namespace with a call to the
xml filter, however this doesn't work as the filter is already
gone.
In writerfilter we also have to handle a similar situation but
there we just compare it to a list of predefined namespace alias
("wps" and "wpg").
This commit adds a list of supported namespace aliases to
fragmenthandler2 instead of the namespace checking to support
the "p14" namespace alias correctly.

Change-Id: I25c430b97336c9e140bb5641a76a60895734b91f

diff --git a/oox/source/core/fragmenthandler2.cxx 
b/oox/source/core/fragmenthandler2.cxx
index 5f7cb7f..0186d78 100644
--- a/oox/source/core/fragmenthandler2.cxx
+++ b/oox/source/core/fragmenthandler2.cxx
@@ -60,15 +60,21 @@ bool FragmentHandler2::prepareMceContext( sal_Int32 
nElement, const AttributeLis
 
 case MCE_TOKEN( Choice ):
 {
-OUString aRequires = rAttribs.getString( ( XML_Requires ), 
"none" );
-if (!getFilter().hasNamespaceURL(aRequires))
-// Check to see if we have this namespace defined first,
-// because calling getNamespaceURL() would throw if the
-// namespace doesn't exist.
+if (aMceState.empty() || aMceState.back() != MCE_STARTED)
 return false;
 
-aRequires = getFilter().getNamespaceURL( aRequires );
-if( getFilter().getNamespaceId( aRequires ) > 0 && 
!aMceState.empty() && aMceState.back() == MCE_STARTED )
+OUString aRequires = rAttribs.getString( (XML_Requires ), 
OUString("none") );
+
+// At this point we can't access namespaces as the correct xml 
filter
+// is long gone. For now let's decide depending on a list of 
supported
+// namespaces like we do in writerfilter
+
+static std::vector aSupportedNS =
+{
+"p14",
+};
+
+if (std::find(aSupportedNS.begin(), aSupportedNS.end(), 
aRequires) != aSupport

[Libreoffice-commits] core.git: tools/source

2015-11-08 Thread Sedat Ak
 tools/source/generic/config.cxx |9 +
 1 file changed, 1 insertion(+), 8 deletions(-)

New commits:
commit c4b71b0885122b67e05ed4aed89b0d12ce0f34c8
Author: Sedat Ak 
Date:   Sun Nov 8 18:42:27 2015 +0200

tdf#57950 Replace chained O(U)StringBuffer::append() with operator+

Change-Id: Ieef535e34f5acd9139c3ee1e9e6c650fc5fe92e4
Reviewed-on: https://gerrit.libreoffice.org/19842
Tested-by: Jenkins 
Reviewed-by: Julien Nabet 

diff --git a/tools/source/generic/config.cxx b/tools/source/generic/config.cxx
index f1a638e..4a8ee8f 100644
--- a/tools/source/generic/config.cxx
+++ b/tools/source/generic/config.cxx
@@ -843,14 +843,7 @@ OString Config::ReadKey(const OString& rKey, const 
OString& rDefault) const
 void Config::WriteKey(const OString& rKey, const OString& rStr)
 {
 #ifdef DBG_UTIL
-OStringBuffer aTraceStr("Config::WriteKey( ");
-aTraceStr.append(rKey);
-aTraceStr.append(", ");
-aTraceStr.append(rStr);
-aTraceStr.append(" ) to ");
-aTraceStr.append(GetGroup());
-aTraceStr.append(" in ");
-aTraceStr.append(OUStringToOString(maFileName, RTL_TEXTENCODING_UTF8));
+OString aTraceStr("Config::WriteKey( " + rKey + ", " + rStr + " ) to " + 
GetGroup() + " in " + OUStringToOString(maFileName, RTL_TEXTENCODING_UTF8));
 OSL_TRACE("%s", aTraceStr.getStr());
 #endif
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Bug 57950] Replace chained O(U)StringBuffer::append() with operator+

2015-11-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=57950

--- Comment #62 from Commit Notification 
 ---
Sedat Ak committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=c4b71b0885122b67e05ed4aed89b0d12ce0f34c8

tdf#57950 Replace chained O(U)StringBuffer::append() with operator+

It will be available in 5.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
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] core.git: Branch 'feature/fixes11' - include/tools sc/source tools/Library_tl.mk tools/source

2015-11-08 Thread László Németh
 include/tools/cpuid.hxx|   28 ++
 sc/source/core/inc/arraysumfunctor.hxx |  141 +
 sc/source/core/tool/interpr6.cxx   |   71 +++-
 tools/Library_tl.mk|1 
 tools/source/misc/cpuid.cxx|   63 ++
 5 files changed, 282 insertions(+), 22 deletions(-)

New commits:
commit 599aab361bd44635386728a09452f53342419926
Author: László Németh 
Date:   Sun Nov 8 20:52:39 2015 +0100

Revert "Revert "Adapt FuncSum to vectorize better - potentially ...""

This reverts commit 369a3f9cfa6738e8cd02fb41726f536694618ead.

Revert "Revert "invalid array index when pCurrent pointer is incremented""

This reverts commit 3395c3ed22519c62b091a5065e03862bda587f20.

diff --git a/include/tools/cpuid.hxx b/include/tools/cpuid.hxx
new file mode 100644
index 000..316e656
--- /dev/null
+++ b/include/tools/cpuid.hxx
@@ -0,0 +1,28 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ */
+
+#ifndef INCLUDED_TOOLS_CPUID_HXX
+#define INCLUDED_TOOLS_CPUID_HXX
+
+#include 
+#include 
+
+namespace tools
+{
+namespace cpuid
+{
+TOOLS_DLLPUBLIC bool hasSSE();
+TOOLS_DLLPUBLIC bool hasSSE2();
+}
+}
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/inc/arraysumfunctor.hxx 
b/sc/source/core/inc/arraysumfunctor.hxx
new file mode 100644
index 000..776c514
--- /dev/null
+++ b/sc/source/core/inc/arraysumfunctor.hxx
@@ -0,0 +1,141 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ */
+
+#ifndef INCLUDED_SC_SOURCE_CORE_INC_ARRAYSUMFUNCTOR_HXX
+#define INCLUDED_SC_SOURCE_CORE_INC_ARRAYSUMFUNCTOR_HXX
+
+#include 
+#include 
+
+namespace sc
+{
+
+template
+inline bool isAligned(const T* pointer)
+{
+return 0 == (uintptr_t(pointer) % N);
+}
+
+struct ArraySumFunctor
+{
+private:
+const double* mpArray;
+size_t mnSize;
+
+public:
+ArraySumFunctor(const double* pArray, size_t nSize)
+: mpArray(pArray)
+, mnSize(nSize)
+{
+}
+
+double operator() ()
+{
+static bool hasSSE2 = tools::cpuid::hasSSE2();
+
+double fSum = 0.0;
+size_t i = 0;
+const double* pCurrent = mpArray;
+
+if (hasSSE2)
+{
+while (!isAligned(pCurrent))
+{
+fSum += *pCurrent++;
+i++;
+}
+fSum += executeSSE2(i, pCurrent);
+}
+else
+fSum += executeUnrolled(i, pCurrent);
+
+// sum rest of the array
+
+for (; i < mnSize; ++i)
+fSum += mpArray[i];
+
+return fSum;
+}
+
+private:
+inline double executeSSE2(size_t& i, const double* pCurrent) const
+{
+double fSum = 0.0;
+size_t nRealSize = mnSize - i;
+size_t nUnrolledSize = nRealSize - (nRealSize % 8);
+
+if (nUnrolledSize > 0)
+{
+__m128d sum1 = _mm_setzero_pd();
+__m128d sum2 = _mm_setzero_pd();
+__m128d sum3 = _mm_setzero_pd();
+__m128d sum4 = _mm_setzero_pd();
+
+for (; i < nUnrolledSize; i += 8)
+{
+__m128d load1 = _mm_load_pd(pCurrent);
+sum1 = _mm_add_pd(sum1, load1);
+pCurrent += 2;
+
+__m128d load2 = _mm_load_pd(pCurrent);
+sum2 = _mm_add_pd(sum2, load2);
+pCurrent += 2;
+
+__m128d load3 = _mm_load_pd(pCurrent);
+sum3 = _mm_add_pd(sum3, load3);
+pCurrent += 2;
+
+__m128d load4 = _mm_load_pd(pCurrent);
+sum4 = _mm_add_pd(sum4, load4);
+pCurrent += 2;
+}
+sum1 = _mm_add_pd(_mm_add_pd(sum1, sum2), _mm_add_pd(sum3, sum4));
+
+double temp;
+
+_mm_storel_pd(&temp, sum1);
+fSum += temp;
+
+_mm_storeh_pd(&temp, sum1);
+fSum += temp;
+}
+return fSum;
+}
+
+inline double executeUnrolled(size_t& i, const double* pCurrent) const
+{
+size_t nRealSize = mnSize - i;
+size_t nUnrolledSize = nRealSize - (nRealSize % 4);
+
+if (nUnrolledSize > 0)
+{
+double sum0 = 0.0;
+double sum1 = 0.0;
+double sum2 = 0.0;
+double sum3 = 0.0;
+
+fo

[Libreoffice-commits] core.git: sc/source

2015-11-08 Thread Henry Castro
 sc/source/ui/view/tabview.cxx |1 +
 1 file changed, 1 insertion(+)

New commits:
commit c615699af18635c1aa1e7c9b930748eca004c5fc
Author: Henry Castro 
Date:   Sun Nov 8 15:55:57 2015 -0400

sc lok: add missing commandName

LOOL requires to filter a requested command values message

Change-Id: If2eeb9990e0f9aec6410a70f7a6c132c080bda80

diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index b4703d9..46cbafe 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -2348,6 +2348,7 @@ OUString ScTabView::getRowColumnHeaders(const Rectangle& 
rRectangle)
 }
 
 boost::property_tree::ptree aTree;
+aTree.put("commandName", ".uno:ViewRowColumnHeaders");
 aTree.add_child("rows", aRows);
 aTree.add_child("columns", aCols);
 std::stringstream aStream;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: oox/source

2015-11-08 Thread Stephan Bergmann
 oox/source/core/fragmenthandler2.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 22a64d0500e49ef20975765d2613d951df06e9e1
Author: Stephan Bergmann 
Date:   Sun Nov 8 21:28:14 2015 +0100

loplugin:stringconstant

Change-Id: I33876585b5a406231954013051bc7f61045226b0

diff --git a/oox/source/core/fragmenthandler2.cxx 
b/oox/source/core/fragmenthandler2.cxx
index 0186d78..ba7b6ef 100644
--- a/oox/source/core/fragmenthandler2.cxx
+++ b/oox/source/core/fragmenthandler2.cxx
@@ -63,7 +63,7 @@ bool FragmentHandler2::prepareMceContext( sal_Int32 nElement, 
const AttributeLis
 if (aMceState.empty() || aMceState.back() != MCE_STARTED)
 return false;
 
-OUString aRequires = rAttribs.getString( (XML_Requires ), 
OUString("none") );
+OUString aRequires = rAttribs.getString( (XML_Requires ), 
"none" );
 
 // At this point we can't access namespaces as the correct xml 
filter
 // is long gone. For now let's decide depending on a list of 
supported
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: tdf#51165 -> code pointer needed

2015-11-08 Thread Chr . Roßmanith
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 08.11.2015 um 01:43 schrieb Thorsten Behrens:
> Christina Roßmanith wrote:
>> I'm revisiting tdf#51165. It looks like rendering is the
>> problem, not importing the SVG file. To continue I'd need some
>> code pointers where rendering is implemented.
>> 
> Hi Christina,
> 
> oh, this is an interesting corner case - the polypolygon in the
> bugdoc has both closed and open polygons, therefore 
> B2DPolyPolygon::isClosed() will yield false. Thusly 
> xmloff/source/draw/ximpshap.cxx:1514 and following will pick the
> open shape service.
> 
> The case at hand can be fixed, the problem in general is that LibO 
> cannot handle mixed open & closed polygons within a *single*
> shape.
Then for the mixed case the problem could be solved by iterating over
the polypolygon and calling writePathShape() with each individual
subpolygon. Or are there reasons not to proceed this way?

Christina

> 
> HTH,
> 
> -- Thorsten
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJWP7s1AAoJEN/hiApPuw9SaK8H/1dlm7H8Llhd88dMTyNgxjjt
MHH0uydfLj8ENsh/wEBC4bGmpPsT0tBvd2uPo/SObavypFNMW8zRkXCanPnx91IH
yv8u1aX82DJoUIMRaLz6wG1vWYLiU95YKI7d8OEQYWo2KB43oPTZYRkR/niT5/jL
xRpmRIBeoEumuJMT8ArKcYCHYsQAYATXOa0Dhqmo0Q6NdiPSCl0f9CmGCCOPYTzH
goGgzrf2DoEdEiipy2VspPGwOpX6ODG0n94j7OSXS9hBIYsSMQgB+RE8Q/Z5c4in
wcuwRwWrSgJtivERk3GBCvdCki4Q+g8/TI/v3LtYV/z18pQziNF0wgC31BchPB8=
=9z0l
-END PGP SIGNATURE-
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: sd/qa

2015-11-08 Thread Stephan Bergmann
 sd/qa/unit/export-tests.cxx |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6115acca2859432f8dff3c707bc42fd54234e91d
Author: Stephan Bergmann 
Date:   Sun Nov 8 22:23:17 2015 +0100

loplugin:defaultparams

Change-Id: Ia4f51a3599afa6ffe7b689a8703a9634b4fb082d

diff --git a/sd/qa/unit/export-tests.cxx b/sd/qa/unit/export-tests.cxx
index 11e87de..bba730a 100644
--- a/sd/qa/unit/export-tests.cxx
+++ b/sd/qa/unit/export-tests.cxx
@@ -1397,9 +1397,9 @@ void SdExportTest::testExportTransitionsPPTX()
 
 // WIPE TRANSITIONS
 CPPUNIT_ASSERT(checkTransitionOnPage(xDoc, 01, TransitionType::BARWIPE, 
TransitionSubType::TOPTOBOTTOM, false));
-CPPUNIT_ASSERT(checkTransitionOnPage(xDoc, 02, TransitionType::BARWIPE, 
TransitionSubType::LEFTTORIGHT, true));
+CPPUNIT_ASSERT(checkTransitionOnPage(xDoc, 02, TransitionType::BARWIPE, 
TransitionSubType::LEFTTORIGHT));
 CPPUNIT_ASSERT(checkTransitionOnPage(xDoc, 03, TransitionType::BARWIPE, 
TransitionSubType::LEFTTORIGHT, false));
-CPPUNIT_ASSERT(checkTransitionOnPage(xDoc, 04, TransitionType::BARWIPE, 
TransitionSubType::TOPTOBOTTOM, true));
+CPPUNIT_ASSERT(checkTransitionOnPage(xDoc, 04, TransitionType::BARWIPE, 
TransitionSubType::TOPTOBOTTOM));
 
 // CUT THROUGH BLACK
 CPPUNIT_ASSERT(checkTransitionOnPage(xDoc, 31, TransitionType::BARWIPE, 
TransitionSubType::FADEOVERCOLOR));
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: tdf#51165 -> code pointer needed

2015-11-08 Thread Thorsten Behrens
Christina Roßmanith wrote:
> Then for the mixed case the problem could be solved by iterating
> over the polypolygon and calling writePathShape() with each
> individual subpolygon. Or are there reasons not to proceed this way?
> 
Ah, good point - indeed that would be the best way around this. There
are other workarounds / compat fixes already in the filter.

Cheers,

-- Thorsten


signature.asc
Description: Digital signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: sc/source

2015-11-08 Thread Stephan Bergmann
 sc/source/ui/StatisticsDialogs/RegressionDialog.cxx |   12 +++-
 sc/source/ui/inc/RegressionDialog.hxx   |1 +
 2 files changed, 12 insertions(+), 1 deletion(-)

New commits:
commit 8d95cf54781e30a7adc0b11160bb17239c4a3d80
Author: Stephan Bergmann 
Date:   Sun Nov 8 22:59:33 2015 +0100

loplugin:vclwidgets

Change-Id: I7583a76e4d1c98c02bcbf6367a1bf7be815b1461

diff --git a/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx 
b/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx
index b6a5b6d..ad092ee 100644
--- a/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx
@@ -85,13 +85,23 @@ ScRegressionDialog::ScRegressionDialog(
 }
 
 ScRegressionDialog::~ScRegressionDialog()
-{}
+{
+disposeOnce();
+}
 
 bool ScRegressionDialog::Close()
 {
 return DoClose(ScRegressionDialogWrapper::GetChildWindowId());
 }
 
+void ScRegressionDialog::dispose()
+{
+mpLinearCheckBox.disposeAndClear();
+mpLogarithmicCheckBox.disposeAndClear();
+mpPowerCheckBox.disposeAndClear();
+ScStatisticsTwoVariableDialog::dispose();
+}
+
 sal_Int16 ScRegressionDialog::GetUndoNameId()
 {
 return STR_REGRESSION_UNDO_NAME;
diff --git a/sc/source/ui/inc/RegressionDialog.hxx 
b/sc/source/ui/inc/RegressionDialog.hxx
index a4c7089..cba4506 100644
--- a/sc/source/ui/inc/RegressionDialog.hxx
+++ b/sc/source/ui/inc/RegressionDialog.hxx
@@ -29,6 +29,7 @@ public:
 virtual bool Close() override;
 
 protected:
+void dispose() override;
 virtual sal_Int16 GetUndoNameId() override;
 virtual ScRange ApplyOutput(ScDocShell* pDocShell) override;
 };
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: 2 commits - include/vcl vcl/Library_vcl.mk vcl/README.vars vcl/source

2015-11-08 Thread Tomaž Vajngerl
 include/vcl/BitmapTools.hxx   |   30 
 vcl/Library_vcl.mk|1 
 vcl/README.vars   |3 -
 vcl/source/bitmap/BitmapTools.cxx |   95 ++
 vcl/source/gdi/impimagetree.cxx   |5 ++
 5 files changed, 133 insertions(+), 1 deletion(-)

New commits:
commit bab105b923175d3e7eab7ee0af950a6a267c1afa
Author: Tomaž Vajngerl 
Date:   Sun Nov 8 23:02:37 2015 +0100

update README.vars

Change-Id: Ie2d0cc90ecc3e585a8fbfc9517e48170cf07c0d2

diff --git a/vcl/README.vars b/vcl/README.vars
index 9285f87..4f62333 100644
--- a/vcl/README.vars
+++ b/vcl/README.vars
@@ -5,6 +5,7 @@ General
 SAL_USE_VCLPLUGIN - use a VCL plugin
 SAL_NO_NWF - disable native widgets
 SAL_FORCEDPI - force a specific DPI (gtk & gtk3 plugins only)
+SAL_FORCE_HC - force high-contrast mode
 
 VCL_DOUBLEBUFFERING_AVOID_PAINT - don't paint the buffer, useful to see where 
we do direct painting
 VCL_DOUBLEBUFFERING_FORCE_ENABLE - enable double buffered painting
@@ -22,4 +23,4 @@ OpenGL
 SAL_FORCEGL - force enable OpenGL
 SAL_WITHOUT_WIDGET_CACHE - disable LRU caching of native widget texutres
 SAL_DISABLE_GLYPH_CACHING - don't render glyphs through OpenGL textures
-SAL_DISABLE_GL_WATCHDOG - don't start the thread that watches for broken GL 
drivers
\ No newline at end of file
+SAL_DISABLE_GL_WATCHDOG - don't start the thread that watches for broken GL 
drivers
commit dca73ef8cf8ddd6078d70f4bc759708f3f5d4618
Author: Tomaž Vajngerl 
Date:   Sun Nov 8 23:00:14 2015 +0100

support to load SVG images when loading from Image resource

Change-Id: Ieda1c334d8d995c774381c52fa1d9aa11751c5ef

diff --git a/include/vcl/BitmapTools.hxx b/include/vcl/BitmapTools.hxx
new file mode 100644
index 000..b156424
--- /dev/null
+++ b/include/vcl/BitmapTools.hxx
@@ -0,0 +1,30 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef INCLUDED_VCL_BITMAP_TOOLS_HXX
+#define INCLUDED_VCL_BITMAP_TOOLS_HXX
+
+#include 
+#include 
+
+namespace vcl
+{
+
+class VCL_DLLPUBLIC BitmapTools
+{
+public:
+static void loadFromSvg(SvStream& rStream, const OUString& sPath, 
BitmapEx& rBitmapEx,
+double fScaleFactor = 1.0, const Size& aSize = 
Size());
+};
+
+}
+
+#endif // INCLUDED_VCL_BITMAP_TOOLS_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/Library_vcl.mk b/vcl/Library_vcl.mk
index 575a64f..a59c49b 100644
--- a/vcl/Library_vcl.mk
+++ b/vcl/Library_vcl.mk
@@ -326,6 +326,7 @@ $(eval $(call gb_Library_add_exception_objects,vcl,\
 vcl/source/bitmap/BitmapSymmetryCheck \
 vcl/source/bitmap/BitmapFilterStackBlur \
 vcl/source/bitmap/BitmapProcessor \
+vcl/source/bitmap/BitmapTools \
 vcl/source/bitmap/checksum \
 vcl/source/helper/canvasbitmap \
 vcl/source/helper/canvastools \
diff --git a/vcl/source/bitmap/BitmapTools.cxx 
b/vcl/source/bitmap/BitmapTools.cxx
new file mode 100644
index 000..c65376a
--- /dev/null
+++ b/vcl/source/bitmap/BitmapTools.cxx
@@ -0,0 +1,95 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ */
+
+#include 
+
+#include 
+#include 
+#include 
+
+#include 
+#include 
+
+#include 
+
+#include 
+
+using namespace css;
+
+using drawinglayer::primitive2d::Primitive2DSequence;
+using drawinglayer::primitive2d::Primitive2DReference;
+
+namespace vcl
+{
+
+void BitmapTools::loadFromSvg(SvStream& rStream, const OUString& sPath, 
BitmapEx& rBitmapEx, double fScalingFactor, const Size& aSize)
+{
+uno::Reference 
xContext(comphelper::getProcessComponentContext());
+const uno::Reference xSvgParser = 
graphic::SvgTools::create(xContext);
+
+sal_Size nSize = rStream.remainingSize();
+std::vector pBuffer(nSize + 1);
+rStream.Read(pBuffer.data(), nSize);
+pBuffer[nSize] = 0;
+
+uno::Sequence aData(pBuffer.data(), nSize + 1);
+uno::Reference aInputStream(new 
comphelper::SequenceInputStream(aData));
+
+Primitive2DSequence aPrimitiveSequence = 
xSvgParser->getDecomposition(aInputStream, sPath);
+
+if (aPrimitiveSequence.hasElements())
+{
+uno::Sequence aViewParameters;
+
+const sal_Int32 nCount(aPrimitiveSequence.getLength());
+geometry::RealRectangle2D aRealRect;
+basegfx::B2DRange aRange;
+for (sal_Int32 a = 0L; a < nCount; ++a)
+{
+const Primitive2DReference xReference(aPrimitiveSequence

[Libreoffice-commits] core.git: vcl/source

2015-11-08 Thread Stephan Bergmann
 vcl/source/bitmap/BitmapTools.cxx |3 ---
 1 file changed, 3 deletions(-)

New commits:
commit c8486f866dd6d7a8db6b4df5a68f013ce142de62
Author: Stephan Bergmann 
Date:   Sun Nov 8 23:20:42 2015 +0100

Leftover debug code? (causes -Werror,-Wformat)

Change-Id: I8629481a454a668b3044eb6f56dbe43d4720e52a

diff --git a/vcl/source/bitmap/BitmapTools.cxx 
b/vcl/source/bitmap/BitmapTools.cxx
index c65376a..a82b95c 100644
--- a/vcl/source/bitmap/BitmapTools.cxx
+++ b/vcl/source/bitmap/BitmapTools.cxx
@@ -75,8 +75,6 @@ void BitmapTools::loadFromSvg(SvStream& rStream, const 
OUString& sPath, BitmapEx
 const css::uno::Reference xBitmap(
 xPrimitive2DRenderer->rasterize(aPrimitiveSequence, 
aViewParameters, nDPI, nDPI, aRealRect, 256*256));
 
-printf("%f %f %f %f\n", aRealRect.X1, aRealRect.Y1, aRealRect.X2, 
aRealRect.Y2);
-
 if (xBitmap.is())
 {
 const css::uno::Reference 
xIntBmp(xBitmap, uno::UNO_QUERY_THROW);
@@ -84,7 +82,6 @@ void BitmapTools::loadFromSvg(SvStream& rStream, const 
OUString& sPath, BitmapEx
 if (xIntBmp.is())
 {
 rBitmapEx = vcl::unotools::bitmapExFromXBitmap(xIntBmp);
-printf("Size: %d %d\n", rBitmapEx.GetSizePixel().Width(), 
rBitmapEx.GetSizePixel().Height());
 }
 }
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: cui/uiconfig

2015-11-08 Thread Adolfo Jayme Barrientos
 cui/uiconfig/ui/optctlpage.ui |   20 ++--
 1 file changed, 14 insertions(+), 6 deletions(-)

New commits:
commit f271602f7193ddf584ea58dc6a468e6842d0781e
Author: Adolfo Jayme Barrientos 
Date:   Sun Nov 8 16:31:29 2015 -0600

Improve layout of CTL settings

- Kill those evil, space-wasting “homogeneous width” properties
- Align Movement and Numerals labels
- Bring radio buttons together

Change-Id: Ib279f81b48733cccd8dd399549f598a21613076a

diff --git a/cui/uiconfig/ui/optctlpage.ui b/cui/uiconfig/ui/optctlpage.ui
index 52a8b37..d965e0d 100644
--- a/cui/uiconfig/ui/optctlpage.ui
+++ b/cui/uiconfig/ui/optctlpage.ui
@@ -125,14 +125,14 @@
   
 True
 False
+6
 12
-True
 
   
 True
 False
-0
 Movement:
+1
   
   
 0
@@ -168,10 +168,13 @@
 movementlogical
   
   
-2
-0
+1
+1
   
 
+
+  
+
   
 
   
@@ -210,15 +213,14 @@
 True
 False
 12
-True
 
   
 True
 False
-0
 _Numerals:
 True
 numerals
+1
   
   
 0
@@ -263,4 +265,10 @@
   
 
   
+  
+
+  
+  
+
+  
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] cppunit.git: Makefile.am

2015-11-08 Thread Markus Mohrhard
 Makefile.am |2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 4b28f0c821bd0ee044cf0a4be1a7270edc9874cb
Author: Markus Mohrhard 
Date:   Sun Nov 8 05:37:51 2015 -0800

fix make distcheck

diff --git a/Makefile.am b/Makefile.am
index 6ecfcaa..18371e0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -81,3 +81,5 @@ doc-dist:
 
 distclean-local:
rm -rf *.cache *~ $(PACKAGE)*.tar.*
+
+DISTCLEANFILES = _configs.sed
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: icon-themes/sifr

2015-11-08 Thread Matthias Freund
 icon-themes/sifr/cmd/lc_arrowshapes.left-right-arrow-callout.png |binary
 icon-themes/sifr/cmd/lc_arrowshapes.notched-left-arrow.png   |binary
 icon-themes/sifr/cmd/lc_arrowshapes.notched-right-arrow.png  |binary
 icon-themes/sifr/cmd/lc_arrowshapes.pentagon-right.png   |binary
 icon-themes/sifr/cmd/lc_arrowshapes.png  |binary
 icon-themes/sifr/cmd/lc_arrowshapes.s-sharped-arrow.png  |binary
 icon-themes/sifr/cmd/lc_arrowshapes.split-arrow.png  |binary
 icon-themes/sifr/cmd/lc_arrowshapes.split-round-arrow.png|binary
 icon-themes/sifr/cmd/lc_arrowshapes.striped-right-arrow.png  |binary
 icon-themes/sifr/cmd/lc_arrowshapes.up-arrow.png |binary
 icon-themes/sifr/cmd/lc_arrowshapes.up-down-arrow-callout.png|binary
 icon-themes/sifr/cmd/lc_arrowshapes.up-right-arrow-callout.png   |binary
 icon-themes/sifr/cmd/lc_arrowshapes.up-right-arrow.png   |binary
 icon-themes/sifr/cmd/lc_arrowshapes.up-right-down-arrow.png  |binary
 icon-themes/sifr/cmd/lc_calloutshapes.png|binary
 15 files changed

New commits:
commit a148fe149c7af1995fd2aaab0a6e52242509b993
Author: Matthias Freund 
Date:   Sun Nov 8 22:54:02 2015 +0100

tdf#75256 Sifr updates: more shapes

Change-Id: I3bb5980e53b5a9d922ca401dd9927ee64f7cef98
Reviewed-on: https://gerrit.libreoffice.org/19843
Tested-by: Jenkins 
Reviewed-by: Adolfo Jayme Barrientos 

diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.left-right-arrow-callout.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.left-right-arrow-callout.png
index 44f4852..4f124f7 100644
Binary files a/icon-themes/sifr/cmd/lc_arrowshapes.left-right-arrow-callout.png 
and b/icon-themes/sifr/cmd/lc_arrowshapes.left-right-arrow-callout.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.notched-left-arrow.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.notched-left-arrow.png
new file mode 100644
index 000..7b03d71
Binary files /dev/null and 
b/icon-themes/sifr/cmd/lc_arrowshapes.notched-left-arrow.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.notched-right-arrow.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.notched-right-arrow.png
index e356ef3..8c632f6 100644
Binary files a/icon-themes/sifr/cmd/lc_arrowshapes.notched-right-arrow.png and 
b/icon-themes/sifr/cmd/lc_arrowshapes.notched-right-arrow.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.pentagon-right.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.pentagon-right.png
index 25ca2b0..23c9971 100644
Binary files a/icon-themes/sifr/cmd/lc_arrowshapes.pentagon-right.png and 
b/icon-themes/sifr/cmd/lc_arrowshapes.pentagon-right.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.png
index d707dd7..448631e 100644
Binary files a/icon-themes/sifr/cmd/lc_arrowshapes.png and 
b/icon-themes/sifr/cmd/lc_arrowshapes.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.s-sharped-arrow.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.s-sharped-arrow.png
index 44e6225..86d1ca3 100644
Binary files a/icon-themes/sifr/cmd/lc_arrowshapes.s-sharped-arrow.png and 
b/icon-themes/sifr/cmd/lc_arrowshapes.s-sharped-arrow.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.split-arrow.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.split-arrow.png
index 9f3d4cb..2b03786 100644
Binary files a/icon-themes/sifr/cmd/lc_arrowshapes.split-arrow.png and 
b/icon-themes/sifr/cmd/lc_arrowshapes.split-arrow.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.split-round-arrow.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.split-round-arrow.png
index 55045a9..9a107df 100644
Binary files a/icon-themes/sifr/cmd/lc_arrowshapes.split-round-arrow.png and 
b/icon-themes/sifr/cmd/lc_arrowshapes.split-round-arrow.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.striped-right-arrow.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.striped-right-arrow.png
index b2439f6..39935c4 100644
Binary files a/icon-themes/sifr/cmd/lc_arrowshapes.striped-right-arrow.png and 
b/icon-themes/sifr/cmd/lc_arrowshapes.striped-right-arrow.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.up-arrow.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.up-arrow.png
index 0242294..d60acf9 100644
Binary files a/icon-themes/sifr/cmd/lc_arrowshapes.up-arrow.png and 
b/icon-themes/sifr/cmd/lc_arrowshapes.up-arrow.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.up-down-arrow-callout.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.up-down-arrow-callout.png
index 8eca285..b73075f 100644
Binary files a/icon-themes/sifr/cmd/lc_arrowshapes.up-down-arrow-callout.png 
and b/icon-themes/sifr/cmd/lc_arrowshapes.up-down-arrow-callout.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.up-right-arrow-callout.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.up-right-arrow-callout.png
index dff1c87..c56f417 100644
Binary files a/icon-themes/sifr/cmd/lc_arrowshapes.up-right-arrow-callout.png 
and b/icon-themes/s

[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - icon-themes/sifr

2015-11-08 Thread Matthias Freund
 icon-themes/sifr/cmd/lc_arrowshapes.left-right-arrow-callout.png |binary
 icon-themes/sifr/cmd/lc_arrowshapes.notched-left-arrow.png   |binary
 icon-themes/sifr/cmd/lc_arrowshapes.notched-right-arrow.png  |binary
 icon-themes/sifr/cmd/lc_arrowshapes.pentagon-right.png   |binary
 icon-themes/sifr/cmd/lc_arrowshapes.png  |binary
 icon-themes/sifr/cmd/lc_arrowshapes.s-sharped-arrow.png  |binary
 icon-themes/sifr/cmd/lc_arrowshapes.split-arrow.png  |binary
 icon-themes/sifr/cmd/lc_arrowshapes.split-round-arrow.png|binary
 icon-themes/sifr/cmd/lc_arrowshapes.striped-right-arrow.png  |binary
 icon-themes/sifr/cmd/lc_arrowshapes.up-arrow.png |binary
 icon-themes/sifr/cmd/lc_arrowshapes.up-down-arrow-callout.png|binary
 icon-themes/sifr/cmd/lc_arrowshapes.up-right-arrow-callout.png   |binary
 icon-themes/sifr/cmd/lc_arrowshapes.up-right-arrow.png   |binary
 icon-themes/sifr/cmd/lc_arrowshapes.up-right-down-arrow.png  |binary
 icon-themes/sifr/cmd/lc_calloutshapes.png|binary
 15 files changed

New commits:
commit e5a78bec5d5a2e6833a0903e51bb9c324bac8fcf
Author: Matthias Freund 
Date:   Sun Nov 8 22:54:02 2015 +0100

tdf#75256 Sifr updates: more shapes

Change-Id: I3bb5980e53b5a9d922ca401dd9927ee64f7cef98
Reviewed-on: https://gerrit.libreoffice.org/19843
Tested-by: Jenkins 
Reviewed-by: Adolfo Jayme Barrientos 
(cherry picked from commit a148fe149c7af1995fd2aaab0a6e52242509b993)
Reviewed-on: https://gerrit.libreoffice.org/19845
Tested-by: Adolfo Jayme Barrientos 

diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.left-right-arrow-callout.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.left-right-arrow-callout.png
index 44f4852..4f124f7 100644
Binary files a/icon-themes/sifr/cmd/lc_arrowshapes.left-right-arrow-callout.png 
and b/icon-themes/sifr/cmd/lc_arrowshapes.left-right-arrow-callout.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.notched-left-arrow.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.notched-left-arrow.png
new file mode 100644
index 000..7b03d71
Binary files /dev/null and 
b/icon-themes/sifr/cmd/lc_arrowshapes.notched-left-arrow.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.notched-right-arrow.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.notched-right-arrow.png
index e356ef3..8c632f6 100644
Binary files a/icon-themes/sifr/cmd/lc_arrowshapes.notched-right-arrow.png and 
b/icon-themes/sifr/cmd/lc_arrowshapes.notched-right-arrow.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.pentagon-right.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.pentagon-right.png
index 25ca2b0..23c9971 100644
Binary files a/icon-themes/sifr/cmd/lc_arrowshapes.pentagon-right.png and 
b/icon-themes/sifr/cmd/lc_arrowshapes.pentagon-right.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.png
index d707dd7..448631e 100644
Binary files a/icon-themes/sifr/cmd/lc_arrowshapes.png and 
b/icon-themes/sifr/cmd/lc_arrowshapes.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.s-sharped-arrow.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.s-sharped-arrow.png
index 44e6225..86d1ca3 100644
Binary files a/icon-themes/sifr/cmd/lc_arrowshapes.s-sharped-arrow.png and 
b/icon-themes/sifr/cmd/lc_arrowshapes.s-sharped-arrow.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.split-arrow.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.split-arrow.png
index 9f3d4cb..2b03786 100644
Binary files a/icon-themes/sifr/cmd/lc_arrowshapes.split-arrow.png and 
b/icon-themes/sifr/cmd/lc_arrowshapes.split-arrow.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.split-round-arrow.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.split-round-arrow.png
index 55045a9..9a107df 100644
Binary files a/icon-themes/sifr/cmd/lc_arrowshapes.split-round-arrow.png and 
b/icon-themes/sifr/cmd/lc_arrowshapes.split-round-arrow.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.striped-right-arrow.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.striped-right-arrow.png
index b2439f6..39935c4 100644
Binary files a/icon-themes/sifr/cmd/lc_arrowshapes.striped-right-arrow.png and 
b/icon-themes/sifr/cmd/lc_arrowshapes.striped-right-arrow.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.up-arrow.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.up-arrow.png
index 0242294..d60acf9 100644
Binary files a/icon-themes/sifr/cmd/lc_arrowshapes.up-arrow.png and 
b/icon-themes/sifr/cmd/lc_arrowshapes.up-arrow.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.up-down-arrow-callout.png 
b/icon-themes/sifr/cmd/lc_arrowshapes.up-down-arrow-callout.png
index 8eca285..b73075f 100644
Binary files a/icon-themes/sifr/cmd/lc_arrowshapes.up-down-arrow-callout.png 
and b/icon-themes/sifr/cmd/lc_arrowshapes.up-down-arrow-callout.png differ
diff --git a/icon-themes/sifr/cmd/lc_arrowshapes.up-right-arrow-callout.png 
b/icon-themes/sifr/cmd/lc_

[Libreoffice-commits] cppunit.git: include/cppunit

2015-11-08 Thread Markus Mohrhard
 include/cppunit/portability/SmartPtr.h |4 
 1 file changed, 4 insertions(+)

New commits:
commit 292026e36ce5b9ebdad86e99304be2ded8c199d8
Author: Markus Mohrhard 
Date:   Sun Nov 8 07:26:23 2015 -0800

fix --disable-optional-features build

Use std::auto_ptr in C++03 mode.

diff --git a/include/cppunit/portability/SmartPtr.h 
b/include/cppunit/portability/SmartPtr.h
index 76e2183..5fa9c9d 100644
--- a/include/cppunit/portability/SmartPtr.h
+++ b/include/cppunit/portability/SmartPtr.h
@@ -1,6 +1,10 @@
 #ifndef CPPUNIT_PORTABILITY_CPPUNITSMARTPTR_H
 #define CPPUNIT_PORTABILITY_CPPUNITSMARTPTR_H
 
+#if HAVE_CXX11
 #define CppUnitSmartPtr std::unique_ptr
+#else
+#define CppUnitSmartPtr std::auto_ptr
+#endif
 
 #endif // CPPUNIT_PORTABILITY_CPPUNITDEQUE_H
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] cppunit.git: Changes to 'feature/parameterized'

2015-11-08 Thread Markus Mohrhard
New branch 'feature/parameterized' available with the following commits:
commit bff09f0ff2795d98b75c5579b1e50254eecf01a4
Author: Markus Mohrhard 
Date:   Sun Nov 8 07:31:41 2015 -0800

add parameterized test callers

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Unicode characters in Thesaurus dialog box

2015-11-08 Thread Adolfo Jayme Barrientos
2015-11-08 5:19 GMT-06:00 shantanu oak :
> https://www.flickr.com/photos/shantanuo/22450714007
>
> The first word is shown correctly while the second one is shown as boxes.

This is already reported:

https://bugs.documentfoundation.org/show_bug.cgi?id=90261
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1344996
etc.

Whenever the UI font doesn’t support a different script, LibreOffice
does not fall back to anything else and displays squares.

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


System POPPLER_VERSION redefined, won't build

2015-11-08 Thread ariel cornejo
Biulding from Git with --with-system-poppler I get a warning repeatedly:
In file included from
/mnt/windows/libreoffice-src/core/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx:24:0,

from
/mnt/windows/libreoffice-src/core/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:20:/mnt/windows/libreoffice-src/core/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:57:0:
warning: "POPPLER_VERSION" redefined #define POPPLER_VERSION "0.12.3" ^In
file included from /usr/include/poppler/GfxState.h:38:0,
from
/mnt/windows/libreoffice-src/core/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:33,

from
/mnt/windows/libreoffice-src/core/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx:24,

from
/mnt/windows/libreoffice-src/core/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:20:/usr/include/poppler/poppler-config.h:37:0:
note: this is the location of the previous definition #define
POPPLER_VERSION "0.33.0" ^
And gcc fails because the arguments to processLink() are wrong:
In file included from
/mnt/windows/libreoffice-src/core/sdext/source/pdfimport/xpdfwrapper/pnghelper.hxx:24:0,

from
/mnt/windows/libreoffice-src/core/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx:20:/mnt/windows/libreoffice-src/core/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:200:34:
error: ‘Link’ has not been declared virtual void processLink(Link
*link, Catalog *catalog) override; 
^/mnt/windows/libreoffice-src/core/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx:185:22:
error: ‘virtual void pdfi::PDFOutDev::startPage(int, GfxState*)’ marked
‘override’, but does not override virtual void startPage(int
pageNum, GfxState *state  ^




--
View this message in context: 
http://nabble.documentfoundation.org/System-POPPLER-VERSION-redefined-won-t-build-tp4165697.html
Sent from the Dev mailing list archive at Nabble.com.___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: System POPPLER_VERSION redefined, won't build

2015-11-08 Thread ariel cornejo
(cont'd)
Apparently POPPLER_VERSION depends on HAVE_POPPLER_VERSION_H, which in turn
is set in the configure script:
$as_echo "#define HAVE_POPPLER_VERSION_H 1" >>confdefs.h
But in the past I've just had to run autogen.sh before make. What's more,
configure ignores the options I set in autogen.lastrun. Just to see what
would happen, I created core/confdefs.h with the single required line, to no
avail; it might not even be the right path.
What's wrong?




--
View this message in context: 
http://nabble.documentfoundation.org/System-POPPLER-VERSION-redefined-won-t-build-tp4165697p4165698.html
Sent from the Dev mailing list archive at Nabble.com.___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: System POPPLER_VERSION redefined, won't build

2015-11-08 Thread Markus Mohrhard
Hey,

On Sun, Nov 8, 2015 at 7:39 PM, ariel cornejo  wrote:

> (cont'd)
>
> Apparently POPPLER_VERSION depends on HAVE_POPPLER_VERSION_H, which in
> turn is set in the configure script:
>
> $as_echo "#define HAVE_POPPLER_VERSION_H 1" >>confdefs.h
>
> But in the past I've just had to run autogen.sh before make. What's more,
> configure ignores the options I set in autogen.lastrun. Just to see what
> would happen, I created core/confdefs.h with the single required line, to
> no avail; it might not even be the right path.
>
> What's wrong?
>

The poppler warning is not responsible for your build failure. Maybe the
recent move to typed Link has missed the system-poppler case.

>
> --
> View this message in context: Re: System POPPLER_VERSION redefined, won't
> build
> 
>
> Sent from the Dev mailing list archive
>  at Nabble.com.
>
> ___
> 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: System POPPLER_VERSION redefined, won't build

2015-11-08 Thread ariel cornejo
Sure about that? The compilation bombs at line 200:
194 //- link borders195 #if
POPPLER_CHECK_VERSION(0, 19, 0)196 virtual void
processLink(AnnotLink *link) override;197 #elif
POPPLER_CHECK_VERSION(0, 17, 0)198 virtual void
processLink(AnnotLink *link, Catalog *catalog) override;199 #else  *
200 virtual void processLink(Link *link, Catalog *catalog) override;   
201 #endif 
It looks like it would work if POPPLER_CHECK_VERSION(0, 19, 0) was true,
because it'd use AnnotLink, which is what /usr/include/poppler/Link.h
defines.



--
View this message in context: 
http://nabble.documentfoundation.org/System-POPPLER-VERSION-redefined-won-t-build-tp4165697p4165700.html
Sent from the Dev mailing list archive at Nabble.com.___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Unicode characters in Thesaurus dialog box

2015-11-08 Thread Khaled Hosny
On Sun, Nov 08, 2015 at 10:06:51AM -0600, Adolfo Jayme Barrientos wrote:
> Whenever the UI font doesn’t support a different script, LibreOffice
> does not fall back to anything else and displays squares.

Is this true, I always had font fallback on LibreOffice UI (on Linux at
least), even my main UI font does not support Latin at all but otherwise
the UI shows English text just fine.

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


[Libreoffice-commits] core.git: comphelper/inc comphelper/source

2015-11-08 Thread Mario J . Rugiero
 comphelper/inc/pch/precompiled_comphelper.hxx |1 -
 comphelper/source/property/property.cxx   |1 -
 2 files changed, 2 deletions(-)

New commits:
commit 960d03211e471bd5f6d3dd33ae929dfe43d47402
Author: Mario J. Rugiero 
Date:   Sun Nov 8 19:14:26 2015 -0300

Cleanup two unused boost/bind includes in comphelper.

Change-Id: I8bfbbc82be3a91d7227ff76fc6eb570c1155dd4f
Reviewed-on: https://gerrit.libreoffice.org/19844
Tested-by: Jenkins 
Reviewed-by: Noel Grandin 

diff --git a/comphelper/inc/pch/precompiled_comphelper.hxx 
b/comphelper/inc/pch/precompiled_comphelper.hxx
index cfc8055..d83ade8 100644
--- a/comphelper/inc/pch/precompiled_comphelper.hxx
+++ b/comphelper/inc/pch/precompiled_comphelper.hxx
@@ -16,7 +16,6 @@
 
 #include 
 #include 
-#include 
 #include 
 #include 
 #include 
diff --git a/comphelper/source/property/property.cxx 
b/comphelper/source/property/property.cxx
index f22561c..bcf7609 100644
--- a/comphelper/source/property/property.cxx
+++ b/comphelper/source/property/property.cxx
@@ -34,7 +34,6 @@
 #include 
 
 #include 
-#include 
 
 
 namespace comphelper
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: configmgr/source

2015-11-08 Thread Mario J . Rugiero
 configmgr/source/setnode.cxx |   23 ++-
 1 file changed, 2 insertions(+), 21 deletions(-)

New commits:
commit e589f187e47bf2d5a9bf8e96e050189b7782cb77
Author: Mario J. Rugiero 
Date:   Sun Nov 8 20:49:09 2015 -0300

Replace a local functor in configmgr by a lambda.

Change-Id: Ida4317ec6b96ab8cb3362243b4acace3680bcd31
Reviewed-on: https://gerrit.libreoffice.org/19846
Tested-by: Jenkins 
Reviewed-by: Noel Grandin 

diff --git a/configmgr/source/setnode.cxx b/configmgr/source/setnode.cxx
index b26188d..18ad537 100644
--- a/configmgr/source/setnode.cxx
+++ b/configmgr/source/setnode.cxx
@@ -33,26 +33,6 @@
 
 namespace configmgr {
 
-namespace {
-
-// Work around some compilers' failure to accept
-// std::binder1st(std::ptr_fun(&Data::equalTemplateNames), ...):
-class EqualTemplateNames:
-public std::unary_function< OUString const &, bool >
-{
-public:
-inline explicit EqualTemplateNames(OUString const & shortName):
-shortName_(shortName) {}
-
-inline bool operator ()(OUString const & longName) const
-{ return Data::equalTemplateNames(shortName_, longName); }
-
-private:
-OUString const & shortName_;
-};
-
-}
-
 SetNode::SetNode(
 int layer, OUString const & defaultTemplateName,
 OUString const & templateName):
@@ -86,7 +66,8 @@ bool SetNode::isValidTemplate(OUString const & templateName) 
const {
 return Data::equalTemplateNames(templateName, defaultTemplateName_) ||
 (std::find_if(
 additionalTemplateNames_.begin(),
-additionalTemplateNames_.end(), EqualTemplateNames(templateName)) 
!=
+additionalTemplateNames_.end(),
+[&templateName](OUString const & longName) { return 
Data::equalTemplateNames(templateName, longName); } ) !=
  additionalTemplateNames_.end());
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: fpicker/source

2015-11-08 Thread Mario J . Rugiero
 fpicker/source/win32/filepicker/customcontrolcontainer.cxx |   73 +
 1 file changed, 6 insertions(+), 67 deletions(-)

New commits:
commit f045b7cb457e8ca1c0a2b3d3ec08f5fe647542bd
Author: Mario J. Rugiero 
Date:   Sun Nov 8 23:07:03 2015 -0300

Replace a few for_each and one-liner locals by range-based loops in fpicker.

Change-Id: I07cb510b8c8ab195d5d3addb715cfb0af488ab9b
Reviewed-on: https://gerrit.libreoffice.org/19849
Tested-by: Jenkins 
Reviewed-by: Noel Grandin 

diff --git a/fpicker/source/win32/filepicker/customcontrolcontainer.cxx 
b/fpicker/source/win32/filepicker/customcontrolcontainer.cxx
index 4955c03..c4b5fe3 100644
--- a/fpicker/source/win32/filepicker/customcontrolcontainer.cxx
+++ b/fpicker/source/win32/filepicker/customcontrolcontainer.cxx
@@ -20,44 +20,6 @@
 #include "customcontrolcontainer.hxx"
 
 #include 
-#include 
-
-
-
-
-
-namespace /* private */
-{
-void DeleteCustomControl(CCustomControl* aCustomControl)
-{
-delete aCustomControl;
-};
-
-void AlignCustomControl(CCustomControl* aCustomControl)
-{
-aCustomControl->Align();
-};
-
-class CSetFontHelper
-{
-public:
-CSetFontHelper(HFONT hFont) :
-m_hFont(hFont)
-{
-}
-
-void SAL_CALL operator()(CCustomControl* aCustomControl)
-{
-aCustomControl->SetFont(m_hFont);
-}
-
-private:
-HFONT m_hFont;
-};
-}
-
-
-
 
 
 CCustomControlContainer::~CCustomControlContainer()
@@ -66,44 +28,26 @@ CCustomControlContainer::~CCustomControlContainer()
 }
 
 
-
-
-
 void SAL_CALL CCustomControlContainer::Align()
 {
-std::for_each(
-m_ControlContainer.begin(),
-m_ControlContainer.end(),
-AlignCustomControl);
+for (auto aCCustomControl : m_ControlContainer)
+aCCustomControl->Align();
 }
 
 
-
-
-
 void SAL_CALL CCustomControlContainer::SetFont(HFONT hFont)
 {
-CSetFontHelper aSetFontHelper(hFont);
-
-std::for_each(
-m_ControlContainer.begin(),
-m_ControlContainer.end(),
-aSetFontHelper);
+for (auto aCCustomControl : m_ControlContainer)
+aCCustomControl->SetFont(hFont);
 }
 
 
-
-
-
 void SAL_CALL CCustomControlContainer::AddControl(CCustomControl* 
aCustomControl)
 {
 m_ControlContainer.push_back(aCustomControl);
 }
 
 
-
-
-
 void SAL_CALL CCustomControlContainer::RemoveControl(CCustomControl* 
aCustomControl)
 {
 ControlContainer_t::iterator iter_end = m_ControlContainer.end();
@@ -119,15 +63,10 @@ void SAL_CALL 
CCustomControlContainer::RemoveControl(CCustomControl* aCustomCont
 }
 
 
-
-
-
 void SAL_CALL CCustomControlContainer::RemoveAllControls()
 {
-std::for_each(
-m_ControlContainer.begin(),
-m_ControlContainer.end(),
-DeleteCustomControl);
+for (auto aCCustomControl : m_ControlContainer)
+delete aCCustomControl;
 
 m_ControlContainer.clear();
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: formula/source

2015-11-08 Thread Mario J . Rugiero
 formula/source/ui/dlg/formula.cxx |   16 +++-
 1 file changed, 3 insertions(+), 13 deletions(-)

New commits:
commit 357a6f6ba23245c6fe84d888edc7ad0d01a831b8
Author: Mario J. Rugiero 
Date:   Sun Nov 8 22:40:27 2015 -0300

Replace a local functor and bind2nd by a lambda in formula.

Change-Id: Ied06b3f167c566d754d32708eaec4a354f7ee663
Reviewed-on: https://gerrit.libreoffice.org/19848
Tested-by: Jenkins 
Reviewed-by: Noel Grandin 

diff --git a/formula/source/ui/dlg/formula.cxx 
b/formula/source/ui/dlg/formula.cxx
index 831d54b..0af8a12 100644
--- a/formula/source/ui/dlg/formula.cxx
+++ b/formula/source/ui/dlg/formula.cxx
@@ -58,7 +58,6 @@
 #include 
 #include 
 #include 
-#include 
 #include 
 #include 
 #include 
@@ -454,17 +453,6 @@ void FormulaDlg_Impl::DeleteArgs()
 ::std::vector< OUString>().swap(m_aArguments);
 nArgs = 0;
 }
-namespace
-{
-// comparing two property instances
-struct OpCodeCompare : public ::std::binary_function< 
sheet::FormulaOpCodeMapEntry, sal_Int32 , bool >
-{
-bool operator() (const sheet::FormulaOpCodeMapEntry& x, sal_Int32 y) 
const
-{
-return x.Token.OpCode == y;
-}
-};
-}
 
 sal_Int32 FormulaDlg_Impl::GetFunctionPos(sal_Int32 nPos)
 {
@@ -540,7 +528,9 @@ sal_Int32 FormulaDlg_Impl::GetFunctionPos(sal_Int32 nPos)
 bFlag = false;
 nFuncPos = nPrevFuncPos;
 }
-bool bIsFunction = 
::std::find_if(m_aFunctionOpCodes.getConstArray(),m_pFunctionOpCodesEnd,::std::bind2nd(OpCodeCompare(),boost::cref(eOp)))
 != m_pFunctionOpCodesEnd;
+bool bIsFunction = 
::std::find_if(m_aFunctionOpCodes.getConstArray(),
+m_pFunctionOpCodesEnd,
+[&eOp](const sheet::FormulaOpCodeMapEntry& 
aEntry) { return aEntry.Token.OpCode == eOp; } ) != m_pFunctionOpCodesEnd;
 
 if( bIsFunction && 
m_aSpecialOpCodes[sheet::FormulaMapGroupSpecialOffset::SPACES].Token.OpCode != 
eOp )
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: System POPPLER_VERSION redefined, won't build

2015-11-08 Thread Markus Mohrhard
Oh,

Link is also a different concept in LibreOffice.

So which version of poppler (and the corresponding development package) do
you have installed?

Regards,
Markus

On Sun, Nov 8, 2015 at 8:32 PM, ariel cornejo  wrote:

> Sure about that? The compilation bombs at line 200:
>
> 194 //- link borders
> 195 #if POPPLER_CHECK_VERSION(0, 19, 0)
> 196 virtual void processLink(AnnotLink *link) override;
> 197 #elif POPPLER_CHECK_VERSION(0, 17, 0)
> 198 virtual void processLink(AnnotLink *link, Catalog *catalog) 
> override;
> 199 #else
>   * 200 virtual void processLink(Link *link, Catalog *catalog) 
> override;
> 201 #endif
>
> It looks like it would work if POPPLER_CHECK_VERSION(0, 19, 0) was true,
> because it'd use AnnotLink, which is what /usr/include/poppler/Link.h
> defines.
> --
> View this message in context: Re: System POPPLER_VERSION redefined, won't
> build
> 
> Sent from the Dev mailing list archive
>  at Nabble.com.
>
> ___
> 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] core.git: sw/source

2015-11-08 Thread Noel Grandin
 sw/source/filter/basflt/fltini.cxx   |2 -
 sw/source/filter/html/htmlbas.cxx|4 +-
 sw/source/filter/html/htmlform.cxx   |6 +--
 sw/source/filter/html/swhtml.hxx |6 +--
 sw/source/filter/ww8/docxattributeoutput.cxx |2 -
 sw/source/filter/ww8/escher.hxx  |6 +--
 sw/source/filter/ww8/writerwordglue.cxx  |2 -
 sw/source/filter/ww8/wrtw8esh.cxx|8 ++--
 sw/source/filter/ww8/wrtw8nds.cxx|2 -
 sw/source/filter/ww8/ww8par.hxx  |   36 ++-
 sw/source/filter/ww8/ww8scan.cxx |2 -
 sw/source/filter/xml/XMLRedlineImportHelper.cxx  |   18 -
 sw/source/filter/xml/XMLRedlineImportHelper.hxx  |   28 --
 sw/source/filter/xml/swxml.cxx   |   10 ++---
 sw/source/filter/xml/wrtxml.cxx  |   10 ++---
 sw/source/filter/xml/wrtxml.hxx  |   27 --
 sw/source/filter/xml/xmlbrsh.cxx |2 -
 sw/source/filter/xml/xmlbrshi.hxx|   14 ++-
 sw/source/filter/xml/xmlexp.cxx  |   22 +--
 sw/source/filter/xml/xmlfmte.cxx |   10 ++---
 sw/source/filter/xml/xmlfonte.cxx|6 +--
 sw/source/filter/xml/xmlimp.cxx  |   16 
 sw/source/filter/xml/xmlimp.hxx  |   21 +++
 sw/source/filter/xml/xmliteme.cxx|2 -
 sw/source/filter/xml/xmlitemi.cxx|2 -
 sw/source/filter/xml/xmlmeta.cxx |6 +--
 sw/source/filter/xml/xmltble.cxx |   10 ++---
 sw/source/filter/xml/xmltbli.cxx |   12 +++---
 sw/source/filter/xml/xmltbli.hxx |   21 ---
 sw/source/filter/xml/xmltext.cxx |4 +-
 sw/source/filter/xml/xmltexte.cxx|   12 +++---
 sw/source/filter/xml/xmltexte.hxx|   18 +++--
 sw/source/filter/xml/xmltexti.cxx|   10 ++---
 sw/source/filter/xml/xmltexti.hxx|   34 ++---
 sw/source/ui/chrdlg/chardlg.cxx  |6 +--
 sw/source/ui/config/mailconfigpage.cxx   |6 +--
 sw/source/ui/config/optcomp.cxx  |6 +--
 sw/source/ui/dbui/addresslistdialog.cxx  |   18 -
 sw/source/ui/dbui/addresslistdialog.hxx  |2 -
 sw/source/ui/dbui/createaddresslistdialog.cxx|2 -
 sw/source/ui/dbui/dbinsdlg.cxx   |   14 +++
 sw/source/ui/dbui/dbtablepreviewdialog.cxx   |   10 ++---
 sw/source/ui/dbui/mmaddressblockpage.cxx |8 ++--
 sw/source/ui/dbui/mmdocselectpage.cxx|4 +-
 sw/source/ui/dbui/mmgreetingspage.cxx|2 -
 sw/source/ui/dbui/mmlayoutpage.cxx   |   10 ++---
 sw/source/ui/dbui/mmoutputpage.cxx   |2 -
 sw/source/ui/dbui/mmpreparemergepage.cxx |6 +--
 sw/source/ui/dbui/selectdbtabledialog.cxx|   12 +++---
 sw/source/ui/dialog/macassgn.cxx |4 +-
 sw/source/ui/dialog/swdlgfact.cxx|6 +--
 sw/source/ui/dialog/swdlgfact.hxx|8 ++--
 sw/source/ui/envelp/envlop1.cxx  |6 +--
 sw/source/ui/envelp/labelexp.cxx |6 +--
 sw/source/ui/envelp/labfmt.cxx   |4 +-
 sw/source/ui/envelp/mailmrge.cxx |   24 ++--
 sw/source/ui/fldui/changedb.cxx  |8 ++--
 sw/source/ui/fldui/flddinf.hxx   |2 -
 sw/source/ui/index/cntex.cxx |   14 +++
 sw/source/ui/index/cnttab.cxx|6 +--
 sw/source/ui/index/swuiidxmrk.cxx|6 +--
 sw/source/ui/misc/glossary.cxx   |   10 ++---
 sw/source/ui/misc/srtdlg.cxx |4 +-
 sw/source/ui/uno/swdetect.cxx|   10 ++---
 sw/source/ui/vba/vbaapplication.cxx  |6 +--
 sw/source/ui/vba/vbaeventshelper.cxx |4 +-
 sw/source/ui/vba/vbafont.cxx |4 +-
 sw/source/ui/vba/vbaglobals.cxx  |2 -
 sw/source/uibase/app/appopt.cxx  |6 +--
 sw/source/uibase/app/docsh.cxx   |6 +--
 sw/source/uibase/app/docsh2.cxx  |   16 +++-
 sw/source/uibase/app/docshini.cxx|6 +--
 sw/source/uibase/app/swmodul1.cxx|   10 ++---
 sw/source/uibase/app/swmodule.cxx|2 -
 sw/source/uibase/config/barcfg.cxx   |2 -
 sw/so

[Libreoffice-commits] core.git: slideshow/opengl

2015-11-08 Thread Tor Lillqvist
 slideshow/opengl/vortexVertexShader.glsl |   48 +--
 1 file changed, 14 insertions(+), 34 deletions(-)

New commits:
commit 6bb8194341cae5599f61cd613cf234ad2cbd2efc
Author: Tor Lillqvist 
Date:   Mon Nov 9 09:04:41 2015 +0200

Simplify and improve (?) the Vortex transition

Change-Id: I0602be9567961ca3bb5d41febd35ad65d8d7fb2a

diff --git a/slideshow/opengl/vortexVertexShader.glsl 
b/slideshow/opengl/vortexVertexShader.glsl
index 1dffbbd..fb40e0f 100755
--- a/slideshow/opengl/vortexVertexShader.glsl
+++ b/slideshow/opengl/vortexVertexShader.glsl
@@ -40,16 +40,18 @@ void main( void )
 {
 vec4 v = gl_Vertex;
 
-// Of course this is nothing like what it will eventually be; just
+// Not sure it this is like what it should eventually be; just
 // experimenting to get at least something.
 
-// Move the tile on a semicircular path so that it will end up at the 
correct place
-// Move half the tiles one way, half the other.
+// Move the tile on a semicircular path so that it will end up at
+// the correct place. All tiles move the same direction around the
+// vertical centre axis.
 
 // Each tile moves during only half of the transition. The letmost
-// tiles start moving immediately and arrive at their end position
-// at time=0.5, when the tiles there (the rightmost ones) start
-// moving.
+// tiles start moving at the start and arrive at their end
+// position around time=0.5, when the tiles there (the rightmost
+// ones) start moving. (The exact time each tile is moving is
+// fuzzed a bit to make a more random appearance.)
 
 // In GLSL 1.20 we don't have any bitwise operators, sigh
 
@@ -57,10 +59,11 @@ void main( void )
 int tileYIndex = int(mod(int(tileInfo) / 256, 256));
 int vertexIndexInTile = int(mod(int(tileInfo) / (256*256), 256));
 
-float startTime = float(tileXIndex)/(numTiles.x-1) * 0.5;
-float endTime = startTime + 0.5;
+// A semi-random number 0..1, different for neighbouring tiles.
+float fuzz = snoise(vec2(float(tileXIndex)/(numTiles.x-1), 
float(tileYIndex)/(numTiles.y-1)));
 
-vec2 tileCenter = vec2(-1 + 1.5 * tileXIndex * (2.0/numTiles.x), -1 + 1.5 
* tileYIndex * (2.0/numTiles.y));
+float startTime = float(tileXIndex)/(numTiles.x-1) * 0.5 + fuzz*0.2;
+float endTime = min(startTime + 0.5, 1.0);
 
 if (time <= startTime)
 {
@@ -70,40 +73,17 @@ void main( void )
 else if (time > startTime && time <= endTime)
 {
 // Moving
-float moveTime = (time - startTime) * 2;
-
-// First: Rotate the tile around its Y axis,
-// It rotates 180 degrees during the transition.
-// Translate to origin, rotate.
-
-v -= vec4(tileCenter, 0, 0);
-
-// A semi-random number 0..1, different for neighbouring tiles
-float fuzz = snoise(256*vec2(float(tileXIndex)/(numTiles.x-1), 
float(tileYIndex)/(numTiles.y-1)));
-
-float rotation = moveTime;
-
-// experiment: perturb rotation a bit randomly
-// rotation = moveTime - fuzz*(0.5-abs(time - 0.5));
+float rotation = (time - startTime) / (endTime - startTime);
 
 v = rotationMatrix(vec3(0, 1, 0), rotation*M_PI) * v;
 
-v.x += tileCenter.x * cos(moveTime*M_PI);
-v.y += tileCenter.y;
-v.z += (fuzz < 0.5 ? -1 : 1) * tileCenter.x * sin(moveTime*M_PI);
-
-// Perturb z a bit randomly
-v.z += (fuzz - 0.5) * 5 * (1 - abs(time-0.5)*2);
-
-v_textureSelect = float(rotation > 0.5);
+v_textureSelect = float(rotation > 0.5 || rotation < -0.5);
 }
 else
 {
 // At end location. Tile is 180 degrees rotated
 
-v -= vec4(tileCenter, 0, 0);
 v = rotationMatrix(vec3(0, 1, 0), M_PI) * v;
-v += vec4(-tileCenter.x, tileCenter.y, 0, 0);
 
 v_textureSelect = 1;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: test/source testtools/source

2015-11-08 Thread Noel Grandin
 test/source/unoapi_test.cxx   |2 
 testtools/source/bridgetest/bridgetest.cxx|8 
 testtools/source/bridgetest/constructors.cxx  |   16 -
 testtools/source/bridgetest/cppobj.cxx|  196 +-
 testtools/source/bridgetest/currentcontextchecker.hxx |   10 
 testtools/source/bridgetest/multi.cxx |4 
 testtools/source/bridgetest/multi.hxx |   38 +--
 testtools/source/performance/ubobject.cxx |   90 
 8 files changed, 178 insertions(+), 186 deletions(-)

New commits:
commit a76f4c6708512d05a783d9330d35decf2aece5a2
Author: Noel Grandin 
Date:   Mon Nov 9 08:46:33 2015 +0200

com::sun::star->css in testtools/

Change-Id: I9a44e44b2478b007fba7f86eefcf4fa04d77b37b
Reviewed-on: https://gerrit.libreoffice.org/19852
Tested-by: Jenkins 
Reviewed-by: Noel Grandin 

diff --git a/test/source/unoapi_test.cxx b/test/source/unoapi_test.cxx
index 7508f57..d609d3c 100644
--- a/test/source/unoapi_test.cxx
+++ b/test/source/unoapi_test.cxx
@@ -25,7 +25,7 @@ void UnoApiTest::setUp()
 {
 test::BootstrapFixture::setUp();
 
-mxDesktop = com::sun::star::frame::Desktop::create( 
comphelper::getComponentContext(getMultiServiceFactory()) );
+mxDesktop = css::frame::Desktop::create( 
comphelper::getComponentContext(getMultiServiceFactory()) );
 CPPUNIT_ASSERT_MESSAGE("no desktop!", mxDesktop.is());
 }
 
diff --git a/testtools/source/bridgetest/bridgetest.cxx 
b/testtools/source/bridgetest/bridgetest.cxx
index 679dce6..f67d9ab 100644
--- a/testtools/source/bridgetest/bridgetest.cxx
+++ b/testtools/source/bridgetest/bridgetest.cxx
@@ -189,8 +189,8 @@ static void assign( TestElement & rData,
 sal_Int64 nHyper, sal_uInt64 nUHyper,
 float fFloat, double fDouble,
 TestEnum eEnum, const OUString& rStr,
-const ::com::sun::star::uno::Reference< 
::com::sun::star::uno::XInterface >& xTest,
-const ::com::sun::star::uno::Any& rAny )
+const css::uno::Reference< css::uno::XInterface >& xTest,
+const css::uno::Any& rAny )
 {
 rData.Bool = bBool;
 rData.Char = cChar;
@@ -311,9 +311,9 @@ private:
 
 public:
 void SAL_CALL callRecursivly(
-const ::com::sun::star::uno::Reference< XRecursiveCall >& xCall,
+const css::uno::Reference< XRecursiveCall >& xCall,
 sal_Int32 nToCall )
-throw(::com::sun::star::uno::RuntimeException, std::exception) override
+throw(css::uno::RuntimeException, std::exception) override
 {
 MutexGuard guard( m_mutex );
 if( nToCall )
diff --git a/testtools/source/bridgetest/constructors.cxx 
b/testtools/source/bridgetest/constructors.cxx
index eb4c487..7ddd9c5 100644
--- a/testtools/source/bridgetest/constructors.cxx
+++ b/testtools/source/bridgetest/constructors.cxx
@@ -212,13 +212,13 @@ private:
 
 //XMultiBase1
 virtual double SAL_CALL getatt1()
-throw (::com::sun::star::uno::RuntimeException, std::exception) 
override;
+throw (css::uno::RuntimeException, std::exception) override;
 virtual void SAL_CALL setatt1( double _att1 )
-throw (::com::sun::star::uno::RuntimeException, std::exception) 
override;
+throw (css::uno::RuntimeException, std::exception) override;
 virtual ::sal_Int32 SAL_CALL fn11( ::sal_Int32 arg )
-throw (::com::sun::star::uno::RuntimeException, std::exception) 
override;
+throw (css::uno::RuntimeException, std::exception) override;
 virtual OUString SAL_CALL fn12( const OUString& arg )
-throw (::com::sun::star::uno::RuntimeException, std::exception) 
override;
+throw (css::uno::RuntimeException, std::exception) override;
 
 
 double m_attr1;
@@ -411,24 +411,24 @@ void Impl2::initialize(css::uno::Sequence< css::uno::Any 
> const & arguments)
 
 //XMultiBase1
 double Impl2::getatt1()
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
 {
 return m_attr1;
 }
 
-void Impl2::setatt1( double _att1 )throw 
(::com::sun::star::uno::RuntimeException, std::exception)
+void Impl2::setatt1( double _att1 )throw (css::uno::RuntimeException, 
std::exception)
 {
 m_attr1 = _att1;
 }
 
 ::sal_Int32 Impl2::fn11( ::sal_Int32 arg )
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
 {
 return 11 * arg;
 }
 
 OUString Impl2::fn12( const OUString& arg )
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
 {
 return "12" + arg;
 }
diff --git a/testtools/source/bridgetest/cppobj.cxx 
b/testtools/source/bridgetest/cppobj.cxx
index 57b7b47..08232f6 100644
--- a/testtools/source/bridgetest/cppobj.cxx
+++ b/te