Patch for 1.3.X: vc-backend file quoting+CVS::checkOut

2005-03-04 Thread Stephan Witt
Dear LyX-Developers, recently I started to check BRANCH_1_3_X for productive work. I'm very pleased with the features and stability of it. We're using CVS at our site for managing revision control of our documents. So I had a look in src/vc-backend.C to see if I can make a working implementation

Re: Patch for 1.3.X: vc-backend file quoting+CVS::checkOut

2005-03-04 Thread Lars Gullik Bjønnes
Stephan Witt [EMAIL PROTECTED] writes: | Dear LyX-Developers, | recently I started to check BRANCH_1_3_X for productive work. | I'm very pleased with the features and stability of it. | We're using CVS at our site for managing revision control | of our documents. So I had a look in

lyx140cvs: jpg to eps, part 2

2005-03-04 Thread Hartmut Haase
I investigated a little more, and found the following messages: convert: unable to open image `/tmp/lyx_tmpdir5108Gvtzzb/lyx_tmpbuf0/0_windows_D_EigeneDateien_Brueckle_102_Bilder_Anke.jpg': Datei oder Verzeichnis nicht gefunden. convert: missing an image filename

Re: Patch for 1.3.X: vc-backend file quoting+CVS::checkOut

2005-03-04 Thread Stephan Witt
Lars Gullik Bjønnes wrote: Stephan Witt [EMAIL PROTECTED] writes: | Dear LyX-Developers, | recently I started to check BRANCH_1_3_X for productive work. | I'm very pleased with the features and stability of it. | We're using CVS at our site for managing revision control | of our documents. So I

Re: LyX in LiveCD

2005-03-04 Thread chr
On Thu, 3 Mar 2005, Tomasz Luczak wrote: Hi I inform about other LiveCD (based on SLAX, http://slax.linux-live.org). I put up some information about your Live CD here, http://wiki.lyx.org/LyX/LiveCDs please have a look at it to see if it is still correct (edit password for the wiki

Re: Patch for 1.3.X: vc-backend file quoting+CVS::checkOut

2005-03-04 Thread Lars Gullik Bjønnes
Stephan Witt [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes wrote: Stephan Witt [EMAIL PROTECTED] writes: | Dear LyX-Developers, | recently I started to check BRANCH_1_3_X for productive work. | I'm very pleased with the features and stability of it. | We're using CVS at our site for

Re: Patch for 1.3.X: vc-backend file quoting+CVS::checkOut

2005-03-04 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | | Yes. If one has a filename like 'file$patch1.lyx' the vc-backend fails | | to process this one. It makes a system call like 'cvs log file$patch1.lyx' | | for example. The shell tries to expand the environment variable patch1 and | | replaces

Re: lyx140cvs: jpg to eps, part 2

2005-03-04 Thread Angus Leeming
Hartmut Haase wrote: I investigated a little more, and found the following messages: convert: unable to open image `/tmp/lyx_tmpdir5108Gvtzzb/lyx_tmpbuf0/0_windows_D_EigeneDateien_Brueckle_102_Bilder_Anke.jpg': Datei oder Verzeichnis nicht gefunden. convert: missing an image filename

Re: Patch for 1.3.X: vc-backend file quoting+CVS::checkOut

2005-03-04 Thread Stephan Witt
Lars Gullik Bjønnes wrote: [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | | Yes. If one has a filename like 'file$patch1.lyx' the vc-backend fails | | to process this one. It makes a system call like 'cvs log file$patch1.lyx' | | for example. The shell tries to expand the environment variable

GTK frontend - I can't change the style

2005-03-04 Thread Andreas Klostermann
Hi! I tried out the gtk frontend from cvs again. Strangely enough, if I change the style of a line/paragraph from Standard to something else, nothing happens. The style list indicates that a change has happened, but it is not reflected in the work area. Upon preview, all text is in standard

Re: GTK frontend - I can't change the style

2005-03-04 Thread Angus Leeming
Andreas Klostermann wrote: Hi! I tried out the gtk frontend from cvs again. Strangely enough, if I change the style of a line/paragraph from Standard to something else, nothing happens. The style list indicates that a change has happened, but it is not reflected in the work area. Upon

Problems with ForkedProcess::waitForChild()

2005-03-04 Thread Andreas Vox
Hi! I wanted to check if the bitmap creation has finished without error and found out that startScript always returns '1'. Apparently waitpid() always returns -1 with errno = ECHILD. Is this a race condition in that the childprocess has finished before waitpid() is called? If so, the scheduling on

Debugging on MacOSX

2005-03-04 Thread Andreas Vox
Hi! Remember my rants about not beeing able to use gdb on MacOSX because LyX wouldn't get the focus? Well, why didn't anyone tell me that I have to start gdb with gdb /Applications/LyX.app instead of gdb src/lyx or gdb /Applications/LyX.app/Contents/MacOS/lyx ??? Anyway, you can look forward to

Re: Problems with ForkedProcess::waitForChild()

2005-03-04 Thread Angus Leeming
Andreas Vox wrote: Hi! I wanted to check if the bitmap creation has finished without error and found out that startScript always returns '1'. Apparently waitpid() always returns -1 with errno = ECHILD. Is this a race condition in that the childprocess has finished before waitpid() is

[patch] bug 1255

2005-03-04 Thread Juergen Spitzmueller
The attached patch (from Johnathan again) fixes the most important part of bug 1255 (cursor sticks). There are still two blanks, but they get deleted by DESM when the cursor is being moved to that place. Can I apply it? Jürgen Index: text2.C

Re: GTK frontend - I can't change the style

2005-03-04 Thread Andreas Klostermann
Andreas Klostermann wrote: Hi! I tried out the gtk frontend from cvs again. Strangely enough, if I change the style of a line/paragraph from Standard to something else, nothing happens. The style list indicates that a change has happened, but it is not reflected in the work area.

Re: GTK frontend - I can't change the style

2005-03-04 Thread John Spray
On Fri, 2005-03-04 at 19:08 +0100, Andreas Klostermann wrote: Well, at the moment I only intend to get more of a feeling for the code, investigate this nasty crash in the document dialog and maybe do a few cosmetic (=small) improvements. The lyx gtk frontend currently makes me afraid of my

Re: GTK frontend - I can't change the style

2005-03-04 Thread John Spray
On Fri, 2005-03-04 at 17:11 +0100, Andreas Klostermann wrote: I tried out the gtk frontend from cvs again. Strangely enough, if I change the style of a line/paragraph from Standard to something else, nothing happens. The style list indicates that a change has happened, but it is not reflected

Re: [patch] bug 1255

2005-03-04 Thread Lars Gullik Bjønnes
Juergen Spitzmueller [EMAIL PROTECTED] writes: | The attached patch (from Johnathan again) fixes the most important part of bug | 1255 (cursor sticks). There are still two blanks, but they get deleted by | DESM when the cursor is being moved to that place. | Can I apply it? Yes, if you have

Re: GTK frontend - I can't change the style

2005-03-04 Thread Andreas Klostermann
John Spray Fri, 04 Mar 2005 10:22:52 -0800 On Fri, 2005-03-04 at 19:08 +0100, Andreas Klostermann wrote: Well, at the moment I only intend to get more of a feeling for the code, investigate this nasty crash in the document dialog and maybe do a few cosmetic (=small) improvements.

Re: Problems with ForkedProcess::waitForChild()

2005-03-04 Thread Andreas Vox
Angus Leeming [EMAIL PROTECTED] writes: ECHILD suggests that the zombie has been reaped already by a previous invocation of waitpid. Are you invoking waitpid yourself? (Don't do that.) Nope, I just do: int SnippetConversion::startAndWait(...) { command_ = prepareCommand(...);

Details on scrolling workflow?

2005-03-04 Thread Andreas Klostermann
Hi! I try to fix a bug in the gtk frontend. When moving the cursor out of sight, normally the view should follow it by centering. Now, with the gtk frontend, it will scroll crazily around, making the application unrespondible. I'm trying to fix it, but I don't quite understand the flow of

Using lyx-1.4cvs

2005-03-04 Thread Helge Hafting
I have tried using lyx-1.4 cvs, and have some impressions: It works well enough for my work now. It will sometimes crash trying to load some old files, but is otherwise fine. I haven't tried any new stuff yet, I have mostly enjoyed the improved user interface. The toolbars are great, the menus

[Patch] Fix updating of gtk layoutbox

2005-03-04 Thread John Spray
Hi, Just committed the attached, along with a changelog entry. John Index: GToolbar.C === RCS file: /cvs/lyx/lyx-devel/src/frontends/gtk/GToolbar.C,v retrieving revision 1.29 diff -u -p -r1.29 GToolbar.C --- GToolbar.C 2005/01/29

Re: Details on scrolling workflow?

2005-03-04 Thread John Spray
On Fri, 2005-03-04 at 23:02 +0100, Andreas Klostermann wrote: I try to fix a bug in the gtk frontend. When moving the cursor out of sight, normally the view should follow it by centering. Now, with the gtk frontend, it will scroll crazily around, making the application unrespondible. I'm

Re: Using lyx-1.4cvs

2005-03-04 Thread Lars Gullik Bjønnes
Helge Hafting [EMAIL PROTECTED] writes: | I have tried using lyx-1.4 cvs, and have some impressions: | It works well enough for my work now. It will sometimes crash trying to | load some old files, but is otherwise fine. Getting bug reports for these would be really great. And I presume that

Re: [Patch] Fix updating of gtk layoutbox

2005-03-04 Thread Lars Gullik Bjønnes
John Spray [EMAIL PROTECTED] writes: | Hi, | Just committed the attached, along with a changelog entry. | John | Index: GToolbar.C | === | RCS file: /cvs/lyx/lyx-devel/src/frontends/gtk/GToolbar.C,v | retrieving revision 1.29 |

Errors switching document classes

2005-03-04 Thread John Spray
Hi, When I try to switch document classes a couple of times, I get the error list dialog with a single \begin_header is missing error. For instance, this happens if I open the document settings dialog (lyx-qt or lyx-xforms), switch from article to book and click apply (no error), and then switch

Re: [Patch] Fix updating of gtk layoutbox

2005-03-04 Thread John Spray
On Sat, 2005-03-05 at 01:09 +0100, Lars Gullik Bjønnes wrote: | + int current_selection = combo_.get_active_row_number(); Could it have been const? It could, and now is :-) My coding style may have become somewhat slack, since I've been writing a lot of fortran lately. It rots the mind and

Re: Details on scrolling workflow?

2005-03-04 Thread Andreas Klostermann
On Fri, 2005-03-04 at 23:02 +0100, Andreas Klostermann wrote: I try to fix a bug in the gtk frontend. When moving the cursor out of sight, normally the view should follow it by centering. Now, with the gtk frontend, it will scroll crazily around, making the application unrespondible.

Patch for 1.3.X: vc-backend file quoting+CVS::checkOut

2005-03-04 Thread Stephan Witt
Dear LyX-Developers, recently I started to check BRANCH_1_3_X for productive work. I'm very pleased with the features and stability of it. We're using CVS at our site for managing revision control of our documents. So I had a look in src/vc-backend.C to see if I can make a working implementation

Re: Patch for 1.3.X: vc-backend file quoting+CVS::checkOut

2005-03-04 Thread Lars Gullik Bjønnes
Stephan Witt <[EMAIL PROTECTED]> writes: | Dear LyX-Developers, > | recently I started to check BRANCH_1_3_X for productive work. | I'm very pleased with the features and stability of it. > | We're using CVS at our site for managing revision control | of our documents. So I had a look in

lyx140cvs: jpg to eps, part 2

2005-03-04 Thread Hartmut Haase
I investigated a little more, and found the following messages: convert: unable to open image `/tmp/lyx_tmpdir5108Gvtzzb/lyx_tmpbuf0/0_windows_D_EigeneDateien_Brueckle_102_Bilder_Anke.jpg': Datei oder Verzeichnis nicht gefunden. convert: missing an image filename

Re: Patch for 1.3.X: vc-backend file quoting+CVS::checkOut

2005-03-04 Thread Stephan Witt
Lars Gullik Bjønnes wrote: Stephan Witt <[EMAIL PROTECTED]> writes: | Dear LyX-Developers, | recently I started to check BRANCH_1_3_X for productive work. | I'm very pleased with the features and stability of it. | We're using CVS at our site for managing revision control | of our documents. So I

Re: LyX in LiveCD

2005-03-04 Thread chr
On Thu, 3 Mar 2005, Tomasz Luczak wrote: > Hi > > I inform about other LiveCD (based on SLAX, http://slax.linux-live.org). I put up some information about your Live CD here, http://wiki.lyx.org/LyX/LiveCDs please have a look at it to see if it is still correct (edit password for the

Re: Patch for 1.3.X: vc-backend file quoting+CVS::checkOut

2005-03-04 Thread Lars Gullik Bjønnes
Stephan Witt <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: >> Stephan Witt <[EMAIL PROTECTED]> writes: >> | Dear LyX-Developers, >> | recently I started to check BRANCH_1_3_X for productive work. >> | I'm very pleased with the features and stability of it. >> | We're using CVS at our

Re: Patch for 1.3.X: vc-backend file quoting+CVS::checkOut

2005-03-04 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | | Yes. If one has a filename like 'file$patch1.lyx' the vc-backend fails | | to process this one. It makes a system call like 'cvs log "file$patch1.lyx"' | | for example. The shell tries to expand the environment variable patch1 and | | replaces

Re: lyx140cvs: jpg to eps, part 2

2005-03-04 Thread Angus Leeming
Hartmut Haase wrote: > I investigated a little more, and found the following messages: > > convert: unable to open image > `/tmp/lyx_tmpdir5108Gvtzzb/lyx_tmpbuf0/0_windows_D_EigeneDateien_Brueckle_102_Bilder_Anke.jpg': > Datei oder Verzeichnis nicht gefunden. > convert: missing an image

Re: Patch for 1.3.X: vc-backend file quoting+CVS::checkOut

2005-03-04 Thread Stephan Witt
Lars Gullik Bjønnes wrote: [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | | Yes. If one has a filename like 'file$patch1.lyx' the vc-backend fails | | to process this one. It makes a system call like 'cvs log "file$patch1.lyx"' | | for example. The shell tries to expand the environment variable

GTK frontend - I can't change the style

2005-03-04 Thread Andreas Klostermann
Hi! I tried out the gtk frontend from cvs again. Strangely enough, if I change the style of a line/paragraph from Standard to something else, nothing happens. The style list indicates that a change has happened, but it is not reflected in the work area. Upon preview, all text is in standard

Re: GTK frontend - I can't change the style

2005-03-04 Thread Angus Leeming
Andreas Klostermann wrote: > Hi! > > I tried out the gtk frontend from cvs again. Strangely enough, if I > change the style of a line/paragraph from Standard to something else, > nothing happens. The style list indicates that a change has happened, > but it is not reflected in the work area.

Problems with ForkedProcess::waitForChild()

2005-03-04 Thread Andreas Vox
Hi! I wanted to check if the bitmap creation has finished without error and found out that startScript always returns '1'. Apparently waitpid() always returns -1 with errno = ECHILD. Is this a race condition in that the childprocess has finished before waitpid() is called? If so, the scheduling on

Debugging on MacOSX

2005-03-04 Thread Andreas Vox
Hi! Remember my rants about not beeing able to use gdb on MacOSX because LyX wouldn't get the focus? Well, why didn't anyone tell me that I have to start gdb with "gdb /Applications/LyX.app" instead of "gdb src/lyx" or "gdb /Applications/LyX.app/Contents/MacOS/lyx" ??? Anyway, you can look forward

Re: Problems with ForkedProcess::waitForChild()

2005-03-04 Thread Angus Leeming
Andreas Vox wrote: > Hi! > > I wanted to check if the bitmap creation has finished without error > and found out that startScript always returns '1'. > > Apparently waitpid() always returns -1 with errno = ECHILD. > Is this a race condition in that the childprocess has finished before >

[patch] bug 1255

2005-03-04 Thread Juergen Spitzmueller
The attached patch (from Johnathan again) fixes the most important part of bug 1255 (cursor sticks). There are still two blanks, but they get deleted by DESM when the cursor is being moved to that place. Can I apply it? Jürgen Index: text2.C

Re: GTK frontend - I can't change the style

2005-03-04 Thread Andreas Klostermann
> Andreas Klostermann wrote: > > > Hi! > > > > I tried out the gtk frontend from cvs again. Strangely enough, if I > > change the style of a line/paragraph from Standard to something else, > > nothing happens. The style list indicates that a change has happened, > > but it is not reflected in

Re: GTK frontend - I can't change the style

2005-03-04 Thread John Spray
On Fri, 2005-03-04 at 19:08 +0100, Andreas Klostermann wrote: > Well, at the moment I only intend to get more of a feeling for the code, > investigate > this nasty crash in the document dialog and maybe do a few cosmetic (=small) > improvements. The lyx gtk frontend currently makes me afraid of

Re: GTK frontend - I can't change the style

2005-03-04 Thread John Spray
On Fri, 2005-03-04 at 17:11 +0100, Andreas Klostermann wrote: > I tried out the gtk frontend from cvs again. Strangely enough, if I > change the style of a line/paragraph from Standard to something else, > nothing happens. The style list indicates that a change has happened, > but it is not

Re: [patch] bug 1255

2005-03-04 Thread Lars Gullik Bjønnes
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: | The attached patch (from Johnathan again) fixes the most important part of bug | 1255 (cursor sticks). There are still two blanks, but they get deleted by | DESM when the cursor is being moved to that place. > | Can I apply it? Yes, if you

Re: GTK frontend - I can't change the style

2005-03-04 Thread Andreas Klostermann
> John Spray > Fri, 04 Mar 2005 10:22:52 -0800 > > > On Fri, 2005-03-04 at 19:08 +0100, Andreas Klostermann wrote: > > Well, at the moment I only intend to get more of a feeling for the code, > > investigate > > this nasty crash in the document dialog and maybe do a few cosmetic (=small) > >

Re: Problems with ForkedProcess::waitForChild()

2005-03-04 Thread Andreas Vox
Angus Leeming <[EMAIL PROTECTED]> writes: > > ECHILD suggests that the zombie has been reaped already by a previous > invocation of waitpid. Are you invoking waitpid yourself? (Don't do that.) Nope, I just do: int SnippetConversion::startAndWait(...) { command_ = prepareCommand(...);

Details on scrolling "workflow"?

2005-03-04 Thread Andreas Klostermann
Hi! I try to fix a bug in the gtk frontend. When moving the cursor "out of sight", normally the view should follow it by centering. Now, with the gtk frontend, it will scroll crazily around, making the application unrespondible. I'm trying to fix it, but I don't quite understand the flow of

Using lyx-1.4cvs

2005-03-04 Thread Helge Hafting
I have tried using lyx-1.4 cvs, and have some impressions: It works well enough for my work now. It will sometimes crash trying to load some old files, but is otherwise fine. I haven't tried any new stuff yet, I have mostly enjoyed the improved user interface. The toolbars are great, the menus

[Patch] Fix updating of gtk layoutbox

2005-03-04 Thread John Spray
Hi, Just committed the attached, along with a changelog entry. John Index: GToolbar.C === RCS file: /cvs/lyx/lyx-devel/src/frontends/gtk/GToolbar.C,v retrieving revision 1.29 diff -u -p -r1.29 GToolbar.C --- GToolbar.C 2005/01/29

Re: Details on scrolling "workflow"?

2005-03-04 Thread John Spray
On Fri, 2005-03-04 at 23:02 +0100, Andreas Klostermann wrote: > I try to fix a bug in the gtk frontend. When moving the cursor "out of > sight", normally the view should follow it by centering. Now, with the > gtk frontend, it will scroll crazily around, making the application > unrespondible. >

Re: Using lyx-1.4cvs

2005-03-04 Thread Lars Gullik Bjønnes
Helge Hafting <[EMAIL PROTECTED]> writes: | I have tried using lyx-1.4 cvs, and have some impressions: > | It works well enough for my work now. It will sometimes crash trying to | load some old files, but is otherwise fine. Getting bug reports for these would be really great. And I presume

Re: [Patch] Fix updating of gtk layoutbox

2005-03-04 Thread Lars Gullik Bjønnes
John Spray <[EMAIL PROTECTED]> writes: | Hi, > | Just committed the attached, along with a changelog entry. > | John > | Index: GToolbar.C | === | RCS file: /cvs/lyx/lyx-devel/src/frontends/gtk/GToolbar.C,v | retrieving revision 1.29

Errors switching document classes

2005-03-04 Thread John Spray
Hi, When I try to switch document classes a couple of times, I get the error list dialog with a single "\begin_header is missing" error. For instance, this happens if I open the document settings dialog (lyx-qt or lyx-xforms), switch from article to book and click apply (no error), and then

Re: [Patch] Fix updating of gtk layoutbox

2005-03-04 Thread John Spray
On Sat, 2005-03-05 at 01:09 +0100, Lars Gullik Bjønnes wrote: > | + int current_selection = combo_.get_active_row_number(); > > Could it have been const? It could, and now is :-) My coding style may have become somewhat slack, since I've been writing a lot of fortran lately. It rots the mind

Re: Details on scrolling "workflow"?

2005-03-04 Thread Andreas Klostermann
> On Fri, 2005-03-04 at 23:02 +0100, Andreas Klostermann wrote: > > I try to fix a bug in the gtk frontend. When moving the cursor "out of > > sight", normally the view should follow it by centering. Now, with the > > gtk frontend, it will scroll crazily around, making the application > >