Re: LyX/Mac 1.5.0, Qt 4.2.1 Profile

2006-10-27 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Do we really want to use a vector to cache unicode data? Abdelrazak> No, a vector to cache width (int) data. This is to replace Abdelrazak> the map font width, nothing to do w

Re: LyX/Mac 1.5.0, Qt 4.2.1 Profile

2006-10-27 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: Please be more explicit I don't get what you mean here. We should maybe switch to French... ;-) You replaced one simple call to get metrics by another one which looks more complicated. There should bee only one Method (as thre used to be), and it should do the cach

Assertion on file save

2006-10-27 Thread Sven Hoexter
Hi guys, I hope that this one is not something like a well known bug. At least I could not find a fitting but in the Bugzilla yet but aehm well it's quite hard to find something without reading a few hundred bugreports ... If I do the following with LyX 1.4.3: touch foo.lyx lyx-qt File->New File

Re: LyX 1.5.0 won't start properly on Mac

2006-10-27 Thread Bennett Helm
On Oct 27, 2006, at 4:15 AM, Jean-Marc Lasgouttes wrote: "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> LyX 1.5.0 cannot be started by double-clicking the LyX.app Bennett> icon on Mac: it crashes immediately. However, starting LyX Bennett> from the command line (or via gdb) wor

Re: LyX/Mac 1.5.0, Qt 4.2.1 Profile

2006-10-27 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> This one was very helpful Bennett, thank you. I cannot do Abdelrazak> much about the drawText() operation as this is Qt API but Abdelrazak> I have changed the next line that occupied 6 second t

[CRASH] assertion in LyXText::getPitNearY()

2006-10-27 Thread Abdelrazak Younes
The coordcache strikes back: Assertion failed: bv()->coordCache().getParPos().find(this) != bv()->coordCache( ).getParPos().end() __w64 int __thiscall lyx::LyXText::getPitNearY(int) const .. \..\..\src\text2.C 909 Assertion failed: bv()->coordCache().getParPos().find(this) != bv()->coordCache

Re: Scrollbar and multible views

2006-10-27 Thread Abdelrazak Younes
Jonathan Vogt wrote: Hi all, hope I don't report anything old as new again, at least I didn't find anything. 1) Open up one Document 2) Open new window and load same document 3) Type some lines in new window 4) change to old window and scroll down using the scrollbar I cannot reproduce that

Re: compile errors

2006-10-27 Thread Bo Peng
> Isn't std::abs supposed to have a double variant? > Maybe it mas the missing math header. Yeap, adding cmath solves the problem. Patch submitted. Bo

Re: compile errors

2006-10-27 Thread Peter Kümmel
Jean-Marc Lasgouttes wrote: >> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: > > Peter> Jonathan Vogt wrote: >>> Am Freitag 27 Oktober 2006 16:52 schrieb Peter Kümmel: Jonathan Vogt wrote: > Am Freitag 27 Oktober 2006 16:14 schrieb Bo Peng: >> The problem is still there. Why

Re: CT changes

2006-10-27 Thread Jean-Marc Lasgouttes
> "Michael" == Michael Gerz <[EMAIL PROTECTED]> writes: Michael> Right now, there is no such concept as an editing session. Michael> Moreover, I would like to have meaningful changetimes. MS Michael> Word and OOo also keep track of the exact time. We should maybe have such concept: a change c

Re: compile errors

2006-10-27 Thread Jean-Marc Lasgouttes
> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: Peter> Jonathan Vogt wrote: >> Am Freitag 27 Oktober 2006 16:52 schrieb Peter Kümmel: >>> Jonathan Vogt wrote: Am Freitag 27 Oktober 2006 16:14 schrieb Bo Peng: > The problem is still there. Why not use fabs in math.h? At least >>>

Re: All LyX specific latex commands before user ones

2006-10-27 Thread Jean-Marc Lasgouttes
> "Laurent" == Laurent Grawet <[EMAIL PROTECTED]> writes: Laurent> On 27/10/2006 14:26, Jean-Marc Lasgouttes wrote: On Laurent> 27/10/2006 10:20, Jean-Marc Lasgouttes wrote: For example I Laurent> use \bsc command in the user latex commands. The \bsc command Laurent> is from babel package >> >

Re: LyX/Mac 1.5.0, Qt 4.2.1 Profile

2006-10-27 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> This one was very helpful Bennett, thank you. I cannot do Abdelrazak> much about the drawText() operation as this is Qt API but Abdelrazak> I have changed the next line that occupied 6 second to use Abdelrazak> the fon

[Patch] optimize utf8_to_ucs4

2006-10-27 Thread Abdelrazak Younes
Hello, This patch brings a 20% improvement when loading a big document (my test document is the UserGuide copied&Pasted 3 times). This is done by avoiding multiple string/vector/docstring copying. I can think of many other optimisation but I would like this one to go in first. IMHO, most of

Re: LyX & XeTeX

2006-10-27 Thread Gour
On Fri, 2006-10-27 at 14:29 +0200, Peter Kümmel wrote: > Unicode is Unicode. I assume XeTex does not support all Unicode > symbols but only these which could be represented by ONE 16 bit > UTF-16 value (like the Mac?). I think this means "XeTeX uses utf-16 > encoding internally". In TugBoat, #2-2

Re: CT changes

2006-10-27 Thread Michael Gerz
Helge Hafting wrote: Do that mean one eventually have to accept 48 changes for 4 hours of continous typing? Not really. You can select an arbitrary part of your document and just invoke "accept-change", which accepts all changes in the given selection. How about always merging changes tha

Re: compile errors

2006-10-27 Thread Peter Kümmel
Jonathan Vogt wrote: > Am Freitag 27 Oktober 2006 16:52 schrieb Peter Kümmel: >> Jonathan Vogt wrote: >>> Am Freitag 27 Oktober 2006 16:14 schrieb Bo Peng: The problem is still there. Why not use fabs in math.h? At least this makes lyx compile. >> does fabs work under linux? then we coul

Re: compile errors

2006-10-27 Thread Jonathan Vogt
Am Freitag 27 Oktober 2006 16:52 schrieb Peter Kümmel: > Jonathan Vogt wrote: > > Am Freitag 27 Oktober 2006 16:14 schrieb Bo Peng: > >> > >> The problem is still there. Why not use fabs in math.h? At least this > >> makes lyx compile. > > > > does fabs work under linux? then we could change it to

Re: compile errors

2006-10-27 Thread Bo Peng
does fabs work under linux? then we could change it to using fabs. Of course, math.h is needed though. Bo

Re: compile errors

2006-10-27 Thread Peter Kümmel
Jonathan Vogt wrote: > Am Freitag 27 Oktober 2006 16:14 schrieb Bo Peng: >>> 8\VC\include\math.h(491): or 'float abs(float)' >>> 2>C:\Program Files\Microsoft Visual Studio >>> 8\VC\include\math.h(487): or 'double abs(double)' >>> 2>C:\Program Files\Microsoft Visual Studio >>> 8\VC\i

Re: compile errors

2006-10-27 Thread Peter Kümmel
Bo Peng wrote: >> 8\VC\include\math.h(491): or 'float abs(float)' >> 2>C:\Program Files\Microsoft Visual Studio >> 8\VC\include\math.h(487): or 'double abs(double)' >> 2>C:\Program Files\Microsoft Visual Studio >> 8\VC\include\math.h(485): or 'long abs(long)' >> 2>C:\Program

Re: compile errors

2006-10-27 Thread Jonathan Vogt
Am Freitag 27 Oktober 2006 16:14 schrieb Bo Peng: > > 8\VC\include\math.h(491): or 'float abs(float)' > > 2>C:\Program Files\Microsoft Visual Studio > > 8\VC\include\math.h(487): or 'double abs(double)' > > 2>C:\Program Files\Microsoft Visual Studio > > 8\VC\include\math.h(485): or

Re: [CMake] '_SECURE_SCL' : macro redefinition

2006-10-27 Thread Peter Kümmel
rebuild your precompiled headers, the old ones where build with _SECURE_SCL=1 sorry for the rebuild. Abdelrazak Younes wrote: > Hello Peter, > > I have these warnings when compiling in Release mode: > > QLPainter.C > ..\..\..\..\..\src\frontends\qt4\QLPainter.C(12) : warning C4005: > '_SECURE_

[CMake] '_SECURE_SCL' : macro redefinition

2006-10-27 Thread Abdelrazak Younes
Hello Peter, I have these warnings when compiling in Release mode: QLPainter.C ..\..\..\..\..\src\frontends\qt4\QLPainter.C(12) : warning C4005: '_SECURE_SCL' : macro redefinition C:\Program Files\Microsoft Visual Studio 8\VC\include\yvals.h(109) : see previous definition of '_SECURE_S

Re: [PATCH] fix bugs 2877 and 1720

2006-10-27 Thread Bennett Helm
On Oct 27, 2006, at 6:59 AM, Jean-Marc Lasgouttes wrote: "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> On Oct 14, 2006, at 11:46 AM, Jean-Marc Lasgouttes wrote: This patch (against 1.4) should 1/ reimplement the OSX feature that greys-out unavailable actions when a dialog i

Re: LyX/Mac 1.5.0, Qt 4.2.1 Profile

2006-10-27 Thread Abdelrazak Younes
Bennett Helm wrote: On Oct 26, 2006, at 2:32 PM, Bennett Helm wrote: On Oct 26, 2006, at 3:40 AM, Abdelrazak Younes wrote: ... As you can see in the second line, QLPainter::text() take the most time. This is not surprising but the following lines between this node an the following node at

Re: compile errors

2006-10-27 Thread Bo Peng
8\VC\include\math.h(491): or 'float abs(float)' 2>C:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(487): or 'double abs(double)' 2>C:\Program Files\Microsoft Visual Studio 8\VC\include\math.h(485): or 'long abs(long)' 2>C:\Program Files\Microsoft Visual Studio 8

Re: LyX/Mac 1.5.0, Qt 4.2.1 Profile

2006-10-27 Thread Abdelrazak Younes
Bennett Helm wrote: On Oct 26, 2006, at 3:40 AM, Abdelrazak Younes wrote: As you can see in the second line, QLPainter::text() take the most time. This is not surprising but the following lines between this node an the following node at the same level (LyXText::getFont()) don't make the sum.

Re: Qt/Mac and localization

2006-10-27 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> On Oct 27, 2006, at 9:23 AM, Edwin Leuven wrote: >> Jean-Marc Lasgouttes wrote: >>> Bennett, I just stumbled on this. Is it something we should do? >>> http://doc.trolltech.com/3.3/mac-differences.html#7-2 >> same here but for 4

Re: All LyX specific latex commands before user ones

2006-10-27 Thread Laurent Grawet
On 27/10/2006 14:26, Jean-Marc Lasgouttes wrote: > Laurent> On 27/10/2006 10:20, Jean-Marc Lasgouttes wrote: For example > Laurent> I use \bsc command in the user latex commands. The \bsc > Laurent> command is from babel package > >>> BTW, why does it make sense to use bsc over \textsc or LyX'

Re: Qt/Mac and localization

2006-10-27 Thread Bennett Helm
On Oct 27, 2006, at 9:23 AM, Edwin Leuven wrote: Jean-Marc Lasgouttes wrote: Bennett, I just stumbled on this. Is it something we should do? http://doc.trolltech.com/3.3/mac-differences.html#7-2 same here but for 4.1 http://doc.trolltech.com/4.1/mac-differences.html#translating-the- applica

Re: Scrollbar and multible views

2006-10-27 Thread Abdelrazak Younes
Jonathan Vogt wrote: Hi all, hope I don't report anything old as new again, at least I didn't find anything. 1) Open up one Document 2) Open new window and load same document 3) Type some lines in new window 4) change to old window and scroll down using the scrollbar => /usr/lib/gcc/i686-pc-

Scrollbar and multible views

2006-10-27 Thread Jonathan Vogt
Hi all, hope I don't report anything old as new again, at least I didn't find anything. 1) Open up one Document 2) Open new window and load same document 3) Type some lines in new window 4) change to old window and scroll down using the scrollbar => /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/

Re: Qt/Mac and localization

2006-10-27 Thread Edwin Leuven
Jean-Marc Lasgouttes wrote: Bennett, I just stumbled on this. Is it something we should do? http://doc.trolltech.com/3.3/mac-differences.html#7-2 same here but for 4.1 http://doc.trolltech.com/4.1/mac-differences.html#translating-the-application-menu-and-native-dialogs

Crash on exit: assertion in paragraph_pimpl.C line 329

2006-10-27 Thread Abdelrazak Younes
Here is what I have on the console: Assertion failed: end > start && end <= size() + 1 int __thiscall lyx::Paragraph:: Pimpl::eraseChars(__w64 int,__w64 int,bool) ..\..\..\src\paragraph_pimpl.C 329 Assertion failed: end > start && end <= size() + 1 int __thiscall lyx::Paragraph:: Pimpl::eraseC

Qt/Mac and localization

2006-10-27 Thread Jean-Marc Lasgouttes
Bennett, I just stumbled on this. Is it something we should do? http://doc.trolltech.com/3.3/mac-differences.html#7-2 JMarc

Re: compile errors

2006-10-27 Thread Abdelrazak Younes
Peter Kümmel wrote: Back to start: It's just a reference initialization: int i0; int & i = i0; int & r1 = i; int & r2 = *(&i); ... Where's the problem? No problem per see. I just find it a bit ugly but I have no problem with it. Abdel.

Re: compile errors

2006-10-27 Thread Peter Kümmel
Peter Kümmel wrote: > Abdelrazak Younes wrote: >> Abdelrazak Younes wrote: >>> Peter Kümmel wrote: Edwin Leuven wrote: > 2 of 'em, see below. someone knows what i should do? thanks, ed. > > > 2>output_latex.C > 2>C:\Program Files\Microsoft Visual Studio 8\VC\include\ostream

Re: compile errors

2006-10-27 Thread Peter Kümmel
Jean-Marc Lasgouttes wrote: >> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: > > Peter> Jean-Marc Lasgouttes wrote: >>> Both are ugly. Again: can we use difftime? > > Peter> sorry have missed your difftime idea, yes it works: > > Peter> && abs(difftime(l.changetime, r.changetime)) <

Re: compile errors

2006-10-27 Thread Peter Kümmel
Abdelrazak Younes wrote: > Abdelrazak Younes wrote: >> Peter Kümmel wrote: >>> Edwin Leuven wrote: 2 of 'em, see below. someone knows what i should do? thanks, ed. 2>output_latex.C 2>C:\Program Files\Microsoft Visual Studio 8\VC\include\ostream(581) : error C2248: 'std

Re: compile errors

2006-10-27 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Peter Kümmel wrote: Edwin Leuven wrote: 2 of 'em, see below. someone knows what i should do? thanks, ed. 2>output_latex.C 2>C:\Program Files\Microsoft Visual Studio 8\VC\include\ostream(581) : error C2248: 'std::basic_ios<_Elem,_Traits>::basic_ios' : cannot access pri

Re: compile errors

2006-10-27 Thread Jean-Marc Lasgouttes
> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: Peter> Jean-Marc Lasgouttes wrote: >> Both are ugly. Again: can we use difftime? Peter> sorry have missed your difftime idea, yes it works: Peter> && abs(difftime(l.changetime, r.changetime)) < 300; I propose to use this, then. JMarc

Re: compile errors

2006-10-27 Thread Abdelrazak Younes
Peter Kümmel wrote: Jean-Marc Lasgouttes wrote: Both are ugly. Again: can we use difftime? sorry have missed your difftime idea, yes it works: && abs(difftime(l.changetime, r.changetime)) < 300; Confirmed. Abdel.

Re: CT changes

2006-10-27 Thread Abdelrazak Younes
Helge Hafting wrote: How about always merging changes that are next to each other and happen in the same editing session? Use the different timestamps for changes that are not adjacent, they are much more likely not related. One change is one change even if it took more than 5min to type it in.

Re: compile errors

2006-10-27 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Edwin Leuven wrote: Abdelrazak Younes wrote: do we need to cast lyx::time_type to ... ? No, the difference: sure, but that will have the same type no? Abdelraz

Re: compile errors

2006-10-27 Thread Abdelrazak Younes
Peter Kümmel wrote: Edwin Leuven wrote: 2 of 'em, see below. someone knows what i should do? thanks, ed. 2>output_latex.C 2>C:\Program Files\Microsoft Visual Studio 8\VC\include\ostream(581) : error C2248: 'std::basic_ios<_Elem,_Traits>::basic_ios' : cannot access private member declared in cl

Re: compile errors

2006-10-27 Thread Peter Kümmel
Jean-Marc Lasgouttes wrote: > > Both are ugly. Again: can we use difftime? sorry have missed your difftime idea, yes it works: && abs(difftime(l.changetime, r.changetime)) < 300; -- Peter Kümmel

Re: About multiple windows and typing speed

2006-10-27 Thread Enrico Forestieri
On Fri, Oct 27, 2006 at 09:58:01AM +0200, Jean-Marc Lasgouttes wrote: > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > Enrico> I have always stated that LyX/Qt/X11 is more snappy than > Enrico> LyX/Qt/Win. But this is true for 1.4, as LyX 1.3, using the > Enrico> same Qt/Win ver

Re: All LyX specific latex commands before user ones

2006-10-27 Thread Jean-Marc Lasgouttes
> "Laurent" == Laurent Grawet <[EMAIL PROTECTED]> writes: Laurent> On 27/10/2006 10:20, Jean-Marc Lasgouttes wrote: For example Laurent> I use \bsc command in the user latex commands. The \bsc Laurent> command is from babel package >> BTW, why does it make sense to use bsc over \textsc or LyX

Re: LyX & XeTeX

2006-10-27 Thread Peter Kümmel
Gour wrote: > Hi! > > With a great interest I'm reading discussion (from ml's archives, please > CC replies to this msessage) regarding LyX-1.5 which brings Unicode > support and I hope all the devs would be able to resolve everything and > bring new LyX successfully. > > > Today I read old copy

Re: compile errors

2006-10-27 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Edwin Leuven wrote: Abdelrazak Younes wrote: do we need to cast lyx::time_type to ... ? No, the difference: sure, but that will have the same type no? Abdelrazak> no, we need an explici

Re: compile errors

2006-10-27 Thread Jean-Marc Lasgouttes
> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: >> #include >> >> +#ifdef _MSC_VER +namespace std +{ + inline __int64 abs(__int64 i) >> + { + return _abs64(i); >> + } >> +} >> +#endif >> Peter> A other -but more ugly- solution is (at least in this file) Peter> #ifdef _MSC_VER

Re: compile errors

2006-10-27 Thread Jean-Marc Lasgouttes
> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: Peter> If there are no objections I check in this later today: Wait for Georg's comments. JMarc

Re: [patch] fix inputenc

2006-10-27 Thread Jean-Marc Lasgouttes
> "Helge" == Helge Hafting <[EMAIL PROTECTED]> writes: Helge> José Matos wrote: >> On Thursday 26 October 2006 4:03 pm, Georg Baum wrote: >>> That was my question, since I do not use docbook sgml and had no >>> idea whether it was something really obsolete or something still >>> in use. >>> >

Re: compile errors

2006-10-27 Thread Abdelrazak Younes
Edwin Leuven wrote: Abdelrazak Younes wrote: Edwin Leuven wrote: no, we need an explicit int (not unsigned long) because MSVC doesn't know how to choose between the different abs version (the one in math.h requires a double). i just wondered whether the difference between two lyx::time_type'

Re: LyX & XeTeX

2006-10-27 Thread Gour
On Fri, 2006-10-27 at 13:33 +0200, Helge Hafting wrote: > Well, I don't know what else is needed to support XeTeX, > but conversion from utf-8 to utf-16 is trivial. Well, this I know... > For testing purposes, consider exporting a latex file from lyx > (Menu export->latex or export->latex(pdfla

Re: Compile error GuiView.C:161

2006-10-27 Thread Peter Kümmel
Peter Kümmel wrote: > Helge Hafting wrote: >> g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -DQT_CLEAN_NAMESPACE >> -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -I../../../src >> -I../../../src/frontends -I../../../images -DQT_SHARED >> -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/

Re: Compile error GuiView.C:161

2006-10-27 Thread Peter Kümmel
Helge Hafting wrote: > g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -DQT_CLEAN_NAMESPACE > -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -I../../../src > -I../../../src/frontends -I../../../images -DQT_SHARED > -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui > -I../../../boost -

Re: compile errors

2006-10-27 Thread Peter Kümmel
Edwin Leuven wrote: > 2 of 'em, see below. someone knows what i should do? thanks, ed. > > > 2>output_latex.C > 2>C:\Program Files\Microsoft Visual Studio 8\VC\include\ostream(581) : > error C2248: 'std::basic_ios<_Elem,_Traits>::basic_ios' : cannot access > private member declared in class 'std:

Compile error GuiView.C:161

2006-10-27 Thread Helge Hafting
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -I../../../src -I../../../src/frontends -I../../../images -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I../../../boost -I../../../src/frontends/con

Re: LyX & XeTeX

2006-10-27 Thread Helge Hafting
Gour wrote: Hi! With a great interest I'm reading discussion (from ml's archives, please CC replies to this msessage) regarding LyX-1.5 which brings Unicode support and I hope all the devs would be able to resolve everything and bring new LyX successfully. Today I read old copy of TUGBoat jour

Re: CT changes

2006-10-27 Thread Helge Hafting
[EMAIL PROTECTED] wrote: Hi folks, I would like to inform you about two issues that I am going to address this evening. If you disagree, please complain loudly. Otherwise, I will continue the CT cleanup... 1. Change time Every change has a time. This time is used as a guidance for the user w

Re: Restarting the LyX documentation project

2006-10-27 Thread Helge Hafting
Georg Baum wrote: If there is more documentation in a other language it just becomes a item on the TODO list: translate to English. If that happens with several languges then it will be impossible to update the english version. For example I could do that if only the german version is newe

Re: compile errors

2006-10-27 Thread Peter Kümmel
Peter Kümmel wrote: > Jean-Marc Lasgouttes wrote: >> But are we sure that int is a wide enough type? > > there is no abs function for 64 bit ints, > so we must define it: > > Index: changes.C > === > --- changes.C (revision 15576)

Re: All LyX specific latex commands before user ones

2006-10-27 Thread Laurent Grawet
On 27/10/2006 10:20, Jean-Marc Lasgouttes wrote: > Laurent> For example I use \bsc command in the user latex commands. > Laurent> The \bsc command is from babel package > > BTW, why does it make sense to use bsc over \textsc or LyX' \noun style? > I use it for fancy headers. Here is the example

Re: compile errors

2006-10-27 Thread Peter Kümmel
Jean-Marc Lasgouttes wrote: > But are we sure that int is a wide enough type? there is no abs function for 64 bit ints, so we must define it: Index: changes.C === --- changes.C (revision 15576) +++ changes.C (working copy) @@ -18

Re: [PATCH] fix bugs 2877 and 1720

2006-10-27 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> On Oct 14, 2006, at 11:46 AM, Jean-Marc Lasgouttes wrote: >> This patch (against 1.4) should >> >> 1/ reimplement the OSX feature that greys-out unavailable actions >> when a dialog is active Bennett> This mostly works, though

Re: compile errors

2006-10-27 Thread Edwin Leuven
Abdelrazak Younes wrote: Edwin Leuven wrote: no, we need an explicit int (not unsigned long) because MSVC doesn't know how to choose between the different abs version (the one in math.h requires a double). i just wondered whether the difference between two lyx::time_type's is again a lyx::ti

Re: [patch] fix inputenc

2006-10-27 Thread Helge Hafting
Georg Baum wrote: Am Dienstag, 24. Oktober 2006 15:37 schrieb Jean-Marc Lasgouttes: "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> This patch resurrects inputenc support. It look great to me. The only missing link is being able to export latex names as fallback, bu

Re: [patch] fix inputenc

2006-10-27 Thread Helge Hafting
José Matos wrote: On Thursday 26 October 2006 4:03 pm, Georg Baum wrote: That was my question, since I do not use docbook sgml and had no idea whether it was something really obsolete or something still in use. I know that. :-) My point is that latex 2 is obsolete and I still see peo

Re: compile errors

2006-10-27 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Edwin Leuven wrote: >> Abdelrazak Younes wrote: do we need to cast lyx::time_type to ... ? >>> No, the difference: >> sure, but that will have the same type no? Abdelrazak> no, we need an explicit int (not unsi

Re: Question regarding SVN / code contribution

2006-10-27 Thread Jean-Marc Lasgouttes
> "Dov" == Dov Feldstern <[EMAIL PROTECTED]> writes: Dov> Thanks. I'll try to do this soon. Just to make sure I understand, Dov> 1.5.0svn is the main trunk, namely Dov> svn://svn.lyx.org/lyx/lyx-devel/trunk ? Yes. JMarc

Re: compile errors

2006-10-27 Thread Peter Kümmel
Edwin Leuven wrote: > 2 of 'em, see below. someone knows what i should do? thanks, ed. > > > 2>output_latex.C it's line 311: odocstream & os(change_encoding ? par_stream : ucs4);

Re: compile errors

2006-10-27 Thread Abdelrazak Younes
Edwin Leuven wrote: Abdelrazak Younes wrote: do we need to cast lyx::time_type to ... ? No, the difference: sure, but that will have the same type no? no, we need an explicit int (not unsigned long) because MSVC doesn't know how to choose between the different abs version (the one in math

Re: Question regarding SVN / code contribution

2006-10-27 Thread Dov Feldstern
Thanks. I'll try to do this soon. Just to make sure I understand, 1.5.0svn is the main trunk, namely svn://svn.lyx.org/lyx/lyx-devel/trunk ? Jean-Marc Lasgouttes wrote: In the case of this particular bug, I have targeted it to 1.4.4 already. Unfortunately I am a bit slow at processing bugs the

Re: [Fwd: export to latex]

2006-10-27 Thread Edwin Leuven
Edwin Leuven wrote: will commit soon... it's in

Re: LyX/Mac 1.5.0, Qt 4.2.1 Profile

2006-10-27 Thread José Matos
On Friday 27 October 2006 10:38 am, Jean-Marc Lasgouttes wrote: > That was my question: isn't the font supposed to have 2^16 (2^32?) > characters? I think that the present unicode standard is set for 2^21 (and presently we only have defined ~ 100 000 chars). This is just for the record, it i

Re: LyX/Mac 1.5.0, Qt 4.2.1 Profile

2006-10-27 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Do we really want to use a vector to cache unicode data? Abdelrazak> No, a vector to cache width (int) data. This is to replace Abdelrazak> the map font width, nothing to do with unicode. How large w

Re: compile errors

2006-10-27 Thread Edwin Leuven
Abdelrazak Younes wrote: do we need to cast lyx::time_type to ... ? No, the difference: sure, but that will have the same type no?

Re: compile errors

2006-10-27 Thread Edwin Leuven
Jean-Marc Lasgouttes wrote: What is time_t on your system? long if i am not mistaken: #ifndef _TIME32_T_DEFINED typedef _W64 long __time32_t; /* 32-bit time value */ #define _TIME32_T_DEFINED #endif #ifndef _TIME64_T_DEFINED #if _INTEGRAL_MAX_BITS >= 64 typedef __int64 __time64_t;

Re: compile errors

2006-10-27 Thread Abdelrazak Younes
Edwin Leuven wrote: Jean-Marc Lasgouttes wrote: "Edwin" == Edwin Leuven <[EMAIL PROTECTED]> writes: 2> changes.C ..\..\..\src\changes.C(52) : error C2668: 'abs' : 2> ambiguous call to overloaded function I guess the file misses a using std::abs; that was also what i thought, but it didn't s

Re: compile errors

2006-10-27 Thread Abdelrazak Younes
Edwin Leuven wrote: 2 of 'em, see below. someone knows what i should do? thanks, ed. I was output to ask the same. The first one seems difficult but the second one is easy (changes.C). Just need to cast to (int)... Abdel.

Re: LyX/Mac 1.5.0, Qt 4.2.1 Profile

2006-10-27 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> Do we really want to use a vector to cache unicode data? Abdelrazak> No, a vector to cache width (int) data. This is to replace Abdelrazak> the map font width, nothing to do with unicode. >> How large will this vector be? A

Re: compile errors

2006-10-27 Thread Jean-Marc Lasgouttes
> "Edwin" == Edwin Leuven <[EMAIL PROTECTED]> writes: Edwin> Jean-Marc Lasgouttes wrote: >>> "Edwin" == Edwin Leuven <[EMAIL PROTECTED]> writes: >> 2> changes.C ..\..\..\src\changes.C(52) : error C2668: 'abs' : 2> ambiguous call to overloaded function >> I guess the file misses a using st

Re: LyX/Mac 1.5.0, Qt 4.2.1 Profile

2006-10-27 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Also, we can probably use something better than a map (I'm sure qt has nice hash tables) to store metrics. Abdelrazak> Or Andre's vector solution. I'll check it out. Do we really want to use a vector t

Re: compile errors

2006-10-27 Thread Edwin Leuven
Jean-Marc Lasgouttes wrote: "Edwin" == Edwin Leuven <[EMAIL PROTECTED]> writes: 2> changes.C ..\..\..\src\changes.C(52) : error C2668: 'abs' : 2> ambiguous call to overloaded function I guess the file misses a using std::abs; that was also what i thought, but it didn't solve it do we need

Re: compile errors

2006-10-27 Thread Jean-Marc Lasgouttes
> "Edwin" == Edwin Leuven <[EMAIL PROTECTED]> writes: 2> changes.C ..\..\..\src\changes.C(52) : error C2668: 'abs' : 2> ambiguous call to overloaded function I guess the file misses a using std::abs; JMarc

compile errors

2006-10-27 Thread Edwin Leuven
2 of 'em, see below. someone knows what i should do? thanks, ed. 2>output_latex.C 2>C:\Program Files\Microsoft Visual Studio 8\VC\include\ostream(581) : error C2248: 'std::basic_ios<_Elem,_Traits>::basic_ios' : cannot access private member declared in class 'std::basic_ios<_Elem,_Traits>' 2>

Re: [Fwd: export to latex]

2006-10-27 Thread Edwin Leuven
Jean-Marc Lasgouttes wrote: The patch is wrong. If you do not add a \n, you should not increase "ret", which counts lines. thanks, update attached Other that that, I am not against such a patch. But of course, people who use large tables will not be happy either. It is a bit difficult to plea

Re: [Fwd: export to latex]

2006-10-27 Thread Jean-Marc Lasgouttes
> "Edwin" == Edwin Leuven <[EMAIL PROTECTED]> writes: Edwin> sometime ago i wrote: Original Message Edwin> Subject: export to latex Date: Tue, 02 May 2006 20:53:01 +0200 Edwin> From: Edwin Leuven <[EMAIL PROTECTED]> To: LyX Developers Edwin> Edwin> an old annoyance of mine

Re: LyX/Mac 1.5.0, Qt 4.2.1 Profile

2006-10-27 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> Also, we can probably use something better than a map (I'm sure qt >> has nice hash tables) to store metrics. Abdelrazak> Or Andre's vector solution. I'll check it out. Do we really want to use a vector to cache unicode data?

LyX & XeTeX

2006-10-27 Thread Gour
Hi! With a great interest I'm reading discussion (from ml's archives, please CC replies to this msessage) regarding LyX-1.5 which brings Unicode support and I hope all the devs would be able to resolve everything and bring new LyX successfully. Today I read old copy of TUGBoat journal about XeTe

[Fwd: export to latex]

2006-10-27 Thread Edwin Leuven
sometime ago i wrote: Original Message Subject: export to latex Date: Tue, 02 May 2006 20:53:01 +0200 From: Edwin Leuven <[EMAIL PROTECTED]> To: LyX Developers an old annoyance of mine is the following: when exporting to latex, each cell of a table is on its own line. with t

Re: LyX/Mac 1.5.0, Qt 4.2.1 Profile

2006-10-27 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> One more bit of information that might be useful: Shark can Bennett> show the amount of time specific lines of code use. Here is Bennett> what it shows in the relevant bit of QLPainter.C: Abdel, this sho

Re: About scrolling speed

2006-10-27 Thread Abdelrazak Younes
Peter Kümmel wrote: Abdelrazak Younes wrote: Andre Poenitz wrote: On Mon, Oct 23, 2006 at 06:33:16PM +0200, Abdelrazak Younes wrote: Hi Andre, Before Denmark, the UserGuide PageDown test was at 18 seconds. Now it is at 25 seconds. I hope you have some more code in store for speed ;-) ? The

Re: Question regarding SVN / code contribution

2006-10-27 Thread Jean-Marc Lasgouttes
> "Dov" == Dov Feldstern <[EMAIL PROTECTED]> writes: Dov> For example, the patch I submitted (for chars-transpose), which Dov> is now pointed to from bugzilla Dov> (http://bugzilla.lyx.org/show_bug.cgi?id=2939) --- should I be Dov> picking it up, or I guess it has to be someone with svn Dov> c

Re: About scrolling speed

2006-10-27 Thread Peter Kümmel
Abdelrazak Younes wrote: > Andre Poenitz wrote: >> On Mon, Oct 23, 2006 at 06:33:16PM +0200, Abdelrazak Younes wrote: >>> Hi Andre, >>> >>> Before Denmark, the UserGuide PageDown test was at 18 seconds. Now it >>> is at 25 seconds. I hope you have some more code in store for speed ;-) >> >> ? > >

Re: About scrolling speed

2006-10-27 Thread Abdelrazak Younes
Andre Poenitz wrote: On Mon, Oct 23, 2006 at 06:33:16PM +0200, Abdelrazak Younes wrote: Hi Andre, Before Denmark, the UserGuide PageDown test was at 18 seconds. Now it is at 25 seconds. I hope you have some more code in store for speed ;-) ? The decrease in speed was due to the new black s

Re: All LyX specific latex commands before user ones

2006-10-27 Thread Jean-Marc Lasgouttes
> "Laurent" == Laurent Grawet <[EMAIL PROTECTED]> writes: Laurent> For example I use \bsc command in the user latex commands. Laurent> The \bsc command is from babel package BTW, why does it make sense to use bsc over \textsc or LyX' \noun style? JMarc

Re: Silly window position

2006-10-27 Thread Abdelrazak Younes
Peter Kümmel wrote: Abdelrazak Younes wrote: Peter Kümmel wrote: Here a patch to recover from a silly window position. Is it portable? Yes, the used classes are NOT Windows specific: http://doc.trolltech.com/4.2/qdesktopwidget.html Then that's fine with me :-) Abdel.

  1   2   >