Re: 2 compilation questions

2015-12-07 Thread Jean-Marc Lasgouttes
Indeed libintl is not used anymore since 2.1. Jmarc Le 8 décembre 2015 02:18:57 GMT+01:00, "Uwe Stöhr" a écrit : >- we store our frontends files in a folder named qt4. Should we split >it >up to qt5 and qt4 to address specific changes? If not we can rename the > >folder to

Re: [LyX/master] Explain why we do not update the local layout

2015-12-07 Thread Kornel Benko
Am Dienstag, 8. Dezember 2015 um 07:39:50, schrieb Scott Kostyshak > + The root reason for this is that we do support converting layouts to older The root reason for this is that we do *not* support converting layouts to older > + layout formats, as we do for the .lyx file

Re: [LyX/master] Fix inputenc for some templates.

2015-12-07 Thread Guenter Milde
On 2015-11-21, Scott Kostyshak wrote: > On Sat, Nov 21, 2015 at 11:09:09PM +0100, Günter Milde wrote: >> commit 8482b2169bf9c58cac988a59e15ffa7656121427 >> Author: Günter Milde >> Date: Sat Nov 21 23:06:24 2015 +0100 >> Fix inputenc for some templates. >> Some templates

use FindCXX11Compiler.cmake also for MSVC

2015-12-07 Thread Kornel Benko
Looking into cmake internal handling of MSVC, maybe this patch should 1.) Unify use of find_package(CXX11Compiler) 2.) Allow using C++11 features for MSVC 3.) using std_regex for MSVC I cannot test, since I don't have MSVC. In _my_ implementation of cmake modules (cmake 3.4) the MSVC_VERSION is

Re: Loading open files from last session

2015-12-07 Thread Jean-Marc Lasgouttes
Le 07/12/2015 00:16, Andrew Parsloe a écrit : Under Tools > Preferences > Look & Feel > Document Handling, the first check box of the initial three, "Restore windows layouts and geometries", doesn't work as far as split view windows are concerned. (surely included under "layouts and

Re: [LyX/master] Spanish Tutorial.lyx: preamble code proposed by Günther

2015-12-07 Thread Guenter Milde
On 2015-12-06, Kornel Benko wrote: > Am Sonntag, 6. Dezember 2015 um 05:25:35, schrieb Uwe Stöhr > >> Am 04.12.2015 um 09:58 schrieb Guenter Milde: ... >> For the compilation with system fonts we should do nothing since we >> cannot know the system status of the user. If

Re: #8796: theorems-named module incompatible with some theorem numbering modules

2015-12-07 Thread Paul A. Rubin
Thanks. I've been getting ticket updates from the issue tracker. Not sure what your "little problem" was, but ignorance is usually bliss. :-) Paul On 12/06/2015 11:44 PM, LyX Ticket Tracker wrote: #8796: theorems-named module incompatible with some theorem numbering modules

Re: Loading open files from last session

2015-12-07 Thread Guillaume Munch
Le 07/12/2015 16:05, Guillaume Munch a écrit : Le 07/12/2015 15:52, Jean-Marc Lasgouttes a écrit : It is a missing feature AFAICS. Please open a ticket. That's and I meant

Re: [LyX/master] Fix a debug comment

2015-12-07 Thread Scott Kostyshak
On Mon, Dec 07, 2015 at 03:51:32PM +0100, Jean-Marc Lasgouttes wrote: > Le 07/12/2015 08:02, Scott Kostyshak a écrit : > >commit acadb4d6083bc5dcf85d98041fbf6e717fc818ec > >Author: Scott Kostyshak > >Date: Mon Dec 7 02:02:04 2015 -0500 > > > > Fix a debug comment > >-

Re: Loading open files from last session

2015-12-07 Thread Guillaume Munch
Le 07/12/2015 15:52, Jean-Marc Lasgouttes a écrit : Le 07/12/2015 00:16, Andrew Parsloe a écrit : Under Tools > Preferences > Look & Feel > Document Handling, the first check box of the initial three, "Restore windows layouts and geometries", doesn't work as far as split view windows are

Re: [LyX/master] ctest export test documentation update

2015-12-07 Thread Kornel Benko
Am Montag, 7. Dezember 2015 um 17:58:16, schrieb Günter Milde > commit 6df72ef648b38ff858f24b6d10b3d1326f4cb0ca > Author: Günter Milde > Date: Mon Dec 7 17:56:43 2015 +0100 > > ctest export test documentation update > > diff --git a/lib/doc/Development.lyx

Re: We now include both png and svgz?

2015-12-07 Thread Georg Baum
Scott Kostyshak wrote: > From what I understand, there is support for the change. I think Georg's > main concern was that on some systems it might not work, but Enrico > seems confident that it will work even on less commonly used systems and > even for 4.8.x. This is fine with me as well, I had

Re: We now include both png and svgz?

2015-12-07 Thread Scott Kostyshak
On Mon, Dec 07, 2015 at 08:43:03PM +0100, Georg Baum wrote: > Scott Kostyshak wrote: > > > From what I understand, there is support for the change. I think Georg's > > main concern was that on some systems it might not work, but Enrico > > seems confident that it will work even on less commonly

Re: Loading open files from last session

2015-12-07 Thread Andrew Parsloe
On 8/12/2015 5:06 a.m., Guillaume Munch wrote: Le 07/12/2015 16:05, Guillaume Munch a écrit : Le 07/12/2015 15:52, Jean-Marc Lasgouttes a écrit : It is a missing feature AFAICS. Please open a ticket. That's and I meant

Re: Should we release 2.2.0 with Qt 5.5.1?

2015-12-07 Thread Georg Baum
Uwe Stöhr wrote: > Am 06.12.2015 um 12:32 schrieb Georg Baum: > >>> Good news: I am able to compile LyX 2.2.0alpha2 with Qt 5.5.1 using MSVC >>> 2013 (32bit). >> >> Did you recompile the dependencies iconv, hunspell and zlib with MSVC >> 2013? > > Of course not. I don't know how to do this and

Re: using std_regex on Windows leads to 135 compilation errors

2015-12-07 Thread Georg Baum
Uwe Stöhr wrote: > Now i erased everything again, applied your patches and get e.g. for > support.lib: > > support.lib(_allinone_const.obj) : error LNK2019: unresolved external > symbol "private: class boost::basic_regex boost::regex_traits > &

Re: CMake problem when compiling with Qt 5.5 and MSVC 2013

2015-12-07 Thread Georg Baum
Uwe Stöhr wrote: > When I compile LyX 2.2git with Qt5.5 and MSVC 2013 in install mode this > command is executed: > > msbuild INSTALL.vcxproj /p:Configuration=Release > > But this leads now to these errors: > > "D:\LyXGit\Master\compile-2013\INSTALL.vcxproj" (Standardziel) (1) -> >

Re: [LyX/master] Fix a debug comment

2015-12-07 Thread Georg Baum
Scott Kostyshak wrote: > Are you suggesting we add the directive? In any case, I did not realize > all of the debug comments in the file were like that. I should not have > changed one and instead should have changed them all. Or as perhaps you > are suggesting I should have changed none and then

Re: Latest changes in manuals

2015-12-07 Thread Georg Baum
Uwe Stöhr wrote: > Am 06.12.2015 um 13:52 schrieb Georg Baum: > >> http://www.lyx.org/trac/changeset/d879599cec4902a1a3ea7aa7a8d7d24815701036/lyxgit >>> or >>> >> http://www.lyx.org/trac/changeset/42536a561606290ebdb90c46badbb451487f5293/lyxgit >> >> None of these did change a path. > > they

[patch] Do not pretend that MSVC 12 can use dependencies compiled with MSVC 10

2015-12-07 Thread Georg Baum
First, for those who don't know, something about MSVC versions (it is easy to get confused there): MSVC 8: Microsoft Visual Studio 2005 MSVC 9: Microsoft Visual Studio 2008 MSVC 10: Microsoft Visual Studio 2010 Don't be mislead by the nice fit! MSVC 11: Microsoft Visual Studio 2012 From here on

Re: [LyX/master] Fix a debug comment

2015-12-07 Thread Jean-Marc Lasgouttes
I do not really care actually. I was maybe trying to start a flame war without knowing it :) JMarc Le 7 décembre 2015 21:14:51 GMT+01:00, Georg Baum a écrit : >Scott Kostyshak wrote: > >> Are you suggesting we add the directive? In any case, I did not >realize

compilation error with Re: We now include both png and svgz?

2015-12-07 Thread Uwe Stöhr
Am 07.12.2015 um 19:48 schrieb Enrico Forestieri: Done at db363ab1. Now I get a compilation error: Generating qrc_Resources.cpp RCC: Error in 'D:/LyXGit/Master/compile-2013/src/frontends/qt4/Resources.qrc' : Cannot find file 'D:/LyXGit/Master/lib/images/all-changes-accept.png' maybe

Re: Should we release 2.2.0 with Qt 5.5.1?

2015-12-07 Thread Uwe Stöhr
Am 07.12.2015 um 20:58 schrieb Georg Baum: So since I cannot compile iconv and friends with MSVC 2013, I cannot release a LyX 2.2 version? There are only two options: Either you recompile all dependencies (including qt btw, if no binary package compiled with MSVC 2013 is offered) Then LyX

Re: Should we release 2.2.0 with Qt 5.5.1?

2015-12-07 Thread Georg Baum
Uwe Stöhr wrote: > Am 07.12.2015 um 20:58 schrieb Georg Baum: > >>> So since I cannot compile iconv and friends with MSVC 2013, I cannot >>> release a LyX 2.2 version? >> >> There are only two options: Either you recompile all dependencies >> (including qt btw, if no binary package compiled with

Re: compilation error with Re: We now include both png and svgz?

2015-12-07 Thread Kornel Benko
Am Montag, 7. Dezember 2015 um 22:10:35, schrieb Uwe Stöhr > Am 07.12.2015 um 19:48 schrieb Enrico Forestieri: > > > Done at db363ab1. > > Now I get a compilation error: > >Generating qrc_Resources.cpp >RCC: Error in >

Re: compilation error with Re: We now include both png and svgz?

2015-12-07 Thread Kornel Benko
Am Montag, 7. Dezember 2015 um 22:38:48, schrieb Kornel Benko > Am Montag, 7. Dezember 2015 um 22:10:35, schrieb Uwe Stöhr > > Am 07.12.2015 um 19:48 schrieb Enrico Forestieri: > > > > > Done at db363ab1. > > > > Now I get a compilation error: > > > >

Re: Should we release 2.2.0 with Qt 5.5.1?

2015-12-07 Thread Uwe Stöhr
Am 07.12.2015 um 22:26 schrieb Georg Baum: >> Then LyX for Windows is dead. Not at all. But maybe I should stop trying to help with MSVC and use the time to study cross-compilation with mingw, the ROI is probably much better for this alternative. Why don't you install Windows and use MSVC? I

Re: Should we release 2.2.0 with Qt 5.5.1?

2015-12-07 Thread Uwe Stöhr
Am 07.12.2015 um 23:07 schrieb Uwe Stöhr: > I am now trying out this: > https://github.com/kahrl/gettext-msvc this worked fine. So I have now compiled all libraries with MSVC 2013. The remaining issue is now: The determination of the macro ICONV_CONST would need to be adjusted in cmake. The

Re: compilation error with Re: We now include both png and svgz?

2015-12-07 Thread Uwe Stöhr
Am 07.12.2015 um 22:53 schrieb Kornel Benko: That is not enough, you have also remove the object files many thanks! Now the error is gone. best regards Uwe

Re: CMake problem when compiling with Qt 5.5 and MSVC 2013

2015-12-07 Thread Uwe Stöhr
Am 07.12.2015 um 21:12 schrieb Georg Baum: When I compile LyX 2.2git with Qt5.5 and MSVC 2013 in install mode this command is executed: msbuild INSTALL.vcxproj /p:Configuration=Release But this leads now to these errors: Did you set the USED_STUDIO variable in build.bat to "Visual Studio 12

Re: We now include both png and svgz?

2015-12-07 Thread Enrico Forestieri
On Sun, Dec 06, 2015 at 09:12:11PM -0500, Scott Kostyshak wrote: > On Sun, Dec 06, 2015 at 03:08:47PM +0100, Enrico Forestieri wrote: > > On Sun, Dec 06, 2015 at 11:52:14AM +0100, Georg Baum wrote: > > > > > Jean-Marc Lasgouttes wrote: > > > > > > > Le 06/12/15 00:02, Scott Kostyshak a écrit : >

Re: #8796: theorems-named module incompatible with some theorem numbering modules

2015-12-07 Thread Richard Heck
On 12/07/2015 10:08 AM, Paul A. Rubin wrote: > Thanks. I've been getting ticket updates from the issue tracker. Not > sure what your "little problem" was, but ignorance is usually bliss. :-) All user names got deleted a few months ago. As in: ALL. Does the solution I committed look right to you?

Re: [LyX/master] build5.bat: a script to compile with Qt5 on Windows

2015-12-07 Thread Uwe Stöhr
Am 08.12.2015 um 01:34 schrieb Kornel Benko: The script lacks the cmake parameter '-DLYX_USE_QT=QT5'. Since the default is QT4, the compilation is without QT5. Thanks Kornel. However, when I start the compilation I see that QT5 is detected because I configured CMake with QT5. BTW. I need

Re: using std_regex on Windows leads to 135 compilation errors

2015-12-07 Thread Uwe Stöhr
Am 07.12.2015 um 21:03 schrieb Georg Baum: Yes, that is correct. Unfortunately I am now out of ideas. I found now the problem: LYX_USE_CXX11 is never set. I can test this by uncommenting this in line 15 of regex.h then the comilation works. I applied Kornel's patch for

Re: [LyX/master] build5.bat: a script to compile with Qt5 on Windows

2015-12-07 Thread Uwe Stöhr
Am 08.12.2015 um 01:59 schrieb Kornel Benko: Maybe you have more than 1 iconv.h? I had only one, but the one from the MSVC2010 build. Now it compiles! Many thanks and best regards Uwe

2 compilation questions

2015-12-07 Thread Uwe Stöhr
- we store our frontends files in a folder named qt4. Should we split it up to qt5 and qt4 to address specific changes? If not we can rename the folder to just "qt", right? - I could now compile the dependencies with MSVC. Thus also libintl. But in CMake I cannot see that libintl is actually

Re: using std_regex on Windows leads to 135 compilation errors

2015-12-07 Thread Kornel Benko
Am Dienstag, 8. Dezember 2015 um 02:09:55, schrieb Uwe Stöhr > Am 08.12.2015 um 02:07 schrieb Uwe Stöhr: > > > I applied Kornel's patch for FindCXX11Compiler.cmake and I have there > > > > set(LYX_USE_CXX11 1) > > set(CXX11_FLAG "") > > Of course I uncommented the IF for MSVC

Re: [LyX/master] Spanish Tutorial.lyx: preamble code proposed by Günther

2015-12-07 Thread Uwe Stöhr
Am 07.12.2015 um 15:57 schrieb Guenter Milde: Uwe, would you agree that we store non-TeX fonts in the documentation files wherever Latin Modern OTF fonts fail (Greek, Russian, CJK, ...)? Yes. Please go ahead. After this change the doc files will be frozen to give the translators a chance to

Re: using std_regex on Windows leads to 135 compilation errors

2015-12-07 Thread Uwe Stöhr
Am 08.12.2015 um 02:30 schrieb Kornel Benko: We have to set also CXX11COMPILER_FOUND set(LYX_USE_CXX11 1) set(CXX11_FLAG "") set(CXX11COMPILER_FOUND 1) This doesn't solve the problem. defined(LYX_USE_CXX11) is still false in regex.h regards Uwe

Re: [LyX/master] build5.bat: a script to compile with Qt5 on Windows

2015-12-07 Thread Kornel Benko
Am Dienstag, 8. Dezember 2015 um 01:24:04, schrieb Uwe Stöhr > commit 01e029202845d01c8f779a43d30193e4549dab53 > Author: Uwe Stöhr > Date: Tue Dec 8 01:23:54 2015 +0100 > > build5.bat: a script to compile with Qt5 on Windows > > This script

Re: [LyX/master] build5.bat: a script to compile with Qt5 on Windows

2015-12-07 Thread Kornel Benko
Am Dienstag, 8. Dezember 2015 um 01:43:10, schrieb Uwe Stöhr > Am 08.12.2015 um 01:34 schrieb Kornel Benko: > > > The script lacks the cmake parameter '-DLYX_USE_QT=QT5'. Since the default > > is QT4, the compilation is without QT5. > > Thanks Kornel. However, when I start

Re: using std_regex on Windows leads to 135 compilation errors

2015-12-07 Thread Uwe Stöhr
Am 08.12.2015 um 02:07 schrieb Uwe Stöhr: I applied Kornel's patch for FindCXX11Compiler.cmake and I have there set(LYX_USE_CXX11 1) set(CXX11_FLAG "") Of course I uncommented the IF for MSVC 2010 since I use MSVC 2013. So set(LYX_USE_CXX11 1) should always be executed but apparently it is

Re: using std_regex on Windows leads to 135 compilation errors

2015-12-07 Thread Kornel Benko
Am Dienstag, 8. Dezember 2015 um 02:20:25, schrieb Kornel Benko > Am Dienstag, 8. Dezember 2015 um 02:09:55, schrieb Uwe Stöhr > > > Am 08.12.2015 um 02:07 schrieb Uwe Stöhr: > > > > > I applied Kornel's patch for FindCXX11Compiler.cmake and I have there > > >

Re: using std_regex on Windows leads to 135 compilation errors

2015-12-07 Thread Kornel Benko
Am Dienstag, 8. Dezember 2015 um 02:38:10, schrieb Uwe Stöhr > Am 08.12.2015 um 02:30 schrieb Kornel Benko: > > > We have to set also CXX11COMPILER_FOUND > > > > set(LYX_USE_CXX11 1) > > set(CXX11_FLAG "") > > set(CXX11COMPILER_FOUND 1) > > This doesn't solve the problem. > >

Re: 2 compilation questions

2015-12-07 Thread Kornel Benko
Am Dienstag, 8. Dezember 2015 um 02:18:57, schrieb Uwe Stöhr > - we store our frontends files in a folder named qt4. Should we split it > up to qt5 and qt4 to address specific changes? If not we can rename the > folder to just "qt", right? > > - I could now compile the

Re: Should we release 2.2.0 with Qt 5.5.1?

2015-12-07 Thread Pavel Sanda
Uwe Stöhr wrote: > I don't want to sound rude, I just desperately need another developer on > Windows. I am close to quit LyX because I don't know compiler things and I > don't have enough spare time to learn this. When I go who can then provide > a native Windows build of LyX? Uwe, there is