Re: Bug 2101: Any character followed by Right Arrow moves the cursorto the next cell

2005-10-28 Thread Andre Poenitz
On Tue, Oct 25, 2005 at 12:01:24PM +0200, Jean-Marc Lasgouttes wrote: Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre This was not exactly flawless in 1.3 and nontrivial to track so Andre I originally completely removed this in 1.4. In Paris, Juergen Andre decided that the feature

Re: Solaris x86 issues

2005-10-29 Thread Andre Poenitz
On Tue, Oct 25, 2005 at 03:45:28PM -0700, Markus Mayer wrote: Would it be possible to consider this patch (or a modified version of the proposed patch from 2003) for application to the mainline? Best regards, -Markus diff -ru lyx-1.3.6.orig/src/lyxlength.C lyx-1.3.6/src/lyxlength.C ---

Re: Bug 2101: Any character followed by Right Arrow moves the cursorto the next cell

2005-11-03 Thread Andre Poenitz
On Wed, Nov 02, 2005 at 10:51:42AM +0100, Jean-Marc Lasgouttes wrote: Andre == Andre Poenitz [EMAIL PROTECTED] writes: I propose to use the following patch for now. The only remaining glitch I could find is that it is possible to put the cursor in front of a displayed inset, but I think

Re: [Patch] fix for 2074

2005-11-03 Thread Andre Poenitz
On Wed, Nov 02, 2005 at 12:00:12PM +0200, Martin Vermeer wrote: Yes, I saw that. But as Lars remarked, all insets have dimensions. While this is correct, it is also expensive. In the long run we'd probably need only dimension for things on the screen. so the dimension cahce might be 'external'

Re: [Patch] fix for 2074

2005-11-03 Thread Andre Poenitz
On Tue, Nov 01, 2005 at 06:58:08PM +0100, Jean-Marc Lasgouttes wrote: Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin OK. Should we set all these values to 1000? Might unearth some Martin problems we didn't even know about. Why not an abstract virtual function or an assert?

Re: [Patch] fix for 2074

2005-11-03 Thread Andre Poenitz
On Tue, Nov 01, 2005 at 09:57:37PM +0200, Martin Vermeer wrote: Index: insets/insetbase.h === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insetbase.h,v retrieving revision 1.59 diff -u -p -r1.59 insetbase.h ---

Re: lyx-1.4 cvs assertion crash when resetting wrong language]

2005-11-07 Thread Andre Poenitz
On Thu, Nov 03, 2005 at 06:01:53PM +0200, Martin Vermeer wrote: On Thu, 2005-11-03 at 15:07 +0100, Jean-Marc Lasgouttes wrote: Martin == Martin Vermeer [EMAIL PROTECTED] writes: - do any font change (e.g. C-b) == crash Martin No it doesn't. Not with this fix. I understand that.

Re: Bug 2094: Leaving mathed with down arrow triggers assertion

2005-11-07 Thread Andre Poenitz
On Mon, Nov 07, 2005 at 10:56:11AM +0200, Martin Vermeer wrote: Question: shouldn't the paragraph(s) inside a collapsed inset be absent from the paragraph cache? In theory yes, in practice we somehow scan too often through collapsed insets with all kind of fancy functions (setting cursor on

Re: lyx-1.4 cvs assertion crash when resetting wrong language]

2005-11-07 Thread Andre Poenitz
On Sat, Nov 05, 2005 at 08:10:39AM +0200, Martin Vermeer wrote: On Fri, Nov 04, 2005 at 11:11:06PM +0100, Jean-Marc Lasgouttes wrote: Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin I don't understand this at all. You mean what I wrote above? I mean especially Aren't you

Re: Bug 2094: Leaving mathed with down arrow triggers assertion

2005-11-11 Thread Andre Poenitz
On Mon, Nov 07, 2005 at 04:55:23PM +0100, Juergen Spitzmueller wrote: Juergen Spitzmueller wrote: I think you should apply it. I'll do so. Unfortunately, it turned out that the fix had some side-effects: it breaks coord calculation for nested math insets (e.g. grid insets), because

Re: Fix for bug 2015: font properties propagation in environments

2005-11-11 Thread Andre Poenitz
On Wed, Nov 09, 2005 at 10:21:19AM +0100, Georg Baum wrote: class ParAddressEqual : public std::unary_functionParagraph, bool { public: ParAddressEqual(Paragraph const * par) : par_(par) {} bool operator()(Paragraph const par) const { return par == par_;

Re: [New patch] Re: Fix for bug 2015: font properties propagation in environments

2005-11-11 Thread Andre Poenitz
On Fri, Nov 11, 2005 at 12:25:50AM +0100, Lars Gullik Bjønnes wrote: | + ParagraphList::const_iterator it = pars_.begin(); | + ParagraphList::const_iterator const end = pars_.end(); | + while (it != end (*it) != par) | + ++it; | + for (; it != end; ++it)

Re: 1.4cvs bug 2117, matrix inside delimiters crash recipe:

2005-11-11 Thread Andre Poenitz
On Tue, Nov 08, 2005 at 10:03:59PM +0100, Juergen Spitzmueller wrote: Martin Vermeer wrote: No, I suspect that what you want is this (if I understand this stuff correctly). Yes, probably. I don't understand the math inset stuff enough to be absolutely sure that there might not be some

Re: [New patch] Re: Fix for bug 2015: font properties propagation in environments

2005-11-11 Thread Andre Poenitz
On Thu, Nov 10, 2005 at 05:41:37PM +0100, Jean-Marc Lasgouttes wrote: Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Jean-Marc Lasgouttes wrote: I have a different idea right now: since ParagraphList is a vector, can't we just say that pit = par - pars_[0]; ? Angus I'm not

Re: [New patch] Re: Fix for bug 2015: font properties propagation in environments

2005-11-11 Thread Andre Poenitz
On Thu, Nov 10, 2005 at 03:28:42PM +0200, Martin Vermeer wrote: On Wed, 2005-11-09 at 14:17 +0100, Jean-Marc Lasgouttes wrote: Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin So then the original patch should go in, with break added? How Martin expensive is this with big

Re: 1.4cvs bug 2117, matrix inside delimiters crash recipe:

2005-11-11 Thread Andre Poenitz
On Tue, Nov 08, 2005 at 11:28:19PM +0100, Juergen Spitzmueller wrote: Georg Baum wrote: As far as I understand it it is simple: Some insets can have math or text contents. They return UNDECIDED_MODE as long as the right mode is not known. All other insets should return MATH_MODE or

Re: Fix for bug 2015: font properties propagation in environments

2005-11-11 Thread Andre Poenitz
On Wed, Nov 09, 2005 at 04:33:09PM +0200, Martin Vermeer wrote: On Wed, 2005-11-09 at 14:17 +0100, Jean-Marc Lasgouttes wrote: Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin So then the original patch should go in, with break added? How Martin expensive is this with big

Re: 1.4cvs bug 2117, matrix inside delimiters crash recipe:

2005-11-11 Thread Andre Poenitz
On Wed, Nov 09, 2005 at 10:33:10AM +0100, Juergen Spitzmueller wrote: This distinction would also make sense for mathinsets, no? (hullinset is HIGHLY_EDITABLE, but nestinsets and gridinsets aren't, apparently). I think so. Almost all math insets should be HIGHLY_EDITABLE. Hm. So why

Re: Forget Windows

2005-11-11 Thread Andre Poenitz
On Wed, Nov 09, 2005 at 08:24:58AM +0200, Martin Vermeer wrote: The idea is that each frontend author is free to implement the dialogs as he wants. There is no contraint on their layout and/or text. But that's a bug, not a feature, right? We _should_ strive for uniformity. This would mean

Re: When will the 1.3.7 released

2005-11-12 Thread Andre Poenitz
On Fri, Nov 11, 2005 at 11:58:45PM +, Luis Rivera wrote: Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Alex == Alex [EMAIL PROTECTED] writes: Alex Dear All, I would like to ask when the 1.3.7 version is going to Alex be released? There is no deadline yet, Actually,

Re: vectorParagraph considered harmful.

2005-11-27 Thread Andre Poenitz
On Fri, Nov 25, 2005 at 03:51:28PM +0100, Jean-Marc Lasgouttes wrote: I think the change of container from list to vector for ParagraphList is putting us in a bad situation. Remember the weird bug I had to solve with DEPM a few weeks ago: everytime you insert a paragraph in a document, all

Re: [PATCH] bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout

2005-11-27 Thread Andre Poenitz
On Fri, Nov 25, 2005 at 01:10:09PM +0100, Juergen Spitzmueller wrote: Jean-Marc Lasgouttes wrote: Juergen Can I commit it if I rename it asString? Yes. Thanks (thank God there are frontends like KFileRename nowadays). You mean replacements for perl -pie 's/foo/bar/g' *.[Ch] ? Andre'

Re: [New patch] Re: Fix for bug 2015: font properties propagation in environments

2005-11-27 Thread Andre Poenitz
On Mon, Nov 14, 2005 at 05:55:46PM +0100, Lars Gullik Bjønnes wrote: Andre Poenitz [EMAIL PROTECTED] writes: | + pit_type pit = 0; | + for ( ; pit pars_.size() pars_[pit] != par; ++pit) | + ; You know... terse does not mean easy to understand. That's why I usually write

Re: Fix for bug 2015: font properties propagation in environments

2005-11-27 Thread Andre Poenitz
On Mon, Nov 14, 2005 at 05:57:53PM +0100, Lars Gullik Bjønnes wrote: | On Wed, Nov 09, 2005 at 10:21:19AM +0100, Georg Baum wrote: | class ParAddressEqual : public std::unary_functionParagraph, bool { | public: | ParAddressEqual(Paragraph const * par) : par_(par) {} | bool

Re: [patch] fix setDefaultParagraph in insettabular

2005-11-27 Thread Andre Poenitz
On Mon, Nov 14, 2005 at 11:00:08AM +0100, Georg Baum wrote: Juergen Spitzmueller wrote: Jean-Marc Lasgouttes wrote: The problem is probably (as in bugs 1952/53) that there is no way when the cursor is in a tabular (top.inset() is the insettabular) to access the insettext itself (the

Re: [Patch in bugzilla] for 1966, and others

2005-11-27 Thread Andre Poenitz
On Tue, Nov 15, 2005 at 10:21:55PM +0100, Helge Hafting wrote: On Tue, Nov 15, 2005 at 07:48:04PM +0200, Martin Vermeer wrote: I forgot even more. Attached a better version. Hit it hard. (Found one glitch already: with a newline at end of paragraph, the cursor may get stuck and refuse

Re: [PATCH] bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout

2005-11-27 Thread Andre Poenitz
On Thu, Nov 24, 2005 at 06:09:46PM +0100, Jean-Marc Lasgouttes wrote: What about this? Of course, it would be better to add a virtual function to InsetBase like asString that either uses plaintext or does nothing, but I think this is good enough for now. What do you think? Use the virtual

Re: The baby algorithm

2005-11-28 Thread Andre Poenitz
On Wed, Nov 23, 2005 at 08:52:23AM +0100, Asger Ottar Alstrup wrote: Dear Angus, Congratulations to you and your family! I can only say that he really does look a lot like you. Normally, babies all look the same, but in this case, there is no doubt that you are the father! I'm sure you

Re: vectorParagraph considered harmful.

2005-12-02 Thread Andre Poenitz
On Mon, Nov 28, 2005 at 10:41:25AM +0100, Jean-Marc Lasgouttes wrote: Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre I think paragraph ids are an anachrnism. We have stable(!) doc Andre iterators nowadays, so positions could be indicated by those. That would make Bookmarks pretty

Re: William Leeming

2005-12-03 Thread Andre Poenitz
On Mon, Nov 21, 2005 at 11:49:05AM +, Angus Leeming wrote: I'd like to announce the arrival of William who arrived on Tuesday 15 November, weighing in at 3.55kg (7lb 12oz in old money.) It wasn't easy getting him out (40 hours labour followed by a Cæsarian) but now he is out both he and

Re: The baby algorithm

2005-12-03 Thread Andre Poenitz
On Mon, Nov 28, 2005 at 11:04:58AM +, Angus Leeming wrote: Andre Poenitz wrote: I'm sure you are already know the algorithm by now: while (age 3 months) { If baby cries, - want milk? - change diper? - need sleep? if age 1 month, want to play? } Any

Re: Mysterious addition of dots after citation

2005-12-03 Thread Andre Poenitz
On Fri, Dec 02, 2005 at 09:13:43AM +0100, Helge Hafting wrote: Jean-Marc Lasgouttes wrote: So a solution would be to change the format and replace . by something like \dot (like we do for \backspace). But then lyx2lyx would have to be very very careful to avoid to replace \dot macros in

Re: Qt/Win Free bugs

2005-12-03 Thread Andre Poenitz
On Fri, Dec 02, 2005 at 01:23:56AM +, Angus Leeming wrote: 1. If there were some make environment, by which I mean either an MSVC solution file or a bunch of Makefiles that could be used to invoke the MSVC compiler, then you'd find that the code compiled (probably) but failed to link.

Re: vectorParagraph considered harmful.

2005-12-09 Thread Andre Poenitz
On Mon, Dec 05, 2005 at 10:42:39AM +0100, Jean-Marc Lasgouttes wrote: Andre == Andre Poenitz [EMAIL PROTECTED] writes: That would make Bookmarks pretty useless as soon as you add/remove a paragraph. The same would hold for the error list. Andre Bookmarks could be implemented by real

Re: [patch] Re: LyX startup times, was: Re: Forget Windows

2005-12-11 Thread Andre Poenitz
On Sun, Dec 11, 2005 at 04:58:07PM +0100, Helge Hafting wrote: On Sat, Dec 10, 2005 at 01:49:36PM +0100, Lars Gullik Bjønnes wrote: Juergen Spitzmueller [EMAIL PROTECTED] writes: | What do you think? In 1.5 we should move towards making all the mathed initialization lazy. We should

Re: vectorParagraph considered harmful.

2005-12-11 Thread Andre Poenitz
On Fri, Dec 09, 2005 at 11:15:50PM +0100, Jean-Marc Lasgouttes wrote: Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre Would it help if I came up with a ParagraphList implementation Andre wrapping a vector that avoids that problem? Yes, I think so. First shot attached

Re: vectorParagraph considered harmful.

2005-12-18 Thread Andre Poenitz
On Mon, Dec 12, 2005 at 02:57:50PM +0100, Jean-Marc Lasgouttes wrote: Andre While I cannot see anything getting worse, the par id still go Andre up quickly. More precisely, the id of the first par of the Andre UserGuide is 6183. Hit enter on the first line, then go down to Andre the par now

Re: [Patch] Re: [patch] Re: Mac speed, profiling

2005-12-18 Thread Andre Poenitz
On Sat, Dec 17, 2005 at 07:58:42PM +0200, Martin Vermeer wrote: 2) BTW is it really true that pushing something to the back of a vector (or other container), forcing a copy in memory to a new location (?) will invalidate any iterators defined earlier to point into it? This feels almost like

Re: [Patch] Re: [patch] Re: Mac speed, profiling

2005-12-18 Thread Andre Poenitz
On Sun, Dec 18, 2005 at 11:44:05AM +0200, Martin Vermeer wrote: On Sat, Dec 17, 2005 at 06:57:33PM +, Angus Leeming wrote: Why not try std::maplyx::size_type, lyx::size_type rowSignature; which I'd imagine will actually be easier to use than your vector in this regard and will

Re: [Patch] Re: [patch] Re: Mac speed, profiling

2005-12-18 Thread Andre Poenitz
On Sat, Dec 17, 2005 at 06:11:27PM +0200, Martin Vermeer wrote: (and would lessen the work of getting the rowList moved out of the paragraph). Was that the plan? Long term, yes. The rowlist is view-specific information and thus conceptionally wrong in the paragraph. Sounds a bit

Re: vectorParagraph considered harmful.

2005-12-19 Thread Andre Poenitz
On Mon, Dec 19, 2005 at 11:27:18AM +0100, Jean-Marc Lasgouttes wrote: Andre == Andre Poenitz [EMAIL PROTECTED] writes: So why don't we just remove these swap calls and be done with it? Andre The problem here is that we get a ParagraphList passed but use Andre some functions operating

Re: [PATCH] Re: Mathinset b ehavior (André?)

2005-12-19 Thread Andre Poenitz
On Mon, Dec 19, 2005 at 05:39:42PM +0100, Jean-Marc Lasgouttes wrote: Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin On Mon, 2005-12-19 at 00:42 -0500, Grag wrote: I noticed some difference between the behavior of the mathinset that is inconsistent with lyx 1.3.x For

Re: [PATCH] Re: Mathinset b ehavior (André?)

2005-12-22 Thread Andre Poenitz
On Tue, Dec 20, 2005 at 04:06:06PM +0200, Martin Vermeer wrote: On Tue, Dec 20, 2005 at 02:51:13PM +0100, Jean-Marc Lasgouttes wrote: Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin Yes, I see. I think your patch is precisely the right one as Martin this method is called

Re: [PATCH] Re: Mathinset b ehavior (André?)

2005-12-22 Thread Andre Poenitz
On Tue, Dec 20, 2005 at 03:59:39PM +0100, Jean-Marc Lasgouttes wrote: Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin Alternatively, put this in a method and call that from both Martin places. Yes, but insert, plainInsert and niceInsert are already taken, I do not have any new

Re: [PATCH] Re: Mathinset b ehavior (André?)

2005-12-22 Thread Andre Poenitz
On Tue, Dec 20, 2005 at 12:05:40AM +0200, Martin Vermeer wrote: On Mon, Dec 19, 2005 at 10:49:08PM +0100, Andre Poenitz wrote: On Mon, Dec 19, 2005 at 05:39:42PM +0100, Jean-Marc Lasgouttes wrote: Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin Confirmed. This problem

Re: [PATCH] Re: Mathinset b ehavior (André?)

2005-12-22 Thread Andre Poenitz
On Tue, Dec 20, 2005 at 12:44:50PM +0100, Jean-Marc Lasgouttes wrote: Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin On Mon, Dec 19, 2005 at 05:39:42PM +0100, Jean-Marc Lasgouttes Martin wrote: Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin ... Martin

Re: [Patch] Re: [patch] Re: Mac speed, profiling

2005-12-23 Thread Andre Poenitz
On Fri, Dec 23, 2005 at 10:40:45AM +0100, Jean-Marc Lasgouttes wrote: So for now, I suspect that something simple will be enough. Just count the insets as a single char and be done until somebody comes up with a new problematic case. Andre'

Re: [PATCH] Re: Mathinset b ehavior (André?)

2005-12-23 Thread Andre Poenitz
On Fri, Dec 23, 2005 at 10:53:28AM +0100, Jean-Marc Lasgouttes wrote: 1/ copy this seemingly (to me) fragile code to macroModeClose -or- 2/ invoke dispatch directly (but add a warning telling this should be fixed) -or- 3/ create yet another LCursor::fooInsert method, inorder to make really

Re: Screen update improvements

2006-01-08 Thread Andre Poenitz
On Tue, Jan 03, 2006 at 12:15:12AM +0100, Abdel wrote: But I am not an expert so maybe this is just because Qt4 is supposed to be totally double-buffered. 'totally' is a bit of an overstatement, but yes, most of the usual user-siden double buffering is unneeded. Amdre'

Re: [PATCH] Re: Mathinset b ehavior (André?)

2006-01-08 Thread Andre Poenitz
On Wed, Dec 28, 2005 at 05:24:27PM +0100, Jean-Marc Lasgouttes wrote: Andre == Andre Poenitz [EMAIL PROTECTED] writes: So, what do you propose? I guess I could keep mathMacroClose as it was, Andre Yes. and put the cursor inside the new inset only when space was pressed? What

Re: lyx-1.4.0 and Qt-4.1

2006-01-08 Thread Andre Poenitz
On Thu, Dec 29, 2005 at 08:51:02PM +0100, Abdel wrote: Hello, Judging from the absence of answer, I suppose this matter is not interesting to you :-( You culd have as well assumed people were absent from ailing lists. Would be closer to the truth at least in my case. It's OK, I understand

Re: lyx-1.4.0 and Qt-4.1

2006-01-08 Thread Andre Poenitz
On Tue, Dec 27, 2005 at 11:43:05AM +0100, Abdel wrote: Dear developpers, I could not sleep last night so I tried as an exercise to see if lyx could be ported easily to the fresh Qt-4.1. As you might guess it was more difficult than I originally thought. But after much work it compiles

Re: How to speed up LyXText::breakParagraph?

2006-01-08 Thread Andre Poenitz
On Wed, Jan 04, 2006 at 11:53:45AM +0100, Abdel wrote: From what I see it uses size() and operator[] so deque would be fine here also. But maybe rewriting this patch to use ParagraphList::iterator and algorithm::find would be better, wouldn't it? This way we won't rely on vector property.

Re: Bugs status

2006-01-08 Thread Andre Poenitz
On Mon, Jan 02, 2006 at 05:44:24PM +, Jose' Matos wrote: On Monday 02 January 2006 17:41, Herbert Voss wrote: uuh, this causes an error! \tabular{lr} Jür gen \endtabular You are really a magician, splitting Jürgen in half. ;-) I thought the magic part was implementing 'undo'

Re: [announce] sixth release of LyXWinInstaller

2006-01-08 Thread Andre Poenitz
On Mon, Jan 02, 2006 at 02:24:58PM -0800, Stephen Harris wrote: Why doesn't English have the default of C:\Programs? Is it because C:\program files adheres to basic Windows guidelines? No, certainly not. Just because Word pioneered filenames with spaces doesn't mean that practice should be

Re: lyx-1.4.0 and Qt-4.1

2006-01-09 Thread Andre Poenitz
On Mon, Jan 09, 2006 at 09:58:41AM +0100, Jean-Marc Lasgouttes wrote: Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre Actually I don't think there won't be a need to maintain two Qt Andre frontends in parallel. As soon as some Qt 4.x version works, Andre 3.x should be removed

Re: lyx-1.4.0 and Qt-4.1

2006-01-09 Thread Andre Poenitz
On Mon, Jan 09, 2006 at 10:45:17AM +0100, Abdel wrote: I think we should get rid of them in the long run and favour 'proper' Qt 4 classes (even if the Q3* stuff is officially part of Qt4) I am getting rid of most of them right now. Nice. [...] By the way is there a rule concerning the

Re: How to speed up LyXText::breakParagraph?

2006-01-09 Thread Andre Poenitz
On Mon, Jan 09, 2006 at 10:11:35AM +0100, Abdel wrote: Andre Poenitz a écrit : On Wed, Jan 04, 2006 at 11:53:45AM +0100, Abdel wrote: From what I see it uses size() and operator[] so deque would be fine here also. But maybe rewriting this patch to use ParagraphList::iterator and algorithm

Re: [Patch] (Re: Screen update improvements)

2006-01-09 Thread Andre Poenitz
On Mon, Jan 09, 2006 at 10:39:30AM +0100, Abdel wrote: Jean-Marc Lasgouttes a écrit : Abdel == Abdel [EMAIL PROTECTED] writes: Abdel Hum, actually I think there might be another reason. Michael, Abdel could you please try this patch: This seems quite interesting. Do you have reasons to

Re: Bug 2015 patch + profiling

2006-01-09 Thread Andre Poenitz
On Mon, Jan 09, 2006 at 10:10:17AM +0100, Jean-Marc Lasgouttes wrote: Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars Flickering is also not critical... but anoying, sure. Lars We _must_ stop fiddeling with non-critical stuff. We have to admit that 1.4.0 will really be

Re: [PATCH] Re: Mathinset b ehavior (André?)

2006-01-09 Thread Andre Poenitz
On Mon, Jan 09, 2006 at 06:05:09PM +0100, Jean-Marc Lasgouttes wrote: Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre Can't you simply put the new stuff in a separate function? I Andre always have a feeling that additional bool parameters do not Andre improve readability, especially

Re: [PATCH] Re: Mathinset b ehavior (André?)

2006-01-13 Thread Andre Poenitz
On Tue, Jan 10, 2006 at 12:53:39PM +0100, Jean-Marc Lasgouttes wrote: Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre prevAtom(). Or maybe nextAtom(). Should be near the cursor, Andre shouldn't it? OK, here is my next try. I kind of like the code now, so I'd really want to commit

Re: Bugs status again

2006-01-13 Thread Andre Poenitz
On Tue, Jan 10, 2006 at 03:14:04PM +0100, Jean-Marc Lasgouttes wrote: I disagree with martin that we should prevent font changes in charstyles. So the current patch does not appeal to me at all. If I understand correctly, the problem is that LyXText::current_font is either (1) the current

Re: [PATCH] Re: Mathinset b ehavior (André?)

2006-01-13 Thread Andre Poenitz
On Tue, Jan 10, 2006 at 07:35:14AM +0100, Jean-Marc Lasgouttes wrote: Andre == Andre Poenitz [EMAIL PROTECTED] writes: Not really, because it is only in macroMathClose that I have access to the object that has been created there. How would I access the newly built \frac{}{} object

Re: Lars Lasgouttes does not scale (Re: Bug 2015 patch + profiling)

2006-01-13 Thread Andre Poenitz
On Tue, Jan 10, 2006 at 10:51:01AM +0200, Martin Vermeer wrote: Unfortunately we lost Angus for this. Unfortunately also, senior developers tend to be older people (as in: not students anymore) with lots of other obligations and responsibilities. Being competent does that to people ;-) I am

Re: Towards LyX 1.3.7 [status update #1]

2006-01-13 Thread Andre Poenitz
On Thu, Jan 12, 2006 at 09:10:57PM +, Angus Leeming wrote: Jean-Marc Lasgouttes wrote: Thanks Angus. What am I going to do for next release? Are you going to magically pop up from nowhere and fix my English? You got my email? Use it! One day, I'm going to arrive on your doorstep and

Re: bug 1973, was: Re: Bugs status again

2006-01-13 Thread Andre Poenitz
On Thu, Jan 12, 2006 at 09:29:37AM +0100, Jean-Marc Lasgouttes wrote: What about deciding of a relelase date, to put some pressure on ourselves? Something wrong with Christmas? Andre'

Re: Lars Lasgouttes does not scale (Re: Bug 2015 patch + profiling)

2006-01-13 Thread Andre Poenitz
On Tue, Jan 10, 2006 at 02:39:40PM +0100, Jean-Marc Lasgouttes wrote: I admit that I do not scale very well these days :( Bad enough. I scaled by a factor of roughly 1.04 over Christmas. Maybe you should change your eating habits ;-) Andre'

Re: bug 2192, was: Re: Bugs status again

2006-01-13 Thread Andre Poenitz
On Tue, Jan 10, 2006 at 08:53:55PM +0100, Georg Baum wrote: Indeed. I attach an updated patch. --- src/graphics/GraphicsCacheItem.C2 Nov 2005 20:11:36 - 1.66 +++ src/graphics/GraphicsCacheItem.C10 Jan 2006 20:10:16 - @@ -335,8 +335,10 @@ string const

Re: bug 1973, was: Re: Bugs status again

2006-01-15 Thread Andre Poenitz
On Sat, Jan 14, 2006 at 11:08:35AM +0100, Lars Gullik Bjønnes wrote: Andre Poenitz [EMAIL PROTECTED] writes: | On Thu, Jan 12, 2006 at 09:29:37AM +0100, Jean-Marc Lasgouttes wrote: | What about deciding of a relelase date, to put some pressure on ourselves? | | Something wrong

Re: Lars Lasgouttes does not scale (Re: Bug 2015 patch + profiling)

2006-01-15 Thread Andre Poenitz
On Sat, Jan 14, 2006 at 11:17:23AM +0100, Jean-Marc Lasgouttes wrote: Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre On Tue, Jan 10, 2006 at 02:39:40PM +0100, Jean-Marc Lasgouttes Andre wrote: I admit that I do not scale very well these days :( Andre Bad enough. I scaled

Re: copying and pasting a LyX environment? (like Word's Format Painter)

2006-01-16 Thread Andre Poenitz
On Mon, Jan 16, 2006 at 03:01:54PM +0100, Abdel wrote: Jean-Marc Lasgouttes a écrit : Abdel == Abdel [EMAIL PROTECTED] writes: Abdel OK, thanks. My main problem is that while a MenuItem is of Abdel Submenu kind, sometimes (depends on the document you load and Abdel the time of day) its

Re: Bug reporting - disk full

2006-01-21 Thread Andre Poenitz
On Wed, Jan 18, 2006 at 12:50:59PM +0100, Jean-Marc Lasgouttes wrote: While this is not a good example, I do think that unification of menubar and toolbar would be useful. But of course, I would do it in the existing backend framework... 'QAction'... Andre'

Re: copying and pasting a LyX environment? (like Word's Format Painter)

2006-01-21 Thread Andre Poenitz
On Wed, Jan 18, 2006 at 03:43:58PM +0100, Abdelrazak Younes wrote: OK, I think I have some arguments now ;-) So, if I was to rewrite this all (which I am not going to do, at least not now), I would base this on four configuartion files: [...] Ok up to: 4) Context Menu Config File: There,

Re: copying and pasting a LyX environment? (like Word's Format Painter)

2006-01-21 Thread Andre Poenitz
On Mon, Jan 16, 2006 at 10:47:29PM +0100, Lars Gullik Bjønnes wrote: Oh... but we shouldn't just break the exiting frontend(s) either, but sure development will only happen on the frontend people are interested in. Shouldn't we? Why should we reinvent and maintain stuff that Qt handles for

Re: copying and pasting a LyX environment? (like Word's Format Painter)

2006-01-21 Thread Andre Poenitz
On Tue, Jan 17, 2006 at 10:01:17AM +0100, Jean-Marc Lasgouttes wrote: Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre We really, really should get rid of the homebaked GUII stuff Andre and switch to a single frontend. If anybody is masochistic Andre enough to maintain other frontends

Re: [PATCH] get rid of some debug output

2006-01-21 Thread Andre Poenitz
On Fri, Jan 20, 2006 at 04:11:24PM +0100, Jean-Marc Lasgouttes wrote: Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus I have some questions/points for you... + // Unsafe if .find() can return .end() CoordCache::InnerParPosCache const cache =

Re: 1.4pre3 feature requests

2006-01-21 Thread Andre Poenitz
On Fri, Jan 20, 2006 at 05:16:37PM +, John Levon wrote: On Fri, Jan 20, 2006 at 02:58:00PM +0100, Martin Hinsch wrote: non-standard, meaning that it's not possible (anymore) to drag them, make them float or make them vertical. This is intentionally disabled, somewhere on the net

Re: Bug reporting - disk full

2006-01-21 Thread Andre Poenitz
On Sat, Jan 21, 2006 at 05:03:40PM +0100, Abdelrazak Younes wrote: Just kidding of course... 1.4 has at least two very good new features: Branches and Track Change. There is one feature I am missing a lot: the ability to make a reference to a figure or a section without having to put a

Re: Bug reporting - disk full

2006-01-21 Thread Andre Poenitz
On Sat, Jan 21, 2006 at 01:29:07PM +0100, Jean-Marc Lasgouttes wrote: Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre On Wed, Jan 18, 2006 at 12:50:59PM +0100, Jean-Marc Lasgouttes Andre wrote: While this is not a good example, I do think that unification of menubar and toolbar

Re: Bug reporting - disk full

2006-01-21 Thread Andre Poenitz
On Sat, Jan 21, 2006 at 01:36:44PM +, Angus Leeming wrote: Jean-Marc Lasgouttes wrote: While this is not a good example, I do think that unification of menubar and toolbar would be useful. But of course, I would do it in the existing backend framework... Andre 'QAction'...

Re: copying and pasting a LyX environment? (like Word's Format Painter)

2006-01-21 Thread Andre Poenitz
On Sat, Jan 21, 2006 at 03:37:35PM +0100, Abdelrazak Younes wrote: I would not add the rules part. Enabling/disablig should be done in the core, otherwieyou'd end up coding C++ in XML. And what's wrong with that? I mean, if it doesn't eat up CPU cycles, the less hard-coded code the better.

Re: [PATCH] get rid of some debug output

2006-01-21 Thread Andre Poenitz
On Sat, Jan 21, 2006 at 02:13:47PM +0200, Martin Vermeer wrote: On Fri, Jan 20, 2006 at 10:06:15PM +0200, Martin Vermeer wrote: On Fri, Jan 20, 2006 at 04:04:36PM +0100, Jean-Marc Lasgouttes wrote: Martin == Martin Vermeer [EMAIL PROTECTED] writes: ... It's snappy for me... BTW

Re: [PATCH] get rid of some debug output

2006-01-22 Thread Andre Poenitz
The patch makes cursor movement a little more generous ;-) A comment stating this would be in order... Andre'

Re: 1.4pre3 feature requests

2006-01-22 Thread Andre Poenitz
On Sat, Jan 21, 2006 at 08:46:27PM +, Angus Leeming wrote: Andre Poenitz wrote: Most important it would be IMHO that the state of the toolbars is saved at the end of a session. Yes, we need this. QMainWindow::{save,restore}State should do the trick, shouldn't it? Qt4 only

Re: [PATCH] get rid of some debug output

2006-01-23 Thread Andre Poenitz
On Mon, Jan 23, 2006 at 11:29:02AM +0200, Martin Vermeer wrote: On Mon, 2006-01-23 at 09:59 +0100, Jean-Marc Lasgouttes wrote: Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin Ah yes... thanks. The attached should be OK in this respect. I do not think so: -

Re: [patch] fix for inlied ERT

2003-12-02 Thread Andre Poenitz
On Mon, Dec 01, 2003 at 10:32:48PM +0200, Martin Vermeer wrote: - @@ -1620,7 +1624,7 @@ void LyXText::metrics(MetricsInfo mi, // final dimension dim.asc = firstRow()-ascent_of_text(); dim.des = height - dim.asc; - dim.wid = std::max(mi.base.textwidth,

Re: [patch] Qt scrolling

2003-12-02 Thread Andre Poenitz
On Mon, Dec 01, 2003 at 09:50:17PM +, Angus Leeming wrote: + [...] 'psuedo' [...] The truoble with that langauge of yuors is that their is no ricognizible pattern in the youse of vowils. Andre'

Re: A working InsetVSpace

2003-12-02 Thread Andre Poenitz
On Mon, Dec 01, 2003 at 09:20:33PM +, Angus Leeming wrote: Cheers, Georg. Applied, although I suspect that someone will now try and factorize all these pieces of code handling 'end_inset'... At least making the LyXLex interface a bit similar to the std::streams would make me feel better.

Re: A working InsetVSpace

2003-12-02 Thread Andre Poenitz
On Tue, Dec 02, 2003 at 09:17:31AM +, Angus Leeming wrote: Andre Poenitz wrote: At least making the LyXLex interface a bit similar to the std::streams would make me feel better. Patch attached. +/// file is open and end of file is not reached +operator void

Re: [patch] Qt scrolling

2003-12-02 Thread Andre Poenitz
On Tue, Dec 02, 2003 at 09:22:03AM +, Angus Leeming wrote: Andre Poenitz wrote: On Mon, Dec 01, 2003 at 09:50:17PM +, Angus Leeming wrote: + [...] 'psuedo' [...] The truoble with that langauge of yuors is that their is no ricognizible pattern in the youse of vowils

Re: The current char style UI

2003-12-02 Thread Andre Poenitz
On Tue, Dec 02, 2003 at 10:53:26AM +0100, Helge Hafting wrote: At least latex lets me change from \emph{This is marked} to \emph{This} is \emph{marked} without retyping any text. :-) This is implementable with 'boxes in boxes', too. Andre' -- Those who desire to give up Freedom in order to

Re: A working InsetVSpace

2003-12-02 Thread Andre Poenitz
On Tue, Dec 02, 2003 at 09:52:47AM +, Angus Leeming wrote: Btw, I forgot to implement bool operator!() const. So, now you need two operators to replace a single isOk()... That's what the std::streams do. Usage is more concise, btw. Andre'

Re: [patch] Qt scrolling

2003-12-02 Thread Andre Poenitz
On Tue, Dec 02, 2003 at 09:55:23AM +, Angus Leeming wrote: Andre Poenitz wrote: Srue. Wrkos eevn in Grmaen. The cssliac elpmaxe is 'Dcdhhiikmmnnopprssstttuzäüe' ...which goes to prove something or other ;-) Incidentally, how long did it take you to rearrange the letters

Re: [patch] Qt scrolling

2003-12-02 Thread Andre Poenitz
On Tue, Dec 02, 2003 at 11:02:08AM +0100, Kornel Benko wrote: The cssliac elpmaxe is 'Dcdhhiikmmnnopprssstttuzäüe' ...which goes to prove something or other ;-) Incidentally, how long did it take you to rearrange the letters in alphabetical order? Not long, about 10

Re: [patch] Qt scrolling

2003-12-02 Thread Andre Poenitz
On Tue, Dec 02, 2003 at 11:12:20AM +0100, Kornel Benko wrote: -BEGIN PGP SIGNED MESSAGE- On Dienstag, 2. Dezember 2003 11:09, Andre Poenitz wrote: Not long, about 10 seconds. That's not bad. How did you do that? It was a very long word. There are not too many long-word

Re: LyX 1.4 task list

2003-12-02 Thread Andre Poenitz
On Mon, Dec 01, 2003 at 06:33:59PM +, Angus Leeming wrote: You have my vote too. Which reminds me: I like the mathed approach to tables ;-) But it's harder to move the outer world tables that way... Andre'

Re: [PATCH] fix exit crash

2003-12-02 Thread Andre Poenitz
On Sun, Nov 30, 2003 at 03:41:15AM +, John Levon wrote: -text() is NULL when you're shutting down with a discarded document open. Fix accesses Btw, the 'resize' problem is fixed now, too. Andre'

Re: Can't read InsetVSpace from the dialog...

2003-12-02 Thread Andre Poenitz
On Tue, Dec 02, 2003 at 11:14:45AM +, Angus Leeming wrote: André, this (in InsetVSpaceMailer::string2params) fails to fill 'vspace': lex name vsp; if (lex) vspace = VSpace(vsp); because we have reached the end of the stream, so this fails: bool

Re: Can't read InsetVSpace from the dialog...

2003-12-02 Thread Andre Poenitz
On Tue, Dec 02, 2003 at 11:44:10AM +, Angus Leeming wrote: Andre Poenitz wrote: because we have reached the end of the stream, so this fails: bool LyXLex::isOK() const { return pimpl_-is.good(); } IIRC: The stream should be good after reading the vsp item

<    1   2   3   4   5   6   7   8   9   10   >