[LyX/2.2.2-staging] fix #10199 Non-encodable characters with XeTeX and utf8-plain

2016-07-25 Thread Guillaume Munch
commit 5198fdfc0b8638f3764c88843ea8863ec8b48656 Author: Günter Milde Date: Sat Jun 11 13:54:33 2016 +0200 fix #10199 Non-encodable characters with XeTeX and utf8-plain XeTeX with TeX fonts is only safe with ASCII input encoding (see #9740) and we therefore force "ascii" when ex

[LyX/2.2.x] status.22x

2016-07-25 Thread Guillaume Munch
commit 72ce4519de0933660d246944ca2266e0d26b0d94 Author: Guillaume Munch Date: Sat Apr 16 23:23:03 2016 +0100 status.22x --- status.22x | 75 1 files changed, 75 insertions(+), 0 deletions(-) diff --git a/status.22x b/status

[LyX/2.2.x] status.22x

2016-07-25 Thread Guillaume Munch
commit 9f04fc1c90b53d04ac884f75d10d74a5ebab6624 Author: Guillaume Munch Date: Sun Apr 17 15:32:12 2016 +0100 status.22x --- status.22x |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/status.22x b/status.22x index e823d13..f71780f 100644 --- a/status.22x +++ b

[LyX/2.2.x] Whitespace

2016-07-25 Thread Guillaume Munch
commit 5b976a5ebc6782ecfadb3e34c6ff074916d788be Author: Guillaume Munch Date: Fri Apr 29 22:29:27 2016 +0100 Whitespace --- src/frontends/qt4/TocWidget.cpp | 14 +++--- src/frontends/qt4/TocWidget.h |6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git

[LyX/2.2.x] Correct col spacing in Cases environment

2016-07-25 Thread Guillaume Munch
commit e3ab552ccb55f976d5395a346e0035f863cd30fa Author: Guillaume Munch Date: Fri Apr 8 20:24:12 2016 +0200 Correct col spacing in Cases environment --- src/mathed/InsetMathCases.cpp |6 ++ src/mathed/InsetMathCases.h |2 ++ 2 files changed, 8 insertions(+), 0 deletions

[LyX/2.2.x] Raise the maxlastfiles cap

2016-07-25 Thread Guillaume Munch
commit 36611a9ba81d94e1a2a5758407906b8143f90ea6 Author: Guillaume Munch Date: Wed Jan 13 01:30:05 2016 + Raise the maxlastfiles cap This only changes the maximum value that the user can choose in the UI, not the default value. --- src/LyXRC.cpp |5 ++--- src/LyXRC.h

[LyX/2.2.x] Display the correct horizontal alignment in AMS environments

2016-07-25 Thread Guillaume Munch
commit 06a62c48941fcfe32f74f629c3f072401efe77b2 Author: Guillaume Munch Date: Sun Dec 13 03:32:32 2015 + Display the correct horizontal alignment in AMS environments A longstanding problem... (related: #1861) The columns in AMS math environments have a fixed alignment

[LyX/2.2.x] Do not omit the starting space when copying (#9995)

2016-07-25 Thread Guillaume Munch
commit 4fb103180e5a03fca420d894c3fd2bdb06331d1a Author: Guillaume Munch Date: Tue Mar 1 13:39:43 2016 + Do not omit the starting space when copying (#9995) The offending code appears to have been introduced a long time ago. My understanding is that it is no longer relevant

[LyX/2.2.x] Disable certain change tracking commands when there are no changes

2016-07-25 Thread Guillaume Munch
commit 0e8a5be36858e0fe1edea2d2c3ec4bc93b71f3b4 Author: Guillaume Munch Date: Tue May 3 22:15:21 2016 +0100 Disable certain change tracking commands when there are no changes Fix TODO --- src/BufferView.cpp |6 +- src/Changes.cpp|2 ++ 2 files changed, 3

[LyX/2.2.x] Sanitize InsetMathHull and add a check for mutability in LFUN_MATH_MUTATE

2016-07-25 Thread Guillaume Munch
commit 9bf7d99def0364fc3693355e17adde9d4dcf307e Author: Guillaume Munch Date: Mon Dec 14 01:54:27 2015 + Sanitize InsetMathHull and add a check for mutability in LFUN_MATH_MUTATE Remove in particular all comparisons < and >= involving HullType. Add a guard t

[LyX/2.2.x] Show review toolbar when outputting changes

2016-07-25 Thread Guillaume Munch
commit 1a836459fbc492c031a3b3761b7b0a765ca0754a Author: Guillaume Munch Date: Thu May 5 22:01:19 2016 +0100 Show review toolbar when outputting changes "Output changes" alters the preamble even in the absence of tracked changes. Therefore, not being able to notice

[LyX/2.2.x] Automatically show the review toolbar if the document has tracked changes (#8738)

2016-07-25 Thread Guillaume Munch
commit c3acdb9c7c7395bd299317ecab82b8076203ace2 Author: Guillaume Munch Date: Sat Jan 30 23:14:36 2016 + Automatically show the review toolbar if the document has tracked changes (#8738) For efficiency, we add a new flag to the buffer indicating when changes are

[LyX/2.2.x] Fix the display of column spacing in AMS environments

2016-07-25 Thread Guillaume Munch
commit 1adb4efe60ef3123efbeaf9d9e9bce4a22e1abad Author: Guillaume Munch Date: Sun Dec 20 20:56:34 2015 + Fix the display of column spacing in AMS environments AMS align environment should have some spacing between odd and even columns. Add a new virtual method

[LyX/2.2.x] getInnerText()

2016-07-25 Thread Guillaume Munch
commit 23edd3a1a2b77801a34cfc72dac1d17dc815d0d5 Author: Guillaume Munch Date: Tue May 3 21:09:15 2016 +0100 getInnerText() --- src/BufferView.cpp |4 +--- src/mathed/InsetMathHull.cpp |4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src

[LyX/2.2.x] TocWidget: Fix perf regression

2016-07-25 Thread Guillaume Munch
commit 90c8b0697f693df67f5746d31ce78bb3eee1a164 Author: Guillaume Munch Date: Sat Apr 30 00:25:46 2016 +0100 TocWidget: Fix perf regression 4d1ad336 fixed #9754 but caused perf issues by cancelling the gains of having a timer (introduced after #7138). This introduces in

[LyX/2.2.x] Improvements to the shortcuts preference dialog (#9174)

2016-07-25 Thread Guillaume Munch
commit 044933b0d929e759d0c7badf55eafc471623cc0c Author: Guillaume Munch Date: Tue Feb 23 20:46:19 2016 + Improvements to the shortcuts preference dialog (#9174) Ask the user for removing bindings when using the "restore" button (#9174). Fix the already

[LyX/2.2.x] TocWidget: clean-up the timer logic

2016-07-25 Thread Guillaume Munch
commit 5bfdaef9806426c51981ed0d4c03f6833d80b6ee Author: Guillaume Munch Date: Fri Apr 29 22:48:53 2016 +0100 TocWidget: clean-up the timer logic The timer logic introduced to solve bug #7138 was not entirely reliable; in particular it resulted in spurious updates (noticeable

[LyX/2.2.x] status.22x

2016-07-25 Thread Guillaume Munch
commit a5e2024fc43d374475ae922fb00fe7d096347d23 Author: Guillaume Munch Date: Sat Apr 30 16:07:51 2016 +0100 status.22x --- status.22x |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/status.22x b/status.22x index eb6625a..a7d4994 100644 --- a/status.22x

[LyX/2.2.x] GuiChanges: provide feedback when there are no more changes

2016-07-25 Thread Guillaume Munch
commit 098867535303e85ee284ae8e45336d2370f555fd Author: Guillaume Munch Date: Tue May 3 20:40:28 2016 +0100 GuiChanges: provide feedback when there are no more changes Remove FIXMEs: date and time localisation --- src/Author.cpp | 10 ++ src/Author.h

[LyX/2.2.x] status.22x

2016-07-25 Thread Guillaume Munch
commit bc40386a6e9b5f85ca2d4d048e676a8c33671677 Author: Guillaume Munch Date: Fri May 6 01:35:42 2016 +0100 status.22x --- status.22x |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/status.22x b/status.22x index cfe0a4d..1574258 100644 --- a/status.22x +++ b

[LyX/2.2.x] TocWidget: fix an erroneous collapse and optimise updates based on profiling

2016-07-25 Thread Guillaume Munch
commit c69426d7f57e72e3bc9640ea5e86f721c04fa0e1 Author: Guillaume Munch Date: Sun May 8 23:56:55 2016 +0100 TocWidget: fix an erroneous collapse and optimise updates based on profiling TocModels::reset() in GuiView::structureChanged() collapses the TocWidget, and therefore

[LyX/master] C++11 supports thread-safe initialization of statics

2016-07-31 Thread Guillaume Munch
commit 2fd2e657458f571df373a1b3fba1e6a33c8f6d59 Author: Guillaume Munch Date: Sat Jul 30 20:28:44 2016 +0100 C++11 supports thread-safe initialization of statics A static local variable is guaranteed to be initialized only once, and in time. Lambda expressions can be

[LyX/master] Perf comments: getFormatFromFile slows LyX startup considerably

2016-07-31 Thread Guillaume Munch
commit 0a8b7f6a5740f4b4f976eb308841ad3b98166015 Author: Guillaume Munch Date: Thu Jul 28 16:52:14 2016 +0100 Perf comments: getFormatFromFile slows LyX startup considerably It is currently called on hundreds of files: settings, layouts, icons, cached graphics files (incl

[LyX/master] Add an option to layout2layout to convert to a particular format

2016-07-31 Thread Guillaume Munch
commit 77511ea1d57c0718ed0d72fa4e7a7669774d950b Author: Guillaume Munch Date: Fri Jul 22 20:52:29 2016 +0100 Add an option to layout2layout to convert to a particular format --- lib/scripts/layout2layout.py | 70 +++--- 1 files changed, 52 insertions

[LyX/master] Fix "scroll here" feature of scrollbar (#10311)

2016-07-31 Thread Guillaume Munch
commit 4d7b912ca1890b5b0b3ed29568b7091a7e7baef0 Author: Guillaume Munch Date: Fri Jul 29 21:27:13 2016 +0100 Fix "scroll here" feature of scrollbar (#10311) Prevent setRange() from causing a recursive call to scrollTo(). Reduces three calls of scrollTo() to one ca

[LyX/master] Basic implementation of QSignalBlocker for qt4

2016-07-31 Thread Guillaume Munch
commit bc8eb059db9f25b0cb44af0a26fba13170971f40 Author: Guillaume Munch Date: Fri Jul 29 21:18:43 2016 +0100 Basic implementation of QSignalBlocker for qt4 --- src/frontends/qt4/qt_helpers.h | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src

[LyX/master] Use call_once to ensure something is only called once

2016-07-31 Thread Guillaume Munch
commit 22d7ba642415f576e9553b174166d8c17b945f39 Author: Guillaume Munch Date: Sat Jul 30 20:46:29 2016 +0100 Use call_once to ensure something is only called once This is thread-safe. --- src/graphics/PreviewLoader.cpp | 15 --- 1 files changed, 8 insertions(+), 7

[LyX/master] Make static counters atomic

2016-07-31 Thread Guillaume Munch
commit 46d8dfc6c2fe3c75687bee773933a9fc7aec95c2 Author: Guillaume Munch Date: Sun Jul 10 16:50:19 2016 +0100 Make static counters atomic This ensures thread-safety (requires: gcc >= 4.6, MSVC >= 2015) --- src/Paragraph.cpp

[LyX/master] Enable to specify the target format for converting the local layout

2016-07-31 Thread Guillaume Munch
commit a584c8176d409f9154995eb6829d2438302e1dd8 Author: Guillaume Munch Date: Sat Jul 23 15:29:40 2016 +0100 Enable to specify the target format for converting the local layout * New constant LYXFILE_LAYOUT_FORMAT in src/TextClass.cpp. This determines the layout format

[LyX/master] Fix aliasing logic for polylines

2016-08-01 Thread Guillaume Munch
commit 0090af19d321991487a61a068e4547d091eafda0 Author: Guillaume Munch Date: Mon Aug 1 20:50:46 2016 +0100 Fix aliasing logic for polylines --- src/frontends/qt4/GuiPainter.cpp |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiPainter.cpp b

[LyX/master] Replace static with thread_local when used for caching

2016-08-01 Thread Guillaume Munch
commit 82d4f1a446260333ef1590f3622196e7c76e414d Author: Guillaume Munch Date: Sun Jul 31 00:42:51 2016 +0100 Replace static with thread_local when used for caching thread_local is a per-thread static variable, so it is thread-safe and can be used for caching purpose

[LyX/master] Fix embarrassing logic mistake

2016-08-03 Thread Guillaume Munch
commit 096afc733b85a15c0f7a55f9af12796d4e55e54a Author: Guillaume Munch Date: Wed Aug 3 22:11:00 2016 +0100 Fix embarrassing logic mistake Thanks Richard for pointing at it. --- src/insets/ExternalTransforms.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[LyX/master] Partially revert "Replace static with thread_local when used for caching"

2016-08-04 Thread Guillaume Munch
commit 0e672fed21251e2eb8238dee64d3366f02b81b5a Author: Guillaume Munch Date: Thu Aug 4 13:30:47 2016 +0100 Partially revert "Replace static with thread_local when used for caching" As noticed by Stephan, clang on Mac is nowhere near to support thread_local for s

[LyX/master] Commands to select the posix variant for the mingw cross-compilation script

2016-08-12 Thread Guillaume Munch
commit 02b747396e1bf798bca0b7c1ca1ea1b939e1acef Author: Guillaume Munch Date: Sun Aug 7 13:13:08 2016 +0100 Commands to select the posix variant for the mingw cross-compilation script The win32 thread model of gcc does not support the and headers yet. --- development/cmake

[LyX/master] Assertions when doing Export As... (#10321)

2016-08-15 Thread Guillaume Munch
commit 5ded0d002d216f630b7e95f07e551c795c96828b Author: Guillaume Munch Date: Thu Aug 4 17:00:21 2016 +0100 Assertions when doing Export As... (#10321) Fix assertion with gcc 6: The comparison function must be a strict weak orderings and not give x < x. Fix assert

[LyX/master] Remove unused variable warning and remove preprocessor switch.

2016-08-21 Thread Guillaume Munch
commit 193cda6e48bb591675d401041cbff862cc61d869 Author: Guillaume Munch Date: Sat Aug 20 16:05:41 2016 +0100 Remove unused variable warning and remove preprocessor switch. --- src/graphics/PreviewLoader.cpp | 27 +-- 1 files changed, 9 insertions(+), 18 deletions

[LyX/2.2.x] Fix "scroll here" feature of scrollbar (#10311)

2016-08-26 Thread Guillaume Munch
commit 49ce94f636ba3d6513724fd7b00969cd39f596eb Author: Guillaume Munch Date: Fri Jul 29 21:27:13 2016 +0100 Fix "scroll here" feature of scrollbar (#10311) Prevent setRange() from causing a recursive call to scrollTo(). Reduces three calls of scrollTo() to one ca

[LyX/2.2.x] Basic implementation of QSignalBlocker for qt4

2016-08-26 Thread Guillaume Munch
commit 2da2f6c00c4ef9b88e769f18234c4d0400997ea1 Author: Guillaume Munch Date: Fri Jul 29 21:18:43 2016 +0100 Basic implementation of QSignalBlocker for qt4 (cherry picked from commit bc8eb059db9f25b0cb44af0a26fba13170971f40) --- src/frontends/qt4/qt_helpers.h | 18

[LyX/master] Fix the compare_locale function by relying on Qt's (#9030)

2016-08-27 Thread Guillaume Munch
commit efbec203202e5ff1322aa44a7ecd1ec53d17c552 Author: Guillaume Munch Date: Sun Aug 28 01:25:41 2016 +0100 Fix the compare_locale function by relying on Qt's (#9030) --- src/support/lstrings.cpp | 19 +-- 1 files changed, 1 insertions(+), 18 deletions(-) diff --

[LyX/master] Fix Unicode use in Format's prettyname

2016-08-27 Thread Guillaume Munch
commit cb0a4c6639f5901b3d1d76900e44195347037a34 Author: Guillaume Munch Date: Sun Aug 28 01:27:37 2016 +0100 Fix Unicode use in Format's prettyname The field prettyname can accept Unicode and therefore must be parsed into a docstring. Little simplification of the

[LyX/2.2.x] LyXToolBox: a QToolBox with minimum size management

2016-08-27 Thread Guillaume Munch
commit c8381f787322656bb9ae82202a640ddd9aa2de0a Author: Guillaume Munch Date: Tue Mar 22 21:57:17 2016 + LyXToolBox: a QToolBox with minimum size management The purpose of this custom widget is to allow the use of a QToolBox in a limited area. The stock QToolBox does not

[LyX/2.2.x] status.22x.

2016-08-27 Thread Guillaume Munch
commit 8a42918b2f19b6ec515d6cba48bc6bfc9f53f6e4 Author: Guillaume Munch Date: Sun Aug 28 01:51:16 2016 +0100 status.22x. --- status.22x |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/status.22x b/status.22x index 55f0033..6a05597 100644 --- a/status.22x +++ b

[LyX/2.2.x] LaTeX highlighter: make at a letter in the user preamble

2016-08-27 Thread Guillaume Munch
commit 1dc8278fefa5477fb745468fac3fabdd322cb415 Author: Guillaume Munch Date: Fri Jul 15 17:45:47 2016 +0100 LaTeX highlighter: make at a letter in the user preamble Syntax highlighting now provides the appropriate cue that the user preamble is inside \makeatletter

[LyX/master] Trivial clean-up

2016-08-27 Thread Guillaume Munch
commit 76d0c6759feed4eb6a84623ef0b5873f007301a9 Author: Guillaume Munch Date: Sun Aug 28 02:34:34 2016 +0100 Trivial clean-up --- src/frontends/qt4/LaTeXHighlighter.cpp |3 +-- src/frontends/qt4/LaTeXHighlighter.h |5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff

[LyX/master] Change "Format" into "Formats"

2016-08-28 Thread Guillaume Munch
commit 0779b3c36cb693bdb85aea7a155f4384b49c4902 Author: Guillaume Munch Date: Sun Aug 28 16:51:15 2016 +0100 Change "Format" into "Formats" The plural form seems more appropriate and the tag [[output]] is added for disambiguation (e.g. for the French transl

[LyX/master] Action.cpp: replace a reference with a shared_ptr

2016-08-28 Thread Guillaume Munch
commit 4d99112056410762c720e8dfe2c859ff84c4a8b3 Author: Guillaume Munch Date: Wed Aug 3 22:06:20 2016 +0100 Action.cpp: replace a reference with a shared_ptr Replace the member reference to FuncRequest in Action.cpp with a shared_ptr. Compared to copying the FuncRequest, the

[LyX/master] amend 4d991120

2016-09-18 Thread Guillaume Munch
commit 8da87f9dbf65f99f371ef9c3834e846c3fbe1c81 Author: Guillaume Munch Date: Sun Sep 18 14:43:26 2016 +0100 amend 4d991120 --- src/frontends/qt4/Menus.cpp |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/frontends/qt4/Menus.cpp b/src/frontends/qt4/Menus.cpp

[LyX/master] Better title for ViewSource

2016-09-21 Thread Guillaume Munch
commit ca58674267b2c050b3b53402c9414b6bd697dc0a Author: Guillaume Munch Date: Sun Aug 28 21:57:17 2016 +0100 Better title for ViewSource The title is changed to "LaTeX (pdflatex) Preview", etc. depending on the format. The actual default format is computed.

[LyX/2.2.3-staging] Change "Output" into "Formats"

2016-09-21 Thread Guillaume Munch
commit 9ddfa717f273fdbc47b8e01ca719c5641344ae78 Author: Guillaume Munch Date: Sun Aug 28 16:51:15 2016 +0100 Change "Output" into "Formats" This reverts commit 030f4c6d1e56f94122d5e4fae08ac6a2f2b4c5cf. The plural form seems more appropriate and the tag

[LyX/2.2.3-staging] Better title for ViewSource

2016-09-21 Thread Guillaume Munch
commit dfc1ebb4806f8af1e29b3a0075b6585c5403d401 Author: Guillaume Munch Date: Sun Aug 28 21:57:17 2016 +0100 Better title for ViewSource The title is changed to "LaTeX (pdflatex) Preview", etc. depending on the format. The actual default format is computed.

[LyX/2.2.3-staging] status.22x

2016-09-21 Thread Guillaume Munch
commit b1ffe775359f62043770d24aa3ec0cc4fab8f977 Author: Guillaume Munch Date: Thu Sep 22 00:11:16 2016 +0200 status.22x --- status.22x |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/status.22x b/status.22x index 29ee35f..b835299 100644 --- a/status.22x +++ b

[LyX/2.2.3-staging] amend b1ffe775359f62043770d24aa3ec0cc4fab8f977

2016-09-21 Thread Guillaume Munch
commit 7f7d473eb1cd84a22e1f5739220e10e724016f69 Author: Guillaume Munch Date: Thu Sep 22 00:45:57 2016 +0200 amend b1ffe775359f62043770d24aa3ec0cc4fab8f977 --- status.22x |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/status.22x b/status.22x index b835299

[LyX/2.2.3-staging] Better error message when try to bind a Hidden LFUN

2016-09-23 Thread Guillaume Munch
commit 4b1dc57d3b5a0691e3d28b2dc11ebe35ff8c41e6 Author: Guillaume Munch Date: Tue Jul 5 21:38:24 2016 +0200 Better error message when try to bind a Hidden LFUN (cherry picked from commit 1f2d7f4db93aa76ae54e75efb52d9359b4ea289f) --- src/frontends/qt4/GuiPrefs.cpp | 12

[LyX/2.2.3-staging] Prioritize the shortcuts from the work areas

2016-09-23 Thread Guillaume Munch
commit 2514a6baba1614fe1ed5c215e33c053f03c239ee Author: Guillaume Munch Date: Mon Jul 4 04:23:32 2016 +0200 Prioritize the shortcuts from the work areas * Fix bug #10261 : KDE smartly adds conflicting accelerators. * Prevent bugs like #9495 in the future. Issues

[LyX/2.2.3-staging] status.22x

2016-09-23 Thread Guillaume Munch
commit 82dbbcd220a33d8a21db9b1eb5e1a95fa3f0813a Author: Guillaume Munch Date: Fri Sep 23 23:29:26 2016 +0200 status.22x --- status.22x |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/status.22x b/status.22x index 6d4862c..89d5bae 100644 --- a/status.22x +++ b

[LyX/master] explicit operator bool

2016-09-23 Thread Guillaume Munch
commit f0959cc292c4bea1171114e83696aa6fc661db7c Author: Guillaume Munch Date: Sat Sep 3 23:51:10 2016 +0100 explicit operator bool --- src/DocIterator.h |4 +--- src/frontends/qt4/TocWidget.cpp |2 +- src/insets/InsetTabular.cpp |2 +- 3 files changed, 3

[LyX/master] Remove option to disable texrow

2016-09-23 Thread Guillaume Munch
commit 3fd2398a28c8d2c85d1bb2c33c6ca15bfc398b54 Author: Guillaume Munch Date: Sun Sep 4 03:02:47 2016 +0100 Remove option to disable texrow I suspect that the gain was negligible, yet it made debugging and maintainance harder. --- src/Buffer.cpp |2

[LyX/master] TexRow: clean up and simplify

2016-09-23 Thread Guillaume Munch
commit a4c17ac937f07b603efef247c32c69bd21629e48 Author: Guillaume Munch Date: Mon Jun 20 03:47:40 2016 +0100 TexRow: clean up and simplify In particular merge the current_row_ with the rowlist_, which simplifies the logic. Pass by value for small PODs. --- src

[LyX/master] Helpers to set selections to arbitrary DocIterators

2016-09-23 Thread Guillaume Munch
commit c36ada6b9682f43f1c0840bcbd3d8396590af3cb Author: Guillaume Munch Date: Sun Sep 4 22:17:32 2016 +0100 Helpers to set selections to arbitrary DocIterators --- src/BufferView.cpp | 12 src/BufferView.h |2 ++ src/Cursor.cpp | 26

[LyX/master] Fix: shift-mouse selection doesn't work well across insets

2016-09-23 Thread Guillaume Munch
commit c9fc5bf1c69fb2a24e928a79be25e7415819aab1 Author: Guillaume Munch Date: Sun Sep 4 23:24:57 2016 +0100 Fix: shift-mouse selection doesn't work well across insets (FIXME in the code, no corresponding ticket found even though it is pretty annoying) --- src/BufferVie

[LyX/master] Reverse search: select a whole row

2016-09-23 Thread Guillaume Munch
commit 5fbbf0f281b8543899036419e05242d7feac9a59 Author: Guillaume Munch Date: Sat Sep 3 23:54:05 2016 +0100 Reverse search: select a whole row TexRow now returns a range {start, end} when looking up a particular row. Reverse-search now selects the whole range instead of

[LyX/master] Fix type of pos

2016-09-23 Thread Guillaume Munch
commit f1582a2acbf1e55cd4b4206ce457af8521f012d5 Author: Guillaume Munch Date: Sat Sep 3 23:52:55 2016 +0100 Fix type of pos --- src/OutputParams.cpp |2 +- src/OutputParams.h |2 +- src/TexRow.cpp |6 +++--- src/TexRow.h |8 4 files changed, 9

[LyX/master] Fix compilation with MSVC 2015

2016-09-23 Thread Guillaume Munch
commit b40184ce7198e744ea5cdc2747a0e4d585709869 Author: Guillaume Munch Date: Sat Sep 24 00:50:03 2016 +0200 Fix compilation with MSVC 2015 --- src/TexRow.cpp |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/TexRow.cpp b/src/TexRow.cpp index b4366e0..6f0e804

[LyX/master] Clarify that the Dialog::lyxview_ pointer is in fact a reference

2016-09-29 Thread Guillaume Munch
commit 3d7ede605978461a6bd67b250925fcc8bf8404c3 Author: Guillaume Munch Date: Wed Sep 28 23:04:10 2016 +0200 Clarify that the Dialog::lyxview_ pointer is in fact a reference --- src/frontends/qt4/Dialog.cpp | 28 ++-- src/frontends/qt4/Dialog.h |4 ++-- 2

[LyX/master] Work around dangling pointer

2016-09-29 Thread Guillaume Munch
commit 79a947c9041a92805e9ac4b65594753410016fa5 Author: Guillaume Munch Date: Wed Sep 28 21:57:54 2016 +0200 Work around dangling pointer A better solution would be to entirely get rid of this borrowed pointer with unclear lifetime, but this requires to introduce a new signal

[LyX/master] Fix horizontal lines in math arrays

2016-09-29 Thread Guillaume Munch
commit c663c9ab3ccfe87571296d840273c7fb5e43f1a3 Author: Guillaume Munch Date: Wed Sep 28 16:05:10 2016 +0200 Fix horizontal lines in math arrays They must end at the end of the last column, not at the start of the last+1 column. --- src/mathed/InsetMathGrid.cpp | 12

[LyX/master] Further fixes due to remarks by Pavel Sanda Sep. 5, 2016

2016-10-03 Thread Guillaume Munch
commit e9046da86f7848c94b986620b20c594b2a749bee Author: Martin Vermeer Date: Tue Sep 6 06:23:29 2016 +0300 Further fixes due to remarks by Pavel Sanda Sep. 5, 2016 --- lib/doc/EmbeddedObjects.lyx| 25 + lib/doc/Makefile.am|3 ++- lib/doc/clipar

[LyX/master] ... and RELEASE-NOTES

2016-10-03 Thread Guillaume Munch
commit 63e2ac459745c1f5a650edf1b59fa7f9ff7f680c Author: Martin Vermeer Date: Tue Sep 6 06:34:20 2016 +0300 ... and RELEASE-NOTES --- lib/RELEASE-NOTES |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/RELEASE-NOTES b/lib/RELEASE-NOTES index 8ec209e..d4b537a 10064

[LyX/master] Continue with the documentation of the SVG+LaTeX external template

2016-10-03 Thread Guillaume Munch
commit da2bb33527075c0a2286be26222f680211079367 Author: Guillaume Munch Date: Tue Oct 4 00:51:31 2016 +0200 Continue with the documentation of the SVG+LaTeX external template --- lib/doc/EmbeddedObjects.lyx | 109 --- 1 files changed, 102

[LyX/master] Initial commit of Inkscape SVG LaTeX + PDF support

2016-10-03 Thread Guillaume Munch
commit 10c88aa58f9d93dd7e56c8a2cbd300c5b3524313 Author: Martin Vermeer Date: Sat Sep 3 17:17:45 2016 +0300 Initial commit of Inkscape SVG LaTeX + PDF support Based on Daniel Groger's work of five years ago, with minor changes http://www.mail-archive.com/lyx-devel%40lists.l

[LyX/master] Make the border of hullRegexp pixel perfect

2016-10-05 Thread Guillaume Munch
commit 5aa3164d21b4097b8bf104387deab7d7ca7ab9ac Author: Guillaume Munch Date: Thu Oct 6 01:32:21 2016 +0200 Make the border of hullRegexp pixel perfect --- src/mathed/InsetMathHull.cpp |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/mathed

[LyX/master] Fix borders of InsetMathGrid

2016-10-05 Thread Guillaume Munch
commit 324e5571cafe7838a1d3ecd5cb2b3dd7e8d54bbe Author: Guillaume Munch Date: Thu Sep 29 20:20:33 2016 +0200 Fix borders of InsetMathGrid * New virtual functions leftMargin() and rightMargin() to get rid of drawWithMargin() * Factor and rewrite code for borders

[LyX/master] Add the customary 1-pixel gap before MathMacroTemplate to better see cursor

2016-10-05 Thread Guillaume Munch
commit 2717ef114c655bd0680aefb27820a2196dacdc22 Author: Guillaume Munch Date: Thu Oct 6 01:32:47 2016 +0200 Add the customary 1-pixel gap before MathMacroTemplate to better see cursor --- src/mathed/MathMacroTemplate.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[LyX/master] Remove question marks from Windows dialogs

2016-10-09 Thread Guillaume Munch
commit cf26d53e037cf59b5816cdb2f5c7d835b83d480a Author: Daniel Ramöller Date: Mon Oct 3 20:20:16 2016 +0200 Remove question marks from Windows dialogs --- src/frontends/qt4/DialogView.h |5 - src/frontends/qt4/GuiDialog.cpp |5 - 2 files changed, 8 insertions(+), 2 deletio

[LyX/master] Remove unused variable warning

2016-10-09 Thread Guillaume Munch
commit 071eed8664d0f4372f0a10087ce73e80eb1d4fca Author: Guillaume Munch Date: Sun Oct 9 19:47:50 2016 +0200 Remove unused variable warning --- src/mathed/InsetMathGrid.cpp |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/mathed/InsetMathGrid.cpp b/src/mathed

[LyX/master] Add Daniel to credits

2016-10-09 Thread Guillaume Munch
commit e45bf2fbb99ea0286f692302eea55a8779c4b186 Author: Guillaume Munch Date: Sun Oct 9 20:12:31 2016 +0200 Add Daniel to credits --- lib/CREDITS |7 +-- lib/generate_contributions.py | 16 2 files changed, 17 insertions(+), 6 deletions

[LyX/master] Implement reverse-search in the source panel

2016-10-16 Thread Guillaume Munch
commit 01d6333db21d3ed2c16f7c958fa204ff1c52044a Author: Guillaume Munch Date: Wed Sep 7 01:36:55 2016 +0100 Implement reverse-search in the source panel Double-clicking on a line in the source panel triggers the selection of the corresponding line in the Buffer View. --- src

[LyX/master] Use otexstringstream for the captions of InsetCaptionables

2016-10-16 Thread Guillaume Munch
commit 676a0639c505d52336e3228c44c2515ccbbaf34a Author: Guillaume Munch Date: Sat Sep 24 00:49:00 2016 +0200 Use otexstringstream for the captions of InsetCaptionables * Enable TexRow for InsetListings caption. * Move getCaption* from InsetText to InsetCaptionable

[LyX/master] Get rid of dirty BufferView pointer

2016-10-16 Thread Guillaume Munch
commit e0e765f6a98ac58aa7a7f422a747f8db3bff615d Author: Guillaume Munch Date: Mon Oct 10 00:36:26 2016 +0200 Get rid of dirty BufferView pointer Now that there is a signal to inform the controller when the buffer view has changed, it is no longer necessary to store a

[LyX/master] New virtual method frontend::Dialog::on_BufferViewChanged()

2016-10-16 Thread Guillaume Munch
commit f4c390712ea835cc04a3da13b0fff59db66cf359 Author: Guillaume Munch Date: Wed Sep 28 21:33:44 2016 +0200 New virtual method frontend::Dialog::on_BufferViewChanged() This is called anytime the buffer view attached to the GuiView changes. --- src/frontends/qt4/Dialog.h

[LyX/master] Fixes to reverse search

2016-10-16 Thread Guillaume Munch
commit a95e933f513a743628ab698a6c0f6b3a9b4fa7a0 Author: Guillaume Munch Date: Mon Oct 10 18:07:01 2016 +0200 Fixes to reverse search * In doubt, select up to the end of the paragraph * Correct offset after artificial new lines --- src/TexRow.cpp | 17

[LyX/master] TexRow for InsetArgument

2016-10-16 Thread Guillaume Munch
commit 6edbc1da66ed5116f6062c854c8c5a18a40f2bf4 Author: Guillaume Munch Date: Sat Sep 24 01:12:38 2016 +0200 TexRow for InsetArgument --- src/insets/InsetArgument.cpp | 23 +-- src/insets/InsetArgument.h |6 +++--- 2 files changed, 16 insertions(+), 13

[LyX/master] Streamify a docstring

2016-10-16 Thread Guillaume Munch
commit 1b4f5970a465eb04dba8fe898f0a13aa5ae25a74 Author: Guillaume Munch Date: Tue Sep 27 03:22:35 2016 +0200 Streamify a docstring prepare ground for TexRow InPreamble --- src/BufferParams.cpp | 97 +++--- 1 files changed, 45

[LyX/master] Gcc 4.6 compatibility :(

2016-10-16 Thread Guillaume Munch
commit f3e099960a97c4f8ae50230449a9c413e6851618 Author: Guillaume Munch Date: Fri Sep 23 01:42:57 2016 +0200 Gcc 4.6 compatibility :( --- src/TexRow.h | 10 ++ src/texstream.cpp |3 ++- 2 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/TexRow.h b/src

[LyX/master] Fix probable omission

2016-10-16 Thread Guillaume Munch
commit f42379a7d6e127b94510e243197c05473fd0a30b Author: Guillaume Munch Date: Tue Sep 27 03:37:02 2016 +0200 Fix probable omission Upon close inspection I do not think that this twist was necessary. --- src/Paragraph.cpp |4 +--- 1 files changed, 1 insertions(+), 3 deletions

[LyX/master] Fit cursor and update screen after reverse-search

2016-10-16 Thread Guillaume Munch
commit 9b4926c6e6ca80a772ce1a58bf817027d70b0e01 Author: Guillaume Munch Date: Tue Oct 11 11:21:40 2016 +0200 Fit cursor and update screen after reverse-search --- src/frontends/qt4/GuiView.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/frontends/qt4

[LyX/master] TexRow for InPreamble

2016-10-16 Thread Guillaume Munch
commit 1f6c451ee3e41f31464cabcdabceb23045443175 Author: Guillaume Munch Date: Sun Sep 25 12:38:53 2016 +0200 TexRow for InPreamble This enables error reporting for the preamble, provided the preamble is written using the new InPreamble layouts. In the future, I find

[LyX/master] Factor code after buffer change

2016-10-16 Thread Guillaume Munch
commit c438d794ff34eb6874132e8e4648add9b32ce533 Author: Guillaume Munch Date: Mon Oct 10 00:14:57 2016 +0200 Factor code after buffer change --- src/frontends/qt4/GuiView.cpp | 12 +++- src/frontends/qt4/GuiView.h |2 ++ 2 files changed, 9 insertions(+), 5 deletions

[LyX/master] texstring and otexstringstream

2016-10-16 Thread Guillaume Munch
commit f3256ee2cddabbe8d763013525c3e27f6ad0b3dc Author: Guillaume Munch Date: Sun Sep 4 03:21:19 2016 +0100 texstring and otexstringstream texstring is a pair of a docstring and a corresponding TexRow. The row count in the TexRow has to match the number of lines in the

[LyX/master] Docstringify getLongString in general and preamble snippets in particular

2016-10-16 Thread Guillaume Munch
commit 1f945177b9628b213c60872df88f2d155c3d6c54 Author: Guillaume Munch Date: Sun Sep 25 12:37:40 2016 +0200 Docstringify getLongString in general and preamble snippets in particular Prepare ground for TexRow InPreamble --- src/Buffer.cpp| 10 src

[LyX/master] New LFUN paragraph-goto id_start pos_start id_end pos_end

2016-10-16 Thread Guillaume Munch
commit 67805de7de949dbe8fd1468f4d17fc44f4171721 Author: Guillaume Munch Date: Mon Sep 5 03:23:24 2016 +0100 New LFUN paragraph-goto id_start pos_start id_end pos_end This selects from start to end. id_end must be in the same buffer as id_start. --- src/BufferView.cpp

[LyX/master] Take advantage of new bufferViewChanged signal

2016-10-16 Thread Guillaume Munch
commit de19b8fc2d255f0e7bcbd14c31db1317b7f8d479 Author: Guillaume Munch Date: Mon Oct 10 00:35:35 2016 +0200 Take advantage of new bufferViewChanged signal --- src/frontends/qt4/GuiDocument.cpp |7 +++ src/frontends/qt4/GuiDocument.h |3 +++ src/frontends/qt4/GuiView.cpp

[LyX/master] Some compilers are worried that a struct is not the same as a class

2016-10-17 Thread Guillaume Munch
commit 0aab06c4680c0cb800f0c5d4479f790e760d6433 Author: Guillaume Munch Date: Tue Oct 18 00:54:37 2016 +0200 Some compilers are worried that a struct is not the same as a class --- src/BufferView.h |2 +- src/LaTeXFeatures.h|2 +- src/insets/InsetFloat.h

[LyX/master] Change tracking cue for InsetCaption

2016-10-17 Thread Guillaume Munch
commit 9c0281126e5b819a6c10afa1bb585b76cdc4dca2 Author: Guillaume Munch Date: Tue Oct 18 01:06:03 2016 +0200 Change tracking cue for InsetCaption --- src/insets/InsetCaption.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/insets/InsetCaption.h b/src/insets

[LyX/2.2.x] Better title for ViewSource

2016-10-22 Thread Guillaume Munch
commit a36706c3ffe9570588962a5ad3206d57e63ffcfd Author: Guillaume Munch Date: Sun Aug 28 21:57:17 2016 +0100 Better title for ViewSource The title is changed to "LaTeX (pdflatex) Preview", etc. depending on the format. The actual default format is computed.

[LyX/2.2.x] Change "Output" into "Formats"

2016-10-22 Thread Guillaume Munch
commit ef7e344318ecd1d22cadd134ebdedbf5eb81e312 Author: Guillaume Munch Date: Sun Aug 28 16:51:15 2016 +0100 Change "Output" into "Formats" This reverts commit 030f4c6d1e56f94122d5e4fae08ac6a2f2b4c5cf. The plural form seems more appropriate and the tag

[LyX/2.2.x] Prioritize the shortcuts from the work areas

2016-10-22 Thread Guillaume Munch
commit bf588abfbda3c9c9ac221f6e05a7ae998cee1866 Author: Guillaume Munch Date: Mon Jul 4 04:23:32 2016 +0200 Prioritize the shortcuts from the work areas * Fix bug #10261 : KDE smartly adds conflicting accelerators. * Prevent bugs like #9495 in the future. Issues

[LyX/2.2.x] Whitespace

2016-10-22 Thread Guillaume Munch
commit 60bef140b562e0b2a17c7f522061b4eed1e62a20 Author: Richard Heck Date: Wed Sep 21 16:30:58 2016 -0400 Whitespace (was: "Status and configure for 2.2.3." form 2.2.3-staging It became empty after rebasing 2.2.3-staging onto 2.2.3.) --- status.22x |4 1 files ch

[LyX/2.2.x] status.22x

2016-10-22 Thread Guillaume Munch
commit 190e88e1483bc8b6827301e96db1c1304a022bb6 Author: Guillaume Munch Date: Fri Sep 23 23:29:26 2016 +0200 status.22x --- status.22x |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/status.22x b/status.22x index 4bb7398..6ff81ab 100644 --- a/status.22x

[LyX/2.2.x] amend b1ffe775359f62043770d24aa3ec0cc4fab8f977

2016-10-22 Thread Guillaume Munch
commit fe960404fc8ef292ddc24ac99a3556646cb5a838 Author: Guillaume Munch Date: Thu Sep 22 00:45:57 2016 +0200 amend b1ffe775359f62043770d24aa3ec0cc4fab8f977 --- status.22x |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/status.22x b/status.22x index 0c453d4

  1   2   3   4   5   >