Re: Qt4 binary

2007-05-20 Thread Stefan Schimanski
FYI, the cmake build system supports the binary Qt already. Stefan On 20.05.2007, at 22:52, Andre Poenitz wrote: Next time please zip that. 170k is a bit too much to send to the list. Sorry, I tend to get sloppy with this DSL lines. A nice week to you all, Astifter PGP.sig Description

Re: No math dialog

2007-05-20 Thread Jürgen Spitzmüller
John Levon wrote: > I see the toolbar on the right is still present :/ patch attached. OK to commit? Jürgen Index: lib/ui/default.ui === --- lib/ui/default.ui (Revision 18428) +++ lib/ui/default.ui (Arbeitskopie) @@ -33,8 +33,8 @@ #

Re: Qt4 binary

2007-05-20 Thread Andreas Neustifter
On 20.05.2007, at 22:52, Andre Poenitz wrote: Next time please zip that. 170k is a bit too much to send to the list. Sorry, I tend to get sloppy with this DSL lines. A nice week to you all, Astifter

Re: Scrolling lag in 1.5svn again, more details.

2007-05-20 Thread Martin Vermeer
On Sun, May 20, 2007 at 07:08:59PM +0200, Peter Kümmel wrote: > Abdelrazak Younes wrote: ... > OK, I've found a better solution ;) > I had to test if it was worth to upgrade to 1GB ram. > > > > > I can understand that. I was thinking of collecting the scroll events > > and cancelling them if a

No math dialog

2007-05-20 Thread John Levon
I see the Maths dialog has been removed. Am I right in thinking that the only way to create things such as sum environments etc. without knowing LaTeX is to turn on the math panel toolbar and use that? This really needs to be available in the menus too for discoverability: it's a basic principle

Re: BUG 3622: Weird date external material.

2007-05-20 Thread Bo Peng
I already deleted the proposed pathc, but there were style issues. 'if' one one line or such IIRC. Are you talking about my patch? Bo

Re: Qt4 mac

2007-05-20 Thread Bennett Helm
On May 20, 2007, at 11:29 AM, Anders Ekberg wrote: Also the link (http://www.trolltech.com/download/qt/mac.html) given in INSTALL.MacOSX is not valid. Right, it should be: http://trolltech.com/developer/downloads/qt/mac Bennett, can you update this? Actually, it looks like

Re: BUG 3622: Weird date external material.

2007-05-20 Thread Andre Poenitz
On Sun, May 20, 2007 at 08:46:35AM -0500, Bo Peng wrote: > >I propose the attached patch. Can I apply? > > So no one knows this lyxsum stuff? My patch will do no harm on > platforms when my testcase return error for ifstream("/a/path") so if > should be safe to commit. > > OK? I already deleted

Re: crash tex2lyx

2007-05-20 Thread Edwin Leuven
great detective work!! this fixes the crash on my side, so this gets an ok from me. Stefan Schimanski wrote: The following patch fixes this problem for the cmake build system. I have not checked the other build systems, maybe similar fixes are needed there. The problem basically is that in

Re: Qt4 mac

2007-05-20 Thread Andre Poenitz
On Sun, May 20, 2007 at 08:21:56PM +0200, Andreas Neustifter wrote: > PS: How are the correct citing and posting rules in this list? Cut down any cited material to the bit you are responding to and write your comments below. Do not send binaries unless it's compressed plain text. Avoid sending h

Re: crash tex2lyx

2007-05-20 Thread Stefan Schimanski
The following patch fixes this problem for the cmake build system. I have not checked the other build systems, maybe similar fixes are needed there. The problem basically is that in the inline functions a different Font class was used than in the .cpp files. This was leading to these very

Re: Qt4 binary

2007-05-20 Thread Andre Poenitz
On Sun, May 20, 2007 at 08:25:56PM +0200, Andreas Neustifter wrote: > But since it's not quite uninteresting for new users to install the > binary Qt, here the list of files which are installed. Next time please zip that. 170k is a bit too much to send to the list. Andre'

Re: Scrolling lag in 1.5svn again, more details.

2007-05-20 Thread Dov Feldstern
Peter Kümmel wrote: Dov Feldstern wrote: Peter Kümmel wrote: On slow/loaded systems the last patch floods the event queue with timer events instead of key/scroll events. I hope attached patch will now really fix the problem. Peter This works for me (timer_scroll_4.patch) --- at least for wha

Re: crash tex2lyx

2007-05-20 Thread Stefan Schimanski
Which build system do you use? automake/conf? cmake? Stefan Am 16.05.2007 um 13:42 schrieb Leuven, E.: with attached doc. backtrace: tex2lyx.exe!boost::assertion_failed(const char * expr=0x005b6c44, const char * function=0x005b6c50, const char * file=0x005b6cc0, long line=315) L

Re: BUG 3622: Weird date external material.

2007-05-20 Thread Andre Poenitz
On Sat, May 19, 2007 at 11:46:28PM -0500, Bo Peng wrote: > >I traced this bug a little bit and find some weird things going on. > > I am surprised that ifstream(".") returns OK, as shown in my test program. > > #include > #include > > int main() > { >std::ifstream ifs("."); There is n

Re: crash tex2lyx

2007-05-20 Thread Andre Poenitz
On Sat, May 19, 2007 at 11:16:42PM +0200, Stefan Schimanski wrote: > There is something really strange going on. I am trying to debug the > problem for half an hour now as it also shows up on my machine. The > layoutlist_ containter looks fine before the "cit = begin()" call in > TextClass::r

Re: Qt4 mac

2007-05-20 Thread Andreas Neustifter
On 20.05.2007, at 17:45, Anders Ekberg wrote: On 20 maj 2007, at 17.29, Anders Ekberg wrote: On 20 maj 2007, at 16.43, Scott Lambert wrote: I built Qt4.2.3 from source exactly as described in INSTALL.MacOSX. (I even literally used "/path/to/QT4" as the destination.) Here are some lines f

Re: Scrolling lag in 1.5svn again, more details.

2007-05-20 Thread Peter Kümmel
Dov Feldstern wrote: > Peter Kümmel wrote: >> >> On slow/loaded systems the last patch floods the >> event queue with timer events instead of key/scroll events. >> I hope attached patch will now really fix the problem. >> >> Peter >> > > This works for me (timer_scroll_4.patch) --- at least for wh

Re: Scrolling lag in 1.5svn again, more details.

2007-05-20 Thread Peter Kümmel
Abdelrazak Younes wrote: >> Is this your only comment? > > Yes. Sorry, don't have the time to do much more. I thought I'd share my > opinion ;-) Sorry, too - for my harsh reply. > >> >> Anyway I don't think there is a simpler solution, at least I will >> not look for it, this bug has cost me al

Re: [Bug 3561] Comments

2007-05-20 Thread Richard Heck
Jürgen Spitzmüller wrote: > Richard Heck wrote: > >> I've been studying this bug a bit and think I know where the problem is, >> more or less. The attached file is as minimal as I can get it. The >> change of font is crucial. Without it, there is no crash. >> > I think the real problem is r

Re: [Bug 3561] Comments

2007-05-20 Thread Richard Heck
Jürgen Spitzmüller wrote: > Richard Heck wrote: > >> I've been studying this bug a bit and think I know where the problem is, >> more or less. The attached file is as minimal as I can get it. The >> change of font is crucial. Without it, there is no crash. >> > I think the real problem is r

Re: Qt4 mac

2007-05-20 Thread Anders Ekberg
On 20 maj 2007, at 17.29, Anders Ekberg wrote: On 20 maj 2007, at 16.43, Scott Lambert wrote: I built Qt4.2.3 from source exactly as described in INSTALL.MacOSX. (I even literally used "/path/to/QT4" as the destination.) Here are some lines from the configure script. It seems to find som

Re: Qt4 mac

2007-05-20 Thread Anders Ekberg
On 20 maj 2007, at 16.43, Scott Lambert wrote: I built Qt4.2.3 from source exactly as described in INSTALL.MacOSX. (I even literally used "/path/to/QT4" as the destination.) Here are some lines from the configure script. It seems to find some things in the Qt4 tree but not others. checkin

[Fwd: Re: superscript]

2007-05-20 Thread Richard Heck
Richard Heck wrote: > Can you be more specific about the problem? What kind of keyboard are > you using? What language encoding? etc? > > Gyorgy Pota wrote: > >> Dear Users, >> >> It has already been raised that, for example, textdegree symbol did >> not work in the early Lyx 1.5 beta(s). Now I

Re: [patch] bug 3645: make listings dialog translatable

2007-05-20 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > Why does this not work?: > > + throw invalidParam(qt_("caption parameter is not quoted with braces")); because invalidParam expects a std::string, qt_() is a QString. I think InsetListingsParams need to be rewritten to handle docstrings (that would be _("string")). Jürgen

[patch] announce CJK language dialog support

2007-05-20 Thread Uwe Stöhr
I've seen that the support for the CJK languages in the dialogs was not announced. This change requires a warning as Georg stated in bug 3043. So attached is my proposal to announce it in the NEWS and ANNOUNCE file. OK? regards Uwe Index: ANNOUNCE ===

Re: [patch] bug 3645: make listings dialog translatable

2007-05-20 Thread Uwe Stöhr
Jürgen wrote: > Index: src/frontends/qt4/QInclude.cpp > === > --- src/frontends/qt4/QInclude.cpp (Revision 18428) > +++ src/frontends/qt4/QInclude.cpp (Arbeitskopie) > ... > @@ -246,6 +248,7 @@ >if (cap[0]

Re: Qt4 mac

2007-05-20 Thread Scott Lambert
I built Qt4.2.3 from source exactly as described in INSTALL.MacOSX. (I even literally used "/path/to/QT4" as the destination.) Here are some lines from the configure script. It seems to find some things in the Qt4 tree but not others. checking for QT4_CORE... checking for QT4_FRONTEND... ch

Re: [patch] bug 3645: make listings dialog translatable

2007-05-20 Thread Jürgen Spitzmüller
Bo Peng wrote: > > OK? > > Yes. Done. Once you find some time, could you please add tooltips to the dialog? You now better than me what the specific widgets are supposed to do. Jürgen

Re: [patch] bug 3645: make listings dialog translatable

2007-05-20 Thread Bo Peng
I'll move the default settings back, see attached patch. OK? Yes. Thanks. Bo

Re: lyx-1.5.0beta3 build failure

2007-05-20 Thread Bennett Helm
On May 20, 2007, at 4:47 AM, Roger Mc Murtrie wrote: Hi Bennet, I've been trying to compile lyx-1.5.0beta3 but get the following in response to make: Making all in config make[1]: Nothing to be done for `all'. Making all in development Making all in MacOSX Making all in spotlight make[3]: **

Re: [patch] bug 3645: make listings dialog translatable

2007-05-20 Thread Jürgen Spitzmüller
Bo Peng wrote: > Hold on. Why do you removed all initialization (clear() ...) code in > update_content? I did this because when I jump back and forth between > insets, values from previous inset need to be removed. I see. I moved them to the constructor, together with all the initialization stuff

Re: [patch] some more beamer adjustments

2007-05-20 Thread Jürgen Spitzmüller
Bo Peng wrote: > Still no fragile support? No. Too difficult AFAICS. Jürgen

Re: BUG 3622: Weird date external material.

2007-05-20 Thread Bo Peng
I propose the attached patch. Can I apply? So no one knows this lyxsum stuff? My patch will do no harm on platforms when my testcase return error for ifstream("/a/path") so if should be safe to commit. OK? Bo

Re: [patch] some more beamer adjustments

2007-05-20 Thread Bo Peng
On 5/20/07, Uwe Stöhr <[EMAIL PROTECTED]> wrote: > Adds optional arguments whereever this makes sense. > > OK? Still no fragile support? Bo

Re: [patch] bug 3645: make listings dialog translatable

2007-05-20 Thread Bo Peng
> Bo, I'll commit if I get your OK. Please commit. Hold on. Why do you removed all initialization (clear() ...) code in update_content? I did this because when I jump back and forth between insets, values from previous inset need to be removed. Cheers, Bo

Re: [patch] bug 3645: make listings dialog translatable

2007-05-20 Thread Bo Peng
On 5/20/07, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote: Uwe Stöhr wrote: > I tested it and Bo's patch for 3654 works fine. Looking into your code I > find all reasonable. > > So OK from me to commit. Bo, I'll commit if I get your OK. Please commit. Bo

Re: crash tex2lyx

2007-05-20 Thread Stefan Schimanski
So, got it :-) The problem is this neat trick: * This class is just a dummy version of that in the main LyX source tree * to enable tex2lyx to use LyX's textclass classes and not have to * re-invent the wheel. in the Font.h of lyx2tex. Unfortunately the sizes of the objects are different

Re: crash tex2lyx

2007-05-20 Thread Stefan Schimanski
So, got it :-) The problem is this neat trick: * This class is just a dummy version of that in the main LyX source tree * to enable tex2lyx to use LyX's textclass classes and not have to * re-invent the wheel. in the Font.h of lyx2tex. Unfortunately the sizes of the objects are different

Re: [patch] adding powerdot layout was: Re: [announce] LyX 1.5beta3-18-05-2007 for Windows

2007-05-20 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > I corrected all issues in the attached better patch. Good. However, wait for Jean-Marc's comment before committing. Jürgen

Re: [patch] adding powerdot layout was: Re: [announce] LyX 1.5beta3-18-05-2007 for Windows

2007-05-20 Thread Uwe Stöhr
>> Attached is the patch. The powerdot.layout requires to check for three >> packages in the file "chkconfig.ltx" but this is unproblematic I think. > > Why are rotate-textures and listings required? rotate-textures was there to assure that the genmisc-package was used which was once required by

Re: Scrolling lag in 1.5svn again, more details.

2007-05-20 Thread Abdelrazak Younes
Peter Kümmel wrote: Abdelrazak Younes wrote: Peter Kümmel wrote: Next try. To see how it works change the event_delay_ms variable in the constructor to 3000 and use -dbg 12. This looks way too complicated Peter. There must be a simpler solution. Abdel. Is this your only comment? Yes. Sor

Re: [Cvslog] r18419 - in /lyx-devel/trunk/src: frontends/qt4/QLPainter...

2007-05-20 Thread Jürgen Spitzmüller
Stefan Schimanski wrote: > Sorry, got a ok from Richard privately and Andre originally proposed   > exactly the same code just with a std::vector. Counted that as ok. OK then. Jürgen

Re: [Cvslog] r18419 - in /lyx-devel/trunk/src: frontends/qt4/QLPainter...

2007-05-20 Thread Stefan Schimanski
Sorry, got a ok from Richard privately and Andre originally proposed exactly the same code just with a std::vector. Counted that as ok. Stefan Stefan Schimanski wrote: Will commit if nobody complains. The current policy is not "commit if nobody complains", but "commit if you got two OK'

Re: [patch] bug 3645: make listings dialog translatable

2007-05-20 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > I tested it and Bo's patch for 3654 works fine. Looking into your code I > find all reasonable. > > So OK from me to commit. Bo, I'll commit if I get your OK. Jürgen

Re: [patch] bug 3645: make listings dialog translatable

2007-05-20 Thread Uwe Stöhr
> I did some further cleanup and integrated Bo's patch for bug 3654. > See attached. I tested it and Bo's patch for 3654 works fine. Looking into your code I find all reasonable. So OK from me to commit. regards UWe

Re: [Cvslog] r18419 - in /lyx-devel/trunk/src: frontends/qt4/QLPainter...

2007-05-20 Thread Jürgen Spitzmüller
Stefan Schimanski wrote: > Will commit if nobody complains. The current policy is not "commit if nobody complains", but "commit if you got two OK's or the OK from José". Please stick to that. Jürgen

Re:[patch] some more beamer adjustments

2007-05-20 Thread Uwe Stöhr
> Adds optional arguments whereever this makes sense. > > OK? Yes. regarsd Uwe

DIA diagram file with embedded (linked?) bitmap fails to convert

2007-05-20 Thread John Pye
Hi all I have set up a file type and converter for DIA diagram files in LyX. The first problem was that if the DIA file is compressed (settings in the DIA File..Save As window) then LyX recognises it as a 'gzip' type file, even though it has .dia file extension and is a value DIA file. The next

[patch] some more beamer adjustments

2007-05-20 Thread Jürgen Spitzmüller
Adds optional arguments whereever this makes sense. OK? Jürgen Index: lib/layouts/beamer.layout === --- lib/layouts/beamer.layout (Revision 18428) +++ lib/layouts/beamer.layout (Arbeitskopie) @@ -51,6 +51,7 @@ Margin Stat

Re: [PATCH-again] Bugs 643, 3047, and 3090

2007-05-20 Thread Georg Baum
Am Samstag, 19. Mai 2007 18:45 schrieb Richard Heck: > Georg Baum wrote: > > A flag for the name of that directory does already exist: resultdir. Please > > use that instead of /path/file.html.conversion/. > > > I could be wrong, but this seems to do something else. > /path/file.html.conversio

Re: [patch] bug 3645: make listings dialog translatable

2007-05-20 Thread Jürgen Spitzmüller
Bo Peng wrote: > > OK for this one? > > OK. I did some further cleanup and integrated Bo's patch for bug 3654. See attached. Jürgen Index: src/frontends/qt4/QDocument.cpp === --- src/frontends/qt4/QDocument.cpp (Revision 18428) +++ s