Re: [LyX/master] Fix thinko in Buffer::preview. It is possible for this routine to be called when we do not have a cloned Buffer, namely, if we do not have EXPORT_in_THREAD defined.

2016-07-10 Thread Richard Heck
On 07/10/2016 09:53 AM, Guillaume Munch wrote: > Le 10/07/2016 14:48, Richard Heck a écrit : >> On 07/10/2016 05:26 AM, Andrew Parsloe wrote: >>> >>> I ask in near total ignorance, but "my ears pricked up" when I read >>> "EXPORT_in_THREAD"

Re: [LyX/master] Generate a proper error dialog title for XeTeX/LuaTeX

2016-07-10 Thread Richard Heck
On 07/10/2016 05:14 AM, Juergen Spitzmueller wrote: > commit 65173b26d55ab7fe0ac15be82730e7f99e8d8aed > Author: Juergen Spitzmueller > Date: Sun Jul 10 11:14:03 2016 +0200 > > Generate a proper error dialog title for XeTeX/LuaTeX > > (see bug #10013) > >

Re: [LyX/master] Fix thinko in Buffer::preview. It is possible for this routine to be called when we do not have a cloned Buffer, namely, if we do not have EXPORT_in_THREAD defined.

2016-07-10 Thread Richard Heck
On 07/10/2016 05:26 AM, Andrew Parsloe wrote: > > > On 10/07/2016 5:42 p.m., Richard Heck wrote: >> On 07/10/2016 01:33 AM, Scott Kostyshak wrote: >>> On Sun, Jul 10, 2016 at 07:16:13AM +0200, Richard Heck wrote: >>>> commit d8aab4af9e6e72c835f78ba54a46687b870

Re: [LyX/master] Fix thinko in Buffer::preview. It is possible for this routine to be called when we do not have a cloned Buffer, namely, if we do not have EXPORT_in_THREAD defined.

2016-07-10 Thread Richard Heck
On 07/10/2016 07:06 AM, Guillaume Munch wrote: > Le 10/07/2016 06:42, Richard Heck a écrit : >> On 07/10/2016 01:33 AM, Scott Kostyshak wrote: >>> On Sun, Jul 10, 2016 at 07:16:13AM +0200, Richard Heck wrote: >>>> commit d8aab4af9e6e72c835f78ba54a46687b870c25fa

Re: [LyX/master] Fix thinko in Buffer::preview. It is possible for this routine to be called when we do not have a cloned Buffer, namely, if we do not have EXPORT_in_THREAD defined.

2016-07-09 Thread Richard Heck
On 07/10/2016 01:33 AM, Scott Kostyshak wrote: > On Sun, Jul 10, 2016 at 07:16:13AM +0200, Richard Heck wrote: >> commit d8aab4af9e6e72c835f78ba54a46687b870c25fa >> Author: Richard Heck <rgh...@lyx.org> >> Date: Sun Jul 10 01:12:42 2016 -0400 >> >

Re: [LyX/master] Fix thinko in Buffer::preview. It is possible for this routine to be called when we do not have a cloned Buffer, namely, if we do not have EXPORT_in_THREAD defined.

2016-07-09 Thread Richard Heck
On 07/10/2016 01:33 AM, Scott Kostyshak wrote: > On Sun, Jul 10, 2016 at 07:16:13AM +0200, Richard Heck wrote: >> commit d8aab4af9e6e72c835f78ba54a46687b870c25fa >> Author: Richard Heck <rgh...@lyx.org> >> Date: Sun Jul 10 01:12:42 2016 -0400 >> >

Paragraph::id()

2016-07-09 Thread Richard Heck
If I do: onePar.id() == otherPar.id() will that do what I obviously want it to do? I.e., work as a proxy for: onePar == otherPar ?? Richard

Re: [LyX/master] Added missing ipa icons to distribution

2016-07-09 Thread Richard Heck
On 07/09/2016 06:41 AM, Jürgen Spitzmüller wrote: > Am Mittwoch, den 15.06.2016, 15:04 +0200 schrieb Kornel Benko: >> commit 43d284e15ad6193da2508a57b5260cb85ff4cdb9 >> Author: Kornel Benko >> Date: Wed Jun 15 15:03:55 2016 +0200 >> >> Added missing ipa icons to distribution

Re: Weird KDE Bug in LyX

2016-07-08 Thread Richard Heck
On 07/08/2016 04:01 PM, Richard Heck wrote: > On 07/08/2016 03:33 PM, Guillaume Munch wrote: >> Le 05/07/2016 21:30, Guillaume Munch a écrit : >>> >>> Please try the attached. >> I'll soon commit the fix to master. This is a delicate code path so >

Re: Weird KDE Bug in LyX

2016-07-08 Thread Richard Heck
On 07/08/2016 03:33 PM, Guillaume Munch wrote: > Le 05/07/2016 21:30, Guillaume Munch a écrit : >> >> >> Please try the attached. > > I'll soon commit the fix to master. This is a delicate code path so > even if I tried to be very careful, there will be no backport without > a test. I'd think

Re: Exporting compressed files

2016-07-08 Thread Richard Heck
On 07/08/2016 12:01 PM, José Abílio Matos wrote: > On Thursday, July 7, 2016 4:05:15 PM WEST Richard Heck wrote: >> Patch seems reasonable to me. >> >> Please commit to 2.2.x after 2.2.1 is released. >> >> Richard > Thank you Richard. :-) > > Commited

Re: [LyX/master] Fix incompatibility of covington and beamer.

2016-07-08 Thread Richard Heck
On 07/08/2016 04:05 AM, Juergen Spitzmueller wrote: > commit ee14363e0ba9f9c5433509816a9d75b695b859bd > Author: Juergen Spitzmueller > Date: Fri Jul 8 10:04:24 2016 +0200 > > Fix incompatibility of covington and beamer. > > Candidate for stable. OK. Richard

Re: [PATCH] make string breaking faster

2016-07-07 Thread Richard Heck
On 07/07/2016 04:24 PM, Pavel Sanda wrote: Richard Heck wrote: Can you try if you can see difference between 2.1 and master for this scenario: 1. set high speed rate for your keyboard: xset r rate 300 180 2. load user guide, fullscreen 3. Hold right arrow until you reach the end of the first

Re: [PATCH] make string breaking faster

2016-07-07 Thread Richard Heck
On 07/07/2016 01:06 PM, Pavel Sanda wrote: Jean-Marc Lasgouttes wrote: Le 07/07/2016 ? 18:54, Pavel Sanda a écrit : Jean-Marc Lasgouttes wrote: That's OK. But did you remove the PROFILE_xxx macros? They probably have an effect on performance. No visible effect for me. Can you try if you can

Re: Exporting compressed files

2016-07-07 Thread Richard Heck
Patch seems reasonable to me. Please commit to 2.2.x after 2.2.1 is released. Richard On 07/07/2016 05:18 AM, José Abílio Matos wrote: On Thursday, July 7, 2016 10:09:44 AM WEST Andrew Parsloe wrote: Yes, changing > to -o results in an exported compressed file that 2.1.5 can read. Thanks

Re: Anonymous functions: replace bind with lambdas

2016-07-06 Thread Richard Heck
On 07/03/2016 05:36 PM, Guillaume Munch wrote: Le 03/07/2016 20:52, Richard Heck a écrit : One might wonder in such cases why things are being copied or passed by reference, for example. Unfortunately, while producing equivalent code is easy (or so it seems so far), fully understanding

Re: Why does LyX not accept empty list items?

2016-07-05 Thread Richard Heck
On 07/05/2016 03:36 PM, Daniel wrote: > On 05.07.2016 16:22, Richard Heck wrote: >> On 07/04/2016 02:42 PM, racoon wrote: >>> On 04.07.2016 16:16, Jean-Marc Lasgouttes wrote: >>>> Le 04/07/2016 à 15:38, racoon a écrit : >>>>> Thanks. Still I a

Re: LyX 2.2.1

2016-07-05 Thread Richard Heck
On 07/05/2016 06:00 PM, Uwe Stöhr wrote: > Am 04.07.2016 um 12:05 schrieb Jean-Marc Lasgouttes: > >> I'd say that only regressions could be important. Other than that, it is >> always better to let a good release out than to wait for a perfect one. > > +1 > > it seems that only

Re: [PATCH] make string breaking faster

2016-07-05 Thread Richard Heck
On 07/05/2016 10:06 AM, Jean-Marc Lasgouttes wrote: > The attached patch implements a cache around the function > GuiFontMetrics::breakAt, which has been identified as very slow by > Guillaume. To this end, I use a plain QCache object. > > This patch is also instrumented using pmprof.h. When I

Re: [LyX/master] Autoconf : Try to select the correct Qt tools by using the -qt option

2016-07-05 Thread Richard Heck
On 07/05/2016 06:12 AM, Jean-Marc Lasgouttes wrote: > Le 05/07/2016 à 12:02, Jean-Marc Lasgouttes a écrit : >> commit d044986724e98921510c95adecb61d2688b1f598 >> Author: Jean-Marc Lasgouttes >> Date: Mon Jul 4 16:22:57 2016 +0200 >> >> Autoconf : Try to select the

Re: Why does LyX not accept empty list items?

2016-07-05 Thread Richard Heck
On 07/04/2016 02:42 PM, racoon wrote: > On 04.07.2016 16:16, Jean-Marc Lasgouttes wrote: >> Le 04/07/2016 à 15:38, racoon a écrit : >>> Thanks. Still I am wondering a bit why anything special at all is >>> necessary. >> >> Well, I am glad I do not have dangling list items like Word gladly >>

Re: How to prevent a paragraph spanning pages?

2016-07-05 Thread Richard Heck
On 07/04/2016 06:47 PM, Steve Litt wrote: > Hi all, > > I have a specific paragraph style (environment) that has TeX "Large" > print and is used only on single sentences. I'd like to incorporate > something in this environment's LaTeX code to prevent it breaking in > the middle. Anyone know how to

Re: Weird KDE Bug in LyX

2016-07-04 Thread Richard Heck
On 07/04/2016 10:36 AM, José Abílio Matos wrote: On Friday, July 1, 2016 9:51:08 AM WEST Richard Heck wrote: Add [Development] AutoCheckAccelerators=false CopyWidgetText=false to $HOME/.config/kdeglobals Richard Thank you Richard, when that happens it can be really annoying. Trying

Re: Anonymous functions: replace bind with lambdas

2016-07-03 Thread Richard Heck
On 07/03/2016 02:21 PM, Guillaume Munch wrote: > Le 27/06/2016 23:15, Richard Heck a écrit : >> On 06/27/2016 04:14 PM, Georg Baum wrote: >>> You mean std::bind, or did I miss any remaining boost::bind? > > I just removed some leftover boost::function (not boost::bind).

Re: Trojan warning from Windows defender

2016-07-03 Thread Richard Heck
On 07/02/2016 07:20 PM, Pavel Sanda wrote: > Richard Heck wrote: >> On 07/01/2016 04:00 PM, Pavel Sanda wrote: >>> Cyrille Artho wrote: >>>> Without https the signatures are not very useful. >>> I fail to follow what do you mean by this. >> Without

Re: [LyX/master] Fix windows dependencies download

2016-07-03 Thread Richard Heck
On 07/02/2016 02:17 PM, Uwe Stöhr wrote: > Am 19.06.2016 um 13:03 schrieb Georg Baum: > >>> The paths and servers have changed, and a MSVC 2013 version is not >>> provided anymore. > > Thanks Georg for having a look. > > However, this ZIP-file should be put on ftp.lyx.org and be used: > >

Re: 5 more compiler warnings in master

2016-07-02 Thread Richard Heck
On 07/02/2016 02:28 PM, Uwe Stöhr wrote: > Am 02.07.2016 um 20:15 schrieb Richard Heck: > >> All harmless. >> >> In future, you can fix these sorts of warnings easily. > > I understand the compiler warnings but it is not easy for me to decide > if a truncation of v

LyX 2.2.1

2016-07-02 Thread Richard Heck
We have already fixed at least 43 bugs for 2.2.1, and we now also have the possibility, thanks to Dima, to release a binary that will run on Windows Vista. So it looks like a good time to start thinking about the release of LyX 2.2.1. The question at the moment is whether there is anything

Re: Contextual shortcuts

2016-07-02 Thread Richard Heck
On 07/02/2016 04:44 AM, Franck Vasseur wrote: > > Hello, > > > > I am just discovering LyX, which seems to be a very nice tool to edit > all kind of documents. > > > > I am most interested by editing mathematic texts, and when using LyX, > I have wondered if it were possible to create

Re: [LyX/master] Fix CAS input on windows (bug 10262)

2016-07-02 Thread Richard Heck
On 07/02/2016 01:09 PM, Georg Baum wrote: > Georg Baum wrote: > >> commit 6dfc255088ecd3393c4c5dc3d2c5357a3fbabfc0 >> Author: Georg Baum >> Date: Sat Jul 2 18:58:30 2016 +0200 >> >> Fix CAS input on windows (bug 10262) >> >> This is the well known file locking

Re: [LyX/master] By default, charstyles should not permit layout changes internally.

2016-07-02 Thread Richard Heck
On 07/02/2016 11:45 AM, Georg Baum wrote: > Richard Heck wrote: > >> commit 152817576adaefaa1be8f124b9feecd5c2bfd7c2 >> Author: Richard Heck <rgh...@lyx.org> >> Date: Mon Jun 20 11:30:32 2016 -0400 >> >> By default, charstyles should not permit layou

Re: 5 more compiler warnings in master

2016-07-02 Thread Richard Heck
On 07/02/2016 11:42 AM, Uwe Stöhr wrote: > Since I am now able to compile master again with the latest MSVC 2015 > compiler, I get these new warnings: > > D:\LyXGit\Master\src\Changes.cpp(562): warning C4244: 'initializing': > conversion from 'double' to 'int', possible loss of data >

Re: Reintroduce Windows Vista compatibility for 2.2.0+

2016-07-02 Thread Richard Heck
On 07/02/2016 04:28 AM, Georg Baum wrote: > Richard Heck wrote: >> Now we just need an installer built this way. > My proposal would be to release 2.2.1 soon and do not build an additional > 2.2.0 installer. This avoids confusion for users (why so many 2.2.0 > installers?),

Re: Reintroduce Windows Vista compatibility for 2.2.0+

2016-07-01 Thread Richard Heck
On 07/01/2016 04:13 PM, Georg Baum wrote: Dima Ruinskiy wrote: As of version 2.2.0, LyX no longer works out of the box on Windows Vista, probably because of some default settings in MSVC2015. This patch fixes that by forcing a PSAPI version that is compatible with Vista as well as later

Re: Trojan warning from Windows defender

2016-07-01 Thread Richard Heck
On 07/01/2016 04:00 PM, Pavel Sanda wrote: Cyrille Artho wrote: Without https the signatures are not very useful. I fail to follow what do you mean by this. Without https, a man-in-the-middle attack is possible, and of course the signatures could also be faked. But I'm not sure that makes

Re: Weird KDE Bug in LyX

2016-07-01 Thread Richard Heck
On 07/01/2016 05:21 AM, José Abílio Matos wrote: On Thursday, June 30, 2016 4:26:40 PM WEST Richard Heck wrote: For anyone running LyX 2.2.0 under KDE (or using a KDE-based window manager, or anything of that sort): There is an annoying new feature, KDE's "accelerator ma

Re: compilation error in branch and master

2016-06-30 Thread Richard Heck
On 06/30/2016 07:36 PM, Uwe Stöhr wrote: compiling today's 2.2.x branch and master I get this compilation error: environment.cpp D:\LyXGit\Master\src\support\environment.cpp(73): fatal error C1189: #error: No environment-setting function has been defined.

Re: compilation warning in master

2016-06-30 Thread Richard Heck
On 06/30/2016 07:34 PM, Uwe Stöhr wrote: Compiling today's master I get this warning: InsetSeparator.cpp D:\LyXGit\Master\src\insets\InsetSeparator.cpp(213): warning C4244: '+=': conversion from 'double' to 'int', possible loss of data

Weird KDE Bug in LyX

2016-06-30 Thread Richard Heck
ms are run with Qt5. If you are experiencing this issue, please see http://www.lyx.org/trac/ticket/10261#comment:16 for a workaround. Richard Heck

Re: [LyX/master] Output column width info for XHTML.

2016-06-30 Thread Richard Heck
On 06/30/2016 02:24 AM, Scott Kostyshak wrote: On Thu, Jun 30, 2016 at 12:05:18AM -0400, Richard Heck wrote: Try this: --- src/insets/InsetTabular.cpp +++ src/insets/InsetTabular.cpp @@ -2989,17 +2989,20 @@ docstring Tabular::xhtmlRow(XHTMLStream & xs, row_type row, xs <

Re: [LyX/master] Output column width info for XHTML.

2016-06-29 Thread Richard Heck
On 06/29/2016 10:11 PM, Scott Kostyshak wrote: > On Thu, Jun 30, 2016 at 03:48:01AM +0200, Richard Heck wrote: >> commit ddc28f0374478355217f975a25e544af7dbc8ea9 >> Author: Richard Heck <rgh...@lyx.org> >> Date: Wed Jun 29 21:47:51 2016 -0400 >> >>

Re: ancient history, v 0.10.7 beta

2016-06-29 Thread Richard Heck
On 06/29/2016 08:32 PM, PhilipPirrip wrote: > For those interested in ancient history of LyX: I've just found my > first Linux distribution CD, with LyX 0.10.7 from October 1996 on it. > Online sources I found go only about 18 years back. > JMarc still probably has it somewhere, this is for all

Re: Trojan warning from Windows defender

2016-06-28 Thread Richard Heck
On 06/29/2016 12:35 AM, Cyrille Artho wrote: Richard Heck wrote: On 06/27/2016 03:31 PM, Henrik Kragh wrote: Hi, I haven't used the mailing list before so I hop eI have reached the right one. I have used Lyx for some and has recently upgraded to Win10. I have downloaded the two different

[RFC] Canceling Background Export

2016-06-28 Thread Richard Heck
e1 Mon Sep 17 00:00:00 2001 From: Richard Heck <rgh...@lyx.org> Date: Tue, 28 Jun 2016 16:52:29 -0400 Subject: [PATCH 1/6] LFUN and basic code to enable cancellation of background processes. --- lib/ui/stdmenus.inc | 1 + lib/ui/stdtoolbars.inc| 1 + src/FuncCode.h

Re: europeCV and modernCV ctests sometimes failing

2016-06-28 Thread Richard Heck
On 06/28/2016 06:35 AM, Kornel Benko wrote: Scott figured out that the failing has to do with character '_' being part of his local path supplied to the 'Picture' style. Lyx changes the character to '\_', consequently the picture is not found. Extending the 'Picture' style with 'PassThru true'

Re: Trojan warning from Windows defender

2016-06-27 Thread Richard Heck
On 06/27/2016 03:31 PM, Henrik Kragh wrote: > Hi, > > I haven't used the mailing list before so I hop eI have reached the > right one. > > I have used Lyx for some and has recently upgraded to Win10. I have > downloaded the two different installers (ended up using the bundle). > However today

Re: Anonymous functions: replace bind with lambdas

2016-06-27 Thread Richard Heck
On 06/27/2016 04:14 PM, Georg Baum wrote: > Guillaume Munch wrote: > >> Dear list, >> >> >> Here is a patch that removes all uses of std::bind and boost::bind in >> src/. I think this is something that we want in the long term, because >> it makes the changed code much more readable and

Re: Anonymous functions: replace bind with lambdas

2016-06-26 Thread Richard Heck
On 06/26/2016 03:20 PM, Guillaume Munch wrote: + auto compile = [&](std::string const & s) { + return clone->doExport(s, true); + }; + return runAndDestroy(compile, orig, clone, format); This one, too, and the other auto one that follows it. rh

Re: Anonymous functions: replace bind with lambdas

2016-06-26 Thread Richard Heck
Some explanatory comments in this stuff would help, too. These complex constructions are nice in reducing code, but they are hard for novices to read without help. rh On 06/26/2016 03:20 PM, Guillaume Munch wrote: +namespace { + +template +typename std::result_of::type call(F f) {

Custom Insets on a Menu

2016-06-26 Thread Richard Heck
blem, and that all these Action objects we're creating are leaking, or at least being retained for no good reason. Help wanted! Richard >From 13a9c8f7571f4451e3ffef16dc19bdd08be86add Mon Sep 17 00:00:00 2001 From: Richard Heck <rgh...@lyx.org> Date: Fri, 24 Jun 2016 17:47:30 -0400 Su

Re: Combo Box for Custom Insets

2016-06-26 Thread Richard Heck
On 06/26/2016 07:33 AM, Jean-Marc Lasgouttes wrote: Le 25/06/2016 23:41, Richard Heck a écrit : But then it doesn't work with non-LyX-provided insets, i.e., ones you make yourself. If you had a lot of such insets, this would get very messy, too. I'd be happy if it were done as an icon-based

Re: workaround to 'git reset --hard' not working because of .gitattributes

2016-06-25 Thread Richard Heck
On 06/25/2016 08:21 PM, Scott Kostyshak wrote: Just in case anyone else has this issue: I keep having the following situation come up: $ git status On branch master Your branch is up-to-date with 'origin/master'. Changes not staged for commit: (use "git add ..." to update what will be

Re: new LyX 2.2.0 installer for Windows Vista is available

2016-06-25 Thread Richard Heck
On 06/25/2016 12:00 PM, Georg Baum wrote: > Uwe Stöhr wrote: > >> Richard, could you please put it on ftp.lyx.org? Could you please also >> write a news message that we now have a Vista installer but that this >> installer should not be used for other Windows versions than Vista. > This is not

Re: Combo Box for Custom Insets

2016-06-25 Thread Richard Heck
On 06/25/2016 04:55 PM, Jean-Marc Lasgouttes wrote: > Le 25/06/2016 22:37, Guillaume Munch a écrit : >> Le 25/06/2016 19:15, Richard Heck a écrit : >>> >>> For now, the branch is here: >>> http://git.lyx.org/?p=developers/rgheck/lyx.git;a=shortlo

Re: using directives in headers

2016-06-25 Thread Richard Heck
On 06/25/2016 03:56 PM, Georg Baum wrote: > I recently stumbled upon > > using std::shared_ptr; > > or > > lyx::support::FileName; > > in header files (e.g. TocBackend.h). The shared_ptr was introduced as part > of the lyx::shared_ptr removal (which did either point to boost or std), but > there

Re: [LyX/master] Style.

2016-06-25 Thread Richard Heck
On 06/25/2016 02:24 PM, Scott Kostyshak wrote: > On Sat, Jun 25, 2016 at 07:19:15PM +0100, José Abílio Matos wrote: >> On Friday, June 24, 2016 10:02:30 PM WEST Richard Heck wrote: >>> commit 92fae708aebf8d2f3bc393b29c54a4cebeafe730 >>> Author: Richard Heck <rgh...@l

Re: Combo Box for Custom Insets

2016-06-25 Thread Richard Heck
On 06/25/2016 01:36 PM, Guillaume Munch wrote: > Le 25/06/2016 17:00, Richard Heck a écrit : >> On 06/25/2016 02:58 AM, Liviu Andronic wrote: >>> On Sat, Jun 25, 2016 at 12:23 AM, Richard Heck <rgh...@lyx.org> wrote: >>>> Attached please find a patch th

Re: Combo Box for Custom Insets

2016-06-25 Thread Richard Heck
On 06/25/2016 12:23 PM, Liviu Andronic wrote: > On Sat, Jun 25, 2016 at 6:00 PM, Richard Heck <rgh...@lyx.org> wrote: >> I've fixed both these issues with the attached. >> > I have trouble applying this patch. I've tried everything from patch > -p1 < filename.pat

Re: Combo Box for Custom Insets

2016-06-25 Thread Richard Heck
stole this from LayoutBox. Richard > > JMarc > > Le 25 juin 2016 08:58:57 GMT+02:00, Liviu Andronic <landr...@lyx.org> a écrit > : >> On Sat, Jun 25, 2016 at 12:23 AM, Richard Heck <rgh...@lyx.org> wrote: >> Looks good. Couple of comments: >> - since u

Re: Combo Box for Custom Insets

2016-06-25 Thread Richard Heck
On 06/25/2016 02:58 AM, Liviu Andronic wrote: > On Sat, Jun 25, 2016 at 12:23 AM, Richard Heck <rgh...@lyx.org> wrote: >> Attached please find a patch that implements a combo box for custom >> insets, much like the layout box. This is a very simple version. More >> compl

Re: new LyX 2.2.0 installer for Windows Vista is available

2016-06-25 Thread Richard Heck
On 06/25/2016 05:13 AM, Uwe Stöhr wrote: > Dear LyXers, > > there is a new Windows installer available that provides support for > Windows Vista: > http://ftp.lyx.de/LyX%202.2.0/LyX-220-Installer-Vista-3.exe > > Dima kindly prepared the binary from the 2.2.0 tarball, I checked it > against viruses

Combo Box for Custom Insets

2016-06-24 Thread Richard Heck
a combo for charstyles. Comments welcome. Richard >From 1151bc1c0392a010cafa040f7216553e6d54ed1a Mon Sep 17 00:00:00 2001 From: Richard Heck <rgh...@lyx.org> Date: Fri, 24 Jun 2016 17:47:30 -0400 Subject: [PATCH] Initial work for inset toolbar combo. --- lib/ui/stdtoolbars.inc

Re: InPreamble Tag: Bug #10215

2016-06-24 Thread Richard Heck
ms::LATEX) macros << papersizedvi_def << '\n'; Richard On 06/19/2016 12:15 PM, Guenter Milde wrote: > On 2016-06-18, Guillaume Munch wrote: >> Le 18/06/2016 17:42, Richard Heck a écrit : >>> On 06/17/2016 05:16 AM, Jean-Marc Lasgouttes wrote: >>&g

Re: LyX 2.1.5 Tarballs

2016-06-24 Thread Richard Heck
.org/Windows/Windows Neither of the usual passwords seems to work. Richard > > On Tue, Jun 21, 2016 at 11:04 PM, Richard Heck <rgh...@lyx.org > <mailto:rgh...@lyx.org>> wrote: > > On 06/19/2016 08:16 PM, Uwe Stöhr wrote: > >

Re: Joining LyX development team

2016-06-24 Thread Richard Heck
On 06/24/2016 02:43 AM, Dima Ruinskiy wrote: > Hi. My name is Dima Ruinskiy, and I would like to join the LyX development > team. > > I hereby permit to use my contributions to LyX under the license of the GPL > version 2 or later. Thanks for this email. We'll add you to the credits once there

Re: Save transient properties

2016-06-24 Thread Richard Heck
On 06/23/2016 11:02 AM, Guillaume Munch wrote: > Dear list, > > I am thinking of adding the "Save transient properties" checkbox > (disabling the save of \origin, \tracking_changes, \output_changes) to > the "document class" panel, for lack of a better place. This panel > already contains other

Re: improved section 6.11 of User Guide (2.0.x), please CC me because I'm not subscribed

2016-06-23 Thread Richard Heck
On 06/23/2016 12:14 AM, Colin Keenan wrote: > I have submitted a patch against the correct branch, 2.2.x. I don't > know how to use change tracking. Please provide steps for doing that. > I am currently following the guide at http://www.lyx.org/HowToUseGIT. Document> Change Tracking> Track

Re: improved section 6.11 of User Guide (2.0.x), please CC me because I'm not subscribed

2016-06-22 Thread Richard Heck
On 06/21/2016 03:20 PM, Colin Keenan wrote: > 0001-improved-section-6.11-of-User-Guide.patch > is attached, > > providing > improvements to section 6.11 of the User Guide for branch 2.0.x. > Please CC me because I am not subscribed to the LyX developer mailing > list. > I am just following these

Re: lyx-cvs messages: show file names changed

2016-06-22 Thread Richard Heck
On 06/21/2016 07:48 PM, Scott Kostyshak wrote: > On Sat, Apr 16, 2016 at 01:43:18PM -0400, Scott Kostyshak wrote: >> On Sat, Apr 16, 2016 at 08:35:54AM -0400, Richard Heck wrote: >>> On 04/15/2016 05:45 PM, Scott Kostyshak wrote: >>>> On Tue, Mar 29, 2016 at 06:09:56P

Re: Fwd: Re: [LyX/2.2.x] Document change to behavior of charstyles.

2016-06-21 Thread Richard Heck
On 06/21/2016 05:12 PM, Jean-Pierre Chrétien wrote: > Le 21/06/2016 20:55, Richard Heck a écrit : >> commit 76bf4bbc9ea32c3ac2e43efa9da835666bc280ce >> Author: Richard Heck <rgh...@lyx.org> >> Date: Tue Jun 21 15:55:15 2016 -0400 > >> >> -You can d

[ANNOUNCE] LyX 2.1.5 Released

2016-06-21 Thread Richard Heck
We are pleased to announce the release of LyX 2.1.5. This is the fifth and final maintenance release in the 2.1.x series. LyX 2.1.5 is the result of on-going efforts to make our stable version even more reliable and stable. We have fixed a number of bugs and made a number of improvements. Many

Re: LyX 2.1.5 Tarballs

2016-06-21 Thread Richard Heck
On 06/19/2016 08:16 PM, Uwe Stöhr wrote: > Am 13.06.2016 um 17:33 schrieb Richard Heck: > >> >> The tarballs for the release of LyX 2.1.5 can be found here: >> ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/2.1.5/ >> Please prepare binaries. > > Here is the Wi

Re: Fixed in Master + Milestone 2.3.0

2016-06-21 Thread Richard Heck
On 06/21/2016 09:23 AM, Guenter Milde wrote: > On 2016-06-20, Richard Heck wrote: >> Note that this is different from having the *resolution* be fixed: These >> would still have no resolution and so would still turn up the right way in >> searches. > Having a keyword

Re: Layout Changes Inside CharStyles?

2016-06-21 Thread Richard Heck
On 06/21/2016 10:45 AM, José Abílio Matos wrote: > On Tuesday, June 21, 2016 4:07:25 PM WEST Helge Hafting wrote: >> I might use a charstyle to set large amounts (several paragraphs or an >> entire chapter) in a different color. I may still want headings & >> enumerations inside of that! >> >>

Re: provides "package" 1

2016-06-21 Thread Richard Heck
On 06/21/2016 06:58 AM, PhilipPirrip wrote: > I was wondering if there's a special reason why > provides fontenc 1 > provides inputenc 1 > provides amsmath 1 > > prevent the corresponding packages from loading, but > > provides fontspec 1 > provides listings 1 > provides polyglossia 1 > > -for

Re: Layout Changes Inside CharStyles?

2016-06-20 Thread Richard Heck
On 06/20/2016 11:03 PM, Jean-Marc Lasgouttes wrote: Le 20/06/2016 17:34, Richard Heck a écrit : At the moment, it is possible to effect a layout change inside almost all of our character styles. So far as I can see, this is almost always a bug. One does not want, e.g., to be able to switch

Re: Layout Changes Inside CharStyles?

2016-06-20 Thread Richard Heck
On 06/20/2016 11:03 PM, Jean-Marc Lasgouttes wrote: Le 20/06/2016 17:34, Richard Heck a écrit : At the moment, it is possible to effect a layout change inside almost all of our character styles. So far as I can see, this is almost always a bug. One does not want, e.g., to be able to switch

Re: Fixed in Master + Milestone 2.3.0

2016-06-20 Thread Richard Heck
On 06/20/2016 11:04 PM, Jean-Marc Lasgouttes wrote: Le 20/06/2016 18:37, Richard Heck a écrit : I propose that bugs meeting that description (such as #4398) simply be marked as having status "Fixed". The "Fixed in Master" status seems misleading: They are not going to

Fixed in Master + Milestone 2.3.0

2016-06-20 Thread Richard Heck
I propose that bugs meeting that description (such as #4398) simply be marked as having status "Fixed". The "Fixed in Master" status seems misleading: They are not going to get fixed in stable. If we mark them Fixed, it can mean: We are done with them. Note that this is different from having the

Re: Layout Changes Inside CharStyles?

2016-06-20 Thread Richard Heck
On 06/20/2016 11:34 AM, Richard Heck wrote: > At the moment, it is possible to effect a layout change inside almost > all of our character styles. So far as I can see, this is almost always > a bug. One does not want, e.g., to be able to switch to an enumeration > inside the Code cha

Layout Changes Inside CharStyles?

2016-06-20 Thread Richard Heck
At the moment, it is possible to effect a layout change inside almost all of our character styles. So far as I can see, this is almost always a bug. One does not want, e.g., to be able to switch to an enumeration inside the Code character style. So I propose the following simple patch: diff

Branch Labeling: Bug #10213

2016-06-20 Thread Richard Heck
Some time back, there was a discussion on the list about the labels of collapsed branches. As it is now, we display a bit of text from the branch. The general view was that this is not very useful, and it makes documents with lots of branches look terrible. The proposal was to label collapsed

Re: [LyX/master] Skip paragraph parameters for dash conversion

2016-06-20 Thread Richard Heck
On 06/19/2016 11:06 AM, Georg Baum wrote: > commit 5ab19af7820fba58876ac86efd8cc4aa1e75b44f > Author: Georg Baum > Date: Sun Jun 19 17:05:13 2016 +0200 > > Skip paragraph parameters for dash conversion > > Some of them are directly passed to LaTeX, but for all of them

Re: Really Weird Build Problem

2016-06-18 Thread Richard Heck
On 06/18/2016 07:39 PM, Pavel Sanda wrote: > Richard Heck wrote: >> How can that be? About>LyX shows the program as having been built from >> the same git commit in both cases. > Sound like running two different binaries (the same commit but different > changes on top of

Really Weird Build Problem

2016-06-18 Thread Richard Heck
I am working on adding some new features to the cross-reference dialog, but I have run into a really strange problem when testing it. If I run the built program as: /cvs/lyx/build/src/lyx then all is well: I see my new checkboxes in the dialog. But if I run it as: /cvs/lyx/build/src/lyx

Re: InPreamble Tag: Bug #10215

2016-06-18 Thread Richard Heck
On 06/17/2016 05:16 AM, Jean-Marc Lasgouttes wrote: > Le 14/06/2016 à 18:53, Richard Heck a écrit : >> This seems to me to count as a bug. To fix it, though, we'd obviously >> have to output the code from the style AFTER the Preamble, which would >> change the TeX ex

Re: InPreamble Tag: Bug #10215

2016-06-18 Thread Richard Heck
On 06/17/2016 06:34 AM, Jean-Pierre Chrétien wrote: > Le 14/06/2016 17:53, Richard Heck a écrit : >> >> Suppose you have a style like this: >> >> Style Test >>LaTeXType command >>LaTeXName whatever >>InPreamble 1 >>Preamble &g

Re: 2.2.2-staging Merged to 2.2.x

2016-06-16 Thread Richard Heck
On 06/16/2016 05:09 PM, Guillaume Munch wrote: Le 15/06/2016 22:39, Richard Heck a écrit : I have merged 2.2.2-staging into 2.2.x now, so all commits for stable should now go to 2.2.x. Richard Kudos to Scott for having been meticulous, so that no emergency release was necessary. Indeed

2.2.2-staging Merged to 2.2.x

2016-06-15 Thread Richard Heck
I have merged 2.2.2-staging into 2.2.x now, so all commits for stable should now go to 2.2.x. Richard

Re: lyx and dark color schemes

2016-06-15 Thread Richard Heck
On 06/15/2016 11:48 AM, José Abílio Matos wrote: On Tuesday, June 14, 2016 9:21:38 PM WEST Guillaume Munch wrote: latexhighlighter.diff Could this go to lyx-2.2 as well. I have the same problem with the font colours but not the panel icons. OK by me. Richard

Re: Difference between endnotes and foottoend modules

2016-06-15 Thread Richard Heck
On 06/15/2016 01:50 PM, Jean-Pierre Chrétien wrote: Hello, I'm not sure to have translated the description of these modules all right. * foottoend makes all footnotes endnotes * endnotes offers an extra inset to add endnotes in addition to plain footnotes If this is right, I must amend my

Re: Basic module reloaded (Was: scrunched radio buttons on message pane)

2016-06-15 Thread Richard Heck
On 06/15/2016 01:39 PM, Jean-Pierre Chrétien wrote: Le 15/06/2016 09:13, Scott Kostyshak a écrit : On Wed, Jun 15, 2016 at 09:48:03AM +0100, Jean-Pierre Chrétien wrote: I've seen this once with 2.2.0, but I can't reproduce, maybe I left open an instance of 2.1.5, I see now ../TextClass.cpp

Re: #10216: Lyx V2.2.0 Modules no working

2016-06-15 Thread Richard Heck
On 06/15/2016 10:37 AM, Robert Betz wrote: I created a new file with Lyx using the standard article style. I then included the module Customisable Lists (enumitem) using the Document->Settings->Modules. I am assuming that the \usepackage{enumitem} directive should be in this file. The

Re: Support for more references by "plain label"

2016-06-15 Thread Richard Heck
On 06/15/2016 10:32 AM, racoon wrote: Hi, There are, for example, a number of refstyle commands that are (not yet) supported by LyX. Here are some examples: http://www.lyx.org/trac/ticket/10201. I tried to build some of these with modules that use the already implemented commands but

Re: [LyX/master] Add some comments to fix coverity #23386.

2016-06-14 Thread Richard Heck
On 06/14/2016 05:35 PM, Jean-Marc Lasgouttes wrote: Le 14/06/2016 à 18:29, Richard Heck a écrit : It's actually set by the call in createView to the GuiView constructor, which calls setCurrentView. Maybe we should add an assertion here? OK, maybe coverity does not know that guiapp

InPreamble Tag: Bug #10215

2016-06-14 Thread Richard Heck
Suppose you have a style like this: Style Test LaTeXType command LaTeXName whatever InPreamble 1 Preamble \newcommand\whatever[1]{#1} EndPreamble End Then LyX gives you: % LyX specific LaTeX commands. \whatever{this is a test} % Textclass specific LaTeX commands.

Re: [LyX/master] Add some comments to fix coverity #23386.

2016-06-14 Thread Richard Heck
On 06/14/2016 05:17 PM, Jean-Marc Lasgouttes wrote: Le 12/06/2016 à 06:46, Richard Heck a écrit : commit 1bd5ef9a754a5b521f9d067b68fdac26035ef342 Author: Richard Heck <rgh...@lyx.org> Date: Sat Jun 11 23:26:02 2016 -0400 Add some comments to fix coverity #23386. diff --git

LyX 2.1.5 Tarballs

2016-06-13 Thread Richard Heck
The tarballs for the release of LyX 2.1.5 can be found here: ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/2.1.5/ Please prepare binaries. I will be at a conference all week. I'll have email access, of course, but I won't be at the right IP address for uploading files to ftp.lyx.org. So I will

Re: [LyX/2.2.x] Fix compilation with Qt < 4.7

2016-06-12 Thread Richard Heck
On 06/12/2016 06:13 PM, Guillaume Munch wrote: > commit e6d28aad0a6f267c5ce51c5205fdb60343a7fc90 > Author: Guillaume Munch > Date: Sat Jun 11 05:41:48 2016 +0100 > > Fix compilation with Qt < 4.7 Probably this should go to 2.2.x, as well. Richard

Re: compilation for coverity fails

2016-06-12 Thread Richard Heck
On 06/12/2016 02:59 PM, Jean-Marc Lasgouttes wrote: > Le 12/06/2016 20:53, Richard Heck a écrit : >> I don't think we have a definite policy, but it would be a good sort of >> comment to have. >> >> Coverity seems to want the comment right before the code it complai

<    2   3   4   5   6   7   8   9   10   11   >