Patch for po/POTFILES.in

2000-11-21 Thread Kayvan A. Sylvan
Here is the patch to make lyx-1.1.6pre2 compile: Index: POTFILES.in === RCS file: /usr/local/lyx/cvsroot/lyx-devel/po/POTFILES.in,v retrieving revision 1.102 diff -u -r1.102 POTFILES.in --- POTFILES.in 2000/11/21 15:45:42 1.102 +

1.1.6pre2 does not compile

2000-11-21 Thread Kayvan A. Sylvan
Making all in intl make[1]: Entering directory `/home/kayvan/src/rpm/BUILD/lyx-1.1.6pre2/intl' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/kayvan/src/rpm/BUILD/lyx-1.1.6pre2/intl' Making all in po make[1]: Entering directory `/home/kayvan/src/rpm/BUILD/lyx-1.1.6pre2/po

Compile error with kde front-end

2000-11-21 Thread Martin Vermeer
Tried it just for fun. Compiling from CVS gives this: ... g++ -g -O -fno-rtti -fno-exceptions -W -Wall -o lyx BufferView.o BufferView2.o BufferView_pimpl.o Bullet.o Chktex.o ColorHandler.o CutAndPaste.o DepTable.o FloatList.o FontInfo.o FontLoader.o LColor.o LaTeX.o LaTeXFeatures.o LaTeXLog.o

Re: External Material and the menubar

2000-11-21 Thread Allan Rae
On Tue, 21 Nov 2000, Amir Karger wrote: > On Tue, Nov 21, 2000 at 04:49:41PM +, Angus Leeming wrote: > > You tell me. It's in lib/doc/ of CVS. It's also in my LyXDir/doc directory, > > but that may be because I put it there by hand. SOMEBODY wrote it and it > > should be installed IMO. > >

1.1.6pre2 is out

2000-11-21 Thread Lars Gullik Bjønnes
I have uploaded it to ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.1.6pre2.tar.gz and ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.1.6pre2.tar.gz Before I announce this to the users list can people please check that this compiles (mostly) ok. (I hate brown paper bags...) Lgb

Re: LyX does still not compile

2000-11-21 Thread Lars Gullik Bjønnes
Svante Signell <[EMAIL PROTECTED]> writes: Are you just using: ./configure to configure? Or are you adding something? | In file included from formula.C:30: | ../../src/minibuffer.h: At top level: | ../../src/minibuffer.h:17: using directive `Object' introduced | ambiguous type `_ObjectRec *' |

Re: Internal events

2000-11-21 Thread Lars Gullik Bjønnes
Baruch Even <[EMAIL PROTECTED]> writes: | In my work on the graphics inset I find myself with a need for internal | events, namely to announce internally that an image has been loaded. The | problem starts when I want to do the image loading in a second | thread/fork/whatever, since LyX isn't nec

Re: LyX does still not compile

2000-11-21 Thread Svante Signell
The results given in my posting was from todays CVS. OK, I'm trying again. Removing the whole lyx-devel directory and checking out a fresh copy of lyx-1.1.6cvs. Same results as earlier today, read on: ./autogen.sh;./configure;make Making all in mathed make[3]: Entering directory `/mnt/sdc3/lyx-de

Internal events

2000-11-21 Thread Baruch Even
In my work on the graphics inset I find myself with a need for internal events, namely to announce internally that an image has been loaded. The problem starts when I want to do the image loading in a second thread/fork/whatever, since LyX isn't necessarily (read: isn't) thread safe, I can't just

Using rope instead of vector in LyXParagraph

2000-11-21 Thread Lars Gullik Bjønnes
I just did some testing on _very_ large paragraphs, and it seems that rope has a lot better memory usage and is faster than vector. This is best noticed when inserting and you insert so much thata the vector/rope needs to allocate more memory. The memory usage is also completely different, at lea

Re: latest CVS compile error

2000-11-21 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | This isn't needed at all. See MY attachment which does things properly. (I | knew that this was crap. I'd just been very, very lazy!) | Angus Ok... but I must admit that I like iterators... but not in this case. One note; it is often clever to use a

Re: latest CVS compile error

2000-11-21 Thread Angus Leeming
This isn't needed at all. See MY attachment which does things properly. (I knew that this was crap. I'd just been very, very lazy!) Angus On Tuesday 21 November 2000 18:04, Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > | Oh, purlease! (this of course means "it works

Re: latest CVS compile error

2000-11-21 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Oh, purlease! (this of course means "it works on my computer!") | | One is derived from the other, so it should work. However, this code is | really ugly and really lazy. I'll fix it properly. In the meantime you could | try an explicit cast: | |

Re: External Material and the menubar

2000-11-21 Thread mike . ressler
> > On Tue, Nov 21, 2000 at 04:49:41PM +, Angus Leeming wrote: > > > You tell me. It's in lib/doc/ of CVS. It's also in my LyXDir/doc > > > directory, but that may be because I put it there by hand. SOMEBODY wrote > > > it and it should be installed IMO. > > > > > > Of course, I know absolutel

Re: External Material and the menubar

2000-11-21 Thread Angus Leeming
You tell me. I know absolutely nothing... A On Tuesday 21 November 2000 16:57, Amir Karger wrote: > On Tue, Nov 21, 2000 at 04:49:41PM +, Angus Leeming wrote: > > You tell me. It's in lib/doc/ of CVS. It's also in my LyXDir/doc > > directory, but that may be because I put it there by hand. SO

Re: latest CVS compile error

2000-11-21 Thread Angus Leeming
Oh, purlease! (this of course means "it works on my computer!") One is derived from the other, so it should work. However, this code is really ugly and really lazy. I'll fix it properly. In the meantime you could try an explicit cast: if (it == static_cast::const_iterator>(xformColorD

Re: latest CVS compile error

2000-11-21 Thread Lars Gullik Bjønnes
Amir Karger <[EMAIL PROTECTED]> writes: | I was all excited to see Angus' patch had gone in. However, I couldn't | compile FormPreferences.C. (Note: I didn't rerun autogen or configure or | whatever, so if that's the problem, then I'm sorry.) | | gcc -v: | gcc version 2.95.2 19991024 (release) |

Re: External Material and the menubar

2000-11-21 Thread Amir Karger
On Tue, Nov 21, 2000 at 04:49:41PM +, Angus Leeming wrote: > You tell me. It's in lib/doc/ of CVS. It's also in my LyXDir/doc directory, > but that may be because I put it there by hand. SOMEBODY wrote it and it > should be installed IMO. > > Of course, I know absolutely nothing... Ah! I f

Re: External Material and the menubar

2000-11-21 Thread Angus Leeming
You tell me. It's in lib/doc/ of CVS. It's also in my LyXDir/doc directory, but that may be because I put it there by hand. SOMEBODY wrote it and it should be installed IMO. Of course, I know absolutely nothing... Angus On Tuesday 21 November 2000 16:47, Amir Karger wrote: > On Tue, Nov 21, 2

latest CVS compile error

2000-11-21 Thread Amir Karger
I was all excited to see Angus' patch had gone in. However, I couldn't compile FormPreferences.C. (Note: I didn't rerun autogen or configure or whatever, so if that's the problem, then I'm sorry.) gcc -v: gcc version 2.95.2 19991024 (release) Here's the errors. (I snipped out the "warning: can't

Re: External Material and the menubar

2000-11-21 Thread Amir Karger
On Tue, Nov 21, 2000 at 02:02:24PM +, Angus Leeming wrote: > What happened to the Insert->Insert external material command? > > Also, the Help menu should include ExternalMaterial.lyx, I think. Patch > attached. Please apply. Pardon my stupidity, but what's ExternalMaterial.lyx? -Amir

Re: FormPreferences after 1.1.6

2000-11-21 Thread Angus Leeming
> | At the moment the mechanism does not exist to change things like the bind > | files or ui files on the fly as the relevant code is buried within the > | private part of class LyX. Perhaps the time is coming for class LyX to be > | accessible from other parts of LyX. Eg, a (LyX *) in LyXView, t

Re: FormPreferences after 1.1.6

2000-11-21 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Applying whole heaps of things in FormPreferences has no effect on the | current instance of LyX. the user must first save the change then restart to | activate the change. Is this slated for change? Yes, ideally. | At the moment the mechanism does

Re: BUG report: running with LANG=fr

2000-11-21 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | This occurs with current CVS when LANG=fr. Note that I have so far been able | to obtain this crash only when LANG=fr. | | $ LANG=fr | $ ./lyx somedoc.lyx | | Try to open either the Fichier or Éditer menu items. LyX crashes instantly. | | In Conver

Re: LyX does still not compile

2000-11-21 Thread Lars Gullik Bjønnes
Svante Signell <[EMAIL PROTECTED]> writes: | Hello, | | For a long time LyX (both 1.1.6cvs and 1.1.5fix?) has failed to | compile formula.C using various versions of the gcc-2.96-x | compiler. Is the compiler, epecilaay the C++-libraries faulty or is it | possible to change the code itself? wit

Re: docs for 1.1.6: What strategy?

2000-11-21 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes: | On Sat, 11 Nov 2000, R. Lahaye wrote: | > I believe 1.1.6 will have a big impact on the docs. | > So many things have changed (dialogs, menus, bug-fixes etc.). | > | > The docs in cvs are according to the current official release | > of 1.1.5, but they can't be modifi

Re: PATCH: FormPreferences and some other things...

2000-11-21 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Attached is a patch that fixes the problems with the Colors tab. | It's big only because of some reformatting of FormPreferences. | | it also addresses some of the points made recently by John Levon. | | I think that this clears the way for 1.1.6pre2.

Re: [patch] Fix no-gui export

2000-11-21 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | On Monday 20 November 2000 10:51, Jürgen Vigna wrote: | > [EMAIL PROTECTED] wrote: | > >Jean-Marc suggested at the time that LyXParagraph should store a Buffer &. | > >This would be even cleaner, I think. | > | > I don't think so LyXParagraph should sta

Re: [patch] Fix no-gui export

2000-11-21 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | On Monday 20 November 2000 10:38, Dekel Tsur wrote: | > On Sun, Nov 19, 2000 at 11:36:11PM +0200, Dekel Tsur wrote: | > > A recent change added a 'Buffer &' parameter to Inset::Clone(). | > > In LyXParagraph::CopyIntoMinibuffer(), the buffer reference i

Re: Solaris compile problem - Real fix

2000-11-21 Thread Lars Gullik Bjønnes
"Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: | On Sat, Nov 18, 2000 at 11:57:36AM -0600, Albert Chin-A-Young wrote: | > | > There should be two definitions, HAVE_MKSTEMP and HAVE_MKSTEMP_PROTO. | > KDE 2.0 (kdesupport) does not compile "out of the box" under Solaris | > 2.5.1 due to a similar

FormPreferences after 1.1.6

2000-11-21 Thread Angus Leeming
Applying whole heaps of things in FormPreferences has no effect on the current instance of LyX. the user must first save the change then restart to activate the change. Is this slated for change? At the moment the mechanism does not exist to change things like the bind files or ui files on the

External Material and the menubar

2000-11-21 Thread Angus Leeming
What happened to the Insert->Insert external material command? Also, the Help menu should include ExternalMaterial.lyx, I think. Patch attached. Please apply. Angus Index: lib/ui/default.ui === RCS file: /usr/local/lyx/cvsroot/lyx

BUG report: running with LANG=fr

2000-11-21 Thread Angus Leeming
This occurs with current CVS when LANG=fr. Note that I have so far been able to obtain this crash only when LANG=fr. $ LANG=fr $ ./lyx somedoc.lyx Try to open either the Fichier or Éditer menu items. LyX crashes instantly. In ConvertShortcuts [objects.c 1017] Too many shortcuts (>16) In Conve