More Sailing

2006-06-12 Thread Lars Gullik Bjønnes
I'll be gone from tomorrow and the rest of the week. More sailing. -- Lgb

Re: I could not compile svn://svn.lyx.org/lyx/lyx-devel/trunk

2006-06-12 Thread Lars Gullik Bjønnes
Alex <[EMAIL PROTECTED]> writes: | Dear All, | | I have tryed with Without success. | | $ ./configure --prefix=/home/alex/lyx/bin/lyx150svn-qt | --with-frontend=qt --with-qt-libraries=/usr/lib/qt3/lib64 | --with-version-suffix=-150svn-qt --disable-stdlib-debug Try with --disable-concept-checks

Re: I could not compile svn://svn.lyx.org/lyx/lyx-devel/trunk

2006-06-12 Thread Alex
Dear All, I have tryed with Without success. $ ./configure --prefix=/home/alex/lyx/bin/lyx150svn-qt --with-frontend=qt --with-qt-libraries=/usr/lib/qt3/lib64 --with-version-suffix=-150svn-qt --disable-stdlib-debug Jean-Marc Lasgouttes wrote: >> "Alex" == Alex <[EMAIL PROTECTED]> writes: > >

Re: Painter::lines speedup

2006-06-12 Thread Peter Kümmel
Andre Poenitz wrote: >> QtCored4.dll, 3.386272 > ^ >> GDI32.dll , 2.411191 > > Well, profiling the non-optimized version is close to useless. OK. Here the profiling with the release Qt libs. Name, Self visit time Modules , 44.449435 QtGu

Re: cmake build system

2006-06-12 Thread Peter Kümmel
Bo Peng wrote: > Hi, Peter, > > I see development/cmake finally get in, and feel some competition now. :-) Wasn't it called 'diversity' in an other thread? ;) > Anyway, your README.cmake seems to focus only on windows/msvc. Do you > have any plan to support other platforms? It would be good if y

cmake build system

2006-06-12 Thread Bo Peng
Hi, Peter, I see development/cmake finally get in, and feel some competition now. :-) Anyway, your README.cmake seems to focus only on windows/msvc. Do you have any plan to support other platforms? It would be good if you can give some instruction on how to use cmake on, for example, linux syste

lyx1.4 remove test for HAVE_ZLIB_H

2006-06-12 Thread Bo Peng
Can the following be applied (lyx1.4svn)? Index: src/support/gzstream.h === --- src/support/gzstream.h (revision 14087) +++ src/support/gzstream.h (working copy) @@ -32,9 +32,7 @@ // standard C++ with new header file names

The advantage of any

2006-06-12 Thread Lars Gullik Bjønnes
This is among the things the any patch makes possible. IMNSHO quite nice. svn diff -r14086:14087 svn://svn.lyx.org/lyx/lyx-devel -- Lgb

Re: Drawing error with collapsable insets.

2006-06-12 Thread Martin Vermeer
On Mon, Jun 12, 2006 at 10:18:04PM +0300, Martin Vermeer wrote: > On Mon, Jun 12, 2006 at 12:47:56PM +0200, Juergen Spitzmueller wrote: > > Juergen Spitzmueller wrote: > > > I'm seeing drawing errors in 1.4 every now and then with collapsable > > > insets > > > in tabular cells (that is, if you wr

Re: [PATCH] GUI API cleanup: qt3, gtk, xforms preliminar support

2006-06-12 Thread Peter Kümmel
Georg Baum wrote: >>> One of the tricks used earlier was to make sure that >>> was included before the qt headers. >> But it is! is included in LyXView.h which is the >> second include in QtView.h (after config.h), which is the second include >> in QCommandBuffer.C (after config.h). >> >>> I du

Qt4 resize bug

2006-06-12 Thread Peter Kümmel
I've tried to fix the resize bug, - open lyx - resize to a small window - load a file - scroll down a bit <- this is important - maximize teh window, but I could only find where it happens and couldn't figure out how to fix it. In QWorkArea::resizeEvent the asignment of the QPixmap with the new

Re: [PATCH] GUI API cleanup: qt3, gtk, xforms preliminar support

2006-06-12 Thread Georg Baum
Am Montag, 12. Juni 2006 18:09 schrieb Abdelrazak Younes: > Lars Gullik Bjønnes wrote: > > Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > > > | Lars Gullik Bjønnes wrote: > > | > Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > | > | Abdelrazak Younes wrote: > > | > | > Hello, > > | > | > I ju

Re: don't save maximized size

2006-06-12 Thread Bo Peng
On 6/12/06, Peter Kümmel <[EMAIL PROTECTED]> wrote: Peter Kümmel wrote: >> 1. save/restore isMaximized Qt4 done. >> 2. save/restore normalGeometry width/height instead of the exitings ones Qt4 done. >> 3. do this for qt3 as well (if apply) Is this (see patch) the way to go, also for the other f

Re: don't save maximized size

2006-06-12 Thread Peter Kümmel
Peter Kümmel wrote: >> 1. save/restore isMaximized Qt4 done. >> 2. save/restore normalGeometry width/height instead of the exitings ones Qt4 done. >> 3. do this for qt3 as well (if apply) Is this (see patch) the way to go, also for the other frontends? Index: src/frontends/qt4/lyx_gui.C

Re: Drawing error with collapsable insets.

2006-06-12 Thread Martin Vermeer
On Mon, Jun 12, 2006 at 12:47:56PM +0200, Juergen Spitzmueller wrote: > Juergen Spitzmueller wrote: > > I'm seeing drawing errors in 1.4 every now and then with collapsable insets > > in tabular cells (that is, if you write into the collapsable, the screen > > does not get updated). > > I obviousl

Re: I could not compile svn://svn.lyx.org/lyx/lyx-devel/trunk

2006-06-12 Thread Alex
> Alex> I have SuSe 10.0, on an AMDx64, as you can see in the messages. > > Alex> Can somebody help me, to compile? > > I am sure I have seen this error reported already. For those who did > not have the time to unpack (Alex, it would have been better to just > send the error), here is the releva

Re: don't save maximized size

2006-06-12 Thread Peter Kümmel
Bo Peng wrote: >> Yes, normalGeometry is the not-maximized size, and it is a >> good idea to save also the isMaximized() state. > > Then, could you change your patch to > > 1. save/restore isMaximized > 2. save/restore normalGeometry width/height instead of the exitings ones > 3. do this for qt3

Re: don't save maximized size

2006-06-12 Thread Bo Peng
Yes, normalGeometry is the not-maximized size, and it is a good idea to save also the isMaximized() state. Then, could you change your patch to 1. save/restore isMaximized 2. save/restore normalGeometry width/height instead of the exitings ones 3. do this for qt3 as well (if apply) Thanks. Bo

Re: Painter::lines speedup

2006-06-12 Thread Joost Verburg
Andre Poenitz wrote: Don't know, but IIRC the Express version does not even do all the optimizations the full version does, so I would be surprised if the Express version would do profiling. The compiler included in the Express edition supports all standard optimizations. Joost

Re: Painter::lines speedup

2006-06-12 Thread Peter Kümmel
Andre Poenitz wrote: > On Mon, Jun 12, 2006 at 04:32:46PM +0200, Peter Kümmel wrote: >> Peter Kümmel wrote: >>> I don't think the event handling counts, because it shows >>> the uptime time of lyx, even when nothing is painted. >> This makes more sense (I've disabled all std::* calls): >> >>Nam

Re: don't save maximized size

2006-06-12 Thread Peter Kümmel
Bo Peng wrote: > On 6/12/06, Peter Kümmel <[EMAIL PROTECTED]> wrote: >> It's hard to get the lyx window smaller when >> lyx previously was saved in maximized mode. >> >> You have first to move the window to be able to >> resize it. >> >> This could be fixed by saving 'normalGeometry' >> size and po

Re: Painter::lines speedup

2006-06-12 Thread Andre Poenitz
On Sun, Jun 11, 2006 at 11:18:53PM +0200, Peter Kümmel wrote: > Andre Poenitz wrote: > > On Thu, Jun 08, 2006 at 08:53:23AM +0200, Peter Kümmel wrote: > >> But first I must figure out where I have to add > >> my measurement function. > > > > Why don't you use a 'real' profiler? gprof e.g., or the

Re: r14038 - /lyx-devel/trunk/src/frontends/qt4/lyx_gui.C

2006-06-12 Thread Andre Poenitz
On Sun, Jun 11, 2006 at 11:16:22PM +0200, Peter Kümmel wrote: > Andre Poenitz wrote: > > On Thu, Jun 08, 2006 at 02:08:52PM +0200, Georg Baum wrote: > >> What I don't understand is: Why does it work for other windows users? > > > > Single processor vs multiple processor is known to make a differen

Re: Painter::lines speedup

2006-06-12 Thread Andre Poenitz
On Mon, Jun 12, 2006 at 04:32:46PM +0200, Peter Kümmel wrote: > Peter Kümmel wrote: > > I don't think the event handling counts, because it shows > > the uptime time of lyx, even when nothing is painted. > > This makes more sense (I've disabled all std::* calls): > >Name,Self visit time >

Re: Painter::lines speedup

2006-06-12 Thread Andre Poenitz
On Sun, Jun 11, 2006 at 11:20:05PM +0200, Peter Kümmel wrote: > Andre Poenitz wrote: > > On Thu, Jun 08, 2006 at 09:17:49AM +0200, Peter Kümmel wrote: > >> I'm not proposing such a patch ATM, I'm only interested in the > >> costs of such an additional virtual call. > > > > Not noticable. It's one

Re: Painter::lines speedup

2006-06-12 Thread Andre Poenitz
On Mon, Jun 12, 2006 at 12:38:58PM +0200, Peter Kümmel wrote: > Asger Ottar Alstrup wrote: > > On windows, you can try Glowcode to profile. There is a free trial for > > download at www.glowcode.com. > > > > Regards, > > Asger > > > > > > Thanks for the hint Asger, a very nice tool, and it also

Re: Painter::lines speedup

2006-06-12 Thread Andre Poenitz
On Mon, Jun 12, 2006 at 02:40:46PM +0200, Abdelrazak Younes wrote: > Peter Kümmel wrote: > >And here splitted by modules. > > > >(And I also stop with this mail polluting the > >list with profiling output.) > > Out of 30 seconds, there is: > > QEventDispatcherWin32::processEvents, 18.430434 > >

Re: Painter::lines speedup

2006-06-12 Thread Andre Poenitz
On Mon, Jun 12, 2006 at 09:33:23AM +0200, Jean-Marc Lasgouttes wrote: > > "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: > > Peter> Seems I have to become familiar with gprof. > > The problem with gprof is that it only profiles the binaries/libraries > that have been compiled with profil

Re: don't save maximized size

2006-06-12 Thread Bo Peng
On 6/12/06, Peter Kümmel <[EMAIL PROTECTED]> wrote: It's hard to get the lyx window smaller when lyx previously was saved in maximized mode. You have first to move the window to be able to resize it. This could be fixed by saving 'normalGeometry' size and position. Any objections? Is normalG

don't save maximized size

2006-06-12 Thread Peter Kümmel
It's hard to get the lyx window smaller when lyx previously was saved in maximized mode. You have first to move the window to be able to resize it. This could be fixed by saving 'normalGeometry' size and position. Any objections? Index: src/frontends/qt4/QtView.C ===

Re: [pÃatch] The resurrected any patch

2006-06-12 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | | | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | | | Lars> One thing any will do is to only require that the caller and the | | Lars> handler (the actuall dispatch func) kn

Lyx 142svn windows xp

2006-06-12 Thread Ekkehart Schlicht
Hi, I am working with the new version for some time. Here some observations that may be of interest (if not already known): 1. Scrolling: Clickig on the scrollbar below or above the marker produces a scroll of only a few lines, rather than of the full window. 2. With the cursor in a math box, se

Re: [pÃatch] The resurrected any patch

2006-06-12 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> One thing any will do is to only require that the caller and the | Lars> handler (the actuall dispatch func) know the type, this also | Lars> means that we can avoid a lot

Re: [PATCH] GUI API cleanup: qt3, gtk, xforms preliminar support

2006-06-12 Thread Abdelrazak Younes
Lars Gullik Bjønnes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > | Abdelrazak Younes wrote: | > | > Hello, | > | > I just committed this patch the "younes" branch. I would be happy if | > | > some kind sou

Re: [PATCH] GUI API cleanup: qt3, gtk, xforms preliminar support

2006-06-12 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > | Abdelrazak Younes wrote: | > | > Hello, | > | > I just committed this patch the "younes" branch. I would be happy if | > | > some kind sould help me verify complete th

Re: [pÃatch] The resurrected any patch

2006-06-12 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> One thing any will do is to only require that the caller and the Lars> handler (the actuall dispatch func) know the type, this also Lars> means that we can avoid a lot of conversions. So you mean that for the internal use of lf

Re: [pÃatch] The resurrected any patch

2006-06-12 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" | Lars> == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | Lars> | | Lars> | Lars> This patch opens up fo

Re: Thanks!!

2006-06-12 Thread christian . ridderstrom
On Mon, 12 Jun 2006, Jean-Marc Lasgouttes wrote: "Graham" == Graham Watts <[EMAIL PROTECTED]> writes: Graham> PS: I realize that this is not necessarily the correct place Graham> to send this message and apologize if this has upset anyone. I Graham> simply wanted to contact the people actively

Re: scons and version-suffix

2006-06-12 Thread Jean-Marc Lasgouttes
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: Bo> On 6/12/06, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote: >> > "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: >> Angus> At least, I understand that Jean-Marc passes some magic to the Angus> gettext code to tell it where to find these .mo fi

Re: [PATCH] GUI API cleanup: qt3, gtk, xforms preliminar support

2006-06-12 Thread Abdelrazak Younes
Lars Gullik Bjønnes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Abdelrazak Younes wrote: | > Hello, | > I just committed this patch the "younes" branch. I would be happy if | > some kind sould help me verify complete that. | | I managed to install Qt3 so I have fixed compilation issu

Re: scons and version-suffix

2006-06-12 Thread Bo Peng
On 6/12/06, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote: > "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: Angus> At least, I understand that Jean-Marc passes some magic to the Angus> gettext code to tell it where to find these .mo files... >> The names of the mo files is PACKAGE.mo. So it a

Re: scons and version-suffix

2006-06-12 Thread Jean-Marc Lasgouttes
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: Angus> At least, I understand that Jean-Marc passes some magic to the Angus> gettext code to tell it where to find these .mo files... >> The names of the mo files is PACKAGE.mo. So it all depends on how >> the PACKAGE variable is modified when usi

Re: [pÃatch] The resurrected any patch

2006-06-12 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" Lars> == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> | Lars> | Lars> This patch opens up for quite a few simplifications and Lars> | Lars> possibilites t

Re: HAVE_LC_MESSAGES

2006-06-12 Thread Abdelrazak Younes
Joost Verburg wrote: Bo Peng wrote: Abdel, could you please post your aspell build somewhere? It was from the very beginning a bad idea trying to build aspell with msvc. Aspell compiled with MinGW will not work with MSVC builds because it's a C++ library. Angus reckon that it should be OK b

Re: Painter::lines speedup

2006-06-12 Thread Peter Kümmel
Peter Kümmel wrote: > Here the time which is spend in the different dlls/exe: > > QtGuid4.dll , 31.600339 > lyx-qt4.exe , 21.862434 > QtCored4.dll, 3.386272 > GDI32.dll , 2.411191 > > This means when you code lyx in plain C by only > using the GDI functions directly you could get > a boost of

Re: Painter::lines speedup

2006-06-12 Thread Peter Kümmel
Peter Kümmel wrote: > I don't think the event handling counts, because it shows > the uptime time of lyx, even when nothing is painted. This makes more sense (I've disabled all std::* calls): Name,Self visit time QRasterPaintEngine::drawTextItem, 5.622828 qBlue, 5.467107 QLFontIn

Re: HAVE_LC_MESSAGES

2006-06-12 Thread Joost Verburg
Bo Peng wrote: Abdel, could you please post your aspell build somewhere? It was from the very beginning a bad idea trying to build aspell with msvc. Aspell compiled with MinGW will not work with MSVC builds because it's a C++ library. Joost

Re: I could not compile svn://svn.lyx.org/lyx/lyx-devel/trunk

2006-06-12 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Alex" == Alex <[EMAIL PROTECTED]> writes: | | Alex> Dear all, I would like to try the new lyx on my machine. I have | Alex> downloaded the sources, after the usual autogen.sh, configure | Alex> and make I faced to the messages listed in t

Re: HAVE_LC_MESSAGES

2006-06-12 Thread Joost Verburg
Bo Peng wrote: aiksaurus works fine. It is just that aspell thing. I have never had good luck with it, even with mingw. The CVS version of Aiksaurus compiles with both MSVC and MinGW without any changes. Joost

Re: [pÃatch] The resurrected any patch

2006-06-12 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> This patch opens up for quite a few simplifications and | Lars> possibilites that we currently do not have. | | Could you tell us more about what it gives us? I do not rem

Re: scons and version-suffix

2006-06-12 Thread Bo Peng
Angus> At least, I understand that Jean-Marc passes some magic to the Angus> gettext code to tell it where to find these .mo files... The names of the mo files is PACKAGE.mo. So it all depends on how the PACKAGE variable is modified when using version-suffix. This is true under *nix, but for wi

Re: [Patch] Simple pen optimisation

2006-06-12 Thread Enrico Forestieri
On Mon, Jun 12, 2006 at 11:54:11AM +0200, Abdelrazak Younes wrote: > Andre Poenitz wrote: > >On Sat, Jun 10, 2006 at 02:01:49AM +0200, Abdelrazak Younes wrote: > >>This simple patch saves 4 seconds in the PageDown test. > > > >Please remind me what the PageDown test is (Userguide to the end?) > >

Re: HAVE_LC_MESSAGES

2006-06-12 Thread Peter Kümmel
Bo Peng wrote: >> Don't give up! >> The changes to the 0.60.4 sources are minimal: > > Which vc version are you using? 2005 express? Why do I see the need of > adding 'typename' before vector::size_type etc? > > Bo > > Yes, I use 2005 express and aspell: ftp://ftp.gnu.org/gnu/aspell/aspell-0.60

Re: scons and version-suffix

2006-06-12 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> If this hasn't changed recently, with autotools the locales also >> have the version suffix on windows. That's not the case for scons. >> I actually prefer this last behaviour. Angus

Re: I could not compile svn://svn.lyx.org/lyx/lyx-devel/trunk

2006-06-12 Thread Jean-Marc Lasgouttes
> "Alex" == Alex <[EMAIL PROTECTED]> writes: Alex> Dear all, I would like to try the new lyx on my machine. I have Alex> downloaded the sources, after the usual autogen.sh, configure Alex> and make I faced to the messages listed in the attechments. I Alex> have packed the output of the svn up

Re: [PATCH] major font selection redesign

2006-06-12 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> What I mean is: if we want a real preview, we would have to Juergen> pass "The little brown fox jumps over the lazy dog" through Juergen> preview-latex and display the resulting image. And this is definitely the easiest

Re: HAVE_LC_MESSAGES

2006-06-12 Thread Bo Peng
Download the latest aiksaurus version from AbiWord CVS, it works fine with both MSVC and MinGW. aiksaurus works fine. It is just that aspell thing. I have never had good luck with it, even with mingw. I'm going to include Aiksaurus in the new LyX 1.4 Windows installer. That will be good. If

Re: [pÃatch] The resurrected any patch

2006-06-12 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> This patch opens up for quite a few simplifications and Lars> possibilites that we currently do not have. Could you tell us more about what it gives us? I do not remember, and it is not evident by reading the patch itself. JMa

Re: Painter::lines speedup

2006-06-12 Thread Abdelrazak Younes
Peter Kümmel wrote: Abdelrazak Younes wrote: Peter Kümmel wrote: And here splitted by modules. (And I also stop with this mail polluting the list with profiling output.) Out of 30 seconds, there is: QEventDispatcherWin32::processEvents, 18.430434 This a lot! So, after all that's maybe not

Re: HAVE_LC_MESSAGES

2006-06-12 Thread Joost Verburg
Bo Peng wrote: I tried. Did not work. The project file is also broken. I tried to build the library using scons, and it was super easy (only 5 or so source files) because its config.h is a subset of lyx config.h, Download the latest aiksaurus version from AbiWord CVS, it works fine with both M

Re: [pÃatch] The resurrected any patch

2006-06-12 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | This patch opens up for quite a few simplifications and possibilites | that we currently do not have. | | I'll clean it up a bit more, but comments are welcome. If I don't get any any comments then I will just cleanup a bit and merge to trunk. -

Re: HAVE_LC_MESSAGES

2006-06-12 Thread Bo Peng
Don't give up! The changes to the 0.60.4 sources are minimal: Which vc version are you using? 2005 express? Why do I see the need of adding 'typename' before vector::size_type etc? Bo

Re: Painter::lines speedup

2006-06-12 Thread Peter Kümmel
Abdelrazak Younes wrote: > Peter Kümmel wrote: >> And here splitted by modules. >> >> (And I also stop with this mail polluting the >> list with profiling output.) > > Out of 30 seconds, there is: > > QEventDispatcherWin32::processEvents, 18.430434 > > This a lot! So, after all that's maybe not

Re: booktabs

2006-06-12 Thread Juergen Spitzmueller
Georg Baum wrote: > Remaining tasks: Add support for interline space (half finished, see > attached) and testing. I had a quick look. It looks good. However, it should be possible to use \addlinespace (without optional argument). I guess most of the time you'll need the same linespace, which is

Re: [PATCH] major font selection redesign

2006-06-12 Thread Juergen Spitzmueller
Georg Baum wrote: > In the meantime I had a look at your patch, and I like it very much. I > agree with Lars that this hardcoding stuff is not nice, but I think that > should be enough for now. For the future, I'd like to avoid yet another set > of configuration files. I think this problem could be

Re: Painter::lines speedup

2006-06-12 Thread Abdelrazak Younes
Peter Kümmel wrote: And here splitted by modules. (And I also stop with this mail polluting the list with profiling output.) Out of 30 seconds, there is: QEventDispatcherWin32::processEvents, 18.430434 This a lot! So, after all that's maybe not the painting that is slow: QRasterPaintEngin

Re: Drawing error with collapsable insets.

2006-06-12 Thread Martin Vermeer
On Mon, 2006-06-12 at 11:06 +0200, Lars Gullik Bjønnes wrote: > Martin Vermeer <[EMAIL PROTECTED]> writes: > > | On Mon, 2006-06-12 at 09:30 +0200, Lars Gullik Bjønnes wrote: > | > Martin Vermeer <[EMAIL PROTECTED]> writes: > | > > | > | On Sat, 2006-06-10 at 15:22 +0200, Lars Gullik Bjønnes

Re: [PATCH] major font selection redesign

2006-06-12 Thread Jose' Matos
On Monday 12 June 2006 12:16, Georg Baum wrote: > I'll have a look at the lyx2lyx stuff laater this week if Jose does not > beat me to it. By all means, I am buried under (and fighting) fractals, multifractals and other equally elusive beasts. ;-) > Please don't apply your patch without lyx2ly

Re: [PATCH] major font selection redesign

2006-06-12 Thread Georg Baum
Juergen Spitzmueller wrote: > Georg Baum wrote: >> I doubt that anybody would see the difference in a small preview box. > > I was arguing on principle (wrt the preview boxes in ordinary word > processors). > However, it might matter if you chose the expert settings. OK. >> > What I mean is: if

Re: [PATCH] major font selection redesign

2006-06-12 Thread Juergen Spitzmueller
Georg Baum wrote: > I doubt that anybody would see the difference in a small preview box. I was arguing on principle (wrt the preview boxes in ordinary word processors). However, it might matter if you chose the expert settings. > > What I mean is: if we want a real preview, we would have to pas

Re: [PATCH] major font selection redesign

2006-06-12 Thread Georg Baum
Juergen Spitzmueller wrote: > But it's still not a real preview. For instance, if I chose "Palatino", > mathpazo uses either URW Palladio (which is free), or some commercial font > like Linotype Palatino, if that is installed. The two fonts look very > similar, because Palladio is a Palatino clone

Re: Drawing error with collapsable insets.

2006-06-12 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > I'm seeing drawing errors in 1.4 every now and then with collapsable insets > in tabular cells (that is, if you write into the collapsable, the screen > does not get updated). I obviously mean something different: - New table - add some text in a cell - change column

Re: Painter::lines speedup

2006-06-12 Thread Peter Kümmel
And here splitted by modules. (And I also stop with this mail polluting the list with profiling output.) -Modules, 74.162388 -lyx-qt4.exe (SymPdb), 30.078070 std::_Iterator_base::_Adopt, 2.210946 std::_Iterator_base::~_Iterator_base, 2.157466 std::_Iterator_base::_Orphan_me, 2.0

Re: Painter::lines speedup

2006-06-12 Thread Peter Kümmel
Asger Ottar Alstrup wrote: > On windows, you can try Glowcode to profile. There is a free trial for > download at www.glowcode.com. > > Regards, > Asger > > Thanks for the hint Asger, a very nice tool, and it also works with the expess edition. Here the top 50 time-waster (number in seconds):

Re: [PATCH] major font selection redesign

2006-06-12 Thread Juergen Spitzmueller
Georg Baum wrote: > Actually it is easy, but accumulates to some work if you do it for more > than one font. You can open the font with fontforge and save it as > truetype. This only needs a couple of mouse clicks, and of course there > could be licence problems. > What we need is a "LyX font maint

Re: [PATCH] major font selection redesign

2006-06-12 Thread Georg Baum
Juergen Spitzmueller wrote: > Charles de Miramon wrote: >> Very nice. A preview of fonts would be very useful for new users > > This is not so easy, unfortunately. After all, lots of these fonts are > only available to LaTeX, not to qt, for instance. Actually it is easy, but accumulates to some

Re: [PATCH] GUI API cleanup: qt3, gtk, xforms preliminar support

2006-06-12 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Abdelrazak Younes wrote: | > Hello, | > I just committed this patch the "younes" branch. I would be happy if | > some kind sould help me verify complete that. | | I managed to install Qt3 so I have fixed compilation issues for qt3. I | have a new we

Re: [Patch] Simple pen optimisation

2006-06-12 Thread Abdelrazak Younes
Andre Poenitz wrote: On Sat, Jun 10, 2006 at 02:01:49AM +0200, Abdelrazak Younes wrote: This simple patch saves 4 seconds in the PageDown test. Please remind me what the PageDown test is (Userguide to the end?) Yes. and how long it takes 'usually'. Depends on what is usually ;-) On my pl

Re: [Patch] Simple pen optimisation

2006-06-12 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Sat, Jun 10, 2006 at 02:01:49AM +0200, Abdelrazak Younes wrote: | > This simple patch saves 4 seconds in the PageDown test. | | Please remind me what the PageDown test is (Userguide to the end?) yes. Load the doc, goto top, press PageDown until at e

Re: Drawing error with collapsable insets.

2006-06-12 Thread Lars Gullik Bjønnes
Enrico Forestieri <[EMAIL PROTECTED]> writes: | On Mon, Jun 12, 2006 at 11:37:56AM +0300, Martin Vermeer wrote: | > On Mon, 2006-06-12 at 09:30 +0200, Lars Gullik Bjønnes wrote: | | > > We should find a better solution. The Wide() thing really feels like a | > > hack. (And there should be no reas

Re: [PATCH] GUI API cleanup: qt3, gtk, xforms preliminar support

2006-06-12 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Hello, I just committed this patch the "younes" branch. I would be happy if some kind sould help me verify complete that. I managed to install Qt3 so I have fixed compilation issues for qt3. I have a new weird issue though: D:\devel\lyx\trunk\src\frontends\qt3\QCom

Re: [Patch] Simple pen optimisation

2006-06-12 Thread Andre Poenitz
On Sat, Jun 10, 2006 at 02:01:49AM +0200, Abdelrazak Younes wrote: > This simple patch saves 4 seconds in the PageDown test. Please remind me what the PageDown test is (Userguide to the end?) and how long it takes 'usually'. Andre'

Re: QLPainter statistic

2006-06-12 Thread Andre Poenitz
On Fri, Jun 09, 2006 at 10:49:02PM +0200, Abdelrazak Younes wrote: > Note that my primary target for optimisation is X11 and Mac. For me Qt4 > on windows is fast enough. > > [interesting stuff] > > >Well... when I think about it, it might be possible that QPicture > >compresses some operations a

Re: [Patch] Simple pen optimisation

2006-06-12 Thread Andre Poenitz
On Sat, Jun 10, 2006 at 11:39:04AM +0200, Lars Gullik Bjønnes wrote: > Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > | This simple patch saves 4 seconds in the PageDown test. > | > | Committed in the "younes" branch. > > A Q. What is expensive about pens? Creation or changing between them?

Re: r14065 - in /lyx-devel/branches/personal/younes/src/front...

2006-06-12 Thread Andre Poenitz
On Sat, Jun 10, 2006 at 11:47:54AM +0200, Lars Gullik Bjønnes wrote: > Cannot qt3 also benefit from the exact same change? Not as much. Qt 3 pens behaved sort of reasonable... Andre'

Re: Painter::lines speedup

2006-06-12 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Mon, Jun 12, 2006 at 10:28:52AM +0200, Abdelrazak Younes wrote: So slow on Windows/Mingw. As I reported earlier it is fast on Windows/Msvc I can hardly believe it ;-) I think the problem lies in qt/win as the cygwin qt/x11 performs almost exactly the same as linux

Re: Painter::lines speedup

2006-06-12 Thread Enrico Forestieri
On Mon, Jun 12, 2006 at 10:28:52AM +0200, Abdelrazak Younes wrote: > So slow on Windows/Mingw. As I reported earlier it is fast on Windows/Msvc I can hardly believe it ;-) I think the problem lies in qt/win as the cygwin qt/x11 performs almost exactly the same as linux qt/x11. What puzzles me i

Re: Drawing error with collapsable insets.

2006-06-12 Thread Lars Gullik Bjønnes
Martin Vermeer <[EMAIL PROTECTED]> writes: | On Mon, 2006-06-12 at 09:30 +0200, Lars Gullik Bjønnes wrote: | > Martin Vermeer <[EMAIL PROTECTED]> writes: | > | > | On Sat, 2006-06-10 at 15:22 +0200, Lars Gullik Bjønnes wrote: | > | > [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | > | >

Re: Drawing error with collapsable insets.

2006-06-12 Thread Enrico Forestieri
On Mon, Jun 12, 2006 at 11:37:56AM +0300, Martin Vermeer wrote: > On Mon, 2006-06-12 at 09:30 +0200, Lars Gullik Bjønnes wrote: > > We should find a better solution. The Wide() thing really feels like a > > hack. (And there should be no reason why a Wide() non-Wide() have to > > be drawn different

Re: Drawing error with collapsable insets.

2006-06-12 Thread Martin Vermeer
On Mon, 2006-06-12 at 09:30 +0200, Lars Gullik Bjønnes wrote: > Martin Vermeer <[EMAIL PROTECTED]> writes: > > | On Sat, 2006-06-10 at 15:22 +0200, Lars Gullik Bjønnes wrote: > | > [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: > | > > | > | We have a drawing error with insets. It is very easy

Re: HAVE_LC_MESSAGES

2006-06-12 Thread Abdelrazak Younes
Bo Peng wrote: I did not try aspell/cvs. I played another a few hours with 0.6.0 and gave up. It is not only a matter of scons build system since I will have to patch the source code, and the patch will be obsolete soon after another release of aspell. Abdel, could you please post your aspell bu

Re: Painter::lines speedup

2006-06-12 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: Peter> This sounds like gprof could be uses under windows? But only Peter> with cygwin, I assume. Not with the ms compiler anyway, since it one has to recompile with a special compiler flag. I couldn't make it w

Re: [PATCH] major font selection redesign

2006-06-12 Thread Jose' Matos
On Saturday 10 June 2006 14:36, Juergen Spitzmueller wrote: > - lyx2lyx. I'd be glad if some Pythonist could do this. The changes are > described in FORMAT. First of all congratulations for your work. :-) The convertion should be quite easy but I am really busy for the moment. I will see wha

Re: HAVE_LC_MESSAGES

2006-06-12 Thread Peter Kümmel
Bo Peng wrote: > I did not try aspell/cvs. I played another a few hours with 0.6.0 and > gave up. It is not only a matter of scons build system since I will > have to patch the source code, and the patch will be obsolete soon > after another release of aspell. Don't give up! The changes to the 0.6

Re: Painter::lines speedup

2006-06-12 Thread Asger Ottar Alstrup
On windows, you can try Glowcode to profile. There is a free trial for download at www.glowcode.com. Regards, Asger

Re: Painter::lines speedup

2006-06-12 Thread Jean-Marc Lasgouttes
> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: Peter> This sounds like gprof could be uses under windows? But only Peter> with cygwin, I assume. Not with the ms compiler anyway, since it one has to recompile with a special compiler flag. But profiling with mingw or cygwin would be ve

Re: Painter::lines speedup

2006-06-12 Thread Peter Kümmel
Jean-Marc Lasgouttes wrote: >> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: > > Peter> Seems I have to become familiar with gprof. > > The problem with gprof is that it only profiles the binaries/libraries > that have been compiled with profiling support. You can do that for qt > maybe

Re: Thanks!!

2006-06-12 Thread Jean-Marc Lasgouttes
> "Graham" == Graham Watts <[EMAIL PROTECTED]> writes: Graham> PS: I realize that this is not necessarily the correct place Graham> to send this message and apologize if this has upset anyone. I Graham> simply wanted to contact the people actively developing Lyx as Graham> they are the ones I

Re: Painter::lines speedup

2006-06-12 Thread Jean-Marc Lasgouttes
> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: Peter> Seems I have to become familiar with gprof. The problem with gprof is that it only profiles the binaries/libraries that have been compiled with profiling support. You can do that for qt maybe, but not for windows system libs. JMarc

Re: Drawing error with collapsable insets.

2006-06-12 Thread Lars Gullik Bjønnes
Martin Vermeer <[EMAIL PROTECTED]> writes: | On Sat, 2006-06-10 at 15:22 +0200, Lars Gullik Bjønnes wrote: | > [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | > | > | We have a drawing error with insets. It is very easy to see with the | > | note inset. Just load the userguide, look at the 'N

  1   2   >