Lazarus

Announcements => Lazarus => Topic started by: Martin_fr on May 22, 2018, 11:39:03 pm

Title: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: Martin_fr 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/

Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: chenyuchih on May 23, 2018, 12:24:58 pm
Great! I'll give it a try when I am available.

Thank you the Lazarus team!
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: loaded on May 23, 2018, 01:07:10 pm
Thanks a lot!
Health to your hands  :) :
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: carondaniel1957 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
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: Groffy 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!
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: Zvoni 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
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: adilsonpazzini 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
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: Martin_fr 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)
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: mangakissa 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
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: wp 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.
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: Hendrik 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 ?
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: Bart 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
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: Hendrik 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.
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: Zvoni 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
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: wp 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?
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: mischi on May 28, 2018, 10:38:32 pm
Lazarus on macOS: fink package descriptions are updated to version 1.8.4.

It gives you the choice for lazarus-aqua(carbon), lazarus-gtk2, lazarus-qt4 and lazarus-qt5.

You can build projects with following lcl:

lcl-carbon
lcl-cocoa(32bit)
lcl-cocoa(64bit)
lcl-gtk2(64bit)
lcl-qt4(64bit)
lcl-qt5(64bit)

and

crossbuilding for

lcl-win32
lcl-win64
lcl-wince-i386
lcl-wince-arm
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: totya on May 31, 2018, 12:41:36 am
Hi!

Thanks for this release, but usually I use the svn version. I found a small bug, if I select it in message window see pics, I got reverse operation, inserted directive is:
Quote
{$WARN 5024 on : Parameter "$1" not used}

Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: nachoap on June 01, 2018, 01:52:23 pm
Thanks for the release.

I can't work with lazreport with 1.8.4 nor 1.8.2. I install, I mark lazreport and sqlite3 packages for install, then Lazarus compiles and links a new exe... But when I try to execute Lazarua again I get an error with the code: 0xc000007b.

I've installed it as a secondary installation. I've tried to install in two different coputers (PC, with Windows 10 x64). I've been working with Lazarus in those computers for years without problem.

It would be nice if you can guide me where can be the problem. Now I'm working with 1.8.0 version and everything is fine.

Regards!
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: zeljko on June 01, 2018, 02:37:31 pm
Thanks for the release.

I can't work with lazreport with 1.8.4 nor 1.8.2. I install, I mark lazreport and sqlite3 packages for install, then Lazarus compiles and links a new exe... But when I try to execute Lazarua again I get an error with the code: 0xc000007b.

I've installed it as a secondary installation. I've tried to install in two different coputers (PC, with Windows 10 x64). I've been working with Lazarus in those computers for years without problem.

It would be nice if you can guide me where can be the problem. Now I'm working with 1.8.0 version and everything is fine.

Regards!

hm...I had similar problem with commercial FastReports 5 under MacOSX - Qt5 64bit. Before rebuilding lazarus I've rebuilded FR5 package and then it works fine, AFAIR problem was something with resources.
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: wp on June 01, 2018, 03:20:29 pm
I can't work with lazreport with 1.8.4 nor 1.8.2. I install, I mark lazreport and sqlite3 packages for install, then Lazarus compiles and links a new exe... But when I try to execute Lazarua again I get an error with the code: 0xc000007b.
Aggressive antivirus? Put Lazarus folders on white-list of the antivirus.
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: Thaddy on June 01, 2018, 03:56:34 pm
Aggressive antivirus? Put Lazarus folders on white-list of the antivirus.
It is a better idea to notify any anti-virus developers that they also need to have a footprint of FPC compiled code available. Some actually do that, when informed and demonstrated. MS is one of them (but slow).
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: jc99 on June 02, 2018, 09:31:34 am
@Developers:
Thanks for the release....

@nachoap:

I can't work with lazreport with 1.8.4 nor 1.8.2. I install, I mark lazreport and sqlite3 packages for install, then Lazarus compiles and links a new exe... But when I try to execute Lazarua again I get an error with the code: 0xc000007b.
Is it only this project or are other projects also corrupted ?
Can you give an example ?
I had an similar issue regarding the new project-settings about HighDPI
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: nachoap on June 02, 2018, 01:45:52 pm
Hi again!
>>
I get the error without open any project, with default project: I install Lazarus 1.8.4, I execute it, I try to install a new package from Package -> Install/Uninstall package, I compile ide and... I get the error. With 1.8.2 I got the same problem.

I've read this kind of error can be caused by a dll msvc++ file. I'm going to try to install VisualC Redistributable again.

It's not an antivirus problem because I get the same error in two different computers with two different antivirus: Trend Micro and Kaspersky.

Regards!
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: nachoap on June 02, 2018, 01:48:59 pm
Ooooops! It works now in my personal computer  :o

Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: nachoap on June 02, 2018, 01:52:00 pm
Bad luck! It worked with Lazreport but it failed after installing sqlite3  :'( :'( :'(
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: nachoap on June 02, 2018, 02:26:06 pm
Ooops. The problem was in sqlite3laz 0.4 package. But it's not needed in order to work with SQLite Zeos  :o

If I don't install this package everything works fine.

I apologize about my message. This week I'll try the new Lazarus version. I'm impatient!

Regards!
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: ermeneuta on June 08, 2018, 06:54:31 pm
Running here Kubuntu 18.04 LTS.

FPC is installed, version 3.0.4, as is fpc-src, version 3.0.4-2, the one downloaded from Source Forge.
Trying to install  lazarus-project_1.8.4-0_amd64.deb, the package installer QApt tells me in red :
"Error: Cannot satisfy dependencies"

Suggestions welcome, thanks.
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: Handoko on June 08, 2018, 07:31:25 pm
Try this:
https://forum.lazarus.freepascal.org/index.php/topic,41524
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: ermeneuta on June 11, 2018, 11:14:46 pm
Try this:
https://forum.lazarus.freepascal.org/index.php/topic,41524
Many thanks, that worked.
I skipped your step 12, as Synaptic Package Manager did not tell me that fpc was waiting to be updated...
I am glad that Linux does not have a registry as Windows has, so the step of uninstalling something can be easily done by just deleting with rm any traces of the program you want to get rid of... no worries of leaving dangling (and obscure) hexadecimal entries into the registry...
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: Handoko on June 12, 2018, 08:20:57 am
To check if the FPC is in the waiting for update using Synaptic Package Manager:

01. Start Synaptic Package Manager
02. On the bottom-left panel, click Status
03. On the top-left panel, choose Installed (upgradable)
04. On the right panel, see the exclamation mark at the right of fpc

If the fpc is marked with an exclamation mark, your Lazarus will most likely stop working after you (accidentally) upgrade it. At least it happened on me twice.
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: ermeneuta on June 12, 2018, 07:04:05 pm
To check if the FPC is in the waiting for update using Synaptic Package Manager:

01. Start Synaptic Package Manager
02. On the bottom-left panel, click Status
03. On the top-left panel, choose Installed (upgradable)
04. On the right panel, see the exclamation mark at the right of fpc

If the fpc is marked with an exclamation mark, your Lazarus will most likely stop working after you (accidentally) upgrade it. At least it happened on me twice.
You are right... it was marked as upgradeable... now it is locked.  Thanks again.
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: ermeneuta on June 12, 2018, 07:08:34 pm
What I really would need now is a set of step-by-step instructions to upgrade Lazarus to 1.8.4 on the Raspberry Pi 3B with Raspbian Stretch...

I develop and debug on the Kubuntu Linux on the PC, then I transfer all the source to the Raspberry for a final compilation and testing. For this, I need that the two Lazarus versions (PC and Raspberry) are kept in sync....
 
Title: Open request
Post by: Editor on June 18, 2018, 11:00:36 pm
Can anyone tell me how to get to the administrator? I have an email from David Rhoads who seems not be able to become a member
He is not allowed or whatever..
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: del on July 13, 2018, 09:49:30 pm
Belated thanks for all the awesome magic you guys do!   :)
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: itsols on July 17, 2018, 04:04:42 pm
I can't seem to install 1.8.4 on Ubuntu 18.04.

I have tried the default deb package and also picked the three separate programs from sourceforge.

The fpc installation was pretty fast and I got the compiler running.
But when I click on the lazarus deb package (lazarus-project_1.8.4-0_amd64.deb), it just vanishes without proper response. It doesn't give any errors.

Is there another way to install Lazarus?

Thanks!
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: Handoko on July 17, 2018, 05:19:18 pm
I can't seem to install 1.8.4 on Ubuntu 18.04.

Have you tried this:
https://forum.lazarus.freepascal.org/index.php/topic,41524

Installing Lazarus on Linux, especially Ubuntu can be tricky sometimes. If you have followed the tutorial but still can't install it, please provide more information so I may be able to do some tests to understand the problem. But as you said it just vanished without any response, it seems you have use the version provided by your Ubuntu repository.

Maybe you can try the workaround suggested by @bylaardt. I haven't tried it but is sounds possible:
https://forum.lazarus.freepascal.org/index.php/topic,41524.msg289490.html#msg289490
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: itsols on July 17, 2018, 05:31:48 pm
Thank you Handoko I will check it out.

In the mean time, just for the record, I couldn't find Lazarus in the repos. I used the downloads from the lazarus-ide.org site.
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: bylaardt on July 17, 2018, 07:20:00 pm
Maybe you can try the workaround suggested by @bylaardt. I haven't tried it but is sounds possible:
https://forum.lazarus.freepascal.org/index.php/topic,41524.msg289490.html#msg289490
Ubuntu has a version of FPC in the repository. if you update it, the new version installed becomes "fpc 3.0.4+dfsg-18ubuntu1".
the current deb requires fpc = 3.0.4 as dependency.
Change the control file of the DEBIAN folder to ">=" :
Code: Bash  [Select][+][-]
  1. Source: lazarus-project
  2. Package: lazarus-project
  3. Version: 1.8.4
  4. Section: devel
  5. Priority: optional
  6. Maintainer: Mattias Gaertner <mattias@freepascal.org>
  7. Architecture: amd64
  8. Replaces: lazarus, lazarus-doc, lazarus-ide, lazarus-ide-gtk2, lazarus-ide-qt4, lazarus-src
  9. Conflicts: lazarus, lazarus-doc, lazarus-ide, lazarus-ide-gtk2, lazarus-ide-qt4, lazarus-src
  10. Depends: libgtk2.0-dev (>=2.6.0), fpc (>=3.0.4) | fp-compiler (>=3.0.4), fpc-src (>=3.0.4) | fpc-source (>=3.0.4), fpc (>=3.0.4) | fp-ide (>=3.0.4), fpc (>=3.0.4) | fp-units-base (>=3.0.4), fpc (>=3.0.4) | fp-units-db (>=3.0.4), fpc (>=3.0.4) | fp-units-fcl (>=3.0.4), fpc (>=3.0.4) | fp-units-fv (>=3.0.4), fpc (>=3.0.4) | fp-units-gfx (>=3.0.4), fpc (>=3.0.4) | fp-units-gnome1 (>=3.0.4), fpc (>=3.0.4) | fp-units-gtk (>=3.0.4), fpc (>=3.0.4) | fp-units-gtk2 (>=3.0.4), fpc (>=3.0.4) | fp-units-misc (>=3.0.4), fpc (>=3.0.4) | fp-units-net (>=3.0.4), fpc (>=3.0.4) | fp-units-rtl (>=3.0.4), fpc (>=3.0.4) | fp-utils (>=3.0.4)
  11. Installed-Size: 602488
  12. Description: RAD tool for freepascal
  13.  Lazarus is a free and opensource IDE and RAD tool for Free Pascal using the
  14.  Lazarus component library LCL. The LCL is included in this package too.
  15.  See http://www.lazarus.freepascal.org
  16.  
and recompile it.
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: JuhaManninen on July 17, 2018, 08:03:41 pm
The fpc installation was pretty fast and I got the compiler running.
But when I click on the lazarus deb package (lazarus-project_1.8.4-0_amd64.deb), it just vanishes without proper response. It doesn't give any errors.

Is there another way to install Lazarus?
Yes there is, now that you have FPC installed. Just get Lazarus from SVN and run "make".
 http://wiki.freepascal.org/Getting_Lazarus#Fixes_branch_of_latest_Lazarus_release
No need to struggle with the .deb packages.
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: itsols on July 18, 2018, 10:39:33 am
Here's what I tried next to easily fix the problem...

Since nothing happened when I run the deb packages, I was quite confused on how to go about the update. So all I did was type the following on the terminal.

sudo apt-get install lazarus-ide

And the whole thing got installed.

Perhaps running the first (failed) deb package registered the list of packages for download.

Anyway, I'm glad this works now and thanks for all the inputs!
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: Handoko on July 18, 2018, 10:57:33 am
Usually SourceForge has the latest stable release of Lazarus. But after a while Ubuntu repository will catch up too.

The packages on SourceForge and Ubuntu repository are not exactly identical, combining them usually will cause problem. And that is one of the reasons to fail if you try to install Lazarus when using latest version downloaded from SourceForge. It (the Ubuntu) may 'force' you use the FPC in the Ubuntu repository. Not always but some in my tests, I had to disconnect my internet connection or it won't able to install successfully.

And of course, if the version of Lazarus you wish to install is already in the Ubuntu repository, using it is the easiest way to install Lazarus.
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: reinhardt1053 on August 01, 2018, 03:49:36 pm
Thank you!
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: Robert W.B. on August 06, 2018, 02:59:46 am
Great. Thanks. 8)
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: tr_escape on August 13, 2018, 10:41:46 am
By the way I just reinstall of trunk version (1.9.0) and I realised that "Show nonvisual components" feature.
Thank you!
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: dbannon on August 13, 2018, 11:24:49 am
Hmm, just updated to 1.8.4 from ~.2.

Not sure if its a new feature or just something I cannot find how to turn back on, but ...

Hint flag that pops up a when you hover the mouse over a identifier no longer contains a hyperlink, typically to move to declaration of that identifier.

Is this intentional ?   Would be a shame IMHO ....
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: avra on August 13, 2018, 04:16:14 pm
Hint flag that pops up a when you hover the mouse over a identifier no longer contains a hyperlink
Check if you have TurboPowerIProDsgn package installed.
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: dbannon on August 14, 2018, 06:21:51 am
Yep, thanks AVAR, that fixed it.

Perhaps it is part of the (eg) Deb package but not there from trunk ?

Much nicer !

Davo

Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: BlackT on August 18, 2018, 12:35:33 pm
Thank you very much for the continues great work on the Lazarus project!
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: Soner on September 03, 2018, 04:10:27 pm
I updated my lazarus saturday.
First thank you very much but two things in procedure list gone wrong.
1) Selected row has no indicator
2) It searchs in class names. This is very bad you get too many results.
Look the screenshots.
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: JuhaManninen on September 03, 2018, 06:35:36 pm
Soner, can you please find which revision in the 1.8 fixes branch broke it.
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: balazsszekely on September 03, 2018, 07:19:01 pm
I'm not sure there is a bug(tested both with 1.8.4 and trunk) at least not on win32/win64.
1. I have an indicator(screenshot1)
2. If you wish to ignore the classname, just select a particular class(screenshot2). It's seems logical to me that when "Alle" is selected, it will search through every available class, including the class names.

PS: Works fine with GTK2 too(Linux Mint).
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: Soner on September 03, 2018, 10:51:49 pm
Forget 1) row indicator issue, it is the result of my modificatons. I added to TCustomGrid AlwaysShowSelection property and forget it make default true.

..
2. If you wish to ignore the classname, just select a particular class(screenshot2). It's seems logical to me that when "Alle" is selected, it will search through every available class, including the class names.
..
No it isn't logical. I call procedure list from editor with keyboard shortcut and I don't want switch to mouse. Mostly I press 4-5 key and enter. And almost the search takes 3 seconds.
I think the modificaton of procedure list is made from someone that use it never or seldom. I navigate in source editor only with procedure list and keyboard and I think the new one looks good but not handy.
Look my screenshot and explains there. Compare the query results from new and old.

I found the solution, I copied procedure list from lazarus 1.6.4 to 1.8.5 and problem is gone.  :D

Thanks for Lazarus and fpc guys, you are all great.


Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: balazsszekely on September 03, 2018, 11:05:07 pm
Quote
No it isn't logical. I call procedure list from editor with keyboard shortcut and I don't want switch to mouse. Mostly I press 4-5 key and enter. And almost the search takes 3 seconds.
OK. I'm not gonna argue with that.  :) Everyone has its own preference.

Quote
Look my screenshot and explains there. Compare the query results from new and old.
In my opinion the best solution is to store the last state of the button and everyone will be happy.
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: useroflazarus on September 17, 2018, 05:10:32 am
2.0 RC1
ftp://ftp.freepascal.org/pub/lazarus/releases/Lazarus%20Windows%2032%20bits/Lazarus%202.0RC1/
ftp://ftp.freepascal.org/pub/lazarus/releases/Lazarus%20Windows%2064%20bits/Lazarus%202.0RC1/
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: valdir.marcos on September 17, 2018, 07:27:38 am
l.s.

A branch was made for a future series of 3.2.x FPC releases. A first release
of this branch is still months away, but the moment to test the compatibility
of your codebases with the future FPC is _NOW_!, while there is still time
to do something about it.

The svn designation of this fixes branch is branches/fixes_3_2

As a consequence, trunk will be updated to version 3.3.1, some people might have to update their scripts.


2.0 RC1
ftp://ftp.freepascal.org/pub/lazarus/releases/Lazarus%20Windows%2032%20bits/Lazarus%202.0RC1/
ftp://ftp.freepascal.org/pub/lazarus/releases/Lazarus%20Windows%2064%20bits/Lazarus%202.0RC1/
I am confused.
Which one is most probably to be released: Lazarus 2.0.0 with FPC 3.0.4 or FPC 3.2.0?

https://sourceforge.net/projects/lazarus-snapshots/files/Window%2032/lazarus-1.9.0-58738-fpc-3.2.0-beta-39634-win32.exe/download
https://sourceforge.net/projects/lazarus-snapshots/files/Window%2064/lazarus-1.9.0-58738-fpc-3.2.0-beta-39634-win64.exe/download

ftp://ftp.freepascal.org/pub/lazarus/releases/Lazarus%20Windows%2032%20bits/Lazarus%202.0RC1/lazarus-2.0RC1-fpc-3.0.4-win32.exe
ftp://ftp.freepascal.org/pub/lazarus/releases/Lazarus%20Windows%2064%20bits/Lazarus%202.0RC1/lazarus-2.0RC1-fpc-3.0.4-win64.exe

https://sourceforge.net/projects/lazarus-snapshots/files/Window%2032/
https://sourceforge.net/projects/lazarus-snapshots/files/Window%2064/

ftp://ftp.freepascal.org/pub/lazarus/releases/Lazarus%20Windows%2032%20bits/Lazarus%202.0RC1/
ftp://ftp.freepascal.org/pub/lazarus/releases/Lazarus%20Windows%2064%20bits/Lazarus%202.0RC1/
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: JuhaManninen on September 17, 2018, 11:18:41 am
I am confused.
Which one is most probably to be released: Lazarus 2.0.0 with FPC 3.0.4 or FPC 3.2.0?
With FPC 3.0.4 obviously. FPC 3.2.0 will not be released for a long time. There is even no RC1 yet.
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: Martin_fr on September 17, 2018, 11:47:02 am
That said, testing with 3.2 branch is still recommended too, since once 3.2 is out the next minor (Lazarus 2.0.x) will probably use it.
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: valdir.marcos on September 21, 2018, 03:42:04 am
Since files are already available for download and testing, isn't Lazarus 2.0.0 RC1 official announcement missing, something similar to the one below?

Lazarus Release Candidate 1 of 1.8
http://forum.lazarus.freepascal.org/index.php/topic,36907.0.html

I have just done a minor update to
http://wiki.freepascal.org/Lazarus_2.0_fixes_branch
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: lazaruzowski on October 04, 2018, 08:34:36 pm
Thanks to the lazarusa team.
I installed 2.0 RC1.
Everything works.
Lazarus 2.0 RC1+INDY+UniDAC v.7.0.2+KControls v 1.7.2+Expandpanels v.2.2.             

Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: melwinek on October 05, 2018, 01:28:31 pm
Not everything works
Autocomplete in DBLookupComboBox not working.

https://bugs.freepascal.org/view.php?id=34298
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: alex523 on October 05, 2018, 09:47:46 pm
2.0 RC1
ftp://ftp.freepascal.org/pub/lazarus/releases/Lazarus%20Windows%2032%20bits/Lazarus%202.0RC1/
ftp://ftp.freepascal.org/pub/lazarus/releases/Lazarus%20Windows%2064%20bits/Lazarus%202.0RC1/

Is 2.0 RC1 64 Bit on Mac OS Mojave?
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: mischi on October 05, 2018, 11:17:42 pm
No. But if you really need 64bit, you can build it with the cocoa or qt4 lcl. Or wait until there is the release and i have created the package description for fink. As soon as fink is ready for Mojave, 64-bit lazarus-1.8.4 will be available.

MiSchi
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: alex523 on October 06, 2018, 12:04:52 am
No. But if you really need 64bit, you can build it with the cocoa or qt4 lcl. Or wait until there is the release and i have created the package description for fink. As soon as fink is ready for Mojave, 64-bit lazarus-1.8.4 will be available.

MiSchi

I am looking for native gui control support.
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: mischi on October 06, 2018, 08:48:26 am
I am looking for native gui control support.
Do you mean using lazarus with the cocoa-lcl or using Apple's interface builder and fit your pascal code into that?
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: USERPC01 on October 31, 2018, 07:29:39 pm
How to install Lazarus ,FPC 3.0.4 in the Knoppix  7.2, 7.7.1,8.1, 8.2  as .deb package in the offline mode for i386, x64 mode for PC with UEFI supporting and without it ? How to install additional modules for new  DVD      Knoppix  7.2, 7.7.1,8.1, 8.2 (into RAM)?
FPC works, but problems  with dep modules of the Lazarus (Gnome) are not fixed .
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: USERPC01 on October 31, 2018, 07:32:46 pm
How to install Lazarus on Knoppix 7.2 and 8.1  in the RAM of the VirtualBox , LiveMode   , using solid .deb package for them ?
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: JuhaManninen on October 31, 2018, 08:45:56 pm
USERPC01, why do you want to use .deb packages? If FPC works, get Lazarus sources from SVN and build it.
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: USERPC01 on November 18, 2018, 11:59:05 am

I could not install appropriate version of libgtk2.0-dev for this package.
Which package with deps is compatible with this OS.
In the Knoppix 7.2 (Virtualbox, x32 mode  ) works this

Code: [Select]
sudo dpkg -i fpc_2.6.4-140420_i386.deb
sudo dpkg -i fpc-src_2.6.4-140420_i386.deb

sudo dpkg -i libgtk2.0-dev_2.24.10-2_i386.deb

sudo dpkg -i lazarus_1.2.2-0_i386.deb
But I could not install libgtk2.0-dev for lazarus 1.2.2, >1.4.4 and deps for this package in the Knoppix 8.1 .8.2  .

Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: USERPC01 on November 18, 2018, 02:28:19 pm
If I use lazarus 1.6.4 on the knoppix 8.1 in the  VirtualBox , it wirks with

Code: [Select]

sudo dpkg -i  gir1.2-gtk-2.0_2.24.31-2_i386.deb
sudo dpkg -i  libgtk2.0-common_2.24.31-2_all.deb
sudo dpkg -i  libgtk2.0-dev_2.24.31-2_i386.deb

sudo dpkg -i  fpc_3.0.2-170225_i386.deb
sudo dpkg -i  fpc-src_3.0.2-170225_i386.deb
sudo dpkg -i  lazarus-project_1.6.4-0_i386.deb


, but some errors with types were found during the installation.
If I use  Lazarus  >1.8.4
Code: [Select]
sudo dpkg -i  gir1.2-gtk-2.0_2.24.31-2_i386.deb
sudo dpkg -i  libgtk2.0-common_2.24.31-2_all.deb
sudo dpkg -i  libgtk2.0-dev_2.24.31-2_i386.deb

sudo dpkg -i fpc_3.0.4-3_i386.deb
sudo dpkg -i  fpc-src_3.0.4-1_i386.deb
sudo dpkg -i lazarus-project_1.8.4-0_i386.deb
, I could not compile test applicatrion  with GUI.
 
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: USERPC01 on November 18, 2018, 02:32:24 pm
In the  Knoppix 8.2 found problem with downgrading  libgtk2.0-dev_2.24.32 to  libgtk2.0-dev_2.24.31-2_i386.deb   .
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: USERPC01 on November 18, 2018, 03:59:49 pm
For Knoppix 8.1 (i386):

Code: [Select]

knoppix@Microknoppix:~/Desktop/lazarus1_6_4$ sudo dpkg -i  gir1.2-gtk-2.0_2.24.31-2_i386.deb
Selecting previously unselected package gir1.2-gtk-2.0.
dpkg: warning: files list file for package 'cloop-utils' missing; assuming package has no files currently installed
(Reading database ... 449909 files and directories currently installed.)
Preparing to unpack gir1.2-gtk-2.0_2.24.31-2_i386.deb ...
Unpacking gir1.2-gtk-2.0 (2.24.31-2) ...
Setting up gir1.2-gtk-2.0 (2.24.31-2) ...
knoppix@Microknoppix:~/Desktop/lazarus1_6_4$
knoppix@Microknoppix:~/Desktop/lazarus1_6_4$ sudo dpkg -i  libgtk2.0-common_2.24.31-2_all.deb
dpkg: warning: files list file for package 'cloop-utils' missing; assuming package has no files currently installed
(Reading database ... 449916 files and directories currently installed.)
Preparing to unpack libgtk2.0-common_2.24.31-2_all.deb ...
Unpacking libgtk2.0-common (2.24.31-2) over (2.24.31-2) ...
Setting up libgtk2.0-common (2.24.31-2) ...
knoppix@Microknoppix:~/Desktop/lazarus1_6_4$
knoppix@Microknoppix:~/Desktop/lazarus1_6_4$ sudo dpkg -i  libgtk2.0-dev_2.24.31-2_i386.deb
Selecting previously unselected package libgtk2.0-dev.
dpkg: warning: files list file for package 'cloop-utils' missing; assuming package has no files currently installed
(Reading database ... 449916 files and directories currently installed.)
Preparing to unpack libgtk2.0-dev_2.24.31-2_i386.deb ...
Unpacking libgtk2.0-dev (2.24.31-2) ...
Setting up libgtk2.0-dev (2.24.31-2) ...
Processing triggers for man-db (2.7.6.1-2) ...
knoppix@Microknoppix:~/Desktop/lazarus1_6_4$
knoppix@Microknoppix:~/Desktop/lazarus1_6_4$ sudo dpkg -i  fpc_3.0.2-170225_i386.deb
Selecting previously unselected package fpc.
dpkg: warning: files list file for package 'cloop-utils' missing; assuming package has no files currently installed
(Reading database ... 450201 files and directories currently installed.)
Preparing to unpack fpc_3.0.2-170225_i386.deb ...
Unpacking fpc (3.0.2) ...
Setting up fpc (3.0.2) ...
Running on linux
Write permission in /etc.
Writing sample configuration file to /etc/fpc.cfg
Writing sample configuration file to /usr/lib/fpc/3.0.2/ide/text/fp.cfg
Writing sample configuration file to /usr/lib/fpc/3.0.2/ide/text/fp.ini
Writing sample configuration file to /etc/fppkg.cfg
Writing sample configuration file to /etc/fppkg/default
knoppix@Microknoppix:~/Desktop/lazarus1_6_4$
knoppix@Microknoppix:~/Desktop/lazarus1_6_4$ sudo dpkg -i  fpc-src_3.0.2-170225_i386.deb
Selecting previously unselected package fpc-src.
dpkg: warning: files list file for package 'cloop-utils' missing; assuming package has no files currently installed
(Reading database ... 453257 files and directories currently installed.)
Preparing to unpack fpc-src_3.0.2-170225_i386.deb ...
Unpacking fpc-src (3.0.2) ...

Setting up fpc-src (3.0.2) ...
knoppix@Microknoppix:~/Desktop/lazarus1_6_4$
knoppix@Microknoppix:~/Desktop/lazarus1_6_4$ sudo dpkg -i  lazarus-project_1.6.4-0_i386.deb
Selecting previously unselected package lazarus-project.
dpkg: warning: files list file for package 'cloop-utils' missing; assuming package has no files currently installed
(Reading database ... 470435 files and directories currently installed.)
Preparing to unpack lazarus-project_1.6.4-0_i386.deb ...
Unpacking lazarus-project (1.6.4) ...
Setting up lazarus-project (1.6.4) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for desktop-file-utils (0.23-2) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for shared-mime-info (1.8-1) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'



How to fix
Code: [Select]
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'


Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: USERPC01 on November 18, 2018, 04:01:55 pm
How to fix "dpkg: warning: files list file for package 'cloop-utils'  "?  What package is necessary for fix it ?
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: USERPC01 on November 18, 2018, 06:39:08 pm
I use for Knoppix 8.1  :
Code: [Select]

sudo dpkg -i  gir1.2-gtk-2.0_2.24.31-2_i386.deb
sudo dpkg -i  libgtk2.0-common_2.24.31-2_all.deb
sudo dpkg -i  libgtk2.0-dev_2.24.31-2_i386.deb

sudo dpkg -i fpc_3.0.4-3_i386.deb
sudo dpkg -i  fpc-src_3.0.4-1_i386.deb
sudo dpkg -i lazarus-project_1.8.4-0_i386.deb
How to fix  problem with /usr/bin/ppc386     ?

Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: USERPC01 on November 18, 2018, 06:41:28 pm
How to run Lazarus 1.8.4  in the  Knoppix 8.1  / 8.2   (problem with symbolic link for the /usr/bin/ppc386)    ?     
Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: USERPC01 on November 22, 2018, 06:34:07 pm
I was execute next(boot from CD without  Virtualbox,from RAM):


Code: [Select]
sudo dpkg -i  gir1.2-gtk-2.0_2.24.31-2_i386.deb
sudo dpkg -i  libgtk2.0-common_2.24.31-2_all.deb
sudo dpkg -i  libgtk2.0-dev_2.24.31-2_i386.deb

sudo dpkg -i fpc_3.0.4-3_i386.deb
sudo dpkg -i  fpc-src_3.0.4-1_i386.deb
sudo dpkg -i lazarus-project_1.8.4-0_i386.deb


Code: [Select]
knoppix@Microknoppix:~/Desktop/lazarus$ sudo dpkg -i lazarus-project_1.8.4-0_i386.deb
dpkg: warning: files list file for package 'cloop-utils' missing; assuming package has no files currently installed
(Reading database ... 470444 files and directories currently installed.)
Preparing to unpack lazarus-project_1.8.4-0_i386.deb ...
Unpacking lazarus-project (1.8.4) ...
Setting up lazarus-project (1.8.4) ...
Processing triggers for shared-mime-info (1.8-1) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Processing triggers for desktop-file-utils (0.23-2) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for mime-support (3.60) ...
knoppix@Microknoppix:~/Desktop/lazarus$


Title: Re: Lazarus Release 1.8.4 (with FPC 3.0.4)
Post by: USERPC01 on November 22, 2018, 06:36:25 pm
It works , but some problem with cloop-utils and some types was detected ,    file was compiled successfull .
TinyPortal © 2005-2018