[LyX/master] Pass some variables as reference

2019-09-17 Thread Jean-Marc Lasgouttes
commit 8778e76a9874b5c47d7c20567d625d06e02043e8 Author: Jean-Marc Lasgouttes Date: Tue Sep 17 23:22:35 2019 +0200 Pass some variables as reference Spotted by cppcheck. --- src/frontends/qt/GuiBibtex.cpp |2 +- src/frontends/qt/GuiBibtex.h |2 +- src/frontends/qt

[LyX/master] Make some constructors explicit

2019-09-17 Thread Jean-Marc Lasgouttes
commit 912704511b8c0fd443ab583c59ddfb6c34bc340d Author: Jean-Marc Lasgouttes Date: Tue Sep 17 23:06:18 2019 +0200 Make some constructors explicit Spotted by cppcheck. --- src/insets/ExternalTemplate.cpp |6 +++--- src/insets/ExternalTransforms.h | 22

[LyX/master] Fix cut-n-paste error

2019-09-15 Thread Jean-Marc Lasgouttes
commit 3fffa6eb8318939a861ac7f5d4706a5e83cbbab6 Author: Jean-Marc Lasgouttes Date: Mon Sep 16 00:46:55 2019 +0200 Fix cut-n-paste error Spotted by cppcheck. --- src/insets/InsetTabular.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/insets

[LyX/master] Many small code cleanups suggested by cppcheck

2019-09-15 Thread Jean-Marc Lasgouttes
commit 3aba81cf6afb538cb6e1dfcc846bf5a98bc17c57 Author: Jean-Marc Lasgouttes Date: Mon Sep 16 00:43:35 2019 +0200 Many small code cleanups suggested by cppcheck --- src/insets/InsetCollapsible.cpp |2 +- src/insets/InsetCollapsible.h |2 +- src/insets/InsetFloat.cpp |4

[LyX/master] Remove unused private members.

2019-09-15 Thread Jean-Marc Lasgouttes
commit 7c1891e0b4255f23539ba57933c379eece42527b Author: Jean-Marc Lasgouttes Date: Mon Sep 16 00:15:28 2019 +0200 Remove unused private members. Spotted by cppcheck. --- src/insets/InsetBranch.h |2 -- src/insets/InsetCaption.cpp |6 -- src/insets/InsetCaption.h

[LyX/master] Get rid of useless affectation

2019-09-15 Thread Jean-Marc Lasgouttes
commit a7c6940f14a7dd3ba3dd45b7cf2a44bf8282aca9 Author: Jean-Marc Lasgouttes Date: Mon Sep 16 00:03:56 2019 +0200 Get rid of useless affectation Spotted by cppcheck. --- src/support/FileName.cpp |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src

[LyX/master] Mark constructors with only one parameter as explicit

2019-09-15 Thread Jean-Marc Lasgouttes
commit c6d8592ffb55b5f12207f08fb1152fe04f701e85 Author: Jean-Marc Lasgouttes Date: Mon Sep 16 00:01:48 2019 +0200 Mark constructors with only one parameter as explicit Spotted by cppcheck --- src/support/FileName.cpp |3 ++- src/support/TempFile.cpp |2 +- src/support

[LyX/master] Clarify calculation precedence for '&' and '?'

2019-09-15 Thread Jean-Marc Lasgouttes
commit 8d080364d27590464d4073700548d9fab11c6823 Author: Jean-Marc Lasgouttes Date: Sun Sep 15 23:57:57 2019 +0200 Clarify calculation precedence for '&' and '?' Spotted by cppcheck --- src/mathed/MathParser.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

[LyX/master] Mark constructors with only one parameter as explicit

2019-09-15 Thread Jean-Marc Lasgouttes
commit decd2c74f105a11a21de08097649f9bc102a1b5c Author: Jean-Marc Lasgouttes Date: Sun Sep 15 23:56:17 2019 +0200 Mark constructors with only one parameter as explicit Spotted by cppcheck --- src/mathed/InsetMath.h|2 +- src/mathed/InsetMathBox.h

[LyX/master] Pass variable by reference

2019-09-15 Thread Jean-Marc Lasgouttes
commit b42e6e96d893672484e2f4f1f5c9885f28994ca0 Author: Jean-Marc Lasgouttes Date: Sun Sep 15 23:29:47 2019 +0200 Pass variable by reference Spotted by cppcheck --- src/mathed/InsetMathDecoration.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src

[LyX/master] Make code more obvious

2019-09-15 Thread Jean-Marc Lasgouttes
commit 19fb4db71e9dc9d9f52eb47c4e49f26ee5c3b0e1 Author: Jean-Marc Lasgouttes Date: Sun Sep 15 23:31:32 2019 +0200 Make code more obvious - use propoer parenthesis - do not store in variable something we do not use Spotted by cppcheck. --- src/mathed/MathParser.cpp

[LyX/master] Avoid useless test

2019-09-15 Thread Jean-Marc Lasgouttes
commit 02d55ab0b3f34704d8abd62418b3cfdc54c44aaf Author: Jean-Marc Lasgouttes Date: Sun Sep 15 23:30:29 2019 +0200 Avoid useless test Spotted by cppcheck --- src/mathed/InsetMathMacro.cpp |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/mathed

[LyX/master] Various fixes suggested by cppcheck

2019-09-15 Thread Jean-Marc Lasgouttes
commit 17c827d1774cb8a73d2d1973261a83b695209386 Author: Jean-Marc Lasgouttes Date: Fri Sep 13 22:36:53 2019 +0200 Various fixes suggested by cppcheck Rename local variables the hide other ones: get_binary_path, find_python_binary Use unsigned int for conversion from hex

[LyX/2.3.x] Enable dissolve in undefined Flex inset context menu

2019-09-15 Thread Jean-Marc Lasgouttes
commit 71b8019d56142397994e0ef2d4244ada51f199d5 Author: Jean-Marc Lasgouttes Date: Wed Sep 11 15:49:50 2019 +0200 Enable dissolve in undefined Flex inset context menu This is a hackish special case, so I had to add a hack... Fixes bug #8650. (cherry picked from

[LyX/master] Forgot to test aspell and hunspell support

2019-09-13 Thread Jean-Marc Lasgouttes
commit e3c5987806426cc8b0374eaa8711b598f30f574e Author: Jean-Marc Lasgouttes Date: Fri Sep 13 18:59:11 2019 +0200 Forgot to test aspell and hunspell support --- src/PersonalWordList.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/PersonalWordList.h b/src

[LyX/master] Follow some of the performance advice from cppcheck

2019-09-13 Thread Jean-Marc Lasgouttes
commit 714113655ad434f9a73d0101038568d59311af72 Author: Jean-Marc Lasgouttes Date: Fri Sep 13 16:23:49 2019 +0200 Follow some of the performance advice from cppcheck Most of that is changing string to string const &. --- src/BiblioInfo.cpp |4 ++-- src/Buffer

[LyX/2.3.x] Fix warning

2019-09-13 Thread Jean-Marc Lasgouttes
commit 8e50b9569ac45445a9422e351d09eb077b81f198 Author: Jean-Marc Lasgouttes Date: Fri Sep 13 09:52:33 2019 +0200 Fix warning --- src/LyXRC.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/LyXRC.cpp b/src/LyXRC.cpp index fb71174..e8e66e2 100644 --- a/src

[LyX/master] Enable dissolve in undefined Flex inset context menu

2019-09-11 Thread Jean-Marc Lasgouttes
commit 7c1c50d737d61aeccaa3ce277179db19ba3a7467 Author: Jean-Marc Lasgouttes Date: Wed Sep 11 15:49:50 2019 +0200 Enable dissolve in undefined Flex inset context menu This is a hackish special case, so I had to add a hack... Fixes bug #8650. --- src/insets/InsetFlex.cpp

[LyX/master] Reset layout when inserting an inset over full paragraph(s)

2019-09-11 Thread Jean-Marc Lasgouttes
commit e1be71da59e405a1c36769121b684c9d10333bff Author: Jean-Marc Lasgouttes Date: Wed Sep 4 16:13:22 2019 +0200 Reset layout when inserting an inset over full paragraph(s) 1/ When inserting an inset over a selection, it makes sense if the selection covers a complete

[LyX/2.3.x] Set buffer correctly when deleting column in math grid

2019-09-05 Thread Jean-Marc Lasgouttes
commit 794026351772f3f5c8cc91048227d9ea6031d5fa Author: Jean-Marc Lasgouttes Date: Wed Aug 28 18:21:17 2019 +0200 Set buffer correctly when deleting column in math grid This is a followup to ebe6612e. Fixes bug #11623. (cherry picked from commit

[LyX/master] Reset directory after os.chdir

2019-09-04 Thread Jean-Marc Lasgouttes
commit 726ac318959e24ddf3dc493e95850e0f06e4b7a1 Author: Jean-Marc Lasgouttes Date: Wed Sep 4 16:50:07 2019 +0200 Reset directory after os.chdir Related to bug #10454 --- development/tools/updatelayouts.py |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[LyX/master] Set buffer correctly when deleting column in math grid

2019-08-28 Thread Jean-Marc Lasgouttes
commit 5915d69eaf66cf89d5c5f24f436bc44afca24dfb Author: Jean-Marc Lasgouttes Date: Wed Aug 28 18:21:17 2019 +0200 Set buffer correctly when deleting column in math grid This is a followup to 837bcbb0. Fixes bug #11623. --- src/mathed/InsetMathGrid.cpp |2 ++ 1 files

[LyX/master] Initialize num_bib_key_

2019-08-28 Thread Jean-Marc Lasgouttes
commit c346de1bd19c8aa719588c2e3f3a2bd69cbcc75e Author: Jean-Marc Lasgouttes Date: Wed Aug 28 14:25:44 2019 +0200 Initialize num_bib_key_ Spotted by Coverity. --- src/BiblioInfo.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BiblioInfo.h b/src

[LyX/master] forgot this

2019-07-22 Thread Jean-Marc Lasgouttes
commit bcd998c1eb97dae3ab791b64b864f3e101ac70bd Author: Jean-Marc Lasgouttes Date: Mon Jul 22 15:48:28 2019 +0200 forgot this --- lib/doc/LFUNs.lyx | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/lib/doc/LFUNs.lyx b/lib/doc/LFUNs.lyx index

[LyX/master] Add mechanism to change icons in RTL mode

2019-07-22 Thread Jean-Marc Lasgouttes
commit 2898c335be6114194a15cb1aafe4a3c7c170f212 Author: Jean-Marc Lasgouttes Date: Mon Jul 22 01:20:30 2019 +0200 Add mechanism to change icons in RTL mode When the cursor in RTL text, icons for "depth-increment" or "layout-toggle Enumerate" look wr

Re: [LyX/master] UserGuide: update prefs language documentation

2019-07-22 Thread Jean-Marc Lasgouttes
Le 21/07/2019 à 14:27, Juergen Spitzmueller a écrit : commit f47e5ea24b1ee77e8d394e192b2645af901b31f5 Author: Juergen Spitzmueller Date: Sun Jul 21 14:37:41 2019 +0200 UserGuide: update prefs language documentation Nice work on the pref pane. On thing I wonder about: shouldn't the GUI

[LyX/master] Rename frontend qt4 to qt

2019-07-20 Thread Jean-Marc Lasgouttes
commit c293be56bd12c5dc46e5cedd2828e33918fccef7 Author: Jean-Marc Lasgouttes Date: Sat Jul 20 23:06:05 2019 +0200 Rename frontend qt4 to qt In particular, the directory frontends/qt4 is renamed to frontends/qt. Many configurations file have to be updated. All mentions

[LyX/master] Add a pref to disable OS keyboard language support

2019-07-20 Thread Jean-Marc Lasgouttes
commit c476c3766cf74b3c95ca91f2fb0a0fd7f5df1110 Author: Jean-Marc Lasgouttes Date: Fri Jul 19 17:23:20 2019 +0200 Add a pref to disable OS keyboard language support By default, the behavior is the same as before, except that the language of new document is not unconditionally

[LyX/master] Set language to OS input language when moving cursor

2019-07-19 Thread Jean-Marc Lasgouttes
commit 6f8298b1658106c6536a6532af27822e74d41649 Author: Jean-Marc Lasgouttes Date: Fri Jul 19 11:46:35 2019 +0200 Set language to OS input language when moving cursor Instead of setting language from context when moving the cursor, set it to the OS input language

[LyX/master] Respect OS-level keyboard language

2019-07-17 Thread Jean-Marc Lasgouttes
commit 049aed8e08ab0da498561e3382e009852cd1d83d Author: Jean-Marc Lasgouttes Date: Wed Jul 17 01:01:49 2019 +0200 Respect OS-level keyboard language This bug provides two features: 1/ when a new document is created the language is set to the current keyboard

[LyX/master] Remove layout_xxx icons

2019-07-15 Thread Jean-Marc Lasgouttes
commit 10379aba7ae06a9886f7f63e1710f0c435882081 Author: Jean-Marc Lasgouttes Date: Mon Jul 15 23:48:15 2019 +0200 Remove layout_xxx icons These have been superceded by lyx-toggle_xxx icons. Part of bug #9864. --- lib/Makefile.am | 21

[LyX/master] Improve description of smallmatrix

2019-07-15 Thread Jean-Marc Lasgouttes
commit f1c5587add94d54597ef367d0e4077deb0e9ae7e Author: Jean-Marc Lasgouttes Date: Mon Jul 15 23:31:22 2019 +0200 Improve description of smallmatrix I did not notice there was already something about it. --- lib/doc/Math.lyx | 31 +++ 1 files changed

[LyX/master] Document smallmatrix (with change tracking)

2019-07-15 Thread Jean-Marc Lasgouttes
commit 25fce652fb31c938346aab25d72705e93ab95dad Author: Jean-Marc Lasgouttes Date: Mon Jul 15 14:16:44 2019 +0200 Document smallmatrix (with change tracking) --- lib/doc/Math.lyx | 69 - 1 files changed, 62 insertions(+), 7 deletions

[LyX/master] Add support for amsmath's smallmatrix

2019-07-15 Thread Jean-Marc Lasgouttes
commit 732395ef1e7b0a4fe3567d1205af0ebd92f598e6 Author: Jean-Marc Lasgouttes Date: Mon Jul 15 13:36:28 2019 +0200 Add support for amsmath's smallmatrix This is a tight matrix in script size that is suitable for using inline. Patch from our own Martin Vermeer and myself

[LyX/master] Fixup ee0bd36a86: only clear margins when needed

2019-07-15 Thread Jean-Marc Lasgouttes
commit 009e7a61bbf5fb56b724a73028f18c4d80beed45 Author: Jean-Marc Lasgouttes Date: Mon Jul 15 13:02:05 2019 +0200 Fixup ee0bd36a86: only clear margins when needed The old code would erase text around inline math. Related to #11333. --- src/mathed/InsetMathHull.cpp | 11

[LyX/master] When pasting several cells in mathed, take cursor position in account

2019-07-14 Thread Jean-Marc Lasgouttes
commit ca5cac2b514e31be7c356e7b46e5f831399a66ee Author: Jean-Marc Lasgouttes Date: Mon Jul 15 01:17:28 2019 +0200 When pasting several cells in mathed, take cursor position in account Related to bug #11390 --- src/mathed/InsetMathGrid.cpp |3 ++- 1 files changed, 2 insertions

[LyX/master] Add empty rows to grid insets when numbers are too wide

2019-07-14 Thread Jean-Marc Lasgouttes
commit ee0bd36a867a1e9a596571c14cfc6c3a46dc492d Author: Jean-Marc Lasgouttes Date: Sun Jul 14 21:04:45 2019 +0200 Add empty rows to grid insets when numbers are too wide This is done to ensure that numbering never overlaps equations. The result can be different according

[LyX/master] Draw display math numbering outside of inset

2019-07-14 Thread Jean-Marc Lasgouttes
commit dea245d5409fb47af7efb5248f1b43e15d6563d3 Author: Jean-Marc Lasgouttes Date: Tue Apr 2 11:05:19 2019 +0200 Draw display math numbering outside of inset This is the first (easiest) step in fixing bugs 10668 and 11333. The numbering is now drawn outside of the insets

[LyX/master] Fix assertion in caret display code

2019-07-14 Thread Jean-Marc Lasgouttes
commit e6b54ea4d2e28d55565699ded45da971278b23bf Author: Jean-Marc Lasgouttes Date: Sun Jul 14 23:20:29 2019 +0200 Fix assertion in caret display code It is not a good idea to call caretPosAndHeight when the caret is in a paragraph that is not in cached metrics. This can happen

[LyX/master] Make some InsetMathGrid members private

2019-07-14 Thread Jean-Marc Lasgouttes
commit ed856c9f4d8bf83963a6d8e21cf454b355881d48 Author: Jean-Marc Lasgouttes Date: Sun Jul 14 17:18:56 2019 +0200 Make some InsetMathGrid members private Also remove the trailing underscore of XXXInfo members, since they are not private in essence. No intended

[LyX/master] Replace MathData::kerning_ member by a function

2019-07-14 Thread Jean-Marc Lasgouttes
commit 4cc4663262f2c806ed9e44d5a24ca6fd0136da76 Author: Jean-Marc Lasgouttes Date: Sun Jul 14 14:42:37 2019 +0200 Replace MathData::kerning_ member by a function This allows to make kerning depend on the BufferView? This is not useful right now, but may become useful

[LyX/master] Update some files

2019-07-13 Thread Jean-Marc Lasgouttes
commit 9234516731fac37651f5dacfc0942dc40775b96e Author: Jean-Marc Lasgouttes Date: Sat Jul 13 21:11:46 2019 +0200 Update some files --- ANNOUNCE | 24 ++-- INSTALL.autoconf | 370 +- Makefile.am |2 +- README

[LyX/master] Let automake create the tar.xz archive

2019-07-13 Thread Jean-Marc Lasgouttes
commit 8bbc660a25f981ae58b3f40a2d3c25774b259ee4 Author: Jean-Marc Lasgouttes Date: Sat Jul 13 18:58:36 2019 +0200 Let automake create the tar.xz archive We require automake 1.14 these days, and it can do it by itself. --- Makefile.am | 10 ++ configure.ac |2 +- 2

[LyX/master] Use backing store also with wayland platform

2019-07-13 Thread Jean-Marc Lasgouttes
commit 575761c665229e70d9ce9b2bd941d01a1873b9f1 Author: Jean-Marc Lasgouttes Date: Sat Jul 13 16:21:37 2019 +0200 Use backing store also with wayland platform Like with macOS, the Wayland compositor seems to require a backingstore when doing partial updates like we do

[LyX/master] Catch improbable exception

2019-07-12 Thread Jean-Marc Lasgouttes
commit 5e33e4fc2c02f92dec8918ade9d1e191d1d697b3 Author: Jean-Marc Lasgouttes Date: Sat Jul 13 00:24:21 2019 +0200 Catch improbable exception We know that the exception is correct, but coverity does not. It would be much better to check that at compile time... --- src/support

[LyX/master] Check regex_match result when parsing cvslog

2019-07-12 Thread Jean-Marc Lasgouttes
commit ca217fbfaa0de63f9ece0278251ca2239ee7fb52 Author: Jean-Marc Lasgouttes Date: Sat Jul 13 00:10:32 2019 +0200 Check regex_match result when parsing cvslog Spotted by coverity. --- src/VCBackend.cpp | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff

[LyX/master] Fixup c349472d: Remove unused private field

2019-07-09 Thread Jean-Marc Lasgouttes
commit 7ad7698692c23a9bcf24516c1004554352c9a258 Author: Jean-Marc Lasgouttes Date: Tue Jul 9 15:06:41 2019 +0200 Fixup c349472d: Remove unused private field Spotted by coverity. --- src/Language.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src

[LyX/master] Revert "backing store"

2019-07-01 Thread Jean-Marc Lasgouttes
commit 455f10eae7a1c37155c95185b01a8f5bb68ed60b Author: Jean-Marc Lasgouttes Date: Tue Jun 25 16:03:35 2019 +0200 Revert "backing store" This is not ready yet. This reverts commit 1a2b1a3bfad7ce48e2a025d3a3dab7103fd0039c. --- src/frontends/qt4/GuiWo

[LyX/master] Fixup 17571104: really avoid empty numbers in toc

2019-07-01 Thread Jean-Marc Lasgouttes
commit 5a22b2e391437b6855ed305b468bdbd61735bd0a Author: Jean-Marc Lasgouttes Date: Mon Jul 1 12:05:31 2019 +0200 Fixup 17571104: really avoid empty numbers in toc For some reason, I missed this one when trying to fix the bug. Fixes bug #11423. --- src/mathed

[LyX/master] Make build: amend 6f2cd26103d0 (allow more compilers)

2019-06-29 Thread Jean-Marc Lasgouttes
commit 1f90cd3b3f62c59c9a1f8ce3fb84ac163f52a9a2 Author: Jean-Marc Lasgouttes Date: Sat Jun 29 16:45:38 2019 +0200 Make build: amend 6f2cd26103d0 (allow more compilers) Allow gcc 4.7 and 4.8, but use boost regex Allow visual studio 2015. --- CMakeLists.txt | 17

[LyX/master] For python 3 require at least 3.5

2019-06-27 Thread Jean-Marc Lasgouttes
commit e485102ef23de8816bd95442dd65571e3c4c2052 Author: Jean-Marc Lasgouttes Date: Fri Jun 28 00:06:28 2019 +0200 For python 3 require at least 3.5 This handles configure.ac and os::python23. What remains to be done is cmake. --- configure.ac |2 +- src/support/os.cpp

[LyX/2.3.x] Let TeXFiles.py handle symbolic links.

2019-06-27 Thread Jean-Marc Lasgouttes
commit b89749ae1df489ab7de2cdc1c74a4b10f098f9f1 Author: Jean-Marc Lasgouttes Date: Tue Jun 25 15:46:14 2019 +0200 Let TeXFiles.py handle symbolic links. Nix (https://nixos.org) is a Unix package manager, which can be used to install LaTeX on macOS. A peculiarity of Nix

Re: [LyX/master] Cmake build:Amend 44bbd0b0 and 22f59925

2019-06-27 Thread Jean-Marc Lasgouttes
Le 13/06/2019 à 09:18, Kornel Benko a écrit : commit 6f2cd26103d0d59fd76184fd76af89cb8817ad4f Author: Kornel Benko Date: Thu Jun 13 09:18:40 2019 +0200 Cmake build:Amend 44bbd0b0 and 22f59925 Hi Kornel, Since we have not decided to remove support for boost::regex yet in §2.4.0dev, I

[LyX/master] Let TeXFiles.py handle symbolic links.

2019-06-25 Thread Jean-Marc Lasgouttes
commit 642b4acca1900c55662030ffc5162e9504881764 Author: Jean-Marc Lasgouttes Date: Tue Jun 25 15:46:14 2019 +0200 Let TeXFiles.py handle symbolic links. Nix (https://nixos.org) is a Unix package manager, which can be used to install LaTeX on macOS. A peculiarity of Nix

[LyX/master] Make autocorrect have priority.

2019-06-25 Thread Jean-Marc Lasgouttes
commit 4c587fb9dab64e987e5dc583630001a911f4a13c Author: Isaac Oscar Gariano Date: Sat May 25 11:17:41 2019 +1200 Make autocorrect have priority. Place autocorrect at the top of `InsetMathNest::interpretChar`, ensuring that any autocorrections that trigger on special characters

[LyX/master] backing store

2019-06-25 Thread Jean-Marc Lasgouttes
commit 1a2b1a3bfad7ce48e2a025d3a3dab7103fd0039c Author: Jean-Marc Lasgouttes Date: Mon May 20 18:36:24 2019 +0200 backing store --- src/frontends/qt4/GuiWorkArea.cpp | 61 --- src/frontends/qt4/GuiWorkArea_Private.h | 50 +- 2

[LyX/master] Update e-mail address for Isaac Oscar

2019-06-25 Thread Jean-Marc Lasgouttes
commit dd4ca3ad4c28f5a9cfd19c9c8ee4bf12532dd39f Author: Jean-Marc Lasgouttes Date: Tue Jun 25 12:21:38 2019 +0200 Update e-mail address for Isaac Oscar --- lib/CREDITS |2 +- lib/generate_contributions.py |2 +- 2 files changed, 2 insertions(+), 2 deletions

[LyX/master] Search also for Python named `python'

2019-06-25 Thread Jean-Marc Lasgouttes
commit f0810d80926773b4d697088cb10782975d7dae1b Author: Jean-Marc Lasgouttes Date: Tue Jun 25 12:04:26 2019 +0200 Search also for Python named `python' This is needed for macOS, apparently. --- config/lyxpython.m4 |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[LyX/master] Fixup 3dc54d4a: fix string encoding issues with Qt4

2019-06-20 Thread Jean-Marc Lasgouttes
commit 938463b5d6bad29dfe71490a58d6724c4cd573f7 Author: Jean-Marc Lasgouttes Date: Thu Jun 20 11:22:53 2019 +0200 Fixup 3dc54d4a: fix string encoding issues with Qt4 The culprit here is the constructor QString(QByteArray const &): in Qt4, it would interpret the byte a

[LyX/master] Fix compilation with Qt4

2019-06-20 Thread Jean-Marc Lasgouttes
commit 3a7142d9bff24bfac9f49818ca7a4c210a70605a Author: Jean-Marc Lasgouttes Date: Thu Jun 20 10:48:59 2019 +0200 Fix compilation with Qt4 --- src/frontends/qt4/GuiDocument.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/frontends/qt4/GuiDocument.cpp b

[LyX/master] Use instead of

2019-06-17 Thread Jean-Marc Lasgouttes
commit 5249eaaa60b0f0dae2f59d948758fdcae005e3a0 Author: Jean-Marc Lasgouttes Date: Mon Jun 17 16:19:31 2019 +0200 Use instead of This is mandated by C++11. --- src/Encoding.cpp |7 +++ src/frontends/qt4/GuiClipboard.h |4 ++-- src/support

[LyX/master] Do not use BOOST_CURRENT_FUNCTION

2019-06-17 Thread Jean-Marc Lasgouttes
commit fbe0caa483a6bfd791049970720e3dbe0aff8763 Author: Jean-Marc Lasgouttes Date: Mon Jun 17 15:57:03 2019 +0200 Do not use BOOST_CURRENT_FUNCTION There is no need to use that, since __func__ is standard in C++11. Anyway, this code is unused unless one defines

[LyX/master] Re-add win_api/config.h and somewhat update CMakeLists.txt

2019-06-17 Thread Jean-Marc Lasgouttes
commit 91c58d9a68ca2f4fc3114fd00cb49d6486420496 Author: Jean-Marc Lasgouttes Date: Mon Jun 17 12:17:40 2019 +0200 Re-add win_api/config.h and somewhat update CMakeLists.txt --- 3rdparty/hunspell/1.7.0/src/win_api/config.h | 205 ++ 1 files changed, 205 insertions

[LyX/master] Rename LM_ST_* to *_STYLE and FONT_SIZE_* to *_SIZE

2019-06-14 Thread Jean-Marc Lasgouttes
commit 2b1515a9368a25d4f54471ebaf0557305b7baa18 Author: Jean-Marc Lasgouttes Date: Fri Jun 14 16:42:02 2019 +0200 Rename LM_ST_* to *_STYLE and FONT_SIZE_* to *_SIZE This makes code more uniform. This is typically something that is done at end of cycle to limit backport issues

[LyX/master] Revert "Rename LM_TC_* to FONT_STYLE_*"

2019-06-14 Thread Jean-Marc Lasgouttes
commit f12e7969995c32cf34d32f577d92430e0753145e Author: Jean-Marc Lasgouttes Date: Fri Jun 14 17:05:00 2019 +0200 Revert "Rename LM_TC_* to FONT_STYLE_*" Got it wrong, revert for now. This reverts commit 67215833a174bfb1db8a259f61ed57ae67e10655. --- src/F

[LyX/master] Rename LM_TC_* to FONT_STYLE_*

2019-06-14 Thread Jean-Marc Lasgouttes
commit 67215833a174bfb1db8a259f61ed57ae67e10655 Author: Jean-Marc Lasgouttes Date: Fri Jun 14 16:42:02 2019 +0200 Rename LM_TC_* to FONT_STYLE_* This makes code more uniform. This is typically something that is done at end of cycle to limit backport issues later. --- src

Re: [LyX/master] Get full version of gcc

2019-06-12 Thread Jean-Marc Lasgouttes
Le 12 juin 2019 21:35:24 GMT+02:00, Kornel Benko a écrit : >I don't see it. Just compiled gcc9.1.0. Both calls return the full >version here. > > > $/usr/local/gcc9.1/bin/gcc -dumpversion > 9.1.0 > $/usr/local/gcc9.1/bin/gcc -dumpfullversion > 9.1.0

[LyX/master] Get full version of gcc

2019-06-12 Thread Jean-Marc Lasgouttes
commit 44bbd0b0ef8450f4d88dfb8c3345118f2fd14dfc Author: Jean-Marc Lasgouttes Date: Wed Jun 12 20:17:55 2019 +0200 Get full version of gcc Recent gcc versions return a short version with -dumpversion, e.g. 9. In this case, use -dumpfullversion, which gives something like

[LyX/master] Avoid warnings with gcc 9

2019-06-12 Thread Jean-Marc Lasgouttes
commit 134f3aedaf4150367cdc2f6855d695d3791a5353 Author: Jean-Marc Lasgouttes Date: Wed Jun 12 18:49:29 2019 +0200 Avoid warnings with gcc 9 The warning about unneeded std::move can be solved by conditioning on C++14 mode. The warnings about deprecated copy is harder

[LyX/master] Use autoupdate to convert some obsolete calls

2019-06-12 Thread Jean-Marc Lasgouttes
commit 03eadb1a6639408f28565452ea0c48c84c4b0e90 Author: Jean-Marc Lasgouttes Date: Wed Jun 12 18:10:13 2019 +0200 Use autoupdate to convert some obsolete calls AC_TRY_COMPILE and AC_TRY_LINK have been obsolete for some time. Now most autoconf warnings are gone

[LyX/master] Fix some warnings found by the -Wall options of autoconf and automake.

2019-06-12 Thread Jean-Marc Lasgouttes
commit 5173f2202471b946b28be55a423cc7ea586e8249 Author: Jean-Marc Lasgouttes Date: Wed Jun 12 17:58:24 2019 +0200 Fix some warnings found by the -Wall options of autoconf and automake. There are still warnings to address. For now, they not enabled by default. --- config

[LyX/master] Remove old compatibility code from 2002

2019-06-12 Thread Jean-Marc Lasgouttes
commit e1f2dc6a418ad28a430e2fd8392c0a965480bdaa Author: Jean-Marc Lasgouttes Date: Wed Jun 12 16:46:19 2019 +0200 Remove old compatibility code from 2002 At the time, there were two competing packages for French language: frenchle (aka french.sty), the historical one

[LyX/master] Update the in-source hunspell to version 1.7.0

2019-06-12 Thread Jean-Marc Lasgouttes
commit c3484fa6c81e14bc2a4df92c4cf0bb043ac4b99a Author: Jean-Marc Lasgouttes Date: Wed Jun 12 16:38:42 2019 +0200 Update the in-source hunspell to version 1.7.0 3rdparty/hunspell/1.6.2/AUTHORS|5 - 3rdparty/hunspell/1.6.2/BUGS |5

[LyX/master] Small changes to README

2019-06-12 Thread Jean-Marc Lasgouttes
commit cb99bbd6d36400a9d2ed4c345ebfee21117d8bc7 Author: Jean-Marc Lasgouttes Date: Wed Jun 12 15:21:10 2019 +0200 Small changes to README --- README | 19 ++- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README b/README index 2429045..141bfa9 100644

[LyX/master] Cleanup INSTALL

2019-06-12 Thread Jean-Marc Lasgouttes
commit 3abbc3a2776c88f7f60a6462f8ed494bf9e6024c Author: Jean-Marc Lasgouttes Date: Wed Jun 12 15:14:11 2019 +0200 Cleanup INSTALL Remove references to Solaris 10 problems. --- INSTALL | 68 ++ 1 files changed, 7

[LyX/master] Remove support for gcc 4.6

2019-06-12 Thread Jean-Marc Lasgouttes
commit 22f599250e926555bdef0d50ee2198b3eb2da02a Author: Jean-Marc Lasgouttes Date: Wed Jun 12 15:03:18 2019 +0200 Remove support for gcc 4.6 This was kept so long because of Ubuntu 12.04 LTS, but having a not-really-c++11 compiler is not nice. --- INSTALL

[LyX/master] Document the new autocorrect behavior

2019-06-12 Thread Jean-Marc Lasgouttes
commit 9bf3e7b045f38a8b45d69007e37fd812446cc217 Author: Jean-Marc Lasgouttes Date: Wed Jun 12 13:53:47 2019 +0200 Document the new autocorrect behavior --- lib/doc/UserGuide.lyx | 58 ++-- 1 files changed, 55 insertions(+), 3 deletions

[LyX/master] Revert "Remove unneeded std::move"

2019-06-07 Thread Jean-Marc Lasgouttes
commit 41c0fc171a81bb371515296d735bb85b03962d0f Author: Jean-Marc Lasgouttes Date: Fri Jun 7 19:41:16 2019 +0200 Revert "Remove unneeded std::move" This confuses gcc 4.9 This reverts commit 44e88a4c1324fed447ab5510734c741d18f856c0. --- src/MetricsInfo.cpp |

[LyX/master] Remove unneeded std::move

2019-06-06 Thread Jean-Marc Lasgouttes
commit 44e88a4c1324fed447ab5510734c741d18f856c0 Author: Jean-Marc Lasgouttes Date: Thu Jun 6 15:23:42 2019 +0200 Remove unneeded std::move Signalled by gcc 9. --- src/MetricsInfo.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/MetricsInfo.cpp b

[LyX/master] Clean up Language.cpp

2019-06-05 Thread Jean-Marc Lasgouttes
commit b8b5ed8b315590a220342119efc01e5d02edfb0c Author: Jean-Marc Lasgouttes Date: Wed Jun 5 16:28:37 2019 +0200 Clean up Language.cpp Use range-base for loops everywhere. Rename languagelist to languagelist_, since it is private. --- src/Language.cpp | 45

[LyX/master] Make Word Wrap property confiurable by language

2019-06-05 Thread Jean-Marc Lasgouttes
commit bf88ad495cead6e97a05fee59e41414648145fc1 Author: Jean-Marc Lasgouttes Date: Wed Jun 5 15:45:10 2019 +0200 Make Word Wrap property confiurable by language It is now possible to specify in the lib/language file whether screen rows can be broken anywhere (CJK languages

[LyX/master] Make caret visible inside math macros arguments

2019-06-03 Thread Jean-Marc Lasgouttes
commit d02244c8fbce89ee928af769a686b2b1036c0a36 Author: Jean-Marc Lasgouttes Date: Mon Jun 3 16:22:44 2019 +0200 Make caret visible inside math macros arguments The first step is to move the MathRow cache to BufferView, alongside coordCache. This was on the todo list anyway

[LyX/master] Removed shortcuts to toggle autocorrect.

2019-06-03 Thread Jean-Marc Lasgouttes
commit 3519be2292f44cfbc450f83fa84616b72f8871f2 Author: Isaac Date: Sat May 25 11:07:26 2019 +1200 Removed shortcuts to toggle autocorrect. They are not really needed now that autocorrection can be undone. This increases autocorrect usability. --- src/Cursor.cpp

[LyX/master] Add Isaac Oscar to credits

2019-06-03 Thread Jean-Marc Lasgouttes
commit af0c6abd21df69a7987420e9b4725f117dbb093c Author: Jean-Marc Lasgouttes Date: Sun Jun 2 21:29:20 2019 +0200 Add Isaac Oscar to credits --- lib/CREDITS |7 +-- lib/generate_contributions.py |8 2 files changed, 13 insertions(+), 2 deletions

[LyX/master] Make math autocorrrect work with more than 2 chars

2019-06-02 Thread Jean-Marc Lasgouttes
commit bed546d6f6aab7c32ef51d61edd120e18089da53 Author: Isaac Date: Tue Apr 9 13:48:46 2019 +1200 Make math autocorrrect work with more than 2 chars Currently, math autocorrect allows to transform a couple of characters to a new one. This patch allows to transform a couple

[LyX/master] Allow to undo partly math autocorrect

2019-06-02 Thread Jean-Marc Lasgouttes
commit 64396717dba247e4197cb19bff0428b2806afb6e Author: Jean-Marc Lasgouttes Date: Mon Apr 15 11:12:25 2019 +0200 Allow to undo partly math autocorrect To this end, introduce Undo::splitUndoGroup, which ends currently group and creates a new one with same nesting level

[LyX/2.3.x] Cell in delimiter inset should not be tight

2019-05-25 Thread Jean-Marc Lasgouttes
commit bc54a55491a0b6eab5179235496773410657782f Author: Jean-Marc Lasgouttes Date: Fri May 24 11:10:17 2019 +0200 Cell in delimiter inset should not be tight Fixes bug #11337. (cherry picked from commit 4da19ef8330fc90e712308d63aa7ddc0abfaef7b) --- src/mathed

[LyX/master] Cell in delimiter inset should not be tight

2019-05-25 Thread Jean-Marc Lasgouttes
commit 4da19ef8330fc90e712308d63aa7ddc0abfaef7b Author: Jean-Marc Lasgouttes Date: Fri May 24 11:10:17 2019 +0200 Cell in delimiter inset should not be tight Fixes bug #11337. --- src/mathed/InsetMathDelim.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[LyX/2.3.x] Always paint text decoration when painting inset.

2019-05-24 Thread Jean-Marc Lasgouttes
commit 49255788ea155a8b7a0dab8e8e69ce1219c11084 Author: Jean-Marc Lasgouttes Date: Thu May 23 11:30:35 2019 +0200 Always paint text decoration when painting inset. Fixes bug #11402. (cherry picked from commit 621c908f85650cc086b1d155062885eba016d1fa) --- src

[LyX/2.3.x] Reset change bar information when breaking row

2019-05-24 Thread Jean-Marc Lasgouttes
commit bbe7b84f3bea024f3b7eeb859a1f9c5d27ebd7c3 Author: Jean-Marc Lasgouttes Date: Thu May 23 10:59:49 2019 +0200 Reset change bar information when breaking row This is a much less invasive version of da2696cc+da2696cc, which reduces the risk to a minimum. There may be other

[LyX/master] Always paint text decoration when painting inset.

2019-05-23 Thread Jean-Marc Lasgouttes
commit 621c908f85650cc086b1d155062885eba016d1fa Author: Jean-Marc Lasgouttes Date: Thu May 23 11:30:35 2019 +0200 Always paint text decoration when painting inset. Fixes bug #11402. --- src/RowPainter.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[LyX/master] Fixup da2696cc: do not clear useful information from row

2019-05-23 Thread Jean-Marc Lasgouttes
commit 7cc4ceb89c184e51c4dc575b7a5c2928469b3f14 Author: Jean-Marc Lasgouttes Date: Thu May 23 10:26:08 2019 +0200 Fixup da2696cc: do not clear useful information from row Ensure before calling breakRow that the row is empty. Remove Row::clear(), which has unnatural

[LyX/master] Initialize row preperly on clear()

2019-05-22 Thread Jean-Marc Lasgouttes
commit da2696cc63045749c9273d4a57cb2058e264549c Author: Jean-Marc Lasgouttes Date: Wed May 22 11:53:58 2019 +0200 Initialize row preperly on clear() It is not enough to get rid of the row elements, obviously. In particular, changebar_ may never get reset. Fixes bug

[LyX/master] Add bg.gmo to repo

2019-05-20 Thread Jean-Marc Lasgouttes
commit ee302964020be17eea96e5aabc8092848f612737 Author: Jean-Marc Lasgouttes Date: Mon May 20 12:28:36 2019 +0200 Add bg.gmo to repo --- po/bg.gmo | Bin 0 -> 344137 bytes 1 files changed, 0 insertions(+), 0 deletions(-) diff --git a/po/bg.gmo b/po/bg.gmo new file mode 100644 in

[LyX/master] Remove files that do not exist anymore

2019-05-20 Thread Jean-Marc Lasgouttes
commit c8407274c1c9a0c9531800ee54c289d50eeb2603 Author: Jean-Marc Lasgouttes Date: Mon May 20 12:16:57 2019 +0200 Remove files that do not exist anymore --- autotests/Makefile.am |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/autotests/Makefile.am b/autotests

[LyX/master] Search for python3 first, then python2 in autoconf

2019-05-16 Thread Jean-Marc Lasgouttes
commit d933d72fa9e30d5b2a92b6117f74bcd23b696a32 Author: Jean-Marc Lasgouttes Date: Thu May 16 18:32:14 2019 +0200 Search for python3 first, then python2 in autoconf Python 3.x shall have priority over python 2.x. In 2.5.0dev, support for python2 will be removed. Now

[LyX/2.3.x] Some Asian langagues allow to wrap text at any position

2019-05-15 Thread Jean-Marc Lasgouttes
commit 7686af1ba87f006198ed09c067e313d160565c08 Author: Jean-Marc Lasgouttes Date: Tue May 14 22:44:29 2019 +0200 Some Asian langagues allow to wrap text at any position This is hardcoded for now for simplicity and to allow backporting to 2.3. The behavior

[LyX/master] Some Asian langagues allow to wrap text at any position

2019-05-15 Thread Jean-Marc Lasgouttes
commit 26c2811cc474f7e3be953f73bf6e9d79f14022cd Author: Jean-Marc Lasgouttes Date: Tue May 14 22:44:29 2019 +0200 Some Asian langagues allow to wrap text at any position This is hardcoded for now for simplicity and to allow backporting to 2.3. The behavior

[LyX/master] Revert "Try to compute row height like it should be done"

2019-05-13 Thread Jean-Marc Lasgouttes
commit 6df593049c744c48dce7e169fd128a0d859c0253 Author: Jean-Marc Lasgouttes Date: Mon May 13 10:47:47 2019 +0200 Revert "Try to compute row height like it should be done" This is not done right at all. The best is to revert for now and think about how to do i

[LyX/2.3.x] Newly created inline math is not numbered

2019-05-13 Thread Jean-Marc Lasgouttes
commit 23505a8a9189739464cd210e2c697968a60d3643 Author: Jean-Marc Lasgouttes Date: Sat May 11 23:18:10 2019 +0200 Newly created inline math is not numbered The bad initialisation created phantom entries in equation ToC Fixes bug #11423. (cherry picked from commit

<    5   6   7   8   9   10   11   12   13   14   >