Re: Google Code In

2015-01-13 Thread Cyrille Artho
Jean-Marc Lasgouttes wrote: Le 13/01/2015 01:42, Cyrille Artho a écrit : The downside is that we have yet another tag, and that many developers may not recognize GCI (but perhaps know about GSoC). For the latter, tasks that take 2 - 3 hours for a relatively inexperienced young developer are ide

Re: 2 dataloss warnings after merge of remote-tracking branch

2015-01-13 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > Le 11/01/2015 11:53, Georg Baum a écrit : >> Because they are on by default in MSVC and off by default in gcc. You can >> get similar ones with gcc by calling it with -Wconversion (but that >> outputs many more). > > gcc 4.9 has -Wfloat-conversion. I tried it, but it

Re: [LyX/master] Remove direct calls of exit()

2015-01-13 Thread Georg Baum
Vincent van Ravesteijn wrote: > Anyone knows what "return 2" means ? It means that the syntaxfile could not be read, but this is not documented. I guess that was an attempt of mine (years ago) to make the tex2lyx return code more meaningful, but I don't remember. > I don't see anything in the

Re: [LyX/master] Remove direct calls of exit()

2015-01-13 Thread Vincent van Ravesteijn
Georg Baum schreef op 9-1-2015 om 21:44: commit ca6fba31fbc44e4b4ed6457b16f3f0d2ee28b7f0 Author: Georg Baum Date: Fri Jan 9 21:43:45 2015 +0100 Remove direct calls of exit() This is a preparation for using QCoreApplication. @@ -1047,9 +1048,11 @@ int main(int argc, char *

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-13 Thread Jean-Marc Lasgouttes
Le 13/01/2015 17:28, Enrico Forestieri a écrit : You don't like warnings? Recent compilers tend to be too much verbose and anyway give more warnings by default, without the need of encouraging them ;) Well, I can compile with latest clang without warning (except in Enchant++, that I cannot c

String Freeze for 2.1.3

2015-01-13 Thread Richard Heck
No further commits to 2.1.x that change strings until further notice. Translators, please prepare translations for the release of 2.1.3. Please have these to us by 27 January. I'd like to do the release for 1 February. Richard Heck

Re: LyX 2.1.3?

2015-01-13 Thread Richard Heck
On 01/12/2015 07:14 PM, Uwe Stöhr wrote: What new features in LyX 2.1.3 do I have to document? I'm not sure there is anything new that needs documenting, but the list of such things is in status.21x. Richard

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-13 Thread Enrico Forestieri
On Tue, Jan 13, 2015 at 05:11:38PM +0100, Jean-Marc Lasgouttes wrote: > Le 13/01/2015 17:09, Enrico Forestieri a écrit : > >I don't think so, provided that you have a way to override the default > >settings. In any case, the same set of configure options should not > >change the default settings, i

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-13 Thread Jean-Marc Lasgouttes
Le 13/01/2015 17:09, Enrico Forestieri a écrit : I don't think so, provided that you have a way to override the default settings. In any case, the same set of configure options should not change the default settings, in general, and this is now almost the case. Almost, because previoulsy I was no

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-13 Thread Enrico Forestieri
On Tue, Jan 13, 2015 at 04:02:52PM +0100, Jean-Marc Lasgouttes wrote: > Le 13/01/2015 15:10, Enrico Forestieri a écrit : > >Hmm... I still get "-g" even after "make distclean" and rerunning configure. > > Is it better now? Yes, thanks. > I made the choice of never touching CXXFLAGS, but only AM_

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-13 Thread Jean-Marc Lasgouttes
Le 13/01/2015 15:10, Enrico Forestieri a écrit : Hmm... I still get "-g" even after "make distclean" and rerunning configure. Is it better now? I made the choice of never touching CXXFLAGS, but only AM_CXXFLAGS. Tradionally, autoconf (tries to) set -g and -O in CXXFLAGS. Do you think this is

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-13 Thread Jean-Marc Lasgouttes
Le 13/01/2015 14:59, Jean-Marc Lasgouttes a écrit : Le 13/01/2015 14:43, Enrico Forestieri a écrit : C++ Compiler user flags: -g -O2 So you have explicitly set CXXFLAGS somewhere, or config.status remember the old setting in its cache. Can you re-run ./configure with options? I have remov

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-13 Thread Enrico Forestieri
On Tue, Jan 13, 2015 at 02:59:56PM +0100, Jean-Marc Lasgouttes wrote: > Le 13/01/2015 14:43, Enrico Forestieri a écrit : > >On Tue, Jan 13, 2015 at 12:18:31PM +0100, Jean-Marc Lasgouttes wrote: > >>commit ff42fea8ab70dc048bb28dc51120ae30309a3e81 > >>Author: Jean-Marc Lasgouttes > >>Date: Tue Jan

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-13 Thread Jean-Marc Lasgouttes
Le 13/01/2015 14:43, Enrico Forestieri a écrit : On Tue, Jan 13, 2015 at 12:18:31PM +0100, Jean-Marc Lasgouttes wrote: commit ff42fea8ab70dc048bb28dc51120ae30309a3e81 Author: Jean-Marc Lasgouttes Date: Tue Jan 13 11:48:07 2015 +0100 Cleanup autoconf compiler support Now I always get "

Re: [LyX/master] Cleanup autoconf compiler support

2015-01-13 Thread Enrico Forestieri
On Tue, Jan 13, 2015 at 12:18:31PM +0100, Jean-Marc Lasgouttes wrote: > commit ff42fea8ab70dc048bb28dc51120ae30309a3e81 > Author: Jean-Marc Lasgouttes > Date: Tue Jan 13 11:48:07 2015 +0100 > > Cleanup autoconf compiler support Now I always get "-g" even if I use "--disable-debug --enable-

Re: 2 dataloss warnings after merge of remote-tracking branch

2015-01-13 Thread Jean-Marc Lasgouttes
Le 13/01/2015 13:52, Vincent van Ravesteijn a écrit : I googled it for you: ;) "Note: This class template is deprecated as of C++11. unique_ptr is a new facility with a similar functionality, but with improved security (no fake copy assignments), added features (deleters) and support for arrays.

Re: 2 dataloss warnings after merge of remote-tracking branch

2015-01-13 Thread Vincent van Ravesteijn
> > Another thing if we use C++11 mode is that auto_ptr is deprecated. Who knows > what to do about that? > I googled it for you: ;) "Note: This class template is deprecated as of C++11. unique_ptr is a new facility with a similar functionality, but with improved security (no fake copy assignment

Re: 2 dataloss warnings after merge of remote-tracking branch

2015-01-13 Thread Jean-Marc Lasgouttes
Le 13/01/2015 11:41, Vincent van Ravesteijn a écrit : gcc 4.9 has -Wfloat-conversion. I tried it, but it really gives many warnings (see below) and I am uncomfortable with using it. I wonder though why MSVC only gives a few of them. Did you only attached a part of the output ? There are not so

Re: 2 dataloss warnings after merge of remote-tracking branch

2015-01-13 Thread Vincent van Ravesteijn
On Tue, Jan 13, 2015 at 11:27 AM, Jean-Marc Lasgouttes wrote: > Le 11/01/2015 11:53, Georg Baum a écrit : >> >> Because they are on by default in MSVC and off by default in gcc. You can >> get similar ones with gcc by calling it with -Wconversion (but that >> outputs >> many more). > > > gcc 4.9 h

Re: 2 dataloss warnings after merge of remote-tracking branch

2015-01-13 Thread Jean-Marc Lasgouttes
Le 11/01/2015 11:53, Georg Baum a écrit : Because they are on by default in MSVC and off by default in gcc. You can get similar ones with gcc by calling it with -Wconversion (but that outputs many more). gcc 4.9 has -Wfloat-conversion. I tried it, but it really gives many warnings (see below)

Re: 2 dataloss warnings after merge of remote-tracking branch

2015-01-13 Thread Jean-Marc Lasgouttes
Le 13/01/2015 10:31, Vincent van Ravesteijn a écrit : I guess that when you use AntiAliasing, you would be able to actually draw non-integer widths. Don't know how Qt handles it though. The documentation does not mention it. JMarc

Re: 2 dataloss warnings after merge of remote-tracking branch

2015-01-13 Thread Vincent van Ravesteijn
On Tue, Jan 13, 2015 at 10:14 AM, Jean-Marc Lasgouttes wrote: > Le 13/01/2015 01:22, Uwe Stöhr a écrit : >> >> My change allowed to set the line width to any value you like. As i had >> to set a default width I chose 0.5 because this is already a LaTeX >> default width (if I remember correctly). >

Re: 2 dataloss warnings after merge of remote-tracking branch

2015-01-13 Thread Jean-Marc Lasgouttes
Le 13/01/2015 01:22, Uwe Stöhr a écrit : My change allowed to set the line width to any value you like. As i had to set a default width I chose 0.5 because this is already a LaTeX default width (if I remember correctly). Anyway, the thickness must be a float to allow full control of the line widt

Re: Google Code In

2015-01-13 Thread Jean-Marc Lasgouttes
Le 13/01/2015 01:42, Cyrille Artho a écrit : The downside is that we have yet another tag, and that many developers may not recognize GCI (but perhaps know about GSoC). For the latter, tasks that take 2 - 3 hours for a relatively inexperienced young developer are ideal. We could use code-in as