Re: C++ "good practices" regarding constifying a function parameter?

2016-08-08 Thread Scott Kostyshak
On Sun, Aug 07, 2016 at 12:48:35PM +0200, Abdelrazak Younes wrote: > I think one should think about c++11 as a new language if you really want to > take advantage of it. auto, range loop, new algorithm, etc are very nice but > mixing old style c++ and c++11 leads to confusing source code. Regardi

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

2016-08-08 Thread Kornel Benko
Am Montag, 8. August 2016 um 18:05:53, schrieb Guillaume Munch > Le 08/08/2016 à 17:16, Kornel Benko a écrit : > > Am Montag, 8. August 2016 um 15:55:15, schrieb Guillaume Munch > > > >> Le 07/08/2016 à 04:30, Scott Kostyshak a écrit : > >>> On Sat, Aug 06, 2016 at 06:51:54PM +0100, Guillaume Mu

Re: [LyX/master] Introduce "inverted" branch insets: These are branches whose content is output when a branch is NOT activated. Fixes bug #7698.

2016-08-08 Thread Scott Kostyshak
On Mon, Aug 08, 2016 at 12:40:29PM -0400, Richard Heck wrote: > > All right, so I ran "make updatetests", and I see a whole ton of errors > about layouts. But the diff that is produced is presumably all right, > since there are no branches to do anything with: From what I understand, this is expe

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

2016-08-08 Thread Guillaume Munch
Le 08/08/2016 à 17:16, Kornel Benko a écrit : Am Montag, 8. August 2016 um 15:55:15, schrieb Guillaume Munch Le 07/08/2016 à 04:30, Scott Kostyshak a écrit : On Sat, Aug 06, 2016 at 06:51:54PM +0100, Guillaume Munch wrote: Thanks for the explanations. After a few tries and turning off the ME

Re: Insert->Special Character->Protected Hyphen requires amsmath package

2016-08-08 Thread Richard Heck
On 08/08/2016 12:17 PM, Scott Kostyshak wrote: > On Sun, Aug 07, 2016 at 08:46:54AM +0100, Jean-Pierre Chrétien wrote: > >> So I suggest to turn on automatic loading of amsmath >> (that would be "\use_package amsmath 1" everywhere it is currently set to 0). >> It's not vital for the doc as only exp

Re: [LyX/master] Introduce "inverted" branch insets: These are branches whose content is output when a branch is NOT activated. Fixes bug #7698.

2016-08-08 Thread Richard Heck
All right, so I ran "make updatetests", and I see a whole ton of errors about layouts. But the diff that is produced is presumably all right, since there are no branches to do anything with: All I see is the change of format. Except in one case, where we have: diff --git a/src/tex2lyx/test/test-s

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

2016-08-08 Thread Kornel Benko
Am Montag, 8. August 2016 um 15:55:15, schrieb Guillaume Munch > Le 07/08/2016 à 04:30, Scott Kostyshak a écrit : > > On Sat, Aug 06, 2016 at 06:51:54PM +0100, Guillaume Munch wrote: > > > >> Thanks for the explanations. After a few tries and turning off the > >> MERGE_FILES flag, I got: > >> ..

Re: Insert->Special Character->Protected Hyphen requires amsmath package

2016-08-08 Thread Scott Kostyshak
On Sun, Aug 07, 2016 at 08:46:54AM +0100, Jean-Pierre Chrétien wrote: > So I suggest to turn on automatic loading of amsmath > (that would be "\use_package amsmath 1" everywhere it is currently set to 0). > It's not vital for the doc as only experienced users will modify the files, > but it may be

Re: QFile::remove: Empty or null file name

2016-08-08 Thread Scott Kostyshak
On Mon, Aug 08, 2016 at 10:17:57AM +0100, Jean-Pierre Chrétien wrote: > Le 07/08/2016 à 23:24, Scott Kostyshak a écrit : > > On Sun, Aug 07, 2016 at 08:42:30AM +0100, Jean-Pierre Chrétien wrote: > > > Le 06/08/2016 à 16:36, Scott Kostyshak a écrit : > > > > > QFile::remove: Empty or null file na

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

2016-08-08 Thread Guillaume Munch
Le 07/08/2016 à 04:30, Scott Kostyshak a écrit : On Sat, Aug 06, 2016 at 06:51:54PM +0100, Guillaume Munch wrote: Thanks for the explanations. After a few tries and turning off the MERGE_FILES flag, I got: ...master/src/frontends/qt4/GuiApplication.cpp:128:21: fatal error: xcb/xcb.h: No such

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

2016-08-08 Thread Kornel Benko
Am Montag, 8. August 2016 um 15:42:16, schrieb Guillaume Munch > Le 06/08/2016 à 19:38, Kornel Benko a écrit : > > Am Samstag, 6. August 2016 um 18:51:54, schrieb Guillaume Munch > > > >> > >> Thanks for the explanations. After a few tries and turning off the > >> MERGE_FILES flag, I got: > >>

Re: QFile::remove: Empty or null file name

2016-08-08 Thread Jean-Pierre Chrétien
Le 07/08/2016 à 23:24, Scott Kostyshak a écrit : On Sun, Aug 07, 2016 at 08:42:30AM +0100, Jean-Pierre Chrétien wrote: Le 06/08/2016 à 16:36, Scott Kostyshak a écrit : QFile::remove: Empty or null file name Did you notice that new occurrences of this message appear even if you do not do

Re: Should the author of a file format change update the file format of docs in master?

2016-08-08 Thread Uwe Stöhr
(I still don't have Internet at home and cannot have a look regularly.) However, my opinion is not to update the docs, examples etc to a new format unless they contain features of the new format. ‎E.g. Jürgen's latest fileformat only affects Beamer documents. So it is OK to update the Beamer ex