[Libreoffice-commits] core.git: Branch 'feature/gsoc-tiled-rendering' - libreofficekit/source

2015-07-23 Thread Pranav Kant
 libreofficekit/source/gtk/lokdocview.cxx |  122 ++-
 libreofficekit/source/gtk/tilebuffer.cxx |   61 +++
 libreofficekit/source/gtk/tilebuffer.hxx |   69 ++---
 3 files changed, 125 insertions(+), 127 deletions(-)

New commits:
commit abd0cfa6332a73d498cc197ceed1422a47d0a055
Author: Pranav Kant pran...@gnome.org
Date:   Fri Jul 24 01:10:42 2015 +0530

Use thread pool for LOK call: paintTile()

Change-Id: I45e94248013277affa11e91439fbc16995b8ed8e

diff --git a/libreofficekit/source/gtk/lokdocview.cxx 
b/libreofficekit/source/gtk/lokdocview.cxx
index 2259d5b..60bdbd4 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -135,16 +135,6 @@ enum
 PROP_CAN_ZOOM_OUT
 };
 
-enum
-{
-LOK_LOAD_DOC,
-LOK_POST_COMMAND,
-LOK_SET_EDIT,
-LOK_SET_PARTMODE,
-LOK_SET_PART,
-LOK_POST_KEY
-};
-
 static guint doc_view_signals[LAST_SIGNAL] = { 0 };
 
 static void lok_doc_view_initable_iface_init (GInitableIface *iface);
@@ -161,7 +151,7 @@ G_DEFINE_TYPE_WITH_CODE (LOKDocView, lok_doc_view, 
GTK_TYPE_DRAWING_AREA,
 #pragma GCC diagnostic pop
 #endif
 
-static GThreadPool* lokThreadPool;
+GThreadPool* lokThreadPool;
 
 /// Helper struct used to pass the data from soffice thread - main thread.
 struct CallbackData
@@ -176,50 +166,6 @@ struct CallbackData
   m_pDocView(pDocView) {}
 };
 
-/**
-   A struct that we use to store the data about the LOK call.
-
-   Object of this type is passed with all the LOK calls,
-   so that they can be idenitified. Additionally, it also contains
-   the data that LOK call needs.
-*/
-struct LOEvent
-{
-/// To identify the type of LOK call
-int m_nType;
-const gchar* m_pCommand;
-const gchar* m_pArguments;
-gchar* m_pPath;
-gboolean m_bEdit;
-int m_nPartMode;
-int m_nPart;
-int m_nKeyEvent;
-int m_nCharCode;
-int m_nKeyCode;
-
-
-/// Constructor to easily instantiate an object for LOK call of `type' 
type.
-LOEvent(int type)
-: m_nType(type) {}
-
-LOEvent(int type, const gchar* pCommand, const gchar* pArguments)
-: m_nType(type),
-  m_pCommand(pCommand),
-  m_pArguments(pArguments) {}
-
-LOEvent(int type, const gchar* pPath)
-: m_nType(type)
-{
-m_pPath = g_strdup(pPath);
-}
-
-LOEvent(int type, int nKeyEvent, int nCharCode, int nKeyCode)
-: m_nType(type),
-  m_nKeyEvent(nKeyEvent),
-  m_nCharCode(nCharCode),
-  m_nKeyCode(nKeyCode) {}
-};
-
 static void
 payloadToSize(const char* pPayload, long rWidth, long rHeight)
 {
@@ -529,10 +475,12 @@ setTilesInvalid (LOKDocView* pDocView, const 
GdkRectangle rRectangle)
 aStart.y = aRectanglePixels.x / nTileSizePixels;
 aEnd.x = (aRectanglePixels.y + aRectanglePixels.height + nTileSizePixels) 
/ nTileSizePixels;
 aEnd.y = (aRectanglePixels.x + aRectanglePixels.width + nTileSizePixels) / 
nTileSizePixels;
-
+GTask* task = g_task_new(pDocView, NULL, NULL, NULL);
 for (int i = aStart.x; i  aEnd.x; i++)
 for (int j = aStart.y; j  aEnd.y; j++)
-priv-m_aTileBuffer.setInvalid(i, j, priv-m_fZoom);
+priv-m_aTileBuffer.setInvalid(i, j, priv-m_fZoom, task);
+
+g_object_unref(task);
 }
 
 static gboolean
@@ -753,13 +701,6 @@ renderGraphicHandle(LOKDocView* pDocView,
 }
 }
 
-static void
-renderDocumentCallback(GObject* source_object, GAsyncResult*, gpointer)
-{
-LOKDocView* pDocView = LOK_DOC_VIEW(source_object);
-gtk_widget_queue_draw(GTK_WIDGET(pDocView));
-}
-
 static gboolean
 renderDocument(LOKDocView* pDocView, cairo_t* pCairo)
 {
@@ -808,14 +749,14 @@ renderDocument(LOKDocView* pDocView, cairo_t* pCairo)
 
 if (bPaint)
 {
-GTask* task = g_task_new(pDocView, NULL, 
renderDocumentCallback, NULL);
+GTask* task = g_task_new(pDocView, NULL, NULL, NULL);
 Tile currentTile = priv-m_aTileBuffer.getTile(nRow, nColumn, 
priv-m_fZoom, task);
-
 GdkPixbuf* pPixBuf = currentTile.getBuffer();
 gdk_cairo_set_source_pixbuf (pCairo, pPixBuf,
  
twipToPixel(aTileRectangleTwips.x, priv-m_fZoom),
  
twipToPixel(aTileRectangleTwips.y, priv-m_fZoom));
 cairo_paint(pCairo);
+g_object_unref(task);
 }
 }
 }
@@ -1212,6 +1153,52 @@ lok_doc_view_post_command_in_thread (gpointer data)
 }
 
 static void
+paintTileInThread (gpointer data)
+{
+GTask* task = G_TASK(data);
+LOKDocView* pDocView = LOK_DOC_VIEW(g_task_get_source_object(task));
+LOKDocViewPrivate *priv = 
static_castLOKDocViewPrivate*(lok_doc_view_get_instance_private (pDocView));
+LOEvent* pLOEvent = static_castLOEvent*(g_task_get_task_data(task));
+TileBuffer buffer = priv-m_aTileBuffer;
+int index 

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

2015-07-23 Thread Markus Mohrhard
 sc/source/filter/excel/excdoc.cxx |   10 +-
 sc/source/filter/inc/xeextlst.hxx |2 --
 2 files changed, 5 insertions(+), 7 deletions(-)

New commits:
commit ba90813d17cf35cfb67585d6f119d3ddb30f5978
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Fri Jul 24 01:12:17 2015 +0200

don't generate invalid XLSX files

The pivot table cache is not handled through the normal record system
and as we need to make sure that the extLst is exported after the pivot
cache let's add another hack.

Change-Id: Icb816e3eb06add768d19cc1c237e6bf75816d9f0

diff --git a/sc/source/filter/excel/excdoc.cxx 
b/sc/source/filter/excel/excdoc.cxx
index b56c9b1..de983b4 100644
--- a/sc/source/filter/excel/excdoc.cxx
+++ b/sc/source/filter/excel/excdoc.cxx
@@ -445,11 +445,6 @@ void ExcTable::FillAsHeaderXml( ExcBoundsheetList 
rBoundsheetList )
 aRecList.AppendRecord( GetObjectManager().CreateDrawingGroup() );
 // Shared string table: SST, EXTSST
 aRecList.AppendRecord( CreateRecord( EXC_ID_SST ) );
-
-XclExtLstRef xExtLst( new XclExtLst( GetRoot()  ) );
-const ScCalcConfig rCalcConfig = rDoc.GetCalcConfig();
-xExtLst-AddRecord( XclExpExtRef( new XclExpExtCalcPr( GetRoot(), 
rCalcConfig.meStringRefAddressSyntax ))  );
-aRecList.AppendRecord( xExtLst );
 }
 
 void ExcTable::FillAsTableBinary( SCTAB nCodeNameIdx )
@@ -886,6 +881,11 @@ void ExcDocument::WriteXml( XclExpXmlStream rStrm )
 if (rCaches.HasCaches())
 rCaches.SaveXml(rStrm);
 
+XclExtLstRef xExtLst( new XclExtLst( GetRoot()  ) );
+const ScCalcConfig rCalcConfig = GetDoc().GetCalcConfig();
+xExtLst-AddRecord( XclExpExtRef( new XclExpExtCalcPr( GetRoot(), 
rCalcConfig.meStringRefAddressSyntax ))  );
+xExtLst-SaveXml(rStrm);
+
 rWorkbook-endElement( XML_workbook );
 rWorkbook.reset();
 }
commit da302504676e7e3bd7ddda5bc57a00150fe36580
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Fri Jul 24 01:05:09 2015 +0200

that comment is not correct anymore

Change-Id: I20e1b15b34730508d20ff436c51d66bd67c9e447

diff --git a/sc/source/filter/inc/xeextlst.hxx 
b/sc/source/filter/inc/xeextlst.hxx
index d31fb4d..fcb9a1d 100644
--- a/sc/source/filter/inc/xeextlst.hxx
+++ b/sc/source/filter/inc/xeextlst.hxx
@@ -34,8 +34,6 @@ struct XclExpExtCondFormatData
 
 /**
  * Base class for ext entries. Extend this class to provide the needed 
functionality
- *
- * Right now the only supported subclass is XclExpExtCondFormat
  */
 class XclExpExt : public XclExpRecordBase, public XclExpRoot
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 92897] Full hang and memory leak with FODT document.

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92897

Iandol ian...@gmail.com changed:

   What|Removed |Added

 Attachment #117402|0   |1
is obsolete||

--- Comment #3 from Iandol ian...@gmail.com ---
Created attachment 117403
  -- https://bugs.documentfoundation.org/attachment.cgi?id=117403action=edit
testcase odt

here is a reduced testcase, this causes a full hang on my libreoffice 5.0.0.3
and 5.1dev, but opens fine on 4.4.4 -- my OS is OS X 10.11

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


[Libreoffice-commits] core.git: Branch 'feature/gsoc14-draw-chained-text-boxes' - svx/source

2015-07-23 Thread matteocam
 svx/source/svdraw/textchain.cxx   |   10 +-
 svx/source/svdraw/textchaincursor.cxx |   23 ++-
 2 files changed, 23 insertions(+), 10 deletions(-)

New commits:
commit 7afcf37661e01bcc75271a82a067892ce98ce627
Author: matteocam matteo.campane...@gmail.com
Date:   Fri Jul 24 02:14:16 2015 +0200

Handle Left Arrow and Prev Link

Change-Id: I08f56fc5fc747d097d90313f4bfec14091b6f5a7

diff --git a/svx/source/svdraw/textchain.cxx b/svx/source/svdraw/textchain.cxx
index 86357c2..7cfa0a4 100644
--- a/svx/source/svdraw/textchain.cxx
+++ b/svx/source/svdraw/textchain.cxx
@@ -89,17 +89,17 @@ SdrTextObj *TextChain::impGetNextLink(const SdrTextObj 
*pTextObj) const
 
 SdrTextObj *TextChain::impGetPrevLink(const SdrTextObj *pTextObj) const
 {
-SdrTextObj *pNextTextObj = NULL;
+SdrTextObj *pPrevTextObj = NULL;
 SdrPage *pPage = pTextObj-pPage;
 
 if ( pPage  pPage-GetObjCount()  1) {
 
-sal_uInt32 nextIndex = (pTextObj-GetOrdNum()-1);
+sal_Int32 prevIndex = (pTextObj-GetOrdNum()-1);
 
-if (nextIndex  0)
-pNextTextObj =  dynamic_cast SdrTextObj * ( pPage-GetObj( 
nextIndex ) );
+if (prevIndex = 0)
+pPrevTextObj =  dynamic_cast SdrTextObj * ( pPage-GetObj( 
prevIndex ) );
 
-return pNextTextObj;
+return pPrevTextObj;
 } else {
 fprintf(stderr, Make New Object please\n);
 return NULL;
diff --git a/svx/source/svdraw/textchaincursor.cxx 
b/svx/source/svdraw/textchaincursor.cxx
index 7ca44f7..3952d8b 100644
--- a/svx/source/svdraw/textchaincursor.cxx
+++ b/svx/source/svdraw/textchaincursor.cxx
@@ -58,6 +58,9 @@ void TextChainCursorManager::impDetectEvent(const KeyEvent 
rKEvt,
 SdrOutliner *pOutl = mpEditView-GetTextEditOutliner();
 OutlinerView *pOLV = mpEditView-GetTextEditOutlinerView();
 
+SdrTextObj *pNextLink = mpTextObj-GetNextLinkInChain();
+SdrTextObj *pPrevLink = mpTextObj-GetPrevLinkInChain();
+
 KeyFuncType eFunc = rKEvt.GetKeyCode().GetFunction();
 
 // We need to have this KeyFuncType
@@ -74,17 +77,27 @@ void TextChainCursorManager::impDetectEvent(const KeyEvent 
rKEvt,
 OUString aLastParaText = pOutl-GetText(pOutl-GetParagraph(nLastPara));
 sal_Int32 nLastParaLen = aLastParaText.getLength();
 
-bool bAtEndOfTextContent =
-(aCurSel.nEndPara == nLastPara) 
-(aCurSel.nEndPos == nLastParaLen);
+ESelection aEndSel = ESelection(nLastPara, nLastParaLen);
+bool bAtEndOfTextContent = aCurSel.IsEqual(aEndSel);
 
-if (nCode == KEY_RIGHT  bAtEndOfTextContent)
+// Are we pushing at the end of the object?
+if (nCode == KEY_RIGHT  bAtEndOfTextContent  pNextLink)
 {
 *pOutCursorEvt = CursorChainingEvent::TO_NEXT_LINK;
 // Selection unchanged: we are at the beginning of the box
+return;
 }
 
-// if (nCode == KEY_LEFT  bAtStartOfTextContent) ...
+ESelection aStartSel = ESelection(0, 0);
+bool bAtStartOfTextContent = aCurSel.IsEqual(aStartSel);
+
+// Are we pushing at the start of the object?
+if (nCode == KEY_LEFT  bAtStartOfTextContent  pPrevLink)
+{
+*pOutCursorEvt = CursorChainingEvent::TO_PREV_LINK;
+*pOutSel = ESelection(10, 10); // Set at end of selection
+return;
+}
 
 // If arrived here there is no event detected
 *pOutCursorEvt = CursorChainingEvent::NULL_EVENT;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [Text Chains in Draw] A few question on general handling of chains of text boxes

2015-07-23 Thread Thorsten Behrens
Matteo Campanelli wrote:
 *Question*: what is a good place to keep these chains in svx?
 They hold some kind of global information so my first guess would be
 SdrModel. Does that make sense?
 
Absolutely.

 At some point it should be possible to specify next links from the UI.
 *Question*: where should one put such commands/methods (called from the UI)
 for setting/removing links ? SdrTextObj-s themselves?
 
There, or as a binary op on the SdrModel again, with the two boxes
(upstream  downstream) as parameters. See what feels more natural
when calling it (SdrTextObj::setNextLink() or SdrModel::linkBoxes(up,
down))...

HTH,

-- Thorsten


signature.asc
Description: Digital signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 92898] New: LibreOffice Vanilla 100% CPU and have to Force Quit after installing OSX 10.11 Public Beta 2

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92898

Bug ID: 92898
   Summary: LibreOffice Vanilla 100% CPU and have to Force Quit
after installing OSX 10.11 Public Beta 2
   Product: LibreOffice
   Version: 4.4.0.3 release
  Hardware: x86 (IA32)
OS: Mac OS X (All)
Status: UNCONFIRMED
  Severity: critical
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: mco...@mymts.net

Created attachment 117401
  -- https://bugs.documentfoundation.org/attachment.cgi?id=117401action=edit
Sample taken using OSX Activity Monitor

LibreOffice Vanilla 4.4.4006 gets 100% CPU on file open and has to be Force
Quit after installing OSX 10.11 El Capitain Public Beta 2. 

Also seen using 4.4.4003 and 4.4.4004.

Prior to installing the Public Beta 2 LibreOffice ran O.K.

Earlier a similar problem was encountered when selecting a spreadsheet cell to
copy it.

Sample of LibreOffice 4.4.4003 OSX 10.11 Public Beta 2.txt is from OSX
Activity Monitor.

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


[Libreoffice-commits] core.git: Branch 'feature/chart-sidebar' - 259 commits - accessibility/inc accessibility/source animations/source avmedia/source basctl/Library_basctl.mk basctl/source basegfx/so

2015-07-23 Thread Markus Mohrhard
Rebased ref, commits from common ancestor:
commit 68c85852db3199968975edafc747317bc6a1c416
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Fri Jul 24 00:52:42 2015 +0200

this nasty update cycle was causing many issues

Setting the property from the sidebar was causing the model to be
changed and therefore updating the sidebar again.

Change-Id: I9ca690ae05d4cb0f2ce16f905a29582cc9e86f64

diff --git a/chart2/source/controller/sidebar/ChartAreaPanel.cxx 
b/chart2/source/controller/sidebar/ChartAreaPanel.cxx
index 72da2c9..6dcadd1 100644
--- a/chart2/source/controller/sidebar/ChartAreaPanel.cxx
+++ b/chart2/source/controller/sidebar/ChartAreaPanel.cxx
@@ -42,6 +42,24 @@ css::uno::Referencecss::beans::XPropertySet getPropSet(
 return ObjectIdentifier::getObjectPropertySet(aCID, xModel);
 }
 
+class PreventUpdate
+{
+public:
+PreventUpdate(bool bUpdate):
+mbUpdate(bUpdate)
+{
+mbUpdate = false;
+}
+
+~PreventUpdate()
+{
+mbUpdate = true;
+}
+
+private:
+bool mbUpdate;
+};
+
 }
 
 VclPtrvcl::Window ChartAreaPanel::Create(
@@ -64,7 +82,8 @@ ChartAreaPanel::ChartAreaPanel(vcl::Window* pParent,
 svx::sidebar::AreaPropertyPanelBase(pParent, rxFrame),
 mxModel(pController-getModel()),
 mxListener(new ChartSidebarModifyListener(this)),
-mxSelectionListener(new ChartSidebarSelectionListener(this))
+mxSelectionListener(new ChartSidebarSelectionListener(this)),
+mbUpdate(true)
 {
 Initialize();
 }
@@ -98,6 +117,7 @@ void ChartAreaPanel::Initialize()
 
 void ChartAreaPanel::setFillTransparence(const XFillTransparenceItem rItem)
 {
+PreventUpdate aProtector(mbUpdate);
 css::uno::Referencecss::beans::XPropertySet xPropSet = 
getPropSet(mxModel);
 if (!xPropSet.is())
 return;
@@ -108,6 +128,7 @@ void ChartAreaPanel::setFillTransparence(const 
XFillTransparenceItem rItem)
 void ChartAreaPanel::setFillFloatTransparence(
 const XFillFloatTransparenceItem rItem)
 {
+PreventUpdate aProtector(mbUpdate);
 css::uno::Referencecss::beans::XPropertySet xPropSet = 
getPropSet(mxModel);
 if (!xPropSet.is())
 return;
@@ -117,6 +138,7 @@ void ChartAreaPanel::setFillFloatTransparence(
 
 void ChartAreaPanel::setFillStyle(const XFillStyleItem rItem)
 {
+PreventUpdate aProtector(mbUpdate);
 css::uno::Referencecss::beans::XPropertySet xPropSet = 
getPropSet(mxModel);
 if (!xPropSet.is())
 return;
@@ -139,6 +161,7 @@ void ChartAreaPanel::setFillStyleAndColor(const 
XFillStyleItem* pStyleItem,
 void ChartAreaPanel::setFillStyleAndGradient(const XFillStyleItem* pStyleItem,
 const XFillGradientItem rGradientItem)
 {
+PreventUpdate aProtector(mbUpdate);
 css::uno::Referencecss::beans::XPropertySet xPropSet = 
getPropSet(mxModel);
 if (!xPropSet.is())
 return;
@@ -151,6 +174,7 @@ void ChartAreaPanel::setFillStyleAndGradient(const 
XFillStyleItem* pStyleItem,
 void ChartAreaPanel::setFillStyleAndHatch(const XFillStyleItem* pStyleItem,
 const XFillHatchItem rHatchItem)
 {
+PreventUpdate aProtector(mbUpdate);
 css::uno::Referencecss::beans::XPropertySet xPropSet = 
getPropSet(mxModel);
 if (!xPropSet.is())
 return;
@@ -163,6 +187,7 @@ void ChartAreaPanel::setFillStyleAndHatch(const 
XFillStyleItem* pStyleItem,
 void ChartAreaPanel::setFillStyleAndBitmap(const XFillStyleItem* pStyleItem,
 const XFillBitmapItem rBitmapItem)
 {
+PreventUpdate aProtector(mbUpdate);
 css::uno::Referencecss::beans::XPropertySet xPropSet = 
getPropSet(mxModel);
 if (!xPropSet.is())
 return;
@@ -174,6 +199,9 @@ void ChartAreaPanel::setFillStyleAndBitmap(const 
XFillStyleItem* pStyleItem,
 
 void ChartAreaPanel::updateData()
 {
+if (!mbUpdate)
+return;
+
 css::uno::Referencecss::beans::XPropertySet xPropSet = 
getPropSet(mxModel);
 if (!xPropSet.is())
 return;
diff --git a/chart2/source/controller/sidebar/ChartAreaPanel.hxx 
b/chart2/source/controller/sidebar/ChartAreaPanel.hxx
index 6678fee..827f1c9 100644
--- a/chart2/source/controller/sidebar/ChartAreaPanel.hxx
+++ b/chart2/source/controller/sidebar/ChartAreaPanel.hxx
@@ -90,6 +90,7 @@ private:
 
 void Initialize();
 
+bool mbUpdate;
 };
 
 } } // end of namespace svx::sidebar
commit d30b33c857556ffc318e52b2b2940f82b9896ff8
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Thu Jul 23 21:01:00 2015 +0200

temp

Change-Id: I73130922a773df353db509b0ea62d0013a1df292

diff --git a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx 
b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
index 3b94efc..9db2ad5 100644
--- a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
+++ b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx
@@ -473,7 +473,7 @@ void AreaPropertyPanelBase::DataChanged(
 
 void AreaPropertyPanelBase::ImpUpdateTransparencies()
 {
-if(mpTransparanceItem.get()  

[Libreoffice-commits] online.git: Branch 'private/hcvcastro/forking' - loolwsd/LOOLBroker.cpp

2015-07-23 Thread Henry Castro
 loolwsd/LOOLBroker.cpp |   28 +++-
 1 file changed, 7 insertions(+), 21 deletions(-)

New commits:
commit dae3d9ed1f15ef504de46db2c82ba68797e06147
Author: Henry Castro hcas...@collabora.com
Date:   Thu Jul 23 16:22:57 2015 -0400

loolwsd: add missing arguments.

diff --git a/loolwsd/LOOLBroker.cpp b/loolwsd/LOOLBroker.cpp
index 3f50572..8163534 100644
--- a/loolwsd/LOOLBroker.cpp
+++ b/loolwsd/LOOLBroker.cpp
@@ -204,41 +204,27 @@ static int prefixcmp(const char *str, const char *prefix)
 }
 
 
-static int createLibreOfficeKit()
+static int createLibreOfficeKit(std::string loSubPath, Poco::UInt64 childID)
 {
 Process::Args args;
-//args.push_back(--losubpath= + LOOLWSD::loSubPath);
-//args.push_back(--systemplate= + sysTemplate);
-//args.push_back(--lotemplate= + loTemplate);
-//args.push_back(--childroot= + childRoot);
-//args.push_back(--numprespawns= + 
std::to_string(_numPreSpawnedChildren));
+args.push_back(--losubpath= + loSubPath);
+args.push_back(--child= + std::to_string(childID));
 
 std::string executable = loolkit;
 
-/*if (!File(executable).exists())
-{
-  std::cout  Util::logPrefix() + Error loolkit does not exists  
std::endl;  
-  return -1;
-}*/
-
- //Process::Env env;
-//env[LD_LIBRARY_PATH] = /usr/local/lib;
-//env[LD_DEBUG] = libs;
-
 std::cout  Util::logPrefix() + Launching LibreOfficeKit:  + executable 
+   + Poco::cat(std::string( ), args.begin(), args.end())  std::endl;
 
-//ProcessHandle child = Process::launch(executable, args, /usr/bin/, 
NULL, NULL, NULL, env);
 ProcessHandle child = Process::launch(executable, args);
 
 _childProcesses[child.id()] = child.id();
 return 0;
 }
 
-static void startupLibreOfficeKit(int nLOKits)
+static void startupLibreOfficeKit(int nLOKits, std::string loSubPath, 
Poco::UInt64 child)
 {
 for (int nCntr = nLOKits; nCntr; nCntr--)
 {
-if (createLibreOfficeKit()  0)
+if (createLibreOfficeKit(loSubPath, child)  0)
 break;
 }
 }
@@ -394,7 +380,7 @@ int main(int argc, char** argv)
 Thread::sleep(std::stoul(std::getenv(SLEEPFORDEBUGGER)) * 1000);
 }
 
-startupLibreOfficeKit(_numPreSpawnedChildren);
+startupLibreOfficeKit(_numPreSpawnedChildren, loSubPath, _childId);
 
 while (_childProcesses.size()  0)
 {
@@ -434,7 +420,7 @@ int main(int argc, char** argv)
 {
 _sharedForkChild.begin()[0] = 0;
 std::cout  Util::logPrefix()  No availabe child session, fork 
new one  std::endl;
-if (createLibreOfficeKit()  0 )
+if (createLibreOfficeKit(loSubPath, _childId)  0 )
 break;
 }
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'feature/gsoc14-draw-chained-text-boxes' - include/svx svx/source

2015-07-23 Thread matteocam
 include/svx/textchaincursor.hxx   |   15 +-
 svx/source/svdraw/svdedxv.cxx |   48 ++
 svx/source/svdraw/textchaincursor.cxx |   44 ++-
 3 files changed, 65 insertions(+), 42 deletions(-)

New commits:
commit cdc0e22b54d8b2c20950a955070488c5603e66c0
Author: matteocam matteo.campane...@gmail.com
Date:   Thu Jul 23 23:46:47 2015 +0200

Move code for right motion into TextChainCursorManager

Change-Id: Ifa6aecbd2c55763583f2d48b0883698f876cbc6c

diff --git a/include/svx/textchaincursor.hxx b/include/svx/textchaincursor.hxx
index 71dbc60..456d3c1 100644
--- a/include/svx/textchaincursor.hxx
+++ b/include/svx/textchaincursor.hxx
@@ -20,10 +20,21 @@
 #ifndef INCLUDED_SVX_TEXTCHAINCURSOR_HXX
 #define INCLUDED_SVX_TEXTCHAINCURSOR_HXX
 
+class SdrObjEditView;
+class SdrTextObj;
+class KeyEvent;
 
-class TextChainCursorHandler
+
+class TextChainCursorManager
 {
-TextChainCursorHandler();
+public:
+TextChainCursorManager(SdrObjEditView *pEditView, const SdrTextObj 
*pTextObj);
+
+bool HandleKeyEvent( const KeyEvent rKEvt ) const;
+
+private:
+SdrObjEditView *mpEditView;
+const SdrTextObj *mpTextObj;
 };
 
 
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index 180ae2e..89e4902 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -52,6 +52,7 @@
 #include svdglob.hxx
 #include svx/globl3d.hxx
 #include svx/textchain.hxx
+#include svx/textchaincursor.hxx
 #include editeng/outliner.hxx
 #include editeng/adjustitem.hxx
 #include svtools/colorcfg.hxx
@@ -1282,49 +1283,20 @@ bool SdrObjEditView::IsTextEditFrameHit(const Point 
rHit) const
 
 bool SdrObjEditView::ImpHandleMotionThroughBoxesKeyInput(const KeyEvent 
rKEvt, vcl::Window* pWin)
 {
-// XXX: Find a clean way to do this (even cleaner than the code commented 
below)
-// if( pTextEditOutlinerView-IsKeyEventPushingOutOfPage(rKevt, pWin)
-//   pWin = HandleKeyPushingOutOfBox(rKevt);
-KeyFuncType eFunc = rKEvt.GetKeyCode().GetFunction();
-sal_uInt16 nCode = rKEvt.GetKeyCode().GetCode();
-ESelection aCurSel = pTextEditOutlinerView-GetSelection();
-
-
 SdrTextObj* pTextObj = NULL;
 if (mxTextEditObj.is())
 pTextObj= dynamic_castSdrTextObj*(mxTextEditObj.get());
+else
+return false;
 
-bool bHandled = false;
-
-// XXX: Add check for last position in the para
-if (pTextObj  pTextObj-IsChainable()  pTextObj-GetNextLinkInChain() 

-eFunc ==  KeyFuncType::DONTKNOW)
-{
-SdrOutliner *pOutl = GetTextEditOutliner();
-sal_Int32 nLastPara = pOutl-GetParagraphCount()-1;
-OUString aLastParaText = 
pOutl-GetText(pOutl-GetParagraph(nLastPara));
-sal_Int32 nLastParaLen = aLastParaText.getLength();
-
-if (nCode == KEY_RIGHT 
-aCurSel.nEndPara == nLastPara 
-aCurSel.nEndPos == nLastParaLen
-)
-{
-fprintf(stderr, [CHAIN - CURSOR] Trying to move to next box\n );
-
-// Move to next box
-SdrEndTextEdit();
-SdrTextObj *pNextLink = pTextObj-GetNextLinkInChain();
-SdrBeginTextEdit(pNextLink);
-bHandled = true;
-}
-
+TextChainCursorManager aCursorManager(this, pTextObj);
+if( aCursorManager.HandleKeyEvent(rKEvt) ) {
+// Possibly do other stuff here if necessary...
 // XXX: Careful with the checks below (in KeyInput) for pWin and co. 
You should do them here I guess.
-
+return true;
+} else {
+return false;
 }
-
-return bHandled;
-
 }
 
 bool SdrObjEditView::KeyInput(const KeyEvent rKEvt, vcl::Window* pWin)
@@ -1356,8 +1328,6 @@ bool SdrObjEditView::KeyInput(const KeyEvent rKEvt, 
vcl::Window* pWin)
 #endif
 ImpMakeTextCursorAreaVisible();
 
-
-
 return true;
 }
 }
diff --git a/svx/source/svdraw/textchaincursor.cxx 
b/svx/source/svdraw/textchaincursor.cxx
index 45f8533..37b5931 100644
--- a/svx/source/svdraw/textchaincursor.cxx
+++ b/svx/source/svdraw/textchaincursor.cxx
@@ -17,11 +17,53 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include svx/textchain.hxx
 #include svx/textchaincursor.hxx
+#include svx/svdedxv.hxx
+#include svx/svdoutl.hxx
 
-TextChainCursorHandler::TextChainCursorHandler()
+TextChainCursorManager::TextChainCursorManager(SdrObjEditView *pEditView, 
const SdrTextObj *pTextObj) :
+mpEditView(pEditView),
+mpTextObj(pTextObj)
 {
 
 }
 
+bool TextChainCursorManager::HandleKeyEvent( const KeyEvent rKEvt ) const
+{
+bool bHandled = false;
+
+// XXX: Find a clean way to do this (even cleaner than the code commented 
below)
+// if( pTextEditOutlinerView-IsKeyEventPushingOutOfPage(rKevt, pWin)
+//   pWin = HandleKeyPushingOutOfBox(rKevt);
+KeyFuncType eFunc = rKEvt.GetKeyCode().GetFunction();
+sal_uInt16 nCode = 

[Libreoffice-bugs] [Bug 92896] Dialog editor: deleting a language crashes LibO

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92896

Jacques Guilleron guillero...@aol.com changed:

   What|Removed |Added

   Keywords||regression
 Status|UNCONFIRMED |NEW
 CC||guillero...@aol.com
 Ever confirmed|0   |1

--- Comment #1 from Jacques Guilleron guillero...@aol.com ---
HI Mikhail,

I reproduce with 
LO 5.1.0.0.alpha1+ Build ID: a625cd702700ae1773966a3133d27027d1c4d083
TinderBox: Win-x86@39, Branch:master, Time: 2015-07-07_08:23:06
 Windows 7 Home Premium
Also with 
LO 4.4.0.0.beta1 Build ID: 9af3d21234aa89dac653c0bd76648188cdeb683e
but no with 
LO 4.3.5.2 Build ID: 3a87456aaa6a95c63eea1c1b3201acedf0751bd5

I set Status to NEW and Keywords to regression.

Thanks for your report.

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


[Libreoffice-bugs] [Bug 92891] Not enough fields for userdata

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92891

m.a.riosv miguelange...@libreoffice.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||miguelangelrv@libreoffice.o
   ||rg
 Resolution|--- |WORKSFORME

--- Comment #1 from m.a.riosv miguelange...@libreoffice.org ---
You can find this options in the file properties.

Menu/File/Properties/Custom properties.

I think you can set up the default or other templates with the needed fields.

Resolved as worksforme, please if you are not agree reopen it.

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


[Libreoffice-bugs] [Bug 92895] New: Writer continue to crash and relaod the restoring document window after try to restore a .doc* that was not corrupted nor closed umproperly

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92895

Bug ID: 92895
   Summary: Writer continue to crash and relaod the restoring
document window after try to restore a .doc* that was
not corrupted nor closed umproperly
   Product: LibreOffice
   Version: 4.4.4.3 release
  Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: saggioratoi...@gmail.com

Created attachment 117398
  -- https://bugs.documentfoundation.org/attachment.cgi?id=117398action=edit
The restore window that appear everytime with a loop after restoring i try to
open a .doc* file

I have experienced a looped crash with reload of the restoring document window
trying to open a .doc* file says that the document or Libreoffice was
unxepextly closed and the document was not saved properly even is an old file
opened with no problem with MSOffice Word and was not previously opened with
Libreoffice. Trying to restore the file, Writer seems to be capable to open,
but crash and ask again to restore the file

This was happened after changed the file association of xls*/doc*/ppt* in
Windows from the respective MSOffice programs to Libreoffice programs with
Default Programs, but i don't know if is the reason or is a bug of 4.4.4.3
release.

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


[Libreoffice-commits] core.git: Branch 'feature/gsoc14-draw-chained-text-boxes' - svx/source

2015-07-23 Thread matteocam
 svx/source/svdraw/svdedxv.cxx   |4 ++--
 svx/source/svdraw/textchainflow.cxx |   11 +--
 2 files changed, 7 insertions(+), 8 deletions(-)

New commits:
commit e8774374f6a572110ac2eb85330da9cec41a8c4b
Author: matteocam matteo.campane...@gmail.com
Date:   Fri Jul 24 00:24:28 2015 +0200

Set PostChainingSel even with event UNCHANGED

Change-Id: I5d5133fa46949eab8937e3e83a4e4f53f754f825

diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index 89e4902..fe7f6c4 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -546,10 +546,10 @@ void SdrObjEditView::ImpMoveCursorAfterChainingEvent()
 switch ( pTextChain-GetCursorEvent(pTextObj) ) {
 
 case CursorChainingEvent::UNCHANGED:
-// Set same selection as before the chaining
+// Set same selection as before the chaining (which is saved 
as PostChainingSel)
 // We need an explicit set because the Outliner is messed up
 //after text transfer and otherwise it brings us at 
arbitrary positions.
-pOLV-SetSelection(pTextChain-GetPreChainingSel(pTextObj));
+pOLV-SetSelection(aNewSel);
 break;
 case CursorChainingEvent::TO_NEXT_LINK:
 SdrEndTextEdit();
diff --git a/svx/source/svdraw/textchainflow.cxx 
b/svx/source/svdraw/textchainflow.cxx
index 4d6352f..581b5be 100644
--- a/svx/source/svdraw/textchainflow.cxx
+++ b/svx/source/svdraw/textchainflow.cxx
@@ -317,18 +317,16 @@ void 
EditingTextChainFlow::impSetFlowOutlinerParams(SdrOutliner *pFlowOutl, SdrO
 
 void EditingTextChainFlow::impBroadcastCursorInfo() const
 {
-bool bCursorOut = false;
+ESelection aPreChainingSel = 
GetTextChain()-GetPreChainingSel(GetLinkTarget()) ;
+
+// Test whether the cursor is out of the box.
+bool bCursorOut = mbPossiblyCursorOut  
maOverflowPosSel.IsLess(aPreChainingSel);
 
 // NOTE: I handled already the stuff for the comments below. They will be 
kept temporarily till stuff settles down.
 // Possibility: 1) why don't we stop passing the actual event to the 
TextChain and instead we pass
 //  the overflow pos and mbPossiblyCursorOut
 //  2) We pass the current selection before anything happens 
and we make impBroadcastCursorInfo compute it.
 
-if (mbPossiblyCursorOut) {
-ESelection aPreChainingSel = 
GetTextChain()-GetPreChainingSel(GetLinkTarget()) ;
-// Test whether the cursor is out of the box.
-bCursorOut = maOverflowPosSel.IsLess(aPreChainingSel);
-}
 
 if (bCursorOut) {
 //maCursorEvent = CursorChainingEvent::TO_NEXT_LINK;
@@ -336,6 +334,7 @@ void EditingTextChainFlow::impBroadcastCursorInfo() const
 GetTextChain()-SetCursorEvent(GetLinkTarget(), 
CursorChainingEvent::TO_NEXT_LINK);
 } else {
 //maCursorEvent = CursorChainingEvent::UNCHANGED;
+GetTextChain()-SetPostChainingSel(GetLinkTarget(), aPreChainingSel);
 GetTextChain()-SetCursorEvent(GetLinkTarget(), 
CursorChainingEvent::UNCHANGED);
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] online.git: Branch 'private/hcvcastro/forking' - loolwsd/ChildProcessSession.cpp

2015-07-23 Thread Henry Castro
 loolwsd/ChildProcessSession.cpp |4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 744f7ff395d608dec650db6f7dfbe3e7d499183c
Author: Henry Castro hcas...@collabora.com
Date:   Thu Jul 23 16:19:14 2015 -0400

loolwsd: remove Application logger.

diff --git a/loolwsd/ChildProcessSession.cpp b/loolwsd/ChildProcessSession.cpp
index 49e6a43..1b841f9 100644
--- a/loolwsd/ChildProcessSession.cpp
+++ b/loolwsd/ChildProcessSession.cpp
@@ -30,7 +30,6 @@
 
 #include Poco/Net/WebSocket.h
 #include Poco/StringTokenizer.h
-#include Poco/Util/Application.h
 #include Poco/URI.h
 #include Poco/Path.h
 
@@ -42,7 +41,6 @@
 using namespace LOOLProtocol;
 using Poco::Net::WebSocket;
 using Poco::StringTokenizer;
-using Poco::Util::Application;
 using Poco::URI;
 using Poco::Path;
 
@@ -107,7 +105,7 @@ bool ChildProcessSession::handleInput(const char *buffer, 
int length)
 std::string firstLine = getFirstLine(buffer, length);
 StringTokenizer tokens(firstLine,  , StringTokenizer::TOK_IGNORE_EMPTY | 
StringTokenizer::TOK_TRIM);
 
-Application::instance().logger().information(Util::logPrefix() + 
_kindString + ,Input, + getAbbreviatedMessage(buffer, length));
+std::cout  Util::logPrefix() + _kindString + ,Input, + 
getAbbreviatedMessage(buffer, length)  std::endl;
 
 if (tokens[0] == load)
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 91987] Fileopen via file manager right-click crashes in (Kubuntu 15.04)

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91987

Donald Day donald1...@att.net changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

--- Comment #3 from Donald Day donald1...@att.net ---
Beluga, thanks for the tips. I tried re-creating the user profile, without
success. I hesitate to install a beta release, for fear that this might cause
unintended effects re existing documents. It seems that I'll need to wait for
15.10, in hopes that this problem will be fixed then. It's very odd that the
only version of 15.04 that exhibits this problem is the 64-bit one, and only
with Writer. If I could drop to 14.04 LTS, I'd do that, but my understanding is
that results could be unpredictable. By the way, I did copy ksystraycmd from a
14.04 install to the /usr/bin directory on my 15.04 (changing the owner and
group to root). Also no effect.

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


[Libreoffice-bugs] [Bug 92897] Full LibreOffice Writer hang (100% CPU) and memory leak with ODT document

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92897

Iandol ian...@gmail.com changed:

   What|Removed |Added

Summary|Full hang and memory leak   |Full LibreOffice Writer
   |with FODT document. |hang (100% CPU) and memory
   ||leak with ODT document

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


[Libreoffice-bugs] [Bug 92892] Problems with october dates

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92892

Jacques Guilleron guillero...@aol.com changed:

   What|Removed |Added

 CC||guillero...@aol.com

--- Comment #3 from Jacques Guilleron guillero...@aol.com ---
Hi Rafael,

In your video, you are using a scv file. If you select detect special
numbers, LO will format dates as you expect it. This works too for hours or
scientific notation.

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


[Libreoffice-bugs] [Bug 87013] LO performance when network drive is mounted over slow link

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87013

--- Comment #14 from c_nor...@yahoo.com ---
Somewhat along the same lines, I'm always dealing with the fact that
libreoffice hangs completely if a mounted but now inaccessible fs is present. I
have a GSA account at work, and if I am not online or not VPN'd in, libreoffice
hangs completely, and indefinitely (so I can't clear recents, etc.).

gedit also hangs in this situation, so this might be an issue outside of
libreoffice's control. But if there's any way to handle inaccessible fs's, I'm
for it.

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


Minutes of the Design Hangout: 2015-07-22

2015-07-23 Thread Jan Holesovsky
* [Meeting on 2015-07-15 was skipped]

* Present: Heiko, Jay, Marek, Kendy
 
* UI changes integrated the last 2 weeks:

+ chart sidebar implementation (Moggi)
+ rework of the access to remote files (GSoC - Szymon)
+ toolbar changes in Draw (Jay)
+ Gtk+ theme improvements (Simon)
+ lighter default color for minor grid lines (Bubli)
+ sub-toolbar controller + associated cleanup and fixes (Maxim)
+ Gtk3 continued (Caolán)
+ Gtk3 hi-dpi (Tomaž)
+ UI changes in the Calc sidebar (Rishabh)
+ status updates for custom shapes buttons (Maxim)
 
* LibreOffice Conference
 
+ September 23-25, 2015, Aarhus, Denmark
+ http://conference.libreoffice.org/2015/call-for-papers/
+ would be great to have you all there :-) - please submit a paper!
+ Heiko sent a proposal The LibreOffice Human Interface Guidelines
+ Kendy sent a proposal too
 
* Help updating (Kendy)
 
+ hot topic in the ESC
+ new version of HelpAuthoring*.oxt in the works (Kendy)
+ will try that over the weekend (Jay)
+ how to get it? (Jay)
+ http://dev-www.libreoffice.org/helpauthoring/
+ will ping you  announce the today's version when I test it 
(Kendy)
+ https://wiki.documentfoundation.org/Documentation/Help has the 
general info (Kendy)
+ only master modified, not 5.0 wrt. the menus (Jay)
+ so all will be happening in the next version (Jay)
 
* Icon Updates / Issues (Jay)
 
+ will modify the status when gone through the emails (Jay)
 
+ Tango (Alex/Adolfo/Jay)
+ Latest status of updates available here (Jay)
  
https://docs.google.com/document/d/1OErlXIDDGM7V1mOGW8oSCLuhqw5fulT1XhkTik1u2UY/edit?usp=sharing
 
+ Sifr (Papamatti/Jay)
+ Latest status of updates available here (Jay)
  
https://docs.google.com/document/d/15ZpVaTxg7TAFYhOyQUP3mp-cVtKA1vP5uZAT38t-taA/edit?usp=sharing
+ Papamatti has pushed new icons (Jay)
 
+ Breeze (Andreas/Jay)
+ Latest status of updates available here (Jay)
  
https://docs.google.com/document/d/1dpMFgmkQy4BsyRIKH97ZLPTU6NdvXIYk3Yossj6sSQM/edit?usp=sharing
+ Andreas has pushed some changes (Jay)
 
+ Extra-Large (32x32) Icons for large resolutions
+ Status - 
https://docs.google.com/document/d/1mPqD2gGsMkfVCI6ByUd2XYX1NJm26hcGjRVe6gcCSEU/edit?usp=sharing
 
* Templates Competition (Jay)
 
+ Wiki page setup
  
https://wiki.documentfoundation.org/Design/Whiteboards/Templates_for_LibreOffice_5.0
+ many new templates
+ still possible to get that to 5.0? (Jay)
+ RC4 ~tomorrow (Kendy)
+ needs 3 reviews; suggest to integrate the best ones, and consider the 
rest for 5.0.1 (Kendy)
+ will ping Kendy tomorrow with the list (Jay)

* LibreOffice 5.0 splash + start center + about box new theme (Kendy)
 
+ 1st round integrated (Kendy)
+ got the About graphics, windows installer  OS X dnd installer
+ forwarded to Cloph for integration (Kendy)
 
* UI Guidelines (Heiko)
 
+ 
https://docs.google.com/document/d/1hSYOFoG6jnj2G0zWDbUYkrGZoj7YCSI9j3onkTZ65bU/edit
 
+ replace UX principles 
https://wiki.documentfoundation.org/Design/Principles by HIG
  on http://www.libreoffice.org/community/design;?
+ UX principles good  relevant, but not specific enough (Heiko)
+ suggest to change this link to the HIG instead:
  https://wiki.documentfoundation.org/Design/Guidelines
+ conclusion: let's do it, unless there are complains in a reply to 
these minutes :-)

+ context menus
+ added to the wiki
+ sidebar + dialogs
+ will go to the wiki, BUT the undecided parts will be marked as work 
in progress
+ sidebar
+ good topic for the conference (Heiko)
+ works on now sidebar for chart with Moggi (Heiko)
+ changes the pattern a bit
+ would be good to unify - needs more people for feedback
 
* Next Friday's design session (Heiko/Jay)
 
+ Friday session this week
+ not happening this week as Heiko's busy; could do on Thursday
+ could do it for 1hr tomorrow (Kendy)
+ 1:00pm CEST / 11:00 UTC
 
+ next topics:
+ CMIS new dialogs - check the status / original design, see how it 
works
+ Print dialog - Bubli's proposals / asks: Improving printing UX 
thread tdf#91362, tdf#61186
 
+ List of possible future topics
+ 
https://docs.google.com/document/d/1XiJauFHrSmM5LsaV0AlglhfUh8D1IxAg8qistP0KAQA/edit?usp=sharing
+ Steve wants the sidebar configuration menu icon gone: it's useless 
confusing, thus user unfriendly,
  creates frustration and clutters the UI.
  https://bugs.documentfoundation.org/show_bug.cgi?id=91824
 
* Easy hacks for Marek (Jay)
 
+ looking at the Basic IDE (Marek)
+ 
https://wiki.documentfoundation.org/Development/GSoC/GenialIdeas#Bunch_of_Basic_IDE_improvements
  is worth 

[Libreoffice-commits] online.git: Branch 'private/hcvcastro/forking' - loolwsd/MasterProcessSession.cpp loolwsd/MasterProcessSession.hpp

2015-07-23 Thread Henry Castro
 loolwsd/MasterProcessSession.cpp |  107 +--
 loolwsd/MasterProcessSession.hpp |3 -
 2 files changed, 3 insertions(+), 107 deletions(-)

New commits:
commit 2e14613c3f5f5422f3ebacfbf0b0720819974a88
Author: Henry Castro hcas...@collabora.com
Date:   Thu Jul 23 16:35:40 2015 -0400

loolwsd: remove _pendingPreSpawnedChildren.

diff --git a/loolwsd/MasterProcessSession.cpp b/loolwsd/MasterProcessSession.cpp
index d474d27..c0e98d4 100644
--- a/loolwsd/MasterProcessSession.cpp
+++ b/loolwsd/MasterProcessSession.cpp
@@ -52,90 +52,8 @@ using Poco::URI;
 using Poco::File;
 using Poco::Exception;
 
-
-/*#define LOK_USE_UNSTABLE_API
-#include LibreOfficeKit/LibreOfficeKit.h
-#include LibreOfficeKit/LibreOfficeKitEnums.h
-
-#include Poco/Exception.h
-#include Poco/Net/HTTPStreamFactory.h
-#include Poco/StreamCopier.h
-#include Poco/String.h
-#include Poco/ThreadLocal.h
-#include Poco/URIStreamOpener.h
-#include Poco/Net/NetException.h
-#include Poco/Net/DialogSocket.h
-#include Poco/Net/SocketAddress.h
-
-#include LOKitHelper.hpp
-#include TileCache.hpp
-
-
-using Poco::IOException;
-using Poco::Net::HTTPStreamFactory;
-using Poco::ProcessHandle;
-using Poco::StreamCopier;
-using Poco::Thread;
-using Poco::ThreadLocal;
-using Poco::UInt64;
-using Poco::URIStreamOpener;
-using Poco::Net::DialogSocket;
-using Poco::Net::SocketAddress;
-using Poco::Net::WebSocketException;*/
-
-
-/*#define LOK_USE_UNSTABLE_API
-#include LibreOfficeKit/LibreOfficeKit.h
-#include LibreOfficeKit/LibreOfficeKitEnums.h
-
-#include Poco/Exception.h
-#include Poco/File.h
-#include Poco/Net/HTTPStreamFactory.h
-#include Poco/Path.h
-#include Poco/Process.h
-#include Poco/Random.h
-#include Poco/StreamCopier.h
-#include Poco/String.h
-#include Poco/StringTokenizer.h
-#include Poco/ThreadLocal.h
-#include Poco/URI.h
-#include Poco/URIStreamOpener.h
-#include Poco/Util/Application.h
-#include Poco/Exception.h
-#include Poco/Net/NetException.h
-#include Poco/Net/DialogSocket.h
-#include Poco/Net/SocketAddress.h
-
-#include LOKitHelper.hpp
-#include LOOLSession.hpp
-#include LOOLWSD.hpp
-#include TileCache.hpp
-
-using namespace LOOLProtocol;
-
-using Poco::File;
-using Poco::IOException;
-using Poco::Net::HTTPStreamFactory;
-using Poco::Path;
-using Poco::Process;
-using Poco::ProcessHandle;
-using Poco::Random;
-using Poco::StreamCopier;
-using Poco::StringTokenizer;
-using Poco::Thread;
-using Poco::ThreadLocal;
-using Poco::URI;
-using Poco::URIStreamOpener;
-using Poco::Util::Application;
-using Poco::Exception;
-using Poco::Net::DialogSocket;
-using Poco::Net::SocketAddress;
-using Poco::Net::WebSocketException;*/
-
-
 std::mapProcess::PID, UInt64 MasterProcessSession::_childProcesses;
 
-std::setUInt64 MasterProcessSession::_pendingPreSpawnedChildren;
 std::setstd::shared_ptrMasterProcessSession 
MasterProcessSession::_availableChildSessions;
 std::mutex MasterProcessSession::_availableChildSessionMutex;
 std::condition_variable MasterProcessSession::_availableChildSessionCV;
@@ -148,12 +66,12 @@ 
MasterProcessSession::MasterProcessSession(std::shared_ptrWebSocket ws, Kind k
 _childId(0),
 _curPart(0)
 {
-std::cout  Util::logPrefix()  MasterProcessSession ctor this=  
this   ws=  _ws.get()  kind  std::endl;
+std::cout  Util::logPrefix()  MasterProcessSession ctor this=  
this   ws=  _ws.get()   kind= _kind  std::endl;
 }
 
 MasterProcessSession::~MasterProcessSession()
 {
-std::cout  Util::logPrefix()  MasterProcessSession dtor this=  
this   _peer=  _peer.lock().get()  std::endl;
+std::cout  Util::logPrefix()  MasterProcessSession dtor this=  
this   _peer=  _peer.lock().get()  kind= _kind  std::endl;
 Util::shutdownWebSocket(*_ws);
 auto peer = _peer.lock();
 if (_kind == Kind::ToClient  peer)
@@ -243,20 +161,7 @@ bool MasterProcessSession::handleInput(const char *buffer, 
int length)
 }
 
 UInt64 childId = std::stoull(tokens[1]);
-// TODO. rework, the desktop and its childrem is jail root same folder
-/*if (_pendingPreSpawnedChildren.find(childId) == 
_pendingPreSpawnedChildren.end())
-{
-std::cout  Util::logPrefix()  Error 
_pendingPreSpawnedChildren.find(childId)  this   id=  childId  
std::endl;
 
-sendTextFrame(error: cmd=child kind=notfound);
-return false;
-}*/
-
-if (_pendingPreSpawnedChildren.size()  0)
-{
-std::setUInt64::iterator it = _pendingPreSpawnedChildren.begin();
-_pendingPreSpawnedChildren.erase(it);
-}
 std::unique_lockstd::mutex lock(_availableChildSessionMutex);
 _availableChildSessions.insert(shared_from_this());
 std::cout  Util::logPrefix()  Inserted   this   id=  
childId   into _availableChildSessions, size=  
_availableChildSessions.size()  std::endl;
@@ -479,16 +384,10 @@ void MasterProcessSession::dispatchChild()
 std::shared_ptrMasterProcessSession childSession;
 

[Libreoffice-bugs] [Bug 92876] INSTALLATION IMPOSSIBLE

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92876

Adolfo Jayme f...@libreoffice.org changed:

   What|Removed |Added

   Priority|high|medium
 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |NOTOURBUG
   Severity|blocker |normal

--- Comment #2 from Adolfo Jayme f...@libreoffice.org ---
Salut, Jacky:

Prière de consulter le site
https://forum.openoffice.org/en/forum/viewtopic.php?p=19245#p19245

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


[Libreoffice-bugs] [Bug 80175] FILEOPEN: error message opening particular .docx

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=80175

Carlos Rodriguez carlos.rodrig...@tegnix.com changed:

   What|Removed |Added

 CC||carlos.rodrig...@tegnix.com

--- Comment #13 from Carlos Rodriguez carlos.rodrig...@tegnix.com ---
I've got a similar result as mentioned in Comment #10. I'm unable to open the
file, crashing and showing a Msgbox with this info:

---
File format error found at unsatisfied query for interface of type
com.sun.star.lang.XComponent!
SAXParseException: '[word/endnotes.xml line 2]: unknown error', Stream
'word/endnotes.xml', Line 2, Column 44926
SAXParseException: '[word/document.xml line 2]: unknown error', Stream
'word/document.xml', Line 2, Column 22161(row,col).
---
This error occurs on Debian 8 (jessie) and:

Version: 5.1.0.0.alpha1+
Build ID: 74d4168f8830f7bbec6b784c3fb774296d9adafa
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time:
2015-07-22_06:14:00
Locale: es-ES (es_ES.UTF-8)

and

Version: 5.0.1.0.0+
Build ID: 5df3725f81564a8380209881b6f2c48b2fe158b3
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:libreoffice-5-0, Time:
2015-07-22_16:36:47
Locale: es-ES (es_ES.UTF-8)

On the following versions it opens normally as expected but getting no formula.
Is there any?

Version: 4.4.6.0.0+
Build ID: 865afb6ed25891129efb6907595c892e417a191a
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:libreoffice-4-4, Time:
2015-07-14_00:39:03
Locale: es_ES.UTF-8

Versión: 4.4.3.2
Id. de compilación: 88805f81e9fe61362df02b9941de8e38a9b5fd16
Configuración regional: es_ES

Versión: 4.3.7.2
Id. de compilación: 8a35821d8636a03b8bf4e15b48f59794652c68ba

What I can say is than once I open the file with these versions and then saving
it as .docx again, then it opens normally on versions that where failing
before.

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


[Libreoffice-bugs] [Bug 80175] FILEOPEN: error message opening particular .docx

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=80175

--- Comment #15 from Terrence Enger lo_b...@iseries-guru.com ---
(In reply to Carlos Rodriguez from comment #13)
 
 On the following versions it opens normally as expected but getting no
 formula. Is there any?

The .png attached to this bug report shows the lack of a formula in
footnote 43.  In one case, we see following footnotes; in the other we
see the numbers for subsequent footnotes, but no content.

I have a vague memory of working on a problem like this.  However,
either my search-foo is weak today or I never accomplished anything
worth recording in bugzilla.

If you see a problem with the formula, it should be a separate bug
report.  Please add me to the cc if you file a new one or find an
existing one.

Thanks,
Terry.

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


[Libreoffice-bugs] [Bug 92897] Full hang and memory leak with FODT document.

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92897

--- Comment #1 from Iandol ian...@gmail.com ---
I tried converting from FODT to ODT in 4.4.4 but the ODT also causes the hang.

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


[Libreoffice-bugs] [Bug 92897] Full hang and memory leak with FODT document.

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92897

--- Comment #2 from Iandol ian...@gmail.com ---
Created attachment 117402
  -- https://bugs.documentfoundation.org/attachment.cgi?id=117402action=edit
reduced testcase

here is a reduced testcase, this causes a full hang on my libreoffice 5.0.0.3
and 5.1dev -- my OS is OS X 10.11

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


[Libreoffice-bugs] [Bug 92892] Problems with october dates

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92892

--- Comment #2 from Rafael Strozi rstr...@globo.com ---
The problem occurs between 2011 and 2019, on dates when the daylight savings
starts in Brazil:

20/10/2019
21/10/2018
15/10/2017
16/10/2016
18/10/2015
19/10/2014
20/10/2013
21/10/2012
16/10/2011

Found the pattern here:

http://www.brazil-help.com/start_stop.htm

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


[Libreoffice-bugs] [Bug 92897] New: Full hang and memory leak with FODT document.

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92897

Bug ID: 92897
   Summary: Full hang and memory leak with FODT document.
   Product: LibreOffice
   Version: 5.0.0.3 rc
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: critical
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: ian...@gmail.com

Created attachment 117400
  -- https://bugs.documentfoundation.org/attachment.cgi?id=117400action=edit
4.54GB RAM still rising

I have a document which I've been opening before without any problems, a file
converted from multimarkdown to FODT, about 300kb in total. I tried opening it
in 5.0.0.3 and it causes a full hang of writer, the GUI becomes fully
unresponsive and it slowly keeps increasing its memory (I saw 33.8GB the first
time I checked).  It has images but they are referenced from the same
directory. 

The same document opens fine in 4.4.4 — I can't attach as it is  confidential.
Not sure how I can debug this.

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


[Libreoffice-commits] core.git: Branch 'feature/gsoc14-draw-chained-text-boxes' - include/svx svx/source

2015-07-23 Thread matteocam
 include/svx/textchaincursor.hxx   |4 +++
 svx/source/svdraw/svdedxv.cxx |   31 +++-
 svx/source/svdraw/textchaincursor.cxx |   43 ++
 3 files changed, 51 insertions(+), 27 deletions(-)

New commits:
commit 70ce299e1a6c4a1d7375ddb089acfb8b60a9e8c8
Author: matteocam matteo.campane...@gmail.com
Date:   Fri Jul 24 01:03:58 2015 +0200

Add specific method for cursor event handling

Change-Id: I664e1ac9ac52d7d54e2f3ca35cbb429dc2e131cb

diff --git a/include/svx/textchaincursor.hxx b/include/svx/textchaincursor.hxx
index 456d3c1..ce5200f 100644
--- a/include/svx/textchaincursor.hxx
+++ b/include/svx/textchaincursor.hxx
@@ -31,10 +31,14 @@ public:
 TextChainCursorManager(SdrObjEditView *pEditView, const SdrTextObj 
*pTextObj);
 
 bool HandleKeyEvent( const KeyEvent rKEvt ) const;
+void HandleCursorEvent(const CursorChainingEvent aCurEvt,
+   const ESelection  aNewSel) const;
 
 private:
 SdrObjEditView *mpEditView;
 const SdrTextObj *mpTextObj;
+
+void impChangeEditingTextObj(SdrTextObj *pTargetTextObj, ESelection 
aNewSel) const;
 };
 
 
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index fe7f6c4..15e2228 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -536,39 +536,16 @@ void SdrObjEditView::ImpMoveCursorAfterChainingEvent()
 if (!pTextObj-IsChainable() || !pTextObj-GetNextLinkInChain())
 return;
 
-
-SdrTextObj *pNextLink = pTextObj-GetNextLinkInChain();
-OutlinerView* pOLV = GetTextEditOutlinerView();
-
 TextChain *pTextChain = pTextObj-GetTextChain();
 ESelection aNewSel = pTextChain-GetPostChainingSel(pTextObj);
 
-switch ( pTextChain-GetCursorEvent(pTextObj) ) {
-
-case CursorChainingEvent::UNCHANGED:
-// Set same selection as before the chaining (which is saved 
as PostChainingSel)
-// We need an explicit set because the Outliner is messed up
-//after text transfer and otherwise it brings us at 
arbitrary positions.
-pOLV-SetSelection(aNewSel);
-break;
-case CursorChainingEvent::TO_NEXT_LINK:
-SdrEndTextEdit();
-SdrBeginTextEdit(pNextLink);
-// OutlinerView has changed, so we update the pointer
-pOLV = GetTextEditOutlinerView();
-pOLV-SetSelection(aNewSel); // XXX
-break;
-case CursorChainingEvent::TO_PREV_LINK:
-// XXX: To be handled
-break;
-case CursorChainingEvent::NULL_EVENT:
-// Do nothing here
-break;
-}
+TextChainCursorManager aCursorManager(this, pTextObj);
+aCursorManager.HandleCursorEvent(
+pTextChain-GetCursorEvent(pTextObj),
+aNewSel);
 
 // Reset event
 pTextChain-SetCursorEvent(pTextObj, CursorChainingEvent::NULL_EVENT);
-
 }
 
 IMPL_LINK(SdrObjEditView,ImpOutlinerCalcFieldValueHdl,EditFieldInfo*,pFI)
diff --git a/svx/source/svdraw/textchaincursor.cxx 
b/svx/source/svdraw/textchaincursor.cxx
index 37b5931..a0def07 100644
--- a/svx/source/svdraw/textchaincursor.cxx
+++ b/svx/source/svdraw/textchaincursor.cxx
@@ -22,6 +22,10 @@
 #include svx/svdedxv.hxx
 #include svx/svdoutl.hxx
 
+// XXX: Possible duplication of code in behavior with stuff in ImpEditView (or 
ImpEditEngine) and OutlinerView
+
+// XXX: We violate Demeter's Law several times here, I'm afraid
+
 TextChainCursorManager::TextChainCursorManager(SdrObjEditView *pEditView, 
const SdrTextObj *pTextObj) :
 mpEditView(pEditView),
 mpTextObj(pTextObj)
@@ -66,4 +70,43 @@ bool TextChainCursorManager::HandleKeyEvent( const KeyEvent 
rKEvt ) const
 return bHandled;
 }
 
+void TextChainCursorManager::HandleCursorEvent(const CursorChainingEvent 
aCurEvt,
+   const ESelection  aNewSel) const
+{
+OutlinerView* pOLV = mpEditView-GetTextEditOutlinerView();
+SdrTextObj *pNextLink = mpTextObj-GetNextLinkInChain();
+SdrTextObj *pPrevLink = mpTextObj-GetPrevLinkInChain();
+
+switch ( aCurEvt ) {
+case CursorChainingEvent::UNCHANGED:
+// Set same selection as before the chaining (which is saved 
as PostChainingSel)
+// We need an explicit set because the Outliner is messed up
+//after text transfer and otherwise it brings us at 
arbitrary positions.
+pOLV-SetSelection(aNewSel);
+break;
+case CursorChainingEvent::TO_NEXT_LINK:
+impChangeEditingTextObj(pNextLink, aNewSel);
+break;
+case CursorChainingEvent::TO_PREV_LINK:
+impChangeEditingTextObj(pPrevLink, aNewSel);
+break;
+case CursorChainingEvent::NULL_EVENT:
+// Do nothing here
+break;

[Libreoffice-commits] core.git: Branch 'feature/gsoc14-draw-chained-text-boxes' - include/svx svx/source

2015-07-23 Thread matteocam
 include/svx/textchaincursor.hxx   |4 +
 svx/source/svdraw/svdedxv.cxx |3 +
 svx/source/svdraw/textchaincursor.cxx |   85 +-
 3 files changed, 61 insertions(+), 31 deletions(-)

New commits:
commit 4ded1c96716ac12fabda495901f677d366265926
Author: matteocam matteo.campane...@gmail.com
Date:   Fri Jul 24 01:38:16 2015 +0200

Add specific method for detecting event

Change-Id: I3030f4a5c80bcade440fb66d578430abb15dfc44

diff --git a/include/svx/textchaincursor.hxx b/include/svx/textchaincursor.hxx
index ce5200f..b56dd72 100644
--- a/include/svx/textchaincursor.hxx
+++ b/include/svx/textchaincursor.hxx
@@ -23,6 +23,7 @@
 class SdrObjEditView;
 class SdrTextObj;
 class KeyEvent;
+class SdrOutliner;
 
 
 class TextChainCursorManager
@@ -39,6 +40,9 @@ private:
 const SdrTextObj *mpTextObj;
 
 void impChangeEditingTextObj(SdrTextObj *pTargetTextObj, ESelection 
aNewSel) const;
+void impDetectEvent(const KeyEvent rKEvt,
+CursorChainingEvent *pOutCursorEvt,
+ESelection *pOutSel) const;
 };
 
 
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index 15e2228..c9428dc 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -1266,6 +1266,9 @@ bool 
SdrObjEditView::ImpHandleMotionThroughBoxesKeyInput(const KeyEvent rKEvt,
 else
 return false;
 
+if (!pTextObj-IsChainable())
+return false;
+
 TextChainCursorManager aCursorManager(this, pTextObj);
 if( aCursorManager.HandleKeyEvent(rKEvt) ) {
 // Possibly do other stuff here if necessary...
diff --git a/svx/source/svdraw/textchaincursor.cxx 
b/svx/source/svdraw/textchaincursor.cxx
index a0def07..7ca44f7 100644
--- a/svx/source/svdraw/textchaincursor.cxx
+++ b/svx/source/svdraw/textchaincursor.cxx
@@ -30,49 +30,73 @@ 
TextChainCursorManager::TextChainCursorManager(SdrObjEditView *pEditView, const
 mpEditView(pEditView),
 mpTextObj(pTextObj)
 {
+assert(mpEditView);
+assert(mpTextObj);
 
 }
 
 bool TextChainCursorManager::HandleKeyEvent( const KeyEvent rKEvt ) const
 {
-bool bHandled = false;
+ESelection aNewSel;
+CursorChainingEvent aCursorEvent;
+
+// check what the cursor/event situation looks like
+impDetectEvent(rKEvt, aCursorEvent, aNewSel);
+
+if (aCursorEvent == CursorChainingEvent::NULL_EVENT)
+return false;
+else {
+HandleCursorEvent(aCursorEvent, aNewSel);
+return true;
+}
+}
+
+void TextChainCursorManager::impDetectEvent(const KeyEvent rKEvt,
+CursorChainingEvent *pOutCursorEvt,
+ESelection *pOutSel) const
+{
+SdrOutliner *pOutl = mpEditView-GetTextEditOutliner();
+OutlinerView *pOLV = mpEditView-GetTextEditOutlinerView();
 
-// XXX: Find a clean way to do this (even cleaner than the code commented 
below)
-// if( pTextEditOutlinerView-IsKeyEventPushingOutOfPage(rKevt, pWin)
-//   pWin = HandleKeyPushingOutOfBox(rKevt);
 KeyFuncType eFunc = rKEvt.GetKeyCode().GetFunction();
-sal_uInt16 nCode = rKEvt.GetKeyCode().GetCode();
-ESelection aCurSel = mpEditView-GetTextEditOutlinerView()-GetSelection();
 
-if (mpTextObj  mpTextObj-IsChainable()  
mpTextObj-GetNextLinkInChain() 
-eFunc ==  KeyFuncType::DONTKNOW)
+// We need to have this KeyFuncType
+if (eFunc !=  KeyFuncType::DONTKNOW)
 {
-SdrOutliner *pOutl = mpEditView-GetTextEditOutliner();
-sal_Int32 nLastPara = pOutl-GetParagraphCount()-1;
-OUString aLastParaText = 
pOutl-GetText(pOutl-GetParagraph(nLastPara));
-sal_Int32 nLastParaLen = aLastParaText.getLength();
-
-if (nCode == KEY_RIGHT 
-aCurSel.nEndPara == nLastPara 
-aCurSel.nEndPos == nLastParaLen
-)
-{
-fprintf(stderr, [CHAIN - CURSOR] Trying to move to next box\n );
-
-// Move to next box
-mpEditView-SdrEndTextEdit();
-SdrTextObj *pNextLink = mpTextObj-GetNextLinkInChain();
-mpEditView-SdrBeginTextEdit(pNextLink);
-bHandled = true;
-}
+*pOutCursorEvt = CursorChainingEvent::NULL_EVENT;
+return;
+}
 
+sal_uInt16 nCode = rKEvt.GetKeyCode().GetCode();
+ESelection aCurSel = pOLV-GetSelection();
+
+sal_Int32 nLastPara = pOutl-GetParagraphCount()-1;
+OUString aLastParaText = pOutl-GetText(pOutl-GetParagraph(nLastPara));
+sal_Int32 nLastParaLen = aLastParaText.getLength();
+
+bool bAtEndOfTextContent =
+(aCurSel.nEndPara == nLastPara) 
+(aCurSel.nEndPos == nLastParaLen);
+
+if (nCode == KEY_RIGHT  bAtEndOfTextContent)
+{
+*pOutCursorEvt = CursorChainingEvent::TO_NEXT_LINK;
+// Selection unchanged: we are at the beginning of the box
 }
-return bHandled;
+
+// if (nCode == KEY_LEFT  

[Libreoffice-bugs] [Bug 90367] [UI] Navigating through drop down list items, if list is expanded, with Up/Down doesn't work

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=90367

Eike Rathke er...@redhat.com changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

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


[Libreoffice-bugs] [Bug 90367] [UI] Navigating through drop down list items, if list is expanded, with Up/Down doesn't work

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=90367

Eike Rathke er...@redhat.com changed:

   What|Removed |Added

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

--- Comment #10 from Eike Rathke er...@redhat.com ---
Fixed with bug 92689

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

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


[Libreoffice-bugs] [Bug 92886] Remove a broken(?) link

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92886

Adolfo Jayme f...@libreoffice.org changed:

   What|Removed |Added

 Whiteboard|Remove broken links |

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


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

2015-07-23 Thread Lionel Elie Mamane
 desktop/source/deployment/registry/package/dp_package.cxx |   10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

New commits:
commit ca2ed039d833ff3f9b988dc2e24758c3942f2b8f
Author: Lionel Elie Mamane lio...@mamane.lu
Date:   Thu Jul 23 13:52:55 2015 +0200

separate variables by scoping instead of reusing

Change-Id: I2cc889628f9ab25e382a9e891b99a795cd7d4c59

diff --git a/desktop/source/deployment/registry/package/dp_package.cxx 
b/desktop/source/deployment/registry/package/dp_package.cxx
index e28db99..ae19ed3 100644
--- a/desktop/source/deployment/registry/package/dp_package.cxx
+++ b/desktop/source/deployment/registry/package/dp_package.cxx
@@ -1473,9 +1473,11 @@ void BackendImpl::PackageImpl::scanBundle(
 if (! INetContentTypes::parse( mediaType, type, subType, params ))
 continue;
 
-auto iter = params.find(platform);
-if (iter != params.end()  !platform_fits(iter-second.m_sValue))
-continue;
+{
+auto const iter = params.find(platform);
+if (iter != params.end()  !platform_fits(iter-second.m_sValue))
+continue;
+}
 const OUString url( makeURL( packageRootURL, fullPath ) );
 
 // check for bundle description:
@@ -1483,7 +1485,7 @@ void BackendImpl::PackageImpl::scanBundle(
 subType.equalsIgnoreAsciiCase( 
vnd.sun.star.package-bundle-description))
 {
 // check locale:
-iter = params.find(locale);
+auto const iter = params.find(locale);
 if (iter == params.end())
 {
 if (descrFile.isEmpty())
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] online.git: Changes to 'private/hcvcastro/forking'

2015-07-23 Thread Mihai Varga
New branch 'private/hcvcastro/forking' available with the following commits:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2015-07-23 Thread Caolán McNamara
 comphelper/source/xml/xmltools.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b12c835d4de882a8156d28c95a3f931fadcdd3a7
Author: Caolán McNamara caol...@redhat.com
Date:   Thu Jul 23 12:14:39 2015 +0100

coverity#1312139 random byte is deliberate

Change-Id: Iff546476256c87813b01a7db2c8331f926b7e3bd

diff --git a/comphelper/source/xml/xmltools.cxx 
b/comphelper/source/xml/xmltools.cxx
index 5473873..b1fcc6a 100644
--- a/comphelper/source/xml/xmltools.cxx
+++ b/comphelper/source/xml/xmltools.cxx
@@ -80,8 +80,8 @@ namespace comphelper
 sal_Int8 n;
 rtl_random_getBytes(pool, n, 1);
 
-//1024 minus max -127/plus max 128
 sal_Int32 nLength = 1024+n;
+// coverity[tainted_data] - 1024 deliberate random minus max 
-127/plus max 128
 std::vectorsal_uInt8 aChaff(nLength);
 rtl_random_getBytes(pool, aChaff[0], nLength);
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: in master: failing tests / no matching locale

2015-07-23 Thread Lionel Elie Mamane
On Thu, Jul 23, 2015 at 12:57:53PM +0200, Eike Rathke wrote:
 On Wednesday, 2015-07-22 18:50:35 +0200, Lionel Elie Mamane wrote:

  @@ -1483,14 +1483,15 @@ void BackendImpl::PackageImpl::scanBundle(
   subType.equalsIgnoreAsciiCase(
   vnd.sun.star.package-bundle-description))
   {
   // check locale:
  -param = params.find(locale);
  -if (param == 0) {
  +auto const iterLocale = params.find(locale);
  +if (iterLocale == params.end())
  +{
   if (descrFile.isEmpty())
   descrFile = url;
   }
   else {
   // match best locale:
  -LanguageTag descrTag( param-m_sValue);
  +LanguageTag descrTag(iter-second.m_sValue);
 
 From a quick glance this looks as if instead it should be
 
LanguageTag
descrTag(iterLocale-second.m_sValue);

Something equivalent to this was done, fixes the tests and Michael
confirmed that this was not an intended change (in other words, the
old code was correct).

https://gerrit.libreoffice.org/17305

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


[Libreoffice-bugs] [Bug 92770] thisComponent is not valid during Open Document at startup in non-document macro

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92770

Lionel Elie Mamane lio...@mamane.lu changed:

   What|Removed |Added

   Hardware|Other   |All

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


[Libreoffice-bugs] [Bug 73218] START CENTER: no file extensions displayed - cannot distinguish between file types

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=73218

V Stuart Foote vstuart.fo...@utsa.edu changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||vstuart.fo...@utsa.edu
 Resolution|--- |WONTFIX

--- Comment #4 from V Stuart Foote vstuart.fo...@utsa.edu ---
 The only workaround is the tooltip which shows the complete filename
 including path and extension.

Which is what we agreed to, and implemented. Leave it be.

=-refs-=
https://wiki.documentfoundation.org/Design/Whiteboards/Start_Center#Controversial_Topics

http://nabble.documentfoundation.org/Start-Center-Niggles-tp4085277p4086387.html

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


[Libreoffice-ux-advise] [Bug 73218] START CENTER: no file extensions displayed - cannot distinguish between file types

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=73218

V Stuart Foote vstuart.fo...@utsa.edu changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||vstuart.fo...@utsa.edu
 Resolution|--- |WONTFIX

--- Comment #4 from V Stuart Foote vstuart.fo...@utsa.edu ---
 The only workaround is the tooltip which shows the complete filename
 including path and extension.

Which is what we agreed to, and implemented. Leave it be.

=-refs-=
https://wiki.documentfoundation.org/Design/Whiteboards/Start_Center#Controversial_Topics

http://nabble.documentfoundation.org/Start-Center-Niggles-tp4085277p4086387.html

-- 
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
http://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise


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

2015-07-23 Thread Varun
 sw/qa/extras/uiwriter/uiwriter.cxx |   84 +
 1 file changed, 84 insertions(+)

New commits:
commit bf5d569bb6af90195a339bb3b1a19d763d2210af
Author: Varun varun.dh...@studentpartner.com
Date:   Wed Jul 22 13:58:53 2015 +0530

Added test for tdf#57197 table row/column insert undo crash

Change-Id: I143d657239dd983396847eb67019e84a202f0bcb
Reviewed-on: https://gerrit.libreoffice.org/17284
Tested-by: Jenkins c...@libreoffice.org
Reviewed-by: Michael Stahl mst...@redhat.com

diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx 
b/sw/qa/extras/uiwriter/uiwriter.cxx
index 08158cc..16bd01f 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -118,6 +118,7 @@ public:
 void testUnoParagraph();
 void testSearchWithTransliterate();
 void testTdf80663();
+void testTdf57197();
 void testTdf90808();
 void testTdf75137();
 void testTdf83798();
@@ -177,6 +178,7 @@ public:
 CPPUNIT_TEST(testUnoParagraph);
 CPPUNIT_TEST(testSearchWithTransliterate);
 CPPUNIT_TEST(testTdf80663);
+CPPUNIT_TEST(testTdf57197);
 CPPUNIT_TEST(testTdf90808);
 CPPUNIT_TEST(testTdf75137);
 CPPUNIT_TEST(testTdf83798);
@@ -1520,6 +1522,88 @@ void SwUiWriterTest::testTdf80663()
 CPPUNIT_ASSERT_EQUAL(sal_Int32(2), xTable-getColumns()-getCount());
 }
 
+void SwUiWriterTest::testTdf57197()
+{
+SwDoc* pDoc = createDoc();
+SwWrtShell* pWrtShell = pDoc-GetDocShell()-GetWrtShell();
+//Inserting 1x1 Table
+sw::UndoManager rUndoManager = pDoc-GetUndoManager();
+SwInsertTableOptions TableOpt(tabopts::DEFAULT_BORDER, 0);
+pWrtShell-InsertTable(TableOpt, 1, 1);
+//Checking for the number of rows and columns
+uno::Referencetext::XTextTable xTable(getParagraphOrTable(1), 
uno::UNO_QUERY);
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getRows()-getCount());
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getColumns()-getCount());
+//Inserting one row before the existing row
+pWrtShell-SttDoc(); //moves the cursor to the start of Doc
+pWrtShell-InsertRow(1, false);
+CPPUNIT_ASSERT_EQUAL(sal_Int32(2), xTable-getRows()-getCount());
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getColumns()-getCount());
+//Undo changes
+rUndoManager.Undo();
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getRows()-getCount());
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getColumns()-getCount());
+//Redo changes
+rUndoManager.Redo();
+CPPUNIT_ASSERT_EQUAL(sal_Int32(2), xTable-getRows()-getCount());
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getColumns()-getCount());
+//Undo changes
+rUndoManager.Undo();
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getRows()-getCount());
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getColumns()-getCount());
+//Insering one row after the existing row
+pWrtShell-SttDoc(); //moves the cursor to the start of Doc
+pWrtShell-InsertRow(1, true);
+CPPUNIT_ASSERT_EQUAL(sal_Int32(2), xTable-getRows()-getCount());
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getColumns()-getCount());
+//Undo changes
+rUndoManager.Undo();
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getRows()-getCount());
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getColumns()-getCount());
+//Redo changes
+rUndoManager.Redo();
+CPPUNIT_ASSERT_EQUAL(sal_Int32(2), xTable-getRows()-getCount());
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getColumns()-getCount());
+//Undo changes
+rUndoManager.Undo();
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getRows()-getCount());
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getColumns()-getCount());
+//Inserting one column before the existing column
+pWrtShell-SttDoc(); //moves the cursor to the start of Doc
+pWrtShell-InsertCol(1, false);
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getRows()-getCount());
+CPPUNIT_ASSERT_EQUAL(sal_Int32(2), xTable-getColumns()-getCount());
+ //Undo changes
+rUndoManager.Undo();
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getRows()-getCount());
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getColumns()-getCount());
+//Redo changes
+rUndoManager.Redo();
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getRows()-getCount());
+CPPUNIT_ASSERT_EQUAL(sal_Int32(2), xTable-getColumns()-getCount());
+//Undo changes
+rUndoManager.Undo();
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getRows()-getCount());
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getColumns()-getCount());
+//Inserting one column after the existing column
+pWrtShell-SttDoc(); //moves the cursor to the start of Doc
+pWrtShell-InsertCol(1, true);
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getRows()-getCount());
+CPPUNIT_ASSERT_EQUAL(sal_Int32(2), xTable-getColumns()-getCount());
+//Undo changes
+rUndoManager.Undo();
+CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xTable-getRows()-getCount());
+

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

2015-07-23 Thread Eike Rathke
 offapi/com/sun/star/sheet/DatabaseRange.idl |7 ++
 sc/source/core/tool/compiler.cxx|   78 +---
 sc/source/filter/oox/tablebuffer.cxx|9 +++
 sc/source/ui/unoobj/datauno.cxx |9 +++
 4 files changed, 73 insertions(+), 30 deletions(-)

New commits:
commit d77947929c7f02cebe3d3e5d79c78642a8a439ba
Author: Eike Rathke er...@redhat.com
Date:   Thu Jul 23 14:29:20 2015 +0200

TableRef: generate error for header-less column references, tdf#91278 
related

... instead of using an arbitray first data record's string as column
name. We don't support header-less tables properly yet, so don't pretend
to.

Change-Id: Ia42619ec800291b6617a61c8a89a2d54ef231cec

diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 901261b..dc46edb 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -3517,35 +3517,38 @@ bool ScCompiler::IsTableRefColumn( const OUString 
rName ) const
 aRange.aEnd.SetTab( aRange.aStart.Tab());
 aRange.aEnd.SetRow( aRange.aStart.Row());
 
-// Quite similar to IsColRowName() but limited to one row of headers.
-ScCellIterator aIter( pDoc, aRange);
-for (bool bHas = aIter.first(); bHas; bHas = aIter.next())
+if (pDBData-HasHeader())
 {
-CellType eType = aIter.getType();
-bool bOk = false;
-if (eType == CELLTYPE_FORMULA)
+// Quite similar to IsColRowName() but limited to one row of headers.
+ScCellIterator aIter( pDoc, aRange);
+for (bool bHas = aIter.first(); bHas; bHas = aIter.next())
 {
-ScFormulaCell* pFC = aIter.getFormulaCell();
-bOk = (pFC-GetCode()-GetCodeLen()  0)  (pFC-aPos != aPos);
-}
-else
-bOk = true;
+CellType eType = aIter.getType();
+bool bOk = false;
+if (eType == CELLTYPE_FORMULA)
+{
+ScFormulaCell* pFC = aIter.getFormulaCell();
+bOk = (pFC-GetCode()-GetCodeLen()  0)  (pFC-aPos != 
aPos);
+}
+else
+bOk = true;
 
-if (bOk  aIter.hasString())
-{
-OUString aStr = aIter.getString();
-if (ScGlobal::GetpTransliteration()-isEqual( aStr, aName))
+if (bOk  aIter.hasString())
 {
-/* XXX NOTE: we could init the column as relative so copying a
- * formula across columns would point to the relative column,
- * but do it absolute because:
- * a) it makes the reference work in named expressions without
- * having to distinguish
- * b) Excel does it the same. */
-ScSingleRefData aRef;
-aRef.InitAddress( aIter.GetPos());
-maRawToken.SetSingleReference( aRef );
-return true;
+OUString aStr = aIter.getString();
+if (ScGlobal::GetpTransliteration()-isEqual( aStr, aName))
+{
+/* XXX NOTE: we could init the column as relative so 
copying a
+ * formula across columns would point to the relative 
column,
+ * but do it absolute because:
+ * a) it makes the reference work in named expressions 
without
+ * having to distinguish
+ * b) Excel does it the same. */
+ScSingleRefData aRef;
+aRef.InitAddress( aIter.GetPos());
+maRawToken.SetSingleReference( aRef );
+return true;
+}
 }
 }
 }
@@ -3557,11 +3560,26 @@ bool ScCompiler::IsTableRefColumn( const OUString 
rName ) const
 sal_Int32 nOffset = pDBData-GetColumnNameOffset( aName);
 if (nOffset = 0)
 {
-ScSingleRefData aRef;
-ScAddress aAdr( aRange.aStart);
-aAdr.IncCol( nOffset);
-aRef.InitAddress( aAdr);
-maRawToken.SetSingleReference( aRef );
+if (pDBData-HasHeader())
+{
+ScSingleRefData aRef;
+ScAddress aAdr( aRange.aStart);
+aAdr.IncCol( nOffset);
+aRef.InitAddress( aAdr);
+maRawToken.SetSingleReference( aRef );
+}
+else
+{
+/* TODO: this probably needs a new token type to hold offset and
+ * name, to be handled in HandleTableRef(). We can't use a
+ * reference token here because any reference would be wrong as
+ * there are no header cells to be referenced. However, it would
+ * only work as long as the ScDBData column names are not
+ * invalidated during document structure changes, otherwise
+ * recompiling the same formula could not resolve the name again.
+ * As long as this doesn't work generate an error. 

[Libreoffice-commits] online.git: Branch 'private/hcvcastro/forking' - loolwsd/ChildProcessSession.cpp loolwsd/ChildProcessSession.hpp loolwsd/LOOLBroker.cpp loolwsd/LOOLKit.cpp loolwsd/LOOLSession.cp

2015-07-23 Thread Henry Castro
 loolwsd/ChildProcessSession.cpp   |  560 +
 loolwsd/ChildProcessSession.hpp   |   57 ++
 loolwsd/LOOLBroker.cpp|  451 +
 loolwsd/LOOLKit.cpp   |  164 ++
 loolwsd/LOOLSession.cpp   |  975 --
 loolwsd/LOOLSession.hpp   |  102 ---
 loolwsd/LOOLWSD.cpp   |  613 +++
 loolwsd/LOOLWSD.hpp   |9 
 loolwsd/Makefile.am   |   21 
 loolwsd/MasterProcessSession.cpp  |  571 ++
 loolwsd/MasterProcessSession.hpp  |   73 ++
 loolwsd/loolwsd-systemplate-setup |   42 +
 12 files changed, 2030 insertions(+), 1608 deletions(-)

New commits:
commit b9a04ecac1f618e770cab227db2996ad5e1135a6
Author: Henry Castro hcas...@collabora.com
Date:   Thu Jul 23 09:23:24 2015 -0400

loolwsd: Initial setup

Separate classes, MasterProcessSession, ChildProcessSession
config loolwsd-systemplate-setup, adjust code, create
process LOOBroker and LOOLKit

diff --git a/loolwsd/ChildProcessSession.cpp b/loolwsd/ChildProcessSession.cpp
new file mode 100644
index 000..49e6a43
--- /dev/null
+++ b/loolwsd/ChildProcessSession.cpp
@@ -0,0 +1,560 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; 
fill-column: 100 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include sys/stat.h
+#include sys/types.h
+
+#include ftw.h
+#include utime.h
+
+#include cassert
+#include condition_variable
+#include cstring
+#include fstream
+#include iostream
+#include iterator
+#include map
+#include memory
+#include mutex
+#include set
+
+/*#define LOK_USE_UNSTABLE_API
+#include LibreOfficeKit/LibreOfficeKit.h
+#include LibreOfficeKit/LibreOfficeKitEnums.h*/
+
+#include Poco/Net/WebSocket.h
+#include Poco/StringTokenizer.h
+#include Poco/Util/Application.h
+#include Poco/URI.h
+#include Poco/Path.h
+
+#include ChildProcessSession.hpp
+#include Util.hpp
+#include LOOLProtocol.hpp
+#include LOKitHelper.hpp
+
+using namespace LOOLProtocol;
+using Poco::Net::WebSocket;
+using Poco::StringTokenizer;
+using Poco::Util::Application;
+using Poco::URI;
+using Poco::Path;
+
+/*
+
+#include Poco/Exception.h
+#include Poco/File.h
+#include Poco/Net/HTTPStreamFactory.h
+#include Poco/Process.h
+#include Poco/Random.h
+#include Poco/StreamCopier.h
+#include Poco/String.h
+#include Poco/ThreadLocal.h
+#include Poco/URIStreamOpener.h
+#include Poco/Exception.h
+#include Poco/Net/NetException.h
+#include Poco/Net/DialogSocket.h
+#include Poco/Net/SocketAddress.h
+
+#include LOOLSession.hpp
+#include LOOLWSD.hpp
+#include TileCache.hpp
+
+
+using Poco::File;
+using Poco::IOException;
+using Poco::Net::HTTPStreamFactory;
+using Poco::Process;
+using Poco::ProcessHandle;
+using Poco::Random;
+using Poco::StreamCopier;
+using Poco::Thread;
+using Poco::ThreadLocal;
+using Poco::UInt64;
+using Poco::URIStreamOpener;
+using Poco::Util::Application;
+using Poco::Exception;
+using Poco::Net::DialogSocket;
+using Poco::Net::SocketAddress;
+using Poco::Net::WebSocketException;*/
+
+
+ChildProcessSession::ChildProcessSession(std::shared_ptrWebSocket ws, 
LibreOfficeKit *loKit) :
+LOOLSession(ws, Kind::ToMaster),
+_loKitDocument(NULL),
+_loKit(loKit),
+_clientPart(0)
+{
+std::cout  Util::logPrefix()  ChildProcessSession ctor this=  this 
  ws=  _ws.get()  std::endl;
+}
+
+ChildProcessSession::~ChildProcessSession()
+{
+std::cout  Util::logPrefix()  ChildProcessSession dtor this=  this 
 std::endl;
+if (LIBREOFFICEKIT_HAS(_loKit, registerCallback))
+_loKit-pClass-registerCallback(_loKit, 0, 0);
+Util::shutdownWebSocket(*_ws);
+}
+
+bool ChildProcessSession::handleInput(const char *buffer, int length)
+{
+std::string firstLine = getFirstLine(buffer, length);
+StringTokenizer tokens(firstLine,  , StringTokenizer::TOK_IGNORE_EMPTY | 
StringTokenizer::TOK_TRIM);
+
+Application::instance().logger().information(Util::logPrefix() + 
_kindString + ,Input, + getAbbreviatedMessage(buffer, length));
+
+if (tokens[0] == load)
+{
+if (_docURL != )
+{
+sendTextFrame(error: cmd=load kind=docalreadyloaded);
+return false;
+}
+return loadDocument(buffer, length, tokens);
+}
+else if (_docURL == )
+{
+sendTextFrame(error: cmd= + tokens[0] +  kind=nodocloaded);
+return false;
+}
+else if (tokens[0] == setclientpart)
+{
+return setClientPart(buffer, length, tokens);
+}
+else if (tokens[0] == status)
+{
+return getStatus(buffer, length);
+}
+else if (tokens[0] == tile)
+{
+sendTile(buffer, length, tokens);
+}
+else
+{
+// All other 

[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - icon-themes/galaxy instsetoo_native/inc_common setup_native/source

2015-07-23 Thread Christian Lohmaier
 icon-themes/galaxy/brand/flat_logo.svg  |10880 
+-
 icon-themes/galaxy/brand/intro.png  |binary
 icon-themes/galaxy/brand/shell/about.svg| 9324 

 icon-themes/galaxy/brand_dev/intro.png  |binary
 instsetoo_native/inc_common/windows/msi_templates/Binary/Banner.bmp |binary
 instsetoo_native/inc_common/windows/msi_templates/Binary/Image.bmp  |binary
 setup_native/source/packinfo/osxdndinstall.png  |binary
 7 files changed, 19896 insertions(+), 308 deletions(-)

New commits:
commit f85e60f8e34d572a99783ce1a64b6f51b3d82c37
Author: Christian Lohmaier lohmaier+libreoff...@googlemail.com
Date:   Fri Jul 24 04:39:20 2015 +0200

update branding for 5.0

about-dialog  windows installer imgs
use non TDF-tagline and add Development build variant for splashscreen
DS_Store for Mac dnd installer not adjusted yet

Change-Id: I4ff449d9564214a80f88c752e54064b599e9948b
(cherry picked from commit 8cfdd81b70ef37927b40497ffd10034f28335034)

diff --git a/icon-themes/galaxy/brand/flat_logo.svg 
b/icon-themes/galaxy/brand/flat_logo.svg
index b16b755..2dfb854 100644
--- a/icon-themes/galaxy/brand/flat_logo.svg
+++ b/icon-themes/galaxy/brand/flat_logo.svg
@@ -1,129 +1,10751 @@
-?xml version=1.0 encoding=UTF-8 standalone=no?
-!-- Created with Inkscape (http://www.inkscape.org/) --
-
-svg
-   xmlns:dc=http://purl.org/dc/elements/1.1/;
-   xmlns:cc=http://creativecommons.org/ns#;
-   xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#;
-   xmlns:svg=http://www.w3.org/2000/svg;
-   xmlns=http://www.w3.org/2000/svg;
-   xmlns:sodipodi=http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd;
-   xmlns:inkscape=http://www.inkscape.org/namespaces/inkscape;
-   version=1.1
-   width=486
-   height=80
-   id=svg1205
-   inkscape:version=0.48.4 r9939
-   sodipodi:docname=flat_logo.svg
-  sodipodi:namedview
- pagecolor=#ff
- bordercolor=#66
- borderopacity=1
- objecttolerance=10
- gridtolerance=10
- guidetolerance=10
- inkscape:pageopacity=0
- inkscape:pageshadow=2
- inkscape:window-width=993
- inkscape:window-height=709
- id=namedview3134
- showgrid=false
- inkscape:zoom=1.5843621
- inkscape:cx=267.37384
- inkscape:cy=-38.823705
- inkscape:window-x=0
- inkscape:window-y=27
- inkscape:window-maximized=0
- inkscape:current-layer=svg1205 /
-  metadata
- id=metadata1210
-rdf:RDF
-  cc:Work
- rdf:about=
-dc:formatimage/svg+xml/dc:format
-dc:type
-   rdf:resource=http://purl.org/dc/dcmitype/StillImage; /
-dc:title /
-  /cc:Work
-/rdf:RDF
-  /metadata
-  text
- sodipodi:linespacing=125%
- 
style=font-size:36.67295456px;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#71a752;fill-opacity:1;stroke:none
- xml:space=preserve
- id=text2985-8
- y=230.38472
- x=-263.45587
- transform=scale(1.0001716,0.99982847)tspan
-   style=fill:#71a752;fill-opacity:1
-   id=tspan2987-8
-   y=230.38472
-   x=-263.45587 //text
-  path
- inkscape:connector-curvature=0
- style=fill:#71a752;fill-opacity:1;stroke:none
- id=rect3983-6
- d=m 485.9,0 0,80 L -6e-6,80 l 0,-80 z /
-  g
- transform=matrix(0.62747746,0,0,0.62747746,-228.72288,-1457.0571)
- id=g4122
- style=fill:#ff;fill-opacity:1;display:inline
-path
-   d=m 643.40618,2379.7827 0,45.9017 29.59884,0 0,-6.9733 -20.56412,0 
0,-38.9284 -9.03472,0
-   id=path3047
-   style=fill:#ff;fill-opacity:1;stroke:none /
-path
-   d=m 678.46533,2425.6844 9.03473,0 0,-33.0384 -9.03473,0 0,33.0384 m 
4.51736,-35.8819 c 2.83178,0 5.1916,-2.3019 5.1916,-5.2131 0,-2.8434 
-2.35982,-5.2129 -5.1916,-5.2129 -2.89921,0 -5.1916,2.3695 -5.1916,5.2129 
0,2.9112 2.29239,5.2131 5.1916,5.2131
-   id=path3049
-   style=fill:#ff;fill-opacity:1;stroke:none /
-path
-   d=m 703.23342,2396.505 -0.13485,0 0,-19.5658 -9.03472,0 0,48.7452 
8.83246,0 0.20226,-3.8591 0.13485,0 c 2.83178,3.1821 5.66357,4.5361 
10.31577,4.5361 8.76503,0 14.56345,-7.9211 14.56345,-17.8056 0,-9.5459 
-5.19161,-16.5869 -14.1589,-16.5869 -4.78706,0 -7.61885,1.4218 -10.72032,4.5361 
m -0.13485,11.9155 c 0,-5.6869 2.5621,-9.4782 7.41657,-9.4782 5.39387,0 
8.09081,3.8589 8.09081,10.1552 0,6.2285 -2.62952,10.2906 -7.95596,10.2906 
-4.6522,0 -7.55142,-3.6559 -7.55142,-9.4782 l 0,-1.4894
-   id=path3051
-   style=fill:#ff;fill-opacity:1;stroke:none /
-path
-   d=m 752.35511,2391.9689 c -4.3151,0.2709 -8.42793,2.9112 
-10.31578,6.5671 l -0.13484,0 -0.20227,-5.89 -8.83246,0 0,33.0384 9.03473,0 
0,-12.4571 c 0,-6.6348 1.21362,-9.0044 3.30374,-10.4937 1.82043,-1.2864 
3.97798,-1.828 6.94461,-1.9635 l 0.20227,-8.8012
-   id=path3053
-   style=fill:#ff;fill-opacity:1;stroke:none /
-path
-   d=m 

[Libreoffice-bugs] [Bug 92906] VIEWING: badly rendered Elements Dock after hide and show

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92906

Terrence Enger lo_b...@iseries-guru.com changed:

   What|Removed |Added

 Whiteboard||bibisected

--- Comment #1 from Terrence Enger lo_b...@iseries-guru.com ---
Each version skipped initally displayed the Elements Dock empty with a grey
background.  To bring back the symbols either ...
(1.1) View  Elements Dock
(1.2) View  Elements Dock.  It is zero-width.
(1.3) Drag it wider.
or
(2.1) Close Formula Editor
(2.2) In Start Center, click Math Formula


Working in the 50max bibisect repository, I see from `git bisect good` ...

There are only 'skip'ped commits left to test.
The first bad commit could be any of:
5085c1b3aedd2e85b7146e38bb68d3091c337e1b
3bfa94b1e7dab5408b80d32fd39897e72bbd265e
d3126546b6b53bc9672f016cd5b2952f065ba1ce
8e5c8145098f5d2c09bd031245b47af3448e599d
b33570cf1baa3946363d34c59eee601eea4f1a94
56c685408e1fe15f32ef7dfa22ab4aa099e1ae53
We cannot bisect more!

and from `git bisect log` ...

# bad: [dda106fd616b7c0b8dc2370f6f1184501b01a49e]
source-hash-0db96caf0fcce09b87621c11b584a6d81cc7df86
# good: [5b9dd620df316345477f0b6e6c9ed8ada7b6c091]
source-hash-2851ce5afd0f37764cbbc2c2a9a63c7adc844311
git bisect start 'latest' 'oldest'
# bad: [0c30a2c797b249d0cd804cb71554946e2276b557]
source-hash-45aaec8206182c16025cbcb20651ddbdf558b95d
git bisect bad 0c30a2c797b249d0cd804cb71554946e2276b557
# bad: [770ff0d1a74d2450c2decb349b62c5087e12c46b]
source-hash-549b7fad48bb9ddcba7dfa92daea6ce917853a03
git bisect bad 770ff0d1a74d2450c2decb349b62c5087e12c46b
# good: [227af65db5e34efcf8dcb0b5efecd30f37f8]
source-hash-193c7ba9be48f00b46f9e789f233db577e7b3303
git bisect good 227af65db5e34efcf8dcb0b5efecd30f37f8
# bad: [78b395d05689a5207f2ec4cc29ec296d64076a96]
source-hash-a2e4be6ded508030a6c2a33919cbe8cb504382e0
git bisect bad 78b395d05689a5207f2ec4cc29ec296d64076a96
# good: [007a3bdb250e90e24298d01fa5a0c46f619b5990]
source-hash-7948b273a9725c546e0dc32bece296dc872bdc04
git bisect good 007a3bdb250e90e24298d01fa5a0c46f619b5990
# good: [abab7bfa22adeecc8237aba0ebd741366d5d3fcf]
source-hash-13de511e7c3c7423dbac7e8751c95cac17194b69
git bisect good abab7bfa22adeecc8237aba0ebd741366d5d3fcf
# good: [5115d351dd96d8f9f17a94741921cbd4b7f043a2]
source-hash-e9dd158a866e60ffa5e3724f4aafdfca793da80a
git bisect good 5115d351dd96d8f9f17a94741921cbd4b7f043a2
# bad: [16b0039fd2e28527217367400b0ec75c95bc48c8]
source-hash-4923624069d932b33f13017b4e288ad44eef8dbf
git bisect bad 16b0039fd2e28527217367400b0ec75c95bc48c8
# good: [38926883f00d5886e82a624559d23935cccb41a9]
source-hash-3b0a1d7bd0502331e7e7892c9a571d8ddbd8ebe3
git bisect good 38926883f00d5886e82a624559d23935cccb41a9
# good: [8882c7dccb69e6877b090fe666878ef9b02d40fd]
source-hash-acfd640fd8547d3275c5db714b88d52b3fe7c4d5
git bisect good 8882c7dccb69e6877b090fe666878ef9b02d40fd
# skip: [5085c1b3aedd2e85b7146e38bb68d3091c337e1b]
source-hash-545ac4de25029ef114be48becbdb3329b0767e10
git bisect skip 5085c1b3aedd2e85b7146e38bb68d3091c337e1b
# skip: [b33570cf1baa3946363d34c59eee601eea4f1a94]
source-hash-48c15285c52f6554f1aadab6068c076c2139ef89
git bisect skip b33570cf1baa3946363d34c59eee601eea4f1a94
# skip: [3bfa94b1e7dab5408b80d32fd39897e72bbd265e]
source-hash-3582b314d45d3c5c650343a4bbc6fe812573743f
git bisect skip 3bfa94b1e7dab5408b80d32fd39897e72bbd265e
# skip: [8e5c8145098f5d2c09bd031245b47af3448e599d]
source-hash-29ebb0ea9dd5371a4951ca55b88f7bebf85d04b9
git bisect skip 8e5c8145098f5d2c09bd031245b47af3448e599d
# skip: [d3126546b6b53bc9672f016cd5b2952f065ba1ce]
source-hash-63d650b464ea108c3f2078cd1ce6b851dfc37120
git bisect skip d3126546b6b53bc9672f016cd5b2952f065ba1ce
# bad: [56c685408e1fe15f32ef7dfa22ab4aa099e1ae53]
source-hash-2b34b48aacc10cbe256064f7606a114e232f3695
git bisect bad 56c685408e1fe15f32ef7dfa22ab4aa099e1ae53
# good: [6ff0a064b0a2000873913522b581c17c89bf301b]
source-hash-5f60775f0f292ef4ff9590d6cff73628d03354dd
git bisect good 6ff0a064b0a2000873913522b581c17c89bf301b
# only skipped commits left to test
# possible first bad commit: [56c685408e1fe15f32ef7dfa22ab4aa099e1ae53]
source-hash-2b34b48aacc10cbe256064f7606a114e232f3695
# possible first bad commit: [8e5c8145098f5d2c09bd031245b47af3448e599d]
source-hash-29ebb0ea9dd5371a4951ca55b88f7bebf85d04b9
# possible first bad commit: [3bfa94b1e7dab5408b80d32fd39897e72bbd265e]
source-hash-3582b314d45d3c5c650343a4bbc6fe812573743f
# possible first bad commit: [5085c1b3aedd2e85b7146e38bb68d3091c337e1b]
source-hash-545ac4de25029ef114be48becbdb3329b0767e10
# possible first bad commit: [d3126546b6b53bc9672f016cd5b2952f065ba1ce]
source-hash-63d650b464ea108c3f2078cd1ce6b851dfc37120
# possible 

[Libreoffice-bugs] [Bug 92906] New: VIEWING: badly rendered Elements Dock after hide and show

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92906

Bug ID: 92906
   Summary: VIEWING: badly rendered Elements Dock after hide
and show
   Product: LibreOffice
   Version: 5.1.0.0.alpha0+ Master
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Formula Editor
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: lo_b...@iseries-guru.com

Created attachment 117408
  -- https://bugs.documentfoundation.org/attachment.cgi?id=117408action=edit
collected screenshots

.odt with collected screenshots:
page 1: Windows daily build, 2015-07-23, initial Math window and
after “hide” and “show”
page 2: Windows daily build, 2015-07-23, initial Math window and
after “hide” and “show”.  I collected these while
following the STR below.
page 3: dbgutil bibisect repo version 2015-07-23 again, a
different appearance after “hide” and “show”.  I collected
this while I was working on something else, and I have no
idea how to reproduce it.

STR
---

(1) Run LibreOffice with command-line parameter --math.  Program
presents Math window Untitled 1 with Elements Dock showing
Unary/Binary Operators, as per attached screenshot.

(2) Hide Elemets Dock; see the position of the mouse cursor in the
screenshot from step (1), page 2 of the attached .odt.

(3) Show Elements Dock by clicking the the upper of the two small
controls at the left edge of the screen, tooltip=Show.  The Math
window has a truncated left pane, as per attached screenshot.

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


[Libreoffice-bugs] [Bug 60360] cross-reference to an illustration does not work if 'Illustration' is changed to 'Figure'

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=60360

Frederic Parrenin parrenin@gmail.com changed:

   What|Removed |Added

Version|unspecified |5.0.0.3 rc

--- Comment #6 from Frederic Parrenin parrenin@gmail.com ---
I confirm this problem is still present in version 5.0.0.3.

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


Fix for tdf#82744, last part: Gerrit+Jenkins verified, ready for a reviewer

2015-07-23 Thread Giuseppe Castagno

Hi all,

tdf#82744 [1], after part 1 was merged I rebased the last part (part 3 
actually) not realizing that this way the connection with the other part 
was going to be severed.


The last part to me merged then lurks here:

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

ready per a reviewer.

--
Kind Regards,
Giuseppe Castagno aka beppec56
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu
[1] https://bugs.documentfoundation.org/show_bug.cgi?id=82744
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 92902] New: Enhancement Request: Auto-Layout for flowcharts and automatic flowcharts from Calc / Excel

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92902

Bug ID: 92902
   Summary: Enhancement Request: Auto-Layout for flowcharts and
automatic flowcharts from Calc / Excel
   Product: LibreOffice
   Version: unspecified
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: Draw
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: mrmister...@gmail.com

Hi, there are two features that are absolutely necessary for Draw.

1) Auto-Layout
When you create a flowchart and you organize the boxes, it would be amazing,
you have to possibility to change the whole organization to a completely new
perspective. That is auto-layout.
There is a free program called yED that do this exactly.

See how this work in action here:
https://youtu.be/WA5v3vcdzko?t=22m46s

2) Importing from Calc / Excel to create automatically flowcharts
This feature is very easy to achive and incredibly great.
Imagine you have in a spreadsheet two colums

Source Target
John   Sales
Mike   R+D
Peter  Sales
Dana   Accounting
RichardSales

In the source colum you to something that connect with the target, and so on.
Then you fill all the rows, save your spreadsheet and when you import it from
Draw, it create automatically the flowchart.
There is a video in Spanish that illustrate perfectly the example.
To see how this works, please watch this video:

https://youtu.be/WA5v3vcdzko?t=10m32s

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


[Libreoffice-bugs] [Bug 92903] Base: text displayed offset in table edit UI listbox dropdown

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92903

Doug dougt901-2...@yahoo.com changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=91
   ||808,
   ||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=92
   ||558

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


[Libreoffice-bugs] [Bug 91808] UI glitches in various dialogs (checkboxes and radiobuttons) (KDE-specific)

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91808

Doug dougt901-2...@yahoo.com changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=92
   ||903

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


[Libreoffice-bugs] [Bug 92904] Insert character dialog grid doesn't update the list of symbols

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92904

Francisco franciscoadriansanc...@gmail.com changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=91
   ||748

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


[Libreoffice-bugs] [Bug 92904] New: Insert character dialog grid doesn't update the list of symbols

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92904

Bug ID: 92904
   Summary: Insert character dialog grid doesn't update the list
of symbols
   Product: LibreOffice
   Version: 5.0.0.3 rc
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: franciscoadriansanc...@gmail.com

First of all, this bug is probably related to, but not the same as bug 91748.

When inserting a special character, and the dialog appears, it correctly shows
the grid of all the characters available to insert for the default typeface.
But, if one changes the typeface (without exiting the dialog) into another one,
with a wider number of symbols available, the list of *available* symbols
remains the same.

Steps:
1) Create a new document. It could be any with any Liberation family typeface
as default. In the screenshot I'm attaching, is an ODS with Lib. Sans.
2) Press Insert special character button. The dialog appears, showing the
preview grid.
3) Change typeface. Select a font with a wider set of available symbols, i.e.,
Linux Libertine or Ubuntu.

Result:
The grid has correctly updated the preview of the symbols, but not the
available symbols (screenshot 2)

Expected:
The dialog should show all the available symbols after selecting a different
typeface.

Additional comments:
a) After selecting a new typeface, scrolling the preview grid is really laggy.

b) Some of the rendered symbols doesn't correspond with the selected typeface.

c) If one change the typeface (direct formatting) before pressing the Insert
special character button, all the symbols are available.

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


[Libreoffice-commits] online.git: Branch 'private/hcvcastro/forking' - loolwsd/loolwsd-systemplate-setup

2015-07-23 Thread Henry Castro
 loolwsd/loolwsd-systemplate-setup |   92 +++---
 1 file changed, 66 insertions(+), 26 deletions(-)

New commits:
commit 35e89f4b3eaaf5c3812dd4ac82cb21974a7faec3
Author: Henry Castro hcas...@collabora.com
Date:   Thu Jul 23 21:28:07 2015 -0400

loolwsd: systemplate Poco libraries setup.

diff --git a/loolwsd/loolwsd-systemplate-setup 
b/loolwsd/loolwsd-systemplate-setup
index 562bba8..942e39c 100755
--- a/loolwsd/loolwsd-systemplate-setup
+++ b/loolwsd/loolwsd-systemplate-setup
@@ -36,11 +36,7 @@ cd / || exit 1
 
find lib/libnss_* lib64/libnss_* -type l
find lib/*-linux-gnu/libnss* -type l
-   find lib/*-linux-gnu/ld-* -type l
-  find lib/*-linux-gnu/libcap* -type l
-   find lib/*-linux-gnu/libattr* -type l
-#  find lib/*-linux-gnu/libtinfo* -type l
-   
+
# Go through the LO shared objects and check what system libraries
# they link to.
find $INSTDIR -name '*.so' -o -name '*.so.[0-9]*' |
@@ -48,14 +44,14 @@ cd / || exit 1
ldd $file 2/dev/null
done |
grep -v dynamic | cut -d   -f 3 | grep -E '^(/lib|/usr)' | sort -u | 
sed -e 's,^/,,'
-   
+
# Go through the loolkit
find $POCODIR -name '*Poco*.so' -o -name '*.so.[0-9]*' |
while read file; do
ldd $file 2/dev/null
done |
grep -v dynamic | cut -d   -f 3 | grep -E '^(/lib|/usr)' | sort -u | 
sed -e 's,^/,,'
-   
+
 else
find usr/lib/dyld  \
 usr/lib/*.dylib \
@@ -95,35 +91,76 @@ cd / || exit 1
 # This will now copy the file a symlink points to, but whatever.
 cpio -p -d -L $CHROOT
 
-cp -v -P --parent  $(find /usr/local/lib/libPoco*) $CHROOT
-
 mkdir -p $CHROOT/tmp
-mkdir -p $CHROOT/bin
-mkdir -p $CHROOT/usr/bin
+mkdir -p $CHROOT/usr/bin/
+dummy=$CHROOT/usr/bin/dummy
 
-cp /bin/bash $CHROOT/bin/bash
-cp /usr/bin/env $CHROOT/usr/bin/env
+# checking for library containing Poco::Application
+cat _ACEOF $dummy.cpp
+#include iostream
+#include Poco/Util/Application.h
 
-# make sure the link loader are copied
-mkdir -p $CHROOT/lib64
-mkdir -p $CHROOT/lib32
+using Poco::Util::Application;
 
-LOADER64=$(find /lib64/ld-* -type l)
-LOADER32=$(find /lib32/ld-* -type l)
-LOADER=$(find /lib/ld-* -type l)
+int main ()
+{
+  std::cout  Poco functionality OK!  std::endl;
+  return Application::EXIT_OK;
+}
+_ACEOF
 
-if [ -n $LOADER64 ]; then
-  cp -v $LOADER64 $CHROOT$LOADER64
-fi
+gcc_compile='gcc -o $dummy.o -c $dummy.cpp'
+(eval $gcc_compile) 2$dummy.err
 
-if [ -n $LOADER32 ]; then
-  cp -v $LOADER32 $CHROOT$LOADER32
+if ! test $? = 0; then
+  cat $dummy.err;
+  exit 1;
 fi
 
-if [ -n $LOADER ]; then
-  cp -v $LOADER $CHROOT$LOADER
+gcc_link='gcc -o $dummy -lcap -lpng -ldl  -lPocoNet -lPocoUtil -lPocoXML 
-lPocoJSON -lPocoFoundation $dummy.o'
+(eval $gcc_link) 2$dummy.err
+
+if ! test $? = 0; then
+  cat $dummy.err;
+  exit 1;
 fi
 
+lib_poco=$( echo $dummy |
+  while read file; do
+ldd $file 2/dev/null
+  done |
+  grep -v dynamic | cut -d   -f 3 | grep -E '^(/lib|/usr)')
+
+for lib in $lib_poco
+do
+  cp --parent -n $lib $CHROOT
+
+  libs=$( echo $lib |
+  while read file; do
+ldd $file 2/dev/null
+  done |
+  grep -v dynamic | cut -d   -f 3 | grep -E '^(/lib|/usr)')
+
+  for sofile in $libs
+  do
+cp --parent -n $sofile $CHROOT
+  done
+done
+
+loaders=$(find /lib/ld-* -type l) $(find /lib32/ld-* -type l) $(find 
/lib64/ld-* -type l)
+
+for loader in $loaders
+do
+  cp --parent -n $loader $CHROOT
+done
+
+loaders=$(find /lib/ld-* -type l) $(find /lib32/ld-* -type l) $(find 
/lib64/ld-* -type l)
+
+for loader in $loaders
+do
+  cp --parent -n $loader $CHROOT
+done
+
 # /usr/share/fonts needs to be taken care of separately because the
 # directory time stamps must be preserved are for fontconfig to trust
 # its cache.
@@ -139,3 +176,6 @@ if [ `uname -s` = Linux ]; then
cp -r -p /usr/share/ghostscript/fonts usr/share/ghostscript
 fi
 fi
+
+echo testing if Poco libraries were installed properly
+sudo chroot $CHROOT /usr/bin/dummy
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 92899] New: Cannot paste text into Find field

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92899

Bug ID: 92899
   Summary: Cannot paste text into Find field
   Product: LibreOffice
   Version: 4.4.4.3 release
  Hardware: All
OS: Mac OS X (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: brockmcnugg...@gallopinginsanity.com

Cannot paste text into Find field.

Steps to reproduce:
1) Select some text and copy (from Writer or elsewhere)
2) Use Edit  Find or Command F to get to Find field
3) Paste text: even with field selected, it pasts into document
4) Right-clicking does not even offer a menu

This is NOT the case with the Linux version. There you can paste text and the
contextual menu works.

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


[Libreoffice-bugs] [Bug 92558] BASE: bad paint/draw of checkbox in index dialog for table editing

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92558

Doug dougt901-2...@yahoo.com changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=92
   ||903

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


[Libreoffice-bugs] [Bug 92904] Insert character dialog grid doesn't update the list of symbols

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92904

--- Comment #3 from Francisco franciscoadriansanc...@gmail.com ---
Created attachment 117407
  -- https://bugs.documentfoundation.org/attachment.cgi?id=117407action=edit
Screenshot 3

If the typeface is changes before pressing the insert button, all the symbols
are shown.

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


[Libreoffice-bugs] [Bug 92853] changing text orientation in Calc can easily result in systems UI crash

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92853

tommy27 ba...@quipo.it changed:

   What|Removed |Added

 CC||ba...@quipo.it
Summary|Changeing Textorientation   |changing text orientation
   |in calc can easily result   |in Calc can easily result
   |in systems UI crash |in systems UI crash

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


[Libreoffice-bugs] [Bug 92900] New: Enhancement Request: Lorem Ipsum Generator for Writer.

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92900

Bug ID: 92900
   Summary: Enhancement Request: Lorem Ipsum Generator for Writer.
   Product: LibreOffice
   Version: unspecified
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: mrmister...@gmail.com

Hi

First thing what is Lorem Ipsum?

For sure you have seen this text in many published examples with programs like
QuarkXpress, Corel, Indesign.
Quoting Wikipedia: In publishing and graphic design, lorem ipsum (derived from
Latin dolorem ipsum, translated as pain itself) is a filler text commonly
used to demonstrate the graphic elements of a document or visual presentation.
Replacing meaningful content with placeholder text allows viewers to focus on
graphic aspects such as font, typography, and page layout without being
distracted by the content. It also reduces the need for the designer to come up
with meaningful text, as they can instead use quickly-generated lorem ipsum.

The lorem ipsum text is typically a scrambled section of De finibus bonorum et
malorum, a 1st-century BC Latin text by Cicero, with words altered, added, and
removed to make it nonsensical, improper Latin.

Why is useful Lorem Ipsum?
--
When you are creating a document, you need to focus in the design of the
document. Tables, graphics elements, pictures, boxes, etc. To make your design
have a coherence, you need to insert text automatically, so you can have a
finshed document, which act as a preview, giving you a final idea of how the
document would look like.
In those cases you need a tool to insert fast quantities of a demo text. That
demo text can be later on replaced by the final text of the user, but, for a
preview, you only need to use a tool that gives you the skill to insert
paragraphs and paragraphs of randoms texts, so you can have a clear idea on how
the final document would be formatted.
Of course, if you type this text, it would take a lt of time, but with a
Lorem Ipsum generator this task is accomplished in seconds.

To understand why Lorem Ipsum is important when designing documents, please,
watch this video:

https://www.youtube.com/watch?v=ZYVX0wviSgQ

It can be Lorem Ipsum or also other public domain text.

For example: Texts from Shakespeare, Cervantes, or whatever author could be in
public domain. However, the standard in press and printing is Lorem Ipsum.

There are web based Lorem Ipsum generators, as this one:
http://www.lipsum.com/

However, using a website it's annoying because you have to copy and paste text,
whilst programs like Indesign allows you to just enter a random text in
paragraphs, tables, blocks of texts, etc, so you have time.

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


[Libreoffice-bugs] [Bug 89566] SIDEBAR: Improving the navigator tab

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=89566

Rishabh kris.kr...@gmail.com changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |kris.kr...@gmail.com
   |desktop.org |

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


[Libreoffice-bugs] [Bug 92900] Enhancement Request: Lorem Ipsum Generator for Writer.

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92900

mrmister001 mrmister...@gmail.com changed:

   What|Removed |Added

   Severity|normal  |enhancement

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


[Libreoffice-bugs] [Bug 92902] Enhancement Request: Auto-Layout for flowcharts and automatic flowcharts from Calc / Excel

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92902

mrmister001 mrmister...@gmail.com changed:

   What|Removed |Added

   Priority|medium  |high

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


[Libreoffice-commits] core.git: Branch 'libreoffice-5-0-0' - icon-themes/galaxy instsetoo_native/inc_common setup_native/source

2015-07-23 Thread Christian Lohmaier
 icon-themes/galaxy/brand/flat_logo.svg  |10880 
+-
 icon-themes/galaxy/brand/intro.png  |binary
 icon-themes/galaxy/brand/shell/about.svg| 9324 

 icon-themes/galaxy/brand_dev/intro.png  |binary
 instsetoo_native/inc_common/windows/msi_templates/Binary/Banner.bmp |binary
 instsetoo_native/inc_common/windows/msi_templates/Binary/Image.bmp  |binary
 setup_native/source/packinfo/osxdndinstall.png  |binary
 7 files changed, 19896 insertions(+), 308 deletions(-)

New commits:
commit 387b67d6857bfe60eb2300a847205fdef2c1ab2b
Author: Christian Lohmaier lohmaier+libreoff...@googlemail.com
Date:   Fri Jul 24 04:39:20 2015 +0200

update branding for 5.0

about-dialog  windows installer imgs
use non TDF-tagline and add Development build variant for splashscreen
DS_Store for Mac dnd installer not adjusted yet

Change-Id: I4ff449d9564214a80f88c752e54064b599e9948b
(cherry picked from commit 8cfdd81b70ef37927b40497ffd10034f28335034)
(cherry picked from commit f85e60f8e34d572a99783ce1a64b6f51b3d82c37)

diff --git a/icon-themes/galaxy/brand/flat_logo.svg 
b/icon-themes/galaxy/brand/flat_logo.svg
index b16b755..2dfb854 100644
--- a/icon-themes/galaxy/brand/flat_logo.svg
+++ b/icon-themes/galaxy/brand/flat_logo.svg
@@ -1,129 +1,10751 @@
-?xml version=1.0 encoding=UTF-8 standalone=no?
-!-- Created with Inkscape (http://www.inkscape.org/) --
-
-svg
-   xmlns:dc=http://purl.org/dc/elements/1.1/;
-   xmlns:cc=http://creativecommons.org/ns#;
-   xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#;
-   xmlns:svg=http://www.w3.org/2000/svg;
-   xmlns=http://www.w3.org/2000/svg;
-   xmlns:sodipodi=http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd;
-   xmlns:inkscape=http://www.inkscape.org/namespaces/inkscape;
-   version=1.1
-   width=486
-   height=80
-   id=svg1205
-   inkscape:version=0.48.4 r9939
-   sodipodi:docname=flat_logo.svg
-  sodipodi:namedview
- pagecolor=#ff
- bordercolor=#66
- borderopacity=1
- objecttolerance=10
- gridtolerance=10
- guidetolerance=10
- inkscape:pageopacity=0
- inkscape:pageshadow=2
- inkscape:window-width=993
- inkscape:window-height=709
- id=namedview3134
- showgrid=false
- inkscape:zoom=1.5843621
- inkscape:cx=267.37384
- inkscape:cy=-38.823705
- inkscape:window-x=0
- inkscape:window-y=27
- inkscape:window-maximized=0
- inkscape:current-layer=svg1205 /
-  metadata
- id=metadata1210
-rdf:RDF
-  cc:Work
- rdf:about=
-dc:formatimage/svg+xml/dc:format
-dc:type
-   rdf:resource=http://purl.org/dc/dcmitype/StillImage; /
-dc:title /
-  /cc:Work
-/rdf:RDF
-  /metadata
-  text
- sodipodi:linespacing=125%
- 
style=font-size:36.67295456px;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#71a752;fill-opacity:1;stroke:none
- xml:space=preserve
- id=text2985-8
- y=230.38472
- x=-263.45587
- transform=scale(1.0001716,0.99982847)tspan
-   style=fill:#71a752;fill-opacity:1
-   id=tspan2987-8
-   y=230.38472
-   x=-263.45587 //text
-  path
- inkscape:connector-curvature=0
- style=fill:#71a752;fill-opacity:1;stroke:none
- id=rect3983-6
- d=m 485.9,0 0,80 L -6e-6,80 l 0,-80 z /
-  g
- transform=matrix(0.62747746,0,0,0.62747746,-228.72288,-1457.0571)
- id=g4122
- style=fill:#ff;fill-opacity:1;display:inline
-path
-   d=m 643.40618,2379.7827 0,45.9017 29.59884,0 0,-6.9733 -20.56412,0 
0,-38.9284 -9.03472,0
-   id=path3047
-   style=fill:#ff;fill-opacity:1;stroke:none /
-path
-   d=m 678.46533,2425.6844 9.03473,0 0,-33.0384 -9.03473,0 0,33.0384 m 
4.51736,-35.8819 c 2.83178,0 5.1916,-2.3019 5.1916,-5.2131 0,-2.8434 
-2.35982,-5.2129 -5.1916,-5.2129 -2.89921,0 -5.1916,2.3695 -5.1916,5.2129 
0,2.9112 2.29239,5.2131 5.1916,5.2131
-   id=path3049
-   style=fill:#ff;fill-opacity:1;stroke:none /
-path
-   d=m 703.23342,2396.505 -0.13485,0 0,-19.5658 -9.03472,0 0,48.7452 
8.83246,0 0.20226,-3.8591 0.13485,0 c 2.83178,3.1821 5.66357,4.5361 
10.31577,4.5361 8.76503,0 14.56345,-7.9211 14.56345,-17.8056 0,-9.5459 
-5.19161,-16.5869 -14.1589,-16.5869 -4.78706,0 -7.61885,1.4218 -10.72032,4.5361 
m -0.13485,11.9155 c 0,-5.6869 2.5621,-9.4782 7.41657,-9.4782 5.39387,0 
8.09081,3.8589 8.09081,10.1552 0,6.2285 -2.62952,10.2906 -7.95596,10.2906 
-4.6522,0 -7.55142,-3.6559 -7.55142,-9.4782 l 0,-1.4894
-   id=path3051
-   style=fill:#ff;fill-opacity:1;stroke:none /
-path
-   d=m 752.35511,2391.9689 c -4.3151,0.2709 -8.42793,2.9112 
-10.31578,6.5671 l -0.13484,0 -0.20227,-5.89 -8.83246,0 0,33.0384 9.03473,0 
0,-12.4571 c 0,-6.6348 1.21362,-9.0044 3.30374,-10.4937 1.82043,-1.2864 
3.97798,-1.828 6.94461,-1.9635 l 0.20227,-8.8012
-   id=path3053
-   

[Libreoffice-bugs] [Bug 92901] New: PDF export convert Justified formatting to Align Left on OS X

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92901

Bug ID: 92901
   Summary: PDF export convert Justified formatting to Align Left
on OS X
   Product: LibreOffice
   Version: 4.4.4.3 release
  Hardware: x86-64 (AMD64)
OS: Mac OS X (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Impress
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: wu.mi...@icloud.com

#88941 is back on OS X 10.10.4, LO 4.4.4.3 Impress

When exporting presentation to PDF Justified formatting is converted to Align
Left.  Invariant of font used.

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


[Libreoffice-qa] Start Center

2015-07-23 Thread Terrence Enger
Hi, All,

A couple of questions about the Start Centre, if I may ...

(1) Starting with the dbgutil bibisect repo version
2015-07-10, the shortcut keys in the left pane are no
longer underscored, and it is necessary to qualify the
shortcut keys with Alt+.  Is this change intentional?
Windows (daily build, 2015-07-23) does not have this
change.

(2) The keys up-arrow and down-arrow move the selection,
indicated by a fine outline, through the options in the
top part of the left pane.  This seems to have been the
case since the introduction of the left pane, in Start
Center, but I somehow expected to be able to select the
Create options this way.  Am I wrong to be surprised?

Thanks,
Terry.


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

[Libreoffice-bugs] [Bug 92903] New: Base: text displayed offset in table edit UI listbox dropdown

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92903

Bug ID: 92903
   Summary: Base: text displayed offset in table edit UI listbox
dropdown
   Product: LibreOffice
   Version: 5.0.0.3 rc
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: minor
  Priority: medium
 Component: Base
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: dougt901-2...@yahoo.com

Created attachment 117404
  -- https://bugs.documentfoundation.org/attachment.cgi?id=117404action=edit
screenshot of rendering problem:  see second column, first character

In Base 5.0.0.3 KDE OpenSuse 13.2:

1.  Create table in edit mode.
2.  Create column
3.  Iterate to data type, click field to change

UNEXPECTED RESULT:  text from listbox is printed offset one character to the
right of the static display of the same listbox entry.  Thus, of the data type
Yes/No, the Y remains visible and then the new datatype is printed over the
rest with both visible, like YReal.  See screenshot.  This continues until
the datatype is finally selected in which case it resumes the normal
appearance.

EXPECTED:  new selection should completely replace old selection and old
selection should not be visible.

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


[Libreoffice-bugs] [Bug 92904] Insert character dialog grid doesn't update the list of symbols

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92904

--- Comment #1 from Francisco franciscoadriansanc...@gmail.com ---
Created attachment 117405
  -- https://bugs.documentfoundation.org/attachment.cgi?id=117405action=edit
Screenshot 1

Insert character with Liberation Sans as the preselected typeface

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


[Libreoffice-bugs] [Bug 92904] Insert character dialog grid doesn't update the list of symbols

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92904

--- Comment #2 from Francisco franciscoadriansanc...@gmail.com ---
Created attachment 117406
  -- https://bugs.documentfoundation.org/attachment.cgi?id=117406action=edit
Screenshot 2

After selecting a typeface with a wider set of characters (Ubuntu in this
case), not all of them are shown: only the previous available from the previous
type (Liberation Sans).

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


[Libreoffice-bugs] [Bug 92905] New: The Images toggle item in the View menu is inverted

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92905

Bug ID: 92905
   Summary: The Images toggle item in the View menu is inverted
   Product: LibreOffice
   Version: 4.4.4.3 release
  Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
  Severity: minor
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: nekoh...@gmail.com

In the View menu, you have Images.
By default, it is unchecked, and images are shown.
If you click it, it gets a checkmark and images are not shown anymore.

Seems like the state between the menu and the feature to turn off image
rendering is inverted.

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


Re: [Libreoffice-qa] Bug Triage: What takes the most time? What slows you down?

2015-07-23 Thread Terrence Enger
On Wed, 2015-07-01 at 09:28 -0400, Robinson Tryon wrote:
 I'm interested in hearing what takes the biggest chunk of your time
 during bug triage, so we can see if we can simplify and/or reduce the
 time/energy that we spend on each bug.

A good chunk of the time--and a disproportionately large part of the
frustration--is checking for potential duplicates.  The hard part, of
course, is imagining the words that an existing report might use to
describe the problem.  An implausibly short list from a bz query or a
tremendously long one are both useless.

If bibisecting shows that a bug is fairly new, a limitation by bug
creation date can usefully restrict the number of potential duplicates
returned.

Still, finding duplicates is the part of the process about which I
feel least competent.

(Needless to say, I am writing this weeks later because I am searching
for a potential duplicate.)

Terry.


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

[Libreoffice-commits] core.git: icon-themes/galaxy instsetoo_native/inc_common setup_native/source

2015-07-23 Thread Christian Lohmaier
 icon-themes/galaxy/brand/flat_logo.svg  |10880 
+-
 icon-themes/galaxy/brand/intro.png  |binary
 icon-themes/galaxy/brand/shell/about.svg| 9324 

 icon-themes/galaxy/brand_dev/intro.png  |binary
 instsetoo_native/inc_common/windows/msi_templates/Binary/Banner.bmp |binary
 instsetoo_native/inc_common/windows/msi_templates/Binary/Image.bmp  |binary
 setup_native/source/packinfo/osxdndinstall.png  |binary
 7 files changed, 19896 insertions(+), 308 deletions(-)

New commits:
commit 8cfdd81b70ef37927b40497ffd10034f28335034
Author: Christian Lohmaier lohmaier+libreoff...@googlemail.com
Date:   Fri Jul 24 04:39:20 2015 +0200

update branding for 5.0

about-dialog  windows installer imgs
use non TDF-tagline and add Development build variant for splashscreen
DS_Store for Mac dnd installer not adjusted yet

Change-Id: I4ff449d9564214a80f88c752e54064b599e9948b

diff --git a/icon-themes/galaxy/brand/flat_logo.svg 
b/icon-themes/galaxy/brand/flat_logo.svg
index b16b755..2dfb854 100644
--- a/icon-themes/galaxy/brand/flat_logo.svg
+++ b/icon-themes/galaxy/brand/flat_logo.svg
@@ -1,129 +1,10751 @@
-?xml version=1.0 encoding=UTF-8 standalone=no?
-!-- Created with Inkscape (http://www.inkscape.org/) --
-
-svg
-   xmlns:dc=http://purl.org/dc/elements/1.1/;
-   xmlns:cc=http://creativecommons.org/ns#;
-   xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#;
-   xmlns:svg=http://www.w3.org/2000/svg;
-   xmlns=http://www.w3.org/2000/svg;
-   xmlns:sodipodi=http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd;
-   xmlns:inkscape=http://www.inkscape.org/namespaces/inkscape;
-   version=1.1
-   width=486
-   height=80
-   id=svg1205
-   inkscape:version=0.48.4 r9939
-   sodipodi:docname=flat_logo.svg
-  sodipodi:namedview
- pagecolor=#ff
- bordercolor=#66
- borderopacity=1
- objecttolerance=10
- gridtolerance=10
- guidetolerance=10
- inkscape:pageopacity=0
- inkscape:pageshadow=2
- inkscape:window-width=993
- inkscape:window-height=709
- id=namedview3134
- showgrid=false
- inkscape:zoom=1.5843621
- inkscape:cx=267.37384
- inkscape:cy=-38.823705
- inkscape:window-x=0
- inkscape:window-y=27
- inkscape:window-maximized=0
- inkscape:current-layer=svg1205 /
-  metadata
- id=metadata1210
-rdf:RDF
-  cc:Work
- rdf:about=
-dc:formatimage/svg+xml/dc:format
-dc:type
-   rdf:resource=http://purl.org/dc/dcmitype/StillImage; /
-dc:title /
-  /cc:Work
-/rdf:RDF
-  /metadata
-  text
- sodipodi:linespacing=125%
- 
style=font-size:36.67295456px;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#71a752;fill-opacity:1;stroke:none
- xml:space=preserve
- id=text2985-8
- y=230.38472
- x=-263.45587
- transform=scale(1.0001716,0.99982847)tspan
-   style=fill:#71a752;fill-opacity:1
-   id=tspan2987-8
-   y=230.38472
-   x=-263.45587 //text
-  path
- inkscape:connector-curvature=0
- style=fill:#71a752;fill-opacity:1;stroke:none
- id=rect3983-6
- d=m 485.9,0 0,80 L -6e-6,80 l 0,-80 z /
-  g
- transform=matrix(0.62747746,0,0,0.62747746,-228.72288,-1457.0571)
- id=g4122
- style=fill:#ff;fill-opacity:1;display:inline
-path
-   d=m 643.40618,2379.7827 0,45.9017 29.59884,0 0,-6.9733 -20.56412,0 
0,-38.9284 -9.03472,0
-   id=path3047
-   style=fill:#ff;fill-opacity:1;stroke:none /
-path
-   d=m 678.46533,2425.6844 9.03473,0 0,-33.0384 -9.03473,0 0,33.0384 m 
4.51736,-35.8819 c 2.83178,0 5.1916,-2.3019 5.1916,-5.2131 0,-2.8434 
-2.35982,-5.2129 -5.1916,-5.2129 -2.89921,0 -5.1916,2.3695 -5.1916,5.2129 
0,2.9112 2.29239,5.2131 5.1916,5.2131
-   id=path3049
-   style=fill:#ff;fill-opacity:1;stroke:none /
-path
-   d=m 703.23342,2396.505 -0.13485,0 0,-19.5658 -9.03472,0 0,48.7452 
8.83246,0 0.20226,-3.8591 0.13485,0 c 2.83178,3.1821 5.66357,4.5361 
10.31577,4.5361 8.76503,0 14.56345,-7.9211 14.56345,-17.8056 0,-9.5459 
-5.19161,-16.5869 -14.1589,-16.5869 -4.78706,0 -7.61885,1.4218 -10.72032,4.5361 
m -0.13485,11.9155 c 0,-5.6869 2.5621,-9.4782 7.41657,-9.4782 5.39387,0 
8.09081,3.8589 8.09081,10.1552 0,6.2285 -2.62952,10.2906 -7.95596,10.2906 
-4.6522,0 -7.55142,-3.6559 -7.55142,-9.4782 l 0,-1.4894
-   id=path3051
-   style=fill:#ff;fill-opacity:1;stroke:none /
-path
-   d=m 752.35511,2391.9689 c -4.3151,0.2709 -8.42793,2.9112 
-10.31578,6.5671 l -0.13484,0 -0.20227,-5.89 -8.83246,0 0,33.0384 9.03473,0 
0,-12.4571 c 0,-6.6348 1.21362,-9.0044 3.30374,-10.4937 1.82043,-1.2864 
3.97798,-1.828 6.94461,-1.9635 l 0.20227,-8.8012
-   id=path3053
-   style=fill:#ff;fill-opacity:1;stroke:none /
-path
-   d=m 785.59681,2407.2019 c 0,-8.192 -4.98934,-15.233 -13.61952,-15.233 

Re: Need help with temporary files

2015-07-23 Thread Matúš Kukan
On 22 July 2015 at 13:07, Caolán McNamara caol...@redhat.com wrote:
 On Wed, 2015-07-22 at 10:43 +0100, Caolán McNamara wrote:
 On Wed, 2015-07-22 at 10:28 +0100, Caolán McNamara wrote:
  On Tue, 2015-07-21 at 22:41 +0200, Matúš Kukan wrote:
   Hi there,
  
   I am working on a bug around saving big file in Writer:
   https://bugs.documentfoundation.org/show_bug.cgi?id=88314
  
 E_MFILE, too many open files, so the problem is a file handle leak.

 See https://gerrit.libreoffice.org/#/c/17289/ for a possible solution.
 That odt has  14k files in it and in parallel deflate mode each one
 gets a separate ZipOutputEntry which all exist at the same time until
 the threads are completed. Each ZipOutputEntry has an open temp file so
 it runs out of file handles.

Yay - thanks for explaining what's wrong and even fixing the bug.
I don't have much time to play with LibreOffice these days. :/

Your patch looks good, except we still open files in main thread,
so in theory, there can be still many files opened at the same time?
But it seems to help, commented in gerrit.

 So what works for me, though maybe it destroys the perf gains, is to
 close each entry's output stream after its processed and reopen it when
 we need its data.

I would not worry about the perf effect, at least I don't have better solution.
This is nice fix.

Thanks a lot.

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


[Libreoffice-qa] 25000 resolved bugs

2015-07-23 Thread Tommy

RESOLVED bugs over 25K
check latest stats here:  http://snipurl.com/2a3ne8c

the total FIXED count is almost 27000 if we include the CLOSED and  
VERIFIED bugs as well.


so looking forward to break the 3 milestones.

congrats to all developers and triagers that made this possible,

bye, tommy27

--
Using Opera's revolutionary email client: http://www.opera.com/mail/

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

[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - svx/source

2015-07-23 Thread Lionel Elie Mamane
 svx/source/fmcomp/gridcell.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bcca7b95d60fadfbaf93b542c110e177e838db8a
Author: Lionel Elie Mamane lio...@mamane.lu
Date:   Wed Jul 22 16:25:28 2015 +0200

tdf#92725 FormattedField: when model value is NULL, force empty display 
string

as opposed to implicitly keeping whatever unrelated string was there before.

Change-Id: Ifaf1b41e951e97f209ecb617b32ec4f7522b1d08
Reviewed-on: https://gerrit.libreoffice.org/17297
Tested-by: Jenkins c...@libreoffice.org
Reviewed-by: Michael Stahl mst...@redhat.com

diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx
index 4d4725e..54c868a 100644
--- a/svx/source/fmcomp/gridcell.cxx
+++ b/svx/source/fmcomp/gridcell.cxx
@@ -1578,7 +1578,7 @@ void DbFormattedField::updateFromModel( Reference 
XPropertySet  _rxModel )
 
 OUString sText;
 Any aValue = _rxModel-getPropertyValue( FM_PROP_EFFECTIVE_VALUE );
-if ( aValue = sText )
+if ( !aValue.hasValue() || (aValue = sText) )
 {   // our effective value is transferred as string
 pFormattedWindow-SetTextFormatted( sText );
 pFormattedWindow-SetSelection( Selection( SELECTION_MAX, 
SELECTION_MIN ) );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2015-07-23 Thread Lionel Elie Mamane
 vcl/source/control/field2.cxx |9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

New commits:
commit fd637152e66d2fe8a0fddf0a840cc65bdf5cf576
Author: Lionel Elie Mamane lio...@mamane.lu
Date:   Tue Jul 21 14:02:59 2015 +0200

avoid 1-past-the-end string access

Change-Id: Ia475ce737c430fab8d019e1b8a762f81897e0847
Reviewed-on: https://gerrit.libreoffice.org/17261
Reviewed-by: Eike Rathke er...@redhat.com
Tested-by: Michael Stahl mst...@redhat.com

diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx
index 326b946..dd4a569 100644
--- a/vcl/source/control/field2.cxx
+++ b/vcl/source/control/field2.cxx
@@ -432,15 +432,14 @@ static sal_Int32 ImplPatternRightPos( const OUString 
rStr, const OString rEdit
 {
 // search non-literal successor
 sal_Int32 nNewPos = nCursorPos;
-sal_Int32 nTempPos = nNewPos;
-while ( nTempPos  rEditMask.getLength() )
+;
+for(sal_Int32 nTempPos = nNewPos+1; nTempPos  rEditMask.getLength(); 
++nTempPos )
 {
-if ( rEditMask[nTempPos+1] != EDITMASK_LITERAL )
+if ( rEditMask[nTempPos] != EDITMASK_LITERAL )
 {
-nNewPos = nTempPos+1;
+nNewPos = nTempPos;
 break;
 }
-nTempPos++;
 }
 ImplPatternMaxPos( rStr, rEditMask, nFormatFlags, bSameMask, nCursorPos, 
nNewPos );
 return nNewPos;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 80175] FILEOPEN: error message opening particular .docx

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=80175

m.a.riosv miguelange...@libreoffice.org changed:

   What|Removed |Added

 CC||miguelangelrv@libreoffice.o
   ||rg

--- Comment #12 from m.a.riosv miguelange...@libreoffice.org ---
I think open fine for me:
33 pages, last non blank paragraph Zimnovitch, H. 1997b. Cahiers de 


Win7x64
Version: 4.4.5.1
Build ID: 1b6df295803ea040dab1b48b5424da8d78d94cf0

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


[Libreoffice-bugs] [Bug 92896] New: Dialog editor: deleting a language crashes LibO

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92896

Bug ID: 92896
   Summary: Dialog editor: deleting a language crashes LibO
   Product: LibreOffice
   Version: 5.1.0.0.alpha0+ Master
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: BASIC
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: gmi...@gmail.com

Created attachment 117399
  -- https://bugs.documentfoundation.org/attachment.cgi?id=117399action=edit
crash log

Steps to reproduce:

1. Tools / Macros / Organize Dialogs
2. New Dialog
3. Edit dialog
4. Press 'Manage Language' toolbar (may need to enable Language toolbar in
Views)
5. Add a language
6. delete it
7. LibO crashes:

$ /home/mixa/LibreOfficeDev_5.1.0.0.alpha1_Linux_x86-64_archive/program/soffice
--writer

...

warn:vcl.layout:4068:1:vcl/source/window/builder.cxx:217: Unable to read .ui
file:
file:///home/mixa/LibreOfficeDev_5.1.0.0.alpha1_Linux_x86-64_archive/program/../share/config/soffice.cfg/modules/BasicIDE/ui/deletelang.ui
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x7fafb8fb4548, pid=4068, tid=140392947906816
#
# JRE version: OpenJDK Runtime Environment (8.0_45-b14) (build 1.8.0_45-b14)
# Java VM: OpenJDK 64-Bit Server VM (25.45-b02 mixed mode linux-amd64
compressed oops)
# Problematic frame:
# C  [libgobject-2.0.so.0+0x21548]
#
# Failed to write core dump. Core dumps have been disabled. To enable core
dumping, try ulimit -c unlimited before starting Java again
#
# An error report file with more information is saved as:
# /home/mixa/lo-sdk-examples/java/OptionsPageDemo/hs_err_pid4068.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp

$ uname -a
Linux mixa_arch 4.0.7-2-ARCH #1 SMP PREEMPT Tue Jun 30 07:50:21 UTC 2015 x86_64
GNU/Linux

hs_err_pid4068.log attached

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


[Libreoffice-commits] online.git: Branch 'private/hcvcastro/forking' - loolwsd/LOOLKit.cpp

2015-07-23 Thread Henry Castro
 loolwsd/LOOLKit.cpp |   56 
 1 file changed, 48 insertions(+), 8 deletions(-)

New commits:
commit f58690f565613815acd53d58ac27aa49be6035c4
Author: Henry Castro hcas...@collabora.com
Date:   Thu Jul 23 16:28:08 2015 -0400

loolwsd: add missing arguments loolkit.

Also removed Application logger.

diff --git a/loolwsd/LOOLKit.cpp b/loolwsd/LOOLKit.cpp
index 06f5dcf..eca6c8c 100644
--- a/loolwsd/LOOLKit.cpp
+++ b/loolwsd/LOOLKit.cpp
@@ -23,7 +23,6 @@
 #include LOOLProtocol.hpp
 
 using namespace LOOLProtocol;
-using Poco::Util::Application;
 using Poco::Net::WebSocket;
 using Poco::Net::HTTPClientSession;
 using Poco::Net::HTTPRequest;
@@ -64,6 +63,15 @@ private:
 tsqueuestd::string _queue;
 };
 
+static int prefixcmp(const char *str, const char *prefix)
+{
+   for (; ; str++, prefix++)
+   if (!*prefix)
+   return 0;
+   else if (*str != *prefix)
+   return (unsigned char)*prefix - (unsigned char)*str;
+}
+
 const int MASTER_PORT_NUMBER = 9981;
 const std::string CHILD_URI = /loolws/child/;
 
@@ -71,8 +79,40 @@ Poco::NamedMutex _namedMutexLOOL(loolwsd);
 
 int main(int argc, char** argv)
 {
-std::string loSubPath = lo;
-Poco::UInt64 _childId = Process::id();
+std::string loSubPath;
+Poco::UInt64 _childId = 0;
+
+while (argc  0)
+{
+ char *cmd = argv[0];
+ char *eq  = NULL;
+  if (!prefixcmp(cmd, --losubpath=))
+  {
+eq = strchrnul(cmd, '=');
+if (*eq)
+  loSubPath = std::string(++eq);
+  }
+  else if (!prefixcmp(cmd, --child=))
+  {
+eq = strchrnul(cmd, '=');
+if (*eq)
+  _childId = std::stoll(std::string(++eq));
+  }
+ argv++;
+ argc--;
+}
+
+   if (loSubPath.empty())
+   {
+ std::cout  --losubpath is empty  std::endl;
+ exit(1);
+   }
+
+   if ( !_childId )
+   {
+ std::cout  --child is 0  std::endl;
+ exit(1);
+   }
 
 try
 {
@@ -86,8 +126,8 @@ int main(int argc, char** argv)
 
 if (!loKit)
 {
-Application::instance().logger().fatal(Util::logPrefix() + 
LibreOfficeKit initialisation failed);
-exit(Application::EXIT_UNAVAILABLE);
+std::cout  Util::logPrefix() + LibreOfficeKit initialization 
failed  std::endl;
+exit(-1);
 }
 
 _namedMutexLOOL.unlock();
@@ -152,13 +192,13 @@ int main(int argc, char** argv)
 }
 catch (Exception exc)
 {
-Application::instance().logger().log(Util::logPrefix() + Exception:  
+ exc.what());
+std::cout  Util::logPrefix() + Exception:  + exc.what()  
std::endl;
 }
 catch (std::exception exc)
 {
-Application::instance().logger().error(Util::logPrefix() + Exception: 
 + exc.what());
+std::cout  Util::logPrefix() + Exception:  + exc.what()  
std::endl;
 }
-
+
 std::cout  Util::logPrefix()  loolkit finished OK!  std::endl;
 return 0;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] online.git: Branch 'private/hcvcastro/forking' - loolwsd/ChildProcessSession.cpp loolwsd/LOOLSession.cpp loolwsd/LOOLWSD.cpp

2015-07-23 Thread Henry Castro
 loolwsd/ChildProcessSession.cpp |   43 
 loolwsd/LOOLSession.cpp |4 +--
 loolwsd/LOOLWSD.cpp |3 --
 3 files changed, 2 insertions(+), 48 deletions(-)

New commits:
commit a44c6924e86d92987ea8efea9d470bee5b4c208e
Author: Henry Castro hcas...@collabora.com
Date:   Thu Jul 23 16:49:45 2015 -0400

loolwsd: clean code.

diff --git a/loolwsd/ChildProcessSession.cpp b/loolwsd/ChildProcessSession.cpp
index 1b841f9..842b984 100644
--- a/loolwsd/ChildProcessSession.cpp
+++ b/loolwsd/ChildProcessSession.cpp
@@ -24,10 +24,6 @@
 #include mutex
 #include set
 
-/*#define LOK_USE_UNSTABLE_API
-#include LibreOfficeKit/LibreOfficeKit.h
-#include LibreOfficeKit/LibreOfficeKitEnums.h*/
-
 #include Poco/Net/WebSocket.h
 #include Poco/StringTokenizer.h
 #include Poco/URI.h
@@ -44,45 +40,6 @@ using Poco::StringTokenizer;
 using Poco::URI;
 using Poco::Path;
 
-/*
-
-#include Poco/Exception.h
-#include Poco/File.h
-#include Poco/Net/HTTPStreamFactory.h
-#include Poco/Process.h
-#include Poco/Random.h
-#include Poco/StreamCopier.h
-#include Poco/String.h
-#include Poco/ThreadLocal.h
-#include Poco/URIStreamOpener.h
-#include Poco/Exception.h
-#include Poco/Net/NetException.h
-#include Poco/Net/DialogSocket.h
-#include Poco/Net/SocketAddress.h
-
-#include LOOLSession.hpp
-#include LOOLWSD.hpp
-#include TileCache.hpp
-
-
-using Poco::File;
-using Poco::IOException;
-using Poco::Net::HTTPStreamFactory;
-using Poco::Process;
-using Poco::ProcessHandle;
-using Poco::Random;
-using Poco::StreamCopier;
-using Poco::Thread;
-using Poco::ThreadLocal;
-using Poco::UInt64;
-using Poco::URIStreamOpener;
-using Poco::Util::Application;
-using Poco::Exception;
-using Poco::Net::DialogSocket;
-using Poco::Net::SocketAddress;
-using Poco::Net::WebSocketException;*/
-
-
 ChildProcessSession::ChildProcessSession(std::shared_ptrWebSocket ws, 
LibreOfficeKit *loKit) :
 LOOLSession(ws, Kind::ToMaster),
 _loKitDocument(NULL),
diff --git a/loolwsd/LOOLSession.cpp b/loolwsd/LOOLSession.cpp
index b0a7a05..4b7342a 100644
--- a/loolwsd/LOOLSession.cpp
+++ b/loolwsd/LOOLSession.cpp
@@ -36,7 +36,7 @@ LOOLSession::LOOLSession(std::shared_ptrWebSocket ws, Kind 
kind) :
 _ws(ws),
 _docURL()
 {
-//std::cout  Util::logPrefix()  LOOLSession ctor this=  this   
  _kind   ws=  _ws.get()  std::endl;
+std::cout  Util::logPrefix()  LOOLSession ctor this=  this
 _kind   ws=  _ws.get()  std::endl;
 if (kind == Kind::ToClient) {
 _kindString = ToClient;
 }
@@ -50,7 +50,7 @@ LOOLSession::LOOLSession(std::shared_ptrWebSocket ws, Kind 
kind) :
 
 LOOLSession::~LOOLSession()
 {
-//std::cout  Util::logPrefix()  LOOLSession dtor this=  this   
  _kind  std::endl;
+std::cout  Util::logPrefix()  LOOLSession dtor this=  this
 _kind  std::endl;
 Util::shutdownWebSocket(*_ws);
 }
 
diff --git a/loolwsd/LOOLWSD.cpp b/loolwsd/LOOLWSD.cpp
index ee36e0b..ed9f6cc 100644
--- a/loolwsd/LOOLWSD.cpp
+++ b/loolwsd/LOOLWSD.cpp
@@ -560,9 +560,6 @@ int LOOLWSD::createBroker()
 {
 Process::Args args;
 
-//args.push_back(--child= + std::to_string(_childId));
-//args.push_back(--port= + std::to_string(LOOLWSD::portNumber));
-//args.push_back(--jail= + LOOLWSD::jail);
 args.push_back(--losubpath= + LOOLWSD::loSubPath);
 args.push_back(--systemplate= + sysTemplate);
 args.push_back(--lotemplate= + loTemplate);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 92867] UI: Filter dialog can be wider as the application on Gnome 3 desktop with 2 horizontal displays

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92867

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

   What|Removed |Added

 CC||c...@nouenoff.nl
   See Also||https://bugs.freedesktop.or
   ||g/show_bug.cgi?id=83373

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


[Libreoffice-bugs] [Bug 91310] [META] Fallout from VclPtr merge

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91310
Bug 91310 depends on bug 92434, which changed state.

Bug 92434 Summary: When relation design dialog is open and then closed, 
libreoffice crashes
https://bugs.documentfoundation.org/show_bug.cgi?id=92434

   What|Removed |Added

 Status|VERIFIED|REOPENED
 Resolution|FIXED   |---

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


[Libreoffice-bugs] [Bug 80175] FILEOPEN: error message opening particular .docx

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=80175

Terrence Enger lo_b...@iseries-guru.com changed:

   What|Removed |Added

 OS|All |Linux (All)

--- Comment #14 from Terrence Enger lo_b...@iseries-guru.com ---
Whoops.  On second thought, the reference to Windows in comment 5 is
about a problem different from this report.  I am setting O/S to
Linux.

Thank you, m.a.riosv, for catching that.

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


[Libreoffice-bugs] [Bug 92853] Changeing Textorientation in calc can easily result in systems UI crash

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92853

Robinson Tryon (qubit) qu...@runcibility.com changed:

   What|Removed |Added

 CC||qu...@runcibility.com

--- Comment #9 from Robinson Tryon (qubit) qu...@runcibility.com ---
(In reply to Filip Mutterer from comment #0)
 I was just playing with the textorientation in the 5.1.0.0 alpha then the
 system crashed.
 

Filip: Can you reproduce the issue on another system?  (it's possible that
there's something specific to your standard setup, or in how you're exercising
the system when you repro...)

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


[Libreoffice-bugs] [Bug 92868] test (importtest.cpp) fails to compile on OS X w/ clang (call to function operator)

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92868

David Tardon dtar...@redhat.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||dtar...@redhat.com
 Resolution|--- |FIXED
   Assignee|libreoffice-b...@lists.free |dtar...@redhat.com
   |desktop.org |

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


[Libreoffice-commits] libvisio.git: src/test

2015-07-23 Thread David Tardon
 src/test/importtest.cpp |9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

New commits:
commit a548f7e813df966960fe9284602f91a79b0ea7e0
Author: David Tardon dtar...@redhat.com
Date:   Thu Jul 23 16:34:18 2015 +0200

tdf#92868 fix clang error in test

error: call to function 'operator' that is neither visible in the
template definition nor found by argument-dependent lookup

Change-Id: If0d5018c94870b504083de7c12b20b2c4ad26bdd

diff --git a/src/test/importtest.cpp b/src/test/importtest.cpp
index c09bfd8..8554309 100644
--- a/src/test/importtest.cpp
+++ b/src/test/importtest.cpp
@@ -13,15 +13,20 @@
 #include cppunit/extensions/HelperMacros.h
 #include xmldrawinggenerator.h
 
-namespace
+namespace librevenge
 {
 
 /// Allows using CPPUNIT_ASSERT_EQUAL() on librevenge::RVNGString instances.
-std::ostream operator (std::ostream s, const librevenge::RVNGString 
string)
+std::ostream operator (std::ostream s, const RVNGString string)
 {
   return s  string.cstr();
 }
 
+}
+
+namespace
+{
+
 /// Caller must call xmlXPathFreeObject.
 xmlXPathObjectPtr getXPathNode(xmlDocPtr doc, const librevenge::RVNGString 
xpath)
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-5-0-0' - vcl/unx

2015-07-23 Thread Caolán McNamara
 vcl/unx/gtk/window/gtksalframe.cxx |8 ++--
 1 file changed, 2 insertions(+), 6 deletions(-)

New commits:
commit 6291a9c7a48023ca0f382c2e8782bf781112cc2a
Author: Caolán McNamara caol...@redhat.com
Date:   Thu Jul 23 09:55:01 2015 +0100

Resolves: tdf#92689 grab keyboard focus to parent, not to earlier 
generations

Change-Id: I4c95f52f0b22ab574f608b93c172e0398e81974b
(cherry picked from commit 57ec66e294b1405a85029aa1f1c0e9485ad4e5b4)
Reviewed-on: https://gerrit.libreoffice.org/17317
Reviewed-by: Adolfo Jayme Barrientos fit...@ubuntu.com
Tested-by: Eike Rathke er...@redhat.com
Reviewed-by: Thorsten Behrens thorsten.behr...@cib.de
Reviewed-by: Eike Rathke er...@redhat.com

diff --git a/vcl/unx/gtk/window/gtksalframe.cxx 
b/vcl/unx/gtk/window/gtksalframe.cxx
index 3bee994..f193e98 100644
--- a/vcl/unx/gtk/window/gtksalframe.cxx
+++ b/vcl/unx/gtk/window/gtksalframe.cxx
@@ -1920,9 +1920,7 @@ void GtkSalFrame::Show( bool bVisible, bool bNoActivate )
 if( ! getDisplay()-GetCaptureFrame()  m_nFloats == 1 )
 {
 grabPointer(true, true);
-GtkSalFrame *pKeyboardFrame = this;
-while (pKeyboardFrame-m_pParent)
-pKeyboardFrame = pKeyboardFrame-m_pParent;
+GtkSalFrame *pKeyboardFrame = m_pParent ? m_pParent : this;
 pKeyboardFrame-grabKeyboard(true);
 }
 // #i44068# reset parent's IM context
@@ -1939,9 +1937,7 @@ void GtkSalFrame::Show( bool bVisible, bool bNoActivate )
 m_nFloats--;
 if( ! getDisplay()-GetCaptureFrame()  m_nFloats == 0)
 {
-GtkSalFrame *pKeyboardFrame = this;
-while (pKeyboardFrame-m_pParent)
-pKeyboardFrame = pKeyboardFrame-m_pParent;
+GtkSalFrame *pKeyboardFrame = m_pParent ? m_pParent : this;
 pKeyboardFrame-grabKeyboard(false);
 grabPointer(false);
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2015-07-23 Thread Mihai Varga
 loleaflet/debug/document/document_simple_example.html |1 -
 loleaflet/dist/leaflet.css|4 ++--
 loleaflet/spec/tilebench.html |1 -
 loleaflet/spec/tilebench/TileBenchSpec.js |2 +-
 loleaflet/src/layer/tile/TileLayer.js |4 ++--
 loleaflet/src/map/Map.js  |5 -
 6 files changed, 9 insertions(+), 8 deletions(-)

New commits:
commit 75155481ac5e8f8427cae505595276a2e28cc0b2
Author: Mihai Varga mihai.va...@collabora.com
Date:   Thu Jul 23 17:17:56 2015 +0300

loleaflet: dynamically create the clipboard div

diff --git a/loleaflet/debug/document/document_simple_example.html 
b/loleaflet/debug/document/document_simple_example.html
index a8c5a43..2df9c91 100644
--- a/loleaflet/debug/document/document_simple_example.html
+++ b/loleaflet/debug/document/document_simple_example.html
@@ -37,7 +37,6 @@
 div id=parts-preview style=overflow: hidden
 /div
 div id=document-container style=top:100px
-div id=clipboard-containertextarea 
id=clipboard/textarea/div
 div id=map/div
 div id=scroll-container
 div id=mock-document
diff --git a/loleaflet/dist/leaflet.css b/loleaflet/dist/leaflet.css
index 5cac88f..d866d45 100644
--- a/loleaflet/dist/leaflet.css
+++ b/loleaflet/dist/leaflet.css
@@ -645,7 +645,7 @@ a.leaflet-control-buttons:hover {
   }
 }
 
-#clipboard-container {
+.clipboard-container {
position: fixed;
left: 0px;
top: 0px;
@@ -654,7 +654,7 @@ a.leaflet-control-buttons:hover {
z-index: 100;
opacity: 0;
 }
-#clipboard {
+.clipboard {
width: 1px;
height: 1px;
padding: 0px;
diff --git a/loleaflet/spec/tilebench.html b/loleaflet/spec/tilebench.html
index 7f3722b..c4eccc4 100644
--- a/loleaflet/spec/tilebench.html
+++ b/loleaflet/spec/tilebench.html
@@ -37,7 +37,6 @@
script type=text/javascript 
src=tilebench/TileBenchSpec.js/script
 
div id=document-container style=top:300px
-   div id=clipboard-containertextarea 
id=clipboard/textarea/div
div id=map/div
div id=scroll-container
div id=mock-document
diff --git a/loleaflet/spec/tilebench/TileBenchSpec.js 
b/loleaflet/spec/tilebench/TileBenchSpec.js
index 46963e5..13b5b64 100644
--- a/loleaflet/spec/tilebench/TileBenchSpec.js
+++ b/loleaflet/spec/tilebench/TileBenchSpec.js
@@ -27,7 +27,7 @@ describe('TileBench', function () {
var docLayer = new L.TileLayer('', {
doc: 'file:///home/mihai/Desktop/test_docs/eval.odt',
useSocket : true,
-   edit: true,
+   edit: false,
readOnly: false
});
map.addLayer(docLayer);
diff --git a/loleaflet/src/layer/tile/TileLayer.js 
b/loleaflet/src/layer/tile/TileLayer.js
index 24246c9..45255f7 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -91,8 +91,6 @@ L.TileLayer = L.GridLayer.extend({
draggable: true
});
this._emptyTilesCount = 0;
-   this._textArea = L.DomUtil.get('clipboard');
-   this._textArea.focus();
},
 
_initDocument: function () {
@@ -112,6 +110,8 @@ L.TileLayer = L.GridLayer.extend({
this._map.on('copy', this._onCopy, this);
this._startMarker.on('drag dragend', 
this._onSelectionHandleDrag, this);
this._endMarker.on('drag dragend', this._onSelectionHandleDrag, 
this);
+   this._textArea = this._map._textArea;
+   this._textArea.focus();
if (this.options.edit  !this.options.readOnly) {
this._map.setPermission('edit');
}
diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index d47c8d7..b2d2999 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -468,6 +468,9 @@ L.Map = L.Evented.extend({
throw new Error('Mock document div not found.');
}
 
+   var textAreaContainer = L.DomUtil.create('div', 
'clipboard-container', container.parentElement);
+   this._textArea = L.DomUtil.create('textarea', 'clipboard', 
textAreaContainer);
+
container._leaflet = true;
},
 
@@ -585,7 +588,7 @@ L.Map = L.Evented.extend({
 
L.DomEvent[onOff](this._container, 'click dblclick mousedown 
mouseup ' +
'mouseover mouseout mousemove contextmenu keydown 
keypress keyup', this._handleDOMEvent, this);
-   L.DomEvent[onOff](L.DomUtil.get('clipboard'), 'copy keydown 
keypress keyup', this._handleDOMEvent, this);
+   L.DomEvent[onOff](this._textArea, 'copy keydown keypress 
keyup', this._handleDOMEvent, this);
 
if 

[Libreoffice-bugs] [Bug 92891] New: Not enough fields for userdata

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92891

Bug ID: 92891
   Summary: Not enough fields for userdata
   Product: LibreOffice
   Version: 4.3.7.2 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: holger.kr...@gummersbach.de

Couldn't it be helpful to have more textfields for saving userdata
(extra/options/libreoffice/userdata). When working with libreoffice in
government sometimes the textfields for name, telephone etc. are not enough. 
More fields with the possibility for the user to name the fields would be nice.
I think there is still enough space for placing 4 or more fields under those
who are already used.

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


[Libreoffice-bugs] [Bug 92853] Changeing Textorientation in calc can easily result in systems UI crash

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92853

--- Comment #10 from Filip Mutterer filipmutte...@yandex.ru ---
Created attachment 117391
  -- https://bugs.documentfoundation.org/attachment.cgi?id=117391action=edit
Pull down menues where I found it, but i didn't search for more of them...

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


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

2015-07-23 Thread Mihai Varga
 loleaflet/spec/tilebench.html |   52 
 loleaflet/spec/tilebench/TileBenchSpec.js |   93 ++
 loleaflet/src/layer/tile/GridLayer.js |1 
 loleaflet/src/layer/tile/TileLayer.js |8 ++
 4 files changed, 154 insertions(+)

New commits:
commit 16091399081d64a8d90343e4359f6fb96e1ea109
Author: Mihai Varga mihai.va...@collabora.com
Date:   Thu Jul 23 16:55:38 2015 +0300

loleaflet: removed console.log call

diff --git a/loleaflet/src/layer/tile/TileLayer.js 
b/loleaflet/src/layer/tile/TileLayer.js
index 3b54132..24246c9 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -391,7 +391,6 @@ L.TileLayer = L.GridLayer.extend({
if (!tile.loaded) {
this._emptyTilesCount -= 1;
if (this._emptyTilesCount === 0) {
-   console.log('alltilesloaded');

this._map.fire('alltilesloaded');
}
}
commit 5f368efc320401b2bb7b0ae6576a7f1afc531af7
Author: Mihai Varga mihai.va...@collabora.com
Date:   Thu Jul 23 16:53:56 2015 +0300

loleaflet: test if loading a document and scrolling works

To run the test, open tilebench.html in a browser

diff --git a/loleaflet/spec/tilebench.html b/loleaflet/spec/tilebench.html
new file mode 100644
index 000..7f3722b
--- /dev/null
+++ b/loleaflet/spec/tilebench.html
@@ -0,0 +1,52 @@
+!DOCTYPE html
+html
+head
+   meta charset=utf-8
+   titleLOOL Spec Runner/title
+   link rel=stylesheet type=text/css 
href=../node_modules/mocha/mocha.css
+   link rel=stylesheet type=text/css href=../dist/leaflet.css
+   link rel=stylesheet type=text/css 
href=../src/scrollbar/jquery.mCustomScrollbar.css
+   link rel=stylesheet type=text/css href=../dist/dialog/vex.css /
+   link rel=stylesheet type=text/css 
href=../dist/dialog/vex-theme-plain.css /
+/head
+body
+   div id=mocha/div
+   script src=expect.js/script
+   script type=text/javascript 
src=../node_modules/mocha/mocha.js/script
+   script type=text/javascript 
src=../node_modules/happen/happen.js/script
+   script type=text/javascript src=sinon.js/script
+   script 
src=http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js;/script
+   scriptwindow.jQuery || document.write('script 
src=../src/scrollbar/jquery-1.11.0.min.js\/script')/script
+   script src=../src/scrollbar/jquery.mCustomScrollbar.js/script
+   script src=../dist/dialog/vex.combined.min.js/script
+   scriptvex.defaultOptions.className = 'vex-theme-plain';/script
+
+   !-- source files --
+   script type=text/javascript src=../build/deps.js/script
+
+   script type=text/javascript 
src=../debug/leaflet-include.js/script
+
+   script
+   mocha.setup({
+   ui: 'bdd',
+   ignoreLeaks: true
+   });
+   /script
+
+   !-- spec files --
+   script type=text/javascript 
src=tilebench/TileBenchSpec.js/script
+
+   div id=document-container style=top:300px
+   div id=clipboard-containertextarea 
id=clipboard/textarea/div
+   div id=map/div
+   div id=scroll-container
+   div id=mock-document
+   /div
+   /div
+   /div
+
+   script
+   (window.mochaPhantomJS || window.mocha).run();
+   /script
+/body
+/html
diff --git a/loleaflet/spec/tilebench/TileBenchSpec.js 
b/loleaflet/spec/tilebench/TileBenchSpec.js
new file mode 100644
index 000..46963e5
--- /dev/null
+++ b/loleaflet/spec/tilebench/TileBenchSpec.js
@@ -0,0 +1,93 @@
+describe('TileBench', function () {
+   // 20 s timeout
+   this.timeout(2);
+   var map;
+   var loadCount = 0;
+
+   var log = function (msg) {
+   // write custom log messages
+   var cont = document.getElementById('mocha-report');
+   var li = document.createElement('li');
+   li.style.class = 'test pass';
+   li.innerHTML = 'h2' + msg + '/h2';
+   cont.appendChild(li);
+   }
+
+   before(function () {
+   // initialize the map and load the document
+   map = L.map('map', 'scroll-container', 'mock-document', {
+   center: [0, 0],
+   zoom: 10,
+   minZoom: 1,
+   maxZoom: 20,
+   server: 'ws://localhost:9980',
+   doubleClickZoom: false
+   });
+
+   var docLayer = new L.TileLayer('', {
+   doc: 'file:///home/mihai/Desktop/test_docs/eval.odt',
+   useSocket : true,
+   

[Libreoffice-commits] core.git: Branch 'feature/chart-sidebar' - chart2/Library_chartcontroller.mk chart2/source

2015-07-23 Thread Markus Mohrhard
 chart2/Library_chartcontroller.mk  |1 
 chart2/source/controller/sidebar/ChartAxisPanel.cxx|   33 +++-
 chart2/source/controller/sidebar/ChartAxisPanel.hxx|   11 +
 chart2/source/controller/sidebar/ChartSeriesPanel.cxx  |   23 ++
 chart2/source/controller/sidebar/ChartSeriesPanel.hxx  |9 -
 chart2/source/controller/sidebar/ChartSidebarSelectionListener.cxx |   81 
++
 chart2/source/controller/sidebar/ChartSidebarSelectionListener.hxx |   58 
+++
 7 files changed, 207 insertions(+), 9 deletions(-)

New commits:
commit fe24ed6f1ac74bfe5096b96dd8b58b2f47e43a21
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Thu Jul 23 16:20:36 2015 +0200

add selection change listener

This finally allows us to handle the case where you switch between
objects of the same type.

Change-Id: Ic13e15e2a426d08995a577dfc1b7ee6f7da04f30

diff --git a/chart2/Library_chartcontroller.mk 
b/chart2/Library_chartcontroller.mk
index 198640e..2e03a7e 100644
--- a/chart2/Library_chartcontroller.mk
+++ b/chart2/Library_chartcontroller.mk
@@ -194,6 +194,7 @@ $(eval $(call 
gb_Library_add_exception_objects,chartcontroller,\
 chart2/source/controller/sidebar/ChartErrorBarPanel \
 chart2/source/controller/sidebar/ChartSeriesPanel \
 chart2/source/controller/sidebar/ChartSidebarModifyListener \
+chart2/source/controller/sidebar/ChartSidebarSelectionListener \
 ))
 
 # Runtime dependency for unit-tests
diff --git a/chart2/source/controller/sidebar/ChartAxisPanel.cxx 
b/chart2/source/controller/sidebar/ChartAxisPanel.cxx
index ba1a5e7..a9dcae7 100644
--- a/chart2/source/controller/sidebar/ChartAxisPanel.cxx
+++ b/chart2/source/controller/sidebar/ChartAxisPanel.cxx
@@ -190,7 +190,8 @@ ChartAxisPanel::ChartAxisPanel(
   : PanelLayout(pParent, ChartAxisPanel, modules/schart/ui/sidebaraxis.ui, 
rxFrame),
 mxFrame(rxFrame),
 mxModel(pController-getModel()),
-mxListener(new ChartSidebarModifyListener(this))
+mxModifyListener(new ChartSidebarModifyListener(this)),
+mxSelectionListener(new ChartSidebarSelectionListener(this, 
OBJECTTYPE_AXIS))
 {
 get(mpCBShowLabel, checkbutton_show_label);
 get(mpCBReverse, checkbutton_reverse);
@@ -208,7 +209,11 @@ ChartAxisPanel::~ChartAxisPanel()
 void ChartAxisPanel::dispose()
 {
 css::uno::Referencecss::util::XModifyBroadcaster xBroadcaster(mxModel, 
css::uno::UNO_QUERY_THROW);
-xBroadcaster-removeModifyListener(mxListener);
+xBroadcaster-removeModifyListener(mxModifyListener);
+
+css::uno::Referencecss::view::XSelectionSupplier 
xSelectionSupplier(mxModel-getCurrentController(), css::uno::UNO_QUERY);
+if (xSelectionSupplier.is())
+xSelectionSupplier-removeSelectionChangeListener(mxSelectionListener);
 
 mpCBShowLabel.clear();
 mpCBReverse.clear();
@@ -221,7 +226,11 @@ void ChartAxisPanel::dispose()
 void ChartAxisPanel::Initialize()
 {
 css::uno::Referencecss::util::XModifyBroadcaster xBroadcaster(mxModel, 
css::uno::UNO_QUERY_THROW);
-xBroadcaster-addModifyListener(mxListener);
+xBroadcaster-addModifyListener(mxModifyListener);
+
+css::uno::Referencecss::view::XSelectionSupplier 
xSelectionSupplier(mxModel-getCurrentController(), css::uno::UNO_QUERY);
+if (xSelectionSupplier.is())
+xSelectionSupplier-addSelectionChangeListener(mxSelectionListener);
 
 updateData();
 
@@ -285,12 +294,26 @@ void ChartAxisPanel::updateModel(
 css::uno::Referencecss::frame::XModel xModel)
 {
 css::uno::Referencecss::util::XModifyBroadcaster xBroadcaster(mxModel, 
css::uno::UNO_QUERY_THROW);
-xBroadcaster-removeModifyListener(mxListener);
+xBroadcaster-removeModifyListener(mxModifyListener);
 
 mxModel = xModel;
 
 css::uno::Referencecss::util::XModifyBroadcaster 
xBroadcasterNew(mxModel, css::uno::UNO_QUERY_THROW);
-xBroadcasterNew-addModifyListener(mxListener);
+xBroadcasterNew-addModifyListener(mxModifyListener);
+
+css::uno::Referencecss::view::XSelectionSupplier 
xSelectionSupplier(mxModel-getCurrentController(), css::uno::UNO_QUERY);
+if (xSelectionSupplier.is())
+xSelectionSupplier-addSelectionChangeListener(mxSelectionListener);
+}
+
+void ChartAxisPanel::selectionChanged(bool bCorrectType)
+{
+if (bCorrectType)
+updateData();
+}
+
+void ChartAxisPanel::SelectionInvalid()
+{
 }
 
 IMPL_LINK(ChartAxisPanel, CheckBoxHdl, CheckBox*, pCheckbox)
diff --git a/chart2/source/controller/sidebar/ChartAxisPanel.hxx 
b/chart2/source/controller/sidebar/ChartAxisPanel.hxx
index 5c1177f..c21fa33 100644
--- a/chart2/source/controller/sidebar/ChartAxisPanel.hxx
+++ b/chart2/source/controller/sidebar/ChartAxisPanel.hxx
@@ -17,8 +17,10 @@
 #include svx/sidebar/PanelLayout.hxx
 
 #include ChartSidebarModifyListener.hxx
+#include ChartSidebarSelectionListener.hxx
 
 #include com/sun/star/util/XModifyListener.hpp
+#include 

[Libreoffice-commits] core.git: Branch 'feature/gsoc15-open-remote-files-dialog' - fpicker/source include/svtools svtools/source

2015-07-23 Thread Szymon Kłos
 fpicker/source/office/RemoteFilesDialog.cxx |  180 +---
 fpicker/source/office/RemoteFilesDialog.hxx |   12 +
 fpicker/source/office/asyncfilepicker.cxx   |2 
 fpicker/source/office/asyncfilepicker.hxx   |6 
 fpicker/source/office/fpdialogbase.hxx  |7 +
 fpicker/source/office/iodlg.hxx |   12 -
 include/svtools/breadcrumb.hxx  |2 
 svtools/source/control/breadcrumb.cxx   |   12 +
 8 files changed, 180 insertions(+), 53 deletions(-)

New commits:
commit 8d9ce286c11ea14af10d46b2576105779d3b1c8f
Author: Szymon Kłos eszka...@gmail.com
Date:   Thu Jul 23 16:22:33 2015 +0200

RemoteFilesDialog integration with AsyncPickerAction

Change-Id: If6ded1c2f2b056ce864589649b08ed19a73dc5dd

diff --git a/fpicker/source/office/RemoteFilesDialog.cxx 
b/fpicker/source/office/RemoteFilesDialog.cxx
index 4e69c9d..7106366 100644
--- a/fpicker/source/office/RemoteFilesDialog.cxx
+++ b/fpicker/source/office/RemoteFilesDialog.cxx
@@ -171,6 +171,7 @@ class FileViewContainer : public vcl::Window
 RemoteFilesDialog::RemoteFilesDialog( vcl::Window* pParent, WinBits nBits )
 : SvtFileDialog_Base( pParent, RemoteFilesDialog, 
fps/ui/remotefilesdialog.ui )
 , m_context( comphelper::getProcessComponentContext() )
+, m_pCurrentAsyncAction( NULL )
 , m_pFileNotifier( NULL )
 , m_pSplitter( NULL )
 , m_pFileView( NULL )
@@ -187,6 +188,7 @@ RemoteFilesDialog::RemoteFilesDialog( vcl::Window* pParent, 
WinBits nBits )
 m_bMultiselection = ( nBits  SFXWB_MULTISELECTION ) != 0;
 m_bIsUpdated = false;
 m_bIsConnected = false;
+m_bServiceChanged = false;
 m_nCurrentFilter = LISTBOX_ENTRY_NOTFOUND;
 
 m_pFilter_lb-Enable( false );
@@ -201,6 +203,7 @@ RemoteFilesDialog::RemoteFilesDialog( vcl::Window* pParent, 
WinBits nBits )
 m_pOk_btn-Enable( false );
 
 m_pOk_btn-SetClickHdl( LINK( this, RemoteFilesDialog, OkHdl ) );
+m_pCancel_btn-SetClickHdl( LINK( this, RemoteFilesDialog, CancelHdl ) );
 
 m_pPath = VclPtrBreadcrumb::Create( get vcl::Window ( 
breadcrumb_container ) );
 m_pPath-set_hexpand( true );
@@ -462,7 +465,13 @@ FileViewResult RemoteFilesDialog::OpenURL( OUString const 
 sURL )
 
 if( m_pFileView )
 {
-if( !sURL.isEmpty()  ContentIsFolder( sURL ) )
+m_pTreeView-EndSelection();
+DisableControls();
+
+EnableChildPointerOverwrite( true );
+SetPointer( PointerStyle::Wait );
+
+if( !sURL.isEmpty() )
 {
 OUString sFilter = FILEDIALOG_FILTER_ALL;
 
@@ -473,33 +482,27 @@ FileViewResult RemoteFilesDialog::OpenURL( OUString const 
 sURL )
 
 m_pFileView-EndInplaceEditing( false );
 
-EnableChildPointerOverwrite( true );
-SetPointer( PointerStyle::Wait );
-
-eResult = m_pFileView-Initialize( sURL, sFilter, NULL, 
GetBlackList() );
+DBG_ASSERT( !m_pCurrentAsyncAction.is(), 
SvtFileDialog::executeAsync: previous async action not yet finished! );
 
-if( eResult == eSuccess )
-{
-m_pPath-SetURL( sURL );
-
-m_pTreeView-SetSelectHdl( Link() );
-m_pTreeView-SetTreePath( sURL );
-m_pTreeView-SetSelectHdl( LINK( this, RemoteFilesDialog, 
TreeSelectHdl ) );
+m_pCurrentAsyncAction = new AsyncPickerAction( this, m_pFileView, 
AsyncPickerAction::Action::eOpenURL );
 
-m_bIsConnected = true;
-EnableControls();
-}
-
-SetPointer( PointerStyle::Arrow );
-EnableChildPointerOverwrite( false );
+// -1 timeout - sync
+m_pCurrentAsyncAction-execute( sURL, sFilter, -1, -1, 
GetBlackList() );
 }
 else
 {
+SetPointer( PointerStyle::Arrow );
+EnableChildPointerOverwrite( false );
+
 // content doesn't exist
-m_pTreeView-EndSelection();
 ErrorHandler::HandleError( ERRCODE_IO_NOTEXISTS );
+
+EnableControls();
 return eFailure;
 }
+
+SetPointer( PointerStyle::Arrow );
+EnableChildPointerOverwrite( false );
 }
 
 return eResult;
@@ -547,6 +550,22 @@ void RemoteFilesDialog::EnableControls()
 m_pContainer-Enable( false );
 m_pOk_btn-Enable( false );
 }
+
+m_pPath-EnableFields( true );
+m_pAddService_btn-Enable( true );
+}
+
+void RemoteFilesDialog::DisableControls()
+{
+m_pServices_lb-Enable( false );
+m_pFilter_lb-Enable( false );
+m_pAddService_btn-Enable( false );
+m_pName_ed-Enable( false );
+m_pContainer-Enable( false );
+m_pOk_btn-Enable( false );
+m_pPath-EnableFields( false );
+
+m_pCancel_btn-Enable( true );
 }
 
 IMPL_LINK_NOARG ( RemoteFilesDialog, AddServiceHdl )
@@ -591,23 +610,9 @@ IMPL_LINK_NOARG ( RemoteFilesDialog, SelectServiceHdl )
 if( nPos = 0 )
 {
 OUString sURL = 

[Libreoffice-bugs] [Bug 92856] FILEOPEN: Incorrect table document formatting created in MS Office

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92856

--- Comment #5 from bazi...@kombikorm.ru ---
Thank you/ But I have no other problem files containing the same error.

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


[Libreoffice-bugs] [Bug 92879] enhancement: Moving averages option in charts

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92879

GerardF gerard.farg...@orange.fr changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||gerard.farg...@orange.fr
 Ever confirmed|0   |1

--- Comment #1 from GerardF gerard.farg...@orange.fr ---
Already in, no?

Insert  Trendline, Moving average.

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


[Libreoffice-bugs] [Bug 92892] New: Problems with october dates

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92892

Bug ID: 92892
   Summary: Problems with october dates
   Product: LibreOffice
   Version: 5.0.0.3 rc
  Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: rstr...@globo.com

Created attachment 117392
  -- https://bugs.documentfoundation.org/attachment.cgi?id=117392action=edit
Video showing the bug

When the following dates are used on LO 5.0.0.3, the cells keep text format:

15/10/2017
16/10/2016
18/10/2015
19/10/2014
20/10/2013
21/10/2012

It should happen with 2011, but it doesn't.


To use as date, it's you need to follow these steps:

_clear the direct format
_it will include an ' in front of the value
_delete the ' in front of value
_now it's formatted as date

Please see attached video

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


[Libreoffice-bugs] [Bug 47832] FILESAVE: Pictures on buttons, created in forms, gone after reopening form

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=47832

--- Comment #47 from Commit Notification 
libreoffice-comm...@lists.freedesktop.org ---
Zolnai Tamás committed a patch related to this issue.
It has been pushed to libreoffice-5-0-0:

http://cgit.freedesktop.org/libreoffice/core/commit/?id=702cc62537676a66dc4d714598e6949527dbe629h=libreoffice-5-0-0

tdf#47832: Pictures on buttons, created in forms, gone after reopening form

It will be available in 5.0.0.

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

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


[Libreoffice-bugs] [Bug 92874] SLIDESHOW: first slide shown blank in .PPT

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92874

--- Comment #4 from mpredosin+libreoff...@gmail.com ---
Created attachment 117393
  -- https://bugs.documentfoundation.org/attachment.cgi?id=117393action=edit
Slide 1

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


[Libreoffice-bugs] [Bug 92874] SLIDESHOW: first slide shown blank in .PPT

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92874

--- Comment #5 from mpredosin+libreoff...@gmail.com ---
Created attachment 117394
  -- https://bugs.documentfoundation.org/attachment.cgi?id=117394action=edit
Slide 2

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


[Libreoffice-bugs] [Bug 92874] SLIDESHOW: first slide shown blank in .PPT

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92874

--- Comment #8 from mpredosin+libreoff...@gmail.com ---
Graphics card: Nvidia GeForce GTX 780
Monitor:   Dell U3014
Resolution:2560x1600

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


[Libreoffice-bugs] [Bug 92792] Windows: SDBC driver error when attempting to connect to Thunderbird addressbook

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92792

Florian Reisinger reisi...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||reisi...@gmail.com
 Ever confirmed|0   |1
 Whiteboard||win64only

--- Comment #2 from Florian Reisinger reisi...@gmail.com ---
Tested on Windows 8.1 64 bit:

Repo
Version: 5.1.0.0.alpha1+ (x64)
Build-ID: 5a61d7f049a81d6e747d9d097f364ae45f58697b
TinderBox: Win-x86_64@62-TDF, Branch:MASTER, Time: 2015-07-16_01:06:26
Gebietsschema: de-AT (de_AT)

No repo:
 16:08 Reisi007 Works: Version: 4.3.1.2
 16:08 Reisi007 Build-ID: 958349dc3b25111dbca392fbc281a05559ef6848

5.0rc1 - repo x64 no repo x86

On phone now. Tested @16th of July.
Unable to test more up to date versions ATM.

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


[Libreoffice-bugs] [Bug 88361] Excel file (MSO 2003 XML format) corrupted after save as

2015-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=88361

--- Comment #13 from Mario Diaz isoft...@gmail.com ---
Corrupt save from LO to Excel damage file.

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


  1   2   3   >