Re: [fpc-pascal] how to customize so Pandroid would be usable from Lazarus for windows

2019-04-20 Thread Bo Berglund
On Sat, 20 Apr 2019 12:19:14 +0200, "Mgr. Janusz Chmiel"
 wrote:

>Who of you know The command which will allow Me to download source code 
>of Free Pascal compiler 3.0.0

The servers are now on line again, so on Linux do this to place the
sources in dev/fpc inside your home dir:


mkdir -p ~/dev/fpc
cd ~/dev/fpc
svn co https://svn.freepascal.org/svn/fpc/tags/release_3_0_0/ 3.0.0

This will get you the complete sources for FreePascal 3.0.0

The svn command on Windows is exactly the same but the creation of the
directory tree is not.


-- 
Bo Berglund
Developer in Sweden

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

[fpc-pascal] Website/Mantis back online

2019-04-20 Thread Michael Van Canneyt


Hi,

The website has been restored to working order. 
SVN should be working again, Mantis has been updated to the latest version.


We're still working on some features, for example emails are not yet being
sent.

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

Re: [fpc-pascal] CopyFile for FreePascal without Lazarus?

2019-04-20 Thread Graeme Geldenhuys
On 20/04/2019 10:23, Joost van der Sluis wrote:
> Lazutils could also be installed with Fppkg.

Very good to know - thanks for mentioning that Joost. Glad to see the
fppkg is finally being used after years lying dormant.


Regards,
  Graeme

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

[fpc-pascal] Record helper properties

2019-04-20 Thread Ryan Joseph
I feel like I may have asked this before but I can’t find anything on Google. 
Why doesn’t this work?

program test;

type
TRec = record
x: integer;
end;

type
THelper = record helper for TRec
property F: integer read x; // <<<—— ERROR: Unknown class field 
or method identifier "x"
end;

begin
end.

Regards,
Ryan Joseph

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

Re: [fpc-pascal] how to customize so Pandroid would be usable from Lazarus for windows

2019-04-20 Thread Bo Berglund
On Sat, 20 Apr 2019 12:19:14 +0200, "Mgr. Janusz Chmiel"
 wrote:

>Who of you know The command which will allow Me to download source code 
>of Free Pascal compiler 3.0.0

Normally available via svn from this URL:
https://svn.freepascal.org/svn/fpc/
select the tag you want and then just checkout or export from svn.

However, this weekend the team is doing updates on the server hosting
fpc and lazarus sources so svn is unavailable until they have
finished.

This is what Michael Van Canneyt sent out a while ago:


Hello,

This afternoon (for GMT+1) you will experience downtime in the website
of FPC,
The subversion service for FPC/Lazarus and the bugtracker.

The host machine needs maintenance and this will result in some
downtime of some services.

FTP, Lazarus website, wiki and mailinglists will be unaffected as they
are
hosted on different machines.

Michael.
-- 


-- 
Bo Berglund
Developer in Sweden

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

Re: [fpc-pascal] CopyFile for FreePascal without Lazarus?

2019-04-20 Thread Darius Blaszyk
Here’s another implementation using blockread and blockwrite. The main thing 
missing is setting the file attributes on *nix systems.

Rgds Darius 


https://github.com/daar/pmake/blob/master/pmake/pmake_utilities.pas

Verstuurd vanaf mijn iPhone

> Op 20 apr. 2019 om 11:23 heeft Joost van der Sluis  het 
> volgende geschreven:
> 
> Op 18-04-19 om 13:04 schreef James Richters:
>> How would I use this LazUtils Package with just FPC?   Is there way to 
>> download it by itself? Or would I have to Install Lazarus somewhere, go find 
>> the unit and copy it in with all my FPC Units?
> 
> Lazutils could also be installed with Fppkg. Just download the sources, 
> locate the fpmake.pp (components/lazutils) make sure that that directory is 
> the current directory and run 'fppkg install'.
> 
> Thereafter you can use the Lazutils-units in all your fpc-applications.
> 
> If you update your compiler (trunk of fixes), call 'fppkg fixbroken' to 
> re-compile the packages which are installed.
> 
> If you update to a really new version of the compiler, you have to install 
> the package again.
> 
> Regards,
> 
> Joost.
> 
> -- 
> http://lazarussupport.com - Your donation helps to push Free Pascal and 
> Lazarus forwards.
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] how to customize so Pandroid would be usable from Lazarus for windows

2019-04-20 Thread Mgr. Janusz Chmiel

Dear specialists,
Who of you know The command which will allow Me to download source code 
of Free Pascal compiler 3.0.0

Does somebody of you know The link for downloading this specific version?
I AM using Pandroid and compiled classes can not be converted to .dex 
format by none of The available Android build-tools versions.
Sure, I have found out, that compilation have been finished without 
errors when I have used latest stable PPCJVM and JVMANDROID mode.
But resulting .class files can not be converted to .dex format by 
Android buildtools.


Thank you very much for provided link.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] SVN/Webserver maintenance

2019-04-20 Thread Michael Van Canneyt


Hello,

This afternoon (for GMT+1) you will experience downtime in the website of FPC,
The subversion service for FPC/Lazarus and the bugtracker.

The host machine needs maintenance and this will result in some downtime of 
some services.

FTP, Lazarus website, wiki and mailinglists will be unaffected as they are
hosted on different machines.

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

Re: [fpc-pascal] CopyFile for FreePascal without Lazarus?

2019-04-20 Thread Joost van der Sluis

Op 18-04-19 om 13:04 schreef James Richters:

How would I use this LazUtils Package with just FPC?   Is there way to download 
it by itself? Or would I have to Install Lazarus somewhere, go find the unit 
and copy it in with all my FPC Units?


Lazutils could also be installed with Fppkg. Just download the sources, 
locate the fpmake.pp (components/lazutils) make sure that that directory 
is the current directory and run 'fppkg install'.


Thereafter you can use the Lazutils-units in all your fpc-applications.

If you update your compiler (trunk of fixes), call 'fppkg fixbroken' to 
re-compile the packages which are installed.


If you update to a really new version of the compiler, you have to 
install the package again.


Regards,

Joost.

--
http://lazarussupport.com - Your donation helps to push Free Pascal and 
Lazarus forwards.

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