Lazarus

Announcements => Lazarus => Topic started by: Martin_fr on August 06, 2019, 03:13:13 pm

Title: Lazarus Release 2.0.4
Post by: Martin_fr on August 06, 2019, 03:13:13 pm
The Lazarus team is glad to announce the release of Lazarus 2.0.4.

This release was built with FPC 3.0.4.
The previous release Lazarus 2.0.2 was built with FPC 3.0.4 as well.

Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org/Lazarus_2.0.0_release_notes
http://wiki.lazarus.freepascal.org/User_Changes_3.0.4

Here is the list of fixes for Lazarus 2.0.x:
http://wiki.freepascal.org/Lazarus_2.0_fixes_branch

The release is available for download on SourceForge:
http://sourceforge.net/projects/lazarus/files/

Choose your CPU, OS, distro and then the "Lazarus 2.0.4" directory.

Checksums for the SourceForge files:
http://www.lazarus-ide.org/index.php?page=checksums#2_0_4

Minimum requirements:

Windows:
  2k, XP, Vista, 7, 8, 8.1 and 10, 32 or 64bit.

FreeBSD/Linux:
  gtk 2.8 for gtk2, qt4.5 for qt, qt5.6 for qt5, 32 or 64bit.

Mac OS X:
  10.5 to 10.12; Carbon (32bit), Cocoa (64bit, beta), qt and qt5 (32 or
  64bit).

The svn tag is
http://svn.freepascal.org/svn/lazarus/tags/lazarus_2_0_4

For people who are blocked by SF, the Lazarus releases from SourceForge are mirrored at: ftp://ftp.freepascal.org/pub/lazarus/releases/
and later at (after some time for synchronization) http://mirrors.iwi.me/lazarus/

Title: Re: Lazarus Release 2.0.4
Post by: loaded on August 06, 2019, 03:24:59 pm
Thank you very much to the Lazarus team. The work you created is terrific.

A suggestion for those who have antivirus problems;

I'm running Lazarus on pure windows.
I install and run all external programs on the virtual operating system. Thus, I do not need to use any antivirus program.
In my opinion, this method is very safe and performance.
Title: Re: Lazarus Release 2.0.4
Post by: RAW on August 06, 2019, 03:32:25 pm
Thanks very much ... just downloading ...  :)
Title: Re: Lazarus Release 2.0.4
Post by: avk on August 06, 2019, 03:49:23 pm
Great, congratulations to Lazarus team.
Title: Re: Lazarus Release 2.0.4
Post by: fred on August 06, 2019, 04:09:07 pm
Thanks all!
While installing the trend micro AV kills it on AppData\Local\Temp\is-N39DC.tmp\lazarus-2.0.4-fpc-3.0.4-win32.tmp %)
Will try again tomorrow, hopefully trend micro is updated...
Title: Re: Lazarus Release 2.0.4
Post by: Martin_fr on August 06, 2019, 04:20:56 pm
Thanks all!
While installing the trend micro AV kills it on AppData\Local\Temp\is-N39DC.tmp\lazarus-2.0.4-fpc-3.0.4-win32.tmp %)
Will try again tomorrow, hopefully trend micro is updated...
Sorry to hear. All Windows installers were tested before https://www.virustotal.com/gui/file/3045aeeff9efbd7bc470b2c8cb82121cd9fa54ef98999b7b0e37a93e9257bd79/detection

For those within the file size restrictions, there are also results at https://metadefender.opswat.com
Note that occasionally one of the scanners may give a "generic" warning.

You can find each installer by using the checksums. (published on our homepage)
You can checksum your download using the Microsoft fciv tool https://support.microsoft.com/en-gb/help/841290/availability-and-description-of-the-file-checksum-integrity-verifier-u
Microsoft also supplies a powershell variant that can do sha-256
Title: Re: Lazarus Release 2.0.4
Post by: LazProgger on August 06, 2019, 05:38:18 pm
Thank you very much for your great work!

I have not found a download for macOS/Cocoa. Will there be one?

I have tried to build the IDE with widgettype=cocoa and target cpu=x86_64 and it just worked to compile my first cocoa app! Very good work!

For beginners, who are not aware of setting those parameters, a direct download of a cocoa installer would be nice, especially because Apple will drop the cocoa support.
Title: Re: Lazarus Release 2.0.4
Post by: af0815 on August 06, 2019, 05:55:32 pm
AV Problem: fpc.exe, ppc386.exe and fpres.exe are often send by my avira installation to the cloud for checking. Specially after a make run. In this time the execution is blocked, after few second it is running again without a problem. This was trigger by the heurastic module of my AV-Prg.

So maybe other AV found this prg inside of the installer and block/delete this. In the past i had some trouble with Avira, but i sent them the files and it was accepted as positive false and the next releases are working without an issue. (BTW: I have an payed AV-Account).

----
Have your AV an quarantine area ? If yes, look if you can unlock the file or sent to the AV, so they can detect a positive false.
Title: Re: Lazarus Release 2.0.4
Post by: RAW on August 06, 2019, 06:28:28 pm
I will never understand why so many people bother themselves with these AV-Bullshit-Tools. What is the reason for that? More security? Is everything more secure since we deal with this kind of stupid software? Are all the problems gone? They say you need to use the lastest AV-software and use the lastet updates for all programs and then everything is fine! Yes, really? "Some" people should learn to really use their eyes ... Is everything saver since people do penetration testing all the time? Is that really the case? Where can I see this fantastic result?

There are only two things that are gone: time and money ...


I'm so sorry  :P
Title: Re: Lazarus Release 2.0.4
Post by: ASBzone on August 06, 2019, 08:38:23 pm
I will never understand why so many people bother themselves with these AV-Bullshit-Tools. What is the reason for that? More security? Is everything more secure since we deal with this kind of stupid software? Are all the problems gone? They say you need to use the lastest AV-software and use the lastet updates for all programs and then everything is fine! Yes, really? "Some" people should learn to really use their eyes ... Is everything saver since people do penetration testing all the time? Is that really the case? Where can I see this fantastic result?

There are only two things that are gone: time and money ...


I'm so sorry  :P

You may see no value in anti-virus / anti-malware tools, but I have seen many a malicious software deployments blocked by the use of these tools.

And I've seen people who felt that they didn't need such a tool, lose significant time and money to ransomware attacks.
Title: Re: Lazarus Release 2.0.4
Post by: ASBzone on August 06, 2019, 08:40:07 pm
AV Problem: fpc.exe, ppc386.exe and fpres.exe are often send by my avira installation to the cloud for checking. Specially after a make run. In this time the execution is blocked, after few second it is running again without a problem. This was trigger by the heurastic module of my AV-Prg.

So maybe other AV found this prg inside of the installer and block/delete this. In the past i had some trouble with Avira, but i sent them the files and it was accepted as positive false and the next releases are working without an issue. (BTW: I have an payed AV-Account).

----
Have your AV an quarantine area ? If yes, look if you can unlock the file or sent to the AV, so they can detect a positive false.

You are well advised to exempt the folder (in your AV) where your compiler operates.  That compilation behavior will almost always look sketchy to heuristic engines, because it is very similar to what many modern malware apps do.
Title: Re: Lazarus Release 2.0.4
Post by: ASBzone on August 06, 2019, 08:41:12 pm
The Lazarus team is glad to announce the release of Lazarus 2.0.4.

This release was built with FPC 3.0.4.
The previous release Lazarus 2.0.2 was built with FPC 3.0.4 as well.


Thanks for the hard work, team...
Title: Re: Lazarus Release 2.0.4
Post by: nouzi on August 06, 2019, 09:14:32 pm
Thanks for all Lazarus team and freepascal team  O:-) O:-)
Title: Re: Lazarus Release 2.0.4
Post by: 440bx on August 06, 2019, 10:18:55 pm
First, thanks go to the Lazarus team for all their efforts. 

I don't want to go to any great extent about AVs in this thread, since it is obviously not about AVs but, they are useful for "joe average".  In a properly configured machine, they are useless and just a hindrance.
Title: Re: Lazarus Release 2.0.4
Post by: zoltanleo on August 06, 2019, 11:50:25 pm
Guys, you're the best!  8-)
Title: Re: Lazarus Release 2.0.4
Post by: Oscar Vazquez on August 06, 2019, 11:51:30 pm

Gracias por el enorme esfuerzo y por esta nueva versión.

saludos desde México.



https://sites.google.com/site/radlazarusmx/
Title: Re: Lazarus Release 2.0.4
Post by: VTwin on August 06, 2019, 11:57:14 pm
Many thanks and congratulations to the team. I have not yet installed 2.0.4, but very much appreciate the hard work and continued evolution of Lazarus.
Title: Re: Lazarus Release 2.0.4
Post by: VTwin on August 07, 2019, 12:05:39 am
Thank you very much for your great work!

I have not found a download for macOS/Cocoa. Will there be one?

I have tried to build the IDE with widgettype=cocoa and target cpu=x86_64 and it just worked to compile my first cocoa app! Very good work!

For beginners, who are not aware of setting those parameters, a direct download of a cocoa installer would be nice, especially because Apple will drop the cocoa support.

I was also hoping for the direct download of a Cocoa version, unfortunately not yet. In the mean time, all new users should check in here: 

https://forum.lazarus.freepascal.org/index.php/board,28.0.html

Many people are willing to help get folks up and running in Cocoa. While requiring some additional work installing, it is very stable and usable.
Title: Re: Lazarus Release 2.0.4
Post by: Zath on August 07, 2019, 01:56:11 am
Thanks for this latest version.

I uninstalled my older version completely and deleted the folder yet this totally new install shows me as having OPM installed packages.
UOS shows as Yes and BGRABitmap as partially.
I don't have these as component tabs in the IDE of 2.04.

I installed the latest 2.04 r61665 64bit. on W10 Pro.

Title: Re: Lazarus Release 2.0.4
Post by: Martin_fr on August 07, 2019, 02:25:18 am
I uninstalled my older version completely and deleted the folder yet this totally new install shows me as having OPM installed packages.
UOS shows as Yes and BGRABitmap as partially.
I don't have these as component tabs in the IDE of 2.04.

I installed the latest 2.04 r61665 64bit. on W10 Pro.

Lazarus stores it config in the user profile.
On Win that is C:\Users\USERNAME\AppData\Local\lazarus
On Linux that is /home/username/.lazarus

For 2ndary installs the folder can be chosen.

The installer has an option to clear that data.


So the IDE will see the config, and OPM may see what used to be installed.
The component tabs are missing, because "installs" must be compiled into the IDE, but the new IDE does not have them....
They probably will be there once you rebuild the IDE.
Title: Re: Lazarus Release 2.0.4
Post by: JanRoza on August 07, 2019, 08:30:31 am
Thanks guys!
Installed the new version and all works like before.
I installed 2.04 over the old 2.02 version after making a backup of the 2.02 folder, then once rebuild the IDE and all settings and components were back again.
For me that's the easiest way on a Windows system to get up and running without too much work.

Title: Re: Lazarus Release 2.0.4
Post by: chenyuchih on August 07, 2019, 08:43:46 am
Thank you so much the lazarus team!

I'll give it a try ASAP
Title: Re: Lazarus Release 2.0.4
Post by: fred on August 07, 2019, 03:20:04 pm
@Martin_fr: I had also tested it with VirusTotal.
Tried today and same message from trend micro.
I have asked for the temporary AV unload code because I could not install the old 2.0.2 back, same error.
I'm sure I (eventually) get the code and then will install Lazarus again :)
Title: Re: Lazarus Release 2.0.4
Post by: Zath on August 07, 2019, 04:31:58 pm
I uninstalled my older version completely and deleted the folder yet this totally new install shows me as having OPM installed packages.
UOS shows as Yes and BGRABitmap as partially.
I don't have these as component tabs in the IDE of 2.04.

I installed the latest 2.04 r61665 64bit. on W10 Pro.

Lazarus stores it config in the user profile.
On Win that is C:\Users\USERNAME\AppData\Local\lazarus
On Linux that is /home/username/.lazarus

For 2ndary installs the folder can be chosen.

The installer has an option to clear that data.


So the IDE will see the config, and OPM may see what used to be installed.
The component tabs are missing, because "installs" must be compiled into the IDE, but the new IDE does not have them....
They probably will be there once you rebuild the IDE.

Thanks for your response.
I'll locate the info and try again.
Title: Re: Lazarus Release 2.0.4
Post by: jamie on August 07, 2019, 08:39:23 pm
If you had existing components installed before they will be marked for install in the left panel of the package list..

  Perform a IDE rebuild and they will install on the tabs.
Title: Re: Lazarus Release 2.0.4
Post by: vfclists on August 08, 2019, 12:37:02 am
I have been away for a while, but will be returning soon.

Congratulations.
Title: Re: Lazarus Release 2.0.4
Post by: Zath on August 08, 2019, 01:07:19 am
I cleared away all the AppData stuff and started again.
Worked perfectly this time.

This version seems to load components onto a form quicker than earlier versions. This is one of the main noticeable differences between Delphi and Lazarus IDE.
Title: Re: Lazarus Release 2.0.4
Post by: VTwin on August 08, 2019, 04:47:06 am
So far so good. I installed 2.0.4 on Windows 7 and Ubuntu in VirtualBox. Everything seems great. I'm still running trunk on Mac. Thanks for the excellent work.
Title: Re: Lazarus Release 2.0.4
Post by: fred on August 08, 2019, 11:20:02 am
Finally installed 2.0.4 after unloading the AV, works  8-)
Title: Re: Lazarus Release 2.0.4
Post by: carondaniel1957 on August 08, 2019, 12:56:13 pm
dependancy cannot be met
Title: Re: Lazarus Release 2.0.4
Post by: VTwin on August 08, 2019, 02:42:43 pm
dependancy cannot be met

Did you install Free Pascal fpc and fpc source? Please include your operating system when asking a question.
Title: Re: Lazarus Release 2.0.4
Post by: jamie on August 08, 2019, 05:10:55 pm
I had some issues with my Windows Defender, Smart screen which I have turned off but it's on anyways. it kept fighting me all the way while getting it to install but this was the 64 bit release.

 The 32 bit release I had no issues.

 Is the 64 bit Lazarus release now a 64 bit binary?
Title: Re: Lazarus Release 2.0.4
Post by: Martin_fr on August 08, 2019, 05:46:15 pm
Inno setup has a flag, so the installer will give an error if you try to install on a 32 bit system. This flag has been enabled for the 64bit installer. Though I am not sure if that was merged to 2.0.x or if it is trunk only.

Otherwise the installer should still be the same (as previous 2.0.x). Compared to much older installers the version of inno setup was also updated. (not sure when exactly).

What are the exact issues?
Inno setup should
- extract all files
- at the end run fpcmkcfg.exe to create your fpc.cfg

Obviously the compiled files differ. Different bit patterns that could (falsely) match a virus sig.


Title: Re: Lazarus Release 2.0.4
Post by: winni on August 08, 2019, 06:30:10 pm
Hi

Lazarus 2.0.4-1.1 for x86_64 just arrived as rpm with a Suse Tumbleweed update.

Thanx to the Lazarus team!

Winni


Title: Re: Lazarus Release 2.0.4 Thank You very mutch...
Post by: R.W.Blennerhed on August 09, 2019, 02:28:17 am
Best regards
Robert W.Blennerhed :)
Title: Re: Lazarus Release 2.0.4
Post by: jwdietrich on August 10, 2019, 06:54:33 am
On the Mac, it is important to install FPC 3.0.4a (as it is also available in the download section) first. Then it works like a charm. :)
Title: Re: Lazarus Release 2.0.4
Post by: patyi on August 10, 2019, 04:41:10 pm
Hi everybody !

I've been trying to migrate from Lazarus 1.8.5 to a newer one for a while, but I still have some minor issues. Today, for example, I tried 2.0.5, which worked fine until a report was printed. The application did nothing here without any error message. In the editor, a preview window of FortesReport CE indicates an Access violation error. Can anyone tell me that Lazarus 2.0.5 Linux 64bit is really a problem with FortesReport CE ? The FortesReport CE was installed from OPM.

Xubuntu 18.0.4 LTS 64bit, FPC 3.0.5, Lazarus 2.0.5 64bit installed with FpcUpDelux (FPC Fixes 3, Lazarus Fixes 2).
Title: Re: Lazarus Release 2.0.4
Post by: carondaniel1957 on August 11, 2019, 02:21:36 pm
Did you install Free Pascal fpc and fpc source? Please include your operating system when asking a question.
« Last Edit: August 08, 2019, 02:44:31 pm by VTwin »

Free Pascal and Free pc-source has been installed since  Lazarus 18.04

I am using Ubuntu 19.04
Title: Re: Lazarus Release 2.0.4
Post by: piola on August 12, 2019, 10:31:05 pm
I just want to say thanks for fixing the "create directory" bug when working with root directories. It was quite an annoyance ;D

I really appreciate the great work! Please keep going on!
Title: Re: Lazarus Release 2.0.4
Post by: laguna on August 14, 2019, 05:46:07 pm
Not run in Catalina Beta 5 - Mac OSX

Thanks
Title: Re: Lazarus Release 2.0.4
Post by: nesquik on August 16, 2019, 03:24:54 pm
... Different bit patterns that could (falsely) match a virus sig.
I think it's because the installer now installs/removes openssl libraries to the system32 folder. Installing it to lazarus' folder instead may clear pass the anti-virus heuristics.
Title: Re: Lazarus Release 2.0.4
Post by: ThierryJ on August 17, 2019, 01:42:10 pm
I have rediscovered Lazarus and fpc lastly. You are doing a  fantastic job. I am using Lazarus on à Windows 7-64 virtual machine (VirtualBox on a Mac), so that I have no problem with the debugger. It's a perfect match.
I have ben using Delphi since its inception until it became really to expensive for my needs, now I would I have switched years before.
Thank you guys, in brief.
Title: Re: Lazarus Release 2.0.4
Post by: Martin_fr on August 17, 2019, 02:18:07 pm
(VirtualBox on a Mac), so that I have no problem with the debugger. It's a perfect match.

You can setup the Lazarus for Mac to use lldb. This should work out of the box. It will be a bit slower though.
https://forum.lazarus.freepascal.org/index.php/topic,42869.0.html

lldb comes with the Apple developer tools. So it should be on your system, and it should be code signed by Apple itself.
Title: Re: Lazarus Release 2.0.4
Post by: totya on August 17, 2019, 05:40:00 pm
Perhaps if I can finally to use the lhelp... copy function not working long time ago on selected text... I got a full text on the page. Win 7 x64.

Lazarus Fixes branch via fpcupdeluxe + built in help system checked.
Title: Re: Lazarus Release 2.0.4
Post by: wp on August 17, 2019, 06:03:49 pm
I think I had fixed copying from IproPanel to the clipboard a long time ago. Obviously some issues slipped through...
Title: Re: Lazarus Release 2.0.4
Post by: del on September 06, 2019, 12:49:23 pm
wow Wow WOW WOW !!!!!  :D :D :D

I got away from Lazarus / FPC for about a year and got immersed in C++, OpenCV, Visual Studio, CodeBlocks, Geany, etc. But I just learned git and I have a ton of existing pascal code that I'm gonna need RIGHT NOW (no time to translate into C++) so I thought "what the heck". I just downloaded the three deb packages from Source Forge and blammo everything installed quickly and perfectly. I'd forgotten how FRICKIN COOL Lazarus was. I'm gonna have some FUN this weekend - thanks for all your great work !!!
Title: Re: Lazarus Release 2.0.4
Post by: eastorwest on September 07, 2019, 09:43:38 am
Thanks team with new Lazarus release.
I still have problem with TrayIcon on my XUbuntu (XFCE Ubuntu) with Lazarus 2.0.4
https://forum.lazarus.freepascal.org/index.php/topic,45062.msg328863.html#msg328863
Title: Re: Lazarus Release 2.0.4
Post by: dbannon on September 07, 2019, 11:05:41 am
eastorwest, have you read https://wiki.freepascal.org/How_to_use_a_TrayIcon ?

There are a number of issues with TrayIcon on Linux that you must understand. In XUbuntu, I'd be particularly careful if your OS has been updated.  I 'think' you should not suffer the Gnome 3 issues.

Please open a new forum thread, the thread about release is not a great place to discuss general problems. I would suggest Operating Systems->Linux

Davo