[Libreoffice-qa] [ANN] LibreOffice 5.1.0 RC3 test builds available

2016-01-27 Thread Christian Lohmaier
Hi *,

for the upcoming new version 5.1.0, the builds for RC3 are now
available on pre-releases.

5.1.0 rc3 is in release-build configuration, meaning it will update a
previous version of LibreOffice

5.1.0 is scheduled to be released beginning of February

RC3 is the last planned rc, see

https://wiki.documentfoundation.org/ReleasePlan/5.1#5.1.0_release

for the complete schedule.

Grab the builds from here here:

 http://dev-builds.libreoffice.org/pre-releases/

If you've a bit of time, please give them a try & report any severe
bugs not yet in bugzilla here, so we can incorporate  them into the
release notes. Please note that it takes approximately 24 hours to
populate the mirrors, so that's about the time we have to collect
feedback.

The list of fixed bugs relative to 5.1.0 rc2 is here:

http://dev-builds.libreoffice.org/pre-releases/src/bugs-libreoffice-5-1-0-release-5.1.0.3.log

So playing with the areas touched there also greatly appreciated  -
and validation that those bugs are really fixed.

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

[Bug 94865] MENU: Duplicate accelerators in en_US version

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94865

Akshay Deep  changed:

   What|Removed |Added

   Assignee|akshaydeepi...@gmail.com|libreoffice-b...@lists.free
   ||desktop.org

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


[Libreoffice-bugs] [Bug 97370] System=level definition of Ctrl+Alt+letter key combination on Polish (PLP) keyboard ignored by Writer

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97370

--- Comment #3 from t...@o2.pl ---
Hi, Joel,

I wasn't aware that I can download any LO version, not necessarily going back
to 4.4.7, as this page http://www.libreoffice.org/download/libreoffice-fresh/
might suggest.

I have installed 5.0.3.2 on the same computer (Lenovo G580, Windows 10 Home),
and it works perfectly.

The issue must have originated with 5.0.4.1 (the immediate successor of
5.0.3.2), which had the same issue as the newest released version.

Thanks for the "temporary relief" and for your effort put into the development
of free software. We are all indebted to people like you.

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


[Libreoffice-bugs] [Bug 97370] System=level definition of Ctrl+Alt+letter key combination on Polish (PLP) keyboard ignored by Writer

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97370

--- Comment #6 from t...@o2.pl ---
Unfortunately, 5.2.0.0alpha0 has this bug too.

Yes, I realize that the problem may be marginal or imperceptible even for
Polish users, many (perhaps most) of whom use Right Alt. I just find having all
modifier keys under my left hand more convenient, but it's a matter of personal
preference. OK, let's hope that somebody will work on this any time in the
future.

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


[Libreoffice-bugs] [Bug 97207] Apply multiple autocorrection rules at once

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97207

--- Comment #5 from Joel Madero  ---
(In reply to nemzag from comment #4)
> Spamming ? 
> By asking 6 day ago ?

No by asking 5 days after your first two posts which expressly says "Because no
feedback" but it had only been 5 days. Sometimes you'll go 2-3 months without
feedback and that's just how it is. We ask that you not do follow up posts that
don't add new information (such as "status check" or "ping" or "anyone?" or
anything that isn't useful).

> 
> I report a bug, 
> I'm not rich, 
> I can't pay a developer pro fixing the featune 

This is all fine - that just means that you're in the same position as
virtually all of us (including most of our contributors). The result is
understanding that this is a volunteer based projects, bugs are handled by
volunteers based on when they want to tackle them, and because of this, it
might really be never or it may be much sooner. For enhancement requests, the
priority is traditionally much much lower than actual bugs. So long as you
understand this then all is well.

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


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

2016-01-27 Thread Chris Sherlock
 vcl/inc/fontattributes.hxx |1 +
 vcl/source/font/fontattributes.cxx |   18 ++
 2 files changed, 19 insertions(+)

New commits:
commit eea67332da825306abd3e49450850abb323eb91c
Author: Chris Sherlock 
Date:   Thu Jan 28 12:08:43 2016 +1100

vcl: add in copy constructor for FontAttributes

Change-Id: I0627ee8ee699abd2afc87639c87f8c17f42c6e70

diff --git a/vcl/inc/fontattributes.hxx b/vcl/inc/fontattributes.hxx
index b94f4be..870afd3 100644
--- a/vcl/inc/fontattributes.hxx
+++ b/vcl/inc/fontattributes.hxx
@@ -28,6 +28,7 @@ class FontAttributes
 {
 public:
 explicitFontAttributes();
+FontAttributes( const FontAttributes& );
 
 // device independent font functions
 const OUString& GetFamilyName() const   { return 
maFamilyName; }
diff --git a/vcl/source/font/fontattributes.cxx 
b/vcl/source/font/fontattributes.cxx
index b777227..4f5c9e4 100644
--- a/vcl/source/font/fontattributes.cxx
+++ b/vcl/source/font/fontattributes.cxx
@@ -37,6 +37,24 @@ FontAttributes::FontAttributes()
 mbEmbeddable ( false )
 {}
 
+FontAttributes::FontAttributes( const FontAttributes& rFontAttributes ) :
+maFamilyName( rFontAttributes.maFamilyName ),
+maStyleName( rFontAttributes.maStyleName ),
+meWeight( rFontAttributes.meWeight ),
+meFamily( rFontAttributes.meFamily ),
+mePitch( rFontAttributes.mePitch ),
+meWidthType( rFontAttributes.meWidthType ),
+meItalic( rFontAttributes.meItalic ),
+meCharSet( rFontAttributes.meCharSet ),
+mbSymbolFlag( rFontAttributes.mbSymbolFlag ),
+maMapNames( rFontAttributes.maMapNames ),
+mnQuality( rFontAttributes.mnQuality ),
+mbOrientation( rFontAttributes.mbOrientation ),
+mbDevice( rFontAttributes.mbDevice ),
+mbSubsettable( rFontAttributes.mbSubsettable ),
+mbEmbeddable( rFontAttributes.mbEmbeddable )
+{}
+
 
 bool FontAttributes::CompareDeviceIndependentFontAttributes(const 
FontAttributes& rOther) const
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 97374] FILEOPEN: Impress crashes loading a file with Page Title field

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97374

Julien Nabet  changed:

   What|Removed |Added

   Keywords|bibisectRequest |
 CC||oliver.spe...@cib.de

--- Comment #4 from Julien Nabet  ---
Oliver: I'm not sure at all, so really just a guess, but by taking a look to
bt, I wonder if it might be due to
http://cgit.freedesktop.org/libreoffice/core/commit/?id=d3c7c9ea81ee7c617f8cee5b645621088aea215b,
any thoughts?

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


[Libreoffice-bugs] [Bug 97375] Impress crashes in text selection

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97375

Julien Nabet  changed:

   What|Removed |Added

 CC||serval2...@yahoo.fr

--- Comment #5 from Julien Nabet  ---
Created attachment 122242
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122242=edit
bt with debug symbols

On pc Debian x86-64 with master sources updated today (+dbgutil and build from
scratch so brand new profile), I could reproduce this.
I attached bt with symbols, I noticed these errors on console just before
crash:
warn:legacy.osl:4945:1:vcl/unx/generic/app/geninst.cxx:56:
SalYieldMutex::release() called with zero count
warn:sal.osl.mutex:4945:1:sal/osl/unx/mutex.cxx:139: pthread_mutex_unlock
failed: Operation not permitted
warn:legacy.tools:4945:1:editeng/source/editeng/editdoc.cxx:1227: Node out of
range in Adjust(1)
warn:legacy.tools:4945:1:editeng/source/editeng/impedit.cxx:239: Portion in
Selection not found!

Also, I could reproduce this with gtk3 and gtk but not with
SAL_USE_VCLPLUGIN=gen

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


[Libreoffice-bugs] [Bug 97403] Clicking document won't open without further input.

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97403

nospa...@gmail.com changed:

   What|Removed |Added

 CC||nospa...@gmail.com
Version|unspecified |5.0.4.2 release

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


[Bug 96888] Kill internal vcl dog-tags ...

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=96888

Michael Meeks  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #36 from Michael Meeks  ---
Heh =) I think we need to completely remove the ImplDelData structure
completely as well - there is a chunk more (fun) cleanup work to do here I
think - ripping out that dead wood still.

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


Re: WebDAV provider tests: how about interacting with a server?

2016-01-27 Thread Chris Sherlock
This is pretty cool :-)

I’ve currently got an odd issue with Calc not detecting the content-encoding 
via the WebDAV layer in bug 95217 - 
https://bugs.documentfoundation.org/show_bug.cgi?id=95217 - Persian test in a 
webpage encoded as UTF-8 is corrupting.

Is it worthwhile having an optional component that runs a local webserver that 
can test out stuff like this?

Chris

> On 27 Jan 2016, at 8:33 PM, Giuseppe Castagno 
>  wrote:
> 
> Hi all,
> 
> after the first very trivial test on WebDAV provider, I would like to 
> implement the 'real' unit tests with a server.
> 
> The reason is obvious: in the end is with an external server that ucp.webdav 
> will interact.
> 
> This will permit to stimulate all the three layers the provider has (roughly: 
> component layer, session layer, interface library).
> 
> A local test, e.g. without a server, can only test a very small part of the 
> whole provider operations.
> 
> The test I'd like to implement is the normal run of tests I did manually so 
> far:
> 
> 1) load a file to a server and check if the file is locked;
> 2) close the file, check if unlocked;
> 3) try the open/edit/save operation and check if the file is still locked;
> 
> more tests...
> 
> Plus tests to stimulate the Web functionality (read data from Web), the 
> extensions update mechanism (that use webdav provider to read the new 
> extension version information and get the new extension if the user wishes 
> so), etc...
> 
> Because an external server is needed, this test cannot be run in normal 
> build, should be run manually from the test/developer instead.
> A dedicated make target should be implemented for that.
> 
> Comments appreciated.
> 
> Thanks.
> -- 
> Kind Regards,
> Giuseppe Castagno aka beppec56
> Acca Esse http://www.acca-esse.eu
> giuseppe.castagno at acca-esse.eu
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice

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


Re: Character encoding not being detected when using Link to external source in calc

2016-01-27 Thread Chris Sherlock
Hi guys, 

I’m afraid I’m still a bit stuck on this, any other ideas what might be causing 
the problem?

Chris

> On 6 Jan 2016, at 4:27 AM, Chris Sherlock  wrote:
> 
> Thanks Mark, appreciate these code pointers!
> 
> (I’m cc’ing in the mailing list so others can comment)
> 
> Chris
> 
>> On 4 Jan 2016, at 8:21 PM, Mark Hung > > wrote:
>> 
>> 
>> I meant there is a chance for SvParser::GetNextChar() to switch encoding, 
>> but yes it is less relevant.
>> 
>> Grepping content-type under ucb , there are some suspicious code
>> http://opengrok.libreoffice.org/xref/core/ucb/source/ucp/webdav-neon/ContentProperties.cxx#454
>>  
>> 
>> http://opengrok.libreoffice.org/xref/core/ucb/source/ucp/webdav/ContentProperties.cxx#471
>>  
>> 
>> 
>> Which seems incosistent with 
>> http://opengrok.libreoffice.org/xref/core/sc/source/filter/html/htmlpars.cxx#264
>>  
>> 
>> 
>> 
>> 2016-01-04 16:17 GMT+08:00 Chris Sherlock > >:
>> Hi Mark,
>> 
>> BOM detection is irrelevant here. The HTTP header states that it should be 
>> UTF8, but this is not being honoured. 
>> 
>> There is something further down the stack that isn’t recording the HTTP 
>> headers. 
>> 
>> Chris
>> 
>>> On 4 Jan 2016, at 4:23 PM, Mark Hung >> > wrote:
>>> 
>>> Hi Chris,
>>> 
>>> As recently I'm working on SvParser and HTMLParser, 
>>> 
>>> There is BOM detection is in SvParser::GetNextChar().
>>> 
>>> A quick look at eehtml, EditHTMLParser:: <>EditHTMLParser seems relevant.
>>> 
>>> Best regards.
>>> 
>>> 
>>> 2016-01-04 12:02 GMT+08:00 Chris Sherlock >> >:
>>> Hey guys, 
>>> 
>>> Probably nobody saw this because of the time of year (Happy New Year, 
>>> incidentally!!!).
>>> 
>>> Just a quick ping to the list to see if anyone can give me some pointers. 
>>> 
>>> Chris
>>> 
 On 30 Dec 2015, at 12:15 PM, Chris Sherlock > wrote:
 
 Hi guys,
 
 In bug 95217 - https://bugs.documentfoundation.org/show_bug.cgi?id=95217 
  - Persian test 
 in a webpage encoded as UTF-8 is corrupting.
 
 If I take the webpage and save to an HTML file encoded as UTF8, then there 
 are no problems and the Persian text comes through fine. However, when 
 connecting to a webserver directly, the HTTP header correctly gives the 
 content type as utf8.
 
 I did a test using Charles Proxy with its SSL interception feature turned 
 on and pointed Safari to 
 https://bugs.documentfoundation.org/attachment.cgi?id=119818 
 
 
 The following headers are gathered:
 
 HTTP/1.1 200 OK
 Server: nginx/1.2.1
 Date: Sat, 26 Dec 2015 01:41:30 GMT
 Content-Type: text/html; name="text.html"; charset=UTF-8
 Content-Length: 982
 Connection: keep-alive
 X-xss-protection: 1; mode=block
 Content-disposition: inline; filename="text.html"
 X-content-type-options: nosniff
 
 Some warnings are spat out that it editeng's eehtml can't detect the 
 encoding. I initially thought it was looking for a BOM, which makes no 
 sense for a webpage, but that's wrong. Instead, for some reason the 
 headers don't seem to be processed and the HTML parser is falling back to 
 ISO-8859-1 and not UTF8 as the character encoding.
 
 We seem to use Neon to make the GET request to the webserver. A few 
 observations:
 
 1. We detect a server OK response as an error
 2. (Probably more to the point) I believe PROPFIND is being used, but 
 actually even though the function being used indicates a PROPFIND verb is 
 used a GET is used as is normal but the headers aren't being stored. This 
 ,Evans that when the parser looks for the headers to find the encoding 
 it's not finding anything, resulting in a fallback to ISO-8859-1.
 
 One easy thing (doesn't solve the root issue) is that wouldn't it be a 
 better idea to fallback to UTF8 and not ISO-8859-1, given ISO-8859-1 is 
 really just a subset of UTF-8?
 
 Any pointers on how to get to the bottom of this would be appreciated, I'm 
 honestly not up on webdav or Neon.
 
 Chris Sherlock
>>> 
>>> 
>>> ___
>>> LibreOffice mailing list
>>> LibreOffice@lists.freedesktop.org 
>>> 

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

2016-01-27 Thread Rosemary Sebastian
 oox/source/drawingml/textfield.cxx |   19 ++-
 sd/qa/unit/data/odp/numfmt.odp |binary
 sd/qa/unit/data/pptx/numfmt.pptx   |binary
 sd/qa/unit/export-tests.cxx|   90 +
 4 files changed, 107 insertions(+), 2 deletions(-)

New commits:
commit 2b0669eec0d86e973a7d8def8744c522bbf8af8b
Author: Rosemary Sebastian 
Date:   Mon Jan 25 12:40:35 2016 +0530

Format the datetime fields properly on import

Make sure that, after export, the datetime fields in impress are
imported with the correct number format.

Change-Id: I5565fef69b3a62e7dd59ea0d39cde151fb0af976
Reviewed-on: https://gerrit.libreoffice.org/21610
Tested-by: Jenkins 
Reviewed-by: Katarina Behrens 

diff --git a/oox/source/drawingml/textfield.cxx 
b/oox/source/drawingml/textfield.cxx
index 135ef31..7c5fba0 100644
--- a/oox/source/drawingml/textfield.cxx
+++ b/oox/source/drawingml/textfield.cxx
@@ -60,7 +60,6 @@ void lclCreateTextFields( std::list< Reference< XTextField > 
> & aFields,
 {
 Reference< XInterface > xIface;
 Reference< XMultiServiceFactory > xFactory( xModel, UNO_QUERY_THROW );
-
 if( sType.startsWith("datetime"))
 {
 OString s = OUStringToOString( sType, RTL_TEXTENCODING_UTF8);
@@ -69,6 +68,7 @@ void lclCreateTextFields( std::list< Reference< XTextField > 
> & aFields,
 {
 bool bIsDate = true;
 int idx = p.toInt32();
+sal_uInt16 nNumFmt;
 //  OSL_TRACE( "OOX: p = %s, %d", p.pData->buffer, idx );
 xIface = xFactory->createInstance( 
"com.sun.star.text.TextField.DateTime" );
 aFields.push_back( Reference< XTextField > ( xIface, UNO_QUERY ) );
@@ -79,10 +79,14 @@ void lclCreateTextFields( std::list< Reference< XTextField 
> > & aFields,
 {
 case 1: // Date dd/mm/
 // this is the default format...
+nNumFmt = 5;
+xProps->setPropertyValue("NumberFormat", makeAny(nNumFmt));
 break;
 case 2: // Date Day, Month dd, 
 break;
 case 3: // Date dd Month 
+nNumFmt = 3;
+xProps->setPropertyValue("NumberFormat", makeAny(nNumFmt));
 break;
 case 4: // Date Month dd, 
 break;
@@ -100,17 +104,28 @@ void lclCreateTextFields( std::list< Reference< 
XTextField > > & aFields,
 break;
 case 10: // Time H:MM
 bIsDate = false;
+nNumFmt = 3;
+xProps->setPropertyValue("NumberFormat", makeAny(nNumFmt));
 break;
 case 11: // Time H:MM:SS
 bIsDate = false;
 // this is the default format
+nNumFmt = 2;
+xProps->setPropertyValue("NumberFormat", makeAny(nNumFmt));
 break;
 case 12: // Time H:MM PM
 bIsDate = false;
+nNumFmt = 6;
+xProps->setPropertyValue("NumberFormat", makeAny(nNumFmt));
 break;
 case 13: // Time H:MM:SS PM
 bIsDate = false;
+nNumFmt = 7;
+xProps->setPropertyValue("NumberFormat", makeAny(nNumFmt));
 break;
+default:
+nNumFmt = 2;
+xProps->setPropertyValue("NumberFormat", makeAny(nNumFmt));
 }
 xProps->setPropertyValue( "IsDate", makeAny( bIsDate ) );
 xProps->setPropertyValue( "IsFixed", makeAny( false ) );
@@ -190,4 +205,4 @@ sal_Int32 TextField::insertAt(
 
 } }
 
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file
diff --git a/sd/qa/unit/data/odp/numfmt.odp b/sd/qa/unit/data/odp/numfmt.odp
new file mode 100644
index 000..6fd32ce
Binary files /dev/null and b/sd/qa/unit/data/odp/numfmt.odp differ
diff --git a/sd/qa/unit/data/pptx/numfmt.pptx b/sd/qa/unit/data/pptx/numfmt.pptx
new file mode 100755
index 000..aca6927
Binary files /dev/null and b/sd/qa/unit/data/pptx/numfmt.pptx differ
diff --git a/sd/qa/unit/export-tests.cxx b/sd/qa/unit/export-tests.cxx
index 211cff2..17ecbd2 100644
--- a/sd/qa/unit/export-tests.cxx
+++ b/sd/qa/unit/export-tests.cxx
@@ -137,6 +137,8 @@ public:
 void testParaMarginAndindentation();
 void testTransparentBackground();
 void testExportTransitionsPPTX();
+void testDatetimeFieldNumberFormat();
+void testDatetimeFieldNumberFormatPPTX();
 
 void testFdo90607();
 void testTdf91378();
@@ -188,6 +190,8 @@ public:
 
 CPPUNIT_TEST(testExportTransitionsPPTX);
 CPPUNIT_TEST(testTdf92527);
+CPPUNIT_TEST(testDatetimeFieldNumberFormat);
+CPPUNIT_TEST(testDatetimeFieldNumberFormatPPTX);
 
 CPPUNIT_TEST_SUITE_END();
 
@@ 

[Libreoffice-bugs] [Bug 97375] Impress crashes in text selection

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97375

Julien Nabet  changed:

   What|Removed |Added

   Keywords||haveBacktrace
 Status|UNCONFIRMED |NEW
 CC||caol...@redhat.com
 Ever confirmed|0   |1

--- Comment #6 from Julien Nabet  ---
Caolan: thought you might be interested in this one since the crash is only
reproduceable with gtk not with gen.
However I must recognize that my last update is
f4544d3c95bac8f3203235f8482ecb435545b887 and I know you've worked today on gtk
part, so I'll give it a new try after having updated.

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


[Libreoffice-bugs] [Bug 97365] HTML Clipboard issues in Base, Calc

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97365

Joel Madero  changed:

   What|Removed |Added

 CC||jmadero@gmail.com

--- Comment #1 from Joel Madero  ---
Can Bug 97364 be closed as a dupe of this one ? Is one giving a separate bug?

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


[Libreoffice-bugs] [Bug 97207] Apply multiple autocorrection rules at once

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97207

--- Comment #4 from nem...@hotmail.com ---
Spamming ? 
By asking 6 day ago ?
Tshpamangsi

I report a bug, 
I'm not rich, 
I can't pay a developer pro fixing the featune 
that should already be perfect.
And not problematic.
Shorry.

Ʒood day.
Kanth you.

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


[Libreoffice-bugs] [Bug 97207] Apply multiple autocorrection rules at once

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97207

Joel Madero  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||jmadero@gmail.com
 Ever confirmed|0   |1

--- Comment #3 from Joel Madero  ---
Spamming bugzilla is not the way to get attention to your bug. I don't think
you understand the scale of this project. The project has 10k+ reported bugs,
we have a few dozen really active VOLUNTEER developers and an even smaller QA
team (confirming bugs). Thus, things take time (and sometimes *never happen*
even if a valid request).

Take a look at the bug list - some bugs have been around for years with little
or no comment...please learn to accept that. If you're not willing to, then
consider paying a certified developer to fix your pet bugs.

That being said - the bug report isn't clear at all. If you're struggling with
the English reports I suggest going to your locale mailing list and asking for
help. Furthermore, please provide much cleaner instructions - as this is what
is completely in your control to help us (the saying here is "help us help
you"). Marking as NEEDINFO. Once you clarify please set to UNCONFIRMED. Thank
you

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


[Libreoffice-bugs] [Bug 97370] System=level definition of Ctrl+Alt+letter key combination on Polish (PLP) keyboard ignored by Writer

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97370

--- Comment #5 from Joel Madero  ---
Ah one thing that can be tried if you have the time is to test current master
release (maybe the bug is already fixed :) ):


http://dev-builds.libreoffice.org/daily/master/Win-x86_64@62-TDF/current/

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


[Libreoffice-bugs] [Bug 97374] FILEOPEN: Impress crashes loading a file with Page Title field

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97374

Joel Madero  changed:

   What|Removed |Added

   Keywords||bibisectRequest

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


[Libreoffice-bugs] [Bug 70998] Termchange: Graphic/Picture -> Image

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=70998

Akshay Deep  changed:

   What|Removed |Added

   Assignee|akshaydeepi...@gmail.com|libreoffice-b...@lists.free
   ||desktop.org

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


[Bug 70998] Termchange: Graphic/Picture -> Image

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=70998

Akshay Deep  changed:

   What|Removed |Added

   Assignee|akshaydeepi...@gmail.com|libreoffice-b...@lists.free
   ||desktop.org

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


[Libreoffice-bugs] [Bug 97400] Table of Contents does not display any content, but rather just the title "Table of Contents"

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97400

Cor Nouws  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||c...@nouenoff.nl
 Ever confirmed|0   |1

--- Comment #1 from Cor Nouws  ---
Hi James,

Thanks for your report.
Can you please attach a test document?

Cheers - Cor

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


[Libreoffice-bugs] [Bug 97374] FILEOPEN: Impress crashes loading a file with Page Title field

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97374

Julien Nabet  changed:

   What|Removed |Added

   Keywords||haveBacktrace, regression
   Priority|medium  |high
 Status|NEEDINFO|NEW
   Severity|normal  |major

--- Comment #3 from Julien Nabet  ---
With LO Debian package 5.0.5.1, I don't reproduce this with a brand new file.
I also tested to open the file generated from 5.0.5.1 with master sources
build, I got a crash too.
=> regression => increase importance

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


[Libreoffice-bugs] [Bug 97401] MRI 1.2.1 not working any more

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97401

--- Comment #3 from Maxim Monastirsky  ---
(In reply to tim from comment #1)
> It seems Xray is similarly not working with Libreoffice.
FYI Xray does work for me with 5.1.0.2.

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


[Libreoffice-bugs] [Bug 47914] Enhancement Request: Please add Laplace symbol

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=47914

--- Comment #5 from Stephen  ---
Please also add the Fourier Transform symbol also.

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


[Libreoffice-bugs] [Bug 97379] Can not open .docx generated by BDoc

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97379

--- Comment #6 from Urmas  ---
Because validating archive correctness is beyond the scope of LO. As long as
there is no physical corruption, document should be opened.

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


[Libreoffice-bugs] [Bug 97365] HTML Clipboard issues in Base, Calc

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97365

--- Comment #2 from Urmas  ---
Those are two bugs in separate components.

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


[Libreoffice-bugs] [Bug 94865] MENU: Duplicate accelerators in en_US version

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94865

Akshay Deep  changed:

   What|Removed |Added

   Assignee|akshaydeepi...@gmail.com|libreoffice-b...@lists.free
   ||desktop.org

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


[Libreoffice-bugs] [Bug 94865] MENU: Duplicate accelerators in en_US version

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94865

Akshay Deep  changed:

   What|Removed |Added

 Status|ASSIGNED|NEW

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


[Bug 94865] MENU: Duplicate accelerators in en_US version

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94865

Akshay Deep  changed:

   What|Removed |Added

 Status|ASSIGNED|NEW

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


[Libreoffice-bugs] [Bug 87743] Pack LibreOffice for PlayOnLinux for QA

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87743

Gouchi  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |gou...@free.fr
   |desktop.org |

--- Comment #12 from Gouchi  ---
Assigned to myself. 

Please find in attachment a script to install LibreOffice with PlayOnLinux:

- Fixed the crash with LibreOffice version 4.
- Support Local/Download installation for LibreOffice Fresh and Still.

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


[Libreoffice-bugs] [Bug 70998] Termchange: Graphic/Picture -> Image

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=70998

Akshay Deep  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |akshaydeepi...@gmail.com
   |desktop.org |

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


[Bug 70998] Termchange: Graphic/Picture -> Image

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=70998

Akshay Deep  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |akshaydeepi...@gmail.com
   |desktop.org |

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


[Libreoffice-bugs] [Bug 97207] Apply multiple autocorrection rules at once

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97207

--- Comment #6 from nem...@hotmail.com ---
Kanth you
Knath you
Tʰang you
Rêmcy
Pro all yovr ex‑plana‑thi‑ônë,
and pro shar‑ang yovr know‑lédgë with mé.
Shorry, 
I'm an sim‑plë handi‑cap‑ed man,
I have only 550€ each mônth, in Bélgi‑um, 
whên lëwêl of povërty is 1080€ each mônth.
If I was billi‑ônarië, I will givë you a lothë...
And finanthë yovr värkë.

Qânth you any way.

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


[Libreoffice-bugs] [Bug 97404] Outline Spacing Wrong on 2nd Level

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97404

Joel Madero  changed:

   What|Removed |Added

Summary|Outline Spacing Wrong on|Outline Spacing Wrong on
   |3rd Level   |2nd Level

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


[Libreoffice-bugs] [Bug 97404] Outline Spacing Wrong on 3rd Level

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97404

Joel Madero  changed:

   What|Removed |Added

   Keywords||regression
 CC||jmadero@gmail.com

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


[Libreoffice-bugs] [Bug 97378] Impossible adjust width in column of a table grid form.

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97378

Jesus  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #2 from Jesus  ---
Thanks Joel,
I'm sorry.
True. Now I can change the column width.
The issue has been raised with me because in the previous version that was done
directly in edit mode.
Now it is only possible leaving the edit mode (Form Controls toolbar), once the
form has been opened in edit mode.

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


[Libreoffice-bugs] [Bug 97125] Please update bundled German dictionaries extension to version 2015-12-28

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97125

Thorsten Behrens  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||t...@libreoffice.org
 Ever confirmed|0   |1

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


[Libreoffice-bugs] [Bug 97170] OpenCL Hangs Calc When Open Spreadsheet with Simple Formula

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97170

--- Comment #15 from Kevin Suo  ---
(In reply to Tor Lillqvist from comment #11)
> It seems that LibreOffice is using the OpenCL implementation in that Intel 
> OpenCL SDK and not from your device drivers. 
> It is in that code that the crash (or hang) is happening when you take the 
> windbg backtrace.

That may be true, but how come it doesn't crash when I install version 5.1.0.1
on the same machine, with the same Intel OpenCL SDK?

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


[Libreoffice-bugs] [Bug 97396] Impress of LibreOffice 5.1.0.2 crashes when running presentations created with earlier versions

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97396

--- Comment #4 from Joel Madero  ---
Bodhi Moksha
LibreOffice Version: 5.2.0.0.alpha0+
Build ID: d95d9d7f908419f397941ef60ac6ced3261c9b87
CPU Threads: 2; OS Version: Linux 3.16; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time:
2016-01-19_00:40:21
Locale: en-US (en_US.UTF-8)


No Crash

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


[Libreoffice-bugs] [Bug 97396] Impress of LibreOffice 5.1.0.2 crashes when running presentations created with earlier versions

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97396

Wolfgang  changed:

   What|Removed |Added

 CC||asfk-heinr...@web.de

--- Comment #3 from Wolfgang  ---
Created attachment 122244
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122244=edit
Impress presentaation produces with LO 4.x crashing

after crashing repeatedly in LO 5.1.0.2 at slide 3 it ran smootly with LO
Portable 4.x

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


[Libreoffice-bugs] [Bug 97396] Impress of LibreOffice 5.1.0.2 crashes when running presentations created with earlier versions

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97396

Wolfgang  changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

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


[Bug 97361] Make unittests more pythonic

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97361

--- Comment #1 from Dhruv Khattar  ---
Hey, I would like to work on this issue.
Can you tell me what to do?

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


[Libreoffice-bugs] [Bug 97361] Make unittests more pythonic

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97361

--- Comment #1 from Dhruv Khattar  ---
Hey, I would like to work on this issue.
Can you tell me what to do?

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


[Libreoffice-bugs] [Bug 97170] OpenCL Hangs Calc When Open Spreadsheet with Simple Formula

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97170

--- Comment #14 from Kevin Suo  ---
Created attachment 122246
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122246=edit
Screenshot: Intel OpenCL SDK 2.0 on my OS

> Is that "Intel\OpenCL SDK\2.0" I see in your windbg log some software you 
> have intentionally installed, separately? How old is that?

See attached, it seems that the "Intel SDK for OpenCL - CPU Only Runtime
Package Version 2.0.0.37149" was installed when I was installing the Intel
Driver Update Utility.

> if you run the clinfo command (on the command line), what does it output? 
I run Windows 10, seems there is no clinfo command under windows.

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


[Libreoffice-bugs] [Bug 97170] OpenCL Hangs Calc When Open Spreadsheet with Simple Formula

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97170

Kevin Suo  changed:

   What|Removed |Added

 Whiteboard|tooLateNowWillTestTomorrow  |

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


[Libreoffice-bugs] [Bug 96879] backspace not working

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=96879

tommy27  changed:

   What|Removed |Added

 CC||ba...@quipo.it

--- Comment #3 from tommy27  ---
the same happened to a friend of mine with LibO 5.0.4.2 on a Win7 machine
I'll check if your solution can fix his problem too

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


[Bug 82335] Register LibreOffice for Kingsoft Office file types

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=82335

--- Comment #23 from Dhruv Khattar  ---
Hey, I am a newbie and it's my first bug, so please can you help me through and
tell me what changes are to be made.

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


[Libreoffice-bugs] [Bug 82335] Register LibreOffice for Kingsoft Office file types

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=82335

--- Comment #23 from Dhruv Khattar  ---
Hey, I am a newbie and it's my first bug, so please can you help me through and
tell me what changes are to be made.

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


[Libreoffice-bugs] [Bug 97170] OpenCL Hangs Calc When Open Spreadsheet with Simple Formula

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97170

--- Comment #16 from Tor Lillqvist  ---
> That may be true, but how come it doesn't crash when I install version
> 5.1.0.1 on the same machine, with the same Intel OpenCL SDK?

Obviously the calls made to OpenCL APIs and the parameters passed to them
differ between LibreOffice versions.

A driver or system level library, like OpenCL, is not supposed to crash, no
matter if you pass it expected or bogus parameters.

Can you figure out if this "OpenCL SDK 2.0" is just a misleading name, and the
files in there actually are as new as you would expect, if you just installed
fresh Intel drivers? Or are the DLLs in there, that show up in the windbg
output, really from 2014? What happens if you install the "Intel® SDK for
OpenCL™ Applications 2016" instead?

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


[Libreoffice-bugs] [Bug 97404] New: Outline Spacing Wrong on 3rd Level

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97404

Bug ID: 97404
   Summary: Outline Spacing Wrong on 3rd Level
   Product: LibreOffice
   Version: 5.2.0.0.alpha0+ Master
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: jmadero@gmail.com

Created attachment 122245
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122245=edit
Shows Problem

Tested on: 
Bodhi Moksha

Problem on:
Version: 5.2.0.0.alpha0+
Build ID: 182375f7a90ca53919fd2892f7856aee4d678dd0
CPU Threads: 2; OS Version: Linux 3.16; UI Render: default; 
Locale: en-US (en_US.UTF-8)

No Problem on:
Version: 5.2.0.0.alpha0+
Build ID: d95d9d7f908419f397941ef60ac6ced3261c9b87
CPU Threads: 2; OS Version: Linux 3.16; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time:
2016-01-19_00:40:21
Locale: en-US (en_US.UTF-8)


[regression - relatively recent, build is from yesterday so problem from last 8
days]

+

Steps:
1) Turn on bullets
2) Right click -> bullets and numbering
3) Position Tab;
4) Level (1-10)
5) Number Followed By: Space
6) Outline Tab;
8) Bottom left option (I., A., i., a), bullet)
9) Push ok;
10) Write three levels worth of text ("test" [enter][tab]; "test" [enter][tab];
"test

Observed: Second level goes way too far to the right so tab space between
second level("A. test") and third level ("i. Test") is not sufficient.

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


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

2016-01-27 Thread Noel Grandin
 vcl/source/filter/sgvspln.cxx |7 ---
 vcl/source/gdi/pdfwriter_impl.cxx |2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

New commits:
commit 556ce647aacc635ea05bd6d6e030d93d341b5624
Author: Noel Grandin 
Date:   Mon Jan 25 13:33:17 2016 +0200

loplugin:fpcomparison in vcl/

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

diff --git a/vcl/source/filter/sgvspln.cxx b/vcl/source/filter/sgvspln.cxx
index 84e65e3..40f168a 100644
--- a/vcl/source/filter/sgvspln.cxx
+++ b/vcl/source/filter/sgvspln.cxx
@@ -19,6 +19,7 @@
 
 #include 
 #include 
+#include 
 
 #include 
 #include 
@@ -498,7 +499,7 @@ sal_uInt16 PeriodicSpline(sal_uInt16 n, double* x, double* 
y,
 if (n<2) return 4;
 nm1=n-1;
 for (i=0;i<=nm1;i++) if (x[i+1]<=x[i]) return 2; // should be strictly 
monotonically decreasing!
-if (y[n]!=y[0]) return 3; // begin and end should be equal!
+if (!rtl::math::approxEqual(y[n],y[0])) return 3; // begin and end should 
be equal!
 
 a.reset(new double[n+1]);
 lowrow.reset(new double[n+1]);
@@ -577,8 +578,8 @@ sal_uInt16 ParaSpline(sal_uInt16 n, double* x, double* y, 
sal_uInt8 MargCond,
 alphY=Marg02; betY=MargN2;
 } break;
 case 3: {
-if (x[n]!=x[0]) return 3;
-if (y[n]!=y[0]) return 4;
+if (!rtl::math::approxEqual(x[n],x[0])) return 3;
+if (!rtl::math::approxEqual(y[n],y[0])) return 4;
 } break;
 case 4: {
 if (std::abs(Marg01)>=MAXROOT) {
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx 
b/vcl/source/gdi/pdfwriter_impl.cxx
index 53e52f1..d785012 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -878,7 +878,7 @@ static void appendDouble( double fValue, OStringBuffer& 
rBuffer, sal_Int32 nPrec
 sal_Int64 nInt = (sal_Int64)fValue;
 fValue -= (double)nInt;
 // optimizing hardware may lead to a value of 1.0 after the subtraction
-if( fValue == 1.0 || log10( 1.0-fValue ) <= -nPrecision )
+if( rtl::math::approxEqual(fValue, 1.0) || log10( 1.0-fValue ) <= 
-nPrecision )
 {
 nInt++;
 fValue = 0.0;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-01-27 Thread Noel Grandin
 svx/source/customshapes/EnhancedCustomShapeFontWork.cxx |2 +-
 svx/source/dialog/framelink.cxx |   16 
 svx/source/toolbars/extrusionbar.cxx|8 
 3 files changed, 13 insertions(+), 13 deletions(-)

New commits:
commit c06238f28209402a9cbcc2471dd713de0db0fb4b
Author: Noel Grandin 
Date:   Mon Jan 25 13:33:39 2016 +0200

loplugin:fpcomparison in svx/

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

diff --git a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx 
b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
index 55d95ee..0e33369 100644
--- a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
+++ b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
@@ -616,7 +616,7 @@ void GetPoint( const tools::Polygon& rPoly, const 
std::vector< double >& rDistan
 const Point& rPt = rPoly[ nIdx ];
 fx1 = rPt.X();
 fy1 = rPt.Y();
-if ( nIdx && ( aIter != rDistances.end() ) && ( *aIter != fX ) )
+if ( nIdx && ( aIter != rDistances.end() ) && !rtl::math::approxEqual( 
*aIter, fX ) )
 {
 nIdx = sal::static_int_cast( std::distance( 
rDistances.begin(), aIter ) );
 double fDist0 = *( aIter - 1 );
diff --git a/svx/source/dialog/framelink.cxx b/svx/source/dialog/framelink.cxx
index 43bb94a..3938701 100644
--- a/svx/source/dialog/framelink.cxx
+++ b/svx/source/dialog/framelink.cxx
@@ -371,7 +371,7 @@ void lclLinkLeftEnd_Single(
 // both vertical frame borders are double
 if( rLFromT.Secn() && rLFromB.Secn() )
 {
-rResult.mnOffs1 = (!rLFromTR.Secn() && !rLFromBR.Secn() && 
(rLFromT.GetWidth() == rLFromB.GetWidth())) ?
+rResult.mnOffs1 = (!rLFromTR.Secn() && !rLFromBR.Secn() && 
rtl::math::approxEqual(rLFromT.GetWidth(), rLFromB.GetWidth())) ?
 // don't overdraw vertical borders with equal width
 lclGetBehindEnd( rLFromT ) :
 // take leftmost start of both secondary lines (#46488#)
@@ -379,14 +379,14 @@ void lclLinkLeftEnd_Single(
 }
 
 // single border with equal width coming from left
-else if( !rLFromL.Secn() && (rLFromL.Prim() == rBorder.Prim()) )
+else if( !rLFromL.Secn() && rtl::math::approxEqual(rLFromL.Prim(), 
rBorder.Prim()) )
 // draw to connection point
 rResult.mnOffs1 = 0;
 
 // single border coming from left
 else if( !rLFromL.Secn() && rLFromL.Prim() )
 {
-if( rLFromL.Prim() == rBorder.Prim() )
+if( rtl::math::approxEqual(rLFromL.Prim(), rBorder.Prim()) )
 // draw to reference position, if from left has equal width
 rResult.mnOffs1 = 0;
 else
@@ -400,7 +400,7 @@ void lclLinkLeftEnd_Single(
 // no border coming from left
 else if( !rLFromL.Prim() )
 // don't overdraw vertical borders with equal width
-rResult.mnOffs1 = (rLFromT.GetWidth() == rLFromB.GetWidth()) ?
+rResult.mnOffs1 = rtl::math::approxEqual(rLFromT.GetWidth(), 
rLFromB.GetWidth()) ?
 lclGetBehindEnd( rLFromT ) :
 std::min( lclGetBeg( rLFromT ), lclGetBeg( rLFromB ) );
 
@@ -457,7 +457,7 @@ void lclLinkLeftEnd_Prim(
 // double frame border coming from left (from top is not double)
 else if( rLFromL.Secn() )
 // do not overdraw single frame border coming from top
-rResult.mnOffs1 = (rLFromL.GetWidth() == rBorder.GetWidth()) ?
+rResult.mnOffs1 = rtl::math::approxEqual(rLFromL.GetWidth(), 
rBorder.GetWidth()) ?
 0 : lclGetBehindEnd( rLFromT );
 
 // double frame border coming from bottom (from top and from left are 
not double)
@@ -500,7 +500,7 @@ void lclLinkLeftEnd_Gap(
 if ( rLFromT.Secn() )
 rResult.mnOffs1 = lclGetDistBeg( rLFromT );
 else if ( rLFromL.Secn( ) )
-rResult.mnOffs1 = ( rLFromL.GetWidth() == rBorder.GetWidth() )?
+rResult.mnOffs1 = rtl::math::approxEqual( rLFromL.GetWidth(), 
rBorder.GetWidth() ) ?
 0 : lclGetBehindEnd( rLFromT );
 else if ( rLFromB.Secn( ) )
 rResult.mnOffs1 = lclGetDistBeg( rLFromB );
@@ -1284,13 +1284,13 @@ bool operator<( const Style& rL, const Style& rR )
 // different total widths -> rL rL rL

[Libreoffice-bugs] [Bug 97374] FILEOPEN: Impress crashes loading a file with Page Title field

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97374

Julien Nabet  changed:

   What|Removed |Added

 CC||serval2...@yahoo.fr

--- Comment #2 from Julien Nabet  ---
Created attachment 122240
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122240=edit
bt with debug symbols

On pc Debian x86-64 with master sources updated today (+dbgutil), I reproduced
the crash from the reporter's file and from a brand new file following initial
description.

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


[Libreoffice-bugs] [Bug 97370] System=level definition of Ctrl+Alt+letter key combination on Polish (PLP) keyboard ignored by Writer

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97370

Joel Madero  changed:

   What|Removed |Added

   Keywords||bibisectRequest, regression
Version|unspecified |5.0.4.1 rc

--- Comment #4 from Joel Madero  ---
Glad that you have a temporary fix. The issue is that this is really really
niche problem so it's going to not only be hard to confirm but also hard to
find someone to fix itI'll think about possible solutions.

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


[Bug 87743] Pack LibreOffice for PlayOnLinux for QA

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87743

Gouchi  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |gou...@free.fr
   |desktop.org |

--- Comment #12 from Gouchi  ---
Assigned to myself. 

Please find in attachment a script to install LibreOffice with PlayOnLinux:

- Fixed the crash with LibreOffice version 4.
- Support Local/Download installation for LibreOffice Fresh and Still.

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


[Libreoffice-bugs] [Bug 87743] Pack LibreOffice for PlayOnLinux for QA

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87743

--- Comment #11 from Gouchi  ---
Created attachment 122241
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122241=edit
PlayOnLinux LibreOffice installation script

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


[Bug 87743] Pack LibreOffice for PlayOnLinux for QA

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87743

--- Comment #11 from Gouchi  ---
Created attachment 122241
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122241=edit
PlayOnLinux LibreOffice installation script

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


[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.0' - filter/source

2016-01-27 Thread Marco Cecchetti
 filter/source/svg/presentation_engine.js |   86 ++-
 1 file changed, 85 insertions(+), 1 deletion(-)

New commits:
commit 840ad19b6409070bfb27b7644cec7cae86aa5d3c
Author: Marco Cecchetti 
Date:   Wed Jan 27 23:32:05 2016 +0100

svg export - skip/rewind slide transition

The following actions messed up the animation engine if they were
performed while a slide transition was running:

- rewind/skip currect playing effect (Left/Right key)
- rewind last/skip next effect (Up/Down key)
- rewind/skip all effect (PgUp/PgDown key)
- jump to first/last slide (Home/End key)

Now:
- Left/Up/PgUp key:  rewind slide transition
- Right/Down key:skip slide transition
- PgDown key:skip slide transition and all new slide effects
- Home key:  skip slide transition and jump to first slide
- End key:   skip slide transition and jump to last slide

Moreover the parsing of transition node properties missed to report some
type of not supported transitions which caused the animation engine to
hung.

Change-Id: I7018b8e8fb3041a95cc80e250431b6544c875e98

diff --git a/filter/source/svg/presentation_engine.js 
b/filter/source/svg/presentation_engine.js
index d2afe9c..4432ddf 100644
--- a/filter/source/svg/presentation_engine.js
+++ b/filter/source/svg/presentation_engine.js
@@ -9740,6 +9740,7 @@ SlideTransition.prototype.createSlideTransition = 
function( aLeavingSlide, aEnte
 
 SlideTransition.prototype.parseElement = function()
 {
+this.bIsValid = true;
 var aAnimElem = this.aElement;
 
 // type attribute
@@ -9751,6 +9752,7 @@ SlideTransition.prototype.parseElement = function()
 }
 else
 {
+this.bIsValid = false;
 log( 'SlideTransition.parseElement: transition type not valid: ' + 
sTypeAttr );
 }
 
@@ -9762,13 +9764,19 @@ SlideTransition.prototype.parseElement = function()
 if( sSubTypeAttr && ( aTransitionSubtypeInMap[ sSubTypeAttr ] !== 
undefined ) )
 {
 this.eTransitionSubType = aTransitionSubtypeInMap[ sSubTypeAttr ];
-this.bIsValid = true;
 }
 else
 {
+this.bIsValid = false;
 log( 'SlideTransition.parseElement: transition subtype not valid: ' + 
sSubTypeAttr );
 }
 
+if( this.bIsValid && 
aTransitionInfoTable[this.eTransitionType][this.eTransitionSubType] === 
undefined )
+{
+this.bIsValid = false;
+log( 'SlideTransition.parseElement: transition not valid: type: ' + 
sTypeAttr + ' subtype: ' + sSubTypeAttr );
+}
+
 // direction attribute
 this.bReverseDirection = false;
 var sDirectionAttr = aAnimElem.getAttributeNS( NSS['smil'], 'direction' );
@@ -12271,6 +12279,7 @@ function SlideShow()
 this.bIsIdle = true;
 this.bIsEnabled = true;
 this.bNoSlideTransition = false;
+this.bIsTransitionRunning = false;
 
 this.nCurrentEffect = 0;
 this.bIsNextEffectRunning = false;
@@ -12357,6 +12366,11 @@ SlideShow.prototype.isRunning = function()
 return !this.bIsIdle;
 };
 
+SlideShow.prototype.isTransitionPlaying = function()
+{
+return this.bIsTransitionRunning;
+};
+
 SlideShow.prototype.isMainEffectPlaying = function()
 {
 return this.bIsNextEffectRunning;
@@ -12438,6 +12452,17 @@ SlideShow.prototype.notifyTransitionEnd = function( 
nSlideIndex )
 theMetaDoc.getCurrentSlide().slideElement.setAttribute('clip-path', 
sRef);
 }
 
+this.bIsTransitionRunning = false;
+if( this.bIsRewinding )
+{
+theMetaDoc.aMetaSlideSet[nSlideIndex].hide();
+var nIndex = nCurSlide !== undefined ? nCurSlide : -1;
+this.displaySlide( nIndex, true );
+this.skipAllEffects();
+this.bIsRewinding = false;
+return;
+}
+
 theMetaDoc.setCurrentSlide(nSlideIndex);
 
 if( this.aSlideViewElement )
@@ -12486,6 +12511,12 @@ SlideShow.prototype.nextEffect = function()
 if( !this.isEnabled() )
 return false;
 
+if( this.isTransitionPlaying() )
+{
+this.skipTransition();
+return true;
+}
+
 if( this.isAnyEffectPlaying() )
 {
 this.skipAllPlayingEffects();
@@ -12506,6 +12537,23 @@ SlideShow.prototype.nextEffect = function()
 return true;
 };
 
+/** skipTransition
+ *  Skip the current playing slide transition.
+ */
+SlideShow.prototype.skipTransition  = function()
+{
+if( this.bIsSkipping || this.bIsRewinding )
+return;
+
+this.bIsSkipping = true;
+
+this.aActivityQueue.endAll();
+this.aTimerEventQueue.forceEmpty();
+this.aActivityQueue.endAll();
+this.update();
+this.bIsSkipping = false;
+};
+
 /** skipAllPlayingEffects
  *  Skip all playing effect, independently to which animation sequence they
  *  belong.
@@ -12576,6 +12624,12 @@ SlideShow.prototype.skipNextEffect = function()
  */
 SlideShow.prototype.skipPlayingOrNextEffect = function()
 {
+

[Libreoffice-bugs] [Bug 97403] New: Clicking document won't open without further input.

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97403

Bug ID: 97403
   Summary: Clicking document won't open without further input.
   Product: LibreOffice
   Version: unspecified
  Hardware: x86-64 (AMD64)
OS: Mac OS X (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: nospa...@gmail.com

Reproduce:
1. Create blank odt on desktop.
2. Completely close LibreOffice (nothing in dock).
3. Double click odt file WITHOUT moving mouse or hitting a key. Doc will not
come up until mouse mouse/touch trackpad/hit key.

Alternate reproduce.
1. Create blank odt on desktop.
2. Completely close LibreOffice (nothing in dock).
3. Open terminal and type: open  and hit return (NOTHING ELSE). Doc
will not come up until mouse mouse/touch trackpad/hit key.

HOWEVER:
1. Create blank odt on desktop.
2. Completely close LibreOffice (nothing in dock).
3. Open terminal and type: /Applications/LibreOffice.app/Contents/MacOS/soffice
 does not produce same behavior. Doc will come up.

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


Re: Call for help - understanding how to debug sw module

2016-01-27 Thread Chris Sherlock
Hey guys, 

I know a few people have built on a Retina based Mac and haven’t had this issue…

Any ideas why this might be occurring?

Chris

> On 22 Jan 2016, at 11:07 AM, Chris Sherlock  
> wrote:
> 
> Hi all, 
> 
> I’m getting an error that never appears to any of the OS X buildbots or 
> tinderboxes. I suspect that it has something to do with the fact that I have 
> a Retina iMac. 
> 
> Basically, the unit test that is failing is in CppunitTest_sw_ooxmlimport:
> 
> Test name: testGroupshapeChildRotation::Import
> equality assertion failed
> - Expected: 686
> - Actual  : 688
> 
> Failures !!!
> Run: 208   Failure total: 1   Failures: 1   Errors: 0
> 
> I’ve got an Ubuntu pastebin of the error here:
> 
> http://paste.ubuntu.com/14593673/
> 
> Can anyone give me any pointer on how I would even *start* to troubleshoot 
> this? A good start is a pointer to the code that this actually runs, because 
> whilst I can read the test code, I have no knowledge of sw whatsoever and I’d 
> like to know where in the code the size is failing on my machine. 
> 
> Thanks in advance for any help!
> 
> Chris

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


[Libreoffice-bugs] [Bug 91324] Embedded Firebird - Current_Date gives wrong date back

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91324

--- Comment #4 from Terrence Enger  ---
Created attachment 122243
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122243=edit
Firebird isql returns correct values

Just a couple more observations ...

(*) Embedded HSQLDB seems not to have this affliction.

(*) Firebird isql returns correct values for current_date,
current_time, and current_timestamp.  I conclude that the problem
is in LibreOffice.

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


[Bug 36466] Copying Visible Cells Only

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=36466

Stephan Bergmann  changed:

   What|Removed |Added

 CC|libreoffice@lists.freedeskt |
   |op.org  |

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


[Libreoffice-bugs] [Bug 95897] LO Writer causing crashes when highlighting

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95897

Jean-Baptiste Faure  changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #6 from Jean-Baptiste Faure  ---
(In reply to Rach from comment #5)
> After updating to Ubuntu 15.4 and LO 5.0.3.2 and selecting Force OpenGL even
> if blacklisted, under tools>options>view. The hanging is no longer a problem

Ok, thank you for the reply. Closing as WorksForMe because we do not know what
solved the issue. Feel free to reopen if the problem comes back.

Best regards. JBF

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


[Libreoffice-commits] core.git: desktop/inc desktop/source include/LibreOfficeKit libreofficekit/source

2016-01-27 Thread Michael Stahl
 desktop/inc/lib/init.hxx |7 +++
 desktop/source/lib/init.cxx  |9 +
 desktop/source/lib/lokinteractionhandler.cxx |   19 ---
 include/LibreOfficeKit/LibreOfficeKit.h  |4 
 include/LibreOfficeKit/LibreOfficeKit.hxx|   10 ++
 include/LibreOfficeKit/LibreOfficeKitEnums.h |   26 ++
 libreofficekit/source/gtk/lokdocview.cxx |2 ++
 7 files changed, 70 insertions(+), 7 deletions(-)

New commits:
commit 23a0ee3c01c3588472e1c19605909d6b9401253c
Author: Michael Stahl 
Date:   Tue Jan 26 15:35:42 2016 +0100

libreofficekit: password interaction optional and off by default

Add setOptionalFeatures() function that clients must call during
initialization, and enum LibreOfficeKitOptionalFeatures.

Change-Id: I73035193c87033052921c3aad94fdc057fe8
Reviewed-on: https://gerrit.libreoffice.org/21809
Reviewed-by: Jan Holesovsky 
Tested-by: Jan Holesovsky 

diff --git a/desktop/inc/lib/init.hxx b/desktop/inc/lib/init.hxx
index ee598a0..d077297 100644
--- a/desktop/inc/lib/init.hxx
+++ b/desktop/inc/lib/init.hxx
@@ -11,6 +11,7 @@
 #define INCLUDED_DESKTOP_INC_LIB_INIT_HXX
 
 #include 
+#include 
 #include 
 #include 
 #include 
@@ -39,10 +40,16 @@ namespace desktop {
 oslThread maThread;
 LibreOfficeKitCallback mpCallback;
 void *mpCallbackData;
+int64_t mOptionalFeatures;
 std::map 
mInteractionMap;
 
 LibLibreOffice_Impl();
 ~LibLibreOffice_Impl();
+
+bool hasOptionalFeature(LibreOfficeKitOptionalFeatures const feature)
+{
+return (mOptionalFeatures & feature) != 0;
+}
 };
 }
 
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 88b5d1f..eecb16a 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -427,6 +427,7 @@ static voidlo_registerCallback 
(LibreOfficeKit* pThis,
 LibreOfficeKitCallback 
pCallback,
 void* pData);
 static char* lo_getFilterTypes(LibreOfficeKit* pThis);
+static void lo_setOptionalFeatures(LibreOfficeKit* pThis, uint64_t features);
 static voidlo_setDocumentPassword(LibreOfficeKit* pThis,
const char* pURL,
const char* pPassword);
@@ -436,6 +437,7 @@ LibLibreOffice_Impl::LibLibreOffice_Impl()
 , maThread(nullptr)
 , mpCallback(nullptr)
 , mpCallbackData(nullptr)
+, mOptionalFeatures(0)
 {
 if(!m_pOfficeClass) {
 m_pOfficeClass.reset(new LibreOfficeKitClass);
@@ -448,6 +450,7 @@ LibLibreOffice_Impl::LibLibreOffice_Impl()
 m_pOfficeClass->documentLoadWithOptions = lo_documentLoadWithOptions;
 m_pOfficeClass->registerCallback = lo_registerCallback;
 m_pOfficeClass->getFilterTypes = lo_getFilterTypes;
+m_pOfficeClass->setOptionalFeatures = lo_setOptionalFeatures;
 m_pOfficeClass->setDocumentPassword = lo_setDocumentPassword;
 
 gOfficeClass = m_pOfficeClass;
@@ -1619,6 +1622,12 @@ static char* lo_getFilterTypes(LibreOfficeKit* pThis)
 return strdup(aStream.str().c_str());
 }
 
+static void lo_setOptionalFeatures(LibreOfficeKit* pThis, uint64_t const 
features)
+{
+LibLibreOffice_Impl *const pLib = static_cast(pThis);
+pLib->mOptionalFeatures = features;
+}
+
 static void lo_setDocumentPassword(LibreOfficeKit* pThis,
 const char* pURL, const char* pPassword)
 {
diff --git a/desktop/source/lib/lokinteractionhandler.cxx 
b/desktop/source/lib/lokinteractionhandler.cxx
index 5f125c3..ea872ea 100644
--- a/desktop/source/lib/lokinteractionhandler.cxx
+++ b/desktop/source/lib/lokinteractionhandler.cxx
@@ -89,16 +89,21 @@ throw (uno::RuntimeException, std::exception)
 task::DocumentPasswordRequest2 passwordRequest;
 if (request >>= passwordRequest)
 {
-OString const url(passwordRequest.Name.toUtf8());
-m_pLOKit->mpCallback(passwordRequest.IsRequestPasswordToModify
-? LOK_CALLBACK_DOCUMENT_PASSWORD
-: LOK_CALLBACK_DOCUMENT_PASSWORD_TO_MODIFY,
+if 
(m_pLOKit->hasOptionalFeature((passwordRequest.IsRequestPasswordToModify)
+? LOK_FEATURE_DOCUMENT_PASSWORD_TO_MODIFY
+: LOK_FEATURE_DOCUMENT_PASSWORD))
+{
+OString const url(passwordRequest.Name.toUtf8());
+m_pLOKit->mpCallback(passwordRequest.IsRequestPasswordToModify
+? LOK_CALLBACK_DOCUMENT_PASSWORD_TO_MODIFY
+: LOK_CALLBACK_DOCUMENT_PASSWORD,
 url.getStr(),
 

[Libreoffice-bugs] [Bug 97353] Recent Documents list not updating; seems frozen with a fixed list of documents.

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97353

--- Comment #3 from V Stuart Foote  ---
(In reply to 670c43a1 from comment #2)
> 
> As I said I don't know how the old values occurred - I made no adjustments
> to any values during the fresh install. A clarification; by old I mean the
> values I found before I made the changes to the new values.
> 
> My main intent/concern was to report this behavior to help others that might
> experience this same behavior - again because I couldn't find any other
> place to document this behavior and how I resolved it...

Yes, thank you! 

I'd agree that you did the best thing and were correct in your analysis.
Recording things here in BZ does create a record for others to review--just no
sense in keeping it open as the profile corruption--however achieved. 

If all you did was delete the registrymodifications.xcu, that alone does not
"clear" the profile--surest way is to rename the whole .config/libreoffice
directory and let it rebuild.

But as a "corrupt" profile was pretty obviously in play here--so beahvior
reverts to sane with the simple correction to the .xcu registry, or doing a
more decisive clean up.

If more folks start having the issues of PickListSize and Size for the History
preferences assigned odd values--they should find it here and can reopen.

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


[Libreoffice-commits] core.git: 12 commits - vcl/inc

2016-01-27 Thread Chris Sherlock
 vcl/inc/saltimer.hxx  |2 --
 vcl/inc/salvd.hxx |3 ---
 vcl/inc/salwtype.hxx  |   23 ---
 vcl/inc/sft.hxx   |9 ++---
 vcl/inc/svdata.hxx|   32 
 vcl/inc/textlayout.hxx|4 
 vcl/inc/textlineinfo.hxx  |3 ---
 vcl/inc/textrender.hxx|7 +--
 vcl/inc/toolbox.h |5 -
 vcl/inc/vcleventlisteners.hxx |   10 --
 vcl/inc/wall2.hxx |4 +---
 vcl/inc/window.h  |   18 --
 12 files changed, 12 insertions(+), 108 deletions(-)

New commits:
commit f8151c9ced1a2fdce6273fbbce2656bea25cf754
Author: Chris Sherlock 
Date:   Wed Jan 27 19:17:13 2016 +1100

vcl: remove extraneous included headers in window.h

Change-Id: I9fce8a5300ba8e2edc4641682063a94b071533e1

diff --git a/vcl/inc/window.h b/vcl/inc/window.h
index 3fed5b3..b94ca6e 100644
--- a/vcl/inc/window.h
+++ b/vcl/inc/window.h
@@ -21,27 +21,9 @@
 #define INCLUDED_VCL_INC_WINDOW_H
 
 #include 
-
-#include 
-#include 
-#include 
-#include 
 #include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
 #include 
-#include 
-#include 
 #include 
-#include "vcleventlisteners.hxx"
-#include "impfontcache.hxx"
-
-#include 
-#include 
 
 struct ImplDelData;
 
commit 0c227ff64c7f3ec02102b93ca432b5c8e501c2ee
Author: Chris Sherlock 
Date:   Wed Jan 27 19:06:11 2016 +1100

vcl: cleanup tabs for wall2.hxx

Change-Id: I9110a4b8739f5d641913e8e8d35972e4ca1fab67

diff --git a/vcl/inc/wall2.hxx b/vcl/inc/wall2.hxx
index 756d9a8..60cbd68 100644
--- a/vcl/inc/wall2.hxx
+++ b/vcl/inc/wall2.hxx
@@ -30,7 +30,7 @@ private:
 Gradient*   mpGradient;
 Rectangle*  mpRect;
 WallpaperStyle  meStyle;
-sal_uLong   mnRefCount;
+sal_uLong   mnRefCount;
 BitmapEx*   mpCache;
 
 friend SvStream& ReadImplWallpaper( SvStream& rIStm, ImplWallpaper& 
rImplWallpaper );
commit 37bdc60b11cf398e80af9b71d31bd1443b06e133
Author: Chris Sherlock 
Date:   Wed Jan 27 19:05:49 2016 +1100

vcl: remove extraneous included headers in wall2.hxx

Change-Id: I9ad7192ddedfe164638ad5da21c5e27242d94a11

diff --git a/vcl/inc/wall2.hxx b/vcl/inc/wall2.hxx
index 724a651..756d9a8 100644
--- a/vcl/inc/wall2.hxx
+++ b/vcl/inc/wall2.hxx
@@ -20,8 +20,6 @@
 #ifndef INCLUDED_VCL_INC_WALL2_HXX
 #define INCLUDED_VCL_INC_WALL2_HXX
 
-#include 
-
 class ImplWallpaper
 {
 friend class Wallpaper;
commit ce50faa9fae4ec78c4a6860a72c623545dfadd1d
Author: Chris Sherlock 
Date:   Wed Jan 27 19:01:24 2016 +1100

vcl: remove extraneous included headers in vcleventlisteners.hxx

Change-Id: I8fc7f751281520444fc4ca36dcb90fd62d4d65cb

diff --git a/vcl/inc/vcleventlisteners.hxx b/vcl/inc/vcleventlisteners.hxx
index ec97c55..d88e816 100644
--- a/vcl/inc/vcleventlisteners.hxx
+++ b/vcl/inc/vcleventlisteners.hxx
@@ -20,16 +20,6 @@
 #ifndef INCLUDED_VCL_INC_VCLEVENTLISTENERS_HXX
 #define INCLUDED_VCL_INC_VCLEVENTLISTENERS_HXX
 
-#include 
-#include 
-#include 
-#include 
-#include 
-
-#include 
-
-#include 
-
 class VCL_DLLPUBLIC VclEventListeners
 {
 public:
commit 2fc1fbd4a33fcf0f1a3af8f9c64015d272958b61
Author: Chris Sherlock 
Date:   Wed Jan 27 18:55:10 2016 +1100

vcl: remove extraneous included headers in toolbox.h

Change-Id: I40af01bf7c2e8dd8699d88fa52327d460827e211

diff --git a/vcl/inc/toolbox.h b/vcl/inc/toolbox.h
index e8c7a1f..9be81af 100644
--- a/vcl/inc/toolbox.h
+++ b/vcl/inc/toolbox.h
@@ -20,14 +20,9 @@
 #ifndef INCLUDED_VCL_INC_TOOLBOX_H
 #define INCLUDED_VCL_INC_TOOLBOX_H
 
-#include 
-#include 
-#include 
 #include 
 #include 
 
-#include 
-
 #define TB_DROPDOWNARROWWIDTH   11
 
 #define TB_MENUBUTTON_SIZE  12
commit 05ca2d70c6e16d0e506688d9934b6c9f2ee39147
Author: Chris Sherlock 
Date:   Wed Jan 27 18:51:10 2016 +1100

vcl: remove extraneous included headers in textrender.hxx

Change-Id: I865c48822c8e95c427318a4a26fb86a01b0df2b9

diff --git a/vcl/inc/textlineinfo.hxx b/vcl/inc/textlineinfo.hxx
index 807cdd6..a14d774 100644
--- a/vcl/inc/textlineinfo.hxx
+++ b/vcl/inc/textlineinfo.hxx
@@ -20,9 +20,6 @@
 #ifndef INCLUDED_VCL_INC_TEXTLINEINFO_HXX
 #define INCLUDED_VCL_INC_TEXTLINEINFO_HXX
 
-#include 
-#include 
-
 class ImplTextLineInfo
 {
 private:
diff --git a/vcl/inc/textrender.hxx b/vcl/inc/textrender.hxx
index edd60fb..483eff0 100644
--- a/vcl/inc/textrender.hxx
+++ b/vcl/inc/textrender.hxx
@@ -20,13 +20,8 @@
 #ifndef INCLUDED_VCL_INC_UNX_CAIROFONTIMPL_HXX
 #define INCLUDED_VCL_INC_UNX_CAIROFONTIMPL_HXX
 
-#include 
-#include 
-#include 
-#include 
 #include "salgdi.hxx"
-#include "salglyphid.hxx"
-#include "fontsubset.hxx"
+
 #include 
 
 class ImplLayoutArgs;
commit 

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

2016-01-27 Thread Stephan Bergmann
 vcl/inc/svids.hrc |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit a6ae90fe91d14b4e5d1e8352994fef95c38853f8
Author: Stephan Bergmann 
Date:   Wed Jan 27 09:14:35 2016 +0100

Translate German comment

Change-Id: I35cf316dc521febaafb173c715b876a11c39b670

diff --git a/vcl/inc/svids.hrc b/vcl/inc/svids.hrc
index 62e3203..32a3682 100644
--- a/vcl/inc/svids.hrc
+++ b/vcl/inc/svids.hrc
@@ -23,8 +23,9 @@
 #define SV_RESID_STDOFFSET  0
 #define SV_RESID_MONOOFFSET 1
 
-// Achtung: Diese Id's muessen min. 10 Werte auseinanderliegen, da
-// je nach Style noch ein Offset aufgerechnet wird
+// ATTENTION: These IDs must be spaced at least by 10, as, depending on style,
+// an offset will get added:
+
 #define SV_RESID_BITMAP_CHECK   1000
 #define SV_RESID_BITMAP_RADIO   1010
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: German translation request again

2016-01-27 Thread Stephan Bergmann

On 01/27/2016 08:38 AM, Chris Sherlock wrote:

Could someone please translate the following German comments for me?

// Achtung: Diese Id's muessen min. 10 Werte auseinanderliegen, da
// je nach Style noch ein Offset aufgerechnet wird


 
"Translate German comment"

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


[Libreoffice-bugs] [Bug 97387] New: Not possible to select picture frame in the footer

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97387

Bug ID: 97387
   Summary: Not possible to select picture frame in the footer
   Product: LibreOffice
   Version: 5.0.4.2 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: szots...@gmail.com

Created attachment 122233
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122233=edit
Example document where the bug is reproducible

1.) Create an empty footer.
2.) Insert a picture and add caption to it (thus creating frame around).
3.) Write as much text before the picture as much is needed the picture to
float into the footer.
4.) Be sure the focus is not in the footer.
5.) Move the mouse over the 1px wide frame which is already positioned in the
footer. Try to select it with clicking on it.

The footer "steals" focus, it's not possible to select the frame without
clicking into the picture itself before.

There is a slight chance this bug is Linux-only (but I cannot confirm it).

I'm on openSUSE Leap 42.1, x64, KDE 5.

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


[Bug 39641] Clean up document type association on Linux

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=39641

--- Comment #12 from Dhruv Khattar  ---
Can someone please help me understanding the issue?
What has to be done?

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


[Libreoffice-bugs] [Bug 39641] Clean up document type association on Linux

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=39641

--- Comment #12 from Dhruv Khattar  ---
Can someone please help me understanding the issue?
What has to be done?

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


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

2016-01-27 Thread Takeshi Abe
 starmath/inc/rect.hxx|   12 ++-
 starmath/source/node.cxx |   48 +++
 starmath/source/rect.cxx |   23 ++
 3 files changed, 42 insertions(+), 41 deletions(-)

New commits:
commit 1e4433bf52f0b242b769d8d34e02ff5610d75839
Author: Takeshi Abe 
Date:   Mon Jan 25 17:36:14 2016 +0900

starmath: Convert RectPos to scoped enum

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

diff --git a/starmath/inc/rect.hxx b/starmath/inc/rect.hxx
index 2058e0d..c7dcaf0 100644
--- a/starmath/inc/rect.hxx
+++ b/starmath/inc/rect.hxx
@@ -52,11 +52,13 @@ inline long SmFromTo(long nFrom, long nTo, double fRelDist)
 
 
 // possible positions and alignments for the 'AlignTo' function
-enum RectPos
-// (RP_LEFT : align the current object to the left of the argument, ...)
-{   RP_LEFT, RP_RIGHT,
-RP_TOP, RP_BOTTOM,
-RP_ATTRIBUT
+enum class RectPos
+{
+Left, // align the current object to the left of the argument
+Right,
+Top,
+Bottom,
+Attribute
 };
 enum RectHorAlign
 {   RHA_LEFT, RHA_CENTER, RHA_RIGHT
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index 518db56..d7a1592 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -710,7 +710,7 @@ void SmTableNode::Arrange(OutputDevice , const 
SmFormat )
 const SmNode *pCoNode   = pNode->GetLeftMost();
 RectHorAlign  eHorAlign = pCoNode->GetRectHorAlign();
 
-aPos = rNodeRect.AlignTo(*this, RP_BOTTOM,
+aPos = rNodeRect.AlignTo(*this, RectPos::Bottom,
 eHorAlign, RVA_BASELINE);
 if (i)
 aPos.Y() += nDist;
@@ -806,7 +806,7 @@ void SmLineNode::Arrange(OutputDevice , const SmFormat 
)
 for (i = 1;  i < nSize;  i++)
 if (nullptr != (pNode = GetSubNode(i)))
 {
-aPos = pNode->AlignTo(*this, RP_RIGHT, RHA_CENTER, RVA_BASELINE);
+aPos = pNode->AlignTo(*this, RectPos::Right, RHA_CENTER, 
RVA_BASELINE);
 
 // add horizontal space to the left for each but the first sub node
 aPos.X() += nDist;
@@ -848,7 +848,7 @@ void SmUnHorNode::Arrange(OutputDevice , const 
SmFormat )
 pOper->Arrange(rDev, rFormat);
 pBody->Arrange(rDev, rFormat);
 
-Point  aPos = pOper->AlignTo(*pBody, bIsPostfix ? RP_RIGHT : RP_LEFT,
+Point  aPos = pOper->AlignTo(*pBody, bIsPostfix ? RectPos::Right : 
RectPos::Left,
 RHA_CENTER, RVA_BASELINE);
 // add a bit space between operator and argument
 // (worst case -{1 over 2} where - and over have almost no space inbetween)
@@ -934,7 +934,7 @@ void SmRootNode::Arrange(OutputDevice , const SmFormat 
)
 
 pRootSym->Arrange(rDev, rFormat);
 
-Point  aPos = pRootSym->AlignTo(*pBody, RP_LEFT, RHA_CENTER, RVA_BASELINE);
+Point  aPos = pRootSym->AlignTo(*pBody, RectPos::Left, RHA_CENTER, 
RVA_BASELINE);
 //! override calculated vertical position
 aPos.Y()  = pRootSym->GetTop() + pBody->GetBottom() - 
pRootSym->GetBottom();
 aPos.Y() -= nVerOffset;
@@ -992,7 +992,7 @@ void SmDynIntegralNode::Arrange(OutputDevice , const 
SmFormat )
 
 pDynIntegralSym->Arrange(rDev, rFormat);
 
-Point  aPos = pDynIntegralSym->AlignTo(*pBody, RP_LEFT, RHA_CENTER, 
RVA_BASELINE);
+Point  aPos = pDynIntegralSym->AlignTo(*pBody, RectPos::Left, RHA_CENTER, 
RVA_BASELINE);
 //! override calculated vertical position
 aPos.Y()  = pDynIntegralSym->GetTop() + pBody->GetBottom() - 
pDynIntegralSym->GetBottom();
 pDynIntegralSym->MoveTo(aPos);
@@ -1049,12 +1049,12 @@ void SmBinHorNode::Arrange(OutputDevice , const 
SmFormat )
 SmRect::operator = (*pLeft);
 
 Point aPos;
-aPos = pOper->AlignTo(*this, RP_RIGHT, RHA_CENTER, RVA_BASELINE);
+aPos = pOper->AlignTo(*this, RectPos::Right, RHA_CENTER, RVA_BASELINE);
 aPos.X() += nDist;
 pOper->MoveTo(aPos);
 ExtendBy(*pOper, RCP_XOR);
 
-aPos = pRight->AlignTo(*this, RP_RIGHT, RHA_CENTER, RVA_BASELINE);
+aPos = pRight->AlignTo(*this, RectPos::Right, RHA_CENTER, RVA_BASELINE);
 aPos.X() += nDist;
 
 pRight->MoveTo(aPos);
@@ -1105,7 +1105,7 @@ void SmBinVerNode::Arrange(OutputDevice , const 
SmFormat )
 RectHorAlign  eHorAlign = pLM->GetRectHorAlign();
 
 // move numerator to its position
-Point  aPos = pNum->AlignTo(*pLine, RP_TOP, eHorAlign, RVA_BASELINE);
+Point  aPos = pNum->AlignTo(*pLine, RectPos::Top, eHorAlign, RVA_BASELINE);
 aPos.Y() -= nNumDist;
 pNum->MoveTo(aPos);
 
@@ -1114,7 +1114,7 @@ void SmBinVerNode::Arrange(OutputDevice , const 
SmFormat )
 eHorAlign = pLM->GetRectHorAlign();
 
 // move denominator to its position
-aPos = pDenom->AlignTo(*pLine, RP_BOTTOM, eHorAlign, RVA_BASELINE);
+aPos = 

[Libreoffice-commits] core.git: solenv/gbuild

2016-01-27 Thread Jan-Marek Glogowski
 solenv/gbuild/gbuild.help.txt|6 +-
 solenv/gbuild/platform/unxgcc.mk |3 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)

New commits:
commit ff37ea6f96ead38e49ebe4c8356515e4061810c8
Author: Jan-Marek Glogowski 
Date:   Sat Jan 9 00:35:45 2016 +0100

Add optional debugrun soffice.bin arguments...

using the gb_DBGARGS variable.

This value is appended to the gdb "set args" command.

Change-Id: Ic15754d7edcc448f283522338900684a29a03cf3
Reviewed-on: https://gerrit.libreoffice.org/21364
Reviewed-by: Jan-Marek Glogowski 
Tested-by: Jan-Marek Glogowski 

diff --git a/solenv/gbuild/gbuild.help.txt b/solenv/gbuild/gbuild.help.txt
index 9362667..bbf74f7 100644
--- a/solenv/gbuild/gbuild.help.txt
+++ b/solenv/gbuild/gbuild.help.txt
@@ -30,7 +30,9 @@ AVAILABLE TARGETS
all  build product and run unit tests (default goal)
cleanremove all generated files
debugrun starts the INSTDIR instance and allows tests to
-be run against it
+be run against it. You can provide additional
+arguments to soffice.bin using the gb_DBGARGS
+variable.
checkrun unit tests and if in toplevel subsequentcheck
unitcheckrun unit tests
slowcheckrun slow unit tests
@@ -139,3 +141,5 @@ INTERACTIVE VARIABLES:
gb_Side Either "host" or "build" (default to "host").
determine if config_host.mk or config_build.mk is used 
to
set the build environment.
+   gb_DBGARGS  Append these arguments to GDBs "set args" command for
+   debugrun. Double quotes will be automatically escaped.
diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
index 7e43ce3..278006b 100644
--- a/solenv/gbuild/platform/unxgcc.mk
+++ b/solenv/gbuild/platform/unxgcc.mk
@@ -303,7 +303,8 @@ define gb_Module_DEBUGRUNCOMMAND
 OFFICESCRIPT=`mktemp` && \
 printf 'if [ -e $(INSTROOT)/program/ooenv ]; then . $(INSTROOT)/program/ooenv; 
fi\n' > $${OFFICESCRIPT} && \
 printf "gdb $(INSTROOT)/$(LIBO_BIN_FOLDER)/soffice.bin" >> $${OFFICESCRIPT} && 
\
-printf " -ex \"set args --norestore --nologo '--accept=pipe,name=$(USER);urp;' 
\"" >> $${OFFICESCRIPT} && \
+printf " -ex \"set args --norestore --nologo '--accept=pipe,name=$(USER);urp;' 
%s\"" \
+   "$(subst ","\\\"",$(value gb_DBGARGS))" >> $${OFFICESCRIPT} && \
 $(SHELL) $${OFFICESCRIPT} && \
 rm $${OFFICESCRIPT}
 endef
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 87565] Credit Card donation fails

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87565

sophie  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from sophie  ---
Closing this one as Concardis is fixed now. Sophie

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


[Libreoffice-commits] core.git: external/libxmlsec

2016-01-27 Thread Miklos Vajna
 external/libxmlsec/xmlsec1-ooxml.patch.1 |   84 ++-
 1 file changed, 73 insertions(+), 11 deletions(-)

New commits:
commit b2734fcc25cc30bb297b50ee5a7f37cfb5667050
Author: Miklos Vajna 
Date:   Wed Jan 27 16:02:49 2016 +0100

libxmlsec: sort elements in OOXML RelationshipTransform

The spec says that the implementer shall sort relationship elements by
Id value in lexicographical order, so do that before the filtering of
these elements.

With this, all streams validate for a test document that is supposed to
be valid, though xmlSecDSigCtxVerify() still reports errors.

Change-Id: I9d9cd511eaebad1f13f4e06891b2a3f61fee4500

diff --git a/external/libxmlsec/xmlsec1-ooxml.patch.1 
b/external/libxmlsec/xmlsec1-ooxml.patch.1
index a673416..a0878a5 100644
--- a/external/libxmlsec/xmlsec1-ooxml.patch.1
+++ b/external/libxmlsec/xmlsec1-ooxml.patch.1
@@ -1,4 +1,4 @@
-From 7e46355a9a7a223077f4d83587fd842bbaf97e37 Mon Sep 17 00:00:00 2001
+From 24c1395c547f8a2f0c78a8618c766ecd55909c66 Mon Sep 17 00:00:00 2001
 From: Miklos Vajna 
 Date: Mon, 25 Jan 2016 09:50:03 +0100
 Subject: [PATCH] OOXML Relationship Transform
@@ -8,8 +8,8 @@ Subject: [PATCH] OOXML Relationship Transform
  include/xmlsec/transforms.h |   4 +
  src/strings.c   |   3 +
  src/transforms.c|  11 +
- src/xpath.c | 480 
- 5 files changed, 501 insertions(+)
+ src/xpath.c | 542 
+ 5 files changed, 563 insertions(+)
 
 diff --git a/include/xmlsec/strings.h b/include/xmlsec/strings.h
 index 07afb9d..9c72d1b 100644
@@ -77,7 +77,7 @@ index 2ed3fe8..9e5ad27 100644
  if(xmlSecTransformIdsRegister(xmlSecTransformXsltId) < 0) {
xmlSecError(XMLSEC_ERRORS_HERE,
 diff --git a/src/xpath.c b/src/xpath.c
-index 8b0b4f8..e56920e 100644
+index 8b0b4f8..b9a03e5 100644
 --- a/src/xpath.c
 +++ b/src/xpath.c
 @@ -17,6 +17,7 @@
@@ -88,7 +88,7 @@ index 8b0b4f8..e56920e 100644
  
  #include 
  #include 
-@@ -1144,5 +1145,484 @@ xmlSecTransformVisa3DHackExecute(xmlSecTransformPtr 
transform, int last,
+@@ -1144,5 +1145,546 @@ xmlSecTransformVisa3DHackExecute(xmlSecTransformPtr 
transform, int last,
  return(0);
  }
  
@@ -271,10 +271,10 @@ index 8b0b4f8..e56920e 100644
 +xmlOutputBufferWriteString(buf, (const char *)xmlGetProp(cur, 
attr->name));
 +xmlOutputBufferWriteString(buf, "\"");
 +}
- 
++
 +if (strcmp(cur->name, "Relationship") == 0 && !foundTargetMode)
 +xmlOutputBufferWriteString(buf, " TargetMode=\"Internal\"");
- 
++
 +xmlOutputBufferWriteString(buf, ">");
 +
 +if (cur->children)
@@ -331,17 +331,79 @@ index 8b0b4f8..e56920e 100644
 +return 0;
 +}
 +
++/* Sorts Relationship elements by Id value in lexicographical order. */
++static int xmlSecTransformRelationshipCompare(xmlNodePtr node1, xmlNodePtr 
node2)
++{
++xmlChar* id1;
++xmlChar* id2;
++
++if (node1 == node2)
++return 0;
++if (!node1)
++return -1;
++if (!node2)
++return 1;
++
++id1 = xmlGetProp(node1, "Id");
++id2 = xmlGetProp(node2, "Id");
++
++if (!id1)
++return -1;
++if (!id2)
++return 1;
++
++return xmlStrcmp(id1, id2);
++}
++
 +int xmlSecTransformRelationshipProcessNodeList(xmlSecTransformPtr transform, 
xmlOutputBufferPtr buf, xmlNodePtr cur)
 +{
++xmlListPtr list;
 +int ret;
 +
-+for (ret = 0; cur; cur = cur->next)
++list = xmlListCreate(NULL, 
(xmlListDataCompare)xmlSecTransformRelationshipCompare);
++if (!list)
++return -1;
++
++for (; cur; cur = cur->next)
 +{
-+ret = xmlSecTransformRelationshipProcessNode(transform, buf, cur);
-+if (ret < 0)
-+return -1;
++if (strcmp(cur->name, "Relationship") == 0)
++xmlListInsert(list, cur);
++else
++{
++ret = xmlSecTransformRelationshipProcessNode(transform, buf, cur);
++if (ret < 0)
++{
++xmlListDelete(list);
++return -1;
++}
++}
++}
++
++if (!xmlListEmpty(list))
++{
++int size;
++int i;
+ 
++xmlListSort(list);
++size = xmlListSize(list);
++for (i = 0; i < size; ++i)
++{
++xmlLinkPtr link = xmlListFront(list);
++xmlNodePtr node = (xmlNodePtr)xmlLinkGetData(link);
+ 
++ret = xmlSecTransformRelationshipProcessNode(transform, buf, 
node);
++if (ret < 0)
++{
++xmlListDelete(list);
++return -1;
++}
++
++xmlListPopFront(list);
++}
++
 +}
 +
++xmlListDelete(list);
 +return 0;
 +}
 +
___
Libreoffice-commits mailing list

[Libreoffice-bugs] [Bug 97371] FILEOPEN DOCX: Text Covered by Shape

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97371

raal  changed:

   What|Removed |Added

 CC||r...@post.cz,
   ||vmik...@collabora.co.uk

--- Comment #4 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

e7107a81b66b8260dc7ffc623b79dbdc6a643167 is the first bad commit
commit e7107a81b66b8260dc7ffc623b79dbdc6a643167
Author: Norbert Thiebaud 
Date:   Mon Sep 28 00:34:33 2015 -0700

source sha:358666e4204364ce915ee95372dc6f2fca545253

source sha:358666e4204364ce915ee95372dc6f2fca545253

authorMiklos Vajna 2015-09-28 07:03:13 (GMT)
committerMiklos Vajna 2015-09-28 07:26:38
(GMT)
commit358666e4204364ce915ee95372dc6f2fca545253 (patch)
tdf#90153 DOCX import: fix default sw TextFrame roundtrip

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


[Libreoffice-bugs] [Bug 96475] Sorting pasted date fields incorrect

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=96475

--- Comment #8 from Elmer  ---
sorting a column by date wwworks if dates are all same year. sorting dates that
span more than one year does not sort.
really, people... this is a release version? and a very basic necessary
function and it doesn't work???

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


[Bug 82335] Register LibreOffice for Kingsoft Office file types

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=82335

--- Comment #21 from Dhruv Khattar  ---
I want to work on this issue.
Can someone please guide me through?

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


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

2016-01-27 Thread Miklos Vajna
 writerfilter/source/dmapper/DomainMapperTableHandler.cxx |   18 ---
 writerfilter/source/dmapper/DomainMapperTableHandler.hxx |2 -
 2 files changed, 11 insertions(+), 9 deletions(-)

New commits:
commit 697007006fcad5d0603a53d3a3841bf9136f76dc
Author: Miklos Vajna 
Date:   Wed Jan 27 16:25:45 2016 +0100

writerfilter: uno::Sequence -> std::vector for table cell ranges

Change-Id: I858aa0f97d70f245cf5a3d24909de512b33b1249

diff --git a/writerfilter/source/dmapper/DomainMapperTableHandler.cxx 
b/writerfilter/source/dmapper/DomainMapperTableHandler.cxx
index 95168fa..b7363b6 100644
--- a/writerfilter/source/dmapper/DomainMapperTableHandler.cxx
+++ b/writerfilter/source/dmapper/DomainMapperTableHandler.cxx
@@ -1188,10 +1188,11 @@ void DomainMapperTableHandler::startCell(const 
css::uno::Reference< css::text::X
 #endif
 
 //add a new 'row' of properties
-m_aCellSeq = CellSequence_t(2);
-if (!start.get())
-return;
-m_aCellSeq[0] = start->getStart();
+m_aCellRange.clear();
+uno::Reference xStart;
+if (start.get())
+xStart = start->getStart();
+m_aCellRange.push_back(xStart);
 }
 
 void DomainMapperTableHandler::endCell(const css::uno::Reference< 
css::text::XTextRange > & end)
@@ -1203,10 +1204,11 @@ void DomainMapperTableHandler::endCell(const 
css::uno::Reference< css::text::XTe
 TagLogger::getInstance().endElement();
 #endif
 
-if (!end.get())
-return;
-m_aCellSeq[1] = end->getEnd();
-m_aRowSeq[m_nCellIndex] = m_aCellSeq;
+uno::Reference xEnd;
+if (end.get())
+xEnd = end->getEnd();
+m_aCellRange.push_back(xEnd);
+m_aRowSeq[m_nCellIndex] = comphelper::containerToSequence(m_aCellRange);
 ++m_nCellIndex;
 }
 
diff --git a/writerfilter/source/dmapper/DomainMapperTableHandler.hxx 
b/writerfilter/source/dmapper/DomainMapperTableHandler.hxx
index 669ea30ef..fd48aa3 100644
--- a/writerfilter/source/dmapper/DomainMapperTableHandler.hxx
+++ b/writerfilter/source/dmapper/DomainMapperTableHandler.hxx
@@ -62,7 +62,7 @@ class DomainMapperTableHandler
 {
 css::uno::Reference  m_xText;
 DomainMapper_Impl&  m_rDMapper_Impl;
-CellSequence_t m_aCellSeq;
+std::vector< css::uno::Reference > m_aCellRange;
 RowSequence_tm_aRowSeq;
 TableSequence_t m_aTableSeq;
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-01-27 Thread Douglas Mencken
 starmath/source/document.cxx  |9 ++--
 starmath/source/mathtype.cxx  |   83 +++---
 starmath/source/mathtype.hxx  |   28 ++
 starmath/source/unofilter.cxx |2 -
 4 files changed, 57 insertions(+), 65 deletions(-)

New commits:
commit 9a3d702c3d3546ea651d46a6d698cbc6df0e9b31
Author: Douglas Mencken 
Date:   Mon Jan 25 07:28:48 2016 -0500

starmath.mathtype: change int -> bool for returned values

it looks like it always supposed to be bool

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

diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index cafe784..0ff39dc 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -698,7 +698,7 @@ bool SmDocShell::ConvertFrom(SfxMedium )
 }
 Reference xModel(GetModel());
 SmXMLImportWrapper aEquation(xModel);
-bSuccess = 0 == aEquation.Import(rMedium);
+bSuccess = ( ERRCODE_NONE == aEquation.Import(rMedium) );
 }
 else
 {
@@ -712,7 +712,8 @@ bool SmDocShell::ConvertFrom(SfxMedium )
 {
 // is this a MathType Storage?
 MathType aEquation( aText );
-if ( (bSuccess = (1 == aEquation.Parse( aStorage )) ))
+bSuccess = aEquation.Parse( aStorage );
+if ( bSuccess )
 Parse();
 }
 }
@@ -1338,9 +1339,7 @@ void SmDocShell::SetModified(bool bModified)
 bool SmDocShell::WriteAsMathType3( SfxMedium& rMedium )
 {
 MathType aEquation( aText, pTree );
-
-bool bRet = 0 != aEquation.ConvertFromStarMath( rMedium );
-return bRet;
+return aEquation.ConvertFromStarMath( rMedium );
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index 962de9d..94afcd5 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -553,13 +553,13 @@ void MathType::TypeFaceToString(OUString ,sal_uInt8 
nFace)
 aFont.AppendStyleToText(rTxt);
 }
 
-int MathType::Parse(SotStorage *pStor)
+bool MathType::Parse(SotStorage *pStor)
 {
 tools::SvRef xSrc = pStor->OpenSotStream(
 "Equation Native",
 STREAM_STD_READ | StreamMode::NOCREATE);
 if ( (!xSrc.Is()) || (SVSTREAM_OK != xSrc->GetError()))
-return 0;
+return false;
 pS = 
 pS->SetEndian( SvStreamEndian::LITTLE );
 
@@ -572,9 +572,9 @@ int MathType::Parse(SotStorage *pStor)
 pS->ReadUChar( nProdSubVersion );
 
 if (nVersion > 3)   // allow only supported versions of MathType to be 
parsed
-return 0;
+return false;
 
-int nRet = HandleRecords();
+bool bRet = HandleRecords();
 //little crude hack to close occasionally open expressions
 //a sophisticated system to determine what expressions are
 //opened is required, but this is as much work as rewriting
@@ -592,7 +592,7 @@ int MathType::Parse(SotStorage *pStor)
 "Possibly unfully parsed formula");
 #   endif
 #endif
-return nRet;
+return bRet;
 }
 
 static void lcl_PrependDummyTerm(OUString , sal_Int32 )
@@ -638,15 +638,16 @@ void MathType::HandleNudge()
 pS->ReadUInt16( nYLongNudge );
 }
 }
+
 /* Fabulously complicated as many tokens have to be reordered and generally
  * moved around from mathtypes paradigm to starmaths. */
-int MathType::HandleRecords(int nLevel,sal_uInt8 nSelector,
-sal_uInt8 nVariation, int nMatrixRows,int nMatrixCols)
+bool MathType::HandleRecords(int nLevel, sal_uInt8 nSelector,
+sal_uInt8 nVariation, int nMatrixRows, int nMatrixCols)
 {
 sal_uInt8 nTag,nRecord;
 sal_uInt8 nTabType,nTabStops;
 sal_uInt16 nTabOffset;
-int i,nRet=1,newline=0;
+int i, newline=0;
 bool bSilent=false;
 int nPart=0;
 OUString sPush,sMainTerm;
@@ -656,6 +657,7 @@ int MathType::HandleRecords(int nLevel,sal_uInt8 nSelector,
 sal_Int32 nTextStart = 0;
 sal_Int32 nSubSupStartPos = 0;
 sal_Int32 nLastTemplateBracket=-1;
+bool bRet = true;
 
 do
 {
@@ -1246,8 +1248,8 @@ int MathType::HandleRecords(int nLevel,sal_uInt8 
nSelector,
 }
 sal_Int16 nOldCurSize=nCurSize;
 sal_Int32 nSizeStartPos = rRet.getLength();
-HandleSize(nLSize,nDSize,nSetSize);
-nRet = HandleRecords(nLevel+1);
+HandleSize( nLSize, nDSize, nSetSize );
+bRet = HandleRecords( nLevel+1 );
 while (nSetSize)
 {
 bool bOk=false;
@@ -1683,26 +1685,24 @@ int MathType::HandleRecords(int nLevel,sal_uInt8 
nSelector,
  

[Libreoffice-bugs] [Bug 95505] Dump usage stats to text file in user profile rather than std error

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95505

--- Comment #21 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=3563d8dde1068094a7b79aad4aa864301583006d

tdf#95505 Dump usage stats to text file in user profile.

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
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


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

2016-01-27 Thread Caolán McNamara
 sw/source/core/layout/flowfrm.cxx |5 +++--
 vcl/unx/gtk3/gtk3gtkframe.cxx |   11 ++-
 2 files changed, 13 insertions(+), 3 deletions(-)

New commits:
commit f27c5f598feb8692788bca7085343eb0cc7707b8
Author: Caolán McNamara 
Date:   Wed Jan 27 15:50:01 2016 +

gtk_drag_begin_with_coordinates is too new for tinderbox

Change-Id: I759b8d1421860501243039c66d17fb82ac66dd47

diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index d98b3be..de86fbc 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -3962,7 +3962,7 @@ void GtkSalFrame::startDrag(gint nButton, gint 
nDragOriginX, gint nDragOriginY,
 GdkDeviceManager* pDeviceManager = 
gdk_display_get_device_manager(getGdkDisplay());
 aFakeEvent.button.device = 
gdk_device_manager_get_client_pointer(pDeviceManager);
 
-
+#if GTK_CHECK_VERSION(3,10,0)
 GdkDragContext *pContext = 
gtk_drag_begin_with_coordinates(getMouseEventWidget(),
pTargetList,
sourceActions,
@@ -3970,6 +3970,15 @@ void GtkSalFrame::startDrag(gint nButton, gint 
nDragOriginX, gint nDragOriginY,
,
nDragOriginX,
nDragOriginY);
+#else
+GdkDragContext *pContext = gtk_drag_begin(getMouseEventWidget(),
+  pTargetList,
+  sourceActions,
+  nButton,
+  );
+(void)nDragOriginX;
+(void)nDragOriginY;
+#endif
 
 if (!pContext)
 m_pDragSource->dragFailed();
commit b7ffd2564e9e410c4ab995dd15a8aa0bddb7d06b
Author: Caolán McNamara 
Date:   Wed Jan 27 15:28:37 2016 +

Related: rhbz#1293210 crash in SwFlowFrm::BwdMoveNecessary

Change-Id: I3b902b7fbd02b32f5d13dc47854445558e93b341

diff --git a/sw/source/core/layout/flowfrm.cxx 
b/sw/source/core/layout/flowfrm.cxx
index 44c1254..becbfff 100644
--- a/sw/source/core/layout/flowfrm.cxx
+++ b/sw/source/core/layout/flowfrm.cxx
@@ -287,10 +287,11 @@ sal_uInt8 SwFlowFrame::BwdMoveNecessary( const 
SwPageFrame *pPage, const SwRect
 nRet = 1;
 pTmp = pTmp->GetFollow();
 } while ( !nRet && pTmp );
-if ( pPage->GetSortedObjs() )
+const SwSortedObjs *pObjs = pPage ? pPage->GetSortedObjs() : nullptr;
+if (pObjs)
 {
 // #i28701# - new type 
-const SwSortedObjs  = *pPage->GetSortedObjs();
+const SwSortedObjs  = *pObjs;
 sal_uLong nIndex = ULONG_MAX;
 for ( size_t i = 0; nRet < 3 && i < rObjs.size(); ++i )
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95311] EDITING: Wrong result on calculation, ok when opening file then changes value when adding new values, works on v. 4.3.7.2 and earlier versions.

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95311

--- Comment #10 from Tor Lillqvist  ---
Which is a bit surprising as I would have thought that all OpenCL related fixes
had gone also into 5.0. But apparently not. Will investigate.

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


[Libreoffice-bugs] [Bug 97396] Impress of LibreOffice 5.1.0.2 crashes when running presentations created with earlier versions

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97396

FutureProject  changed:

   What|Removed |Added

 CC||futureproj...@gmail.com

--- Comment #1 from FutureProject  ---
Hello, and thank you for bringing these issues to our attention.

However, due to the nature of the bug tracker it is not advised to group
potential multiple issues into one report. Would you please choose one of the
issues, the crash in presentations, or the crash when deleting animations, for
this bug report and open a new one for the other issue? That would be greatly
appreciated.

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


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

2016-01-27 Thread Arnaud Versini
 basic/source/comp/exprnode.cxx |4 +---
 basic/source/comp/exprtree.cxx |2 ++
 basic/source/inc/expr.hxx  |4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 4cac0c05c645fbcc67cf6090144026a2dfd02064
Author: Arnaud Versini 
Date:   Sun Jan 24 18:59:33 2016 +0100

BASIC: SbiExpression::IsIntConstant has side effects.

Also renames IsIntConstant to ConvertToIntConstIfPossible.

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

diff --git a/basic/source/comp/exprnode.cxx b/basic/source/comp/exprnode.cxx
index 19272dc..77c1aa5 100644
--- a/basic/source/comp/exprnode.cxx
+++ b/basic/source/comp/exprnode.cxx
@@ -152,7 +152,7 @@ SbiExprNode* SbiExprNode::GetRealNode()
 
 // This method transform the type, if it fits into the Integer range
 
-bool SbiExprNode::IsIntConst()
+void SbiExprNode::ConvertToIntConstIfPossible()
 {
 if( eNodeType == SbxNUMVAL )
 {
@@ -163,11 +163,9 @@ bool SbiExprNode::IsIntConst()
 {
 nVal = (double) (short) nVal;
 eType = SbxINTEGER;
-return true;
 }
 }
 }
-return false;
 }
 
 bool SbiExprNode::IsNumber()
diff --git a/basic/source/comp/exprtree.cxx b/basic/source/comp/exprtree.cxx
index 634d5a3..5a153b3 100644
--- a/basic/source/comp/exprtree.cxx
+++ b/basic/source/comp/exprtree.cxx
@@ -1158,6 +1158,7 @@ SbiExprList* SbiExprList::ParseDimList( SbiParser* 
pParser )
 {
 pExpr2 = new SbiExpression( pParser );
 eTok = pParser->Next();
+pExpr1->ConvertToIntConstIfPossible(), 
pExpr2->ConvertToIntConstIfPossible();
 pExprList->bError = pExprList->bError || !pExpr1->IsValid() || 
!pExpr2->IsValid();
 pExpr1->pNext = pExpr2;
 if( !pLast )
@@ -1175,6 +1176,7 @@ SbiExprList* SbiExprList::ParseDimList( SbiParser* 
pParser )
 {
 pExpr1->SetBased();
 pExpr1->pNext = nullptr;
+pExpr1->ConvertToIntConstIfPossible();
 pExprList->bError = pExprList->bError || !pExpr1->IsValid();
 if( !pLast )
 {
diff --git a/basic/source/inc/expr.hxx b/basic/source/inc/expr.hxx
index 53a9638..eac1c8a 100644
--- a/basic/source/inc/expr.hxx
+++ b/basic/source/inc/expr.hxx
@@ -129,7 +129,7 @@ public:
 bool IsValid()  { return !bError; }
 bool IsConstant()   // true: constant operand
 { return eNodeType == SbxSTRVAL || eNodeType == SbxNUMVAL; }
-bool IsIntConst();
+void ConvertToIntConstIfPossible();
 bool IsVariable();
 bool  IsUnary()
 { return pLeft && !pRight; }
@@ -197,7 +197,7 @@ public:
 bool IsValid()  { return pExpr->IsValid();}
 bool IsVariable()   { return pExpr->IsVariable(); }
 bool IsLvalue() { return pExpr->IsLvalue();   }
-bool IsIntConstant(){ return pExpr->IsIntConst(); }
+void ConvertToIntConstIfPossible() { pExpr->ConvertToIntConstIfPossible(); 
}
 const OUString& GetString() { return pExpr->GetString();  }
 SbiSymDef* GetRealVar() { return pExpr->GetRealVar(); }
 SbiExprNode* GetExprNode()  { return pExpr; }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 97397] When adding a caption to an image, an extra space is added

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97397

FutureProject  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||futureproj...@gmail.com
 Ever confirmed|0   |1
   Severity|minor   |trivial

--- Comment #1 from FutureProject  ---
Hello, and thank you for bringing this issue to our attention.

I was not able to reproduce this issue with:
Version: 5.0.4.2
Build ID: 2b9802c1994aa0b7dc6079e128979269cf95bc78
Locale: en-US (de_DE)

But I was able to reproduce with:
Version: 5.1.0.2 (x64)
Build ID: ecd3574d51754b043f865cf5bafee286d24db7cc
CPU Threads: 4; OS Version: Windows 6.19; UI Render: GL; 
Locale: de-DE (de_DE)

The issue was introduced somewhere in between, probably with the change in how
illustrations are referenced.

In 5.0.4.2 it takes the form of "Illustration : "
While 5.1.0.2 changed it to " . Illustration: ", note the space

To reproduce in 5.1.0.2:
1. Open new Writer document, insert any image.
2. Right-click on image -> "Insert Caption..."
3. In the new window, insert any text for caption, choose any properties, click
"okay"
4. Put the writing cursor into any valid line and "Insert ->
Cross-reference..."
5. In the new dialog: Type: Illustration, Insert reference to: Reference, click
"Insert"
6. The new reference has a leading space

I'm setting this issue to NEW, but I'm not sure if this was an intentional
choice or not.

In the meantime, a valid workaround might be not use a manual leading space and
just let the reference touch against the previous word. The grey background
will not be visible in print and the automatic space will not be noticeable.
Because of this I will be lowering this issue to TRIVIAL.

--
Windows 10 Pro, Version 1511 (OS Build 10586.36)

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


[Libreoffice-bugs] [Bug 95311] EDITING: Wrong result on calculation, ok when opening file then changes value when adding new values, works on v. 4.3.7.2 and earlier versions.

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95311

--- Comment #9 from Tor Lillqvist  ---
Also reproduced in 5.0.5.2 and 5.0.5.1. 

But not in the master or 5.1 branches.

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


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

2016-01-27 Thread Caolán McNamara
 vcl/unx/gtk3/gtk3gtkframe.cxx |8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

New commits:
commit e734c7f53cfffa6141e6b46c06825ee273e2136b
Author: Caolán McNamara 
Date:   Wed Jan 27 16:20:35 2016 +

Resolves: rhbz#1294208 trackpad two finger scroll does into reverse

Change-Id: Ic576f14cae82781a93e52972513a28c4a141d1a2

diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index de86fbc..c7d2a40 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -2560,14 +2560,12 @@ gboolean GtkSalFrame::signalScroll( GtkWidget*, 
GdkEvent* pEvent, gpointer frame
 {
 case GDK_SCROLL_SMOOTH:
 {
-double delta_x, delta_y;
-gdk_event_get_scroll_deltas(pEvent, _x, _y);
 //pick the bigger one I guess
-aEvent.mbHorz = fabs(delta_x) > fabs(delta_y);
+aEvent.mbHorz = fabs(pSEvent->delta_x) > fabs(pSEvent->delta_y);
 if (aEvent.mbHorz)
-aEvent.mnDelta = -delta_x;
+aEvent.mnDelta = -pSEvent->delta_x * 40;
 else
-aEvent.mnDelta = -delta_y;
+aEvent.mnDelta = -pSEvent->delta_y * 40;
 aEvent.mnScrollLines = 1;
 pThis->m_nLastScrollEventTime = pSEvent->time;
 break;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'feature/mailmerge-toolbar' - 1303 commits - accessibility/inc accessibility/source android/Bootstrap android/source animations/Library_animcore.mk animations/so

2016-01-27 Thread Jan Holesovsky
Rebased ref, commits from common ancestor:
commit 77752c75d54d2fcc4f6f5f129d35e5abe5c6c7b9
Author: Jan Holesovsky 
Date:   Wed Jan 6 12:07:55 2016 +0100

mailmerge: Create the target view independantly of the mailmerge execution.

Change-Id: Ib6a53b89b0fe2a30eac104afd1c8fe75d2348edd

diff --git a/sw/inc/dbmgr.hxx b/sw/inc/dbmgr.hxx
index 40403b6..4e9b025 100644
--- a/sw/inc/dbmgr.hxx
+++ b/sw/inc/dbmgr.hxx
@@ -245,7 +245,7 @@ friend class SwConnectionDisposedListener_Impl;
 return css::uno::Reference( xRowSet, 
css::uno::UNO_QUERY );
 }
 
-SAL_DLLPRIVATE void CreateDumpDocs(sal_Int32 );
+SAL_DLLPRIVATE static sal_Int32 GetMaxDumpDocs();
 
 SAL_DLLPRIVATE void SetSourceProp(SwDocShell* pSourceDocSh);
 
@@ -257,11 +257,6 @@ friend class SwConnectionDisposedListener_Impl;
   const SwMergeDescriptor& 
rMergeDescriptor,  const SfxFilter* pStoreToFilter);
 
 
-SAL_DLLPRIVATE void CreateTargetDocShell(sal_Int32 nMaxDumpDocs, bool 
bMergeShell, vcl::Window *pSourceWindow,
- SwWrtShell *pSourceShell, 
SwDocShell *pSourceDocSh,
- SfxObjectShellRef 
, SwDoc *,
- SwWrtShell *, SwView 
 *);
-
 SAL_DLLPRIVATE void LockUnlockDisp(bool bLock, SwDocShell *pSourceDocSh);
 
 SAL_DLLPRIVATE void CreateWorkDoc(SfxObjectShellLock , SwView 
*, SwDoc *, SwDBManager *,
@@ -505,6 +500,10 @@ public:
 SwDoc* getDoc() const;
 /// Stop reacting to removed database registrations.
 void releaseRevokeListener();
+
+/// Creates & sets up the target docshell.
+static SwView* CreateTargetDocShell(bool bMergeShell, vcl::Window 
*pSourceWindow,
+SwWrtShell *pSourceShell, SwDocShell *pSourceDocSh);
 };
 
 #endif
diff --git a/sw/source/uibase/app/apphdl.cxx b/sw/source/uibase/app/apphdl.cxx
index f219cdd..ca57274 100644
--- a/sw/source/uibase/app/apphdl.cxx
+++ b/sw/source/uibase/app/apphdl.cxx
@@ -55,6 +55,7 @@
 #include 
 #include 
 
+#include 
 #include 
 #include 
 #include 
@@ -779,6 +780,8 @@ void SwModule::ExecOther(SfxRequest& rReq)
 aDescriptor[ svx::daSelection ]   <<= pConfigItem->GetSelection();
 
 SwWrtShell& rSh = pView->GetWrtShell();
+pConfigItem->SetTargetView(nullptr);
+
 SwMergeDescriptor aMergeDesc(DBMGR_MERGE_SHELL, rSh, aDescriptor);
 aMergeDesc.pMailMergeConfigItem = pConfigItem;
 aMergeDesc.bCreateSingleFile = true;
@@ -789,21 +792,28 @@ void SwModule::ExecOther(SfxRequest& rReq)
 
pConfigItem->GetTargetView()->GetViewFrame()->GetFrame().Appear();
 }
 case FN_MAILMERGE_SAVE_DOCUMENTS:
-{
-SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
-pFact->ExecuteMMResultSaveDialog();
-}
-break;
 case FN_MAILMERGE_PRINT_DOCUMENTS:
-{
-SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
-pFact->ExecuteMMResultPrintDialog();
-}
-break;
 case FN_MAILMERGE_EMAIL_DOCUMENTS:
 {
+SwView* pView = ::GetActiveView();
+SwMailMergeConfigItem* pConfigItem = 
pView->GetMailMergeConfigItem();
+if (!pConfigItem)
+return;
+
+if (!pConfigItem->GetTargetView())
+{
+SwView* pSourceView = pConfigItem->GetSourceView();
+assert(pSourceView);
+
pConfigItem->SetTargetView(SwDBManager::CreateTargetDocShell(true, 
>GetEditWin(), pSourceView->GetWrtShellPtr(), 
pSourceView->GetDocShell()));
+}
+
 SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
-pFact->ExecuteMMResultEmailDialog();
+switch (nWhich)
+{
+case FN_MAILMERGE_SAVE_DOCUMENTS: 
pFact->ExecuteMMResultSaveDialog(); break;
+case FN_MAILMERGE_PRINT_DOCUMENTS: 
pFact->ExecuteMMResultPrintDialog(); break;
+case FN_MAILMERGE_EMAIL_DOCUMENTS: 
pFact->ExecuteMMResultEmailDialog(); break;
+}
 }
 break;
 #endif
diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx
index 5e04fe8..5d420c2 100644
--- a/sw/source/uibase/dbui/dbmgr.cxx
+++ b/sw/source/uibase/dbui/dbmgr.cxx
@@ -942,9 +942,7 @@ bool SwDBManager::MergeMailFiles(SwWrtShell* pSourceShell,
 OUString sBodyMimeType;
 rtl_TextEncoding eEncoding = ::osl_getThreadTextEncoding();
 
-static sal_Int32 nMaxDumpDocs = 0;
-
-CreateDumpDocs(nMaxDumpDocs);
+const sal_Int32 nMaxDumpDocs = GetMaxDumpDocs();
 
 if(bEMail)
 {
@@ -994,12 +992,11 @@ bool SwDBManager::MergeMailFiles(SwWrtShell* pSourceShell,
 bCancel = false;
 
 // in case of creating a single resulting file this has to be 
created here
+ 

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

2016-01-27 Thread Stephan Bergmann
 source/text/shared/01/05020301.xhp |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5f4c82272d89fb90ee0114705bb88f230b5a439d
Author: Stephan Bergmann 
Date:   Wed Jan 27 17:35:55 2016 +0100

...and two more

Change-Id: I7c546d9fa91bd06dcb3782c445a62eea37598cef

diff --git a/source/text/shared/01/05020301.xhp 
b/source/text/shared/01/05020301.xhp
index da57a11..f06d812 100644
--- a/source/text/shared/01/05020301.xhp
+++ b/source/text/shared/01/05020301.xhp
@@ -142,10 +142,10 @@
 
 
 
-.5 as 0.5 (with two extra spaces at the 
end)
+.5 as 0.5 (with two extra spaces at the 
end)
 
 
-0.???
+0.???
 
 
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-01-27 Thread Stanislav Horacek
 source/text/shared/00/00040500.xhp  |   10 +-
 source/text/swriter/00/0405.xhp |2 +-
 source/text/swriter/01/0513.xhp |4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)

New commits:
commit 77d3a650db9fec7c512bb8e1dc3fae63fe4f99f9
Author: Stanislav Horacek 
Date:   Wed Jan 20 18:59:08 2016 +0100

style category is called "List Styles", not "Numbering Styles"

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

diff --git a/source/text/shared/00/00040500.xhp 
b/source/text/shared/00/00040500.xhp
index 9528d29..481248b 100644
--- a/source/text/shared/00/00040500.xhp
+++ b/source/text/shared/00/00040500.xhp
@@ -264,7 +264,7 @@
 Choose 
Format - Bullets and Numbering. Open Options tab 
page
 Open Styles and 
Formatting - Presentation Styles - context menu of an Outline Style - 
choose New/Modify 
 
-Open Styles and 
Formatting - Numbering Styles - context menu of an entry - choose 
New/Modify 
+Open Styles and 
Formatting - List Styles - context menu of an entry - choose 
New/Modify
 
 
 
@@ -272,7 +272,7 @@
 Choose 
Format - Bullets and Numbering - Bullets tab
 Open Styles and Formatting - 
Presentation Styles - context menu of an Outline Style - choose 
New/Modify 
 
-Open Styles and Formatting - 
Numbering Styles - context menu of an entry - choose New/Modify 
+Open Styles and Formatting - List 
Styles - context menu of an entry - choose New/Modify
 
 
 
@@ -280,14 +280,14 @@
 Choose 
Format - Bullets and Numbering - Numbering tab
 Open Styles and 
Formatting - Presentation Styles - context menu of an Outline Style - 
choose New/Modify 
 
-Open Styles and 
Formatting - Numbering Styles - context menu of an entry - choose 
New/Modify 
+Open Styles and 
Formatting - List Styles - context menu of an entry - choose 
New/Modify
 
 
 Choose Format - Bullets and 
Numbering - Image tab 
 
 
 Choose 
Format - Bullets and Numbering - Outline tab
-Open Styles and 
Formatting - Numbering Styles - context menu of an entry - choose 
New/Modify 
+Open Styles and 
Formatting - List Styles - context menu of an entry - choose 
New/Modify
 
 
 
@@ -295,7 +295,7 @@
 Choose 
Format - Bullets and Numbering. Open Position tab 
page
 Choose Tools - Outline 
Numbering - Position tab 
 
-Open Styles and Formatting - 
Numbering Styles - context menu of an entry - choose 
New/Modify 
+Open Styles and Formatting - 
List Styles - context menu of an entry - choose New/Modify
 
 
 
diff --git a/source/text/swriter/00/0405.xhp 
b/source/text/swriter/00/0405.xhp
index ad2e020..f039fb9 100644
--- a/source/text/swriter/00/0405.xhp
+++ b/source/text/swriter/00/0405.xhp
@@ -79,7 +79,7 @@
  Choose Format - Styles and Formatting - open 
context menu Modify/New (for Frame Styles)
   
   
- Choose Format - Styles and Formatting - open 
context menu Modify/New (for Numbering Styles)
+ Choose Format - Styles and Formatting - open 
context menu Modify/New (for List Styles)
   
   Choose Format - AutoCorrect - While 
Typing
 
diff --git a/source/text/swriter/01/0513.xhp 
b/source/text/swriter/01/0513.xhp
index 5bb79fa..d10a8a6 100644
--- a/source/text/swriter/01/0513.xhp
+++ b/source/text/swriter/01/0513.xhp
@@ -89,10 +89,10 @@
 
 
 
-Numbering Styles
+List 
Styles
 
 
-Use Numbering Styles to format numbered or bulleted 
lists.
+Use List 
Styles to format numbered or bulleted lists.
 
 
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-01-27 Thread aybuke
 sfx2/source/control/unoctitm.cxx |   33 +
 1 file changed, 21 insertions(+), 12 deletions(-)

New commits:
commit 3563d8dde1068094a7b79aad4aa864301583006d
Author: aybuke 
Date:   Tue Jan 19 17:28:30 2016 +0200

tdf#95505 Dump usage stats to text file in user profile.

Change-Id: I12c44db6f03c789682688d39aafb650d074c63f5
Reviewed-on: https://gerrit.libreoffice.org/21609
Tested-by: Jenkins 
Reviewed-by: jan iversen 

diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 6e63bc7..78bd160 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -68,6 +68,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include 
 #include 
@@ -77,8 +78,6 @@
 #include 
 #include 
 
-#define USAGE "file:///~/.config/libreofficedev/4/user/usage.txt"
-
 using namespace ::com::sun::star;
 using namespace ::com::sun::star::uno;
 using namespace ::com::sun::star::util;
@@ -645,28 +644,38 @@ void UsageInfo::save()
 if (!mbIsCollecting)
 return;
 
-const OUString path(USAGE);
+OUString path(SvtPathOptions().GetConfigPath());
+path += "usage/";
+osl::Directory::createPath(path);
+
+//get system time information.
+TimeValue systemTime;
+TimeValue localTime;
+oslDateTime localDateTime;
+osl_getSystemTime(  );
+osl_getLocalTimeFromSystemTime( ,  );
+osl_getDateTimeFromTimeValue( ,  );
+
+sal_Char time[1024];
+sprintf(time,"%4i-%02i-%02iT%02i_%02i_%02i", localDateTime.Year, 
localDateTime.Month, localDateTime.Day, localDateTime.Hours, 
localDateTime.Minutes, localDateTime.Seconds);
+
+//filename type: usage--MM-DDTHH_MM_SS.csv
+OUString filename = "usage-" + OUString::createFromAscii(time) + ".csv";
+path += filename;
+
 osl::File file(path);
 
 if( file.open(osl_File_OpenFlag_Read | osl_File_OpenFlag_Write | 
osl_File_OpenFlag_Create) == osl::File::E_None )
 {
-OString aUsageInfoMsg = "Usage information:\n";
+OString aUsageInfoMsg = "Document Type,Command,Count";
 
 for (UsageMap::const_iterator it = maUsage.begin(); it != 
maUsage.end(); ++it)
 aUsageInfoMsg += "\n" + it->first.toUtf8() + ";" + 
OString::number(it->second);
 
-aUsageInfoMsg += "\nUsage information end\n";
 sal_uInt64 written = 0;
 file.write(aUsageInfoMsg.pData->buffer, aUsageInfoMsg.getLength(), 
written);
 file.close();
 }
-
-else{
-std::cerr << "Usage information:" << std::endl;
-for (UsageMap::const_iterator it = maUsage.begin(); it != 
maUsage.end(); ++it)
-std::cerr << it->first << ';' << it->second << std::endl;
-std::cerr << "Usage information end" << std::endl;
-}
 }
 
 class theUsageInfo : public rtl::Static {};
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: external/libxmlsec

2016-01-27 Thread Miklos Vajna
 external/libxmlsec/xmlsec1-nss-sha256.patch.1 |   31 +-
 1 file changed, 26 insertions(+), 5 deletions(-)

New commits:
commit c6967f6d1889e08bcd1d206d2b28a598f812641d
Author: Miklos Vajna 
Date:   Wed Jan 27 17:08:01 2016 +0100

tdf#76142 libxmlsec: fix xmlSecNssDigestVerify() for SHA-256

With this, SfxObjectShell_Impl::showBrokenSignatureWarning() is no
longer triggered for the SHA-256 bugdoc.

Change-Id: I7a2c5c8517c757e2983f57a3a5908abb941e7a04

diff --git a/external/libxmlsec/xmlsec1-nss-sha256.patch.1 
b/external/libxmlsec/xmlsec1-nss-sha256.patch.1
index af5b956..051f0d5 100644
--- a/external/libxmlsec/xmlsec1-nss-sha256.patch.1
+++ b/external/libxmlsec/xmlsec1-nss-sha256.patch.1
@@ -1,4 +1,4 @@
-From 0e343965d4c84480207a90d5a83dacfb826be386 Mon Sep 17 00:00:00 2001
+From 04101dc871b13cba28d520fd00caf2d96b2e4c72 Mon Sep 17 00:00:00 2001
 From: Miklos Vajna 
 Date: Mon, 25 Jan 2016 11:24:01 +0100
 Subject: [PATCH] NSS glue layer: add SHA-256 support
@@ -7,8 +7,8 @@ Subject: [PATCH] NSS glue layer: add SHA-256 support
  include/xmlsec/nss/crypto.h | 25 
  src/nss/crypto.c|  4 
  src/nss/digests.c   | 57 +
- src/nss/signatures.c| 44 ++
- 4 files changed, 130 insertions(+)
+ src/nss/signatures.c| 51 
+ 4 files changed, 137 insertions(+)
 
 diff --git a/include/xmlsec/nss/crypto.h b/include/xmlsec/nss/crypto.h
 index 42ba6ca..707f8d9 100644
@@ -157,10 +157,31 @@ index 5a1db91..0c4657c 100644
  
  
 diff --git a/src/nss/signatures.c b/src/nss/signatures.c
-index 3c9639c..c9afa4e 100644
+index 3c9639c..fb58403 100644
 --- a/src/nss/signatures.c
 +++ b/src/nss/signatures.c
-@@ -545,6 +545,50 @@ xmlSecNssTransformRsaSha1GetKlass(void) {
+@@ -87,6 +87,9 @@ xmlSecNssSignatureCheckId(xmlSecTransformPtr transform) {
+ if(xmlSecTransformCheckId(transform, xmlSecNssTransformRsaSha1Id)) {
+   return(1);
+ }
++if(xmlSecTransformCheckId(transform, xmlSecNssTransformRsaSha256Id)) {
++  return(1);
++}
+ #endif /* XMLSEC_NO_RSA */
+ 
+ return(0);
+@@ -123,6 +126,10 @@ xmlSecNssSignatureInitialize(xmlSecTransformPtr 
transform) {
+   ctx->keyId  = xmlSecNssKeyDataRsaId;
+   ctx->alg= SEC_OID_PKCS1_SHA1_WITH_RSA_ENCRYPTION;
+ } else 
++if(xmlSecTransformCheckId(transform, xmlSecNssTransformRsaSha256Id)) {
++  ctx->keyId  = xmlSecNssKeyDataRsaId;
++  ctx->alg= SEC_OID_PKCS1_SHA256_WITH_RSA_ENCRYPTION;
++} else
+ #endif /* XMLSEC_NO_RSA */
+ if(1) {
+   xmlSecError(XMLSEC_ERRORS_HERE, 
+@@ -545,6 +552,50 @@ xmlSecNssTransformRsaSha1GetKlass(void) {
  return();
  }
  
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: helpcontent2

2016-01-27 Thread Stephan Bergmann
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 37313c857e21f4be097984fc094b683c2b051262
Author: Stephan Bergmann 
Date:   Wed Jan 27 17:14:55 2016 +0100

Updated core
Project: help  591487475aa421d1393a54f328524886519a4095

Unique IDs (broken with prev. commit)

Change-Id: I0954d35bd5e13a3d63105425ceac8039a56ab2ef

diff --git a/helpcontent2 b/helpcontent2
index ed8d3d9..5914874 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit ed8d3d936d9008a34a1f59baee2c241157588dba
+Subproject commit 591487475aa421d1393a54f328524886519a4095
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 82335] Register LibreOffice for Kingsoft Office file types

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=82335

--- Comment #21 from Dhruv Khattar  ---
I want to work on this issue.
Can someone please guide me through?

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


[Libreoffice-commits] core.git: helpcontent2

2016-01-27 Thread Stanislav Horacek
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f010f3961867c717868a9d891f13d7a6eef5b3c5
Author: Stanislav Horacek 
Date:   Wed Jan 20 18:59:08 2016 +0100

Updated core
Project: help  77d3a650db9fec7c512bb8e1dc3fae63fe4f99f9

style category is called "List Styles", not "Numbering Styles"

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

diff --git a/helpcontent2 b/helpcontent2
index 0d03b3d..77d3a65 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit 0d03b3df4b598e8b0fa431757c64ff7b005e0f8a
+Subproject commit 77d3a650db9fec7c512bb8e1dc3fae63fe4f99f9
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-01-27 Thread Laurent Balland-Poirier
 source/text/shared/01/05020301.xhp |   20 +---
 1 file changed, 17 insertions(+), 3 deletions(-)

New commits:
commit ed8d3d936d9008a34a1f59baee2c241157588dba
Author: Laurent Balland-Poirier 
Date:   Tue Jan 26 22:34:23 2016 +0100

tdf#40517 Update for '?' in decimal number format

Add help to use '?' in user defined number format
Correction of ordered list

Change-Id: Ia14a34cbc0d2d9cff4601a0bd19b392a3aaae268
Reviewed-on: https://gerrit.libreoffice.org/21827
Reviewed-by: jan iversen 
Tested-by: jan iversen 

diff --git a/source/text/shared/01/05020301.xhp 
b/source/text/shared/01/05020301.xhp
index 301db2c..b8998c9 100644
--- a/source/text/shared/01/05020301.xhp
+++ b/source/text/shared/01/05020301.xhp
@@ -47,14 +47,12 @@
 
 In a number format code with three sections, the first section 
applies to positive values, the second section to negative values, and the 
third section to the value zero.
 
-
-
 
 You can also assign conditions to the three sections, so that the 
format is only applied if a condition is met.
 
 
 Decimal Places and Significant Digits
-Use zero (0) or the number sign (#) as placeholders in your number 
format code to represent numbers. The (#) only displays significant digits, 
while the (0) displays zeroes if there are fewer digits in the number than in 
the number format.
+Use zero (0), the number sign (#) or the question mark (?) as 
placeholders in your number format code to represent numbers. The (#) only 
displays significant digits, while the (0) displays zeroes if there are fewer 
digits in the number than in the number format. The (?) works as the (#) but 
adds a space character to keep decimal alignment if there is a hidden 
non-significant zero.
 Use question marks (?) to represent the number of digits to 
include in the numerator and the denominator of a fraction. Fractions that do 
not fit the pattern that you define are displayed as floating point 
numbers.
 If a number contains more digits to the right of the decimal 
delimiter than there are placeholders in the format, the number is rounded 
accordingly. If a number contains more digits to the left of the decimal 
delimiter than there are placeholders in the format, the entire number is 
displayed. Use the following list as a guide for using placeholders when you 
create a number format code:
 
@@ -76,6 +74,14 @@
 
 
 
+?
+
+
+Displays space characters instead of extra zeros.
+
+
+
+
 0 (Zero)
 
 
@@ -134,6 +140,14 @@
 0.##
 
 
+
+
+.5 as 0.5 (with two extra spaces at the 
end)
+
+
+0.???
+
+
 
 
 Thousands Separator
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-01-27 Thread Stephan Bergmann
 source/text/shared/01/05020301.xhp |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 591487475aa421d1393a54f328524886519a4095
Author: Stephan Bergmann 
Date:   Wed Jan 27 17:14:55 2016 +0100

Unique IDs (broken with prev. commit)

Change-Id: I0954d35bd5e13a3d63105425ceac8039a56ab2ef

diff --git a/source/text/shared/01/05020301.xhp 
b/source/text/shared/01/05020301.xhp
index b8998c9..73169d3 100644
--- a/source/text/shared/01/05020301.xhp
+++ b/source/text/shared/01/05020301.xhp
@@ -74,7 +74,7 @@
 
 
 
-?
+?
 
 
 Displays space characters instead of extra zeros.
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 76142] EU-conform digital signatures (XAdES, ASiC container) in Libre Office

2016-01-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=76142

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

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

tdf#76142 libxmlsec: fix xmlSecNssDigestVerify() for SHA-256

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
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


  1   2   3   4   >