Re: [patch] python support

2011-10-26 Thread Enrico Forestieri
On Wed, Oct 26, 2011 at 12:04:08PM +, Julien Rioux wrote: > > The real issue are all the converters using python. The attached patch should also take care of that. -- Enrico Index: src/support/os.cpp === --- src/support/os.cpp

Re: tex2lyx patches for branch

2011-10-26 Thread Uwe Stöhr
Am 26.10.2011 22:00, schrieb Georg Baum: Fine with me (it was me). It is in. I planned to backport it together with some other stuff I wanted to implement, but then you came and were too quick for me, so that I only had time to write some emails :-) Sorry for being too fast ;-). And thanks

Bug, delete and scroll at the bottom, is this a known one?

2011-10-26 Thread Julian Morrison
To reproduce: Fill the page with text such that it's more than a window-full, and scrolls. Erase words from the last line with backspace. When you hit the line-wrap, the cursor jumps up two lines and starts backspacing unrelated text. This also works shortening a line with del. Is this already a r

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Abdelrazak Younes
On 26/10/2011 21:56, Georg Baum wrote: Pavel Sanda wrote: it just feels wrong. when document has 10 childern we will execute it 10 times. when we introduce git then 20 times? if some win user has firewall will we ask about execution of svn/git binary upon opening lyx manual for the first time a

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Pavel Sanda
Georg Baum wrote: > Parsing internal svn files from LyX looks as wrong to me as starting the svn > client a dozen times. A better solution would be to use svn not as a binary, > but link to the library. I even tried that some time ago. It does not look > too bad, but I never finished it. yep, t

Re: tex2lyx patches for branch

2011-10-26 Thread Georg Baum
Uwe Stöhr wrote: > somebody added support for ulem and things like \sout to tex2lyx in trunk. > Can this also be backported to branch? Attached is the patch that does > this. Fine with me (it was me). I planned to backport it together with some other stuff I wanted to implement, but then you cam

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Georg Baum
Pavel Sanda wrote: > it just feels wrong. when document has 10 childern we will execute it 10 > times. when we introduce git then 20 times? if some win user has firewall > will we ask about execution of svn/git binary upon opening lyx manual for > the first time after lyx is launched and so on...

Re: LyX 2.0.2

2011-10-26 Thread Uwe Stöhr
Am 25.10.2011 21:08, schrieb Richard Heck: It has been about two months since the release of 2.0.1, and we have collected a good number of bug fixes. So I'm intending to freeze strings in preparation for the next release fairly soon. Please have a look at the 2.0.2 targeted bugs here: http://ww

Re: r39954 - lyx-devel/trunk/src/tex2lyx

2011-10-26 Thread Georg Baum
Uwe Stöhr wrote: > Am 25.10.2011 21:39, schrieb Georg Baum: > >>> URL: http://www.lyx.org/trac/changeset/39954 > >> This fix looks wrong to me. IMHO it is a mistake to add this >> \@ifundefined stuff in the first place. tex2lyx should swallow the color >> package loading only if it reads a comma

Re: r39962 - lyx-devel/trunk/src/tex2lyx

2011-10-26 Thread Uwe Stöhr
Am 26.10.2011 21:28, schrieb Georg Baum: Now I'm a bit confused. When I create a new document and set the font encoding to "global" LyX writes this to the TeX file: \usepackage[T1]{fontenc} Because you either explicitly have "T1" set as fontencoding in your lyxrc, or because it is the default

Re: r39962 - lyx-devel/trunk/src/tex2lyx

2011-10-26 Thread Georg Baum
Uwe Stöhr wrote: > Am 25.10.2011 21:47, schrieb Georg Baum: > >>> + // as of version LyX 2.0 "T1" is equal to the setting >> "global" >> >> This is wrong, "global" is not equal to "T1". And even if it was, it >> would still be better to explicitly say "T1" (otherwise you would need to >

Re: [patch] python support

2011-10-26 Thread Enrico Forestieri
On Wed, Oct 26, 2011 at 03:20:09PM +0200, Enrico Forestieri wrote: > On Wed, Oct 26, 2011 at 12:04:08PM +, Julien Rioux wrote: > > > Can somebody with more know-how do this? > > If you mean runtime detection, I could try to do it. Please try the attached patch. -- Enrico Index: src/support

Re: tex2lyx patches for branch

2011-10-26 Thread Richard Heck
On 10/25/2011 10:29 PM, Uwe Stöhr wrote: Am 25.10.2011 22:08, schrieb Georg Baum: I did not test anything, but from looking at the code the patches should be safe (except the ones where I sent comments). Hi Georg, somebody added support for ulem and things like \sout to tex2lyx in trunk. C

Re: LyX 2.0.2

2011-10-26 Thread Richard Heck
On 10/25/2011 04:17 PM, Liviu Andronic wrote: On Tue, Oct 25, 2011 at 9:08 PM, Richard Heck wrote: It has been about two months since the release of 2.0.1, and we have collected a good number of bug fixes. So I'm intending to freeze strings in preparation for the next release fairly soon. Pleas

Re: other things to be backported

2011-10-26 Thread Richard Heck
On 10/25/2011 10:05 PM, Uwe Stöhr wrote: Am 25.10.2011 15:50, schrieb Richard Heck: - http://www.lyx.org/trac/changeset/39956 (fixes #7849) - http://www.lyx.org/trac/changeset/39959 (fixes #7853) OK. They are in. Today I fixed #7851, can to go in too?: www.lyx.org/trac/changeset/39984 OK

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Stephan Witt
Am 26.10.2011 um 15:01 schrieb Pavel Sanda: > Jean-Marc Lasgouttes wrote: >> Le 26/10/2011 14:37, Pavel Sanda a écrit : >>> i have painful experience with applications which scan neighbourhood >>> of the folders you are working in case you are working in networked >>> filesystem. one mount point f

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Stephan Witt
Am 26.10.2011 um 16:21 schrieb Enrico Forestieri: > On Wed, Oct 26, 2011 at 04:02:08PM +0200, Pavel Sanda wrote: >> Vincent van Ravesteijn wrote: >>> So I'm happy they finally saw the light. >> >> :) if one seeks the light he should probably switch to git... >> >> breaking older things to work m

Re: offtopic: Qt move

2011-10-26 Thread Yihui Xie
That's really good to know. Thanks! Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Wed, Oct 26, 2011 at 5:01 AM, Pavel Sanda wrote: > http://www.phoronix.com/scan.php?page=news_item&px=MTAw

Re: Re: [patch] python support

2011-10-26 Thread Kornel Benko
Am Mittwoch, 26. Oktober 2011 um 12:06:57, schrieb Julien Rioux > Kornel Benko lyx.org> writes: > > But trivial. Would be like the attached (Top-level CMakeLists.txt) > > I cannot test it, on newest ubuntu is still version <3 installed. > > > > > > > This checks for both python2 and python?

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Enrico Forestieri
On Wed, Oct 26, 2011 at 04:02:08PM +0200, Pavel Sanda wrote: > Vincent van Ravesteijn wrote: > > So I'm happy they finally saw the light. > > :) if one seeks the light he should probably switch to git... > > breaking older things to work means perhaps one reason less > to continue to use svn at a

Re: Beginner Tutorials

2011-10-26 Thread Pavel Sanda
Rob Oakes wrote: > Yes. And post videos with audio and rework the layout of the page. you are most welcome. pavel

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Pavel Sanda
Vincent van Ravesteijn wrote: > So I'm happy they finally saw the light. :) if one seeks the light he should probably switch to git... breaking older things to work means perhaps one reason less to continue to use svn at all. p

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Vincent van Ravesteijn
Op 26-10-2011 15:45, Pavel Sanda schreef: Jean-Marc Lasgouttes wrote: Le 26/10/2011 15:01, Pavel Sanda a écrit : the whole problem arised because "just checking" .svn dir in the current folder is no more possible with subversion 1.7. Because only the top svn directory has information, right?

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > Le 26/10/2011 15:01, Pavel Sanda a écrit : >> the whole problem arised because "just checking" .svn dir in the current >> folder >> is no more possible with subversion 1.7. > > Because only the top svn directory has information, right? yes. dont know the motivations

Re: Uwe, something is wrong here

2011-10-26 Thread Uwe Stöhr
Am 26.10.2011 11:30, schrieb Jean-Marc Lasgouttes: Le 26/10/2011 03:38, uwesto...@lyx.org a écrit : ; + if (t.cs() == "phantom") + begin_inset(os, "Phantom Phantom\n"); + if (t.cs() == "hphantom") + begin_inset(os, "Phantom Hhantom\n"); + if (t.cs() == "vphantom") + begin_inset(os, "Phantom Vha

Re: [patch] python support

2011-10-26 Thread Enrico Forestieri
On Wed, Oct 26, 2011 at 12:04:08PM +, Julien Rioux wrote: > Enrico Forestieri lyx.org> writes: > > > > > On Wed, Oct 26, 2011 at 11:08:33AM +0200, Jean-Marc Lasgouttes wrote: > > > Le 26/10/2011 02:07, Julien Rioux a écrit : > > > >One approach to use the correct `python' (e.g., it could be

Re: Beginner Tutorials

2011-10-26 Thread Rob Oakes
Sent from Rob's Palm On Oct 26, 2011, at 4:10 AM, Pavel Sanda wrote: > are you willing to update the galleries? > pavel Yes. And post videos with audio and rework the layout of the page.

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Jean-Marc Lasgouttes
Le 26/10/2011 15:01, Pavel Sanda a écrit : the whole problem arised because "just checking" .svn dir in the current folder is no more possible with subversion 1.7. Because only the top svn directory has information, right? JMarc

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > Le 26/10/2011 14:37, Pavel Sanda a écrit : >> i have painful experience with applications which scan neighbourhood >> of the folders you are working in case you are working in networked >> filesystem. one mount point freezes and unrelated application freezes >> as well

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Vincent van Ravesteijn
Op 26-10-2011 14:52, Jean-Marc Lasgouttes schreef: Le 26/10/2011 14:37, Pavel Sanda a écrit : i have painful experience with applications which scan neighbourhood of the folders you are working in case you are working in networked filesystem. one mount point freezes and unrelated application fre

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Jean-Marc Lasgouttes
Le 26/10/2011 14:37, Pavel Sanda a écrit : i have painful experience with applications which scan neighbourhood of the folders you are working in case you are working in networked filesystem. one mount point freezes and unrelated application freezes as well. considering that svn is used by small

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Pavel Sanda
Vincent van Ravesteijn wrote: > Against all, unless you convince me this that this option really can't be > enabled always. I'm afraid this will become just another option that should > be there out of principle, but isn't ever used by the user. > >>> there is absolutely no reason to disable it f

Re: [patch] python support

2011-10-26 Thread Julien Rioux
Kornel Benko lyx.org> writes: > But trivial. Would be like the attached (Top-level CMakeLists.txt) > I cannot test it, on newest ubuntu is still version <3 installed. > > This checks for both python2 and python? For what it's worth, autoconf checks also for python2.6 etc. Does it generate os.

Re: [patch] python support

2011-10-26 Thread Julien Rioux
Enrico Forestieri lyx.org> writes: > > On Wed, Oct 26, 2011 at 11:08:33AM +0200, Jean-Marc Lasgouttes wrote: > > Le 26/10/2011 02:07, Julien Rioux a écrit : > > >One approach to use the correct `python' (e.g., it could be `python2' > > >because `python' points to version >3.0) is to have configu

Re: r39927 - in lyx-devel/branches/BRANCH_2_0_X: . src/tex2lyx src/tex2lyx/test

2011-10-26 Thread Vincent van Ravesteijn
Op 25-10-2011 1:36, José Matos schreef: On 10/24/2011 11:14 PM, Jean-Marc Lasgouttes wrote: Isn't he great ? JMarc Yep. :-) I am sorry for choosing this thread (to follow the nettiquete I should have opened a new thread) to report my latest development (directly from Susana's blog and in Portu

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Vincent van Ravesteijn
Op 26-10-2011 13:41, Pavel Sanda schreef: Vincent van Ravesteijn wrote: Stephan I'm in favor of having some better settings for the version control system(s), but I don't like to have another option whether to use VCS or not. you are against general "use vcs" or against "subversion support", "

Re: r39927 - in lyx-devel/branches/BRANCH_2_0_X: . src/tex2lyx src/tex2lyx/test

2011-10-26 Thread José Matos
On 10/25/2011 11:04 PM, Uwe Stöhr wrote: > Btw. My Portuguese dictionary tells me that "Chegou" means "arrived". > So I guess the same is only "Sara" not in combination with "Chegou", > right? > > regards Uwe You are right, the baby's name is Sara. And yes she lets me (and Susana for that matter)

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Pavel Sanda
Vincent van Ravesteijn wrote: >> Stephan > I'm in favor of having some better settings for the version control > system(s), but I don't like to have another option whether to use VCS or > not. you are against general "use vcs" or against "subversion support", "git support" checkboxes? > there i

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Vincent van Ravesteijn
Op 26-10-2011 13:03, Stephan Witt schreef: Am 26.10.2011 um 12:05 schrieb Pavel Sanda: Stephan Witt wrote: Pavel, I've tested this patch with 1.7 SVN and on Linux with 1.6. Because I've only the LYX SVN repository at hand I don't want to test all operations. But the detection of SVN repository

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Stephan Witt
Am 26.10.2011 um 12:05 schrieb Pavel Sanda: > Stephan Witt wrote: >>> Pavel, I've tested this patch with 1.7 SVN and on Linux with 1.6. >>> Because I've only the LYX SVN repository at hand I don't want to test >>> all operations. But the detection of SVN repository members is working now. >> >> I

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > Can't we just read the local files? I agree that network access when > opening a file is wrong. i believe svn will only access local files (though i didn't test). pavel

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Jean-Marc Lasgouttes
Le 26/10/2011 12:21, Pavel Sanda a écrit : Jean-Marc Lasgouttes wrote: Le 26/10/2011 12:05, Pavel Sanda a écrit : i feel uneasy about this stuff being executed for opening each lyx file (the same problem as with git), directory traversal is not better. shall we introduce some gui variable like

Re: r39927 - in lyx-devel/branches/BRANCH_2_0_X: . src/tex2lyx src/tex2lyx/test

2011-10-26 Thread Pavel Sanda
José Matos wrote: > On 10/24/2011 11:14 PM, Jean-Marc Lasgouttes wrote: > > Isn't he great ? JMarc > > Yep. :-) > > I am sorry for choosing this thread (to follow the nettiquete I should > have opened a new thread) to report my latest development (directly from > Susana's blog and in Portuguese)

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > Le 26/10/2011 12:05, Pavel Sanda a écrit : >> i feel uneasy about this stuff being executed for opening each lyx file >> (the same problem as with git), directory traversal is not better. >> shall we introduce some gui variable like "Use revision control systems" >> or

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Jean-Marc Lasgouttes
Le 26/10/2011 12:05, Pavel Sanda a écrit : i feel uneasy about this stuff being executed for opening each lyx file (the same problem as with git), directory traversal is not better. shall we introduce some gui variable like "Use revision control systems" or am i oversensitive? Is it a matter of

Re: Beginner Tutorials

2011-10-26 Thread Pavel Sanda
Rob Oakes wrote: > Right, after writing my last post, I decided to conduct a bit more online > research and came across the Visual Tour site. These are very nice, albeit > dated. In addition to working on updated video tutorials -- so that they use > 2.0, include audio, etc. -- it might also be

Re: Subversion don't work in 1.7 version

2011-10-26 Thread Pavel Sanda
Stephan Witt wrote: > > Pavel, I've tested this patch with 1.7 SVN and on Linux with 1.6. > > Because I've only the LYX SVN repository at hand I don't want to test > > all operations. But the detection of SVN repository members is working now. > > I missed some status flag: "I" stands for ignore.

offtopic: Qt move

2011-10-26 Thread Pavel Sanda
http://www.phoronix.com/scan.php?page=news_item&px=MTAwNDA

Re: [patch] python support

2011-10-26 Thread Enrico Forestieri
On Wed, Oct 26, 2011 at 11:08:33AM +0200, Jean-Marc Lasgouttes wrote: > Le 26/10/2011 02:07, Julien Rioux a écrit : > >One approach to use the correct `python' (e.g., it could be `python2' > >because `python' points to version >3.0) is to have configure generate > >the affected files. > > > >Summar

Uwe, something is wrong here (was: r39995 - lyx-devel/branches/BRANCH_2_0_X/src/tex2lyx)

2011-10-26 Thread Jean-Marc Lasgouttes
Le 26/10/2011 03:38, uwesto...@lyx.org a écrit : ; + if (t.cs() == "phantom") + begin_inset(os, "Phantom Phantom\n"); + if (t.cs() == "hphantom") + begin_inset(os, "Phantom Hhantom\n"); +

Re: [patch] python support

2011-10-26 Thread Jean-Marc Lasgouttes
Le 26/10/2011 02:07, Julien Rioux a écrit : One approach to use the correct `python' (e.g., it could be `python2' because `python' points to version >3.0) is to have configure generate the affected files. Summary: Rename os.cpp -> os.cpp.in Rename configure.py -> configure.py.in Replace `python'

Re: Re: [patch] python support

2011-10-26 Thread Kornel Benko
Am Mittwoch, 26. Oktober 2011 um 07:07:47, schrieb Stephan Witt > Am 26.10.2011 um 02:07 schrieb Julien Rioux: > > > One approach to use the correct `python' (e.g., it could be `python2' > > because `python' points to version >3.0) is to have configure generate the > > affected files. > > > >