Re: pipestream, 5th attempt

2001-11-06 Thread Andre Poenitz
On Tue, Nov 06, 2001 at 09:22:58PM +0100, Lars Gullik Bjønnes wrote: > | class pipestream : public std::iostream { > | public: > | /// constructor taking the external command as argument > | explicit pipestream(char const * const cmd[]); > | /// constructor taking the external command

Re: TeX text in math: can't do that anymore?

2001-11-06 Thread Rob Lahaye
> From: "AndrePoenitz" <[EMAIL PROTECTED]> > > On Tue, Nov 06, 2001 at 10:47:09PM +0900, R. Lahaye wrote: > > I have a somewhat older document (not too old though!) with > > TeX text in math and math-dislay. I've got something like: > > > >Vrm{t} > > Could you send me that doc cut down t

Re: Crash with mb drop-down

2001-11-06 Thread John Levon
On Tue, Nov 06, 2001 at 09:26:10PM +0100, Lars Gullik Bjønnes wrote: > we don't allow NULL pointers to string functions (and that includes > strlen), I know this !!! do you want to show me where I do this ? And why the debug message doesn't get printed ? and why the backtrace doesn't make sens

ÈË²ÎÆ¬£¬È˲ÎÐë¡¢È˲ηۣ¬ÕÐÉÌ¹ã¸æ£¡£¡

2001-11-06 Thread J_Cooler2
µç»°£º0413-2619163 ´«Õ棺0413-2619163 ¡¡ ÕÐÉÌ¹ã¸æ ±¾¹«Ë¾¾­ÏúÈË²ÎÆ¬¡¢È˲ÎÐë¡¢È˲ηۡ£Ã¿°ü50¿Ë×°£¬ÊʺÏÔÚ³¬ÊС¢É̳¡¡¢Ò©µêÏúÊÛ¡£ Êۼ۵ͣ¬²î¼Û´ó¡£µ¥Î»ºÍ¸öÈ˽ԿɴúÀíÏúÊÛ¡£±¾¹«Ë¾²»ÊÕÊг¡±£Ö¤½ð¡¢²»ÏÞ¶¨×îµÍ½ø»õÁ¿¡£ ÄúÓм¸Ê®ÔªÇ®£¬¾Í¿ÉÒÔ¿ª´´ÄãµÄÊÂÒµ¡£»¶Ó­ÄãÀ´ÊÔÒ»ÊÔ¡£ ¡¡ ÏêϸÄÚÈÝÇë¼û¡¶ÕÐÉÌ˵Ã÷Êé¡·¡£¸½¡¶´ú

Crash with mb drop-down

2001-11-06 Thread John Levon
If you don't select anything, and press return lyx crashes. I can't see why and I get this useless backtrace : #6 0x4079618f in strlen (str=0x0) at ../sysdeps/i386/strlen.c:27 #7 0x406deaeb in string_char_traits::length () from /usr/lib/libstdc++-libc6.2-2.so.3 #8 0x81cf873 in basic_string,

lyxfunc.h

2001-11-06 Thread John Levon
Would our honourable dicatator be open to some pre-processor stringization to add an operator<< for enum commandtags ? regards john -- "The Internet is a shallow and unreliable electronic repository of dirty pictures, inaccurate rumors, bad spelling and worse grammar, inhabited largely by peop

pipestream, 5th attempt

2001-11-06 Thread Andre Poenitz
/* This file is part of * == * * LyX, The Document Processor * * Copyright 2001 The LyX Team. * * == */ #ifndef PIPESTREAM_H #define PIPESTREAM_H #include class

Re: pipestream, 4th attempt

2001-11-06 Thread John Levon
On Tue, Nov 06, 2001 at 06:16:20PM +0100, Andre Poenitz wrote: > The problem is probably to find the right executable... man execvp - we should reasonably expect the prog to be on the path. I don't see why we need /bin/sh, and it's definitely a bad idea ... john -- "The Internet is a shallow

Re: pipestream, 4th attempt

2001-11-06 Thread Andre Poenitz
On Tue, Nov 06, 2001 at 06:10:48PM +0100, Lars Gullik Bjønnes wrote: > but: > > | pipebuf * pipebuf_create(const char * cmd) > | { > | // child closes sockets[1] and uses sockets[0] > | // parent closes sockets[0] and uses sockets[1] > | int sockets[2]; > | if (::socketpair(AF_UN

[PATCH] lyxserver

2001-11-06 Thread John Levon
this should not give messages if we crash successfully enough to destruct the server properly, but still do emergencyCleanup thanks john -- "The Internet is a shallow and unreliable electronic repository of dirty pictures, inaccurate rumors, bad spelling and worse grammar, inhabited largely by

Re: pipestream

2001-11-06 Thread Andre Poenitz
On Tue, Nov 06, 2001 at 05:06:44PM +, John Levon wrote: > > Actually I like this variant using unix sockets a lot better... > > pipes are unidir so you need two... > > > > With unix sockets you only need one. > > so why does it use socketpair ? Did I mention that I've never seen sockets bef

Re: pipestream

2001-11-06 Thread John Levon
On Tue, Nov 06, 2001 at 06:02:33PM +0100, Lars Gullik Bjønnes wrote: > Actually I like this variant using unix sockets a lot better... > pipes are unidir so you need two... > > With unix sockets you only need one. so why does it use socketpair ? john -- "The Internet is a shallow and unrelia

Re: new bugs in cvs

2001-11-06 Thread Herbert Voss
John Levon wrote: > > >-> you'll get a second url. > > I'll try to write a patch and give the HTML-radio > > button some sense ... > > it's not new ;) maybe ... > I vaguely remember looking to and even fixing this... but I can't find it. I have a fix with support for the H

Re: pipestream

2001-11-06 Thread Andre Poenitz
On Tue, Nov 06, 2001 at 04:03:34PM +, John Levon wrote: > On Tue, Nov 06, 2001 at 11:50:57AM +0100, Andre Poenitz wrote: > > > PS: Btw, I am now using yesterday's pipestream in my own (2.95 based) > > project and it is really cute... I got rid of most of the "system > > interface" stuff ;-) >

Re: on compiling insetindex.C

2001-11-06 Thread John Levon
On Tue, Nov 06, 2001 at 03:22:12PM +, Jose Abilio Oliveira Matos wrote: > I guess that this is one of the bugs that Lars alerted before > regarding the order of inclusion of the header files, or is this > totally unrelated? I think it must be, because adding iostream at the /end/ doesn't h

Re: new bugs in cvs

2001-11-06 Thread John Levon
On Tue, Nov 06, 2001 at 12:31:18PM +0100, Herbert Voss wrote: > can somebody confirm? > > 1. - insert an url with any text >- close it >- open it with click on the url-button >- do anything >- close it >-> you'll get a second url. > I'll try to write a patch and giv

Re: pipestream

2001-11-06 Thread John Levon
On Tue, Nov 06, 2001 at 11:50:57AM +0100, Andre Poenitz wrote: > PS: Btw, I am now using yesterday's pipestream in my own (2.95 based) > project and it is really cute... I got rid of most of the "system > interface" stuff ;-) why is it using sockets instead of child-parent pipes ? how do I get s

Re: [PATCH] minibuffer dropdown completion

2001-11-06 Thread John Levon
On Tue, Nov 06, 2001 at 02:18:00PM +1000, Allan Rae wrote: > That would be you and your reflection? :rotfl yeah, the other guy's making weird faces at me ;) john -- "The Internet is a shallow and unreliable electronic repository of dirty pictures, inaccurate rumors, bad spelling and worse gr

pipestream, 4th attempt

2001-11-06 Thread Andre Poenitz
So it looks like we have a working pipestream for 2.95 and 3.0. What about the more exotic ones? Andre' -- André Pönitz .. [EMAIL PROTECTED] /* This file is part of * == * * LyX, The

Re: pipestream, third attempt

2001-11-06 Thread Jose Abilio Oliveira Matos
On Tue, Nov 06, 2001 at 04:21:40PM +0100, Andre Poenitz wrote: > On Tue, Nov 06, 2001 at 02:07:36PM +, Jose Abilio Oliveira Matos wrote: > > pipestream.C: In constructor pipestream::pipestream(const char*)': > > pipestream.C:263: class pipestream' does not have any field named ios' > > pipestr

Re: math-extern

2001-11-06 Thread Dekel Tsur
On Tue, Nov 06, 2001 at 04:19:46PM +0100, Andre Poenitz wrote: > Sample Tcl-parser for the "math normal" format: > > set input {[frac 1 [sqrt 3]]} > set parsed [subst -nobackslashes -novariables $input] > > and things like > > proc frac {num denom} { return "($num/$denom)" } > proc sqrt {b

Re: pipestream, third attempt

2001-11-06 Thread Andre Poenitz
On Tue, Nov 06, 2001 at 02:07:36PM +, Jose Abilio Oliveira Matos wrote: > pipestream.C: In constructor pipestream::pipestream(const char*)': > pipestream.C:263: class pipestream' does not have any field named ios' > pipestream.C:264: no matching function for call to Ok, and what happens if yo

Re: math-extern

2001-11-06 Thread Andre Poenitz
On Tue, Nov 06, 2001 at 05:06:01PM +0200, Dekel Tsur wrote: > > I think I'll change to some "native C++" solution for the math-extern > > "transformations". Proper quoting special chars ($, [, ] etc) seems to get > > pretty messy in Perl and Tcl - to an extend where I can't sense much > > benefits

Re: on compiling insetindex.C

2001-11-06 Thread Jose Abilio Oliveira Matos
On Tue, Nov 06, 2001 at 12:22:28AM +, John Levon wrote: > > nope. but #including right after config.h works. > > john Ok, I'm inserting #include "support/LOstream.h" after all the other header files, and this seems to fix the problem. I remembered finally that I have also gcc 3.0.2 in

Re: math-extern

2001-11-06 Thread Dekel Tsur
On Tue, Nov 06, 2001 at 03:49:20PM +0100, Andre Poenitz wrote: > > I think I'll change to some "native C++" solution for the math-extern > "transformations". Proper quoting special chars ($, [, ] etc) seems to get > pretty messy in Perl and Tcl - to an extend where I can't sense much > benefits f

math-extern

2001-11-06 Thread Andre Poenitz
I think I'll change to some "native C++" solution for the math-extern "transformations". Proper quoting special chars ($, [, ] etc) seems to get pretty messy in Perl and Tcl - to an extend where I can't sense much benefits from the scripting anymore. The cost, of course, is some bloat in mathed:

Re: pipestream, third attempt

2001-11-06 Thread Jose Abilio Oliveira Matos
On Tue, Nov 06, 2001 at 01:47:16PM +0100, Andre Poenitz wrote: > > Could people with compiler != g++ 2.95 please try the attached > version? > > Andre' > > -- > André Pönitz .. [EMAIL PROTECTED] I get [14:03][jamatos@novalis:~]$g++ -c pipestream.C

Re: TeX text in math: can't do that anymore?

2001-11-06 Thread Andre Poenitz
On Tue, Nov 06, 2001 at 10:47:09PM +0900, R. Lahaye wrote: > I have a somewhat older document (not too old though!) with > TeX text in math and math-dislay. I've got something like: > >Vrm{t} Could you send me that doc cut down to the relevant part? Andre' -- André Pönitz

TeX text in math: can't do that anymore?

2001-11-06 Thread R. Lahaye
Hi, I have a somewhat older document (not too old though!) with TeX text in math and math-dislay. I've got something like: Vrm{t} where "rm{" and "}" are in red, the rest in blue. "rm{t" are as subscripts, whereas "}" is normal again (odd!). However, when I put the cursor inside the math en

pipestream, third attempt

2001-11-06 Thread Andre Poenitz
Could people with compiler != g++ 2.95 please try the attached version? Andre' -- André Pönitz .. [EMAIL PROTECTED] /* This file is part of * == * * LyX, The Document Processor * *

new bugs in cvs

2001-11-06 Thread Herbert Voss
can somebody confirm? 1. - insert an url with any text - close it - open it with click on the url-button - do anything - close it -> you'll get a second url. I'll try to write a patch and give the HTML-radio button some sense ... 2. - insert a footnote - c

Re: pipestream

2001-11-06 Thread Andre Poenitz
On Mon, Nov 05, 2001 at 07:57:47PM +0100, Lars Gullik Bjønnes wrote: > | So either we provide two pipestream implementations (one for "old g++" > | and one for "Standard C++") or we have to leave it. Forcing efverybody to > | upgrade is certainly not an option... > > You have seen the DebugStream

RE: [ lyxbugs-Bugs-478513 ] Large tables are not centered correc

2001-11-06 Thread Juergen Vigna
On 06-Nov-2001 [EMAIL PROTECTED] wrote: > I created a table with a couple of multiline rows and a large number of cells in the > final row. The cells are rotated 90 degrees and there are a *lot* of them. Enough >that I > can't see the right edge of the table. I can always manage (by accident?) t