[Libreoffice-bugs] [Bug 95828] Calculating

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

--- Comment #6 from Beluga  ---
Even after changing K4 away from text, the formula was still showing. I had to
cut it away, accept, paste it in and then ctrl-m remove the weird formatting.

-- 
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 41981] Custom Shortcut Keys for Special Symbols

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

--- Comment #5 from General Kutuzov  ---
Microsoft Windows have Alt+Numpad shortcut to input special character, this
requiring NumLock turned on.
https://msdn.microsoft.com/en-us/goglobal/bb964658.aspx

But some PCs (such as Lonovo Yoga 13) don’t have NumLock key natively, making
this shortcut unnecessary, so in this case allow users to define shortcut keys
to input special characters is so useful.

-- 
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 95794] Rotation character menu disappeared

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

Roger  changed:

   What|Removed |Added

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

-- 
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 88277] Meta: SVG fileOpen filter (Draw)

2015-11-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=88277
Bug 88277 depends on bug 64276, which changed state.

Bug 64276 Summary: SVG: Problem with some svg file.
https://bugs.documentfoundation.org/show_bug.cgi?id=64276

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

-- 
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 64276] SVG: Problem with some svg file.

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

Xisco Faulí  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #13 from Xisco Faulí  ---
The problem is that SVG filter doesn't support styles defined inside 

[Libreoffice-bugs] [Bug 94765] FILEOPEN: SVG:

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

Xisco Faulí  changed:

   What|Removed |Added

 CC||qfeng.c...@gmail.com

--- Comment #5 from Xisco Faulí  ---
*** Bug 64276 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 64549] [SVG import] tits have no nipples 4.0.4.0+

2015-11-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=64549
Bug 64549 depends on bug 64276, which changed state.

Bug 64276 Summary: SVG: Problem with some svg file.
https://bugs.documentfoundation.org/show_bug.cgi?id=64276

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

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


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

2015-11-16 Thread Caolán McNamara
 vcl/unx/generic/gdi/cairotextrender.cxx |2 --
 1 file changed, 2 deletions(-)

New commits:
commit 97fc4f7cb8d3c583503bdf9f6622c656f37002e8
Author: Caolán McNamara 
Date:   Mon Nov 16 16:21:49 2015 +

this is pure cairo, no xlib foo here

Change-Id: I037f4a293c64071306b782a156162735a2658e23

diff --git a/vcl/unx/generic/gdi/cairotextrender.cxx 
b/vcl/unx/generic/gdi/cairotextrender.cxx
index 8f08e46..7190adb 100644
--- a/vcl/unx/generic/gdi/cairotextrender.cxx
+++ b/vcl/unx/generic/gdi/cairotextrender.cxx
@@ -39,8 +39,6 @@
 
 #include 
 #include 
-#include 
-#include 
 
 CairoTextRender::CairoTextRender()
 : mnTextColor(MAKE_SALCOLOR(0x00, 0x00, 0x00)) //black
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 94216] Unable to Install x86 5.0.1.2 on x86-64 W10: Error 1303

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

--- Comment #19 from Dirk Munk  ---
This has been a consistent problem with several previous versions of the 64 bit
version of LibreOffice.

For some reason the program directory is not completely deleted during the
uninstall process. The program directory is left in a unknown state, and after
a reboot it is gone.

The only way to update LibreOffice x64 now is to uninstall the old version,
reboot the system to remove the install directory, and then install the new
version.

-- 
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 95838] Right text margin not justified

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

uwe...@gmail.com changed:

   What|Removed |Added

 Resolution|NOTABUG |FIXED

--- Comment #6 from uwe...@gmail.com ---
Hi Ben,

indeed "clear formatting" and than reformatting Garamond justified or Courier
justified seems to alleviate the problem.

This text was initially formatted using iWork09-Pages and went via DOCX-format
into Libreoffice due to bad hyphenation in Pages09. I never intentionally fixed
spacing. Is there a way to "unfix spaces" anywhere in the menues ?

I am relieved that this is not an OSX problem and also that I can continue with
the book. I will add a mention of LibreOffice at the end of the book if
everything goes fine now.

Many thanks for your help.

Regards
Uwe Hobohm

-- 
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 92199] Crash: when Macro Dialogs Edit

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

Caolán McNamara  changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #7 from Caolán McNamara  ---


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

-- 
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 94765] FILEOPEN: SVG:

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

Xisco Faulí  changed:

   What|Removed |Added

 CC||tim-libreoffice@sentinelchi
   ||cken.org

--- Comment #6 from Xisco Faulí  ---
*** Bug 78232 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 78232] Embedding PyGal SVG gives black box, but inkscape has no trouble

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

Xisco Faulí  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||aniste...@gmail.com
 Resolution|--- |DUPLICATE

--- Comment #4 from Xisco Faulí  ---
The problem is that SVG filter doesn't support styles defined inside 

[Libreoffice-commits] core.git: bin/lo-all-static-libs configure.ac external/cairo RepositoryExternal.mk vcl/headless vcl/inc vcl/Library_vcl.mk vcl/unx

2015-11-16 Thread Caolán McNamara
 RepositoryExternal.mk |   18 ++
 bin/lo-all-static-libs|2 ++
 configure.ac  |2 +-
 external/cairo/ExternalPackage_cairo.mk   |4 
 external/cairo/ExternalPackage_pixman.mk  |5 +
 external/cairo/ExternalProject_cairo.mk   |5 -
 external/cairo/ExternalProject_pixman.mk  |2 +-
 vcl/Library_vcl.mk|2 ++
 vcl/headless/svpgdi.cxx   |   23 +++
 vcl/inc/headless/svpgdi.hxx   |5 ++---
 vcl/inc/unx/gtk/gtkgdi.hxx|2 --
 vcl/unx/gtk3/gdi/gtk3cairotextrender.cxx  |   13 +++--
 vcl/unx/gtk3/gdi/gtk3cairotextrender.hxx  |9 +
 vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx |7 +--
 14 files changed, 59 insertions(+), 40 deletions(-)

New commits:
commit fb7d4ba1cbe24b74dfab0f54eeffe898a0291ce3
Author: Caolán McNamara 
Date:   Mon Nov 16 13:40:22 2015 +

build cairo on android

Change-Id: Ie2f7662a4cc3955963517f265894b8f6a495ece8
Reviewed-on: https://gerrit.libreoffice.org/19991
Tested-by: Jenkins 
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 

diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 31beeb9..42f53db 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -1272,6 +1272,24 @@ endef
 
 endif # SYSTEM_CAIRO
 
+else ifeq ($(OS),ANDROID)
+
+define gb_LinkTarget__use_cairo
+$(call gb_LinkTarget_use_package,$(1),cairo)
+$(call gb_LinkTarget_use_package,$(1),pixman)
+$(call gb_LinkTarget_use_external,$(1),freetype_headers)
+$(call gb_LinkTarget_set_include,$(1),\
+   -I$(call gb_UnpackedTarball_get_dir,cairo) \
+   -I$(call gb_UnpackedTarball_get_dir,cairo)/src \
+   $$(INCLUDE) \
+)
+$(call gb_LinkTarget_add_libs,$(1),\
+   -L$(call gb_UnpackedTarball_get_dir,cairo)/src/.libs -lcairo \
+   -L$(call gb_UnpackedTarball_get_dir,pixman)/pixman/.libs -lpixman-1 \
+)
+
+endef
+
 endif # CAIRO
 
 ifneq ($(SYSTEM_FREETYPE),)
diff --git a/bin/lo-all-static-libs b/bin/lo-all-static-libs
index e6052c3..a5d26c5 100755
--- a/bin/lo-all-static-libs
+++ b/bin/lo-all-static-libs
@@ -39,6 +39,8 @@ ANDROID)
 oslibs="$WORKDIR/UnpackedTarball/curl/lib/.libs/*.a"
 oslibs="$oslibs 
$WORKDIR/UnpackedTarball/fontconfig/src/.libs/libfontconfig.a"
 oslibs="$oslibs $WORKDIR/UnpackedTarball/freetype/objs/.libs/libfreetype.a"
+oslibs="$oslibs $WORKDIR/UnpackedTarball/pixman/pixman/.libs/libpixman-1.a"
+oslibs="$oslibs $WORKDIR/UnpackedTarball/cairo/src/.libs/libcairo.a"
 # Only liblo-bootstrap.a ends up here:
 oslibs="$oslibs $WORKDIR/LinkTarget/Library/lib*.a"
 ;;
diff --git a/configure.ac b/configure.ac
index 58a6ad7..b87fe11 100644
--- a/configure.ac
+++ b/configure.ac
@@ -828,7 +828,7 @@ linux-android*)
 fi
 
 AC_DEFINE(HAVE_FT_FACE_GETCHARVARIANTINDEX)
-BUILD_TYPE="$BUILD_TYPE FONTCONFIG FREETYPE"
+BUILD_TYPE="$BUILD_TYPE CAIRO FONTCONFIG FREETYPE"
 ;;
 
 emscripten*)
diff --git a/external/cairo/ExternalPackage_cairo.mk 
b/external/cairo/ExternalPackage_cairo.mk
index e40fc54..7209276 100644
--- a/external/cairo/ExternalPackage_cairo.mk
+++ b/external/cairo/ExternalPackage_cairo.mk
@@ -11,6 +11,10 @@ $(eval $(call 
gb_ExternalPackage_ExternalPackage,cairo,cairo))
 
 $(eval $(call gb_ExternalPackage_use_external_project,cairo,cairo))
 
+ifneq ($(OS),ANDROID)
+
 $(eval $(call 
gb_ExternalPackage_add_file,cairo,$(LIBO_LIB_FOLDER)/libcairo.so.2,src/.libs/libcairo.so.2.11000.2))
 
+endif
+
 # vim: set noet sw=4 ts=4:
diff --git a/external/cairo/ExternalPackage_pixman.mk 
b/external/cairo/ExternalPackage_pixman.mk
index ead0289..c08a775 100644
--- a/external/cairo/ExternalPackage_pixman.mk
+++ b/external/cairo/ExternalPackage_pixman.mk
@@ -11,6 +11,11 @@ $(eval $(call 
gb_ExternalPackage_ExternalPackage,pixman,pixman))
 
 $(eval $(call gb_ExternalPackage_use_external_project,pixman,pixman))
 
+ifneq ($(OS),ANDROID)
+
 $(eval $(call 
gb_ExternalPackage_add_file,pixman,$(LIBO_LIB_FOLDER)/libpixman-1.so.0,pixman/.libs/libpixman-1.so.0.24.4))
 
+endif
+
+
 # vim: set noet sw=4 ts=4:
diff --git a/external/cairo/ExternalProject_cairo.mk 
b/external/cairo/ExternalProject_cairo.mk
index cc26096..d204514 100644
--- a/external/cairo/ExternalProject_cairo.mk
+++ b/external/cairo/ExternalProject_cairo.mk
@@ -32,7 +32,7 @@ $(call gb_ExternalProject_get_state_target,cairo,build) :
$(call gb_ExternalProject_run,build,\
./configure \
$(if $(debug),STRIP=" ") \
-   CFLAGS="$(if $(debug),-g) $(ZLIB_CFLAGS)" \
+   CFLAGS="$(if $(debug),-g) $(ZLIB_CFLAGS) 
$(gb_VISIBILITY_FLAGS)" \
$(if $(filter ANDROID IOS,$(OS)),PKG_CONFIG=./dummy_pkg_config) 
\

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

2015-11-16 Thread Samuel Mehrbrodt
 framework/inc/xml/toolboxconfigurationdefines.hxx   |1 
 framework/inc/xml/toolboxdocumenthandler.hxx|4 --
 framework/source/fwe/xml/toolboxdocumenthandler.cxx |   30 ++--
 framework/source/uielement/toolbarmanager.cxx   |   22 ++
 4 files changed, 7 insertions(+), 50 deletions(-)

New commits:
commit 38839ae10cb565ff1977b1839de1c8278eac657b
Author: Samuel Mehrbrodt 
Date:   Mon Nov 16 17:33:36 2015 +0100

Remove the ability to set tooltips in the toolbar xml files

It was possible to set a tooltip for a certain toolbar entry.
However, this hasn't been used since that tooltip needed to be repeated for 
each occurence of the same command.
Instead, a TooltipLabel property has been introduced lately (see 
9c2f197e8e945f584e718e889938c06fbf644897).

This doesn't affect extensions (They have their own format to specify 
toolbars).

Change-Id: I0f0fd05b310bb49dd5b4123e31d3e7fec997dd15

diff --git a/framework/inc/xml/toolboxconfigurationdefines.hxx 
b/framework/inc/xml/toolboxconfigurationdefines.hxx
index 6f26715..a61cf0a 100644
--- a/framework/inc/xml/toolboxconfigurationdefines.hxx
+++ b/framework/inc/xml/toolboxconfigurationdefines.hxx
@@ -42,7 +42,6 @@
 #define ATTRIBUTE_WIDTH "width"
 #define ATTRIBUTE_USER  "userdefined"
 #define ATTRIBUTE_HELPID"helpid"
-#define ATTRIBUTE_TOOLTIP   "tooltip"
 #define ATTRIBUTE_ITEMSTYLE "style"
 
 #define ELEMENT_NS_TOOLBAR  "toolbar:toolbar"
diff --git a/framework/inc/xml/toolboxdocumenthandler.hxx 
b/framework/inc/xml/toolboxdocumenthandler.hxx
index 58769fc..1d19bd4 100644
--- a/framework/inc/xml/toolboxdocumenthandler.hxx
+++ b/framework/inc/xml/toolboxdocumenthandler.hxx
@@ -55,7 +55,6 @@ class FWE_DLLPUBLIC OReadToolBoxDocumentHandler :
 TB_ATTRIBUTE_HELPID,
 TB_ATTRIBUTE_STYLE,
 TB_ATTRIBUTE_UINAME,
-TB_ATTRIBUTE_TOOLTIP,
 TB_XML_ENTRY_COUNT
 };
 
@@ -139,7 +138,6 @@ class FWE_DLLPUBLIC OReadToolBoxDocumentHandler :
 OUString  m_aLabel;
 OUString  m_aStyle;
 OUString  m_aHelpURL;
-OUString  m_aTooltip;
 OUString  m_aIsVisible;
 OUString  
m_aCommandURL;
 };
@@ -157,7 +155,7 @@ class FWE_DLLPUBLIC OWriteToolBoxDocumentHandler
   css::uno::RuntimeException );
 
 protected:
-void WriteToolBoxItem( const OUString& aCommandURL, const OUString& 
aLabel, const OUString& aHelpURL, const OUString& aTooltip, sal_Int16 nStyle,
+void WriteToolBoxItem( const OUString& aCommandURL, const OUString& 
aLabel, const OUString& aHelpURL, sal_Int16 nStyle,
sal_Int16 nWidth, bool bVisible ) throw
 ( css::xml::sax::SAXException,
   css::uno::RuntimeException );
diff --git a/framework/source/fwe/xml/toolboxdocumenthandler.cxx 
b/framework/source/fwe/xml/toolboxdocumenthandler.cxx
index 38eb688..e7c595d 100644
--- a/framework/source/fwe/xml/toolboxdocumenthandler.cxx
+++ b/framework/source/fwe/xml/toolboxdocumenthandler.cxx
@@ -49,7 +49,6 @@ namespace framework
 // Property names of a menu/menu item ItemDescriptor
 static const char ITEM_DESCRIPTOR_COMMANDURL[]  = "CommandURL";
 static const char ITEM_DESCRIPTOR_HELPURL[] = "HelpURL";
-static const char ITEM_DESCRIPTOR_TOOLTIP[] = "Tooltip";
 static const char ITEM_DESCRIPTOR_LABEL[]   = "Label";
 static const char ITEM_DESCRIPTOR_TYPE[]= "Type";
 static const char ITEM_DESCRIPTOR_STYLE[]   = "Style";
@@ -59,7 +58,6 @@ static void ExtractToolbarParameters( const Sequence< 
PropertyValue >& rProp,
   OUString&
rCommandURL,
   OUString&rLabel,
   OUString&
rHelpURL,
-  OUString&
rTooltip,
   sal_Int16&   rStyle,
   sal_Int16&   rWidth,
   bool&
rVisible,
@@ -74,8 +72,6 @@ static void ExtractToolbarParameters( const Sequence< 
PropertyValue >& rProp,
 }
 else if ( rProp[i].Name == ITEM_DESCRIPTOR_HELPURL )
 rProp[i].Value >>= rHelpURL;
-else if ( rProp[i].Name == ITEM_DESCRIPTOR_TOOLTIP )
-rProp[i].Value >>= rTooltip;
 else if ( rProp[i].Name == ITEM_DESCRIPTOR_LABEL )
 rProp[i].Value 

[Libreoffice-bugs] [Bug 95858] New: Alphabetical index causes Writer to hang

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

Bug ID: 95858
   Summary: Alphabetical index causes Writer to hang
   Product: LibreOffice
   Version: 5.0.3.2 release
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: major
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: tha...@yahoo.com

Building alphabetical index in a large document (550 pages) forces Writer to a
loop, which only ends with a forced quit.

Rolled back to 4.4.5.2 and the indexes are inserted like a breeze.

I cannot share the big file due to copyright issues. Can anyone else verify
this?

Affected version from Ubuntu libreoffice ppa repo:
Version: 5.0.3.2
Build ID: 1:5.0.3~rc2-0ubuntu1~precise2
Locale: en-US (en_US.UTF-8)

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


[Libreoffice-bugs] [Bug 95837] CRASH: When close Checkbox > General > Label Field Selection window.

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

Beluga  changed:

   What|Removed |Added

   Keywords||have-backtrace

-- 
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-4-4' - download.lst external/libpng

2015-11-16 Thread Caolán McNamara
 download.lst |4 ++--
 external/libpng/configs/pnglibconf.h |   16 
 2 files changed, 10 insertions(+), 10 deletions(-)

New commits:
commit 11e837d9376c4fc13ab103180fa723d84f2f5834
Author: Caolán McNamara 
Date:   Mon Nov 16 11:23:40 2015 +

bump png to 1.5.24 CVE-2015-7981 + CVE-2015-8126

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

diff --git a/download.lst b/download.lst
index 71aec38..707344f 100644
--- a/download.lst
+++ b/download.lst
@@ -121,8 +121,8 @@ export ORCUS_TARBALL := 
7681383be6ce489d84c1c74f4e7f9643-liborcus-0.7.0.tar.bz2
 export PAGEMAKER_MD5SUM := 795cc7a59ace4db2b12586971d668671
 export PAGEMAKER_TARBALL := libpagemaker-0.0.2.tar.bz2
 export PIXMAN_TARBALL := c63f411b3ad147db2bcce1bf262a0e02-pixman-0.24.4.tar.bz2
-export PNG_MD5SUM := 5266905cef49d1224437465ad4d67fd9
-export PNG_TARBALL := libpng-1.5.18.tar.gz
+export PNG_MD5SUM := 6652e428d1d3fc3c6cb1362159b1cf3b
+export PNG_TARBALL := libpng-1.5.24.tar.gz
 export POPPLER_MD5SUM := 35c0660065d023365e9854c13e289d12
 export POPPLER_TARBALL := poppler-0.26.4.tar.gz
 export POSTGRESQL_TARBALL := 
c0b4799ea9850eae3ead14f0a60e9418-postgresql-9.2.1.tar.bz2
diff --git a/external/libpng/configs/pnglibconf.h 
b/external/libpng/configs/pnglibconf.h
index 9e97d1e..8149f59 100644
--- a/external/libpng/configs/pnglibconf.h
+++ b/external/libpng/configs/pnglibconf.h
@@ -1,9 +1,9 @@
-/* 1.5.18 STANDARD API DEFINITION */
+/* 1.5.24 STANDARD API DEFINITION */
 /* pnglibconf.h - library build configuration */
 
-/* libpng version 1.5.18 - February 6, 2014 */
+/* libpng version 1.5.24 - November 12, 2015 */
 
-/* Copyright (c) 1998-2013 Glenn Randers-Pehrson */
+/* Copyright (c) 1998-2015 Glenn Randers-Pehrson */
 
 /* This code is released under the libpng license. */
 /* For conditions of distribution and use, see the disclaimer */
@@ -95,8 +95,6 @@
 #define PNG_SAVE_INT_32_SUPPORTED
 #define PNG_SEQUENTIAL_READ_SUPPORTED
 #define PNG_SETJMP_SUPPORTED
-#define PNG_SET_CHUNK_CACHE_LIMIT_SUPPORTED
-#define PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED
 /*#undef PNG_SET_OPTION_SUPPORTED*/
 #define PNG_SET_USER_LIMITS_SUPPORTED
 #define PNG_STDIO_SUPPORTED
@@ -114,6 +112,7 @@
 #define PNG_WRITE_BGR_SUPPORTED
 #define PNG_WRITE_CHECK_FOR_INVALID_INDEX_SUPPORTED
 #define PNG_WRITE_COMPRESSED_TEXT_SUPPORTED
+#define PNG_WRITE_CUSTOMIZE_COMPRESSION_SUPPORTED
 #define PNG_WRITE_CUSTOMIZE_ZTXT_COMPRESSION_SUPPORTED
 #define PNG_WRITE_FILLER_SUPPORTED
 #define PNG_WRITE_FILTER_SUPPORTED
@@ -172,15 +171,16 @@
 /* end of options */
 /* settings */
 #define PNG_API_RULE 0
-#define PNG_CALLOC_SUPPORTED
-#define PNG_COST_SHIFT 3
 #define PNG_DEFAULT_READ_MACROS 1
 #define PNG_GAMMA_THRESHOLD_FIXED 5000
 #define PNG_MAX_GAMMA_8 11
 #define PNG_QUANTIZE_BLUE_BITS 5
 #define PNG_QUANTIZE_GREEN_BITS 5
 #define PNG_QUANTIZE_RED_BITS 5
-#define PNG_WEIGHT_SHIFT 8
+#define PNG_USER_CHUNK_CACHE_MAX 1000
+#define PNG_USER_CHUNK_MALLOC_MAX 800
+#define PNG_USER_HEIGHT_MAX 100
+#define PNG_USER_WIDTH_MAX 100
 #define PNG_ZBUF_SIZE 8192
 #define PNG_sCAL_PRECISION 5
 /* end of settings */
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2015-11-16 Thread Jan Holesovsky
 sw/inc/unochart.hxx |   20 ++--
 sw/source/core/unocore/unochart.cxx |  152 ++--
 2 files changed, 86 insertions(+), 86 deletions(-)

New commits:
commit 8a9211a06845efc81f9b85dc05b3f2ede2d1deed
Author: Jan Holesovsky 
Date:   Mon Nov 16 14:14:57 2015 +0100

sw: prefix members of SwChartDataSequence.

Change-Id: Ie0c91e739ee7a3bda55fd6dd45aa79c6b75675d1

diff --git a/sw/inc/unochart.hxx b/sw/inc/unochart.hxx
index 09cb4f6..899be66 100644
--- a/sw/inc/unochart.hxx
+++ b/sw/inc/unochart.hxx
@@ -251,23 +251,23 @@ class SwChartDataSequence :
 public SwChartDataSequenceBaseClass,
 public SwClient
 {
-::cppu::OInterfaceContainerHelper  aEvtListeners;
-::cppu::OInterfaceContainerHelper  aModifyListeners;
-css::chart2::data::DataSequenceRoleaRole;
+::cppu::OInterfaceContainerHelper  m_aEvtListeners;
+::cppu::OInterfaceContainerHelper  m_aModifyListeners;
+css::chart2::data::DataSequenceRolem_aRole;
 
-OUString  aRowLabelText;
-OUString  aColLabelText;
+OUString  m_aRowLabelText;
+OUString  m_aColLabelText;
 
 // holds a reference to the data-provider to guarantee its lifetime last as
 // long as the pointer may be used.
-css::uno::Reference< css::chart2::data::XDataProvider >xDataProvider;
-SwChartDataProvider *   pDataProvider;
+css::uno::Reference< css::chart2::data::XDataProvider >m_xDataProvider;
+SwChartDataProvider *   m_pDataProvider;
 
-sw::UnoCursorPointer pTableCrsr;   // cursor spanned over cells to use
+sw::UnoCursorPointer m_pTableCrsr;   // cursor spanned over cells to use
 
-const SfxItemPropertySet*   _pPropSet;
+const SfxItemPropertySet*   m_pPropSet;
 
-boolbDisposed;
+boolm_bDisposed;
 
 SwChartDataSequence( const SwChartDataSequence  );
 SwChartDataSequence & operator = ( const SwChartDataSequence & ) = delete;
diff --git a/sw/source/core/unocore/unochart.cxx 
b/sw/source/core/unocore/unochart.cxx
index 9f05264..1690406 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -1883,16 +1883,16 @@ SwChartDataSequence::SwChartDataSequence(
 SwFrameFormat   ,
 std::shared_ptr pTableCursor ) :
 SwClient(  ),
-aEvtListeners( GetChartMutex() ),
-aModifyListeners( GetChartMutex() ),
-aRowLabelText( SW_RES( STR_CHART2_ROW_LABEL_TEXT ) ),
-aColLabelText( SW_RES( STR_CHART2_COL_LABEL_TEXT ) ),
-xDataProvider(  ),
-pDataProvider(  ),
-pTableCrsr( pTableCursor ),
-_pPropSet( aSwMapProvider.GetPropertySet( 
PROPERTY_MAP_CHART2_DATA_SEQUENCE ) )
+m_aEvtListeners( GetChartMutex() ),
+m_aModifyListeners( GetChartMutex() ),
+m_aRowLabelText( SW_RES( STR_CHART2_ROW_LABEL_TEXT ) ),
+m_aColLabelText( SW_RES( STR_CHART2_COL_LABEL_TEXT ) ),
+m_xDataProvider(  ),
+m_pDataProvider(  ),
+m_pTableCrsr( pTableCursor ),
+m_pPropSet( aSwMapProvider.GetPropertySet( 
PROPERTY_MAP_CHART2_DATA_SEQUENCE ) )
 {
-bDisposed = false;
+m_bDisposed = false;
 
 acquire();
 try
@@ -1901,8 +1901,8 @@ SwChartDataSequence::SwChartDataSequence(
 if (pTable)
 {
 uno::Reference< chart2::data::XDataSequence > xRef( dynamic_cast< 
chart2::data::XDataSequence * >(this), uno::UNO_QUERY );
-pDataProvider->AddDataSequence( *pTable, xRef );
-pDataProvider->addEventListener( dynamic_cast< 
lang::XEventListener * >(this) );
+m_pDataProvider->AddDataSequence( *pTable, xRef );
+m_pDataProvider->addEventListener( dynamic_cast< 
lang::XEventListener * >(this) );
 }
 else {
 OSL_FAIL( "table missing" );
@@ -1921,7 +1921,7 @@ SwChartDataSequence::SwChartDataSequence(
 #if OSL_DEBUG_LEVEL > 0
 // check if it can properly convert into a SwUnoTableCrsr
 // which is required for some functions
-SwUnoTableCrsr* pUnoTableCrsr = 
dynamic_cast(&(*pTableCrsr));
+SwUnoTableCrsr* pUnoTableCrsr = 
dynamic_cast(&(*m_pTableCrsr));
 OSL_ENSURE(pUnoTableCrsr, "SwChartDataSequence: cursor not 
SwUnoTableCrsr");
 (void) pUnoTableCrsr;
 #endif
@@ -1930,17 +1930,17 @@ SwChartDataSequence::SwChartDataSequence(
 SwChartDataSequence::SwChartDataSequence( const SwChartDataSequence  ) :
 SwChartDataSequenceBaseClass(),
 SwClient( rObj.GetFrameFormat() ),
-aEvtListeners( GetChartMutex() ),
-aModifyListeners( GetChartMutex() ),
-aRole( rObj.aRole ),
-aRowLabelText( SW_RES(STR_CHART2_ROW_LABEL_TEXT) ),
-aColLabelText( SW_RES(STR_CHART2_COL_LABEL_TEXT) ),
-xDataProvider( rObj.pDataProvider ),
-pDataProvider( rObj.pDataProvider ),
-pTableCrsr( rObj.pTableCrsr ),
-_pPropSet( rObj._pPropSet )
-{
-bDisposed = false;
+m_aEvtListeners( GetChartMutex() ),
+

[Libreoffice-bugs] [Bug 95780] Image File read errors (multiple images displayed)

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

Beluga  changed:

   What|Removed |Added

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

--- Comment #4 from Beluga  ---
Confirmed the read errors.

Win 7 Pro 64-bit, Version: 5.0.3.2 (x64)
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
Locale: fi-FI (fi_FI)

Version: 5.1.0.0.alpha1+
Build ID: b216cc1b8096eb60c27f67e8c27b7cd756c75e38
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-12_00:06:20
Locale: fi-FI (fi_FI)

3.5.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 64276] SVG: Problem with some svg file.

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

Xisco Faulí  changed:

   What|Removed |Added

 CC||aniste...@gmail.com
Summary|Regression: SVG: Problem|SVG: Problem with some svg
   |with some svg file. |file.

-- 
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 95857] Sort out German plurals ...

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

Michael Meeks  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1
 Whiteboard||easyHack difficultyBeginner
   ||skillCpp topicCleanup

-- 
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 95857] New: Sort out German plurals ...

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

Bug ID: 95857
   Summary: Sort out German plurals ...
   Product: LibreOffice
   Version: 5.0.2.1 rc
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: michael.me...@collabora.com

There are a number of bogus plurals across the code-base exposed as member
names; so for example:

$ git grep Infos

Shows a ton of hits; would be nice to re-work all that are not in the UNO API
to use the 'Info' plural =)

Thanks !

-- 
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 94765] FILEOPEN: SVG:

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

V Stuart Foote  changed:

   What|Removed |Added

 CC||philip...@hotmail.com

--- Comment #7 from V Stuart Foote  ---
*** Bug 79854 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 79854] FILEOPEN: opening this svg file in LibO Draw doesnt show correctly

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

--- Comment #5 from V Stuart Foote  ---


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

-- 
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 95812] Integrate Aw080

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

Armin Le Grand  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Assignee|libreoffice-b...@lists.free |armin.le.gr...@me.com
   |desktop.org |
 Ever confirmed|0   |1

--- Comment #1 from Armin Le Grand  ---
Thanks for the flowers, spare them until I have time to do this ;-)
Of course I would like to, but let's see how far off the codebase is already.
Grepping nonetheless.

-- 
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 77525] PRINTING: Windows Metafiles (WMF) don't correctly print with 'Reduce Image Resolution' enabled on Windows

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

--- Comment #13 from Joel Madero  ---
We don't give ETAs - this bug will be fixed when a volunteer finds it
interesting and wants to fix it. The other options are for you to fix it, for
you to find someone to fix it, or for you to pay for a fix (through a certified
developer or some third party)

-- 
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 95860] New: In LibreOffice 5 Writer -- documents that have highlighting lose that highlighting when exported to HTML.

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

Bug ID: 95860
   Summary: In LibreOffice 5 Writer -- documents that have
highlighting lose that highlighting when exported to
HTML.
   Product: LibreOffice
   Version: unspecified
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: d...@coprolite.net

This was not a problem under LibreOffice 4x.

Note-- possibly related to bug 65404??? I don't know enough tech to know for
sure...

-- 
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 56301] Allow user to edit document with Insert Special Characters open

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

--- Comment #3 from General Kutuzov  ---
I think keep Special Character dialog in the front is a good solution.

-- 
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 95838] Right text margin not justified

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

--- Comment #5 from V Stuart Foote  ---
Yes agree this is not the issue of bug 88941 -- that is fixed (just not
backported to the 4.4 builds).

Seems the sample document extracted from OPs book is not correctly formatted.
Something is wrong with the first paragraph that has direct formatting applied.
Differs from the custom "book_5f_default" style named "book-default" and
assigned to the second paragraph and page.

Other ODF renderings also choke on first paragraph of this document archive.

Find that simply selecting and clearing the direct formatting reverts the
paragraph to the "book-default" paragraph style.  Courier New or other
monospace font direct formatting can be applied over "book-default", or another
paragraph style derived from "book-default" can be defined and applied. Either
case justification becomes correct. However, I do still need to verify that on
an OS X install.

For OP, please verify correct application of paragraph styles, and remove
errant direct formatting that seems to be the issue here. Should resolve when
you correctly define and assign a paragraph style to the text rendered in
Courier now.

Try that and let us know.

-- 
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 95794] Rotation character menu disappeared

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

--- Comment #3 from Roger  ---
(In reply to Beluga from comment #2)
> "has disappeared" compared to what version? Rotation has never been possible
> in a text box.
> 
> Perhaps it is because we can rotate the text box itself.
> 
> Adding needAdvice to check with devs, if this is the intention.
> 
> Win 7 Pro 64-bit, Version: 5.0.3.2 (x64)
> Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
> Locale: fi-FI (fi_FI)
> 
> LibreOffice 3.5.0rc3 
> Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735

Probably you are right. Thanks for make me open my eyes.
I do not compare with other old version because I only have this version... I
made this bug alert because I seem to remember this was possible.
Moreover, in Catalan version there is (in the character menu) a title which
says "turn" but there are not options to turn.

Please sorry for inconveniences.
I think this bug can be closed

-- 
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 94765] FILEOPEN: SVG:

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

Xisco Faulí  changed:

   What|Removed |Added

Summary|Simple Gradients in SVG |FILEOPEN: SVG: 

[Libreoffice-bugs] [Bug 95856] New: Scan hangs in Draw

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

Bug ID: 95856
   Summary: Scan hangs in Draw
   Product: LibreOffice
   Version: 5.0.3.2 release
  Hardware: x86 (IA32)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Draw
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: aaa...@gmail.com

In LibreOffice 5.0.1 and 5.0.3, Draw hangs when scanning a document.
The scan progress bar starts then stops and document is never displayed, must
kill Draw.
Sometimes, but rarely, I can sucessfully scan 1 page but never more.
Issue encountered on a Windows 7 PC.
I tried to update the printer/scanner driver (HP F4280), no difference.
I rolled back to Libre Office 4.4.2 and no more problem, scan works fine, even
with many pages.

-- 
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 95859] New: Impress crashes if Window is resized below specific size.

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

Bug ID: 95859
   Summary: Impress crashes if Window is resized below specific
size.
   Product: LibreOffice
   Version: 5.0.3.2 release
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Impress
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: alderaan.h...@gmail.com

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


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

2015-11-16 Thread Miklos Vajna
 sw/source/uibase/docvw/PostItMgr.cxx |   22 +++---
 1 file changed, 11 insertions(+), 11 deletions(-)

New commits:
commit dc65f048fd1b08d17e71e4d3a3a3c114aae871e6
Author: Miklos Vajna 
Date:   Mon Nov 16 16:30:21 2015 +0100

sw lok comments: fix sidebar width with custom zoom

Change-Id: I6772cce10d157421d983d6b93efb52bf8b95f5b8

diff --git a/sw/source/uibase/docvw/PostItMgr.cxx 
b/sw/source/uibase/docvw/PostItMgr.cxx
index 662dd4a..2889e21 100644
--- a/sw/source/uibase/docvw/PostItMgr.cxx
+++ b/sw/source/uibase/docvw/PostItMgr.cxx
@@ -1865,19 +1865,19 @@ bool SwPostItMgr::HasNotes() const
 
 unsigned long SwPostItMgr::GetSidebarWidth(bool bPx) const
 {
-unsigned long aWidth = (unsigned 
long)(mpWrtShell->GetViewOptions()->GetZoom() * 1.8);
+sal_uInt16 nZoom = mpWrtShell->GetViewOptions()->GetZoom();
+if (comphelper::LibreOfficeKit::isActive())
+{
+// The output device contains the real wanted scale factor.
+double fScaleX = mpWrtShell->GetOut()->GetMapMode().GetScaleX();
+nZoom = fScaleX * 100;
+}
+unsigned long aWidth = (unsigned long)(nZoom * 1.8);
+
 if (bPx)
 return aWidth;
 else
-{
-bool bEnableMapMode = comphelper::LibreOfficeKit::isActive() && 
!mpEditWin->IsMapModeEnabled();
-if (bEnableMapMode)
-mpEditWin->EnableMapMode();
-long nRet = mpEditWin->PixelToLogic(Size(aWidth, 0)).Width();
-if (bEnableMapMode)
-mpEditWin->EnableMapMode(false);
-return nRet;
-}
+return mpWrtShell->GetOut()->PixelToLogic(Size(aWidth, 0)).Width();
 }
 
 unsigned long SwPostItMgr::GetSidebarBorderWidth(bool bPx) const
@@ -1885,7 +1885,7 @@ unsigned long SwPostItMgr::GetSidebarBorderWidth(bool 
bPx) const
 if (bPx)
 return 2;
 else
-return mpEditWin->PixelToLogic(Size(2,0)).Width();
+return mpWrtShell->GetOut()->PixelToLogic(Size(2,0)).Width();
 }
 
 unsigned long SwPostItMgr::GetNoteWidth()
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2015-11-16 Thread Eike Rathke
 formula/source/core/api/FormulaCompiler.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b31b17e52b2b2b94999d68c4b2ed5c74ee7eed0a
Author: Eike Rathke 
Date:   Mon Nov 16 13:38:54 2015 +0100

prevent ForceArray propagation on the same token, tdf#95670 follow-up

This may happen if the last RPN token is put and the function has a
ForceArray parameter but now again would be wrong if not all parameters
are ForceArray.

Change-Id: I890fb6b5b88337033cfcf2e8189371ee39461205

diff --git a/formula/source/core/api/FormulaCompiler.cxx 
b/formula/source/core/api/FormulaCompiler.cxx
index 00988f65..421e829 100644
--- a/formula/source/core/api/FormulaCompiler.cxx
+++ b/formula/source/core/api/FormulaCompiler.cxx
@@ -2256,7 +2256,7 @@ bool FormulaCompiler::IsForceArrayParameter( const 
FormulaToken* /*pToken*/, sal
 
 void FormulaCompiler::ForceArrayOperator( FormulaTokenRef& rCurr )
 {
-if (!pCurrentFactorToken)
+if (!pCurrentFactorToken || (pCurrentFactorToken.get() == rCurr.get()))
 return;
 
 if (!(rCurr->GetOpCode() != ocPush && (rCurr->GetType() == svByte || 
rCurr->GetType() == svJump)))
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2015-11-16 Thread Andrzej Hunt
 loleaflet/src/layer/tile/CalcTileLayer.js |8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

New commits:
commit 4e2bf06674dcca178624c48e6d7cd9cbb0d1f133
Author: Andrzej Hunt 
Date:   Mon Nov 16 14:43:06 2015 +0100

loleaflet: update client zoom before ViewRowColumnHeaders

diff --git a/loleaflet/src/layer/tile/CalcTileLayer.js 
b/loleaflet/src/layer/tile/CalcTileLayer.js
index 227050a..bf3ba5d 100644
--- a/loleaflet/src/layer/tile/CalcTileLayer.js
+++ b/loleaflet/src/layer/tile/CalcTileLayer.js
@@ -125,6 +125,11 @@ L.CalcTileLayer = L.TileLayer.extend({
 
_onZoomRowColumns: function () {
this._isZoomend = true;
+   this._updateClientZoom();
+   if (this._clientZoom) {
+   L.Socket.sendMessage('clientzoom ' + this._clientZoom);
+   this._clientZoom = null;
+   }
L.Socket.sendMessage('commandvalues 
command=.uno:ViewRowColumnHeaders');
},
 
@@ -169,7 +174,8 @@ L.CalcTileLayer = L.TileLayer.extend({
}
}
 
-   L.Socket.sendMessage('commandvalues 
command=.uno:ViewRowColumnHeaders');
+   // Force fetching of row/column headers
+   this._onZoomRowColumns();
},
 
_onCommandValuesMsg: function (textMsg) {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95700] Index dialog cut off

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

raal  changed:

   What|Removed |Added

   Keywords||bisected
 CC||caol...@redhat.com
 Whiteboard||bibisected

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

a31d1d7063014503500cb5de6f36f3486a64da60 is the first bad commit
commit a31d1d7063014503500cb5de6f36f3486a64da60
Author: Matthew Francis 
Date:   Sat Mar 14 22:30:44 2015 +0800

source-hash-7dda48d56f2d10bd6220fba19168ee1a70ecc05f

(Bibisect: Skipped preceding irrelevant commit(s)
8f7f2dc7a8aa6639f41c51216a4b54c4bb885fd4)

commit 7dda48d56f2d10bd6220fba19168ee1a70ecc05f
Author: Caolán McNamara 
AuthorDate: Tue Jul 1 15:04:10 2014 +0100
Commit: Caolán McNamara 
CommitDate: Tue Jul 1 16:43:05 2014 +0100

Related: fdo#80633 cache optimal size

Change-Id: Ic2c3aefebd3061d294f339c6d262a3c3e381fbe4

bibisect-44max$ git bisect log
# bad: [cf6ea17155fabb2a120ba07c150735591ac861d7]
source-hash-3f94c9e9ddfd807b449f3bb9b232cf2041fa12d2
# good: [fc71ac001f16209654d15ef8c1c4018aa55769f5]
source-hash-c15927f20d4727c3b8de68497b6949e72f9e6e9e
git bisect start 'latest' 'oldest'
# bad: [8cf60cc706948588e2f33a6d98b7c55d454e362a]
source-hash-f340f0454627939f1830826fb5cc53a90e6c62a4
git bisect bad 8cf60cc706948588e2f33a6d98b7c55d454e362a
# good: [d9885f526fc7a09cc8f9f8ee643af1b966be24bb]
source-hash-d1465c64c6f64ad8dd25e40cdc69649b24b305ea
git bisect good d9885f526fc7a09cc8f9f8ee643af1b966be24bb
# bad: [c779cf7967f4d14c5e649a5c696b07279d550efd]
source-hash-e9c5022580f14c0ca97503f8b3cc56b530fff174
git bisect bad c779cf7967f4d14c5e649a5c696b07279d550efd
# bad: [030e0477638f9d9110ad62f88fd4b881521e0541]
source-hash-1a6e47e3fda10e6d220b67d766ec6fbdfd852b80
git bisect bad 030e0477638f9d9110ad62f88fd4b881521e0541
# bad: [e5b21da1e7dc9ff7754029c50b197590d67638a1]
source-hash-579d9ae1c5873f78dbe0364c83842de8556f6ccb
git bisect bad e5b21da1e7dc9ff7754029c50b197590d67638a1
# bad: [3aaaff0da6a48aee7a5e827ffc0fc467dd35aacf]
source-hash-0ed069ff8dc941bf902edfefd5c62f1ece3f8ad8
git bisect bad 3aaaff0da6a48aee7a5e827ffc0fc467dd35aacf
# bad: [1c207b72b05a1725334a6da57518e44e3121d79e]
source-hash-b807a02850e4b5cc25707e5af8eb36d76c76af61
git bisect bad 1c207b72b05a1725334a6da57518e44e3121d79e
# bad: [bb2988508caa0c52668ef6ee487c865944fb4bf0]
source-hash-4776da791f69fa14104f054923be25618c297398
git bisect bad bb2988508caa0c52668ef6ee487c865944fb4bf0
# good: [dd70af829a4a695ca92bd2228876bfa11ae5211e]
source-hash-e50ef195bc95f3f410119f623928382cb88b45d2
git bisect good dd70af829a4a695ca92bd2228876bfa11ae5211e
# bad: [cf18a6a00d25c4661a9af13c7efde5cfee8cd34d]
source-hash-4d22b8f7b46c6e93f682ac26aee1403cd5288a88
git bisect bad cf18a6a00d25c4661a9af13c7efde5cfee8cd34d
# bad: [67a7e84abc636970a50f71d0f587e864f77d0be9]
source-hash-b35f3dfb1afa78722a4cd8e69a625456a6dd01d6
git bisect bad 67a7e84abc636970a50f71d0f587e864f77d0be9
# good: [7c6b0e6235a628b3aa154911a24d140f0fdfc8dc]
source-hash-b382f5df849b7ceb22aa0fba73287f040478dc13
git bisect good 7c6b0e6235a628b3aa154911a24d140f0fdfc8dc
# bad: [a31d1d7063014503500cb5de6f36f3486a64da60]
source-hash-7dda48d56f2d10bd6220fba19168ee1a70ecc05f
git bisect bad a31d1d7063014503500cb5de6f36f3486a64da60
# first bad commit: [a31d1d7063014503500cb5de6f36f3486a64da60]
source-hash-7dda48d56f2d10bd6220fba19168ee1a70ecc05f

-- 
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 95802] FORMATTING: Language setting is lost and set to default when selecting HEADING1, etc

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

--- Comment #2 from David  ---
Created attachment 120578
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120578=edit
A document with paragraph language set to pt_Br

A document is attached to demonstrate the supposed bug.  

The document's paragraphs are set to pt_Br. [Português (Brasil)] Changing the
style to say "Heading1" will change the paragraph's language to the default of
the LibreOffice installation.  In my case, the default is English (New
Zealand).  I don't think the paragraph's language should change when changing
the style.  So I am reasonably certain that this is a 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


Re: suggested method to create LibreOffice Extensions

2015-11-16 Thread Andrea Castellani

Hi Andrew,
thank you for any suggestion or contributes.

Congratulation for your OOME. What a great manual!
Also here in Italy we are planning to write something useful for macros 
and extensions in libreoffice, probably with step-by-step instructions.


Best regards.
Andrea Castellani

Il 16/11/2015 13:36, Andrew Pitonyak ha scritto:

If you email me directly I can send you a copy of my macro formatter stuff with 
the document I use to generate the OXT file. Won't have access until Thursday 
or Friday.




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


Re: minutes of ESC call ...

2015-11-16 Thread Jan Holesovsky
Hi Miklos, Robinson,

Michael Meeks píše v Čt 12. 11. 2015 v 16:37 +:
 
> * Further renaming in sw (Kendy/Miklos)
> + Kendy would again update the script so that Cloph can run it before the 
> branch-off
> + new improvements to fix:
> + Sw*Frm -> Sw*Frame, Crsr -> Cursor
>-- now that sw::Frame is gone (specific to binary word filter)
> + script lives in: bin/rename-sw-abbreviations.sh
> + concern wrt. testing before commit (Norbert)
> + can test the script in advance (Miklos)

I've pushed several renames so that running the script causes no
warnings and no errors, and pushed the updated script:

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

Additional testing appreciated of course :-)

> + use more precise Clang plugins ? (Bjoern)
>+ nail the comments too (Miklos)
> AI: + run the script just before branch-off (Robinson)

It should be just a matter of running:

bin/rename-sw-abbreviations.sh

on a tree that has no local modifications, a test build, and a push like
Cloph did the last time:

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

Thank you,
Kendy

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


[Libreoffice-bugs] [Bug 95837] CRASH: When close Checkbox > General > Label Field Selection window.

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

--- Comment #6 from sawakaze  ---
Created attachment 120579
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120579=edit
Retry Debug Trace

To : Beluga

I retried to catch debug log. (WinDbg_95837_Retry.txt)

Perhaps, the case of first log, when crash, I broke debugger, so I was
careless.

Regards,
Sawakaze.

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


Re: [Libreoffice-qa] minutes of ESC call ...

2015-11-16 Thread Jan Holesovsky
Hi Miklos, Robinson,

Michael Meeks píše v Čt 12. 11. 2015 v 16:37 +:
 
> * Further renaming in sw (Kendy/Miklos)
> + Kendy would again update the script so that Cloph can run it before the 
> branch-off
> + new improvements to fix:
> + Sw*Frm -> Sw*Frame, Crsr -> Cursor
>-- now that sw::Frame is gone (specific to binary word filter)
> + script lives in: bin/rename-sw-abbreviations.sh
> + concern wrt. testing before commit (Norbert)
> + can test the script in advance (Miklos)

I've pushed several renames so that running the script causes no
warnings and no errors, and pushed the updated script:

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

Additional testing appreciated of course :-)

> + use more precise Clang plugins ? (Bjoern)
>+ nail the comments too (Miklos)
> AI: + run the script just before branch-off (Robinson)

It should be just a matter of running:

bin/rename-sw-abbreviations.sh

on a tree that has no local modifications, a test build, and a push like
Cloph did the last time:

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

Thank you,
Kendy

___
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 90811] Images are not properly placed when viewing attached document

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

raal  changed:

   What|Removed |Added

 CC||r...@post.cz
Version|4.4.2.2 release |4.4.0.0.alpha2

--- Comment #8 from raal  ---
Reproducible with Version: 4.4.0.0.alpha2+

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

2015-11-16 Thread Stephan Bergmann
 sc/inc/compiler.hxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6edc492efd6fe2de15c1ae306b400ca054772ad1
Author: Stephan Bergmann 
Date:   Mon Nov 16 15:26:50 2015 +0100

-Werror,-Winconsistent-missing-override

Change-Id: I3bb2764b625d44f6e0cecbdde3363440faef63b5

diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx
index ffdd65a..c563323 100644
--- a/sc/inc/compiler.hxx
+++ b/sc/inc/compiler.hxx
@@ -475,7 +475,7 @@ private:
 virtual void CreateStringFromIndex( OUStringBuffer& rBuffer, const 
formula::FormulaToken* pToken ) const override;
 virtual void LocalizeString( OUString& rName ) const override;   // modify 
rName - input: exact name
 
-virtual bool IsForceArrayParameter( const formula::FormulaToken* pToken, 
sal_uInt16 nParam ) const;
+virtual bool IsForceArrayParameter( const formula::FormulaToken* pToken, 
sal_uInt16 nParam ) const override;
 
 /// Access the CharTable flags
 inline sal_uLong GetCharTableFlags( sal_Unicode c, sal_Unicode cLast )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95837] CRASH: When close Checkbox > General > Label Field Selection window.

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

Caolán McNamara  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #7 from Caolán McNamara  ---


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

-- 
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/vcl vcl/source

2015-11-16 Thread Samuel Mehrbrodt
 include/vcl/commandinfoprovider.hxx   |8 ++-
 vcl/source/helper/commandinfoprovider.cxx |   79 ++
 vcl/source/window/builder.cxx |   74 
 vcl/source/window/toolbox2.cxx|   12 
 4 files changed, 79 insertions(+), 94 deletions(-)

New commits:
commit d8fc06d233f189341b3f9acc20253e371198e068
Author: Samuel Mehrbrodt 
Date:   Mon Nov 16 15:41:27 2015 +0100

Move functionality to retrieve command image to CommandInfoProvider

Change-Id: I79c22e0507c5eba8b5e28721de3279131aececc9

diff --git a/include/vcl/commandinfoprovider.hxx 
b/include/vcl/commandinfoprovider.hxx
index 91d98b7..0dc69f8 100644
--- a/include/vcl/commandinfoprovider.hxx
+++ b/include/vcl/commandinfoprovider.hxx
@@ -21,6 +21,7 @@
 
 #include 
 #include 
+#include 
 
 #include 
 #include 
@@ -76,7 +77,12 @@ public:
 
 /** Returns the shortcut for a command in human-readable form */
 OUString GetCommandShortcut (const OUString& rCommandName,
-const 
css::uno::Reference& rxFrame);
+ const 
css::uno::Reference& rxFrame);
+
+Image GetImageForCommand(
+const OUString& rsCommandName,
+bool bLarge,
+const css::uno::Reference& rxFrame);
 
 /** Do not call.  Should be part of a local and hidden interface.
 */
diff --git a/vcl/source/helper/commandinfoprovider.cxx 
b/vcl/source/helper/commandinfoprovider.cxx
index 5d5ac77..4eef99c 100644
--- a/vcl/source/helper/commandinfoprovider.cxx
+++ b/vcl/source/helper/commandinfoprovider.cxx
@@ -27,9 +27,10 @@
 #include 
 #include 
 #include 
+#include 
+#include 
 #include 
 
-
 using namespace css;
 using namespace css::uno;
 
@@ -61,7 +62,7 @@ namespace
 mxFrame->removeEventListener(this);
 }
 virtual void SAL_CALL disposing (const css::lang::EventObject& rEvent)
-throw (css::uno::RuntimeException, std::exception) override
+throw (RuntimeException, std::exception) override
 {
 (void)rEvent;
 mrInfoProvider.SetFrame(nullptr);
@@ -153,6 +154,66 @@ OUString CommandInfoProvider::GetCommandShortcut (const 
OUString& rsCommandName,
 return OUString();
 }
 
+Image CommandInfoProvider::GetImageForCommand(const OUString& rsCommandName, 
bool bLarge,
+  const Reference& 
rxFrame)
+{
+SetFrame(rxFrame);
+
+if (rsCommandName.isEmpty())
+return Image();
+
+sal_Int16 nImageType(ui::ImageType::COLOR_NORMAL | 
ui::ImageType::SIZE_DEFAULT);
+if (bLarge)
+nImageType |= ui::ImageType::SIZE_LARGE;
+
+try
+{
+Reference xController(rxFrame->getController());
+Reference xModel(xController->getModel());
+
+Reference xSupplier(xModel, 
UNO_QUERY);
+if (xSupplier.is())
+{
+Reference 
xDocUICfgMgr(xSupplier->getUIConfigurationManager(), UNO_QUERY);
+Reference 
xDocImgMgr(xDocUICfgMgr->getImageManager(), UNO_QUERY);
+
+Sequence< Reference > aGraphicSeq;
+Sequence aImageCmdSeq { rsCommandName };
+
+aGraphicSeq = xDocImgMgr->getImages( nImageType, aImageCmdSeq );
+Reference xGraphic = aGraphicSeq[0];
+Image aImage(xGraphic);
+
+if (!!aImage)
+return aImage;
+}
+}
+catch (Exception&)
+{
+}
+
+try {
+Reference 
xModuleCfgMgrSupplier(ui::theModuleUIConfigurationManagerSupplier::get(mxContext));
+Reference 
xUICfgMgr(xModuleCfgMgrSupplier->getUIConfigurationManager(GetModuleIdentifier()));
+
+Sequence< Reference > aGraphicSeq;
+Reference 
xModuleImageManager(xUICfgMgr->getImageManager(), UNO_QUERY);
+
+Sequence aImageCmdSeq { rsCommandName };
+
+aGraphicSeq = xModuleImageManager->getImages(nImageType, aImageCmdSeq);
+
+Reference xGraphic(aGraphicSeq[0]);
+
+return Image(xGraphic);
+}
+catch (Exception&)
+{
+}
+
+return Image();
+}
+
 void CommandInfoProvider::SetFrame (const Reference& rxFrame)
 {
 if (rxFrame != mxCachedDataFrame)
@@ -262,14 +323,14 @@ OUString 
CommandInfoProvider::RetrieveShortcutsFromConfiguration(
 Sequence aKeyCodes 
(rxConfiguration->getPreferredKeyEventsForCommandList(aCommands));
 if (aCommands.getLength() == 1)
 {
-css::awt::KeyEvent aKeyEvent;
+awt::KeyEvent aKeyEvent;
 if (aKeyCodes[0] >>= aKeyEvent)
 {
 return AWTKey2VCLKey(aKeyEvent).GetName();
 }
 }
 }
-catch (lang::IllegalArgumentException&)
+catch (css::lang::IllegalArgumentException&)
 {
 }
 }
@@ -313,12 +374,12 @@ OUString CommandInfoProvider::GetCommandProperty(const 
OUString& rsProperty, con
  

[Libreoffice-commits] core.git: compilerplugins/clang framework/source include/svtools include/vcl sfx2/inc sfx2/source svtools/Library_svt.mk svtools/source vcl/Library_vcl.mk vcl/source

2015-11-16 Thread Samuel Mehrbrodt
 compilerplugins/clang/store/deletedspecial.cxx |2 
 framework/source/uielement/toolbarmanager.cxx  |8 
 include/svtools/commandinfoprovider.hxx|  112 
 include/vcl/commandinfoprovider.hxx|  114 
 sfx2/inc/pch/precompiled_sfx.hxx   |2 
 sfx2/source/sidebar/ControllerFactory.cxx  |4 
 sfx2/source/sidebar/ControllerItem.cxx |4 
 svtools/Library_svt.mk |1 
 svtools/source/misc/commandinfoprovider.cxx|  317 
 vcl/Library_vcl.mk |1 
 vcl/source/helper/commandinfoprovider.cxx  |  330 +
 vcl/source/window/builder.cxx  |   40 ---
 vcl/source/window/toolbox2.cxx |5 
 13 files changed, 461 insertions(+), 479 deletions(-)

New commits:
commit 40fa83871e18bf7ff54f853e6b665f207ee8fb78
Author: Samuel Mehrbrodt 
Date:   Mon Nov 16 12:23:25 2015 +0100

Move CommandInfoProvider to vcl and use it from there

Change-Id: If7e3ef81cad8974bc54f359096e3ecc700fa62d6
Reviewed-on: https://gerrit.libreoffice.org/19984
Tested-by: Jenkins 
Reviewed-by: Samuel Mehrbrodt 

diff --git a/compilerplugins/clang/store/deletedspecial.cxx 
b/compilerplugins/clang/store/deletedspecial.cxx
index ff82f7e..79393f2 100644
--- a/compilerplugins/clang/store/deletedspecial.cxx
+++ b/compilerplugins/clang/store/deletedspecial.cxx
@@ -118,7 +118,7 @@ bool DeletedSpecial::VisitCXXMethodDecl(CXXMethodDecl const 
* decl) {
 || whitelist(decl, "sd::IconCache", 
"sd/source/ui/inc/tools/IconCache.hxx")
 || whitelist(decl, "sd::RemoteServer", 
"sd/source/ui/inc/RemoteServer.hxx")
 || whitelist(decl, "sd::slidesorter::cache::PageCacheManager", 
"sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx")
-|| whitelist(decl, "svt::CommandInfoProvider", 
"include/svt/commandinfoprovider.hxx")
+|| whitelist(decl, "framework::CommandInfoProvider", 
"include/framework/commandinfoprovider.hxx")
 || whitelist(decl, "vcl::SettingsConfigItem", 
"include/vcl/configsettings.hxx")
 || whitelist(decl, "writerfilter::ooxml::OOXMLFactory", 
"writerfilter/source/ooxml/OOXMLFactory.hxx"))
 {
diff --git a/framework/source/uielement/toolbarmanager.cxx 
b/framework/source/uielement/toolbarmanager.cxx
index ee792f7..40bf7d5 100644
--- a/framework/source/uielement/toolbarmanager.cxx
+++ b/framework/source/uielement/toolbarmanager.cxx
@@ -68,8 +68,8 @@
 #include 
 #include 
 #include 
+#include 
 
-#include 
 #include 
 #include 
 
@@ -1272,8 +1272,8 @@ void ToolBarManager::FillToolbar( const Reference< 
XIndexAccess >& rItemContaine
 
 if (( nType == css::ui::ItemType::DEFAULT ) && 
!aCommandURL.isEmpty() )
 {
-OUString 
aString(svt::CommandInfoProvider::Instance().GetLabelForCommand(aCommandURL, 
m_xFrame));
-OUString 
aTooltipFromCommand(svt::CommandInfoProvider::Instance().GetTooltipForCommand(aCommandURL,
 m_xFrame, false));
+OUString 
aString(vcl::CommandInfoProvider::Instance().GetLabelForCommand(aCommandURL, 
m_xFrame));
+OUString 
aTooltipFromCommand(vcl::CommandInfoProvider::Instance().GetTooltipForCommand(aCommandURL,
 m_xFrame, false));
 
 ToolBoxItemBits nItemBits = ConvertStyleToToolboxItemBits( 
nStyle );
 if ( aMenuDesc.is() )
@@ -1289,7 +1289,7 @@ void ToolBarManager::FillToolbar( const Reference< 
XIndexAccess >& rItemContaine
 sQuickHelp = aTooltip;
 else if ( !aTooltipFromCommand.isEmpty() ) // Tooltip from 
uno command (TooltipLabel)
 sQuickHelp = aTooltipFromCommand;
-OUString sShortCut = 
svt::CommandInfoProvider::Instance().GetCommandShortcut(aCommandURL, m_xFrame);
+OUString sShortCut = 
vcl::CommandInfoProvider::Instance().GetCommandShortcut(aCommandURL, m_xFrame);
 if( !sShortCut.isEmpty() )
 {
 sQuickHelp += " (";
diff --git a/include/svtools/commandinfoprovider.hxx 
b/include/vcl/commandinfoprovider.hxx
similarity index 91%
rename from include/svtools/commandinfoprovider.hxx
rename to include/vcl/commandinfoprovider.hxx
index 6c0431b..91d98b7 100644
--- a/include/svtools/commandinfoprovider.hxx
+++ b/include/vcl/commandinfoprovider.hxx
@@ -16,22 +16,23 @@
  *   except in compliance with the License. You may obtain a copy of
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
-#ifndef INCLUDED_COMPHELPER_COMMANDINFOPROVIDER_HXX
-#define INCLUDED_COMPHELPER_COMMANDINFOPROVIDER_HXX
+#ifndef INCLUDED_VCL_COMMANDINFOPROVIDER_HXX
+#define INCLUDED_VCL_COMMANDINFOPROVIDER_HXX
 

[Libreoffice-bugs] [Bug 95838] Right text margin not justified

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

Ben McGinnes  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 CC||b...@adversary.org
 Resolution|DUPLICATE   |---
 Ever confirmed|0   |1

--- Comment #2 from Ben McGinnes  ---
Re-opening due to this comment on #88941:

--- Comment #67 from uwe...@gmail.com ---
You reply to my bug report 95838 that this is a duplicate of bug 88941. 88941,
however, concerns only PDF export. The bug I reported can be seen in LO during
text editing as words cut with an invisible right portion.

It is claimed that this bug has been corrected in LO 5.0, however, as I have
indicated, it is still there in LO 5.0.1

===

It does sound similar to the one we saw in the previous bug, but with definite
discrepancies worth double-checking.

In fact, as one of the (many) people who confirmed LO 5 fixed the old bug and
now testing a PDF export of the sample file included here, I can replicate the
same symptoms; the lines are justified properly as ODT, but in PDF one or two
dart over the right edge with the remainder justified.

Whereas the old bug was a case where justification was honoured in ODT, but
completely ignored during export/transform to PDF.

The sample file is only 2 pages as well, so it's not the result of the other
document being 130 pages (though if it is a book general performance can be
improved by splitting that into separate files per chapter and then using a
master document to string them together to convert to other formats).

I suspect this issue may be related to fonts and UTF-8 encoding since there are
German specific glyphs in evidence in the sample document (unsurprising given
it's written in German ... quite possibly a cut & paste from some kind of
medical history (cancer given the mention of tumors and that last word, but
anyway, my monolingual guess work on subject matter is a silly digression). 
What's more important is the occasional too-long lines post-export has been
confirmed and this definitely isn't the bug that plagued LO 4.4.x only with
loss of justification in PDF exports.

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


Re: suggested method to create LibreOffice Extensions

2015-11-16 Thread Andrew Pitonyak
If you email me directly I can send you a copy of my macro formatter stuff with 
the document I use to generate the OXT file. Won't have access until Thursday 
or Friday.

On Nov 16, 2015 3:52 AM, Andrea Castellani  wrote:
>
> Hello everyone, 
> almost three years ago I received help from this mailing list to create 
> an extension for LibreOffice, which became "FirmaconDike" (thanks!): 
> http://extensions.libreoffice.org/extension-center/firmacondike-1 
>
> Today I have to re-examine this issue in a LibreOffice lesson, in witch 
> I would like to explain how to create an extension "from scratch". 
>
> I thought to write a simple macro with students, such as "Hello world", 
> and explain step by step how to generate the oxt file. 
>
> Seeking documentation, I saw a lot of confusion on the subject and the 
> argument (as you know) is only present on the site of AOO. 
>
> I tried to use BAB Paolo Mantovani, both in the new version that in the 
> previous one, and it seemed a very good macro to create extensions. 
>
> The Extension oxt who created BAB does not work, then I fear that BAB is 
> incompatible with LibreOffice (I have the 5.0.2.2). Opening it, it gives 
> me an error: 
> (Com.sun.star.deployment.DeploymentException) {{Message = "You \ X00e8 
> an error occurred while enabling: HelloWorld" Context = 
> (com.sun.star.uno.XInterface) @ 7f2fec3ef8b0}, Cause = ( any) 
> {(com.sun.star.lang.IllegalArgumentException) {{{Message = "" Context = 
> (com.sun.star.uno.XInterface) @ 0}}, ArgumentPosition = (short) 0}}} 
>
> Here you can find the extension generated by BAB: 
> http://www.libreitalia.it/cloud/public.php?service=files=77d91958fb91ecab19ec2b0b62844d63
>  
>
> I have not tried a "reverse engineering" of oxt file to understand what 
> it changes from another oxt  (such as "FirmaconDike"), looking for 
> suggestions from you, who are much more experienced than me. 
>
> Does anyone have experience with BAB and LibreOffice? 
> What is the official method (or recommended one) to create extensions 
> for LibreOffice? 
>
> I apologize if you have already solved this problem in another thread 
>
> Thank you, 
>
> Andrea Castellani 
> www.libreitalia.it 
> ___ 
> 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 95841] Hard to Select Line/Polyline

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

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi

--- Comment #2 from Beluga  ---
I tried with rectangle and line and it didn't seem problematic.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: b216cc1b8096eb60c27f67e8c27b7cd756c75e38
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-12_00:06:20
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 88941] Writer/Calc/Draw/Impress lose formatting for justified text when exporting to PDF on OS X builds

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

uwe...@gmail.com changed:

   What|Removed |Added

 Attachment #120580|Illustration that right |Illustration that right
description|margin justification is |margin justification is
   |faulty in 4.7.3.1 as well   |faulty in 4.3.7.1 as well

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


[Libreoffice-bugs] [Bug 95852] Can't enter text to a text box

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

Valery  changed:

   What|Removed |Added

Summary|Can't enter text to a text  |Can't enter text to a text
   |field   |box

-- 
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 95855] New: Images meshed up, stretched or missing when exporting pdf

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

Bug ID: 95855
   Summary: Images meshed up, stretched or missing when exporting
pdf
   Product: LibreOffice
   Version: 5.0.3.2 release
  Hardware: Other
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Printing and PDF export
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: carlo.cor...@gmail.com

Created attachment 120577
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120577=edit
test files

Hi all,

I'm using LO 5.0.3.2 on Windows 10. When exporting an odt to pdf all images are
stretched, or grayscaled, or messed up. If i print the file with pdfcreator the
images disappear.

The same problem does not appear in LO 4.4.0.3, using the same file (thus the
problem seems to be related to LO 5 pdf export library).

With lossless compression jpg images are stretched. Using jpg compression jpg
image is ok. Problems occur in any case with png files.

Attached a sample odp pdf prints and image files. The first image is a jpg,
correctly displayed. The second one is the same logo but png file format.

Any idea?

Thank you,

Carlo

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

2015-11-16 Thread Caolán McNamara
 external/cairo/UnpackedTarball_cairo.mk |2 --
 1 file changed, 2 deletions(-)

New commits:
commit d49b8e32e5d35f98d37e06555c1ba5f3199e9a80
Author: Caolán McNamara 
Date:   Mon Nov 16 13:38:51 2015 +

don't allow caito to add -flto to its own cflags

Change-Id: I22c66755e8e5ede01cf3e5f21c910f759b55de7a

diff --git a/external/cairo/UnpackedTarball_cairo.mk 
b/external/cairo/UnpackedTarball_cairo.mk
index ce061a1..bb2a4c1 100644
--- a/external/cairo/UnpackedTarball_cairo.mk
+++ b/external/cairo/UnpackedTarball_cairo.mk
@@ -41,10 +41,8 @@ ifneq (,$(filter ANDROID IOS,$(OS)))
 $(eval $(call 
gb_UnpackedTarball_add_file,cairo,.,external/cairo/cairo/dummy_pkg_config))
 endif
 
-ifeq ($(COM_IS_CLANG),TRUE)
 $(eval $(call gb_UnpackedTarball_add_patches,cairo,\
external/cairo/cairo/no-flto-clang.patch \
 ))
-endif
 
 # vim: set noet sw=4 ts=4:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95842] Can't set the language of the text in the document.

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

--- Comment #4 from Lucia  ---
(In reply to Beluga from comment #2)
> You do it from Tools - Language - For all text?
> What operating system are you using?
> 
> Set to NEEDINFO.
> Change back to UNCONFIRMED after you have provided the information.


Hello, 

yes, I tried that, too. I have Win 10.

-- 
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 38395] EDITING: Please enable smart apostrophe replacement by default (AutoCorrection)

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

--- Comment #12 from Milan Bouchet-Valat  ---
Hurray! Thanks László, this is a great day for LibreOffice!

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


[Libreoffice-bugs] [Bug 94008] FILEOPEN: Crash opening password protected file - CJK UI

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

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

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

tdf#94008 Crash opening password protected file - CJK UI

It will be available in 5.1.0.

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

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

-- 
You are receiving this mail because:
You are 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 94008] FILEOPEN: Crash opening password protected file - CJK UI

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

Caolán McNamara  changed:

   What|Removed |Added

 CC||souichi...@gmail.com

--- Comment #25 from Caolán McNamara  ---
*** Bug 95837 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 95838] Right text margin not justified

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

Ben McGinnes  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |NOTABUG

--- Comment #4 from Ben McGinnes  ---
Following assorted tests and multiple conversion methods (via various XML/XSLT
types for the most part), it looks like the occasional long line is due to not
adjusting proportionally to the glyphs in those lines.  This is due to the
book_default using fixed line spacing.  Changing that to proportional at 100%
does not immediately fix it, but those longer lines are then revealed in the
ODT file as well as the PDF (i.e. they match in appearance).

You may need to adjust your template further to get what you want for your
book, but it is clearly the attempt to force things too far in the current
template that is producing the unexpected results here.

Closing as it is not a bug in LibreOffice (if you switch to Text Body or
default and justify all the text it won't go over the end, but it may not be in
the specified fonts from the book template without additional changes).

-- 
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 68695] EDITING: Comments cannot be resized while editing - missing squares around the comment/note

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

--- Comment #25 from web_libreoff...@depesz.com ---
Bug still there, after over 2 years from original report, tested by me in
5.0.2.2 on Linux 64bit.

-- 
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 95837] CRASH: When close Checkbox > General > Label Field Selection window.

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

Beluga  changed:

   What|Removed |Added

   Keywords|have-backtrace  |

--- Comment #5 from Beluga  ---
Oops, I have to remove "have-backtrace" keyword for now, because it was pointed
out on the dev IRC channel that the bt does not contain useful information.

I'm not sure, how to help. You can join the qa and/or dev channels to ask for
help. See here for the channel infos:
https://wiki.documentfoundation.org/Website/IRC

-- 
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 95838] Right text margin not justified

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

--- Comment #3 from Ben McGinnes  ---
Interesting; saving as docx shows one line being slightly shorter than
previously.  Subsequently printing to PDF instead of exporting (i.e. Command +
P and saving to PDF from the drop down menus rather than the LO-specific
function) produces the same result with the slightly long lines.

So this is not an ODF issue and might not be a LO-specific thing.

Unfortunately Ant/FOP PDF conversions still don't work for me, but I can run it
through pandoc inconjunction with either or both of LaTeX and/or Sphinx (Python
Docutils).  If a CSS file to provide correct justification can be produced I
can also test wkhtmltopdf, though it will change the font unless it is
explicitly overridden in the CSS.  Anyway, if the symptoms can be replicated by
way of a PDF conversion with no relation to LO at all then it will pretty much
have to be a font and/or Unicode issue.

It may or may not benefit from adjusting the border margins.

-- 
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 95842] Can't set the language of the text in the document.

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

Beluga  changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0
 OS|All |Windows (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-commits] core.git: Branch 'distro/collabora/cp-5.0' - desktop/qa sc/source

2015-11-16 Thread Andrzej Hunt
 desktop/qa/desktop_lib/test_desktop_lib.cxx |3 +++
 sc/source/ui/unoobj/docuno.cxx  |5 +
 2 files changed, 8 insertions(+)

New commits:
commit bbbe7f57d3af266a4e922b4f007472d5139647ee
Author: Andrzej Hunt 
Date:   Mon Nov 16 15:30:53 2015 +0100

sc lok: use client zoom for ViewRowColumnHeaders

Change-Id: I85000851f82ea7cdc4b536683adbc8570de9af7e
(cherry picked from commit 396b5f411f7ecc7d600efdc0bb2381a7d1ed6d88)

diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx 
b/desktop/qa/desktop_lib/test_desktop_lib.cxx
index f7c3196..e289be8 100644
--- a/desktop/qa/desktop_lib/test_desktop_lib.cxx
+++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx
@@ -409,6 +409,9 @@ void DesktopLOKTest::testRowColumnHeaders()
  * "text" has the header label in UTF-8
  */
 LibLODocument_Impl* pDocument = loadDoc("search.ods");
+
+pDocument->pClass->initializeForRendering(pDocument);
+
 boost::property_tree::ptree aTree;
 char* pJSON = pDocument->m_pDocumentClass->getCommandValues(pDocument, 
".uno:ViewRowColumnHeaders");
 std::stringstream aStream(pJSON);
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index 5b0caaa..2fc376c 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -867,9 +867,14 @@ void ScModelObj::setClientZoom(int nTilePixelWidth_, int 
nTilePixelHeight_, int
 OUString ScModelObj::getRowColumnHeaders(const Rectangle& rRectangle)
 {
 ScViewData* pViewData = ScDocShell::GetViewData();
+
 if (!pViewData)
 return OUString();
 
+// update the aLogicMode in ScViewData to something predictable
+pViewData->SetZoom(Fraction(nTilePixelWidth * TWIPS_PER_PIXEL, 
nTileTwipWidth),
+   Fraction(nTilePixelHeight * TWIPS_PER_PIXEL, 
nTileTwipHeight), true);
+
 ScTabView* pTabView = pViewData->GetView();
 if (!pTabView)
 return OUString();
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 94008] FILEOPEN: Crash opening password protected file - CJK UI

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

Commit Notification  changed:

   What|Removed |Added

 Whiteboard|| target:5.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 95853] New: FORMATTING foreground colours

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

Bug ID: 95853
   Summary: FORMATTING foreground colours
   Product: LibreOffice
   Version: 5.0.3.2 release
  Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: andrew.my...@fdservices.co.uk

After selecting "Value Highlighting" in Options>Calc>View the selected
foreground (text) colour is ignored when displaying a calc sheet for text as
well as values and formula results, and always displays as black irrespective
of the background colour.

Selecting Format>Cell>Font Effects displays the correct foreground and
background colours.

-- 
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 95842] Can't set the language of the text in the document.

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

--- Comment #3 from Lucia  ---
(In reply to raal from comment #1)
> Hello,
> what's your version of LO?

hello, I have the latest version.

-- 
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 95428] Deleting inserted code from object catalogue hangs office

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

raal  changed:

   What|Removed |Added

Version|4.4.3.2 release |4.4.0.0.alpha2

--- Comment #2 from raal  ---
Reproducible with Version: 4.4.0.0.alpha2+

-- 
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 88941] Writer/Calc/Draw/Impress lose formatting for justified text when exporting to PDF on OS X builds

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

--- Comment #68 from uwe...@gmail.com ---
Created attachment 120580
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120580=edit
Illustration that right margin justification is faulty in 4.7.3.1 as well

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


[Libreoffice-bugs] [Bug 77352] EDITING: Copying cell range with chart results in incorrect clipboard data

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

--- Comment #6 from panowo...@hotmail.com ---
LibreOffice
Version: 5.0.3.2
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
Locale: en-US (en_US)

OS: Windows
Version: 8, 64-bit


Bug still present.
Renaming the sheet still a workaround.

-- 
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 88941] Writer/Calc/Draw/Impress lose formatting for justified text when exporting to PDF on OS X builds

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

uwe...@gmail.com changed:

   What|Removed |Added

 Attachment #120580|Illustration that right |Illustration that right
description|margin justification is |margin justification is
   |faulty in 4.7.3.1 as well   |faulty in 4.3.7.1 as well

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


[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-4.2' - download.lst external/libpng Makefile.fetch

2015-11-16 Thread Caolán McNamara
 Makefile.fetch   |2 
 download.lst |3 
 external/libpng/configs/pnglibconf.h |  267 ++-
 3 files changed, 141 insertions(+), 131 deletions(-)

New commits:
commit 1658932a95fa6f2428bb6cad437eef4514c24ccb
Author: Caolán McNamara 
Date:   Mon Nov 16 11:23:40 2015 +

bump png to 1.5.24 CVE-2015-7981 + CVE-2015-8126

Conflicts:
download.lst
external/libpng/configs/pnglibconf.h

Change-Id: Ice54f6c89eb2a2492d2b55a3f4edb13df4192446

diff --git a/Makefile.fetch b/Makefile.fetch
index 6af0bbe..bb675de 100644
--- a/Makefile.fetch
+++ b/Makefile.fetch
@@ -90,6 +90,7 @@ $(WORKDIR)/download: $(BUILDDIR)/config_host.mk 
$(SRCDIR)/download.lst $(SRCDIR)
$(call fetch_Optional,MSPUB,MSPUB_TARBALL) \
$(call fetch_Optional,MWAW,MWAW_TARBALL) \
$(call fetch_Optional,ODFGEN,ODFGEN_TARBALL) \
+   $(call fetch_Optional,LIBPNG,PNG_TARBALL) \
$(call fetch_Optional,SERF,SERF_TARBALL) \
$(call fetch_Optional,VISIO,VISIO_TARBALL) \
,$(call 
fetch_Download_item_special,http://dev-www.libreoffice.org/src,$(item)))
@@ -160,7 +161,6 @@ $(WORKDIR)/download: $(BUILDDIR)/config_host.mk 
$(SRCDIR)/download.lst $(SRCDIR)
$(call fetch_Optional,OPENSSL,$(OPENSSL_TARBALL)) \
$(call fetch_Optional,ORCUS,$(ORCUS_TARBALL)) \
$(call fetch_Optional,CAIRO,$(PIXMAN_TARBALL)) \
-   $(call fetch_Optional,LIBPNG,$(PNG_TARBALL)) \
$(call fetch_Optional,POPPLER,$(POPPLER_TARBALL)) \
$(call fetch_Optional,POSTGRESQL,$(POSTGRESQL_TARBALL)) \
$(call fetch_Optional,PYTHON,$(PYTHON_TARBALL)) \
diff --git a/download.lst b/download.lst
index 69031e8..d1e8734 100644
--- a/download.lst
+++ b/download.lst
@@ -101,7 +101,8 @@ export OPENLDAP_TARBALL := 
804c6cb5698db30b75ad0ff1c25baefd-openldap-2.4.31.tgz
 export OPENSSL_TARBALL := 
d143d1555d842a069cb7cc34ba745a06-openssl-1.0.1m.tar.gz
 export ORCUS_TARBALL := ea2acaf140ae40a87a952caa75184f4d-liborcus-0.5.1.tar.bz2
 export PIXMAN_TARBALL := c63f411b3ad147db2bcce1bf262a0e02-pixman-0.24.4.tar.bz2
-export PNG_TARBALL := 9e5d864bce8f06751bbd99962ecf4aad-libpng-1.5.10.tar.gz
+PNG_MD5SUM := 6652e428d1d3fc3c6cb1362159b1cf3b
+export PNG_TARBALL := libpng-1.5.24.tar.gz
 export POPPLER_TARBALL := 
1cd27460f7e3379d1eb109cfd7bcdb39-poppler-0.22.5.tar.gz
 export POSTGRESQL_TARBALL := 
c0b4799ea9850eae3ead14f0a60e9418-postgresql-9.2.1.tar.bz2
 export PYTHON_TARBALL := f3ebe34d4d8695bf889279b54673e10c-Python-3.3.3.tar.bz2
diff --git a/external/libpng/configs/pnglibconf.h 
b/external/libpng/configs/pnglibconf.h
index 650098e..8149f59 100644
--- a/external/libpng/configs/pnglibconf.h
+++ b/external/libpng/configs/pnglibconf.h
@@ -1,10 +1,9 @@
-/* libpng STANDARD API DEFINITION */
-
+/* 1.5.24 STANDARD API DEFINITION */
 /* pnglibconf.h - library build configuration */
 
-/* libpng version 1.5.0 - last changed on January 6, 2011 */
+/* libpng version 1.5.24 - November 12, 2015 */
 
-/* Copyright (c) 1998-2011 Glenn Randers-Pehrson */
+/* Copyright (c) 1998-2015 Glenn Randers-Pehrson */
 
 /* This code is released under the libpng license. */
 /* For conditions of distribution and use, see the disclaimer */
@@ -15,164 +14,174 @@
 /* Derived from: scripts/pnglibconf.dfa */
 #ifndef PNGLCONF_H
 #define PNGLCONF_H
-/* settings */
-#define PNG_MAX_GAMMA_8 11
-#define PNG_CALLOC_SUPPORTED
-#define PNG_QUANTIZE_RED_BITS 5
-#define PNG_USER_WIDTH_MAX 100L
-#define PNG_QUANTIZE_GREEN_BITS 5
-#define PNG_API_RULE 0
-#define PNG_QUANTIZE_BLUE_BITS 5
-#define PNG_USER_CHUNK_CACHE_MAX 0
-#define PNG_USER_HEIGHT_MAX 100L
-#define PNG_sCAL_PRECISION 5
-#define PNG_COST_SHIFT 3
-#define PNG_WEIGHT_SHIFT 8
-#define PNG_USER_CHUNK_MALLOC_MAX 0
-#define PNG_DEFAULT_READ_MACROS 1
-#define PNG_ZBUF_SIZE 8192
-#define PNG_GAMMA_THRESHOLD_FIXED 5000
-/* end of settings */
 /* options */
-#define PNG_INFO_IMAGE_SUPPORTED
-#define PNG_HANDLE_AS_UNKNOWN_SUPPORTED
-#define PNG_POINTER_INDEXING_SUPPORTED
-#define PNG_WARNINGS_SUPPORTED
-#define PNG_FLOATING_ARITHMETIC_SUPPORTED
-#define PNG_WRITE_SUPPORTED
-#define PNG_WRITE_INTERLACING_SUPPORTED
-#define PNG_WRITE_16BIT_SUPPORTED
+#define PNG_16BIT_SUPPORTED
+#define PNG_ALIGNED_MEMORY_SUPPORTED
+/*#undef PNG_ARM_NEON_API_SUPPORTED*/
+/*#undef PNG_ARM_NEON_CHECK_SUPPORTED*/
+#define PNG_BENIGN_ERRORS_SUPPORTED
+#define PNG_BUILD_GRAYSCALE_PALETTE_SUPPORTED
+#define PNG_CHECK_FOR_INVALID_INDEX_SUPPORTED
+#define PNG_CHECK_cHRM_SUPPORTED
+#define PNG_CONSOLE_IO_SUPPORTED
+#define PNG_CONVERT_tIME_SUPPORTED
 #define PNG_EASY_ACCESS_SUPPORTED
-#define PNG_ALIGN_MEMORY_SUPPORTED
-#define PNG_WRITE_WEIGHTED_FILTER_SUPPORTED
-#define PNG_WRITE_UNKNOWN_CHUNKS_SUPPORTED
-#define PNG_USER_LIMITS_SUPPORTED
-#define PNG_FIXED_POINT_SUPPORTED
 /*#undef 

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

2015-11-16 Thread Michael Stahl
 desktop/source/app/dispatchwatcher.cxx|  126 +-
 sc/source/ui/Accessibility/AccessibleText.cxx |6 +
 2 files changed, 72 insertions(+), 60 deletions(-)

New commits:
commit c994ce8a1d292b02e4c53f7b4061f3bbb840f874
Author: Michael Stahl 
Date:   Mon Nov 16 12:55:06 2015 +0100

desktop: stop --convert-to from creating some not requested ...

... file format by default if the requested filter does not exist.

Much better to write an error message and do nothing.

Change-Id: Ie5404772e7aae5751126bd4c2784b58177804448

diff --git a/desktop/source/app/dispatchwatcher.cxx 
b/desktop/source/app/dispatchwatcher.cxx
index 12da0b4..3239f12 100644
--- a/desktop/source/app/dispatchwatcher.cxx
+++ b/desktop/source/app/dispatchwatcher.cxx
@@ -128,7 +128,8 @@ const SfxFilter* impl_lookupExportFilterForUrl( const 
rtl::OUString& rUrl, const
 return pBestMatch;
 }
 
-const SfxFilter* impl_getExportFilterFromUrl( const rtl::OUString& rUrl, const 
rtl::OUString& rFactory )
+static const SfxFilter* impl_getExportFilterFromUrl(
+const rtl::OUString& rUrl, const rtl::OUString& rFactory)
 {
 try
 {
@@ -146,10 +147,8 @@ try
 OUString aTempName;
 FileBase::getSystemPathFromFileURL( rUrl, aTempName );
 OString aSource = OUStringToOString ( aTempName, 
osl_getThreadTextEncoding() );
-OString aFactory = OUStringToOString ( rFactory, 
osl_getThreadTextEncoding() );
-std::cerr << "Error:  no export filter for " << aSource << " found, 
now using the default filter for " << aFactory << std::endl;
+std::cerr << "Error: no export filter for " << aSource << " found, 
aborting." << std::endl;
 
-pFilter = SfxFilter::GetDefaultFilterFromFactory( rFactory );
 }
 
 return pFilter;
@@ -539,75 +538,82 @@ bool DispatchWatcher::executeDispatchRequests( const 
DispatchList& aDispatchRequ
 aFilter = impl_GuessFilter( aOutFile, 
aDocService );
 }
 
-sal_Int32 nFilterOptionsIndex = aFilter.indexOf( 
':' );
-Sequence conversionProperties( 0 < 
nFilterOptionsIndex ? 3 : 2 );
-conversionProperties[0].Name = "Overwrite";
-conversionProperties[0].Value <<= sal_True;
-
-conversionProperties[1].Name = "FilterName";
-if( 0 < nFilterOptionsIndex )
+if (aFilter.isEmpty())
 {
-conversionProperties[1].Value <<= 
aFilter.copy( 0, nFilterOptionsIndex );
-
-conversionProperties[2].Name = "FilterOptions";
-conversionProperties[2].Value <<= 
aFilter.copy( nFilterOptionsIndex+1 );
+std::cerr << "Error: no export filter" << 
std::endl;
 }
 else
 {
-conversionProperties[1].Value <<= aFilter;
-}
+sal_Int32 nFilterOptionsIndex = 
aFilter.indexOf(':');
+Sequence conversionProperties( 
0 < nFilterOptionsIndex ? 3 : 2 );
+conversionProperties[0].Name = "Overwrite";
+conversionProperties[0].Value <<= sal_True;
 
-OUString aTempName;
-FileBase::getSystemPathFromFileURL( aName, 
aTempName );
-OString aSource8 = OUStringToOString ( aTempName, 
osl_getThreadTextEncoding() );
-FileBase::getSystemPathFromFileURL( aOutFile, 
aTempName );
-OString aTargetURL8 = OUStringToOString(aTempName, 
osl_getThreadTextEncoding() );
-if( aDispatchRequest.aRequestType != REQUEST_CAT )
-{
-std::cout << "convert " << aSource8 << " -> " 
<< aTargetURL8;
-std::cout << " using filter : " << 
OUStringToOString( aFilter, osl_getThreadTextEncoding() ) << std::endl;
-if( FStatHelper::IsDocument( aOutFile ) )
-std::cout << "Overwriting: " << 
OUStringToOString( aTempName, osl_getThreadTextEncoding() ) << std::endl ;
-}
-try
-{
-xStorable->storeToURL( aOutFile, 
conversionProperties );
-}
-catch (const Exception& rException)
-{
-std::cerr << "Error: Please verify input 
parameters...";
-if 

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

2015-11-16 Thread Tor Lillqvist
 desktop/source/migration/services/oo3extensionmigration.cxx |   12 ++--
 1 file changed, 2 insertions(+), 10 deletions(-)

New commits:
commit 01fc64876398fc391ded6ae14300c598518b2d2a
Author: Tor Lillqvist 
Date:   Mon Nov 16 14:22:33 2015 +0200

Bin some const char arrays used only once

Change-Id: I08c4cc689016708f4c219f36492bf827111bbc30

diff --git a/desktop/source/migration/services/oo3extensionmigration.cxx 
b/desktop/source/migration/services/oo3extensionmigration.cxx
index 903e451..f2c1620 100644
--- a/desktop/source/migration/services/oo3extensionmigration.cxx
+++ b/desktop/source/migration/services/oo3extensionmigration.cxx
@@ -50,12 +50,6 @@ using namespace ::com::sun::star::uno;
 namespace migration
 {
 
-static const char sExtensionSubDir[] = "/user/uno_packages/";
-static const char sSubDirName[] = "cache";
-static const char sDescriptionXmlFile[] = "/description.xml";
-static const char sExtensionRootSubDirName[] = "/uno_packages";
-
-
 // component operations
 
 
@@ -168,7 +162,7 @@ OO3ExtensionMigration::ScanResult 
OO3ExtensionMigration::scanExtensionFolder( co
 else
 {
 aDirEntryURL = fs.getFileURL();
-if ( aDirEntryURL.indexOf( sDescriptionXmlFile ) > 0 )
+if ( aDirEntryURL.indexOf( "/description.xml" ) > 0 )
 aResult = scanDescriptionXml( aDirEntryURL ) ? 
SCANRESULT_MIGRATE_EXTENSION : SCANRESULT_DONTMIGRATE_EXTENSION;
 }
 }
@@ -369,9 +363,7 @@ Any OO3ExtensionMigration::execute( const Sequence< 
beans::NamedValue >& )
 {
 // copy all extensions
 OUString sSourceDir( m_sSourceDir );
-sSourceDir += sExtensionSubDir;
-sSourceDir += sSubDirName;
-sSourceDir += sExtensionRootSubDirName;
+sSourceDir += "/user/uno_packages/cache/uno_packages";
 TStringVector aExtensionToMigrate;
 scanUserExtensions( sSourceDir, aExtensionToMigrate );
 if ( aExtensionToMigrate.size() > 0 )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 88941] Writer/Calc/Draw/Impress lose formatting for justified text when exporting to PDF on OS X builds

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

--- Comment #69 from V Stuart Foote  ---
(In reply to uwehob from comment #68)
> Created attachment 120580 [details]
> Illustration that right margin justification is faulty in 4.3.7.1 as well

No, that is all correct--this is fixed. The patch for incorrect justification
in PDF was not back ported to the LO 4.4 releases.  Your PDF example shows the
correct handling of justified text in PDF for 5.0.3 (as patched at 5.0.0.3).

As to issues of bug 95838, agree with Ben M that is a different issue, and
closing as duplicate was incorrect. Comments there.

-- 
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 95854] New: Insert Comment doesn't let me edit existing comment

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

Bug ID: 95854
   Summary: Insert Comment doesn't let me edit existing comment
   Product: LibreOffice
   Version: 5.0.2.2 release
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: web_libreoff...@depesz.com

"Insert comment" in previous versions either created comment in cell, or
entered edit mode for existing comment. Now this is no longer the case -
"Insert comment" only inserts new one, and to edit existing comment, I have to
use "Edit comment" from mouse-context menu.

The problem is that "Edit comment" is not available anywhere as keyboard
shortcut, and having to use different thing for inserting new comment, or
editing existing one is problematic.

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


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

2015-11-16 Thread Eike Rathke
 formula/source/core/api/FormulaCompiler.cxx |   54 ++--
 include/formula/FormulaCompiler.hxx |   29 ++-
 sc/inc/compiler.hxx |2 +
 sc/qa/unit/ucalc_formula.cxx|8 
 sc/source/core/inc/interpre.hxx |4 +-
 sc/source/core/tool/compiler.cxx|8 
 sc/source/core/tool/interpr4.cxx|2 -
 sc/source/core/tool/token.cxx   |2 -
 8 files changed, 94 insertions(+), 15 deletions(-)

New commits:
commit 311b5b69f032134457184255920ff1083c9afed2
Author: Eike Rathke 
Date:   Mon Nov 16 13:19:20 2015 +0100

unit test for tdf#95670

Change-Id: I5874a7fea97311b0e69dbeae8923517a08b63c9a

diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx
index 7a0158e..ffcf834 100644
--- a/sc/qa/unit/ucalc_formula.cxx
+++ b/sc/qa/unit/ucalc_formula.cxx
@@ -3431,6 +3431,14 @@ void Test::testFuncSUMPRODUCT()
 sal_uInt16 nError = m_pDoc->GetErrCode(aPos);
 CPPUNIT_ASSERT_MESSAGE("Formula result should be a propagated error", 
nError);
 
+// Test ForceArray propagation of SUMPRODUCT parameters to ABS and + 
operator.
+// => ABS({-3,4})*({-3,4}+{-3,4}) => {3,4}*{-6,8} => {-18,32} => 14
+m_pDoc->SetValue(ScAddress(4,0,0), -3.0); // E1
+m_pDoc->SetValue(ScAddress(4,1,0),  4.0); // E2
+// Non-intersecting formula in F3.
+m_pDoc->SetString(ScAddress(5,2,0), "=SUMPRODUCT(ABS(E1:E2);E1:E2+E1:E2)");
+CPPUNIT_ASSERT_EQUAL(14.0, m_pDoc->GetValue(ScAddress(5,2,0)));
+
 m_pDoc->DeleteTab(0);
 }
 
commit 49257e1da7e371fdea0fac080116b0511789cac7
Author: Eike Rathke 
Date:   Mon Nov 16 12:23:15 2015 +0100

Resolves: tdf#95670 propagate ForceArray per parameter

Regression of b5cd11b4b02a85a83db77ba9d8d1763f0cd88cb1

It was always wrong to propagate ForceArray already if a function had a
ForceArray parameter *somewhere*, we need to do this per parameter
instead.

Change-Id: If188d45366279d9a7bf641edc7e4dd7095d6d035

diff --git a/formula/source/core/api/FormulaCompiler.cxx 
b/formula/source/core/api/FormulaCompiler.cxx
index e32a6f9..00988f65 100644
--- a/formula/source/core/api/FormulaCompiler.cxx
+++ b/formula/source/core/api/FormulaCompiler.cxx
@@ -532,6 +532,7 @@ void FormulaCompiler::OpCodeMap::putOpCode( const OUString 
& rStr, const OpCode
 
 FormulaCompiler::FormulaCompiler( FormulaTokenArray& rArr )
 :
+nCurrentFactorParam(0),
 pArr(  ),
 pCode( nullptr ),
 pStack( nullptr ),
@@ -550,6 +551,7 @@ FormulaCompiler::FormulaCompiler( FormulaTokenArray& rArr )
 
 FormulaCompiler::FormulaCompiler()
 :
+nCurrentFactorParam(0),
 pArr( nullptr ),
 pCode( nullptr ),
 pStack( nullptr ),
@@ -1169,6 +1171,7 @@ void FormulaCompiler::Factor()
 {   // range list  (A1;A2)  converted to  (A1~A2)
 pFacToken = mpToken;
 NextToken();
+CheckSetForceArrayParameter( mpToken, 0);
 eOp = Expression();
 // Do not ignore error here, regardless of bIgnoreErrors, otherwise
 // errors like =(1;) would also result in display of =(1~)
@@ -1260,7 +1263,10 @@ void FormulaCompiler::Factor()
 if (eOp == ocClose)
 bNoParam = true;
 else
+{
+CheckSetForceArrayParameter( mpToken, 0);
 eOp = Expression();
+}
 }
 else
 SetError( errPairExpected);
@@ -1270,8 +1276,9 @@ void FormulaCompiler::Factor()
 nSepCount++;
 while ((eOp == ocSep) && (!pArr->GetCodeError() || 
!mbStopOnError))
 {
-nSepCount++;
 NextToken();
+CheckSetForceArrayParameter( mpToken, nSepCount);
+nSepCount++;
 eOp = Expression();
 }
 }
@@ -1296,6 +1303,7 @@ void FormulaCompiler::Factor()
 if (eOp == ocOpen)
 {
 NextToken();
+CheckSetForceArrayParameter( mpToken, 0);
 eOp = Expression();
 }
 else
@@ -1328,7 +1336,10 @@ void FormulaCompiler::Factor()
 if (eOp == ocClose)
 bNoParam = true;
 else
+{
+CheckSetForceArrayParameter( mpToken, 0);
 eOp = Expression();
+}
 }
 else if (eMyLastOp == ocBad)
 {
@@ -1345,8 +1356,9 @@ void FormulaCompiler::Factor()
 nSepCount++;
 while ((eOp == ocSep) && (!pArr->GetCodeError() || 
!mbStopOnError))
 {
-  

[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.0' - 2 commits - android/Bootstrap android/source desktop/source include/LibreOfficeKit include/vcl sc/inc sc/source

2015-11-16 Thread Mihai Varga
 android/Bootstrap/src/org/libreoffice/kit/Document.java |  
  2 +
 android/source/src/java/org/libreoffice/LOKitThread.java|  
 13 +++---
 android/source/src/java/org/libreoffice/LOKitTileProvider.java  |  
 11 +++--
 android/source/src/java/org/libreoffice/TileProvider.java   |  
  4 +-
 android/source/src/java/org/mozilla/gecko/gfx/ImmutableViewportMetrics.java |  
  4 ++
 desktop/source/lib/init.cxx |  
 20 +-
 desktop/source/lib/lokandroid.cxx   |  
  8 
 include/LibreOfficeKit/LibreOfficeKit.h |  
  7 +++
 include/LibreOfficeKit/LibreOfficeKit.hxx   |  
 17 
 include/LibreOfficeKit/LibreOfficeKitEnums.h|  
  7 +++
 include/vcl/ITiledRenderable.hxx|  
 18 +
 sc/inc/docuno.hxx   |  
  3 +
 sc/source/ui/app/inputhdl.cxx   |  
  8 
 sc/source/ui/unoobj/docuno.cxx  |  
 18 -
 14 files changed, 124 insertions(+), 16 deletions(-)

New commits:
commit 8a5cf61b7b0dc6668c283fe9476b3474736d33bc
Author: Mihai Varga 
Date:   Fri Nov 13 09:48:14 2015 +0200

LOK: calc formula callback + formula bar implementation in gtk

We need the callback to be able implement the formula bar

Change-Id: I1c78ab0b9ed9304c0465a9993a7101f8efb91052

Conflicts:
include/LibreOfficeKit/LibreOfficeKitEnums.h
libreofficekit/source/gtk/lokdocview.cxx

Conflicts:
libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
libreofficekit/source/gtk/lokdocview.cxx

diff --git a/include/LibreOfficeKit/LibreOfficeKitEnums.h 
b/include/LibreOfficeKit/LibreOfficeKitEnums.h
index 37837ea..7b23fcb 100644
--- a/include/LibreOfficeKit/LibreOfficeKitEnums.h
+++ b/include/LibreOfficeKit/LibreOfficeKitEnums.h
@@ -209,7 +209,12 @@ typedef enum
  *
  * Payload is a css mouse pointer style.
  */
-LOK_CALLBACK_MOUSE_POINTER
+LOK_CALLBACK_MOUSE_POINTER,
+
+/**
+ * The text content of the formula bar in Calc.
+ */
+LOK_CALLBACK_CELL_FORMULA
 }
 LibreOfficeKitCallbackType;
 
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index fe9ef00..fa2225e 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -52,6 +52,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include "inputwin.hxx"
 #include "tabvwsh.hxx"
@@ -2138,6 +2139,11 @@ void ScInputHandler::DataChanged( bool bFromTopNotify, 
bool bSetModified )
 
 if ( pInputWin )
 pInputWin->SetTextString( aText );
+
+ScDocShell* pDocSh = pActiveViewSh->GetViewData().GetDocShell();
+ScDocument& rDoc = pDocSh->GetDocument();
+if ( rDoc.GetDrawLayer()->isTiledRendering() )
+
rDoc.GetDrawLayer()->libreOfficeKitCallback(LOK_CALLBACK_CELL_FORMULA, 
aText.toUtf8().getStr());
 }
 
 // If the cursor is before the end of a paragraph, parts are being pushed 
to
@@ -3474,6 +3480,8 @@ void ScInputHandler::NotifyChange( const ScInputHdlState* 
pState,
 
 if ( pInputWin )
 pInputWin->SetTextString(aString);
+else if ( rDoc.GetDrawLayer()->isTiledRendering() )
+
rDoc.GetDrawLayer()->libreOfficeKitCallback(LOK_CALLBACK_CELL_FORMULA, 
aString.toUtf8().getStr());
 }
 
 if ( pInputWin )// Named range 
input
commit c4d5cbfa85dba8a695ccdc98a57685bd48bbbee8
Author: Mihai Varga 
Date:   Fri Nov 6 14:34:28 2015 +0200

LOK: setClientZoom() - sets the client zoom level

We need to know the client's view level to correctly handle the mouse
events in calc. PaintTile() set a zoom level that corresponds to the
requested tiles and previously postMouseEvent would call SetZoom(1,1).
Now we can make use of knowing the client's view level and call
SetZoom() with the correct parameters

Change-Id: I34b5afcdcc06a671a8ac92c03e87404e42adf4cd

Conflicts:
sc/source/ui/unoobj/docuno.cxx

Conflicts:
libreofficekit/source/gtk/lokdocview.cxx
libreofficekit/source/gtk/tilebuffer.hxx

diff --git a/android/Bootstrap/src/org/libreoffice/kit/Document.java 
b/android/Bootstrap/src/org/libreoffice/kit/Document.java
index 669ca94..38a024f 100644
--- a/android/Bootstrap/src/org/libreoffice/kit/Document.java
+++ b/android/Bootstrap/src/org/libreoffice/kit/Document.java
@@ -143,6 +143,8 @@ public class Document {
 
 private native int getDocumentTypeNative();
 
+public native void 

[Libreoffice-bugs] [Bug 95840] Using French Horseradish invokes French Autocorrect?

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

Beluga  changed:

   What|Removed |Added

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

--- Comment #3 from Beluga  ---
Could repro with copy & paste from G. translate. Yet, if I first paste it to
Notepad++ and then copy from there, the "French metadata" is not preserved.

Not sure, if bug or feature, but I'll set to NEW just in case.

Win 7 Pro 64-bit, Version: 5.0.3.2 (x64)
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
Locale: fi-FI (fi_FI)

Version: 5.1.0.0.alpha1+
Build ID: b216cc1b8096eb60c27f67e8c27b7cd756c75e38
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-12_00:06:20
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 77525] PRINTING: Windows Metafiles (WMF) don't correctly print with 'Reduce Image Resolution' enabled on Windows

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

--- Comment #12 from Charles  ---
Any developments on that bug?
I also have it on libreoffice-4-3-7 and the workaround is not acceptable as
there could be a lot of images and a lot of documents.

-- 
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: bin/rename-sw-abbreviations.sh

2015-11-16 Thread Jan Holesovsky
 bin/rename-sw-abbreviations.sh |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3190f5a71dd3e63260edebc345aead4746a269a3
Author: Jan Holesovsky 
Date:   Mon Nov 16 12:42:04 2015 +0100

rename-sw-abbreviations.sh: Add Crsr -> Cursor, Frm -> Frame and Stk -> 
Stack.

The build works fine with these now, and produces no (new) warning.

Change-Id: I3e5aad7baaec172ee4d2b50ea66876bdb7e9cac5

diff --git a/bin/rename-sw-abbreviations.sh b/bin/rename-sw-abbreviations.sh
index dc1bf93..785dfda 100755
--- a/bin/rename-sw-abbreviations.sh
+++ b/bin/rename-sw-abbreviations.sh
@@ -12,7 +12,7 @@
 
 # sw only:
 
-for I in "FrmFmt/FrameFormat" "Fmt/Format" "Cntnt/Content" "Txt/Text" 
"Tbl/Table" "GotoFld/GotoFormatField" "Fld/Field" "Ftn/Footnote" "Updt/Update" 
"Fml/Formula" "Hnt/Hint"
+for I in "FrmFmt/FrameFormat" "Fmt/Format" "Cntnt/Content" "Txt/Text" 
"Tbl/Table" "GotoFld/GotoFormatField" "Fld/Field" "Ftn/Footnote" "Updt/Update" 
"Fml/Formula" "Hnt/Hint" "CurCrsr/CurrentCursor" "VisCrsr/VisibleCursor" 
"Crsr/Cursor" "CntFrm/ContentFrame" "Frm/Frame" "Stk/Stack"
 do
 S="${I%/*}"
 # change all except the filenames (in the .mk and in #include)
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95842] Can't set the language of the text in the document.

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

raal  changed:

   What|Removed |Added

Version|unspecified |5.0.3.2 release

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


[Libreoffice-bugs] [Bug 88941] Writer/Calc/Draw/Impress lose formatting for justified text when exporting to PDF on OS X builds

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

uwe...@gmail.com changed:

   What|Removed |Added

 Attachment #120580|Illustration that right |Illustration that right
description|margin justification is |margin justification is
   |faulty in 4.7.3.1 as well   |faulty in 4.3.7.1 as well

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


[Libreoffice-bugs] [Bug 88941] Writer/Calc/Draw/Impress lose formatting for justified text when exporting to PDF on OS X builds

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

uwe...@gmail.com changed:

   What|Removed |Added

 Attachment #120580|Illustration that right |Illustration that right
description|margin justification is |margin justification is
   |faulty in 4.7.3.1 as well   |faulty in 4.3.7.1 as well

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


[Libreoffice-bugs] [Bug 88941] Writer/Calc/Draw/Impress lose formatting for justified text when exporting to PDF on OS X builds

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

--- Comment #67 from uwe...@gmail.com ---
You reply to my bug report 95838 that this is a duplicate of bug 88941. 88941,
however, concerns only PDF export. The bug I reported can be seen in LO during
text editing as words cut with an invisible right portion.

It is claimed that this bug has been corrected in LO 5.0, however, as I have
indicated, it is still there in LO 5.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' - download.lst external/libpng

2015-11-16 Thread Caolán McNamara
 download.lst |4 ++--
 external/libpng/configs/pnglibconf.h |   16 
 2 files changed, 10 insertions(+), 10 deletions(-)

New commits:
commit 055c248e1573cc7cd7988b28f8bb0bf64bf0d6c8
Author: Caolán McNamara 
Date:   Mon Nov 16 11:23:40 2015 +

bump png to 1.5.24 CVE-2015-7981 + CVE-2015-8126

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

diff --git a/download.lst b/download.lst
index cbfdbeb..e8b065a 100644
--- a/download.lst
+++ b/download.lst
@@ -123,8 +123,8 @@ export ORCUS_TARBALL := 
7681383be6ce489d84c1c74f4e7f9643-liborcus-0.7.0.tar.bz2
 export PAGEMAKER_MD5SUM := 795cc7a59ace4db2b12586971d668671
 export PAGEMAKER_TARBALL := libpagemaker-0.0.2.tar.bz2
 export PIXMAN_TARBALL := c63f411b3ad147db2bcce1bf262a0e02-pixman-0.24.4.tar.bz2
-export PNG_MD5SUM := 5266905cef49d1224437465ad4d67fd9
-export PNG_TARBALL := libpng-1.5.18.tar.gz
+export PNG_MD5SUM := 6652e428d1d3fc3c6cb1362159b1cf3b
+export PNG_TARBALL := libpng-1.5.24.tar.gz
 export POPPLER_MD5SUM := 35c0660065d023365e9854c13e289d12
 export POPPLER_TARBALL := poppler-0.26.4.tar.gz
 export POSTGRESQL_TARBALL := 
c0b4799ea9850eae3ead14f0a60e9418-postgresql-9.2.1.tar.bz2
diff --git a/external/libpng/configs/pnglibconf.h 
b/external/libpng/configs/pnglibconf.h
index 9e97d1e..8149f59 100644
--- a/external/libpng/configs/pnglibconf.h
+++ b/external/libpng/configs/pnglibconf.h
@@ -1,9 +1,9 @@
-/* 1.5.18 STANDARD API DEFINITION */
+/* 1.5.24 STANDARD API DEFINITION */
 /* pnglibconf.h - library build configuration */
 
-/* libpng version 1.5.18 - February 6, 2014 */
+/* libpng version 1.5.24 - November 12, 2015 */
 
-/* Copyright (c) 1998-2013 Glenn Randers-Pehrson */
+/* Copyright (c) 1998-2015 Glenn Randers-Pehrson */
 
 /* This code is released under the libpng license. */
 /* For conditions of distribution and use, see the disclaimer */
@@ -95,8 +95,6 @@
 #define PNG_SAVE_INT_32_SUPPORTED
 #define PNG_SEQUENTIAL_READ_SUPPORTED
 #define PNG_SETJMP_SUPPORTED
-#define PNG_SET_CHUNK_CACHE_LIMIT_SUPPORTED
-#define PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED
 /*#undef PNG_SET_OPTION_SUPPORTED*/
 #define PNG_SET_USER_LIMITS_SUPPORTED
 #define PNG_STDIO_SUPPORTED
@@ -114,6 +112,7 @@
 #define PNG_WRITE_BGR_SUPPORTED
 #define PNG_WRITE_CHECK_FOR_INVALID_INDEX_SUPPORTED
 #define PNG_WRITE_COMPRESSED_TEXT_SUPPORTED
+#define PNG_WRITE_CUSTOMIZE_COMPRESSION_SUPPORTED
 #define PNG_WRITE_CUSTOMIZE_ZTXT_COMPRESSION_SUPPORTED
 #define PNG_WRITE_FILLER_SUPPORTED
 #define PNG_WRITE_FILTER_SUPPORTED
@@ -172,15 +171,16 @@
 /* end of options */
 /* settings */
 #define PNG_API_RULE 0
-#define PNG_CALLOC_SUPPORTED
-#define PNG_COST_SHIFT 3
 #define PNG_DEFAULT_READ_MACROS 1
 #define PNG_GAMMA_THRESHOLD_FIXED 5000
 #define PNG_MAX_GAMMA_8 11
 #define PNG_QUANTIZE_BLUE_BITS 5
 #define PNG_QUANTIZE_GREEN_BITS 5
 #define PNG_QUANTIZE_RED_BITS 5
-#define PNG_WEIGHT_SHIFT 8
+#define PNG_USER_CHUNK_CACHE_MAX 1000
+#define PNG_USER_CHUNK_MALLOC_MAX 800
+#define PNG_USER_HEIGHT_MAX 100
+#define PNG_USER_WIDTH_MAX 100
 #define PNG_ZBUF_SIZE 8192
 #define PNG_sCAL_PRECISION 5
 /* end of settings */
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95842] Can't set the language of the text in the document.

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

Beluga  changed:

   What|Removed |Added

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

--- Comment #2 from Beluga  ---
You do it from Tools - Language - For all text?
What operating system are you using?

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

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


Re: About tdf#94008

2015-11-16 Thread Caolán McNamara
On Fri, 2015-11-13 at 18:34 +0900, Takeshi Abe wrote:
> Hi,
> 
> Submitted a patch on gerrit [1], I would like to hear voice of vcl 
> experts on tdf#94008.
> The crash caused by the issue persists on latest master and
> reproduces deterministically although it never happens with the UI
> language English.

Given that the change seems to make it do the same thing as the generic
equivalent. Its worth a shot :-), pushed to master now.

C.


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


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

2015-11-16 Thread Andrzej Hunt
 desktop/qa/desktop_lib/test_desktop_lib.cxx |3 +++
 sc/source/ui/unoobj/docuno.cxx  |5 +
 2 files changed, 8 insertions(+)

New commits:
commit 396b5f411f7ecc7d600efdc0bb2381a7d1ed6d88
Author: Andrzej Hunt 
Date:   Mon Nov 16 15:30:53 2015 +0100

sc lok: use client zoom for ViewRowColumnHeaders

Change-Id: I85000851f82ea7cdc4b536683adbc8570de9af7e

diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx 
b/desktop/qa/desktop_lib/test_desktop_lib.cxx
index 5ca573d..3b7e274 100644
--- a/desktop/qa/desktop_lib/test_desktop_lib.cxx
+++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx
@@ -405,6 +405,9 @@ void DesktopLOKTest::testRowColumnHeaders()
  * "text" has the header label in UTF-8
  */
 LibLODocument_Impl* pDocument = loadDoc("search.ods");
+
+pDocument->pClass->initializeForRendering(pDocument);
+
 boost::property_tree::ptree aTree;
 char* pJSON = pDocument->m_pDocumentClass->getCommandValues(pDocument, 
".uno:ViewRowColumnHeaders");
 std::stringstream aStream(pJSON);
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index 01ca52d..4729cea 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -884,9 +884,14 @@ void ScModelObj::setClientZoom(int nTilePixelWidth_, int 
nTilePixelHeight_, int
 OUString ScModelObj::getRowColumnHeaders(const Rectangle& rRectangle)
 {
 ScViewData* pViewData = ScDocShell::GetViewData();
+
 if (!pViewData)
 return OUString();
 
+// update the aLogicMode in ScViewData to something predictable
+pViewData->SetZoom(Fraction(nTilePixelWidth * TWIPS_PER_PIXEL, 
nTileTwipWidth),
+   Fraction(nTilePixelHeight * TWIPS_PER_PIXEL, 
nTileTwipHeight), true);
+
 ScTabView* pTabView = pViewData->GetView();
 if (!pTabView)
 return OUString();
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2015-11-16 Thread Takeshi Abe
 vcl/win/source/gdi/winlayout.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f630b6d5f165c8c507b8904b99594936edfd8da0
Author: Takeshi Abe 
Date:   Thu Oct 15 18:16:53 2015 +0900

tdf#94008 Crash opening password protected file - CJK UI

This fixes a buffer overflow writing over the end of pCaretXArray,
which can happen e.g. when drawing mnemonics in the password dialog.
Based on a similar calculation of nCurrIdx found in
GenericSalLayout::GetCaretPositions().

Change-Id: I7d723cf8cfaeb66f340c7d9ea5b3bc728c6d6209
Reviewed-on: https://gerrit.libreoffice.org/19385
Tested-by: Jenkins 
Reviewed-by: jan iversen 
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 

diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx
index 0dfce84..2409d4b 100644
--- a/vcl/win/source/gdi/winlayout.cxx
+++ b/vcl/win/source/gdi/winlayout.cxx
@@ -1986,7 +1986,7 @@ void UniscribeLayout::GetCaretPositions( int nMaxIdx, 
long* pCaretXArray ) const
 for(; (i < rVisualItem.mnEndCharPos) && (i < mnEndCharPos); ++i )
 {
 int j = mpLogClusters[ i ] + rVisualItem.mnMinGlyphPos;
-int nCurrIdx = i * 2;
+int nCurrIdx = (i - mnMinCharPos) * 2;
 if( !rVisualItem.IsRTL() )
 {
 // normal positions for LTR case
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95860] In LibreOffice 5 Writer -- documents that have highlighting lose that highlighting when exported to H

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

--- Comment #2 from d...@coprolite.net ---
Maybe when LibreOffice 5 changed how it does highlighting all the related and
necessary changes didn't get made in the export to HTML module?

https://wiki.documentfoundation.org/ReleaseNotes/5.0#Word-compatible_text_highlighting
Word-compatible text highlighting
Both highlighting and shading are preserved during import / export of Microsoft
Word documents.
New compatibility option to specify how to export LibreOffice character
background to Microsoft Office file formats: as highlighting or as shading.

-- 
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 'private/mmeeks/opengl-backbuffer' - 93 commits - accessibility/inc accessibility/source animations/source avmedia/source basctl/inc basctl/source basegfx/inc ba

2015-11-16 Thread Michael Meeks
Rebased ref, commits from common ancestor:
commit a444aa3fff21b69ca20ae3218882ce170d07f04a
Author: Michael Meeks 
Date:   Mon Nov 16 18:18:36 2015 +

Get Double-buffered context creation working on linux.

Change-Id: I3db1d6792fcd51577f047b82029124ec825ea319

diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 8a083a1..0b51fac 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -166,6 +166,7 @@ void OpenGLSalGraphicsImpl::DeInit()
 // get a shiny new context in AcquireContext:: next PreDraw.
 if( mpContext.is() && !IsOffscreen() )
 mpContext->reset();
+mpContext.clear();
 }
 
 void OpenGLSalGraphicsImpl::PreDraw()
@@ -1950,7 +1951,6 @@ void OpenGLSalGraphicsImpl::flushAndSwap()
 glViewport( 0, 0, GetWidth(), GetHeight() );
 CHECK_GL_ERROR();
 
-glDrawBuffer(GL_BACK);
 glClearColor((float)rand()/RAND_MAX, (float)rand()/RAND_MAX,
  (float)rand()/RAND_MAX, 1.0);
 glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT 
);
@@ -1962,50 +1962,54 @@ void OpenGLSalGraphicsImpl::flushAndSwap()
 
 OpenGLProgram *pProgram =
 mpWindowContext->UseProgram( "textureVertexShader", 
"textureFragmentShader", "" );
-pProgram->Use(); // FIXME: paranoia ...
-VCL_GL_INFO( "vcl.opengl", "done paranoid re-use." );
-pProgram->SetTexture( "sampler", maOffscreenTex );
-maOffscreenTex.Bind(); // FIXME: paranoia ...
+if( !pProgram )
+VCL_GL_INFO( "vcl.opengl", "Can't compile simple copying shader !" );
+else
+{
+pProgram->Use(); // FIXME: paranoia ...
+VCL_GL_INFO( "vcl.opengl", "done paranoid re-use." );
+pProgram->SetTexture( "sampler", maOffscreenTex );
+maOffscreenTex.Bind(); // FIXME: paranoia ...
 
-VCL_GL_INFO( "vcl.opengl", "bound bits etc." );
+VCL_GL_INFO( "vcl.opengl", "bound bits etc." );
 
-GLfloat aTexCoord[8];
-maOffscreenTex.GetCoord( aTexCoord, aPosAry, false );
-pProgram->SetTextureCoord( aTexCoord );
+GLfloat aTexCoord[8];
+maOffscreenTex.GetCoord( aTexCoord, aPosAry, false );
+pProgram->SetTextureCoord( aTexCoord );
 
-long nX1( aPosAry.mnDestX );
-long nY1( aPosAry.mnDestY );
-long nX2( nX1 + aPosAry.mnDestWidth );
-long nY2( nY1 + aPosAry.mnDestHeight );
-const SalPoint aPoints[] = { { nX1, nY2 }, { nX1, nY1 },
- { nX2, nY1 }, { nX2, nY2 }};
+long nX1( aPosAry.mnDestX );
+long nY1( aPosAry.mnDestY );
+long nX2( nX1 + aPosAry.mnDestWidth );
+long nY2( nY1 + aPosAry.mnDestHeight );
+const SalPoint aPoints[] = { { nX1, nY2 }, { nX1, nY1 },
+ { nX2, nY1 }, { nX2, nY2 }};
 
-sal_uInt32 nPoints = 4;
-std::vector aVertices(nPoints * 2);
-sal_uInt32 i, j;
+sal_uInt32 nPoints = 4;
+std::vector aVertices(nPoints * 2);
+sal_uInt32 i, j;
 
-for( i = 0, j = 0; i < nPoints; i++, j += 2 )
-{
-aVertices[j]   = GLfloat(aPoints[i].mnX);
-aVertices[j+1] = GLfloat(aPoints[i].mnY);
-}
+for( i = 0, j = 0; i < nPoints; i++, j += 2 )
+{
+aVertices[j]   = GLfloat(aPoints[i].mnX);
+aVertices[j+1] = GLfloat(aPoints[i].mnY);
+}
 
-pProgram->ApplyMatrix(GetWidth(), GetHeight(), 0.0);
-pProgram->SetVertices( [0] );
-if (!getenv("NO_COPY"))
-glDrawArrays( GL_TRIANGLE_FAN, 0, nPoints );
+pProgram->ApplyMatrix(GetWidth(), GetHeight(), 0.0);
+pProgram->SetVertices( [0] );
+if (!getenv("NO_COPY"))
+glDrawArrays( GL_TRIANGLE_FAN, 0, nPoints );
 
-pProgram->Clean();
+pProgram->Clean();
 
-glBindTexture( GL_TEXTURE_2D, 0 );
+glBindTexture( GL_TEXTURE_2D, 0 );
 
-if (!getenv("NO_SWAP"))
-{
-mpWindowContext->swapBuffers();
-if (!getenv("NO_SLEEP"))
-usleep(500 * 1000);
+if (!getenv("NO_SWAP"))
+{
+mpWindowContext->swapBuffers();
+if (!getenv("NO_SLEEP"))
+usleep(500 * 1000);
+}
 }
-
 VCL_GL_INFO( "vcl.opengl", "flushAndSwap - end." );
 }
 
diff --git a/vcl/source/opengl/OpenGLContext.cxx 
b/vcl/source/opengl/OpenGLContext.cxx
index 7b81e66..e94e726 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -701,9 +701,7 @@ bool GLWindow::HasGLXExtension( const char* name ) const
 bool OpenGLContext::ImplInit()
 {
 if (!m_aGLWin.dpy)
-{
 return false;
-}
 
 OpenGLZone aZone;
 
@@ -717,11 +715,10 @@ bool OpenGLContext::ImplInit()
 if (!g_vShareList.empty())
 pSharedCtx = g_vShareList.front();
 
-#ifdef DBG_UTIL
 if (glXCreateContextAttribsARB && !mbRequestLegacyContext)
 {
 int best_fbc = -1;
-GLXFBConfig* pFBC = getFBConfig(m_aGLWin.dpy, m_aGLWin.win, best_fbc, 

[Libreoffice-bugs] [Bug 95852] Can't enter text to a text box

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

Beluga  changed:

   What|Removed |Added

   Keywords||regression
 Status|UNCONFIRMED |NEW
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1
 Whiteboard||bibisectRequest

--- Comment #1 from Beluga  ---
Yep, I reproduce. 4.3 is ok.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: b216cc1b8096eb60c27f67e8c27b7cd756c75e38
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-12_00:06:20
Locale: fi-FI (fi_FI)

Version: 4.3.0.1
Build ID: 67f5430184326974072b65403ef1d9d934fc4481

-- 
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 95824] Crash: when opening Function Wizard

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

Julien Nabet  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|libreoffice-b...@lists.free |serval2...@yahoo.fr
   |desktop.org |

--- Comment #5 from Julien Nabet  ---
I submitted the patch to review, see https://gerrit.libreoffice.org/#/c/20004/

-- 
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 95856] Scan hangs in Draw

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

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi

--- Comment #1 from Beluga  ---
Sounds the same as bug 93564

I wonder, if a backtrace could be created:
https://wiki.documentfoundation.org/How_to_get_a_backtrace_with_WinDbg

I haven't had a lot of luck getting a bt of a hang, only crashes, though..

-- 
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 95859] Impress crashes if Window is resized below specific size.

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

Beluga  changed:

   What|Removed |Added

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

--- Comment #1 from Beluga  ---
Unable to reproduce.

Can you tell us, what is this specific size?

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

Win 7 Pro 64-bit, Version: 5.0.3.2 (x64)
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
Locale: fi-FI (fi_FI)

Ubuntu 15.10 64-bit 
Version: 5.0.2.2
Build ID: 00m0(Build:2)
Locale: en-US (en_US.UTF-8)

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


[Libreoffice-commits] core.git: Branch 'feature/glyphy' - 8 commits - external/glyphy include/vcl RepositoryExternal.mk vcl/generic vcl/inc vcl/quartz vcl/source vcl/win windows/soffice.sln windows/so

2015-11-16 Thread Tor Lillqvist
 RepositoryExternal.mk |9 +
 external/glyphy/UnpackedTarball_glyphy.mk |4 
 external/glyphy/glyphy-windows.patch.1|  186 ++
 include/vcl/opengl/OpenGLContext.hxx  |1 
 include/vcl/opengl/OpenGLHelper.hxx   |4 
 vcl/generic/glyphs/gcach_ftyp.cxx |3 
 vcl/generic/print/genpspgraphics.cxx  |1 
 vcl/inc/outfont.hxx   |1 
 vcl/quartz/ctfonts.cxx|1 
 vcl/source/opengl/OpenGLContext.cxx   |   10 +
 vcl/source/opengl/OpenGLHelper.cxx|7 -
 vcl/source/outdev/font.cxx|1 
 vcl/win/source/gdi/salgdi3.cxx|1 
 windows/soffice.sln   |   18 ++
 windows/soffice.vcxproj   |   84 +
 15 files changed, 324 insertions(+), 7 deletions(-)

New commits:
commit f19af5f2580139e5591dca422f8a5d45c6b15078
Author: Tor Lillqvist 
Date:   Mon Nov 16 20:48:50 2015 +0200

Add ImplFontMetricData::mbTrueTypeFont

Indicates that the font truly is a TrueType one (FT_IS_SFNT in
FreeType, TMPF_TRUETYPE in Win32).

Change-Id: Ic9dbf5e5239ae2ca597c454091fc36073a3b19cc

diff --git a/vcl/generic/glyphs/gcach_ftyp.cxx 
b/vcl/generic/glyphs/gcach_ftyp.cxx
index 11d53c7..ce92f6d 100644
--- a/vcl/generic/glyphs/gcach_ftyp.cxx
+++ b/vcl/generic/glyphs/gcach_ftyp.cxx
@@ -636,7 +636,8 @@ void ServerFont::FetchFontMetric( ImplFontMetricData& rTo, 
long& rFactor ) const
 {
 static_cast(rTo) = mpFontInfo->GetFontAttributes();
 
-rTo.mbScalableFont  = true;
+rTo.mbScalableFont  = true; // FIXME: Shouldn't this check FT_IS_SCALABLE( 
maFaceFT )?
+rTo.mbTrueTypeFont  = FT_IS_SFNT( maFaceFT ) != 0;
 rTo.mbDevice= true;
 rTo.mbKernableFont  = FT_HAS_KERNING( maFaceFT ) != 0;
 rTo.mnOrientation = GetFontSelData().mnOrientation;
diff --git a/vcl/generic/print/genpspgraphics.cxx 
b/vcl/generic/print/genpspgraphics.cxx
index 1ff761c..87a581a 100644
--- a/vcl/generic/print/genpspgraphics.cxx
+++ b/vcl/generic/print/genpspgraphics.cxx
@@ -923,6 +923,7 @@ void GenPspGraphics::GetFontMetric( ImplFontMetricData 
*pMetric, int )
 static_cast(*pMetric) = aDFA;
 pMetric->mbDevice   = aDFA.mbDevice;
 pMetric->mbScalableFont = true;
+pMetric->mbTrueTypeFont = false; // FIXME, needed?
 
 pMetric->mnOrientation  = m_pPrinterGfx->GetFontAngle();
 pMetric->mnSlant= 0;
diff --git a/vcl/inc/outfont.hxx b/vcl/inc/outfont.hxx
index 0becf0a..c3efdba 100644
--- a/vcl/inc/outfont.hxx
+++ b/vcl/inc/outfont.hxx
@@ -182,6 +182,7 @@ public: // TODO: hide members behind accessor methods
 int meFamilyType;   // Font Family Type
 boolmbDevice;   // Flag for Device Fonts
 boolmbScalableFont;
+boolmbTrueTypeFont;
 boolmbKernableFont;
 boolmbFullstopCentered;
 
diff --git a/vcl/quartz/ctfonts.cxx b/vcl/quartz/ctfonts.cxx
index e5faad9..4d0ffdd 100644
--- a/vcl/quartz/ctfonts.cxx
+++ b/vcl/quartz/ctfonts.cxx
@@ -136,6 +136,7 @@ void CoreTextStyle::GetFontMetric( ImplFontMetricData& 
rMetric ) const
 
 // all CoreText fonts are scalable
 rMetric.mbScalableFont = true;
+rMetric.mbTrueTypeFont = true; // Not sure, but this field is used only 
for Windows so far
 rMetric.mbKernableFont = true;
 }
 
diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index 22567de..966cba6 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -1746,6 +1746,7 @@ ImplFontMetricData::ImplFontMetricData( const 
FontSelectPattern& rFontSelData )
 , mnMinKashida( 0 )
 , meFamilyType(FAMILY_DONTKNOW)
 , mbScalableFont(false)
+, mbTrueTypeFont(false)
 , mbFullstopCentered(false)
 , mnUnderlineSize( 0 )
 , mnUnderlineOffset( 0 )
diff --git a/vcl/win/source/gdi/salgdi3.cxx b/vcl/win/source/gdi/salgdi3.cxx
index fbb3b87..9412799 100644
--- a/vcl/win/source/gdi/salgdi3.cxx
+++ b/vcl/win/source/gdi/salgdi3.cxx
@@ -1596,6 +1596,7 @@ void WinSalGraphics::GetFontMetric( ImplFontMetricData* 
pMetric, int nFallbackLe
 // device dependent font attributes
 pMetric->mbDevice   = (aWinMetric.tmPitchAndFamily & TMPF_DEVICE) != 0;
 pMetric->mbScalableFont = (aWinMetric.tmPitchAndFamily & 
(TMPF_VECTOR|TMPF_TRUETYPE)) != 0;
+pMetric->mbTrueTypeFont = (aWinMetric.tmPitchAndFamily & TMPF_TRUETYPE) != 
0;
 if( pMetric->mbScalableFont )
 {
 // check if there are kern pairs
commit dad3c324ce742e7e7af5a39c83c22f25544f2dad
Author: Tor Lillqvist 
Date:   Mon Nov 16 20:39:17 2015 +0200

If SAL_WARN() does nothing, no point in CHECK_GL_ERROR() either

Earlier, CHECK_GL_ERROR() always called OpenGLHelper::checkGLError(),
and that function 

[Libreoffice-bugs] [Bug 95851] Formatting: DOCX opens bulleted list with spacing increased

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

Beluga  changed:

   What|Removed |Added

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

--- Comment #3 from Beluga  ---
Confirmed with attachment 120574

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: b216cc1b8096eb60c27f67e8c27b7cd756c75e38
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-12_00:06:20
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 'distro/collabora/cp-5.0' - 5 commits - configure.ac download.lst external/libpng oox/source svx/source sw/qa sw/source

2015-11-16 Thread Andras Timar
 configure.ac|2 +-
 download.lst|4 ++--
 external/libpng/configs/pnglibconf.h|   16 
 oox/source/drawingml/shape.cxx  |   13 +++--
 svx/source/fmcomp/fmgridif.cxx  |2 ++
 sw/qa/extras/ooxmlimport/data/tdf85232.docx |binary
 sw/qa/extras/ooxmlimport/ooxmlimport.cxx|   11 +++
 sw/qa/extras/ww8import/data/tdf95321.doc|binary
 sw/qa/extras/ww8import/ww8import.cxx|   10 ++
 sw/source/filter/ww8/ww8par.cxx |2 +-
 10 files changed, 46 insertions(+), 14 deletions(-)

New commits:
commit 4158227dae901a16c9fb3af541ee8f8cef6a100f
Author: Andras Timar 
Date:   Mon Nov 16 19:08:18 2015 +0100

Bump version to 5.0-10

Change-Id: I9f0e693aa48ed6a1ace8b9cdfd1b1db2f3379215

diff --git a/configure.ac b/configure.ac
index af48c21..afb93ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([Collabora Office],[5.0.10.9],[],[],[https://CollaboraOffice.com/])
+AC_INIT([Collabora Office],[5.0.10.10],[],[],[https://CollaboraOffice.com/])
 
 AC_PREREQ([2.59])
 
commit 0d77e2faa95e440e5bde96432ade122e1804a0cc
Author: Caolán McNamara 
Date:   Mon Nov 16 11:23:40 2015 +

bump png to 1.5.24 CVE-2015-7981 + CVE-2015-8126

Change-Id: Ice54f6c89eb2a2492d2b55a3f4edb13df4192446
Reviewed-on: https://gerrit.libreoffice.org/19985
Tested-by: Jenkins 
Reviewed-by: Michael Stahl 
(cherry picked from commit 055c248e1573cc7cd7988b28f8bb0bf64bf0d6c8)

diff --git a/download.lst b/download.lst
index 015e7b7..53f13e8 100644
--- a/download.lst
+++ b/download.lst
@@ -117,8 +117,8 @@ export OWNCLOUD_ANDROID_LIB_TARBALL := 
owncloud-android-library-0.9.4-no-binary-
 export PAGEMAKER_MD5SUM := 795cc7a59ace4db2b12586971d668671
 export PAGEMAKER_TARBALL := libpagemaker-0.0.2.tar.bz2
 export PIXMAN_TARBALL := c63f411b3ad147db2bcce1bf262a0e02-pixman-0.24.4.tar.bz2
-export PNG_MD5SUM := 5266905cef49d1224437465ad4d67fd9
-export PNG_TARBALL := libpng-1.5.18.tar.gz
+export PNG_MD5SUM := 6652e428d1d3fc3c6cb1362159b1cf3b
+export PNG_TARBALL := libpng-1.5.24.tar.gz
 export POPPLER_MD5SUM := 35c0660065d023365e9854c13e289d12
 export POPPLER_TARBALL := poppler-0.26.4.tar.gz
 export POSTGRESQL_TARBALL := 
c0b4799ea9850eae3ead14f0a60e9418-postgresql-9.2.1.tar.bz2
diff --git a/external/libpng/configs/pnglibconf.h 
b/external/libpng/configs/pnglibconf.h
index 9e97d1e..8149f59 100644
--- a/external/libpng/configs/pnglibconf.h
+++ b/external/libpng/configs/pnglibconf.h
@@ -1,9 +1,9 @@
-/* 1.5.18 STANDARD API DEFINITION */
+/* 1.5.24 STANDARD API DEFINITION */
 /* pnglibconf.h - library build configuration */
 
-/* libpng version 1.5.18 - February 6, 2014 */
+/* libpng version 1.5.24 - November 12, 2015 */
 
-/* Copyright (c) 1998-2013 Glenn Randers-Pehrson */
+/* Copyright (c) 1998-2015 Glenn Randers-Pehrson */
 
 /* This code is released under the libpng license. */
 /* For conditions of distribution and use, see the disclaimer */
@@ -95,8 +95,6 @@
 #define PNG_SAVE_INT_32_SUPPORTED
 #define PNG_SEQUENTIAL_READ_SUPPORTED
 #define PNG_SETJMP_SUPPORTED
-#define PNG_SET_CHUNK_CACHE_LIMIT_SUPPORTED
-#define PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED
 /*#undef PNG_SET_OPTION_SUPPORTED*/
 #define PNG_SET_USER_LIMITS_SUPPORTED
 #define PNG_STDIO_SUPPORTED
@@ -114,6 +112,7 @@
 #define PNG_WRITE_BGR_SUPPORTED
 #define PNG_WRITE_CHECK_FOR_INVALID_INDEX_SUPPORTED
 #define PNG_WRITE_COMPRESSED_TEXT_SUPPORTED
+#define PNG_WRITE_CUSTOMIZE_COMPRESSION_SUPPORTED
 #define PNG_WRITE_CUSTOMIZE_ZTXT_COMPRESSION_SUPPORTED
 #define PNG_WRITE_FILLER_SUPPORTED
 #define PNG_WRITE_FILTER_SUPPORTED
@@ -172,15 +171,16 @@
 /* end of options */
 /* settings */
 #define PNG_API_RULE 0
-#define PNG_CALLOC_SUPPORTED
-#define PNG_COST_SHIFT 3
 #define PNG_DEFAULT_READ_MACROS 1
 #define PNG_GAMMA_THRESHOLD_FIXED 5000
 #define PNG_MAX_GAMMA_8 11
 #define PNG_QUANTIZE_BLUE_BITS 5
 #define PNG_QUANTIZE_GREEN_BITS 5
 #define PNG_QUANTIZE_RED_BITS 5
-#define PNG_WEIGHT_SHIFT 8
+#define PNG_USER_CHUNK_CACHE_MAX 1000
+#define PNG_USER_CHUNK_MALLOC_MAX 800
+#define PNG_USER_HEIGHT_MAX 100
+#define PNG_USER_WIDTH_MAX 100
 #define PNG_ZBUF_SIZE 8192
 #define PNG_sCAL_PRECISION 5
 /* end of settings */
commit 7c7acde337bbd31809ff07d51d82f51e91708325
Author: Caolán McNamara 
Date:   Tue Nov 10 20:37:00 2015 +

Resolves: tdf#94069 call setVisible when setDesignMode is called

void UnoControl::setDesignMode calls setVisible on the XWindow
so it seems sensible that FmXGridPeer::setDesignMode should
also do so. The desirable side effect is 

  1   2   3   4   >