Re: [patch] tex2lyx crash when full path is given from commandline on Win32

2007-06-30 Thread Jürgen Spitzmüller
hzluo wrote: This patch addresses problem of bug: http://bugzilla.lyx.org/show_bug.cgi?id=3788 What about this patch? It looks good to me. Can I apply it (the attached, slightly modified version)? Jürgen Index: src/tex2lyx/tex2lyx.cpp

Re: [patch] fix default encoding

2007-06-30 Thread Georg Baum
Am Freitag, 29. Juni 2007 15:11 schrieb Dov Feldstern: Just a reminder: default is supposed to be exactly like auto (i.e., the encoding is determined based on the language), except that it shouldn't output any inputencoding commands, because LaTeX will determine the encoding on it's own.

Re: rc2 table trouble

2007-06-30 Thread Michael Gerz
Helge Hafting schrieb: 3 table bugs in rc2 Sorry I haven't checked bugzilla - my plane leaves in a few hours. These are now http://bugzilla.lyx.org/show_bug.cgi?id=3955 http://bugzilla.lyx.org/show_bug.cgi?id=3956 http://bugzilla.lyx.org/show_bug.cgi?id=3957 Michael

Re: [patch] tex2lyx crash when full path is given from commandline on Win32

2007-06-30 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: hzluo wrote: This patch addresses problem of bug: http://bugzilla.lyx.org/show_bug.cgi?id=3788 What about this patch? It looks good to me. To me too. Abdel.

Re: [patch] tex2lyx crash when full path is given from commandline on Win32

2007-06-30 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: What about this patch? It looks good to me. To me too. Thanks. I'll commit if I get another OK. Hangzai, could you please send a message to lyx-devel in the meantime, stating something like I hereby grant permission to licence my contributions to LyX under the Gnu

Re: Enhancement

2007-06-30 Thread Mael Hilléreau
Le 29 juin 07 à 13:29, Abdelrazak Younes a écrit : Mael Hilléreau wrote: Le 29 juin 07 à 10:06, Abdelrazak Younes a écrit : 2. Regarding C.: there was certainly a motivation for introducing the CRC for regular files, but nobody explained it deeply. So who did introduce the CRC test, and

[patch] Fix Bug 3600

2007-06-30 Thread Alfredo Braunstein
http://bugzilla.lyx.org/show_bug.cgi?id=3600 The problem is simply that stripLeadingSpaces is called on the last paragraph of the selection and the endpos position is not adjusted if the par shrinks. Can someone remind me why do we need to call stripLeadingSpaces? Is this something related to

[patch] bug 3819: LyX fails to export with an XFig insert w/ Image Cache enabled

2007-06-30 Thread Jürgen Spitzmüller
http://bugzilla.lyx.org/show_bug.cgi?id=3819 This is a patch from Georg. I tested it and it seems to work for me (there is an issue with an assert directly after applying the patch if the file in question is already in the cache which can only be solved by emptying the cache, see bugzilla).

Re: [patch] Fix Bug 3600

2007-06-30 Thread Michael Gerz
Alfredo Braunstein schrieb: http://bugzilla.lyx.org/show_bug.cgi?id=3600 The problem is simply that stripLeadingSpaces is called on the last paragraph of the selection and the endpos position is not adjusted if the par shrinks. Can someone remind me why do we need to call stripLeadingSpaces?

Installer issues from [Cvslog] r18919 - in /lyx-devel/trunk/development/Win32/packaging/...

2007-06-30 Thread christian . ridderstrom
Hi Bo, thanks for CC:ing me - I'd completely missed this thread - I don't have time to _read_ all messages but I try to check all _subjects_. Anyway, I've now read the thread using gmane, an I'll list some of the issues and my comments below. That might of course provoke further discussion,

Re: [patch] Fix Bug 3600

2007-06-30 Thread Alfredo Braunstein
Michael Gerz wrote: Alfredo Braunstein schrieb: http://bugzilla.lyx.org/show_bug.cgi?id=3600 The problem is simply that stripLeadingSpaces is called on the last paragraph of the selection and the endpos position is not adjusted if the par shrinks. Can someone remind me why do we need to

[PATCH] Toolbars

2007-06-30 Thread Michael Gerz
Hi, the attached patch fixes three toolbar problems: - The toolbar name couldn't be translated in a user message - A faulty stdtoolbars.ui resulted in a failed assertion - toolbar-toggle foobla resulted in a state change for some dummy toolbar rather than a reasonable error message

Re: [PATCH] Update the master labels when a child doc is closed (was Re: Bug with outline panel and child documents)

2007-06-30 Thread Mael Hilléreau
Le 29 juin 07 à 12:03, Abdelrazak Younes a écrit : Mael Hilléreau wrote: 1. Open a document with child documents, each comprising divisions; 2. Show the outline pane. You can see childs' divisions; 3. Select (view) one of the childs; 4. Close this child doc. The focus comes back to the master

Re: [PATCH] Update the master labels when a child doc is closed (was Re: Bug with outline panel and child documents)

2007-06-30 Thread Abdelrazak Younes
Mael Hilléreau wrote: Le 29 juin 07 à 12:03, Abdelrazak Younes a écrit : Mael Hilléreau wrote: 1. Open a document with child documents, each comprising divisions; 2. Show the outline pane. You can see childs' divisions; 3. Select (view) one of the childs; 4. Close this child doc. The focus

Re: [PATCH] Update the master labels when a child doc is closed (was Re: Bug with outline panel and child documents)

2007-06-30 Thread Mael Hilléreau
Le 30 juin 07 à 18:25, Abdelrazak Younes a écrit : All right, no more crash. However, I think that it would have been more user friendly to keep the toc intact and reopen the child when needed instead (i.e. when the user clicks on the corresponding toc entry). Please tell me what do you

Re: [PATCH] Update the master labels when a child doc is closed (was Re: Bug with outline panel and child documents)

2007-06-30 Thread Abdelrazak Younes
Mael Hilléreau wrote: I noticed in bug #3347 that JMarc proposed the idea of having child documents opened without being registered in session management (use of a 'buffer hidden' flag). Thus child documents wouldn't be closed, they could only be hidden. Maybe this could be a nice solution WRT

Re: [PATCH] Update the master labels when a child doc is closed (was Re: Bug with outline panel and child documents)

2007-06-30 Thread Mael Hilléreau
Le 30 juin 07 à 19:31, Abdelrazak Younes a écrit : Mael Hilléreau wrote: I noticed in bug #3347 that JMarc proposed the idea of having child documents opened without being registered in session management (use of a 'buffer hidden' flag). Thus child documents wouldn't be closed, they could

Re: Switching to secondary keymap not working properly in LyX 1.5.0rc2?

2007-06-30 Thread Dov Feldstern
GoogleGuy wrote: On Fri, 29 Jun 2007 17:54:40 +0300 Dov Feldstern dfeldstern-rhxOsnTko2JWk0Htik3J/[EMAIL PROTECTED] wrote: Sorry, I didn't explain myself clearly. I already committed a fix for a *different* keymap bug a few weeks ago, and I thought that that fix was causing your problem. But

Re: cusorsX speedup?

2007-06-30 Thread Dov Feldstern
Andre Poenitz wrote: On Fri, Jun 29, 2007 at 11:17:51AM +0300, Dov Feldstern wrote: Right now it's being called on every cursor blink, I think (I put in a debug printout, and it prints on every blink); and what it's doing every time is to loop over all the characters from the beginning of the

Re: [patch] fix default encoding

2007-06-30 Thread Dov Feldstern
Georg Baum wrote: Am Freitag, 29. Juni 2007 15:11 schrieb Dov Feldstern: Just a reminder: default is supposed to be exactly like auto (i.e., the encoding is determined based on the language), except that it shouldn't output any inputencoding commands, because LaTeX will determine the

Re: source code question about language check in LyX documents

2007-06-30 Thread Dov Feldstern
Richard Heck wrote: Uwe Stöhr wrote: Can anybody help me with this issue?: Special lines should to be added to the preamble whenever e.g. Arabic is used in the document. I know how to do this in Bufferparams.cp when Arabic is the document language: if (language-lang() == arabic_arabtex) {

1.5.0beta2: export Latex(plain), why must overwrite my EPS graphics files?

2007-06-30 Thread Rob
Hi, I'm using 1.5.0beta2. For all my graphics files I use eps format, which works OK within LyX. However, when I export my document with Export - LaTeX(plain), a dialog pops up with annoying choices: The file ~/my/doc/dir/figure.eps already exists. Do you want to over-write that file?

Re: [patch] tex2lyx crash when full path is given from commandline on Win32

2007-06-30 Thread hangzai luo
Sorry for the late response. I'm out of town and can't check e-mail in time. And here is the authorization to the LyX devel group: I hereby grant permission to licence my contributions to LyX under the Gnu General Public Licence, version 2 or later Thanks! Hangzai Luo On 6/30/07, Jürgen

Re: [patch] tex2lyx crash when full path is given from commandline on Win32

2007-06-30 Thread Jürgen Spitzmüller
hzluo wrote: > This patch addresses problem of bug: > > http://bugzilla.lyx.org/show_bug.cgi?id=3788 What about this patch? It looks good to me. Can I apply it (the attached, slightly modified version)? Jürgen Index: src/tex2lyx/tex2lyx.cpp

Re: [patch] fix "default" encoding

2007-06-30 Thread Georg Baum
Am Freitag, 29. Juni 2007 15:11 schrieb Dov Feldstern: > Just a reminder: "default" is supposed to be exactly like "auto" (i.e., > the encoding is determined based on the language), except that it > shouldn't output any "inputencoding" commands, because LaTeX will > determine the encoding on

Re: rc2 table trouble

2007-06-30 Thread Michael Gerz
Helge Hafting schrieb: 3 table bugs in rc2 Sorry I haven't checked bugzilla - my plane leaves in a few hours. These are now http://bugzilla.lyx.org/show_bug.cgi?id=3955 http://bugzilla.lyx.org/show_bug.cgi?id=3956 http://bugzilla.lyx.org/show_bug.cgi?id=3957 Michael

Re: [patch] tex2lyx crash when full path is given from commandline on Win32

2007-06-30 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: hzluo wrote: This patch addresses problem of bug: http://bugzilla.lyx.org/show_bug.cgi?id=3788 What about this patch? It looks good to me. To me too. Abdel.

Re: [patch] tex2lyx crash when full path is given from commandline on Win32

2007-06-30 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > > What about this patch? It looks good to me. > > To me too. Thanks. I'll commit if I get another OK. Hangzai, could you please send a message to lyx-devel in the meantime, stating something like "I hereby grant permission to licence my contributions to LyX under

Re: Enhancement

2007-06-30 Thread Mael Hilléreau
Le 29 juin 07 à 13:29, Abdelrazak Younes a écrit : Mael Hilléreau wrote: Le 29 juin 07 à 10:06, Abdelrazak Younes a écrit : 2. Regarding C.: there was certainly a motivation for introducing the CRC for regular files, but nobody explained it deeply. So who did introduce the CRC test, and

[patch] Fix Bug 3600

2007-06-30 Thread Alfredo Braunstein
http://bugzilla.lyx.org/show_bug.cgi?id=3600 The problem is simply that stripLeadingSpaces is called on the last paragraph of the selection and the endpos position is not adjusted if the par shrinks. Can someone remind me why do we need to call stripLeadingSpaces? Is this something related to

[patch] bug 3819: LyX fails to export with an XFig insert w/ Image Cache enabled

2007-06-30 Thread Jürgen Spitzmüller
http://bugzilla.lyx.org/show_bug.cgi?id=3819 This is a patch from Georg. I tested it and it seems to work for me (there is an issue with an assert directly after applying the patch if the file in question is already in the cache which can only be solved by emptying the cache, see bugzilla).

Re: [patch] Fix Bug 3600

2007-06-30 Thread Michael Gerz
Alfredo Braunstein schrieb: http://bugzilla.lyx.org/show_bug.cgi?id=3600 The problem is simply that stripLeadingSpaces is called on the last paragraph of the selection and the endpos position is not adjusted if the par shrinks. Can someone remind me why do we need to call stripLeadingSpaces?

Installer issues from [Cvslog] r18919 - in /lyx-devel/trunk/development/Win32/packaging/...

2007-06-30 Thread christian . ridderstrom
Hi Bo, thanks for CC:ing me - I'd completely missed this thread - I don't have time to _read_ all messages but I try to check all _subjects_. Anyway, I've now read the thread using gmane, an I'll list some of the issues and my comments below. That might of course provoke further discussion,

Re: [patch] Fix Bug 3600

2007-06-30 Thread Alfredo Braunstein
Michael Gerz wrote: > Alfredo Braunstein schrieb: >> http://bugzilla.lyx.org/show_bug.cgi?id=3600 >> >> The problem is simply that stripLeadingSpaces is called on the last >> paragraph of the selection and the endpos position is not adjusted if the >> par shrinks. >> >> Can someone remind me why

[PATCH] Toolbars

2007-06-30 Thread Michael Gerz
Hi, the attached patch fixes three toolbar problems: - The toolbar name couldn't be translated in a user message - A faulty stdtoolbars.ui resulted in a failed assertion - "toolbar-toggle foobla" resulted in a state change for some dummy toolbar rather than a reasonable error message

Re: [PATCH] Update the master labels when a child doc is closed (was Re: Bug with outline panel and child documents)

2007-06-30 Thread Mael Hilléreau
Le 29 juin 07 à 12:03, Abdelrazak Younes a écrit : Mael Hilléreau wrote: 1. Open a document with child documents, each comprising divisions; 2. Show the outline pane. You can see childs' divisions; 3. Select (view) one of the childs; 4. Close this child doc. The focus comes back to the master

Re: [PATCH] Update the master labels when a child doc is closed (was Re: Bug with outline panel and child documents)

2007-06-30 Thread Abdelrazak Younes
Mael Hilléreau wrote: Le 29 juin 07 à 12:03, Abdelrazak Younes a écrit : Mael Hilléreau wrote: 1. Open a document with child documents, each comprising divisions; 2. Show the outline pane. You can see childs' divisions; 3. Select (view) one of the childs; 4. Close this child doc. The focus

Re: [PATCH] Update the master labels when a child doc is closed (was Re: Bug with outline panel and child documents)

2007-06-30 Thread Mael Hilléreau
Le 30 juin 07 à 18:25, Abdelrazak Younes a écrit : All right, no more crash. However, I think that it would have been more user friendly to keep the toc intact and reopen the child when needed instead (i.e. when the user clicks on the corresponding toc entry). Please tell me what do you

Re: [PATCH] Update the master labels when a child doc is closed (was Re: Bug with outline panel and child documents)

2007-06-30 Thread Abdelrazak Younes
Mael Hilléreau wrote: I noticed in bug #3347 that JMarc proposed the idea of having child documents opened without being registered in session management (use of a 'buffer hidden' flag). Thus child documents wouldn't be closed, they could only be hidden. Maybe this could be a nice solution WRT

Re: [PATCH] Update the master labels when a child doc is closed (was Re: Bug with outline panel and child documents)

2007-06-30 Thread Mael Hilléreau
Le 30 juin 07 à 19:31, Abdelrazak Younes a écrit : Mael Hilléreau wrote: I noticed in bug #3347 that JMarc proposed the idea of having child documents opened without being registered in session management (use of a 'buffer hidden' flag). Thus child documents wouldn't be closed, they could

Re: Switching to secondary keymap not working properly in LyX 1.5.0rc2?

2007-06-30 Thread Dov Feldstern
GoogleGuy wrote: On Fri, 29 Jun 2007 17:54:40 +0300 Dov Feldstern wrote: Sorry, I didn't explain myself clearly. I already committed a fix for a *different* keymap bug a few weeks ago, and I thought that that fix was causing your problem. But now I don't think that it's my fix that's causing

Re: cusorsX speedup?

2007-06-30 Thread Dov Feldstern
Andre Poenitz wrote: On Fri, Jun 29, 2007 at 11:17:51AM +0300, Dov Feldstern wrote: Right now it's being called on every cursor blink, I think (I put in a debug printout, and it prints on every blink); and what it's doing every time is to loop over all the characters from the beginning of the

Re: [patch] fix "default" encoding

2007-06-30 Thread Dov Feldstern
Georg Baum wrote: Am Freitag, 29. Juni 2007 15:11 schrieb Dov Feldstern: Just a reminder: "default" is supposed to be exactly like "auto" (i.e., the encoding is determined based on the language), except that it shouldn't output any "inputencoding" commands, because LaTeX will determine the

Re: source code question about language check in LyX documents

2007-06-30 Thread Dov Feldstern
Richard Heck wrote: Uwe Stöhr wrote: Can anybody help me with this issue?: Special lines should to be added to the preamble whenever e.g. Arabic is used in the document. I know how to do this in Bufferparams.cp when Arabic is the document language: if (language->lang() == "arabic_arabtex")

1.5.0beta2: export Latex(plain), why must overwrite my EPS graphics files?

2007-06-30 Thread Rob
Hi, I'm using 1.5.0beta2. For all my graphics files I use eps format, which works OK within LyX. However, when I export my document with "Export -> LaTeX(plain)", a dialog pops up with annoying choices: The file ~/my/doc/dir/figure.eps already exists. Do you want to over-write that

Re: [patch] tex2lyx crash when full path is given from commandline on Win32

2007-06-30 Thread hangzai luo
Sorry for the late response. I'm out of town and can't check e-mail in time. And here is the authorization to the LyX devel group: I hereby grant permission to licence my contributions to LyX under the Gnu General Public Licence, version 2 or later Thanks! Hangzai Luo On 6/30/07, Jürgen