Re: Another backtrace for that crash....

2009-03-27 Thread Richard heck
...and another. Not sure why I get different ones from time to time. Note that this one is at the assignment added at r28342. gdb /cvs/lyx16/src/lyx --interpreter=mi2 -quiet (gdb) bt bt #0 std::_Rb_tree, std::_Select1st >, std::less, std::allocatorlyx::ParagraphMetrics> > >::_M_erase (this=

Another backtrace for that crash....

2009-03-27 Thread Richard heck
The loop starts at 701 #676 0x00647005 in lyx::TextMetrics::redoParagraph (this=0x18c54d8, pit=63) at TextMetrics.cpp:420 #677 0x00648272 in lyx::TextMetrics::metrics (this=0x18c54d8, mi=, d...@0x7fff35c0, min_width=optimized out>) at TextMetrics.cpp:209 #678 0x

Re: Repeatable Crash in 1.6.2, 1.6.3svn, and Trunk

2009-03-27 Thread Vincent van Ravesteijn
Richard heck schreef: rgheck wrote: rgheck wrote: Vincent van Ravesteijn - TNW wrote: Here's the situation. Load the attached file. Nothing particularly odd in it. Put the cursor at the end of the line marked "HERE". Now use the scroll bar to scroll up several screens. Hit space. You may have

Re: Repeatable Crash in 1.6.2, 1.6.3svn, and Trunk

2009-03-27 Thread Richard heck
rgheck wrote: rgheck wrote: Vincent van Ravesteijn - TNW wrote: Here's the situation. Load the attached file. Nothing particularly odd in it. Put the cursor at the end of the line marked "HERE". Now use the scroll bar to scroll up several screens. Hit space. You may have to do this a few times

Re: [patch] bug 3714: adjustable textcolor of lyxgreyedout

2009-03-27 Thread Uwe Stöhr
> This patch customizes the color of the greyed-out-notes. Fine with me and this should also go to branch if possible. Btw. it would nice when you could send patches in unified diff format to be able to apply and test them. regards Uwe

Re: [patch] Preferences dialog

2009-03-27 Thread rgheck
Vincent van Ravesteijn wrote: This patch fixes.. * accelerator clashes, * missing accelerators, * strings (capitalization). Ok ? Don't see any problem. rh

[patch] Preferences dialog

2009-03-27 Thread Vincent van Ravesteijn
This patch fixes.. * accelerator clashes, * missing accelerators, * strings (capitalization). Ok ? Vincent diff --git a/src/frontends/qt4/ui/PrefColorsUi.ui b/src/frontends/qt4/ui/PrefColorsUi.ui index 2f54445..10a6fe0 100644 --- a/src/frontends/qt4/ui/PrefColorsUi.ui +++ b/src/frontends/qt4/ui

Re: r28939 - www-user/trunk/farm/cookbook/LyX

2009-03-27 Thread Christian Ridderström
Hi Juergen, When you commit changes to i18n.inc, please make sure that there are no empty lines at the end of the file. This will be interpreted by PHP as extra output to be added to the HTML, which itself is fine, but that resuls in the following ugly warning message: Warning: Canno

Wiki and www operational

2009-03-27 Thread Christian Ridderström
Hi, Both the wiki and the web site should now be operational. I would appreciate it if people could test them. Please report things that aren't working properly, or if things seem slow or anything strange. There will probably be things that aren't working, but I'll gather a list of it and fi

Update (was: mod_security probably screws up the wiki)

2009-03-27 Thread Christian Ridderström
I've managed to disable ModSecurity for checking POST requests, which seems to solve the problem. /C -- Christian Ridderström Mobile: +46-70 687 39 44

Re: cannot commit to www-user/trunk/farm

2009-03-27 Thread Christian Ridderström
On Fri, 27 Mar 2009, Jürgen Spitzmüller wrote: Christian Ridderström wrote: And if you modify the e.g. i18n.php, SVN still doesn't see the file as different? I feel embarassed. Forget about it. Perhaps as I felt when commit failed because I (for the n:th time) forgot to add a commit messag

Re: cannot commit to www-user/trunk/farm

2009-03-27 Thread Jean-Marc Lasgouttes
Le 27/03/2009 14:36, Jürgen Spitzmüller a écrit : I feel embarassed. Forget about it. That's too easy! We have the right to know! JMarc

[patch] bug 3714: adjustable textcolor of lyxgreyedout

2009-03-27 Thread Vincent van Ravesteijn
Hi all, This patch customizes the color of the greyed-out-notes. Ok ? Vincent diff --git a/src/Color.cpp b/src/Color.cpp index 79953e3..66b5157 100644 --- a/src/Color.cpp +++ b/src/Color.cpp @@ -159,6 +159,7 @@ ColorSet::ColorSet() { Color_commentbg, N_("comment background"), "commentbg

Re: Repeatable Crash in 1.6.2, 1.6.3svn, and Trunk

2009-03-27 Thread rgheck
Florian Rubach wrote: Vincent van Ravesteijn schrieb: rgheck schreef: Never mind. I DID just get it in 1.6.2. What I get in that case is a whole stream of: I can't confirm. (windows).. yet. Vincent Me neither, also Windows... I tried your file with both 1.6.2 and 1.6.3svn multiple times

Re: Repeatable Crash in 1.6.2, 1.6.3svn, and Trunk

2009-03-27 Thread rgheck
Here's the situation. Load the attached file. Nothing particularly odd in it. Put the cursor at the end of the line marked "HERE". Now use the scroll bar to scroll up several screens. Hit space. You may have to do this a few times until things are "just right" to cause the crash. But you send u

Re: Repeatable Crash in 1.6.2, 1.6.3svn, and Trunk

2009-03-27 Thread Florian Rubach
Vincent van Ravesteijn schrieb: rgheck schreef: rgheck wrote: rgheck wrote: Vincent van Ravesteijn - TNW wrote: Here's the situation. Load the attached file. Nothing particularly odd in it. Put the cursor at the end of the line marked "HERE". Now use the scroll bar to scroll up several screen

Re: Repeatable Crash in 1.6.2, 1.6.3svn, and Trunk

2009-03-27 Thread Vincent van Ravesteijn
rgheck schreef: rgheck wrote: rgheck wrote: Vincent van Ravesteijn - TNW wrote: Here's the situation. Load the attached file. Nothing particularly odd in it. Put the cursor at the end of the line marked "HERE". Now use the scroll bar to scroll up several screens. Hit space. You may have to do

Repeatable Crash in 1.6.2, 1.6.3svn, and Trunk

2009-03-27 Thread rgheck
rgheck wrote: rgheck wrote: Vincent van Ravesteijn - TNW wrote: Here's the situation. Load the attached file. Nothing particularly odd in it. Put the cursor at the end of the line marked "HERE". Now use the scroll bar to scroll up several screens. Hit space. You may have to do this a few times

Re: Repeatable Crash in 1.6.3svn

2009-03-27 Thread rgheck
rgheck wrote: Vincent van Ravesteijn - TNW wrote: Here's the situation. Load the attached file. Nothing particularly odd in it. Put the cursor at the end of the line marked "HERE". Now use the scroll bar to scroll up several screens. Hit space. You may have to do this a few times until things ar

The New Trac

2009-03-27 Thread rgheck
Glad to see that's back. What are the plans for bugzilla now? FYI, I'm seeing: (please configure the [header_logo] section in trac.ini) rh

Re: Where is the Win installer?

2009-03-27 Thread Kornel Benko
Am Freitag 27 März 2009 schrieb Joost Verburg: > Abdelrazak Younes wrote: > > Joost Verburg wrote: > >> Piero Faustini wrote: > >>> Ok, I know I'm a LyX addicted, but I',m puzzled about the Windows > >>> installer of version 1.6.2 which is not available. The Windows wiki > >>> points to both bundle

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

2009-03-27 Thread rgheck
v...@lyx.org wrote: Author: vfr Date: Fri Mar 27 18:27:38 2009 New Revision: 28946 URL: http://lyx.lyx.org/trac/changeset/28946 Log: Fix bug 4733: Auto popup of math toolbar hides the math editor YEAH!!! rh

LyX releases

2009-03-27 Thread Pavel Sanda
hi, Juergen, do you have some standard list of things you check before tarballs are officially released? is it worth to add compilation test for the monolithic builds? pavel

Re: Where is the Win installer?

2009-03-27 Thread Joost Verburg
Abdelrazak Younes wrote: Joost Verburg wrote: Piero Faustini wrote: Ok, I know I'm a LyX addicted, but I',m puzzled about the Windows installer of version 1.6.2 which is not available. The Windows wiki points to both bundled and simple installers, but it's dead links. The Download page report

Re: Where is the Win installer?

2009-03-27 Thread Kornel Benko
Am Freitag 27 März 2009 schrieb Abdelrazak Younes: > Joost Verburg wrote: > > Piero Faustini wrote: > >> Ok, I know I'm a LyX addicted, but I',m puzzled about the Windows > >> installer of version 1.6.2 which is not available. The Windows wiki > >> points to both bundled and simple installers, but

Re: Repeatable Crash in 1.6.3svn

2009-03-27 Thread rgheck
Vincent van Ravesteijn - TNW wrote: Here's the situation. Load the attached file. Nothing particularly odd in it. Put the cursor at the end of the line marked "HERE". Now use the scroll bar to scroll up several screens. Hit space. You may have to do this a few times until things are "just right"

Re: Repeatable Crash in 1.6.3svn

2009-03-27 Thread rgheck
Vincent van Ravesteijn - TNW wrote: Here's the situation. Load the attached file. Nothing particularly odd in it. Put the cursor at the end of the line marked "HERE". Now use the scroll bar to scroll up several screens. Hit space. You may have to do this a few times until things are "just right"

Re: Where is the Win installer?

2009-03-27 Thread Abdelrazak Younes
Joost Verburg wrote: Piero Faustini wrote: Ok, I know I'm a LyX addicted, but I',m puzzled about the Windows installer of version 1.6.2 which is not available. The Windows wiki points to both bundled and simple installers, but it's dead links. The Download page report 1.6.1 and nothing more. D

Re: Where is the Win installer?

2009-03-27 Thread Joost Verburg
Piero Faustini wrote: Ok, I know I'm a LyX addicted, but I',m puzzled about the Windows installer of version 1.6.2 which is not available. The Windows wiki points to both bundled and simple installers, but it's dead links. The Download page report 1.6.1 and nothing more. Does 1.6.2 installer ex

RE: Repeatable Crash in 1.6.3svn

2009-03-27 Thread Vincent van Ravesteijn - TNW
>Here's the situation. Load the attached file. Nothing particularly >odd in it. Put the cursor at the end of the line marked "HERE". Now >use the scroll bar to scroll up several screens. Hit space. You may >have to do this a few times until things are "just right" to cause >the crash. But you send

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

2009-03-27 Thread rgheck
Jürgen Spitzmüller wrote: rgheck wrote: OK. Except for the usual status.16x blah. Of course. rh

Re: r28937 - lyx-devel/branches/BRANCH_1_6_X/src/insets

2009-03-27 Thread Jürgen Spitzmüller
rgheck wrote: > Thanks. I couldn't see these in my editor for some reason. Note that the same is till in trunk. Jürgen

Re: r28937 - lyx-devel/branches/BRANCH_1_6_X/src/insets

2009-03-27 Thread rgheck
sp...@lyx.org wrote: Author: spitz Date: Fri Mar 27 13:39:17 2009 New Revision: 28937 URL: http://lyx.lyx.org/trac/changeset/28937 Log: whitespace. Thanks. I couldn't see these in my editor for some reason. rh

Re: iconv errors and deurl.py

2009-03-27 Thread John McCabe-Dansted
On Fri, Mar 27, 2009 at 8:43 PM, Guenter Milde wrote: > Setting Document>Settings>Language>Encoding to UTF8 (ucs enhanced/utf8x) > solves this particular problem. Would this be a sensible default? > IMO, it is correct not to use the LaTeX transcription from > "unicodesymbols" for ERT, as ERT is

Re: [patch] bug 4935: scroll down below document

2009-03-27 Thread Abdelrazak Younes
Vincent van Ravesteijn - TNW wrote: Vincent van Ravesteijn - TNW wrote: Yes, I know that, I looked at revision 16499 (IIRC). Aouch, that was 2 years ago!! Abdel. Yes, you're an old man Abdel. Old man still has good memory... you shall show some respect, we're

RE: [patch] bug 4935: scroll down below document

2009-03-27 Thread Vincent van Ravesteijn - TNW
>Vincent van Ravesteijn - TNW wrote: >> >> Yes, I know that, I looked at revision 16499 (IIRC). >> > >Aouch, that was 2 years ago!! > >Abdel. > Yes, you're an old man Abdel. Vincent

Re: [patch] bug 4935: scroll down below document

2009-03-27 Thread Abdelrazak Younes
Vincent van Ravesteijn - TNW wrote: Yes, I know that, I looked at revision 16499 (IIRC). Aouch, that was 2 years ago!! Abdel.

Re: [patch] bug 4935: scroll down below document

2009-03-27 Thread Abdelrazak Younes
Vincent van Ravesteijn - TNW wrote: Wouldn't it be natural to resize the bufferView and update the scrollbars in resizeEvent and only paint the bufferView in paintEvent ? No, beacuse a BufferView resize is basically just a full repaint and there should be no paint opera

RE: [patch] bug 4935: scroll down below document

2009-03-27 Thread Vincent van Ravesteijn - TNW
>> Wouldn't it be natural to resize the bufferView and update the >> scrollbars in resizeEvent and only paint the bufferView in paintEvent ? >> > >No, beacuse a BufferView resize is basically just a full repaint and >there should be no paint operation inside the resizeEvent, and the >BufferVi

Re: [patch] bug 4935: scroll down below document

2009-03-27 Thread Abdelrazak Younes
Vincent van Ravesteijn - TNW wrote: PS. This is also a work-around around the recursive repaint bug. Could you please elaborate a bit? The recursive repaint bug occurs when you drag the math-toolbar while the document is scrolled all the way down. This means that there will b

Re: cannot commit to www-user/trunk/farm

2009-03-27 Thread Jürgen Spitzmüller
Christian Ridderström wrote: > And if you modify the e.g. i18n.php, SVN still doesn't see the file as > different? I feel embarassed. Forget about it. Jürgen

Re: cannot commit to www-user/trunk/farm

2009-03-27 Thread Christian Ridderström
On Fri, 27 Mar 2009, Jürgen Spitzmüller wrote: Christian Ridderström wrote: I just comitted changes at the new server, could you see if it updates in your working copy? Yes, it does. And if you modify the e.g. i18n.php, SVN still doesn't see the file as different? /C Jürgen -- Chri

Re: mod_security probably screws up the wiki

2009-03-27 Thread Christian Ridderström
Apparantely the issue with wiki(s) and ModSecurity was rather well known for people running ther software on hosting providers. Here's what the PmWiki documentation says: Some of my posts are coming back with "403 Forbidden" errors, "Not Acceptable", or "Internal Server Error".

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

2009-03-27 Thread Jürgen Spitzmüller
rgheck wrote: > OK. Except for the usual status.16x blah. Jürgen

Re: cannot commit to www-user/trunk/farm

2009-03-27 Thread Jürgen Spitzmüller
Christian Ridderström wrote: > I just comitted changes at the new server, could you see if it updates in > your working copy? Yes, it does. Jürgen

Re: cannot commit to www-user/trunk/farm

2009-03-27 Thread Christian Ridderström
On Fri, 27 Mar 2009, Jürgen Spitzmüller wrote: Christian Ridderström wrote: I don't understand... does commit fail? Or is it just the web site that isn't updated? The latter is not automatically updated yet. I cannot commit, since svn does not detect the differences in my local tree. I ju

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

2009-03-27 Thread rgheck
Jürgen Spitzmüller wrote: rgheck wrote: Make LFUN_BUFFER_NEXT and _PREVIOUS skip documents that are open but not shown. OK for branch? This is already in, no? Yes, it is in now. Also, Jurgen, can you have a look at r28896 and see what you think? (svn diff -c 28896 wil

Re: iconv errors and deurl.py

2009-03-27 Thread Guenter Milde
On 2009-03-27, John McCabe-Dansted wrote: > On Thu, Mar 26, 2009 at 5:44 PM, Guenter Milde wrote: >> On 2009-03-26, John McCabe-Dansted wrote: > Well, I agree that this isn't a real solution, but for the sake of > argument: >>> I get iconv errors quite regularly. I have written a python script >>

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

2009-03-27 Thread Jürgen Spitzmüller
rgheck wrote: > > Make LFUN_BUFFER_NEXT and _PREVIOUS skip documents that are open > > but not shown. > > > > > > OK for branch? This is already in, no? > Also, Jurgen, can you have a look at r28896 and see what you think? (svn > diff -c 28896 will get you a diff, if you don't have it otherwise

Re: iconv errors and deurl.py

2009-03-27 Thread Guenter Milde
On 2009-03-27, John McCabe-Dansted wrote: > On Thu, Mar 26, 2009 at 6:54 PM, Jean-Marc Lasgouttes > wrote: >> John McCabe-Dansted writes: >>> In the long run I don't think users should be expected to spend time >>> manually fixing iconv errors. >> No, but they should report them so that we can

Re: mod_security probably screws up the wiki

2009-03-27 Thread Christian Ridderström
On Thu, 26 Mar 2009, rgheck wrote: > > [Thu Mar 26 00:18:34 2009] [error] [client 201.38.240.167] > > ModSecurity: Access denied with code 400 (phase 2). Pattern match > > "%(?!$|W|[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})" at ARGS:text. [id > > "950107"] [msg "URL Encoding Abuse Attack Attemp

RE: [patch] bug 4935: scroll down below document

2009-03-27 Thread Vincent van Ravesteijn - TNW
>> PS. This is also a work-around around the recursive repaint bug. > >Could you please elaborate a bit? > The recursive repaint bug occurs when you drag the math-toolbar while the document is scrolled all the way down. This means that there will be space that is filled by scrolling down the doc

Re: cannot commit to www-user/trunk/farm

2009-03-27 Thread Jürgen Spitzmüller
Christian Ridderström wrote: > I don't understand... does commit fail? Or is it just the web site that > isn't updated? The latter is not automatically updated yet. I cannot commit, since svn does not detect the differences in my local tree. Jürgen

Re: iconv errors and deurl.py

2009-03-27 Thread John McCabe-Dansted
Well, I agree that this isn't a real solution, but for the sake of argument: On Thu, Mar 26, 2009 at 5:44 PM, Guenter Milde wrote: > On 2009-03-26, John McCabe-Dansted wrote: >> I get iconv errors quite regularly. I have written a python script >> (filter) to remove all UTF characters. This is su

Re: iconv errors and deurl.py

2009-03-27 Thread John McCabe-Dansted
On Thu, Mar 26, 2009 at 6:54 PM, Jean-Marc Lasgouttes wrote: > John McCabe-Dansted writes: >> In the long run I don't think users should be expected to spend time >> manually fixing iconv errors. At worst LyX could pop up a dialog box: >> "LyX cannot handle the following characters ... [Remove]

Re: [patch] bug 4935: scroll down below document

2009-03-27 Thread Abdelrazak Younes
Vincent van Ravesteijn wrote: Hi all, This patch fixes bug 4935. http://bugzilla.lyx.org/show_bug.cgi?id=4935 It allows the user to scroll down below the document, until the last line is at the top.. It can be turned on in the Tools->preferences->editing dialog. PS. This is also a work-arou

Re: [patch] bug 4733: auto-toolbar hides cursor

2009-03-27 Thread Abdelrazak Younes
Vincent van Ravesteijn wrote: Hi all, This patch solves bug 4733. I added "buffer_view_->scrollToCursor();" to GuiWorkArea::resizeBufferView(). The rest is mambo-jambo to prevent a repaint. Comments? Looks OK. The only minor drawback I see is that the bv will automatically scroll to the

Re: A comment on Version 1.6.2

2009-03-27 Thread Guenter Milde
On 2009-03-27, Lijun Yang wrote: Dear Lijun Yang, > Although it is very easy to go to next line by pressing "Enter" key > when I am editing usual text, I can not do so when I am editing an > equation. Enter does not (only) start a new line but a new paragraph. There are no paragraphs in an equ