Recent

Author Topic: Lazarus Release 1.8.4 (with FPC 3.0.4)  (Read 115571 times)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Lazarus Release 1.8.4 (with FPC 3.0.4)
« on: May 22, 2018, 11:39:03 pm »
The Lazarus team is glad to announce the release of Lazarus 1.8.4. This is a bugfix release.

The release was built with FPC 3.0.4.

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

Here is the list of fixes for Lazarus 1.8.x:
http://wiki.freepascal.org/Lazarus_1.8_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 1.8.4" directory.

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

Minimum requirements:

Windows:
2k, XP, Vista, 7, 8, 8.1 and 10, 32 or 64bit.
optional qt 4.5 or 5.6 for qt apps

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, not stable), qt and qt5 (32 or 64bit).

The svn tag is
http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_8_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/


chenyuchih

  • Jr. Member
  • **
  • Posts: 81
Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
« Reply #1 on: May 23, 2018, 12:24:58 pm »
Great! I'll give it a try when I am available.

Thank you the Lazarus team!

loaded

  • Hero Member
  • *****
  • Posts: 824
Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
« Reply #2 on: May 23, 2018, 01:07:10 pm »
Thanks a lot!
Health to your hands  :) :
Check out  loaded on Strava
https://www.strava.com/athletes/109391137

carondaniel1957

  • New Member
  • *
  • Posts: 11
Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
« Reply #3 on: May 23, 2018, 03:43:37 pm »
Bonjour je possède Lazarus 18.02 fonctionnel mais quand je veut installer la dernière mouture avec gDBI, je recois ce message:

Lazarus 18.04 - Erreur: La dépendance ne peut être satisfaite: fpc (= 3.0.4) fp-compiler (= 3.0.4).

Des suggestions $$

Salutations à tous
-------------------------------------------------------------------------------------------------------------------------------------
Good day to all I already a functionnal Lazarus 18.02 but when I want to install the new version with gDBI I get this message

Lazarus 18.04 - Error: The  dependancy cannot be satisfied: fpc (= 3.0.4) fp-compiler (= 3.0.4).

Any suggestions ??

Regards to all

Daniel

Groffy

  • Full Member
  • ***
  • Posts: 204
Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
« Reply #4 on: May 23, 2018, 04:24:57 pm »
December 2017 / February 2018 / May 2018 - The speed of the release development is really impressive

Thank you!
Linux Mint / Windows 10 / Lazarus 3.0.0 / trunk -qt

Zvoni

  • Hero Member
  • *****
  • Posts: 2300
Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
« Reply #5 on: May 23, 2018, 06:54:44 pm »
Quick Question: Any Idea if/when it's going to be available in the official repositories (Ubuntu in my case)?
I'm a bit wary now to install it from the deb's after my fiasco during the Ubuntu-Upgrade to 18.04
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad

adilsonpazzini

  • New Member
  • *
  • Posts: 29
Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
« Reply #6 on: May 23, 2018, 09:18:09 pm »
Congratulations to everyone involved.

Someone with problems in DBLookupComboBox, when entering the component and selecting the chosen item, when leaving the component to go to another, it erases the selection made. it just happens from version 1.8.2 in version 1.8.0 was working properly.

Thank you very much in advance

Adilson Pazzini

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
« Reply #7 on: May 23, 2018, 10:25:26 pm »
Quick Question: Any Idea if/when it's going to be available in the official repositories (Ubuntu in my case)?
I'm a bit wary now to install it from the deb's after my fiasco during the Ubuntu-Upgrade to 18.04
We don't maintain or have any influence on the various linux repositories. They are entirely maintained by their own teams. (The could even be build with different settings than ours.

If you are worried about your next system upgrade and having Lazarus as 3rd party package, maybe dont use a package. You can use fpupdeluxe, this builds from source in your home folder. So nothing that would conflict with any installation. (I am not using fpupdeluxe myself, so dont know all details)

mangakissa

  • Hero Member
  • *****
  • Posts: 1131
Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
« Reply #8 on: May 24, 2018, 09:22:53 am »
Someone with problems in DBLookupComboBox, when entering the component and selecting the chosen item, when leaving the component to go to another, it erases the selection made. it just happens from version 1.8.2 in version 1.8.0 was working properly.
This is a problem when a record is saved. But this occurs when alle datasets are connected to one transaction. Setting caCommitedRetaining in transaction won't work. I made a workaround to set the option [sqoKeepOpenOnCommit] in the TSQLQuery component.

Normally I give each TSQLQuery its own transaction, but that's not working with SQLite
Lazarus 2.06 (64b) / FPC 3.0.4 / Windows 10
stucked on Delphi 10.3.1

wp

  • Hero Member
  • *****
  • Posts: 11831
Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
« Reply #9 on: May 24, 2018, 09:30:14 am »
Someone with problems in DBLookupComboBox, when entering the component and selecting the chosen item, when leaving the component to go to another, it erases the selection made. it just happens from version 1.8.2 in version 1.8.0 was working properly.
Please post a bug report to BugTracker and attach a demo program to demonstrate the issue. There were several bug fixes in TDBCombobox and TDBLookupCombo where this could have crept in.

Hendrik

  • Newbie
  • Posts: 5
Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
« Reply #10 on: May 25, 2018, 10:14:20 pm »
Peculiar event-trigger
MacOs.10.9.5 (not so recent I know, but hesitating to update, with the GDB installation-problems I had years ago in mind).
The FPC/Lazarus stable version-updates from last years went without hick-up so I reckoned this latest would be no problem.
Lazarus started indeed without a problem, compilation of a simple test-program went well.
But then while testing this program I discovered a strange thing I never had before.

Simply put a Button1, an Edit1 and a Listbox1 on  Form1.

Insert by 2-click on the Button1 following  code (nothing else):

Code: Pascal  [Select][+][-]
  1.  
var Year: integer;

procedure TForm1.Button1Click(Sender: TObject);
begin
  Year:=StrToInt(edit1.Text);
    Listbox1.Items.add('Button1Click : Year is '+IntTostr(Year));
end;
Code: Pascal  [Select][+][-]
  1.  

Compilation OK, but the strange thing is when I complete with a keyboard « enter », an entry in the Edit1, like ‘1999’, the Button1Click seems to be triggered, as messaged in the Listbox.
I would expect – as it did in previous Lazarus-versions if I remember well – that the « enter » would only trigger Edit1.OnEditingDone.

If I insert the Edit1.EditingDone event :

Code: Pascal  [Select][+][-]
  1.  
procedure TForm1.Edit1EditingDone(Sender: TObject);
begin
  Listbox1.Items.add('Edit1EditingDone : Year is '+IntTostr(Year));
end;
Code: Pascal  [Select][+][-]
  1.  

this event is triggered first followed by the button1.click event.
Could one confirm this ?
I reinstalled FPC/Lazarus twice  ; started with new/ project/application.
What could be messing this up ?

Bart

  • Hero Member
  • *****
  • Posts: 5265
    • Bart en Mariska's Webstek
Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
« Reply #11 on: May 25, 2018, 11:12:49 pm »
Does your Button1 have Default := True?
If so, then is expected behaviour.

IIRC in a previous version it did not behave like that, but it was adjusted to mimic Delphi behaviour.

Bart

Hendrik

  • Newbie
  • Posts: 5
Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
« Reply #12 on: May 27, 2018, 09:33:53 pm »

1. My setting is {$mode objfpc} not delphi mode : does that make a difference ?

2. Nevertheless I checked : at design my setting was Button1.default := false ?
Toggling it to true doesn’t change the behaviour. No difference if I do it programmatically.
I checked roughly in ‘release notes’, ‘changes lists’  for a clue.

So far getting into it :
http://lazarus-ccr.sourceforge.net/docs/lcl/stdctrls/tbutton.html
http://lazarus-ccr.sourceforge.net/docs/lcl/stdctrls/tcustombutton.default.html  :

TCustomButton.Default
‘True if this is the modal Default button.
Pressing ENTER in a modal form is equivalent to pressing the Default button.’

I thought Modal Form related to a secondary form being like a dialog, which is not the case here.
So now trying to figure out the definition of modal form.

Zvoni

  • Hero Member
  • *****
  • Posts: 2300
Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
« Reply #13 on: May 27, 2018, 11:43:52 pm »

I thought Modal Form related to a secondary form being like a dialog, which is not the case here.
So now trying to figure out the definition of modal form.

Modal-Form doesn't necessarily mean secondary form.
It's more like: If you call a Form Modal, the calling (!!) code only continues on, when your Form has been closed
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad

wp

  • Hero Member
  • *****
  • Posts: 11831
Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
« Reply #14 on: May 28, 2018, 12:02:27 am »
You gave a description how you observe this behavior. I cannot reproduce it on Windows (I know you have MacOS). Maybe I did something wrong, maybe you forgot to mention a tiny detail, maybe it is a widgetset or OS related issue...

Since a very simple program seems to be sufficient to demonstrate the issue why don't you pack the pas, lfm, lpi and lpr files of this project into a common zip and upload it here?

 

TinyPortal © 2005-2018