Re: [patch] fix Bug 3983: system external_template file is ignored when user defined external_template file exists

2007-07-05 Thread Abdelrazak Younes
Bernhard Roider wrote: Hello, with the attached patch lyx loads all external_template definitions from 1. user_lyxdir 2. build_lyxdir 3. system_lyxdir If there are template or preamble definitions with the same name from different sources then lyx prints a warning message to the console and t

Re: Status of LyX 1.5.0?

2007-07-05 Thread Enrico Forestieri
On Thu, Jul 05, 2007 at 05:23:52PM +0200, Enrico Forestieri wrote: > On Thu, Jul 05, 2007 at 03:30:56PM +0200, Jean-Marc Lasgouttes wrote: > > > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > > > Enrico> No, and this is most astonishing, the thing seems to survive a > > Enri

Re: Status of LyX 1.5.0?

2007-07-05 Thread Enrico Forestieri
On Fri, Jul 06, 2007 at 12:48:10AM +0200, Enrico Forestieri wrote: > On Wed, Jul 04, 2007 at 04:31:55PM +0200, Jean-Marc Lasgouttes wrote: > > > With Qt4.2, we can also use QFontDatabase::addApplicationFont > > http://doc.trolltech.com/4.2/qfontdatabase.html#addApplicationFont > > I tried this o

Re: [Updated PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-05 Thread Bo Peng
I like it Bo, Good idea! OK from me. Anyone else? JMarc? Bo

Re: Configure problem with Mac OS

2007-07-05 Thread Roger Mc Murtrie
With config/qt4.m4 PKG_CONFIG patch and LDFLAGS declared as instructed in INSTALL.MacOSX file lyx-1.5.0rc2 built successfully. Roger

Re: compliation problems on mac osx with 1.5rc2

2007-07-05 Thread Roger Mc Murtrie
I'm wondering if the undefined libiconv symbols occur as the expected result of the failure of the conftest test program that is run to check for the Qt 4 library name? That is libiconv is not necessarily needed for lyx but is needed for the successful completion of the check for the "Q

Re: Configure problem with Mac OS

2007-07-05 Thread Roger Mc Murtrie
After make distclean and restarting the computer I updated config/ qt4.m4 with the PKG_CONFIG patch. Without declaring LDFLAGS ./configure --prefix=/path/to/LyX.app --with-version-suffix=-1.5 -- without-x --with-frontend=qt4 --with-qt4-dir=/path/to/QT4 --with- included-gettext --enable-optimiz

[patch] fix Bug 3983: system external_template file is ignored when user defined external_template file exists

2007-07-05 Thread Bernhard Roider
Hello, with the attached patch lyx loads all external_template definitions from 1. user_lyxdir 2. build_lyxdir 3. system_lyxdir If there are template or preamble definitions with the same name from different sources then lyx prints a warning message to the console and the first definition (in t

Re: Status of LyX 1.5.0?

2007-07-05 Thread Enrico Forestieri
On Wed, Jul 04, 2007 at 04:31:55PM +0200, Jean-Marc Lasgouttes wrote: > With Qt4.2, we can also use QFontDatabase::addApplicationFont > http://doc.trolltech.com/4.2/qfontdatabase.html#addApplicationFont I tried this option (see attached patch). It works on Win2k and solves the problem of having f

Re: compliation problems on mac osx with 1.5rc2

2007-07-05 Thread Roger Mc Murtrie
My LyX RC2 builds on both Intel Mac and PowerBook have'nt needed libconv in LDFLAGS I wonder if _libiconv wasn't found because pkgconfig wasn't installed? I've just tried configure with Jean-Marc's qt4.m4 patch. It configured successfully without specifying LDFLAGS. Roger

Need for better dialogs (was: 1.5.0beta2: bibliography nuissances & window/dialog style not OK)

2007-07-05 Thread Mael Hilléreau
Le 5 juil. 07 à 16:34, Jürgen Spitzmüller a écrit : Mael Hilléreau wrote: 1. Create a new doc. 2. Run latex. 3. View the LaTeX log. 4. Switch to another buffer. Zoops! The log dialog is closed. Bug? Probably yes. I agree, but I have bad news... There are going to be many of dialogs th

Re: [patch] fix bug 3974: crash with user defined external templates

2007-07-05 Thread Bernhard Roider
Jean-Marc Lasgouttes schrieb: "Bernhard" == Bernhard Roider <[EMAIL PROTECTED]> writes: Bernhard> Hello, the crash occured because Bernhard> ControlExternal::getTemplate() is called with the index -1 Bernhard> which produces an invalid iterator that is accessed Bernhard> afterwards. Why does h

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread christian . ridderstrom
On Thu, 5 Jul 2007, Andre Poenitz wrote: On Thu, Jul 05, 2007 at 02:54:03PM +0200, Jean-Marc Lasgouttes wrote: "christian" == christian ridderstrom <[EMAIL PROTECTED]> writes: christian> The type of attachment is separate from how the reader christian> shows the attachment. If I've understood

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread christian . ridderstrom
On Thu, 5 Jul 2007, Bo Peng wrote: So you do not see this attachment as attachment? I can view the attachment of this email. Wow... progress... :-) /C -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr

Re: [patch] fix bug 3974: crash with user defined external templates

2007-07-05 Thread Bernhard Roider
Jean-Marc Lasgouttes schrieb: "Bernhard" == Bernhard Roider <[EMAIL PROTECTED]> writes: Bernhard> Hello, the crash occured because Bernhard> ControlExternal::getTemplate() is called with the index -1 Bernhard> which produces an invalid iterator that is accessed Bernhard> afterwards. Why does h

Re: [patch] fix bug 3974: crash with user defined external templates

2007-07-05 Thread Jean-Marc Lasgouttes
> "Bernhard" == Bernhard Roider <[EMAIL PROTECTED]> writes: Bernhard> Hello, the crash occured because Bernhard> ControlExternal::getTemplate() is called with the index -1 Bernhard> which produces an invalid iterator that is accessed Bernhard> afterwards. Why does having user defined template

[patch] fix bug 3974: crash with user defined external templates

2007-07-05 Thread Bernhard Roider
Hello, the crash occured because ControlExternal::getTemplate() is called with the index -1 which produces an invalid iterator that is accessed afterwards. Bernhard Index: src/frontends/controllers/ControlExternal.cpp === --- src/

Re: About LyX (Net|Open)BSD and wchar_t

2007-07-05 Thread Jean-Marc Lasgouttes
> "Jeremy" == Jeremy C Reed <[EMAIL PROTECTED]> writes: Jeremy> I won't be able to check this for about three weeks. Thanks Jeremy> for the email and I will try to reply in a few weeks. That's OK, I just wanted to spare you a fez hours of debugging :) JMarc

Re: slow text entry on mac PPC is not yet solved

2007-07-05 Thread Stefan Schimanski
One note though: I don't claim that this patch will solve all problems on the Mac/PPC platform. I just claim that it will solve the main performance bottleneck which is the text painting as shown by earlier profile results. I (and others, Stefan, do you hear me?) I am following the list cur

Re: [Cvslog] r18992 - /lyx-devel/trunk/src/frontends/controllers/front...

2007-07-05 Thread Michael Gerz
Andre Poenitz schrieb: Modified: lyx-devel/trunk/src/frontends/controllers/frontend_helpers.cpp URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/frontends/controllers/frontend_helpers.cpp?rev=18992 Something is wrong with this link (surprise included). Note that in general it is bet

Re: [Cvslog] r18992 - /lyx-devel/trunk/src/frontends/controllers/front...

2007-07-05 Thread Andre Poenitz
On Thu, Jul 05, 2007 at 04:11:46PM -, [EMAIL PROTECTED] wrote: > Author: spitz > Date: Thu Jul 5 18:11:44 2007 > New Revision: 18992 > > URL: http://www.lyx.org/trac/changeset/18992 > Log: > * src/frontends/controllers/frontend_helpers.cpp Family name): > - don't try to trim after a dot

Re: compliation problems on mac osx with 1.5rc2

2007-07-05 Thread Andreas Neustifter
Hi, On 05.07.2007, at 10:21, Jean-Marc Lasgouttes wrote: Oliver> Dear Andreas, Yes, that solved the problem. Thank you for the Oliver> tip. Oliver> My LDFLAGS now reads: LDFLAGS=-framework Carbon -framework Oliver> OpenGL -framework AGL -framework QuickTime -lz -framework Oliver> Cocoa -liconv

Re: [patch] set language inside new inset to current language (bug 3959)

2007-07-05 Thread Dov Feldstern
Abdelrazak Younes wrote: Dov Feldstern wrote: I still need another OK for the "default" encoding patch (attached in http://permalink.gmane.org/gmane.editors.lyx.devel/89143), which I think is important for 1.5.0. Could anyone please take a look? If Georg has given his OK I think you can go

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Andreas Neustifter
On 05.07.2007, at 20:51, Bo Peng wrote: --00090009040901040802 Content-Type: text/plain; name="persistent_selection5.patch" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="persistent_selection5.patch" This is displayed inline, with no possibility to s

Re: [patch] set language inside new inset to current language (bug 3959)

2007-07-05 Thread Abdelrazak Younes
Dov Feldstern wrote: Abdelrazak Younes wrote: Jean-Marc Lasgouttes wrote: Dov> Therefore, attached is the original patch, with a comment Dov> explaining the situation. OK to commit? OK with me. me too. Abdel. Thanks, guys. Committed as r18993. I still need another OK for the "default"

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Bo Peng
--00090009040901040802 Content-Type: text/plain; name="persistent_selection5.patch" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="persistent_selection5.patch" This is displayed inline, with no possibility to save the attachment (Mail.app). So the onl

Re: [Updated PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-05 Thread Abdelrazak Younes
Bo Peng wrote: The attached patch is a much improved version of my previous patch. The biggest change is that I add a ClearSelection flag to each LFUN and call saveSelection accordingly. This version also has Abdel's fix for mathed, table, window switch etc. The patch itself is now easy: 1. rem

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Andreas Neustifter
Hi, On 05.07.2007, at 20:31, Andre Poenitz wrote: On Thu, Jul 05, 2007 at 03:17:59PM +0200, [EMAIL PROTECTED] wrote: On Thu, 5 Jul 2007, Abdelrazak Younes wrote: [EMAIL PROTECTED] wrote: Abdelrazak> - the format used by default by thunderbird: I can view Abdelrazak> them inlined, even t

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Andre Poenitz
On Thu, Jul 05, 2007 at 03:17:59PM +0200, [EMAIL PROTECTED] wrote: > On Thu, 5 Jul 2007, Abdelrazak Younes wrote: > > >[EMAIL PROTECTED] wrote: > >>> Abdelrazak> - the format used by default by thunderbird: I can view > >>> Abdelrazak> them inlined, even though they are attachments really. The >

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Andre Poenitz
On Thu, Jul 05, 2007 at 02:54:03PM +0200, Jean-Marc Lasgouttes wrote: > > "christian" == christian ridderstrom <[EMAIL PROTECTED]> writes: > > christian> The type of attachment is separate from how the reader > christian> shows the attachment. If I've understood it correctly, the > christian>

Re: slow text entry on mac PPC is not yet solved

2007-07-05 Thread Andreas Neustifter
Hi, On 05.07.2007, at 09:21, Abdelrazak Younes wrote: Oliver Johns wrote: Folks, Some earlier posts suggested that the slow text entry problem on mac PPC machines has been solved. I don't think so. Thanks for your report Oliver but I think you misheard something. The eailier post was ab

[Updated PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-05 Thread Bo Peng
The attached patch is a much improved version of my previous patch. The biggest change is that I add a ClearSelection flag to each LFUN and call saveSelection accordingly. This version also has Abdel's fix for mathed, table, window switch etc. The patch itself is now easy: 1. remove all previous

Re: [patch] set language inside new inset to current language (bug 3959)

2007-07-05 Thread Dov Feldstern
Abdelrazak Younes wrote: Jean-Marc Lasgouttes wrote: Dov> Therefore, attached is the original patch, with a comment Dov> explaining the situation. OK to commit? OK with me. me too. Abdel. Thanks, guys. Committed as r18993. I still need another OK for the "default" encoding patch (attach

Re: About LyX (Net|Open)BSD and wchar_t

2007-07-05 Thread Jeremy C. Reed
On Thu, 5 Jul 2007, Jean-Marc Lasgouttes wrote: > Hello, > > I write to you as the respective maintainers of the LyX port for > OpenBSD and NetBSD > http://pkgsrc.se/editors/lyx-qt > http://ports.openbsd.nu/print/lyx > > Recently, we managed (after much difficulties) to fix a bug on FreeBSD > w

Re: [PATCH] Bug 3764: Implicit \author field in .lyx files

2007-07-05 Thread Michael Gerz
Jean-Marc, Jean-Marc> Something like that. Great. Very compact and non-intrusive patch! Jean-Marc> I tested briefly with 3 different Jean-Marc> authors, and I think something is wrong (I think it was Jean-Marc> already wrong before, actually). I do not see how current Jean-Marc> author could

Re: Crash on add citation in LyX 1.5.0svn (r18982)

2007-07-05 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > > BTW I could reproduce the crash and the patch fixes it for me. Also, it's > > pretty straightforward. So ok to commit? > > OK. Done so, since I'll be completely offline for the rest of the week. Jürgen

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Alfredo Braunstein
Abdelrazak Younes wrote: >> It's hard to believe we still have these problems given how long e-mail >> has been around... > > That's because we still apply patches manually. 'git' has some method > apparently to apply patches from mbox... that's what I call efficient! I > personally hate this ema

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Bo Peng
So you do not see this attachment as attachment? I can view the attachment of this email. Bo

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Abdelrazak Younes
Bo Peng wrote: > If that's the case and Bo can see it, we're good (enough). Just let you know that there is no such setting in gmail to view your attachment as attachment. So you do not see this attachment as attachment? Index: CutAndPaste.cpp

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: On Thu, 5 Jul 2007, Abdelrazak Younes wrote: OK I've modified the settings accordingly and am sending the last patch fo this thread attached. Let's see how I am going to see it through news.gmane.org and if Bo can apply it properly. It's shown inline in gmane's web in

Re: 1.5.0beta2 test: opening/closing files

2007-07-05 Thread Jean-Pierre Chretien
>>To: Jean-Pierre Chrétien <[EMAIL PROTECTED]> >>Cc: lyx-devel@lists.lyx.org >>Subject: Re: 1.5.0beta2 test: opening/closing files >>From: Jean-Marc Lasgouttes <[EMAIL PROTECTED]> >>Date: Thu, 05 Jul 2007 16:00:55 +0200 >> >>> "Jean-Pierre" == Jean-Pierre Chrétien <[EMAIL PROTECTED]> writes: >

Re: Crash on add citation in LyX 1.5.0svn (r18982)

2007-07-05 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Jürgen Spitzmüller wrote: Attached. John, please test. BTW I could reproduce the crash and the patch fixes it for me. Also, it's pretty straightforward. So ok to commit? OK. Abdel.

Re: Upgrade from 1.4 to 1.5

2007-07-05 Thread Charpentier Philippe
Hi, I had in last November a discussion on this list about the encoding of the layouts. As I said that time I use layouts containing non ASCII characters in the definition of the Styles and they crash lyx-1.5 (every versions until now, with any encoding for the layout). In that discussion I unders

Re: Status of LyX 1.5.0?

2007-07-05 Thread Enrico Forestieri
On Thu, Jul 05, 2007 at 03:30:56PM +0200, Jean-Marc Lasgouttes wrote: > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > Enrico> No, and this is most astonishing, the thing seems to survive a > Enrico> reboot. I tried to find whether the info is stored in the > Enrico> registry

Re: Crash on add citation in LyX 1.5.0svn (r18982)

2007-07-05 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > Attached. John, please test. BTW I could reproduce the crash and the patch fixes it for me. Also, it's pretty straightforward. So ok to commit? Jürgen

Re: [patches] unicode decomposition (bugs 3313, 3498)

2007-07-05 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > Jürgen> Any input on this? > > If you are interested about the input of someone who does not > understand this unicode stuff, you have my OK. All I can say is that, > if your explanations are a hoax, it is a very convincing one :) > > I think it should go in. Thanks.

Re: 1.5.0beta2: bibliography nuissances & window/dialog style not OK

2007-07-05 Thread Jürgen Spitzmüller
Mael Hilléreau wrote: > 1. Create a new doc. > > 2. Run latex. > > 3. View the LaTeX log. > > 4. Switch to another buffer. Zoops! The log dialog is closed. > > Bug? Probably yes. Jürgen

Re: issues installing/running lyx-1.5.0rc2

2007-07-05 Thread Enrico Forestieri
On Thu, Jul 05, 2007 at 03:40:20PM +0200, Jean-Marc Lasgouttes wrote: > > "Mikhail" == Mikhail Teterin <[EMAIL PROTECTED]> writes: > > Mikhail> the right place for man-pages is under PREFIX/man (no "share" > Mikhail> in between). I now have to add an explicit --mandir flag to > Mikhail> confi

Re: [PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-05 Thread Bo Peng
I just had a look at how cursor selection is handled and I can conclude that is it a *real* mess! Cursor are copyed, selections are set and cleared all other the place... I have tried all your methods. :-) You know, it would be easy to call saveSelection at clearSelection Bo

Re: 1.5.0beta2 test: opening/closing files

2007-07-05 Thread Jean-Marc Lasgouttes
> "Jean-Pierre" == Jean-Pierre Chrétien <[EMAIL PROTECTED]> writes: Jean-Pierre> It's more intricated than this, I simply can't declare an Jean-Pierre> empty \document_path, LyX wants to set it to the current Jean-Pierre> dir and leaves it there as soon as I open the Jean-Pierre> Tools->Prefer

About LyX (Net|Open)BSD and wchar_t

2007-07-05 Thread Jean-Marc Lasgouttes
Hello, I write to you as the respective maintainers of the LyX port for OpenBSD and NetBSD http://pkgsrc.se/editors/lyx-qt http://ports.openbsd.nu/print/lyx Recently, we managed (after much difficulties) to fix a bug on FreeBSD where LyX would not even start. The reason why that the wchar_t sup

Re: 1.5.0beta2: bibliography nuissances & window/dialog style not OK

2007-07-05 Thread Mael Hilléreau
Selon Jean-Marc Lasgouttes <[EMAIL PROTECTED]>: > > "Mael" == Mael Hilléreau <[EMAIL PROTECTED]> writes: > > >> 1/ this is not an urgent matter and now is not the right time for > >> that > > Mael> Perhaps. However I thought it wouldn't take so much time to make > Mael> one's opinion on this t

Re: Patch: a little polish to ANNOUNCE

2007-07-05 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Angus Leeming wrote: >> Hope it helps ;-) A. Angus> One further thing: the word is "Feedback", not "Feedbacks". Angus> I'll let you fix that! Did that too. JMarc

Re: Patch: a little polish to ANNOUNCE

2007-07-05 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Hope it helps ;-) A. Thanks Angus, I committed it before we forget. JMarc

Re: [patches] unicode decomposition (bugs 3313, 3498)

2007-07-05 Thread Jean-Marc Lasgouttes
> "Jürgen" == Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: >> The attached patches changes normalization both inside LyX and >> lyx2lyx and fixes the two bugs. Jürgen> Any input on this? If you are interested about the input of someone who does not understand this unicode stuff, you have m

Re: issues installing/running lyx-1.5.0rc2

2007-07-05 Thread Jean-Marc Lasgouttes
> "Mikhail" == Mikhail Teterin <[EMAIL PROTECTED]> writes: Mikhail> 3. Manual pages -- these get installed under Mikhail> PREFIX/share/man, which is wrong. If PREFIX is not /usr (and Mikhail> it should not be, because lyx is not part of the OS, although Mikhail> Linux folks don't seem to care

Re: 1.5.0beta2 test: opening/closing files

2007-07-05 Thread Jean-Pierre Chrétien
Jean-Pierre Chrétien <[EMAIL PROTECTED]> writes: > > Jean-Pierre Chrétien ...> writes: > > > > > Jean-Pierre Chrétien ...> writes: > [...] > > Checked with 1.5.0rc2 against Qt 4.2.1: > > - the assertion when opening a new file disappeared > > I found the reason for these assertions: in the

Re: Status of LyX 1.5.0?

2007-07-05 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> No, and this is most astonishing, the thing seems to survive a Enrico> reboot. I tried to find whether the info is stored in the Enrico> registry, but could not find anything. Enrico> However, I investigated further and it tu

Re: Upgrade from 1.4 to 1.5

2007-07-05 Thread Jean-Pierre Chrétien
Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: > > Jean-Pierre Chrétien wrote: > > could layout2layout.py > > provide it as lyx2lyx does ? Or is there any workaround ? > > No. You have to convert it manually, e.g. with > iconv -f latin1 -t utf-8 foo.layout >> foo-utf8.layout OK, as I found no i

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread christian . ridderstrom
On Thu, 5 Jul 2007, Abdelrazak Younes wrote: [EMAIL PROTECTED] wrote: > Abdelrazak> - the format used by default by thunderbird: I can view > Abdelrazak> them inlined, even though they are attachments really. The > Abdelrazak> problem is that web mailers transform that to inline > Abdelrazak

Re: 1.5.0beta2 test: opening/closing files

2007-07-05 Thread Jean-Pierre Chrétien
Jean-Pierre Chrétien <[EMAIL PROTECTED]> writes: > > Jean-Pierre Chrétien ...> writes: [...] > Checked with 1.5.0rc2 against Qt 4.2.1: > - the assertion when opening a new file disappeared I found the reason for these assertions: in the preferences file \document_path "" is harmless in 1.4.4;

Re: Configure problem with Mac OS

2007-07-05 Thread Jean-Marc Lasgouttes
> "Roger" == Roger Mc Murtrie <[EMAIL PROTECTED]> writes: Roger> LDFLAGS was set as instructed in INSTALL>MacOSX. Complied OK Roger> and installed on my PowerBook G4 without the additional Roger> pkgconfig patch. OK, so what I mean is that with my patch you would not need to set LDFLAGS befo

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Jean-Marc Lasgouttes
> "christian" == christian ridderstrom <[EMAIL PROTECTED]> writes: christian> The type of attachment is separate from how the reader christian> shows the attachment. If I've understood it correctly, the christian> gmane web interface will take text attachments (non-MIME) christian> and show th

Re: Configure problem with Mac OS

2007-07-05 Thread Roger Mc Murtrie
LDFLAGS was set as instructed in INSTALL>MacOSX. Complied OK and installed on my PowerBook G4 without the additional pkgconfig patch. Roger

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Jean-Marc Lasgouttes
> "christian" == christian ridderstrom <[EMAIL PROTECTED]> writes: christian> According to the following URI, you can make Thunderbird christian> produce proper attachments: christian> http://kb.mozillazine.org/Send_plain_text_attachments_as_real_attachments Thanks for the tip. JMarc

Re: Upgrade from 1.4 to 1.5

2007-07-05 Thread Jürgen Spitzmüller
Jean-Pierre Chrétien wrote: > could layout2layout.py > provide it as lyx2lyx does ? Or is there any workaround ? No. You have to convert it manually, e.g. with iconv -f latin1 -t utf-8 foo.layout >> foo-utf8.layout Cf. the discussion here: http://bugzilla.lyx.org/show_bug.cgi?id=3521 Jürgen

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: Abdelrazak> - the format used by default by thunderbird: I can view Abdelrazak> them inlined, even though they are attachments really. The Abdelrazak> problem is that web mailers transform that to inline Abdelrazak> proper. This is inlined mime attachments. It seems that

Re: slow text entry on mac PPC is not yet solved

2007-07-05 Thread Bennett Helm
On Jul 5, 2007, at 3:21 AM, Abdelrazak Younes wrote: Oliver Johns wrote: Folks, Some earlier posts suggested that the slow text entry problem on mac PPC machines has been solved. I don't think so. Thanks for your report Oliver but I think you misheard something. The eailier post was abou

Upgrade from 1.4 to 1.5

2007-07-05 Thread Jean-Pierre Chrétien
Hello, I have a set of local classes and templates. I upgraded templates with lyx2lyx successfully wrt utf encoding. As far as classes are concerned, running layout2layout.py on 1.4 classes changes the format from 2 to 4 all right, but leaves 8859 encoding, so that I get messages like: Error ret

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread christian . ridderstrom
Abdelrazak> - the format used by default by thunderbird: I can view Abdelrazak> them inlined, even though they are attachments really. The Abdelrazak> problem is that web mailers transform that to inline Abdelrazak> proper. This is inlined mime attachments. It seems that Thunderbird can only prod

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: Anyway, it'll be interesting to see if Bo can extract what I attached and if Abdel is able to view it. In thunderbirds, I am viewing it inline with a double line marking the threshold between the main body and the attachment. But I also see it as an _attachment_ at

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread christian . ridderstrom
On Thu, 5 Jul 2007, Jean-Marc Lasgouttes wrote: christian> Maybe you should attach it in MIME format? What does this mean? Inline vs attached? Aren't both of these things MIME? Abundant confusion What I meant was that it is shown inline, i.e. there's no discernable difference between t

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Jean-Marc Lasgouttes wrote: >>> "christian" == christian ridderstrom >>> <[EMAIL PROTECTED]> writes: >> christian> Maybe you should attach it in MIME format? >> >> What does this mean? Inline vs attached? Are

Re: LeftIndent Paragraph Setting??

2007-07-05 Thread Jean-Marc Lasgouttes
> "Richard" == Richard Heck <[EMAIL PROTECTED]> writes: Richard> In ParagraphParameters.cpp and elsewhere, there are Richard> references to a leftindent property. At present, however, I Richard> see no way to set this property. In particular, it isn't in Richard> the Paragraph Settings dialog,

Re: Crash on add citation in LyX 1.5.0svn (r18982)

2007-07-05 Thread Jürgen Spitzmüller
John McCabe-Dansted wrote: > To reproduce: > 1) Press Cntl-N (start new file) > 2) Press Alt-I, I, B (insert TOC from BibTeX) > 3) Press Alt-A (Add...) > 4) Double Click test > 5) Press Alt-O (OK) > 6) Press Alt-I C (Insert Citation) > 7) Press Alt-A (Add) > > LyX now crashes For the record, I hav

Re: Problem with layout regarding floats numbering

2007-07-05 Thread Jean-Marc Lasgouttes
> "Mael" == Mael Hilléreau <[EMAIL PROTECTED]> writes: Mael> The keyword NumberWithin documented into the Customization guide Mael> (§ 5.3.5) doesn't seem to work for me (Intel Mac OS X.4.9): Mael> 1. Edit the file "stdfloats.inc", in order to have figures Mael> relative to sections: Mael> F

Re: [patch] bug 2738: Wrong sorting of languages in Document dialog

2007-07-05 Thread Jean-Marc Lasgouttes
> "Pavel" == Pavel Sanda <[EMAIL PROTECTED]> writes: >> 1) Is it correct to use a static object? In particular, there are >> no modifications of the locale in LyX initialization? 2) Would it >> make sense to have it as a non-static member of the class, or is it >> expensive to build? Pavel> i

Re: [Cvslog] r18988 - /lyx-devel/trunk/src/frontends/controllers/front...

2007-07-05 Thread Jean-Marc Lasgouttes
> "lasgouttes" == lasgouttes <[EMAIL PROTECTED]> writes: lasgouttes> Author: lasgouttes Date: Thu Jul 5 12:40:00 2007 New lasgouttes> Revision: 18988 lasgouttes> URL: http://www.lyx.org/trac/changeset/18988 Log: Patch lasgouttes> from Pavel Sanda lasgouttes> * frontend_helpers.cpp (Sort

Re: Crash on add citation in LyX 1.5.0svn (r18982)

2007-07-05 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > > Abdel, are you on a patch, or shall I? > > Go ahead. Attached. John, please test. Jürgen Index: src/frontends/controllers/frontend_helpers.cpp === --- src/frontends/controllers/frontend_helpers.cpp (Revis

Re: Configure problem with Mac OS

2007-07-05 Thread Jean-Marc Lasgouttes
> "Roger" == Roger Mc Murtrie <[EMAIL PROTECTED]> writes: Roger> I just spent a lot of time trying to find out why configure Roger> wouldn't work on a Mac PowerPC because of the "qt 4 library not Roger> found !" response. Did you set the LDFLAGS as instructed in INSTALL>MacOSX? Roger> I fin

Configure problem with Mac OS

2007-07-05 Thread Roger Mc Murtrie
I just spent a lot of time trying to find out why configure wouldn't work on a Mac PowerPC because of the "qt 4 library not found !" response. I finally discovered that the pkgconfig package wasn't installed on this particular machine. With pkgconfig installed, configure managed to find the

Re: [PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-05 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Abdelrazak Younes wrote: Bo Peng wrote: I want to be able to guess in advance whether the thing is going to work or not. My patch fixes 3877 and middle-button paste works, let us just say, 90% of the times. I have an idea to make it 100%: move the copying at Cursor

Re: Crash on add citation in LyX 1.5.0svn (r18982)

2007-07-05 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Jürgen Spitzmüller wrote: I guess idx + 1 is invalid. Abdel, are you on a patch, or shall I? Go ahead.

Re: Crash on add citation in LyX 1.5.0svn (r18982)

2007-07-05 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > I guess idx + 1 is invalid. Abdel, are you on a patch, or shall I? Jürgen

Re: [PATCH] 3877:Highlighting text slows down LyX extremely

2007-07-05 Thread Abdelrazak Younes
Bo Peng wrote: I want to be able to guess in advance whether the thing is going to work or not. My patch fixes 3877 and middle-button paste works, let us just say, 90% of the times. I have an idea to make it 100%: move the copying at Cursor::clearSelection() time. Abdel.

Re: Crash on add citation in LyX 1.5.0svn (r18982)

2007-07-05 Thread Jürgen Spitzmüller
John McCabe-Dansted wrote: > Now it outputs: > > getAbbreviatedAuthor, authors[0]: Anon. with the trailing dot? Then probably this line is to blame: frontend_helpers.cpp, line 190ff.: idx = fname.rfind('.'); if (idx != docstring::npos) fname = ltrim(fname.substr(i

Re: Crash on add citation in LyX 1.5.0svn (r18982)

2007-07-05 Thread John McCabe-Dansted
On 7/5/07, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote: John, could you test if it really fixes the crash, just to make sure? Doesn't seem to fix the crash. LyX seems to be fine with empty authors. It appears to be authors that end with "." that cause the problem. For example, I am not able to

Re: Crash on add citation in LyX 1.5.0svn (r18982)

2007-07-05 Thread Abdelrazak Younes
John McCabe-Dansted wrote: On 7/5/07, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote: could you add a debug statment and see what authors[0] returns, i.e. the attached patch? + lyxerr << "getAbbreviatedAuthor, authors[0]: " << to_utf8(authors[0]) << endl; Now it outputs: getAbbreviatedAut

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "christian" == christian ridderstrom <[EMAIL PROTECTED]> writes: christian> Maybe you should attach it in MIME format? What does this mean? Inline vs attached? Aren't both of these things MIME? AFAIU: 1) Inline means "in the body text", i.e. no attachment. 2) At

Re: Crash on add citation in LyX 1.5.0svn (r18982)

2007-07-05 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: So, shall I commit? I guess it cannot harm. It's in. John, could you test if it really fixes the crash, just to make sure? Yes, please. Abdel.

Re: Crash on add citation in LyX 1.5.0svn (r18982)

2007-07-05 Thread John McCabe-Dansted
On 7/5/07, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote: could you add a debug statment and see what authors[0] returns, i.e. the attached patch? + lyxerr << "getAbbreviatedAuthor, authors[0]: " << to_utf8(authors[0]) << endl; Now it outputs: getAbbreviatedAuthor, authors[0]: Anon. -- J

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Jean-Marc Lasgouttes
> "christian" == christian ridderstrom <[EMAIL PROTECTED]> writes: christian> Maybe you should attach it in MIME format? What does this mean? Inline vs attached? Aren't both of these things MIME? JMarc

Re: Crash on add citation in LyX 1.5.0svn (r18982)

2007-07-05 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > So, shall I commit? I guess it cannot harm. John, could you test if it really fixes the crash, just to make sure? Jürgen

Re: [Patch] Fix bug 3970: Include file crash

2007-07-05 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> So I maintain that this is the right fix. OK. JMarc

Re: Crash on add citation in LyX 1.5.0svn (r18982)

2007-07-05 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: If I am right this patch should solve the issue. The question is whether an empty author name is acceptable or not? It is. Bibtex (and LyX) should use the key in this case. So, shall I commit? Abdel.

Re: Crash on add citation in LyX 1.5.0svn (r18982)

2007-07-05 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > If I am right this patch should solve the  issue. The question is > whether an empty author name is acceptable or not? It is. Bibtex (and LyX) should use the key in this case. Jürgen

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: On Thu, 5 Jul 2007, Abdelrazak Younes wrote: Bo Peng wrote: > Following our middle-mouse pasting discussions, I think I've implemented > the optimal solution that will work under Mac and Windows too > (internally to LyX). My solution is to save the selectionBuffer

Re: Crash on add citation in LyX 1.5.0svn (r18982)

2007-07-05 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: John McCabe-Dansted wrote: The backtrace is below: I see. Seems it crashes here: src/frontends/controllers/frontend_helpers.cpp (239ff): vector const authors = getVectorFromString(author, from_ascii("and ")); if (authors.empty()) return auth

Re: [Patch] Persistent selection and formatting preserved pasting

2007-07-05 Thread christian . ridderstrom
On Thu, 5 Jul 2007, [EMAIL PROTECTED] wrote: But I always attach my patch I never put then inline, I am sorry but I think the problem is on your side. gmail is wrong if it thinks that it is inline. Maybe you should attach it in MIME format? When looking at your post via gmane's web interf

Re: Need for Mac and RTL beta testers for screen painting performance boost

2007-07-05 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > > some testing would surely be good (that would speak for > > putting it in soon after a minor 1.5.x release). > > Please test it then. Dov already tested it with RTL language and didn't > see any problem at all. I repeat myself but the only side effect that > could happe

  1   2   >