Re: [patch] On-screen justification: stretch in proportion with the em, up to a limit

2016-08-29 Thread Guillaume Munch
Le 29/08/2016 à 13:16, Jean-Marc Lasgouttes a écrit : Le 29/08/2016 à 00:29, Guillaume Munch a écrit : Dear list Attached is a patch that changes some details about text justification. The spacing is distributed proportionally to the em size (if a row mixes two font heights one can see

Re: [LyX/master] Sort the language nesting mess with polyglossia

2016-09-27 Thread Guillaume Munch
Le 24/09/2016 à 03:25, Enrico Forestieri a écrit : commit 3bc08a76c42cd350a3141f00f37082bc9fab8967 Author: Enrico Forestieri Date: Sat Sep 24 03:15:02 2016 +0200 Sort the language nesting mess with polyglossia When using polyglossia, lyx was making a real mess when

Re: Mysterious crash

2016-09-29 Thread Guillaume Munch
Le 28/09/2016 à 18:43, Enrico Forestieri a écrit : On Wed, Sep 28, 2016 at 06:30:19PM +0200, Enrico Forestieri wrote: On Wed, Sep 28, 2016 at 05:20:29PM +0200, Enrico Forestieri wrote: Steps to reproduce as follows. Make sure that the "Code Preview Pane" is closed and then: 1) open the

Re: LinuxDay @ Pisa - Oct 22nd

2016-09-30 Thread Guillaume Munch
Le 30/09/2016 à 16:21, Joel Kulesza a écrit : On Thu, Sep 29, 2016 at 5:18 PM, Guillaume Munch <g...@lyx.org <mailto:g...@lyx.org>> wrote: It's also useful to say that LyX has many bugs and quirks, but that we use it (and like it) anyway, for lack of anything that

Re: Inkscape

2016-10-03 Thread Guillaume Munch
Le 03/10/2016 à 19:17, Vermeer Martin a écrit : I think this is as good as it gets for now. I suggest you just put it in. Done, with some additions to the documentation. Guillaume

Re: LinuxDay @ Pisa - Oct 22nd

2016-09-30 Thread Guillaume Munch
Le 30/09/2016 à 19:08, Tommaso Cucinotta a écrit : On 30/09/2016 17:41, Guillaume Munch wrote: Yes, to add to this, the fact that there is a critical mass of active developers (~10 on average apparently) and users do we have any +/- official count/stat of the number of users from how many

Re: [LyX/master] Fix horizontal lines in math arrays

2016-10-02 Thread Guillaume Munch
Le 29/09/2016 à 18:48, Enrico Forestieri a écrit : On Thu, Sep 29, 2016 at 12:49:35PM +0200, Guillaume Munch wrote: commit c663c9ab3ccfe87571296d840273c7fb5e43f1a3 Author: Guillaume Munch <g...@lyx.org> Date: Wed Sep 28 16:05:10 2016 +0200 Fix horizontal lines in math

Re: Inkscape

2016-09-29 Thread Guillaume Munch
Le 28/09/2016 à 07:11, Vermeer Martin a écrit : About the preview inset, I think I just don't understand the logic here well enough (and I don't use preview as it's heavy on the CPU with large docs), but if you can make the necessary change (and if it's simple) just make it and go ahead. So,

Re: LinuxDay @ Pisa - Oct 22nd

2016-09-29 Thread Guillaume Munch
Le 29/09/2016 à 19:02, Tommaso Cucinotta a écrit : Hi all, quite some time I don't write to this list, but in an attempt to find back some motivational push towards contributing again to the project, I recently proposed to provide a 15-min demo about LyX at the upcoming LinuxDay, on Oct 22nd in

Re: please revert: [LyX/2.2.x] Better title for ViewSource

2016-10-25 Thread Guillaume Munch
Le 24/10/2016 à 23:55, Uwe Stöhr a écrit : Am 24.10.2016 um 00:38 schrieb Guillaume Munch: You are not being rude at all, in fact you are quite polite. OK. I felt I was rude. I thought about it and began to update the docs when I realized what an impact these renaming have. Then I searched

Re: [patch] On-screen justification: stretch in proportion with the em, up to a limit

2016-11-06 Thread Guillaume Munch
Le 29/08/2016 à 14:16, Jean-Marc Lasgouttes a écrit : The patch looks good. It's in at b30f8d3c4b

Re: [patch] On-screen justification: stretch in proportion with the em, up to a limit

2016-11-06 Thread Guillaume Munch
Le 06/11/2016 à 16:11, Jean-Marc Lasgouttes a écrit : Something I meant to mention: shall we add some on screen cue that the row has not been completely stretched ? JMarc Most of the times it is already clear from the other lines that the text is justified. In addition, on-screen

Re: New warning on master

2016-11-09 Thread Guillaume Munch
Le 09/11/2016 à 15:58, Jean-Marc Lasgouttes a écrit : Le 09/11/2016 à 15:54, Scott Kostyshak a écrit : On Wed, Nov 09, 2016 at 11:46:33AM +0100, Jean-Marc Lasgouttes wrote: When using dialogs (prefs for example) with master, I get some Does this ring a bell for somebody? I don't see this

Re: New warning on master

2016-11-09 Thread Guillaume Munch
I will gladly let you handle everything, then :) Done.

Re: New warning on master

2016-11-09 Thread Guillaume Munch
Le 09/11/2016 à 20:46, Enrico Forestieri a écrit : On Wed, Nov 09, 2016 at 11:46:33AM +0100, Jean-Marc Lasgouttes wrote: When using dialogs (prefs for example) with master, I get some QMetaObject::connectSlotsByName: No matching signal for on_bufferViewChanged()

Re: [patch] Increase precision of TexRow in captions

2016-10-19 Thread Guillaume Munch
Le 19/10/2016 à 01:23, Enrico Forestieri a écrit : As always. But I don't understand. Given your goal, this is something only useful for the non-nice export. So, why introducing a gratuitous change? Note that readability is subjective. I find that this change would reduce readability. You

Re: Regular expressions (adv search) not working on Mac OS X?

2016-10-20 Thread Guillaume Munch
Le 20/10/2016 à 16:03, Tommaso Cucinotta a écrit : so the issue would be to double-check whether all regex-es in findadv.cpp can be converted to std::regex ones. But, is there a common syntax among boost::regex and std::regex that we can use so that libraries become interchangeable? Otherwise,

Re: Inverted colors for cursor

2016-10-22 Thread Guillaume Munch
Le 22/10/2016 à 15:20, racoon a écrit : However, I am at the moment considering to change LyX's spacing such that the cursor before an element starts directly at the element. As is the case with normal characters. It is just a thought for now. This would only be sensible when the cursor

Re: [LyX/master] Fix Ticket #9741 misleading name for font-encoding setting "default".

2016-10-22 Thread Guillaume Munch
Le 22/10/2016 à 17:16, Jean-Marc Lasgouttes a écrit : Le 22/10/2016 à 17:15, Enrico Forestieri a écrit : If you ask me, I think that 99.99% of users didn't change that default. If someone was needing a different encoding, it is much more likely that he stumbled upon the custom setting in the

Re: Master is slow

2016-10-22 Thread Guillaume Munch
Le 18/10/2016 à 21:44, Guillaume Munch a écrit : Profiling shows that calls to BufferParams::isExportableFormat are numerous and expensive when doing char-forward (33% of the total amount of CPU). This is called from GuiView::updateToolbars -> GuiView::getStatus. There is room for improvem

Re: [LyX/master] Do some caching of window title and related UI

2016-10-22 Thread Guillaume Munch
Le 19/10/2016 à 12:00, Jean-Marc Lasgouttes a écrit : @@ -1388,8 +1388,15 @@ QVariant GuiWorkArea::inputMethodQuery(Qt::InputMethodQuery query) const void GuiWorkArea::updateWindowTitle() { - d->lyx_view_->updateWindowTitle(this); - titleChanged(this); + Buffer const & buf

Re: [LyX/2.2.3-staging] Status and configure for 2.2.3.

2016-10-22 Thread Guillaume Munch
Le 21/09/2016 à 22:31, Richard Heck a écrit : commit 076736369f11016e5ed5a0a7dec0a58fc610c608 Author: Richard Heck Date: Wed Sep 21 16:30:58 2016 -0400 Status and configure for 2.2.3. --- Hi Richard, I have rebased 2.2.3-staging branch on top of 2.2.x. You can now

Re: [LyX/master] Move class definitions inside main class

2016-10-22 Thread Guillaume Munch
Le 23/10/2016 à 00:09, Enrico Forestieri a écrit : On Sat, Oct 22, 2016 at 11:26:15PM +0200, Guillaume Munch wrote: commit 148b3ae773c441430311feb29eba01a765bc6c48 Author: Guillaume Munch <g...@lyx.org> Date: Tue Oct 11 12:09:38 2016 +0200 Move class definitions inside main

Re: [LyX/master] Do some caching of window title and related UI

2016-10-23 Thread Guillaume Munch
Le 23/10/2016 à 13:27, Jean-Marc Lasgouttes a écrit : Le 22/10/2016 à 22:36, Guillaume Munch a écrit : I know that this is not really followed in LyX currently but I suggest to write "Q_EMIT titleChanged(this)" instead. This is meant to warn the reader that something they do not

Re: [LyX/master] Correctly track ulem commands with change tracking

2016-10-23 Thread Guillaume Munch
Le 23/10/2016 à 19:55, Richard Heck a écrit : On 10/23/2016 01:02 PM, Guillaume Munch wrote: Le 23/10/2016 à 18:38, Enrico Forestieri a écrit : commit dea5ba16de1b98d93cf30ab65119bc2364a7ac2b Author: Enrico Forestieri <for...@lyx.org> Date: Sun Oct 23 18:23:41 2016 +0200 Correctly

LyX unstable

2016-10-23 Thread Guillaume Munch
Dear list, As announced previously in a message that was probably missed (), and after discussions, I have created a branch, kept in sync with master, which reads and writes the stable format, together with a documentation of

Re: [LyX/master] On export, mark the start of the first paragraph

2016-10-23 Thread Guillaume Munch
Le 23/10/2016 à 19:02, Guillaume Munch a écrit : Le 23/10/2016 à 18:17, Enrico Forestieri a écrit : commit 9ba76e6c40738f9bd0d45d4cdb00a9842d47feec Author: Enrico Forestieri <for...@lyx.org> Date: Sun Oct 23 18:04:13 2016 +0200 On export, mark the start of the first par

Re: [LyX/master] Correctly track ulem commands with change tracking

2016-10-23 Thread Guillaume Munch
Le 23/10/2016 à 18:38, Enrico Forestieri a écrit : commit dea5ba16de1b98d93cf30ab65119bc2364a7ac2b Author: Enrico Forestieri Date: Sun Oct 23 18:23:41 2016 +0200 Correctly track ulem commands with change tracking LyX assumes that everything in \lyxdeleted is struck

Re: [LyX/master] unicodesymbols fixes.

2016-10-23 Thread Guillaume Munch
Le 08/10/2016 à 16:59, Günter Milde a écrit : commit efa844702c3844f5bb72ae3218ce175890a67db3 Author: Günter Milde Date: Sat Oct 8 16:57:52 2016 +0200 unicodesymbols fixes. force=utf8 is required for most characters provided by add-on packgages and (almost) all

Re: [LyX/master] Do some caching of window title and related UI

2016-10-23 Thread Guillaume Munch
Le 23/10/2016 à 13:57, Jean-Marc Lasgouttes a écrit : Le 23/10/2016 à 13:55, Guillaume Munch a écrit : By the way, since we appreciate the value of static checks, it is possible to use the new syntax for signal/slot connections, which allows us to know during compilation that it is mistyped

Re: [LyX/master] Do some caching of window title and related UI

2016-10-23 Thread Guillaume Munch
Le 23/10/2016 à 13:42, Guillaume Munch a écrit : Le 23/10/2016 à 13:27, Jean-Marc Lasgouttes a écrit : Le 22/10/2016 à 22:36, Guillaume Munch a écrit : I know that this is not really followed in LyX currently but I suggest to write "Q_EMIT titleChanged(this)" instead. This is mea

Re: [LyX/master] Correctly track ulem commands with change tracking

2016-10-23 Thread Guillaume Munch
Le 24/10/2016 à 01:00, Enrico Forestieri a écrit : On Sun, Oct 23, 2016 at 11:52:55PM +0200, Guillaume Munch wrote: The code does look fragile to me. I do not think that asking that developers care about maintainability is being overzealous. Then, maybe I am mistaken about the code and you got

Re: [LyX/master] Correctly track ulem commands with change tracking

2016-10-23 Thread Guillaume Munch
Le 23/10/2016 à 22:53, Enrico Forestieri a écrit : On Sun, Oct 23, 2016 at 07:02:31PM +0200, Guillaume Munch wrote: Le 23/10/2016 à 18:38, Enrico Forestieri a écrit : commit dea5ba16de1b98d93cf30ab65119bc2364a7ac2b Author: Enrico Forestieri <for...@lyx.org> Date: Sun Oct 23 18:23:4

Re: please revert: [LyX/2.2.x] Better title for ViewSource

2016-10-23 Thread Guillaume Munch
Le 23/10/2016 à 23:20, Uwe Stöhr a écrit : commit a36706c3ffe9570588962a5ad3206d57e63ffcfd Author: Guillaume Munch <g...@lyx.org> Date: Sun Aug 28 21:57:17 2016 +0100 Better title for ViewSource Sorry for being quite rude here: I am strictly opposed to these changes. LyX

Re: [LyX/master] On export, mark the start of the first paragraph

2016-10-23 Thread Guillaume Munch
Le 23/10/2016 à 18:17, Enrico Forestieri a écrit : commit 9ba76e6c40738f9bd0d45d4cdb00a9842d47feec Author: Enrico Forestieri Date: Sun Oct 23 18:04:13 2016 +0200 On export, mark the start of the first paragraph No newline is written after \begin{document}, such that

Re: [LyX/master] unicodesymbols fixes.

2016-10-23 Thread Guillaume Munch
Le 23/10/2016 à 13:18, Guillaume Munch a écrit : 1942c1942 < \textrm{created with \textbf{\textbackslash frac}} & & \textrm{created with \textbf{\textbackslash cfrac}}\\ --- \textrm{created with \textbf{⧵frac}} & & \textrm{created with \textbf{⧵cfrac}}\\ As I under

Re: [LyX/master] TexRow for InPreamble

2016-10-17 Thread Guillaume Munch
Le 17/10/2016 à 00:35, Guillaume Munch a écrit : commit 1f6c451ee3e41f31464cabcdabceb23045443175 Author: Guillaume Munch <g...@lyx.org> Date: Sun Sep 25 12:38:53 2016 +0200 TexRow for InPreamble This enables error reporting for the preamble, provided the preamble is w

Re: [LyX/master] Implement reverse-search in the source panel

2016-10-17 Thread Guillaume Munch
Le 17/10/2016 à 00:35, Guillaume Munch a écrit : commit 01d6333db21d3ed2c16f7c958fa204ff1c52044a Author: Guillaume Munch <g...@lyx.org> Date: Wed Sep 7 01:36:55 2016 +0100 Implement reverse-search in the source panel Double-clicking on a line in the source panel tr

Re: new compiler warnings in today's master

2016-10-17 Thread Guillaume Munch
Le 17/10/2016 à 01:49, Uwe Stöhr a écrit : Hi Guillaume, your recent changes introduced these new compiler warning: GuiViewSource.cpp D:\LyXGit\Master\src\TexRow.h(51): warning C4099: 'lyx::TextEntry': type name first seen using 'class' now seen using 'struct' (compiling source file

Re: Track changes deleted float caption

2016-10-17 Thread Guillaume Munch
Le 17/10/2016 à 09:14, racoon a écrit : Very nice that tracked changes for deletions of insets now crosses out the frames. I guess it would be nice to also apply this to float captions (see attached). Done. Another question: Is there a specific reason why captions are not displayed as

Re: [patch] Increase precision of TexRow in captions

2016-10-17 Thread Guillaume Munch
Le 17/10/2016 à 04:12, Pavel Sanda a écrit : Guillaume Munch wrote: Dear list, The attached patches add safe line breaks ("%\n") to the output, to crucially increase the precision of forward/reverse-search and error reporting of captions. This is especially useful as these captions

Re: [LyX/master] Docstringify getLongString in general and preamble snippets in particular

2016-10-17 Thread Guillaume Munch
Le 17/10/2016 à 00:35, Guillaume Munch a écrit : commit 1f945177b9628b213c60872df88f2d155c3d6c54 Author: Guillaume Munch <g...@lyx.org> Date: Sun Sep 25 12:37:40 2016 +0200 Docstringify getLongString in general and preamble snippets in particular Prepare ground for TexRow InPr

Re: [LyX/master] Add the customary 1-pixel gap before MathMacroTemplate to better see cursor

2016-10-17 Thread Guillaume Munch
Le 17/10/2016 à 10:25, Jean-Marc Lasgouttes a écrit : Le 06/10/2016 à 01:36, Guillaume Munch a écrit : commit 2717ef114c655bd0680aefb27820a2196dacdc22 Author: Guillaume Munch <g...@lyx.org> Date: Thu Oct 6 01:32:47 2016 +0200 Add the customary 1-pixel gap before MathMacroTe

Re: [LyX/master] Implement reverse-search in the source panel

2016-10-18 Thread Guillaume Munch
Le 18/10/2016 à 09:41, Jean-Marc Lasgouttes a écrit : Le 18/10/2016 à 01:08, Guillaume Munch a écrit : Le 17/10/2016 à 00:35, Guillaume Munch a écrit : commit 01d6333db21d3ed2c16f7c958fa204ff1c52044a Author: Guillaume Munch <g...@lyx.org> Date: Wed Sep 7 01:36:55 2016 +0100 Imp

Re: [LyX/master] Docstringify getLongString in general and preamble snippets in particular

2016-10-18 Thread Guillaume Munch
Le 18/10/2016 à 09:44, Jean-Marc Lasgouttes a écrit : I agree though that it is always annoying to have to guess what kind of string is needed. I do not think that we implement a clear policy on that. It would be nice to have one, so that we agree on what should be what. From what I got from

Re: Master is slow

2016-10-18 Thread Guillaume Munch
Le 15/10/2016 à 11:39, racoon a écrit : Typing within the master's work area is slow on my computer (while it is fine in 2.2.2 and 2.1.5). Maybe this just has to do with some debugging running in the background or so? Profiling shows that calls to BufferParams::isExportableFormat are

Re: [patch] Increase precision of TexRow in captions

2016-10-18 Thread Guillaume Munch
Le 18/10/2016 à 09:20, Enrico Forestieri a écrit : Maybe this can be limited to the non "nice" export? This is the format that is exported only for previewing and not for generating latex code meant for later editing. Specifically, this is the .tex file you get in the temp dir, where you could

Re: [patch] Increase precision of TexRow in captions

2016-10-18 Thread Guillaume Munch
Le 18/10/2016 à 22:05, Enrico Forestieri a écrit : On Tue, Oct 18, 2016 at 09:47:28PM +0200, Guillaume Munch wrote: Yes, this can be limited to the non-nice export. How strongly do you feel about it? Given the other replies I am tempted to push my patch as is. I have no strong opinion

Re: [LyX/master] Citation dialog redesign

2016-11-25 Thread Guillaume Munch
Le 25/11/2016 à 21:04, Scott Kostyshak a écrit : I think that "Search as you type" should be default because (1) this is consistent with similar dialogs such as the cross-reference dialog and the search in LyX preferences/document settings and (2) there is no "search" button as there was in the

Re: [LyX/master] Improve fractions bar

2016-11-21 Thread Guillaume Munch
Le 21/11/2016 à 17:33, Jean-Marc Lasgouttes a écrit : It is nice to give some love to \frac (it was somewhere on my to do list). I have not tried it yet, but I have questions: * why not use FontMetrics::lineWidth for the witdth of the line? You do not want to use the same width for a fraction

Re: [LyX/master] Let math mu skips scale with zoom

2016-11-21 Thread Guillaume Munch
Le 21/11/2016 à 17:28, Jean-Marc Lasgouttes a écrit : Do you really see a difference with this patch? What makes you thing that theFontMetrics(font).em() does not scale with zoom? Looking at the code, the way zoom is taken in account on this code path in Length is pretty ugly. I find the

Re: [LyX/master] mathedSymbolDim only needs a MathBase

2016-11-21 Thread Guillaume Munch
Le 21/11/2016 à 17:35, Jean-Marc Lasgouttes a écrit : Somewhere on my todo list I wanted to make MetricsInfo inherit from MetricsBase, in order to avoid this stupid mi.base thing. Do you see a reason not to do it? Well, do you see a reason to do it? What is wrong with composition in this

Re: [LyX/master] Improve fractions bar

2016-11-21 Thread Guillaume Munch
Le 22/11/2016 à 00:32, Guillaume Munch a écrit : Le 21/11/2016 à 17:33, Jean-Marc Lasgouttes a écrit : * did you try to look at what TeX does and see what can be picked from there? The relevant rules are 15(a-e). It is not funny reading, but last time I looked I conlcuded that part

Re: #10481: Hardening LyX against potential misuse

2016-11-27 Thread Guillaume Munch
Hi Tommaso, I have been following your work on this issue with interest. Thank you, this is something that was much needed. Making AppArmor work would be great too, but I suspect that it is going to be hard to have a configuration which is both secure and without hassle to the user, especially

Re: #10481: Hardening LyX against potential misuse

2016-11-27 Thread Guillaume Munch
Le 25/11/2016 à 20:50, Scott Kostyshak a écrit : On Fri, Nov 25, 2016 at 02:32:37PM -0500, Scott Kostyshak wrote: I think the line-breaking in the warning dialog should be improved. The horizontal width is larger than my 13 in. screen. See attached. Note that the linebreaking on the *other*

Re: Remove templatization from bformat() ?

2016-11-26 Thread Guillaume Munch
Le 24/11/2016 à 00:33, Tommaso Cucinotta a écrit : Hi, while playing with strings, I've just run into a mysterious linking error [1] which, after a bit of digging, turned out to be decrypted as [2]. Basically, [2] is obtained by removing all templatization code for bformat() in lstrings.h. All

Re: Qt assertion when trying to view "Hangul Syllables" in special character insertion

2016-11-18 Thread Guillaume Munch
Le 19/11/2016 à 00:16, Richard Heck a écrit : On 11/18/2016 04:01 PM, Scott Kostyshak wrote: If I go to Insert > Special Character > Symbols... and then go to "Hangul Syllables", I get an assertion. On Qt 5 with custom-compiled Qt: ASSERT: "last >= first" in file

Re: [LyX/master] On-screen justification: stretch in proportion with the em, up to a limit

2016-11-21 Thread Guillaume Munch
Le 21/11/2016 à 09:06, Scott Kostyshak a écrit : On Mon, Nov 21, 2016 at 01:04:10AM +0100, Guillaume Munch wrote: But with your recipe I got the attached (unrelated) segfault when closing LyX. A bisect led me to fb264663. Thank you for doing that.

Re: [LyX/master] On-screen justification: stretch in proportion with the em, up to a limit

2016-11-21 Thread Guillaume Munch
Le 21/11/2016 à 11:45, Jean-Marc Lasgouttes a écrit : I agree, but I could not figure it out. Do you have a MWE? That's the point, I don't. I can add a terminal error message to help find one in the future if you think it is going to help.

Re: [LyX/master] On-screen justification: stretch in proportion with the em, up to a limit

2016-11-21 Thread Guillaume Munch
Le 21/11/2016 à 10:02, Jean-Marc Lasgouttes a écrit : Can you expand on when w<0 happens? I think that fixing problems (other than with an explicit workaround) is often a better idea in the long run. I agree, but I could not figure it out.

Re: [LyX/master] On-screen justification: stretch in proportion with the em, up to a limit

2016-11-21 Thread Guillaume Munch
Le 21/11/2016 à 11:56, Jean-Marc Lasgouttes a écrit : Le 21/11/2016 à 11:49, Guillaume Munch a écrit : Le 21/11/2016 à 11:45, Jean-Marc Lasgouttes a écrit : I agree, but I could not figure it out. Do you have a MWE? That's the point, I don't. I can add a terminal error message to help

Re: [LyX/master] On-screen justification: stretch in proportion with the em, up to a limit

2016-11-20 Thread Guillaume Munch
Le 21/11/2016 à 00:51, Guillaume Munch a écrit : Le 20/11/2016 à 22:47, Scott Kostyshak a écrit : After this commit I get an assertion. To reproduce: 1. Open lib/doc/Math.lyx 2. ctrl+a to select all. 3. Insert > Branch > Insert New Branch. Call it "hello" and press

Re: [LyX/master] On-screen justification: stretch in proportion with the em, up to a limit

2016-11-20 Thread Guillaume Munch
Le 20/11/2016 à 22:47, Scott Kostyshak a écrit : After this commit I get an assertion. To reproduce: 1. Open lib/doc/Math.lyx 2. ctrl+a to select all. 3. Insert > Branch > Insert New Branch. Call it "hello" and press OK. Hi Scott, Unfortunately I cannot reproduce. But with your recipe I

Re: LyX 2.2.2 Tarballs

2016-10-13 Thread Guillaume Munch
Le 12/10/2016 à 20:02, racoon a écrit : On 10.10.2016 17:49, Richard Heck wrote: Here: ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.2/2.2.2/ Please prepare binaries. I am on 2.2.2 now. There is something strange happening when I *replace* stuff from the beginning of a paragraph before a space

Re: [LyX/master] Remove question marks from Windows dialogs

2016-10-09 Thread Guillaume Munch
Le 09/10/2016 à 19:51, Guillaume Munch a écrit : commit cf26d53e037cf59b5816cdb2f5c7d835b83d480a Author: Daniel Ramöller <d@web.de> Date: Mon Oct 3 20:20:16 2016 +0200 Remove question marks from Windows dialogs Welcome to the project!

Re: [patch] Factor out magic zoom minimum to a const member

2016-10-09 Thread Guillaume Munch
Le 09/10/2016 à 23:26, Scott Kostyshak a écrit : On Sun, Oct 09, 2016 at 05:21:03PM -0400, Scott Kostyshak wrote: I just pushed a commit but I forgot to append the underscore. I'll fix that now. Committed at 168d3557 and amended at 5fd21db9. Scott I now get the following with gcc 4.6:

Re: Mysterious crash

2016-10-16 Thread Guillaume Munch
Le 29/09/2016 à 18:41, Enrico Forestieri a écrit : On Thu, Sep 29, 2016 at 12:52:02PM +0200, Guillaume Munch wrote: Thanks for the backtrace. The problem is that the variable BufferView * bv_ in ViewSourceWidget is a borrowed pointer with unclear lifetime, i.e. it will dangle. I have decided

[patch] Increase precision of TexRow in captions

2016-10-16 Thread Guillaume Munch
patches. I am ready to adjust the test afterwards if there are reports of tests needing such adjustment. Sincerely, Guillaume >From f97a870a2f77229876e12d77bf727505ae42aa84 Mon Sep 17 00:00:00 2001 From: Guillaume Munch <g...@lyx.org> Date: Mon, 10 Oct 2016 16:52:32 +0200 Subject: [PATCH 1/2

recent commits

2016-10-16 Thread Guillaume Munch
I had some comments on the series of commits that I just pushed but this will have to wait since the messages on lyx-cvs (and lyx-devel) take ages to arrive. (Is gmane down in celebration of LyX 2.2.2?) They are various minor improvements to TexRow in general and reverse search in particular but

Re: Master is slow

2016-10-15 Thread Guillaume Munch
Le 15/10/2016 à 11:39, racoon a écrit : Typing within the master's work area is slow on my computer (while it is fine in 2.2.2 and 2.1.5). What is the qt version?

Re: LyX 2.2 slowness

2016-12-08 Thread Guillaume Munch
Le 08/12/2016 à 16:07, Jean-Marc Lasgouttes a écrit : Also, it would be nice to know what are the callers of freettype that consume the most time. As a reminder here is where I got last time with kcachegrind: https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg194401.html The caching in

Re: #10481: Hardening LyX against potential misuse

2016-12-08 Thread Guillaume Munch
Le 05/12/2016 à 08:53, Tommaso Cucinotta a écrit : On 04/12/2016 18:51, Guillaume Munch wrote: Le 04/12/2016 à 18:06, Tommaso Cucinotta a écrit : On 28/11/2016 00:42, Tommaso Cucinotta wrote: On 27/11/2016 13:52, Guillaume Munch wrote: * Converters>Security is located below the conver

Re: compilation error with current master

2016-12-08 Thread Guillaume Munch
Le 07/12/2016 à 13:57, Jan Niklas Hasse a écrit : Hi, try adding #include to Encoding.cpp. Yes On Wed, 7 Dec 2016, at 00:36, Uwe Stöhr wrote: With today's master I get this compilation error: Encoding.cpp D:\LyXGit\Master\src\Encoding.cpp(267): error C3861: 'back_inserter':

Re: #10481: Hardening LyX against potential misuse

2016-12-08 Thread Guillaume Munch
Le 05/12/2016 à 08:36, Tommaso Cucinotta a écrit : On 04/12/2016 18:37, Guillaume Munch wrote: If there are n graphics, then are there n dialogs when opening the file for the first time? it asks as many times as there are (uncached) graphics needing 'needauth' converters,unless you hit

Re: [LyX/master] Cosmetic changes to the needauth dialogs

2016-12-08 Thread Guillaume Munch
Le 04/12/2016 à 19:59, Enrico Forestieri a écrit : On Sun, Dec 04, 2016 at 06:38:42PM +0100, Guillaume Munch wrote: +// FIXME: This dialog has issues with line breaking and size, in particular with +// html. But it could easily be reimplemented as a QMessageBox using +// QMessageBox

Re: Hardening LyX - AppArmor patch

2016-12-12 Thread Guillaume Munch
Le 11/12/2016 à 01:16, Tommaso Cucinotta a écrit : Hi, please, find attached a rework of the AppArmor patch to harden/confine possible side effects of converters via an AppArmor profile on Linux. The major challenge here is to ship with a meaningful AA profile -- I'd be happy to hear feedback

Re: [LyX/2.2.x] Assure long tooltip is correctly formatted.

2017-01-13 Thread Guillaume Munch
Le 13/01/2017 à 11:32, Jürgen Spitzmüller a écrit : Am Freitag, den 13.01.2017, 11:11 +0100 schrieb Guillaume Munch: (Independently, I will try to see why this was not called automatically in master.) OK. Maybe because this is a sub-dialog? Weird, it displays fine here at 119dfcb1

Re: [LyX/master] Add an "Automatic" bibliography processor pref option

2017-01-14 Thread Guillaume Munch
Le 13/01/2017 à 23:28, Richard Heck a écrit : Format change? It does not look like it to me. However: /// Return the actual bibtex command (lyxrc or buffer param) - std::string const & bibtexCommand() const; + std::string const bibtexCommand() const; I saw const-value

Re: [LyX/2.2.x] Assure long tooltip is correctly formatted.

2017-01-14 Thread Guillaume Munch
Le 14/01/2017 à 10:07, Jürgen Spitzmüller a écrit : Am Freitag, den 13.01.2017, 22:02 +0100 schrieb Guillaume Munch: Weird, it displays fine here at 119dfcb1. Are there precise steps that I must follow to reproduce the bug? * Open the BibTeX inset dialog * Hit "Add" * On the sub-dia

Re: [LyX/2.2.x] Assure long tooltip is correctly formatted.

2017-01-13 Thread Guillaume Munch
Le 13/01/2017 à 09:09, Juergen Spitzmueller a écrit : commit ca9c8dbde1d8a3d4ceeba990bbfcab17bfecb940 Author: Juergen Spitzmueller Date: Fri Jan 13 09:07:44 2017 +0100 Assure long tooltip is correctly formatted. Amendment to ffb195b5e9fa ... +

Re: [LyX/2.2.x] Assure long tooltip is correctly formatted.

2017-01-14 Thread Guillaume Munch
Le 14/01/2017 à 16:26, Kornel Benko a écrit : I don't see it. Here it displays as a 6-liner in Slovak translation. QT5.7 OS Mint17.3 desktop MATE Kornel Thanks Kornel and Jürgen for the replies. I will stop my investigation but do not hesitate to report issues like this in the

Re: Qt assertion when trying to view "Hangul Syllables" in special character insertion

2016-12-03 Thread Guillaume Munch
Le 02/12/2016 à 08:03, Scott Kostyshak a écrit : On Sat, Nov 19, 2016 at 12:41:13AM +0100, Guillaume Munch wrote: I cannot reproduce with the provided info (2.3dev & Qt5). A bisect led to b3bed292. The attached patch fixes it for me, although I don't understand my patch. Hello S

Re: Crash in stable

2016-12-03 Thread Guillaume Munch
Le 02/12/2016 à 01:08, Richard Heck a écrit : On 12/01/2016 06:44 PM, Enrico Forestieri wrote: On Thu, Dec 01, 2016 at 07:50:19PM +0100, Enrico Forestieri wrote: This only occurs with 2.2.3dev (not with 2.2.2, nor with 2.3.0dev): 1) Start lyx, make sure the source pane is closed 2) File->New

Re: Crash-Reporting on Mac

2016-12-03 Thread Guillaume Munch
Le 30/11/2016 à 16:48, Jean-Marc Lasgouttes a écrit : a useless backtrace If you have the symbols at hand, then you can get them by hand. For instance if you have compiled in debug mode, then you can run gdb as you do usually, only after the fact, and get the symbols with "info symbols

Re: Crash in stable

2016-12-04 Thread Guillaume Munch
Le 04/12/2016 à 17:04, Enrico Forestieri a écrit : Weak arguments, given that you say the patch was written with the proper fix in mind (which is not in stable). It is probably clear to Enrico (I hope) but maybe less to people who did not follow the discussions and the mentioned commits too

Re: #10481: Hardening LyX against potential misuse

2016-12-04 Thread Guillaume Munch
Le 28/11/2016 à 00:42, Tommaso Cucinotta a écrit : eh eh, what about remembering 'needauth' (as well as cursor pos) only for those files in the recent files list :-), and collapse the 3 lists into a single one, and a single session section ? Two problems I see with this idea is that migrating

Re: #10481: Hardening LyX against potential misuse

2016-12-04 Thread Guillaume Munch
Le 04/12/2016 à 18:06, Tommaso Cucinotta a écrit : On 28/11/2016 00:42, Tommaso Cucinotta wrote: On 27/11/2016 13:52, Guillaume Munch wrote: * Converters>Security is located below the converter configuration, which leads to think that they are converter properties instead of global setti

Re: Crash in stable

2016-12-04 Thread Guillaume Munch
Le 04/12/2016 à 00:57, Enrico Forestieri a écrit : On Sat, Dec 03, 2016 at 11:59:33PM +0100, Guillaume Munch wrote: This is the same as https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg196794.html. I have now backported the fix. Hmmm... a quite convoluted patch. There was a one-liner

Re: Crash in stable

2016-12-04 Thread Guillaume Munch
Le 04/12/2016 à 12:25, Enrico Forestieri a écrit : On Sun, Dec 04, 2016 at 11:57:29AM +0100, Guillaume Munch wrote: Le 04/12/2016 à 00:57, Enrico Forestieri a écrit : On Sat, Dec 03, 2016 at 11:59:33PM +0100, Guillaume Munch wrote: This is the same as https://www.mail-archive.com/lyx-devel

Re: Crash in stable

2016-12-04 Thread Guillaume Munch
Le 04/12/2016 à 18:48, Enrico Forestieri a écrit : I am confused now. You make a convoluted patch justifying it by saying that it was done in view of a proper fix. The simpler one-liner has the same effect and actually would not be possible if the proper fix was in place. Given that it is not

Re: dynamic quotes

2017-01-04 Thread Guillaume Munch
Le 01/01/2017 à 18:29, Guenter Milde a écrit : On 2016-12-31, Jürgen Spitzmüller wrote: Is there a use case for the document specific setting? (I.e. is there someone in need for one keybinding inserting "dynamic" quote insets in one document but "static" quote insets in another document?)

Re: [LyX/master] Add ability to use refstyle's plural and capitalization features.

2017-01-04 Thread Guillaume Munch
Le 03/01/2017 à 04:40, Richard Heck a écrit : commit 73f59e87bd62e00bbfbceee59b8876aa59e75f58 Author: Richard Heck Date: Sat Jun 18 19:29:15 2016 -0400 Add ability to use refstyle's plural and capitalization features. --- lib/lyx2lyx/lyx_2_3.py| 67

Re: [LyX/master] TocWidget: fix an erroneous collapse and optimise updates based on profiling

2016-12-30 Thread Guillaume Munch
Le 30/12/2016 à 17:05, Jean-Marc Lasgouttes a écrit : Le 29/12/2016 à 07:21, Guillaume Munch a écrit : Le 27/12/2016 à 23:11, Scott Kostyshak a écrit : On Tue, May 31, 2016 at 01:15:38AM +0200, Guillaume Munch wrote: commit 1cc14a31ca8320d881b674f93c34a09cf1666cca Author: Guillaume Munch &l

Re: [LyX/master] TocWidget: fix an erroneous collapse and optimise updates based on profiling

2016-12-30 Thread Guillaume Munch
Le 30/12/2016 à 17:11, Richard Heck a écrit : On 12/29/2016 01:21 AM, Guillaume Munch wrote: Le 27/12/2016 à 23:11, Scott Kostyshak a écrit : On Tue, May 31, 2016 at 01:15:38AM +0200, Guillaume Munch wrote: commit 1cc14a31ca8320d881b674f93c34a09cf1666cca Author: Guillaume Munch <g...@lyx.

Re: [LyX/master] TocWidget: fix an erroneous collapse and optimise updates based on profiling

2016-12-28 Thread Guillaume Munch
Le 27/12/2016 à 23:11, Scott Kostyshak a écrit : On Tue, May 31, 2016 at 01:15:38AM +0200, Guillaume Munch wrote: commit 1cc14a31ca8320d881b674f93c34a09cf1666cca Author: Guillaume Munch <g...@lyx.org> Date: Mon May 30 21:42:08 2016 +0100 TocWidget: fix an erroneous collapse and op

Re: dynamic quotes

2016-12-30 Thread Guillaume Munch
Le 30/12/2016 à 23:39, Guenter Milde a écrit : Dear Jürgen, dear LyX developers, I am glad to see the "dynamic quotes" and optional arguments to the quote-insert LFUN are implemented. Now, M-x quote-insert * * dynamic inserts a quote-inset that * is rendered blue in the GUI, so we can see

Re: dynamic quotes

2017-01-04 Thread Guillaume Munch
Le 04/01/2017 à 14:23, Jürgen Spitzmüller a écrit : Am Mittwoch, den 04.01.2017, 13:52 +0100 schrieb Guillaume Munch: I find too that the above does not make the case for a new document setting that changes the default behaviour of a LFUN. Note that the quote document setting has done

Re: [LyX/master] TocWidget: fix an erroneous collapse and optimise updates based on profiling

2017-01-03 Thread Guillaume Munch
Le 31/12/2016 à 16:13, Jean-Marc Lasgouttes a écrit : Le 31/12/2016 à 15:48, Guillaume Munch a écrit : Using weak pointers instead of naked pointers could be used to let you know when an inset has been destroyed. The cursor could then check if all slices are valid, and if not then fix itself

Re: dynamic quotes

2017-01-04 Thread Guillaume Munch
Le 04/01/2017 à 17:54, Jürgen Spitzmüller a écrit : Let me rephrase: This is style-dependent. Some styles require you to use "foreign" quotes for all foreign text, some for "whole sentences". Most German style sheets I know, however, require you to use the same quotation marks (of the matrix

Re: dynamic quotes

2017-01-04 Thread Guillaume Munch
Le 04/01/2017 à 15:42, Jürgen Spitzmüller a écrit : Am Mittwoch, den 04.01.2017, 15:02 +0100 schrieb Guillaume Munch: Starting with the important point: So, here are two suggestions for improving dynamic quotes, good enough (AFAIU) to be a default behaviour, sparing the need for a document

<    4   5   6   7   8   9   10   >