Re: Please! publish the .spec files!

2006-03-11 Thread Kayvan A. Sylvan
On Sat, Mar 11, 2006 at 06:19:21AM -0600, Paul Elliott wrote: > In ftp://ftp.lyx.org/pub/lyx/bin/1.4.0/ there are various > rpm binaries for people with different architectures > and distros. They are very useful. Thank You. > > I realize that it may use excesive disk space to publish > source rpm

Automated build fails (primary_transform.hpp needed by distdir)

2006-03-11 Thread Kayvan A. Sylvan
On Sat, Mar 11, 2006 at 02:45:50PM -0800, Cron Daemon wrote: > [...] > make[3]: Entering directory `/home/kayvan/src/lyx/build/boost/libs/regex' > mkdir -p -- > /home/kayvan/src/lyx/build/lyx-1.5.0svn/boost/libs/regex/../../../config > list='src'; for subdir in $list; do \ > if test "$subdir" =

Re: Pending patches for 1.5 -> 1.4.x

2006-03-11 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Once you get used to it, it'll become second nature. One especially | nice thing to do is: | | foo.h: |#ifndef FOO_H |#define FOO_H | |void myFunc(int a); | |#endif | | foo.C: |#include |#include "foo.h" | |void myFunc(i

Re: [Patch] ParagraphList uses RandomAccessList

2006-03-11 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Obviously not, I've put them at | http://younes.a.free.fr Ok, got it. -- Lgb

Re: Pending patches for 1.5 -> 1.4.x

2006-03-11 Thread Angus Leeming
Abdelrazak Younes wrote: enpos is a size_t, do you really think there is a benefit to make it const? I believe you and I made the change but I'd really like to know the benefits... And by the way, why not startpos? startpos too :) Everything that you can make const should be const. It's not a

Re: [patch] fix lib/configure.py

2006-03-11 Thread Angus Leeming
Abdelrazak Younes wrote: Lars Gullik Bjønnes a écrit : Georg Baum writes: | I have replaced the m4 version of lib/configure with the python version | since several weeks now. After fixing some bugs (mainly typos) it works | fine. | The attached patch contains these fixes and makes lib/configur

Re: LyX on Mac with Qt-4

2006-03-11 Thread Angus Leeming
Abdelrazak Younes wrote: Abdelrazak Younes a écrit : Bennett Helm a écrit : Dialogs.C:275: error: expected type-specifier before 'ControlRef' Dialogs.C:275: error: expected `)' before 'ControlRef' Dialogs.C:275: error: no matching function for call to 'lyx::frontend::Dialog::setController(in

Re: [Patch] ParagraphList uses RandomAccessList

2006-03-11 Thread Abdelrazak Younes
Obviously not, I've put them at http://younes.a.free.fr Abdelrazak Younes a écrit : Lars Gullik Bjønnes a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Hello again, | | Please find attached the last iteration of the ParagraphList rewrite. | It's updated to take into account Angus a

Re: [Patch] ParagraphList uses RandomAccessList

2006-03-11 Thread Abdelrazak Younes
Lars Gullik Bjønnes a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Hello again, | | Please find attached the last iteration of the ParagraphList rewrite. | It's updated to take into account Angus and Lars recent comment. I | have tested it as usual and I cannot see anything wrong wi

Re: [Announce] LyX version 1.4.0

2006-03-11 Thread Rainer Dorsch
José , many thanks for the quick reply. How do you change character styles? I found neither a menu entry nor could I enter a command (or at least I could not figure out which one I should enter). I tried to find out how that works with docbook-book.layout...while browsing through menues I saw

Re: [Patch] ParagraphList uses RandomAccessList

2006-03-11 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Hello again, | | Please find attached the last iteration of the ParagraphList rewrite. | It's updated to take into account Angus and Lars recent comment. I | have tested it as usual and I cannot see anything wrong with it. | | I am a bit fad up wit

Re: [Patch-Qt4] QWorkArea cleanup

2006-03-11 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | PS: Lars, I sent you a private email about this svn account, I don't | know if you received it. In progress. -- Lgb

[Patch] ParagraphList uses RandomAccessList

2006-03-11 Thread Abdelrazak Younes
Hello again, Please find attached the last iteration of the ParagraphList rewrite. It's updated to take into account Angus and Lars recent comment. I have tested it as usual and I cannot see anything wrong with it. I am a bit fad up with it so take it please. Abdel. Index: D:/msys/home/yns/

[Patch-Qt4] MacOSX compilation fixes

2006-03-11 Thread Abdelrazak Younes
Hello, Could someone commit this please? It contains compilation fixes for MacOSX as reported by Bennet. There is still a problem with Dialog.C:275 which does not recognize ControlRef although it is included. Thanks in advance. Abdel. PS: I'll update the changelog after the previous patch i

Re: [Patch-Qt4] QWorkArea cleanup

2006-03-11 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Hello, Could someone please commit this? I would like applied before I the following one which conatains compilation fixes for MacOSX. In English this means: I would like it applied before the following one which contains compilation fixes for MacOSX. Abdel.

[Patch-Qt4] QWorkArea cleanup

2006-03-11 Thread Abdelrazak Younes
Hello, Could someone please commit this? I would like applied before I the following one which conatains compilation fixes for MacOSX. Thanks in advance, Abdel. PS: Lars, I sent you a private email about this svn account, I don't know if you received it. Index: D:/msys/home/yns/src/lyx-svn

Re: attempting to build 1.5

2006-03-11 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: > Have you set LD_LIBRARY_PATH? might be required to pick up the correct > libstdc++. No. I thought the LDFLAGS would suffice. Unfortunately, setting the LD_LIBRARY_PATH did not help either. I think I'll try again tomorrow with a clean tree. > I usually change my path

Re: attempting to build 1.5

2006-03-11 Thread Lars Gullik Bjønnes
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: | Since my compiler (gcc-4.0.2) fails to build HEAD, I have grabbed gcc-4.1 and | installed in parallel. | | I tried to build 1.5 with it, and it seems to succeed. However, on startup, | LyX exits with the following message: | | *** glibc detect

attempting to build 1.5

2006-03-11 Thread Juergen Spitzmueller
Since my compiler (gcc-4.0.2) fails to build HEAD, I have grabbed gcc-4.1 and installed in parallel. I tried to build 1.5 with it, and it seems to succeed. However, on startup, LyX exits with the following message: *** glibc detected *** free(): invalid next size (fast): 0x0880c188 *** I have

Doc patch (Re: [Patch] Change tracking)

2006-03-11 Thread Martin Vermeer
On Sat, Mar 11, 2006 at 11:51:39AM +0100, Jean-Marc Lasgouttes wrote: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> A large part of the backspace method was factored out into > Martin> backspacePos0. Some 50+ lines, that changes indent and show up > Martin> as insertio

Re: Fix to bug 2362: Deleting superscript also deletes subscript.

2006-03-11 Thread Martin Vermeer
On Sat, Mar 11, 2006 at 04:37:08PM +0100, Lars Gullik Bjønnes wrote: > Martin Vermeer <[EMAIL PROTECTED]> writes: > > | Corrects faulty logic for deleting empty sub/super scripts on > | leaving them. > | > | Was tested by me and Georg, and does the job. > | > | OK to commit to both trunk and 1.

Re: Pending patches for 1.5 -> 1.4.x

2006-03-11 Thread Abdelrazak Younes
Lars Gullik Bjønnes a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > I am not sure there are many precedence for capitalized member variables | > in LyX code. | | There are some from which I took example... I think you guys should | agree on coding style guidelines and write a _smal

Re: Pending patches for 1.5 -> 1.4.x

2006-03-11 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | | >> bool erase(iterator start, iterator end) { | | >> size_t startpos = std::distance(Container_.begin(), static_cast(start)); | | >> size_t endpos = std::distance(Container_.begin(), static_cast(end)); | | >> return

Re: [patch] fix lib/configure.py

2006-03-11 Thread Abdelrazak Younes
Lars Gullik Bjønnes a écrit : Georg Baum <[EMAIL PROTECTED]> writes: | I have replaced the m4 version of lib/configure with the python version | since several weeks now. After fixing some bugs (mainly typos) it works | fine. | The attached patch contains these fixes and makes lib/configure.py

Re: [patch] fix lib/configure.py

2006-03-11 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | I have replaced the m4 version of lib/configure with the python version | since several weeks now. After fixing some bugs (mainly typos) it works | fine. | The attached patch contains these fixes and makes lib/configure.py a fully | working replacement o

Re: Lyx-trunk configure fails

2006-03-11 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Wed, Mar 08, 2006 at 10:30:02PM +0100, Jean-Marc Lasgouttes wrote: | > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: | > | > Andre> However, if the idea is to enforce LF in this file the | > Andre> canonical solution is a pre-commit hook

Re: [patch] bug 2006: Cursor positioning in tables off by half a mouse pointer

2006-03-11 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: > But I must admit that I am not very fond of the 'fixedintrunk' keyword > at all. Do you have an alternative? If so, now would be a good time to introduce it. Jürgen

Re: Pending patches for 1.5 -> 1.4.x

2006-03-11 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > I am not sure there are many precedence for capitalized member variables | > in LyX code. | | There are some from which I took example... I think you guys should | agree on coding style guidelines and write a _small_ document with it. | Second ste

Re: [patch] bug 2006: Cursor positioning in tables off by half a mouse pointer

2006-03-11 Thread Lars Gullik Bjønnes
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > Trunk ok. | | Thanks. BTW are the old fixedintrunk marks resolved, so that we can use the | keyword now for fixes in 1.5svn? I belive so. But I must admit that I am not very fond of the 'fixedintrunk' keyword at

Re: [patch] bug 2006: Cursor positioning in tables off by half a mouse pointer

2006-03-11 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: > Trunk ok. Thanks. BTW are the old fixedintrunk marks resolved, so that we can use the keyword now for fixes in 1.5svn? Jürgen

Re: [patch] bug 2006: Cursor positioning in tables off by half a mouse pointer

2006-03-11 Thread Lars Gullik Bjønnes
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: | http://bugzilla.lyx.org/show_bug.cgi?id=2006 | | A trivial and obvious fix: when fixing insettabular's dist() method a few | months ago, I have accidentally also taken tabular.getAdditionalHeight() into | account (the extra height when we have

Re: Fix to bug 2362: Deleting superscript also deletes subscript.

2006-03-11 Thread Lars Gullik Bjønnes
Martin Vermeer <[EMAIL PROTECTED]> writes: | Corrects faulty logic for deleting empty sub/super scripts on | leaving them. | | Was tested by me and Georg, and does the job. | | OK to commit to both trunk and 1.4.x? Ok for trunk. -- Lgb

Re: Pending patches for 1.5 -> 1.4.x

2006-03-11 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | > private: | > /// Our container. | > Container Container_; | > /// Our vector of container iterator. | > std::vector ItVector_; | | I am not sure there are many precedence for capitalized member variables | in LyX code. Our rules say "

Re: [patch] bug 1999: Wrong default label in figure captions

2006-03-11 Thread Georg Baum
Am Samstag, 11. März 2006 15:34 schrieb Juergen Spitzmueller: > http://bugzilla.lyx.org/show_bug.cgi?id=1999 > > The attached patch works perfectly for me. For me too. > What do you think? Looks good. Some hardcoding, but we can't do without unfortunately. Georg

[patch] bug 2006: Cursor positioning in tables off by half a mouse pointer

2006-03-11 Thread Juergen Spitzmueller
http://bugzilla.lyx.org/show_bug.cgi?id=2006 A trivial and obvious fix: when fixing insettabular's dist() method a few months ago, I have accidentally also taken tabular.getAdditionalHeight() into account (the extra height when we have double rules), which has to be neglected in this calculatio

[patch] fix lib/configure.py

2006-03-11 Thread Georg Baum
I have replaced the m4 version of lib/configure with the python version since several weeks now. After fixing some bugs (mainly typos) it works fine. The attached patch contains these fixes and makes lib/configure.py a fully working replacement of lib/configure. It also contains whitespace adju

[patch] bug 1999: Wrong default label in figure captions

2006-03-11 Thread Juergen Spitzmueller
http://bugzilla.lyx.org/show_bug.cgi?id=1999 The attached patch works perfectly for me. What do you think? Jürgen Index: src/text.C === --- src/text.C (Revision 13335) +++ src/text.C (Arbeitskopie) @@ -2264,8 +2264,18 @@ string LyXT

Fix to bug 2325: Mouse click to right of last nestinset in a cell will position cursor to its left

2006-03-11 Thread Martin Vermeer
Patch was tested by Joost. OK to commit (no mysterious constants here :) ? Both trunk and 1.4.x. - Martin Index: math_data.C === --- math_data.C (revision 13276) +++ math_data.C (working copy) @@ -393,7 +393,7 @@ * the r

Fix to bug 2362: Deleting superscript also deletes subscript.

2006-03-11 Thread Martin Vermeer
Corrects faulty logic for deleting empty sub/super scripts on leaving them. Was tested by me and Georg, and does the job. OK to commit to both trunk and 1.4.x? - Martin Index: math_scriptinset.C === --- math_scriptinset.C (revis

Re: [Patch] Change tracking

2006-03-11 Thread Martin Vermeer
On Sat, Mar 11, 2006 at 11:51:39AM +0100, Jean-Marc Lasgouttes wrote: > > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > Martin> A large part of the backspace method was factored out into > Martin> backspacePos0. Some 50+ lines, that changes indent and show up > Martin> as insertio

Please! publish the .spec files!

2006-03-11 Thread Paul Elliott
In ftp://ftp.lyx.org/pub/lyx/bin/1.4.0/ there are various rpm binaries for people with different architectures and distros. They are very useful. Thank You. I realize that it may use excesive disk space to publish source rpm since the tarballs are available. One request in the spirit of the GPL: P

Working with branches

2006-03-11 Thread Georg Baum
In the past I have used the following procedure (given by Alfredo) to merge changes from HEAD to a branch. They assume that the current working directory is a check out copy of BooktabBranch: 1) cvs rtag -F -r HEAD BooktabNewBase lyx-devel 2) cvs update -j BooktabBase -j BooktabNewBase 3) cvs rt

Re: LyX on Mac with Qt-4

2006-03-11 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Found nothing... But a bit of googling tells me Abdelrazak> . The question is again why do Abdelrazak> we need to include that for Mac and not for other Abdelrazak> platform? Yes, this is the one you need. What happen

Re: [Patch] Change tracking

2006-03-11 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> A large part of the backspace method was factored out into Martin> backspacePos0. Some 50+ lines, that changes indent and show up Martin> as insertions/deletions in the patch. Out of total 203- and Martin> 256+. If it is the sam

Re: LyX on Mac with Qt-4

2006-03-11 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Bennett Helm a écrit : Dialogs.C:275: error: expected type-specifier before 'ControlRef' Dialogs.C:275: error: expected `)' before 'ControlRef' Dialogs.C:275: error: no matching function for call to 'lyx::frontend::Dialog::setController(int*)' ../../../src/frontends/

Re: Pending patches for 1.5 -> 1.4.x

2006-03-11 Thread Abdelrazak Younes
Hello Andre, I noticed that your mails seem to arrive with a delay of one or two days. Maybe your clock settings are wrong or something? Andre Poenitz a écrit : On Wed, Mar 08, 2006 at 04:28:30PM +0100, Abdelrazak Younes wrote: It shouldn't be much of a difference, but the canonical way for