[Libreoffice-bugs] [Bug 94550] Unwanted characters when printing

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94550

John Jeffrey  changed:

   What|Removed |Added

Version|unspecified |5.0.2.1 rc

-- 
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 94496] FILEOPEN: CALC wrong calculation with more than 100 rows

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94496

--- Comment #5 from silvio  ---
(In reply to MM from comment #4)
> Duplicate of bug 94271 ?

No, it's not a duplicate.
I have always the same wrong result and not always other wrong results.
See my formula: it's a very simple addition of "cell n + 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 92807] Runtime error! R6025 - pure virtual function call after exiting Writer

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92807

--- Comment #11 from krosebr1...@comcast.net ---
Again today.  Made a minor change.  Clicked 'X' to close.  Asked if I wanted to
save.  Said to save.  Immediately after saving the error came up.
Note that since the last time I have opened, edited, and saved this file and
many others.

-- 
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/loolmap.c

2015-09-27 Thread Henry Castro
 loolwsd/loolmap.c |1 +
 1 file changed, 1 insertion(+)

New commits:
commit fdc9881be5ab4abc97090642e032ee68a9e89c1c
Author: Henry Castro 
Date:   Sun Sep 27 12:18:18 2015 -0400

loolwsd: add string.h header to avoid warnings.

diff --git a/loolwsd/loolmap.c b/loolwsd/loolmap.c
index 8397537..1008847 100644
--- a/loolwsd/loolmap.c
+++ b/loolwsd/loolmap.c
@@ -1,3 +1,4 @@
+#include 
 #include 
 #include 
 #include 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 94548] New: EDITING: Inconsistent field names __RefNumPara__ vs. __RefHeading__

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94548

Bug ID: 94548
   Summary: EDITING: Inconsistent field names __RefNumPara__ vs.
__RefHeading__
   Product: LibreOffice
   Version: 5.0.2.2 release
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: tom...@freenet.de

Created attachment 119069
  --> https://bugs.documentfoundation.org/attachment.cgi?id=119069=edit
ODT document with cross-references to numbered list elements

Version: 5.0.2.2
Build ID: 37b43f919e4de5eeaca9b9755ed688758a8251fe
Locale: de-DE (en_US.utf8)

I have an ODT document with more than 100 cross-references to elements of one
numbered list that was originally created in LO 4.2 and LO 4.3. When turning on
the field names (Ctrl+F9) I noticed that most of these cross-references refer
to __RefNumPara__, while some refer to __RefHeading__.

After upgrading to LO 5.0.2.2 (I skipped LO 4.4) all cross-references referring
to __RefHeading__ failed. Even after re-inserting all failing cross-references
and saving the document, they still refer to __RefHeading__ and they still fail
the next time the document is opened and all references are updated per F9.

Unfortunately, I cannot attach the original ODT document for privacy reasons.
However, I added a different ODT document that shows that now all references to
numbered list elements seem to be inserted as __RefHeading__ field names.

So, my questions are:
1) What is the intended field name for numbered list elements, __RefNumPara__
or __RefHeading__?
2) How can I clean up the >100 cross-references in my ODT document so that they
will all work correctly under LO 5.0.2.2?

BTW: I also noted, that „Fields → Cross-references → Insert reference to“
starts always with „Page“, regardless of the setting used for the recently
inserted cross-reference. It would be easier for the user, if it would start
with the settings used for the recently inserted cross-reference.

Regards
Tom

-- 
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 93124] PPT import: slide titles are misplaced

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93124

Mike Kaganski  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |mikekagan...@hotmail.com
   |desktop.org |

--- Comment #2 from Mike Kaganski  ---
Submitted patch to gerrit: https://gerrit.libreoffice.org/18895

-- 
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 94454] No Help for Template Manager Available

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94454

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||todven...@suomi24.fi
  Component|LibreOffice |Documentation
 Ever confirmed|0   |1
 OS|Windows (All)   |All

--- Comment #1 from Beluga  ---
Sure -> NEW.

Win 7 Pro 64-bit, Version: 5.0.2.2 (x64)
Build ID: 37b43f919e4de5eeaca9b9755ed688758a8251fe
Locale: fi-FI (fi_FI)

Version: 5.1.0.0.alpha1+ (x64)
Build ID: 8d16834a9820fb8c983753c3e2a05922885060b9
TinderBox: Win-x86_64@62-TDF, Branch:MASTER, Time: 2015-09-22_21:29:32
Locale: en-US (fi_FI)

-- 
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-09-27 Thread Henry Castro
 loolwsd/loolwsd-systemplate-setup |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 7f9c24eeaeb9dbb5098447ec1a14631b2dd28254
Author: Henry Castro 
Date:   Sun Sep 27 12:14:57 2015 -0400

loolwsd: use g++ to avoid warnings.

diff --git a/loolwsd/loolwsd-systemplate-setup 
b/loolwsd/loolwsd-systemplate-setup
index cd11172..0099dfd 100755
--- a/loolwsd/loolwsd-systemplate-setup
+++ b/loolwsd/loolwsd-systemplate-setup
@@ -109,7 +109,7 @@ int main ()
 }
 _ACEOF
 
-gcc_compile='gcc -o $dummy.o -c $dummy.cpp'
+gcc_compile='g++ -o $dummy.o -c $dummy.cpp'
 (eval "$gcc_compile") 2>$dummy.err
 
 if ! test $? = 0; then
@@ -117,7 +117,7 @@ if ! test $? = 0; then
   exit 1;
 fi
 
-gcc_link='gcc -o $dummy -lcap -lpng -ldl  -lPocoNet -lPocoUtil -lPocoXML 
-lPocoJSON -lPocoFoundation $dummy.o'
+gcc_link='g++ -o $dummy -lcap -lpng -ldl  -lPocoNet -lPocoUtil -lPocoXML 
-lPocoJSON -lPocoFoundation $dummy.o'
 (eval "$gcc_link") 2>$dummy.err
 
 if ! test $? = 0; then
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 94464] Text Body default line spacing too big

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94464

--- Comment #8 from V Stuart Foote  ---
(In reply to Cor Nouws from comment #7)
> I refer to the style Text body.
> distance now is 120%, space below 0.25 cm
> My question is if 108% distance and 0.20 cm would be OK.

OK, I see now. Seems there is a distinction to be made between Default style,
which uses the font defined Single line metric, and Text Body style which
currently sets the proportional value--apparently incorrectly, i.e. too large.

I had wondered why we use Default so much more than Text Body--but if you think
of the amount of floating point calculations that have to be applied to render
fonts proportionally it is much better for performance if we use the font
metrics provided as Single line spacing. Nothing to be recalculated. I don't
know if that is intentional given an apparent preference for Default style.

But, what I'd think makes more sense would be to redefine Text Body style more
simply. And to use the Single line spacing--as the Default style does--and to
not set Text Body style to use Proportional spacing at all.  

As to space below, believe there is a .25cm <--> .10in conversion in play for
the space below setting when toggling between metric and inch based formats. 
But I believe those values are squishy. Either "spacing" gets recalculated in
twips, i.e. 1/20pt * 72pt/in  or nominal GUI units of 1/1,440 in. Values are
then converted to mm ( convertTwipToMM100 ) when working in metric in the
document shell. 

IIUC the Text Body spacing below of .10in is 144 twips, but for metric the
.25cm ~= 141.73, gets rounded to 142 twips--so can have weird impact on the
document canvas depending on location/page layout.

Believe that while modifying the Text Body style, the Spacing below paragraph
for the style would do well at .127cm / .05in / 72 twips, which in metric
rounds to 0.13 cm or ~= 74 twips. It looks good, and should have low impact on
performance if folks start using Text Body style.

-- 
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 58425] LibreOffice Draw program doesn't correctly open Visio Stencils (.vss/.vsx) and Templates (.vst/vtx)

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=58425

--- Comment #22 from Christoph Sold  ---
Created attachment 119073
  --> https://bugs.documentfoundation.org/attachment.cgi?id=119073=edit
Visio Stencil file, containing network switch stencils from D-Link

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


[Bug 94306] Replace boost::noncopyable with plain C++11 deleted copy ctors

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94306

--- Comment #11 from Siddharth Khabia  ---
i find this bug great to start off with so can i also join in with umang and do
the sw module to get hang of this ?

once i am done with with sw how do i submit it ?

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


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

2015-09-27 Thread Henry Castro
 loolwsd/Util.cpp |   67 +++
 loolwsd/Util.hpp |6 
 2 files changed, 73 insertions(+)

New commits:
commit 0e6367c1692b992d7c97eb343fbfcd29eb4185da
Author: Henry Castro 
Date:   Sun Sep 27 12:27:40 2015 -0400

loolwsd: add FIFO write, read utilities

diff --git a/loolwsd/Util.cpp b/loolwsd/Util.cpp
index 85bae00..20229da 100644
--- a/loolwsd/Util.cpp
+++ b/loolwsd/Util.cpp
@@ -7,6 +7,8 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
+#include 
+
 #include 
 #include 
 #include 
@@ -165,6 +167,71 @@ namespace Util
 return std::to_string(signo);
 }
 }
+
+ssize_t writeFIFO(int nPipe, const char* pBuffer, ssize_t nSize)
+{
+ssize_t nBytes = -1;
+ssize_t nCount = 0;
+
+while(true)
+{
+nBytes = write(nPipe, pBuffer + nCount, nSize - nCount);
+if (nBytes < 0)
+{
+if (errno == EINTR || errno == EAGAIN)
+continue;
+
+nCount = -1;
+break;
+}
+else if ( nCount + nBytes < nSize )
+{
+nCount += nBytes;
+}
+else
+{
+nCount = nBytes;
+break;
+}
+}
+
+return nCount;
+}
+
+ssize_t readFIFO(int nPipe, char* pBuffer, ssize_t nSize)
+{
+ssize_t nBytes;
+do
+{
+nBytes = read(nPipe, pBuffer, nSize);
+}
+while ( nBytes < 0 && errno == EINTR );
+
+return nBytes;
+}
+
+ssize_t readMessage(int nPipe, char* pBuffer, ssize_t nSize)
+{
+ssize_t nBytes = -1;
+struct pollfd aPoll;
+
+aPoll.fd = nPipe;
+aPoll.events = POLLIN;
+aPoll.revents = 0;
+
+int nPoll = poll(, 1, 3000);
+if ( nPoll < 0 )
+goto ErrorPoll;
+
+if ( nPoll == 0 )
+errno = ETIME;
+
+if( (aPoll.revents & POLLIN) != 0 )
+nBytes = readFIFO(nPipe, pBuffer, nSize);
+
+ErrorPoll:
+return nBytes;
+}
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/loolwsd/Util.hpp b/loolwsd/Util.hpp
index 64e48d0..3893011 100644
--- a/loolwsd/Util.hpp
+++ b/loolwsd/Util.hpp
@@ -28,6 +28,12 @@ namespace Util
 void shutdownWebSocket(Poco::Net::WebSocket& ws);
 
 std::string signalName(int signo);
+
+ssize_t writeFIFO(int nPipe, const char* pBuffer, ssize_t nSize);
+
+ssize_t readFIFO(int nPipe, char* pBuffer, ssize_t nSize);
+
+ssize_t readMessage(int nPipe, char* pBuffer, ssize_t nSize);
 };
 
 #endif
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Bug 94306] Replace boost::noncopyable with plain C++11 deleted copy ctors

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94306

--- Comment #12 from Siddharth Khabia  ---
i find this bug great to start off with so can i also join in with umang and do
the sw module to get hang of this ?

once i am done with with sw how do i submit it ?

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


[Libreoffice-bugs] [Bug 94453] Printing begins outside printing margin

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94453

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1

--- Comment #1 from Beluga  ---
Can you test with 5.0.2 to see, if it still happens? If you are on Ubuntu you
can use this ppa: https://launchpad.net/~libreoffice/+archive/ubuntu/ppa

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the testing results.

-- 
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 92217] UI Grey text background in read-only document infobar

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92217

Beluga  changed:

   What|Removed |Added

 CC||yanp...@gmail.com

--- Comment #3 from Beluga  ---
*** Bug 94452 has been marked as a duplicate of this bug. ***

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


[Libreoffice-bugs] [Bug 94452] Message, showing that file is read-only has gtk text highlighting (not yellow)

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94452

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||todven...@suomi24.fi
 Resolution|--- |DUPLICATE

--- Comment #2 from Beluga  ---


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

-- 
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 94459] .doc: Formula width displayed much larger than in Word

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94459

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1

--- Comment #2 from Beluga  ---
Confirmed the stretching.

Win 7 Pro 64-bit, Version: 5.0.2.2 (x64)
Build ID: 37b43f919e4de5eeaca9b9755ed688758a8251fe
Locale: fi-FI (fi_FI)

Version: 5.1.0.0.alpha1+ (x64)
Build ID: 8d16834a9820fb8c983753c3e2a05922885060b9
TinderBox: Win-x86_64@62-TDF, Branch:MASTER, Time: 2015-09-22_21:29:32
Locale: en-US (fi_FI)

-- 
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 94408] Tree expanders missing from "Options" when using Oxygen windeco+widgets

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94408

Yousuf (Jay) Philips  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||philip...@hotmail.com
 Resolution|--- |NOTOURBUG

--- Comment #7 from Yousuf (Jay) Philips  ---
Hi Paul,

Icon themes are depended on more complete icon themes, so if the dependency
icon themes arent installed, icons will show up missing in dependent icon
themes. This issue has to be fix by package maintainers by setting the
necessary dependency packages for icon themes packages.

-- 
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 89668] SLIDE PANE: Move slide manipulation buttons to the bottom of the pane

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=89668

--- Comment #11 from Yousuf (Jay) Philips  ---
(In reply to V Stuart Foote from comment #5)
> Unclear from the mockup. Are you suggesting eliminating the current toolbar
> and merging its button widgets into the "Slide Pane"? 
> 
> Or are you suggesting to retain the "Presentation" toolbar, and somehow
> "attach" it to the bottom of the Slide pane?

Yes the intent is to hide the current toolbars (one for normal mode and one for
master mode) and merge the buttons into the slide pane.

> But, merging the toolbar button widgets into the Slide Pane would be more
> complex--would loose toolbar functionality, and would have impact on Draw
> which uses the same code for its Page Pane. In Draw, there is no Toolbar mix
> comparable to "Presentation".

Yes its is a complex feature to introduce but it wouldnt negatively impact
draw, as draw also has most of the same functions (add, duplicate, delete
page).

(In reply to V Stuart Foote from comment #8)
> The button action can of course be added anywhere--toolbar or .UI widget.
> Issue I have with doing it with widget is because the buttons get a  fixed
> size the Slides or Pages preview/sorter panes will have to expand to
> accommodate however many are pinned into the .ui layout. We've had that
> issue over on the Sidebar deck content panels.

Nothing to worry about there, as the 4 buttons can easily fit within the
default allocated space, and for draw, there would only be 3 buttons.

-- 
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 89668] SLIDE PANE: Move slide manipulation buttons to the bottom of the pane

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=89668

--- Comment #11 from Yousuf (Jay) Philips  ---
(In reply to V Stuart Foote from comment #5)
> Unclear from the mockup. Are you suggesting eliminating the current toolbar
> and merging its button widgets into the "Slide Pane"? 
> 
> Or are you suggesting to retain the "Presentation" toolbar, and somehow
> "attach" it to the bottom of the Slide pane?

Yes the intent is to hide the current toolbars (one for normal mode and one for
master mode) and merge the buttons into the slide pane.

> But, merging the toolbar button widgets into the Slide Pane would be more
> complex--would loose toolbar functionality, and would have impact on Draw
> which uses the same code for its Page Pane. In Draw, there is no Toolbar mix
> comparable to "Presentation".

Yes its is a complex feature to introduce but it wouldnt negatively impact
draw, as draw also has most of the same functions (add, duplicate, delete
page).

(In reply to V Stuart Foote from comment #8)
> The button action can of course be added anywhere--toolbar or .UI widget.
> Issue I have with doing it with widget is because the buttons get a  fixed
> size the Slides or Pages preview/sorter panes will have to expand to
> accommodate however many are pinned into the .ui layout. We've had that
> issue over on the Sidebar deck content panels.

Nothing to worry about there, as the 4 buttons can easily fit within the
default allocated space, and for draw, there would only be 3 buttons.

-- 
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-bugs] [Bug 89541] SIDEBAR: Fill drop down cropped in Area section

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=89541

Yousuf (Jay) Philips  changed:

   What|Removed |Added

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

--- Comment #2 from Yousuf (Jay) Philips  ---
This has been fixed with bug 90078.

-- 
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 65138] [META] Sidebar feature related issues

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=65138
Bug 65138 depends on bug 89541, which changed state.

Bug 89541 Summary: SIDEBAR: Fill drop down cropped in Area section
https://bugs.documentfoundation.org/show_bug.cgi?id=89541

   What|Removed |Added

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

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


[Libreoffice-bugs] [Bug 60674] Provide better access to the selection of custom background colors for slides (page setup menu)

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=60674

Yousuf (Jay) Philips  changed:

   What|Removed |Added

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

-- 
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 89668] SLIDE PANE: Move slide manipulation buttons to the bottom of the pane

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=89668

--- Comment #10 from V Stuart Foote  ---
(In reply to Richard Prins from comment #9)

>... Why does
> using space in the bottom of the slides sidebar reduce space in the main
> editing window? The sidebar would have the same width right?

As in comment 8
... the Slides or Pages preview/sorter panes will have to expand to accommodate
however many are pinned into the .ui layout.

No the Slides/Pages pane, canvas and Sidebar consume the space across the UI.
As you adjust one you impact the others. Content of the Slides/Pages pane
responds to available width. 

You can see the effect when you grab the right edge of the Slides/Pages pane
and drag it larger or smaller. The preview of each slide/page will enlarge or
shrink to fit the width.  

If as suggested, .UI button widgets are inserted into the pane(s), the icons
used would not resize--so the width would either have to be limited (it now is
not), or the buttons will have to hide as width of pane(s) shrink.  Depending
on how many buttons are added, the default width of the pane(s) and previews
will need to increase---reducing space available on the Presentation or Drawing
canvas.

Not a problem at 1920x1080 but folks still at 4:3 1024x768 will not be happy.
But, since our minimum "supported" size has been moving toward 1366x768, impact
would likely be acceptable in general.

-- 
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 89668] SLIDE PANE: Move slide manipulation buttons to the bottom of the pane

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=89668

--- Comment #10 from V Stuart Foote  ---
(In reply to Richard Prins from comment #9)

>... Why does
> using space in the bottom of the slides sidebar reduce space in the main
> editing window? The sidebar would have the same width right?

As in comment 8
... the Slides or Pages preview/sorter panes will have to expand to accommodate
however many are pinned into the .ui layout.

No the Slides/Pages pane, canvas and Sidebar consume the space across the UI.
As you adjust one you impact the others. Content of the Slides/Pages pane
responds to available width. 

You can see the effect when you grab the right edge of the Slides/Pages pane
and drag it larger or smaller. The preview of each slide/page will enlarge or
shrink to fit the width.  

If as suggested, .UI button widgets are inserted into the pane(s), the icons
used would not resize--so the width would either have to be limited (it now is
not), or the buttons will have to hide as width of pane(s) shrink.  Depending
on how many buttons are added, the default width of the pane(s) and previews
will need to increase---reducing space available on the Presentation or Drawing
canvas.

Not a problem at 1920x1080 but folks still at 4:3 1024x768 will not be happy.
But, since our minimum "supported" size has been moving toward 1366x768, impact
would likely be acceptable in general.

-- 
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] online.git: Branch 'private/hcvcastro/forking' - loolwsd/LOOLKit.cpp

2015-09-27 Thread Henry Castro
 loolwsd/LOOLKit.cpp |  172 +---
 1 file changed, 112 insertions(+), 60 deletions(-)

New commits:
commit 02d114191d23e701282c14ff5cd580eaf42564e8
Author: Henry Castro 
Date:   Sun Sep 27 13:39:09 2015 -0400

loolwsd: add Connection thread class

diff --git a/loolwsd/LOOLKit.cpp b/loolwsd/LOOLKit.cpp
index bacb2dc..ac5ebc3 100644
--- a/loolwsd/LOOLKit.cpp
+++ b/loolwsd/LOOLKit.cpp
@@ -46,6 +46,9 @@ using Poco::StringTokenizer;
 using Poco::Exception;
 using Poco::Process;
 
+const int MASTER_PORT_NUMBER = 9981;
+const std::string CHILD_URI = "/loolws/child/";
+
 class QueueHandler: public Runnable
 {
 public:
@@ -80,8 +83,115 @@ private:
 tsqueue& _queue;
 };
 
-const int MASTER_PORT_NUMBER = 9981;
-const std::string CHILD_URI = "/loolws/child/";
+class Connection: public Runnable
+{
+public:
+Connection(LibreOfficeKit *loKit, Poco::UInt64 childId, const std::string& 
threadId) :
+_loKit(loKit),
+_childId(childId),
+_threadId(threadId)
+{
+}
+
+void start()
+{
+_thread.start(*this);
+}
+
+bool isRunning()
+{
+return _thread.isRunning();
+}
+
+void run() override
+{
+#ifdef __linux
+if (prctl(PR_SET_NAME, reinterpret_cast("lokit_connection"), 0, 0, 0) != 0)
+std::cout << Util::logPrefix() << "Cannot set thread name :" << 
strerror(errno) << std::endl;
+#endif
+try
+{
+// Open websocket connection between the child process and the
+// parent. The parent forwards us requests that it can't handle.
+
+HTTPClientSession cs("127.0.0.1", MASTER_PORT_NUMBER);
+cs.setTimeout(0);
+HTTPRequest request(HTTPRequest::HTTP_GET, CHILD_URI);
+HTTPResponse response;
+std::shared_ptr ws(new WebSocket(cs, request, 
response));
+
+std::shared_ptr session(new 
ChildProcessSession(ws, _loKit));
+ws->setReceiveTimeout(0);
+
+// child Jail TID PID
+std::string hello("child " + std::to_string(_childId) + " " +
+_threadId + " " + std::to_string(Process::id()));
+session->sendTextFrame(hello);
+
+tsqueue queue;
+Thread queueHandlerThread;
+QueueHandler handler(queue);
+
+handler.setSession(session);
+queueHandlerThread.start(handler);
+
+int flags;
+int n;
+do
+{
+char buffer[1024];
+n = ws->receiveFrame(buffer, sizeof(buffer), flags);
+
+if (n > 0 && (flags & WebSocket::FRAME_OP_BITMASK) != 
WebSocket::FRAME_OP_CLOSE)
+{
+std::string firstLine = getFirstLine(buffer, n);
+StringTokenizer tokens(firstLine, " ", 
StringTokenizer::TOK_IGNORE_EMPTY | StringTokenizer::TOK_TRIM);
+
+// The only kind of messages a child process receives are 
the single-line ones (?)
+assert(firstLine.size() == 
static_cast(n));
+
+// Check if it is a "canceltiles" and in that case remove 
outstanding
+// "tile" messages from the queue.
+if (tokens.count() == 1 && tokens[0] == "canceltiles")
+{
+queue.remove_if([](std::string& x) {
+return (x.find("tile ") == 0 && x.find("id=") == 
std::string::npos);
+});
+}
+else
+{
+queue.put(firstLine);
+}
+}
+}
+while (n > 0 && (flags & WebSocket::FRAME_OP_BITMASK) != 
WebSocket::FRAME_OP_CLOSE);
+
+queue.clear();
+queue.put("eof");
+queueHandlerThread.join();
+}
+
+catch (Exception& exc)
+{
+std::cout << Util::logPrefix() + "Exception: " + exc.what() << 
std::endl;
+}
+catch (std::exception& exc)
+{
+std::cout << Util::logPrefix() + "Exception: " + exc.what() << 
std::endl;
+}
+}
+
+~Connection()
+{
+//_thread.stop();
+}
+
+private:
+LibreOfficeKit *_loKit;
+Poco::UInt64 _childId;
+std::string _threadId;
+Thread _thread;
+};
 
 void run_lok_main(const std::string , Poco::UInt64 _childId)
 {
@@ -107,64 +217,6 @@ void run_lok_main(const std::string , 
Poco::UInt64 _childId)
 exit(-1);
 }
 
-// Open websocket connection between the child process and the
-// parent. The parent forwards us requests that it can't handle.
-
-HTTPClientSession cs("127.0.0.1", MASTER_PORT_NUMBER);
-cs.setTimeout(0);
-HTTPRequest request(HTTPRequest::HTTP_GET, CHILD_URI);
-HTTPResponse response;
-std::shared_ptr ws(new 

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

2015-09-27 Thread Henry Castro
 loolwsd/LOOLBroker.cpp |5 +
 loolwsd/LOOLKit.cpp|  146 -
 2 files changed, 148 insertions(+), 3 deletions(-)

New commits:
commit ace1ec813db24c248c66fde0699ddf44c53c30a8
Author: Henry Castro 
Date:   Sun Sep 27 13:59:24 2015 -0400

loolwsd: add FIFO pipe to lokit process.

diff --git a/loolwsd/LOOLBroker.cpp b/loolwsd/LOOLBroker.cpp
index 57a5cef..ee04ed8 100644
--- a/loolwsd/LOOLBroker.cpp
+++ b/loolwsd/LOOLBroker.cpp
@@ -255,7 +255,7 @@ static int createLibreOfficeKit(bool sharePages, 
std::string loSubPath, Poco::UI
 
 if (!(pid = fork()))
 { // child
-run_lok_main(loSubPath, childID);
+run_lok_main(loSubPath, childID, "");
 _exit(0);
 }
 else
@@ -266,8 +266,11 @@ static int createLibreOfficeKit(bool sharePages, 
std::string loSubPath, Poco::UI
 else
 {
 Process::Args args;
+std::string pipe = "";
+
 args.push_back("--losubpath=" + loSubPath);
 args.push_back("--child=" + std::to_string(childID));
+args.push_back("--pipe=" + pipe);
 
 std::string executable = "loolkit";
 
diff --git a/loolwsd/LOOLKit.cpp b/loolwsd/LOOLKit.cpp
index ac5ebc3..9d0376b 100644
--- a/loolwsd/LOOLKit.cpp
+++ b/loolwsd/LOOLKit.cpp
@@ -12,6 +12,7 @@
  */
 
 #include 
+#include 
 
 #include 
 #include 
@@ -48,6 +49,7 @@ using Poco::Process;
 
 const int MASTER_PORT_NUMBER = 9981;
 const std::string CHILD_URI = "/loolws/child/";
+const std::string LOKIT_BROKER = "/tmp/loolbroker.fifo";
 
 class QueueHandler: public Runnable
 {
@@ -193,8 +195,17 @@ private:
 Thread _thread;
 };
 
-void run_lok_main(const std::string , Poco::UInt64 _childId)
+void run_lok_main(const std::string , Poco::UInt64 _childId, const 
std::string& pipe)
 {
+struct pollfd aPoll;
+ssize_t nBytes = -1;
+char  aBuffer[1024*2];
+char* pStart = NULL;
+char* pEnd = NULL;
+
+std::string aURL;
+std::map _connections;
+
 assert (_childId != 0);
 assert (!loSubPath.empty());
 
@@ -217,8 +228,126 @@ void run_lok_main(const std::string , 
Poco::UInt64 _childId)
 exit(-1);
 }
 
+int writerBroker;
+int readerBroker;
+
+if ( (readerBroker = open(pipe.c_str(), O_RDONLY) ) < 0 )
+{
+std::cout << Util::logPrefix() << "open pipe read only: " << 
strerror(errno) << std::endl;
+exit(-1);
+}
+
+if ( (writerBroker = open(LOKIT_BROKER.c_str(), O_WRONLY) ) < 0 )
+{
+std::cout << Util::logPrefix() << "open pipe write only: " << 
strerror(errno) << std::endl;
+exit(-1);
+}
+
+std::cout << Util::logPrefix() << "child ready!" << std::endl;
+
+std::string aResponse;
+std::string aMessage;
+
+while ( true )
+{
+if ( pStart == pEnd )
+{
+aPoll.fd = readerBroker;
+aPoll.events = POLLIN;
+aPoll.revents = 0;
+
+(void)poll(, 1, -1);
+
+if( (aPoll.revents & POLLIN) != 0 )
+{
+nBytes = Util::readFIFO(readerBroker, aBuffer, 
sizeof(aBuffer));
+if (nBytes < 0)
+{
+pStart = pEnd = NULL;
+std::cout << Util::logPrefix() << "Error reading 
message :" << strerror(errno) << std::endl;
+continue;
+}
+pStart = aBuffer;
+pEnd   = aBuffer + nBytes;
+}
+}
+
+if ( pStart != pEnd )
+{
+char aChar = *pStart++;
+while (pStart != pEnd && aChar != '\r' && aChar != '\n')
+{
+aMessage += aChar;
+aChar = *pStart++;
+}
+
+if ( aChar == '\r' && *pStart == '\n')
+{
+pStart++;
+//std::cout << Util::logPrefix() << "child receive: " << 
aMessage << std::endl;
+StringTokenizer tokens(aMessage, " ", 
StringTokenizer::TOK_IGNORE_EMPTY | StringTokenizer::TOK_TRIM);
+
+if (tokens[0] == "search")
+{
+if ( !_connections.empty() )
+{
+aResponse = std::to_string(Process::id()) + ( aURL 
== tokens[1] ? " ok \r\n" : " no \r\n");
+Util::writeFIFO(writerBroker, aResponse.c_str(), 
aResponse.length() );
+}
+else
+{
+aURL.clear();
+aResponse = std::to_string(Process::id()) + " 
empty \r\n";
+Util::writeFIFO(writerBroker, aResponse.c_str(), 

[Libreoffice-bugs] [Bug 94449] Changing the paragraph style removes index entries.

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94449

Beluga  changed:

   What|Removed |Added

   Keywords||regression
 Status|UNCONFIRMED |NEW
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1
 Whiteboard||bibisectRequest

--- Comment #1 from Beluga  ---
Reproduced.

It is not in 4.3.0.1 Windows either, so I guess it exists in current Linux, too
and can be bibisected.

Win 7 Pro 64-bit, Version: 5.0.2.2 (x64)
Build ID: 37b43f919e4de5eeaca9b9755ed688758a8251fe
Locale: fi-FI (fi_FI)

-- 
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 94522] Keyboard shortcut assigned to a macro is not saved in the document:

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94522

--- Comment #1 from gmoll...@us.es ---
 Español -
Mientras se puede crear el atajo de teclado desde la propia macro y luego
eliminar el atajo al cerrar el documento tal como enseñan a hacer en este blog:
http://blog.open-office.es/index.php/basic/2015/09/26/macro-para-asignar-una-macro-a-un-atajo-de-teclado

 Esperanto -
Intertempe vi povas krei la klavkombinon en la makroo kaj poste ĝi forigos la
klavkombinon kiam vi fermos la dokumenton kiel ilia instruas en la blogo (en la
hispana):
http://blog.open-office.es/index.php/basic/2015/09/26/macro-para-asignar-una-macro-a-un-atajo-de-teclado

 English -
While you can create a keyboard shortcut for the macro itself and then delete
the shortcut to close the document as taught to do in this blog (in Spanish):
http://blog.open-office.es/index.php/basic/2015/09/26/macro-para-asignar-una-macro-a-un-atajo-de-teclado

-- 
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 65351] Sidebar: open pane that was active when last used

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=65351

--- Comment #19 from Pierre C  ---
(In reply to Jean-Francois Nifenecker from comment #18)
> 
> So, to summarize: set whatever pane as default pane in the Sidebar (though I
> would prefer the Stylist ;) When the user selects another Sidebar pane when
> working on a document, further opening that document should activate the
> chosen pane.

I absolutely agree with 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 94553] New: WIKIHELP: converter does not support nested lists

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94553

Bug ID: 94553
   Summary: WIKIHELP: converter does not support nested lists
   Product: LibreOffice
   Version: 5.0.0.5 release
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Documentation
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: tima...@gmail.com

Warning: Unhandled element "list" in "list"
(source/text/simpress/guide/gluepoints.xhp)
Warning: Unhandled element "listitem" in "None"
(source/text/simpress/guide/gluepoints.xhp)
Warning: Unhandled element "listitem" in "None"
(source/text/simpress/guide/gluepoints.xhp)
Warning: Unhandled element "listitem" in "None"
(source/text/simpress/guide/gluepoints.xhp)
Warning: Unhandled element "list" in "list"
(source/text/simpress/guide/gluepoints.xhp)
Warning: Unhandled element "listitem" in "None"
(source/text/simpress/guide/gluepoints.xhp)
Warning: Unhandled element "listitem" in "None"
(source/text/simpress/guide/gluepoints.xhp)
Warning: Unhandled element "listitem" in "None"
(source/text/simpress/guide/gluepoints.xhp)
Warning: Unhandled element "list" in "list"
(source/text/simpress/guide/gluepoints.xhp)
Warning: Unhandled element "listitem" in "None"
(source/text/simpress/guide/gluepoints.xhp)
Warning: Unhandled element "listitem" in "None"
(source/text/simpress/guide/gluepoints.xhp)
Warning: Unhandled element "listitem" in "None"
(source/text/simpress/guide/gluepoints.xhp)

-- 
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 94554] New: Conditional formatting in Base: some dialog buttons do not work (see attached image)

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94554

Bug ID: 94554
   Summary: Conditional formatting in Base: some dialog buttons do
not work (see attached image)
   Product: LibreOffice
   Version: 4.4.5.2 release
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Base
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: jared.mik...@gmail.com

Created attachment 119074
  --> https://bugs.documentfoundation.org/attachment.cgi?id=119074=edit
Buttons in red box do nothing when you click them

Summary: 

Font Color and Background Color buttons in the Conditional Formatting dialog
(Base) do nothing when you click them.


Steps to reproduce:

1.) Edit an existing Base report
2.) Select a text box to apply conditional formatting
3.) Select Menu > Format > Conditional formatting
[Conditional Formatting Dialog box appears]
4.) Select either the 'Font Color' or 'Background Color' buttons
[Nothing happens]

-- 
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 94543] Adding pattern to bitmap fill list corrupts standard.sob

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94543

MM  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Hardware|Other   |All
 Ever confirmed|0   |1

--- Comment #1 from MM  ---
Confirmed with v4.5.5.2 under windows 7 x64.

-- 
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 94547] Include a default set of fill patterns

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94547

--- Comment #1 from MM  ---
Duplicate of bug 70384 and maybe even sideways bug 44552 ???

-- 
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: 3 commits - sw/inc sw/source

2015-09-27 Thread Jan Holesovsky
 sw/inc/doc.hxx  |   12 -
 sw/inc/fesh.hxx |9 ++-
 sw/inc/swtable.hxx  |   20 
 sw/inc/tblafmt.hxx  |7 ++
 sw/source/core/doc/docnew.cxx   |2 
 sw/source/core/doc/tblafmt.cxx  |   23 -
 sw/source/core/doc/tblrwcl.cxx  |9 +++
 sw/source/core/docnode/ndtbl.cxx|   85 +---
 sw/source/core/docnode/ndtbl1.cxx   |2 
 sw/source/core/frmedt/fetab.cxx |   33 +++--
 sw/source/core/table/swtable.cxx|   10 ++--
 sw/source/ui/dbui/dbinsdlg.cxx  |2 
 sw/source/ui/table/tautofmt.cxx |2 
 sw/source/uibase/shells/textsh1.cxx |4 +
 14 files changed, 169 insertions(+), 51 deletions(-)

New commits:
commit 09fc6fef2d03ca8558dd6f0eec45d61ceb282cb5
Author: Jan Holesovsky 
Date:   Sat Sep 26 23:54:22 2015 +0200

sw table styles: Direct formatting takes precedence over table style.

Make sure we don't reset the direct formatting with the table style when
updating.

Change-Id: I07b4a687fd0403bd80d73732a66101b967398507

diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index 51631a3..f338348 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -1255,8 +1255,9 @@ public:
 
 void SetRowsToRepeat( SwTable , sal_uInt16 nSet );
 
-// AutoFormat for table/table selection.
-bool SetTableAutoFormat( const SwSelBoxes& rBoxes, const 
SwTableAutoFormat& rNew );
+/// AutoFormat for table/table selection.
+/// @param bResetDirect Reset direct formatting that might be applied to 
the cells.
+bool SetTableAutoFormat(const SwSelBoxes& rBoxes, const SwTableAutoFormat& 
rNew, bool bResetDirect = false);
 
 // Query attributes.
 bool GetTableAutoFormat( const SwSelBoxes& rBoxes, SwTableAutoFormat& rGet 
);
diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx
index a4829e8..47fe673 100644
--- a/sw/inc/fesh.hxx
+++ b/sw/inc/fesh.hxx
@@ -725,7 +725,8 @@ public:
 
 /// Update the direct formatting according to the current table style.
 /// @param pTableNode Table node to update.  When nullptr, current cursor 
position is used.
-bool UpdateTableStyleFormatting(SwTableNode *pTableNode = nullptr);
+/// @param bResetDirect Reset direct formatting that might be applied to 
the cells.
+bool UpdateTableStyleFormatting(SwTableNode *pTableNode = nullptr, bool 
bResetDirect = false);
 
 bool GetTableAutoFormat( SwTableAutoFormat& rGet );
 
diff --git a/sw/inc/swtable.hxx b/sw/inc/swtable.hxx
index 5f645e3..14e31c8 100644
--- a/sw/inc/swtable.hxx
+++ b/sw/inc/swtable.hxx
@@ -397,6 +397,9 @@ class SW_DLLPUBLIC SwTableBox: public SwClient  
//Client of FrameFormat.
 SwTableLine *pUpper;
 SwTableBox_Impl* pImpl;
 
+/// Do we contain any direct formatting?
+bool mbDirectFormatting;
+
 // In case Format contains formulas/values already,
 // a new one must be created for the new box.
 static SwTableBoxFormat* CheckBoxFormat( SwTableBoxFormat* );
@@ -404,7 +407,7 @@ class SW_DLLPUBLIC SwTableBox: public SwClient  
//Client of FrameFormat.
 public:
 TYPEINFO_OVERRIDE();
 
-SwTableBox() : pSttNd(0), pUpper(0), pImpl(0) {}
+SwTableBox() : pSttNd(0), pUpper(0), pImpl(0), mbDirectFormatting(false) {}
 
 SwTableBox( SwTableBoxFormat*, sal_uInt16 nLines, SwTableLine *pUp = 0 );
 SwTableBox( SwTableBoxFormat*, const SwStartNode&, SwTableLine *pUp = 0 );
@@ -421,6 +424,12 @@ public:
 SwFrameFormat* GetFrameFormat()   { return 
static_cast(GetRegisteredIn()); }
 SwFrameFormat* GetFrameFormat() const { return 
const_cast(static_cast(GetRegisteredIn())); }
 
+/// Set that this table box contains formatting that is not set by the 
table style.
+void SetDirectFormatting(bool bDirect) { mbDirectFormatting = bDirect; }
+
+/// Do we contain any direct formatting (ie. something not affected by the 
table style)?
+bool HasDirectFormatting() const { return mbDirectFormatting; }
+
 // Creates its own FrameFormat if more boxes depend on it.
 SwFrameFormat* ClaimFrameFormat();
 void ChgFrameFormat( SwTableBoxFormat *pNewFormat );
diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx
index 5d3499b..3911d84 100644
--- a/sw/source/core/docnode/ndtbl.cxx
+++ b/sw/source/core/docnode/ndtbl.cxx
@@ -3669,19 +3669,19 @@ struct _SetAFormatTabPara
 };
 
 // Forward declare so that the Lines and Boxes can use recursion
-static bool lcl_SetAFormatBox(_FndBox &, _SetAFormatTabPara *pSetPara);
-static bool lcl_SetAFormatLine(_FndLine &, _SetAFormatTabPara *pPara);
+static bool lcl_SetAFormatBox(_FndBox &, _SetAFormatTabPara *pSetPara, bool 
bResetDirect);
+static bool lcl_SetAFormatLine(_FndLine &, _SetAFormatTabPara *pPara, bool 
bResetDirect);
 
-static bool lcl_SetAFormatLine(_FndLine & rLine, _SetAFormatTabPara *pPara)
+static bool lcl_SetAFormatLine(_FndLine & rLine, 

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

2015-09-27 Thread Henry Castro
 loolwsd/LOOLBroker.cpp |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit c4a97a172b43272f97a215e26dbb45d82ec8943e
Author: Henry Castro 
Date:   Sun Sep 27 17:18:33 2015 -0400

loolwsd: change map childprocesses to store file descriptor FIFO

diff --git a/loolwsd/LOOLBroker.cpp b/loolwsd/LOOLBroker.cpp
index 90f58ee..1eec9fa 100644
--- a/loolwsd/LOOLBroker.cpp
+++ b/loolwsd/LOOLBroker.cpp
@@ -62,7 +62,7 @@ const std::string BROKER_PREFIX = "/tmp/lokit";
 
 static unsigned int childCounter = 0;
 
-static std::map _childProcesses;
+static std::map _childProcesses;
 
 namespace
 {
@@ -297,8 +297,9 @@ static int createLibreOfficeKit(bool sharePages, 
std::string loSubPath, Poco::UI
 return -1;
 }
 }
-_childProcesses[child] = child;
-return 0;
+
+_childProcesses[child] = nFIFOWriter;
+return child;
 }
 
 static void startupLibreOfficeKit(bool sharePages, int nLOKits,
___
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/LOOLBroker.cpp

2015-09-27 Thread Henry Castro
 loolwsd/LOOLBroker.cpp |   15 +++
 1 file changed, 15 insertions(+)

New commits:
commit 764f9f398ad86004509f5d8b3c527fc40c787bb6
Author: Henry Castro 
Date:   Sun Sep 27 17:33:05 2015 -0400

loolwsd: create reader FIFO to read messages from childs

diff --git a/loolwsd/LOOLBroker.cpp b/loolwsd/LOOLBroker.cpp
index 1c52500..f120ff6 100644
--- a/loolwsd/LOOLBroker.cpp
+++ b/loolwsd/LOOLBroker.cpp
@@ -57,9 +57,12 @@ using Poco::Process;
 using Poco::Thread;
 using Poco::ProcessHandle;
 
+const std::string FIFO_BROKER = "/tmp/loolbroker.fifo";
 const std::string BROKER_SUFIX = ".fifo";
 const std::string BROKER_PREFIX = "/tmp/lokit";
 
+static int readerChild = -1;
+
 static unsigned int childCounter = 0;
 
 static std::map _childProcesses;
@@ -466,6 +469,12 @@ int main(int argc, char** argv)
 dropCapability();
 #endif
 
+if (mkfifo(FIFO_BROKER.c_str(), 0666) == -1)
+{
+std::cout << Util::logPrefix() << "Fail to create pipe FIFO " << 
strerror(errno) << std::endl;
+exit(-1);
+}
+
 bool sharePages = globalPreinit(loSubPath);
 
 if ( startupLibreOfficeKit(sharePages, _numPreSpawnedChildren, loSubPath, 
_childId) < 0 )
@@ -474,6 +483,12 @@ int main(int argc, char** argv)
 exit(-1);
 }
 
+if ( (readerChild = open(FIFO_BROKER.c_str(), O_RDONLY) ) < 0 )
+{
+std::cout << Util::logPrefix() << "pipe opened for reading: " << 
strerror(errno) << std::endl;
+exit(-1);
+}
+
 while (_childProcesses.size() > 0)
 {
 int status;
___
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/LOOLBroker.cpp

2015-09-27 Thread Henry Castro
 loolwsd/LOOLBroker.cpp |  278 -
 1 file changed, 274 insertions(+), 4 deletions(-)

New commits:
commit 85de9ac86f0ca858439ad14492f1df1ec1e26a4e
Author: Henry Castro 
Date:   Sun Sep 27 18:04:12 2015 -0400

loolwsd: add pipe thread handler

diff --git a/loolwsd/LOOLBroker.cpp b/loolwsd/LOOLBroker.cpp
index 9097595..4737cc4 100644
--- a/loolwsd/LOOLBroker.cpp
+++ b/loolwsd/LOOLBroker.cpp
@@ -21,6 +21,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include 
 #include 
@@ -64,12 +65,17 @@ const std::string BROKER_PREFIX = "/tmp/lokit";
 
 static int readerChild = -1;
 static int readerBroker = -1;
+static int timeoutCounter = 0;
 
 static unsigned int forkCounter = 0;
 static unsigned int childCounter = 0;
 
 static std::mutex forkMutex;
-static std::map _childProcesses;
+static std::deque _emptyURL;
+static std::map _childProcesses;
+static std::map _cacheURL;
+
+Poco::NamedMutex _namedMutexLOOL("loolwsd");
 
 namespace
 {
@@ -232,6 +238,266 @@ namespace
 }
 }
 
+class PipeRunnable: public Runnable
+{
+public:
+PipeRunnable()
+{
+_pStart = _pEnd = NULL;
+}
+
+ssize_t getResponseLine(int nPipeReader, std::string& aLine)
+{
+ssize_t nBytes = -1;
+aLine.clear();
+
+while (true)
+{
+if ( _pStart == _pEnd )
+{
+nBytes = Util::readMessage(nPipeReader, aBuffer, 
sizeof(aBuffer));
+if ( nBytes < 0 )
+{
+_pStart = _pEnd = NULL;
+break;
+}
+
+_pStart = aBuffer;
+_pEnd   = aBuffer + nBytes;
+}
+
+if ( _pStart != _pEnd )
+{
+char aChar = *_pStart++;
+while (_pStart != _pEnd && aChar != '\r' && aChar != '\n')
+{
+aLine += aChar;
+aChar  = *_pStart++;
+}
+
+if ( aChar == '\r' && *_pStart == '\n')
+{
+_pStart++;
+break;
+}
+}
+}
+
+return nBytes;
+}
+
+ssize_t sendMessage(int nPipeWriter, const std::string& aMessage)
+{
+ssize_t nBytes = -1;
+
+nBytes = Util::writeFIFO(nPipeWriter, aMessage.c_str(), 
aMessage.length());
+if ( nBytes < 0 )
+std::cout << Util::logPrefix() << "Error writting child: " << 
strerror(errno) << std::endl;
+
+return nBytes;
+}
+
+ssize_t createThread(Process::PID nPID, const std::string& aTID)
+{
+std::string aResponse;
+std::string aMessage = "thread " + aTID + "\r\n";
+return sendMessage(_childProcesses[nPID], aMessage);
+}
+
+ssize_t updateURL(Process::PID nPID, const std::string& aURL)
+{
+std::string aResponse;
+std::string aMessage = "url " + aURL + "\r\n";
+return sendMessage(_childProcesses[nPID], aMessage);
+}
+
+Process::PID searchURL(const std::string& aURL)
+{
+ssize_t nBytes = -1;
+Process::PID nPID = 0;
+std::string aResponse;
+std::string aMessage = "search " + aURL + "\r\n";
+
+auto aIterator = _childProcesses.begin();
+for ( ; aIterator!=_childProcesses.end(); ++aIterator)
+{
+if ( !(aIterator->first > 0 && aIterator->second > 0) )
+{
+//std::cout << Util::logPrefix() << "error iterator " << 
aIterator->second << " " << aMessage << std::endl;
+continue;
+}
+
+nBytes = Util::writeFIFO(aIterator->second, aMessage.c_str(), 
aMessage.length());
+if ( nBytes < 0 )
+{
+std::cout << Util::logPrefix() << "Error writting child: " << 
aIterator->first << " " << strerror(errno) << std::endl;
+break;
+}
+
+nBytes = getResponseLine(readerChild, aResponse);
+if ( nBytes < 0 )
+{
+std::cout << Util::logPrefix() << "Error reading child: " << 
aIterator->first << " " << strerror(errno) << std::endl;
+break;
+}
+
+//std::cout << Util::logPrefix() << "response: " << aResponse << 
std::endl;
+StringTokenizer tokens(aResponse, " ", 
StringTokenizer::TOK_IGNORE_EMPTY | StringTokenizer::TOK_TRIM);
+if (tokens[1] == "ok")
+{
+nPID = aIterator->first;
+}
+else if (tokens[1] == "empty")
+{
+_emptyURL.push_back(aIterator->first);
+}
+}
+
+if ( aIterator != _childProcesses.end() )
+{
+_cacheURL.clear();
+_emptyURL.clear();
+}
+
+return (nBytes > 0 ? nPID : -1);
+}
+
+void 

[Libreoffice-bugs] [Bug 94556] New: Table Border Bug

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94556

Bug ID: 94556
   Summary: Table Border Bug
   Product: LibreOffice
   Version: 5.0.2.2 release
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Draw
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: slumber...@gmail.com

Created attachment 119078
  --> https://bugs.documentfoundation.org/attachment.cgi?id=119078=edit
Bottom Right Group of Cells

Things have definitely improved in this release but the issues still persist.

There seem to be two areas giving problems:

1. Refreshing of screen after border changes. I actually have to close LO then
open the document again to see what border changes have been done.

2. Drawing borders around selected cell or cells still has issues.

Attached is a document with a table. Drawing borders worked correctly for the
entire document EXCEPT the bottom right group of cells. I just don't seem to be
able to replicate the same layout that I've used with the other groups of
cells.

Get this sorted and *maybe* the buggy table border formatting bug will finally
be sorted.

-- 
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 77744] Trendline equation cannot be copied

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=77744

--- Comment #9 from Laurent BP  ---
A way to solve this issue, would be to add a context menu entry: "Copy as text"

-- 
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 94544] release notes

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94544

Julien Nabet  changed:

   What|Removed |Added

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

--- Comment #1 from Julien Nabet  ---
Please give a try to a newer LO version.
4.2.8 is EOL (as 4.3 branch).
You can find recent LO version from LO ppa (see
https://launchpad.net/~libreoffice/+archive/ubuntu/ppa)

-- 
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 94534] REPORTBUILDER

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94534

--- Comment #6 from DiegoM  ---
What more info may be needed?

-- 
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/LOOLBroker.cpp

2015-09-27 Thread Henry Castro
 loolwsd/LOOLBroker.cpp |   28 +++-
 1 file changed, 23 insertions(+), 5 deletions(-)

New commits:
commit 1cbeabb18f94cea85740a7786b0f75964cec935c
Author: Henry Castro 
Date:   Sun Sep 27 17:14:00 2015 -0400

loolwsd: crate writer FIFO pipe to send message to childs

diff --git a/loolwsd/LOOLBroker.cpp b/loolwsd/LOOLBroker.cpp
index ee04ed8..90f58ee 100644
--- a/loolwsd/LOOLBroker.cpp
+++ b/loolwsd/LOOLBroker.cpp
@@ -57,6 +57,13 @@ using Poco::Process;
 using Poco::Thread;
 using Poco::ProcessHandle;
 
+const std::string BROKER_SUFIX = ".fifo";
+const std::string BROKER_PREFIX = "/tmp/lokit";
+
+static unsigned int childCounter = 0;
+
+static std::map _childProcesses;
+
 namespace
 {
 ThreadLocal sourceForLinkOrCopy;
@@ -218,8 +225,6 @@ namespace
 }
 }
 
-static std::map _childProcesses;
-
 /// Initializes LibreOfficeKit for cross-fork re-use.
 static bool globalPreinit(const std::string )
 {
@@ -247,6 +252,8 @@ static bool globalPreinit(const std::string )
 static int createLibreOfficeKit(bool sharePages, std::string loSubPath, 
Poco::UInt64 childID)
 {
 Poco::UInt64 child;
+int nFIFOWriter = -1;
+
 if (sharePages)
 {
 Poco::UInt64 pid;
@@ -266,18 +273,29 @@ static int createLibreOfficeKit(bool sharePages, 
std::string loSubPath, Poco::UI
 else
 {
 Process::Args args;
-std::string pipe = "";
+std::string executable = "loolkit";
+std::string pipe = BROKER_PREFIX + std::to_string(childCounter++) + 
BROKER_SUFIX;
+
+if (mkfifo(pipe.c_str(), 0666) < 0)
+{
+std::cout << Util::logPrefix() << "mkfifo :" << strerror(errno) << 
std::endl;
+return -1;
+}
 
 args.push_back("--losubpath=" + loSubPath);
 args.push_back("--child=" + std::to_string(childID));
 args.push_back("--pipe=" + pipe);
 
-std::string executable = "loolkit";
-
 std::cout << Util::logPrefix() + "Launching LibreOfficeKit: " + 
executable + " " + Poco::cat(std::string(" "), args.begin(), args.end()) << 
std::endl;
 
 ProcessHandle procChild = Process::launch(executable, args);
 child = procChild.id();
+
+if ( ( nFIFOWriter = open(pipe.c_str(), O_WRONLY) ) < 0 )
+{
+std::cout << Util::logPrefix() << "open: " << strerror(errno) << 
std::endl;
+return -1;
+}
 }
 _childProcesses[child] = child;
 return 0;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 94535] UI REGRESSION: Cannot open Fontwork dialog to adapt text to connect shape

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94535

Regina Henschel  changed:

   What|Removed |Added

 CC||rb.hensc...@t-online.de

--- Comment #1 from Regina Henschel  ---
You can customize a toolbar to get quick access to the tool. You find it in
category 'format', the command 'Fontwork' with the description 'Edits Fontwork
effects of the selected object that has been created with the previous Fontwork
dialog'.

-- 
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/LOOLBroker.cpp

2015-09-27 Thread Henry Castro
 loolwsd/LOOLBroker.cpp |   13 +
 1 file changed, 13 insertions(+)

New commits:
commit 361a190cdf3696f12d80539beedce0edc344d22d
Author: Henry Castro 
Date:   Sun Sep 27 17:45:13 2015 -0400

loolwsd: fork new child if new client requests

diff --git a/loolwsd/LOOLBroker.cpp b/loolwsd/LOOLBroker.cpp
index aaeede4..9097595 100644
--- a/loolwsd/LOOLBroker.cpp
+++ b/loolwsd/LOOLBroker.cpp
@@ -65,8 +65,10 @@ const std::string BROKER_PREFIX = "/tmp/lokit";
 static int readerChild = -1;
 static int readerBroker = -1;
 
+static unsigned int forkCounter = 0;
 static unsigned int childCounter = 0;
 
+static std::mutex forkMutex;
 static std::map _childProcesses;
 
 namespace
@@ -530,6 +532,17 @@ int main(int argc, char** argv)
 else if (pid < 0)
 std::cout << Util::logPrefix() << "Child error: " << 
strerror(errno) << std::endl;
 
+if ( forkCounter > 0 )
+{
+forkMutex.lock();
+forkCounter -= 1;
+
+if (createLibreOfficeKit(sharePages, loSubPath, _childId) < 0 )
+std::cout << Util::logPrefix() << "fork falied: " << 
strerror(errno) << std::endl;
+
+forkMutex.unlock();
+}
+
 ++timeoutCounter;
 if (timeoutCounter == INTERVAL_PROBES)
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 93587] insert table in draw ole object

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93587

--- Comment #6 from Julien Nabet  ---
On pc Debian x86-64 with master sources updated today, I could reproduce this.
I noticed that the disabling was done here:
http://opengrok.libreoffice.org/xref/core/sd/source/ui/table/tablefunction.cxx#228

-- 
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' - sc/source

2015-09-27 Thread Eike Rathke
 sc/source/ui/view/cellsh2.cxx |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 00adc13618d7957da43318a69559da82fbbb53a7
Author: Eike Rathke 
Date:   Thu Sep 17 17:12:03 2015 +0200

Resolves: tdf#85979 TextToColumns is overwriting, so set at ScImportExport

Change-Id: Id0fec512b53aab47f9951056e8726af0cce45708
(cherry picked from commit 624ab2e5a52e9b8aa139bae4cd1436d23b80bf8c)
Reviewed-on: https://gerrit.libreoffice.org/18664
Reviewed-by: Markus Mohrhard 
Tested-by: Markus Mohrhard 

diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx
index 0ba2224..aeca622 100644
--- a/sc/source/ui/view/cellsh2.cxx
+++ b/sc/source/ui/view/cellsh2.cxx
@@ -979,6 +979,7 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq )
 aImport.SetExtOptions( aOptions );
 aImport.SetApi( false );
 aImport.SetImportBroadcast( true );
+aImport.SetOverwriting( true );
 aStream.Seek( 0 );
 aImport.ImportStream( aStream, OUString(), 
SotClipboardFormatId::STRING );
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 93372] Format of a table is ignored - character only shown in standard-high

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93372

--- Comment #5 from Michel M  ---
I have the same problem in5.0.1.2 and 5.0.2.2 Ok in 4.4

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


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

2015-09-27 Thread Henry Castro
 loolwsd/LOOLBroker.cpp |   17 ++---
 1 file changed, 14 insertions(+), 3 deletions(-)

New commits:
commit 7f7453cd7f3a2b0c2597d4a0506acfc588d1fe6a
Author: Henry Castro 
Date:   Sun Sep 27 17:25:52 2015 -0400

loolwsd: change startupLibreOfficeKit to report error status

diff --git a/loolwsd/LOOLBroker.cpp b/loolwsd/LOOLBroker.cpp
index 1eec9fa..1c52500 100644
--- a/loolwsd/LOOLBroker.cpp
+++ b/loolwsd/LOOLBroker.cpp
@@ -302,14 +302,21 @@ static int createLibreOfficeKit(bool sharePages, 
std::string loSubPath, Poco::UI
 return child;
 }
 
-static void startupLibreOfficeKit(bool sharePages, int nLOKits,
+static int startupLibreOfficeKit(bool sharePages, int nLOKits,
   std::string loSubPath, Poco::UInt64 child)
 {
+Process::PID pId = -1;
+
 for (int nCntr = nLOKits; nCntr; nCntr--)
 {
-if (createLibreOfficeKit(sharePages, loSubPath, child) < 0)
+if ( (pId = createLibreOfficeKit(sharePages, loSubPath, child)) < 0)
+{
+std::cout << Util::logPrefix() << "startupLibreOfficeKit: " << 
strerror(errno) << std::endl;
 break;
+}
 }
+
+   return pId;
 }
 
 static int timeoutCounter = 0;
@@ -461,7 +468,11 @@ int main(int argc, char** argv)
 
 bool sharePages = globalPreinit(loSubPath);
 
-startupLibreOfficeKit(sharePages, _numPreSpawnedChildren, loSubPath, 
_childId);
+if ( startupLibreOfficeKit(sharePages, _numPreSpawnedChildren, loSubPath, 
_childId) < 0 )
+{
+std::cout << Util::logPrefix() << "fail to create childs: " << 
strerror(errno) << std::endl;
+exit(-1);
+}
 
 while (_childProcesses.size() > 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/LOOLWSD.cpp loolwsd/LOOLWSD.hpp

2015-09-27 Thread Henry Castro
 loolwsd/LOOLWSD.cpp |   14 ++
 loolwsd/LOOLWSD.hpp |2 ++
 2 files changed, 16 insertions(+)

New commits:
commit d621a49ffee698473283d56d88d00651b62ae116
Author: Henry Castro 
Date:   Sun Sep 27 18:21:15 2015 -0400

loolwsd: create writer pipe to send messages to broker process

diff --git a/loolwsd/LOOLWSD.cpp b/loolwsd/LOOLWSD.cpp
index 0684285..1010efa 100644
--- a/loolwsd/LOOLWSD.cpp
+++ b/loolwsd/LOOLWSD.cpp
@@ -424,6 +424,7 @@ public:
 
 int LOOLWSD::portNumber = DEFAULT_CLIENT_PORT_NUMBER;
 int LOOLWSD::timeoutCounter = 0;
+int LOOLWSD::writerBroker = -1;
 std::string LOOLWSD::cache = LOOLWSD_CACHEDIR;
 std::string LOOLWSD::sysTemplate;
 std::string LOOLWSD::loTemplate;
@@ -443,6 +444,7 @@ int LOOLWSD::uid = 0;
 const std::string LOOLWSD::CHILD_URI = "/loolws/child/";
 const std::string LOOLWSD::PIDLOG = "/tmp/loolwsd.pid";
 const std::string LOOLWSD::LOKIT_PIDLOG = "/tmp/lokit.pid";
+const std::string LOOLWSD::FIFO_FILE = "/tmp/loolwsdfifo";
 
 LOOLWSD::LOOLWSD() :
 _childId(0)
@@ -640,6 +642,12 @@ int LOOLWSD::main(const std::vector& args)
 filePID << Process::id();
 }
 
+if (!File(FIFO_FILE).exists() && mkfifo(FIFO_FILE.c_str(), 0666) == -1)
+{
+std::cout << Util::logPrefix() << "Fail to create pipe FIFO" << 
std::endl;
+return Application::EXIT_UNAVAILABLE;
+}
+
 std::unique_lock rngLock(_rngMutex);
 _childId = (((Poco::UInt64)_rng.next()) << 32) | _rng.next() | 1;
 rngLock.unlock();
@@ -669,6 +677,12 @@ int LOOLWSD::main(const std::vector& args)
 
 srv2.start();
 
+if ( (writerBroker = open(FIFO_FILE.c_str(), O_WRONLY) ) < 0 )
+{
+std::cout << Util::logPrefix() << "Pipe opened for writing" << 
strerror(errno) << std::endl;
+return Application::EXIT_UNAVAILABLE;
+}
+
 _namedMutexLOOL.unlock();
 
 while (MasterProcessSession::_childProcesses.size() > 0)
diff --git a/loolwsd/LOOLWSD.hpp b/loolwsd/LOOLWSD.hpp
index 4470968..6e58e4d 100644
--- a/loolwsd/LOOLWSD.hpp
+++ b/loolwsd/LOOLWSD.hpp
@@ -31,6 +31,7 @@ public:
 // statics
 static int portNumber;
 static int timeoutCounter;
+static int writerBroker;
 static bool doTest;
 static std::string cache;
 static std::string sysTemplate;
@@ -45,6 +46,7 @@ public:
 static const int MAINTENANCE_INTERVAL = 1;
 static const std::string CHILD_URI;
 static const std::string PIDLOG;
+static const std::string FIFO_FILE;
 static const std::string LOKIT_PIDLOG;
 static Poco::NamedMutex _namedMutexLOOL;
 
___
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/MasterProcessSession.cpp loolwsd/MasterProcessSession.hpp

2015-09-27 Thread Henry Castro
 loolwsd/MasterProcessSession.cpp |   18 +++---
 loolwsd/MasterProcessSession.hpp |2 +-
 2 files changed, 12 insertions(+), 8 deletions(-)

New commits:
commit 74296af4b409491392eecccd1802ef40e9555b98
Author: Henry Castro 
Date:   Sun Sep 27 18:37:02 2015 -0400

loolwsd: change type _availableChildSessions from set to map

diff --git a/loolwsd/MasterProcessSession.cpp b/loolwsd/MasterProcessSession.cpp
index c0c5275..405f716 100644
--- a/loolwsd/MasterProcessSession.cpp
+++ b/loolwsd/MasterProcessSession.cpp
@@ -35,6 +35,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include "MasterProcessSession.hpp"
 #include "Util.hpp"
@@ -52,10 +53,11 @@ using Poco::Path;
 using Poco::URI;
 using Poco::File;
 using Poco::Exception;
+using Poco::Thread;
 
 std::map MasterProcessSession::_childProcesses;
+std::map 
MasterProcessSession::_availableChildSessions;
 
-std::set 
MasterProcessSession::_availableChildSessions;
 std::mutex MasterProcessSession::_availableChildSessionMutex;
 std::condition_variable MasterProcessSession::_availableChildSessionCV;
 Random MasterProcessSession::_rng;
@@ -155,17 +157,19 @@ bool MasterProcessSession::handleInput(const char 
*buffer, int length)
 sendTextFrame("error: cmd=child kind=invalid");
 return false;
 }
-if (tokens.count() != 3)
+if (tokens.count() != 4)
 {
 sendTextFrame("error: cmd=child kind=syntax");
 return false;
 }
 
 UInt64 childId = std::stoull(tokens[1]);
-Process::PID pidChild = std::stoull(tokens[2]);
+Thread::TID tId = std::stoull(tokens[2]);
+Process::PID pId = std::stoull(tokens[3]);
 
 std::unique_lock lock(_availableChildSessionMutex);
-_availableChildSessions.insert(shared_from_this());
+_availableChildSessions.insert(std::pair (tId, shared_from_this()));
+std::cout << Util::logPrefix() << _kindString << ",Inserted " << this 
<< " id=" << childId << " into _availableChildSessions, size=" << 
_availableChildSessions.size() << std::endl;
 std::cout << Util::logPrefix() << "Inserted " << this << " id=" << 
childId << " into _availableChildSessions, size=" << 
_availableChildSessions.size() << std::endl;
 _childId = childId;
 lock.unlock();
@@ -176,7 +180,7 @@ bool MasterProcessSession::handleInput(const char *buffer, 
int length)
 {
 Poco::FileOutputStream filePID(LOOLWSD::LOKIT_PIDLOG);
 if (filePID.good())
-filePID << pidChild;
+filePID << pId;
 }
 }
 else if (_kind == Kind::ToPrisoner)
@@ -403,9 +407,9 @@ void MasterProcessSession::dispatchChild()
 std::cout << Util::logPrefix() << "waiting done" << std::endl;
 }
 
-childSession = *(_availableChildSessions.begin());
+childSession = _availableChildSessions[Thread::currentTid()];
+_availableChildSessions.erase(Thread::currentTid());
 
-_availableChildSessions.erase(childSession);
 lock.unlock();
 
 // Assume a valid URI
diff --git a/loolwsd/MasterProcessSession.hpp b/loolwsd/MasterProcessSession.hpp
index 91ec995..66a6734 100644
--- a/loolwsd/MasterProcessSession.hpp
+++ b/loolwsd/MasterProcessSession.hpp
@@ -53,7 +53,7 @@ public:
 
 // Sessions to pre-spawned child processes that have connected but are not 
yet assigned a
 // document to work on.
-static std::set 
_availableChildSessions;
+static std::map 
_availableChildSessions;
 static std::mutex _availableChildSessionMutex;
 static std::condition_variable _availableChildSessionCV;
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: sdext/source sd/source

2015-09-27 Thread Caolán McNamara
 sd/source/ui/view/drviewsa.cxx|2 +-
 sd/source/ui/view/viewshel.cxx|2 +-
 sdext/source/minimizer/fileopendialog.hxx |2 +-
 sdext/source/minimizer/graphiccollector.hxx   |2 +-
 sdext/source/minimizer/informationdialog.hxx  |2 +-
 sdext/source/minimizer/optimizerdialog.hxx|   12 ++--
 sdext/source/minimizer/pppoptimizerdialog.hxx |2 +-
 sdext/source/pdfimport/inc/pdfparse.hxx   |   12 ++--
 sdext/source/pdfimport/pdfparse/pdfentries.cxx|2 +-
 sdext/source/pdfimport/pdfparse/pdfparse.cxx  |4 ++--
 sdext/source/pdfimport/sax/saxattrlist.hxx|2 +-
 sdext/source/pdfimport/tree/genericelements.hxx   |4 ++--
 sdext/source/pdfimport/tree/style.hxx |2 +-
 sdext/source/pdfimport/wrapper/wrapper.cxx|2 +-
 sdext/source/presenter/PresenterAccessibility.cxx |2 +-
 sdext/source/presenter/PresenterBitmapContainer.hxx   |2 +-
 sdext/source/presenter/PresenterPaneBorderPainter.hxx |2 +-
 sdext/source/presenter/PresenterPaneContainer.hxx |2 +-
 sdext/source/presenter/PresenterProtocolHandler.cxx   |8 
 sdext/source/presenter/PresenterProtocolHandler.hxx   |2 +-
 sdext/source/presenter/PresenterScrollBar.cxx |2 +-
 sdext/source/presenter/PresenterSlideSorter.cxx   |2 +-
 sdext/source/presenter/PresenterToolBar.cxx   |8 
 23 files changed, 41 insertions(+), 41 deletions(-)

New commits:
commit 5c26f79467e4c5f920b77a058aa079654c322c25
Author: Caolán McNamara 
Date:   Sun Sep 27 21:03:59 2015 +0100

cppcheck: noExplicitConstructor

Change-Id: Ibb94d40706fced3c1c053fd58ef4e2af2d849587

diff --git a/sd/source/ui/view/drviewsa.cxx b/sd/source/ui/view/drviewsa.cxx
index e2ff209..fc23539 100644
--- a/sd/source/ui/view/drviewsa.cxx
+++ b/sd/source/ui/view/drviewsa.cxx
@@ -89,7 +89,7 @@ private:
 
 public:
 
-ScannerEventListener( DrawViewShell* pParent ) : 
mpParent( pParent )  {};
+explicit ScannerEventListener( DrawViewShell* 
pParent ) : mpParent( pParent )  {}
 virtual ~ScannerEventListener();
 
 // XEventListener
diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx
index c060272..a582896 100644
--- a/sd/source/ui/view/viewshel.cxx
+++ b/sd/source/ui/view/viewshel.cxx
@@ -93,7 +93,7 @@ class ViewShellObjectBarFactory
 : public ::sd::ShellFactory
 {
 public:
-ViewShellObjectBarFactory (::sd::ViewShell& rViewShell);
+explicit ViewShellObjectBarFactory (::sd::ViewShell& rViewShell);
 virtual ~ViewShellObjectBarFactory();
 virtual SfxShell* CreateShell (
 ::sd::ShellId nId,
diff --git a/sdext/source/minimizer/fileopendialog.hxx 
b/sdext/source/minimizer/fileopendialog.hxx
index 78f835f..4292d2e 100644
--- a/sdext/source/minimizer/fileopendialog.hxx
+++ b/sdext/source/minimizer/fileopendialog.hxx
@@ -47,7 +47,7 @@ class FileOpenDialog
 std::vector< FilterEntry > aFilterEntryList;
 
 public:
-FileOpenDialog( const css::uno::Reference< css::uno::XComponentContext 
>& rxContext );
+explicit FileOpenDialog( const css::uno::Reference< 
css::uno::XComponentContext >& rxContext );
 ~FileOpenDialog();
 
 sal_Int16 execute();
diff --git a/sdext/source/minimizer/graphiccollector.hxx 
b/sdext/source/minimizer/graphiccollector.hxx
index 70dfcde..7293a50 100644
--- a/sdext/source/minimizer/graphiccollector.hxx
+++ b/sdext/source/minimizer/graphiccollector.hxx
@@ -73,7 +73,7 @@ class GraphicCollector
 css::text::GraphicCrop  maGraphicCropLogic;
 std::vector< GraphicUser >  maUser;
 
-GraphicEntity( const GraphicUser& rUser )
+explicit GraphicEntity( const GraphicUser& rUser )
 : maLogicalSize( rUser.maLogicalSize ), mbRemoveCropArea( false ), 
maGraphicCropLogic( 0, 0, 0, 0 ) { maUser.push_back( rUser ); };
 };
 
diff --git a/sdext/source/minimizer/informationdialog.hxx 
b/sdext/source/minimizer/informationdialog.hxx
index 0e824f0..174b603 100644
--- a/sdext/source/minimizer/informationdialog.hxx
+++ b/sdext/source/minimizer/informationdialog.hxx
@@ -73,7 +73,7 @@ private:
 class OKActionListener : public ::cppu::WeakImplHelper< 
css::awt::XActionListener >
 {
 public:
-OKActionListener( InformationDialog& rInformationDialog ) : 
mrInformationDialog( rInformationDialog ){};
+explicit OKActionListener( InformationDialog& rInformationDialog ) : 
mrInformationDialog( rInformationDialog ){}
 
 virtual void SAL_CALL actionPerformed( const css::awt::ActionEvent& Event 
) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
 virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) 
throw ( 

[Libreoffice-bugs] [Bug 94534] REPORTBUILDER

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94534

DiegoM  changed:

   What|Removed |Added

   Severity|normal  |critical

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


[Libreoffice-bugs] [Bug 94555] New: Moving a table in a form induce iterative mouvement of the table between origine and destinationfor long time

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94555

Bug ID: 94555
   Summary: Moving a table in a form induce iterative mouvement of
the table between origine and destinationfor long time
   Product: LibreOffice
   Version: 5.0.2.2 release
  Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Base
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: micha...@live.fr

Created attachment 119077
  --> https://bugs.documentfoundation.org/attachment.cgi?id=119077=edit
A basic database for osbl Both client and Bénévoles exibit the problem

On version 5.0.1.2 and 5.0.2.2 A table in a form or a subform using a table
move bethween the original position and the destination iteratively during few
minuts before fixing in the destination. Windows 10 Java 1.8.0_60. Résizing to
new position work ok.

-- 
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/LOOLBroker.cpp

2015-09-27 Thread Henry Castro
 loolwsd/LOOLBroker.cpp |   21 ++---
 1 file changed, 14 insertions(+), 7 deletions(-)

New commits:
commit 3fd57d9c968395bd1178de80eb76cbc9d2b8
Author: Henry Castro 
Date:   Sun Sep 27 17:39:25 2015 -0400

loolwsd: open reader FIFO to read messages from client

diff --git a/loolwsd/LOOLBroker.cpp b/loolwsd/LOOLBroker.cpp
index f120ff6..aaeede4 100644
--- a/loolwsd/LOOLBroker.cpp
+++ b/loolwsd/LOOLBroker.cpp
@@ -57,11 +57,13 @@ using Poco::Process;
 using Poco::Thread;
 using Poco::ProcessHandle;
 
+const std::string FIFO_FILE = "/tmp/loolwsdfifo";
 const std::string FIFO_BROKER = "/tmp/loolbroker.fifo";
 const std::string BROKER_SUFIX = ".fifo";
 const std::string BROKER_PREFIX = "/tmp/lokit";
 
 static int readerChild = -1;
+static int readerBroker = -1;
 
 static unsigned int childCounter = 0;
 
@@ -376,38 +378,43 @@ int main(int argc, char** argv)
 if (loSubPath.empty())
 {
 std::cout << Util::logPrefix() << "--losubpath is empty" << std::endl;
-exit(1);
+exit(-1);
 }
 
 if (sysTemplate.empty())
 {
 std::cout << Util::logPrefix() << "--systemplate is empty" << 
std::endl;
-exit(1);
+exit(-1);
 }
 
 if (loTemplate.empty())
 {
 std::cout << Util::logPrefix() << "--lotemplate is empty" << std::endl;
-exit(1);
+exit(-1);
 }
 
 if (childRoot.empty())
 {
 std::cout << Util::logPrefix() << "--childroot is empty" << std::endl;
-exit(1);
+exit(-1);
 }
 
 if ( !_numPreSpawnedChildren )
 {
 std::cout << Util::logPrefix() << "--numprespawns is 0" << std::endl;
-exit(1);
+exit(-1);
+}
+
+if ( (readerBroker = open(FIFO_FILE.c_str(), O_RDONLY) ) < 0 )
+{
+std::cout << Util::logPrefix() << "pipe error: " << strerror(errno) << 
std::endl;
+exit(-1);
 }
 
 std::unique_lock rngLock(_rngMutex);
 Poco::UInt64 _childId = (((Poco::UInt64)_rng.next()) << 32) | _rng.next() 
| 1;
 rngLock.unlock();
 
-
 Path jail = Path::forDirectory(childRoot + Path::separator() + 
std::to_string(_childId));
 File(jail).createDirectories();
 
@@ -424,7 +431,7 @@ int main(int argc, char** argv)
 if (!File("loolkit").exists())
 {
 std::cout << Util::logPrefix() << "loolkit does not exists" << 
std::endl;
-exit(1);
+exit(-1);
 }
 File("loolkit").copyTo(Path(jail, "/usr/bin").toString());
 
___
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/LOOLKit.cpp

2015-09-27 Thread Henry Castro
 loolwsd/LOOLKit.cpp |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7a12c411b841b4ace184f095489be704609cf221
Author: Henry Castro 
Date:   Sun Sep 27 18:57:05 2015 -0400

loolwsd: forgot uncomment loKit

diff --git a/loolwsd/LOOLKit.cpp b/loolwsd/LOOLKit.cpp
index 9d0376b..5e46c58 100644
--- a/loolwsd/LOOLKit.cpp
+++ b/loolwsd/LOOLKit.cpp
@@ -313,7 +313,7 @@ void run_lok_main(const std::string , 
Poco::UInt64 _childId, const std
 else
 { // new thread id
 //std::cout << Util::logPrefix() << "new thread 
starting!" << std::endl;
-auto thread = std::shared_ptr(new 
Connection(NULL/*loKit*/, _childId, tokens[1]));
+auto thread = std::shared_ptr(new 
Connection(loKit, _childId, tokens[1]));
 auto aInserted = _connections.insert(
 std::pair
 (
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 94542] ScPostIt's GetText() replaces tabs with U+0001

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94542

--- Comment #2 from Joan Paraiso  ---
Created attachment 119076
  --> https://bugs.documentfoundation.org/attachment.cgi?id=119076=edit
The resulting output of when the test is run with the patch applied to test for
tabs.

-- 
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 94542] ScPostIt's GetText() replaces tabs with U+0001

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94542

--- Comment #1 from Joan Paraiso  ---
Created attachment 119075
  --> https://bugs.documentfoundation.org/attachment.cgi?id=119075=edit
Patch to make unit test test for tabs

This is a patch to make the unit test test for tabs. This is needed for easier
demonstration of the bug.

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


[Libreoffice-bugs] [Bug 93587] insert table in draw ole object

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93587

Julien Nabet  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|libreoffice-b...@lists.free |serval2...@yahoo.fr
   |desktop.org |

--- Comment #7 from Julien Nabet  ---
Let's give a try with this:
https://gerrit.libreoffice.org/#/c/18897/

-- 
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 94534] REPORTBUILDER

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94534

DiegoM  changed:

   What|Removed |Added

Version|5.0.1.2 release |4.4.5.2 release

--- Comment #5 from DiegoM  ---
Confirm Bug: reportBuilder does not open.
Conditions:
O.S.: Linux UbuntuGnome 14.04 32bit
LO: v.4.4.5.2 rc2
Java: Oracle 1.8 or OpenJDK 1.7 (tried with both, no difference)
Description: in LO/Base I defined a database HSQLDB Embedded structure with 5
simple tables and two table in master/detail relation.

Report wizard is functioning on simple tables.
Report wizard is functioning on complex tables only if report type "static" is
declared; if "dynamic" is chosen, report is builded but when run no data are
retrived, report is not filled with data.

"Create report in Design View" DOES NOTHING.
Going on a table, right-mouse/Report (should open Design View report on the
table) DOES NOTHING.

-- 
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 94534] REPORTBUILDER

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94534

--- Comment #7 from Julien Nabet  ---
(In reply to DiegoM from comment #5)
> ...
> "Create report in Design View" DOES NOTHING.
> Going on a table, right-mouse/Report (should open Design View report on the
> table) DOES NOTHING.

I reproduce this with LO Debian package 5.0.1. I just installed
"libreoffice-report-builder" and it was ok.
Since I usually use master sources that I build, I don't know if it's normal
behavior or not.

-- 
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 94538] Double column

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94538

steve -_-  changed:

   What|Removed |Added

 Resolution|FIXED   |NOTABUG

--- Comment #3 from steve -_-  ---
nothing has been fixed, thus setting to notabug

-- 
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 94549] When export to image, color channels shifted horizontally

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94549

MM  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 Ever confirmed|0   |1

--- Comment #3 from MM  ---
Can you import your file into a proper paint program to see if it's not a bug
of windows photo viewer ?
If the picture is still stretched, can you supply the odp so ppl here can try
to reproduce ?

-- 
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/MasterProcessSession.cpp

2015-09-27 Thread Henry Castro
 loolwsd/MasterProcessSession.cpp |   41 +++
 1 file changed, 33 insertions(+), 8 deletions(-)

New commits:
commit 334874cc527f8726992b0b9361a15104b61ca9c0
Author: Henry Castro 
Date:   Sun Sep 27 18:48:28 2015 -0400

loolwsd: drop client connection after waiting child connection.

diff --git a/loolwsd/MasterProcessSession.cpp b/loolwsd/MasterProcessSession.cpp
index 568a7d1..566f4ab 100644
--- a/loolwsd/MasterProcessSession.cpp
+++ b/loolwsd/MasterProcessSession.cpp
@@ -397,25 +397,50 @@ void MasterProcessSession::sendTile(const char *buffer, 
int length, StringTokeni
 
 void MasterProcessSession::dispatchChild()
 {
+short nRequest = 3;
+bool  bFound = false;
+
 // Copy document into jail using the fixed name
 
 std::shared_ptr childSession;
 std::unique_lock lock(_availableChildSessionMutex);
 
-std::cout << Util::logPrefix() << "_availableChildSessions size=" << 
_availableChildSessions.size() << std::endl;
-
-if (_availableChildSessions.size() == 0)
+std::cout << Util::logPrefix() << "waiting for a child session permission 
for " << Thread::currentTid() << std::endl;
+while (nRequest-- && !bFound)
 {
-std::cout << Util::logPrefix() << "waiting for a child session to 
become available" << std::endl;
-_availableChildSessionCV.wait(lock, [] { return 
_availableChildSessions.size() > 0; });
-std::cout << Util::logPrefix() << "waiting done" << std::endl;
+_availableChildSessionCV.wait_for(
+lock,
+std::chrono::milliseconds(2000),
+[]
+{
+return (bFound = 
_availableChildSessions.find(Thread::currentTid()) != 
_availableChildSessions.end());
+});
+
+if (!bFound)
+{
+std::cout << Util::logPrefix() << "trying ..." << nRequest << 
std::endl;
+// request again new URL session
+std::string aMessage = "request " + 
std::to_string(Thread::currentTid()) + " " + _docURL + "\r\n";
+Util::writeFIFO(LOOLWSD::writerBroker, aMessage.c_str(), 
aMessage.length());
+}
 }
 
-childSession = _availableChildSessions[Thread::currentTid()];
-_availableChildSessions.erase(Thread::currentTid());
+if ( bFound )
+{
+std::cout << Util::logPrefix() << "waiting child session permission, 
done!" << std::endl;
+childSession = _availableChildSessions[Thread::currentTid()];
+_availableChildSessions.erase(Thread::currentTid());
+}
 
 lock.unlock();
 
+if ( !nRequest && !bFound )
+{
+// it cannot get connected.  shutdown.
+Util::shutdownWebSocket(*_ws);
+return;
+}
+
 // Assume a valid URI
 URI aUri(_docURL);
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2015-09-27 Thread Markus Mohrhard
 sc/source/core/data/postit.cxx |8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

New commits:
commit b3cc2c6d234156e7d5be2c3f2cacd20ab44ce94f
Author: Markus Mohrhard 
Date:   Sun Sep 27 21:05:13 2015 +0200

don't try to create OUString from editeng directly, tdf#94542

editeng uses special control characters (apparently 0x01) that need to
be translated by editeng to the real characters. Let EditEngine handle
the conversion from editeng string to OUString.

Change-Id: If5014e1ada7f1df933a084b17bb307035ce01cc6

diff --git a/sc/source/core/data/postit.cxx b/sc/source/core/data/postit.cxx
index 9eeabbf..733df67 100644
--- a/sc/source/core/data/postit.cxx
+++ b/sc/source/core/data/postit.cxx
@@ -45,6 +45,7 @@
 #include "drwlayer.hxx"
 #include "userdat.hxx"
 #include "detfunc.hxx"
+#include "editutil.hxx"
 
 #include 
 
@@ -545,11 +546,14 @@ OUString ScPostIt::GetText() const
 if( const EditTextObject* pEditObj = GetEditTextObject() )
 {
 OUStringBuffer aBuffer;
-for( sal_Int32 nPara = 0, nParaCount = pEditObj->GetParagraphCount(); 
nPara < nParaCount; ++nPara )
+ScNoteEditEngine& rEngine = mrDoc.GetNoteEngine();
+rEngine.SetText(*pEditObj);
+sal_Int32 nParaCount = rEngine.GetParagraphCount();
+for( sal_Int32 nPara = 0; nPara < nParaCount; ++nPara )
 {
 if( nPara > 0 )
 aBuffer.append( '\n' );
-aBuffer.append( pEditObj->GetText( nPara ) );
+aBuffer.append(rEngine.GetText(nPara));
 }
 return aBuffer.makeStringAndClear();
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 94542] ScPostIt's GetText() replaces tabs with U+0001

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94542

Commit Notification  changed:

   What|Removed |Added

 Whiteboard|| target:5.1.0

-- 
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 94542] ScPostIt's GetText() replaces tabs with U+0001

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94542

--- Comment #3 from Commit Notification 
 ---
Markus Mohrhard committed a patch related to this issue.
It has been pushed to "master":

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

don't try to create OUString from editeng directly, tdf#94542

It will be available in 5.1.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 76239] OpenSymbol font is not retained after an upgrade (work around in comment 16, 32, .. install log in comment 50 )

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=76239

--- Comment #68 from bugzi...@rhynas.com ---
I've just upgraded from 5.0.1 to 5.0.2.2 and the OpenSymbol font survived (Win7
64bit PC). Hopefully others will find this improvement and confirm the bug has
been fixed.

AllanR

-- 
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 94472] Proposal for working in documents on two positions in side by side (so vertical) panes

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94472

--- Comment #2 from epimitheas  ---
Thanx for reply 

I just thought to propose it , it doesnt mind if it doesnt make it ...

Maybe one day , people will find it more usefull and it gets in a version :)


Until then , there are ways to get simiral results.

Thanx again

-- 
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 94535] UI REGRESSION: Cannot open Fontwork dialog to adapt text to connect shape

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94535

--- Comment #2 from Milan Bouchet-Valat  ---
(In reply to Regina Henschel from comment #1)
> You can customize a toolbar to get quick access to the tool. You find it in
> category 'format', the command 'Fontwork' with the description 'Edits
> Fontwork effects of the selected object that has been created with the
> previous Fontwork dialog'.

Ah, thanks, indeed this works. So the only change is that this button is now
removed by default.

I still think my suggestion to add an item to the context menu makes sense. I
know of no other LO feature that can only be accessed by customizing the
toolbar... :-)

-- 
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/LOOLBroker.cpp

2015-09-27 Thread Henry Castro
 loolwsd/LOOLBroker.cpp |4 
 1 file changed, 4 insertions(+)

New commits:
commit 091d9cdbd2eda4ad3487f9baebc458ed2f8876d4
Author: Henry Castro 
Date:   Sun Sep 27 18:08:08 2015 -0400

loolwsd: clear cache URL when child processes died

diff --git a/loolwsd/LOOLBroker.cpp b/loolwsd/LOOLBroker.cpp
index 4737cc4..f3c6672 100644
--- a/loolwsd/LOOLBroker.cpp
+++ b/loolwsd/LOOLBroker.cpp
@@ -778,8 +778,12 @@ int main(int argc, char** argv)
 {
 if ((WIFEXITED(status) || WIFSIGNALED(status) || 
WTERMSIG(status) ) )
 {
+forkMutex.lock();
 std::cout << Util::logPrefix() << "One of our known child 
processes died :" << std::to_string(pid)  << std::endl;
 _childProcesses.erase(pid);
+_cacheURL.clear();
+_emptyURL.clear();
+forkMutex.unlock();
 }
 
 if ( WCOREDUMP(status) )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 94556] Table Border Bug

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94556

--- Comment #1 from David  ---
Finally, after 30 mins of trial and error I managed to get the borders for the
bottom right group of cells to match the rest of the document.

Solution:

1. Select only the top cell of the vertical group of three and turn on
LEFT+RIGHT border.

2. & 3. Repeat for middle cell, and then for bottom cell.

4. Finally, select the three cells together as a group. Turn on Top and Bottom
border.

Needless to say, after each step I had to close LO and reopen the document to
see the updated changes.

Why did it work correctly for the other 35 or so groups of cells but not the
last one?

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


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

2015-09-27 Thread Henry Castro
 loolwsd/MasterProcessSession.cpp |4 
 1 file changed, 4 insertions(+)

New commits:
commit 6fc60667ef16b4b7daa03094e68d1b73e1c5d3d3
Author: Henry Castro 
Date:   Sun Sep 27 18:41:21 2015 -0400

loolwsd: request new connection when client load document

diff --git a/loolwsd/MasterProcessSession.cpp b/loolwsd/MasterProcessSession.cpp
index 405f716..568a7d1 100644
--- a/loolwsd/MasterProcessSession.cpp
+++ b/loolwsd/MasterProcessSession.cpp
@@ -305,6 +305,10 @@ bool MasterProcessSession::loadDocument(const char 
*buffer, int length, StringTo
 try
 {
 URI aUri(_docURL);
+
+// request new URL session
+std::string aMessage = "request " + 
std::to_string(Thread::currentTid()) + " " + _docURL + "\r\n";
+Util::writeFIFO(LOOLWSD::writerBroker, aMessage.c_str(), 
aMessage.length());
 }
 catch(Poco::SyntaxException&)
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 94535] UI REGRESSION: Cannot open Fontwork dialog to adapt text to connect shape

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94535

--- Comment #3 from Regina Henschel  ---
(In reply to Milan Bouchet-Valat from comment #2)
> I know of no other LO feature that can only be accessed by customizing the
> toolbar... :-)

The color-depth tools for raster-images too can only be accessed by customizing
a toolbar. They are the first items in the category 'Modify'.

-- 
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 94517] Traditional Chinese Criteria Error.

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94517

--- Comment #4 from Atena  ---
Created attachment 119079
  --> https://bugs.documentfoundation.org/attachment.cgi?id=119079=edit
Look at B15 and G15 by table 3

Look at B15 and G15

-- 
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 94517] Traditional Chinese Criteria Error.

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94517

--- Comment #5 from V Stuart Foote  ---
Created attachment 119080
  --> https://bugs.documentfoundation.org/attachment.cgi?id=119080=edit
sheet3_B15-G15_noApparentIssues

Sorry,

Sheet3, B15-G15 no apparent issue...

-- 
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 94295] When exiting chart mode, properties sidebar tab is empty

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94295

Yousuf (Jay) Philips  changed:

   What|Removed |Added

 CC||momonas...@gmail.com,
   ||samuel.mehrbr...@cib.de

--- Comment #4 from Yousuf (Jay) Philips  ---
@Maxim, @Samuel: Is this something that one of you can look into (making writer
request a sidebar refresh after exiting chart edit mode)?

-- 
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 94551] New: All-in-one Area tab for modifying object fill

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94551

Bug ID: 94551
   Summary: All-in-one Area tab for modifying object fill
   Product: LibreOffice
   Version: 5.1.0.0.alpha0+ Master
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: philip...@hotmail.com

The Area tab is found in many dialogs (e.g. paragraph style, object area), but
the user interface and user experience of using it needs improvement.

The major UX problem with the Area tab is that it limits users to select from a
defined list of presets, which limits their ability to customize the area fill.
To get around this preset limitation, some dialogs will have a Colors,
Gradients, Hatching and Bitmap tabs, so users can switch to those tabs to add a
preset to the list and then return to the Area tab to apply it.

The major UI problem with the Area tab is that the preset lists are shown in a
list-view rather than being in icon-view, which results in a large waste of
space within the dialog. Icon-view would save users from scrolling through a
long list of presets and also see more of the presets at a single glance.

Having an all-in-one contained tab will also reduce bugs that occur when
jumping from tab to tab to customize the fill.

-- 
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/LOOLBroker.cpp loolwsd/LOOLWSD.cpp loolwsd/LOOLWSD.hpp loolwsd/MasterProcessSession.cpp

2015-09-27 Thread Henry Castro
 loolwsd/LOOLBroker.cpp   |   12 
 loolwsd/LOOLWSD.cpp  |1 -
 loolwsd/LOOLWSD.hpp  |2 --
 loolwsd/MasterProcessSession.cpp |8 
 4 files changed, 23 deletions(-)

New commits:
commit c69e9e3055aed04d0862d3ff968778aa21636937
Author: Henry Castro 
Date:   Sun Sep 27 12:07:17 2015 -0400

loolwsd: remove shared memory

diff --git a/loolwsd/LOOLBroker.cpp b/loolwsd/LOOLBroker.cpp
index 8930883..57a5cef 100644
--- a/loolwsd/LOOLBroker.cpp
+++ b/loolwsd/LOOLBroker.cpp
@@ -29,7 +29,6 @@
 #include 
 #include 
 #include 
-#include 
 #include 
 
 #include "Util.hpp"
@@ -305,7 +304,6 @@ int main(int argc, char** argv)
 std::string sysTemplate;
 std::string loTemplate;
 int _numPreSpawnedChildren = 0;
-Poco::SharedMemory _sharedForkChild("loolwsd", sizeof(bool), 
Poco::SharedMemory::AM_WRITE);
 
 for (int i = 0; i < argc; ++i)
 {
@@ -477,16 +475,6 @@ int main(int argc, char** argv)
 else if (pid < 0)
 std::cout << Util::logPrefix() << "Child error: " << 
strerror(errno) << std::endl;
 
-if ( _sharedForkChild.begin()[0] > 0 )
-{
-_namedMutexLOOL.lock();
-_sharedForkChild.begin()[0] = _sharedForkChild.begin()[0] - 1;
-_namedMutexLOOL.unlock();
-std::cout << Util::logPrefix() << "Create child session, fork new 
one" << std::endl;
-if (createLibreOfficeKit(sharePages, loSubPath, _childId) < 0 )
-break;
-}
-
 ++timeoutCounter;
 if (timeoutCounter == INTERVAL_PROBES)
 {
diff --git a/loolwsd/LOOLWSD.cpp b/loolwsd/LOOLWSD.cpp
index 9d94768..0684285 100644
--- a/loolwsd/LOOLWSD.cpp
+++ b/loolwsd/LOOLWSD.cpp
@@ -433,7 +433,6 @@ std::string LOOLWSD::jail;
 std::mutex LOOLWSD::_rngMutex;
 Random LOOLWSD::_rng;
 Poco::NamedMutex LOOLWSD::_namedMutexLOOL("loolwsd");
-Poco::SharedMemory LOOLWSD::_sharedForkChild("loolwsd", sizeof(bool), 
Poco::SharedMemory::AM_WRITE);
 
 int LOOLWSD::_numPreSpawnedChildren = 10;
 bool LOOLWSD::doTest = false;
diff --git a/loolwsd/LOOLWSD.hpp b/loolwsd/LOOLWSD.hpp
index 044ea05..4470968 100644
--- a/loolwsd/LOOLWSD.hpp
+++ b/loolwsd/LOOLWSD.hpp
@@ -19,7 +19,6 @@
 #include 
 #include 
 #include 
-#include 
 #include 
 
 class LOOLWSD: public Poco::Util::ServerApplication
@@ -39,7 +38,6 @@ public:
 static std::string childRoot;
 static std::string loSubPath;
 static std::string jail;
-static Poco::SharedMemory _sharedForkChild;
 
 static const int DEFAULT_CLIENT_PORT_NUMBER = 9980;
 static const int MASTER_PORT_NUMBER = 9981;
diff --git a/loolwsd/MasterProcessSession.cpp b/loolwsd/MasterProcessSession.cpp
index 5670858..c0c5275 100644
--- a/loolwsd/MasterProcessSession.cpp
+++ b/loolwsd/MasterProcessSession.cpp
@@ -408,14 +408,6 @@ void MasterProcessSession::dispatchChild()
 _availableChildSessions.erase(childSession);
 lock.unlock();
 
-if (_availableChildSessions.size() == 0 && !LOOLWSD::doTest)
-{
-LOOLWSD::_namedMutexLOOL.lock();
-std::cout << Util::logPrefix() << "No available child sessions, queue 
new child session" << std::endl;
-LOOLWSD::_sharedForkChild.begin()[0] = 
(LOOLWSD::_sharedForkChild.begin()[0] > 0 ? 
LOOLWSD::_sharedForkChild.begin()[0] + 1 : 1);
-LOOLWSD::_namedMutexLOOL.unlock();
-}
-
 // Assume a valid URI
 URI aUri(_docURL);
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'aoo/trunk' - ucb/source

2015-09-27 Thread Pedro Giffuni
 ucb/source/ucp/webdav/SerfLockRefreshProcImpl.cxx |4 ++--
 ucb/source/ucp/webdav/SerfLockReqProcImpl.cxx |4 ++--
 ucb/source/ucp/webdav/SerfUnlockProcImpl.cxx  |4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 17a4c39f1c13165a0b3e96739ec3398987ff889d
Author: Pedro Giffuni 
Date:   Sun Sep 27 15:11:15 2015 +

Fix build with external webdav.

Submitted by:   Don Lewis

diff --git a/ucb/source/ucp/webdav/SerfLockRefreshProcImpl.cxx 
b/ucb/source/ucp/webdav/SerfLockRefreshProcImpl.cxx
index 1ed74d6..c2e662d 100644
--- a/ucb/source/ucp/webdav/SerfLockRefreshProcImpl.cxx
+++ b/ucb/source/ucp/webdav/SerfLockRefreshProcImpl.cxx
@@ -27,9 +27,9 @@
 #include "DAVProperties.hxx"
 
 #include "webdavresponseparser.hxx"
-#include 
+#include 
 #include 
-#include 
+#include 
 
 namespace http_dav_ucp
 {
diff --git a/ucb/source/ucp/webdav/SerfLockReqProcImpl.cxx 
b/ucb/source/ucp/webdav/SerfLockReqProcImpl.cxx
index 3bb751d..d1c8cb0 100644
--- a/ucb/source/ucp/webdav/SerfLockReqProcImpl.cxx
+++ b/ucb/source/ucp/webdav/SerfLockReqProcImpl.cxx
@@ -27,9 +27,9 @@
 #include "DAVProperties.hxx"
 
 #include "webdavresponseparser.hxx"
-#include 
+#include 
 #include 
-#include 
+#include 
 
 namespace http_dav_ucp
 {
diff --git a/ucb/source/ucp/webdav/SerfUnlockProcImpl.cxx 
b/ucb/source/ucp/webdav/SerfUnlockProcImpl.cxx
index bedb9ff..6a7657c 100644
--- a/ucb/source/ucp/webdav/SerfUnlockProcImpl.cxx
+++ b/ucb/source/ucp/webdav/SerfUnlockProcImpl.cxx
@@ -27,9 +27,9 @@
 #include "DAVProperties.hxx"
 
 #include "webdavresponseparser.hxx"
-#include 
+#include 
 #include 
-#include 
+#include 
 
 namespace http_dav_ucp
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 94558] New: Overline not saved in docx

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94558

Bug ID: 94558
   Summary: Overline not saved in docx
   Product: LibreOffice
   Version: 5.0.1.2 release
  Hardware: x86-64 (AMD64)
OS: Mac OS X (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: o...@okakurniawan.net

Overline formatting is not saved in docx. To repeat the problem:
1. create a new Writer document. 
2. type some words
3. Highlight those words
4. Click menu Format -> Character
5. Under "Overline" change the option to "Single", the words highltighted will
have an overline.
6. Close the file, and save as "Docx".
7. Re-open the file. The overline is not 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 94556] Table Border Bug

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94556

--- Comment #3 from David  ---
Select the three cells vertically at the bottom right of the document.

Clicking the border button for the table should give you a pop-up with all the
border possibilities.

Select the one with an outside border on all four sides.

The correct result of this action should be that a border appears around the
group of three.

What you get is individual borders around each of the selected cells in that
group. 

That behaviour is wrong. The border is being added to a group object not
individual cells in that group.

And if you are really unlucky you will not even seen a change because there is
another bug which sometimes requires you to close the document and reopen it to
refresh the display.

I'm not sure I can explain it any more simply than that. A search through bugs
for LO shows these bugs have been present a long time and while they have been
improved, they have not yet been 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 94557] New: Combo box entries are case-sensitive (sometimes)

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94557

Bug ID: 94557
   Summary: Combo box entries are case-sensitive (sometimes)
   Product: LibreOffice
   Version: 4.4.5.2 release
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: UI
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: ville...@t-online.de

Contrary to the previous and expected behaviour in LO4.3.x, stand-alone
combobox form controls are case sensitive. A combobox within a grid control is
not.

-- 
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 94556] Table Border Bug

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94556

Joel Madero  changed:

   What|Removed |Added

 CC||jmadero@gmail.com

--- Comment #2 from Joel Madero  ---
Hi David -

As to why - who knows, millions of lines of code - bugs happen.

That being said, can you please describe the bug a bit clearer. Provide exact
reproducible steps (describe them as if you're telling someone only moderately
familiar with LibreOffice step by step how to reproduce the issue, what you
expect, and what you actually observe).

Setting to NEEDINFO - once you clarify how to reproduce the issue, please set
to UNCONFIRMED. Thanks

Examples of how to report a good bug report can be found at this link:
https://wiki.documentfoundation.org/QA/BugReport#Good_Reports

-- 
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 92190] PRINTs landscape despite configured as portrait

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92190

--- Comment #9 from a2jc4l...@gmail.com  ---
I am having the same problem.  LibreOffice for Windows, with the same printer,
works fine.

Got a new Mac, installed LibreOffice, and it prints in landscape; however, does
not reconfigure the page, just rotates it 90 degrees (which also cuts off the
bottom).  Result is the same whether I print to the printer or print to PDF.

Every other program on my computer prints fine; only LibreOffice has an issue.

-- 
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 94557] Combo box entries are case-sensitive (sometimes)

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94557

--- Comment #1 from Andreas Säger  ---
Created attachment 119081
  --> https://bugs.documentfoundation.org/attachment.cgi?id=119081=edit
Database with form and 2 combo boxes

-- 
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 88128] Unevaluated variable ("Undo: Delete $1") appears in UNDO list after cutting text

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=88128

Justin L  changed:

   What|Removed |Added

 Whiteboard|needsOSX|
 OS|Mac OS X (All)  |All

--- Comment #6 from Justin L  ---
changed OS to all.  I am reproducing this on Linux Mint/Maya (precise) and
Mint/Rebecca (Trusty) using 5.1 dev.  Reproduced on Windows 2003 Server with
4.3.7. (I'm typing 'turtle' in a new document, selecting it, and pressing
Ctrl-X)

(However, the abc replaced with space in Windows/4.3.7 says "replace 'abc' -> 
and not insert $1)

Robinson: not sure how you got delete 'turtle' to work in 14.04. 
Bibisect-43all on Mint/Rebecca shows the problem as far back as "oldest" LO
3.5.

-- 
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 84267] Documents with custom colors and gradients require improvements to the Area dialog, integrate the new color picker

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=84267

Yousuf (Jay) Philips  changed:

   What|Removed |Added

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

-- 
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 94549] When export to image, color channels shifted horizontally

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94549

--- Comment #1 from dm  ---
Created attachment 119071
  --> https://bugs.documentfoundation.org/attachment.cgi?id=119071=edit
original 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 94549] New: When export to image, color channels shifted horizontally

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94549

Bug ID: 94549
   Summary: When export to image, color channels shifted
horizontally
   Product: LibreOffice
   Version: 5.0.1.2 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: major
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: rastv...@mail.ru

Created attachment 119070
  --> https://bugs.documentfoundation.org/attachment.cgi?id=119070=edit
image bug

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


[Libreoffice-bugs] [Bug 94549] When export to image, color channels shifted horizontally

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94549

--- Comment #2 from dm  ---
and when impor to TIF image stretched horizontally

-- 
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 94550] New: Unwanted characters when printing

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94550

Bug ID: 94550
   Summary: Unwanted characters when printing
   Product: LibreOffice
   Version: unspecified
  Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
  Severity: major
  Priority: medium
 Component: Printing and PDF export
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: john_jeff...@msn.com

Created attachment 119072
  --> https://bugs.documentfoundation.org/attachment.cgi?id=119072=edit
Examples scanned to pdf

When printing from WRITER and IMPRESS, misformed characters appear close to the
edge of the paper.  Example enclosed.  Does not happen if I print a blank page,
ie with no text on it.

Printer is Canon MG5250 connected wirelessly to all computers in the house.

This happened immediately after upgrading to 5.0.2.2 earlier today.

Does not happen when printing to the same printer from other applications on
this PC eg Internet Explorer 11, or from earlier versions of Libre Office
running on other computers in the house.

-- 
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 94534] REPORTBUILDER

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94534

--- Comment #4 from rob...@familiegrosskopf.de ---
This isn't a valid bug-description:
One bug - one bugreport.
Version of LO and system you are using.
Title of the bug should give a hint which behavior of LO is defect.

Saving reports by the button 'Save' of the Report-Builder sometimes seems to be
a problem. See here: https://bugs.documentfoundation.org/show_bug.cgi?id=88254

-- 
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 94550] Unwanted characters when printing

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94550

John Jeffrey  changed:

   What|Removed |Added

 CC||john_jeff...@msn.com

--- Comment #1 from John Jeffrey  ---
I have now reverted to Version 4.4.5.2 and the problem has gone away.

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


[Libreoffice-bugs] [Bug 94552] New: View hardware acceleration greyed out

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94552

Bug ID: 94552
   Summary: View hardware acceleration greyed out
   Product: LibreOffice
   Version: 5.1.0.0.alpha0+ Master
  Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: jjst...@mymts.net

Using Win 10x64, LO 5.1 alpha 1 daily build

Tools|Options|View|Use hardware acceleration = greyed out and unavailable.

5.0.2 is fine.

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


[Libreoffice-bugs] [Bug 75181] FILESAVE : "Write Error" occurs after copying text from Writer into Impress

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=75181

Mark Hung  changed:

   What|Removed |Added

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

--- Comment #5 from Mark Hung  ---


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

-- 
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 93438] Impress generate abnormal style when copy-pasting from Writer with Chinese UI

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93438

Mark Hung  changed:

   What|Removed |Added

 CC||kg_oooh...@ashisuto.co.jp

--- Comment #7 from Mark Hung  ---
*** Bug 75181 has been marked as a duplicate of this bug. ***

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


[Libreoffice-bugs] [Bug 94545] New: FILEOPEN: Failed to open UOT file

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94545

Bug ID: 94545
   Summary: FILEOPEN: Failed to open UOT file
   Product: LibreOffice
   Version: 5.0.2.2 release
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: minor
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: tom...@freenet.de

Version: 5.0.2.2
Build ID: 37b43f919e4de5eeaca9b9755ed688758a8251fe
Locale: de-DE (en_US.utf8)
OpenSuse 12.3

When I tried to open an UOT (Unified Office Format text) file that I had
created just a minute before with Writer 5.0.2.2, it failed leaving the "busy
mouse pointer" on the screen. After terminating LO (fortunately only the mouse
pointer symbol was wrong, but the mouse was still fully functional), I found
the following messages in the terminal that I had used to start
"libreoffice5.0":

runtime error: file
file:///opt/libreoffice5.0/program/../share/xslt/import/uof/uof2odf_text.xsl
line 2880 element attribute
xsl:attribute: Cannot add attributes to an element if children have been
already added to the element.
runtime error: file
file:///opt/libreoffice5.0/program/../share/xslt/import/uof/uof2odf_text.xsl
line 2854 element attribute
xsl:attribute: Cannot add attributes to an element if children have been
already added to the element.
runtime error: file
file:///opt/libreoffice5.0/program/../share/xslt/import/uof/uof2odf_text.xsl
line 2893 element attribute
xsl:attribute: Cannot add attributes to an element if children have been
already added to the element.
runtime error: file
file:///opt/libreoffice5.0/program/../share/xslt/import/uof/uof2odf_text.xsl
line 2867 element attribute
xsl:attribute: Cannot add attributes to an element if children have been
already added to the element.

I am sorry, due to privacy reasons I cannot share the UOT document and the
original ODF document. Hopefully, the runtime error gives enough information to
narrow down the problem. Since I do not use the UOT format often, I set the
severity of this issue to "Minor".

Regards
Tom

-- 
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 94428] Printing adds garbage to top edge of page

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94428

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #8 from Beluga  ---
I think we can set this to NEW as there are now 3 people seeing 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-bugs] [Bug 93094] Editing - sqlite3 tables read only even when defined with primary key using Xerial jdbc driver

2015-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93094

Alex Thurgood  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #19 from Alex Thurgood  ---
Confirming on Linux Mint 17.2 with 

Version: 4.4.3.2
Build ID: 40m0(Build:2)
Locale : fr_FR

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