[Libreoffice-bugs] [Bug 93655] Crash on sort

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93655

geek...@vfemail.net 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


[Libreoffice-bugs] [Bug 93159] Export as PDF - "Page Number" & "Page Count" (aka "Page numbers" & "Statistics") not calculating

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93159

Beluga  changed:

   What|Removed |Added

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

--- Comment #2 from Beluga  ---
(In reply to Randolph from comment #1)
> Update: Actually, this bug only seems to occur if 'Export to PDF' is
> selected from the 'print preview' screen.
> 
> If you close 'print preview' and then export, then the correct numbers are
> inserted.

Works ok for me when doing export to pdf while the print preview is active.

Try with 5.0.1 to be sure and as a final method:
https://wiki.documentfoundation.org/User_Profile#Resolving_corruption_in_the_user_profile

Win 7 Pro 64-bit, Version: 5.0.1.2 (32-bit)
Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale: fi-FI (fi_FI)

-- 
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 93841] New: Logical results (boolean) instead of numeric ones in calc

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93841

Bug ID: 93841
   Summary: Logical results (boolean) instead of numeric ones in
calc
   Product: LibreOffice
   Version: unspecified
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: major
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: cavall...@faunalia.it

In calc, I'm getting logical results (true/false) instead of numeric results
for simple formulas like =2/4.
It worked fine until recently, possibly until the last upgrade (I'm on 4.4.5.2
now).
This influences also existing spreadsheets, so I'm basically stuck.
Debia sid.
Tried to ask for assistance on IR and on 
https://ask.libreoffice.org/en/question/56957/logical-results-boolean-instead-of-numeric-ones-in-calc/
without reply, so I resolved to open a ticket.

-- 
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 93146] FORMATTING:Index marks included in a table of contents are not considered as hyperlinks

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93146

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1
   Severity|normal  |minor

--- Comment #1 from Beluga  ---
Confirmed, also reproduced from scratch.

Win 7 Pro 64-bit, Version: 5.0.1.2 (32-bit)
Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale: fi-FI (fi_FI)

-- 
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: sc/source

2015-09-01 Thread Tor Lillqvist
 sc/source/core/tool/dbdata.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 04ff8103ab29842ed5d2b3a310c9aa96eef8a966
Author: Tor Lillqvist 
Date:   Tue Sep 1 20:29:09 2015 +0300

WaE: implicit conversion of literal of type 'int' to 'bool'

Change-Id: I01290e9257aff844106b677ce2167b4b0ee96dd2

diff --git a/sc/source/core/tool/dbdata.cxx b/sc/source/core/tool/dbdata.cxx
index 9c607ba..f9c69b2 100644
--- a/sc/source/core/tool/dbdata.cxx
+++ b/sc/source/core/tool/dbdata.cxx
@@ -716,7 +716,7 @@ void ScDBData::RefreshTableColumnNames( ScDocument* pDoc )
 break;  // do while
 }
 ++nCount;
-} while(1);
+} while(true);
 }
 }
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-ux-advise] [Bug 93837] Allow customization of the Context Menus

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93837

--- Comment #2 from Charles  ---
Thanks Stuart!

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


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

2015-09-01 Thread Michael Meeks
 vcl/inc/salbmp.hxx|6 --
 vcl/qa/cppunit/BitmapTest.cxx |   29 ++---
 2 files changed, 26 insertions(+), 9 deletions(-)

New commits:
commit f4d2337ef2ef324b67e231ebb63259d03d3e3470
Author: Michael Meeks 
Date:   Tue Sep 1 19:33:43 2015 +0100

Fixup CRC related unit tests for now.

Change-Id: If15e30908103780d5d01191ee98f390dbebfc1d3

diff --git a/vcl/inc/salbmp.hxx b/vcl/inc/salbmp.hxx
index 003a63a..13e873e 100644
--- a/vcl/inc/salbmp.hxx
+++ b/vcl/inc/salbmp.hxx
@@ -70,8 +70,10 @@ public:
 virtual bool GetChecksum(ChecksumType& rChecksum) const
 {
 updateChecksum();
-assert(mbChecksumValid);
-rChecksum = mnChecksum;
+if (!mbChecksumValid)
+rChecksum = 0; // back-compat
+else
+rChecksum = mnChecksum;
 return mbChecksumValid;
 }
 
diff --git a/vcl/qa/cppunit/BitmapTest.cxx b/vcl/qa/cppunit/BitmapTest.cxx
index a2ef435..949f75d 100644
--- a/vcl/qa/cppunit/BitmapTest.cxx
+++ b/vcl/qa/cppunit/BitmapTest.cxx
@@ -187,8 +187,11 @@ void BitmapTest::testCRC()
 ScopedVclPtrInstance aVDev;
 aVDev->SetBackground(Wallpaper(COL_WHITE));
 aVDev->SetOutputSizePixel(Size(1023, 759));
+
+#if 0 // disabled for now - oddly breaks on OS/X - but why ?
 Bitmap aWhiteCheck = getAsBitmap(aVDev);
 CPPUNIT_ASSERT(aCRCs.find(aWhiteCheck.GetChecksum()) != aCRCs.end());
+#endif
 
 // a 1x1 black & white checkerboard
 aVDev->DrawCheckered(Point(), aVDev->GetOutputSizePixel(), 1, 1);
commit bcc458c1dcca364752e8204172b0325b8310dc37
Author: Michael Meeks 
Date:   Tue Sep 1 17:28:21 2015 +0100

Tweak VCL unit tests for OpenGL.

Change-Id: Ia36f8424226da4e66ae991abd4d6f24604db324c

diff --git a/vcl/qa/cppunit/BitmapTest.cxx b/vcl/qa/cppunit/BitmapTest.cxx
index 28dd9c2..a2ef435 100644
--- a/vcl/qa/cppunit/BitmapTest.cxx
+++ b/vcl/qa/cppunit/BitmapTest.cxx
@@ -21,6 +21,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include "BitmapSymmetryCheck.hxx"
 
@@ -51,11 +52,16 @@ void BitmapTest::testConvert()
 Bitmap::ScopedReadAccess pReadAccess(aBitmap);
 CPPUNIT_ASSERT_EQUAL(static_cast(8), 
pReadAccess->GetBitCount());
 #if defined WNT
-// Scanlines padded to DWORD multiples, it seems
-CPPUNIT_ASSERT_EQUAL(static_cast(12), 
pReadAccess->GetScanlineSize());
-#else
-CPPUNIT_ASSERT_EQUAL(static_cast(10), 
pReadAccess->GetScanlineSize());
+if (!OpenGLHelper::isVCLOpenGLEnabled())
+{
+// GDI Scanlines padded to DWORD multiples, it seems
+CPPUNIT_ASSERT_EQUAL(static_cast(12), 
pReadAccess->GetScanlineSize());
+}
+else
 #endif
+{
+CPPUNIT_ASSERT_EQUAL(static_cast(10), 
pReadAccess->GetScanlineSize());
+}
 CPPUNIT_ASSERT(pReadAccess->HasPalette());
 const BitmapColor& rColor = 
pReadAccess->GetPaletteColor(pReadAccess->GetPixelIndex(1, 1));
 CPPUNIT_ASSERT_EQUAL(sal_Int32(204), sal_Int32(rColor.GetRed()));
@@ -75,10 +81,16 @@ void BitmapTest::testConvert()
 #else
 CPPUNIT_ASSERT_EQUAL(static_cast(24), 
pReadAccess->GetBitCount());
 #if defined WNT
-CPPUNIT_ASSERT_EQUAL(sal_uLong(32), pReadAccess->GetScanlineSize());
-#else
-CPPUNIT_ASSERT_EQUAL(sal_uLong(30), pReadAccess->GetScanlineSize());
+if (!OpenGLHelper::isVCLOpenGLEnabled())
+{
+// GDI Scanlines padded to DWORD multiples, it seems
+CPPUNIT_ASSERT_EQUAL(sal_uLong(32), 
pReadAccess->GetScanlineSize());
+}
+else
 #endif
+{
+CPPUNIT_ASSERT_EQUAL(sal_uLong(30), 
pReadAccess->GetScanlineSize());
+}
 #endif
 CPPUNIT_ASSERT(!pReadAccess->HasPalette());
 Color aColor = pReadAccess->GetPixel(0, 0);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: vcl/CppunitTest_vcl_bitmap_test.mk

2015-09-01 Thread Michael Meeks
 vcl/CppunitTest_vcl_bitmap_test.mk |2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 97f24ba75071de46fbe7a5046916b193248081eb
Author: Michael Meeks 
Date:   Tue Sep 1 20:27:39 2015 +0100

More vcl unit test headers for good measure.

Change-Id: I55df85df2d01c322e5725fb2844333f967ef48e2

diff --git a/vcl/CppunitTest_vcl_bitmap_test.mk 
b/vcl/CppunitTest_vcl_bitmap_test.mk
index 5c32e6a..33a0772 100644
--- a/vcl/CppunitTest_vcl_bitmap_test.mk
+++ b/vcl/CppunitTest_vcl_bitmap_test.mk
@@ -17,6 +17,8 @@ $(eval $(call 
gb_CppunitTest_add_exception_objects,vcl_bitmap_test, \
 $(eval $(call gb_CppunitTest_use_externals,vcl_bitmap_test,\
boost_headers \
glew \
+   glm_headers \
+mesa_headers \
 ))
 
 $(eval $(call gb_CppunitTest_set_include,vcl_bitmap_test,\
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2015-09-01 Thread Stephan Bergmann
 configmgr/source/components.cxx|4 
 configmgr/source/dconf.cxx |  816 -
 configmgr/source/dconf.hxx |7 
 configmgr/source/modifications.hxx |2 
 4 files changed, 730 insertions(+), 99 deletions(-)

New commits:
commit e96b8bd4d4fd4bce48bacf69bed5d5fe10237dec
Author: Stephan Bergmann 
Date:   Tue Sep 1 18:55:30 2015 +0200

configmgr: support writing back to dconf (WIP)

Needs to be enabled manually for now by changing CONFIGURATION_LAYERS's tail
from " user:..." to " user:*... dconf:!".

Change-Id: I31cd806f21d2ded376832faf98f49167b7243d1c

diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx
index 1b9066a..a51c5ac 100644
--- a/configmgr/source/components.cxx
+++ b/configmgr/source/components.cxx
@@ -291,7 +291,9 @@ void Components::writeModifications() {
 }
 break;
 case ModificationTarget::Dconf:
-//TODO
+#if ENABLE_DCONF
+dconf::writeModifications(*this, data_);
+#endif
 break;
 }
 }
diff --git a/configmgr/source/dconf.cxx b/configmgr/source/dconf.cxx
index 331545a..ce871a3 100644
--- a/configmgr/source/dconf.cxx
+++ b/configmgr/source/dconf.cxx
@@ -12,12 +12,19 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
+#include 
 
+extern "C" {
+// 
+// "common/dconf-changeset.h etc. lack extern "C" wrapper for C++"
 #include 
+}
 
 #include 
+#include 
 
 #include 
 #include 
@@ -128,7 +135,7 @@ private:
 
 class GVariantHolder {
 public:
-explicit GVariantHolder(GVariant * variant): variant_(variant) {}
+explicit GVariantHolder(GVariant * variant = nullptr): variant_(variant) {}
 
 ~GVariantHolder() { unref(); }
 
@@ -137,6 +144,8 @@ public:
 variant_ = variant;
 }
 
+void release() { variant_ = nullptr; }
+
 GVariant * get() const { return variant_; }
 
 private:
@@ -152,6 +161,25 @@ private:
 GVariant * variant_;
 };
 
+class GVariantTypeHolder {
+public:
+explicit GVariantTypeHolder(GVariantType * type): type_(type) {}
+
+~GVariantTypeHolder() {
+if (type_ != nullptr) {
+g_variant_type_free(type_);
+}
+}
+
+GVariantType * get() const { return type_; }
+
+private:
+GVariantTypeHolder(GVariantTypeHolder &) = delete;
+void operator =(GVariantTypeHolder) = delete;
+
+GVariantType * type_;
+};
+
 class StringArrayHolder {
 public:
 explicit StringArrayHolder(gchar ** array): array_(array) {}
@@ -167,6 +195,27 @@ private:
 gchar ** array_;
 };
 
+class ChangesetHolder {
+public:
+explicit ChangesetHolder(DConfChangeset * changeset):
+changeset_(changeset)
+{}
+
+~ChangesetHolder() {
+if (changeset_ != nullptr) {
+dconf_changeset_unref(changeset_);
+}
+}
+
+DConfChangeset * get() const { return changeset_; }
+
+private:
+ChangesetHolder(ChangesetHolder &) = delete;
+void operator =(ChangesetHolder) = delete;
+
+DConfChangeset * changeset_;
+};
+
 bool decode(OUString * string, bool slash) {
 for (sal_Int32 i = 0;; ++i) {
 i = string->indexOf('\\', i);
@@ -990,6 +1039,509 @@ void readDir(
 }
 }
 
+OString encodeSegment(OUString const & name, bool setElement) {
+if (!setElement) {
+return name.toUtf8();
+}
+OUStringBuffer buf;
+for (sal_Int32 i = 0; i != name.getLength(); ++i) {
+sal_Unicode c = name[i];
+switch (c) {
+case '\0':
+buf.append("\\00");
+break;
+case '/':
+buf.append("\\2F");
+break;
+case '\\':
+buf.append("\\5C");
+break;
+default:
+buf.append(c);
+}
+}
+return buf.makeStringAndClear().toUtf8();
+}
+
+OString encodeString(OUString const & value) {
+OUStringBuffer buf;
+for (sal_Int32 i = 0; i != value.getLength(); ++i) {
+sal_Unicode c = value[i];
+switch (c) {
+case '\0':
+buf.append("\\00");
+break;
+case '\\':
+buf.append("\\5C");
+break;
+default:
+buf.append(c);
+}
+}
+return buf.makeStringAndClear().toUtf8();
+}
+
+bool addProperty(
+ChangesetHolder const & changeset, OString const & pathRepresentation,
+Type type, bool nillable, css::uno::Any const & value)
+{
+Type dynType = getDynamicType(value);
+assert(dynType != TYPE_ERROR);
+if (type == TYPE_ANY) {
+type = dynType;
+}
+GVariantHolder v;
+std::forward_list children;
+if (dynType == TYPE_NIL) {
+switch (type) {
+case TYPE_BOOLEAN:
+v.reset(g_variant_new_maybe(G_VARIANT_TYPE_BOOLEAN, nullptr));
+break;
+case TYPE_SHORT:
+v.reset(g_variant_new_maybe(G_VARIANT_TYPE_INT16, 

[Libreoffice-ux-advise] [Bug 93837] Allow customization of the Context Menus

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93837

V Stuart Foote  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||libreoffice-ux-advise@lists
   ||.freedesktop.org,
   ||vstuart.fo...@utsa.edu
  Component|UI  |ux-advise
 Ever confirmed|0   |1

--- Comment #1 from V Stuart Foote  ---
Believe most of the context menus remain source based .src code

Probably should be moved into .UI Glade configurable widgets, but I have no
idea how complex that effort would be.

Still, might be worth undertaking.

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


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

2015-09-01 Thread Tor Lillqvist
 vcl/opengl/salbmp.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 086aec27ddfd72dc21fffb0466cb5c815e2b4169
Author: Tor Lillqvist 
Date:   Tue Sep 1 20:04:43 2015 +0300

WaE: C-style cast from const sal_uInt64 * to sal_uInt8 * 
[loplugin:cstylecast]

Change-Id: I2ab166ab0286213bf61f83fc257a3cc7123413c6

diff --git a/vcl/opengl/salbmp.cxx b/vcl/opengl/salbmp.cxx
index 30ef71f..ee71ade 100644
--- a/vcl/opengl/salbmp.cxx
+++ b/vcl/opengl/salbmp.cxx
@@ -514,7 +514,7 @@ bool OpenGLSalBitmap::calcChecksumGL(OpenGLTexture& 
rInputTexture, ChecksumType&
 OUString FragShader("areaHashCRC64TFragmentShader");
 
 static const OpenGLTexture aCRCTableTexture(512, 1, GL_RGBA, 
GL_UNSIGNED_BYTE,
-(sal_uInt8*)(vcl_get_crc64_table()));
+const_cast(reinterpret_cast(vcl_get_crc64_table(;
 
 // First Pass
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 93837] Allow customization of the Context Menus

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93837

V Stuart Foote  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||libreoffice-ux-advise@lists
   ||.freedesktop.org,
   ||vstuart.fo...@utsa.edu
  Component|UI  |ux-advise
 Ever confirmed|0   |1

--- Comment #1 from V Stuart Foote  ---
Believe most of the context menus remain source based .src code

Probably should be moved into .UI Glade configurable widgets, but I have no
idea how complex that effort would be.

Still, might be worth undertaking.

-- 
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 93834] CALC: Moving with arrows doesn't work when cells activated by double mouse click and '=' clicked

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93834

Michael Weghorn  changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

--- Comment #2 from Michael Weghorn  ---
(In reply to raal from comment #1)
> Reproducible with Version: 5.1.0.0.alpha1+
> Build ID: b2363e98af7b0281279617e43b8fec5b898b9120
> TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time:
> 2015-08-26_00:57:35
> 
> Works OK in LibreOffice 3.5.0 ,Build ID: d6cde02 -> regression

I planned to bibisect this. However I did not find a single version where
moving to another cell using the keyboard worked after double-clicking into a
cell and then pressing "=".

I also tried with OpenOffice.org 3.3.0 (Build:9567) and LibreOffice 3.5.0rc3
(Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735) from the
"bibisect-releases" repository.

However, in all versions I looked at, moving to another worked fine when
selecting the first cell using a single mouse click, i.e.:

1. Activate a cell by SINGLE mouse click
2. Click "=" to start formula syntax, then click the arrow keys to select other
cells to form a formula for example (=A3*B5)


@raal: Could you possibly verify again whether it actually works in LibreOffice
3.5 after using a DOUBLE mouse click to select the first cell.


In general, I am not certain whether the described behaviour is actually a bug
or whether the behaviour is OK as it is (I do not feel able to judge this...).

-- 
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/opengl

2015-09-01 Thread Stephan Bergmann
 vcl/inc/opengl/texture.hxx |4 ++--
 vcl/opengl/salbmp.cxx  |2 +-
 vcl/opengl/texture.cxx |4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 84eafb6a051863a775f122cec1bc27d9f5fef6e4
Author: Stephan Bergmann 
Date:   Tue Sep 1 21:26:51 2015 +0200

More useful param type

...for arg that ultimately ends up as const GLVoid *pixels arg to
glTexImage2D

Change-Id: I69ba2f1dd397fa103f3f59638bec727add3caed7

diff --git a/vcl/inc/opengl/texture.hxx b/vcl/inc/opengl/texture.hxx
index 89fc500..f67b334 100644
--- a/vcl/inc/opengl/texture.hxx
+++ b/vcl/inc/opengl/texture.hxx
@@ -42,7 +42,7 @@ public:
 int mnFreeSlots;
 
 ImplOpenGLTexture( int nWidth, int nHeight, bool bAllocate );
-ImplOpenGLTexture( int nWidth, int nHeight, int nFormat, int nType, 
sal_uInt8* pData );
+ImplOpenGLTexture( int nWidth, int nHeight, int nFormat, int nType, void 
const * pData );
 ImplOpenGLTexture( int nX, int nY, int nWidth, int nHeight );
 ~ImplOpenGLTexture();
 
@@ -93,7 +93,7 @@ public:
 OpenGLTexture(ImplOpenGLTexture* pImpl, Rectangle 
aRectangle, int nSlotNumber = 0);
 
 OpenGLTexture( int nWidth, int nHeight, bool bAllocate = 
true );
-OpenGLTexture( int nWidth, int nHeight, int nFormat, int 
nType, sal_uInt8* pData );
+OpenGLTexture( int nWidth, int nHeight, int nFormat, int 
nType, void const * pData );
 OpenGLTexture( int nX, int nY, int nWidth, int nHeight );
 OpenGLTexture( const OpenGLTexture& rTexture );
 OpenGLTexture( const OpenGLTexture& rTexture, int nX, int 
nY, int nWidth, int nHeight );
diff --git a/vcl/opengl/salbmp.cxx b/vcl/opengl/salbmp.cxx
index ee71ade..4ed2ed0 100644
--- a/vcl/opengl/salbmp.cxx
+++ b/vcl/opengl/salbmp.cxx
@@ -514,7 +514,7 @@ bool OpenGLSalBitmap::calcChecksumGL(OpenGLTexture& 
rInputTexture, ChecksumType&
 OUString FragShader("areaHashCRC64TFragmentShader");
 
 static const OpenGLTexture aCRCTableTexture(512, 1, GL_RGBA, 
GL_UNSIGNED_BYTE,
-const_cast(reinterpret_cast(vcl_get_crc64_table(;
+vcl_get_crc64_table());
 
 // First Pass
 
diff --git a/vcl/opengl/texture.cxx b/vcl/opengl/texture.cxx
index 217b8bf..57bd7a6 100644
--- a/vcl/opengl/texture.cxx
+++ b/vcl/opengl/texture.cxx
@@ -80,7 +80,7 @@ ImplOpenGLTexture::ImplOpenGLTexture( int nX, int nY, int 
nWidth, int nHeight )
 }
 
 // texture from buffer data
-ImplOpenGLTexture::ImplOpenGLTexture( int nWidth, int nHeight, int nFormat, 
int nType, sal_uInt8* pData ) :
+ImplOpenGLTexture::ImplOpenGLTexture( int nWidth, int nHeight, int nFormat, 
int nType, void const * pData ) :
 mnRefCount( 1 ),
 mnTexture( 0 ),
 mnWidth( nWidth ),
@@ -193,7 +193,7 @@ OpenGLTexture::OpenGLTexture( int nX, int nY, int nWidth, 
int nHeight )
 mpImpl = new ImplOpenGLTexture( nX, nY, nWidth, nHeight );
 }
 
-OpenGLTexture::OpenGLTexture( int nWidth, int nHeight, int nFormat, int nType, 
sal_uInt8* pData )
+OpenGLTexture::OpenGLTexture( int nWidth, int nHeight, int nFormat, int nType, 
void const * pData )
 : maRect( Point( 0, 0 ), Size( nWidth, nHeight ) )
 , mnSlotNumber(-1)
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 93163] styles and format: in paragraph style if change to italic you can't change to other kind of font

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93163

--- Comment #3 from jj  ---
Created attachment 118318
  --> https://bugs.documentfoundation.org/attachment.cgi?id=118318=edit
more info

The bug is here try to select betwen italic, normal...

-- 
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 93163] styles and format: in paragraph style if change to italic you can't change to other kind of font

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93163

Beluga  changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

--- Comment #4 from Beluga  ---
I can change anything, italics, font family..

-- 
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 93655] Crash on sort

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93655

--- Comment #2 from geek...@vfemail.net ---
> Please try resetting the user profile, sometimes solves strange issues.

Actually, I tried that reporting the bug. Calc is still crashing. Actually, now
it’s crashing when I try sorting a much smaller spreadsheet.

-- 
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 62196] EDITING: copy-paste from non-LibO-text-source pastes previous clipboard contents

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=62196

--- Comment #56 from Ben Anderson  ---
I have had this copy/paste problem randomly for several years. Just installed
5.0.0.5 and it is still there. I have not taken the time to experiment with
when exactly it occurs. But at a certain point it just keeps pasting the same
exact text over and over regardless of copying again from an external source.
Sometimes if I copy and paste from within LO it clears the problem and I can
paste again from outside LO. Would be great if it could be fixed.

Ben

-- 
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 93163] styles and format: in paragraph style if change to italic you can't change to other kind of font

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93163

--- Comment #2 from jj  ---
The bug is old and still in 5.0, is in linux and win

-- 
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 93837] Allow customization of the Context Menus

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93837

--- Comment #2 from Charles  ---
Thanks Stuart!

-- 
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 93163] styles and format: in paragraph style if change to italic you can't change to other kind of font

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93163

Beluga  changed:

   What|Removed |Added

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

--- Comment #1 from Beluga  ---
I did:
1. create new para style from the sidebar, change font to italic
2. apply style to a para
3. edit the style and change font family
4. works ok

Please confirm the problem is in 5.0.x.
Also, you didn't mention your operating system.

Win 7 Pro 64-bit, Version: 5.0.1.2 (32-bit)
Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale: fi-FI (fi_FI)

-- 
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 93186] FILEOPEN CONFIGURATION Calc Iterations turned OFF on FILEOPEN but not vice versa.

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93186

Beluga  changed:

   What|Removed |Added

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

--- Comment #1 from Beluga  ---
Could not reproduce.
The file saved with iterations on stays that way after looking at the file
saved iterations off and closing Calc.

Please test with 5.0.x.

This might also be the cause:
https://wiki.documentfoundation.org/UserProfile#Resolving_corruption_in_the_user_profile

Win 7 Pro 64-bit, Version: 5.0.1.2 (32-bit)
Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale: fi-FI (fi_FI)

-- 
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: Branch 'aoo/trunk' - 5 commits - sal/qa

2015-09-01 Thread Damjan Jovanovic
 sal/qa/rtl/cipher/makefile.mk |   29 
 sal/qa/rtl/cipher/rtl_cipher.cxx  |  879 ++---
 sal/qa/rtl/process/makefile.mk|   29 
 sal/qa/rtl/process/rtl_Process.cxx|  228 -
 sal/qa/rtl/random/makefile.mk |   27 
 sal/qa/rtl/random/rtl_random.cxx  |  379 +-
 sal/qa/rtl/strings/makefile.mk|   23 
 sal/qa/rtl/strings/test_oustring_compare.cxx  |   34 
 sal/qa/rtl/strings/test_oustring_convert.cxx  |   37 
 sal/qa/rtl/strings/test_oustring_endswith.cxx |   33 
 sal/qa/rtl/strings/test_oustring_noadditional.cxx |8 
 sal/qa/rtl/strings/test_oustringbuffer_utf32.cxx  |   51 
 sal/qa/rtl/textenc/makefile.mk|   40 
 sal/qa/rtl/textenc/rtl_tencinfo.cxx   | 3274 ++
 sal/qa/rtl/textenc/rtl_textcvt.cxx|  138 
 15 files changed, 2340 insertions(+), 2869 deletions(-)

New commits:
commit dfebf9b443ac5981136be78725ae6b74d3351ec2
Author: Damjan Jovanovic 
Date:   Tue Sep 1 17:36:36 2015 +

#i125003# migrate main/sal/qa/rtl/process from cppunit to Google Test.

diff --git a/sal/qa/rtl/process/makefile.mk b/sal/qa/rtl/process/makefile.mk
index 6703f72..acb40ee 100644
--- a/sal/qa/rtl/process/makefile.mk
+++ b/sal/qa/rtl/process/makefile.mk
@@ -33,25 +33,26 @@ ENABLE_EXCEPTIONS=TRUE
 
 .INCLUDE :  settings.mk
 
+.IF "$(ENABLE_UNIT_TESTS)" != "YES"
+all:
+@echo unit tests are disabled. Nothing to do.
+
+.ELSE
+
+
 CFLAGS+= $(LFS_CFLAGS)
 CXXFLAGS+= $(LFS_CFLAGS)
 
-CFLAGSCXX += $(CPPUNIT_CFLAGS)
-
 # BEGIN 
 # auto generated Target:joblist by codegen.pl
-SHL1OBJS=  \
+APP1OBJS=  \
 $(SLO)$/rtl_Process.obj
 
-SHL1TARGET= rtl_Process
-SHL1STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
-
-SHL1IMPLIB= i$(SHL1TARGET)
-# SHL1DEF=$(MISC)$/$(SHL1TARGET).def
+APP1TARGET= rtl_Process
+APP1STDLIBS= $(SALLIB) $(GTESTLIB) $(TESTSHL2LIB)
+APP1RPATH = NONE
+APP1TEST = enabled
 
-DEF1NAME=$(SHL1TARGET)
-# DEF1EXPORTFILE= export.exp
-SHL1VERSIONMAP= $(PRJ)$/qa$/export.map
 # END --
 
 OBJ3FILES=$(OBJ)$/child_process.obj
@@ -78,12 +79,8 @@ APP4OBJS=$(OBJ4FILES)
 # .ENDIF
 APP4STDLIBS=$(SALLIB)
 
-#--- All object files 
---
-# do this here, so we get right dependencies
-SLOFILES=$(SHL1OBJS)
-
 # --- Targets --
 
 .INCLUDE :  target.mk
-.INCLUDE : _cppunit.mk
 
+.ENDIF # "$(ENABLE_UNIT_TESTS)" != "YES"
diff --git a/sal/qa/rtl/process/rtl_Process.cxx 
b/sal/qa/rtl/process/rtl_Process.cxx
index e6d273c..f8883ae 100644
--- a/sal/qa/rtl/process/rtl_Process.cxx
+++ b/sal/qa/rtl/process/rtl_Process.cxx
@@ -29,7 +29,7 @@
 #include 
 #include 
 
-#include 
+#include "gtest/gtest.h"
 #include 
 #include 
 #include 
@@ -47,11 +47,11 @@ inline void printUString( const ::rtl::OUString & str, 
const sal_Char * msg = NU
 {
 if ( msg != NULL )
 {
-t_print("#%s #printUString_u# ", msg );
+printf("#%s #printUString_u# ", msg );
 }
 rtl::OString aString;
 aString = ::rtl::OUStringToOString( str, RTL_TEXTENCODING_ASCII_US );
-t_print("%s\n", (char *)aString.getStr( ) );
+printf("%s\n", (char *)aString.getStr( ) );
 }
 
 // 
-
@@ -72,90 +72,76 @@ inline ::rtl::OUString getModulePath( void )
 
 namespace rtl_Process
 {
-class getAppCommandArg : public CppUnit::TestFixture
+class getAppCommandArg : public ::testing::Test
 {
 public:
 // initialise your test code values here.
-void setUp()
+void SetUp()
 {
 }
 
-void tearDown()
+void TearDown()
 {
 }
+}; // class getAppCommandArg
 
-void getAppCommandArg_001()
-{
+TEST_F(getAppCommandArg, getAppCommandArg_001)
+{
 #if defined(WNT) || defined(OS2)
 const rtl::OUString EXECUTABLE_NAME = 
rtl::OUString::createFromAscii("child_process.exe");
 #else
 const rtl::OUString EXECUTABLE_NAME = 
rtl::OUString::createFromAscii("child_process");
 #endif
-rtl::OUString suCWD = getModulePath();
-// rtl::OUString suCWD2 = getExecutableDirectory();
-
-printUString(suCWD, "path to the current module");
-// printUString(suCWD2, "suCWD2");
-
-oslProcess hProcess = NULL;
-
-const int nParameterCount = 4;
-rtl_uString* pParameters[ nParameterCount ];
-
-pParameters[0] = suParam0.pData;
-pParameters[1] = suParam1.pData;
-pParameters[2] = suParam2.pData;
-pParameters[3] = suParam3.pData;
-
-rtl::OUString suFileURL = suCWD;
-suFileURL += rtl::OUString::createFromAscii("/");
-suFileURL += EXECUTABLE_NAME;
-
-oslProcessError osl_error = osl_executeProcess(
-

[Libreoffice-bugs] [Bug 93163] styles and format: in paragraph style if change to italic you can't change to other kind of font

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93163

--- Comment #5 from jj  ---
>From the place of capture, changes to italic,after to bold or normal

-- 
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: include/svx svx/source

2015-09-01 Thread Caolán McNamara
 include/svx/sdr/table/tablecontroller.hxx |1 
 include/svx/selectioncontroller.hxx   |1 
 svx/source/svdraw/selectioncontroller.cxx |5 ++
 svx/source/table/tablecontroller.cxx  |   52 +++---
 4 files changed, 33 insertions(+), 26 deletions(-)

New commits:
commit 76ce16307dc19d8bd955cbc43da401855ac58e38
Author: Caolán McNamara 
Date:   Tue Sep 1 16:46:26 2015 +0100

refactor to create a HasMarked, no logic change

Change-Id: I667a8582a740f5fbbcdbcd82907e40e82f6165a1

diff --git a/include/svx/sdr/table/tablecontroller.hxx 
b/include/svx/sdr/table/tablecontroller.hxx
index 2b7d13b..1df8742 100644
--- a/include/svx/sdr/table/tablecontroller.hxx
+++ b/include/svx/sdr/table/tablecontroller.hxx
@@ -51,6 +51,7 @@ public:
 SVX_DLLPRIVATE virtual bool onMouseButtonUp(const MouseEvent& rMEvt, 
vcl::Window* pWin) SAL_OVERRIDE;
 SVX_DLLPRIVATE virtual bool onMouseMove(const MouseEvent& rMEvt, 
vcl::Window* pWin) SAL_OVERRIDE;
 
+SVX_DLLPRIVATE virtual bool HasMarked() SAL_OVERRIDE;
 SVX_DLLPRIVATE virtual bool DeleteMarked() SAL_OVERRIDE;
 
 SVX_DLLPRIVATE virtual void onSelectionHasChanged() SAL_OVERRIDE;
diff --git a/include/svx/selectioncontroller.hxx 
b/include/svx/selectioncontroller.hxx
index 52bb9aa..4c4a8e5 100644
--- a/include/svx/selectioncontroller.hxx
+++ b/include/svx/selectioncontroller.hxx
@@ -50,6 +50,7 @@ public:
 virtual void GetState( SfxItemSet& rSet );
 virtual void Execute( SfxRequest& rReq );
 
+virtual bool HasMarked();
 virtual bool DeleteMarked();
 
 virtual bool GetAttributes(SfxItemSet& rTargetSet, bool bOnlyHardAttr) 
const;
diff --git a/svx/source/svdraw/selectioncontroller.cxx 
b/svx/source/svdraw/selectioncontroller.cxx
index d8f7fbf..3138f37 100644
--- a/svx/source/svdraw/selectioncontroller.cxx
+++ b/svx/source/svdraw/selectioncontroller.cxx
@@ -55,6 +55,11 @@ void SelectionController::Execute( SfxRequest& /*rReq*/ )
 {
 }
 
+bool SelectionController::HasMarked()
+{
+return false;
+}
+
 bool SelectionController::DeleteMarked()
 {
 return false;
diff --git a/svx/source/table/tablecontroller.cxx 
b/svx/source/table/tablecontroller.cxx
index cee5e2b..1c4cfcd 100644
--- a/svx/source/table/tablecontroller.cxx
+++ b/svx/source/table/tablecontroller.cxx
@@ -1325,41 +1325,41 @@ void SvxTableController::DistributeRows()
 }
 }
 
+bool SvxTableController::HasMarked()
+{
+return mbCellSelectionMode && mxTable.is();
+}
+
 bool SvxTableController::DeleteMarked()
 {
-if( mbCellSelectionMode )
+if (!HasMarked())
+return false;
+
+const bool bUndo = mpModel && mpModel->IsUndoEnabled();
+if (bUndo)
+mpModel->BegUndo(ImpGetResStr(STR_TABLE_DELETE_CELL_CONTENTS));
+
+CellPos aStart, aEnd;
+getSelectedCells( aStart, aEnd );
+for( sal_Int32 nRow = aStart.mnRow; nRow <= aEnd.mnRow; nRow++ )
 {
-if( mxTable.is() )
+for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ )
 {
-const bool bUndo = mpModel && mpModel->IsUndoEnabled();
-if (bUndo)
-mpModel->BegUndo(ImpGetResStr(STR_TABLE_DELETE_CELL_CONTENTS));
-
-CellPos aStart, aEnd;
-getSelectedCells( aStart, aEnd );
-for( sal_Int32 nRow = aStart.mnRow; nRow <= aEnd.mnRow; nRow++ )
+CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( 
nCol, nRow ).get() ) );
+if (xCell.is() && xCell->hasText())
 {
-for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ 
)
-{
-CellRef xCell( dynamic_cast< Cell* >( 
mxTable->getCellByPosition( nCol, nRow ).get() ) );
-if (xCell.is() && xCell->hasText())
-{
-if (bUndo)
-xCell->AddUndo();
-xCell->SetOutlinerParaObject(0);
-}
-}
+if (bUndo)
+xCell->AddUndo();
+xCell->SetOutlinerParaObject(0);
 }
-
-if (bUndo)
-mpModel->EndUndo();
-
-UpdateTableShape();
-return true;
 }
 }
 
-return false;
+if (bUndo)
+mpModel->EndUndo();
+
+UpdateTableShape();
+return true;
 }
 
 bool SvxTableController::GetStyleSheet( SfxStyleSheet*& rpStyleSheet ) const
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Problem in Bug 93240

2015-09-01 Thread Ashod Nakashian
On Tue, Sep 1, 2015 at 11:50 AM, Shreyansh Gandhi 
wrote:

> Hey, I don't understand the reason why the build failed. Can you please
> take a look?
> http://ci.libreoffice.org/job/lo_gerrit_master/5856/console
>
>
Looks like a Jenkins issue. Other builds have failed as well.

Rebase to rebuild again later when Jenkins shows some successful builds.


>
> On Tue, Sep 1, 2015 at 8:06 PM Michael Stahl  wrote:
>
>> On 01.09.2015 15:34, Shreyansh Gandhi wrote:
>> > I just came across
>> > this:
>> http://stackoverflow.com/questions/24221955/creating-a-unique-ptr-from-a-pointer
>> .
>> > Will it be safe to use this method to push_back into m_Selectors?
>>
>> yes, if it was pushing to a boost::ptr_container before (and we can
>> assume that that works), then converting it to a unique_ptr only at the
>> place when it is pushed is doing exactly the same thing.
>>
>> the only problem to watch out for, if you do it earlier and convert a
>> variable declaration to std::unique_ptr then std::move into the
>> container then the variable contains a null pointer now - but if you
>> convert the bare pointer only inside the push_back call then this
>> problem is avoided.
>>
>>
>> ___
>> LibreOffice mailing list
>> LibreOffice@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/libreoffice
>>
> --
> Regards,
> Shreyansh Gandhi
>
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
>
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 93153] Windows 10 x64 When I exit Writer without saving the document, I get the attached C++ error

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93153

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi

--- Comment #4 from Beluga  ---
Sigil is GPL: https://github.com/Sigil-Ebook/Sigil/releases
Finereader is proprietary & commercial.

It seems to be an issue of Win 10 upgrade messing things 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


[Libreoffice-commits] core.git: vcl/CppunitTest_vcl_bitmap_test.mk

2015-09-01 Thread Michael Stahl
 vcl/CppunitTest_vcl_bitmap_test.mk |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 998973c0153c7fd4c109a081cdf76e1b5fe82d05
Author: Michael Stahl 
Date:   Tue Sep 1 21:04:43 2015 +0200

vcl: evidently that test needs glew headers now

Change-Id: I6c9742c8be222a33feea9f6291b29dde73869a93

diff --git a/vcl/CppunitTest_vcl_bitmap_test.mk 
b/vcl/CppunitTest_vcl_bitmap_test.mk
index 5927b69..5c32e6a 100644
--- a/vcl/CppunitTest_vcl_bitmap_test.mk
+++ b/vcl/CppunitTest_vcl_bitmap_test.mk
@@ -16,6 +16,7 @@ $(eval $(call 
gb_CppunitTest_add_exception_objects,vcl_bitmap_test, \
 
 $(eval $(call gb_CppunitTest_use_externals,vcl_bitmap_test,\
boost_headers \
+   glew \
 ))
 
 $(eval $(call gb_CppunitTest_set_include,vcl_bitmap_test,\
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 93160] Export as PDF (PDF/A format) - Spurious transparency error message generated

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93160

Beluga  changed:

   What|Removed |Added

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

--- Comment #2 from Beluga  ---


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

-- 
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 65439] Export to PDF/A-1a gives transparency warning even when no transparent object is present

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=65439

Beluga  changed:

   What|Removed |Added

 CC||wgbhm...@trashmail.com

--- Comment #18 from Beluga  ---
*** Bug 93160 has been marked as a duplicate of this 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 93175] Borders for selected Navigator list items misaligned at times.

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93175

Beluga  changed:

   What|Removed |Added

   Keywords||regression
 Status|UNCONFIRMED |NEW
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1
 Whiteboard||bibisectRequest
 OS|Linux (All) |All
   Severity|normal  |minor

--- Comment #1 from Beluga  ---
Confirmed.
Problem is not in 4.3.0.1

Win 7 Pro 64-bit, Version: 5.0.1.2 (32-bit)
Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale: fi-FI (fi_FI)

-- 
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 93841] Logical results (boolean) instead of numeric ones in calc

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93841

Joel Madero  changed:

   What|Removed |Added

   Hardware|x86-64 (AMD64)  |All
   Severity|major   |normal

-- 
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 93841] Logical results (boolean) instead of numeric ones in calc

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93841

Joel Madero  changed:

   What|Removed |Added

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

--- Comment #1 from Joel Madero  ---
Please attach a sample document. Setting to NEEDINFO. Once you attach a simple
document please set to UNCONFIRMED.

-- 
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 93842] New: A "can't find this feature" button

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93842

Bug ID: 93842
   Summary: A "can't find this feature" button
   Product: LibreOffice
   Version: unspecified
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: matte...@hotmail.com

While I don't have any issues with LibreOffice, I keep hearing the excuse that
"I tried it once and it didn't have this one feature that I needed and
Microsoft Office did" when trying to convince others to try it.  However, they
never remember what the feature is when I'm talking to them.

My thought is that this issue can be mitigated by placing a prominent and
inviting button on the interface so they can report where a feature is missing
or hard to find.

-- 
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-qa] QA Meetings: Better time? Better format? Better theme song?

2015-09-01 Thread Robinson Tryon
Hi all,

I've chatted with many of you briefly over the last week or two about
finding the best time to have our QA Meetings. With us spread out all
over the world, some of you go to sleep before we wake up over here in
the States, so it's always tricky to find one time slot for everyone.

It's important to me to hear from all of you with feedback,
suggestions, and improvements. Having our meeting times on Wednesdays
is very convenient as I can take our concerns or topics and bring them
up the very next day during the Engineering Steering Committee (ESC)
call.

I have a couple different ideas for improvements, but this week I'm
going to do something new and be available this Wednesday every hour,
starting at 1300 (UTC). I'll show up a minute or two past the hour,
say hi, and see how many QA folks are present in the channel. If we've
got 3+ people, we can have a short (or long) chat.

I'm especially interested in hearing from people who haven't been to
QA Meetings in the past, as growing our team and expanding
team-members' skills is vital to our ability to triage and process all
of the incoming bugs and feature requests.

Of course, there's no need for you to wait until Wednesday to bring up
suggestions about meeting days/times or other improvements to our
collaboration. Email still works marvelously well :-)

Looking forward to chatting with all of you this Wednesday!

Best,
--R

-- 
Robinson Tryon
QA Engineer - The Document Foundation
LibreOffice Community Outreach Herald
qu...@libreoffice.org
802-379-9482 | IRC: colonelqubit on Freenode
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/

[Libreoffice-bugs] [Bug 93830] New: PPTX import: DrawingML fallback of Vertical Picture List SmartArt is not imported correctly

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93830

Bug ID: 93830
   Summary: PPTX import: DrawingML fallback of Vertical Picture
List SmartArt is not imported correctly
   Product: LibreOffice
   Version: unspecified
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Impress
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: tima...@gmail.com

Created attachment 118306
  --> https://bugs.documentfoundation.org/attachment.cgi?id=118306=edit
bugdoc (PPTX)

The attached bugdoc contains a Vertical Picture List SmartArt. LibreOffice
imports the DrawingML fallback of SmartArt. However, textbox layout is not
correct, textboxes overlap with images.

-- 
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 93830] PPTX import: DrawingML fallback of Vertical Picture List SmartArt is not imported correctly

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93830

Andras Timar  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Assignee|libreoffice-b...@lists.free |tima...@gmail.com
   |desktop.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-commits] core.git: Branch 'libreoffice-5-0' - include/vcl vcl/source

2015-09-01 Thread Miklos Vajna
 include/vcl/opengl/OpenGLContext.hxx |1 +
 vcl/source/opengl/OpenGLContext.cxx  |   29 ++---
 2 files changed, 23 insertions(+), 7 deletions(-)

New commits:
commit 20c92dc6b772a6016501499bb1ecc53686dba1fb
Author: Miklos Vajna 
Date:   Fri Aug 14 09:57:53 2015 +0200

vcl opengl: fix setting up debug context on Windows

At least with my AMD card, in case of SAL_FORCEGL=1 the startup crashes
quite early. DrMemory says:

~~Dr.M~~ Error #1: UNADDRESSABLE ACCESS: writing 0x1414-0x1415 1 
byte(s)
~~Dr.M~~ # 0 atioglxx.dll!DrvPresentBuffers  
+0xd6ea6  (0x09a248f6 )
~~Dr.M~~ # 1 atioglxx.dll!DrvPresentBuffers  
+0x3c069c (0x09d0e0ed )
~~Dr.M~~ # 2 vcllo.dll!OpenGLContext::InitGLEW
[c:\lo\master\vcl\source\opengl\openglcontext.cxx:949]
~~Dr.M~~ # 3 vcllo.dll!OpenGLContext::ImplInit
[c:\lo\master\vcl\source\opengl\openglcontext.cxx:866]
~~Dr.M~~ # 4 vcllo.dll!OpenGLContext::init
[c:\lo\master\vcl\source\opengl\openglcontext.cxx:786]
~~Dr.M~~ # 5 vcllo.dll!WinOpenGLSalGraphicsImpl::CreateWinContext 
[c:\lo\master\vcl\opengl\win\gdiimpl.cxx:36]

Turns out that in order to enable the GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB
extension, the GL context must be created with WGL_CONTEXT_DEBUG_BIT_ARB
set. It seems that other drivers did not enforce this so far, but in
this case the driver just crashes without this.

Fix the problem by splitting out the debug setup part of InitGLEW() into
a new InitGLEWDebugging(), and at least on Windows call it only after
wglCreateContextAttribsARB() and wglMakeCurrent(). Additionally make
sure that in the debug case the necessary flag is passed to
wglCreateContextAttribsARB().

Conflicts:
vcl/source/opengl/OpenGLContext.cxx

Change-Id: I6b77e0c06fd85fdae0386a0801f1de1838524586
Reviewed-on: https://gerrit.libreoffice.org/17750
Reviewed-by: Miklos Vajna 
Tested-by: Miklos Vajna 
Reviewed-on: https://gerrit.libreoffice.org/18219
Reviewed-by: Jan Holesovsky 
Tested-by: Jan Holesovsky 

diff --git a/include/vcl/opengl/OpenGLContext.hxx 
b/include/vcl/opengl/OpenGLContext.hxx
index 2d2ce8f..73434a0 100644
--- a/include/vcl/opengl/OpenGLContext.hxx
+++ b/include/vcl/opengl/OpenGLContext.hxx
@@ -238,6 +238,7 @@ public:
 
 private:
 SAL_DLLPRIVATE bool InitGLEW();
+SAL_DLLPRIVATE void InitGLEWDebugging();
 SAL_DLLPRIVATE bool initWindow();
 SAL_DLLPRIVATE bool ImplInit();
 #if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID && 
!defined(LIBO_HEADLESS)
diff --git a/vcl/source/opengl/OpenGLContext.cxx 
b/vcl/source/opengl/OpenGLContext.cxx
index d4c2a83..388a1a0 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -869,7 +869,9 @@ bool OpenGLContext::ImplInit()
 }
 }
 
-return InitGLEW();
+bool bRet = InitGLEW();
+InitGLEWDebugging();
+return bRet;
 }
 
 #elif defined( _WIN32 )
@@ -978,7 +980,14 @@ bool OpenGLContext::ImplInit()
 
 // now setup the shared context; this needs a temporary context already
 // set up in order to work
-m_aGLWin.hRC = wglCreateContextAttribsARB(m_aGLWin.hDC, hSharedCtx, NULL);
+int attribs [] =
+{
+#ifdef DBG_UTIL
+WGL_CONTEXT_FLAGS_ARB, WGL_CONTEXT_DEBUG_BIT_ARB,
+#endif
+0
+};
+m_aGLWin.hRC = wglCreateContextAttribsARB(m_aGLWin.hDC, hSharedCtx, 
attribs);
 if (m_aGLWin.hRC == 0)
 {
 ImplWriteLastError(GetLastError(), "wglCreateContextAttribsARB in 
OpenGLContext::ImplInit");
@@ -987,6 +996,7 @@ bool OpenGLContext::ImplInit()
 }
 
 wglMakeCurrent(NULL, NULL);
+InitGLEWDebugging();
 wglDeleteContext(hTempRC);
 
 if (!wglMakeCurrent(m_aGLWin.hDC, m_aGLWin.hRC))
@@ -1016,7 +1026,9 @@ bool OpenGLContext::ImplInit()
 NSOpenGLView* pView = getOpenGLView();
 OpenGLWrapper::makeCurrent(pView);
 
-return InitGLEW();
+bool bRet = InitGLEW();
+InitGLEWDebugging();
+return bRet;
 }
 
 #else
@@ -1047,6 +1059,13 @@ bool OpenGLContext::InitGLEW()
 bGlewInit = true;
 }
 
+VCL_GL_INFO("vcl.opengl", "OpenGLContext::ImplInitend");
+mbInitialized = true;
+return true;
+}
+
+void OpenGLContext::InitGLEWDebugging()
+{
 #ifdef DBG_UTIL
 // only enable debug output in dbgutil build
 if( GLEW_ARB_debug_output)
@@ -1068,10 +1087,6 @@ bool OpenGLContext::InitGLEW()
 // Test hooks for inserting tracing messages into the stream
 VCL_GL_INFO("vcl.opengl", "LibreOffice GLContext initialized: " << this);
 #endif
-
-VCL_GL_INFO("vcl.opengl", "OpenGLContext::ImplInitend");
-

[Libreoffice-bugs] [Bug 54990] Feature request: Ability to create line hops/jumps for crossing lines

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=54990

--- Comment #4 from Bart  ---
Overall, this would eliminate the current workflow of creating a line hop.
Which is creating a graphic and thus painting over the line junktion.

As some have mentioned, this feature alone would allow us to create proper line
diagrams (network architectures, etc.) using Draw. All other features are
already in place (importing Visio, gallery for images in the sidebar, flowchart
icons, etc.).

Now, I've submitted this enhancement request 3 years ago. What is needed to get
this feature worked on? How can we get the devs attention to this request?

-- 
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: Branch 'libreoffice-5-0' - vcl/opengl

2015-09-01 Thread Tomaž Vajngerl
 vcl/opengl/gdiimpl.cxx |   33 ++---
 1 file changed, 14 insertions(+), 19 deletions(-)

New commits:
commit d12f8f49d02676359aba79e2d629e014d2f50860
Author: Tomaž Vajngerl 
Date:   Tue Sep 1 14:54:53 2015 +0900

tdf#93736 opengl: use "old" SubdivideBezier when drawing PolyLines

SubdivideBezier creates polygons which are more exact for drawing
in opengl when drawing hairline PolyLines - so let's use that with
AA line drawing.

(cherry picked from commit b3de73f32af6276a60f5678861c461631a75e743)

Change-Id: I490fd0f19361b5fc9e1f4e03851c1ae1a1f75f71
Signed-off-by: Michael Meeks 

diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 266f61e..7d71d8b 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -1419,30 +1419,25 @@ bool OpenGLSalGraphicsImpl::drawPolyLine(
 const double fHalfWidth = 0.5 * rLineWidth.getX();
 
 // shortcut for hairline drawing to improve performance
-if( bIsHairline )
+if (bIsHairline)
 {
-basegfx::B2DTrapezoidVector aTrapezVector;
-basegfx::tools::createLineTrapezoidFromB2DPolygon(aTrapezVector, 
aPolygon, rLineWidth.getX());
-if (aTrapezVector.size())
+PreDraw();
+if (UseSolidAA(mnLineColor, fTransparency))
 {
-PreDraw();
-if (UseSolidAA(mnLineColor, fTransparency))
+Polygon aToolsPolygon(aPolygon);
+sal_uInt32 nPoints = aToolsPolygon.GetSize();
+if (aToolsPolygon.HasFlags())
+{
+aToolsPolygon = Polygon::SubdivideBezier(aToolsPolygon);
+nPoints = aToolsPolygon.GetSize();
+}
+for (sal_uInt32 i = 0; i < nPoints - 1; ++i)
 {
-for (size_t i = 0; i < aTrapezVector.size(); ++i)
-{
-const basegfx::B2DPolygon& rTrapezPolygon = 
aTrapezVector[i].getB2DPolygon();
-sal_uInt32 nPoints = rTrapezPolygon.count();
-for (sal_uInt32 j = 0; j < nPoints - 1; ++j)
-{
-const basegfx::B2DPoint& rPoint1 = 
rTrapezPolygon.getB2DPoint(j);
-const basegfx::B2DPoint& rPoint2 = 
rTrapezPolygon.getB2DPoint(j + 1);
-DrawLineAA(rPoint1.getX(), rPoint1.getY(),
-   rPoint2.getX(), rPoint2.getY());
-}
-}
+DrawLineAA(aToolsPolygon[i].X(), aToolsPolygon[i].Y(),
+   aToolsPolygon[i + 1].X(), aToolsPolygon[i + 1].Y());
 }
-PostDraw();
 }
+PostDraw();
 return true;
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2015-09-01 Thread Stephan Bergmann
 sw/source/filter/ww8/ww8graf.cxx  |2 +-
 sw/source/filter/ww8/ww8graf2.cxx |2 +-
 sw/source/filter/ww8/ww8par.hxx   |2 +-
 sw/source/filter/ww8/ww8par4.cxx  |6 +++---
 4 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 3b1ab016386cebe14435d79ec8693e3c7339a7df
Author: Stephan Bergmann 
Date:   Tue Sep 1 09:08:21 2015 +0200

-fsanitize=null

...as happens in CppunitTest_sw_filters_test with
sw/qa/core/data/ww8/pass/CVE-2015-2431-1.doc:

> sw/source/filter/ww8/ww8par4.cxx:294:76: runtime error: reference binding 
to null pointer of type 'const SfxItemSet'
>  SwWW8ImplReader::ImportOle(Graphic const*, SfxItemSet const*, SfxItemSet 
const*, Rectangle const&) sw/source/filter/ww8/ww8par4.cxx:294:23
>  SwWW8ImplReader::ReadChar(long, long) 
sw/source/filter/ww8/ww8par.cxx:3611:35
>  SwWW8ImplReader::ReadChars(int&, int, long, long) 
sw/source/filter/ww8/ww8par.cxx:3436:27
>  SwWW8ImplReader::ReadText(int, int, ManTypes) 
sw/source/filter/ww8/ww8par.cxx:3974:22
>  SwWW8ImplReader::CoreLoad(WW8Glossary*) 
sw/source/filter/ww8/ww8par.cxx:5175:9
>  SwWW8ImplReader::LoadThroughDecryption(WW8Glossary*) 
sw/source/filter/ww8/ww8par.cxx:5773:19
>  SwWW8ImplReader::LoadDoc(WW8Glossary*) 
sw/source/filter/ww8/ww8par.cxx:6045:19
>  WW8Reader::Read(SwDoc&, rtl::OUString const&, SwPaM&, rtl::OUString 
const&) sw/source/filter/ww8/ww8par.cxx:6167:20
>  SwReader::Read(Reader const&) sw/source/filter/basflt/shellio.cxx:175:18
>  SwDocShell::ConvertFrom(SfxMedium&) sw/source/uibase/app/docsh.cxx:258:22
>  SfxObjectShell::DoLoad(SfxMedium*) sfx2/source/doc/objstor.cxx:790:23
>  SwFiltersTest::filter(rtl::OUString const&, rtl::OUString const&, 
rtl::OUString const&, SfxFilterFlags, SotClipboardFormatId, unsigned int, bool) 
sw/qa/core/filters-test.cxx:112:20

Change-Id: I4482bc5d8e0c2646e7c8667a231a78311b557e89

diff --git a/sw/source/filter/ww8/ww8graf.cxx b/sw/source/filter/ww8/ww8graf.cxx
index d37be70..f6078e9 100644
--- a/sw/source/filter/ww8/ww8graf.cxx
+++ b/sw/source/filter/ww8/ww8graf.cxx
@@ -3026,7 +3026,7 @@ SwFlyFrameFormat* 
SwWW8ImplReader::ImportReplaceableDrawables( SdrObject* 
 
 OUString aObjectName(rpObject->GetName());
 if (OBJ_OLE2 == SdrObjKind(rpObject->GetObjIdentifier()))
-pRetFrameFormat = InsertOle(*static_cast(rpObject), 
rFlySet, aGrSet);
+pRetFrameFormat = InsertOle(*static_cast(rpObject), 
rFlySet, );
 else
 {
 const SdrGrafObj *pGrf = static_cast(rpObject);
diff --git a/sw/source/filter/ww8/ww8graf2.cxx 
b/sw/source/filter/ww8/ww8graf2.cxx
index 2c1182d..91717f8 100644
--- a/sw/source/filter/ww8/ww8graf2.cxx
+++ b/sw/source/filter/ww8/ww8graf2.cxx
@@ -642,7 +642,7 @@ SwFrameFormat* SwWW8ImplReader::ImportGraf(SdrTextObj* 
pTextObj,
 if (sal_uInt16(OBJ_OLE2) == pObject->GetObjIdentifier())
 {
 // the size from BLIP, if there is any, should be 
already set
-pRet = InsertOle(*static_cast(pObject), 
aAttrSet, aGrSet);
+pRet = InsertOle(*static_cast(pObject), 
aAttrSet, );
 }
 else
 {
diff --git a/sw/source/filter/ww8/ww8par.hxx b/sw/source/filter/ww8/ww8par.hxx
index 84541fd..a0d7202 100644
--- a/sw/source/filter/ww8/ww8par.hxx
+++ b/sw/source/filter/ww8/ww8par.hxx
@@ -1522,7 +1522,7 @@ private:
 SwFrameFormat* ImportOle( const Graphic* = 0, const SfxItemSet* pFlySet = 
0,
 const SfxItemSet* pGrfSet = 0, const Rectangle& aVisArea = Rectangle() 
);
 SwFlyFrameFormat* InsertOle(SdrOle2Obj , const SfxItemSet ,
-const SfxItemSet );
+const SfxItemSet *rGrfSet);
 
 bool ImportFormulaControl(WW8FormulaControl ,WW8_CP nStart,
 SwWw8ControlType nWhich);
diff --git a/sw/source/filter/ww8/ww8par4.cxx b/sw/source/filter/ww8/ww8par4.cxx
index 5ef7a77..1aeaacb 100644
--- a/sw/source/filter/ww8/ww8par4.cxx
+++ b/sw/source/filter/ww8/ww8par4.cxx
@@ -198,7 +198,7 @@ static bool SwWw6ReadMacPICTStream(Graphic& rGraph, 
tools::SvRef& rS
 }
 
 SwFlyFrameFormat* SwWW8ImplReader::InsertOle(SdrOle2Obj ,
-const SfxItemSet , const SfxItemSet )
+const SfxItemSet , const SfxItemSet *rGrfSet)
 {
 SfxObjectShell *pPersist = m_rDoc.GetPersist();
 OSL_ENSURE(pPersist, "No persist, cannot insert objects correctly");
@@ -238,7 +238,7 @@ SwFlyFrameFormat* SwWW8ImplReader::InsertOle(SdrOle2Obj 
,
 if (bSuccess)
 {
 const SfxItemSet *pFlySet = pMathFlySet ? pMathFlySet : 
-pRet = m_rDoc.getIDocumentContentOperations().InsertOLE(*m_pPaM, 
sNewName, rObject.GetAspect(), pFlySet, , 0);
+pRet = m_rDoc.getIDocumentContentOperations().InsertOLE(*m_pPaM, 
sNewName, rObject.GetAspect(), pFlySet, rGrfSet, 0);
 }
 delete pMathFlySet;
 return pRet;
@@ 

[Libreoffice-bugs] [Bug 93736] Bottom stroke line of a rectangle is half-drawn when using OpenGL

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93736

--- Comment #4 from Commit Notification 
 ---
Tomaž Vajngerl committed a patch related to this issue.
It has been pushed to "libreoffice-5-0":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=d12f8f49d02676359aba79e2d629e014d2f50860=libreoffice-5-0

tdf#93736 opengl: use "old" SubdivideBezier when drawing PolyLines

It will be available in 5.0.2.

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: external/boost external/libebook external/libmspub external/liborcus external/libpagemaker external/librevenge solenv/gbuild

2015-09-01 Thread David Ostrovsky
 external/boost/UnpackedTarball_boost.mk|2 
 external/boost/boost_1_59_0.system.no.deprecated.patch |   74 -
 external/libebook/ExternalProject_libebook.mk  |3 
 external/libmspub/ExternalProject_libmspub.mk  |3 
 external/liborcus/ExternalProject_liborcus.mk  |2 
 external/libpagemaker/ExternalProject_libpagemaker.mk  |3 
 external/librevenge/ExternalProject_librevenge.mk  |3 
 solenv/gbuild/platform/com_GCC_defs.mk |2 
 solenv/gbuild/platform/com_MSC_defs.mk |2 
 9 files changed, 13 insertions(+), 81 deletions(-)

New commits:
commit e00a3a684e22f45f36b4002ce726cb2975cb36ae
Author: David Ostrovsky 
Date:   Mon Aug 31 19:53:49 2015 +0200

core: fix build with system boost 1.59

9a6cdce37e601b1406c71fef16ad9b315045c9da was trying to fix the problem
with exposing deprecated vars and functions in system's error_code.hpp
include file by patching bundled boost version.  This approach would
only make sense, when upstream version is going to be fixed ASAP. Apply
another approach, and follow the same pattern as applied in external
libraries, by defining

  -DBOOST_ERROR_CODE_HEADER_ONLY \
  -DBOOST_SYSTEM_NO_DEPRECATED

instead of patching bundled boost version.  This way, the code would
work with unpatched system boost 1.59 final as well.

Change-Id: I8684ca458ea4a5b7d7c3c3acfe7c14a6d19bc665
Reviewed-on: https://gerrit.libreoffice.org/18201
Reviewed-by: David Ostrovsky 
Tested-by: David Ostrovsky 

diff --git a/external/boost/UnpackedTarball_boost.mk 
b/external/boost/UnpackedTarball_boost.mk
index 54899c4..6beeac1 100644
--- a/external/boost/UnpackedTarball_boost.mk
+++ b/external/boost/UnpackedTarball_boost.mk
@@ -84,8 +84,6 @@ boost_patches += boost_1_59_0.rational.wshadow.patch
 boost_patches += boost_1_59_0.multi_array.wshadow.patch
 # https://svn.boost.org/trac/boost/ticket/11501
 boost_patches += boost_1_59_0.property_tree.wreturn-type.patch
-# https://svn.boost.org/trac/boost/ticket/11597
-boost_patches += boost_1_59_0.system.no.deprecated.patch
 
 $(eval $(call gb_UnpackedTarball_UnpackedTarball,boost))
 
diff --git a/external/boost/boost_1_59_0.system.no.deprecated.patch 
b/external/boost/boost_1_59_0.system.no.deprecated.patch
deleted file mode 100644
index 867811f..000
--- a/external/boost/boost_1_59_0.system.no.deprecated.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-Starting from 1.59.0 final release, there are undefined generic_category()
-errors in internal and external modules: [1].
-
-Instead of defining the -DBOOST_SYSTEM_NO_DEPRECATED in internal and external
-modules, patch the boost to not define the deprecated stuff per default.
-
-[1] http://paste.openstack.org/show/430509
-
-diff -ru boost.orig/boost/system/detail/error_code.ipp 
boost/boost/system/detail/error_code.ipp
 foo/misc/boost.orig/boost/system/detail/error_code.ipp 2015-01-06 
17:08:27.0 +0100
-+++ foo/misc/boost/boost/system/detail/error_code.ipp  2015-08-28 
21:47:00.941340365 +0200
-@@ -437,7 +437,7 @@
- } // unnamed namespace
- 
- 
--# ifndef BOOST_SYSTEM_NO_DEPRECATED
-+# ifdef BOOST_SYSTEM_DEPRECATED
- BOOST_SYSTEM_DECL error_code throws; // "throw on error" special 
error_code;
-  //  note that it doesn't matter if 
this
-  //  isn't initialized before use 
since
-diff -ru boost.orig/boost/system/error_code.hpp 
boost/boost/system/error_code.hpp
 foo/misc/boost.orig/boost/system/error_code.hpp2015-01-06 
17:08:27.0 +0100
-+++ foo/misc/boost/boost/system/error_code.hpp 2015-08-28 21:47:58.318344217 
+0200
-@@ -139,7 +139,7 @@
- 
- } // namespace errc
- 
--# ifndef BOOST_SYSTEM_NO_DEPRECATED
-+# ifdef BOOST_SYSTEM_DEPRECATED
- namespace posix = errc;
- namespace posix_error = errc;
- # endif
-@@ -214,7 +214,7 @@
- #endif
- //  deprecated synonyms 
--//
- 
--# ifndef BOOST_SYSTEM_NO_DEPRECATED
-+# ifdef BOOST_SYSTEM_DEPRECATED
- inline const error_category &  get_system_category() { return 
system_category(); }
- inline const error_category &  get_generic_category() { return 
generic_category(); }
- inline const error_category &  get_posix_category() { return 
generic_category(); }
-@@ -394,7 +394,7 @@
- };
- 
- //  predefined error_code object used as "throw on error" tag
--# ifndef BOOST_SYSTEM_NO_DEPRECATED
-+# ifdef BOOST_SYSTEM_DEPRECATED
- BOOST_SYSTEM_DECL extern error_code throws;
- # endif
- 
-diff -ru boost.orig/boost/system/linux_error.hpp 
boost/boost/system/linux_error.hpp
 foo/misc/boost.orig/boost/system/linux_error.hpp   2015-01-06 
17:08:27.0 +0100
-+++ foo/misc/boost/boost/system/linux_error.hpp2015-08-28 
21:47:17.172341455 +0200

[Libreoffice-bugs] [Bug 93713] "Unprotect Cells" missing from Table Menu and Table Toolbar (comment 6)

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93713

Yousuf (Jay) Philips  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |philip...@hotmail.com
   |desktop.org |

--- Comment #23 from Yousuf (Jay) Philips  ---
Patch is in - https://gerrit.libreoffice.org/18222

-- 
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: Branch 'aoo/trunk' - 4 commits - sal/qa

2015-09-01 Thread Damjan Jovanovic
 sal/qa/rtl/alloc/makefile.mk  |   29 
 sal/qa/rtl/alloc/rtl_alloc.cxx|  131 +--
 sal/qa/rtl/crc32/makefile.mk  |   29 
 sal/qa/rtl/crc32/rtl_crc32.cxx|  185 +---
 sal/qa/rtl/digest/makefile.mk |   26 
 sal/qa/rtl/digest/rtl_digest.cxx  | 1609 --
 sal/qa/rtl/math/makefile.mk   |   24 
 sal/qa/rtl/math/test-rtl-math.cxx |   62 -
 8 files changed, 912 insertions(+), 1183 deletions(-)

New commits:
commit ec5684733172379e30fd96a88ff249e64ca60c56
Author: Damjan Jovanovic 
Date:   Tue Sep 1 05:33:02 2015 +

#i125003# migrate main/sal/qa/rtl/crc32 from cppunit to Google Test.

diff --git a/sal/qa/rtl/crc32/makefile.mk b/sal/qa/rtl/crc32/makefile.mk
index 1352f54..d85b27b 100644
--- a/sal/qa/rtl/crc32/makefile.mk
+++ b/sal/qa/rtl/crc32/makefile.mk
@@ -31,34 +31,29 @@ ENABLE_EXCEPTIONS=TRUE
 
 .INCLUDE :  settings.mk
 
+.IF "$(ENABLE_UNIT_TESTS)" != "YES"
+all:
+@echo unit tests are disabled. Nothing to do.
+
+.ELSE
+
 CFLAGS+= $(LFS_CFLAGS)
 CXXFLAGS+= $(LFS_CFLAGS)
 
-CFLAGSCXX += $(CPPUNIT_CFLAGS)
-
 # BEGIN 
 # auto generated Target:jobfile by codegen.pl
-SHL1OBJS=  \
+APP1OBJS=  \
 $(SLO)$/rtl_crc32.obj
 
-SHL1TARGET= rtl_crc32
-SHL1STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
-
-SHL1IMPLIB= i$(SHL1TARGET)
-# SHL1DEF=$(MISC)$/$(SHL1TARGET).def
-
-DEF1NAME=$(SHL1TARGET)
-# DEF1EXPORTFILE= export.exp
-SHL1VERSIONMAP= $(PRJ)$/qa$/export.map
+APP1TARGET= rtl_crc32
+APP1STDLIBS= $(SALLIB) $(GTESTLIB) $(TESTSHL2LIB)
+APP1RPATH = NONE
+APP1TEST = enabled
 # auto generated Target:jobfile
 # END --
 
-#--- All object files 
---
-# do this here, so we get right dependencies
-# SLOFILES=$(SHL1OBJS)
-
 # --- Targets --
 
 .INCLUDE :  target.mk
-.INCLUDE : _cppunit.mk
 
+.ENDIF # "$(ENABLE_UNIT_TESTS)" != "YES"
diff --git a/sal/qa/rtl/crc32/rtl_crc32.cxx b/sal/qa/rtl/crc32/rtl_crc32.cxx
index 348c5e2..bcd7beb 100644
--- a/sal/qa/rtl/crc32/rtl_crc32.cxx
+++ b/sal/qa/rtl/crc32/rtl_crc32.cxx
@@ -26,152 +26,129 @@
 #include "precompiled_sal.hxx"
 // autogenerated file with codegen.pl
 
-#include 
+#include "gtest/gtest.h"
 #include 
 
 namespace rtl_CRC32
 {
 
-class test : public CppUnit::TestFixture
+class test : public ::testing::Test
 {
 public:
 // initialise your test code values here.
-void setUp()
+void SetUp()
 {
 }
 
-void tearDown()
+void TearDown()
 {
 }
+}; // class test
 
+TEST_F(test, rtl_crc32_001)
+{
+sal_uInt32 nCRC = 0;
 
-// insert your test code here.
-void rtl_crc32_001()
-{
-// this is demonstration code
-// CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1);
-
-sal_uInt32 nCRC = 0;
-
-char buf[] = {0};
-int num = 0;
-
-nCRC = rtl_crc32(nCRC, buf, num);
-
-CPPUNIT_ASSERT_MESSAGE("empty crc buffer", nCRC == 0);
-}
-
-void rtl_crc32_002()
-{
-sal_uInt32 nCRC = 0;
-
-char buf[] = {0,0};
-int num = sizeof(buf);
+char buf[] = {0};
+int num = 0;
 
-nCRC = rtl_crc32(nCRC, buf, num);
+nCRC = rtl_crc32(nCRC, buf, num);
 
-CPPUNIT_ASSERT_MESSAGE("buffer contain 2 empty bytes, crc is zero", 
nCRC != 0);
-}
+ASSERT_TRUE(nCRC == 0) << "empty crc buffer";
+}
 
-void rtl_crc32_002_1()
-{
-sal_uInt32 nCRC = 0;
+TEST_F(test, rtl_crc32_002)
+{
+sal_uInt32 nCRC = 0;
 
-char buf[] = {0,0,0};
-int num = sizeof(buf);
+char buf[] = {0,0};
+int num = sizeof(buf);
 
-nCRC = rtl_crc32(nCRC, buf, num);
+nCRC = rtl_crc32(nCRC, buf, num);
 
-CPPUNIT_ASSERT_MESSAGE("buffer contain 3 empty bytes, crc is zero", 
nCRC != 0);
-}
+ASSERT_TRUE(nCRC != 0) << "buffer contain 2 empty bytes, crc is zero";
+}
 
-/**
- * crc32 check:
- * Build checksum on two buffers with same size but different content,
- * the result (crc32 checksum) must differ
- */
+TEST_F(test, rtl_crc32_002_1)
+{
+sal_uInt32 nCRC = 0;
 
-void rtl_crc32_003()
-{
-sal_uInt32 nCRC1 = 0;
-char buf1[] = {2};
-int num1 = sizeof(buf1);
+char buf[] = {0,0,0};
+int num = sizeof(buf);
 
-nCRC1 = rtl_crc32(nCRC1, buf1, num1);
+nCRC = rtl_crc32(nCRC, buf, num);
 
-sal_uInt32 nCRC2 = 0;
-char buf2[] = {3};
-int num2 = sizeof(buf2);
+ASSERT_TRUE(nCRC != 0) << "buffer contain 3 empty bytes, crc is zero";
+}
 
-nCRC2 = rtl_crc32(nCRC2, buf2, num2);
+/**
+ * crc32 check:
+ * Build checksum on two buffers with same size but different content,
+ * the result (crc32 checksum) must differ
+ */
 
-CPPUNIT_ASSERT_MESSAGE("checksum should differ for buf1 and buf2", 
nCRC1 != nCRC2);
-}

[Libreoffice-bugs] [Bug 93786] Image shows "Read-Error" shortly before it gets drawn

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93786

raal  changed:

   What|Removed |Added

 CC||r...@post.cz

--- Comment #1 from raal  ---
I can not confirm with LO 5.0.0.5, win7. Linked bmp image, no "Read-Error"
during opening.

-- 
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 54073] CONFIGURATION: Formatting Aids - Options are not stored correctly, unchecked nonprinting characters becoming checked after disable/re-enabling formatting aids

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=54073

Cor Nouws  changed:

   What|Removed |Added

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

-- 
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 90332] UI: Print Preview resets Tools Options Formatting Aids Hidden Text when non-printing characters are not displayed

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=90332

Cor Nouws  changed:

   What|Removed |Added

 CC||c...@nouenoff.nl
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=54
   ||073

--- Comment #7 from Cor Nouws  ---
could this be the same as bug 54073 ?

-- 
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 93713] "Unprotect Cells" missing from Table Menu and Table Toolbar (comment 6)

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93713

Yousuf (Jay) Philips  changed:

   What|Removed |Added

 CC|libreoffice-ux-advise@lists |
   |.freedesktop.org|
  Component|ux-advise   |UI

-- 
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-ux-advise] [Bug 93713] "Unprotect Cells" missing from Table Menu and Table Toolbar (comment 6)

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93713

Yousuf (Jay) Philips  changed:

   What|Removed |Added

 CC|libreoffice-ux-advise@lists |
   |.freedesktop.org|
  Component|ux-advise   |UI

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


[Libreoffice-bugs] [Bug 93787] Graphic issue if tooltip disappears

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93787

raal  changed:

   What|Removed |Added

 CC||r...@post.cz

--- Comment #1 from raal  ---
Cannot reproduce in  5.0.0.5, win7. Could you post a printscreen? 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-commits] core.git: filter/source sw/source

2015-09-01 Thread Stephan Bergmann
 filter/source/msfilter/msdffimp.cxx |2 +-
 sw/source/filter/ww8/ww8par.cxx |4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 0fad62c2178d6b8157b07ff30fe9e2fc8173d393
Author: Stephan Bergmann 
Date:   Tue Sep 1 09:46:29 2015 +0200

-fsanitize=enum

...as happens in CppunitTest_sw_filters_test with
sw/qa/core/data/ww8/pass/CVE-2015-2467-1.doc, first at:

> filter/source/msfilter/msdffimp.cxx:1477:17: runtime error: load of value 
8193, which is not a valid value for type 'MSO_Anchor'
>  DffPropertyReader::ApplyCustomShapeTextAttributes(SfxItemSet&) const 
filter/source/msfilter/msdffimp.cxx:1477:17
>  DffPropertyReader::ApplyAttributes(SvStream&, SfxItemSet&, DffObjData&) 
const filter/source/msfilter/msdffimp.cxx:2694:9
>  SvxMSDffManager::ImportShape(DffRecordHeader const&, SvStream&, void*, 
Rectangle&, Rectangle const&, int, int*) 
filter/source/msfilter/msdffimp.cxx:4332:21
>  SvxMSDffManager::ImportGroup(DffRecordHeader const&, SvStream&, void*, 
Rectangle&, Rectangle const&, int, int*) 
filter/source/msfilter/msdffimp.cxx:4119:39
>  SvxMSDffManager::ImportGroup(DffRecordHeader const&, SvStream&, void*, 
Rectangle&, Rectangle const&, int, int*) 
filter/source/msfilter/msdffimp.cxx:4106:39
>  SvxMSDffManager::ImportGroup(DffRecordHeader const&, SvStream&, void*, 
Rectangle&, Rectangle const&, int, int*) 
filter/source/msfilter/msdffimp.cxx:4106:39
>  SvxMSDffManager::ImportGroup(DffRecordHeader const&, SvStream&, void*, 
Rectangle&, Rectangle const&, int, int*) 
filter/source/msfilter/msdffimp.cxx:4106:39
>  SvxMSDffManager::ImportObj(SvStream&, void*, Rectangle&, Rectangle 
const&, int, int*) filter/source/msfilter/msdffimp.cxx:4033:16
>  SvxMSDffManager::GetShape(unsigned long, SdrObject*&, 
SvxMSDffImportData&) filter/source/msfilter/msdffimp.cxx:6210:23
>  SwWW8ImplReader::Read_GrafLayer(long) 
sw/source/filter/ww8/ww8graf.cxx:2502:17
>  SwWW8ImplReader::ReadChar(long, long) 
sw/source/filter/ww8/ww8par.cxx:3634:17
>  SwWW8ImplReader::ReadChars(int&, int, long, long) 
sw/source/filter/ww8/ww8par.cxx:3436:27
>  SwWW8ImplReader::ReadText(int, int, ManTypes) 
sw/source/filter/ww8/ww8par.cxx:3974:22
>  SwWW8ImplReader::CoreLoad(WW8Glossary*) 
sw/source/filter/ww8/ww8par.cxx:5175:9
>  SwWW8ImplReader::LoadThroughDecryption(WW8Glossary*) 
sw/source/filter/ww8/ww8par.cxx:5773:19
>  SwWW8ImplReader::LoadDoc(WW8Glossary*) 
sw/source/filter/ww8/ww8par.cxx:6045:19
>  WW8Reader::Read(SwDoc&, rtl::OUString const&, SwPaM&, rtl::OUString 
const&) sw/source/filter/ww8/ww8par.cxx:6167:20
>  SwReader::Read(Reader const&) sw/source/filter/basflt/shellio.cxx:175:18
>  SwDocShell::ConvertFrom(SfxMedium&) sw/source/uibase/app/docsh.cxx:258:22
>  SfxObjectShell::DoLoad(SfxMedium*) sfx2/source/doc/objstor.cxx:790:23
>  SwFiltersTest::filter(rtl::OUString const&, rtl::OUString const&, 
rtl::OUString const&, SfxFilterFlags, SotClipboardFormatId, unsigned int, bool) 
sw/qa/core/filters-test.cxx:112:20

Change-Id: Iafc548b5ba21a985521790770732f7f03e2485c9

diff --git a/filter/source/msfilter/msdffimp.cxx 
b/filter/source/msfilter/msdffimp.cxx
index a7f1ec7..6c723a8 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -1472,7 +1472,7 @@ void DffPropertyReader::ApplyCustomShapeTextAttributes( 
SfxItemSet& rSet ) const
 eTHA = SDRTEXTHORZADJUST_BLOCK;
 
 // read text anchor
-MSO_Anchor eTextAnchor = (MSO_Anchor)GetPropertyValue( 
DFF_Prop_anchorText, mso_anchorTop );
+sal_uInt32 eTextAnchor = GetPropertyValue( DFF_Prop_anchorText, 
mso_anchorTop );
 
 switch( eTextAnchor )
 {
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index b02ae71..d6a25cc 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -896,8 +896,8 @@ SdrObject* SwMSDffManager::ProcessObj(SvStream& rSt,
 pImpRec->nDyTextBottom  = nTextBottom;
 
 // Taking the correct default (which is mso_anchorTop)
-MSO_Anchor eTextAnchor =
-(MSO_Anchor)GetPropertyValue( DFF_Prop_anchorText, 
mso_anchorTop );
+sal_uInt32 eTextAnchor =
+GetPropertyValue( DFF_Prop_anchorText, mso_anchorTop );
 
 SdrTextVertAdjust eTVA = bVerticalText
  ? SDRTEXTVERTADJUST_BLOCK
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2015-09-01 Thread Miklos Vajna
 vcl/source/opengl/OpenGLContext.cxx |5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit dbf5882af35a7644aca74c7049fbbbd9e8c11693
Author: Miklos Vajna 
Date:   Tue Sep 1 09:39:29 2015 +0200

Revert "windows opengl: Set PFD_DOUBLEBUFFER even for single buffer 
rendering"

This reverts commit 6fd7199230bfc81d6aadf53b3c115def8caba90c. Kendy says the
original problem can't be reproduced anymore, and most unexpected flickering
goes away with this for my nvidia card.

Also, it's a good idea in general to keep PFD_DOUBLEBUFFER and
WGL_DOUBLE_BUFFER_ARB in sync, which is now the case.

Change-Id: I7a809d1c85be4206c01720d5de9b0a5617a59c87

diff --git a/vcl/source/opengl/OpenGLContext.cxx 
b/vcl/source/opengl/OpenGLContext.cxx
index 0d7e9cc..2f2d66f 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -837,9 +837,8 @@ bool OpenGLContext::ImplInit()
 0, 0, 0 // Layer Masks Ignored
 };
 
-// interestingly we need this flag being set even if we use single buffer
-// rendering - otherwise we get errors with virtual devices
-PixelFormatFront.dwFlags |= PFD_DOUBLEBUFFER;
+if (mbUseDoubleBufferedRendering)
+PixelFormatFront.dwFlags |= PFD_DOUBLEBUFFER;
 
 PixelFormatFront.dwFlags |= PFD_DRAW_TO_WINDOW;
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2015-09-01 Thread Michael Meeks
 include/vcl/opengl/OpenGLContext.hxx |1 +
 vcl/inc/opengl/framebuffer.hxx   |1 +
 vcl/opengl/framebuffer.cxx   |9 +++--
 vcl/opengl/texture.cxx   |   10 ++
 vcl/source/opengl/OpenGLContext.cxx  |   20 
 5 files changed, 39 insertions(+), 2 deletions(-)

New commits:
commit 0a3cfc66d5c82e5c44ef5220bdbe4344b9d1e2ce
Author: Michael Meeks 
Date:   Mon Aug 31 12:11:50 2015 +0100

tdf#93751 - ensure textures are unbound from framebuffers post destroy.

Change-Id: I81aec0e6f8db57905826c54c3442528be6068700
Reviewed-on: https://gerrit.libreoffice.org/18184
Tested-by: Jenkins 
Reviewed-by: Jan Holesovsky 

diff --git a/include/vcl/opengl/OpenGLContext.hxx 
b/include/vcl/opengl/OpenGLContext.hxx
index 73434a0..8c756b7 100644
--- a/include/vcl/opengl/OpenGLContext.hxx
+++ b/include/vcl/opengl/OpenGLContext.hxx
@@ -193,6 +193,7 @@ public:
 bool   AcquireDefaultFramebuffer();
 OpenGLFramebuffer* AcquireFramebuffer( const OpenGLTexture& rTexture );
 static voidReleaseFramebuffer( OpenGLFramebuffer* pFramebuffer );
+void UnbindTextureFromFramebuffers( GLuint nTexture );
 #ifdef DBG_UTIL
 void AddRef(SalGraphicsImpl*);
 void DeRef(SalGraphicsImpl*);
diff --git a/vcl/inc/opengl/framebuffer.hxx b/vcl/inc/opengl/framebuffer.hxx
index 4e8f9cc..89bf1a4 100644
--- a/vcl/inc/opengl/framebuffer.hxx
+++ b/vcl/inc/opengl/framebuffer.hxx
@@ -35,6 +35,7 @@ public:
 static void Unbind();
 
 boolIsFree() const;
+boolIsAttached( GLuint nTexture ) const;
 boolIsAttached( const OpenGLTexture& rTexture ) const;
 voidAttachTexture( const OpenGLTexture& rTexture );
 voidDetachTexture();
diff --git a/vcl/opengl/framebuffer.cxx b/vcl/opengl/framebuffer.cxx
index 87af985..7e19981 100644
--- a/vcl/opengl/framebuffer.cxx
+++ b/vcl/opengl/framebuffer.cxx
@@ -46,12 +46,17 @@ void OpenGLFramebuffer::Unbind()
 
 bool OpenGLFramebuffer::IsFree() const
 {
-return (!mnAttachedTexture);
+return !mnAttachedTexture;
+}
+
+bool OpenGLFramebuffer::IsAttached( GLuint nTexture ) const
+{
+return mnAttachedTexture == nTexture;
 }
 
 bool OpenGLFramebuffer::IsAttached( const OpenGLTexture& rTexture ) const
 {
-return ( mnAttachedTexture == rTexture.Id() );
+return mnAttachedTexture == rTexture.Id();
 }
 
 void OpenGLFramebuffer::AttachTexture( const OpenGLTexture& rTexture )
diff --git a/vcl/opengl/texture.cxx b/vcl/opengl/texture.cxx
index 5861f76..b33d990 100644
--- a/vcl/opengl/texture.cxx
+++ b/vcl/opengl/texture.cxx
@@ -107,7 +107,17 @@ ImplOpenGLTexture::~ImplOpenGLTexture()
 {
 VCL_GL_INFO( "vcl.opengl", "~OpenGLTexture " << mnTexture );
 if( mnTexture != 0 )
+{
+// FIXME: this is really not optimal performance-wise.
+
+// Check we have been correctly un-bound from all framebuffers.
+ImplSVData* pSVData = ImplGetSVData();
+OpenGLContext* pContext = pSVData->maGDIData.mpLastContext;
+if (pContext)
+pContext->UnbindTextureFromFramebuffers( mnTexture );
+
 glDeleteTextures( 1,  );
+}
 }
 
 bool ImplOpenGLTexture::InsertBuffer(int nX, int nY, int nWidth, int nHeight, 
int nFormat, int nType, sal_uInt8* pData)
diff --git a/vcl/source/opengl/OpenGLContext.cxx 
b/vcl/source/opengl/OpenGLContext.cxx
index 20b510f..8f3cce8 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -1625,6 +1625,26 @@ OpenGLFramebuffer* OpenGLContext::AcquireFramebuffer( 
const OpenGLTexture& rText
 return pFramebuffer;
 }
 
+// FIXME: this method is rather grim from a perf. perspective.
+// We should instead (eventually) use pointers to associate the
+// framebuffer and texture cleanly.
+void OpenGLContext::UnbindTextureFromFramebuffers( GLuint nTexture )
+{
+OpenGLFramebuffer* pFramebuffer;
+
+// see if there is a framebuffer attached to that texture
+pFramebuffer = mpLastFramebuffer;
+while( pFramebuffer )
+{
+if (pFramebuffer->IsAttached(nTexture))
+{
+BindFramebuffer(pFramebuffer);
+pFramebuffer->DetachTexture();
+}
+pFramebuffer = pFramebuffer->mpPrevFramebuffer;
+}
+}
+
 void OpenGLContext::ReleaseFramebuffer( OpenGLFramebuffer* pFramebuffer )
 {
 if( pFramebuffer )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 58674] VIEWING: Customizable Nonprinting Character appearance

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=58674

Cor Nouws  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||c...@nouenoff.nl
 Resolution|--- |DUPLICATE

--- Comment #7 from Cor Nouws  ---
(In reply to Al Maloney from comment #4)
> 
> I would like the option to choose the colour of these, as I find the blue to
> be too distracting.

Indeed. There is bug 80054 for this.
Cheers - Cor

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

-- 
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 80054] Enhancement request: Add option to allow user to select color of non-printing characters

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=80054

Cor Nouws  changed:

   What|Removed |Added

 CC||christ...@hess-familie.de

--- Comment #17 from Cor Nouws  ---
*** Bug 58674 has been marked as a duplicate of this 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 93751] GL textures destroyed while still bound to framebuffers

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93751

Commit Notification  changed:

   What|Removed |Added

 Whiteboard| target:5.1.0   | target:5.1.0 target:5.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 93751] GL textures destroyed while still bound to framebuffers

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93751

--- Comment #4 from Commit Notification 
 ---
Michael Meeks committed a patch related to this issue.
It has been pushed to "libreoffice-5-0":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=0a3cfc66d5c82e5c44ef5220bdbe4344b9d1e2ce=libreoffice-5-0

tdf#93751 - ensure textures are unbound from framebuffers post destroy.

It will be available in 5.0.2.

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: sw/source

2015-09-01 Thread Miklos Vajna
 sw/source/ui/dbui/dbinsdlg.cxx |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit fd1571e807c7a0b06ce419c96527c2ac00c7ae2d
Author: Miklos Vajna 
Date:   Tue Sep 1 09:01:30 2015 +0200

sw: use std::unique_ptr<> in dbinsdlg

Change-Id: If882d49c3abe236c8ca5af502a38947b98e34d5e

diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx
index c65e56d..01093af 100644
--- a/sw/source/ui/dbui/dbinsdlg.cxx
+++ b/sw/source/ui/dbui/dbinsdlg.cxx
@@ -91,7 +91,7 @@
 #include 
 
 #include 
-#include 
+#include 
 #include 
 
 using namespace ::dbtools;
@@ -762,7 +762,7 @@ IMPL_LINK_TYPED( SwInsertDBColAutoPilot, TableFormatHdl, 
Button*, pButton, void
 SwAbstractDialogFactory* pFact = swui::GetFactory();
 OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!");
 
-boost::scoped_ptr 
pDlg(pFact->CreateSwTableTabDlg(pButton, rSh.GetAttrPool(), pTableSet, ));
+std::unique_ptr 
pDlg(pFact->CreateSwTableTabDlg(pButton, rSh.GetAttrPool(), pTableSet, ));
 OSL_ENSURE(pDlg, "Dialog creation failed!");
 if( RET_OK == pDlg->Execute() )
 pTableSet->Put( *pDlg->GetOutputItemSet() );
@@ -778,7 +778,7 @@ IMPL_LINK_TYPED( SwInsertDBColAutoPilot, AutoFormatHdl, 
Button*, pButton, void )
 SwAbstractDialogFactory* pFact = swui::GetFactory();
 OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!");
 
-boost::scoped_ptr 
pDlg(pFact->CreateSwAutoFormatDlg(pButton, pView->GetWrtShellPtr(), false, 
pTAutoFormat));
+std::unique_ptr 
pDlg(pFact->CreateSwAutoFormatDlg(pButton, pView->GetWrtShellPtr(), false, 
pTAutoFormat));
 OSL_ENSURE(pDlg, "Dialog creation failed!");
 if( RET_OK == pDlg->Execute())
 pDlg->FillAutoFormatOfIndex( pTAutoFormat );
@@ -986,7 +986,7 @@ void SwInsertDBColAutoPilot::DataToDoc( const 
Sequence& rSelection,
 if( rSh.HasSelection() )
 rSh.DelRight();
 
-boost::scoped_ptr pWait;
+std::unique_ptr pWait;
 
 Reference< XColumnsSupplier > xColsSupp( xResultSet, UNO_QUERY );
 Reference  xCols = xColsSupp->getColumns();
@@ -1296,7 +1296,7 @@ void SwInsertDBColAutoPilot::DataToDoc( const 
Sequence& rSelection,
 
 case _DB_Column::DB_COL_FIELD:
 {
-boost::scoped_ptr 
pField(static_cast(
+std::unique_ptr 
pField(static_cast(
 pDBCol->DB_ColumnData.pField->CopyField()));
 double nValue = DBL_MAX;
 
@@ -1660,7 +1660,7 @@ void SwInsertDBColAutoPilot::Load()
 pDataSourceProps[2] >>= nCommandType;
 if(sSource.equals(aDBData.sDataSource) && 
sCommand.equals(aDBData.sCommand))
 {
-boost::scoped_ptr<_DB_ColumnConfigData> pNewData(new 
_DB_ColumnConfigData);
+std::unique_ptr<_DB_ColumnConfigData> pNewData(new 
_DB_ColumnConfigData);
 pNewData->sSource = sSource;
 pNewData->sTable = sCommand;
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2015-09-01 Thread Michael Meeks
 vcl/source/opengl/OpenGLHelper.cxx |5 +
 1 file changed, 5 insertions(+)

New commits:
commit bce18e962dacdf6246123493690aa4b942568d10
Author: Michael Meeks 
Date:   Mon Aug 31 21:29:21 2015 +0100

tdf#93822 - disable horror legacy menu background saving for OpenGL.

Change-Id: Icaa5fb197f3fa234da4538a2a7b21131cab89277
Reviewed-on: https://gerrit.libreoffice.org/18203
Tested-by: Jenkins 
Reviewed-by: Miklos Vajna 

diff --git a/vcl/source/opengl/OpenGLHelper.cxx 
b/vcl/source/opengl/OpenGLHelper.cxx
index 958d523..859cda3 100644
--- a/vcl/source/opengl/OpenGLHelper.cxx
+++ b/vcl/source/opengl/OpenGLHelper.cxx
@@ -26,6 +26,8 @@
 #include 
 #include 
 
+#include "svdata.hxx"
+
 #include "opengl/zone.hxx"
 #include "opengl/watchdog.hxx"
 #include 
@@ -629,7 +631,10 @@ bool OpenGLHelper::isVCLOpenGLEnabled()
 bRet = bEnable;
 }
 if (bRet)
+{
 OpenGLWatchdogThread::start();
+ImplGetSVData()->maWinData.mbNoSaveBackground = true;
+}
 
 return bRet;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Crash test update

2015-09-01 Thread Crashtest VM
New crashtest update available at 
http://dev-builds.libreoffice.org/crashtest/7d4c77e374310bef538465d11980d1d610cbe0f1/


exportCrashes.csv
Description: Binary data


importCrash.csv
Description: Binary data


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


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

2015-09-01 Thread Tor Lillqvist
 officecfg/registry/schema/org/openoffice/Office/Calc.xcs |2 
 sc/source/core/opencl/formulagroupcl.cxx |   49 -
 sc/source/core/opencl/op_spreadsheet.cxx |  145 ++-
 sc/source/core/opencl/op_spreadsheet.hxx |1 
 sc/source/core/tool/calcconfig.cxx   |1 
 5 files changed, 104 insertions(+), 94 deletions(-)

New commits:
commit 3253cc2b4ab547cc42cb9f62254ecccac40b5459
Author: Tor Lillqvist 
Date:   Tue Aug 25 15:11:54 2015 +0300

Fix the OpenCL VLOOKUP to work properly and add it to the trusted subset

Treat an array of null string pointers as no strings for OpenCL. For
some reason, at least in the case of the "Test OpenCL" thing, we got
an mpStringArray that is non-null but where all the elements
(rtl_uString pointers) in it are null. Treat that case as if the
mpStringArray was null.

This makes the tests "Test OpenCL" actually use OpenCL. Maybe it has other
useful effects, too. (But for normal spreadsheet use, the mpStringArray that
gets handled here *is* null when all the cells used by a formula group are
numbers. At least it seemed so in a simple test.)

Add a few more useful (?) SAL_INFO calls.

Some cosmetic changes to make the code look saner.

Return correct value from the OpenCL VLOOKUP implementation. Also,
when the lookup fails, produce the expected N/A error code instead of
a bare NaN.

Don't claim we support strings arguments in the OpenCL VLOOKUP.  The
string support certainly isn't complete or correct anyway. Partially
revert c3383aafa18ef9d03b04b2a4719e71fdfabc14eb.

Add VLOOKUP to the set of opcodes that we trust the OpenCL
implementation for.

(cherry picked from commit 7e91726f4d81f0ab27d79ee231abd666b4999758)
(cherry picked from commit d4310b6cd8a367666cc702c3e47cf12a35407ef7)
(cherry picked from commit 32b35d9d8a21091b987d94fc2ad24d69e9d8a6f3)
(cherry picked from commit 41a6094095a0cd42f24eb996c7ec8c28ab9d6c1a)
(cherry picked from commit 162264450cb62177ea133829d081fecdb02136b5)
(cherry picked from commit 7bb7539c0e34283baeaacf7e4ff0b19287afadc2)

Change-Id: I5402732c9ddcac1efcc25960a5c46175d7a90b4d
Reviewed-on: https://gerrit.libreoffice.org/18022
Reviewed-by: Michael Meeks 
Reviewed-by: Eike Rathke 
Tested-by: Jan Holesovsky 

diff --git a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs 
b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
index bb74d74..c3fa523 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
@@ -1373,7 +1373,7 @@
 true, and a formula contains only these operators and
 functions, it might be calculated using OpenCL.
   
-  
+;-;*;/;RAND;SIN;COS;TAN;ATAN;EXP;LN;SQRT;NORMSDIST;NORMSINV;ROUND;POWER;SUMPRODUCT;MIN;MAX;SUM;PRODUCT;AVERAGE;COUNT;VAR;NORMDIST;CORREL;COVAR;PEARSON;SLOPE;SUMIFS
+  
+;-;*;/;RAND;SIN;COS;TAN;ATAN;EXP;LN;SQRT;NORMSDIST;NORMSINV;ROUND;POWER;SUMPRODUCT;MIN;MAX;SUM;PRODUCT;AVERAGE;COUNT;VAR;NORMDIST;VLOOKUP;CORREL;COVAR;PEARSON;SLOPE;SUMIFS
 
 
   
diff --git a/sc/source/core/opencl/formulagroupcl.cxx 
b/sc/source/core/opencl/formulagroupcl.cxx
index 368c525..e5324cd 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -40,6 +40,7 @@ static const char* publicFunc =
  "#define errIllegalFPOperation 503 // #NUM!\n"
  "#define errNoValue 519 // #VALUE!\n"
  "#define errDivisionByZero 532 // #DIV/0!\n"
+ "#define NOTAVAILABLE 0x7fff // #N/A\n"
  "\n"
  "double CreateDoubleError(ulong nErr)\n"
  "{\n"
@@ -152,6 +153,19 @@ std::string linenumberify(const std::string& s)
 }
 #endif
 
+bool AllStringsAreNull(const rtl_uString* const* pStringArray, size_t nLength)
+{
+if (pStringArray == nullptr)
+return true;
+
+for (size_t i = 0; i < nLength; i++)
+if (pStringArray[i] != nullptr)
+return false;
+
+return true;
+}
+
+
 } // anonymous namespace
 
 /// Map the buffer used by an argument and do necessary argument setting
@@ -2615,8 +2629,10 @@ 
DynamicKernelSoPArguments::DynamicKernelSoPArguments(const ScCalcConfig& config,
 
 for (size_t j = 0; j < pDVR->GetArrays().size(); ++j)
 {
-SAL_INFO("sc.opencl", "j=" << j << " mpNumericArray=" 
<< pDVR->GetArrays()[j].mpNumericArray <<
+SAL_INFO("sc.opencl", "i=" << i << " j=" << j <<
+ " mpNumericArray=" << 
pDVR->GetArrays()[j].mpNumericArray <<
  " mpStringArray=" << 
pDVR->GetArrays()[j].mpStringArray <<
+ " allStringsAreNull=" << 

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

2015-09-01 Thread Tomaž Vajngerl
 vcl/opengl/gdiimpl.cxx |   33 ++---
 1 file changed, 14 insertions(+), 19 deletions(-)

New commits:
commit b3de73f32af6276a60f5678861c461631a75e743
Author: Tomaž Vajngerl 
Date:   Tue Sep 1 14:54:53 2015 +0900

opengl: use "old" SubdivideBezier when drawing PolyLines

SubdivideBezier creates polygons which are more exact for drawing
in opengl when drawing hairline PolyLines - so let's use that with
AA line drawing.

Change-Id: I490fd0f19361b5fc9e1f4e03851c1ae1a1f75f71

diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index df3b797..c16b93b 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -1416,30 +1416,25 @@ bool OpenGLSalGraphicsImpl::drawPolyLine(
 const double fHalfWidth = 0.5 * rLineWidth.getX();
 
 // shortcut for hairline drawing to improve performance
-if( bIsHairline )
+if (bIsHairline)
 {
-basegfx::B2DTrapezoidVector aTrapezVector;
-basegfx::tools::createLineTrapezoidFromB2DPolygon(aTrapezVector, 
aPolygon, rLineWidth.getX());
-if (aTrapezVector.size())
+PreDraw();
+if (UseSolidAA(mnLineColor, fTransparency))
 {
-PreDraw();
-if (UseSolidAA(mnLineColor, fTransparency))
+tools::Polygon aToolsPolygon(aPolygon);
+sal_uInt32 nPoints = aToolsPolygon.GetSize();
+if (aToolsPolygon.HasFlags())
+{
+aToolsPolygon = tools::Polygon::SubdivideBezier(aToolsPolygon);
+nPoints = aToolsPolygon.GetSize();
+}
+for (sal_uInt32 i = 0; i < nPoints - 1; ++i)
 {
-for (size_t i = 0; i < aTrapezVector.size(); ++i)
-{
-const basegfx::B2DPolygon& rTrapezPolygon = 
aTrapezVector[i].getB2DPolygon();
-sal_uInt32 nPoints = rTrapezPolygon.count();
-for (sal_uInt32 j = 0; j < nPoints - 1; ++j)
-{
-const basegfx::B2DPoint& rPoint1 = 
rTrapezPolygon.getB2DPoint(j);
-const basegfx::B2DPoint& rPoint2 = 
rTrapezPolygon.getB2DPoint(j + 1);
-DrawLineAA(rPoint1.getX(), rPoint1.getY(),
-   rPoint2.getX(), rPoint2.getY());
-}
-}
+DrawLineAA(aToolsPolygon[i].X(), aToolsPolygon[i].Y(),
+   aToolsPolygon[i + 1].X(), aToolsPolygon[i + 1].Y());
 }
-PostDraw();
 }
+PostDraw();
 return true;
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-ux-advise] [Bug 89543] SIDEBAR: Reducing the height of the Line section

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=89543

Yousuf (Jay) Philips  changed:

   What|Removed |Added

 CC|libreoffice-ux-advise@lists |
   |.freedesktop.org|
  Component|ux-advise   |UI

--- Comment #6 from Yousuf (Jay) Philips  ---
So Rishabh started the work of the reduction with (
https://gerrit.libreoffice.org/#/c/16264/ ) which landed in 5.0, but work is
still needed to complete it.

@Rishabh: Would be good to change the width control into a combobox with the
same presets and add the transparency slider.

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


[Libreoffice-bugs] [Bug 89543] SIDEBAR: Reducing the height of the Line section

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=89543

Yousuf (Jay) Philips  changed:

   What|Removed |Added

 CC|libreoffice-ux-advise@lists |
   |.freedesktop.org|
  Component|ux-advise   |UI

--- Comment #6 from Yousuf (Jay) Philips  ---
So Rishabh started the work of the reduction with (
https://gerrit.libreoffice.org/#/c/16264/ ) which landed in 5.0, but work is
still needed to complete it.

@Rishabh: Would be good to change the width control into a combobox with the
same presets and add the transparency slider.

-- 
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: Branch 'libreoffice-5-0' - vcl/source

2015-09-01 Thread Markus Mohrhard
 vcl/source/opengl/OpenGLContext.cxx |7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 8cb5adc2c1ce42cda302b72ac145053bc906d7c6
Author: Markus Mohrhard 
Date:   Fri Jun 12 02:45:54 2015 +0200

get rid of a few thousand unnecessary OpenGL calls

For each iteration of the (gtk) main loop we are dropping the yield
mutext which results in calling OpenGLContext::clearCurrent. That method
calls OpenGLContext::ReleaseFramebuffers which would call in the end
glBindFramebuffer for each framebuffer related to that context.

This would easily grow into the thousand OpenGL calls without doing any
work.

Change-Id: I209cc534fe58a5e11ef7df7f850a787916b8bd43
Reviewed-on: https://gerrit.libreoffice.org/16241
Tested-by: Jenkins 
Reviewed-by: Markus Mohrhard 
Tested-by: Markus Mohrhard 
Reviewed-on: https://gerrit.libreoffice.org/18218
Reviewed-by: Jan Holesovsky 
Tested-by: Jan Holesovsky 

diff --git a/vcl/source/opengl/OpenGLContext.cxx 
b/vcl/source/opengl/OpenGLContext.cxx
index 5c64448..d4c2a83 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -1633,8 +1633,11 @@ void OpenGLContext::ReleaseFramebuffers()
 OpenGLFramebuffer* pFramebuffer = mpLastFramebuffer;
 while( pFramebuffer )
 {
-BindFramebuffer( pFramebuffer );
-pFramebuffer->DetachTexture();
+if (!pFramebuffer->IsFree())
+{
+BindFramebuffer( pFramebuffer );
+pFramebuffer->DetachTexture();
+}
 pFramebuffer = pFramebuffer->mpPrevFramebuffer;
 }
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2015-09-01 Thread Michael Meeks
 vcl/source/opengl/OpenGLContext.cxx |5 +
 1 file changed, 5 insertions(+)

New commits:
commit bcef0483cfbff181ca940fe219226d11cbb0e6a4
Author: Michael Meeks 
Date:   Thu Aug 27 20:39:19 2015 +0100

tdf#93530 - glClear our depth, stencil and buffer contents on init.

Change-Id: I117fd5f5fd12fd6534b9d10532a39807ad82ce71
Reviewed-on: https://gerrit.libreoffice.org/18069
Reviewed-by: Markus Mohrhard 
Tested-by: Markus Mohrhard 
Reviewed-on: https://gerrit.libreoffice.org/18220
Reviewed-by: Jan Holesovsky 
Tested-by: Jan Holesovsky 

diff --git a/vcl/source/opengl/OpenGLContext.cxx 
b/vcl/source/opengl/OpenGLContext.cxx
index 388a1a0..20b510f 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -871,6 +871,9 @@ bool OpenGLContext::ImplInit()
 
 bool bRet = InitGLEW();
 InitGLEWDebugging();
+
+glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
+
 return bRet;
 }
 
@@ -1013,6 +1016,8 @@ bool OpenGLContext::ImplInit()
 m_aGLWin.Width = clientRect.right - clientRect.left;
 m_aGLWin.Height = clientRect.bottom - clientRect.top;
 
+glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
+
 return true;
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 93741] Flickering Text During Autocomplete

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93741

--- Comment #1 from dmdcare...@care2.com ---
I forgot to add that the flickering causes the autocomplete to run very slowly.

-- 
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 93530] menu non-rendering on click ...

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93530

--- Comment #8 from Commit Notification 
 ---
Michael Meeks committed a patch related to this issue.
It has been pushed to "libreoffice-5-0":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=bcef0483cfbff181ca940fe219226d11cbb0e6a4=libreoffice-5-0

tdf#93530 - glClear our depth, stencil and buffer contents on init.

It will be available in 5.0.2.

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-bugs] [Bug 93530] menu non-rendering on click ...

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93530

Commit Notification  changed:

   What|Removed |Added

 Whiteboard| target:5.1.0   | target:5.1.0 target:5.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-ux-advise] [Bug 82504] EDITING: Background color button should fill cell background and not paragraph color when in a cell (proposed solution in comment #10)

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=82504

Yousuf (Jay) Philips  changed:

   What|Removed |Added

 CC|libreoffice-ux-advise@lists |
   |.freedesktop.org|

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


[Libreoffice-bugs] [Bug 85694] Add indication for "Keep with next paragraph" and show it with "show nonprinting character"

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=85694

Cor Nouws  changed:

   What|Removed |Added

 CC||c...@nouenoff.nl
   Hardware|x86 (IA32)  |All
Version|4.3.0.4 release |Inherited From OOo
Summary|Show "Keep with next|Add indication for "Keep
   |paragraph" with "show   |with next paragraph" and
   |nonprinting character"  |show it with "show
   ||nonprinting character"
 OS|Windows (All)   |All

-- 
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-ux-advise] [Bug 93844] New: SIDEBAR: Style previews in Styles and Formatting tab in Calc

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93844

Bug ID: 93844
   Summary: SIDEBAR: Style previews in Styles and Formatting tab
in Calc
   Product: LibreOffice
   Version: 5.1.0.0.alpha0+ Master
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: Calc
  Assignee: libreoffice-b...@lists.freedesktop.org
  Reporter: philip...@hotmail.com
CC: bu...@bubli.org,
libreoffice-ux-advise@lists.freedesktop.org,
qui...@gmail.com
Blocks: 65138

Tomaz implemented this feature in 5.0 for Writer, so it would be useful to also
have it in Calc.

The commit -
http://cgit.freedesktop.org/libreoffice/core/commit/?id=ca95307638207db5d662059aa61594151a13e927

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


[Libreoffice-bugs] [Bug 65138] [META] Sidebar feature related issues

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=65138

Yousuf (Jay) Philips  changed:

   What|Removed |Added

 Depends on||93844

-- 
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 93844] New: SIDEBAR: Style previews in Styles and Formatting tab in Calc

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93844

Bug ID: 93844
   Summary: SIDEBAR: Style previews in Styles and Formatting tab
in Calc
   Product: LibreOffice
   Version: 5.1.0.0.alpha0+ Master
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: philip...@hotmail.com
CC: bu...@bubli.org,
libreoffice-ux-adv...@lists.freedesktop.org,
qui...@gmail.com
Blocks: 65138

Tomaz implemented this feature in 5.0 for Writer, so it would be useful to also
have it in Calc.

The commit -
http://cgit.freedesktop.org/libreoffice/core/commit/?id=ca95307638207db5d662059aa61594151a13e927

-- 
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-ux-advise] [Bug 93845] SIDEBAR: Checkbox to enable/disable style previews in the Styles and Formatting tab

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93845

Yousuf (Jay) Philips  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC|libreoffice-ux-advise@lists |
   |.freedesktop.org|
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=90
   ||646
 Ever confirmed|0   |1

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


[Libreoffice-bugs] [Bug 90646] Improving the "Style & Formatting" sidebar tab

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=90646

Yousuf (Jay) Philips  changed:

   What|Removed |Added

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

-- 
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 93845] SIDEBAR: Checkbox to enable/disable style previews in the Styles and Formatting tab

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93845

Yousuf (Jay) Philips  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC|libreoffice-ux-advise@lists |
   |.freedesktop.org|
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=90
   ||646
 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-ux-advise] [Bug 93663] Changing 'Numbering Type' to 'Numbering' in bullet and numbering dialog

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93663

Yousuf (Jay) Philips  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||libreoffice-ux-advise@lists
   ||.freedesktop.org
  Component|LibreOffice |UI
 Ever confirmed|0   |1

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


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

2015-09-01 Thread Jan Holesovsky
 vcl/source/opengl/OpenGLContext.cxx |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 7017ab3559f8298f9afa364171531a10782d8d29
Author: Jan Holesovsky 
Date:   Tue Sep 1 18:38:27 2015 +0200

windows opengl: When the 2nd param is NULL, the 1st is ignored anyway.

Change-Id: I840e8bb2d2ccae869c330bb32dba484b4a835a51
Reviewed-on: https://gerrit.libreoffice.org/18248
Tested-by: Jenkins 
Reviewed-by: Markus Mohrhard 
Tested-by: Markus Mohrhard 

diff --git a/vcl/source/opengl/OpenGLContext.cxx 
b/vcl/source/opengl/OpenGLContext.cxx
index c4ff6d8..84d8a79 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -1296,7 +1296,7 @@ void OpenGLContext::reset()
 if (itr != g_vShareList.end())
 g_vShareList.erase(itr);
 
-wglMakeCurrent( m_aGLWin.hDC, 0 );
+wglMakeCurrent(NULL, NULL);
 wglDeleteContext( m_aGLWin.hRC );
 ReleaseDC( m_aGLWin.hWnd, m_aGLWin.hDC );
 }
@@ -1473,7 +1473,7 @@ void OpenGLContext::resetCurrent()
 OpenGLZone aZone;
 
 #if defined( WNT )
-wglMakeCurrent( m_aGLWin.hDC, 0 );
+wglMakeCurrent(NULL, NULL);
 #elif defined( MACOSX )
 (void) this; // loplugin:staticmethods
 OpenGLWrapper::resetCurrent();
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 93762] 5.0.0.5 does not detect that an update is available

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93762

V Stuart Foote  changed:

   What|Removed |Added

 CC||qu...@runcibility.com

--- Comment #3 from V Stuart Foote  ---
@Robinson, are you able to add the signatures for 5.0.1.2 release to the
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


Purpose of user setting WorkPathChanged ?

2015-09-01 Thread Regina Henschel

Hi all,

I have started to look at 
https://bugs.documentfoundation.org/show_bug.cgi?id=43021.


It is about Windows and therefore the method setDisplayDirectory from 
/core/fpicker/source/win32/filepicker/VistaFilePicker.cxx is involved.


I know already, that if the property PROP_FORCE is set to "true", the 
directory is set in the file picker. But simple forcing it to "true" has 
problems in other parts, where a file picker is used. So I need some 
deeper understanding. And in that I struggle about "WorkPathChanged".


The method setDisplayDirectory sets the user setting WorkPathChanged to 
"false". From the UI I see that it is set to "true", if you change the 
"My Documents" path in Tools>Options. But I do not find the place where 
this setting is evaluated.


And it makes no sense to me, that the method setDisplayDirectory changes 
a user setting, because the API says, "Sets the directory that the file 
dialog initially displays." and nothing else.


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


[Libreoffice-bugs] [Bug 93655] Crash on sort

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93655

--- Comment #3 from geek...@vfemail.net ---
Some further info, and a workaround:

What makes it crash is when I select whole rows, and then try to sort them by
the contents on one or more columns. If I select a rectangle of cells (say
A459:EZ986), and then just sort that rectangle, the sort works without
crashing.

-- 
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 92710] Right-to-Left direction for Arabic is not working

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92710

Yousuf (Jay) Philips  changed:

   What|Removed |Added

 Whiteboard||bibisectRequest

--- Comment #25 from Yousuf (Jay) Philips  ---
(In reply to Mohammed Rahawi from comment #23)
> Created attachment 118315 [details]
> Video demonostrating the bug in LO 5.0.0 that renders it incmpatible with
> Arabic

The behaviour seen here is what would happen if I switched text in LTR to right
aligned and started typing. Its unfortunate that this would happen when RTL is
enabled on mac.

-- 
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 93845] New: SIDEBAR: Checkbox to enable/disable style previews in the Styles and Formatting tab

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93845

Bug ID: 93845
   Summary: SIDEBAR: Checkbox to enable/disable style previews in
the Styles and Formatting tab
   Product: LibreOffice
   Version: 5.1.0.0.alpha0+ Master
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: UI
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: philip...@hotmail.com
CC: libreoffice-ux-adv...@lists.freedesktop.org,
qui...@gmail.com
Blocks: 65138

Tomaz implemented a system setting to enable/disable style previews in the
Styles and Formatting tab (bug 91495), but this is only accessible through the
expert configuration setting '/org.openoffice.Office.Common/StylesAndFormatting
Preview' and should be made easily available within the sidebar as a checkbox,
similar to this mockup (attachment 115020).

-- 
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 65138] [META] Sidebar feature related issues

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=65138

Yousuf (Jay) Philips  changed:

   What|Removed |Added

 Depends on||93845

-- 
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-ux-advise] [Bug 93845] New: SIDEBAR: Checkbox to enable/disable style previews in the Styles and Formatting tab

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93845

Bug ID: 93845
   Summary: SIDEBAR: Checkbox to enable/disable style previews in
the Styles and Formatting tab
   Product: LibreOffice
   Version: 5.1.0.0.alpha0+ Master
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: UI
  Assignee: libreoffice-b...@lists.freedesktop.org
  Reporter: philip...@hotmail.com
CC: libreoffice-ux-advise@lists.freedesktop.org,
qui...@gmail.com
Blocks: 65138

Tomaz implemented a system setting to enable/disable style previews in the
Styles and Formatting tab (bug 91495), but this is only accessible through the
expert configuration setting '/org.openoffice.Office.Common/StylesAndFormatting
Preview' and should be made easily available within the sidebar as a checkbox,
similar to this mockup (attachment 115020).

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


[Libreoffice-bugs] [Bug 93663] Changing 'Numbering Type' to 'Numbering' in bullet and numbering dialog

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93663

Yousuf (Jay) Philips  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||libreoffice-ux-advise@lists
   ||.freedesktop.org
  Component|LibreOffice |UI
 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-commits] core.git: Branch 'aoo/trunk' - 2 commits - sal/qa

2015-09-01 Thread Damjan Jovanovic
 sal/qa/rtl/bootstrap/makefile.mk|   28 
 sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx  | 1076 
 sal/qa/rtl/doublelock/makefile.mk   |   30 
 sal/qa/rtl/doublelock/rtl_doublelocking.cxx |  135 +--
 4 files changed, 588 insertions(+), 681 deletions(-)

New commits:
commit 5d85807f783887da8155b8d47d610e88ea929c13
Author: Damjan Jovanovic 
Date:   Wed Sep 2 01:43:52 2015 +

#i125003# migrate main/sal/qa/rtl/doublelock from cppunit to Google Test. 
Also fix

an include file problem that stopped it from compiling.

diff --git a/sal/qa/rtl/doublelock/makefile.mk 
b/sal/qa/rtl/doublelock/makefile.mk
index 6181921..dcc29f20 100644
--- a/sal/qa/rtl/doublelock/makefile.mk
+++ b/sal/qa/rtl/doublelock/makefile.mk
@@ -31,11 +31,16 @@ ENABLE_EXCEPTIONS=TRUE
 
 .INCLUDE :  settings.mk
 
+.IF "$(ENABLE_UNIT_TESTS)" != "YES"
+all:
+@echo unit tests are disabled. Nothing to do.
+
+.ELSE
+
+
 CFLAGS+= $(LFS_CFLAGS)
 CXXFLAGS+= $(LFS_CFLAGS)
 
-CFLAGSCXX += $(CPPUNIT_CFLAGS)
-
 # BEGIN 
 # auto generated Target:testjob by codegen.pl
 
@@ -43,24 +48,19 @@ CFLAGSCXX += $(CPPUNIT_CFLAGS)
 CFLAGS+=/Ob1
 .ENDIF
 
-SHL1OBJS=  \
+APP1OBJS=  \
 $(SLO)$/rtl_doublelocking.obj
 
-SHL1TARGET= rtl_doublelocking
-SHL1STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
-
-SHL1IMPLIB= i$(SHL1TARGET)
-DEF1NAME=$(SHL1TARGET)
-SHL1VERSIONMAP = $(PRJ)$/qa$/export.map
+APP1TARGET= rtl_doublelocking
+APP1STDLIBS= $(SALLIB) $(GTESTLIB) $(TESTSHL2LIB)
+APP1RPATH = NONE
+APP1TEST = enabled
 
 # END --
 
-#--- All object files 
---
-# do this here, so we get right dependencies
-
-SLOFILES=$(SHL1OBJS)
-
 # --- Targets --
 
 .INCLUDE :  target.mk
-.INCLUDE : _cppunit.mk
+
+.ENDIF # "$(ENABLE_UNIT_TESTS)" != "YES"
+
diff --git a/sal/qa/rtl/doublelock/rtl_doublelocking.cxx 
b/sal/qa/rtl/doublelock/rtl_doublelocking.cxx
index 26ff075..a5077a7 100644
--- a/sal/qa/rtl/doublelock/rtl_doublelocking.cxx
+++ b/sal/qa/rtl/doublelock/rtl_doublelocking.cxx
@@ -28,9 +28,8 @@
 //
 #include 
 
-#ifndef _RTL_USTRING_HXX_
-#include 
-#endif
+#include 
+#include 
 
 #ifndef _OSL_THREAD_HXX
 #include 
@@ -39,7 +38,7 @@
 
 #include 
 
-#include 
+#include "gtest/gtest.h"
 
 // 
-
 #define CONST_TEST_STRING "gregorian"
@@ -56,9 +55,9 @@ inline void printOUString( ::rtl::OUString const & _suStr )
 {
 rtl::OString aString;
 
-t_print( "OUString: " );
+printf( "OUString: " );
 aString = ::rtl::OUStringToOString( _suStr, RTL_TEXTENCODING_ASCII_US );
-t_print( "'%s'\n", aString.getStr( ) );
+printf( "'%s'\n", aString.getStr( ) );
 }
 
 // 
-
@@ -73,7 +72,7 @@ namespace ThreadHelper
 {
 // if (nVerbose == VERBOSE)
 // {
-// t_print("wait %d tenth seconds. ", _nTenthSec );
+// printf("wait %d tenth seconds. ", _nTenthSec );
 // fflush(stdout);
 // }
 #ifdef WNT  //Windows
@@ -87,7 +86,7 @@ namespace ThreadHelper
 #endif
 // if (nVerbose == VERBOSE)
 // {
-// t_print("done\n");
+// printf("done\n");
 // }
 }
 }
@@ -150,7 +149,7 @@ public:
 {
 if (isRunning())
 {
-t_print("error: not terminated.\n");
+printf("error: not terminated.\n");
 }
 }
 };
@@ -162,95 +161,85 @@ namespace rtl_DoubleLocking
 /** Test of the osl::Thread::create method
  */
 
-class getValue : public CppUnit::TestFixture
+class getValue : public ::testing::Test
 {
 public:
 
 // initialise your test code values here.
-void setUp()
+void SetUp()
 {
 }
 
-void tearDown()
+void TearDown()
 {
 }
+}; // class create
 
+TEST_F(getValue, getValue_001)
+{
+rtl::OUString aStr = Gregorian::get();
+printOUString(aStr);
 
-void getValue_001()
-{
-rtl::OUString aStr = Gregorian::get();
-printOUString(aStr);
-
-CPPUNIT_ASSERT_MESSAGE(
-"Gregorian::get() failed, wrong value expected.",
-aStr.getLength() != 0
-);
-}
-
-/** check 2 threads.
+ASSERT_TRUE(aStr.getLength() != 0)
+<< "Gregorian::get() failed, wrong value expected.";
+}
 
-ALGORITHM:
-Here the function should show, that 2 different threads,
-which only increase a 

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

2015-09-01 Thread Henry Castro
 desktop/source/lib/init.cxx |   21 -
 1 file changed, 12 insertions(+), 9 deletions(-)

New commits:
commit 5032455fe1ecdca9ee6eb96b5d539a66733bfb9e
Author: Henry Castro 
Date:   Tue Sep 1 22:06:09 2015 -0400

lok: rework use preInitBootstrap

Change-Id: Ifdba1eaf4cec448fe3284015c36ea7fd1b3440b0

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 32f0aac..9e1f1b4 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -894,7 +894,7 @@ static void aBasicErrorFunc(const OUString& rError, const 
OUString& rAction)
 fprintf(stderr, "Unexpected basic error dialog '%s'\n", aBuffer.getStr());
 }
 
-static bool initialize_uno(const OUString& aAppProgramURL)
+static bool initialize_uno(const OUString& aAppProgramURL, bool bPreInit)
 {
 #ifdef IOS
 // For iOS we already hardocde the inifile as "rc" in the .app directory.
@@ -903,6 +903,13 @@ static bool initialize_uno(const OUString& aAppProgramURL)
 rtl::Bootstrap::setIniFilename(aAppProgramURL + "/" 
SAL_CONFIGFILE("soffice"));
 #endif
 
+if (bPreInit)
+{
+// pre-load all component libraries.
+cppu::preInitBootstrap();
+return true;
+}
+
 xContext = cppu::defaultBootstrap_InitialComponentContext();
 if (!xContext.is())
 {
@@ -966,11 +973,6 @@ static void lo_status_indicator_callback(void *data, 
comphelper::LibreOfficeKit:
 }
 }
 
-/// pre-load all C++ component factories and leak references to them.
-static void forceLoadAllNativeComponents()
-{
-}
-
 /// pre-load and parse all filter XML
 static void forceLoadFilterXML()
 {
@@ -1032,9 +1034,11 @@ static int lo_initialize(LibreOfficeKit* pThis, const 
char* pAppPath, const char
 {
 SAL_INFO("lok", "Attempting to initalize UNO");
 
-if (!initialize_uno(aAppURL))
+if (!initialize_uno(aAppURL, (eStage == PRE_INIT)))
 return false;
-force_c_locale();
+
+if (eStage != PRE_INIT)
+force_c_locale();
 
 // Force headless -- this is only for bitmap rendering.
 rtl::Bootstrap::set("SAL_USE_VCLPLUGIN", "svp");
@@ -1049,7 +1053,6 @@ static int lo_initialize(LibreOfficeKit* pThis, const 
char* pAppPath, const char
 
 if (eStage == PRE_INIT)
 {
-forceLoadAllNativeComponents();
 forceLoadFilterXML();
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-ux-advise] [Bug 93561] SIDEBAR: Alignment and arrangement content panel in Properties tab

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93561

Yousuf (Jay) Philips  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||libreoffice-ux-advise@lists
   ||.freedesktop.org
 Ever confirmed|0   |1
 Whiteboard||needsDevEval topicUI

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


[Libreoffice-bugs] [Bug 93561] SIDEBAR: Alignment and arrangement content panel in Properties tab

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93561

Yousuf (Jay) Philips  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||libreoffice-ux-advise@lists
   ||.freedesktop.org
 Ever confirmed|0   |1
 Whiteboard||needsDevEval topicUI

-- 
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 90497] Implementing document themes

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=90497

--- Comment #4 from Yousuf (Jay) Philips  ---
I had created 3 documents regarding document theming and they are available in
this google drive folder.

https://drive.google.com/folderview?id=0B6qJrVIa0SAlflNsaGxmNjB2SzlCSV9faFQ0cVVOTGZWRDMwUzhTd0ZDRG0xUkZSSDdHWXc=sharing

So Tomaz mentioned that he's still continuing his work on the hidden
experimental 'Design' sidebar tab, where there is now previews of the color and
style sets.

ColorSets: add preview to ThemePanel, move impl. to own file
http://cgit.freedesktop.org/libreoffice/core/commit/?id=c9df840d207c8d965b2df993e0a90be89f52c254

Show previews of style presets in sidebar
http://cgit.freedesktop.org/libreoffice/core/commit/?id=48d2dca48d75fef67e3caa61d80f074fdbeb9984

Again add ability to change tint/shade of a color + unit test
http://cgit.freedesktop.org/libreoffice/core/commit/?id=a0ab7c31a254285856f6520d069570647c56af22

-- 
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-ux-advise] [Bug 90497] Implementing document themes

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=90497

--- Comment #4 from Yousuf (Jay) Philips  ---
I had created 3 documents regarding document theming and they are available in
this google drive folder.

https://drive.google.com/folderview?id=0B6qJrVIa0SAlflNsaGxmNjB2SzlCSV9faFQ0cVVOTGZWRDMwUzhTd0ZDRG0xUkZSSDdHWXc=sharing

So Tomaz mentioned that he's still continuing his work on the hidden
experimental 'Design' sidebar tab, where there is now previews of the color and
style sets.

ColorSets: add preview to ThemePanel, move impl. to own file
http://cgit.freedesktop.org/libreoffice/core/commit/?id=c9df840d207c8d965b2df993e0a90be89f52c254

Show previews of style presets in sidebar
http://cgit.freedesktop.org/libreoffice/core/commit/?id=48d2dca48d75fef67e3caa61d80f074fdbeb9984

Again add ability to change tint/shade of a color + unit test
http://cgit.freedesktop.org/libreoffice/core/commit/?id=a0ab7c31a254285856f6520d069570647c56af22

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


[Libreoffice-bugs] [Bug 93844] SIDEBAR: Style previews in Styles and Formatting tab in Calc

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93844

Yousuf (Jay) Philips  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC|libreoffice-ux-advise@lists |
   |.freedesktop.org|
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=90
   ||646
 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 90646] Improving the "Style & Formatting" sidebar tab

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=90646

Yousuf (Jay) Philips  changed:

   What|Removed |Added

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

-- 
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 93846] Emoji does not work those had been translated

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93846

--- Comment #1 from yanjing...@gmail.com ---
Created attachment 118321
  --> https://bugs.documentfoundation.org/attachment.cgi?id=118321=edit
emoji work and does not 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


[Libreoffice-bugs] [Bug 93356] SORTING causes crash Calc 5.0.0.5

2015-09-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93356

--- Comment #5 from gekach...@yahoo.com ---
LO did NOT crash for me on the above steps with the development build
master~2015-09-01_06.18.16_LibreOfficeDev_5.1.0.0.alpha1_Win_x86
(and opening the file from inside LO).

(I found the possibly unstable development build after following instructions
on
 https://wiki.documentfoundation.org/How_to_get_a_backtrace_with_WinDbg
 , near the bottom.  It worked after I figured out that it installs into
 a separate directory.  It does not override the current install.
 Opening the file from Windows explorer or the start menu 
 will not use the development build.)

-- 
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


Building LibreOffice on Mac OSX

2015-09-01 Thread Shubham Khara
https://wiki.documentfoundation.org/Development/BuildingOnMac

In minimal setup, How am I supposed to create a file mentioned in the 4th
point.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: --show still see GUI

2015-09-01 Thread Jerry Geis
Thanks for the reply.
That is not something I can do right now.
Was hoping after all these years it was "there".

Jerry

On Tue, Sep 1, 2015 at 6:10 PM, Thorsten Behrens  wrote:

> Jerry Geis wrote:
> > When I use the command line switch --show on linux
> > I still see the GUI... the progress loading is what I'm talking about.
> >
> > Any way to not see that ? just have a blank/black screen while loading ?
> >
> Hi Jerry,
>
> nothing like that existing yet. This being the developer list -
> interested to hack up a fix for this? Happy to provide you with code
> pointers then.
>
> Cheers,
>
> -- Thorsten
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


  1   2   3   4   >