[Libreoffice-bugs] [Bug 49853] EDITING: Attempting paste/select all into find bar with Cmd-V or Cmd-A on OS X pastes into document not into search bar

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=49853

--- Comment #127 from Jan Holesovsky  ---
Paul: I heard you were interested in looking into this, so let me add some more
code pointers here...

The actual task is to find out why pressing the Cmd-V does not hit the
vcl::KeyCode::GetFunction() in vcl/source/window/keycod.cxx

I'd try to put there a breakpoint, and see where is it called from when you
press eg. the key 'a' (as according to comment 109, that case enters that),
look up the stack, and see where it is coming from; you'll probably see
something around vcl/osx/vclnsapp.mm or other .mm file.

Then I'd try to put a breakpoint there in the .mm file, and see if you get at
least there when pressing Cmd-V; and then find out what is different to the 'a'
case, and try to fix that - so that you get to the GetFunction().

Talking about vcl/osx/vclnsapp.mm, I am particularly suspicious of the

  if( pKeyWin && [pKeyWin isKindOfClass: [SalFrameWindow class]] )

where in the 'else', they say

  // #i94601# a window not of vcl's making has the focus.
  // Since our menus do not invoke the usual commands
  // try to play nice with native windows like the file dialog
  // and emulate them
  // precondition: this ONLY works because CMD-V (paste), CMD-C (copy) and
CMD-X (cut) are
  // NOT localized, that is the same in all locales. Should this be
  // different in any locale, this hack will fail.

and continue with some stuff with cmd-c / cmd-v etc.

So maybe as the first thing, I'd try to comment out the "&& [pKeyWin
isKindOfClass: [SalFrameWindow class]]" part of the if, and if that helps, we
know we need to find a way that still lets the native dialogs working, but
makes the cmd-v in the toolbar work.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97860] misplaced diacritics of Persian language

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97860

Nima Az  changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

--- Comment #6 from Nima Az  ---
Hi again,

I have attached a sample document and three screenshots.  The "1.jpg"
screenshot shows how the text must look like and that's how it's displayed in
the previous release (a 5.0.x.x release).  "2.jpg" shows how it looks in
5.1.0.3.

As I said, this is somewhat dependent on the font.  When I use Tahoma, the text
displays somewhat correctly.  "3.jpg" shows this case.

Hope it helps.

Best wishes,
Nima


(In reply to raal from comment #1)
> Hello Nima,
> 
> Thank you for filing the bug. Please send us a sample document, as this
> makes it easier for us to verify the bug. 
> I have set the bug's status to 'NEEDINFO', so please do change it back to
> 'UNCONFIRMED' once you have attached a document.
> (Please note that the attachment will be public, remove any sensitive
> information before attaching it.)
> How can I eliminate confidential data from a sample document?
> https://wiki.documentfoundation.org/QA/
> FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F
> Thank you

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97980] SVG: Graph data series filled colors being cropped

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97980

--- Comment #4 from raal  ---
Bibisect with Linux_debug-repo shows it should be bug from 16.2.2016, but I
don't see obvious commit - Xisco could you look at the commit from 16.2.?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97860] misplaced diacritics of Persian language

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97860

--- Comment #5 from Nima Az  ---
Created attachment 122790
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122790=edit
sample document

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97860] misplaced diacritics of Persian language

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97860

Nima Az  changed:

   What|Removed |Added

 Attachment #122788|bug screenshot  |bug screenshot 2
description||

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97860] misplaced diacritics of Persian language

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97860

Nima Az  changed:

   What|Removed |Added

 Attachment #122787|bug screenshot  |bug screenshot 1
description||

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97860] misplaced diacritics of Persian language

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97860

--- Comment #4 from Nima Az  ---
Created attachment 122789
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122789=edit
bug screenshot 3

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97664] Exporting to PDF do not show some embedded Draw 8 format images

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97664

raal  changed:

   What|Removed |Added

   Keywords|bibisectRequest |bibisected, bisected
 CC||r...@post.cz,
   ||t...@libreoffice.org

--- Comment #2 from raal  ---
This seems to have begun at the below commit.
Adding Cc: to Thorsten Behrens; Could you possibly take a look at this one?
Thanks

9e18c6eee5d11950b9622b2905e272f129d2f444 is the first bad commit
commit 9e18c6eee5d11950b9622b2905e272f129d2f444
Author: Norbert Thiebaud 
Date:   Thu Aug 13 09:45:06 2015 -0700

source sha:86b47f5138c0c5b882359a48052a796bc91a5afb

source sha:86b47f5138c0c5b882359a48052a796bc91a5afb

:04 04 5d06c87f827c7ef96ec92843596cb96f7a98c353
cdbe206fdb3d25a503fcfb9b7b45bc433bf1fc14 M  instdir

authorThorsten Behrens 2015-08-13 15:17:22
(GMT)
committerThorsten Behrens 2015-08-13 16:26:01
(GMT)
commit86b47f5138c0c5b882359a48052a796bc91a5afb (patch)
treeeba136edac7f69b48643cff81aebb4d9ce389698
parent07ebec47da4a096aaab53bf6a90bb219ce29bfbf (diff)
tdf#44388: handle the NULL clip correctly for pdf output

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97860] misplaced diacritics of Persian language

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97860

--- Comment #3 from Nima Az  ---
Created attachment 122788
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122788=edit
bug screenshot

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97989] LO Calc very poor performance when saving to ODS or CSV on large spreadsheet

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97989

--- Comment #3 from ras...@tiscali.cz ---
Hi,
If you check the evidence, very slow saving is also to CSV, not only ODS.
Moreover it happens on version 5.1.0.3 x64, but not on same version x32 and not
on 4.7.7.2 x32.
It does not seem like a duplicate to me.
If provided some guidance, I can run more tests (different versions,
architectures, cleaning profile etc)

thank you

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


Re: [Libreoffice-qa] Proposal for BH sessions organization

2016-02-18 Thread arnaud.lecam
Hi,
Thank you Sophie for your proposal.
For non-pro contributors (like me), it would be difficult to be there on Friday 
(exclusively).
Please, keep it on friday AND week-ends !
Arnaud LE CAM

>
> De : "libreoffice-qa-requ...@lists.freedesktop.org" 
> 
>À : libreoffice-qa@lists.freedesktop.org 
>Envoyé le : Mercredi 17 février 2016 13h00
>Objet : Libreoffice-qa Digest, Vol 56, Issue 10
> 
>
>- Mail transféré -
>
>Send Libreoffice-qa mailing list submissions to
>libreoffice-qa@lists.freedesktop.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>https://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
>or, via email, send a message with subject or body 'help' to
>libreoffice-qa-requ...@lists.freedesktop.org
>
>You can reach the person managing the list at
>libreoffice-qa-ow...@lists.freedesktop.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Libreoffice-qa digest..."
>
>Today's Topics:
>
>   1. Proposal for BH sessions organization (Sophie)
>Hi all,
>
>So to sum up the topic and make a proposal:
>- BH on one day the Friday only (Cloph)
>- come with 10 features to test thoroughly during the BH, the list is
>taken from the release notes and selected by QA members, submitted to
>ESC, they could give a quick feedback/input, (derived from Cor and
>Miguel Angel ideas)
>- publish the list of feature to be tested on the BH session wiki page
>- dedicate a MozTrap run to this 10 features (to make the test run
>shorter, newer and then more attractive)
>- revive the bot Cloph has developed (never remind his name :)
>- advertise that BH takes place either on the mailing list and irc
>(maybe people are afraid by irc) or should we discuss having more
>"modern" communication channels like hangout too?
>
>Feedback welcome :)
>
>Cheers
>Sophie
>
>
>
>-- 
>Sophie Gautier sophie.gaut...@documentfoundation.org
>GSM: +33683901545
>IRC: sophi
>Co-founder - Release coordinator
>The Document Foundation
>
>
>
>___
>Libreoffice-qa mailing list
>Libreoffice-qa@lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
>
>
>
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: https://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/

[Libreoffice-commits] core.git: editeng/source include/editeng sc/source svx/source sw/inc sw/source

2016-02-18 Thread Miklos Vajna
 editeng/source/editeng/editview.cxx   |4 ++--
 editeng/source/editeng/impedit.cxx|6 +-
 editeng/source/editeng/impedit.hxx|4 +---
 editeng/source/outliner/outlvw.cxx|4 ++--
 include/editeng/editview.hxx  |2 +-
 include/editeng/outliner.hxx  |2 +-
 sc/source/ui/app/inputhdl.cxx |2 +-
 sc/source/ui/view/viewdata.cxx|4 +---
 svx/source/svdraw/svdedxv.cxx |2 +-
 sw/inc/PostItMgr.hxx  |2 +-
 sw/source/core/view/viewsh.cxx|2 +-
 sw/source/uibase/docvw/PostItMgr.cxx  |4 ++--
 sw/source/uibase/docvw/SidebarWin.cxx |5 +
 13 files changed, 16 insertions(+), 27 deletions(-)

New commits:
commit 7073d20627ccfcdd705b53f9d8bc4b58fab9e82a
Author: Miklos Vajna 
Date:   Fri Feb 19 08:42:40 2016 +0100

editeng: remove never read mpLibreOfficeKitCallback

As all callback invocations happen with SdrModel's callback pointer.

Change-Id: I0111040c501b7927332f88cc4797b8ebab2bc57a

diff --git a/editeng/source/editeng/editview.cxx 
b/editeng/source/editeng/editview.cxx
index 14c2b24..cfc6a88 100644
--- a/editeng/source/editeng/editview.cxx
+++ b/editeng/source/editeng/editview.cxx
@@ -583,9 +583,9 @@ Color EditView::GetBackgroundColor() const
 return pImpEditView->GetBackgroundColor();
 }
 
-void EditView::registerLibreOfficeKitCallback(LibreOfficeKitCallback 
pCallback, void* pLibreOfficeKitData, OutlinerSearchable *pSearchable)
+void EditView::registerLibreOfficeKitCallback(OutlinerSearchable *pSearchable)
 {
-pImpEditView->registerLibreOfficeKitCallback(pCallback, 
pLibreOfficeKitData, pSearchable);
+pImpEditView->registerLibreOfficeKitCallback(pSearchable);
 }
 
 void EditView::SetControlWord( EVControlBits nWord )
diff --git a/editeng/source/editeng/impedit.cxx 
b/editeng/source/editeng/impedit.cxx
index db15166..77c0a72 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -79,8 +79,6 @@ ImpEditView::ImpEditView( EditView* pView, EditEngine* pEng, 
vcl::Window* pWindo
 pOutWin = pWindow;
 pPointer= nullptr;
 pBackgroundColor= nullptr;
-mpLibreOfficeKitCallback = nullptr;
-mpLibreOfficeKitData = nullptr;
 mpLibreOfficeKitSearchable = nullptr;
 nScrollDiffX= 0;
 nExtraCursorFlags   = 0;
@@ -119,10 +117,8 @@ void ImpEditView::SetBackgroundColor( const Color& rColor )
 pBackgroundColor = new Color( rColor );
 }
 
-void ImpEditView::registerLibreOfficeKitCallback(LibreOfficeKitCallback 
pCallback, void* pData, OutlinerSearchable* pSearchable)
+void ImpEditView::registerLibreOfficeKitCallback(OutlinerSearchable* 
pSearchable)
 {
-mpLibreOfficeKitCallback = pCallback;
-mpLibreOfficeKitData = pData;
 mpLibreOfficeKitSearchable = pSearchable;
 }
 
diff --git a/editeng/source/editeng/impedit.hxx 
b/editeng/source/editeng/impedit.hxx
index 61f50d1..5449e44 100644
--- a/editeng/source/editeng/impedit.hxx
+++ b/editeng/source/editeng/impedit.hxx
@@ -222,8 +222,6 @@ private:
 EditView*   pEditView;
 vcl::Cursor*pCursor;
 Color*  pBackgroundColor;
-LibreOfficeKitCallback mpLibreOfficeKitCallback;
-void* mpLibreOfficeKitData;
 OutlinerSearchable* mpLibreOfficeKitSearchable;
 EditEngine* pEditEngine;
 VclPtr pOutWin;
@@ -370,7 +368,7 @@ public:
 return ( pBackgroundColor ? *pBackgroundColor : 
pOutWin->GetBackground().GetColor() ); }
 
 /// @see vcl::ITiledRenderable::registerCallback().
-void registerLibreOfficeKitCallback(LibreOfficeKitCallback pCallback, 
void* pLibreOfficeKitData, OutlinerSearchable* pSearchable);
+void registerLibreOfficeKitCallback(OutlinerSearchable* pSearchable);
 /// Invokes the registered callback, if there are any.
 void libreOfficeKitCallback(int nType, const char* pPayload) const;
 
diff --git a/editeng/source/outliner/outlvw.cxx 
b/editeng/source/outliner/outlvw.cxx
index 25740cf..5a6c9f0 100644
--- a/editeng/source/outliner/outlvw.cxx
+++ b/editeng/source/outliner/outlvw.cxx
@@ -1426,9 +1426,9 @@ void OutlinerView::SetBackgroundColor( const Color& 
rColor )
 pEditView->SetBackgroundColor( rColor );
 }
 
-void OutlinerView::registerLibreOfficeKitCallback(LibreOfficeKitCallback 
pCallback, void* pLibreOfficeKitData, OutlinerSearchable* pSearchable)
+void OutlinerView::registerLibreOfficeKitCallback(OutlinerSearchable* 
pSearchable)
 {
-pEditView->registerLibreOfficeKitCallback(pCallback, pLibreOfficeKitData, 
pSearchable);
+pEditView->registerLibreOfficeKitCallback(pSearchable);
 }
 
 Color OutlinerView::GetBackgroundColor()
diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx
index 9c1c541..71a4b64 100644
--- a/include/editeng/editview.hxx
+++ b/include/editeng/editview.hxx
@@ -183,7 +183,7 @@ public:
 Color   GetBackgroundColor() const;
 
 

[Libreoffice-commits] online.git: loolwsd/ChildProcessSession.cpp loolwsd/test

2016-02-18 Thread Miklos Vajna
 loolwsd/ChildProcessSession.cpp |2 +-
 loolwsd/test/httpposttest.cpp   |3 +--
 loolwsd/test/httpwstest.cpp |6 +++---
 3 files changed, 5 insertions(+), 6 deletions(-)

New commits:
commit e3cc05ddcd8650f268645d202a0ede434078d6b7
Author: Miklos Vajna 
Date:   Fri Feb 19 08:37:29 2016 +0100

loolwsd: fix indentation

diff --git a/loolwsd/ChildProcessSession.cpp b/loolwsd/ChildProcessSession.cpp
index 6102a16..dfef7b7 100644
--- a/loolwsd/ChildProcessSession.cpp
+++ b/loolwsd/ChildProcessSession.cpp
@@ -906,7 +906,7 @@ void ChildProcessSession::sendCombinedTiles(const char* 
/*buffer*/, int /*length
 
 bool ChildProcessSession::clientZoom(const char* /*buffer*/, int /*length*/, 
StringTokenizer& tokens)
 {
-   int tilePixelWidth, tilePixelHeight, tileTwipWidth, tileTwipHeight;
+int tilePixelWidth, tilePixelHeight, tileTwipWidth, tileTwipHeight;
 
 if (tokens.count() != 5 ||
 !getTokenInteger(tokens[1], "tilepixelwidth", tilePixelWidth) ||
diff --git a/loolwsd/test/httpposttest.cpp b/loolwsd/test/httpposttest.cpp
index 3094281..a36f91c 100644
--- a/loolwsd/test/httpposttest.cpp
+++ b/loolwsd/test/httpposttest.cpp
@@ -56,8 +56,7 @@ void HTTPPostTest::testConvertTo()
 // In some cases the result is prefixed with (the UTF-8 encoding of) the 
Unicode BOM
 // (U+FEFF). Skip that.
 std::string actualString = actualStream.str();
-if (actualString.size() > 3 &&
-actualString[0] == '\xEF' && actualString[1] == '\xBB' && 
actualString[2] == '\xBF')
+if (actualString.size() > 3 && actualString[0] == '\xEF' && 
actualString[1] == '\xBB' && actualString[2] == '\xBF')
 actualString = actualString.substr(3);
 CPPUNIT_ASSERT_EQUAL(expectedStream.str(), actualString);
 }
diff --git a/loolwsd/test/httpwstest.cpp b/loolwsd/test/httpwstest.cpp
index b104765..e17702d 100644
--- a/loolwsd/test/httpwstest.cpp
+++ b/loolwsd/test/httpwstest.cpp
@@ -109,7 +109,7 @@ void HTTPWSTest::testPaste()
 socket.shutdown();
 CPPUNIT_ASSERT_EQUAL(std::string("aaa bbb ccc"), selection);
 }
-catch(const Poco::Exception& exc)
+catch (const Poco::Exception& exc)
 {
 CPPUNIT_ASSERT_MESSAGE(exc.displayText(), false);
 }
@@ -159,7 +159,7 @@ void HTTPWSTest::testLargePaste()
 sendTextFrame(socket, "disconnect");
 socket.shutdown();
 }
-catch(const Poco::Exception& exc)
+catch (const Poco::Exception& exc)
 {
 CPPUNIT_ASSERT_MESSAGE(exc.displayText(), false);
 }
@@ -210,7 +210,7 @@ void HTTPWSTest::testRenderingOptions()
 // HideWhitespace was ignored, this was 32532, should be around 16706.
 CPPUNIT_ASSERT(height < 2);
 }
-catch(const Poco::Exception& exc)
+catch (const Poco::Exception& exc)
 {
 CPPUNIT_ASSERT_MESSAGE(exc.displayText(), false);
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 97860] misplaced diacritics of Persian language

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97860

--- Comment #2 from Nima Az  ---
Created attachment 122787
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122787=edit
bug screenshot

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2016-02-18 Thread Pranav Kant
 desktop/qa/data/sheets.ods  |binary
 desktop/qa/desktop_lib/test_desktop_lib.cxx |  112 
 2 files changed, 112 insertions(+)

New commits:
commit f6c96946911db267bc79b4bdb4ced7d7414d3cac
Author: Pranav Kant 
Date:   Tue Feb 16 21:23:00 2016 +0530

lok: Add a new sheet selection test

This is a test for commit ab199e4748b45384602479c735dbac538e714d34.

Change-Id: I38905cfab8fe1c5721e5fa628ea564f08e0c2ad3

diff --git a/desktop/qa/data/sheets.ods b/desktop/qa/data/sheets.ods
index 42226b2..0acf865 100644
Binary files a/desktop/qa/data/sheets.ods and b/desktop/qa/data/sheets.ods 
differ
diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx 
b/desktop/qa/desktop_lib/test_desktop_lib.cxx
index da4e5fb..0c44341 100644
--- a/desktop/qa/desktop_lib/test_desktop_lib.cxx
+++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx
@@ -85,6 +85,7 @@ public:
 void testWriterComments();
 void testModifiedStatus();
 void testSheetOperations();
+void testSheetSelections();
 
 CPPUNIT_TEST_SUITE(DesktopLOKTest);
 CPPUNIT_TEST(testGetStyles);
@@ -105,6 +106,7 @@ public:
 CPPUNIT_TEST(testWriterComments);
 CPPUNIT_TEST(testModifiedStatus);
 CPPUNIT_TEST(testSheetOperations);
+CPPUNIT_TEST(testSheetSelections);
 CPPUNIT_TEST_SUITE_END();
 
 uno::Reference mxComponent;
@@ -725,6 +727,116 @@ void DesktopLOKTest::testSheetOperations()
 comphelper::LibreOfficeKit::setActive(false);
 }
 
+void DesktopLOKTest::testSheetSelections()
+{
+comphelper::LibreOfficeKit::setActive();
+LibLODocument_Impl* pDocument = loadDoc("sheets.ods", 
LOK_DOCTYPE_SPREADSHEET);
+pDocument->pClass->initializeForRendering(pDocument, nullptr);
+pDocument->pClass->registerCallback(pDocument, ::callback, 
this);
+
+/*
+ * Check if selection data is correct
+ */
+// Values in twips
+int row5 = 1150;
+int col1 = 1100;
+int col2 = 2200;
+int col3 = 3300;
+int col4 = 4400;
+int col5 = 5500;
+
+// Select row 5 from column 1 through column 5
+pDocument->pClass->postMouseEvent(pDocument,
+  LOK_MOUSEEVENT_MOUSEBUTTONDOWN,
+  col1, row5,
+  1, 1, 0);
+pDocument->pClass->postMouseEvent(pDocument,
+  LOK_MOUSEEVENT_MOUSEMOVE,
+  col2, row5,
+  1, 1, 0);
+pDocument->pClass->postMouseEvent(pDocument,
+  LOK_MOUSEEVENT_MOUSEMOVE,
+  col3, row5,
+  1, 1, 0);
+pDocument->pClass->postMouseEvent(pDocument,
+  LOK_MOUSEEVENT_MOUSEMOVE,
+  col4, row5,
+  1, 1, 0);
+pDocument->pClass->postMouseEvent(pDocument,
+  LOK_MOUSEEVENT_MOUSEMOVE,
+  col5, row5,
+  1, 1, 0);
+pDocument->pClass->postMouseEvent(pDocument,
+  LOK_MOUSEEVENT_MOUSEBUTTONUP,
+  col5, row5,
+  1, 1, 0);
+
+// Copy the contents and check if matches expected data
+{
+char* pUsedMimeType = nullptr;
+char* pCopiedContent = pDocument->pClass->getTextSelection(pDocument, 
nullptr, );
+std::vector pExpected = {5, 6, 7, 8, 9};
+std::istringstream iss(pCopiedContent);
+for (uint i = 0; i < pExpected.size(); i++)
+{
+std::string token;
+iss >> token;
+CPPUNIT_ASSERT_EQUAL(pExpected[i], std::stoi(token));
+}
+
+free(pUsedMimeType);
+free(pCopiedContent);
+}
+
+/*
+ * Check if clicking inside the selection deselects the whole selection
+ */
+int row10 = 2400;
+// Select starting from row5, col1 to row10, col5
+pDocument->pClass->postMouseEvent(pDocument,
+  LOK_MOUSEEVENT_MOUSEBUTTONDOWN,
+  col1, row5,
+  1, 1, 0);
+pDocument->pClass->postMouseEvent(pDocument,
+  LOK_MOUSEEVENT_MOUSEMOVE,
+  col5, row5,
+  1, 1, 0);
+pDocument->pClass->postMouseEvent(pDocument,
+  LOK_MOUSEEVENT_MOUSEBUTTONUP,
+  col5, row10,
+  1, 1, 0);
+
+// Click at row5, col4
+pDocument->pClass->postMouseEvent(pDocument,
+  LOK_MOUSEEVENT_MOUSEBUTTONDOWN,
+

[Libreoffice-bugs] [Bug 97995] 0 word count in .docx documents

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97995

Óvári  changed:

   What|Removed |Added

 Status|NEEDINFO|NEW

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97995] 0 word count in .docx documents

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97995

Óvári  changed:

   What|Removed |Added

 CC||ovar...@gmail.com

--- Comment #2 from Óvári  ---
Created attachment 122786
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122786=edit
Document created following steps in Description

Reproducible with Linux Mint 64-bit Cinnamon

Thank you

Version: 5.1.0.3
Build ID: 5e3e00a007d9b3b6efb6797a8b8e57b51ab1f737
CPU Threads: 2; OS Version: Linux 3.19; UI Render: default

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97999] New: tab interface

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97999

Bug ID: 97999
   Summary: tab interface
   Product: LibreOffice
   Version: 5.1.0.3 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Base
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: ameet.ran...@yahoo.in

Created attachment 122785
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122785=edit
Tab Interface

I have downloaded the attached file from the forum,and tried doing replica of
it,but i found that on LO 5.1 i was not able to create a tab interface.
Please help

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97959] Writer embeds Base14 fonts in PDFs

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97959

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |NOTABUG

--- Comment #4 from Beluga  ---
Well, there you have it. Thanks, Maxim.
Closing as notabug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2016-02-18 Thread Xisco Fauli
 svgio/qa/cppunit/SvgImportTest.cxx|   17 +
 svgio/qa/cppunit/data/FontsizeRelative.svg|5 +
 svgio/source/svgreader/svgstyleattributes.cxx |   14 ++
 3 files changed, 36 insertions(+)

New commits:
commit 324014c997ab90f5777f772a46e6faf887a00832
Author: Xisco Fauli 
Date:   Thu Feb 18 01:27:17 2016 +0100

SVGIO: Fix problem when relative font-size depends on its...

... parent's font-size

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

diff --git a/svgio/qa/cppunit/SvgImportTest.cxx 
b/svgio/qa/cppunit/SvgImportTest.cxx
index 7870188..e5d2b03 100644
--- a/svgio/qa/cppunit/SvgImportTest.cxx
+++ b/svgio/qa/cppunit/SvgImportTest.cxx
@@ -42,6 +42,7 @@ class Test : public test::BootstrapFixture, public 
XmlTestTools
 void testTdf87309();
 void testFontsizeKeywords();
 void testFontsizePercentage();
+void testFontsizeRelative();
 void testTdf45771();
 void testTdf97941();
 void testTdf85770();
@@ -63,6 +64,7 @@ public:
 CPPUNIT_TEST(testTdf87309);
 CPPUNIT_TEST(testFontsizeKeywords);
 CPPUNIT_TEST(testFontsizePercentage);
+CPPUNIT_TEST(testFontsizeRelative);
 CPPUNIT_TEST(testTdf45771);
 CPPUNIT_TEST(testTdf97941);
 CPPUNIT_TEST(testTdf85770);
@@ -197,6 +199,7 @@ void Test::testFontsizeKeywords()
 
 void Test::testFontsizePercentage()
 {
+//Check when font-size uses percentage and defined globally
 Primitive2DSequence aSequenceFontsizePercentage = 
parseSvg("/svgio/qa/cppunit/data/FontsizePercentage.svg");
 CPPUNIT_ASSERT_EQUAL(1, (int)aSequenceFontsizePercentage.getLength());
 
@@ -208,6 +211,20 @@ void Test::testFontsizePercentage()
 assertXPath(pDocument, "/primitive2D/transform/textsimpleportion[1]", 
"height", "16");
 }
 
+void Test::testFontsizeRelative()
+{
+//Check when font-size uses relative units (em,ex) and it's based on its 
parent's font-size
+Primitive2DSequence aSequenceFontsizeRelative = 
parseSvg("/svgio/qa/cppunit/data/FontsizeRelative.svg");
+CPPUNIT_ASSERT_EQUAL(1, (int)aSequenceFontsizeRelative.getLength());
+
+Primitive2dXmlDump dumper;
+xmlDocPtr pDocument = 
dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceFontsizeRelative));
+
+CPPUNIT_ASSERT (pDocument);
+
+assertXPath(pDocument, "/primitive2D/transform/textsimpleportion[1]", 
"height", "50");
+}
+
 void Test::testTdf45771()
 {
 //Check text fontsize when using relative units
diff --git a/svgio/qa/cppunit/data/FontsizeRelative.svg 
b/svgio/qa/cppunit/data/FontsizeRelative.svg
new file mode 100644
index 000..339e663
--- /dev/null
+++ b/svgio/qa/cppunit/data/FontsizeRelative.svg
@@ -0,0 +1,5 @@
+ http://www.w3.org/2000/svg; xmlns:xlink="http://www.w3.org/1999/xlink;>
+
+   Sample
+ 
+
diff --git a/svgio/source/svgreader/svgstyleattributes.cxx 
b/svgio/source/svgreader/svgstyleattributes.cxx
index a6ad68d..fb750fe 100644
--- a/svgio/source/svgreader/svgstyleattributes.cxx
+++ b/svgio/source/svgreader/svgstyleattributes.cxx
@@ -2402,6 +2402,20 @@ namespace svgio
 return SvgNumber(
 maFontSizeNumber.getNumber() * aDefaultSize / 100.0, 
Unit_px, true);
 }
+else if((Unit_em == maFontSizeNumber.getUnit()) || (Unit_ex == 
maFontSizeNumber.getUnit()))
+{
+const SvgStyleAttributes* pSvgStyleAttributes = 
getParentStyle();
+
+if(pSvgStyleAttributes)
+{
+const SvgNumber aParentNumber = 
pSvgStyleAttributes->getFontSizeNumber();
+
+return SvgNumber(
+aParentNumber.getNumber() * 
maFontSizeNumber.getNumber(),
+aParentNumber.getUnit(),
+true);
+}
+}
 
 return maFontSizeNumber;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-02-18 Thread Mark Hung
 sw/source/filter/ww8/wrtw8sty.cxx |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 1b374b2a3080a7191c282f891a562962c872893b
Author: Mark Hung 
Date:   Fri Feb 19 07:48:52 2016 +0800

Remove nesting assignments inside the expression.

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

diff --git a/sw/source/filter/ww8/wrtw8sty.cxx 
b/sw/source/filter/ww8/wrtw8sty.cxx
index e094f1e..0bac951 100644
--- a/sw/source/filter/ww8/wrtw8sty.cxx
+++ b/sw/source/filter/ww8/wrtw8sty.cxx
@@ -290,8 +290,8 @@ void MSWordStyles::BuildStylesTable()
 for( size_t n = 1; n < rArr2.size(); n++ )
 {
 SwTextFormatColl* pFormat = rArr2[n];
-sal_uInt16 nId ;
-m_pFormatA[ nId = BuildGetSlot( *pFormat ) ] = pFormat;
+sal_uInt16 nId = BuildGetSlot( *pFormat ) ;
+m_pFormatA[ nId ] = pFormat;
 if ( pFormat->IsAssignedToListLevelOfOutlineStyle() )
 {
 int nLvl = pFormat->GetAssignedOutlineStyleLevel() ;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 97703] EasyHack: Remove empty setUp/tearDown overrides from CppUnit test code

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97703

Commit Notification  changed:

   What|Removed |Added

 Whiteboard|ToBeReviewed|ToBeReviewed target:5.2.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97703] EasyHack: Remove empty setUp/tearDown overrides from CppUnit test code

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97703

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

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

tdf#97703 Removed a few redundant calls to setUp and tearDown

It will be available in 5.2.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 the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: basegfx/test oox/qa sal/qa

2016-02-18 Thread Jaskaran
 basegfx/test/basegfx3d.cxx  |   40 --
 basegfx/test/basegfxtools.cxx   |5 -
 basegfx/test/genericclipper.cxx |2 
 oox/qa/unit/vba_encryption.cxx  |1 
 sal/qa/osl/process/osl_Thread.cxx   |   32 ---
 sal/qa/rtl/cipher/rtl_cipher.cxx|   80 
 sal/qa/rtl/crc32/rtl_crc32.cxx  |8 --
 sal/qa/rtl/doublelock/rtl_doublelocking.cxx |9 ---
 8 files changed, 177 deletions(-)

New commits:
commit 9fe9f487a25a15558b77a8afc359e844922f1e83
Author: Jaskaran 
Date:   Fri Feb 19 00:03:22 2016 +0530

tdf#97703 Removed a few redundant calls to setUp and tearDown

Calls to CppUnit::TextFixture::setUp and CppUnit::TextFixture::tearDown
have been removed. I hope that saves a few milliseconds of build time :)

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

diff --git a/basegfx/test/basegfx3d.cxx b/basegfx/test/basegfx3d.cxx
index 61f7815..951553e 100644
--- a/basegfx/test/basegfx3d.cxx
+++ b/basegfx/test/basegfx3d.cxx
@@ -28,14 +28,6 @@ namespace basegfx3d
 class b3dhommatrix : public CppUnit::TestFixture
 {
 public:
-// initialise your test code values here.
-void setUp() override
-{
-}
-
-void tearDown() override
-{
-}
 
 // insert your test code here.
 // this is only demonstration code
@@ -56,14 +48,6 @@ public:
 class b3dpoint : public CppUnit::TestFixture
 {
 public:
-// initialise your test code values here.
-void setUp() override
-{
-}
-
-void tearDown() override
-{
-}
 
 // insert your test code here.
 // this is only demonstration code
@@ -84,14 +68,6 @@ public:
 class b3drange : public CppUnit::TestFixture
 {
 public:
-// initialise your test code values here.
-void setUp() override
-{
-}
-
-void tearDown() override
-{
-}
 
 // insert your test code here.
 void EmptyMethod()
@@ -110,14 +86,6 @@ public:
 class b3dtuple : public CppUnit::TestFixture
 {
 public:
-// initialise your test code values here.
-void setUp() override
-{
-}
-
-void tearDown() override
-{
-}
 
 // insert your test code here.
 // this is only demonstration code
@@ -138,14 +106,6 @@ public:
 class b3dvector : public CppUnit::TestFixture
 {
 public:
-// initialise your test code values here.
-void setUp() override
-{
-}
-
-void tearDown() override
-{
-}
 
 // insert your test code here.
 void EmptyMethod()
diff --git a/basegfx/test/basegfxtools.cxx b/basegfx/test/basegfxtools.cxx
index 0577c7b..7d27fa5 100644
--- a/basegfx/test/basegfxtools.cxx
+++ b/basegfx/test/basegfxtools.cxx
@@ -48,11 +48,6 @@ public:
 maKeyStops(getTestVector())
 {}
 
-void setUp() override
-{}
-
-void tearDown() override
-{}
 
 void test()
 {
diff --git a/basegfx/test/genericclipper.cxx b/basegfx/test/genericclipper.cxx
index 4a7020e..dde7afa 100644
--- a/basegfx/test/genericclipper.cxx
+++ b/basegfx/test/genericclipper.cxx
@@ -63,8 +63,6 @@ public:
 B2DRange(0,90,20,150));
 }
 
-void tearDown() override
-{}
 
 void validate(const char* pName,
   const char* pValidSvgD,
diff --git a/oox/qa/unit/vba_encryption.cxx b/oox/qa/unit/vba_encryption.cxx
index 93525a2..0e3c5ab 100644
--- a/oox/qa/unit/vba_encryption.cxx
+++ b/oox/qa/unit/vba_encryption.cxx
@@ -89,7 +89,6 @@ void TestVbaEncryption::testProjKey1()
 void TestVbaEncryption::setUp()
 {
 }
-
 void TestVbaEncryption::tearDown()
 {
 }
diff --git a/sal/qa/osl/process/osl_Thread.cxx 
b/sal/qa/osl/process/osl_Thread.cxx
index 245c5ba..0d0eb0f2 100644
--- a/sal/qa/osl/process/osl_Thread.cxx
+++ b/sal/qa/osl/process/osl_Thread.cxx
@@ -1478,9 +1478,6 @@ namespace osl_Thread
 {
 public:
 // initialise your test code values here.
-void setUp() override {}
-
-void tearDown() override {}
 
 void getIdentifier_001()
 {
@@ -1497,9 +1494,6 @@ namespace osl_Thread
 class getCurrentIdentifier : public CppUnit::TestFixture
 {
 public:
-void setUp() override {}
-void tearDown() override {}
-
 void getCurrentIdentifier_001()
 {
 oslThreadIdentifier oId;
@@ -1604,8 +1598,6 @@ namespace osl_Thread
 class schedule : public CppUnit::TestFixture
 {
 public:
-void setUp() override {}
-void tearDown() override {}
 
 /** The requested thread will get terminate the next time schedule() 
is called.
 
@@ -1814,14 +1806,6 @@ namespace osl_ThreadData
 class ctors : public CppUnit::TestFixture
 {
 public:
-// initialise your test code values here.
-void setUp() override
-{
-   

[Libreoffice-bugs] [Bug 97992] LO 5.1.0.3 didn't work right

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97992

tommy27  changed:

   What|Removed |Added

 CC||ba...@quipo.it

--- Comment #2 from tommy27  ---
thanks for your bug report.

the "fresh" branch is not ready for production use and should be used for
testing only, so it's better for you to use 5.0.5.2 for your daily activities.

do you have a screenshot of the 5.1.0.3 problem?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97995] 0 word count in .docx documents

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97995

tommy27  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||ba...@quipo.it
 Ever confirmed|0   |1

--- Comment #1 from tommy27  ---
tested under Win8.1 x64 and word count works fine using LibO 5.0.4.2

you should upgrade to latest 5.0.5.2 release and tell if the bug persists on
Linux or if it was just a bug of the old not up-to-date release you are using
(5.0.2.2)

status NEEDINFO

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97998] New: FILESAVE When saving file as DBF dollar signs in headers change to underscores

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97998

Bug ID: 97998
   Summary: FILESAVE When saving file as DBF dollar signs in
headers change to underscores
   Product: LibreOffice
   Version: 4.3.0.4 release
  Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: galv...@list.ru

Steps to reproduce:
1. Create a new document.
2. Make a header in one of the columns (in cell A1, for instance). The header
should contain the dollar sign ('$'), e.g. 'X$USERS,C,16'.
3. Save the document in dBase format (*.dbf). The charset does not matter.
4. Close the document and open it again.
5. The dollar sign changed to underscore ('_'). In the example above the header
will read 'X_USERS,C,16'.

If a cell contains a dollar sign but it is not a column header, the sign stays
there. Only the column headers are affected.

It is possible to change the underscore to the dollar sign by editing the DBF
in Notepad for example. Such file will be opened by Calc normally and the
headers will contain dollar signs. However, after saving this file, the dollar
signs will again change to underscores.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97997] New: Draw: Performance of zooming in and out not optimal

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97997

Bug ID: 97997
   Summary: Draw: Performance of zooming in and out not optimal
   Product: LibreOffice
   Version: 5.2.0.0.alpha0+ Master
  Hardware: All
OS: All
Status: UNCONFIRMED
  Keywords: perf
  Severity: normal
  Priority: medium
 Component: Draw
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: philip...@hotmail.com
CC: michael.me...@collabora.com

Steps:
1) Open Draw
2) Using your mouse wheel and Ctrl zoom and and out repeatedly
3) Notice the huge spike in CPU usage

For me, my CPU jumped from 5% to 75% just by zooming in and out on a blank
page. Testing the same in Writer it would only go to a max of 25%. Wanted to
include a screencast, but the screencast app was eating up a huge amount of CPU
for the recording. :D

Version: 5.2.0.0.alpha0+
Build ID: 72720ac9b934af6f84111ec694fa46555d10a7bd
CPU Threads: 2; OS Version: Linux 4.2; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time:
2016-02-17_19:06:34
Locale: en-US (en_US.UTF-8)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97996] Insert Line over/under after RightKlick is changet to _o/_u (was _e..) not functionally!

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97996

--- Comment #1 from ber...@live.at ---
appeared only after Update 5.103!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97996] New: Insert Line over/under after RightKlick is changet to _o/_u (was _e..) not functionally!

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97996

Bug ID: 97996
   Summary: Insert Line over/under after RightKlick is changet to
_o/_u (was _e..) not functionally!
   Product: LibreOffice
   Version: 5.1.0.3 release
  Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: ber...@live.at

Created attachment 122784
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122784=edit
Rightclick on Linenumber

Non function with Shortcut, only with Mouseaction

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97995] New: 0 word count in .docx documents

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97995

Bug ID: 97995
   Summary: 0 word count in .docx documents
   Product: LibreOffice
   Version: 5.0.2.2 release
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: pierce.adam.rand...@gmail.com

.docx files show a word count of zero when they contain text. Highlighting
words gets counted as word count.

Steps to reproduce: type some stuff, save as .docx, close and restart, either
look at the word count at the bottom of the page or else check tools -> word
count

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 91999] FILESAVE: Inverted Shapes Moved on Round-Trip

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91999

Luke  changed:

   What|Removed |Added

 CC||wassert...@nefkom.net
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=45
   ||495

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97994] New: Certain fonts render with artifacts beneath typed text

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97994

Bug ID: 97994
   Summary: Certain fonts render with artifacts beneath typed text
   Product: LibreOffice
   Version: 5.1.1.1 rc
  Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: mwtjunkm...@gmail.com

Created attachment 122783
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122783=edit
Writer ODT file showing the font artifacts.

I must stress that the behavior that I'm seeing in Writer on various typefaces
absolutely does NOT occur in MS Word 2016. It is NOT the font face. Fonts that
render perfectly in MS Word 2016 render with small artifacts on the page in
Writer. 
The size of the font and the magnification of the document does not matter. The
artifacts (little squiggles beneath certain letters, like the letter "s")
appear at all sizes and magnifications.

I have noticed since this the beginning of 5.x
I have attached a sample Writer .odt file with Lucida Handwriting embedded in
the document. It makes for  a 4MB file and takes about 20 seconds to open
(which isn't what I'm writing the bug about).

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97570] Entering Listbox in a form does not give the wizard to establish the links

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97570

--- Comment #4 from Peter O'Loghlin  ---
Sorry about the delay in responding ... I've been away.

Back now but with a big backlog of stuff to catch up on, I haven't had time to
try to figure out what all the entries in the /daily/master/ directory are, but
I've installed Fresh (5.1.1) and re-tested it.  Under that version the list box
wizard appears for a new list box control added to a form, but not if another
control is *Replaced with* a list box.

That's not too big a problem - we can always just delete the old control and
add a new one ...

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97991] Reducing the size of the Windows Installer

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97991

V Stuart Foote  changed:

   What|Removed |Added

 CC||vstuart.fo...@utsa.edu

--- Comment #1 from V Stuart Foote  ---
@Jay,

The problem would be in maintaining this diverse set of installers. MSI based
installers are monolithic by design--we're lucky to have Andras Timar willing
to maintain the Windows packaging for our VS build scripts.

Frankly, I don't have any issues with current packaging of Windows installers
and offline help packs. The size of the installer is the price of
admission--and, we distribute via ISO for DVD and in portable versions for
those bandwidth constrained.

Suspect to get any traction on this, TDF would need to hire a FTE release
engineer to specialize in Windows installer packaging--probably WiX based and
move away from MS Visual Studio based packaging-- to be able to support the
more granular packaging you are suggesting.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-ux-advise] [Bug 97991] Reducing the size of the Windows Installer

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97991

V Stuart Foote  changed:

   What|Removed |Added

 CC||vstuart.fo...@utsa.edu

--- Comment #1 from V Stuart Foote  ---
@Jay,

The problem would be in maintaining this diverse set of installers. MSI based
installers are monolithic by design--we're lucky to have Andras Timar willing
to maintain the Windows packaging for our VS build scripts.

Frankly, I don't have any issues with current packaging of Windows installers
and offline help packs. The size of the installer is the price of
admission--and, we distribute via ISO for DVD and in portable versions for
those bandwidth constrained.

Suspect to get any traction on this, TDF would need to hire a FTE release
engineer to specialize in Windows installer packaging--probably WiX based and
move away from MS Visual Studio based packaging-- to be able to support the
more granular packaging you are suggesting.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Libreoffice-ux-advise mailing list
Libreoffice-ux-advise@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise


[Libreoffice-bugs] [Bug 97993] New: EDITING: Copy and Paste for Images / Shapes Wonky in Writer

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97993

Bug ID: 97993
   Summary: EDITING: Copy and Paste for Images / Shapes Wonky in
Writer
   Product: LibreOffice
   Version: Inherited From OOo
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: lukebe...@hotmail.com

Steps to Reproduce:
1. In Writer, Insert Shape or Image
2. While Shape/Image is still highlighted, CTRL+X then CTRL+V

Expected Results:
1. A copy of your Shape/Image is placed on top of or below and to the right of
your original Shape/Image. 
2. The copied object should be selected.

Actual Results:
1. Nothing

Both Calc and Impress, work as expected. I also tested Corel WordPerfect, MS
Word, and Kingsoft Writer. They also all behaved as expected.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 80985] FILESAVE: Saved DOCX File will Open in MSO 2010 with Calibri rather than Times New Roman And Style Properties are Lost (Locale: zh-CN)

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=80985

Luke  changed:

   What|Removed |Added

Summary|FILESAVE: Saved DOCX file   |FILESAVE: Saved DOCX File
   |will reopen in MSO 2010 |will Open in MSO 2010 with
   |with Calibri rather than|Calibri rather than Times
   |Times New Roman (and all|New Roman And Style
   |other style properties are  |Properties are Lost
   |lost too)   |(Locale: zh-CN)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97992] LO 5.1.0.3 didn't work right

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97992

--- Comment #1 from Rick Davis  ---
A Secunia scan today said my version 5.0.4 was no longer secure and that I
should update to a newer version.  I cam to the LO site and downloaded the
'fresh' version 5.1.0.3 and installed as an update using my Revo Pro to monitor
the installation.  Upon opening the new version of Libre Office there were no
options visible in the left panel(Writer, Calc, Math). 

When I accessed the options in the tool menu, it would not react.  I would
click and it would show the click but not change to the right selection unless
I closed it and re-opened it.

So I went to the site, downloaded it again, and tried a new install.  Same
problems as before.  I then uninstalled all my existing versions with Revo and
tried a fresh installation.  Same problems as before.  I tried running the
repair option in the installation menu, same result.  I then deleted with Revo
and downloaded the 'Still' 5.0.5.2 version and it works fine.

My computer is a Dell XPS 8500, Windows 7 Pro/64/SP1 and all current updates.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97992] New: LO 5.1.0.3 didn't work right

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97992

Bug ID: 97992
   Summary: LO 5.1.0.3 didn't work right
   Product: LibreOffice
   Version: 5.1.0.3 release
  Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: lilma...@earthlink.net

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: sysui/desktop

2016-02-18 Thread Adolfo Jayme Barrientos
 sysui/desktop/menus/draw.desktop |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1fccc616d205b7d7011d66d4e4c719b62876eec5
Author: Adolfo Jayme Barrientos 
Date:   Thu Feb 18 19:48:50 2016 -0600

Add missing trailing semicolon to Keywords again

$ desktop-file-validate draw.desktop
draw.desktop: error: value does not have a semicolon (';') as trailing 
character

Regression from ab8c349f7bc0348b54e6e0766c5bd6785b415ae5.

Change-Id: Idf74200ca4cf17f8918ee388f347a805ac3161f3

diff --git a/sysui/desktop/menus/draw.desktop b/sysui/desktop/menus/draw.desktop
index 78ad452..39c6f03 100644
--- a/sysui/desktop/menus/draw.desktop
+++ b/sysui/desktop/menus/draw.desktop
@@ -28,7 +28,7 @@ GenericName=Drawing Program
 Comment=Create and edit drawings, flow charts and logos by using Draw.
 StartupNotify=true
 X-GIO-NoFuse=true
-Keywords=Vector;Schema;Diagram;Layout;OpenDocument Graphics;Microsoft 
Publisher;Microsoft Visio;Corel Draw;cdr;odg;svg;pdf;vsd
+Keywords=Vector;Schema;Diagram;Layout;OpenDocument Graphics;Microsoft 
Publisher;Microsoft Visio;Corel Draw;cdr;odg;svg;pdf;vsd;
 InitialPreference=5
 StartupWMClass=libreoffice-draw
 X-KDE-Protocols=file,http,ftp,webdav
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 97991] New: Reducing the size of the Windows Installer

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97991

Bug ID: 97991
   Summary: Reducing the size of the Windows Installer
   Product: LibreOffice
   Version: 5.2.0.0.alpha0+ Master
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: Installation
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: philip...@hotmail.com
CC: cl...@documentfoundation.org,
libreoff...@openmailbox.org,
libreoffice-ux-adv...@lists.freedesktop.org,
michael.me...@collabora.com

There has been some similar types of bug reports in the past (bug 44996, bug
49671) discussing how to reduce the file size of the installer and i believe
this can be achieved through a number of approaches.

So analyzing the 5.1.1 installer on Windows which downloads at 211mb and fully
extracts at 981mb here is the breakdown of the folders.

fonts:  42.4 mb
help :  38.0 kb
presets  :   1.0 mb
program  : 448.0 mb
readmes  :   2.1 mb
share: 468.0 mb
system   :   1.6 mb
[root files] :  16.9 mb

I have written a batch script ( http://pastebin.com/FdHr0YLE ) that is linked
from the "Installing in parallel on Windows" wiki page as a means of reducing
the size of the paralleled installation. The script removes 496mb (51%) of its
size by removing localized content that wouldnt be used by a user in these
folders.

program/resource/   : 129 mb
share/registry/ :  70 mb
share/extensions/   : 275 mb

So in order to reduce the size of the installer and not have an installer per
language, I'd like to suggest we create installers for a group of languages
based on the language origin or geographical region and here are some examples.

LibreOffice-default (aka America, Africa, Australia): en (English), es
(Spanish), fr (French), da (Danish), nl (Dutch), pt (Portuguese), pt-BR
(Portuguese Brazil), en-ZA (English-South Africa), ar (Arabic)
 https://en.wikipedia.org/wiki/Languages_of_North_America
 https://en.wikipedia.org/wiki/Languages_of_South_America
 https://en.wikipedia.org/wiki/Languages_of_Africa
 https://en.wikipedia.org/wiki/Afrikaans_language

LibreOffice-westEU (aka West Europe): en, en-GB, de (German), pl (Polish), no
(Norwegian), pt (Portuguese), fr (French), ro (Romanian), ...
 https://en.wikipedia.org/wiki/Germanic_languages
 https://en.wikipedia.org/wiki/Italic_languages

LibreOffice-eastEU (aka East Europe): en, hu (Hungarian), el (Greek), ru
(Russian), uk (Ukrainian), ...
 https://en.wikipedia.org/wiki/Hellenic_languages
 https://en.wikipedia.org/wiki/Balto-Slavic_languages
 https://en.wikipedia.org/wiki/Uralic_languages
 https://en.wikipedia.org/wiki/Albanian_language
 https://en.wikipedia.org/wiki/Armenian_language
 https://en.wikipedia.org/wiki/Romanian_language

LibreOffice-cjk (aka South and Southeast Asia): en, zh-CN/zh-TW (Chinese), ja
(Japanese), ko (Korean), id (Indonesian), vi (Vietnamese), th (Thai), ...
 https://en.wikipedia.org/wiki/East_Asia
 https://en.wikipedia.org/wiki/Southeast_Asia

LibreOffice-ctl (aka West, Central and South Asia): en, ar (Arabic), hi
(Hindi), he (Hebrew), bn (Bengali), fa (Persian), ur (Urdu), tr (Turkish), 
 https://en.wikipedia.org/wiki/Indo-Iranian_languages
 https://en.wikipedia.org/wiki/Turkic_languages

With the space saved within each of these 5 installers, we can then customize
them to better cater to those languages/regions. For example we could include
help within the installer rather than a separate download or with the CJK
installer we could include addition open source cjk fonts like Noto Sans (bug
80346 comment 7).

We would still keep the full installer for users who want to get everything in
one installer, but we would guide users to these separate installers by default
when they go to the download page.

Alternatively we could have a font-free installer that would be used by users
who are upgrading, either by downloading it from the website or through the
update mechanism (bug 68274). Not sure how much of a reduction would come from
doing this as the fonts are 42mb uncompressed, but i have no idea how much it
would compressed.

For users who regularly upgrading once a month to the next point or fresh
release, giving them a smaller download is an advantage, especially for those
who are on slower connections.

I believe this concept could be used also on OS X, but dont think it would for
Linux.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-ux-advise] [Bug 97991] New: Reducing the size of the Windows Installer

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97991

Bug ID: 97991
   Summary: Reducing the size of the Windows Installer
   Product: LibreOffice
   Version: 5.2.0.0.alpha0+ Master
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: Installation
  Assignee: libreoffice-b...@lists.freedesktop.org
  Reporter: philip...@hotmail.com
CC: cl...@documentfoundation.org,
libreoff...@openmailbox.org,
libreoffice-ux-advise@lists.freedesktop.org,
michael.me...@collabora.com

There has been some similar types of bug reports in the past (bug 44996, bug
49671) discussing how to reduce the file size of the installer and i believe
this can be achieved through a number of approaches.

So analyzing the 5.1.1 installer on Windows which downloads at 211mb and fully
extracts at 981mb here is the breakdown of the folders.

fonts:  42.4 mb
help :  38.0 kb
presets  :   1.0 mb
program  : 448.0 mb
readmes  :   2.1 mb
share: 468.0 mb
system   :   1.6 mb
[root files] :  16.9 mb

I have written a batch script ( http://pastebin.com/FdHr0YLE ) that is linked
from the "Installing in parallel on Windows" wiki page as a means of reducing
the size of the paralleled installation. The script removes 496mb (51%) of its
size by removing localized content that wouldnt be used by a user in these
folders.

program/resource/   : 129 mb
share/registry/ :  70 mb
share/extensions/   : 275 mb

So in order to reduce the size of the installer and not have an installer per
language, I'd like to suggest we create installers for a group of languages
based on the language origin or geographical region and here are some examples.

LibreOffice-default (aka America, Africa, Australia): en (English), es
(Spanish), fr (French), da (Danish), nl (Dutch), pt (Portuguese), pt-BR
(Portuguese Brazil), en-ZA (English-South Africa), ar (Arabic)
 https://en.wikipedia.org/wiki/Languages_of_North_America
 https://en.wikipedia.org/wiki/Languages_of_South_America
 https://en.wikipedia.org/wiki/Languages_of_Africa
 https://en.wikipedia.org/wiki/Afrikaans_language

LibreOffice-westEU (aka West Europe): en, en-GB, de (German), pl (Polish), no
(Norwegian), pt (Portuguese), fr (French), ro (Romanian), ...
 https://en.wikipedia.org/wiki/Germanic_languages
 https://en.wikipedia.org/wiki/Italic_languages

LibreOffice-eastEU (aka East Europe): en, hu (Hungarian), el (Greek), ru
(Russian), uk (Ukrainian), ...
 https://en.wikipedia.org/wiki/Hellenic_languages
 https://en.wikipedia.org/wiki/Balto-Slavic_languages
 https://en.wikipedia.org/wiki/Uralic_languages
 https://en.wikipedia.org/wiki/Albanian_language
 https://en.wikipedia.org/wiki/Armenian_language
 https://en.wikipedia.org/wiki/Romanian_language

LibreOffice-cjk (aka South and Southeast Asia): en, zh-CN/zh-TW (Chinese), ja
(Japanese), ko (Korean), id (Indonesian), vi (Vietnamese), th (Thai), ...
 https://en.wikipedia.org/wiki/East_Asia
 https://en.wikipedia.org/wiki/Southeast_Asia

LibreOffice-ctl (aka West, Central and South Asia): en, ar (Arabic), hi
(Hindi), he (Hebrew), bn (Bengali), fa (Persian), ur (Urdu), tr (Turkish), 
 https://en.wikipedia.org/wiki/Indo-Iranian_languages
 https://en.wikipedia.org/wiki/Turkic_languages

With the space saved within each of these 5 installers, we can then customize
them to better cater to those languages/regions. For example we could include
help within the installer rather than a separate download or with the CJK
installer we could include addition open source cjk fonts like Noto Sans (bug
80346 comment 7).

We would still keep the full installer for users who want to get everything in
one installer, but we would guide users to these separate installers by default
when they go to the download page.

Alternatively we could have a font-free installer that would be used by users
who are upgrading, either by downloading it from the website or through the
update mechanism (bug 68274). Not sure how much of a reduction would come from
doing this as the fonts are 42mb uncompressed, but i have no idea how much it
would compressed.

For users who regularly upgrading once a month to the next point or fresh
release, giving them a smaller download is an advantage, especially for those
who are on slower connections.

I believe this concept could be used also on OS X, but dont think it would for
Linux.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Libreoffice-ux-advise mailing list
Libreoffice-ux-advise@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise


[Libreoffice-commits] core.git: include/xmloff xmloff/source

2016-02-18 Thread Eike Rathke
 include/xmloff/xmltoken.hxx |1 +
 xmloff/source/core/xmltoken.cxx |1 +
 2 files changed, 2 insertions(+)

New commits:
commit f7714ad62396d7ebc474989b598f9fb6b39afae3
Author: Eike Rathke 
Date:   Fri Feb 19 00:33:30 2016 +0100

add "use-wildcards" XML_USE_WILDCARDS, tdf#72196

to support ODF table:use-wildcards

Change-Id: I448bc53dd81d79a29efad9fbd240ae9c059dfd15

diff --git a/include/xmloff/xmltoken.hxx b/include/xmloff/xmltoken.hxx
index 5e3dcc0..ccbb8cf 100644
--- a/include/xmloff/xmltoken.hxx
+++ b/include/xmloff/xmltoken.hxx
@@ -2053,6 +2053,7 @@ namespace xmloff { namespace token {
 
 XML_ENABLE,
 XML_USE_REGULAR_EXPRESSIONS,
+XML_USE_WILDCARDS,
 XML_DATA_SOURCE_HAS_LABELS,
 XML_LINK_DATA_STYLE_TO_SOURCE,
 XML_SORT_ALGORITHM,
diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx
index 4b780a4..5c90b15 100644
--- a/xmloff/source/core/xmltoken.cxx
+++ b/xmloff/source/core/xmltoken.cxx
@@ -2056,6 +2056,7 @@ namespace xmloff { namespace token {
 
 TOKEN( "enable",  XML_ENABLE ),
 TOKEN( "use-regular-expressions", XML_USE_REGULAR_EXPRESSIONS 
),
+TOKEN( "use-wildcards",   XML_USE_WILDCARDS ),
 TOKEN( "data-source-has-labels",  XML_DATA_SOURCE_HAS_LABELS ),
 TOKEN( "link-data-style-to-source",   
XML_LINK_DATA_STYLE_TO_SOURCE ),
 TOKEN( "sort-algorithm",  XML_SORT_ALGORITHM ),
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 97990] New: MathML with trailing linefeed fails to import

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97990

Bug ID: 97990
   Summary: MathML with trailing linefeed fails to import
   Product: LibreOffice
   Version: 5.1.0.3 release
  Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Formula Editor
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: bob...@gmail.com

When I have MathML on the clipboard and choose the "Import MathML from
Clipboard" command, nothing happens. Sometimes my MathML includes extra empty
lines (whitespace), so I pasted the MathML into Notepad++ to see what it looked
like. There were no lines of whitespace between open and close math tags, but
there was an empty line after the close math tag.

If I were typing the MathML manually, that would be no big deal; it would be a
simple matter to leave off the trailing linefeed. Most MathML comes from some
other application though -- MathType, Maple, Mathematica, ... -- and it's a
pain to first paste it into a text editor to check for trailing linefeeds
before importing into the Formula Editor.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97989] LO Calc very poor performance when saving to ODS or CSV on large spreadsheet

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97989

--- Comment #2 from MM  ---
The slow saving to ods seems like a dup, bug 93405

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97988] FILEOPEN: .xlsx Rotated Images No longer Rotated

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97988

--- Comment #2 from MM  ---
Seems like a dup, bug 83672

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: icon-themes/galaxy svx/source

2016-02-18 Thread Regina Henschel
 icon-themes/galaxy/cmd/bg/lc_backcolor.png |binary
 icon-themes/galaxy/cmd/lc_extrusion3dcolor.png |binary
 svx/source/tbxctrls/tbxcolorupdate.cxx |3 ++-
 3 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 98bd643082c6dd037526b6616ed060a3b6aab01f
Author: Regina Henschel 
Date:   Thu Feb 18 19:39:06 2016 +0100

tdf#84985 always align color bar to icon bottom edge

The old calculation was one pixel off for icon sizes, which
are not divisible by 4: galaxy with size 26 and oxygen with
size 22. The patch does not consider oxygen, because it will
be dropped.

Change-Id: Ia67facb0bb32dd9112784c2aa864fde252aa6bc3
Reviewed-on: https://gerrit.libreoffice.org/22488
Tested-by: Jenkins 
Reviewed-by: Maxim Monastirsky 

diff --git a/icon-themes/galaxy/cmd/bg/lc_backcolor.png 
b/icon-themes/galaxy/cmd/bg/lc_backcolor.png
index 52f5acb..bcaa754 100644
Binary files a/icon-themes/galaxy/cmd/bg/lc_backcolor.png and 
b/icon-themes/galaxy/cmd/bg/lc_backcolor.png differ
diff --git a/icon-themes/galaxy/cmd/lc_extrusion3dcolor.png 
b/icon-themes/galaxy/cmd/lc_extrusion3dcolor.png
index db38817..d192b80 100644
Binary files a/icon-themes/galaxy/cmd/lc_extrusion3dcolor.png and 
b/icon-themes/galaxy/cmd/lc_extrusion3dcolor.png differ
diff --git a/svx/source/tbxctrls/tbxcolorupdate.cxx 
b/svx/source/tbxctrls/tbxcolorupdate.cxx
index c0f199a..c773a1c 100644
--- a/svx/source/tbxctrls/tbxcolorupdate.cxx
+++ b/svx/source/tbxctrls/tbxcolorupdate.cxx
@@ -158,7 +158,8 @@ namespace svx
 }
 
 if (maBmpSize.Width() == maBmpSize.Height())
-maUpdRect = Rectangle(Point( 0, maBmpSize.Height() * 3 / 
4), Size(maBmpSize.Width(), maBmpSize.Height() / 4));
+// tdf#84985 align color bar with icon bottom edge; 
integer arithmetic e.g. 26 - 26/4 <> 26 * 3/4
+maUpdRect = Rectangle(Point( 0, maBmpSize.Height() - 
maBmpSize.Height() / 4), Size(maBmpSize.Width(), maBmpSize.Height() / 4));
 else
 maUpdRect = Rectangle(Point( maBmpSize.Height() + 2, 2), 
Point(maBmpSize.Width() - 3, maBmpSize.Height() - 3));
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-02-18 Thread Eike Rathke
 sc/inc/compare.hxx |9 +
 sc/inc/queryparam.hxx  |3 
 sc/source/core/data/dociter.cxx|5 -
 sc/source/core/data/dpcache.cxx|4 
 sc/source/core/data/table3.cxx |4 
 sc/source/core/inc/interpre.hxx|   15 +++
 sc/source/core/tool/compare.cxx|   12 +-
 sc/source/core/tool/doubleref.cxx  |2 
 sc/source/core/tool/interpr1.cxx   |   77 +
 sc/source/core/tool/queryparam.cxx |   15 +--
 sc/source/filter/xml/XMLCalculationSettingsContext.cxx |9 +
 sc/source/filter/xml/XMLCalculationSettingsContext.hxx |3 
 sc/source/filter/xml/XMLExportDataPilot.cxx|   29 +++---
 sc/source/filter/xml/XMLExportDataPilot.hxx|6 -
 sc/source/filter/xml/XMLExportDatabaseRanges.cxx   |   29 +++---
 sc/source/filter/xml/xmlfilti.cxx  |   24 ++---
 sc/source/filter/xml/xmlfilti.hxx  |   10 +-
 sc/source/ui/dbgui/filtdlg.cxx |2 
 sc/source/ui/dbgui/foptmgr.cxx |2 
 sc/source/ui/dbgui/pfiltdlg.cxx|4 
 sc/source/ui/dbgui/sfiltdlg.cxx|3 
 sc/source/ui/unoobj/datauno.cxx|5 -
 sc/source/ui/view/gridwin.cxx  |4 
 23 files changed, 177 insertions(+), 99 deletions(-)

New commits:
commit 06fa2a521b49afe44a387dbfcb65198382f6c57a
Author: Eike Rathke 
Date:   Thu Feb 18 23:48:17 2016 +0100

change all bool bRegExp to utl::SearchParam::SearchType enum, tdf#72196

Later inspect all places that use utl::SearchParam::SRCH_REGEXP if and
how to use utl::SearchParam::SRCH_WILDCARD as well.

Change-Id: I6ad4e5dea3cd656fd670f2281aaceec817953211

diff --git a/sc/inc/compare.hxx b/sc/inc/compare.hxx
index adfdfbc..cd4f9e7e 100644
--- a/sc/inc/compare.hxx
+++ b/sc/inc/compare.hxx
@@ -22,6 +22,7 @@
 
 #include "queryentry.hxx"
 
+#include 
 #include 
 
 class ScDocument;
@@ -50,11 +51,11 @@ struct Compare
 
 struct CompareOptions
 {
-ScQueryEntryaQueryEntry;
-boolbRegEx;
-boolbMatchWholeCell;
+ScQueryEntryaQueryEntry;
+utl::SearchParam::SearchTypeeSearchType;
+boolbMatchWholeCell;
 
-CompareOptions( ScDocument* pDoc, const ScQueryEntry& rEntry, bool bReg );
+CompareOptions( ScDocument* pDoc, const ScQueryEntry& rEntry, 
utl::SearchParam::SearchType eSrchTyp );
 private:
 CompareOptions( const CompareOptions & ) = delete;
 CompareOptions& operator=( const CompareOptions & ) = delete;
diff --git a/sc/inc/queryparam.hxx b/sc/inc/queryparam.hxx
index c174863..dba6c53 100644
--- a/sc/inc/queryparam.hxx
+++ b/sc/inc/queryparam.hxx
@@ -20,6 +20,7 @@
 #ifndef INCLUDED_SC_INC_QUERYPARAM_HXX
 #define INCLUDED_SC_INC_QUERYPARAM_HXX
 
+#include 
 #include "global.hxx"
 #include "types.hxx"
 
@@ -39,11 +40,11 @@ class SharedStringPool;
 
 struct ScQueryParamBase
 {
+utl::SearchParam::SearchType eSearchType;
 boolbHasHeader;
 boolbByRow;
 boolbInplace;
 boolbCaseSens;
-boolbRegExp;
 boolbDuplicate;
 boolmbRangeLookup;  ///< for spreadsheet functions like 
MATCH, LOOKUP, HLOOKUP, VLOOKUP
 
diff --git a/sc/source/core/data/dociter.cxx b/sc/source/core/data/dociter.cxx
index 4ea2d54..7ff9ee9 100644
--- a/sc/source/core/data/dociter.cxx
+++ b/sc/source/core/data/dociter.cxx
@@ -1296,7 +1296,8 @@ bool ScQueryCellIterator::FindEqualOrSortedLastInRange( 
SCCOL& nFoundCol,
 SetStopOnMismatch( true ); // assume sorted keys
 SetTestEqualCondition( true );
 bIgnoreMismatchOnLeadingStrings = bIgnoreMismatchOnLeadingStringsP;
-bool bRegExp = mpParam->bRegExp && 
mpParam->GetEntry(0).GetQueryItem().meType == ScQueryEntry::ByString;
+bool bRegExp = mpParam->eSearchType == utl::SearchParam::SRCH_REGEXP &&
+mpParam->GetEntry(0).GetQueryItem().meType == ScQueryEntry::ByString;
 bool bBinary = !bRegExp && mpParam->bByRow && (mpParam->GetEntry(0).eOp ==
 SC_LESS_EQUAL || mpParam->GetEntry(0).eOp == SC_GREATER_EQUAL);
 bool bFound = false;
@@ -1412,7 +1413,7 @@ bool ScQueryCellIterator::FindEqualOrSortedLastInRange( 
SCCOL& nFoundCol,
 maCurPos = aPosSave;
 return true;
 }
-if ( (bSearchForEqualAfterMismatch || mpParam->bRegExp) &&
+if ( (bSearchForEqualAfterMismatch || mpParam->eSearchType == 
utl::SearchParam::SRCH_REGEXP) &&
 StoppedOnMismatch() )
 {
 // Assume found entry to be the last value less than respectively
diff --git a/sc/source/core/data/dpcache.cxx 

[Libreoffice-commits] core.git: Branch 'feature/fixes16' - vcl/source

2016-02-18 Thread Michael Meeks
 vcl/source/app/scheduler.cxx |   14 --
 vcl/source/app/svapp.cxx |   18 +-
 2 files changed, 17 insertions(+), 15 deletions(-)

New commits:
commit 9ed1f1d891d9ee28de8c9170990814b9de2e8bfc
Author: Michael Meeks 
Date:   Thu Feb 18 21:18:28 2016 +

Ensure processEventsToIdle process events (including from the OS) until 
idle.

Change-Id: I9578849b0e78af15ddeb1e6495a48ccfb3f1c44a

diff --git a/vcl/source/app/scheduler.cxx b/vcl/source/app/scheduler.cxx
index 9450393..879ca42 100644
--- a/vcl/source/app/scheduler.cxx
+++ b/vcl/source/app/scheduler.cxx
@@ -174,20 +174,6 @@ bool Scheduler::ProcessTaskScheduling( bool bTimerOnly )
 return false;
 }
 
-void Scheduler::ProcessEventsToIdle()
-{
-// FIXME: really we should process incoming OS events too ...
-int nSanity = 1000;
-while (Scheduler::ProcessTaskScheduling(false))
-{
-if (nSanity-- < 0)
-{
-SAL_WARN("vcl.schedule", "Unexpected volume of events to process");
-break;
-}
-}
-}
-
 sal_uInt64 Scheduler::CalculateMinimumTimeout( bool  )
 {
 // process all pending Tasks
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index ef0847d..1b434dc 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -473,7 +473,7 @@ void Application::Execute()
 pSVData->maAppData.mbInAppExecute = false;
 }
 
-inline void ImplYield(bool i_bWait, bool i_bAllEvents, sal_uLong const 
nReleased)
+inline bool ImplYield(bool i_bWait, bool i_bAllEvents, sal_uLong const 
nReleased)
 {
 ImplSVData* pSVData = ImplGetSVData();
 
@@ -523,6 +523,8 @@ inline void ImplYield(bool i_bWait, bool i_bAllEvents, 
sal_uLong const nReleased
 vcl::LazyDelete::flush();
 
 SAL_INFO("vcl.schedule", "Leave ImplYield");
+
+return bHasActiveIdles;
 }
 
 void Application::Reschedule( bool i_bAllEvents )
@@ -530,6 +532,20 @@ void Application::Reschedule( bool i_bAllEvents )
 ImplYield(false, i_bAllEvents, 0);
 }
 
+void Scheduler::ProcessEventsToIdle()
+{
+int nSanity = 100;
+
+while(ImplYield(false, true, 0))
+{
+if (nSanity-- < 0)
+{
+SAL_WARN("vcl.schedule", "Unexpected volume of events to process");
+break;
+}
+}
+}
+
 void Application::Yield()
 {
 ImplYield(true, false, 0);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 97989] LO Calc very poor performance when saving to ODS or CSV on large spreadsheet

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97989

ras...@tiscali.cz changed:

   What|Removed |Added

   Keywords||perf

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97921] Fatal Error / crash on slideshow with 3D transition

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97921

Julien Nabet  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=96
   ||303

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 96303] SEH Exception: ACCESS VIOLATION

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=96303

Julien Nabet  changed:

   What|Removed |Added

 CC||serval2...@yahoo.fr
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=97
   ||921

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97921] Fatal Error / crash on slideshow with 3D transition

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97921

Julien Nabet  changed:

   What|Removed |Added

 CC||serval2...@yahoo.fr

--- Comment #4 from Julien Nabet  ---
On pc Debian x86-64 with master sources updated some days ago, I don't
reproduce the crash but had no transition effects.
I noticed these logs on console:
warn:legacy.tools:3338:1:sfx2/source/control/bindings.cxx:2130: No cache for
OfficeDispatch!
warn:vcl.gdi:3338:1:vcl/headless/svpgdi.cxx:114: non default depth bitmap, slow
convert, upscale the input
warn:legacy.tools:3338:1:svtools/source/control/valueset.cxx:1642:
ValueSet::InsertItem(): ItemId == 0
warn:sd.transitions:3338:1:sd/source/core/TransitionPreset.cxx:176: transition
node clock-wipe-twelve not found
warn:sd.transitions:3338:1:sd/source/core/TransitionPreset.cxx:176: transition
node reverse-clock-wipe-twelve not found
warn:sd.transitions:3338:1:sd/source/core/TransitionPreset.cxx:176: transition
node spiral-wipe-top-left-clockwise not found
warn:sd.transitions:3338:1:sd/source/core/TransitionPreset.cxx:176: transition
node spiral-wipe-top-right-counter-clockwise not found
warn:sd.transitions:3338:1:sd/source/core/TransitionPreset.cxx:176: transition
node spiral-wipe-out-to-bottom-right-clockwise not found
warn:sd.transitions:3338:1:sd/source/core/TransitionPreset.cxx:176: transition
node spiral-wipe-out-to-bottom-left-counter-clockwise not found
warn:sd.transitions:3338:1:sd/source/core/TransitionPreset.cxx:176: transition
node snake-wipe-top-left-vertical not found
warn:sd.transitions:3338:1:sd/source/core/TransitionPreset.cxx:176: transition
node snake-wipe-top-left-horizontal not found
warn:sd.transitions:3338:1:sd/source/core/TransitionPreset.cxx:176: transition
node snake-wipe-bottom-right-vertical not found
warn:sd.transitions:3338:1:sd/source/core/TransitionPreset.cxx:176: transition
node snake-wipe-bottom-right-horizontal not found

but above all this one:
warn:legacy.osl:3338:1:slideshow/source/engine/transitions/slidetransitionfactory.cxx:1135:
TransitionFactory::createSlideTransition(): Unknown type/subtype combination
encountered

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97989] LO Calc very poor performance when saving to ODS or CSV on large spreadsheet

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97989

--- Comment #1 from ras...@tiscali.cz ---
Created attachment 122782
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122782=edit
test replicated on LO 5103x32 portable and it works fine

test replicated on LO 5103x32 portable and it works fine.
It looks like the issues is only on x64 version.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97989] New: LO Calc very poor performance when saving to ODS or CSV on large spreadsheet

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97989

Bug ID: 97989
   Summary: LO Calc very poor performance when saving to ODS or
CSV on large spreadsheet
   Product: LibreOffice
   Version: 5.1.0.3 release
  Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: ras...@tiscali.cz

Created attachment 122781
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122781=edit
source file and performance usage charts for cases described in ticket

Hi,
I'd like to report problem I discovered when playing with larger files in LO
calc on version 5.1.0.3 x64 on windows7(x64).
Calc saves larger file very slowly - basically preventing any reasonable work
with such files.

Findings:
It takes about 15-20 seconds to load a file with 200 000 rows.
It takes 6 minutes (!!!) to save to CSV (random line was copied and added at
the bottom, so the file is not identical).
It takes 7 minutes (!!!) to save this 200k rows to ODS format (no changes in
content).
It takes only around 20 seconds to save to XLSX (no changes in content).

I also tested on portable LO 4.4.7x32 from portableapps and it wors MUCH
faster.
Times recorded
Load of CSV - cca 15s
Save to CSV (again with a random row copied and attached at the bottom) - less
than 10 seconds.
Save to ODS - 20 seconds
Save to XLSX - 10 seconds

What I find weird that handling XLSX is faster than ODS. (Saving and loading -
there is one chart with loads speeds.)

The attachment contains:
1) Original CSV file with 200k rows - star-1-200k.csv
Data are from here
https://sdm.lbl.gov/fastbit/data/samples.html , file star2000.csv.gz - I just
took 200k rows from it and save do separate file (in notepad).

2) screenshots from charts from Process Hacker.
How to read the charts: Top is CPU, middle memory, bottom I/O
Vertical lines are 10 second markers.
First bump is loading of the file, second bump (veeery long CPU hog for LO
5.1.0) is saving of the file to specific format.

Please notice that while CPU is hogged for few minutes in the worst cases,
there is almost no I/O activity.

OUTPUT files - not included due to attachmet limitation - I have them and can
provide on request.

Tested on Lenovo W520 laptop with i7-2760QM CPU. It is a quad-core with HT, so
eating 1 cpu core is visible as 12.5% CPU load on the chart.
8GB of RAM installed in the laptop.

I can run additional tests per instructions or provide more info, just let me
know.

Thanks and hopefully this could be corrected soon as it makes working with
larger files impossible.

Lastly - the loading and saving progressbar is NOT working in 5.1.0 x64 - LO
Calc just freezes during the save.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - sw/qa sw/source

2016-02-18 Thread Mark Hung
 sw/qa/extras/ooxmlexport/ooxmlexport.cxx |3 +
 sw/source/filter/ww8/docxattributeoutput.cxx |   45 ---
 sw/source/filter/ww8/docxattributeoutput.hxx |3 +
 sw/source/filter/ww8/wrtw8sty.cxx|   10 +-
 sw/source/filter/ww8/wrtww8.hxx  |2 +
 5 files changed, 44 insertions(+), 19 deletions(-)

New commits:
commit bb35db2c709d2d5fd1f86e84478944416cf7f6e0
Author: Mark Hung 
Date:   Thu Feb 4 00:53:01 2016 +0800

tdf#76817: fix missing heading styles assigned to outline levels in ooxml

1. Export pStyle because writerfilter regard a list as an outline
   only if associated pStyle is set to "Heading N".
2. Export English style name to ensure style names created by LO
   with non-English UI is always recognized.
Cherry-picked from 78284714b73a8307174c596295894e8f3951e09a
and b2efa9db15500044cbb2bd2c94e819b9ee8c6f82
Reviewed-on: https://gerrit.libreoffice.org/22086
Tested-by: Jenkins 
Reviewed-by: Mark Hung 

Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport.cxx

Change-Id: I88c590e4bae6cf30e78ebc1011023461eac4e883
Reviewed-on: https://gerrit.libreoffice.org/22441
Tested-by: Jenkins 
Reviewed-by: Michael Stahl 

diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx 
b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
index 239cfe8..de7ca05 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
@@ -637,7 +637,10 @@ DECLARE_OOXMLEXPORT_TEST(testOoxmlNumListZHCN, 
"numlist-zhcn.odt")
 DECLARE_OOXMLEXPORT_TEST(testOOxmlOutlineNumNone, "outline-num-none.odt")
 {
 if (xmlDocPtr pXmlDoc = parseExport("word/numbering.xml"))
+{
+assertXPath(pXmlDoc, 
"/w:numbering/w:abstractNum[1]/w:lvl[1]/w:pStyle", "val", "Heading1");
 assertXPath(pXmlDoc, 
"/w:numbering/w:abstractNum[1]/w:lvl[1]/w:numFmt", "val", "none");
+}
 }
 
 DECLARE_OOXMLEXPORT_TEST(testNumParentStyle, "num-parent-style.docx")
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx 
b/sw/source/filter/ww8/docxattributeoutput.cxx
index c8ecd9d..ab39f05 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -5152,24 +5152,17 @@ static bool lcl_guessQFormat(const OUString& rName, 
sal_uInt16 nWwId)
 if (nWwId == ww::stiUser)
 return true;
 
+// Allow exported built-in styles UI language neutral
+if ( nWwId == ww::stiNormal ||
+( nWwId>= ww::stiLev1 && nWwId <= ww::stiLev9 ) ||
+nWwId == ww::stiCaption || nWwId == ww::stiTitle ||
+nWwId == ww::stiSubtitle || nWwId == ww::stiStrong ||
+nWwId == ww::stiEmphasis )
+return true;
+
 static std::set aWhitelist;
 if (aWhitelist.empty())
 {
-aWhitelist.insert("Normal");
-aWhitelist.insert("Heading 1");
-aWhitelist.insert("Heading 2");
-aWhitelist.insert("Heading 3");
-aWhitelist.insert("Heading 4");
-aWhitelist.insert("Heading 5");
-aWhitelist.insert("Heading 6");
-aWhitelist.insert("Heading 7");
-aWhitelist.insert("Heading 8");
-aWhitelist.insert("Heading 9");
-aWhitelist.insert("Caption");
-aWhitelist.insert("Title");
-aWhitelist.insert("Subtitle");
-aWhitelist.insert("Strong");
-aWhitelist.insert("Emphasis");
 aWhitelist.insert("No Spacing");
 aWhitelist.insert("List Paragraph");
 aWhitelist.insert("Quote");
@@ -5228,10 +5221,16 @@ void DocxAttributeOutput::StartStyle( const OUString& 
rName, StyleType eType,
 SAL_WARN("sw.ww8", "Unhandled style property: " << 
rGrabBag[i].Name);
 }
 
+// MSO exports English names and writerfilter only recognize them.
+const sal_Char *pEnglishName = nullptr;
 const char* pType = nullptr;
 switch (eType)
 {
-case STYLE_TYPE_PARA: pType = "paragraph"; break;
+case STYLE_TYPE_PARA:
+pType = "paragraph";
+if ( nWwId < ww::stiMax)
+pEnglishName = ww::GetEnglishNameFromSti( 
static_cast(nWwId ) );
+break;
 case STYLE_TYPE_CHAR: pType = "character"; break;
 case STYLE_TYPE_LIST: pType = "numbering"; break;
 }
@@ -5243,9 +5242,8 @@ void DocxAttributeOutput::StartStyle( const OUString& 
rName, StyleType eType,
 pStyleAttributeList->add(FSNS(XML_w, XML_customStyle), "1");
 XFastAttributeListRef xStyleAttributeList(pStyleAttributeList);
 m_pSerializer->startElementNS( XML_w, XML_style, xStyleAttributeList);
-
 m_pSerializer->singleElementNS( XML_w, XML_name,
-FSNS( XML_w, XML_val ), OUStringToOString( OUString( rName ), 
RTL_TEXTENCODING_UTF8 ).getStr(),
+FSNS( XML_w, XML_val ), pEnglishName ? pEnglishName : 

[Libreoffice-bugs] [Bug 73797] Allow rotation of images in Writer by any angle / degree (currently only 90° steps possible), w/options for non-destructive handling of source image

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=73797

--- Comment #8 from Luke  ---
Created attachment 122780
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122780=edit
45 degree rotated image in .doc

Rotation control are necessary for MS-DOC interoperability. Also it would be
useful for scanned images that come out slightly skewed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97988] FILEOPEN: .xlsx Rotated Images No longer Rotated

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97988

--- Comment #1 from Luke  ---
Created attachment 122779
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122779=edit
XLS version correctly imported

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97988] New: FILEOPEN: .xlsx Rotated Images No longer Rotated

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97988

Bug ID: 97988
   Summary: FILEOPEN: .xlsx Rotated Images No longer Rotated
   Product: LibreOffice
   Version: 4.1.0.4 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: lukebe...@hotmail.com

Created attachment 122778
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122778=edit
Simple XLSX example

I had an old XLSX spreadsheet that used to work in OpenOffice with a signature
at the bottom. The image is no longer rotated to fit right. 

Steps to reproduce:
1. In Calc or Excel, insert an image
2. Rotate the image
3. Save as XLSX
4. Open in Calc

XLS files import correctly. I verified AOO 3.4.1 correctly imports the image.
LO 4.1 does not.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=57950

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

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

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

It will be available in 5.2.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 the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2016-02-18 Thread melikeyurtoglu
 dbaccess/source/core/dataaccess/documentcontainer.cxx |7 ++-
 1 file changed, 2 insertions(+), 5 deletions(-)

New commits:
commit 6e2de428a4910bb3c6dda45a59da09ed4a1889db
Author: melikeyurtoglu 
Date:   Tue Feb 2 17:09:10 2016 +0200

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

Change-Id: I2576c997d5b82fd8bdfd0c9430c7a1e11d7e07df
Signed-off-by: melikeyurtoglu 
Reviewed-on: https://gerrit.libreoffice.org/22049
Reviewed-by: Michael Stahl 
Tested-by: Michael Stahl 

diff --git a/dbaccess/source/core/dataaccess/documentcontainer.cxx 
b/dbaccess/source/core/dataaccess/documentcontainer.cxx
index ae5a174..8a95b71 100644
--- a/dbaccess/source/core/dataaccess/documentcontainer.cxx
+++ b/dbaccess/source/core/dataaccess/documentcontainer.cxx
@@ -644,11 +644,8 @@ OUString SAL_CALL 
ODocumentContainer::getHierarchicalName() throw (RuntimeExcept
 
 OUString SAL_CALL ODocumentContainer::composeHierarchicalName( const OUString& 
i_rRelativeName ) throw (IllegalArgumentException, NoSupportException, 
RuntimeException, std::exception)
 {
-OUStringBuffer aBuffer;
-aBuffer.append( getHierarchicalName() );
-aBuffer.append( '/' );
-aBuffer.append( i_rRelativeName );
-return aBuffer.makeStringAndClear();
+OUString aBuffer = getHierarchicalName() + "/" + i_rRelativeName;
+return aBuffer;
 }
 
 ::rtl::Reference ODocumentContainer::getContent(const 
OUString& _sName) const
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 97179] Greek alphabet in suggestions

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97179

László Németh  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97959] Writer embeds Base14 fonts in PDFs

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97959

--- Comment #3 from Maxim Monastirsky  ---
See this:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=feaebe7f93779d5c91c24c31ff91f756c69e9640

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] online.git: loolwsd/test

2016-02-18 Thread Henry Castro
 loolwsd/test/httpwstest.cpp |  275 
 1 file changed, 179 insertions(+), 96 deletions(-)

New commits:
commit 7037f07a3861d0835fc6f2648e91d48f99ded4a6
Author: Henry Castro 
Date:   Thu Feb 18 17:11:01 2016 -0400

loolwsd: re-work cppunit test websoket

diff --git a/loolwsd/test/httpwstest.cpp b/loolwsd/test/httpwstest.cpp
index 4228d53..b104765 100644
--- a/loolwsd/test/httpwstest.cpp
+++ b/loolwsd/test/httpwstest.cpp
@@ -10,7 +10,9 @@
 #include 
 #include 
 #include 
+#include 
 #include 
+#include 
 #include 
 #include 
 #include 
@@ -27,7 +29,6 @@ class HTTPWSTest : public CPPUNIT_NS::TestFixture
 Poco::Net::HTTPClientSession _session;
 Poco::Net::HTTPRequest _request;
 Poco::Net::HTTPResponse _response;
-Poco::Net::WebSocket _socket;
 
 CPPUNIT_TEST_SUITE(HTTPWSTest);
 CPPUNIT_TEST(testPaste);
@@ -42,143 +43,177 @@ class HTTPWSTest : public CPPUNIT_NS::TestFixture
 static
 void sendTextFrame(Poco::Net::WebSocket& socket, const std::string& 
string);
 
+static
+bool isDocumentLoaded(Poco::Net::WebSocket& socket);
+
 public:
 HTTPWSTest()
 : _uri("http://127.0.0.1:; + std::to_string(ClientPortNumber)),
   _session(_uri.getHost(), _uri.getPort()),
-  _request(Poco::Net::HTTPRequest::HTTP_GET, "/ws"),
-  _socket(_session, _request, _response)
+  _request(Poco::Net::HTTPRequest::HTTP_GET, "/ws")
 {
 }
 
 void setUp()
 {
-_socket.shutdown();
-_socket = Poco::Net::WebSocket(_session, _request, _response);
 }
 
 void tearDown()
 {
-_socket.shutdown();
 }
 };
 
 void HTTPWSTest::testPaste()
 {
-// Load a document and make it empty.
-const std::string documentPath = TDOC "/hello.odt";
-const std::string documentURL = "file://" + 
Poco::Path(documentPath).makeAbsolute().toString();
-sendTextFrame(_socket, "load url=" + documentURL);
-sendTextFrame(_socket, "uno .uno:SelectAll");
-sendTextFrame(_socket, "uno .uno:Delete");
-
-// Paste some text into it.
-sendTextFrame(_socket, "paste mimetype=text/plain;charset=utf-8\naaa bbb 
ccc");
-
-// Check if the document contains the pasted text.
-sendTextFrame(_socket, "uno .uno:SelectAll");
-sendTextFrame(_socket, "gettextselection 
mimetype=text/plain;charset=utf-8");
-std::string selection;
-int flags;
-int n;
-do
+try
 {
-char buffer[READ_BUFFER_SIZE];
-n = _socket.receiveFrame(buffer, sizeof(buffer), flags);
-if (n > 0)
+Poco::Net::WebSocket socket(_session, _request, _response);
+
+// Load a document and make it empty.
+const std::string documentPath = TDOC "/hello.odt";
+const std::string documentURL = "file://" + 
Poco::Path(documentPath).makeAbsolute().toString();
+
+sendTextFrame(socket, "load url=" + documentURL);
+sendTextFrame(socket, "status");
+CPPUNIT_ASSERT_MESSAGE("cannot load the document " + documentURL, 
isDocumentLoaded(socket));
+
+sendTextFrame(socket, "uno .uno:SelectAll");
+sendTextFrame(socket, "uno .uno:Delete");
+
+// Paste some text into it.
+sendTextFrame(socket, "paste mimetype=text/plain;charset=utf-8\naaa 
bbb ccc");
+
+// Check if the document contains the pasted text.
+sendTextFrame(socket, "uno .uno:SelectAll");
+sendTextFrame(socket, "gettextselection 
mimetype=text/plain;charset=utf-8");
+std::string selection;
+int flags;
+int n;
+do
 {
-const std::string line = LOOLProtocol::getFirstLine(buffer, n);
-const std::string prefix = "textselectioncontent: ";
-if (line.find(prefix) == 0)
+char buffer[READ_BUFFER_SIZE];
+n = socket.receiveFrame(buffer, sizeof(buffer), flags);
+if (n > 0)
 {
-selection = line.substr(prefix.length());
-break;
+const std::string line = LOOLProtocol::getFirstLine(buffer, n);
+const std::string prefix = "textselectioncontent: ";
+if (line.find(prefix) == 0)
+{
+selection = line.substr(prefix.length());
+break;
+}
 }
 }
+while (n > 0 && (flags & Poco::Net::WebSocket::FRAME_OP_BITMASK) != 
Poco::Net::WebSocket::FRAME_OP_CLOSE);
+sendTextFrame(socket, "disconnect");
+socket.shutdown();
+CPPUNIT_ASSERT_EQUAL(std::string("aaa bbb ccc"), selection);
+}
+catch(const Poco::Exception& exc)
+{
+CPPUNIT_ASSERT_MESSAGE(exc.displayText(), false);
 }
-while (n > 0 && (flags & Poco::Net::WebSocket::FRAME_OP_BITMASK) != 
Poco::Net::WebSocket::FRAME_OP_CLOSE);
-sendTextFrame(_socket, "disconnect");
-_socket.shutdown();
-CPPUNIT_ASSERT_EQUAL(std::string("aaa 

[Libreoffice-bugs] [Bug 95960] UI - Displaced field value widget in User-Defined Document Properties

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95960

--- Comment #11 from Katarina Behrens (CIB)  ---
Created attachment 122777
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122777=edit
Still pretty bad ...

Unfortunately the issue persist, perhaps less severely so, but it does. Notice
the Yes-No bitmaps are kinda cropped and the fields in the last column are
misplaced ( =  shifted slightly upwards). 

I've tried w/ all vcl plugins on Linux (gtk23, kde4, gen), it looks okay only
with gen. The screenshot was taken using kde4 plugin

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97601] Accessing chart data through API results in infinite redraw loop

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97601

raal  changed:

   What|Removed |Added

   Keywords||bibisected, bisected
 CC||vmik...@collabora.co.uk

--- Comment #3 from raal  ---
This seems to have begun at the below commit.
Adding Cc: to Miklos Vajna ; Could you possibly take a look at this one?
Thanks

4c13bb774851dcbf148fb625c88a307cde710f55 is the first bad commit
commit 4c13bb774851dcbf148fb625c88a307cde710f55
Author: Matthew Francis 
Date:   Sat Mar 14 20:55:22 2015 +0800

source-hash-e2b260fc98e833d4e64426b90992094f2da0498c

commit e2b260fc98e833d4e64426b90992094f2da0498c
Author: Miklos Vajna 
AuthorDate: Tue Jun 3 12:44:37 2014 +0200
Commit: Miklos Vajna 
CommitDate: Tue Jun 3 13:10:36 2014 +0200

sw: let layout not mark embedded object as modified

The problem was that right after the import, the document wasn't marked
as modified, but as layout settled, it got marked as modified.

Given that we already have code to avoid modification when updating the
replacement image, do something similar here: when setting the view
area, make sure the embedded object's component is not marked as
modified.

Change-Id: I88a42829ec48db54178553661863a571cd2a268b

:04 04 42998b78fbd5ea1b21c0ca161f235a2d765b6154
31aca97a24ffd3533d0c299c5fd7109fffb09394 Mopt

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97179] Greek alphabet in suggestions

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97179

--- Comment #6 from Commit Notification 
 ---
László Németh committed a patch related to this issue.
It has been pushed to "master":

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

tdf#97179: do not suggest 1-letter custom dictionary words

It will be available in 5.2.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 the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97179] Greek alphabet in suggestions

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97179

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:5.2.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2016-02-18 Thread László Németh
 linguistic/source/spelldta.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 60d900254e93e8ac19fed3fa451b91c536efe930
Author: László Németh 
Date:   Wed Feb 17 23:23:39 2016 +0100

tdf#97179: do not suggest 1-letter custom dictionary words

Fix for the following regression:

Suggestions for all 1- or 2-letter words contain ~all Greek
letters from the commit c4318b8c1912c1ee947d96b02b3d4abf2eaf65f6
(add Greek alphabet to the technical dictionary).

Change-Id: I9356d439debfec34a963edbe5daacde976cc532c
Reviewed-on: https://gerrit.libreoffice.org/22449
Reviewed-by: Michael Stahl 
Tested-by: Michael Stahl 

diff --git a/linguistic/source/spelldta.cxx b/linguistic/source/spelldta.cxx
index bb62a5a..001fbe9 100644
--- a/linguistic/source/spelldta.cxx
+++ b/linguistic/source/spelldta.cxx
@@ -99,7 +99,7 @@ void SearchSimilarText( const OUString , sal_Int16 
nLanguage,
 // remove characters used to determine hyphenation 
positions
 aEntryTxt = 
comphelper::string::remove(pEntries[k]->getDictionaryWord(), '=');
 }
-if (!aEntryTxt.isEmpty()  &&  LevDistance( rText, aEntryTxt ) 
<= 2)
+if (!aEntryTxt.isEmpty()  &&  aEntryTxt.getLength() > 1  &&  
LevDistance( rText, aEntryTxt ) <= 2)
 rDicListProps.push_back( aEntryTxt );
 }
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 97986] Graphite code execution vulnerability

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97986

Maxim Monastirsky  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||momonas...@gmail.com
 Resolution|--- |FIXED

--- Comment #1 from Maxim Monastirsky  ---
For master:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=c64ea526dc71da6e3aad188ac71e58047ed74b5a

For 5-1 (should be already in 5.1.1 RC1):

https://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-5-1=f26f5226542c8a707eda3dcd8a9f81fbbf0342c0

For 5-0 (towards 5.0.6):

https://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-5-0=d2ef084eb0e26b5ee18133269249e7a80efb23d6

Note that Linux distros usually build against system graphite, so it's up to
them to update it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43157] Clean up OSL_ASSERT, DBG_ASSERT, etc.

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=43157

--- Comment #47 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=e959fd9e2389727c74631b8b29c5d39b404b390a

tdf#43157 Clean up DBG_ASSERT for svx

It will be available in 5.2.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 the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2016-02-18 Thread Sedat Ak
 svx/source/dialog/rlrcitem.cxx|   20 +-
 svx/source/sdr/properties/emptyproperties.cxx |   28 +-
 svx/source/sdr/properties/groupproperties.cxx |   20 +-
 3 files changed, 34 insertions(+), 34 deletions(-)

New commits:
commit e959fd9e2389727c74631b8b29c5d39b404b390a
Author: Sedat Ak 
Date:   Sun Jan 31 17:21:06 2016 +0200

tdf#43157 Clean up DBG_ASSERT for svx

Change-Id: Id09a9905aa152755d77aacde029dd3f701937b52
Reviewed-on: https://gerrit.libreoffice.org/21964
Reviewed-by: jan iversen 
Reviewed-by: Michael Stahl 
Tested-by: Michael Stahl 

diff --git a/svx/source/dialog/rlrcitem.cxx b/svx/source/dialog/rlrcitem.cxx
index 06ad0da..b7ab519 100644
--- a/svx/source/dialog/rlrcitem.cxx
+++ b/svx/source/dialog/rlrcitem.cxx
@@ -57,14 +57,14 @@ void SvxRulerItem::StateChanged( sal_uInt16 nSID, 
SfxItemState eState,
 case SID_ATTR_LONG_LRSPACE:
 {
 const SvxLongLRSpaceItem *pItem = dynamic_cast( pState );
-DBG_ASSERT(pState == nullptr || pItem != nullptr, "SvxLRSpaceItem 
expected");
+SAL_WARN_IF(pState != nullptr && pItem == nullptr, "svx.dialog", 
"SvxLRSpaceItem expected");
 rRuler.UpdateFrame(pItem);
 break;
 }
 case SID_ATTR_LONG_ULSPACE:
 {
 const SvxLongULSpaceItem *pItem = dynamic_cast( pState );
-DBG_ASSERT(pState == nullptr || pItem != nullptr, "SvxULSpaceItem 
expected");
+SAL_WARN_IF(pState != nullptr && pItem == nullptr, "svx.dialog", 
"SvxULSpaceItem expected");
 rRuler.UpdateFrame(pItem);
 break;
 }
@@ -72,7 +72,7 @@ void SvxRulerItem::StateChanged( sal_uInt16 nSID, 
SfxItemState eState,
 case SID_ATTR_TABSTOP:
 {
 const SvxTabStopItem *pItem = dynamic_cast( 
pState );
-DBG_ASSERT(pState == nullptr || pItem != nullptr, "SvxTabStopItem 
expected");
+SAL_WARN_IF(pState != nullptr && pItem == nullptr, "svx.dialog", 
"SvxTabStopItem expected");
 rRuler.Update(pItem);
 break;
 }
@@ -80,7 +80,7 @@ void SvxRulerItem::StateChanged( sal_uInt16 nSID, 
SfxItemState eState,
 case SID_ATTR_PARA_LRSPACE:
 {
 const SvxLRSpaceItem *pItem = dynamic_cast( 
pState );
-DBG_ASSERT(pState == nullptr || pItem != nullptr, "SvxLRSpaceItem 
expected");
+SAL_WARN_IF(pState != nullptr && pItem == nullptr, "svx.dialog", 
"SvxLRSpaceItem expected");
 rRuler.UpdatePara(pItem);
 break;
 }
@@ -90,7 +90,7 @@ void SvxRulerItem::StateChanged( sal_uInt16 nSID, 
SfxItemState eState,
 case SID_RULER_ROWS_VERTICAL:
 {
 const SvxColumnItem *pItem = dynamic_cast( 
pState );
-DBG_ASSERT(pState == nullptr || pItem != nullptr, "SvxColumnItem 
expected");
+SAL_WARN_IF(pState != nullptr && pItem == nullptr, "svx.dialog", 
"SvxColumnItem expected");
 #ifdef DBG_UTIL
 if(pItem)
 {
@@ -109,35 +109,35 @@ void SvxRulerItem::StateChanged( sal_uInt16 nSID, 
SfxItemState eState,
 case SID_RULER_PAGE_POS:
 {   // Position page, page width
 const SvxPagePosSizeItem *pItem = dynamic_cast( pState );
-DBG_ASSERT(pState == nullptr || pItem != nullptr, 
"SvxPagePosSizeItem expected");
+SAL_WARN_IF(pState != nullptr && pItem == nullptr, "svx.dialog", 
"SvxPagePosSizeItem expected");
 rRuler.Update(pItem);
 break;
 }
 case SID_RULER_OBJECT:
 {   // Object selection
 const SvxObjectItem *pItem = dynamic_cast( 
pState );
-DBG_ASSERT(pState == nullptr || pItem != nullptr, "SvxObjectItem 
expected");
+SAL_WARN_IF(pState != nullptr && pItem == nullptr, "svx.dialog", 
"SvxObjectItem expected");
 rRuler.Update(pItem);
 break;
 }
 case SID_RULER_PROTECT:
 {
 const SvxProtectItem *pItem = dynamic_cast( 
pState );
-DBG_ASSERT(pState == nullptr || pItem != nullptr, "SvxProtectItem 
expected");
+SAL_WARN_IF(pState != nullptr && pItem == nullptr, "svx.dialog", 
"SvxProtectItem expected");
 rRuler.Update(pItem);
 break;
 }
 case SID_RULER_BORDER_DISTANCE:
 {
 const SvxLRSpaceItem *pItem = dynamic_cast( 
pState );
-DBG_ASSERT(pState == nullptr || pItem != nullptr, "SvxLRSpaceItem 
expected");
+SAL_WARN_IF(pState != nullptr && pItem == nullptr, "svx.dialog", 
"SvxLRSpaceItem expected");
 rRuler.UpdateParaBorder(pItem);
 }
 break;
 case SID_RULER_TEXT_RIGHT_TO_LEFT :
 {
 const SfxBoolItem *pItem = dynamic_cast( 
pState );
- 

[Libreoffice-bugs] [Bug 97897] Recalculate does not always work

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97897

raal  changed:

   What|Removed |Added

   Keywords|bibisectRequest |bibisected, bisected
 CC||r...@post.cz

--- Comment #8 from raal  ---
bisected file test2.ods

d12d1a450eb7599eb60ba605ce7a7e8b12bcb744 is the first bad commit
commit d12d1a450eb7599eb60ba605ce7a7e8b12bcb744
Author: Matthew Francis 
Date:   Sun Mar 15 06:07:23 2015 +0800

source-hash-5ef856e975d7c0396984d588a43fd1a7c7085c55

(Bibisect: Skipped preceding irrelevant commit(s)
b2efe90c07baa45d2ee7e13138dd306a29738473)

commit 5ef856e975d7c0396984d588a43fd1a7c7085c55
Author: Kohei Yoshida 
AuthorDate: Tue Nov 18 21:03:05 2014 -0500
Commit: Kohei Yoshida 
CommitDate: Tue Nov 18 21:03:50 2014 -0500

Use group area listeners during ODS import.

Change-Id: Id01f9021dda7f33255f8206174cd730507ab55ad

:04 04 126e010c62ce770ece406648bd72b0d2505c593f
e7bee6d7439acbe7be3fd506baefed81c493b191 Mopt

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43157] Clean up OSL_ASSERT, DBG_ASSERT, etc.

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=43157

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

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

tdf#43157 Cleanup DBG_ASSERT for formula module.

It will be available in 5.2.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 the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2016-02-18 Thread aybuke
 formula/source/core/api/FormulaCompiler.cxx |5 -
 formula/source/core/api/token.cxx   |2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 05d2684840d3956ff76ed6db00a43cf2d49c8454
Author: aybuke 
Date:   Sun Jan 31 15:25:45 2016 +0200

tdf#43157 Cleanup DBG_ASSERT for formula module.

Change-Id: I1be9332b4408b3c28aacfa872d63fce67adcb1fe
Reviewed-on: https://gerrit.libreoffice.org/21958
Tested-by: Jenkins 
Reviewed-by: Michael Stahl 

diff --git a/formula/source/core/api/FormulaCompiler.cxx 
b/formula/source/core/api/FormulaCompiler.cxx
index e0d7093..a17d9ee 100644
--- a/formula/source/core/api/FormulaCompiler.cxx
+++ b/formula/source/core/api/FormulaCompiler.cxx
@@ -512,7 +512,6 @@ uno::Sequence< sheet::FormulaOpCodeMapEntry > 
FormulaCompiler::OpCodeMap::create
 
 void FormulaCompiler::OpCodeMap::putOpCode( const OUString & rStr, const 
OpCode eOp, const CharClass* pCharClass )
 {
-DBG_ASSERT( 0 < eOp && sal_uInt16(eOp) < mnSymbols, "OpCodeMap::putOpCode: 
OpCode out of range");
 if (0 < eOp && sal_uInt16(eOp) < mnSymbols)
 {
 SAL_WARN_IF( !(mpTable[eOp].isEmpty() || (mpTable[eOp] == rStr) ||
@@ -526,6 +525,10 @@ void FormulaCompiler::OpCodeMap::putOpCode( const OUString 
& rStr, const OpCode
 OUString aUpper( pCharClass ? pCharClass->uppercase( rStr) : 
rStr.toAsciiUpperCase());
 mpHashMap->insert( OpCodeHashMap::value_type( aUpper, eOp));
 }
+else
+{
+SAL_WARN( "formula.core", "OpCodeMap::putOpCode: OpCode out of range");
+}
 }
 
 // class FormulaCompiler
diff --git a/formula/source/core/api/token.cxx 
b/formula/source/core/api/token.cxx
index fe7c2bb..22d3c84 100644
--- a/formula/source/core/api/token.cxx
+++ b/formula/source/core/api/token.cxx
@@ -1426,7 +1426,7 @@ FormulaTokenArray * FormulaTokenArray::RewriteMissing( 
const MissingConvention &
 break;
 case ocClose:
 pCtx[ nFn ].AddMoreArgs( pNewArr, rConv );
-DBG_ASSERT( nFn > 0, "FormulaTokenArray::RewriteMissing: 
underflow");
+SAL_WARN_IF(nFn <= 0, "formula.core", 
"FormulaTokenArray::RewriteMissing: underflow");
 if (nOcas > 0 && pOcas[ nOcas-1 ] == nFn)
 --nOcas;// leaving ADDRESS()
 if (nFn > 0)
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 97987] Writer .docx compatibility problem with Windows 10 Mobile

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97987

--- Comment #2 from j...@outlook.com ---
Created attachment 122776
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122776=edit
Example .xlsx

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97987] Writer .docx compatibility problem with Windows 10 Mobile

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97987

--- Comment #1 from j...@outlook.com ---
Created attachment 122775
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122775=edit
Example .docx

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97987] New: Writer .docx compatibility problem with Windows 10 Mobile

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97987

Bug ID: 97987
   Summary: Writer .docx compatibility problem with Windows 10
Mobile
   Product: LibreOffice
   Version: 5.1.0.3 release
  Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: j...@outlook.com

There seems to be some sort of compatibility problem with Windows 10 Mobile and
Libreoffice Writer .docx format. When I open a .docx file on my phone, Word
mobile application opens it as read-only because it says that it is in an older
format. If I want to make edits on my phone, I need to use "save as" and make a
new file.

Excel mobile on the other hand has no problem with .xlsx files from
Libreoffice.




Libreoffice 5.1.0.3
Windows 10 Home 64-bit
Microsoft Lumia 950 / Windows 10 Mobile 10.0.10586.107

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97986] New: Graphite code executioon vulnerability

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97986

Bug ID: 97986
   Summary: Graphite code executioon vulnerability
   Product: LibreOffice
   Version: unspecified
  Hardware: All
OS: All
Status: UNCONFIRMED
  Keywords: security
  Severity: normal
  Priority: medium
 Component: graphics stack
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: gand...@qweepi.de

Holger Fuhrmannek discovered that missing input sanitising in the
Graphite font rendering engine could result in the execution of arbitrary
code.

http://www.talosintel.com/reports/TALOS-2016-0058/

After looking for information about the version of libreoffice that fixes this
issue, I could not find any indication of such a patch, assuming the issue
still exists in libreoffice. Sorry if this is a duplicate.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97986] Graphite code execution vulnerability

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97986

gand...@qweepi.de changed:

   What|Removed |Added

Summary|Graphite code executioon|Graphite code execution
   |vulnerability   |vulnerability

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97959] Writer embeds Base14 fonts in PDFs

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97959

--- Comment #2 from T Martin  ---
(In reply to Beluga from comment #1)
> Maybe the reason behind it is this:
> http://www.hamilton.ie/gavinmc/docs/timesinpdfs.html
> 
> "There are a few exceptions however. There are a set of standard fonts (aka
> the Base-14 fonts) which pdfs in general (including pdfLaTeX generated ones)
> do not generally have embedded. These include Times and Helvetica. The
> reason is that these fonts are standard and taken to already be available on
> all systems (so embedding them would be redundant and wasteful of disk space
> and bandwidth).
> 
> The advantage of this is that by using these fonts you can make a nice small
> PDF which will not need any fonts embedded. The disadvantage is that some
> extended accent characters (eg vowels with macrons) may vary from one
> person's Times font (or TeX's times clone) to another. This means that to
> reliably get these characters you must embed your Times font in the PDF. It
> is recommended that any book being sent to printers in PDF format have the
> fonts embedded, even if it's in Times."


"The disadvantage is that some extended accent characters (eg vowels with
macrons) may vary from one person's Times font (or TeX's times clone) to
another."

characters "may" vary... LOL

The above is a blanket statement full of weasel words. The cited paragraph 
discusses a problem about forced embedding. the mismatch in character mappings
is NOT the problem. Some "contrarian" just added fodder to "enrich" the
discussion.

There is no proof in the disucssion above that someone has found that
characters vary among fonts. Please let me know if that is the case so I can
investigate the knock-offs in detail and fill a bug with the font author

If you find that your "arial" knockoff has swapped the latters "a" and "b" what
would you do?
A) fix the font or
B) always embed all fonts

hope you go for A

Thnaks

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2016-02-18 Thread Pranav Kant
 loleaflet/.eslintignore   |1 +
 loleaflet/src/control/Control.Presentation.js |2 +-
 loleaflet/src/control/Control.Styles.js   |3 ++-
 loleaflet/src/control/Control.Tabs.js |   15 +--
 loleaflet/src/control/Parts.js|   24 
 loleaflet/src/core/Socket.js  |1 +
 6 files changed, 30 insertions(+), 16 deletions(-)

New commits:
commit 10fcfdd210cbebdb9d5d3d6604aac07ff0c60ea5
Author: Pranav Kant 
Date:   Fri Feb 19 01:02:17 2016 +0530

loleaflet: Fix all ESLint errors

And we are now finally in a clean state.

Change-Id: Ifd949d925cc758a007d036e1de9df7dafd911c40

diff --git a/loleaflet/.eslintignore b/loleaflet/.eslintignore
index 546fb41..9474c51 100644
--- a/loleaflet/.eslintignore
+++ b/loleaflet/.eslintignore
@@ -1 +1,2 @@
 src/scrollbar
+src/contextMenu
diff --git a/loleaflet/src/control/Control.Presentation.js 
b/loleaflet/src/control/Control.Presentation.js
index c5b0b9e..e75cdad 100644
--- a/loleaflet/src/control/Control.Presentation.js
+++ b/loleaflet/src/control/Control.Presentation.js
@@ -2,7 +2,7 @@
  * L.Control.Presentation is used for common commands for slides.
  */
 
-/* global vex */
+/* global vex _ */
 L.Control.Presentation = L.Control.extend({
options: {
position: 'topleft'
diff --git a/loleaflet/src/control/Control.Styles.js 
b/loleaflet/src/control/Control.Styles.js
index 0691f4f..02965a5 100644
--- a/loleaflet/src/control/Control.Styles.js
+++ b/loleaflet/src/control/Control.Styles.js
@@ -84,8 +84,9 @@ L.Control.Styles = L.Control.extend({
var outlineLevel = 
style.split('Outline')[1];
var localeString = 
'Outline'.toLocaleString() + outlineLevel;
item.innerHTML = localeString;
-   } else
+   } else {
item.innerHTML = 
style.toLocaleString();
+   }
});
}
}
diff --git a/loleaflet/src/control/Control.Tabs.js 
b/loleaflet/src/control/Control.Tabs.js
index b8022cb..4a27aa2 100644
--- a/loleaflet/src/control/Control.Tabs.js
+++ b/loleaflet/src/control/Control.Tabs.js
@@ -2,7 +2,7 @@
  * L.Control.Tabs is used to switch sheets in Calc
  */
 
-/* global $ */
+/* global $ vex _ */
 L.Control.Tabs = L.Control.extend({
onAdd: function (map) {
this._tabsInitialized = false;
@@ -15,10 +15,12 @@ L.Control.Tabs = L.Control.extend({
callback: function(key, options) {
var nPos = 
parseInt(options.$trigger.attr('id').split('spreadsheet-tab')[1]);
 
-   if (key === 'insertsheetbefore')
+   if (key === 'insertsheetbefore') {
map.insertPage(nPos);
-   if (key === 'insertsheetafter')
+   }
+   if (key === 'insertsheetafter') {
map.insertPage(nPos + 1);
+   }
},
items: {
'insertsheetbefore': {name: _('Insert sheet 
before this')},
@@ -29,19 +31,20 @@ L.Control.Tabs = L.Control.extend({
vex.dialog.confirm({
message: _('Are 
you sure you want to delete this sheet?'),
callback: 
function(data) {
-   if 
(data)
+   if 
(data) {

map.deletePage(nPos);
+   }
}
});
}
 },
'renamesheet': {name: _('Rename sheet'),
-   callback: function(key, 
options){
+   callback: function(key, 
options) {
var nPos = 
parseInt(options.$trigger.attr('id').split('spreadsheet-tab')[1]);
vex.dialog.open({
message: 
_('Enter new 

[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - configure.ac

2016-02-18 Thread David Ostrovsky
 configure.ac |   17 +
 1 file changed, 9 insertions(+), 8 deletions(-)

New commits:
commit 1d97879bdde8f521b8b648ef070722611feb9b72
Author: David Ostrovsky 
Date:   Thu Feb 18 00:30:16 2016 +0100

configure: Fix Windows SDK 10 retrieval

Change-Id: I800bd502c3ecd4ec1cdaa6cb3cbe1c4432d8358f
Reviewed-on: https://gerrit.libreoffice.org/22451
Tested-by: Jenkins 
Reviewed-by: David Ostrovsky 
(cherry picked from commit 9218ca64957a27dfeacefd317b12edb82b405c7c)
Signed-off-by: Michael Stahl 
Reviewed-on: https://gerrit.libreoffice.org/22485

diff --git a/configure.ac b/configure.ac
index 5099873..299984b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3374,10 +3374,11 @@ find_msvs()
 
 find_ucrt()
 {
-reg_get_value_32 "HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows 
Kits/Installed Roots/KitsRoot10"
+reg_get_value_32 "HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Microsoft 
SDKs/Windows/v10.0/InstallationFolder"
 if test -n "$regvalue"; then
 ucrttest=$regvalue
-ucrtdir=10.0.10240.0
+reg_get_value_32 "HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Microsoft 
SDKs/Windows/v10.0/ProductVersion"
+ucrtdir=$regvalue
 fi
 }
 
@@ -3431,7 +3432,6 @@ if test "$_os" = "WINNT"; then
 AC_MSG_CHECKING([Visual C++])
 
 find_msvc "$with_visual_studio"
-
 if test -z "$vctest"; then
 if test -n "$with_visual_studio"; then
 AC_MSG_ERROR([No Visual Studio $with_visual_studio 
installation found])
@@ -3598,7 +3598,7 @@ if test "$_os" = "WINNT"; then
 ;;
 140)
 COMEX=19
-WINDOWS_SDK_ACCEPTABLE_VERSIONS="10.0A 8.1A 8.1 8.0 7.1A"
+WINDOWS_SDK_ACCEPTABLE_VERSIONS="10.0A 10.0 8.1A 8.1 8.0 7.1A"
 ;;
 esac
 
@@ -5295,11 +5295,12 @@ find_winsdk_version()
 return
 fi
 ;;
-10)
-reg_get_value_32 "HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows 
Kits/Installed Roots/KitsRoot10"
+10.0)
+reg_get_value_32 "HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Microsoft 
SDKs/Windows/v${1}/InstallationFolder"
 if test -n "$regvalue"; then
 winsdktest=$regvalue
-winsdklibsubdir=10.0.10056.0
+reg_get_value_32 "HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Microsoft 
SDKs/Windows/v${1}/ProductVersion"
+winsdklibsubdir=$regvalue
 return
 fi
 ;;
@@ -8836,7 +8837,7 @@ if test "$with_system_odbc" = "yes" -o '(' 
"$with_system_headers" = "yes" -a "$w
 save_CPPFLAGS=$CPPFLAGS
 find_winsdk
 PathFormat "$winsdktest"
-CPPFLAGS="$CPPFLAGS -I$formatted_path/include/um 
-I$formatted_path/Include/$winsdklibsubdir/um -I$formatted_path/include 
-I$formatted_path/include/shared"
+CPPFLAGS="$CPPFLAGS -I$formatted_path/include/um 
-I$formatted_path/Include/$winsdklibsubdir/um -I$formatted_path/include 
-I$formatted_path/include/shared 
-I$formatted_path/include/$winsdklibsubdir/shared"
 AC_CHECK_HEADER(sqlext.h, [],
 [AC_MSG_ERROR(odbc not found. install odbc)],
 [#include ])
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - vcl/source

2016-02-18 Thread Caolán McNamara
 vcl/source/control/edit.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e2aa9b7c8c62338c91a3883b0c400b1259793382
Author: Caolán McNamara 
Date:   Thu Feb 18 13:52:55 2016 +

fix inverted logic regression

regression from...

commit 051b29e1025253f35f87a04e297760aa8b40611f
Author: Luboš Luňák 
Date:   Sun Sep 14 15:45:02 2014 +0200

convert Edit autocomplete Hdl to boost signals2

where the conversion was...

- if ( maAutocompleteHdl.IsSet() )
+ if ( autocompleteSignal.empty() )

instead of the correct

+ if ( !autocompleteSignal.empty() )

Reviewed-on: https://gerrit.libreoffice.org/22477
Reviewed-by: Michael Stahl 
Tested-by: Michael Stahl 
(cherry picked from commit e919bfcaa5561445ebf39f73171bf1c934818d1a)

Change-Id: Ie87944d66958af595e64b41236bbf515ef7a1f98
Reviewed-on: https://gerrit.libreoffice.org/22478
Reviewed-by: Michael Stahl 
Tested-by: Michael Stahl 

diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index 7e04604..2a492da 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -2114,7 +2114,7 @@ void Edit::Command( const CommandEvent& rCEvt )
 Invalidate();
 
 // #i25161# call auto complete handler for ext text commit also
-if ( autocompleteSignal.empty() )
+if (!autocompleteSignal.empty())
 {
 if ( (maSelection.Min() == maSelection.Max()) && 
(maSelection.Min() == maText.getLength()) )
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - vcl/unx

2016-02-18 Thread Caolán McNamara
 vcl/unx/gtk3/gtk3gtkframe.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f1ee822b76cf58c93299e901224d6d6a7eae322a
Author: Caolán McNamara 
Date:   Thu Feb 18 17:20:34 2016 +

gtk3: Resolves: tdf#96333 fix RTL menu positioning

Change-Id: I22c5186371e558ed84da81c43400379c218ca816
(cherry picked from commit d7a292ce490eeb8ff02e145e0a55f41f4c179541)
Reviewed-on: https://gerrit.libreoffice.org/22487
Reviewed-by: Maxim Monastirsky 
Tested-by: Maxim Monastirsky 

diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index 3914de5..6902256 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -1613,7 +1613,7 @@ void GtkSalFrame::SetPosSize( long nX, long nY, long 
nWidth, long nHeight, sal_u
 if( m_pParent )
 {
 if( AllSettings::GetLayoutRTL() )
-nX = m_pParent->maGeometry.nWidth-maGeometry.nWidth-1-nX;
+nX = m_pParent->maGeometry.nWidth-m_nWidthRequest-1-nX;
 nX += m_pParent->maGeometry.nX;
 nY += m_pParent->maGeometry.nY;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 43157] Clean up OSL_ASSERT, DBG_ASSERT, etc.

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=43157

--- Comment #45 from Commit Notification 
 ---
Arnold Dumas committed a patch related to this issue.
It has been pushed to "master":

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

tdf#43157: Clean up OSL_ASSERT, DBG_ASSERT

It will be available in 5.2.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 the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43157] Clean up OSL_ASSERT, DBG_ASSERT, etc.

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=43157

Commit Notification  changed:

   What|Removed |Added

 Whiteboard|ToBeReviewed|ToBeReviewed target:5.2.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - configure.ac

2016-02-18 Thread David Ostrovsky
 configure.ac |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit adc69d7fe391154fcebf9c97b857c6ddccec4539
Author: David Ostrovsky 
Date:   Wed Feb 17 19:49:12 2016 +0100

Consider MSVC 14.0 per default, when no MSVC 12.0 installed

Change-Id: I7de8df7d8b7da2c16e27f22529162574bc0f747d
Reviewed-on: https://gerrit.libreoffice.org/22436
Tested-by: Jenkins 
Reviewed-by: David Ostrovsky 
Tested-by: David Ostrovsky 
(cherry picked from commit 649f74e21b6dc7117b542f490272897ac1d00566)
Signed-off-by: Michael Stahl 
Reviewed-on: https://gerrit.libreoffice.org/22484

diff --git a/configure.ac b/configure.ac
index fc1f179..5099873 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3343,8 +3343,8 @@ vs_versions_to_check()
 map_vs_year_to_version "$1"
 vsversions=$vsversion
 else
-# By default we prefer 2013
-vsversions=12.0
+# By default we prefer 2013/2015, in this order
+vsversions="12.0 14.0"
 fi
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-02-18 Thread Arnold Dumas
 sdext/source/pdfimport/filterdet.cxx |   31 +--
 1 file changed, 13 insertions(+), 18 deletions(-)

New commits:
commit 8c97225d311af6711ac49755079acd29842afeba
Author: Arnold Dumas 
Date:   Thu Feb 18 13:17:31 2016 +0100

tdf#43157: Clean up OSL_ASSERT, DBG_ASSERT

Change-Id: I81def3487932497782b4e560ef920330ba5cc2a2
Reviewed-on: https://gerrit.libreoffice.org/22476
Reviewed-by: Michael Stahl 
Tested-by: Jenkins 

diff --git a/sdext/source/pdfimport/filterdet.cxx 
b/sdext/source/pdfimport/filterdet.cxx
index 1aa7526..2e2a350 100644
--- a/sdext/source/pdfimport/filterdet.cxx
+++ b/sdext/source/pdfimport/filterdet.cxx
@@ -204,13 +204,10 @@ OUString SAL_CALL PDFDetector::detect( uno::Sequence< 
beans::PropertyValue >& rF
 sal_Int32 nPwdPos = -1;
 for( sal_Int32 i = 0; i < nAttribs; i++ )
 {
-#if OSL_DEBUG_LEVEL > 1
 OUString aVal( "" );
 pAttribs[i].Value >>= aVal;
-OSL_TRACE( "doDetection: Attrib: %s = %s\n",
-   OUStringToOString( pAttribs[i].Name, RTL_TEXTENCODING_UTF8 
).getStr(),
-   OUStringToOString( aVal, RTL_TEXTENCODING_UTF8 ).getStr() );
-#endif
+SAL_INFO( "sdext.pdfimport", "doDetection: Attrib: " + 
pAttribs[i].Name + " = " + aVal + "\n");
+
 if ( pAttribs[i].Name == "InputStream" )
 pAttribs[i].Value >>= xInput;
 else if ( pAttribs[i].Name == "URL" )
@@ -264,13 +261,11 @@ OUString SAL_CALL PDFDetector::detect( uno::Sequence< 
beans::PropertyValue >& rF
 }
 else
 {
-#if OSL_DEBUG_LEVEL > 1
-OSL_TRACE( "created temp file %s\n",
-   OUStringToOString( aURL, RTL_TEXTENCODING_UTF8 
).getStr() );
-#endif
+SAL_INFO( "sdext.pdfimport", "created temp file " + aURL + 
"\n" );
+
 osl_writeFile( aFile, aBuf.getConstArray(), nBytes, 
 );
 
-OSL_ENSURE( nWritten == nBytes, "writing of header bytes 
failed" );
+SAL_WARN_IF( nWritten != nBytes, "sdext.pdfimport", 
"writing of header bytes failed" );
 
 if( nWritten == nBytes )
 {
@@ -380,7 +375,7 @@ OUString SAL_CALL PDFDetector::detect( uno::Sequence< 
beans::PropertyValue >& rF
 break;
 
 default:
-OSL_FAIL("Unexpected case");
+assert(!"Unexpected case");
 }
 
 aOutTypeName = "pdf_Portable_Document_Format";
@@ -520,13 +515,13 @@ uno::Reference< io::XStream > getAdditionalStream( const 
OUString&
 chk = pTrailer->m_pDict->m_aMap.find( "DocChecksum" );
 if( chk == pTrailer->m_pDict->m_aMap.end() )
 {
-OSL_TRACE( "no DocChecksum entry" );
+SAL_INFO( "sdext.pdfimport", "no DocChecksum entry" );
 continue;
 }
 pdfparse::PDFName* pChkSumName = 
dynamic_cast(chk->second);
 if( pChkSumName == nullptr )
 {
-OSL_TRACE( "no name for DocChecksum entry" );
+SAL_INFO( "sdext.pdfimport", "no name for DocChecksum 
entry" );
 continue;
 }
 
@@ -537,13 +532,13 @@ uno::Reference< io::XStream > getAdditionalStream( const 
OUString&
 add_stream = pTrailer->m_pDict->m_aMap.find( 
"AdditionalStreams" );
 if( add_stream == pTrailer->m_pDict->m_aMap.end() )
 {
-OSL_TRACE( "no AdditionalStreams entry" );
+SAL_INFO( "sdext.pdfimport", "no AdditionalStreams 
entry" );
 continue;
 }
 pdfparse::PDFArray* pStreams = 
dynamic_cast(add_stream->second);
 if( ! pStreams || pStreams->m_aSubElements.size() < 2 )
 {
-OSL_TRACE( "AdditionalStreams array too small" );
+SAL_INFO( "sdext.pdfimport", "AdditionalStreams array 
too small" );
 continue;
 }
 
@@ -556,13 +551,13 @@ uno::Reference< io::XStream > getAdditionalStream( const 
OUString&
 pdfparse::PDFName* pMimeType = 
dynamic_cast(pStreams->m_aSubElements[0]);
 pdfparse::PDFObjectRef* pStreamRef = 
dynamic_cast(pStreams->m_aSubElements[1]);
 
-OSL_ENSURE( pMimeType, "error: no mimetype element\n" );
-OSL_ENSURE( pStreamRef, "error: no stream ref element\n" );
+SAL_WARN_IF( !pMimeType, "sdext.pdfimport", "error: no 
mimetype element\n" );
+

[Libreoffice-bugs] [Bug 97974] PNG 8-bit colormap files are printed as as black rectangle

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97974

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1

--- Comment #4 from Beluga  ---
Could you please try with 5.1.1 RC1?

Alternatively, you can use the master build, which requires no additional
measures to install separately:
http://dev-builds.libreoffice.org/daily/master/Win-x86@39/current/

Set to NEEDINFO.
Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED
WORKSFORME, if the problem went away.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97981] cannot select printer options

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97981

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi
 Whiteboard||needsKDE

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97964] Buggy resizing windows

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97964

Beluga  changed:

   What|Removed |Added

   Keywords||perf
   Priority|medium  |high
 Status|UNCONFIRMED |NEW
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1

--- Comment #1 from Beluga  ---
I have noted this in Ubuntu.

Similar or same: bug 90303

Setting to NEW nevertheless.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] online.git: 3 commits - loleaflet/spec loolwsd/ChildProcessSession.cpp loolwsd/MasterProcessSession.cpp loolwsd/protocol.txt

2016-02-18 Thread Pranav Kant
 loleaflet/spec/tilebench/TileBenchSpec.js |2 ++
 loolwsd/ChildProcessSession.cpp   |   11 ++-
 loolwsd/MasterProcessSession.cpp  |   14 +-
 loolwsd/protocol.txt  |5 +
 4 files changed, 30 insertions(+), 2 deletions(-)

New commits:
commit 5332e3f48c36955d6bbf53272dc645aaeae09a20
Author: Pranav Kant 
Date:   Fri Feb 19 00:08:07 2016 +0530

loleaflet: Make tile benchmark test work again

This broke after we introduced 'tilecombine' message.

Change-Id: Id273a859b22cac6b50ba759241d0b36d27829700

diff --git a/loleaflet/spec/tilebench/TileBenchSpec.js 
b/loleaflet/spec/tilebench/TileBenchSpec.js
index 87874e8..4d3077b 100644
--- a/loleaflet/spec/tilebench/TileBenchSpec.js
+++ b/loleaflet/spec/tilebench/TileBenchSpec.js
@@ -117,6 +117,7 @@ describe('TileBench', function () {
incoming.push(logs[i]);
}
else if (logs[i].direction === L.OUTGOING) {
+   logs[i].msg = 
logs[i].msg.replace('tilecombine','tile');
outgoing.push(logs[i]);
}
}
@@ -126,6 +127,7 @@ describe('TileBench', function () {
for (j = 0; j < incoming.length; j++) {
if (outgoing[i].msg === incoming[j].msg) {
time_deltas.push(incoming[j].time - 
outgoing[i].time);
+   break;
}
}
}
commit 9cf0cbf3a68f8717eed5c2dda882f92a2879fc36
Author: Pranav Kant 
Date:   Fri Feb 19 00:00:33 2016 +0530

loolwsd: Allow sending 'tilecombine' messages with 'timestamp'

... and revert back with this parameter in 'tile:' response
messages so that client can identify the response.

This is also required to make client-side tile benchmarking tests
work again.

Change-Id: I307aabf622b17f4dce727d1faf3c83eb566ba905

diff --git a/loolwsd/ChildProcessSession.cpp b/loolwsd/ChildProcessSession.cpp
index b32d4c5..6102a16 100644
--- a/loolwsd/ChildProcessSession.cpp
+++ b/loolwsd/ChildProcessSession.cpp
@@ -773,6 +773,7 @@ void ChildProcessSession::sendCombinedTiles(const char* 
/*buffer*/, int /*length
 {
 int part, pixelWidth, pixelHeight, tileWidth, tileHeight;
 std::string tilePositionsX, tilePositionsY;
+std::string reqTimestamp;
 
 if (tokens.count() < 8 ||
 !getTokenInteger(tokens[1], "part", part) ||
@@ -795,6 +796,9 @@ void ChildProcessSession::sendCombinedTiles(const char* 
/*buffer*/, int /*length
 return;
 }
 
+if (tokens.count() > 8)
+getTokenString(tokens[8], "timestamp", reqTimestamp);
+
 Util::Rectangle renderArea;
 
 StringTokenizer positionXtokens(tilePositionsX, ",", 
StringTokenizer::TOK_IGNORE_EMPTY | StringTokenizer::TOK_TRIM);
@@ -874,7 +878,12 @@ void ChildProcessSession::sendCombinedTiles(const char* 
/*buffer*/, int /*length
" tileposx=" + 
std::to_string(tileRect.getLeft()) +
" tileposy=" + 
std::to_string(tileRect.getTop()) +
" tilewidth=" + std::to_string(tileWidth) +
-   " tileheight=" + std::to_string(tileHeight) + 
"\n";
+   " tileheight=" + std::to_string(tileHeight);
+
+if (reqTimestamp != "")
+response += " timestamp=" + reqTimestamp;
+
+response += "\n";
 
 std::vector output;
 output.reserve(pixelWidth * pixelHeight * 4 + response.size());
diff --git a/loolwsd/MasterProcessSession.cpp b/loolwsd/MasterProcessSession.cpp
index b7b4275..de04450 100644
--- a/loolwsd/MasterProcessSession.cpp
+++ b/loolwsd/MasterProcessSession.cpp
@@ -605,6 +605,7 @@ void MasterProcessSession::sendCombinedTiles(const char* 
/*buffer*/, int /*lengt
 {
 int part, pixelWidth, pixelHeight, tileWidth, tileHeight;
 std::string tilePositionsX, tilePositionsY;
+std::string reqTimestamp;
 
 if (tokens.count() < 8 ||
 !getTokenInteger(tokens[1], "part", part) ||
@@ -627,6 +628,9 @@ void MasterProcessSession::sendCombinedTiles(const char* 
/*buffer*/, int /*lengt
 return;
 }
 
+if (tokens.count() > 8)
+getTokenString(tokens[8], "timestamp", reqTimestamp);
+
 Util::Rectangle renderArea;
 
 StringTokenizer positionXtokens(tilePositionsX, ",", 
StringTokenizer::TOK_IGNORE_EMPTY | StringTokenizer::TOK_TRIM);
@@ -669,7 +673,12 @@ void MasterProcessSession::sendCombinedTiles(const char* 
/*buffer*/, int /*lengt
" tileposx=" + std::to_string(x) +
" tileposy=" + std::to_string(y) +
" 

[Libreoffice-bugs] [Bug 97959] Writer embeds Base14 fonts in PDFs

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97959

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi

--- Comment #1 from Beluga  ---
Maybe the reason behind it is this:
http://www.hamilton.ie/gavinmc/docs/timesinpdfs.html

"There are a few exceptions however. There are a set of standard fonts (aka the
Base-14 fonts) which pdfs in general (including pdfLaTeX generated ones) do not
generally have embedded. These include Times and Helvetica. The reason is that
these fonts are standard and taken to already be available on all systems (so
embedding them would be redundant and wasteful of disk space and bandwidth).

The advantage of this is that by using these fonts you can make a nice small
PDF which will not need any fonts embedded. The disadvantage is that some
extended accent characters (eg vowels with macrons) may vary from one person's
Times font (or TeX's times clone) to another. This means that to reliably get
these characters you must embed your Times font in the PDF. It is recommended
that any book being sent to printers in PDF format have the fonts embedded,
even if it's in Times."

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97932] PDF exporting destroys rotated JPEG images.

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97932

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1

--- Comment #2 from Beluga  ---
Yep, could you test with 5.1.1 rc1?
If fixed, set as duplicate of bug 96653

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97939] Can't paste inside Writer from other documents or pages

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97939

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1

--- Comment #2 from Beluga  ---
Please give an example web page.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 97938] Can't use mouse to select from drop-down menus in dialog windows

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97938

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||todven...@suomi24.fi
 Resolution|--- |DUPLICATE

--- Comment #2 from Beluga  ---
Yep, seems like it.

You can test with 5.1.1 RC1 to find out, but let's close for now.

*** This bug has been marked as a duplicate of bug 96604 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 60378] FILEOPEN: Wrong table cells formatting

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=60378

--- Comment #7 from Mikhail Vladimirov  ---
Confirmed.

LibreOffice 5.1.0.3
Ubuntu 14.04.3

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 61196] Add support for exporting files in djvu format

2016-02-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=61196

ComputerHotline  changed:

   What|Removed |Added

  Component|LibreOffice |filters and storage

--- Comment #2 from ComputerHotline  ---
I would like to use it too.

https://en.wikipedia.org/wiki/DjVu

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


  1   2   3   4   >