Re: tiny tth patch

2000-05-04 Thread Jose Abilio Oliveira Matos
On Wed, May 03, 2000 at 05:38:34PM +0200, Jean-Marc Lasgouttes wrote: "Angus" == Angus Leeming [EMAIL PROTECTED] writes: Angus I know that people are proposing to redo the Import/Export Angus functions. In the meantime, however, the following tiny patch Angus allows tth to use LaTeX

Re: wish list

2000-05-04 Thread Lars Gullik Bjønnes
Allan Rae [EMAIL PROTECTED] writes: | A different colour with the pretty 3d boxes that we had in the old tree. | (I know, the 3d boxes are dependent on the Painter so I'll have to wait | for those) What do you mean? We have been using the Painter for some months now... Lgb

Re: wish list

2000-05-04 Thread Lars Gullik Bjønnes
Allan Rae [EMAIL PROTECTED] writes: | I (one day) want to add the option of document scope selection of a | citation package (harvard.sty etc.) and then have a corresponding menu in | the citation dialog for the various forms of citation that package | provides (citeyear, citeauthor and so on).

Re: patch

2000-05-04 Thread Jean-Marc Lasgouttes
"Allan" == Allan Rae [EMAIL PROTECTED] writes: Allan On Wed, 3 May 2000, Angus Leeming wrote: JMarc I am a bit surprised by the following: -Bullet::Bullet(const JMarc int f, const int c, const int s) +Bullet::Bullet(int f, int c, JMarc int s) Whoa! Aren't f, c and s passed by value here, so

Re: Compile error in table.h

2000-05-04 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | Sorry. That should be: | | void LyXTable::cellstruct::setBuffer(Buffer * buf) | { | if (inset) delete inset; | inset = new InsetText(buf); | } No, that should be: void LyXTable::cellstruct::setBuffer(Buffer * buf) {

Re: patch

2000-05-04 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | I am a bit surprised by the following: | -Bullet::Bullet(const int f, const int c, const int s) | +Bullet::Bullet(int f, int c, int s) Bullet.C was wrong the header file is right. | Also, this | -// need to make the c++ compiler fint the correct

Re: patch

2000-05-04 Thread Lars Gullik Bjønnes
"Asger K. Alstrup Nielsen" [EMAIL PROTECTED] writes: | JMarc I am a bit surprised by the following: | JMarc -Bullet::Bullet(const int f, const int c, const int s) | JMarc +Bullet::Bullet(int f, int c, int s) | | Whoa! Aren't f, c and s passed by value here, so it makes no sense to declare

Re: patch

2000-05-04 Thread Lars Gullik Bjønnes
Allan Rae [EMAIL PROTECTED] writes: | Unless you want to be sure that no-one tries to modify their values. | Somewhere along the line the header and implementation have gotten out of | sync. I forgot to fix the .C file when fixing the header. Lgb

Re: Feature request -- launch external-editor

2000-05-04 Thread Lars Gullik Bjønnes
Jules Bean [EMAIL PROTECTED] writes: | Since it is still sometimes necessary to do, e.g., search-and-replace | in an external editor, how about a lyx command which saves the current | document, spawns an external editor, waits for the editor to complete, | and then reloads the document? I don't

Re: wish list

2000-05-04 Thread Jean-Marc Lasgouttes
"Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars Allan Rae [EMAIL PROTECTED] writes: | A different Lars colour with the pretty 3d boxes that we had in the old tree. | Lars (I know, the 3d boxes are dependent on the Painter so I'll have Lars to wait | for those) Lars What do you

Re: Compile error in table.h

2000-05-04 Thread Juergen Vigna
On 04-May-2000 Lars Gullik Bjønnes wrote: Angus Leeming [EMAIL PROTECTED] writes: | Sorry. That should be: | | void LyXTable::cellstruct::setBuffer(Buffer * buf) | { | if (inset) delete inset; | inset = new InsetText(buf); | } No, that should be: void

Re: patch

2000-05-04 Thread Jean-Marc Lasgouttes
"Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | I Lars am a bit surprised by the following: | -Bullet::Bullet(const int Lars f, const int c, const int s) | +Bullet::Bullet(int f, int c, int Lars s) Lars Bullet.C was wrong the header

[Fwd: Help]

2000-05-04 Thread Asger Alstrup Nielsen
dear sir, what must I do that upgrade my LyX 1.0.3 to LyX 1.1.5Pre1? FreeBSD 3.3 Stable I've unpacked and begun "make install",it was writenn "don't how make" I 've begun "./configure",I've got next that libXpm and libxforms(libforms) is not on this operating system. I check and find taht

Re: Compile error in table.h

2000-05-04 Thread Juergen Vigna
performs the if (inset != NULL) ... internally so it is _never_ needed to do if (inset) delete inset; That code construct just shows that you don't know what delete is doing. Well you are right I didn't know this :) | but what I really would like to know is WHY does the

Re: Compile error in table.h

2000-05-04 Thread Lars Gullik Bjønnes
Juergen Vigna [EMAIL PROTECTED] writes: | performs the | | if (inset != NULL) ... | | internally so it is _never_ needed to do | | if (inset) delete inset; | | That code construct just shows that you don't know what delete is | doing. | | | Well you are right I didn't know this

Re: using std::foo patch

2000-05-04 Thread Jean-Marc Lasgouttes
"Angus" == Angus Leeming [EMAIL PROTECTED] writes: Angus The attached std-patch allows compilation with dec cxx -std Angus strict_ansi. It does no more than declare use std::foo in a few Angus files. I already had that in my tree. I'll commit soon. Angus Together with the other patches I've

Re: Compile error in table.h

2000-05-04 Thread Angus Leeming
Lars | but what I really would like to know is WHY does the constructor not Lars | work? Lars You cannot use a constructor on an array allocation. Aa! So my compiler is correct! I must say though that this is bad design by the standards commitee, (IMHO of course). Correct code, therefore,

Re: Compile error in table.h

2000-05-04 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | Lars | but what I really would like to know is WHY does the constructor not | Lars | work? | | Lars You cannot use a constructor on an array allocation. | | Aa! So my compiler is correct! I must say though that this is bad design by | the standards

Re: using std::foo patch

2000-05-04 Thread Angus Leeming
No problems so far. I had been using it to write some documentation, but loading Customization.lyx and pressing pagedown works fine too. I do get some warning messages in the shell, however. Are they related? These are the ONLY messages I get in the shell. LyX: Token `\ldots{}' is in free space

Re: Compile error in table.h

2000-05-04 Thread Juergen Vigna
On 04-May-2000 Angus Leeming wrote: Correct code, therefore, is array = someStruct[10]; initialise(array); ? Angus (living and learning) Well me too (good living and a bit learning ;) Jürgen -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr.

Re: using std::foo patch

2000-05-04 Thread Jean-Marc Lasgouttes
"Angus" == Angus Leeming [EMAIL PROTECTED] writes: Angus No problems so far. I had been using it to write some Angus documentation, but loading Customization.lyx and pressing Angus pagedown works fine too. Angus I do get some warning messages in the shell, however. Are they Angus related?

Re: Compile error in table.h

2000-05-04 Thread Lars Gullik Bjønnes
Juergen Vigna [EMAIL PROTECTED] writes: | On 04-May-2000 Angus Leeming wrote: | | Correct code, therefore, is |array = someStruct[10]; |initialise(array); | ? | | Angus (living and learning) | | Well me too (good living and a bit learning ;) You really should get a C++

Re: using std::foo patch

2000-05-04 Thread Juergen Vigna
I used your clear-erase patch. Ok then I'll change this and commit it soon! Jürgen -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel:+39-0471-450260

Re: Compile error in table.h

2000-05-04 Thread Andre Poenitz
Why does it work then? Can we use another construct, I'm thinking about a vector or something like this. I just need a construct where I can insert elments in the middle too (not just at the end or the beginning). You could use a std::vector. Insertion is O(n) but that definitely does not

Re: Compile error in table.h

2000-05-04 Thread Andre Poenitz
Aa! So my compiler is correct! I must say though that this is bad design by the standards commitee, (IMHO of course). Correct code, therefore, is array = someStruct[10]; initialise(array); ? What about array = vectorsomeStruct(10, initial_value); Andre' --

Re: reLyX Makefile.am question

2000-05-04 Thread Jean-Marc Lasgouttes
"Angus" == Angus Leeming [EMAIL PROTECTED] writes: Angus Comparing my sources to those in CVS, I came across this patch Angus I submitted some time ago, but which was rejected because I set Angus DESTDIR explicitly. (the remainder of the patch should still be Angus applied because the makefile

Re: Patch (bug fix)

2000-05-04 Thread Jean-Marc Lasgouttes
"Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars Dekel Tsur [EMAIL PROTECTED] writes: | As you suggested, it Lars should be style.needprotect, so I've changed it, | and also Lars renamed the 'fragile' variable to 'need_protect'. Lars Not sure about this one. Oh, I agree that the

Re: Patch (bug fix)

2000-05-04 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | "Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | | Lars Dekel Tsur [EMAIL PROTECTED] writes: | As you suggested, it | Lars should be style.needprotect, so I've changed it, | and also | Lars renamed the 'fragile' variable to

Re: Patch (bug fix)

2000-05-04 Thread Jean-Marc Lasgouttes
"Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars So that means that if the command is robust we don't need a Lars \protect even if it is in a moving argument? That's it. Why protect something which is robust, after all? JMarc

Re: Compile error in table.h

2000-05-04 Thread Juergen Vigna
On 04-May-2000 Lars Gullik Bjønnes wrote: Juergen Vigna [EMAIL PROTECTED] writes: | On 04-May-2000 Angus Leeming wrote: | | Correct code, therefore, is |array = someStruct[10]; |initialise(array); | ? | | Angus (living and learning) | | Well me too (good living and a

Re: gearing up for prerelease

2000-05-04 Thread Jean-Marc Lasgouttes
"Garst" == Garst R Reese [EMAIL PROTECTED] writes: Garst setting --with-lyxname="lyxd" name to lyxd still puts the Garst binary in /usr/local/bin/lyx, but does create the Garst /usr/local/share/lyxd This is a BUG :) Garst Lars, I finally took a look and don't know what to do. How can I force

Re: Patch (bug fix)

2000-05-04 Thread Jean-Marc Lasgouttes
"Dekel" == Dekel Tsur [EMAIL PROTECTED] writes: Dekel I used style.isCommand() because it was used in Dekel SimpleTeXSpecialChars() (in other words, LyX currently put Dekel \protect in the argument of any command). As you suggested, it Dekel should be style.needprotect, so I've changed it, and

Re: Patch (bug fix)

2000-05-04 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | "Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | | Lars So that means that if the command is robust we don't need a | Lars \protect even if it is in a moving argument? | | That's it. Why protect something which is robust, after all?

Re: Compile error in table.h

2000-05-04 Thread Lars Gullik Bjønnes
Juergen Vigna [EMAIL PROTECTED] writes: | You really should get a C++ book... | |Lgb | | I know you told me all the time :), but I have you to ask so why spend | the money ;) (and I hate reading manuals or standarts) I think I will answer this friday. Lgb

Re: tiny tth patch

2000-05-04 Thread Jean-Marc Lasgouttes
"Jose" == Jose Abilio Oliveira Matos [EMAIL PROTECTED] writes: Jose Personally I like this approach more then the other you Jose propose. It is more general. I know this since I had the same Jose problem with both linuxdoc and docbook html support, there I Jose also need the file name without

Re: Patch (bug fix)

2000-05-04 Thread Jean-Marc Lasgouttes
"Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | Lars "Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | | Lars Lars So that means that if the command is robust we don't need Lars a | Lars \protect even if it is in a moving

default_language?

2000-05-04 Thread Jean-Marc Lasgouttes
Hello, I noticed that with latest cvs, if I create a document in french, then the header of the file says \documentclass[american,french]{book} Where does this american come from? It does not make sense, since my document is french only? All it does is load an extra language definition, which

string incompatibles (was Re: patch)

2000-05-04 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | It allows the head branch of CVS to be compiled with DEC cxx and DEC's | implementation of std::string. (Does little more than replace string::clear() | with string::erase().) The bastring in gcc 2.x.x has wrong prototypes for some of the compare

Re: Compile error in table.h

2000-05-04 Thread Angus Leeming
Lars | Correct code, therefore, is Lars |array = someStruct[10]; Lars |initialise(array); Lars | ? Lars | Angus (living and learning) Lars | Well me too (good living and a bit learning ;) Lars You really should get a C++ book... Having a book is one thing. Knowing

RE: default_language?

2000-05-04 Thread Juergen Vigna
On 04-May-2000 Jean-Marc Lasgouttes wrote: I noticed that with latest cvs, if I create a document in french, then the header of the file says \documentclass[american,french]{book} Where does this american come from? It does not make sense, since my document is french only? All it does

Re: binding in lyxrc files.

2000-05-04 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | I was looking at add an lyxrc option \handle_x_deadkeys which could be | set to false for people who want the normal dead keys handling, and | saw several things: | | - the bindings are not saved in a map. Lars did you do this just for s/not/now?

Re: Compile error in table.h

2000-05-04 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | Lars | Correct code, therefore, is | Lars |array = someStruct[10]; | Lars |initialise(array); | Lars | ? | | Lars | Angus (living and learning) | | Lars | Well me too (good living and a bit learning ;) | | Lars You really should get

Re: tiny tth patch

2000-05-04 Thread Jose Abilio Oliveira Matos
On Thu, May 04, 2000 at 03:01:50PM +0200, Jean-Marc Lasgouttes wrote: "Jose" == Jose Abilio Oliveira Matos [EMAIL PROTECTED] writes: Jose Personally I like this approach more then the other you Jose propose. It is more general. I know this since I had the same Jose problem with both

Re: Compile error in table.h

2000-05-04 Thread Angus Leeming
André Correct code, therefore, is André array = someStruct[10]; André initialise(array); André What about André array = vectorsomeStruct(10, initial_value); would this work? array = vectorsomeStruct(10, someStruct(someVar)); ie, use a non-default constructor to

rae branch comments

2000-05-04 Thread Angus Leeming
Hello, Allan. I think I'll be back on board real soon now. It must feel like the Marie Celeste at present! Relevant news: * José (Orlando Pereira --- XTL) seems to like my changes, suggesting that an official xtl release working on 64-bit machines will be available soon... * I've

CVS problem

2000-05-04 Thread Garst R. Reese
cvs [update aborted]: cannot open .new.configure: Permission denied Garst

Re: Compile error in table.h

2000-05-04 Thread Juergen Vigna
On 04-May-2000 Lars Gullik Bjønnes wrote: a vectorvectorcellstruct might work, or a Matrix class that build upon this. Row and Column Data is now a vector, but can you tell me how I do address a stuff like the above? How do I do a v.push_back() for example? Any idea? Jürgen

Re: binding in lyxrc files.

2000-05-04 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | "Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | | Lars handling, and | saw several things: | | - the bindings are not | Lars saved in a map. Lars did you do this just for | | Lars s/not/now? | | Indeed. | | Lars O(log n) instead of

lyx 1.1.4-fix3 on Solaris with Sun CC

2000-05-04 Thread Jochen Kmietsch
Hello ! It's the guy with the picky compiler again :) Making all in insets /bin/sh ../../libtool --mode=compile CC -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I/usr/local/include-I/usr/openwin/include -O -c figinset.C CC -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I/usr/local/include

Re: Compile error in table.h

2000-05-04 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | André Correct code, therefore, is | André array = someStruct[10]; | André initialise(array); | | André What about | Andréarray = vectorsomeStruct(10, initial_value); | | would this work? | array = vectorsomeStruct(10,

Re: Compile error in table.h

2000-05-04 Thread Lars Gullik Bjønnes
Juergen Vigna [EMAIL PROTECTED] writes: | On 04-May-2000 Lars Gullik Bjønnes wrote: | | a vectorvectorcellstruct might work, or a Matrix class that build | upon this. | | | Row and Column Data is now a vector, but can you tell me how I do address | a stuff like the above? How do I do a

Re: binding in lyxrc files.

2000-05-04 Thread Jean-Marc Lasgouttes
"Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars But not the real reason! The intention behind using std::map was Lars to get only unique command sequences (strings), a std::map gives Lars that for free. I did not think about the order issue then. OK. However, there is already code

lyx-1.1.5pre1 on Solaris 2.6 with Sun CC 5.0

2000-05-04 Thread Jochen Kmietsch
Hello ! Argh... CC -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ -I/usr/local/include -I/usr/openwin/include -O -c formula.C -o formula.o "../../src/lyxparagraph.h", line 528: Error: LyXParagraph::InsetTable is not accessible from LyXParagraph::matchIT. "../../src/lyxparagraph.h",

Re: lyx 1.1.4-fix3 on Solaris with Sun CC

2000-05-04 Thread Lars Gullik Bjønnes
Jochen Kmietsch [EMAIL PROTECTED] writes: | Hello ! | | It's the guy with the picky compiler again :) | | Making all in insets | /bin/sh ../../libtool --mode=compile CC -DHAVE_CONFIG_H -I. -I. -I../../src | -I./../ -I/usr/local/include-I/usr/openwin/include -O -c figinset.C | CC

Re: binding in lyxrc files.

2000-05-04 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | "Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | | Lars But not the real reason! The intention behind using std::map was | Lars to get only unique command sequences (strings), a std::map gives | Lars that for free. I did not think about

1.1.5pre2 anything missing?

2000-05-04 Thread Lars Gullik Bjønnes
Any special issues that need to be resolved before 1.1.5pre2? Lgb

Re: CVS problem

2000-05-04 Thread Garst R. Reese
"Lars Gullik Bjønnes" wrote: "Garst R. Reese" [EMAIL PROTECTED] writes: | cvs [update aborted]: cannot open .new.configure: Permission denied | Garst Looks wierd. Can you try a clean checkout? Lgb my bad. I had touched some files as root.

Re: lyx-1.1.5pre1 on Solaris 2.6 with Sun CC 5.0

2000-05-04 Thread Lars Gullik Bjønnes
Jochen Kmietsch [EMAIL PROTECTED] writes: | Hello ! | | Argh... | | CC -DHAVE_CONFIG_H -I. -I. -I../../src -I../../images -I./../ | -I/usr/local/include -I/usr/openwin/include -O -c formula.C -o formula.o | "../../src/lyxparagraph.h", line 528: Error: LyXParagraph::InsetTable is not |

Re: Compile error in table.h

2000-05-04 Thread Andre Poenitz
would this work? array = vectorsomeStruct(10, someStruct(someVar)); Why shouldn't it work? Have you tried it? Andre' -- It'll take a long time to eat 63.000 peanuts. André Pönitz . [EMAIL PROTECTED]

Re: reLyX Makefile.am question

2000-05-04 Thread Angus Leeming
My bad. I made the changes to get reLyX to install because it used not to. I started again with the Makefile.am in CVS and everything works perfectly. Sorry for wasting bandwidth :( All I can say in my defence is that install-data-local, libinstalldirs used not to called. Now they are.

Re: Layout menu patch

2000-05-04 Thread Dekel Tsur
On Wed, Apr 26, 2000 at 03:27:46PM +0200, Jean-Marc Lasgouttes wrote: That's great too. I applied it and it really looks good. Small nits: - when using deep depth, could there be cases where the lines and the text collide? The lines could maybe be changed to use less space (if their

std::getline

2000-05-04 Thread Andre Poenitz
egcs-2.91.66 does not like it. If I remove the 'using std::getline' lines, everything is fine. Does this mean we even don't support egcs anymore? Andre' -- It'll take a long time to eat 63.000 peanuts. André Pönitz . [EMAIL PROTECTED]

Re: default_language?

2000-05-04 Thread Dekel Tsur
On Thu, May 04, 2000 at 03:21:00PM +0200, Lars Gullik Bjnnes wrote: Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | I noticed that with latest cvs, if I create a document in french, then | the header of the file says | | \documentclass[american,french]{book} | | Where does this

Re: tiny tth patch

2000-05-04 Thread Jose Abilio Oliveira Matos
On Wed, May 03, 2000 at 05:38:34PM +0200, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> I know that people are proposing to redo the Import/Export > Angus> functions. In the meantime, however, the following tiny patch > Angus> allows tth to

Re: wish list

2000-05-04 Thread Lars Gullik Bjønnes
Allan Rae <[EMAIL PROTECTED]> writes: | A different colour with the pretty 3d boxes that we had in the old tree. | (I know, the 3d boxes are dependent on the Painter so I'll have to wait | for those) What do you mean? We have been using the Painter for some months now... Lgb

Re: wish list

2000-05-04 Thread Lars Gullik Bjønnes
Allan Rae <[EMAIL PROTECTED]> writes: | I (one day) want to add the option of document scope selection of a | citation package (harvard.sty etc.) and then have a corresponding menu in | the citation dialog for the various forms of citation that package | provides (citeyear, citeauthor and so

Re: patch

2000-05-04 Thread Jean-Marc Lasgouttes
> "Allan" == Allan Rae <[EMAIL PROTECTED]> writes: Allan> On Wed, 3 May 2000, Angus Leeming wrote: JMarc> I am a bit surprised by the following: -Bullet::Bullet(const JMarc> int f, const int c, const int s) +Bullet::Bullet(int f, int c, JMarc> int s) >> Whoa! Aren't f, c and s passed by

Re: Compile error in table.h

2000-05-04 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Sorry. That should be: | | void LyXTable::cellstruct::setBuffer(Buffer * buf) | { | if (inset) delete inset; | inset = new InsetText(buf); | } No, that should be: void LyXTable::cellstruct::setBuffer(Buffer * buf) {

Re: patch

2000-05-04 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | I am a bit surprised by the following: | -Bullet::Bullet(const int f, const int c, const int s) | +Bullet::Bullet(int f, int c, int s) Bullet.C was wrong the header file is right. | Also, this | -// need to make the c++ compiler fint the

Re: patch

2000-05-04 Thread Lars Gullik Bjønnes
"Asger K. Alstrup Nielsen" <[EMAIL PROTECTED]> writes: | > JMarc> I am a bit surprised by the following: | > JMarc> -Bullet::Bullet(const int f, const int c, const int s) | > JMarc> +Bullet::Bullet(int f, int c, int s) | > | > Whoa! Aren't f, c and s passed by value here, so it makes no sense

Re: patch

2000-05-04 Thread Lars Gullik Bjønnes
Allan Rae <[EMAIL PROTECTED]> writes: | Unless you want to be sure that no-one tries to modify their values. | Somewhere along the line the header and implementation have gotten out of | sync. I forgot to fix the .C file when fixing the header. Lgb

Re: Feature request -- launch external-editor

2000-05-04 Thread Lars Gullik Bjønnes
Jules Bean <[EMAIL PROTECTED]> writes: | Since it is still sometimes necessary to do, e.g., search-and-replace | in an external editor, how about a lyx command which saves the current | document, spawns an external editor, waits for the editor to complete, | and then reloads the document? I

Re: wish list

2000-05-04 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Allan Rae <[EMAIL PROTECTED]> writes: | A different Lars> colour with the pretty 3d boxes that we had in the old tree. | Lars> (I know, the 3d boxes are dependent on the Painter so I'll have Lars> to wait | for those) Lars>

Re: Compile error in table.h

2000-05-04 Thread Juergen Vigna
On 04-May-2000 Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > >| Sorry. That should be: >| >| void LyXTable::cellstruct::setBuffer(Buffer * buf) >| { >| if (inset) delete inset; >| inset = new InsetText(buf); >| } > > No, that should be: > > void

Re: patch

2000-05-04 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | I Lars> am a bit surprised by the following: | -Bullet::Bullet(const int Lars> f, const int c, const int s) | +Bullet::Bullet(int f, int c, int Lars> s) Lars> Bullet.C was

[Fwd: Help]

2000-05-04 Thread Asger Alstrup Nielsen
dear sir, what must I do that upgrade my LyX 1.0.3 to LyX 1.1.5Pre1? FreeBSD 3.3 Stable I've unpacked and begun "make install",it was writenn "don't how make" I 've begun "./configure",I've got next that libXpm and libxforms(libforms) is not on this operating system. I check and find taht

Re: Compile error in table.h

2000-05-04 Thread Juergen Vigna
> performs the > > if (inset != NULL) ... > > internally so it is _never_ needed to do > > if (inset) delete inset; > > That code construct just shows that you don't know what delete is > doing. > Well you are right I didn't know this :) >| but what I really would like to know is WHY does

Re: Compile error in table.h

2000-05-04 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | > performs the | > | > if (inset != NULL) ... | > | > internally so it is _never_ needed to do | > | > if (inset) delete inset; | > | > That code construct just shows that you don't know what delete is | > doing. | > | | Well you are right I

Re: using std::foo patch

2000-05-04 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> The attached std-patch allows compilation with dec cxx -std Angus> strict_ansi. It does no more than declare use std::foo in a few Angus> files. I already had that in my tree. I'll commit soon. Angus> Together with the other

Re: Compile error in table.h

2000-05-04 Thread Angus Leeming
Lars> | but what I really would like to know is WHY does the constructor not Lars> | work? Lars> You cannot use a constructor on an array allocation. Aa! So my compiler is correct! I must say though that this is bad design by the standards commitee, (IMHO of course). Correct code,

Re: Compile error in table.h

2000-05-04 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars> | but what I really would like to know is WHY does the constructor not | Lars> | work? | | Lars> You cannot use a constructor on an array allocation. | | Aa! So my compiler is correct! I must say though that this is bad design by | the

Re: using std::foo patch

2000-05-04 Thread Angus Leeming
No problems so far. I had been using it to write some documentation, but loading Customization.lyx and pressing pagedown works fine too. I do get some warning messages in the shell, however. Are they related? These are the ONLY messages I get in the shell. LyX: Token `\ldots{}' is in free space

Re: Compile error in table.h

2000-05-04 Thread Juergen Vigna
On 04-May-2000 Angus Leeming wrote: > > Correct code, therefore, is > array = someStruct[10]; > initialise(array); > ? > > Angus (living and learning) Well me too (good living and a bit learning ;) Jürgen

Re: using std::foo patch

2000-05-04 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> No problems so far. I had been using it to write some Angus> documentation, but loading Customization.lyx and pressing Angus> pagedown works fine too. Angus> I do get some warning messages in the shell, however. Are they Angus>

Re: Compile error in table.h

2000-05-04 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | On 04-May-2000 Angus Leeming wrote: | > | > Correct code, therefore, is | > array = someStruct[10]; | > initialise(array); | > ? | > | > Angus (living and learning) | | Well me too (good living and a bit learning ;) You really should

Re: using std::foo patch

2000-05-04 Thread Juergen Vigna
> > I used your clear->erase patch. Ok then I'll change this and commit it soon! Jürgen -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel:+39-0471-450260

Re: Compile error in table.h

2000-05-04 Thread Andre Poenitz
> Why does it work then? Can we use another construct, I'm thinking about > a vector or something like this. I just need a construct where I can insert > elments in the middle too (not just at the end or the beginning). You could use a std::vector. Insertion is O(n) but that definitely does not

Re: Compile error in table.h

2000-05-04 Thread Andre Poenitz
> Aa! So my compiler is correct! I must say though that this is bad design by > the standards commitee, (IMHO of course). > > Correct code, therefore, is > array = someStruct[10]; > initialise(array); > ? What about array = vector(10, initial_value); Andre' --

Re: reLyX Makefile.am question

2000-05-04 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Comparing my sources to those in CVS, I came across this patch Angus> I submitted some time ago, but which was rejected because I set Angus> DESTDIR explicitly. (the remainder of the patch should still be Angus> applied because

Re: Patch (bug fix)

2000-05-04 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Dekel Tsur <[EMAIL PROTECTED]> writes: | As you suggested, it Lars> should be style.needprotect, so I've changed it, | and also Lars> renamed the 'fragile' variable to 'need_protect'. Lars> Not sure about this one. Oh, I

Re: Patch (bug fix)

2000-05-04 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> Dekel Tsur <[EMAIL PROTECTED]> writes: | As you suggested, it | Lars> should be style.needprotect, so I've changed it, | and also | Lars> renamed the 'fragile' variable

Re: Patch (bug fix)

2000-05-04 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> So that means that if the command is robust we don't need a Lars> \protect even if it is in a moving argument? That's it. Why protect something which is robust, after all? JMarc

Re: Compile error in table.h

2000-05-04 Thread Juergen Vigna
On 04-May-2000 Lars Gullik Bjønnes wrote: > Juergen Vigna <[EMAIL PROTECTED]> writes: > >| On 04-May-2000 Angus Leeming wrote: >| > >| > Correct code, therefore, is >| > array = someStruct[10]; >| > initialise(array); >| > ? >| > >| > Angus (living and learning) >| >| Well me too

Re: gearing up for prerelease

2000-05-04 Thread Jean-Marc Lasgouttes
> "Garst" == Garst R Reese <[EMAIL PROTECTED]> writes: Garst> setting --with-lyxname="lyxd" name to lyxd still puts the Garst> binary in /usr/local/bin/lyx, but does create the Garst> /usr/local/share/lyxd This is a BUG :) Garst Lars, I finally took a look and don't know what to do. How can

Re: Patch (bug fix)

2000-05-04 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> I used style.isCommand() because it was used in Dekel> SimpleTeXSpecialChars() (in other words, LyX currently put Dekel> \protect in the argument of any command). As you suggested, it Dekel> should be style.needprotect, so I've

Re: Patch (bug fix)

2000-05-04 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> So that means that if the command is robust we don't need a | Lars> \protect even if it is in a moving argument? | | That's it. Why protect something which is robust,

Re: Compile error in table.h

2000-05-04 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | > You really should get a C++ book... | > | > Lgb | | I know you told me all the time :), but I have you to ask so why spend | the money ;) (and I hate reading manuals or standarts) I think I will answer this friday. Lgb

Re: tiny tth patch

2000-05-04 Thread Jean-Marc Lasgouttes
> "Jose" == Jose Abilio Oliveira Matos <[EMAIL PROTECTED]> writes: Jose> Personally I like this approach more then the other you Jose> propose. It is more general. I know this since I had the same Jose> problem with both linuxdoc and docbook html support, there I Jose> also need the file

Re: Patch (bug fix)

2000-05-04 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Lars> > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> Lars> So that means that if the command is robust we don't need Lars> a | Lars> \protect even

default_language?

2000-05-04 Thread Jean-Marc Lasgouttes
Hello, I noticed that with latest cvs, if I create a document in french, then the header of the file says \documentclass[american,french]{book} Where does this american come from? It does not make sense, since my document is french only? All it does is load an extra language definition, which

  1   2   >