Re: [Cvslog] r17402 - /lyx-devel/trunk/development/scons/SConstruct

2007-03-04 Thread Michael Gerz
Hi Uwe, could you please have a look at this patch. I think you forgot something in the scons script. Michael [EMAIL PROTECTED] schrieb: Author: schmitt Date: Sun Mar 4 11:52:31 2007 New Revision: 17402 URL: http://www.lyx.org/trac/changeset/17402 Log: * scons/SConstruct: fix

Change Tracking - Exciting Stuff

2007-03-04 Thread Michael Gerz
Folks, there are some exciting news! The following patch removes the ugly dvipost/pplatex stuff and brings change tracking to the pdflatex world!!! Please have a look the attached ct-test.lyx to get an impression on what we can do with the newly supported changes/changebar packages. Guys,

Re: Rearranged LyX-doc image locations

2007-03-04 Thread Georg Baum
Am Sonntag, 4. März 2007 04:29 schrieb Uwe Stöhr: Dear LyX-documentation developers, after JMarc's last change that now every language has its own folder in LyX's SVN repository: http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/doc/ I rearranged the clipart folder in the following way

Re: [patch] fix bugs 3305 and 3172

2007-03-04 Thread Georg Baum
Am Samstag, 3. März 2007 02:29 schrieb Juergen Spitzmueller: Georg Baum wrote: Please test. Many thanks. However, +   // files with spaces are often enclosed in quotation marks +   // those have to be removed +   if (contains(foundfile, ' ') foundfile[0] == '' +  

Re: [Cvslog] r17402 - /lyx-devel/trunk/development/scons/SConstruct

2007-03-04 Thread Uwe Stöhr
Michael Gerz schrieb: could you please have a look at this patch. I think you forgot something in the scons script. Yes I did. Many thanks to you and Georg for fixing this. Now everything works as expected. regards Uwe

Re: r17404 - /lyx-devel/trunk/lib/doc/Makefile.am

2007-03-04 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes: | Author: baum | Date: Sun Mar 4 14:05:12 2007 | New Revision: 17404 | | URL: http://www.lyx.org/trac/changeset/17404 | Log: | compile fix. | I have no idea whether this installs correctly, but it compiles at least. Then why commit it? You can test installs by using

Re: r17405 - /lyx-devel/trunk/src/LaTeX.C

2007-03-04 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes: | Author: baum | Date: Sun Mar 4 14:22:38 2007 | New Revision: 17405 | | URL: http://www.lyx.org/trac/changeset/17405 | Log: | Fix bug 3305 | * src/LaTeX.C | (insertIfExists): Catch boost::filesystem exceptions, since they | are not errors in this

Re: r17405 - /lyx-devel/trunk/src/LaTeX.C

2007-03-04 Thread Michael Gerz
Lars Gullik Bjønnes schrieb: And I am really annoyed at you keeping discussions _only_ in bugzilla. Impossible for others to follow development then. Wrong! If you watch [EMAIL PROTECTED] in bugzilla, you will receive all changes to all bug reports (because John is our QA man). Michael

Re: r17405 - /lyx-devel/trunk/src/LaTeX.C

2007-03-04 Thread Georg Baum
Am Sonntag, 4. März 2007 15:38 schrieb Lars Gullik Bjønnes: This really feels wrong. Suddenly it is tripple the complexity. Do you have a better idea? The regexes will never be perfect, so we must be able to test whether a given string denotes an existing file. And I am really annoyed at

Re: r17404 - /lyx-devel/trunk/lib/doc/Makefile.am

2007-03-04 Thread Georg Baum
Am Sonntag, 4. März 2007 15:27 schrieb Lars Gullik Bjønnes: [EMAIL PROTECTED] writes: | Author: baum | Date: Sun Mar 4 14:05:12 2007 | New Revision: 17404 | | URL: http://www.lyx.org/trac/changeset/17404 | Log: | compile fix. | I have no idea whether this installs correctly, but it

LaTeX configuration tool searches for mozilla and netscape on linux

2007-03-04 Thread Anand Rangarajan
In lyx-1.5.0svn (r17395) and on my linux box, when I ask lyx (in the GUI) to reconfigure my latex configuration, I notice that it complains with checking for an HTML previewer... +checking for mozilla... no +checking for netscape... no However, there is no mozilla or netscape on linux at the

Re: LaTeX configuration tool searches for mozilla and netscape on linux

2007-03-04 Thread Michael Gerz
Anand Rangarajan schrieb: When I change lib/configure.py on my linux box to the second line above, a 'View HTML' option shows up in the GUI and I'm able to view HTML using firefox. I just committed a patch that adds firefox! Michael

Re: [Patch] Rework of LyXLex fix at least the vspace dialog bug

2007-03-04 Thread Georg Baum
Am Freitag, 2. März 2007 23:40 schrieb Bernhard Roider: The rule for using the lexer: if you want to know if the lexer still has data to read (either from the stream or from the pushed token) then use lex.isOK(). If you want to test if the last reading operation was successful then use

Re: [Patch] Rework of LyXLex fix at least the vspace dialog bug

2007-03-04 Thread Bernhard Roider
Georg Baum wrote: Am Freitag, 2. März 2007 23:40 schrieb Bernhard Roider: The rule for using the lexer: if you want to know if the lexer still has data to read (either from the stream or from the pushed token) then use lex.isOK(). If you want to test if the last reading operation was

Re: r17405 - /lyx-devel/trunk/src/LaTeX.C

2007-03-04 Thread Lars Gullik Bjønnes
Michael Gerz [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes schrieb: | And I am really annoyed at you keeping discussions _only_ in bugzilla. | Impossible for others to follow development then. | | Wrong! If you watch [EMAIL PROTECTED] in bugzilla, you will | receive all changes to all bug

Google SoC 2007 applications

2007-03-04 Thread Martin Vermeer
The clock is ticking folks, deadline March 12! I put two project proposals on the Wiki as well as I could write them. One is my own original proposal, the other more general. What we need is an administrator, a backup admin, and one or more mentors. It's the organization that submits the

Building 1.5.0beta1 on FreeBSD

2007-03-04 Thread Koji Yokota
Dear list, I'm trying to build 1.5.0beta1 on FreeBSD 6.1, but there seems a problem with included boost. Up to 1.4.4 release, FreeBSD's lyx port was using devel/boost in ports, not included one in lyx. However, it seems lyx-1.5.0beta1 is using functions which is only in cvs, not release version

Re: LyX version 1.5.0 (beta 1) is released

2007-03-04 Thread Rex Dieter
Rex Dieter wrote: José Matos wrote: The code is improving (slowly) but we don't yet have a target date for 1.5.0. OK, your opinion whether we should try to get lyx-1.5.0(beta or not) into Fedora 7: http://fedoraproject.org/wiki/Releases/7 target release May 24(ish) OK, lacking any

Re: [Patch] Rework of LyXLex fix at least the vspace dialog bug

2007-03-04 Thread Bernhard Roider
Lars Gullik Bjønnes wrote: Bernhard Roider [EMAIL PROTECTED] writes: | Ok, then here's the patch with const methods and mutable member | variable. It fixes bug #3293. The patch does a lot of small code shuffling that might change behavior, so it porbably needs some testing. I'll leave it up to

Re: [Patch] TOC Dialog crashes with empty toc list

2007-03-04 Thread Bernhard Roider
Lars Gullik Bjønnes wrote: A space after '' as well please. Also; can list be a const reference? it can be a const reference -- new patch attached Does the enableButtons() have a default arg? If that is our own function I think it should be removed so that have to use true/false

Re: [Patch] TOC Dialog crashes with empty toc list

2007-03-04 Thread Bernhard Roider
Lars Gullik Bjønnes wrote: A space after '' as well please. Also; can list be a const reference? it can be a const reference -- new patch attached - now really Does the enableButtons() have a default arg? If that is our own function I think it should be removed so that have to use

Re: [Patch] Rework of LyXLex fix at least the vspace dialog bug

2007-03-04 Thread Abdelrazak Younes
Lars Gullik Bjønnes wrote: Bernhard Roider [EMAIL PROTECTED] writes: | Hello Lars, | | as Abdel suggested i would like to ask you for SVN commit access, to | be able to commit my contributions by myself. I am a bit reluctant, especially since (pardon me if wrong) you havent contributed much

Re: [Patch] TOC Dialog crashes with empty toc list

2007-03-04 Thread Abdelrazak Younes
Lars Gullik Bjønnes wrote: Bernhard Roider [EMAIL PROTECTED] writes: | @@ -150,9 +153,12 @@ | void QTocDialog::on_moveDownPB_clicked() | { same comment Same comment to what? | @@ -160,9 +166,12 @@ | void QTocDialog::on_moveInPB_clicked() | { same comment ditto | @@ -170,9

Re: Add cjk support

2007-03-04 Thread Abdelrazak Younes
岩見昌範 wrote: Hi. The patch was split in two according to the instruction of Mr. Abdel. support_dashed_underline.patch is a patch to support dashed underline and reverse video. Moreover, support_on_the_spot.patch is a patch to support on the spot in cjk. Hum it seems that you misunderstood me.

[Patch] Bug 3303: Up button in Table of Content will delete text

2007-03-04 Thread Bernhard Roider
Hello, description of bug 3303: moving the last section up in the toc dialog eats the new last paragraph. This patch fixes that, BUT if you move the last paragraph up and press undo afterwards then lyx crashes because in the method BufferView::center(): ... ParagraphMetrics const pm =

Re: [Patch] Bug 3303: Up button in Table of Content will delete text

2007-03-04 Thread Bernhard Roider
the commented line should be deleted in the code... Index: src/toc.C === --- src/toc.C (revision 17395) +++ src/toc.C (working copy) @@ -81,12 +81,13 @@ pit_type const newpit = std::distance(bgn, dest);

Re: r17395 - in /lyx-devel/trunk/src: frontends/qt4/QGraphics...

2007-03-04 Thread Andre Poenitz
On Sun, Mar 04, 2007 at 02:58:15AM +0100, Uwe Stöhr wrote: Lars Gullik Bjønnes schrieb: But it doesn't... SIGNAL( clicked() ) is used elsewhere, not SIGNAL(clicked() ) Indeed. I uniformed it now to SIGNAL( clicked() ). But I still think that we should use SIGNAL(clicked()), but I won't

Re: [Patch] Bug 3303: Up button in Table of Content will delete text

2007-03-04 Thread Abdelrazak Younes
Bernhard Roider wrote: Hello, description of bug 3303: moving the last section up in the toc dialog eats the new last paragraph. This patch fixes that, BUT if you move the last paragraph up and press undo afterwards then lyx crashes because in the method BufferView::center(): ...

Re: [Patch] Bug 3303: Up button in Table of Content will delete text

2007-03-04 Thread Abdelrazak Younes
Bernhard Roider wrote: the commented line should be deleted in the code... Lars would have caught that I'm sure ;-) Index: src/toc.C === --- src/toc.C

Re: [Patch] Bug 3303: Up button in Table of Content will delete text

2007-03-04 Thread Bernhard Roider
Abdelrazak Younes wrote: Bernhard Roider wrote: Hello, description of bug 3303: moving the last section up in the toc dialog eats the new last paragraph. This patch fixes that, BUT if you move the last paragraph up and press undo afterwards then lyx crashes because in the method

Re: [Patch] Bug 3303: Up button in Table of Content will delete text

2007-03-04 Thread Bernhard Roider
Abdelrazak Younes wrote: Bernhard Roider wrote: Hello, description of bug 3303: moving the last section up in the toc dialog eats the new last paragraph. This patch fixes that, BUT if you move the last paragraph up and press undo afterwards then lyx crashes because in the method

Re: LyX-1.4.4-Mac-PPC now available

2007-03-04 Thread Jean-Marc Lasgouttes
Bennett == Bennett Helm [EMAIL PROTECTED] writes: Bennett I just sent a note to the User's list indicating that, thanks Bennett to Anders Ekberg, we have a new version of LyX-1.4.4-Mac-PPC, Bennett which I believe solves problems users have been having. Bennett Jean-Marc, could you put this new

Re: [Patch] Bug 3303: Up button in Table of Content will delete text

2007-03-04 Thread Abdelrazak Younes
Bernhard Roider wrote: Abdelrazak Younes wrote: pit_type const newpit = std::distance(bgn, dest); L1 pit_type const len = std::distance(start, finish); L2 pit += len; -pit = std::min(pit, cur.lastpit()); -recordUndo(cur, Undo::ATOMIC,

Re: [Patch] Bug 3303: Up button in Table of Content will delete text

2007-03-04 Thread Abdelrazak Younes
Bernhard Roider wrote: the code in BufferView::center() is: CursorSlice bot = cursor_.bottom(); TextMetrics tm = text_metrics_[bot.text()]; pit_type const pit = bot.pit(); tm.redoParagraph(pit); ParagraphMetrics const pm = tm.parMetrics(pit); so maybe

Re: [Patch] Bug 3303: Up button in Table of Content will delete text

2007-03-04 Thread Bernhard Roider
Abdelrazak Younes wrote: Bernhard Roider wrote: Hello, description of bug 3303: moving the last section up in the toc dialog eats the new last paragraph. This patch fixes that, BUT if you move the last paragraph up and press undo afterwards then lyx crashes because in the method

Re: [Patch] Bug 3303: Up button in Table of Content will delete text

2007-03-04 Thread Abdelrazak Younes
Bernhard Roider wrote: Abdelrazak Younes wrote: Bernhard Roider wrote: Hello, description of bug 3303: moving the last section up in the toc dialog eats the new last paragraph. This patch fixes that, BUT if you move the last paragraph up and press undo afterwards then lyx crashes because

Re: [Patch] Bug 3303: Up button in Table of Content will delete text

2007-03-04 Thread Bernhard Roider
Bernhard Roider wrote: Hello, description of bug 3303: moving the last section up in the toc dialog eats the new last paragraph. This patch fixes that, BUT ... This one works now: The problem was that pit is a reference to cur.pit() and was set to lastpit() + 1 before calling

Re: Add cjk support

2007-03-04 Thread 岩見昌範
Hum it seems that you misunderstood me. Surely because I did not make myself clear :-( I am sorry to have not been unable to take meaning of a passage into consideration. Since I am not so good at English. I wanted a patch for _on_the_spot_ support that was as minimal as possible; that is to

Re: [Cvslog] r17402 - /lyx-devel/trunk/development/scons/SConstruct

2007-03-04 Thread Michael Gerz
Hi Uwe, could you please have a look at this patch. I think you forgot something in the scons script. Michael [EMAIL PROTECTED] schrieb: Author: schmitt Date: Sun Mar 4 11:52:31 2007 New Revision: 17402 URL: http://www.lyx.org/trac/changeset/17402 Log: * scons/SConstruct: fix

Change Tracking - Exciting Stuff

2007-03-04 Thread Michael Gerz
Folks, there are some exciting news! The following patch removes the ugly dvipost/pplatex stuff and brings change tracking to the pdflatex world!!! Please have a look the attached ct-test.lyx to get an impression on what we can do with the newly supported changes/changebar packages. Guys,

Re: Rearranged LyX-doc image locations

2007-03-04 Thread Georg Baum
Am Sonntag, 4. März 2007 04:29 schrieb Uwe Stöhr: > Dear LyX-documentation developers, > > after JMarc's last change that now every language has its own folder in LyX's SVN repository: > http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/doc/ > > I rearranged the clipart folder in the

Re: [patch] fix bugs 3305 and 3172

2007-03-04 Thread Georg Baum
Am Samstag, 3. März 2007 02:29 schrieb Juergen Spitzmueller: > Georg Baum wrote: > > Please test. > > Many thanks. > > However, > > +   // files with spaces are often enclosed in quotation marks > > +   // those have to be removed > > +   if (contains(foundfile, ' ') && foundfile[0]

Re: [Cvslog] r17402 - /lyx-devel/trunk/development/scons/SConstruct

2007-03-04 Thread Uwe Stöhr
Michael Gerz schrieb: could you please have a look at this patch. I think you forgot something in the scons script. Yes I did. Many thanks to you and Georg for fixing this. Now everything works as expected. regards Uwe

Re: r17404 - /lyx-devel/trunk/lib/doc/Makefile.am

2007-03-04 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes: | Author: baum | Date: Sun Mar 4 14:05:12 2007 | New Revision: 17404 | | URL: http://www.lyx.org/trac/changeset/17404 | Log: | compile fix. | I have no idea whether this installs correctly, but it compiles at least. Then why commit it? You can test installs by using

Re: r17405 - /lyx-devel/trunk/src/LaTeX.C

2007-03-04 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes: | Author: baum | Date: Sun Mar 4 14:22:38 2007 | New Revision: 17405 | | URL: http://www.lyx.org/trac/changeset/17405 | Log: | Fix bug 3305 | * src/LaTeX.C | (insertIfExists): Catch boost::filesystem exceptions, since they | are not errors in this

Re: r17405 - /lyx-devel/trunk/src/LaTeX.C

2007-03-04 Thread Michael Gerz
Lars Gullik Bjønnes schrieb: And I am really annoyed at you keeping discussions _only_ in bugzilla. Impossible for others to follow development then. Wrong! If you watch [EMAIL PROTECTED] in bugzilla, you will receive all changes to all bug reports (because John is our QA man). Michael

Re: r17405 - /lyx-devel/trunk/src/LaTeX.C

2007-03-04 Thread Georg Baum
Am Sonntag, 4. März 2007 15:38 schrieb Lars Gullik Bjønnes: > This really feels wrong. > > Suddenly it is tripple the complexity. Do you have a better idea? The regexes will never be perfect, so we must be able to test whether a given string denotes an existing file. > And I am really annoyed

Re: r17404 - /lyx-devel/trunk/lib/doc/Makefile.am

2007-03-04 Thread Georg Baum
Am Sonntag, 4. März 2007 15:27 schrieb Lars Gullik Bjønnes: > [EMAIL PROTECTED] writes: > > | Author: baum > | Date: Sun Mar 4 14:05:12 2007 > | New Revision: 17404 > | > | URL: http://www.lyx.org/trac/changeset/17404 > | Log: > | compile fix. > | I have no idea whether this installs correctly,

LaTeX configuration tool searches for mozilla and netscape on linux

2007-03-04 Thread Anand Rangarajan
In lyx-1.5.0svn (r17395) and on my linux box, when I ask lyx (in the GUI) to reconfigure my latex configuration, I notice that it complains with checking for an HTML previewer... +checking for "mozilla"... no +checking for "netscape"... no However, there is no mozilla or netscape on linux at

Re: LaTeX configuration tool searches for mozilla and netscape on linux

2007-03-04 Thread Michael Gerz
Anand Rangarajan schrieb: When I change lib/configure.py on my linux box to the second line above, a 'View HTML' option shows up in the GUI and I'm able to view HTML using firefox. I just committed a patch that adds firefox! Michael

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-04 Thread Georg Baum
Am Freitag, 2. März 2007 23:40 schrieb Bernhard Roider: > The rule for using the lexer: > > if you want to know if the lexer still has data to read (either from the stream or from the pushed > token) then use "lex.isOK()". > If you want to test if the last reading operation was successful then

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-04 Thread Bernhard Roider
Georg Baum wrote: Am Freitag, 2. März 2007 23:40 schrieb Bernhard Roider: The rule for using the lexer: if you want to know if the lexer still has data to read (either from the stream or from the pushed token) then use "lex.isOK()". If you want to test if the last reading operation was

Re: r17405 - /lyx-devel/trunk/src/LaTeX.C

2007-03-04 Thread Lars Gullik Bjønnes
Michael Gerz <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes schrieb: | > And I am really annoyed at you keeping discussions _only_ in bugzilla. | > Impossible for others to follow development then. | > | Wrong! If you watch [EMAIL PROTECTED] in bugzilla, you will | receive all changes to all

Google SoC 2007 applications

2007-03-04 Thread Martin Vermeer
The clock is ticking folks, deadline March 12! I put two project proposals on the Wiki as well as I could write them. One is my own original proposal, the other more general. What we need is an administrator, a backup admin, and one or more mentors. It's the organization that submits the

Building 1.5.0beta1 on FreeBSD

2007-03-04 Thread Koji Yokota
Dear list, I'm trying to build 1.5.0beta1 on FreeBSD 6.1, but there seems a problem with included boost. Up to 1.4.4 release, FreeBSD's lyx port was using devel/boost in ports, not included one in lyx. However, it seems lyx-1.5.0beta1 is using functions which is only in cvs, not release version

Re: LyX version 1.5.0 (beta 1) is released

2007-03-04 Thread Rex Dieter
Rex Dieter wrote: > José Matos wrote: >> The code is improving (slowly) but we don't yet have a target date for >> 1.5.0. > OK, your opinion whether we should try to get lyx-1.5.0(beta > or not) into Fedora 7: > http://fedoraproject.org/wiki/Releases/7 > target release May 24(ish) OK,

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-04 Thread Bernhard Roider
Lars Gullik Bjønnes wrote: Bernhard Roider <[EMAIL PROTECTED]> writes: | Ok, then here's the patch with const methods and mutable member | variable. It fixes bug #3293. The patch does a lot of small code shuffling that might change behavior, so it porbably needs some testing. I'll leave it up

Re: [Patch] TOC Dialog crashes with empty toc list

2007-03-04 Thread Bernhard Roider
Lars Gullik Bjønnes wrote: A space after '&' as well please. Also; can list be a const reference? it can be a const reference --> new patch attached Does the enableButtons() have a default arg? If that is our own function I think it should be removed so that have to use true/false

Re: [Patch] TOC Dialog crashes with empty toc list

2007-03-04 Thread Bernhard Roider
Lars Gullik Bjønnes wrote: A space after '&' as well please. Also; can list be a const reference? it can be a const reference --> new patch attached - now really Does the enableButtons() have a default arg? If that is our own function I think it should be removed so that have to use

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-04 Thread Abdelrazak Younes
Lars Gullik Bjønnes wrote: Bernhard Roider <[EMAIL PROTECTED]> writes: | Hello Lars, | | as Abdel suggested i would like to ask you for SVN commit access, to | be able to commit my contributions by myself. I am a bit reluctant, especially since (pardon me if wrong) you havent contributed

Re: [Patch] TOC Dialog crashes with empty toc list

2007-03-04 Thread Abdelrazak Younes
Lars Gullik Bjønnes wrote: Bernhard Roider <[EMAIL PROTECTED]> writes: | @@ -150,9 +153,12 @@ | void QTocDialog::on_moveDownPB_clicked() | { same comment Same comment to what? | @@ -160,9 +166,12 @@ | void QTocDialog::on_moveInPB_clicked() | { same comment ditto | @@ -170,9

Re: Add cjk support

2007-03-04 Thread Abdelrazak Younes
岩見昌範 wrote: Hi. The patch was split in two according to the instruction of Mr. Abdel. "support_dashed_underline.patch" is a patch to support "dashed underline" and "reverse video". Moreover, "support_on_the_spot.patch" is a patch to support "on the spot" in cjk. Hum it seems that you

[Patch] Bug 3303: "Up" button in Table of Content will delete text

2007-03-04 Thread Bernhard Roider
Hello, description of bug 3303: moving the last section up in the toc dialog eats the new last paragraph. This patch fixes that, BUT if you move the last paragraph up and press undo afterwards then lyx crashes because in the method BufferView::center(): ... ParagraphMetrics const & pm =

Re: [Patch] Bug 3303: "Up" button in Table of Content will delete text

2007-03-04 Thread Bernhard Roider
the commented line should be deleted in the code... Index: src/toc.C === --- src/toc.C (revision 17395) +++ src/toc.C (working copy) @@ -81,12 +81,13 @@ pit_type const newpit = std::distance(bgn, dest);

Re: r17395 - in /lyx-devel/trunk/src: frontends/qt4/QGraphics...

2007-03-04 Thread Andre Poenitz
On Sun, Mar 04, 2007 at 02:58:15AM +0100, Uwe Stöhr wrote: > Lars Gullik Bjønnes schrieb: > > >But it doesn't... "SIGNAL( clicked() )" is used elsewhere, not > >"SIGNAL(clicked() )" > > Indeed. I uniformed it now to "SIGNAL( clicked() )". > > >But I still think that we should use

Re: [Patch] Bug 3303: "Up" button in Table of Content will delete text

2007-03-04 Thread Abdelrazak Younes
Bernhard Roider wrote: Hello, description of bug 3303: moving the last section up in the toc dialog eats the new last paragraph. This patch fixes that, BUT if you move the last paragraph up and press undo afterwards then lyx crashes because in the method BufferView::center(): ...

Re: [Patch] Bug 3303: "Up" button in Table of Content will delete text

2007-03-04 Thread Abdelrazak Younes
Bernhard Roider wrote: the commented line should be deleted in the code... Lars would have caught that I'm sure ;-) Index: src/toc.C === --- src/toc.C

Re: [Patch] Bug 3303: "Up" button in Table of Content will delete text

2007-03-04 Thread Bernhard Roider
Abdelrazak Younes wrote: Bernhard Roider wrote: Hello, description of bug 3303: moving the last section up in the toc dialog eats the new last paragraph. This patch fixes that, BUT if you move the last paragraph up and press undo afterwards then lyx crashes because in the method

Re: [Patch] Bug 3303: "Up" button in Table of Content will delete text

2007-03-04 Thread Bernhard Roider
Abdelrazak Younes wrote: Bernhard Roider wrote: Hello, description of bug 3303: moving the last section up in the toc dialog eats the new last paragraph. This patch fixes that, BUT if you move the last paragraph up and press undo afterwards then lyx crashes because in the method

Re: LyX-1.4.4-Mac-PPC now available

2007-03-04 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> I just sent a note to the User's list indicating that, thanks Bennett> to Anders Ekberg, we have a new version of LyX-1.4.4-Mac-PPC, Bennett> which I believe solves problems users have been having. Bennett> Jean-Marc, could you

Re: [Patch] Bug 3303: "Up" button in Table of Content will delete text

2007-03-04 Thread Abdelrazak Younes
Bernhard Roider wrote: Abdelrazak Younes wrote: pit_type const newpit = std::distance(bgn, dest); L1 pit_type const len = std::distance(start, finish); L2 pit += len; -pit = std::min(pit, cur.lastpit()); -recordUndo(cur, Undo::ATOMIC,

Re: [Patch] Bug 3303: "Up" button in Table of Content will delete text

2007-03-04 Thread Abdelrazak Younes
Bernhard Roider wrote: the code in BufferView::center() is: CursorSlice & bot = cursor_.bottom(); TextMetrics & tm = text_metrics_[bot.text()]; pit_type const pit = bot.pit(); tm.redoParagraph(pit); ParagraphMetrics const & pm = tm.parMetrics(pit); so maybe

Re: [Patch] Bug 3303: "Up" button in Table of Content will delete text

2007-03-04 Thread Bernhard Roider
Abdelrazak Younes wrote: Bernhard Roider wrote: Hello, description of bug 3303: moving the last section up in the toc dialog eats the new last paragraph. This patch fixes that, BUT if you move the last paragraph up and press undo afterwards then lyx crashes because in the method

Re: [Patch] Bug 3303: "Up" button in Table of Content will delete text

2007-03-04 Thread Abdelrazak Younes
Bernhard Roider wrote: Abdelrazak Younes wrote: Bernhard Roider wrote: Hello, description of bug 3303: moving the last section up in the toc dialog eats the new last paragraph. This patch fixes that, BUT if you move the last paragraph up and press undo afterwards then lyx crashes because

Re: [Patch] Bug 3303: "Up" button in Table of Content will delete text

2007-03-04 Thread Bernhard Roider
Bernhard Roider wrote: Hello, description of bug 3303: moving the last section up in the toc dialog eats the new last paragraph. This patch fixes that, BUT ... This one works now: The problem was that pit is a reference to cur.pit() and was set to lastpit() + 1 before calling

Re: Add cjk support

2007-03-04 Thread 岩見昌範
Hum it seems that you misunderstood me. Surely because I did not make myself clear :-( I am sorry to have not been unable to take meaning of a passage into consideration. Since I am not so good at English. I wanted a patch for _on_the_spot_ support that was as minimal as possible; that is to