Re: [Lazarus] test

2021-06-10 Thread Larry Dalton via lazarus
Got it 

Sent from my iPhone

> On Jun 10, 2021, at 09:49, Marc Weustink via lazarus 
>  wrote:
> 
> test
> -- 
> ___
> lazarus mailing list
> lazarus@lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] test

2021-06-10 Thread Werner Pamler via lazarus

did receive the test

Am 10.06.2021 um 15:47 schrieb Marc Weustink via lazarus:

test

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] AutoSave does not save project file...

2021-06-10 Thread Juha Manninen via lazarus
On Thu, Jun 10, 2021 at 4:48 PM Bo Berglund via lazarus <
lazarus@lists.lazarus-ide.org> wrote:

> I have never ever looked at stuff that integrate within Lazarus itself so I
> could not fix it
>

Maybe it is time you look at such stuff. It may be an easy bug. A list of
file endings missing .lpr maybe.
DebugLn() lines are a good way to debug code which is part of the Lazarus
IDE.
This bug is not my "itch to scratch". Apparently it is yours. Please tell
us what you find by debugging.
Other people may get inspired to study the issue once you show you really
tried to solve it.
This is FOSS development, you know ...

Regards,
Juha
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Ping

2021-06-10 Thread Michael W. Vogel via lazarus

Now, this mail is arrived

Am 08.06.2021 um 19:43 schrieb Michael W. Vogel via lazarus:

Ping


--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Ping

2021-06-10 Thread Larry Dalton via lazarus
I’m still here 

Sent from my iPhone

> On Jun 10, 2021, at 09:49, Michael W. Vogel via lazarus 
>  wrote:
> 
> Ping
> -- 
> ___
> lazarus mailing list
> lazarus@lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] test

2021-06-10 Thread Marc Weustink via lazarus

test
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] AutoSave does not save project file...

2021-06-10 Thread Bo Berglund via lazarus
On Sun, 11 Apr 2021 11:29:36 +0200, Bo Berglund via lazarus
 wrote:

>I have installed AutoSave from the OnlinePackageManager on all of my numerous
>Lazarus installations and in general it works well.
>I started to do this following several Lazarus crashes where I lost modified
>code and had to try restoring from memory...
>
>However, when I write console (simple program) applications I have noted that
>AutoSave does not save the lpr file! And when looking closely the lpi file in
>GUI apps is also not saved.
>
>Since lpr is the only file in simple programs AutoSave does not help from
>disaster if a crash happens.
>Is there a way to configure or modify AutoSave so it also saves the main 
>project
>files?
>

Reviving this thread in order to find a solution (did not get a single reply).
--
I am relying heavily on AutoSave when programming in Lazarus on a remote
RaspberryPi via VNC connection. In this situation it happens way too often that
Lazarus suddenly just unloads from memory and I see a blank desktop.
Thanks to AutoSave in most cases I have just to start Lazarus again to be back
in business, at worst with the last 5 seconds of typing lost.

But that does not hold true if I am working in the lpr file because that is not
saved automatically!!!

It just happened to me again and it causes problems trying to re-create the last
hour or so of work done on this file. :(

So I would REALLY be happy if someone who understands the workings of AutoSave
can make it include the project file among the files saved by AutoSave!

I have never ever looked at stuff that integrate within Lazarus itself so I
could not fix it

For a console program maybe I should create a mainprogram.pas file and put
*everything* now located in the lpr file into that instead?
Just leave a bare minimum in the lpr file...
Pity to be forced to do that though.


-- 
Bo Berglund
Developer in Sweden

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus AutoSave package does not autosave all files....

2021-06-10 Thread Bo Berglund via lazarus
On Wed, 12 May 2021 00:06:50 +0200, Bo Berglund via lazarus
 wrote:

>Is there a way to make AutoSave save also the main project file?
>I have noted that when I build a more complex program I have an lpr (or dpr for
>Delphi compatibility) project file but if the project is a simple program the
>project file becomes a pas file.
>
>In both cases I have found that the AutoSave plug-in (available from OnLine
>Package Manager) does its job concerning the extra units in the project so when
>working on these there is regular disk saves happening.
>Not so with the dpr/lpr files or the pas file which contains the simple 
>program.
>
>Have I missed something here or is there some hidden config which has to be
>enabled to get it to save ALL files?

So I decided to move "everything" out of the lpr file and put the program itself
as a procedure in the new mainprogram.pas file instead.
Basically I now have an empty lpr file with this:

program Myprogram;

uses
  {$IFDEF UNIX}
cthreads,
baseunix,
  {$ENDIF} 
  mainprogram;

{Main program start}

{$R *.res}

begin
  MainProg;
end.

Everything that was in the lpr has moved to mainprogram.pas

Now I have a question regarding uses in the lpr file:

Whenever I create a new unit in Lazarus it puts its name into the lpr file uses
clause. Why does it do this? Is it required that all units used by the program
must be listed in the lpr file uses clause?

It seems to work anyway, I moved all of the uses from dpr into mainprogram.pas
and now Lazarus "Hints" that there are lots of units not used by
mainprogram.pas.

Why were these not hinted when they were in the lpr file?

Now at least I am not losing my code edits the next time Lazarus crashes on
me...
Autosaved every 5 seconds.

-- 
Bo Berglund
Developer in Sweden

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] FPC 3.2.2 released

2021-06-10 Thread Marco van de Voort via lazarus

Hello,

Finally, the Free Pascal 3.2.2 release is available from our servers and 
from sourceforge.


Changes that may break backwards compatibility will be documented at:
http://wiki.freepascal.org/User_Changes_3.2.2

For an overview of what is new see the summary below

The website has been updated for the major targets and work is still 
being done for the rest.


All downloads are available at the main FTP server and sourceforge.

https://sourceforge.net/projects/freepascal/files/

ftp://ftp.freepascal.org/pub/fpc/dist/3.2.2/

Enjoy!

The Free Pascal Compiler Team

 



    Free Pascal Compiler

    Version 3.2.2

** 



Free Pascal 3.2.2 is a minor release of the 3.2.x fixes branch. As such, it
contains mostly fixes of bugs discovered in the previous version, plus some
updates for included packages. In this case a new target was also 
backported

from trunk.

Please also see https://wiki.freepascal.org/User_Changes_3.2.2 for a list
of changes that may affect the behaviour of previously working code, and
how to cope with these changes.

The main highlights of this version:

Platforms:
  * New platform: aarch64-darwin
  * A new 32/64-bit combined installer for Windows.

Utilities:
  * fpcres provides support for compiling resources from *.rc files

Packages:
  * fcl-db extended with support for MySQL 8.0
  * fcl-passrc updates
  * pas2js updates
  * fpdoc updates
  * fcl-base includes new support for logging to StdOut and StdErr
  * rtl-extra includes improvements for Sockets


--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Ping

2021-06-10 Thread Michael W. Vogel via lazarus

Ping
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus