[LyX/master] Limit the -Wall flag to C++ compiler

2020-11-20 Thread Jean-Marc Lasgouttes
commit cbc9a901afd1783a30b4d76663208b0c13530a30 Author: Jean-Marc Lasgouttes Date: Fri Nov 20 13:41:45 2020 +0100 Limit the -Wall flag to C++ compiler This avoids tons of warning when compiling code, like libiconv, which is not prepared to this kind of scrutiny of its code qual

[LyX/master] Do not set language from keyboard in passthru setting

2020-11-20 Thread Jean-Marc Lasgouttes
commit a877cdb1963f01d27b4bd0d194de928223cb5ae5 Author: Jean-Marc Lasgouttes Date: Wed Oct 21 18:08:39 2020 +0200 Do not set language from keyboard in passthru setting --- src/Cursor.cpp |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/Cursor.cpp b/src/Cursor

[LyX/master] Revert "Limit the -Wall flag to C++ compiler"

2020-11-20 Thread Jean-Marc Lasgouttes
commit ff1ab048f10895c5106469c6b63fe78a290402d8 Author: Jean-Marc Lasgouttes Date: Fri Nov 20 14:38:06 2020 +0100 Revert "Limit the -Wall flag to C++ compiler" Something is fishy, it breaks compilation. This reverts commit cbc9a901afd1783a30b4d76663208b0c13530a30. --- con

[LyX/master] Simplify constructors

2020-11-20 Thread Yuriy Skalko
commit f953d88c886c39b5075bb271d564b2c9de0c68f9 Author: Yuriy Skalko Date: Thu Nov 19 13:24:04 2020 +0200 Simplify constructors --- src/Dimension.h| 28 +++- src/graphics/PreviewLoader.cpp |2 +- src/mathed/MathData.cpp|3 +-- src/m

[LyX/master] Typo

2020-11-20 Thread Yuriy Skalko
commit b56a64a8ef56625e1e9fe2ba9c3fc27e79d70af3 Author: Yuriy Skalko Date: Tue Nov 17 20:03:04 2020 +0200 Typo --- src/mathed/InsetMathMacro.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mathed/InsetMathMacro.h b/src/mathed/InsetMathMacro.h index 38afcf0..

[LyX/master] Use range-based loops in GuiView

2020-11-20 Thread Jean-Marc Lasgouttes
commit d8e8a93a582a6dc4bcee1112e7fe7e4f1ace5542 Author: Jean-Marc Lasgouttes Date: Fri Nov 20 15:04:59 2020 +0100 Use range-based loops in GuiView --- src/frontends/qt/GuiView.cpp | 102 +++-- 1 files changed, 37 insertions(+), 65 deletions(-) diff --g

[LyX/master] Missing '{'

2020-11-20 Thread Kornel Benko
commit 5474c3fb4b565f5c5ac1268d2f902afce22f7e88 Author: Kornel Benko Date: Fri Nov 20 16:32:51 2020 +0100 Missing '{' --- src/frontends/qt/GuiView.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/frontends/qt/GuiView.cpp b/src/frontends/qt/GuiView.cpp index

[LyX/master] XML: add tag-type information in XML tags. It is not yet used.

2020-11-20 Thread Thibaut Cuvelier
commit 0fe3d05344c3680c090c6a57a776ef7a49d4ab2b Author: Thibaut Cuvelier Date: Wed Nov 18 05:29:26 2020 +0100 XML: add tag-type information in XML tags. It is not yet used. --- src/mathed/InsetMathHull.cpp |6 ++-- src/xml.h| 48 ---

[LyX/master] DocBook: make InsetText respect tag types.

2020-11-20 Thread Thibaut Cuvelier
commit 1176fab1d479b21a2cc0d165cf341c99ad0661c1 Author: Thibaut Cuvelier Date: Wed Nov 18 05:54:08 2020 +0100 DocBook: make InsetText respect tag types. --- autotests/export/docbook/svglo.xml | 19 ++- development/autotests/invertedTests |1 + lib/layouts/svglobal3.l

[LyX/master] XML: move higher-level tag-opening and closing functions to xml namespace.

2020-11-20 Thread Thibaut Cuvelier
commit 3a02251bfa44a769d80838f77f00f9b7f31cd64d Author: Thibaut Cuvelier Date: Wed Nov 18 05:38:25 2020 +0100 XML: move higher-level tag-opening and closing functions to xml namespace. --- src/output_docbook.cpp | 178 ++-- src/xml.cpp

[LyX/master] DocBook: InsetText supports items and wrappers.

2020-11-20 Thread Thibaut Cuvelier
commit f426e458c4b0167c32abf4198d676fcd072b14ca Author: Thibaut Cuvelier Date: Wed Nov 18 04:34:58 2020 +0100 DocBook: InsetText supports items and wrappers. --- autotests/export/docbook/svglo.lyx |2 +- autotests/export/docbook/svglo.xml |8 ++-- lib/layouts/stdinsets.inc

[LyX/master] DocBook: ensure that -related insets in the abstract are not generated in the abstract.

2020-11-20 Thread Thibaut Cuvelier
commit 2c6537ff6635cb7e023b284be16705ea2ff87a10 Author: Thibaut Cuvelier Date: Wed Nov 18 01:51:05 2020 +0100 DocBook: ensure that -related insets in the abstract are not generated in the abstract. This helps generate more conformant DocBook files. Also implement wrapper

[LyX/master] amend 2c6537ff for C++11 compatibility

2020-11-20 Thread Thibaut Cuvelier
commit 2bbfc726c4840f491c8299101143cecd107948c2 Author: Thibaut Cuvelier Date: Fri Nov 20 21:59:22 2020 +0100 amend 2c6537ff for C++11 compatibility --- src/output_docbook.cpp |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/output_docbook.cpp b/src/outpu

[LyX/master] Remove unused header

2020-11-20 Thread Yuriy Skalko
commit 09eba40418b3398636f860f40872ac0d7af98dd8 Author: Yuriy Skalko Date: Thu Nov 19 14:51:00 2020 +0200 Remove unused header --- src/mathed/InsetMathSymbol.cpp |1 - src/mathed/MathSupport.cpp |1 - 2 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/mathed/Ins

[LyX/master] Add more `override` specifiers

2020-11-20 Thread Yuriy Skalko
commit 2941bc01981f151df9360312594bd0517ecc7d3a Author: Yuriy Skalko Date: Thu Nov 19 15:40:14 2020 +0200 Add more `override` specifiers --- src/frontends/qt/GuiClickableLabel.h |2 +- src/frontends/qt/GuiFontExample.h|4 +- src/frontends/qt/GuiIdListModel.h| 15

[LyX/master] Simplify Length

2020-11-20 Thread Yuriy Skalko
commit 916ceeba1284ba9b248f3575c6c64d4fa8c361e7 Author: Yuriy Skalko Date: Thu Nov 19 15:53:33 2020 +0200 Simplify Length --- src/support/Length.cpp | 97 src/support/Length.h | 46 -- 2 files changed, 25 insertions