Re: [Cvslog] r16787 - /lyx-devel/trunk/lib/ui/classic.ui

2007-01-21 Thread Michael Gerz
FYI. Michael [EMAIL PROTECTED] schrieb: Author: schmitt Date: Sat Jan 20 19:35:27 2007 New Revision: 16787 URL: http://www.lyx.org/trac/changeset/16787 Log: * lib/ui/classic.ui: Plain Text, Join Lines - align with menu entries in stdmenus.ui Modified:

Re: [Cvslog] r16788 - /lyx-devel/trunk/src/MenuBackend.C

2007-01-21 Thread Michael Gerz
Again, FYI. Michael [EMAIL PROTECTED] schrieb: Author: schmitt Date: Sat Jan 20 19:38:06 2007 New Revision: 16788 URL: http://www.lyx.org/trac/changeset/16788 Log: * src/MenuBackend.C: Import plain text: align labels with menu entries in stdmenus.inc Modified:

log messages missing

2007-01-21 Thread Michael Gerz
Lars, Uwe has committed two patches yesterday but I didn't receive corresponding [EMAIL PROTECTED] emails. I guess Uwe is not listed in one of the server scripts. Could you please check? Michael

Re: [Cvslog] r16780 - /lyx-devel/trunk/src/output_plaintext.C

2007-01-21 Thread Michael Gerz
Angus Leeming schrieb: - docstring const abst = _(Abstract: ); + docstring const abst = _(Abstract) + from_ascii(: ); Not all languages will use ':' in the same way as the English and in RtL languages the thing won't go to the right of the word either... Hpmf $§#!

Re: [Cvslog] r16792 - /lyx-devel/trunk/lib/ui/stdtoolbars.inc

2007-01-21 Thread Michael Gerz
Uwe, I made a couple of minor change for the sake of consistency. Michael [EMAIL PROTECTED] schrieb: Author: schmitt Date: Sun Jan 21 11:20:39 2007 New Revision: 16792 URL: http://www.lyx.org/trac/changeset/16792 Log: * lib/ui/stdtoolbars.inc: fix typo; use Capitals in toolbar name;

Re: [Cvslog] r16795 - in /lyx-devel/trunk: lib/ui/stdtoolbars.inc po/b...

2007-01-21 Thread Michael Gerz
Hi, this is the last in a series of commits to make the user interface consistent. All po files have been updated accordingly. I think it is time again to draw the attention of the LyX translators. The German translations are already complete (with the exception of a couple of labels

Re: About bug 3118: editing first row of long math insets is impossible

2007-01-21 Thread Abdelrazak Younes
Andre Poenitz wrote: On Fri, Jan 19, 2007 at 12:18:35PM +0100, Abdelrazak Younes wrote: Georg Baum wrote: Abdelrazak Younes wrote: Indeed but first we have to make sure that the CoordCache is properly filled in for all insets. We can do that recursively as is done in the rowpainter. One have

Re: About bug 3118: editing first row of long math insets is impossible

2007-01-21 Thread Abdelrazak Younes
Andre Poenitz wrote: On Fri, Jan 19, 2007 at 11:39:40AM +0100, Georg Baum wrote: If we make sure that the coord cache is always set in the metrics method as Abdel suggests, There must be a misunderstanding somewhere. The metrics phase only determines _sizes_. The coord cache records

Re: Problem stripLeadingSpaces()

2007-01-21 Thread Abdelrazak Younes
Michael Gerz wrote: Abdelrazak Younes schrieb: Michael Gerz wrote: Abdelrazak Younes schrieb: Michael Gerz wrote: Abdelrazak Younes schrieb: I don't understand, why the space in the first line should be deleted? deleted space means a space that was marked as deleted. Use the attached lyx

Bugzilla and this list

2007-01-21 Thread Abdelrazak Younes
Guys, I've learned how to use Bugzilla and I think it is useful. But I'm starting to think that the discussion should happen in the list rather than in Bugzilla. Could we automated that? I am thinking of Bugzilla sending a message to the devel list and update the bug entry with a link to

Re: Problem stripLeadingSpaces()

2007-01-21 Thread Abdelrazak Younes
Michael Gerz wrote: Abdelrazak Younes schrieb: Michael Gerz wrote: Abdelrazak Younes schrieb: Michael Gerz wrote: Abdelrazak Younes schrieb: I don't understand, why the space in the first line should be deleted? deleted space means a space that was marked as deleted. Use the attached lyx

Re: [Cvslog] r16785 - /lyx-devel/trunk/src/paragraph_pimpl.C

2007-01-21 Thread Georg Baum
Michael Gerz wrote: Sure? Yes! Looks like 4. 1 is always added somewhere else (this is the common case). Georg

Re: About bug 3118: editing first row of long math insets is impossible

2007-01-21 Thread Georg Baum
Andre Poenitz wrote: On Fri, Jan 19, 2007 at 11:39:40AM +0100, Georg Baum wrote: If we make sure that the coord cache is always set in the metrics method as Abdel suggests, There must be a misunderstanding somewhere. The metrics phase only determines _sizes_. The coord cache records

Converters and encodings

2007-01-21 Thread Enrico Forestieri
Currently, a converter path cannot contain non-ascii characters on systems not using utf8 as the local encoding. Moreover, arguments are also passed in utf8 encoding. This is clearly wrong and produces assertions, eg. on Windows but also on Solaris when using a locale different from utf8. I had a

Re: filename with space truncated n external insets dialog

2007-01-21 Thread Bernhard Roider
Hello! The attached patch fixes the problem in trunk. The problem was that for the filename one token was retrieved from the lexer instead of the whole remaining line. Bernhard PS: I think the preferred way for contributing should be via a bug report? Abdelrazak Younes wrote: Bernhard

Re: [PATCH] Branches and ToC bug

2007-01-21 Thread Martin Vermeer
On Fri, Jan 19, 2007 at 08:55:06PM +, José Matos wrote: On Friday 19 January 2007 4:02:43 pm Jean-Marc Lasgouttes wrote: OK, I'll apply it and tell Jose' that you made me do it if he complains. Abdel... hum. How were you capable of such thing? ;-) It's his pretty face. Who can

Re: filename with space truncated n external insets dialog

2007-01-21 Thread Bernhard Roider
by the way 1.4.2 and 1.4.3 (that's all i have installed) also truncate the filename, but i have no source at my pc

Re: Problem stripLeadingSpaces()

2007-01-21 Thread Michael Gerz
Abdelrazak Younes schrieb: OK, IIUC, then you will have two deleted space then, right? Again, IIUC, the paragraph contents should still contain the two spaces but isDeleted(0) and (1) would return true, right? Yes Yes. If yes, then as I said, there is a problem even before the screen update

Re: Problem stripLeadingSpaces()

2007-01-21 Thread Michael Gerz
Abdelrazak Younes schrieb: Right now, stripLeadingSpaces() returns the number of _physically_ deleted spaces. I can change this to return the number of physically and logically characters. Yes, I guess we should do that. Ok, the patch will be committed in a few minutes. Michael

[patch] Get rid of InsetLaTeXAccent - finally

2007-01-21 Thread Georg Baum
As announced I did some further work on the removal of InsetLaTeXAccent. The lyx2lyx stuff is now finished and working, and I also got a replacement for LaTeX output up and running (but it is very slow - don't try to output the user guide, it will take many minutes). It works like this:

Re: [Cvslog] r16799 - /lyx-devel/trunk/src/text.C

2007-01-21 Thread Michael Gerz
Hello everybody, this patch should cure all crashes related to accepting a change. I will provide a similar patch for reject-change tomorrow (hopefully). One thing that I am not very happy about is the invocation of DEPM, because the latter makes use of cursors, calls the undo mechanism,

Re: Converters and encodings

2007-01-21 Thread Georg Baum
Enrico Forestieri wrote: Currently, a converter path cannot contain non-ascii characters on systems not using utf8 as the local encoding. Moreover, arguments are also passed in utf8 encoding. This is clearly wrong and produces assertions, eg. on Windows but also on Solaris when using a locale

Re: filename with space truncated n external insets dialog

2007-01-21 Thread Georg Baum
Bernhard Roider wrote: Hello! The attached patch fixes the problem in trunk. The problem was that for the filename one token was retrieved from the lexer instead of the whole remaining line. Thanks a lot. The fix is correct (the same code is used in InsetGraphicsParams::Read), and I put it

Bugs in 16795

2007-01-21 Thread Timothy Reaves
The TOC defect is still present, where if you select an entry in the TOC window, when you re-select the TOC window the document jumps to the start. Also, Chapter Title spacing is off. The chapter title is over lapping the last sentence of the previous chapter.

Re: Repost: Bullets menu on LyX/Mac

2007-01-21 Thread Paul A. Rubin
Stephen Buonopane wrote: Sorry for the repost, but the original thread seems to have been 'captured' by another poster who changed the topic. The problem with the bullets described below has been confirmed by two others on Mac. Does it occur in Windows? Linux? Not on Windows with LyX

Re: Converters and encodings

2007-01-21 Thread Enrico Forestieri
On Sun, Jan 21, 2007 at 10:41:29PM +0100, Georg Baum wrote: Enrico Forestieri wrote: I had a look at the code and come to the conclusion that the FileName class with its toFilesystemEncoding method is not of help here. This is because we have to also deal with non-absolute paths and some

getting rid of lyx.bat - Aiksaurus problem

2007-01-21 Thread Uwe Stöhr
Last week we discussed how to include the menu language setting to lyxrc. I think this would be an improvement because then we could get rid of the lyx.bat file that is currently used to start LyX on Windows. lyx.bat calls lyx.exe, sets temporarily the language environment variable and the

Re: getting rid of lyx.bat - Aiksaurus problem

2007-01-21 Thread Enrico Forestieri
On Mon, Jan 22, 2007 at 01:33:31AM +0100, Uwe Stöhr wrote: Now I implemented in the installer that Aiksaurus is registered as standalone program. The installer sets the needed environment variable. This has unfortunately the disadvantage that invoking the thesaurus, when LyX is started the

Do we have to have both Installer and LyxWinInstaller?

2007-01-21 Thread Bo Peng
Joost and Uwe, Could you please try to merge the two windows installers? It is definitely confusing to have two installers so please at least put a README file explaining the differences between them. If you guys can not reach an agreement on some issues, please bring them up and let Michael

Re: Do we have to have both Installer and LyxWinInstaller?

2007-01-21 Thread christian . ridderstrom
On Sun, 21 Jan 2007, Bo Peng wrote: Joost and Uwe, Could you please try to merge the two windows installers? It is definitely confusing to have two installers so please at least put a README file explaining the differences between them. If you guys can not reach an agreement on some issues,

Re: [Cvslog] r16787 - /lyx-devel/trunk/lib/ui/classic.ui

2007-01-21 Thread Michael Gerz
FYI. Michael [EMAIL PROTECTED] schrieb: Author: schmitt Date: Sat Jan 20 19:35:27 2007 New Revision: 16787 URL: http://www.lyx.org/trac/changeset/16787 Log: * lib/ui/classic.ui: "Plain Text, Join Lines" - align with menu entries in stdmenus.ui Modified:

Re: [Cvslog] r16788 - /lyx-devel/trunk/src/MenuBackend.C

2007-01-21 Thread Michael Gerz
Again, FYI. Michael [EMAIL PROTECTED] schrieb: Author: schmitt Date: Sat Jan 20 19:38:06 2007 New Revision: 16788 URL: http://www.lyx.org/trac/changeset/16788 Log: * src/MenuBackend.C: Import plain text: align labels with menu entries in stdmenus.inc Modified:

log messages missing

2007-01-21 Thread Michael Gerz
Lars, Uwe has committed two patches yesterday but I didn't receive corresponding [EMAIL PROTECTED] emails. I guess Uwe is not listed in one of the server scripts. Could you please check? Michael

Re: [Cvslog] r16780 - /lyx-devel/trunk/src/output_plaintext.C

2007-01-21 Thread Michael Gerz
Angus Leeming schrieb: - docstring const abst = _("Abstract: "); + docstring const abst = _("Abstract") + from_ascii(": "); Not all languages will use ':' in the same way as the English and in RtL languages the thing won't go to the right of the word either... Hpmf $&§#!

Re: [Cvslog] r16792 - /lyx-devel/trunk/lib/ui/stdtoolbars.inc

2007-01-21 Thread Michael Gerz
Uwe, I made a couple of minor change for the sake of consistency. Michael [EMAIL PROTECTED] schrieb: Author: schmitt Date: Sun Jan 21 11:20:39 2007 New Revision: 16792 URL: http://www.lyx.org/trac/changeset/16792 Log: * lib/ui/stdtoolbars.inc: fix typo; use Capitals in toolbar name;

Re: [Cvslog] r16795 - in /lyx-devel/trunk: lib/ui/stdtoolbars.inc po/b...

2007-01-21 Thread Michael Gerz
Hi, this is the last in a series of commits to make the user interface consistent. All po files have been updated accordingly. I think it is time again to draw the attention of the LyX translators. The German translations are already complete (with the exception of a couple of labels

Re: About bug 3118: editing first row of long math insets is impossible

2007-01-21 Thread Abdelrazak Younes
Andre Poenitz wrote: On Fri, Jan 19, 2007 at 12:18:35PM +0100, Abdelrazak Younes wrote: Georg Baum wrote: Abdelrazak Younes wrote: Indeed but first we have to make sure that the CoordCache is properly filled in for all insets. We can do that recursively as is done in the rowpainter. One have

Re: About bug 3118: editing first row of long math insets is impossible

2007-01-21 Thread Abdelrazak Younes
Andre Poenitz wrote: On Fri, Jan 19, 2007 at 11:39:40AM +0100, Georg Baum wrote: If we make sure that the coord cache is always set in the metrics method as Abdel suggests, There must be a misunderstanding somewhere. The metrics phase only determines _sizes_. The coord cache records

Re: Problem stripLeadingSpaces()

2007-01-21 Thread Abdelrazak Younes
Michael Gerz wrote: Abdelrazak Younes schrieb: Michael Gerz wrote: Abdelrazak Younes schrieb: Michael Gerz wrote: Abdelrazak Younes schrieb: I don't understand, why the space in the first line should be deleted? means a space that was marked as deleted. Use the attached lyx file. Press

Bugzilla and this list

2007-01-21 Thread Abdelrazak Younes
Guys, I've learned how to use Bugzilla and I think it is useful. But I'm starting to think that the discussion should happen in the list rather than in Bugzilla. Could we automated that? I am thinking of Bugzilla sending a message to the devel list and update the bug entry with a link to

Re: Problem stripLeadingSpaces()

2007-01-21 Thread Abdelrazak Younes
Michael Gerz wrote: Abdelrazak Younes schrieb: Michael Gerz wrote: Abdelrazak Younes schrieb: Michael Gerz wrote: Abdelrazak Younes schrieb: I don't understand, why the space in the first line should be deleted? means a space that was marked as deleted. Use the attached lyx file. Press

Re: [Cvslog] r16785 - /lyx-devel/trunk/src/paragraph_pimpl.C

2007-01-21 Thread Georg Baum
Michael Gerz wrote: > Sure? Yes! > Looks like 4. 1 is always added somewhere else (this is the common case). Georg

Re: About bug 3118: editing first row of long math insets is impossible

2007-01-21 Thread Georg Baum
Andre Poenitz wrote: > On Fri, Jan 19, 2007 at 11:39:40AM +0100, Georg Baum wrote: >> If we make sure that the coord cache is always >> set in the metrics method as Abdel suggests, > > There must be a misunderstanding somewhere. The metrics phase only > determines _sizes_. The coord cache

Converters and encodings

2007-01-21 Thread Enrico Forestieri
Currently, a converter path cannot contain non-ascii characters on systems not using utf8 as the local encoding. Moreover, arguments are also passed in utf8 encoding. This is clearly wrong and produces assertions, eg. on Windows but also on Solaris when using a locale different from utf8. I had a

Re: filename with space truncated n external insets dialog

2007-01-21 Thread Bernhard Roider
Hello! The attached patch fixes the problem in trunk. The problem was that for the filename one token was retrieved from the lexer instead of the whole remaining line. Bernhard PS: I think the preferred way for contributing should be via a bug report? Abdelrazak Younes wrote: Bernhard

Re: [PATCH] Branches and ToC bug

2007-01-21 Thread Martin Vermeer
On Fri, Jan 19, 2007 at 08:55:06PM +, José Matos wrote: > On Friday 19 January 2007 4:02:43 pm Jean-Marc Lasgouttes wrote: > > OK, I'll apply it and tell Jose' that you made me do it if he > > complains. > > Abdel... hum. How were you capable of such thing? ;-) It's his pretty face. Who

Re: filename with space truncated n external insets dialog

2007-01-21 Thread Bernhard Roider
by the way 1.4.2 and 1.4.3 (that's all i have installed) also truncate the filename, but i have no source at my pc

Re: Problem stripLeadingSpaces()

2007-01-21 Thread Michael Gerz
Abdelrazak Younes schrieb: OK, IIUC, then you will have two deleted space then, right? Again, IIUC, the paragraph contents should still contain the two spaces but isDeleted(0) and (1) would return true, right? Yes & Yes. If yes, then as I said, there is a problem even before the screen update

Re: Problem stripLeadingSpaces()

2007-01-21 Thread Michael Gerz
Abdelrazak Younes schrieb: Right now, stripLeadingSpaces() returns the number of _physically_ deleted spaces. I can change this to return the number of physically and logically characters. Yes, I guess we should do that. Ok, the patch will be committed in a few minutes. Michael

[patch] Get rid of InsetLaTeXAccent - finally

2007-01-21 Thread Georg Baum
As announced I did some further work on the removal of InsetLaTeXAccent. The lyx2lyx stuff is now finished and working, and I also got a replacement for LaTeX output up and running (but it is very slow - don't try to output the user guide, it will take many minutes). It works like this:

Re: [Cvslog] r16799 - /lyx-devel/trunk/src/text.C

2007-01-21 Thread Michael Gerz
Hello everybody, this patch should cure all crashes related to accepting a change. I will provide a similar patch for reject-change tomorrow (hopefully). One thing that I am not very happy about is the invocation of DEPM, because the latter makes use of cursors, calls the undo mechanism,

Re: Converters and encodings

2007-01-21 Thread Georg Baum
Enrico Forestieri wrote: > Currently, a converter path cannot contain non-ascii characters on systems > not using utf8 as the local encoding. Moreover, arguments are also passed > in utf8 encoding. This is clearly wrong and produces assertions, eg. on > Windows but also on Solaris when using a

Re: filename with space truncated n external insets dialog

2007-01-21 Thread Georg Baum
Bernhard Roider wrote: > Hello! > > The attached patch fixes the problem in trunk. The problem was that for the filename one token was > retrieved from the lexer instead of the whole remaining line. Thanks a lot. The fix is correct (the same code is used in InsetGraphicsParams::Read), and I

Bugs in 16795

2007-01-21 Thread Timothy Reaves
The TOC defect is still present, where if you select an entry in the TOC window, when you re-select the TOC window the document jumps to the start. Also, Chapter Title spacing is off. The chapter title is over lapping the last sentence of the previous chapter.

Re: Repost: Bullets menu on LyX/Mac

2007-01-21 Thread Paul A. Rubin
Stephen Buonopane wrote: Sorry for the repost, but the original thread seems to have been 'captured' by another poster who changed the topic. The problem with the bullets described below has been confirmed by two others on Mac. Does it occur in Windows? Linux? Not on Windows with LyX

Re: Converters and encodings

2007-01-21 Thread Enrico Forestieri
On Sun, Jan 21, 2007 at 10:41:29PM +0100, Georg Baum wrote: > Enrico Forestieri wrote: > > I had a look at the code and come to the conclusion that the FileName > > class with its toFilesystemEncoding method is not of help here. This > > is because we have to also deal with non-absolute paths

getting rid of lyx.bat - Aiksaurus problem

2007-01-21 Thread Uwe Stöhr
Last week we discussed how to include the menu language setting to lyxrc. I think this would be an improvement because then we could get rid of the lyx.bat file that is currently used to start LyX on Windows. lyx.bat calls lyx.exe, sets temporarily the language environment variable and the

Re: getting rid of lyx.bat - Aiksaurus problem

2007-01-21 Thread Enrico Forestieri
On Mon, Jan 22, 2007 at 01:33:31AM +0100, Uwe Stöhr wrote: > Now I implemented in the installer that Aiksaurus is registered as standalone > program. The installer > sets the needed environment variable. > This has unfortunately the disadvantage that invoking the thesaurus, when LyX > is

Do we have to have both Installer and LyxWinInstaller?

2007-01-21 Thread Bo Peng
Joost and Uwe, Could you please try to merge the two windows installers? It is definitely confusing to have two installers so please at least put a README file explaining the differences between them. If you guys can not reach an agreement on some issues, please bring them up and let Michael

Re: Do we have to have both Installer and LyxWinInstaller?

2007-01-21 Thread christian . ridderstrom
On Sun, 21 Jan 2007, Bo Peng wrote: Joost and Uwe, Could you please try to merge the two windows installers? It is definitely confusing to have two installers so please at least put a README file explaining the differences between them. If you guys can not reach an agreement on some issues,