Re: About the new Debug Window

2010-01-10 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > Shouldn't the "All debug" and "No debug" be in radio buttons instead? I > guess I'd like to have 3 radio buttons: > > * All debug > * No debug > * Custom debug > > Choosing the first two would disable all checkboxes and choosing the > last one will enable them. I com

Re: FindAdv Manual

2010-01-10 Thread Uwe Stöhr
Am 10.01.2010 10:42, schrieb Tommaso Cucinotta: Just to be sure I understood: should I keep the new feature manual as a separate file on the SVN (lib/doc/AdvancedSearch.lyx), as it is now, until 2.0.0-rc ? Yes. Also, perhaps I can find the time to produce an Italian translation for it. I wou

Re: LyXErr crashes lyx if there's a lot of it

2010-01-10 Thread Pavel Sanda
Vincent van Ravesteijn wrote: > One hypothesis might be that we're doing not so thread-safe things. You > emit a qt-signal to flush the stream, but at the time that we are flushing > it, we might already be writing stuff to it. does such kind of patch help? probably combined with patch above. ma

Re: LyXErr crashes lyx if there's a lot of it

2010-01-10 Thread Vincent van Ravesteijn
Pavel Sanda schreef: Vincent van Ravesteijn wrote: No it doesn't help. Maybe it's because I'm writing those message from a different thread. They seem to continue writing to the console after the crash. by accident i just made test of lyx -dbg any for searching through all manuals. i

Re: LyXErr crashes lyx if there's a lot of it

2010-01-10 Thread Vincent van Ravesteijn
Pavel Sanda schreef: Vincent van Ravesteijn wrote: Pavel Sanda schreef: Vincent van Ravesteijn wrote: recipy to reproduce? Write a lot to lyxerr. lyx -dbg any makes me waiting for 30s on all messages just to launch lyx window without single c

Re: LyXErr crashes lyx if there's a lot of it

2010-01-10 Thread Pavel Sanda
Vincent van Ravesteijn wrote: > No it doesn't help. > > Maybe it's because I'm writing those message from a different thread. They > seem to continue writing to the console after the crash. by accident i just made test of lyx -dbg any for searching through all manuals. it took 10mins of full debu

Re: FindAdv - AllManuals Scope

2010-01-10 Thread Pavel Sanda
Tommaso Cucinotta wrote: > side question: what is "instant preview" ? what does it imply ? how to turn > it off ? online rendering of math equations via latex compilation on the background (or figures too). set in preferences->display and try to write some equation in new file... > On my laptop

Re: FindAdv - AllManuals Scope

2010-01-10 Thread Tommaso Cucinotta
Pavel Sanda wrote: ah and not so cosmetical one - i miss hourglass cursor while searching. I thought loadDocument() would set it, it will set it. the problem is the time in between. when i choose string eg VC_COMMAND (to be found in lfuns manual) then first four manuals are loaded

Re: r32922 - lyx-devel/trunk/src

2010-01-10 Thread Vincent van Ravesteijn
I made the function static now, so it feels pretty much private. Do you still want the camelbump style ? Personally yes, private is no exception. For some reason I thought that private functions shouldn't be camelBumpStyled, but that was a mistake apparently. the coding style is pretty

Re: FindAdv - AllManuals Scope

2010-01-10 Thread Abdelrazak Younes
On 10/01/2010 22:39, Pavel Sanda wrote: Tommaso Cucinotta wrote: Pavel Sanda wrote: would it be easy to have those buffers hidden unless the string is found? that goes into the rework of the widget<->LFUN interaction. The most promising approach seems the one in which I get

Re: r32922 - lyx-devel/trunk/src

2010-01-10 Thread Abdelrazak Younes
On 10/01/2010 14:24, Vincent van Ravesteijn wrote: -void traverse_snake_back(DocRangePair& rp) +bool traverse_snake(DocPair& p, DocRangePair const& rp, bool forward) traverseSnake Abdel. I made the function static now, so it feels pretty much private. Do you still want the camelbump

Re: FindAdv - AllManuals Scope

2010-01-10 Thread Pavel Sanda
Tommaso Cucinotta wrote: > Pavel Sanda wrote: >> would it be easy to have those buffers hidden unless the string is found? >> > that goes into the rework of the widget<->LFUN interaction. The most > promising approach seems the one in which I get rid completely of the > LFUN_WORD_FINDADV, and

Re: FindAdv - AllManuals Scope

2010-01-10 Thread Tommaso Cucinotta
Pavel Sanda wrote: would it be easy to have those buffers hidden unless the string is found? that goes into the rework of the widget<->LFUN interaction. The most promising approach seems the one in which I get rid completely of the LFUN_WORD_FINDADV, and instead I perform direct calls to the

Re: r32910 - in lyx-devel/trunk/src: . insets

2010-01-10 Thread Abdelrazak Younes
On 10/01/2010 19:34, rgheck wrote: On 01/09/2010 01:16 PM, Abdelrazak Younes wrote: On 09/01/2010 16:33, Abdelrazak Younes wrote: On 09/01/2010 16:26, rgheck wrote: Abdel, I haven't tested, but in the work I did yesterday on XHTML output I was seeing some sub-optimal behavior involving the B

Re: r32942 - lyx-devel/trunk/src/frontends/qt4

2010-01-10 Thread Pavel Sanda
Richard Heck wrote: > On 01/10/2010 10:47 AM, sa...@lyx.org wrote: >> Author: sanda >> Date: Sun Jan 10 16:47:40 2010 >> New Revision: 32942 >> URL: http://www.lyx.org/trac/changeset/32942 >> >> Log: >> This patch from Richard was correct. >> >> > Are you sure? If you don't cancel, then msg is

Re: r32942 - lyx-devel/trunk/src/frontends/qt4

2010-01-10 Thread Vincent van Ravesteijn
rgheck schreef: On 01/10/2010 10:47 AM, sa...@lyx.org wrote: Author: sanda Date: Sun Jan 10 16:47:40 2010 New Revision: 32942 URL: http://www.lyx.org/trac/changeset/32942 Log: This patch from Richard was correct. Are you sure? If you don't cancel, then msg is ultimately the return value f

Re: r32942 - lyx-devel/trunk/src/frontends/qt4

2010-01-10 Thread rgheck
On 01/10/2010 10:47 AM, sa...@lyx.org wrote: Author: sanda Date: Sun Jan 10 16:47:40 2010 New Revision: 32942 URL: http://www.lyx.org/trac/changeset/32942 Log: This patch from Richard was correct. Are you sure? If you don't cancel, then msg is ultimately the return value from some version

Re: r32948 - lyx-devel/trunk/src/frontends/qt4

2010-01-10 Thread Vincent van Ravesteijn
@@ -321,6 +321,7 @@ delete buffer_view_; delete cursor_; // Completer has a QObject parent and is thus automatically destroyed. + // See #4758. // delete completer_; } Now I see, Completer doesn't have a QObject in real life: GuiCompleter::GuiComplete

Re: LyXErr crashes lyx if there's a lot of it

2010-01-10 Thread Vincent van Ravesteijn
Pavel Sanda schreef: Vincent van Ravesteijn wrote: Pavel Sanda schreef: Vincent van Ravesteijn wrote: recipy to reproduce? Write a lot to lyxerr. lyx -dbg any makes me waiting for 30s on all messages just to launch lyx window without single c

Re: r32910 - in lyx-devel/trunk/src: . insets

2010-01-10 Thread rgheck
On 01/09/2010 01:16 PM, Abdelrazak Younes wrote: On 09/01/2010 16:33, Abdelrazak Younes wrote: On 09/01/2010 16:26, rgheck wrote: Abdel, I haven't tested, but in the work I did yesterday on XHTML output I was seeing some sub-optimal behavior involving the BibTeX cache, namely, that the cache

Re: LyXErr crashes lyx if there's a lot of it

2010-01-10 Thread Pavel Sanda
Vincent van Ravesteijn wrote: > Pavel Sanda schreef: >> Vincent van Ravesteijn wrote: >> recipy to reproduce? >>> Write a lot to lyxerr. >>> >> >> lyx -dbg any makes me waiting for 30s on all messages just to launch lyx >> window without single crash. >> > > I just outp

Re: LyXErr crashes lyx if there's a lot of it

2010-01-10 Thread Vincent van Ravesteijn
Pavel Sanda schreef: Vincent van Ravesteijn wrote: recipy to reproduce? Write a lot to lyxerr. lyx -dbg any makes me waiting for 30s on all messages just to launch lyx window without single crash. I just output a counter and one time LyX crashes at 291 another time at 49

Re: LyXErr crashes lyx if there's a lot of it

2010-01-10 Thread Pavel Sanda
Vincent van Ravesteijn wrote: >> recipy to reproduce? > > Write a lot to lyxerr. lyx -dbg any makes me waiting for 30s on all messages just to launch lyx window without single crash. >> do you use console or new debug window? >> > > There is no choice if you don't hack anything. at least i'

Re: LyXErr crashes lyx if there's a lot of it

2010-01-10 Thread Vincent van Ravesteijn
Pavel Sanda schreef: Vincent van Ravesteijn wrote: When I'm debugging the compare algorithm, LyX crashes when I write a lot to lyxerr.. recipy to reproduce? Write a lot to lyxerr. do you use console or new debug window? There is no choice if you don't hack anything. i tried

Re: LyXErr crashes lyx if there's a lot of it

2010-01-10 Thread Pavel Sanda
Vincent van Ravesteijn wrote: > When I'm debugging the compare algorithm, LyX crashes when I write a lot to > lyxerr.. recipy to reproduce? do you use console or new debug window? i tried to compare userguide.lyx and finadv.lyx but except freezing no output. hourglass cursor needed? pavel

Re: FindAdv Manual

2010-01-10 Thread Pavel Sanda
Vincent van Ravesteijn wrote: >> will you share which matching algorithm you have chosen? > > An O(ND) Difference Algorithm and Its Variations (1986), EW Myers worth to add somewhere in compare.h pavel

Re: FindAdv - AllManuals Scope

2010-01-10 Thread Pavel Sanda
Tommaso Cucinotta wrote: > with r32925, Advanced F&R now has the capability to search within all > manuals. very nice to have. > The only UI oddity is that you must have a document open, in order to > pop-up the C-S-f dialog, whilst it would not be strictly required, in order > to search withi

Re: How to delete Spam Wiki pages

2010-01-10 Thread Pavel Sanda
Christian Ridderström wrote: > and then I'll manually move everything that was created, i.e > > rmdir $SOURCEDOC/svn > cd ~/lyx/build > mv sourcedoc $SOURCEDOC/svn > > This way we'll at least have the latest documentation. (assuming that > the doxygen command completes successfully etc, it

Re: How to delete Spam Wiki pages

2010-01-10 Thread Christian Ridderström
I've manually generated and moved the doxydocumentation. /Christian

Re: #4422 (search child documents)

2010-01-10 Thread Vincent van Ravesteijn
Tommaso Cucinotta schreef: Now that we can search within child documents by using the corresponding scope option, can we set fixedintrunk for this bug ? http://www.lyx.org/trac/ticket/4422 T. Please also set the milestone when marking a bug fixedintrunk. Vincent

Re: r32883 - in lyx-devel/trunk/src/frontends/qt4: . ui

2010-01-10 Thread Pavel Sanda
Richard Heck wrote: > The funny thing about this is that that dialog was NEVER used, at least in > qt4/. I went way back in the source looking :) have you ever pondered about src/lyxled directory? pavel

Re: #4422 (search child documents)

2010-01-10 Thread Vincent van Ravesteijn
Tommaso Cucinotta schreef: Now that we can search within child documents by using the corresponding scope option, can we set fixedintrunk for this bug ? http://www.lyx.org/trac/ticket/4422 T. Yes. Vincent

#4422 (search child documents)

2010-01-10 Thread Tommaso Cucinotta
Now that we can search within child documents by using the corresponding scope option, can we set fixedintrunk for this bug ? http://www.lyx.org/trac/ticket/4422 T.

Re: r32930 - lyx-devel/trunk/src

2010-01-10 Thread Vincent van Ravesteijn
The feature should now be up and running, although it might have some performance issues. Please test with small changes :S as it scales quadratic with the size of a single change. If I look at DocRange::length() there is certainly a lot of room for improvement ;-) Only that it isn't rea

Re: r32922 - lyx-devel/trunk/src

2010-01-10 Thread Vincent van Ravesteijn
-void traverse_snake_back(DocRangePair& rp) +bool traverse_snake(DocPair& p, DocRangePair const& rp, bool forward) traverseSnake Abdel. I made the function static now, so it feels pretty much private. Do you still want the camelbump style ? Vincent

Re: r32929 - lyx-devel/trunk/src

2010-01-10 Thread Vincent van Ravesteijn
It would be more intuitive to implement the get() and set() functions using operator[], as in the existing vector class. Yes? Yes. At first it didn't feel right to first insert the default and then copy the new value as in "o[index] = new" if the index didn't exist yet. However, this is pr

Re: r32932 - lyx-devel/trunk/src

2010-01-10 Thread Kornel Benko
Hmm... why not #include ?? Kornel Am Sonntag 10 Januar 2010 schrieb tomm...@lyx.org: > Author: tommaso > Date: Sun Jan 10 11:27:00 2010 > New Revision: 32932 > URL: http://www.lyx.org/trac/changeset/32932 > > Log: > Let trunk compile. > > Modified: >lyx-devel/trunk/src/Com

Re: r32930 - lyx-devel/trunk/src

2010-01-10 Thread Abdelrazak Younes
On 10/01/2010 11:31, Abdelrazak Younes wrote: On 10/01/2010 11:10, Abdelrazak Younes wrote: On 10/01/2010 01:09, v...@lyx.org wrote: Author: vfr Date: Sun Jan 10 01:09:48 2010 New Revision: 32930 URL: http://www.lyx.org/trac/changeset/32930 Log: Compare feature part 3: Implement the find_middl

Re: FindAdv Manual

2010-01-10 Thread Tommaso Cucinotta
Uwe Stöhr wrote: Fine. For the AdvFind manual, please add all relevant information concerning search & replace to this file - also issues that might occur from now on (when our users test the first beta versions of LyX 2.0). I'll merge this file to the corresponding parts in the other document

Re: r32930 - lyx-devel/trunk/src

2010-01-10 Thread Abdelrazak Younes
On 10/01/2010 11:10, Abdelrazak Younes wrote: On 10/01/2010 01:09, v...@lyx.org wrote: Author: vfr Date: Sun Jan 10 01:09:48 2010 New Revision: 32930 URL: http://www.lyx.org/trac/changeset/32930 Log: Compare feature part 3: Implement the find_middle_snake algorithm. The feature should now be u

Re: r32930 - lyx-devel/trunk/src

2010-01-10 Thread Abdelrazak Younes
On 10/01/2010 01:09, v...@lyx.org wrote: Author: vfr Date: Sun Jan 10 01:09:48 2010 New Revision: 32930 URL: http://www.lyx.org/trac/changeset/32930 Log: Compare feature part 3: Implement the find_middle_snake algorithm. The feature should now be up and running, although it might have some per

Re: r32922 - lyx-devel/trunk/src

2010-01-10 Thread Abdelrazak Younes
On 09/01/2010 22:17, v...@lyx.org wrote: Author: vfr Date: Sat Jan 9 22:17:10 2010 New Revision: 32922 URL: http://www.lyx.org/trac/changeset/32922 Log: Unify traverse_snake_back and traverse_snake_forw and make it more general for future purposes. Modified: lyx-devel/trunk/src/Compare.cp

Compare.cpp not compilable

2010-01-10 Thread Kornel Benko
with gcc 4.4. ... /usr/src/lyx/lyx-devel/src/Compare.cpp: In member function ‘int lyx::Compare::Impl::find_middle_snake(const lyx::DocRangePair&, lyx::DocPair&)’: /usr/src/lyx/lyx-devel/src/Compare.cpp:643: error: ‘ceil’ was not declared in this scope make[2]: *** [src/CMakeFiles/lyx.dir/usr/src/