Lazarus

Announcements => Lazarus => Topic started by: mattias on March 01, 2017, 08:59:13 pm

Title: Lazarus 1.6.4 - Released
Post by: mattias on March 01, 2017, 08:59:13 pm
The Lazarus team is glad to announce the release of Lazarus 1.6.4. This is a bugfix release.

This release was built with FPC 3.0.2.
The previous release Lazarus 1.6.2 was built with FPC 3.0.0.

Here is the list of fixes for Lazarus 1.6.x:
http://wiki.freepascal.org/Lazarus_1.6_fixes_branch

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

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

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

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

Minimum requirements:

Windows:       
  98, 2k, XP, Vista, 7, 8, 8.1 and 10, 32 or 64bit.
  Win98 and WinNT IDE needs FPC 2.6.4 and building with flag
    -dWIN9XPLATFORM.

FreeBSD/Linux:
  gtk 2.8 or qt4.5, 32 or 64bit.

Mac OS X:
  10.5 to 10.12, LCL only 32bit, non LCL apps can be 64bit.

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

For people who are blocked by SF, the Lazarus releases from SourceForge
are mirrored next week at:
ftp://freepascal.dfmk.hu/pub/lazarus/releases/
and later at (after some time for synchronization)
http://michael-ep3.physik.uni-halle.de/Lazarus/releases/
and
http://mirrors.iwi.me/lazarus/

Mattias
Title: Re: Lazarus 1.6.4 - Released
Post by: fred on March 01, 2017, 09:08:28 pm
Nice! Now I know what to do tomorrow  ;)
Thanks all  :)
Title: Re: Lazarus 1.6.4 - Released
Post by: srcstorm on March 02, 2017, 03:17:50 am
Congratulations! Now we can continue to develop highest quality software, using the best programming language of the world.

Enterprises pretend like Pascal is a forgotten language, and Oberon does not exist at all. But who cares about the enterprises. The crippled languages they offer (Java, C#) are not even able to compile into native machine code. Those virtual machines do not have any scientific value. Excuse me, but we won't write any code for imaginary machines.

If we also consider the fact that C++ is a systems-programming language, we can easily realize that we don't have any other choice than Pascal for professional software development. Object Pascal is the only programming language in the world!
Title: Re: Lazarus 1.6.4 - Released
Post by: JZS on March 02, 2017, 03:39:07 am
Thank you Lazarus team.

Your efforts are well appreciated...
Title: Re: Lazarus 1.6.4 - Released
Post by: Girlbrush on March 02, 2017, 07:05:02 am
Awesome! Thank you!  8-)
Title: Re: Lazarus 1.6.4 - Released
Post by: RAW on March 02, 2017, 07:27:35 am
Thank you very much... very nice ...
Title: Re: Lazarus 1.6.4 - Released
Post by: snowyforest on March 02, 2017, 07:28:27 am
Good news. I love Lazarus.Thanks.
Title: Re: Lazarus 1.6.4 - Released
Post by: Eugene Loza on March 02, 2017, 08:47:33 am
Thanks a lot for awesome job!!!!  :D
Title: Re: Lazarus 1.6.4 - Released
Post by: ps on March 02, 2017, 10:07:52 am
Thanks for this! But nobody use Lazarus on MacOSX?

Scrollbox functionality is completed broken (under Carbon allways visible BOTH scrollbars). Under Cocoa scrollbox don't do anything (ScrollBy). http://bugs.freepascal.org/view.php?id=30910

Even Lazarus IDE have issues with this (in editor, in project options)  :'(
Title: Re: Lazarus 1.6.4 - Released
Post by: jma_sp on March 02, 2017, 12:28:00 pm
Thanks, downloading...

Muchas gracias a todo el equipo una vez más.


Saludos. :)
Title: Re: Lazarus 1.6.4 - Released
Post by: ahiggins on March 02, 2017, 12:58:35 pm
Thanking you, much appreciated.  :D
Title: Re: Lazarus 1.6.4 - Released
Post by: nishayume on March 02, 2017, 03:08:41 pm
thanks!

Gracias!
Title: Re: Lazarus 1.6.4 - Released
Post by: jma_sp on March 02, 2017, 04:42:25 pm
Helllo,

I have installed 1.6.4 over 1.6 and tried to compile a proyect resulting in this error:

xxxx.lpr( , ) Fatal: no puedo encontrar Interfaces utilizado por ....,
ppu incompatible=c:\lazarus\lcl\units\i386-win32\win32\interfaces.ppu, paquete LCL
Title: Re: Lazarus 1.6.4 - Released
Post by: jma_sp on March 02, 2017, 04:47:34 pm
I have tried to rebuild Lazarus and get similar error with lazfileutils

Must make a clean install?

Title: Re: Lazarus 1.6.4 - Released
Post by: mischi on March 02, 2017, 04:51:22 pm
Thanks for this! But nobody use Lazarus on MacOSX?

Scrollbox functionality is completed broken (under Carbon allways visible BOTH scrollbars). Under Cocoa scrollbox don't do anything (ScrollBy). http://bugs.freepascal.org/view.php?id=30910

Even Lazarus IDE have issues with this (in editor, in project options)  :'(
You might try Lazarus-qt4. I have packaged it as fink package. Contrary to carbon it is even 64-bit. Although it is ugly as it could be, but lazarus-gtk2 is second option.
Title: Re: Lazarus 1.6.4 - Released
Post by: jma_sp on March 02, 2017, 05:39:31 pm
With 1.6.0 under Windows it works ok. I have uninstalled 1.6.4 and deleted lazarus directory and configuration.

Now i have installed 1.6.4 newly and cleanly.

Result.

Compiles OK, no problems, no errors :).

Also Rebuild Lazarus OK.
Title: Re: Lazarus 1.6.4 - Released
Post by: Martin_fr on March 02, 2017, 06:58:00 pm
In case of errors like this you only have to get rid of old ppu files, but only Lazarus, not fpc. (very rarely an old pas file, if it got moved to a new location (then you have a duplicate).

The easiest way, is to go to the Tools menu, configure build lazarus, and choose "clean all" and rebuild.

Or you can uninstall the previous version / Same as deleting the installation dir.

You do NOT need to delete your config.
But if you installed as root/admin, and did builds as user, then you there may be a folder with ppu files in your config dir, and that folder may need to be deleted. But all xml files in the conf dir can be kept.

Ideally the installer (at least on windows) could detect such old ppu, and remove them. But that requires some special tools for the installer build process... And some one need to write them, and adapt the process. I can give some hints/ideas if someone wants to try it (you have to get to understand the current installer build process too.)
Title: Re: Lazarus 1.6.4 - Released
Post by: Richard on March 02, 2017, 07:42:23 pm
Thanks jma y Martin for the info.

I'll try the 3.0.2 and 1.6.4 again,
looking diligently for all .ppu files,
then rebuild as mentioned.
Title: Re: Lazarus 1.6.4 - Released
Post by: Martin_fr on March 02, 2017, 08:07:25 pm
One more possibility

If you had an old installation, and your older fpc is still there, then your config will point to the old fpc. But lazarus comes with ppu for the newer.

So open tools > Options, and on the first page check what fpc is set.
Title: Re: Lazarus 1.6.4 - Released
Post by: lazie on March 03, 2017, 12:13:53 am
First I have had a problem like jma_sp has written about - when compiling:
"ppu....interfaces.ppu...(missing or duplicates (EDIT: in "wrong" folder))"

The Problem came with the new name of the downloaded files - with "PROJECT" in name:
lazarus_1.6.2-0_amd64.deb  - was OK !
lazarus-project_1.6.2-0_amd64.deb  - (same version number) gave me that error instead of compiling....

It was the same Problem with the newest version 1.6.4 of today - this post is about !

So I tried it with a COMPLETELY NEW installed system (debian 8.7.1) and lazarus 1.6.4.
NOW - with new system - I get a different error when compiling (application or lazarus):
Projekt kompilieren, Ziel: /home/userxy/tmp/project1: Exit code 256, Fehler: 1
project1.lpr(20,1) Error: Error while linking
- In source-editor the line with the last end (end with point) is highlighted.
Title: Re: Lazarus 1.6.4 - Released
Post by: olly on March 03, 2017, 03:49:05 am
/home/userxy/tmp/project1: Exit code 256, Fehler: 1
project1.lpr(20,1) Error: Error while linking

I think https://travis-ci.org/nielsAD/travis-lazarus/jobs/207100268#L604 (https://travis-ci.org/nielsAD/travis-lazarus/jobs/207100268#L604) is the error you're having.
Title: Re: Lazarus 1.6.4 - Released
Post by: ecrypt on March 03, 2017, 10:56:16 am
Lazarus 1.6.4 win-64 and Lazarus 1.6.4 win-32 with fpc 3.0.2 install and run, no error under Win-7-64bit

Lazarus-1.6.4-amd64 for Linux Debian-8.2 with fpc 3.0.2 install ok, but, compile and running find "error while linking", compile stop.


Title: Re: Lazarus 1.6.4 - Released
Post by: Cyr on March 03, 2017, 12:21:20 pm
Lazarus-1.6.4-amd64 for Linux Debian-8.2 with fpc 3.0.2 install ok, but, compile and running find "error while linking", compile stop.
Same error on the clean Linuxmint 64 Rosa
Title: Re: Lazarus 1.6.4 - Released
Post by: Eugene Loza on March 03, 2017, 12:55:19 pm
There's a typo in README.md
Quote
lazarus-1.6.4-fpc-3.0.0-win64.exe
should be
Quote
lazarus-1.6.4-fpc-3.0.2-win64.exe
and so on.

https://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2064%20bits/Lazarus%201.6.4/
Title: Re: Lazarus 1.6.4 - Released
Post by: lazie on March 03, 2017, 01:05:00 pm
When compiling whole lazarus, I get more messages about a linking-problem:

...
/usr/bin/ld: /usr/lib/fpc/3.0.2/units/x86_64-linux/rtl/cprt0.o: unrecognized relocation (0x2a) in section `.text'
/usr/bin/ld: final link failed: Bad value
/usr/share/lazarus/1.6.4/ide/lazarus.pp(154,1) Error: (9013) Error while linking
/usr/share/lazarus/1.6.4/ide/lazarus.pp(154,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
make[2]: *** [lazarus] Error 1
make[1]: *** [idepkg] Error 2
make: *** [idepkg] Error 2
Makefile:4004: recipe for target 'lazarus' failed
make[2]: Leaving directory '/usr/share/lazarus/1.6.4/ide'
Makefile:4430: recipe for target 'idepkg' failed
make[1]: Leaving directory '/usr/share/lazarus/1.6.4/ide'
Makefile:3074: recipe for target 'idepkg' failed
make: Leaving directory '/usr/share/lazarus/1.6.4'
Title: Re: Lazarus 1.6.4 - Released
Post by: lazie on March 03, 2017, 01:44:49 pm
Can anybody tell something about the background of the changings with the renaming of the downloadable file:

In time of 1.6.2 the name changed ("project" in name) - AND also it did not work for debian 8 anymore (near compiling)....
lazarus_1.6.2-0_amd64.deb (inst. every time OK) - changed to - lazarus-project_1.6.2-0_amd64.deb (never OK)

Since that time also the next new release did not compile (/ link).
(lazarus-project_1.6.4-0_amd64.deb)
Title: Re: Lazarus 1.6.4 - Released
Post by: Eugene Loza on March 03, 2017, 01:54:17 pm
it did not work for debian 8 anymore (near compiling)....
I'm under Debian 8 (Jessie) x64 and both Lazarus 1.6.2 and 1.6.4 work for me.
While rebuilding the IDE I got an ambiguous "error while linking", however, I quickly solved it by searching this forum.
Title: Re: Lazarus 1.6.4 - Released
Post by: ASwedan on March 03, 2017, 02:20:11 pm
many many thanks lazarus team. well done.
ألف مبروك لمبرمجي فري باسكال، وتحية لفريق عمل لازاروس. أبدعتم.
Title: Re: Lazarus 1.6.4 - Released
Post by: guest58172 on March 03, 2017, 03:33:54 pm
Thanks, especially for the trailing null fix. What a relief.
Title: Re: Lazarus 1.6.4 - Released
Post by: BSaidus on March 03, 2017, 03:55:06 pm
hen ...
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..... thank you very much for all your efforts.  :D ;D
Title: Re: Lazarus 1.6.4 - Released
Post by: xterm on March 03, 2017, 03:56:37 pm
I would appreciate information about how you solved it, I have been seeing several posts in this forum and I can not know where the error might be
"Error while linking" that causes lazarus.pp in debian jessie, 64 bits.
No more information, I tried to rebuild clean, but I get the same result.

Thank you.

-- Edit --
In Debian Jessie 32 bits this error is not reproducible, compile OK., but in 64 bits i get the error.
Title: Re: Lazarus 1.6.4 - Released
Post by: vfclists on March 03, 2017, 05:36:12 pm
If there a Debian package for fpc 3.0.2? When I tried to install the Lazarus 1.6.4 package from sourceforge the were some errors.

What is the official repo for FPC 3.0.2?
Title: Re: Lazarus 1.6.4 - Released
Post by: marcov on March 03, 2017, 06:22:25 pm
What is the official repo for FPC 3.0.2?

The .tar standalone installers are the official FPC distribution.  Distribution packages are 3rd party, though we do try to keep a copy of the package info (like .spec's in Fedora's case) in case a maintainer stops.
Title: Re: Lazarus 1.6.4 - Released
Post by: vfclists on March 03, 2017, 06:57:28 pm
What is the official repo for FPC 3.0.2?

The .tar standalone installers are the official FPC distribution.  Distribution packages are 3rd party, though we do try to keep a copy of the package info (like .spec's in Fedora's case) in case a maintainer stops.

Are the tar installers intended to run as root, ie install to the /usr directory instead of the user's? When I tried to install the Lazarus r1.6.4 epo from sourceforge I got a lot of errors saying that fpc 3.0.2 was not available, and I recently saw something here about a Lazarus package that has its own FPC built in.
Title: Re: Lazarus 1.6.4 - Released
Post by: lazie on March 03, 2017, 08:02:01 pm
While rebuilding the IDE I got an ambiguous "error while linking", however, I quickly solved it by searching this forum.

As it is to find in forum - "a lot" of people do not quickly solve this problem... - maybe you could quickly help...   :)
Title: Re: Lazarus 1.6.4 - Released
Post by: JuhaManninen on March 03, 2017, 11:05:49 pm
Error while linking ... Usually a clean build solves all such problems.
Otherwise see the FAQ.
 http://wiki.freepascal.org/Lazarus_Faq#I_receive_an_error_during_the_linking_that_states_.2Fusr.2Fbin.2Fld:_cannot_find_-l.3Csome_lib.3E
GTK2 devel or some other package is not installed.
Title: Re: Lazarus 1.6.4 - Released
Post by: JuhaManninen on March 03, 2017, 11:28:01 pm
Thanks, especially for the trailing null fix. What a relief.
Heh, that opened another can of worms as we know.
 http://forum.lazarus.freepascal.org/index.php/topic,35880.0.html
I still hope somebody will debug the code and find the fundamental reason why copy / paste between Lazarus instances does not work.
It seems many people are willing to report problems but only few people are willing to debug code and solve them.

Anyway the error is in paste and the fix must go to the right place. Copying works correctly now.
Title: Re: Lazarus 1.6.4 - Released
Post by: guest58172 on March 04, 2017, 04:26:32 am
I didn't see that the new problem isn't fixed. Copying between two Coedit instances works so it has to be something really specific to Lazarus.

In a first place, why didn't you use the simple clipboard operations (.AsText) ?

[Edit by Juha] I copied the question to the "Lazarus Copy and Paste" thread. Please continue there.
Title: Re: Lazarus 1.6.4 - Released
Post by: vfclists on March 04, 2017, 01:54:47 pm
Error while linking ... Usually a clean build solves all such problems.
Otherwise see the FAQ.
 http://wiki.freepascal.org/Lazarus_Faq#I_receive_an_error_during_the_linking_that_states_.2Fusr.2Fbin.2Fld:_cannot_find_-l.3Csome_lib.3E
GTK2 devel or some other package is not installed.

Is there a way to configure the IDE or project options to obtain a more verbose report, such as the actual command the linker is executing?
There is usually a ppas.sh or ppas.bat somewhere in the project directly but I can't find it in the project I am building.
Title: Re: Lazarus 1.6.4 - Released
Post by: Thaddy on March 04, 2017, 04:29:21 pm
For ld: -k--verbose
Title: Re: Lazarus 1.6.4 - Released
Post by: xterm on March 04, 2017, 06:21:42 pm
Well, it seems like it's some kind of problem with the .deb packaging of the fpc-3.0.2 that are to download in the 64-bit version of lazarus.

The way to solve the error (at least to me has not failed), is to download the fpc-3.0.2 in its version .tar, in the download area of ​​sourceforge for fpc. This includes an install.sh (in my case I have executed it on the existing installation of the fpc-3.0.2.deb I had installed (in case it facilitated in some way the uninstallation in case of having to do it).

Once installed (no need to reinstall lazarus), this is already fully functional and compilable.

Thanks for your help, hopefully for future revisions, and a correct .deb is generated (it is always better to install from .deb).

Pd.- The version 3.0.2-1 of the fpc has already come out, at least as .tar.

Sorry for English languaje, is traslated by google-traslate.
Title: Re: Lazarus 1.6.4 - Released
Post by: Lulu on March 04, 2017, 10:07:02 pm
Thanks you very much for this new released !
I use Lazarus since years and I LOVE IT !  :)
Title: Re: Lazarus 1.6.4 - Released
Post by: lazie on March 05, 2017, 01:18:24 am
Thank you xterm - an overinstallation of fpc-3.0.2.x86_64-linux.tar (./install.sh) does ist.
(.. - First the 2 fpc deb-packages to do the install of lazarus deb-package.)
 :D
(Did not change anything other (like gtk/gdk dev-packages...)
Title: Re: Lazarus 1.6.4 - Released
Post by: alcalde on March 05, 2017, 02:20:07 am
Enterprises pretend like Pascal is a forgotten language, and Oberon does not exist at all. But who cares about the enterprises. The crippled languages they offer (Java, C#) are not even able to compile into native machine code. Those virtual machines do not have any scientific value. Excuse me, but we won't write any code for imaginary machines.

If we also consider the fact that C++ is a systems-programming language, we can easily realize that we don't have any other choice than Pascal for professional software development. Object Pascal is the only programming language in the world!

Enterprises aren't "pretending" anything; Pascal suffered a decline in popularity quite some time ago. It was on the decline even when Delphi 1 was released. The last time Pascal was for used for AP Computer Science exams, for instance, was 1999.

Oberon is an obscure language that never left the academic laboratory. Why would a company choose to use it for development? Where would they find Oberon developers? Where would they find Oberon libraries?

Who cares about the enterprises? Everyone.

> The crippled languages they offer (Java, C#) are not even able to compile into native machine code.

Now this is the kind of statement that makes people laugh at Pascal users like they're some sort of cult. Java and C# are hardly "crippled". In addition, they target virtual machines *by design*; you make it sound like it's some sort of glaring omission. You also demonstrate ignorance of Pascal history - Wirth's first implementation of Pascal produced "P-code" for a virtual machine for portability reasons! In many ways it anticipated Java.

The reality is that targeting VMs offer many advantages, not the least of which is portability. The performance is plenty fast. I've seen Java and C# perform faster than Delphi on SciMark, for instance! I've even gotten JITted Python to perform faster than FreePascal in certain instances.

>Those virtual machines do not have any scientific value.

Huh?

> Excuse me, but we won't write any code for imaginary machines.

So you don't target Android either?

>If we also consider the fact that C++ is a systems-programming language, we can easily realize that we don't have any other choice than Pascal for professional software development. Object Pascal is the only programming language in the world!

Are you a troll or is there something... wrong... with you?
Title: Re: Lazarus 1.6.4 - Released
Post by: jacmoe on March 05, 2017, 02:40:36 am
Are you a troll or is there something... wrong... with you?
I don't think anyone here cares one bit what you think, so let it go.

In every one of your 3 posts, you have been picking on pascal.

Hello ... ? You are in a Pascal community.
If you don't like the language, then why are you here? to fight?
If not, then it would probably be a good idea to tone it down several notches.  ;)
Title: Re: Lazarus 1.6.4 - Released
Post by: vfclists on March 05, 2017, 02:17:37 pm
I built a 64bit version of Lazarus 1.6.4 - FPC 3.0.2 using fpcupdeluxe, and when I do Clean and Build IDE it takes forever. I usually have to abort the compilation and restart it.

And then from then on when I start to compile project it apparently goes back to rebuilding the packages it did not complete before I aborted the rebuild.

Any ideas why this could happening? I could
Title: Re: Lazarus 1.6.4 - Released
Post by: howardpc on March 06, 2017, 12:49:00 am
You could try
   Tools->Rescan FPC Source Directory
Title: Re: Lazarus 1.6.4 - Released
Post by: Eugene Loza on March 06, 2017, 09:27:26 am
As it is to find in forum - "a lot" of people do not quickly solve this problem... - maybe you could quickly help...   :)
Sorry for the delay - I don't have Internet at home. As far as I remember, I've just installed all my dependencies and I was "clean" then. According to http://forum.lazarus.freepascal.org/index.php?topic=32554.0
Namely the packages installed were: https://github.com/eugeneloza/decoherence/blob/master/readme_compile.txt
However, I'm not sure if this was the exact solution that solved the issue.


Well... I've tried it again and it won't work as it did a few days ago :-[ Maybe, I've missed something, sorry...
Title: Re: Lazarus 1.6.4 - Released
Post by: cpicanco on March 06, 2017, 01:13:40 pm
Thank you so much. You are awesome!
Title: Re: Lazarus 1.6.4 - Released
Post by: lazie on March 06, 2017, 07:31:47 pm
Well... I've tried it again and it won't work as it did a few days ago :-[ Maybe, I've missed something, sorry...

Thank you for your response ! - There is a simple solution.
xterm has told that with using the FPC tar-packed download from FreePascal-download-site (instead of fpc as x86-deb-package) - everything is allright.
- So I first installed fpc3.0.2 as deb-package and lazarus 1.6.4 as deb-package. - And then to solve the problem I over-installed FPC from tar-packed-download (./install.sh) at the end.

So that simply helps.
But should a bug-report be done ? - Because the right place to solve - would be the x86-deb-package...
EDIT - I see thats going on:
http://bugs.freepascal.org/view.php?id=31482
http://bugs.freepascal.org/view.php?id=31490
"Error while linking during rebuilding the IDE Lazarus" http://forum.lazarus.freepascal.org/index.php/topic,36093.0.html
Title: Re: Lazarus 1.6.4 - Released
Post by: jwdietrich on March 06, 2017, 08:22:01 pm
Thanks! :)
Title: Re: Lazarus 1.6.4 - Released
Post by: Handoko on March 07, 2017, 08:29:25 am
I've just upgraded to Lazarus 1.6.4 FPC 3.0.2 on my Ubuntu Mate 64-bit computer. I used the 3 deb files downloaded from SourceForge and performed a clean installation.

A small warning happened when installing FPC, it said it is conflict with FPC.  %) I didn't understand, so I simply ignored it.

I also installed LAMW. So far everything seems to work correctly.

Thank you Lazarus/FPC team.
Title: Re: Lazarus 1.6.4 - Released
Post by: vfclists on March 07, 2017, 08:46:11 am
You could try
   Tools->Rescan FPC Source Directory

That seems to have fixed it.

Thanks

Original question
I built a 64bit version of Lazarus 1.6.4 - FPC 3.0.2 using fpcupdeluxe, and when I do Clean and Build IDE it takes forever. I usually have to abort the compilation and restart it.

And then from then on when I start to compile project it apparently goes back to rebuilding the packages it did not complete before I aborted the rebuild.

Any ideas why this could happening? I could
Title: Re: Lazarus 1.6.4 - Released
Post by: snorkel on March 08, 2017, 05:02:42 pm
I don't know if anyone knows this but FPC 3.02 has fixed a serious bug with createevent in the windows rtl.

So if your doing anything with threading that uses createevent for callback events or whatever this is a good reason to update.

Same bug affected older versions of Delphi and was only fixed last year in that product.

Basically the RTL was not assigning Nil to the name parameter if the createevent name was left blank, and instead it assigned a empty null terminated string which is not nil and caused all kinds of issues with certain multithreaded tcp/ip libs .
Title: Re: Lazarus 1.6.4 - Released
Post by: Michaela Joy on March 08, 2017, 05:24:20 pm
I just wanted to say thank you for all your hard work on FPC and Lazarus.

Title: Re: Lazarus 1.6.4 - Released
Post by: mbisax on March 10, 2017, 10:14:28 am
Since version 1.6 (not sure which version, specifically), the file .po file generated for the internationalization (enabling i18n to project), no longer contains the labels of the columns (TGridColumnTitle.Caption) so it is not possible to internationalize the project.
How do I report this malfunction to the team?
Thanks on advance.
Title: Re: Lazarus 1.6.4 - Released
Post by: Ondrej Pokorny on March 10, 2017, 12:41:35 pm
Since version 1.6 (not sure which version, specifically), the file .po file generated for the internationalization (enabling i18n to project), no longer contains the labels of the columns (TGridColumnTitle.Caption) so it is not possible to internationalize the project.
How do I report this malfunction to the team?

Strange - TGridColumnTitle.Caption is of type TCaption and should work just fine. Report to mantis.freepascal.org (http://mantis.freepascal.org) with a simple demo application. Thanks.
Title: Re: Lazarus 1.6.4 - Released
Post by: mbisax on March 10, 2017, 02:11:41 pm
Strange - TGridColumnTitle.Caption is of type TCaption and should work just fine. Report to mantis.freepascal.org (http://mantis.freepascal.org) with a simple demo application. Thanks.
Many thanks for the link. I'm going to write immediately explaining the problem.
Thank you.
Title: Re: Lazarus 1.6.4 - Released
Post by: mbisax on March 10, 2017, 02:24:50 pm
Since version 1.6 (not sure which version, specifically), the file .po file generated for the internationalization (enabling i18n to project), no longer contains the labels of the columns (TGridColumnTitle.Caption) so it is not possible to internationalize the project.
How do I report this malfunction to the team?
Thanks on advance.
I respond by alone.
Thanks to the link of ondrejpokorny, I found that the problem has already been reported and fixed.
http://mantis.freepascal.org/view.php?id=30013
Unfortunately it has been set for version 1.7SVN so, or wait for the stable Lazarus 1.8 or download and install the 1.7 SVN.
Thanks ondrejpokorny.
Title: Re: Lazarus 1.6.4 - Released
Post by: Ondrej Pokorny on March 10, 2017, 03:15:34 pm
Expect 1.8 soon :)
Title: Re: Lazarus 1.6.4 - Released
Post by: vfclists on March 10, 2017, 10:06:38 pm
Expect 1.8 soon :)

How soon?

Can't it go into fixes?
Title: Re: Lazarus 1.6.4 - Released
Post by: antispam88 on March 14, 2017, 08:00:03 am
Hi,

I have two bugs regarding this release concerning anchordocking.

I have discovered creating a debug desktop doesn't work when ide is maximised. If you activate another desktop for debugging, then you end up in an loop the gui elements are rearranged and after a while the ide stops working. You have to start with a not maximised ide, then it works correctly.

Another thing I recognized is that the bug that the Source Editor Window Manager doesn't close if you hit Esc. With anchordocking disabled it works like expected. This "feature" is there I think at least since 1.4.0. I hope this will be fixed soon.

Best regards,
antispam88


My system:
Win 10 64 prof.
Lazarus 1.6.4
FPC 3.0.2
AnchorDockingDsgn 0.5
Title: Re: Lazarus 1.6.4 - Released
Post by: Ondrej Pokorny on March 18, 2017, 10:46:29 am
How soon?

April.

Can't it go into fixes?

I added it to merge list http://wiki.freepascal.org/Lazarus_1.6_fixes_branch#Merged_revisions_for_1.6.6 (http://wiki.freepascal.org/Lazarus_1.6_fixes_branch#Merged_revisions_for_1.6.6)
Title: Re: Lazarus 1.6.4 - Released
Post by: georgebou on March 21, 2017, 10:51:20 am
Good job guys
Title: Re: Lazarus 1.6.4 - Released
Post by: rick2691 on March 21, 2017, 06:24:34 pm
I use WinXP Pro, Service Pack 3.

I installed 1.6.4 and it appeared to be working. I then installed AncorDocking and it lost the Run and Switch to Form icons. By View I tried to find those tools, but I did not see anything that looked like them. I selected something that might be right and the installation crashed.

The message was very techy and I could not copy/paste the message. It would be good if those messages were copy active.

I had to uninstall 1.6.4 and go back to 1.4.4. It is the only version that doesn't have any issues.

Rick
Title: Re: Lazarus 1.6.4 - Released
Post by: loaded on March 22, 2017, 06:32:44 am
Very Very Thanks :)
Title: Re: Lazarus 1.6.4 - Released
Post by: JuhaManninen on March 22, 2017, 12:49:14 pm
I installed 1.6.4 and it appeared to be working. I then installed AncorDocking and it lost the Run and Switch to Form icons. By View I tried to find those tools, but I did not see anything that looked like them. I selected something that might be right and the installation crashed.
Try with clean configuration. Lazarus 1.6.4 works for many people. It apparently does not have so serious bugs.
Title: Re: Lazarus 1.6.4 - Released
Post by: rvk on March 22, 2017, 01:16:07 pm
I installed 1.6.4 and it appeared to be working. I then installed AncorDocking and it lost the Run and Switch to Form icons. By View I tried to find those tools, but I did not see anything that looked like them. I selected something that might be right and the installation crashed.
When switching to Anchordocking you might need to re-enable the Coolbar.
(it somehow gets deselected when choosing the anchordocking)

Title: Re: Lazarus 1.6.4 - Released
Post by: Ondrej Pokorny on March 22, 2017, 02:41:29 pm
Yes, 1.6.x has the "When switching to Anchordocking desktop config gets lost" bug. It's fixed in 1.7, though.

But it's nothing really serious - rvk showed you how to re-enable the coolbar.
Title: Re: Lazarus 1.6.4 - Released
Post by: taazz on March 26, 2017, 01:12:53 am
Exciting times, this one seems to be a very good release. Thank you every one keep up the good work.
Title: Re: Lazarus 1.6.4 - Released
Post by: jma_sp on March 27, 2017, 09:11:00 am
Hello taazz,

A good team = a good development  :)

Best Regards.
Title: Re: Lazarus 1.6.4 - Released
Post by: MISV on April 11, 2017, 02:16:54 am
Has anyone else had problems with critical sections, specificly EnterCriticalSection and LeaveCriticalSection, blowing up when running on Mac and Lazarus 1.6.4?

I had the same code/logic running in Lazarus1.4.4/Mac and still have it running in Delphi2010/Windows, DelphiXE4/Windows, Lazarus1.6.4/Windows, but on now on Lazarus1.6.4/Mac it appears I have some code crashing (once I saw an EInOutError if that helps) when critical sections - usually I RunError2016 a address xxxxx

It may very well be my code - but it is a codebase that has been fairly stable and debugged for some years (although I do spend far most time on Windows) - but just wanted to hear if I were the only one or if here was a known issue?

Title: Re: Lazarus 1.6.4 - Released
Post by: Phil on April 11, 2017, 02:39:32 am
Has anyone else had problems with critical sections, specificly EnterCriticalSection and LeaveCriticalSection, blowing up when running on Mac and Lazarus 1.6.4?

Note this probably would not have anything to do with the version of Lazarus, since critical sections are FPC System unit features. I assume you're using FPC 3.0.2 or trunk.

I would agree that it's probably your code, since our own code is usually the culprit. Can you isolate the critical section code in order to create a sample test app that demonstrates the problem? If so, then post a bug report.

If the code worked with a previous version of FPC, then it should still work with newer versions of FPC.

A program is only as good as the testing done on all supported platforms. If you're usually working on Windows, it's easy for changes to slip in that have not been tested on other platforms, making you think that the code used to work - some code worked, I don't doubt, but maybe not the latest code.

It's also possible for serious bugs still to be lurking in the FPC RTL, even after all of these years, hence the importance of a reproducible bug report. I recently ran into a showstopper bug in the FPC RTL, so it can happen (fortunately it was easy to fix), although that's normally the last place I would look for the source of a problem.

http://bugs.freepascal.org/view.php?id=31555
Title: Re: Lazarus 1.6.4 - Released
Post by: MISV on April 11, 2017, 11:39:39 am
I have e.g. 5 threads hat run like this:

1)
do work (e.g. download page)

2)
Example code of what is running in e.g  5 threads (Each thread has its own job and will never be updating the same data in a grid/table/list/view. Each thread maybe updates GUI once every 5 seconds)

Code: Pascal  [Select][+][-]
  1.                  
  2.                   FJob_Exec_Threads_GUI_CS.Acquire;
  3.                   FJob_Exec_Threads_GUI_Value := S2;
  4.                   FJob_Exec_Threads_GUI_Indices_Items := Sites_O.Value;
  5.                   FJob_Exec_Threads_GUI_Indices_SubItems := 1 + TmpColIdxR;
  6.                   {$IFDEF mymsDELPHI}
  7.                   TmsThread(Sender).SynchronizeToMain(Results_Exec_ThreadsSync_SetVal);
  8.                   {$ENDIF}
  9.                   {$IFDEF mymsFPCDevTool}
  10.                   TmsThread(Sender).SynchronizeToMain(@Results_Exec_ThreadsSync_SetVal); // maps down to TThread.Synchronize(self,AMethod);
  11.                   {$ENDIF}
  12.                   FJob_Exec_Threads_GUI_CS.Release;
  13.  

I think since I use threads like crazy another place (crawler) much more intensive that the problem must be related to something to GUI (albeit he error happens deep inside system call to enter/leave criticalsection)

Title: Re: Lazarus 1.6.4 - Released
Post by: Thaddy on April 11, 2017, 11:55:53 am
It's not the gui, which is always the heaviest thread, but the amount of interfacing between other threads and the GUI that is causing you problems.
That's a beginners mistake: you can't always get what you want, right now. Visual feedback is generally not important. Compute is much faster than your eyes can follow.
So don't stress the repaints, silly. Eventually you will learn to use a timer for that at ~ 50 frames, max. ~20 frames is sufficient to keep your eyes happy.
Visual feedback is non and old information, computing wise.
Title: Re: Lazarus 1.6.4 - Released
Post by: MISV on April 11, 2017, 10:24:21 pm
Update


Error was found in my own ResumeAndWaitForMultipleThreads construct
Title: Re: Lazarus 1.6.4 - Released
Post by: dracon on May 01, 2017, 09:50:49 pm
Hello to all

I would like to ask if there is any solution to the HiDPI problem (like in a MacBook Pro Retina) and Lazarus.

Thank you.
Title: Re: Lazarus 1.6.4 - Released
Post by: balazsszekely on May 01, 2017, 09:55:15 pm
Hi dracon,

Quote
I would like to ask if there is any solution to the HiDPI problem (like in a MacBook Pro Retina) and Lazarus.
Yes there is but you have to switch to Lazarus trunk or wait for Lazarus 1.8(it's just around the corner).
Title: Re: Lazarus 1.6.4 - Released
Post by: dracon on May 01, 2017, 10:13:05 pm
That's nice. Thank you for your kind reply ;)
Title: Re: Lazarus 1.6.4 - Released
Post by: Locutus on May 04, 2017, 11:04:34 am
Hey guys!

First of all, since this is my first post here, of course a big thanks and thumbs up for this brilliant project! I switched over to it from Borland Delphi after I refused to pay their horrendous prices for updates any longer, and do not regret it! ;-)

I just went to the download page of Lazarus 1.6.4 and compared the SHA256 checksums of the file I downloaded with the official list. It seems there's been some mixup?

For example, the SHA256 for the actual file "lazarus-1.6.4-fpc-3.0.2-win64.exe" differs from the one in the list, but matches the one for "lazarus-1.6.4-fpc-3.0.2-cross-i386-win32-win64.exe".

The other checksums (MD5, SHA1) are correct though.

Just thought I'd mention that, to avoid confusion and possible questions about manipulated downloads. :)

Cheers,
Frank
Title: Re: Lazarus 1.6.4 - Released
Post by: luckylynx on May 07, 2017, 08:10:44 pm
Hi Lazarus team,
there must be a huge difference between 1.6.0 and 1.6.4.
My application (merchandise planning and control system) based on Firebird 3.0 compiles and works fine in 1.4.4 and 1.6.0.
The compilation in 1.6.4 is Ok but the program starts with 'field not found errors' what is nonsens and show windows without any data.
Any ideas ?
Title: Re: Lazarus 1.6.4 - Released
Post by: zeljko on May 08, 2017, 08:30:23 am
Probably because 1.6.4 comes with fpc 3.0
Title: Re: Lazarus 1.6.4 - Released
Post by: JuhaManninen on May 08, 2017, 12:25:21 pm
Probably because 1.6.4 comes with fpc 3.0
Actually it comes with FPC 3.0.2 which indeed had many changes compared to FPC 3.0.
Title: Re: Lazarus 1.6.4 - Released
Post by: PeterX on May 08, 2017, 02:01:28 pm
Great thing, guys !


Just playing around with C:\lazarus\examples\  ...

dbeditmask - exception on first start ..  :)
Title: Re: Lazarus 1.6.4 - Released
Post by: JuhaManninen on May 08, 2017, 02:42:41 pm
Just playing around with C:\lazarus\examples\  ...
dbeditmask - exception on first start ..  :)
I fixed it in r54833 (trunk). It will be backported to 1.8, too.
The reason was a wrong ShortDateFormat: 'd/M/yyyy' instead of 'd/m/yyyy'. Has it ever worked? What changed? Strange.
Title: Re: Lazarus 1.6.4 - Released
Post by: PeterX on May 10, 2017, 11:05:25 am
.. will be backported to 1.8, too.
How far away is 1.8 ?
Title: Re: Lazarus 1.6.4 - Released
Post by: JuhaManninen on May 10, 2017, 11:20:18 am
How far away is 1.8 ?
Not decided yet. During the summer depending on how many RCs are needed.
I recommend the fixes_1_8 branch already now for people who have problems with earlier versions.
Title: Re: Lazarus 1.6.4 - Released
Post by: PeterX on May 10, 2017, 11:31:51 am
How far away is 1.8 ?
Not decided yet. During the summer depending on how many RCs are needed.
I recommend the fixes_1_8 branch already now for people who have problems with earlier versions.
Okay, this gives me some time ..  :)

The step from 1.4 to 1.6 was a large one for me because of the new UTF-8 mode.
Will there be big changes from 1.6 to 1.8, compared to this ?
Title: Re: Lazarus 1.6.4 - Released
Post by: JuhaManninen on May 10, 2017, 11:52:09 am
The step from 1.4 to 1.6 was a large one for me because of the new UTF-8 mode.
Will there be big changes from 1.6 to 1.8, compared to this ?
The Unicode change with FPC 3 broke some old code which is unusual.
The changes are now smaller. The biggest change affecting LCL and user apps may be the high DPI support by Ondrej. It is backwards compatible. Earlier there was no support for high DPI.
I believe your code works with 1.8 as is. The IDE is improved, too. I dare to say it is safe to switch! Just try yourself.
Title: Re: Lazarus 1.6.4 - Released
Post by: PeterX on May 10, 2017, 04:00:30 pm
I believe your code works with 1.8 as is. The IDE is improved, too. I dare to say it is safe to switch! Just try yourself.
This is good news !  Thanks !
Title: Re: Lazarus 1.6.4 - Released
Post by: JD on May 11, 2017, 12:05:11 pm
I believe your code works with 1.8 as is. The IDE is improved, too. I dare to say it is safe to switch! Just try yourself.

Hi there Juha,

That sounds tempting. What changes have been made to the IDE for 1.8?

Thanks,

JD
Title: Re: Lazarus 1.6.4 - Released
Post by: JuhaManninen on May 11, 2017, 12:50:24 pm
That sounds tempting. What changes have been made to the IDE for 1.8?
At least there is the new menu designer and the online package manager by GetMem is included.
The package manager itself is fully functional but not fully integrated with the rest of Lazarus package system, so it is still work in progress.

There are plenty of smaller fixes. Uhhh, somebody should update this page:
 http://wiki.freepascal.org/New_IDE_features_since#v1.8

LCL has new widgetsets, QT5 and GTK3 (which is still under construction).

Everyone please test the fixes 1.8 branch and report bugs.
Title: Re: Lazarus 1.6.4 - Released
Post by: Ondrej Pokorny on May 11, 2017, 06:51:30 pm
Please see http://wiki.freepascal.org/Lazarus_1.8.0_release_notes (http://wiki.freepascal.org/Lazarus_1.8.0_release_notes) for details.
Title: Re: Lazarus 1.6.4 - Released
Post by: rick2691 on June 05, 2017, 07:33:24 pm
I recently tried to install Lazarus 1.6.4 (3.0.2) 64bit onto a Windows 10 64bit computer.

It installed well, but it would not run or compile any apps. An error message was that it could not find the IDE config file. Another was, Illegal parameter: -Twin32.

I wasn't able to determine what that had applied to.

I also saw nothing where I could manually direct it to the IDE config file (I had created a separate folder for its files, because I had also installed as an independent compiler). So I uninstalled, and reinstalled. It still gave the same errors.

I then tried to install Lazarus 1.6.4 (3.0.2) 32bit. It behaved well with all my apps, and they would run and compile. No errors.

The drawback is that they are 32bit, and for most of them, I have to set their compatibility modes. Mostly because they do ActiveX to interact with other programs.

Additionally, I was able to use Anchordocking with both installs, but I did have to re-enable the Coolbar, as others have said. It was a bit of trouble to figure out how to do so. The setting wasn't anywhere that I would expect.

Rick
Title: Re: Lazarus 1.6.4 - Released
Post by: cvb255 on June 08, 2017, 06:32:59 am
thanks to the best team ever  ;D  i saw many developers like me will be very happy if lazarus support midi forms
Title: Re: Lazarus 1.6.4 - Released
Post by: taazz on June 08, 2017, 06:39:11 am
thanks to the best team ever  ;D  i saw many developers like me will be very happy if lazarus support midi forms
midi forms? any link to explain the concept?
Title: Re: Lazarus 1.6.4 - Released
Post by: Ñuño_Martínez on June 08, 2017, 09:47:33 am
I think he/she means MDI support.
Title: Re: Lazarus 1.6.4 - Released
Post by: ur_naz on November 11, 2017, 11:38:39 pm
Found this in unit Graphics.
Code: Pascal  [Select][+][-]
  1. TCanvasOrientation = (csLefttoRight, coRightoLeft);
TinyPortal © 2005-2018