Re: r38433 - lyx-devel/trunk/src

2011-04-22 Thread Abdelrazak Younes
On 04/18/2011 04:23 AM, rgh...@lyx.org wrote: Author: rgheck Date: Mon Apr 18 04:23:09 2011 New Revision: 38433 URL: http://www.lyx.org/trac/changeset/38433 Log: Now how do you think that happened? Are you working anti-chronologically? Abdel.

Re: Layout questions

2011-04-22 Thread Abdelrazak Younes
On 04/16/2011 10:12 PM, Richard Heck wrote: On 04/16/2011 03:59 PM, Julien Rioux wrote: On 16/04/2011 3:40 PM, Marcus Kriele wrote: I am trying to address bug #7301 concerning the Springer layout files, and the following 4 questions have arisen: 1) NextNoIndent prevents the following

Re: ar.po review?

2011-04-22 Thread Abdelrazak Younes
On 04/19/2011 01:48 PM, Pavel Sanda wrote: Hello Abdel, do you know arabic enough to review the few strings in layouttranslations? Not at all. I can ask my wife though... Abdel.

Re: Focus issue on Alt+F4 with unsaved changes

2011-04-22 Thread Tommaso Cucinotta
Il 20/04/2011 20:14, Pavel Sanda ha scritto: Tommaso Cucinotta wrote: $ svn up Alla revisione 38459. $ dpkg -l | grep 'libqt.*-dev' ii libqt4-dev 4:4.7.0-0ubuntu4.3 ii libqt4-opengl-dev 4:4.7.0-0ubuntu4.3 ii libqtwebkit-dev

Re: OutputParams

2011-04-22 Thread Enrico Forestieri
On Thu, Apr 21, 2011 at 08:22:05PM -0400, Richard Heck wrote: Not that I'm intending to commit this soon, but I thought I'd post this patch now for comment and commit shortly after 2.0. This patch un-mutables most of the mutable members of OutputParams. A couple remain: encoding, which maybe

Small glitch with \smallmatrix

2011-04-22 Thread Enrico Forestieri
The attached patch fixes the deletion of an empty last row for \smallmatrix (this is part of bug #7484). It is a trivial patch, but to comply with the rules I need a nod from another developer for committing it to trunk. -- Enrico Index: src/mathed/MathParser.cpp

Re: Small glitch with \smallmatrix

2011-04-22 Thread Abdelrazak Younes
On 04/22/2011 04:58 PM, Enrico Forestieri wrote: The attached patch fixes the deletion of an empty last row for \smallmatrix (this is part of bug #7484). It is a trivial patch, but to comply with the rules I need a nod from another developer for committing it to trunk. This can't introduce

Re: Small glitch with \smallmatrix

2011-04-22 Thread Enrico Forestieri
On Fri, Apr 22, 2011 at 05:01:18PM +0200, Abdelrazak Younes wrote: This can't introduce regression... Nod. Thanks, committed. -- Enrico

Re: r38433 - lyx-devel/trunk/src

2011-04-22 Thread Richard Heck
On 04/22/2011 08:09 AM, Abdelrazak Younes wrote: On 04/18/2011 04:23 AM, rgh...@lyx.org wrote: Author: rgheck Date: Mon Apr 18 04:23:09 2011 New Revision: 38433 URL: http://www.lyx.org/trac/changeset/38433 Log: Now how do you think that happened? Are you working anti-chronologically? I

Re: OutputParams

2011-04-22 Thread Richard Heck
On 04/22/2011 10:43 AM, Enrico Forestieri wrote: On Thu, Apr 21, 2011 at 08:22:05PM -0400, Richard Heck wrote: Not that I'm intending to commit this soon, but I thought I'd post this patch now for comment and commit shortly after 2.0. This patch un-mutables most of the mutable members of

RE: Too much options in LyX

2011-04-22 Thread venom00
OK, I've fixed everything you suggested me. Here's the new version. I've tried to limit the search to QAbstractButton, QGroupBox and Qlabel but no big improvements. Maybe we should simply add a delay, so the user can type the whole search query and then start the search, 200-400 ms. Other ideas?

crash in trunk

2011-04-22 Thread Edwin Leuven
assert in textmetrics.cpp line 395 when i scoll down (or use toc) to table 5 in this doc: http://dl.dropbox.com/u/359550/peerng.lyx a broken document, just when i switch to trunk for real work :( ed.

Re: Bug #7301: New layout for Springer (smono.layout, smult.layout, sjour3.layout)

2011-04-22 Thread Marcus Kriele
Here is a list of backward incompatibilities and issues with the existing layouts -- svglobal3.layout, (Original Layout, to be replaced by svjour3.layout) Original template Issues: a) Insets Keywords, PACS, Subclass: I do not know how to insert these inserts. (They are not listed in the

access wiki for biblatex

2011-04-22 Thread Johannes Wilm
Hey, it has previously been discussed to possibly aim for biblatex support in Lyx 2.1 . Could I get access to the Wiki so that I could start a document about this, including what challenges/possibilities there are? -- Johannes Wilm http://www.johanneswilm.org tel: +1 (520) 399 8880

Re: crash in trunk

2011-04-22 Thread Richard Heck
On 04/22/2011 12:01 PM, Edwin Leuven wrote: assert in textmetrics.cpp line 395 when i scoll down (or use toc) to table 5 in this doc: http://dl.dropbox.com/u/359550/peerng.lyx a broken document, just when i switch to trunk for real work :( The cause is the InsetScript in that table. If you

Re: crash in trunk

2011-04-22 Thread Richard Heck
On 04/22/2011 01:36 PM, Richard Heck wrote: On 04/22/2011 12:01 PM, Edwin Leuven wrote: assert in textmetrics.cpp line 395 when i scoll down (or use toc) to table 5 in this doc: http://dl.dropbox.com/u/359550/peerng.lyx a broken document, just when i switch to trunk for real work :( The

Re: crash in trunk

2011-04-22 Thread Edwin Leuven
Richard Heck rgh...@comcast.net wrote: Same crash with a footnote there. So it looks as if for some reason insets inside cells are not getting their macro context set properly. which is done in lines 3453-3473 of insettabular.cpp: if (tabular.getAlignment(cell) == LYX_ALIGN_DECIMAL) {

Re: crash in trunk

2011-04-22 Thread Richard Heck
On 04/22/2011 01:46 PM, Edwin Leuven wrote: Richard Heckrgh...@comcast.net wrote: Same crash with a footnote there. So it looks as if for some reason insets inside cells are not getting their macro context set properly. which is done in lines 3453-3473 of insettabular.cpp: if

[DIAGNOSIS] Re: crash in trunk

2011-04-22 Thread Richard Heck
On 04/22/2011 02:17 PM, Richard Heck wrote: On 04/22/2011 01:46 PM, Edwin Leuven wrote: Richard Heckrgh...@comcast.net wrote: Same crash with a footnote there. So it looks as if for some reason insets inside cells are not getting their macro context set properly. which is done in lines

Re: [DIAGNOSIS] Re: crash in trunk

2011-04-22 Thread Edwin Leuven
Richard Heck rgh...@comcast.net wrote: I think I know what's happening here. sounds reasonable indeed We might somehow need to call updateBuffer() on these new insets. or find a way of calculating the width of the insettext before and after the decimal separator without making a copy,

Track changes: Incorrect behavior on trailing spaces (Ticket #7487)

2011-04-22 Thread Diego Queiroz
I've sent a new ticket to the bug tracker today regarding an issue with track changes. I would like to see some comments about this. When tracking changes, the system does not handle correctly the word leading/trailing spaces. Steps to reproduce: * Open a new document. * Type a simple

Re: [DIAGNOSIS] Re: crash in trunk

2011-04-22 Thread Richard Heck
On 04/22/2011 05:24 PM, Edwin Leuven wrote: Richard Heckrgh...@comcast.net wrote: I think I know what's happening here. sounds reasonable indeed We might somehow need to call updateBuffer() on these new insets. or find a way of calculating the width of the insettext before and after the

Re: [DIAGNOSIS] Re: crash in trunk

2011-04-22 Thread Richard Heck
On 04/22/2011 10:42 PM, Richard Heck wrote: On 04/22/2011 05:24 PM, Edwin Leuven wrote: Richard Heckrgh...@comcast.net wrote: I think I know what's happening here. sounds reasonable indeed We might somehow need to call updateBuffer() on these new insets. or find a way of calculating the

Re: r38433 - lyx-devel/trunk/src

2011-04-22 Thread Abdelrazak Younes
On 04/18/2011 04:23 AM, rgh...@lyx.org wrote: Author: rgheck Date: Mon Apr 18 04:23:09 2011 New Revision: 38433 URL: http://www.lyx.org/trac/changeset/38433 Log: Now how do you think that happened? Are you working anti-chronologically? Abdel.

Re: Layout questions

2011-04-22 Thread Abdelrazak Younes
On 04/16/2011 10:12 PM, Richard Heck wrote: On 04/16/2011 03:59 PM, Julien Rioux wrote: On 16/04/2011 3:40 PM, Marcus Kriele wrote: I am trying to address bug #7301 concerning the Springer layout files, and the following 4 questions have arisen: 1) NextNoIndent prevents the following

Re: ar.po review?

2011-04-22 Thread Abdelrazak Younes
On 04/19/2011 01:48 PM, Pavel Sanda wrote: Hello Abdel, do you know arabic enough to review the few strings in layouttranslations? Not at all. I can ask my wife though... Abdel.

Re: Focus issue on Alt+F4 with unsaved changes

2011-04-22 Thread Tommaso Cucinotta
Il 20/04/2011 20:14, Pavel Sanda ha scritto: Tommaso Cucinotta wrote: $ svn up Alla revisione 38459. $ dpkg -l | grep 'libqt.*-dev' ii libqt4-dev 4:4.7.0-0ubuntu4.3 ii libqt4-opengl-dev 4:4.7.0-0ubuntu4.3 ii libqtwebkit-dev

Re: OutputParams

2011-04-22 Thread Enrico Forestieri
On Thu, Apr 21, 2011 at 08:22:05PM -0400, Richard Heck wrote: > Not that I'm intending to commit this soon, but I thought I'd post > this patch now for comment and commit shortly after 2.0. This patch > un-mutables most of the mutable members of OutputParams. A couple > remain: encoding, which

Small glitch with \smallmatrix

2011-04-22 Thread Enrico Forestieri
The attached patch fixes the deletion of an empty last row for \smallmatrix (this is part of bug #7484). It is a trivial patch, but to comply with the rules I need a nod from another developer for committing it to trunk. -- Enrico Index: src/mathed/MathParser.cpp

Re: Small glitch with \smallmatrix

2011-04-22 Thread Abdelrazak Younes
On 04/22/2011 04:58 PM, Enrico Forestieri wrote: The attached patch fixes the deletion of an empty last row for \smallmatrix (this is part of bug #7484). It is a trivial patch, but to comply with the rules I need a nod from another developer for committing it to trunk. This can't introduce

Re: Small glitch with \smallmatrix

2011-04-22 Thread Enrico Forestieri
On Fri, Apr 22, 2011 at 05:01:18PM +0200, Abdelrazak Younes wrote: > This can't introduce regression... Nod. Thanks, committed. -- Enrico

Re: r38433 - lyx-devel/trunk/src

2011-04-22 Thread Richard Heck
On 04/22/2011 08:09 AM, Abdelrazak Younes wrote: On 04/18/2011 04:23 AM, rgh...@lyx.org wrote: Author: rgheck Date: Mon Apr 18 04:23:09 2011 New Revision: 38433 URL: http://www.lyx.org/trac/changeset/38433 Log: Now how do you think that happened? Are you working anti-chronologically? I

Re: OutputParams

2011-04-22 Thread Richard Heck
On 04/22/2011 10:43 AM, Enrico Forestieri wrote: On Thu, Apr 21, 2011 at 08:22:05PM -0400, Richard Heck wrote: Not that I'm intending to commit this soon, but I thought I'd post this patch now for comment and commit shortly after 2.0. This patch un-mutables most of the mutable members of

RE: Too much options in LyX

2011-04-22 Thread venom00
OK, I've fixed everything you suggested me. Here's the new version. I've tried to limit the search to QAbstractButton, QGroupBox and Qlabel but no big improvements. Maybe we should simply add a delay, so the user can type the whole search query and then start the search, 200-400 ms. Other ideas?

crash in trunk

2011-04-22 Thread Edwin Leuven
assert in textmetrics.cpp line 395 when i scoll down (or use toc) to table 5 in this doc: http://dl.dropbox.com/u/359550/peerng.lyx a broken document, just when i switch to trunk for real work :( ed.

Re: Bug #7301: New layout for Springer (smono.layout, smult.layout, sjour3.layout)

2011-04-22 Thread Marcus Kriele
Here is a list of backward incompatibilities and issues with the existing layouts -- svglobal3.layout, (Original Layout, to be replaced by svjour3.layout) Original template Issues: a) Insets Keywords, PACS, Subclass: I do not know how to insert these inserts. (They are not listed in the

access wiki for biblatex

2011-04-22 Thread Johannes Wilm
Hey, it has previously been discussed to possibly aim for biblatex support in Lyx 2.1 . Could I get access to the Wiki so that I could start a document about this, including what challenges/possibilities there are? -- Johannes Wilm http://www.johanneswilm.org tel: +1 (520) 399 8880

Re: crash in trunk

2011-04-22 Thread Richard Heck
On 04/22/2011 12:01 PM, Edwin Leuven wrote: assert in textmetrics.cpp line 395 when i scoll down (or use toc) to table 5 in this doc: http://dl.dropbox.com/u/359550/peerng.lyx a broken document, just when i switch to trunk for real work :( The cause is the InsetScript in that table. If you

Re: crash in trunk

2011-04-22 Thread Richard Heck
On 04/22/2011 01:36 PM, Richard Heck wrote: On 04/22/2011 12:01 PM, Edwin Leuven wrote: assert in textmetrics.cpp line 395 when i scoll down (or use toc) to table 5 in this doc: http://dl.dropbox.com/u/359550/peerng.lyx a broken document, just when i switch to trunk for real work :( The

Re: crash in trunk

2011-04-22 Thread Edwin Leuven
Richard Heck wrote: > Same crash with a footnote there. So it looks > as if for some reason insets inside cells are not > getting their macro context set properly. which is done in lines 3453-3473 of insettabular.cpp: if (tabular.getAlignment(cell) == LYX_ALIGN_DECIMAL) {

Re: crash in trunk

2011-04-22 Thread Richard Heck
On 04/22/2011 01:46 PM, Edwin Leuven wrote: Richard Heck wrote: Same crash with a footnote there. So it looks as if for some reason insets inside cells are not getting their macro context set properly. which is done in lines 3453-3473 of insettabular.cpp: if

[DIAGNOSIS] Re: crash in trunk

2011-04-22 Thread Richard Heck
On 04/22/2011 02:17 PM, Richard Heck wrote: On 04/22/2011 01:46 PM, Edwin Leuven wrote: Richard Heck wrote: Same crash with a footnote there. So it looks as if for some reason insets inside cells are not getting their macro context set properly. which is done in lines

Re: [DIAGNOSIS] Re: crash in trunk

2011-04-22 Thread Edwin Leuven
Richard Heck wrote: > I think I know what's happening here. sounds reasonable indeed > We might somehow need to call updateBuffer() > on these new insets. or find a way of calculating the width of the insettext before and after the decimal separator without making a copy,

Track changes: Incorrect behavior on trailing spaces (Ticket #7487)

2011-04-22 Thread Diego Queiroz
I've sent a new ticket to the bug tracker today regarding an issue with track changes. I would like to see some comments about this. When tracking changes, the system does not handle correctly the word leading/trailing spaces. Steps to reproduce: * Open a new document. * Type a simple

Re: [DIAGNOSIS] Re: crash in trunk

2011-04-22 Thread Richard Heck
On 04/22/2011 05:24 PM, Edwin Leuven wrote: Richard Heck wrote: I think I know what's happening here. sounds reasonable indeed We might somehow need to call updateBuffer() on these new insets. or find a way of calculating the width of the insettext before and after the

Re: [DIAGNOSIS] Re: crash in trunk

2011-04-22 Thread Richard Heck
On 04/22/2011 10:42 PM, Richard Heck wrote: On 04/22/2011 05:24 PM, Edwin Leuven wrote: Richard Heck wrote: I think I know what's happening here. sounds reasonable indeed We might somehow need to call updateBuffer() on these new insets. or find a way of calculating the