[LyX/master] Fix missing OutlinerName in simplecv

2017-03-19 Thread Guillaume Munch
commit e5d26783393757d6da71362b11616638337124a4 Author: Guillaume Munch <g...@lyx.org> Date: Mon Mar 20 00:12:30 2017 +0100 Fix missing OutlinerName in simplecv --- lib/layouts/stdinsets.inc |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/lib/l

[LyX/master] Ressurect old FileMonitor à la Frankenstein

2017-03-19 Thread Guillaume Munch
commit 9926927fb1a38f15ec4fa1334075720925a3295e Author: Guillaume Munch <g...@lyx.org> Date: Sun Mar 19 00:06:40 2017 +0100 Ressurect old FileMonitor à la Frankenstein ActiveFileMonitor combines QFileSystemWatcher with the previous checksum approach. --- src/s

[LyX/master] repair Cursor::x_target mechanism (#10168)

2017-03-19 Thread Guillaume Munch
commit 4f3c3a794e36c3f53373ccdbd63c923660b892ff Author: Guillaume Munch <g...@lyx.org> Date: Sun Mar 19 14:41:54 2017 +0100 repair Cursor::x_target mechanism (#10168) --- src/Cursor.cpp |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/Cursor.cpp

[LyX/master] Cosmetic

2017-03-19 Thread Guillaume Munch
commit c779e9806ef83f899756d12a01f06d3ca3aaeb7e Author: Guillaume Munch <g...@lyx.org> Date: Sun Mar 19 00:09:02 2017 +0100 Cosmetic --- src/support/FileMonitor.cpp |5 +++-- src/support/FileMonitor.h | 16 2 files changed, 11 insertions(+), 10 deletions(-)

[LyX/master] Regularly check if graphics is modified when visible on screen (#10596)

2017-03-19 Thread Guillaume Munch
commit ad16347b087943741eaca30cc048e1aa32ad57c0 Author: Guillaume Munch <g...@lyx.org> Date: Sun Mar 19 14:41:54 2017 +0100 Regularly check if graphics is modified when visible on screen (#10596) In case one cannot rely on QFileSystemWatcher. see https://ww

[LyX/master] Blocking signals also blocks the notification of file creation (#10595)

2017-03-19 Thread Guillaume Munch
commit 6c4b9c97cb4ca7c279777e84e9d6686153334b76 Author: Guillaume Munch <g...@lyx.org> Date: Sat Mar 18 20:39:34 2017 +0100 Blocking signals also blocks the notification of file creation (#10595) --- src/support/FileMonitor.cpp | 22 +- src/support/FileMon

[LyX/master] Correct ownership

2017-03-19 Thread Guillaume Munch
commit fa9ab74ffa85a94eb215b5c5e689fac324919d30 Author: Guillaume Munch <g...@lyx.org> Date: Sat Mar 18 20:37:55 2017 +0100 Correct ownership One can now delete a file monitor if a blocker is active. --- src/support/FileMonitor.cpp | 17 - src/s

[LyX/master] Regularly check if preview is modified when visible on screen

2017-03-19 Thread Guillaume Munch
commit ac6d3ffb6a5c8b007d198681b169e1d68b0971e9 Author: Guillaume Munch <g...@lyx.org> Date: Sun Mar 19 14:41:54 2017 +0100 Regularly check if preview is modified when visible on screen In case one cannot rely on QFileSystemWatcher. --- src/insets/RenderPreview.cpp |3 ++

[LyX/master] Clean up

2017-03-18 Thread Guillaume Munch
commit 340d747fff92fc98907a0285ce22b6c500276505 Author: Guillaume Munch <g...@lyx.org> Date: Sat Mar 18 15:08:20 2017 +0100 Clean up Only keep one dynamic-cast. This fixes coverity warnings. --- src/frontends/qt4/GuiView.cpp |1 - src/frontends/qt4/GuiWorkArea.cpp

[LyX/master] Fix compilation with 5 <= qt < 5.4

2017-03-11 Thread Guillaume Munch
commit 797bb2df147d6b5ac3ad1d5ca612657421ccb258 Author: Guillaume Munch <g...@lyx.org> Date: Sat Mar 11 22:21:11 2017 +0100 Fix compilation with 5 <= qt < 5.4 --- src/support/FileMonitor.cpp | 13 + 1 files changed, 5 insertions(+), 8 deletions(-) diff --git a

[LyX/master] Preventive fix inspired from ~

2017-03-10 Thread Guillaume Munch
commit 22edb3df96e78cf10aa94e0f2d9f6f6697534786 Author: Guillaume Munch <g...@lyx.org> Date: Fri Mar 10 23:20:29 2017 +0100 Preventive fix inspired from ~ --- src/TextMetrics.cpp | 27 --- 1 files changed, 16 insertions(+), 11 deletions(-) diff --git

[LyX/master] Replace FileMonitor with FileMonitor2 in RenderPreview

2017-03-10 Thread Guillaume Munch
commit a4fae021f23aa38382673d014cea839aaa9cb812 Author: Guillaume Munch <g...@lyx.org> Date: Thu Mar 9 22:44:07 2017 +0100 Replace FileMonitor with FileMonitor2 in RenderPreview --- src/insets/InsetExternal.cpp | 10 +++- src/insets/InsetInclude.cpp |8 +++--- src/

[LyX/master] Display externally modified status

2017-03-10 Thread Guillaume Munch
commit 1e57fd12b18f82b4fbc00ee5dbe78d03143b4adb Author: Guillaume Munch <g...@lyx.org> Date: Tue Feb 28 22:58:44 2017 +0100 Display externally modified status --- src/frontends/WorkAreaManager.cpp | 13 + src/frontends/WorkAreaManager.h |3 ++- src/fro

[LyX/master] Notification of external modification inspired by gedit

2017-03-10 Thread Guillaume Munch
commit b6b56d85189966dd18223dcc30b3cef1ec6ed39a Author: Guillaume Munch <g...@lyx.org> Date: Thu Mar 2 00:41:02 2017 +0100 Notification of external modification inspired by gedit --- src/frontends/qt4/GuiView.cpp |8 ++-- src/frontends/qt4/GuiWorkArea.cpp

[LyX/master] Implement real-time detection of external modifications

2017-03-10 Thread Guillaume Munch
commit cf3c035266486b797e4bc3fe1a9e95c87f45f66d Author: Guillaume Munch <g...@lyx.org> Date: Sun Mar 5 20:12:07 2017 +0100 Implement real-time detection of external modifications --- src/Buffer.cpp| 69 src/Bu

[LyX/master] Implement FileMonitor as a wrapper for QFileSystemWatcher

2017-03-10 Thread Guillaume Munch
commit caa54e80ee410c0fa3cc9a1eea6588d68a92386b Author: Guillaume Munch <g...@lyx.org> Date: Mon Feb 27 23:46:10 2017 +0100 Implement FileMonitor as a wrapper for QFileSystemWatcher The new file monitor supports both boost and qt signals. It is implemented in a ressourc

[LyX/master] Clean-up

2017-03-10 Thread Guillaume Munch
commit 656bc46892c2041437111dfff697957530e75ec2 Author: Guillaume Munch <g...@lyx.org> Date: Wed Mar 1 20:32:33 2017 +0100 Clean-up --- src/Buffer.cpp | 18 +- src/Buffer.h |2 +- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/src/Buffer.cpp

[LyX/master] Nonsense for whoever insists on using gcc4.6 & qt4.8 in 2017

2017-03-10 Thread Guillaume Munch
commit 24f68aff8d2ba9139017ca3927eda1f1aaf039af Author: Guillaume Munch <g...@lyx.org> Date: Sat Mar 11 00:11:02 2017 +0100 Nonsense for whoever insists on using gcc4.6 & qt4.8 in 2017 --- src/support/FileMonitor.cpp | 21 ++--- src/support/FileMonitor.

[LyX/master] Remove legacy FileMonitor

2017-03-10 Thread Guillaume Munch
commit f96d7a8b2cb45e98382e2d88f1156e74e7898f5e Author: Guillaume Munch <g...@lyx.org> Date: Fri Mar 10 22:41:48 2017 +0100 Remove legacy FileMonitor --- src/support/FileMonitor.cpp | 233 +++-- src/support/FileMonitor.h

[LyX/master] buffer-export default

2017-03-10 Thread Guillaume Munch
commit 3dec5826dae76e89a80ea9a0404467f8200fa783 Author: Guillaume Munch <g...@lyx.org> Date: Thu Mar 9 23:35:27 2017 +0100 buffer-export default --- src/Buffer.cpp|6 +++--- src/LyX.cpp |2 +- src/LyXAction.cpp |2 +- src/fro

[LyX/master] Clarify dialog

2017-03-10 Thread Guillaume Munch
commit 22ce6636efc236aff26244180c9a46508b291aa3 Author: Guillaume Munch <g...@lyx.org> Date: Sun Mar 5 23:55:59 2017 +0100 Clarify dialog --- src/frontends/qt4/GuiView.cpp | 15 ++- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/frontends/qt4/GuiVi

[LyX/master] Add option to ignore a parameter in InsetCommandParams

2017-03-10 Thread Guillaume Munch
commit 387ac780883f16ef8edb647c4b556d42f4cd33bf Author: Guillaume Munch <g...@lyx.org> Date: Tue Feb 14 21:16:39 2017 +0100 Add option to ignore a parameter in InsetCommandParams It will not be saved to the file and will always be equal to a given default value. --- src/

[LyX/master] New LFUN buffer-external-modification-clear

2017-03-10 Thread Guillaume Munch
commit 299242bb16e2fdd026ac975e8ac4d81e8dfef890 Author: Guillaume Munch <g...@lyx.org> Date: Wed Mar 1 21:16:37 2017 +0100 New LFUN buffer-external-modification-clear --- src/FuncCode.h|1 + src/LyXAction.cpp | 10 ++ src/frontends/qt4/GuiVi

[LyX/master] Amend 63be456c8

2017-03-10 Thread Guillaume Munch
commit b034389e6def020d5201d59f6bab901453c3b5af Author: Guillaume Munch <g...@lyx.org> Date: Fri Mar 10 22:55:33 2017 +0100 Amend 63be456c8 Fix crash when clicking on math previews --- src/Cursor.cpp |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[LyX/master] Whitespace

2017-03-10 Thread Guillaume Munch
commit 7c123507a4a5a79ef8cec5bb85375ce7ca99ca18 Author: Guillaume Munch <g...@lyx.org> Date: Tue Feb 28 22:24:51 2017 +0100 Whitespace --- src/Buffer.cpp | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 2bc454b..a

[LyX/master] Disable edition when external modifications are detected

2017-03-10 Thread Guillaume Munch
commit 0cb85e920666e8a47cb74ce96711fdcae8168862 Author: Guillaume Munch <g...@lyx.org> Date: Wed Mar 1 22:03:44 2017 +0100 Disable edition when external modifications are detected Introduce a distinction between being read-only and having the read-only flag. A buffer i

[LyX/master] Replace FileMonitor with FileMonitor2 in GraphicsCacheItem

2017-03-10 Thread Guillaume Munch
commit e3a13968139a7b9469060e2f10b7807c8e10339b Author: Guillaume Munch <g...@lyx.org> Date: Mon Mar 6 23:16:04 2017 +0100 Replace FileMonitor with FileMonitor2 in GraphicsCacheItem Remove dead code --- src/graphics/GraphicsCacheItem.cpp | 25 +---

[LyX/master] Amend 841825aa563

2017-03-05 Thread Guillaume Munch
commit 3d2d02510af43353c7b99455855f3b4e74a9086a Author: Guillaume Munch <g...@lyx.org> Date: Mon Mar 6 01:01:11 2017 +0100 Amend 841825aa563 sort alphabetically --- src/frontends/qt4/Menus.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[LyX/master] Tabular::editXY should not touch the selection

2017-03-04 Thread Guillaume Munch
commit 354897f6d9c03056a8e16f36e7153ec513eae646 Author: Guillaume Munch <g...@lyx.org> Date: Fri Mar 3 23:26:58 2017 +0100 Tabular::editXY should not touch the selection --- src/insets/Inset.h |2 ++ src/insets/InsetTabular.cpp |1 - 2 files changed, 2 insertions

[LyX/master] Fix warning

2017-03-04 Thread Guillaume Munch
commit 76f3f6eb01ca28e3c7d6c9445f48243e8e05ff11 Author: Guillaume Munch <g...@lyx.org> Date: Sat Mar 4 23:44:53 2017 +0100 Fix warning --- src/Row.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/Row.cpp b/src/Row.cpp index cc78cff..d6ea727 100644 ---

[LyX/master] Allow Ctrl+Enter in GuiCitation even if the citation is already there

2017-03-04 Thread Guillaume Munch
commit a0ce37147cffa39b1a5c8859eb001dd2194b22a1 Author: Guillaume Munch <g...@lyx.org> Date: Thu Mar 2 22:27:38 2017 +0100 Allow Ctrl+Enter in GuiCitation even if the citation is already there --- src/frontends/qt4/GuiSelectionManager.cpp | 15 --- 1 files chan

[LyX/master] buffer-export * synonymous to buffer-export

2017-03-04 Thread Guillaume Munch
commit 494ce6647a94c6fa6b8ae65dd45a5ab8c1742817 Author: Guillaume Munch <g...@lyx.org> Date: Tue Feb 28 22:15:53 2017 +0100 buffer-export * synonymous to buffer-export --- src/Buffer.cpp|8 src/LyXAction.cpp |4 ++-- src/fronten

[LyX/master] Fix color of todo notes

2017-03-04 Thread Guillaume Munch
commit 3d06c09d8dc78b00c6939f2a9dfd121f00aca401 Author: Guillaume Munch <g...@lyx.org> Date: Fri Feb 17 21:35:30 2017 +0100 Fix color of todo notes Yellow on blue causes display issues (some text elements that become black on blue, math insets that are no longer re

[LyX/master] Add default export to the menu

2017-03-04 Thread Guillaume Munch
commit 841825aa56331010eb61adf47bc74b138a110273 Author: Guillaume Munch <g...@lyx.org> Date: Sat Mar 4 23:44:34 2017 +0100 Add default export to the menu --- lib/ui/stdmenus.inc |2 ++ src/frontends/qt4/Menus.cpp | 22 ++ 2 files changed, 24 inse

[LyX/master] Whitespace and remove obsolete #ifdef.

2017-02-26 Thread Guillaume Munch
commit d50b66fc883a1321159afc365c0dfcd8b45c80b8 Author: Guillaume Munch <g...@lyx.org> Date: Sun Feb 26 22:15:50 2017 +0100 Whitespace and remove obsolete #ifdef. --- src/frontends/qt4/FancyLineEdit.cpp | 21 ++--- src/frontends/qt4/FancyLineEdit.h

[LyX/master] Give focus to the filter in GuiRef

2017-02-26 Thread Guillaume Munch
commit 06416763acc0318f22c534da4e8469471f4cbcd8 Author: Guillaume Munch <g...@lyx.org> Date: Sun Feb 26 22:15:50 2017 +0100 Give focus to the filter in GuiRef This is now consistent with GuiCitation. Compared to the previous behaviour there is only one down key press diff

[LyX/master] Fix 18 memory leaks

2017-02-26 Thread Guillaume Munch
commit 26b2cc89d398f9125706901ff3251e15926aea50 Author: Guillaume Munch <g...@lyx.org> Date: Sun Feb 26 22:15:49 2017 +0100 Fix 18 memory leaks Also whitespace. --- src/frontends/qt4/GuiCitation.cpp |8 +--- src/frontends/qt4/GuiCitation.h |2

[LyX/master] Fix focus events in GuiCitation

2017-02-26 Thread Guillaume Munch
commit 750c48eda3bf5783b9cbcf8134aa62f3ebda7d2a Author: Guillaume Munch <g...@lyx.org> Date: Sun Feb 26 22:15:50 2017 +0100 Fix focus events in GuiCitation --- src/frontends/qt4/GuiSelectionManager.cpp | 14 ++ 1 files changed, 6 insertions(+), 8 deletions(-) diff

[LyX/master] Implement down key press in FancyLineEdit

2017-02-26 Thread Guillaume Munch
commit eab83ec6787ce859865037e0a38b53a4cb162907 Author: Guillaume Munch <g...@lyx.org> Date: Sun Feb 26 22:15:50 2017 +0100 Implement down key press in FancyLineEdit --- src/frontends/qt4/FancyLineEdit.cpp | 10 ++ src/frontends/qt4/FancyLineEdit.h

[LyX/master] GuiCitation: set instant search as the default

2017-02-22 Thread Guillaume Munch
commit 0a7ba185a39f1771940dba39329e0840a4df14fa Author: Guillaume Munch <g...@lyx.org> Date: Wed Feb 22 16:41:38 2017 +0100 GuiCitation: set instant search as the default It was already supposed to be the default after 7d429291, but one has to set the default

[LyX/master] Clarify comment

2017-02-22 Thread Guillaume Munch
commit 8353a53cc38fe364bee516e86a08251e4ae974fc Author: Guillaume Munch <g...@lyx.org> Date: Wed Feb 22 16:56:43 2017 +0100 Clarify comment --- src/support/Cache.h |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/support/Cache.h b/src/support/C

[LyX/master] Allow more translations of OutlinerNames

2017-02-21 Thread Guillaume Munch
commit 05b90abaf7a4c2343824e8fae1b4a721b8e4a2e1 Author: Guillaume Munch <g...@lyx.org> Date: Tue Feb 21 21:04:50 2017 +0100 Allow more translations of OutlinerNames Allow comments at the end. Although comments seem to be valid at the end of lines in layout

[LyX/master] Introduce support/Cache.h

2017-02-20 Thread Guillaume Munch
commit 33b696c8acf2e64b44d449180781de6dbc203709 Author: Guillaume Munch <g...@lyx.org> Date: Mon Feb 20 23:59:24 2017 +0100 Introduce support/Cache.h Useful to cache copies of objects, including shared_ptrs. No risks of dangling pointer, and avoid naked pointers in the

[LyX/master] Amend 71623b88

2017-02-19 Thread Guillaume Munch
commit 591b3119847bfeda1901211dc2db302771d0a487 Author: Guillaume Munch <g...@lyx.org> Date: Sun Feb 19 14:54:44 2017 +0100 Amend 71623b88 Fix loop of word-delete-backward at the start of a paragraph. --- src/Cursor.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 del

[LyX/master] Move cursor in front of InsetMathSpace before opening the dialog (#7749)

2017-02-18 Thread Guillaume Munch
commit 86d9abeea7f9a0c0c7b63540ea20c41264cde991 Author: Guillaume Munch <g...@lyx.org> Date: Sat Feb 18 23:03:53 2017 +0100 Move cursor in front of InsetMathSpace before opening the dialog (#7749) --- src/mathed/InsetMathSpace.cpp |9 + 1 files changed, 1 insertions

[LyX/master] Generalise the deletion protection mechanism from math to text (#9540)

2017-02-18 Thread Guillaume Munch
commit 71623b88b2c613dd4ab826a9783a53e840bcd6e1 Author: Guillaume Munch <g...@lyx.org> Date: Sat Feb 18 19:12:55 2017 +0100 Generalise the deletion protection mechanism from math to text (#9540) Now backspace and delete in text will select non-empty math and text insets

[LyX/master] When selecting math with the mouse, selection happens in the middle (#9748)

2017-02-18 Thread Guillaume Munch
commit faeb1997932dd60909ebe7c7883a5c8fbfe81e8c Author: Guillaume Munch <g...@lyx.org> Date: Sat Feb 18 20:41:41 2017 +0100 When selecting math with the mouse, selection happens in the middle (#9748) --- src/mathed/InsetMathNest.cpp | 10 ++ 1 files changed, 10 insertions

[LyX/master] When selecting text with the mouse, inset selection happens in the middle

2017-02-18 Thread Guillaume Munch
commit eb4a2a190f2640d2a6ab7146cfcc347e70b57044 Author: Guillaume Munch <g...@lyx.org> Date: Sat Feb 18 23:03:53 2017 +0100 When selecting text with the mouse, inset selection happens in the middle --- src/Row.cpp |9 + src/Row.h |7 --- src/Tex

[LyX/master] When pressing math with the mouse, move to the closest edge (#9748)

2017-02-18 Thread Guillaume Munch
commit 63be456c8d087ad3a43f20be351b36cc3b67b37a Author: Guillaume Munch <g...@lyx.org> Date: Sat Feb 18 22:23:14 2017 +0100 When pressing math with the mouse, move to the closest edge (#9748) Unless it has some dialog that we want to activate. --- src/Curs

[LyX/master] Fix InsetMathRef mouse behaviour (#10568)

2017-02-18 Thread Guillaume Munch
commit 7337c968b3fba6bd07f7abf5b14c2a50243f400f Author: Guillaume Munch <g...@lyx.org> Date: Sat Feb 18 22:24:25 2017 +0100 Fix InsetMathRef mouse behaviour (#10568) Fix mouse-selection behaviour. Don't open dialog when releasing if it was not a real click. --- src/

[LyX/master] Disable InsetMathKern with invalid lengths (#10539)

2017-02-13 Thread Guillaume Munch
commit 527cc8ca9c829cbe227667c5c2a57ebce2199606 Author: Guillaume Munch <g...@lyx.org> Date: Sun Feb 5 11:04:41 2017 +0100 Disable InsetMathKern with invalid lengths (#10539) From now on \kern and \mkern remain as ERT as long as the length is invalid. Fixes

[LyX/master] Fix wrong DocIterator argument

2017-01-30 Thread Guillaume Munch
commit 15f64f84135cd9ed5b9835fd860685617283b9d8 Author: Guillaume Munch <g...@lyx.org> Date: Fri Jan 27 00:39:45 2017 +0100 Fix wrong DocIterator argument Regression at 3391fed3. The child's InsetText is the root, so we start with an empty DocIterator.

[LyX/master] Update child's TocBackend as well

2017-01-30 Thread Guillaume Munch
commit 5b2674c1dbf6ba06b160c99e3627eabd23689694 Author: Guillaume Munch <g...@lyx.org> Date: Fri Jan 27 00:38:22 2017 +0100 Update child's TocBackend as well Before 3391fed3, this was done in InsetInclude::addToToc --- src/Buffer.cpp |8 +--- 1 files changed, 5 inse

[LyX/2.2.x] Fix compilation with --disable-cxx11

2017-01-25 Thread Guillaume Munch
commit 2305fd838c33dc71a653ff9b53275a1a8124b821 Author: Guillaume Munch <g...@lyx.org> Date: Sun Jan 15 01:40:23 2017 +0100 Fix compilation with --disable-cxx11 --- src/frontends/qt4/GuiFontMetrics.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/fro

[LyX/master] Collect the outliner names for the children's tocs

2017-01-14 Thread Guillaume Munch
commit 461fda9ca9a8079f235fe6d26031aa6b9c5ff36e Author: Guillaume Munch <g...@lyx.org> Date: Sat Jan 14 18:40:58 2017 +0100 Collect the outliner names for the children's tocs Fixes missing outliner names in various situations. Now if the warning "Missing outliner na

[LyX/master] Simplify

2017-01-14 Thread Guillaume Munch
commit 54f5100e74788ba20d8e360cbaaaf6bfdc85266f Author: Guillaume Munch <g...@lyx.org> 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] Fix font of macro template name

2017-01-14 Thread Guillaume Munch
commit fdf805956b800648099fa14143b3e9efb3f10cc2 Author: Guillaume Munch <g...@lyx.org> Date: Thu Jan 5 23:23:33 2017 +0100 Fix font of macro template name --- src/mathed/MathMacroTemplate.cpp | 17 - 1 files changed, 8 insertions(+), 9 deletions(-) diff --git

[LyX/master] Two separators collapse into one

2017-01-14 Thread Guillaume Munch
commit bd1ce03b407856b0126e3684183696a50e657811 Author: Guillaume Munch <g...@lyx.org> Date: Wed Jan 11 21:03:47 2017 +0100 Two separators collapse into one It seems guaranteed by the Qt docs that two menu separators collapse into one. This allows this little simplifi

[LyX/master] Make the generation of children's tocs more robust

2017-01-14 Thread Guillaume Munch
commit 3391fed36a574fb729f243888258d1b6d45b0251 Author: Guillaume Munch <g...@lyx.org> Date: Fri Jan 13 11:06:48 2017 +0100 Make the generation of children's tocs more robust Let the children directly access the TocBuilders, instead of concatenating after the fact. --

[LyX/2.2.x] status.22x

2017-01-09 Thread Guillaume Munch
commit 4c5312f6034d55f336d677f1818a0dc346b9a174 Author: Guillaume Munch <g...@lyx.org> Date: Mon Jan 9 23:16:31 2017 +0100 status.22x --- status.22x |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/status.22x b/status.22x index 4b76646..f553114 100644 --- a/

[LyX/master] Reorganise and simplify

2017-01-09 Thread Guillaume Munch
commit 8914ddeaee2aa78459c3148866ca779d6a693f69 Author: Guillaume Munch <g...@lyx.org> Date: Mon Jan 9 23:15:16 2017 +0100 Reorganise and simplify --- src/DocIterator.cpp | 11 +- src/DocIterator.h |2 + src/Makefile.am |2 + src/TocBackend.cpp

[LyX/master] Remove comments about enumification of toc types

2017-01-09 Thread Guillaume Munch
commit 597de9bb8d93fe293d2d6fce76bd32bde5198c5d Author: Guillaume Munch <g...@lyx.org> Date: Mon Jan 9 23:15:16 2017 +0100 Remove comments about enumification of toc types This is no longer likely to happen. --- src/TocBackend.cpp |1 - src/TocBackend.h

[LyX/master] Implement IsTocCaption for InsetArgument

2017-01-09 Thread Guillaume Munch
commit 5e2071376972a3c16d0874f18cf31e329e4f773c Author: Guillaume Munch <g...@lyx.org> Date: Sun Jan 8 19:17:57 2017 +0100 Implement IsTocCaption for InsetArgument Shows the title of Sweave, Knitr chunks in the Navigate menu. --- src/TocBackend.cpp

[LyX/master] Fine tune AddToToc options for Sweave, Knitr

2017-01-09 Thread Guillaume Munch
commit d1c1a4520c0c3d85b064475ac4b172b97cd09848 Author: Guillaume Munch <g...@lyx.org> Date: Sun Jan 8 19:19:25 2017 +0100 Fine tune AddToToc options for Sweave, Knitr --- lib/layouts/knitr.module |2 ++ lib/layouts/litinsets.inc |1 + lib/layouts/sweave.module |4 +

[LyX/master] Implement AddToToc layout command for Flex insets

2017-01-09 Thread Guillaume Munch
commit 28dfc48fb2e24bb8c9d913535b955437b73ca9af Author: Guillaume Munch <g...@lyx.org> Date: Sun Nov 22 22:48:24 2015 + Implement AddToToc layout command for Flex insets Enables TOC for FiXme, ToDo, Knitr, Sweave (#7790) --- src/TextClass.cpp|4 ++-

[LyX/master] Remove some hardcoded addToToc: note, footnote, marginalnote, branch

2017-01-09 Thread Guillaume Munch
commit e11a3cb8953d709760cf9e6250e549a956d9fb2c Author: Guillaume Munch <g...@lyx.org> Date: Mon Jan 9 13:28:48 2017 +0100 Remove some hardcoded addToToc: note, footnote, marginalnote, branch Define their Toc from the layout instead. --- lib/layouts/stdfloats.inc

[LyX/master] Implement AddToToc for paragraph layouts

2017-01-09 Thread Guillaume Munch
commit 68109443f3738b89574cfc82bc30b14e0c31a8be Author: Guillaume Munch <g...@lyx.org> Date: Sun Jan 8 21:57:02 2017 +0100 Implement AddToToc for paragraph layouts Enables table of Theorems & Definitions --- src/Paragraph.cpp|6 ++-- src/Paragraph.h

[LyX/master] Improve the list of equations

2017-01-09 Thread Guillaume Munch
commit 5fdc577badb1cb133d6a0dc7d831bb1f82576adb Author: Guillaume Munch <g...@lyx.org> Date: Mon Jan 9 17:37:50 2017 +0100 Improve the list of equations Also convert other Tocs to TocBuilder when trivial, to make them customisable --- src/insets/InsetCitation.cpp

[LyX/master] Document AddToToc

2017-01-09 Thread Guillaume Munch
commit f0663e3ce4216bd8ef1a43b1e70a921ce2fec988 Author: Guillaume Munch <g...@lyx.org> Date: Sun Jan 8 21:55:56 2017 +0100 Document AddToToc --- lib/doc/Customization.lyx | 299 - 1 files changed, 297 insertions(+), 2 deletions(-) diff

[LyX/master] Move Tocs to the "Other lists" submenu based on a blacklist

2017-01-09 Thread Guillaume Munch
commit ab98adf9250bc4711baa6172b180bafe741e2fc0 Author: Guillaume Munch <g...@lyx.org> Date: Mon Nov 30 15:27:43 2015 + Move Tocs to the "Other lists" submenu based on a blacklist This causes user-defined Tocs to appear in the main list --- src/TocBackend.cpp

[LyX/master] Menus: Factor Toc code

2017-01-09 Thread Guillaume Munch
commit 089b80fc7d039f1ddc7a9e38aace77d1b3351f43 Author: Guillaume Munch <g...@lyx.org> Date: Mon Nov 30 15:27:43 2015 + Menus: Factor Toc code --- src/frontends/qt4/Menus.cpp | 19 +-- 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/fronten

[LyX/master] Update Sweave, Knitr manual and showcase the new Navigate menu

2017-01-09 Thread Guillaume Munch
commit d6b1dc4724ddf5f1d203da8224073236400b6623 Author: Guillaume Munch <g...@lyx.org> Date: Sun Jan 8 19:19:55 2017 +0100 Update Sweave, Knitr manual and showcase the new Navigate menu Also mention needauth option --- lib/examples/knitr.lyx | 90 +- lib/ex

[LyX/master] Lost in refactoring

2017-01-07 Thread Guillaume Munch
commit ca6bc682e450fd6807a41d6897175e69a0382106 Author: Guillaume Munch <g...@lyx.org> Date: Sat Jan 7 14:38:00 2017 +0100 Lost in refactoring --- src/mathed/MathMacro.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mathed/MathMacro.cpp b/src/

[LyX/master] Fine tune the math class of InsetMathScript after a4676712

2017-01-05 Thread Guillaume Munch
commit d9018f14a61502636aaf84480113deca69def5db Author: Guillaume Munch <g...@lyx.org> Date: Thu Jan 5 12:03:53 2017 +0100 Fine tune the math class of InsetMathScript after a4676712 --- src/mathed/InsetMathScript.cpp |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-)

[LyX/master] Set mathrel for a few more lib/symbols

2017-01-03 Thread Guillaume Munch
commit f77e5733cf1571e5a8ace32546f0ff74b0a7275c Author: Guillaume Munch <g...@lyx.org> Date: Sun Jan 1 21:23:07 2017 +0100 Set mathrel for a few more lib/symbols Improve display of textmode macros in lib/symbols --- lib/symbols | 35 ++- 1

[LyX/master] Fix wrong parse of macro parameter and crash

2017-01-03 Thread Guillaume Munch
commit eb2d373e4bdc6169d42f42ff5a886e3d36e86510 Author: Guillaume Munch <g...@lyx.org> Date: Tue Jan 3 20:17:20 2017 +0100 Fix wrong parse of macro parameter and crash Copy-pasting $#\n$ from text to LyX gives the error message: MathMacroArgument::MathMacroAr

[LyX/master] New word-movement behaviour in Math

2017-01-03 Thread Guillaume Munch
commit 981f065bdeeb4fd214011f4988d1643a9e520986 Author: Guillaume Munch <g...@lyx.org> Date: Fri May 27 21:00:54 2016 +0100 New word-movement behaviour in Math Following discussion on the list: https://www.mail-archive.com/lyx-users@lists.lyx.org/msg10301

[LyX/master] Fix wrong mode on output for macros that shadow global macros

2017-01-03 Thread Guillaume Munch
commit 3e79e0f5f00add2c735d372f4734cf31f64b7e5f Author: Guillaume Munch <g...@lyx.org> Date: Mon Dec 12 01:17:41 2016 +0100 Fix wrong mode on output for macros that shadow global macros Testcase: Define a math macro \AA, overriding the definition of \AA from lib/s

[LyX/master] Remove hardcoded values

2017-01-03 Thread Guillaume Munch
commit 2de30c62f8d671a8c8d4d52a6a7310e2c5ca84de Author: Guillaume Munch <g...@lyx.org> Date: Mon Dec 12 01:11:26 2016 +0100 Remove hardcoded values --- src/insets/Inset.h |2 +- src/mathed/InsetMathGrid.cpp |2 +- src/mathed/InsetMathNest.cpp

[LyX/master] Use math class information from lib/symbols for intelligent splitting

2017-01-03 Thread Guillaume Munch
commit 087f72202e9ee166d2ec5eedd12c9c7d48db416b Author: Guillaume Munch <g...@lyx.org> Date: Mon Dec 12 01:51:45 2016 +0100 Use math class information from lib/symbols for intelligent splitting This was missing for macros defined in lib/symbols. This only affects the eq

[LyX/master] Define mathClass of MathMacro

2017-01-03 Thread Guillaume Munch
commit a4676712837e10573f2f2ce2a95767832c81b4ea Author: Guillaume Munch <g...@lyx.org> Date: Tue Jan 3 20:17:20 2017 +0100 Define mathClass of MathMacro Enables intelligent splitting for math macros. Crucially improves the detection of math words for the new Ctrl

[LyX/master] Remove a redundant deletion of a QObject

2016-12-31 Thread Guillaume Munch
commit 832b99a3949d3efc63a7e8a95cbcb9eb994c75c1 Author: Guillaume Munch <g...@lyx.org> Date: Sat Dec 31 15:16:15 2016 +0100 Remove a redundant deletion of a QObject --- src/frontends/qt4/GuiToc.cpp | 11 +++ src/frontends/qt4/GuiToc.h |2 -- 2 files changed, 3 inse

[LyX/master] Fix dangling inset pointers after buffer reload

2016-12-31 Thread Guillaume Munch
commit 3d6a7a1200a5efdeafda80bde80fa67427fa1a07 Author: Guillaume Munch <g...@lyx.org> Date: Sat Dec 31 15:16:15 2016 +0100 Fix dangling inset pointers after buffer reload https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg198191.html The root of the

[LyX/master] Convert a pointer to a reference

2016-12-31 Thread Guillaume Munch
commit 0eb0b8531a08a81e1b9cdde108be124edbd6dfdd Author: Guillaume Munch <g...@lyx.org> Date: Sat Dec 31 15:22:07 2016 +0100 Convert a pointer to a reference The validity of the reference is guaranteed by QThreadLocalStorage --- src/Paragraph.cpp |8 src/Te

[LyX/master] TocWidget: Remove possibly dangling BufferView pointer

2016-12-31 Thread Guillaume Munch
commit cde3f6b84cb965b6258cde2ab19f02a160e0d268 Author: Guillaume Munch <g...@lyx.org> Date: Sat Dec 31 15:16:15 2016 +0100 TocWidget: Remove possibly dangling BufferView pointer --- src/frontends/qt4/TocModel.cpp | 17 +++-- src/frontends/qt4/TocModel.h|5 ++--

[LyX/master] Fix memory leak with WordLists

2016-12-31 Thread Guillaume Munch
commit 9a9288d67dac1cdbd76372b1c0e0b7a25708cc09 Author: Guillaume Munch <g...@lyx.org> Date: Sat Dec 31 15:16:15 2016 +0100 Fix memory leak with WordLists https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg198230.html --- src/LyX.cpp |1 - src/WordList.cpp

[LyX/master] Remove outdated comment

2016-12-31 Thread Guillaume Munch
commit 550567d8f2a8ae9f4893cf3ed325a429e798 Author: Guillaume Munch <g...@lyx.org> Date: Sat Dec 31 15:01:12 2016 +0100 Remove outdated comment UpdateToolbars is no longer slow --- src/frontends/qt4/TocWidget.cpp |6 ++ 1 files changed, 2 insertions(+), 4 del

[LyX/master] Status bar information for InsetMathKern

2016-12-27 Thread Guillaume Munch
commit 750cbde62e6e9214b06a8537d65a202d1bfc9619 Author: Guillaume Munch <g...@lyx.org> Date: Tue Dec 27 19:25:46 2016 +0100 Status bar information for InsetMathKern \mkern is invisible in mathed as a consequence of 10c8d51b. Add information in the status ba

[LyX/2.2.x] Fix regression of 88603655

2016-12-27 Thread Guillaume Munch
commit b692e3a484aa18c0bf43bfae179a407bff1c8094 Author: Georg Baum Date: Sun Aug 21 20:34:40 2016 +0200 Fix regression of 88603655 The XHTML entries were added in the wrong field, if they are given we need extra xhtml requires. The order is inconsistent, there

[LyX/master] Validate html

2016-12-08 Thread Guillaume Munch
commit c96faefdae4b3b73dc6f02e244373ab17a117a6f Author: Guillaume Munch <g...@lyx.org> Date: Thu Dec 8 17:21:19 2016 +0100 Validate html Qt html is based on html 4. is in fact optional, but is mandatory around . --- src/Converter.cpp |4 ++-- 1 files chan

[LyX/master] Fix compilation with MSVC

2016-12-08 Thread Guillaume Munch
commit a7b993143e2bd30a4ea0f69c4cd9dc9e98f3f21d Author: Guillaume Munch <g...@lyx.org> Date: Thu Dec 8 16:27:45 2016 +0100 Fix compilation with MSVC --- src/Encoding.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/Encoding.cpp b/src/Encoding.cpp

[LyX/master] GuiAlert: Convert html to plain text on console output

2016-12-04 Thread Guillaume Munch
commit f9528c63c8482fcaa9325b1df262b9356f4e63b9 Author: Guillaume Munch <g...@lyx.org> Date: Sun Dec 4 18:28:03 2016 +0100 GuiAlert: Convert html to plain text on console output --- src/frontends/alert.h|4 src/frontends/qt4/GuiAlert.cpp

[LyX/master] Cosmetic changes to the needauth dialogs

2016-12-04 Thread Guillaume Munch
commit 588d939722f4a516e8e4a932086e574bc3b13065 Author: Guillaume Munch <g...@lyx.org> Date: Sun Dec 4 18:28:03 2016 +0100 Cosmetic changes to the needauth dialogs * Use rich text for this complicated message * More concise * Fix line breaking

[LyX/master] Remove useless return leftover from earlier code

2016-12-04 Thread Guillaume Munch
commit b329b471d4d9edc112375c0e587a8e95bfed9398 Author: Guillaume Munch <g...@lyx.org> Date: Sun Dec 4 18:28:02 2016 +0100 Remove useless return leftover from earlier code --- src/frontends/qt4/GuiSymbols.cpp |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git

[LyX/master] Improve prediction of block outside covered areas

2016-12-04 Thread Guillaume Munch
commit dbcbf305b2525493b4dea2530af4f91fe7ca436c Author: Guillaume Munch <g...@lyx.org> Date: Sun Dec 4 18:28:02 2016 +0100 Improve prediction of block outside covered areas --- src/frontends/qt4/GuiSymbols.cpp | 17 - 1 files changed, 12 insertions(+), 5 del

[LyX/2.2.x] Work around dangling pointer

2016-12-03 Thread Guillaume Munch
commit adb00dbcf803298651609c0afac02bc4cb3db003 Author: Guillaume Munch <g...@lyx.org> Date: Wed Sep 28 21:57:54 2016 +0200 Work around dangling pointer This pointer has been removed in master, but backporting the workaround is enough. (cherry picked from

[LyX/master] GuiSymbols: Improve the tooltip

2016-12-03 Thread Guillaume Munch
commit 6f07721187b8a3bc4ea9a9eb632b2f2b11fa0791 Author: Guillaume Munch <g...@lyx.org> Date: Sat Dec 3 23:35:15 2016 +0100 GuiSymbols: Improve the tooltip --- src/frontends/qt4/GuiSymbols.cpp | 31 +-- 1 files changed, 21 insertions(+), 10 deletions(-)

[LyX/master] GuiSymbols: show all symbols when UseNonTeXFonts

2016-12-03 Thread Guillaume Munch
commit 3a73b822a57b9d5f990b0356c4bf29bbd1d31a87 Author: Guillaume Munch <g...@lyx.org> Date: Sat Dec 3 23:35:15 2016 +0100 GuiSymbols: show all symbols when UseNonTeXFonts --- src/Cursor.cpp |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/Cursor

[LyX/master] Check the validity of an item before querying its tooltip

2016-12-03 Thread Guillaume Munch
commit 851ed60e49233f12138f2a8a5bc737dd8edc1b3d Author: Guillaume Munch <g...@lyx.org> Date: Sat Dec 3 23:35:15 2016 +0100 Check the validity of an item before querying its tooltip In case data() does not handle invalid items. --- src/frontends/qt4/ToolTipFormatter.cpp

[LyX/master] GuiSymbols: Better handling of empty blocks

2016-12-03 Thread Guillaume Munch
commit ee0e95aafb99bbc29818f95b7654c9a3a72f167b Author: Guillaume Munch <g...@lyx.org> Date: Sat Dec 3 23:35:15 2016 +0100 GuiSymbols: Better handling of empty blocks * endInsertRow was incorrectly placed before endResetModel, sometimes leading to bad access by th

  1   2   3   4   5   >