Recent

Author Topic: Lazarus Release 2.0.8  (Read 32020 times)

Muso

  • New Member
  • *
  • Posts: 19
Re: Lazarus Release 2.0.8
« Reply #15 on: April 18, 2020, 03:18:19 pm »
There are also snapshot builds for anyone who wants to test with fpc 3.2 RC/fixes: https://sourceforge.net/projects/lazarus-snapshots/files/

I want to try this out but SourceForge tells me that the files here do not exist:
https://sourceforge.net/projects/lazarus-snapshots/files/Window%2064/2020-04%20lazarus-2.0.8-fpc-3.2.0_fixes-44680/

Quote
The "/Window 64/2020-04 l..beta-44680-win64.exe" file could not be found or is not available.  Please select another file

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 6368
    • wiki
Re: Lazarus Release 2.0.8
« Reply #16 on: April 18, 2020, 03:39:40 pm »
Can you try again please?

I tried 10 minutes ago, and at first got the same error. Then I came back to report to sourceforge, but tested again, and now they work (for me)


Sourceforge appears to still migrate the file to some of its mirrors (only 6 mirrors ready yet). No idea if that is related.

If they still do not work in 24 hours, then please ping again, and I file a report with Sourceforge.

Muso

  • New Member
  • *
  • Posts: 19
Re: Lazarus Release 2.0.8
« Reply #17 on: April 18, 2020, 03:45:23 pm »
Can you try again please?

Done and now I get the file. So problem solved.

lazdeveloper

  • Jr. Member
  • **
  • Posts: 61
Re: Lazarus Release 2.0.8
« Reply #18 on: April 19, 2020, 01:05:11 am »
I always thank the lazarus team for their ongoing nice work.
Many thanks again

ASBzone

  • Sr. Member
  • ****
  • Posts: 364
  • Automation leads to relaxation...
    • BrainWaveCC Utilities
Re: Lazarus Release 2.0.8
« Reply #19 on: April 19, 2020, 05:46:30 am »
The Lazarus team is glad to announce the release of Lazarus 2.0.8.

This release was built with FPC 3.0.4.


Congrats, team, and thank you very much.
-ASB: https://www.BrainWaveCC.com

Lazarus v2.0.9 r63452 / FPC v3.2.1-beta-r45705 (via FpcUpDeluxe) -- Windows 64-bit install w/32-bit cross-compile
Primary System: Windows 10 Pro x64, Version 2004 (Build 19041.264)
Other Systems: Windows 10 Pro x64, Version 1909 or greater

Zath

  • Sr. Member
  • ****
  • Posts: 352
Re: Lazarus Release 2.0.8
« Reply #20 on: April 19, 2020, 12:48:59 pm »
Basic form.
TBitButton, Timage, TOpenDialog.

Basic code in the button click to use the dialog.
All fine.

Deleted the BitButton off the form and replaced with TButton.
It compiles and runs, but I get no errors about not finding TBitButton, do I want to remove the  …..

Code: Pascal  [Select][+][-]
  1. unit Unit1;
  2.  
  3. {$mode objfpc}{$H+}
  4.  
  5. interface
  6.  
  7. uses
  8.   Classes, SysUtils, Forms, Controls, Graphics, Dialogs, Buttons, ExtCtrls,
  9.   StdCtrls;
  10.  
  11. type
  12.  
  13.   { TForm1 }
  14.  
  15.   TForm1 = class(TForm)
  16.     Button1: TButton;
  17.     Image1: TImage;
  18.     OpenDialog1: TOpenDialog;
  19.     procedure BitBtn1Click(Sender: TObject);
  20.     procedure Button1Click(Sender: TObject);
  21.   private
  22.  
  23.   public
  24.  
  25.   end;
  26.  
  27. var
  28.   Form1: TForm1;
  29.  
  30. implementation
  31.  
  32. {$R *.lfm}
  33.  
  34. { TForm1 }
  35.  
  36. procedure TForm1.BitBtn1Click(Sender: TObject);
  37. begin
  38.   OpenDialog1.Execute;
  39.  
  40.   if (OpenDialog1.Files.Count = 1) and (FileExists(OpenDialog1.FileName)) then
  41.   begin
  42.     Image1.Picture.LoadFromFile(OpenDialog1.FileName);
  43.   end;
  44. end;
  45.  
  46. procedure TForm1.Button1Click(Sender: TObject);
  47. begin
  48.   OpenDialog1.Execute;
  49.  
  50.   if (OpenDialog1.Files.Count = 1) and (FileExists(OpenDialog1.FileName)) then
  51.   begin
  52.     Image1.Picture.LoadFromFile(OpenDialog1.FileName);
  53.   end;
  54.  
  55. end;
  56.  
  57. end.
  58.  

Is this a setting that's been reset in the new 2.0.8 or is it a bug ?

I'm on Win 10 Pro using ..
Lazarus 2.0.8 r62944 FPC 3.0.4 x86_64-win64-win32/win64

jamie

  • Hero Member
  • *****
  • Posts: 3077
Re: Lazarus Release 2.0.8
« Reply #21 on: April 19, 2020, 01:43:03 pm »
That's normal behavior...
Nothing has changed there.

its just a method in the class with code in it. Delete it.
The only true wisdom is knowing you know nothing

Zath

  • Sr. Member
  • ****
  • Posts: 352
Re: Lazarus Release 2.0.8
« Reply #22 on: April 19, 2020, 02:13:24 pm »
That's normal behavior...
Nothing has changed there.

its just a method in the class with code in it. Delete it.

But it's referencing a component that no longer exists on the form. This always used to come up with the warning and ask if you want to remove the associated declarations.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 6368
    • wiki
Re: Lazarus Release 2.0.8
« Reply #23 on: April 19, 2020, 02:18:15 pm »
But it's referencing a component that no longer exists on the form. This always used to come up with the warning and ask if you want to remove the associated declarations.
No, its not.

The only "reference" is in the name: BitBtn1Click
But that is just a name. (and names have no meaning to the compiler - except different things must have different names)

The "OnClick" event could have any name you choose. You could have called it: "GetMeACoffeeProcedure" and it still would have handled the click.

The procedure is linked to the BitBtn by the form designer / object inspector. That is saved in the lfm file. And when you deleted the bitbtn, that link was deleted too.
(Look at the events of your new Button, to see how this is linked to its event)

Now, it is just a method, that is not called at all. But the compiler does not know that (the compiler does not check what is in the lfm, that happens later). You could still have plans to do something with that code.
« Last Edit: April 19, 2020, 02:24:59 pm by Martin_fr »

jamie

  • Hero Member
  • *****
  • Posts: 3077
Re: Lazarus Release 2.0.8
« Reply #24 on: April 19, 2020, 03:05:09 pm »
Personally I am glad the LAz does not remove those methods because I like changing controls and simply pointing to the same method events without rewriting the code, he could of done the same. rename afterwards to make it clean looking..
The only true wisdom is knowing you know nothing

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 167
    • http://www.lazarus.freepascal.org
Re: Lazarus Release 2.0.8
« Reply #25 on: April 19, 2020, 03:29:39 pm »
I was going to install lazarus-project_2.0.8-0_amd64.deb on my Xubuntu and I've seen that Software (the application that installs it) says the license is private (Actually "Privativa" in Spanish, don't know how's in English).

It's "Proprietary" in English.

I tried changing the copyright file to the debian machine readable format (dep5).
The debian test tool Lintian is now happy with the copyright.

But the software center still shows "Proprietary".
I tried the simplest license "GPL-2", but Software Center still shows "Proprietary".
I tried a few other open source debs and to my amazement the first 10 debs I tried were all shown as proprietary. Apparently we are not alone.
I found some where the software center shows non proprietary licenses, but I have not yet figured out, how they did it.
Any hint is welcome.

Otto

  • Full Member
  • ***
  • Posts: 224
Re: Lazarus Release 2.0.8
« Reply #26 on: April 19, 2020, 06:15:48 pm »
 Thank you for your work.
I upgraded Lazarus from 2.0.6 to 2.0.8 on Windows, everything went well. Martin's version snapshot 3.2 RC/fixes also works great on my PC running Windows 10 64bit.

I also suggested installing/updating the IDE to my work colleagues. Some believed they had lost the packages they installed, but I explained to them how to fix them by performing a manual recompilation. They did not know that on Windows there is no automatic recompilation of Lazarus after upgrading to a new version.
Kind regards.

winni

  • Hero Member
  • *****
  • Posts: 1445
Re: Lazarus Release 2.0.8
« Reply #27 on: April 19, 2020, 11:27:25 pm »
Hi!

Since today 19.4.2020 Lazarus v 2.08 is available through the Suse OS online repository for Leap 15.x and Tumbleweed.

Winni

dbannon

  • Hero Member
  • *****
  • Posts: 1070
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus Release 2.0.8
« Reply #28 on: April 20, 2020, 10:25:38 am »

It's "Proprietary" in English.
.....
But the software center still shows "Proprietary".
I tried the simplest license "GPL-2", but Software Center still shows "Proprietary".
As I noted in my post above, if you look at a package in the Software Installer in the normal manner where the package is located in their repository, most (all ?) will not be Proprietary. Manually download one to your local disk, then look at it with Software Install and it has magically become Proprietary.  Its not the content of the package that matters, any package that exists anywhere other than in their repository is Proprietary.

This Software Install application originates with Gnome, several distros that ship Gnome now leave it out or hack it so it no longer claims to be the tool to install local packages. Good.  I am sick of end users posting issues with my app saying they would use it (my app) if it was open source .....

Davo
Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng

wittbo

  • Full Member
  • ***
  • Posts: 109
Re: Lazarus Release 2.0.8
« Reply #29 on: April 20, 2020, 11:12:06 am »
Installation of the compiler on MacOS 10.14.6 failed.

I deleted the old 2.0.6 installation first, then made a fresh install of 2.0.8.
Installation starts as usual, but on finishing the install, there was an error message s. attachment.

Should I better install the 3.0.4a variant of the compiler?

-wittbo-
MBAir with MacOS 10.14.6 / Lazarus 2.0.6
iMac with MacOS 10.13.6 / Lazarus 2.0.2

 

TinyPortal © 2005-2018