[REPOSTED: Compile/link problem (lyx-1.5.0svn)]

2006-03-24 Thread Kayvan A. Sylvan
- Forwarded message from Kayvan A. Sylvan [EMAIL PROTECTED] - From: Kayvan A. Sylvan [EMAIL PROTECTED] To: LyX Developers lyx-devel@lists.lyx.org Subject: Compile/link problem (lyx-1.5.0svn) My automated builds are still not happening. The link is failing with multiple definition of

Re: configure failure... (latest CVS) missing file?

2006-03-24 Thread Kayvan A. Sylvan
On Thu, Mar 23, 2006 at 10:56:49PM +0100, Lars Gullik Bjønnes wrote: Kayvan A. Sylvan [EMAIL PROTECTED] writes: | Yes. This gets me past the initial problem. Now there is a link issue (see | my other email). I am unable to find your other mail, can you repost? I just did.

Re: [REPOSTED: Compile/link problem (lyx-1.5.0svn)]

2006-03-24 Thread Juergen Spitzmueller
Kayvan A. Sylvan wrote: My automated builds are still not happening. The link is failing with multiple definition of (anonymous namespace)... messages. This is a bug in gcc 4.0.2 and some 4.0.3 pre versions. Already discussed extensively on this list. Jürgen

Re: Possible charstyle bug

2006-03-24 Thread Martin Vermeer
On Fri, Mar 24, 2006 at 04:55:21AM +0200, Martin Vermeer wrote: ... Ah. So we have to add a forceDefaultParagraphs = true definition... No, not enough. In ERT, we intercept LFUN_PASTE in the dispatch routine and reset the pasted paragraphs (these come from doInsertInset). The same problem

Re: [PATCH} Was: Feature request: Remember the editing location when a file is closed.

2006-03-24 Thread Angus Leeming
Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Bo Peng [EMAIL PROTECTED] writes: | +void FilePositions::readFile(string const filename) | +{ | + // we will not complain if we can't find filename nor will | + // we issue a warning. (Lgb) | + ifstream ifs(filename.c_str()); | + string

Re: A Cygwin related patch

2006-03-24 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Here you basically revert external_path on non-cygwin windows. Georg This is a bit ugly, so I moved this into a new function Georg lyx::support::os::latex_path(). This is a noop except on Georg cygwin, where it is identical to external_path().

Re: Potential 1.4 patches

2006-03-24 Thread Jean-Marc Lasgouttes
Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes: Juergen Am Freitag, 24. März 2006 00:38 schrieb Michael Gerz: Change Tracking r13339 - Fix bug 880, or the multi-paragraph change tracking patch r13356 - fix painting of change bar with only paragraph break changed r13385 - Change

Re: [PATCH} Was: Feature request: Remember the editing location when a file is closed.

2006-03-24 Thread Jean-Marc Lasgouttes
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars Just as a test... load a document move the cursor save. Exit Lars lyx. Start lyx. Load a different document. Load the first doc. Lars Where is the cursor placed now? To make things fail you have to edit the file before saving. Something

Re: Potential 1.4 patches

2006-03-24 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: What is your opinion about this patch? Is it really ready? I could be coaxed into putting it in 1.4.1. Yes, my opinion is that is is ready. I have tested it quite a bit and thanks to Martins patience and effort, I am not aware of any major problem anymore in this

qt4 and g++-4.1 trouble:

2006-03-24 Thread Helge Hafting
Abdelrazak Younes wrote: Helge Hafting a écrit : I finally got my compiler sorted out, I can compile lyx again. :-) At least I got the qt frontend going with g++ 4.1 I then tried to install qt4 tools libraries to compile that frontend, but it failed. Is qt4 simply not ready for testing

Re: [PATCH} Was: Feature request: Remember the editing location when a file is closed.

2006-03-24 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | Bo Peng [EMAIL PROTECTED] writes: | | +void FilePositions::readFile(string const filename) | | +{ | | + // we will not complain if we can't find filename nor will | | + // we issue a warning. (Lgb) |

Re: qt4 and g++-4.1 trouble:

2006-03-24 Thread Abdelrazak Younes
Replying to myself because I forgot to put lyx-devel in copy. Abdelrazak Younes a écrit : Abdelrazak Younes a écrit : Helge Hafting a écrit : ../QDocumentDialog.h:95: error: 'BiblioUi' is not a member of 'Ui' ../QDocumentDialog.h:95: error: 'BiblioUi' is not a member of 'Ui'

Re: qt4 and g++-4.1 trouble:

2006-03-24 Thread Georg Baum
Helge Hafting wrote: It compiles fine for a while, then: /usr/bin/moc -o QDocumentDialog_moc.C ../QDocumentDialog.h This looks wrong. Why does iot not pick up the qt4 moc? Do you have installed the qt4 devel tools? g++-4.1 -DHAVE_CONFIG_H -I. -I. -I../../../../src -DQT_CLEAN_NAMESPACE

Re: qt4 and g++-4.1 trouble:

2006-03-24 Thread Abdelrazak Younes
Georg Baum a écrit : Helge Hafting wrote: It compiles fine for a while, then: /usr/bin/moc -o QDocumentDialog_moc.C ../QDocumentDialog.h This looks wrong. Indeed...

Re: [PATCH} Was: Feature request: Remember the editing location when a file is closed.

2006-03-24 Thread Angus Leeming
Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | If this is meant to be code to read a comma-separated list, then it's not | robust. This file can be edited by hand... If you edit it by hand you are on your own. But sure if we can make it more robust. | Bo, have a look at Boost.Tokenizer.

Re: A Cygwin related patch

2006-03-24 Thread Georg Baum
Jean-Marc Lasgouttes wrote: I thought the idea of cygwin_path_fix was that it is only needed for latex. I am not so sure anymore. The lines //No backslashes in LaTeX files dos_path = subst(dos_path,'\\','/'); would support the argument that external_path() is intended for

Re: qt4 and g++-4.1 trouble:

2006-03-24 Thread Abdelrazak Younes
Helge Hafting a écrit : Abdelrazak Younes wrote: This config command works fine: svn up ./autogen.sh make distclean ./configure --prefix=/usr/local --with-frontend=qt4 --with-gnu-ld --enable-optimization=-O2 --with-qt4-includes=/usr/include/qt4 This one is weird... You should use

Re: Wiki question: What is spam? And, separate group for non-LyX stuff?

2006-03-24 Thread christian . ridderstrom
On Fri, 24 Mar 2006, Jean-Marc Lasgouttes wrote: christian However, since no one else has given an opinion on this christian I'll just let it rest. It's not like I can't create a christian separate wiki later on :-) I think we can let it rest for now (although I do not like much

Re: qt4 and g++-4.1 trouble:

2006-03-24 Thread Angus Leeming
Abdelrazak Younes [EMAIL PROTECTED] writes: ...make sure that the qt4 version of moc and uic are in your path before qt3 version. H. qt.m4 should definitely test that the moc and uic it finds are the Qt4 versions. Angus

Re: [PATCH} Was: Feature request: Remember the editing location when a file is closed.

2006-03-24 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | | If this is meant to be code to read a comma-separated list, then it's not | | robust. This file can be edited by hand... | | If you edit it by hand you are on your own. | But sure if we can make it

Re: qt4 and g++-4.1 trouble:

2006-03-24 Thread Georg Baum
Angus Leeming wrote: Abdelrazak Younes [EMAIL PROTECTED] writes: ...make sure that the qt4 version of moc and uic are in your path before qt3 version. H. qt.m4 should definitely test that the moc and uic it finds are the Qt4 versions. Yes, but for now it does not do so. It will

Re: [PATCH} Was: Feature request: Remember the editing location when a file is closed.

2006-03-24 Thread Angus Leeming
Lars Gullik Bjønnes [EMAIL PROTECTED] writes: I am still not sure. boost::regex reg(([^,]+),[ ]+(.*)); Does your regex work over multiple lines, for example? Regexes are expensive to construct and a pain to maintain. As case in point, what is that (.*) group doing? If you want to handle

Re: Possible charstyle bug

2006-03-24 Thread Martin Vermeer
On Fri, Mar 24, 2006 at 10:38:24AM +0200, Martin Vermeer wrote: On Fri, Mar 24, 2006 at 04:55:21AM +0200, Martin Vermeer wrote: ... Ah. So we have to add a forceDefaultParagraphs = true definition... No, not enough. In ERT, we intercept LFUN_PASTE in the dispatch routine and reset the

Re: [PATCH} Was: Feature request: Remember the editing location when a file is closed.

2006-03-24 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | I am still not sure. | boost::regex reg(([^,]+),[ ]+(.*)); | | Does your regex work over multiple lines, for example? It does not have to. | Regexes are expensive to construct and a pain to maintain. |

Re: qt4 and g++-4.1 trouble:

2006-03-24 Thread Helge Hafting
Abdelrazak Younes wrote: Replying to myself because I forgot to put lyx-devel in copy. Abdelrazak Younes a écrit : Abdelrazak Younes a écrit : Helge Hafting a écrit : ../QDocumentDialog.h:95: error: 'BiblioUi' is not a member of 'Ui' ../QDocumentDialog.h:95: error: 'BiblioUi' is not a

Help request: QController and QView

2006-03-24 Thread Abdelrazak Younes
Hello, I am trying to implement a nice Citation dialog for qt4 but I have difficulties with the controller: Right now, QCitation derives from QControllerControlCitation, QViewQCitationDialog . I have approximatively the same code as in the qt2 frontend but the OK and Apply buttons don't

Re: qt4 and g++-4.1 trouble:

2006-03-24 Thread Abdelrazak Younes
Helge Hafting a écrit : Abdelrazak Younes wrote: ../QDocumentDialog.h:95: error: 'BiblioUi' is not a member of 'Ui' ../QDocumentDialog.h:95: error: 'BiblioUi' is not a member of 'Ui' ../QDocumentDialog.h:95: error: template argument 1 is invalid OK, I see the problem, it is not related to

Re: [PATCH} Was: Feature request: Remember the editing location when a file is closed.

2006-03-24 Thread Jean-Marc Lasgouttes
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars Angus Leeming [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes | Does your regex work over multiple lines, for example? Lars It does not have to. I even think it should not.

Re: A Cygwin related patch

2006-03-24 Thread Georg Baum
Jean-Marc Lasgouttes wrote: I think I agree with it. Could you repost it please? I am lost in the thread :) Sure, here it is. GeorgIndex: src/support/os_unix.C === --- src/support/os_unix.C (Revision 13467) +++

Re: A Cygwin related patch

2006-03-24 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Jean-Marc Lasgouttes wrote: I think I agree with it. Could you repost it please? I am lost in the thread :) Georg Sure, here it is. Yes, that's the one I saw. Apply it to trunk and branch. JMarc

Re: A Cygwin related patch

2006-03-24 Thread Enrico Forestieri
On Fri, Mar 24, 2006 at 11:09:00AM +0100, Georg Baum wrote: Jean-Marc Lasgouttes wrote: I thought the idea of cygwin_path_fix was that it is only needed for latex. I am not so sure anymore. Why do you say so? The lines //No backslashes in LaTeX files dos_path =

Re: A Cygwin related patch

2006-03-24 Thread Enrico Forestieri
On Fri, Mar 24, 2006 at 12:51:17PM +0100, Georg Baum wrote: Jean-Marc Lasgouttes wrote: I think I agree with it. Could you repost it please? I am lost in the thread :) Sure, here it is. I have a comment on this patch. I see that you get rid of the rtrim call in latex_path. This has the

Re: Revision 13302 link errors

2006-03-24 Thread John C. Spray
On Wed, 2006-03-08 at 16:16 +0200, Martin Vermeer wrote: I may have missed this, but do you have an external boost installed? No. Should I? If I understood the bug report correctly, having precompiled headers there could cause this. Apparently not. Any news on this problem? Has

Re: [PATCH] better support for classes that do not define a ToC

2006-03-24 Thread John C. Spray
On Wed, 2006-03-22 at 15:39 +0100, Jean-Marc Lasgouttes wrote: Comments? I'd like to apply it for 1.4.1. Then of course we'll have to fix the actual problem. Looking at your qt2 patch, it doesn't seem like you're handling the case where the use selects a different document class then goes

Re: A Cygwin related patch

2006-03-24 Thread Georg Baum
Enrico Forestieri wrote: I have a comment on this patch. I see that you get rid of the rtrim call in latex_path. This has the following effect: in all cases the argument of [EMAIL PROTECTED] will have two '/' appended, except on cygwin when cygwin_path_fix_ is true, in which case only one '/'

Re: A Cygwin related patch

2006-03-24 Thread Georg Baum
Enrico Forestieri wrote: On Fri, Mar 24, 2006 at 11:09:00AM +0100, Georg Baum wrote: So what do you think about the patch? Should it go in, or should we first research the use cygwin_path_fix in external_path or not issue? In my experience, if a cygwin application does not try to manipulate

Re: Help request: QController and QView

2006-03-24 Thread Angus Leeming
Abdelrazak Younes [EMAIL PROTECTED] writes: Right now, QCitation derives from QControllerControlCitation, QViewQCitationDialog . I have approximatively the same code as in the qt2 frontend but the OK and Apply buttons don't work properly. It seems that QCitation::update_content is properly

Re: [PATCH] better support for classes that do not define a ToC

2006-03-24 Thread Jean-Marc Lasgouttes
John == John C Spray [EMAIL PROTECTED] writes: John On Wed, 2006-03-22 at 15:39 +0100, Jean-Marc Lasgouttes wrote: Comments? I'd like to apply it for 1.4.1. Then of course we'll have to fix the actual problem. John Looking at your qt2 patch, it doesn't seem like you're handling John the case

Re: [PATCH] better support for classes that do not define a ToC

2006-03-24 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Am Mittwoch, 22. März 2006 15:39 schrieb Jean-Marc Lasgouttes: Comments? I'd like to apply it for 1.4.1. Then of course we'll have to fix the actual problem. Georg I think you should put that in. Even if we are going to fix the Georg xurrent

Re: Revision 13302 link errors

2006-03-24 Thread Lars Gullik Bjønnes
John C. Spray [EMAIL PROTECTED] writes: | On Wed, 2006-03-08 at 16:16 +0200, Martin Vermeer wrote: |I may have missed this, but do you have an external boost installed? | | No. Should I? | | If I understood the bug report correctly, having precompiled headers | there could cause

Re: [PATCH] bug 2217: getting out of mathed is slow

2006-03-24 Thread Jean-Marc Lasgouttes
Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Jean-Marc OK, since you insist, I'll attach it :) Jean-Marc Wrong one. I need sleep. Applied. JMarc

Re: [patch] fix layout2layout

2006-03-24 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg The attached patch is the outcome of a discussion with Georg Jean-Marc at http://bugzilla.lyx.org/show_bug.cgi?id=2355. The Georg problem is that I did not realize that TocLevel was a new Georg keyword when I wrote layout2layout. Georg This

Re: Help request: QController and QView

2006-03-24 Thread Abdelrazak Younes
Angus Leeming a écrit : Abdelrazak Younes [EMAIL PROTECTED] writes: Right now, QCitation derives from QControllerControlCitation, QViewQCitationDialog . I have approximatively the same code as in the qt2 frontend but the OK and Apply buttons don't work properly. It seems that

Re: [patch] fix layout2layout

2006-03-24 Thread Georg Baum
Jean-Marc Lasgouttes wrote: It looks good. Are you sure that MaxCounter can be Counter_enumi+? I don't know. I simply looked up the valid counter names. These maxcounter levels are not used lateron anyway, but I added them because I wanted to have something else than 0 in this case. Other

Re: [PATCH} Was: Feature request: Remember the editing location when a file is closed.

2006-03-24 Thread Bo Peng
We have 'lastfiles' and 'lastpos' as configurable filenames, I am not sure that they should be. IMHO we should just hardcode them. Opinions on that? I just tried to make features of lastpos parallel to lastfiles. I do not think these filenames need to be configured. lastfile::dostat may not be

Re: Help request: QController and QView

2006-03-24 Thread Angus Leeming
Abdelrazak Younes [EMAIL PROTECTED] writes: The logic of the buttons, as far as I remember: Press the button. This should trigger a call to Dialog::Controller::ApplyButton() AFAIR. Within that method is a call to view().apply() which is what QCitation::apply() is. That's what I

Re: [PATCH] bug 675: cannot insert a graphics in a caption

2006-03-24 Thread Jean-Marc Lasgouttes
Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Jean-Marc As discussed in the bug, this fixes the bug by making Jean-Marc graphics in caption generate proper latex (with \protect). Jean-Marc It is then up to the user to realize that the graphics is Jean-Marc in the wrong place (note

Re: [patch] fix layout2layout

2006-03-24 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Jean-Marc Lasgouttes wrote: It looks good. Are you sure that MaxCounter can be Counter_enumi+? Georg I don't know. I simply looked up the valid counter names. These Georg maxcounter levels are not used lateron anyway, but I added them Georg

[Patch in parent, n/t] Re: Possible charstyle bug

2006-03-24 Thread Martin Vermeer
signature.asc Description: This is a digitally signed message part

Re: qt4 and g++-4.1 compile ok, linking broke

2006-03-24 Thread Helge Hafting
Abdelrazak Younes wrote: Helge Hafting a écrit : Abdelrazak Younes wrote: ../QDocumentDialog.h:95: error: 'BiblioUi' is not a member of 'Ui' ../QDocumentDialog.h:95: error: 'BiblioUi' is not a member of 'Ui' ../QDocumentDialog.h:95: error: template argument 1 is invalid OK, I see the

Re: A Cygwin related patch

2006-03-24 Thread Enrico Forestieri
On Fri, Mar 24, 2006 at 01:43:55PM +0100, Georg Baum wrote: Enrico Forestieri wrote: I have a comment on this patch. I see that you get rid of the rtrim call in latex_path. This has the following effect: in all cases the argument of [EMAIL PROTECTED] will have two '/' appended, except on

Re: [PATCH} Was: Feature request: Remember the editing location when a file is closed.

2006-03-24 Thread Juergen Spitzmueller
Bo Peng wrote: I think lastpos is a better name to this feature As long as it cannot be confused with cursor.lastpos() (I didn't read your patch, so the comment might be irrelevant). Jürgen

Re: Possible charstyle bug

2006-03-24 Thread Jean-Marc Lasgouttes
Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin Came up with the attached patch. It adds a method to Martin CutAndPaste for resetting the paragraph styles in the cut Martin buffer 0. I do not like much the fact that this code is added in CutAndPaste.C. It should live in some *funcs.C

Graphical tour needs links

2006-03-24 Thread Amir Karger
Long time no speak! It's good to see that folks are still working on LyX. Anyway, I was looking at the LGT and noticed that there's no next link at the bottom of the page. I thought the LGT was longer than that?! Oh, it turns out you can use the navbar to get to the next page. I think many

Re: Potential 1.4 patches

2006-03-24 Thread Jean-Marc Lasgouttes
Michael == Michael Gerz [EMAIL PROTECTED] writes: Michael Hi, my new hobby-horse: Keeping track of patches to the trunk Michael that may also be relevant for LyX 1.4.X :-) That is a very good idea. Did you apply them to a tree and test them out? This would be even better... Michael Change

Re: [PATCH} Was: Feature request: Remember the editing location when a file is closed.

2006-03-24 Thread Abdelrazak Younes
Bo Peng a écrit : We have 'lastfiles' and 'lastpos' as configurable filenames, I am not sure that they should be. IMHO we should just hardcode them. Opinions on that? I just tried to make features of lastpos parallel to lastfiles. I do not think these filenames need to be configured.

Re: qt4 and g++-4.1 trouble:

2006-03-24 Thread Helge Hafting
Abdelrazak Younes wrote: Helge Hafting a écrit : --with-qt4-includes=/usr/include/qt4 This one is weird... You should use --with-qt4-dir=/usr/lib/qt4 or something. And ake sure that the qt4 version of moc and uic are in your path before qt3 version. Ok, I'll use --with-qt4-dir on the

Re: [PATCH} Was: Feature request: Remember the editing location when a file is closed.

2006-03-24 Thread Bo Peng
On 3/24/06, Abdelrazak Younes [EMAIL PROTECTED] wrote: could you implement the (optional) reloading of all file that where opened on last exit? ;-) That is a separate feature that is definitely nice to have. It is possible though, to make $HOME/.lyx/lastfilepos something like *, 32, file1 *,

Re: [patch] fix layout2layout

2006-03-24 Thread Georg Baum
Jean-Marc Lasgouttes wrote: Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Is that the default behaviour in 1.3? In 1.3, article-like numbering is hardcoded. If a labelstring exists, it is prepended to the numbering. For example, for chapter: LabelString Chapter

Re: qt4 and g++-4.1 compile ok, linking broke

2006-03-24 Thread Abdelrazak Younes
Helge Hafting a écrit : Abdelrazak Younes wrote: Helge Hafting a écrit : Abdelrazak Younes wrote: ../QDocumentDialog.h:95: error: 'BiblioUi' is not a member of 'Ui' ../QDocumentDialog.h:95: error: 'BiblioUi' is not a member of 'Ui' ../QDocumentDialog.h:95: error: template argument 1 is

Re: LyX to LaTeX to LyX

2006-03-24 Thread Angus Leeming
Freek Dijkstra [EMAIL PROTECTED] writes: 1. Picture conversion. http://bugzilla.lyx.org/show_bug.cgi?id=2419 I'm not qualified to talk about many of these bugs, but bug #1 isn't really a bug as such in tex2lyx. It doesn't have enough information to go on create the LyX file and so assumes that

Re: [PATCH} Was: Feature request: Remember the editing location when a file is closed.

2006-03-24 Thread Georg Baum
Abdelrazak Younes wrote: IMHO this is session management and all session management should go into a single file with a wide spread format (say XML or INI like). I disagree a bit. Being able to open a file at the last position is not session management IMHO. session management is recreate the

Re: Revision 13302 link errors

2006-03-24 Thread Helge Hafting
Lars Gullik Bjønnes wrote: John C. Spray [EMAIL PROTECTED] writes: | On Wed, 2006-03-08 at 16:16 +0200, Martin Vermeer wrote: |I may have missed this, but do you have an external boost installed? | | No. Should I? | | If I understood the bug report correctly, having precompiled

Re: [patch] fix layout2layout

2006-03-24 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg As I wrote in the bug report: I will have a look why this was Georg separated in the first place. I remember that in Anre's initial version, the ToCLevel were different between article and report class. I guess this is why they got separated.

Re: Possible charstyle bug

2006-03-24 Thread Martin Vermeer
On Fri, 2006-03-24 at 15:11 +0100, Jean-Marc Lasgouttes wrote: Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin Came up with the attached patch. It adds a method to Martin CutAndPaste for resetting the paragraph styles in the cut Martin buffer 0. I do not like much the fact

Re: [PATCH} Was: Feature request: Remember the editing location when a file is closed.

2006-03-24 Thread Abdelrazak Younes
Georg Baum a écrit : Abdelrazak Younes wrote: IMHO this is session management and all session management should go into a single file with a wide spread format (say XML or INI like). I disagree a bit. Being able to open a file at the last position is not session management IMHO. session

Re: [PATCH} Was: Feature request: Remember the editing location when a file is closed.

2006-03-24 Thread Bo Peng
Where you're at it Bo, could you implement the (optional) reloading of all file that where opened on last exit? ;-) This is indeed session management. If we only need to open files at their original positions, we do not really need qt api etc. I can expand filepositions to something like

Re: Potential 1.4 patches

2006-03-24 Thread Georg Baum
Jean-Marc Lasgouttes wrote: There is a choice to do right now: either we try to get 1.4.1 out as soon as possible or we try to make it better. I am ready to make the bet that we can apply these three patches and that they will work well enough to be better than the current situation. But I

Re: Graphical tour needs links

2006-03-24 Thread Jean-Marc Lasgouttes
Amir == Amir Karger [EMAIL PROTECTED] writes: Amir Long time no speak! It's good to see that folks are still Amir working on LyX. Hi Amir, nice to hear from you again! You will be very saddened to learn that we just killed reLyX... Amir Anyway, I was looking at the LGT and noticed that

Re: Potential 1.4 patches

2006-03-24 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: So Michael, Juergen, Marting, Georg, others, what do you think of these patches? I know It is not the first time I ask, but one never knows :) I told you about the ct patch already. I have applied the paragraph list patch to my tree (1.4svn) and didn't encounter

Re: Possible charstyle bug

2006-03-24 Thread Jean-Marc Lasgouttes
Martin == Martin Vermeer [EMAIL PROTECTED] writes: But again, this is wrong: it may happen that the theCuts[0] does not use the same textclass and thus the same default layout. Martin No, not in this case, when called from doInsertInset. Yes, but you expose this function to all uses. What

Re: Potential 1.4 patches

2006-03-24 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg I do use the paragraph list since some days and did not Georg discover problems so far (although I did no real testing). Shall I use the version you sent, or shall we try to adapt Lars' latest version? JMarc

Re: qt4 and g++-4.1 compile ok, linking broke

2006-03-24 Thread Abdelrazak Younes
Helge Hafting a écrit : I thought configure was supposed to complain about such things. We need a sql library these days? I'll install that library and try again. It's maybe because you requested a link to libQtQql which is not needed. Try to remove that from you're final linking command.

Re: Potential 1.4 patches

2006-03-24 Thread Georg Baum
Jean-Marc Lasgouttes wrote: Shall I use the version you sent, or shall we try to adapt Lars' latest version? I'd say use Lars' version to be sure that they are in sync: svn merge -r13466:13467 svn+ssh://svn.lyx.org/lyx/lyx-devel/trunk and then redo the changes in CutAndPaset.C by hand. IIRC

Re: Potential 1.4 patches

2006-03-24 Thread Juergen Spitzmueller
Georg Baum wrote: and then redo the changes in CutAndPaset.C by hand. IIRC it was only at 4 places, it took me two minutes to do that. Please note that if you intend the ct patch also, there are some additional changes in text.C (IIRC), which are not needed (and do not apply) without that

Re: Potential 1.4 patches

2006-03-24 Thread Jean-Marc Lasgouttes
Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes: Juergen Georg Baum wrote: and then redo the changes in CutAndPaset.C by hand. IIRC it was only at 4 places, it took me two minutes to do that. Juergen Please note that if you intend the ct patch also, there are Juergen some additional

Re: Potential 1.4 patches

2006-03-24 Thread Bennett Helm
On Mar 24, 2006, at 9:17 AM, Jean-Marc Lasgouttes wrote: Also, what are the other bugs that we have to fix before 1.4.1? The one I can think about now is the adaptation of 1.3 layout files to 1.4. Others? How about this: http://www.mail-archive.com/lyx-devel@lists.lyx.org/ msg87442.html?

Re: Potential 1.4 patches

2006-03-24 Thread Jean-Marc Lasgouttes
Bennett == Bennett Helm [EMAIL PROTECTED] writes: Bennett On Mar 24, 2006, at 9:17 AM, Jean-Marc Lasgouttes wrote: Also, what are the other bugs that we have to fix before 1.4.1? The one I can think about now is the adaptation of 1.3 layout files to 1.4. Others? Bennett How about this:

Re: Potential 1.4 patches

2006-03-24 Thread Juergen Spitzmueller
Also sprach Jean-Marc Lasgouttes: OK, let's apply bug880 first. I took your patch in the bug. Is that right? Yes. And is the following ChageLog complete? Apart from the one entry below, yes (I think). Jürgen Index: src/ChangeLog

Re: Potential 1.4 patches

2006-03-24 Thread Jean-Marc Lasgouttes
Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes: Juergen Georg Baum wrote: and then redo the changes in CutAndPaset.C by hand. IIRC it was only at 4 places, it took me two minutes to do that. Juergen Please note that if you

Re: Potential 1.4 patches

2006-03-24 Thread Bennett Helm
On Mar 24, 2006, at 10:48 AM, Jean-Marc Lasgouttes wrote: Bennett == Bennett Helm [EMAIL PROTECTED] writes: Bennett On Mar 24, 2006, at 9:17 AM, Jean-Marc Lasgouttes wrote: Also, what are the other bugs that we have to fix before 1.4.1? The one I can think about now is the adaptation of 1.3

Re: [PATCH} Was: Feature request: Remember the editing location when a file is closed.

2006-03-24 Thread John C. Spray
On Fri, 2006-03-24 at 15:29 +0100, Georg Baum wrote: I disagree a bit. Being able to open a file at the last position is not session management IMHO. session management is recreate the exact same state as LyX was in before shutdown, and it should be implemented using the qt/gtk API. Do you

[Patch] Ui compilation fixes

2006-03-24 Thread Abdelrazak Younes
Hello, Following Hedge compilation bug report, I have committed this fix: Compilation Fix: Appended Ui to main objectName so that it is the same as the ui file. The patch is not attached because too big and meaningless. Abdel.

Re: Wiki question: What is spam? And, separate group for non-LyX stuff?

2006-03-24 Thread christian . ridderstrom
On Fri, 24 Mar 2006, Jean-Marc Lasgouttes wrote: christian == christian ridderstrom [EMAIL PROTECTED] writes: christianIf you see something on the wiki you feel is christian inapproriate, feel free to (re)move it yourself! If you're christian uncertain, ask on the user's list about it.

Re: [PATCH} Was: Feature request: Remember the editing location when a file is closed.

2006-03-24 Thread Georg Baum
John C. Spray wrote: Do you mean things like Was the math panel open? and Where was the math panel?. Seems like a good idea, although perhaps more basic things like allowing hiding/showing of toolbars from the View menu would be better done first. No. What I mean are more basic things:

[Qt4 PATCH] better support for classes that do not define a ToC

2006-03-24 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Am Mittwoch, 22. März 2006 15:39 schrieb Jean-Marc Lasgouttes: Comments? I'd like to apply it for 1.4.1. Then of course we'll have to fix the actual problem. Georg I think you should put that in. Even if we

Re: Potential 1.4 patches

2006-03-24 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: If it is OK, can you please apply it? Done. Jürgen

Re: Potential 1.4 patches

2006-03-24 Thread Georg Baum
Jean-Marc Lasgouttes wrote: When it is done, Lars parlist patch can be merged too (please someone do it). I did that. Then what remains is the speedup patch, and I'd be glad to see someone apply it too. Since I don't know which one was meant exactly I did not touch this. Do you think we

word completion feature

2006-03-24 Thread Shekhar Deodhar
I am using LyX 1.4.0 and I am quite happy about it One feature that would be VERY useful is the word completion feature like in vi (Ctrl-p). If there is already some way please let me know. If not then Waiting for it to be incorporated -- shekhar deodhar

Re: Potential 1.4 patches

2006-03-24 Thread Juergen Spitzmueller
Georg Baum wrote: When it is done, Lars parlist patch can be merged too (please someone do it). I did that. You just beat me to it ;-) Do you think we could plan a release for next friday? Yes. I think so, too. Jürgen

Re: qt4 and g++-4.1 compile ok, linking broke

2006-03-24 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Helge Hafting a écrit : My only complaint now is that the paragraph style pulldown now have a scrollbar - before I got _all_ styles visible when pulling it down. That is big timesaver for any paragraph type where I don't remember the keyboard command. You mean the

Re: Potential 1.4 patches

2006-03-24 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: I did that. You just beat me to it ;-) But since I have already written the ChangeLogs, I've committed them. Jürgen

[PATCH] Simple session management of lyx.

2006-03-24 Thread Bo Peng
Dear list, The new patch combines lastfiles and filepositions, and add lastopened (and will add bookmarks) to a single session management interface. Please let me know if you like it. What it does: 1. remove lastfile and its rc entries 2. add use_lastfilepos and load_session rc entries 3.

[Patch] Re: Possible charstyle bug

2006-03-24 Thread Martin Vermeer
On Fri, Mar 24, 2006 at 03:49:10PM +0100, Jean-Marc Lasgouttes wrote: Martin == Martin Vermeer [EMAIL PROTECTED] writes: ... What I propose is to run resetParagraphStyle on the whole LyXText after pasting. This cannot really hurt :) Martin That's precisely what the insertert FIXME

Re: [PATCH] Simple session management of lyx.

2006-03-24 Thread Abdelrazak Younes
Bo Peng a écrit : Dear list, The new patch combines lastfiles and filepositions, and add lastopened (and will add bookmarks) to a single session management interface. Please let me know if you like it. I like it but my opinion does not count much. I hope they will not reject this patch

Re: [PATCH] Simple session management of lyx.

2006-03-24 Thread Bo Peng
I like it but my opinion does not count much. I hope they will not reject this patch because it brings too many things at the same time, That is why I am stopping here and waiting for their responses. Lars and Angus seem to like independent, clean and small patches but I do not think it is a

Re: [Patch] Re: Possible charstyle bug

2006-03-24 Thread Georg Baum
Am Freitag, 24. März 2006 20:22 schrieb Martin Vermeer: That would be this patch. Unless anyone sees a problem, this goes in soon. I don't see why the deleted lines in ERT are no longer necessary. Could you please explain? Georg

Re: [Patch] Re: Possible charstyle bug

2006-03-24 Thread Martin Vermeer
On Fri, Mar 24, 2006 at 08:44:46PM +0100, Georg Baum wrote: Am Freitag, 24. März 2006 20:22 schrieb Martin Vermeer: That would be this patch. Unless anyone sees a problem, this goes in soon. I don't see why the deleted lines in ERT are no longer necessary. Could you please explain?

Re: qt4 and g++-4.1 compile ok, linking broke

2006-03-24 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Abdelrazak Younes a écrit : Helge Hafting a écrit : My only complaint now is that the paragraph style pulldown now have a scrollbar - before I got _all_ styles visible when pulling it down. That is big timesaver for any paragraph type where I don't remember the

Re: [PATCH] Simple session management of lyx.

2006-03-24 Thread Abdelrazak Younes
Bo Peng a écrit : I like it but my opinion does not count much. I hope they will not reject this patch because it brings too many things at the same time, That is why I am stopping here and waiting for their responses. Lars and Angus seem to like independent, clean and small patches but I do

  1   2   3   >