[Libreoffice-commits] core.git: editeng/source include/editeng include/sfx2 sc/source svx/source sw/source
editeng/source/editeng/editview.cxx | 12 ++-- editeng/source/editeng/impedit.cxx| 24 +--- editeng/source/editeng/impedit.hxx| 10 -- editeng/source/outliner/outlvw.cxx|4 ++-- include/editeng/editview.hxx |7 +++ include/editeng/outliner.hxx | 12 ++-- include/sfx2/viewsh.hxx |5 +++-- sc/source/ui/app/inputhdl.cxx |2 +- sc/source/ui/view/viewdata.cxx|2 +- svx/source/svdraw/svdedxv.cxx |2 +- sw/source/uibase/docvw/SidebarWin.cxx |2 +- 11 files changed, 37 insertions(+), 45 deletions(-) New commits: commit 0762a119fc0a17b80dab1e49fb832a2214f85fdc Author: Miklos VajnaDate: Tue Aug 2 11:43:39 2016 +0200 editeng: make SfxUndoAction::GetViewShellId() interface available Extend the existing OutlinerViewCallable interface to be able to obtain the view shell ID of a view shell, even from editeng. Change-Id: I13708b0e4f58ee86643b913c7d21de022a685223 Reviewed-on: https://gerrit.libreoffice.org/27788 Reviewed-by: Miklos Vajna Tested-by: Jenkins diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx index 38dac90..f00678f 100644 --- a/editeng/source/editeng/editview.cxx +++ b/editeng/source/editeng/editview.cxx @@ -401,9 +401,9 @@ void EditView::ShowCursor( bool bGotoCursor, bool bForceVisCursor, bool bActivat bGotoCursor = false; pImpEditView->ShowCursor( bGotoCursor, bForceVisCursor ); -if (comphelper::LibreOfficeKit::isActive() && !bActivate) +if (pImpEditView->mpViewShell && !bActivate) { - pImpEditView->libreOfficeKitViewCallback(LOK_CALLBACK_CURSOR_VISIBLE, OString::boolean(true).getStr()); + pImpEditView->mpViewShell->libreOfficeKitViewCallback(LOK_CALLBACK_CURSOR_VISIBLE, OString::boolean(true).getStr()); } } } @@ -412,9 +412,9 @@ void EditView::HideCursor(bool bDeactivate) { pImpEditView->GetCursor()->Hide(); -if (comphelper::LibreOfficeKit::isActive() && !bDeactivate) +if (pImpEditView->mpViewShell && !bDeactivate) { -pImpEditView->libreOfficeKitViewCallback(LOK_CALLBACK_CURSOR_VISIBLE, OString::boolean(false).getStr()); + pImpEditView->mpViewShell->libreOfficeKitViewCallback(LOK_CALLBACK_CURSOR_VISIBLE, OString::boolean(false).getStr()); } } @@ -583,9 +583,9 @@ Color EditView::GetBackgroundColor() const return pImpEditView->GetBackgroundColor(); } -void EditView::registerLibreOfficeKitViewCallback(OutlinerViewCallable *pCallable) +void EditView::RegisterViewShell(OutlinerViewShell* pViewShell) { -pImpEditView->registerLibreOfficeKitViewCallback(pCallable); +pImpEditView->RegisterViewShell(pViewShell); } void EditView::SetControlWord( EVControlBits nWord ) diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx index a7b8b40..b3cf784 100644 --- a/editeng/source/editeng/impedit.cxx +++ b/editeng/source/editeng/impedit.cxx @@ -79,7 +79,7 @@ ImpEditView::ImpEditView( EditView* pView, EditEngine* pEng, vcl::Window* pWindo pOutWin = pWindow; pPointer= nullptr; pBackgroundColor= nullptr; -mpLibreOfficeKitViewCallable = nullptr; +mpViewShell = nullptr; nScrollDiffX= 0; nExtraCursorFlags = 0; nCursorBidiLevel= CURSOR_BIDILEVEL_DONTKNOW; @@ -117,15 +117,9 @@ void ImpEditView::SetBackgroundColor( const Color& rColor ) pBackgroundColor = new Color( rColor ); } -void ImpEditView::registerLibreOfficeKitViewCallback(OutlinerViewCallable* pCallable) +void ImpEditView::RegisterViewShell(OutlinerViewShell* pViewShell) { -mpLibreOfficeKitViewCallable = pCallable; -} - -void ImpEditView::libreOfficeKitViewCallback(int nType, const char* pPayload) const -{ -if (mpLibreOfficeKitViewCallable) -mpLibreOfficeKitViewCallable->libreOfficeKitViewCallback(nType, pPayload); +mpViewShell = pViewShell; } void ImpEditView::SetEditSelection( const EditSelection& rEditSelection ) @@ -343,7 +337,7 @@ void ImpEditView::DrawSelection( EditSelection aTmpSel, vcl::Region* pRegion, Ou { *pRegion = vcl::Region( *pPolyPoly ); -if (comphelper::LibreOfficeKit::isActive() && !pOldRegion) +if (comphelper::LibreOfficeKit::isActive() && mpViewShell && !pOldRegion) { pOutWin->Push(PushFlags::MAPMODE); if (pOutWin->GetMapMode().GetMapUnit() == MAP_TWIP) @@ -386,7 +380,7 @@ void ImpEditView::DrawSelection( EditSelection aTmpSel, vcl::Region* pRegion, Ou aStart = OutputDevice::LogicToLogic(aStart, MAP_100TH_MM, MAP_TWIP); aStart.Move(aOrigin.getX(), aOrigin.getY()); -
[Libreoffice-commits] core.git: solenv/gbuild
solenv/gbuild/platform/com_GCC_defs.mk |3 --- solenv/gbuild/platform/solaris.mk |2 -- solenv/gbuild/platform/unxgcc.mk |2 -- 3 files changed, 7 deletions(-) New commits: commit 78cdd1b224b9e3f2ed318c9e4b04c5d04abea603 Author: Tor LillqvistDate: Tue Aug 2 12:38:20 2016 +0300 Remove some presumably unnecessary leftovers from ancient times I could not find that SHORTSTDC3 or SHORTSTDCPP3 would have any meaning. They only occur here (and in our history). Change-Id: I45141e60c144207fbf3fc0c5e59340b80951b212 diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk index 10f9a47..d44b3ee 100644 --- a/solenv/gbuild/platform/com_GCC_defs.mk +++ b/solenv/gbuild/platform/com_GCC_defs.mk @@ -39,9 +39,6 @@ ifeq ($(strip $(gb_COMPILEROPTFLAGS)),) gb_COMPILEROPTFLAGS := -O2 endif -gb_SHORTSTDC3 := 1 -gb_SHORTSTDCPP3 := 6 - gb_CPPU_ENV := gcc3 gb_AFLAGS := $(AFLAGS) diff --git a/solenv/gbuild/platform/solaris.mk b/solenv/gbuild/platform/solaris.mk index 0b1cb0c..1e9a1f3 100644 --- a/solenv/gbuild/platform/solaris.mk +++ b/solenv/gbuild/platform/solaris.mk @@ -315,8 +315,6 @@ $(call gb_InstallModuleTarget_add_defs,$(1),\ $(gb_CPUDEFS) \ $(gb_OSDEFS) \ -DCOMID=gcc3 \ - -DSHORTSTDC3=$(gb_SHORTSTDC3) \ - -DSHORTSTDCPP3=$(gb_SHORTSTDCPP3) \ -D_gcc3 \ ) diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk index 4d3ede2..d6b9fcfe 100644 --- a/solenv/gbuild/platform/unxgcc.mk +++ b/solenv/gbuild/platform/unxgcc.mk @@ -314,8 +314,6 @@ $(call gb_InstallModuleTarget_add_defs,$(1),\ $(gb_CPUDEFS) \ $(gb_OSDEFS) \ -DCOMID=gcc3 \ - -DSHORTSTDC3=$(gb_SHORTSTDC3) \ - -DSHORTSTDCPP3=$(gb_SHORTSTDCPP3) \ -D_gcc3 \ ) ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - sw/source
sw/source/core/layout/paintfrm.cxx | 18 -- 1 file changed, 18 deletions(-) New commits: commit 832d359930c86c7bfe5547e580d1bfadd9177642 Author: Caolán McNamaraDate: Tue Aug 2 11:18:25 2016 +0100 Resolves: tdf#101241 Revert "fix paint table border in DOUBLE_THIN style" because of the never-ending invalidate and paint of tdf#101241 there was no bug or route to reproduce the original problem so can't try to solve it a different way. This reverts commit 9a95520948de1d92c55252aa5f90606b01d6ac9e. (cherry picked from commit 772191616a0cceebf91a9674ce7417d5cad0050f) Change-Id: Ib3c0421247a20f047d396b13ec17dbfe27cb780c Reviewed-on: https://gerrit.libreoffice.org/27789 Tested-by: Jenkins Reviewed-by: Michael Stahl diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index 4d6c784..b973507 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -2742,24 +2742,6 @@ void SwTabFramePainter::PaintLines(OutputDevice& rDev, const SwRect& rRect) cons aPaintEnd.Y() += static_cast(offsetEnd + 0.5); } -if( rEntryStyle.Type() == table::BorderLineStyle::DOUBLE_THIN ) -{ -long aPixel = rDev.PixelToLogic( Point(1, 1) ).getX(); -SwRect aPaintEx( aPaintStart, aPaintEnd ); -if( bHori ) -{ -aPaintEx.Pos().Y() -= aPixel; -aPaintEx.SSize().Height() += aPixel * 2; -} -else -{ -aPaintEx.Pos().X() -= aPixel; -aPaintEx.SSize().Width() += aPixel * 2; -} - -gProp.pSGlobalShell->InvalidateWindows( aPaintEx ); -} - if (bHori) { mrTabFrame.ProcessPrimitives( svx::frame::CreateBorderPrimitives( ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.1' - desktop/source
desktop/source/lib/init.cxx |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) New commits: commit 38fe9fde5cf0dc20272f093989a7797a8ba0e09f Author: Michael MeeksDate: Fri Jul 29 17:19:47 2016 +0100 lok: re-load UNO bootstrap pieces and set UserInstallation on second init. Ideally should check whether the path is different. Changing the user-install path is useful for valgrinding online outside of a chroot jail. Change-Id: I6ad76af1245491acdcb6664896be89073406b742 Reviewed-on: https://gerrit.libreoffice.org/27782 Reviewed-by: Michael Meeks Tested-by: Michael Meeks diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index deb6cd8..fe1245e 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -2237,7 +2237,7 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char if (eStage != PRE_INIT) comphelper::LibreOfficeKit::setStatusIndicatorCallback(lo_status_indicator_callback, pLib); -if (eStage != SECOND_INIT && pUserProfileUrl) +if (pUserProfileUrl) { OUString url( pUserProfileUrl, strlen(pUserProfileUrl), RTL_TEXTENCODING_UTF8); @@ -2253,6 +2253,8 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char SAL_WARN("lok", "resolving <" << url << "> failed with " << +e); } rtl::Bootstrap::set("UserInstallation", url); +if (eStage == SECOND_INIT) +utl::Bootstrap::reloadData(); } OUString aAppPath; ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: sc/qa
sc/qa/unit/data/functions/fods/sumif.fods | 2923 ++ 1 file changed, 2923 insertions(+) New commits: commit b796090525e674154806c81d2c5ce9d872c3f541 Author: ZdenÄk CrhonekDate: Sat Jul 30 13:49:03 2016 +0200 add SUMIF test case Change-Id: I836acc35137a3edd0d73c2c5372230c7968a536d Reviewed-on: https://gerrit.libreoffice.org/27718 Tested-by: Jenkins Reviewed-by: Markus Mohrhard diff --git a/sc/qa/unit/data/functions/fods/sumif.fods b/sc/qa/unit/data/functions/fods/sumif.fods new file mode 100644 index 000..4bb3516 --- /dev/null +++ b/sc/qa/unit/data/functions/fods/sumif.fods @@ -0,0 +1,2923 @@ + + +http://www.w3.org/1999/xlink; xmlns:dc="http://purl.org/dc/elements/1.1/; xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML; xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:scr ipt="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office; xmlns:ooow="http://openoffice.org/2004/writer; xmlns:oooc="http://openoffice.org/2004/calc; xmlns:dom="http://www.w3.org/2001/xml-events; xmlns:xforms="http://www.w3.org/2002/xforms; xmlns:xsd="http://www.w3.org/2001/XMLSchema; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xmlns:rpt="http://openoffice.org/2005/report; xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml; xmlns:grddl="http://www.w3.org/2003/g/data-view#; xmlns:tableooo="http://openoffice.org/2009/table; xmlns:drawooo="http://openoffice.org/2010/draw; xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:form x="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/; office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.spreadsheet"> + 2016-06-25T07:16:38.437590147P0D1LibreOfficeDev/5.3.0.0.alpha0$Linux_X86_64 LibreOffice_project/d2e4753c3f511cfc6b2932ce60d0bc2e09296f9f + + + 0 + 0 + 58001 + 13638 + + + view1 + + + 1 + 7 + 0 + 0 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + 0 + 80 + 60 + true + false + + + 3 + 19 + 0 + 0 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + 0 + 80 + 60 + true + false + + + Sheet2 + 1241 + 0 + 80 + 60 + false + true + true + true + 12632256 + true + true + true + true + false + false + false + 1270 + 1270 + 1 + 1 + true + false + + + + + 7 + false + false + true + true + false + false + false + 1270 + 1270 + true + true + true + true + true + false + 12632256 + false + Lexmark-E352dn + + + en + US + + + + + + true + true + 3 + 1 + true + 1 + true + qQH+/0xleG1hcmstRTM1MmRuQ1VQUzpMZXhtYXJrLUUzNTJkbgAWAAMAzwAEAAhSAAAEdAAASm9iRGF0YSAxCnByaW50ZXI9TGV4bWFyay1FMzUyZG4Kb3JpZW50YXRpb249UG9ydHJhaXQKY29waWVzPTEKY29sbGF0ZT1mYWxzZQptYXJnaW5kYWp1c3RtZW50PTAsMCwwLDAKY29sb3JkZXB0aD0yNApwc2xldmVsPTAKcGRmZGV2aWNlPTEKY29sb3JkZXZpY2U9MApQUERDb250ZXhEYXRhCkR1cGxleDpOb25lAElucHV0U2xvdDpUcmF5MQBQYWdlU2l6ZTpBNAAAEgBDT01QQVRfRFVQTEVYX01PREUKAERVUExFWF9PRkY= + false + 0 + + + + + http://openoffice.org/2004/office; xmlns:xlink="http://www.w3.org/1999/xlink;> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KÄ + + + + - + + + KÄ + + + +$ + + + + +$( + + ) + + +$- + + + + + + + + + + + + + + + £ + + + + - + £ + + + + + £ + + + + - + £ + + + + + £ + + + + + - + £ + + + + + £ + + + + + - + £ + + + + + £ + + + + + - + £ + + + + + +
[Libreoffice-commits] core.git: include/svx sc/source sd/source sfx2/source starmath/source svx/source vcl/source
include/svx/sidebar/PanelLayout.hxx |4 ++-- sc/source/ui/app/inputwin.cxx|7 +++ sc/source/ui/view/gridwin.cxx|6 ++ sd/source/ui/view/sdwindow.cxx |5 - sfx2/source/dialog/backingwindow.cxx | 13 - sfx2/source/dialog/backingwindow.hxx |1 - starmath/source/edit.cxx |7 +++ svx/source/sidebar/PanelLayout.cxx |7 +++ vcl/source/window/syswin.cxx |8 +++- vcl/source/window/winproc.cxx| 31 --- 10 files changed, 40 insertions(+), 49 deletions(-) New commits: commit 0321dbb9be72f92c02919457cdc3c4e76cfbd11d Author: Caolán McNamaraDate: Sat Jul 30 21:29:48 2016 +0100 Resolves: tdf#99324 let sidebar toggle auto-mnemonics on/off with alt this returns things to passing the alt to the thing with the focus and depends on ::Command handlers passing the alt-press/release back up through the Command hierarchy to get to the default top-level handler eventually Change-Id: I869120f43810adfa2fac4670c2db143b790a1f9b diff --git a/include/svx/sidebar/PanelLayout.hxx b/include/svx/sidebar/PanelLayout.hxx index 22b229c..ddc2a0e 100644 --- a/include/svx/sidebar/PanelLayout.hxx +++ b/include/svx/sidebar/PanelLayout.hxx @@ -29,7 +29,7 @@ private: bool m_bInClose; bool hasPanelPendingLayout() const; -DECL_DLLPRIVATE_LINK_TYPED( ImplHandlePanelLayoutTimerHdl, Idle*, void ); +DECL_DLLPRIVATE_LINK_TYPED(ImplHandlePanelLayoutTimerHdl, Idle*, void); public: PanelLayout(vcl::Window* pParent, const OString& rID, const OUString& rUIXMLDescription, @@ -40,7 +40,7 @@ public: virtual Size GetOptimalSize() const override; virtual void setPosSizePixel(long nX, long nY, long nWidth, long nHeight, PosSizeFlags nFlags = PosSizeFlags::All) override; virtual void queue_resize(StateChangedType eReason = StateChangedType::Layout) override; - +virtual bool Notify(NotifyEvent& rNEvt) override; }; #endif diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx index 433b7ee..b37e376 100644 --- a/sc/source/ui/app/inputwin.cxx +++ b/sc/source/ui/app/inputwin.cxx @@ -1484,6 +1484,13 @@ void ScTextWnd::MouseButtonUp( const MouseEvent& rMEvt ) void ScTextWnd::Command( const CommandEvent& rCEvt ) { +//pass alt press/release to parent impl +if (rCEvt.GetCommand() == CommandEventId::ModKeyChange) +{ +Window::Command(rCEvt); +return; +} + bInputMode = true; CommandEventId nCommand = rCEvt.GetCommand(); if ( pEditView /* && nCommand == CommandEventId::StartDrag */ ) diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index 1e7a3bd..b56aeb0 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -2842,6 +2842,12 @@ void ScGridWindow::Command( const CommandEvent& rCEvt ) ScModule* pScMod = SC_MOD(); OSL_ENSURE( nCmd != CommandEventId::StartDrag, "ScGridWindow::Command called with CommandEventId::StartDrag" ); +if (nCmd == CommandEventId::ModKeyChange) +{ +Window::Command(rCEvt); +return; +} + if ( nCmd == CommandEventId::StartExtTextInput || nCmd == CommandEventId::EndExtTextInput || nCmd == CommandEventId::ExtTextInput || diff --git a/sd/source/ui/view/sdwindow.cxx b/sd/source/ui/view/sdwindow.cxx index dde0d8c..4c51a51 100644 --- a/sd/source/ui/view/sdwindow.cxx +++ b/sd/source/ui/view/sdwindow.cxx @@ -261,8 +261,11 @@ void Window::MouseButtonUp(const MouseEvent& rMEvt) void Window::Command(const CommandEvent& rCEvt) { -if ( mpViewShell ) +if (mpViewShell) mpViewShell->Command(rCEvt, this); +//pass at least alt press/release to parent impl +if (rCEvt.GetCommand() == CommandEventId::ModKeyChange) +vcl::Window::Command(rCEvt); } bool Window::Notify( NotifyEvent& rNEvt ) diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index 6059ca1..2d0940a 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -163,18 +163,6 @@ BackingWindow::BackingWindow( vcl::Window* i_pParent ) : // init background SetBackground(); - -GetParent()->AddEventListener(LINK(this, BackingWindow, WindowEventListener)); -} - -IMPL_LINK_TYPED(BackingWindow, WindowEventListener, VclWindowEvent&, rEvent, void) -{ -if (rEvent.GetId() != VCLEVENT_WINDOW_COMMAND) -return; -CommandEvent* pCmdEvt = static_cast (rEvent.GetData()); -if (pCmdEvt->GetCommand() != CommandEventId::ModKeyChange) -return; -Accelerator::ToggleMnemonicsOnHierarchy(*pCmdEvt, this); } BackingWindow::~BackingWindow() @@ -184,7 +172,6 @@ BackingWindow::~BackingWindow() void BackingWindow::dispose() { -GetParent()->RemoveEventListener(LINK(this, BackingWindow, WindowEventListener)); //
[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.1' - sc/qa sc/sdi sc/source
sc/qa/unit/tiledrendering/tiledrendering.cxx | 43 +++ sc/sdi/scalc.sdi |8 + sc/source/ui/view/cellsh3.cxx| 31 ++- 3 files changed, 74 insertions(+), 8 deletions(-) New commits: commit 8eccd8f82572f5dfdeabca7010b13bf773aa6a97 Author: Henry CastroDate: Fri Jul 29 15:00:49 2016 -0400 sc lok: add parameters for column/row resize Change-Id: I189178b6060c229dd8d93b6fdee7d4d81354ced5 Reviewed-on: https://gerrit.libreoffice.org/27701 Tested-by: Jenkins Reviewed-by: Henry Castro diff --git a/sc/qa/unit/tiledrendering/tiledrendering.cxx b/sc/qa/unit/tiledrendering/tiledrendering.cxx index a1a9dc8..f049f4e 100644 --- a/sc/qa/unit/tiledrendering/tiledrendering.cxx +++ b/sc/qa/unit/tiledrendering/tiledrendering.cxx @@ -59,6 +59,7 @@ public: void testTextViewSelection(); void testDocumentSizeChanged(); void testViewLock(); +void testColRowResize(); CPPUNIT_TEST_SUITE(ScTiledRenderingTest); CPPUNIT_TEST(testRowColumnSelections); @@ -69,6 +70,7 @@ public: CPPUNIT_TEST(testTextViewSelection); CPPUNIT_TEST(testDocumentSizeChanged); CPPUNIT_TEST(testViewLock); +CPPUNIT_TEST(testColRowResize); CPPUNIT_TEST_SUITE_END(); private: @@ -517,6 +519,47 @@ void ScTiledRenderingTest::testViewLock() comphelper::LibreOfficeKit::setActive(false); } +void ScTiledRenderingTest::testColRowResize() +{ +comphelper::LibreOfficeKit::setActive(); +ScModelObj* pModelObj = createDoc("sort-range.ods"); +ScDocShell* pDocSh = dynamic_cast< ScDocShell* >( pModelObj->GetEmbeddedObject() ); +CPPUNIT_ASSERT(pDocSh); + +ScTabViewShell* pViewShell = pDocSh->GetBestViewShell(false); +CPPUNIT_ASSERT(pViewShell); + + pViewShell->registerLibreOfficeKitViewCallback(::callback, this); + +uno::Sequence aArgs(2); +ScDocument& rDoc = pDocSh->GetDocument(); +// Col 3, Tab 0 +int nOldWidth = rDoc.GetColWidth(static_cast(2), static_cast(0), false); + +aArgs[0].Name = OUString::fromUtf8("Column"); +aArgs[0].Value <<= static_cast(3); +aArgs[1].Name = OUString::fromUtf8("Width"); +aArgs[1].Value <<= static_cast(nOldWidth + 100); +comphelper::dispatchCommand(".uno:ColumnWidth", aArgs); + +int nNewWidth = rDoc.GetColWidth(static_cast(2), static_cast(0), false); +CPPUNIT_ASSERT(nNewWidth > nOldWidth); + +// Row 5, Tab 0 +int nOldHeight = rDoc.GetRowHeight(static_cast(4), static_cast(0), false); + +aArgs[0].Name = OUString::fromUtf8("Row"); +aArgs[0].Value <<= static_cast(5); +aArgs[1].Name = OUString::fromUtf8("Height"); +aArgs[1].Value <<= static_cast(nOldHeight + 100); +comphelper::dispatchCommand(".uno:RowHeight", aArgs); + +int nNewHeight = rDoc.GetRowHeight(static_cast(4), static_cast(0), false); +CPPUNIT_ASSERT(nNewHeight > nOldHeight); + +comphelper::LibreOfficeKit::setActive(false); +} + } CPPUNIT_TEST_SUITE_REGISTRATION(ScTiledRenderingTest); diff --git a/sc/sdi/scalc.sdi b/sc/sdi/scalc.sdi index f1a7225..5cac4bb 100644 --- a/sc/sdi/scalc.sdi +++ b/sc/sdi/scalc.sdi @@ -1009,7 +1009,7 @@ SfxInt16Item Column SID_RANGE_COL SfxUInt16Item ColumnWidth FID_COL_WIDTH - +(SfxUInt16Item Column FN_PARAM_1,SfxUInt16Item Width FN_PARAM_2) [ /* flags: */ AutoUpdate = FALSE, @@ -1024,8 +1024,6 @@ SfxUInt16Item ColumnWidth FID_COL_WIDTH RecordPerSet; Synchron; -Readonly = FALSE, - /* config: */ AccelConfig = TRUE, MenuConfig = TRUE, @@ -6089,7 +6087,7 @@ SfxInt32Item Row SID_RANGE_ROW SfxUInt16Item RowHeight FID_ROW_HEIGHT - +(SfxUInt16Item Row FN_PARAM_1,SfxUInt16Item Height FN_PARAM_2) [ /* flags: */ AutoUpdate = FALSE, @@ -6104,8 +6102,6 @@ SfxUInt16Item RowHeight FID_ROW_HEIGHT RecordPerSet; Synchron; -Readonly = FALSE, - /* config: */ AccelConfig = TRUE, MenuConfig = TRUE, diff --git a/sc/source/ui/view/cellsh3.cxx b/sc/source/ui/view/cellsh3.cxx index b287493..036c45e 100644 --- a/sc/source/ui/view/cellsh3.cxx +++ b/sc/source/ui/view/cellsh3.cxx @@ -43,6 +43,7 @@ #include "editable.hxx" #include "markdata.hxx" #include "scabstdlg.hxx" +#include "columnspanset.hxx" #include @@ -539,7 +540,20 @@ void ScCellShell::Execute( SfxRequest& rReq ) case FID_ROW_HEIGHT: { -if ( pReqArgs ) +const SfxPoolItem* pRow; +const SfxPoolItem* pHeight; + +if ( pReqArgs && pReqArgs->HasItem( FN_PARAM_1, ) && + pReqArgs->HasItem( FN_PARAM_2, ) ) +{ +std::vector aRanges; +SCCOLROW nRow = static_cast(pRow)->GetValue() - 1; +sal_uInt16 nHeight = static_cast(pHeight)->GetValue(); + +
[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.1' - solenv/gbuild
solenv/gbuild/platform/macosx.mk |2 ++ 1 file changed, 2 insertions(+) New commits: commit 52393273558a68fb8e8e8b7a5da233c5e5c712f1 Author: Tor LillqvistDate: Tue Aug 2 13:27:43 2016 +0300 Seems that Clang in Xcode 7.3.1 produces broken code with -O2 in some cases For instance CppunitTest_sw_mailmerge crashes when dbaccess is compiled with -O2, but works fine with -O1. Did not bother with any closer checks for Clang version for now in this branch. Change-Id: I7941e89af312f3102d8b2f4476e29deaaa4d966c diff --git a/solenv/gbuild/platform/macosx.mk b/solenv/gbuild/platform/macosx.mk index 763c9785..361e202 100644 --- a/solenv/gbuild/platform/macosx.mk +++ b/solenv/gbuild/platform/macosx.mk @@ -22,6 +22,8 @@ export VCL_HIDE_WINDOWS=1 gb_SDKDIR := $(MACOSX_SDK_PATH) +gb_COMPILEROPTFLAGS := -O1 + include $(GBUILDDIR)/platform/com_GCC_defs.mk # Darwin mktemp -t expects a prefix, not a pattern ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: sc/qa
sc/qa/unit/data/functions/fods/sumif_wildcards.fods | 2293 1 file changed, 2293 insertions(+) New commits: commit 4e9bd1bc07e82810fba9c29ac7ee3e31ed4eec44 Author: ZdenÄk CrhonekDate: Mon Aug 1 18:55:34 2016 +0200 add SUMIF (wildcards) test case Change-Id: Ic07f45043bd3536fe00d3f6440165cd69792a33d Reviewed-on: https://gerrit.libreoffice.org/27783 Tested-by: Jenkins Reviewed-by: Markus Mohrhard diff --git a/sc/qa/unit/data/functions/fods/sumif_wildcards.fods b/sc/qa/unit/data/functions/fods/sumif_wildcards.fods new file mode 100644 index 000..e43a223 --- /dev/null +++ b/sc/qa/unit/data/functions/fods/sumif_wildcards.fods @@ -0,0 +1,2293 @@ + + +http://www.w3.org/1999/xlink; xmlns:dc="http://purl.org/dc/elements/1.1/; xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML; xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:scr ipt="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office; xmlns:ooow="http://openoffice.org/2004/writer; xmlns:oooc="http://openoffice.org/2004/calc; xmlns:dom="http://www.w3.org/2001/xml-events; xmlns:xforms="http://www.w3.org/2002/xforms; xmlns:xsd="http://www.w3.org/2001/XMLSchema; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xmlns:rpt="http://openoffice.org/2005/report; xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml; xmlns:grddl="http://www.w3.org/2003/g/data-view#; xmlns:tableooo="http://openoffice.org/2009/table; xmlns:drawooo="http://openoffice.org/2010/draw; xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:form x="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/; office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.spreadsheet"> + 2016-04-27T15:14:04.667002016-07-30T00:07:51.550726591PT25M53S7LibreOfficeDev/5.3.0.0.alpha0$Linux_X86_64 LibreOffice_project/f9f090d0d0f2b454d6c1dd14fe735e7e83fda9da + + + 0 + 0 + 17698 + 4261 + + + view1 + + + 1 + 7 + 0 + 0 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + 0 + 100 + 60 + true + false + + + 3 + 24 + 0 + 0 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + 0 + 100 + 60 + true + false + + + Sheet2 + 1241 + 0 + 100 + 60 + false + true + true + true + 12632256 + true + true + true + true + false + false + false + 1000 + 1000 + 1 + 1 + true + false + + + + + 7 + false + false + true + true + false + false + false + 1000 + 1000 + true + true + true + true + true + false + 12632256 + false + Lexmark-E352dn + true + true + 3 + 1 + true + 1 + true + kQH+/0xleG1hcmstRTM1MmRuQ1VQUzpMZXhtYXJrLUUzNTJkbgAWAAMAtwAIAFZUAAAkbQAASm9iRGF0YSAxCnByaW50ZXI9TGV4bWFyay1FMzUyZG4Kb3JpZW50YXRpb249UG9ydHJhaXQKY29waWVzPTEKY29sbGF0ZT1mYWxzZQptYXJnaW5kYWp1c3RtZW50PTAsMCwwLDAKY29sb3JkZXB0aD0yNApwc2xldmVsPTAKcGRmZGV2aWNlPTEKY29sb3JkZXZpY2U9MApQUERDb250ZXhEYXRhClBhZ2VTaXplOkxldHRlcgAAEgBDT01QQVRfRFVQTEVYX01PREUKAERVUExFWF9PRkY= + true + 0 + + + + + http://openoffice.org/2004/office; xmlns:xlink="http://www.w3.org/1999/xlink;> + + + + + + + + + + + + + + + + + + + + + + + + ⬠+ + + + - + + + ⬠+ + + + + + ⬠+ + + + - + + + ⬠+ + + + + + KÄ + + + + - + + + KÄ + + + +$ + + + + +$( + + ) + + +$- + + + + + + + + + + + + + + + £ + + + + - + £ + + + + + £ + + + + - + £ + + + + + £ + + + + + - + £ + + + + + £ + + +
Re: Problem with increase maximum height of the footer
Hi, On Thu, Jun 02, 2016 at 08:40:14AM +0200, Bartosz Kosiorekwrote: > Does anyone knows some more details about that? I assume you want footnotes, not footers, even if the subject says so. I think the core of the issue is the chicken-and-egg problem with footnotes. If you have a text to lay out, and you have a sizable footnote, that means part of the text that was originally on page 1 now moves to page 2. It may happen that the moved text contained the footnote anchor, which means that the footnote also moves to page 2. But then there is unused space on page 1, so the text is moved back, and so on and so on. git grep oscillation sw/source/core/ Gives you plenty of such examples. Limiting the maximum height of footnotes make this problem happening in practice much less frequently. Regards, Miklos signature.asc Description: Digital signature ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: vcl/source
vcl/source/window/menufloatingwindow.cxx | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) New commits: commit f6d0d92a5e249413df99a7f3677a28efe6d45426 Author: Caolán McNamaraDate: Tue Aug 2 13:08:39 2016 +0100 Related: tdf#92516 make menu accelerators always work even if... keyboard not used yet. The gtk2/3 menus appear to work this way. (And when not in gtk2/3 it shouldn't disable the accelerators for other platforms anyway) Change-Id: Ib7a99bd9039cd07120b3b77380f810b5b028fd57 diff --git a/vcl/source/window/menufloatingwindow.cxx b/vcl/source/window/menufloatingwindow.cxx index 022eac2..6506704 100644 --- a/vcl/source/window/menufloatingwindow.cxx +++ b/vcl/source/window/menufloatingwindow.cxx @@ -1104,16 +1104,7 @@ void MenuFloatingWindow::KeyInput( const KeyEvent& rKEvent ) sal_uInt16 nDuplicates = 0; MenuItemData* pData = (nCharCode && pMenu) ? pMenu->GetItemList()->SearchItem(nCharCode, rKEvent.GetKeyCode(), nPos, nDuplicates, nHighlightedItem) : nullptr; -bool bConsume = false; -bool accel = ImplGetSVData()->maNWFData.mbEnableAccel; -if (pData && accel) -{ -Menu *men = pMenu; -while (men && !men->IsMenuBar()) -men = men->pStartedFrom; -bConsume = !men || (static_cast (men->pWindow.get()))->GetMBWMenuKey(); -} -if (bConsume) +if (pData) { if ( pData->pSubMenu || nDuplicates > 1 ) { ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: sc/uiconfig sd/uiconfig
sc/uiconfig/scalc/ui/notebookbar.ui| 25 + sd/uiconfig/simpress/ui/notebookbar.ui | 18 +- 2 files changed, 42 insertions(+), 1 deletion(-) New commits: commit 9162c483bcc6288cc2a92503b6ec34d58496327b Author: Szymon KÅosDate: Tue Aug 2 13:03:21 2016 +0200 GSoC notebookbar: Calc, Impress placeholder icons Change-Id: I2a18c4d610ab1dac2627284c008207a3dbaab406 diff --git a/sc/uiconfig/scalc/ui/notebookbar.ui b/sc/uiconfig/scalc/ui/notebookbar.ui index a774e98..632bdc2 100644 --- a/sc/uiconfig/scalc/ui/notebookbar.ui +++ b/sc/uiconfig/scalc/ui/notebookbar.ui @@ -123,6 +123,11 @@ False cmd/lc_paste.png + +True +False +sfx2/res/placeholder.png + True False @@ -352,6 +357,7 @@ True True .uno:Signature +PlaceholderImg none top @@ -453,6 +459,7 @@ False +Clone True True True @@ -1735,6 +1742,7 @@ True True True +Insert Audio or Video .uno:InsertAVMedia InsertAVMediaImg none @@ -1785,6 +1793,7 @@ True True .uno:FunctionDialog +PlaceholderImg none top @@ -2057,6 +2066,7 @@ vertical +Toggle Grid Lines True True True @@ -2238,6 +2248,7 @@ True True .uno:ManageXMLSource +PlaceholderImg none top @@ -2253,6 +2264,7 @@ True True .uno:DataStreams +PlaceholderImg none top @@ -2297,6 +2309,7 @@ True True .uno:Calculate +PlaceholderImg none top @@ -2517,6 +2530,7 @@ True True .uno:TextToColumns +PlaceholderImg none top @@ -2532,6 +2546,7 @@ True True .uno:Validation +PlaceholderImg none top @@ -2572,6 +2587,7 @@ True True .uno:DataConsolidate +PlaceholderImg none top @@ -2587,6 +2603,7 @@ True True .uno:DataSubTotals +PlaceholderImg none top @@ -2627,6 +2644,7 @@ True True .uno:DataForm +PlaceholderImg none top @@ -2642,6 +2660,7 @@ True True .uno:TableOperationDialog +PlaceholderImg none top @@ -2951,6 +2970,7 @@ True True .uno:ShareDocument +PlaceholderImg none top @@ -3008,6 +3028,7 @@ True True .uno:NormalViewMode +PlaceholderImg none top @@
[Libreoffice-commits] core.git: sc/qa
sc/qa/unit/data/functions/fods/xirr.fods | 5126 +++ 1 file changed, 5126 insertions(+) New commits: commit 6ae6016a6a106cbda6cbb908862c7a00ee0b6678 Author: ZdenÄk CrhonekDate: Mon Aug 1 17:12:17 2016 +0200 add XIRR test xase Change-Id: I5df06aa71c0b23fa07009f46aa3d1555951f3245 Reviewed-on: https://gerrit.libreoffice.org/27780 Tested-by: Jenkins Reviewed-by: Markus Mohrhard diff --git a/sc/qa/unit/data/functions/fods/xirr.fods b/sc/qa/unit/data/functions/fods/xirr.fods new file mode 100644 index 000..0c97ff3 --- /dev/null +++ b/sc/qa/unit/data/functions/fods/xirr.fods @@ -0,0 +1,5126 @@ + + +http://www.w3.org/1999/xlink; xmlns:dc="http://purl.org/dc/elements/1.1/; xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML; xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:scr ipt="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office; xmlns:ooow="http://openoffice.org/2004/writer; xmlns:oooc="http://openoffice.org/2004/calc; xmlns:dom="http://www.w3.org/2001/xml-events; xmlns:xforms="http://www.w3.org/2002/xforms; xmlns:xsd="http://www.w3.org/2001/XMLSchema; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xmlns:rpt="http://openoffice.org/2005/report; xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml; xmlns:grddl="http://www.w3.org/2003/g/data-view#; xmlns:tableooo="http://openoffice.org/2009/table; xmlns:drawooo="http://openoffice.org/2010/draw; xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:form x="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/; office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.spreadsheet"> + 2016-07-24T08:15:55.36200P0D1LibreOfficeDev/5.3.0.0.alpha0$Linux_X86_64 LibreOffice_project/d2e4753c3f511cfc6b2932ce60d0bc2e09296f9f + + + 0 + 0 + 85402 + 38362 + + + view1 + + + 2 + 14 + 0 + 0 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + 0 + 75 + 60 + true + false + + + 4 + 1 + 0 + 0 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + 0 + 75 + 60 + true + false + + + Sheet2 + 1241 + 0 + 75 + 60 + false + true + true + true + 12632256 + true + true + true + true + false + false + false + 1270 + 1270 + 1 + 1 + true + false + + + + + 7 + false + false + true + true + false + false + false + 1270 + 1270 + true + true + true + true + true + false + 12632256 + false + Lexmark-E352dn + + + cs + CZ + + + + + + en + US + + + + + + nl + NL + + + + + + true + true + 3 + 1 + true + 1 + true + kQH+/0xleG1hcmstRTM1MmRuQ1VQUzpMZXhtYXJrLUUzNTJkbgAWAAMAtwAIAFZUAAAkbQAASm9iRGF0YSAxCnByaW50ZXI9TGV4bWFyay1FMzUyZG4Kb3JpZW50YXRpb249UG9ydHJhaXQKY29waWVzPTEKY29sbGF0ZT1mYWxzZQptYXJnaW5kYWp1c3RtZW50PTAsMCwwLDAKY29sb3JkZXB0aD0yNApwc2xldmVsPTAKcGRmZGV2aWNlPTEKY29sb3JkZXZpY2U9MApQUERDb250ZXhEYXRhClBhZ2VTaXplOkxldHRlcgAAEgBDT01QQVRfRFVQTEVYX01PREUKAERVUExFWF9PRkY= + false + 0 + + + + + http://openoffice.org/2004/office; xmlns:xlink="http://www.w3.org/1999/xlink;> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KÄ + + + + - + + + KÄ + + + + + + + + + + ( + + ) + + + + - + + + + + + + + + + + + + + KÄ + + + - + + + KÄ + + + + + + KÄ + + + - + + + KÄ + + + + + + KÄ + + + + - + + + KÄ + + + +
[Libreoffice-commits] core.git: sc/qa
sc/qa/unit/data/functions/fods/growth.fods | 7952 + 1 file changed, 7952 insertions(+) New commits: commit e601533855e2d7958a2d216e40601400178374a5 Author: ZdenÄk CrhonekDate: Sun Jul 31 09:42:28 2016 +0200 add GROWTH test case Change-Id: Ic874210a621923f053725a652f2a67d2ef242dae Reviewed-on: https://gerrit.libreoffice.org/27741 Tested-by: Jenkins Reviewed-by: Markus Mohrhard diff --git a/sc/qa/unit/data/functions/fods/growth.fods b/sc/qa/unit/data/functions/fods/growth.fods new file mode 100644 index 000..adb0047 --- /dev/null +++ b/sc/qa/unit/data/functions/fods/growth.fods @@ -0,0 +1,7952 @@ + + +http://www.w3.org/1999/xlink; xmlns:dc="http://purl.org/dc/elements/1.1/; xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML; xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:scr ipt="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office; xmlns:ooow="http://openoffice.org/2004/writer; xmlns:oooc="http://openoffice.org/2004/calc; xmlns:dom="http://www.w3.org/2001/xml-events; xmlns:xforms="http://www.w3.org/2002/xforms; xmlns:xsd="http://www.w3.org/2001/XMLSchema; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xmlns:rpt="http://openoffice.org/2005/report; xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml; xmlns:grddl="http://www.w3.org/2003/g/data-view#; xmlns:tableooo="http://openoffice.org/2009/table; xmlns:drawooo="http://openoffice.org/2010/draw; xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:form x="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/; office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.spreadsheet"> + 2016-06-25T07:16:38.437590147P0D1LibreOfficeDev/5.3.0.0.alpha0$Linux_X86_64 LibreOffice_project/d2e4753c3f511cfc6b2932ce60d0bc2e09296f9f + + + 0 + 0 + 68147 + 254571 + + + view1 + + + 2 + 8 + 0 + 0 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + 0 + 80 + 60 + true + false + + + 2 + 19 + 0 + 0 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + 0 + 80 + 60 + true + false + + + 18 + 19 + 0 + 0 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + 0 + 80 + 60 + true + false + + + Sheet2 + 1241 + 0 + 80 + 60 + false + true + true + true + 12632256 + true + true + true + true + false + false + false + 1270 + 1270 + 1 + 1 + true + false + + + + + 7 + false + false + true + true + false + false + false + 1270 + 1270 + true + true + true + true + true + false + 12632256 + false + Lexmark-E352dn + + + en + US + + + + + + fr + FR + + + + + + ru + RU + + + + + + true + true + 3 + 1 + true + 1 + true + qQH+/0xleG1hcmstRTM1MmRuQ1VQUzpMZXhtYXJrLUUzNTJkbgAWAAMAzwAEAAhSAAAEdAAASm9iRGF0YSAxCnByaW50ZXI9TGV4bWFyay1FMzUyZG4Kb3JpZW50YXRpb249UG9ydHJhaXQKY29waWVzPTEKY29sbGF0ZT1mYWxzZQptYXJnaW5kYWp1c3RtZW50PTAsMCwwLDAKY29sb3JkZXB0aD0yNApwc2xldmVsPTAKcGRmZGV2aWNlPTEKY29sb3JkZXZpY2U9MApQUERDb250ZXhEYXRhCkR1cGxleDpOb25lAElucHV0U2xvdDpUcmF5MQBQYWdlU2l6ZTpBNAAAEgBDT01QQVRfRFVQTEVYX01PREUKAERVUExFWF9PRkY= + false + 0 + + + + + http://openoffice.org/2004/office; xmlns:xlink="http://www.w3.org/1999/xlink;> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KÄ + + + + - + + + KÄ + + + +$ + + + + +$( + + ) + + +$- + + + + + + + + + + +
[GSoC] Zoner Draw import, Week 10 report
During this week I implemented parsing and output of images with lower color depth (1, 4, 8 bit) and transparency in libzmf. For transparency we had to switch to PNG (libpng) output instead of BMP because Libre Office does not handle them well and transparency does not work for BMP (v.4-5 header), as well as some other issues such as reading color bit masks from wrong offset. Also output of polygons/stars was fixed and now it works correctly in most cases, except the shape direction when drawing using Zoner Draw "from corner" or "from center" modes, it depends on drawing (mouse movement) direction and is not handled yet. http://i.imgur.com/bvka3Qj.png http://i.imgur.com/HZ3FxG1.png http://i.imgur.com/eb9uKpe.png ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: sw/source
sw/source/core/layout/paintfrm.cxx | 18 -- 1 file changed, 18 deletions(-) New commits: commit 772191616a0cceebf91a9674ce7417d5cad0050f Author: Caolán McNamaraDate: Tue Aug 2 11:18:25 2016 +0100 Resolves: tdf#101241 Revert "fix paint table border in DOUBLE_THIN style" because of the never-ending invalidate and paint of tdf#101241 there was no bug or route to reproduce the original problem so can't try to solve it a different way. This reverts commit 9a95520948de1d92c55252aa5f90606b01d6ac9e. diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index abff3a8..b35c44e 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -2742,24 +2742,6 @@ void SwTabFramePainter::PaintLines(OutputDevice& rDev, const SwRect& rRect) cons aPaintEnd.Y() += static_cast(offsetEnd + 0.5); } -if( rEntryStyle.Type() == table::BorderLineStyle::DOUBLE_THIN ) -{ -long aPixel = rDev.PixelToLogic( Point(1, 1) ).getX(); -SwRect aPaintEx( aPaintStart, aPaintEnd ); -if( bHori ) -{ -aPaintEx.Pos().Y() -= aPixel; -aPaintEx.SSize().Height() += aPixel * 2; -} -else -{ -aPaintEx.Pos().X() -= aPixel; -aPaintEx.SSize().Width() += aPixel * 2; -} - -gProp.pSGlobalShell->InvalidateWindows( aPaintEx ); -} - if (bHori) { mrTabFrame.ProcessPrimitives( svx::frame::CreateBorderPrimitives( ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: writerfilter/qa writerfilter/source
writerfilter/qa/cppunittests/rtftok/data/fail/nopropertyset-1.rtf |binary writerfilter/source/rtftok/rtfdispatchvalue.cxx |2 +- 2 files changed, 1 insertion(+), 1 deletion(-) New commits: commit db686815b41c52598f0952613ff8c6be34b2f0e0 Author: Caolán McNamaraDate: Tue Aug 2 16:05:53 2016 +0100 fftester: guard against no drawing object property set Change-Id: I51736459f9f098d9d793bff3b9a1a403962e099d diff --git a/writerfilter/qa/cppunittests/rtftok/data/fail/nopropertyset-1.rtf b/writerfilter/qa/cppunittests/rtftok/data/fail/nopropertyset-1.rtf new file mode 100644 index 000..59c3630 Binary files /dev/null and b/writerfilter/qa/cppunittests/rtftok/data/fail/nopropertyset-1.rtf differ diff --git a/writerfilter/source/rtftok/rtfdispatchvalue.cxx b/writerfilter/source/rtftok/rtfdispatchvalue.cxx index d4a3720..efd71cb 100644 --- a/writerfilter/source/rtftok/rtfdispatchvalue.cxx +++ b/writerfilter/source/rtftok/rtfdispatchvalue.cxx @@ -1241,7 +1241,7 @@ RTFError RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam) { rDrawingObject.aPolyLinePoints.back().Y = convertTwipToMm100(nParam); rDrawingObject.nPolyLineCount--; -if (rDrawingObject.nPolyLineCount == 0) +if (rDrawingObject.nPolyLineCount == 0 && rDrawingObject.xPropertySet.is()) { uno::Sequence< uno::Sequence >aPointSequenceSequence = { ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - sc/source
sc/source/ui/view/viewdata.cxx | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) New commits: commit 7dda28234cc516e864aff9a6c97b7c539a063c4e Author: Eike RathkeDate: Fri Jul 29 18:18:01 2016 +0200 limit SelectionFillDOOM to 24117248 cells, tdf#60021 tdf#60056 related Change-Id: Idabf5e51b7f423d7d58094ad1caef166728c3bed (cherry picked from commit 5cf5975cef114870268bee792e44570ddfdaafe8) Reviewed-on: https://gerrit.libreoffice.org/27776 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx index 2364393..a135830 100644 --- a/sc/source/ui/view/viewdata.cxx +++ b/sc/source/ui/view/viewdata.cxx @@ -859,11 +859,16 @@ bool ScViewData::SelectionForbidsPaste() // static bool ScViewData::SelectionFillDOOM( const ScRange& rRange ) { -/* TODO: it is still possible to select one row less than the entire sheet - * and fool around. We could narrow this down to some "sane" value, just - * what would be sane? At least this helps against the Ctrl+A cases. */ -return rRange.aStart.Col() == 0 && rRange.aEnd.Col() == MAXCOL && -rRange.aStart.Row() == 0 && rRange.aEnd.Row() == MAXROW; +// Assume that more than 23 full columns (23M cells) will not be +// successful.. Even with only 10 bytes per cell that would already be +// 230MB, formula cells would be 100 bytes and more per cell. +// rows * columns > 23m => rows > 23m / columns +// to not overflow in case number of available columns or rows would be +// arbitrarily increased. +// We could refine this and take some actual cell size into account, +// evaluate available memory and what not, but.. +const sal_Int32 kMax = 23 * 1024 * 1024;// current MAXROWCOUNT is 1024*1024=1048576 +return (rRange.aEnd.Row() - rRange.aStart.Row() + 1) > (kMax / (rRange.aEnd.Col() - rRange.aStart.Col() + 1)); } void ScViewData::SetFillMode( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow ) ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - writerfilter/qa writerfilter/source
writerfilter/qa/cppunittests/rtftok/data/pass/tablemanager-4.rtf |binary writerfilter/source/dmapper/DomainMapper_Impl.cxx|4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) New commits: commit cff184a4528c9c0e7112fe6470c5c0d2d4bfe41d Author: Caolán McNamaraDate: Sun Jul 31 19:58:18 2016 +0100 fftester: another table manager stack checks and a m_xTextFactory check too Change-Id: I9352410c42048b4dd7d6dbc3514351ab8f16790b (cherry picked from commit 8a6b2fb5b94de43316ab3ea95ff07cf5f46b6134) Reviewed-on: https://gerrit.libreoffice.org/27759 Tested-by: Jenkins Reviewed-by: Miklos Vajna diff --git a/writerfilter/qa/cppunittests/rtftok/data/pass/tablemanager-4.rtf b/writerfilter/qa/cppunittests/rtftok/data/pass/tablemanager-4.rtf new file mode 100644 index 000..28093f2 Binary files /dev/null and b/writerfilter/qa/cppunittests/rtftok/data/pass/tablemanager-4.rtf differ diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx index 5959f6a..502f6ef 100644 --- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx +++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx @@ -1035,7 +1035,7 @@ void DomainMapper_Impl::finishParagraph( const PropertyMapPtr& pPropertyMap ) TagLogger::getInstance().attribute("isTextAppend", sal_uInt32(xTextAppend.is())); #endif -if (xTextAppend.is() && pParaContext != nullptr && !getTableManager().isIgnore()) +if (xTextAppend.is() && pParaContext && hasTableManager() && !getTableManager().isIgnore()) { try { @@ -4202,7 +4202,7 @@ void DomainMapper_Impl::CloseFieldCommand() */ OUString aCode( pContext->GetCommand().trim() ); // Don't waste resources on wrapping shapes inside a fieldmark. -if (aCode != "SHAPE") +if (aCode != "SHAPE" && m_xTextFactory.is()) { xFieldInterface = m_xTextFactory->createInstance("com.sun.star.text.Fieldmark"); const uno::Reference xTextContent(xFieldInterface, uno::UNO_QUERY_THROW); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'distro/collabora/lov-5.1' - 117 commits - accessibility/source avmedia/source basic/source bin/unpack-sources chart2/source comphelper/CppunitTest_comphelper_th
Repository.mk|1 accessibility/source/extended/AccessibleGridControl.cxx |9 avmedia/source/framework/mediaplayer.cxx |9 basic/source/sbx/sbxscan.cxx |7 chart2/source/controller/main/ChartWindow.cxx|2 chart2/source/view/main/ChartView.cxx|4 comphelper/CppunitTest_comphelper_threadpool_test.mk | 30 comphelper/Module_comphelper.mk |1 comphelper/qa/unit/threadpooltest.cxx| 55 comphelper/source/misc/threadpool.cxx| 26 configure.ac |9 cppuhelper/source/weak.cxx | 17 cui/source/dialogs/about.cxx | 13 cui/source/options/optopencl.cxx |7 cui/source/options/optpath.cxx | 20 cui/source/tabpages/textattr.cxx |6 dbaccess/source/ui/querydesign/querydlg.cxx |3 desktop/Library_sofficeapp.mk|2 desktop/inc/app.hxx |1 desktop/source/app/app.cxx |5 desktop/source/app/opencl.cxx| 186 desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx | 14 dev/null |binary drawinglayer/source/processor2d/vclprocessor2d.cxx |5 extensions/source/abpilot/datasourcehandling.cxx |3 external/boost/UnpackedTarball_boost.mk |1 external/boost/boost.function.Wplacement-new.patch.1 | 16 external/curl/ExternalProject_curl.mk|2 external/firebird/firebird-c++11.patch.1 | 26 external/firebird/firebird-c++11replfn.patch.0 |6 external/mdds/UnpackedTarball_mdds.mk|1 external/mdds/tdf90579.patch.0 | 23 filter/source/msfilter/svdfppt.cxx |1 formula/source/core/resource/core_resource.src |2 framework/source/dispatch/interceptionhelper.cxx | 21 i18npool/source/localedata/data/cs_CZ.xml|4 i18npool/source/localedata/data/tr_TR.xml|4 include/comphelper/threadpool.hxx|6 include/cppuhelper/weakref.hxx | 20 include/filter/msfilter/svdfppt.hxx |4 include/opencl/OpenCLZone.hxx| 52 include/opencl/openclwrapper.hxx | 12 include/sfx2/sidebar/ResourceManager.hxx | 15 include/sfx2/sidebar/Sidebar.hxx | 12 include/sfx2/sidebar/SidebarController.hxx | 16 include/sfx2/sidebar/TabBar.hxx | 14 include/svtools/treelistentry.hxx|1 include/svx/fmtools.hxx |4 include/svx/svdotable.hxx|2 include/svx/svdundo.hxx |5 include/vcl/openglwin.hxx|6 jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx |6 officecfg/registry/schema/org/openoffice/Office/Common.xcs |6 opencl/Library_opencl.mk |3 opencl/inc/opencl_device.hxx |3 opencl/inc/opencl_device_selection.h |4 opencl/source/OpenCLZone.cxx | 50 opencl/source/opencl_device.cxx | 23 opencl/source/openclwrapper.cxx | 155 package/inc/ZipOutputStream.hxx |1 package/source/zipapi/ZipOutputStream.cxx| 12 package/source/zippackage/ZipPackageStream.cxx | 13 readlicense_oo/license/CREDITS.fodt | 2750 +-- reportdesign/source/core/inc/ReportUndoFactory.hxx |2 reportdesign/source/core/sdr/ReportUndoFactory.cxx |4 reportdesign/source/ui/dlg/CondFormat.cxx|5 reportdesign/source/ui/dlg/Condition.cxx |1 sc/Module_sc.mk |1 sc/Package_opencl.mk | 16 sc/inc/column.hxx|4 sc/inc/document.hxx |4 sc/inc/table.hxx
[Libreoffice-commits] core.git: svx/source
svx/source/dialog/srchdlg.cxx |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) New commits: commit dadd4abdadb970dd4912caaa56b7250c3a30cc9e Author: Markus MohrhardDate: Tue Aug 2 14:04:15 2016 +0200 add missing nullptr check See http://crashreport.libreoffice.org/stats/crash_details/173c2c82-7241-44b4-8394-2b5635f7f938 Change-Id: I2a03c6d6a77e3c872b8507c72b47a05db20fd564 Reviewed-on: https://gerrit.libreoffice.org/27791 Tested-by: Jenkins Reviewed-by: Markus Mohrhard diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index de310ce..d63c90f 100755 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -2377,8 +2377,12 @@ SfxChildWinInfo SvxSearchDialogWrapper::GetInfo() const static vcl::Window* lcl_GetSearchLabelWindow() { +SfxViewFrame* pViewFrame = SfxViewFrame::Current(); +if (!pViewFrame) +return nullptr; + css::uno::Reference< css::beans::XPropertySet > xPropSet( -SfxViewFrame::Current()->GetFrame().GetFrameInterface(), css::uno::UNO_QUERY_THROW); +pViewFrame->GetFrame().GetFrameInterface(), css::uno::UNO_QUERY_THROW); css::uno::Reference< css::frame::XLayoutManager > xLayoutManager; xPropSet->getPropertyValue("LayoutManager") >>= xLayoutManager; css::uno::Reference< css::ui::XUIElement > xUIElement = ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - sc/source
sc/source/core/tool/interpr5.cxx | 24 1 file changed, 12 insertions(+), 12 deletions(-) New commits: commit cb8be8a86845bfbee70e0d7787d882ef078eb97f Author: Eike RathkeDate: Mon Aug 1 12:35:17 2016 +0200 Resolves: tdf#101246 errors are not strings Change-Id: I5a63dcc0452f0254e66e0ad743ae0d0926dfc14a (cherry picked from commit 8e495518c36359e565d6c172688e7120c477137f) Reviewed-on: https://gerrit.libreoffice.org/27775 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara diff --git a/sc/source/core/tool/interpr5.cxx b/sc/source/core/tool/interpr5.cxx index e1ff66e..3d5b0b6 100644 --- a/sc/source/core/tool/interpr5.cxx +++ b/sc/source/core/tool/interpr5.cxx @@ -2429,9 +2429,9 @@ void ScInterpreter::CalculateRGPRKP(bool _bRKP) { for (SCSIZE i=2; i PutString(mrStrPool.intern(ScGlobal::GetRscString(STR_NV_STR)), i, 2); - pResMat->PutString(mrStrPool.intern(ScGlobal::GetRscString(STR_NV_STR)), i, 3); - pResMat->PutString(mrStrPool.intern(ScGlobal::GetRscString(STR_NV_STR)), i, 4); +pResMat->PutError( NOTAVAILABLE, i, 2); +pResMat->PutError( NOTAVAILABLE, i, 3); +pResMat->PutError( NOTAVAILABLE, i, 4); } } @@ -2498,13 +2498,13 @@ void ScInterpreter::CalculateRGPRKP(bool _bRKP) { // exact fit; test SSreg too, because SSresid might be // unequal zero due to round of errors pResMat->PutDouble(0.0, 1, 4); // SSresid - pResMat->PutString(mrStrPool.intern(ScGlobal::GetRscString(STR_NV_STR)), 0, 3); // F +pResMat->PutError( NOTAVAILABLE, 0, 3); // F pResMat->PutDouble(0.0, 1, 2); // RMSE pResMat->PutDouble(0.0, 0, 1); // SigmaSlope if (bConstant) pResMat->PutDouble(0.0, 1, 1); //SigmaIntercept else - pResMat->PutString(mrStrPool.intern(ScGlobal::GetRscString(STR_NV_STR)), 1, 1); +pResMat->PutError( NOTAVAILABLE, 1, 1); pResMat->PutDouble(1.0, 0, 2); // R^2 } else @@ -2528,7 +2528,7 @@ void ScInterpreter::CalculateRGPRKP(bool _bRKP) } else { - pResMat->PutString(mrStrPool.intern(ScGlobal::GetRscString(STR_NV_STR)), 1, 1); +pResMat->PutError( NOTAVAILABLE, 1, 1); } double fR2 = fSSreg / (fSSreg + fSSresid); @@ -2626,7 +2626,7 @@ void ScInterpreter::CalculateRGPRKP(bool _bRKP) { // exact fit; incl. observed values Y are identical pResMat->PutDouble(0.0, 1, 4); // SSresid // F = (SSreg/K) / (SSresid/df) = #DIV/0! - pResMat->PutString(mrStrPool.intern(ScGlobal::GetRscString(STR_NV_STR)), 0, 3); // F +pResMat->PutError( NOTAVAILABLE, 0, 3); // F // RMSE = sqrt(SSresid / df) = sqrt(0 / df) = 0 pResMat->PutDouble(0.0, 1, 2); // RMSE // SigmaSlope[i] = RMSE * sqrt(matrix[i,i]) = 0 * sqrt(...) = 0 @@ -2637,7 +2637,7 @@ void ScInterpreter::CalculateRGPRKP(bool _bRKP) if (bConstant) pResMat->PutDouble(0.0, K, 1); //SigmaIntercept else - pResMat->PutString(mrStrPool.intern(ScGlobal::GetRscString(STR_NV_STR)), K, 1); +pResMat->PutError( NOTAVAILABLE, K, 1); // R^2 = SSreg / (SSreg + SSresid) = 1.0 pResMat->PutDouble(1.0, 0, 2); // R^2 @@ -2687,7 +2687,7 @@ void ScInterpreter::CalculateRGPRKP(bool _bRKP) } else { - pResMat->PutString(mrStrPool.intern(ScGlobal::GetRscString(STR_NV_STR)), K, 1); +pResMat->PutError( NOTAVAILABLE, K, 1); } double fR2 = fSSreg / (fSSreg + fSSresid); @@ -2783,7 +2783,7 @@ void ScInterpreter::CalculateRGPRKP(bool _bRKP) { // exact fit; incl. case observed values Y are identical pResMat->PutDouble(0.0, 1, 4); // SSresid // F = (SSreg/K) / (SSresid/df) = #DIV/0! - pResMat->PutString(mrStrPool.intern(ScGlobal::GetRscString(STR_NV_STR)), 0, 3); // F +pResMat->PutError( NOTAVAILABLE, 0, 3); // F // RMSE = sqrt(SSresid / df) = sqrt(0 / df) = 0 pResMat->PutDouble(0.0, 1, 2); // RMSE // SigmaSlope[i] = RMSE * sqrt(matrix[i,i]) = 0 * sqrt(...) = 0 @@ -2794,7 +2794,7 @@ void
[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - svx/source
svx/source/dialog/srchdlg.cxx |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) New commits: commit 3dad1d0628af49e61b34a050a83346805d8f8766 Author: Markus MohrhardDate: Tue Aug 2 14:04:15 2016 +0200 add missing nullptr check See http://crashreport.libreoffice.org/stats/crash_details/173c2c82-7241-44b4-8394-2b5635f7f938 Change-Id: I2a03c6d6a77e3c872b8507c72b47a05db20fd564 Reviewed-on: https://gerrit.libreoffice.org/27791 Tested-by: Jenkins Reviewed-by: Markus Mohrhard (cherry picked from commit dadd4abdadb970dd4912caaa56b7250c3a30cc9e) Reviewed-on: https://gerrit.libreoffice.org/27799 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index de310ce..d63c90f 100755 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -2377,8 +2377,12 @@ SfxChildWinInfo SvxSearchDialogWrapper::GetInfo() const static vcl::Window* lcl_GetSearchLabelWindow() { +SfxViewFrame* pViewFrame = SfxViewFrame::Current(); +if (!pViewFrame) +return nullptr; + css::uno::Reference< css::beans::XPropertySet > xPropSet( -SfxViewFrame::Current()->GetFrame().GetFrameInterface(), css::uno::UNO_QUERY_THROW); +pViewFrame->GetFrame().GetFrameInterface(), css::uno::UNO_QUERY_THROW); css::uno::Reference< css::frame::XLayoutManager > xLayoutManager; xPropSet->getPropertyValue("LayoutManager") >>= xLayoutManager; css::uno::Reference< css::ui::XUIElement > xUIElement = ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - vcl/source
vcl/source/window/menufloatingwindow.cxx | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) New commits: commit d013a5a38c6460a22434c6ba637c63d2118f12dc Author: Caolán McNamaraDate: Tue Aug 2 13:08:39 2016 +0100 Related: tdf#92516 make menu accelerators always work even if... keyboard not used yet. The gtk2/3 menus appear to work this way. (And when not in gtk2/3 it shouldn't disable the accelerators for other platforms anyway) (cherry picked from commit f6d0d92a5e249413df99a7f3677a28efe6d45426) Change-Id: Ib7a99bd9039cd07120b3b77380f810b5b028fd57 Reviewed-on: https://gerrit.libreoffice.org/27794 Tested-by: Jenkins Reviewed-by: Miklos Vajna diff --git a/vcl/source/window/menufloatingwindow.cxx b/vcl/source/window/menufloatingwindow.cxx index c00a869..20cb2e5 100644 --- a/vcl/source/window/menufloatingwindow.cxx +++ b/vcl/source/window/menufloatingwindow.cxx @@ -1101,18 +1101,9 @@ void MenuFloatingWindow::KeyInput( const KeyEvent& rKEvent ) sal_Unicode nCharCode = rKEvent.GetCharCode(); sal_uInt16 nPos = 0; sal_uInt16 nDuplicates = 0; -MenuItemData* pData = (nCharCode && pMenu) ? +MenuItemData* pData = (nCharCode && pMenu && ImplGetSVData()->maNWFData.mbEnableAccel) ? pMenu->GetItemList()->SearchItem(nCharCode, rKEvent.GetKeyCode(), nPos, nDuplicates, nHighlightedItem) : nullptr; -bool bConsume = false; -bool accel = ImplGetSVData()->maNWFData.mbEnableAccel; -if (pData && accel) -{ -Menu *men = pMenu; -while (men && !men->IsMenuBar()) -men = men->pStartedFrom; -bConsume = !men || (static_cast (men->pWindow.get()))->GetMBWMenuKey(); -} -if (bConsume) +if (pData) { if ( pData->pSubMenu || nDuplicates > 1 ) { ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: vcl/source
vcl/source/window/menubarwindow.cxx | 19 ++- vcl/source/window/menufloatingwindow.cxx | 18 +- 2 files changed, 31 insertions(+), 6 deletions(-) New commits: commit bb9c9fdd3d5f71ab49d3a5189af8e13ef5239f4a Author: Caolán McNamaraDate: Tue Aug 2 14:53:52 2016 +0100 gtk2: toggle menubar mnemonics on if any keyinput on it or submenus this is closer to how I seem to see the gtk menubars work (gtk3 is native now so this doesn't affect that) Change-Id: Ie5225d2ccda698946f26408aae95d2a50cbb928b diff --git a/vcl/source/window/menubarwindow.cxx b/vcl/source/window/menubarwindow.cxx index b2a5b80..812fff4 100644 --- a/vcl/source/window/menubarwindow.cxx +++ b/vcl/source/window/menubarwindow.cxx @@ -671,10 +671,10 @@ void MenuBarWindow::KeyInput( const KeyEvent& rKEvent ) bool MenuBarWindow::HandleKeyEvent( const KeyEvent& rKEvent, bool bFromMenu ) { -if( ! pMenu ) +if (!pMenu) return false; -if ( pMenu->bInCallback ) +if (pMenu->bInCallback) return true;// swallow bool bDone = false; @@ -808,6 +808,8 @@ bool MenuBarWindow::HandleKeyEvent( const KeyEvent& rKEvent, bool bFromMenu ) } bool accel = ImplGetSVData()->maNWFData.mbEnableAccel; +bool autoacc = ImplGetSVData()->maNWFData.mbAutoAccel; + if ( !bDone && ( bFromMenu || (rKEvent.GetKeyCode().IsMod2() && accel) ) ) { sal_Unicode nCharCode = rKEvent.GetCharCode(); @@ -818,14 +820,21 @@ bool MenuBarWindow::HandleKeyEvent( const KeyEvent& rKEvent, bool bFromMenu ) if ( pData && (nEntry != ITEMPOS_INVALID) ) { mbAutoPopup = true; -SetMBWMenuKey(true); -SetMBWHideAccel(true); -Invalidate(InvalidateFlags::Update); ChangeHighlightItem( nEntry, true ); bDone = true; } } } + +const bool bShowAccels = nCode != KEY_ESCAPE; +if (GetMBWMenuKey() != bShowAccels) +{ +SetMBWMenuKey(bShowAccels); +SetMBWHideAccel(!bShowAccels); +if (accel && autoacc) +Invalidate(InvalidateFlags::Update); +} + return bDone; } diff --git a/vcl/source/window/menufloatingwindow.cxx b/vcl/source/window/menufloatingwindow.cxx index 6506704..66bb23d 100644 --- a/vcl/source/window/menufloatingwindow.cxx +++ b/vcl/source/window/menufloatingwindow.cxx @@ -976,6 +976,8 @@ void MenuFloatingWindow::KeyInput( const KeyEvent& rKEvent ) { VclPtr xWindow = this; +bool accel = ImplGetSVData()->maNWFData.mbEnableAccel; +bool autoacc = ImplGetSVData()->maNWFData.mbAutoAccel; sal_uInt16 nCode = rKEvent.GetKeyCode().GetCode(); bKeyInput = true; switch ( nCode ) @@ -1102,7 +1104,7 @@ void MenuFloatingWindow::KeyInput( const KeyEvent& rKEvent ) sal_Unicode nCharCode = rKEvent.GetCharCode(); sal_uInt16 nPos = 0; sal_uInt16 nDuplicates = 0; -MenuItemData* pData = (nCharCode && pMenu) ? +MenuItemData* pData = (nCharCode && pMenu && accel) ? pMenu->GetItemList()->SearchItem(nCharCode, rKEvent.GetKeyCode(), nPos, nDuplicates, nHighlightedItem) : nullptr; if (pData) { @@ -1121,6 +1123,20 @@ void MenuFloatingWindow::KeyInput( const KeyEvent& rKEvent ) FloatingWindow::KeyInput( rKEvent ); } } + +if (pMenu && pMenu->pStartedFrom && pMenu->pStartedFrom->IsMenuBar()) +{ +MenuBar *pMenuBar = static_cast (pMenu->pStartedFrom.get()); +const bool bShowAccels = nCode != KEY_ESCAPE; +if (pMenuBar->getMenuBarWindow()->GetMBWMenuKey() != bShowAccels) +{ +pMenuBar->getMenuBarWindow()->SetMBWMenuKey(bShowAccels); +pMenuBar->getMenuBarWindow()->SetMBWHideAccel(!bShowAccels); +if (accel && autoacc) +Invalidate(InvalidateFlags::Update); +} +} + // #105474# check if menu window was not destroyed if ( !xWindow->IsDisposed() ) { ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - dtrans/source
dtrans/source/win32/ftransl/ftransl.cxx | 28 +-- dtrans/source/win32/ftransl/ftransl.hxx |4 +-- dtrans/source/win32/ftransl/ftranslentry.cxx |2 - 3 files changed, 17 insertions(+), 17 deletions(-) New commits: commit e3ba28a55334c1eaa32714db7caad538486078fe Author: Markus MohrhardDate: Tue Jul 12 15:23:31 2016 +0200 avoid name clash for CDataFormatTranslator in ftransl, tdf#100872 E.g. http://crashreport.libreoffice.org/stats/signature/com::sun::star::datatransfer::DataFormatTranslator::create%28com::sun::star::uno::Reference%3Ccom::sun::star::uno::XComponentContext%3E%20const%20&%29 Reviewed-on: https://gerrit.libreoffice.org/27157 Tested-by: Jenkins Reviewed-by: Markus Mohrhard (cherry picked from commit 37204431c68a4725b4539fa35e9fcea4fe94c166) Conflicts: dtrans/source/win32/ftransl/ftransl.hxx Change-Id: I55d7fc9a83526de0cc5f838f0ee2c7e4649dbe6b Reviewed-on: https://gerrit.libreoffice.org/27180 Reviewed-by: Michael Stahl Tested-by: Jenkins diff --git a/dtrans/source/win32/ftransl/ftransl.cxx b/dtrans/source/win32/ftransl/ftransl.cxx index 968c2f6..4660ccf 100644 --- a/dtrans/source/win32/ftransl/ftransl.cxx +++ b/dtrans/source/win32/ftransl/ftransl.cxx @@ -94,13 +94,13 @@ FormatEntry::FormatEntry( // ctor -CDataFormatTranslator::CDataFormatTranslator( const Reference< XComponentContext >& rxContext ) : +CDataFormatTranslatorUNO::CDataFormatTranslatorUNO( const Reference< XComponentContext >& rxContext ) : m_xContext( rxContext ) { initTranslationTable( ); } -Any SAL_CALL CDataFormatTranslator::getSystemDataTypeFromDataFlavor( const DataFlavor& aDataFlavor ) +Any SAL_CALL CDataFormatTranslatorUNO::getSystemDataTypeFromDataFlavor( const DataFlavor& aDataFlavor ) throw( RuntimeException ) { Any aAny; @@ -155,7 +155,7 @@ Any SAL_CALL CDataFormatTranslator::getSystemDataTypeFromDataFlavor( const DataF return aAny; } -DataFlavor SAL_CALL CDataFormatTranslator::getDataFlavorFromSystemDataType( const Any& aSysDataType ) +DataFlavor SAL_CALL CDataFormatTranslatorUNO::getDataFlavorFromSystemDataType( const Any& aSysDataType ) throw( RuntimeException ) { OSL_PRECOND( aSysDataType.hasValue( ), "Empty system data type delivered" ); @@ -184,14 +184,14 @@ DataFlavor SAL_CALL CDataFormatTranslator::getDataFlavorFromSystemDataType( cons // XServiceInfo -OUString SAL_CALL CDataFormatTranslator::getImplementationName( ) +OUString SAL_CALL CDataFormatTranslatorUNO::getImplementationName( ) throw( RuntimeException ) { return OUString( IMPL_NAME ); } // XServiceInfo -sal_Bool SAL_CALL CDataFormatTranslator::supportsService( const OUString& ServiceName ) +sal_Bool SAL_CALL CDataFormatTranslatorUNO::supportsService( const OUString& ServiceName ) throw( RuntimeException ) { return cppu::supportsService(this, ServiceName); @@ -199,7 +199,7 @@ sal_Bool SAL_CALL CDataFormatTranslator::supportsService( const OUString& Servic // XServiceInfo -Sequence< OUString > SAL_CALL CDataFormatTranslator::getSupportedServiceNames( ) +Sequence< OUString > SAL_CALL CDataFormatTranslatorUNO::getSupportedServiceNames( ) throw( RuntimeException ) { return DataFormatTranslator_getSupportedServiceNames( ); @@ -212,7 +212,7 @@ Sequence< OUString > SAL_CALL CDataFormatTranslator::getSupportedServiceNames( ) // format number we can stop if we find the first // CF_INVALID -void SAL_CALL CDataFormatTranslator::initTranslationTable() +void SAL_CALL CDataFormatTranslatorUNO::initTranslationTable() { //SotClipboardFormatId::DIF m_TranslTable.push_back(FormatEntry("application/x-openoffice-dif;windows_formatname=\"DIF\"", "DIF", "DIF", CF_DIF, CPPUTYPE_DEFAULT)); @@ -465,7 +465,7 @@ void SAL_CALL CDataFormatTranslator::initTranslationTable() m_TranslTable.push_back(FormatEntry("application/x-openoffice-dummy4;windows_formatname=\"SO_DUMMYFORMAT_4\"", "SO_DUMMYFORMAT_4", NULL, CF_INVALID, CPPUTYPE_DEFAULT)); } -void SAL_CALL CDataFormatTranslator::findDataFlavorForStandardFormatId( sal_Int32 aStandardFormatId, DataFlavor& aDataFlavor ) const +void SAL_CALL CDataFormatTranslatorUNO::findDataFlavorForStandardFormatId( sal_Int32 aStandardFormatId, DataFlavor& aDataFlavor ) const { /* we break the for loop if we find the first CF_INVALID @@ -487,7 +487,7 @@ void SAL_CALL CDataFormatTranslator::findDataFlavorForStandardFormatId( sal_Int3 } } -void SAL_CALL CDataFormatTranslator::findDataFlavorForNativeFormatName( const OUString& aNativeFormatName, DataFlavor& aDataFlavor ) const +void SAL_CALL CDataFormatTranslatorUNO::findDataFlavorForNativeFormatName( const OUString& aNativeFormatName, DataFlavor& aDataFlavor ) const { vector<
[Libreoffice-commits] core.git: sc/qa
sc/qa/unit/data/functions/fods/yield.fods | 3795 ++ 1 file changed, 3795 insertions(+) New commits: commit 1b52171752d5e4f9fc101a8bc15f6feb6599aaa2 Author: ZdenÄk CrhonekDate: Tue Aug 2 18:28:07 2016 +0200 add YIELD test case Change-Id: I88bcd9433da6edb5aa59ff01f2590ca74c39219c Reviewed-on: https://gerrit.libreoffice.org/27805 Tested-by: Jenkins Reviewed-by: Markus Mohrhard diff --git a/sc/qa/unit/data/functions/fods/yield.fods b/sc/qa/unit/data/functions/fods/yield.fods new file mode 100644 index 000..9543e67 --- /dev/null +++ b/sc/qa/unit/data/functions/fods/yield.fods @@ -0,0 +1,3795 @@ + + +http://www.w3.org/1999/xlink; xmlns:dc="http://purl.org/dc/elements/1.1/; xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML; xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:scr ipt="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office; xmlns:ooow="http://openoffice.org/2004/writer; xmlns:oooc="http://openoffice.org/2004/calc; xmlns:dom="http://www.w3.org/2001/xml-events; xmlns:xforms="http://www.w3.org/2002/xforms; xmlns:xsd="http://www.w3.org/2001/XMLSchema; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xmlns:rpt="http://openoffice.org/2005/report; xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml; xmlns:grddl="http://www.w3.org/2003/g/data-view#; xmlns:tableooo="http://openoffice.org/2009/table; xmlns:drawooo="http://openoffice.org/2010/draw; xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:form x="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/; office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.spreadsheet"> + 2016-08-02T18:27:25.094996812P0D1LibreOfficeDev/5.3.0.0.alpha0$Linux_X86_64 LibreOffice_project/389b08190092f9a9103b3ac098994ec83b2d0bfa + + + 0 + 0 + 46511 + 10906 + + + view1 + + + 2 + 8 + 0 + 0 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + 0 + 75 + 60 + true + false + + + 5 + 18 + 0 + 0 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + 0 + 75 + 60 + true + false + + + Sheet2 + 1241 + 0 + 75 + 60 + false + true + true + true + 12632256 + true + true + true + true + false + false + false + 1270 + 1270 + 1 + 1 + true + false + + + + + 7 + false + false + true + true + false + false + false + 1270 + 1270 + true + true + true + true + true + false + 12632256 + false + Lexmark-E352dn + + + cs + CZ + + + + + + en + US + + + + + + nl + NL + + + + + + true + true + 3 + 1 + true + 1 + true + kQH+/0xleG1hcmstRTM1MmRuQ1VQUzpMZXhtYXJrLUUzNTJkbgAWAAMAtwAIAFZUAAAkbQAASm9iRGF0YSAxCnByaW50ZXI9TGV4bWFyay1FMzUyZG4Kb3JpZW50YXRpb249UG9ydHJhaXQKY29waWVzPTEKY29sbGF0ZT1mYWxzZQptYXJnaW5kYWp1c3RtZW50PTAsMCwwLDAKY29sb3JkZXB0aD0yNApwc2xldmVsPTAKcGRmZGV2aWNlPTEKY29sb3JkZXZpY2U9MApQUERDb250ZXhEYXRhClBhZ2VTaXplOkxldHRlcgAAEgBDT01QQVRfRFVQTEVYX01PREUKAERVUExFWF9PRkY= + false + 0 + + + + + http://openoffice.org/2004/office; xmlns:xlink="http://www.w3.org/1999/xlink;> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KÄ + + + + - + + + KÄ + + + + + + + + + + ( + + ) + + + + - + + + + + + + + + + + + + + KÄ + + + - + + + KÄ + + + + + + KÄ + + + - + + + KÄ + + + + + + KÄ + + + + - + + + KÄ + + +
[Libreoffice-commits] core.git: svl/qa svl/source
svl/qa/unit/svl.cxx |4 ++-- svl/source/numbers/zforscan.cxx | 12 ++-- 2 files changed, 12 insertions(+), 4 deletions(-) New commits: commit 88134dcba680418496f7a1c70a47fde0159ce390 Author: Eike RathkeDate: Tue Aug 2 23:46:22 2016 +0200 break the Excel rule for YMD and DMY, tdf#101147 follow-up Clearly in {HH -MM-DD} the MM should not be minute. Also not in {HH DD.MM.YY}. Don't follow every bullshit. Period. It is debatable how to treat MDY, {HH:MM DD/YY} should be different from {HH MM/DD/YY}, Excel ironically takes both as minute, even in an en-US locale. Change-Id: I13d39a36294e3c40cc0e9bf72026804b299bb264 diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx index 6af6566..f4c033d 100644 --- a/svl/qa/unit/svl.cxx +++ b/svl/qa/unit/svl.cxx @@ -1132,8 +1132,8 @@ void Test::testUserDefinedNumberFormats() checkPreviewString(aFormatter, sCode, -12.0, eLang, sExpected); } { // tdf#995339: detect SSMM as second minute -sCode = "SS:MM:HH DD/MM/YY"; // Month not detected by Excel, so we do not neither to keep compatibility -sExpected = "54:23:03 02/23/00"; +sCode = "SS:MM:HH DD/MM/YY"; // Month not detected by Excel, but we do not follow that. +sExpected = "54:23:03 02/01/00"; checkPreviewString(aFormatter, sCode, M_PI, eLang, sExpected); } { // tdf#6: better algorithm for fraction representation diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx index 8de7ac7..a59617d 100644 --- a/svl/source/numbers/zforscan.cxx +++ b/svl/source/numbers/zforscan.cxx @@ -1156,9 +1156,12 @@ sal_Int32 ImpSvNumberformatScan::ScanType() Minute if one of: * preceded by time keyword H (ignoring separators) * followed by time keyword S (ignoring separators) - * H or S was detected + * H or S was detected and this is the first M following * preceded by '[' amount bracket Else month. + That are the Excel rules. BUT, we break it because certainly + in something like {HH -MM-DD} the MM is NOT meant to be + minute, so not if MM is between YY and DD or DD and YY. */ nIndexPre = PreviousKeyword(i); nIndexNex = NextKeyword(i); @@ -1166,7 +1169,12 @@ sal_Int32 ImpSvNumberformatScan::ScanType() nIndexPre == NF_KEY_HH || // HH nIndexNex == NF_KEY_S || // S nIndexNex == NF_KEY_SS || // SS -bIsTimeDetected || // tdf#101147 +(bIsTimeDetected && + !(((nIndexPre == NF_KEY_YY || nIndexPre == NF_KEY_) && +(nIndexNex == NF_KEY_D || nIndexNex == NF_KEY_DD)) || + ((nIndexPre == NF_KEY_D || nIndexPre == NF_KEY_DD) && +(nIndexNex == NF_KEY_YY || nIndexNex == NF_KEY_))) +) || // tdf#101147 PreviousChar(i) == '[' ) // [M { eNewType = css::util::NumberFormat::TIME; ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: sc/qa
sc/qa/unit/data/functions/fods/yielddisc.fods | 3741 ++ 1 file changed, 3741 insertions(+) New commits: commit e08e906afaed4585c21f5f1f58927b87a72fe667 Author: ZdenÄk CrhonekDate: Tue Aug 2 18:30:05 2016 +0200 add YIELDDISC testcase Change-Id: Ie39e922fcf4b56c0aa4c659472683653ceda4482 Reviewed-on: https://gerrit.libreoffice.org/27806 Tested-by: Jenkins Reviewed-by: Markus Mohrhard diff --git a/sc/qa/unit/data/functions/fods/yielddisc.fods b/sc/qa/unit/data/functions/fods/yielddisc.fods new file mode 100644 index 000..e41dbab --- /dev/null +++ b/sc/qa/unit/data/functions/fods/yielddisc.fods @@ -0,0 +1,3741 @@ + + +http://www.w3.org/1999/xlink; xmlns:dc="http://purl.org/dc/elements/1.1/; xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML; xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:scr ipt="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office; xmlns:ooow="http://openoffice.org/2004/writer; xmlns:oooc="http://openoffice.org/2004/calc; xmlns:dom="http://www.w3.org/2001/xml-events; xmlns:xforms="http://www.w3.org/2002/xforms; xmlns:xsd="http://www.w3.org/2001/XMLSchema; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xmlns:rpt="http://openoffice.org/2005/report; xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml; xmlns:grddl="http://www.w3.org/2003/g/data-view#; xmlns:tableooo="http://openoffice.org/2009/table; xmlns:drawooo="http://openoffice.org/2010/draw; xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:form x="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/; office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.spreadsheet"> + 2016-08-02T18:29:16.119925431P0D1LibreOfficeDev/5.3.0.0.alpha0$Linux_X86_64 LibreOffice_project/389b08190092f9a9103b3ac098994ec83b2d0bfa + + + 0 + 0 + 47120 + 8789 + + + view1 + + + 2 + 8 + 0 + 0 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + 0 + 75 + 60 + true + false + + + 4 + 18 + 0 + 0 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + 0 + 75 + 60 + true + false + + + Sheet1 + 1241 + 0 + 75 + 60 + false + true + true + true + 12632256 + true + true + true + true + false + false + false + 1270 + 1270 + 1 + 1 + true + false + + + + + 7 + false + false + true + true + false + false + false + 1270 + 1270 + true + true + true + true + true + false + 12632256 + false + Lexmark-E352dn + + + cs + CZ + + + + + + en + US + + + + + + nl + NL + + + + + + true + true + 3 + 1 + true + 1 + true + kQH+/0xleG1hcmstRTM1MmRuQ1VQUzpMZXhtYXJrLUUzNTJkbgAWAAMAtwAIAFZUAAAkbQAASm9iRGF0YSAxCnByaW50ZXI9TGV4bWFyay1FMzUyZG4Kb3JpZW50YXRpb249UG9ydHJhaXQKY29waWVzPTEKY29sbGF0ZT1mYWxzZQptYXJnaW5kYWp1c3RtZW50PTAsMCwwLDAKY29sb3JkZXB0aD0yNApwc2xldmVsPTAKcGRmZGV2aWNlPTEKY29sb3JkZXZpY2U9MApQUERDb250ZXhEYXRhClBhZ2VTaXplOkxldHRlcgAAEgBDT01QQVRfRFVQTEVYX01PREUKAERVUExFWF9PRkY= + false + 0 + + + + + http://openoffice.org/2004/office; xmlns:xlink="http://www.w3.org/1999/xlink;> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KÄ + + + + - + + + KÄ + + + + + + + + + + ( + + ) + + + + - + + + + + + + + + + + + + + KÄ + + + - + + + KÄ + + + + + + KÄ + + + - + + + KÄ + + + + + + KÄ + + + + - + + +
[Libreoffice-commits] core.git: sc/qa
sc/qa/unit/data/functions/fods/mdeterm.fods | 2576 1 file changed, 2576 insertions(+) New commits: commit 4ff14e446d8659bdf64a9bd6166959be38de24e0 Author: ZdenÄk CrhonekDate: Tue Aug 2 21:14:39 2016 +0200 add MDETERM test case Change-Id: Id69ce2d5c19d0b55921dc21143aac7d7bdd0fef1 Reviewed-on: https://gerrit.libreoffice.org/27810 Tested-by: Jenkins Reviewed-by: Markus Mohrhard diff --git a/sc/qa/unit/data/functions/fods/mdeterm.fods b/sc/qa/unit/data/functions/fods/mdeterm.fods new file mode 100644 index 000..1245673 --- /dev/null +++ b/sc/qa/unit/data/functions/fods/mdeterm.fods @@ -0,0 +1,2576 @@ + + +http://www.w3.org/1999/xlink; xmlns:dc="http://purl.org/dc/elements/1.1/; xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML; xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:scr ipt="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office; xmlns:ooow="http://openoffice.org/2004/writer; xmlns:oooc="http://openoffice.org/2004/calc; xmlns:dom="http://www.w3.org/2001/xml-events; xmlns:xforms="http://www.w3.org/2002/xforms; xmlns:xsd="http://www.w3.org/2001/XMLSchema; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xmlns:rpt="http://openoffice.org/2005/report; xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml; xmlns:grddl="http://www.w3.org/2003/g/data-view#; xmlns:tableooo="http://openoffice.org/2009/table; xmlns:drawooo="http://openoffice.org/2010/draw; xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:form x="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/; office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.spreadsheet"> + 2016-08-02T18:25:37.357529091P0D1LibreOfficeDev/5.3.0.0.alpha0$Linux_X86_64 LibreOffice_project/389b08190092f9a9103b3ac098994ec83b2d0bfa + + + 0 + 0 + 22009 + 4261 + + + view1 + + + 2 + 8 + 0 + 0 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + 0 + 80 + 60 + true + false + + + 2 + 7 + 0 + 0 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + 0 + 80 + 60 + true + false + + + Sheet2 + 1241 + 0 + 80 + 60 + false + true + true + true + 12632256 + true + true + true + true + false + false + false + 1270 + 1270 + 1 + 1 + true + false + + + + + 7 + false + false + true + true + false + false + false + 1270 + 1270 + true + true + true + true + true + false + 12632256 + false + Lexmark-E352dn + + + en + US + + + + + + fr + FR + + + + + + ru + RU + + + + + + true + true + 3 + 1 + true + 1 + true + qQH+/0xleG1hcmstRTM1MmRuQ1VQUzpMZXhtYXJrLUUzNTJkbgAWAAMAzwAEAAhSAAAEdAAASm9iRGF0YSAxCnByaW50ZXI9TGV4bWFyay1FMzUyZG4Kb3JpZW50YXRpb249UG9ydHJhaXQKY29waWVzPTEKY29sbGF0ZT1mYWxzZQptYXJnaW5kYWp1c3RtZW50PTAsMCwwLDAKY29sb3JkZXB0aD0yNApwc2xldmVsPTAKcGRmZGV2aWNlPTEKY29sb3JkZXZpY2U9MApQUERDb250ZXhEYXRhCkR1cGxleDpOb25lAElucHV0U2xvdDpUcmF5MQBQYWdlU2l6ZTpBNAAAEgBDT01QQVRfRFVQTEVYX01PREUKAERVUExFWF9PRkY= + false + 0 + + + + + http://openoffice.org/2004/office; xmlns:xlink="http://www.w3.org/1999/xlink;> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + KÄ + + + + - + + + KÄ + + + +$ + + + + +$( + + ) + + +$- + + + + + + + + + + + + + + + £ + + + + - + £ + + + + + £ + + + + - + £ + + + + + £ + + + + + - + £ + + + + + £ + +
[Libreoffice-commits] core.git: Branch 'refs/tags/cp-5.1-3' - 0 commits -
Rebased ref, commits from common ancestor: ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - sdext/source
sdext/source/pdfimport/wrapper/wrapper.cxx |7 --- 1 file changed, 7 deletions(-) New commits: commit 25ebe8a3803d260671dac7225aaecd25be88bc4e Author: Caolán McNamaraDate: Fri Jul 29 09:57:19 2016 +0100 Resolves: tdf#84121 wrong password passed to xpdfimport regression from... commit eb276d11a652601f743d69ada7a38016bd97d73e Author: Fridrich Štrba Date: Mon Jul 8 14:01:17 2013 +0200 fdo#38878: Upgrading internal xpdf -> poppler before this the hashed _OOO_pdfi_Credentials_ was used in the removed OOoImportSecurityhandler::authorize but after this the hashed password continued to be passed through stdin, while the unhashed password was the required data. Change-Id: Iadc8a372abcfab514f724dd95f05776e5153d007 (cherry picked from commit 2a66c02553bbcfbb9e646c39ec291fb2eefbf6bb) Reviewed-on: https://gerrit.libreoffice.org/27673 Tested-by: Jenkins Reviewed-by: Miklos Vajna diff --git a/sdext/source/pdfimport/wrapper/wrapper.cxx b/sdext/source/pdfimport/wrapper/wrapper.cxx index 48e3924..b45412d 100644 --- a/sdext/source/pdfimport/wrapper/wrapper.cxx +++ b/sdext/source/pdfimport/wrapper/wrapper.cxx @@ -959,13 +959,6 @@ static bool checkEncryption( const OUString& i_rPa OSL_TRACE( "password: %s", bAuthenticated ? "matches" : "does not match" ); bSuccess = bAuthenticated; } -if( bAuthenticated ) -{ -OUStringBuffer aBuf( 128 ); -aBuf.append( "_OOO_pdfi_Credentials_" ); -aBuf.append( pPDFFile->getDecryptionKey() ); -io_rPwd = aBuf.makeStringAndClear(); -} } else if( i_xIHdl.is() ) { ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - cui/uiconfig
cui/uiconfig/ui/effectspage.ui | 20 1 file changed, 20 insertions(+) New commits: commit 9804ec09742f39bcc1cd02fdb4de3ca251d5f5d2 Author: Caolán McNamaraDate: Fri Jul 29 10:58:17 2016 +0100 Resolves: tdf#96677 effects page didn't link labels to what they labelled (cherry picked from commit b3b7669e7fb74b04d925f21a7f0b048434eeffa3) Change-Id: I29503324f221c42208267f4f0d36922e89119fdd Reviewed-on: https://gerrit.libreoffice.org/27677 Tested-by: Jenkins Reviewed-by: Miklos Vajna diff --git a/cui/uiconfig/ui/effectspage.ui b/cui/uiconfig/ui/effectspage.ui index 62fd90f..148532b 100644 --- a/cui/uiconfig/ui/effectspage.ui +++ b/cui/uiconfig/ui/effectspage.ui @@ -217,6 +217,8 @@ False 0 Font color: +True +fontcolorlb 0 @@ -229,6 +231,8 @@ False 0 Effects: +True +effectslb 0 @@ -241,6 +245,8 @@ False 0 Relief: +True +relieflb 0 @@ -253,6 +259,8 @@ False 0 Overlining: +True +overlinelb 2 @@ -265,6 +273,8 @@ False 0 Strikethrough: +True +strikeoutlb 2 @@ -277,6 +287,8 @@ False 0 Underlining: +True +underlinelb 2 @@ -289,6 +301,8 @@ False 0 Overline color: +True +overlinecolorlb 3 @@ -301,6 +315,8 @@ False 0 Underline color: +True +underlinecolorlb 3 @@ -479,6 +495,8 @@ False 0 Position: +True +positionlb 3 @@ -491,6 +509,8 @@ False 0 Emphasis mark: +True +emphasislb 2 ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - salhelper/source
salhelper/source/thread.cxx | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) New commits: commit 5ccf6776a130cc7bdd692bbcfd1be47001609ee4 Author: Markus MohrhardDate: Tue Aug 2 14:25:44 2016 +0200 don't catch SEH exceptions in sal thread code ...just for libreoffice-5-2, which does not have 62c047ffb397802c09df9070492e70725928cadf "switch to EHs on windows" and needs this for crash reporting in spawned salhelper::Threads. Change-Id: I1e8f15d8f2fb5a741538d16de34c47f66dfaba0d Reviewed-on: https://gerrit.libreoffice.org/26968 Tested-by: Jenkins Reviewed-by: Miklos Vajna diff --git a/salhelper/source/thread.cxx b/salhelper/source/thread.cxx index 52c028c..ea188b8 100644 --- a/salhelper/source/thread.cxx +++ b/salhelper/source/thread.cxx @@ -38,12 +38,20 @@ void salhelper::Thread::run() { try { setName(name_); execute(); -} catch (...) { +} catch (const std::exception&) { // Work around the problem that onTerminated is not called if run throws // an exception: onTerminated(); throw; } +// don't use a catch all handler with EHa as that will catch SEH exceptions +#ifndef WNT +catch (...) +{ +onTerminated(); +throw; +} +#endif } void salhelper::Thread::onTerminated() { release(); } ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - sw/inc sw/source
sw/inc/dbmgr.hxx|2 +- sw/source/uibase/dbui/dbmgr.cxx | 23 ++- 2 files changed, 3 insertions(+), 22 deletions(-) New commits: commit 498bcdbbb02696c66f9bd093b30c17b9efd1459c Author: Jan-Marek GlogowskiDate: Sat Jul 30 15:26:07 2016 +0200 tdf#95251 MM just allow print as single document Remove kept block from revert of 138d29aa09417eba4d15ade4c9f4dab2620b6326 After this revert MM just supports pinting via a single merged document. Printing as inidividual files should have still worked, but as a workaround we remove this functionality, until the print backend can handle multiple-file print jobs correctly. Reviewed-on: https://gerrit.libreoffice.org/27721 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski (cherry picked from commit b6a698b093f78dc90836d502db3d0276f335fbfe) Conflicts: sw/source/uibase/dbui/dbmgr.cxx Change-Id: I70d0852cdcc369b0fc9f344086830f15d8dea451 Reviewed-on: https://gerrit.libreoffice.org/27722 Tested-by: Jenkins Reviewed-by: Miklos Vajna diff --git a/sw/inc/dbmgr.hxx b/sw/inc/dbmgr.hxx index 1e409a6..442d0e1 100644 --- a/sw/inc/dbmgr.hxx +++ b/sw/inc/dbmgr.hxx @@ -211,7 +211,7 @@ struct SwMergeDescriptor bPrintAsync( false ), pMailMergeConfigItem( nullptr ) { -if( nType == DBMGR_MERGE_SHELL ) +if( nType == DBMGR_MERGE_SHELL || nType == DBMGR_MERGE_PRINTER ) bCreateSingleFile = true; } }; diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx index be17f00..7b4c2f6 100644 --- a/sw/source/uibase/dbui/dbmgr.cxx +++ b/sw/source/uibase/dbui/dbmgr.cxx @@ -1103,9 +1103,9 @@ bool SwDBManager::MergeMailFiles(SwWrtShell* pSourceShell, assert( bMT_EMAIL && !bCheckSingleFile_ ); bCheckSingleFile_ = false; } -else if( bMT_SHELL ) +else if( bMT_SHELL || bMT_PRINTER ) { -assert( bMT_SHELL && bCheckSingleFile_ ); +assert( (bMT_SHELL || bMT_PRINTER) && bCheckSingleFile_ ); bCheckSingleFile_ = true; } const bool bCreateSingleFile = bCheckSingleFile_; @@ -1431,25 +1431,6 @@ bool SwDBManager::MergeMailFiles(SwWrtShell* pSourceShell, rMergeDescriptor.pMailMergeConfigItem->AddMergedDocument( aMergeInfo ); } } -else if( bMT_PRINTER ) -{ -if( !bWorkDocInitialized ) // set up printing only once at the beginning -{ -uno::Sequence< beans::PropertyValue > aOptions( rMergeDescriptor.aPrintOptions ); -lcl_PreparePrinterOptions( rMergeDescriptor.aPrintOptions, false, aOptions ); - -pWorkView->StartPrint( aOptions, bIsMergeSilent, rMergeDescriptor.bPrintAsync ); -// some GetPrinter functions have a true default, so keep the false -SfxPrinter* pDocPrt = pWorkView->GetPrinter(); -JobSetup aJobSetup = pDocPrt ? pDocPrt->GetJobSetup() : SfxViewShell::GetJobSetup(); -if( !Printer::PreparePrintJob( pWorkView->GetPrinterController(), aJobSetup ) ) -MergeCancel(); -} -if( IsMergeOk() && !Printer::ExecutePrintJob( pWorkView->GetPrinterController()) ) -{ -m_aMergeStatus = MergeStatus::ERROR; -} -} else { assert( bNeedsTempFiles ); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Changes to 'refs/tags/cp-5.1-3'
Tag 'cp-5.1-3' created by Jan Holesovskyat 2016-08-02 15:52 + cp-5.1-3 Changes since the dawn of time: Adolfo Jayme Barrientos (1): Revert Spanish dictionaryâs description to allow for its localization Andras Timar (160): Introducing Linux Libertine G and Linux Biolinum G fonts typo fix Updated Croatian hyphenation patterns Added Danish thesaurus #i110784# fixed Danish thesaurus help registration problem added non-trivial help to hu thesaurus updated Linux Libertine G font New release of Linux Libertine G fonts added unique IDs to make localize happy Added Ukrainian dictionaries - fdo#33595 #i113874# Added Russian spelling dictionary - fdo#33571 #i113873# Added Occitan spelling dictionary - fdo#33574 bump the version number of ru dict pack fixed a bug in hu thesaurus thanks to th_check.pl Added Ukrainian dictionaries - fdo#33595 #i113874# Added Russian spelling dictionary - fdo#33571 #i113873# bump the version number of ru dict pack Added Occitan spelling dictionary - fdo#33574 added a word suggested by PeDa Updated German dictionaries (2010-12-04) - fdo#33751 forgot add COPYING_GPLv3 fixing makefile.mk for uk_UA dictionary l10n: add Breton spelling dictionary l10n: Updated oc_FR spelling dictionary l10n: wrong encoding in nl_NL dictionary description l10n: wrong encoding in nl_NL dictionary description l10n: Updated oc_FR spelling dictionary l10n: add Breton spelling dictionary forgot add COPYING_GPLv3 Updated German dictionaries (2010-12-04) - fdo#33751 l10n: update de_CH and de_AT dictionaries - fdo#33751 l10n: update de_CH and de_AT dictionaries - fdo#33751 updated oc_FR dictionary to version 0.6.1 - fdo#36718 updated German dictionaries - fdo#36879 remove national flags (dictionary icons) remove added license header that caused parse error (fdo#37433) remove added license header that caused parse error (fdo#37433) Update: Brazilian portuguese spelling dictionary & hyphenation fdo#37671 fix pt-BR makefile Update: Brazilian portuguese spelling dictionary & hyphenation fdo#37671 fix pt-BR makefile Swedish dictionary update from 1.43 to 1.46 Swedish dictionary update from 1.43 to 1.46 update Romanian spelling dictionary Add Arabic dictionaries from Ayaspell project Add European Portoguise dictionaries Add Czech spelling dictionary and hyphenation patterns fdo#39735 merge 3 German dictionary packs remove old unused code add hyph dict for de add Swedish thesaurus add Bulgarian (bg-BG) dictionaries add Bengali (bn-BD) dictionaries add Gujarati (gu-IN) dictionaries add Hindi (hi-IN) dictionaries add Latvian (lv-LV) dictionaries set lang to en-US in order l10ntools can extract strings chmod -x unify and correct dictionary descriptions remove unused target.pmk depend on translations module remove unnecessary delzip file enable localization of extension descriptions in dictionaries updated the Swedish spelling dictionary to version 1.48 remove help.tree files which did not integrate well fdo#33151 add Greek dictionary pack fdo#42084 add Belarusian dictionary pack fdo#36641 add Telugu dictionary pack fdo#33288 add Scottish Gaelic dictionary pack update pt-PT spelling dictionary update German dictionary pack update French dictionary (4.3) update Breton dictionary (0.8) add 'grammar checker' to description add Aragonese spelling dictionary correct description add icon to makefile add Sinhala spelling dictionary typo set xml:lang to en-US, not en add 'grammar checker' to description Update Slovenian dictionaries Update Italian dictionaries Update Catalan dictionaries (2.3.0) Update Swedish dictionaries (1.50) Update Scottish Gaelic dictionaries (2.1) Update Brazilian Portuguise dictionaries (2.1.0) add legacy files to version control + update README fix double utf8 encoding Update Swedish dictionaries (1.51) remove th_da_DK.idx (it will be generated) Update Danish dictionaries (2.0) enable localization of Lightproof extensions add $(COMMAND_ECHO) before idxdict line enable thesaurus check for hu_HU silence idxdict tool fdo#47736 typo Swedish dictionary update (2.5) add sv_FI.* fdo#50981 update of German dictionaries (2012.06.10) update of Scottish Gaelic Spellchecker (2.3) update pt_PT dictionary (12.7.1.1) update Swedish dictionaries (2.6) updated Spanish dictionaries (0.6) update Danish dictionaries (2.1) re-add help.tree to Hungarian dict help (hu
[Libreoffice-commits] help.git: Changes to 'refs/tags/cp-5.1-3'
Tag 'cp-5.1-3' created by Jan Holesovskyat 2016-08-02 15:52 + cp-5.1-3 Changes since libreoffice-5-1-branch-point-11: --- 0 files changed --- ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] translations.git: Changes to 'refs/tags/cp-5.1-3'
Tag 'cp-5.1-3' created by Jan Holesovskyat 2016-08-02 15:52 + cp-5.1-3 Changes since libreoffice-5-1-branch-point-23: --- 0 files changed --- ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] dictionaries.git: Changes to 'refs/tags/cp-5.1-3'
Tag 'cp-5.1-3' created by Jan Holesovskyat 2016-08-02 15:52 + cp-5.1-3 Changes since libreoffice-5-1-branch-point-8: --- 0 files changed --- ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
Re: MSVC 14.0 U3: LO msi package put VC redist libraries in wrong directory
On Mon Aug 1 19:50:13 UTC 2016, V Stuart Foote wrote: > OK, sucess. But had to do a bit to meet the KB2999226 issue... Thanks Stuart, really appreciated. I totally missed that UCRT dependency, that MSVC 14.0 build tool chain is using, must be installed on the earlier version of Windows as 10: " Microsoft Visual Studio 2015 creates a dependency on the Universal CRT when applications are built by using the Windows 10 Software Development Kit (SDK). " And it seems that not all older Windows versions are supported for that upgrade... We should document your steps related to KB2999226 on some prominent place, before we ship LO built with MSVC 14.0. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: Branch 'distro/collabora/lov-5.1' - instsetoo_native/util Makefile.in solenv/bin
Makefile.in | 20 ++-- instsetoo_native/util/openoffice.lst.in |4 ++-- solenv/bin/ooinstall|5 - 3 files changed, 16 insertions(+), 13 deletions(-) New commits: commit 31ff3a7eabdf6ca07486de815bbbcc49df8f4a61 Author: Tor LillqvistDate: Tue Aug 2 20:36:32 2016 +0300 Use LibreOffice Vanilla in more places Change-Id: I07aefbdf6c6c7290b1c7c347f11dc76964bb2488 diff --git a/Makefile.in b/Makefile.in index 0905d68..d1b8075 100644 --- a/Makefile.in +++ b/Makefile.in @@ -307,37 +307,37 @@ ifneq ($(MACOSX_CODESIGNING_IDENTITY),) # # Create Resources/*.lproj directories for languages supported by OS X set -x; for lang in ca cs da de el en es fi fr hr hu id it ja ko ms nl no pl pt pt_PT ro ru sk sv th tr uk vi zh_CN zh_TW; do \ - lproj=$(TESTINSTALLDIR)/LibreOffice$(if $(ENABLE_RELEASE_BUILD),,Dev).app/Contents/Resources/$$lang.lproj; \ + lproj=$(TESTINSTALLDIR)/LibreOfficeVanilla$(if $(ENABLE_RELEASE_BUILD),,Dev).app/Contents/Resources/$$lang.lproj; \ mkdir $$lproj; \ done # # And remove the "bin" folder which should not be there - rm -rf $(TESTINSTALLDIR)/LibreOffice$(if $(ENABLE_RELEASE_BUILD),,Dev).app/Contents/bin + rm -rf $(TESTINSTALLDIR)/LibreOfficeVanilla$(if $(ENABLE_RELEASE_BUILD),,Dev).app/Contents/bin # # Remove unnecessary executables in the LibreOfficePython framework - rm -rf $(TESTINSTALLDIR)/LibreOffice$(if $(ENABLE_RELEASE_BUILD),,Dev).app/Contents/Frameworks/LibreOfficePython.framework/Versions/[1-9]*/bin + rm -rf $(TESTINSTALLDIR)/LibreOfficeVanilla$(if $(ENABLE_RELEASE_BUILD),,Dev).app/Contents/Frameworks/LibreOfficePython.framework/Versions/[1-9]*/bin # # Remove the python.o object file which is weird and interferes with app store uploading # And with it removed, presumably the other stuff in the Python lib/python3.3/config-3.3m probably does not make sense either. - rm -rf $(TESTINSTALLDIR)/LibreOffice$(if $(ENABLE_RELEASE_BUILD),,Dev).app/Contents/Frameworks/LibreOfficePython.framework/Versions/[1-9]*/lib/python[1-9]*/config-[1-9]* + rm -rf $(TESTINSTALLDIR)/LibreOfficeVanilla$(if $(ENABLE_RELEASE_BUILD),,Dev).app/Contents/Frameworks/LibreOfficePython.framework/Versions/[1-9]*/lib/python[1-9]*/config-[1-9]* # ifneq ($ENABLE_MACOSX_SANDBOX),) # Remove the gengal.bin binary and unopkg script that we don't want - rm $(TESTINSTALLDIR)/LibreOffice$(if $(ENABLE_RELEASE_BUILD),,Dev).app/Contents/MacOS/gengal.bin - rm $(TESTINSTALLDIR)/LibreOffice$(if $(ENABLE_RELEASE_BUILD),,Dev).app/Contents/MacOS/unopkg + rm $(TESTINSTALLDIR)/LibreOfficeVanilla$(if $(ENABLE_RELEASE_BUILD),,Dev).app/Contents/MacOS/gengal.bin + rm $(TESTINSTALLDIR)/LibreOfficeVanilla$(if $(ENABLE_RELEASE_BUILD),,Dev).app/Contents/MacOS/unopkg endif # # Then use the macosx-codesign-app-bundle script - @$(SRCDIR)/solenv/bin/macosx-codesign-app-bundle $(TESTINSTALLDIR)/LibreOffice$(if $(ENABLE_RELEASE_BUILD),,Dev).app + @$(SRCDIR)/solenv/bin/macosx-codesign-app-bundle $(TESTINSTALLDIR)/LibreOfficeVanilla$(if $(ENABLE_RELEASE_BUILD),,Dev).app endif endif @$(call gb_Top_InstallFinished,Test Installation,$(TESTINSTALLDIR)) mac-app-store-package: test-install ifneq ($(MACOSX_PACKAGE_SIGNING_IDENTITY),) - rm -rf "$(MACOSX_APP_NAME).app" - mv "$(TESTINSTALLDIR)/$(PRODUCTNAME).app" "$(MACOSX_APP_NAME).app" - productbuild --component "$(MACOSX_APP_NAME).app" /Applications --sign $(MACOSX_PACKAGE_SIGNING_IDENTITY) $(shell echo "$(MACOSX_APP_NAME)" | tr ' ' '-').pkg + rm -rf LibreOfficeVanilla.app + mv "$(TESTINSTALLDIR)/LibreOfficeVanilla.app" "LibreOffice Vanilla.app" + productbuild --component "LibreOffice Vanilla.app" /Applications --sign $(MACOSX_PACKAGE_SIGNING_IDENTITY) $(shell echo "LibreOfficeVanilla.pkg else @echo You did not provide an installer signing identity with --enable-macosx-package-signing @exit 1 diff --git a/instsetoo_native/util/openoffice.lst.in b/instsetoo_native/util/openoffice.lst.in index 5f51117..f832793 100644 --- a/instsetoo_native/util/openoffice.lst.in +++ b/instsetoo_native/util/openoffice.lst.in @@ -38,13 +38,13 @@ Globals } } -LibreOffice +LibreOfficeVanilla { Settings { variables { -PRODUCTNAME LibreOffice +PRODUCTNAME LibreOffice Vanilla PRODUCTVERSION @LIBO_VERSION_MAJOR@.@LIBO_VERSION_MINOR@ PRODUCTEXTENSION .@LIBO_VERSION_MICRO@.@LIBO_VERSION_PATCH@@LIBO_VERSION_SUFFIX@ POSTVERSIONEXTENSION diff --git a/solenv/bin/ooinstall b/solenv/bin/ooinstall index f9034cd..edd3d83 100755 --- a/solenv/bin/ooinstall +++ b/solenv/bin/ooinstall @@ -89,11 +89,14 @@ if ($destdir && "$ENV{DESTDIR}" ne "/" && -d "$ENV{DESTDIR}") { print "Running LibreOffice installer\n";
[Libreoffice-commits] core.git: editeng/source include/editeng sw/qa
editeng/source/editeng/editundo.cxx| 11 editeng/source/editeng/impedit.cxx |5 editeng/source/editeng/impedit.hxx |1 include/editeng/editund2.hxx |3 ++ sw/qa/extras/tiledrendering/tiledrendering.cxx | 31 + 5 files changed, 50 insertions(+), 1 deletion(-) New commits: commit b567278c4aa6e3dee331b60c71eb996babcc9d08 Author: Miklos VajnaDate: Tue Aug 2 17:52:44 2016 +0200 editeng: implement SfxUndoAction::GetViewShellId() interface in EditUndo With this, e.g. inserting a character in a Writer shape text remembers its view shell. Change-Id: Ic82a3f45a66cf622496e3131390d365440dffb3b Reviewed-on: https://gerrit.libreoffice.org/27796 Reviewed-by: Miklos Vajna Tested-by: Jenkins diff --git a/editeng/source/editeng/editundo.cxx b/editeng/source/editeng/editundo.cxx index faea53b..62d7e3f 100644 --- a/editeng/source/editeng/editundo.cxx +++ b/editeng/source/editeng/editundo.cxx @@ -118,8 +118,12 @@ bool EditUndoManager::Redo() } EditUndo::EditUndo(sal_uInt16 nI, EditEngine* pEE) : -nId(nI), mpEditEngine(pEE) +nId(nI), mnViewShellId(-1), mpEditEngine(pEE) { +const EditView* pEditView = mpEditEngine ? mpEditEngine->GetActiveView() : nullptr; +const OutlinerViewShell* pViewShell = pEditView ? pEditView->GetImpEditView()->GetViewShell() : nullptr; +if (pViewShell) +mnViewShellId = pViewShell->GetViewShellId(); } EditUndo::~EditUndo() @@ -147,6 +151,11 @@ OUString EditUndo::GetComment() const return aComment; } +sal_Int32 EditUndo::GetViewShellId() const +{ +return mnViewShellId; +} + EditUndoDelContent::EditUndoDelContent( EditEngine* pEE, ContentNode* pNode, sal_Int32 nPortion) : EditUndo(EDITUNDO_DELCONTENT, pEE), diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx index b3cf784..13a53ac 100644 --- a/editeng/source/editeng/impedit.cxx +++ b/editeng/source/editeng/impedit.cxx @@ -122,6 +122,11 @@ void ImpEditView::RegisterViewShell(OutlinerViewShell* pViewShell) mpViewShell = pViewShell; } +const OutlinerViewShell* ImpEditView::GetViewShell() const +{ +return mpViewShell; +} + void ImpEditView::SetEditSelection( const EditSelection& rEditSelection ) { // set state before notification diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx index 4dd3356..cc7362e 100644 --- a/editeng/source/editeng/impedit.hxx +++ b/editeng/source/editeng/impedit.hxx @@ -369,6 +369,7 @@ public: /// Informs this edit view about which view shell contains it. void RegisterViewShell(OutlinerViewShell* pViewShell); +const OutlinerViewShell* GetViewShell() const; boolIsWrongSpelledWord( const EditPaM& rPaM, bool bMarkIfWrong ); OUStringSpellIgnoreWord(); diff --git a/include/editeng/editund2.hxx b/include/editeng/editund2.hxx index 449c4ad..c6914d3 100644 --- a/include/editeng/editund2.hxx +++ b/include/editeng/editund2.hxx @@ -47,6 +47,7 @@ class EDITENG_DLLPUBLIC EditUndo : public SfxUndoAction { private: sal_uInt16 nId; +sal_Int32 mnViewShellId; EditEngine* mpEditEngine; public: @@ -60,6 +61,8 @@ public: virtual boolCanRepeat(SfxRepeatTarget&) const override; virtual OUString GetComment() const override; +/// See SfxUndoAction::GetViewShellId(). +sal_Int32 GetViewShellId() const override; virtual sal_uInt16 GetId() const override; }; diff --git a/sw/qa/extras/tiledrendering/tiledrendering.cxx b/sw/qa/extras/tiledrendering/tiledrendering.cxx index 79d3e18..cfb1cbe 100644 --- a/sw/qa/extras/tiledrendering/tiledrendering.cxx +++ b/sw/qa/extras/tiledrendering/tiledrendering.cxx @@ -26,6 +26,7 @@ #include #include #include +#include #include #include @@ -59,6 +60,7 @@ public: void testViewLock(); void testTextEditViewInvalidations(); void testUndoInvalidations(); +void testShapeTextUndoShells(); CPPUNIT_TEST_SUITE(SwTiledRenderingTest); CPPUNIT_TEST(testRegisterCallback); @@ -84,6 +86,7 @@ public: CPPUNIT_TEST(testViewLock); CPPUNIT_TEST(testTextEditViewInvalidations); CPPUNIT_TEST(testUndoInvalidations); +CPPUNIT_TEST(testShapeTextUndoShells); CPPUNIT_TEST_SUITE_END(); private: @@ -890,6 +893,34 @@ void SwTiledRenderingTest::testUndoInvalidations() comphelper::LibreOfficeKit::setActive(false); } +void SwTiledRenderingTest::testShapeTextUndoShells() +{ +// Load a document and create a view. +comphelper::LibreOfficeKit::setActive(); +SwXTextDocument* pXTextDocument = createDoc("shape.fodt"); +sal_Int32 nView1 = SfxLokHelper::getView(); + +// Begin text edit. +SwWrtShell* pWrtShell = pXTextDocument->GetDocShell()->GetWrtShell(); +SdrPage* pPage =
GSoC : Week #10 : Import Cell styles via Orcus
Hi, I've Completed the following work : 1. Add automated test for Imported styles 2. A few trivial things before we release orcus This coming week, I will be focusing on the following work : 1. Add more test cases for Imported styles. 2. Fix 2 warnings that I've noticed. Regards, Jaskaran ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] core.git: sc/source
sc/source/core/data/column4.cxx | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) New commits: commit c82a81bbda104ef08dd9e18725a09475b2d65183 Author: Eike RathkeDate: Tue Aug 2 19:55:08 2016 +0200 Resolves: tdf#100582 SetMatColsRows() when constructing matrix ScFormulaCell ... from an ScFormulaCellGroup token array, because ScFormulaResult that holds the matrix dimensions is not cloned in that case as we don't clone from an ScFormulaCell. Change-Id: I13ab1b29db71ae1618580de995fe12ec423d4dc7 diff --git a/sc/source/core/data/column4.cxx b/sc/source/core/data/column4.cxx index f46c6ae..0b7bc6a 100644 --- a/sc/source/core/data/column4.cxx +++ b/sc/source/core/data/column4.cxx @@ -483,6 +483,16 @@ void ScColumn::CloneFormulaCell( sc::CellStoreType::iterator itPos = maCells.begin(); sc::CellTextAttrStoreType::iterator itAttrPos = maCellTextAttrs.begin(); +SCCOL nMatrixCols = 0; +SCROW nMatrixRows = 0; +sal_uInt8 nMatrixFlag = rSrc.GetMatrixFlag(); +if (nMatrixFlag == MM_FORMULA) +{ +rSrc.GetMatColsRows( nMatrixCols, nMatrixRows); +SAL_WARN_IF( nMatrixCols != 1 || nMatrixRows != 1, "sc.core", +"ScColumn::CloneFormulaCell - cloning array/matrix with not exactly one column or row as single cell"); +} + std::vector aFormulas; std::vector::const_iterator itSpan = rRanges.begin(), itSpanEnd = rRanges.end(); for (; itSpan != itSpanEnd; ++itSpan) @@ -514,7 +524,9 @@ void ScColumn::CloneFormulaCell( xGroup->compileCode(*pDocument, aPos, pDocument->GetGrammar()); for (size_t i = 0; i < nLen; ++i, aPos.IncRow()) { -ScFormulaCell* pCell = new ScFormulaCell(pDocument, aPos, xGroup, pDocument->GetGrammar(), rSrc.GetMatrixFlag()); +ScFormulaCell* pCell = new ScFormulaCell(pDocument, aPos, xGroup, pDocument->GetGrammar(), nMatrixFlag); +if (nMatrixFlag == MM_FORMULA) +pCell->SetMatColsRows( nMatrixCols, nMatrixRows); if (i == 0) { xGroup->mpTopCell = pCell; ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: editeng/source sw/qa
editeng/source/editeng/impedit.hxx |2 + editeng/source/editeng/impedit5.cxx| 16 ++-- sw/qa/extras/tiledrendering/tiledrendering.cxx | 32 + 3 files changed, 48 insertions(+), 2 deletions(-) New commits: commit c86e89c5bb040786193f7b8bba8516ffa706a14a Author: Miklos VajnaDate: Tue Aug 2 19:35:05 2016 +0200 editeng: track view shells in SfxListUndoActions This is needed for e.g. tracking deletions by backspace in Writer shape text. Change-Id: I6f873872566313096c2c57f4a13ac2f1db67e77d Reviewed-on: https://gerrit.libreoffice.org/27807 Reviewed-by: Miklos Vajna Tested-by: Jenkins diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx index cc7362e..f74d05a 100644 --- a/editeng/source/editeng/impedit.hxx +++ b/editeng/source/editeng/impedit.hxx @@ -685,6 +685,8 @@ private: void ImplUpdateOverflowingLineNum( sal_uInt32, sal_uInt32, sal_uInt32 ); SpellInfo * CreateSpellInfo( bool bMultipleDocs ); +/// Obtains a view shell ID from the active EditView. +sal_Int32 CreateViewShellId(); ImpEditEngine(EditEngine* pEditEngine, SfxItemPool* pPool); void InitDoc(bool bKeepParaAttribs); diff --git a/editeng/source/editeng/impedit5.cxx b/editeng/source/editeng/impedit5.cxx index 4dc34fc..e360c0a 100644 --- a/editeng/source/editeng/impedit5.cxx +++ b/editeng/source/editeng/impedit5.cxx @@ -222,11 +222,23 @@ EditUndoSetAttribs* ImpEditEngine::CreateAttribUndo( EditSelection aSel, const S return pUndo; } +sal_Int32 ImpEditEngine::CreateViewShellId() +{ +sal_Int32 nRet = -1; + +const EditView* pEditView = pEditEngine ? pEditEngine->GetActiveView() : nullptr; +const OutlinerViewShell* pViewShell = pEditView ? pEditView->GetImpEditView()->GetViewShell() : nullptr; +if (pViewShell) +nRet = pViewShell->GetViewShellId(); + +return nRet; +} + void ImpEditEngine::UndoActionStart( sal_uInt16 nId, const ESelection& aSel ) { if ( IsUndoEnabled() && !IsInUndo() ) { -GetUndoManager().EnterListAction( GetEditEnginePtr()->GetUndoComment( nId ), OUString(), nId, -1 ); +GetUndoManager().EnterListAction( GetEditEnginePtr()->GetUndoComment( nId ), OUString(), nId, CreateViewShellId() ); DBG_ASSERT( !pUndoMarkSelection, "UndoAction SelectionMarker?" ); pUndoMarkSelection = new ESelection( aSel ); } @@ -236,7 +248,7 @@ void ImpEditEngine::UndoActionStart( sal_uInt16 nId ) { if ( IsUndoEnabled() && !IsInUndo() ) { -GetUndoManager().EnterListAction( GetEditEnginePtr()->GetUndoComment( nId ), OUString(), nId, -1 ); +GetUndoManager().EnterListAction( GetEditEnginePtr()->GetUndoComment( nId ), OUString(), nId, CreateViewShellId() ); DBG_ASSERT( !pUndoMarkSelection, "UndoAction SelectionMarker?" ); } } diff --git a/sw/qa/extras/tiledrendering/tiledrendering.cxx b/sw/qa/extras/tiledrendering/tiledrendering.cxx index cfb1cbe..b2b97bd 100644 --- a/sw/qa/extras/tiledrendering/tiledrendering.cxx +++ b/sw/qa/extras/tiledrendering/tiledrendering.cxx @@ -61,6 +61,7 @@ public: void testTextEditViewInvalidations(); void testUndoInvalidations(); void testShapeTextUndoShells(); +void testShapeTextUndoGroupShells(); CPPUNIT_TEST_SUITE(SwTiledRenderingTest); CPPUNIT_TEST(testRegisterCallback); @@ -87,6 +88,7 @@ public: CPPUNIT_TEST(testTextEditViewInvalidations); CPPUNIT_TEST(testUndoInvalidations); CPPUNIT_TEST(testShapeTextUndoShells); +CPPUNIT_TEST(testShapeTextUndoGroupShells); CPPUNIT_TEST_SUITE_END(); private: @@ -921,6 +923,36 @@ void SwTiledRenderingTest::testShapeTextUndoShells() comphelper::LibreOfficeKit::setActive(false); } +void SwTiledRenderingTest::testShapeTextUndoGroupShells() +{ +// Load a document and create a view. +comphelper::LibreOfficeKit::setActive(); +SwXTextDocument* pXTextDocument = createDoc("shape.fodt"); +sal_Int32 nView1 = SfxLokHelper::getView(); + +// Begin text edit. +SwWrtShell* pWrtShell = pXTextDocument->GetDocShell()->GetWrtShell(); +SdrPage* pPage = pWrtShell->GetDoc()->getIDocumentDrawModelAccess().GetDrawModel()->GetPage(0); +SdrObject* pObject = pPage->GetObj(0); +SdrView* pView = pWrtShell->GetDrawView(); +pWrtShell->GetView().BeginTextEdit(pObject, pView->GetSdrPageView(), pWrtShell->GetWin()); +pXTextDocument->postKeyEvent(LOK_KEYEVENT_KEYINPUT, 'x', 0); +pXTextDocument->postKeyEvent(LOK_KEYEVENT_KEYUP, 'x', 0); +pXTextDocument->postKeyEvent(LOK_KEYEVENT_KEYINPUT, 0, awt::Key::BACKSPACE); +pXTextDocument->postKeyEvent(LOK_KEYEVENT_KEYUP, 0, awt::Key::BACKSPACE); + +// Make sure that the undo item remembers who created it. +SwDoc* pDoc = pXTextDocument->GetDocShell()->GetDoc(); +sw::UndoManager&
[Libreoffice-commits] core.git: 2 commits - cui/source cui/uiconfig include/svtools svtools/source svtools/uiconfig
cui/source/options/optgdlg.cxx | 33 +-- cui/uiconfig/ui/optviewpage.ui |9 include/svtools/restartdialog.hxx|5 +++- svtools/source/dialogs/restartdialog.cxx |3 ++ svtools/uiconfig/ui/restartdialog.ui | 17 +++ 5 files changed, 47 insertions(+), 20 deletions(-) New commits: commit 4e8bc5462a01818f0f9c92a09f1bdc68821187f4 Author: Caolán McNamaraDate: Tue Aug 2 21:04:44 2016 +0100 Related: tdf#101196 prompt to restart after OpenGL config changes Change-Id: If0ade12ed4cf360bdac8cfbec7bb09c9a640fc6d diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index 1f6019f..5c7944d 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -868,8 +868,13 @@ bool OfaViewTabPage::FillItemSet( SfxItemSet* ) } } -mpOpenGLConfig->setUseOpenGL(m_pUseOpenGL->IsChecked()); -mpOpenGLConfig->setForceOpenGL(m_pForceOpenGL->IsChecked()); +if (m_pUseOpenGL->IsValueChangedFromSaved() || +m_pForceOpenGL->IsValueChangedFromSaved()) +{ +mpOpenGLConfig->setUseOpenGL(m_pUseOpenGL->IsChecked()); +mpOpenGLConfig->setForceOpenGL(m_pForceOpenGL->IsChecked()); +bModified = true; +} if( bMenuOptModified ) { @@ -898,6 +903,15 @@ bool OfaViewTabPage::FillItemSet( SfxItemSet* ) } } +if (m_pUseOpenGL->IsValueChangedFromSaved() || +m_pForceOpenGL->IsValueChangedFromSaved()) +{ +SolarMutexGuard aGuard; +svtools::executeRestartDialog( +comphelper::getProcessComponentContext(), nullptr, +svtools::RESTART_REASON_OPENGL); +} + return bModified; } @@ -985,6 +999,9 @@ void OfaViewTabPage::Reset( const SfxItemSet* ) #endif m_pFontShowCB->SaveValue(); +m_pUseOpenGL->SaveValue(); +m_pForceOpenGL->SaveValue(); + #if defined( UNX ) LINK( this, OfaViewTabPage, OnAntialiasingToggled ).Call( *m_pFontAntiAliasing ); #endif diff --git a/include/svtools/restartdialog.hxx b/include/svtools/restartdialog.hxx index 2d0ccd8..74aba87 100644 --- a/include/svtools/restartdialog.hxx +++ b/include/svtools/restartdialog.hxx @@ -50,9 +50,12 @@ enum RestartReason { RESTART_REASON_EXP_FEATURES, // "For the modified experimental features to take effect, // %PRODUCTNAME must be restarted." -RESTART_REASON_EXTENSION_INSTALL +RESTART_REASON_EXTENSION_INSTALL, // "For the extension to work properly, // %PRODUCTNAME must be restarted." +RESTART_REASON_OPENGL +// "For the OpenGL changes to take effect, +// %PRODUCTNAME must be restarted." }; // Must be called with the solar mutex locked: diff --git a/svtools/source/dialogs/restartdialog.cxx b/svtools/source/dialogs/restartdialog.cxx index a905d21..adf4827 100644 --- a/svtools/source/dialogs/restartdialog.cxx +++ b/svtools/source/dialogs/restartdialog.cxx @@ -61,6 +61,9 @@ public: case svtools::RESTART_REASON_EXTENSION_INSTALL: get(reason_, "reason_extension_install"); break; +case svtools::RESTART_REASON_OPENGL: +get(reason_, "reason_opengl"); +break; default: assert(false); // this cannot happen } diff --git a/svtools/uiconfig/ui/restartdialog.ui b/svtools/uiconfig/ui/restartdialog.ui index c9765e7..3edc5cc 100644 --- a/svtools/uiconfig/ui/restartdialog.ui +++ b/svtools/uiconfig/ui/restartdialog.ui @@ -211,6 +211,21 @@ + +False +True +For the OpenGL changes to take effect, %PRODUCTNAME must be restarted. +True +50 +0 + + +False +True +10 + + + True False @@ -221,7 +236,7 @@ False True -10 +11 commit 40c889105ff758ae09c7d9f423fbc3b85d5e2a53 Author: Caolán McNamara Date: Tue Aug 2 20:53:57 2016 +0100 Related: tdf#101196 shorten description, move info into tooltip Change-Id: Id3e083dc45135c8af724c64530b6eb4e36c7f6d2 diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index fb7aa58..1f6019f 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -644,18 +644,6 @@ OfaViewTabPage::OfaViewTabPage(vcl::Window* pParent, const SfxItemSet& rSet) m_pOpenGLStatusEnabled->Hide(); m_pOpenGLStatusDisabled->Hide(); } -else -{ -//tdf#191196, we need height-for-width support here, but for now we can -//bodge it -Size
[Libreoffice-commits] core.git: cui/source cui/uiconfig
cui/source/options/optgdlg.cxx | 12 cui/uiconfig/ui/optviewpage.ui |2 +- 2 files changed, 13 insertions(+), 1 deletion(-) New commits: commit 1c33b3f5f693d432f74c795a87f87bd487b09d47 Author: Caolán McNamaraDate: Tue Aug 2 20:49:10 2016 +0100 Resolves: tdf#101196 line wrap very long checkbox content Change-Id: Ie451b88240f755a0d64dd3db14d7981b8ed2a2a2 diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index 1f6019f..fb7aa58 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -644,6 +644,18 @@ OfaViewTabPage::OfaViewTabPage(vcl::Window* pParent, const SfxItemSet& rSet) m_pOpenGLStatusEnabled->Hide(); m_pOpenGLStatusDisabled->Hide(); } +else +{ +//tdf#191196, we need height-for-width support here, but for now we can +//bodge it +Size aPrefSize(m_pForceOpenGL->get_preferred_size()); +Size aSize(m_pForceOpenGL->CalcMinimumSize(36*approximate_char_width())); +if (aPrefSize.Width() > aSize.Width()) +{ +m_pForceOpenGL->set_width_request(aSize.Width()); +m_pForceOpenGL->set_height_request(aSize.Height()); +} +} #if defined( UNX ) m_pFontAntiAliasing->SetToggleHdl( LINK( this, OfaViewTabPage, OnAntialiasingToggled ) ); diff --git a/cui/uiconfig/ui/optviewpage.ui b/cui/uiconfig/ui/optviewpage.ui index deca725..a59758f 100644 --- a/cui/uiconfig/ui/optviewpage.ui +++ b/cui/uiconfig/ui/optviewpage.ui @@ -90,7 +90,7 @@ - + Force OpenGL even if blacklisted (on restart) True True ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: sd/source
sd/source/ui/unoidl/unopage.cxx |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit cc252e16418b1bf1cb77a96c21bcea994e5bddb7 Author: Noel GrandinDate: Tue Aug 2 08:59:19 2016 +0200 loplugin:simplifybool Change-Id: I2e1f288bf71cd5598bccf12322f74c096386b3c9 diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx index 7ca15d9..668325a 100644 --- a/sd/source/ui/unoidl/unopage.cxx +++ b/sd/source/ui/unoidl/unopage.cxx @@ -394,7 +394,7 @@ void SdGenericDrawPage::UpdateModel() { mpModel = nullptr; } -mbIsImpressDocument = mpModel ? mpModel->IsImpressDocument() : false; +mbIsImpressDocument = mpModel && mpModel->IsImpressDocument(); } // this is called whenever a SdrObject must be created for a empty api shape wrapper ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: sfx2/inc sfx2/source
sfx2/inc/guisaveas.hxx |2 +- sfx2/source/appl/fileobj.hxx |2 +- sfx2/source/appl/shutdownicon.cxx |4 ++-- sfx2/source/appl/workwin.cxx |2 +- sfx2/source/dialog/filedlghelper.cxx |2 +- sfx2/source/dialog/filedlgimpl.hxx |2 +- sfx2/source/dialog/templdlg.cxx|8 sfx2/source/doc/DocumentMetadataAccess.cxx |4 ++-- sfx2/source/doc/SfxDocumentMetaData.cxx|8 sfx2/source/doc/doctempl.cxx |8 sfx2/source/doc/doctemplates.cxx |4 ++-- sfx2/source/inc/splitwin.hxx |4 ++-- sfx2/source/inc/statcach.hxx |2 +- sfx2/source/inc/templdgi.hxx |2 +- sfx2/source/sidebar/SidebarController.cxx |3 ++- sfx2/source/toolbox/imgmgr.cxx |2 +- sfx2/source/view/ipclient.cxx |3 ++- 17 files changed, 32 insertions(+), 30 deletions(-) New commits: commit d961af95cdc62565b2e804fedf7221aa8bb4d840 Author: Noel GrandinDate: Mon Aug 1 08:27:30 2016 +0200 loplugin:countusersofdefaultparams in sfx2 Change-Id: I0a21e2f8069bc698700e97e7c5e4ae508240ff98 Reviewed-on: https://gerrit.libreoffice.org/27761 Tested-by: Jenkins Reviewed-by: Noel Grandin diff --git a/sfx2/inc/guisaveas.hxx b/sfx2/inc/guisaveas.hxx index 5ca7743..eb742e0 100644 --- a/sfx2/inc/guisaveas.hxx +++ b/sfx2/inc/guisaveas.hxx @@ -63,7 +63,7 @@ public: css::uno::Sequence< css::beans::PropertyValue >& aArgsSequence, bool bPreselectPassword, const OUString& aUserSelectedName, -SignatureState nDocumentSignatureState = SignatureState::NOSIGNATURES ); +SignatureState nDocumentSignatureState ); static bool CheckFilterOptionsAppearence( const css::uno::Reference< css::container::XNameAccess >& xFilterCFG, diff --git a/sfx2/source/appl/fileobj.hxx b/sfx2/source/appl/fileobj.hxx index e7907f7..7f91bc6 100644 --- a/sfx2/source/appl/fileobj.hxx +++ b/sfx2/source/appl/fileobj.hxx @@ -49,7 +49,7 @@ class SvFileObject : public sfx2::SvLinkSource bool bStateChangeCalled : 1; bool bInCallDownload : 1; -bool GetGraphic_Impl( Graphic&, SvStream* pStream = nullptr ); +bool GetGraphic_Impl( Graphic&, SvStream* pStream ); bool LoadFile_Impl(); void SendStateChg_Impl( sfx2::LinkManager::LinkState nState ); diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx index 3c6a1d2..a0acb49 100644 --- a/sfx2/source/appl/shutdownicon.cxx +++ b/sfx2/source/appl/shutdownicon.cxx @@ -694,7 +694,7 @@ bool ShutdownIcon::IsQuickstarterInstalled() * @param bCreate Create the directory if it does not exist yet. * @return OUString containing the autostart directory path. */ -static OUString getAutostartDir( bool bCreate = false ) +static OUString getAutostartDir( bool bCreate ) { OUString aShortcut; const char *pConfigHome; @@ -739,7 +739,7 @@ OUString ShutdownIcon::getShortcutName() aShortcut += "\\"; aShortcut += aShortcutName; #else // UNX -OUString aShortcut = getAutostartDir(); +OUString aShortcut = getAutostartDir(false); aShortcut += "/qstart.desktop"; #endif // UNX return aShortcut; diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx index 51a4379..0e1e268 100644 --- a/sfx2/source/appl/workwin.cxx +++ b/sfx2/source/appl/workwin.cxx @@ -2401,7 +2401,7 @@ void SfxWorkWindow::EndAutoShow_Impl( Point aPos ) for (VclPtr & p : pSplit) { -if ( p && p->IsAutoHide() ) +if ( p && p->IsAutoHide(false) ) { Point aLocalPos = p->ScreenToOutputPixel( aPos ); Point aEmptyPoint; diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx index acdd72e..79d48f1 100644 --- a/sfx2/source/dialog/filedlghelper.cxx +++ b/sfx2/source/dialog/filedlghelper.cxx @@ -289,7 +289,7 @@ void FileDialogHelper_Impl::handleControlStateChanged( const FilePickerEvent& aE break; case ExtendedFilePickerElementIds::CHECKBOX_PREVIEW: -updatePreviewState(); +updatePreviewState(true); break; } } diff --git a/sfx2/source/dialog/filedlgimpl.hxx b/sfx2/source/dialog/filedlgimpl.hxx index 4e63998..7d4697d 100644 --- a/sfx2/source/dialog/filedlgimpl.hxx +++ b/sfx2/source/dialog/filedlgimpl.hxx @@ -109,7 +109,7 @@ namespace sfx2 voidupdateExportButton(); voidupdateSelectionBox(); voidupdateVersions(); -voidupdatePreviewState( bool _bUpdatePreviewWindow = true ); +voidupdatePreviewState( bool _bUpdatePreviewWindow ); void
[GSoC] Weekly Report #9/10 - Toolbars infrastructure via .ui files
Hello, This is my report for last two weeks because I was on holidays 22-29 July. Last changes: - added image tab for Calc and Impress - added icon as a first tab which shows file menu - improved context changing mechanism (tab switching) I also tried to implement showing/hiding the menubar but I didn't finish it (has different behaviour on different desktops - Gnome 3 and Unity). I also have to fix the file menu because on Windows it crashes after first click. Regards, Szymon ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-commits] online.git: loolwsd/Log.hpp
loolwsd/Log.hpp |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit 195b72a9212f27171f0df5a459d6b24ba046c626 Author: Miklos VajnaDate: Tue Aug 2 09:29:19 2016 +0200 Log: use std::move() when a value is passed No move would actually happen in the second case. Change-Id: I7cc7d9e2a55a17d19845e98a0d829b168b614529 diff --git a/loolwsd/Log.hpp b/loolwsd/Log.hpp index cc43baa..e404d76 100644 --- a/loolwsd/Log.hpp +++ b/loolwsd/Log.hpp @@ -48,12 +48,12 @@ namespace Log { public: StreamLogger(std::function func) - : _func(func) + : _func(std::move(func)) { } StreamLogger(StreamLogger&& sl) - : _stream(std::move(sl._stream.str())) + : _stream(sl._stream.str()) , _func(std::move(sl._func)) { } ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.1' - instsetoo_native/CustomTarget_install.mk instsetoo_native/util solenv/bin
instsetoo_native/CustomTarget_install.mk |8 +--- instsetoo_native/util/openoffice.lst.in |2 +- solenv/bin/ooinstall |5 - 3 files changed, 10 insertions(+), 5 deletions(-) New commits: commit 4d1e53bcbd8af9655ea5d6b1cd5b03436b25feb7 Author: Jan HolesovskyDate: Tue Aug 2 09:15:37 2016 +0100 Don't use spaces in the product names when packaging. Change-Id: I55f332117cc7530eb6d562846db379d95e628a22 diff --git a/instsetoo_native/CustomTarget_install.mk b/instsetoo_native/CustomTarget_install.mk index 582f797..c5ac2b0 100644 --- a/instsetoo_native/CustomTarget_install.mk +++ b/instsetoo_native/CustomTarget_install.mk @@ -59,6 +59,8 @@ export LOCAL_COMMON_OUT := $(instsetoo_OUT) instsetoo_native_WITH_LANG := en-US $(filter-out en-US,$(gb_WITH_LANG)) +PRODUCTNAME_no_spaces := $(subst $(WHITESPACE),,$(PRODUCTNAME)) + ifeq (WNT,$(OS)) define instsetoo_native_msitemplates @@ -80,7 +82,7 @@ $(foreach pkgformat,$(5),\ && $(PERL) -w $< \ -f $(BUILDDIR)/instsetoo_native/util/openoffice.lst \ -l $(subst $(WHITESPACE),$(COMMA),$(strip $(2))) \ - -p LibreOffice$(3) \ + -p $(PRODUCTNAME_no_spaces)$(3) \ -u $(instsetoo_OUT) \ -buildid $(if $(filter deb0 rpm0,$(pkgformat)$(LIBO_VERSION_PATCH)),1,$(LIBO_VERSION_PATCH)) \ $(if $(filter WNT,$(OS)), \ @@ -98,13 +100,13 @@ $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/install.phony: rm -rf $(instsetoo_OUT) ifeq (TRUE,$(LIBO_TEST_INSTALL)) $(call instsetoo_native_install_command,openoffice,en-US,,,archive) - unzip -q -d $(TESTINSTALLDIR) $(instsetoo_OUT)/LibreOffice/archive/install/en-US/LibreOffice*_archive.zip + unzip -q -d $(TESTINSTALLDIR) $(instsetoo_OUT)/$(PRODUCTNAME_no_spaces)/archive/install/en-US/LibreOffice*_archive.zip mv $(TESTINSTALLDIR)/LibreOffice*_archive/LibreOffice*/* $(TESTINSTALLDIR)/ rmdir $(TESTINSTALLDIR)/LibreOffice*_archive/LibreOffice* rmdir $(TESTINSTALLDIR)/LibreOffice*_archive ifeq (ODK,$(filter ODK,$(BUILD_TYPE))) $(call instsetoo_native_install_command,sdkoo,en-US,_SDK,,archive) - unzip -q -d $(TESTINSTALLDIR) $(instsetoo_OUT)/LibreOffice_SDK/archive/install/en-US/LibreOffice*_archive_sdk.zip + unzip -q -d $(TESTINSTALLDIR) $(instsetoo_OUT)/$(PRODUCTNAME_no_spaces)_SDK/archive/install/en-US/LibreOffice*_archive_sdk.zip mv $(TESTINSTALLDIR)/LibreOffice*_archive_sdk/LibreOffice*_SDK/sdk \ $(TESTINSTALLDIR)/ rmdir $(TESTINSTALLDIR)/LibreOffice*_archive_sdk/LibreOffice*_SDK diff --git a/instsetoo_native/util/openoffice.lst.in b/instsetoo_native/util/openoffice.lst.in index 505c1a4..77343f3 100644 --- a/instsetoo_native/util/openoffice.lst.in +++ b/instsetoo_native/util/openoffice.lst.in @@ -39,7 +39,7 @@ Globals } } -Collabora Office +CollaboraOffice { Settings { diff --git a/solenv/bin/ooinstall b/solenv/bin/ooinstall index d5aa342..edd3d83 100755 --- a/solenv/bin/ooinstall +++ b/solenv/bin/ooinstall @@ -89,11 +89,14 @@ if ($destdir && "$ENV{DESTDIR}" ne "/" && -d "$ENV{DESTDIR}") { print "Running LibreOffice installer\n"; +my $PRODUCTNAME_no_spaces = $ENV{PRODUCTNAME}; +$PRODUCTNAME_no_spaces =~ s/ //g; + system ("cd $ENV{SRC_ROOT}/instsetoo_native/util ; " . "perl " . (scalar keys(%DB::sub) ? "-d " : "") . "-w $ENV{SRCDIR}/solenv/bin/make_installer.pl " . -"-f $ENV{BUILDDIR}/instsetoo_native/util/openoffice.lst -l $langs -p \"$ENV{PRODUCTNAME}\"" . " " . +"-f $ENV{BUILDDIR}/instsetoo_native/util/openoffice.lst -l $langs -p $PRODUCTNAME_no_spaces " . "-u $tmp_dir " . "-buildid $BUILD $destdir $strip $msi " . "-simple $path") && die "Failed to install: $!"; ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: instsetoo_native/CustomTarget_install.mk solenv/bin
instsetoo_native/CustomTarget_install.mk |8 +--- solenv/bin/ooinstall |5 - 2 files changed, 9 insertions(+), 4 deletions(-) New commits: commit 010a2a8ed3214380d514be56171c974f99010bc1 Author: Jan HolesovskyDate: Tue Aug 2 09:15:37 2016 +0100 Don't use spaces in the product names when packaging. Change-Id: I55f332117cc7530eb6d562846db379d95e628a22 diff --git a/instsetoo_native/CustomTarget_install.mk b/instsetoo_native/CustomTarget_install.mk index 0fb97da..59a4500 100644 --- a/instsetoo_native/CustomTarget_install.mk +++ b/instsetoo_native/CustomTarget_install.mk @@ -59,6 +59,8 @@ export LOCAL_COMMON_OUT := $(instsetoo_OUT) instsetoo_native_WITH_LANG := en-US $(filter-out en-US,$(gb_WITH_LANG)) +PRODUCTNAME_no_spaces := $(subst $(WHITESPACE),,$(PRODUCTNAME)) + ifeq (WNT,$(OS)) define instsetoo_native_msitemplates @@ -80,7 +82,7 @@ $(foreach pkgformat,$(5),\ && $(PERL) -w $< \ -f $(BUILDDIR)/instsetoo_native/util/openoffice.lst \ -l $(subst $(WHITESPACE),$(COMMA),$(strip $(2))) \ - -p $(PRODUCTNAME)$(3) \ + -p $(PRODUCTNAME_no_spaces)$(3) \ -u $(instsetoo_OUT) \ -buildid $(if $(filter deb0 rpm0,$(pkgformat)$(LIBO_VERSION_PATCH)),1,$(LIBO_VERSION_PATCH)) \ $(if $(filter WNT,$(OS)), \ @@ -98,13 +100,13 @@ $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/install.phony: rm -rf $(instsetoo_OUT) ifeq (TRUE,$(LIBO_TEST_INSTALL)) $(call instsetoo_native_install_command,openoffice,en-US,,,archive) - unzip -q -d $(TESTINSTALLDIR) $(instsetoo_OUT)/$(PRODUCTNAME)/archive/install/en-US/LibreOffice*_archive.zip + unzip -q -d $(TESTINSTALLDIR) $(instsetoo_OUT)/$(PRODUCTNAME_no_spaces)/archive/install/en-US/LibreOffice*_archive.zip mv $(TESTINSTALLDIR)/LibreOffice*_archive/LibreOffice*/* $(TESTINSTALLDIR)/ rmdir $(TESTINSTALLDIR)/LibreOffice*_archive/LibreOffice* rmdir $(TESTINSTALLDIR)/LibreOffice*_archive ifeq (ODK,$(filter ODK,$(BUILD_TYPE))) $(call instsetoo_native_install_command,sdkoo,en-US,_SDK,,archive) - unzip -q -d $(TESTINSTALLDIR) $(instsetoo_OUT)/$(PRODUCTNAME)_SDK/archive/install/en-US/LibreOffice*_archive_sdk.zip + unzip -q -d $(TESTINSTALLDIR) $(instsetoo_OUT)/$(PRODUCTNAME_no_spaces)_SDK/archive/install/en-US/LibreOffice*_archive_sdk.zip mv $(TESTINSTALLDIR)/LibreOffice*_archive_sdk/LibreOffice*_SDK/sdk \ $(TESTINSTALLDIR)/ rmdir $(TESTINSTALLDIR)/LibreOffice*_archive_sdk/LibreOffice*_SDK diff --git a/solenv/bin/ooinstall b/solenv/bin/ooinstall index f9034cd..edd3d83 100755 --- a/solenv/bin/ooinstall +++ b/solenv/bin/ooinstall @@ -89,11 +89,14 @@ if ($destdir && "$ENV{DESTDIR}" ne "/" && -d "$ENV{DESTDIR}") { print "Running LibreOffice installer\n"; +my $PRODUCTNAME_no_spaces = $ENV{PRODUCTNAME}; +$PRODUCTNAME_no_spaces =~ s/ //g; + system ("cd $ENV{SRC_ROOT}/instsetoo_native/util ; " . "perl " . (scalar keys(%DB::sub) ? "-d " : "") . "-w $ENV{SRCDIR}/solenv/bin/make_installer.pl " . -"-f $ENV{BUILDDIR}/instsetoo_native/util/openoffice.lst -l $langs -p $ENV{PRODUCTNAME}" . " " . +"-f $ENV{BUILDDIR}/instsetoo_native/util/openoffice.lst -l $langs -p $PRODUCTNAME_no_spaces " . "-u $tmp_dir " . "-buildid $BUILD $destdir $strip $msi " . "-simple $path") && die "Failed to install: $!"; ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: external/libxmlsec xmlsecurity/qa xmlsecurity/source
external/libxmlsec/UnpackedTarball_xmlsec.mk |3 external/libxmlsec/xmlsec1-keyinfo-revert.patch.1 | 232 - xmlsecurity/qa/unit/signing/data/cert8.db |binary xmlsecurity/qa/unit/signing/signing.cxx| 10 xmlsecurity/source/helper/documentsignaturemanager.cxx |5 xmlsecurity/source/helper/ooxmlsecexporter.cxx |5 6 files changed, 11 insertions(+), 244 deletions(-) New commits: commit 6d40c515fdf86d807c199ff4179b9c862a9fe5b2 Author: Miklos VajnaDate: Tue Aug 2 09:10:32 2016 +0200 libxmlsec: drop xmlsec1-keyinfo-revert.patch.1 completely And instead attempt to set up the test environment correctly. Change-Id: I06c10b96749c0464da8d2dd9a59b48f16baeead5 Reviewed-on: https://gerrit.libreoffice.org/27785 Reviewed-by: Miklos Vajna Tested-by: Jenkins diff --git a/external/libxmlsec/UnpackedTarball_xmlsec.mk b/external/libxmlsec/UnpackedTarball_xmlsec.mk index 902a16c..badd5c3 100644 --- a/external/libxmlsec/UnpackedTarball_xmlsec.mk +++ b/external/libxmlsec/UnpackedTarball_xmlsec.mk @@ -18,9 +18,6 @@ xmlsec_patches += xmlsec1-win32-fix-undeclared.patch.1 xmlsec_patches += xmlsec1-vc.patch.1 xmlsec_patches += xmlsec1-1.2.14_fix_extern_c.patch.1 xmlsec_patches += xmlsec1-customkeymanage.patch.1 -ifneq ($(OS),WNT) -xmlsec_patches += xmlsec1-keyinfo-revert.patch.1 -endif $(eval $(call gb_UnpackedTarball_UnpackedTarball,xmlsec)) diff --git a/external/libxmlsec/xmlsec1-keyinfo-revert.patch.1 b/external/libxmlsec/xmlsec1-keyinfo-revert.patch.1 deleted file mode 100644 index 42e3662..000 --- a/external/libxmlsec/xmlsec1-keyinfo-revert.patch.1 +++ /dev/null @@ -1,232 +0,0 @@ -From 8bcafc8bc497d76dbd68b02d84b4a30e709310a3 Mon Sep 17 00:00:00 2001 -From: Miklos Vajna -Date: Thu, 7 Jul 2016 21:25:10 +0200 -Subject: [PATCH] Revert "populate KeyInfo node before calculating Reference - nodes" - -This reverts commit 8f6c95a90735c4d6e13bddf84de7a5284132826c. This is -needed till LO code depends on the undocumented xmlsec behavior that -throwing a binary PNG image on the XML parser returns with an error -*before* it calls xmlSecDSigCtxProcessKeyInfoNode. - -Conflicts: - src/xmldsig.c - src/xmldsig.c | 123 +++--- - 1 file changed, 32 insertions(+), 91 deletions(-) - -diff --git a/src/xmldsig.c b/src/xmldsig.c -index faf5545..3c4b236 100644 a/src/xmldsig.c -+++ b/src/xmldsig.c -@@ -39,8 +39,7 @@ - static int xmlSecDSigCtxProcessSignatureNode (xmlSecDSigCtxPtr dsigCtx, - xmlNodePtr node); - static int xmlSecDSigCtxProcessSignedInfoNode (xmlSecDSigCtxPtr dsigCtx, -- xmlNodePtr node, -- xmlNodePtr * firstReferenceNode); -+ xmlNodePtr node); - static int xmlSecDSigCtxProcessKeyInfoNode (xmlSecDSigCtxPtr dsigCtx, - xmlNodePtr node); - static int xmlSecDSigCtxProcessObjectNode (xmlSecDSigCtxPtr dsigCtx, -@@ -48,9 +47,6 @@ static int xmlSecDSigCtxProcessObjectNode (xmlSecDSigCtxPtr dsigCt - static int xmlSecDSigCtxProcessManifestNode(xmlSecDSigCtxPtr dsigCtx, - xmlNodePtr node); - --static int xmlSecDSigCtxProcessReferences (xmlSecDSigCtxPtr dsigCtx, -- xmlNodePtr firstReferenceNode); -- - /* The ID attribute in XMLDSig is 'Id' */ - static const xmlChar* xmlSecDSigIds[] = { xmlSecAttrId, NULL }; - -@@ -474,7 +470,6 @@ xmlSecDSigCtxProcessSignatureNode(xmlSecDSigCtxPtr dsigCtx, xmlNodePtr node) { - xmlSecTransformDataType firstType; - xmlNodePtr signedInfoNode = NULL; - xmlNodePtr keyInfoNode = NULL; --xmlNodePtr firstReferenceNode = NULL; - xmlNodePtr cur; - int ret; - -@@ -563,7 +558,7 @@ xmlSecDSigCtxProcessSignatureNode(xmlSecDSigCtxPtr dsigCtx, xmlNodePtr node) { - } - - /* now validated all the references and prepare transform */ --ret = xmlSecDSigCtxProcessSignedInfoNode(dsigCtx, signedInfoNode, ); -+ret = xmlSecDSigCtxProcessSignedInfoNode(dsigCtx, signedInfoNode); - if(ret < 0) { - xmlSecError(XMLSEC_ERRORS_HERE, - NULL, -@@ -572,12 +567,15 @@ xmlSecDSigCtxProcessSignatureNode(xmlSecDSigCtxPtr dsigCtx, xmlNodePtr node) { - XMLSEC_ERRORS_NO_MESSAGE); - return(-1); - } -+/* references processing might change the status */ -+if(dsigCtx->status != xmlSecDSigStatusUnknown) { -+return(0); -+} - - /* as the
[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.1' - 2 commits - dbaccess/source editeng/source framework/source include/svl reportdesign/inc reportdesign/source sc/source sd/inc sd/sour
dbaccess/source/ui/querydesign/QueryTableView.cxx |2 dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx |4 - dbaccess/source/ui/querydesign/querycontroller.cxx |2 dbaccess/source/ui/tabledesign/TEditControl.cxx|2 editeng/source/editeng/impedit5.cxx|4 - framework/source/fwe/helper/undomanagerhelper.cxx |2 include/svl/undo.hxx |8 +- reportdesign/inc/UndoActions.hxx |2 reportdesign/source/ui/dlg/GroupsSorting.cxx |4 - reportdesign/source/ui/report/SectionWindow.cxx|2 sc/source/ui/StatisticsDialogs/RandomNumberGeneratorDialog.cxx |2 sc/source/ui/StatisticsDialogs/SamplingDialog.cxx |2 sc/source/ui/StatisticsDialogs/StatisticsInputOutputDialog.cxx |2 sc/source/ui/StatisticsDialogs/StatisticsTwoVariableDialog.cxx |2 sc/source/ui/docshell/docfunc.cxx | 31 -- sc/source/ui/docshell/docsh4.cxx |5 + sc/source/ui/drawfunc/drtxtob.cxx |5 + sc/source/ui/drawfunc/futext3.cxx |2 sc/source/ui/view/cellsh1.cxx |2 sc/source/ui/view/cellsh2.cxx |2 sc/source/ui/view/dbfunc.cxx |3 sc/source/ui/view/dbfunc3.cxx |3 sc/source/ui/view/editsh.cxx |5 + sc/source/ui/view/formatsh.cxx |4 - sc/source/ui/view/gridwin.cxx |6 - sc/source/ui/view/gridwin2.cxx |2 sc/source/ui/view/tabvwshf.cxx |2 sc/source/ui/view/viewfun3.cxx |8 +- sc/source/ui/view/viewfun6.cxx |3 sc/source/ui/view/viewfunc.cxx |6 - sd/inc/undo/undomanager.hxx|2 sd/source/core/drawdoc3.cxx| 11 ++- sd/source/core/undo/undomanager.cxx|4 - sd/source/ui/animations/SlideTransitionPane.cxx|2 sd/source/ui/func/fubullet.cxx |6 + sd/source/ui/func/fuinsfil.cxx |4 - sd/source/ui/func/fuoaprms.cxx |3 sd/source/ui/func/fupage.cxx |3 sd/source/ui/sidebar/DocumentHelper.cxx|4 - sd/source/ui/view/ViewShellImplementation.cxx |2 sd/source/ui/view/drawview.cxx |6 + sd/source/ui/view/drviews2.cxx |2 sd/source/ui/view/outlview.cxx |2 svl/source/undo/undo.cxx | 18 - svx/source/svdraw/svdmodel.cxx | 16 - sw/source/core/doc/docnew.cxx |1 sw/source/core/inc/UndoManager.hxx |3 sw/source/core/undo/docundo.cxx| 23 ++- vcl/source/edit/texteng.cxx|2 49 files changed, 168 insertions(+), 75 deletions(-) New commits: commit b0a1c742a92fa685d45492cbec8a0105375be884 Author: Miklos VajnaDate: Mon Aug 1 17:35:23 2016 +0200 svl: implement SfxUndoAction::GetViewShellId() interface in SfxListUndoAction Client code in sw, sd, sc and svx is adapted, the rest is just a placeholder for now. With this, e.g. the undo item for Writer's insert comment properly tracks which window was used for the insertion. Reviewed-on: https://gerrit.libreoffice.org/27781 Reviewed-by: Miklos Vajna Tested-by: Jenkins (cherry picked from commit 4cbaa49c0ee707a2e1e1d842279b32473e8c8a28) Conflicts: sc/source/ui/view/viewfun3.cxx Change-Id: Idad587e6ca07ba69bf59aa7013b251af8bf95bab diff --git a/dbaccess/source/ui/querydesign/QueryTableView.cxx b/dbaccess/source/ui/querydesign/QueryTableView.cxx index 8f80056..985b84a 100644 --- a/dbaccess/source/ui/querydesign/QueryTableView.cxx +++ b/dbaccess/source/ui/querydesign/QueryTableView.cxx @@ -746,7 +746,7 @@ void OQueryTableView::RemoveTabWin(OTableWindow* pTabWin) OQueryDesignView* pParent = static_cast (getDesignView()); SfxUndoManager& rUndoMgr = m_pView->getController().GetUndoManager(); -rUndoMgr.EnterListAction( OUString(
[Libreoffice-bugs] [Bug 97416] Editing: Database password properties in ODB file not re-settable via UI
https://bugs.documentfoundation.org/show_bug.cgi?id=97416 Alex Thurgoodchanged: What|Removed |Added Summary|Editing: Database password |Editing: Database password |properties in postgresql|properties in ODB file not |connection not re-settable |re-settable via UI |via UI | -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-ux-advise] [Bug 101249] Easily activate single toolbar, sidebar mode, and notebookbar
https://bugs.documentfoundation.org/show_bug.cgi?id=101249 --- Comment #4 from Heiko Tietze--- (In reply to kompilainenn from comment #3) > Heiko wants to do something incomprehensible First of all my comment was about to not limit features to a certain extend. There are other ideas beyond customization that requires to have more than four options. For instance, we could predefine toolbar UIs for a number of use cases, it's not necessarily done by the user. But incomprehensible configurability? Don't think so. Have a look at Firefox's configuration. Or play a game and see how to place controls freely. Check out our customization today and imagine a few options added. There are many ways to Rome. -- You are receiving this mail because: You are on the CC list for the bug. ___ Libreoffice-ux-advise mailing list Libreoffice-ux-advise@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise
[Libreoffice-bugs] [Bug 101249] Easily activate single toolbar, sidebar mode, and notebookbar
https://bugs.documentfoundation.org/show_bug.cgi?id=101249 --- Comment #4 from Heiko Tietze--- (In reply to kompilainenn from comment #3) > Heiko wants to do something incomprehensible First of all my comment was about to not limit features to a certain extend. There are other ideas beyond customization that requires to have more than four options. For instance, we could predefine toolbar UIs for a number of use cases, it's not necessarily done by the user. But incomprehensible configurability? Don't think so. Have a look at Firefox's configuration. Or play a game and see how to place controls freely. Check out our customization today and imagine a few options added. There are many ways to Rome. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 100973] Bidirectional complex text drawn from right to left does not show up correctly with certain fonts
https://bugs.documentfoundation.org/show_bug.cgi?id=100973 Buovjagachanged: What|Removed |Added Status|UNCONFIRMED |NEW CC||todven...@suomi24.fi Ever confirmed|0 |1 --- Comment #3 from Buovjaga --- Confirmed. Win 7 Pro 64-bit Version: 5.3.0.0.alpha0+ Build ID: cf0fea5546c9b6b30d18deb084ddaa5e08aad41b CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; TinderBox: Win-x86@42, Branch:master, Time: 2016-07-30_23:31:05 Locale: fi-FI (fi_FI); Calc: CL -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 100118] [EDIT] Writer not responding, idle (sleeping)
https://bugs.documentfoundation.org/show_bug.cgi?id=100118 --- Comment #4 from Luke Kendall--- No, no recent crashes. Okay, resolve it as insufficient data. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 101237] some svg files not displaying in version 5.2.0
https://bugs.documentfoundation.org/show_bug.cgi?id=101237 --- Comment #5 from Caolán McNamara--- This is probably a problem since... commit c2d130425cc876cceb96cc7e47636426a9e48fa8 Author: Xisco Fauli Date: Sat Mar 26 16:23:23 2016 +0100 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 99023] [FORMATTING, FILESAVE] Missing text background when saved as .doc
https://bugs.documentfoundation.org/show_bug.cgi?id=99023 Björn Michaelsenchanged: What|Removed |Added Status|NEW |NEEDINFO --- Comment #4 from Björn Michaelsen --- Was this retested on master? Because 587315ebd5e4417e85eb3ffafd978fcddb09b19f looks related, and possibly a fix. => NEEDINFO -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 100582] FILESAVE Formula in some cells not saved in .XLS format
https://bugs.documentfoundation.org/show_bug.cgi?id=100582 Eike Rathkechanged: What|Removed |Added Status|NEW |ASSIGNED Assignee|libreoffice-b...@lists.free |er...@redhat.com |desktop.org | --- Comment #10 from Eike Rathke --- Taking. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 100169] DirectWrite OpenGL having trouble composing height of text, is clipping glyphs
https://bugs.documentfoundation.org/show_bug.cgi?id=100169 Buovjagachanged: What|Removed |Added Status|UNCONFIRMED |NEW CC||todven...@suomi24.fi Ever confirmed|0 |1 --- Comment #8 from Buovjaga --- Repro with OGL enabled. Win 7 Pro 64-bit Version: 5.3.0.0.alpha0+ Build ID: cf0fea5546c9b6b30d18deb084ddaa5e08aad41b CPU Threads: 4; OS Version: Windows 6.1; UI Render: GL; TinderBox: Win-x86@42, Branch:master, Time: 2016-07-30_23:31:05 Locale: fi-FI (fi_FI); Calc: CL -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 99324] Accelerator underlines dont show when pressing Alt (Sidebar, Dialogs, Start Center)
https://bugs.documentfoundation.org/show_bug.cgi?id=99324 Caolán McNamarachanged: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|libreoffice-b...@lists.free |caol...@redhat.com |desktop.org | --- Comment #11 from Caolán McNamara --- This should work for the general case now I believe. There may be widgets which don't pass up the Alt press/release remaining. If you find any let me know in a new bug. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 99324] Accelerator underlines dont show when pressing Alt (Sidebar, Dialogs, Start Center)
https://bugs.documentfoundation.org/show_bug.cgi?id=99324 --- Comment #10 from Commit Notification--- Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=0321dbb9be72f92c02919457cdc3c4e76cfbd11d Resolves: tdf#99324 let sidebar toggle auto-mnemonics on/off with alt It will be available in 5.3.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 101241] Flickering cursor, grey boxes displayed instead of dropdown/ right click menu and dialog content after changing table border
https://bugs.documentfoundation.org/show_bug.cgi?id=101241 --- Comment #4 from Commit Notification--- Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=772191616a0cceebf91a9674ce7417d5cad0050f Resolves: tdf#101241 Revert "fix paint table border in DOUBLE_THIN style" It will be available in 5.3.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97931] LibreOffice looks up local hostname in DNS, leading to performance problems and security issues.
https://bugs.documentfoundation.org/show_bug.cgi?id=97931 donja...@freenet.de changed: What|Removed |Added Status|NEEDINFO|UNCONFIRMED Ever confirmed|1 |0 --- Comment #4 from donja...@freenet.de --- "resources"? In the original bug report I provided evidence that LibreOffice was doing something pointless, inconvenient, and possibly harmful, presumably in order to try to find the IP address of the computer it's running on. I don't know why it was trying to do that, so I don't know what should be doing. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 91884] Trapped in file menu on redundant save
https://bugs.documentfoundation.org/show_bug.cgi?id=91884 Aron Budeachanged: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC||ba...@caesar.elte.hu Resolution|--- |INVALID --- Comment #10 from Aron Budea --- The only behavior since 5.1 is to always allow saving, thus this situation cannot occur anymore, and the report is now closed as INVALID. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 100582] FILESAVE Formula in some cells not saved in .XLS format
https://bugs.documentfoundation.org/show_bug.cgi?id=100582 Eike Rathkechanged: What|Removed |Added Attachment #125882|application/x-ole-storage |application/vnd.ms-excel mime type|| -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 95701] "Save As" fail to save, asks irritating unnecessary questions instead
https://bugs.documentfoundation.org/show_bug.cgi?id=95701 Aron Budeachanged: What|Removed |Added Status|UNCONFIRMED |NEW CC||ba...@caesar.elte.hu Ever confirmed|0 |1 --- Comment #3 from Aron Budea --- The issue here seems to arise from the ambiguity coming from the lack of file extensions in the Save/Save As dialog in Linux (plus that file type dropdown is "All Formats" by default). Here are the general reproduction steps: 1. Start new document. 2. Save it, Save dialog comes up, add .docx extension to the file name so it's going to be saved as DOCX and click Save. 3. Popup comes up to confirm file format, select "Use ODF Format" this time. 4. Another Save dialog comes up, where file name has to be specified again. These are essentially the same steps as described by Helge, except in that case there's already a DOCX document, so it defaults to DOCX even if extension is not added. I can somewhat understand the second Save dialog if the file name was specified with extension: if the user chooses ODF format when the confirmation popup comes up, then the original file name+extension is not valid anymore, and should be confirmed again. The questions relevant to UX in my opinion: -What should happen if no extension was specified? (then the second dialog is unnecessary and confusing) -Is it fine that file name to be saved is shown without extension by default in Linux Save/Save As dialogs? What I consider to be bugs: -File type picker in the bottom of Save/Save As dialogs in Linux is "All formats", and it shows all formats, but saving with a name without extension defaults to ODF format with the relevant ODF extension. -If the user enters additional directories in "Name" field in the first Save/Save As dialog (as Helge wrote in the 3rd step in the Description), the second Save/Save As dialog should change to that directory. Setting to NEW, since the behavior can be legitimately confusing. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 101241] Flickering cursor, grey boxes displayed instead of dropdown/ right click menu and dialog content after changing table border
https://bugs.documentfoundation.org/show_bug.cgi?id=101241 --- Comment #3 from Caolán McNamara--- This is from... commit 9a95520948de1d92c55252aa5f90606b01d6ac9e Author: aqcoder Date: Sun Dec 13 19:11:28 2015 +0800 fix paint table border in DOUBLE_THIN style -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 93529] [META] VCL/OpenGL tracker bug for 5.0+
https://bugs.documentfoundation.org/show_bug.cgi?id=93529 Caolán McNamarachanged: What|Removed |Added Depends on|101241 | Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=101241 [Bug 101241] Flickering cursor, grey boxes displayed instead of dropdown/right click menu and dialog content after changing table border -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 101241] Flickering cursor, grey boxes displayed instead of dropdown/ right click menu and dialog content after changing table border
https://bugs.documentfoundation.org/show_bug.cgi?id=101241 Caolán McNamarachanged: What|Removed |Added Status|NEW |RESOLVED Blocks|93529 | Resolution|--- |FIXED Assignee|libreoffice-b...@lists.free |caol...@redhat.com |desktop.org | --- Comment #5 from Caolán McNamara --- Not opengl related, so drop that dependency. I'll have to just revert cause we don't have a reproducer for the original problem and the never-ending paint+invalidate is more serious. This is masked under gtk3, so more noticeable under gtk2. Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=93529 [Bug 93529] [META] VCL/OpenGL tracker bug for 5.0+ -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 101237] some svg files not displaying in version 5.2.0
https://bugs.documentfoundation.org/show_bug.cgi?id=101237 Xisco Faulíchanged: What|Removed |Added Assignee|libreoffice-b...@lists.free |aniste...@gmail.com |desktop.org | --- Comment #6 from Xisco Faulí --- ok, I take this... -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 101257] New: calc CTRL+V pastes from clipboard outdated CTRL+C content
https://bugs.documentfoundation.org/show_bug.cgi?id=101257 Bug ID: 101257 Summary: calc CTRL+V pastes from clipboard outdated CTRL+C content Product: LibreOffice Version: unspecified Hardware: All OS: Windows (All) Status: UNCONFIRMED Severity: minor Priority: medium Component: Calc Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: bordma...@gmail.com User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:47.0) Gecko/20100101 Firefox/47.0 Build Identifier: LibreOffice 5.0.4.2 I work a lot with copy paste for strings form the Web and into Calc. This happens sometimes, maybe once per month this year: CTRL+C some text, ALT TAB to Calc, CTRL+V to paste. Only at some stage, Calc does not paste the newer CTRL+C texts and pastes some older text. In Notepad, the same paste command works fine with the newest CTRL+C. Switch to Calc, and it still pastes the same wrong text. I've tried copy paste intermediary steps in notepad, tried restarting Calc. Only system restart solves this I guess I've filled some Clipboard registry in Calc and it does not accept newer input. Reproducible: Couldn't Reproduce Steps to Reproduce: 1.CTRL+C some www text, ALT TAB to Calc, CTRL+V to paste 2.repeat until it does not work anymore [Information automatically included from LibreOffice] Locale: en-US Module: SpreadsheetDocument [Information guessed from browser] OS: Windows (All) OS is 64bit: no Reset User Profile?No -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 101108] FILEOPEN Can't open .xls file
https://bugs.documentfoundation.org/show_bug.cgi?id=101108 Buovjagachanged: What|Removed |Added CC||todven...@suomi24.fi --- Comment #2 from Buovjaga --- I can open it. Win 7 Pro 64-bit, Version: 5.1.3.2 (x64) Build ID: 644e4637d1d8544fd9f56425bd6cec110e49301b CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; Locale: fi-FI (fi_FI) Version: 5.3.0.0.alpha0+ Build ID: cf0fea5546c9b6b30d18deb084ddaa5e08aad41b CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; TinderBox: Win-x86@42, Branch:master, Time: 2016-07-30_23:31:05 Locale: fi-FI (fi_FI); Calc: CL -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 92516] "x" accelerator and mouse click not exiting StartCenter in " File -> Exit LibreOfficeDev" menu
https://bugs.documentfoundation.org/show_bug.cgi?id=92516 --- Comment #42 from Commit Notification--- Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=f6d0d92a5e249413df99a7f3677a28efe6d45426 Related: tdf#92516 make menu accelerators always work even if... It will be available in 5.3.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 100118] [EDIT] Writer not responding, idle (sleeping)
https://bugs.documentfoundation.org/show_bug.cgi?id=100118 Buovjagachanged: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |INSUFFICIENTDATA -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 100210] Calc Fileopen Data appears to be lost as only part of sheet is displayed
https://bugs.documentfoundation.org/show_bug.cgi?id=100210 Buovjagachanged: What|Removed |Added Keywords||needAdvice -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 100132] Formatting loss in replacing bookmark in DOCX file using XDocumentInsertable.insertDocumentFromURL method
https://bugs.documentfoundation.org/show_bug.cgi?id=100132 --- Comment #2 from jvchbabu--- I attached my source project as eclipse project and attached all source content files, template and sample output files. Please follow the below steps: 1) Extract zip file content. 2) Import Libre as java project. 3) Run DocumentGenerator.java by passing full path of template, full path of output file and full path of source html file. Sample arguments: "D:\libre\template.doc" "D:\libre\output1.doc" "D:\libre\source_html.html" 4) template and source html files are part of zip file content. Please let me know if you have need any more information. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 95701] File save dialogs appear twice if user reconsiders non-ODF format to ODF during save
https://bugs.documentfoundation.org/show_bug.cgi?id=95701 Aron Budeachanged: What|Removed |Added Summary|File save dialogs appear|File save dialogs appear |twice if user recondisers |twice if user reconsiders |non-ODF format to ODF |non-ODF format to ODF |during save |during save -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-ux-advise] [Bug 95701] File save dialogs appear twice if user reconsiders non-ODF format to ODF during save
https://bugs.documentfoundation.org/show_bug.cgi?id=95701 Aron Budeachanged: What|Removed |Added Summary|File save dialogs appear|File save dialogs appear |twice if user recondisers |twice if user reconsiders |non-ODF format to ODF |non-ODF format to ODF |during save |during save -- You are receiving this mail because: You are on the CC list for the bug. ___ Libreoffice-ux-advise mailing list Libreoffice-ux-advise@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise
[Libreoffice-bugs] [Bug 61914] [META] Start Center -- implementation UI and UX
https://bugs.documentfoundation.org/show_bug.cgi?id=61914 Bug 61914 depends on bug 99324, which changed state. Bug 99324 Summary: Accelerator underlines dont show when pressing Alt (Sidebar, Dialogs, Start Center) https://bugs.documentfoundation.org/show_bug.cgi?id=99324 What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 65138] [META] Sidebar feature related issues
https://bugs.documentfoundation.org/show_bug.cgi?id=65138 Bug 65138 depends on bug 99324, which changed state. Bug 99324 Summary: Accelerator underlines dont show when pressing Alt (Sidebar, Dialogs, Start Center) https://bugs.documentfoundation.org/show_bug.cgi?id=99324 What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 97931] LibreOffice looks up local hostname in DNS, leading to performance problems and security issues.
https://bugs.documentfoundation.org/show_bug.cgi?id=97931 --- Comment #3 from Aron Budea--- Okay, could you point to resources that detail what the application should be doing instead? -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 101256] Not rename forms in Form Navigator for macros presentation
https://bugs.documentfoundation.org/show_bug.cgi?id=101256 alex.ilmar4s...@mail.ru 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 https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 92516] "x" accelerator and mouse click not exiting StartCenter in " File -> Exit LibreOfficeDev" menu
https://bugs.documentfoundation.org/show_bug.cgi?id=92516 Commit Notificationchanged: What|Removed |Added Whiteboard||target:5.3.0 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 100242] 3D transitions do not work despite having OpenGL 3.0 support
https://bugs.documentfoundation.org/show_bug.cgi?id=100242 Tor Lillqvistchanged: What|Removed |Added OS|All |Linux (All) -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-ux-advise] [Bug 95701] File save dialogs appear twice if user recondisers non-ODF format to ODF during save
https://bugs.documentfoundation.org/show_bug.cgi?id=95701 Aron Budeachanged: What|Removed |Added Summary|"Save As" fail to save, |File save dialogs appear |asks irritating unnecessary |twice if user recondisers |questions instead |non-ODF format to ODF ||during save -- You are receiving this mail because: You are on the CC list for the bug. ___ Libreoffice-ux-advise mailing list Libreoffice-ux-advise@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise
[Libreoffice-bugs] [Bug 95701] File save dialogs appear twice if user recondisers non-ODF format to ODF during save
https://bugs.documentfoundation.org/show_bug.cgi?id=95701 Aron Budeachanged: What|Removed |Added Summary|"Save As" fail to save, |File save dialogs appear |asks irritating unnecessary |twice if user recondisers |questions instead |non-ODF format to ODF ||during save -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
Re: [Libreoffice-qa] What to do with many files
Hi Ekari Ekari wrote > If you would like to help Pedro, I could send you the > files, but I can't provide any kind of information on the problems > as they need to be compared 1 by 1 with MO and LO open. > > I have reported 14 bugs to date. one of them is classified as importance > high/critical > so I think this would be a great contribution, and if no one would be > willing to help I > would still go through the files myself but would be much more slowly than > with a helping hand. That sounds like a strange way to accumulate files... Nevertheless, do share a link for the file package and I will take a look at the files in a systematic way (no guarantee to do them all or on any deadline) In any case you need to be aware that reporting a bug is no guarantee that it will be fixed. Regards, Pedro -- View this message in context: http://nabble.documentfoundation.org/Libreoffice-qa-What-to-do-with-many-files-tp4188097p4189905.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: https://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 101256] New: Not rename forms in Form Navigator for macros presentation
https://bugs.documentfoundation.org/show_bug.cgi?id=101256 Bug ID: 101256 Summary: Not rename forms in Form Navigator for macros presentation Product: LibreOffice Version: 5.1.4.2 release Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: medium Component: LibreOffice Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: alex.ilmar4s...@mail.ru Created attachment 126517 --> https://bugs.documentfoundation.org/attachment.cgi?id=126517=edit Form navigator names Renaming forms in Form Navigator is succesfuly, but access to forms from Basic macros (in Objects Inspector) show another values for form's names (not old names). -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 94362] assertion: items_ not empty in utl::ConfigManager:: ~ConfigManager()
https://bugs.documentfoundation.org/show_bug.cgi?id=94362 Aron Budeachanged: What|Removed |Added Status|UNCONFIRMED |NEEDINFO CC||ba...@caesar.elte.hu Ever confirmed|0 |1 --- Comment #3 from Aron Budea --- Sergey, since quite some time has passed, let me ask if you have tried any recent builds. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 101032] [UI] Page pane renders are dirty since version 5.1.x
https://bugs.documentfoundation.org/show_bug.cgi?id=101032 --- Comment #7 from Buovjaga--- Could not reproduce. Win 7 Pro 64-bit, Version: 5.1.3.2 (x64) Build ID: 644e4637d1d8544fd9f56425bd6cec110e49301b CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; Locale: fi-FI (fi_FI) Version: 5.3.0.0.alpha0+ Build ID: cf0fea5546c9b6b30d18deb084ddaa5e08aad41b CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; TinderBox: Win-x86@42, Branch:master, Time: 2016-07-30_23:31:05 Locale: fi-FI (fi_FI); Calc: CL -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 100158] grouping processes doesn't work in gnome-shell/wayland
https://bugs.documentfoundation.org/show_bug.cgi?id=100158 Buovjagachanged: What|Removed |Added Priority|medium |low Status|UNCONFIRMED |NEW CC||todven...@suomi24.fi Ever confirmed|0 |1 Severity|normal |minor --- Comment #1 from Buovjaga --- I guess we can 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 https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 100118] [EDIT] Writer not responding, idle (sleeping)
https://bugs.documentfoundation.org/show_bug.cgi?id=100118 Buovjagachanged: What|Removed |Added CC||todven...@suomi24.fi --- Comment #3 from Buovjaga --- Luke: have you run into any more crashes like this? If not, RESOLVED INSUFFICIENTDATA would be the conclusion. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 64612] EDITING: Text not handled when converting 2D rect to Polygon
https://bugs.documentfoundation.org/show_bug.cgi?id=64612 Buovjagachanged: What|Removed |Added CC||todven...@suomi24.fi --- Comment #9 from Buovjaga --- There seems to be no way convert text inside a shape to polygon without converting the shape as well. I can't edit points of the shape or text even after exiting group and ungrouping. I guess something needs to be done, even if the default behavior is not changed. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 101241] Flickering cursor, grey boxes displayed instead of dropdown/ right click menu and dialog content after changing table border
https://bugs.documentfoundation.org/show_bug.cgi?id=101241 Commit Notificationchanged: What|Removed |Added Whiteboard||target:5.3.0 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 100118] [EDIT] Writer not responding, idle (sleeping)
https://bugs.documentfoundation.org/show_bug.cgi?id=100118 --- Comment #2 from Caolán McNamara--- The SalGenericSystem::ShowNativeMessageBox lets me know that FatalError has been called, some other stuff clearly goes wrong after that so the dialog that states the error isn't shown. Unfortunately whatever went wrong, went wrong before the follow up problem of not showing the error dialog -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs