Re: strange bug

2005-02-13 Thread Juergen Spitzmueller
Andreas Vox wrote: > > The whole workarea gets messed up. > > What kind of mess-up? I can't see anything here :-( > (MacAqua) Difficult to describe. Seems like the workarea gets a huge descend while the scrollbar isn't updated and anything you type is invisible. Quite weird. Jürgen

Re: [Bug 1598] Crash when in sub/superscript and then moving down/up

2005-02-13 Thread Juergen Spitzmueller
Andre Poenitz wrote: > My cvs copy is from Thursday. > > Nevertheless that patch of mine should be applied too, as it makes the > whole dispatch process a bit more robust. I see. I'll commit your patch if you attach it again (with ChangeLog please). Jürgen

Re: Problem writing a converter

2005-02-13 Thread Bernard Hurley
On Sun, 2005-02-13 at 14:48 +0100, Georg Baum wrote: > Bernard, > thanks for your detailed explanation of lilypond. I played a bit with > it > and am impressed. I even found some similarities to lyx (.lyx > <-> .ly, > lyx2lyx <-> convert-ly.py), and I like that they tried to approach > the > qua

Re: CVS lyx: Problems with cut and paste in tables

2005-02-13 Thread John Levon
On Sun, Feb 13, 2005 at 01:26:06PM -0800, Kayvan A. Sylvan wrote: > There seems to be new problems in cut and paste in tables. > > 1) Insert a table > 2) Insert some text in the the cells. > 3) Select some text (in a table cell) and Copy (or Cut) > > 4) Try to Paste (in the same cell or another

Re: question about selection

2005-02-13 Thread John Levon
On Sun, Feb 13, 2005 at 08:30:57PM +, Angus Leeming wrote: > > xev->{xselectionrequest|xselectionclear}.window > > ... and if a Window has two QWorkAreas? Then we've mis-designed multiple buffer support. john

Re: Comments on LyX 1.3 on Windows

2005-02-13 Thread Andreas Vox
Angus Leeming <[EMAIL PROTECTED]> writes: > > Michael Schmitt wrote: > > 1. The fact that paths to documents are not allowed to contain spaces is > > a big problem on the Windows platform. This restriction implies that all > > Non-Administrators (i.e., users that cannot escape from their "Documen

Re: Comments on LyX 1.3 on Windows

2005-02-13 Thread Martin Vermeer
On Sun, Feb 13, 2005 at 08:51:37PM +, Angus Leeming wrote: > Michael Schmitt wrote: > > 2. In math mode, it is not possible to use keys "_" and "^" for > > subscript/superscript. I understand that "^" may be a special case but > > why does "_" not work??? > > lyx -dbg key Michael, wh

Re: [Patch] SnippetConversion for previews and DocBook

2005-02-13 Thread Andreas Vox
Georg Baum <[EMAIL PROTECTED]> writes: > And I found another problem with a fixed directory name like > "math-images": Things get mixed up if you export two documents in the > same directory. So even if the directory name is fixed for some reason it > should be unique per document, i. e. foo-ma

Re: strange bug

2005-02-13 Thread Andreas Vox
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: > > 1. open a new document > 2. insert math inline inset (without entering content) > 3. leave inline inset (cursor right) > 4. press space > > The whole workarea gets messed up. What kind of mess-up? I can't see anything here :-( (MacAqua) /And

CVS lyx: Problems with cut and paste in tables

2005-02-13 Thread Kayvan A. Sylvan
There seems to be new problems in cut and paste in tables. 1) Insert a table 2) Insert some text in the the cells. 3) Select some text (in a table cell) and Copy (or Cut) 4) Try to Paste (in the same cell or another cell): Nothing happens -- Kayvan A. Sylvan | Proud husband of |

Re: Comments on LyX 1.3 on Windows

2005-02-13 Thread Angus Leeming
Michael Schmitt wrote: > 1. The fact that paths to documents are not allowed to contain spaces is > a big problem on the Windows platform. This restriction implies that all > Non-Administrators (i.e., users that cannot escape from their "Documents > and Settings" environment cannot use LyX :-( I wo

Re: win32_kludge

2005-02-13 Thread Angus Leeming
Michael Schmitt wrote: > Dear Angus, > > development/Win32/win32_kludge.difffor 1.4.0 is broken (the 1.3.X > version works fine!). Nothing to do with me. Asger's baby. I haven't tried to compile the 1.4.x tree on Windows. > BTW: Do you have any plans or open issues for the 1.3.X branch/Wind

Re: question about selection

2005-02-13 Thread Angus Leeming
John Levon wrote: > On Sun, Feb 13, 2005 at 05:42:39PM +, Angus Leeming wrote: > >> > But each one should be a spearate QWidget, right? >> >> I don't see how that helps us given that lyxX11EventFilter is passed >> only a XEvent * and must use that to distinguish the QWorkArea from >> which t

win32_kludge

2005-02-13 Thread Michael Schmitt
Dear Angus, development/Win32/win32_kludge.difffor 1.4.0 is broken (the 1.3.X version works fine!). BTW: Do you have any plans or open issues for the 1.3.X branch/Windows port? Regards, Michael

Re: [Bug 1598] Crash when in sub/superscript and then moving down/up

2005-02-13 Thread Andre Poenitz
On Sun, Feb 13, 2005 at 11:37:00AM +0100, Juergen Spitzmueller wrote: > Andre Poenitz wrote: > > Aehm. I can't apply the patch I send myself. So it would be nice if > > someone checked and committed it. > > I thought I fixed this case yesterday. My cvs copy is from Thursday. Nevertheless that pa

[patch] fix crash on font changes

2005-02-13 Thread Andre Poenitz
Attached patch fixes a crach when changing a font over a range containing a nested math inset. I am not sure whether nested insets should be immune to font changes in general. It is the right thing for e.g. footnotes, but I am not sure about the general case. I any case, this fixes a crash, so s

Re: strange bug

2005-02-13 Thread Andre Poenitz
On Sun, Feb 13, 2005 at 12:17:56PM +0100, Juergen Spitzmueller wrote: > Juergen Spitzmueller wrote: > > 1. open a new document > > 2. insert math inline inset (without entering content) > > 3. leave inline inset (cursor right) > > 4. press space > > > > The whole workarea gets messed up. > > I tr

NLS: Generation of po files broken?

2005-02-13 Thread Michael Schmitt
Hello, AFAICS, we have a problem with the generation of po files. LyX 1.3.6 comprises 2838 messages, while the po files of LyX 1.4.0 have only 1866 entries! I had a closer look at the po files and noticed that, e.g., the message "Senseless: " is no longer used. However, it is still used in tex

Re: question about selection

2005-02-13 Thread John Levon
On Sun, Feb 13, 2005 at 05:42:39PM +, Angus Leeming wrote: > > But each one should be a spearate QWidget, right? > > I don't see how that helps us given that lyxX11EventFilter is passed only a > XEvent * and must use that to distinguish the QWorkArea from which the > event originated. xev->{

Re: Qt/Win Free library not longer recognized

2005-02-13 Thread Angus Leeming
Michael Schmitt wrote: > Angus, > > the Qt/Win Free people have renamed their library so that it is no longer > recognized by the configure script. > > Could you please extend the following line in ./config/qt.m4 > > for libname in -lqt3 -lqt2 -lqt -lqt-mt; > > by > > for

Re: question about selection

2005-02-13 Thread Angus Leeming
John Levon wrote: > On Sun, Feb 13, 2005 at 04:36:32PM +, Angus Leeming wrote: > >> Me too, given that eventually a LyXView will be able to hold multiple >> QWorkAreas. > > But each one should be a spearate QWidget, right? I don't see how that helps us given that lyxX11EventFilter is passed

Re: Problems with PATH for lyx-13x on MacOS X

2005-02-13 Thread Angus Leeming
Bennett Helm wrote: > With recent versions of lyx-1.3.6 (but not 1.4.0), the PATH environment > is not set up properly. There are two problems: > > 1. It looks as though /usr/bin and /usr/local/bin are not properly > added, so attempting to run the configure script or view files results > in erro

Qt/Win Free library not longer recognized

2005-02-13 Thread Michael Schmitt
Angus, the Qt/Win Free people have renamed their library so that it is no longer recognized by the configure script. Could you please extend the following line in ./config/qt.m4 for libname in -lqt3 -lqt2 -lqt -lqt-mt; by for libname in -lqt3 -lqt2 -lqt -lqt-mt -lqt-mt3; Both in

Re: question about selection

2005-02-13 Thread John Levon
On Sun, Feb 13, 2005 at 04:36:32PM +, Angus Leeming wrote: > Me too, given that eventually a LyXView will be able to hold multiple > QWorkAreas. But each one should be a spearate QWidget, right? > What would be the 'proper' way of doing this X11-selection > stuff in a Qt-ish way? Dunno. Whe

[PATCH 13x,14x] save a few cycles.

2005-02-13 Thread Angus Leeming
I've just committed this to the 13x and 14x trees. No effect on functionality at all. Index: src/lyx_main.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyx_main.C,v retrieving revision 1.134.2.12 diff -u -p -r1.134.2.12 lyx_mai

[PATCH] (Re: [PATCH] UI: matrix partitioning)

2005-02-13 Thread Martin Vermeer
On Fri, Feb 11, 2005 at 09:42:28PM +0100, Andre Poenitz wrote: > On Wed, Feb 09, 2005 at 11:15:40AM +0200, Martin Vermeer wrote: > > What I meant is that the lines_ parameter in RowInfo only describes > > hlines _above_ the row. If you see a simple fix, great. > > rowinfo_.size() == nrows() + 1 >

Re: question about selection

2005-02-13 Thread Angus Leeming
John Levon wrote: > On Sun, Feb 13, 2005 at 02:33:19PM +, Angus Leeming wrote: > >> What about something that maps between an X11 window ID and a QWorkArea? >> F.ex below. Of course, that requires a way to find the X11 window ID >> associated with a particular QWorkArea and I've no idea if th

Re: Parsing problem with 2.15 document

2005-02-13 Thread Juergen Spitzmueller
John Levon wrote: > > It looks like the file is broken (missing end_inset): > > Interesting, I wonder how it got created. In any case, it is broken enough that even LyX 1.2.3 itself cannot parse it correctly. Regards, Jürgen

Re: question about selection

2005-02-13 Thread John Levon
On Sun, Feb 13, 2005 at 02:33:19PM +, Angus Leeming wrote: > What about something that maps between an X11 window ID and a QWorkArea? > F.ex below. Of course, that requires a way to find the X11 window ID > associated with a particular QWorkArea and I've no idea if that is > possible... There

Re: Parsing problem with 2.15 document

2005-02-13 Thread John Levon
On Sun, Feb 13, 2005 at 02:59:40PM +0100, Georg Baum wrote: > It looks like the file is broken (missing end_inset): Interesting, I wonder how it got created. john

Re: [Patch] SnippetConversion for previews and DocBook

2005-02-13 Thread Georg Baum
Am Samstag, 12. Februar 2005 20:47 schrieb Chris Karakas: > Is it not wrapped? I didn't know it. However, I don't have any control on it. I use a webmail system - do you know web.de? ;-) Yes I know web.de. I use it sometimes, too, but via POP3 and SMTP. > Maybe you are right. It's O.K. with me

Re: Problem writing a converter

2005-02-13 Thread Georg Baum
Bernard, thanks for your detailed explanation of lilypond. I played a bit with it and am impressed. I even found some similarities to lyx (.lyx <-> .ly, lyx2lyx <-> convert-ly.py), and I like that they tried to approach the quality of hand engraved music. The only thing that I don't like so much

Re: [patch] fix inInset crash

2005-02-13 Thread Georg Baum
Am Samstag, 12. Februar 2005 18:29 schrieb Andre Poenitz: > Having the string 'FIXME' there is just fine. That's what I am used to > grep for. Ok, this is in now. Georg

Re: Problem writing a converter

2005-02-13 Thread Georg Baum
Am Sonntag, 13. Februar 2005 12:36 schrieb Angus Leeming: > Because it is a huge security hole if we don't protect individual arguments > with quotes. Consider $$p as `rm -rf $HOME/*`. Remember that the value for > $$p is stored in the LyX file, so we *have* to ensure it is safe if we are > to

Re: Parsing problem with 2.15 document

2005-02-13 Thread Georg Baum
Am Samstag, 12. Februar 2005 21:12 schrieb John Levon: > > Load the attached into 1.3.x or current lyx, and search for "retention > curve". You'll find some forumlas that have .lyx crap in them. Any > ideas? It looks like the file is broken (missing end_inset): \begin_inset Formula \( R_{0}\) \e

Re: [Patch] SnippetConversion for previews and DocBook

2005-02-13 Thread Chris Karakas
Andreas Vox <[EMAIL PROTECTED]> schrieb am 13.02.05 02:52:53: > > The problem with inlinemath is that you have to know the depth of the > graphic > if you want to align it to the baseline. This depth will be needed by > ANY presentation > if it want to achieve a decent layout. Imagine the two fo

Re: question about selection

2005-02-13 Thread Angus Leeming
John Levon wrote: > On Sun, Feb 13, 2005 at 12:43:22PM +, Angus Leeming wrote: > >> Pretty dumm ;-) At a quick look, it looks to me like wa_ptr (work area >> pointer?) is a hack. Also at a quick look, it means that QWorkArea is > > Right, it's a horrible hack because we don't have access to

Re: strange bug

2005-02-13 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > 1. open a new document > 2. insert math inline inset (without entering content) > 3. leave inline inset (cursor right) > 4. press space > > The whole workarea gets messed up. > > Jürgen This is now bug 1817 http://bugzilla.lyx.org/show_bug.cgi?id=1817 Jürgen

Re: Problem writing a converter

2005-02-13 Thread Angus Leeming
Bernard Hurley wrote: > On Sun, 2005-02-13 at 11:36 +, Angus Leeming wrote: >> Georg Baum wrote: >> (Talking about the $$p parameter that could be passed to a converter) >> >> >> I checked the code in 140cvs and it looks as if this parameter does >> >> not get used (any more?). >> > >> > Ind

Re: Problem writing a converter

2005-02-13 Thread Bernard Hurley
On Sun, 2005-02-13 at 11:36 +, Angus Leeming wrote: > Georg Baum wrote: > (Talking about the $$p parameter that could be passed to a converter) > > >> I checked the code in 140cvs and it looks as if this parameter does > >> not get used (any more?). > > > > Indeed. I don't know why. > > Beca

Re: question about selection

2005-02-13 Thread John Levon
On Sun, Feb 13, 2005 at 12:43:22PM +, Angus Leeming wrote: > Pretty dumm ;-) At a quick look, it looks to me like wa_ptr (work area > pointer?) is a hack. Also at a quick look, it means that QWorkArea is Right, it's a horrible hack because we don't have access to a work-area in the context we

Re: question about selection

2005-02-13 Thread Angus Leeming
Edwin Leuven wrote: > Edwin Leuven wrote: >> can anyone explain to me what this line: >> >> wa_ptr = this; >> >> in "void QWorkArea::haveSelection(bool)" >> >> does? > > stupid question? Pretty dumm ;-) At a quick look, it looks to me like wa_ptr (work area pointer?) is a hack. Also at a quic

Re: question about selection

2005-02-13 Thread Edwin Leuven
Edwin Leuven wrote: can anyone explain to me what this line: wa_ptr = this; in "void QWorkArea::haveSelection(bool)" does? stupid question?

Re: Problem writing a converter

2005-02-13 Thread Angus Leeming
Georg Baum wrote: (Talking about the $$p parameter that could be passed to a converter) >> I checked the code in 140cvs and it looks as if this parameter does >> not get used (any more?). > > Indeed. I don't know why. Because it is a huge security hole if we don't protect individual arguments wi

Re: [PATCHes] Re: Sun Studio...

2005-02-13 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: >>> The Qt frontend requires the use of some gnu-isms though. > What kind of GNU-isms are these? The first two of these: $ (cd src/frontends/qt2 && grep '%' `find . -name Makefile.am`) ./moc/Makefile.am:%_moc.C: $(srcdir)/../%.h ./ui/moc/Makefile.am:%_moc.C: ../%.h ./u

Re: strange bug

2005-02-13 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > 1. open a new document > 2. insert math inline inset (without entering content) > 3. leave inline inset (cursor right) > 4. press space > > The whole workarea gets messed up. I tried to track down the problem. This is what I have: In BufferView_pimpl::metrics(), line

Re: [Bug 1791] New: assertion triggered in InsetBase::clone()

2005-02-13 Thread Juergen Spitzmueller
Andre Poenitz wrote: > > LyX aborts if you try to load attachment 548 of bug 1560. > > Could anybody please send me that attachment by email? Here it is. The problem is the refinset inside mathed. Jürgen 1561.lyx Description: application/lyx

Re: [Bug 1598] Crash when in sub/superscript and then moving down/up

2005-02-13 Thread Juergen Spitzmueller
Andre Poenitz wrote: > Aehm. I can't apply the patch I send myself. So it would be nice if > someone checked and committed it. I thought I fixed this case yesterday. Jürgen