Re: tex2lyx does not support the new package scheme

2005-01-28 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus The scheme expects that the binary to be in the Angus top-build-dir/src directory, but tex2lyx is in the Angus top-build-dir/src/tex2lyx directory. See get_build_dirs: Angus string const binary_dir = OnlyPath(binary); string const Angus

Re: [patch] change tracking output

2005-01-28 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: Any particualr reason not to just clear it?     // Make sure that we are clean     packages_.clear(); Currently, getAvailable is called from two places: (1) LaTeXFeatures::isAvailable if (packages_.empty()) getAvailable(); (when LyX checks

Re: [rework docs] default figure placement inside float

2005-01-28 Thread Jean-Marc Lasgouttes
John == John Weiss [EMAIL PROTECTED] writes: John Yeah, I kinda figured that, Uwe. What I'm wondering is: are John figure floats automatically left-justified? (That's what I meant John by LaTeX-ism.) The contents of figure floats is nothing special, so it is left-right justified by default.

Re: Pending patches for the 1.3.x tree

2005-01-28 Thread Angus Leeming
John Weiss wrote: I just ran a quick test. Any Unix shell treats --option='foo bar' as a single element of *argv[]. The single-quotes protected the space from the shell. (I tested with bash, ash, csh, tcsh, ksh, and bsh.) For Windows, however I wouldn't be surprised if whitespace chars

Re: scripting support via lyxserver

2005-01-28 Thread Angus Leeming
John Levon wrote: Super-glad to see Asger back into the fold. He can be a less hated me!! He's just got a thicker skin ;-) How the hell are you anyway? -- Angus

Re: [Patch] Refactoring PreviewLoader

2005-01-28 Thread Angus Leeming
Andreas Vox wrote: BTW, does anyone know the type of the expression bind(Impl::finishedGenerating, this, _1, _2) No, but you don't need to either. You can store it in a boost::functionReturnType(Arg1Type, Arg2Type) my_func = bind(Impl::finishedGenerating, this, _1, _2); to be used as

Re: Let's All Attack John...

2005-01-28 Thread Angus Leeming
John Levon wrote: Anyway, Mr. Weiss needs to know I've long since taken his title of Least Popular John. Yeah, you took it, you bstd. Nobody offered it to you. -- Angus

Re: Questioning Why I Bother.

2005-01-28 Thread Lars Gullik Bjønnes
John Levon [EMAIL PROTECTED] writes: | On Fri, Jan 28, 2005 at 02:21:01AM +0100, Lars Gullik Bj?nnes wrote: Besides I am the only one allowed to be personally attacked in this forum. | Oh come on, you must consider Andre here. (For which I'm a bit sorry...) Yeah, you broke Our law there. --

Re: Questioning Why I Bother.

2005-01-28 Thread Angus Leeming
John Weiss wrote: John, with all due respect, you're starting to rant. Umm... Gee, maybe that's because, oh, I dunno, I'M FEELING PERSONALLY ATTACKED HERE?! 1. I didn't attack you. Try and get a thicker skin. 2. See Asger's take on *this* ML's historic netiquette:

Re: [Patch] convert it

2005-01-28 Thread Angus Leeming
Lars Gullik Bjønnes wrote: This is the convert patch I am going to commit unless I hear a lot of bad language. Is it Friday? Then you're cheating. (There are some testing code that is not visible here that will also be committed) This is ancient history. path_defines.C.in has gone. Remove

Re: Crash fixes, code comments, cvs is slooow?

2005-01-28 Thread Angus Leeming
Asger Ottar Alstrup wrote: To do what you are trying to do, just use this, provided you are using the multi-byte runtime: Good man! Thanks. -- Angus

Re: tex2lyx does not support the new package scheme

2005-01-28 Thread Angus Leeming
Jose' Matos wrote: H. Any ideas on how best to tackle this? Add another argument for the relative depth, with 0 for lyx and 1 for tex2lyx? NormalizePath(AddPath(binary_dir, ../ * (depth + 1) + lib)); I am not sure how serious this is. ;-) Not bad actually. Not bad at all. --

Re: [patch] change tracking output

2005-01-28 Thread Jose' Matos
On Friday 28 January 2005 08:52, Juergen Spitzmueller wrote: while in case (1) it is not necessary to clear the list (because it is already empty) it is necessary in (2). That's the reason why I added the check (to avoid redundant clearing in case 1, which is the more common one). That us

Re: LyX on Windows

2005-01-28 Thread Angus Leeming
John Weiss wrote: And avoiding muddy code in a Unix-Windows-crossplatform program will require a bit of work (in which I include careful planning). Which was the whole point of those cautioning posts of mine. Oh, read the code, John, read the code. There's a bit of hacking to do still in

Re: Drag-n-drop image files (QT)

2005-01-28 Thread Angus Leeming
Johnathan Burchill wrote: Howdy, Howdy, Johnathan. It's good to have you back. A colleague asked me if there was anything that MS word could do well, that LyX couldn't, and all I could think of was drag-n-dropping image files into the document. That got me to thinking what it would take to

Re: [patch] change tracking output

2005-01-28 Thread Juergen Spitzmueller
Jose' Matos wrote: That us premature optimization Jürgen. :-)   It is easier to simply clear the list since the effect is the same, there is no need to consider the different cases. The code then becomes easier to understand by anyone. :-) Really? OK, then I change that. Jürgen P.S.: Isn't

Re: [patch] change tracking output

2005-01-28 Thread Jose' Matos
On Friday 28 January 2005 10:22, Juergen Spitzmueller wrote: P.S.: Isn't it Friday today? When I wrote that my wrist watch still showed 27, I have since then fixed it. I see you want a fight... -- José Abílio

Re: [Patch] convert it

2005-01-28 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes wrote: This is the convert patch I am going to commit unless I hear a lot of bad language. | Is it Friday? Then you're cheating. (There are some testing code that is not visible here that will also be committed) | This is

Re: scripting support via lyxserver

2005-01-28 Thread John Levon
On Fri, Jan 28, 2005 at 09:01:04AM +, Angus Leeming wrote: Super-glad to see Asger back into the fold. He can be a less hated me!! He's just got a thicker skin ;-) How the hell are you anyway? Fine, insanity at work has mitigated into mere eccentricity. I might even build a recent lyx

Re: [patch] change tracking output

2005-01-28 Thread Juergen Spitzmueller
Jose' Matos wrote: When I wrote that my wrist watch still showed 27, I have since then fixed it. I see you want a fight... No. But I think there are quite a lot of good opportunities ATM. Jürgen

Re: [patch] change tracking output

2005-01-28 Thread Lars Gullik Bjønnes
Juergen Spitzmueller [EMAIL PROTECTED] writes: | Jose' Matos wrote: That us premature optimization Jürgen. :-)   It is easier to simply clear the list since the effect is the same, there is no need to consider the different cases. The code then becomes easier to understand by anyone. :-) |

Re: [Patch] Refactoring PreviewLoader

2005-01-28 Thread Lars Gullik Bjønnes
Andreas Vox [EMAIL PROTECTED] writes: | I've been a happy Java Programmer for the last 7 years so I missed (*) | all this new C++ stuff like templates, namespaces, exceptions and rtti. Just by looking at java I feel strait-jacketed. | A decent language shouldn't have a preprocessor, pointer

Re: [rework docs] default figure placement inside float

2005-01-28 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: John == John Weiss [EMAIL PROTECTED] writes: | John Yeah, I kinda figured that, Uwe. What I'm wondering is: are | John figure floats automatically left-justified? (That's what I meant | John by LaTeX-ism.) | The contents of figure floats is

Re: [Patch] Refactoring PreviewLoader

2005-01-28 Thread Asger Ottar Alstrup
Lars Gullik Bjønnes wrote: int a[4]; a+3 == a[3] == 3+a And surprisingly 3[a] works as well! Regards, Asger

Re: [Patch] Refactoring PreviewLoader

2005-01-28 Thread John Levon
On Fri, Jan 28, 2005 at 12:31:44PM +0100, Lars Gullik Bj?nnes wrote: int a[4]; a+3 == a[3] == 3+a Hah, you missed the really fun one: 3[a] john

Re: Questioning Why I Bother.

2005-01-28 Thread Asger Ottar Alstrup
Dear John, I hope you find a solution to your job situation, and I'm sure everything will work out for you. We live in a big world, and the words are understood differently from place to place, depending on your personal situation, the culture you live in, how well you know the person at the

Re: [Patch] Refactoring PreviewLoader

2005-01-28 Thread Martin Vermeer
On Fri, 2005-01-28 at 13:37, Asger Ottar Alstrup wrote: Lars Gullik Bjnnes wrote: int a[4]; a+3 == a[3] == 3+a And surprisingly 3[a] works as well! Regards, Asger Yes, that *is* surprising. In a previous life we had a Fortran IV compiler that (unintentionally) allowed the assignment

Re: [Patch] Refactoring PreviewLoader

2005-01-28 Thread Lars Gullik Bjønnes
John Levon [EMAIL PROTECTED] writes: | On Fri, Jan 28, 2005 at 12:31:44PM +0100, Lars Gullik Bj?nnes wrote: int a[4]; a+3 == a[3] == 3+a | Hah, you missed the really fun one: 3[a] Yeah.. quite fun (no wonder why no sane C/C++ programmer exploits this.) (I have some code here that I work on

Re: Drag-n-drop image files (QT)

2005-01-28 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: The 1.4.0 current cvs patch follows. Angus I'll comment on it when I've had time to digest it. Let me know if you want the patch for 1.3.5. Angus Jean-Marc's world. It seems sufficiently simple to be acceptable. I think we should work on the

Re: [Patch] Refactoring PreviewLoader

2005-01-28 Thread John Levon
On Fri, Jan 28, 2005 at 01:24:50PM +0100, Lars Gullik Bj?nnes wrote: (I have some code here that I work on now that uses it...) My commiserations. (Though I have seen real-life code that uses Duff's device...) john

Re: Drag-n-drop image files (QT)

2005-01-28 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: It seems sufficiently simple to be acceptable. I think we should work on the 1.4.0 integration first, though. One thing that I would like to see is using methods from the graphics loader used for deciding whether the file is OK instead of QImageIO::imageFormat.

Re: [Patch] Refactoring PreviewLoader

2005-01-28 Thread Angus Leeming
John Levon wrote: (Though I have seen real-life code that uses Duff's device...) Urggg! Was it needed, or was it an example of a call to the 'false god of efficiency'? -- Angus

Re: FreeBSD/gcc-3.4.2: gmake ends with linking error

2005-01-28 Thread Jean-Marc Lasgouttes
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars | Lars Anything more you want to know? :-) Lars | Yes. What can we do about this poor freebsd compiler? Do you Lars have | ideas

Re: symlinks, how about windows shortcuts?

2005-01-28 Thread Jean-Marc Lasgouttes
Peter == Peter J Braam [EMAIL PROTECTED] writes: Peter Hi, Just another thought: Peter I have no idea if Windows shortcuts can be accomodated easily, Peter it would be great if at least the Qt file browser could handle Peter them. Any ideas? Hello, A somewhat late answer: if the Qt fie

Re: LyX 1.3.6: --with-pspell-lib(s) --with-pspell-include(s)

2005-01-28 Thread Jean-Marc Lasgouttes
Michael == Michael Schmitt [EMAIL PROTECTED] writes: Michael Could you please fix this? AFAICS, config/pspell.m4 needs to Michael be fixed, doesn't it? I agree that the help is wrong, however, I would propose to just get rid of these options and use the pspell.m4 from 1.4.0cvs directly instead.

Re: LyX 1.3.6: --with-pspell-lib(s) --with-pspell-include(s)

2005-01-28 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Yes, and it might not be the end right now. I think it will be. Angus (who's about to get his arse in gear and commit the stuff he said he'd commit on Monday.)

Re: Drag-n-drop image files (QT)

2005-01-28 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Jean-Marc Lasgouttes wrote: It seems sufficiently simple to be acceptable. I think we should work on the 1.4.0 integration first, though. One thing that I would like to see is using methods from the graphics loader used for deciding

Re: [Patch] Refactoring PreviewLoader

2005-01-28 Thread John Levon
On Fri, Jan 28, 2005 at 01:27:29PM +, Angus Leeming wrote: Was it needed, or was it an example of a call to the 'false god of efficiency'? The latter as far as I could tell... and no, it's staying anonymous :) john

Re: Crash fixes, code comments, cvs is slooow?

2005-01-28 Thread Angus Leeming
Lars Gullik Bjønnes wrote: Actually quite fine. I see your process there... not doing squat... You should probably restart it. H. Not good. $ time cvs -q up 8m53.081s No obvious bottlenecks either. $ traceroute baywatch.lyx.org traceroute to baywatch.lyx.org (80.232.38.163), 30

Re: FreeBSD/gcc-3.4.2: gmake ends with linking error

2005-01-28 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | Lars Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | Lars | Lars Anything more you want to know? :-) | Lars | Yes. What can we do

Re: FreeBSD/gcc-3.4.2: gmake ends with linking error

2005-01-28 Thread Jean-Marc Lasgouttes
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars I am still a bit confused Lars I need a tea-spoon OK, the initial message with the errors is here: http://marc.theaimsgroup.com/?l=lyx-develm=110630812118047w=2 --disable-stdlib-debug solves the problem:

Re: Drag-n-drop image files (QT)

2005-01-28 Thread Martin Vermeer
On Fri, 2005-01-28 at 15:44, Jean-Marc Lasgouttes wrote: Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Jean-Marc Lasgouttes wrote: It seems sufficiently simple to be acceptable. I think we should work on the 1.4.0 integration first, though. One thing that I would like to see

Re: FreeBSD/gcc-3.4.2: gmake ends with linking error

2005-01-28 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | Lars I am still a bit confused | Lars I need a tea-spoon | OK, the initial message with the errors is here: | http://marc.theaimsgroup.com/?l=lyx-develm=110630812118047w=2 |

Re: FreeBSD/gcc-3.4.2: gmake ends with linking error

2005-01-28 Thread Jean-Marc Lasgouttes
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | --disable-stdlib-debug solves the problem: | http://marc.theaimsgroup.com/?l=lyx-develm=110657975517441w=2 Lars I am leaning to letting that solve the problem, and be done with Lars it. Debug mode is after all only used on developmetn

Re: [rework docs] default figure placement inside float

2005-01-28 Thread G. Milde
On 28.01.05, Jean-Marc Lasgouttes wrote: John == John Weiss [EMAIL PROTECTED] writes: John Yeah, I kinda figured that, Uwe. What I'm wondering is: are John figure floats automatically left-justified? (That's what I meant John by LaTeX-ism.) The contents of figure floats is nothing

Re: [Patch] Refactoring PreviewLoader

2005-01-28 Thread Andreas Vox
Lars Gullik Bjnnes [EMAIL PROTECTED] writes: Andreas Vox [EMAIL PROTECTED] writes: | I've been a happy Java Programmer for the last 7 years so I missed (*) | all this new C++ stuff like templates, namespaces, exceptions and rtti. Just by looking at java I feel strait-jacketed. Can't

Re: [Patch] Refactoring PreviewLoader

2005-01-28 Thread Jose' Matos
On Friday 28 January 2005 15:16, Andreas Vox wrote: P.S. What about a Java frontend to LyX for true platform independence? Oh, you mean dependant, attached to another platform, java. Not even on Fridays we be believe in fairies, do you know? -- Jos Ablio

Re: [Patch] Refactoring PreviewLoader

2005-01-28 Thread Angus Leeming
Jose' Matos wrote: P.S. What about a Java frontend to LyX for true platform independence? Oh, you mean dependant, attached to another platform, java. Not even on Fridays we be believe in fairies, do you know? It's true. I've never met a fairy that wanted to write 100 000 lines of code just

Re: [rework docs] default figure placement inside float

2005-01-28 Thread chr
On Fri, 28 Jan 2005, G. Milde wrote: On 28.01.05, Jean-Marc Lasgouttes wrote: The contents of figure floats is nothing special, so it is left-right justified by default. Therefore, when including a graphics in there, it should be centered by hand. Yes, but I remember how annoying this has

devel netiquette (Was: Questioning Why I Bother.)

2005-01-28 Thread chr
On Fri, 28 Jan 2005, Angus Leeming wrote: 2. See Asger's take on *this* ML's historic netiquette: http://article.gmane.org/gmane.editors.lyx.devel:40745 innocent smile Ah... that would explain a lot. So, should this be added to: http://wiki.lyx.org/pmwiki.php/FAQ/ListNetiquette just

Clean URI for wiki (Was: Questioning Why I Bother.)

2005-01-28 Thread chr
On Fri, 28 Jan 2005, Lars Gullik Bjønnes wrote: | On Fri, Jan 28, 2005 at 02:21:01AM +0100, Lars Gullik Bj?nnes wrote: Besides I am the only one allowed to be personally attacked in this forum. grumbleAnd how much trashing does it take to get you to enable .htaccess for the wiki? (So I

Re: JMarc's configure changes

2005-01-28 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Jean-Marc Lasgouttes wrote: There is a third solution which you Angus proposed a few days ago. Install into a directory path with no Angus spaces and then move the entire bundle to its final Angus destination. How would we 'move' it in a

Re: JMarc's configure changes

2005-01-28 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus Jean-Marc Lasgouttes wrote: There is a third solution which you Angus proposed a few days ago. Install into a directory path with no Angus spaces and then move the entire bundle to its final Angus destination. How would we 'move' it in a portable way?

Re: JMarc's configure changes

2005-01-28 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Looks good to me, although there's a lot of repetition. Repetition is due to two autoconf versions and two configure scripts. Actually, things would be much simpler if we did kill reLyX' configure script and include it in the main one.

Re: JMarc's configure changes

2005-01-28 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Sure, but the warning says what they have to do to install. Of course it would be better to work out a portable way to move this stuff to the right place, but I am lazy right now. Would mv do the job? Is it in msys (and can it move across volumes)? Leave it. It's

Re: [Patch] Refactoring PreviewLoader

2005-01-28 Thread Kayvan A. Sylvan
On Fri, Jan 28, 2005 at 02:12:03PM +0200, Martin Vermeer wrote: On Fri, 2005-01-28 at 13:37, Asger Ottar Alstrup wrote: Lars Gullik Bjønnes wrote: int a[4]; a+3 == a[3] == 3+a And surprisingly 3[a] works as well! Regards, Asger Yes, that *is* surprising. Well, x[y] is

Re: JMarc's configure changes

2005-01-28 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Shall I apply it, or do you want to test it first? Angus I'll try and test it over the w/e if you like. Thanks. JMarc

Child processes in LyX

2005-01-28 Thread Angus Leeming
I thought I'd post where I've got to with OS-independent child processes. I decided to start from scratch, just so that I understand what's going on and to try and make a clean, understandable design. I thought I'd also try and write some docs explaining the design. See here for the current

Windows build problem

2005-01-28 Thread Rob Bearman
I've applied Asger's MSVC patch (http://thread.gmane.org/gmane.editors.lyx.devel/41102) but I'm having problems with the Windows build under Visual Studio.NET 2003. I get a bunch of failures trying to find certain *_moc.c files that didn't seem to have been generated: /echo on -- Build

Re: LyX 1.3.6: --with-pspell-lib(s) --with-pspell-include(s)

2005-01-28 Thread Michael Schmitt
Michael Could you please fix this? AFAICS, config/pspell.m4 needs to Michael be fixed, doesn't it? I agree that the help is wrong, however, I would propose to just get rid of these options and use the pspell.m4 from 1.4.0cvs directly instead. Yes, sounds reasonable. IIRC, pspell support has been

LyX WWW

2005-01-28 Thread Michael Schmitt
Hello, www.lyx.org states that LyX runs on many Unix platforms, OS/2, and under Windows/Cygwin (this port requires an X server). I think we should change this text because we no longer require an X server on Windows. Michael

Re: FreeBSD/gcc-3.4.2: gmake ends with linking error

2005-01-28 Thread Rob
Jean-Marc Lasgouttes wrote: This is gcc 3.4.2 on FreeBSD 5.3, whic is supposed to be current for some time. The question is to know whether we can disable stdlib-debug for this compiler. Or whether we should do it. I suppose such debug stuff is only in the CVS repository. When a final

RE: Windows build problem

2005-01-28 Thread Rob Bearman
and is there any heads up short of my updating my CVS tree and watching for it? Never mind this particular question. I found the lyx-cvs list which was documented in the web pages if only I had bothered to read it. Thanks Rob

Re: FreeBSD/gcc-3.4.2: gmake ends with linking error

2005-01-28 Thread Lars Gullik Bjønnes
Rob [EMAIL PROTECTED] writes: | Jean-Marc Lasgouttes wrote: This is gcc 3.4.2 on FreeBSD 5.3, whic is supposed | to be current for some time. The question is to know whether we can disable stdlib-debug for this compiler. Or whether we should do it. | I suppose such debug stuff is only in

Re: Clean URI for wiki (Was: Questioning Why I Bother.)

2005-01-28 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes: | On Fri, 28 Jan 2005, Lars Gullik Bjønnes wrote: | On Fri, Jan 28, 2005 at 02:21:01AM +0100, Lars Gullik Bj?nnes wrote: Besides I am the only one allowed to be personally attacked in this forum. | grumbleAnd how much trashing does it take to get you to enable

Re: [Patch] Refactoring PreviewLoader

2005-01-28 Thread Lars Gullik Bjønnes
Andreas Vox [EMAIL PROTECTED] writes: Then don't use them. And as you see in LyX we use these as little as possible. | Yes. Unfortunately one can't take the same approach for the preprocessor, | at least for the include files. If _that_ is you concern with the preprocessor the you have no

Re: Clean URI for wiki (Was: Questioning Why I Bother.)

2005-01-28 Thread chr
On Sat, 29 Jan 2005, Lars Gullik Bjønnes wrote: [EMAIL PROTECTED] writes: | On Fri, 28 Jan 2005, Lars Gullik Bjønnes wrote: | On Fri, Jan 28, 2005 at 02:21:01AM +0100, Lars Gullik Bj?nnes wrote: Besides I am the only one allowed to be personally attacked in this forum. |

Re: [patch] change tracking output

2005-01-28 Thread Andre Poenitz
On Thu, Jan 27, 2005 at 05:13:07PM +0100, Juergen Spitzmueller wrote: Angus Leeming wrote: Oh, if the file is meant to change only at predetermined times, then a single line added to lyx_cb.C's Reconfigure would do the trick:     LatexFeatures::getAvailable(); no? But you're

Re: What version of MSVS/MSVC?

2005-01-28 Thread Andre Poenitz
On Tue, Jan 25, 2005 at 08:39:53PM +0100, Lars Gullik Bjønnes wrote: What verison of MSVS and/or MSVC++ are we planning to support? MSVC++ 7.1 is the first thing in that series that qualifies as C++ compiler even if boost #define's around 'issues' of older versions So this would be a good

Re: Crash in breakParagraph fixed

2005-01-28 Thread Andre Poenitz
On Tue, Jan 25, 2005 at 03:12:42PM +0100, Lars Gullik Bjønnes wrote: So this isn't the case of a missing initialization of rows_? Shouldn't a paragraph _always_ have at least one row if it exists? Not anymore. It used to be like that but nowadays there might be (lots of) paragraph in the

Re: [Patch] Refactoring PreviewLoader

2005-01-28 Thread Andre Poenitz
On Fri, Jan 28, 2005 at 12:31:44PM +0100, Lars Gullik Bjønnes wrote: int a[4]; a+3 == a[3] == 3+a You forgot the fun part: 3[a]. Andre'

Re: LyX on Windows

2005-01-28 Thread Andre Poenitz
On Tue, Jan 25, 2005 at 09:16:38AM +0100, Asger Ottar Alstrup wrote: John Weiss wrote: [A great opportunity to have a little flame-fest.] Not FUD. Reality. [Long story about something irrelevant.] Took them YEARS to get it to that state. Sad for them. I have a working LyX. It took a

Re: lyxbreaker???

2005-01-28 Thread Andre Poenitz
On Thu, Jan 27, 2005 at 07:11:04AM -0500, John Weiss wrote: On Tue, Jan 25, 2005 at 02:38:54PM +, Angus Leeming wrote: Which means that it's dead easy to set a break point in gdb. Any entry into lyxbreaker is automatically invalid, so stop there and have a look at the execution

Re: Review

2005-01-28 Thread Andre Poenitz
On Tue, Jan 25, 2005 at 06:11:52PM +0100, Asger Ottar Alstrup wrote: Andre and others, which have a desire for working with a decent Windows toolchain, can then ask for the patches and them themselves. Just to make my position clear: Having LyX work with a pure Windows toolchain has no high

Re: lyxserver bug

2005-01-28 Thread Andre Poenitz
On Wed, Jan 26, 2005 at 04:47:52PM +0100, G. Milde wrote: Dear developers, trying to use the lyxserver for a kind of scripting support, I came accross some troublespots. Could you put that on bugzilla, too? Please. Andre'

Re: What version of MSVS/MSVC?

2005-01-28 Thread Andre Poenitz
Anyway, I am tackling FileInfo first... the Q is: do we really need it. The most advanced features of FileInfo is used by FileDialog.C in xforms, but that is just a monster and I see that basically all other file dialogs (gtk/qt/etc) are much simpler. So why not make it simpler. F.ex.

Re: lyxbreaker???

2005-01-28 Thread Andre Poenitz
On Fri, Jan 28, 2005 at 12:42:37AM +, Andreas Vox wrote: John Weiss [EMAIL PROTECTED] writes: ... In short: calling a function lyxbreaker is a Bad Idea, as it implies that this function somehow damages LyX. Better to call it lyxstopper or lyxbreakpt, the latter being far more

Re: lyxbreaker???

2005-01-28 Thread Andre Poenitz
On Tue, Jan 25, 2005 at 01:54:32PM +, Andreas Vox wrote: When is it supposed to trigger? Replace the lyxbreaker call with an (BOOST_)ASSERT and you'll see the difference. I.e. none whatsoever. It's basically just an easy way to set a breakpoint on 'all ASSERTS'. If lyxbreaker is called,

Re: Review

2005-01-28 Thread Andre Poenitz
On Tue, Jan 25, 2005 at 03:32:44PM +0100, Asger Ottar Alstrup wrote: As the XP people say: You ain't gonna need it. This is not only about XP but also about social engineering... Just do the obvious thing, rather than add an extra layer of indirection everywhere which serves nothing else

Re: Questioning Why I Bother.

2005-01-28 Thread Andre Poenitz
On Fri, Jan 28, 2005 at 02:06:18AM +, John Levon wrote: On Fri, Jan 28, 2005 at 02:21:01AM +0100, Lars Gullik Bj?nnes wrote: Besides I am the only one allowed to be personally attacked in this forum. Oh come on, you must consider Andre here. (For which I'm a bit sorry...) Looks like

Re: tex2lyx does not support the new package scheme

2005-01-28 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> The scheme expects that the binary to be in the Angus> /src directory, but tex2lyx is in the Angus> /src/tex2lyx directory. See get_build_dirs: Angus> string const binary_dir = OnlyPath(binary); string const Angus>

Re: [patch] change tracking output

2005-01-28 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: > Any particualr reason not to just clear it? > >     // Make sure that we are clean >     packages_.clear(); Currently, getAvailable is called from two places: (1) LaTeXFeatures::isAvailable if (packages_.empty()) getAvailable(); (when LyX

Re: [rework docs] default figure placement inside float

2005-01-28 Thread Jean-Marc Lasgouttes
> "John" == John Weiss <[EMAIL PROTECTED]> writes: John> Yeah, I kinda figured that, Uwe. What I'm wondering is: are John> figure floats automatically left-justified? (That's what I meant John> by "LaTeX-ism".) The contents of figure floats is nothing special, so it is left-right justified

Re: Pending patches for the 1.3.x tree

2005-01-28 Thread Angus Leeming
John Weiss wrote: > I just ran a quick test. Any Unix shell treats "--option='foo bar'" > as a single element of "*argv[]". The single-quotes protected the > space from the shell. (I tested with bash, ash, csh, tcsh, ksh, and > bsh.) > > For Windows, however I wouldn't be surprised if

Re: scripting support via lyxserver

2005-01-28 Thread Angus Leeming
John Levon wrote: > Super-glad to see Asger back into the fold. He can be a less hated me!! He's just got a thicker skin ;-) How the hell are you anyway? -- Angus

Re: [Patch] Refactoring PreviewLoader

2005-01-28 Thread Angus Leeming
Andreas Vox wrote: > BTW, does anyone know the type of the expression > bind(::finishedGenerating, this, _1, _2) No, but you don't need to either. You can store it in a boost::function my_func = bind(::finishedGenerating, this, _1, _2); to be used as

Re: Let's All Attack John...

2005-01-28 Thread Angus Leeming
John Levon wrote: > Anyway, Mr. Weiss needs to know I've long since taken his title of > "Least Popular John". Yeah, you took it, you bstd. Nobody offered it to you. -- Angus

Re: Questioning Why I Bother.

2005-01-28 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | On Fri, Jan 28, 2005 at 02:21:01AM +0100, Lars Gullik Bj?nnes wrote: > >> Besides I am the only one allowed to be personally attacked in this >> forum. > | Oh come on, you must consider Andre here. (For which I'm a bit sorry...) Yeah, you broke Our law

Re: Questioning Why I Bother.

2005-01-28 Thread Angus Leeming
John Weiss wrote: >> John, with all due respect, you're starting to rant. > > Umm... Gee, maybe that's because, oh, I dunno, I'M FEELING PERSONALLY > ATTACKED HERE?! 1. I didn't attack you. Try and get a thicker skin. 2. See Asger's take on *this* ML's historic netiquette:

Re: [Patch] convert it

2005-01-28 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > This is the convert patch I am going to commit unless I hear a lot of > bad language. Is it Friday? Then you're cheating. > (There are some testing code that is not visible here that will also > be committed) This is ancient history. path_defines.C.in has gone.

Re: Crash fixes, code comments, cvs is slooow?

2005-01-28 Thread Angus Leeming
Asger Ottar Alstrup wrote: > To do what you are trying to do, just use this, provided you are using > the multi-byte runtime: Good man! Thanks. -- Angus

Re: tex2lyx does not support the new package scheme

2005-01-28 Thread Angus Leeming
Jose' Matos wrote: >> H. Any ideas on how best to tackle this? > > Add another argument for the relative depth, with 0 for lyx and 1 for > tex2lyx? > > NormalizePath(AddPath(binary_dir, "../" * (depth + 1) + "lib")); > > I am not sure how serious this is. ;-) Not bad actually. Not

Re: [patch] change tracking output

2005-01-28 Thread Jose' Matos
On Friday 28 January 2005 08:52, Juergen Spitzmueller wrote: > > while in case (1) it is not necessary to clear the list (because it is > already empty) it is necessary in (2). That's the reason why I added the > check (to avoid redundant clearing in case 1, which is the more common > one).

Re: LyX on Windows

2005-01-28 Thread Angus Leeming
John Weiss wrote: > And avoiding muddy code in a Unix-Windows-crossplatform program will > require a bit of work (in which I include careful planning). Which > was the whole point of those cautioning posts of mine. Oh, read the code, John, read the code. There's a bit of hacking to do still in

Re: Drag-n-drop image files (QT)

2005-01-28 Thread Angus Leeming
Johnathan Burchill wrote: > Howdy, Howdy, Johnathan. It's good to have you back. > A colleague asked me if there was anything that MS word could do well, > that LyX couldn't, and all I could think of was drag-n-dropping image > files into the document. That got me to thinking what it would take

Re: [patch] change tracking output

2005-01-28 Thread Juergen Spitzmueller
Jose' Matos wrote: > That us premature optimization Jürgen. :-) > >   It is easier to simply clear the list since the effect is the same, there > is no need to consider the different cases. The code then becomes easier to > understand by anyone. :-) Really? OK, then I change that. Jürgen P.S.:

Re: [patch] change tracking output

2005-01-28 Thread Jose' Matos
On Friday 28 January 2005 10:22, Juergen Spitzmueller wrote: > > P.S.: Isn't it Friday today? When I wrote that my wrist watch still showed 27, I have since then fixed it. I see you want a fight... -- José Abílio

Re: [Patch] convert it

2005-01-28 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: > >> This is the convert patch I am going to commit unless I hear a lot of >> bad language. > | Is it Friday? Then you're cheating. > >> (There are some testing code that is not visible here that will also >> be committed) > |

Re: scripting support via lyxserver

2005-01-28 Thread John Levon
On Fri, Jan 28, 2005 at 09:01:04AM +, Angus Leeming wrote: > > Super-glad to see Asger back into the fold. He can be a less hated me!! > He's just got a thicker skin ;-) How the hell are you anyway? Fine, insanity at work has mitigated into mere eccentricity. I might even build a recent lyx

Re: [patch] change tracking output

2005-01-28 Thread Juergen Spitzmueller
Jose' Matos wrote: > When I wrote that my wrist watch still showed 27, I have since then fixed > it. I see you want a fight... No. But I think there are quite a lot of good opportunities ATM. Jürgen

  1   2   >