LibreOffice Gerrit News for core on 2013-11-03

2013-11-03 Thread gerrit
Moin!

* Open changes on master for project core changed in the last 25 hours:

+ German translations and minor clean-up in ScHeaderControls
  in https://gerrit.libreoffice.org/6537 from Rodolfo Ribeiro Gomes
+ minor cleanup in ScHeaderControl: nCount is always greater than 0
  in https://gerrit.libreoffice.org/6538 from Rodolfo Ribeiro Gomes
+ Related: fdo#71147 lwp-files open not or without charts/tables
  in https://gerrit.libreoffice.org/6536 from Julien Nabet
+ configure: build oox with NSS backend by default
  in https://gerrit.libreoffice.org/6534 from Michael Stahl
+ avoid some spurious -Werror=strict-overflow
  in https://gerrit.libreoffice.org/6535 from Michael Stahl
+ Fix for Calc page scaling - see #i54993#
  in https://gerrit.libreoffice.org/6532 from Eilidh McAdam
+ fdo#40788: Allow manual breaks in Calc to be forced
  in https://gerrit.libreoffice.org/6531 from Eilidh McAdam
+ fdo#71081 add Excel 2010 functions BINOM.DIST and BINOM.INV
  in https://gerrit.libreoffice.org/6521 from Winfried Donkers
+ fdo#71043 -  Use STACK lint tool to clean code
  in https://gerrit.libreoffice.org/6529 from José Guilherme Vanz
+ fdo#54938: Convert to use cppu::supportsService
  in https://gerrit.libreoffice.org/6458 from José Guilherme Vanz
+ fdo#71128 arguments of calc function MMULT have same name
  in https://gerrit.libreoffice.org/6526 from Winfried Donkers
+ fdo 70998: Termchange: Graphics-Image
  in https://gerrit.libreoffice.org/6524 from Samuel Mehrbrodt


* Merged changes on master for project core changed in the last 25 hours:

+ Repository*: no need to register libraries built via ExternalProject
  in https://gerrit.libreoffice.org/6533 from Michael Stahl
+ Kill servlet-api and tomcat
  in https://gerrit.libreoffice.org/6454 from David Ostrovsky
+ Set up tool chain to install LO artifacts in Maven repositories
  in https://gerrit.libreoffice.org/6453 from David Ostrovsky


* Abandoned changes on master for project core changed in the last 25 hours:

None

* Open changes needing tweaks, but being untouched for more than a week:

+ Make ./autogen.sh --help work again
  in https://gerrit.libreoffice.org/6100 from Arnaud Versini
+ Make libatomic_ops buildable and enable on non-X86.
  in https://gerrit.libreoffice.org/5812 from Andrzej J.R. Hunt
+ Increase number of remembered recent documents from 10 to 25
  in https://gerrit.libreoffice.org/6101 from Krisztian Pinter
+ startcenter: Make SC open faster by timeouting thumbnails
  in https://gerrit.libreoffice.org/6102 from Krisztian Pinter
+ Remove old outdated gallery images and sounds
  in https://gerrit.libreoffice.org/4993 from Samuel Mehrbrodt
+ Remove more unusedcode
  in https://gerrit.libreoffice.org/5937 from Marcos Souza
+ Simplify oslThreadIdentifier on Linux 32.
  in https://gerrit.libreoffice.org/5553 from Arnaud Versini
+ Dynamically align toolbars in LibreOffice
  in https://gerrit.libreoffice.org/5655 from Prashant Pandey
+ fdo#36791 : fix for import of greeting card
  in https://gerrit.libreoffice.org/4240 from Adam CloudOn
+ more debug logs, extra debug layer, file is not used in p3k
  in https://gerrit.libreoffice.org/5267 from James Michael Dupont
+ Positional Tab additions
  in https://gerrit.libreoffice.org/5387 from Adam CloudOn
+ fdo#64817 : fix for rectangle with image fill
  in https://gerrit.libreoffice.org/4718 from Adam CloudOn


Best,

Your friendly LibreOffice Gerrit Digest Mailer

Note: The bot generating this message can be found and improved here:
   
https://gerrit.libreoffice.org/gitweb?p=dev-tools.git;a=blob;f=gerritbot/send-daily-digest
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: 4 commits - external/Module_external.mk RepositoryModule_build.mk solenv/gbuild

2013-11-03 Thread David Tardon
 RepositoryModule_build.mk  |1 +
 external/Module_external.mk|4 ++--
 solenv/gbuild/Module.mk|3 ++-
 solenv/gbuild/extensions/pre_BuildTools.mk |2 +-
 4 files changed, 6 insertions(+), 4 deletions(-)

New commits:
commit 878f669c405bd5f83195fd1d6459f4e4c31832a2
Author: David Tardon dtar...@redhat.com
Date:   Sun Nov 3 08:05:16 2013 +0100

fix target name

Change-Id: Icdc912c8d36fe75bedb5a3744018b5d100f45f21

diff --git a/solenv/gbuild/extensions/pre_BuildTools.mk 
b/solenv/gbuild/extensions/pre_BuildTools.mk
index c9264ff..929a46b 100644
--- a/solenv/gbuild/extensions/pre_BuildTools.mk
+++ b/solenv/gbuild/extensions/pre_BuildTools.mk
@@ -43,6 +43,6 @@ gb_BUILD_TOOLS = \
$(foreach executable, \
xsltproc \
,$(call gb_ExternalExecutable_get_dependencies,$(executable))) \
-   $(call gb_Helper_optional_for_host,DESKTOP,Package_xmlhelp_xsl) \
+   $(call gb_Helper_optional_for_host,DESKTOP,$(call 
gb_Package_get_target,xmlhelp_xsl)) \
 
 # vim: set noet sw=4 ts=4:
commit a0786fa28027de9d112d6945cc32ab6fd224e838
Author: David Tardon dtar...@redhat.com
Date:   Sun Nov 3 08:02:04 2013 +0100

it seems we need svgio too

Change-Id: Iff6165fd440150bdd325c54e41df529bd5349df2

diff --git a/RepositoryModule_build.mk b/RepositoryModule_build.mk
index d656714..18ea8bc 100644
--- a/RepositoryModule_build.mk
+++ b/RepositoryModule_build.mk
@@ -71,6 +71,7 @@ $(eval $(call gb_Module_add_moduledirs,cross_toolset,\
package \
sfx2 \
sot \
+   svgio \
svl \
svtools \
svx \
commit 16685f24f14c29f5aad2dc30cb73ab522dcb3cee
Author: David Tardon dtar...@redhat.com
Date:   Sun Nov 3 07:50:57 2013 +0100

duplicates in the module list break build

They might occur in extensions when crosscompiling, because both
harfbuzz and lcms2 are listed twice.

Change-Id: I6d6eff19043d33160b825f47988e46798da7857a

diff --git a/solenv/gbuild/Module.mk b/solenv/gbuild/Module.mk
index 98930ed..8105c1f 100644
--- a/solenv/gbuild/Module.mk
+++ b/solenv/gbuild/Module.mk
@@ -280,7 +280,8 @@ $(foreach target,$(2),$(call 
gb_Module_add_subsequentcheck_target,$(1),$(target)
 endef
 
 define gb_Module_add_moduledirs
-$(foreach target,$(2),$(call gb_Module_add_moduledir,$(1),$(target)))
+$(foreach target,$(sort $(2)),$(call gb_Module_add_moduledir,$(1),$(target)))
+
 endef
 
 define gb_Module_make_global_targets
commit a5f90dcdb829b78719eba79ad23907a4bc61e82f
Author: David Tardon dtar...@redhat.com
Date:   Sun Nov 3 07:47:39 2013 +0100

still need to test if the libs should be built internally

Change-Id: I66c6d4bf8100b830fd2d315f548dc3e77a95b9d5

diff --git a/external/Module_external.mk b/external/Module_external.mk
index 02c4f75..feee429 100644
--- a/external/Module_external.mk
+++ b/external/Module_external.mk
@@ -69,8 +69,8 @@ $(eval $(call gb_Module_add_moduledirs,external,\
$(call gb_Helper_optional,WPS,libwps) \
$(call gb_Helper_optional_for_host,DESKTOP, \
$(if $(filter YES,$(WITH_GALLERY_BUILD)), \
-   harfbuzz \
-   lcms2 \
+   $(call gb_Helper_optional,HARFBUZZ,harfbuzz) \
+   $(call gb_Helper_optional,LCMS2,lcms2) \
) \
) \
 ))
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Bug 71043] Use STACK lint tool to clean code ...

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71043

--- Comment #10 from Tor Lillqvist t...@iki.fi ---
I, and several other people, compile LibreOffice using Clang all the time, both
on Linux (where Clang so far is not mainstream, I guess) and on OS X (for OS X
itself and cross-compiling for iOS) (where Clang *is* mainstream, no gcc
available any more at all). This has been done for over a year at least. So it 
isn't as if it would be anything new to compile LibrOffice using Clang.

The configure.ac has logic to decide whether to use the -fno-enforce-eh-specs
option or not, and so far it has worked. So either your version of Clang is in
some way then odd and the configure.ac tests break down, or you are telling it
to use Clang in some wrong way. What does your autogen.input look like? For me,
to use Clang (on Linux), I simply add CC=clang and CXX=clang++ lines to
autogen.input.

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


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

2013-11-03 Thread Tor Lillqvist
 starmath/qa/cppunit/test_nodetotextvisitors.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d17219a7ddb9527c2dc9e97ce5f601af2387c189
Author: Tor Lillqvist t...@collabora.com
Date:   Sun Nov 3 10:34:43 2013 +0200

WaE: unused variable 'sExpected' [loplugin]

Change-Id: I32d774640602566c23303a9816fa3c5926449781

diff --git a/starmath/qa/cppunit/test_nodetotextvisitors.cxx 
b/starmath/qa/cppunit/test_nodetotextvisitors.cxx
index 3d4b08f..99ae4b2 100644
--- a/starmath/qa/cppunit/test_nodetotextvisitors.cxx
+++ b/starmath/qa/cppunit/test_nodetotextvisitors.cxx
@@ -581,7 +581,7 @@ void Test::testBinHorInSubSup()
 aCursor.InsertElement(PlusElement);
 aCursor.InsertText(d);
 
-OUString sExpected =  { a rsup { b + c } + d } ;
+//FIXMEOUString sExpected =  { a rsup { b + c } + d } ;
 //FIXMECPPUNIT_ASSERT_EQUAL_MESSAGE(BinHor in SubSup, sExpected, 
xDocShRef-GetText());
 
 delete pTree;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Bug 70553] Update .desktop files to use freedesktop actions

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=70553

--- Comment #8 from Jean-Baptiste Faure jbf.fa...@sud-ouest.org ---
Thank you Björn :-)

Could this patch be backported to 4.1 ? If I am not wrong, before this change
desktop files were identical in 4.1 and the master.

Best regards. JBF

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


[Libreoffice-commits] core.git: 2 commits - configure.ac download.lst external/libmwaw filter/Configuration_filter.mk filter/source RepositoryExternal.mk writerperfect/source

2013-11-03 Thread David Tardon
 RepositoryExternal.mk|2 
 configure.ac |2 
 download.lst |4 
 external/libmwaw/ExternalProject_libmwaw.mk  |1 
 filter/Configuration_filter.mk   |6 
 filter/source/config/fragments/filters/Beagle_Works.xcu  |   29 
 filter/source/config/fragments/filters/Great_Works.xcu   |   29 
 filter/source/config/fragments/filters/MacDoc.xcu|   29 
 filter/source/config/fragments/types/writer_Beagle_Works.xcu |   29 
 filter/source/config/fragments/types/writer_Great_Works.xcu  |   29 
 filter/source/config/fragments/types/writer_MacDoc.xcu   |   29 
 writerperfect/source/writer/MWAWImportFilter.cxx |  833 ---
 12 files changed, 215 insertions(+), 807 deletions(-)

New commits:
commit 0cdd8a4f17a80b55c54c1f287c1f10bd7fa4307c
Author: David Tardon dtar...@redhat.com
Date:   Sun Nov 3 10:02:58 2013 +0100

add config. for formats newly supported by libmwaw

Change-Id: I19cc5b13adf1c0d8cf26abbc9f4254ae89a970fc

diff --git a/filter/Configuration_filter.mk b/filter/Configuration_filter.mk
index 269866b..7102e27 100644
--- a/filter/Configuration_filter.mk
+++ b/filter/Configuration_filter.mk
@@ -304,14 +304,17 @@ $(call 
filter_Configuration_add_types,fcfg_langpack,fcfg_writer_types.xcu,filter
writer_StarOffice_XML_Writer \
writer_WordPerfect_Document \
writer_MS_Works_Document \
+   writer_Beagle_Works \
writer_ClarisWorks \
writer_DocMaker \
writer_eDoc_Document \
writer_FullWrite_Professional \
+   writer_Great_Works \
writer_HanMac_Word_K \
writer_LightWayText \
writer_Mac_Word \
writer_Mac_Works \
+   writer_MacDoc \
writer_MacWrite \
writer_MacWritePro \
writer_Mariner_Write \
@@ -350,14 +353,17 @@ $(call 
filter_Configuration_add_filters,fcfg_langpack,fcfg_writer_filters.xcu,fi
StarOffice_XML__Writer_ \
WordPerfect \
MS_Works \
+   Beagle_Works \
ClarisWorks \
DocMaker \
eDoc_Document \
FullWrite_Professional \
+   Great_Works \
HanMac_Word_K \
LightWayText \
Mac_Word \
Mac_Works \
+   MacDoc \
MacWrite \
MacWritePro \
Mariner_Write \
diff --git a/filter/source/config/fragments/filters/Beagle_Works.xcu 
b/filter/source/config/fragments/filters/Beagle_Works.xcu
new file mode 100644
index 000..f1cab85
--- /dev/null
+++ b/filter/source/config/fragments/filters/Beagle_Works.xcu
@@ -0,0 +1,29 @@
+!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+--
+
+node oor:name=Beagle Works oor:op=replace
+prop oor:name=Flags
+valueIMPORT ALIEN USESOPTIONS 3RDPARTYFILTER PREFERRED/value
+/prop
+prop oor:name=FilterService
+valuecom.sun.star.comp.Writer.MWAWImportFilter/value
+/prop
+prop oor:name=UIName
+value xml:lang=x-defaultBeagle Works Document/value
+/prop
+prop oor:name=FileFormatVersion
+value0/value
+/prop
+prop oor:name=Type
+valuewriter_Beagle_Works/value
+/prop
+prop oor:name=DocumentService
+valuecom.sun.star.text.TextDocument/value
+/prop
+/node
diff --git a/filter/source/config/fragments/filters/Great_Works.xcu 
b/filter/source/config/fragments/filters/Great_Works.xcu
new file mode 100644
index 000..6090504
--- /dev/null
+++ b/filter/source/config/fragments/filters/Great_Works.xcu
@@ -0,0 +1,29 @@
+!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+--
+
+node oor:name=Great Works oor:op=replace
+prop oor:name=Flags
+valueIMPORT ALIEN USESOPTIONS 3RDPARTYFILTER PREFERRED/value
+/prop
+prop oor:name=FilterService
+valuecom.sun.star.comp.Writer.MWAWImportFilter/value
+/prop
+prop oor:name=UIName
+value xml:lang=x-defaultGreat Works Document/value
+/prop
+prop oor:name=FileFormatVersion
+value0/value
+/prop
+prop oor:name=Type
+valuewriter_Great_Works/value
+/prop
+prop oor:name=DocumentService
+valuecom.sun.star.text.TextDocument/value
+/prop
+/node
diff --git a/filter/source/config/fragments/filters/MacDoc.xcu 
b/filter/source/config/fragments/filters/MacDoc.xcu
new file mode 100644
index 000..70ce7d2
--- /dev/null
+++ b/filter/source/config/fragments/filters/MacDoc.xcu
@@ -0,0 +1,29 @@
+!--
+ * This 

[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - helpcontent2

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

New commits:
commit b33856e0a4104d716293cd05ea1915ca216fe33c
Author: Andras Timar andras.ti...@collabora.com
Date:   Sun Nov 3 10:34:47 2013 +0100

Updated core
Project: help  472620fd6f95163f400ba8a88c6f7edc11d6c967

diff --git a/helpcontent2 b/helpcontent2
index d78c3cb..472620f 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit d78c3cb249a11ea45542d340754e960d47a35fa6
+Subproject commit 472620fd6f95163f400ba8a88c6f7edc11d6c967
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: helpcontent2

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

New commits:
commit 56364430108893afbcf5d2b51c5aaa37e393e7cc
Author: Andras Timar andras.ti...@collabora.com
Date:   Sun Nov 3 10:34:47 2013 +0100

Updated core
Project: help  086ca602232837bc9c80800487c57e35e242fe7a

diff --git a/helpcontent2 b/helpcontent2
index ae178e8..086ca60 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit ae178e85f974c49304b0f2a950979d1adaa466ae
+Subproject commit 086ca602232837bc9c80800487c57e35e242fe7a
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-11-03 Thread Andras Timar
 source/text/sbasic/shared/03030111.xhp |2 +-
 source/text/sbasic/shared/03030112.xhp |2 +-
 source/text/sbasic/shared/03030113.xhp |2 +-
 source/text/sbasic/shared/03030114.xhp |2 +-
 source/text/sbasic/shared/03030115.xhp |2 +-
 source/text/sbasic/shared/03030116.xhp |2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 086ca602232837bc9c80800487c57e35e242fe7a
Author: Andras Timar andras.ti...@collabora.com
Date:   Sun Nov 3 10:34:47 2013 +0100

missing spaces in new help text

Change-Id: Idd049b01ac7fd83bc49d907788924a28fc50b7cd

diff --git a/source/text/sbasic/shared/03030111.xhp 
b/source/text/sbasic/shared/03030111.xhp
index e80b20d..a38e325 100644
--- a/source/text/sbasic/shared/03030111.xhp
+++ b/source/text/sbasic/shared/03030111.xhp
@@ -44,7 +44,7 @@
 paragraph role=paragraph id=par_id3154422 xml-lang=en-US l10n=U 
oldref=6com.sun.star.util.Date/paragraph
 paragraph role=heading id=hd_id3147303 xml-lang=en-US level=2 
l10n=U oldref=7Parameters:/paragraph
 paragraph role=paragraph id=par_id3145136 xml-lang=en-US l10n=U 
oldref=8
-emphaDate:/emphDate to convert/paragraph
+emphaDate: /emphDate to convert/paragraph
 embed href=text/sbasic/shared/0003.xhp#errorcode/
 embed href=text/sbasic/shared/0003.xhp#err5/
 paragraph role=heading id=hd_id3147243 xml-lang=en-US level=2 
l10n=U oldref=9Example:/paragraph
diff --git a/source/text/sbasic/shared/03030112.xhp 
b/source/text/sbasic/shared/03030112.xhp
index 864ce7c..d435880 100644
--- a/source/text/sbasic/shared/03030112.xhp
+++ b/source/text/sbasic/shared/03030112.xhp
@@ -44,7 +44,7 @@
 paragraph role=paragraph id=par_id3154422 xml-lang=en-US l10n=U 
oldref=6Date/paragraph
 paragraph role=heading id=hd_id3147303 xml-lang=en-US level=2 
l10n=U oldref=7Parameters:/paragraph
 paragraph role=paragraph id=par_id3145136 xml-lang=en-US l10n=U 
oldref=8
-emphaDate:/emphDate to convert/paragraph
+emphaDate: /emphDate to convert/paragraph
 embed href=text/sbasic/shared/0003.xhp#errorcode/
 embed href=text/sbasic/shared/0003.xhp#err5/
 paragraph role=heading id=hd_id3147243 xml-lang=en-US level=2 
l10n=U oldref=9Example:/paragraph
diff --git a/source/text/sbasic/shared/03030113.xhp 
b/source/text/sbasic/shared/03030113.xhp
index e72af81..592278c 100644
--- a/source/text/sbasic/shared/03030113.xhp
+++ b/source/text/sbasic/shared/03030113.xhp
@@ -44,7 +44,7 @@
 paragraph role=paragraph id=par_id3154422 xml-lang=en-US l10n=U 
oldref=6com.sun.star.util.Time/paragraph
 paragraph role=heading id=hd_id3147303 xml-lang=en-US level=2 
l10n=U oldref=7Parameters:/paragraph
 paragraph role=paragraph id=par_id3145136 xml-lang=en-US l10n=U 
oldref=8
-emphaDate:/emphDate value to convert/paragraph
+emphaDate: /emphDate value to convert/paragraph
 embed href=text/sbasic/shared/0003.xhp#errorcode/
 embed href=text/sbasic/shared/0003.xhp#err5/
 paragraph role=heading id=hd_id3147243 xml-lang=en-US level=2 
l10n=U oldref=9Example:/paragraph
diff --git a/source/text/sbasic/shared/03030114.xhp 
b/source/text/sbasic/shared/03030114.xhp
index 7eb540b..833cf2b 100644
--- a/source/text/sbasic/shared/03030114.xhp
+++ b/source/text/sbasic/shared/03030114.xhp
@@ -44,7 +44,7 @@
 paragraph role=paragraph id=par_id3154422 xml-lang=en-US l10n=U 
oldref=6Date/paragraph
 paragraph role=heading id=hd_id3147303 xml-lang=en-US level=2 
l10n=U oldref=7Parameters:/paragraph
 paragraph role=paragraph id=par_id3145136 xml-lang=en-US l10n=U 
oldref=8
-emphaTime:/emphTime to convert/paragraph
+emphaTime: /emphTime to convert/paragraph
 embed href=text/sbasic/shared/0003.xhp#errorcode/
 embed href=text/sbasic/shared/0003.xhp#err5/
 paragraph role=heading id=hd_id3147243 xml-lang=en-US level=2 
l10n=U oldref=9Example:/paragraph
diff --git a/source/text/sbasic/shared/03030115.xhp 
b/source/text/sbasic/shared/03030115.xhp
index d7059ca..69fde10 100644
--- a/source/text/sbasic/shared/03030115.xhp
+++ b/source/text/sbasic/shared/03030115.xhp
@@ -44,7 +44,7 @@
 paragraph role=paragraph id=par_id3154422 xml-lang=en-US l10n=U 
oldref=6com.sun.star.util.DateTime/paragraph
 paragraph role=heading id=hd_id3147303 xml-lang=en-US level=2 
l10n=U oldref=7Parameters:/paragraph
 paragraph role=paragraph id=par_id3145136 xml-lang=en-US l10n=U 
oldref=8
-emphaDate:/emphDate value to convert/paragraph
+emphaDate: /emphDate value to convert/paragraph
 embed href=text/sbasic/shared/0003.xhp#errorcode/
 embed href=text/sbasic/shared/0003.xhp#err5/
 paragraph role=heading id=hd_id3147243 xml-lang=en-US level=2 
l10n=U oldref=9Example:/paragraph
diff --git a/source/text/sbasic/shared/03030116.xhp 
b/source/text/sbasic/shared/03030116.xhp
index 55c3323..6142e74 100644
--- a/source/text/sbasic/shared/03030116.xhp
+++ b/source/text/sbasic/shared/03030116.xhp
@@ -44,7 +44,7 @@
  

string freeze has been broken in libreoffice-4-1

2013-11-03 Thread Andras Timar
Hi,

I noticed, that a recent commit broke string freeze in libreoffice-4-1
branch: b350dc2e1e4c3ac7cb722569d462c95dbb3cbbda
First I wanted to simply revert it. Then I noticed that there were
more string changing commits in stable branch.
In core:
b350dc2e1e4c3ac7cb722569d462c95dbb3cbbda
38f11fdb08249a6cf7140ee74016cd69f28e289a
In help:
0d8b37cd9e0b89d1136b09a81671c88fc91fee3e
d78c3cb249a11ea45542d340754e960d47a35fa6
472620fd6f95163f400ba8a88c6f7edc11d6c967 (I did this one today as the
correction of d78c3cb)

So, probably the best would be to update Pootle with the changed pot
files, and catch up with translations by 4.1.4. These are the changed
files:
helpcontent2/source/text/sbasic/shared.pot
helpcontent2/source/text/shared/01.pot
officecfg/registry/data/org/openoffice/Office/UI.pot
sd/source/ui/slideshow.pot

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


[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - wizards/com

2013-11-03 Thread Lionel Elie Mamane
 wizards/com/sun/star/wizards/document/Control.java |   15 +--
 1 file changed, 13 insertions(+), 2 deletions(-)

New commits:
commit 148770af39a82f52a5d267e40941684791df4c66
Author: Lionel Elie Mamane lio...@mamane.lu
Date:   Wed Oct 30 05:35:42 2013 +0100

fdo#70674 adapt wizard code to incompatible Date/Time API change

Change-Id: I0338777bf46c10f6082c7eb3886883e92952eb99
Reviewed-on: https://gerrit.libreoffice.org/6482
Reviewed-by: Michael Stahl mst...@redhat.com
Tested-by: Michael Stahl mst...@redhat.com

diff --git a/wizards/com/sun/star/wizards/document/Control.java 
b/wizards/com/sun/star/wizards/document/Control.java
index cf5c9c0..e8b78f1 100644
--- a/wizards/com/sun/star/wizards/document/Control.java
+++ b/wizards/com/sun/star/wizards/document/Control.java
@@ -34,6 +34,8 @@ import com.sun.star.uno.UnoRuntime;
 import com.sun.star.uno.AnyConverter;
 import com.sun.star.drawing.XShapes;
 import com.sun.star.lang.IllegalArgumentException;
+import com.sun.star.util.Date;
+import com.sun.star.util.Time;
 
 public class Control extends Shape
 {
@@ -304,13 +306,22 @@ public class Control extends Shape
 }
 else if (getControlType() == FormHandler.SODATECONTROL)
 {
-xPropertySet.setPropertyValue(Date, 4711);   //TODO find 
a better date
+Date d = new Date();
+d.Day = 30;
+d.Month = 12;
+d.Year = ;
+xPropertySet.setPropertyValue(Date, d);
 aPreferredSize = getPeer().getPreferredSize();
 xPropertySet.setPropertyValue(Date, 
com.sun.star.uno.Any.VOID);
 }
 else if (getControlType() == FormHandler.SOTIMECONTROL)
 {
-xPropertySet.setPropertyValue(Time, 47114);  //TODO find 
a better time
+Time t = new Time();
+t.NanoSeconds = 9;
+t.Seconds = 59;
+t.Minutes = 59;
+t.Hours = 22;
+xPropertySet.setPropertyValue(Time, t);
 aPreferredSize = getPeer().getPreferredSize();
 xPropertySet.setPropertyValue(Time, 
com.sun.star.uno.Any.VOID);
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] libmspub.git: src/lib

2013-11-03 Thread Julien Nabet
 src/lib/MSPUBCollector.cpp |2 +-
 src/lib/MSPUBDocument.cpp  |3 ++-
 src/lib/MSPUBParser.cpp|2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 6aa8753461a537aadd2180ebc3d98962bd2224cb
Author: Julien Nabet serval2...@yahoo.fr
Date:   Sun Nov 3 11:38:25 2013 +0100

Some cppcheck cleaning

diff --git a/src/lib/MSPUBCollector.cpp b/src/lib/MSPUBCollector.cpp
index 8836376..2d6b819 100644
--- a/src/lib/MSPUBCollector.cpp
+++ b/src/lib/MSPUBCollector.cpp
@@ -1503,7 +1503,7 @@ bool libmspub::MSPUBCollector::addImage(unsigned index, 
ImgType type, WPXBinaryD
   }
   if (index  0)
   {
-MSPUB_DEBUG_MSG((Image at index %d and of type 0x%x added.\n, index, 
type));
+MSPUB_DEBUG_MSG((Image at index %u and of type 0x%x added.\n, index, 
type));
 m_images[index - 1] = std::pairImgType, WPXBinaryData(type, img);
   }
   else
diff --git a/src/lib/MSPUBDocument.cpp b/src/lib/MSPUBDocument.cpp
index e4ed768..2ca247d 100644
--- a/src/lib/MSPUBDocument.cpp
+++ b/src/lib/MSPUBDocument.cpp
@@ -52,7 +52,6 @@ enum MSPUBVersion
 
 MSPUBVersion getVersion(WPXInputStream *input)
 {
-  MSPUBVersion version = MSPUB_UNKNOWN_VERSION;
   try
   {
 if (!input-isOLEStream())
@@ -69,6 +68,8 @@ MSPUBVersion getVersion(WPXInputStream *input)
 
 if (0x00 != libmspub::readU8(contentsStream.get()))
   return MSPUB_UNKNOWN_VERSION;
+
+MSPUBVersion version = MSPUB_UNKNOWN_VERSION;
 switch(magicVersionByte)
 {
 case 0x2C:
diff --git a/src/lib/MSPUBParser.cpp b/src/lib/MSPUBParser.cpp
index a812ea9..09d43cf 100644
--- a/src/lib/MSPUBParser.cpp
+++ b/src/lib/MSPUBParser.cpp
@@ -752,7 +752,7 @@ bool libmspub::MSPUBParser::parseShape(WPXInputStream 
*input,
   }
   if (!index)
   {
-MSPUB_DEBUG_MSG((WARNING: Couldn't find cells of seqnum %u 
corresponding to table of seqnum %d.\n,
+MSPUB_DEBUG_MSG((WARNING: Couldn't find cells of seqnum %u 
corresponding to table of seqnum %u.\n,
  csn, chunk.seqNum));
 return false;
   }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Bug 71043] Use STACK lint tool to clean code ...

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71043

--- Comment #11 from José Guilherme Vanz v...@libreoffice.org ---
Yeap, last night I executed autogen again and compiled with clang again. Now, I
think is working well. But I'm still investigating why STACK is not working
very well in our codebase.

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


[Libreoffice-commits] libcdr.git: src/lib

2013-11-03 Thread Julien Nabet
 src/lib/CMXParser.cpp|4 ++--
 src/lib/libcdr_utils.cpp |3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)

New commits:
commit a0177028897b054e8ac807f818b3d1eae5d44850
Author: Julien Nabet serval2...@yahoo.fr
Date:   Sun Nov 3 12:18:45 2013 +0100

Some cppcheck cleaning

Change-Id: I559eaa5195f2f88ae79349162e136e845d462e9f

diff --git a/src/lib/CMXParser.cpp b/src/lib/CMXParser.cpp
index 64dc906..e2f0b30 100644
--- a/src/lib/CMXParser.cpp
+++ b/src/lib/CMXParser.cpp
@@ -638,14 +638,14 @@ libcdr::CDRBox libcdr::CMXParser::readBBox(WPXInputStream 
*input)
 
 void libcdr::CMXParser::readFill(WPXInputStream *input)
 {
-  unsigned char tagId = 0;
-  unsigned short tagLength = 0;
   unsigned fillIdentifier = readU16(input, m_bigEndian);
   switch (fillIdentifier)
   {
   case 1:
 if (m_precision == libcdr::PRECISION_32BIT)
 {
+  unsigned char tagId = 0;
+  unsigned short tagLength = 0;
   do
   {
 long startOffset = input-tell();
diff --git a/src/lib/libcdr_utils.cpp b/src/lib/libcdr_utils.cpp
index 3b095d1..6ecc8d3 100644
--- a/src/lib/libcdr_utils.cpp
+++ b/src/lib/libcdr_utils.cpp
@@ -119,7 +119,6 @@ static unsigned short getEncoding(const unsigned char 
*buffer, unsigned bufferLe
 return 0;
   UErrorCode status = U_ZERO_ERROR;
   UCharsetDetector *csd = 0;
-  const UCharsetMatch *csm = 0;
   try
   {
 csd = ucsdet_open(status);
@@ -129,7 +128,7 @@ static unsigned short getEncoding(const unsigned char 
*buffer, unsigned bufferLe
 ucsdet_setText(csd, (const char *)buffer, bufferLength, status);
 if (U_FAILURE(status))
   throw libcdr::EncodingException();
-csm = ucsdet_detect(csd, status);
+const UCharsetMatch *csm = ucsdet_detect(csd, status);
 if (U_FAILURE(status) || !csm)
   throw libcdr::EncodingException();
 const char *name = ucsdet_getName(csm, status);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-11-03 Thread David Tardon
 external/libmwaw/0001-std-isfinite-is-C-11.patch |   64 +++
 external/libmwaw/UnpackedTarball_libmwaw.mk  |6 ++
 2 files changed, 70 insertions(+)

New commits:
commit 3f5a48bf8aae758f5eb2cae5fafae68e2adaec6c
Author: David Tardon dtar...@redhat.com
Date:   Sun Nov 3 12:30:36 2013 +0100

fix windows build

Change-Id: I6ee6738fe869fbcd15ec045523c250fd1811e343

diff --git a/external/libmwaw/0001-std-isfinite-is-C-11.patch 
b/external/libmwaw/0001-std-isfinite-is-C-11.patch
new file mode 100644
index 000..3943879
--- /dev/null
+++ b/external/libmwaw/0001-std-isfinite-is-C-11.patch
@@ -0,0 +1,64 @@
+From 5da59d9aa9298136d447e4014aef207f00cdc82b Mon Sep 17 00:00:00 2001
+From: David Tardon dtar...@redhat.com
+Date: Sun, 3 Nov 2013 12:26:26 +0100
+Subject: [PATCH] std::isfinite is C++11
+
+---
+ configure.ac   | 10 ++
+ src/lib/CWDbaseContent.cxx |  5 +++--
+ 2 files changed, 13 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index b350b91..286939d 100644
+--- a/configure.ac
 b/configure.ac
+@@ -357,6 +357,16 @@ AC_SUBST(ZLIB_CFLAGS)
+ AC_SUBST(ZLIB_LIBS)
+ AM_CONDITIONAL([WITH_LIBMWAW_ZIP], [test x$with_zip != xno])
+ 
++# ==
++# Find boost headers
++# ==
++AC_CHECK_HEADERS(
++boost/math/special_functions/fpclassify.hpp,
++[],
++[AC_MSG_ERROR([Required boost headers not found.])],
++[]
++)
++
+ # =
+ # Documentation
+ # =
+diff --git a/src/lib/CWDbaseContent.cxx b/src/lib/CWDbaseContent.cxx
+index f27148d..7198103 100644
+--- a/src/lib/CWDbaseContent.cxx
 b/src/lib/CWDbaseContent.cxx
+@@ -33,7 +33,6 @@
+ 
+ #include time.h
+ 
+-#include cmath
+ #include cstring
+ #include ctime
+ #include iomanip
+@@ -41,6 +40,8 @@
+ #include set
+ #include sstream
+ 
++#include boost/math/special_functions/fpclassify.hpp
++
+ #include libwpd/libwpd.h
+ 
+ #include MWAWContentListener.hxx
+@@ -969,7 +970,7 @@ void CWDbaseContent::send(double val, 
CWStyleManager::CellFormat const format)
+ if (type=10type=11) type += 4;
+ else if (type=14) type=16;
+   }
+-  if (type = 0 || type =16 || type==10 || type==11 || !std::isfinite(val)) {
++  if (type = 0 || type =16 || type==10 || type==11 || 
!boost::math::isfinite(val)) {
+ s  val;
+ listener-insertUnicodeString(s.str().c_str());
+ return;
+-- 
+1.8.3.1
+
diff --git a/external/libmwaw/UnpackedTarball_libmwaw.mk 
b/external/libmwaw/UnpackedTarball_libmwaw.mk
index 96fe9df..eea0a94 100644
--- a/external/libmwaw/UnpackedTarball_libmwaw.mk
+++ b/external/libmwaw/UnpackedTarball_libmwaw.mk
@@ -11,4 +11,10 @@ $(eval $(call gb_UnpackedTarball_UnpackedTarball,libmwaw))
 
 $(eval $(call gb_UnpackedTarball_set_tarball,libmwaw,$(MWAW_TARBALL)))
 
+$(eval $(call gb_UnpackedTarball_set_patchlevel,libmwaw,1))
+
+$(eval $(call gb_UnpackedTarball_add_patches,libmwaw,\
+   external/libmwaw/0001-std-isfinite-is-C-11.patch \
+))
+
 # 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-commits] core.git: external/libmwaw

2013-11-03 Thread David Tardon
 external/libmwaw/0001-std-isfinite-is-C-11.patch |   21 -
 1 file changed, 21 deletions(-)

New commits:
commit 9b40f2c805b79500b352d3f9cda54ae11b3d6186
Author: David Tardon dtar...@redhat.com
Date:   Sun Nov 3 12:36:44 2013 +0100

discard the configure part

Change-Id: I8bca5acdee197016748ab1d9c55f3bd8238583f0

diff --git a/external/libmwaw/0001-std-isfinite-is-C-11.patch 
b/external/libmwaw/0001-std-isfinite-is-C-11.patch
index 3943879..73fde5a 100644
--- a/external/libmwaw/0001-std-isfinite-is-C-11.patch
+++ b/external/libmwaw/0001-std-isfinite-is-C-11.patch
@@ -8,27 +8,6 @@ Subject: [PATCH] std::isfinite is C++11
  src/lib/CWDbaseContent.cxx |  5 +++--
  2 files changed, 13 insertions(+), 2 deletions(-)
 
-diff --git a/configure.ac b/configure.ac
-index b350b91..286939d 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -357,6 +357,16 @@ AC_SUBST(ZLIB_CFLAGS)
- AC_SUBST(ZLIB_LIBS)
- AM_CONDITIONAL([WITH_LIBMWAW_ZIP], [test x$with_zip != xno])
- 
-+# ==
-+# Find boost headers
-+# ==
-+AC_CHECK_HEADERS(
-+boost/math/special_functions/fpclassify.hpp,
-+[],
-+[AC_MSG_ERROR([Required boost headers not found.])],
-+[]
-+)
-+
- # =
- # Documentation
- # =
 diff --git a/src/lib/CWDbaseContent.cxx b/src/lib/CWDbaseContent.cxx
 index f27148d..7198103 100644
 --- a/src/lib/CWDbaseContent.cxx
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-4.1' - helpcontent2

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

New commits:
commit 3197b44469cf18fb01131bc95d6e4b9055c84dc2
Author: Andras Timar andras.ti...@collabora.com
Date:   Sun Nov 3 10:34:47 2013 +0100

Updated core
Project: help  c48ab896683aed8f610d0d63e086599bbd11e063

diff --git a/helpcontent2 b/helpcontent2
index d78c3cb..c48ab89 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit d78c3cb249a11ea45542d340754e960d47a35fa6
+Subproject commit c48ab896683aed8f610d0d63e086599bbd11e063
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] help.git: Branch 'distro/collabora/cp-4.1' - source/text

2013-11-03 Thread Andras Timar
 source/text/sbasic/shared/03030111.xhp |2 +-
 source/text/sbasic/shared/03030112.xhp |2 +-
 source/text/sbasic/shared/03030113.xhp |2 +-
 source/text/sbasic/shared/03030114.xhp |2 +-
 source/text/sbasic/shared/03030115.xhp |2 +-
 source/text/sbasic/shared/03030116.xhp |2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit c48ab896683aed8f610d0d63e086599bbd11e063
Author: Andras Timar andras.ti...@collabora.com
Date:   Sun Nov 3 10:34:47 2013 +0100

missing spaces in new help text

Change-Id: Idd049b01ac7fd83bc49d907788924a28fc50b7cd

diff --git a/source/text/sbasic/shared/03030111.xhp 
b/source/text/sbasic/shared/03030111.xhp
index e80b20d..a38e325 100644
--- a/source/text/sbasic/shared/03030111.xhp
+++ b/source/text/sbasic/shared/03030111.xhp
@@ -44,7 +44,7 @@
 paragraph role=paragraph id=par_id3154422 xml-lang=en-US l10n=U 
oldref=6com.sun.star.util.Date/paragraph
 paragraph role=heading id=hd_id3147303 xml-lang=en-US level=2 
l10n=U oldref=7Parameters:/paragraph
 paragraph role=paragraph id=par_id3145136 xml-lang=en-US l10n=U 
oldref=8
-emphaDate:/emphDate to convert/paragraph
+emphaDate: /emphDate to convert/paragraph
 embed href=text/sbasic/shared/0003.xhp#errorcode/
 embed href=text/sbasic/shared/0003.xhp#err5/
 paragraph role=heading id=hd_id3147243 xml-lang=en-US level=2 
l10n=U oldref=9Example:/paragraph
diff --git a/source/text/sbasic/shared/03030112.xhp 
b/source/text/sbasic/shared/03030112.xhp
index 864ce7c..d435880 100644
--- a/source/text/sbasic/shared/03030112.xhp
+++ b/source/text/sbasic/shared/03030112.xhp
@@ -44,7 +44,7 @@
 paragraph role=paragraph id=par_id3154422 xml-lang=en-US l10n=U 
oldref=6Date/paragraph
 paragraph role=heading id=hd_id3147303 xml-lang=en-US level=2 
l10n=U oldref=7Parameters:/paragraph
 paragraph role=paragraph id=par_id3145136 xml-lang=en-US l10n=U 
oldref=8
-emphaDate:/emphDate to convert/paragraph
+emphaDate: /emphDate to convert/paragraph
 embed href=text/sbasic/shared/0003.xhp#errorcode/
 embed href=text/sbasic/shared/0003.xhp#err5/
 paragraph role=heading id=hd_id3147243 xml-lang=en-US level=2 
l10n=U oldref=9Example:/paragraph
diff --git a/source/text/sbasic/shared/03030113.xhp 
b/source/text/sbasic/shared/03030113.xhp
index e72af81..592278c 100644
--- a/source/text/sbasic/shared/03030113.xhp
+++ b/source/text/sbasic/shared/03030113.xhp
@@ -44,7 +44,7 @@
 paragraph role=paragraph id=par_id3154422 xml-lang=en-US l10n=U 
oldref=6com.sun.star.util.Time/paragraph
 paragraph role=heading id=hd_id3147303 xml-lang=en-US level=2 
l10n=U oldref=7Parameters:/paragraph
 paragraph role=paragraph id=par_id3145136 xml-lang=en-US l10n=U 
oldref=8
-emphaDate:/emphDate value to convert/paragraph
+emphaDate: /emphDate value to convert/paragraph
 embed href=text/sbasic/shared/0003.xhp#errorcode/
 embed href=text/sbasic/shared/0003.xhp#err5/
 paragraph role=heading id=hd_id3147243 xml-lang=en-US level=2 
l10n=U oldref=9Example:/paragraph
diff --git a/source/text/sbasic/shared/03030114.xhp 
b/source/text/sbasic/shared/03030114.xhp
index 7eb540b..833cf2b 100644
--- a/source/text/sbasic/shared/03030114.xhp
+++ b/source/text/sbasic/shared/03030114.xhp
@@ -44,7 +44,7 @@
 paragraph role=paragraph id=par_id3154422 xml-lang=en-US l10n=U 
oldref=6Date/paragraph
 paragraph role=heading id=hd_id3147303 xml-lang=en-US level=2 
l10n=U oldref=7Parameters:/paragraph
 paragraph role=paragraph id=par_id3145136 xml-lang=en-US l10n=U 
oldref=8
-emphaTime:/emphTime to convert/paragraph
+emphaTime: /emphTime to convert/paragraph
 embed href=text/sbasic/shared/0003.xhp#errorcode/
 embed href=text/sbasic/shared/0003.xhp#err5/
 paragraph role=heading id=hd_id3147243 xml-lang=en-US level=2 
l10n=U oldref=9Example:/paragraph
diff --git a/source/text/sbasic/shared/03030115.xhp 
b/source/text/sbasic/shared/03030115.xhp
index d7059ca..69fde10 100644
--- a/source/text/sbasic/shared/03030115.xhp
+++ b/source/text/sbasic/shared/03030115.xhp
@@ -44,7 +44,7 @@
 paragraph role=paragraph id=par_id3154422 xml-lang=en-US l10n=U 
oldref=6com.sun.star.util.DateTime/paragraph
 paragraph role=heading id=hd_id3147303 xml-lang=en-US level=2 
l10n=U oldref=7Parameters:/paragraph
 paragraph role=paragraph id=par_id3145136 xml-lang=en-US l10n=U 
oldref=8
-emphaDate:/emphDate value to convert/paragraph
+emphaDate: /emphDate value to convert/paragraph
 embed href=text/sbasic/shared/0003.xhp#errorcode/
 embed href=text/sbasic/shared/0003.xhp#err5/
 paragraph role=heading id=hd_id3147243 xml-lang=en-US level=2 
l10n=U oldref=9Example:/paragraph
diff --git a/source/text/sbasic/shared/03030116.xhp 
b/source/text/sbasic/shared/03030116.xhp
index 55c3323..6142e74 100644
--- a/source/text/sbasic/shared/03030116.xhp
+++ b/source/text/sbasic/shared/03030116.xhp
@@ -44,7 +44,7 @@
  

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

2013-11-03 Thread David Tardon
 external/libmwaw/0001-use-correct-type.patch |   52 +++
 external/libmwaw/UnpackedTarball_libmwaw.mk  |1 
 2 files changed, 53 insertions(+)

New commits:
commit 2cb29ab6a364716fb6f2811099178c10045302ab
Author: David Tardon dtar...@redhat.com
Date:   Sun Nov 3 13:00:46 2013 +0100

fix a bit more

Change-Id: I8961fa9279a955f5570e58f29e23d412e5fd049c

diff --git a/external/libmwaw/0001-use-correct-type.patch 
b/external/libmwaw/0001-use-correct-type.patch
new file mode 100644
index 000..7a6ef2d
--- /dev/null
+++ b/external/libmwaw/0001-use-correct-type.patch
@@ -0,0 +1,52 @@
+From cde8d7c47cdea327f8153ab72cde650f1b36f7f8 Mon Sep 17 00:00:00 2001
+From: David Tardon dtar...@redhat.com
+Date: Sun, 3 Nov 2013 12:59:29 +0100
+Subject: [PATCH] use correct type
+
+---
+ src/lib/HMWJGraph.cxx | 8 
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/src/lib/HMWJGraph.cxx b/src/lib/HMWJGraph.cxx
+index fca366c..dd83ace 100644
+--- a/src/lib/HMWJGraph.cxx
 b/src/lib/HMWJGraph.cxx
+@@ -2668,7 +2668,7 @@ bool HMWJGraph::sendGroup(HMWJGraphInternal::Group const 
group, MWAWPosition po
+ return true;
+   }
+ 
+-  std::multimaplong, int::const_iterator fIt;
++  std::maplong, int::const_iterator fIt;
+   int numFrames = int(m_state-m_framesList.size());
+   for (size_t c=0; cgroup.m_childsList.size(); ++c) {
+ long fId=group.m_childsList[c];
+@@ -2690,7 +2690,7 @@ bool HMWJGraph::sendGroup(HMWJGraphInternal::Group const 
group, MWAWPosition po
+ 
+ bool HMWJGraph::canCreateGraphic(HMWJGraphInternal::Group const group)
+ {
+-  std::multimaplong, int::const_iterator fIt;
++  std::maplong, int::const_iterator fIt;
+   int page = group.m_page;
+   int numFrames = int(m_state-m_framesList.size());
+   for (size_t c=0; cgroup.m_childsList.size(); ++c) {
+@@ -2726,7 +2726,7 @@ void HMWJGraph::sendGroup(HMWJGraphInternal::Group const 
group, MWAWGraphicList
+   if (!listener) return;
+   group.m_parsed=true;
+   MWAWInputStreamPtr input= m_parserState-m_input;
+-  std::multimaplong, int::const_iterator fIt;
++  std::maplong, int::const_iterator fIt;
+   int numFrames = int(m_state-m_framesList.size());
+   for (size_t c=0; cgroup.m_childsList.size(); ++c) {
+ long fId=group.m_childsList[c];
+@@ -2784,7 +2784,7 @@ void HMWJGraph::sendGroupChild(HMWJGraphInternal::Group 
const group, MWAWPositi
+   Box2f partialBdBox;
+   MWAWPosition partialPos(pos);
+   MWAWInputStreamPtr input= m_parserState-m_input;
+-  std::multimaplong, int::const_iterator fIt;
++  std::maplong, int::const_iterator fIt;
+   int numFrames = int(m_state-m_framesList.size());
+   for (size_t c=0; cnumChilds; ++c) {
+ long fId=group.m_childsList[c];
+-- 
+1.8.3.1
+
diff --git a/external/libmwaw/UnpackedTarball_libmwaw.mk 
b/external/libmwaw/UnpackedTarball_libmwaw.mk
index eea0a94..efd8797 100644
--- a/external/libmwaw/UnpackedTarball_libmwaw.mk
+++ b/external/libmwaw/UnpackedTarball_libmwaw.mk
@@ -15,6 +15,7 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,libmwaw,1))
 
 $(eval $(call gb_UnpackedTarball_add_patches,libmwaw,\
external/libmwaw/0001-std-isfinite-is-C-11.patch \
+   external/libmwaw/0001-use-correct-type.patch \
 ))
 
 # 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-commits] core.git: configure.ac

2013-11-03 Thread Tor Lillqvist
 configure.ac |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 9074504c9139bbb0e380e7268d5220cb522a940a
Author: Tor Lillqvist t...@collabora.com
Date:   Sun Nov 3 14:12:19 2013 +0200

Recognize also NDK 9b

Change-Id: Ia9cecbe2cd6d9ee944abe5b8004aed27e191138c

diff --git a/configure.ac b/configure.ac
index 57f14fb..99209b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -225,10 +225,10 @@ if test -n $with_android_ndk; then
 ANDROID_NDK_VERSION=`cut -f1 -d' ' $ANDROID_NDK_HOME/RELEASE.TXT`
 
 case $ANDROID_NDK_VERSION in
-r8*|r9)
+r8*|r9*)
 ;;
 *)
-AC_MSG_ERROR([Unsupported NDK version $ANDROID_NDK_VERSION, only r8* 
and r9 versions are supported])
+AC_MSG_ERROR([Unsupported NDK version $ANDROID_NDK_VERSION, only r8* 
and r9* versions are supported])
 ;;
 esac
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-11-03 Thread Eike Rathke
 sc/source/ui/dbgui/asciiopt.cxx |7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 75673b2b441d86cf92d2fd515285a5553cfceb4a
Author: Eike Rathke er...@redhat.com
Date:   Sun Nov 3 13:51:28 2013 +0100

catch aFieldSeps.isEmpty() in ScAsciiOptions::GetWeightedFieldSep()

Change-Id: I72dea73752cd793d8f4992dfe631270412155a16

diff --git a/sc/source/ui/dbgui/asciiopt.cxx b/sc/source/ui/dbgui/asciiopt.cxx
index b2ea0c8..d52d4aa 100644
--- a/sc/source/ui/dbgui/asciiopt.cxx
+++ b/sc/source/ui/dbgui/asciiopt.cxx
@@ -364,7 +364,12 @@ sal_Unicode ScAsciiOptions::GetWeightedFieldSep( const 
OUString  rFieldSeps, bo
 {
 bool bMergeFieldSeps = false;
 OUString aFieldSeps( bDecodeNumbers ? lcl_decodeSepString( rFieldSeps, 
bMergeFieldSeps) : rFieldSeps);
-if (aFieldSeps.getLength() = 1)
+if (aFieldSeps.isEmpty())
+{
+SAL_WARN( sc.ui, ScAsciiOptions::GetWeightedFieldSep - no separator 
at all, using ',' comma);
+return ',';
+}
+else if (aFieldSeps.getLength() == 1)
 return aFieldSeps[0];
 else
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-11-03 Thread Michael Stahl
 framework/source/helper/statusindicatorfactory.cxx |5 -
 sfx2/source/view/frmload.cxx   |1 -
 2 files changed, 4 insertions(+), 2 deletions(-)

New commits:
commit b1f5986c57445588d513eefff9c4e8ceb6f0f75a
Author: Michael Stahl mst...@redhat.com
Date:   Sun Nov 3 13:45:54 2013 +0100

StatusIndicatorFactory::impl_reschedule(): lock SolarMutex

... before calling Reschedule().

Change-Id: I244fdd1a4642ea0e1ad266f6d9c4c56527018952

diff --git a/framework/source/helper/statusindicatorfactory.cxx 
b/framework/source/helper/statusindicatorfactory.cxx
index 4555dce..b2e3762 100644
--- a/framework/source/helper/statusindicatorfactory.cxx
+++ b/framework/source/helper/statusindicatorfactory.cxx
@@ -573,7 +573,10 @@ void StatusIndicatorFactory::impl_reschedule(sal_Bool 
bForce)
 aGlobalLock.unlock();
 // - SAFE
 
-Application::Reschedule(true);
+{
+SolarMutexGuard g;
+Application::Reschedule(true);
+}
 
 // SAFE -
 aGlobalLock.lock();
commit 2faa8537b661bb8ca427e0f39547fe49b6ac2325
Author: Michael Stahl mst...@redhat.com
Date:   Sun Nov 3 13:45:08 2013 +0100

SfxFrameLoader_Impl::impl_getStaticSupportedServiceNames() silly mutex

Change-Id: I5b9ffed3527b5be544a7aa57f67840d30b4ebff5

diff --git a/sfx2/source/view/frmload.cxx b/sfx2/source/view/frmload.cxx
index b7dfc24..a54f877a 100644
--- a/sfx2/source/view/frmload.cxx
+++ b/sfx2/source/view/frmload.cxx
@@ -671,7 +671,6 @@ Sequence OUString  SAL_CALL 
SfxFrameLoader_Impl::getSupportedServiceNames() th
 /* Helper for XServiceInfo */
 Sequence OUString  SfxFrameLoader_Impl::impl_getStaticSupportedServiceNames()
 {
-::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
 Sequence OUString  seqServiceNames( 2 );
 seqServiceNames.getArray() [0] = OUString( 
com.sun.star.frame.SynchronousFrameLoader );
 seqServiceNames.getArray() [1] = OUString( 
com.sun.star.frame.OfficeFrameLoader );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-11-03 Thread Laurent Balland-Poirier
 editeng/source/misc/svxacorr.cxx |2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 938881340e9203d3b265596b8c7359bb27560912
Author: Laurent Balland-Poirier laurent.balland-poir...@laposte.net
Date:   Thu Oct 10 20:16:07 2013 +0200

fdo#69762 Scientific number AutoCorrect as ordinal

In French, ordinal number autocorrection transforms
2e-3 in 2^e-3 which is annoying in Calc.
This patch avoids autocorrection with [digit][e|E]-

Change-Id: Iaaff4f8d6e667fc84a68d7c11e1a96da13594a18
Reviewed-on: https://gerrit.libreoffice.org/6204
Reviewed-by: Eike Rathke er...@redhat.com
Tested-by: Eike Rathke er...@redhat.com

diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 2777137..4479705 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -1387,6 +1387,8 @@ SvxAutoCorrect::DoAutoCorrect( SvxAutoCorrDoc rDoc, 
const OUString rTxt,
 }
 
 if( ( IsAutoCorrFlag( nRet = ChgOrdinalNumber ) 
+(nInsPos = 2 )// fdo#69762 avoid autocorrect for 
2e-3
+( '-' != cChar || 'E' != toupper(rTxt[nInsPos-1]) || '0'  
rTxt[nInsPos-2] || '9'  rTxt[nInsPos-2] ) 
 FnChgOrdinalNumber( rDoc, rTxt, nCapLttrPos, nInsPos, eLang ) 
) ||
 ( IsAutoCorrFlag( nRet = SetINetAttr ) 
 ( ' ' == cChar || '\t' == cChar || 0x0a == cChar || !cChar ) 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-11-03 Thread Tor Lillqvist
 sw/inc/swrect.hxx|   18 ++
 sw/source/core/bastyp/swrect.cxx |   12 
 2 files changed, 14 insertions(+), 16 deletions(-)

New commits:
commit 58ec629939bc0e31dc8fe8bfba6fba4f27e5bcc9
Author: Tor Lillqvist t...@collabora.com
Date:   Sun Nov 3 17:39:20 2013 +0200

Add operator for SAL_INFO and SAL_DEBUG use

Change-Id: I1da8d2fcf503f60ef7947e8956009e09c4b5c867

diff --git a/sw/inc/swrect.hxx b/sw/inc/swrect.hxx
index b74a491..5218224 100644
--- a/sw/inc/swrect.hxx
+++ b/sw/inc/swrect.hxx
@@ -18,8 +18,12 @@
  */
 #ifndef _SWRECT_HXX
 #define _SWRECT_HXX
+
+#include ostream
+
 #include sal/log.hxx
 #include tools/gen.hxx
+
 class SvStream;
 
 class SAL_WARN_UNUSED SwRect
@@ -346,6 +350,16 @@ inline SwRect::SwRect( long X, long Y, long W, long H ) :
 {
 }
 
+template typename charT, typename traits 
+inline std::basic_ostreamcharT, traits  operator (
+std::basic_ostreamcharT, traits  stream, const SwRect rectangle )
+{
+if (rectangle.IsEmpty())
+return stream  EMPTY;
+else
+return stream  rectangle.SSize()
+   @(  rectangle.Pos()  );
+}
 
 #endif  //_SWRECT_HXX
 
commit 51c2b2fc1edbfc5c04ae60d3989c0b62329dbd2b
Author: Tor Lillqvist t...@collabora.com
Date:   Sun Nov 3 17:41:55 2013 +0200

Bin the unused SvStream operator

Change-Id: I3971f46a14d96770660f7b0060df305248f9ec91

diff --git a/sw/inc/swrect.hxx b/sw/inc/swrect.hxx
index efe7edf..b74a491 100644
--- a/sw/inc/swrect.hxx
+++ b/sw/inc/swrect.hxx
@@ -98,10 +98,6 @@ public:
 //SV-SS e.g. pWin-DrawRect( aSwRect.SVRect() );
 inline Rectangle  SVRect() const;
 
-// Output operator for debugging.
-friend SvStream operator( SvStream rStream, const SwRect rRect );
-
-
 void _Top(  const long nTop );
 void _Bottom(   const long nBottom );
 void _Left( const long nLeft );
diff --git a/sw/source/core/bastyp/swrect.cxx b/sw/source/core/bastyp/swrect.cxx
index e37f0cf..0d79ded 100644
--- a/sw/source/core/bastyp/swrect.cxx
+++ b/sw/source/core/bastyp/swrect.cxx
@@ -223,16 +223,4 @@ void SwRect::SetUpperRightCorner(  const Point rNew )
 void SwRect::SetLowerLeftCorner(  const Point rNew )
 { m_Point = Point(rNew.A(), rNew.B() - m_Size.getHeight()); }
 
-#ifdef DBG_UTIL
-SvStream operator( SvStream rStream, const SwRect rRect )
-{
-rStream  '['  static_castsal_Int32(rRect.Top())
- '/'  static_castsal_Int32(rRect.Left())
- ','  static_castsal_Int32(rRect.Width())
- 'x'  static_castsal_Int32(rRect.Height())
- ] ;
-return rStream;
-}
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - editeng/source

2013-11-03 Thread Laurent Balland-Poirier
 editeng/source/misc/svxacorr.cxx |3 +++
 1 file changed, 3 insertions(+)

New commits:
commit ebb867f2b7d268eba5f39d387713fc2dac99a06d
Author: Laurent Balland-Poirier laurent.balland-poir...@laposte.net
Date:   Thu Oct 10 20:16:07 2013 +0200

fdo#69762 Scientific number AutoCorrect as ordinal

In French, ordinal number autocorrection transforms
2e-3 in 2^e-3 which is annoying in Calc.
This patch avoids autocorrection with [digit][e|E]-

Reviewed-on: https://gerrit.libreoffice.org/6204
Reviewed-by: Eike Rathke er...@redhat.com
Tested-by: Eike Rathke er...@redhat.com
(cherry picked from commit 938881340e9203d3b265596b8c7359bb27560912)

Backported.

Change-Id: Iaaff4f8d6e667fc84a68d7c11e1a96da13594a18
Signed-off-by: Eike Rathke er...@redhat.com

diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 9e3b325..cc61b5e 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -1376,6 +1376,9 @@ SvxAutoCorrect::DoAutoCorrect( SvxAutoCorrDoc rDoc, 
const String rTxt,
 }
 
 if( ( IsAutoCorrFlag( nRet = ChgOrdinalNumber ) 
+(nInsPos = 2 )// fdo#69762 avoid autocorrect for 
2e-3
+( '-' != cChar || 'E' != toupper(rTxt.GetChar(nInsPos-1)) ||
+  '0'  rTxt.GetChar(nInsPos-2) || '9'  
rTxt.GetChar(nInsPos-2) ) 
 FnChgOrdinalNumber( rDoc, rTxt, nCapLttrPos, nInsPos, eLang ) 
) ||
 ( IsAutoCorrFlag( nRet = SetINetAttr ) 
 ( ' ' == cChar || '\t' == cChar || 0x0a == cChar || !cChar ) 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-11-03 Thread Tor Lillqvist
 sw/inc/swrect.hxx |5 -
 1 file changed, 5 deletions(-)

New commits:
commit c1c0593cba85ac03c8a59e58e07fbbdc0478bf7a
Author: Tor Lillqvist t...@collabora.com
Date:   Sun Nov 3 18:19:40 2013 +0200

Forgot to bin this declaration, too

Change-Id: Ifd27073ca0451cf285ff0a473676d9f2ad213f00

diff --git a/sw/inc/swrect.hxx b/sw/inc/swrect.hxx
index 5218224..67ee878 100644
--- a/sw/inc/swrect.hxx
+++ b/sw/inc/swrect.hxx
@@ -145,11 +145,6 @@ public:
 sal_Bool OverStepRight( long ) const;
 };
 
-#ifdef DBG_UTIL
-// Implementation in swrect.cxx
-extern SvStream operator( SvStream rStream, const SwRect rRect );
-#endif
-
 typedef void (SwRect:: *SwRectSet)( const long nNew );
 typedef long (SwRect:: *SwRectGet)() const;
 typedef const Point (SwRect:: *SwRectPoint)() const;
___
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

2013-11-03 Thread Tor Lillqvist
 sw/inc/ndhints.hxx|3 ---
 sw/source/core/text/txtio.cxx |7 ---
 2 files changed, 10 deletions(-)

New commits:
commit 21f56260bec8d3b9f4af346c0a1cc1465aa3d04c
Author: Tor Lillqvist t...@collabora.com
Date:   Sun Nov 3 18:30:13 2013 +0200

Bin unused (and uninformative) debugging SvStream operator for SwpHints

Change-Id: I7faa055831872cdc46004653eb5d01e6b7ea4b4e

diff --git a/sw/inc/ndhints.hxx b/sw/inc/ndhints.hxx
index d8b6115..91488a8 100644
--- a/sw/inc/ndhints.hxx
+++ b/sw/inc/ndhints.hxx
@@ -196,9 +196,6 @@ public:
 DECL_FIXEDMEMPOOL_NEWDEL(SwpHints)
 };
 
-/// Output operator for text hints.
-SvStream operator(SvStream aS, const SwpHints rHints); //$ ostream
-
 
 /// Inline Implementations
 
diff --git a/sw/source/core/text/txtio.cxx b/sw/source/core/text/txtio.cxx
index b6995d1..9a3656f 100644
--- a/sw/source/core/text/txtio.cxx
+++ b/sw/source/core/text/txtio.cxx
@@ -44,13 +44,6 @@
 #include pormulti.hxx
 #include ndhints.hxx
 
-SvStream operator( SvStream rOs, const SwpHints  ) //$ ostream
-{
-rOs   {HINTS:;
-rOs  '}';
-return rOs;
-}
-
 #if OSL_DEBUG_LEVEL  2
 
 static void Error()
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


conflict Error 255

2013-11-03 Thread Soliman Eldebaky
: *
: ERROR: ERROR: 'destination' at file not unique: LibreOffice
4/share/extensions/dict-ar/description.xml at
C:/sources/libo-core/solenv/bin/modules/installer/windows/file.pm line 132
: *

make[1]: *** [C:/sources/libo-core/workdir/
wntmsci14.pro/CustomTarget/instsetoo_native/install/install.phony] Error 255

-- 

Best Regards,

*CSEC*

Computer Science Egyptian Center


Soliman ElDebaky
Software Developer


Mob: (+2) 01007294366
Website  : www.csec1.com
Email  : soliman.mou...@gmail.com
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2013-11-03 Thread Tor Lillqvist
 sw/inc/swtypes.hxx |1 -
 sw/source/core/bastyp/swtypes.cxx  |1 -
 sw/source/core/doc/number.cxx  |8 
 sw/source/core/doc/poolfmt.cxx |6 +++---
 sw/source/core/table/swtable.cxx   |6 +++---
 sw/source/filter/ww8/rtfexport.cxx |2 +-
 sw/source/filter/ww8/wrtw8num.cxx  |2 +-
 sw/source/ui/app/applab.cxx|2 +-
 8 files changed, 13 insertions(+), 15 deletions(-)

New commits:
commit 574d7d9c79e40c09bee34d3e692d1d88d6a2b975
Author: Tor Lillqvist t...@collabora.com
Date:   Sun Nov 3 19:52:12 2013 +0200

Get rid of global aDotStr

Change-Id: I6be71a738162ed53f2b81b7e03a18b1a8ddbdae0

diff --git a/sw/inc/swtypes.hxx b/sw/inc/swtypes.hxx
index fe2636e..07b22f9 100644
--- a/sw/inc/swtypes.hxx
+++ b/sw/inc/swtypes.hxx
@@ -81,7 +81,6 @@ const SwTwips lMinBorder = 1134;
 
 // Constant strings.
 SW_DLLPUBLIC extern OUString aEmptyOUStr;  // remove once aEmptyOUStr can be 
changed to OUString
-SW_DLLPUBLIC extern OUString aDotStr;  // '.'
 
 // For inserting of captions (what and where to insert).
 // It's here because it is not big enough to justify its own hxx
diff --git a/sw/source/core/bastyp/swtypes.cxx 
b/sw/source/core/bastyp/swtypes.cxx
index 42c9d13..6a4eea1 100644
--- a/sw/source/core/bastyp/swtypes.cxx
+++ b/sw/source/core/bastyp/swtypes.cxx
@@ -48,7 +48,6 @@
 using namespace com::sun::star;
 
 OUString aEmptyOUStr;  // remove once aEmptyOUStr can be changed to OUString
-OUString aDotStr('.'); // constant string
 
 IMPL_FIXEDMEMPOOL_NEWDEL( SwAttrSet )
 IMPL_FIXEDMEMPOOL_NEWDEL( SwStartNode )
diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx
index cfd9076..6b992ab 100644
--- a/sw/source/core/doc/number.cxx
+++ b/sw/source/core/doc/number.cxx
@@ -408,7 +408,7 @@ SwNumRule::SwNumRule( const OUString rNm,
 pFmt-SetLSpace( lNumIndent );
 pFmt-SetAbsLSpace( lNumIndent + SwNumRule::GetNumIndent( n ) );
 pFmt-SetFirstLineOffset( lNumFirstLineOffset );
-pFmt-SetSuffix( aDotStr );
+pFmt-SetSuffix( . );
 pFmt-SetBulletChar( numfunc::GetBulletChar(n));
 SwNumRule::aBaseFmts[ NUM_RULE ][ n ] = pFmt;
 }
@@ -431,7 +431,7 @@ SwNumRule::SwNumRule( const OUString rNm,
 pFmt-SetListtabPos( cIndentAt[ n ] );
 pFmt-SetFirstLineIndent( cFirstLineIndent );
 pFmt-SetIndentAt( cIndentAt[ n ] );
-pFmt-SetSuffix( aDotStr );
+pFmt-SetSuffix( . );
 pFmt-SetBulletChar( numfunc::GetBulletChar(n));
 SwNumRule::aLabelAlignmentBaseFmts[ NUM_RULE ][ n ] = pFmt;
 }
@@ -682,7 +682,7 @@ OUString SwNumRule::MakeNumString( const 
SwNumberTree::tNumberVector  rNumVecto
 {
 // Should 1.1.1 -- 2. NoNum -- 1..1 or 1.1 ??
 // if( i != rNum.nMyLevel )
-//aStr += aDotStr;
+//aStr += .;
 continue;
 }
 
@@ -696,7 +696,7 @@ OUString SwNumRule::MakeNumString( const 
SwNumberTree::tNumberVector  rNumVecto
 else
 aStr += 0;// all 0 level are a 0
 if( i != nLevel  !aStr.isEmpty() )
-aStr += aDotStr;
+aStr += .;
 }
 
 // The type doesn't have any number, so don't append
diff --git a/sw/source/core/doc/poolfmt.cxx b/sw/source/core/doc/poolfmt.cxx
index fcd9254..d7995fb 100644
--- a/sw/source/core/doc/poolfmt.cxx
+++ b/sw/source/core/doc/poolfmt.cxx
@@ -1646,7 +1646,7 @@ SwNumRule* SwDoc::GetNumRuleFromPool( sal_uInt16 nId )
 aFmt.SetCharFmt( pNumCFmt );
 aFmt.SetStart( 1 );
 aFmt.SetIncludeUpperLevels( 1 );
-aFmt.SetSuffix( aDotStr );
+aFmt.SetSuffix( . );
 
 static const sal_uInt16 aAbsSpace[ MAXLEVEL ] =
 {
@@ -1795,7 +1795,7 @@ SwNumRule* SwDoc::GetNumRuleFromPool( sal_uInt16 nId )
 aFmt.SetNumberingType(SVX_NUM_ROMAN_UPPER);
 aFmt.SetCharFmt( pNumCFmt );
 aFmt.SetIncludeUpperLevels( 1 );
-aFmt.SetSuffix( aDotStr );
+aFmt.SetSuffix( . );
 
 static const sal_uInt16 aAbsSpace[ MAXLEVEL ] =
 {
@@ -1873,7 +1873,7 @@ SwNumRule* SwDoc::GetNumRuleFromPool( sal_uInt16 nId )
 aFmt.SetNumberingType(SVX_NUM_ARABIC);
 aFmt.SetStart( 1 );
 aFmt.SetIncludeUpperLevels( 1 );
-aFmt.SetSuffix( aDotStr );
+aFmt.SetSuffix( . );
 
 if ( eNumberFormatPositionAndSpaceMode == 
SvxNumberFormat::LABEL_ALIGNMENT )
 {
diff --git a/sw/source/core/table/swtable.cxx b/sw/source/core/table/swtable.cxx
index c9e4ee8..42b74f8 100644
--- a/sw/source/core/table/swtable.cxx
+++ b/sw/source/core/table/swtable.cxx
@@ -1388,7 +1388,7 @@ sal_uInt16 

[Libreoffice-commits] core.git: Branch 'feature/tiledrendering' - 2 commits - ios/shared sw/inc

2013-11-03 Thread Tor Lillqvist
 ios/shared/ios_sharedlo/objective_c/view_controllers/MLOTestingTileParameter.m 
 |2 -
 
ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTileParametersViewController.m
 |1 
 sw/inc/swrect.hxx  
 |   14 ++
 3 files changed, 15 insertions(+), 2 deletions(-)

New commits:
commit 69953b5da66a7682c20db64a4c76ef190010bdb8
Author: Tor Lillqvist t...@collabora.com
Date:   Sun Nov 3 17:39:20 2013 +0200

Add operator for SAL_INFO and SAL_DEBUG use

Change-Id: I1da8d2fcf503f60ef7947e8956009e09c4b5c867

diff --git a/sw/inc/swrect.hxx b/sw/inc/swrect.hxx
index efe7edf..ca0cf91 100644
--- a/sw/inc/swrect.hxx
+++ b/sw/inc/swrect.hxx
@@ -18,8 +18,12 @@
  */
 #ifndef _SWRECT_HXX
 #define _SWRECT_HXX
+
+#include ostream
+
 #include sal/log.hxx
 #include tools/gen.hxx
+
 class SvStream;
 
 class SAL_WARN_UNUSED SwRect
@@ -350,6 +354,16 @@ inline SwRect::SwRect( long X, long Y, long W, long H ) :
 {
 }
 
+template typename charT, typename traits 
+inline std::basic_ostreamcharT, traits  operator (
+std::basic_ostreamcharT, traits  stream, const SwRect rectangle )
+{
+if (rectangle.IsEmpty())
+return stream  EMPTY;
+else
+return stream  rectangle.SSize()
+   @(  rectangle.Pos()  );
+}
 
 #endif  //_SWRECT_HXX
 
commit 0ee341359bca0180521746a90f90965fae92ad49
Author: Tor Lillqvist t...@collabora.com
Date:   Sun Nov 3 17:38:04 2013 +0200

Reduce NSLog verbiage a bit

Change-Id: I362acb92da88f9e348b33414cdc31cd83bfe1eac

diff --git 
a/ios/shared/ios_sharedlo/objective_c/view_controllers/MLOTestingTileParameter.m
 
b/ios/shared/ios_sharedlo/objective_c/view_controllers/MLOTestingTileParameter.m
index 89267e5..779b84d 100644
--- 
a/ios/shared/ios_sharedlo/objective_c/view_controllers/MLOTestingTileParameter.m
+++ 
b/ios/shared/ios_sharedlo/objective_c/view_controllers/MLOTestingTileParameter.m
@@ -181,7 +181,7 @@ static const CGFloat DEFAULT_STEP_VALUE = 1;
 -(void)extractMode:(MLOTestingTileParametersMode) mode{
 MLOTestingTileParameterExtractor extractor = [self getExtractor:mode];
 if(extractor!=nil){
-NSLog(@%@ extract %@,self,MLOTestingTileParametersModeString(mode));
+// NSLog(@%@ extract 
%@,self,MLOTestingTileParametersModeString(mode));
 extractor([self currentDataValue]);
 }
 }
diff --git 
a/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTileParametersViewController.m
 
b/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTileParametersViewController.m
index 52d7b64..681693d 100644
--- 
a/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTileParametersViewController.m
+++ 
b/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTileParametersViewController.m
@@ -159,7 +159,6 @@ static const CGFloat RENDER_BUTTON_HEIGHT = 50.0f;
 
 }
 -(void)renderTile{
-NSLog(@%@ renderTile,self);
 for (MLOTestingTileParameter * param in self.params) {
 [param extractMode:self.mode];
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-11-03 Thread Ivan Timofeev
 vcl/inc/unx/desktops.hxx  |1 +
 vcl/unx/generic/desktopdetect/desktopdetector.cxx |   12 ++--
 vcl/unx/generic/plugadapt/salplug.cxx |3 ++-
 vcl/unx/gtk/window/gtksalframe.cxx|9 +++--
 4 files changed, 20 insertions(+), 5 deletions(-)

New commits:
commit 2e25016289d5f565ba4080625950ef6ca6487d34
Author: Ivan Timofeev timofeev@gmail.com
Date:   Sun Nov 3 21:59:55 2013 +0400

fdo#70885: disable app menu under Unity

Change-Id: I90ca2f5dd8d2678dff74ae5599e640c9a69aee33

diff --git a/vcl/inc/unx/desktops.hxx b/vcl/inc/unx/desktops.hxx
index f67e8ca..0515cf5 100644
--- a/vcl/inc/unx/desktops.hxx
+++ b/vcl/inc/unx/desktops.hxx
@@ -24,6 +24,7 @@ enum DesktopType {
 DESKTOP_NONE, // headless, i.e. no X connection at all
 DESKTOP_UNKNOWN, // unknown desktop, simple WM, etc.
 DESKTOP_GNOME,
+DESKTOP_UNITY,
 DESKTOP_XFCE,
 DESKTOP_MATE,
 DESKTOP_KDE,
diff --git a/vcl/unx/generic/desktopdetect/desktopdetector.cxx 
b/vcl/unx/generic/desktopdetect/desktopdetector.cxx
index f18bf0a..1d5d223 100644
--- a/vcl/unx/generic/desktopdetect/desktopdetector.cxx
+++ b/vcl/unx/generic/desktopdetect/desktopdetector.cxx
@@ -291,6 +291,8 @@ DESKTOP_DETECTOR_PUBLIC DesktopType 
get_desktop_environment()
 return DESKTOP_KDE4;
 if ( aOver.equalsIgnoreAsciiCase( gnome ) )
 return DESKTOP_GNOME;
+if ( aOver.equalsIgnoreAsciiCase( unity ) )
+return DESKTOP_UNITY;
 if ( aOver.equalsIgnoreAsciiCase( xfce ) )
 return DESKTOP_XFCE;
 if ( aOver.equalsIgnoreAsciiCase( mate ) )
@@ -351,12 +353,18 @@ DESKTOP_DETECTOR_PUBLIC DesktopType 
get_desktop_environment()
 
 const char *pSession;
 OString aDesktopSession;
-
 if ( ( pSession = getenv( DESKTOP_SESSION ) ) )
 aDesktopSession = OString( pSession, strlen( pSession ) );
 
+const char *pDesktop;
+OString aCurrentDesktop;
+if ( ( pDesktop = getenv( XDG_CURRENT_DESKTOP ) ) )
+aCurrentDesktop = OString( pDesktop, strlen( pDesktop ) );
+
 // fast environment variable checks
-if ( aDesktopSession.equalsIgnoreAsciiCase( gnome ) )
+if ( aCurrentDesktop.equalsIgnoreAsciiCase( unity ) )
+ret = DESKTOP_UNITY;
+else if ( aDesktopSession.equalsIgnoreAsciiCase( gnome ) )
 ret = DESKTOP_GNOME;
 else if ( aDesktopSession.equalsIgnoreAsciiCase( mate ) )
 ret = DESKTOP_MATE;
diff --git a/vcl/unx/generic/plugadapt/salplug.cxx 
b/vcl/unx/generic/plugadapt/salplug.cxx
index ddd0422..56d9fe5 100644
--- a/vcl/unx/generic/plugadapt/salplug.cxx
+++ b/vcl/unx/generic/plugadapt/salplug.cxx
@@ -184,6 +184,7 @@ static SalInstance* autodetect_plugin()
 if ( desktop == DESKTOP_NONE )
 pList = pHeadlessFallbackList;
 else if ( desktop == DESKTOP_GNOME ||
+  desktop == DESKTOP_UNITY ||
   desktop == DESKTOP_XFCE  ||
   desktop == DESKTOP_MATE )
 pList = pStandardFallbackList;
@@ -286,7 +287,7 @@ const OUString SalGetDesktopEnvironment()
 {
 // Order to match desktops.hxx' DesktopType
 static const char * const desktop_strings[] = {
-none, unknown, GNOME,
+none, unknown, GNOME, UNITY,
 XFCE, MATE, TDE,
 KDE, KDE4 };
 static OUString aRet;
diff --git a/vcl/unx/gtk/window/gtksalframe.cxx 
b/vcl/unx/gtk/window/gtksalframe.cxx
index 58d402c..5651dcf 100644
--- a/vcl/unx/gtk/window/gtksalframe.cxx
+++ b/vcl/unx/gtk/window/gtksalframe.cxx
@@ -656,7 +656,6 @@ gboolean ensure_dbus_setup( gpointer data )
 gdk_x11_window_set_utf8_property( gdkWindow, 
_GTK_APPLICATION_OBJECT_PATH, /org/libreoffice );
 gdk_x11_window_set_utf8_property( gdkWindow, 
_GTK_WINDOW_OBJECT_PATH, aDBusWindowPath );
 gdk_x11_window_set_utf8_property( gdkWindow, 
_GTK_MENUBAR_OBJECT_PATH, aDBusMenubarPath );
-gdk_x11_window_set_utf8_property( gdkWindow, 
_GTK_APP_MENU_OBJECT_PATH, /org/libreoffice/menus/appmenu );
 
 // Publish the menu model and the action group.
 SAL_INFO(vcl.unity, exporting menu model at   pMenuModel   
for window   windowId);
@@ -665,9 +664,15 @@ gboolean ensure_dbus_setup( gpointer data )
 pSalFrame-m_nActionGroupExportId = 
g_dbus_connection_export_action_group( pSessionBus, aDBusWindowPath, 
pActionGroup, NULL);
 pSalFrame-m_nHudAwarenessId = hud_awareness_register( pSessionBus, 
aDBusMenubarPath, hud_activated, pSalFrame, NULL, NULL );
 
+// fdo#70885 we don't want app menu under Unity
+bool bDesktopIsUnity = (SalGetDesktopEnvironment() == UNITY);
+
+if (!bDesktopIsUnity)
+gdk_x11_window_set_utf8_property( gdkWindow, 
_GTK_APP_MENU_OBJECT_PATH, /org/libreoffice/menus/appmenu );
+
 //app menu, to-do translations, block normal menus when active, honor 
use appmenu settings
 ResMgr* pMgr = ImplGetResMgr();
-if( pMgr )
+if( pMgr  

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

2013-11-03 Thread Tor Lillqvist
 vcl/source/window/dialog.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 215c9a708e1dc184b0efac0d7a9246715a7cf469
Author: Tor Lillqvist t...@collabora.com
Date:   Fri Nov 1 00:26:56 2013 +0200

Typo

Change-Id: I31cd13e6b11b73166e7a7f351c5eb3ea8038a4fc

diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index 0298d5d..1e08a5a 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -912,7 +912,7 @@ short Dialog::Execute()
 while ( !aDelData.IsDead()  mbInExecute )
 Application::Yield();
 
-ImplEndExecutModal();
+ImplEndExecuteModal();
 
 #ifdef DBG_UTIL
 if( pDialogParent  )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Bug 65675] LibreOffice 4.2 most annoying bugs

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65675

Bug 65675 depends on bug 70885, which changed state.

Bug 70885 Summary: Gnome application menu should be deactivated under Unity
https://bugs.freedesktop.org/show_bug.cgi?id=70885

   What|Removed |Added

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

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


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

2013-11-03 Thread Miklos Vajna
 writerfilter/Library_writerfilter.mk|1 
 writerfilter/source/doctok/WW8FontTable.cxx |   60 
 writerfilter/source/doctok/resources.xmi|6 --
 3 files changed, 67 deletions(-)

New commits:
commit 75761f0fbb1765cf5f5ab241c84c7af984689f95
Author: Miklos Vajna vmik...@collabora.co.uk
Date:   Sun Nov 3 20:30:18 2013 +0100

writerfilter: remove unused WW8Font class in doctok

Change-Id: I483ccf31e6e67dec9f5c3992b362b63c5f14dfa3

diff --git a/writerfilter/Library_writerfilter.mk 
b/writerfilter/Library_writerfilter.mk
index 4f04de5..90811dd 100644
--- a/writerfilter/Library_writerfilter.mk
+++ b/writerfilter/Library_writerfilter.mk
@@ -126,7 +126,6 @@ $(eval $(call 
gb_Library_add_exception_objects,writerfilter,\
 writerfilter/source/doctok/WW8Annotation \
 writerfilter/source/doctok/WW8CpAndFc \
 writerfilter/source/doctok/WW8FKPImpl \
-writerfilter/source/doctok/WW8FontTable \
 writerfilter/source/doctok/WW8Picture \
 writerfilter/source/doctok/WW8PropertySetImpl \
 writerfilter/source/doctok/WW8ResourceModelImpl \
diff --git a/writerfilter/source/doctok/WW8FontTable.cxx 
b/writerfilter/source/doctok/WW8FontTable.cxx
deleted file mode 100644
index 8c439ab..000
--- a/writerfilter/source/doctok/WW8FontTable.cxx
+++ /dev/null
@@ -1,60 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- *   Licensed to the Apache Software Foundation (ASF) under one or more
- *   contributor license agreements. See the NOTICE file distributed
- *   with this work for additional information regarding copyright
- *   ownership. The ASF licenses this file to you under the Apache
- *   License, Version 2.0 (the License); you may not use this file
- *   except in compliance with the License. You may obtain a copy of
- *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include doctok/resources.hxx
-
-namespace writerfilter {
-namespace doctok {
-
-sal_uInt32 WW8Font::get_f()
-{
-return mnIndex;
-}
-
-OUString WW8Font::get_xszFfn()
-{
-sal_uInt32 nOffset = 0x28;
-sal_uInt32 nCount = get_cbFfnM1() - nOffset;
-
-Sequence aSeq(mSequence, nOffset, nCount);
-
-rtl_uString * pNew = 0;
-rtl_uString_newFromStr
-(pNew, reinterpret_castconst sal_Unicode *(aSeq[0]));
-
-return OUString(pNew);
-}
-
-OUString WW8Font::get_altName()
-{
-sal_uInt32 nOffset = 0x28 + get_ixchSzAlt();
-sal_uInt32 nCount = get_cbFfnM1() - nOffset;
-
-Sequence aSeq(mSequence, nOffset, nCount);
-
-rtl_uString * pNew = 0;
-rtl_uString_newFromStr
-(pNew, reinterpret_castconst sal_Unicode *(aSeq[0]));
-
-return OUString(pNew);
-}
-
-}}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/doctok/resources.xmi 
b/writerfilter/source/doctok/resources.xmi
index 605b756..b5b8deb 100644
--- a/writerfilter/source/doctok/resources.xmi
+++ b/writerfilter/source/doctok/resources.xmi
@@ -3144,12 +3144,6 @@
 !--Class FontTable--
 !--Class Font--
 UML:Class xmi.id=Font name=Font
-  UML:ModelElement.stereotype
-UML:Stereotype xmi.idref=ww8resource/
-  /UML:ModelElement.stereotype
-  UML:ModelElement.stereotype
-UML:Stereotype xmi.idref=withindex/
-  /UML:ModelElement.stereotype
   UML:ModelElement.taggedValue
 UML:TaggedValue
   UML:TaggedValue.dataValue40/UML:TaggedValue.dataValue
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'feature/tiledrendering' - 2 commits - ios/shared sw/source

2013-11-03 Thread Tor Lillqvist
 ios/shared/ios_sharedlo/objective_c/view_controllers/MLOTestingTileParameter.m 
 |6 -
 
ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTileParametersViewController.h
 |   12 +-
 sw/source/core/view/viewsh.cxx 
 |   11 -
 3 files changed, 21 insertions(+), 8 deletions(-)

New commits:
commit eddc596ce5076d48fa8a8e7fc10d0c9184a21358
Author: Tor Lillqvist t...@collabora.com
Date:   Sun Nov 3 21:41:21 2013 +0200

It seems that calling SetSwVisArea() has no effect

Make it optional at run-time (for now while testing) with an
environment variable.

Change-Id: I2ba1673fc51e91d0943148a0bf41351c87f272e5

diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index 67d7974..06f33f9 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -1775,6 +1775,7 @@ void ViewShell::PaintTile(OutputDevice *pOut, const 
Rectangle rRect)
 extern C
 void touch_lo_draw_tile(void *context, int contextWidth, int contextHeight, 
MLODpxPoint tileDpxPosition, MLODpxSize tileDpxSize)
 {
+// SAL_DEBUG(touch_lo_draw_tile(  contextWidth  ,   
contextHeight  , (  tileDpxPosition.x  ,  tileDpxPosition.y  ), 
  tileDpxSize.width  x  tileDpxSize.height  ));
 MLORipPoint tileRipPosition = MLORipPointByDpxPoint(tileDpxPosition);
 MLORipSize rileRipSize = MLORipSizeByDpxSize(tileDpxSize);
 MLORip tileRipPosX = tileRipPosition.x;
@@ -1810,7 +1811,15 @@ void touch_lo_draw_tile(void *context, int contextWidth, 
int contextHeight, MLOD
 aMapMode.SetScaleX(scaleX);
 aMapMode.SetScaleY(scaleY);
 aDevice.SetMapMode(aMapMode);
-SetSwVisArea( pViewShell, SwRect(Point(tilePosX, tilePosY), 
Size(tileWidth, tileHeight)) );
+static bool bCallSetSwVisArea = getenv(CALLSETSWVISAREA) != NULL;
+if (bCallSetSwVisArea)
+{
+// SwRect foo = pViewShell-VisArea();
+// SAL_DEBUG(old VisArea:   foo);
+SetSwVisArea( pViewShell, SwRect(Point(tilePosX, tilePosY), 
Size(tileWidth, tileHeight)) );
+// foo = pViewShell-VisArea();
+// SAL_DEBUG(new VisArea:   foo);
+}
 // resizes the virtual device so to contain the entrie context
 aDevice.SetOutputSizePixel(Size(contextWidth, contextHeight));
 // draw - works in logic coordinates
commit 02e1f4298d1109fc8271aa7ac3da73310c4ff59b
Author: Tor Lillqvist t...@collabora.com
Date:   Sun Nov 3 20:39:49 2013 +0200

Tweak default values of tunables and use larger default step size

It is more interesting to get smaller text in the initial tile. Also,
make the tile fit on the screen of an iPad.

Change-Id: Ibe4e7f055ec2782a4fd96a3ae585d4630449f0ee

diff --git 
a/ios/shared/ios_sharedlo/objective_c/view_controllers/MLOTestingTileParameter.m
 
b/ios/shared/ios_sharedlo/objective_c/view_controllers/MLOTestingTileParameter.m
index 779b84d..f43dfb8 100644
--- 
a/ios/shared/ios_sharedlo/objective_c/view_controllers/MLOTestingTileParameter.m
+++ 
b/ios/shared/ios_sharedlo/objective_c/view_controllers/MLOTestingTileParameter.m
@@ -21,7 +21,7 @@
 @property UIStepper * stepStepper;
 @end
 
-static const CGFloat DEFAULT_STEP_VALUE = 1;
+static const CGFloat DEFAULT_STEP_VALUE = 10;
 
 @implementation MLOTestingTileParameter
 
@@ -36,6 +36,10 @@ static const CGFloat DEFAULT_STEP_VALUE = 1;
 [self initLabel:label];
 self.dataStepper = [self stepperWithMinValue:-MAXFLOAT];
 self.stepStepper = [self stepperWithMinValue:1];
+// The step stepper obviously needs a step value of 1,
+// and an initial value of DEFAULT_STEP_VALUE.
+self.stepStepper.stepValue = 1;
+self.stepStepper.value = DEFAULT_STEP_VALUE;
 [self initDataTextField];
 [self initStepTextField];
 }
diff --git 
a/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTileParametersViewController.h
 
b/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTileParametersViewController.h
index ffbf903..3ca92f3 100644
--- 
a/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTileParametersViewController.h
+++ 
b/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTileParametersViewController.h
@@ -9,12 +9,12 @@
 #import MLOViewController.h
 #import MLOTestingTileSubviewControllerProtocol.h
 
-static const CGFloat CONTEXT_WIDTH_DEFAULT = 600;
-static const CGFloat CONTEXT_HEIGHT_DEFAULT = 600;
-static const CGFloat TILE_POS_X_DEFAULT = 500;
-static const CGFloat TILE_POS_Y_DEFAULT = 620;
-static const CGFloat TILE_WIDTH_DEFAULT = 1000;
-static const CGFloat TILE_HEIGHT_DEFAULT = 1020;
+static const CGFloat CONTEXT_WIDTH_DEFAULT = 450;
+static const CGFloat CONTEXT_HEIGHT_DEFAULT = 450;
+static const CGFloat 

[Libreoffice-commits] core.git: Branch 'feature/tiledrendering' - 2 commits - sw/source

2013-11-03 Thread Tor Lillqvist
 sw/source/core/view/viewsh.cxx |   24 ++--
 1 file changed, 14 insertions(+), 10 deletions(-)

New commits:
commit 51c0b80139c1fa05ca34a629073eeecb2ab1a766
Author: Tor Lillqvist t...@collabora.com
Date:   Sun Nov 3 22:46:38 2013 +0200

Make the scaling with the tile/context ratio optional, too

It just confuses things, for me at least... It's enough to keep the
scaling from our decitwips to twips to pixels in your head.

I am now finally starting to understand what is going on;)

Change-Id: I0dca2722105914de41d1ce017410cb5a05cf32c4

diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index 6a5bda0..ac88413 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -1805,11 +1805,15 @@ void touch_lo_draw_tile(void *context, int 
contextWidth, int contextHeight, MLOD
 MapMode aMapMode(aDevice.GetMapMode());
 aMapMode.SetMapUnit(MAP_TWIP);
 aMapMode.SetOrigin(Point(-tilePosX, -tilePosY));
-// scaling
-Fraction scaleX(tileWidth,contextWidth);
-Fraction scaleY(tileHeight,contextHeight);
-aMapMode.SetScaleX(scaleX);
-aMapMode.SetScaleY(scaleY);
+static bool bCallSetScale = getenv(CALLSETSCALE) != NULL;
+if (bCallSetScale)
+{
+// scaling
+Fraction scaleX(tileWidth,contextWidth);
+Fraction scaleY(tileHeight,contextHeight);
+aMapMode.SetScaleX(scaleX);
+aMapMode.SetScaleY(scaleY);
+}
 aDevice.SetMapMode(aMapMode);
 static bool bCallSetSwVisArea = getenv(CALLSETSWVISAREA) != NULL;
 if (bCallSetSwVisArea)
commit 04b991a1628154c10d7216d84a8838b093a2884f
Author: Tor Lillqvist t...@collabora.com
Date:   Sun Nov 3 22:31:15 2013 +0200

Use SAL_INFO() instead of commented-out SAL_DEBUG() for now

Less hassle when committing, as even a commented-out SAL_DEBUG()
triggers the commit hook to complain.

Change-Id: I8cab87f204622624602fde3543630f073a558069

diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index 06f33f9..6a5bda0 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -1775,7 +1775,7 @@ void ViewShell::PaintTile(OutputDevice *pOut, const 
Rectangle rRect)
 extern C
 void touch_lo_draw_tile(void *context, int contextWidth, int contextHeight, 
MLODpxPoint tileDpxPosition, MLODpxSize tileDpxSize)
 {
-// SAL_DEBUG(touch_lo_draw_tile(  contextWidth  ,   
contextHeight  , (  tileDpxPosition.x  ,  tileDpxPosition.y  ), 
  tileDpxSize.width  x  tileDpxSize.height  ));
+SAL_INFO(sw, touch_lo_draw_tile(  contextWidth  ,   
contextHeight  , (  tileDpxPosition.x  ,  tileDpxPosition.y  ), 
  tileDpxSize.width  x  tileDpxSize.height  ));
 MLORipPoint tileRipPosition = MLORipPointByDpxPoint(tileDpxPosition);
 MLORipSize rileRipSize = MLORipSizeByDpxSize(tileDpxSize);
 MLORip tileRipPosX = tileRipPosition.x;
@@ -1814,11 +1814,11 @@ void touch_lo_draw_tile(void *context, int 
contextWidth, int contextHeight, MLOD
 static bool bCallSetSwVisArea = getenv(CALLSETSWVISAREA) != NULL;
 if (bCallSetSwVisArea)
 {
-// SwRect foo = pViewShell-VisArea();
-// SAL_DEBUG(old VisArea:   foo);
+SwRect foo = pViewShell-VisArea();
+SAL_INFO(sw, old VisArea:   foo);
 SetSwVisArea( pViewShell, SwRect(Point(tilePosX, tilePosY), 
Size(tileWidth, tileHeight)) );
-// foo = pViewShell-VisArea();
-// SAL_DEBUG(new VisArea:   foo);
+foo = pViewShell-VisArea();
+SAL_INFO(sw, new VisArea:   foo);
 }
 // resizes the virtual device so to contain the entrie context
 aDevice.SetOutputSizePixel(Size(contextWidth, contextHeight));
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-11-03 Thread Julien Nabet
 cui/source/tabpages/backgrnd.cxx   |2 +-
 sd/source/ui/remotecontrol/AvahiNetworkService.cxx |   11 +++
 sfx2/source/toolbox/tbxitem.cxx|4 ++--
 3 files changed, 10 insertions(+), 7 deletions(-)

New commits:
commit c7349a21fff996ddee5977941a5e73669dc77bb2
Author: Julien Nabet serval2...@yahoo.fr
Date:   Sun Nov 3 22:41:44 2013 +0100

cppcheck: Clarify expression with parenthesis

boolean result used in bitwise operation

Change-Id: I581b681a6f3ba682c7b743928d1b6f397ecf960c

diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx
index cd82984..e1e598d 100644
--- a/cui/source/tabpages/backgrnd.cxx
+++ b/cui/source/tabpages/backgrnd.cxx
@@ -1243,7 +1243,7 @@ void SvxBackgroundTabPage::ShowBitmapUI_Impl()
 m_pBitmapContainer-Show();
 
 m_pFileFrame-Show();
-m_pBtnLink-Show(!bLinkOnly  ! nHtmlMode  HTMLMODE_ON);
+m_pBtnLink-Show(!bLinkOnly  !(nHtmlMode  HTMLMODE_ON));
 
 m_pTypeFrame-Show();
 
commit 465f876f35fcdbf773523a216c0025a29b784c0c
Author: Julien Nabet serval2...@yahoo.fr
Date:   Sun Nov 3 22:28:17 2013 +0100

cppcheck: reduce scope in AvahiNetworkService

Change-Id: Ida14cc278187fdc7519137829a920273ed4910b3

diff --git a/sd/source/ui/remotecontrol/AvahiNetworkService.cxx 
b/sd/source/ui/remotecontrol/AvahiNetworkService.cxx
index 34b94a3..04d8e57 100644
--- a/sd/source/ui/remotecontrol/AvahiNetworkService.cxx
+++ b/sd/source/ui/remotecontrol/AvahiNetworkService.cxx
@@ -79,8 +79,6 @@ static void entry_group_callback(AvahiEntryGroup *g, 
AvahiEntryGroupState state,
 }
 
 static void create_services(AvahiClient *c) {
-char *n, r[128];
-int ret;
 assert(c);
 
 /* If this is the first time we're called, let's create a new
@@ -97,13 +95,18 @@ static void create_services(AvahiClient *c) {
 
 if (avahi_entry_group_is_empty(group)) {
 fprintf(stderr, Adding service '%s'\n, 
avahiService-getName().c_str());
+char r[128];
 snprintf(r, sizeof(r), random=%i, rand());
-if ((ret = avahi_entry_group_add_service(group, AVAHI_IF_UNSPEC, 
AVAHI_PROTO_UNSPEC, static_castAvahiPublishFlags(0), 
avahiService-getName().c_str(), kREG_TYPE, NULL, NULL, 1599, local, r, 
NULL))  0) {
+int ret = avahi_entry_group_add_service(
+group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 
static_castAvahiPublishFlags(0),
+avahiService-getName().c_str(), kREG_TYPE, NULL, NULL, 1599, 
local, r, NULL
+);
+if (ret  0) {
 
 if (ret == AVAHI_ERR_COLLISION){
 /* A service name collision with a local service happened. 
Let's
  * pick a new name */
-n = 
avahi_alternative_service_name(avahiService-getName().c_str());
+char *n = 
avahi_alternative_service_name(avahiService-getName().c_str());
 avahiService-setName(n);
 
 fprintf(stderr, Service name collision, renaming service to 
'%s'\n, avahiService-getName().c_str());
commit 8378d3a7da3de3459870f10612e75f11915aa023
Author: Julien Nabet serval2...@yahoo.fr
Date:   Sun Nov 3 22:03:47 2013 +0100

cppcheck: Reduce scope

Change-Id: I341c2b7112f32a0ab0e1a6dfac0ab4679310202c

diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx
index 1ac1784..f712e14 100644
--- a/sfx2/source/toolbox/tbxitem.cxx
+++ b/sfx2/source/toolbox/tbxitem.cxx
@@ -313,7 +313,6 @@ SfxToolBoxControl* SfxToolBoxControl::CreateControl( 
sal_uInt16 nSlotId, sal_uIn
 {
 SolarMutexGuard aGuard;
 
-SfxToolBoxControl *pCtrl;
 SfxApplication *pApp = SFX_APP();
 
 SfxSlotPool *pSlotPool;
@@ -324,6 +323,7 @@ SfxToolBoxControl* SfxToolBoxControl::CreateControl( 
sal_uInt16 nSlotId, sal_uIn
 TypeId aSlotType = pSlotPool-GetSlotType( nSlotId );
 if ( aSlotType )
 {
+SfxToolBoxControl *pCtrl;
 if ( pMod )
 {
 SfxTbxCtrlFactArr_Impl *pFactories = 
pMod-GetTbxCtrlFactories_Impl();
@@ -841,7 +841,6 @@ void SfxToolBoxControl::createAndPositionSubToolBar( const 
OUString rSubToolBar
 }
 pImpl-mxUIElement = xUIElement;
 
-Window*  pParentTbxWindow( pImpl-pBox );
 Window*  pTbxWindow = VCLUnoHelper::GetWindow( xSubToolBar );
 ToolBox* pToolBar( 0 );
 if ( pTbxWindow  pTbxWindow-GetType() == WINDOW_TOOLBOX )
@@ -849,6 +848,7 @@ void SfxToolBoxControl::createAndPositionSubToolBar( const 
OUString rSubToolBar
 
 if ( pToolBar )
 {
+Window*  pParentTbxWindow( pImpl-pBox );
 pToolBar-SetParent( pParentTbxWindow );
 ::Size aSize = getPersistentFloatingSize( xFrame, 
rSubToolBarResName );
 if ( aSize.Width() == 0 || aSize.Height() == 0 )
___
Libreoffice-commits 

About assignment operators cppcheck warning

2013-11-03 Thread julien2412
Hello,

Cppcheck reported some cases like this:
const Player operator=( const Player other );--- 'Player::operator='
should return 'Player '.

see http://dev-builds.libreoffice.org/cppcheck_reports/master/3.html#line-36

Here is the explanation about this choice from cppcheck guys:
https://sourceforge.net/apps/trac/cppcheck/wiki/QuestionsAndAnswers

Do you think we should apply this? Or perhaps there's no general rule?

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/About-assignment-operators-cppcheck-warning-tp4081208.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2013-11-03 Thread Julien Nabet
 svx/source/dialog/ctredlin.cxx |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 7c19dd02d9241e06ecfeeb9ba4ab2971cba7ef43
Author: Julien Nabet serval2...@yahoo.fr
Date:   Sun Nov 3 22:59:37 2013 +0100

cppcheck: reduce scope in ctredlin.cxx

Change-Id: I7bdbea6bfadf0f2ce5e3ecb4803929797ebf7af2

diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx
index 254dad6..fe3bd4d 100644
--- a/svx/source/dialog/ctredlin.cxx
+++ b/svx/source/dialog/ctredlin.cxx
@@ -358,13 +358,12 @@ SvTreeListEntry* SvxRedlinTable::CreateEntry() const
 void SvxRedlinTable::InitEntry(SvTreeListEntry* pEntry, const OUString rStr,
 const Image rColl, const Image rExp, SvLBoxButtonKind eButtonKind)
 {
-SvLBoxButton* pButton;
 SvLBoxString* pString;
 SvLBoxContextBmp* pContextBmp;
 
 if( nTreeFlags  TREEFLAG_CHKBTN )
 {
-pButton= new SvLBoxButton( pEntry,eButtonKind,0,pCheckButtonData );
+SvLBoxButton* pButton= new SvLBoxButton( 
pEntry,eButtonKind,0,pCheckButtonData );
 pEntry-AddItem( pButton );
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'feature/tiledrendering' - 2 commits - ios/shared sw/source

2013-11-03 Thread Tor Lillqvist
 
ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTile.m
 |4 ++--
 sw/source/core/view/viewsh.cxx 
 |   10 +++---
 2 files changed, 9 insertions(+), 5 deletions(-)

New commits:
commit b0ec4330653aaa6ec0cb3425e1b869cad8a69a44
Author: Tor Lillqvist t...@collabora.com
Date:   Mon Nov 4 01:16:24 2013 +0200

Make the use of tileWidth/Height in the call to PaintTile() optional

It seems to work better to use contextWidth/Height here, too,
converted to logical units. The code apparently will never render more
than what has been passed earlier to SetOutputSizePixel() anyway. Or
something.

Change-Id: I69ff4f3c9a61391882e5d530140903786bb4a16b

diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index ac88413..a46291b 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -1798,6 +1798,9 @@ void touch_lo_draw_tile(void *context, int contextWidth, 
int contextHeight, MLOD
 Application::AcquireSolarMutex(1);
 if (pViewShell)
 {
+static bool bUseTileSize = getenv(USETILESIZE) != NULL;
+static bool bCallSetScale = bUseTileSize  (getenv(CALLSETSCALE) != 
NULL);
+static bool bCallSetSwVisArea = bUseTileSize  
getenv(CALLSETSWVISAREA) != NULL;
 // TODO create a VirtualDevice based on SystemGraphicsData instead so
 // that we get direct rendering; something like:
 //
@@ -1805,7 +1808,6 @@ void touch_lo_draw_tile(void *context, int contextWidth, 
int contextHeight, MLOD
 MapMode aMapMode(aDevice.GetMapMode());
 aMapMode.SetMapUnit(MAP_TWIP);
 aMapMode.SetOrigin(Point(-tilePosX, -tilePosY));
-static bool bCallSetScale = getenv(CALLSETSCALE) != NULL;
 if (bCallSetScale)
 {
 // scaling
@@ -1815,7 +1817,6 @@ void touch_lo_draw_tile(void *context, int contextWidth, 
int contextHeight, MLOD
 aMapMode.SetScaleY(scaleY);
 }
 aDevice.SetMapMode(aMapMode);
-static bool bCallSetSwVisArea = getenv(CALLSETSWVISAREA) != NULL;
 if (bCallSetSwVisArea)
 {
 SwRect foo = pViewShell-VisArea();
@@ -1827,7 +1828,10 @@ void touch_lo_draw_tile(void *context, int contextWidth, 
int contextHeight, MLOD
 // resizes the virtual device so to contain the entrie context
 aDevice.SetOutputSizePixel(Size(contextWidth, contextHeight));
 // draw - works in logic coordinates
-pViewShell-PaintTile(aDevice, Rectangle(Point(tilePosX, tilePosY), 
Size(tileWidth, tileHeight)));
+if (bUseTileSize)
+pViewShell-PaintTile(aDevice, Rectangle(Point(tilePosX, 
tilePosY), Size(tileWidth, tileHeight)));
+else
+pViewShell-PaintTile(aDevice, Rectangle(Point(tilePosX, 
tilePosY), aDevice.PixelToLogic(Size(contextWidth, contextHeight;
 // copy the aDevice content to mpImage
 Bitmap aBitmap(aDevice.GetBitmap(aDevice.PixelToLogic(Point(0,0)), 
aDevice.PixelToLogic(Size(contextWidth, contextHeight;
 BitmapReadAccess * readAccess = aBitmap.AcquireReadAccess();
commit 30d92c5ddea2df08fe15218684b7215f0ebd2bbd
Author: Tor Lillqvist t...@collabora.com
Date:   Mon Nov 4 01:00:31 2013 +0200

Keep tile top-left corner fixed, don't center it

Makes it easier to see what happens when the parameters are tweaked.

Change-Id: Ia69c0de74ccf3fcc8a5095a7cc62c6b4185cf9d6

diff --git 
a/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTile.m
 
b/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTile.m
index f8fcadb..1b25648 100644
--- 
a/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTile.m
+++ 
b/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTile.m
@@ -31,8 +31,8 @@
 }
 
 +(CGRect)resized:(MLOAppRoleTileTester *)tester{
-return CGRectMake(  (tester.renderer.view.frame.size.width 
-tester.params.contextWidth)/2.0f,
-(tester.renderer.view.frame.size.height 
-tester.params.contextHeight)/2.0f,
+return CGRectMake(  10,
+10,
 tester.params.contextWidth,
 tester.params.contextHeight);
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'feature/calc-group-interpreter-4' - 3 commits - sc/qa sc/source

2013-11-03 Thread Ray
 sc/qa/unit/data/xls/opencl/financial/PPMT.xls |binary
 sc/qa/unit/opencl-test.cxx|   25 ++
 sc/source/core/opencl/op_financial.cxx|  218 --
 3 files changed, 159 insertions(+), 84 deletions(-)

New commits:
commit c7192f7a44719cebdfed63388ec52de0b590e538
Author: I-Jui (Ray) Sung r...@multicorewareinc.com
Date:   Sun Nov 3 22:24:38 2013 -0600

GPU Calc: fixed compiler warnings

Change-Id: I9f8af5827340de24a45c9230c6ce2ec186ba8cc6

diff --git a/sc/source/core/opencl/op_financial.cxx 
b/sc/source/core/opencl/op_financial.cxx
index c8eee29..329dd77 100644
--- a/sc/source/core/opencl/op_financial.cxx
+++ b/sc/source/core/opencl/op_financial.cxx
@@ -2089,7 +2089,6 @@ void OpPMT::GenSlidingWindowFunction(std::stringstream 
ss,
  ssdouble tmp2=0;\n;
  ssdouble tmp3=0;\n;
  ssdouble tmp4=0,tmp5=0;\n;
- unsigned i = vSubArguments.size();
  size_t nItems = 0;
  ss \n;
  //while (i--  1)
commit deace104a633b8294839961fa7c35a4ba1b4f619
Author: mulei mu...@multicorewareinc.com
Date:   Mon Nov 4 10:19:30 2013 +0800

GPU Calc: implement NAN argument handling in PPMT

AMLOEXT-119 FIX

Change-Id: I43dcd08ff846a4008f13c9d02a69478898363131
Signed-off-by: haochen haoc...@multicorewareinc.com
Signed-off-by: I-Jui (Ray) Sung r...@multicorewareinc.com

diff --git a/sc/source/core/opencl/op_financial.cxx 
b/sc/source/core/opencl/op_financial.cxx
index f2ae100..c8eee29 100644
--- a/sc/source/core/opencl/op_financial.cxx
+++ b/sc/source/core/opencl/op_financial.cxx
@@ -2069,89 +2069,142 @@ void OpPMT::GenSlidingWindowFunction(std::stringstream 
ss,
 funs.insert(GetZw);
 }
 
-void OpPPMT::GenSlidingWindowFunction(std::stringstream ss,
-const std::string sSymName, SubArguments vSubArguments)
-{
-ArgVector argVector;
-ss  \ndouble   sSymName;
-ss  _ BinFuncName() (;
-for (unsigned i = 0; i  vSubArguments.size(); i++)
-{
-if (i)
-ss  ,;
-vSubArguments[i]-GenSlidingWindowDecl(ss);
-argVector.push_back(vSubArguments[i]-GenSlidingWindowDeclRef());
-}
-ss  ) {\n\t;
-ss  int gid0 = get_global_id(0);\n\t;
-ssdouble tFv=0,tType=0;\n\t;
-if(vSubArguments.size()==5)
-sstFv=vSubArguments[4]-GenSlidingWindowDeclRef();\n\t;
-else if(vSubArguments.size()==6)
-{
-sstType=vSubArguments[5]-GenSlidingWindowDeclRef();
-ss;\n\t;
-sstFv=vSubArguments[4]-GenSlidingWindowDeclRef();
-ss;\n\t;
-}
-ss  double tmp = 0.0;\n\t;
-ss double pmt ;\n\t;
-ssif(vSubArguments[0]-GenSlidingWindowDeclRef()==0.0)\n\t;
-ss\treturn (vSubArguments[3]-GenSlidingWindowDeclRef();
-ss+tFv)/;
-ssvSubArguments[2]-GenSlidingWindowDeclRef();\n\t;
-ss double temp1=0;\n\t;
-ss double abl = pow(1.0+;
-ss vSubArguments[0]-GenSlidingWindowDeclRef();
-ss,;
-ss vSubArguments[2]-GenSlidingWindowDeclRef();
-ss);\n\t;
-ss temp1-=tFv;
-ss;\n\t;
-sstemp1-=;
-ssvSubArguments[3]-GenSlidingWindowDeclRef();
-ss*abl;\n\t;
-ss pmt = temp1/(1.0+;
-ssvSubArguments[0]-GenSlidingWindowDeclRef();
-ss*tType;
-ss) / ( (abl-1.0)/;
-ssvSubArguments[0]-GenSlidingWindowDeclRef();
-ss);\n\t;
-ss double temp = pow( 1+;
-ssvSubArguments[0]-GenSlidingWindowDeclRef();
-ss ,;
-ssvSubArguments[1]-GenSlidingWindowDeclRef();
-ss-2);\n\t;
-ss double re;\n\t;
-ss if (tType;
-ss == 0)\n\t;
-ss {\n\t;
-ss re = -;
-ssvSubArguments[0]-GenSlidingWindowDeclRef();
-ss * ;
-ssvSubArguments[3]-GenSlidingWindowDeclRef();
-ss*pow(1+;
-ssvSubArguments[0]-GenSlidingWindowDeclRef();
-ss ,;
-vSubArguments[1]-GenSlidingWindowDeclRef();
-ss-1) - pmt * (pow(1+;
-ssvSubArguments[0]-GenSlidingWindowDeclRef();
-ss ,;
-ssvSubArguments[1]-GenSlidingWindowDeclRef();
-ss-1)-1);\n\t;
-ss }\n\t;
-ss else\n\t;
-ss {\n\t;
-ss re = -;
-ssvSubArguments[0]-GenSlidingWindowDeclRef();
-ss * (;
-ssvSubArguments[3]-GenSlidingWindowDeclRef();
-ss + pmt)* temp - pmt * (temp-1);\n\t;
-ss }\n\t;
-ss tmp = pmt - re;\n\t;
-ss  return tmp;\n;
-ss  };
-}
+ void OpPPMT::GenSlidingWindowFunction(std::stringstream ss,
+ const std::string sSymName, SubArguments vSubArguments)
+ {
+ ArgVector argVector;
+ ss  \ndouble   sSymName;
+ ss  _ BinFuncName() (;
+ for (unsigned i = 0; i  vSubArguments.size(); i++)
+ {
+ if (i)
+ ss  , ;
+ vSubArguments[i]-GenSlidingWindowDecl(ss);
+ }
+ ss  ) {\n;
+ ss  double tmp = 0;\n;
+ ss  int gid0 = get_global_id(0);\n;
+ ssdouble tmp0=0;\n;
+ ssdouble tmp1=0;\n;
+ ssdouble tmp2=0;\n;
+ ssdouble tmp3=0;\n;
+ ssdouble tmp4=0,tmp5=0;\n;
+ unsigned i = vSubArguments.size();
+ size_t nItems = 0;
+ ss \n

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

2013-11-03 Thread Ray
 sc/qa/unit/data/xls/opencl/financial/PPMT.xls |binary
 sc/qa/unit/opencl-test.cxx|   25 ++
 sc/source/core/opencl/op_financial.cxx|  218 --
 3 files changed, 159 insertions(+), 84 deletions(-)

New commits:
commit 3c9042ad3db8064af2ccd5171385ee1aaf59d9cf
Author: I-Jui (Ray) Sung r...@multicorewareinc.com
Date:   Sun Nov 3 22:24:38 2013 -0600

GPU Calc: fixed compiler warnings

Change-Id: I9f8af5827340de24a45c9230c6ce2ec186ba8cc6

diff --git a/sc/source/core/opencl/op_financial.cxx 
b/sc/source/core/opencl/op_financial.cxx
index c8eee29..329dd77 100644
--- a/sc/source/core/opencl/op_financial.cxx
+++ b/sc/source/core/opencl/op_financial.cxx
@@ -2089,7 +2089,6 @@ void OpPMT::GenSlidingWindowFunction(std::stringstream 
ss,
  ssdouble tmp2=0;\n;
  ssdouble tmp3=0;\n;
  ssdouble tmp4=0,tmp5=0;\n;
- unsigned i = vSubArguments.size();
  size_t nItems = 0;
  ss \n;
  //while (i--  1)
commit acd9cdf4be3537893830ac221fa578bf1312002f
Author: mulei mu...@multicorewareinc.com
Date:   Mon Nov 4 10:19:30 2013 +0800

GPU Calc: implement NAN argument handling in PPMT

AMLOEXT-119 FIX

Change-Id: I43dcd08ff846a4008f13c9d02a69478898363131
Signed-off-by: haochen haoc...@multicorewareinc.com
Signed-off-by: I-Jui (Ray) Sung r...@multicorewareinc.com

diff --git a/sc/source/core/opencl/op_financial.cxx 
b/sc/source/core/opencl/op_financial.cxx
index f2ae100..c8eee29 100644
--- a/sc/source/core/opencl/op_financial.cxx
+++ b/sc/source/core/opencl/op_financial.cxx
@@ -2069,89 +2069,142 @@ void OpPMT::GenSlidingWindowFunction(std::stringstream 
ss,
 funs.insert(GetZw);
 }
 
-void OpPPMT::GenSlidingWindowFunction(std::stringstream ss,
-const std::string sSymName, SubArguments vSubArguments)
-{
-ArgVector argVector;
-ss  \ndouble   sSymName;
-ss  _ BinFuncName() (;
-for (unsigned i = 0; i  vSubArguments.size(); i++)
-{
-if (i)
-ss  ,;
-vSubArguments[i]-GenSlidingWindowDecl(ss);
-argVector.push_back(vSubArguments[i]-GenSlidingWindowDeclRef());
-}
-ss  ) {\n\t;
-ss  int gid0 = get_global_id(0);\n\t;
-ssdouble tFv=0,tType=0;\n\t;
-if(vSubArguments.size()==5)
-sstFv=vSubArguments[4]-GenSlidingWindowDeclRef();\n\t;
-else if(vSubArguments.size()==6)
-{
-sstType=vSubArguments[5]-GenSlidingWindowDeclRef();
-ss;\n\t;
-sstFv=vSubArguments[4]-GenSlidingWindowDeclRef();
-ss;\n\t;
-}
-ss  double tmp = 0.0;\n\t;
-ss double pmt ;\n\t;
-ssif(vSubArguments[0]-GenSlidingWindowDeclRef()==0.0)\n\t;
-ss\treturn (vSubArguments[3]-GenSlidingWindowDeclRef();
-ss+tFv)/;
-ssvSubArguments[2]-GenSlidingWindowDeclRef();\n\t;
-ss double temp1=0;\n\t;
-ss double abl = pow(1.0+;
-ss vSubArguments[0]-GenSlidingWindowDeclRef();
-ss,;
-ss vSubArguments[2]-GenSlidingWindowDeclRef();
-ss);\n\t;
-ss temp1-=tFv;
-ss;\n\t;
-sstemp1-=;
-ssvSubArguments[3]-GenSlidingWindowDeclRef();
-ss*abl;\n\t;
-ss pmt = temp1/(1.0+;
-ssvSubArguments[0]-GenSlidingWindowDeclRef();
-ss*tType;
-ss) / ( (abl-1.0)/;
-ssvSubArguments[0]-GenSlidingWindowDeclRef();
-ss);\n\t;
-ss double temp = pow( 1+;
-ssvSubArguments[0]-GenSlidingWindowDeclRef();
-ss ,;
-ssvSubArguments[1]-GenSlidingWindowDeclRef();
-ss-2);\n\t;
-ss double re;\n\t;
-ss if (tType;
-ss == 0)\n\t;
-ss {\n\t;
-ss re = -;
-ssvSubArguments[0]-GenSlidingWindowDeclRef();
-ss * ;
-ssvSubArguments[3]-GenSlidingWindowDeclRef();
-ss*pow(1+;
-ssvSubArguments[0]-GenSlidingWindowDeclRef();
-ss ,;
-vSubArguments[1]-GenSlidingWindowDeclRef();
-ss-1) - pmt * (pow(1+;
-ssvSubArguments[0]-GenSlidingWindowDeclRef();
-ss ,;
-ssvSubArguments[1]-GenSlidingWindowDeclRef();
-ss-1)-1);\n\t;
-ss }\n\t;
-ss else\n\t;
-ss {\n\t;
-ss re = -;
-ssvSubArguments[0]-GenSlidingWindowDeclRef();
-ss * (;
-ssvSubArguments[3]-GenSlidingWindowDeclRef();
-ss + pmt)* temp - pmt * (temp-1);\n\t;
-ss }\n\t;
-ss tmp = pmt - re;\n\t;
-ss  return tmp;\n;
-ss  };
-}
+ void OpPPMT::GenSlidingWindowFunction(std::stringstream ss,
+ const std::string sSymName, SubArguments vSubArguments)
+ {
+ ArgVector argVector;
+ ss  \ndouble   sSymName;
+ ss  _ BinFuncName() (;
+ for (unsigned i = 0; i  vSubArguments.size(); i++)
+ {
+ if (i)
+ ss  , ;
+ vSubArguments[i]-GenSlidingWindowDecl(ss);
+ }
+ ss  ) {\n;
+ ss  double tmp = 0;\n;
+ ss  int gid0 = get_global_id(0);\n;
+ ssdouble tmp0=0;\n;
+ ssdouble tmp1=0;\n;
+ ssdouble tmp2=0;\n;
+ ssdouble tmp3=0;\n;
+ ssdouble tmp4=0,tmp5=0;\n;
+ unsigned i = vSubArguments.size();
+ size_t nItems = 0;
+ ss \n

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

2013-11-03 Thread xinjiang
 sc/qa/unit/data/xls/opencl/financial/ISPMT.xls |binary
 sc/qa/unit/opencl-test.cxx |   24 +
 sc/source/core/opencl/formulagroupcl.cxx   |3 +
 sc/source/core/opencl/op_financial.cxx |   45 +
 sc/source/core/opencl/op_financial.hxx |   11 ++
 sc/source/core/tool/token.cxx  |1 
 6 files changed, 84 insertions(+)

New commits:
commit 1c239f51064e30713ac87abd3697d73bc5e5bcc1
Author: xinjiang xinji...@multicorewareinc.com
Date:   Mon Nov 4 10:40:51 2013 +0800

GPU Calc: implemented ISPMT in GPU calc

AMLOEXT-99 FIX

Change-Id: I8cd9f130c190e6925873a00579cb7c334201f418
Signed-off-by: haochen haoc...@multicorewareinc.com
Signed-off-by: I-Jui (Ray) Sung r...@multicorewareinc.com

diff --git a/sc/source/core/opencl/formulagroupcl.cxx 
b/sc/source/core/opencl/formulagroupcl.cxx
index d4dada6..9610a4a 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -1013,6 +1013,9 @@ DynamicKernelSoPArguments::DynamicKernelSoPArguments(
 case ocCosecant:
 mvSubArguments.push_back(SoPHelper(ts, ft-Children[i], new 
OpCsc));
 break;
+case ocISPMT:
+mvSubArguments.push_back(SoPHelper(ts, ft-Children[i], new 
OpISPMT));
+break;
 case ocExternal:
 if ( !(pChild-GetExternal().compareTo(OUString(
 com.sun.star.sheet.addin.Analysis.getEffect
diff --git a/sc/source/core/opencl/op_financial.cxx 
b/sc/source/core/opencl/op_financial.cxx
index 329dd77..503087b 100644
--- a/sc/source/core/opencl/op_financial.cxx
+++ b/sc/source/core/opencl/op_financial.cxx
@@ -487,6 +487,51 @@ void OpINTRATE::GenSlidingWindowFunction(
 ss  };
 }
 
+void OpISPMT::GenSlidingWindowFunction(std::stringstream ss,
+const std::string sSymName, SubArguments vSubArguments)
+{
+ss  \ndouble   sSymName;
+ss  _ BinFuncName() (;
+for (unsigned i = 0; i  vSubArguments.size(); i++)
+{
+if (i)
+ss  ,;
+vSubArguments[i]-GenSlidingWindowDecl(ss);
+}
+ss  ) {\n;
+ss  double tmp =   GetBottom()  ;\n;
+ss  int gid0 = get_global_id(0);\n;
+ss  double arg0 =   GetBottom()  ;\n;
+ss  double arg1 =   GetBottom()  ;\n;
+ss  double arg2 =   GetBottom()  ;\n;
+ss  double arg3 =   GetBottom()  ;\n;
+unsigned i = vSubArguments.size();
+while (i--)
+{
+FormulaToken* pCur = vSubArguments[i]-GetFormulaToken();
+assert(pCur);
+if(pCur-GetType() == formula::svSingleVectorRef)
+{
+#ifdef  ISNAN
+const formula::SingleVectorRefToken* pSVR =
+dynamic_cast const formula::SingleVectorRefToken* (pCur);
+ss  if(gid0 =   pSVR-GetArrayLength()   || isNan(;
+ss  vSubArguments[i]-GenSlidingWindowDeclRef();
+ss  ))\n;
+ss  arg  i   =  GetBottom()  ;\n;
+ss  else\n;
+#endif
+ss  arg  i   = ;
+ss  vSubArguments[i]-GenSlidingWindowDeclRef();
+ss  ;\n;
+}
+}
+ss  tmp = arg3 * arg0 * ( arg1 / arg2 - 1.0);\n;
+ss  return tmp;\n;
+ss  };
+}
+
+
 void Fvschedule::GenSlidingWindowFunction(
 std::stringstream ss, const std::string sSymName, SubArguments 
vSubArguments)
 {
diff --git a/sc/source/core/opencl/op_financial.hxx 
b/sc/source/core/opencl/op_financial.hxx
index 7a79dde..6add67f 100644
--- a/sc/source/core/opencl/op_financial.hxx
+++ b/sc/source/core/opencl/op_financial.hxx
@@ -86,6 +86,17 @@ public:
 virtual std::string BinFuncName(void) const { return INTRATE; }
 };
 
+class OpISPMT: public Normal
+{
+public:
+virtual std::string GetBottom(void) { return 0; }
+
+virtual void GenSlidingWindowFunction(std::stringstream ss,
+const std::string sSymName, SubArguments vSubArguments);
+
+virtual std::string BinFuncName(void) const { return ISPMT; }
+};
+
 class Fvschedule: public Normal
 {
 public:
commit 12a86d12e9be04b5ce3df946e6c7b5a065533cbd
Author: xinjiang xinji...@multicorewareinc.com
Date:   Mon Nov 4 10:36:28 2013 +0800

GPU Calc: unit test cases for ISPMT in GPU calc

AMLOEXT-99 BUG

Change-Id: I4388b184b23cf616dacfb20c61d2295765925ede
Signed-off-by: haochen haoc...@multicorewareinc.com
Signed-off-by: I-Jui (Ray) Sung r...@multicorewareinc.com

diff --git a/sc/qa/unit/data/xls/opencl/financial/ISPMT.xls 
b/sc/qa/unit/data/xls/opencl/financial/ISPMT.xls
new file mode 100644
index 000..8759e7e
Binary files /dev/null and b/sc/qa/unit/data/xls/opencl/financial/ISPMT.xls 
differ
diff --git a/sc/qa/unit/opencl-test.cxx b/sc/qa/unit/opencl-test.cxx
index c8cf326..dd626cd 100644
--- 

[Libreoffice-commits] core.git: Branch 'feature/calc-group-interpreter-4' - 2 commits - sc/qa sc/source

2013-11-03 Thread xinjiang
 sc/qa/unit/data/xls/opencl/financial/ISPMT.xls |binary
 sc/qa/unit/opencl-test.cxx |   24 +
 sc/source/core/opencl/formulagroupcl.cxx   |3 +
 sc/source/core/opencl/op_financial.cxx |   45 +
 sc/source/core/opencl/op_financial.hxx |   11 ++
 sc/source/core/tool/token.cxx  |1 
 6 files changed, 84 insertions(+)

New commits:
commit 2cfd2307ac641f251dc3276f12b32b5a617cef24
Author: xinjiang xinji...@multicorewareinc.com
Date:   Mon Nov 4 10:40:51 2013 +0800

GPU Calc: implemented ISPMT in GPU calc

AMLOEXT-99 FIX

Change-Id: I8cd9f130c190e6925873a00579cb7c334201f418
Signed-off-by: haochen haoc...@multicorewareinc.com
Signed-off-by: I-Jui (Ray) Sung r...@multicorewareinc.com

diff --git a/sc/source/core/opencl/formulagroupcl.cxx 
b/sc/source/core/opencl/formulagroupcl.cxx
index b4bb0f9..b47e192 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -1013,6 +1013,9 @@ DynamicKernelSoPArguments::DynamicKernelSoPArguments(
 case ocCosecant:
 mvSubArguments.push_back(SoPHelper(ts, ft-Children[i], new 
OpCsc));
 break;
+case ocISPMT:
+mvSubArguments.push_back(SoPHelper(ts, ft-Children[i], new 
OpISPMT));
+break;
 case ocExternal:
 if ( !(pChild-GetExternal().compareTo(OUString(
 com.sun.star.sheet.addin.Analysis.getEffect
diff --git a/sc/source/core/opencl/op_financial.cxx 
b/sc/source/core/opencl/op_financial.cxx
index 329dd77..503087b 100644
--- a/sc/source/core/opencl/op_financial.cxx
+++ b/sc/source/core/opencl/op_financial.cxx
@@ -487,6 +487,51 @@ void OpINTRATE::GenSlidingWindowFunction(
 ss  };
 }
 
+void OpISPMT::GenSlidingWindowFunction(std::stringstream ss,
+const std::string sSymName, SubArguments vSubArguments)
+{
+ss  \ndouble   sSymName;
+ss  _ BinFuncName() (;
+for (unsigned i = 0; i  vSubArguments.size(); i++)
+{
+if (i)
+ss  ,;
+vSubArguments[i]-GenSlidingWindowDecl(ss);
+}
+ss  ) {\n;
+ss  double tmp =   GetBottom()  ;\n;
+ss  int gid0 = get_global_id(0);\n;
+ss  double arg0 =   GetBottom()  ;\n;
+ss  double arg1 =   GetBottom()  ;\n;
+ss  double arg2 =   GetBottom()  ;\n;
+ss  double arg3 =   GetBottom()  ;\n;
+unsigned i = vSubArguments.size();
+while (i--)
+{
+FormulaToken* pCur = vSubArguments[i]-GetFormulaToken();
+assert(pCur);
+if(pCur-GetType() == formula::svSingleVectorRef)
+{
+#ifdef  ISNAN
+const formula::SingleVectorRefToken* pSVR =
+dynamic_cast const formula::SingleVectorRefToken* (pCur);
+ss  if(gid0 =   pSVR-GetArrayLength()   || isNan(;
+ss  vSubArguments[i]-GenSlidingWindowDeclRef();
+ss  ))\n;
+ss  arg  i   =  GetBottom()  ;\n;
+ss  else\n;
+#endif
+ss  arg  i   = ;
+ss  vSubArguments[i]-GenSlidingWindowDeclRef();
+ss  ;\n;
+}
+}
+ss  tmp = arg3 * arg0 * ( arg1 / arg2 - 1.0);\n;
+ss  return tmp;\n;
+ss  };
+}
+
+
 void Fvschedule::GenSlidingWindowFunction(
 std::stringstream ss, const std::string sSymName, SubArguments 
vSubArguments)
 {
diff --git a/sc/source/core/opencl/op_financial.hxx 
b/sc/source/core/opencl/op_financial.hxx
index 7a79dde..6add67f 100644
--- a/sc/source/core/opencl/op_financial.hxx
+++ b/sc/source/core/opencl/op_financial.hxx
@@ -86,6 +86,17 @@ public:
 virtual std::string BinFuncName(void) const { return INTRATE; }
 };
 
+class OpISPMT: public Normal
+{
+public:
+virtual std::string GetBottom(void) { return 0; }
+
+virtual void GenSlidingWindowFunction(std::stringstream ss,
+const std::string sSymName, SubArguments vSubArguments);
+
+virtual std::string BinFuncName(void) const { return ISPMT; }
+};
+
 class Fvschedule: public Normal
 {
 public:
commit c7a6959004bcacc2d971b0697a57b08b7b3f9931
Author: xinjiang xinji...@multicorewareinc.com
Date:   Mon Nov 4 10:36:28 2013 +0800

GPU Calc: unit test cases for ISPMT in GPU calc

AMLOEXT-99 BUG

Change-Id: I4388b184b23cf616dacfb20c61d2295765925ede
Signed-off-by: haochen haoc...@multicorewareinc.com
Signed-off-by: I-Jui (Ray) Sung r...@multicorewareinc.com

diff --git a/sc/qa/unit/data/xls/opencl/financial/ISPMT.xls 
b/sc/qa/unit/data/xls/opencl/financial/ISPMT.xls
new file mode 100644
index 000..8759e7e
Binary files /dev/null and b/sc/qa/unit/data/xls/opencl/financial/ISPMT.xls 
differ
diff --git a/sc/qa/unit/opencl-test.cxx b/sc/qa/unit/opencl-test.cxx
index 043c99f..dd3630e 100644
--- 

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

2013-11-03 Thread Ray
 sc/qa/unit/data/xls/opencl/financial/Price.xls |binary
 sc/qa/unit/opencl-test.cxx |   25 +
 sc/source/core/opencl/formulagroupcl.cxx   |6 
 sc/source/core/opencl/op_financial.cxx |  371 +
 sc/source/core/opencl/op_financial.hxx |8 
 5 files changed, 294 insertions(+), 116 deletions(-)

New commits:
commit 0beb28ce1bec18b84402f2eb2f598c19f5c2
Author: I-Jui (Ray) Sung r...@multicorewareinc.com
Date:   Sun Nov 3 23:15:04 2013 -0600

GPU Calc: refactor op_financial.cxx to fix warning and bad indentation

Change-Id: I93db1e5d2b03904a3d7787cc16f642ebf4752d85

diff --git a/sc/source/core/opencl/op_financial.cxx 
b/sc/source/core/opencl/op_financial.cxx
index fb6610e..f9f1fa6 100644
--- a/sc/source/core/opencl/op_financial.cxx
+++ b/sc/source/core/opencl/op_financial.cxx
@@ -2155,241 +2155,239 @@ void 
OpPrice::GenSlidingWindowFunction(std::stringstream ss,
 ssdouble tmp3=0;\n;
 ssdouble tmp4=0,tmp5=0;\n;
 ssdouble tmp6=0;\n;
-unsigned i = vSubArguments.size();
 size_t nItems = 0;
 ss \n;
-//while (i--  1)
-   for (size_t i = 0; i  vSubArguments.size(); i++)
-   {
-   FormulaToken *pCur = vSubArguments[i]-GetFormulaToken();
-   assert(pCur);
-   if (pCur-GetType() == formula::svDoubleVectorRef)
-   {
-   const formula::DoubleVectorRefToken* pDVR =
-   dynamic_castconst formula::DoubleVectorRefToken *(pCur);
-   size_t nCurWindowSize = pDVR-GetRefRowSize();
-   ss  for (int i = ;
-   if (!pDVR-IsStartFixed()  pDVR-IsEndFixed()) {
+for (size_t i = 0; i  vSubArguments.size(); i++)
+{
+FormulaToken *pCur = vSubArguments[i]-GetFormulaToken();
+assert(pCur);
+if (pCur-GetType() == formula::svDoubleVectorRef)
+{
+const formula::DoubleVectorRefToken* pDVR =
+dynamic_castconst formula::DoubleVectorRefToken *(pCur);
+size_t nCurWindowSize = pDVR-GetRefRowSize();
+ss  for (int i = ;
+if (!pDVR-IsStartFixed()  pDVR-IsEndFixed()) {
 #ifdef  ISNAN
-   ss  gid0; ipDVR-GetArrayLength();
-   ssinCurWindowSize   ; i++){\n;
+ss  gid0; ipDVR-GetArrayLength();
+ssinCurWindowSize   ; i++){\n;
 #else
-   ss  gid0; i   nCurWindowSize  ; i++)\n;
+ss  gid0; i   nCurWindowSize  ; i++)\n;
 #endif
-   } else if (pDVR-IsStartFixed()  !pDVR-IsEndFixed()) {
+} else if (pDVR-IsStartFixed()  !pDVR-IsEndFixed()) {
 #ifdef  ISNAN
-   ss  0; ipDVR-GetArrayLength();
-   ssi  gid0+ nCurWindowSize  ; i++){\n;
+ss  0; ipDVR-GetArrayLength();
+ssi  gid0+ nCurWindowSize  ; i++){\n;
 #else
-   ss  0; i  gid0+ nCurWindowSize  ; i++)\n;
+ss  0; i  gid0+ nCurWindowSize  ; i++)\n;
 #endif
-   } else if (!pDVR-IsStartFixed()  !pDVR-IsEndFixed()){
+} else if (!pDVR-IsStartFixed()  !pDVR-IsEndFixed()){
 #ifdef  ISNAN
-   ss  0; i + gid0pDVR-GetArrayLength();
-   ss i   nCurWindowSize  ; i++){\n;
+ss  0; i + gid0pDVR-GetArrayLength();
+ss i   nCurWindowSize  ; i++){\n;
 #else
-   ss  0; i   nCurWindowSize  ; i++)\n;
+ss  0; i   nCurWindowSize  ; i++)\n;
 #endif
-   }
-   else {
+}
+else {
 #ifdef  ISNAN
-   ss  0; i   nCurWindowSize  ; i++){\n;
+ss  0; i   nCurWindowSize  ; i++){\n;
 #else
-   ss  0; i   nCurWindowSize  ; i++)\n;
+ss  0; i   nCurWindowSize  ; i++)\n;
 #endif
-   }
-   nItems += nCurWindowSize;
-   }
-   else if (pCur-GetType() == formula::svSingleVectorRef)
-   {
+}
+nItems += nCurWindowSize;
+}
+else if (pCur-GetType() == formula::svSingleVectorRef)
+{
 #ifdef  ISNAN
-   const formula::SingleVectorRefToken* pSVR =
-   dynamic_cast const formula::SingleVectorRefToken* (pCur);
-   ss  if (gid0pSVR-GetArrayLength()  ){\n;
+const formula::SingleVectorRefToken* pSVR =
+dynamic_cast const formula::SingleVectorRefToken* (pCur);
+ss  if (gid0pSVR-GetArrayLength()  ){\n;
 #else
-   nItems += 1;
+nItems += 1;
 #endif
-   }
-   else if (pCur-GetType() == formula::svDouble)
-   {
+}
+else if (pCur-GetType() == formula::svDouble)
+{
 #ifdef  ISNAN
-   ss  {\n;
+ss  {\n;
 #endif
-   nItems += 1;
-   }
-   else
-   {
+

[Libreoffice-commits] core.git: Branch 'feature/calc-group-interpreter-4' - 3 commits - sc/qa sc/source

2013-11-03 Thread Ray
 sc/qa/unit/data/xls/opencl/financial/Price.xls |binary
 sc/qa/unit/opencl-test.cxx |   25 +
 sc/source/core/opencl/formulagroupcl.cxx   |6 
 sc/source/core/opencl/op_financial.cxx |  371 +
 sc/source/core/opencl/op_financial.hxx |8 
 5 files changed, 294 insertions(+), 116 deletions(-)

New commits:
commit 1834860a3233a0af5f093d06dc631feefa5716d3
Author: I-Jui (Ray) Sung r...@multicorewareinc.com
Date:   Sun Nov 3 23:15:04 2013 -0600

GPU Calc: refactor op_financial.cxx to fix warning and bad indentation

Change-Id: I93db1e5d2b03904a3d7787cc16f642ebf4752d85

diff --git a/sc/source/core/opencl/op_financial.cxx 
b/sc/source/core/opencl/op_financial.cxx
index fb6610e..f9f1fa6 100644
--- a/sc/source/core/opencl/op_financial.cxx
+++ b/sc/source/core/opencl/op_financial.cxx
@@ -2155,241 +2155,239 @@ void 
OpPrice::GenSlidingWindowFunction(std::stringstream ss,
 ssdouble tmp3=0;\n;
 ssdouble tmp4=0,tmp5=0;\n;
 ssdouble tmp6=0;\n;
-unsigned i = vSubArguments.size();
 size_t nItems = 0;
 ss \n;
-//while (i--  1)
-   for (size_t i = 0; i  vSubArguments.size(); i++)
-   {
-   FormulaToken *pCur = vSubArguments[i]-GetFormulaToken();
-   assert(pCur);
-   if (pCur-GetType() == formula::svDoubleVectorRef)
-   {
-   const formula::DoubleVectorRefToken* pDVR =
-   dynamic_castconst formula::DoubleVectorRefToken *(pCur);
-   size_t nCurWindowSize = pDVR-GetRefRowSize();
-   ss  for (int i = ;
-   if (!pDVR-IsStartFixed()  pDVR-IsEndFixed()) {
+for (size_t i = 0; i  vSubArguments.size(); i++)
+{
+FormulaToken *pCur = vSubArguments[i]-GetFormulaToken();
+assert(pCur);
+if (pCur-GetType() == formula::svDoubleVectorRef)
+{
+const formula::DoubleVectorRefToken* pDVR =
+dynamic_castconst formula::DoubleVectorRefToken *(pCur);
+size_t nCurWindowSize = pDVR-GetRefRowSize();
+ss  for (int i = ;
+if (!pDVR-IsStartFixed()  pDVR-IsEndFixed()) {
 #ifdef  ISNAN
-   ss  gid0; ipDVR-GetArrayLength();
-   ssinCurWindowSize   ; i++){\n;
+ss  gid0; ipDVR-GetArrayLength();
+ssinCurWindowSize   ; i++){\n;
 #else
-   ss  gid0; i   nCurWindowSize  ; i++)\n;
+ss  gid0; i   nCurWindowSize  ; i++)\n;
 #endif
-   } else if (pDVR-IsStartFixed()  !pDVR-IsEndFixed()) {
+} else if (pDVR-IsStartFixed()  !pDVR-IsEndFixed()) {
 #ifdef  ISNAN
-   ss  0; ipDVR-GetArrayLength();
-   ssi  gid0+ nCurWindowSize  ; i++){\n;
+ss  0; ipDVR-GetArrayLength();
+ssi  gid0+ nCurWindowSize  ; i++){\n;
 #else
-   ss  0; i  gid0+ nCurWindowSize  ; i++)\n;
+ss  0; i  gid0+ nCurWindowSize  ; i++)\n;
 #endif
-   } else if (!pDVR-IsStartFixed()  !pDVR-IsEndFixed()){
+} else if (!pDVR-IsStartFixed()  !pDVR-IsEndFixed()){
 #ifdef  ISNAN
-   ss  0; i + gid0pDVR-GetArrayLength();
-   ss i   nCurWindowSize  ; i++){\n;
+ss  0; i + gid0pDVR-GetArrayLength();
+ss i   nCurWindowSize  ; i++){\n;
 #else
-   ss  0; i   nCurWindowSize  ; i++)\n;
+ss  0; i   nCurWindowSize  ; i++)\n;
 #endif
-   }
-   else {
+}
+else {
 #ifdef  ISNAN
-   ss  0; i   nCurWindowSize  ; i++){\n;
+ss  0; i   nCurWindowSize  ; i++){\n;
 #else
-   ss  0; i   nCurWindowSize  ; i++)\n;
+ss  0; i   nCurWindowSize  ; i++)\n;
 #endif
-   }
-   nItems += nCurWindowSize;
-   }
-   else if (pCur-GetType() == formula::svSingleVectorRef)
-   {
+}
+nItems += nCurWindowSize;
+}
+else if (pCur-GetType() == formula::svSingleVectorRef)
+{
 #ifdef  ISNAN
-   const formula::SingleVectorRefToken* pSVR =
-   dynamic_cast const formula::SingleVectorRefToken* (pCur);
-   ss  if (gid0pSVR-GetArrayLength()  ){\n;
+const formula::SingleVectorRefToken* pSVR =
+dynamic_cast const formula::SingleVectorRefToken* (pCur);
+ss  if (gid0pSVR-GetArrayLength()  ){\n;
 #else
-   nItems += 1;
+nItems += 1;
 #endif
-   }
-   else if (pCur-GetType() == formula::svDouble)
-   {
+}
+else if (pCur-GetType() == formula::svDouble)
+{
 #ifdef  ISNAN
-   ss  {\n;
+ss  {\n;
 #endif
-   nItems += 1;
-   }
-   else
-   {
+

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

2013-11-03 Thread xinjiang
 sc/qa/unit/data/ods/opencl/financial/Duration.ods |binary
 sc/qa/unit/opencl-test.cxx|   24 
 sc/source/core/opencl/formulagroupcl.cxx  |4 ++
 sc/source/core/opencl/op_financial.cxx|   42 ++
 sc/source/core/opencl/op_financial.hxx|   12 ++
 sc/source/core/tool/token.cxx |1 
 6 files changed, 83 insertions(+)

New commits:
commit 0644c59f1e2822c687ef0366f6c02b3b21a3f01a
Author: xinjiang xinji...@multicorewareinc.com
Date:   Mon Nov 4 11:18:04 2013 +0800

GPU Calc: implemented DURATION

AMLOEXT-111 FIX

Change-Id: I114e5b20326657f7fd3e0de7162a8ae190059b2a
Signed-off-by: haochen haoc...@multicorewareinc.com
Signed-off-by: I-Jui (Ray) Sung r...@multicorewareinc.com

diff --git a/sc/source/core/opencl/formulagroupcl.cxx 
b/sc/source/core/opencl/formulagroupcl.cxx
index ce3223e..24647bf 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -1016,6 +1016,10 @@ DynamicKernelSoPArguments::DynamicKernelSoPArguments(
 case ocISPMT:
 mvSubArguments.push_back(SoPHelper(ts, ft-Children[i], new 
OpISPMT));
 break;
+case ocLaufz:
+mvSubArguments.push_back(SoPHelper(ts,
+ ft-Children[i], new OpDuration));
+break;
 case ocExternal:
 if ( !(pChild-GetExternal().compareTo(OUString(
 com.sun.star.sheet.addin.Analysis.getEffect
diff --git a/sc/source/core/opencl/op_financial.cxx 
b/sc/source/core/opencl/op_financial.cxx
index f9f1fa6..a40a113 100644
--- a/sc/source/core/opencl/op_financial.cxx
+++ b/sc/source/core/opencl/op_financial.cxx
@@ -531,6 +531,48 @@ void OpISPMT::GenSlidingWindowFunction(std::stringstream 
ss,
 ss  };
 }
 
+void OpDuration::GenSlidingWindowFunction(std::stringstream ss,
+const std::string sSymName, SubArguments vSubArguments)
+{
+ss  \ndouble   sSymName;
+ss  _ BinFuncName() (;
+for (unsigned i = 0; i  vSubArguments.size(); i++)
+{
+if (i)
+ss  ,;
+vSubArguments[i]-GenSlidingWindowDecl(ss);
+}
+ss  ) {\n;
+ss  double tmp =   GetBottom()  ;\n;
+ss  int gid0 = get_global_id(0);\n;
+ss  double arg0 =   GetBottom()  ;\n;
+ss  double arg1 =   GetBottom()  ;\n;
+ss  double arg2 =   GetBottom()  ;\n;
+unsigned i = vSubArguments.size();
+while (i--)
+{
+FormulaToken* pCur = vSubArguments[i]-GetFormulaToken();
+assert(pCur);
+if(pCur-GetType() == formula::svSingleVectorRef)
+{
+#ifdef  ISNAN
+const formula::SingleVectorRefToken* pSVR =
+dynamic_cast const formula::SingleVectorRefToken* (pCur);
+ss  if(gid0 =   pSVR-GetArrayLength()   || isNan(;
+ss  vSubArguments[i]-GenSlidingWindowDeclRef();
+ss  ))\n;
+ss  arg  i   =  GetBottom()  ;\n;
+ss  else\n;
+#endif
+ss  arg  i   = ;
+ss  vSubArguments[i]-GenSlidingWindowDeclRef();
+ss  ;\n;
+}
+}
+ss  tmp = log(arg2 / arg1) / log(arg0 + 1.0);\n;
+ss  return tmp;\n;
+ss  };
+}
 
 void Fvschedule::GenSlidingWindowFunction(
 std::stringstream ss, const std::string sSymName, SubArguments 
vSubArguments)
diff --git a/sc/source/core/opencl/op_financial.hxx 
b/sc/source/core/opencl/op_financial.hxx
index cd62f82..fc73076 100644
--- a/sc/source/core/opencl/op_financial.hxx
+++ b/sc/source/core/opencl/op_financial.hxx
@@ -97,6 +97,18 @@ public:
 virtual std::string BinFuncName(void) const { return ISPMT; }
 };
 
+class OpDuration: public Normal
+{
+public:
+virtual std::string GetBottom(void) { return 0; }
+
+virtual void GenSlidingWindowFunction(std::stringstream ss,
+const std::string sSymName, SubArguments vSubArguments);
+
+virtual std::string BinFuncName(void) const { return Duration; }
+};
+
+
 class Fvschedule: public Normal
 {
 public:
commit d454a57acd6bada1cd6913a7c42f8bf3f0a39a70
Author: xinjiang xinji...@multicorewareinc.com
Date:   Mon Nov 4 11:12:17 2013 +0800

GPU Calc: unit test cases for DURATION

AMLOEXT-111 BUG

Change-Id: I1d206b0eda0dca8254f0491399d0a4679eb39ef8
Signed-off-by: haochen haoc...@multicorewareinc.com
Signed-off-by: I-Jui (Ray) Sung r...@multicorewareinc.com

diff --git a/sc/qa/unit/data/ods/opencl/financial/Duration.ods 
b/sc/qa/unit/data/ods/opencl/financial/Duration.ods
new file mode 100644
index 000..d884dfe
Binary files /dev/null and b/sc/qa/unit/data/ods/opencl/financial/Duration.ods 
differ
diff --git a/sc/qa/unit/opencl-test.cxx b/sc/qa/unit/opencl-test.cxx
index 7264c7e..0d228d5 100644

[Libreoffice-commits] core.git: Branch 'feature/calc-group-interpreter-4' - 2 commits - sc/qa sc/source

2013-11-03 Thread xinjiang
 sc/qa/unit/data/ods/opencl/financial/Duration.ods |binary
 sc/qa/unit/opencl-test.cxx|   24 
 sc/source/core/opencl/formulagroupcl.cxx  |4 ++
 sc/source/core/opencl/op_financial.cxx|   42 ++
 sc/source/core/opencl/op_financial.hxx|   12 ++
 sc/source/core/tool/token.cxx |1 
 6 files changed, 83 insertions(+)

New commits:
commit 6f1aef5e9e3be786e6e841ad100d01a1a0744c8d
Author: xinjiang xinji...@multicorewareinc.com
Date:   Mon Nov 4 11:18:04 2013 +0800

GPU Calc: implemented DURATION

AMLOEXT-111 FIX

Change-Id: I114e5b20326657f7fd3e0de7162a8ae190059b2a
Signed-off-by: haochen haoc...@multicorewareinc.com
Signed-off-by: I-Jui (Ray) Sung r...@multicorewareinc.com

diff --git a/sc/source/core/opencl/formulagroupcl.cxx 
b/sc/source/core/opencl/formulagroupcl.cxx
index 2362cba..bc758f4 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -1016,6 +1016,10 @@ DynamicKernelSoPArguments::DynamicKernelSoPArguments(
 case ocISPMT:
 mvSubArguments.push_back(SoPHelper(ts, ft-Children[i], new 
OpISPMT));
 break;
+case ocLaufz:
+mvSubArguments.push_back(SoPHelper(ts,
+ ft-Children[i], new OpDuration));
+break;
 case ocExternal:
 if ( !(pChild-GetExternal().compareTo(OUString(
 com.sun.star.sheet.addin.Analysis.getEffect
diff --git a/sc/source/core/opencl/op_financial.cxx 
b/sc/source/core/opencl/op_financial.cxx
index f9f1fa6..a40a113 100644
--- a/sc/source/core/opencl/op_financial.cxx
+++ b/sc/source/core/opencl/op_financial.cxx
@@ -531,6 +531,48 @@ void OpISPMT::GenSlidingWindowFunction(std::stringstream 
ss,
 ss  };
 }
 
+void OpDuration::GenSlidingWindowFunction(std::stringstream ss,
+const std::string sSymName, SubArguments vSubArguments)
+{
+ss  \ndouble   sSymName;
+ss  _ BinFuncName() (;
+for (unsigned i = 0; i  vSubArguments.size(); i++)
+{
+if (i)
+ss  ,;
+vSubArguments[i]-GenSlidingWindowDecl(ss);
+}
+ss  ) {\n;
+ss  double tmp =   GetBottom()  ;\n;
+ss  int gid0 = get_global_id(0);\n;
+ss  double arg0 =   GetBottom()  ;\n;
+ss  double arg1 =   GetBottom()  ;\n;
+ss  double arg2 =   GetBottom()  ;\n;
+unsigned i = vSubArguments.size();
+while (i--)
+{
+FormulaToken* pCur = vSubArguments[i]-GetFormulaToken();
+assert(pCur);
+if(pCur-GetType() == formula::svSingleVectorRef)
+{
+#ifdef  ISNAN
+const formula::SingleVectorRefToken* pSVR =
+dynamic_cast const formula::SingleVectorRefToken* (pCur);
+ss  if(gid0 =   pSVR-GetArrayLength()   || isNan(;
+ss  vSubArguments[i]-GenSlidingWindowDeclRef();
+ss  ))\n;
+ss  arg  i   =  GetBottom()  ;\n;
+ss  else\n;
+#endif
+ss  arg  i   = ;
+ss  vSubArguments[i]-GenSlidingWindowDeclRef();
+ss  ;\n;
+}
+}
+ss  tmp = log(arg2 / arg1) / log(arg0 + 1.0);\n;
+ss  return tmp;\n;
+ss  };
+}
 
 void Fvschedule::GenSlidingWindowFunction(
 std::stringstream ss, const std::string sSymName, SubArguments 
vSubArguments)
diff --git a/sc/source/core/opencl/op_financial.hxx 
b/sc/source/core/opencl/op_financial.hxx
index cd62f82..fc73076 100644
--- a/sc/source/core/opencl/op_financial.hxx
+++ b/sc/source/core/opencl/op_financial.hxx
@@ -97,6 +97,18 @@ public:
 virtual std::string BinFuncName(void) const { return ISPMT; }
 };
 
+class OpDuration: public Normal
+{
+public:
+virtual std::string GetBottom(void) { return 0; }
+
+virtual void GenSlidingWindowFunction(std::stringstream ss,
+const std::string sSymName, SubArguments vSubArguments);
+
+virtual std::string BinFuncName(void) const { return Duration; }
+};
+
+
 class Fvschedule: public Normal
 {
 public:
commit feb89290371033110c9a3a62426e716bfafc9778
Author: xinjiang xinji...@multicorewareinc.com
Date:   Mon Nov 4 11:12:17 2013 +0800

GPU Calc: unit test cases for DURATION

AMLOEXT-111 BUG

Change-Id: I1d206b0eda0dca8254f0491399d0a4679eb39ef8
Signed-off-by: haochen haoc...@multicorewareinc.com
Signed-off-by: I-Jui (Ray) Sung r...@multicorewareinc.com

diff --git a/sc/qa/unit/data/ods/opencl/financial/Duration.ods 
b/sc/qa/unit/data/ods/opencl/financial/Duration.ods
new file mode 100644
index 000..d884dfe
Binary files /dev/null and b/sc/qa/unit/data/ods/opencl/financial/Duration.ods 
differ
diff --git a/sc/qa/unit/opencl-test.cxx b/sc/qa/unit/opencl-test.cxx
index d41046b..6654517 100644

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

2013-11-03 Thread minwang
 sc/qa/unit/data/xls/opencl/financial/Coupnum.xls |binary
 sc/qa/unit/opencl-test.cxx   |   25 +
 sc/source/core/opencl/formulagroupcl.cxx |6 +
 sc/source/core/opencl/op_financial.cxx   |   97 ++-
 sc/source/core/opencl/op_financial.hxx   |9 ++
 5 files changed, 136 insertions(+), 1 deletion(-)

New commits:
commit 457b349edbaf6d9dc747f3a631fee70e0c035bae
Author: minwang m...@multicorewareinc.com
Date:   Mon Nov 4 11:32:43 2013 +0800

GPU Calc: implemented COUPNUM

AMLOEXT-74 FIX

Change-Id: Ic7f274f089f7f6cc6b767c4a07844014eeded61d
Signed-off-by: haochen haoc...@multicorewareinc.com
Signed-off-by: I-Jui (Ray) Sung r...@multicorewareinc.com

diff --git a/sc/source/core/opencl/formulagroupcl.cxx 
b/sc/source/core/opencl/formulagroupcl.cxx
index 24647bf..1cc0b9f 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -1137,6 +1137,12 @@ DynamicKernelSoPArguments::DynamicKernelSoPArguments(
 mvSubArguments.push_back(SoPHelper(ts,
   ft-Children[i], new OpPrice));
 }
+else if ( !(pChild-GetExternal().compareTo(OUString(
+ com.sun.star.sheet.addin.Analysis.getCoupnum
+{
+mvSubArguments.push_back(SoPHelper(ts, ft-Children[i],
+new OpCoupnum));
+}
 break;
 default:
 throw UnhandledToken(pChild, unhandled opcode);
diff --git a/sc/source/core/opencl/op_financial.cxx 
b/sc/source/core/opencl/op_financial.cxx
index a40a113..b5b9a5c 100644
--- a/sc/source/core/opencl/op_financial.cxx
+++ b/sc/source/core/opencl/op_financial.cxx
@@ -2740,7 +2740,102 @@ void OpCoupdaysnc::GenSlidingWindowFunction(
 ss  };
 }
 
- void OpReceived::BinInlineFun(std::setstd::string decls,
+void OpCoupnum::BinInlineFun(std::setstd::string decls,
+std::setstd::string funs)
+{
+decls.insert(IsLeapYearDecl);decls.insert(DaysInMonthDecl);
+decls.insert(DaysToDateDecl);decls.insert(DateToDaysDecl);
+decls.insert(GetNullDateDecl);decls.insert(lcl_GetcoupnumDecl);
+decls.insert(coupnumDecl);
+funs.insert(IsLeapYear);funs.insert(DaysInMonth);
+funs.insert(DaysToDate);funs.insert(DateToDays);
+funs.insert(GetNullDate);
+funs.insert(lcl_Getcoupnum);
+funs.insert(coupnum);
+}
+void OpCoupnum::GenSlidingWindowFunction(std::stringstream ss,
+const std::string sSymName, SubArguments vSubArguments)
+{
+ss  \ndouble   sSymName;
+ss  _ BinFuncName() (;
+for (unsigned i = 0; i  vSubArguments.size(); i++)
+{
+  if (i)
+  ss  ,;
+  vSubArguments[i]-GenSlidingWindowDecl(ss);
+}
+ss  ) {\n;
+ss  double tmp =   GetBottom() ;\n;
+ss  int gid0 = get_global_id(0);\n;
+ss  int nSettle,nMat,nFreq,nBase;\n;
+#ifdef ISNAN
+FormulaToken* tmpCur0 = vSubArguments[0]-GetFormulaToken();
+const formula::SingleVectorRefToken*tmpCurDVR0= dynamic_castconst
+formula::SingleVectorRefToken *(tmpCur0);
+FormulaToken* tmpCur1 = vSubArguments[1]-GetFormulaToken();
+const formula::SingleVectorRefToken*tmpCurDVR1= dynamic_castconst
+formula::SingleVectorRefToken *(tmpCur1);
+FormulaToken* tmpCur2 = vSubArguments[2]-GetFormulaToken();
+const formula::SingleVectorRefToken*tmpCurDVR2= dynamic_castconst
+formula::SingleVectorRefToken *(tmpCur2);
+FormulaToken* tmpCur3 = vSubArguments[3]-GetFormulaToken();
+const formula::SingleVectorRefToken*tmpCurDVR3= dynamic_castconst
+formula::SingleVectorRefToken *(tmpCur3);
+ss int buffer_nSettle_len = ;
+ss tmpCurDVR0-GetArrayLength();
+ss  ;\n;
+ss int buffer_nMat_len = ;
+ss tmpCurDVR1-GetArrayLength();
+ss  ;\n;
+ss int buffer_nFreq_len = ;
+ss tmpCurDVR2-GetArrayLength();
+ss  ;\n;
+ss int buffer_nBase_len = ;
+ss tmpCurDVR3-GetArrayLength();
+ss  ;\n;
+#endif
+#ifdef ISNAN
+ss if(gid0 = buffer_nSettle_len || isNan(;
+ss vSubArguments[0]-GenSlidingWindowDeclRef();
+ss ))\n;
+ss nSettle = 0;\nelse\n;
+#endif
+ss  nSettle=(int);
+ss  vSubArguments[0]-GenSlidingWindowDeclRef();
+ss ;\n;
+#ifdef ISNAN
+ss if(gid0 = buffer_nMat_len || isNan(;
+ss vSubArguments[1]-GenSlidingWindowDeclRef();
+ss ))\n;
+ss nMat = 0;\nelse\n;
+#endif
+ss  nMat=(int);
+ss  vSubArguments[1]-GenSlidingWindowDeclRef();
+ss  ;\n;
+#ifdef ISNAN
+ss if(gid0 = buffer_nFreq_len || isNan(;
+ss vSubArguments[2]-GenSlidingWindowDeclRef();
+ss ))\n;
+ss nFreq = 0;\nelse\n;
+#endif
+ss  nFreq=(int);
+ss  vSubArguments[2]-GenSlidingWindowDeclRef();
+ss ;\n;
+#ifdef ISNAN
+ss if(gid0 = buffer_nBase_len || isNan(;
+ss 

[Libreoffice-commits] core.git: Branch 'feature/calc-group-interpreter-4' - 2 commits - sc/qa sc/source

2013-11-03 Thread minwang
 sc/qa/unit/data/xls/opencl/financial/Coupnum.xls |binary
 sc/qa/unit/opencl-test.cxx   |   25 +
 sc/source/core/opencl/formulagroupcl.cxx |6 +
 sc/source/core/opencl/op_financial.cxx   |   97 ++-
 sc/source/core/opencl/op_financial.hxx   |9 ++
 5 files changed, 136 insertions(+), 1 deletion(-)

New commits:
commit 9ab405788ef7dfc2ae0461eb7f31569c181671c5
Author: minwang m...@multicorewareinc.com
Date:   Mon Nov 4 11:32:43 2013 +0800

GPU Calc: implemented COUPNUM

AMLOEXT-74 FIX

Change-Id: Ic7f274f089f7f6cc6b767c4a07844014eeded61d
Signed-off-by: haochen haoc...@multicorewareinc.com
Signed-off-by: I-Jui (Ray) Sung r...@multicorewareinc.com

diff --git a/sc/source/core/opencl/formulagroupcl.cxx 
b/sc/source/core/opencl/formulagroupcl.cxx
index bc758f4..07ea246 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -1137,6 +1137,12 @@ DynamicKernelSoPArguments::DynamicKernelSoPArguments(
 mvSubArguments.push_back(SoPHelper(ts,
   ft-Children[i], new OpPrice));
 }
+else if ( !(pChild-GetExternal().compareTo(OUString(
+ com.sun.star.sheet.addin.Analysis.getCoupnum
+{
+mvSubArguments.push_back(SoPHelper(ts, ft-Children[i],
+new OpCoupnum));
+}
 break;
 default:
 throw UnhandledToken(pChild, unhandled opcode);
diff --git a/sc/source/core/opencl/op_financial.cxx 
b/sc/source/core/opencl/op_financial.cxx
index a40a113..b5b9a5c 100644
--- a/sc/source/core/opencl/op_financial.cxx
+++ b/sc/source/core/opencl/op_financial.cxx
@@ -2740,7 +2740,102 @@ void OpCoupdaysnc::GenSlidingWindowFunction(
 ss  };
 }
 
- void OpReceived::BinInlineFun(std::setstd::string decls,
+void OpCoupnum::BinInlineFun(std::setstd::string decls,
+std::setstd::string funs)
+{
+decls.insert(IsLeapYearDecl);decls.insert(DaysInMonthDecl);
+decls.insert(DaysToDateDecl);decls.insert(DateToDaysDecl);
+decls.insert(GetNullDateDecl);decls.insert(lcl_GetcoupnumDecl);
+decls.insert(coupnumDecl);
+funs.insert(IsLeapYear);funs.insert(DaysInMonth);
+funs.insert(DaysToDate);funs.insert(DateToDays);
+funs.insert(GetNullDate);
+funs.insert(lcl_Getcoupnum);
+funs.insert(coupnum);
+}
+void OpCoupnum::GenSlidingWindowFunction(std::stringstream ss,
+const std::string sSymName, SubArguments vSubArguments)
+{
+ss  \ndouble   sSymName;
+ss  _ BinFuncName() (;
+for (unsigned i = 0; i  vSubArguments.size(); i++)
+{
+  if (i)
+  ss  ,;
+  vSubArguments[i]-GenSlidingWindowDecl(ss);
+}
+ss  ) {\n;
+ss  double tmp =   GetBottom() ;\n;
+ss  int gid0 = get_global_id(0);\n;
+ss  int nSettle,nMat,nFreq,nBase;\n;
+#ifdef ISNAN
+FormulaToken* tmpCur0 = vSubArguments[0]-GetFormulaToken();
+const formula::SingleVectorRefToken*tmpCurDVR0= dynamic_castconst
+formula::SingleVectorRefToken *(tmpCur0);
+FormulaToken* tmpCur1 = vSubArguments[1]-GetFormulaToken();
+const formula::SingleVectorRefToken*tmpCurDVR1= dynamic_castconst
+formula::SingleVectorRefToken *(tmpCur1);
+FormulaToken* tmpCur2 = vSubArguments[2]-GetFormulaToken();
+const formula::SingleVectorRefToken*tmpCurDVR2= dynamic_castconst
+formula::SingleVectorRefToken *(tmpCur2);
+FormulaToken* tmpCur3 = vSubArguments[3]-GetFormulaToken();
+const formula::SingleVectorRefToken*tmpCurDVR3= dynamic_castconst
+formula::SingleVectorRefToken *(tmpCur3);
+ss int buffer_nSettle_len = ;
+ss tmpCurDVR0-GetArrayLength();
+ss  ;\n;
+ss int buffer_nMat_len = ;
+ss tmpCurDVR1-GetArrayLength();
+ss  ;\n;
+ss int buffer_nFreq_len = ;
+ss tmpCurDVR2-GetArrayLength();
+ss  ;\n;
+ss int buffer_nBase_len = ;
+ss tmpCurDVR3-GetArrayLength();
+ss  ;\n;
+#endif
+#ifdef ISNAN
+ss if(gid0 = buffer_nSettle_len || isNan(;
+ss vSubArguments[0]-GenSlidingWindowDeclRef();
+ss ))\n;
+ss nSettle = 0;\nelse\n;
+#endif
+ss  nSettle=(int);
+ss  vSubArguments[0]-GenSlidingWindowDeclRef();
+ss ;\n;
+#ifdef ISNAN
+ss if(gid0 = buffer_nMat_len || isNan(;
+ss vSubArguments[1]-GenSlidingWindowDeclRef();
+ss ))\n;
+ss nMat = 0;\nelse\n;
+#endif
+ss  nMat=(int);
+ss  vSubArguments[1]-GenSlidingWindowDeclRef();
+ss  ;\n;
+#ifdef ISNAN
+ss if(gid0 = buffer_nFreq_len || isNan(;
+ss vSubArguments[2]-GenSlidingWindowDeclRef();
+ss ))\n;
+ss nFreq = 0;\nelse\n;
+#endif
+ss  nFreq=(int);
+ss  vSubArguments[2]-GenSlidingWindowDeclRef();
+ss ;\n;
+#ifdef ISNAN
+ss if(gid0 = buffer_nBase_len || isNan(;
+ss 

LibreOffice Gerrit News for core on 2013-11-04

2013-11-03 Thread gerrit
Moin!

* Open changes on master for project core changed in the last 25 hours:

+ minor cleanup in ScHeaderControl: nCount is always greater than 0
  in https://gerrit.libreoffice.org/6538 from Rodolfo Ribeiro Gomes
+ German translations and minor clean-up in ScHeaderControls
  in https://gerrit.libreoffice.org/6537 from Rodolfo Ribeiro Gomes
+ fdo#70393: move np_sdk to a subdir of external
  in https://gerrit.libreoffice.org/6558 from Khaled Hosny
+ fdo#70393: move Mesa to a subdir of external
  in https://gerrit.libreoffice.org/6557 from Khaled Hosny
+ fdo#70393: move zlib to a subdir of external
  in https://gerrit.libreoffice.org/6556 from Khaled Hosny
+ fdo#70393: move xsltml to a subdir of external
  in https://gerrit.libreoffice.org/6555 from Khaled Hosny
+ fdo#70393: move vigra to a subdir of external
  in https://gerrit.libreoffice.org/6554 from Khaled Hosny
+ fdo#70393: move ucpp to a subdir of external
  in https://gerrit.libreoffice.org/6553 from Khaled Hosny
+ fdo#70393: move rhino to a subdir of external
  in https://gerrit.libreoffice.org/6552 from Khaled Hosny
+ fdo#70393: move redland to a subdir of external
  in https://gerrit.libreoffice.org/6551 from Khaled Hosny
+ fdo#70393: move python3 to a subdir of external
  in https://gerrit.libreoffice.org/6550 from Khaled Hosny
+ fdo#70393: move postgresql to a subdir of external
  in https://gerrit.libreoffice.org/6549 from Khaled Hosny
+ fdo#70393: move poppler to a subdir of external
  in https://gerrit.libreoffice.org/6548 from Khaled Hosny
+ fdo#70393: move openssl to a subdir of external
  in https://gerrit.libreoffice.org/6547 from Khaled Hosny
+ fdo#70393: move openldap to a subdir of external
  in https://gerrit.libreoffice.org/6546 from Khaled Hosny
+ fdo#70393: move nss to a subdir of external
  in https://gerrit.libreoffice.org/6545 from Khaled Hosny
+ fdo#63819 Ctrl+Backspace also deletes the space before the word
  in https://gerrit.libreoffice.org/6518 from Samuel Mehrbrodt
+ fdo#70393: move languagetool to a subdir of external
  in https://gerrit.libreoffice.org/6544 from Khaled Hosny
+ fdo#70393: move jpeg to a subdir of external
  in https://gerrit.libreoffice.org/6543 from Khaled Hosny
+ OSL : Don't create thread identifier until we need it
  in https://gerrit.libreoffice.org/6541 from Arnaud Versini
+ fdo#40788: Allow manual breaks in Calc to be forced
  in https://gerrit.libreoffice.org/6531 from Eilidh McAdam
+ fdo#71081 add Excel 2010 functions BINOM.DIST and BINOM.INV
  in https://gerrit.libreoffice.org/6521 from Winfried Donkers


* Merged changes on master for project core changed in the last 25 hours:

+ fdo#65586: Add tools tips in Math Elements Dock
  in https://gerrit.libreoffice.org/6540 from Marcos Souza
+ fdo#69762 Scientific number AutoCorrect as ordinal
  in https://gerrit.libreoffice.org/6204 from Laurent BP


* Abandoned changes on master for project core changed in the last 25 hours:

+ fdo#51165 svg: add vertex to polygon if close command (z/Z) is detected
  in https://gerrit.libreoffice.org/6177 from Christina Roßmanith
+ Fix invalid string access
  in https://gerrit.libreoffice.org/6539 from Marcos Souza


* Open changes needing tweaks, but being untouched for more than a week:

+ new cell-border handling in calc
  in https://gerrit.libreoffice.org/6093 from Viktor Varga
+ Make ./autogen.sh --help work again
  in https://gerrit.libreoffice.org/6100 from Arnaud Versini
+ Make libatomic_ops buildable and enable on non-X86.
  in https://gerrit.libreoffice.org/5812 from Andrzej J.R. Hunt
+ Increase number of remembered recent documents from 10 to 25
  in https://gerrit.libreoffice.org/6101 from Krisztian Pinter
+ startcenter: Make SC open faster by timeouting thumbnails
  in https://gerrit.libreoffice.org/6102 from Krisztian Pinter
+ Remove old outdated gallery images and sounds
  in https://gerrit.libreoffice.org/4993 from Samuel Mehrbrodt
+ Remove more unusedcode
  in https://gerrit.libreoffice.org/5937 from Marcos Souza
+ Simplify oslThreadIdentifier on Linux 32.
  in https://gerrit.libreoffice.org/5553 from Arnaud Versini
+ Dynamically align toolbars in LibreOffice
  in https://gerrit.libreoffice.org/5655 from Prashant Pandey
+ fdo#36791 : fix for import of greeting card
  in https://gerrit.libreoffice.org/4240 from Adam CloudOn
+ more debug logs, extra debug layer, file is not used in p3k
  in https://gerrit.libreoffice.org/5267 from James Michael Dupont
+ Positional Tab additions
  in https://gerrit.libreoffice.org/5387 from Adam CloudOn
+ fdo#64817 : fix for rectangle with image fill
  in https://gerrit.libreoffice.org/4718 from Adam CloudOn


Best,

Your friendly LibreOffice Gerrit Digest Mailer

Note: The bot generating this message can be found and improved here:
   
https://gerrit.libreoffice.org/gitweb?p=dev-tools.git;a=blob;f=gerritbot/send-daily-digest
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org

[Libreoffice-commits] core.git: 3 commits - sc/qa sc/source solenv/gbuild

2013-11-03 Thread Markus Mohrhard
 sc/qa/unit/data/xls/opencl/math/sinh.xls |binary
 sc/qa/unit/opencl-test.cxx   |   20 
 sc/source/core/opencl/formulagroupcl.cxx |3 +++
 sc/source/core/opencl/op_math.cxx|   31 +++
 sc/source/core/opencl/op_math.hxx|7 +++
 sc/source/core/tool/token.cxx|1 +
 solenv/gbuild/platform/com_MSC_defs.mk   |2 +-
 7 files changed, 63 insertions(+), 1 deletion(-)

New commits:
commit d36adbd5accd06917edf027cd619ac7eb9540613
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Mon Nov 4 00:27:53 2013 +0100

add original PATH to PATH during unit tests

we need this for our opencl tests to be able to execute the opencl compiler 
during the test

Change-Id: I9f9e8f3ceb26ff62789d888e6eb9f4f94010bb1f

Signed-off-by: I-Jui (Ray) Sung r...@multicorewareinc.com

diff --git a/solenv/gbuild/platform/com_MSC_defs.mk 
b/solenv/gbuild/platform/com_MSC_defs.mk
index cf0e43a..c76d65a 100644
--- a/solenv/gbuild/platform/com_MSC_defs.mk
+++ b/solenv/gbuild/platform/com_MSC_defs.mk
@@ -294,6 +294,6 @@ gb_LTOFLAGS := $(if $(filter TRUE,$(ENABLE_LTO)),-GL)
 # Helper class
 
 # need windows path with backslashes here
-gb_Helper_set_ld_path := PATH=$(shell cygpath -w 
$(INSTDIR)/$(LIBO_URE_LIB_FOLDER));$(shell cygpath -w 
$(INSTDIR)/$(LIBO_BIN_FOLDER))
+gb_Helper_set_ld_path := PATH=$(PATH);$(shell cygpath -w 
$(INSTDIR)/$(LIBO_URE_LIB_FOLDER));$(shell cygpath -w 
$(INSTDIR)/$(LIBO_BIN_FOLDER))
 
 # vim: set noet sw=4:
commit b5c268388ddbc812c2ba07a196f1200a939c6a9a
Author: dechuang dechu...@multicorewareinc.com
Date:   Mon Nov 4 14:35:12 2013 +0800

GPU Calc: implement fix for SINH

AMLOEXT-116 FIX

Change-Id: I0c369a65ffb3de2ac91fdd3d04ca6afe658b9bee
Signed-off-by: haochen haoc...@multicorewareinc.com
Signed-off-by: I-Jui (Ray) Sung r...@multicorewareinc.com

diff --git a/sc/source/core/opencl/formulagroupcl.cxx 
b/sc/source/core/opencl/formulagroupcl.cxx
index 1cc0b9f..f0fd68b 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -1020,6 +1020,9 @@ DynamicKernelSoPArguments::DynamicKernelSoPArguments(
 mvSubArguments.push_back(SoPHelper(ts,
  ft-Children[i], new OpDuration));
 break;
+case ocSinHyp:
+mvSubArguments.push_back(SoPHelper(ts,
+ ft-Children[i],new OpSinh));
 case ocExternal:
 if ( !(pChild-GetExternal().compareTo(OUString(
 com.sun.star.sheet.addin.Analysis.getEffect
diff --git a/sc/source/core/opencl/op_math.cxx 
b/sc/source/core/opencl/op_math.cxx
index 33ca0e5..32d2eb5 100644
--- a/sc/source/core/opencl/op_math.cxx
+++ b/sc/source/core/opencl/op_math.cxx
@@ -80,6 +80,37 @@ void OpCsc::GenSlidingWindowFunction(
 ss  };
 }
 
+void OpSinh::GenSlidingWindowFunction(std::stringstream ss,
+const std::string sSymName, SubArguments vSubArguments)
+{
+FormulaToken *tmpCur = vSubArguments[0]-GetFormulaToken();
+const formula::SingleVectorRefToken*tmpCurDVR= dynamic_castconst
+  formula::SingleVectorRefToken *(tmpCur);
+ss  \ndouble   sSymName;
+ss  _ BinFuncName() (;
+for (unsigned i = 0; i  vSubArguments.size(); i++)
+{
+if (i)
+ss  ,;
+vSubArguments[i]-GenSlidingWindowDecl(ss);
+}
+ss ) {\n;
+ss int gid0=get_global_id(0);\n;
+ss double arg0 =  
+vSubArguments[0]-GenSlidingWindowDeclRef();
+ss ;\n;
+#ifdef ISNAN
+ss if(isNan(arg0)||(gid0=;
+sstmpCurDVR-GetArrayLength();
+ss))\n;
+ssarg0 = 0;\n;
+#endif
+ss  double tmp=( exp(arg0)-exp(-arg0) )/2;\n;
+ss  return tmp;\n;
+ss  };
+}
+
+
 }}
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/opencl/op_math.hxx 
b/sc/source/core/opencl/op_math.hxx
index dd497fb..7399a6a 100644
--- a/sc/source/core/opencl/op_math.hxx
+++ b/sc/source/core/opencl/op_math.hxx
@@ -31,6 +31,13 @@ public:
 virtual std::string BinFuncName(void) const { return Csc; }
 };
 
+class OpSinh: public Normal
+{
+public:
+virtual void GenSlidingWindowFunction(std::stringstream ss,
+const std::string sSymName, SubArguments vSubArguments);
+virtual std::string BinFuncName(void) const { return Sinh; }
+};
 }}
 
 #endif
commit cd4d44e5e8b540816ed7757e243f01256418b43e
Author: dechuang dechu...@multicorewareinc.com
Date:   Mon Nov 4 14:23:11 2013 +0800

GPU Calc: unit test cases for SINH

Need open macro NO_FALLBACK_TO_SWINTERP in formulagroupcl.cxx for test

AMLOEXT-116 BUG

Change-Id: Ic3cf18c9b475bc37bdca40cb64c582742bba8a5a
Signed-off-by: haochen haoc...@multicorewareinc.com
Signed-off-by: I-Jui (Ray) Sung r...@multicorewareinc.com

diff --git a/sc/qa/unit/data/xls/opencl/math/sinh.xls 

[Libreoffice-commits] core.git: Branch 'feature/calc-group-interpreter-4' - 3 commits - sc/qa sc/source solenv/gbuild

2013-11-03 Thread Markus Mohrhard
 sc/qa/unit/data/xls/opencl/math/sinh.xls |binary
 sc/qa/unit/opencl-test.cxx   |   20 
 sc/source/core/opencl/formulagroupcl.cxx |3 +++
 sc/source/core/opencl/op_math.cxx|   31 +++
 sc/source/core/opencl/op_math.hxx|7 +++
 sc/source/core/tool/token.cxx|1 +
 solenv/gbuild/platform/com_MSC_defs.mk   |2 +-
 7 files changed, 63 insertions(+), 1 deletion(-)

New commits:
commit 75240ea50fcbc6e66297948614e2cb2e9a6c0b2d
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Mon Nov 4 00:27:53 2013 +0100

add original PATH to PATH during unit tests

we need this for our opencl tests to be able to execute the opencl compiler 
during the test

Change-Id: I9f9e8f3ceb26ff62789d888e6eb9f4f94010bb1f

diff --git a/solenv/gbuild/platform/com_MSC_defs.mk 
b/solenv/gbuild/platform/com_MSC_defs.mk
index b57dad0..de82c9f 100644
--- a/solenv/gbuild/platform/com_MSC_defs.mk
+++ b/solenv/gbuild/platform/com_MSC_defs.mk
@@ -296,6 +296,6 @@ gb_LTOFLAGS := $(if $(filter TRUE,$(ENABLE_LTO)),-GL)
 gb_Helper_OUTDIRLIBDIR := $(OUTDIR)/bin
 
 # need windows path with backslashes here
-gb_Helper_set_ld_path := PATH=$(shell cygpath -w $(OUTDIR)/bin);$(shell 
cygpath -w $(INSTDIR)/$(LIBO_URE_LIB_FOLDER));$(shell cygpath -w 
$(INSTDIR)/$(LIBO_BIN_FOLDER))
+gb_Helper_set_ld_path := PATH=$(PATH);$(shell cygpath -w 
$(OUTDIR)/bin);$(shell cygpath -w $(INSTDIR)/$(LIBO_URE_LIB_FOLDER));$(shell 
cygpath -w $(INSTDIR)/$(LIBO_BIN_FOLDER))
 
 # vim: set noet sw=4:
commit 9cde31bff56cc489ef86999d5816fc698a31f0ba
Author: dechuang dechu...@multicorewareinc.com
Date:   Mon Nov 4 14:35:12 2013 +0800

GPU Calc: implement fix for SINH

AMLOEXT-116 FIX

Change-Id: I0c369a65ffb3de2ac91fdd3d04ca6afe658b9bee
Signed-off-by: haochen haoc...@multicorewareinc.com
Signed-off-by: I-Jui (Ray) Sung r...@multicorewareinc.com

diff --git a/sc/source/core/opencl/formulagroupcl.cxx 
b/sc/source/core/opencl/formulagroupcl.cxx
index 07ea246..3e80351 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -1020,6 +1020,9 @@ DynamicKernelSoPArguments::DynamicKernelSoPArguments(
 mvSubArguments.push_back(SoPHelper(ts,
  ft-Children[i], new OpDuration));
 break;
+case ocSinHyp:
+mvSubArguments.push_back(SoPHelper(ts,
+ ft-Children[i],new OpSinh));
 case ocExternal:
 if ( !(pChild-GetExternal().compareTo(OUString(
 com.sun.star.sheet.addin.Analysis.getEffect
diff --git a/sc/source/core/opencl/op_math.cxx 
b/sc/source/core/opencl/op_math.cxx
index 33ca0e5..32d2eb5 100644
--- a/sc/source/core/opencl/op_math.cxx
+++ b/sc/source/core/opencl/op_math.cxx
@@ -80,6 +80,37 @@ void OpCsc::GenSlidingWindowFunction(
 ss  };
 }
 
+void OpSinh::GenSlidingWindowFunction(std::stringstream ss,
+const std::string sSymName, SubArguments vSubArguments)
+{
+FormulaToken *tmpCur = vSubArguments[0]-GetFormulaToken();
+const formula::SingleVectorRefToken*tmpCurDVR= dynamic_castconst
+  formula::SingleVectorRefToken *(tmpCur);
+ss  \ndouble   sSymName;
+ss  _ BinFuncName() (;
+for (unsigned i = 0; i  vSubArguments.size(); i++)
+{
+if (i)
+ss  ,;
+vSubArguments[i]-GenSlidingWindowDecl(ss);
+}
+ss ) {\n;
+ss int gid0=get_global_id(0);\n;
+ss double arg0 =  
+vSubArguments[0]-GenSlidingWindowDeclRef();
+ss ;\n;
+#ifdef ISNAN
+ss if(isNan(arg0)||(gid0=;
+sstmpCurDVR-GetArrayLength();
+ss))\n;
+ssarg0 = 0;\n;
+#endif
+ss  double tmp=( exp(arg0)-exp(-arg0) )/2;\n;
+ss  return tmp;\n;
+ss  };
+}
+
+
 }}
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/opencl/op_math.hxx 
b/sc/source/core/opencl/op_math.hxx
index dd497fb..7399a6a 100644
--- a/sc/source/core/opencl/op_math.hxx
+++ b/sc/source/core/opencl/op_math.hxx
@@ -31,6 +31,13 @@ public:
 virtual std::string BinFuncName(void) const { return Csc; }
 };
 
+class OpSinh: public Normal
+{
+public:
+virtual void GenSlidingWindowFunction(std::stringstream ss,
+const std::string sSymName, SubArguments vSubArguments);
+virtual std::string BinFuncName(void) const { return Sinh; }
+};
 }}
 
 #endif
commit 1f94fc3cd5f35c952d496a500272d9138e553c7e
Author: dechuang dechu...@multicorewareinc.com
Date:   Mon Nov 4 14:23:11 2013 +0800

GPU Calc: unit test cases for SINH

Need open macro NO_FALLBACK_TO_SWINTERP in formulagroupcl.cxx for test

AMLOEXT-116 BUG

Change-Id: Ic3cf18c9b475bc37bdca40cb64c582742bba8a5a
Signed-off-by: haochen haoc...@multicorewareinc.com
Signed-off-by: I-Jui (Ray) Sung r...@multicorewareinc.com

diff --git 

[Libreoffice-commits] core.git: desktop/Module_desktop.mk

2013-11-03 Thread Norbert Thiebaud
 desktop/Module_desktop.mk |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 38a23d68f77329e75eb6fe51c181e3f4e285968f
Author: Norbert Thiebaud nthieb...@gmail.com
Date:   Mon Nov 4 01:06:31 2013 -0600

pagein-* stuff are for unix only

Change-Id: I8acc125aeeec089f3528cdc43b1475b93f5cde32

diff --git a/desktop/Module_desktop.mk b/desktop/Module_desktop.mk
index 2c70992..46f061e 100644
--- a/desktop/Module_desktop.mk
+++ b/desktop/Module_desktop.mk
@@ -40,16 +40,16 @@ $(eval $(call gb_Module_add_targets,desktop,\
 Library_migrationoo3 \
 Library_unopkgapp \
 Package_scripts \
-Pagein_calc \
-Pagein_common \
-Pagein_draw \
-Pagein_impress \
-Pagein_writer \
 ))
 
 ifneq ($(OS),MACOSX)
 ifneq ($(OS),WNT)
 $(eval $(call gb_Module_add_targets,desktop,\
+Pagein_calc \
+Pagein_common \
+Pagein_draw \
+Pagein_impress \
+Pagein_writer \
 CustomTarget_soffice \
 Package_soffice_sh \
 ))
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-11-03 Thread Tor Lillqvist
 sc/source/core/opencl/op_financial.cxx |4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 57c2de08ddf14c0da80de06736d99382ad036539
Author: Tor Lillqvist t...@collabora.com
Date:   Mon Nov 4 09:48:08 2013 +0200

WaE: unused variables

Change-Id: I6b5849b23478c747bbebd8d00543739e581760a3

diff --git a/sc/source/core/opencl/op_financial.cxx 
b/sc/source/core/opencl/op_financial.cxx
index bd50fdb..d5853f6 100644
--- a/sc/source/core/opencl/op_financial.cxx
+++ b/sc/source/core/opencl/op_financial.cxx
@@ -2179,7 +2179,6 @@ void OpPMT::GenSlidingWindowFunction(std::stringstream 
ss,
 void OpPrice::GenSlidingWindowFunction(std::stringstream ss,
   const std::string sSymName, SubArguments vSubArguments)
 {
-ArgVector argVector;
 ss  \ndouble   sSymName;
 ss  _ BinFuncName() (;
 for (unsigned i = 0; i  vSubArguments.size(); i++)
@@ -2298,7 +2297,6 @@ void OpPPMT::BinInlineFun(std::setstd::string decls,
 void OpPPMT::GenSlidingWindowFunction(std::stringstream ss,
 const std::string sSymName, SubArguments vSubArguments)
 {
-ArgVector argVector;
 ss  \ndouble   sSymName;
 ss  _ BinFuncName() (;
 for (unsigned i = 0; i  vSubArguments.size(); i++)
commit a39ff54b7621f4bc214b86674e0eb4b7e6612ebc
Author: Tor Lillqvist t...@collabora.com
Date:   Mon Nov 4 09:46:39 2013 +0200

WaE: statement aligned ... [loplugin]

Change-Id: I90613943b2d9fda6286f85a2b45655055ba30b6e

diff --git a/sc/source/core/opencl/op_financial.cxx 
b/sc/source/core/opencl/op_financial.cxx
index b5b9a5c..bd50fdb 100644
--- a/sc/source/core/opencl/op_financial.cxx
+++ b/sc/source/core/opencl/op_financial.cxx
@@ -2761,7 +2761,7 @@ void 
OpCoupnum::GenSlidingWindowFunction(std::stringstream ss,
 for (unsigned i = 0; i  vSubArguments.size(); i++)
 {
   if (i)
-  ss  ,;
+  ss  ,;
   vSubArguments[i]-GenSlidingWindowDecl(ss);
 }
 ss  ) {\n;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [Libreoffice-qa] White bar at the bottom of Tools - Options - LibreOffice - Appearance

2013-11-03 Thread Thomas Hackert
Hello Pedro, *,
On Samstag, 2. November 2013 18:09 Pedro wrote:
 Thomas Hackert wrote
 In LO Version: 4.1.2.3 Build ID:
 40b2d7fde7e8d2d7bc5a449dc65df4d08a7dd38 with installed
 Germanophone lang- as well as helppack, it does not evident, as
 the background of this dialog is white as well. It only seems to
 be a little more space than needed there ... ;) But if you have a
 look at LO Version: 4.2.0.0.alpha0+ Build ID:
 aeb29afa11b7be87153f048044a2d4af9a87b50c TinderBox:
 Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time:
 2013-10-29_20:58:33 with installed en-US lang- as well as
 helppack, the background of this dialog is grey, so the space
 below is visible ... :( Is this a bug or a feature?
 
 Is it only on my system, or can someone with another
 OS/architecture/graphics chip or card/something else can confirm
 it?
 
 Confirmed that there is extra white space under the last item and
 also confirmed that it looks worse under 4.2 Alpha.

thank you very much for confirming :)

 I'm using Windows XP Pro x86 SP3 and tested both on ATI Radeon and
 Nvidia ION (same as Geforce 9400M) so this is not related to
 graphics chip or card. In both systems resolution is at 1280x1024.

Ah, O.K. Thank you for the info :)

 I wouldn't call this a bug (definitely not a feature :) )... maybe
 a small quirk?

Maybe ... ;) What do others here think? Should I open a bugreport 
for it?
Have a nice day
Thomas.

-- 
I do not believe that this generation of Americans is willing to 
resign itself to going to bed each night by the light of a Communist 
moon...
-- Lyndon B. Johnson

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


Re: [Libreoffice-qa] OpenCL?

2013-11-03 Thread Pedro
mariosv wrote
 I have read about it in the Kohei Yoshida's Webspace:

Thank you for the link. It allowed me to figure out that the limitation is
not so much which formulas/functions it applies to but which GPUs it
detects...

My netPC based on the ION chipset does support CUDA and OpenCL but is not
detected by LO so it is still using the Internal, software interpreter

I guess I'll have to wait some more time :)

On a separate note: it's a shame there isn't more communication between
developers and QA... 

It would make sense to ping the QA list when some feature is added with some
note like I added this and that in Master can someone check if it's working
as intended and if there are any regressions?



--
View this message in context: 
http://nabble.documentfoundation.org/OpenCL-tp4081026p4081093.html
Sent from the QA mailing list archive at Nabble.com.
___
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/


Re: [Libreoffice-qa] White bar at the bottom of Tools - Options - LibreOffice - Appearance

2013-11-03 Thread Pedro
Hi Thomas


Thomas Hackert wrote
 Maybe ... ;) What do others here think? Should I open a bugreport 
 for it?

This is the QA mailing list and the Q stands for Quality.
I think you should report it. It is wasted space and it looks bad. 

My 2 cents ;)

Have a nice Sun day :)
Pedro



--
View this message in context: 
http://nabble.documentfoundation.org/Libreoffice-qa-White-bar-at-the-bottom-of-Tools-Options-LibreOffice-Appearance-tp4080642p4081094.html
Sent from the QA mailing list archive at Nabble.com.
___
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/


Re: [Libreoffice-qa] OpenCL?

2013-11-03 Thread mariosv
El 03/11/13 9:53, Pedro [via Document Foundation Mail Archive] escribió:
 mariosv wrote
 I have read about it in the Kohei Yoshida's Webspace:

 Thank you for the link. It allowed me to figure out that the limitation
 is not so much which formulas/functions it applies to but which GPUs it
 detects...

 My netPC based on the ION chipset does support CUDA and OpenCL but is
 not detected by LO so it is still using the Internal, software
 interpreter

 I guess I'll have to wait some more time :)

 On a separate note: it's a shame there isn't more communication between
 developers and QA...

 It would make sense to ping the QA list when some feature is added with
 some note like I added this and that in Master can someone check if
 it's working as intended and if there are any regressions?


A use a couple of ways to know what is happening, are:

https://gerrit.libreoffice.org/gitweb?p=core.git;a=shortlog

also daily there is an email in dev list with the news in guerrit:

http://nabble.documentfoundation.org/LibreOffice-Gerrit-News-for-core-on-2013-11-03-tc4081078.html

Miguel Ángel




--
View this message in context: 
http://nabble.documentfoundation.org/OpenCL-tp4081026p4081120.html
Sent from the QA mailing list archive at Nabble.com.___
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/

Re: [Libreoffice-qa] OpenCL?

2013-11-03 Thread Markus Mohrhard
2013/11/3 Pedro pedl...@gmail.com

 mariosv wrote
  I have read about it in the Kohei Yoshida's Webspace:

 Thank you for the link. It allowed me to figure out that the limitation is
 not so much which formulas/functions it applies to but which GPUs it
 detects...

 My netPC based on the ION chipset does support CUDA and OpenCL but is not
 detected by LO so it is still using the Internal, software interpreter

 I guess I'll have to wait some more time :)


That means it will not be supported in the future. There are some
requirements to the hardware that must be satisfied before we can use the
GPU as OpenCL device.



 On a separate note: it's a shame there isn't more communication between
 developers and QA...

 It would make sense to ping the QA list when some feature is added with
 some
 note like I added this and that in Master can someone check if it's
 working
 as intended and if there are any regressions?



This feature is still under heavy development and not yet ready for testing
by QA. As you might have noticed it is still disabled and might still
contain serious bugs. If you want to test something in master it makes more
sense to test the normal code paths in Calc by making sure that the large
Calc refactorings did not introduce regressions.

Regards,
Markus
___
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-qa] Updates to the BSA

2013-11-03 Thread Jean Spiteri
I am currently working on a big update for the LibreOffice BSA which includes
re-engineered sign in button and log out functionality. In my opinion, the
Log out button should be on the side as a green link between the steps and
the legal notice. What do you think? Also, do you think the BSA should throw
up a success message if the user is logged out (The BSA already redirects
the user to the sign in screen)?  Thanks. 



--
View this message in context: 
http://nabble.documentfoundation.org/Updates-to-the-BSA-tp4081144.html
Sent from the QA mailing list archive at Nabble.com.
___
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/


Re: [Libreoffice-qa] OpenCL?

2013-11-03 Thread Pedro
Markus Mohrhard wrote
 That means it will not be supported in the future. There are some
 requirements to the hardware that must be satisfied before we can use the
 GPU as OpenCL device.

That is bad news. For me (because I will not get any benefits from OpenCL)
and for the project (one beta tester less...)


Markus Mohrhard wrote
 This feature is still under heavy development and not yet ready for
 testing
 by QA. As you might have noticed it is still disabled and might still
 contain serious bugs. If you want to test something in master it makes
 more
 sense to test the normal code paths in Calc by making sure that the large
 Calc refactorings did not introduce regressions.

I was referring to communication in general... 

not yet ready for testing by QA... Interesting. Please do remember to post
on this mailing list when it's ready for QA...

Regards,
Pedro



--
View this message in context: 
http://nabble.documentfoundation.org/OpenCL-tp4081026p4081145.html
Sent from the QA mailing list archive at Nabble.com.
___
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/


Re: [Libreoffice-qa] White bar at the bottom of Tools - Options - LibreOffice - Appearance

2013-11-03 Thread Thomas Hackert
Hello Pedro, *,
On Sonntag, 3. November 2013 10:02 Pedro wrote:
 Thomas Hackert wrote
 Maybe ... ;) What do others here think? Should I open a bugreport
 for it?
 
 This is the QA mailing list and the Q stands for Quality.
 I think you should report it. It is wasted space and it looks bad.

[done] ... ;) Would you be so kind to confirm 
https://bugs.freedesktop.org/show_bug.cgi?id=71192, please?

 My 2 cents ;)

For what ever reason, but after attaching a screenshot as an PNG 
Bugzilla has changed it to text/plain as MIME type ... :( Is this 
expected?
Thanks for your answer
Thomas.

-- 
Ambition, n:
An overmastering desire to be vilified by enemies while
living and made ridiculous by friends when dead.
-- Ambrose Bierce

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


Re: [Libreoffice-qa] White bar at the bottom of Tools - Options - LibreOffice - Appearance

2013-11-03 Thread Pedro
Hi Thomas


Thomas Hackert wrote
 I think you should report it. It is wasted space and it looks bad.
 
 [done] ... ;) Would you be so kind to confirm 
 https://bugs.freedesktop.org/show_bug.cgi?id=71192, please?

Already been confirmed by Stuart ;)


Thomas Hackert wrote
 For what ever reason, but after attaching a screenshot as an PNG 
 Bugzilla has changed it to text/plain as MIME type ... :( Is this 
 expected?

It's a known bug in Bugzilla itself (I find it amusing that the bug
reporting tool has bugs :) )
https://bugs.freedesktop.org/show_bug.cgi?id=67004

One of the QA triagers will change the MIME type at some point...

The workaround is NOT to add attachments to the original post but add it in
the first comment.

Regards,
Pedro



--
View this message in context: 
http://nabble.documentfoundation.org/Libreoffice-qa-White-bar-at-the-bottom-of-Tools-Options-LibreOffice-Appearance-tp4080642p4081207.html
Sent from the QA mailing list archive at Nabble.com.
___
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/


Re: [Libreoffice-qa] White bar at the bottom of Tools - Options - LibreOffice - Appearance

2013-11-03 Thread Thomas Hackert
Good morning Pedro, *,
On Sonntag, 3. November 2013 22:52 Pedro wrote:
 Thomas Hackert wrote
 I think you should report it. It is wasted space and it looks
 bad.
 
 [done] ... ;) Would you be so kind to confirm
 https://bugs.freedesktop.org/show_bug.cgi?id=71192, please?
 
 Already been confirmed by Stuart ;)

I got Bugzilla's message, so I know it :) @Stuart: Thanks for 
confirming :)

 Thomas Hackert wrote
 For what ever reason, but after attaching a screenshot as an PNG
 Bugzilla has changed it to text/plain as MIME type ... :( Is
 this expected?
 
 It's a known bug in Bugzilla itself (I find it amusing that the
 bug reporting tool has bugs :) )
 https://bugs.freedesktop.org/show_bug.cgi?id=67004

Ah, O.K. Joel has already reported it ... Thanks to Joel :)

 One of the QA triagers will change the MIME type at some point...

But I think, it is an unnecessary additional step to do ... :( I 
prefer the KISS principle ... ;)

 The workaround is NOT to add attachments to the original post but
 add it in the first comment.

If I had known it before, I would have done it ... ;)
Thank you for your answer
Thomas.

-- 
untold wealth, n.:
What you left out on April 15th.

___
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 42668] FORMATTING: TABLE: crash when adding column to a table containing merged cells in .docx [no backtrace yet]

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42668

--- Comment #4 from Abdulaziz Ayed aala...@kacst.edu.sa ---
not reproducible in 4.0.2

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


[Libreoffice-bugs] [Bug 42668] FORMATTING: TABLE: crash when adding column to a table containing merged cells in .docx [no backtrace yet]

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42668

Abdulaziz Ayed aala...@kacst.edu.sa changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WORKSFORME

-- 
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 71140] United Arab Emirates Dirham (AED) and Kuwait Dinar (KWD) are not included on the currencies list

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71140

Julien Nabet serval2...@yahoo.fr changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||er...@redhat.com,
   ||serval2...@yahoo.fr
 Ever confirmed|0   |1

--- Comment #1 from Julien Nabet serval2...@yahoo.fr ---
Indeed, I see no locale files in i18npool/source/localedata/data for:
ar-KW
ar-AE

Eike: one for you?

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


[Libreoffice-bugs] [Bug 71179] New: Java VM launch should be deferred at the extension starting, not at menu registration

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71179

  Priority: medium
Bug ID: 71179
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: Java VM launch should be deferred at the extension
starting, not at menu registration
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: jbf.fa...@sud-ouest.org
  Hardware: All
Status: UNCONFIRMED
   Version: 4.2.0.0.alpha0+ Master
 Component: Libreoffice
   Product: LibreOffice

Created attachment 88549
  -- https://bugs.freedesktop.org/attachment.cgi?id=88549action=edit
backtrace to track JVM starter

Java extensions like Wiki-Publisher modifies the file menu in Writer by adding
the sub-entry To MediaWiki in the Send entry.
It seems that the update of this menu at the starting of Writer (even with an
empty document) starts a Java VM. This JVM remains started even if we never use
the Wiki-Publisher extension.

I suggest that the JVM for Wiki-Publisher extension should be started only when
the user explicitly uses this extension.
A workaround could be to remove Wiki-Publisher extension from the default
installation. 

I attached a backtrace to locate when and where JNI_CreateJavaVM is called.

Best regards. JBF

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


[Libreoffice-bugs] [Bug 71070] ERRORMESSAGE: error message not functional - unable to advance

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71070

Julien Nabet serval2...@yahoo.fr changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||serval2...@yahoo.fr
 Ever confirmed|0   |1

--- Comment #1 from Julien Nabet serval2...@yahoo.fr ---
ash: for the test, could you rename your LO directory profile and give it a new
try? (see https://wiki.documentfoundation.org/UserProfile). BTW, LO 4.1.3 has
been released.

-- 
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 71068] SVG embedded in text document is exported incorrectly to PDF

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71068

Julien Nabet serval2...@yahoo.fr changed:

   What|Removed |Added

 CC||michael.me...@collabora.com
   ||, serval2...@yahoo.fr

--- Comment #3 from Julien Nabet serval2...@yahoo.fr ---
On pc Debian x86-64 with master sources updated yesterday, I reproduced the
problem.

Here are some logs:
warn:legacy.osl:7768:1:svgio/source/svgreader/svgtools.cxx:40: Unknown Base
SvgToken metadata (!)
warn:legacy.osl:7768:1:svgio/source/svgreader/svgtools.cxx:40: Unknown Base
SvgToken rdf:RDF (!)
warn:legacy.osl:7768:1:svgio/source/svgreader/svgtools.cxx:40: Unknown Base
SvgToken cc:Work (!)
warn:legacy.osl:7768:1:svgio/source/svgreader/svgtools.cxx:40: Unknown Base
SvgToken dc:format (!)
warn:legacy.osl:7768:1:svgio/source/svgreader/svgtools.cxx:40: Unknown Base
SvgToken dc:type (!)
warn:legacy.osl:7768:1:svgio/source/svgreader/svgtools.cxx:40: Unknown Base
SvgToken sodipodi:namedview (!)
warn:sfx.control:7768:1:sfx2/source/control/dispatch.cxx:1469: Childwindow slot
missing: 10365
warn:sfx.control:7768:1:sfx2/source/control/dispatch.cxx:1469: Childwindow slot
missing: 10365
warn:sfx.control:7768:1:sfx2/source/control/dispatch.cxx:1469: Childwindow slot
missing: 10365
warn:sfx.dialog:7768:1:sfx2/source/dialog/tabdlg.cxx:1039: CreateInputItemSet
not implemented
warn:sfx.dialog:7768:1:sfx2/source/dialog/tabdlg.cxx:1039: CreateInputItemSet
not implemented
warn:sfx.dialog:7768:1:sfx2/source/dialog/tabdlg.cxx:1039: CreateInputItemSet
not implemented
warn:sfx.dialog:7768:1:sfx2/source/dialog/tabdlg.cxx:1039: CreateInputItemSet
not implemented
warn:sfx.dialog:7768:1:sfx2/source/dialog/tabdlg.cxx:1039: CreateInputItemSet
not implemented

Michael: do you know who may help here?

-- 
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 67999] Start center right side layout problem

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67999

Nicola Ricciarelli ricci...@libero.it changed:

   What|Removed |Added

Summary|Other: Main LO page missing |Start center right side
   ||layout problem

-- 
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 61569] FILESAVE: WebDav Save doesn't work anymore

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61569

--- Comment #3 from CIS patrick.cle...@clever-it-solutions.de ---
LibreOffice (V 4.0:build-305 OpenSuse Build) seems to be able to:

1. Open all corresponding Filetypes directly from a webdav- ressource
2. Save modifications on files, already existing on the webdav ressource, by
using the same filenames. So files can be modified directly.

LibreOffice (V 4.0:build-305 OpenSuse Build) seems NOT to be able to:
1. Create new Files on a Webdav Ressource

Error Message1:
Fehler beim Speichern des Dokumentes Unbenannt1:
https://XXX/Unbenannt%201 existiert nicht.

Error Message2:
Fehler beim Speichern des Dokumentes Unbenannt1:
Allgemeiner Fehler.
Allgemeiner Ein-/Ausgabefehler.
--
Tested with Opensuse 12.3 (x64,KDE 4.10.5), LibreOffice 4.0:build-305 OpenSuse
Build, Webdav Ressource by Egroupware V 1.8.004

Kind Regards

-- 
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 71155] Document Compare in Writer mishandles paragraphs split in two by hitting the Enter key

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71155

--- Comment #2 from Dominique Boutry dominique.bout...@laposte.net ---
LibO 4.1.2.3 on Win7 :

There is no help for Tools  Options  LibreOffice Writer  Comparison (the
ad-hoc help page skip directly from Changes to Compatibility) in the online
help.

After splitting a multi-sentences paragraph with one enter press (one
paragraph mark inserted after a ending .) :
- Comparison Auto : the whole initial paragraph (with multiple sentences) is
noted as deleted ; its content is split in the two new paragraphs
- Comparison by word : are noted as deleted only the last sentence before the
insertion point of the inserted paragraph mark. After this insertion point, the
whole remaining of the initial paragraph is noted as deleted
- Comparison by character : same than by word.

The coherent text is then noted as inserted.

The comparison should have been able to shorten the unchanged ending part of
the modified text, at least it should have kept only the sentence just after
the insertion point.

-- 
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 71180] New: EDITING: Navigator Issue

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71180

  Priority: medium
Bug ID: 71180
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: EDITING: Navigator Issue
  Severity: normal
Classification: Unclassified
OS: Windows (All)
  Reporter: actionmysti...@gmail.com
  Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
   Version: 4.1.2.3 release
 Component: Writer
   Product: LibreOffice

Created attachment 88551
  -- https://bugs.freedesktop.org/attachment.cgi?id=88551action=edit
Before heading modification

Problem description: 
When I modify a heading in the document, the 'Headings' section always closes
if it was previously opened.

Steps to reproduce:
1. Load a document with some headings
2. Open the Navigator
3. Expand the Headings section
4. Change one heading inside the document
5. Notice that the 'Headings' section in the navigator is now closed.

Current behavior:

Expected behavior:
The navigator headings should not close when changes are made in the document
headings.

Operating System: Windows 7
Version: 4.1.2.3 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 71180] EDITING: Navigator Issue

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71180

--- Comment #1 from actionmystique actionmysti...@gmail.com ---
Created attachment 88552
  -- https://bugs.freedesktop.org/attachment.cgi?id=88552action=edit
After heading modification

-- 
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 71181] New: VIEWING: Highlighting a heading in the navigator

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71181

  Priority: medium
Bug ID: 71181
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: VIEWING: Highlighting a heading in the navigator
  Severity: normal
Classification: Unclassified
OS: Windows (All)
  Reporter: actionmysti...@gmail.com
  Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
   Version: 4.1.2.3 release
 Component: Writer
   Product: LibreOffice

Problem description: 
When the headings section of the navigator has been expanded, the cursor
position in the document should be reflected inside the headings section of the
navigator by highlighting the correct current heading.

Steps to reproduce:
1. Open a document
2. Open the navigator and expand the 'Headings' section
3. Position the cursor somewhere inside the document 
4. Notice that the current paragraph related heading where the cursor is placed
has not been highlighted in the navigator.

Current behavior:

Expected behavior:
The highlighted heading in the navigator should reflect the current cursor
position inside the document (as in Microsoft Word for example). 

Operating System: Windows 7
Version: 4.1.2.3 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 71077] Wrong tips for functions in Calc that have a *_ADD variant too

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71077

--- Comment #1 from Dominique Boutry dominique.bout...@laposte.net ---
Reproduced with LibO 4.1.2.3 on Win7

-- 
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 71182] New: Spreadsheets saved in 4.2 Alpha don't show progress when loading

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71182

  Priority: medium
Bug ID: 71182
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: Spreadsheets saved in 4.2 Alpha don't show progress
when loading
  Severity: normal
Classification: Unclassified
OS: Windows (All)
  Reporter: pedl...@gmail.com
  Hardware: Other
Status: NEW
   Version: 4.2.0.0.alpha0+ Master
 Component: Spreadsheet
   Product: LibreOffice

Saving a spreadsheet in LODev 4.2 Alpha 

(using Version: 4.2.0.0.alpha0+
Build ID: 86b79ea1f6afb709f2de8141810a61e4162e3125
TinderBox: Win-x86@47-TDF, Branch:master, Time: 2013-11-01_23:23:48 under
Windows XP Pro x86 SP3 en_US)

results in a file which doesn't display loading progress. The odd thing is that
loading this file under 4.1.3.2 doesn't display progress either. This means
that it is not a regression in 4.2 that prevents the progress bar from
displaying, but a regression in the ODS file structure that causes problems
even with previous releases.

-- 
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 71182] Spreadsheets saved in 4.2 Alpha don't show progress when loading

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71182

Pedro pedl...@gmail.com changed:

   What|Removed |Added

   Keywords||regression

-- 
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 71182] Spreadsheets saved in 4.2 Alpha don't show progress when loading

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71182

--- Comment #1 from Pedro pedl...@gmail.com ---
Created attachment 88553
  -- https://bugs.freedesktop.org/attachment.cgi?id=88553action=edit
Sample ODS saved in LODev 4.2 Alpha to illustrate problem with progress bar

-- 
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 71059] Various formatting is not handled properly on save/load of .xls made with Calc

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71059

--- Comment #1 from Dominique Boutry dominique.bout...@laposte.net ---
Hi

Point 1 / Please how do you manage to show/hide the grid on a per sheet basis
? I only found the global Tools  Options  LibreOffice Calc  View  Grid 
Show/Show on coloured/Hide, not tied to a document.

-- 
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 71183] New: Wrong rendering .cdr file

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71183

  Priority: medium
Bug ID: 71183
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: Wrong rendering .cdr file
  Severity: normal
Classification: Unclassified
OS: Windows (All)
  Reporter: gapl...@yandex.ru
  Hardware: x86-64 (AMD64)
Status: UNCONFIRMED
   Version: unspecified
 Component: Drawing
   Product: LibreOffice

Hi,
Thanks for awesome cdr importing feature but the file in attachment is
rendering wrong. It should look like this one
http://images.all-free-download.com/images/graphiclarge/changzheng_red_flag_vector_179777.jpg
 

Thanks one more time,
Victor

-- 
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 71184] New: Not all fonts show up in context menu

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71184

  Priority: medium
Bug ID: 71184
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: Not all fonts show up in context menu
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: justflyth...@gmail.com
  Hardware: x86-64 (AMD64)
Status: UNCONFIRMED
   Version: 4.1.3.2 rc
 Component: UI
   Product: LibreOffice

1) Type something random in Writer, or in an Impress or Draw textfield
2) Select your text
3) Right-click to open the context menu
4) Go to Font
5) Try to scroll to the end of the list

When this list is long, like in my case on a fresh install of Linux Mint with
on top ttf-mscorefonts installed, the last fonts by alphabet don't show up in
the menu any more. 

I didn't test it right now, but I remember to have seen this bug already years
ago in an OpenOffice installation (Windows).

Actually, in order to improve productivity, it would be nice to have a
scrollbar for this font list anyway, cause navigation through a long list of
fonts is not very efficient in the moment.

-- 
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 71183] Wrong rendering .cdr file

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71183

--- Comment #1 from Victor gapl...@yandex.ru ---
The cdr file can be downloaded here:
https://dl.dropboxusercontent.com/u/7392238/changzheng_red_flag_vector.cdr

-- 
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 71176] Shortcut keys for accented Latin characters

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71176

Urmas davian...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Severity|normal  |enhancement
Summary|ACCESSIBILITY:  |Shortcut keys for accented
   |International characters|Latin characters
   |with non-local keyboard |
   |layout  |
 Ever confirmed|0   |1

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


[Libreoffice-bugs] [Bug 71059] Various formatting is not handled properly on save/load of .xls made with Calc

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71059

--- Comment #2 from Peter H. Rankin Hansen p...@piteraq.dk ---
Hi Dominique!

There is a dedicated button on the formating toolbar. I have attached an 
image showing where it is placed on mine. If it is not shown on your 
toolbar, then go to Show, Toolbar and use ?modify? (I use the daDK 
menus, it's the second item from the bottom).

Den 03-11-2013 12:23, bugzilla-dae...@freedesktop.org skrev:

 *Comment # 1 https://bugs.freedesktop.org/show_bug.cgi?id=71059#c1 
 on bug 71059 https://bugs.freedesktop.org/show_bug.cgi?id=71059 from 
 Dominique Boutry mailto:dominique.bout...@laposte.net *
 Hi

 Point 1 / Please how do you manage to show/hide the grid on a per sheet 
 basis
 ? I only found the global Tools  Options  LibreOffice Calc  View  Grid 
 Show/Show on coloured/Hide, not tied to a document.
 

I hadn't discovered that one. 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 35077] [UI] Add an OPTION to switch off special effects, such as flashing lines around copy source cell(s)

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35077

--- Comment #21 from chtfn stephane.guil...@gmail.com ---
Hi Crxssi

It simply means that this bug is listed on the Vote for Enhancement page on the
TDF wiki: https://wiki.documentfoundation.org/Vote_for_Enhancement

Cheers

-- 
You are receiving this mail because:
You are on the CC list for the bug.
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 71186] New: FORMATTING: Moving rotated text fields is not straightforward

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71186

  Priority: medium
Bug ID: 71186
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: FORMATTING: Moving rotated text fields is not
straightforward
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: justflyth...@gmail.com
  Hardware: x86-64 (AMD64)
Status: UNCONFIRMED
   Version: 4.1.3.2 rc
 Component: Presentation
   Product: LibreOffice

1) Create a text field
2) Rotate the text field (no 90° increments, something in between)
3) Now click somewhere to deselect the text field
4) Try to move the text field to somewhere else

It is rather difficult to move a rotated text field to a new position, cause
when clicking on it, it usually goes straight to the editing mode. 

In Writer, rotated text fields behave different, and to my impression handling
there is more intuitively.

-- 
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 65586] Elements Dock window has no tooltips

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65586

--- Comment #5 from Marcos Souza marcos.souza@gmail.com ---
I send an patch to gerrit:

https://gerrit.libreoffice.org/#/c/6540/

Can someone please take a look?

-- 
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 71169] EDITING: Impress custom animations 'Lighten' and 'Contrasting Color' don't work with pictures

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71169

Rob Snelders programm...@ertai.nl changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
Summary|EDITING: Impress custom |EDITING: Impress custom
   |animations don't work   |animations 'Lighten' and
   ||'Contrasting Color' don't
   ||work with pictures
 Ever confirmed|0   |1

--- Comment #1 from Rob Snelders programm...@ertai.nl ---
It doesn't work with photo's here either.

But when I add a shape it works.

Tested with 4.1.2.3 on Ubuntu 13.04 x86_64

-- 
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 71119] CONFIGURATION: Font Toolbar dissapears often

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71119

Rob Snelders programm...@ertai.nl changed:

   What|Removed |Added

   Severity|normal  |enhancement
Summary|CONFIGURATION: FEATURE  |CONFIGURATION: Font Toolbar
   |REQUEST - FONT EDITING  |dissapears often

-- 
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 49742] FILESAVE: LO Does Not Save Window-Freeze Settings on .XLS files

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49742

bfoman bfo.bugm...@spamgourmet.com changed:

   What|Removed |Added

 CC||cquirkes...@mvps.org

--- Comment #28 from bfoman bfo.bugm...@spamgourmet.com ---
*** Bug 71178 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 71178] Grid and Freeze settings not retained, revert to Off.

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71178

bfoman bfo.bugm...@spamgourmet.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE
 CC||bfo.bugm...@spamgourmet.com

--- Comment #1 from bfoman bfo.bugm...@spamgourmet.com ---


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

-- 
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 71057] Missing redraw - Shadow from comments not removed

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71057

bfoman bfo.bugm...@spamgourmet.com changed:

   What|Removed |Added

 CC||bfo.bugm...@spamgourmet.com

--- Comment #1 from bfoman bfo.bugm...@spamgourmet.com ---
Could you please provide a screenshot of this error?

-- 
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 45811] text lines appear in slide more often than their appearance is defined in custom animation

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45811

kaese...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WORKSFORME

-- 
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 69944] Print layout with more than one window is erratic

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69944

kaese...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #1 from kaese...@gmail.com ---
This is similar to Bug #52498.

-- 
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 67401] Help - About LibreOffice Logo not smooth

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67401

--- Comment #16 from samuel_w...@web.de ---
(In reply to comment #13)
 I know that you should not judge a book by it's cover, but I think action
 must be taken before someone uses this to accuse LibO of being a buggy
 software...
 
 I mean, somebody could argue that LibO comes out with a scrambled about
 box, would you dare compose your documents with such a software?

That's what I think too!

486x80 - original /opt/libreoffice4.1/program/flat_logo.svg

665x109 - cut out on a screenshot, looks as if it has been enlarged, maybe
thats the problem?

-- 
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 67401] Help - About LibreOffice Logo not smooth

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67401

--- Comment #17 from samuel_w...@web.de ---
Created attachment 88560
  -- https://bugs.freedesktop.org/attachment.cgi?id=88560action=edit
original - enlarged

-- 
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 71057] Missing redraw - Shadow from comments not removed

2013-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=71057

--- Comment #3 from Peter H. Rankin Hansen p...@piteraq.dk ---
Created attachment 88562
  -- https://bugs.freedesktop.org/attachment.cgi?id=88562action=edit
The comment shadow after moving the mouse away

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


  1   2   >