Re: Things we do wrong

2007-08-29 Thread Andre Poenitz
On Wed, Aug 29, 2007 at 10:06:40AM +1000, Roger Mc Murtrie wrote: In this whole lengthy diatribe, nobody seems to mention the words good programming practice; Nobody mentioned the word butter either, yet I would not think it died with C++. perhaps it died with C++? Programing standards are

Re: [Cvslog] r19859 - /lyx-devel/trunk/src/TextMetrics.cpp

2007-08-29 Thread younes . a
Quoting Martin Vermeer [EMAIL PROTECTED]: On Tue, Aug 28, 2007 at 10:53:09PM +0200, Abdelrazak Younes wrote: If you don't want cursor_on_row back, consider making the row signature sensitive to change tracking. Yes, that's the proper solution even though I am not sure I can understand

Re: [Cvslog] r19859 - /lyx-devel/trunk/src/TextMetrics.cpp

2007-08-29 Thread Martin Vermeer
On Wed, 29 Aug 2007 09:42:27 +0200 [EMAIL PROTECTED] wrote: Quoting Martin Vermeer [EMAIL PROTECTED]: On Tue, Aug 28, 2007 at 10:53:09PM +0200, Abdelrazak Younes wrote: ... Sure and I also count on you to remind those ;-) I am sure any drawing problem will be detected in time and

Re: [Cvslog] r19859 - /lyx-devel/trunk/src/TextMetrics.cpp

2007-08-29 Thread younes . a
Quoting Martin Vermeer [EMAIL PROTECTED]: Yes, if you do it, do it now. I believe drawing can be very efficient if designed with parsimony from the ground up. Me too obviously. This CRC thing was at the time considered rather a kludge ;-/ I know a lot more things in the code that are

Re: LyX 1.5.x patch candidate list

2007-08-29 Thread Jürgen Spitzmüller
Michael Gerz wrote: Jürgen, all, here comes a new edition of the 1.5.x patch candidate list. Patches recommended by Abdel are marked with !. Thanks, Michael, that's really helpful. To further ease the procedure, could you please indicate in your list the patches that already have the OK to

[patch] bug 3961: spaces not always accepted by change tracking

2007-08-29 Thread Jürgen Spitzmüller
http://bugzilla.lyx.org/show_bug.cgi?id=3961 I intend to commit the attached patch (reviewed by Michael and tested by Uwe) to branch and trunk. Objections? Jürgen Index: src/Text2.cpp === --- src/Text2.cpp (Revision 19883) +++

Re: LyX 1.5.2svn crashes (too often)

2007-08-29 Thread Helge Hafting
Michael Gerz wrote: Hi, one reason is bug #4178: http://bugzilla.lyx.org/show_bug.cgi?id=4178 I attached a backtrace to that bug. Helge Hafting

Re: Embedding Patch Comments

2007-08-29 Thread José Matos
On Wednesday 29 August 2007 03:13:59 Bo Peng wrote: Forgotten? Not at all. :-) I had a deadline yesterday (Fedora development frozen in order to release F8 test 2 next week). Today I will focus my attention on LyX. :-) Bo -- José Abílio

Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Jürgen Spitzmüller
Despite all the work that went into branch during the last weeks, there are still quite some open bugs. Bugzilla currently lists 45 open bugs targeted to 1.5.2, and Michael's list has 9 more that are not (yet) in bugzilla. I think this is way too much, and we need to postpone some of them.

Re: [patch] bug 3961: spaces not always accepted by change tracking

2007-08-29 Thread José Matos
On Wednesday 29 August 2007 10:00:20 Jürgen Spitzmüller wrote: Objections? None. :-) Jürgen -- José Abílio

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Alfredo Braunstein
Jürgen Spitzmüller wrote: 3600 maj Problems with paragraphs with leading blanks Alfredo, you had an half-finished patch, right? Any chance to get it in shape for 1.5.2? Ah yes, I'll have a look. A/

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: http://www.lyx.org/trac/changeset/19638 - redoParagraph() simplify the changed calculation http://www.lyx.org/trac/changeset/19747 - Delete include of config.h. This was needed only for the qt3 port. http://www.lyx.org/trac/changeset/19868 -

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Uwe Stöhr
2829 maj LyX unusable after unsuccessful configuration Uwe, status? See my comment there: http://bugzilla.lyx.org/show_bug.cgi?id=2829#c29 I think to implement what I suggested there is not very difficult for a Pythonist like José. I currently don't have the time to find out how

ui improvements

2007-08-29 Thread Neal Becker
One problem I have with current UI, is switching environments. To switch to e.g., Title, I have to choose it from a (often very long) list. Worse, this list is not organized in any way I can understand (e.g., alphabetical). If there are keyboard shortcuts to select these, I haven't found them -

Re: ui improvements

2007-08-29 Thread Abdelrazak Younes
Neal Becker wrote: One problem I have with current UI, is switching environments. To switch to e.g., Title, I have to choose it from a (often very long) list. Worse, this list is not organized in any way I can understand (e.g., alphabetical). True, the current combo based menu is not very

Re: ui improvements

2007-08-29 Thread Jürgen Spitzmüller
Neal Becker wrote: One problem I have with current UI, is switching environments.  To switch to e.g., Title, I have to choose it from a (often very long) list.  Worse, this list is not organized in any way I can understand (e.g., alphabetical). It is (or should be) ordered somewhat

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Jürgen Spitzmüller
Alfredo Braunstein wrote: Ah yes, I'll have a look. great. Jürgen

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: 2829 maj LyX unusable after unsuccessful configuration Uwe, status? See my comment there: http://bugzilla.lyx.org/show_bug.cgi?id=2829#c29 I think to implement what I suggested there is not very difficult for a Pythonist like José. I currently don't have the time

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: http://www.lyx.org/trac/changeset/19638 - redoParagraph() simplify the changed calculation http://www.lyx.org/trac/changeset/19747 - Delete include of config.h. This was needed only for the qt3 port. http://www.lyx.org/trac/changeset/19868 -

Re: ftp 3rd day down

2007-08-29 Thread Jürgen Spitzmüller
Robert Poser wrote: mhh, ftp is still down (3rd day) ... any new information about rearrivel? It seems to be up again now. Jürgen

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread José Matos
On Wednesday 29 August 2007 11:25:14 Jürgen Spitzmüller wrote: 4158   maj   conversion 1.4.2 to 1.5.1 failed if koi8 is used in lyx a... patch from José available. José, please commit. Done. I have committed the same fix to trunk. -- José Abílio

Re: ui improvements

2007-08-29 Thread Pavel Sanda
One problem I have with current UI, is switching environments. To switch to e.g., Title, I have to choose it from a (often very long) list. Worse, this list is not organized in any way I can understand (e.g., alphabetical). you can add your comments here:

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Jürgen Spitzmüller
José Matos wrote: Done. I have committed the same fix to trunk. Thanks. Could you also update status.15x, please? Jürgen

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread José Matos
On Wednesday 29 August 2007 13:06:28 Uwe Stöhr wrote: See my comment there: http://bugzilla.lyx.org/show_bug.cgi?id=2829#c29 I think to implement what I suggested there is not very difficult for a Pythonist like José. I currently don't have the time to find out how exception handling is done

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread José Matos
On Wednesday 29 August 2007 14:50:42 Jürgen Spitzmüller wrote: Thanks. Could you also update status.15x, please? Done. I am sorry for missing that the first time. :-) Jürgen -- José Abílio

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Bernhard Roider
Jürgen Spitzmüller schrieb: 3974 cri crash with user defined external templates This will be fixed by a patch from Bernhard (that actually introduces an enhancement). It can go in now, IMHO. The behavior of lyx when it finds a user defined external template with the same name as a

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Bo Peng
I just added 4182: Caption in listings inset produce invalid latex code. This has to be fixed, and I do not understand why JMarc does not like the trivial if language != 'latex' solution. Bo

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Jürgen Spitzmüller
Bernhard Roider wrote: The behavior of lyx when it finds a user defined external template with the same name as a system defined one should be clarified. So maybe we should wait with that patch. The crash occures only in a really rare case (when the user external_template file defines no

.lst-files creation of configure.py Was: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Uwe Stöhr
Are you this only happens when there is an error? Yes, when an error occurs while configuring, no matter for what reason, configure.py quits and creates empty textclass.lst and packages.lst. The files are empty because at the beginning of configure.py they are created when they don't already

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Jürgen Spitzmüller
Bo Peng wrote: I just added 4182: Caption in listings inset produce invalid latex code. This has to be fixed, and I do not understand why JMarc does not like the trivial if language != 'latex' solution. I didn't follow that thread too closely, but I guess he thought it hides the real

Re: [PATCH] Bug 4170: Window not closed when saved on close

2007-08-29 Thread Richard Heck
Uwe Stöhr wrote: http://bugzilla.lyx.org/show_bug.cgi?id=4170 The patch fixes the bug. Please test. I tested this and it works as expected. Jurgen? rh -- == Richard G Heck, Jr Professor of Philosophy Brown University

Re: [PATCH] Bug 4170: Window not closed when saved on close

2007-08-29 Thread Jürgen Spitzmüller
Richard Heck wrote: I tested this and it works as expected. Jurgen? Go ahead. Jürgen

Minor layout fix

2007-08-29 Thread Paul A. Rubin
For the next version, I suggest that someone change '1991' to '2000' in amsdefs.inc (in the subject classification style). /Paul

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Bernhard Roider
Jürgen Spitzmüller schrieb: Bernhard Roider wrote: The behavior of lyx when it finds a user defined external template with the same name as a system defined one should be clarified. So maybe we should wait with that patch. The crash occures only in a really rare case (when the user

Re: [Cvslog] r19890 - /lyx-devel/branches/BRANCH_1_5_X/src/BufferList.cpp

2007-08-29 Thread Jürgen Spitzmüller
Am Mittwoch, 29. August 2007 schrieb [EMAIL PROTECTED]: URL: http://www.lyx.org/trac/changeset/19890 Log: Fix bug 4170: Close window when user wants it closed. Ahemm. Status.15x, please :-) Jürgen

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Jürgen Spitzmüller
Bernhard Roider wrote: The one thing i thought about is, that if a new external template comes with a new version of lyx and a user has his own (different) external template with the same name then he cannot open documents from another user who uses the system external template. If the user

Re: [Cvslog] r19890 - /lyx-devel/branches/BRANCH_1_5_X/src/BufferList.cpp

2007-08-29 Thread Richard Heck
Jürgen Spitzmüller wrote: Am Mittwoch, 29. August 2007 schrieb [EMAIL PROTECTED]: URL: http://www.lyx.org/trac/changeset/19890 Log: Fix bug 4170: Close window when user wants it closed. Ahemm. Status.15x, please :-) Sorry...yet again. svn out to refuse to accept commits for branch

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Bo Peng
I didn't follow that thread too closely, but I guess he thought it hides the real problem. He wanted to remove the whole latex_language thing, but it turned out to be quite complicated (?). Anyway, could you post that patch again, ans also a testcase? I cannot reproduce the problem (i.e.,

Re: .lst-files creation of configure.py Was: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Bo Peng
configure.py would then look like this (in pseudo code): begin script do something try if textclasss.lst not exists create textclass.lst else clear textclass.lst create package list and write it to textclass.lst do something finally check if

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Alfredo Braunstein
Jürgen Spitzmüller wrote: Alfredo Braunstein wrote: Ah yes, I'll have a look. great. Jürgen I propose to apply the following (i.e. remove the call to stripLeadingSpaces). The rationale is the following: when cutting normal paragraphs, there is no problem because the cursor would be

Check for externally modified files does not work on Mac

2007-08-29 Thread Bennett Helm
Start with an existing file and open in in LyX. Modify it (in LyX), and save it. The dialog pops up indicating that the file has been externally modified, asking whether you want to save anyway. Subsequent attempts to save the file work fine; it's only the first one that provide the false

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Richard Heck
Jürgen Spitzmüller wrote: Despite all the work that went into branch during the last weeks, there are still quite some open bugs. Bugzilla currently lists 45 open bugs targeted to 1.5.2, and Michael's list has 9 more that are not (yet) in bugzilla. 4170 nor Window not closed when

Great work on 1.5

2007-08-29 Thread Kristoffer Lawson
Just installed it and started playing with it. I must say that so far it's looking like a huge improvement with many features I've been keen to see. The two things I'd still like to see in the future are: * A batteries includes OS X package, with all the TeX stuff and tools included.

Re: Minor layout fix

2007-08-29 Thread Paul A. Rubin
Paul A. Rubin wrote: For the next version, I suggest that someone change '1991' to '2000' in amsdefs.inc (in the subject classification style). /Paul sighSelf-replies are never a good sign./sigh In the line above that one, the Latexname for the subject classification style needs to be

Re: ui improvements

2007-08-29 Thread Pavel Sanda
Hi Pavel, have you tried to use the keyboard? alt+p space (in the english version, for others look at ui.bind or menu.bind) gives you the list, then 't' jumps to the first format whose name starts with T, the next t jumps to the next one, ... i see :) maybe we can add to the userguide

Re: .lst-files creation of configure.py Was: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Uwe Stöhr
Bo Peng schrieb: But what if configure.py is killed?? This is what the try finally block is for: even when the program is killed, the finally routine is run in any way. OK, this is how it is done in Delphi and I don't know if there exists a try finally routine block in Python. But

Re: .lst-files creation of configure.py Was: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Bo Peng
But what if configure.py is killed?? This is what the try finally block is for: even when the program is killed, the finally routine is run in any way. OK, this is how it is done in Delphi and I don't know if there exists a try finally routine block in Python. But nevertheless I think

[PATCH HELP] Bug 4153 and Qt Mysteries

2007-08-29 Thread Richard Heck
Could someone have a look at this patch? The idea here is not to allow the headers---the labels that don't correspond to panels---in these panel stacks to be selected. This is in response to bug 4153. It's very minor, to be sure, but my question is more: Why doesn't this work? As you'll see

Re: [PATCH HELP] Bug 4153 and Qt Mysteries

2007-08-29 Thread Edwin Leuven
Richard Heck wrote: Could someone have a look at this patch? The idea here is not to allow the headers---the labels that don't correspond to panels---in these panel stacks to be selected. This is in response to bug 4153. It's very minor, to be sure, but my question is more: Why doesn't this

Re: .lst-files creation of configure.py Was: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Bo Peng
On 8/29/07, Uwe Stöhr [EMAIL PROTECTED] wrote: Are you this only happens when there is an error? BTW, how can I trigger this bug under linux? If I remove ~/.lyx/packages.lst and textclass.lst, lyx will reconfigure and start. Thanks. Bo

Re: [patch] bug 3961: spaces not always accepted by change tracking

2007-08-29 Thread Andre Poenitz
On Wed, Aug 29, 2007 at 11:00:20AM +0200, Jürgen Spitzmüller wrote: http://bugzilla.lyx.org/show_bug.cgi?id=3961 I intend to commit the attached patch (reviewed by Michael and tested by Uwe) to branch and trunk. Objections? Not in particular, but in general I'd prefer some separate

Re: Great work on 1.5

2007-08-29 Thread Bennett Helm
On Aug 29, 2007, at 12:08 PM, Kristoffer Lawson wrote: Just installed it and started playing with it. I must say that so far it's looking like a huge improvement with many features I've been keen to see. The two things I'd still like to see in the future are: * A batteries includes OS X

Mathed bug?

2007-08-29 Thread Martin Vermeer
When doing the localization, I found a funny looking string in InsetMathCases. I think it is a mistake, and should be like the attached. OK? - Martin Index: InsetMathCases.cpp === --- InsetMathCases.cpp (revision 19865) +++

German-speaking developers and users only

2007-08-29 Thread Hartmut Haase
Hallo, in den anhängen des Benutzerhandbuches habe ich einige stellen mit ??? markiert, weil ich nicht wußte, was sie bedeuten. Vielleicht kann mir ja der eine oder andere helfen, die ??? durch text zu ersetzen. Außerdem wäre es nicht schlecht, wenn der eine oder andere sich die deutsche doku

Re: Great work on 1.5

2007-08-29 Thread Kristoffer Lawson
On 29 Aug 2007, at 19:52, Bennett Helm wrote: * To remove the need to run the installer for every user separately. A bit of a bother to remember on a multi-user machine. I don't know how to do this and also make default template files accessible through the Finder (and so through the

Re: Mathed bug?

2007-08-29 Thread Andre Poenitz
On Wed, Aug 29, 2007 at 08:13:42PM +0300, Martin Vermeer wrote: When doing the localization, I found a funny looking string in InsetMathCases. I think it is a mistake, and should be like the attached. OK? Doesn't look wrong. Andre'

Re: Great work on 1.5

2007-08-29 Thread Bennett Helm
On Aug 29, 2007, at 2:21 PM, Kristoffer Lawson wrote: On 29 Aug 2007, at 19:52, Bennett Helm wrote: * To remove the need to run the installer for every user separately. A bit of a bother to remember on a multi-user machine. I don't know how to do this and also make default template files

Re: Great work on 1.5

2007-08-29 Thread Kristoffer Lawson
On 29 Aug 2007, at 21:28, Bennett Helm wrote: On Aug 29, 2007, at 2:21 PM, Kristoffer Lawson wrote: On 29 Aug 2007, at 19:52, Bennett Helm wrote: * To remove the need to run the installer for every user separately. A bit of a bother to remember on a multi-user machine. I don't know how

Things we do wrong. Part III.

2007-08-29 Thread Andre Poenitz
Bad news from the Ivory Tower, part III. --- snip --- #!/bin/bash n=100 # number of classes m=1000 # number of cycles cc=/usr/bin/g++ function useit() { time for i in $s ; do $cc -c $i.cpp ; done echo .cpp: `cat

Problem with CMake

2007-08-29 Thread Abdelrazak Younes
Andre', I think your recent cleanups is causing some problem on Windows. The different projects seems to be regenerated at each recompilation. And I get too much recompile too, especially for boost and intl. Could you have a look please? Abdel.

Gmane seems to have lost a lot of messages...

2007-08-29 Thread Abdelrazak Younes
So, if there were messages for me, please send them again. Thanks, Abdel.

Re: Great work on 1.5

2007-08-29 Thread Richard Heck
Kristoffer Lawson wrote: On 29 Aug 2007, at 21:28, Bennett Helm wrote: On Aug 29, 2007, at 2:21 PM, Kristoffer Lawson wrote: On 29 Aug 2007, at 19:52, Bennett Helm wrote: * To remove the need to run the installer for every user separately. A bit of a bother to remember on a multi-user

Re: Problem with CMake

2007-08-29 Thread Richard Heck
Abdelrazak Younes wrote: I think your recent cleanups is causing some problem on Windows. The different projects seems to be regenerated at each recompilation. And I get too much recompile too, especially for boost and intl. Let me add that (on Linux) despite with options

Re: [PATCH HELP] Bug 4153 and Qt Mysteries

2007-08-29 Thread Richard Heck
Edwin Leuven wrote: Richard Heck wrote: Could someone have a look at this patch? The idea here is not to allow the headers---the labels that don't correspond to panels---in these panel stacks to be selected. This is in response to bug 4153. It's very minor, to be sure, but my question is

Re: r19893 - in /lyx-devel/trunk: lib/Makefile.am lib/configu...

2007-08-29 Thread Bo Peng
On 8/29/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: rgheck Date: Wed Aug 29 19:59:49 2007 New Revision: 19893 URL: http://www.lyx.org/trac/changeset/19893 Log: This is one of a series of patches that will merge the layout modules development in personal/branches/rgheck back

Re: r19893 - in /lyx-devel/trunk: lib/Makefile.am lib/configu...

2007-08-29 Thread Richard Heck
Bo Peng wrote: Have you checked tex2lyx? I get: try1/src/tex2lyx/TextClass.cpp: In constructor `lyx::TextClass::TextClass(const std::string, const std::string, const std::string, bool)': try1/src/tex2lyx/TextClass.cpp:110: error: `modular_' was not declared in this scope

Re: [Cvslog] r19896 - in /lyx-devel/trunk/development/scons: SConstruc...

2007-08-29 Thread Richard Heck
Sorry about this. I had this in my local tree and they didn't make the merge---though I didn't pull out the modules the way you did. [EMAIL PROTECTED] wrote: Author: bpeng Date: Wed Aug 29 23:18:02 2007 New Revision: 19896 URL: http://www.lyx.org/trac/changeset/19896 Log: Scons update for

Re: r19893 - in /lyx-devel/trunk: lib/Makefile.am lib/configu...

2007-08-29 Thread Richard Heck
And further to the below, I should learn how to build with scons, if only so that I can check that everything works there. I still don't know how to do that, or how to build with CMake, or any of the other twenty-six build systems. ;-) rh Richard Heck wrote: Bo Peng wrote: Have you

[PATCH] Bug 3999

2007-08-29 Thread Richard Heck
Patch for this annoying bug: http://bugzilla.lyx.org/show_bug.cgi?id=3999 rh -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/

Re: r19893 - in /lyx-devel/trunk: lib/Makefile.am lib/configu...

2007-08-29 Thread Bo Peng
I don't have this problem and don't know why. I know there's something funny about tex2lyx, that when I modify files in src/ those ones seem magically to get modified, too. IIRC, your symbolic link src/tex2lyx/TextClass.h should not exist because tex2lyx can use src/TextClass.h after Andre's

Re: r19893 - in /lyx-devel/trunk: lib/Makefile.am lib/configu...

2007-08-29 Thread Bo Peng
IIRC, your symbolic link src/tex2lyx/TextClass.h should not exist because tex2lyx can use src/TextClass.h after Andre's use. I meant after 'Andre modified the way src/*.h is used in src/tex2lyx'. Bo

Re: [Cvslog] r19896 - in /lyx-devel/trunk/development/scons: SConstruc...

2007-08-29 Thread Bo Peng
On 8/29/07, Richard Heck [EMAIL PROTECTED] wrote: Sorry about this. I had this in my local tree and they didn't make the merge---though I didn't pull out the modules the way you did. My current treatment does not allow translation of these module files because I need to first make sure

Re: Great work on 1.5

2007-08-29 Thread Bennett Helm
On Aug 29, 2007, at 4:43 PM, Richard Heck wrote: Kristoffer Lawson wrote: On 29 Aug 2007, at 21:28, Bennett Helm wrote: On Aug 29, 2007, at 2:21 PM, Kristoffer Lawson wrote: On 29 Aug 2007, at 19:52, Bennett Helm wrote: * To remove the need to run the installer for every user

Re: r19893 - in /lyx-devel/trunk: lib/Makefile.am lib/configu...

2007-08-29 Thread Richard Heck
Bo Peng wrote: IIRC, your symbolic link src/tex2lyx/TextClass.h should not exist because tex2lyx can use src/TextClass.h after Andre's use. I meant after 'Andre modified the way src/*.h is used in src/tex2lyx'. Right. I see those links haven't been updated in a while. I'll remove them.

Re: Great work on 1.5

2007-08-29 Thread Richard Heck
Bennett Helm wrote: The other simple option is to have LyX check this on startup and then copy the files if they have not already been copied. I don't think that option is so simple. What if users didn't want that to happen for some reason (as when they've modified the defaults but left them

Re: Acting on 'Things we do wrong. Part III.'

2007-08-29 Thread Andre Poenitz
On Wed, Aug 29, 2007 at 06:57:47PM -0400, Richard Heck wrote: Andre Poenitz wrote: I am tempted to commit the attached patch. Shaves ~22s off a release build, i.e. roughly 1.2% of total time. Not exactly much, but a dozen of such trivial changes will show... Do we know why auto_ptr was

Re: Acting on 'Things we do wrong. Part III.'

2007-08-29 Thread John Levon
On Thu, Aug 30, 2007 at 12:51:29AM +0200, Andre Poenitz wrote: I am tempted to commit the attached patch. Shaves ~22s off a release build, i.e. roughly 1.2% of total time. Not exactly much, but a dozen of such trivial changes will show... Your rationale is pretty compelling but this should be

Re: .lst-files creation of configure.py Was: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Uwe Stöhr
BTW, how can I trigger this bug under linux? If I remove ~/.lyx/packages.lst and textclass.lst, lyx will reconfigure and start. Don't delete the files, but clear them (so that they are empty). --- I agree that LyX should start, no matter if the .lst-files are empty and then take care of

Re: Acting on 'Things we do wrong. Part III.'

2007-08-29 Thread Richard Heck
Andre Poenitz wrote: On Wed, Aug 29, 2007 at 06:57:47PM -0400, Richard Heck wrote: Andre Poenitz wrote: I am tempted to commit the attached patch. Shaves ~22s off a release build, i.e. roughly 1.2% of total time. Not exactly much, but a dozen of such trivial changes will show...

Re: [PATCH] Bug 3999

2007-08-29 Thread Uwe Stöhr
Richard Heck schrieb: Patch for this annoying bug: http://bugzilla.lyx.org/show_bug.cgi?id=3999 Works fine in all my test cases. When performing a search, the search text is now higlighted - exactly how it should. regards Uwe

Re: [PATCH] Bug 3999

2007-08-29 Thread Richard Heck
Uwe Stöhr wrote: Richard Heck schrieb: Patch for this annoying bug: http://bugzilla.lyx.org/show_bug.cgi?id=3999 Works fine in all my test cases. When performing a search, the search text is now higlighted - exactly how it should. Thanks Uwe. I've committed it to trunk, as it's so simple.

Re: .lst-files creation of configure.py Was: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Bo Peng
I agree that LyX should start, no matter if the .lst-files are empty and then take care of them, Jose and Jurgen, I propose that we apply the attached patch to partially solve this problem. It allows lyx to start even when textclasslist is empty. If lyx is started like this, only reconfigure

Re: Mathed bug?

2007-08-29 Thread Martin Vermeer
On Wed, Aug 29, 2007 at 08:13:42PM +0300, Martin Vermeer wrote: When doing the localization, I found a funny looking string in InsetMathCases. I think it is a mistake, and should be like the attached. OK? - Martin Index: InsetMathCases.cpp

Re: Check for externally modified files does not work on Mac

2007-08-29 Thread Enrico Forestieri
On Wed, Aug 29, 2007 at 12:02:24PM -0400, Bennett Helm wrote: Start with an existing file and open in in LyX. Modify it (in LyX), and save it. The dialog pops up indicating that the file has been externally modified, asking whether you want to save anyway. Subsequent attempts to save

Re: .lst-files creation of configure.py Was: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Enrico Forestieri
On Wed, Aug 29, 2007 at 09:23:46PM -0500, Bo Peng wrote: I agree that LyX should start, no matter if the .lst-files are empty and then take care of them, Jose and Jurgen, I propose that we apply the attached patch to partially solve this problem. It allows lyx to start even when

Re: Check for externally modified files does not work on Mac

2007-08-29 Thread Richard Heck
Enrico Forestieri wrote: On Wed, Aug 29, 2007 at 12:02:24PM -0400, Bennett Helm wrote: Start with an existing file and open in in LyX. Modify it (in LyX), and save it. The dialog pops up indicating that the file has been externally modified, asking whether you want to save anyway.

Re: Things we do wrong

2007-08-29 Thread Andre Poenitz
On Wed, Aug 29, 2007 at 10:06:40AM +1000, Roger Mc Murtrie wrote: > In this whole lengthy diatribe, nobody seems to mention the words > "good programming practice"; Nobody mentioned the word "butter" either, yet I would not think it died with C++. > perhaps it died with C++? Programing

Re: [Cvslog] r19859 - /lyx-devel/trunk/src/TextMetrics.cpp

2007-08-29 Thread younes . a
Quoting Martin Vermeer <[EMAIL PROTECTED]>: > On Tue, Aug 28, 2007 at 10:53:09PM +0200, Abdelrazak Younes wrote: > > >If you don't want cursor_on_row back, consider making the row signature > > >sensitive to change tracking. > > > > > Yes, that's the proper solution even though I am not sure I

Re: [Cvslog] r19859 - /lyx-devel/trunk/src/TextMetrics.cpp

2007-08-29 Thread Martin Vermeer
On Wed, 29 Aug 2007 09:42:27 +0200 [EMAIL PROTECTED] wrote: > Quoting Martin Vermeer <[EMAIL PROTECTED]>: > > On Tue, Aug 28, 2007 at 10:53:09PM +0200, Abdelrazak Younes wrote: ... > Sure and I also count on you to remind those ;-) I am sure any drawing problem > will be detected in time and

Re: [Cvslog] r19859 - /lyx-devel/trunk/src/TextMetrics.cpp

2007-08-29 Thread younes . a
Quoting Martin Vermeer <[EMAIL PROTECTED]>: > > Yes, if you do it, do it now. I believe drawing can be very efficient if > designed with parsimony from the ground up. Me too obviously. > > > This CRC thing was at the time considered rather a kludge ;-/ > > > > I know a lot more things in the

Re: LyX 1.5.x patch candidate list

2007-08-29 Thread Jürgen Spitzmüller
Michael Gerz wrote: > Jürgen, all, > > here comes a new edition of the 1.5.x patch candidate list. Patches > recommended by Abdel are marked with "!". Thanks, Michael, that's really helpful. To further ease the procedure, could you please indicate in your list the patches that already have the

[patch] bug 3961: spaces not always accepted by change tracking

2007-08-29 Thread Jürgen Spitzmüller
http://bugzilla.lyx.org/show_bug.cgi?id=3961 I intend to commit the attached patch (reviewed by Michael and tested by Uwe) to branch and trunk. Objections? Jürgen Index: src/Text2.cpp === --- src/Text2.cpp (Revision 19883) +++

Re: LyX 1.5.2svn crashes (too often)

2007-08-29 Thread Helge Hafting
Michael Gerz wrote: Hi, one reason is bug #4178: http://bugzilla.lyx.org/show_bug.cgi?id=4178 I attached a backtrace to that bug. Helge Hafting

Re: Embedding Patch Comments

2007-08-29 Thread José Matos
On Wednesday 29 August 2007 03:13:59 Bo Peng wrote: > Forgotten? Not at all. :-) I had a deadline yesterday (Fedora development frozen in order to release F8 test 2 next week). Today I will focus my attention on LyX. :-) > Bo -- José Abílio

Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Jürgen Spitzmüller
Despite all the work that went into branch during the last weeks, there are still quite some open bugs. Bugzilla currently lists 45 open bugs targeted to 1.5.2, and Michael's list has 9 more that are not (yet) in bugzilla. I think this is way too much, and we need to postpone some of them.

Re: [patch] bug 3961: spaces not always accepted by change tracking

2007-08-29 Thread José Matos
On Wednesday 29 August 2007 10:00:20 Jürgen Spitzmüller wrote: > Objections? None. :-) > Jürgen -- José Abílio

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Alfredo Braunstein
Jürgen Spitzmüller wrote: > 3600 maj Problems with paragraphs with leading blanks > > Alfredo, you had an half-finished patch, right? Any chance to get it in > shape for 1.5.2? Ah yes, I'll have a look. A/

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: http://www.lyx.org/trac/changeset/19638 - redoParagraph() simplify the changed calculation http://www.lyx.org/trac/changeset/19747 - Delete include of config.h. This was needed only for the qt3 port. http://www.lyx.org/trac/changeset/19868 -

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Uwe Stöhr
> 2829 maj LyX unusable after unsuccessful configuration > > Uwe, status? See my comment there: http://bugzilla.lyx.org/show_bug.cgi?id=2829#c29 I think to implement what I suggested there is not very difficult for a Pythonist like José. I currently don't have the time to find out how

ui improvements

2007-08-29 Thread Neal Becker
One problem I have with current UI, is switching environments. To switch to e.g., Title, I have to choose it from a (often very long) list. Worse, this list is not organized in any way I can understand (e.g., alphabetical). If there are keyboard shortcuts to select these, I haven't found them -

  1   2   >