LibreOffice Gerrit News for core on 2014-05-05

2014-05-05 Thread gerrit
Moin!

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

 First time contributors doing great things! 
+ fdo#78241 PDF Import: add dashes support
  in https://gerrit.libreoffice.org/9246 from Vort
  about module sdext
 End of freshness 

+ RFC: add IsValueChangedFromSaved to VCL button and listbox
  in https://gerrit.libreoffice.org/9250 from Noel Grandin
  about module forms, include, reportdesign, vcl
+ Asan: fix invalid memory access
  in https://gerrit.libreoffice.org/9249 from Markus Mohrhard
  about module sal
+ fix windows build(external/poppler)
  in https://gerrit.libreoffice.org/9248 from Tomofumi Yagi
  about module build


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

+ Move ImplInitAppFontData from Window to Application
  in https://gerrit.libreoffice.org/9242 from Chris Sherlock


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

+ DrawWaveLine/ImplDrawWaveLine fixes:   - try to avoid huge looping due to
  in https://gerrit.libreoffice.org/9174 from Douglas Mencken
+ FDO#74886: Data labels are not preserved for Column Chart in RT file
  in https://gerrit.libreoffice.org/8098 from Umesh Kadam
+ move inettype.{hc}xx from svl to tools
  in https://gerrit.libreoffice.org/8926 from Christina Roßmanith
+ fdo#43157 Remove OSL_POSTCOND, prefer SAL_WARN_IF
  in https://gerrit.libreoffice.org/8883 from Michaël Lefèvre
+ new method INetURLObject::getData() for data urls
  in https://gerrit.libreoffice.org/8737 from Christina Roßmanith
+ fdo#67544 Slide transistion sound(other sound) is not included in present
  in https://gerrit.libreoffice.org/8700 from Vishv Brahmbhatt
+ fdo#57950: Replace chained O(U)StringBuffer::append() with operator+
  in https://gerrit.libreoffice.org/8699 from Tharindu Lakmal
+ Refactored
  in https://gerrit.libreoffice.org/8683 from Tharindu Lakmal
+ fdo#75757 Remove inheritance to std::map from PropertyMap
  in https://gerrit.libreoffice.org/8656 from Krisztian Pinter
+ Remove visual noise from ios
  in https://gerrit.libreoffice.org/8274 from Alexander Wilms
+ FDO#75205 : Charts - Up Down bars are getting added to Line Chart.
  in https://gerrit.libreoffice.org/8360 from Umesh Kadam
+ WIP: Converting ExtensionUpdate dialog for new format
  in https://gerrit.libreoffice.org/8506 from Rodolfo Ribeiro Gomes
+ Refactored swooxmlexport tests cases. Added function to check contents.
  in https://gerrit.libreoffice.org/8390 from Nikhil Walvekar
+ fdo#71984 fix first line indentation in footnotes for MS Word documents
  in https://gerrit.libreoffice.org/8160 from Andras Timar
+ Lots of changes to Tango icons
  in https://gerrit.libreoffice.org/7987 from Miroslav Mazel
+ sw/docx export: fix handling of document with header and section(s)
  in https://gerrit.libreoffice.org/6248 from Pierre-Eric Pelloux-Prayer
+ fdo#51525 Fix duplicate Paste Special entries in Calc.
  in https://gerrit.libreoffice.org/7784 from Andrzej Hunt
+ fdo#72661: Check ‘Hyphenation active’ automatically
  in https://gerrit.libreoffice.org/7291 from Jiwoong Youn
+ WIP fdo#72987 Use firebird backup format for .odb
  in https://gerrit.libreoffice.org/7299 from Andrzej Hunt
+ WIP: fdo#33980 Preserve selection across all slide sorters.
  in https://gerrit.libreoffice.org/6633 from Andrzej Hunt


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

2014-05-05 Thread Andras Timar
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 82a623fb08afc72decb78f061b751a43ae503678
Author: Andras Timar andras.ti...@collabora.com
Date:   Mon May 5 08:36:28 2014 +0200

Updated core
Project: help  400d3515694ff3857f253c8da9ea44b962161ee0

diff --git a/helpcontent2 b/helpcontent2
index f1e1bf8a..400d351 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit f1e1bf8afae41ba0a7defa75b48ca827d79e33cd
+Subproject commit 400d3515694ff3857f253c8da9ea44b962161ee0
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2014-05-05 Thread Andras Timar
 source/text/shared/guide/assistive.xhp |   31 +--
 1 file changed, 1 insertion(+), 30 deletions(-)

New commits:
commit 400d3515694ff3857f253c8da9ea44b962161ee0
Author: Andras Timar andras.ti...@collabora.com
Date:   Mon May 5 08:36:28 2014 +0200

fdo#39956 delete Java Access Bridge from help

Change-Id: I481f229b6655d1e980179b6f90419d434475f177

diff --git a/source/text/shared/guide/assistive.xhp 
b/source/text/shared/guide/assistive.xhp
index c138c2c..cf213be 100644
--- a/source/text/shared/guide/assistive.xhp
+++ b/source/text/shared/guide/assistive.xhp
@@ -37,36 +37,8 @@
 /bookmark
 paragraph role=heading id=hd_id3147399 xml-lang=en-US level=1 
l10n=U oldref=22variable id=assistivelink 
href=text/shared/guide/assistive.xhp name=Assistive Tools in 
$[officename]Assistive Tools in $[officename]/link
 /variable/paragraph
-paragraph role=paragraph id=par_id3143267 xml-lang=en-US l10n=U 
oldref=25$[officename] supports some assistive technology tools like screen 
magnification software, screen readers, and on-screen keyboards. Most of these 
tools communicate with $[officename] by means of the Java(TM) Access Bridge 
software, that uses the Java Accessibility API, a part of the Java runtime 
environment./paragraph
+paragraph role=paragraph id=par_id3143267 xml-lang=en-US l10n=U 
oldref=25$[officename] supports some assistive technology tools like screen 
magnification software, screen readers, and on-screen keyboards./paragraph
 paragraph role=tip id=par_id8847010 xml-lang=en-US l10n=NEWA current 
list of supported assistive tools can be found on the Wiki at link 
href=http://wiki.documentfoundation.org/Accessibility;http://wiki.documentfoundation.org/Accessibility/link./paragraph
-paragraph role=heading id=hd_id3145345 xml-lang=en-US level=2 
l10n=U oldref=12Requirements to use assistive tools in 
$[officename]/paragraph
-list type=unordered
-listitem
-paragraph role=listitem id=par_id3147209 xml-lang=en-US l10n=U 
oldref=13Java Runtime Environment (JRE) version 1.4.1_01 and higher, or 
version 1.4.0_02 with the locale set to en_us./paragraph
-/listitem
-listitem
-paragraph role=listitem id=par_id3146797 xml-lang=en-US l10n=U 
oldref=26Most recent version of the software for your assistive 
tool/paragraph
-/listitem
-listitem
-paragraph role=listitem id=par_id3149578 xml-lang=en-US l10n=U 
oldref=15On Windows systems, link 
href=http://www.sun.com/access/downloads/; name=Java Access BridgeJava 
Access Bridge/link software version 1.0.3 or higher /paragraph
-/listitem
-listitem
-paragraph role=listitem id=par_id3149762 xml-lang=en-US l10n=U 
oldref=16On UNIX(R) systems, the GNOME 2 desktop environment with the Java 
Access Bridge software for GNOME/paragraph
-/listitem
-/list
-paragraph role=heading id=hd_id3149795 xml-lang=en-US level=2 
l10n=U oldref=23Supported Assistive Tools/paragraph
-paragraph role=paragraph id=par_id3155419 xml-lang=en-US l10n=U 
oldref=2On Windows systems, $[officename] directly supports most on-screen 
keyboard software. Additional support for assistive tools is provided by the 
Java Access Bridge software. The following is a list of some assistive tools 
that use the Java Access Bridge software to exchange data with 
$[officename]:/paragraph
-list type=unordered
-listitem
-paragraph role=listitem id=par_id3156329 xml-lang=en-US l10n=U 
oldref=4ZoomText Screen Magnifier (version 7.11 or 
higher)(Windows)/paragraph
-/listitem
-listitem
-paragraph role=listitem id=par_id3155628 xml-lang=en-US l10n=U 
oldref=5Gnopernicus Screen Reader and Magnifier, using GNOME Assistive 
Technology Service Provider Interface (at-spi) and Java Accessibility API 
software/paragraph
-/listitem
-listitem
-paragraph role=listitem id=par_id3148474 xml-lang=en-US l10n=U 
oldref=6GNOME On Screen Keyboard (GOK), using GNOME at-spi and Java 
Accessibility API software/paragraph
-/listitem
-/list
 paragraph role=heading id=hd_id3153061 xml-lang=en-US level=2 
l10n=U oldref=24Supported Input Devices/paragraph
 paragraph role=paragraph id=par_id3156024 xml-lang=en-US l10n=U 
oldref=7$[officename] provides the ability to use alternative input devices 
for access to all functions of $[officename]./paragraph
 list type=unordered
@@ -80,7 +52,6 @@
 paragraph role=listitem id=par_id3153379 xml-lang=en-US l10n=U 
oldref=10Screen readers allow visually impaired users to access 
$[officename] with text-to-speech and Braille displays./paragraph
 /listitem
 /list
-paragraph role=note id=par_id3149808 xml-lang=en-US l10n=U 
oldref=11When accessibility support in $[officename] is enabled, the Java 
Runtime Environment is loaded, and increases the startup time for 
$[officename]./paragraph
 section id=relatedtopics
 embed href=text/shared/guide/accessibility.xhp#accessibility/
 paragraph role=paragraph id=par_id3152933 xml-lang=en-US l10n=U 
oldref=18switchinline select=syscaseinline select=MAC%PRODUCTNAME - 
Preferences/caseinlinedefaultinlineTools - 

Re: Questions about getCppuType

2014-05-05 Thread sberg
On 04/25/2014 11:06 PM, julien2412 [via Document Foundation Mail 
Archive] wrote:
 I've begun to replace some parts and had this when I've changed this:
 else if ( pType == ::getCppuType((const sal_uInt16*)0) )
 into this:
 else if ( pType == cppu::UnoTypeconst sal_uInt16::get() )

That's the problem with getCppuType, that sal_uInt16 (representing UNO 
UNSIGNED SHORT) and sal_Unicode (representing UNO CHAR) can be typedefs 
for one and the same type, so getCppuType arbitrarily has to decide for 
one of those.

With cppu::UnoType, instead use cppu::UnoUnsignedShortType and 
cppu::UnoCharType as template arguments, respectively.  (And do get rid 
of the useless const in the template arguments.)

Stephan




--
View this message in context: 
http://nabble.documentfoundation.org/Questions-about-getCppuType-tp4106361p4107618.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: sw/qa writerfilter/source

2014-05-05 Thread sushil_shinde
 sw/qa/extras/ooxmlexport/data/fdo77727.docx   |binary
 sw/qa/extras/ooxmlexport/ooxmlexport.cxx  |   12 
 writerfilter/source/dmapper/DomainMapper.cxx  |   14 +-
 writerfilter/source/dmapper/DomainMapper_Impl.cxx |   11 ++-
 writerfilter/source/dmapper/DomainMapper_Impl.hxx |3 +++
 5 files changed, 38 insertions(+), 2 deletions(-)

New commits:
commit 61e8452c62a587b40bf80076642b869cbd1b7ed6
Author: sushil_shinde sushil.shi...@synerzip.com
Date:   Mon Apr 28 17:10:27 2014 +0530

fdo#77727 PAGEBREAK In first paragraph was not rendered and exported.

  Case 1: If PAGEBREAK appears in first paragraph, LO was inserting
   BreakType_PAGE_BEFORE but since it was first paragraph, PAGEBREAK
   was not rendered in LO hence not exported back to docx file properly.
  case 2: If PAGEBREAK appears after first run of any paragraph in document
   LO was rendering it in wrong paragraph.
  case 3: If COLUMNBREAK appears in first paragraph of section, LO was not
   rendering and exporting it.

Change-Id: Ic557b3e6f80cfa6dd3eb6b4204be7e6531b9ecbf
Reviewed-on: https://gerrit.libreoffice.org/9191
Reviewed-by: Miklos Vajna vmik...@collabora.co.uk
Tested-by: Miklos Vajna vmik...@collabora.co.uk

diff --git a/sw/qa/extras/ooxmlexport/data/fdo77727.docx 
b/sw/qa/extras/ooxmlexport/data/fdo77727.docx
new file mode 100644
index 000..9f553e2
Binary files /dev/null and b/sw/qa/extras/ooxmlexport/data/fdo77727.docx differ
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx 
b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
index 2edbd28..44b9aa7 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
@@ -3210,6 +3210,18 @@ DECLARE_OOXMLEXPORT_TEST(testContentTypeOLE, 
fdo77759.docx)
 /word/embeddings/oleObject1.xlsx);
 }
 
+DECLARE_OOXMLEXPORT_TEST(testPageBreakInFirstPara,fdo77727.docx)
+{
+/* Break to next page was not exported if it is in first paragraph of the 
section.
+ * Now after fix , LO writes Next Page Break and also preserves w:br tag.
+ */
+xmlDocPtr pXmlDoc = parseExport(word/document.xml);
+if (!pXmlDoc)
+return;
+
+assertXPath(pXmlDoc, 
/w:document/w:body/w:p[1]/w:r[2]/w:br,type,page);
+}
+
 #endif
 
 CPPUNIT_PLUGIN_IMPLEMENT();
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx 
b/writerfilter/source/dmapper/DomainMapper.cxx
index 858bb93..43b382d 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -2795,10 +2795,22 @@ void DomainMapper::lcl_utext(const sal_uInt8 * data_, 
size_t len)
 if ( pContext  !pContext-GetFootnote().is() )
 {
 if (m_pImpl-isBreakDeferred(PAGE_BREAK))
+{
+/* If PAGEBREAK appears in first paragraph of the section 
or
+ * after first run of any paragraph then need to split 
paragraph
+ * to handle it properly.
+ */
+if (m_pImpl-GetIsFirstParagraphInSection() || 
!m_pImpl-IsFirstRun())
+{
+m_pImpl-m_bIsSplitPara = true;
+
m_pImpl-finishParagraph(m_pImpl-GetTopContextOfType(CONTEXT_PARAGRAPH));
+lcl_startParagraphGroup();
+}
 m_pImpl-GetTopContext()-Insert( PROP_BREAK_TYPE, 
uno::makeAny( com::sun::star::style::BreakType_PAGE_BEFORE) );
+}
 else if (m_pImpl-isBreakDeferred(COLUMN_BREAK))
 {
-if (!m_pImpl-IsFirstRun())
+if (m_pImpl-GetIsFirstParagraphInSection() || 
!m_pImpl-IsFirstRun())
 {
 mbIsSplitPara = true;
 
m_pImpl-finishParagraph(m_pImpl-GetTopContextOfType(CONTEXT_PARAGRAPH));
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx 
b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index a738d83..410b064 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -198,6 +198,7 @@ DomainMapper_Impl::DomainMapper_Impl(
 m_bIgnoreNextPara(false),
 m_bIgnoreNextTab(false),
 m_bFrameBtLr(false),
+m_bIsSplitPara(false),
 m_vTextFramesForChaining()
 
 {
@@ -459,7 +460,15 @@ voidDomainMapper_Impl::PushProperties(ContextType eId)
 pSectionContext_-SetStart( xTextAppend-getEnd() );
 }
 }
-m_aPropertyStacks[eId].push( pInsert );
+if(eId == CONTEXT_PARAGRAPH  m_bIsSplitPara)
+{
+m_aPropertyStacks[eId].push( GetTopContextOfType(eId));
+m_bIsSplitPara = false;
+}
+else
+{
+m_aPropertyStacks[eId].push( pInsert );
+}
 m_aContextStack.push(eId);
 
 m_pTopContext = 

[Libreoffice-commits] mso-dumper.git: msodumper/docrecord.py

2014-05-05 Thread Miklos Vajna
 msodumper/docrecord.py |   31 ---
 1 file changed, 28 insertions(+), 3 deletions(-)

New commits:
commit ace8c2bce95132942b7116a92cf3ac97742ffcae
Author: Miklos Vajna vmik...@collabora.co.uk
Date:   Mon May 5 09:51:34 2014 +0200

dump TableBordersOperand

diff --git a/msodumper/docrecord.py b/msodumper/docrecord.py
index 61512d7..63d3744 100644
--- a/msodumper/docrecord.py
+++ b/msodumper/docrecord.py
@@ -434,9 +434,11 @@ class COLORREF(DOCDirStream):
 
 class BRC(DOCDirStream):
 The Brc structure specifies a border.
-def __init__(self, parent):
+def __init__(self, parent, name=brc):
 DOCDirStream.__init__(self, parent.bytes)
 self.pos = parent.pos
+self.parent = parent
+self.name = name
 self.posOrig = self.pos
 self.cv = COLORREF(self)
 self.dptLineWidth = self.readuInt8()
@@ -448,7 +450,7 @@ class BRC(DOCDirStream):
 self.fReserved = (buf  0xff80)  7  # 8..16th bits
 
 def dump(self):
-print 'brc type=BRC offset=%d' % self.posOrig
+print '%s type=BRC offset=%d' % (self.name, self.posOrig)
 self.cv.dump(cv)
 self.printAndSet(dptLineWidth, self.dptLineWidth)
 self.printAndSet(brcType, self.brcType, dict=BrcType)
@@ -456,7 +458,8 @@ class BRC(DOCDirStream):
 self.printAndSet(fShadow, self.fShadow)
 self.printAndSet(fFrame, self.fFrame)
 self.printAndSet(fReserved, self.fReserved)
-print '/brc'
+print '/%s' % self.name
+self.parent.pos = self.pos
 
 
 class PChgTabsDel(DOCDirStream):
@@ -1189,6 +1192,26 @@ class TDefTableOperand(DOCDirStream):
 print '/tDefTableOperand'
 
 
+class TableBordersOperand(DOCDirStream):
+The TableBordersOperand structure specifies a set of borders for a 
table row.
+def __init__(self, parent):
+DOCDirStream.__init__(self, parent.bytes)
+self.pos = parent.pos
+
+def dump(self):
+print 'tableBordersOperand'
+self.printAndSet(cb, self.readuInt8())
+posOrig = self.pos
+BRC(self, brcTop).dump()
+BRC(self, brcLeft).dump()
+BRC(self, brcBottom).dump()
+BRC(self, brcRight).dump()
+BRC(self, brcHorizontalInside).dump()
+BRC(self, brcVerticalInside).dump()
+assert self.pos == posOrig + 0x30
+print '/tableBordersOperand'
+
+
 class SHDOperand(DOCDirStream):
 The SDHOperand structure is an operand that is used by several Sprm
 structures to specify the background shading to be applied.
@@ -1276,6 +1299,8 @@ class Sprm(DOCDirStream):
 self.ct = TDefTableOperand(self)
 elif self.sprm == 0xca71:
 self.ct = SHDOperand(self)
+elif self.sprm == 0xd613:
+self.ct = TableBordersOperand(self)
 else:
 print 'todo what=Sprm::__init__() unhandled sprm of size %s: 
%s/' % (self.getOperandSize(), hex(self.sprm))
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


WB_3DLOOK

2014-05-05 Thread Chris Sherlock
Hi all,

I have been review the Window classes in VCL and I noticed a window style 
WB_3DLOOK. It appears to set 

* the window button colour and the window text color - see 
http://opengrok.libreoffice.org/xref/core/vcl/source/window/window.cxx#1144

* face colour for split windows, docking windows and toolboxes - see 
http://opengrok.libreoffice.org/xref/core/vcl/source/window/splitwin.cxx#1343 
and 
http://opengrok.libreoffice.org/xref/core/vcl/source/window/dockwin.cxx#357 and 
also http://opengrok.libreoffice.org/xref/core/vcl/source/window/toolbox.cxx#551

I guess my question is: is this still desirable behaviour? Do we still want to 
specify a 3D or non-3D look in the window style? Almost everything sets it to 
on anyway from what I can see.

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


[Libreoffice-commits] mso-dumper.git: msodumper/docrecord.py

2014-05-05 Thread Miklos Vajna
 msodumper/docrecord.py |   23 +++
 1 file changed, 23 insertions(+)

New commits:
commit d68a41972acc9414a5316e61e2d3e7975026f351
Author: Miklos Vajna vmik...@collabora.co.uk
Date:   Mon May 5 10:32:28 2014 +0200

dump TableBordersOperand80

diff --git a/msodumper/docrecord.py b/msodumper/docrecord.py
index 63d3744..7b9dcfc 100644
--- a/msodumper/docrecord.py
+++ b/msodumper/docrecord.py
@@ -1212,6 +1212,27 @@ class TableBordersOperand(DOCDirStream):
 print '/tableBordersOperand'
 
 
+class TableBordersOperand80(DOCDirStream):
+The TableBordersOperand80 structure is an operand that specifies the
+borders which are applied to a row of table cells.
+def __init__(self, parent):
+DOCDirStream.__init__(self, parent.bytes)
+self.pos = parent.pos
+
+def dump(self):
+print 'tableBordersOperand80'
+self.printAndSet(cb, self.readuInt8())
+posOrig = self.pos
+Brc80MayBeNil(self, brcTop).dump()
+Brc80MayBeNil(self, brcLeft).dump()
+Brc80MayBeNil(self, brcBottom).dump()
+Brc80MayBeNil(self, brcRight).dump()
+Brc80MayBeNil(self, brcHorizontalInside).dump()
+Brc80MayBeNil(self, brcVerticalInside).dump()
+assert self.pos == posOrig + 0x18
+print '/tableBordersOperand80'
+
+
 class SHDOperand(DOCDirStream):
 The SDHOperand structure is an operand that is used by several Sprm
 structures to specify the background shading to be applied.
@@ -1301,6 +1322,8 @@ class Sprm(DOCDirStream):
 self.ct = SHDOperand(self)
 elif self.sprm == 0xd613:
 self.ct = TableBordersOperand(self)
+elif self.sprm == 0xd605:
+self.ct = TableBordersOperand80(self)
 else:
 print 'todo what=Sprm::__init__() unhandled sprm of size %s: 
%s/' % (self.getOperandSize(), hex(self.sprm))
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Windows TinderBoxes of Master need attention

2014-05-05 Thread Jan Holesovsky
Hi Stuart,

V Stuart Foote píše v Pá 02. 05. 2014 v 20:24 +:

 Thanks, but that give a little love was from the last TB's off-line cycle 
 in February =)

Ah!  Was searching the list if anybody is complaining about the recent
breakage, and did not check the date ;-)

 Issue is in there somewhere.

Markus has fixed the problems there - thank you, Moggi!, @38, @39 and
other Windows ones are green again.

All the best,
Kendy

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


[Libreoffice-commits] mso-dumper.git: 2 commits - msodumper/docrecord.py

2014-05-05 Thread Miklos Vajna
 msodumper/docrecord.py |   18 +++---
 1 file changed, 11 insertions(+), 7 deletions(-)

New commits:
commit 8f9c1fcdc12ccfcaf952d523c7238315f617c19d
Author: Miklos Vajna vmik...@collabora.co.uk
Date:   Mon May 5 11:07:01 2014 +0200

dump sprmPHugePapx

diff --git a/msodumper/docrecord.py b/msodumper/docrecord.py
index fe4bf4b..6904c5e 100644
--- a/msodumper/docrecord.py
+++ b/msodumper/docrecord.py
@@ -1299,6 +1299,10 @@ class Sprm(DOCDirStream):
 self.operand = self.getuInt32()
 if self.sprm == 0x6a03 and transformed == r\x01:
 self.ct = PICFAndOfficeArtData(self)
+elif self.sprm == 0x6646:  # sprmPHugePapx
+dataStream = mainStream.doc.getDirectoryStreamByName(Data)
+dataStream.pos = self.operand
+self.ct = PrcData(dataStream)
 elif self.getOperandSize() == 7:
 self.operand = self.getuInt64()  0x0fff
 elif self.getOperandSize() == 9:
commit b3c65365b1a8be1a521d103b832809ed28eafbcf
Author: Miklos Vajna vmik...@collabora.co.uk
Date:   Mon May 5 11:02:18 2014 +0200

doc: make mainStream available in Sprms

diff --git a/msodumper/docrecord.py b/msodumper/docrecord.py
index 7b9dcfc..fe4bf4b 100644
--- a/msodumper/docrecord.py
+++ b/msodumper/docrecord.py
@@ -1406,8 +1406,8 @@ class Prl(DOCDirStream):
 
 class GrpPrlAndIstd(DOCDirStream):
 The GrpPrlAndIstd structure specifies the style and properties that are 
applied to a paragraph, a table row, or a table cell.
-def __init__(self, bytes, offset, size):
-DOCDirStream.__init__(self, bytes)
+def __init__(self, bytes, offset, size, mainStream=None):
+DOCDirStream.__init__(self, bytes, mainStream=mainStream)
 self.pos = offset
 self.size = size
 
@@ -1417,7 +1417,7 @@ class GrpPrlAndIstd(DOCDirStream):
 self.printAndSet(istd, self.getuInt16())
 pos += 2
 while (self.size - (pos - self.pos))  0:
-prl = Prl(self, pos)
+prl = Prl(self, pos, mainStream=self.mainStream)
 prl.dump()
 pos += prl.getSize()
 print '/grpPrlAndIstd'
@@ -1451,7 +1451,7 @@ class Chpx(DOCDirStream):
 class PapxInFkp(DOCDirStream):
 The PapxInFkp structure specifies a set of text properties.
 def __init__(self, bytes, mainStream, offset):
-DOCDirStream.__init__(self, bytes)
+DOCDirStream.__init__(self, bytes, mainStream=mainStream)
 self.pos = offset
 
 def dump(self):
@@ -1459,9 +1459,9 @@ class PapxInFkp(DOCDirStream):
 self.printAndSet(cb, self.readuInt8())
 if self.cb == 0:
 self.printAndSet(cb_, self.readuInt8())
-grpPrlAndIstd = GrpPrlAndIstd(self.bytes, self.pos, 2 * self.cb_)
+grpPrlAndIstd = GrpPrlAndIstd(self.bytes, self.pos, 2 * self.cb_, 
mainStream=self.mainStream)
 else:
-grpPrlAndIstd = GrpPrlAndIstd(self.bytes, self.pos, self.cb)
+grpPrlAndIstd = GrpPrlAndIstd(self.bytes, self.pos, self.cb, 
mainStream=self.mainStream)
 grpPrlAndIstd.dump()
 print '/papxInFkp'
 
@@ -1471,7 +1471,7 @@ class BxPap(DOCDirStream):
 size = 13  # in bytes, see 2.9.23
 
 def __init__(self, bytes, mainStream, offset, parentoffset):
-DOCDirStream.__init__(self, bytes)
+DOCDirStream.__init__(self, bytes, mainStream=mainStream)
 self.pos = offset
 self.parentpos = parentoffset
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Help: Get and setting document level user variables doesn’t working before LibreOffice version 4.2.1.1.

2014-05-05 Thread Nikunj Banker
Dear Libreoffice developer community,

I have just started maintaining one libreoffice plug-in, it has following code 
which were working before LibreOffice version 4.2.1.1. This code is used to 
store and retrieve document level information:

'
' FUNCTION: SetUserVariable
' Set Info to the current Document
' Returns:  Status;Success or Failure
' Arguments:oDocument  Document Object to which info will be stored
'   iIndex Index of the Variable where info will get stored
'   sVarName
  Varaible Name to be stored
'   aValue  
   Value to be stored
'
Function SetUserVariable(ByVal oDocument As Object, ByVal iIndex As Integer, 
ByVal sVarName As String, ByVal aValue As Variant) As Boolean
Dim oDocumentInfo As Object
Dim iCnt As Integer
On Error GoTo ErrHandler
If Not IsNull(oDocument) Then
SetUserVariable = False
oDocumentInfo = oDocument.getDocumentInfo()
iCnt = oDocumentInfo.getUserFieldCount()
If iIndex  iCnt Then

oDocumentInfo.setUserFieldName(iIndex, sVarName)

oDocumentInfo.setUserFieldValue(iIndex, aValue)
SetUserVariable = True 'Success 
Exit Function
End If
End If
Exit Function
ErrHandler:
  LogError(DECOSDIRECT.SetUserVariable, Error$, Erl)
SetUserVariable = False
End Function
'
' FUNCTION: GetUserVariable
' Get Info of the current Document
' Returns:  Status;Success or Failure and Document Info
' Arguments:oDocument  Document Object to which info will be stored
'   iIndex Index of the Variable where info will get stored
'   sVarName
  Varaible Name to be stored
'   aValue  
   Value which will be returened
'
Function GetUserVariable(ByVal oDocument As Object, ByVal iIndex As Integer, 
ByVal sVariable As String, ByRef sValue As Variant) As Boolean
Dim vCount As Integer
Dim oDocumentInfo As Object
Dim iCnt As Integer
On Error GoTo ErrHandler
If Not IsNull(oDocument) Then
oDocumentInfo = oDocument.getDocumentInfo()
iCnt = oDocumentInfo.getUserFieldCount()
If iIndex  iCnt Then
If sVariable = 
oDocumentInfo.getUserFieldName(iIndex) Then
sValue = 
oDocumentInfo.getUserFieldValue(iIndex)
GetUserVariable 
= True
Else
GetUserVariable 
= False
End If
End If
End If
Exit Function
ErrHandler:
LogError(DECOSDIRECT.GetUserVariable, Error$, Erl)
GetUserVariable = False
End Function

Here, oDocument is ‘thisComponent’. In above code red marked methods doesn’t 
working before LibreOffice version 4.2.1.1. Can you please help us to provide 
updated API or alternative solution.

The following API not working with latest version of LibreOffice:

oDocumentInfo = oDocument.getDocumentInfo()
iCnt = oDocumentInfo.getUserFieldCount()
oDocumentInfo.getUserFieldName(iIndex)
and
oDocumentInfo.getUserFieldValue(iIndex)

It’s found that these methods/API are depreciated, can you provide new API 
calls that are necessary to add user properties to a file/document?

Thanks  Regards,
Nikunj Banker
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2014-05-05 Thread Stephan Bergmann
 vcl/source/outdev/text.cxx |4 
 1 file changed, 4 insertions(+)

New commits:
commit 304b3b3910bb472d663baaa789970df55ceeb09e
Author: Stephan Bergmann sberg...@redhat.com
Date:   Mon May 5 10:50:22 2014 +0200

Handle GetTextBreak returning -1

I don't know what the root cause is exactly that made at least Mac OS X
--enable-dbgutil JunitTest_forms_unoapi start to fail recently, but when 
nWidth
is just 1 (which might be the root of the problem here, but could probably 
also
legitimately be the case) and GetTextWidth returns -1 (which it probably is
allowed to do), this would lead to an out-of-bounds OUString::operator[] 
access
at

 rtl::OUString::operator[] (this=0x118a04be0, index=-1) at ustring.hxx:421
 com::sun::star::i18n::BreakIterator_Unicode::getLineBreak 
(this=0x11986f6f8, Text=@0x118a04be0, nStartPos=-2, rLocale=@0x7fbd83821d98, 
nMinBreakPos=4, hOptions=@0x118a04620) at 
i18npool/source/breakiterator/breakiterator_unicode.cxx:429
 com::sun::star::i18n::BreakIteratorImpl::getLineBreak (this=0x1112d5c98, 
Text=@0x118a04be0, nStartPos=-1, rLocale=@0x7fbd83821d98, nMinBreakPos=4, 
hOptions=@0x118a04620, bOptions=@0x118a045f8) at 
i18npool/source/breakiterator/breakiteratorImpl.cxx:242
 OutputDevice::ImplGetTextLines (rLineInfo=@0x118a04bb0, nWidth=1, 
rStr=@0x118a04be0, nStyle=12560, _rLayout=@0x118a04db8) at 
vcl/source/outdev/text.cxx:527
 OutputDevice::ImplDrawText (this=0x7fbd8302d000, 
rTargetDevice=@0x7fbd8302d000, rRect=@0x118a05058, rOrigStr=@0x118a04f70, 
nStyle=12560, pVector=0x0, pDisplayText=0x0, _rLayout=@0x118a04db8) at 
vcl/source/outdev/text.cxx:1500
 OutputDevice::DrawText (this=0x7fbd8302d000, rRect=@0x118a05058, 
rOrigStr=@0x118a04f70, nStyle=12560, pVector=0x0, pDisplayText=0x0, 
_pTextLayout=0x0) at vcl/source/outdev/text.cxx:1754
 sfx2::TitledDockingWindow::Paint (this=0x7fbd8302d000, 
i_rArea=@0x118a051d0) at sfx2/source/dialog/titledockwin.cxx:218

Change-Id: I95c6027e86b9a608fe9eb05ffb83fb2316c175f2

diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index bb9fbc1..af9eb1b 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -521,6 +521,10 @@ long OutputDevice::ImplGetTextLines( 
ImplMultiTextLineInfo rLineInfo,
 {
 const css::lang::Locale 
rDefLocale(Application::GetSettings().GetUILanguageTag().getLocale());
 sal_Int32 nSoftBreak = _rLayout.GetTextBreak( rStr, 
nWidth, nPos, nBreakPos - nPos );
+if (nSoftBreak == -1)
+{
+nSoftBreak = nPos;
+}
 DBG_ASSERT( nSoftBreak  nBreakPos, Break?! );
 css::i18n::LineBreakHyphenationOptions aHyphOptions( 
xHyph, css::uno::Sequence css::beans::PropertyValue(), 1 );
 css::i18n::LineBreakUserOptions aUserOptions;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] help.git: 4 commits - helpers/help_hid.lst source/auxiliary source/text

2014-05-05 Thread Thomas Arnhold
 helpers/help_hid.lst|  271 
 source/auxiliary/scalc.tree |3 
 source/auxiliary/simpress.tree  |3 
 source/auxiliary/swriter.tree   |2 
 source/text/shared/01/digitalsignatures.xhp |4 
 source/text/shared/01/securitywarning.xhp   |1 
 6 files changed, 1 insertion(+), 283 deletions(-)

New commits:
commit ada56299c9e1c2d2cf36a475fc4e746bf5977354
Author: Thomas Arnhold tho...@arnhold.org
Date:   Mon May 5 10:45:40 2014 +0200

remove some obsolete comments

diff --git a/source/auxiliary/scalc.tree b/source/auxiliary/scalc.tree
index fbaf76d..41a7455 100644
--- a/source/auxiliary/scalc.tree
+++ b/source/auxiliary/scalc.tree
@@ -116,7 +116,6 @@
node id=0806 title=Filtering and Sorting
 topic id=scalc/text/scalc/guide/filters.xhpApplying Filters/topic
 topic id=scalc/text/scalc/guide/specialfilter.xhpFilter: Applying Advanced 
Filters/topic
-!-- removed scalc/text/scalc/guide/standardfilter.xhp --
 topic id=scalc/text/scalc/guide/autofilter.xhpApplying AutoFilter/topic
 topic id=scalc/text/scalc/guide/sorted_list.xhpApplying Sort Lists/topic
/node
@@ -129,7 +128,6 @@
node id=0808 title=Data Ranges
 topic id=scalc/text/scalc/guide/database_define.xhpDefining Database 
Ranges/topic
 topic id=scalc/text/scalc/guide/database_filter.xhpFiltering Cell Ranges 
/topic
-!-- removed scalc/text/scalc/guide/database_group.xhp --
 topic id=scalc/text/scalc/guide/database_sort.xhpSorting Data /topic
/node
node id=0809 title=Pivot Table
@@ -176,7 +174,6 @@
 topic id=scalc/text/scalc/guide/cell_unprotect.xhpUnprotecting 
Cells/topic
/node
node id=0815 title=Miscellaneous
-!-- removed scalc/text/scalc/guide/autofill.xhp --
 topic id=scalc/text/scalc/guide/auto_off.xhpDeactivating Automatic 
Changes/topic
 topic id=scalc/text/scalc/guide/consolidate.xhpConsolidating Data/topic
 topic id=scalc/text/scalc/guide/goalseek.xhpApplying Goal Seek/topic
diff --git a/source/auxiliary/simpress.tree b/source/auxiliary/simpress.tree
index b27417c..1ac37ba 100644
--- a/source/auxiliary/simpress.tree
+++ b/source/auxiliary/simpress.tree
@@ -146,8 +146,6 @@
 topic id=simpress/text/simpress/guide/layer_move.xhpMoving Objects to a 
Different Layer/topic
/node
node id=0409 title=Text in Presentations and Drawings
-!-- removed sdraw/text/sdraw/guide/text_3d.xhp --
-!-- removed sdraw/text/sdraw/guide/text_to_bitmap.xhp --
 topic id=sdraw/text/sdraw/guide/text_enter.xhpAdding Text/topic
 topic id=simpress/text/simpress/guide/text2curve.xhpConverting Text 
Characters into Drawing Objects/topic
/node
@@ -155,7 +153,6 @@
 topic id=simpress/text/simpress/guide/individual.xhpCreating a Custom 
Slide Show/topic
 topic id=simpress/text/simpress/guide/arrange_slides.xhpChanging the Slide 
Order/topic
 topic id=simpress/text/simpress/guide/change_scale.xhpZooming With the 
Keypad/topic
-!-- removed simpress/text/simpress/guide/livemode.xhp --
 topic id=simpress/text/simpress/guide/rehearse_timings.xhpRehearse Timings 
of Slide Changes/topic
/node
/help_section
diff --git a/source/auxiliary/swriter.tree b/source/auxiliary/swriter.tree
index 5afecb0..663d7db 100644
--- a/source/auxiliary/swriter.tree
+++ b/source/auxiliary/swriter.tree
@@ -165,7 +165,6 @@
 topic id=swriter/text/swriter/guide/header_pagestyles.xhpDefining 
Different Headers and Footers/topic
 topic id=swriter/text/swriter/guide/header_with_chapter.xhpInserting a 
Chapter Name and Number in a Header or a Footer/topic
 topic id=swriter/text/swriter/guide/fields_userdata.xhpQuerying User Data 
in Fields or Conditions/topic
-!-- removed swriter/text/swriter/guide/fontwork.xhp --
 topic id=swriter/text/swriter/guide/footnote_usage.xhpInserting and 
Editing Footnotes or Endnotes/topic
 topic id=swriter/text/swriter/guide/footnote_with_line.xhpSpacing Between 
Footnotes/topic
 topic id=swriter/text/swriter/guide/header_footer.xhpAbout Headers and 
Footers/topic
@@ -204,7 +203,6 @@
node id=0218 title=Troubleshooting Tips
 topic id=swriter/text/swriter/guide/insert_beforetable.xhpInserting Text 
Before a Table at the Top of Page/topic
 topic id=swriter/text/swriter/guide/jump2statusbar.xhpGoing to Specific 
Bookmark/topic
-!-- removed swriter/text/swriter/guide/link_edit.xhp --
/node
node id=0219 title=Loading, Saving, Importing, and 
Exporting
 topic id=swriter/text/swriter/guide/send2html.xhpSaving Text Documents in 
HTML Format/topic
commit 03927063275bd08b7b109f30aeafb9ffeda77a14
Author: Thomas Arnhold tho...@arnhold.org
Date:   Mon May 5 10:43:58 2014 +0200

unused floating window RID_SVXTBX_GRFFILTER

diff --git a/helpers/help_hid.lst b/helpers/help_hid.lst
index 8ac8531..6f2fe9c 100644
--- a/helpers/help_hid.lst
+++ b/helpers/help_hid.lst
@@ -1817,18 

[Libreoffice-commits] core.git: helpcontent2

2014-05-05 Thread Thomas Arnhold
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8f08def4aefc6b92366536fb1fb6620527474129
Author: Thomas Arnhold tho...@arnhold.org
Date:   Mon May 5 10:45:40 2014 +0200

Updated core
Project: help  ada56299c9e1c2d2cf36a475fc4e746bf5977354

diff --git a/helpcontent2 b/helpcontent2
index 400d351..ada5629 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit 400d3515694ff3857f253c8da9ea44b962161ee0
+Subproject commit ada56299c9e1c2d2cf36a475fc4e746bf5977354
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2014-05-05 Thread Miklos Vajna
 desktop/inc/app.hxx  |1 
 desktop/source/app/app.cxx   |1 
 include/vcl/svapp.hxx|   32 ++
 include/vcl/window.hxx   |2 +
 vcl/source/app/svapp.cxx |   52 +--
 vcl/source/outdev/map.cxx|   11 +
 vcl/source/window/window.cxx |   48 +++
 7 files changed, 76 insertions(+), 71 deletions(-)

New commits:
commit b4107411900f5bb4c215e2d9db09fc2b2b82939b
Author: Miklos Vajna vmik...@collabora.co.uk
Date:   Mon May 5 11:54:16 2014 +0200

Revert Move ImplInitAppFontData from Window to Application

This reverts commit f76026a43acc65465882924796d93e635c35fd90. This
brings back the paragraph style and font name combo boxes in Writer.

Change-Id: Idb28253797ef842d575fe10537f6e70faa34fe75

diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx
index 8b8affe..67fc3fb 100644
--- a/desktop/inc/app.hxx
+++ b/desktop/inc/app.hxx
@@ -128,7 +128,6 @@ class Desktop : public Application
 // throws an exception upon failure
 
 private:
-
 voidRegisterServices(
 css::uno::Reference 
css::uno::XComponentContext  const  context);
 voidDeregisterServices();
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 5f4b3bb..377afc7 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -1493,7 +1493,6 @@ int Desktop::Main()
the main thread is not yet in the event loop.
 */
 Application::GetDefaultDevice();
-InitAppFontData();
 
 #if HAVE_FEATURE_EXTENSIONS
 // Check if bundled or shared extensions were added /removed
diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx
index ddf5c63..1b8f6e1 100644
--- a/include/vcl/svapp.hxx
+++ b/include/vcl/svapp.hxx
@@ -265,12 +265,6 @@ public:
 */
 virtual voidInit();
 
-protected:
-/** Initialize font data for the application.
- */
-virtual voidInitAppFontData();
-
-public:
 /** Finish initialization of the application.
 
  @see Init, DeInit
@@ -354,7 +348,7 @@ public:
 
  @returns true if exited successfully, false if not able to fully exit
 */
-virtual boolQueryExit();
+virtual bool   QueryExit();
 
 /** Send user event.
 
@@ -632,7 +626,7 @@ public:
 
  @see IsInExecute, IsInModalMode
 */
-static bool IsInMain();
+static bool IsInMain();
 
 /** Queries whether the application is in the event loop
 
@@ -640,7 +634,7 @@ public:
 
  @see IsInMain, IsInModalMode
 */
-static bool IsInExecute();
+static bool IsInExecute();
 
 /** Queries whether application has a modal dialog active.
 
@@ -648,7 +642,7 @@ public:
 
  @see IsInMain, IsInExecute
 */
-static bool IsInModalMode();
+static bool IsInModalMode();
 
 /** Return how many events are being dispatched.
 
@@ -685,7 +679,7 @@ public:
 
  @returns   true if UI is captured, false if not
  */
-static bool IsUICaptured();
+static bool IsUICaptured();
 
 /** @name Settings
 
@@ -842,7 +836,7 @@ public:
 
  @see PostKeyEvent
 */
-static bool HandleKey( sal_uLong nEvent, Window *pWin, 
KeyEvent* pKeyEvent );
+static bool HandleKey( sal_uLong nEvent, Window *pWin, 
KeyEvent* pKeyEvent );
 
 /** Send keypress event
 
@@ -908,7 +902,7 @@ public:
 
  @return true if there is a default window and the event could be posted 
to it successfully.
 */
-static bool PostUserEvent( sal_uLong rEventId, const 
Link rLink, void* pCaller = NULL );
+static bool PostUserEvent( sal_uLong rEventId, const Link 
rLink, void* pCaller = NULL );
 
 /** Remove user event based on event ID
 
@@ -926,7 +920,7 @@ public:
 
  @return true if the handler was inserted successfully, false if it 
couldn't be inserted.
 */
-static bool InsertIdleHdl( const Link rLink, sal_uInt16 
nPriority );
+static bool InsertIdleHdl( const Link rLink, sal_uInt16 
nPriority );
 
 /** Remove an idle handler from the application.
 
@@ -1179,7 +1173,7 @@ public:
 
  @see RemoveAccel
 */
-static bool InsertAccel( Accelerator* pAccel );
+static bool InsertAccel( Accelerator* pAccel );
 
 /** Remove accelerator
 
@@ -1203,7 +1197,7 @@ public:
 
  @see EnableAutoMnemonic
 */
-static bool IsAutoMnemonicEnabled();
+static bool IsAutoMnemonicEnabled();
 
 /** Get the number of reserved key codes used by the application.
 
@@ -1264,7 +1258,7 @@ public:
 
  @see EnableAutoHelpId
 */
-static bool 

[SOLVED] Re: Questions about getCppuType

2014-05-05 Thread julien2412
sberg wrote
 ...
 With cppu::UnoType, instead use cppu::UnoUnsignedShortType and 
 cppu::UnoCharType as template arguments, respectively.  (And do get rid 
 of the useless const in the template arguments.)

Thank you Stephan for your feedback, I'll use these and remove const  for
all the replacements (not only those with sal_uInt16)

Julien




--
View this message in context: 
http://nabble.documentfoundation.org/Questions-about-getCppuType-tp4106361p4107641.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: configure.ac

2014-05-05 Thread Tomofumi Yagi
 configure.ac |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 7623bc31584b38da980016db25fb5dfc702beb10
Author: Tomofumi Yagi ya...@mknada.sakura.ne.jp
Date:   Sun May 4 11:34:24 2014 +0900

fix windows build(external/poppler)

Fix build error on windows with --enable-dbgutil autogen.sh option.
We need to link freetype248_D.lib,when we use --enable-dbgutil option.
(Suffix _D is needed.)

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

diff --git a/configure.ac b/configure.ac
index 2e4e3b3..256efe9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10404,7 +10404,8 @@ if test $_os != iOS -a $_os != Android -a $_os != 
Darwin -a x$enable_gltf != 
 if test $test_freetype = no; then
 BUILD_TYPE=$BUILD_TYPE FREETYPE
 if test $COM = MSC; then
-
FREETYPE_LIBS=${WORKDIR}/UnpackedTarball/freetype/objs/win32/vc2010/freetype248.lib
+test -n ${MSVC_USE_DEBUG_RUNTIME}  
FREETYPE_LIB_DEBUGLIB_SUFFIX=_D
+
FREETYPE_LIBS=${WORKDIR}/UnpackedTarball/freetype/objs/win32/vc2010/freetype248$FREETYPE_LIB_DEBUGLIB_SUFFIX.lib
 fi
 fi
 else
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2014-05-05 Thread Miklos Vajna
 oox/source/shape/WpsContext.cxx |   31 ++-
 1 file changed, 18 insertions(+), 13 deletions(-)

New commits:
commit 315503314aaeed11d1e25d5a379d56fd3051dba0
Author: Miklos Vajna vmik...@collabora.co.uk
Date:   Mon May 5 14:11:45 2014 +0200

oox: don't try to set Writer-specific properties on non-TextFrames...

... during DOCX import of shapes with text, so that we don't crash when
the currently always active
setServiceName(com.sun.star.text.TextFrame) call is not present.

Change-Id: I5b005583ddcee81b9683e3b34e8f0a2e5faa4f95

diff --git a/oox/source/shape/WpsContext.cxx b/oox/source/shape/WpsContext.cxx
index 5723709..fa17304 100644
--- a/oox/source/shape/WpsContext.cxx
+++ b/oox/source/shape/WpsContext.cxx
@@ -73,20 +73,24 @@ oox::core::ContextHandlerRef 
WpsContext::onCreateContext(sal_Int32 nElementToken
 }
 }
 
-// Handle inset attributes for Writer textframes.
-sal_Int32 aInsets[] = { XML_lIns, XML_tIns, XML_rIns, XML_bIns };
-boost::optionalsal_Int32 oInsets[4];
-for (size_t i = 0; i  SAL_N_ELEMENTS(aInsets); ++i)
+uno::Referencelang::XServiceInfo xServiceInfo(mxShape, 
uno::UNO_QUERY);
+uno::Referencebeans::XPropertySet xPropertySet(mxShape, 
uno::UNO_QUERY);
+if (xServiceInfo.is()  
xServiceInfo-supportsService(com.sun.star.text.TextFrame))
 {
-OptValueOUString oValue = rAttribs.getString(aInsets[i]);
-if (oValue.has())
-oInsets[i] = oox::drawingml::GetCoordinate(oValue.get());
+// Handle inset attributes for Writer textframes.
+sal_Int32 aInsets[] = { XML_lIns, XML_tIns, XML_rIns, XML_bIns 
};
+boost::optionalsal_Int32 oInsets[4];
+for (size_t i = 0; i  SAL_N_ELEMENTS(aInsets); ++i)
+{
+OptValueOUString oValue = rAttribs.getString(aInsets[i]);
+if (oValue.has())
+oInsets[i] = 
oox::drawingml::GetCoordinate(oValue.get());
+}
+OUString aProps[] = { OUString(LeftBorderDistance), 
OUString(TopBorderDistance), OUString(RightBorderDistance), 
OUString(BottomBorderDistance) };
+for (size_t i = 0; i  SAL_N_ELEMENTS(aProps); ++i)
+if (oInsets[i])
+xPropertySet-setPropertyValue(aProps[i], 
uno::makeAny(*oInsets[i]));
 }
-OUString aProps[] = { OUString(LeftBorderDistance), 
OUString(TopBorderDistance), OUString(RightBorderDistance), 
OUString(BottomBorderDistance) };
-uno::Referencebeans::XPropertySet xPropertySet(mxShape, 
uno::UNO_QUERY);
-for (size_t i = 0; i  SAL_N_ELEMENTS(aProps); ++i)
-if (oInsets[i])
-xPropertySet-setPropertyValue(aProps[i], 
uno::makeAny(*oInsets[i]));
 
 // Handle text vertical adjustment inside a text frame
 if (rAttribs.hasAttribute(XML_anchor))
@@ -100,11 +104,12 @@ oox::core::ContextHandlerRef 
WpsContext::onCreateContext(sal_Int32 nElementToken
 case XML_noAutofit:
 case XML_spAutoFit:
 {
+uno::Referencelang::XServiceInfo xServiceInfo(mxShape, 
uno::UNO_QUERY);
 // We can't use oox::drawingml::TextBodyPropertiesContext here, as this
 // is a child context of bodyPr, so the shape is already sent: we need
 // to alter the XShape directly.
 uno::Referencebeans::XPropertySet xPropertySet(mxShape, 
uno::UNO_QUERY);
-if (xPropertySet.is())
+if (xPropertySet.is()  
xServiceInfo-supportsService(com.sun.star.text.TextFrame))
 xPropertySet-setPropertyValue(FrameIsAutomaticHeight, 
uno::makeAny(getBaseToken(nElementToken) == XML_spAutoFit));
 }
 break;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: sal/textenc

2014-05-05 Thread Markus Mohrhard
 sal/textenc/handleundefinedunicodetotextchar.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 51bfb3a5af91dcd17ebc4c52845e77f530f05c6d
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Mon May 5 02:29:55 2014 +0200

Asan: fix invalid memory access

Change-Id: I7a2acd99f3a8cb143c2ad1c978dfa4b02bf54464
Signed-off-by: Stephan Bergmann sberg...@redhat.com

diff --git a/sal/textenc/handleundefinedunicodetotextchar.cxx 
b/sal/textenc/handleundefinedunicodetotextchar.cxx
index 6ea1dad..7ff7bd0 100644
--- a/sal/textenc/handleundefinedunicodetotextchar.cxx
+++ b/sal/textenc/handleundefinedunicodetotextchar.cxx
@@ -108,7 +108,7 @@ bool sal::detail::textenc::handleUndefinedUnicodeToTextChar(
 /* one replacement character */
 if (ImplIsHighSurrogate(c))
 {
-if ( *ppSrcBuf == pEndSrcBuf )
+if ( ((*ppSrcBuf) + 1) == pEndSrcBuf )
 {
 *pInfo |= RTL_UNICODETOTEXT_INFO_ERROR | 
RTL_UNICODETOTEXT_INFO_SRCBUFFERTOSMALL;
 return false;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Need help handling quoteright key shortcut for Mac OS X.

2014-05-05 Thread Kohei Yoshida
Hi there,

This commit

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

introduces the single quote key (') as a key that can be assigned a
shortcut.  To do that I had to add KEY_QUOTERIGHT handling to X11, GTK
and Windows platform specific parts of VCL.  But I still need help
getting the Mac part handled.  From a simple code-reading, this file
vcl/osx/salframeview.mm appears to be the file that needs modified, but
I don't feel comfortable editing this part since I can't test my own
change (I don't own a Mac).

Anyone interested in getting this covered for Mac?

TIA,

Kohei

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


LibreOffice fails to build on Mac OS

2014-05-05 Thread florino
Hi,

I'm trying to build the current version of LibreOffice on a Mac OS X 10.9.2
with XCode 5.1.1.

After a sync of the current repository I do ./autogen.sh --without-junit and
then make. 

The build process usually stops at sw_ooxmlexport, sw_ooxmlimport,
sw_rtfexport or sw_rtfimport.

Error: a unit test failed, please do one of:

export DEBUGCPPUNIT=TRUE# for exception catching
export CPPUNITTRACE=gdb --args# for interactive debugging on Linux
export CPPUNITTRACE=\[full path to devenv.exe]\ /debugexe # for
interactive debugging in Visual Studio
export VALGRIND=memcheck# for memory checking

and retry using: make CppunitTest_sw_rtfexport

make[1]: ***
[/Users/florinochiana/Docs/InstaEdit/core.mac/workdir/CppunitTest/sw_rtfexport.test]
Error 1


Error: a unit test failed, please do one of:

export DEBUGCPPUNIT=TRUE# for exception catching
export CPPUNITTRACE=gdb --args # for interactive debugging on linux
export CPPUNITTRACE=[full path to devenv.exe] /debugexe # for
interactive debugging in Visual Studio
export VALGRIND=memcheck# for memory checking

and retry using: make CppunitTest_sw_ooxmlimport

make[1]: ***
[/Users/florinochiana/Docs/InstaEdit/core.mac.4.2.4/workdir/CppunitTest/sw_ooxmlimport.test]
Error 1
make[1]: *** Waiting for unfinished jobs

I tried to clone an older version of LibreOffice (4.2.4) and do a build but
that also stopped in the same place.

I tried running make verbose=1 and I see that the lines where these tests
are executed get segmentation fault error or bus error.

/bin/sh: line 1: 14672 Bus error: 10  
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH:+$DYLD_LIBRARY_PATH:}$I/LibreOfficeDev.app/Contents/ure-link/lib:$I/LibreOfficeDev.app/Contents/MacOS:$W/LinkTarget/Library:$W/UnpackedTarball/cppunit/src/cppunit/.libs
$W/LinkTarget/Executable/cppunittester
$W/LinkTarget/CppunitTest/libtest_sw_ooxmlimport.dylib --headless
-env:BRAND_BASE_DIR=file://$I/LibreOfficeDev.app/Contents
-env:BRAND_SHARE_SUBDIR=share
-env:UserInstallation=file://$W/CppunitTest/sw_ooxmlimport.test.user
-env:CONFIGURATION_LAYERS=xcsxcu:file://$I/LibreOfficeDev.app/Contents/share/registry
xcsxcu:file://$W/unittest/registry
-env:UNO_TYPES=file://$I/LibreOfficeDev.app/Contents/MacOS/types/offapi.rdb
file://$I/LibreOfficeDev.app/Contents/ure-link/share/misc/types.rdb
-env:UNO_SERVICES=file://$W/Rdb/ure/services.rdb
file://$W/ComponentTarget/basic/util/sb.component
file://$W/ComponentTarget/chart2/source/controller/chartcontroller.component
file://$W/ComponentTarget/chart2/source/chartcore.component
file://$W/ComponentTarget/canvas/source/factory/canvasfactory.component
file://$W/ComponentTarget/comphelper/util/comphelp.component
file://$W/ComponentTarget/configmgr/source/configmgr.component
file://$W/ComponentTarget/drawinglayer/drawinglayer.component
file://$W/ComponentTarget/embeddedobj/util/embobj.component
file://$W/ComponentTarget/filter/source/config/cache/filterconfig1.component
file://$W/ComponentTarget/forms/util/frm.component
file://$W/ComponentTarget/framework/util/fwk.component
file://$W/ComponentTarget/i18npool/util/i18npool.component
file://$W/ComponentTarget/linguistic/source/lng.component
file://$W/ComponentTarget/oox/util/oox.component
file://$W/ComponentTarget/package/source/xstor/xstor.component
file://$W/ComponentTarget/package/util/package2.component
file://$W/ComponentTarget/sax/source/expatwrap/expwrap.component
file://$W/ComponentTarget/sw/util/sw.component
file://$W/ComponentTarget/sw/util/swd.component
file://$W/ComponentTarget/sw/util/msword.component
file://$W/ComponentTarget/sfx2/util/sfx.component
file://$W/ComponentTarget/starmath/util/sm.component
file://$W/ComponentTarget/svl/source/fsstor/fsstorage.component
file://$W/ComponentTarget/svl/util/svl.component
file://$W/ComponentTarget/svtools/util/svt.component
file://$W/ComponentTarget/svx/util/svx.component
file://$W/ComponentTarget/svx/util/svxcore.component
file://$W/ComponentTarget/toolkit/util/tk.component
file://$W/ComponentTarget/ucb/source/core/ucb1.component
file://$W/ComponentTarget/ucb/source/ucp/file/ucpfile1.component
file://$W/ComponentTarget/unotools/util/utl.component
file://$W/ComponentTarget/unoxml/source/service/unoxml.component
file://$W/ComponentTarget/writerfilter/util/writerfilter.component
file://$W/ComponentTarget/xmloff/util/xo.component
-env:URE_INTERNAL_LIB_DIR=file://$I/LibreOfficeDev.app/Contents/ure-link/lib
-env:LO_LIB_DIR=file://$I/LibreOfficeDev.app/Contents/MacOS
-env:LO_JAVA_DIR=file://$I/LibreOfficeDev.app/Contents/MacOS/classes
--protector $W/LinkTarget/Library/unoexceptionprotector.dylib
unoexceptionprotector --protector
$W/LinkTarget/Library/unobootstrapprotector.dylib unobootstrapprotector 
$W/CppunitTest/sw_ooxmlimport.test.log 21

I tried searching the web for these errors but found nothing. Anyone knows
what else I can try?

Thank you



--
View this message in context: 

[GSoC 2014] Code pointers for text properties in Draw

2014-05-05 Thread Matteo Campanelli
Hi all,
I'm working on adding text background color to Draw text frames but I
suspect I'm having troubles finding my way through the basics of the whole
application's architecture.
Browsing through code in sd/,  I haven't found anything that seemed to deal
specifically with text properties.
I suppose most of the responsibility for text features is in some external
module (editeng, by any chance?), but I don't understand where it is that
Draw-specific code makes use of these features.

Could anyone point to any documentation/code I could look at or could
anyone help me get clarity on this point?

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


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

2014-05-05 Thread Stephan Bergmann
 chart2/source/view/main/OpenGLRender.cxx |2 +-
 chart2/source/view/main/OpenGLRender.hxx |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0635a9c1906e00c16fd7c5b83720858b73edbae0
Author: Stephan Bergmann sberg...@redhat.com
Date:   Mon May 5 16:35:44 2014 +0200

Missing const

Change-Id: If1e0e78e1b62c547bd0f03e727e1856227b32821

diff --git a/chart2/source/view/main/OpenGLRender.cxx 
b/chart2/source/view/main/OpenGLRender.cxx
index 9bd8e72..bbdf750 100644
--- a/chart2/source/view/main/OpenGLRender.cxx
+++ b/chart2/source/view/main/OpenGLRender.cxx
@@ -897,7 +897,7 @@ int OpenGLRender::RenderRectangleShape(bool bBorder, bool 
bFill)
 return 0;
 }
 
-int OpenGLRender::CreateTextTexture(::rtl::OUString textValue, Font aFont, 
long , awt::Point aPos, awt::Size aSize, long rotation)
+int OpenGLRender::CreateTextTexture(::rtl::OUString const textValue, Font 
aFont, long , awt::Point aPos, awt::Size aSize, long rotation)
 {
 VirtualDevice aDevice(*Application::GetDefaultDevice(), 0, 0);
 aDevice.Erase();
diff --git a/chart2/source/view/main/OpenGLRender.hxx 
b/chart2/source/view/main/OpenGLRender.hxx
index f5c54fa..e88fffa 100644
--- a/chart2/source/view/main/OpenGLRender.hxx
+++ b/chart2/source/view/main/OpenGLRender.hxx
@@ -99,7 +99,7 @@ public:
 int CreateTextTexture(const BitmapEx rBitmapEx,
 const com::sun::star::awt::Point aPos, const 
com::sun::star::awt::Size aSize,
 long rotation, const com::sun::star::drawing::HomogenMatrix3 
rTrans);
-int CreateTextTexture(::rtl::OUString textValue, Font aFont, long 
fontColor, awt::Point aPos, awt::Size aSize, long rotation);
+int CreateTextTexture(::rtl::OUString const textValue, Font aFont, long 
fontColor, awt::Point aPos, awt::Size aSize, long rotation);
 int RenderTextShape();
 
 int SetArea2DShapePoint(float x, float y, int listLength);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2014-05-05 Thread Jan Holesovsky
 vcl/source/opengl/OpenGLContext.cxx |   12 +---
 1 file changed, 9 insertions(+), 3 deletions(-)

New commits:
commit fc4000a9be34304790219f08adfa924801f736e1
Author: Jan Holesovsky ke...@collabora.com
Date:   Mon May 5 16:46:59 2014 +0200

openGL: More debug info.

Change-Id: Ia2e09c92673b97fd48c4ede7ebb9ff47da821926

diff --git a/vcl/source/opengl/OpenGLContext.cxx 
b/vcl/source/opengl/OpenGLContext.cxx
index 18530ae..5271214 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -435,7 +435,12 @@ bool OpenGLContext::ImplInit()
 }
 SetPixelFormat(m_aGLWin.hDC,WindowPix,PixelFormatFront);
 m_aGLWin.hRC  = wglCreateContext(m_aGLWin.hDC);
-wglMakeCurrent(m_aGLWin.hDC,m_aGLWin.hRC);
+
+if (!wglMakeCurrent(m_aGLWin.hDC,m_aGLWin.hRC))
+{
+SAL_WARN(vcl.opengl, Failed wglMakeCurrent:   GetLastError());
+return false;
+}
 
 #elif defined( MACOSX )
 
@@ -506,9 +511,10 @@ bool OpenGLContext::ImplInit()
 if(!bGlewInit)
 {
 glewExperimental = GL_TRUE;
-if (glewInit() != GLEW_OK)
+GLenum err = glewInit();
+if (err != GLEW_OK)
 {
-SAL_WARN(vcl.opengl, Failed to initialize GLEW);
+SAL_WARN(vcl.opengl, Failed to initialize GLEW:   
glewGetErrorString(err));
 return false;
 }
 else
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: 10 commits - chart2/opengl chart2/Package_opengl.mk chart2/source

2014-05-05 Thread xukai
 chart2/Package_opengl.mk   |2 
 chart2/opengl/shape3DFragmentShader.glsl   |  111 +
 chart2/opengl/shape3DVertexShader.glsl |   30 +
 chart2/source/view/inc/3DChartObjects.hxx  |   12 ++
 chart2/source/view/inc/GL3DRenderer.hxx|   11 +-
 chart2/source/view/main/3DChartObjects.cxx |   34 ++
 chart2/source/view/main/GL3DRenderer.cxx   |  148 +++--
 7 files changed, 254 insertions(+), 94 deletions(-)

New commits:
commit e0dc3c8a0a69bb44a583b42d6fb823efbc311dc5
Author: xukai xu...@multicorewareinc.com
Date:   Mon May 5 14:05:08 2014 +0800

add codes to Line::render()

Change-Id: I6510f486707b08ea8f611105f40cc4c7e1581a7f

diff --git a/chart2/source/view/inc/3DChartObjects.hxx 
b/chart2/source/view/inc/3DChartObjects.hxx
index 54b6a24..b1f8de4 100644
--- a/chart2/source/view/inc/3DChartObjects.hxx
+++ b/chart2/source/view/inc/3DChartObjects.hxx
@@ -54,6 +54,8 @@ class Line : public Renderable3DObject
 public:
 Line( sal_uInt32 nId );
 
+virtual void render() SAL_OVERRIDE;
+
 private:
 glm::vec3 maPosBegin;
 glm::vec3 maPosEnd;
@@ -87,7 +89,7 @@ class Camera : public Renderable3DObject
 {
 public:
 Camera();
-virtual void render();
+virtual void render() SAL_OVERRIDE;
 private:
 glm::vec3 maPos;
 glm::vec3 maUp;
diff --git a/chart2/source/view/main/3DChartObjects.cxx 
b/chart2/source/view/main/3DChartObjects.cxx
index 38279a3..045107b 100644
--- a/chart2/source/view/main/3DChartObjects.cxx
+++ b/chart2/source/view/main/3DChartObjects.cxx
@@ -54,6 +54,14 @@ Line::Line(sal_uInt32 nId):
 {
 }
 
+void Line::render()
+{
+getRender()-AddShapePolygon3DObject(0, true, 
(sal_Int32)maLineColor.GetColor(), 0, 0);
+getRender()-AddPolygon3DObjectPoint(maPosBegin.x, maPosBegin.y, 
maPosBegin.z);
+getRender()-AddPolygon3DObjectPoint(maPosEnd.x, maPosEnd.y, maPosEnd.z);
+getRender()-EndAddShapePolygon3DObject();
+}
+
 Text::Text(sal_uInt32 nId):
 Renderable3DObject(nId)
 {
commit 461aa03c95e3297041de4eec8b3d44da348f60e8
Author: xukai xu...@multicorewareinc.com
Date:   Mon May 5 13:00:46 2014 +0800

remove the codes of set camera info to render()

Change-Id: I9c2aecd5dea617e7cd69c1fc005b6a9ee237f202

diff --git a/chart2/source/view/inc/3DChartObjects.hxx 
b/chart2/source/view/inc/3DChartObjects.hxx
index 1fa9402..54b6a24 100644
--- a/chart2/source/view/inc/3DChartObjects.hxx
+++ b/chart2/source/view/inc/3DChartObjects.hxx
@@ -87,6 +87,7 @@ class Camera : public Renderable3DObject
 {
 public:
 Camera();
+virtual void render();
 private:
 glm::vec3 maPos;
 glm::vec3 maUp;
diff --git a/chart2/source/view/main/3DChartObjects.cxx 
b/chart2/source/view/main/3DChartObjects.cxx
index 6148f03..38279a3 100644
--- a/chart2/source/view/main/3DChartObjects.cxx
+++ b/chart2/source/view/main/3DChartObjects.cxx
@@ -70,9 +70,14 @@ Camera::Camera():
 maUp(0, 1, 0),
 maDirection(glm::vec3(0,0,0)-maPos)
 {
+}
+
+void Camera::render()
+{
 getRender()-SetCameraInfo(maPos, maDirection, maUp, true);
 }
 
+
 namespace temporary {
 
 TemporaryContext::TemporaryContext():
commit 4e8a9d669f835cb2f1df3efc9b41d86d51af90d7
Author: xukai xu...@multicorewareinc.com
Date:   Mon May 5 12:25:42 2014 +0800

add codes to set camera info

Change-Id: Id6bac3a8dd46d7994c9e64c9e0c16e8c7ac036ac

diff --git a/chart2/source/view/inc/3DChartObjects.hxx 
b/chart2/source/view/inc/3DChartObjects.hxx
index e3165e2..1fa9402 100644
--- a/chart2/source/view/inc/3DChartObjects.hxx
+++ b/chart2/source/view/inc/3DChartObjects.hxx
@@ -89,6 +89,7 @@ public:
 Camera();
 private:
 glm::vec3 maPos;
+glm::vec3 maUp;
 glm::vec3 maDirection;
 };
 
diff --git a/chart2/source/view/inc/GL3DRenderer.hxx 
b/chart2/source/view/inc/GL3DRenderer.hxx
index b31a5ac..5f66203 100644
--- a/chart2/source/view/inc/GL3DRenderer.hxx
+++ b/chart2/source/view/inc/GL3DRenderer.hxx
@@ -109,6 +109,7 @@ typedef struct Extrude3DInfo
 
 typedef struct CameraInfo
 {
+bool useDefault;
 glm::vec3 cameraPos;
 glm::vec3 cameraOrg;
 glm::vec3 cameraUp;
@@ -179,7 +180,7 @@ public:
 void SetClickPos(Point aMPos);
 void RenderClickPos(Point aMPos);
 void SetSize(const Size rSize);
-
+void SetCameraInfo(glm::vec3 pos, glm::vec3 direction, glm::vec3 up, bool 
useDefalut);
 private:
 void MoveModelf(PosVecf3 trans,PosVecf3 angle,PosVecf3 scale);
 
diff --git a/chart2/source/view/main/3DChartObjects.cxx 
b/chart2/source/view/main/3DChartObjects.cxx
index f7e0eb7..6148f03 100644
--- a/chart2/source/view/main/3DChartObjects.cxx
+++ b/chart2/source/view/main/3DChartObjects.cxx
@@ -67,8 +67,10 @@ Rectangle::Rectangle(sal_uInt32 nId):
 Camera::Camera():
 Renderable3DObject(0),
 maPos(10,10,-10),
+maUp(0, 1, 0),
 maDirection(glm::vec3(0,0,0)-maPos)
 {
+getRender()-SetCameraInfo(maPos, maDirection, maUp, true);
 }
 
 namespace temporary {
diff --git 

[Libreoffice-commits] core.git: 2 commits - offapi/com vcl/osx

2014-05-05 Thread Tor Lillqvist
 offapi/com/sun/star/awt/Key.idl |9 -
 vcl/osx/salframe.cxx|7 +++
 2 files changed, 15 insertions(+), 1 deletion(-)

New commits:
commit d177d160260fd901d03952832e563f5da8c30538
Author: Tor Lillqvist t...@collabora.com
Date:   Mon May 5 19:38:07 2014 +0300

Document that the weirder constants are not actually keyboard keys

Change-Id: I8e163e63bfbbbaa5f7f4de2151fea41d735417d0

diff --git a/offapi/com/sun/star/awt/Key.idl b/offapi/com/sun/star/awt/Key.idl
index 5c84843..09b519a 100644
--- a/offapi/com/sun/star/awt/Key.idl
+++ b/offapi/com/sun/star/awt/Key.idl
@@ -24,7 +24,8 @@
  module com {  module sun {  module star {  module awt {
 
 
-/** These values are used to specifies distinct physical keys.
+/** These values are used to specify distinct physical keys, plus
+some special values used by the OS X implementation.
  */
 published constants Key
 {
@@ -365,6 +366,12 @@ published constants Key
 const short QUOTERIGHT = 1318;
 
 
+/** The following values don't correspond to physical keys on any
+keyboard but are used in the OS X implementation of VCL. They
+correspond to some of the action messages of the NSResponder
+abstract class.
+*/
+
 const short DELETE_TO_END_OF_PARAGRAPH = 1539;
 
 
commit 72ff5d4196bcf0ab498eef40114b449045006ca2
Author: Tor Lillqvist t...@collabora.com
Date:   Mon May 5 19:16:54 2014 +0300

Add more unmapped VCL keycodes to the comment

Change-Id: If417d8091896c9f6c9650cf7d6036ffacbcc0884

diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx
index 23748fe..3bb8128 100644
--- a/vcl/osx/salframe.cxx
+++ b/vcl/osx/salframe.cxx
@@ -1036,6 +1036,13 @@ OUString AquaSalFrame::GetKeyName( sal_uInt16 nKeyCode )
 aKeyMap[ KEY_DECIMAL ]  = OUString( sal_Unicode( ) );
 aKeyMap[ KEY_TILDE ]= OUString( sal_Unicode( ) );
 aKeyMap[ KEY_QUOTELEFT ]= OUString( sal_Unicode( ) );
+aKeyMap[ KEY_BRACKETLEFT ]= OUString( sal_Unicode( ) );
+aKeyMap[ KEY_BRACKETRIGHT ]= OUString( sal_Unicode( ) );
+aKeyMap[ KEY_SEMICOLON ]= OUString( sal_Unicode( ) );
+aKeyMap[ KEY_QUOTERIGHT ]= OUString( sal_Unicode( ) );
+aKeyMap[ KEY_CAPSLOCK ]= OUString( sal_Unicode( ) );
+aKeyMap[ KEY_NUMLOCK ]= OUString( sal_Unicode( ) );
+aKeyMap[ KEY_SCROLLLOCK ]= OUString( sal_Unicode( ) );
 */
 
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2014-05-05 Thread Takeshi Abe
 sc/source/ui/unoobj/appluno.cxx  |7 ++---
 sc/source/ui/unoobj/cellsuno.cxx |   50 ++-
 sc/source/ui/unoobj/datauno.cxx  |6 ++--
 sc/source/ui/view/formatsh.cxx   |   28 -
 4 files changed, 36 insertions(+), 55 deletions(-)

New commits:
commit 6726fb5ce2daa363b7e885ae45e59feeb733f051
Author: Takeshi Abe t...@fixedpoint.jp
Date:   Tue May 6 02:23:48 2014 +0900

Avoid possible memory leaks in case of exceptions

Change-Id: I8914e0dc253c636a1393672f7a20bcb5d39d4276

diff --git a/sc/source/ui/unoobj/appluno.cxx b/sc/source/ui/unoobj/appluno.cxx
index 2878fed..5ba0f78 100644
--- a/sc/source/ui/unoobj/appluno.cxx
+++ b/sc/source/ui/unoobj/appluno.cxx
@@ -39,6 +39,7 @@
 #include funcdesc.hxx
 #include com/sun/star/sheet/FunctionArgument.hpp
 #include ScPanelFactory.hxx
+#include boost/scoped_array.hpp
 
 using namespace com::sun::star;
 
@@ -634,18 +635,16 @@ void SAL_CALL ScRecentFunctionsObj::setRecentFunctionIds(
 sal_uInt16 nCount = (sal_uInt16) std::min( aRecentFunctionIds.getLength(), 
(sal_Int32) LRU_MAX );
 const sal_Int32* pAry = aRecentFunctionIds.getConstArray();
 
-sal_uInt16* pFuncs = nCount ? new sal_uInt16[nCount] : NULL;
+boost::scoped_arraysal_uInt16 pFuncs(nCount ? new sal_uInt16[nCount] : 
NULL);
 for (sal_uInt16 i=0; inCount; i++)
 pFuncs[i] = (sal_uInt16)pAry[i];//! auf gueltige Werte testen?
 
 ScModule* pScMod = SC_MOD();
 ScAppOptions aNewOpts(pScMod-GetAppOptions());
-aNewOpts.SetLRUFuncList(pFuncs, nCount);
+aNewOpts.SetLRUFuncList(pFuncs.get(), nCount);
 pScMod-SetAppOptions(aNewOpts);
 
 pScMod-RecentFunctionsChanged();   // update function list child 
window
-
-delete[] pFuncs;
 }
 
 sal_Int32 SAL_CALL ScRecentFunctionsObj::getMaxRecentFunctions() 
throw(uno::RuntimeException, std::exception)
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 9a13025..e7d3abd 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -127,6 +127,7 @@
 #include dputil.hxx
 
 #include list
+#include boost/scoped_array.hpp
 #include boost/scoped_ptr.hpp
 
 using namespace com::sun::star;
@@ -1536,9 +1537,9 @@ void ScCellRangesBase::Notify( SfxBroadcaster, const 
SfxHint rHint )
 const ScUpdateRefHint rRef = (const ScUpdateRefHint)rHint;
 
 ScDocument* pDoc = pDocShell-GetDocument();
-ScRangeList* pUndoRanges = NULL;
+boost::scoped_ptrScRangeList pUndoRanges;
 if ( pDoc-HasUnoRefUndo() )
-pUndoRanges = new ScRangeList( aRanges );
+pUndoRanges.reset(new ScRangeList( aRanges ));
 
 if ( aRanges.UpdateReference( rRef.GetMode(), pDoc, rRef.GetRange(),
 rRef.GetDx(), rRef.GetDy(), rRef.GetDz() ) 
)
@@ -1570,8 +1571,6 @@ void ScCellRangesBase::Notify( SfxBroadcaster, const 
SfxHint rHint )
 if ( pUndoRanges )
 pDoc-AddUnoRefChange( nObjectId, *pUndoRanges );
 }
-
-delete pUndoRanges;
 }
 else if ( rHint.ISA( SfxSimpleHint ) )
 {
@@ -2403,10 +2402,10 @@ void ScCellRangesBase::SetOnePropertyValue( const 
SfxItemPropertySimpleEntry* pE

formula::FormulaGrammar::GRAM_UNSPECIFIED :

formula::FormulaGrammar::mapAPItoGrammar( bEnglish, bXML));
 
-ScValidationData* pNewData =
-pValidObj-CreateValidationData( pDoc, 
eGrammar );
+boost::scoped_ptrScValidationData pNewData(
+pValidObj-CreateValidationData( pDoc, 
eGrammar ));
 sal_uLong nIndex = pDoc-AddValidationEntry( 
*pNewData );
-delete pNewData;
+pNewData.reset();
 
 ScPatternAttr aPattern( pDoc-GetPool() );
 aPattern.GetItemSet().Put( SfxUInt32Item( 
ATTR_VALIDDATA, nIndex ) );
@@ -2643,7 +2642,7 @@ void SAL_CALL ScCellRangesBase::setPropertyValues( const 
uno::Sequence OUString
 const OUString* pNames = aPropertyNames.getConstArray();
 const uno::Any* pValues = aValues.getConstArray();
 
-const SfxItemPropertySimpleEntry** pEntryArray = new const 
SfxItemPropertySimpleEntry*[nCount];
+boost::scoped_arrayconst SfxItemPropertySimpleEntry* pEntryArray(new 
const SfxItemPropertySimpleEntry*[nCount]);
 
 sal_Int32 i;
 for(i = 0; i  nCount; i++)
@@ -2670,8 +2669,8 @@ void SAL_CALL ScCellRangesBase::setPropertyValues( const 
uno::Sequence OUString
 }
 
 ScDocument* pDoc = pDocShell-GetDocument();
-ScPatternAttr* pOldPattern = NULL;
-ScPatternAttr* pNewPattern = NULL;
+boost::scoped_ptrScPatternAttr pOldPattern;
+

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

2014-05-05 Thread Eike Rathke
 sc/source/ui/docshell/docsh3.cxx |6 ++
 1 file changed, 6 insertions(+)

New commits:
commit 571cefca474e6b77d68f9fa31f805dcf692927fd
Author: Eike Rathke er...@redhat.com
Date:   Mon May 5 18:18:57 2014 +0100

resolved fdo#78294 default null-date for document import is 1899-12-30

Change-Id: I9dfe76d422ad732a081442b95a995d8d395a098e

diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx
index 645333f..33bb671 100644
--- a/sc/source/ui/docshell/docsh3.cxx
+++ b/sc/source/ui/docshell/docsh3.cxx
@@ -418,6 +418,12 @@ void ScDocShell::InitOptions(bool bForLoading)  // 
called from InitNew and L
 // so it must not be taken from the global options.
 // Calculation settings are handled separately in 
ScXMLBodyContext::EndElement.
 aDocOpt.SetStdPrecision( SvNumberFormatter::UNLIMITED_PRECISION );
+
+// fdo#78294 The default null-date if
+// table:null-date table:date-value='...' /
+// is absent is 1899-12-30 regardless what the configuration is set to.
+// Import filters may override this value.
+aDocOpt.SetDate( 30, 12, 1899);
 }
 
 aDocument.SetDocOptions( aDocOpt );
___
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 cui/uiconfig extensions/source include/svx sc/source sd/source svx/inc svx/source sw/source

2014-05-05 Thread Thomas Arnhold
 cui/source/customize/cfg.src |1 
 cui/uiconfig/ui/numberingoptionspage.ui  |2 
 cui/uiconfig/ui/numberingpositionpage.ui |2 
 extensions/source/bibliography/toolbar.src   |6 -
 include/svx/dialogs.hrc  |3 
 sc/source/ui/navipi/navipi.src   |3 
 sc/source/ui/sidebar/CellAppearancePropertyPanel.src |1 
 sd/source/ui/dlg/LayerDialog.src |2 
 sd/source/ui/dlg/navigatr.src|5 -
 svx/inc/helpid.hrc   |   14 ---
 svx/source/sidebar/area/AreaPropertyPanel.src|2 
 svx/source/stbctrls/stbctrls.src |4 
 svx/source/tbxctrls/grafctrl.cxx |1 
 svx/source/tbxctrls/grafctrl.hrc |   22 
 svx/source/tbxctrls/grafctrl.src |   87 ---
 sw/source/core/uibase/dbui/mailmergechildwindow.src  |1 
 sw/source/core/uibase/utlui/navipi.src   |   23 -
 17 files changed, 2 insertions(+), 177 deletions(-)

New commits:
commit 2fd90ea3e2e59d8a3474dd8ec085c99b85248d27
Author: Thomas Arnhold tho...@arnhold.org
Date:   Mon May 5 18:50:35 2014 +0200

add border to level list box for bullets and numbering

this is like it was pre ui conversion

Change-Id: Ie0fe230893dc448531a44c6d79c00b4a29120cba

diff --git a/cui/uiconfig/ui/numberingoptionspage.ui 
b/cui/uiconfig/ui/numberingoptionspage.ui
index 11338c0..720c9da 100644
--- a/cui/uiconfig/ui/numberingoptionspage.ui
+++ b/cui/uiconfig/ui/numberingoptionspage.ui
@@ -64,7 +64,7 @@
 property name=top_padding6/property
 property name=left_padding12/property
 child
-  object class=GtkTreeView id=levellb
+  object class=GtkTreeView id=levellb:border
 property name=visibleTrue/property
 property name=can_focusTrue/property
 property name=headers_visibleFalse/property
diff --git a/cui/uiconfig/ui/numberingpositionpage.ui 
b/cui/uiconfig/ui/numberingpositionpage.ui
index e7511bb..9d9e1d9 100644
--- a/cui/uiconfig/ui/numberingpositionpage.ui
+++ b/cui/uiconfig/ui/numberingpositionpage.ui
@@ -66,7 +66,7 @@
 property name=top_padding6/property
 property name=left_padding12/property
 child
-  object class=GtkTreeView id=levellb
+  object class=GtkTreeView id=levellb:border
 property name=visibleTrue/property
 property name=can_focusTrue/property
 property name=headers_visibleFalse/property
commit efa35b2b1120c7cf44791667776ea2b11759e291
Author: Thomas Arnhold tho...@arnhold.org
Date:   Mon May 5 10:44:40 2014 +0200

unused floating window RID_SVXTBX_GRFFILTER

Change-Id: I3b6d7091922ed345d24c15c5a52d37521792d551

diff --git a/include/svx/dialogs.hrc b/include/svx/dialogs.hrc
index 9cf295b..fb417e6 100644
--- a/include/svx/dialogs.hrc
+++ b/include/svx/dialogs.hrc
@@ -319,9 +319,6 @@
 // String-Arrays
 #define RID_SVXSTR_TEXTENCODING_TABLE   (RID_SVX_START + 312)
 
-// Graphic filter
-#define RID_SVXTBX_GRFFILTER(RID_SVX_START + 331)
-
 #define RID_SVXERRCODE  (RID_SVX_START + 350)
 
 // gallery
diff --git a/svx/inc/helpid.hrc b/svx/inc/helpid.hrc
index 53a78e8..bc6d484 100644
--- a/svx/inc/helpid.hrc
+++ b/svx/inc/helpid.hrc
@@ -82,21 +82,7 @@
 #define HID_GALLERY_PROPERTIES
SVX_HID_GALLERY_PROPERTIES
 #define HID_GALLERY_RENAME
SVX_HID_GALLERY_RENAME
 #define HID_GALLERY_THEMELIST 
SVX_HID_GALLERY_THEMELIST
-// free
 #define HID_GALLERY_WINDOW
SVX_HID_GALLERY_WINDOW
-#define HID_GRFFILTER 
SVX_HID_GRFFILTER
-#define HID_GRFFILTER_EMBOSS  
SVX_HID_GRFFILTER_EMBOSS
-#define HID_GRFFILTER_INVERT  
SVX_HID_GRFFILTER_INVERT
-#define HID_GRFFILTER_MOSAIC  
SVX_HID_GRFFILTER_MOSAIC
-#define HID_GRFFILTER_POPART  
SVX_HID_GRFFILTER_POPART
-#define HID_GRFFILTER_POSTER  
SVX_HID_GRFFILTER_POSTER
-#define HID_GRFFILTER_REMOVENOISE 
SVX_HID_GRFFILTER_REMOVENOISE
-#define HID_GRFFILTER_SEPIA   
SVX_HID_GRFFILTER_SEPIA
-#define HID_GRFFILTER_SHARPEN 
SVX_HID_GRFFILTER_SHARPEN
-#define HID_GRFFILTER_SMOOTH  
SVX_HID_GRFFILTER_SMOOTH
-#define HID_GRFFILTER_SOBEL   
SVX_HID_GRFFILTER_SOBEL
-#define HID_GRFFILTER_SOLARIZE
SVX_HID_GRFFILTER_SOLARIZE
-
 #define 

[Bug 75025] LibreOffice 4.3 most annoying bugs

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75025

tommy27 ba...@quipo.it changed:

   What|Removed |Added

 Depends on||78267

--- Comment #8 from tommy27 ba...@quipo.it ---
I add Bug 78267 - Slideshow: does not go to next slide or animation by mouse
click

regression from 4.2.x
makes Impress almost unusable.

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


[Bug 75025] LibreOffice 4.3 most annoying bugs

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75025

tommy27 ba...@quipo.it changed:

   What|Removed |Added

 Depends on|78267   |

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


[Bug 75025] LibreOffice 4.3 most annoying bugs

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75025

Jorendc jore...@libreoffice.org changed:

   What|Removed |Added

 Depends on||78267

-- 
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: 4 commits - vcl/osx

2014-05-05 Thread Tor Lillqvist
 vcl/osx/salframe.cxx|   10 -
 vcl/osx/salframeview.mm |  268 
 2 files changed, 139 insertions(+), 139 deletions(-)

New commits:
commit f4d8fea4653d5918f28df90feca934bdd91b4939
Author: Tor Lillqvist t...@collabora.com
Date:   Mon May 5 21:50:17 2014 +0300

Correct keycode mappings for KEY_QUOTE{LEFT,RIGHT}


/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Headers/Events.h
says that 0x27 is kVK_ANSI_Quote, which we call KEY_QUOTERIGHT,
i.e. the plain ASCII apostrophe, while 0x32 is not the ASCII tilde but
kVK_ANSI_Grave, which we call KEY_QUOTELEFT.

Makes the Command-' binding (see Kohei's
56cce6fd8151a916e1be540ac18724b46d1b15fc) work at least for the US
English keyboard. But not for the Finnish keyboard, for instance,
where the key labeled with an apostrophe (or ASCII-style single
quote) generates a different keycode than the single quote key on the
US English keyboard. (Which, I guess, isn't surprising as it after all
is a different physical key.)

In other words, situation normal, using keycodes is a horror as
always...

Change-Id: Ibf8f994370fec75849391e1dba30c7b7d54d237f

diff --git a/vcl/osx/salframeview.mm b/vcl/osx/salframeview.mm
index c766179..6825c9b 100644
--- a/vcl/osx/salframeview.mm
+++ b/vcl/osx/salframeview.mm
@@ -127,9 +127,9 @@ static sal_uInt16 ImplMapKeyCode(sal_uInt16 nKeyCode)
 KEY_C,KEY_V,0,KEY_B,   
 KEY_Q,KEY_W,KEY_E,KEY_R,
 KEY_Y,KEY_T,KEY_1,KEY_2,   
 KEY_3,KEY_4,KEY_6,KEY_5,
 KEY_EQUAL,KEY_9,KEY_7, KEY_SUBTRACT,   
 KEY_8,KEY_0, KEY_BRACKETRIGHT,KEY_0,
-KEY_U,  KEY_BRACKETLEFT,KEY_I,KEY_P,   
KEY_RETURN,KEY_L,KEY_J,KEY_QUOTELEFT,
+KEY_U,  KEY_BRACKETLEFT,KEY_I,KEY_P,   
KEY_RETURN,KEY_L,KEY_J,   KEY_QUOTERIGHT,
 KEY_K,KEY_SEMICOLON,0,KEY_COMMA,   
KEY_DIVIDE,KEY_N,KEY_M,KEY_POINT,
-  KEY_TAB,KEY_SPACE,KEY_TILDE,   KEY_DELETE,   
 0,   KEY_ESCAPE,0,0,
+  KEY_TAB,KEY_SPACE,KEY_QUOTELEFT,   KEY_DELETE,   
 0,   KEY_ESCAPE,0,0,
 0, KEY_CAPSLOCK,0,0,   
 0,0,0,0,
   KEY_F17,  KEY_DECIMAL,0, KEY_MULTIPLY,   
 0,  KEY_ADD,0,0,
 0,0,0,   KEY_DIVIDE,   
KEY_RETURN,0, KEY_SUBTRACT,  KEY_F18,
commit 8b4c33facb242a9d208d79901312ee17deb210df
Author: Tor Lillqvist t...@collabora.com
Date:   Mon May 5 21:48:37 2014 +0300

Untabify and remove trailing spaces

Change-Id: I2acd44d54966dd227f5dc23ca4acde3c50ca8347

diff --git a/vcl/osx/salframeview.mm b/vcl/osx/salframeview.mm
index 36adf06..c766179 100644
--- a/vcl/osx/salframeview.mm
+++ b/vcl/osx/salframeview.mm
@@ -60,57 +60,57 @@ static sal_uInt16 ImplMapCharCode( sal_Unicode aCode )
 {
 static sal_uInt16 aKeyCodeMap[ 128 ] =
 {
-0,0,0,0,   
 0,0,0,0,  
-KEY_BACKSPACE,  KEY_TAB,   KEY_RETURN,0,   
 0,   KEY_RETURN,0,0,  
-0,0,0,0,   
 0,0,0,0,  
-0,  KEY_TAB,0,   KEY_ESCAPE,   
 0,0,0,0,  
-KEY_SPACE,0,0,0,   
 0,0,0,0,  
-0,0, KEY_MULTIPLY,  KEY_ADD,   
 KEY_COMMA, KEY_SUBTRACT,KEY_POINT,   KEY_DIVIDE,  
-KEY_0,KEY_1,KEY_2,KEY_3,   
 KEY_4,KEY_5,KEY_6,KEY_7,  
-KEY_8,KEY_9,0,0,   
  KEY_LESS,KEY_EQUAL,  KEY_GREATER,0,  
-0,KEY_A, 

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

2014-05-05 Thread Miklos Vajna
 sw/source/core/crsr/crsrsh.cxx   |2 -
 sw/source/core/crsr/viscrs.cxx   |3 +
 sw/source/filter/ww8/rtfexportfilter.cxx |   51 +++
 sw/source/filter/ww8/rtfexportfilter.hxx |   32 +++
 4 files changed, 41 insertions(+), 47 deletions(-)

New commits:
commit 25195658ab405cfc288950e15529e97ceb72575d
Author: Miklos Vajna vmik...@collabora.co.uk
Date:   Mon May 5 20:49:39 2014 +0200

sw: fix indentation in rtfexportfilter

Change-Id: I3055df538fc4dfa625aa942ad0d0e6b6299c53b3

diff --git a/sw/source/filter/ww8/rtfexportfilter.cxx 
b/sw/source/filter/ww8/rtfexportfilter.cxx
index 01aaefc..eb324c2 100644
--- a/sw/source/filter/ww8/rtfexportfilter.cxx
+++ b/sw/source/filter/ww8/rtfexportfilter.cxx
@@ -29,7 +29,7 @@
 
 using namespace ::com::sun::star;
 
-RtfExportFilter::RtfExportFilter( const uno::Reference uno::XComponentContext 
 xCtx)
+RtfExportFilter::RtfExportFilter(const uno::Reference uno::XComponentContext 
 xCtx)
 : m_xCtx(xCtx)
 {
 }
@@ -38,26 +38,26 @@ RtfExportFilter::~RtfExportFilter()
 {
 }
 
-sal_Bool RtfExportFilter::filter( const uno::Sequence beans::PropertyValue  
aDescriptor )
-throw (uno::RuntimeException, std::exception)
+sal_Bool RtfExportFilter::filter(const uno::Sequence beans::PropertyValue  
aDescriptor) throw(uno::RuntimeException, std::exception)
 {
 SAL_INFO(sw.rtf, OSL_THIS_FUNC);
 
 utl::MediaDescriptor aMediaDesc = aDescriptor;
-::uno::Reference io::XStream  xStream =
-  aMediaDesc.getUnpackedValueOrDefault( 
utl::MediaDescriptor::PROP_STREAMFOROUTPUT(), uno::Reference io::XStream () );
-SvStream* pStream = utl::UcbStreamHelper::CreateStream( xStream, true );
+uno::Referenceio::XStream xStream = 
aMediaDesc.getUnpackedValueOrDefault(utl::MediaDescriptor::PROP_STREAMFOROUTPUT(),
 uno::Reference io::XStream ());
+SvStream* pStream = utl::UcbStreamHelper::CreateStream(xStream, true);
 m_aWriter.SetStream(pStream);
 
 // get SwDoc*
-uno::Reference uno::XInterface  xIfc( m_xSrcDoc, uno::UNO_QUERY );
-SwXTextDocument *pTxtDoc = dynamic_cast SwXTextDocument * ( xIfc.get() );
-if ( !pTxtDoc ) {
+uno::Reference uno::XInterface  xIfc(m_xSrcDoc, uno::UNO_QUERY);
+SwXTextDocument* pTxtDoc = dynamic_cast SwXTextDocument* (xIfc.get());
+if (!pTxtDoc)
+{
 return sal_False;
 }
 
-SwDoc *pDoc = pTxtDoc-GetDocShell()-GetDoc();
-if ( !pDoc ) {
+SwDoc* pDoc = pTxtDoc-GetDocShell()-GetDoc();
+if (!pDoc)
+{
 return sal_False;
 }
 
@@ -69,23 +69,23 @@ sal_Bool RtfExportFilter::filter( const uno::Sequence 
beans::PropertyValue  a
 
 // get SwPaM*
 // we get SwPaM for the entire document; copypaste is handled internally, 
not via UNO
-SwPaM aPam( pDoc-GetNodes().GetEndOfContent() );
+SwPaM aPam(pDoc-GetNodes().GetEndOfContent());
 aPam.SetMark();
-aPam.Move( fnMoveBackward, fnGoDoc );
+aPam.Move(fnMoveBackward, fnGoDoc);
 
-SwPaM *pCurPam = new SwPaM( *aPam.End(), *aPam.Start() );
+SwPaM* pCurPam = new SwPaM(*aPam.End(), *aPam.Start());
 
 // export the document
 // (in a separate block so that it's destructed before the commit)
 {
-RtfExport aExport( this, pDoc, pCurPam, aPam, NULL );
-aExport.ExportDocument( true );
+RtfExport aExport(this, pDoc, pCurPam, aPam, NULL);
+aExport.ExportDocument(true);
 }
 
 // delete the pCurPam
-if ( pCurPam )
+if (pCurPam)
 {
-while ( pCurPam-GetNext() != pCurPam )
+while (pCurPam-GetNext() != pCurPam)
 delete pCurPam-GetNext();
 delete pCurPam;
 }
@@ -94,12 +94,11 @@ sal_Bool RtfExportFilter::filter( const uno::Sequence 
beans::PropertyValue  a
 return sal_True;
 }
 
-void RtfExportFilter::cancel(  ) throw (uno::RuntimeException, std::exception)
+void RtfExportFilter::cancel() throw(uno::RuntimeException, std::exception)
 {
 }
 
-void RtfExportFilter::setSourceDocument( const uno::Reference 
lang::XComponent  xDoc )
-throw (lang::IllegalArgumentException, uno::RuntimeException, 
std::exception)
+void RtfExportFilter::setSourceDocument(const uno::Reference lang::XComponent 
 xDoc) throw(lang::IllegalArgumentException, uno::RuntimeException, 
std::exception)
 {
 m_xSrcDoc = xDoc;
 }
@@ -108,19 +107,19 @@ void RtfExportFilter::setSourceDocument( const 
uno::Reference lang::XComponent
 
 OUString RtfExport_getImplementationName()
 {
-return OUString( IMPL_NAME_RTFEXPORT );
+return OUString(IMPL_NAME_RTFEXPORT);
 }
 
 uno::Sequence OUString  SAL_CALL RtfExport_getSupportedServiceNames() throw()
 {
-const OUString aServiceName( com.sun.star.document.ExportFilter );
-const uno::Sequence OUString  aSeq( aServiceName, 1 );
+const OUString aServiceName(com.sun.star.document.ExportFilter);
+const uno::Sequence OUString  aSeq(aServiceName, 1);
 return aSeq;
 }
 
-uno::Reference uno::XInterface  SAL_CALL 

Re: Need help handling quoteright key shortcut for Mac OS X.

2014-05-05 Thread Tor Lillqvist
 Anyone interested in getting this covered for Mac?

Hopefully done now at least for the US English keyboard. Handling this
stuff on a keycode level seems to be a disaster area, though. We have
mapping tables in vcl/osx/salframeview.mm that as ar as I understand
are correct only for the US English keyboard layout.

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


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

2014-05-05 Thread Maxim Monastirsky
 include/sfx2/recentdocsview.hxx|2 --
 include/sfx2/recentdocsviewitem.hxx|2 +-
 include/sfx2/thumbnailviewitem.hxx |2 +-
 sfx2/source/control/recentdocsview.cxx |   16 
 sfx2/source/control/recentdocsviewitem.cxx |2 +-
 sfx2/source/doc/guisaveas.cxx  |6 --
 6 files changed, 11 insertions(+), 19 deletions(-)

New commits:
commit 718fbf4f808def97ad55b1afaeb5af68b9144b96
Author: Maxim Monastirsky momonas...@gmail.com
Date:   Mon May 5 22:17:59 2014 +0300

Fix indentation

Change-Id: I7ac9792da93a1b5231ddac5398823667b28adf92

diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index 908ed2a..85a9947 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -1715,11 +1715,13 @@ bool SfxStoringHelper::GUIStoreModel( uno::Reference 
frame::XModel  xModel,
 }
 
 // Launch PDF viewer
-if ( nStoreMode  PDFEXPORT_REQUESTED ) {
+if ( nStoreMode  PDFEXPORT_REQUESTED )
+{
 FilterConfigItem aItem( Office.Common/Filter/PDF/Export/ );
 bool aViewPDF = aItem.ReadBool( ViewPDFAfterExport, false );
 
-if ( aViewPDF ) {
+if ( aViewPDF )
+{
 uno::ReferenceXSystemShellExecute 
xSystemShellExecute(SystemShellExecute::create( 
::comphelper::getProcessComponentContext() ) );
 xSystemShellExecute-execute( aURL.GetMainURL( 
INetURLObject::NO_DECODE ), , SystemShellExecuteFlags::URIS_ONLY );
 }
commit 1a2a961c1e7cdef648c28e211433e8de6e8a831b
Author: Maxim Monastirsky momonas...@gmail.com
Date:   Mon May 5 22:00:09 2014 +0300

startcenter: react on mouse down instead

There is a good reason for that: File lists of
some file pickers handle double click event on
mouse down. So if a start center thumbnail is
exactly behind the file on which the user double-
clicked, it will receive the mouse up event, and
will also open.

Change-Id: I9fc9ceff0874d0486d5b568c9b35143c8d8aabf8

diff --git a/include/sfx2/recentdocsview.hxx b/include/sfx2/recentdocsview.hxx
index c1ba062..0ebf30e 100644
--- a/include/sfx2/recentdocsview.hxx
+++ b/include/sfx2/recentdocsview.hxx
@@ -63,8 +63,6 @@ public:
 protected:
 virtual void MouseButtonDown( const MouseEvent rMEvt ) SAL_OVERRIDE;
 
-virtual void MouseButtonUp( const MouseEvent rMEvt ) SAL_OVERRIDE;
-
 virtual void OnItemDblClicked(ThumbnailViewItem *pItem) SAL_OVERRIDE;
 
 virtual void Paint( const Rectangle rRect ) SAL_OVERRIDE;
diff --git a/include/sfx2/recentdocsviewitem.hxx 
b/include/sfx2/recentdocsviewitem.hxx
index b1a51fe..71b6474 100644
--- a/include/sfx2/recentdocsviewitem.hxx
+++ b/include/sfx2/recentdocsviewitem.hxx
@@ -33,7 +33,7 @@ public:
 virtual void Paint(drawinglayer::processor2d::BaseProcessor2D *pProcessor,
const ThumbnailItemAttributes *pAttrs) SAL_OVERRIDE;
 
-virtual void MouseButtonUp(const MouseEvent rMEvt) SAL_OVERRIDE;
+virtual void MouseButtonDown(const MouseEvent rMEvt) SAL_OVERRIDE;
 
 /// Called when the user clicks a document - it will open it.
 void OpenDocument();
diff --git a/include/sfx2/thumbnailviewitem.hxx 
b/include/sfx2/thumbnailviewitem.hxx
index ee4fd7f..cf3e860 100644
--- a/include/sfx2/thumbnailviewitem.hxx
+++ b/include/sfx2/thumbnailviewitem.hxx
@@ -129,7 +129,7 @@ public:
 static drawinglayer::primitive2d::PolygonHairlinePrimitive2D*
 createBorderLine (const basegfx::B2DPolygon rPolygon);
 
-virtual void MouseButtonUp(const MouseEvent) {}
+virtual void MouseButtonDown(const MouseEvent) {}
 
 protected:
 
diff --git a/sfx2/source/control/recentdocsview.cxx 
b/sfx2/source/control/recentdocsview.cxx
index 0564e8b..b4be9c8 100644
--- a/sfx2/source/control/recentdocsview.cxx
+++ b/sfx2/source/control/recentdocsview.cxx
@@ -213,27 +213,19 @@ void RecentDocsView::MouseButtonDown( const MouseEvent 
rMEvt )
 {
 if (rMEvt.IsLeft())
 {
-// ignore to avoid stuff done in ThumbnailView; we don't do selections 
etc.
-return;
-}
-
-ThumbnailView::MouseButtonDown(rMEvt);
-}
+if (rMEvt.GetClicks()  1)
+return;
 
-void RecentDocsView::MouseButtonUp(const MouseEvent rMEvt)
-{
-if (rMEvt.IsLeft())
-{
 size_t nPos = ImplGetItem(rMEvt.GetPosPixel());
 ThumbnailViewItem* pItem = ImplGetItem(nPos);
 
 if (pItem)
 {
-pItem-MouseButtonUp(rMEvt);
+pItem-MouseButtonDown(rMEvt);
 return;
 }
 }
-ThumbnailView::MouseButtonUp(rMEvt);
+ThumbnailView::MouseButtonDown(rMEvt);
 }
 
 void RecentDocsView::OnItemDblClicked(ThumbnailViewItem *)
diff --git a/sfx2/source/control/recentdocsviewitem.cxx 
b/sfx2/source/control/recentdocsviewitem.cxx
index aa2a7e0..0dfef15 100644
--- a/sfx2/source/control/recentdocsviewitem.cxx
+++ b/sfx2/source/control/recentdocsviewitem.cxx
@@ -182,7 +182,7 @@ void 

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

2014-05-05 Thread Kohei Yoshida
 sc/inc/document.hxx  |9 +
 sc/source/core/data/document.cxx |   20 +++-
 sc/source/ui/app/transobj.cxx|2 +-
 3 files changed, 21 insertions(+), 10 deletions(-)

New commits:
commit fe451fb94a33c914c0a7c1265c013d9704af850a
Author: Kohei Yoshida kohei.yosh...@collabora.com
Date:   Mon May 5 15:22:15 2014 -0400

fdo#78054: Initialize drawing layer when the document contains notes.

Don't be fooled even when the document doesn't have a drawing layer
initialized.  Sometimes a note creates caption on demand later, but if
the drawing layer isn't there the caption will not get created, which
ultimately causes this crash.

Change-Id: I37f4902fa84de91c9f793dc352127d9345a725e3

diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index f86bdda..3d8bcda 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -933,10 +933,11 @@ public:
 SC_DLLPUBLIC ScPostIt*   GetNote(SCCOL nCol, SCROW nRow, SCTAB nTab);
 void SetNote(const ScAddress rPos, ScPostIt* 
pNote);
 void SetNote(SCCOL nCol, SCROW nRow, SCTAB nTab, 
ScPostIt* pNote);
-SC_DLLPUBLIC bool HasNote(const ScAddress rPos);
-bool HasNote(SCCOL nCol, SCROW nRow, SCTAB nTab);
-SC_DLLPUBLIC boolHasColNotes(SCCOL nCol, SCTAB nTab);
-SC_DLLPUBLIC boolHasTabNotes(SCTAB nTab);
+SC_DLLPUBLIC bool HasNote(const ScAddress rPos) const;
+bool HasNote(SCCOL nCol, SCROW nRow, SCTAB nTab) const;
+SC_DLLPUBLIC bool HasColNotes(SCCOL nCol, SCTAB nTab) const;
+SC_DLLPUBLIC bool HasTabNotes(SCTAB nTab) const;
+bool HasNotes() const;
 SC_DLLPUBLIC ScPostIt*   ReleaseNote(const ScAddress rPos);
 SC_DLLPUBLIC ScPostIt*   GetOrCreateNote(const ScAddress rPos);
 SC_DLLPUBLIC ScPostIt*   CreateNote(const ScAddress rPos);
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 4f90b2f..181f294 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -6131,21 +6131,21 @@ void ScDocument::SetNote(SCCOL nCol, SCROW nRow, SCTAB 
nTab, ScPostIt* pNote)
 return maTabs[nTab]-aCol[nCol].SetCellNote(nRow, pNote);
 }
 
-bool ScDocument::HasNote(const ScAddress rPos)
+bool ScDocument::HasNote(const ScAddress rPos) const
 {
 return HasNote(rPos.Col(), rPos.Row(), rPos.Tab());
 }
-bool ScDocument::HasNote(SCCOL nCol, SCROW nRow, SCTAB nTab)
+bool ScDocument::HasNote(SCCOL nCol, SCROW nRow, SCTAB nTab) const
 {
-ScPostIt* pNote = maTabs[nTab]-aCol[nCol].GetCellNote(nRow);
+const ScPostIt* pNote = maTabs[nTab]-aCol[nCol].GetCellNote(nRow);
 return pNote != NULL;
 }
-bool ScDocument::HasColNotes(SCCOL nCol, SCTAB nTab)
+bool ScDocument::HasColNotes(SCCOL nCol, SCTAB nTab) const
 {
 return maTabs[nTab]-aCol[nCol].HasCellNotes();
 }
 
-bool ScDocument::HasTabNotes(SCTAB nTab)
+bool ScDocument::HasTabNotes(SCTAB nTab) const
 {
 bool hasNotes = false;
 for (SCCOL nCol=0; nColMAXCOLCOUNT  !hasNotes; ++nCol)
@@ -6154,6 +6154,16 @@ bool ScDocument::HasTabNotes(SCTAB nTab)
 return hasNotes;
 }
 
+bool ScDocument::HasNotes() const
+{
+for (SCTAB i = 0; i = MAXTAB; ++i)
+{
+if (HasTabNotes(i))
+return true;
+}
+return false;
+}
+
 ScPostIt* ScDocument::ReleaseNote(const ScAddress rPos)
 {
 ScTable* pTab = FetchTable(rPos.Tab());
diff --git a/sc/source/ui/app/transobj.cxx b/sc/source/ui/app/transobj.cxx
index 8b64728..1ccb4f2 100644
--- a/sc/source/ui/app/transobj.cxx
+++ b/sc/source/ui/app/transobj.cxx
@@ -637,7 +637,7 @@ void ScTransferObj::InitDocShell(bool bLimitToPageSize)
 }
 }
 
-if ( pDoc-GetDrawLayer() )
+if (pDoc-GetDrawLayer() || pDoc-HasNotes())
 pDocSh-MakeDrawLayer();
 
 //  cell range is copied to the original position, but on the first 
sheet
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2014-05-05 Thread Tor Lillqvist
 chart2/source/view/inc/3DChartObjects.hxx |2 +-
 chart2/source/view/inc/GL3DRenderer.hxx   |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit dbe06b114cc9097a5b7349652dc25c0d2c9c1c5e
Author: Tor Lillqvist t...@collabora.com
Date:   Mon May 5 22:47:30 2014 +0300

WaE: overriding virtual function declaration not marked 'override'

Change-Id: I96e84e3ec756216fabe9739e6bd53d2a89d186b5

diff --git a/chart2/source/view/inc/3DChartObjects.hxx 
b/chart2/source/view/inc/3DChartObjects.hxx
index b1f8de4..a6bf266 100644
--- a/chart2/source/view/inc/3DChartObjects.hxx
+++ b/chart2/source/view/inc/3DChartObjects.hxx
@@ -104,7 +104,7 @@ public:
 TemporaryContext();
 
 void init();
-void render();
+virtual void render() SAL_OVERRIDE;
 
 private:
 OpenGLContext maContext;
commit 6ca24c38cbc0c1df755e51e366c715d4fb4f1d93
Author: Tor Lillqvist t...@collabora.com
Date:   Mon May 5 22:45:33 2014 +0300

WaE: overriding virtual function declaration not marked 'override'

Change-Id: Ifd89b00c525ed4d75fcffe92845c4ca2f73705a8

diff --git a/chart2/source/view/inc/GL3DRenderer.hxx 
b/chart2/source/view/inc/GL3DRenderer.hxx
index 5f66203..4782f50 100644
--- a/chart2/source/view/inc/GL3DRenderer.hxx
+++ b/chart2/source/view/inc/GL3DRenderer.hxx
@@ -160,7 +160,7 @@ public:
 
 void LoadShaders();
 void init();
-bool isOpenGLInitialized();
+virtual bool isOpenGLInitialized() SAL_OVERRIDE;
 void Set3DSenceInfo(sal_Int32 color = 255, bool twoSidesLighting = true);
 void SetLightInfo(bool lightOn, sal_Int32 color, const glm::vec4 
direction);
 void AddShapePolygon3DObject(sal_Int32 color, bool lineOnly, sal_Int32 
lineColor,
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2014-05-05 Thread Andrzej Hunt
 include/sfx2/thumbnailview.hxx|1 -
 sfx2/source/control/thumbnailview.cxx |   14 +++---
 2 files changed, 3 insertions(+), 12 deletions(-)

New commits:
commit fb0ca7eff0e16fa8dd1a4c8d75fef23830903a3f
Author: Andrzej Hunt andrzej.h...@collabora.com
Date:   Mon May 5 20:48:58 2014 +0100

fdo#76261 Get rid of unneeded and malfunctioning maItemListRect.

maItemListRect serves as a sort of bounding box for what items /could/
be visible on screen, however it is only used for determining the id
of an item we have just clicked on -- given that we already know that
we are clicking inside the visible area this is an unnecessary check.

In fact this check is erronous as we no longer limit ourselves to whole
rows as of 806919adf9c9bafbaba92c2d2ab35d2e2f9863f8 -- i.e. the previous
assumption was that a view large enough for n rows will show precisely
n (whole) rows, whereas we might be showing (n-1) complete rows, and a
fraction of a row at the top and bottom of the screen, i.e. a total of
n+1 rows, where maItemRect only encloses the top n rows, meaning we
were erronously ignoring clicks on the (partly visible) lowest n+1 row.

Change-Id: Ia52ed2e0d217a9f077cef86ee9c1847252844995

diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx
index b760426..31faaf7 100644
--- a/include/sfx2/thumbnailview.hxx
+++ b/include/sfx2/thumbnailview.hxx
@@ -309,7 +309,6 @@ protected:
 ThumbnailValueItemList mFilteredItemList; /// Cache to store the filtered 
items
 ThumbnailValueItemList::iterator mpStartSelRange;
 ScrollBar* mpScrBar;
-Rectangle maItemListRect;
 long mnHeaderHeight;
 long mnItemWidth;
 long mnItemHeight;
diff --git a/sfx2/source/control/thumbnailview.cxx 
b/sfx2/source/control/thumbnailview.cxx
index 884084d..a392075 100644
--- a/sfx2/source/control/thumbnailview.cxx
+++ b/sfx2/source/control/thumbnailview.cxx
@@ -350,11 +350,6 @@ void ThumbnailView::CalculateItemPositions (bool 
bScrollBarUsed)
 size_t nFirstItem = (bScrollBarUsed ? nHiddenLines : mnFirstLine) * mnCols;
 size_t nLastItem = nFirstItem + (mnVisLines + 1) * mnCols;
 
-maItemListRect.Left() = x;
-maItemListRect.Top() = y;
-maItemListRect.Right() = x + mnCols*(mnItemWidth+nHItemSpace) - 
nHItemSpace - 1;
-maItemListRect.Bottom() = y + mnVisLines*(mnItemHeight+nVItemSpace) - 
nVItemSpace - 1;
-
 // If want also draw parts of items in the last line,
 // then we add one more line if parts of these line are
 // visible
@@ -449,13 +444,10 @@ size_t ThumbnailView::ImplGetItem( const Point rPos ) 
const
 return THUMBNAILVIEW_ITEM_NOTFOUND;
 }
 
-if ( maItemListRect.IsInside( rPos ) )
+for (size_t i = 0; i  mFilteredItemList.size(); ++i)
 {
-for (size_t i = 0; i  mFilteredItemList.size(); ++i)
-{
-if (mFilteredItemList[i]-isVisible()  
mFilteredItemList[i]-getDrawArea().IsInside(rPos))
-return i;
-}
+if (mFilteredItemList[i]-isVisible()  
mFilteredItemList[i]-getDrawArea().IsInside(rPos))
+return i;
 }
 
 return THUMBNAILVIEW_ITEM_NOTFOUND;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - chart2/source

2014-05-05 Thread Markus Mohrhard
 chart2/source/controller/chartapiwrapper/TitleWrapper.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 22d18dfa05e159c7f298e5eb49d8c89356cc5efb
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Wed Apr 30 02:33:02 2014 +0200

be explicit about text rotations, fdo#70670

Change-Id: I5090a49c2383e6a30165a8eca22b527972c0f507
Reviewed-on: https://gerrit.libreoffice.org/9231
Reviewed-by: Kohei Yoshida libreoff...@kohei.us
Tested-by: Kohei Yoshida libreoff...@kohei.us

diff --git a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx 
b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx
index 9ca382f..f15196e 100644
--- a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx
@@ -502,7 +502,7 @@ const std::vector WrappedProperty*  
TitleWrapper::createWrappedProperties()
 ::std::vector ::chart::WrappedProperty*  aWrappedProperties;
 
 aWrappedProperties.push_back( new WrappedTitleStringProperty( 
m_spChart2ModelContact-m_xContext ) );
-aWrappedProperties.push_back( new WrappedTextRotationProperty( 
m_eTitleType==TitleHelper::Y_AXIS_TITLE || 
m_eTitleType==TitleHelper::X_AXIS_TITLE ) );
+aWrappedProperties.push_back( new WrappedTextRotationProperty( true ) );
 aWrappedProperties.push_back( new WrappedStackedTextProperty() );
 WrappedCharacterHeightProperty::addWrappedProperties( aWrappedProperties, 
this );
 WrappedAutomaticPositionProperties::addWrappedProperties( 
aWrappedProperties );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - chart2/source xmloff/source

2014-05-05 Thread Markus Mohrhard
 chart2/source/tools/ErrorBar.cxx  |2 +-
 xmloff/source/chart/SchXMLPlotAreaContext.cxx |   15 +++
 2 files changed, 16 insertions(+), 1 deletion(-)

New commits:
commit 206d59068e1293382a6d11b4caef7ebbd323fb86
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Wed Apr 30 01:20:36 2014 +0200

set graphic properties for error bars during import, fdo#78041

Change-Id: I43138745b074dcacdafa090d97eeb9aa2ccecf78
Reviewed-on: https://gerrit.libreoffice.org/9233
Reviewed-by: Kohei Yoshida libreoff...@kohei.us
Tested-by: Kohei Yoshida libreoff...@kohei.us

diff --git a/chart2/source/tools/ErrorBar.cxx b/chart2/source/tools/ErrorBar.cxx
index cd55836..5a639bf 100644
--- a/chart2/source/tools/ErrorBar.cxx
+++ b/chart2/source/tools/ErrorBar.cxx
@@ -165,7 +165,7 @@ void ErrorBar::setPropertyValue( const OUString rPropName, 
const uno::Any rAny
 else if(rPropName == ShowNegativeError)
 rAny = mbShowNegativeError;
 else if(rPropName == ErrorBarRangePositive || rPropName == 
ErrorBarRangeNegative)
-throw uno::RuntimeException(read-only property, static_cast 
uno::XWeak*(this));
+throw beans::UnknownPropertyException(read-only property, 
static_cast uno::XWeak*(this));
 else
 LineProperties::setPropertyValue(rPropName, rAny);
 
diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.cxx 
b/xmloff/source/chart/SchXMLPlotAreaContext.cxx
index c72f1af..e55b771 100644
--- a/xmloff/source/chart/SchXMLPlotAreaContext.cxx
+++ b/xmloff/source/chart/SchXMLPlotAreaContext.cxx
@@ -1011,6 +1011,19 @@ 
SchXMLStatisticsObjectContext::~SchXMLStatisticsObjectContext()
 
 namespace {
 
+void SetErrorBarStyleProperties( const OUString rStyleName, uno::Reference 
beans::XPropertySet  xBarProp,
+SchXMLImportHelper rImportHelper )
+{
+const SvXMLStylesContext* pStylesCtxt = 
rImportHelper.GetAutoStylesContext();
+const SvXMLStyleContext* pStyle = 
pStylesCtxt-FindStyleChildContext(rImportHelper.GetChartFamilyID(),
+rStyleName);
+
+XMLPropStyleContext * pSeriesStyleContext =
+const_cast XMLPropStyleContext * ( dynamic_cast const 
XMLPropStyleContext * ( pStyle ));
+
+pSeriesStyleContext-FillPropertySet( xBarProp );
+}
+
 void SetErrorBarPropertiesFromStyleName( const OUString aStyleName, 
uno::Reference beans::XPropertySet xBarProp,
 SchXMLImportHelper rImportHelper, 
OUString aPosRange, OUString aNegRange)
 {
@@ -1177,6 +1190,8 @@ void SchXMLStatisticsObjectContext::StartElement( const 
uno::Reference xml::sax
 
xBarProp-setPropertyValue(ShowNegativeError,uno::makeAny(sal_True));
 
 // first import defaults from parent style
+SetErrorBarStyleProperties( maSeriesStyleName, xBarProp, 
mrImportHelper );
+SetErrorBarStyleProperties( sAutoStyleName, xBarProp, 
mrImportHelper );
 SetErrorBarPropertiesFromStyleName( maSeriesStyleName, 
xBarProp, mrImportHelper, aPosRange, aNegRange );
 SetErrorBarPropertiesFromStyleName( sAutoStyleName, 
xBarProp, mrImportHelper, aPosRange, aNegRange );
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source

2014-05-05 Thread Markus Mohrhard
 sc/source/filter/excel/xecontent.cxx |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 8a14eb18ffc34ab6d7afb8ab0abeb878b3ad2b11
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Tue Apr 29 20:37:36 2014 +0200

escape conditional formatting formulas during xlsx export, fdo#75168

Change-Id: I9ebdb2315b51c2b53d8cfa0486b3ec22a8e0d88d
Reviewed-on: https://gerrit.libreoffice.org/9232
Tested-by: Kohei Yoshida libreoff...@kohei.us
Reviewed-by: Kohei Yoshida libreoff...@kohei.us

diff --git a/sc/source/filter/excel/xecontent.cxx 
b/sc/source/filter/excel/xecontent.cxx
index 4c4db7f..7ebf959 100644
--- a/sc/source/filter/excel/xecontent.cxx
+++ b/sc/source/filter/excel/xecontent.cxx
@@ -942,13 +942,13 @@ void XclExpCFImpl::SaveXml( XclExpXmlStream rStrm )
 if(!IsTextRule(eOperation)  !IsTopBottomRule(eOperation))
 {
 rWorksheet-startElement( XML_formula, FSEND );
-rWorksheet-write(XclXmlUtils::ToOUString( GetRoot().GetDoc(), 
mrFormatEntry.GetValidSrcPos(),
+rWorksheet-writeEscaped(XclXmlUtils::ToOUString( GetRoot().GetDoc(), 
mrFormatEntry.GetValidSrcPos(),
 mrFormatEntry.CreateTokenArry(0)));
 rWorksheet-endElement( XML_formula );
 if (bFmla2)
 {
 rWorksheet-startElement( XML_formula, FSEND );
-rWorksheet-write(XclXmlUtils::ToOUString( GetRoot().GetDoc(), 
mrFormatEntry.GetValidSrcPos(),
+rWorksheet-writeEscaped(XclXmlUtils::ToOUString( 
GetRoot().GetDoc(), mrFormatEntry.GetValidSrcPos(),
 mrFormatEntry.CreateTokenArry(1)));
 rWorksheet-endElement( XML_formula );
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source

2014-05-05 Thread Eike Rathke
 sc/source/ui/docshell/docsh3.cxx |6 ++
 1 file changed, 6 insertions(+)

New commits:
commit 3efb6e5c35bb1129a78726b163f8fbf9bd94734a
Author: Eike Rathke er...@redhat.com
Date:   Mon May 5 18:18:57 2014 +0100

resolved fdo#78294 default null-date for document import is 1899-12-30

Change-Id: I9dfe76d422ad732a081442b95a995d8d395a098e
(cherry picked from commit 571cefca474e6b77d68f9fa31f805dcf692927fd)
Reviewed-on: https://gerrit.libreoffice.org/9253
Reviewed-by: Kohei Yoshida libreoff...@kohei.us
Tested-by: Kohei Yoshida libreoff...@kohei.us

diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx
index fcb2760f..42817ee 100644
--- a/sc/source/ui/docshell/docsh3.cxx
+++ b/sc/source/ui/docshell/docsh3.cxx
@@ -428,6 +428,12 @@ void ScDocShell::InitOptions(bool bForLoading)  // 
called from InitNew and L
 // so it must not be taken from the global options.
 // Calculation settings are handled separately in 
ScXMLBodyContext::EndElement.
 aDocOpt.SetStdPrecision( SvNumberFormatter::UNLIMITED_PRECISION );
+
+// fdo#78294 The default null-date if
+// table:null-date table:date-value='...' /
+// is absent is 1899-12-30 regardless what the configuration is set to.
+// Import filters may override this value.
+aDocOpt.SetDate( 30, 12, 1899);
 }
 
 aDocument.SetDocOptions( aDocOpt );
___
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

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65675

tommy27 ba...@quipo.it changed:

   What|Removed |Added

 Depends on||59886

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


[Bug 60270] LibreOffice 4.1 most annoying bugs

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60270

tommy27 ba...@quipo.it changed:

   What|Removed |Added

 Depends on|59886   |

-- 
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: chart2/source sfx2/source

2014-05-05 Thread Julien Nabet
 chart2/source/tools/ObjectIdentifier.cxx |4 ++--
 chart2/source/tools/RangeHighlighter.cxx |6 +++---
 sfx2/source/control/querystatus.cxx  |   10 +-
 sfx2/source/control/statcach.cxx |6 +++---
 sfx2/source/statbar/stbitem.cxx  |8 
 sfx2/source/toolbox/tbxitem.cxx  |   20 ++--
 6 files changed, 27 insertions(+), 27 deletions(-)

New commits:
commit ebd4986c3495239f09510f2c0c79b6e30acda83e
Author: Julien Nabet serval2...@yahoo.fr
Date:   Mon May 5 23:24:25 2014 +0200

Prefer cppu::UnoTypeT::get() to ::getCppuType((T*)0) part2

Change-Id: Ibca921eff3647507ffb7e9011a84aeefbec58d7a

diff --git a/chart2/source/tools/ObjectIdentifier.cxx 
b/chart2/source/tools/ObjectIdentifier.cxx
index c681b86..9edbdf0 100644
--- a/chart2/source/tools/ObjectIdentifier.cxx
+++ b/chart2/source/tools/ObjectIdentifier.cxx
@@ -259,11 +259,11 @@ ObjectIdentifier::ObjectIdentifier( const Any rAny )
 ,m_xAdditionalShape( 0 )
 {
 const uno::Type rType = rAny.getValueType();
-if ( rType == ::getCppuType( static_cast const OUString* ( 0 ) ) )
+if ( rType == cppu::UnoTypeOUString::get() )
 {
 rAny = m_aObjectCID;
 }
-else if ( rType == ::getCppuType( static_cast const Reference 
drawing::XShape * ( 0 ) ) )
+else if ( rType == cppu::UnoType drawing::XShape ::get() )
 {
 rAny = m_xAdditionalShape;
 }
diff --git a/chart2/source/tools/RangeHighlighter.cxx 
b/chart2/source/tools/RangeHighlighter.cxx
index 6a865a1..cc7e431 100644
--- a/chart2/source/tools/RangeHighlighter.cxx
+++ b/chart2/source/tools/RangeHighlighter.cxx
@@ -97,7 +97,7 @@ void RangeHighlighter::determineRanges()
 uno::Any aSelection( m_xSelectionSupplier-getSelection());
 const uno::Type rType = aSelection.getValueType();
 
-if ( rType == ::getCppuType( static_cast const OUString* ( 0 ) ) 
)
+if ( rType == cppu::UnoTypeOUString::get() )
 {
 // @todo??: maybe getSelection() should return a model object 
rather than a CID
 
@@ -164,7 +164,7 @@ void RangeHighlighter::determineRanges()
 }
 }
 }
-else if ( rType == ::getCppuType( static_cast const Reference 
drawing::XShape * ( 0 ) ) )
+else if ( rType == cppu::UnoType drawing::XShape ::get() )
 {
 // #i12587# support for shapes in chart
 Reference drawing::XShape  xShape;
@@ -336,7 +336,7 @@ void SAL_CALL RangeHighlighter::selectionChanged( const 
lang::EventObject /*aEv
 void RangeHighlighter::fireSelectionEvent()
 {
 ::cppu::OInterfaceContainerHelper* pIC = rBHelper.getContainer(
-::getCppuType((const uno::Reference view::XSelectionChangeListener 
*)0) );
+cppu::UnoType view::XSelectionChangeListener ::get() );
 if( pIC )
 {
 lang::EventObject aEvent( static_cast lang::XComponent* ( this ) );
diff --git a/sfx2/source/control/querystatus.cxx 
b/sfx2/source/control/querystatus.cxx
index ef03199..f9fa487 100644
--- a/sfx2/source/control/querystatus.cxx
+++ b/sfx2/source/control/querystatus.cxx
@@ -117,32 +117,32 @@ throw( RuntimeException, std::exception )
 rEvent.State = bTemp ;
 m_pItem = new SfxBoolItem( m_nSlotID, bTemp );
 }
-else if ( pType == ::getCppuType((const sal_uInt16*)0) )
+else if ( pType == ::cppu::UnoType ::cppu::UnoUnsignedShortType 
::get() )
 {
 sal_uInt16 nTemp = 0;
 rEvent.State = nTemp ;
 m_pItem = new SfxUInt16Item( m_nSlotID, nTemp );
 }
-else if ( pType == ::getCppuType((const sal_uInt32*)0) )
+else if ( pType == cppu::UnoTypesal_uInt32::get() )
 {
 sal_uInt32 nTemp = 0;
 rEvent.State = nTemp ;
 m_pItem = new SfxUInt32Item( m_nSlotID, nTemp );
 }
-else if ( pType == ::getCppuType((const OUString*)0) )
+else if ( pType == cppu::UnoTypeOUString::get() )
 {
 OUString sTemp ;
 rEvent.State = sTemp ;
 m_pItem = new SfxStringItem( m_nSlotID, sTemp );
 }
-else if ( pType == ::getCppuType((const 
::com::sun::star::frame::status::ItemStatus*)0) )
+else if ( pType == 
cppu::UnoType::com::sun::star::frame::status::ItemStatus::get() )
 {
 ItemStatus aItemStatus;
 rEvent.State = aItemStatus;
 m_eState = aItemStatus.State;
 m_pItem = new SfxVoidItem( m_nSlotID );
 }
-else if ( pType == ::getCppuType((const 
::com::sun::star::frame::status::Visibility*)0) )
+else if ( pType == 
cppu::UnoType::com::sun::star::frame::status::Visibility::get() )
 {
 Visibility aVisibilityStatus;
 rEvent.State = aVisibilityStatus;
diff --git a/sfx2/source/control/statcach.cxx b/sfx2/source/control/statcach.cxx
index 

[Bug 65675] LibreOffice 4.2 most annoying bugs

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65675

tommy27 ba...@quipo.it changed:

   What|Removed |Added

 Depends on||56394

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


[Bug 60270] LibreOffice 4.1 most annoying bugs

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60270

tommy27 ba...@quipo.it changed:

   What|Removed |Added

 Depends on|56394   |

-- 
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: 4 commits - sw/source vcl/unx

2014-05-05 Thread Michael Stahl
 sw/source/core/access/acctable.cxx |   44 ++---
 sw/source/core/access/acctable.hxx |9 ---
 sw/source/core/layout/tabfrm.cxx   |   22 --
 sw/source/core/undo/untbl.cxx  |   20 +++-
 vcl/unx/gtk/a11y/atklistener.cxx   |5 +++-
 5 files changed, 50 insertions(+), 50 deletions(-)

New commits:
commit d09d75167d77adcc8538c5cc5d8fe6bac6091ca1
Author: Michael Stahl mst...@redhat.com
Date:   Mon May 5 23:33:00 2014 +0200

AtkListener: consistency check is too strict

Apparently it can happen in JunitTest_sw_unoapi that between the
getAccessibleChildCount() and the getAccessibleChild() calls that the
children all disappear; try not to assert in that case.

Change-Id: Iec8e373281950bf684fa76d69f8c4625ecd1255a

diff --git a/vcl/unx/gtk/a11y/atklistener.cxx b/vcl/unx/gtk/a11y/atklistener.cxx
index 3349be8..511ff0a 100644
--- a/vcl/unx/gtk/a11y/atklistener.cxx
+++ b/vcl/unx/gtk/a11y/atklistener.cxx
@@ -137,7 +137,10 @@ void 
AtkListener::updateChildList(accessibility::XAccessibleContext* pContext)
  }
  catch (lang::IndexOutOfBoundsException const)
  {
- assert(false); // not consistent with getAccessibleChildCount
+ sal_Int32 nChildren2 = pContext-getAccessibleChildCount();
+ assert(nChildren2 = n); // consistency?
+ m_aChildList.resize(std::min(nChildren2, n));
+ break;
  }
  OSL_ASSERT(m_aChildList[n].is());
  }
commit f66d9badf9e510f5bbc94201edd5a53c26f8526a
Author: Michael Stahl mst...@redhat.com
Date:   Mon May 5 21:45:55 2014 +0200

sw: don't dispose SwAccessibles in SwRowFrm::Cut()

This does not appear to work so well: for a row with multiple cells,
when the second cell frame's SwAccessible is disposed it will send an
event, and the AtkListener will then request all children of the row,
and this causes a new SwAccessible to be created for the first cell
frame that was disposed previously.

Unlike most other events, Dispose events cannot be sent delayed.

The SwAccessibles are disposed from ~SwCellFrm already, that should be
sufficient.

Change-Id: I6da72605e5386540f8d82535fca151e97d70869f

diff --git a/sw/source/core/access/acctable.cxx 
b/sw/source/core/access/acctable.cxx
index 2bb9fd6..979dd0d 100644
--- a/sw/source/core/access/acctable.cxx
+++ b/sw/source/core/access/acctable.cxx
@@ -1446,7 +1446,8 @@ void SwAccessibleTable::InvalidateChildPosOrSize( const 
SwAccessibleChild rChil
 SwAccessibleTableData_Impl *pNewTableData = CreateNewTableData(); 
// #i77106#
 if( !pNewTableData-CompareExtents( GetTableData() ) )
 {
-if(pNewTableData-GetRowCount()!= mpTableData-GetRowCount())
+if (pNewTableData-GetRowCount() != mpTableData-GetRowCount()
+ 1  GetTableData().GetRowCount())
 {
 Int32Set_Impl::const_iterator aSttCol( 
GetTableData().GetColumnIter( 0 ) );
 Int32Set_Impl::const_iterator aSttRow( 
GetTableData().GetRowIter( 1 ) );
diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx
index 7ac3764..8b26e60 100644
--- a/sw/source/core/layout/tabfrm.cxx
+++ b/sw/source/core/layout/tabfrm.cxx
@@ -4178,28 +4178,6 @@ void SwRowFrm::Cut()
 pTab-FindMaster()-InvalidatePos();
 }
 
-// #i103961#
-// notification for accessibility
-{
-SwRootFrm *pRootFrm = getRootFrm();
-if( pRootFrm  pRootFrm-IsAnyShellAccessible() )
-{
-SwViewShell* pVSh = pRootFrm-GetCurrShell();
-if ( pVSh  pVSh-Imp() )
-{
-SwFrm* pCellFrm( GetLower() );
-while ( pCellFrm )
-{
-OSL_ENSURE( pCellFrm-IsCellFrm(),
-SwRowFrm::Cut() - unexpected type of SwRowFrm 
lower. );
-pVSh-Imp()-DisposeAccessibleFrm( pCellFrm );
-
-pCellFrm = pCellFrm-GetNext();
-}
-}
-}
-}
-
 SwLayoutFrm::Cut();
 }
 
commit a82de8698a4569d043a3f656a4afbe21a952f8d3
Author: Michael Stahl mst...@redhat.com
Date:   Mon May 5 21:30:43 2014 +0200

fdo#57197: sw: fix crash on Undo of table row insert on 1-row table

... with accessibility enabled: the SwCellFrms are deleted, but the
entry in the SwAccessibleMap::mpFrmMap is not removed, because Dispose
returns early since the connections to the nodes have been severed already.

This then crashes in some questionable code that iterates over and uses
the frame pointers in mpFrmMap that was added in
76c549eb01dcb7b5bf28a271ce00e386f3d388ba (where previously only the
WeakReferences were used out of that map).

Change-Id: I13885c6ab9a92e34e95925f275e15c20fdc600b7


[ANN] LIbreOffice 4.2.4 RC2 available

2014-05-05 Thread Christian Lohmaier
Dear Community,

The Document Foundation is pleased to announce the second release
candidate of LibreOffice 4.2.4. The upcoming 4.2.4 will be the fourth
in a sequence of frequent bugfix releases for our feature-packed 4.2
line. Feel free to give it a try instead of 4.2.3. Conservative users
should continue to use LibreOffice 4.1.6

The release is available for Windows, Linux and Mac OS X from our QA
builds download page at

  http://www.libreoffice.org/download/pre-releases/

Developers and QA might also be interested in the symbol server for
windows debug information (see the release notes linked below for
details)

Should you find bugs, please report them to the FreeDesktop Bugzilla:

  https://bugs.freedesktop.org

A good way to assess the release candidate quality is to run some
specific manual tests on it, our TCM wiki page has more details:

 
http://wiki.documentfoundation.org/QA/Testing/Regression_Tests#Full_Regression_Test

For other ways to get involved with this exciting project - you can
e.g. contribute code:

  http://www.libreoffice.org/community/developers/

translate LibreOffice to your language:

  http://wiki.documentfoundation.org/LibreOffice_Localization_Guide

or help with funding our operations:

  http://donate.libreoffice.org/

A list of known issues and fixed bugs with 4.2.4 RC2 is available
from our wiki:

  http://wiki.documentfoundation.org/Releases/4.2.4/RC2

Let us close again with a BIG Thank You! to all of you having
contributed to the LibreOffice project - this release would not have
been possible without your help.

On behalf of the Community,

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


fdo#63315: sign windows binaries during build

2014-05-05 Thread Mathias MICHEL

Hello

See https://bugs.freedesktop.org/show_bug.cgi?id=63315
From the Cloph's comment it seems the issue is fixed but with room for  
improvement.


Should we close it or not ?

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


fdo#63315: sign windows binaries during build

2014-05-05 Thread Mat M

Hello

See https://bugs.freedesktop.org/show_bug.cgi?id=63315
From the Cloph's comment it seems the issue is fixed but with room for  
improvement.


Should we close it or not ?

Kind regards

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


[Libreoffice-commits] core.git: 3 commits - avmedia/source sal/osl vcl/source

2014-05-05 Thread Jan Holesovsky
 avmedia/source/viewer/mediawindow_impl.cxx |2 +-
 sal/osl/all/log.cxx|1 +
 vcl/source/opengl/OpenGLContext.cxx|4 ++--
 3 files changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 18d4f6c9ee24dc080bc3b6fed7403f5d0c18f965
Author: Jan Holesovsky ke...@collabora.com
Date:   Tue May 6 02:31:42 2014 +0200

Use WB_CLIPCHILDREN consistently.

Change-Id: Ifd53e37d23c29efb2f084a39b48c88ea4bc0d70a

diff --git a/avmedia/source/viewer/mediawindow_impl.cxx 
b/avmedia/source/viewer/mediawindow_impl.cxx
index e52e524..58c2d49 100644
--- a/avmedia/source/viewer/mediawindow_impl.cxx
+++ b/avmedia/source/viewer/mediawindow_impl.cxx
@@ -84,7 +84,7 @@ MediaChildWindow::MediaChildWindow( Window* pParent ) :
 }
 
 MediaChildWindow::MediaChildWindow( Window* pParent, SystemWindowData* pData ) 
:
-SystemChildWindow( pParent, 0, pData )
+SystemChildWindow( pParent, WB_CLIPCHILDREN, pData )
 {
 }
 
commit d9fb35083dd34a4a3b486e4b1c8969448c522103
Author: Jan Holesovsky ke...@collabora.com
Date:   Tue May 6 02:22:57 2014 +0200

OpenGLContext: Use the right window handle on Windows.

Change-Id: I77eaf1dad9ce4c855b5f88bd8568944fd4128227

diff --git a/vcl/source/opengl/OpenGLContext.cxx 
b/vcl/source/opengl/OpenGLContext.cxx
index 5271214..3e838ea 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -566,8 +566,6 @@ void OpenGLContext::renderToFile()
 
 bool OpenGLContext::initWindow()
 {
-const SystemEnvData* sysData(mpWindow-GetSystemData());
-m_aGLWin.hWnd = sysData-hWnd;
 if( !m_pChildWindow )
 {
 SystemWindowData winData = generateWinData(mpWindow);
@@ -583,6 +581,8 @@ bool OpenGLContext::initWindow()
 m_pChildWindow-SetControlForeground();
 m_pChildWindow-SetControlBackground();
 m_pChildWindow-EnablePaint(sal_False);
+
+const SystemEnvData* sysData(m_pChildWindow-GetSystemData());
 m_aGLWin.hWnd = sysData-hWnd;
 }
 
commit 68e5207306dad9ce4cdf95283f4b2c5e32f131e2
Author: Jan Holesovsky ke...@collabora.com
Date:   Mon May 5 18:32:49 2014 +0200

sal logging: Flush after having written the output.

Makes it possible to see the messages immediately on Windows; otherwise the
SAL_DEBUG() etc. is useless as it shows on screen too late.

Change-Id: I701922aa4fcacf66d6b044e0badca7ef1f9cac94

diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx
index 056d2a4..aa3105d 100644
--- a/sal/osl/all/log.cxx
+++ b/sal/osl/all/log.cxx
@@ -240,6 +240,7 @@ void log(
 #endif
 } else {
 std::fputs(s.str().c_str(), stderr);
+std::fflush(stderr);
 }
 #endif
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2014-05-05 Thread Jan Holesovsky
 vcl/source/opengl/OpenGLContext.cxx |   31 +++
 1 file changed, 23 insertions(+), 8 deletions(-)

New commits:
commit f585323f89207b4ff93c6b0dbf1d80b0253bac02
Author: Jan Holesovsky ke...@collabora.com
Date:   Tue May 6 02:27:08 2014 +0200

OpenGLContext: More error handling.

Change-Id: Ib92adfc83c963ecfcfa7fdbc2ec71f363a181330

diff --git a/vcl/source/opengl/OpenGLContext.cxx 
b/vcl/source/opengl/OpenGLContext.cxx
index 3e838ea..8faa4d9 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -423,22 +423,34 @@ bool OpenGLContext::ImplInit()
 };
 
 //  we must check whether can set the MSAA
-int WindowPix;
+int WindowPix = 0;
 bool bMultiSampleSupport = InitMultisample(PixelFormatFront, WindowPix);
-if (bMultiSampleSupport)
+if (bMultiSampleSupport  WindowPix != 0)
 {
 m_aGLWin.bMultiSampleSupported = true;
 }
 else
 {
-WindowPix = ChoosePixelFormat(m_aGLWin.hDC,PixelFormatFront);
+WindowPix = ChoosePixelFormat(m_aGLWin.hDC, PixelFormatFront);
 }
-SetPixelFormat(m_aGLWin.hDC,WindowPix,PixelFormatFront);
-m_aGLWin.hRC  = wglCreateContext(m_aGLWin.hDC);
 
-if (!wglMakeCurrent(m_aGLWin.hDC,m_aGLWin.hRC))
+if (WindowPix == 0)
 {
-SAL_WARN(vcl.opengl, Failed wglMakeCurrent:   GetLastError());
+SAL_WARN(vcl.opengl, Invalid pixelformat);
+return false;
+}
+
+SetPixelFormat(m_aGLWin.hDC, WindowPix, PixelFormatFront);
+m_aGLWin.hRC = wglCreateContext(m_aGLWin.hDC);
+if (m_aGLWin.hRC == NULL)
+{
+SAL_WARN(vcl.opengl, wglCreateContext failed);
+return false;
+}
+
+if (!wglMakeCurrent(m_aGLWin.hDC, m_aGLWin.hRC))
+{
+SAL_WARN(vcl.opengl, wglMakeCurrent failed:   GetLastError());
 return false;
 }
 
@@ -757,7 +769,10 @@ SystemWindowData OpenGLContext::generateWinData(Window* 
pParent)
 void OpenGLContext::makeCurrent()
 {
 #if defined( WNT )
-wglMakeCurrent(m_aGLWin.hDC,m_aGLWin.hRC);
+if (!wglMakeCurrent(m_aGLWin.hDC, m_aGLWin.hRC))
+{
+SAL_WARN(vcl.opengl, OpenGLContext::makeCurrent(): wglMakeCurrent 
failed:   GetLastError());
+}
 #elif defined( MACOSX ) || defined( IOS ) || defined( ANDROID )
 // nothing
 #elif defined( UNX )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Bug 75025] LibreOffice 4.3 most annoying bugs

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75025

Bug 75025 depends on bug 78266, which changed state.

Bug 78266 Summary: CRASH: Trying to access Menu Tools - Options
https://bugs.freedesktop.org/show_bug.cgi?id=78266

   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: Changes to 'private/moggi/chart-opengl-window-version2'

2014-05-05 Thread Markus Mohrhard
New branch 'private/moggi/chart-opengl-window-version2' available with the 
following commits:
commit 361add4f66ccba797d1bcdb3be5d463cfdaf268c
Author: Markus Mohrhard markus.mohrh...@collabora.co.uk
Date:   Tue May 6 06:16:56 2014 +0200

provide the OpenGL window

This approach looks much better. We get size and position correct
without much work and can easily plug the window into the sc window
hierarchy.

We still have a crash on exit as the ScGridWindow goes out of scope and
the SystemChildWindow is still alive. We need to fix it and bind the
lifecycle of the SystemChildWindow to ScGridWindow.

Another open item is the OpenGL context work. Right now it looks like
the best way forward is to create a subclass of SystemChildWindow that
contains the OpenGLContext.

Change-Id: Ie0a74531e1b818cea92912345464c8fa219bbae2

commit 3e9b56d171c15355f12776a5b83e78039eb2352d
Author: Markus Mohrhard markus.mohrh...@collabora.co.uk
Date:   Tue May 6 03:41:01 2014 +0200

sal_Bool to bool

Change-Id: I2febe40b1128eefa8838f3dc0836863ed96c0048

commit fa5f74e98007f3f3b080c012a969320c6646d741
Author: Markus Mohrhard markus.mohrh...@collabora.co.uk
Date:   Tue May 6 02:49:56 2014 +0200

fix typo

Change-Id: Ic54d87505ac628abfec6942403a066cdb3e02a01

commit bda39b2a7be21c608f799be63bf45e9a1db8
Author: Markus Mohrhard markus.mohrh...@collabora.co.uk
Date:   Tue May 6 02:05:29 2014 +0200

remove global variable

Change-Id: Ie5f55feb39798dff27e0c6b41d5b88b6e9bf19bc

commit e64a821ecac0e623d3c77b84a95cf10c53c1605f
Author: Markus Mohrhard markus.mohrh...@collabora.co.uk
Date:   Tue May 6 01:39:19 2014 +0200

remove whitespace

Change-Id: I4c2d0447526bda4ccbe2fa7edaf8be1886d214f0

commit 749e56bcaa7cc6dcb2c971fa36f12d39fd9648a2
Author: xukai xu...@multicorewareinc.com
Date:   Mon May 5 14:05:08 2014 +0800

add codes to Line::render()

Change-Id: I6510f486707b08ea8f611105f40cc4c7e1581a7f

commit e03aa806f2aa5ba76faa7dfbf6765c54b5f596ad
Author: xukai xu...@multicorewareinc.com
Date:   Mon May 5 13:00:46 2014 +0800

remove the codes of set camera info to render()

Change-Id: I9c2aecd5dea617e7cd69c1fc005b6a9ee237f202

commit dcdda195e606f4b0c0fbef74f95d30473de5e14b
Author: xukai xu...@multicorewareinc.com
Date:   Mon May 5 12:25:42 2014 +0800

add codes to set camera info

Change-Id: Id6bac3a8dd46d7994c9e64c9e0c16e8c7ac036ac

commit 63659f160edb84a652de5e2eaccfe2ab7c1a8b0e
Author: xukai xu...@multicorewareinc.com
Date:   Mon May 5 11:54:26 2014 +0800

Initial size of OpenGL3DRenderer

Change-Id: Ibfed531e48848ea711be429d6e5c08094473f781

commit 1b6d56bd5ac3a4d33b7e73f753c937259e4e60cd
Author: xukai xu...@multicorewareinc.com
Date:   Mon May 5 11:06:30 2014 +0800

Initialization of light

Change-Id: I91220e8ebffa0090fa7e9146df853f16b6783491

commit fdc5e0a6bfc3c3499be2116297ccac33ba364a9f
Author: xukai xu...@multicorewareinc.com
Date:   Mon May 5 10:42:20 2014 +0800

Introduce OpenGL3DRenderer object

Change-Id: If0454ace5ef21b9d32299f3edea115a2726aac00

commit 42e58669510e81c5bdf6c999393309b3e6687b2b
Author: xukai xu...@multicorewareinc.com
Date:   Mon May 5 10:36:32 2014 +0800

To implement an abstract method:isOpenGLInitialized

Change-Id: I651c0e5830008fd08ba886ccf1be99d40868bb72

commit 3d8311a0c2898177015d26c850f9aebdd1beacc3
Author: xukai xu...@multicorewareinc.com
Date:   Mon May 5 10:28:38 2014 +0800

Update Function Set3DSenceInfo

Change-Id: Ic117de10be2181a80e65ea48c888789456abfb0a

commit dab00b785d34713fb7818c8f7f0d2e98f416227e
Author: Markus Mohrhard markus.mohrh...@collabora.co.uk
Date:   Mon May 5 17:43:59 2014 +0200

fix whitespace issues

Change-Id: I7a3680aa324c4242572b71c91ec5bc4f85eff9e9

commit f3cfa586df1226b9f93a0921c305fd7057ddd8c6
Author: xukai xu...@multicorewareinc.com
Date:   Sun May 4 17:05:05 2014 +0800

add vertex shader and fragment shader for 3D rendering

Change-Id: I7b1ca054006500d468da73d2d85eafaad85dda67

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: 4 commits - basic/source cui/source editeng/source framework/source include/editeng include/svl include/tools offapi/com sc/source svl/source svtools/source sw/inc sw/s

2014-05-05 Thread Thomas Arnhold
 basic/source/classes/sbunoobj.cxx  |2 +-
 basic/source/runtime/runtime.cxx   |2 +-
 cui/source/inc/numpages.hxx|3 ---
 cui/source/tabpages/numpages.cxx   |1 -
 editeng/source/misc/swafopt.cxx|2 +-
 framework/source/helper/vclstatusindicator.cxx |2 +-
 include/editeng/svxrtf.hxx |2 +-
 include/svl/itempool.hxx   |2 +-
 include/tools/color.hxx|4 ++--
 offapi/com/sun/star/drawing/GraphicObjectShape.idl |2 +-
 sc/source/ui/docshell/docsh.cxx|2 +-
 sc/source/ui/src/scfuncs.src   |4 ++--
 sc/source/ui/view/printfun.cxx |4 ++--
 svl/source/items/itempool.cxx  |2 +-
 svl/source/items/poolio.cxx|4 ++--
 svl/source/items/style.cxx |2 +-
 svl/source/numbers/zforfind.cxx|2 +-
 svtools/source/contnr/imivctl1.cxx |2 +-
 sw/inc/tblafmt.hxx |2 +-
 sw/inc/tox.hxx |2 +-
 sw/source/core/doc/docfmt.cxx  |   10 +-
 sw/source/core/text/porlay.cxx |4 ++--
 sw/source/core/uibase/frmdlg/colmgr.cxx|2 +-
 23 files changed, 30 insertions(+), 34 deletions(-)

New commits:
commit 65f61d1bf7e59fd643ca3da4a25c8ace8e5507e6
Author: Thomas Arnhold tho...@arnhold.org
Date:   Tue May 6 07:08:01 2014 +0200

fdo#78321 Bullets and Numbering: SvxNumberingPreview looks ugly

Just remove the inner rectangle. Now it looks nice.

Change-Id: Icd3d3971292f958d1ffdd3dc6a7697005b5f9047

diff --git a/cui/source/inc/numpages.hxx b/cui/source/inc/numpages.hxx
index b4714a5..b4e46aa 100644
--- a/cui/source/inc/numpages.hxx
+++ b/cui/source/inc/numpages.hxx
@@ -464,7 +464,4 @@ public:
 
 #endif
 
-
-
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index 0ab58a6..a1265f9 100644
--- a/cui/source/tabpages/numpages.cxx
+++ b/cui/source/tabpages/numpages.cxx
@@ -2302,7 +2302,6 @@ voidSvxNumberingPreview::Paint( const Rectangle 
/*rRect*/ )
 aLineColor.Invert();
 pVDev-SetLineColor(aLineColor);
 pVDev-SetFillColor( aBackColor );
-pVDev-DrawRect(aRect);
 
 if(pActNum)
 {
commit 9e436082af14b2202229589325cee0518fd6107d
Author: Thomas Arnhold tho...@arnhold.org
Date:   Mon May 5 22:41:17 2014 +0200

dflt - default

Change-Id: I89f1f5771eb7d96da233a8c7386b906b2a3a9c3e

diff --git a/basic/source/classes/sbunoobj.cxx 
b/basic/source/classes/sbunoobj.cxx
index b0eca56..296e706 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -162,7 +162,7 @@ void SetSbUnoObjectDfltPropName( SbxObject* pObj )
 
 if ( SbUnoObject::getDefaultPropName( pUnoObj, sDfltPropName ) )
 {
-OSL_TRACE(SetSbUnoObjectDfltPropName setting dflt prop for %s, 
OUStringToOString( pObj-GetName(), RTL_TEXTENCODING_UTF8 ).getStr() );
+OSL_TRACE(SetSbUnoObjectDfltPropName setting default prop for 
%s, OUStringToOString( pObj-GetName(), RTL_TEXTENCODING_UTF8 ).getStr() );
 pUnoObj-SetDfltProperty( sDfltPropName );
 }
 }
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index af50e09..8bfdb52 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -3314,7 +3314,7 @@ void SbiRuntime::StepSETCLASS_impl( sal_uInt32 nOp1, bool 
bHandleDflt )
 bool bOk = checkClass_Impl( refVal, aClass, true );
 if( bOk )
 {
-StepSET_Impl( refVal, refVar, bHandleDflt ); // don't do handle dflt 
prop for a proper set
+StepSET_Impl( refVal, refVar, bHandleDflt ); // don't do handle 
default prop for a proper set
 }
 }
 
diff --git a/editeng/source/misc/swafopt.cxx b/editeng/source/misc/swafopt.cxx
index deee6fc..74645ed 100644
--- a/editeng/source/misc/swafopt.cxx
+++ b/editeng/source/misc/swafopt.cxx
@@ -61,7 +61,7 @@ SvxSwAutoFmtFlags::SvxSwAutoFmtFlags()
 bDummy6 = bDummy7 = bDummy8 =
  false;
 
-nRightMargin = 50;  // dflt. 50%
+nRightMargin = 50;  // default 50%
 nAutoCmpltExpandKey = KEY_RETURN;
 
 aBulletFont.SetCharSet( RTL_TEXTENCODING_SYMBOL );
diff --git a/include/editeng/svxrtf.hxx b/include/editeng/svxrtf.hxx
index cc0f2b8..33a8339 100644
--- a/include/editeng/svxrtf.hxx
+++ b/include/editeng/svxrtf.hxx
@@ -326,7 +326,7 @@ public:
 virtual SvParserState CallParser() SAL_OVERRIDE;
 
 inline const Color GetColor( size_t nId ) const;
-const Font GetFont( sal_uInt16 nId );  // Changes the dflt Font
+const Font GetFont( sal_uInt16 nId );  // Changes the default Font
 
 virtual 

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

2014-05-05 Thread Julien Nabet
 sfx2/source/control/querystatus.cxx |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 1567853a8236f5cc7b09df6002c9b9325d931a7b
Author: Julien Nabet serval2...@yahoo.fr
Date:   Tue May 6 07:35:26 2014 +0200

Remove C11ism

Change-Id: Id5ae0cf42aa8d6ed464eb1149ebdd172a284a75f

diff --git a/sfx2/source/control/querystatus.cxx 
b/sfx2/source/control/querystatus.cxx
index f9fa487..04e91f0 100644
--- a/sfx2/source/control/querystatus.cxx
+++ b/sfx2/source/control/querystatus.cxx
@@ -135,14 +135,14 @@ throw( RuntimeException, std::exception )
 rEvent.State = sTemp ;
 m_pItem = new SfxStringItem( m_nSlotID, sTemp );
 }
-else if ( pType == 
cppu::UnoType::com::sun::star::frame::status::ItemStatus::get() )
+else if ( pType == cppu::UnoType 
::com::sun::star::frame::status::ItemStatus::get() )
 {
 ItemStatus aItemStatus;
 rEvent.State = aItemStatus;
 m_eState = aItemStatus.State;
 m_pItem = new SfxVoidItem( m_nSlotID );
 }
-else if ( pType == 
cppu::UnoType::com::sun::star::frame::status::Visibility::get() )
+else if ( pType == cppu::UnoType 
::com::sun::star::frame::status::Visibility::get() )
 {
 Visibility aVisibilityStatus;
 rEvent.State = aVisibilityStatus;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2014-05-05 Thread Julien Nabet
 sfx2/source/statbar/stbitem.cxx |2 +-
 sfx2/source/toolbox/tbxitem.cxx |8 
 2 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 3f569908ac72c20826a45ebed59af9b1e5449207
Author: Julien Nabet serval2...@yahoo.fr
Date:   Tue May 6 07:39:09 2014 +0200

Remove C11ism

Change-Id: I093ef950f7097021dec3b829d4e11e7b20fc9292

diff --git a/sfx2/source/statbar/stbitem.cxx b/sfx2/source/statbar/stbitem.cxx
index 549b46f..df13974 100644
--- a/sfx2/source/statbar/stbitem.cxx
+++ b/sfx2/source/statbar/stbitem.cxx
@@ -286,7 +286,7 @@ throw ( ::com::sun::star::uno::RuntimeException, 
std::exception )
 rEvent.State = sTemp ;
 pItem = new SfxStringItem( nSlotID, sTemp );
 }
-else if ( pType == 
cppu::UnoType::com::sun::star::frame::status::ItemStatus::get() )
+else if ( pType == cppu::UnoType 
::com::sun::star::frame::status::ItemStatus::get() )
 {
 frame::status::ItemStatus aItemStatus;
 rEvent.State = aItemStatus;
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx
index bb1be33..2b4efb0 100644
--- a/sfx2/source/toolbox/tbxitem.cxx
+++ b/sfx2/source/toolbox/tbxitem.cxx
@@ -565,14 +565,14 @@ throw ( ::com::sun::star::uno::RuntimeException, 
std::exception )
 rEvent.State = sTemp ;
 pItem = new SfxStringItem( nSlotId, sTemp );
 }
-else if ( pType == 
cppu::UnoType::com::sun::star::frame::status::ItemStatus::get() )
+else if ( pType == cppu::UnoType 
::com::sun::star::frame::status::ItemStatus::get() )
 {
 ItemStatus aItemStatus;
 rEvent.State = aItemStatus;
 eState = aItemStatus.State;
 pItem = new SfxVoidItem( nSlotId );
 }
-else if ( pType == 
cppu::UnoType::com::sun::star::frame::status::Visibility::get() )
+else if ( pType == cppu::UnoType 
::com::sun::star::frame::status::Visibility::get() )
 {
 Visibility aVisibilityStatus;
 rEvent.State = aVisibilityStatus;
@@ -,14 +,14 @@ throw ( ::com::sun::star::uno::RuntimeException, 
std::exception )
 rEvent.State = sTemp ;
 pItem = new SfxStringItem( nSlotId, sTemp );
 }
-else if ( pType == 
cppu::UnoType::com::sun::star::frame::status::ItemStatus::get() )
+else if ( pType == cppu::UnoType 
::com::sun::star::frame::status::ItemStatus::get() )
 {
 ItemStatus aItemStatus;
 rEvent.State = aItemStatus;
 eState = aItemStatus.State;
 pItem = new SfxVoidItem( nSlotId );
 }
-else if ( pType == 
cppu::UnoType::com::sun::star::frame::status::Visibility::get() )
+else if ( pType == cppu::UnoType 
::com::sun::star::frame::status::Visibility::get() )
 {
 Visibility aVisibilityStatus;
 rEvent.State = aVisibilityStatus;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: basegfx/source connectivity/source dbaccess/source editeng/source fpicker/source mysqlc/source qadevOOo/testdocs sc/source svx/source sw/source vcl/source vcl/unx write

2014-05-05 Thread Noel Grandin
 basegfx/source/curve/b2dcubicbezier.cxx  |
4 ++--
 connectivity/source/commontools/dbtools.cxx  |
4 ++--
 dbaccess/source/core/api/KeySet.cxx  |
2 +-
 dbaccess/source/core/api/OptimisticSet.cxx   |
2 +-
 dbaccess/source/core/api/RowSetCache.cxx |
4 ++--
 dbaccess/source/ui/tabledesign/TableController.cxx   |
2 +-
 editeng/source/outliner/outlvw.cxx   |
2 +-
 fpicker/source/aqua/FilterHelper.mm  |
8 
 mysqlc/source/mysqlc_connection.cxx  |
2 +-
 qadevOOo/testdocs/qadevlibs/source/com/sun/star/cmp/MyPersistObject.java |
2 +-
 sc/source/core/data/attarray.cxx |
2 +-
 sc/source/core/tool/chgtrack.cxx |
2 +-
 sc/source/filter/excel/xeescher.cxx  |
2 +-
 sc/source/ui/vba/vbarange.cxx|
2 +-
 svx/source/svdraw/svdograf.cxx   |
2 +-
 sw/source/core/doc/doc.cxx   |
4 ++--
 sw/source/core/doc/docbm.cxx |
2 +-
 sw/source/core/text/porfld.cxx   |
2 +-
 sw/source/filter/ww8/ww8par.cxx  |
2 +-
 vcl/source/control/ilstbox.cxx   |
2 +-
 vcl/source/control/scrbar.cxx|
8 
 vcl/unx/x11/x11sys.cxx   |
2 +-
 writerfilter/source/dmapper/DomainMapper.cxx |
2 +-
 writerfilter/source/dmapper/SettingsTable.cxx|
2 +-
 24 files changed, 34 insertions(+), 34 deletions(-)

New commits:
commit 794f09f195a449e387ebfbd53eb1b693803c95e7
Author: Noel Grandin n...@peralex.com
Date:   Tue May 6 07:44:11 2014 +0200

simplify ternary conditions xxx ? true : yyy

Look for code like:
   xxx ? true : yyy;
Which can be simplified to:
   xxx || yyy

Change-Id: Ib7ca86580bfd0cf04674328a3c0cf3747de4758d

diff --git a/basegfx/source/curve/b2dcubicbezier.cxx 
b/basegfx/source/curve/b2dcubicbezier.cxx
index 6533752..a331e0e 100644
--- a/basegfx/source/curve/b2dcubicbezier.cxx
+++ b/basegfx/source/curve/b2dcubicbezier.cxx
@@ -133,8 +133,8 @@ namespace basegfx
 
 if(!bBaseEqualZero)
 {
-const bool bLeftParallel(bLeftEqualZero ? true : 
areParallel(aLeft, aBase));
-const bool bRightParallel(bRightEqualZero ? true : 
areParallel(aRight, aBase));
+const bool bLeftParallel(bLeftEqualZero || 
areParallel(aLeft, aBase));
+const bool bRightParallel(bRightEqualZero || 
areParallel(aRight, aBase));
 
 if(bLeftParallel  bRightParallel)
 {
diff --git a/connectivity/source/commontools/dbtools.cxx 
b/connectivity/source/commontools/dbtools.cxx
index 97342ae..3ce8bf2 100644
--- a/connectivity/source/commontools/dbtools.cxx
+++ b/connectivity/source/commontools/dbtools.cxx
@@ -800,8 +800,8 @@ namespace
 break;
 }
 return NameComponentSupport(
-bIgnoreMetaData ? true : (_rxMetaData.get()-*pCatalogCall)(),
-bIgnoreMetaData ? true : (_rxMetaData.get()-*pSchemaCall)()
+bIgnoreMetaData || (_rxMetaData.get()-*pCatalogCall)(),
+bIgnoreMetaData || (_rxMetaData.get()-*pSchemaCall)()
 );
 }
 }
diff --git a/dbaccess/source/core/api/KeySet.cxx 
b/dbaccess/source/core/api/KeySet.cxx
index 59a9755..d32b973 100644
--- a/dbaccess/source/core/api/KeySet.cxx
+++ b/dbaccess/source/core/api/KeySet.cxx
@@ -146,7 +146,7 @@ OKeySet::~OKeySet()
 void OKeySet::initColumns()
 {
 ReferenceXDatabaseMetaData xMeta = m_xConnection-getMetaData();
-bool bCase = (xMeta.is()  xMeta-supportsMixedCaseQuotedIdentifiers()) ? 
true : false;
+bool bCase = xMeta.is()  xMeta-supportsMixedCaseQuotedIdentifiers();
 m_pKeyColumnNames.reset( new SelectColumnsMetaData(bCase) );
 m_pColumnNames.reset( new SelectColumnsMetaData(bCase) );
 m_pParameterNames.reset( new SelectColumnsMetaData(bCase) );
diff --git a/dbaccess/source/core/api/OptimisticSet.cxx 
b/dbaccess/source/core/api/OptimisticSet.cxx
index 2a60e22..84cbc7a 100644
--- a/dbaccess/source/core/api/OptimisticSet.cxx
+++ b/dbaccess/source/core/api/OptimisticSet.cxx
@@ -111,7 +111,7 @@ void OptimisticSet::construct(const Reference XResultSet 
_xDriverSet,const OU
 m_sRowSetFilter = i_sRowSetFilter;
 
 

[patch] [solved] build failure

2014-05-05 Thread Terrence Enger
gcc (Debian 4.7.2-5) 4.7.2 on debian-wheezy just choked on
sfx2/source/control/querystatus.cxx ...

/home/terry/lo_hacking/git/libo2/sfx2/source/control/querystatus.cxx: In 
member function ‘virtual void SfxQueryStatus_Impl::statusChanged(const 
com::sun::star::frame::FeatureStateEvent)’:

/home/terry/lo_hacking/git/libo2/sfx2/source/control/querystatus.cxx:138:41: 
error: ‘::’ cannot begin a template-argument list [-fpermissive]

/home/terry/lo_hacking/git/libo2/sfx2/source/control/querystatus.cxx:138:41: 
note: ‘:’ is an alternate spelling for ‘[’. Insert whitespace between ‘’ and 
‘::’

/home/terry/lo_hacking/git/libo2/sfx2/source/control/querystatus.cxx:138:41: 
note: (if you use ‘-fpermissive’ G++ will accept your code)

/home/terry/lo_hacking/git/libo2/sfx2/source/control/querystatus.cxx:145:41: 
error: ‘::’ cannot begin a template-argument list [-fpermissive]

/home/terry/lo_hacking/git/libo2/sfx2/source/control/querystatus.cxx:145:41: 
note: ‘:’ is an alternate spelling for ‘[’. Insert whitespace between ‘’ and 
‘::’

Wow, aren't triglyphs fun?  It is years since I last thought about
them.

With the change as per attached diff, the build is continuing.

HTH,
Terry

diff --git a/sfx2/source/control/querystatus.cxx b/sfx2/source/control/querystatus.cxx
index f9fa487..04e91f0 100644
--- a/sfx2/source/control/querystatus.cxx
+++ b/sfx2/source/control/querystatus.cxx
@@ -135,14 +135,14 @@ throw( RuntimeException, std::exception )
 rEvent.State = sTemp ;
 m_pItem = new SfxStringItem( m_nSlotID, sTemp );
 }
-else if ( pType == cppu::UnoType::com::sun::star::frame::status::ItemStatus::get() )
+else if ( pType == cppu::UnoType ::com::sun::star::frame::status::ItemStatus::get() )
 {
 ItemStatus aItemStatus;
 rEvent.State = aItemStatus;
 m_eState = aItemStatus.State;
 m_pItem = new SfxVoidItem( m_nSlotID );
 }
-else if ( pType == cppu::UnoType::com::sun::star::frame::status::Visibility::get() )
+else if ( pType == cppu::UnoType ::com::sun::star::frame::status::Visibility::get() )
 {
 Visibility aVisibilityStatus;
 rEvent.State = aVisibilityStatus;
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice-qa] Running LO 4.3 alpha in Windows XP...

2014-05-05 Thread Manfred J. Krause
Hi all,


On Mon, May 5, 2014 at 12:42 AM, Pedro wrote:

 Hi all

 I can't do anything with LO 4.3 alpha under Windows XP Pro x86 en_US SP3:
 1) create new doc, type one word, crash
 2) create new spreadsheet, type anything, crash
 3) create new presentation, crash
 4) create new drawing, crash
 ...

 I deleted the LibreOfficeDev profile between some crashes, just in case it
 was corrupted. It didn't make any difference if I deleted or not.

 Has this been reported? Is this a Windows XP problem?


Bug 77891 - Other: LibreOffice crashes as soon as one starts a module
https://bugs.freedesktop.org/show_bug.cgi?id=77891
(Reported: 2014-04-24 14:43)

Manfred
___
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] [documentliberation-discuss] ODF compatibility tests

2014-05-05 Thread Michael Stahl
On 02/05/14 15:01, Charles-H. Schulz wrote:
 Jay,
 
 Replying in more details: there are a few ODF validators out there but 
 they are neither autoritative nor maintained. And ODF 1,2 has evolved 
 after they were released:
 http://plugfest.opendocsociety.org/doku.php?id=validators:overview

at least the ODF Toolkit validator is up-to-date with the ODF 1.2
schema; for validating documents exported from LO (or actually OOo
versions  3.0 i guess) with default setting of
Tools-Options-Load/Save-General-ODF format version it's best to
check for extended conformance.
___
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] Question of the use of 'Fresh' rather than 'Beta' and support for XP

2014-05-05 Thread Jay Philips

Hi All,

I was curious why the word Fresh is used rather than the more widely 
used word Beta for the latest development release branch. This was a 
confusing thing to me as well until I read Fresh, targeted to early 
adopters and technology enthusiasts, and Stable targeted to enterprise 
deployments and conservative users” at 
http://blog.documentfoundation.org/2014/04/29/the-document-foundation-announces-libreoffice-4-1-6/ 
. Chromium,Firefox and the like use theword Beta for development 
branches and users testing and reviewing LibO would understand it as 
such, so that negative compatibility reviews don't show up similar to 
the review that brought me into testing LibO  
http://netrunner-mag.com/libreoffice-vs-microsoft-office-part-deux/ .


With the recent talk about 4.3 not working on windows XP, i was 
wondering how long XP will be supported by LibO as chrome, firefox, and 
opera have stated that they will continue to support XP as long as it is 
popular among their users. As a recent ex-windows XP user, i believe 
many users will stick with XP for another half decade or more and i 
think that supporting these users with a modern open source office suite 
as an alternative to the last version of ms office that will run on XP 
and Vista (office 2010) would be a great advantage to bringing in more 
users to LibO, especially as LibO continues to improve in compatibility 
and features. Microsoft will continue to support office 2007 for another 
3 years and office 2010 for another 7  
http://www.allyncs.com/docs/lifecyclesupport.html .


--
Jay Philips

___
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] Question of the use of 'Fresh' rather than 'Beta' and support for XP

2014-05-05 Thread Michael Meeks
Hi Jay,

On Mon, 2014-05-05 at 14:13 +0400, Jay Philips wrote:
 I was curious why the word Fresh is used rather than the more widely 
 used word Beta for the latest development release branch.

I think you're confused by the naming. Currently we have these
releases:

4.3 (master) - Beta
4.2 - Fresh
4.1 - Stable

As/when we release 4.3.0 those will rotate I imagine:

master
4.3 - Fresh
4.2 - Stable

etc. =) it's like climbing up a ladder I guess.

All of this is essentially propagating some sort of pyramid scheme on
ourselves. The sad reality of life is that there is no substitute for
getting a few million people to test the code and file bugs. Despite our
significant investments in automated QA etc. we are still unaware of
lots of bugs until we release the latest 'Fresh' release - and then
(over some months) we make it more stable based on user feedback until
we tag that as 'Stable' and move on.

Of course - this situation is helped by people (such as yourself) doing
more testing on 4.3 / master - something we like to encourage.

 With the recent talk about 4.3 not working on windows XP

It doesn't ? then we should fix that - it's a bug. There are currently
no plans to drop Windows XP support that I'm aware of. As you say it is
an important platform.

ATB,

Michael.

-- 
 michael.me...@collabora.com  , Pseudo Engineer, itinerant idiot

___
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] Question of the use of 'Fresh' rather than 'Beta' and support for XP

2014-05-05 Thread Bjoern Michaelsen
On Mon, May 05, 2014 at 02:13:04PM +0400, Jay Philips wrote:
 I was curious why the word Fresh is used rather than the more
 widely used word Beta for the latest development release branch.

Beta is rarely used for branches, it is mostly used for tags (just like
LibreOffice does).

Best,

Bjoern
___
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] Question of the use of 'Fresh' rather than 'Beta' and support for XP

2014-05-05 Thread Jay Philips

Hi Michael,

On 05/05/2014 02:37 PM, Michael Meeks wrote:

Hi Jay,

I think you're confused by the naming. Currently we have these
releases:

4.3 (master) - Beta
4.2 - Fresh
4.1 - Stable

As/when we release 4.3.0 those will rotate I imagine:

master
4.3 - Fresh
4.2 - Stable

etc. =) it's like climbing up a ladder I guess.

All of this is essentially propagating some sort of pyramid scheme on
ourselves. The sad reality of life is that there is no substitute for
getting a few million people to test the code and file bugs. Despite our
significant investments in automated QA etc. we are still unaware of
lots of bugs until we release the latest 'Fresh' release - and then
(over some months) we make it more stable based on user feedback until
we tag that as 'Stable' and move on.


Yes initially i was confused as i was used to seeing chrome's labelling 
there releases as development, beta and stable.I think it would be great 
if the website would provide better explanation on the download pages of 
what each of the versions was for so that users would understand what 
they were downloading. Also think that the download page would be a 
great location to encourage users to submit bugs.


I think it is great that we get more users to test the code, but 
unfortunately a large percentage of these users have never filed a bug 
before and will likely not do so, even if they encountered one. I 
believe that if we wish to encourage users to submit bugs to LibO, then 
we need to have bug reporting more visible in the UI, like a bug icon in 
the app toolbar similar to the help icon, maybe a crash report dialog 
that appears after LibO crashes (like KDE), maybe a bug report button 
next to 'Help' and 'Extensions' in the main UI, and possibly an initial 
bug report request visible to users when they first run LibO. I think 
more bug reports could be filed if there was a bug report form/dialog 
was added to LibO from which users could send in an initial bug report. 
Something as simple as the current bug report page found in LibO's 
website  https://www.libreoffice.org/get-help/bug/ , or possibly 
taking that form and embedding it into form/dialog.



Of course - this situation is helped by people (such as yourself) doing
more testing on 4.3 / master - something we like to encourage.


I believe i would have done testing on 4.3 from when i started my docx 
testing if it had found it on the development versions page  
http://www.libreoffice.org/download/pre-releases/  which unfortunately 
it is still not listed under even though it has been available in the 
pre-release folder since the 20th of april.



With the recent talk about 4.3 not working on windows XP

It doesn't ? then we should fix that - it's a bug. There are currently
no plans to drop Windows XP support that I'm aware of. As you say it is
an important platform.


Yes there is a bug in LibO running on windows xp which was being 
discussed in the mailing list these last few days (bug 77891).Glad to 
hear that there are no current plans to stop supporting XP.



ATB,

Michael.



___
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] No thinderbox build for Windows master after 30-04-14

2014-05-05 Thread V Stuart Foote
Markus,

While the TB's are back on line. Look to have a lingering issue with the
builds where now toolbar action (Tools - Options for example) has lost its
resulting actions and the UI simply hangs with a partial GUI dialog opening.

Reported in BZ as  fdo#78266
https://bugs.freedesktop.org/show_bug.cgi?id=78266  .

Stuart






--
View this message in context: 
http://nabble.documentfoundation.org/Libreoffice-qa-No-thinderbox-build-for-Windows-master-after-30-04-14-tp4107434p4107652.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] Question of the use of 'Fresh' rather than 'Beta' and support for XP

2014-05-05 Thread Bjoern Michaelsen
Hi,

On Mon, May 05, 2014 at 04:59:37PM +0400, Jay Philips wrote:
 Yes initially i was confused as i was used to seeing chrome's
 labelling there releases as development, beta and stable.I think it
 would be great if the website would provide better explanation on
 the download pages of what each of the versions was for so that
 users would understand what they were downloading.

http://blogs.computerworlduk.com/simon-says/2014/03/libreoffice-gets-fresh-and-stable/index.htm?utm_content=buffer5d3d0utm_medium=socialutm_source=twitter.comutm_campaign=buffer

explains it nicely as does our wiki (even since before we labeled the stuff
fresh and stable. Putting it on the webpage is not a good idea, as most
users just want their download without too much hassle. Those interested in the
nitty gritty will find it.

 Also think that the download page would be a great location to encourage
 users to submit bugs.

It already does. If you have concrete further suggestions, please take them to
the website mailing list.
 
 I believe that if we wish to encourage users to submit bugs to LibO,
 then we need to have bug reporting more visible in the UI, like a
 bug icon in the app toolbar similar to the help icon, maybe a crash
 report dialog that appears after LibO crashes (like KDE), maybe a
 bug report button next to 'Help' and 'Extensions' in the main UI,
 and possibly an initial bug report request visible to users when
 they first run LibO.

So, for one the main barrier to bug reporting is not a missing toolbar button
etc.(although we already even have report a problem in the menu) but the
hassles of needing a bugzilla account setup. Migrating to our own bugzilla will
hopefully allow us simplifications there. If you are interested to help out
there, Robinson will certainly be happy to get you started.

The other thing is that we are not so much lacking bug reports, but lacking
GOOD bug reports that have complete triaging info, reproduction scenarios etc. 
o the last thing we want really is making it simpler for people to file bad or
incomplete bug reports that cause us more work than they help us.

If someone is not able to file a bug report proper, it is likely better to
discuss the symptoms on ask.libreoffice.org, user mailing lists, IRC and social
media and get help on how to file a good bug report. Again as for the bugzilla
migration, you are invited to hang out on these channels and help getting users
up to speed.

Best,

Bjoern
___
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] Question of the use of 'Fresh' rather than 'Beta' and support for XP

2014-05-05 Thread Sophie
Hi,
Le 05/05/2014 15:36, Bjoern Michaelsen a écrit :
 Hi,
 
 On Mon, May 05, 2014 at 04:59:37PM +0400, Jay Philips wrote:
 Yes initially i was confused as i was used to seeing chrome's
 labelling there releases as development, beta and stable.I think it
 would be great if the website would provide better explanation on
 the download pages of what each of the versions was for so that
 users would understand what they were downloading.
 
 http://blogs.computerworlduk.com/simon-says/2014/03/libreoffice-gets-fresh-and-stable/index.htm?utm_content=buffer5d3d0utm_medium=socialutm_source=twitter.comutm_campaign=buffer
 
 explains it nicely as does our wiki (even since before we labeled the stuff
 fresh and stable. Putting it on the webpage is not a good idea, as most
 users just want their download without too much hassle. Those interested in 
 the
 nitty gritty will find it.
 
 Also think that the download page would be a great location to encourage
 users to submit bugs.
 
 It already does. If you have concrete further suggestions, please take them to
 the website mailing list.
  
 I believe that if we wish to encourage users to submit bugs to LibO,
 then we need to have bug reporting more visible in the UI, like a
 bug icon in the app toolbar similar to the help icon, maybe a crash
 report dialog that appears after LibO crashes (like KDE), maybe a
 bug report button next to 'Help' and 'Extensions' in the main UI,
 and possibly an initial bug report request visible to users when
 they first run LibO.
 
 So, for one the main barrier to bug reporting is not a missing toolbar button
 etc.(although we already even have report a problem in the menu) but the
 hassles of needing a bugzilla account setup. Migrating to our own bugzilla 
 will
 hopefully allow us simplifications there. If you are interested to help out
 there, Robinson will certainly be happy to get you started.
 
 The other thing is that we are not so much lacking bug reports, but lacking
 GOOD bug reports that have complete triaging info, reproduction scenarios 
 etc. 
 o the last thing we want really is making it simpler for people to file bad or
 incomplete bug reports that cause us more work than they help us.

yes, and having bug reports in multiple languages won't help :)

Cheers
Sophie

___
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] Question of the use of 'Fresh' rather than 'Beta' and support for XP

2014-05-05 Thread Jay Philips

Hello,

On 05/05/2014 05:36 PM, Bjoern Michaelsen wrote:

Hi,

On Mon, May 05, 2014 at 04:59:37PM +0400, Jay Philips wrote:

Yes initially i was confused as i was used to seeing chrome's
labelling there releases as development, beta and stable.I think it
would be great if the website would provide better explanation on
the download pages of what each of the versions was for so that
users would understand what they were downloading.

http://blogs.computerworlduk.com/simon-says/2014/03/libreoffice-gets-fresh-and-stable/index.htm?utm_content=buffer5d3d0utm_medium=socialutm_source=twitter.comutm_campaign=buffer

explains it nicely as does our wiki (even since before we labeled the stuff
fresh and stable. Putting it on the webpage is not a good idea, as most
users just want their download without too much hassle. Those interested in the
nitty gritty will find it.


One sentence stating that this version is for early adopters and 
technology enthusiasts or something of that sort and a similar one on 
the stable page just above the download link button wouldnt be that much 
of a inconvenience on a download page.



Also think that the download page would be a great location to encourage
users to submit bugs.

It already does. If you have concrete further suggestions, please take them to
the website mailing list.
  


Please enlighten me as i couldnt find any mention of submitting bug 
reports on the download page.



I believe that if we wish to encourage users to submit bugs to LibO,
then we need to have bug reporting more visible in the UI, like a
bug icon in the app toolbar similar to the help icon, maybe a crash
report dialog that appears after LibO crashes (like KDE), maybe a
bug report button next to 'Help' and 'Extensions' in the main UI,
and possibly an initial bug report request visible to users when
they first run LibO.

So, for one the main barrier to bug reporting is not a missing toolbar button
etc.(although we already even have report a problem in the menu) but the
hassles of needing a bugzilla account setup. Migrating to our own bugzilla will
hopefully allow us simplifications there. If you are interested to help out
there, Robinson will certainly be happy to get you started.


I had seen 'send feedback' in the help menu but never 'report a 
problem', but how visible is an entry in the help menu, when you dont 
even have to go to the help menu to get help, as the help icon is in the 
toolbar. It being in plain sight will only help more bugs to be field. 
Yes i do agree having to signup for a buzilla account to submit a bug 
report might stop some from submitting bugs, as many would like to 
submit it anonymously and go on with their day and not have to worry 
about follow ups. Look forward to the move to the LibO's own bugzilla 
and hope it also has simple authentication for gmail, hotmail, facebook, 
twitter, launchpad, etc.



The other thing is that we are not so much lacking bug reports, but lacking
GOOD bug reports that have complete triaging info, reproduction scenarios etc.
o the last thing we want really is making it simpler for people to file bad or
incomplete bug reports that cause us more work than they help us.


Yes more bug reports dont always been more good bug reports.


If someone is not able to file a bug report proper, it is likely better to
discuss the symptoms on ask.libreoffice.org, user mailing lists, IRC and social
media and get help on how to file a good bug report. Again as for the bugzilla
migration, you are invited to hang out on these channels and help getting users
up to speed.

Best,

Bjoern



Regards,

Jay
___
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] Question of the use of 'Fresh' rather than 'Beta' and support for XP

2014-05-05 Thread Bjoern Michaelsen
Hi,

On Mon, May 05, 2014 at 07:24:07PM +0400, Jay Philips wrote:
 Please enlighten me as i couldnt find any mention of submitting bug
 reports on the download page.

Hint: libreoffice.org is the download page.

Calling for bug reports is on that page, along with all the other essential
stuff. But as I said, please take this to the website list, if you want to
continue this topic.
 
 Look forward to the move to the LibO's own bugzilla and hope it also has
 simple authentication for gmail, hotmail, facebook, twitter, launchpad, etc.

Looking forward to see you help out there ;)

Best,

Bjoern
___
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] REMINDER: QA Call today at 18:30 UTC

2014-05-05 Thread Robinson Tryon
For meeting information, a handy-dandy url that will convert the
meeting time into your local time zone, and more, see the wiki page
here:
https://wiki.documentfoundation.org/QA/Meetings/2014/May_05

I hope to see all of you there!

Best,
--R

-- 
Robinson Tryon
LibreOffice Community Outreach Herald
Senior QA Bug Wrangler
The Document Foundation
qu...@libreoffice.org
___
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] DOCX Test 4 Results

2014-05-05 Thread Joel Madero
On future reports will you try to include your computer specs (most
importantly your OS) :)


Best,
Joel




On 05/05/2014 01:03 AM, Jay Philips wrote:
 Hi Joel,

 Its been done. :)

 Jay Philips

 On 05/05/2014 02:48 AM, Joel Madero wrote:
 Ah - okay new plan. CC me on every regression and put
 bibisectrequest in whiteboard. I'll do the bibisecting :)


 Best,
 Joel



 On 05/04/2014 02:02 PM, Jay Philips wrote:
 Hi Joel,

 I think i hit my first snag as i dont run 64-bit linux. :(

 Jay Philips

 On 05/04/2014 08:48 PM, Joel Madero wrote:
 Nice! Thanks for offering to try. First thing is to download the
 very large package (8.4 gigs) -
 https://wiki.documentfoundation.org/QA/HowToBibisect#Versions

 You'll want the 42all version - you can download from either TDF
 or Canonical servers.

 Let me know if you need help and I'll try to do what I can. The
 wiki is pretty solid but sometimes I hit snags that require finagling.

 Best,
 Joel


 On 05/04/2014 02:52 AM, Jay Philips wrote:
 Hi,

 No i haven't bibisected before, but can give it a try.

 Jay Philips

 On 05/04/2014 06:51 AM, Joel Madero wrote:
 have you bibisected before? if not, are you willing to try? it helps
 tremendously for regressions.


 Best,
 Joel


 On 05/03/2014 11:30 AM, Jay Philips wrote:
 Hi Joel,

 I'm running on Linux. All the regressions i've found can be pulled
 from this list of my bug reports 
 https://bugs.freedesktop.org/buglist.cgi?f1=short_descemailreporter1=1list_id=420031o1=substringemailtype1=substringquery_format=advancedbug_status=UNCONFIRMEDbug_status=NEWbug_status=ASSIGNEDbug_status=REOPENEDbug_status=RESOLVEDbug_status=VERIFIEDbug_status=CLOSEDbug_status=NEEDINFObug_status=PLEASETESTemail1=philipz85%40hotmail.comv1=regressionproduct=LibreOffice

 

 Jay Philips

 On 05/03/2014 09:49 PM, Joel Madero wrote:
 Hey Jay,

 Are you running Windows or Linux? I'd like to get some
 bibisects of
 these if possible (the ones where you say it's a regression)


 Best,
 Joel


 On 05/02/2014 10:14 PM, Jay Philips wrote:
 Hi All,

 I just wanted to share with you all the results of my latest
 extended .docx test and hope its okay to do so here in the
 mailing
 list.

 file url:
 http://download.microsoft.com/documents/customerevidence/Files/71003670/Xiamen_Tungsten_Group_unifies_enterprise.docx


 file contents: chinese language, text and images, 6 pages, 230Kb

 Results
 
 * docx  doc - paragraph spacing is off [reported]
 -
 * export doc, docx strict, docx trans, odt - perfect as same
 as input
 * export rtf - font name not retained [4.1 - 4.3] and
 regression in
 font color not retained [4.2 only] [reported]
 * exports in word 2010 - all look good except doc/docx have a few
 bullet points with text on the following line [reported]
 -
 * kingsoft doc export - using Sinsum rather than Microsoft Yahei,
 blue colored text appeared in green, image centered rather than
 being left aligned, and second image had text wrapping on when it
 should have been off [reported]
 * kingsoft docx export - paragraph spacing is off
 * kingsoft rtf export - font name not retained [4.1 - 4.3] and
 not
 openable in versions below 4.1 [reported]
 -
 * word 2013/2010 doc, docx trans, docx strict, rtf export -
 paragraph and line spacing is off
 * word 2013/2010 odt export - table type lines appeared on the
 page
 which are not visible in calligra words [reported]
 

 Rating: B as opening/saving rtf/doc had font and image
 problems, as
 well as problems with opening ms word odt file


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

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

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

 ___
 List Name: Libreoffice-qa mailing list
 Mail address: 

Re: [Libreoffice-qa] Something wrong with LibreOfficeDev_4.3.0.0.alpha1_Win_x86

2014-05-05 Thread m.a.riosv
Hi Stuart,
thanks for the quick answer.



--
View this message in context: 
http://nabble.documentfoundation.org/Something-wrong-with-LibreOfficeDev-4-3-0-0-alpha1-Win-x86-tp4107600p4107621.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/


[Libreoffice-qa] Something wrong with LibreOfficeDev_4.3.0.0.alpha1_Win_x86

2014-05-05 Thread m.a.riosv
Hi all,

beside the recent thread of Pedro Running LO 4.3 alpha in Windows XP...,
I have just reported a crash bug in Menu/Tools/Options/Language settings
https://bugs.freedesktop.org/show_bug.cgi?id=78266,
where I comment it's no possible to access the Menu/Tools/Options with
master~2014-05-04_06.34.33_LibreOfficeDev_4.3.0.0.alpha1_Win_x86,
this is what I see

http://nabble.documentfoundation.org/file/n4107600/Captura.png 



I have just verified that other submenus show the same issue as
Menu/File/Wizard/Letter.

Maybe something has been introduced lately.
Miguel Ángel.



--
View this message in context: 
http://nabble.documentfoundation.org/Something-wrong-with-LibreOfficeDev-4-3-0-0-alpha1-Win-x86-tp4107600.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] DOCX Test 4 Results

2014-05-05 Thread Jay Philips

Hi Joel,

Yes someone else suggested that as well which i will be doing. Any 
particular specs your looking for?


Jay Philips

On 05/05/2014 08:56 PM, Joel Madero wrote:

On future reports will you try to include your computer specs (most
importantly your OS) :)


Best,
Joel




On 05/05/2014 01:03 AM, Jay Philips wrote:

Hi Joel,

Its been done. :)

Jay Philips

On 05/05/2014 02:48 AM, Joel Madero wrote:

Ah - okay new plan. CC me on every regression and put
bibisectrequest in whiteboard. I'll do the bibisecting :)


Best,
Joel



On 05/04/2014 02:02 PM, Jay Philips wrote:

Hi Joel,

I think i hit my first snag as i dont run 64-bit linux. :(

Jay Philips

On 05/04/2014 08:48 PM, Joel Madero wrote:

Nice! Thanks for offering to try. First thing is to download the
very large package (8.4 gigs) -
https://wiki.documentfoundation.org/QA/HowToBibisect#Versions

You'll want the 42all version - you can download from either TDF
or Canonical servers.

Let me know if you need help and I'll try to do what I can. The
wiki is pretty solid but sometimes I hit snags that require finagling.

Best,
Joel


On 05/04/2014 02:52 AM, Jay Philips wrote:

Hi,

No i haven't bibisected before, but can give it a try.

Jay Philips

On 05/04/2014 06:51 AM, Joel Madero wrote:

have you bibisected before? if not, are you willing to try? it helps
tremendously for regressions.


Best,
Joel


On 05/03/2014 11:30 AM, Jay Philips wrote:

Hi Joel,

I'm running on Linux. All the regressions i've found can be pulled
from this list of my bug reports 
https://bugs.freedesktop.org/buglist.cgi?f1=short_descemailreporter1=1list_id=420031o1=substringemailtype1=substringquery_format=advancedbug_status=UNCONFIRMEDbug_status=NEWbug_status=ASSIGNEDbug_status=REOPENEDbug_status=RESOLVEDbug_status=VERIFIEDbug_status=CLOSEDbug_status=NEEDINFObug_status=PLEASETESTemail1=philipz85%40hotmail.comv1=regressionproduct=LibreOffice

Jay Philips

On 05/03/2014 09:49 PM, Joel Madero wrote:

Hey Jay,

Are you running Windows or Linux? I'd like to get some
bibisects of
these if possible (the ones where you say it's a regression)


Best,
Joel


On 05/02/2014 10:14 PM, Jay Philips wrote:

Hi All,

I just wanted to share with you all the results of my latest
extended .docx test and hope its okay to do so here in the
mailing
list.

file url:
http://download.microsoft.com/documents/customerevidence/Files/71003670/Xiamen_Tungsten_Group_unifies_enterprise.docx


file contents: chinese language, text and images, 6 pages, 230Kb

Results

* docx  doc - paragraph spacing is off [reported]
-
* export doc, docx strict, docx trans, odt - perfect as same
as input
* export rtf - font name not retained [4.1 - 4.3] and
regression in
font color not retained [4.2 only] [reported]
* exports in word 2010 - all look good except doc/docx have a few
bullet points with text on the following line [reported]
-
* kingsoft doc export - using Sinsum rather than Microsoft Yahei,
blue colored text appeared in green, image centered rather than
being left aligned, and second image had text wrapping on when it
should have been off [reported]
* kingsoft docx export - paragraph spacing is off
* kingsoft rtf export - font name not retained [4.1 - 4.3] and
not
openable in versions below 4.1 [reported]
-
* word 2013/2010 doc, docx trans, docx strict, rtf export -
paragraph and line spacing is off
* word 2013/2010 odt export - table type lines appeared on the
page
which are not visible in calligra words [reported]


Rating: B as opening/saving rtf/doc had font and image
problems, as
well as problems with opening ms word odt file


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

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

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

___
List Name: 

[Libreoffice-qa] Redmine Website QA Suggestions

2014-05-05 Thread Joel Madero
Hi All,

Per our discussion, here is a single thread where I think we should
discuss suggestions to make the website clearer and then one of us (I'll
volunteer if no one else does...) can go to redmine to offer the
suggestion. This way we aren't offering contradictory suggestions.

So the first question is for the default download page - are we
generally agreed that stable should be the default?


Best,
Joel

P.S. Note that ultimately marketing and infra will be the ones deciding,
these will just be QA suggestions  ;)
___
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] [ANN] LIbreOffice 4.2.4 RC2 available

2014-05-05 Thread Christian Lohmaier
Dear Community,

The Document Foundation is pleased to announce the second release
candidate of LibreOffice 4.2.4. The upcoming 4.2.4 will be the fourth
in a sequence of frequent bugfix releases for our feature-packed 4.2
line. Feel free to give it a try instead of 4.2.3. Conservative users
should continue to use LibreOffice 4.1.6

The release is available for Windows, Linux and Mac OS X from our QA
builds download page at

  http://www.libreoffice.org/download/pre-releases/

Developers and QA might also be interested in the symbol server for
windows debug information (see the release notes linked below for
details)

Should you find bugs, please report them to the FreeDesktop Bugzilla:

  https://bugs.freedesktop.org

A good way to assess the release candidate quality is to run some
specific manual tests on it, our TCM wiki page has more details:

 
http://wiki.documentfoundation.org/QA/Testing/Regression_Tests#Full_Regression_Test

For other ways to get involved with this exciting project - you can
e.g. contribute code:

  http://www.libreoffice.org/community/developers/

translate LibreOffice to your language:

  http://wiki.documentfoundation.org/LibreOffice_Localization_Guide

or help with funding our operations:

  http://donate.libreoffice.org/

A list of known issues and fixed bugs with 4.2.4 RC2 is available
from our wiki:

  http://wiki.documentfoundation.org/Releases/4.2.4/RC2

Let us close again with a BIG Thank You! to all of you having
contributed to the LibreOffice project - this release would not have
been possible without your help.

On behalf of the Community,

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


Re: [Libreoffice-qa] Redmine Website QA Suggestions

2014-05-05 Thread Bjoern Michaelsen
Hi,

On Mon, May 05, 2014 at 02:16:15PM -0700, Joel Madero wrote:
 So the first question is for the default download page - are we
 generally agreed that stable should be the default?

Im disagreeing there. The only reason stable is more settled than fresh is
that we have so many people downloading fresh and allowing us to solve these
issues. As such, making stable the default would only result in lowering the
quality of stable, while ~nobody runs fresh and there is no option for
those seeking a more conservative alternative to the default download. This is
a lose-lose change.

If you want to help improving how refined the default download is, do so by
promoting and participating in testing of alpha and beta builds.

Best,

Bjoern
___
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] Something wrong with LibreOfficeDev_4.3.0.0.alpha1_Win_x86

2014-05-05 Thread V Stuart Foote
Tested on Windows 7 sp1, 64-bit en-US with

Version: 4.3.0.0.alpha1+
Build ID: d09d75167d77adcc8538c5cc5d8fe6bac6091ca1
TinderBox: Win-x86@42, Branch:master, Time: 2014-05-05_23:04:20

All seems to be corrected now.





--
View this message in context: 
http://nabble.documentfoundation.org/Something-wrong-with-LibreOfficeDev-4-3-0-0-alpha1-Win-x86-tp4107600p4107746.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] Running LO 4.3 alpha in Windows XP...

2014-05-05 Thread V Stuart Foote
Pedro, *,
Pre-release Windows build of
Version: 4.3.0.0.alpha1
Build ID: 46cfcd5a05aa1d13fecd73f5a25b64b8d8dd6781

Was definitely broken as in 
https://bugs.freedesktop.org/show_bug.cgi?id=77891 http://fdo#77891  , not
sure of the exact reason, but it is NOT isolated to Windows XP. Also, prior
and subsequent Tinder Box nightly builds do work correctly on Windows XP.

Would you please take a moment and install one of the current builds on you
XP system(s) and confirm.

Regards,

Stuart





--
View this message in context: 
http://nabble.documentfoundation.org/Running-LO-4-3-alpha-in-Windows-XP-tp4107585p4107747.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/


[Libreoffice-bugs] [Bug 77383] Cell comments disappear in calc

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77383

--- Comment #4 from RobK rk662...@hotmail.com ---
Unfortunately, when I recently tried to update to 4.2.3.3, I got an
installation error.
I submitted this as a different bug, please check Bug 78057.

-- 
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 77479] Calc: AutoFilter lost after sorting

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77479

--- Comment #7 from a07cd040897db54e1...@spambog.com ---
(In reply to comment #6)
 Does scrolling out and scrolling back in to refresh painting make the
 autofilter buttons re-appear?

No. Still after scrolling the Autofilter is missing.

 I don't see this on Linux.  Perhaps this is Windows only problem.

It seems as if the filter is completely deleted - not only a display 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 78277] New: FORMATTING: Frame Transparency lost during save/reload

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78277

  Priority: medium
Bug ID: 78277
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: FORMATTING: Frame Transparency lost during save/reload
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: jim.av...@gmail.com
  Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
   Version: 4.3.0.0.alpha1
 Component: Writer
   Product: LibreOffice

If a text Frame is created with a background color and Transparency set to a
value greater than 0%, then saving and reloading the document make the frame
non-transparent, i.e., the transparency setting seems to not be saved.

This is a REGRESSION since 4.2 (the UI is different in 4.2 where transparency
is set in the Background tab, whereas in 4.3 there are separate Area and
Transparency tabs in the edit-Frame dialog).

Steps to reproduce:
1. In a text doc, select some text and do Insert-Frame, OK
2. Select the frame, Rightclick-Frame... set Area to a dark background color
and Transparency to 90%.
3. Save; Reload

Current behavior: The frame returns to opaque status

Expected behavior: Transparency setting should be preserved


Operating System: Ubuntu
Version: 4.3.0.0.alpha1

-- 
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 77990] MATCH function result changes between save and load

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77990

--- Comment #10 from Laurent BP jumbo4...@yahoo.fr ---
(In reply to comment #9)
 This is a date related.  I'll put Eike on CC.  4.2 doesn't seem to have this
 problem.  Only master.

Hi Kohei,

It seems there is two different bugs.
* Bug described in comment #0
I can NOT reproduce if I revert to commit
6255be7ca294d350143290c343673f264f42220c
Version: 4.2.0.0.alpha0+
Build ID: 10696a254f0cea548a9d06d62c20d37acde2c46f

If I cherry-pick next commit 7333881bb7b04f7e4e2a28638024ae82a9c14e81
I CAN reproduce. Then I confirm suggestion of comment #4 and it affect 4.2.*

* Bug described in comment #9
This bug does NOT affect any version I tested around the previous commit.

-- 
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 78278] New: FORMATTING: Frame background color can not be set during initial creation, only when editing

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78278

  Priority: medium
Bug ID: 78278
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: FORMATTING: Frame background color can not be set
during initial creation, only when editing
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: jim.av...@gmail.com
  Hardware: Other
Whiteboard: BSA PossibleRegression
Status: UNCONFIRMED
   Version: 4.3.0.0.alpha1
 Component: Writer
   Product: LibreOffice

Problem description: When creating a text Frame, in the Area tab, if the Fill
drop-down is set to Color, then some sub-windows appear where the
color-picker should be, but there is no color-picker, just white space.  You
can not select a color.

If an existing frame is edited, however, the color-picker appears as expected.

Steps to reproduce:
1. Open new text doc
2. Insert-Frame, click Area tab 
3. Change the Fill drop-down to Color

Current behavior: Empty sub-windows appear

Expected behavior: Color picker should appear

Operating System: Ubuntu
Version: 4.3.0.0.alpha1
Last worked in: 4.2.2.1 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 74656] Macros: VBA macro which defines function doesn't work on save as ods and reopening of the file: #NAME?

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74656

--- Comment #3 from eng.georgigeorg...@gmail.com ---
(In reply to comment #1)
 Hi Georgi,
 
 I confirm the behaviour  set to New.
 Did you happen to see if it worked correct in earlier versions?
 thanks,
 Cor

Hello Cor,
actually this is the only version I've tested it (4.1.4.2). I don't know if it
works on earlier versions,
Regards,
Georgi

-- 
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 77248] 500 page document hogging CPU and crashes randomly

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77248

tommy27 ba...@quipo.it changed:

   What|Removed |Added

Summary|500 page document hogging   |500 page document hogging
   |CPU and crashes randomly in |CPU and crashes randomly
   |4.2.3.3 |
Version|(See in Summary)|4.1.3.2 release

--- Comment #9 from tommy27 ba...@quipo.it ---
@alexander
do not change version field that way.
it has always to indicate the 1st version you saw the bug, not the latest.

-- 
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 39956] ACCESSIBILITY: Implement the IAccessible2 accessibility API [accessibility]

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39956

--- Comment #34 from Commit Notification 
libreoffice-comm...@lists.freedesktop.org ---
Andras Timar committed a patch related to this issue.
It has been pushed to master:

http://cgit.freedesktop.org/libreoffice/help/commit/?id=400d3515694ff3857f253c8da9ea44b962161ee0

fdo#39956 delete Java Access Bridge from help



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.

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


[Libreoffice-bugs] [Bug 78271] FORMATTING: Setting non-default name prevents creating new Section

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78271

Jim Avera jim.av...@gmail.com changed:

   What|Removed |Added

Version|4.3.0.0.alpha0+ Master  |4.3.0.0.alpha1

-- 
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 78271] FORMATTING: Setting non-default name prevents creating new Section

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78271

Jim Avera jim.av...@gmail.com changed:

   What|Removed |Added

Version|4.3.0.0.alpha1  |4.3.0.0.alpha0+ Master

-- 
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 78271] FORMATTING: Setting non-default name prevents creating new Section

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78271

--- Comment #1 from Jim Avera jim.av...@gmail.com ---
Problem still exists in 4.3.0.0.alpha1

-- 
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 78281] New: Classic theme is not available

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78281

  Priority: medium
Bug ID: 78281
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: Classic theme is not available
  Severity: normal
Classification: Unclassified
OS: All
  Reporter: idler@mail.ru
  Hardware: Other
Status: UNCONFIRMED
   Version: 4.3.0.0.alpha1
 Component: UI
   Product: LibreOffice

Created attachment 98452
  -- https://bugs.freedesktop.org/attachment.cgi?id=98452action=edit
Classic theme for LibreOffice 4.2\4.3

LibreOfficeDev 4.3.0.0.alpha1+, ID: fa8d10adbf12bef19cfe6dd39d2667944a2fb7d6,
TinderBox: Win-x86@47-TDF, Branch: MASTER, Time: 2014-04-29_23:12:26

Classic theme can’t be used by LibreOffice-4.3 now. It is deteriorating of the
program.
Changes to the code made after publication the pre-release LibreOfficeDev
4.3.0.0.alpha1. It seems to me that the patch is done because there is no
resource images_classic.zip.

I use this theme and upgrade this resource from version to version. Almost all
icons of other themes are replaced by classic. My classic theme for LibreOffice
4.2\4.3 is in an attachment.
You can be sure that my classic theme works (LibreOffice 4.2.x or
LibreOfficeDev 4.3.0.0.alpha1):
- put ‘images_classic.zip’ in ${ORIGIN}/share/config/..
- open the menu ‘Tools – Options – LibreOffice – View’
- set the parameter ‘Icon size and style’ to the value ‘Classic’

I'm not a programmer, I know English very bad. So I do not know how to work
with code.
I propose the community:
- undo the patch and restore the ability to use the Classic theme in the
program;
- take my images_classic.zip under LibreOffice’s license.

Thanks, Serg Ossin aka ‘ape’.

-- 
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 77727] FILESAVE: Page break after word art not rendered and exported.

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77727

Commit Notification libreoffice-comm...@lists.freedesktop.org changed:

   What|Removed |Added

 Whiteboard|BSA |BSA target:4.3.0

--- Comment #2 from Commit Notification 
libreoffice-comm...@lists.freedesktop.org ---
sushil_shinde committed a patch related to this issue.
It has been pushed to master:

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

fdo#77727 PAGEBREAK In first paragraph was not rendered and exported.



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.

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


[Libreoffice-bugs] [Bug 77776] regression: could not start printer when printing to remote cups server

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=6

--- Comment #16 from Heinz Repp heinz.r...@arcor.de ---
Usually I omit simple me too posts, but to confirm this sequence occurring
with LibreOffice 1:4.2.3~rc3-0ubuntu2~precise1:

first print is ok, following prints throw this could not start printer

System ist Ubuntu 12.04.3 LTS

Printer is a HP G85 connected through USB with cups 1.5.3-0ubuntu8.2 and hplip
3.12.2-1ubuntu3.4

-- 
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 78271] FORMATTING: Setting non-default name prevents creating new Section

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78271

Cor Nouws c...@nouenoff.nl changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Whiteboard|BSA PossibleRegression  |BSA
 CC||c...@nouenoff.nl
   Keywords||regression
 Ever confirmed|0   |1

--- Comment #2 from Cor Nouws c...@nouenoff.nl ---
Hi Jim,

Thanks for reporting!
I confirm the bug.
I do not see the problem in 4.2.3.3 and 4.2.4.1 on Ubuntu.

-- 
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 78272] Can't Apply Custom Cell Styles

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78272

Cor Nouws c...@nouenoff.nl changed:

   What|Removed |Added

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

--- Comment #1 from Cor Nouws c...@nouenoff.nl ---
Confrim this. Thanks Joel!

-- 
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 78281] Classic theme is not available

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78281

tommy27 ba...@quipo.it changed:

   What|Removed |Added

 CC||ba...@quipo.it
   See Also||https://bugs.freedesktop.or
   ||g/show_bug.cgi?id=38175

--- Comment #1 from tommy27 ba...@quipo.it ---
hi, ape.
please take a look at Bug 38175 and try my classic theme version.
it works in 4.2.x (haven't tested it yet in 4.3.x).

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


[Libreoffice-bugs] [Bug 78284] New: FILESAVE: FILESAVE [DOCX] Content-types of .png images in Smart Art

2014-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78284

  Priority: medium
Bug ID: 78284
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: FILESAVE: FILESAVE [DOCX] Content-types of .png
images in Smart Art
  Severity: normal
Classification: Unclassified
OS: All
  Reporter: vinaya.man...@synerzip.com
  Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
   Version: 4.3.0.0.alpha0+ Master
 Component: Writer
   Product: LibreOffice

Created attachment 98454
  -- https://bugs.freedesktop.org/attachment.cgi?id=98454action=edit
Smart Art with 'png' images

Problem description: 
LO does not correctly register the content type of png images in
[Content_Types].xml.


Steps to reproduce:
1. Open issue file in LO
2. Roundtrip to DOCX
3. Open round tripped file in MS Word

Current behavior:
MS Word shows the RT file as corrupt

Expected behavior:
File should not be corrupted


Operating System: All
Version: 4.3.0.0.alpha0+ Master

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


  1   2   3   4   >