Re: streams, streambuffers and pipe (2)

2004-06-09 Thread Angus Leeming
John Levon wrote: >> John, are you in touch with Jon? Would he be interested in a patch? The >> pstreams mailing lists have a total of 3 mails on them, none of 'em >> answered. > > I have horrible feeling Jon's going to be pretty busy ATM. > > Angus's (Eric's ?) patch is below. Good man! A.

Re: streams, streambuffers and pipe (2)

2004-06-09 Thread John Levon
On Wed, Jun 09, 2004 at 09:29:37PM +0100, Angus Leeming wrote: > Ok, as promised, here's is a rewrite of the code in ispell.[Ch]. I've > written it as a stand-alone app, but it could be slotted straight into > the lyx sources. > > The code attached uses the Pstreams classes to run and communicate

tott.linpro.no and wiki weirdness

2004-06-09 Thread Christian Ridderström
Hi Paul A Rubin has been having problems saving pages to the wiki if the pages are above a certain size. After some investigating, it seems that this might have something to do with the computer 'tott.linpro.no'. Here's the thread in the user's list: http://thread.gmane.org/gmane.editor

Re: [patch] More automake improvements

2004-06-09 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> This patch is good. Just apply it. Done. JMarc

Re: streams, streambuffers and pipe (2)

2004-06-09 Thread John Levon
On Wed, Jun 09, 2004 at 04:23:21PM +0100, Angus Leeming wrote: > It seems to be a small world. oprofile is yours. You've contributed to > pstreams. Actually, I used to share a house with the author at university. This is why I know of it :) > Graydon Hoare who mentions that he's writing somethin

Re: streams, streambuffers and pipe (2)

2004-06-09 Thread Angus Leeming
John Levon wrote: > On Wed, Jun 09, 2004 at 03:36:51PM +0100, Angus Leeming wrote: > >> Well, I've googled and googled and failed to find anything that can --- >> in a platform independent way --- spawn a child process and communicate >> with it through the child's stdin, stdout, stderr. > > Wha

Re: streams, streambuffers and pipe (2)

2004-06-09 Thread John Levon
On Wed, Jun 09, 2004 at 03:36:51PM +0100, Angus Leeming wrote: > Well, I've googled and googled and failed to find anything that can --- in > a platform independent way --- spawn a child process and communicate with > it through the child's stdin, stdout, stderr. What about: http://pstreams.sour

Re: streams, streambuffers and pipe (2)

2004-06-09 Thread Angus Leeming
John Levon wrote: > On Wed, Jun 09, 2004 at 01:24:25PM +0100, Angus Leeming wrote: > >> I have put together some test code to read a child processes stdout, >> stderr and to write data to the child's stdin. Moreover, I've managed >> to do this using C++ streams. > > Any reason we're not using on

Re: [patch] More automake improvements

2004-06-09 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Index: Makefile.am | === | RCS file: /usr/local/lyx/cvsroot/lyx-devel/Makefile.am,v | retrieving revision 1.48 | diff -u -p -r1.48 Makefile.am | --- Makefile.am 9 Jun 2004 13:14

Re: streams, streambuffers and pipe (2)

2004-06-09 Thread John Levon
On Wed, Jun 09, 2004 at 01:24:25PM +0100, Angus Leeming wrote: > I have put together some test code to read a child processes stdout, > stderr and to write data to the child's stdin. Moreover, I've managed to > do this using C++ streams. Any reason we're not using one of the existing packages for

Re: [patch] More automake improvements

2004-06-09 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> It would be nice if people could check that this works with Lars> automake older than 1.8.3 and 1.7.8. I have tested those with Lars> distcheck. (Or do we now require automake > 1.7?) (what version Lars> of automake is in RH9?)

Re: [patch] bug 1530 --- Mac OS X dialogs often don't have focus

2004-06-09 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> On Wednesday 09 June 2004 2:25 pm, Bennett Helm wrote: >>> The focus problem only occurs for Qt 3.1.2; it's not an issue for >>> Qt 3.3.x -- for any version of LyX that I've tried. So the patch >>> doesn't break anything, but I don't notice any difference with i

Re: [patch] bug 1530 --- Mac OS X dialogs often don't have focus

2004-06-09 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: >> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: > > Bennett> On Jun 9, 2004, at 9:28 AM, Jean-Marc Lasgouttes wrote: "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: >>> > Bennett> The focus problem only occurs for Qt 3.1.2; it's not an issue

Re: [patch] bug 1530 --- Mac OS X dialogs often don't have focus

2004-06-09 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> On Jun 9, 2004, at 9:28 AM, Jean-Marc Lasgouttes wrote: >>> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: >> Bennett> The focus problem only occurs for Qt 3.1.2; it's not an issue Bennett> for Qt 3.3.x -- for any vers

Re: [patch] bug 1530 --- Mac OS X dialogs often don't have focus

2004-06-09 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> On Wednesday 09 June 2004 2:25 pm, Bennett Helm wrote: >> The focus problem only occurs for Qt 3.1.2; it's not an issue for >> Qt 3.3.x -- for any version of LyX that I've tried. So the patch >> doesn't break anything, but I don't n

Re: [patch] bug 1530 --- Mac OS X dialogs often don't have focus

2004-06-09 Thread Angus Leeming
On Wednesday 09 June 2004 2:25 pm, Bennett Helm wrote: > The focus problem only occurs for Qt 3.1.2; it's not an issue for > Qt 3.3.x -- for any version of LyX that I've tried. So the patch > doesn't break anything, but I don't notice any difference with it. Well, that's the version I'm running he

Re: [patch] bug 1530 --- Mac OS X dialogs often don't have focus

2004-06-09 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> The focus problem only occurs for Qt 3.1.2; it's not an issue Bennett> for Qt 3.3.x -- for any version of LyX that I've tried. So Bennett> the patch doesn't break anything, but I don't notice any Bennett> difference with it. But

Re: [patch] bug 1530 --- Mac OS X dialogs often don't have focus

2004-06-09 Thread Bennett Helm
Bennett, I don't know if you saw this the first time round. Does it work? Sorry -- must have been asleep. Angus Leeming wrote: Angus> Yes. I followed the prescription outlined in the bug report. Angus> Without the patch, keyboard input went to the lyx screen. With Angus> the patch, it went to the i

Re: [PATCH][Qt/Mac] experimental fix for "disappearing menus" syndrome

2004-06-09 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: >> OK, try this version, which now uses a scoped_ptr. I even checked >> that the MACX version compiles here (of course, I get no >> menubar...). >> >> JMarc >> >> Bennett> That does it: menus remain even while dialogs are open. Very

Re: [patch] bug 1530 --- Mac OS X dialogs often don't have focus

2004-06-09 Thread Angus Leeming
Bennett, I don't know if you saw this the first time round. Does it work? Angus > Angus Leeming wrote: >>> Angus> Yes. I followed the prescription outlined in the bug report. >>> Angus> Without the patch, keyboard input went to the lyx screen. >>> With Angus> the patch, it went to the index dia

Re: Questions on Instant Preview in 1.3.5

2004-06-09 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Go ahead. Also, please update status.13x accordingly. All done. -- Angus

streams, streambuffers and pipe (2)

2004-06-09 Thread Angus Leeming
I have put together some test code to read a child processes stdout, stderr and to write data to the child's stdin. Moreover, I've managed to do this using C++ streams. The input streambuffer class was written by Frank B. Brokken and can be found in C++ Annotations http://www.icce.rug.nl/documents

Re: Questions on Instant Preview in 1.3.5

2004-06-09 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Jean-Marc Lasgouttes wrote: Jean-Marc, I've re-written the Angus> 1.3.x script that performs the conversion of latex file to a Angus> heap of bitmap images in python so that Win32 users have a Angus> chance to use this stuff too. >>

Re: Questions on Instant Preview in 1.3.5

2004-06-09 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> Jean-Marc, I've re-written the 1.3.x script that performs the > Angus> conversion of latex file to a heap of bitmap images in python > Angus> so that Win32 users have a chance to use this stuff too. > > Angus, you can shove this on in. I'm probably being over-

Re: [PATCH] translate correctly ListName stuff

2004-06-09 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> sure it is. (I am not sure about submatches...) Lars> What are you trying to do exactly? Something like layouts_l10n.pot: $(top_srcdir)/lib/layouts/*.layout $(top_srcdir)/lib/layouts/*.inc LC_ALL=C ; export LC_ALL ; \

Re: [PATCH] translate correctly ListName stuff

2004-06-09 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | Lars> Now, if somebody could tell me how I can organize Makefile.in.in | Lars> so that I only have to have that function in one place and still | Lars> be able to use it in all the

Re: Questions on Instant Preview in 1.3.5

2004-06-09 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Jean-Marc, I've re-written the 1.3.x script that performs the Angus> conversion of latex file to a heap of bitmap images in python Angus> so that Win32 users have a chance to use this stuff too. Angus, you can shove this on in. JM

Re: [PATCH] translate correctly ListName stuff

2004-06-09 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Now, if somebody could tell me how I can organize Makefile.in.in Lars> so that I only have to have that function in one place and still Lars> be able to use it in all the targets I'd be grateful... Lars> I can do it with a temp

Re: [PATCH][Qt/Mac] experimental fix for "disappearing menus" syndrome

2004-06-09 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Lars> This patch is supposed to fix the disappearing menus problem on Lars> | Qt/Mac. Bennett, could you tell me whether it helps you? I am Lars> not even | sure that it compile

Re: [PATCH][Qt/Mac] experimental fix for "disappearing menus" syndrome

2004-06-09 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> Compilation bombs; here's the last bit of the output: OK, try this version, which now uses a scoped_ptr. I even checked that the MACX version compiles here (of course, I get no menubar...). JMarc Index: src/frontends/qt2/Chang