Re: Compilation problem (was Re: r15029 - in /lyx-devel/trunk/src: buffer.C frontends/Work...

2006-09-20 Thread Abdelrazak Younes

Andre Poenitz wrote:

On Tue, Sep 19, 2006 at 10:40:46AM +0200, Abdelrazak Younes wrote:

Am I really the only one seeing the problem?

InsetMathXYArrow.C
..\..\..\..\src\mathed\InsetMathXYArrow.C(31) : error C2259: 
'InsetMathXYArrow' : cannot instantiate abstract class

due to following members:
'void InsetBase::metrics(MetricsInfo ,Dimension ) const' : is 


I certainly don't.


It was a CMake problem. Sorry for the noise.

Abdel.



Re: Compilation problem (was Re: r15029 - in /lyx-devel/trunk/src: buffer.C frontends/Work...

2006-09-20 Thread Abdelrazak Younes

Andre Poenitz wrote:

On Tue, Sep 19, 2006 at 10:40:46AM +0200, Abdelrazak Younes wrote:

Am I really the only one seeing the problem?

InsetMathXYArrow.C
..\..\..\..\src\mathed\InsetMathXYArrow.C(31) : error C2259: 
'InsetMathXYArrow' : cannot instantiate abstract class

due to following members:
'void InsetBase::metrics(MetricsInfo &,Dimension &) const' : is 


I certainly don't.


It was a CMake problem. Sorry for the noise.

Abdel.



Re: Compilation problem (was Re: r15029 - in /lyx-devel/trunk/src: buffer.C frontends/Work...

2006-09-19 Thread Abdelrazak Younes

Andre Poenitz wrote:

On Sun, Sep 17, 2006 at 09:16:42PM +0200, Abdelrazak Younes wrote:

I still have compilation problems:
Is anybody else seeing this? I am not sure of what the fix could be. 
Maybe you didn't commit everything Andre?


I commited everything under src/ as far as I can tell.

However, the modem connection got shutdown and svn was not able to
recover cleanly after that.

I tried afterwards again with a fresh checkout of src/mathed merged
with the changes that did not get commited in the first round.

The result compiled cleanly and afte an commit the following update was
'clean' leaving the impression that everything went well in the end.


Am I really the only one seeing the problem?

InsetMathXYArrow.C
..\..\..\..\src\mathed\InsetMathXYArrow.C(31) : error C2259: 
'InsetMathXYArrow' : cannot instantiate abstract class

due to following members:
'void InsetBase::metrics(MetricsInfo ,Dimension ) const' : is 
abstract
D:\devel\lyx\trunk\src\insets/insetbase.h(102) : see 
declaration of 'InsetBase::metrics'

'std::auto_ptr_Ty InsetBase::doClone(void) const' : is abstract
with
[
_Ty=InsetBase
]
D:\devel\lyx\trunk\src\insets/insetbase.h(432) : see 
declaration of 'InsetBase::doClone'
..\..\..\..\src\mathed\InsetMathXYArrow.C(110) : error C2660: 
'InsetBase::editing' : function does not take 0 arguments
..\..\..\..\src\mathed\InsetMathXYArrow.C(131) : error C2661: 
'lyx::frontend::Painter::text' : no overloaded function takes 3 arguments

InsetFormulaMacro.C
..\..\..\..\src\mathed\InsetFormulaMacro.C(52) : error C2653: 
'MathMacroTable' : is not a class or namespace name
..\..\..\..\src\mathed\InsetFormulaMacro.C(52) : error C3861: 'create': 
identifier not found
..\..\..\..\src\mathed\InsetFormulaMacro.C(66) : error C2259: 
'InsetFormulaMacro' : cannot instantiate abstract class

due to following members:
'std::auto_ptr_Ty InsetBase::doClone(void) const' : is abstract
with
[
_Ty=InsetBase
]
d:\devel\lyx\trunk\src\insets/insetbase.h(432) : see 
declaration of 'InsetBase::doClone'
..\..\..\..\src\mathed\InsetFormulaMacro.C(114) : error C2653: 
'MathMacroTable' : is not a class or namespace name
..\..\..\..\src\mathed\InsetFormulaMacro.C(114) : error C3861: 'create': 
identifier not found
..\..\..\..\src\mathed\InsetFormulaMacro.C(130) : error C2665: 
'font_metrics::width' : none of the 3 overloads could convert all the 
argument types
D:\devel\lyx\trunk\src\frontends/font_metrics.h(73): could be 
'int font_metrics::width(lyx::char_type,const LyXFont )'
D:\devel\lyx\trunk\src\frontends/font_metrics.h(79): or 'int 
font_metrics::width(const lyx::docstring ,const LyXFont )'

while trying to match the argument list '(std::string, LyXFont)'
..\..\..\..\src\mathed\InsetFormulaMacro.C(162) : error C2664: 'void 
lyx::frontend::Painter::text(int,int,const lyx::docstring ,const 
LyXFont )' : cannot convert parameter 3 from 'std::string' to 'const 
lyx::docstring '

Reason: cannot convert from 'std::string' to 'const lyx::docstring'
No user-defined-conversion operator available that can perform 
this conversion, or the operator cannot be called
..\..\..\..\src\mathed\InsetFormulaMacro.C(165) : error C2665: 
'font_metrics::width' : none of the 3 overloads could convert all the 
argument types
D:\devel\lyx\trunk\src\frontends/font_metrics.h(73): could be 
'int font_metrics::width(lyx::char_type,const LyXFont )'
D:\devel\lyx\trunk\src\frontends/font_metrics.h(79): or 'int 
font_metrics::width(const lyx::docstring ,const LyXFont )'

while trying to match the argument list '(std::string, LyXFont)'
..\..\..\..\src\mathed\InsetFormulaMacro.C(173) : error C2653: 
'MathMacroTable' : is not a class or namespace name
..\..\..\..\src\mathed\InsetFormulaMacro.C(173) : error C3861: 
'provide': identifier not found




Re: Compilation problem (was Re: r15029 - in /lyx-devel/trunk/src: buffer.C frontends/Work...

2006-09-19 Thread Edwin Leuven

Abdelrazak Younes wrote:

Am I really the only one seeing the problem?


i think you might need the attached...
Index: src/mathed/CMakeLists.txt
===
--- src/mathed/CMakeLists.txt	(revision 15058)
+++ src/mathed/CMakeLists.txt	(working copy)
@@ -10,9 +10,9 @@
 file(GLOB mathed_headers ${TOP_SRC_DIR}/src/mathed/*.h)
 
 list(REMOVE_ITEM mathed_sources
-	${TOP_SRC_DIR}/src/mathed/math_xyarrowinset.C
-	${TOP_SRC_DIR}/src/mathed/math_mboxinset.C
-	${TOP_SRC_DIR}/src/mathed/formulamacro.C)
+	${TOP_SRC_DIR}/src/mathed/InsetMathXYArrow.C
+	${TOP_SRC_DIR}/src/mathed/InsetMathMbox.C
+	${TOP_SRC_DIR}/src/mathed/InsetFormulaMacro.C)
 
 include_directories(${TOP_SRC_DIR}/src/mathed)
 


Re: Compilation problem (was Re: r15029 - in /lyx-devel/trunk/src: buffer.C frontends/Work...

2006-09-19 Thread Jean-Marc Lasgouttes
 Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes:

Abdelrazak Andre Poenitz wrote:
 On Sun, Sep 17, 2006 at 09:16:42PM +0200, Abdelrazak Younes wrote:
 I still have compilation problems:
 Is anybody else seeing this? I am not sure of what the fix could
 be. Maybe you didn't commit everything Andre?
  I commited everything under src/ as far as I can tell.
 
 However, the modem connection got shutdown and svn was not able to
 recover cleanly after that.
 
 I tried afterwards again with a fresh checkout of src/mathed merged
 with the changes that did not get commited in the first round.
 
 The result compiled cleanly and afte an commit the following update
 was 'clean' leaving the impression that everything went well in the
 end.

Abdelrazak Am I really the only one seeing the problem?

Could it be a problem of having two file names that differ only by
casing?

JMarc



Re: Compilation problem (was Re: r15029 - in /lyx-devel/trunk/src: buffer.C frontends/Work...

2006-09-19 Thread Abdelrazak Younes

Edwin Leuven wrote:

Abdelrazak Younes wrote:

Am I really the only one seeing the problem?


i think you might need the attached...


Ah...!! I thought CMake used exclusively the glob approach

Thanks, please commit.

Abdel.



Re: Compilation problem (was Re: r15029 - in /lyx-devel/trunk/src: buffer.C frontends/Work...

2006-09-19 Thread Edwin Leuven

Abdelrazak Younes wrote:

Edwin Leuven wrote:

Abdelrazak Younes wrote:

Am I really the only one seeing the problem?


i think you might need the attached...


Ah...!! I thought CMake used exclusively the glob approach

Thanks, please commit.


it's in...



Re: Compilation problem (was Re: r15029 - in /lyx-devel/trunk/src: buffer.C frontends/Work...

2006-09-19 Thread Andre Poenitz
On Tue, Sep 19, 2006 at 11:13:55AM +0200, Jean-Marc Lasgouttes wrote:
 Abdelrazak Am I really the only one seeing the problem?
 
 Could it be a problem of having two file names that differ only by
 casing?

Such problems usually occur with things checked in on Win* and checked
out on *nix. It's the other way round here...

Andre'


Re: Compilation problem (was Re: r15029 - in /lyx-devel/trunk/src: buffer.C frontends/Work...

2006-09-19 Thread Andre Poenitz
On Tue, Sep 19, 2006 at 10:40:46AM +0200, Abdelrazak Younes wrote:
 Am I really the only one seeing the problem?
 
 InsetMathXYArrow.C
 ..\..\..\..\src\mathed\InsetMathXYArrow.C(31) : error C2259: 
 'InsetMathXYArrow' : cannot instantiate abstract class
 due to following members:
 'void InsetBase::metrics(MetricsInfo ,Dimension ) const' : is 

I certainly don't.

Andre'


Re: Compilation problem (was Re: r15029 - in /lyx-devel/trunk/src: buffer.C frontends/Work...

2006-09-19 Thread Abdelrazak Younes

Andre Poenitz wrote:

On Sun, Sep 17, 2006 at 09:16:42PM +0200, Abdelrazak Younes wrote:

I still have compilation problems:
Is anybody else seeing this? I am not sure of what the fix could be. 
Maybe you didn't commit everything Andre?


I commited everything under src/ as far as I can tell.

However, the modem connection got shutdown and svn was not able to
recover cleanly after that.

I tried afterwards again with a fresh checkout of src/mathed merged
with the changes that did not get commited in the first round.

The result compiled cleanly and afte an commit the following update was
'clean' leaving the impression that everything went well in the end.


Am I really the only one seeing the problem?

InsetMathXYArrow.C
..\..\..\..\src\mathed\InsetMathXYArrow.C(31) : error C2259: 
'InsetMathXYArrow' : cannot instantiate abstract class

due to following members:
'void InsetBase::metrics(MetricsInfo &,Dimension &) const' : is 
abstract
D:\devel\lyx\trunk\src\insets/insetbase.h(102) : see 
declaration of 'InsetBase::metrics'

'std::auto_ptr<_Ty> InsetBase::doClone(void) const' : is abstract
with
[
_Ty=InsetBase
]
D:\devel\lyx\trunk\src\insets/insetbase.h(432) : see 
declaration of 'InsetBase::doClone'
..\..\..\..\src\mathed\InsetMathXYArrow.C(110) : error C2660: 
'InsetBase::editing' : function does not take 0 arguments
..\..\..\..\src\mathed\InsetMathXYArrow.C(131) : error C2661: 
'lyx::frontend::Painter::text' : no overloaded function takes 3 arguments

InsetFormulaMacro.C
..\..\..\..\src\mathed\InsetFormulaMacro.C(52) : error C2653: 
'MathMacroTable' : is not a class or namespace name
..\..\..\..\src\mathed\InsetFormulaMacro.C(52) : error C3861: 'create': 
identifier not found
..\..\..\..\src\mathed\InsetFormulaMacro.C(66) : error C2259: 
'InsetFormulaMacro' : cannot instantiate abstract class

due to following members:
'std::auto_ptr<_Ty> InsetBase::doClone(void) const' : is abstract
with
[
_Ty=InsetBase
]
d:\devel\lyx\trunk\src\insets/insetbase.h(432) : see 
declaration of 'InsetBase::doClone'
..\..\..\..\src\mathed\InsetFormulaMacro.C(114) : error C2653: 
'MathMacroTable' : is not a class or namespace name
..\..\..\..\src\mathed\InsetFormulaMacro.C(114) : error C3861: 'create': 
identifier not found
..\..\..\..\src\mathed\InsetFormulaMacro.C(130) : error C2665: 
'font_metrics::width' : none of the 3 overloads could convert all the 
argument types
D:\devel\lyx\trunk\src\frontends/font_metrics.h(73): could be 
'int font_metrics::width(lyx::char_type,const LyXFont &)'
D:\devel\lyx\trunk\src\frontends/font_metrics.h(79): or 'int 
font_metrics::width(const lyx::docstring &,const LyXFont &)'

while trying to match the argument list '(std::string, LyXFont)'
..\..\..\..\src\mathed\InsetFormulaMacro.C(162) : error C2664: 'void 
lyx::frontend::Painter::text(int,int,const lyx::docstring &,const 
LyXFont &)' : cannot convert parameter 3 from 'std::string' to 'const 
lyx::docstring &'

Reason: cannot convert from 'std::string' to 'const lyx::docstring'
No user-defined-conversion operator available that can perform 
this conversion, or the operator cannot be called
..\..\..\..\src\mathed\InsetFormulaMacro.C(165) : error C2665: 
'font_metrics::width' : none of the 3 overloads could convert all the 
argument types
D:\devel\lyx\trunk\src\frontends/font_metrics.h(73): could be 
'int font_metrics::width(lyx::char_type,const LyXFont &)'
D:\devel\lyx\trunk\src\frontends/font_metrics.h(79): or 'int 
font_metrics::width(const lyx::docstring &,const LyXFont &)'

while trying to match the argument list '(std::string, LyXFont)'
..\..\..\..\src\mathed\InsetFormulaMacro.C(173) : error C2653: 
'MathMacroTable' : is not a class or namespace name
..\..\..\..\src\mathed\InsetFormulaMacro.C(173) : error C3861: 
'provide': identifier not found




Re: Compilation problem (was Re: r15029 - in /lyx-devel/trunk/src: buffer.C frontends/Work...

2006-09-19 Thread Edwin Leuven

Abdelrazak Younes wrote:

Am I really the only one seeing the problem?


i think you might need the attached...
Index: src/mathed/CMakeLists.txt
===
--- src/mathed/CMakeLists.txt	(revision 15058)
+++ src/mathed/CMakeLists.txt	(working copy)
@@ -10,9 +10,9 @@
 file(GLOB mathed_headers ${TOP_SRC_DIR}/src/mathed/*.h)
 
 list(REMOVE_ITEM mathed_sources
-	${TOP_SRC_DIR}/src/mathed/math_xyarrowinset.C
-	${TOP_SRC_DIR}/src/mathed/math_mboxinset.C
-	${TOP_SRC_DIR}/src/mathed/formulamacro.C)
+	${TOP_SRC_DIR}/src/mathed/InsetMathXYArrow.C
+	${TOP_SRC_DIR}/src/mathed/InsetMathMbox.C
+	${TOP_SRC_DIR}/src/mathed/InsetFormulaMacro.C)
 
 include_directories(${TOP_SRC_DIR}/src/mathed)
 


Re: Compilation problem (was Re: r15029 - in /lyx-devel/trunk/src: buffer.C frontends/Work...

2006-09-19 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:

Abdelrazak> Andre Poenitz wrote:
>> On Sun, Sep 17, 2006 at 09:16:42PM +0200, Abdelrazak Younes wrote:
 I still have compilation problems:
>>> Is anybody else seeing this? I am not sure of what the fix could
>>> be. Maybe you didn't commit everything Andre?
>>  I commited everything under src/ as far as I can tell.
>> 
>> However, the modem connection got shutdown and svn was not able to
>> recover cleanly after that.
>> 
>> I tried afterwards again with a fresh checkout of src/mathed merged
>> with the changes that did not get commited in the first round.
>> 
>> The result compiled cleanly and afte an commit the following update
>> was 'clean' leaving the impression that everything went well in the
>> end.

Abdelrazak> Am I really the only one seeing the problem?

Could it be a problem of having two file names that differ only by
casing?

JMarc



Re: Compilation problem (was Re: r15029 - in /lyx-devel/trunk/src: buffer.C frontends/Work...

2006-09-19 Thread Abdelrazak Younes

Edwin Leuven wrote:

Abdelrazak Younes wrote:

Am I really the only one seeing the problem?


i think you might need the attached...


Ah...!! I thought CMake used exclusively the glob approach

Thanks, please commit.

Abdel.



Re: Compilation problem (was Re: r15029 - in /lyx-devel/trunk/src: buffer.C frontends/Work...

2006-09-19 Thread Edwin Leuven

Abdelrazak Younes wrote:

Edwin Leuven wrote:

Abdelrazak Younes wrote:

Am I really the only one seeing the problem?


i think you might need the attached...


Ah...!! I thought CMake used exclusively the glob approach

Thanks, please commit.


it's in...



Re: Compilation problem (was Re: r15029 - in /lyx-devel/trunk/src: buffer.C frontends/Work...

2006-09-19 Thread Andre Poenitz
On Tue, Sep 19, 2006 at 11:13:55AM +0200, Jean-Marc Lasgouttes wrote:
> Abdelrazak> Am I really the only one seeing the problem?
> 
> Could it be a problem of having two file names that differ only by
> casing?

Such problems usually occur with things checked in on Win* and checked
out on *nix. It's the other way round here...

Andre'


Re: Compilation problem (was Re: r15029 - in /lyx-devel/trunk/src: buffer.C frontends/Work...

2006-09-19 Thread Andre Poenitz
On Tue, Sep 19, 2006 at 10:40:46AM +0200, Abdelrazak Younes wrote:
> Am I really the only one seeing the problem?
> 
> InsetMathXYArrow.C
> ..\..\..\..\src\mathed\InsetMathXYArrow.C(31) : error C2259: 
> 'InsetMathXYArrow' : cannot instantiate abstract class
> due to following members:
> 'void InsetBase::metrics(MetricsInfo &,Dimension &) const' : is 

I certainly don't.

Andre'


Re: Compilation problem (was Re: r15029 - in /lyx-devel/trunk/src: buffer.C frontends/Work...

2006-09-18 Thread Andre Poenitz
On Sun, Sep 17, 2006 at 09:16:42PM +0200, Abdelrazak Younes wrote:
 I still have compilation problems:
 
 Is anybody else seeing this? I am not sure of what the fix could be. 
 Maybe you didn't commit everything Andre?

I commited everything under src/ as far as I can tell.

However, the modem connection got shutdown and svn was not able to
recover cleanly after that.

I tried afterwards again with a fresh checkout of src/mathed merged
with the changes that did not get commited in the first round.

The result compiled cleanly and afte an commit the following update was
'clean' leaving the impression that everything went well in the end.

Andre'


Re: Compilation problem (was Re: r15029 - in /lyx-devel/trunk/src: buffer.C frontends/Work...

2006-09-18 Thread Andre Poenitz
On Sun, Sep 17, 2006 at 09:16:42PM +0200, Abdelrazak Younes wrote:
> >I still have compilation problems:
> 
> Is anybody else seeing this? I am not sure of what the fix could be. 
> Maybe you didn't commit everything Andre?

I commited everything under src/ as far as I can tell.

However, the modem connection got shutdown and svn was not able to
recover cleanly after that.

I tried afterwards again with a fresh checkout of src/mathed merged
with the changes that did not get commited in the first round.

The result compiled cleanly and afte an commit the following update was
'clean' leaving the impression that everything went well in the end.

Andre'


Re: Compilation problem (was Re: r15029 - in /lyx-devel/trunk/src: buffer.C frontends/Work...

2006-09-17 Thread Abdelrazak Younes

Abdelrazak Younes wrote:

[EMAIL PROTECTED] wrote:

Author: poenitz
Date: Sun Sep 17 12:00:15 2006
New Revision: 15029

URL: http://www.lyx.org/trac/changeset/15029
Log:
cleanup after svn hang-up, #undef CursorShape. Should be compilable 
ganin n=

ow.


I still have compilation problems:


Is anybody else seeing this? I am not sure of what the fix could be. 
Maybe you didn't commit everything Andre?


Abdel.



Re: Compilation problem (was Re: r15029 - in /lyx-devel/trunk/src: buffer.C frontends/Work...

2006-09-17 Thread Abdelrazak Younes

Abdelrazak Younes wrote:

[EMAIL PROTECTED] wrote:

Author: poenitz
Date: Sun Sep 17 12:00:15 2006
New Revision: 15029

URL: http://www.lyx.org/trac/changeset/15029
Log:
cleanup after svn hang-up, #undef CursorShape. Should be compilable 
ganin n=

ow.


I still have compilation problems:


Is anybody else seeing this? I am not sure of what the fix could be. 
Maybe you didn't commit everything Andre?


Abdel.