Re: [patch] a new module for fancyvrb to fix infinite loop bug #7648

2012-02-21 Thread Jean-Marc Lasgouttes
Le 21/02/2012 01:29, Uwe Stöhr a écrit : The attached module is written to support the Verbatim environment of the LaTeX-package fancyvrb. I wrote it to be able to fix www.lyx.org/trac/ticket/7648 that sends LyX into an infinite loop since tex2lyx cannot handle files using fancyvrb. tex2lyx can

[patch] fix document settings branches GUI behavior

2012-02-21 Thread Scott Kostyshak
I am new to C++ and to the LyX source code so extra checks and suggestions would be appreciated. The attached patch fixes 1 bug and tries to fix another. To see the buglettes I'm trying to fix, see the steps below to reproduce: 1. start a new lyx document 2. go to document settings branches

Re: LyX 2.0.3 Sources Available

2012-02-21 Thread Cor Blom
Op dinsdag 21 februari 2012 07:22:55 schreef Stephan Witt: Am 20.02.2012 um 23:55 schrieb Cor Blom: Op maandag 20 februari 2012 23:02:38 schreef Cor Blom: Op maandag 20 februari 2012 22:39:46 schreef Liviu Andronic: On Mon, Feb 20, 2012 at 10:19 PM, Cor Blom corne...@solcon.nl wrote: The

Re: [patch] fix document settings branches GUI behavior

2012-02-21 Thread Jean-Marc Lasgouttes
Le 21/02/2012 09:29, Scott Kostyshak a écrit : my fix for bug 1: 1. disable the add button (BranchesUi.ui) 2. enable the add button when there is text in the text box (GuiBranches.cpp) my (partially implemented) idea for bug 2: set the add button as default when there is text in the text box

RE: [patch] fix document settings branches GUI behavior

2012-02-21 Thread Scott Kostyshak
From: lyx-devel@lists.lyx.org [lyx-devel@lists.lyx.org] on behalf of Jean-Marc Lasgouttes [lasgout...@lyx.org] Sent: Tuesday, February 21, 2012 3:55 AM What I would do is to study the code of the Insert-Citation dialog, which has the correct behaviour in the search (find?) field, if I understand

Re: LyX 2.0.3 Sources Available

2012-02-21 Thread Pavel Sanda
Stephan Witt wrote: I've introduced the lookup for dicts in /usr/share/myspell. At that time I thought about a configure option too - but I didn't introduce one. I just found that the lookup won't work in those dictionaries: en_GB-oed.dic de_??_frami.dic de_??_1901.dic hu_HU_u8.dic ia.dic

Re: LyX 2.0.3 Sources Available

2012-02-21 Thread Pavel Sanda
Richard Heck wrote: I never use spellcheck so don't know what changes have or have not happened here. Can you update this when we're ready? I put my current understanding of hunspell machinery into http://wiki.lyx.org/Devel/Hunspell troubleshooting section. Pavel

Re: [patch] use libmagic for file format detection

2012-02-21 Thread Pavel Sanda
Georg Baum wrote: Of course libmagic is not perfect, libmagic which is provided by 'file' utility? Such dep should go to RELEASE-NOTES as well. P

Re: [patch] use libmagic for file format detection

2012-02-21 Thread Georg Baum
Jean-Marc Lasgouttes wrote: Le 20/02/2012 17:47, Richard Heck a écrit : In that case, it's obviously an improvement over what we have. There must be some kind of mime-detection software on Windows, right? I don't know of any. Or maybe some QMime? It looks like it will appear in qt5, and

Re: [patch] use libmagic for file format detection

2012-02-21 Thread Alessandro Di Federico
On Mon, 2012-02-20 at 11:47 -0500, Richard Heck wrote: There must be some kind of mime-detection software on Windows, right? Take a look here: http://mark0.net/soft-trid.html Ale

Re: r40785 - in lyx-devel/trunk/src: . tex2lyx

2012-02-21 Thread Georg Baum
uwesto...@lyx.org wrote: Author: uwestoehr Date: Tue Feb 21 00:38:13 2012 New Revision: 40785 URL: http://www.lyx.org/trac/changeset/40785 Log: support for verbatim: step 2: tex2lyx support Uwe, this is far more complicated than what you implemented. Believe me, if it was that easy I

Re: [patch] a new module for fancyvrb to fix infinite loop bug #7648

2012-02-21 Thread Georg Baum
Uwe Stöhr wrote: The attached module is written to support the Verbatim environment of the LaTeX-package fancyvrb. I wrote it to be able to fix www.lyx.org/trac/ticket/7648 that sends LyX into an infinite loop since tex2lyx cannot handle files using fancyvrb. tex2lyx can of course not

RE: [patch] fix document settings branches GUI behavior

2012-02-21 Thread Scott Kostyshak
From: lyx-devel@lists.lyx.org [lyx-devel@lists.lyx.org] on behalf of Jean-Marc Lasgouttes [lasgout...@lyx.org] Sent: Tuesday, February 21, 2012 3:55 AM What I would do is to study the code of the Insert-Citation dialog, which has the correct behaviour in the search (find?) field, if I understand

Re: [patch] a new module for fancyvrb to fix infinite loop bug #7648

2012-02-21 Thread Jean-Marc Lasgouttes
Le 21/02/2012 01:29, Uwe Stöhr a écrit : The attached module is written to support the Verbatim environment of the LaTeX-package fancyvrb. I wrote it to be able to fix www.lyx.org/trac/ticket/7648 that sends LyX into an infinite loop since tex2lyx cannot handle files using fancyvrb. tex2lyx can

[patch] fix document settings > branches GUI behavior

2012-02-21 Thread Scott Kostyshak
I am new to C++ and to the LyX source code so extra checks and suggestions would be appreciated. The attached patch fixes 1 bug and tries to fix another. To see the buglettes I'm trying to fix, see the steps below to reproduce: 1. start a new lyx document 2. go to document settings > branches

Re: LyX 2.0.3 Sources Available

2012-02-21 Thread Cor Blom
Op dinsdag 21 februari 2012 07:22:55 schreef Stephan Witt: > Am 20.02.2012 um 23:55 schrieb Cor Blom: > > Op maandag 20 februari 2012 23:02:38 schreef Cor Blom: > >> Op maandag 20 februari 2012 22:39:46 schreef Liviu Andronic: > >>> On Mon, Feb 20, 2012 at 10:19 PM, Cor Blom

Re: [patch] fix document settings > branches GUI behavior

2012-02-21 Thread Jean-Marc Lasgouttes
Le 21/02/2012 09:29, Scott Kostyshak a écrit : my fix for bug 1: 1. disable the add button (BranchesUi.ui) 2. enable the add button when there is text in the text box (GuiBranches.cpp) my (partially implemented) idea for bug 2: set the add button as default when there is text in the text box

RE: [patch] fix document settings > branches GUI behavior

2012-02-21 Thread Scott Kostyshak
From: lyx-devel@lists.lyx.org [lyx-devel@lists.lyx.org] on behalf of Jean-Marc Lasgouttes [lasgout...@lyx.org] Sent: Tuesday, February 21, 2012 3:55 AM >What I would do is to study the code of the Insert->Citation dialog, >which has the correct behaviour in the search (find?) field, if I

Re: LyX 2.0.3 Sources Available

2012-02-21 Thread Pavel Sanda
Stephan Witt wrote: > I've introduced the lookup for dicts in /usr/share/myspell. > At that time I thought about a configure option too - but I didn't introduce > one. I just found that the lookup won't work in those dictionaries: en_GB-oed.dic de_??_frami.dic de_??_1901.dic hu_HU_u8.dic ia.dic

Re: LyX 2.0.3 Sources Available

2012-02-21 Thread Pavel Sanda
Richard Heck wrote: > I never use spellcheck so don't know what changes have or have not happened > here. Can you update this when we're ready? I put my current understanding of hunspell machinery into http://wiki.lyx.org/Devel/Hunspell troubleshooting section. Pavel

Re: [patch] use libmagic for file format detection

2012-02-21 Thread Pavel Sanda
Georg Baum wrote: > Of course libmagic is not perfect, libmagic which is provided by 'file' utility? Such dep should go to RELEASE-NOTES as well. P

Re: [patch] use libmagic for file format detection

2012-02-21 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > Le 20/02/2012 17:47, Richard Heck a écrit : >> In that case, it's obviously an improvement over what we have. >> >> There must be some kind of mime-detection software on Windows, right? I don't know of any. > Or maybe some QMime? It looks like it will appear in

Re: [patch] use libmagic for file format detection

2012-02-21 Thread Alessandro Di Federico
On Mon, 2012-02-20 at 11:47 -0500, Richard Heck wrote: > There must be some kind of mime-detection software on Windows, right? Take a look here: http://mark0.net/soft-trid.html Ale

Re: r40785 - in lyx-devel/trunk/src: . tex2lyx

2012-02-21 Thread Georg Baum
uwesto...@lyx.org wrote: > Author: uwestoehr > Date: Tue Feb 21 00:38:13 2012 > New Revision: 40785 > URL: http://www.lyx.org/trac/changeset/40785 > > Log: > support for verbatim: step 2: tex2lyx support Uwe, this is far more complicated than what you implemented. Believe me, if it was that

Re: [patch] a new module for fancyvrb to fix infinite loop bug #7648

2012-02-21 Thread Georg Baum
Uwe Stöhr wrote: > The attached module is written to support the Verbatim environment of the > LaTeX-package fancyvrb. I wrote it to be able to fix > www.lyx.org/trac/ticket/7648 > that sends LyX into an infinite loop since tex2lyx cannot handle files > using fancyvrb. tex2lyx can of course not

RE: [patch] fix document settings > branches GUI behavior

2012-02-21 Thread Scott Kostyshak
From: lyx-devel@lists.lyx.org [lyx-devel@lists.lyx.org] on behalf of Jean-Marc Lasgouttes [lasgout...@lyx.org] Sent: Tuesday, February 21, 2012 3:55 AM >What I would do is to study the code of the Insert->Citation dialog, >which has the correct behaviour in the search (find?) field, if I