[Libreoffice-commits] core.git: framework/source framework/util include/sfx2 officecfg/registry sc/source sd/source sfx2/source sw/source

2015-11-18 Thread Maxim Monastirsky
 framework/source/uielement/popuptoolbarcontroller.cxx   |  107 
+++---
 framework/source/uielement/recentfilesmenucontroller.cxx|2 
 framework/util/fwk.component|8 
 include/sfx2/tbxctrl.hxx|   37 ---
 officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu |   53 
 sc/source/ui/app/scdll.cxx  |3 
 sd/source/ui/app/sddll.cxx  |2 
 sfx2/source/appl/appreg.cxx |3 
 sfx2/source/toolbox/tbxitem.cxx |  106 
-
 sw/source/uibase/app/swmodule.cxx   |2 
 10 files changed, 88 insertions(+), 235 deletions(-)

New commits:
commit 5da50768716fbcb0ffc093ecd588527723109fed
Author: Maxim Monastirsky 
Date:   Wed Nov 18 16:36:12 2015 +0200

Unify menu-based toolbar controllers

The new GenericPopupToolbarController takes by default
the popup menu controller that registered for the same
.uno:Something command, and sets ToolBoxItemBits to
ToolBoxItemBits::DROPDOWNONLY. If a different command
specified using the "Value" property - takes the popup
menu controller that registered for this command, and
sets bits to ToolBoxItemBits::DROPDOWN.

Change-Id: I75c5300bd27fcc9f618f2ee0df2aa6aefd088239
Reviewed-on: https://gerrit.libreoffice.org/20040
Tested-by: Jenkins 
Reviewed-by: Maxim Monastirsky 

diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx 
b/framework/source/uielement/popuptoolbarcontroller.cxx
index cdf07a1..66c4ef4 100644
--- a/framework/source/uielement/popuptoolbarcontroller.cxx
+++ b/framework/source/uielement/popuptoolbarcontroller.cxx
@@ -20,6 +20,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
@@ -42,8 +43,6 @@
 #include 
 #include 
 
-#define UNO_COMMAND_RECENT_FILE_LIST".uno:RecentFileList"
-
 using namespace framework;
 
 namespace {
@@ -74,11 +73,11 @@ protected:
 void createPopupMenuController();
 
 css::uno::Reference< css::uno::XComponentContext >  m_xContext;
-boolm_bHasController;
+boolm_bHasController;
+OUStringm_aPopupCommand;
 css::uno::Reference< css::awt::XPopupMenu > m_xPopupMenu;
 
 private:
-OUString m_aPopupCommand;
 css::uno::Reference< css::frame::XUIControllerFactory > 
m_xPopupMenuFactory;
 css::uno::Reference< css::frame::XPopupMenuController > 
m_xPopupMenuController;
 };
@@ -217,16 +216,11 @@ void 
PopupMenuToolbarController::createPopupMenuController()
 
 if ( !m_xPopupMenuController.is() )
 {
-css::uno::Sequence< css::uno::Any > aArgs( 2 );
-css::beans::PropertyValue aProp;
-
-aProp.Name = "Frame";
-aProp.Value <<= m_xFrame;
-aArgs[0] <<= aProp;
+css::uno::Sequence< css::uno::Any > aArgs( 3 );
+aArgs[0] <<= comphelper::makePropertyValue( "Frame", m_xFrame );
+aArgs[1] <<= comphelper::makePropertyValue( "ModuleIdentifier", 
getModuleName() );
+aArgs[2] <<= comphelper::makePropertyValue( "InToolbar", true );
 
-aProp.Name = "ModuleIdentifier";
-aProp.Value <<= getModuleName();
-aArgs[1] <<= aProp;
 try
 {
 m_xPopupMenu.set(
@@ -247,10 +241,11 @@ void 
PopupMenuToolbarController::createPopupMenuController()
 }
 }
 
-class WizardsToolbarController : public PopupMenuToolbarController
+class GenericPopupToolbarController : public PopupMenuToolbarController
 {
 public:
-WizardsToolbarController( const css::uno::Reference< 
css::uno::XComponentContext >& rxContext );
+GenericPopupToolbarController( const css::uno::Reference< 
css::uno::XComponentContext >& rxContext,
+   const css::uno::Sequence< css::uno::Any >& 
rxArgs );
 
 // XServiceInfo
 virtual OUString SAL_CALL getImplementationName() throw 
(css::uno::RuntimeException) override;
@@ -260,75 +255,51 @@ public:
 virtual css::uno::Sequence SAL_CALL getSupportedServiceNames() 
throw (css::uno::RuntimeException) override;
 
 private:
+bool m_bSplitButton;
 ToolBoxItemBits getDropDownStyle() const override;
 };
 
-WizardsToolbarController::WizardsToolbarController(
-const css::uno::Reference< css::uno::XComponentContext >& xContext )
+GenericPopupToolbarController::GenericPopupToolbarController(
+const css::uno::Reference< css::uno::XComponentContext >& xContext,
+const css::uno::Sequence< css::uno::Any >& rxArgs )
 : PopupMenuToolbarController( xContext )
+, m_bSplitButton( false )
 {
+css::beans::PropertyValue aPropValue;
+for ( const auto& arg: 

[Libreoffice-bugs] [Bug 95827] Reorganization of the menu bar for Draw

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95827

--- Comment #4 from Yousuf (Jay) Philips  ---
(In reply to V Stuart Foote from comment #3)
> Don't think we'd be able to force it all into the Modify menu which already
> has a Shapes sub-menu--devoted to interaction of existing shapes. And of
> course the modify menu has many other menu actions to modify existing Draw
> objects.  

I would never suggest everything would need to be forced into the Modify menu,
as Insert and Format have lots of stuff missing from it. The Shapes sub-menu in
Modify has related functions to it outside of the sub-menu (i.e. Combine and
Split), so renaming it to Shape would make sense, as it emphasizes the main
feature of the module, just like Writer has Table, Calc has Sheet, and Impress
has Slide. It could be renamed to Object, but that it less understandable for
most users.

> Seems like what is missing from menu (and underexposed in the now vertical
> Drawing toolbar) are the drawing object creation and selection tools.

Can you clarify which tools you mean here.

> As well the tools for reaching the 3D object dialogs.

I'm assuming you mean the Format > Convert submenu found in Impress.

> So, perhaps in addition to the Modify menu, there should be a Create menu?

What would the Create menu have in it? I was thinking that a Page menu might be
another menu worth having to have page management items found in the Insert
menu as well as page navigation items (e.g. go to next page, go to previous
page).

> Also missing menus to manipulate layers (although that remains limited and
> probably needs UNO command development)--things like movement of Draw
> objects between layers, grouping onto new layer, goto layer for selected
> object, ordering of layers (that would be nice!). Maybe flattening action,
> to bring all objects back to the default layout layer.

Likely useful to have Layer management in the Page menu.

-- 
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 95910] New: FORMATTING: styles from pasted text are hidden and cannot be removed

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95910

Bug ID: 95910
   Summary: FORMATTING: styles from pasted text are hidden and
cannot be removed
   Product: LibreOffice
   Version: 4.2.8.2 release
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: j...@honorablemenschen.com

Created attachment 120629
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120629=edit
Sample document with 'hidden' bold text

When pasting text into a document that contains a style (e.g., bold or italic),
that style is permanently associated with the text and cannot be removed.  If
you (e.g.) unbold the text, it still retains the 'StrongEmphasis' style in the
XML file, even though the text appears normal.  Clear Direct Formatting on the
text reverts it to being bold (not plain), and that bold cannot be removed,
only 'hidden'.

In the event that the text is copied and pasted to another application that
supports the underlying styles (typically online WYSIWYG editors), the text
appears with the 'hidden' style, rather than being plain text.  This is
especially problematic when the hidden style ends up being applied to large
blocks of text because it could not be seen.

The attached document appears to have all text as being plain.  However, Clear
Direct Formatting will reveal a portion in bold that CANNOT be removed.  I have
also seen this happen with italics; I do not know if any other styles are
affected.

-- 
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: 16 commits - bridges/source dtrans/source embedserv/source setup_native/source shell/source

2015-11-18 Thread Stephan Bergmann
 bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx  |   
11 +-
 dtrans/source/win32/clipb/MtaOleClipb.cxx|
1 
 embedserv/source/embed/docholder.cxx |
5 -
 embedserv/source/inprocserv/dllentry.cxx |
4 
 setup_native/source/win32/customactions/quickstarter/quickstarter.cxx|
6 -
 setup_native/source/win32/customactions/reg4allmsdoc/reg4allmsi.cxx  |   
48 --
 setup_native/source/win32/customactions/regactivex/regactivex.cxx|
4 
 setup_native/source/win32/customactions/sellang/sellang.cxx  |
2 
 setup_native/source/win32/customactions/shellextensions/vistaspecial.cxx |   
18 ---
 setup_native/source/win32/customactions/tools/checkversion.cxx   |
2 
 shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx  |
3 
 shell/source/win32/shlxthandler/propsheets/document_statistic.cxx|
1 
 shell/source/win32/shlxthandler/shlxthdl.cxx |   
11 --
 shell/source/win32/shlxthandler/util/registry.cxx|
7 -
 14 files changed, 25 insertions(+), 98 deletions(-)

New commits:
commit 8c0d5d494f102d9e3f7938fa3b1eb5a5662185d3
Author: Stephan Bergmann 
Date:   Wed Nov 18 17:11:23 2015 +0100

-Werror,-Wlogical-op-parentheses

Change-Id: I8e22b6399bbdb07c376299d5a23c8061af18578d

diff --git a/embedserv/source/embed/docholder.cxx 
b/embedserv/source/embed/docholder.cxx
index 4850a75..e373986 100644
--- a/embedserv/source/embed/docholder.cxx
+++ b/embedserv/source/embed/docholder.cxx
@@ -1346,8 +1346,9 @@ DocumentHolder::queryClosing(
 util::CloseVetoException
 )
 {
-if ( !m_bLink
-  && ( m_xDocument.is() && m_xDocument == aSource.Source || m_xFrame.is() 
&& m_xFrame == aSource.Source ) )
+if (!m_bLink
+&& ((m_xDocument.is() && m_xDocument == aSource.Source)
+|| (m_xFrame.is() && m_xFrame == aSource.Source)))
 throw util::CloseVetoException();
 }
 
commit d710266dbf9e6062c29005a5a76269ed36a66922
Author: Stephan Bergmann 
Date:   Wed Nov 18 14:10:37 2015 +0100

-Werror,-Wunused-const-variable

Change-Id: I1d2d3a7867ccea4b7e89a08c0d9e312c676d0188

diff --git a/dtrans/source/win32/clipb/MtaOleClipb.cxx 
b/dtrans/source/win32/clipb/MtaOleClipb.cxx
index 263e8e0..e3b45a2 100644
--- a/dtrans/source/win32/clipb/MtaOleClipb.cxx
+++ b/dtrans/source/win32/clipb/MtaOleClipb.cxx
@@ -78,7 +78,6 @@ namespace /* private */
 const sal_uInt32 MAX_CLIPEVENT_PROCESSING_TIME  = 5000;  // msec
 
 const sal_Bool MANUAL_RESET = sal_True;
-const sal_Bool AUTO_RESET   = sal_False;
 const sal_Bool INIT_NONSIGNALED = sal_False;
 
 /*  Cannot use osl conditions because they are blocking
commit 3b8e2f2612ca9336935580baffd6577bebd3ee08
Author: Stephan Bergmann 
Date:   Sun Nov 15 13:10:08 2015 +0100

-Werror,-Wunused-variable

Change-Id: I7ac641d052643b205f7e470de77d962dd0499dd8

diff --git a/shell/source/win32/shlxthandler/shlxthdl.cxx 
b/shell/source/win32/shlxthandler/shlxthdl.cxx
index e9ca1b8..2983b38 100644
--- a/shell/source/win32/shlxthandler/shlxthdl.cxx
+++ b/shell/source/win32/shlxthandler/shlxthdl.cxx
@@ -44,9 +44,6 @@ namespace /* private */
 const char* CLSID_ENTRY = 
"CLSID\\{GUID}\\InProcServer32";
 const char* SHELLEX_IID_ENTRY   = "{EXT}\\shellex\\{GUID}";
 const char* SHELLEX_ENTRY   = "{EXT}\\shellex";
-const char* PROPSHEET_ENTRY = 
"{EXT}\\CLSID\\{GUID}\\InProcServer32";
-const char* EXTENSION_CLSID = "{EXT}\\CLSID";
-const char* EXTENSION_CLSID_GUID= "{EXT}\\CLSID\\{GUID}";
 const char* FORWARD_PROPSHEET_MYPROPSHEET_ENTRY = 
"{FWDKEY}\\shellex\\PropertySheetHandlers\\MyPropSheet1";
 const char* FORWARD_PROPSHEET_ENTRY = 
"{FWDKEY}\\shellex\\PropertySheetHandlers";
 const char* FORWARD_SHELLEX_ENTRY   = "{FWDKEY}\\shellex";
commit 3b45c0ca62ffe16e6472ab2acf4b6e0816728ac7
Author: Stephan Bergmann 
Date:   Sun Nov 15 13:04:07 2015 +0100

-Werror,-Wduplicate-decl-specifier (extern "C" already in STDAPI)

Change-Id: Ibd633b37e134483b778dcf7bdee1a1a3f377b699

diff --git a/shell/source/win32/shlxthandler/shlxthdl.cxx 
b/shell/source/win32/shlxthandler/shlxthdl.cxx
index fb6c1f4..e9ca1b8 100644
--- a/shell/source/win32/shlxthandler/shlxthdl.cxx
+++ b/shell/source/win32/shlxthandler/shlxthdl.cxx
@@ -302,7 +302,7 @@ namespace /* private */
 // COM exports
 
 
-extern "C" STDAPI DllRegisterServer()
+STDAPI DllRegisterServer()
 {
 TCHAR ModuleFileName[MAX_PATH];
 
@@ -340,7 +340,7 @@ extern "C" STDAPI DllRegisterServer()
 return hr;
 }
 

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

2015-11-18 Thread Mihai Varga
 loleaflet/src/map/handler/Map.Keyboard.js |5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 9d911fbf228223682bf26df128c09ae97a27c1dc
Author: Mihai Varga 
Date:   Wed Nov 18 18:59:53 2015 +0200

loleaflet: fixt ctrl + C (copy) on firefox

diff --git a/loleaflet/src/map/handler/Map.Keyboard.js 
b/loleaflet/src/map/handler/Map.Keyboard.js
index ec50e1b..a58c8a4 100644
--- a/loleaflet/src/map/handler/Map.Keyboard.js
+++ b/loleaflet/src/map/handler/Map.Keyboard.js
@@ -366,7 +366,10 @@ L.Map.Keyboard = L.Handler.extend({
L.Socket.sendMessage('uno .uno:SuperScript');
return true;
}
-
+   if (e.type === 'keypress' && e.originalEvent.key === 'c' && 
e.originalEvent.ctrlKey) {
+   // need to handle this separately for Firefox
+   return true;
+   }
return false;
}
 });
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 93348] Base crashes when entering login information for jdbc connection to MariaDB database (Windows 64bit)

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93348

Alex Thurgood  changed:

   What|Removed |Added

 CC||ste...@twilightmd.com

--- Comment #9 from Alex Thurgood  ---
*** Bug 93396 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 93396] LibreOffice 5.0 Crashes on Windows 8 64-bit when making JDBC connection (Windows 64bit)

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93396

Alex Thurgood  changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #11 from Alex Thurgood  ---
DUP of bug 93348 see comment 6 of that bug

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

-- 
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 92916] registerContextMenuInterceptor does not work when run in a macro on "Open Document"

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92916

raal  changed:

   What|Removed |Added

   Keywords||bisected
 Whiteboard||bibisected

-- 
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 92916] registerContextMenuInterceptor does not work when run in a macro on "Open Document"

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92916

raal  changed:

   What|Removed |Added

 CC||r...@post.cz,
   ||sberg...@redhat.com

--- Comment #4 from raal  ---
This seems to have begun at the below commit.
Adding Cc: to Stephan Bergmann ; Could you possibly take a look at this one?
Thanks 

cc0baee6acfd3166332690fb25404fa440b76abc is the first bad commit
commit cc0baee6acfd3166332690fb25404fa440b76abc
Author: Matthew Francis 
Date:   Sat Mar 14 20:38:34 2015 +0800

source-hash-6b4c596b01039324cfe78f38c4e3ffb9080bcd34

commit 6b4c596b01039324cfe78f38c4e3ffb9080bcd34
Author: Stephan Bergmann 
AuthorDate: Mon Jun 2 11:12:11 2014 +0200
Commit: Stephan Bergmann 
CommitDate: Mon Jun 2 11:12:11 2014 +0200

Fix memory leak for BASIC sub (as well as void function)

d88593af59d9126cdbcd6c0a5b06fb9c673dc6f9 "INTEGRATION: CWS ab34:
#i73457#
Prevent sub from beeing set as param 0 for return type void" to fix
i#73457
"Memory Leak in all Basic type void Method calls" had made the
PutDirect call
dependent on != SbxVOID only (which would cover void functions) but not
also on
!= SbxEMPTY (which would apparently be required to also cover subs, as
seen with
CppunitTest_basic_vba run under lsan).  Either this was an oversight
with the
original fix, or subs have meanwhile changed from GetType() == SbxVOID
to
SbxEMPTY?

Change-Id: I3e5dbf79bfd5eea3cfec8ed3fa984d13167aa501

-- 
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 95908] Can't turn off AutoCorrect globally

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95908

tommy27  changed:

   What|Removed |Added

 CC||ba...@quipo.it
Summary|Cant turn off autocorrect   |Can't turn off AutoCorrect
   |globally|globally

-- 
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: loolwsd/protocol.txt

2015-11-18 Thread Miklos Vajna
 loolwsd/protocol.txt |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit cb189234b07208dd10093958b2320cd659f8224a
Author: Miklos Vajna 
Date:   Wed Nov 18 17:53:03 2015 +0100

loolwsd: describe so far undocumented part= parameter of the load command

diff --git a/loolwsd/protocol.txt b/loolwsd/protocol.txt
index 21de54c..25c6111 100644
--- a/loolwsd/protocol.txt
+++ b/loolwsd/protocol.txt
@@ -52,7 +52,9 @@ load 
 
 Deprecated.
 
-load url= [timestamp=]
+load [part=] url= [timestamp=]
+
+part is an optional parameter.  is a number.
 
 timestamp is an optional parameter.   is provided in microseconds
 since the Unix epoch - midnight, January 1, 1970.
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 88502] User selection of Firefox theme by pasting URL in UI is not possible

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=88502

raal  changed:

   What|Removed |Added

   Keywords||bisected
 CC||r...@post.cz,
   ||rachitgupta1...@gmail.com
 Whiteboard|bibisectRequest |bibisected needsDevEval
   |needsDevEval topicUI|topicUI

--- Comment #17 from raal  ---
This seems to have begun at the below commit.
Adding Cc: to Rachit Gupta  ; Could you possibly take a look at this one?
Thanks

6fb9fea6e4ba94f5ebf1ed70a635349c2256e1f5 is the first bad commit
commit 6fb9fea6e4ba94f5ebf1ed70a635349c2256e1f5
Author: Matthew Francis 
Date:   Sun Mar 15 01:09:10 2015 +0800

source-hash-cd1fae3114fb25845a4d020cd53e9aab460dc2fd

commit cd1fae3114fb25845a4d020cd53e9aab460dc2fd
Author: Rachit Gupta 
AuthorDate: Thu May 1 23:55:41 2014 +0530
Commit: Jan Holesovsky 
CommitDate: Thu Aug 14 19:43:23 2014 +0200

select_persona_dialog.ui changed to include search.

The entered text is searched on Mozilla's test server and the result is
parsed.

Change-Id: I2be660b0f7f60d2bdb2c54cbc958084b87ad1e05

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


alexey.chemichev license statement

2015-11-18 Thread Alexey Chemichev
Hi

All of my past & future contributions to LibreOffice may be licensed
under the MPLv2/LGPLv3+ dual license.

Best Regards
Alexey Chemichev
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2015-11-18 Thread Stephan Bergmann
 sd/source/ui/framework/tools/FrameworkHelper.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 57924b617e4b1b0428cf9b07204b3d5160aa7ea4
Author: Stephan Bergmann 
Date:   Wed Nov 18 18:15:03 2015 +0100

loplugin:nullptr

Change-Id: I57ac7deb1c997adfa656aa0a3c9a1ae82b66cf15

diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx 
b/sd/source/ui/framework/tools/FrameworkHelper.cxx
index 585a82d..842df16 100644
--- a/sd/source/ui/framework/tools/FrameworkHelper.cxx
+++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx
@@ -605,7 +605,7 @@ void FrameworkHelper::HandleModeChangeSlot (
 // and SlideSorterViewShell have no master mode
 DrawViewShell* pDrawViewShell
 = dynamic_cast(pCenterViewShell.get());
-if (pDrawViewShell != NULL)
+if (pDrawViewShell != nullptr)
 {
 pCenterViewShell->Broadcast (
 ViewShellHint(ViewShellHint::HINT_CHANGE_EDIT_MODE_START));
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] online.git: 2 commits - loleaflet/debug loleaflet/src loolwsd/LOOLSession.cpp loolwsd/LOOLSession.hpp loolwsd/protocol.txt

2015-11-18 Thread Miklos Vajna
 loleaflet/debug/document/document_simple_example.html |8 +
 loleaflet/src/core/Socket.js  |6 
 loolwsd/LOOLSession.cpp   |   26 +++---
 loolwsd/LOOLSession.hpp   |3 ++
 loolwsd/protocol.txt  |4 ++
 5 files changed, 43 insertions(+), 4 deletions(-)

New commits:
commit 084e4702573c7bb3be1e203eac9b6ff1fbe72404
Author: Miklos Vajna 
Date:   Wed Nov 18 18:10:00 2015 +0100

loleaflet: send rendering options on load

diff --git a/loleaflet/debug/document/document_simple_example.html 
b/loleaflet/debug/document/document_simple_example.html
index fdadd98..bf3a26c 100644
--- a/loleaflet/debug/document/document_simple_example.html
+++ b/loleaflet/debug/document/document_simple_example.html
@@ -57,8 +57,16 @@
 vex.dialog.alert('Wrong host, usage: host=ws://localhost:9980');
 }
 
+var renderingOptions = {
+".uno:HideWhitespace": {
+"type": "boolean",
+"value": "false"
+}
+};
+
 var globalMap = L.map('map', {
 doc: filePath,
+renderingOptions: renderingOptions,
 server: host,
 edit: edit,
 timestamp: timestamp,
diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js
index ad240ba..fe47c65 100644
--- a/loleaflet/src/core/Socket.js
+++ b/loleaflet/src/core/Socket.js
@@ -53,6 +53,12 @@ L.Socket = {
if (this._map.options.timestamp) {
msg += ' timestamp=' + this._map.options.timestamp;
}
+   if (this._map.options.renderingOptions) {
+   var options = {
+   'rendering': this._map.options.renderingOptions
+   };
+   msg += ' options=' + JSON.stringify(options);
+   }
this.socket.send(msg);
this.socket.send('status');
this.socket.send('partpagerectangles');
commit e6f0abf763f699d5f191eefa9c693548143a5313
Author: Miklos Vajna 
Date:   Wed Nov 18 18:09:13 2015 +0100

loolwsd: support getting load options

This is a single json that contains both load and rendering options.
Currently only the rendering ones are added to it by the client.

Also, just accept the options string for now, a later commit will have
to actually pass the rendering part to
lok::Document::initializeForRendering().

diff --git a/loolwsd/LOOLSession.cpp b/loolwsd/LOOLSession.cpp
index b6abe34..112eb08 100644
--- a/loolwsd/LOOLSession.cpp
+++ b/loolwsd/LOOLSession.cpp
@@ -427,22 +427,42 @@ bool MasterProcessSession::invalidateTiles(const char* 
/*buffer*/, int /*length*
 
 bool MasterProcessSession::loadDocument(const char* /*buffer*/, int 
/*length*/, StringTokenizer& tokens)
 {
-if (tokens.count() < 2 || tokens.count() > 4)
+if (tokens.count() < 2)
 {
 sendTextFrame("error: cmd=load kind=syntax");
 return false;
 }
 
-if (tokens.count() > 2 )
+// First token is the "load" command itself.
+size_t offset = 1;
+if (tokens.count() > 2 && tokens[1].find("part=") == 0)
+{
 getTokenInteger(tokens[1], "part", _loadPart);
+++offset;
+}
 
 std::string timestamp;
-for (size_t i = 1; i < tokens.count(); ++i)
+for (size_t i = offset; i < tokens.count(); ++i)
 {
 if (tokens[i].find("url=") == 0)
+{
 _docURL = tokens[i].substr(strlen("url="));
+++offset;
+}
 else if (tokens[i].find("timestamp=") == 0)
+{
 timestamp = tokens[i].substr(strlen("timestamp="));
+++offset;
+}
+}
+
+if (tokens.count() > offset)
+{
+if (getTokenString(tokens[offset], "options", _docOptions))
+{
+if (tokens.count() > offset + 1)
+_docOptions += Poco::cat(std::string(" "), tokens.begin() + 
offset + 1, tokens.end());
+}
 }
 
 try
diff --git a/loolwsd/LOOLSession.hpp b/loolwsd/LOOLSession.hpp
index c8598b7..4dbb1cf 100644
--- a/loolwsd/LOOLSession.hpp
+++ b/loolwsd/LOOLSession.hpp
@@ -77,6 +77,9 @@ protected:
 // The actual URL, also in the child, even if the child never accesses 
that.
 std::string _docURL;
 
+/// Document options: a JSON string, containing options (rendering, also 
possibly load in the future).
+std::string _docOptions;
+
 private:
 std::mutex _mutex;
 };
diff --git a/loolwsd/protocol.txt b/loolwsd/protocol.txt
index 25c6111..2f98f31 100644
--- a/loolwsd/protocol.txt
+++ b/loolwsd/protocol.txt
@@ -52,13 +52,15 @@ load 
 
 Deprecated.
 
-load [part=] url= [timestamp=]
+load [part=] url= [timestamp=] [options=]
 
 part is an optional parameter.  is a number.
 
 timestamp is an optional parameter.   is provided in 

[Libreoffice-commits] core.git: 2 commits - oox/source sd/qa sd/source slideshow/source

2015-11-18 Thread Tomaž Vajngerl
 oox/source/ppt/slidetransition.cxx   |4 
 oox/source/ppt/slidetransitioncontext.cxx|1 
 sd/qa/unit/data/AllTransitions.odp   |binary
 sd/qa/unit/export-tests.cxx  |5 
 sd/source/filter/eppt/pptx-epptooxml.cxx |5 
 slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx |  107 
+-
 6 files changed, 74 insertions(+), 48 deletions(-)

New commits:
commit 59095c79787bbf9067514225b886d0c25d59e1ff
Author: Tomaž Vajngerl 
Date:   Wed Nov 18 18:26:42 2015 +0100

pptx: import/export of honeycomb slide transition

Change-Id: I3edb77d5b046691e64d600d61dcd44e892c31301

diff --git a/oox/source/ppt/slidetransition.cxx 
b/oox/source/ppt/slidetransition.cxx
index e5e87c9..de883c8 100644
--- a/oox/source/ppt/slidetransition.cxx
+++ b/oox/source/ppt/slidetransition.cxx
@@ -417,6 +417,10 @@ namespace oox { namespace ppt {
 mnTransitionType = TransitionType::MISCSHAPEWIPE;
 mnTransitionSubType = TransitionSubType::DIAMOND;
 break;
+case P14_TOKEN(honeycomb):
+mnTransitionType = TransitionType::MISCSHAPEWIPE;
+mnTransitionSubType = TransitionSubType::HEART;
+break;
 default:
 mnTransitionType = 0;
 break;
diff --git a/oox/source/ppt/slidetransitioncontext.cxx 
b/oox/source/ppt/slidetransitioncontext.cxx
index 0d0c783..589edb9 100644
--- a/oox/source/ppt/slidetransitioncontext.cxx
+++ b/oox/source/ppt/slidetransitioncontext.cxx
@@ -132,6 +132,7 @@ SlideTransitionContext::~SlideTransitionContext() throw()
 case P14_TOKEN( vortex ):
 case P14_TOKEN( ripple ):
 case P14_TOKEN( glitter ):
+case P14_TOKEN( honeycomb ):
 // CT_Empty
 if (!mbHasTransition)
 {
diff --git a/sd/qa/unit/data/AllTransitions.odp 
b/sd/qa/unit/data/AllTransitions.odp
index 11c7c9c..dfb8d2a 100644
Binary files a/sd/qa/unit/data/AllTransitions.odp and 
b/sd/qa/unit/data/AllTransitions.odp differ
diff --git a/sd/qa/unit/export-tests.cxx b/sd/qa/unit/export-tests.cxx
index 02e42e7..eba8d7b 100644
--- a/sd/qa/unit/export-tests.cxx
+++ b/sd/qa/unit/export-tests.cxx
@@ -1275,8 +1275,11 @@ void SdExportTest::testExportTransitionsPPTX()
 // GLITTER
 CPPUNIT_ASSERT(checkTransitionOnPage(xDoc, 72, 
TransitionType::MISCSHAPEWIPE, TransitionSubType::DIAMOND));
 
+// HONEYCOMB
+CPPUNIT_ASSERT(checkTransitionOnPage(xDoc, 73, 
TransitionType::MISCSHAPEWIPE, TransitionSubType::HEART));
+
 // NEWSFLASH
-CPPUNIT_ASSERT(checkTransitionOnPage(xDoc, 73, TransitionType::ZOOM, 
TransitionSubType::ROTATEIN));
+CPPUNIT_ASSERT(checkTransitionOnPage(xDoc, 74, TransitionType::ZOOM, 
TransitionSubType::ROTATEIN));
 }
 
 CPPUNIT_TEST_SUITE_REGISTRATION(SdExportTest);
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx 
b/sd/source/filter/eppt/pptx-epptooxml.cxx
index 95d6b38..e9b02e8 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -597,6 +597,11 @@ void PowerPointExport::WriteTransition( FSHelperPtr pFS )
 pPattern = "hexagon";
 bOOXmlSpecificTransition = true;
 break;
+case animations::TransitionSubType::HEART: // Honeycomb
+nTransition = XML_fade;
+nTransition14 = XML_honeycomb;
+bOOXmlSpecificTransition = true;
+break;
 }
 break;
 }
commit 9f8392846bcf9fa5209834a0f79bd31aa06567a6
Author: Tomaž Vajngerl 
Date:   Wed Nov 18 18:01:31 2015 +0100

slideshow: improve "honeycomb" transition

Change-Id: I8687127cd9ccf6a6ddd87d934f7462a69a047053

diff --git 
a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx 
b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
index 72427ab..e9c9214 100644
--- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
@@ -1864,6 +1864,28 @@ std::shared_ptr makeRipple()
 return makeRippleTransition(aLeavingSlide, aEnteringSlide, aSettings);
 }
 
+void createHexagon(Primitive& aHexagon, const int x, const int y, const int 
NX, const int NY)
+{
+if (y % 4 == 0)
+{
+aHexagon.pushTriangle(vec(x-1, y-1, NX, NY), vec(x,   y-2, NX, NY), 
vec(x, y+0.5, NX, NY));
+aHexagon.pushTriangle(vec(x,   y-2, NX, NY), vec(x+1, y-1, NX, NY), 
vec(x, y+0.5, NX, NY));
+aHexagon.pushTriangle(vec(x+1, y-1, NX, NY), vec(x+1, y,   NX, NY), 
vec(x, y+0.5, NX, NY));
+aHexagon.pushTriangle(vec(x+1, y,   NX, NY), vec(x,   y+1, NX, NY), 
vec(x, y+0.5, NX, NY));
+

[Libreoffice-bugs] [Bug 95912] Dark theme - how to get rid of it?

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95912

Joel Madero  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||jmadero@gmail.com
 Resolution|--- |NOTABUG

--- Comment #1 from Joel Madero  ---
Please ask these types of "how do I" on ask.libreoffice.org. This isn't a bug
report, just a request for assistance. Thanks

-- 
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 95909] Tab create a new line in Table of Contents/ Index

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95909

Alex Thurgood  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 Ever confirmed|0   |1

--- Comment #1 from Alex Thurgood  ---
@Don : sorry,I don't understand what you are trying to do.

1) Download the file attached to bug report
2) Opened in LO4242
3) Place cursor in TOC (mouse click positioning), e.g. at end of the line of an
entry, press Tab key

4) Error message : "Read only content cannot be changed. No modifications will
be accepted."

So, unless your instructions are incomplete, or I am doing something wrong, I'm
afraid I can't reproduce your problem. Please provide systematic reproducible
instructions.


Setting NEEDINFO

-- 
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: sd/source

2015-11-18 Thread Stephan Bergmann
 sd/source/ui/controller/displaymodecontroller.cxx |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e8642a0217654ea5723bbb768c5526349283d179
Author: Stephan Bergmann 
Date:   Wed Nov 18 17:59:46 2015 +0100

loplugin:nullptr

Change-Id: Ia908a67106afee5c9f67c0eb4fb3e9b073329bf8

diff --git a/sd/source/ui/controller/displaymodecontroller.cxx 
b/sd/source/ui/controller/displaymodecontroller.cxx
index 32209e6..9d37bd9 100644
--- a/sd/source/ui/controller/displaymodecontroller.cxx
+++ b/sd/source/ui/controller/displaymodecontroller.cxx
@@ -147,8 +147,8 @@ DisplayModeToolbarMenu::DisplayModeToolbarMenu( 
DisplayModeController& rControll
 : svtools::ToolbarMenu(xFrame, pParent, WB_CLIPCHILDREN )
 , mrController( rController )
 , mxFrame(xFrame)
-, mpDisplayModeSet1( 0 )
-, mpDisplayModeSet2( 0 )
+, mpDisplayModeSet1( nullptr )
+, mpDisplayModeSet2( nullptr )
 {
 const sal_Int32 LAYOUT_BORDER_PIX = 7;
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95912] New: Dark theme - how to get rid of it?

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95912

Bug ID: 95912
   Summary: Dark theme - how to get rid of it?
   Product: LibreOffice
   Version: unspecified
  Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Impress
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: 2460...@gmail.com

User-Agent:   Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0)
Gecko/20100101 Firefox/42.0
Build Identifier: LibreOffice 5.0.3.2

After a few hours of usage, Impress decided to switch to a dark theme. I can't
see any of the options in the menus. How can I override the system theme?

I have a screenshot here http://tinypic.com/r/2w7mq07/9

Reproducible: Always




[Information automatically included from LibreOffice]
Locale: en-US
Module: PresentationDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes


Reset User Profile?No

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


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

2015-11-18 Thread Stephan Bergmann
 embedserv/source/inc/embeddocaccess.hxx |4 
 1 file changed, 4 deletions(-)

New commits:
commit 753057b0d822d6093d267e1a6254969473598e44
Author: Stephan Bergmann 
Date:   Wed Nov 18 16:26:03 2015 +0100

The #else branch is unused now

...after a3ce60eb3c8bb5c69ab41556398efa8316286477 "We only support MSVC 2008
(_MSC_VER 1500) or later" removed the

  && (_MSC_VER > 1310)

part from the #if

Change-Id: I472461b29a37fcf996262c0a83cb10f4cb8443a9
Reviewed-on: https://gerrit.libreoffice.org/20042
Tested-by: Jenkins 
Reviewed-by: Stephan Bergmann 

diff --git a/embedserv/source/inc/embeddocaccess.hxx 
b/embedserv/source/inc/embeddocaccess.hxx
index 721fe8d..01e87e9 100644
--- a/embedserv/source/inc/embeddocaccess.hxx
+++ b/embedserv/source/inc/embeddocaccess.hxx
@@ -29,12 +29,8 @@
 
 #include 
 #ifndef __MINGW32__
-#ifdef _MSC_VER
 #pragma warning(disable : 4265)
 #include 
-#else
-#include 
-#endif
 #endif
 #include 
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95911] New: PDF: export hangs forever, uses 100% CPU

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95911

Bug ID: 95911
   Summary: PDF: export hangs forever, uses 100% CPU
   Product: LibreOffice
   Version: 5.0.3.2 release
  Hardware: x86 (IA32)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: aku456...@gmail.com

PDF export of document in Writer hangs forever using 100% CPU time in a single
core. The same document exports ok in LibreOffice Writer version 4.4.6.3. PDF
export is done with default options, i.e. no options changed. Hangs forever
after ca. 30% of progress, after 30 minutes CPU usage I killed the process from
Task Manager.

I tried both x86 and x64 versions of 5.0.3.2, both with same result. x86
version of 4.4.6.3 works.

I am running 64-bit Windows 7 Ultimate, English UI but Danish locale.

I might have the faulting document available for bug testing if really
necessary but the contents are pretty personal and it is VERY BIG, ~200 MB!,
text is mainly copy/paste from web pages (HTML) and lots of resized jpg images
included. Or might do some testing myself if somebody provides guidelines like
enabling debug output, I am a very experienced C++ software developer (30+
years experience!) but don't know LibreOffice at all.

Happy to provide more information or help if necessary, LibreOffice is a nice
product and I have used it for many years. I really need the PDF export
function in daily usage!

-- 
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 93644] Header Object Anchored Incorrectly Causing Incorrect Alignment

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93644

raal  changed:

   What|Removed |Added

 CC||michael.me...@collabora.com
   ||, r...@post.cz

--- Comment #10 from raal  ---
This seems to have begun at the below commit.
Adding Cc: to Michael Meeks ; Could you possibly take a look at this one?
Thanks

2b816c44ec70b743ef29d091031d1f51c73bb9ad is the first bad commit
commit 2b816c44ec70b743ef29d091031d1f51c73bb9ad
Author: Matthew Francis 
Date:   Sat Mar 14 22:23:33 2015 +0800

source-hash-4771c8836a3e4d5e8ac25a7212293a13fb1e73ba

commit 4771c8836a3e4d5e8ac25a7212293a13fb1e73ba
Author: Michael Meeks 
AuthorDate: Sat Jun 28 22:59:33 2014 +0100
Commit: Michael Meeks 
CommitDate: Mon Jun 30 15:36:27 2014 +0100

writerfilter: use XFastAttributes more efficiently.

Don't duplicate UTF8 as UCS2 before converting to integers.
Don't double convert every attribute, and allocate it twice.

Change-Id: Ibb15d703f011865dac8eb72f18408a5d62b60d96

-- 
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 90904] FILESAVE: OOXML export is missing document statistics

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=90904

--- Comment #5 from alexey.chemichev  ---
Hi, guys.
See no stat counter for the lines of text.

neither here:
sw/source/filter/xml/xmlmeta.cxx: statistic s_stats []

nor here:
sw/inc/docstat.hxx: SW_DLLPUBLIC SwDocStat

Quick and easy patch for
Pages / Word count / Character count
could be quickly submitted (from me)
(Paragraph count is already exposed in MS Properties Explorer)

-- 
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 90904] FILESAVE: OOXML export is missing document statistics

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=90904

--- Comment #5 from alexey.chemichev  ---
Hi, guys.
See no stat counter for the lines of text.

neither here:
sw/source/filter/xml/xmlmeta.cxx: statistic s_stats []

nor here:
sw/inc/docstat.hxx: SW_DLLPUBLIC SwDocStat

Quick and easy patch for
Pages / Word count / Character count
could be quickly submitted (from me)
(Paragraph count is already exposed in MS Properties Explorer)

-- 
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 84416] 3-D slide transitions not working on Windows

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=84416

Yousuf (Jay) Philips  changed:

   What|Removed |Added

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

--- Comment #10 from Yousuf (Jay) Philips  ---
(In reply to V Stuart Foote from comment #9)
> All the transitions seem to be working well now on Windows with current
> master. Both with and without OpenGL support enabled.

OpenGL transitions only run with OpenGL and the OpenGL option in the Tools
dialog is for having the UI rendered with OpenGL.

> Good on Windows 7 sp1 32-bit (en-US)
> Adapter Type  VMware Virtual SVGA 3D Graphics Adapter, VMware, Inc. compatible
> Adapter Description   VMware SVGA 3D
> Adapter RAM   1.00 GB (1,073,741,824 bytes)
> Installed Drivers vm3dum.dll,vm3dum_10.dll
> Driver Version8.15.1.32
>
[...]
>
> good on Windows 8.1 Ent 64-bit (en-US)
> Adapter Description   NVIDIA Quadro K2000
> Adapter RAM   (2,147,483,648) bytes
> Installed Drivers
> nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
> Driver Version9.18.13.3182

What version of OpenGL did these run on?

https://wiki.documentfoundation.org/OpenGL

@David: Is there anyway to suppress a graphics card on windows or linux to use
a particular version of opengl, so that the opengl support can be tested?

-- 
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 91387] create doxygen docs for the LibreOffice build system from inline comments

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91387

--- Comment #2 from David H. Gutteridge  ---
Created attachment 120630
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120630=edit
Sample Make file with embedded documentation

-- 
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 91387] create doxygen docs for the LibreOffice build system from inline comments

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91387

--- Comment #2 from David H. Gutteridge  ---
Created attachment 120630
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120630=edit
Sample Make file with embedded documentation

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


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

2015-11-18 Thread Samuel Mehrbrodt
 include/vcl/toolbox.hxx|3 -
 vcl/source/window/toolbox.cxx  |   55 -
 vcl/source/window/toolbox2.cxx |   90 -
 3 files changed, 148 deletions(-)

New commits:
commit 99648095012187ef284d0a9399a8e12878b2a370
Author: Samuel Mehrbrodt 
Date:   Wed Nov 18 14:07:46 2015 +0100

ToolBox: Remove unused methods

Change-Id: Ic56cf27c61a904278770f0617d827e574d1eae68

diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx
index 81f6297..13aff0f 100644
--- a/include/vcl/toolbox.hxx
+++ b/include/vcl/toolbox.hxx
@@ -190,7 +190,6 @@ private:
 SAL_DLLPRIVATE voidImplInit( vcl::Window* pParent, WinBits 
nStyle );
 using DockingWindow::ImplInitSettings;
 SAL_DLLPRIVATE voidImplInitSettings( bool bFont, bool 
bForeground, bool bBackground );
-SAL_DLLPRIVATE voidImplLoadRes( const ResId& rResId );
 SAL_DLLPRIVATE ImplToolItem*   ImplGetItem( sal_uInt16 nId ) const;
 SAL_DLLPRIVATE boolImplCalcItem();
 SAL_DLLPRIVATE sal_uInt16  ImplCalcBreaks( long nWidth, long* 
pMaxLineWidth, bool bCalcHorz );
@@ -312,8 +311,6 @@ public:
 virtual voidResizing( Size& rSize ) override;
 virtual SizeGetOptimalSize() const override;
 
-voidInsertItem( const ResId& rResId,
-sal_uInt16 nPos = TOOLBOX_APPEND );
 /// Insert a command (like '.uno:Save').
 virtual voidInsertItem( const OUString& rCommand,
 const 
css::uno::Reference& rFrame,
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index 01a7305..b9ad577 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -1540,61 +1540,6 @@ void ToolBox::ImplInitSettings(bool bFont, bool 
bForeground, bool bBackground)
 }
 }
 
-void ToolBox::ImplLoadRes( const ResId& rResId )
-{
-ResMgr* pMgr = rResId.GetResMgr();
-if( ! pMgr )
-return;
-
-DockingWindow::ImplLoadRes( rResId );
-
-sal_uLong  nObjMask;
-
-nObjMask = ReadLongRes();
-
-if ( nObjMask & RSC_TOOLBOX_BUTTONTYPE )
-SetButtonType( (ButtonType)ReadLongRes() );
-
-if ( nObjMask & RSC_TOOLBOX_ALIGN )
-SetAlign( (WindowAlign)ReadLongRes() );
-
-if ( nObjMask & RSC_TOOLBOX_LINECOUNT )
-SetLineCount( sal::static_int_cast(ReadLongRes()) );
-
-if ( nObjMask & RSC_TOOLBOX_CUSTOMIZE )
-{
-bool bCust = ReadShortRes();
-EnableCustomize( bCust );
-}
-
-if ( nObjMask & RSC_TOOLBOX_MENUSTRINGS )
-{
-bool bCust = ReadShortRes();
-EnableMenuStrings( bCust );
-}
-
-if ( nObjMask & RSC_TOOLBOX_FLOATLINES )
-SetFloatingLines( ReadShortRes() );
-
-if ( nObjMask & RSC_TOOLBOX_ITEMIMAGELIST )
-{
-maImageList = ImageList( ResId( 
static_cast(GetClassRes()), *pMgr ) );
-IncrementRes( GetObjSizeRes( 
static_cast(GetClassRes()) ) );
-}
-
-if ( nObjMask & RSC_TOOLBOX_ITEMLIST )
-{
-sal_uLong nEle = ReadLongRes();
-
-// insert item
-for ( sal_uLong i = 0; i < nEle; i++ )
-{
-InsertItem( ResId( static_cast(GetClassRes()), 
*pMgr ) );
-IncrementRes( GetObjSizeRes( static_cast(GetClassRes()) ) );
-}
-}
-}
-
 ToolBox::ToolBox( vcl::Window* pParent, WinBits nStyle ) :
 DockingWindow( WINDOW_TOOLBOX )
 {
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx
index 8899577..7833345 100644
--- a/vcl/source/window/toolbox2.cxx
+++ b/vcl/source/window/toolbox2.cxx
@@ -448,96 +448,6 @@ void ToolBox::Select()
 pWrapper->GetFloatingWindow()->EndPopupMode();
 }
 
-void ToolBox::InsertItem( const ResId& rResId, sal_uInt16 nPos )
-{
-sal_uLong nObjMask;
-bool  bImage = false; // has image
-
-// create item
-ImplToolItem aItem;
-
-GetRes( rResId.SetRT( RSC_TOOLBOXITEM ) );
-nObjMask= ReadLongRes();
-
-if ( nObjMask & RSC_TOOLBOXITEM_ID )
-aItem.mnId = sal::static_int_cast(ReadLongRes());
-else
-aItem.mnId = 1;
-
-if ( nObjMask & RSC_TOOLBOXITEM_TYPE )
-aItem.meType = (ToolBoxItemType)ReadLongRes();
-
-if ( nObjMask & RSC_TOOLBOXITEM_STATUS )
-aItem.mnBits = (ToolBoxItemBits)ReadLongRes();
-
-if( nObjMask & RSC_TOOLBOXITEM_HELPID )
-aItem.maHelpId = ReadByteStringRes();
-
-if ( nObjMask & RSC_TOOLBOXITEM_TEXT )
-{
-aItem.maText = ReadStringRes();
-aItem.maText = ImplConvertMenuString( aItem.maText );
-}
-if ( nObjMask & RSC_TOOLBOXITEM_HELPTEXT )
-aItem.maHelpText = ReadStringRes();
-
-if ( nObjMask & RSC_TOOLBOXITEM_BITMAP )
-{
-Bitmap aBmp = Bitmap( ResId( 
static_cast(GetClassRes()), *rResId.GetResMgr() ) );
-

[Libreoffice-commits] online.git: 4 commits - loleaflet/reference.html

2015-11-18 Thread Mihai Varga
 loleaflet/reference.html |  379 ++-
 1 file changed, 247 insertions(+), 132 deletions(-)

New commits:
commit f045fb5613985136fe31cc3d75d77966a34c0219
Author: Mihai Varga 
Date:   Wed Nov 18 17:45:07 2015 +0200

loleaflet: order the events description alphabetically

diff --git a/loleaflet/reference.html b/loleaflet/reference.html
index 3142c78..f8ad51f 100644
--- a/loleaflet/reference.html
+++ b/loleaflet/reference.html
@@ -1798,7 +1798,7 @@ var map = L.map('map', {

 
 
-SearchEvent
+CellFormulaEvent
 
 

@@ -1807,39 +1807,13 @@ var map = L.map('map', {
description


-   originalPhrase
+   formula
String
-   The phrase that has been searched for
-   
-   
-   count
-   Number
-   Number of search results
-   
-   
-   results
-   SearchResult[]
-   An array representing the selections of the search results 
in the document.
-   
-
-
-
-PrintEvent
-
-
-   
-   property
-   type
-   description
-   
-   
-   url
-String
-   An url for the PDF exported document.
+   The formula from the selected cell.

 
 
-PartPageRectangles
+CommandResult
 
 

@@ -1848,29 +1822,16 @@ var map = L.map('map', {
description


-   pixelRectangles
-Bounds[]
-   An array of bounds representing each page's dimension in 
pixels on the current zoom level.
-   
-   
-   twipsRectangles
-   Bounds[]
-   An array of bounds representing each page's dimension in 
twips.
-   
-
-
-PermissionEvent
-
-
-   
-   property
-   type
-   description
+   commandName
+   CommandStateChangedValues
+   UNO command.


-   perm
-   DocumentPermission
-   Document permission.
+   success
+   Boolean or undefined
+   Returns the status code of the command execution, or
+   undefined if the result is not provided, and the command
+   only indicates that the operation has finished.

 
 
@@ -1894,7 +1855,7 @@ var map = L.map('map', {

 
 
-CommandResult
+DocumentSizeEvent
 
 

@@ -1903,20 +1864,18 @@ var map = L.map('map', {
description


-   commandName
-   CommandStateChangedValues
-   UNO command.
+   x
+   Number
+   Document width in pixels.


-   success
-   Boolean or undefined
-   Returns the status code of the command execution, or
-   undefined if the result is not provided, and the command
-   only indicates that the operation has finished.
+   y
+   Number
+   Document height in pixels.

 
 
-UpdatePartsEvent
+ErrorEvent
 
 

@@ -1925,24 +1884,19 @@ var map = L.map('map', {
description


-   selectedPart
-   Number
-   The currently selected part.
-   
-   
-   parts
-   Number
-   The number of parts in the document.
+   msg
+   String
+   If present, the error message.


-   docType
-   DocumentTypeValues
-   The document type.
+   cmd
+   String
+   If present, the server command that caused the error.


-   partNames
-   String[]
-   If present, an array containing slides' / spreadsheets' 
names.
+   kind
+   String
+   If present, the kind of error associated with the 
command.

 
 
@@ -1962,7 +1916,7 @@ var map = L.map('map', {

 
 
-TilePreviewEvent
+PageNumberChangedEvent
 
 

@@ -1971,38 +1925,23 @@ var map = L.map('map', {
description


-   tile
-   Image
-   The actual preview.
-   
-   
-   id
-   Object
-   Preview id.
-   
-   
-   width
+   currentPage
Number
-   Image width.
+   The current page in the document.


-   height
+   pages
Number
-   Image height.
+   The number of pages.


docType
DocumentTypeValues
The document type.

[Libreoffice-bugs] [Bug 95896] Base crashing when opening a form

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95896

Julien Nabet  changed:

   What|Removed |Added

 CC||serval2...@yahoo.fr

--- Comment #2 from Julien Nabet  ---
2 more things:
1) Do you reproduce this on last stable LO version 5.0.3? (see
https://launchpad.net/~libreoffice/+archive/ubuntu/ppa)

2)
Could you please attach an example file by using this link?
https://bugs.documentfoundation.org/attachment.cgi?bugid=95896=enter

(Have in mind that any attachment is automatically made public, so remove any
confidential/private part if in tables part)

-- 
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 91387] create doxygen docs for the LibreOffice build system from inline comments

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91387

--- Comment #1 from David H. Gutteridge  ---
Depending upon what your goal is, it's not necessary to create custom tooling
or such. Simply configuring Doxygen to treat Make files as one of the scripting
languages it supports will enable it to parse embedded documentation. Of the
choices, I've found TCL is a better fit than Python, as with the latter,
Doxygen picks up Make variables automatically, but can get some of it kind of
wrong. I infer from looking at the existing documentation samples that the goal
is to document only some of the content (specific targets and variables, not
everything), in which case it's simplest to just manually type out the desired
information at the start of the files. (If on the other hand the goal is
actually to have something automatically parse GNU Make file syntax, it would
probably make more sense to start a side project to add that functionality to
Doxygen itself, rather than maintaining something custom just for LibreOffice.)

I've attached sample Make and configuration files that demonstrate this
approach. They're based upon the existing files in the LibreOffice source. (I
haven't updated the sample's documentation to reflect current reality, just
copied from the old fake C++ file in question, to demonstrate general
feasibility.) This method requires manual application of tags to convey the
desired structure, but still requires less typing than the original approach, I
think.

This is of course the easy part. The more time-consuming effort will be in
actually documenting the Make files! Anyway, my two cents.

-- 
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 91387] create doxygen docs for the LibreOffice build system from inline comments

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91387

--- Comment #1 from David H. Gutteridge  ---
Depending upon what your goal is, it's not necessary to create custom tooling
or such. Simply configuring Doxygen to treat Make files as one of the scripting
languages it supports will enable it to parse embedded documentation. Of the
choices, I've found TCL is a better fit than Python, as with the latter,
Doxygen picks up Make variables automatically, but can get some of it kind of
wrong. I infer from looking at the existing documentation samples that the goal
is to document only some of the content (specific targets and variables, not
everything), in which case it's simplest to just manually type out the desired
information at the start of the files. (If on the other hand the goal is
actually to have something automatically parse GNU Make file syntax, it would
probably make more sense to start a side project to add that functionality to
Doxygen itself, rather than maintaining something custom just for LibreOffice.)

I've attached sample Make and configuration files that demonstrate this
approach. They're based upon the existing files in the LibreOffice source. (I
haven't updated the sample's documentation to reflect current reality, just
copied from the old fake C++ file in question, to demonstrate general
feasibility.) This method requires manual application of tags to convey the
desired structure, but still requires less typing than the original approach, I
think.

This is of course the easy part. The more time-consuming effort will be in
actually documenting the Make files! Anyway, my two cents.

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


[Libreoffice-commits] core.git: cppu/qa include/cppu include/rtl include/sal

2015-11-18 Thread Stephan Bergmann
 cppu/qa/test_unotype.cxx |   53 +++
 include/cppu/unotype.hxx |   16 ++
 include/rtl/ustrbuf.hxx  |5 
 include/sal/types.h  |4 +++
 4 files changed, 78 insertions(+)

New commits:
commit 0b07406f7147b9abbb2095d9e038b13293cb8b10
Author: Stephan Bergmann 
Date:   Wed Nov 18 13:40:34 2015 +0100

Use C++11 char16_t for sal_Unicode

...in LIBO_INTERNAL_ONLY, __cplusplus, non-MSVC case.

It turns out that sal_Unicode happens to not be mangled into any symbols 
that
make up the stable URE interface, so (for LIBO_INTERNAL_ONLY, at least) we 
are
free to replace the typedef to sal_uInt16 with a typedef to any integral 
type
layout-compatible with that.  (sal_Unicode does appear in some symbols in 
sal's
PRIVATE_textenc.1 section, but that is private between the sal and 
sal_textenc
libraries, so changing those symbols does not require a change of SONAME.)
C++11 chart16_t is the obvious choice (and will ultimately allow using 
u"..."
to write literals of type array-of-sal_Unicode).  Reportedly, char16_t is
supported since GCC 4.4 and Clang 2.9 but will only be available in MSVC 
2015.

For plain C, we continue to use sal_uInt16.  We could theoretically use C11
char16_t from , but at least the Mac OS X 10.11 SDK still does not
offer that C11 header.

For MSVC, we continue to use wchar_t (which is actually unsigned short, due 
to
/Zc:wchar_t-) for now.  Potential options there include dropping 
/Zc:wchar_t-
and using true wchar_t, or using C++11 char16_t once support for MSVC 2013 
is
dropped.

Some code needed to be adapted that was written in a way assuming that
sal_Unicode is unsigned short (which indicates that changing sal_Unicode for
non-LIBO_INTERNAL_ONLY would be an ABI change).  OUStringBuffer::append can 
now
differentiate between being called with sal_Unicode (to append a single
character) and erroneously being called with sal_uInt16 (intending to 
append a
number's textual representation, for which the sal_Int32 overload must be 
used
instead).  Bugs found are 379fe0409e7973b36210cffa3dd1dfd4032f0ecc "Assume 
that
this code wants to append a number, not a character" and
dc148335a6a438848325f24c49198fba81043279 "Assume this wants to append the
numerical representation."

The GDB support for pretty-printing of sal_Unicode-related data in
solenv/gdb/libreoffice/sal.py can presumably be simplified now.

Change-Id: I445b3a80e65b7cb004d9e08b38bdc9ee93bc9401
Reviewed-on: https://gerrit.libreoffice.org/20036
Reviewed-by: Stephan Bergmann 
Tested-by: Stephan Bergmann 

diff --git a/cppu/qa/test_unotype.cxx b/cppu/qa/test_unotype.cxx
index 2732337..338c6f7 100644
--- a/cppu/qa/test_unotype.cxx
+++ b/cppu/qa/test_unotype.cxx
@@ -233,7 +233,11 @@ void Test::testUnoType() {
 }
 
 void Test::testGetTypeFavourUnsigned() {
+#if defined SAL_W32 && !defined __MINGW32__ // cf. sal/types.h sal_Unicode
 CPPUNIT_ASSERT(typeid(sal_Unicode) == typeid(sal_uInt16));
+#else
+CPPUNIT_ASSERT(typeid(sal_Unicode) != typeid(sal_uInt16));
+#endif
 CPPUNIT_ASSERT_EQUAL(
 cppu::getTypeFavourUnsigned(static_cast(nullptr)),
 cppu::UnoType::get());
@@ -277,9 +281,15 @@ void Test::testGetTypeFavourUnsigned() {
 CPPUNIT_ASSERT_EQUAL(
 cppu::getTypeFavourUnsigned(static_cast(nullptr)),
 cppu::UnoType::get());
+#if defined SAL_W32 && !defined __MINGW32__ // cf. sal/types.h sal_Unicode
 CPPUNIT_ASSERT_EQUAL(
 cppu::getTypeFavourUnsigned(static_cast(nullptr)),
 cppu::UnoType::get());
+#else
+CPPUNIT_ASSERT_EQUAL(
+cppu::getTypeFavourUnsigned(static_cast(nullptr)),
+cppu::UnoType::get());
+#endif
 CPPUNIT_ASSERT_EQUAL(
 cppu::getTypeFavourUnsigned(static_cast(nullptr)),
 cppu::UnoType::get());
@@ -316,6 +326,7 @@ void Test::testGetTypeFavourUnsigned() {
 cppu::UnoType<
 cppu::UnoSequenceType<
 cppu::UnoSequenceType>>::get());
+#if defined SAL_W32 && !defined __MINGW32__ // cf. sal/types.h sal_Unicode
 CPPUNIT_ASSERT_EQUAL(
 cppu::getTypeFavourUnsigned(
 static_cast(nullptr)),
@@ -329,6 +340,20 @@ void Test::testGetTypeFavourUnsigned() {
 cppu::UnoType<
 cppu::UnoSequenceType<
 cppu::UnoSequenceType>>::get());
+#else
+CPPUNIT_ASSERT_EQUAL(
+cppu::getTypeFavourUnsigned(
+static_cast(nullptr)),
+cppu::UnoType::get());
+CPPUNIT_ASSERT_EQUAL(
+cppu::getTypeFavourUnsigned(
+static_cast<
+css::uno::Sequence<
+css::uno::Sequence> *>(nullptr)),
+cppu::UnoType<
+cppu::UnoSequenceType<
+

[Libreoffice-commits] core.git: embedserv/source shell/source

2015-11-18 Thread Stephan Bergmann
 embedserv/source/inc/embservconst.h   |4 
 shell/source/win32/shlxthandler/columninfo/columninfo.cxx |6 --
 2 files changed, 10 deletions(-)

New commits:
commit 4668528dda8b1a71eab1952dec5c95df008b4040
Author: Stephan Bergmann 
Date:   Wed Nov 18 16:53:14 2015 +0100

-Wmissing-braces is globally disabled in com_GCC_defs.mk anyway

Change-Id: Ie2a1e6785ac925f268e63775f2282df3f3c6bcd4

diff --git a/embedserv/source/inc/embservconst.h 
b/embedserv/source/inc/embservconst.h
index d65ef00..332c0ab 100644
--- a/embedserv/source/inc/embservconst.h
+++ b/embedserv/source/inc/embservconst.h
@@ -24,10 +24,6 @@
 
 #include 
 
-#if defined __MINGW32__
-#pragma GCC diagnostic warning "-Wmissing-braces"
-#endif
-
 #define SUPPORTED_FACTORIES_NUM 10
 
 #if defined(__MINGW32__) && !defined(INITGUID)
diff --git a/shell/source/win32/shlxthandler/columninfo/columninfo.cxx 
b/shell/source/win32/shlxthandler/columninfo/columninfo.cxx
index e503bc3..ac45cb7 100644
--- a/shell/source/win32/shlxthandler/columninfo/columninfo.cxx
+++ b/shell/source/win32/shlxthandler/columninfo/columninfo.cxx
@@ -27,12 +27,6 @@
 #include 
 #include 
 
-#if defined __GNUC__
-#pragma GCC diagnostic warning "-Wmissing-braces"
-#endif
-
-
-
 namespace /* private */
 {
 SHCOLUMNINFO ColumnInfoTable[] =
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95878] UI: More useful function suggestion system in formula editting

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95878

--- Comment #3 from Keigo Kawamura  ---
Even if making pull-down menu would be hard, I think we should make at least
function suggestion list like "->sum, sumif, sumifs...". This can be realized
only with tooltip we already have.

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


Gerrit 20034: Add/change some logs in WebDAV ucb.ucp layer

2015-11-18 Thread Giuseppe Castagno

Hi all,

the subject Gerrit:

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

adds and/or changes logs in WebDAV layer only, I find them useful in 
triaging some of the WebDAV issues.


When a reviewer has time, please have a look.

Thanks.

--
Kind Regards,
Giuseppe Castagno aka beppec56
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: external/clucene

2015-11-18 Thread Stephan Bergmann
 external/clucene/patches/clucene-warnings.patch |   15 +--
 1 file changed, 5 insertions(+), 10 deletions(-)

New commits:
commit 0a779d1dc3e08a9f5407f96b98d7fffa3e789a79
Author: Stephan Bergmann 
Date:   Wed Nov 18 15:05:11 2015 +0100

No more need to include config_global.h

...after 3b59dbbffdb73e48f9e2398bb1eecc24e3d95e13 "remove
HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE check and macro"

Change-Id: I0e9f3c15d48affe104dd6b5df9828ef5e62dfa88

diff --git a/external/clucene/patches/clucene-warnings.patch 
b/external/clucene/patches/clucene-warnings.patch
index dc20d19..981215f 100644
--- a/external/clucene/patches/clucene-warnings.patch
+++ b/external/clucene/patches/clucene-warnings.patch
@@ -1,10 +1,9 @@
 --- src/core/CLucene/analysis/AnalysisHeader.h 2012-02-22 12:37:22.531637934 
+
 +++ src/core/CLucene/analysis/AnalysisHeader.h 2012-02-22 12:39:15.369916728 
+
-@@ -7,6 +7,12 @@
+@@ -7,6 +7,11 @@
  #ifndef _lucene_analysis_AnalysisHeader_
  #define _lucene_analysis_AnalysisHeader_
  
-+#include 
 +#if defined(__GNUC__)
 +# pragma GCC diagnostic push
 +# pragma GCC diagnostic ignored "-Woverloaded-virtual"
@@ -24,11 +23,10 @@
  #endif
 --- src/core/CLucene/search/Searchable.h   2012-02-22 12:37:22.513637729 
+
 +++ src/core/CLucene/search/Searchable.h   2012-02-22 12:38:51.073641550 
+
-@@ -7,6 +7,12 @@
+@@ -7,6 +7,11 @@
  #ifndef _lucene_search_Searcher_
  #define _lucene_search_Searcher_
  
-+#include 
 +#if defined(__GNUC__)
 +# pragma GCC diagnostic push
 +# pragma GCC diagnostic ignored "-Woverloaded-virtual"
@@ -48,11 +46,10 @@
  #endif
 --- src/core/CLucene/store/IndexInput.h2012-02-22 12:37:22.508637673 
+
 +++ src/core/CLucene/store/IndexInput.h2012-02-22 12:39:00.465747935 
+
-@@ -7,6 +7,12 @@
+@@ -7,6 +7,11 @@
  #ifndef _lucene_store_IndexInput_
  #define _lucene_store_IndexInput_
  
-+#include 
 +#if defined(__GNUC__)
 +# pragma GCC diagnostic push
 +# pragma GCC diagnostic ignored "-Woverloaded-virtual"
@@ -72,11 +69,10 @@
  #endif
 --- src/core/CLucene/util/Array.h  2012-02-22 12:37:22.510637696 +
 +++ src/core/CLucene/util/Array.h  2012-02-22 12:38:33.71884 +
-@@ -7,6 +7,13 @@
+@@ -7,6 +7,12 @@
  #ifndef _lucene_util_Array_
  #define _lucene_util_Array_
  
-+#include 
 +#if defined(__GNUC__)
 +# pragma GCC diagnostic push
 +# pragma GCC diagnostic ignored "-Wshadow"
@@ -97,11 +93,10 @@
  #endif
 --- src/core/CLucene/util/PriorityQueue.h  2012-02-22 12:37:22.510637696 
+
 +++ src/core/CLucene/util/PriorityQueue.h  2012-02-22 12:38:40.316519685 
+
-@@ -7,6 +7,12 @@
+@@ -7,6 +7,11 @@
  #ifndef _lucene_util_PriorityQueue_
  #define _lucene_util_PriorityQueue_
  
-+#include 
 +#if defined(__GNUC__)
 +# pragma GCC diagnostic push
 +# pragma GCC diagnostic ignored "-Wshadow"
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: 4 commits - desktop/qa desktop/source include/LibreOfficeKit include/vcl libreofficekit/qa libreofficekit/source sc/inc sc/source sd/qa sd/source sw/inc sw/qa sw/source

2015-11-18 Thread Miklos Vajna
 desktop/qa/desktop_lib/test_desktop_lib.cxx |4 -
 desktop/source/lib/init.cxx |   78 ++--
 desktop/source/lib/lokandroid.cxx   |2 
 include/LibreOfficeKit/LibreOfficeKit.h |3 
 include/LibreOfficeKit/LibreOfficeKit.hxx   |   16 +++-
 include/LibreOfficeKit/LibreOfficeKitGtk.h  |2 
 include/vcl/ITiledRenderable.hxx|2 
 libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx |   25 +-
 libreofficekit/source/gtk/lokdocview.cxx|5 +
 sc/inc/docuno.hxx   |2 
 sc/source/ui/unoobj/docuno.cxx  |2 
 sd/qa/unit/tiledrendering/tiledrendering.cxx|2 
 sd/source/ui/inc/unomodel.hxx   |2 
 sd/source/ui/unoidl/unomodel.cxx|2 
 sw/inc/unotxdoc.hxx |2 
 sw/qa/extras/tiledrendering/tiledrendering.cxx  |3 
 sw/source/uibase/uno/unotxdoc.cxx   |8 +-
 17 files changed, 102 insertions(+), 58 deletions(-)

New commits:
commit be28ab9aa535e36ea226bc5aeaedea95fd2ba3db
Author: Miklos Vajna 
Date:   Wed Nov 18 16:07:17 2015 +0100

sw: handle arguments in SwXTextDocument::initializeForTiledRendering()

Change-Id: I19efc6050c78162e0889437d4c8285d1a6714e82

diff --git a/sw/source/uibase/uno/unotxdoc.cxx 
b/sw/source/uibase/uno/unotxdoc.cxx
index 2761a7a..4bede99 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -3200,7 +3200,7 @@ OUString SwXTextDocument::getPartName(int nPart)
 return OUString(SW_RES(STR_PAGE)) + OUString::number(nPart + 1);
 }
 
-void SwXTextDocument::initializeForTiledRendering(const 
css::uno::Sequence& /*rArguments*/)
+void SwXTextDocument::initializeForTiledRendering(const 
css::uno::Sequence& rArguments)
 {
 SolarMutexGuard aGuard;
 
@@ -3222,6 +3222,12 @@ void SwXTextDocument::initializeForTiledRendering(const 
css::uno::SequenceGetViewOptions());
 aViewOption.SetHardBlank(false);
+for (sal_Int32 i = 0; i < rArguments.getLength(); ++i)
+{
+const beans::PropertyValue& rValue = rArguments[i];
+if (rValue.Name == ".uno:HideWhitespace" && rValue.Value.has())
+aViewOption.SetHideWhitespaceMode(rValue.Value.get());
+}
 pViewShell->ApplyViewOptions(aViewOption);
 
 // Disable map mode, so that it's possible to send mouse event coordinates
commit 0ea68eecddf0211f842645c4d257899531692770
Author: Miklos Vajna 
Date:   Wed Nov 18 15:57:36 2015 +0100

gtktiledviewer: allow passing initializeForRendering() arguments

Change-Id: Ic7b52764cf2fedbf73d4dcaaf36d1055b8ee22f2

diff --git a/include/LibreOfficeKit/LibreOfficeKitGtk.h 
b/include/LibreOfficeKit/LibreOfficeKitGtk.h
index 32cb669..c947ce3 100644
--- a/include/LibreOfficeKit/LibreOfficeKitGtk.h
+++ b/include/LibreOfficeKit/LibreOfficeKitGtk.h
@@ -65,6 +65,7 @@ GtkWidget* lok_doc_view_new_from_widget   
 (LOKDocView*
  * lok_doc_view_open_document:
  * @pDocView: The #LOKDocView instance
  * @pPath: (transfer full): The path of the document that #LOKDocView widget 
should try to open
+ * @pRenderingArguments: lok::Document::initializeForRendering() arguments.
  * @cancellable:
  * @callback:
  * @userdata:
@@ -73,6 +74,7 @@ GtkWidget* lok_doc_view_new_from_widget   
 (LOKDocView*
  */
 void   lok_doc_view_open_document  
(LOKDocView* pDocView,
 const 
gchar* pPath,
+const 
gchar* pRenderingArguments,
 
GCancellable* cancellable,
 
GAsyncReadyCallback callback,
 gpointer 
userdata);
diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx 
b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
index fe35f2e..f76ad1a 100644
--- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
+++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
@@ -29,7 +29,9 @@
 
 static int help()
 {
-fprintf( stderr, "Usage: gtktiledviewer 
 
\n" );
+fprintf(stderr, "Usage: gtktiledviewer 
  
[ ... ]\n\n");
+fprintf(stderr, "Options:\n\n");
+fprintf(stderr, "--hide-whitespace: Hide whitespace between pages in text 
documents.\n");
 return 1;
 }
 
@@ -475,13 +477,25 @@ static void createView(GtkWidget* pButton, gpointer 
/*pItem*/)
 }
 
 /// Creates a new model, i.e. LOK init and document load, one view implicitly.
-static void 

[Libreoffice-bugs] [Bug 94691] [META] OpenGL bugs

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94691
Bug 94691 depends on bug 84416, which changed state.

Bug 84416 Summary: 3-D slide transitions not working on Windows
https://bugs.documentfoundation.org/show_bug.cgi?id=84416

   What|Removed |Added

 Status|RESOLVED|NEW
 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 95878] UI: More useful function suggestion system in formula editting

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95878

--- Comment #2 from Keigo Kawamura  ---
(In reply to A (Andy) from comment #1)
> Do I understand that right, that you mean like a pull-down menu/context menu
> from which you can select a function out of the proposals?
> Because this sounds very interesting, also with the longer and more
> informative tooltips like you suggested.

Yes, that's precisely what I meant. Make new UI(like a pull-down menu) might be
very difficult, but I feel the current tooltips are not sufficiently useful for
us.

-- 
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: loolwsd/bundled loolwsd/LOKitClient.cpp loolwsd/LOOLSession.cpp

2015-11-18 Thread Miklos Vajna
 loolwsd/LOKitClient.cpp |2 +-
 loolwsd/LOOLSession.cpp |2 +-
 loolwsd/bundled/include/LibreOfficeKit/LibreOfficeKit.h |3 ++-
 3 files changed, 4 insertions(+), 3 deletions(-)

New commits:
commit fe1aacd6d0fc98d3564715c40eab61f66b49331d
Author: Miklos Vajna 
Date:   Wed Nov 18 16:59:28 2015 +0100

loolwsd: update the bundled headers

diff --git a/loolwsd/LOKitClient.cpp b/loolwsd/LOKitClient.cpp
index a2eeb77..6f2f016 100644
--- a/loolwsd/LOKitClient.cpp
+++ b/loolwsd/LOKitClient.cpp
@@ -103,7 +103,7 @@ protected:
 
 loKitDocument->pClass->registerCallback(loKitDocument, myCallback, 
NULL);
 
-loKitDocument->pClass->initializeForRendering(loKitDocument);
+loKitDocument->pClass->initializeForRendering(loKitDocument, nullptr);
 
 if (isatty(0))
 {
diff --git a/loolwsd/LOOLSession.cpp b/loolwsd/LOOLSession.cpp
index c65b6ab..b6abe34 100644
--- a/loolwsd/LOOLSession.cpp
+++ b/loolwsd/LOOLSession.cpp
@@ -990,7 +990,7 @@ bool ChildProcessSession::loadDocument(const char *buffer, 
int length, StringTok
 return false;
 }
 
-_loKitDocument->pClass->initializeForRendering(_loKitDocument);
+_loKitDocument->pClass->initializeForRendering(_loKitDocument, nullptr);
 
 if ( _docType != "text" && part != -1)
 {
diff --git a/loolwsd/bundled/include/LibreOfficeKit/LibreOfficeKit.h 
b/loolwsd/bundled/include/LibreOfficeKit/LibreOfficeKit.h
index 0321037..93f7dca 100644
--- a/loolwsd/bundled/include/LibreOfficeKit/LibreOfficeKit.h
+++ b/loolwsd/bundled/include/LibreOfficeKit/LibreOfficeKit.h
@@ -124,7 +124,8 @@ struct _LibreOfficeKitDocumentClass
  long* pHeight);
 
 /// @see lok::Document::initializeForRendering().
-void (*initializeForRendering) (LibreOfficeKitDocument* pThis);
+void (*initializeForRendering) (LibreOfficeKitDocument* pThis,
+const char* pArguments);
 
 /// @see lok::Document::registerCallback().
 void (*registerCallback) (LibreOfficeKitDocument* pThis,
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 91387] create doxygen docs for the LibreOffice build system from inline comments

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91387

--- Comment #3 from David H. Gutteridge  ---
Created attachment 120631
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120631=edit
Sample customized Doxygen config file

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


[Bug 91387] create doxygen docs for the LibreOffice build system from inline comments

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91387

--- Comment #3 from David H. Gutteridge  ---
Created attachment 120631
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120631=edit
Sample customized Doxygen config file

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


[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.0' - 3 commits - desktop/qa desktop/source include/LibreOfficeKit include/vcl libreofficekit/source sc/inc sc/source sd/qa sd/source sw/in

2015-11-18 Thread Miklos Vajna
 desktop/qa/desktop_lib/test_desktop_lib.cxx|4 -
 desktop/source/lib/init.cxx|   78 +
 desktop/source/lib/lokandroid.cxx  |2 
 include/LibreOfficeKit/LibreOfficeKit.h|3 
 include/LibreOfficeKit/LibreOfficeKit.hxx  |   16 -
 include/vcl/ITiledRenderable.hxx   |2 
 libreofficekit/source/gtk/lokdocview.cxx   |2 
 sc/inc/docuno.hxx  |2 
 sc/source/ui/unoobj/docuno.cxx |2 
 sd/qa/unit/tiledrendering/tiledrendering.cxx   |2 
 sd/source/ui/inc/unomodel.hxx  |2 
 sd/source/ui/unoidl/unomodel.cxx   |2 
 sw/inc/unotxdoc.hxx|2 
 sw/qa/extras/tiledrendering/tiledrendering.cxx |3 
 sw/source/uibase/uno/unotxdoc.cxx  |8 ++
 15 files changed, 76 insertions(+), 54 deletions(-)

New commits:
commit 2c134214c3276faa60a8e49055e52ad304557600
Author: Miklos Vajna 
Date:   Wed Nov 18 16:07:17 2015 +0100

sw: handle arguments in SwXTextDocument::initializeForTiledRendering()

Change-Id: I19efc6050c78162e0889437d4c8285d1a6714e82
(cherry picked from commit be28ab9aa535e36ea226bc5aeaedea95fd2ba3db)

diff --git a/sw/source/uibase/uno/unotxdoc.cxx 
b/sw/source/uibase/uno/unotxdoc.cxx
index 3d2cff7..0604279 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -3251,7 +3251,7 @@ OUString SwXTextDocument::getPartName(int nPart)
 return OUString(SW_RES(STR_PAGE)) + OUString::number(nPart + 1);
 }
 
-void SwXTextDocument::initializeForTiledRendering(const 
css::uno::Sequence& /*rArguments*/)
+void SwXTextDocument::initializeForTiledRendering(const 
css::uno::Sequence& rArguments)
 {
 SolarMutexGuard aGuard;
 
@@ -3273,6 +3273,12 @@ void SwXTextDocument::initializeForTiledRendering(const 
css::uno::SequenceGetViewOptions());
 aViewOption.SetHardBlank(false);
+for (sal_Int32 i = 0; i < rArguments.getLength(); ++i)
+{
+const beans::PropertyValue& rValue = rArguments[i];
+if (rValue.Name == ".uno:HideWhitespace" && rValue.Value.has())
+aViewOption.SetHideWhitespaceMode(rValue.Value.get());
+}
 pViewShell->ApplyViewOptions(aViewOption);
 
 // Disable map mode, so that it's possible to send mouse event coordinates
commit 511429242bea4fafd28c169d02b5e2851007a1db
Author: Miklos Vajna 
Date:   Wed Nov 18 15:20:30 2015 +0100

vcl::ITiledRenderable::initializeForTiledRendering: support init. arguments

(cherry picked from commit 479325dec83ea2747f3ce27ca7e817695b15e1bb)

Conflicts:
sc/inc/docuno.hxx
sd/source/ui/inc/unomodel.hxx
sw/inc/unotxdoc.hxx

Change-Id: I9a6a75457078dc6383673f4c1a2012b69b5cefdd

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index dce9644..26a64d9 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -991,7 +991,7 @@ static void 
doc_initializeForRendering(LibreOfficeKitDocument* pThis,
 doc_iniUnoCommands();
 uno::Sequence aPropertyValues;
 jsonToPropertyValues(pArguments, aPropertyValues);
-pDoc->initializeForTiledRendering();
+pDoc->initializeForTiledRendering(aPropertyValues);
 }
 }
 
diff --git a/include/vcl/ITiledRenderable.hxx b/include/vcl/ITiledRenderable.hxx
index 108e089..e31fd70 100644
--- a/include/vcl/ITiledRenderable.hxx
+++ b/include/vcl/ITiledRenderable.hxx
@@ -93,7 +93,7 @@ public:
  * Setup various document properties that are needed for the document to
  * be renderable via tiled rendering.
  */
-virtual void initializeForTiledRendering() = 0;
+virtual void initializeForTiledRendering(const 
css::uno::Sequence& rArguments) = 0;
 
 /**
  * Registers a callback that will be invoked whenever the tiled renderer
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx
index 32209b8..09fd69c 100644
--- a/sc/inc/docuno.hxx
+++ b/sc/inc/docuno.hxx
@@ -393,7 +393,7 @@ public:
 virtual OUString getPartName(int nPart) SAL_OVERRIDE;
 
 /// @see vcl::ITiledRenderable::initializeForTiledRendering().
-virtual void initializeForTiledRendering() SAL_OVERRIDE;
+virtual void initializeForTiledRendering(const 
css::uno::Sequence& rArguments) SAL_OVERRIDE;
 
 /// @see vcl::ITiledRenderable::registerCallback().
 virtual void registerCallback(LibreOfficeKitCallback pCallback, void* 
pData) SAL_OVERRIDE;
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index 2fc376c..1a41391 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -914,7 +914,7 @@ Pointer ScModelObj::getPointer()
 return pGridWindow->GetPointer();
 }
 
-void ScModelObj::initializeForTiledRendering()
+void ScModelObj::initializeForTiledRendering(const 
css::uno::Sequence& /*rArguments*/)
 {
 

[Libreoffice-commits] online.git: loolwsd/debian

2015-11-18 Thread Jan Holesovsky
 loolwsd/debian/loolwsd.service |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7e4f1d3b61739d8ce1178280ba07192e32c608ee
Author: Jan Holesovsky 
Date:   Wed Nov 18 18:53:32 2015 +0100

loolwsd: KillMode=control-group for the debian systemd config too.

diff --git a/loolwsd/debian/loolwsd.service b/loolwsd/debian/loolwsd.service
index 8e410f8..136bad4 100644
--- a/loolwsd/debian/loolwsd.service
+++ b/loolwsd/debian/loolwsd.service
@@ -6,7 +6,7 @@ After=network.target
 EnvironmentFile=-/etc/sysconfig/loolwsd
 ExecStart=/usr/bin/loolwsd --systemplate=/opt/lool/systemplate 
--lotemplate=/opt/collaboraoffice5.0 --childroot=/opt/lool/child-roots 
--numprespawns=5
 User=lool
-KillMode=process
+KillMode=control-group
 Restart=always
 
 [Install]
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95912] Dark theme - how to get rid of it?

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95912

Maxim Monastirsky  changed:

   What|Removed |Added

 Resolution|NOTABUG |DUPLICATE

--- Comment #2 from Maxim Monastirsky  ---


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

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


Re: alexey.chemichev license statement

2015-11-18 Thread jan iversen
Hi Alexey.

Just saw your license statement, welcome to a lively community.

I use part of my time, to help people getting patches submitted and finding
their hold in the community, so please feel free to contact me (directly)
if you have questions or comments.

have a nice hacking day.
rgds
jan i.


On 18 November 2015 at 18:03, Alexey Chemichev 
wrote:

> Hi
>
> All of my past & future contributions to LibreOffice may be licensed under 
> the MPLv2/LGPLv3+ dual license.
>
> Best Regards
> Alexey Chemichev
>
>
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
>
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2015-11-18 Thread Mihai Varga
 loleaflet/src/layer/tile/TileLayer.js |6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 11f2c1446a6208976eb92e2b8ab2ce256140de54
Author: Mihai Varga 
Date:   Wed Nov 18 19:50:25 2015 +0200

loleaflet: don't show a dialog when there is no selection content

diff --git a/loleaflet/src/layer/tile/TileLayer.js 
b/loleaflet/src/layer/tile/TileLayer.js
index e835f64..94f32bb 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -900,10 +900,7 @@ L.TileLayer = L.GridLayer.extend({
_onCopy: function (e) {
e = e.originalEvent;
e.preventDefault();
-   if (!this._selectionTextContent) {
-   this._map.fire('error', {msg: 'Oops, no content 
available yet'});
-   }
-   else {
+   if (this._selectionTextContent) {
e.clipboardData.setData('text/plain', 
this._selectionTextContent);
}
},
commit e118574fa8847e251cdc84cc8313bc62a6cf6dda
Author: Mihai Varga 
Date:   Wed Nov 18 19:45:11 2015 +0200

loleaflet: ccu#1349 handle copying cell content in Calc

diff --git a/loleaflet/src/layer/tile/TileLayer.js 
b/loleaflet/src/layer/tile/TileLayer.js
index 24b0bb2..e835f64 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -310,6 +310,7 @@ L.TileLayer = L.GridLayer.extend({
 
_onCellFormulaMsg: function (textMsg) {
var formula = textMsg.substring(13);
+   this._selectionTextContent = formula;
this._map.fire('cellformula', {formula: formula});
},
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 93396] LibreOffice 5.0 Crashes on Windows 8 64-bit when making JDBC connection (Windows 64bit)

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93396

--- Comment #12 from Steven Shelton  ---
It is an external (non-embedded) database.

I don't know that I will be able to reinstall Libo64 on this box and then test
any time in the next couple of days, but I will try.

-- 
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 95913] New: Sidebar: Slider Transparency in Area (and Shadow) section does not move (if OpenGL enabled!)

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95913

Bug ID: 95913
   Summary: Sidebar: Slider Transparency in Area (and Shadow)
section does not move (if OpenGL enabled!)
   Product: LibreOffice
   Version: 5.1.0.0.alpha1
  Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: UI
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: 79045_79...@mail.ru

Version: 5.1.0.0.alpha1+ (x64)
Build ID: 32d4c03cba399ada807b8ec113a3928aa9e3ff7b-GL
TinderBox: Win-x86_64@62-TDF, Branch:MASTER, Time: 2015-11-16_23:41:46
Locale: ru-RU (ru_RU)
OS: Windows 7 HB x86-64

Slider Transparency in Area (and Shadow) section of Sidebar does not move if
option "Use OpenGL for all rendering" enabled. If you move the slider, the
values are changed, and the slider does not move. If this option is disabled,
then slider moves.

-- 
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 94927] "Autofit Text" function on text frames is on by default (bad for compatibility; cannot be set via Master page)

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94927

Cor Nouws  changed:

   What|Removed |Added

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

-- 
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 87857] "Autofit text" should be a choice (option), not a default approach

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87857

Cor Nouws  changed:

   What|Removed |Added

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

-- 
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: offapi/com

2015-11-18 Thread László Németh
 offapi/com/sun/star/tiledrendering/XTiledRenderable.idl |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cd581f7e5d1eb7724463949a15bbec1ca950d461
Author: László Németh 
Date:   Wed Nov 18 19:05:57 2015 +0100

XTiledRenderable: not a finished interface

Marking as published was not intentional

Change-Id: I1ec8d4e4b307eb2d93e66d286f1065eea197de48

diff --git a/offapi/com/sun/star/tiledrendering/XTiledRenderable.idl 
b/offapi/com/sun/star/tiledrendering/XTiledRenderable.idl
index 2755e74..f2ccd15 100644
--- a/offapi/com/sun/star/tiledrendering/XTiledRenderable.idl
+++ b/offapi/com/sun/star/tiledrendering/XTiledRenderable.idl
@@ -26,7 +26,7 @@ module com { module sun { module star { module tiledrendering 
{
 
 /** tiled rendering using a system-specific handle to a window
  */
-published interface XTiledRenderable : com::sun::star::uno::XInterface
+interface XTiledRenderable : com::sun::star::uno::XInterface
 {
 
 /** paint a tile to a system-specific window
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95781] Black dialogs

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95781

Maxim Monastirsky  changed:

   What|Removed |Added

 CC||2460...@gmail.com

--- Comment #2 from Maxim Monastirsky  ---
*** Bug 95912 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 95913] Sidebar: Slider Transparency in Area (and Shadow) section does not move (if OpenGL enabled!)

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95913

kompilainenn <79045_79...@mail.ru> changed:

   What|Removed |Added

 Blocks||93529

-- 
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 95914] New: [1] Hyperlink erroneously urlencodes hash chars (Calc/Impress/Writer)

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95914

Bug ID: 95914
   Summary: [1] Hyperlink erroneously urlencodes hash chars
(Calc/Impress/Writer)
   Product: LibreOffice
   Version: 5.0.2.2 release
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: trivial
  Priority: medium
 Component: framework
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: t...@gert.gr

OS: Debian Jessie amd64
LibreOffice version: 5.0.2 (english) installed from jessie-backports
Steps to reproduce:

(for shorter writing, I use abbreviations:
$RIGHTURL="https://www.freevoipdeal.com/calling_rates/#/#letter-N;
$WRONGURL="https://www.freevoipdeal.com/calling_rates/#/%23letter-N;
)

Calc:
1. open Calc
2. enter in A1: =HYPERLINK("$RIGHTURL";"$RIGHTURL")
3. go back to A1 and see it indeed has the correct formula, and that the output
of the cell is $RIGHTURL
4. additionally, hover with mouse over hyperlink, the tooltip says $RIGHTURL.
5. ctrl+click the hyperlink
6. Firefox (well, Iceweasel in my case) opens, the address bar says $WRONGURL
7. see that Firefox doesn't scroll to the "letter-N" section of the page

Impress:
1. open Impress
2. select: Insert -> Hyperlink, type in Target field: $RIGHTURL, choose OK
3. see the hyperlink title is $WRONGURL
4-7. same as Calc 4-7.

Writer:
1. open Writer
2-3. same as Impress step 2-3.
4. additionally, hover with mouse over hyperlink, the tooltip says $WRONGURL.
5. right-click on the hyperlink, choose "Edit Hyperlink"
6. see both Title and Text fields say $WRONGURL
7-9. same as Calc/Impress 5-7.

Note the differences in step 4 (tooltip), only Writer says $WRONGURL.
Also, in Writer/Impress at step 2, when I aditionally put $RIGHTURL in the Text
field (instead of leaving blank), the hyperlink title is $RIGHTURL.

When instead as URL I try http://localhost/### , FF goes to
http://localhost/#%23%23
So it seems only the first # survives unscathed (I guess because there's
already some code to protect such HTML-section-URLs).
Starting Firefox with these URLs as command line argument works fine (scrolls
to section).

I never needed this functionality, so I don't know in which version this bug
appeared.

Regardless, thanks!
Gert

-- 
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 93529] Meta: VCL/OpenGL tracker bug for 5.0+

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93529

kompilainenn <79045_79...@mail.ru> changed:

   What|Removed |Added

 Depends on||95913

-- 
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 94843] OpenGL messes up interface with black flashing refreshes etc. on Windows with 5.1, while 5.0 is ok

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94843

--- Comment #5 from kompilainenn <79045_79...@mail.ru> ---
(In reply to kompilainenn from comment #4)
> i reproduce this -> "Tooltips flash black before rendering" on Windows 7 HB
> x86-64 in LO 5.1 with enabled OpenGL
> 
> Version: 5.1.0.0.alpha1+
> ID build: 510f463099272cec7f2193f3ffa1dbbd20d9f718
> TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-17_22:33:07
> Locale: ru-RU (ru_RU)
> videocard: intel HD 4000
> 
> in LO 5.0.1 this problem is missing
> 
> link to video https://yadi.sk/i/RqSUrZIbkYe8Y, do not look it on site,
> download it and look in locale player

on videocard AMD 7750 this not reproduced

-- 
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: configure.ac download.lst external/libetonyek writerperfect/qa

2015-11-18 Thread David Tardon
 configure.ac   
 |2 
 dev/null   
 |binary
 download.lst   
 |4 
 external/libetonyek/0001-add-missing-include.patch.1   
 |   25 
 
external/libetonyek/0001-std-containers-of-incomplete-types-are-not-allowed.patch.1
 |   58 
 external/libetonyek/0001-try-to-fix-build-on-Windows.patch.1   
 |   45 
 external/libetonyek/ExternalProject_libetonyek.mk  
 |3 
 external/libetonyek/Library_etonyek.mk 
 |   19 
 external/libetonyek/UnpackedTarball_libetonyek.mk  
 |4 
 external/libetonyek/assert.patch   
 |   11 
 external/libetonyek/inc/IWORKToken.inc 
 | 1016 ++
 external/libetonyek/inc/KEY1Token.inc  
 |  540 +
 external/libetonyek/inc/KEY2Token.inc  
 |  224 ++
 external/libetonyek/inc/NUM1Token.inc  
 |  147 +
 external/libetonyek/inc/PAG1Token.inc  
 |  180 +
 external/libetonyek/win_build.patch.1  
 |2 
 writerperfect/qa/unit/data/impress/libetonyek/pass/v6.zip  
 |binary
 17 files changed, 2189 insertions(+), 91 deletions(-)

New commits:
commit c0e04644a1703f4c6529e88b7c208126d2a2b1ec
Author: David Tardon 
Date:   Tue Nov 17 22:02:45 2015 +0100

upload libetonyek 0.1.4

Change-Id: I21eb802e65c7054cfbf73a90c0d63a007829ebcf

diff --git a/configure.ac b/configure.ac
index b87fe11..f142a57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7709,7 +7709,7 @@ 
libo_CHECK_SYSTEM_MODULE([libebook],[EBOOK],[libe-book-0.1 >= 0.1.1])
 dnl ===
 dnl Check for system libetonyek
 dnl ===
-libo_CHECK_SYSTEM_MODULE([libetonyek],[ETONYEK],[libetonyek-0.1 >= 0.1.2])
+libo_CHECK_SYSTEM_MODULE([libetonyek],[ETONYEK],[libetonyek-0.1 >= 0.1.4])
 
 dnl ===
 dnl Check for system libfreehand
diff --git a/download.lst b/download.lst
index 8bf98e7..4b12005 100755
--- a/download.lst
+++ b/download.lst
@@ -27,8 +27,8 @@ export DBGHELP_DLL := 
13fbc2e8b37ddf28181dd6d8081c2b8e-dbghelp.dll
 export EBOOK_MD5SUM := 6b48eda57914e6343efebc9381027b78
 export EBOOK_TARBALL := libe-book-0.1.2.tar.bz2
 export EPM_TARBALL := 3ade8cfe7e59ca8e65052644fed9fca4-epm-3.7.tar.gz
-export ETONYEK_MD5SUM := e5947373dd7834f27e93f1636faa419f
-export ETONYEK_VERSION_MICRO := 3
+export ETONYEK_MD5SUM := b542e4d3072e89d0c627956d6747e1d2
+export ETONYEK_VERSION_MICRO := 4
 export ETONYEK_TARBALL := libetonyek-0.1.$(ETONYEK_VERSION_MICRO).tar.bz2
 export EXPAT_TARBALL := dd7dab7a5fea97d2a6a43f511449b7cd-expat-2.1.0.tar.gz
 export FIREBIRD_MD5SUM := 7a17ec9889424b98baa29e001a054434
diff --git a/external/libetonyek/0001-add-missing-include.patch.1 
b/external/libetonyek/0001-add-missing-include.patch.1
deleted file mode 100644
index 9c80674..000
--- a/external/libetonyek/0001-add-missing-include.patch.1
+++ /dev/null
@@ -1,25 +0,0 @@
-From 00f7e36ce2a3996ebef672561014ab101eee7f3a Mon Sep 17 00:00:00 2001
-From: David Tardon 
-Date: Thu, 25 Jun 2015 12:00:49 +0200
-Subject: [PATCH] add missing include
-
-Change-Id: I8bfcacb064b3d0f9d7d5db9d2f32108b0ceea792

- src/lib/IWORKTypes_fwd.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/lib/IWORKTypes_fwd.h b/src/lib/IWORKTypes_fwd.h
-index f7a4fb2..1096df8 100644
 a/src/lib/IWORKTypes_fwd.h
-+++ b/src/lib/IWORKTypes_fwd.h
-@@ -9,6 +9,7 @@
- #ifndef IWORKTYPES_FWD_H_INCLUDED
- #define IWORKTYPES_FWD_H_INCLUDED
- 
-+#include 
- #include 
- 
- #include 
--- 
-2.4.2
-
diff --git 
a/external/libetonyek/0001-std-containers-of-incomplete-types-are-not-allowed.patch.1
 
b/external/libetonyek/0001-std-containers-of-incomplete-types-are-not-allowed.patch.1
new file mode 100644
index 000..f758370
--- /dev/null
+++ 
b/external/libetonyek/0001-std-containers-of-incomplete-types-are-not-allowed.patch.1
@@ -0,0 +1,58 @@
+From 0beaf8ae8d9fc9049ac684ca169295357275eb85 Mon Sep 17 00:00:00 2001
+From: David Tardon 
+Date: Wed, 18 Nov 2015 13:19:17 +0100
+Subject: [PATCH] std containers of incomplete types are not allowed
+
+Change-Id: Icd916b4b0e2e2ae87014b6b53dbba5e56aa43846
+---
+ configure.ac   |  1 +
+ src/lib/IWAField.h | 11 +++
+ 2 files changed, 8 insertions(+), 4 deletions(-)
+
+diff --git a/src/lib/IWAField.h 

[Libreoffice-bugs] [Bug 78158] FORMATTING: RFE: Ability to link / disable slide layouts <=> slide masters

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=78158

Cor Nouws  changed:

   What|Removed |Added

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

-- 
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: oox/source

2015-11-18 Thread alexey . chemichev
 oox/source/core/xmlfilterbase.cxx |   30 +-
 1 file changed, 25 insertions(+), 5 deletions(-)

New commits:
commit 8beea0f6b43b9fe893418687a75d28a6d624ede7
Author: alexey.chemichev 
Date:   Wed Nov 18 13:11:18 2015 -0500

tdf#90904 DOCX export metadata for "Pages", "Word count", "Character count"

/oox/source/core/xmlfilterbase.cxx: writeAppProperties modified.
Stats are extracted from DocumentProperties->DocumentStatistics.
No stat counter found for the lines of text

Change-Id: Ibc2e848a97776f65f0bfd4a880e5279e9c507dd0
Reviewed-on: https://gerrit.libreoffice.org/20046
Reviewed-by: jan iversen 
Tested-by: Jenkins 
Reviewed-by: Michael Stahl 

diff --git a/oox/source/core/xmlfilterbase.cxx 
b/oox/source/core/xmlfilterbase.cxx
index f140d1d..a89cc9d 100644
--- a/oox/source/core/xmlfilterbase.cxx
+++ b/oox/source/core/xmlfilterbase.cxx
@@ -650,9 +650,6 @@ writeAppProperties( XmlFilterBase& rSelf, Reference< 
XDocumentProperties > xProp
 writeElement( pAppProps, XML_Template,  
xProperties->getTemplateName() );
 #ifdef OOXTODO
 writeElement( pAppProps, XML_Manager,   "manager" );
-writeElement( pAppProps, XML_Pages, "pages" );
-writeElement( pAppProps, XML_Words, "words" );
-writeElement( pAppProps, XML_Characters,"characters" );
 writeElement( pAppProps, XML_PresentationFormat,"presentation format" 
);
 writeElement( pAppProps, XML_Lines, "lines" );
 writeElement( pAppProps, XML_Slides,"slides" );
@@ -681,10 +678,33 @@ writeAppProperties( XmlFilterBase& rSelf, Reference< 
XDocumentProperties > xProp
 #endif  /* def OOXTODO */
 
 comphelper::SequenceAsHashMap aStats = 
xProperties->getDocumentStatistics();
-comphelper::SequenceAsHashMap::iterator it = aStats.find("ParagraphCount");
+comphelper::SequenceAsHashMap::iterator it;
+sal_Int32 nValue = 0;
+
+it = aStats.find("PageCount");
+if (it != aStats.end())
+{
+if (it->second >>= nValue)
+writeElement(pAppProps, XML_Pages, nValue);
+}
+
+it = aStats.find("WordCount");
+if (it != aStats.end())
+{
+if (it->second >>= nValue)
+writeElement(pAppProps, XML_Words, nValue);
+}
+
+it = aStats.find("CharacterCount");
+if (it != aStats.end())
+{
+if (it->second >>= nValue)
+writeElement(pAppProps, XML_Characters, nValue);
+}
+
+it = aStats.find("ParagraphCount");
 if (it != aStats.end())
 {
-sal_Int32 nValue = 0;
 if (it->second >>= nValue)
 writeElement(pAppProps, XML_Paragraphs, nValue);
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: 7 commits - editeng/source filter/source include/svx sc/source svl/source svx/inc svx/source sw/source

2015-11-18 Thread Michael Stahl
 editeng/source/editeng/eerdll.cxx   |6 ++-
 filter/source/msfilter/svdfppt.cxx  |6 ++-
 include/svx/sxenditm.hxx|6 +++
 sc/source/core/data/patattr.cxx |2 -
 svl/source/items/itempool.cxx   |   62 +++-
 svx/inc/sxlayitm.hxx|2 +
 svx/source/svdraw/svdattr.cxx   |   38 ++
 sw/source/core/unocore/unoframe.cxx |7 ++--
 sw/source/filter/xml/swxml.cxx  |3 +
 9 files changed, 88 insertions(+), 44 deletions(-)

New commits:
commit b1adb498bb0a5ff091c9d1d82332a4c43c57979b
Author: Michael Stahl 
Date:   Wed Nov 18 17:09:19 2015 +0100

svl: replace some legacy SFX_ASSERT in SfxItemPool

Almost all of these look obviously disastrous.

Change-Id: I30e4e3039bafb10eaff4f2413b7a4aaae1f584c1

diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx
index b0eb941..d8a19b9 100644
--- a/svl/source/items/itempool.cxx
+++ b/svl/source/items/itempool.cxx
@@ -107,7 +107,7 @@ const SfxPoolItem* SfxItemPool::GetPoolDefaultItem( 
sal_uInt16 nWhich ) const
 pRet = pImp->mpSecondary->GetPoolDefaultItem( nWhich );
 else
 {
-SFX_ASSERT( false, nWhich, "unknown WhichId - cannot get pool default" 
);
+assert(false && "unknown WhichId - cannot get pool default");
 pRet = nullptr;
 }
 return pRet;
@@ -277,8 +277,8 @@ void SfxItemPool::SetDefaults( SfxPoolItem **pDefaults )
 "these are not static" );
 for ( sal_uInt16 n = 0; n <= pImp->mnEnd - pImp->mnStart; ++n )
 {
-SFX_ASSERT( (*( pImp->ppStaticDefaults + n ))->Which() == n + 
pImp->mnStart,
-n + pImp->mnStart, "static defaults not sorted" );
+assert(((*(pImp->ppStaticDefaults + n))->Which() == n + 
pImp->mnStart)
+&& "static defaults not sorted" );
 (*( pImp->ppStaticDefaults + n ))->SetKind( 
SFX_ITEMS_STATICDEFAULT );
 DBG_ASSERT( !(pImp->maPoolItems[n]), "defaults with setitems with 
items?!" );
 }
@@ -339,8 +339,7 @@ void SfxItemPool::ReleaseDefaults
 
 for ( sal_uInt16 n = 0; n < nCount; ++n )
 {
-SFX_ASSERT( IsStaticDefaultItem( *(pDefaults+n) ),
-n, "this is not a static Default" );
+assert(IsStaticDefaultItem(*(pDefaults+n)));
 (*( pDefaults + n ))->SetRefCount( 0 );
 if ( bDelete )
 { delete *( pDefaults + n ); *(pDefaults + n) = nullptr; }
@@ -610,7 +609,7 @@ void SfxItemPool::SetPoolDefaultItem(const SfxPoolItem 
)
 pImp->mpSecondary->SetPoolDefaultItem(rItem);
 else
 {
-SFX_ASSERT( false, rItem.Which(), "unknown WhichId - cannot set pool 
default" );
+assert(false && "unknown WhichId - cannot set pool default");
 }
 }
 
@@ -634,7 +633,7 @@ void SfxItemPool::ResetPoolDefaultItem( sal_uInt16 nWhichId 
)
 pImp->mpSecondary->ResetPoolDefaultItem(nWhichId);
 else
 {
-SFX_ASSERT( false, nWhichId, "unknown WhichId - cannot set pool 
default" );
+assert(false && "unknown WhichId - cannot reset pool default");
 }
 }
 
@@ -659,18 +658,17 @@ const SfxPoolItem& SfxItemPool::Put( const SfxPoolItem& 
rItem, sal_uInt16 nWhich
 if ( USHRT_MAX == nIndex ||
  IsItemFlag_Impl( nIndex, SfxItemPoolFlags::NOT_POOLABLE ) )
 {
-SFX_ASSERT( USHRT_MAX != nIndex || rItem.Which() != nWhich ||
-!IsDefaultItem() || rItem.GetKind() == 
SFX_ITEMS_DELETEONIDLE,
-nWhich, "a non Pool Item is Defaul?!" );
+assert((USHRT_MAX != nIndex || rItem.Which() != nWhich ||
+!IsDefaultItem() || rItem.GetKind() == 
SFX_ITEMS_DELETEONIDLE)
+&& "a non Pool Item is Default?!");
 SfxPoolItem *pPoolItem = rItem.Clone(pImp->mpMaster);
 pPoolItem->SetWhich(nWhich);
 AddRef( *pPoolItem );
 return *pPoolItem;
 }
 
-SFX_ASSERT( !pImp->ppStaticDefaults ||
-typeid(rItem) == typeid(GetDefaultItem(nWhich)), nWhich,
-"SFxItemPool: wrong item type in Put" );
+assert(!pImp->ppStaticDefaults ||
+typeid(rItem) == typeid(GetDefaultItem(nWhich)));
 
 SfxPoolItemArray_Impl* pItemArr = pImp->maPoolItems[nIndex];
 if (!pItemArr)
@@ -741,18 +739,14 @@ const SfxPoolItem& SfxItemPool::Put( const SfxPoolItem& 
rItem, sal_uInt16 nWhich
 // 3. not found, so clone to insert into the pointer array.
 SfxPoolItem* pNewItem = rItem.Clone(pImp->mpMaster);
 pNewItem->SetWhich(nWhich);
-#ifdef DBG_UTIL
-SFX_ASSERT( typeid(rItem) == typeid(*pNewItem), nWhich, "unequal types in 
Put(): no Clone()?" )
+assert(typeid(rItem) == typeid(*pNewItem) && "SfxItemPool::Put(): unequal 
types, no Clone() override?");
 if (dynamic_cast() == nullptr)
 {
-SFX_ASSERT( !IsItemFlag(nWhich, SfxItemPoolFlags::POOLABLE) ||
-rItem 

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

2015-11-18 Thread Eike Rathke
 formula/source/core/api/FormulaCompiler.cxx |6 +--
 formula/source/core/api/token.cxx   |   36 ++--
 include/formula/token.hxx   |   50 ++--
 sc/inc/compiler.hxx |4 +-
 sc/source/core/inc/interpre.hxx |4 +-
 sc/source/core/tool/interpr4.cxx|2 -
 sc/source/core/tool/token.cxx   |4 +-
 7 files changed, 53 insertions(+), 53 deletions(-)

New commits:
commit eedcc2c45c09e3180061ae1dfa0eb9d64afc3f39
Author: Eike Rathke 
Date:   Wed Nov 18 20:57:49 2015 +0100

cosmetics

Change-Id: Ic06bef4c80426b97a2613fe296ae0aa0ee55a215

diff --git a/formula/source/core/api/token.cxx 
b/formula/source/core/api/token.cxx
index 2716271..d46b02d 100644
--- a/formula/source/core/api/token.cxx
+++ b/formula/source/core/api/token.cxx
@@ -331,10 +331,10 @@ bool FormulaToken::TextEqual( const FormulaToken& rToken 
) const
 
 
 
-sal_uInt8 FormulaByteToken::GetByte() const   { return 
nByte; }
-void FormulaByteToken::SetByte( sal_uInt8 n ) { nByte = n; 
}
-bool FormulaByteToken::IsInForceArray() const{ return 
bIsInForceArray; }
-void FormulaByteToken::SetInForceArray( bool b ) { bIsInForceArray 
= b; }
+sal_uInt8   FormulaByteToken::GetByte() const   { return nByte; }
+voidFormulaByteToken::SetByte( sal_uInt8 n ){ nByte = n; }
+boolFormulaByteToken::IsInForceArray() const{ return 
bIsInForceArray; }
+voidFormulaByteToken::SetInForceArray( bool b ) { bIsInForceArray = b; 
}
 bool FormulaByteToken::operator==( const FormulaToken& r ) const
 {
 return FormulaToken::operator==( r ) && nByte == r.GetByte() &&
@@ -342,16 +342,16 @@ bool FormulaByteToken::operator==( const FormulaToken& r 
) const
 }
 
 
-FormulaToken* FormulaFAPToken::GetFAPOrigToken() const { return 
pOrigToken.get(); }
+FormulaToken* FormulaFAPToken::GetFAPOrigToken() const  { return 
pOrigToken.get(); }
 bool FormulaFAPToken::operator==( const FormulaToken& r ) const
 {
 return FormulaByteToken::operator==( r ) && pOrigToken == 
r.GetFAPOrigToken();
 }
 
 
-short* FormulaJumpToken::GetJump() const { return pJump; }
-bool FormulaJumpToken::IsInForceArray() const{ return 
bIsInForceArray; }
-void FormulaJumpToken::SetInForceArray( bool b ) { bIsInForceArray 
= b; }
+short*  FormulaJumpToken::GetJump() const   { return pJump; }
+boolFormulaJumpToken::IsInForceArray() const{ return 
bIsInForceArray; }
+voidFormulaJumpToken::SetInForceArray( bool b ) { bIsInForceArray = b; 
}
 bool FormulaJumpToken::operator==( const FormulaToken& r ) const
 {
 return FormulaToken::operator==( r ) && pJump[0] == r.GetJump()[0] &&
@@ -1686,9 +1686,9 @@ bool FormulaIndexToken::operator==( const FormulaToken& r 
) const
 return FormulaToken::operator==( r ) && nIndex == r.GetIndex() &&
 mbGlobal == r.IsGlobal();
 }
-const OUString&   FormulaExternalToken::GetExternal() const{ return 
aExternal; }
-sal_uInt8FormulaExternalToken::GetByte() const{ return 
nByte; }
-voidFormulaExternalToken::SetByte( sal_uInt8 n )  { nByte = n; 
}
+const OUString& FormulaExternalToken::GetExternal() const   { return 
aExternal; }
+sal_uInt8   FormulaExternalToken::GetByte() const   { return 
nByte; }
+voidFormulaExternalToken::SetByte( sal_uInt8 n ){ nByte = n; }
 bool FormulaExternalToken::operator==( const FormulaToken& r ) const
 {
 return FormulaToken::operator==( r ) && nByte == r.GetByte() &&
@@ -1696,8 +1696,8 @@ bool FormulaExternalToken::operator==( const 
FormulaToken& r ) const
 }
 
 
-sal_uInt16  FormulaErrorToken::GetError() const  { return 
nError; }
-voidFormulaErrorToken::SetError( sal_uInt16 nErr )   { nError = 
nErr; }
+sal_uInt16  FormulaErrorToken::GetError() const { return 
nError; }
+voidFormulaErrorToken::SetError( sal_uInt16 nErr )  { nError = 
nErr; }
 bool FormulaErrorToken::operator==( const FormulaToken& r ) const
 {
 return FormulaToken::operator==( r ) &&
diff --git a/include/formula/token.hxx b/include/formula/token.hxx
index 2dd8f8c..f2a93b6 100644
--- a/include/formula/token.hxx
+++ b/include/formula/token.hxx
@@ -126,8 +126,8 @@ public:
 const_cast(this)->Delete();
 }
 
-inline oslInterlockedCount GetRef() const { return mnRefCnt; }
-inline OpCode   GetOpCode() const   { return eOp; }
+inline oslInterlockedCount GetRef() const   { return mnRefCnt; }
+inline OpCode  GetOpCode() const{ return eOp; }
 
 /**
 Dummy methods to avoid switches and casts where possible,
@@ -150,23 +150,23 @@ public:
 virtual voidSetInForceArray( bool b );
 virtual double  

[Libreoffice-bugs] [Bug 93747] Apply style in a selected table cell leaks to another table cell

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93747

raal  changed:

   What|Removed |Added

Version|4.5.0.0.alpha0+ Master  |4.2.0.4 release

--- Comment #3 from raal  ---
Reproducible with Version: 4.2.0.0.alpha1+
Build ID: fc8f44e82de4ebdd50ac5fbb9207cd1a59a927e3
bibisect-43max$ git checkout oldest

-- 
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 87746] Slide Design should be disabled when in Master View

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87746

Cor Nouws  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=78
   ||158
 Ever confirmed|0   |1

--- Comment #7 from Cor Nouws  ---
let's consider the linked issue too

-- 
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 90904] FILESAVE: OOXML export is missing document statistics

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=90904

--- Comment #6 from Commit Notification 
 ---
alexey.chemichev committed a patch related to this issue.
It has been pushed to "master":

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

tdf#90904 DOCX export metadata for "Pages", "Word count", "Character count"

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 on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 90904] FILESAVE: OOXML export is missing document statistics

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=90904

--- Comment #6 from Commit Notification 
 ---
alexey.chemichev committed a patch related to this issue.
It has been pushed to "master":

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

tdf#90904 DOCX export metadata for "Pages", "Word count", "Character count"

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


[Bug 90904] FILESAVE: OOXML export is missing document statistics

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=90904

Commit Notification  changed:

   What|Removed |Added

 Whiteboard|easyHack difficultyBeginner |easyHack difficultyBeginner
   |skillCPP filter:ooxml   |skillCPP filter:ooxml
   ||target:5.1.0

-- 
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 90904] FILESAVE: OOXML export is missing document statistics

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=90904

Commit Notification  changed:

   What|Removed |Added

 Whiteboard|easyHack difficultyBeginner |easyHack difficultyBeginner
   |skillCPP filter:ooxml   |skillCPP filter:ooxml
   ||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 95915] New: Windows 8.1 and 10 using system Segoe UI rather than OpenSymbol for prod, sum and int operators

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95915

Bug ID: 95915
   Summary: Windows 8.1 and 10 using system Segoe UI rather than
OpenSymbol for prod, sum and int operators
   Product: LibreOffice
   Version: unspecified
  Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Formula Editor
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: vstuart.fo...@utsa.edu

In a weird MS gotcha, seems that Windows 8.1 and 10 have somehow been
substituting Segoe UI in Math formula editor when the formula Operator's
"prod", "sum" and "int" are used.

Windows 7 sp1 installs are not affected.

Weird in that "coprod" and "lint" are unaffected, as are the "iint" and "iiint"
and variants of "lint".

-- 
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 95915] Windows 8.1 and 10 using system Segoe UI rather than OpenSymbol for prod, sum and int operators

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95915

V Stuart Foote  changed:

   What|Removed |Added

 CC||vstuart.fo...@utsa.edu

--- Comment #1 from V Stuart Foote  ---
Created attachment 120632
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120632=edit
sample formula with incorrect Segoe glyps used for operators

STR

Enter this as an example formula in Math on a Windows 8.1 or Windows 10
install.

"prod %PI sum %SIGMA int iint coprod a"

the %PI and %SIGMA render correctly in OpenSymbol, as do iint and coprod.

Screen clip attached.

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


[Libreoffice-bugs] [Bug 91456] "Fade smoothly" slide transition is broken

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91456

--- Comment #13 from roumanet  ---
Transitions aren't smoothly.
Many transitions types are impacted !
See example : http://david.roumanet.free.fr/bug_transition.avi

-- 
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 95856] Scan hangs in Draw

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95856

--- Comment #6 from MarjaE  ---
I'm trying to understand the workflow here.

I would scan something in another app, create a raster image, and save that. I
could insert that image into LibreOffice Draw. Some of my older documents have
problems because the scanned images get distorted, or disappear. But I don't
understand scanning the image into LibreOffice Draw itself.

-- 
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 93999] LibreOffice Draw 5.0.1 crashes all the time

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93999

--- Comment #3 from MarjaE  ---
I get freezes, but not crashes.

-- 
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: include/vcl vcl/source

2015-11-18 Thread Maxim Monastirsky
 include/vcl/toolbox.hxx|3 +
 vcl/source/window/toolbox.cxx  |   55 +
 vcl/source/window/toolbox2.cxx |   90 +
 3 files changed, 148 insertions(+)

New commits:
commit 78214c982e1fab18b9f6c694a3b56c520da1724d
Author: Maxim Monastirsky 
Date:   Wed Nov 18 22:26:32 2015 +0200

Revert "ToolBox: Remove unused methods"

The ImplLoadRes method *is* used in
ToolBox::ToolBox( vcl::Window* pParent, const ResId& rResId ).
This change breaks the navigator panel, and therefore the
JunitTest_toolkit_unoapi_1 test.

This reverts commit 99648095012187ef284d0a9399a8e12878b2a370.

diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx
index 13aff0f..81f6297 100644
--- a/include/vcl/toolbox.hxx
+++ b/include/vcl/toolbox.hxx
@@ -190,6 +190,7 @@ private:
 SAL_DLLPRIVATE voidImplInit( vcl::Window* pParent, WinBits 
nStyle );
 using DockingWindow::ImplInitSettings;
 SAL_DLLPRIVATE voidImplInitSettings( bool bFont, bool 
bForeground, bool bBackground );
+SAL_DLLPRIVATE voidImplLoadRes( const ResId& rResId );
 SAL_DLLPRIVATE ImplToolItem*   ImplGetItem( sal_uInt16 nId ) const;
 SAL_DLLPRIVATE boolImplCalcItem();
 SAL_DLLPRIVATE sal_uInt16  ImplCalcBreaks( long nWidth, long* 
pMaxLineWidth, bool bCalcHorz );
@@ -311,6 +312,8 @@ public:
 virtual voidResizing( Size& rSize ) override;
 virtual SizeGetOptimalSize() const override;
 
+voidInsertItem( const ResId& rResId,
+sal_uInt16 nPos = TOOLBOX_APPEND );
 /// Insert a command (like '.uno:Save').
 virtual voidInsertItem( const OUString& rCommand,
 const 
css::uno::Reference& rFrame,
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index b9ad577..01a7305 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -1540,6 +1540,61 @@ void ToolBox::ImplInitSettings(bool bFont, bool 
bForeground, bool bBackground)
 }
 }
 
+void ToolBox::ImplLoadRes( const ResId& rResId )
+{
+ResMgr* pMgr = rResId.GetResMgr();
+if( ! pMgr )
+return;
+
+DockingWindow::ImplLoadRes( rResId );
+
+sal_uLong  nObjMask;
+
+nObjMask = ReadLongRes();
+
+if ( nObjMask & RSC_TOOLBOX_BUTTONTYPE )
+SetButtonType( (ButtonType)ReadLongRes() );
+
+if ( nObjMask & RSC_TOOLBOX_ALIGN )
+SetAlign( (WindowAlign)ReadLongRes() );
+
+if ( nObjMask & RSC_TOOLBOX_LINECOUNT )
+SetLineCount( sal::static_int_cast(ReadLongRes()) );
+
+if ( nObjMask & RSC_TOOLBOX_CUSTOMIZE )
+{
+bool bCust = ReadShortRes();
+EnableCustomize( bCust );
+}
+
+if ( nObjMask & RSC_TOOLBOX_MENUSTRINGS )
+{
+bool bCust = ReadShortRes();
+EnableMenuStrings( bCust );
+}
+
+if ( nObjMask & RSC_TOOLBOX_FLOATLINES )
+SetFloatingLines( ReadShortRes() );
+
+if ( nObjMask & RSC_TOOLBOX_ITEMIMAGELIST )
+{
+maImageList = ImageList( ResId( 
static_cast(GetClassRes()), *pMgr ) );
+IncrementRes( GetObjSizeRes( 
static_cast(GetClassRes()) ) );
+}
+
+if ( nObjMask & RSC_TOOLBOX_ITEMLIST )
+{
+sal_uLong nEle = ReadLongRes();
+
+// insert item
+for ( sal_uLong i = 0; i < nEle; i++ )
+{
+InsertItem( ResId( static_cast(GetClassRes()), 
*pMgr ) );
+IncrementRes( GetObjSizeRes( static_cast(GetClassRes()) ) );
+}
+}
+}
+
 ToolBox::ToolBox( vcl::Window* pParent, WinBits nStyle ) :
 DockingWindow( WINDOW_TOOLBOX )
 {
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx
index 7833345..8899577 100644
--- a/vcl/source/window/toolbox2.cxx
+++ b/vcl/source/window/toolbox2.cxx
@@ -448,6 +448,96 @@ void ToolBox::Select()
 pWrapper->GetFloatingWindow()->EndPopupMode();
 }
 
+void ToolBox::InsertItem( const ResId& rResId, sal_uInt16 nPos )
+{
+sal_uLong nObjMask;
+bool  bImage = false; // has image
+
+// create item
+ImplToolItem aItem;
+
+GetRes( rResId.SetRT( RSC_TOOLBOXITEM ) );
+nObjMask= ReadLongRes();
+
+if ( nObjMask & RSC_TOOLBOXITEM_ID )
+aItem.mnId = sal::static_int_cast(ReadLongRes());
+else
+aItem.mnId = 1;
+
+if ( nObjMask & RSC_TOOLBOXITEM_TYPE )
+aItem.meType = (ToolBoxItemType)ReadLongRes();
+
+if ( nObjMask & RSC_TOOLBOXITEM_STATUS )
+aItem.mnBits = (ToolBoxItemBits)ReadLongRes();
+
+if( nObjMask & RSC_TOOLBOXITEM_HELPID )
+aItem.maHelpId = ReadByteStringRes();
+
+if ( nObjMask & RSC_TOOLBOXITEM_TEXT )
+{
+aItem.maText = ReadStringRes();
+aItem.maText = ImplConvertMenuString( aItem.maText );
+}
+if ( nObjMask & RSC_TOOLBOXITEM_HELPTEXT 

[Libreoffice-bugs] [Bug 95915] Windows 8.1 and 10 using system Segoe UI rather than OpenSymbol for prod, sum and int operators

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95915

--- Comment #2 from V Stuart Foote  ---
Created attachment 120633
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120633=edit
screen clip of test formula in 4.3.7 on Windows 8.1

Looking at an /a install of 4.3.7.2 run on Windows 8.1, in addition to "prod"
and "int", "coprod" and the "lint" are rendered in Segoe UI system font--but
strangely the "sum" operator picks up OpenSymbol.

clip attached.

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


[Libreoffice-bugs] [Bug 95916] New: Alizarin master page formats date in Japanese

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95916

Bug ID: 95916
   Summary: Alizarin master page formats date in Japanese
   Product: LibreOffice
   Version: 4.4.0.2 rc
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Impress
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: jumbo4...@yahoo.fr

Created attachment 120634
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120634=edit
Screen shot showing language set to French, and slide displaying Japenese month
name

Description: Alizarin is proposed as Master page since LibO 4.4.0.2. It was
built in Japanese UI. Date format is using Japanese name of month.

Steps to reproduce:
1. Set local settings to a different language than Japanese
2. Create a new empty presentation without wizard
3. With Sidebar, select master page "Alizarin"
4. Insert > Date and Time
5. Check "Date and time", and select "Variable"
6. Select a format containing name of month
7. Apply to all

Actual behavior:
Name of month is displayed in Japanese. See attached screenshot.

Expected behavior:
Name of month should follow language indicated in "Insert>Date and Time" dialog

Workaround:
7. In "Insert>Date and Time" dialog, change language to a different one
8. Apply all
9. Insert > Date and Time
10. Set again the expected language
11. Apply all

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


[Libreoffice-bugs] [Bug 93540] Selection tool moves selection

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93540

MarjaE  changed:

   What|Removed |Added

 CC||erw...@alumni.beloit.edu

--- Comment #3 from MarjaE  ---
I have the same problem. If I try to select one object, I often end up (a) with
another, and (b) with a spurious drag-and-drop, probably partly due to the
freeze/latency effects.

While more info would probably help, leaving this on needinfo seems
unnecessary.

-- 
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 95915] Windows 8.1 and 10 using system Segoe UI rather than OpenSymbol for prod, sum and int operators

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95915

V Stuart Foote  changed:

   What|Removed |Added

   See Also||https://bz.apache.org/ooo/s
   ||how_bug.cgi?id=12

--- Comment #3 from V Stuart Foote  ---
(In reply to V Stuart Foote from comment #2)
> font--but strangely the "sum" operator picks up OpenSymbol.
> 
> clip attached.

Actually the capital SIGMA there is not from OpenSymbol different weights on
the leg and the serif--reviewing in BableMap--it looks like it and all of these
symbols are from MS "Seoge UI Symbol" font.  

That I guess would make more sense but is it the behavior we want?

-- 
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 94322] Unable to properly resize or hide the sidebar in chart edit mode

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94322

Kevin Suo  changed:

   What|Removed |Added

 CC||suokunl...@126.com

--- Comment #2 from Kevin Suo  ---
Also reproduciable with:
Version: 5.1.0.0.alpha1
Build ID: a8e4f75fe264f6ece37c154951cff53f2f4fa3e4
Locale: zh-CN (zh_CN)
Win10 X86.

-- 
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 72514] VaryColorsbyPoint changes legend colors, not point colors

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=72514

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi
 OS|Linux (All) |All
   Severity|normal  |minor

--- Comment #11 from Beluga  ---
Still repro.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: b216cc1b8096eb60c27f67e8c27b7cd756c75e38
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-12_00:06:20
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 95890] Feature Request: Labels duplicate all over page without 'Synchronize Labels'

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95890

--- Comment #2 from Heiko Tietze  ---
Guess this question is rather up to the devs. The labels are likely fields and
therefore have to get synchronized/updated before printing - or when the user
wants to get a preview.

-- 
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 95890] Feature Request: Labels duplicate all over page without 'Synchronize Labels'

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95890

--- Comment #2 from Heiko Tietze  ---
Guess this question is rather up to the devs. The labels are likely fields and
therefore have to get synchronized/updated before printing - or when the user
wants to get a preview.

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


[Libreoffice-commits] core.git: basic/inc bin/find-unused-defines.awk bin/find-unused-typedefs.py bin/find-unused-typedefs.sh bridges/source chart2/source cui/source fpicker/source include/comphelper

2015-11-18 Thread Noel Grandin
 basic/inc/sbxbase.hxx |7 ++--
 bin/find-unused-defines.awk   |1 
 bin/find-unused-typedefs.py   |7 ++--
 bin/find-unused-typedefs.sh   |5 +--
 bridges/source/cpp_uno/msvc_win32_x86-64/mscx.hxx |1 
 chart2/source/view/inc/GL3DRenderer.hxx   |1 
 cui/source/inc/treeopt.hxx|   12 +++-
 cui/source/tabpages/align.cxx |2 -
 cui/source/tabpages/borderconn.cxx|   18 +---
 fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx   |4 --
 include/comphelper/MasterPropertySet.hxx  |3 --
 include/oox/core/xmlfilterbase.hxx|2 -
 include/sfx2/controlwrapper.hxx   |   20 --
 include/sfx2/itemconnect.hxx  |   11 ---
 include/sfx2/itemwrapper.hxx  |2 -
 include/svtools/valueset.hxx  |3 --
 include/svx/textchain.hxx |3 --
 include/xmloff/XMLFontAutoStylePool.hxx   |3 --
 oox/source/shape/ShapeContextHandler.hxx  |2 -
 reportdesign/source/core/inc/RptObjectListener.hxx|8 -
 sax/source/fastparser/fastparser.cxx  |5 +--
 sc/inc/datauno.hxx|5 +--
 sc/inc/dispuno.hxx|5 +--
 sc/source/filter/excel/xelink.cxx |3 --
 sc/source/filter/excel/xestyle.cxx|7 +---
 sc/source/filter/inc/xeextlst.hxx |2 -
 sc/source/filter/inc/xerecord.hxx |3 --
 sc/source/filter/inc/xichart.hxx  |2 -
 sc/source/ui/vba/vbaaxes.cxx  |3 --
 sc/workben/result.hxx |5 +--
 sd/source/ui/remotecontrol/mDNSResponder/CommonServices.h |8 -
 slideshow/source/inc/eventmultiplexer.hxx |1 
 sw/source/filter/ww8/wrtww8.hxx   |6 +---
 sw/source/filter/ww8/ww8par2.cxx  |4 --
 sw/source/ui/vba/vbatablesofcontents.cxx  |4 --
 unotools/source/ucbhelper/ucblockbytes.hxx|4 --
 vcl/unx/generic/gdi/xrender_peer.hxx  |1 
 vcl/unx/glxtest.cxx   |4 --
 xmloff/source/style/xmlnumfi.cxx  |4 --
 xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx|9 ++
 40 files changed, 52 insertions(+), 148 deletions(-)

New commits:
commit 53f16c39f5c4c69ab603bf9098daec71f7a0acb8
Author: Noel Grandin 
Date:   Wed Nov 18 10:12:08 2015 +0200

remove unused typedefs and inline use-once typedefs

and improve the script a little

Change-Id: I2792ea4dd5df3a50736fbe209225c3f16fb86b84
Reviewed-on: https://gerrit.libreoffice.org/20033
Reviewed-by: Noel Grandin 
Tested-by: Noel Grandin 

diff --git a/basic/inc/sbxbase.hxx b/basic/inc/sbxbase.hxx
index 8177643..3128361 100644
--- a/basic/inc/sbxbase.hxx
+++ b/basic/inc/sbxbase.hxx
@@ -33,15 +33,14 @@ class SbxFactory;
 class SbxVariable;
 class SbxBasicFormater;
 
-typedef std::vector SbxFactories;
-
 // AppData structure for SBX:
 struct SbxAppData
 : private ::boost::noncopyable
 {
 SbxErroreSbxError;  // Error code
-SbxFactoriesm_Factories;
-SbxBasicFormater*pBasicFormater;// Pointer to Format()-Command 
helper class
+std::vector
+m_Factories;
+SbxBasicFormater   *pBasicFormater;// Pointer to Format()-Command 
helper class
 
 LanguageTypeeBasicFormaterLangType;
 // It might be useful to store this class 'global' because some string 
reosurces are saved here
diff --git a/bin/find-unused-defines.awk b/bin/find-unused-defines.awk
index 193986e..fb3997a 100644
--- a/bin/find-unused-defines.awk
+++ b/bin/find-unused-defines.awk
@@ -14,7 +14,6 @@ END {
 
 
 # | xargs -P 4 -Ixxx sh -c "git grep -w 'xxx' | awk '{ x++; y=\$0 } END { if 
(x==1) print y }' && echo \"xxx\" 1>&2"
-
 #  sed -i '' '/pattern/d'
 # | awk  'arr[$0]++ END { for (i in arr) { if(arr[i]==1) print i } }' \
 # | awk -f find-unused-defines.awk
diff --git a/bin/find-unused-typedefs.py b/bin/find-unused-typedefs.py
index e261d13..e292f09 100755
--- a/bin/find-unused-typedefs.py
+++ b/bin/find-unused-typedefs.py
@@ -2,12 +2,13 @@
 
 import subprocess
 
-a = subprocess.Popen("git grep -P '^typedef\s+.+\w+;' -- \"[!e][!x][!t]*\"", 
stdout=subprocess.PIPE, shell=True)
+a = subprocess.Popen("git grep 

[Libreoffice-bugs] [Bug 95903] New: PyUNO connection makes LibreOffice x64 crash

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95903

Bug ID: 95903
   Summary: PyUNO connection makes LibreOffice x64 crash
   Product: LibreOffice
   Version: 5.1.0.0.alpha1
  Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: anthony.gro...@airliquide.com

Created attachment 120619
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120619=edit
Python script to connect to LibreOffice

On x64 LO only, the connection through PyUNO makes LO crash.

Crash on:
 - Official LibreOffice 5.0.3 x64
 - LibreOffice 5.1.0.0.aplha1 x64
 - LibreOffice 5.0.0.1 x64

Works fine on:
 - Official LibreOffice 5.0.3 x86

Here is the backtrace when it crashes:
Traceback (most recent call last):
  File "python\Danny.py", line 98, in 
getDesktop()
  File "python\Danny.py", line 95, in getDesktop
StarDesktop = createUnoService( "com.sun.star.frame.Desktop" )
  File "python\Danny.py", line 83, in createUnoService
oObj = oServiceManager.createInstance( cClass )
__main__.RuntimeException: Binary URP bridge disposed during call

The debugguer says that it crashes in cppu3.dll

-- 
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 75500] Pasting with "skip empty cells" doesn't work correctly with conditional formatting.

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=75500

Beluga  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||todven...@suomi24.fi
 Resolution|--- |WORKSFORME

--- Comment #3 from Beluga  ---
Using attachment 93458 I get the expected behavior after pasting with skip
empty. WFM.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: b216cc1b8096eb60c27f67e8c27b7cd756c75e38
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-12_00:06:20
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 60957] FILEOPEN particular .docx shows user text field wrongly repeated many times

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=60957

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi

--- Comment #7 from Beluga  ---
Still doesn't match the PDF.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: b216cc1b8096eb60c27f67e8c27b7cd756c75e38
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-12_00:06:20
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 38231] Edit field command - data format: Change "31 Dec 1999" to one digit day

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=38231

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi
 Whiteboard||needsDevEval

-- 
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 47078] Empty page with cell borders gets printed out when "Suppress output of empty pages" is enabled

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=47078

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi
   Severity|normal  |minor

--- Comment #8 from Beluga  ---
Still repro.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: b216cc1b8096eb60c27f67e8c27b7cd756c75e38
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-12_00:06:20
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 63570] FILESAVE Writer does not evaluate formulas when converting to pdf or printing by command line

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=63570

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi
   Severity|normal  |minor

--- Comment #8 from Beluga  ---
Still repro.

Ubuntu 15.10 64-bit 
Version: 5.1.0.0.alpha1+
Build ID: 7272e8df62a12d6172b297d7a82a0265cd1bc44a
TinderBox: Linux-rpm_deb-x86_64@70-TDF-dbg, Branch:master, Time:
2015-11-15_00:23:07
Locale: en-US (en_US.UTF-8)

-- 
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 95881] Graphite ligature errors in hungarian ducuments

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95881

pjot...@freemail.hu changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|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 93263] Pivot table forget subtotal settings on changes

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93263

Katarina Behrens (CIB)  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |katarina.behr...@cib.de
   |desktop.org |

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


[Libreoffice-bugs] [Bug 95899] Display problem with Writer

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95899

--- Comment #2 from Papipio  ---
Created attachment 120624
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120624=edit
Options windows

-- 
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' - vcl/win

2015-11-18 Thread Takeshi Abe
 vcl/win/source/gdi/winlayout.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e401cb5c54d7f7d6c7a24c539acf35c7ec94d75b
Author: Takeshi Abe 
Date:   Thu Oct 15 18:16:53 2015 +0900

tdf#94008 Crash opening password protected file - CJK UI

This fixes a buffer overflow writing over the end of pCaretXArray,
which can happen e.g. when drawing mnemonics in the password dialog.
Based on a similar calculation of nCurrIdx found in
GenericSalLayout::GetCaretPositions().

Change-Id: I7d723cf8cfaeb66f340c7d9ea5b3bc728c6d6209
Reviewed-on: https://gerrit.libreoffice.org/19385
Tested-by: Jenkins 
Reviewed-by: jan iversen 
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 
(cherry picked from commit f630b6d5f165c8c507b8904b99594936edfd8da0)
Reviewed-on: https://gerrit.libreoffice.org/20031
Reviewed-by: Miklos Vajna 

diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx
index 0d733ee..abbdc5a 100644
--- a/vcl/win/source/gdi/winlayout.cxx
+++ b/vcl/win/source/gdi/winlayout.cxx
@@ -1905,7 +1905,7 @@ void UniscribeLayout::GetCaretPositions( int nMaxIdx, 
long* pCaretXArray ) const
 for(; (i < rVisualItem.mnEndCharPos) && (i < mnEndCharPos); ++i )
 {
 int j = mpLogClusters[ i ] + rVisualItem.mnMinGlyphPos;
-int nCurrIdx = i * 2;
+int nCurrIdx = (i - mnMinCharPos) * 2;
 if( !rVisualItem.IsRTL() )
 {
 // normal positions for LTR case
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95901] Bullets charatters disappear

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95901

enio.marracc...@itineragroup.com changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |FIXED

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


[Libreoffice-bugs] [Bug 82412] minimizing the screen option is available without closing the message box.

2015-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=82412

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi
 Whiteboard||needsDevEval

--- Comment #3 from Beluga  ---
Still valid.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: b216cc1b8096eb60c27f67e8c27b7cd756c75e38
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-12_00:06:20
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-commits] core.git: Branch 'distro/collabora/cp-5.0' - sd/uiconfig

2015-11-18 Thread Jan Holesovsky
 sd/uiconfig/sdraw/toolbar/standardbar.xml|1 +
 sd/uiconfig/simpress/toolbar/standardbar.xml |1 +
 2 files changed, 2 insertions(+)

New commits:
commit c23afd9232a1b73d8838b3912ba2a4361ffe9fd1
Author: Jan Holesovsky 
Date:   Wed Nov 18 13:07:10 2015 +0100

sd: Add a separator between the 'insert' buttons and text-related ones.

Change-Id: I9e48407f6f5eb5cc4c36439b72648bb8d43deb79

diff --git a/sd/uiconfig/sdraw/toolbar/standardbar.xml 
b/sd/uiconfig/sdraw/toolbar/standardbar.xml
index 852ae27..882ff6b 100644
--- a/sd/uiconfig/sdraw/toolbar/standardbar.xml
+++ b/sd/uiconfig/sdraw/toolbar/standardbar.xml
@@ -53,6 +53,7 @@
  
  
  
+ 
  
  
  
diff --git a/sd/uiconfig/simpress/toolbar/standardbar.xml 
b/sd/uiconfig/simpress/toolbar/standardbar.xml
index 67be999..ee4cfe0 100644
--- a/sd/uiconfig/simpress/toolbar/standardbar.xml
+++ b/sd/uiconfig/simpress/toolbar/standardbar.xml
@@ -51,6 +51,7 @@
  
  
  
+ 
  
  
  
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: sd/uiconfig

2015-11-18 Thread Jan Holesovsky
 sd/uiconfig/sdraw/toolbar/standardbar.xml|1 +
 sd/uiconfig/simpress/toolbar/standardbar.xml |1 +
 2 files changed, 2 insertions(+)

New commits:
commit 8327a5e162a4d1804286bfdfb4d621b8d2a1d504
Author: Jan Holesovsky 
Date:   Wed Nov 18 13:07:10 2015 +0100

sd: Add a separator between the 'insert' buttons and text-related ones.

Change-Id: I9e48407f6f5eb5cc4c36439b72648bb8d43deb79

diff --git a/sd/uiconfig/sdraw/toolbar/standardbar.xml 
b/sd/uiconfig/sdraw/toolbar/standardbar.xml
index 63d93ea..4f1a2d6 100644
--- a/sd/uiconfig/sdraw/toolbar/standardbar.xml
+++ b/sd/uiconfig/sdraw/toolbar/standardbar.xml
@@ -53,6 +53,7 @@
  
  
  
+ 
  
  
  
diff --git a/sd/uiconfig/simpress/toolbar/standardbar.xml 
b/sd/uiconfig/simpress/toolbar/standardbar.xml
index 96189f3..ef4658c 100644
--- a/sd/uiconfig/simpress/toolbar/standardbar.xml
+++ b/sd/uiconfig/simpress/toolbar/standardbar.xml
@@ -51,6 +51,7 @@
  
  
  
+ 
  
  
  
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'feature/glyphy' - external/glyphy

2015-11-18 Thread Tor Lillqvist
 external/glyphy/UnpackedTarball_glyphy.mk |1 
 external/glyphy/glyphy-upstream.patch.1   |  211 ++
 2 files changed, 212 insertions(+)

New commits:
commit 18d750116db7a6cdd1450604d31071608561739b
Author: Tor Lillqvist 
Date:   Wed Nov 18 15:12:30 2015 +0200

Update GLyphy to match upstream

Change-Id: Ia1fe3f5d44e2194f87f1b7655ee28148fb614e81

diff --git a/external/glyphy/UnpackedTarball_glyphy.mk 
b/external/glyphy/UnpackedTarball_glyphy.mk
index 43a603d..08512b9 100644
--- a/external/glyphy/UnpackedTarball_glyphy.mk
+++ b/external/glyphy/UnpackedTarball_glyphy.mk
@@ -14,6 +14,7 @@ $(eval $(call 
gb_UnpackedTarball_set_tarball,glyphy,$(GLYPHY_TARBALL)))
 $(eval $(call gb_UnpackedTarball_set_patchlevel,glyphy,1))
 
 $(eval $(call gb_UnpackedTarball_add_patches,glyphy,\
+   external/glyphy/glyphy-upstream.patch.1 \
external/glyphy/glyphy-windows.patch.1 \
 ))
 
diff --git a/external/glyphy/glyphy-upstream.patch.1 
b/external/glyphy/glyphy-upstream.patch.1
new file mode 100644
index 000..f898918
--- /dev/null
+++ b/external/glyphy/glyphy-upstream.patch.1
@@ -0,0 +1,211 @@
+From d6d6c61c8d0e336c34ba3f5d9adbe923ffa1cbe3 Mon Sep 17 00:00:00 2001
+From: Behdad Esfahbod 
+Date: Thu, 6 Aug 2015 15:34:38 +0100
+Subject: [PATCH 2/6] Implement more robust winding-direction algorithm
+
+Fixes 'p' in Comic Sans Bold for example.  That font has many
+self-intersecting contours.  The one in 'p' was causing complete
+winding direction reversal using old algorithm.  Implement area-based
+algorithm.
+---
+ src/glyphy-outline.cc | 67 ++-
+ 1 file changed, 13 insertions(+), 54 deletions(-)
+
+diff --git a/src/glyphy-outline.cc b/src/glyphy-outline.cc
+index 3543f3b..ef71247 100644
+--- a/src/glyphy-outline.cc
 b/src/glyphy-outline.cc
+@@ -55,65 +55,24 @@ winding (const glyphy_arc_endpoint_t *endpoints,
+   /*
+* Algorithm:
+*
+-   * - Find the lowest-x part of the contour,
+-   * - If the point is an endpoint:
+-   *   o compare the angle of the incoming and outgoing edges of that point
+-   * to find out whether it's CW or CCW,
+-   * - Otherwise, compare the y of the two endpoints of the arc with lowest-x 
point.
+-   *
+-   * Note:
+-   *
+-   * We can use a simpler algorithm here: Act as if arcs are lines, then use 
the
+-   * triangle method to calculate the signed area of the contour and get the 
sign.
+-   * It should work for all cases we care about.  The only case failing would 
be
+-   * that of two endpoints and two arcs.  But we can even special-case that.
++   * - Approximate arcs with triangles passing through the mid- and 
end-points,
++   * - Calculate the area of the contour,
++   * - Return sign.
+*/
+ 
+-  unsigned int corner = 1;
+-  for (unsigned int i = 2; i < num_endpoints; i++)
+-if (endpoints[i].p.x < endpoints[corner].p.x ||
+-  (endpoints[i].p.x == endpoints[corner].p.x &&
+-   endpoints[i].p.y < endpoints[corner].p.y))
+-  corner = i;
+-
+-  double min_x = endpoints[corner].p.x;
+-  int winner = -1;
+-  Point p0 (0, 0);
+-  for (unsigned int i = 0; i < num_endpoints; i++) {
+-const glyphy_arc_endpoint_t  = endpoints[i];
+-if (endpoint.d == GLYPHY_INFINITY || endpoint.d == 0 /* arcs only, not 
lines */) {
+-  p0 = endpoint.p;
+-  continue;
+-}
+-Arc arc (p0, endpoint.p, endpoint.d);
+-p0 = endpoint.p;
++  double area = 0;
++  for (unsigned int i = 1; i < num_endpoints; i++)
++  {
++const glyphy_point_t  = endpoints[i - 1].p;
++const glyphy_point_t  = endpoints[i].p;
++double d = endpoints[i].d;
+ 
+-Point c = arc.center ();
+-double r = arc.radius ();
+-if (c.x - r < min_x && arc.wedge_contains_point (c - Vector (r, 0))) {
+-  min_x = c.x - r;
+-  winner = i;
+-}
+-  }
++assert (d != GLYPHY_INFINITY);
+ 
+-  if (winner == -1)
+-  {
+-// Corner is lowest-x.  Find the tangents of the two arcs connected to the
+-// corner and compare the tangent angles to get contour direction.
+-const glyphy_arc_endpoint_t ethis = endpoints[corner];
+-const glyphy_arc_endpoint_t eprev = endpoints[corner - 1];
+-const glyphy_arc_endpoint_t enext = endpoints[corner < num_endpoints - 1 
? corner + 1 : 1];
+-double in  = (-Arc (eprev.p, ethis.p, ethis.d).tangents ().second).angle 
();
+-double out = (+Arc (ethis.p, enext.p, enext.d).tangents ().first ).angle 
();
+-return out > in;
++area += p0.x*p1.y - p0.y*p1.x;
++area -= .5 * d * ((p1.x-p0.x)*(p1.x-p0.x) + (p1.y-p0.y)*(p1.y-p0.y));
+   }
+-  else
+-  {
+-// Easy.
+-return endpoints[winner].d < 0;
+-  }
+-
+-  return false;
++  return area < 0;
+ }
+ 
+ 
+-- 
+2.5.0
+
+From 644c5bab6e7f0e5af8f42fa7a8075372716c66d3 Mon Sep 17 00:00:00 2001
+From: Behdad Esfahbod 
+Date: Thu, 6 Aug 2015 15:49:37 +0100
+Subject: [PATCH 3/6] Start handling fully-degenerate 

  1   2   3   4   >