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] 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] 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] 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] 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

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] 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-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: 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] 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: 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: 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: [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: [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: [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: 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: [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: [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] 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: [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] 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: [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: 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: 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: [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

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

[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

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

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.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: [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: [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: Should forward search (re)?generate preview if needed?

2016-10-08 Thread Guillaume Munch
Le 07/10/2016 à 03:47, Scott Kostyshak a écrit : On Sat, Aug 20, 2016 at 01:55:46PM -0400, Scott Kostyshak wrote: I am still a newcommer to the forward search feature, and am enjoying it a lot. Sometimes forward search does not work (even though it is enabled) [1]. For example, if you have not

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: [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: 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: 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: 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: 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: 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: [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: Track changes: copy and paste of elements with tracked changes keeps changes

2016-09-26 Thread Guillaume Munch
Le 26/09/2016 à 19:43, racoon a écrit : On 12.09.2016 15:06, racoon wrote: Hi, I'd like to hear what you think about the suggestion in https://www.lyx.org/trac/ticket/10278. Today I ran into another use case. I have a document with a lot of tracked changes. Since it also grew over time I

Re: [LyX/master] Do not rely on math macros being updated

2016-09-25 Thread Guillaume Munch
Le 25/09/2016 à 20:37, Enrico Forestieri a écrit : commit 6642152e6610f1e885babfaeb3c99bd0004916fc Author: Enrico Forestieri Date: Sun Sep 25 20:31:13 2016 +0200 Do not rely on math macros being updated Trying to spare a few cycles by avoiding computing metrics

Re: 2 compilation errors in TexRow.cpp

2016-09-23 Thread Guillaume Munch
Le 24/09/2016 à 00:40, Uwe Stöhr a écrit : with today's git master i get this: TexRow.cpp D:\LyXGit\Master\src\TexRow.cpp(68): error C3861: 'back_inserter': identifier not found [D:\LyXGit\Master\compile-2015\src\LyX.vcxproj] D:\LyXGit\Master\src\TexRow.cpp(185): error C3861: 'back_inserter':

Re: 2 compilation errors in TexRow.cpp

2016-09-23 Thread Guillaume Munch
Le 24/09/2016 à 00:40, Uwe Stöhr a écrit : with today's git master i get this: TexRow.cpp D:\LyXGit\Master\src\TexRow.cpp(68): error C3861: 'back_inserter': identifier not found [D:\LyXGit\Master\compile-2015\src\LyX.vcxproj] D:\LyXGit\Master\src\TexRow.cpp(185): error C3861: 'back_inserter':

Re: Mark line(s) on Reverse search instead of close position

2016-09-23 Thread Guillaume Munch
Le 29/08/2016 à 12:33, racoon a écrit : On Reverse search LyX puts the cursor at a position only *close* to but not exactly at the position chosen in the pdf document. It is a bit tricky for me to always find the former position in my document. Since it is anyway not the exact position maybe it

Re: Enable View master document even if there are no child documents

2016-09-23 Thread Guillaume Munch
Le 23/09/2016 à 11:31, Jean-Marc Lasgouttes a écrit : Le 22/09/2016 à 00:43, Guillaume Munch a écrit : The attached patch does what you want. The only problem is that now "View/Update Master Document" is always shown. What about renaming master-buffer-view to buffer-view and b

Re: toolbars Lock menu

2016-09-22 Thread Guillaume Munch
me how to do the improvements. While I think it is helpful to do exercises to learn it myself, I also need to see a couple of times how to do it first. On 21.09.2016 17:24, Guillaume Munch wrote: Le 11/08/2016 à 14:56, racoon a écrit : * I expected to find the lock toolbar option when right

Re: Enable View master document even if there are no child documents

2016-09-22 Thread Guillaume Munch
Le 22/09/2016 à 04:41, Richard Heck a écrit : On 09/21/2016 06:43 PM, Guillaume Munch wrote: Le 29/08/2016 à 17:02, Jean-Marc Lasgouttes a écrit : This has been discussed some time ago. The command: command-alternative master-buffer-view; buffer-view does what you want. However, it would

Re: Enable View master document even if there are no child documents

2016-09-21 Thread Guillaume Munch
patch does what you want. The only problem is that now "View/Update Master Document" is always shown. >From 683f25efbcb36cf0ff310395fe7cca1e7eaaf4a4 Mon Sep 17 00:00:00 2001 From: Guillaume Munch <g...@lyx.org> Date: Thu, 22 Sep 2016 00:38:40 +0200 Subject: [PATCH] master-buffe

Re: Inkscape /LyX integration (working!)

2016-09-21 Thread Guillaume Munch
Le 06/09/2016 à 05:48, Vermeer Martin a écrit : Pavel thanks! Attached the changes you proposed (though still to HEAD). Yes, the Inkscape bug is known upstream. Fixing seems to be a bit tricky as it is due to a change in the Cairo library, aimed at enabling the output of "layers",

Re: Translations for 2.2.2

2016-09-21 Thread Guillaume Munch
Le 12/09/2016 à 01:44, Richard Heck a écrit : Feel free to do all this as soon as 2.2.2 is released. Or we can create a 2.2.3-staging branch and you can commit them there. I have tried to push a branch 2.2.3-staging but either I use the wrong command, or I don't have credentials to create a

Re: fix math toolbars

2016-09-21 Thread Guillaume Munch
Le 16/09/2016 à 02:41, Enrico Forestieri a écrit : On Fri, Sep 16, 2016 at 12:33:08AM +0100, Guillaume Munch wrote: Le 15/09/2016 à 23:52, Enrico Forestieri a écrit : On Thu, Sep 15, 2016 at 01:41:30PM +0100, Guillaume Munch wrote: Now same problem with the attached. I get $\mbox{\ensuremath

Re: toolbars Lock menu

2016-09-21 Thread Guillaume Munch
Le 11/08/2016 à 14:56, racoon a écrit : Hi, Thanks and sorry for the delay. Here is an updated version. (I hope I have not forgotten to include all files in the patch.) This time the Lock Toolbars Positions is locked if and only if each toolbar is locked. I guess that makes more sense. Hi

Re: [LyX/master] Document the new behaviour in mathed

2016-09-21 Thread Guillaume Munch
Le 19/09/2016 à 11:58, Enrico Forestieri a écrit : commit d0f608d28ebeabadc8308f408f2a67980da8e73c Author: Enrico Forestieri Date: Mon Sep 19 11:57:39 2016 +0200 Document the new behaviour in mathed --- lib/RELEASE-NOTES | 12 +--- 1 files changed, 9

Re: GUI changes for inserting citations in 2.2x

2016-09-18 Thread Guillaume Munch
Le 18/09/2016 à 11:33, Enrico Forestieri a écrit : On Sat, Sep 17, 2016 at 10:35:15PM +0100, g...@lyx.org wrote: In general the data manipulated by LyX is very small. In my experience LyX is sometimes slow not because of the size of the data but because of bad design in certain places (e.g.

Re: LyX-menu problem on mac OS

2016-09-18 Thread Guillaume Munch
Le 18/09/2016 à 12:39, pdv a écrit : Commit 4d99... on august 28 did break the LyX-menu on mac OS; This is due to the loop counter not being incremented in the for-loop starting on line number 1957 in Menus.cpp. This should be fixed now. Thanks!

Re: GUI changes for inserting citations in 2.2x

2016-09-16 Thread Guillaume Munch
Le 16/09/2016 à 13:53, Jürgen Spitzmüller a écrit : Am Freitag, den 16.09.2016, 13:41 +0100 schrieb Guillaume Munch: Am Freitag, den 16.09.2016, 12:39 +0100 schrieb Guillaume Munch: Now one will expect "search on the fly" to be always activated, for consistency for other sea

Re: GUI changes for inserting citations in 2.2x

2016-09-16 Thread Guillaume Munch
. Where else should that be done? Guillaume >From d803e0b6c566dc1d4ba74b7a901df1c6e1cceade Mon Sep 17 00:00:00 2001 From: Guillaume Munch <g...@lyx.org> Date: Fri, 16 Sep 2016 22:06:38 +0100 Subject: [PATCH] GuiCitation: Set infoML to read-only colors --- src/frontends/qt4/GuiCitation

Re: GUI changes for inserting citations in 2.2x

2016-09-16 Thread Guillaume Munch
Le 16/09/2016 à 08:22, Jürgen Spitzmüller a écrit : I've pushed the stuff with these fixes to master. Probably something to come back to for 2.2.3. Works very well. Now one will expect "search on the fly" to be always activated, for consistency for other search fields. If this is done, it

Re: GUI changes for inserting citations in 2.2x

2016-09-15 Thread Guillaume Munch
Le 15/09/2016 à 22:30, Guillaume Munch a écrit : * One could use the search field with the "clear" button already present in the outliner. But this can be done another time. In fact, it is only in the search field of the settings and document preferences dialogs (look up Fan

Re: fix math toolbars

2016-09-15 Thread Guillaume Munch
Le 15/09/2016 à 23:52, Enrico Forestieri a écrit : On Thu, Sep 15, 2016 at 01:41:30PM +0100, Guillaume Munch wrote: Now same problem with the attached. I get $\mbox{\ensuremath{\comp}\comp}$ instead of $\mbox{\ensuremath{\comp\comp}}$. Also, I was surprised to see that when I enter \textit

Re: GUI changes for inserting citations in 2.2x

2016-09-15 Thread Guillaume Munch
Le 15/09/2016 à 18:55, Jürgen Spitzmüller a écrit : Am Samstag, den 10.09.2016, 14:47 +0200 schrieb Charles de Miramon: If there is a redesign of the dialog, could it be posible to put the search field on the top ? Patch and screenshot attached. Opinions (I prefer this one)? This looks

Re: fix math toolbars

2016-09-15 Thread Guillaume Munch
Le 15/09/2016 à 01:05, Enrico Forestieri a écrit : On Wed, Sep 14, 2016 at 04:46:20PM +0100, Guillaume Munch wrote: Le 14/09/2016 à 01:39, Enrico Forestieri a écrit : Oh, yes. Apparently, macros are not the only thing that may be not up to date. Hopefully, I nailed this at 8ec91e80. Please

Re: fix math toolbars

2016-09-14 Thread Guillaume Munch
Le 14/09/2016 à 01:39, Enrico Forestieri a écrit : Oh, yes. Apparently, macros are not the only thing that may be not up to date. Hopefully, I nailed this at 8ec91e80. Please, try again. Unfortunately, the attached file which used to compile successfully no longer does. LyX used to export

Re: fix math toolbars

2016-09-14 Thread Guillaume Munch
Le 14/09/2016 à 01:39, Enrico Forestieri a écrit : Oh, yes. Apparently, macros are not the only thing that may be not up to date. Hopefully, I nailed this at 8ec91e80. Please, try again. Thanks, I no longer have crashes on opening.

Re: [LyX/master] Set window title according to platform UI

2016-09-13 Thread Guillaume Munch
Le 12/09/2016 à 15:30, Jean-Marc Lasgouttes a écrit : Le 11/09/2016 à 04:49, Guillaume Munch a écrit : LyX produces the following message on the console in current master: QWidget::setWindowModified: The window title does not contain a '[*]' placeholder Can you describe when this happens? I

Re: fix math toolbars

2016-09-13 Thread Guillaume Munch
Le 13/09/2016 à 06:45, Enrico Forestieri a écrit : The symptom seems to be the same, so I am maybe missing some case. Unfortunately, without a test case there is not much I can do. In the mean time I will commit both patches, as the alternative one will also help in the other cases mentioned

Re: fix math toolbars

2016-09-12 Thread Guillaume Munch
Le 12/09/2016 à 19:35, Enrico Forestieri a écrit : On Mon, Sep 12, 2016 at 05:01:33AM +0200, Enrico Forestieri wrote: You can spare your time as I think I found the problem. The patch simply uncovered a latent bug. The crash only occurs when there is a user defined math macro. In this case,

Re: Translations for 2.2.2

2016-09-11 Thread Guillaume Munch
Le 11/09/2016 à 21:42, Richard Heck a écrit : On 09/11/2016 03:47 PM, Guillaume Munch wrote: Hi Richard, you may have missed my messages below: https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg196283.html https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg196232.html Of course

Re: fix math toolbars

2016-09-11 Thread Guillaume Munch
Le 11/09/2016 à 11:05, Enrico Forestieri a écrit : On Sun, Sep 11, 2016 at 03:48:06AM +0100, Guillaume Munch wrote:> Apart from the fact that I waited for three days (http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg196459.html), experience tells me that who is against a change speaks

Re: Translations for 2.2.2

2016-09-11 Thread Guillaume Munch
Le 11/09/2016 à 17:15, Richard Heck a écrit : We have fixed enough bugs now, including the critical bug #10340, that it is time to prepare the release of LyX 2.2.2. I'm hoping to do the release toward the end of the month, so please prepare translations within the next two weeks. Thanks for

Re: [RFC][PATCH] Set window title according to platform UI

2016-09-10 Thread Guillaume Munch
Le 08/09/2016 à 22:27, Enrico Forestieri a écrit : On Thu, Sep 08, 2016 at 03:04:17PM +0200, Jean-Marc Lasgouttes wrote: Le 08/09/2016 à 03:31, Enrico Forestieri a écrit : On Wed, Sep 07, 2016 at 03:13:38PM +0200, Jean-Marc Lasgouttes wrote: And of course, a screenshot (no you are not

Re: [LyX/master] Set window title according to platform UI

2016-09-10 Thread Guillaume Munch
Le 08/09/2016 à 14:59, Jean-Marc Lasgouttes a écrit : commit 82808fea04315fd323ec074e8ad7865d190987d4 Author: Jean-Marc Lasgouttes Date: Tue Sep 6 11:17:10 2016 +0200 Set window title according to platform UI + // Tell Qt whether the current document is changed

Re: fix math toolbars

2016-09-10 Thread Guillaume Munch
Le 10/09/2016 à 17:29, Enrico Forestieri a écrit : On Fri, Sep 09, 2016 at 12:04:47PM +0200, Enrico Forestieri wrote: Tell me how much time you think it will take you. One month? Two months? Three months? I'll wait for that time. No response and no other nay. So, I am going ahead. Hi

Re: [PATCH] A fix for the zombie -lyxformat- files invasion ?

2016-09-09 Thread Guillaume Munch
Le 09/09/2016 à 09:45, Jean-Marc Lasgouttes a écrit : Hello, Here is a trivial idea to limit the proliferation of myfile-lyxformat-322.lyx files that are more annoying than helpful to many people (or helpful in a Clippy sense). Can we at least use .lyx~ as extension? Is the ~ convention

Re: GUI changes for inserting citations in 2.2x

2016-09-08 Thread Guillaume Munch
Le 08/09/2016 à 19:28, Jürgen Spitzmüller a écrit : Am Donnerstag, den 08.09.2016, 11:55 -0400 schrieb Richard Heck: I would second this. I think what is confusing people is partly the "stacked" nature of these tabs. As someone else mentioned, it would also save vertical space to use a

Re: GUI changes for inserting citations in 2.2x

2016-09-08 Thread Guillaume Munch
Le 08/09/2016 à 14:04, Jürgen Spitzmüller a écrit : Am Donnerstag, den 08.09.2016, 14:45 +0200 schrieb Jean-Marc Lasgouttes: I am sure this has been debated but what is the reason why we do not use good old tabs for these two panes? I'd say that what you using there can be good for sidebars,

Re: GUI changes for inserting citations in 2.2x

2016-09-08 Thread Guillaume Munch
Le 08/09/2016 à 14:27, Jürgen Spitzmüller a écrit : Am Donnerstag, den 08.09.2016, 09:20 -0400 schrieb Maria Gouskova: What about at least changing it so that "Search" appears in "open position" or in a top tab, and "Formatting" is in a back tab? I thought about this. I think for people using

Re: GUI changes for inserting citations in 2.2x

2016-09-08 Thread Guillaume Munch
Le 07/09/2016 à 06:36, Jürgen Spitzmüller a écrit : Am Dienstag, den 06.09.2016, 23:29 -0600 schrieb Joel Kulesza: On Tue, Sep 6, 2016 at 11:19 PM, Jürgen Spitzmüller wrote: Am Dienstag, den 06.09.2016, 23:15 -0600 schrieb Joel Kulesza: On OSX, Alt-S does nothing. Same for

Re: GUI changes for inserting citations in 2.2x

2016-09-08 Thread Guillaume Munch
Le 07/09/2016 à 07:06, Jürgen Spitzmüller a écrit : As I wrote, I think it is important that the dialogs work on all current screens, and in general, I think 800x600 is still a good maximum for dialogs. And now with Hi-DPI it is no longer a matter of resolution since one also has to take

Re: GUI changes for inserting citations in 2.2x

2016-09-06 Thread Guillaume Munch
Le 06/09/2016 à 21:20, Maria Gouskova a écrit : Hi developers, I just upgraded to 2.2.1 today. I can see that there have been a lot of changes in the appearance of the interface, so obviously quite a lot of work went into the redesign. I confess I was stumped, though, when I went to insert a

Re: [RFC][PATCH] Set window title according to platform UI

2016-09-06 Thread Guillaume Munch
Le 06/09/2016 à 17:42, Jean-Marc Lasgouttes a écrit : Le 06/09/2016 à 18:12, Jean-Marc Lasgouttes a écrit : Hello, The following patch uses Qt built-in mechanism for creating window title. This means that changed status is shown using an asterisk (except on Mac OS) and that read-only and

Re: Mark line(s) on Reverse search instead of close position

2016-09-06 Thread Guillaume Munch
Le 06/09/2016 à 07:55, racoon a écrit : On 04.09.2016 00:18, Guillaume Munch wrote: Le 29/08/2016 à 11:33, racoon a écrit : On Reverse search LyX puts the cursor at a position only *close* to but not exactly at the position chosen in the pdf document. It is a bit tricky for me to always find

Re: Mark line(s) on Reverse search instead of close position

2016-09-03 Thread Guillaume Munch
Le 29/08/2016 à 11:33, racoon a écrit : On Reverse search LyX puts the cursor at a position only *close* to but not exactly at the position chosen in the pdf document. It is a bit tricky for me to always find the former position in my document. Since it is anyway not the exact position maybe it

Re: current branch is incompilable

2016-09-03 Thread Guillaume Munch
Le 03/09/2016 à 21:24, Uwe Stöhr a écrit : I am now back and compiled today's LyX. Master is compilable but in branch I get now these errors: "D:\LyXGit\2.2.x\compile-2015\src\LyX.vcxproj" (Standardziel) (4) -> (Link Ziel) -> frontend_qt.lib(GuiCitation.obj) : error LNK2001: unresolved

Re: Icons in menus

2016-09-02 Thread Guillaume Munch
Le 05/08/2016 à 12:54, racoon a écrit : Sorry, missed your post. I have just a single icon there. So every (non-submenu) item show an icon now. Replacing qMenu.addAction(new Action(QIcon(), label(*m), by, for example, qMenu.addAction(new Action(QIcon("images/box-insert.svgz"), label(*m),

Re: 10188: change voids to bools or use exceptions?

2016-08-31 Thread Guillaume Munch
Le 31/08/2016 à 17:55, Scott Kostyshak a écrit : On Wed, Aug 31, 2016 at 12:24:32PM -0400, Richard Heck wrote: On 08/31/2016 12:16 PM, Scott Kostyshak wrote: I'm trying to make a patch for #10188, which has to do with the fact that in some cases LyX GUI gives an error but lyx -e does not exit

Re: [patch] Experiment with c++11 unicode strings

2016-08-30 Thread Guillaume Munch
Le 30/08/2016 à 21:12, Georg Baum a écrit : Guillaume Munch wrote: * Why ascii_num_get_facet::do_get uses from_local8bit at some point. The encoding does not matter here: Our own numpunct_facet does not override truename() and falsename(), so std::numpunct::truename() and std::numpunct

Re: Insert inset should not remove tracked changes

2016-08-30 Thread Guillaume Munch
Le 30/08/2016 à 12:52, racoon a écrit : Say you have a passage with a lot of tracked changes. Now, however, you would like to "comment it out" with a LyX note. Surely, you don't want to loose the changes made but keep them for later evaluation. +1 http://www.lyx.org/trac/ticket/10244

Re: [LyX/2.2.x] Start preparations for 2.2.1.

2016-08-29 Thread Guillaume Munch
Le 29/08/2016 à 03:11, Richard Heck a écrit : On 08/28/2016 06:26 PM, Guillaume Munch wrote: I intend to replace "Source pane" with "Code Preview Pane" (and related changes) for the purpose of, I hope, avoid confusing people regarding LyX not being meant for editing tex f

Re: Enable View master document even if there are no child documents

2016-08-29 Thread Guillaume Munch
Le 29/08/2016 à 16:05, Richard Heck a écrit : Or just modify the bindings to use what's above. +1

Re: Enable View master document even if there are no child documents

2016-08-29 Thread Guillaume Munch
Le 29/08/2016 à 11:22, racoon a écrit : Hi, I almost never View child documents. Most of the time they don't compile properly on their own anyway. So I would like to remove the View button from my interface. Unfortunately, the View master document button is grayed out if there are no child

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] Convert deprecated '\rm' to '\textrm' in examples

2016-08-28 Thread Guillaume Munch
Le 29/08/2016 à 00:41, Scott Kostyshak a écrit : commit 0e49231bbfefe339b33b8ccc4d13e716a74871c4 Author: Scott Kostyshak Date: Sun Aug 28 19:12:20 2016 -0400 Convert deprecated '\rm' to '\textrm' in examples This change fixes the export of our FeynmanDiagrams.lyx

Re: [LyX/master] Change "Format" into "Formats"

2016-08-28 Thread Guillaume Munch
Le 29/08/2016 à 00:11, Kornel Benko a écrit : Am Monday 29 August 2016 um 01:04:50, schrieb Kornel Benko <kor...@lyx.org> Am Monday 29 August 2016 um 00:23:46, schrieb Guillaume Munch <g...@lyx.org> commit 0779b3c36cb693bdb85aea7a155f4384b49c4902 Author: Guillaume Munch <g..

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