[LyX/master] Make sure that UpdateLocker is used correctly in the future

2014-11-17 Thread Jean-Marc Lasgouttes
commit 689e54f34a4d735e6081b1b1ac8487bf028f3982 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Mon Nov 17 11:52:14 2014 +0100 Make sure that UpdateLocker is used correctly in the future diff --git a/src/mathed/MathMacro.cpp b/src/mathed/MathMacro.cpp index 941e29a..38d07e6 100644

Re: [LyX/master] Make sure that UpdateLocker is used correctly in the future

2014-11-17 Thread Jean-Marc Lasgouttes
Le 17/11/2014 15:18, Richard Heck a écrit : On 11/17/2014 05:52 AM, Jean-Marc Lasgouttes wrote: commit 689e54f34a4d735e6081b1b1ac8487bf028f3982 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Mon Nov 17 11:52:14 2014 +0100 Make sure that UpdateLocker is used correctly

[LyX/master] Let the Foot inset have a different Layout when inside a title

2014-11-21 Thread Jean-Marc Lasgouttes
commit 9b530e59c2b74828f3a68f3bb7ee3dee0365cdc0 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Fri Nov 14 14:53:11 2014 +0100 Let the Foot inset have a different Layout when inside a title This allows to address two main issues * \thanks does only accept one paragraph

[LyX/master] Autotools: read git commit hash at compile time

2014-11-24 Thread Jean-Marc Lasgouttes
commit 0b09424017866d0f1d9dfff8cb54cedaf17b99aa Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Mon Nov 24 18:39:18 2014 +0100 Autotools: read git commit hash at compile time Also do as cmake to avoid full recompilation when the hash changes. diff --git a/config

[LyX/master] Fix bug in 81badf: char_type and double do not have the same size

2014-11-24 Thread Jean-Marc Lasgouttes
commit af1ca8405fa5d695a14fe7c4ffa0b2ddc16fbebc Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Mon Nov 24 22:51:12 2014 +0100 Fix bug in 81badf: char_type and double do not have the same size diff --git a/src/ParagraphMetrics.cpp b/src/ParagraphMetrics.cpp index a911d14..0e37c5f

[LyX/master] Add new variables lyx_build_date/time

2014-11-25 Thread Jean-Marc Lasgouttes
commit 8d6d21c6d9038700418cd8c776a0d29e31847bf6 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Nov 25 18:41:33 2014 +0100 Add new variables lyx_build_date/time These are now in version.cpp. The build machinery should therefore make sure that version.cpp is recompiled

[LyX/master] Fix reverting of chunks insets to 2.0 format

2014-11-27 Thread Jean-Marc Lasgouttes
commit 6442b3a0c047c36d96927c0e9f5e2037d2d2cee7 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Thu Nov 27 16:30:00 2014 +0100 Fix reverting of chunks insets to 2.0 format When the chunk inset did not have an optional argument, the prefix of the chunk was omitted

[LyX/master] Fix warnings reported by clang

2014-11-27 Thread Jean-Marc Lasgouttes
commit 38f885867178406083ded5b9c7f0a6ddf1b656ec Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Thu Nov 27 18:51:26 2014 +0100 Fix warnings reported by clang All these problems have the same root: the address of a reference can never be 0, and it does not make sense to test

[LyX/2.1.x] Fix a couple of compiler warnings

2014-12-08 Thread Jean-Marc Lasgouttes
commit 565cb2a3f0c5993fc086e846ee05ee245a4e36d7 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Wed Dec 3 18:47:42 2014 +0100 Fix a couple of compiler warnings diff --git a/configure.ac b/configure.ac index 9423545..fb6251b 100644 --- a/configure.ac +++ b/configure.ac @@ -275,6

[LyX/master] \\subfloat captions are moving arguments

2014-12-08 Thread Jean-Marc Lasgouttes
commit 0bdfca2c6edbcfc87c648fdfd3de46f2662561fa Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Thu Dec 4 17:27:56 2014 +0100 \\subfloat captions are moving arguments Therefore insets should be protected in these captions. Fixes bug: #9346. diff --git a/src/insets

[LyX/2.1.x] Let the Foot inset have a different Layout when inside a title

2014-12-08 Thread Jean-Marc Lasgouttes
commit 53436891f79150cdb053b52dfd38540b9652c9cc Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Fri Nov 14 14:53:11 2014 +0100 Let the Foot inset have a different Layout when inside a title This allows to address two main issues * \thanks does only accept one paragraph

[LyX/2.1.x] Missing status entry for commit 53436891f7

2014-12-08 Thread Jean-Marc Lasgouttes
commit 849f1ddf583bd760113cec621f8e916cdb322eca Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Mon Dec 8 14:57:43 2014 +0100 Missing status entry for commit 53436891f7 diff --git a/status.21x b/status.21x index 276bb68..c49f984 100644 --- a/status.21x +++ b/status.21x @@ -64,6 +64,7

[LyX/2.1.x] \\subfloat captions are moving arguments

2014-12-08 Thread Jean-Marc Lasgouttes
commit 1ae74b2dd7cfa37cd8ef1df9568d64a043979bc6 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Thu Dec 4 17:27:56 2014 +0100 \\subfloat captions are moving arguments Therefore insets should be protected in these captions. Fixes bug: #9346. diff --git a/src/insets

[LyX/master] Detect whether the C++ compiler is clang

2014-12-17 Thread Jean-Marc Lasgouttes
commit dd2be1777f107276cbbfa4be5f15b5164af739af Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Wed Dec 17 12:11:10 2014 +0100 Detect whether the C++ compiler is clang This does not have a real effect for now. diff --git a/config/lyxinclude.m4 b/config/lyxinclude.m4 index

[LyX/master] Check for string COW by checking for library, not compiler

2014-12-19 Thread Jean-Marc Lasgouttes
commit 385f3e8abdf9840ba89b502c1c83345e4ca40344 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Wed Dec 17 12:28:25 2014 +0100 Check for string COW by checking for library, not compiler Note in particular that clang++ uses libstdc++ (GNU) by default, and not libc

[LyX/master] Fix the last clang warnings about overloaded virtual methods

2014-12-22 Thread Jean-Marc Lasgouttes
commit 8bab23384aa97d5483f3420e024f2484acd8a8e2 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Fri Dec 19 11:35:37 2014 +0100 Fix the last clang warnings about overloaded virtual methods This patch fixes a series of warnings like: {{{ In file included from

[LyX/master] Reduce use of double variables in Row

2014-12-22 Thread Jean-Marc Lasgouttes
commit e32a3e7f57fa0823a16caad64b4273c4a3c30cce Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Mon Dec 22 10:36:53 2014 +0100 Reduce use of double variables in Row All the code that is run before row metrics have been computed should use int arithmetic. After metrics have

[LyX/master] Implement new recordUndoBufferParams method.

2015-01-22 Thread Jean-Marc Lasgouttes
commit 7021f4c3421afc74ca0c52c038743dad4a222aa9 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Sat Jan 17 20:38:22 2015 +0100 Implement new recordUndoBufferParams method. Rename recordUndoFullDocument to recordUndoFullBuffer. Separate the notion of recording changes

[LyX/master] Main argument of a subfloat is not a moving argument

2015-02-20 Thread Jean-Marc Lasgouttes
commit eb4f963eefc21b0b0287b2ed6ed62d7ddfff329e Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Fri Feb 20 11:51:40 2015 +0100 Main argument of a subfloat is not a moving argument Fixes bug: #9421 diff --git a/src/insets/InsetFloat.cpp b/src/insets/InsetFloat.cpp index

[LyX/master] Fix memory leak in TImer class.

2015-02-20 Thread Jean-Marc Lasgouttes
commit 3db4b23b3fdc563b3bc8eaea2ae7ced0977e9357 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Fri Feb 20 15:39:45 2015 +0100 Fix memory leak in TImer class. This is not really important since the class is currently not used. This is coverity issue 23291. diff

[LyX/master] Do not create a new socket if the max. number of clients is attained

2015-02-20 Thread Jean-Marc Lasgouttes
commit 4a439d6ac0c8bf3a7de6f0172e14ae964a12733b Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Fri Feb 20 15:46:34 2015 +0100 Do not create a new socket if the max. number of clients is attained Fixes coverity issue 23431. diff --git a/src/ServerSocket.cpp b/src

[LyX/master] Fix uninitialized variable

2015-02-20 Thread Jean-Marc Lasgouttes
commit 01691cde49aac9579a1931d2de48e582c93a2363 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Fri Feb 20 15:53:19 2015 +0100 Fix uninitialized variable Fixes coverity issue 23446. diff --git a/src/Buffer.cpp b/src/Buffer.cpp index bb85fb5..3911edb 100644 --- a/src

[LyX/master] whitespace

2015-02-20 Thread Jean-Marc Lasgouttes
commit edddb47bae9a29f678e083807fc12e03135f5065 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Fri Feb 20 15:57:45 2015 +0100 whitespace diff --git a/src/Counters.cpp b/src/Counters.cpp index 1c8bdf6..79fe76f 100644 --- a/src/Counters.cpp +++ b/src/Counters.cpp @@ -39,7 +39,7

[LyX/master] Don't try to show 1000 as a roman number

2015-02-20 Thread Jean-Marc Lasgouttes
commit 053d02d176412fd39c2e95db31e86df2d9c3b365 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Fri Feb 20 15:59:19 2015 +0100 Don't try to show 1000 as a roman number Fixes coverity issue 23360. diff --git a/src/Counters.cpp b/src/Counters.cpp index 79fe76f..56ab1b5 100644

[LyX/2.1.x] Reimplement inset-select-all in a generic way

2015-01-06 Thread Jean-Marc Lasgouttes
commit 1997e8b817c0a65aa82f97ef7cc887c7bb11caa1 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Sun Oct 19 20:43:17 2014 +0200 Reimplement inset-select-all in a generic way There are 3 possible actions (in order) * select current cell * select all calls of inset

[LyX/master] Fix some display glitches

2015-01-10 Thread Jean-Marc Lasgouttes
commit c6e1db7682dc8d58a68147b5eee1d004829ef6d2 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Sun Jul 27 17:30:57 2014 +0200 Fix some display glitches * When doing a redraw with drawing disabled (to set inset positions properly), take horizontal scroll offset in account

[LyX/master] Fixes to InsetCaption \protect-ion

2015-01-10 Thread Jean-Marc Lasgouttes
commit 1e18ab586e0cd4abd171b63c55e6b91c0f0d424a Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Dec 23 11:58:04 2014 +0100 Fixes to InsetCaption \protect-ion * \caption does not need to be protected in general * the contents of \caption arguments need to be protected

[LyX/master] Keyboard based horizontal scrolling for wide insets

2015-01-10 Thread Jean-Marc Lasgouttes
commit 5a361b35cf0c2a2f1ca9535b0748045063f20555 Author: Hashini Senaratne hashz1...@gmail.com Date: Sat Jul 26 13:17:28 2014 +0200 Keyboard based horizontal scrolling for wide insets [This commit is the output of the horizontal scrolling GSoC 2013 project, by Hashini

[LyX/master] Whitespace only

2015-01-10 Thread Jean-Marc Lasgouttes
commit 8fb1aa51f8d14747bd21d9e113a8dd301a2f07dc Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Fri Jul 25 22:35:08 2014 +0200 Whitespace only diff --git a/src/BufferView.cpp b/src/BufferView.cpp index bc8162b..faa08f0 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp

[LyX/master] Fine tune the scroll offset setting code

2015-01-10 Thread Jean-Marc Lasgouttes
commit a7ba04dbaf77af889006201172dc22f02e7b2307 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Sat Jul 26 16:25:56 2014 +0200 Fine tune the scroll offset setting code The new code should feel a bit more natural. It avoids explicit pixel values for the margins and does

[LyX/master] Merge remote-tracking branch 'features/scroll-reloaded'

2015-01-10 Thread Jean-Marc Lasgouttes
commit 9c55af4a223ce4db29d643251109e245665344bd Merge: ca6fba3 5223650 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Sat Jan 10 18:00:13 2015 +0100 Merge remote-tracking branch 'features/scroll-reloaded' This implement horizontal scrolling of rows to allow editing insets

[LyX/master] Add marks to indicate when a row is too large

2015-01-10 Thread Jean-Marc Lasgouttes
commit 52236503d3f680a2df00a6e6539b530703066d32 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Sun Jul 27 18:55:10 2014 +0200 Add marks to indicate when a row is too large A dotted line is shown on the left or on the right to indicate that a part of the row is not visible

[LyX/master] Fix two warnings about conversion from double to int.

2015-01-11 Thread Jean-Marc Lasgouttes
commit 6e519e7727f2d7f32a6f501fb4546bfab4c7f3b1 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Sun Jan 11 17:13:36 2015 +0100 Fix two warnings about conversion from double to int. diff --git a/src/RowPainter.cpp b/src/RowPainter.cpp index 83ff825..4c9118d 100644 --- a/src

[LyX features/scroll-reloaded] Add a color code for the scroll indicator

2015-01-06 Thread Jean-Marc Lasgouttes
The branch, scroll-reloaded, has been updated. - Log - commit 6dbb3b8a4a71b505a5e74d36bbf6d6f852b5ed65 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Jan 6 19:51:45 2015 +0100 Add a color code for the scroll

Re: [LyX/master] Fix autotools config for gcc 4.9

2015-01-06 Thread Jean-Marc Lasgouttes
Le 06/01/2015 19:49, Georg Baum a écrit : commit be22665ceb480c79a314cf613e020d430e7b0913 Author: Georg Baum b...@lyx.org Date: Tue Jan 6 19:48:27 2015 +0100 Fix autotools config for gcc 4.9 Since LYX_USE_STD_REGEX is used in Makefile.am, it must always be defined, not only

Re: [LyX/master] Fix autotools config for gcc 4.9

2015-01-06 Thread Jean-Marc Lasgouttes
Le 06/01/2015 19:49, Georg Baum a écrit : commit be22665ceb480c79a314cf613e020d430e7b0913 Author: Georg Baum b...@lyx.org Date: Tue Jan 6 19:48:27 2015 +0100 Fix autotools config for gcc 4.9 Since LYX_USE_STD_REGEX is used in Makefile.am, it must always be defined, not only

[LyX/master] Fixup commit ff42fe

2015-01-13 Thread Jean-Marc Lasgouttes
commit 3fca2b557bf619d03dec1fb0b356004c54e2350f Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Jan 13 12:38:55 2015 +0100 Fixup commit ff42fe It looks like bash pattern matching does not work as I think it does. Play safe for now. diff --git a/config/lyxinclude.m4 b

[LyX/master] Cleanup autoconf compiler support

2015-01-13 Thread Jean-Marc Lasgouttes
commit ff42fea8ab70dc048bb28dc51120ae30309a3e81 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Jan 13 11:48:07 2015 +0100 Cleanup autoconf compiler support Get rid of some old useless compiler checking code Do not touch CXXFLAGS and friends, only the AM_

[LyX/master] Squash warnings reported by gcc 4.9

2015-01-14 Thread Jean-Marc Lasgouttes
commit 3830ce46db8b32003728b792e8b7c8e6c6d55561 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Wed Jan 14 11:49:05 2015 +0100 Squash warnings reported by gcc 4.9 Most of these are just about conversion from double to int. Of note also the replacement of an horrible

[LyX/2.1.x] Fixes to InsetCaption \protect-ion

2015-02-10 Thread Jean-Marc Lasgouttes
commit 53ed6d3d46d1c477719e3898d7a39c9418f7d284 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Dec 23 11:58:04 2014 +0100 Fixes to InsetCaption \protect-ion * \caption does not need to be protected in general * the contents of \caption arguments need to be protected

[LyX/master] Do not modify the changed() status of rows when no drawing has taken place

2015-02-09 Thread Jean-Marc Lasgouttes
commit 51cc1a1cbed395ab79ffa98765231efac4112c56 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Fri Jan 30 11:18:04 2015 +0100 Do not modify the changed() status of rows when no drawing has taken place There are several places in the code where a row is painted with drawing

[LyX/master] Fix some warnings

2015-01-07 Thread Jean-Marc Lasgouttes
commit 0ad9d460681ad282bc8c40092f227f1c34a1229f Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Wed Jan 7 21:27:53 2015 +0100 Fix some warnings diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp index 874cb17..d3523ae 100644 --- a/src/TextMetrics.cpp +++ b/src/TextMetrics.cpp

[LyX features/scroll-reloaded] Add marks to indicate when a row is too large

2015-01-07 Thread Jean-Marc Lasgouttes
: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Sun Jul 27 18:55:10 2014 +0200 Add marks to indicate when a row is too large A dotted line is shown on the left or on the right to indicate that a part of the row is not visible. Add a color code for the scroll indicator diff

[LyX/master] Cleanup support for std::regex with autotools

2015-01-06 Thread Jean-Marc Lasgouttes
commit 41405babc526fa70ccc6ebbff30b03881762f6cb Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Jan 6 13:53:18 2015 +0100 Cleanup support for std::regex with autotools Do not link against system boost regex lib or build included boost regex when not needed. diff --git

[LyX/master] Use integer arithmetic for drawing logos; fix LaTeX output

2015-03-18 Thread Jean-Marc Lasgouttes
commit 6010f38e01b71b09c2a093f3cd971628dc414a4a Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Wed Mar 18 11:32:49 2015 +0100 Use integer arithmetic for drawing logos; fix LaTeX output Using fraction of points is a reasonable way to avoid warnings with fussy compilers

[LyX/master] Toggle properly toolbar icons that set layout of a paragraph.

2015-03-17 Thread Jean-Marc Lasgouttes
commit ba0b8470401339567352532e850e2a6d484a6c6e Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Mar 17 16:40:55 2015 +0100 Toggle properly toolbar icons that set layout of a paragraph. Fixes bug #9463. diff --git a/src/Text3.cpp b/src/Text3.cpp index 9d6815e..aeddf4b

[LyX/master] Add proper importers for Sweave and knitr.

2015-03-16 Thread Jean-Marc Lasgouttes
commit 477fddebe5fc6f98873095445c208d7f1daf37ce Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Mon Mar 16 18:43:51 2015 +0100 Add proper importers for Sweave and knitr. Fixes bug #8734. diff --git a/lib/configure.py b/lib/configure.py index 6374b60..df19e80 100644 --- a/lib

[LyX/master] Improve undo of consecutive insertions/deletions

2015-03-16 Thread Jean-Marc Lasgouttes
commit ed3d9544a331a7c28730089e7b059eea592584c4 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Thu Mar 12 14:47:39 2015 +0100 Improve undo of consecutive insertions/deletions The old scheme was: * multiple insertions are undone by groups of 20 * multiple deletions

[LyX/2.1.x] add Keywords to lyx.desktop file

2015-03-17 Thread Jean-Marc Lasgouttes
commit f3c2bfd495c3f624fe3ba556b04650965595edd5 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Mar 17 10:17:35 2015 +0100 add Keywords to lyx.desktop file Fixes bug #9414. diff --git a/lib/lyx.desktop.in b/lib/lyx.desktop.in index bc6930a..68a5ccb 100644 --- a/lib

[LyX/master] add Keywords to lyx.desktop file

2015-03-17 Thread Jean-Marc Lasgouttes
commit 5b80d57d1d86eb48634c6a1f7184692b91513285 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Mar 17 10:17:35 2015 +0100 add Keywords to lyx.desktop file Fixes bug #9414. diff --git a/lib/lyx.desktop.in b/lib/lyx.desktop.in index bc6930a..68a5ccb 100644 --- a/lib

[LyX/master] Fix setting Interlingua as GUI language

2015-03-17 Thread Jean-Marc Lasgouttes
commit 8aa2d6b18415659e147bfb4039e371a3277226d5 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Mar 17 11:34:28 2015 +0100 Fix setting Interlingua as GUI language The problem came from the fact that Qt associates Interlingua to locale C. Now, we do not rely anymore

[LyX/2.1.x] Toggle properly toolbar icons that set layout of a paragraph.

2015-03-19 Thread Jean-Marc Lasgouttes
commit 713d83bf3404a258969a6e52698ec54a72df783b Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Mar 17 16:40:55 2015 +0100 Toggle properly toolbar icons that set layout of a paragraph. Fixes bug #9463. diff --git a/src/Text3.cpp b/src/Text3.cpp index 508a604..ae4559b

[LyX/2.1.x] Add proper importers for Sweave and knitr.

2015-03-16 Thread Jean-Marc Lasgouttes
commit a50c0f7d138e010065e45141afb26378f1e56c92 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Mon Mar 16 18:43:51 2015 +0100 Add proper importers for Sweave and knitr. Fixes bug #8734. diff --git a/lib/configure.py b/lib/configure.py index b81ed6e..4493c15 100644 --- a/lib

[LyX/2.1.x] Main argument of a subfloat is not a moving argument

2015-03-09 Thread Jean-Marc Lasgouttes
commit f620de80369f50d417cd8b525d94a1a21627a51e Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Fri Feb 20 11:51:40 2015 +0100 Main argument of a subfloat is not a moving argument Fixes bug: #9421 diff --git a/src/insets/InsetFloat.cpp b/src/insets/InsetFloat.cpp index

[LyX/master] Avoid crash with after a params undo.

2015-03-11 Thread Jean-Marc Lasgouttes
commit 58b3971eeb417d9209ad888b7347c54eb40e90c9 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Wed Mar 11 16:55:51 2015 +0100 Avoid crash with after a params undo. When doing a non-atomic undo, one should not try to merge with a previous params undo. This fixes bug

[LyX/master] Fix generation of lyx_commit_hash.h

2015-03-12 Thread Jean-Marc Lasgouttes
commit e86cc0135ab6c67938cf097514891ccf33c74e17 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Mar 10 19:11:48 2015 +0100 Fix generation of lyx_commit_hash.h Now version.o is not recompiled on already built tree. diff --git a/src/Makefile.am b/src/Makefile.am index

[LyX/master] Check that DocIterator::sanitize only adds editable insets

2015-03-10 Thread Jean-Marc Lasgouttes
commit 17e435c47e36effd36d25cec900369e04f6acb4e Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Mon Mar 9 11:14:26 2015 +0100 Check that DocIterator::sanitize only adds editable insets This fixes the crash on ticket #9432, but the bug there has other causes. diff --git a/src

[LyX/2.1.x] Do not sanitize the anchor of cursor when selection is not set

2015-03-10 Thread Jean-Marc Lasgouttes
commit 3c0f46fb336fbfa3e8d76f00b05f5bd6daff4c72 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Mar 10 15:53:25 2015 +0100 Do not sanitize the anchor of cursor when selection is not set Additionally, move the code to write to a stream from Cursor to CursorData (so

[LyX/master] Take in account the parent's getStatus in macro templates

2015-03-10 Thread Jean-Marc Lasgouttes
commit c85ad29f11391783eb871be68389f851cce61ac4 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Mar 10 16:05:22 2015 +0100 Take in account the parent's getStatus in macro templates This avoids invoking the insert space dialog instead of the math version. Thereafter

[LyX/master] Do not sanitize the anchor of cursor when selection is not set

2015-03-10 Thread Jean-Marc Lasgouttes
commit 97c6e6d1bae4e823a3e251ea3faea37ce39df056 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Mar 10 15:53:25 2015 +0100 Do not sanitize the anchor of cursor when selection is not set Additionally, move the code to write to a stream from Cursor to CursorData (so

[LyX/2.1.x] Take in account the parent's getStatus in macro templates

2015-03-10 Thread Jean-Marc Lasgouttes
commit 226c6f6b171da311bb74cacbd0f9b0660d6b3469 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Mar 10 16:05:22 2015 +0100 Take in account the parent's getStatus in macro templates This avoids invoking the insert space dialog instead of the math version. Thereafter

[LyX/2.1.x] Check that DocIterator::sanitize only adds editable insets

2015-03-12 Thread Jean-Marc Lasgouttes
commit d5eeabcfddf9edefc0751da1192c330674b3ea8f Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Mon Mar 9 11:14:26 2015 +0100 Check that DocIterator::sanitize only adds editable insets This fixes the crash on ticket #9432, but the bug there has other causes. diff --git a/src

[LyX/master] Autotools: check for python = 2.7.0 or = 3.3.0

2015-03-24 Thread Jean-Marc Lasgouttes
commit babe5e05f8dc718c88ef8e4701eb9cf992a24fb7 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Mon Mar 23 22:35:52 2015 +0100 Autotools: check for python = 2.7.0 or = 3.3.0 A new macro adapted from AM_PROG_PYTHON is defined. It does the dual version testing for python 2

[LyX/master] Autotool python support: allow to set version in configure.ac.

2015-03-24 Thread Jean-Marc Lasgouttes
commit 3d7ec5e25f2a8f82bc593e290878180097c27d64 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Mar 24 12:09:21 2015 +0100 Autotool python support: allow to set version in configure.ac. diff --git a/config/lyxpython.m4 b/config/lyxpython.m4 index ff92740..aaa3beb 100644

[LyX/2.1.x] Fix consecutive merging of tabular cells

2015-03-25 Thread Jean-Marc Lasgouttes
commit c271973b85140ea80e600e6554604deb2e6d7deb Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Mar 24 10:50:51 2015 +0100 Fix consecutive merging of tabular cells This is a bug reported and fixed by Edwin Leuven. Here is how Edwin described it in his inimitable

[LyX/master] Call DEPM properly when going somewhere with outliner.

2015-03-26 Thread Jean-Marc Lasgouttes
commit 67e6c45f80cd743dc88cd35749c2cd160f5dded6 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Thu Mar 26 10:27:59 2015 +0100 Call DEPM properly when going somewhere with outliner. LFUN_PARAGRAPH_GOTO used to do a plain setCursor, whereas the more elaborate mouseSetCursor

[LyX/2.1.x] Fix setting Interlingua as GUI language

2015-03-30 Thread Jean-Marc Lasgouttes
commit 22a9e27895e5b30d3f33f078c748003f4ee17e13 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Mar 17 11:34:28 2015 +0100 Fix setting Interlingua as GUI language The problem came from the fact that Qt associates Interlingua to locale C. Now, we do not rely anymore

[LyX/2.1.x] Call DEPM properly when going somewhere with outliner.

2015-03-30 Thread Jean-Marc Lasgouttes
commit c966875ecefe5ea59a7f1a9fb9dcc669ec454a1e Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Thu Mar 26 10:27:59 2015 +0100 Call DEPM properly when going somewhere with outliner. LFUN_PARAGRAPH_GOTO used to do a plain setCursor, whereas the more elaborate mouseSetCursor

[LyX/master] Improve the check for multiple paragraphs in Text::insertStringAsLine.

2015-03-31 Thread Jean-Marc Lasgouttes
commit 67ff68bd02f1e5dc27e9a39b0e3345d1f0f40a53 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Mon Mar 30 23:12:39 2015 +0200 Improve the check for multiple paragraphs in Text::insertStringAsLine. Rely only on InsetText::allowMultipar() to get this information

[LyX/master] Fix warning

2015-03-31 Thread Jean-Marc Lasgouttes
commit a9baa5380c4cdb42927800a17d3f95c2b8e75c54 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Mar 31 17:08:04 2015 +0200 Fix warning diff --git a/src/frontends/qt4/InsetParamsWidget.cpp b/src/frontends/qt4/InsetParamsWidget.cpp index 91e2e7b..86012a7 100644 --- a/src/frontends

[LyX/master] Get rid of autoBreakRow, which is obsoleted by allowMultiPar()

2015-03-31 Thread Jean-Marc Lasgouttes
commit 4dcc73ebf0a4874cc51ca5fa316a148b0e15427d Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Mon Mar 30 19:45:01 2015 +0200 Get rid of autoBreakRow, which is obsoleted by allowMultiPar() The only real user was Text::insertStringAsLine, but this got changed in commit

[LyX/master] Clean-up the undo API

2015-04-01 Thread Jean-Marc Lasgouttes
commit 11ca1406671f3e7b126bbe9b51694e8d32ba161c Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Thu Mar 12 15:57:29 2015 +0100 Clean-up the undo API * Remove the UndoKind parameter in the general interface * move recordUndoInset to Cursor * remove one variant of Undo

[LyX/master] Improve support for on screen length calculation

2015-03-26 Thread Jean-Marc Lasgouttes
commit 66fa801e74e1775b31008df548332436ce79e2e1 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Thu Mar 26 16:55:19 2015 +0100 Improve support for on screen length calculation The computation of length on screen depend in particular of the computation of the size of an em

[LyX/master] Allow automake 1.15.

2015-03-03 Thread Jean-Marc Lasgouttes
commit d33f4c91f24ed9bb8baf09d23525ff045e2055ea Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Mar 3 10:59:11 2015 +0100 Allow automake 1.15. diff --git a/INSTALL b/INSTALL index 4d5c0e8..a3d4914 100644 --- a/INSTALL +++ b/INSTALL @@ -36,7 +36,7 @@ Note for Git checkouts

[LyX/master] Revert some other dubious improvements in b627b870

2015-02-28 Thread Jean-Marc Lasgouttes
commit 776a4f53c2bea41ee0799edf9d2a15ac4559cf3a Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Sat Feb 28 23:41:20 2015 +0100 Revert some other dubious improvements in b627b870 diff --git a/src/Text.cpp b/src/Text.cpp index 526a1b5..c20c53d 100644 --- a/src/Text.cpp +++ b/src

[LyX/master] Remove unused variable BufferParams::quotes_times

2015-03-04 Thread Jean-Marc Lasgouttes
commit 9448e89879ebe52f077fa001b4cb768e31525ba1 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Wed Mar 4 18:19:30 2015 +0100 Remove unused variable BufferParams::quotes_times This was pointed out inadvertently by coverity issue 23484: the variable was not properly

[LyX/master] Initialize object properly

2015-03-04 Thread Jean-Marc Lasgouttes
commit 1d2b7fb1ecbf63f0861a9bb225041a20ba8e8d5e Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Wed Mar 4 17:47:56 2015 +0100 Initialize object properly Fixes coverity issue 23363 diff --git a/src/Author.h b/src/Author.h index d62fcb0..f798b04 100644 --- a/src/Author.h +++ b

[LyX/master] Some code factorization for the Change template

2015-03-05 Thread Jean-Marc Lasgouttes
commit f07ffaee84cef2b28c9d49e388d30f1f8e22cfc5 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Thu Mar 5 16:30:22 2015 +0100 Some code factorization for the Change template The original motivation is to initialize the change_ member but do it only once. This fixes

[LyX/master] Record undo properly when changing multiple paragraphs parameters

2015-03-01 Thread Jean-Marc Lasgouttes
commit 83073aec3a8f3390ba5376868f181366c36dfbe2 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Sun Mar 1 16:25:19 2015 +0100 Record undo properly when changing multiple paragraphs parameters Fixes bug 9437. diff --git a/src/Text2.cpp b/src/Text2.cpp index 4f6a975..a9e6db6

[LyX/master] Fix cursor position before a virtual element

2015-03-01 Thread Jean-Marc Lasgouttes
commit 536cd8ecd8b4dcc8e1c95efbf4d369a146399f9c Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Sun Mar 1 00:23:07 2015 +0100 Fix cursor position before a virtual element When there is a virtual element like an end-of-paragraph marker, the cursor should be on the left

[LyX/master] Remove unused member.

2015-03-05 Thread Jean-Marc Lasgouttes
commit db1979f398716185116a93a7c46fac4efe20340b Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Thu Mar 5 12:30:12 2015 +0100 Remove unused member. Fixes coverity issue 23413. diff --git a/src/LyX.cpp b/src/LyX.cpp index a96531f..251fe2d 100644 --- a/src/LyX.cpp +++ b/src

[LyX/master] Remove variable properly now

2015-03-05 Thread Jean-Marc Lasgouttes
commit a0fd54b2e76be640baca28da1780ad6b9a79916f Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Thu Mar 5 12:48:01 2015 +0100 Remove variable properly now This is a follow-up to db1979f39871. diff --git a/src/LyX.cpp b/src/LyX.cpp index 251fe2d..0cd6e97 100644 --- a/src

[LyX/master] Fix uninitialized members in Language constructor

2015-03-05 Thread Jean-Marc Lasgouttes
commit c925748126f272dccc9c8e318af424022af7340f Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Thu Mar 5 12:17:52 2015 +0100 Fix uninitialized members in Language constructor Fixes coverity issue 23412. diff --git a/src/Language.h b/src/Language.h index 177e55d..b532d9c

[LyX/master] Fix uninitialized member in Lexer constructor

2015-03-05 Thread Jean-Marc Lasgouttes
commit 0e2ef88b43f4129b7701752f1de95cdb52e9372e Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Thu Mar 5 12:24:47 2015 +0100 Fix uninitialized member in Lexer constructor Fixes coverity issue 23501. diff --git a/src/Lexer.h b/src/Lexer.h index 79efa58..dc56a4a 100644

[LyX/master] Reset stream properties after changing them

2015-03-05 Thread Jean-Marc Lasgouttes
commit 24737eecebdf39fdf964de2255d335e1c383100f Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Thu Mar 5 12:44:02 2015 +0100 Reset stream properties after changing them Fixes coverity issue 23468. diff --git a/src/LyXRC.cpp b/src/LyXRC.cpp index b6462d5..bfb0d35 100644

[LyX/master] Do not mix several names for the same variable

2015-02-20 Thread Jean-Marc Lasgouttes
commit fd7aa2d62d88e4da746f7f91378d19fc9d11e62c Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Fri Feb 20 16:37:06 2015 +0100 Do not mix several names for the same variable This confuses coverity, but is probably harmless. Fxies coverity issue 23374 diff --git

[LyX/master] Remove C-isms in isValidLength

2015-02-20 Thread Jean-Marc Lasgouttes
commit d9c9c6b36d007e42b086f75640fd242fd29a4445 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Fri Feb 20 16:16:31 2015 +0100 Remove C-isms in isValidLength This fixes coverity issue 23349, with a potential out-of-bounds write to the pattern array. diff --git a/src

[LyX/master] Some performance stuff reported by cppcheck

2015-02-24 Thread Jean-Marc Lasgouttes
commit b627b8701b6598f5402cbab55a83026c9e3b1e86 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Tue Feb 24 10:17:45 2015 +0100 Some performance stuff reported by cppcheck diff --git a/src/Buffer.cpp b/src/Buffer.cpp index b8e233a..f6af77d 100644 --- a/src/Buffer.cpp +++ b/src

[LyX/2.1.x] Use isActive() instead of editable() in mathed.

2015-03-23 Thread Jean-Marc Lasgouttes
commit a6bc4a2a34a220f4ffd60743d3c5be9cbb9bf927 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Sun Mar 22 21:40:52 2015 +0100 Use isActive() instead of editable() in mathed. Fixes crash introduced in [d5eeabcf/lyxgit]. editable() is more related to Texted

[LyX/master] Use isActive() instead of editable() in mathed.

2015-03-23 Thread Jean-Marc Lasgouttes
commit c2f785bdcc769f0c3ab0de186291c810f3f0875d Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Sun Mar 22 21:40:52 2015 +0100 Use isActive() instead of editable() in mathed. Fixes crash introduced in [17e435c4/lyxgit]. editable() is more related to Texted

[LyX/master] Revert correctly cursor font after undo a font toggle

2015-05-07 Thread Jean-Marc Lasgouttes
commit bb987c50c12e6ccdb6066a7e8a472294f12ffbba Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Thu May 7 15:56:22 2015 +0200 Revert correctly cursor font after undo a font toggle The recordUndoSelection call was done after the modification of cursor font. This is bad

[LyX/2.1.x] Revert correctly cursor font after undo a font toggle

2015-05-07 Thread Jean-Marc Lasgouttes
commit 02dcf8ce10c2062ebed4b9b7bd7e6aade964a4d5 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Thu May 7 15:56:22 2015 +0200 Revert correctly cursor font after undo a font toggle The recordUndoSelection call was done after the modification of cursor font. This is bad

Re: [LyX/master] #9514 contents inside of LyX insets with spell check disabled should be ignored by spell checker. The document iterator now skips math insets and insets like notes where spell check i

2015-05-06 Thread Jean-Marc Lasgouttes
Le 06/05/15 18:40, Stephan Witt a écrit : // We are only interested in text so remove the math CursorSlice. - while (from.inMathed()) { + // The same is done for insets with disabled spell check. + while (from.inMathed() ||

[LyX/master] Autotools: configure AR program

2015-05-06 Thread Jean-Marc Lasgouttes
commit 4f3d9d0092cbc82dc3b1228344ef0300e88efe06 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Mon May 4 16:19:44 2015 +0200 Autotools: configure AR program Some distros may use target-specific prefix for ar program (like x86_64-pc-linux-gnu-ar). Automake can handle

[LyX/master] Add menu entry DocumentDisable Editing

2015-05-14 Thread Jean-Marc Lasgouttes
commit 7db7a7fe4e3080f7a61b13cdbfa2f39c9409ca5e Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Thu May 14 20:53:47 2015 +0200 Add menu entry DocumentDisable Editing Fixes: bug #6692 diff --git a/lib/ui/stdmenus.inc b/lib/ui/stdmenus.inc index d8901a7..62d6ee8 100644

[LyX/master] Avoid requiring messages with empty language.

2015-04-15 Thread Jean-Marc Lasgouttes
commit d592ec06b91a6bdb6ddf6687c3762d8edf20fa7d Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Wed Apr 15 15:27:05 2015 +0200 Avoid requiring messages with empty language. This is a follow-up to commit 8aa2d6b1. diff --git a/src/frontends/qt4/GuiApplication.cpp b/src

[LyX/master] Toggle properly the math-display icon

2015-04-16 Thread Jean-Marc Lasgouttes
commit af4548cd6b40b7eb6478535b422b1bc4c33182cd Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Thu Apr 16 18:51:29 2015 +0200 Toggle properly the math-display icon diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index 53a16e8..b9c5b2c 100644 --- a/src/mathed

[LyX/2.1.x] Avoid requiring messages with empty language.

2015-04-17 Thread Jean-Marc Lasgouttes
commit 839f37317f1f4d910bb8bbfa416ebcbda7761947 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Wed Apr 15 15:27:05 2015 +0200 Avoid requiring messages with empty language. This is a follow-up to commit 8aa2d6b1. diff --git a/src/frontends/qt4/GuiApplication.cpp b/src

[LyX/master] Remove bad hack.

2015-04-17 Thread Jean-Marc Lasgouttes
commit 03b010b4ce8ad057d65924f2fd9c3c825cc6691d Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Fri Apr 17 15:58:14 2015 +0200 Remove bad hack. The macro N_() is a no-op which does exactly what is needed here: tell gettext that the string should be in the list

[LyX/master] Fix potential link error in tests.

2015-04-09 Thread Jean-Marc Lasgouttes
commit 13c60bfa78d67645c3c5809d028fcf6825a26960 Author: Jean-Marc Lasgouttes lasgout...@lyx.org Date: Thu Apr 9 11:57:00 2015 +0200 Fix potential link error in tests. This is a followup of d4718b18, which itself fixes a problem introduced in 66fa801e. diff --git a/src/tests

<    1   2   3   4   5   6   7   8   9   10   >