Re: [fpc-devel] International Free Software Forum

2006-04-24 Thread Paul Davidson

Good work and good luck from Canada!

On Apr 24, 2006, at 12:44, Felipe Monteiro de Carvalho wrote:


Hello,

I just arrived from the 7th International Free Software Forum on Porto
Alegre - Brazil.

A laboratory from the University of São Paulo, where I study, is
writing the report for the governament about the One Laptop Per Child
(olpc) project, so I (and others from my university) went there to
talk to the main developers of the project.

I talked with Jim Gettys (author of a big part of X11 and also
vice-president of the OLPC foundation) about the possible inclusion of
the Virtual Magnifying Glass on the project and he also said he was
thinking on having a vision test software as the first program to be
loaded by the computer and I will work to develop such software.

In short, I just thought you guys might want to know that there may be
some Free Pascal and some Lazarus software distributed with the One
Laptop Per Child project ;)

More info about the project here: http://www.laptop.org/

On that same forum I met some guys from Serpro, a brazilian
governamental TI enterprise, that use Lazarus a lot there and also
organize lectures about it. I will try to give a lecture about Free
Pascal / Lazarus on the next FISL.

--
Felipe Monteiro de Carvalho
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel




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


[fpc-devel] Tiger XCode

2006-04-12 Thread Paul Davidson
The Tiger 10.4.6 OS with XCode 2.2.1 does not seem to work with  
current FPC templates for Mac OS X.


Has anyone been able to compile a program using this combination.
The default code sample provided abort compilation with:

Command /bin/sh failed with exit code 1
rm: build/: is a directory
/bin/sh: line 1: PRODUCT_NAME: command not found


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


Re: [fpc-devel] Tiger XCode

2006-04-12 Thread Paul Davidson

ps.  Template PAscal Tool

On Apr 12, 2006, at 8:08, Paul Davidson wrote:

The Tiger 10.4.6 OS with XCode 2.2.1 does not seem to work with  
current FPC templates for Mac OS X.


Has anyone been able to compile a program using this combination.
The default code sample provided abort compilation with:

Command /bin/sh failed with exit code 1
rm: build/: is a directory
/bin/sh: line 1: PRODUCT_NAME: command not found


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



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


Re: [fpc-devel] Tiger XCode

2006-04-12 Thread Paul Davidson

2.1.1
and Thanks :)

On Apr 12, 2006, at 8:54, Dr. Karl-Michael Schindler wrote:


Hi all,

i haven't done so. but maybe I'll try during the next days. fpc  
2.1.1 or 2.0.2?


Am 12.04.2006 um 14:08 schrieb Paul Davidson:

The Tiger 10.4.6 OS with XCode 2.2.1 does not seem to work with  
current FPC templates for Mac OS X.


Has anyone been able to compile a program using this combination.
The default code sample provided abort compilation with:

Command /bin/sh failed with exit code 1
rm: build/: is a directory
/bin/sh: line 1: PRODUCT_NAME: command not found


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


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



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


[fpc-devel] Type definition

2006-03-04 Thread Paul Davidson
If there compelling reason why type definitions cannot be included in 
class/object definitions?

Make it mode FPC to keep folks happy :)

Quite often a type is defined in INTERFACE part, but only used within 
class/object defined in same unit.
1)  This means that type is public.  This is not always good thing in 
OOese.

2)  Unit must be specified in child's child's USE list.


P Davidson
Corax Networks Inc.
http://CoraxNetworks.com

IMPORTANT NOTICE:  This message is intended only for the use of the 
individual or entity to which it is addressed. The message may contain 
information that is privileged, confidential and exempt from disclosure 
under applicable law.  If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering 
the message to the intended recipient, you are notified that any 
dissemination, distribution or copying of this communication is 
strictly prohibited.  If you have received this communication in error, 
please notify Corax Networks immediately by email at 
[EMAIL PROTECTED]  Thank you.


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


Re: [fpc-devel] Type definition

2006-03-04 Thread Paul Davidson

unit aUnit;
interface
type
aType = ( at_First, at_aaa, at_bbb, at_Last );

aObj = class
aVar : aType



unit bUnit;
interface
uses aUnit;
type
bObj = class( aObj )


unit cUnit
interface
uses bUnit;
type
cObj = class( bObj )
implementation
aVar := at_Last;   --- ERROR!

The implementation of cUnit requires a USE aUnit; in order to compile 
since at_last is no longer visible.



On Mar 4, 2006, at 12:49, Micha Nelissen wrote:


On Sat, 4 Mar 2006 10:24:14 -0500
Paul Davidson [EMAIL PROTECTED] wrote:


Quite often a type is defined in INTERFACE part, but only used within
class/object defined in same unit.
1)  This means that type is public.  This is not always good thing in
OOese.
2)  Unit must be specified in child's child's USE list.


Can you elaborate on the second point ?

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



P Davidson
Corax Networks Inc.
http://CoraxNetworks.com

IMPORTANT NOTICE:  This message is intended only for the use of the 
individual or entity to which it is addressed. The message may contain 
information that is privileged, confidential and exempt from disclosure 
under applicable law.  If the reader of this message is not the 
intended recipient, or the employee or agent responsible for delivering 
the message to the intended recipient, you are notified that any 
dissemination, distribution or copying of this communication is 
strictly prohibited.  If you have received this communication in error, 
please notify Corax Networks immediately by email at 
[EMAIL PROTECTED]  Thank you.


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


Re: [fpc-devel] PR: Advocates needed

2006-01-19 Thread Paul Davidson


On Jan 19, 2006, at 11:06, Florian Klaempfl wrote:


Daniël Mantione wrote:


Hello,

Check this...

http://software.newsforge.com/article.pl?sid=06/01/09/1647217

... huge accounting program. Formerly propietary, now GPL, that is in 
need

from porting from Delphi to Free Pascal to become true free software.

The only problem is, they are not only considering Free Pascal,
but also Python.

Goal: convince the Turbocash project that Free Pascal is the best 
choice,

at least much better than Python.
- http://www.turbocash.co.za

It is big in the press, LWN mentions it as well:

http://lwn.net/Articles/168143/

Please check if it appears on other news sites and please guard the 
sites

mentioned for Pascal is a language for noobs-like trolling.


Does Python have any IDE comparable with lazarus?


Does Python run as fast as FPC?



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




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


[fpc-devel] Sun

2006-01-18 Thread Paul Davidson

Who is handling SPARC development?

P Davidson
http://CoraxNetworks.com

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


Re: [fpc-devel] Re: Cryptography class nedded ?

2005-11-18 Thread Paul Davidson

Thanks :)

On Nov 18, 2005, at 10:12, Jeff Pohlmeyer wrote:




Did some work getting SSL working for FPC.  Attached is unit that
exposes most of the functions required.  Tested with Darwin and 
Linux.



What about putting it in packages/extra? OpenSSL is quite common.



Just for kicks, I tried linking on windows with ssleay32.dll, but
apparently the crypto* functions don't show up in my DLL.

However, I did find a typo on line 142 of cSSL.pas:

procedure CryptoCleanupAllExData; cdecl; external'crypto' name 
'CRYPTO_cleanup_all_ex_data';



Should be:

procedure CryptoCleanupAllExData; cdecl; external Crypto name 
'CRYPTO_cleanup_all_ex_data';


( Use the const name instead of the literal )



 - Jeff


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



P Davidson

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


Re: [fpc-devel] Cryptography class nedded ?

2005-11-17 Thread Paul Davidson

Will alter the unit, and submit it tomorrow :)
Thanks

On Nov 17, 2005, at 16:06, Florian Klaempfl wrote:


Paul Davidson wrote:


Did some work getting SSL working for FPC.  Attached is unit that
exposes most of the functions required.  Tested with Darwin and Linux.


What about putting it in packages/extra? OpenSSL is quite common.






Hope this helps

On Nov 17, 2005, at 7:57, Christian Iversen wrote:


On Thursday 17 November 2005 13:18, Alexander Todorov wrote:


Hi folks,
can you tell if there is a good crypto class for FPC / Lazarus ?
What do you use for crypting your stuff ?
Any opinions are welcome.



I'd go for openssl. I know we have to implement crypto support at  
some

point
in Technetium, and I'd really look into that library. It seems
well-developed.

Writing a new, safe, crypto lib is _hard_.

--  
Regards,

Christian Iversen
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel



P Davidson
Corax Networks Inc.
http://CoraxNetworks.com


-- 
--


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


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



P Davidson

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


[fpc-devel] Inline

2005-11-09 Thread Paul Davidson
Noticed that Procedure fpc_AnsiStr_Decr_Ref (Var S : Pointer); is not 
inlined.

Tried it and it seems to work.

P Davidson
http://CoraxNetworks.com

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


Re: [fpc-devel] File locations

2005-11-08 Thread Paul Davidson

Thank you Michael

On Nov 8, 2005, at 14:16, Michael Van Canneyt wrote:


This is correct. Revision 1698 contains this fix.

The behaviour is now:
- If -o contains a path, it overrides any previous -FE.
  If -o does not contain a path, it leaves any -FE setting intact.
- If -FE is specified after -o, it will override the output path.

So

 -FEdir1 -odir2/binfile outputs in dir2
 -FEdir2 -obinfile  outputs in dir2
 -odir1/binfile -FEdir2 outputs in dir2

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



P Davidson
http://CoraxNetworks.com

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


Re: [fpc-devel] Darwin make failure

2005-09-23 Thread Paul Davidson

fpc/compiler/powerpc/units/powerpc-darwin does exist.


On Sep 23, 2005, at 7:10, Jonas Maebe wrote:



On 23 sep 2005, at 13:04, Paul Davidson wrote:


Darwin.
Checked out revision 1162.

cutils.pas(1203) Error: Can't create assembler file: 
powerpc/units/powerpc-darwin/cutils.s
cutils.pas(36,17) Fatal: There were 1 errors compiling module, 
stopping

cutils.pas(157,19) Fatal: Compilation aborted
make[5]: *** [ppcppc] Error 1


That probably means that the directory powerpc/units/powerpc-darwin 
does not exist. It should be automatically created by the Makefile (at 
least the units/powerpc-darwin part) if you use make all in the fpc 
dir or make cycle in the fpc/compiler dir.



Jonas

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



P Davidson

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