[LyX/master] Simplify b3fe9cb7049da

2024-03-15 Thread Juergen Spitzmueller
commit f9c60d477d18a73c85fd277d75aeafb8edc1fbec Author: Juergen Spitzmueller Date: Sat Mar 16 05:01:53 2024 +0100 Simplify b3fe9cb7049da --- src/graphics/PreviewLoader.cpp | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/graphics/PreviewLoader.cpp

[LyX/master] Simplify a loop with a for-each.

2024-03-09 Thread Thibaut Cuvelier
commit 1b11dfeca5c4e11585129221d966e84c5c775402 Author: Thibaut Cuvelier Date: Sat Mar 9 20:46:54 2024 +0100 Simplify a loop with a for-each. These loops were brought by C++11. The next step could be using std::any_of. --- src/mathed/MathSupport.cpp | 8 1 file changed,

[LyX/master] Simplify

2023-10-15 Thread Juergen Spitzmueller
commit cfcc57bd895fc3c74dd47b8cb40fd40c0c57dbcb Author: Juergen Spitzmueller Date: Sun Oct 15 11:02:35 2023 +0200 Simplify --- src/frontends/qt/GuiApplication.cpp |2 +- src/frontends/qt/GuiPrefs.cpp | 10 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff

[LyX/master] Simplify

2023-10-01 Thread Juergen Spitzmueller
commit 242381464b44c5ceb790654e4e47507b7c9b465c Author: Juergen Spitzmueller Date: Sun Oct 1 11:38:10 2023 +0200 Simplify --- src/insets/InsetBox.cpp | 10 ++ src/insets/InsetBox.h |2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git

[LyX/master] Simplify Quotation/Quote style

2023-05-08 Thread Scott Kostyshak
commit 5556cb3d3f8d39fdb5811a8002ad3c706c3edc7c Author: Daniel Ramoeller Date: Sun Apr 16 09:47:35 2023 +0200 Simplify Quotation/Quote style Fix for bug #12745 --- lib/layouts/stdlayouts.inc | 37 +++-- 1 files changed, 11 insertions(+), 26

[LyX/master] Simplify simplehtml_validity.py

2023-01-09 Thread Thibaut Cuvelier
commit fa5b08e24d398cb76049f2962ae171485f480133 Author: Thibaut Cuvelier Date: Mon Jan 9 04:16:34 2023 +0100 Simplify simplehtml_validity.py --- development/autotests/simplehtml_validity.py | 19 +++ 1 files changed, 3 insertions(+), 16 deletions(-) diff --git

[LyX/master] Simplify and hopely fix scrollToCursor

2022-12-21 Thread Jean-Marc Lasgouttes
commit 0fed10e4c395ae5dc22ccf86f9c846f322a1d09d Author: Jean-Marc Lasgouttes Date: Sun Nov 13 21:03:33 2022 +0100 Simplify and hopely fix scrollToCursor Remove some special cases that I do not really understand and streamline the cases. Also make sure that there is

[LyX/master] Simplify test

2022-12-19 Thread Juergen Spitzmueller
commit 889be483cf575282327b2eda5b60d8712b482ba9 Author: Juergen Spitzmueller Date: Tue Dec 20 05:50:23 2022 +0100 Simplify test Math is useful for something, after all... --- src/LaTeXPackages.cpp | 45 ++--- 1 files changed, 6

[LyX/master] Simplify output code

2022-12-19 Thread Juergen Spitzmueller
commit 41146030b6551619c306b6af98fd53d8ce0ad004 Author: Juergen Spitzmueller Date: Mon Dec 19 11:08:41 2022 +0100 Simplify output code --- lib/chkconfig.ltx|2 ++ src/BufferParams.cpp | 17 - 2 files changed, 10 insertions(+), 9 deletions(-) diff --git

[LyX/master] Simplify conversion routine, and remove warning

2022-12-08 Thread Richard Kimberly Heck
commit fa449e976906edb9510639f2ca7bf491a2e07b46 Author: Richard Kimberly Heck Date: Thu Dec 8 11:09:48 2022 -0500 Simplify conversion routine, and remove warning --- lib/lyx2lyx/lyx_2_4.py |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git

[LyX/master] Simplify status bar context menu

2022-09-02 Thread Jean-Marc Lasgouttes
commit bb1d955754a821bb8a849ea25ee626d6f839da91 Author: Jean-Marc Lasgouttes Date: Fri Sep 2 19:52:57 2022 +0200 Simplify status bar context menu Remove "Show" prefix. Remove "(With Blanks)". --- lib/ui/stdcontext.inc | 10 +- 1 files changed, 5 insertions(+),

[LyX/master] Simplify setting of RTL in rows

2021-12-07 Thread Jean-Marc Lasgouttes
commit a06f0e48ec579c7ff4e059f08fd0e3983f6d4dfe Author: Jean-Marc Lasgouttes Date: Wed Sep 22 13:17:46 2021 +0200 Simplify setting of RTL in rows Set RTL status at row creation, which allows to remove a parameter from cleanupRow. --- src/Row.cpp |7 +++

[LyX/master] Simplify and polish

2021-01-13 Thread Richard Kimberly Heck
commit 9504ec84c501625126c9ba25172c70377ba4aac9 Author: Richard Kimberly Heck Date: Wed Jan 13 14:42:26 2021 -0500 Simplify and polish --- src/frontends/qt/GuiView.cpp | 20 ++-- src/frontends/qt/GuiView.h |4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-)

[LyX/master] Simplify

2021-01-03 Thread Richard Kimberly Heck
commit 84e8ce4ce5004f2f5ec8d09ffec06b2d9dec3fea Author: Richard Kimberly Heck Date: Mon Jan 4 01:39:01 2021 -0500 Simplify --- src/BufferView.cpp | 27 ++- 1 files changed, 14 insertions(+), 13 deletions(-) diff --git a/src/BufferView.cpp b/src/BufferView.cpp

[LyX/master] Simplify checking whether files are controlled by SVN and GIT.

2020-12-18 Thread Richard Kimberly Heck
commit 7e5c42593e45424676b466db257e5c377329c2e4 Author: Richard Kimberly Heck Date: Fri Dec 18 16:43:52 2020 -0500 Simplify checking whether files are controlled by SVN and GIT. --- src/VCBackend.cpp | 40 1 files changed, 12 insertions(+), 28

[LyX/master] Simplify FuncRequest constructors

2020-12-02 Thread Yuriy Skalko
commit 1dd676bed1eef3b60011fe68a1c8e5714d1fb4e1 Author: Yuriy Skalko Date: Wed Dec 2 14:23:01 2020 +0200 Simplify FuncRequest constructors --- src/FuncRequest.cpp | 22 -- src/FuncRequest.h | 16 2 files changed, 16 insertions(+), 22 deletions(-)

[LyX/master] Simplify InsetMathGrid structs

2020-12-02 Thread Yuriy Skalko
commit efaffb897d44258182739a2cc27ac4f6325af9f3 Author: Yuriy Skalko Date: Wed Dec 2 14:45:14 2020 +0200 Simplify InsetMathGrid structs --- src/mathed/InsetMathGrid.cpp | 26 -- src/mathed/InsetMathGrid.h | 37 ++--- 2 files

[LyX/master] Simplify GuiWorkarea::Private constructor

2020-12-01 Thread Jean-Marc Lasgouttes
commit 26135330bc306d060e7915ddc1fed3e38347c582 Author: Jean-Marc Lasgouttes Date: Tue Dec 1 11:26:01 2020 +0100 Simplify GuiWorkarea::Private constructor Also use the newly introduced platformName() for Qt4. --- src/frontends/qt/GuiWorkArea.cpp | 23

[LyX/master] Simplify DocIterator

2020-11-30 Thread Yuriy Skalko
commit 19f5aa58aa55fe210c689052967ade0f943f82fb Author: Yuriy Skalko Date: Sat Nov 28 01:14:32 2020 +0200 Simplify DocIterator --- src/DocIterator.cpp | 17 - src/DocIterator.h | 21 ++--- 2 files changed, 14 insertions(+), 24 deletions(-) diff --git

[LyX/master] Simplify KeyModifier

2020-11-30 Thread Yuriy Skalko
commit 89d05890bf264958863f318fa737e8337747ee8f Author: Yuriy Skalko Date: Sun Nov 29 10:19:58 2020 +0200 Simplify KeyModifier --- src/frontends/KeyModifier.h | 31 +-- 1 files changed, 9 insertions(+), 22 deletions(-) diff --git

[LyX/master] Simplify InsetQuotes constructors

2020-11-24 Thread Yuriy Skalko
commit 8e60182f588a62e27a1eedabec7c94bfa85a80f3 Author: Yuriy Skalko Date: Tue Nov 24 22:42:06 2020 +0200 Simplify InsetQuotes constructors --- src/insets/InsetQuotes.cpp | 13 ++--- src/insets/InsetQuotes.h | 16 2 files changed, 10 insertions(+), 19

[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

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

[LyX/master] Simplify Changers

2020-11-12 Thread Yuriy Skalko
commit 9b1dc338b216c6c72b99f75e512ed6b0e4be90c5 Author: Yuriy Skalko Date: Thu Nov 12 14:09:36 2020 +0200 Simplify Changers --- src/FontInfo.cpp|9 ++--- src/MetricsInfo.cpp | 20 +-- src/TextMetrics.cpp |6 ++--

[LyX/master] Simplify operator== for ParConstIterator

2020-11-08 Thread Yuriy Skalko
commit 437fef65aa1862deb1f6337062cd44a1263d9073 Author: Yuriy Skalko Date: Sun Nov 8 23:26:36 2020 +0200 Simplify operator== for ParConstIterator Comment out it while it is unused. --- src/ParIterator.cpp |7 +++ src/ParIterator.h |2 +- 2 files changed, 4

[LyX/master] Simplify bformat

2020-11-02 Thread Yuriy Skalko
commit c7d0ba0f26f683993542abc75c373827c4f1e5b3 Author: Yuriy Skalko Date: Sun Nov 1 22:39:21 2020 +0200 Simplify bformat --- src/support/lstrings.cpp |6 +- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/src/support/lstrings.cpp b/src/support/lstrings.cpp index

[LyX/master] Simplify with std::map::insert

2020-11-01 Thread Yuriy Skalko
commit dbe35af5428a37a49030549ca15d809881f26511 Author: Yuriy Skalko Date: Sat Oct 31 17:13:52 2020 +0200 Simplify with std::map::insert --- src/Buffer.cpp |4 +--- src/frontends/qt/GuiSymbols.cpp |7 ++- src/output_latex.cpp|3 +--

[LyX/master] Simplify DispatchResult ctors

2020-10-29 Thread Yuriy Skalko
commit b8737e898cc8c8fa20d73f3dd5fdf774d9d10f9f Author: Yuriy Skalko Date: Tue Oct 27 14:16:07 2020 +0200 Simplify DispatchResult ctors --- src/DispatchResult.h | 25 +++-- 1 files changed, 7 insertions(+), 18 deletions(-) diff --git a/src/DispatchResult.h

[LyX/master] Simplify reversion code (keeping the same output)

2020-09-21 Thread José Matos
commit 4419f6e0591bdaed0f6cebfd6b5d108363628f88 Author: José Matos Date: Mon Sep 21 14:36:52 2020 +0100 Simplify reversion code (keeping the same output) --- lib/lyx2lyx/lyx_2_4.py |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/lyx2lyx/lyx_2_4.py

[LyX/master] Simplify code to generate only one paragraph at a time.

2020-09-19 Thread Thibaut Cuvelier
commit 87dae26e4a8146c7e9b450dfff4d8711deeed933 Author: Thibaut Cuvelier Date: Sun Aug 16 00:59:43 2020 +0200 Simplify code to generate only one paragraph at a time. autotests/export/docbook/basic.xml | 355 +++- autotests/export/docbook/easy.lyx | 253 +++

[LyX/master] Simplify

2020-07-17 Thread Richard Kimberly Heck
commit ab31598e04678cdedcad6bc93a1d6aeea92837f4 Author: Richard Kimberly Heck Date: Fri Jul 17 12:16:47 2020 -0400 Simplify --- lib/lyx2lyx/lyx_2_4.py |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/lib/lyx2lyx/lyx_2_4.py b/lib/lyx2lyx/lyx_2_4.py index

[LyX/master] Simplify code a bit. Should be equivalent, unless backs is empty!

2020-07-08 Thread Richard Kimberly Heck
commit 3c094c739ba38f43edf9698ac37dd9eee62080b1 Author: Richard Kimberly Heck Date: Wed Jul 8 23:59:15 2020 -0400 Simplify code a bit. Should be equivalent, unless backs is empty! --- src/BufferParams.cpp | 10 -- 1 files changed, 4 insertions(+), 6 deletions(-) diff --git

[LyX/master] Simplify code by using initializer lists for vectors.

2020-05-23 Thread Jean-Marc Lasgouttes
commit 8d51b3e7bb439e815bb96fa7959aa332227fab6a Author: Jean-Marc Lasgouttes Date: Sat May 23 17:10:17 2020 +0200 Simplify code by using initializer lists for vectors. { REFERENCE_NEXT, NOTE_NEXT } can be used as a value for a vector since C++11. --- src/BufferView.cpp | 25

[LyX/master] Simplify.

2020-05-13 Thread Richard Kimberly Heck
commit b0def618f844927468fe724e74315ded43ef0122 Author: Richard Kimberly Heck Date: Wed May 13 14:49:01 2020 -0400 Simplify. --- src/insets/InsetText.cpp |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/insets/InsetText.cpp b/src/insets/InsetText.cpp index

[LyX/master] Simplify code for bidi icons

2020-04-16 Thread Jean-Marc Lasgouttes
commit bb0117d182cae7da31228a03ac848f95fd77841a Author: Jean-Marc Lasgouttes Date: Thu Apr 16 19:21:54 2020 +0200 Simplify code for bidi icons Most of the RtL icons that we provide are simply mirrors of the LtR ones. Therefore let the code do that by default if no +rtl icon is

[LyX/master] Simplify boolean expressions

2019-10-26 Thread Jean-Marc Lasgouttes
commit 464d6262b17dfd8c8db6ca32b94ac230668cba52 Author: Jean-Marc Lasgouttes Date: Sun Oct 27 00:08:02 2019 +0200 Simplify boolean expressions Spottd by cppcheck. --- src/Encoding.h | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Encoding.h

[LyX/master] Simplify regexes for combinations XeTeX + TeX fonts

2019-07-12 Thread Kornel Benko
commit eec7c4b654bbdaf73dc1a4d100c54968ff01f300 Author: Kornel Benko Date: Fri Jul 12 13:16:53 2019 +0200 Simplify regexes for combinations XeTeX + TeX fonts --- development/autotests/ignoredTests | 21 - 1 files changed, 8 insertions(+), 13 deletions(-) diff --git

[LyX/master] Simplify a bit.

2019-04-26 Thread Richard Kimberly Heck
commit 276ffc262c62e7b3b739814fcdf00ca3fe4c8ef1 Author: Richard Kimberly Heck Date: Fri Apr 26 21:51:48 2019 -0400 Simplify a bit. Also, I always worry that "file" will conflict with something --- src/insets/InsetInclude.cpp |9 - 1 files changed, 4 insertions(+),

[LyX/master] Simplify the code that adds underlining to the layout combo.

2018-10-18 Thread Richard Kimberly Heck
commit 1410eeb10e4ce1549ce381ab7ae85847c442c41f Author: Richard Kimberly Heck Date: Thu Oct 18 21:41:20 2018 -0400 Simplify the code that adds underlining to the layout combo. --- src/frontends/qt4/CategorizedCombo.cpp | 22 +++--- src/frontends/qt4/LayoutBox.cpp

[LyX/master] Simplify cite engines code

2018-05-20 Thread Juergen Spitzmueller
commit 0aeeb78f3cd9b93da1b81c911a8d2f391556 Author: Juergen Spitzmueller Date: Sun May 20 12:27:03 2018 +0200 Simplify cite engines code As opposed to modules (from which the framework was initially borrowed), we only allow one cite engine per document.

[LyX/master] Simplify the backup names when using an older file format.

2018-05-09 Thread José Matos
commit 37c94806566fdd13bef1fe5bfeda64ceb839f6a3 Author: José Matos Date: Wed May 9 08:53:28 2018 +0100 Simplify the backup names when using an older file format. Currently if we have a 2.3 file and we open it with a more recent version we get:

[LyX/master] Simplify some code now that we don't need it for indexes.

2018-04-25 Thread Richard Kimberly Heck
commit ba0f28a09b5d2037b836395400e8520801618647 Author: Richard Kimberly Heck Date: Wed Apr 25 22:22:36 2018 -0400 Simplify some code now that we don't need it for indexes. This has the effect that inserting nomenclature entries does not cut the selection

[LyX/master] Simplify code a bit.

2018-03-02 Thread Richard Heck
commit 5531b40c9be1f0c8dd4c13ad30925ffe31a3dacf Author: Richard Heck Date: Fri Mar 2 23:12:11 2018 -0500 Simplify code a bit. (cherry picked from commit 490506c45f200093229e7d7289aa1b3195783cf1) --- lib/configure.py |6 +++--- 1 files changed, 3 insertions(+),

[LyX/master] Simplify code using range-based for loops

2018-01-08 Thread Jean-Marc Lasgouttes
commit 1de6d3f3f027919c8fa44bc08f3edd517a1874cb Author: Jean-Marc Lasgouttes Date: Mon Jan 8 15:15:29 2018 +0100 Simplify code using range-based for loops --- src/BufferView.cpp | 26 +++--- 1 files changed, 7 insertions(+), 19 deletions(-) diff

[LyX/master] Simplify code in BiblioInfo.cpp

2017-12-14 Thread Jean-Marc Lasgouttes
commit eebea6284d521c1a291de3b3ed483969f882dcd7 Author: Jean-Marc Lasgouttes Date: Thu Dec 14 15:41:54 2017 +0100 Simplify code in BiblioInfo.cpp ... and avoid MSVC warning Fixes bug #10905 --- src/BiblioInfo.cpp | 31 ++-

[LyX/master] Simplify preamble code when using listings

2017-06-07 Thread Enrico Forestieri
commit 3cc3ff39a044a484faaaefbecf2a2937f7f102ef Author: Enrico Forestieri Date: Thu Jun 8 04:24:29 2017 +0200 Simplify preamble code when using listings Following an idea from Guillame. --- lib/layouts/stdinsets.inc| 74

[LyX/master] Simplify before clean-up before following bugfix

2017-05-13 Thread Guillaume MM
commit 1ac48c7cba8ee5c516ee1e676894f06107149945 Author: Guillaume MM Date: Fri May 12 23:13:38 2017 +0200 Simplify before clean-up before following bugfix --- src/Text3.cpp| 10 ++ src/TocBackend.cpp | 12 src/insets/Inset.h

[LyX/master] Simplify

2017-01-14 Thread Guillaume Munch
commit 54f5100e74788ba20d8e360cbaaaf6bfdc85266f Author: Guillaume Munch Date: Wed Jan 11 23:36:20 2017 +0100 Simplify The main point is the flag which is much simpler now. --- src/Changes.cpp | 106 +++

[LyX/master] Simplify some lyx2lyx code.

2016-12-13 Thread Richard Heck
commit 7a584f71bd642693fa484246e209388e9500ea07 Author: Richard Heck Date: Tue Dec 13 22:03:59 2016 -0500 Simplify some lyx2lyx code. Also, if the local layout we are removing is all there was, then we can remove the entire block. --- lib/lyx2lyx/lyx_2_3.py |

[LyX/master] Simplify Changers interface

2016-11-20 Thread Guillaume Munch
commit e449e70e3854da3aeda8dca1de22cabaf6ae0557 Author: Guillaume Munch Date: Sun Nov 20 19:53:16 2016 +0100 Simplify Changers interface In fact having an extra parameter "bool cond" is no longer useful because it can now always be emulated with a ternary

[LyX/master] Simplify and add debug message

2016-10-22 Thread Guillaume Munch
commit 2e45bade7abea57625319068f559a6b57150ffb5 Author: Guillaume Munch Date: Tue Oct 11 11:22:20 2016 +0200 Simplify and add debug message --- src/BufferView.cpp |8 +--- src/BufferView.h|2 -- src/TexRow.cpp

[LyX/master] Simplify the code that sets the read-only emblem in status bar

2016-09-23 Thread Jean-Marc Lasgouttes
commit 7cbc0c16a841716fa8966e0f800ee2cdc0432e25 Author: Jean-Marc Lasgouttes Date: Fri Sep 23 11:17:20 2016 +0200 Simplify the code that sets the read-only emblem in status bar Actually QIcon is able to handle transparently the svg icons. Patch from

[LyX/master] Simplify menus when there is only one caption type

2016-08-19 Thread Jean-Marc Lasgouttes
commit e7a33cacf171ee41609d6fe31e19eff6df1691bf Author: Jean-Marc Lasgouttes Date: Fri Aug 19 14:01:00 2016 +0200 Simplify menus when there is only one caption type This removes the submenu indirection in Insert and the type changer in contextual menu.

[LyX/master] Simplify CSS classes for floats.

2016-07-29 Thread Richard Heck
commit 50c139195083120fb79a215d21cedda516a3451c Author: Richard Heck Date: Sat Jul 30 00:03:35 2016 -0400 Simplify CSS classes for floats. Fixes bug #8605 and probably parts of #8755 and #9328. --- src/Floating.cpp |2 +- 1 files changed, 1 insertions(+), 1

[LyX/master] Simplify and unify code for special handling in argument insets.

2016-07-29 Thread Richard Heck
commit 76e6c778258e20b655b8008f93e9773899cfd5fd Author: Richard Heck Date: Fri Jul 29 23:38:51 2016 -0400 Simplify and unify code for special handling in argument insets. --- src/insets/InsetArgument.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff

[LyX/master] Simplify display of InsetQuote

2016-07-18 Thread Jean-Marc Lasgouttes
commit 61188464b4a31ad105a75cb5124a8d7eb3cfd882 Author: Jean-Marc Lasgouttes Date: Mon Jul 18 12:17:01 2016 +0200 Simplify display of InsetQuote The code that specializes for double elements in the display string does not trigger anymore: displayString()

[LyX/master] Simplify BufferParams::bufferFormat()

2016-07-11 Thread Juergen Spitzmueller
commit ad9887da9c184f66bddc070da1667c710f80d737 Author: Juergen Spitzmueller Date: Mon Jul 11 11:18:55 2016 +0200 Simplify BufferParams::bufferFormat() The differentiation of "xetex" and "platex" is not needed here, is ambiguous and confusing (see #10013). The

[LyX/master] Simplify logic a bit. (This was meant to be part of a previous commit.)

2016-07-09 Thread Richard Heck
commit 2104d41f71ff39f5c3f9f5a485707633b1bfb25b Author: Richard Heck Date: Sun Jul 10 01:43:19 2016 -0400 Simplify logic a bit. (This was meant to be part of a previous commit.) --- src/Buffer.cpp | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-)

[LyX/master] Simplify the TexRow information for mathed output

2016-06-13 Thread Guillaume Munch
commit d2d243d77f41b65baea72b4a58ecf4a8cfcb71b9 Author: Guillaume Munch Date: Sat Jun 4 10:49:21 2016 +0100 Simplify the TexRow information for mathed output Replace the manual manipulation of a stack of RowEntries with a Changer function. When I introduced the

[LyX/master] Simplify redoParagraph by merging duplicate code

2016-05-30 Thread Jean-Marc Lasgouttes
commit 17516267769abde8c02ae44bd838e3fce373d9a4 Author: Jean-Marc Lasgouttes Date: Sat Mar 5 23:11:45 2016 +0100 Simplify redoParagraph by merging duplicate code Let breakRow return a boolean indicating whether an additional row is required (after a

[LyX/master] Simplify class structure in TocBackend

2016-05-29 Thread Richard Heck
commit e3540f33e17ca45ffa5ec532ee7f1113638cc366 Author: Guillaume Munch Date: Fri Jan 8 19:06:50 2016 + Simplify class structure in TocBackend Deriving from std::vector to provide helper functions appears a touch excessive. Use typedef instead and move helper

[LyX/master] Simplify .po file generation

2016-05-29 Thread Richard Heck
commit 2d708bd7cf802fd76617e7255f81efec7d4c1adf Author: Georg Baum Date: Tue May 10 07:03:54 2016 +0200 Simplify .po file generation We can generate the file with the cirrect line endings directly instead of calling a helper script to convert them. diff --git

[LyX/master] Simplify the logic

2015-12-31 Thread Juergen Spitzmueller
commit 61b54f87df86ad2ea76ac03f40278a16836f8626 Author: Juergen Spitzmueller Date: Mon Dec 28 16:11:26 2015 +0100 Simplify the logic diff --git a/lib/lyx2lyx/lyx_2_1.py b/lib/lyx2lyx/lyx_2_1.py index f6ab187..fe5f9d6 100644 --- a/lib/lyx2lyx/lyx_2_1.py +++

[LyX/master] Simplify logic.

2015-12-12 Thread Richard Heck
commit 394fc5cf15372eee1dbb80828a86c7b97abadeac Author: Richard Heck Date: Sun Nov 29 22:24:55 2015 -0500 Simplify logic. diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 7676356..977395d 100644 --- a/src/frontends/qt4/GuiView.cpp +++

[LyX/master] Simplify Unicode symbols for old systems

2015-12-04 Thread Guillaume Munch
commit d9524321d757e26dbd2139592dfe1c59a1ef001f Author: Guillaume Munch Date: Wed Dec 2 21:56:10 2015 + Simplify Unicode symbols for old systems (http://mid.gmane.org/565e17dd.7090...@clear.net.nz) Fix the pilcrow and the cross in the outliner for

[LyX/master] Simplify a bunch of tests in lyx2lyx code.

2015-11-28 Thread Richard Heck
commit 7831e11717ae7c661bde4fe4428d6d8bb25b0d78 Author: Richard Heck Date: Sat Nov 28 23:58:50 2015 -0500 Simplify a bunch of tests in lyx2lyx code. diff --git a/lib/lyx2lyx/lyx_2_2.py b/lib/lyx2lyx/lyx_2_2.py index ae9edb2..c4121c1 100644 --- a/lib/lyx2lyx/lyx_2_2.py +++

[LyX/master] Simplify logic

2015-11-27 Thread Georg Baum
commit 5c35ebcd2488119b1041c5cea9cdd8bdc1a6d710 Author: Georg Baum Date: Fri Nov 27 20:35:13 2015 +0100 Simplify logic The old code was more complicated than needed, we have unstarred_name to make our live easier. The test proves that the new code works as

[LyX/master] Simplify lyx2lyx code a bit, and correct a mistake in my previous patch. Also fix some escaping problems (\end instead of \\end).

2015-11-24 Thread Richard Heck
commit 2c602ab051cbbbafc252ab72c58d0e8febc7822f Author: Richard Heck Date: Wed Nov 25 00:37:36 2015 -0500 Simplify lyx2lyx code a bit, and correct a mistake in my previous patch. Also fix some escaping problems (\end instead of \\end). My testing revealed some

[LyX/master] Simplify use of Buffer::getBackupName().

2015-11-15 Thread Richard Heck
commit 9efa43d2be7dcff0c1152b6f6a45801cfdd6d70e Author: Richard Heck Date: Fri Nov 13 17:12:52 2015 -0500 Simplify use of Buffer::getBackupName(). Previous versions of this code used the string in a different way, but now it is sufficient just to return a

[LyX/master] Simplify the code for auto toolbars handling

2015-06-18 Thread Jean-Marc Lasgouttes
commit 8b36c090b7f8850aca539dff867a194a942d48c2 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Thu Jun 18 15:30:44 2015 +0200 Simplify the code for auto toolbars handling Instaead of passing a number of booleans, it make more sense to pass the relevant visibility values

[LyX/master] Simplify the code for "auto" toolbars handling

2015-06-18 Thread Jean-Marc Lasgouttes
commit 8b36c090b7f8850aca539dff867a194a942d48c2 Author: Jean-Marc Lasgouttes Date: Thu Jun 18 15:30:44 2015 +0200 Simplify the code for "auto" toolbars handling Instaead of passing a number of booleans, it make more sense to pass the relevant visibility

[LyX/master] Simplify previous commit

2015-04-07 Thread Scott Kostyshak
commit dabb534a369efe529cd57be714005efd8e046610 Author: Scott Kostyshak skost...@lyx.org Date: Tue Apr 7 22:59:34 2015 -0400 Simplify previous commit The brackets are not necessary. diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 65fe919..f94a709

[LyX/master] Simplify previous commit

2015-04-07 Thread Scott Kostyshak
commit dabb534a369efe529cd57be714005efd8e046610 Author: Scott Kostyshak Date: Tue Apr 7 22:59:34 2015 -0400 Simplify previous commit The brackets are not necessary. diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 65fe919..f94a709

[LyX/master] Simplify code

2015-04-04 Thread Scott Kostyshak
commit 90772a01e78ff7de2dd27b9284b99b2085542225 Author: Scott Kostyshak skost...@lyx.org Date: Sat Apr 4 14:56:29 2015 -0400 Simplify code diff --git a/src/support/Systemcall.cpp b/src/support/Systemcall.cpp index 2f277f6..28cbdc8 100644 --- a/src/support/Systemcall.cpp +++

[LyX/master] Simplify code

2015-04-04 Thread Scott Kostyshak
commit 90772a01e78ff7de2dd27b9284b99b2085542225 Author: Scott Kostyshak Date: Sat Apr 4 14:56:29 2015 -0400 Simplify code diff --git a/src/support/Systemcall.cpp b/src/support/Systemcall.cpp index 2f277f6..28cbdc8 100644 --- a/src/support/Systemcall.cpp +++

[LyX/master] Simplify the test for inserting a parbreak separator.

2014-05-22 Thread Enrico Forestieri
commit 02e7bc18a7bb03a2799d98353adafe036e4fb340 Author: Enrico Forestieri for...@lyx.org Date: Thu May 22 21:47:10 2014 +0200 Simplify the test for inserting a parbreak separator. Instead of simply taking into account the layout of the previous paragraph, it is better

[LyX/master] Simplify the test for inserting a parbreak separator.

2014-05-22 Thread Enrico Forestieri
commit 02e7bc18a7bb03a2799d98353adafe036e4fb340 Author: Enrico Forestieri Date: Thu May 22 21:47:10 2014 +0200 Simplify the test for inserting a parbreak separator. Instead of simply taking into account the layout of the previous paragraph, it is better

[LyX/master] Simplify, and delete unused routine.

2014-03-05 Thread Richard Heck
commit bcf86b8477b829ace66d3b1459bf33a7a5c6c458 Author: Richard Heck rgh...@lyx.org Date: Wed Mar 5 17:53:29 2014 -0500 Simplify, and delete unused routine. diff --git a/src/insets/InsetCaption.cpp b/src/insets/InsetCaption.cpp index f1f0983..f6b2467 100644 ---

[LyX/master] Simplify, and delete unused routine.

2014-03-05 Thread Richard Heck
commit bcf86b8477b829ace66d3b1459bf33a7a5c6c458 Author: Richard Heck Date: Wed Mar 5 17:53:29 2014 -0500 Simplify, and delete unused routine. diff --git a/src/insets/InsetCaption.cpp b/src/insets/InsetCaption.cpp index f1f0983..f6b2467 100644 ---

[LyX/master] simplify XCODE_VERSION check

2013-12-31 Thread Stephan Witt
commit b73c6462d67b0fe26d28ef0549ab76b709879b18 Author: Stephan Witt sw...@lyx.org Date: Tue Dec 31 15:49:19 2013 +0100 simplify XCODE_VERSION check diff --git a/CMakeLists.txt b/CMakeLists.txt index 755ebcf..023c3e1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -706,7 +706,7 @@

[LyX/master] simplify XCODE_VERSION check

2013-12-31 Thread Stephan Witt
commit b73c6462d67b0fe26d28ef0549ab76b709879b18 Author: Stephan Witt Date: Tue Dec 31 15:49:19 2013 +0100 simplify XCODE_VERSION check diff --git a/CMakeLists.txt b/CMakeLists.txt index 755ebcf..023c3e1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -706,7 +706,7 @@

[LyX/master] Simplify a bunch of lyx2lyx code.

2013-07-24 Thread Richard Heck
commit c1ead6afa1db9cdd62f54b6a64682d827d1052ba Author: Richard Heck rgh...@lyx.org Date: Wed Jul 24 09:56:02 2013 -0400 Simplify a bunch of lyx2lyx code. diff --git a/lib/lyx2lyx/lyx_2_1.py b/lib/lyx2lyx/lyx_2_1.py index 2110d4a..aa14725 100644 --- a/lib/lyx2lyx/lyx_2_1.py +++

Re: [LyX/master] Simplify a bunch of lyx2lyx code.

2013-07-24 Thread José Matos
On Wednesday 24 July 2013 15:56:21 Richard Heck wrote: def convert_IEEEtran(document): @@ -1656,13 +1654,11 @@ def revert_AASTeX(document): if document.textclass == aastex: i = 0 while True: - if i != -1: -i = find_token(document.body, \\begin_layout

[LyX/master] Simplify a bunch of lyx2lyx code.

2013-07-24 Thread Richard Heck
commit c1ead6afa1db9cdd62f54b6a64682d827d1052ba Author: Richard Heck Date: Wed Jul 24 09:56:02 2013 -0400 Simplify a bunch of lyx2lyx code. diff --git a/lib/lyx2lyx/lyx_2_1.py b/lib/lyx2lyx/lyx_2_1.py index 2110d4a..aa14725 100644 --- a/lib/lyx2lyx/lyx_2_1.py +++

Re: [LyX/master] Simplify a bunch of lyx2lyx code.

2013-07-24 Thread José Matos
On Wednesday 24 July 2013 15:56:21 Richard Heck wrote: > def convert_IEEEtran(document): > @@ -1656,13 +1654,11 @@ def revert_AASTeX(document): >if document.textclass == "aastex": > i = 0 > while True: > - if i != -1: > -i = find_token(document.body, "\\begin_layout

[LyX master] Simplify code a bit: If we only accept CITE_CODE, there is no need to pass it.

2013-04-25 Thread Richard Heck
The branch, master, has been updated. - Log - commit 6c983d6cd16ad09f7610d13a9e53c721f930e02a Author: Richard Heck rgh...@lyx.org Date: Sat Apr 6 12:34:26 2013 -0400 Simplify code a bit: If we only accept CITE_CODE, there is

[LyX master] Simplify code a bit: If we only accept CITE_CODE, there is no need to pass it.

2013-04-25 Thread Richard Heck
The branch, master, has been updated. - Log - commit 6c983d6cd16ad09f7610d13a9e53c721f930e02a Author: Richard Heck Date: Sat Apr 6 12:34:26 2013 -0400 Simplify code a bit: If we only accept CITE_CODE, there

[LyX master] Simplify support for kurier fonts

2013-02-12 Thread Juergen Spitzmueller
The branch, master, has been updated. - Log - commit 557e2f5ef94b24481b97edc8ea2ad9c887b251d4 Author: Juergen Spitzmueller sp...@lyx.org Date: Tue Feb 12 20:33:42 2013 +0100 Simplify support for kurier fonts diff --git

[LyX master] Simplify support for kurier fonts

2013-02-12 Thread Juergen Spitzmueller
The branch, master, has been updated. - Log - commit 557e2f5ef94b24481b97edc8ea2ad9c887b251d4 Author: Juergen Spitzmueller Date: Tue Feb 12 20:33:42 2013 +0100 Simplify support for kurier fonts diff --git

[LyX master] Simplify translation string.

2012-09-20 Thread Pavel Sanda
The branch, master, has been updated. - Log - commit 13dfbd1927ea9a4e8954a6ad0c58e0ef90c71d29 Author: Pavel Sanda sa...@lyx.org Date: Thu Sep 20 13:35:53 2012 +0200 Simplify translation string. diff --git a/src/Buffer.cpp

[LyX master] Simplify translation string.

2012-09-20 Thread Pavel Sanda
The branch, master, has been updated. - Log - commit 13dfbd1927ea9a4e8954a6ad0c58e0ef90c71d29 Author: Pavel Sanda Date: Thu Sep 20 13:35:53 2012 +0200 Simplify translation string. diff --git a/src/Buffer.cpp