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

2016-08-04 Thread Enrico Forestieri
On Fri, Aug 05, 2016 at 03:35:44AM +0200, Enrico Forestieri wrote: > On Thu, Aug 04, 2016 at 04:22:50PM +0100, Guillaume Munch wrote: > > > * If so, are LyX devs ready to officially deny support for mingw + win32 > > threads? > > Note that in this case I will not be able to compile a native

Re: XHTML: de/Additional.lyx SIGABRT

2016-08-04 Thread Richard Heck
On 08/04/2016 10:01 PM, Richard Heck wrote: > On 08/04/2016 06:44 PM, Scott Kostyshak wrote: >> On Thu, Aug 04, 2016 at 05:26:39PM -0400, Richard Heck wrote: >>> On 08/03/2016 01:11 PM, Scott Kostyshak wrote: The following ctest is failing: export/doc/de/Additional_xhtml

Re: XHTML: de/Additional.lyx SIGABRT

2016-08-04 Thread Richard Heck
On 08/04/2016 06:44 PM, Scott Kostyshak wrote: > On Thu, Aug 04, 2016 at 05:26:39PM -0400, Richard Heck wrote: >> On 08/03/2016 01:11 PM, Scott Kostyshak wrote: >>> The following ctest is failing: >>> >>> export/doc/de/Additional_xhtml >>> >>> This corresponds to exporting with LyXHTML. >>> It is

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

2016-08-04 Thread Enrico Forestieri
On Thu, Aug 04, 2016 at 04:22:50PM +0100, Guillaume Munch wrote: > Le 04/08/2016 à 10:19, Enrico Forestieri a écrit : > > > > This does not compile with mingw (g++ 4.9.2): > > > > ../../src/graphics/PreviewLoader.cpp:101:4: error: ‘call_once’ was not > > declared in this scope > >}); > >

Re: XHTML: de/Additional.lyx SIGABRT

2016-08-04 Thread Scott Kostyshak
On Thu, Aug 04, 2016 at 05:26:39PM -0400, Richard Heck wrote: > On 08/03/2016 01:11 PM, Scott Kostyshak wrote: > > The following ctest is failing: > > > > export/doc/de/Additional_xhtml > > > > This corresponds to exporting with LyXHTML. > > It is interesting to note that the de Additional.lyx is

Re: [LyX/master] New LFUN lyx-activate to focus LyX window

2016-08-04 Thread Scott Kostyshak
On Thu, Aug 04, 2016 at 11:18:11PM +0200, Jean-Marc Lasgouttes wrote: > Le 04/08/2016 à 20:39, Scott Kostyshak a écrit : > > On Thu, Aug 04, 2016 at 11:37:46AM +0200, Jean-Marc Lasgouttes wrote: > > > And does it automatically switch to the right tab? I can't test ATM, > > > sorry for the

Re: [LyX/master] Try to fix #4889 in the right way

2016-08-04 Thread Scott Kostyshak
On Thu, Aug 04, 2016 at 11:22:46PM +0200, Jean-Marc Lasgouttes wrote: > Le 24/07/2016 à 23:49, Scott Kostyshak a écrit : > > This commit appears to have changed behavior for me (says git bisect). > > With the attached document, when I select with the mouse some text, the > > special inset "LyX"

Re: [LyX/master] Add 'dir="auto"' to the body tag for XHTML export. This should take care of much of what we need to do for RTL languages. It does not take care of inline language changes, probably.

2016-08-04 Thread Jean-Marc Lasgouttes
Le 04/08/2016 à 23:26, Richard Heck a écrit : On 08/04/2016 05:09 PM, Jean-Marc Lasgouttes wrote: Le 31/07/2016 à 08:53, Richard Heck a écrit : commit 07dcb1c525435c6f22de4314ba31150c53502429 Author: Richard Heck Date: Sun Jul 31 02:52:30 2016 -0400 Add 'dir="auto"' to

Re: XHTML: de/Additional.lyx SIGABRT

2016-08-04 Thread Richard Heck
On 08/03/2016 01:11 PM, Scott Kostyshak wrote: > The following ctest is failing: > > export/doc/de/Additional_xhtml > > This corresponds to exporting with LyXHTML. > It is interesting to note that the de Additional.lyx is the only > Additional.lyx that shows the issue. > > I can do a bisect if

Re: [LyX/master] Add 'dir="auto"' to the body tag for XHTML export. This should take care of much of what we need to do for RTL languages. It does not take care of inline language changes, probably.

2016-08-04 Thread Richard Heck
On 08/04/2016 05:09 PM, Jean-Marc Lasgouttes wrote: > Le 31/07/2016 à 08:53, Richard Heck a écrit : >> commit 07dcb1c525435c6f22de4314ba31150c53502429 >> Author: Richard Heck >> Date: Sun Jul 31 02:52:30 2016 -0400 >> >> Add 'dir="auto"' to the body tag for XHTML export.

Re: [LyX/master] Try to fix #4889 in the right way

2016-08-04 Thread Jean-Marc Lasgouttes
Le 24/07/2016 à 23:49, Scott Kostyshak a écrit : This commit appears to have changed behavior for me (says git bisect). With the attached document, when I select with the mouse some text, the special inset "LyX" alternates between being bold and not bold. Can you reproduce? Better now? JMarc

Re: [LyX/master] New LFUN lyx-activate to focus LyX window

2016-08-04 Thread Jean-Marc Lasgouttes
Le 04/08/2016 à 20:39, Scott Kostyshak a écrit : On Thu, Aug 04, 2016 at 11:37:46AM +0200, Jean-Marc Lasgouttes wrote: And does it automatically switch to the right tab? I can't test ATM, sorry for the questions. lyxclient -g does, but this is thanks to server-goto-file-row, not the activate

Re: [LyX/master] Add 'dir="auto"' to the body tag for XHTML export. This should take care of much of what we need to do for RTL languages. It does not take care of inline language changes, probably.

2016-08-04 Thread Jean-Marc Lasgouttes
Le 31/07/2016 à 08:53, Richard Heck a écrit : commit 07dcb1c525435c6f22de4314ba31150c53502429 Author: Richard Heck Date: Sun Jul 31 02:52:30 2016 -0400 Add 'dir="auto"' to the body tag for XHTML export. This should take care of much of what we need to do for RTL

Re: [LyX/master] New LFUN lyx-activate to focus LyX window

2016-08-04 Thread Scott Kostyshak
On Thu, Aug 04, 2016 at 11:37:46AM +0200, Jean-Marc Lasgouttes wrote: > And does it automatically switch to the right tab? I can't test ATM, sorry > for the questions. lyxclient -g does, but this is thanks to server-goto-file-row, not the activate action. Scott signature.asc Description: PGP

Re: [LyX/master] New LFUN lyx-activate to focus LyX window

2016-08-04 Thread Scott Kostyshak
On Thu, Aug 04, 2016 at 11:21:33AM +0200, Jean-Marc Lasgouttes wrote: > Description looks like there is only one lyx windows. Shouldn't the lfun be > view-activate or window-activate? I see. Yes it seems one of your suggestions is more clear. We currently have: window-close window-new

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

2016-08-04 Thread Guillaume Munch
Le 04/08/2016 à 10:19, Enrico Forestieri a écrit : This does not compile with mingw (g++ 4.9.2): ../../src/graphics/PreviewLoader.cpp:101:4: error: ‘call_once’ was not declared in this scope }); ^ Finding infos about this was complicated because mingw does not appear to be very

Re: [LyX/master] Replace static with thread_local when used for caching

2016-08-04 Thread Guillaume Munch
Le 04/08/2016 à 08:48, Stephan Witt a écrit : On my Mac with clang I cannot compile after this commit :( src/frontends/qt4/GuiFontLoader.cpp:380:2: error: thread-local storage is not supported for the current target thread_local vector cache_set(NUM_FAMILIES, false);

Re: [LyX/master] Include all [scr]article styles in beamer article layouts.

2016-08-04 Thread Jürgen Spitzmüller
Am Donnerstag, den 04.08.2016, 11:20 +0100 schrieb José Abílio Matos: > Hi Jürgen, > please do not forget to change development/FORMAT. :-) Right, thanks! Jürgen > > Regards, signature.asc Description: This is a digitally signed message part

Re: [LyX/master] Include all [scr]article styles in beamer article layouts.

2016-08-04 Thread José Abílio Matos
On Thursday, August 4, 2016 11:44:37 AM WEST Juergen Spitzmueller wrote: > commit 90f6eb01a4ac09d56591e0ed8a342ad6f6163796 > Author: Juergen Spitzmueller > Date: Thu Aug 4 11:42:06 2016 +0200 > > Include all [scr]article styles in beamer article layouts. > > File format

Re: [LyX/master] New LFUN lyx-activate to focus LyX window

2016-08-04 Thread Jean-Marc Lasgouttes
And does it automatically switch to the right tab? I can't test ATM, sorry for the questions. JMarc Le 4 août 2016 11:21:33 UTC+02:00, Jean-Marc Lasgouttes a écrit : >Description looks like there is only one lyx windows. Shouldn't the >lfun be view-activate or

Re: [LyX/master] New LFUN lyx-activate to focus LyX window

2016-08-04 Thread Jean-Marc Lasgouttes
Description looks like there is only one lyx windows. Shouldn't the lfun be view-activate or window-activate? JMarc Le 4 août 2016 07:56:07 UTC+02:00, Scott Kostyshak a écrit : >commit 60515b996b2ed3312dffea62cba8288762202b67 >Author: Scott Kostyshak >Date:

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

2016-08-04 Thread Enrico Forestieri
On Sun, Jul 31, 2016 at 07:36:26PM +0200, Guillaume Munch wrote: > commit 22d7ba642415f576e9553b174166d8c17b945f39 > Author: Guillaume Munch > Date: Sat Jul 30 20:46:29 2016 +0100 > > Use call_once to ensure something is only called once > > This is thread-safe.

Re: [LyX/master] Simplify BufferParams::bufferFormat()

2016-08-04 Thread Jürgen Spitzmüller
Am Mittwoch, den 03.08.2016, 14:28 -0400 schrieb Scott Kostyshak: > Although I had trouble with git bisect, I think this commit broke > export > of the Japanese manuals to PDF using dvipdfm. Indeed. > Was that export only > working by luck before? No, An oversight of mine. Fixed. Thanks for

Re: [LyX/master] Replace static with thread_local when used for caching

2016-08-04 Thread Stephan Witt
Am 02.08.2016 um 02:14 schrieb Guillaume Munch : > > Le 02/08/2016 à 00:18, Richard Heck a écrit : >> On 08/01/2016 06:49 PM, Guillaume Munch wrote: >>> +#if defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ == 6) >> >> I meant to ask before: Even if we're requiring gcc >=