LibreOffice Gerrit News for core on 2014-03-27
Moin! * Open changes on master for project core changed in the last 25 hours: First time contributors doing great things! + fdo#75280 Started cleaning up of sal_uIntPtr usage. in https://gerrit.libreoffice.org/8631 from V V about module basic, include + fdo#64945 Remove inconvenient localized symbol code. in https://gerrit.libreoffice.org/8696 from Darshana Padmadas about module officecfg, starmath End of freshness + fdo#69461 Don't show placeholder image before video starts in https://gerrit.libreoffice.org/8765 from Samuel Mehrbrodt about module slideshow + Unit test for .doc import of full colour borders in https://gerrit.libreoffice.org/8759 from Luke Deller about module sw + fdo#68546 Update style settings before changing layout in https://gerrit.libreoffice.org/8714 from Isamu Mogi about module vcl + fdo#68546 Update settings for MenuBarWindow in InitStyleSettings in https://gerrit.libreoffice.org/8713 from Isamu Mogi about module vcl + fdo#68546 Make menubar's text color of persona the same as Firefox in https://gerrit.libreoffice.org/8712 from Isamu Mogi about module vcl + fdo#68546 Add menubar's text color of persona to StyleSettings in https://gerrit.libreoffice.org/8711 from Isamu Mogi about module include, vcl + new method INetURLObject::getData() for data urls in https://gerrit.libreoffice.org/8737 from Christina Roßmanith about module include, sw, tools * Merged changes on master for project core changed in the last 25 hours: + Fix tab spacing in include/vcl/outdev.hxx in https://gerrit.libreoffice.org/8758 from Chris Sherlock + fdo#74702 Followup to 4daafe4c1$53ca52d045d726799d4b1753142 in https://gerrit.libreoffice.org/8757 from Chris Sherlock + fdo#74702 Move device specific bitmap drawing to its own function in https://gerrit.libreoffice.org/8724 from Chris Sherlock * Abandoned changes on master for project core changed in the last 25 hours: + Revert change made to helpcontent2 in https://gerrit.libreoffice.org/8760 from Chris Sherlock * Open changes needing tweaks, but being untouched for more than a week: + 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#74886: Data labels are not preserved for Column Chart in RT file in https://gerrit.libreoffice.org/8098 from Umesh Kadam + sal: use posix_memalign only if it's available in https://gerrit.libreoffice.org/8405 from Douglas Mencken + fdo#71984 fix first line indentation in footnotes for MS Word documents in https://gerrit.libreoffice.org/8160 from Andras Timar + fd0#74150:Numbered list getting display after RT -table-within-table-1.do in https://gerrit.libreoffice.org/7767 from Rajashri Udhoji + 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 + sa/l add release_assert() and assert that stay even in release code in https://gerrit.libreoffice.org/7625 from Norbert Thiebaud + add a header to provide posix compatible wrapper for platform lacking in https://gerrit.libreoffice.org/6837 from Norbert Thiebaud + WIP fdo#72987 Use firebird backup format for .odb in https://gerrit.libreoffice.org/7299 from Andrzej Hunt + sw/export docx: add unit test for document with header and section(s) in https://gerrit.libreoffice.org/6249 from Pierre-Eric Pelloux-Prayer + WIP: fdo#33980 Preserve selection across all slide sorters. in https://gerrit.libreoffice.org/6633 from Andrzej Hunt + Simplify oslThreadIdentifier on Linux 32. in https://gerrit.libreoffice.org/5553 from Arnaud Versini + Positional Tab additions in https://gerrit.libreoffice.org/5387 from Adam CloudOn Best, Your friendly LibreOffice Gerrit Digest Mailer Note: The bot generating this message can be found and improved here: https://gerrit.libreoffice.org/gitweb?p=dev-tools.git;a=blob;f=gerritbot/send-daily-digest ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: master crashes when open/save dialog opens
Hi Miklos, Now LibreOffice crashes also when the open dialog opens. Program received signal SIGSEGV, Segmentation fault. 0x7fffedd13270 in g_type_check_instance_cast () from /usr/lib64/libgobject-2.0.so.0 (gdb) backtrace #0 0x7fffedd13270 in g_type_check_instance_cast () from /usr/lib64/libgobject-2.0.so.0 #1 0x7fffdd10d549 in Oxygen::InnerShadowData::registerChild(_GtkWidget*) () from /usr/lib64/gtk-2.0/2.10.0/engines/liboxygen-gtk.so Sounds like a gtk2-engine-oxygen / gtk2-theme-oxygen problem. What version of that do you have? I'm asking as I saw a similar problem with a fully updated openSUSE 13.1 as well, just upgrading the oxygen engine fixed the problem. Thank you for responding :) It's openSUSE 13.1-64, fully updated and gtk2-engine-oxygen/gtk2-theme-oxygen are version 1.4.4-2.4.1 (x86-64) and zypper reports there up to date. My machine at home has the same O/S and update status, with the same behaviour. Winfried ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: master crashes when open/save dialog opens
Hi Winfried, On Thu, Mar 27, 2014 at 07:31:22AM +0100, Winfried Donkers w.donk...@dci-electronics.nl wrote: It's openSUSE 13.1-64, fully updated and gtk2-engine-oxygen/gtk2-theme-oxygen are version 1.4.4-2.4.1 (x86-64) and zypper reports there up to date. My machine at home has the same O/S and update status, with the same behaviour. Right. Just upgrading to the latest in KDE:Extra fixed the problem here: https://bugs.kde.org/show_bug.cgi?id=331879 zypper -p http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_13.1/ in gtk2-engine-oxygen-1.4.4-11.1.x86_64 gtk2-theme-oxygen-1.4.4-11.1.x86_64 Miklos signature.asc Description: Digital signature ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: master crashes when open/save dialog opens
Hi Miklos, Right. Just upgrading to the latest in KDE:Extra fixed the problem here: https://bugs.kde.org/show_bug.cgi?id=331879 zypper -p http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_13.1/ in gtk2-engine-oxygen-1.4.4-11.1.x86_64 gtk2-theme-oxygen-1.4.4-11.1.x86_64 Yes, that did the trick :) Thank you! Winfried ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: sw/qa sw/source
sw/qa/extras/rtfexport/data/relsize.rtf | 42 sw/qa/extras/rtfexport/rtfexport.cxx|9 ++ sw/qa/extras/rtfimport/data/relsize.rtf | 42 sw/qa/extras/rtfimport/rtfimport.cxx|9 -- sw/source/filter/ww8/rtfattributeoutput.cxx | 40 ++ 5 files changed, 91 insertions(+), 51 deletions(-) New commits: commit ddecc215614de485ab1b64812cb1b51644cad280 Author: Miklos Vajna vmik...@collabora.co.uk Date: Thu Mar 27 08:23:18 2014 +0100 RTF export: handle Relative{Height,Width}{,Relation} Change-Id: I16bef12840f45b269de18fdac4c3718ed904e1be diff --git a/sw/qa/extras/rtfimport/data/relsize.rtf b/sw/qa/extras/rtfexport/data/relsize.rtf similarity index 100% rename from sw/qa/extras/rtfimport/data/relsize.rtf rename to sw/qa/extras/rtfexport/data/relsize.rtf diff --git a/sw/qa/extras/rtfexport/rtfexport.cxx b/sw/qa/extras/rtfexport/rtfexport.cxx index 02b2ebb..9251a89 100644 --- a/sw/qa/extras/rtfexport/rtfexport.cxx +++ b/sw/qa/extras/rtfexport/rtfexport.cxx @@ -602,6 +602,15 @@ DECLARE_RTFEXPORT_TEST(testFdo74709, fdo74709.rtf) CPPUNIT_ASSERT_EQUAL(sal_Int32(TWIP_TO_MM100(360)), getPropertysal_Int32(xCell, RightBorderDistance)); } +DECLARE_RTFEXPORT_TEST(testRelsize, relsize.rtf) +{ +uno::Referencedrawing::XShape xShape = getShape(1); +CPPUNIT_ASSERT_EQUAL(sal_Int16(40), getPropertysal_Int16(xShape, RelativeWidth)); +CPPUNIT_ASSERT_EQUAL(text::RelOrientation::PAGE_FRAME, getPropertysal_Int16(xShape, RelativeWidthRelation)); +CPPUNIT_ASSERT_EQUAL(sal_Int16(20), getPropertysal_Int16(xShape, RelativeHeight)); +CPPUNIT_ASSERT_EQUAL(text::RelOrientation::FRAME, getPropertysal_Int16(xShape, RelativeHeightRelation)); +} + #endif CPPUNIT_PLUGIN_IMPLEMENT(); diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index 738d1e2..cb19476 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -1619,15 +1619,6 @@ DECLARE_RTFIMPORT_TEST(testDprectAnchor, dprect-anchor.rtf) CPPUNIT_ASSERT_EQUAL(text::TextContentAnchorType_AT_CHARACTER, getPropertytext::TextContentAnchorType(getShape(1), AnchorType)); } -DECLARE_RTFIMPORT_TEST(testRelsize, relsize.rtf) -{ -uno::Referencedrawing::XShape xShape = getShape(1); -CPPUNIT_ASSERT_EQUAL(sal_Int16(40), getPropertysal_Int16(xShape, RelativeWidth)); -CPPUNIT_ASSERT_EQUAL(text::RelOrientation::PAGE_FRAME, getPropertysal_Int16(xShape, RelativeWidthRelation)); -CPPUNIT_ASSERT_EQUAL(sal_Int16(20), getPropertysal_Int16(xShape, RelativeHeight)); -CPPUNIT_ASSERT_EQUAL(text::RelOrientation::FRAME, getPropertysal_Int16(xShape, RelativeHeightRelation)); -} - CPPUNIT_PLUGIN_IMPLEMENT(); /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index f9b8e71..2074a06 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -1576,6 +1576,45 @@ void lcl_TextFrameShadow(std::vector std::pairOString, OString rFlyPropert rFlyProperties.push_back(std::make_pairOString, OString(shadowOffsetY, OString(aOffsetY))); } +void lcl_TextFrameRelativeSize(std::vector std::pairOString, OString rFlyProperties, const SwFrmFmt rFrmFmt) +{ +const SwFmtFrmSize rSize = rFrmFmt.GetFrmSize(); + +// Relative size of the Text Frame. +if (rSize.GetWidthPercent()) +{ +rFlyProperties.push_back(std::make_pairOString, OString(pctHoriz, OString::number(rSize.GetWidthPercent() * 10))); + +OString aRelation; +switch (rSize.GetWidthPercentRelation()) +{ +case text::RelOrientation::PAGE_FRAME: +aRelation = 1; // page +break; +default: +aRelation = 0; // margin +break; +} +rFlyProperties.push_back(std::make_pair(sizerelh, aRelation)); +} +if (rSize.GetHeightPercent()) +{ +rFlyProperties.push_back(std::make_pairOString, OString(pctVert, OString::number(rSize.GetHeightPercent() * 10))); + +OString aRelation; +switch (rSize.GetHeightPercentRelation()) +{ +case text::RelOrientation::PAGE_FRAME: +aRelation = 1; // page +break; +default: +aRelation = 0; // margin +break; +} +rFlyProperties.push_back(std::make_pair(sizerelv, aRelation)); +} +} + void RtfAttributeOutput::OutputFlyFrame_Impl( const sw::Frame rFrame, const Point /*rNdTopLeft*/ ) { SAL_INFO(sw.rtf, OSL_THIS_FUNC); @@ -1610,6 +1649,7 @@ void RtfAttributeOutput::OutputFlyFrame_Impl( const sw::Frame rFrame, const Poi const SwFrmFmt rFrmFmt = rFrame.GetFrmFmt(); lcl_TextFrameShadow(m_aFlyProperties, rFrmFmt); +
[Libreoffice-commits] core.git: 5 commits - include/oox oox/source sd/qa
include/oox/drawingml/textbodyproperties.hxx |1 oox/source/drawingml/textbodyproperties.cxx|4 - oox/source/drawingml/textbodypropertiescontext.cxx | 10 +--- oox/source/drawingml/transform2dcontext.cxx|3 - sd/qa/unit/data/pptx/n862510_2.pptx|binary sd/qa/unit/data/pptx/n862510_3.pptx|binary sd/qa/unit/import-tests.cxx| 44 + 7 files changed, 53 insertions(+), 9 deletions(-) New commits: commit b566aa7f16bf5ec389f27f4b7a9c9872fffc3d69 Author: Muthu Subramanian sumu...@collabora.com Date: Wed Mar 26 16:28:23 2014 +0530 Add unit test for left spacing (anchorCtr) Change-Id: I8fa347497c9509285c5f0422c618efcb360dbd34 diff --git a/sd/qa/unit/data/pptx/n862510_3.pptx b/sd/qa/unit/data/pptx/n862510_3.pptx new file mode 100644 index 000..cf0b7b5 Binary files /dev/null and b/sd/qa/unit/data/pptx/n862510_3.pptx differ diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx index 30e5910..382fe69 100644 --- a/sd/qa/unit/import-tests.cxx +++ b/sd/qa/unit/import-tests.cxx @@ -19,6 +19,7 @@ #include editeng/fontitem.hxx #include editeng/wghtitem.hxx #include editeng/numitem.hxx +#include editeng/lrspitem.hxx #include rsc/rscsfx.hxx #include svx/svdotext.hxx @@ -64,6 +65,7 @@ public: void testStrictOOXML(); void testN862510_1(); void testN862510_2(); +void testN862510_3(); CPPUNIT_TEST_SUITE(SdFiltersTest); CPPUNIT_TEST(testDocumentLayout); @@ -83,6 +85,7 @@ public: CPPUNIT_TEST(testStrictOOXML); CPPUNIT_TEST(testN862510_1); CPPUNIT_TEST(testN862510_2); +CPPUNIT_TEST(testN862510_3); CPPUNIT_TEST_SUITE_END(); }; @@ -284,6 +287,25 @@ void SdFiltersTest::testN862510_2() } } +void SdFiltersTest::testN862510_3() +{ +::sd::DrawDocShellRef xDocShRef = loadURL( getURLFromSrc(/sd/qa/unit/data/pptx/n862510_3.pptx) ); +CPPUNIT_ASSERT_MESSAGE( failed to load, xDocShRef.Is() ); +CPPUNIT_ASSERT_MESSAGE( in destruction, !xDocShRef-IsInDestruction() ); + +SdDrawDocument *pDoc = xDocShRef-GetDoc(); +CPPUNIT_ASSERT_MESSAGE( no document, pDoc != NULL ); +const SdrPage *pPage = pDoc-GetPage( 1 ); +CPPUNIT_ASSERT_MESSAGE( no page, pPage != NULL ); +{ +SdrObjGroup *pGrpObj = dynamic_castSdrObjGroup *( pPage-GetObj( 1 ) ); +CPPUNIT_ASSERT( pGrpObj ); +SdrObjCustomShape *pObj = dynamic_castSdrObjCustomShape *( pGrpObj-GetSubList()-GetObj( 0 ) ); +CPPUNIT_ASSERT( pObj ); +CPPUNIT_ASSERT_MESSAGE( Left Spacing is wrong! check attribute anchorCtr, pObj-GetTextLeftDistance() 30); +} +} + void SdFiltersTest::testN828390() { bool bPassed = false; commit 31b8ce1153bb513613cc7b9cc755b2b4abe4852c Author: Muthu Subramanian sumu...@collabora.com Date: Wed Mar 26 16:26:08 2014 +0530 Add unit test for text rotation. Change-Id: Iba4e002c461f00807f277e6032afcdaaf25ea4a2 diff --git a/sd/qa/unit/data/pptx/n862510_2.pptx b/sd/qa/unit/data/pptx/n862510_2.pptx new file mode 100644 index 000..b46cea5 Binary files /dev/null and b/sd/qa/unit/data/pptx/n862510_2.pptx differ diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx index 8ea16b5..30e5910 100644 --- a/sd/qa/unit/import-tests.cxx +++ b/sd/qa/unit/import-tests.cxx @@ -23,6 +23,7 @@ #include svx/svdotext.hxx #include svx/svdoashp.hxx +#include svx/svdogrp.hxx #include animations/animationnodehelper.hxx #include com/sun/star/drawing/XDrawPage.hpp @@ -62,6 +63,7 @@ public: void testFdo72998(); void testStrictOOXML(); void testN862510_1(); +void testN862510_2(); CPPUNIT_TEST_SUITE(SdFiltersTest); CPPUNIT_TEST(testDocumentLayout); @@ -80,6 +82,7 @@ public: CPPUNIT_TEST(testFdo72998); CPPUNIT_TEST(testStrictOOXML); CPPUNIT_TEST(testN862510_1); +CPPUNIT_TEST(testN862510_2); CPPUNIT_TEST_SUITE_END(); }; @@ -262,6 +265,25 @@ void SdFiltersTest::testN862510_1() } } +void SdFiltersTest::testN862510_2() +{ +::sd::DrawDocShellRef xDocShRef = loadURL( getURLFromSrc(/sd/qa/unit/data/pptx/n862510_2.pptx) ); +CPPUNIT_ASSERT_MESSAGE( failed to load, xDocShRef.Is() ); +CPPUNIT_ASSERT_MESSAGE( in destruction, !xDocShRef-IsInDestruction() ); + +SdDrawDocument *pDoc = xDocShRef-GetDoc(); +CPPUNIT_ASSERT_MESSAGE( no document, pDoc != NULL ); +const SdrPage *pPage = pDoc-GetPage(1); +CPPUNIT_ASSERT_MESSAGE( no page, pPage != NULL ); +{ +SdrObjGroup *pGrpObj = dynamic_castSdrObjGroup *( pPage-GetObj( 1 ) ); +CPPUNIT_ASSERT( pGrpObj ); +SdrObjCustomShape *pObj = dynamic_castSdrObjCustomShape *( pGrpObj-GetSubList()-GetObj( 0 ) ); +CPPUNIT_ASSERT( pObj ); +CPPUNIT_ASSERT_MESSAGE( Wrong Text Rotation!, pObj-GetExtraTextRotation( true ) == 90 ); +} +} + void SdFiltersTest::testN828390() { bool bPassed = false; commit
Re: Extension in Java
Hello Adriam, You at least miss the manifest file in your sources: this will tell LibreOffice, what the jar file is a UNO component. And in that JAR file IIRC, you need to define a registration class. You can have a look at how it's implemented in the Eclipse extension: http://bosdonnat.fr/pages/libreoffice-eclipse.html Here you have an example of manifest file: https://github.com/cbosdo/coooder/blob/master/ant/manifest.xml You JAR manifest file needs to contain a special entry. See how it is set in Coooder: https://github.com/cbosdo/coooder/blob/master/ant/build.xml#L133 I hope it will help you. -- Cedric On Wed, 2014-03-26 at 11:07 -0400, Adriam Delgado Rivero wrote: Hello, here you have the extension and the code in java, (OtraMas.java is onli for test the code in netbeans). Thanks. I Conferencia Científica Internacional UCIENCIA 2014 en la UCI del 24 al 26 de abril de 2014, La Habana, Cuba. Ver http://uciencia.uci.cu ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: compilerplugins/clang
compilerplugins/clang/compat.hxx | 16 1 file changed, 16 insertions(+) New commits: commit 26f6ff08291848212a2f844878c1e330c4fa6349 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Mar 27 09:51:01 2014 +0100 More compat stuff (currently only used by a not-yet committed plugin, though) Change-Id: I4cff7eb97dbe10a44a911be9db090ea8cd10d8f0 diff --git a/compilerplugins/clang/compat.hxx b/compilerplugins/clang/compat.hxx index f100f25..1f025e7 100644 --- a/compilerplugins/clang/compat.hxx +++ b/compilerplugins/clang/compat.hxx @@ -24,6 +24,14 @@ #include llvm/Support/FileSystem.h #include llvm/Support/raw_ostream.h +#if (__clang_major__ == 3 __clang_minor__ = 4) || __clang_major__ 3 +#define LO_COMPILERPLUGINS_CLANG_COMPAT_HAVE_isAtEndOfImmediateMacroExpansion \ +true +#else +#define LO_COMPILERPLUGINS_CLANG_COMPAT_HAVE_isAtEndOfImmediateMacroExpansion \ +false +#endif + // Compatibility wrapper to abstract over (trivial) changes in the Clang API: namespace compat { @@ -43,6 +51,14 @@ inline bool isExternCContext(clang::DeclContext const ctxt) { #endif } +inline bool isFirstDecl(clang::FunctionDecl const decl) { +#if (__clang_major__ == 3 __clang_minor__ = 4) || __clang_major__ 3 +return decl.isFirstDecl(); +#else +return decl.isFirstDeclaration(); +#endif +} + inline clang::QualType getReturnType(clang::FunctionDecl const decl) { #if (__clang_major__ == 3 __clang_minor__ = 5) || __clang_major__ 3 return decl.getReturnType(); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
Re: [Bug 75489] code pointers
On 03/27/2014 06:59 AM, Abdulmajeed A. Alabdulrazzaq wrote: i am trying to solve fdo#75489 and i need some help i need some code pointers for it. Please provide meaningful data for your audience here; at a minimum, the bug's title and URL, so one can quickly and easily decide whether one would probably be able to actually help you. Stephan ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] dev-tools.git: scripts/dumpbz
scripts/dumpbz | 367 + 1 file changed, 367 insertions(+) New commits: commit ec9e3cbf3f0d5a07c29f293c1805a8b5ecd9fa18 Author: Bjoern Michaelsen bjoern.michael...@canonical.com Date: Thu Mar 27 10:41:18 2014 +0100 add bugzilla dumper Change-Id: I37eeda5284160bafe75615be4fe15504a33a7392 Reviewed-on: https://gerrit.libreoffice.org/8769 Reviewed-by: Björn Michaelsen bjoern.michael...@canonical.com Tested-by: Björn Michaelsen bjoern.michael...@canonical.com diff --git a/scripts/dumpbz b/scripts/dumpbz new file mode 100755 index 000..c83e234 --- /dev/null +++ b/scripts/dumpbz @@ -0,0 +1,367 @@ +#!/usr/bin/env python3 +# +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the License); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an AS IS basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# [ Copyright (C) 2014 Bjoern Michaelsen bjoern.michael...@canonical.com] +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the GPLv3+), or +# the GNU Lesser General Public License Version 3 or later (the LGPLv3+), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +import configparser +import optparse +import os +import os.path +import shutil +import subprocess +import sys +import time +import tempfile +import unittest +import urllib.request + +class DumpBzConfig(configparser.ConfigParser): +def set_defaults(self): +self['DumpBz'] = { +'BatchSize' : 1000, +'UpdateAge' : '30h', +'IdleTime' : 1000 } + +class DumpBzState(configparser.ConfigParser): +def set_defaults(self): +self['DumpBz'] = { +'LastBugSynced' : 0, +'UnresolvedSyned' : False } + +class WorkingBranchCopy: +def __init__(self, gitrepo, branch): +(self.gitrepo, self.branch) = (gitrepo, branch) +def __enter__(self): +self.workdir = tempfile.mkdtemp() +subprocess.check_output(['git', 'clone', '-s', '-b', self.branch, self.gitrepo, self.workdir], stderr=subprocess.DEVNULL) +return self +def __exit__(self, t, v, trace): +shutil.rmtree(self.workdir) +def commit_and_push(self, message): +subprocess.check_output(['git', '-C', self.workdir, 'add', '-A'], stderr=None) +subprocess.check_output(['git', '-C', self.workdir, 'commit', '--allow-empty', '-m', message], stderr=subprocess.DEVNULL) +subprocess.check_output(['git', '-C', self.workdir, 'push', 'origin', self.branch + ':' + self.branch], stderr=subprocess.DEVNULL) + +class LocalGitStorage: +def __init__(self, basedir): +self.basedir = basedir +def __write_ini(self, branch, filename, ini): +with WorkingBranchCopy(self.basedir, branch) as workcopy: +with open(os.path.join(workcopy.workdir, filename), 'w') as inifile: +ini.write(inifile) +workcopy.commit_and_push('updated ' + filename) +def __read_ini(self, branch, filename, ini): +with WorkingBranchCopy(self.basedir, branch) as workcopy: +ini.read(os.path.join(workcopy.workdir, filename)) +def write_config(self, config): +self.__write_ini('config', 'config', config) +def read_config(self, config): +return self.__read_ini('config', 'config', config) +def write_state(self, state): +self.__write_ini('state', 'state', state) +def read_state(self, state): +return self.__read_ini('state', 'state', state) +def create_pocket_dirs(self): +for pocket in range(0,1000): +asstring = %03d % pocket +dirname = os.path.join(asstring[-1], asstring) +dirpath = os.path.join(self.basedir, dirname) +if not os.path.isdir(dirpath): +os.makedirs(dirpath) +def setup(self): +subprocess.check_output(['git', 'init', self.basedir], stderr=subprocess.DEVNULL) +subprocess.check_output(['git', '-C', self.basedir, 'commit', '--allow-empty', '-m', 'init'], stderr=subprocess.DEVNULL) +subprocess.check_output(['git', '-C', self.basedir, 'checkout', '-b', 'config'], stderr=subprocess.DEVNULL) +subprocess.check_output(['git', '-C', self.basedir, 'checkout', '-b', 'state'], stderr=subprocess.DEVNULL) +subprocess.check_output(['git', '-C',
[Libreoffice-commits] core.git: sc/source
sc/source/core/tool/addincol.cxx | 16 1 file changed, 12 insertions(+), 4 deletions(-) New commits: commit 3ca1411772eb74a1cbfb00976f077f804684d9fb Author: Michael Meeks michael.me...@collabora.com Date: Thu Mar 27 09:47:55 2014 + fdo#62155 - don't crash if we can't create an instance of a calc addin. Change-Id: I478d949683a91e7adf9fa6b54e9d01ced676 diff --git a/sc/source/core/tool/addincol.cxx b/sc/source/core/tool/addincol.cxx index 82fd137..77f6795 100644 --- a/sc/source/core/tool/addincol.cxx +++ b/sc/source/core/tool/addincol.cxx @@ -593,11 +593,19 @@ void ScUnoAddInCollection::LoadComponent( const ScUnoAddInFuncData rFuncData ) { OUString aServiceName = aFullName.copy( 0, nPos ); -uno::Referencelang::XMultiServiceFactory xServiceFactory = comphelper::getProcessServiceFactory(); -uno::Referenceuno::XInterface xInterface( xServiceFactory-createInstance( aServiceName ) ); +try +{ +uno::Referencelang::XMultiServiceFactory xServiceFactory = comphelper::getProcessServiceFactory(); +uno::Referenceuno::XInterface xInterface( xServiceFactory-createInstance( aServiceName ) ); -if (xInterface.is()) -UpdateFromAddIn( xInterface, aServiceName ); +if (xInterface.is()) +UpdateFromAddIn( xInterface, aServiceName ); +} +catch (const uno::Exception ) +{ +SAL_WARN (sc, Failed to create addin component ' + aServiceName '); +} } } ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Bug 60270] LibreOffice 4.1 most annoying bugs
https://bugs.freedesktop.org/show_bug.cgi?id=60270 Bug 60270 depends on bug 62155, which changed state. Bug 62155 Summary: Libreoffice crashes after upgrade while using formula bar https://bugs.freedesktop.org/show_bug.cgi?id=62155 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: 3 commits - avmedia/Library_avmediaogl.mk avmedia/Library_avmediavlc.mk avmedia/Module_avmedia.mk avmedia/source include/sfx2 officecfg/registry postprocess/Rdb_service
Repository.mk|1 avmedia/Library_avmediaogl.mk| 35 + avmedia/Library_avmediavlc.mk|2 avmedia/Module_avmedia.mk|7 avmedia/source/opengl/avmediaogl.component | 15 avmedia/source/opengl/oglframegrabber.cxx| 60 +++ avmedia/source/opengl/oglframegrabber.hxx| 43 ++ avmedia/source/opengl/oglmanager.cxx | 60 +++ avmedia/source/opengl/oglmanager.hxx | 44 ++ avmedia/source/opengl/oglplayer.cxx | 159 avmedia/source/opengl/oglplayer.hxx | 62 +++ avmedia/source/opengl/ogluno.cxx | 47 ++ avmedia/source/opengl/oglwindow.cxx | 179 ++ avmedia/source/opengl/oglwindow.hxx | 70 +++ include/sfx2/sfxsids.hrc |2 officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu |5 postprocess/Rdb_services.mk |1 sd/sdi/_drvwsh.sdi |5 sd/source/ui/func/fuinsert.cxx | 59 +++ sd/source/ui/inc/fuinsert.hxx| 17 sd/source/ui/view/drviews2.cxx | 11 sd/uiconfig/simpress/menubar/menubar.xml |1 sfx2/sdi/sfx.sdi | 24 + 23 files changed, 907 insertions(+), 2 deletions(-) New commits: commit cab8cfbe60e2829d62308444a610d340d2370781 Author: Zolnai Tamás tamas.zol...@collabora.com Date: Thu Mar 27 11:22:02 2014 +0100 Basic UI for inserting 3D models -By now only in impress. -One supported file format: gltf/.json Change-Id: I66b9cc91afeac292a19e8917f923228dc96a791a diff --git a/include/sfx2/sfxsids.hrc b/include/sfx2/sfxsids.hrc index ebac7de..6c67e4c 100644 --- a/include/sfx2/sfxsids.hrc +++ b/include/sfx2/sfxsids.hrc @@ -515,6 +515,8 @@ #define SID_FRAMEDESCRIPTOR (SID_SFX_START + 1229) +#define SID_INSERT_3DMODEL (SID_SFX_START + 1229) + // SaveTabPage #define SID_ATTR_DOCINFO(SID_OPTIONS_START + 0) #define SID_ATTR_BACKUP (SID_OPTIONS_START + 1) diff --git a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu index 43e4aa6..35303c3 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu @@ -5609,6 +5609,11 @@ value xml:lang=en-USEdit with External Tool/value /prop /node + node oor:name=.uno:Insert3DModel oor:op=replace +prop oor:name=Label oor:type=xs:string + value xml:lang=en-US3D Model.../value +/prop + /node /node /node /oor:component-data diff --git a/sd/sdi/_drvwsh.sdi b/sd/sdi/_drvwsh.sdi index 78e812e..d328cf4 100644 --- a/sd/sdi/_drvwsh.sdi +++ b/sd/sdi/_drvwsh.sdi @@ -2748,4 +2748,9 @@ interface DrawView [ ExecMethod = FuTemporary ; ] +SID_INSERT_3DMODEL +[ +ExecMethod = FuTemporary ; +StateMethod = GetMenuState ; +] } diff --git a/sd/source/ui/func/fuinsert.cxx b/sd/source/ui/func/fuinsert.cxx index 13f71ba..c1706fc 100644 --- a/sd/source/ui/func/fuinsert.cxx +++ b/sd/source/ui/func/fuinsert.cxx @@ -29,6 +29,7 @@ #include com/sun/star/beans/XPropertySet.hpp #include com/sun/star/chart2/XChartDocument.hpp #include com/sun/star/drawing/FillStyle.hpp +#include com/sun/star/ui/dialogs/TemplateDescription.hpp #include tools/urlobj.hxx #include svl/urihelper.hxx @@ -90,6 +91,7 @@ TYPEINIT1( FuInsertGraphic, FuPoor ); TYPEINIT1( FuInsertClipboard, FuPoor ); TYPEINIT1( FuInsertOLE, FuPoor ); TYPEINIT1( FuInsertAVMedia, FuPoor ); +TYPEINIT1( FuInsert3DModel, FuPoor ); FuInsertGraphic::FuInsertGraphic ( ViewShell* pViewSh, @@ -753,6 +755,63 @@ void FuInsertAVMedia::DoExecute( SfxRequest rReq ) } } +FuInsert3DModel::FuInsert3DModel( +ViewShell* pViewSh, +::sd::Window* pWin, +::sd::View* pView, +SdDrawDocument* pDoc, +SfxRequest rReq) +: FuPoor(pViewSh, pWin, pView, pDoc, rReq) +{ +} + +rtl::ReferenceFuPoor FuInsert3DModel::Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest rReq ) +{ +rtl::ReferenceFuPoor xFunc( new FuInsert3DModel( pViewSh, pWin, pView, pDoc, rReq ) ); +xFunc-DoExecute(rReq); +
[Libreoffice-commits] core.git: avmedia/Library_avmediaogl.mk
avmedia/Library_avmediaogl.mk |2 ++ 1 file changed, 2 insertions(+) New commits: commit a8dd75cdda42f22aaf966db3bb2b9fe56d6be9fa Author: Zolnai Tamás tamas.zol...@collabora.com Date: Thu Mar 27 11:46:43 2014 +0100 Try to fix mac build: missing boost headers Change-Id: I20ad48dbebcf60e64c56a03160faadbb4bf4b20d diff --git a/avmedia/Library_avmediaogl.mk b/avmedia/Library_avmediaogl.mk index 78b4a8f..6257e8d 100644 --- a/avmedia/Library_avmediaogl.mk +++ b/avmedia/Library_avmediaogl.mk @@ -13,6 +13,8 @@ $(eval $(call gb_Library_set_componentfile,avmediaogl,avmedia/source/opengl/avme $(eval $(call gb_Library_use_sdk_api,avmediaogl)) +$(eval $(call gb_Library_use_external,avmediaogl,boost_headers)) + $(eval $(call gb_Library_use_libraries,avmediaogl,\ comphelper \ cppu \ ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[ANNOUNCE] Tag libreoffice-4.2.3.2 created
Hi all, The tag libreoffice-4.2.3.2 (AKA 4.2.3 RC2) has been created on the libreoffice-4-1-3 branch. It is the last scheduled RC. The 'libreoffice-4-2' branch is still active and will be used for the 4.2.4 bugfix release. Please read more at http://wiki.documentfoundation.org/ReleasePlan/4.2#4.2.3_release http://wiki.documentfoundation.org/Development/Branches http://wiki.documentfoundation.org/Release_Criteria To checkout the tag, use ./g fetch --tags ./g checkout -b tag-libreoffice-4.2.3.2 libreoffice-4.2.3.2 Hopefully it will work for you :-) Most probably, you will also want to do (if you haven't done it yet): git config --global push.default tracking When you do git push with this, git will push only the branch you are on; e.g. libreoffice-4-2-3 when you have switched to it. This will save you some git shouting at you. Linux distro packages might find source tarballs at http://dev-builds.libreoffice.org/pre-releases/src/ They will soon be available from the official page together with the builds. Attached is the list of changes against 4.2.3 RC1 Happy hacking, Christian + core + autorecovery: fix saving password in protected documents. (fdo#51819) [Matúš Kukan] + bump product version to 4.2.3.2 [Christian Lohmaier] + bump version to 4.2.3.1.0+ [Christian Lohmaier] + check the high position block correctly. (fdo#75642) [Kohei Yoshida] + fix application of help's stylesheet (fdo#75040) [Andras Timar] + mailmerge output path fix (fdo#74155) [Andras Timar] + make rest param in endsWithIgnoreAsciiCase default to zero [Noel Grandin] + ODF import: fix up graphics defaults stroke/fill colors (fdo#75872) [Michael Stahl] + RTF import: set borders without explicit width (fdo#68779) [Michael Stahl] + sw: fix AutoScroll (fdo#75460) [Michael Stahl] + SwEditShell::DeleteSel fix start of selection when bSelAll == true (fdo#75110) [Miklos Vajna] + the type in the Any is a util::Date and not a DateTime, (fdo#74549) [Markus Mohrhard] + this row index is 1-based whereas our own mnRow is 0-based. (fdo#76032) [Kohei Yoshida] + update credits [Christian Lohmaier] + updated core [Christian Lohmaier] + version 4.2.3.2, tag libreoffice-4.2.3.2 [Christian Lohmaier] + dictionaries + version 4.2.3.2, tag libreoffice-4.2.3.2 [Christian Lohmaier] + help + version 4.2.3.2, tag libreoffice-4.2.3.2 [Christian Lohmaier] + translations + update for 4.2.3 rc2 [Christian Lohmaier] fdo#51819 autorecovery: fix saving password in protected documents. [Matúš Kukan] fdo#68779 RTF import: set borders without explicit width [Michael Stahl] fdo#74155 mailmerge output path fix [Andras Timar] fdo#74549 the type in the Any is a util::Date and not a DateTime, [Markus Mohrhard] fdo#75040 fix application of help's stylesheet [Andras Timar] fdo#75110 SwEditShell::DeleteSel fix start of selection when bSelAll == true [Miklos Vajna] fdo#75460 sw: fix AutoScroll [Michael Stahl] fdo#75642 check the high position block correctly. [Kohei Yoshida] fdo#75872 ODF import: fix up graphics defaults stroke/fill colors [Michael Stahl] fdo#76032 this row index is 1-based whereas our own mnRow is 0-based. [Kohei Yoshida] + autorecovery: fix saving password in protected documents. (fdo#51819) [Matúš Kukan] + RTF import: set borders without explicit width (fdo#68779) [Michael Stahl] + mailmerge output path fix (fdo#74155) [Andras Timar] + the type in the Any is a util::Date and not a DateTime, (fdo#74549) [Markus Mohrhard] + fix application of help's stylesheet (fdo#75040) [Andras Timar] + SwEditShell::DeleteSel fix start of selection when bSelAll == true (fdo#75110) [Miklos Vajna] + sw: fix AutoScroll (fdo#75460) [Michael Stahl] + check the high position block correctly. (fdo#75642) [Kohei Yoshida] + ODF import: fix up graphics defaults stroke/fill colors (fdo#75872) [Michael Stahl] + this row index is 1-based whereas our own mnRow is 0-based. (fdo#76032) [Kohei Yoshida] ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Bug 34555] Make cropping handles for images (as in Draw/Impress) available for all LibreOffice applications
https://bugs.freedesktop.org/show_bug.cgi?id=34555 --- Comment #35 from wayne wa...@waynesville.co.uk --- I have just found this one! relatively new to Linux and LO and finding things as I need to use one. Really, I'm shocked at the lack of a cropping tool. This is busines critical functionality - try writing a training manual without it. Anyone evaluating a switch from MS office to LO will find this and it will immediately be a shop stopper. Amazed that is it taking so long to fix -- 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: avmedia/source
avmedia/source/opengl/oglmanager.cxx |1 + avmedia/source/opengl/oglwindow.cxx |1 + 2 files changed, 2 insertions(+) New commits: commit d4aa726f16899ecc75b5c7c3736f21509e7a4e9c Author: Zolnai Tamás tamas.zol...@collabora.com Date: Thu Mar 27 12:20:11 2014 +0100 Avoid unused private field errors Change-Id: I09fd613a8e6ed8283faebeb802cc30c57ac8d37b diff --git a/avmedia/source/opengl/oglmanager.cxx b/avmedia/source/opengl/oglmanager.cxx index d435e60..71d36d3 100644 --- a/avmedia/source/opengl/oglmanager.cxx +++ b/avmedia/source/opengl/oglmanager.cxx @@ -20,6 +20,7 @@ namespace avmedia { namespace ogl { OGLManager::OGLManager( const uno::Reference lang::XMultiServiceFactory rMgr ) : m_xMgr( rMgr ) { +(void) m_xMgr; } OGLManager::~OGLManager() diff --git a/avmedia/source/opengl/oglwindow.cxx b/avmedia/source/opengl/oglwindow.cxx index ab524e4..30844b9 100644 --- a/avmedia/source/opengl/oglwindow.cxx +++ b/avmedia/source/opengl/oglwindow.cxx @@ -18,6 +18,7 @@ OGLWindow::OGLWindow( OGLPlayer rPlayer ) : m_rPlayer( rPlayer ) , meZoomLevel( media::ZoomLevel_ORIGINAL ) { +(void) m_rPlayer; } OGLWindow::~OGLWindow() ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
В вашем отделе продаж серьезные проблемы!
Your email client cannot read this email. To view it online, please go here: http://www.mailchieftain.info/display.php?M=640686C=33423a11e3344ec126aae761ea8fe3a2S=157L=19N=138 To stop receiving these emails:http://www.mailchieftain.info/unsubscribe.php?M=640686C=33423a11e3344ec126aae761ea8fe3a2L=19N=157 ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Bug 34555] Make cropping handles for images (as in Draw/Impress) available for all LibreOffice applications
https://bugs.freedesktop.org/show_bug.cgi?id=34555 --- Comment #36 from tommy27 ba...@quipo.it --- (In reply to comment #35) ... Really, I'm shocked at the lack of a cropping tool. ... Anyone evaluating a switch from MS office to LO will find this and it will immediately be a shop stopper. in the meantime you can add that missing function using the CropOOo extension which in compatible with LibO too. http://aoo-extensions.sourceforge.net/en/project/cropooo -- You are receiving this mail because: You are on the CC list for the bug. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
RE: [Bug 75489] code pointers
On 03/27/2014 06:59 AM, Abdulmajeed A. Alabdulrazzaq wrote: i am trying to solve fdo#75489 and i need some help i need some code pointers for it. Please provide meaningful data for your audience here; at a minimum, the bug's title and URL, so one can quickly and easily decide whether one would probably be able to actually help you. i'm sorry :( https://bugs.freedesktop.org/show_bug.cgi?id=75489 Context menu of toolbars not working Open any LibreOffice application - Right-Click on any toolbar Note that a context menu opens which gives access to all menu items which are not activated to be displayed on the toolbar. These are the items above the first diivider line. I see two bugs here: 1.Nothing happens when clicking left on these items. - Regards, Abdulmajeed Al-Abdulrazzaq Motah Program, KACST http://www.motah.org.sa Warning: This message and its attachment, if any, are confidential and may contain information protected by law. If you are not the intended recipient, please contact the sender immediately and delete the message and its attachment, if any. You should not copy the message and its attachment, if any, or disclose its contents to any other person or use it for any purpose. Statements and opinions expressed in this e-mail and its attachment, if any, are those of the sender, and do not necessarily reflect those of King Abdulaziz city for Science and Technology (KACST) in the Kingdom of Saudi Arabia. KACST accepts no liability for any damage caused by this email. ?: ??? ??? ??? ? ?? ?? (?? ) ? ?? ? ??? ??? ? ? ???. ??? ?? ??? ? ?? ??? ? ??? ?? ? ??? ? (?? )? ??? ?? ??? ?? ? ??? ??? ?? (?? ) ?? ?? ??? ? ?? ? ?? ? ?? ? ??? ???. ? ??? ??? ??? ? (?? ) ?? ??? ??? ??? ? ? ? ?? ??? ? ??? ? ??? ?? ??? ?? ??? ??? ?? ?? ?? ?? ??? ??. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: sfx2/source
sfx2/source/dialog/dockwin.cxx |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit c5058e6b8edd092670ab5e16035ffce8f0dbcc24 Author: Noel Grandin n...@peralex.com Date: Thu Mar 27 14:02:59 2014 +0200 fix extern declaration which I missed when I did commit ffca95023020a24eaff4ece1d4c7bedd469bfb78 sfx2/childwin.hxx: sal_Bool-bool Change-Id: I75fe4a924cc477194453fac5386d23f23d3a1728 diff --git a/sfx2/source/dialog/dockwin.cxx b/sfx2/source/dialog/dockwin.cxx index 54a7fdb..2c97838 100644 --- a/sfx2/source/dialog/dockwin.cxx +++ b/sfx2/source/dialog/dockwin.cxx @@ -54,8 +54,8 @@ using namespace ::com::sun::star; // implemented in 'sfx2/source/appl/childwin.cxx' -extern sal_Bool GetPosSizeFromString( const OUString rStr, Point rPos, Size rSize ); -extern sal_Bool GetSplitSizeFromString( const OUString rStr, Size rSize ); +extern bool GetPosSizeFromString( const OUString rStr, Point rPos, Size rSize ); +extern bool GetSplitSizeFromString( const OUString rStr, Size rSize ); // If you want to change the number you also have to: // - Add new slot ids to sfxsids.hrc ___ 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
sc/source/core/tool/addincol.cxx | 16 1 file changed, 12 insertions(+), 4 deletions(-) New commits: commit 54617821cf0fd2fcb0465bf06c9b31b49838 Author: Michael Meeks michael.me...@collabora.com Date: Thu Mar 27 09:47:55 2014 + fdo#62155 - don't crash if we can't create an instance of a calc addin. Change-Id: I478d949683a91e7adf9fa6b54e9d01ced676 Reviewed-on: https://gerrit.libreoffice.org/8770 Tested-by: Markus Mohrhard markus.mohrh...@googlemail.com Reviewed-by: Markus Mohrhard markus.mohrh...@googlemail.com diff --git a/sc/source/core/tool/addincol.cxx b/sc/source/core/tool/addincol.cxx index 2e10096..e1bbb36 100644 --- a/sc/source/core/tool/addincol.cxx +++ b/sc/source/core/tool/addincol.cxx @@ -592,11 +592,19 @@ void ScUnoAddInCollection::LoadComponent( const ScUnoAddInFuncData rFuncData ) { OUString aServiceName = aFullName.copy( 0, nPos ); -uno::Referencelang::XMultiServiceFactory xServiceFactory = comphelper::getProcessServiceFactory(); -uno::Referenceuno::XInterface xInterface( xServiceFactory-createInstance( aServiceName ) ); +try +{ +uno::Referencelang::XMultiServiceFactory xServiceFactory = comphelper::getProcessServiceFactory(); +uno::Referenceuno::XInterface xInterface( xServiceFactory-createInstance( aServiceName ) ); -if (xInterface.is()) -UpdateFromAddIn( xInterface, aServiceName ); +if (xInterface.is()) +UpdateFromAddIn( xInterface, aServiceName ); +} +catch (const uno::Exception ) +{ +SAL_WARN (sc, Failed to create addin component ' + aServiceName '); +} } } ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: scaddins/source
scaddins/source/analysis/analysishelper.cxx |6 ++ 1 file changed, 6 insertions(+) New commits: commit 88a822a2d8c40d345cf5060a70b6b132221ef651 Author: Michael Stahl mst...@redhat.com Date: Thu Mar 27 13:15:06 2014 +0100 scaddins: workaround spurious MSVC warning C4701 Change-Id: I5b184a552b258e922d594cabd52c9f2bae3bb2b1 diff --git a/scaddins/source/analysis/analysishelper.cxx b/scaddins/source/analysis/analysishelper.cxx index bf13aad..5751869 100644 --- a/scaddins/source/analysis/analysishelper.cxx +++ b/scaddins/source/analysis/analysishelper.cxx @@ -600,6 +600,12 @@ double GetYearFrac( sal_Int32 nNullDate, sal_Int32 nStartDate, sal_Int32 nEndDat case 3: // 3=exact/365 nDaysInYear = 365; break; +#ifdef _MSC_VER +// Coverity complains this is dead code, but MSVC thinks nDaysInYear +// is uninitialized if it's missing. +default: +throw lang::IllegalArgumentException(); +#endif } return double( nDayDiff ) / nDaysInYear; ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: 2 commits - sfx2/source
sfx2/source/bastyp/fltfnc.cxx |2 +- sfx2/source/inc/sfxtypes.hxx |6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) New commits: commit 1e1de355713d1035e172f2a3cd299fd3a1154130 Author: Michael Stahl mst...@redhat.com Date: Thu Mar 27 13:53:43 2014 +0100 sfx2: why is this debug stuff WNT-only? Change-Id: I8768ebc523b03a469f8b9bb49e015ca7d140fc96 diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx index f86c1da..7f810df 100644 --- a/sfx2/source/bastyp/fltfnc.cxx +++ b/sfx2/source/bastyp/fltfnc.cxx @@ -103,7 +103,7 @@ #include boost/ptr_container/ptr_vector.hpp #include functional -#if defined(DBG_UTIL) defined(WNT) +#if defined(DBG_UTIL) unsigned SfxStack::nLevel = 0; #endif diff --git a/sfx2/source/inc/sfxtypes.hxx b/sfx2/source/inc/sfxtypes.hxx index b62167f..22d199b 100644 --- a/sfx2/source/inc/sfxtypes.hxx +++ b/sfx2/source/inc/sfxtypes.hxx @@ -82,7 +82,7 @@ struct _Capper -#if defined(DBG_UTIL) defined(WNT) +#if defined(DBG_UTIL) class SfxStack { commit 65391bdefa1ec634f6de8a70d07b26b35c14fa65 Author: Michael Stahl mst...@redhat.com Date: Thu Mar 27 13:48:55 2014 +0100 sfx2: s/SAL_LOG/SAL_INFO/ in WNT-only code Change-Id: I0e7c241e0ee9c7d2ace75d8a935ee068da80fb6d diff --git a/sfx2/source/inc/sfxtypes.hxx b/sfx2/source/inc/sfxtypes.hxx index bcefe93..b62167f 100644 --- a/sfx2/source/inc/sfxtypes.hxx +++ b/sfx2/source/inc/sfxtypes.hxx @@ -92,11 +92,11 @@ public: SfxStack( const char *pName ) { ++nLevel; -SAL_LOG(sfx, STACK: enter nLevel pName); +SAL_INFO(sfx.control, STACK: enter nLevel pName); } ~SfxStack() { -SAL_LOG(sfx, STACK: leave nLevel); +SAL_INFO(sfx.control, STACK: leave nLevel); --nLevel; } }; ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: sc/inc sfx2/source store/workben
sc/inc/global.hxx| 15 --- sfx2/source/inc/sfxtypes.hxx | 31 --- store/workben/t_store.cxx| 17 - 3 files changed, 63 deletions(-) New commits: commit 512de6e75d34d2144392d1e78c25446f2d0b3a35 Author: Michael Stahl mst...@redhat.com Date: Thu Mar 27 14:28:11 2014 +0100 sfx2, sc: remove macros for using Windows NT Call Profiler Apparently this tool was available for early versions of NT; googling finds a caplib.zip from 1992 but that is missing the CAP.dll so there's no way to use this anyway. http://cd.textfiles.com/cica/cica9308/UNZIPPED/NT/CAPLIB/CAP.TXT Change-Id: I4718af0e175b78bcdad38bbca0fc9579b3b12111 diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx index 51afdb1..0d94fb3 100644 --- a/sc/inc/global.hxx +++ b/sc/inc/global.hxx @@ -37,21 +37,6 @@ class Bitmap; class SfxItemSet; class Color; -// Macro for call profiler (WinNT) -// S_CAP starts a measurement, E_CAP stops it -#if defined( WNT ) defined( PROFILE ) - -extern C { -void StartCAP(); -void StopCAP(); -void DumpCAP(); -}; - -#define S_CAP StartCAP(); -#define E_CAP StopCAP(); DumpCAP(); - -#endif - #define SC_COLLATOR_IGNORES ( \ ::com::sun::star::i18n::CollatorOptions::CollatorOptions_IGNORE_CASE ) diff --git a/sfx2/source/inc/sfxtypes.hxx b/sfx2/source/inc/sfxtypes.hxx index 22d199b..d55e299 100644 --- a/sfx2/source/inc/sfxtypes.hxx +++ b/sfx2/source/inc/sfxtypes.hxx @@ -41,37 +41,6 @@ #endif #endif - - -// Macro for the Call-Profiler under WinNT -// with S_CAP a measurement can be started, and stopped with E_CAP -#if defined( WNT ) defined( PROFILE ) - -extern C { -void StartCAP(); -void StopCAP(); -void DumpCAP(); -}; - -#define S_CAP() StartCAP(); -#define E_CAP() StopCAP(); DumpCAP(); - -struct _Capper -{ -_Capper() { S_CAP(); } -~_Capper() { E_CAP(); } -}; - -#define CAP _Capper _aCap_ - -#else - -#define S_CAP() -#define E_CAP() -#define CAP - -#endif - #ifndef DBG #ifdef DBG_UTIL #define DBG(statement) statement diff --git a/store/workben/t_store.cxx b/store/workben/t_store.cxx index 7a44fb9..160d3d8 100644 --- a/store/workben/t_store.cxx +++ b/store/workben/t_store.cxx @@ -27,15 +27,6 @@ #include stdio.h -#if (defined(WNT) defined(PROFILE)) -extern C -{ -void StartCAP (void); -void StopCAP (void); -void DumpCAP (void); -} -#endif /* PROFILE */ - /* * * Internals. @@ -213,11 +204,7 @@ sal_Bool DirectoryTraveller::visit (const iter it) *==*/ int SAL_CALL main (int argc, char **argv) { -#if (defined(WNT) defined(PROFILE)) -StartCAP(); -#else OTime aMainStartTime (OTime::getSystemTime()); -#endif /* PROFILE */ store::OStoreFile aFile; storeError eErrCode = store_E_None; @@ -557,10 +544,6 @@ int SAL_CALL main (int argc, char **argv) // Done. aFile.close(); -#if (defined(WNT) defined(PROFILE)) -StopCAP(); -DumpCAP(); -#endif /* PROFILE */ #ifndef PROFILE OTime aDelta (OTime::getSystemTime() - aMainStartTime); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: include/vcl
include/vcl/outdev.hxx |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 3ffb8c2f58ae02ad201cd016f2331aed0523d46e Author: Chris Sherlock chris.sherloc...@gmail.com Date: Thu Mar 27 03:19:12 2014 +1100 OutputDevice::EnableRTL should be virtual Change-Id: I5e89326659e018561114a2fee2532d4412c070af diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index 9b115de..35c48fa 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -1150,7 +1150,7 @@ public: boolIsMapModeEnabled() const { return mbMap; } // Enabling/disabling RTL only makes sense for OutputDevices that use a mirroring SalGraphisLayout -voidEnableRTL( bool bEnable = true); +virtual voidEnableRTL( bool bEnable = true); boolIsRTLEnabled() const { return mbEnableRTL; } voidSetConnectMetaFile( GDIMetaFile* pMtf ); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
loperf: performance testing using callgrind
Hi, Sorry, it's been so long, but finally I've updated documents in http://dev-builds.libreoffice.org/callgrind_report/ produced by loperf script running callgrind regularly. There is an old history file showing a perf. improvement between commits c3126202c429f512231272fb934e8334777c5231..62a18e8ec17b5ee389a2c82866d69d1130351282 which does not makes sense :-) Otherwise the numbers are pretty stable modulo changes in the script/test files. Hopefully, the new file will be updated regularly and show some nice performance improvements in the future ;-) I've changed the script a bit, here is some description of http://dev-builds.libreoffice.org/callgrind_report/history.fods offload-first: OOO_EXIT_POST_STARTUP=1 soffice.bin --splash-pipe=0 --headless # after removed instdir/user directory offload-second: the same with now existing user directory file-load: OOO_EXIT_POST_STARTUP=1 soffice.bin --splash-pipe=0 --headless file file-convert: soffice.bin --splash-pipe=0 --headless --convert-to file-extension --outdir tmp file The numbers show millions of pseudo-cycles. All with OOO_DISABLE_RECOVERY=1. Currently one round (build test all files) is about 10 hours. If you have some more ideas / questions and/or test files, please share. Files are in test-files.git/loperf/ Best, Matus ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: comphelper/source
comphelper/source/property/propagg.cxx | 36 +++ comphelper/source/property/propertysethelper.cxx | 20 2 files changed, 18 insertions(+), 38 deletions(-) New commits: commit ee6895c61f8c073288bbc73cae105c3c1c36b9f0 Author: Takeshi Abe t...@fixedpoint.jp Date: Thu Mar 27 23:22:43 2014 +0900 Avoid possible resource leaks by boost::scoped_array Change-Id: I3d26325995995f658cd6adcc80e0716cfcee7de0 diff --git a/comphelper/source/property/propagg.cxx b/comphelper/source/property/propagg.cxx index 545da88..18d9194 100644 --- a/comphelper/source/property/propagg.cxx +++ b/comphelper/source/property/propagg.cxx @@ -30,6 +30,7 @@ #include algorithm #include set +#include boost/scoped_array.hpp namespace comphelper @@ -517,9 +518,9 @@ void SAL_CALL OPropertySetAggregationHelper::propertiesChange(const ::com::sun: } else { -sal_Int32* pHandles = new sal_Int32[nLen]; - ::com::sun::star::uno::Any* pNewValues = new ::com::sun::star::uno::Any[nLen]; - ::com::sun::star::uno::Any* pOldValues = new ::com::sun::star::uno::Any[nLen]; +boost::scoped_arraysal_Int32 pHandles(new sal_Int32[nLen]); +boost::scoped_array ::com::sun::star::uno::Any pNewValues(new ::com::sun::star::uno::Any[nLen]); +boost::scoped_array ::com::sun::star::uno::Any pOldValues(new ::com::sun::star::uno::Any[nLen]); const ::com::sun::star::beans::PropertyChangeEvent* pEvents = _rEvents.getConstArray(); sal_Int32 nDest = 0; @@ -536,11 +537,7 @@ void SAL_CALL OPropertySetAggregationHelper::propertiesChange(const ::com::sun: } if (nDest) -fire(pHandles, pNewValues, pOldValues, nDest, sal_False); - -delete[] pHandles; -delete[] pNewValues; -delete[] pOldValues; +fire(pHandles.get(), pNewValues.get(), pOldValues.get(), nDest, sal_False); } } @@ -775,9 +772,6 @@ void SAL_CALL OPropertySetAggregationHelper::setPropertyValues( else { const ::com::sun::star::uno::Any* pValues = _rValues.getConstArray(); - ::com::sun::star::uno::Any* pConvertedValues = NULL; - ::com::sun::star::uno::Any* pOldValues = NULL; -sal_Int32* pHandles = NULL; try { @@ -815,18 +809,17 @@ void SAL_CALL OPropertySetAggregationHelper::setPropertyValues( // reset, needed below pDelValues = DelValues.getArray(); -pHandles = new sal_Int32[ nLen - nAggCount ]; +boost::scoped_arraysal_Int32 pHandles(new sal_Int32[ nLen - nAggCount ]); // get the map table cppu::IPropertyArrayHelper rPH2 = getInfoHelper(); // fill the handle array -sal_Int32 nHitCount = rPH2.fillHandles( pHandles, DelPropertyNames ); +sal_Int32 nHitCount = rPH2.fillHandles( pHandles.get(), DelPropertyNames ); if (nHitCount != 0) { - - pConvertedValues = new ::com::sun::star::uno::Any[ nHitCount ]; - pOldValues = new ::com::sun::star::uno::Any[ nHitCount ]; +boost::scoped_array ::com::sun::star::uno::Any pConvertedValues(new ::com::sun::star::uno::Any[ nHitCount ]); +boost::scoped_array ::com::sun::star::uno::Any pOldValues(new ::com::sun::star::uno::Any[ nHitCount ]); nHitCount = 0; sal_Int32 i; @@ -855,7 +848,7 @@ void SAL_CALL OPropertySetAggregationHelper::setPropertyValues( } // fire vetoable events -fire( pHandles, pConvertedValues, pOldValues, nHitCount, sal_True ); +fire( pHandles.get(), pConvertedValues.get(), pOldValues.get(), nHitCount, sal_True ); // setting the agg Properties m_xAggregateMultiSet-setPropertyValues(AggPropertyNames, AggValues); @@ -873,7 +866,7 @@ void SAL_CALL OPropertySetAggregationHelper::setPropertyValues( } // fire change events -fire( pHandles, pConvertedValues, pOldValues, nHitCount, sal_False ); +fire( pHandles.get(), pConvertedValues.get(), pOldValues.get(), nHitCount, sal_False ); } else m_xAggregateMultiSet-setPropertyValues(AggPropertyNames, AggValues); @@ -881,15 +874,8 @@ void SAL_CALL OPropertySetAggregationHelper::setPropertyValues( } catch(::com::sun::star::uno::Exception) { -delete [] pHandles; -delete [] pOldValues; -delete [] pConvertedValues; throw; } - -delete [] pHandles; -delete [] pOldValues; -delete
[Libreoffice-commits] core.git: sw/source
sw/source/filter/ww8/ww8struc.hxx |5 + 1 file changed, 5 insertions(+) New commits: commit b6e2851806c2d56674b6737c4f208e916e677764 Author: Michael Stahl mst...@redhat.com Date: Thu Mar 27 15:27:43 2014 +0100 sw: avoid warning C4510: WW8_TCellVer6: default constructor could not ... be generated; apparently that class is never instantiated anyway, just used for casting horribly in WW8TabBandDesc::ReadDef(). Change-Id: I4265d85b43b10135b9425c58b70e42d65d7e2038 diff --git a/sw/source/filter/ww8/ww8struc.hxx b/sw/source/filter/ww8/ww8struc.hxx index b13b6c6..a19b326 100644 --- a/sw/source/filter/ww8/ww8struc.hxx +++ b/sw/source/filter/ww8/ww8struc.hxx @@ -238,6 +238,11 @@ struct WW8_BRCVer6 // BoRder Code (WW6 version) // sal_uInt16 ico : 5; // 07C0 color code (see chp.ico) // sal_uInt16 dxpSpace : 5;// F800 width of space to maintain between border and text within border. // Must be 0 when BRC is a substructure of the TC. Stored in points for Windows. +WW8_BRCVer6() +{ +memset(aBits1, 0, sizeof(aBits1)); +} + sal_uInt8 dxpLineWidth() const { return aBits1[0] 0x07; } sal_uInt8 brcType() const ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'private/kohei/new-chart-type-skeleton' - chart2/source
chart2/source/view/main/ChartView.cxx | 33 +++-- 1 file changed, 31 insertions(+), 2 deletions(-) New commits: commit 79969ff7fb98d91ae7964118a6dbcbca21f33663 Author: Kohei Yoshida kohei.yosh...@collabora.com Date: Thu Mar 27 10:35:15 2014 -0400 Add a means to debug the internal state of the diagram object. Until we can render this new GL chart for real. Change-Id: Iaf1a5fb903572c33d512705c9073b3795187f89b diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index 67404e0..0490567 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -121,9 +121,34 @@ using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Any; -namespace +namespace { + +class theExplicitValueProviderUnoTunnelId : public rtl::StaticUnoTunnelIdInit, theExplicitValueProviderUnoTunnelId {}; + +#if ENABLE_GL3D_BARCHART + +/** + * Only used for initial debugging of the new GL chart (until we can + * visualize it). + */ +void debugGL3DOutput( ChartModel rModel ) { -class theExplicitValueProviderUnoTunnelId : public rtl::Static UnoTunnelIdInit, theExplicitValueProviderUnoTunnelId {}; +uno::ReferenceXDiagram xDiagram = rModel.getFirstDiagram(); +if (!xDiagram.is()) +return; + +try +{ +uno::Referencebeans::XPropertySet xPropSet(xDiagram, uno::UNO_QUERY_THROW); +bool bRoundedEdge = false; +xPropSet-getPropertyValue(RoundedEdge) = bRoundedEdge; + +fprintf(stdout, GL3D: rounded edge = %d\n, bRoundedEdge); +} +catch (...) {} +} + +#endif } @@ -2381,6 +2406,10 @@ void ChartView::createShapes() maTimeBased.bTimeBased = true; } +#if ENABLE_GL3D_BARCHART +debugGL3DOutput(mrChartModel); +#endif + //make sure add-in is refreshed after creating the shapes const ::comphelper::ScopeGuard aGuard( boost::bind( ChartView::impl_refreshAddIn, this ) ); if( impl_AddInDrawsAllByItself() ) ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] dev-tools.git: scripts/dumpbz
scripts/dumpbz |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 27fbc2ee4710d7f5a28a77154255bd75faac8a44 Author: Bjoern Michaelsen bjoern.michael...@canonical.com Date: Thu Mar 27 15:46:47 2014 +0100 write files with proper encoding diff --git a/scripts/dumpbz b/scripts/dumpbz index c83e234..75a402b 100755 --- a/scripts/dumpbz +++ b/scripts/dumpbz @@ -162,7 +162,7 @@ class SyncWorker: self.storage.read_config(self.config) def __sync_bug(self, bug_id): try: -with open(self.storage.get_bugfilename(bug_id), 'w') as bugfile: +with open(self.storage.get_bugfilename(bug_id), 'w', encoding='utf8') as bugfile: bugfile.write(self.bzwrapper.get_bug_xml(bug_id)) time.sleep(float(self.config['DumpBz']['IdleTime'])/1000) except Exception as e: ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
minutes of ESC call ...
* Present Bjoern, Eike, Norbert, Christian, Adam, Matus, Kohei, Kendy, Cedric, Miklos, Andras, Michael M, Stephan B, David, Robinson, Astron, Lionel * Completed Action Items + unwind non-closed 4.0 MABs (Michael) + send bluez 5.0 bug # to Caolan (Michael) [ ahunt looking into this ] + update certification website (Kendy) + create a meta-bug for large l10n relevant 4.3 issues (Andras) https://bugs.libreoffice.org/show_bug.cgi?id=76203 * Pending Action Items: + crashtest box - more research (Moggi/Cloph) [ still pending discovering which document is the one ... box is doing something now (Cloph) ... ] + will try filing a lot of small string changes as easy hacks (Astron) * Release Engineering update (Christian) + iOS remote approved with fix for iOS5 + will pull the Android remote translations, and will publish that as a public release + 4.2.3 rc2 status + pushed to early testing QA already, synching to the mirrors + will be released today / tomorrow morning. + on-line update is triggered by micro version being larger + so far only 4.2 getting updates to 4.2.2 + users on 4.1.5 etc. not getting updates to that. + 4.1.next - April 7th * UX update (Astron) + not much to report * Daylight saving reminder: + same European local-time next week * Performance regression testing (Matus) + raw data from Matus' callgrind / tinderbox profiling script is: + http://dev-builds.libreoffice.org/callgrind_report/ + recently expanded to use around 10x test files + we load them, and save them and log the pseudo-cycles + the hope is that this will run regularly (taking ~10 hours) and produce a long time series to spot performance problems. + history_old.fods + concerned by the big 7x XLSX test jump (Norbert) + in beginning, only loading, but now exporting too, and the export takes a lot longer. + the big drop is 20x days of data we lost + performance seems stable, if not very slightly better over time + what do the numbers mean ? (Kohei) + they are callgrind pseudo-cycles - using cache simulation (Matus) + can we publish the latest callgrind output files ? (Michael) + sounds reasonable AI: + look into automatic up-load of data last callgrind traces (Matus/Cloph) + where is the script ? (Michael) + in buildbot.git/loperf/* + test files in testfiles.git/loperf + why are numbers in history.fods different ? (Kendy) + divided by a million to make it easier to read (Matus) + also measuring the first-ever-start and 1st start (Matus) * Security-related bugs in release notes (Michael Stahl) + users should not be adding those, eg: + https://wiki.documentfoundation.org/index.php?title=ReleaseNotes%2F4.0diff=87766oldid=86905 + not really a security bug = should be removed. + shouldn't list security bugs in the release notes (Norbert) + many bugs are security bugs + concerned wrt. the process too (Bjoern) + if we do fix security bugs we have the page here: + https://www.libreoffice.org/about-us/security/advisories/ + mozilla have a single CVE for each release (Michael) + that includes all potential security related issues + concern with other projects using the code + concern wrt. total Mitre non-responsiveness + leave as-is. AI: + remove recently added, misleading security bug section from release notes (Michael S) * GSoC update (Cedric) + have around a dozen good looking students + final slot request due April 7th + requested 9 min, 12 max. + continue rating the students in the meantime at: + http://www.google-melange.com/gsoc/proposal/list/org/google/gsoc2014 * New committers (welcome to the team) (Norbert) + Chris Sherlock - great work in VCL + Maxim Monastirsky - impressive calc work (Kohei) * Crashtest update (Markus) + pending the fix. * Gran Canaria hack-fest (Bjoern) + April 24-25, 2014 (Thu-Fri) + book flights etc. + hotel is booked by TDF from Wednesday to Saturday see https://wiki.documentfoundation.org/Hackfest/GranCanaria2014#Accomodation for details + venue is online too: https://wiki.documentfoundation.org/Hackfest/GranCanaria2014#Venue + bus from the hotel - university planned. * Certification Committee (Stephan/Bjoern/Kendy) AI: + inform marketing guys wrt. certification (Kendy) * UX test at LibrePlanet / SpinachCon (Robinson) + several bugs / rendering issues to enter + events are important, get good feedback etc. * QA (Robinson) + doing a bit better with bug triage this week + stable at 930 or so unconfirmed + almost no 4.2 writer regressions + down to about three + asked QA veterans to
[Libreoffice-commits] core.git: Branch 'aoo/trunk' - 2 commits - bridges/source ucb/source
bridges/source/cpp_uno/s5abi_macosx_x86-64/except.cxx | 19 ++ bridges/source/cpp_uno/s5abi_macosx_x86-64/share.hxx |4 +++ ucb/source/ucp/webdav/webdavcontent.cxx | 17 3 files changed, 36 insertions(+), 4 deletions(-) New commits: commit a5df560f6a44de04a66da1dd05960ff2ee6bd2ba Author: Herbert Dürr h...@apache.org Date: Thu Mar 27 15:50:58 2014 + #i124421# force the availability of type_info symbols thrown by the ucb module When exceptions are passed around in uno::Any types to be thrown later it was observed on OSX64 that the type_info symbols of these exceptions were not available anywhere. On most platforms the UNO bridge would synthesize them by emulating how the platform's toolchain would do it. Forcing the emission of the type_infos by the real toolchain is much better than second guessing and reverse engineering its operation. An even better approach would be to have the ucb throw the exceptions itself instead of wrapping, rewrapping, unwrapping, etc. them. Once this is done the dummyThrower helper function is no longer needed. diff --git a/ucb/source/ucp/webdav/webdavcontent.cxx b/ucb/source/ucp/webdav/webdavcontent.cxx index df558f0..0a41808 100644 --- a/ucb/source/ucp/webdav/webdavcontent.cxx +++ b/ucb/source/ucp/webdav/webdavcontent.cxx @@ -3352,6 +3352,23 @@ uno::Any Content::MapDAVException( const DAVException e, sal_Bool bWrite ) return aException; } +// #i124421# force the availability of type_info symbols for exceptions +// that used to be passed around in uno::Any variables and thrown later +void ucb_dummyThrower( int i) { +switch( i) { +case 10: throw ucb::InteractiveNetworkGeneralException(); +case 11: throw ucb::InteractiveAugmentedIOException(); +case 12: throw ucb::InteractiveNetworkGeneralException(); +case 13: throw ucb::InteractiveNetworkWriteException(); +case 14: throw ucb::InteractiveNetworkReadException(); +case 15: throw ucb::InteractiveNetworkConnectException(); +case 16: throw ucb::InteractiveLockingLockedException(); +case 17: throw ucb::InteractiveLockingNotLockedException(); +case 18: throw ucb::InteractiveNetworkGeneralException(); +case 19: throw ucb::InteractiveLockingLockExpiredException(); +} +} + //= // static bool Content::shouldAccessNetworkAfterException( const DAVException e ) commit 184348f1a82bc70ebf510b03a2ef0537d1cea278 Author: Herbert Dürr h...@apache.org Date: Thu Mar 27 15:41:06 2014 + #i124421# disable generated type_info for the OSX64 uno bridge When the dynamic loading of the type_info symbols failed the UNO bridge synthesized type_info objects itself. The synthesized ones trigger the crash observed so we disable their generation and handle the result gracefully. diff --git a/bridges/source/cpp_uno/s5abi_macosx_x86-64/except.cxx b/bridges/source/cpp_uno/s5abi_macosx_x86-64/except.cxx index 96a65fc..baef65f 100644 --- a/bridges/source/cpp_uno/s5abi_macosx_x86-64/except.cxx +++ b/bridges/source/cpp_uno/s5abi_macosx_x86-64/except.cxx @@ -39,6 +39,7 @@ #include rtl/ustrbuf.hxx #include osl/diagnose.h #include osl/mutex.hxx +#include tools/debug.hxx #include com/sun/star/uno/genfunc.hxx #include com/sun/star/uno/RuntimeException.hpp @@ -174,9 +175,15 @@ type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THR // symbol and rtti-name is nearly identical, // the symbol is prefixed with _ZTI char const * rttiName = symName.getStr() +4; -#if OSL_DEBUG_LEVEL 1 +#if OSL_DEBUG_LEVEL = 1 fprintf( stderr,generated rtti for %s\n, rttiName ); +const OString aCUnoName = OUStringToOString( unoName, RTL_TEXTENCODING_UTF8); +DBG_WARNING1( TypeInfo for \%s\ not found and cannot be generated.\n, aCUnoName.getStr()); #endif +#if 0 // TODO: enable it again when the generated class_type_infos always work. + // Forcing the toolchain to create authentic typeinfos is much better though + // than the sick concept of reverse-engineering the platform's toolchain + // and generating the missing type_infos. if (pTypeDescr-pBaseTypeDescription) { // ensure availability of base @@ -190,10 +197,12 @@ type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SAL_THR // this class has no base class rtti = new __class_type_info( strdup( rttiName ) ); } +#else +rtti = NULL; +#endif -pair t_rtti_map::iterator, bool insertion( -m_generatedRttis.insert( t_rtti_map::value_type( unoName, rtti ) ) ); -OSL_ENSURE(
[Libreoffice-commits] core.git: store/workben
store/workben/t_store.cxx | 12 1 file changed, 12 deletions(-) New commits: commit e0791969c8913f7719f59cf57983f5388a311cc6 Author: Thomas Arnhold tho...@arnhold.org Date: Thu Mar 27 17:48:36 2014 +0100 remove PROFILE checks never defined, follow-up of 512de6e75d34d2144392d1e78c25446f2d0b3a35 diff --git a/store/workben/t_store.cxx b/store/workben/t_store.cxx index 160d3d8..25ce3f7 100644 --- a/store/workben/t_store.cxx +++ b/store/workben/t_store.cxx @@ -334,9 +334,7 @@ int SAL_CALL main (int argc, char **argv) pBuffer[_DEMOSTOR_BUFSIZ - 1] = '\0'; // Load/Save. -#ifndef PROFILE OTime aStartTime (OTime::getSystemTime()); -#endif /* PROFILE */ for (int i = 0; i _DEMOSTOR_LOOPS; i++) { @@ -401,7 +399,6 @@ int SAL_CALL main (int argc, char **argv) aStream.close(); -#ifndef PROFILE if (((i + 1) % (_DEMOSTOR_LOOPS/10)) == 0) { OTime aDelta (OTime::getSystemTime() - aStartTime); @@ -412,17 +409,14 @@ int SAL_CALL main (int argc, char **argv) printf (%d: %12.4g[usec]\n, (i+1), (double)(nDelta)/(double)(i+1)); } -#endif /* PROFILE */ } -#ifndef PROFILE OTime aDelta (OTime::getSystemTime() - aStartTime); sal_uInt32 nDelta = aDelta.Seconds * 100; nDelta += (aDelta.Nanosec / 1000); printf (Total(rd,wr): %d[usec]\n, (unsigned int)(nDelta)); -#endif /* PROFILE */ } // Link/Rename. @@ -478,9 +472,7 @@ int SAL_CALL main (int argc, char **argv) // Directory iteration. if (nOptions OPTION_ITER) { -#ifndef PROFILE OTime aStartTime (OTime::getSystemTime()); -#endif /* PROFILE */ OUString aEmpty; // Root directory. @@ -519,14 +511,12 @@ int SAL_CALL main (int argc, char **argv) printf (Error: can't open directory: \/\\n); } -#ifndef PROFILE OTime aDelta (OTime::getSystemTime() - aStartTime); sal_uInt32 nDelta = aDelta.Seconds * 100; nDelta += (aDelta.Nanosec / 1000); printf (Total(iter): %d[usec]\n, (unsigned int)(nDelta)); -#endif /* PROFILE */ } if (nOptions OPTION_PAUSE) @@ -544,14 +534,12 @@ int SAL_CALL main (int argc, char **argv) // Done. aFile.close(); -#ifndef PROFILE OTime aDelta (OTime::getSystemTime() - aMainStartTime); sal_uInt32 nDelta = aDelta.Seconds * 100; nDelta += (aDelta.Nanosec / 1000); printf (Total: %d[usec]\n, (unsigned int)(nDelta)); -#endif /* PROFILE */ return 0; } ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: sw/qa sw/source
sw/qa/extras/ww8import/data/bordercolours.doc |binary sw/qa/extras/ww8import/ww8import.cxx | 116 ++ sw/source/filter/ww8/ww8par6.cxx | 22 +++- 3 files changed, 132 insertions(+), 6 deletions(-) New commits: commit 92ad689bcb3ad16bd35302e6ff4ee45b872c05a0 Author: Luke Deller l...@deller.id.au Date: Wed Mar 26 21:58:19 2014 +1100 Unit test for .doc import of full colour borders This test exercises the import component of commit ad51d4952dc30e0d1cdcc6037556cd7c66a61542 which adds support for full colour borders in .doc import/export. Also this test showed that page border import was not actually covered by ad51d4952dc30e0d1cdcc6037556cd7c66a61542, so that omission is fixed here. Change-Id: I6272e9b22415b5af012145e99360c5765d5aec60 Reviewed-on: https://gerrit.libreoffice.org/8759 Tested-by: Michael Stahl mst...@redhat.com Reviewed-by: Michael Stahl mst...@redhat.com diff --git a/sw/qa/extras/ww8import/data/bordercolours.doc b/sw/qa/extras/ww8import/data/bordercolours.doc new file mode 100755 index 000..c442223 Binary files /dev/null and b/sw/qa/extras/ww8import/data/bordercolours.doc differ diff --git a/sw/qa/extras/ww8import/ww8import.cxx b/sw/qa/extras/ww8import/ww8import.cxx index 17296e4..861a960 100644 --- a/sw/qa/extras/ww8import/ww8import.cxx +++ b/sw/qa/extras/ww8import/ww8import.cxx @@ -12,6 +12,7 @@ #include com/sun/star/table/BorderLine2.hpp #include com/sun/star/table/TableBorder.hpp +#include com/sun/star/table/TableBorder2.hpp #include com/sun/star/text/XDependentTextField.hpp #include com/sun/star/text/XTextFramesSupplier.hpp #include com/sun/star/text/XTextTablesSupplier.hpp @@ -256,6 +257,121 @@ DECLARE_WW8IMPORT_TEST(testCp139, cp139.doc) CPPUNIT_ASSERT_EQUAL(sal_Int16(RTL_TEXTENCODING_DONTKNOW), getPropertysal_Int16(getRun(getParagraph(1), 1), CharFontCharSet)); } +DECLARE_WW8IMPORT_TEST(testBorderColours, bordercolours.doc) +{ +// The following 6 colours can only be represented with WW9 (Word 2000) +// BRC (BoRder Control) structures. We can tell that they have been +// exported/imported using a WW8 (Word '97) BRC if they instead come +// through as one of the 16 colours listed at this link: +// http://msdn.microsoft.com/en-us/library/dd773060.aspx +table::BorderLine2 expectedTop(0xFA670C, 0, 53, 0, 1, 53); +table::BorderLine2 expectedLeft(0xD99594, 0, 79, 0, 0, 79); +table::BorderLine2 expectedRight(0xB2A1C7, 53, 53, 53, 3, 159); +table::BorderLine2 expectedBottom(0xB6DDE8, 0, 106, 0, 14, 106); +table::BorderLine2 expectedDashedRed(0xFA670C, 0, 53, 0, 2, 53); +table::BorderLine2 expectedDoubleGreen(0xC2D69B, 26, 106, 26, 4, 159); + +// Paragraph border +uno::Referencetext::XBookmarksSupplier bookmarksSupplier(mxComponent, +uno::UNO_QUERY); +uno::Referencecontainer::XNameAccess bookmarks( +bookmarksSupplier-getBookmarks(), uno::UNO_QUERY); +uno::Referencetext::XTextContent bookmark( +bookmarks-getByName(ParagraphBorder), uno::UNO_QUERY); +uno::Referencetext::XTextRange anchor(bookmark-getAnchor()); +table::BorderLine2 border; +border = getPropertytable::BorderLine2(anchor, TopBorder); +CPPUNIT_ASSERT_BORDER_EQUAL(expectedTop, border); +border = getPropertytable::BorderLine2(anchor, LeftBorder); +CPPUNIT_ASSERT_BORDER_EQUAL(expectedLeft, border); +border = getPropertytable::BorderLine2(anchor, RightBorder); +CPPUNIT_ASSERT_BORDER_EQUAL(expectedRight, border); +border = getPropertytable::BorderLine2(anchor, BottomBorder); +CPPUNIT_ASSERT_BORDER_EQUAL(expectedBottom, border); + +// Page border +OUString pageStyleName = getPropertyOUString(anchor, PageStyleName); +uno::Referencestyle::XStyle pageStyle( +getStyles(PageStyles)-getByName(pageStyleName), uno::UNO_QUERY); +border = getPropertytable::BorderLine2(pageStyle, TopBorder); +CPPUNIT_ASSERT_BORDER_EQUAL(expectedTop, border); +border = getPropertytable::BorderLine2(pageStyle, LeftBorder); +CPPUNIT_ASSERT_BORDER_EQUAL(expectedLeft, border); +border = getPropertytable::BorderLine2(pageStyle, RightBorder); +CPPUNIT_ASSERT_BORDER_EQUAL(expectedRight, border); +border = getPropertytable::BorderLine2(pageStyle, BottomBorder); +CPPUNIT_ASSERT_BORDER_EQUAL(expectedBottom, border); + +// Character border +bookmark.set(bookmarks-getByName(CharBorder), uno::UNO_QUERY); +anchor = bookmark-getAnchor(); +border = getPropertytable::BorderLine2(anchor, CharTopBorder); +CPPUNIT_ASSERT_BORDER_EQUAL(expectedTop, border); +border = getPropertytable::BorderLine2(anchor, CharLeftBorder); +CPPUNIT_ASSERT_BORDER_EQUAL(expectedTop, border); +border = getPropertytable::BorderLine2(anchor, CharRightBorder); +CPPUNIT_ASSERT_BORDER_EQUAL(expectedTop, border); +border = getPropertytable::BorderLine2(anchor,
[Libreoffice-commits] core.git: include/svl svl/CppunitTest_svl_inetcontenttype.mk svl/Module_svl.mk svl/qa svl/source
include/svl/inettype.hxx | 26 ++--- svl/CppunitTest_svl_inetcontenttype.mk | 30 ++ svl/Module_svl.mk |1 svl/qa/unit/test_INetContentType.cxx | 92 + svl/source/misc/inettype.cxx | 70 - 5 files changed, 185 insertions(+), 34 deletions(-) New commits: commit c36daa01f444ebad799c1cc7a106f1b4bb3c3d12 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Mar 27 18:05:51 2014 +0100 Introduce INetContentType::scan ...for use in https://gerrit.libreoffice.org/#/c/8737/ new methodINetURLObject::getData() for data urls. Change-Id: Id381d7c328153fbea44c0efb80532b2961c6c2b7 diff --git a/include/svl/inettype.hxx b/include/svl/inettype.hxx index a69572b..b09261eb 100644 --- a/include/svl/inettype.hxx +++ b/include/svl/inettype.hxx @@ -253,8 +253,9 @@ public: /** Parse the body of an RFC 2045 Content-Type header field. -@param rMediaType The body of the Content-Type header field. It must -be of the form +@param pBegin The range (that must be valid) from non-null pBegin, +inclusive. to non-null pEnd, exclusive, forms the body of the +Content-Type header field. It must be of the form token / token *(; token = (token / quoted-string)) @@ -263,21 +264,28 @@ public: should be US-ASCII, but any Unicode values in the range U+0080..U+ are interpretet 'as appropriate.' -@param rType Returns the type (the first of the above tokens), in US- -ASCII encoding and converted to lower case. - -@param rSubType Returns the sub type (the second of the above +@param pType If not null, returns the type (the first of the above tokens), in US-ASCII encoding and converted to lower case. -@param rParameters If not null, returns the parameters as a list of +@param pSubType If not null, returns the sub-type (the second of the +above tokens), in US-ASCII encoding and converted to lower case. + +@param pParameters If not null, returns the parameters as a list of INetContentTypeParameters (the attributes are in US-ASCII encoding and converted to lower case, the values are in Unicode encoding). If null, only the syntax of the parameters is checked, but they are not returned. -@return True if the syntax of the field body is correct. If false is -returned, none of the output parameters will be modified! +@return Null if the syntax of the field body is incorrect (i.e., does +not start with type and sub-type tokens). Otherwise, a pointer past the +longest valid input prefix. If null is returned, none of the output +parameters will be modified. */ +static sal_Unicode const * scan( +sal_Unicode const *pBegin, sal_Unicode const * pEnd, +OUString * pType = 0, OUString * pSubType = 0, +INetContentTypeParameterList * pParameters = 0); + static bool parse(OUString const rMediaType, OUString rType, OUString rSubType, INetContentTypeParameterList * pParameters = 0); diff --git a/svl/CppunitTest_svl_inetcontenttype.mk b/svl/CppunitTest_svl_inetcontenttype.mk new file mode 100644 index 000..30cd296 --- /dev/null +++ b/svl/CppunitTest_svl_inetcontenttype.mk @@ -0,0 +1,30 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_CppunitTest_CppunitTest,svl_inetcontenttype)) + +$(eval $(call gb_CppunitTest_add_exception_objects,svl_inetcontenttype, \ +svl/qa/unit/test_INetContentType \ +)) + +$(eval $(call gb_CppunitTest_use_api,svl_inetcontenttype, \ +udkapi \ +)) + +$(eval $(call gb_CppunitTest_use_externals,svl_inetcontenttype, \ +boost_headers \ +)) + +$(eval $(call gb_CppunitTest_use_libraries,svl_inetcontenttype, \ +sal \ +svl \ +tl \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/svl/Module_svl.mk b/svl/Module_svl.mk index 2e5e6a0..f52c7a4 100644 --- a/svl/Module_svl.mk +++ b/svl/Module_svl.mk @@ -32,6 +32,7 @@ $(eval $(call gb_Module_add_l10n_targets,svl,\ $(eval $(call gb_Module_add_check_targets,svl,\ CppunitTest_svl_lngmisc \ CppunitTest_svl_qa_cppunit \ + CppunitTest_svl_inetcontenttype \ CppunitTest_svl_items \ )) diff --git a/svl/qa/unit/test_INetContentType.cxx b/svl/qa/unit/test_INetContentType.cxx new file mode 100644 index 000..a2ce362 --- /dev/null +++ b/svl/qa/unit/test_INetContentType.cxx @@ -0,0 +1,92 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
[Libreoffice-commits] core.git: compilerplugins/clang
compilerplugins/clang/saloverride.cxx | 158 ++ 1 file changed, 158 insertions(+) New commits: commit 8e5f5d3eb5598bbebcdd4b6536d8af6f0e96b039 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Mar 27 18:24:44 2014 +0100 Plugin to warn about/fix verriding functions not marked SAL_OVERRIDE Change-Id: I1d49aa9ad238cd5bd2e04479c2eb916f010417df diff --git a/compilerplugins/clang/saloverride.cxx b/compilerplugins/clang/saloverride.cxx new file mode 100644 index 000..f37e915 --- /dev/null +++ b/compilerplugins/clang/saloverride.cxx @@ -0,0 +1,158 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#include algorithm +#include cassert +#include limits +#include set + +#include clang/AST/Attr.h + +#include compat.hxx +#include plugin.hxx + +namespace { + +class SalOverride: +public RecursiveASTVisitorSalOverride, public loplugin::RewritePlugin +{ +public: +explicit SalOverride(InstantiationData const data): RewritePlugin(data) {} + +virtual void run() override +{ TraverseDecl(compiler.getASTContext().getTranslationUnitDecl()); } + +bool VisitCXXMethodDecl(CXXMethodDecl const * decl); + +private: +std::setSourceLocation insertions_; +}; + +bool SalOverride::VisitCXXMethodDecl(CXXMethodDecl const * decl) { +// As a heuristic, ignore declarations where the name is spelled out in an +// ignored location; that e.g. handles uses of the Q_OBJECT macro from +// external QtCore/qobjectdefs.h: +if (ignoreLocation(decl) || !compat::isFirstDecl(*decl) +|| decl-begin_overridden_methods() == decl-end_overridden_methods() +|| decl-hasAttrOverrideAttr() || isaCXXDestructorDecl(decl) +|| ignoreLocation( +compiler.getSourceManager().getSpellingLoc( +decl-getNameInfo().getLoc( +{ +return true; +} +#if LO_COMPILERPLUGINS_CLANG_COMPAT_HAVE_isAtEndOfImmediateMacroExpansion +if (rewriter != nullptr) { +// In void MACRO(...); getSourceRange().getEnd() would (erroneously?) +// point at MACRO rather than ), so make the loop always terminate +// at the first ; or { instead of getSourceRange().getEnd(): +unsigned parens = 0; +bool seenSpace = false; +//TODO: Whether to add a space after the inserted SAL_OVERRIDE should +// depend on the following token at the spelling location where +// SAL_OVERRIDE is inserted, not on the following token in the fully- +// macro-expanded view: +bool addSpace; +SourceLocation loc; +for (SourceLocation l(decl-getSourceRange().getBegin());;) { +SourceLocation sl(compiler.getSourceManager().getSpellingLoc(l)); +unsigned n = Lexer::MeasureTokenLength( +sl, compiler.getSourceManager(), compiler.getLangOpts()); +StringRef s(compiler.getSourceManager().getCharacterData(sl), n); +//TODO: Looks like a Clang bug that in some cases like +// (filter/source/svg/svgexport.cxx) +// +// #define TEXT_FIELD_GET_CLASS_NAME_METHOD( class_name ) \ +// virtual OUString getClassName() const \ +// { \ +// static const char className[] = #class_name; \ +// return OUString( className ); \ +// } +// +// TEXT_FIELD_GET_CLASS_NAME_METHOD( TextField ) +// +// where \NL is followed directly by a real token without +// intervening whitespace, tokens \NLvirtual and \NL{ are +// reported: +if (s.startswith(\\\n)) { +s = s.drop_front(2); +} +if (parens == 0) { +if (s == = || s == {) { +if (!seenSpace) { +addSpace = true; +} +break; +} +if (s == ;) { +break; +} +} +if (s == () { +assert(parens std::numeric_limitsunsigned::max()); +++parens; +} else if (s == )) { +assert(parens != 0); +--parens; +} +if (s.empty()) { +if (!seenSpace) { +addSpace = false; +} +seenSpace = true; +} else if (s.startswith(/*) || s.startswith(//) || s == \\) { +if (!seenSpace) { +addSpace = true; +} +
[Libreoffice-commits] core.git: Branch 'private/kohei/new-chart-type-skeleton' - chart2/inc chart2/source
chart2/inc/unonames.hxx| 18 ++ chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx|5 +- chart2/source/controller/dialogs/ChartTypeDialogController.cxx |5 +- chart2/source/controller/dialogs/tp_ChartType.cxx | 13 +++ chart2/source/model/main/Diagram.cxx |6 ++- chart2/source/model/template/GL3DBarChartType.cxx |3 + chart2/source/view/main/ChartView.cxx |5 +- 7 files changed, 40 insertions(+), 15 deletions(-) New commits: commit 00a5d674b938512ff85dd7bdc83c70060d51ea07 Author: Kohei Yoshida kohei.yosh...@collabora.com Date: Thu Mar 27 13:47:15 2014 -0400 Start using common symbols for textural UNO property names. This will make it easier to track all uses of a UNO property name using symbol database lookup, which is much faster and more accurate than grepping. Change-Id: I8c2857504c29bcce01eb8c1f406dcbfb24331510 diff --git a/chart2/inc/unonames.hxx b/chart2/inc/unonames.hxx new file mode 100644 index 000..6f800f8 --- /dev/null +++ b/chart2/inc/unonames.hxx @@ -0,0 +1,18 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef CHART2_UNONAMES_HXX +#define CHART2_UNONAMES_HXX + +#define CHART_UNONAME_SORT_BY_XVALUES SortByXValues +#define CHART_UNONAME_ROUNDED_EDGE RoundedEdge + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx index a10ee39..01075fc 100644 --- a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx @@ -47,6 +47,7 @@ #include comphelper/InlineContainer.hxx #include WrappedAutomaticPositionProperties.hxx #include CommonConverters.hxx +#include unonames.hxx #include com/sun/star/beans/PropertyAttribute.hpp #include com/sun/star/chart2/XTitled.hpp @@ -230,7 +231,7 @@ void lcl_AddPropertiesToVector( //new for XY charts rOutProperties.push_back( -Property( SortByXValues, +Property( CHART_UNONAME_SORT_BY_XVALUES, PROP_DIAGRAM_SORT_BY_X_VALUES, ::getBooleanCppuType(), beans::PropertyAttribute::BOUND @@ -447,7 +448,7 @@ void lcl_AddPropertiesToVector( | beans::PropertyAttribute::MAYBEVOID )); rOutProperties.push_back( - Property( RoundedEdge, + Property( CHART_UNONAME_ROUNDED_EDGE, PROP_DIAGRAM_ROUNDED_EDGE, ::getCppuBooleanType(), beans::PropertyAttribute::BOUND diff --git a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx index 4ade1fd..031c468 100644 --- a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx +++ b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx @@ -27,6 +27,7 @@ #include DiagramHelper.hxx #include ControllerLockGuard.hxx #include AxisHelper.hxx +#include unonames.hxx #include com/sun/star/chart2/DataPointGeometry3D.hpp #include com/sun/star/chart2/PieChartOffsetMode.hpp @@ -341,8 +342,8 @@ bool ChartTypeDialogController::commitToModel( const ChartTypeParameter rParame uno::Referencebeans::XPropertySet xDiaProp(xDiagram, uno::UNO_QUERY); if (xDiaProp.is()) { -xDiaProp-setPropertyValue(SortByXValues , uno::makeAny(rParameter.bSortByXValues)); -xDiaProp-setPropertyValue(RoundedEdge, uno::makeAny(rParameter.mbRoundedEdge)); +xDiaProp-setPropertyValue(CHART_UNONAME_SORT_BY_XVALUES, uno::makeAny(rParameter.bSortByXValues)); +xDiaProp-setPropertyValue(CHART_UNONAME_ROUNDED_EDGE, uno::makeAny(rParameter.mbRoundedEdge)); } } return false; diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx b/chart2/source/controller/dialogs/tp_ChartType.cxx index ab7f525..c7bed9a 100644 --- a/chart2/source/controller/dialogs/tp_ChartType.cxx +++ b/chart2/source/controller/dialogs/tp_ChartType.cxx @@ -26,6 +26,7 @@ #include ControllerLockGuard.hxx #include macros.hxx #include GL3DBarChartDialogController.hxx +#include unonames.hxx #include svtools/controldims.hrc @@ -832,8 +833,8 @@ void ChartTypeTabPage::stateChanged( ChangingResource* /*pResource*/ ) try { uno::Referencebeans::XPropertySet xPropSet(xDiagram, uno::UNO_QUERY_THROW); -xPropSet-getPropertyValue(SortByXValues) = aParameter.bSortByXValues; -
[Libreoffice-commits] core.git: Branch 'aoo/trunk' - 2 commits - readlicense_oo/docs vcl/win
readlicense_oo/docs/readme/readme.xrm |2 +- vcl/win/source/gdi/winlayout.cxx | 17 - 2 files changed, 13 insertions(+), 6 deletions(-) New commits: commit cc82ca40b8e59299c58eaa1459ca9330d75f4b8c Author: Jürgen Schmidt j...@apache.org Date: Thu Mar 27 16:37:47 2014 + #124311# merge fix from aoo410 branch, correct system requiremnts in readme, new 10.7 (Lion) diff --git a/readlicense_oo/docs/readme/readme.xrm b/readlicense_oo/docs/readme/readme.xrm index d2f34e8..333a2f9 100644 --- a/readlicense_oo/docs/readme/readme.xrm +++ b/readlicense_oo/docs/readme/readme.xrm @@ -55,7 +55,7 @@ div class=MAC id=SystemRequirements_OSX ul li - p id=macxiOSX xml:lang=en-USMacOSX 10.4 (Tiger) or higher/p + p id=macxiOSX xml:lang=en-USMacOSX 10.7 (Lion) or higher/p /li li commit 913f1fc4b1362f6e91595af5ae10c4cba79fd355 Author: Herbert Dürr h...@apache.org Date: Thu Mar 27 16:07:37 2014 + #i124516# handle bad surrogate pairs gracefully on Windows When running into invalid Unicode surrogate pairs the text layout code on Windows ran into massive problems like crashes. This change detects the situation of an invalid surrogate pair and falls back to treat it as a simple character instead of requesting a complex glyph fallback. diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx index 7fab929..51db718 100644 --- a/vcl/win/source/gdi/winlayout.cxx +++ b/vcl/win/source/gdi/winlayout.cxx @@ -415,12 +415,19 @@ bool SimpleWinLayout::LayoutText( ImplLayoutArgs rArgs ) bool bSurrogate = ((nCharCode = 0xD800) (nCharCode = 0xDFFF)); if( bSurrogate ) { -if( nCharCode = 0xDC00 ) // this part of a surrogate pair was already processed +// ignore high surrogates, they were already processed with their low surrogates +if( nCharCode = 0xDC00 ) continue; -nCharCode = 0x1 + ((pCodes[0] - 0xD800) 10) + (pCodes[1] - 0xDC00); -} +// check the second half of the surrogate pair +bSurrogate = (0xDC00 = pCodes[1]) (pCodes[1] = 0xDFFF); +// calculate the UTF-32 code of valid surrogate pairs +if( bSurrogate ) +nCharCode = 0x1 + ((pCodes[0] - 0xD800) 10) + (pCodes[1] - 0xDC00); +else // or fall back to a replacement character +nCharCode = '?'; +} -// get the advance width for the current UCS-4 code point +// get the advance width for the current UTF-32 code point int nGlyphWidth = mrWinFontEntry.GetCachedGlyphWidth( nCharCode ); if( nGlyphWidth == -1 ) { @@ -438,7 +445,7 @@ bool SimpleWinLayout::LayoutText( ImplLayoutArgs rArgs ) mpGlyphAdvances[ i ] = nGlyphWidth; mnWidth += nGlyphWidth; -// remaining codes of surrogate pair get a zero width +// the second half of surrogate pair gets a zero width if( bSurrogate ((i+1) mnGlyphCount) ) mpGlyphAdvances[ i+1 ] = 0; ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: 3 commits - dbaccess/source tools/source vcl/inc
dbaccess/source/core/inc/tablecontainer.hxx |4 dbaccess/source/core/inc/viewcontainer.hxx |4 tools/source/generic/poly.cxx | 30 ++ vcl/inc/osx/saltimer.h |4 vcl/inc/quartz/salbmp.h | 22 ++-- vcl/inc/quartz/salgdi.h | 128 ++-- vcl/inc/quartz/salvd.h |8 - 7 files changed, 98 insertions(+), 102 deletions(-) New commits: commit a7458fba26db19f04b72ba6bb2da2215e523c20e Author: Stephan Bergmann sberg...@redhat.com Date: Thu Mar 27 19:12:24 2014 +0100 Work around MSC 'override' cannot be used with 'inline' bug Change-Id: I4aeccc3957048a40e705654bf6b9972cc03648b6 diff --git a/dbaccess/source/core/inc/tablecontainer.hxx b/dbaccess/source/core/inc/tablecontainer.hxx index f2d5198..ed41344 100644 --- a/dbaccess/source/core/inc/tablecontainer.hxx +++ b/dbaccess/source/core/inc/tablecontainer.hxx @@ -63,8 +63,8 @@ namespace dbaccess virtual void SAL_CALL disposing() SAL_OVERRIDE; -inline virtual void SAL_CALL acquire() throw() SAL_OVERRIDE { OFilteredContainer::acquire();} -inline virtual void SAL_CALL release() throw() SAL_OVERRIDE { OFilteredContainer::release();} +virtual void SAL_CALL acquire() throw() SAL_OVERRIDE { OFilteredContainer::acquire();} +virtual void SAL_CALL release() throw() SAL_OVERRIDE { OFilteredContainer::release();} // ::com::sun::star::lang::XServiceInfo DECLARE_SERVICE_INFO(); diff --git a/dbaccess/source/core/inc/viewcontainer.hxx b/dbaccess/source/core/inc/viewcontainer.hxx index f17ef92..bde6ad2 100644 --- a/dbaccess/source/core/inc/viewcontainer.hxx +++ b/dbaccess/source/core/inc/viewcontainer.hxx @@ -74,8 +74,8 @@ namespace dbaccess virtual OUString getTableTypeRestriction() const SAL_OVERRIDE; private: -inline virtual void SAL_CALL acquire() throw() SAL_OVERRIDE { OFilteredContainer::acquire();} -inline virtual void SAL_CALL release() throw() SAL_OVERRIDE { OFilteredContainer::release();} +virtual void SAL_CALL acquire() throw() SAL_OVERRIDE { OFilteredContainer::acquire();} +virtual void SAL_CALL release() throw() SAL_OVERRIDE { OFilteredContainer::release();} // ::com::sun::star::lang::XServiceInfo DECLARE_SERVICE_INFO(); commit 8e4560e709fb565c69f1950387a812e543d98e22 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Mar 27 19:11:21 2014 +0100 SAL_OVERRIDE, Mac OS X vcl redux Change-Id: I25f2a79efff7b77651f7cd6c658269e9411c3bdd diff --git a/vcl/inc/osx/saltimer.h b/vcl/inc/osx/saltimer.h index 993a2ef..4e5a91a 100644 --- a/vcl/inc/osx/saltimer.h +++ b/vcl/inc/osx/saltimer.h @@ -33,8 +33,8 @@ class AquaSalTimer : public SalTimer AquaSalTimer(); virtual ~AquaSalTimer(); -void Start( sal_uLong nMS ); -void Stop(); +void Start( sal_uLong nMS ) SAL_OVERRIDE; +void Stop() SAL_OVERRIDE; static void handleStartTimerEvent( NSEvent* pEvent ); diff --git a/vcl/inc/quartz/salbmp.h b/vcl/inc/quartz/salbmp.h index 1e946d2..c96257d 100644 --- a/vcl/inc/quartz/salbmp.h +++ b/vcl/inc/quartz/salbmp.h @@ -63,23 +63,23 @@ public: public: // SalBitmap methods -boolCreate( const Size rSize, sal_uInt16 nBitCount, const BitmapPalette rPal ); -boolCreate( const SalBitmap rSalBmp ); -boolCreate( const SalBitmap rSalBmp, SalGraphics* pGraphics ); -boolCreate( const SalBitmap rSalBmp, sal_uInt16 nNewBitCount ); +boolCreate( const Size rSize, sal_uInt16 nBitCount, const BitmapPalette rPal ) SAL_OVERRIDE; +boolCreate( const SalBitmap rSalBmp ) SAL_OVERRIDE; +boolCreate( const SalBitmap rSalBmp, SalGraphics* pGraphics ) SAL_OVERRIDE; +boolCreate( const SalBitmap rSalBmp, sal_uInt16 nNewBitCount ) SAL_OVERRIDE; virtual boolCreate( const ::com::sun::star::uno::Reference ::com::sun::star::rendering::XBitmapCanvas xBitmapCanvas, Size rSize, -bool bMask = false ); +bool bMask = false ) SAL_OVERRIDE; -voidDestroy(); +voidDestroy() SAL_OVERRIDE; -SizeGetSize() const; -sal_uInt16 GetBitCount() const; +SizeGetSize() const SAL_OVERRIDE; +sal_uInt16 GetBitCount() const SAL_OVERRIDE; -BitmapBuffer *AcquireBuffer( bool bReadOnly ); -voidReleaseBuffer( BitmapBuffer* pBuffer, bool bReadOnly ); +BitmapBuffer *AcquireBuffer( bool bReadOnly ) SAL_OVERRIDE; +voidReleaseBuffer( BitmapBuffer* pBuffer, bool bReadOnly ) SAL_OVERRIDE; -boolGetSystemData( BitmapSystemData rData ); +boolGetSystemData( BitmapSystemData rData ) SAL_OVERRIDE; private: // quartz helper
[Libreoffice-commits] core.git: lotuswordpro/source
lotuswordpro/source/filter/lwpparaproperty.hxx | 33 - 1 file changed, 6 insertions(+), 27 deletions(-) New commits: commit e497edc2fa695d71b7f1742c445d2fc9acd308dc Author: Stephan Bergmann sberg...@redhat.com Date: Thu Mar 27 19:31:49 2014 +0100 Work around MSC 'override' cannot be used with 'inline' bug Change-Id: I2ac787ff911ecc37d28fdd2ea0c2a11e31b720fe diff --git a/lotuswordpro/source/filter/lwpparaproperty.hxx b/lotuswordpro/source/filter/lwpparaproperty.hxx index 9675942..5624aeb 100644 --- a/lotuswordpro/source/filter/lwpparaproperty.hxx +++ b/lotuswordpro/source/filter/lwpparaproperty.hxx @@ -175,7 +175,7 @@ class LwpParaBorderProperty : public LwpParaProperty public: LwpParaBorderProperty(LwpObjectStream* pStrm); -inline sal_uInt32 GetType() SAL_OVERRIDE; +sal_uInt32 GetType() SAL_OVERRIDE { return PP_LOCAL_BORDER; } inline LwpParaBorderOverride* GetLocalParaBorder(); @@ -188,17 +188,12 @@ inline LwpParaBorderOverride* LwpParaBorderProperty::GetLocalParaBorder() return m_pParaBorderOverride; } -inline sal_uInt32 LwpParaBorderProperty::GetType() -{ -return PP_LOCAL_BORDER; -} - class LwpParaBreaksProperty : public LwpParaProperty { public: LwpParaBreaksProperty(LwpObjectStream* pStrm); -inline sal_uInt32 GetType() SAL_OVERRIDE; +sal_uInt32 GetType() SAL_OVERRIDE { return PP_LOCAL_BREAKS; } inline LwpBreaksOverride* GetLocalParaBreaks(); @@ -207,10 +202,6 @@ private: }; -inline sal_uInt32 LwpParaBreaksProperty::GetType() -{ -return PP_LOCAL_BREAKS; -} inline LwpBreaksOverride* LwpParaBreaksProperty::GetLocalParaBreaks() { return m_pBreaks; @@ -223,7 +214,7 @@ public: virtual ~LwpParaBulletProperty(); -inline sal_uInt32 GetType() SAL_OVERRIDE; +sal_uInt32 GetType() SAL_OVERRIDE { return PP_LOCAL_BULLET; } inline LwpBulletOverride* GetLocalParaBullet(); @@ -231,10 +222,6 @@ private: LwpBulletOverride* m_pBullet; }; -inline sal_uInt32 LwpParaBulletProperty::GetType() -{ -return PP_LOCAL_BULLET; -} inline LwpBulletOverride* LwpParaBulletProperty::GetLocalParaBullet() { return m_pBullet; @@ -245,16 +232,13 @@ class LwpParaNumberingProperty : public LwpParaProperty public: LwpParaNumberingProperty(LwpObjectStream* pStrm); -inline sal_uInt32 GetType() SAL_OVERRIDE; +sal_uInt32 GetType() SAL_OVERRIDE { return PP_LOCAL_NUMBERING; } inline LwpNumberingOverride* GetLocalNumbering() const; private: LwpNumberingOverride* m_pNumberingOverride; }; -inline sal_uInt32 LwpParaNumberingProperty::GetType() -{ -return PP_LOCAL_NUMBERING; -} + inline LwpNumberingOverride* LwpParaNumberingProperty::GetLocalNumbering() const { return m_pNumberingOverride; @@ -265,7 +249,7 @@ class LwpParaTabRackProperty : public LwpParaProperty public: LwpParaTabRackProperty(LwpObjectStream* pStrm); ~LwpParaTabRackProperty(void); -inline sal_uInt32 GetType() SAL_OVERRIDE; +sal_uInt32 GetType() SAL_OVERRIDE { return PP_LOCAL_TABRACK; } inline LwpTabOverride* GetTab(); @@ -278,11 +262,6 @@ inline LwpTabOverride* LwpParaTabRackProperty::GetTab() return m_pTabOverride; } -inline sal_uInt32 LwpParaTabRackProperty::GetType(void) -{ -return PP_LOCAL_TABRACK; -} - class LwpParaBackGroundProperty : public LwpParaProperty { public: ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - sc/source
sc/source/core/tool/addincol.cxx | 16 1 file changed, 12 insertions(+), 4 deletions(-) New commits: commit 4d3553cb4d6a8ad439e36a694e788668b4a6003a Author: Michael Meeks michael.me...@collabora.com Date: Thu Mar 27 09:47:55 2014 + fdo#62155 - don't crash if we can't create an instance of a calc addin. Change-Id: I478d949683a91e7adf9fa6b54e9d01ced676 Reviewed-on: https://gerrit.libreoffice.org/8771 Reviewed-by: Eike Rathke er...@redhat.com Tested-by: Eike Rathke er...@redhat.com diff --git a/sc/source/core/tool/addincol.cxx b/sc/source/core/tool/addincol.cxx index d5c5401..1aa393c 100644 --- a/sc/source/core/tool/addincol.cxx +++ b/sc/source/core/tool/addincol.cxx @@ -602,11 +602,19 @@ void ScUnoAddInCollection::LoadComponent( const ScUnoAddInFuncData rFuncData ) { OUString aServiceName = aFullName.copy( 0, nPos ); -uno::Referencelang::XMultiServiceFactory xServiceFactory = comphelper::getProcessServiceFactory(); -uno::Referenceuno::XInterface xInterface( xServiceFactory-createInstance( aServiceName ) ); +try +{ +uno::Referencelang::XMultiServiceFactory xServiceFactory = comphelper::getProcessServiceFactory(); +uno::Referenceuno::XInterface xInterface( xServiceFactory-createInstance( aServiceName ) ); -if (xInterface.is()) -UpdateFromAddIn( xInterface, aServiceName ); +if (xInterface.is()) +UpdateFromAddIn( xInterface, aServiceName ); +} +catch (const uno::Exception ) +{ +SAL_WARN (sc, Failed to create addin component ' + aServiceName '); +} } } ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: extensions/source
extensions/source/propctrlr/commoncontrol.hxx | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) New commits: commit f7c8d7655f9e90df2ad79a379d3877e22db08f89 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Mar 27 19:59:49 2014 +0100 Work around MSC 'override' cannot be used with 'inline' bug Change-Id: I6eeb47699193ee024e975915011b1c3c5483bf9e diff --git a/extensions/source/propctrlr/commoncontrol.hxx b/extensions/source/propctrlr/commoncontrol.hxx index cc3a81d..8ff593a 100644 --- a/extensions/source/propctrlr/commoncontrol.hxx +++ b/extensions/source/propctrlr/commoncontrol.hxx @@ -205,7 +205,8 @@ namespace pcr inline virtual void SAL_CALL disposing(); // IModifyListener -inline virtual void modified() SAL_OVERRIDE; +virtual void modified() SAL_OVERRIDE +{ m_aImplControl.setModified(); } /// returns a typed pointer to our control window WindowType* getTypedControlWindow() { return static_cast WindowType* ( m_aImplControl.getVclControlWindow() ); } @@ -309,13 +310,6 @@ namespace pcr template class CONTROL_INTERFACE, class CONTROL_WINDOW -inline void CommonBehaviourControl CONTROL_INTERFACE, CONTROL_WINDOW ::modified() -{ -m_aImplControl.setModified(); -} - - -template class CONTROL_INTERFACE, class CONTROL_WINDOW inline void CommonBehaviourControl CONTROL_INTERFACE, CONTROL_WINDOW ::impl_checkDisposed_throw() { if ( ComponentBaseClass::rBHelper.bDisposed ) ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: chart2/source
chart2/source/view/main/3DChartObjects.hxx | 55 + 1 file changed, 55 insertions(+) New commits: commit e691541fb5954f702c36dd0ec94e7c79a9fdb9de Author: Markus Mohrhard markus.mohrh...@collabora.co.uk Date: Thu Mar 27 20:33:13 2014 +0100 add interface for 3D stock type chart in 3D sceen Change-Id: Ia7e17b64ce5f5f2320744618bb3006f4f9c2ab17 diff --git a/chart2/source/view/main/3DChartObjects.hxx b/chart2/source/view/main/3DChartObjects.hxx new file mode 100644 index 000..5851595 --- /dev/null +++ b/chart2/source/view/main/3DChartObjects.hxx @@ -0,0 +1,55 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +namespace chart { + +namespace 3d { + +class Bar +{ +private: +bool mbRoundedCorners; +glm::mat4 maPos; +Color maColor; // RGBA fill color +sal_Int32 nUniqueId; +}: + +class Line +{ +private: +glm::vec3 maPosBegin; +glm::vec3 maPosEnd; +Color maLineColor; // RGBA line color +sal_Int32 nUniqueId; +}: + +class Text +{ +private: +BitmapEx maText; +glm::vec3 maTopLeft; +glm::vec3 maBottomRight; +sal_Int32 nUniqueId; +}; + +class Rectangle +{ +private: +glm::vec3 maTopLeft; +glm::vec3 maBottomRight; +sal_Int32 nUniqueId; +Color maColor; // RGBA fill color +Color maLineColor; // RGBA line color +}; + +} + +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: fpicker/source
fpicker/source/aqua/SalAquaFilePicker.hxx | 46 ++-- fpicker/source/aqua/SalAquaFolderPicker.hxx | 22 ++--- 2 files changed, 34 insertions(+), 34 deletions(-) New commits: commit ba59a951e595bd44754c4e60603b27334bbf9897 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Mar 27 20:54:26 2014 +0100 SAL_OVERRIDE, Mac OS X fpicker redux Change-Id: I02c234f36ed642b63a4a15ac4f865d8926fe081f diff --git a/fpicker/source/aqua/SalAquaFilePicker.hxx b/fpicker/source/aqua/SalAquaFilePicker.hxx index a986176..7932d81 100644 --- a/fpicker/source/aqua/SalAquaFilePicker.hxx +++ b/fpicker/source/aqua/SalAquaFilePicker.hxx @@ -65,92 +65,92 @@ public: virtual void SAL_CALL addFilePickerListener( const ::com::sun::star::uno::Reference ::com::sun::star::ui::dialogs::XFilePickerListener xListener ) -throw( ::com::sun::star::uno::RuntimeException ); +throw( ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; virtual void SAL_CALL removeFilePickerListener( const ::com::sun::star::uno::Reference ::com::sun::star::ui::dialogs::XFilePickerListener xListener ) -throw( ::com::sun::star::uno::RuntimeException ); +throw( ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; // XExecutableDialog functions virtual void SAL_CALL setTitle( const OUString aTitle ) -throw( ::com::sun::star::uno::RuntimeException ); +throw( ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; virtual sal_Int16 SAL_CALL execute( ) -throw( ::com::sun::star::uno::RuntimeException ); +throw( ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; // XFilePicker functions virtual void SAL_CALL setMultiSelectionMode( sal_Bool bMode ) -throw( ::com::sun::star::uno::RuntimeException ); +throw( ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; virtual void SAL_CALL setDefaultName( const OUString aName ) -throw( ::com::sun::star::uno::RuntimeException ); +throw( ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; virtual void SAL_CALL setDisplayDirectory( const OUString aDirectory ) throw( com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::uno::RuntimeException ); + ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; virtual OUString SAL_CALL getDisplayDirectory( ) -throw( ::com::sun::star::uno::RuntimeException ); +throw( ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; virtual ::com::sun::star::uno::Sequence OUString SAL_CALL getFiles( ) -throw( ::com::sun::star::uno::RuntimeException ); +throw( ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; // XFilterManager functions virtual void SAL_CALL appendFilter( const OUString aTitle, const OUString aFilter ) -throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException ); +throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; virtual void SAL_CALL setCurrentFilter( const OUString aTitle ) -throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException ); +throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; virtual OUString SAL_CALL getCurrentFilter( ) -throw( ::com::sun::star::uno::RuntimeException ); +throw( ::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; // XFilterGroupManager functions virtual void SAL_CALL appendFilterGroup( const OUString sGroupTitle, const ::com::sun::star::uno::Sequence ::com::sun::star::beans::StringPair aFilters ) -throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); +throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; // XFilePickerControlAccess functions virtual void SAL_CALL setValue( sal_Int16 nControlId, sal_Int16 nControlAction, const ::com::sun::star::uno::Any aValue ) -throw (::com::sun::star::uno::RuntimeException); +throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; virtual ::com::sun::star::uno::Any SAL_CALL getValue( sal_Int16 aControlId, sal_Int16 aControlAction ) -throw (::com::sun::star::uno::RuntimeException); +throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; virtual void SAL_CALL enableControl( sal_Int16 nControlId, sal_Bool bEnable ) -throw(::com::sun::star::uno::RuntimeException ); +throw(::com::sun::star::uno::RuntimeException ) SAL_OVERRIDE; virtual void SAL_CALL setLabel( sal_Int16 nControlId, const OUString aLabel ) -throw
[Libreoffice-commits] core.git: dbaccess/source
dbaccess/source/ui/app/AppSwapWindow.hxx | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) New commits: commit a7a9e81c772c86dbc8a2a62694a3f7dc23789df3 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Mar 27 20:58:06 2014 +0100 Work around MSC 'override' cannot be used with 'inline' bug Change-Id: I5d2fcf6ba90892abf55cbf61b760c2fbbe33c412 diff --git a/dbaccess/source/ui/app/AppSwapWindow.hxx b/dbaccess/source/ui/app/AppSwapWindow.hxx index dc6a7ec..bc24248 100644 --- a/dbaccess/source/ui/app/AppSwapWindow.hxx +++ b/dbaccess/source/ui/app/AppSwapWindow.hxx @@ -46,13 +46,13 @@ namespace dbaui // window overloads virtual void Resize() SAL_OVERRIDE; -inline sal_Bool isCutAllowed() SAL_OVERRIDE { return sal_False; } -inline sal_Bool isCopyAllowed() SAL_OVERRIDE { return sal_False; } -inline sal_Bool isPasteAllowed() SAL_OVERRIDE{ return sal_False; } +sal_Bool isCutAllowed() SAL_OVERRIDE { return sal_False; } +sal_Bool isCopyAllowed() SAL_OVERRIDE { return sal_False; } +sal_Bool isPasteAllowed() SAL_OVERRIDE{ return sal_False; } virtual sal_Bool hasChildPathFocus() SAL_OVERRIDE { return HasChildPathFocus(); } -inline void copy() SAL_OVERRIDE { } -inline void cut() SAL_OVERRIDE { } -inline void paste() SAL_OVERRIDE { } +void copy() SAL_OVERRIDE { } +void cut() SAL_OVERRIDE { } +void paste() SAL_OVERRIDE { } inline sal_uLongGetEntryCount() const { return m_aIconControl.GetEntryCount(); } inline SvxIconChoiceCtrlEntry* GetEntry( sal_uLong nPos ) const { return m_aIconControl.GetEntry(nPos); } ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: sfx2/source
sfx2/source/appl/shutdowniconaqua.mm |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit e79aa3816892a3055560048c66139f1c4da30bac Author: Stephan Bergmann sberg...@redhat.com Date: Thu Mar 27 21:11:02 2014 +0100 SAL_OVERRIDE, Mac OS X sfx2 redux Change-Id: Ic99184543e2c019e96622e445b56c21760bf025a diff --git a/sfx2/source/appl/shutdowniconaqua.mm b/sfx2/source/appl/shutdowniconaqua.mm index 29cd579..7218061 100644 --- a/sfx2/source/appl/shutdowniconaqua.mm +++ b/sfx2/source/appl/shutdowniconaqua.mm @@ -146,7 +146,7 @@ class RecentFilesStringLength : public ::cppu::WeakImplHelper1 ::com::sun::star // XStringWidth sal_Int32 SAL_CALL queryStringWidth( const ::rtl::OUString aString ) -throw (::com::sun::star::uno::RuntimeException) +throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE { return aString.getLength(); } ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: dbaccess/source
dbaccess/source/ui/inc/WCopyTable.hxx |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit cd648c5a35dc581ef99763159032b3662236db57 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Mar 27 21:12:27 2014 +0100 Work around MSC 'override' cannot be used with 'inline' bug Change-Id: I667f701cdc15471d3b154c3b7e4a23487d540015 diff --git a/dbaccess/source/ui/inc/WCopyTable.hxx b/dbaccess/source/ui/inc/WCopyTable.hxx index 19350f0..49faeff 100644 --- a/dbaccess/source/ui/inc/WCopyTable.hxx +++ b/dbaccess/source/ui/inc/WCopyTable.hxx @@ -65,7 +65,7 @@ namespace dbaui virtual ~TExportColumnFindFunctor() {} -inline bool operator()(const OUString _sColumnName) const SAL_OVERRIDE +bool operator()(const OUString _sColumnName) const SAL_OVERRIDE { return m_pColumns-find(_sColumnName) != m_pColumns-end(); } @@ -85,7 +85,7 @@ namespace dbaui virtual ~TMultiListBoxEntryFindFunctor() {} -inline bool operator()(const OUString _sColumnName) const SAL_OVERRIDE +bool operator()(const OUString _sColumnName) const SAL_OVERRIDE { return ::std::find_if(m_pVector-begin(),m_pVector-end(), ::std::bind2nd(m_aCase, _sColumnName)) != m_pVector-end(); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: slideshow/source
slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.hxx | 30 +- slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm | 10 +-- 2 files changed, 20 insertions(+), 20 deletions(-) New commits: commit 7ebd40d26d8069725ac77760e4324c21523400a2 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Mar 27 21:21:36 2014 +0100 SAL_OVERRIDE, Mac OS X slideshow redux Change-Id: I91d21fa4ebec26eaa59aff93eb730c48b0afad45 diff --git a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.hxx b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.hxx index ecca64f..ef0d6ea 100644 --- a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.hxx +++ b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl.hxx @@ -198,9 +198,9 @@ class Iris : public SceneObject public: Iris (); -virtual void prepare(); -virtual void display(double nTime, double SlideWidth, double SlideHeight, double DispWidth, double DispHeight); -virtual void finish(); +virtual void prepare() SAL_OVERRIDE; +virtual void display(double nTime, double SlideWidth, double SlideHeight, double DispWidth, double DispHeight) SAL_OVERRIDE; +virtual void finish() SAL_OVERRIDE; private: @@ -324,8 +324,8 @@ public: class SRotate: public Operation { public: -void interpolate(double t,double SlideWidthScale,double SlideHeightScale); -virtual SRotate* clone(); +void interpolate(double t,double SlideWidthScale,double SlideHeightScale) SAL_OVERRIDE; +virtual SRotate* clone() SAL_OVERRIDE; /** Constructor @@ -369,8 +369,8 @@ private: class SScale: public Operation { public: -void interpolate(double t,double SlideWidthScale,double SlideHeightScale); -SScale* clone(); +void interpolate(double t,double SlideWidthScale,double SlideHeightScale) SAL_OVERRIDE; +SScale* clone() SAL_OVERRIDE; /** Constructor @@ -402,8 +402,8 @@ private: class STranslate: public Operation { public: -void interpolate(double t,double SlideWidthScale,double SlideHeightScale); -STranslate* clone(); +void interpolate(double t,double SlideWidthScale,double SlideHeightScale) SAL_OVERRIDE; +STranslate* clone() SAL_OVERRIDE; /** Constructor @@ -433,8 +433,8 @@ private: class SEllipseTranslate: public Operation { public: -void interpolate(double t,double SlideWidthScale,double SlideHeightScale); -SEllipseTranslate* clone(); +void interpolate(double t,double SlideWidthScale,double SlideHeightScale) SAL_OVERRIDE; +SEllipseTranslate* clone() SAL_OVERRIDE; /** Constructor @@ -469,8 +469,8 @@ private: class RotateAndScaleDepthByWidth: public Operation { public: -void interpolate(double t,double SlideWidthScale,double SlideHeightScale); -RotateAndScaleDepthByWidth* clone(); +void interpolate(double t,double SlideWidthScale,double SlideHeightScale) SAL_OVERRIDE; +RotateAndScaleDepthByWidth* clone() SAL_OVERRIDE; RotateAndScaleDepthByWidth(const basegfx::B3DVector Axis,const basegfx::B3DVector Origin,double Angle,bool bInter, double T0, double T1); ~RotateAndScaleDepthByWidth(){} @@ -485,8 +485,8 @@ private: class RotateAndScaleDepthByHeight: public Operation { public: -void interpolate(double t,double SlideWidthScale,double SlideHeightScale); -RotateAndScaleDepthByHeight* clone(); +void interpolate(double t,double SlideWidthScale,double SlideHeightScale) SAL_OVERRIDE; +RotateAndScaleDepthByHeight* clone() SAL_OVERRIDE; RotateAndScaleDepthByHeight(const basegfx::B3DVector Axis,const basegfx::B3DVector Origin,double Angle,bool bInter, double T0, double T1); ~RotateAndScaleDepthByHeight(){} diff --git a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm index d4903961..47cdb2d 100644 --- a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm +++ b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm @@ -151,18 +151,18 @@ public: // XTransition virtual void SAL_CALL update( double nTime ) -throw (uno::RuntimeException); +throw (uno::RuntimeException) SAL_OVERRIDE; virtual void SAL_CALL viewChanged( const Reference presentation::XSlideShowView rView, const Reference rendering::XBitmap rLeavingBitmap, const Reference rendering::XBitmap rEnteringBitmap ) -throw (uno::RuntimeException); +throw (uno::RuntimeException) SAL_OVERRIDE; protected: void disposeContextAndWindow(); void disposeTextures(); // WeakComponentImplHelperBase -virtual void SAL_CALL disposing(); +virtual void SAL_CALL disposing() SAL_OVERRIDE; bool isDisposed() const { @@ -929,7 +929,7 @@ public: {} // XTransitionFactory -virtual ::sal_Bool SAL_CALL hasTransition( ::sal_Int16 transitionType, ::sal_Int16
[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sw/qa writerfilter/source
dev/null |binary sw/qa/extras/ooxmlimport/ooxmlimport.cxx | 16 -- writerfilter/source/dmapper/DomainMapperTableHandler.cxx | 24 +++ writerfilter/source/dmapper/TablePropertiesHandler.cxx |4 +- 4 files changed, 14 insertions(+), 30 deletions(-) New commits: commit cc6f1c8e972687bd43f0fab083a4aae6de6b0e0d Author: LuboÅ¡ LuÅák l.lu...@collabora.com Date: Wed Mar 26 17:39:25 2014 +0100 Revert rhbz#1075124: writerfilter: fix tables with negative left margin It appears that this was just a workaround that incidentally worked. Making the negative value even larger (in abs value) doesn't seem to make a difference for MSO, but LO fails again. A proper fix (better workaround?) will follow. This reverts commit 2e558f32ef79948858723b9781fbd388850b462b. Change-Id: I56fd5e9d7ce9aa178f7e508f8e7ac3bc0ff2b971 Reviewed-on: https://gerrit.libreoffice.org/8763 Reviewed-by: Tor Lillqvist t...@collabora.com Reviewed-by: Miklos Vajna vmik...@collabora.co.uk Tested-by: Miklos Vajna vmik...@collabora.co.uk diff --git a/sw/qa/extras/ooxmlimport/data/rhbz1075124.docx b/sw/qa/extras/ooxmlimport/data/rhbz1075124.docx deleted file mode 100644 index 3b31701..000 Binary files a/sw/qa/extras/ooxmlimport/data/rhbz1075124.docx and /dev/null differ diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx index ab7404f..1c8665b 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx @@ -40,7 +40,6 @@ #include com/sun/star/view/XFormLayerAccess.hpp #include com/sun/star/table/BorderLine2.hpp #include com/sun/star/table/TableBorder2.hpp -#include com/sun/star/table/TableBorderDistances.hpp #include com/sun/star/text/SizeType.hpp #include com/sun/star/xml/dom/XDocument.hpp @@ -202,21 +201,6 @@ DECLARE_OOXMLIMPORT_TEST(testRhbz988516, rhbz988516.docx) getPropertyOUString(getParagraph(3), NumberingStyleName)); } -DECLARE_OOXMLIMPORT_TEST(testRhbz1075124, rhbz1075124.docx) -{ -// negative left margin on table wrapped around to 64k unsigned -uno::Referencetext::XTextTablesSupplier xTablesSupplier(mxComponent, -uno::UNO_QUERY); -uno::Referencecontainer::XIndexAccess xTables( -xTablesSupplier-getTextTables(), uno::UNO_QUERY); -CPPUNIT_ASSERT_EQUAL(sal_Int32(-243), -getPropertysal_Int32(xTables-getByIndex(0), LeftMargin)); -table::TableBorderDistances dists( -getPropertytable::TableBorderDistances(xTables-getByIndex(0), -TableBorderDistances)); -CPPUNIT_ASSERT_EQUAL(sal_Int16(26), dists.LeftDistance); -} - DECLARE_OOXMLIMPORT_TEST(testFdo49940, fdo49940.docx) { uno::Referencetext::XTextDocument xTextDocument(mxComponent, uno::UNO_QUERY); diff --git a/writerfilter/source/dmapper/DomainMapperTableHandler.cxx b/writerfilter/source/dmapper/DomainMapperTableHandler.cxx index 64289c4..0827cc9 100644 --- a/writerfilter/source/dmapper/DomainMapperTableHandler.cxx +++ b/writerfilter/source/dmapper/DomainMapperTableHandler.cxx @@ -406,6 +406,18 @@ TableStyleSheetEntry * DomainMapperTableHandler::endTableGetTableStyle(TableInfo m_aTableProperties-getValue( TablePropertyMap::CELL_MAR_BOTTOM, rInfo.nBottomBorderDistance ); +table::TableBorderDistances aDistances; +aDistances.IsTopDistanceValid = +aDistances.IsBottomDistanceValid = +aDistances.IsLeftDistanceValid = +aDistances.IsRightDistanceValid = sal_True; +aDistances.TopDistance = static_castsal_Int16( rInfo.nTopBorderDistance ); +aDistances.BottomDistance = static_castsal_Int16( rInfo.nBottomBorderDistance ); +aDistances.LeftDistance = static_castsal_Int16( rInfo.nLeftBorderDistance ); +aDistances.RightDistance = static_castsal_Int16( rInfo.nRightBorderDistance ); + +m_aTableProperties-Insert( PROP_TABLE_BORDER_DISTANCES, uno::makeAny( aDistances ) ); + if (rFrameProperties.hasElements()) lcl_DecrementHoriOrientPosition(rFrameProperties, rInfo.nLeftBorderDistance); @@ -465,18 +477,6 @@ TableStyleSheetEntry * DomainMapperTableHandler::endTableGetTableStyle(TableInfo lcl_debug_TableBorder(aTableBorder); #endif -table::TableBorderDistances aDistances; -aDistances.IsTopDistanceValid = -aDistances.IsBottomDistanceValid = -aDistances.IsLeftDistanceValid = -aDistances.IsRightDistanceValid = sal_True; -aDistances.TopDistance = static_castsal_Int16( rInfo.nTopBorderDistance ); -aDistances.BottomDistance = static_castsal_Int16( rInfo.nBottomBorderDistance ); -aDistances.LeftDistance = static_castsal_Int16( rInfo.nLeftBorderDistance ); -aDistances.RightDistance = static_castsal_Int16(
[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - writerfilter/source
writerfilter/source/dmapper/CellMarginHandler.cxx |2 +- writerfilter/source/dmapper/ConversionHelper.cxx | 10 -- writerfilter/source/dmapper/ConversionHelper.hxx |1 + 3 files changed, 10 insertions(+), 3 deletions(-) New commits: commit 4fe112281b30c7ad2a18a15465d316a4e8be588e Author: LuboÅ¡ LuÅák l.lu...@collabora.com Date: Wed Mar 26 17:28:51 2014 +0100 apparently some table .docx properties shouldn't be 0 Somewhat related to 10b4da63e3143108ba75891e9e98fdaa2f7953ab , a similar doc has negative value inside w:tblCellMar, which MSO seems to ignore (altering the value has no visible effect), so ignore it as well. Change-Id: I846e9b55fea0d4e66f03ce615584516360b8b7dd Reviewed-on: https://gerrit.libreoffice.org/8764 Reviewed-by: Tor Lillqvist t...@collabora.com Reviewed-by: Miklos Vajna vmik...@collabora.co.uk Tested-by: Miklos Vajna vmik...@collabora.co.uk diff --git a/writerfilter/source/dmapper/CellMarginHandler.cxx b/writerfilter/source/dmapper/CellMarginHandler.cxx index a74e02b..f4191f8 100644 --- a/writerfilter/source/dmapper/CellMarginHandler.cxx +++ b/writerfilter/source/dmapper/CellMarginHandler.cxx @@ -58,7 +58,7 @@ void CellMarginHandler::lcl_attribute(Id rName, Value rVal) { case NS_ooxml::LN_CT_TblWidth_w: m_nWidth = nIntValue; -m_nValue = ConversionHelper::convertTwipToMM100( nIntValue ); +m_nValue = ConversionHelper::convertTwipToMM100Unsigned( nIntValue ); break; case NS_ooxml::LN_CT_TblWidth_type: OSL_ENSURE( NS_ooxml::LN_Value_ST_TblWidth_dxa == sal::static_int_castId(nIntValue), cell margins work for absolute values, only); diff --git a/writerfilter/source/dmapper/ConversionHelper.cxx b/writerfilter/source/dmapper/ConversionHelper.cxx index d6dba13..7c0c2a1 100644 --- a/writerfilter/source/dmapper/ConversionHelper.cxx +++ b/writerfilter/source/dmapper/ConversionHelper.cxx @@ -226,18 +226,24 @@ OUString ConvertMSFormatStringToSO( } +#define TWIP_TO_MM100(TWIP) ((TWIP) = 0 ? (((TWIP)*127L+36L)/72L) : (((TWIP)*127L-36L)/72L)) sal_Int32 convertTwipToMM100(sal_Int32 _t) { +return TWIP_TO_MM100( _t ); +} + +sal_uInt32 convertTwipToMM100Unsigned(sal_Int32 _t) +{ +if( _t 0 ) +return 0; // It appears that MSO handles large twip values specially, probably legacy 16bit handling, // anything that's bigger than 32767 appears to be simply ignored. if( _t = 0x8000 ) return 0; -#define TWIP_TO_MM100(TWIP) ((TWIP) = 0 ? (((TWIP)*127L+36L)/72L) : (((TWIP)*127L-36L)/72L)) return TWIP_TO_MM100( _t ); } - sal_Int32 convertEMUToMM100(sal_Int32 _t) { return _t / 360; diff --git a/writerfilter/source/dmapper/ConversionHelper.hxx b/writerfilter/source/dmapper/ConversionHelper.hxx index b23872b..3873a39 100644 --- a/writerfilter/source/dmapper/ConversionHelper.hxx +++ b/writerfilter/source/dmapper/ConversionHelper.hxx @@ -44,6 +44,7 @@ namespace ConversionHelper{ OUString ConvertMSFormatStringToSO( const OUString rFormat, ::com::sun::star::lang::Locale rLocale, bool bHijri); sal_Int32 convertTwipToMM100(sal_Int32 _t); +sal_uInt32 convertTwipToMM100Unsigned(sal_Int32 _t); // probably the most useless unit in the world - English Metric Units (EMU) 360 000 EMU == 1cm sal_Int32 convertEMUToMM100(sal_Int32 _t); sal_Int32 ConvertColor(sal_Int32 nWordColor ); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] dev-tools.git: scripts/dumpbz
scripts/dumpbz | 54 +- 1 file changed, 53 insertions(+), 1 deletion(-) New commits: commit 41203640aa2c43c6cce689df70aa702d75b43c41 Author: Bjoern Michaelsen bjoern.michael...@canonical.com Date: Thu Mar 27 21:50:15 2014 +0100 add aoo tracker Change-Id: I7b57f81722c48d7ed36268c2dab4caa59e306f0f diff --git a/scripts/dumpbz b/scripts/dumpbz index 75a402b..e0a4639 100755 --- a/scripts/dumpbz +++ b/scripts/dumpbz @@ -155,6 +155,35 @@ class FdoBugzillaWrapper: opener = urllib.request.urlopen(FdoBugzillaWrapper.FDOBZ + FdoBugzillaWrapper.BUGXMLQUERY % int(bug_id)) return str(opener.read(), encoding='utf8') +class AooBugzillaWrapper: +AOOBZ='https://issues.apache.org/ooo/' +BATCHQUERY = 'buglist.cgi?query_format=advancedctype=csvf1=bug_idcolumnlist=bug_ido1=greaterthanv1=%dproduct=LibreOfficelimit=%dorder=bug_id' +CHANGEDQUERY = 'buglist.cgi?query_format=advancedctype=csvf1=bug_idcolumnlist=bug_idchfieldto=Nowchfieldfrom=%sproduct=LibreOffice' +UNRESOLVEDONLY='resolution=---' +BUGXMLQUERY = 'show_bug.cgi?ctype=xmlid=%d' +def __batch_buglist_url(self, offset, limit, unresolved_only): +url = FdoBugzillaWrapper.FDOBZ + FdoBugzillaWrapper.BATCHQUERY % (offset, limit) +if unresolved_only: +url += FdoBugzillaWrapper.UNRESOLVEDONLY +return url +def __changed_buglist_url(self, since): +url = FdoBugzillaWrapper.FDOBZ + FdoBugzillaWrapper.CHANGEDQUERY % (since) +return url +def __query_bug_list(self, query): +opener = urllib.request.urlopen(query) +bug_ids = str(opener.read(), encoding='utf8') +bug_ids = bug_ids.split('\n')[1:] +return bug_ids +def get_batch_of_bug_ids(self, offset, batchsize, unresolved): +return self.__query_bug_list(self.__batch_buglist_url(int(offset), int(batchsize), unresolved)) +def get_initial_bug_id(self): +return '0' +def get_changed_bug_ids(self, since): +return self.__query_bug_list(self.__changed_buglist_url(since)) +def get_bug_xml(self, bug_id): +opener = urllib.request.urlopen(FdoBugzillaWrapper.FDOBZ + FdoBugzillaWrapper.BUGXMLQUERY % int(bug_id)) +return str(opener.read(), encoding='utf8') + class SyncWorker: def __init__(self, storage, bzwrapper): (self.storage, self.bzwrapper, self.log) = (storage, bzwrapper, None) @@ -345,18 +374,41 @@ class TestFdoBugzillaWrapper(unittest.TestCase): bug_xml = self.fdowrapper.get_bug_xml(1) self.assertRegex(bug_xml, 'bugzilla version') +class TestAooBugzillaWrapper(unittest.TestCase): +def setUp(self): +self.aoowrapper = AooBugzillaWrapper() +def __check_bug_list(self, bug_ids): +for bug_id in bug_ids: +self.assertGreater(int(bug_id), 0) +def test_get_batch_of_bug_ids(self): +bug_ids = self.aoowrapper.get_batch_of_bug_ids(0, 15, False) +self.assertEqual(len(bug_ids), 15) +self.__check_bug_list(bug_ids) +def test_get_initial_bug_id(self): +bug_id = self.aoowrapper.get_initial_bug_id() +def test_get_changed_bug_ids(self): +bug_ids = self.aoowrapper.get_changed_bug_ids('1d') +self.__check_bug_list(bug_ids) +def test_get_bug_xml(self): +bug_xml = self.aoowrapper.get_bug_xml(1) +self.assertRegex(bug_xml, 'bugzilla version') + if __name__ == '__main__': parser = optparse.OptionParser() parser.add_option('--selftest', action='store_true', dest='selftest', default=False) parser.add_option('--storage', action='store', dest='storage') parser.add_option('--setup', action='store_true', dest='setup', default=False) +parser.add_option('--tracker', action='store', dest='tracker', default='fdo') (options, args) = parser.parse_args() if options.selftest: unittest.main(argv=[sys.argv[0]]) else: if not options.storage: sys.exit(1) -bzwrapper = FdoBugzillaWrapper() +if options.tracker == 'fdo': +bzwrapper = FdoBugzillaWrapper() +elif options.tracker == 'aoo': +bzwrapper = AooBugzillaWrapper() storage = LocalGitStorage(options.storage) if options.setup: storage.setup() ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: 2 commits - sd/source writerfilter/source
sd/source/ui/remotecontrol/OSXBluetoothWrapper.hxx |4 ++-- sd/source/ui/remotecontrol/OSXNetworkService.hxx |4 ++-- writerfilter/source/dmapper/DomainMapperTableManager.hxx |8 3 files changed, 8 insertions(+), 8 deletions(-) New commits: commit 65db69dd9c1febf4920b09918bf84ee4bb6ec2f6 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Mar 27 21:57:31 2014 +0100 SAL_OVERRIDE, Mac OS X sd redux Change-Id: I9b2959bf77fc79bba2f4abb09681872f6d3a4300 diff --git a/sd/source/ui/remotecontrol/OSXBluetoothWrapper.hxx b/sd/source/ui/remotecontrol/OSXBluetoothWrapper.hxx index 01ad404..1ccc242 100644 --- a/sd/source/ui/remotecontrol/OSXBluetoothWrapper.hxx +++ b/sd/source/ui/remotecontrol/OSXBluetoothWrapper.hxx @@ -29,8 +29,8 @@ namespace sd public: OSXBluetoothWrapper( IOBluetoothRFCOMMChannel* channel ); -virtual sal_Int32 readLine( OString aLine ); -virtual sal_Int32 write( const void* pBuffer, sal_uInt32 len ); +virtual sal_Int32 readLine( OString aLine ) SAL_OVERRIDE; +virtual sal_Int32 write( const void* pBuffer, sal_uInt32 len ) SAL_OVERRIDE; void appendData(void* pBuffer, size_t len ); void channelClosed(); }; diff --git a/sd/source/ui/remotecontrol/OSXNetworkService.hxx b/sd/source/ui/remotecontrol/OSXNetworkService.hxx index fd6a3df..5873c1a 100644 --- a/sd/source/ui/remotecontrol/OSXNetworkService.hxx +++ b/sd/source/ui/remotecontrol/OSXNetworkService.hxx @@ -34,10 +34,10 @@ namespace sd { OSXNetworkService(const std::string aname = , unsigned int aport = 1599) : ZeroconfService(aname, aport){} -void clear() { +void clear() SAL_OVERRIDE { [osxservice dealloc]; } -void setup() { +void setup() SAL_OVERRIDE { osxservice = [[OSXBonjourService alloc] init]; [osxservice publishImpressRemoteServiceOnLocalNetworkWithName: @]; }; commit b8b85207196dcf2c59a0062df69262e084dbb90e Author: Stephan Bergmann sberg...@redhat.com Date: Thu Mar 27 21:32:56 2014 +0100 Work around MSC 'override' cannot be used with 'inline' bug Change-Id: Ibf7094c750c665cf14a104091e8ff148d743bccc diff --git a/writerfilter/source/dmapper/DomainMapperTableManager.hxx b/writerfilter/source/dmapper/DomainMapperTableManager.hxx index ad6dedb..b733f48 100644 --- a/writerfilter/source/dmapper/DomainMapperTableManager.hxx +++ b/writerfilter/source/dmapper/DomainMapperTableManager.hxx @@ -95,7 +95,7 @@ public: const OUString getTableStyleName() const { return m_sTableStyleName; } const com::sun::star::uno::Sequencecom::sun::star::beans::PropertyValue getCurrentTablePosition(); -inline virtual void cellProps(TablePropertyMapPtr pProps) SAL_OVERRIDE +virtual void cellProps(TablePropertyMapPtr pProps) SAL_OVERRIDE { if ( m_pStyleProps.get( ) ) m_pStyleProps-InsertProps(pProps); @@ -103,7 +103,7 @@ public: DomainMapperTableManager_Base_t::cellProps( pProps ); }; -inline virtual void cellPropsByCell(unsigned int i, TablePropertyMapPtr pProps) SAL_OVERRIDE +virtual void cellPropsByCell(unsigned int i, TablePropertyMapPtr pProps) SAL_OVERRIDE { if ( m_pStyleProps.get( ) ) m_pStyleProps-InsertProps(pProps); @@ -111,7 +111,7 @@ public: DomainMapperTableManager_Base_t::cellPropsByCell( i, pProps ); }; -inline virtual void insertRowProps(TablePropertyMapPtr pProps) SAL_OVERRIDE +virtual void insertRowProps(TablePropertyMapPtr pProps) SAL_OVERRIDE { if ( m_pStyleProps.get( ) ) m_pStyleProps-InsertProps(pProps); @@ -119,7 +119,7 @@ public: DomainMapperTableManager_Base_t::insertRowProps( pProps ); }; -inline virtual void insertTableProps(TablePropertyMapPtr pProps) SAL_OVERRIDE +virtual void insertTableProps(TablePropertyMapPtr pProps) SAL_OVERRIDE { if ( m_pStyleProps.get( ) ) m_pStyleProps-InsertProps(pProps); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Bug 50672] Unity: Recent file menu removes underscore from file names
https://bugs.freedesktop.org/show_bug.cgi?id=50672 --- Comment #17 from Michaël Lefèvre lefevr...@yahoo.fr --- Just tested with 14.04 having unity-gtk-* package at version 0.0.0+14.04.20140319. This hasn't fix this bug. -- 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] dev-tools.git: scripts/update-stats.pl
scripts/update-stats.pl | 10 ++ 1 file changed, 10 insertions(+) New commits: commit 022d566af452a86fb39a044fd6532e30dd91745e Author: Jan Holesovsky ke...@collabora.com Date: Thu Mar 27 17:42:27 2014 +0100 Add new versions. diff --git a/scripts/update-stats.pl b/scripts/update-stats.pl index a857a9d..6124a13 100755 --- a/scripts/update-stats.pl +++ b/scripts/update-stats.pl @@ -69,6 +69,16 @@ my %versions = ( '40b2d7fde7e8d2d7bc5a449dc65df4d08a7dd38' = '4.1.2_RC3', '70feb7d99726f064edab4605a8ab840c50ec57a' = '4.1.3_RC3', + +'0a0440ccc0227ad9829de5f46be37cfb6edcf72' = '4.1.4_RC2', + +'1c1366bba2ba2b554cd2ca4d87c06da81c05d24' = '4.1.5_RC3', + +'05dceb5d363845f2cf968344d7adab8dcfb2ba71' = '4.2.0_RC4', + +'d7dbbd7842e6a58b0f521599204e827654e1fb8b' = '4.2.1_RC1', + +'3be8cda0bddd8e430d8cda1ebfd581265cca5a0f' = '4.2.2_RC1', ); my %month_to_num = ( ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: oox/source sd/qa
oox/source/export/drawingml.cxx |4 +++- sd/qa/unit/data/fdo71961.odp|binary sd/qa/unit/import-tests.cxx | 35 +++ 3 files changed, 38 insertions(+), 1 deletion(-) New commits: commit b3b843481db30df80e39869052b57ec929e18ea8 Author: LuboÅ¡ LuÅák l.lu...@collabora.com Date: Thu Mar 27 18:46:16 2014 +0100 write (no)wrap of text only for custom shapes to .pptx (fdo#71961) Apparently checking the TextWordWrap property in DrawingML::WriteText() gives false by default for objects that do not have it set, which happens to be everything except for custom shapes, which seem to be the only ones to actually obey it. So all normal text would be exported as nowrap to .pptx and read back as custom shape that has non-wrapping text. I tried to make the property return true (which is what it should be in practice), but that appears to be an exercise in futility, or I'm not mad enough to follow the complicated property sets and whatnot. So just write it out only for custom shapes. UNO purists, if any, are welcome to change the dynamic_cast to something UNO-better if they manage without an ambiguous base class error. Change-Id: I3ed906285fde88d902ac9c801986a82a7515638b diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index a71ed89..ffadbe5 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -73,6 +73,7 @@ #include editeng/svxenum.hxx #include svx/unoapi.hxx #include svx/svdoashp.hxx +#include svx/unoshape.hxx using namespace ::com::sun::star; using namespace ::com::sun::star::beans; @@ -1672,7 +1673,8 @@ void DrawingML::WriteText( Reference XInterface rXIface, bool bBodyPr, bool b sal_Bool bHasWrap = sal_False; sal_Bool bWrap = sal_False; -if( GETA( TextWordWrap ) ) { +// Only custom shapes obey the TextWordWrap option, normal text always wraps. +if( dynamic_castSvxCustomShape*(rXIface.get()) GETA( TextWordWrap ) ) { mAny = bWrap; bHasWrap = sal_True; } diff --git a/sd/qa/unit/data/fdo71961.odp b/sd/qa/unit/data/fdo71961.odp new file mode 100644 index 000..323fbe8 Binary files /dev/null and b/sd/qa/unit/data/fdo71961.odp differ diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx index 382fe69..81f6b8a 100644 --- a/sd/qa/unit/import-tests.cxx +++ b/sd/qa/unit/import-tests.cxx @@ -66,6 +66,7 @@ public: void testN862510_1(); void testN862510_2(); void testN862510_3(); +void testFdo71961(); CPPUNIT_TEST_SUITE(SdFiltersTest); CPPUNIT_TEST(testDocumentLayout); @@ -86,6 +87,7 @@ public: CPPUNIT_TEST(testN862510_1); CPPUNIT_TEST(testN862510_2); CPPUNIT_TEST(testN862510_3); +CPPUNIT_TEST(testFdo71961); CPPUNIT_TEST_SUITE_END(); }; @@ -625,6 +627,39 @@ void SdFiltersTest::testStrictOOXML() CPPUNIT_ASSERT_MESSAGE( failed to load shape, xShape.is() ); } +void SdFiltersTest::testFdo71961() +{ +::sd::DrawDocShellRef xDocShRef = loadURL(getURLFromSrc(/sd/qa/unit/data/fdo71961.odp)); +CPPUNIT_ASSERT_MESSAGE( failed to load, xDocShRef.Is() ); +CPPUNIT_ASSERT_MESSAGE( not in destruction, !xDocShRef-IsInDestruction() ); + +xDocShRef = saveAndReload( xDocShRef, PPTX ); +CPPUNIT_ASSERT_MESSAGE( failed to load, xDocShRef.Is() ); +CPPUNIT_ASSERT_MESSAGE( not in destruction, !xDocShRef-IsInDestruction() ); + +SdDrawDocument *pDoc = xDocShRef-GetDoc(); +CPPUNIT_ASSERT_MESSAGE( no document, pDoc != NULL ); +const SdrPage *pPage = pDoc-GetPage (1); +CPPUNIT_ASSERT_MESSAGE( no page, pPage != NULL ); + +// Export to .pptx changes all text frames to custom shape objects, which obey TextWordWrap property +// (which is false for text frames otherwise and is ignored). Check that frames that should wrap still do. +SdrObjCustomShape *pTxtObj = dynamic_castSdrObjCustomShape *( pPage-GetObj( 1 )); +CPPUNIT_ASSERT_MESSAGE( no text object, pTxtObj != NULL); +CPPUNIT_ASSERT_EQUAL( OUString( Text to be always wrapped ), pTxtObj-GetOutlinerParaObject()-GetTextObject().GetText(0)); +CPPUNIT_ASSERT_EQUAL( true, (static_castconst SdrTextWordWrapItem(pTxtObj-GetMergedItem(SDRATTR_TEXT_WORDWRAP))).GetValue()); + +pTxtObj = dynamic_castSdrObjCustomShape *( pPage-GetObj( 2 )); +CPPUNIT_ASSERT_MESSAGE( no text object, pTxtObj != NULL); +CPPUNIT_ASSERT_EQUAL( OUString( Custom shape non-wrapped text ), pTxtObj-GetOutlinerParaObject()-GetTextObject().GetText(0)); +CPPUNIT_ASSERT_EQUAL( false, (static_castconst SdrTextWordWrapItem(pTxtObj-GetMergedItem(SDRATTR_TEXT_WORDWRAP))).GetValue()); + +pTxtObj = dynamic_castSdrObjCustomShape *( pPage-GetObj( 3 )); +CPPUNIT_ASSERT_MESSAGE( no text object, pTxtObj != NULL); +CPPUNIT_ASSERT_EQUAL( OUString( Custom shape wrapped text ), pTxtObj-GetOutlinerParaObject()-GetTextObject().GetText(0)); +
[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-4.1' - oox/source sd/qa
oox/source/export/drawingml.cxx |4 +++- sd/qa/unit/data/fdo71961.odp|binary sd/qa/unit/import-tests.cxx | 36 3 files changed, 39 insertions(+), 1 deletion(-) New commits: commit dac36077c3823a9f4ac738e35a9421c4c403328a Author: LuboÅ¡ LuÅák l.lu...@collabora.com Date: Thu Mar 27 18:46:16 2014 +0100 write (no)wrap of text only for custom shapes to .pptx (fdo#71961) Apparently checking the TextWordWrap property in DrawingML::WriteText() gives false by default for objects that do not have it set, which happens to be everything except for custom shapes, which seem to be the only ones to actually obey it. So all normal text would be exported as nowrap to .pptx and read back as custom shape that has non-wrapping text. I tried to make the property return true (which is what it should be in practice), but that appears to be an exercise in futility, or I'm not mad enough to follow the complicated property sets and whatnot. So just write it out only for custom shapes. UNO purists, if any, are welcome to change the dynamic_cast to something UNO-better if they manage without an ambiguous base class error. Conflicts: sd/qa/unit/import-tests.cxx Change-Id: I3ed906285fde88d902ac9c801986a82a7515638b diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index b3bfd7f..d4a3edc 100644 --- a/oox/source/export/drawingml.cxx +++ b/oox/source/export/drawingml.cxx @@ -70,6 +70,7 @@ #include editeng/svxenum.hxx #include svx/unoapi.hxx #include svx/svdoashp.hxx +#include svx/unoshape.hxx using namespace ::com::sun::star; using namespace ::com::sun::star::beans; @@ -1327,7 +1328,8 @@ void DrawingML::WriteText( Reference XInterface rXIface ) sal_Bool bHasWrap = sal_False; sal_Bool bWrap = sal_False; -if( GETA( TextWordWrap ) ) { +// Only custom shapes obey the TextWordWrap option, normal text always wraps. +if( dynamic_castSvxCustomShape*(rXIface.get()) GETA( TextWordWrap ) ) { mAny = bWrap; bHasWrap = sal_True; } diff --git a/sd/qa/unit/data/fdo71961.odp b/sd/qa/unit/data/fdo71961.odp new file mode 100644 index 000..323fbe8 Binary files /dev/null and b/sd/qa/unit/data/fdo71961.odp differ diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx index ba67b22..518b022 100644 --- a/sd/qa/unit/import-tests.cxx +++ b/sd/qa/unit/import-tests.cxx @@ -36,6 +36,7 @@ public: void testN759180(); void testN778859(); void testFdo64512(); +void testFdo71961(); CPPUNIT_TEST_SUITE(SdFiltersTest); CPPUNIT_TEST(testDocumentLayout); @@ -43,6 +44,8 @@ public: CPPUNIT_TEST(testN759180); CPPUNIT_TEST(testN778859); CPPUNIT_TEST(testFdo64512); +CPPUNIT_TEST(testFdo71961); + CPPUNIT_TEST_SUITE_END(); }; @@ -208,6 +211,39 @@ void SdFiltersTest::testFdo64512() xTargetShape != xSvgShape ); } +void SdFiltersTest::testFdo71961() +{ +::sd::DrawDocShellRef xDocShRef = loadURL(getURLFromSrc(/sd/qa/unit/data/fdo71961.odp)); +CPPUNIT_ASSERT_MESSAGE( failed to load, xDocShRef.Is() ); +CPPUNIT_ASSERT_MESSAGE( not in destruction, !xDocShRef-IsInDestruction() ); + +xDocShRef = saveAndReload( xDocShRef, PPTX ); +CPPUNIT_ASSERT_MESSAGE( failed to load, xDocShRef.Is() ); +CPPUNIT_ASSERT_MESSAGE( not in destruction, !xDocShRef-IsInDestruction() ); + +SdDrawDocument *pDoc = xDocShRef-GetDoc(); +CPPUNIT_ASSERT_MESSAGE( no document, pDoc != NULL ); +const SdrPage *pPage = pDoc-GetPage (1); +CPPUNIT_ASSERT_MESSAGE( no page, pPage != NULL ); + +// Export to .pptx changes all text frames to custom shape objects, which obey TextWordWrap property +// (which is false for text frames otherwise and is ignored). Check that frames that should wrap still do. +SdrObjCustomShape *pTxtObj = dynamic_castSdrObjCustomShape *( pPage-GetObj( 1 )); +CPPUNIT_ASSERT_MESSAGE( no text object, pTxtObj != NULL); +CPPUNIT_ASSERT_EQUAL( OUString( Text to be always wrapped ), pTxtObj-GetOutlinerParaObject()-GetTextObject().GetText(0)); +CPPUNIT_ASSERT_EQUAL( true, (static_castconst SdrTextWordWrapItem(pTxtObj-GetMergedItem(SDRATTR_TEXT_WORDWRAP))).GetValue()); + +pTxtObj = dynamic_castSdrObjCustomShape *( pPage-GetObj( 2 )); +CPPUNIT_ASSERT_MESSAGE( no text object, pTxtObj != NULL); +CPPUNIT_ASSERT_EQUAL( OUString( Custom shape non-wrapped text ), pTxtObj-GetOutlinerParaObject()-GetTextObject().GetText(0)); +CPPUNIT_ASSERT_EQUAL( false, (static_castconst SdrTextWordWrapItem(pTxtObj-GetMergedItem(SDRATTR_TEXT_WORDWRAP))).GetValue()); + +pTxtObj = dynamic_castSdrObjCustomShape *( pPage-GetObj( 3 )); +CPPUNIT_ASSERT_MESSAGE( no text object, pTxtObj != NULL); +CPPUNIT_ASSERT_EQUAL( OUString( Custom shape wrapped text ),
[Bug 60270] LibreOffice 4.1 most annoying bugs
https://bugs.freedesktop.org/show_bug.cgi?id=60270 Bug 60270 depends on bug 71961, which changed state. Bug 71961 Summary: FILESAVE: text doesn't fit into text boxes when using .PPTX format https://bugs.freedesktop.org/show_bug.cgi?id=71961 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: sd/source
sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx |8 1 file changed, 4 insertions(+), 4 deletions(-) New commits: commit 891e9807d8cb88bb8f2a9d5f05aee78dca538b32 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Mar 27 22:14:41 2014 +0100 Work around MSC 'override' cannot be used with 'inline' bug Change-Id: Ib84508c7617610ff81d3ec29bc5130048e4cecd3 diff --git a/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx b/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx index 69514c0..74ceb59 100644 --- a/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx +++ b/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx @@ -37,12 +37,12 @@ public: /** Create a copy of the called enumeration object. */ SAL_WNODEPRECATED_DECLARATIONS_PUSH -virtual inline ::std::auto_ptrEnumerationSharedPageDescriptor Clone (void) SAL_OVERRIDE; +virtual ::std::auto_ptrEnumerationSharedPageDescriptor Clone (void) SAL_OVERRIDE; SAL_WNODEPRECATED_DECLARATIONS_POP -virtual inline bool HasMoreElements (void) const SAL_OVERRIDE; -virtual inline SharedPageDescriptor GetNextElement (void) SAL_OVERRIDE; -virtual inline void Rewind (void) SAL_OVERRIDE; +virtual bool HasMoreElements (void) const SAL_OVERRIDE; +virtual SharedPageDescriptor GetNextElement (void) SAL_OVERRIDE; +virtual void Rewind (void) SAL_OVERRIDE; private: const SlideSorterModel mrModel; ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: sc/source
sc/source/filter/inc/xerecord.hxx |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) New commits: commit a85145a359f5f21b2d57d822b2785a85c6566856 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Mar 27 23:36:28 2014 +0100 Work around MSC 'override' cannot be used with 'inline' bug Change-Id: I16b931a3383794e646ab71011510926e49da3599 diff --git a/sc/source/filter/inc/xerecord.hxx b/sc/source/filter/inc/xerecord.hxx index 8f44da3..0d88ff4 100644 --- a/sc/source/filter/inc/xerecord.hxx +++ b/sc/source/filter/inc/xerecord.hxx @@ -207,7 +207,7 @@ public: private: /** Writes the body of the record. */ -inline virtual void WriteBody( XclExpStream rStrm ) SAL_OVERRIDE { rStrm maValue; } +virtual void WriteBody( XclExpStream rStrm ) SAL_OVERRIDE { rStrm maValue; } // inlining prevents warning in wntmsci10 private: @@ -369,14 +369,14 @@ public: inline void RemoveAllRecords() { maRecs.clear(); } /** Writes the complete record list. */ -inline virtual void Save( XclExpStream rStrm ) SAL_OVERRIDE +virtual void Save( XclExpStream rStrm ) SAL_OVERRIDE { // inlining prevents warning in wntmsci10 for( typename RecordVec::iterator aIt = maRecs.begin(), aEnd = maRecs.end(); aIt != aEnd; ++aIt ) (*aIt)-Save( rStrm ); } -inline virtual void SaveXml( XclExpXmlStream rStrm ) SAL_OVERRIDE +virtual void SaveXml( XclExpXmlStream rStrm ) SAL_OVERRIDE { // inlining prevents warning in wntmsci10 for( typename RecordVec::iterator aIt = maRecs.begin(), aEnd = maRecs.end(); aIt != aEnd; ++aIt ) ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] dev-tools.git: bibisect/mergeranges
bibisect/mergeranges |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 13e14e062847c003117108d08b9fe06441f7e221 Author: Bjoern Michaelsen bjoern.michael...@canonical.com Date: Thu Mar 27 23:51:38 2014 +0100 fix missing module diff --git a/bibisect/mergeranges b/bibisect/mergeranges index d7416c2..eed6ae9 100755 --- a/bibisect/mergeranges +++ b/bibisect/mergeranges @@ -28,7 +28,7 @@ def init_branch(startpoint): try: justrunit(['git', 'checkout', branchName]) -except CalledProcessError as e: +except subprocess.CalledProcessError as e: # If the branch does not exist, we need to create it. justrunit(['git', 'checkout', '-b', branchName, startpoint]) print(Creating branch + branchName) ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'private/kohei/new-chart-type-skeleton' - 2 commits - chart2/source
chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx|7 chart2/source/controller/dialogs/ChartTypeDialogController.cxx | 18 + chart2/source/controller/dialogs/tp_ChartType.cxx |3 chart2/source/model/main/Diagram.cxx | 10 chart2/source/model/template/GL3DBarChartTypeTemplate.cxx | 114 +- chart2/source/model/template/GL3DBarChartTypeTemplate.hxx | 19 + chart2/source/view/charttypes/GL3DBarChart.cxx | 52 7 files changed, 196 insertions(+), 27 deletions(-) New commits: commit d22fbd97e2f93cdde78339a283a807037da5a6fa Author: Kohei Yoshida kohei.yosh...@collabora.com Date: Thu Mar 27 22:04:28 2014 -0400 Trying to move this RoundedEdge property from Diagram to GL3DBarChartType. Then things stop working. Go figure. Change-Id: I38893b20104537a64d279063c7b7dd708efb0d2f diff --git a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx index 01075fc..0e05e6d 100644 --- a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx @@ -446,13 +446,6 @@ void lcl_AddPropertiesToVector( ::getCppuType( reinterpret_cast const OUString * (0)), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEVOID )); - -rOutProperties.push_back( - Property( CHART_UNONAME_ROUNDED_EDGE, - PROP_DIAGRAM_ROUNDED_EDGE, - ::getCppuBooleanType(), - beans::PropertyAttribute::BOUND - | beans::PropertyAttribute::MAYBEVOID)); } struct StaticDiagramWrapperPropertyArray_Initializer diff --git a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx index 031c468..c31ffc8 100644 --- a/chart2/source/controller/dialogs/ChartTypeDialogController.cxx +++ b/chart2/source/controller/dialogs/ChartTypeDialogController.cxx @@ -162,9 +162,15 @@ ChartTypeParameter ChartTypeDialogController::getChartTypeParameterForService( } catch( uno::Exception ex ) { -//not all templates need to support CGeometry3D +//not all templates need to support Geometry3D ex.Context.is();//to have debug information without compilation warnings } + +try +{ +xTemplateProps-getPropertyValue(CHART_UNONAME_ROUNDED_EDGE) = aRet.mbRoundedEdge; +} +catch ( const uno::Exception ) {} } return aRet; } @@ -303,6 +309,15 @@ uno::Reference XChartTypeTemplate ChartTypeDialogController::getCurrentTempla //not all templates need to support Geometry3D ex.Context.is();//to have debug information without compilation warnings } + +try +{ + xTemplateProps-setPropertyValue(CHART_UNONAME_ROUNDED_EDGE, uno::makeAny(rParameter.mbRoundedEdge)); +} +catch ( const uno::Exception ) +{ +} + try { this-setTemplateProperties( xTemplateProps ); @@ -343,7 +358,6 @@ bool ChartTypeDialogController::commitToModel( const ChartTypeParameter rParame if (xDiaProp.is()) { xDiaProp-setPropertyValue(CHART_UNONAME_SORT_BY_XVALUES, uno::makeAny(rParameter.bSortByXValues)); -xDiaProp-setPropertyValue(CHART_UNONAME_ROUNDED_EDGE, uno::makeAny(rParameter.mbRoundedEdge)); } } return false; diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx b/chart2/source/controller/dialogs/tp_ChartType.cxx index c7bed9a..18f6cf0 100644 --- a/chart2/source/controller/dialogs/tp_ChartType.cxx +++ b/chart2/source/controller/dialogs/tp_ChartType.cxx @@ -834,7 +834,6 @@ void ChartTypeTabPage::stateChanged( ChangingResource* /*pResource*/ ) { uno::Referencebeans::XPropertySet xPropSet(xDiagram, uno::UNO_QUERY_THROW); xPropSet-getPropertyValue(CHART_UNONAME_SORT_BY_XVALUES) = aParameter.bSortByXValues; -xPropSet-getPropertyValue(CHART_UNONAME_ROUNDED_EDGE) = aParameter.mbRoundedEdge; } catch ( const uno::Exception ex ) { @@ -901,7 +900,6 @@ void ChartTypeTabPage::selectMainType() { uno::Referencebeans::XPropertySet xPropSet(xDiagram, uno::UNO_QUERY_THROW); xPropSet-getPropertyValue(CHART_UNONAME_SORT_BY_XVALUES) = aParameter.bSortByXValues; -xPropSet-getPropertyValue(CHART_UNONAME_ROUNDED_EDGE) = aParameter.mbRoundedEdge; } catch ( const uno::Exception ex ) { @@ -986,7 +984,6 @@ void ChartTypeTabPage::initializePage() { uno::Referencebeans::XPropertySet
[Libreoffice-qa] LibreOffice 4.2.3rc2 and Bug 46470 (need for LO-4.2.3.3)
Hi, Funny and strange situation arose. Look at the bug 76470 - out_of_range_exception when inserting/deleting rows with absolute reference (https://bugs.freedesktop.org/show_bug.cgi?id=76470). This bug is the regression version ‘4.2.3’ to version ‘4.2.2’. Bug has already been fixed in LibO-dev 4.2.4.0.0+ (Build ID: 96ef8a7a03c7b098c71f7ce8540fb61d13eaa298, TinderBox: Win-x86@42, Branch:libreoffice-4-2, Time: 2014-03-26_22:50:49), which was published before LibreOffice 4.2.3.2 (Win_x86, Time: 27-Mar-2014 04:25). *I think it would be correct if you include the Kohei’s patch (http://cgit.freedesktop.org/libreoffice/core/commit/?id=572fdb94ecf3dfea6a6f787398efa4e4c54b4718h=libreoffice-4-2) into version ‘4.2.3’ and then publish release ‘LibreOffice 4.2.3.3 (rc3)’, for example, on Saturday.* -- ape -- View this message in context: http://nabble.documentfoundation.org/LibreOffice-4-2-3rc2-and-Bug-46470-need-for-LO-4-2-3-3-tp4103152.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] [ANNOUNCE] Tag libreoffice-4.2.3.2 created
Hi all, The tag libreoffice-4.2.3.2 (AKA 4.2.3 RC2) has been created on the libreoffice-4-1-3 branch. It is the last scheduled RC. The 'libreoffice-4-2' branch is still active and will be used for the 4.2.4 bugfix release. Please read more at http://wiki.documentfoundation.org/ReleasePlan/4.2#4.2.3_release http://wiki.documentfoundation.org/Development/Branches http://wiki.documentfoundation.org/Release_Criteria To checkout the tag, use ./g fetch --tags ./g checkout -b tag-libreoffice-4.2.3.2 libreoffice-4.2.3.2 Hopefully it will work for you :-) Most probably, you will also want to do (if you haven't done it yet): git config --global push.default tracking When you do git push with this, git will push only the branch you are on; e.g. libreoffice-4-2-3 when you have switched to it. This will save you some git shouting at you. Linux distro packages might find source tarballs at http://dev-builds.libreoffice.org/pre-releases/src/ They will soon be available from the official page together with the builds. Attached is the list of changes against 4.2.3 RC1 Happy hacking, Christian + core + autorecovery: fix saving password in protected documents. (fdo#51819) [Matúš Kukan] + bump product version to 4.2.3.2 [Christian Lohmaier] + bump version to 4.2.3.1.0+ [Christian Lohmaier] + check the high position block correctly. (fdo#75642) [Kohei Yoshida] + fix application of help's stylesheet (fdo#75040) [Andras Timar] + mailmerge output path fix (fdo#74155) [Andras Timar] + make rest param in endsWithIgnoreAsciiCase default to zero [Noel Grandin] + ODF import: fix up graphics defaults stroke/fill colors (fdo#75872) [Michael Stahl] + RTF import: set borders without explicit width (fdo#68779) [Michael Stahl] + sw: fix AutoScroll (fdo#75460) [Michael Stahl] + SwEditShell::DeleteSel fix start of selection when bSelAll == true (fdo#75110) [Miklos Vajna] + the type in the Any is a util::Date and not a DateTime, (fdo#74549) [Markus Mohrhard] + this row index is 1-based whereas our own mnRow is 0-based. (fdo#76032) [Kohei Yoshida] + update credits [Christian Lohmaier] + updated core [Christian Lohmaier] + version 4.2.3.2, tag libreoffice-4.2.3.2 [Christian Lohmaier] + dictionaries + version 4.2.3.2, tag libreoffice-4.2.3.2 [Christian Lohmaier] + help + version 4.2.3.2, tag libreoffice-4.2.3.2 [Christian Lohmaier] + translations + update for 4.2.3 rc2 [Christian Lohmaier] fdo#51819 autorecovery: fix saving password in protected documents. [Matúš Kukan] fdo#68779 RTF import: set borders without explicit width [Michael Stahl] fdo#74155 mailmerge output path fix [Andras Timar] fdo#74549 the type in the Any is a util::Date and not a DateTime, [Markus Mohrhard] fdo#75040 fix application of help's stylesheet [Andras Timar] fdo#75110 SwEditShell::DeleteSel fix start of selection when bSelAll == true [Miklos Vajna] fdo#75460 sw: fix AutoScroll [Michael Stahl] fdo#75642 check the high position block correctly. [Kohei Yoshida] fdo#75872 ODF import: fix up graphics defaults stroke/fill colors [Michael Stahl] fdo#76032 this row index is 1-based whereas our own mnRow is 0-based. [Kohei Yoshida] + autorecovery: fix saving password in protected documents. (fdo#51819) [Matúš Kukan] + RTF import: set borders without explicit width (fdo#68779) [Michael Stahl] + mailmerge output path fix (fdo#74155) [Andras Timar] + the type in the Any is a util::Date and not a DateTime, (fdo#74549) [Markus Mohrhard] + fix application of help's stylesheet (fdo#75040) [Andras Timar] + SwEditShell::DeleteSel fix start of selection when bSelAll == true (fdo#75110) [Miklos Vajna] + sw: fix AutoScroll (fdo#75460) [Michael Stahl] + check the high position block correctly. (fdo#75642) [Kohei Yoshida] + ODF import: fix up graphics defaults stroke/fill colors (fdo#75872) [Michael Stahl] + this row index is 1-based whereas our own mnRow is 0-based. (fdo#76032) [Kohei Yoshida] ___ 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.3 RC2 test builds available
Hi *, for the upcoming new version 4.2.3, the builds for rc1 are now available on pre-releases. As with the previous builds, there are also 64bit builds for Mac available. See https://wiki.documentfoundation.org/ReleasePlan/4.2#4.2.3_release for the complete schedule. (no additional rc is planned for 4.2.3) Grab the builds from here here: http://dev-builds.libreoffice.org/pre-releases/ If you've a bit of time, please give them a try report any severe bugs not yet in bugzilla here, so we can incorporate them into the release notes. Please note that it takes approximately 24 hours to populate the mirrors, so that's about the time we have to collect feedback. The list of fixed bugs relative to 4.2.3 RC1 is here: http://dev-builds.libreoffice.org/pre-releases/src/bugs-libreoffice-4-2-3-release-4.2.3.2.log So playing with the areas touched there also greatly appreciated - and validation that those bugs are really fixed. Special thanks to all QA, developers, bugreporters who did make this possible. You'll find the number of bugs along with the names in the wiki ( https://wiki.documentfoundation.org/Releases/4.2.3/RC2#Thanks_to_all_who_took_part_in_handling_the_issues ) Of course also big thanks to contributors who do great work in other areas that cannot be put into numbers! Thanks a lot for your help, Christian ___ List Name: Libreoffice-qa mailing list Mail address: Libreoffice-qa@lists.freedesktop.org Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
Re: [Libreoffice-qa] [ANN] LibreOffice 4.2.3 RC2 test builds available
Hi all, For information, I've activated a test run for 4.2.3 RC2 here http://manual-test.libreoffice.org/runtests/ Thanks in advance for your participation ! Cheers Sophie Le 27/03/2014 12:14, Christian Lohmaier a écrit : Hi *, for the upcoming new version 4.2.3, the builds for rc1 are now available on pre-releases. As with the previous builds, there are also 64bit builds for Mac available. See https://wiki.documentfoundation.org/ReleasePlan/4.2#4.2.3_release for the complete schedule. (no additional rc is planned for 4.2.3) Grab the builds from here here: http://dev-builds.libreoffice.org/pre-releases/ If you've a bit of time, please give them a try report any severe bugs not yet in bugzilla here, so we can incorporate them into the release notes. Please note that it takes approximately 24 hours to populate the mirrors, so that's about the time we have to collect feedback. The list of fixed bugs relative to 4.2.3 RC1 is here: http://dev-builds.libreoffice.org/pre-releases/src/bugs-libreoffice-4-2-3-release-4.2.3.2.log So playing with the areas touched there also greatly appreciated - and validation that those bugs are really fixed. Special thanks to all QA, developers, bugreporters who did make this possible. You'll find the number of bugs along with the names in the wiki ( https://wiki.documentfoundation.org/Releases/4.2.3/RC2#Thanks_to_all_who_took_part_in_handling_the_issues ) Of course also big thanks to contributors who do great work in other areas that cannot be put into numbers! Thanks a lot for your help, Christian ___ List Name: Libreoffice-qa mailing list Mail address: Libreoffice-qa@lists.freedesktop.org Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://lists.freedesktop.org/archives/libreoffice-qa/ -- Sophie Gautier sophie.gaut...@documentfoundation.org Tel:+33683901545 Membership Certification Committee Member - Co-founder The Document Foundation ___ 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] [ANN] LibreOffice 4.2.3 RC2 test builds available
Hi, Christian! I hope that you read this my post: LibreOffice 4.2.3rc2 and Bug 76470 (need for LO-4.2.3.3) http://nabble.documentfoundation.org/LibreOffice-4-2-3rc2-and-Bug-76470-need-for-LO-4-2-3-3-tp4103152.html -- Best regards, ape -- View this message in context: http://nabble.documentfoundation.org/Libreoffice-qa-ANN-LibreOffice-4-2-3-RC2-test-builds-available-tp4103160p4103175.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] [ANN] LibreOffice 4.2.3 RC2 test builds available
Chrisitan, *, Great! The release cycles roll on... But please also fix the web site. The 'Development versions' page is still listing LibreOffice 4.2.3 RC1, and LibreOffice 4.1.5 RC2--STILL!. Stuart -- View this message in context: http://nabble.documentfoundation.org/Libreoffice-qa-ANN-LibreOffice-4-2-3-RC2-test-builds-available-tp4103160p4103191.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] [ANN] LibreOffice 4.2.3 RC2 test builds available
Hi Stuart, *, On Thu, Mar 27, 2014 at 3:35 PM, V Stuart Foote vstuart.fo...@utsa.edu wrote: Chrisitan, *, Great! The release cycles roll on... But please also fix the web site. The 'Development versions' page is still listing LibreOffice 4.2.3 RC1, and LibreOffice 4.1.5 RC2--STILL!. The release so far is only on pre-releases server, not on the mirror network. We never did update the development-version download pages to remove references when a release was made final, It has only been updated when a new RC/beta/alpha build was announced to the public, but never when they have been promoted to the final release. So it would be wrong to list 4.2.3 rc2 on the page at this point, since it has just been provided to early-testing/QA. The public announcement follows one day after (minimum). ciao 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] [ANN] LibreOffice 4.2.3 RC2 test builds available
Hi, On Thu, Mar 27, 2014 at 12:14:15PM +0100, Christian Lohmaier wrote: Grab the builds from here here: http://dev-builds.libreoffice.org/pre-releases/ Ubuntu tester will also find builds for trusty: https://launchpad.net/~libreoffice/+archive/ppa https://launchpad.net/~libreoffice/+archive/libreoffice-4-2 as usual. 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] [ANN] LibreOffice 4.2.3 RC2 test builds available
Hi Ape, On Thu, Mar 27, 2014 at 1:26 PM, ape os...@yandex.ru wrote: Hi, Christian! I hope that you read this my post: LibreOffice 4.2.3rc2 and Bug 76470 (need for LO-4.2.3.3) http://nabble.documentfoundation.org/LibreOffice-4-2-3rc2-and-Bug-76470-need-for-LO-4-2-3-3-tp4103152.html This is not how the release-process works unfortunately. We cannot snip with a finger and have new build available immediately :-) And is nothing strange a bug being fixed after the tag for another release has been created. You cannot change time :-) We're still in the early-adopter/end-user phase of the release with 4.2.3 (that time-wise is 4.2.2, since there was an additional release squeezed in) - so it is somewhat expected that it is not ready for everyone out there. It's also a corner case with absolute references and doesn't affect all users. So while surely annoying if you're affected, not a stopper from my point of view. ciao 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] [ANN] LibreOffice 4.2.3 RC2 test builds available
Christian, *, The release so far is only on pre-releases server, not on the mirror network. OK, guess that is correct. Logic being the 'Development versions' web page should not display it until it hits the public mirrors. Though we do link to the TDF pre-release server directly from the page. We never did update the development-version download pages to remove references when a release was made final, It has only been updated when a new RC/beta/alpha build was announced to the public, but never when they have been promoted to the final release. That may be the way it was done previously, but rational for the new web site design suggests it needs to change. With 4.2.2 released to Fresh, and 4.1.5 released to Stable only 4.2.3 rc1 should remain on the Development versions page. So it would be wrong to list 4.2.3 rc2 on the page at this point, since it has just been provided to early-testing/QA. The public announcement follows one day after (minimum). Expect then that 4.2.3 rc2 alone will replace 4.2.3 rc1 on the Development versions page. Correct? Stuart -- View this message in context: http://nabble.documentfoundation.org/Libreoffice-qa-ANN-LibreOffice-4-2-3-RC2-test-builds-available-tp4103160p4103206.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] minutes of ESC call ...
* Present Bjoern, Eike, Norbert, Christian, Adam, Matus, Kohei, Kendy, Cedric, Miklos, Andras, Michael M, Stephan B, David, Robinson, Astron, Lionel * Completed Action Items + unwind non-closed 4.0 MABs (Michael) + send bluez 5.0 bug # to Caolan (Michael) [ ahunt looking into this ] + update certification website (Kendy) + create a meta-bug for large l10n relevant 4.3 issues (Andras) https://bugs.libreoffice.org/show_bug.cgi?id=76203 * Pending Action Items: + crashtest box - more research (Moggi/Cloph) [ still pending discovering which document is the one ... box is doing something now (Cloph) ... ] + will try filing a lot of small string changes as easy hacks (Astron) * Release Engineering update (Christian) + iOS remote approved with fix for iOS5 + will pull the Android remote translations, and will publish that as a public release + 4.2.3 rc2 status + pushed to early testing QA already, synching to the mirrors + will be released today / tomorrow morning. + on-line update is triggered by micro version being larger + so far only 4.2 getting updates to 4.2.2 + users on 4.1.5 etc. not getting updates to that. + 4.1.next - April 7th * UX update (Astron) + not much to report * Daylight saving reminder: + same European local-time next week * Performance regression testing (Matus) + raw data from Matus' callgrind / tinderbox profiling script is: + http://dev-builds.libreoffice.org/callgrind_report/ + recently expanded to use around 10x test files + we load them, and save them and log the pseudo-cycles + the hope is that this will run regularly (taking ~10 hours) and produce a long time series to spot performance problems. + history_old.fods + concerned by the big 7x XLSX test jump (Norbert) + in beginning, only loading, but now exporting too, and the export takes a lot longer. + the big drop is 20x days of data we lost + performance seems stable, if not very slightly better over time + what do the numbers mean ? (Kohei) + they are callgrind pseudo-cycles - using cache simulation (Matus) + can we publish the latest callgrind output files ? (Michael) + sounds reasonable AI: + look into automatic up-load of data last callgrind traces (Matus/Cloph) + where is the script ? (Michael) + in buildbot.git/loperf/* + test files in testfiles.git/loperf + why are numbers in history.fods different ? (Kendy) + divided by a million to make it easier to read (Matus) + also measuring the first-ever-start and 1st start (Matus) * Security-related bugs in release notes (Michael Stahl) + users should not be adding those, eg: + https://wiki.documentfoundation.org/index.php?title=ReleaseNotes%2F4.0diff=87766oldid=86905 + not really a security bug = should be removed. + shouldn't list security bugs in the release notes (Norbert) + many bugs are security bugs + concerned wrt. the process too (Bjoern) + if we do fix security bugs we have the page here: + https://www.libreoffice.org/about-us/security/advisories/ + mozilla have a single CVE for each release (Michael) + that includes all potential security related issues + concern with other projects using the code + concern wrt. total Mitre non-responsiveness + leave as-is. AI: + remove recently added, misleading security bug section from release notes (Michael S) * GSoC update (Cedric) + have around a dozen good looking students + final slot request due April 7th + requested 9 min, 12 max. + continue rating the students in the meantime at: + http://www.google-melange.com/gsoc/proposal/list/org/google/gsoc2014 * New committers (welcome to the team) (Norbert) + Chris Sherlock - great work in VCL + Maxim Monastirsky - impressive calc work (Kohei) * Crashtest update (Markus) + pending the fix. * Gran Canaria hack-fest (Bjoern) + April 24-25, 2014 (Thu-Fri) + book flights etc. + hotel is booked by TDF from Wednesday to Saturday see https://wiki.documentfoundation.org/Hackfest/GranCanaria2014#Accomodation for details + venue is online too: https://wiki.documentfoundation.org/Hackfest/GranCanaria2014#Venue + bus from the hotel - university planned. * Certification Committee (Stephan/Bjoern/Kendy) AI: + inform marketing guys wrt. certification (Kendy) * UX test at LibrePlanet / SpinachCon (Robinson) + several bugs / rendering issues to enter + events are important, get good feedback etc. * QA (Robinson) + doing a bit better with bug triage this week + stable at 930 or so unconfirmed + almost no 4.2 writer regressions + down to about three + asked QA veterans to
Re: [Libreoffice-qa] [ANN] LibreOffice 4.2.3 RC2 test builds available
Hi Christian, Do you want to publish LibreOffice-4.2.3 with a critical bug that will only in this version of Calc? What do you think about that this release will be used in Ubuntu-14.04? -- ape -- View this message in context: http://nabble.documentfoundation.org/Libreoffice-qa-ANN-LibreOffice-4-2-3-RC2-test-builds-available-tp4103160p4103216.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 76673] New: Other: Ugly looking buttons (every single one have a different length) at https://www.libreoffice.org/download/libreoffice-fresh/
https://bugs.freedesktop.org/show_bug.cgi?id=76673 Priority: medium Bug ID: 76673 CC: webs...@global.libreoffice.org Assignee: libreoffice-bugs@lists.freedesktop.org Summary: Other: Ugly looking buttons (every single one have a different length) at https://www.libreoffice.org/download/libreoffice-fresh / Severity: normal Classification: Unclassified OS: Windows (All) Reporter: bulwersa...@gmail.com Hardware: Other Whiteboard: BSA Status: UNCONFIRMED Version: 4.3.0.0.alpha0+ Master Component: WWW Product: LibreOffice Problem description: Steps to reproduce: 1. go to https://www.libreoffice.org/download/libreoffice-fresh/ Current behavior: System Requirements and three buttons below have different length Expected behavior: Unified button size Download button, and document freedom day banner also have completely different font. Operating System: Windows 7 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
[Libreoffice-bugs] [Bug 76551] FORMCONTROLS: Page Size Controls on the Sidebar
https://bugs.freedesktop.org/show_bug.cgi?id=76551 Owen Genat owen.ge...@gmail.com changed: What|Removed |Added Attachment #96284|text/plain |image/png mime type|| -- 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 76674] New: Insert Database Columns
https://bugs.freedesktop.org/show_bug.cgi?id=76674 Priority: medium Bug ID: 76674 Assignee: libreoffice-bugs@lists.freedesktop.org Summary: Insert Database Columns Severity: normal Classification: Unclassified OS: Windows (All) Reporter: lenmong...@yahoo.com Hardware: x86 (IA32) Status: UNCONFIRMED Version: 4.2.2.1 release Component: Writer Product: LibreOffice Created attachment 96442 -- https://bugs.freedesktop.org/attachment.cgi?id=96442action=edit before and after This happens when I paste data coming from Base. Insert data as FIELDS. format how the data should look like on the right textbox. press OK. please refer to the image attached. most of the formatting I have made didn't show. -- 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 76674] Insert Database Columns as Fields, not formatting properly
https://bugs.freedesktop.org/show_bug.cgi?id=76674 Allen Mongado lenmong...@yahoo.com changed: What|Removed |Added Summary|Insert Database Columns |Insert Database Columns as ||Fields, not formatting ||properly -- 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 76280] TABLE: Missing upper table border in a multiple column section
https://bugs.freedesktop.org/show_bug.cgi?id=76280 --- Comment #2 from Dominique Boutry dominique.bout...@laposte.net --- Tied with bug 70018, in my opinion. -- 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 76675] New: VIEWING: sheet position shared between windows
https://bugs.freedesktop.org/show_bug.cgi?id=76675 Priority: medium Bug ID: 76675 Assignee: libreoffice-bugs@lists.freedesktop.org Summary: VIEWING: sheet position shared between windows Severity: normal Classification: Unclassified OS: Linux (All) Reporter: fabien.andre...@gmail.com Hardware: Other Whiteboard: BSA Status: UNCONFIRMED Version: 4.1.4.2 release Component: Writer Product: LibreOffice Problem description: While opening another view (new window) on a document, is is not possible to set the size of window independently. Steps to reproduce: 1. Open a text document in print layout (mise en page d'impression in French). 2. Open a new Window on this Document. 3. Change the width of window A Current behavior: The offset of the sheet update in window A and window B. The sheet is no more centered in window B. Expected behavior: The sheet position adapt to window A size and is kept unchanged (and centered) in window B Operating System: Debian Version: 4.1.4.2 release -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 76652] FORMATTING: Strikethrough option doesn't work when opening a Micorsoft PPT file
https://bugs.freedesktop.org/show_bug.cgi?id=76652 Foss f...@openmailbox.org changed: What|Removed |Added Status|UNCONFIRMED |NEEDINFO Ever confirmed|0 |1 --- Comment #1 from Foss f...@openmailbox.org --- Please attach a testcase file. Also could you try how LO 4.2.2.1 behaves? http://www.libreoffice.org/download/libreoffice-fresh/ -- 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 76655] FILEOPEN: open rtf file
https://bugs.freedesktop.org/show_bug.cgi?id=76655 Foss f...@openmailbox.org changed: What|Removed |Added Status|UNCONFIRMED |NEEDINFO Ever confirmed|0 |1 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 76656] PRINTING: charts not printed correctly in LO 4.2.3.1
https://bugs.freedesktop.org/show_bug.cgi?id=76656 Foss f...@openmailbox.org changed: What|Removed |Added Status|UNCONFIRMED |NEEDINFO Ever confirmed|0 |1 --- Comment #1 from Foss f...@openmailbox.org --- Can you please remove sensitive data and attach a testfile. -- 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 76639] dates are changed
https://bugs.freedesktop.org/show_bug.cgi?id=76639 --- Comment #2 from weyn.her...@gmail.com --- both, interface and local languuage are dutch (belgian) and the timezone is brussels groetjes, herman weyn weyn.her...@gmail.com tel: +32(0)474692440 2014-03-26 22:13 GMT+01:00 bugzilla-dae...@freedesktop.org: m.a.riosv mari...@miguelangel.mobi changed bug 76639https://bugs.freedesktop.org/show_bug.cgi?id=76639 What Removed Added Status UNCONFIRMED NEEDINFO CC mari...@miguelangel.mobi Ever confirmed 1 *Comment # 1 https://bugs.freedesktop.org/show_bug.cgi?id=76639#c1 on bug 76639 https://bugs.freedesktop.org/show_bug.cgi?id=76639 from m.a.riosv mari...@miguelangel.mobi * Hi Weyn, thanks for reporting. Please, what is you user interface language, your locale language, and the time zone in your system? -- You are receiving this mail because: - You reported the bug. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 76673] Other: Ugly looking buttons (every single one have a different length) at https://www.libreoffice.org/download/libreoffice-fresh/
https://bugs.freedesktop.org/show_bug.cgi?id=76673 Foss f...@openmailbox.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Foss f...@openmailbox.org --- Agreed. NEW. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 74015] EDITING: Writer hangs when removing table row
https://bugs.freedesktop.org/show_bug.cgi?id=74015 --- Comment #4 from ape idler@mail.ru --- Created attachment 96443 -- https://bugs.freedesktop.org/attachment.cgi?id=96443action=edit This bug is not confirmed See the animation (an attachment). The row is deleted. Writer works. -- Windows XP 64-bit Edition; LibreOffice 4.2.3.1(rc1) -- 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 74015] EDITING: Writer hangs when removing table row
https://bugs.freedesktop.org/show_bug.cgi?id=74015 ape idler@mail.ru changed: What|Removed |Added Severity|blocker |critical -- 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 74015] EDITING: Writer hangs when removing table row
https://bugs.freedesktop.org/show_bug.cgi?id=74015 ape idler@mail.ru changed: What|Removed |Added Status|NEW |NEEDINFO CC||idler@mail.ru -- 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 76259] EDITING: Undo: Tables vs numbered list
https://bugs.freedesktop.org/show_bug.cgi?id=76259 Dominique Boutry dominique.bout...@laposte.net changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Dominique Boutry dominique.bout...@laposte.net --- Reproduced with LibO 4.2.2.1 on Win7. The list is the document outline. Before the paste, there are already 3 entries, from which the second one has a no numbering direct attribute. The copy occurs on a table which resides on this heading component (the second one). The paste copies it in the third one, which become corrupted at this point (the outline numbering is no longer at the beginning of the component, it is interverted with the copied table). It is therefore not surprising that the undo be unable to restore the previous situation. Set to NEW -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 76237] Wrong padding values at LO Math formula objects
https://bugs.freedesktop.org/show_bug.cgi?id=76237 --- Comment #1 from Dominique Boutry dominique.bout...@laposte.net --- Reproduced (same 4.2.2.1 version, on Win7). Take care that 0 could be too low (see bug 71891, not so invalid after all...). -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 76673] Other: Ugly looking buttons (every single one have a different length) at https://www.libreoffice.org/download/libreoffice-fresh/
https://bugs.freedesktop.org/show_bug.cgi?id=76673 --- Comment #2 from Marina Latini mar...@studiostorti.com --- The DFD banner has a different font because is the official banner of the International event. The official font for DFD marketing materials is yanone kaffeesatz. (In reply to comment #0) Download button, and document freedom day banner also have completely different font. -- 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 76588] facing text rendering of menus show golu(ऺ) issue with the libreoffice version 4.3
https://bugs.freedesktop.org/show_bug.cgi?id=76588 Rays ritu27...@gmail.com changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0 |1 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 76236] Indeterministic hypertext link fragmentation
https://bugs.freedesktop.org/show_bug.cgi?id=76236 --- Comment #1 from Dominique Boutry dominique.bout...@laposte.net --- One naive way to get such a result is to insert a paragraph mark inside the hyperlink text then delete it. Of course I suppose that your other edits on the document don't include such operations. -- 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 74015] EDITING: Writer hangs when removing table row
https://bugs.freedesktop.org/show_bug.cgi?id=74015 ape idler@mail.ru changed: What|Removed |Added Status|NEEDINFO|NEW --- Comment #5 from ape idler@mail.ru --- This bug is confirmed only in the LibO-4.1.x (ver_4.1.6.0.0+; ID: b6d9aa63ab63f3236712b2b68155e6b0d129a68; Win-x86_9-Voreppe; Time: 2014-03-20_06.08.40). LibO-4.2(3).x works fine. -- 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 75441] Tamil99 keyboard typing wrong display when converted to Latha font
https://bugs.freedesktop.org/show_bug.cgi?id=75441 --- Comment #10 from Oppili sripathy...@gmail.com --- The Latha, Tamu Maduram and Lohit Tamil fonts works well now for Tamil99 keyboard. Tamil Typing in LO writer using Unicode Tamil Keyboard works well for fonts Arial, Timesnewroman Lohit Hindi, but the same fonts give wrong display if typed in Tamil99 Keyboard. This can be confirmed by converting the words to the above fonts in the doc file submitted. Hence requesting to make Tamil99 Keyboard typing compatible universally. Tamil99 is the best Tamil typing layout and recommended by Government of Tamilnadu. Many thanks for the interest shown. P.S : the issue with Latha font conversion does not exist now as reported on 2nd March. Now only requesting to make Tamil99 compatible for all fonts. -- 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 74287] No color selectable for scatter chart points if there is no line
https://bugs.freedesktop.org/show_bug.cgi?id=74287 Katarina Behrens bu...@bubli.org changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|libreoffice-b...@lists.free |bu...@bubli.org |desktop.org | --- Comment #6 from Katarina Behrens bu...@bubli.org --- Claiming this one -- 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 71423] Impress frequently crashes when editing tables in slides
https://bugs.freedesktop.org/show_bug.cgi?id=71423 --- Comment #32 from choffardet pierre.choffar...@free.fr --- With le latest 4.3.2 opening a presentation. working on it 20 minutes. When on a slide with a table. Selecting a column - align centre == crash (of course now I save it before touching a table) I guess no-one is working on this bug. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 71423] Impress frequently crashes when editing tables in slides
https://bugs.freedesktop.org/show_bug.cgi?id=71423 choffardet pierre.choffar...@free.fr changed: What|Removed |Added Severity|critical|blocker -- 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 76652] FORMATTING: Strikethrough option doesn't work when opening a Micorsoft PPT file
https://bugs.freedesktop.org/show_bug.cgi?id=76652 --- Comment #2 from Borivoje Petrovic boriv...@gmail.com --- Created attachment 96444 -- https://bugs.freedesktop.org/attachment.cgi?id=96444action=edit The text strikethrough in this file was originally saved with strikethrough formatting. -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 76652] FORMATTING: Strikethrough option doesn't work when opening a Micorsoft PPT file
https://bugs.freedesktop.org/show_bug.cgi?id=76652 --- Comment #3 from Borivoje Petrovic boriv...@gmail.com --- The same problem is in the latest version from the PPA - 4.2.2.1 -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs