A few problems with translation

2007-06-02 Thread Pavel Sanda
Hello, While updating translation I run into few problems: * not translated some items in listings dialog (already reported few days ago) * combo boxes in listings dialog dont get resized accordingly to the length of the strings inside them * listings dialog uses the labels 'Font Style'.

Re: [patch] RTL cursor display on inset edges

2007-06-02 Thread Dov Feldstern
Stefan Schimanski wrote: Hi! I cleaned up the patches to prepare them for committing: Again there are three, which are half depending on each other. Together the RTL behavior is correct (a lyx2lyx patch is still missing to convert LyX 1.3's "wrong" encoding of RTL paragraphs into the new one)

Re: [patch] several possible crashes due to invalid paragraph metrics

2007-06-02 Thread Dov Feldstern
Stefan Schimanski wrote: Another possibility of course (which I proposed somewhere in the other thread about the backspace case of Dov) is so redo the metrics of the current paragraph before setting the current font again. But then I guess they are computed twice, also during the paragraph upda

Re: Scrolling lag in 1.5svn again, more details.

2007-06-02 Thread Dov Feldstern
Peter Kümmel wrote: I've applied attached patch which only eats page up/down keys on x11 and fixes the scrollbar scrolling bug. This is a conservative approach. And because we really need more testing until the release it is now in svn (I know, I know, I know,... but somehow this thread must fin

Re: Bug 3794 Questions

2007-06-02 Thread Martin Vermeer
On Sat, Jun 02, 2007 at 07:23:59PM +0100, José Matos wrote: > On Saturday 02 June 2007 17:28:17 Richard Heck wrote: > > Regarding this bug: http://bugzilla.lyx.org/show_bug.cgi?id=3794. > > > > It seems to me something needs to be done about this soon. The question > > is what. I'd propose doing tw

Re: LyX Meeting 2007 -- info request

2007-06-02 Thread Martin Vermeer
On Sat, Jun 02, 2007 at 02:01:17PM +0300, Martin Vermeer wrote: > Hi all, > > I am preparing an application to Svenska Kulturfonden for a > financial support aimed at covering some of our meeting costs: As a further note, that the deadline for the application is June 8, so I would need this info

Re: Bug 3794 Questions

2007-06-02 Thread Stefan Schimanski
Am 02.06.2007 um 18:28 schrieb Richard Heck: Regarding this bug: http://bugzilla.lyx.org/show_bug.cgi?id=3794. It seems to me something needs to be done about this soon. The question is what. I'd propose doing two things: (i) The Close Window menu entry should be disabled if there is only

Re: Farsi version of splash.lyx

2007-06-02 Thread José Matos
On Thursday 31 May 2007 22:06:48 Uwe Stöhr wrote: > >> Attached find the file splash.lyx which is the translation of the > >> English version into Farsi. > > > > Could you, please, update the patch to support Farsi? Specifically the > > patch to Encoding does not apply cleanly anymore... > >

Re: Bug 3794 Questions

2007-06-02 Thread José Matos
On Saturday 02 June 2007 17:28:17 Richard Heck wrote: > Regarding this bug: http://bugzilla.lyx.org/show_bug.cgi?id=3794. > > It seems to me something needs to be done about this soon. The question > is what. I'd propose doing two things: (i) The Close Window menu entry > should be disabled if ther

Re: Bug 3794 Questions

2007-06-02 Thread Alfredo Braunstein
Richard Heck wrote: > > Regarding this bug: http://bugzilla.lyx.org/show_bug.cgi?id=3794. > > It seems to me something needs to be done about this soon. The question > is what. I'd propose doing two things: (i) The Close Window menu entry > should be disabled if there is only one window open; (i

Re: [patch - different approach] parbox with only width setting, automatic height gets height 0pt (lyx 1.5)

2007-06-02 Thread Micha Feigin
On Fri, 01 Jun 2007 11:35:45 +0200 Georg Baum <[EMAIL PROTECTED]> wrote: > Jean-Marc Lasgouttes wrote: > > >> "Micha" == Micha Feigin > >> <[EMAIL PROTECTED]> writes: > > > > Micha> As far as I'm concerned, right now (preferably rc2). It's very > > Micha> unobtrusive and in an external p

Bug 3794 Questions

2007-06-02 Thread Richard Heck
Regarding this bug: http://bugzilla.lyx.org/show_bug.cgi?id=3794. It seems to me something needs to be done about this soon. The question is what. I'd propose doing two things: (i) The Close Window menu entry should be disabled if there is only one window open; (ii) Perhaps it should be renam

Re: [patch] several possible crashes due to invalid paragraph metrics

2007-06-02 Thread Stefan Schimanski
Another possibility of course (which I proposed somewhere in the other thread about the backspace case of Dov) is so redo the metrics of the current paragraph before setting the current font again. But then I guess they are computed twice, also during the paragraph update later. Stefan A

[patch] several possible crashes due to invalid paragraph metrics

2007-06-02 Thread Stefan Schimanski
Hi! In http://bugzilla.lyx.org/show_bug.cgi?id=3790 a bug is reported that LyX crashes when deleting a display math at the end of a paragraph. In fact the same bug can also be triggered by backspace, enter to rebreak the paragraph and probably many more ways. The reason is that Text::setC

Re: [PATCH] Bug 3711, add insets without valid ParConstIterator to TOC.

2007-06-02 Thread Andre Poenitz
On Sat, Jun 02, 2007 at 08:41:06AM -0500, Bo Peng wrote: > >> +/// thrown by an inset that does not have a valid ParConstIterator > >> +/// so the paragraph containing this inset has to be used > >> +class outerTocItem > > > >'OuterTocItem' > > Fixed in the attached patch. Jose, OK to apply? (I as

Re: LyX/Mac Installer

2007-06-02 Thread Stefan Schimanski
The Windows installer is in development/Win32/packaging. So is there anything against putting it to development/MacOSX/packaging/ installer ? Nothing at all: that's what I'm asking for! (I don't have svn privileges, so I can't do it myself, and even if I did I'd need to ask permission anyw

Re: LyX Meeting 2007 -- info request

2007-06-02 Thread Martin Vermeer
On Sat, Jun 02, 2007 at 03:56:45PM +0200, Jean-Marc Lasgouttes wrote: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> Now the funder requires that all beneficiaries are named in > Martin> the application, with personal number / social security / tax > Martin> number. (Th

Re: LyX/Mac Installer

2007-06-02 Thread Bennett Helm
Stefan Schimanski wrote: The Windows installer is in development/Win32/packaging. So is there anything against putting it to development/MacOSX/packaging/installer ? Nothing at all: that's what I'm asking for! (I don't have svn privileges, so I can't do it myself, and even if I did I'd need to

Re: LyX/Mac Installer

2007-06-02 Thread Stefan Schimanski
The Windows installer is in development/Win32/packaging. So is there anything against putting it to development/MacOSX/packaging/installer ? But I am wondering what this installer is doing in fact. Why is copying the LyX.app not enough? Stefan In private e-mail, I have received some reques

LyX/Mac Installer

2007-06-02 Thread Bennett Helm
In private e-mail, I have received some requests to see the LyX/Mac Installer. In response, I've noted that I'd love to have others see and fix my awkward code for that. So ... Would it be possible to include the source for that with the LyX sources? (It's currently an AppleScript Studio XCode

Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-02 Thread Gerard Ateshian
Bennett, I used ./configure --prefix=/Applications/LyX.app --with-version-suffix=-1.5 --without-x --with-frontend=qt4 --with-qt4-dir=/usr/local/QT4.2 -- with-included-gettext --enable-optimization=-Os then make sudo make install-strip Gerard On Jun 2, 2007, at 8:52 AM, Bennett Helm wrote

Re: [PATCH] Bug 3711, add insets without valid ParConstIterator to TOC.

2007-06-02 Thread Bo Peng
Bo> Fixed in the attached patch. Jose, OK to apply? I am not very pleased with the use of an exception there, but on the other hand I do not have (yet) a better idea. I though of returning TocItem and let update() add the labels. However, ParConstIterator does not have a default constructor lik

Re: [patch] bug 1749: figures are scaled before rotation, resulting in broken layout

2007-06-02 Thread Jürgen Spitzmüller
José Matos wrote: > I don't have time now to look into the lyx2lyx part. maybe someone else has? The following needs to be done: def convert_graphics_rotation(document): if we have a graphics inset that has the rotateAngle param and either the width, height or scaled param, then add the param

Re: LyX Meeting 2007 -- info request

2007-06-02 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> Now the funder requires that all beneficiaries are named in Martin> the application, with personal number / social security / tax Martin> number. (They idea behind this is, that this is taxable Martin> income. Whether you declare

Re: [PATCH] Bug 3711, add insets without valid ParConstIterator to TOC.

2007-06-02 Thread Jean-Marc Lasgouttes
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: >> > +/// thrown by an inset that does not have a valid >> ParConstIterator > +/// so the paragraph containing this inset has >> to be used > +class outerTocItem >> >> 'OuterTocItem' Bo> Fixed in the attached patch. Jose, OK to apply? I am not

Opening Insets by mouse

2007-06-02 Thread Pavel Sanda
Hi, it happens to me quite often that clicking to some inset marks some large area of text (the whole space between the cursor and the inset I'm clicking on by mouse) instead of opening it. This is due to the fact, that the mouse moves little bit over the inset while clicking - when I carefully st

Re: [PATCH] Bug 3711, add insets without valid ParConstIterator to TOC.

2007-06-02 Thread Bo Peng
> +/// thrown by an inset that does not have a valid ParConstIterator > +/// so the paragraph containing this inset has to be used > +class outerTocItem 'OuterTocItem' Fixed in the attached patch. Jose, OK to apply? (I assume Andre has tested this patch). Bo Index: src/insets/InsetInclude.cpp

Re: [PATCH] Bug 3363: internal middle button paste does not mark buffer dirty.

2007-06-02 Thread Bo Peng
So we will be in company. :-) OK. Committed at r18632. Bo

Re: MacBugs (Was: Re: Release candidate 1 (pre-announce))

2007-06-02 Thread Stefan Schimanski
Thanks Stefan, it works fine! Do I understand the code correctly that (since I don't know any c+ +, chances are high that I don't ;-) once the QT-fix is in place, font.exactMatch()) will be true and Times will be used. So the upper version limit is more of a code cleaning thing? With Times

Re: MacBugs (Was: Re: Release candidate 1 (pre-announce))

2007-06-02 Thread Anders Ekberg
On 2 jun 2007, at 12.57, Stefan Schimanski wrote: http://bugzilla.lyx.org/show_bug.cgi?id=3684 (A simple search does not show this bug since it is marked as UNCONFIRMED. Could someone please change that to NEW.) If I run with debugger and set the screen font to Times, I get: LyXFunc::dispat

Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-02 Thread Bennett Helm
Gerard Ateshian wrote: Bennett, I downloaded and installed this rc1 version of LyX 1.5.0 on my Mac PPC running OS X 10.4.9 and I noticed it runs much slower than beta2 (which I had compiled myself). I also noticed that the file size of rc1 (67.1 MB) was much bigger than beta2 (38.1 MB). So

Re: MacBugs

2007-06-02 Thread Bennett Helm
Jean-Marc Lasgouttes wrote: "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> I've tried to mark it as new *and* as a regression (so that Bennett> it will show up at Bennett> ), but I don't Bennett> have permission. Now you do. JMarc

Re: [patch] bug 1749: figures are scaled before rotation, resulting in broken layout

2007-06-02 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > I'd think that the right default is the opposite of what 1.4 does... OK, I'll change the default then. Jürgen

LyX Meeting 2007 -- info request

2007-06-02 Thread Martin Vermeer
Hi all, I am preparing an application to Svenska Kulturfonden for a financial support aimed at covering some of our meeting costs: the bus trip from/to the airport, eating out locally, and some sightseeing. The sum applied for is small, but this is as much about putting us "on the map" as about mo

Re: How to make Lyx DRAMATICALLY better.

2007-06-02 Thread christian . ridderstrom
On Fri, 1 Jun 2007, Tim Michelsen wrote: Hello, I just want to add something from a users experience with math in normal text. As far as I can recall, one reason that I particularly wanted this feature was to enable me to see more clearly whether or not I had spaces between a formula and the t

Re: MacBugs (Was: Re: Release candidate 1 (pre-announce))

2007-06-02 Thread Stefan Schimanski
http://bugzilla.lyx.org/show_bug.cgi?id=3684 (A simple search does not show this bug since it is marked as UNCONFIRMED. Could someone please change that to NEW.) If I run with debugger and set the screen font to Times, I get: LyXFunc::dispatch: cmd: action: 201 arg: '' x: 0 y: 0 BufferView::

Re: [patch] bug 1749: figures are scaled before rotation, resulting in broken layout

2007-06-02 Thread Jean-Marc Lasgouttes
> "Jürgen" == Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: Jürgen> http://bugzilla.lyx.org/show_bug.cgi?id=1749 Since this is a Jürgen> file format change and a long-standing bug, I decided to have Jürgen> a go before 1.5.0. This looks like a good idea. Jürgen> Attached is the fix minus th

Re: [patch] bug 1749: figures are scaled before rotation, resulting in broken layout

2007-06-02 Thread José Matos
On Saturday 02 June 2007 09:18:56 Jürgen Spitzmüller wrote: > OK to go in? > > Jürgen It seems OK but I don't have time now to look into the lyx2lyx part. -- José Abílio

Re: [PATCH] Bug 3363: internal middle button paste does not mark buffer dirty.

2007-06-02 Thread José Matos
On Saturday 02 June 2007 03:40:59 Bo Peng wrote: > Both emacs and gvim put cursor after pasted text. So we will be in company. :-) OK. > Bo -- José Abílio

Re: [PATCH] Bug 3363: internal middle button paste does not mark buffer dirty.

2007-06-02 Thread José Matos
On Friday 01 June 2007 22:27:47 Bo Peng wrote: > This patch partially fix bug 3363 by marking buffer dirty after > internal middle button paste. > > Seems easy enough. Jose? Yes. > Bo -- José Abílio

Re: [PATCH] Bug 3363: internal middle button paste does not mark buffer dirty.

2007-06-02 Thread Jean-Marc Lasgouttes
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: Bo> This patch partially fix bug 3363 by marking buffer dirty after Bo> internal middle button paste. Bo> Seems easy enough. Jose? Looks correct. JMarc

Re: MacBugs

2007-06-02 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> I've tried to mark it as new *and* as a regression (so that Bennett> it will show up at Bennett> ), but I don't Bennett> have permission. Now you do. JMarc

Re: [patch] fixing segfault because of empty coord cache

2007-06-02 Thread Stefan Schimanski
Any consensus about this one? It still crashes in RC1. Stefan PGP.sig Description: Signierter Teil der Nachricht

[patch] bug 1749: figures are scaled before rotation, resulting in broken layout

2007-06-02 Thread Jürgen Spitzmüller
http://bugzilla.lyx.org/show_bug.cgi?id=1749 Since this is a file format change and a long-standing bug, I decided to have a go before 1.5.0. Attached is the fix minus the actual lyx2lyx change (i.e., I added an empty lyx2lyx conversion/reversion). What it does is adding a new graphics param s

Re: [PATCH] Bug 3711, add insets without valid ParConstIterator to TOC.

2007-06-02 Thread Andre Poenitz
On Sat, Jun 02, 2007 at 12:26:48AM -0500, Bo Peng wrote: > When an inset such as InsetInclude does not have a valid > ParConstIterator (because it does not have valid paragraphs), it has > to use the iterator of its parent paragraph. This patch implements > this and add InsetInclude with a caption

Re: Scrolling lag in 1.5svn again, more details.

2007-06-02 Thread Peter Kümmel
I've applied attached patch which only eats page up/down keys on x11 and fixes the scrollbar scrolling bug. This is a conservative approach. And because we really need more testing until the release it is now in svn (I know, I know, I know,... but somehow this thread must find an end, and we could

Re: Ready for RC1?

2007-06-02 Thread Peter Kümmel
Helge Hafting wrote: > Peter Kümmel wrote: >> Helge Hafting wrote: >> >>> Lars Gullik Bjønnes wrote: >>> | What is the problem that you are trying to solve here? Is it my old pet? "Countinued scorrling after key-release"? What was wrong with my patch from months back?