Re: Compilation error with gcc 4.6

2015-05-19 Thread Jürgen Spitzmüller
2015-05-18 19:52 GMT+02:00 Jürgen Spitzmüller And with this? Ping Jürgen

New requirement: X11/Intrisic.h

2015-05-19 Thread Vincent van Ravesteijn
Since commit ([52fee355/lyxgit]; Fix external middle-mouse pasting with Qt5/X11), I need X11/Intrinsic.h for which I had to install the package libxt-devel. Does this need a check in configure.ac ?, and/or a note in the RELEASE_NOTES ? Vincent

Re: Understanding the /origin parameter

2015-05-19 Thread Enrico Forestieri
On Mon, May 18, 2015 at 05:28:41PM -0700, Pavel Sanda wrote: Enrico Forestieri wrote: It's magic and it's very predictable. An alternative to reverting would be introducing a preference to allow storing the \origin tag in the file. Without that tag, everything would go as before. I'm

Compilation warning

2015-05-19 Thread Jean-Marc Lasgouttes
I get this when compiling today: GENui_AboutUi.h ../../../../master/src/frontends/qt4/ui/AboutUi.ui: Warning: The name 'gridLayout' (QGridLayout) is already in use, defaulting to 'gridLayout4'. Juergen? JMarc

Re: [LyX/master] Make RELEASE-NOTES accessible from GUI (#8616)

2015-05-19 Thread Vincent van Ravesteijn
On Tue, May 19, 2015 at 9:59 AM, Juergen Spitzmueller sp...@lyx.org wrote: commit 9f55ce9b04c1786c5bed52afc9028f287d28bb32 Author: Juergen Spitzmueller sp...@lyx.org Date: Tue May 19 09:57:52 2015 +0200 Make RELEASE-NOTES accessible from GUI (#8616) CMake people, please check if

Re: Compilation error with gcc 4.6

2015-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/2015 09:28, Jürgen Spitzmüller a écrit : 2015-05-18 19:52 GMT+02:00 Jürgen Spitzmüller And with this? Ping It works perfectly with this patch, thanks. Concerning the release notes, I do not find them very discoverable in the attached screen-shot. Also, are there plans to

Re: Understanding the /origin parameter

2015-05-19 Thread Jean-Marc Lasgouttes
Le 18/05/2015 20:15, Enrico Forestieri a écrit : Something with less magic and more predictability? It's magic and it's very predictable. An alternative to reverting would be introducing a preference to allow storing the \origin tag in the file. Without that tag, everything would go as before.

Re: Understanding the /origin parameter

2015-05-19 Thread Kornel Benko
Am Dienstag, 19. Mai 2015 um 10:17:02, schrieb Enrico Forestieri for...@lyx.org On Mon, May 18, 2015 at 05:28:41PM -0700, Pavel Sanda wrote: Enrico Forestieri wrote: It's magic and it's very predictable. An alternative to reverting would be introducing a preference to allow storing the

Compilation failure un c++11 mode with gcc 4.6

2015-05-19 Thread Jean-Marc Lasgouttes
Hi Georg, It is not possible currently to compile with gcc 4.6 in C++11 mode because lyxalgo.h declares its own next() method. This is because the code depends on __cplusplus = 201103L, which is not true for this version of the compiler. I would propose to replace this test with a test on

Re: [LyX/master] Make RELEASE-NOTES accessible from GUI (#8616)

2015-05-19 Thread Kornel Benko
Am Dienstag, 19. Mai 2015 um 09:59:11, schrieb Juergen Spitzmueller sp...@lyx.org commit 9f55ce9b04c1786c5bed52afc9028f287d28bb32 Author: Juergen Spitzmueller sp...@lyx.org Date: Tue May 19 09:57:52 2015 +0200 Make RELEASE-NOTES accessible from GUI (#8616) CMake people,

Re: Compilation failure un c++11 mode with gcc 4.6

2015-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/2015 11:25, Jean-Marc Lasgouttes a écrit : Hi Georg, It is not possible currently to compile with gcc 4.6 in C++11 mode because lyxalgo.h declares its own next() method. This is because the code depends on __cplusplus = 201103L, which is not true for this version of the compiler.

Re: Understanding the /origin parameter

2015-05-19 Thread Enrico Forestieri
On Tue, May 19, 2015 at 11:09:26AM +0200, Jean-Marc Lasgouttes wrote: Le 18/05/2015 20:15, Enrico Forestieri a écrit : Something with less magic and more predictability? It's magic and it's very predictable. An alternative to reverting would be introducing a preference to allow storing the

Re: Compilation warning

2015-05-19 Thread Jürgen Spitzmüller
2015-05-19 10:54 GMT+02:00 Jean-Marc Lasgouttes: I get this when compiling today: GENui_AboutUi.h ../../../../master/src/frontends/qt4/ui/AboutUi.ui: Warning: The name 'gridLayout' (QGridLayout) is already in use, defaulting to 'gridLayout4'. Should be fixed. Jürgen Juergen?

check_layout for modules

2015-05-19 Thread Kornel Benko
Hi, ATM the command check_layout checks implicitly (through 'Input') only a subset of modules. Therefore check_layout cannot be used to test them all. Can it be expanded for modules too? Something like # check_layout -module pdfcomment [ouput file] Kornel signature.asc

Re: Compilation error with gcc 4.6

2015-05-19 Thread Jürgen Spitzmüller
2015-05-19 11:05 GMT+02:00 Jean-Marc Lasgouttes: It works perfectly with this patch, thanks. OK. I feel stupid (passing a QList to std sort) Concerning the release notes, I do not find them very discoverable in the attached screen-shot. Should be better now. Also, are there plans to

Re: commit c053a939 breaks compilation with Qt 4.8

2015-05-19 Thread Stephan Witt
Am 19.05.2015 um 23:07 schrieb Uwe Stöhr uwesto...@web.de: Hi Stephan, your last commit http://www.lyx.org/trac/changeset/c053a9394d1075ecad02ccce2f34c95f08c1f00f/lyxgit makes LyX uncompilable for me (using Qt 4.8.6): ..\..\..\..\src\frontends\qt4\GuiApplication.cpp(576): error C2039:

Re: [LyX/master] Add Qt's Svg module to the list of used modules. This is required to allow the use of e.g. the QSvgRenderer class.

2015-05-19 Thread Stephan Witt
Am 19.05.2015 um 23:26 schrieb Jean-Marc Lasgouttes lasgout...@lyx.org: Le 19/05/15 23:06, Vincent van Ravesteijn a écrit : Stephan Witt schreef op 19-5-2015 om 22:48: commit 0933df00113ee2735699c13559ad3b6e7e9fd115 Author: Stephan Witt sw...@lyx.org Date: Tue May 19 08:11:01 2015 +0200

Re: ui: Setting a vertical size policy

2015-05-19 Thread Scott Kostyshak
On Wed, May 13, 2015 at 5:48 PM, Pavel Sanda sa...@lyx.org wrote: Scott Kostyshak wrote: In View Messages Pane, I would like to improve the vertical size policy such that the text of the radio buttons is not truncated at the minimum height, as it is in the attached screenshot. I can't

Re: [patch] support for \fcolorbox and \colorbox

2015-05-19 Thread Richard Heck
On 05/19/2015 05:38 PM, Uwe Stöhr wrote: Am 17.05.2015 um 03:44 schrieb Richard Heck: The problem is that your code: document.body.insert(i + 1, 'thickness 0.4pt\nseparation 3pt\nshadowsize 4pt') does not create three lines, as lyx2lyx understands them Many thanks Richard, I

Re: about our lyx2lyx reversion policy

2015-05-19 Thread Pavel Sanda
Uwe Stöhr wrote: I don't understand how a software update of a particular program can break the integrity of the OS. I mean at the university and now in the industry everybody needs his special programs, some need CAS, some CAD programs, some need special simulation software, tax software

Re: Fix broadway layout

2015-05-19 Thread Richard Heck
On 05/19/2015 01:28 PM, Pavel Sanda wrote: Richard Heck wrote: On 05/18/2015 10:39 PM, Pavel Sanda wrote: Broadway layout must have been broken for quite a while. Whenever you hit enter you get abstract environment instead of dialogue. Moving Input clauses down to the end of layout as is in

Re: Understanding the /origin parameter

2015-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/2015 11:50, Enrico Forestieri a écrit : I would rather avoid introducing a new pref. If the concern is really the disclosure of a local path, it could also be avoided by encrypting the path using a key. Then, only lyx (and who is able to know the key and the used algorithm, of course)

Re: problem in the menu

2015-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/2015 01:33, hatim ali a écrit : Dear JMarc thank you English text does not contain a |O (in po string). Dear Hatim, What do you mean? in the example of the FileOpen menu entry that I gave below, you should clearly remove the |O. JMarc Did you set some shortcuts for menu

Re: [LyX/master] Clean-up the undo API

2015-05-19 Thread Jean-Marc Lasgouttes
Le 17/05/2015 01:06, Scott Kostyshak a écrit : git bisect tells me this commit lead to the following change in behavior: 1. start a new document 2. create a note 3. press backspace 4. undo Before this commit, after (4) the cursor would be inside the note. After this commit, the cursor is

Re: Compilation error with gcc 4.6

2015-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/2015 12:46, Jürgen Spitzmüller a écrit : Also, are there plans to allow for a translation now that they are exposed in the UI? We could do that. How? Look for RELEASE-NOTES_fr etc. and display that if available? It should be found using i18nLibFileSearch(). The way it is

Re: Compilation failure un c++11 mode with gcc 4.6

2015-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/2015 11:45, Jean-Marc Lasgouttes a écrit : Le 19/05/2015 11:25, Jean-Marc Lasgouttes a écrit : Hi Georg, It is not possible currently to compile with gcc 4.6 in C++11 mode because lyxalgo.h declares its own next() method. This is because the code depends on __cplusplus = 201103L,

Re: New requirement: X11/Intrisic.h

2015-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/2015 08:08, Vincent van Ravesteijn a écrit : Since commit ([52fee355/lyxgit]; Fix external middle-mouse pasting with Qt5/X11), I need X11/Intrinsic.h for which I had to install the package libxt-devel. Does this need a check in configure.ac ?, and/or a note in the RELEASE_NOTES ?

Re: Compilation Failure

2015-05-19 Thread Richard Heck
On 05/18/2015 05:13 AM, Jürgen Spitzmüller wrote: 2015-05-17 21:54 GMT+02:00 Richard Heck rgh...@lyx.org mailto:rgh...@lyx.org: Commit is causing compilation to fail here: I have reverted the refactoring. Does it compile now? Yes, it's fine now. rh

Re: Compilation error with gcc 4.6

2015-05-19 Thread Jürgen Spitzmüller
2015-05-19 15:20 GMT+02:00 Jean-Marc Lasgouttes: It should be found using i18nLibFileSearch(). I see. The way it is done for other elements is to look for example for doc/fr/UserGuide.lyx. This would make us create directories fr/ de/... in the toplevel system directory, which may not be

Re: Compilation failure un c++11 mode with gcc 4.6

2015-05-19 Thread Georg Baum
Jean-Marc Lasgouttes wrote: Georg, would the following commit suit you? With it, I am able to compile with gcc 4.6 in C++11 mode. I would prefer testing for __cplusplus, since it is defined by the C++ standard. However, since this does not work I do not know of a better way than you

Re: Understanding the /origin parameter

2015-05-19 Thread Georg Baum
Enrico Forestieri wrote: On Tue, May 19, 2015 at 11:09:26AM +0200, Jean-Marc Lasgouttes wrote: Le 18/05/2015 20:15, Enrico Forestieri a écrit : Something with less magic and more predictability? It's magic and it's very predictable. An alternative to reverting would be introducing a

Re: check_layout for modules

2015-05-19 Thread Georg Baum
Kornel Benko wrote: Hi, ATM the command check_layout checks implicitly (through 'Input') only a subset of modules. Therefore check_layout cannot be used to test them all. IIRC the limitation is not in the test, but in the LyX layout machinery, since a module is not a complete document class.

Re: 2.2

2015-05-19 Thread Jean-Marc Lasgouttes
Le 18/05/2015 22:04, Vincent van Ravesteijn a écrit : Thanks for putting it in a positive way. I tried to get the odds in my favor :) I will try to see as soon as possible whether I can form an opinion about the current state. Also, I can share all the scripts and procedure documentation I

Re: Fix broadway layout

2015-05-19 Thread Richard Heck
On 05/18/2015 10:39 PM, Pavel Sanda wrote: Broadway layout must have been broken for quite a while. Whenever you hit enter you get abstract environment instead of dialogue. Moving Input clauses down to the end of layout as is in hollywood layout fixes it. I would appreciate if anyone more

Re: Fix broadway layout

2015-05-19 Thread Pavel Sanda
Richard Heck wrote: On 05/18/2015 10:39 PM, Pavel Sanda wrote: Broadway layout must have been broken for quite a while. Whenever you hit enter you get abstract environment instead of dialogue. Moving Input clauses down to the end of layout as is in hollywood layout fixes it. I would

Re: [LyX/master] Make RELEASE-NOTES accessible from GUI (#8616)

2015-05-19 Thread Pavel Sanda
Vincent van Ravesteijn wrote: On Tue, May 19, 2015 at 9:59 AM, Juergen Spitzmueller sp...@lyx.org wrote: commit 9f55ce9b04c1786c5bed52afc9028f287d28bb32 Author: Juergen Spitzmueller sp...@lyx.org Date: Tue May 19 09:57:52 2015 +0200 Make RELEASE-NOTES accessible from GUI (#8616)

Re: [LyX/master] tex2lyx/text.cpp: support for the commands \fboxsep etc.

2015-05-19 Thread Uwe Stöhr
Am 18.05.2015 um 22:13 schrieb Georg Baum: Please explain how you think the test reference will be updated. I don't understand. I only added some cases which can now be imported to the text TeX file. isn't that the reference? regards Uwe

Re: about our lyx2lyx reversion policy

2015-05-19 Thread Uwe Stöhr
Am 18.05.2015 um 02:49 schrieb Pavel Sanda: - There is no reason why one collaborator could not update to the same software version since LyX is free. (Your admin cannot deny if he hinders you from doing your job you are paid for.) My own experience is very contrary to this. Institutions

Re: Understanding the /origin parameter

2015-05-19 Thread Georg Baum
Enrico Forestieri wrote: On Tue, May 19, 2015 at 08:42:45PM +0200, Georg Baum wrote: I understand the use case for the origin parameter, and I think there will be users who appreciate it, but if I don't need it (e.g. because I always store relative file names and do only move the complete

Re: [LyX/master] Add Qt's Svg module to the list of used modules. This is required to allow the use of e.g. the QSvgRenderer class.

2015-05-19 Thread Vincent van Ravesteijn
Stephan Witt schreef op 19-5-2015 om 22:48: commit 0933df00113ee2735699c13559ad3b6e7e9fd115 Author: Stephan Witt sw...@lyx.org Date: Tue May 19 08:11:01 2015 +0200 Add Qt's Svg module to the list of used modules. This is required to allow the use of e.g. the QSvgRenderer class. Is

commit c053a939 breaks compilation with Qt 4.8

2015-05-19 Thread Uwe Stöhr
Hi Stephan, your last commit http://www.lyx.org/trac/changeset/c053a9394d1075ecad02ccce2f34c95f08c1f00f/lyxgit makes LyX uncompilable for me (using Qt 4.8.6): ..\..\..\..\src\frontends\qt4\GuiApplication.cpp(576): error C2039: 'setDevicePixelRatio': Is no element of 'QPixmap'

Re: check_layout for modules

2015-05-19 Thread Kornel Benko
Am Dienstag, 19. Mai 2015 um 20:50:12, schrieb Georg Baum georg.b...@post.rwth-aachen.de Kornel Benko wrote: Hi, ATM the command check_layout checks implicitly (through 'Input') only a subset of modules. Therefore check_layout cannot be used to test them all. IIRC the limitation is

Re: about our lyx2lyx reversion policy

2015-05-19 Thread Uwe Stöhr
Am 17.05.2015 um 02:58 schrieb Richard Heck: This is why I proposed to warn the user that his file will be saved in a new format and why we should create a backup copy in the old format. In case of problems the user can continue with the backup copy and the old version. So no reversion is

Re: [LyX/master] Add Qt's Svg module to the list of used modules. This is required to allow the use of e.g. the QSvgRenderer class.

2015-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/15 23:06, Vincent van Ravesteijn a écrit : Stephan Witt schreef op 19-5-2015 om 22:48: commit 0933df00113ee2735699c13559ad3b6e7e9fd115 Author: Stephan Witt sw...@lyx.org Date: Tue May 19 08:11:01 2015 +0200 Add Qt's Svg module to the list of used modules. This is required to

Re: Failing tex2lyx tests

2015-05-19 Thread Uwe Stöhr
Am 19.05.2015 um 21:20 schrieb Georg Baum: unfortunately the tex2lyx test failures increased (see attachment). Are you aware that this wastes time of developers? Did you see the questions Scott ansd I asked about the failing tests? Hi Georg, no because I could access the mailing list until

Re: [LyX/master] #9130 Text in main work area isn't rendered with high resolution Improved icon and pixmap handling with SVG images and high physical resolution displays. This results in much better l

2015-05-19 Thread Stephan Witt
Sorry, this was not tested with Qt4 and doesn't work with it. I'll fix it ASAP. Stephan Am 19.05.2015 um 22:48 schrieb Stephan Witt sw...@lyx.org: commit c053a9394d1075ecad02ccce2f34c95f08c1f00f Author: Stephan Witt sw...@lyx.org Date: Tue May 19 22:46:06 2015 +0200 #9130 Text in

Re: Understanding the /origin parameter

2015-05-19 Thread Enrico Forestieri
On Tue, May 19, 2015 at 08:42:45PM +0200, Georg Baum wrote: Enrico Forestieri wrote: On Tue, May 19, 2015 at 11:09:26AM +0200, Jean-Marc Lasgouttes wrote: Le 18/05/2015 20:15, Enrico Forestieri a écrit : Something with less magic and more predictability? It's magic and it's very

Re: New requirement: X11/Intrisic.h

2015-05-19 Thread Jean-Marc Lasgouttes
Le 19 mai 2015 21:28:47 CEST, Enrico Forestieri for...@lyx.org a écrit : We don't need anything from libXt but only the definition of XA_PRIMARY and I did not find any other way for getting that. It did not occur to me that they could have changed name to something so basilar, but they did,

Re: [patch] support for \fcolorbox and \colorbox

2015-05-19 Thread Uwe Stöhr
Am 17.05.2015 um 03:44 schrieb Richard Heck: The problem is that your code: document.body.insert(i + 1, 'thickness 0.4pt\nseparation 3pt\nshadowsize 4pt') does not create three lines, as lyx2lyx understands them Many thanks Richard, I corrected this now and hope that I won't do

Re: [LyX/master] Make RELEASE-NOTES accessible from GUI (#8616)

2015-05-19 Thread Jürgen Spitzmüller
2015-05-19 19:29 GMT+02:00 Pavel Sanda sa...@lyx.org: Also wiki uses this path iirc. P Since we use now wiki format, it could import and format it. However, includeVCSgit seems to be broken. Jürgen

Failing tex2lyx tests

2015-05-19 Thread Georg Baum
Dear Uwe, unfortunately the tex2lyx test failures increased (see attachment). Are you aware that this wastes time of developers? Did you see the questions Scott ansd I asked about the failing tests? The tests are there to help you, they are not a burden if used correctly. If everybody takes

Re: Understanding the /origin parameter

2015-05-19 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: Le 18/05/2015 20:15, Enrico Forestieri a écrit : Something with less magic and more predictability? It's magic and it's very predictable. An alternative to reverting would be introducing a preference to allow storing the \origin tag in the file. Without that tag,

Re: New requirement: X11/Intrisic.h

2015-05-19 Thread Enrico Forestieri
On Tue, May 19, 2015 at 03:33:46PM +0200, Jean-Marc Lasgouttes wrote: Le 19/05/2015 08:08, Vincent van Ravesteijn a écrit : Since commit ([52fee355/lyxgit]; Fix external middle-mouse pasting with Qt5/X11), I need X11/Intrinsic.h for which I had to install the package libxt-devel. Does this

New requirement: X11/Intrisic.h

2015-05-19 Thread Vincent van Ravesteijn
Since commit ([52fee355/lyxgit]; "Fix external middle-mouse pasting with Qt5/X11"), I need X11/Intrinsic.h for which I had to install the package libxt-devel. Does this need a check in configure.ac ?, and/or a note in the RELEASE_NOTES ? Vincent

Re: Compilation error with gcc 4.6

2015-05-19 Thread Jürgen Spitzmüller
2015-05-18 19:52 GMT+02:00 Jürgen Spitzmüller > And with this? > Ping Jürgen

Re: [LyX/master] Make RELEASE-NOTES accessible from GUI (#8616)

2015-05-19 Thread Vincent van Ravesteijn
On Tue, May 19, 2015 at 9:59 AM, Juergen Spitzmueller wrote: > commit 9f55ce9b04c1786c5bed52afc9028f287d28bb32 > Author: Juergen Spitzmueller > Date: Tue May 19 09:57:52 2015 +0200 > > Make RELEASE-NOTES accessible from GUI (#8616) > > CMake people, please

Re: Understanding the /origin parameter

2015-05-19 Thread Enrico Forestieri
On Mon, May 18, 2015 at 05:28:41PM -0700, Pavel Sanda wrote: > Enrico Forestieri wrote: > > It's magic and it's very predictable. An alternative to reverting > > would be introducing a preference to allow storing the \origin tag > > in the file. Without that tag, everything would go as before. >

Re: Understanding the /origin parameter

2015-05-19 Thread Kornel Benko
Am Dienstag, 19. Mai 2015 um 10:17:02, schrieb Enrico Forestieri > On Mon, May 18, 2015 at 05:28:41PM -0700, Pavel Sanda wrote: > > Enrico Forestieri wrote: > > > It's magic and it's very predictable. An alternative to reverting > > > would be introducing a preference to allow

Compilation warning

2015-05-19 Thread Jean-Marc Lasgouttes
I get this when compiling today: GENui_AboutUi.h ../../../../master/src/frontends/qt4/ui/AboutUi.ui: Warning: The name 'gridLayout' (QGridLayout) is already in use, defaulting to 'gridLayout4'. Juergen? JMarc

Re: Compilation error with gcc 4.6

2015-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/2015 09:28, Jürgen Spitzmüller a écrit : 2015-05-18 19:52 GMT+02:00 Jürgen Spitzmüller And with this? Ping It works perfectly with this patch, thanks. Concerning the release notes, I do not find them very discoverable in the attached screen-shot. Also, are there plans to

Re: Understanding the /origin parameter

2015-05-19 Thread Jean-Marc Lasgouttes
Le 18/05/2015 20:15, Enrico Forestieri a écrit : Something with less magic and more predictability? It's magic and it's very predictable. An alternative to reverting would be introducing a preference to allow storing the \origin tag in the file. Without that tag, everything would go as before.

Compilation failure un c++11 mode with gcc 4.6

2015-05-19 Thread Jean-Marc Lasgouttes
Hi Georg, It is not possible currently to compile with gcc 4.6 in C++11 mode because lyxalgo.h declares its own next() method. This is because the code depends on __cplusplus >= 201103L, which is not true for this version of the compiler. I would propose to replace this test with a test on

Re: [LyX/master] Make RELEASE-NOTES accessible from GUI (#8616)

2015-05-19 Thread Kornel Benko
Am Dienstag, 19. Mai 2015 um 09:59:11, schrieb Juergen Spitzmueller > commit 9f55ce9b04c1786c5bed52afc9028f287d28bb32 > Author: Juergen Spitzmueller > Date: Tue May 19 09:57:52 2015 +0200 > > Make RELEASE-NOTES accessible from GUI (#8616) > > CMake

Re: Compilation failure un c++11 mode with gcc 4.6

2015-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/2015 11:25, Jean-Marc Lasgouttes a écrit : Hi Georg, It is not possible currently to compile with gcc 4.6 in C++11 mode because lyxalgo.h declares its own next() method. This is because the code depends on __cplusplus >= 201103L, which is not true for this version of the compiler.

Re: Understanding the /origin parameter

2015-05-19 Thread Enrico Forestieri
On Tue, May 19, 2015 at 11:09:26AM +0200, Jean-Marc Lasgouttes wrote: > Le 18/05/2015 20:15, Enrico Forestieri a écrit : > >>Something with less magic and more predictability? > > > >It's magic and it's very predictable. An alternative to reverting > >would be introducing a preference to allow

check_layout for modules

2015-05-19 Thread Kornel Benko
Hi, ATM the command check_layout checks implicitly (through 'Input') only a subset of modules. Therefore check_layout cannot be used to test them all. Can it be expanded for modules too? Something like # check_layout -module pdfcomment [ouput file] Kornel signature.asc

Re: Compilation warning

2015-05-19 Thread Jürgen Spitzmüller
2015-05-19 10:54 GMT+02:00 Jean-Marc Lasgouttes: > > I get this when compiling today: > > GENui_AboutUi.h > ../../../../master/src/frontends/qt4/ui/AboutUi.ui: Warning: The name > 'gridLayout' (QGridLayout) is already in use, defaulting to 'gridLayout4'. > Should be fixed. Jürgen > > >

Re: Compilation error with gcc 4.6

2015-05-19 Thread Jürgen Spitzmüller
2015-05-19 11:05 GMT+02:00 Jean-Marc Lasgouttes: > It works perfectly with this patch, thanks. > OK. I feel stupid (passing a QList to std sort) > > Concerning the release notes, I do not find them very discoverable in the > attached screen-shot. > Should be better now. > > Also, are there

Re: Compilation error with gcc 4.6

2015-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/2015 12:46, Jürgen Spitzmüller a écrit : Also, are there plans to allow for a translation now that they are exposed in the UI? We could do that. How? Look for RELEASE-NOTES_fr etc. and display that if available? It should be found using i18nLibFileSearch(). The way it is

Re: Compilation failure un c++11 mode with gcc 4.6

2015-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/2015 11:45, Jean-Marc Lasgouttes a écrit : Le 19/05/2015 11:25, Jean-Marc Lasgouttes a écrit : Hi Georg, It is not possible currently to compile with gcc 4.6 in C++11 mode because lyxalgo.h declares its own next() method. This is because the code depends on __cplusplus >= 201103L,

Re: Understanding the /origin parameter

2015-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/2015 11:50, Enrico Forestieri a écrit : I would rather avoid introducing a new pref. If the concern is really the disclosure of a local path, it could also be avoided by encrypting the path using a key. Then, only lyx (and who is able to know the key and the used algorithm, of course)

Re: New requirement: X11/Intrisic.h

2015-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/2015 08:08, Vincent van Ravesteijn a écrit : Since commit ([52fee355/lyxgit]; "Fix external middle-mouse pasting with Qt5/X11"), I need X11/Intrinsic.h for which I had to install the package libxt-devel. Does this need a check in configure.ac ?, and/or a note in the RELEASE_NOTES ?

Re: 2.2

2015-05-19 Thread Jean-Marc Lasgouttes
Le 18/05/2015 22:04, Vincent van Ravesteijn a écrit : Thanks for putting it in a positive way. I tried to get the odds in my favor :) I will try to see as soon as possible whether I can form an opinion about the current state. Also, I can share all the scripts and procedure documentation I

Re: problem in the menu

2015-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/2015 01:33, hatim ali a écrit : Dear JMarc thank you English text does not contain a "|O" (in po string). Dear Hatim, What do you mean? in the example of the File>Open menu entry that I gave below, you should clearly remove the |O. JMarc > Did you set some shortcuts for menu

Re: [LyX/master] Clean-up the undo API

2015-05-19 Thread Jean-Marc Lasgouttes
Le 17/05/2015 01:06, Scott Kostyshak a écrit : git bisect tells me this commit lead to the following change in behavior: 1. start a new document 2. create a note 3. press backspace 4. undo Before this commit, after (4) the cursor would be inside the note. After this commit, the cursor is

Re: Compilation Failure

2015-05-19 Thread Richard Heck
On 05/18/2015 05:13 AM, Jürgen Spitzmüller wrote: 2015-05-17 21:54 GMT+02:00 Richard Heck >: Commit is causing compilation to fail here: I have reverted the refactoring. Does it compile now? Yes, it's fine now. rh

Re: Fix broadway layout

2015-05-19 Thread Richard Heck
On 05/18/2015 10:39 PM, Pavel Sanda wrote: Broadway layout must have been broken for quite a while. Whenever you hit enter you get abstract environment instead of dialogue. Moving Input clauses down to the end of layout as is in hollywood layout fixes it. I would appreciate if anyone more

Re: Compilation error with gcc 4.6

2015-05-19 Thread Jürgen Spitzmüller
2015-05-19 15:20 GMT+02:00 Jean-Marc Lasgouttes: > It should be found using i18nLibFileSearch(). > I see. > > The way it is done for other elements is to look for example for > doc/fr/UserGuide.lyx. This would make us create directories fr/ de/... in > the toplevel system directory, which may

Re: Fix broadway layout

2015-05-19 Thread Pavel Sanda
Richard Heck wrote: > On 05/18/2015 10:39 PM, Pavel Sanda wrote: >> Broadway layout must have been broken for quite a while. >> Whenever you hit enter you get abstract environment instead of >> dialogue. >> Moving Input clauses down to the end of layout as is >> in hollywood layout fixes it. >> >>

Re: [LyX/master] Make RELEASE-NOTES accessible from GUI (#8616)

2015-05-19 Thread Pavel Sanda
Vincent van Ravesteijn wrote: > On Tue, May 19, 2015 at 9:59 AM, Juergen Spitzmueller wrote: > > commit 9f55ce9b04c1786c5bed52afc9028f287d28bb32 > > Author: Juergen Spitzmueller > > Date: Tue May 19 09:57:52 2015 +0200 > > > > Make RELEASE-NOTES accessible

Re: [LyX/master] Make RELEASE-NOTES accessible from GUI (#8616)

2015-05-19 Thread Jürgen Spitzmüller
2015-05-19 19:29 GMT+02:00 Pavel Sanda : > Also wiki uses this path iirc. P > Since we use now wiki format, it could import and format it. However, includeVCSgit seems to be broken. Jürgen

Re: Compilation failure un c++11 mode with gcc 4.6

2015-05-19 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > Georg, would the following commit suit you? With it, I am able to > compile with gcc 4.6 in C++11 mode. I would prefer testing for __cplusplus, since it is defined by the C++ standard. However, since this does not work I do not know of a better way than you

Re: Understanding the /origin parameter

2015-05-19 Thread Georg Baum
Enrico Forestieri wrote: > On Tue, May 19, 2015 at 11:09:26AM +0200, Jean-Marc Lasgouttes wrote: >> Le 18/05/2015 20:15, Enrico Forestieri a écrit : >> >>Something with less magic and more predictability? >> > >> >It's magic and it's very predictable. An alternative to reverting >> >would be

Re: check_layout for modules

2015-05-19 Thread Georg Baum
Kornel Benko wrote: > Hi, ATM the command check_layout checks implicitly (through 'Input') only > a subset of modules. Therefore check_layout cannot be used to test them > all. IIRC the limitation is not in the test, but in the LyX layout machinery, since a module is not a complete document

Failing tex2lyx tests

2015-05-19 Thread Georg Baum
Dear Uwe, unfortunately the tex2lyx test failures increased (see attachment). Are you aware that this wastes time of developers? Did you see the questions Scott ansd I asked about the failing tests? The tests are there to help you, they are not a burden if used correctly. If everybody takes

Re: Understanding the /origin parameter

2015-05-19 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > Le 18/05/2015 20:15, Enrico Forestieri a écrit : >>> Something with less magic and more predictability? >> >> It's magic and it's very predictable. An alternative to reverting >> would be introducing a preference to allow storing the \origin tag >> in the file.

Re: New requirement: X11/Intrisic.h

2015-05-19 Thread Enrico Forestieri
On Tue, May 19, 2015 at 03:33:46PM +0200, Jean-Marc Lasgouttes wrote: > Le 19/05/2015 08:08, Vincent van Ravesteijn a écrit : > >Since commit ([52fee355/lyxgit]; "Fix external middle-mouse pasting > >with Qt5/X11"), I need X11/Intrinsic.h for which I had to install the > >package libxt-devel. > >

Re: Understanding the /origin parameter

2015-05-19 Thread Enrico Forestieri
On Tue, May 19, 2015 at 08:42:45PM +0200, Georg Baum wrote: > Enrico Forestieri wrote: > > > On Tue, May 19, 2015 at 11:09:26AM +0200, Jean-Marc Lasgouttes wrote: > >> Le 18/05/2015 20:15, Enrico Forestieri a écrit : > >> >>Something with less magic and more predictability? > >> > > >> >It's

Re: check_layout for modules

2015-05-19 Thread Kornel Benko
Am Dienstag, 19. Mai 2015 um 20:50:12, schrieb Georg Baum > Kornel Benko wrote: > > > Hi, ATM the command check_layout checks implicitly (through 'Input') only > > a subset of modules. Therefore check_layout cannot be used to test them > > all. > > IIRC the

Re: New requirement: X11/Intrisic.h

2015-05-19 Thread Jean-Marc Lasgouttes
Le 19 mai 2015 21:28:47 CEST, Enrico Forestieri a écrit : >We don't need anything from libXt but only the definition of XA_PRIMARY >and I did not find any other way for getting that. It did not occur >to me that they could have changed name to something so basilar, but >they

Re: Understanding the /origin parameter

2015-05-19 Thread Georg Baum
Enrico Forestieri wrote: > On Tue, May 19, 2015 at 08:42:45PM +0200, Georg Baum wrote: >> >> I understand the use case for the origin parameter, and I think there >> will be users who appreciate it, but if I don't need it (e.g. because I >> always store relative file names and do only move the

Re: [LyX/master] Add Qt's Svg module to the list of used modules. This is required to allow the use of e.g. the QSvgRenderer class.

2015-05-19 Thread Vincent van Ravesteijn
Stephan Witt schreef op 19-5-2015 om 22:48: commit 0933df00113ee2735699c13559ad3b6e7e9fd115 Author: Stephan Witt Date: Tue May 19 08:11:01 2015 +0200 Add Qt's Svg module to the list of used modules. This is required to allow the use of e.g. the QSvgRenderer class. Is

commit c053a939 breaks compilation with Qt 4.8

2015-05-19 Thread Uwe Stöhr
Hi Stephan, your last commit http://www.lyx.org/trac/changeset/c053a9394d1075ecad02ccce2f34c95f08c1f00f/lyxgit makes LyX uncompilable for me (using Qt 4.8.6): ..\..\..\..\src\frontends\qt4\GuiApplication.cpp(576): error C2039: 'setDevicePixelRatio': Is no element of 'QPixmap'

Re: [LyX/master] Add Qt's Svg module to the list of used modules. This is required to allow the use of e.g. the QSvgRenderer class.

2015-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/15 23:06, Vincent van Ravesteijn a écrit : Stephan Witt schreef op 19-5-2015 om 22:48: commit 0933df00113ee2735699c13559ad3b6e7e9fd115 Author: Stephan Witt Date: Tue May 19 08:11:01 2015 +0200 Add Qt's Svg module to the list of used modules. This is required to

Re: [patch] support for \fcolorbox and \colorbox

2015-05-19 Thread Uwe Stöhr
Am 17.05.2015 um 03:44 schrieb Richard Heck: The problem is that your code: document.body.insert(i + 1, 'thickness "0.4pt"\nseparation "3pt"\nshadowsize "4pt"') does not create three lines, as lyx2lyx understands them Many thanks Richard, I corrected this now and hope that I won't

Re: [LyX/master] tex2lyx/text.cpp: support for the commands \fboxsep etc.

2015-05-19 Thread Uwe Stöhr
Am 18.05.2015 um 22:13 schrieb Georg Baum: Please explain how you think the test reference will be updated. I don't understand. I only added some cases which can now be imported to the text TeX file. isn't that the reference? regards Uwe

Re: Failing tex2lyx tests

2015-05-19 Thread Uwe Stöhr
Am 19.05.2015 um 21:20 schrieb Georg Baum: unfortunately the tex2lyx test failures increased (see attachment). Are you aware that this wastes time of developers? Did you see the questions Scott ansd I asked about the failing tests? Hi Georg, no because I could access the mailing list until

Re: [LyX/master] #9130 Text in main work area isn't rendered with high resolution Improved icon and pixmap handling with SVG images and high physical resolution displays. This results in much better l

2015-05-19 Thread Stephan Witt
Sorry, this was not tested with Qt4 and doesn't work with it. I'll fix it ASAP. Stephan Am 19.05.2015 um 22:48 schrieb Stephan Witt : > commit c053a9394d1075ecad02ccce2f34c95f08c1f00f > Author: Stephan Witt > Date: Tue May 19 22:46:06 2015 +0200 > >#9130

Re: about our lyx2lyx reversion policy

2015-05-19 Thread Uwe Stöhr
Am 18.05.2015 um 02:49 schrieb Pavel Sanda: - There is no reason why one collaborator could not update to the same software version since LyX is free. (Your admin cannot deny if he hinders you from doing your job you are paid for.) My own experience is very contrary to this. Institutions

Re: about our lyx2lyx reversion policy

2015-05-19 Thread Uwe Stöhr
Am 17.05.2015 um 02:58 schrieb Richard Heck: This is why I proposed to warn the user that his file will be saved in a new format and why we should create a backup copy in the old format. In case of problems the user can continue with the backup copy and the old version. So no reversion is

  1   2   >