Re: babelCall strange logic

2007-05-11 Thread Andre Poenitz
On Fri, May 11, 2007 at 01:12:14AM +0200, Uwe Stöhr wrote: - } - return lang_pack; + } else + return lang_pack; } Everytime I see if (...) { ... } else return ...; I get the feeling that it'd better changed to

Problem compiling LyX 1.5svn

2007-05-11 Thread Ran Rutenberg
Hi, I've downloaded the latest svn version, but when I try to compile it I get errors. I ran the ./autogen.sh and ./configure successfully but when I ran make all I got: Making all in po make[1]: Entering directory `/home/ran/LyX/lyx-devel/po' make lyx.pot-update make[2]: Entering directory

Re: The documention (and new features) Was: about the listings and othe

2007-05-11 Thread christian . ridderstrom
On Thu, 10 May 2007, José Matos wrote: Bo said that the intention is to have the documentation ready before 1.5.0 (at least examples files). I was thinking about features in general, not the listings stuff. AFAICR, documentation (its status) hasn't really been discussed in quite some

Re: babelCall strange logic

2007-05-11 Thread Abdelrazak Younes
Andre Poenitz wrote: On Fri, May 11, 2007 at 01:12:14AM +0200, Uwe Stöhr wrote: - } - return lang_pack; + } else + return lang_pack; } Everytime I see if (...) { ... } else return ...; I get the feeling that

Re: The documention (and new features) Was: about the listings and othe

2007-05-11 Thread Helge Hafting
José Matos wrote: Well that never stopped us before, did it? ;-) What are the features that you think are underdocumented or not documented at all? Please make a list and post it here. Contributing to documentation is easier than code - because one can spend 10min now and then writing

Re: babelCall strange logic

2007-05-11 Thread Abdelrazak Younes
Uwe Stöhr wrote: Index: BufferParams.cpp === --- BufferParams.cpp(revision 18260) +++ BufferParams.cpp(working copy) @@ -867,7 +867,7 @@ language_options ',';

Re: [Cvslog] r18251 - /lyx-devel/trunk/src/BufferParams.cpp

2007-05-11 Thread Abdelrazak Younes
Uwe Stöhr wrote: Jean-Marc Lasgouttes schrieb: So I would be very pleased if you could test my lang2.diff patch and tell me what does not work. I did, see my last post to the original thread. You might think I'm not good enough to sent patches, but even if my solution was not the shortest

Re: Bugs and comments for LyX 1.5.0 beta 2

2007-05-11 Thread Abdelrazak Younes
Uwe Stöhr wrote: 1. When choosing File New from template LyX is VERY slow. It takes about 25 seconds before the dialogue window appears. I've seen that too, and for a long time. I thought it was because of network problems with my Windows installation (when I unplug the network

Cursor drawing code

2007-05-11 Thread Elazar Leibovich
There's a slight bug with cursor drawing code in Hebrew paragraphs. When the cursor is logically before a math inset, it appears visually after it. Can you give me a hint where the cursor drawing code is? I searched rowpaint.cpp, and grep'd for cursordraw/paint but no luck so far. Any hint.

Re: The documention (and new features) Was: about the listings and othe

2007-05-11 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: [*] I honestly don't think we'll have time to do anything before 1.5.0, but what about after? How are we to deal with the documentation? I think we (you ;-)) should do a call for help in the users list. Abdel.

a solution for having Both ArabTeX and ARABI possibilities

2007-05-11 Thread Mostafa Vahedi
Facts: 1) The only difference between ArabTeX and Arabi is the set of LaTeX commands used when the file is converted from LyX to LaTeX. In other words they have the same file format in LyX. 2) Based on the lib/languages entry one can decide the set of LaTeX commands that should be used

Re: Cursor drawing code

2007-05-11 Thread Abdelrazak Younes
Elazar Leibovich wrote: There's a slight bug with cursor drawing code in Hebrew paragraphs. When the cursor is logically before a math inset, it appears visually after it. Can you give me a hint where the cursor drawing code is? I searched rowpaint.cpp, and grep'd for cursordraw/paint but no

Re: a solution for having Both ArabTeX and ARABI possibilities

2007-05-11 Thread Abdelrazak Younes
Mostafa Vahedi wrote: Facts: 1) The only difference between ArabTeX and Arabi is the set of LaTeX commands used when the file is converted from LyX to LaTeX. In other words they have the same file format in LyX. 2) Based on the lib/languages entry one can decide the set of LaTeX commands that

Re: Cursor drawing code

2007-05-11 Thread Elazar Leibovich
I can see that what's actually responsible about getting the cursor placement is actually bv_funcs::getPos(). Can you please elaborate a little about how the buffer view is working? What does it store? Who keeps it? How does it know if it's being shown? Just a brief overview of code flow. There's

Screencast of new math macro implementation

2007-05-11 Thread Stefan Schimanski
Hi! I work on a better implementation of math macros for some time now. Accidently I was playing around with some screencast tools and made a demonstration of the current state of the system: http://www.youtube.com/watch?v=68Gys4rp3u4 Make the video fullscreen to see what's going on.

Re: Screencast of new math macro implementation

2007-05-11 Thread Abdelrazak Younes
Stefan Schimanski wrote: Hi! I work on a better implementation of math macros for some time now. Accidently I was playing around with some screencast tools and made a demonstration of the current state of the system: http://www.youtube.com/watch?v=68Gys4rp3u4 Make the video fullscreen to

Re: Cursor drawing code

2007-05-11 Thread Abdelrazak Younes
Elazar Leibovich wrote: I can see that what's actually responsible about getting the cursor placement is actually bv_funcs::getPos(). Can you please elaborate a little about how the buffer view is working? What does it store? Who keeps it? How does it know if it's being shown? Just a brief

Re: Screencast of new math macro implementation

2007-05-11 Thread Stefan Schimanski
Am 11.05.2007 um 14:24 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Hi! I work on a better implementation of math macros for some time now. Accidently I was playing around with some screencast tools and made a demonstration of the current state of the system:

Re: Screencast of new math macro implementation

2007-05-11 Thread Abdelrazak Younes
Stefan Schimanski wrote: Am 11.05.2007 um 14:24 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Hi! I work on a better implementation of math macros for some time now. Accidently I was playing around with some screencast tools and made a demonstration of the current state of the

Re: crash: svn1.5.0 Bidi stability issues

2007-05-11 Thread Abdelrazak Younes
José Matos wrote: On Monday 07 May 2007 17:13:54 Michael Gerz wrote: Sounds reasonable. Michael I will accept a patches that does exactly this, turn on RTL and file cache flags. Done. Abdel. Author: younes Date: Fri May 11 15:01:59 2007 New Revision: 18264 URL:

Re: crash: svn1.5.0 Bidi stability issues

2007-05-11 Thread José Matos
On Friday 11 May 2007 14:04:27 Abdelrazak Younes wrote: Done. Thanks. Abdel. -- José Abílio

[patch] Re: Crash with RTL

2007-05-11 Thread Dov Feldstern
Abdelrazak Younes wrote: I had a crash while navigating with the right and left arrow keys with the attached document. The problem is that (pos - start_ = -1) in: pos_type Bidi::level(pos_type pos) const { return (start_ == -1) ? 0 : levels_[pos - start_]; } pos = 33 and start_ = 34.

Beta 3 (preparation)

2007-05-11 Thread José Matos
Hi all, Michael asked for more time to finish some code CT-related. Since I have not so much time as I did expect I have decided to delay the release to Monday afternoon/night. I take this chance to ask if there are patches in the batch that you think are important to commit

Re: [patch] Bug 3377

2007-05-11 Thread Abdelrazak Younes
Ozgur Ugras BARAN wrote: Attached trivial patch solves Bug 3377 (In insert graphic window: canceling open dialog erases entry in text box). This bug is not Mac specific, but exist in Linux. (should exist in other OSes). Please may somebody apply the patch? Done. Ugras, if you plan to stay

Re: [patch] Re: Crash with RTL

2007-05-11 Thread Dov Feldstern
Dov Feldstern wrote: Abdelrazak Younes wrote: One problem with the current patch --- it breaks the solutions we've been working on for cursor movement --- exiting insets from the beginning seems to be broken again --- either with or without my fix. I'm sure it can be worked out, but it'll

Re: Beta 3 (preparation)

2007-05-11 Thread Bo Peng
I take this chance to ask if there are patches in the batch that you think are important to commit before beta 3. I propose the following simple patch to add mathcorners and remove mathbg (for now). mathcorners is the same as background by default, but can be adjusted to show corners

Re: [patch] Re: Crash with RTL

2007-05-11 Thread Dov Feldstern
Abdelrazak Younes wrote: Looks sensible. Sorry Dov, I won't have time to work on this before the next beta. Sure, thanks for letting me know, though. That'll give me a little time to work out the kinks. Abdel.

Re: cant compile todays svn

2007-05-11 Thread Jan Peters
A while back, you guys mentioned an integrated title and toolbar for the Mac version of LyX. The screenshots were looking very sweet. But I have never seen this toolbar on any svn version. Will it get into Lyx at some point? It would give LyX on Mac another eye candy ;) Thanks, -Jan

Re: cant compile todays svn

2007-05-11 Thread Pavel Sanda
i'm not able to compile lyx from svn now. have you an idea whats wrong ? make l10n_pots make[3]: Entering directory `/home/installer/lyx/trunk/po' LC_ALL=C ; export LC_ALL ; \ python ./lyx_pot.py -b .. -o qt4_l10n.pot -t qt4 ../src/frontends/qt4/ui/*.ui LC_ALL=C ; export

Re: [better patch] bugs 3528 and 3534

2007-05-11 Thread Abdelrazak Younes
Ozgur Ugras BARAN wrote: Abdel, I am afraid your patch introduces a couple of problems: In toc combo number of entries is multiplied when update button is pressed. (typeCO has entries tables/figure/TOC/tables/figure/TOC/. depending on how many times you pressed the button.) Fixed.

[patch] Bug 3377

2007-05-11 Thread Ozgur Ugras BARAN
Attached trivial patch solves Bug 3377 (In insert graphic window: canceling open dialog erases entry in text box). This bug is not Mac specific, but exist in Linux. (should exist in other OSes). Please may somebody apply the patch? regards, ugras --- QGraphicsDialog.cpp (revision 18067) +++

Re: cant compile todays svn

2007-05-11 Thread Pavel Sanda
I guess someone needs to revert to the old awk script and see what are the differences between these generated .pot files. I guess this is a character set issue because they are identical on my system. i think the reason for the erros are 1. not doubled char '\' in: Inlined listing

Re: [better patch] bugs 3528 and 3534

2007-05-11 Thread Ozgur Ugras BARAN
Abdel, I am afraid your patch introduces a couple of problems: In toc combo number of entries is multiplied when update button is pressed. (typeCO has entries tables/figure/TOC/tables/figure/TOC/. depending on how many times you pressed the button.) eventually, when older TOC is chosen

Re: [patch] Re: Crash with RTL

2007-05-11 Thread Abdelrazak Younes
Dov Feldstern wrote: Abdelrazak Younes wrote: I had a crash while navigating with the right and left arrow keys with the attached document. The problem is that (pos - start_ = -1) in: pos_type Bidi::level(pos_type pos) const { return (start_ == -1) ? 0 : levels_[pos - start_]; } pos =

Re: [patch] Bug 3377

2007-05-11 Thread Abdelrazak Younes
Ozgur Ugras BARAN wrote: Thanks, sir. But I have one more patch. I had a look at the usage of the browse function through lyx, and saw QExternal.cpp needs the same patch. The patch for that dialog is attached. Somebody else please handle that, have to go. Well, I have no intention to leave

Re: cant compile todays svn

2007-05-11 Thread Abdelrazak Younes
Jan Peters wrote: A while back, you guys mentioned an integrated title and toolbar for the Mac version of LyX. The screenshots were looking very sweet. But I have never seen this toolbar on any svn version. Will it get into Lyx at some point? You'll have to wait for Qt4.3 for this IIRC (but

Re: Beta 3 (preparation)

2007-05-11 Thread Abdelrazak Younes
José Matos wrote: Hi all, Michael asked for more time to finish some code CT-related. Since I have not so much time as I did expect I have decided to delay the release to Monday afternoon/night. I take this chance to ask if there are patches in the batch that you think are important to

Re: [patch] Bug 3377

2007-05-11 Thread Ozgur Ugras BARAN
Thanks, sir. But I have one more patch. I had a look at the usage of the browse function through lyx, and saw QExternal.cpp needs the same patch. The patch for that dialog is attached. Well, I have no intention to leave lyx development. I will keep coding as much as I can. However, I still feel

1.5.0beta2 just fine on Fedora FC7-test4

2007-05-11 Thread Neal Becker
Just to let you know, no problem with 1.5.0b2 on Fedora fc7 test4.

Re: cant compile todays svn

2007-05-11 Thread Bennett Helm
On May 11, 2007, at 10:44 AM, Abdelrazak Younes wrote: Jan Peters wrote: A while back, you guys mentioned an integrated title and toolbar for the Mac version of LyX. The screenshots were looking very sweet. But I have never seen this toolbar on any svn version. Will it get into Lyx at some

Re: [Cvslog] r18259 - in /lyx-devel/trunk/src: TocBackend.cpp frontend...

2007-05-11 Thread Peter Kümmel
Michael Gerz wrote: [EMAIL PROTECTED] schrieb: Author: kuemmel Date: Thu May 10 19:55:07 2007 New Revision: 18259 URL: http://www.lyx.org/trac/changeset/18259 Log: fix crash: change empty line to paragraph and press a key Modified: lyx-devel/trunk/src/TocBackend.cpp

Re: [Cvslog] r18259 - in /lyx-devel/trunk/src: TocBackend.cpp frontend...

2007-05-11 Thread Peter Kümmel
Bo Peng wrote: On 5/10/07, Bo Peng [EMAIL PROTECTED] wrote: Peter, some listings stuff slipped in accidentally. Please revert. And it causes error messages: So I revert it. Bo Thanks, nevertheless I wounder why you have errors. -- Peter Kümmel

Re: [Final Patch] InsetListings ...

2007-05-11 Thread Peter Kümmel
Bo Peng wrote: Like this? This time also the ui file. I get In file included from src/frontends/qt4/QListings.h:16, from src/frontends/qt4/Dialogs.cpp:70: debug/common/frontends/qt4/ui/ListingsUi.h: In member function `void Ui_QListingsUi::setupUi(QDialog*)':

Re: Bugs and comments for LyX 1.5.0 beta 2

2007-05-11 Thread Richard Heck
Abdelrazak Younes wrote: I'm also annoyed by this and the reason is that LyX1.5svn scans all directories before opening the dialog. LyX 1.4.4 doesn't do this so the dialog pops up immediately. I'm sure that this is the reason because on my home PC, the dialog opens in 1.5svn after 1-2

Re: [Cvslog] r18259 - in /lyx-devel/trunk/src: TocBackend.cpp frontend...

2007-05-11 Thread Bo Peng
Thanks, nevertheless I wounder why you have errors. I really do not know. And I was unable to patch the ui files with patches copied from firefox. I guess attachment should be used whenever possible. Bo

Re: [Cvslog] r18259 - in /lyx-devel/trunk/src: TocBackend.cpp frontend...

2007-05-11 Thread Peter Kümmel
Bo Peng wrote: Thanks, nevertheless I wounder why you have errors. I really do not know. And I was unable to patch the ui files with patches copied from firefox. I guess attachment should be used whenever possible. Bo It was attached, but it should be possible that you could fix the

Re: Screencast of new math macro implementation

2007-05-11 Thread Richard Heck
Abdelrazak Younes wrote: Stefan Schimanski wrote: Am 11.05.2007 um 14:24 schrieb Abdelrazak Younes: Stefan Schimanski wrote: I work on a better implementation of math macros for some time now. Accidently I was playing around with some screencast tools and made a demonstration of the current

Re: Beta 3 (preparation)

2007-05-11 Thread Bennett Helm
On May 11, 2007, at 9:37 AM, José Matos wrote: Hi all, Michael asked for more time to finish some code CT-related. Since I have not so much time as I did expect I have decided to delay the release to Monday afternoon/night. I take this chance to ask if there are patches in the batch

Re: [Cvslog] r18259 - in /lyx-devel/trunk/src: TocBackend.cpp frontend...

2007-05-11 Thread Bo Peng
groupbox is a groupbox of size 0 (?) and lineedit disappears. This bothered me quite a bit and reading designer help did not help. You've forgotten 4b. Thank you! I think I finally know how to adjust the dialogs, and I am doing it now. Cheers, Bo

Re: [PATCH] make rotate tabular and rotate cell toggle

2007-05-11 Thread Bernhard Roider
José Matos schrieb: On Wednesday 09 May 2007 22:52:13 Bernhard Roider wrote: Objections? José, can it go in? I would like to hear what others have to say about this. :-) Then i will treat the fact that nobody (except Uwe) has to say anything about this as approval and will commit this.

Re: Beta 3 (preparation)

2007-05-11 Thread Richard Heck
Bennett Helm wrote: I wish I had a patch; I at least have a special plea: could someone fix this bug? -- http://bugzilla.lyx.org/show_bug.cgi?id=3544 Down-arrow in main text skips lines (on Mac, at least) (Do other platforms not have this problem?) It would be embarrassing to release the

Re: Bugs and comments for LyX 1.5.0 beta 2

2007-05-11 Thread José Matos
On Friday 11 May 2007 17:47:26 Richard Heck wrote: I don't see any such option, but then I don't see this behavior on Linux, either. The dialog opens up pretty much immediately, and I do have a networked directory under /home/rgheck/. By the way, in experimenting, I tried opening the

Re: Beta 3 (preparation)

2007-05-11 Thread José Matos
On Friday 11 May 2007 15:47:55 Abdelrazak Younes wrote: If Dov cannot manage the new RTL crash before beta3, the RTL option should be set back to false by default. OK. Abdel. -- José Abílio

Re: Beta 3 (preparation)

2007-05-11 Thread José Matos
On Friday 11 May 2007 16:03:06 Bo Peng wrote: I propose the following simple patch to add mathcorners and remove mathbg (for now). mathcorners is the same as background by default, but can be adjusted to show corners of mathed not under focus. I tried to implement mathbg but a thorough

Re: 1.5.0beta2 just fine on Fedora FC7-test4

2007-05-11 Thread José Matos
On Friday 11 May 2007 16:20:35 Neal Becker wrote: Just to let you know, no problem with 1.5.0b2 on Fedora fc7 test4. Thanks for the report. :-) FWIW I can confirm the claim. :-) Which qt are using, 4.2 or 4.3-beta? -- José Abílio

Re: Beta 3 (preparation)

2007-05-11 Thread Bennett Helm
On May 11, 2007, at 2:15 PM, Richard Heck wrote: Bennett Helm wrote: I wish I had a patch; I at least have a special plea: could someone fix this bug? -- http://bugzilla.lyx.org/show_bug.cgi?id=3544 Down-arrow in main text skips lines (on Mac, at least) (Do other platforms not have this

Implicit \author field in .lyx files ?

2007-05-11 Thread Pavel Sanda
hello, i see filled \author field in .lyx files with login name although i remember there was some thread on the list, thas this kind of info shouldnt be entered into .lyx file without conscious decision of the user. should i file the bug ? pavel

Re: cant compile todays svn

2007-05-11 Thread José Matos
On Friday 11 May 2007 16:40:55 Bennett Helm wrote: Is there a good reason why I shouldn't use the most recent Qt4.3 snapshot for the next beta release and all subsequent releases? (TOC would be problematic without it.) ... How conservative are we wanting to be? We had agreed to use QT-4.3

Re: [PATCH] make rotate tabular and rotate cell toggle

2007-05-11 Thread José Matos
On Friday 11 May 2007 18:56:48 Bernhard Roider wrote: Then i will treat the fact that nobody (except Uwe) has to say anything about this as approval and will commit this. Does this fixes bug 2453? If so could you close the bug, please? Yes, you can commit. Bernhard -- José Abílio

Re: get rid of Update PDF-button?

2007-05-11 Thread José Matos
On Thursday 10 May 2007 14:28:16 [EMAIL PROTECTED] wrote: I was just stating that I have the same experience as Jürgen. :-) If you oppose because you think it'll be too much work to support all kinds of different viewers, I can understand that though. Or if you think it'll be to difficult to

Re: Bugs and comments for LyX 1.5.0 beta 2

2007-05-11 Thread José Matos
On Friday 11 May 2007 20:43:46 José Matos wrote: On Friday 11 May 2007 17:47:26 Richard Heck wrote: I don't see any such option, but then I don't see this behavior on Linux, either. The dialog opens up pretty much immediately, and I do have a networked directory under /home/rgheck/. By

Re: Beta 3 (preparation)

2007-05-11 Thread Andre Poenitz
On Fri, May 11, 2007 at 09:02:04PM +0100, José Matos wrote: On Friday 11 May 2007 16:03:06 Bo Peng wrote: I propose the following simple patch to add mathcorners and remove mathbg (for now). mathcorners is the same as background by default, but can be adjusted to show corners of mathed not

Re: [patch] Bug 3377

2007-05-11 Thread Uwe Stöhr
PS. I guess it is safe to close the bug 3377. Done. regards uwe

Re: [patch] fix bug 3571 now really

2007-05-11 Thread Uwe Stöhr
Attached is a patch that fixed bug 3571: ... As the patch is trivial and I got no objections, I put it in: http://www.lyx.org/trac/changeset/18273 regards Uwe

Re: babelCall strange logic

2007-05-11 Thread Uwe Stöhr
@@ -1412,15 +1412,15 @@ if (lang_pack == \\usepackage{babel}) { - if (lang_pack == \\usepackage{babel}) { + if (lang_pack != \\usepackage{babel}) + return lang_pack; // suppress the babel call when there is no babel language

Re: Problem compiling LyX 1.5svn

2007-05-11 Thread Timothy Reaves
Ran Rutenberg wrote: Hi, I've downloaded the latest svn version, but when I try to compile it I get errors. I ran the ./autogen.sh and ./configure successfully but when I ran make all I got: Making all in po make[1]: Entering directory `/home/ran/LyX/lyx-devel/po' make lyx.pot-update make[2]:

Re: 1.5.0beta2 test: opening/closing files

2007-05-11 Thread Enrico Forestieri
On Thu, May 10, 2007 at 04:27:27PM +, Jean-Pierre Chrétien wrote: Jean-Pierre Chrétien [EMAIL PROTECTED] writes: I cannot reproduce this here (Solaris 10/Qt 4.2.2). Solaris 8/Qt 4.2.1 here, rather Qt than Sun I guess. I will check with 4.2.2 My admin compiled 4.2.3, same

Re: cant compile todays svn

2007-05-11 Thread Pavel Sanda
1. not doubled char '\' in: Inlined listing (\lstinline) solved by http://www.lyx.org/trac/changeset/18269 . 2. the empty strings in lib/languages: armenian ... chinese-simplified chinese-traditional japanese korean introduced by http://www.lyx.org/trac/changeset/18216 .

LyX 1.5.0beta2 fails with Qt-4.3.0rc1

2007-05-11 Thread Bob Lounsbury
Hi, I just compiled Qt-4.3.0rc1 and LyX 1.5.0beta2 failed on 'make' with the following error on a mac ppc: mkdir .libs libtool: link: cannot find the library `' make[3]: *** [lyx-qt4] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1 I

Re: babelCall strange logic

2007-05-11 Thread Andre Poenitz
On Fri, May 11, 2007 at 01:12:14AM +0200, Uwe Stöhr wrote: > - } > - return lang_pack; > + } else > + return lang_pack; > } Everytime I see if (...) { ... } else return ...; I get the feeling that it'd better changed to

Problem compiling LyX 1.5svn

2007-05-11 Thread Ran Rutenberg
Hi, I've downloaded the latest svn version, but when I try to compile it I get errors. I ran the ./autogen.sh and ./configure successfully but when I ran "make all" I got: Making all in po make[1]: Entering directory `/home/ran/LyX/lyx-devel/po' make lyx.pot-update make[2]: Entering directory

Re: The documention (and new features) Was: about the listings and othe

2007-05-11 Thread christian . ridderstrom
On Thu, 10 May 2007, José Matos wrote: Bo said that the intention is to have the documentation ready before 1.5.0 (at least examples files). I was thinking about features in general, not the listings stuff. AFAICR, documentation (its status) hasn't really been discussed in quite some

Re: babelCall strange logic

2007-05-11 Thread Abdelrazak Younes
Andre Poenitz wrote: On Fri, May 11, 2007 at 01:12:14AM +0200, Uwe Stöhr wrote: - } - return lang_pack; + } else + return lang_pack; } Everytime I see if (...) { ... } else return ...; I get the feeling that

Re: The documention (and new features) Was: about the listings and othe

2007-05-11 Thread Helge Hafting
José Matos wrote: Well that never stopped us before, did it? ;-) What are the features that you think are underdocumented or not documented at all? Please make a list and post it here. Contributing to documentation is easier than code - because one can spend 10min now and then writing

Re: babelCall strange logic

2007-05-11 Thread Abdelrazak Younes
Uwe Stöhr wrote: Index: BufferParams.cpp === --- BufferParams.cpp(revision 18260) +++ BufferParams.cpp(working copy) @@ -867,7 +867,7 @@ language_options << ',';

Re: [Cvslog] r18251 - /lyx-devel/trunk/src/BufferParams.cpp

2007-05-11 Thread Abdelrazak Younes
Uwe Stöhr wrote: Jean-Marc Lasgouttes schrieb: So I would be very pleased if you could test my lang2.diff patch and tell me what does not work. I did, see my last post to the original thread. You might think I'm not good enough to sent patches, but even if my solution was not the shortest

Re: Bugs and comments for LyX 1.5.0 beta 2

2007-05-11 Thread Abdelrazak Younes
Uwe Stöhr wrote: >>1. When choosing File > New from template LyX is VERY slow. It takes >>about 25 seconds before the dialogue window appears. > > I've seen that too, and for a long time. I thought it was because of > network problems with my Windows installation (when I unplug the

Cursor drawing code

2007-05-11 Thread Elazar Leibovich
There's a slight bug with cursor drawing code in Hebrew paragraphs. When the cursor is logically before a math inset, it appears visually after it. Can you give me a hint where the cursor drawing code is? I searched rowpaint.cpp, and grep'd for cursordraw/paint but no luck so far. Any hint.

Re: The documention (and new features) Was: about the listings and othe

2007-05-11 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: [*] I honestly don't think we'll have time to do anything before 1.5.0, but what about after? How are we to deal with the documentation? I think we (you ;-)) should do a call for help in the users list. Abdel.

a solution for having Both ArabTeX and ARABI possibilities

2007-05-11 Thread Mostafa Vahedi
Facts: 1) The only difference between ArabTeX and Arabi is the set of LaTeX commands used when the file is converted from LyX to LaTeX. In other words they have the same file format in LyX. 2) Based on the "lib/languages" entry one can decide the set of LaTeX commands that should be

Re: Cursor drawing code

2007-05-11 Thread Abdelrazak Younes
Elazar Leibovich wrote: There's a slight bug with cursor drawing code in Hebrew paragraphs. When the cursor is logically before a math inset, it appears visually after it. Can you give me a hint where the cursor drawing code is? I searched rowpaint.cpp, and grep'd for cursordraw/paint but no

Re: a solution for having Both ArabTeX and ARABI possibilities

2007-05-11 Thread Abdelrazak Younes
Mostafa Vahedi wrote: Facts: 1) The only difference between ArabTeX and Arabi is the set of LaTeX commands used when the file is converted from LyX to LaTeX. In other words they have the same file format in LyX. 2) Based on the "lib/languages" entry one can decide the set of LaTeX commands that

Re: Cursor drawing code

2007-05-11 Thread Elazar Leibovich
I can see that what's actually responsible about getting the cursor placement is actually bv_funcs::getPos(). Can you please elaborate a little about how the buffer view is working? What does it store? Who keeps it? How does it know if it's being shown? Just a brief overview of code flow. There's

Screencast of new math macro implementation

2007-05-11 Thread Stefan Schimanski
Hi! I work on a better implementation of math macros for some time now. Accidently I was playing around with some screencast tools and made a demonstration of the current state of the system: http://www.youtube.com/watch?v=68Gys4rp3u4 Make the video fullscreen to see what's going on.

Re: Screencast of new math macro implementation

2007-05-11 Thread Abdelrazak Younes
Stefan Schimanski wrote: Hi! I work on a better implementation of math macros for some time now. Accidently I was playing around with some screencast tools and made a demonstration of the current state of the system: http://www.youtube.com/watch?v=68Gys4rp3u4 Make the video fullscreen to

Re: Cursor drawing code

2007-05-11 Thread Abdelrazak Younes
Elazar Leibovich wrote: I can see that what's actually responsible about getting the cursor placement is actually bv_funcs::getPos(). Can you please elaborate a little about how the buffer view is working? What does it store? Who keeps it? How does it know if it's being shown? Just a brief

Re: Screencast of new math macro implementation

2007-05-11 Thread Stefan Schimanski
Am 11.05.2007 um 14:24 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Hi! I work on a better implementation of math macros for some time now. Accidently I was playing around with some screencast tools and made a demonstration of the current state of the system:

Re: Screencast of new math macro implementation

2007-05-11 Thread Abdelrazak Younes
Stefan Schimanski wrote: Am 11.05.2007 um 14:24 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Hi! I work on a better implementation of math macros for some time now. Accidently I was playing around with some screencast tools and made a demonstration of the current state of the

Re: crash: svn1.5.0 Bidi stability issues

2007-05-11 Thread Abdelrazak Younes
José Matos wrote: On Monday 07 May 2007 17:13:54 Michael Gerz wrote: Sounds reasonable. Michael I will accept a patches that does exactly this, turn on RTL and file cache flags. Done. Abdel. Author: younes Date: Fri May 11 15:01:59 2007 New Revision: 18264 URL:

Re: crash: svn1.5.0 Bidi stability issues

2007-05-11 Thread José Matos
On Friday 11 May 2007 14:04:27 Abdelrazak Younes wrote: > Done. Thanks. > Abdel. -- José Abílio

[patch] Re: Crash with RTL

2007-05-11 Thread Dov Feldstern
Abdelrazak Younes wrote: I had a crash while navigating with the right and left arrow keys with the attached document. The problem is that (pos - start_ = -1) in: pos_type Bidi::level(pos_type pos) const { return (start_ == -1) ? 0 : levels_[pos - start_]; } pos = 33 and start_ = 34.

Beta 3 (preparation)

2007-05-11 Thread José Matos
Hi all, Michael asked for more time to finish some code CT-related. Since I have not so much time as I did expect I have decided to delay the release to Monday afternoon/night. I take this chance to ask if there are patches in the batch that you think are important to commit

Re: [patch] Bug 3377

2007-05-11 Thread Abdelrazak Younes
Ozgur Ugras BARAN wrote: Attached trivial patch solves Bug 3377 (In insert graphic window: canceling open dialog erases entry in text box). This bug is not Mac specific, but exist in Linux. (should exist in other OSes). Please may somebody apply the patch? Done. Ugras, if you plan to stay

Re: [patch] Re: Crash with RTL

2007-05-11 Thread Dov Feldstern
Dov Feldstern wrote: Abdelrazak Younes wrote: One problem with the current patch --- it breaks the solutions we've been working on for cursor movement --- exiting insets from the beginning seems to be broken again --- either with or without my fix. I'm sure it can be worked out, but it'll

Re: Beta 3 (preparation)

2007-05-11 Thread Bo Peng
I take this chance to ask if there are patches in the batch that you think are important to commit before beta 3. I propose the following simple patch to add mathcorners and remove mathbg (for now). mathcorners is the same as background by default, but can be adjusted to show corners

Re: [patch] Re: Crash with RTL

2007-05-11 Thread Dov Feldstern
Abdelrazak Younes wrote: Looks sensible. Sorry Dov, I won't have time to work on this before the next beta. Sure, thanks for letting me know, though. That'll give me a little time to work out the kinks. Abdel.

Re: cant compile todays svn

2007-05-11 Thread Jan Peters
A while back, you guys mentioned an integrated title and toolbar for the Mac version of LyX. The screenshots were looking very sweet. But I have never seen this toolbar on any svn version. Will it get into Lyx at some point? It would give LyX on Mac another eye candy ;) Thanks, -Jan

Re: cant compile todays svn

2007-05-11 Thread Pavel Sanda
> >i'm not able to compile lyx from svn now. have you an idea whats wrong ? > > > >make l10n_pots > >make[3]: Entering directory `/home/installer/lyx/trunk/po' > >LC_ALL=C ; export LC_ALL ; \ > >python ./lyx_pot.py -b .. -o qt4_l10n.pot -t qt4 > >../src/frontends/qt4/ui/*.ui >

Re: [better patch] bugs 3528 and 3534

2007-05-11 Thread Abdelrazak Younes
Ozgur Ugras BARAN wrote: Abdel, I am afraid your patch introduces a couple of problems: In toc combo number of entries is multiplied when update button is pressed. (typeCO has entries tables/figure/TOC/tables/figure/TOC/. depending on how many times you pressed the button.) Fixed.

[patch] Bug 3377

2007-05-11 Thread Ozgur Ugras BARAN
Attached trivial patch solves Bug 3377 (In insert graphic window: canceling open dialog erases entry in text box). This bug is not Mac specific, but exist in Linux. (should exist in other OSes). Please may somebody apply the patch? regards, ugras --- QGraphicsDialog.cpp (revision 18067) +++

  1   2   >