Re: [PATCH] Bug 3770: configure needs modification to be run on FreeBSD

2007-05-30 Thread Jean-Marc Lasgouttes
José == José Matos [EMAIL PROTECTED] writes: José On Tuesday 29 May 2007 15:32:12 Jean-Marc Lasgouttes wrote: Jose, OK? José OK. Done. JMarc

Re: Converter problem with Mac OS packages

2007-05-30 Thread Abdelrazak Younes
Andre Poenitz wrote: On Tue, May 29, 2007 at 12:17:04PM +0200, Jean-Marc Lasgouttes wrote: Mael == Mael Hilléreau [EMAIL PROTECTED] writes: Mael Le 27 mai 07 à 00:55, Mael Hilléreau a écrit : According to Apple's Bundle Programming Guide, The Finder identifies packages by any of the

Re: [patch] cursor misplaced after a linebreak, #2475

2007-05-30 Thread Abdelrazak Younes
Stefan Schimanski wrote: Abdel, is it ok? Dov tested it with my other patch already. Everything looks fine ok. Need another OK then. I've tested it yesterday and it was OK so OK :-) Abdel.

Re: Putting Rtl content in Insets

2007-05-30 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars | I prefer No document open! Lars Sounds strange. Is that even english? Lars I thought that 'No' usually required plural (unless you want to Lars give it a different meaning.) I do not know... So where

Re: Parenthesis and RTL

2007-05-30 Thread Abdelrazak Younes
Mostafa Vahedi wrote: Dov Feldstern [EMAIL PROTECTED] wrote: When testing Elazar's patch, I made sure to test plaintext export and it was fine. And of course, I also tested DVI/LaTeX export, and it was fine, too. I think that parentheses is just a problem --- there are different

Re: [PATCH] Bugs 3741 and 3756: Minor Citation Dialog Bugs

2007-05-30 Thread Abdelrazak Younes
Richard Heck wrote: Abdelrazak Younes wrote: Richard Heck wrote: Not OK from me for 3756. I prefer to have the double-click bug provided that I still have the Enter feature. Maybe it is possible to distinguish between the two action though... I'll have a look at this. The behavior you

Re: Putting Rtl content in Insets

2007-05-30 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Jean-Marc Lasgouttes wrote: Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars | I prefer No document open! Lars Sounds strange. Is that even english? Lars I thought that 'No' usually required plural (unless you

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Abdelrazak Younes
Andre Poenitz wrote: On Tue, May 29, 2007 at 10:11:16PM +0200, Stefan Schimanski wrote: I enabled stdlib-debug and then were surprised about the slowness. Some profiling was full of signal/slot stuff in copying cursors Well, I am not complaining about slowness (which hardly can be judged

Re: InsetListingsParams enhancement for Bo (was [patch] Bug 3639- Sorted listing params)

2007-05-30 Thread Abdelrazak Younes
Bo Peng wrote: Sorry Bo, it is been a bit late, but I wait for all the changes for the source file settles. It can go in if you change .find() to contains(), and trim() suffix to avoid problem with '?style ' etc (if it has not been trimmed before key is passed). All these controls and string

Re: [Cvslog] r18569 - in /lyx-devel/trunk/src: Cursor.cpp Cursor.h LyX...

2007-05-30 Thread Abdelrazak Younes
Stefan Schimanski wrote: Just debugging, to see the values easily in gdb, that's why it is in #ifdef DEBUG ... #endif It is producing as much output as other debug output lines which are non-effective in release mode... Unused variable generates a compilation error with CMake/MSVC... Abdel.

Re: Listing vs. Listings

2007-05-30 Thread Michael Gerz
Lars Gullik Bjønnes schrieb: Michael Gerz [EMAIL PROTECTED] writes: | Bo Peng schrieb: | On 5/29/07, Michael Gerz [EMAIL PROTECTED] wrote: | Hi, | | we use the term Listing inconsistently at the moment. Sometimes we use | the singular form, sometimes we use plural. | | I suggest using

Re: [patch] bug 3764: Implicit \author field in .lyx files

2007-05-30 Thread Michael Gerz
Veto! You can have changes in a document even if change tracking is deactivated! (We no longer have the enervating restriction of the 1.4.X series) Michael Pavel Sanda schrieb: Hi, the following patch add author info to .lyx file only if change tracking is enabled (

Re: [Cvslog] r18569 - in /lyx-devel/trunk/src: Cursor.cpp Cursor.h LyX...

2007-05-30 Thread Stefan Schimanski
Am 30.05.2007 um 08:44 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Just debugging, to see the values easily in gdb, that's why it is in #ifdef DEBUG ... #endif It is producing as much output as other debug output lines which are non-effective in release mode... Unused variable

Re: [Cvslog] r18569 - in /lyx-devel/trunk/src: Cursor.cpp Cursor.h LyX...

2007-05-30 Thread Abdelrazak Younes
Stefan Schimanski wrote: Am 30.05.2007 um 08:44 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Just debugging, to see the values easily in gdb, that's why it is in #ifdef DEBUG ... #endif It is producing as much output as other debug output lines which are non-effective in release

Re: r18577 - /lyx-devel/trunk/src/Text2.cpp

2007-05-30 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: Author: sts Date: Wed May 30 08:58:08 2007 New Revision: 18577 URL: http://www.lyx.org/trac/changeset/18577 Log: * put debug variables into #ifdef 0 block. Good that modern computer science can enforce good code quality by stopping compilation if unused variables

Re: [PATCH] po/ja.po: Japanese message file for 1.5.0 (merged from CJK-1.4.4)

2007-05-30 Thread Koji Yokota
OK, here we go. -- Hereby I grant permission to license my contributions to LyX under the GNU General Public License version 2 or later. Koji Yokota ([EMAIL PROTECTED])

Re: [PATCH] po/ja.po: Japanese message file for 1.5.0 (merged from CJK-1.4.4)

2007-05-30 Thread José Matos
On Wednesday 30 May 2007 08:21:08 Koji Yokota wrote: OK, here we go. -- Hereby I grant permission to license my contributions to LyX under the GNU General Public License version 2 or later. Koji Yokota ([EMAIL PROTECTED]) Thanks and welcome. :-) -- José Abílio

Re: Updates to the Hebrew translation

2007-05-30 Thread José Matos
On Wednesday 30 May 2007 06:45:44 Jean-Marc Lasgouttes wrote: Or have a toggle-language lfun that toggles between all the languages used by the document. Of course, this means that one has to explicitly set the second language for the first time. But the feature would be language neutral. I

Re: Updates to the Hebrew translation

2007-05-30 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Dov == Dov Feldstern [EMAIL PROTECTED] writes: Dov The best thing would probably be to ask at installation what the Dov primary and what the secondary languages are to be, then to set Dov the default language to primary, and set in the key bindings: Dov F12 language

Re: [patch] bug 3764: Implicit \author field in .lyx files

2007-05-30 Thread Juergen Spitzmueller
Michael Gerz wrote: You can have changes in a document even if change tracking is deactivated! (We no longer have the enervating restriction of the 1.4.X series) But the possibility to hide author information is a must. This is a serious security hole. Jürgen

Re: [patch] bug 3764: Implicit \author field in .lyx files

2007-05-30 Thread Michael Gerz
Juergen Spitzmueller schrieb: Michael Gerz wrote: You can have changes in a document even if change tracking is deactivated! (We no longer have the enervating restriction of the 1.4.X series) But the possibility to hide author information is a must. This is a serious security hole.

Listing issues translation work

2007-05-30 Thread Michael Gerz
Hi, while translating the listing dialog messages, I found a few minor problems: - Shortcuts for first line and last line do not work - Step: has a faulty tooltip (move cursor to the label, not the field) - Font sizes (twice!) are not translated - Font Styles are not translated - No language is

Re: Untranslateable strings in LyX (toolbar tooltip, TOC dialog, source preview)

2007-05-30 Thread Helge Hafting
Jürgen Spitzmüller wrote: Helge Hafting wrote: Insert table (just a table, no float) is a string that don't exist in either nb.po or de.po. Does the attached patch help? No. I checked out the entire source fresh from SVN, I applied your patch, compiled, remade lyx.pot and the

Re: Listing issues translation work

2007-05-30 Thread Herbert Voss
Michael Gerz wrote: - What happens if neither floating nor inline is activated? (Confusing) I suppose that the user gets a listing, which is not a flot and not in a line ... ;-) How could this be confusing??? A listing is in the first case a listing and it can be inlined or not or a float or

Re: InsetListingsParams enhancement for Bo (was [patch] Bug 3639- Sorted listing params)

2007-05-30 Thread Ozgur Ugras BARAN
On 5/30/07, Abdelrazak Younes [EMAIL PROTECTED] wrote: Bo Peng wrote: Sorry Bo, it is been a bit late, but I wait for all the changes for the source file settles. It can go in if you change .find() to contains(), and trim() suffix to avoid problem with '?style ' etc (if it has not been

Re: [patch] Cursor movement at RTL-LTR boundary

2007-05-30 Thread Stefan Schimanski
(for http://bugzilla.lyx.org/show_bug.cgi?id=3754) Index: src/Text2.cpp === --- src/Text2.cpp (revision 18569) +++ src/Text2.cpp (working copy) @@ -1031,7 +1031,7 @@ if (cur.pos() != cur.lastpos()) {

Re: Ready for RC1?

2007-05-30 Thread Helge Hafting
Peter Kümmel wrote: Dov Feldstern wrote: (I hope I'm referring to the correct version of the patch:) As Helge already reported, on very slow systems (I tested this by running under valgrind), if you type quickly, some keystrokes get swallowed... Nice idea to slow down with valgrind.

Re: Ready for RC1? Corrected test of event4

2007-05-30 Thread Helge Hafting
Sorry for the previous test of event4 - I patched the wrong tree. :-( event4 solves the problem for pageup/pagedown! I can scroll through half the userguide at 100% cpu, release the key, and LyX stops instantly! This is very good. The scrollbar still overshoots. I can only make it overshoot

Re: Untranslateable strings in LyX (toolbar tooltip, TOC dialog, source preview)

2007-05-30 Thread Juergen Spitzmueller
Helge Hafting wrote: The patch made no difference for this item, unless there is more I have to do to update the po-files? Don't know. Maybe Michael can help. Do you perhaps have some uncommitted patches for the toolbars? No. Jürgen

Re: Ready for RC1?

2007-05-30 Thread Helge Hafting
Lars Gullik Bjønnes wrote: | What is the problem that you are trying to solve here? Is it my old pet? Countinued scorrling after key-release? What was wrong with my patch from months back? I tried this with todays svn. The patch will indeed prevent scrolling after key-release, so it fixes

Re: r18573 - /lyx-devel/trunk/lib/unicodesymbols

2007-05-30 Thread Uwe Stöhr
+0x201a , # SINGLE LOW-9 QUOTATION MARK Uwe, I think the single low 9 quotation mark and the comma are not equal (wrt kerning). I'd use \quotesinglbase instead. You are right. I added this because in the existing unicodesymbols there was ,, instead of \quotedblbase

Cursor movement performance problems in 1.5svn

2007-05-30 Thread Helge Hafting
While testing scrolling, I noticed that moving the cursor around seems to be rather heavy work. Moving the cursor sideways on a line is snappy, but this movement takes 33% of the cpu according to top. Moving the cursor up/down seems sluggish compared to sideways movement, and LyX spend 61% of

[patch] fixing segfault because of empty coord cache

2007-05-30 Thread Stefan Schimanski
Hi! Here is a patch for a crash that happens due to a cell not in the coord cache during the drawing of the selection. It could be that this is related (and also fixes) http://bugzilla.lyx.org/show_bug.cgi? id=3715 . I believe the problem is when an inset derived from InsetMathNest does

Re: Cursor movement performance problems in 1.5svn

2007-05-30 Thread Stefan Schimanski
Am 30.05.2007 um 13:39 schrieb Helge Hafting: While testing scrolling, I noticed that moving the cursor around seems to be rather heavy work. Moving the cursor sideways on a line is snappy, but this movement takes 33% of the cpu according to top. Moving the cursor up/down seems sluggish

Re: Cursor movement performance problems in 1.5svn

2007-05-30 Thread Stefan Schimanski
This is just moving the cursorm around. Nothing is changed, and no scrolling either. Only the cursor itself is moved. This on a 2.4GHz pentium, with --disable-stdlib-debug Is this a known problem, with a planned fix? Will check... Stand by a moment. You are right. I guess there is a redraw

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Alfredo Braunstein
Abdelrazak Younes wrote: I am not sure that registering every single DocIterator would be any more efficient that my signal/slot solution. At the end you will have to go through a table. Small remark: note that not all DocIterators need to be stable (mainly cursors, maybe also bookmarks

Re: Cursor movement performance problems in 1.5svn

2007-05-30 Thread Abdelrazak Younes
Stefan Schimanski wrote: This is just moving the cursorm around. Nothing is changed, and no scrolling either. Only the cursor itself is moved. This on a 2.4GHz pentium, with --disable-stdlib-debug Is this a known problem, with a planned fix? Will check... Stand by a moment. You are right.

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Abdelrazak Younes
Alfredo Braunstein wrote: Abdelrazak Younes wrote: I am not sure that registering every single DocIterator would be any more efficient that my signal/slot solution. At the end you will have to go through a table. Small remark: note that not all DocIterators need to be stable (mainly cursors,

Re: Cursor movement performance problems in 1.5svn

2007-05-30 Thread Stefan Schimanski
Am 30.05.2007 um 14:16 schrieb Abdelrazak Younes: Stefan Schimanski wrote: This is just moving the cursorm around. Nothing is changed, and no scrolling either. Only the cursor itself is moved. This on a 2.4GHz pentium, with --disable-stdlib-debug Is this a known problem, with a planned

Re: r18573 - /lyx-devel/trunk/lib/unicodesymbols

2007-05-30 Thread Juergen Spitzmueller
Uwe Stöhr wrote: You are right. I added this because in the existing unicodesymbols there was ,, instead of \quotedblbase for the DOUBLE LOW-9 QUOTATION MARK. I think ,, is o.k. (i.e., will be transformed into a double quotation mark). The single quotation mark difference is visible with

Re: Cursor movement performance problems in 1.5svn

2007-05-30 Thread Abdelrazak Younes
Stefan Schimanski wrote: Am 30.05.2007 um 14:16 schrieb Abdelrazak Younes: Stefan Schimanski wrote: This is just moving the cursorm around. Nothing is changed, and no scrolling either. Only the cursor itself is moved. This on a 2.4GHz pentium, with --disable-stdlib-debug Is this a known

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak I agree but it's more work than my signal based solution Abdelrazak which is assured to work in all cases. I tell you what, in Abdelrazak order to save the bits Andre is worried about I am going Abdelrazak to remove the signal

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Alfredo Braunstein
Abdelrazak Younes wrote: Alfredo Braunstein wrote: Abdelrazak Younes wrote: I am not sure that registering every single DocIterator would be any more efficient that my signal/slot solution. At the end you will have to go through a table. Small remark: note that not all DocIterators need

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak I agree but it's more work than my signal based solution Abdelrazak which is assured to work in all cases. I tell you what, in Abdelrazak order to save the bits Andre is worried about I am going

Re: Cursor movement performance problems in 1.5svn

2007-05-30 Thread Stefan Schimanski
Here it is. As I wrote already, the screen was redrawn every time the cursor was moved up or down. But this is only needed if bv().checkDepm (...) does some work. Now the behavior is as in beta 3 again. Stefan cursornoredraw.patch Description: Binary data Am 30.05.2007 um 14:33 schrieb

Re: Cursor movement performance problems in 1.5svn

2007-05-30 Thread Stefan Schimanski
And also inline as promised: Index: src/Cursor.cpp === --- src/Cursor.cpp (Revision 18579) +++ src/Cursor.cpp (Arbeitskopie) @@ -1168,7 +1168,7 @@ } -bool Cursor::upDownInText(bool up) +bool Cursor::upDownInText(bool up,

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Abdelrazak Younes
Alfredo Braunstein wrote: Abdelrazak Younes wrote: Alfredo Braunstein wrote: Abdelrazak Younes wrote: I am not sure that registering every single DocIterator would be any more efficient that my signal/slot solution. At the end you will have to go through a table. Small remark: note that

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak No, and that is the purpose of the new method Abdelrazak DocIterator::FixIfBroken(). This will first validate the Abdelrazak validity of the CursorSlice (thus the existence of the Abdelrazak insets) then the validity of the

Re: Cursor movement performance problems in 1.5svn

2007-05-30 Thread Darren Freeman
On Wed, 2007-05-30 at 13:39 +0200, Helge Hafting wrote: While testing scrolling, I noticed that moving the cursor around seems to be rather heavy work. Is this a known problem, with a planned fix? A small file don't necessarily do this, but it happens with the userguide. Making a bigger

Re: Putting Rtl content in Insets

2007-05-30 Thread Richard Heck
Jean-Marc Lasgouttes wrote: Lars | I prefer No document open! Lars Sounds strange. Is that even english? Lars I thought that 'No' usually required plural (unless you want to Lars give it a different meaning.) I do not know... So where are the native English speakers? No document open

Re: Putting Rtl content in Insets

2007-05-30 Thread Jean-Marc Lasgouttes
Richard == Richard Heck [EMAIL PROTECTED] writes: Richard Jean-Marc Lasgouttes wrote: Lars | I prefer No document open! Lars Sounds strange. Is that even english? Lars I thought that 'No' usually required plural (unless you want to Lars give it a different meaning.) I do not know... So where

Re: InsetListingsParams enhancement for Bo (was [patch] Bug 3639- Sorted listing params)

2007-05-30 Thread Bo Peng
+1 I can move it to frontend after the release, if nobody objects. After 1.5.0 please. Time would be better spent on real bugs now. Bo

Re: Putting Rtl content in Insets

2007-05-30 Thread Richard Heck
Jean-Marc Lasgouttes wrote: Richard Jean-Marc Lasgouttes wrote: Lars | I prefer No document open! Lars Sounds strange. Is that even english? Lars I thought that 'No' usually required plural (unless you want to Lars give it a different meaning.) I do not know... So where are the

Re: Cursor movement performance problems in 1.5svn

2007-05-30 Thread Stefan Schimanski
Am 30.05.2007 um 15:40 schrieb Darren Freeman: On Wed, 2007-05-30 at 13:39 +0200, Helge Hafting wrote: While testing scrolling, I noticed that moving the cursor around seems to be rather heavy work. Is this a known problem, with a planned fix? A small file don't necessarily do this,

Re: Listing issues translation work

2007-05-30 Thread Bo Peng
while translating the listing dialog messages, I found a few minor problems: I am not familiar with either qt or gettext so I will leave these to others. PS: I would like to see the settings dialog also in the include dialog :-) Me too. I have asked the qt guys how to call the listings

Re: Untranslateable strings in LyX (toolbar tooltip, TOC dialog, source preview)

2007-05-30 Thread Bo Peng
No. I checked out the entire source fresh from SVN, I applied your patch, compiled, remade lyx.pot and the po-files. Still no go, for Insert table is still the tooltip help, and the string still does not appear in any of the po files. Maybe this is a lyx_pot.py problem. Please describe which

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Alfredo Braunstein
Jean-Marc Lasgouttes wrote: Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak No, and that is the purpose of the new method Abdelrazak DocIterator::FixIfBroken(). This will first validate the Abdelrazak validity of the CursorSlice (thus the existence of the Abdelrazak

beamer suggestion

2007-05-30 Thread Neal Becker
I think inserting begin frame should automatically add the matching end frame.

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak No, and that is the purpose of the new method Abdelrazak DocIterator::FixIfBroken(). This will first validate the Abdelrazak validity of the CursorSlice (thus the existence of the Abdelrazak

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Alfredo Braunstein
Abdelrazak Younes wrote: Alfredo Braunstein wrote: Abdelrazak Younes wrote: Alfredo Braunstein wrote: Abdelrazak Younes wrote: I am not sure that registering every single DocIterator would be any more efficient that my signal/slot solution. At the end you will have to go through a

Re: Re[2]: lyx pictures

2007-05-30 Thread Georg Baum
Bo Peng wrote: Unfortunately, lyx can not make use of this problem because it is a 'shareware', and AFAIK, not under GPL. That is no problem at all: Detect this in configure.py and use it if available. Then it is completely optional to use it. It would only be a problem if wmf2eps would

[PATCH] Saves some memory bits (was Re: [Patch] Re: Crash when closing document)

2007-05-30 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Alfredo Braunstein wrote: Abdelrazak Younes wrote: I am not sure that registering every single DocIterator would be any more efficient that my signal/slot solution. At the end you will have to go through a table. Small remark: note that not all DocIterators need to

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Abdelrazak Younes
Alfredo Braunstein wrote: Abdelrazak Younes wrote: For instance, put a cursor inside an inset, then in another window add or remove some text before the inset so the position of the inset changes... no destruction occurs, but is the cursor still valid? (sorry don't have svn to check here.) No,

Re: Listing issues translation work

2007-05-30 Thread Juergen Spitzmueller
Bo Peng wrote: while translating the listing dialog messages, I found a few minor problems: I am not familiar with either qt or gettext so I will leave these to others. It might be because those strings are marked N_() (I thought the would become translatable nevertheless, but I might be

Re: beamer suggestion

2007-05-30 Thread Andreas K .
Neal Becker [EMAIL PROTECTED] writes: I think inserting begin frame should automatically add the matching end frame. Agreed. Andreas

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: But of course, this is not the correct solution, Abdelrazak This is as good as one can make it ;-), at least it is Abdelrazak better than the old Cursor::fixIsBroken() don't you Abdelrazak reckon? Sure, but I think that, since most

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak I won't say random because as you found out you can Abdelrazak predict the behaviour. After I have edited during 10 minutes in one part of the document, the location in the other place will really seem random. Abdelrazak We could think of the solution

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: These problems do not mean that you implemented badly, just that it is a bigger task than you thought. An by the way, the additional work required to properly handling these cursors is basically *nothing* compared to what I've done to support multipleviews ;-)

Re: [patch] fixing segfault because of empty coord cache

2007-05-30 Thread Abdelrazak Younes
Stefan Schimanski wrote: Hi! Here is a patch for a crash that happens due to a cell not in the coord cache during the drawing of the selection. It could be that this is related (and also fixes) http://bugzilla.lyx.org/show_bug.cgi?id=3715 . I believe the problem is when an inset derived

Re: beamer suggestion

2007-05-30 Thread Paul A. Rubin
Neal Becker wrote: I think inserting begin frame should automatically add the matching end frame. It already does -- it ends the *previous* frame. If you mean that it should add an EndFrame environment to end itself, I can see a problem and an annoyance. The annoyance would be that the

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak As I said and using Alfredo's words, I was well aware of Abdelrazak this side-effect and I already accepted it. It would be Abdelrazak nice to properly track the cursor location but personally Abdelrazak I can live with current

Re: Cursor movement performance problems in 1.5svn

2007-05-30 Thread Abdelrazak Younes
Stefan Schimanski wrote: And also inline as promised: The patch looks good and it works. But is there is a reason why you didn't use the cursor updateFlags instead of this additional boolean? Abdel.

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak As I said and using Alfredo's words, I was well aware of Abdelrazak this side-effect and I already accepted it. It would be Abdelrazak nice to properly track the cursor location but personally

Re: Cursor movement performance problems in 1.5svn

2007-05-30 Thread Stefan Schimanski
Am 30.05.2007 um 18:00 schrieb Abdelrazak Younes: Stefan Schimanski wrote: And also inline as promised: The patch looks good and it works. But is there is a reason why you didn't use the cursor updateFlags instead of this additional boolean? Just followed the example of the other

Table usability

2007-05-30 Thread Rainer Dorsch
Hello, I am not often working with tables in LyX, but I noticed two usability issues when inserting rows or columns: 1) I searched first in table settings (opened on right click on table), then used google to find it in the edit menu. 2) I inserted a row a time, inserting 10 rows was quite

Re: [patch] request for permission to add more symbols to unicodesymbols file

2007-05-30 Thread Andre Poenitz
On Wed, May 30, 2007 at 02:24:15AM +0200, Uwe Stöhr wrote: \newcommand*\LyXrightangle{{\usefont{U}{msa}{m}{n}\char120}} Many thanks. Where is a table to look what number corresponds to what character in the font files? I seared for a code chart table for msam and msbm but couldn't found

Re: Updates to the Hebrew translation

2007-05-30 Thread Dov Feldstern
Lars Gullik Bjønnes wrote: Elazar Leibovich [EMAIL PROTECTED] writes: | On 28 May 2007 23:07:36 +0200, Lars Gullik Bjønnes [EMAIL PROTECTED] wrote: | Elazar Leibovich [EMAIL PROTECTED] writes: | | | Isn't that wise that the language will be automatically detected by | | the input-language.

Re: Putting Rtl content in Insets

2007-05-30 Thread Andre Poenitz
On Wed, May 30, 2007 at 07:48:41AM +0200, Jean-Marc Lasgouttes wrote: Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars | I prefer No document open! Lars Sounds strange. Is that even english? Lars I thought that 'No' usually required plural (unless you want to Lars give it a

Re: [Cvslog] r18569 - in /lyx-devel/trunk/src: Cursor.cpp Cursor.h LyX...

2007-05-30 Thread Andre Poenitz
On Wed, May 30, 2007 at 08:44:22AM +0200, Abdelrazak Younes wrote: Stefan Schimanski wrote: Just debugging, to see the values easily in gdb, that's why it is in #ifdef DEBUG ... #endif It is producing as much output as other debug output lines which are non-effective in release mode...

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Andre Poenitz
On Wed, May 30, 2007 at 02:30:37PM +0200, Abdelrazak Younes wrote: Alfredo Braunstein wrote: Abdelrazak Younes wrote: I am not sure that registering every single DocIterator would be any more efficient that my signal/slot solution. At the end you will have to go through a table. Small

Re: [patch] request for permission to add more symbols to unicodesymbols file

2007-05-30 Thread Herbert Voss
Uwe Stöhr wrote: Andre Poenitz schrieb: (Using \={} is too short for the OVERLINE, it has to be the same length as \_ ) \raisebox{1.3ex}{\_} This is too low, the overline has to be in the same height as the bar above an M: \=M I found out that this would then be \raisebox{2.61ex}{\_}

Re: Cursor movement performance problems in 1.5svn

2007-05-30 Thread Andre Poenitz
On Wed, May 30, 2007 at 01:39:58PM +0200, Helge Hafting wrote: While testing scrolling, I noticed that moving the cursor around seems to be rather heavy work. Moving the cursor sideways on a line is snappy, but this movement takes 33% of the cpu according to top. Moving the cursor up/down

Re: beamer suggestion

2007-05-30 Thread Bo Peng
Actually, most of my frames are just a big itermize. So you choose begin frame, put a title, switch to itemize, add items. Now if you choose 'begin frame', guess what you've got? begin frame inside an item. blahh. You only need to insert 'endframe' environment at the end of a document. As

Re: beamer suggestion

2007-05-30 Thread Neal Becker
Paul A. Rubin wrote: Neal Becker wrote: I think inserting begin frame should automatically add the matching end frame. It already does -- it ends the *previous* frame. Doesn't seem to do that for me (1.5.0beta3). Actually, most of my frames are just a big itermize. So you choose

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Andre Poenitz
On Wed, May 30, 2007 at 08:37:09AM +0200, Abdelrazak Younes wrote: Andre Poenitz wrote: On Tue, May 29, 2007 at 10:11:16PM +0200, Stefan Schimanski wrote: I enabled stdlib-debug and then were surprised about the slowness. Some profiling was full of signal/slot stuff in copying cursors

Re: [patch] request for permission to add more symbols to unicodesymbols file

2007-05-30 Thread Uwe Stöhr
Andre Poenitz schrieb: (Using \={} is too short for the OVERLINE, it has to be the same length as \_ ) \raisebox{1.3ex}{\_} This is too low, the overline has to be in the same height as the bar above an M: \=M I found out that this would then be \raisebox{2.61ex}{\_} Herbert, is this

Re: [patch] Cursor movement at RTL-LTR boundary

2007-05-30 Thread Dov Feldstern
Stefan Schimanski wrote: Please take care with those changes. Such a +1 can change and break a lot. In this I am pretty sure that a character is skipped when going over a newline. I added a special case for the RTL boundary for this line. Okay, I think I understand (how many times have I

[PATCH] Fix QInclude Enter Behavior

2007-05-30 Thread Richard Heck
This patch was discussed a bit here. Angus suggested the problem was with signals from the QComboBox causing changes in the ButtonController, but I've investigated that and that does not seem to be the issue. In any event, this fixes the problem. OK to commit? Richard --

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Andre Poenitz
On Wed, May 30, 2007 at 02:37:43PM +0200, Jean-Marc Lasgouttes wrote: Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak I agree but it's more work than my signal based solution Abdelrazak which is assured to work in all cases. I tell you what, in Abdelrazak order to save

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Andre Poenitz
On Wed, May 30, 2007 at 02:42:14PM +0200, Alfredo Braunstein wrote: Abdelrazak Younes wrote: Alfredo Braunstein wrote: Abdelrazak Younes wrote: I am not sure that registering every single DocIterator would be any more efficient that my signal/slot solution. At the end you will have

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Alfredo Braunstein
Abdelrazak Younes wrote: I did not think of that :-(. That could work indeed. I don't have the time to implement this right now, maybe this could be the occasion of a patch from you to signal that your come back is real? :-) My come back? What, did I accidentally left? ;-) A/

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Andre Poenitz
On Wed, May 30, 2007 at 03:26:04PM +0200, Alfredo Braunstein wrote: Just a though... why do we need the invalidation signals at all? ...couldn't we go in fixIfBroken from the top to the tip of the DocIterator checking that there is an inset an the given position in the paragraph, and that the

What Qt Version Does 1.5 Presume?

2007-05-30 Thread Richard Heck
In particular, do we presume Qt 4.1? -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ == Get my public key from

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Martin Vermeer
On Wed, 30 May 2007 19:20:50 +0200 Andre Poenitz [EMAIL PROTECTED] wrote: ... an in-inset Dimension cache (12 bytes) About the same situation as above. Again wrong. The most commonly used math inset (InsetMathChar) had no dimension cache. For a very good reason that was even

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Andre Poenitz
On Wed, May 30, 2007 at 05:44:39PM +0200, Abdelrazak Younes wrote: Jean-Marc Lasgouttes wrote: Abdelrazak I won't say random because as you found out you can Abdelrazak predict the behaviour. After I have edited during 10 minutes in one part of the document, the location in the other place

Re: [Patch] Re: Crash when closing document

2007-05-30 Thread Andre Poenitz
On Wed, May 30, 2007 at 05:46:46PM +0200, Abdelrazak Younes wrote: Jean-Marc Lasgouttes wrote: These problems do not mean that you implemented badly, just that it is a bigger task than you thought. An by the way, the additional work required to properly handling these cursors is

Re: [patch] fixing segfault because of empty coord cache

2007-05-30 Thread Andre Poenitz
On Wed, May 30, 2007 at 05:56:35PM +0200, Abdelrazak Younes wrote: Stefan Schimanski wrote: Hi! Here is a patch for a crash that happens due to a cell not in the coord cache during the drawing of the selection. It could be that this is related (and also fixes)

Re: [patch] request for permission to add more symbols to unicodesymbols file

2007-05-30 Thread Herbert Voss
Uwe Stöhr wrote: \newcommand*\LyXrightangle{{\usefont{U}{msa}{m}{n}\char120}} Many thanks. Where is a table to look what number corresponds to what character in the font files? I seared for a code chart table for msam and msbm but couldn't found this character there. Now only these

Re: Updates to the Hebrew translation

2007-05-30 Thread Lars Gullik Bjønnes
Dov Feldstern [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes wrote: | Elazar Leibovich [EMAIL PROTECTED] writes: | | On 28 May 2007 23:07:36 +0200, Lars Gullik Bjønnes | [EMAIL PROTECTED] wrote: | | Elazar Leibovich [EMAIL PROTECTED] writes: | | | | | Isn't that wise that the language

Re: [Cvslog] r18569 - in /lyx-devel/trunk/src: Cursor.cpp Cursor.h LyX...

2007-05-30 Thread Angus Leeming
+#ifdef DEBUG +bool bound = cur.boundary(); +int rowpos = cur.textRow().pos(); +int pos = cur.pos(); +bool sep = cur.paragraph().isSeparator(cur.pos() - 1); +bool newline = cur.paragraph().isNewline(cur.pos() - 1); +bool linesep =

  1   2   3   4   >