Re: Memory leak in master?

2017-02-24 Thread Jean-Marc Lasgouttes
Hi Guillaume, I thought about it again, and you are right, of course. JMarc Le 24 février 2017 22:10:17 GMT+01:00, Guillaume Munch a écrit : >Le 22/02/2017 à 18:03, Jean-Marc Lasgouttes a écrit : >> It would be nice to hide these subtleties in the Cache >implementation, >> if

Re: Regular expression search

2017-02-24 Thread Guillaume Munch
Le 24/02/2017 à 20:54, Kornel Benko a écrit : Am Freitag, 24. Februar 2017 um 17:30:39, schrieb Jean-Marc Lasgouttes src/lyxfind.cpp:escape_map.push_back(P("\\", "(?:|backslash)")); src/lyxfind.cpp:escape_map.push_back(P("~",

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

2017-02-24 Thread Guillaume Munch
Le 22/02/2017 à 14:59, Jean-Marc Lasgouttes a écrit : Le 18/02/2017 à 23:05, Guillaume Munch a écrit : commit 71623b88b2c613dd4ab826a9783a53e840bcd6e1 Author: Guillaume Munch Date: Sat Feb 18 19:12:55 2017 +0100 Generalise the deletion protection mechanism from math to

Re: Memory leak in master?

2017-02-24 Thread Guillaume Munch
Le 22/02/2017 à 18:03, Jean-Marc Lasgouttes a écrit : Le 21/02/2017 à 20:13, Guillaume Munch a écrit : BTW, why don't you use Cache::contains in getLayout like you do for other cache uses? This is explained in the documentation of Cache::object. It is enough to check for a null pointer in

Re: Regular expression search

2017-02-24 Thread Kornel Benko
Am Freitag, 24. Februar 2017 um 17:30:39, schrieb Jean-Marc Lasgouttes > Le 24/02/2017 à 17:17, Kornel Benko a écrit : > > Little net-search gives for example: > > http://stackoverflow.com/questions/13526884/inconsistency-between-boostregex-and-stdregex > >

How far is 2.3.0?

2017-02-24 Thread Jean-Marc Lasgouttes
Hi there, A good subject before the week-end: what do we need to do before declaring feature freeze for 2.3? Personally I have finished a cycle or breaking/fixing the math editor and would like to refrain from doing new big architectural changes. I only have two or three patches pending,

Re: Regular expression search

2017-02-24 Thread Jean-Marc Lasgouttes
Le 24/02/2017 à 17:17, Kornel Benko a écrit : Little net-search gives for example: http://stackoverflow.com/questions/13526884/inconsistency-between-boostregex-and-stdregex http://stackoverflow.com/questions/7589672/boost-regex-vs-c11-regex

Re: Regular expression search

2017-02-24 Thread Kornel Benko
Am Freitag, 24. Februar 2017 um 15:16:48, schrieb Jean-Marc Lasgouttes > Le 24/02/2017 à 11:54, Kornel Benko a écrit : > >> I tried to bisect, but to my surprise could not find the associated commit. > >> The only difference was that for bisecting I used another compiler (gcc

Re: Regular expression search

2017-02-24 Thread Jean-Marc Lasgouttes
Le 24/02/2017 à 11:54, Kornel Benko a écrit : I tried to bisect, but to my surprise could not find the associated commit. The only difference was that for bisecting I used another compiler (gcc 4.8.4), while I otherwise use the version 6.1.0. So I rebuild lyx with gcc4.8, the error is gone.

Re: Regular expression search

2017-02-24 Thread Kornel Benko
Am Samstag, 26. November 2016 um 23:26:33, schrieb Scott Kostyshak > On Tue, Sep 27, 2016 at 02:12:49PM +0200, Kornel Benko wrote: > > > What are the differences between gcc5.3, 6.1 and 4.8? > > gcc4.8 Compiler does not support std_regex, flag = "--std=c++11" > > gcc5.3

Re: Regular expression search

2017-02-24 Thread Kornel Benko
Am Freitag, 24. Februar 2017 um 13:23:44, schrieb José Abílio Matos > On Tuesday, September 27, 2016 1:12:49 PM WET Kornel Benko wrote: > > What are the differences between gcc5.3, 6.1 and 4.8? > > gcc4.8 Compiler does not support std_regex, flag = "--std=c++11" > > gcc5.3

Re: Regular expression search

2017-02-24 Thread José Abílio Matos
On Tuesday, September 27, 2016 1:12:49 PM WET Kornel Benko wrote: > What are the differences between gcc5.3, 6.1 and 4.8? > gcc4.8 Compiler does not support std_regex, flag = "--std=c++11" > gcc5.3 Compiler supports std_regex, flag = "--std=c++14" > gcc6.1 Compiler supports std_regex, flag =

Re: Use examples directory

2017-02-24 Thread Kornel Benko
Ping ... Am Samstag, 21. Januar 2017 um 11:02:47, schrieb Kornel Benko > Setting the dir in preferences has no effect, > I always get the system-examples directory. > > This is in master and in branch. > Try "File->Open...->Examples" > > Kornel signature.asc Description:

Re: Regular expression search

2017-02-24 Thread Kornel Benko
Ping ... Am Dienstag, 27. September 2016 um 14:12:49, schrieb Kornel Benko > Am Montag, 26. September 2016 um 19:06:58, schrieb Kornel Benko > > > > > The test keytest/findadv-05 shows a new error. > > > > (Repeating commands from the test case) > > 1.) Open