[fpc-pascal] Subversion server making hickups...

2009-11-24 Thread Torsten Bonde Christiansen

Hi.

For unknown reasons the svn2.freepascal.org subversion server seem to 
make hick-ups when I do an update. I get the error:


svn: Can't find a temporary directory: Internal error

This is only happening with the "svn2" server, not the regular 
svn.freepascal.org server??


Kind regards,
Torsten Bonde Christiansen.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Subversion server making hickups...

2009-11-24 Thread Vincent Snijders

Torsten Bonde Christiansen schreef:

Hi.

For unknown reasons the svn2.freepascal.org subversion server seem to 
make hick-ups when I do an update. I get the error:


svn: Can't find a temporary directory: Internal error

This is only happening with the "svn2" server, not the regular 
svn.freepascal.org server??




The disks on svn2.freepascal.org was full, I removed some old files, can you 
retry?

Vincent
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Subversion server making hickups...

2009-11-24 Thread Torsten Bonde Christiansen

Vincent Snijders wrote:


The disks on svn2.freepascal.org was full, I removed some old files, 
can you retry?

Great - working again!

Thanks.

-Torsten.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Escaping keywords

2009-11-24 Thread dmitry boyarintsev
Hello Developers

There's Delphi compatibility feature to escape keyword with "&" character.
Is there any way to turn the feature off or enable a hint or a note
about the escaped keyword used?

thanks,
dmitry
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Interfaces via implements keyword

2009-11-24 Thread Andrew Hall
This code is working correctly/logically - and the same as it does in Delphi...

When using "implements" you are directing that this property "Intf" provides 
the interface "IIntf1" for your host object "TClass2" - and in TClass2.Create 
you create object "O: TClass1" to implement interface "IIntf1".  Since "I1" 
requests the "IIntf1" interface, it is provided via "implements" and is 
therefore implemented by object "O".  

When "I2:=C2 as IIntf2;" is executed, there is no "implements" property for 
this interface, so C2.GetInterface returns an "IIntf2" interface which it 
implements itself - and therefore "I2.Print" prints 3.

When "I2:=I1 as IIntf2;" is executed, this calls O.GetInterface (as "O" is the 
implementing object) requesting "IIntf2", which O does support, so the returned 
"IIntf2" interface is still implemented by "O".  When calling "I2.Print", "O" 
as the implementing object returns 30.

When you comment out "implements", the only object implementing the interfaces 
you are working with is your main "C2" object - so 3 is the only value that can 
be returned.

Regards,

Andrew Hall.


On 22 Nov 09, at 04:24 , Denis Golovan wrote:

> I've got a non-obvious class hierarchy with interfaces involved.
> The problem is that, I thought "property ... implements ...;" construction 
> fully substitute for implementing interface methods in class itself, but now 
> it's just not true.
> I get different results in case implements is used and when it isn't.
> 
> If I comment implements implementation, my results are:
> TClassBase.Print 3
> TClassBase.Print 3
> TClassBase.Print 3
> 
> If I use implements, my results are:
> TClassBase.Print 3
> TClassBase.Print 3
> TClassBase.Print 30
> 
> See my example below.
> 
> I wonder if it is by design?
> I have similar bug posted on bug tracker under 
> http://bugs.freepascal.org/view.php?id=14842
> 

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal