Re: Argh... Free memory read!

2001-09-19 Thread Juergen Vigna
On 19-Sep-2001 Jean-Marc Lasgouttes wrote: > This happens when the cursor is between two spaces. If you do a > setCursor from there, the extra space is deleted, the row is deleted > and reallocated, so that the cursor that you have saved as > selection.cursor earlier is lost. Ok! Why then not d

Re: XPM question (not too off topic)

2001-09-19 Thread John Levon
On Wed, Sep 19, 2001 at 06:33:42PM +0100, Angus Leeming wrote: > It would be nice, however, to have an xpm file with a transparent background > to test that my fix works ;-) add a colour "None" that is used for the background. Also see https://sourceforge.net/tracker/?func=detail&aid=224364&g

Re: rpm lyx.spec.in

2001-09-19 Thread Kayvan A. Sylvan
I am getting tired of this thread. ;-) Lars, please apply this patch (below) and then we can all arm-wrestle for whatever other changes we want put in to the lyx.spec file. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associ

XPM question (not too off topic)

2001-09-19 Thread Angus Leeming
I'm trying to test a fix to a bug in the graphics inset: if the .xpm file has a transparent colour and the LyX screen has a dark background, then visualisation of the graphic is difficult. The fix is to ensure that the graphics inset has a configurable background. This I've done. It would be n

Re: What's wrong here?

2001-09-19 Thread Angus Leeming
On Wednesday 19 September 2001 17:15, Juergen Spitzmueller wrote: > Hi, > > While working on the Document Dialog I detected a bug which seems to be > there for a long time (it's in 1.1.6 too). It's very easy to reproduce: > > Go to the Document Dialog and change the class. The nasty popup pops

Re: rpm lyx.spec.in

2001-09-19 Thread Zvezdan Petkovic
On Wed, Sep 19, 2001 at 06:06:41PM +0200, Jean-Marc Lasgouttes wrote: > > "Zvezdan" == Zvezdan Petkovic <[EMAIL PROTECTED]> writes: > > >> If using %{_bindir} and %{_datadir} in %files sections and not > >> passing %{_bindir} and %{_datadir} to configure, users will have to > >> edit lyx.spec

What's wrong here?

2001-09-19 Thread Juergen Spitzmueller
Hi, While working on the Document Dialog I detected a bug which seems to be there for a long time (it's in 1.1.6 too). It's very easy to reproduce: Go to the Document Dialog and change the class. The nasty popup pops up. Confirm the question: the class options will be reset to default. Now ch

Re: rpm lyx.spec.in

2001-09-19 Thread Zvezdan Petkovic
On Wed, Sep 19, 2001 at 07:33:21AM +0200, Ralf Corsepius wrote: > On Mit, 2001-09-19 at 05:23, Zvezdan Petkovic wrote: > > > > IMHO, you are exaggerating. > Well, of cause, I have to disagree :) > > Primarily, it's just convenience for users/installers not wanting to use > the defaults. > The

Re: Qt2 configure fix

2001-09-19 Thread John Levon
On Wed, Sep 19, 2001 at 03:22:25PM +0100, John Levon wrote: > > PS: One more thing in your script is missing to have it run "out-of-the-box" > > on a FreeBSD OS: prefer "moc2" to "moc", when available. and is there a uic2 as well ? john -- "If you're not part of the problem, you're part of th

Re: Qt2 configure fix

2001-09-19 Thread John Levon
On Wed, Sep 19, 2001 at 02:13:11PM +0900, R. Lahaye wrote: > What about the other necessary patch for compiling qt2: you need to get someone with commit privileges to apply this ! Shout at Lars. > I have tested your new qt script. It doesn't work. I get loads and > loads of "undefined reference

Re: Argh... Free memory read!

2001-09-19 Thread Juergen Vigna
On 19-Sep-2001 Jean-Marc Lasgouttes wrote: > Not really, because the selection.cursor = cursor is done _before_ > doing a setcursor (which invalidates selection.cursor). So it would ??? Why should a setCursor invalidate a selection.cursor? Could you explain please? > I'd rather have a > val

Re: Spellchecking & translations

2001-09-19 Thread Angus Leeming
On Wednesday 19 September 2001 12:43, Garst R. Reese wrote: > > Well, technically, I think that this one is wrong > > Index: src/insets/insetfloatlist.C > > === > > RCS file: /cvs/lyx/lyx-devel/src/insets/insetfloatlist.C,v > > retrie

Re: Argh... Free memory read!

2001-09-19 Thread Juergen Vigna
On 19-Sep-2001 Jean-Marc Lasgouttes wrote: > What is the right way to re-validate (ie rebuild row and other info > from par+pos) a cursor (or the selection)? Hmm, if I don't err there is a setCursor(bview, cursor, par, pos) call so instead of doing "selection.cursor = cursor" we would have to d

Re: Argh... Free memory read!

2001-09-19 Thread Juergen Vigna
On 19-Sep-2001 Jean-Marc Lasgouttes wrote: > But the only caller to pasteSelection is BufferView::paste, which does > a LyXText::clearSelection afterwards. So it should be safe, isn't it? > I tried things like what you suggest and did not see any problem. Maybe this was old cruft from pre-CutAn

Re: Spellchecking & translations

2001-09-19 Thread Angus Leeming
On Tuesday 18 September 2001 21:12, Michael Schmitt wrote: > Dear Jean Marc, > > after studying the gettext manual, I think it would be legal to just > remove one of the duplicate "Note" entries. Is that right? > > Anyway, when looking at the po files, I noticed a few typographic errors. > There

RE: Updating po files

2001-09-19 Thread Juergen Vigna
On 18-Sep-2001 Michael Schmitt wrote: > I am a little bit contrite as I pushed Jean Marc to patch the po files > resulting in the conflicts reported by Lars. > > Of course, I want to fix the problem by myself, so I looked into the > README file in the "po" directory. But unfortunately, I am not

Re: Argh... Free memory read!

2001-09-19 Thread Juergen Vigna
On 18-Sep-2001 Jean-Marc Lasgouttes wrote: > @@ -1849,9 +1849,7 @@ > setCursor(bview, cursor.par(), cursor.pos()); > clearSelection(); > > - selection.cursor = cursor; > setCursor(bview, actpar, pos); > - setSelection(bview); > updateCounters(bview, cursor.ro