64Bit build with msvc2015

2015-12-10 Thread Peter Kümmel
Here are patches needed for a Wimdow 64 build done with msvc2015 : https://github.com/syntheticpp/lyx/commits/msvc15-amd64 Most changes because long is only 32bit on Windows. http://www.viva64.com/en/t/0012/ Having a look at the tabe it seems nobody toke the coutage to make int 64 bit wide on

Bundled 3rdparty libraries

2015-12-10 Thread Peter Kümmel
https://github.com/syntheticpp/lyx/commits/3rdparty I would like to merge above Branch which adds src/3rdparty with stripped down sources of zlib iconv and hunspell. Build and usage of these libs is controlled by LYX_3RDPARTY_BUILD and has been trdted with mingw-cross, msvc2013 and msvc2015.

Installer with mingw build

2015-12-10 Thread Peter Kümmel
The automatic build now also builds iconv, hunspell, and zlib. Uwe, could you check if the downloadable zip is good enough as basis for a real installer? https://github.com/syntheticpp/LyX-bleeding-edge/blob/LyX-master-win32/README.md If this works, then we could even try to build the installer

Re: use FindCXX11Compiler.cmake also for MSVC

2015-12-10 Thread Kornel Benko
Am Donnerstag, 10. Dezember 2015 um 23:39:17, schrieb Peter Kümmel > On 10.12.2015 22:48, Kornel Benko wrote: > > Am Donnerstag, 10. Dezember 2015 um 21:12:36, schrieb Georg Baum > > > >> Kornel Benko wrote: > >> > >>> I am a bit lost, since the small snippet below does not compile on MSVC > >>

Re: A margin-al question

2015-12-10 Thread Guillaume Munch
Le 05/12/2015 21:03, Jean-Marc Lasgouttes a écrit : Le 05/12/15 07:17, Scott Kostyshak a écrit : On Fri, Dec 04, 2015 at 07:14:43PM -0500, Scott Kostyshak wrote: On Thu, Dec 03, 2015 at 10:10:15AM +0100, Jean-Marc Lasgouttes wrote: Le 30/11/2015 12:02, Scott Kostyshak a écrit : On Sun, Nov 29

Re: A margin-al question

2015-12-10 Thread Murat Yildizoglu
Sorry Scott, It seems that I have missed your original reply. I do not use the full screen mode, but even in a normal window, the letters are just touching the border of the window, without any gutter or margin. For me the text would be easier to read and manipulate if there was a small gutter a

Re: Style question

2015-12-10 Thread Richard Heck
On 12/10/2015 03:09 AM, Scott Kostyshak wrote: > On Wed, Dec 09, 2015 at 10:10:42AM +0100, Jean-Marc Lasgouttes wrote: >> Le 09/12/2015 06:54, Scott Kostyshak a écrit : >>> Regarding the following code: >>> >>> - >>> void Text::selectWord(Cursor & cur, word_location loc) >>> { >>> LBUFERR(thi

Re: use FindCXX11Compiler.cmake also for MSVC

2015-12-10 Thread Peter Kümmel
On 10.12.2015 22:48, Kornel Benko wrote: Am Donnerstag, 10. Dezember 2015 um 21:12:36, schrieb Georg Baum Kornel Benko wrote: I am a bit lost, since the small snippet below does not compile on MSVC (for unknown reason) template struct check { stati

Re: A margin-al question

2015-12-10 Thread Scott Kostyshak
On Sat, Dec 05, 2015 at 10:06:27PM +0100, Jean-Marc Lasgouttes wrote: > Le 29/11/15 23:18, Murat Yildizoglu a écrit : > >Hello, > >I would like to know if it would be too difficult for you to implement > >an option that permits us to fix the margin between the text's border > >and LyX's window bord

Re: A margin-al question

2015-12-10 Thread Scott Kostyshak
On Sat, Dec 05, 2015 at 10:03:49PM +0100, Jean-Marc Lasgouttes wrote: > Le 05/12/15 07:17, Scott Kostyshak a écrit : > >On Fri, Dec 04, 2015 at 07:14:43PM -0500, Scott Kostyshak wrote: > >>On Thu, Dec 03, 2015 at 10:10:15AM +0100, Jean-Marc Lasgouttes wrote: > >>>Le 30/11/2015 12:02, Scott Kostysha

Re: use FindCXX11Compiler.cmake also for MSVC

2015-12-10 Thread Kornel Benko
Am Donnerstag, 10. Dezember 2015 um 21:12:36, schrieb Georg Baum > Kornel Benko wrote: > > > I am a bit lost, since the small snippet below does not compile on MSVC > > (for unknown reason) > > > > > > template > > struct check > > { > > static_assert(s

Re: make distcheck: cannot remove '../../po/lyx.pot'

2015-12-10 Thread Georg Baum
Scott Kostyshak wrote: > Interesting idea. In this case, a git bisect would be worthless so I > will wait before doing it. Is there a way to test your theory? If we use > 'touch' to update a file and then try? I'd think so. Georg

Re: use FindCXX11Compiler.cmake also for MSVC

2015-12-10 Thread Georg Baum
Uwe Stöhr wrote: > So with a clean git tree one only had to apply the attached patch to get > cxx11 for MSVC but compiling leads to these 2 errors: > >D:\LyXGit\Master\src\frontends\qt4\GuiView.cpp(3357): error C3848: > expression having type 'const > std::_Bind (__thiscall lyx::Buffer::* )(

Re: use FindCXX11Compiler.cmake also for MSVC

2015-12-10 Thread Georg Baum
Kornel Benko wrote: > I am a bit lost, since the small snippet below does not compile on MSVC > (for unknown reason) > > > template > struct check > { > static_assert(sizeof(int) <= sizeof(T), "not big enough"); > }; > > typedef check> right_angle_bracke

Re: [LyX/master] Set default output format for manuals to PDF (pdflatex).

2015-12-10 Thread Kornel Benko
Am Donnerstag, 10. Dezember 2015 um 10:41:33, schrieb Günter Milde > commit 0529b40cc94a2202b14705ef40ba5ea90dc5882a > Author: Günter Milde > Date: Thu Dec 10 10:40:50 2015 +0100 > > Set default output format for manuals to PDF (pdflatex). > > Pdflatex is the recommended export

Re: #9899: SIGSEGV error in table with different font sizes

2015-12-10 Thread Tyler Grummett
Just upgraded to the new version and it is working. Previously simply selecting two cells with different fonts would make it crash, but now I can select both and change the fontsize to a uniform size as was the original intent. Thank you for your prompt replies! On Thu, Dec 10, 2015 at 7:31 PM, L

Re: compilation fails with gnu make

2015-12-10 Thread Stephan Witt
Am 10.12.2015 um 10:17 schrieb Guenter Milde : > Dear LyXers, > > compilation via `make` after a > ../lyx/configure --enable-build-type=release --with-version-suffix=-svn > failed with error > > make[3]: Entering directory '/usr/local/src/lyxbuild/lib' > GEN lyx-svn.desktop > make[3]: ***

compilation fails with gnu make

2015-12-10 Thread Guenter Milde
Dear LyXers, compilation via `make` after a ../lyx/configure --enable-build-type=release --with-version-suffix=-svn failed with error make[3]: Entering directory '/usr/local/src/lyxbuild/lib' GEN lyx-svn.desktop make[3]: *** No rule to make target 'images/all-changes-accept.png', needed b

Re: Style question

2015-12-10 Thread Scott Kostyshak
On Wed, Dec 09, 2015 at 10:10:42AM +0100, Jean-Marc Lasgouttes wrote: > Le 09/12/2015 06:54, Scott Kostyshak a écrit : > >Regarding the following code: > > > >- > >void Text::selectWord(Cursor & cur, word_location loc) > >{ > > LBUFERR(this == cur.text()); > > CursorSlice from = cur.top();

Re: make distcheck: cannot remove '../../po/lyx.pot'

2015-12-10 Thread Jean-Marc Lasgouttes
Le 10/12/2015 03:30, Scott Kostyshak a écrit : On Wed, Dec 09, 2015 at 10:11:53PM +0100, Georg Baum wrote: This is just a shot in the dark, but when I try to compile from a fresh git checkout with autotools, it updates all po and gmo files once, including lyx.pot. This dos not happen anymore for