Lazarus

Announcements => Lazarus => Topic started by: mattias on November 15, 2016, 05:00:07 pm

Title: Lazarus 1.6.2 - Released
Post by: mattias on November 15, 2016, 05:00:07 pm
The Lazarus team is glad to announce the release of Lazarus 1.6.2. This is a bugfix release.

This release was built with FPC 3.0.0.
The previous release Lazarus 1.6.0 was built with FPC 3.0.0 too.

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.0

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.2" directory.

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

Minimum requirements:

Windows:
  MS Windows >= Win98 (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.11, LCL only 32bit, non LCL apps can be 64bit.

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

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

For people who are blocked by SF, the Lazarus releases from SourceForge
are mirrored 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/
Title: Re: Lazarus 1.6.2 - Released
Post by: Thaddy on November 15, 2016, 05:50:27 pm
The previous release was Lazarus 1.6.0 which was released at February 18, 2016. Not 1.4.4.
You may want to correct that...

Otherwise congrats on this release for an ever more valuable and usable piece of software to all that helped improve it.
Indeed, even me is actually using it now ;)  :-* 8-) O:-)
Title: Re: Lazarus 1.6.2 - Released
Post by: Handoko on November 15, 2016, 06:05:13 pm
 :D  T  :D  H  :D  A  :D  N  :D  K  :D   :D   :D  Y  :D  O  :D  U  :D
Title: Re: Lazarus 1.6.2 - Released
Post by: jwdietrich on November 16, 2016, 12:19:58 am
That is good news (again). Thanks to all contributors.
Title: Re: Lazarus 1.6.2 - Released
Post by: chenyuchih on November 16, 2016, 01:56:21 am
What a great news! Thank you all guys the Lazarus team!

I love Lazarus & Free Pascal!!
Title: Re: Lazarus 1.6.2 - Released
Post by: srcstorm on November 16, 2016, 02:00:12 am
Great, thanks!
Title: Re: Lazarus 1.6.2 - Released
Post by: boren on November 16, 2016, 05:25:01 am
Thanks for you effort.
Bravo! Lazarus and Free Pascal!
Title: Re: Lazarus 1.6.2 - Released
Post by: cappe on November 16, 2016, 07:08:55 am
Thank you, I love Lazarus and freepascal

Gabriele
Title: Re: Lazarus 1.6.2 - Released
Post by: dogriz on November 16, 2016, 07:50:31 am
Already switched to fixes 1.6.3  :) on Debian x64 and i386 systems.
Next to test - arm (OrangePi).
Title: Re: Lazarus 1.6.2 - Released
Post by: e-ric on November 16, 2016, 08:17:07 am
Hello

Great thanks to the Lazarus Team and i wish long life to Lazarus Project.

Best regards

Eric
Title: Re: Lazarus 1.6.2 - Released
Post by: mischi on November 16, 2016, 09:13:01 am
Hi.

For Mac OS X, fink based lazarus will be ready in a few days. In addition to the 32bit carbon based version, there are 64bit gkt2 and Qt4 versions. Cross-compiling for Win32, Win64 and wince is also available.

MiSchi.
Title: Re: Lazarus 1.6.2 - Released
Post by: ps on November 16, 2016, 09:23:42 am
Thank's. It's interesting that newest delphi xe10.1 update II keeping me cold and I'm downloading Lazarus 1.6.2 :) Great work!
Title: Re: Lazarus 1.6.2 - Released
Post by: JZS on November 16, 2016, 11:23:55 am
Thank you Lazarus Team. Great job.
Title: Re: Lazarus 1.6.2 - Released
Post by: Eugene Loza on November 16, 2016, 11:42:50 am
Thanks a lot! Installing ... :)
Title: Re: Lazarus 1.6.2 - Released
Post by: Groffy on November 16, 2016, 11:49:35 am
Thanks to the Lazarus team for their great work! When looking at the long list of fixes and improvements its impressive!!

When looking into the repository log, it seems that most commits are coming from a handful of developer, I just hope these people will keep their motivation.

Thanks again !
Title: Re: Lazarus 1.6.2 - Released
Post by: TurboRascal on November 16, 2016, 12:20:43 pm
Congratulations on the new release and big thanks to the team!
Title: Re: Lazarus 1.6.2 - Released
Post by: Jay on November 16, 2016, 12:22:59 pm
Thanks for the new release. I have a couple of questions: do I need to remove the old packages (I'll be downloading the linux 32 debs) before upgrading and do I need to download all 3 packages or just the lazarus package?

Thanks.
Title: Re: Lazarus 1.6.2 - Released
Post by: guest58172 on November 16, 2016, 02:38:03 pm
Thank you.
Title: Re: Lazarus 1.6.2 - Released
Post by: lainz on November 16, 2016, 04:51:50 pm
Compiling well under Ubuntu x64, no more errors about missing libraries.
Title: Re: Lazarus 1.6.2 - Released
Post by: silvestre on November 16, 2016, 06:01:43 pm
Lazarus, every step is better!
Congratulations to the team. :)
Title: Re: Lazarus 1.6.2 - Released
Post by: tr_escape on November 17, 2016, 08:15:01 am
Hello Lazarus team,

I just installed over the 1.6.0 in Linux Mint 32 bit but I am getting some warning about LCLBase what does it mean?
I attached an picture.

But compiling is continue normally.
Title: Re: Lazarus 1.6.2 - Released
Post by: howardpc on November 17, 2016, 11:55:28 am
The first few lines of a default project1.lpr in obfpc mode looks like this
Code: Pascal  [Select][+][-]
  1. program Project1;
  2.  
  3. {$mode objfpc}{$H+}
  4.  
  5. uses
  6.   {$IFDEF UNIX}{$IFDEF UseCThreads}
  7.   cthreads,
  8.   {$ENDIF}{$ENDIF}
  9.   Interfaces, // this includes the LCL widgetset  < === note the inclusion of this unit
  10.   Forms, unit1
  11.   { you can add units after this };  

It looks as if for some reason the .lpr of your project omits the Interfaces unit.
You can click the "Add unit interfaces" button in the dialog you saw, or add it manually to correct the error.           
Title: Re: Lazarus 1.6.2 - Released
Post by: JuhaManninen on November 17, 2016, 02:52:11 pm
It looks as if for some reason the .lpr of your project omits the Interfaces unit.
Lazarus 1.6.0 gives the same warning in that situation. I don't know how the update can affect it.
Maybe there are mixed .ppu and .o files from the old revision. Just rebuild Lazarus and its packages clean. Usually it solves all problems.
Title: Re: Lazarus 1.6.2 - Released
Post by: knuckles on November 17, 2016, 03:55:09 pm
Excellent job guys to all involved in the Lazarus project and community, respect and appreciation to all 8)
Title: Re: Lazarus 1.6.2 - Released
Post by: mirce.vladimirov on November 17, 2016, 03:57:55 pm
Thank you very much for all that you do for us. You are doing wonderfull job.
Title: Re: Lazarus 1.6.2 - Released
Post by: ecrypt on November 17, 2016, 06:04:57 pm
Install on Debian-8-amd64 it's ok

Thank you
Title: Re: Lazarus 1.6.2 - Released
Post by: MichaelBM on November 17, 2016, 09:31:33 pm
Installed version 1.6.2 in the same directory as version 1.6 without uninstalling version 1.6

Did a rebuild of Lazarus - no errors.

Everything works fine! Thank you!

 :D
Title: Re: Lazarus 1.6.2 - Released
Post by: Zath on November 17, 2016, 10:55:47 pm
The Lazarus team is glad to announce the release of Lazarus 1.6.2. This is a bugfix release.

This release was built with FPC 3.0.0.
The previous release Lazarus 1.6.0 was built with FPC 3.0.0 too.

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.0


Sorry if I'm being a complete fool but if this is 1.6.2, why are the release notes for 1.6.0 ?
Also if 1.6.0 and 1.6.2 are both built with FPC3.0.0, how is it this is shown to have changes ?

Title: Re: Lazarus 1.6.2 - Released
Post by: molly on November 17, 2016, 11:05:03 pm
Also if 1.6.0 and 1.6.2 are both built with FPC3.0.0, how is it this is shown to have changes ?
There aren't any. Perhaps you could better read it as "Available features and changes that have been introduced with FPC 3.0.0".

But, that is only relevant if you were coming from a lazarus version that didn't had FPC 3.0 as compiler. Same goes for Lazarus, even though there is a page which list the changes for 1.6.2
Title: Re: Lazarus 1.6.2 - Released
Post by: Martin_fr on November 18, 2016, 01:37:43 am
but if this is 1.6.2, why are the release notes for 1.6.0 ?
1.6.2 is a bug fix release. So there are no new features. Hence no release notes.
There is a list of the bugs that were fixed: http://wiki.lazarus.freepascal.org/Lazarus_1.6_fixes_branch

Quote
Also if 1.6.0 and 1.6.2 are both built with FPC3.0.0, how is it this is shown to have changes ?
The changes are both for the last major release.
So actually what changed in Lazarus 1.6

Thinking about, this may be a bit misleading.

This is for anyone coming from an earlier 1.4.x release.
Every 1.6.x shares the release notes with 1.6

-------------------------
New features are in "trunk" (svn).
This will at some point (not known yet) be released as 1.8.
Some of the feature are already on the wiki. http://wiki.lazarus.freepascal.org/Lazarus_1.8.0_release_notes
But there may be new features in trunk that have not been added. So the list in under construction.
Title: Re: Lazarus 1.6.2 - Released
Post by: Lulu on November 18, 2016, 07:54:44 am
Thanks You very much for all your great work since many years !  :)
Title: Re: Lazarus 1.6.2 - Released
Post by: tr_escape on November 18, 2016, 08:48:16 am
It looks as if for some reason the .lpr of your project omits the Interfaces unit.
Lazarus 1.6.0 gives the same warning in that situation. I don't know how the update can affect it.
Maybe there are mixed .ppu and .o files from the old revision. Just rebuild Lazarus and its packages clean. Usually it solves all problems.

Unfortunately I couldn't pass this warning.

So I tried on a new installation of a debian linux 32bit in the virtualbox.

I installed the 3 of files of .deb of lazarus.

My install order is:

fpc_3.0.0-151205_i386.deb,

fpc-src_3.0.0-151205_i386.deb

lazarus_1.6.2-0_i386.deb

and related packages.

After installation I attempt to run lazarus and lazarus said me debugger is missing. (Attach 1)

I said OK there is no problem for now debugger and I continued but this warning is still giving.

Also last evening I tried on my real computer with Linux Mint is results are same.

And I couldn't rollback to 1.6.0 :(

Edit reason: debugger picture warning and English correction
Title: Re: Lazarus 1.6.2 - Released
Post by: dogriz on November 18, 2016, 11:36:13 am
@tr_escape

Install debugger on Debian/mint/ubuntu:
Code: [Select]
sudo apt-get install gdb
If gdb is installed, but you get the same message for some reason, try adding it manually:
first, find out where is gdb installed:
Code: [Select]
whereis gdbYou should get something like this:
Code: [Select]
gdb: /usr/bin/gdband add it manually (or browse to it).
Title: Re: Lazarus 1.6.2 - Released
Post by: tr_escape on November 18, 2016, 11:59:07 am
@tr_escape

Install debugger on Debian/mint/ubuntu:
Code: [Select]
sudo apt-get install gdb
If gdb is installed, but you get the same message for some reason, try adding it manually:
first, find out where is gdb installed:
Code: [Select]
whereis gdbYou should get something like this:
Code: [Select]
gdb: /usr/bin/gdband add it manually (or browse to it).

@dogriz,

Thank you so much gdb issue is solved.

But I had to remove lazarus 1.6.2 and I reinstalled the 1.6.0 for now.

I'll try later.
Title: Re: Lazarus 1.6.2 - Released
Post by: SymbolicFrank on November 18, 2016, 12:22:49 pm
I would like it very much if Lazarus and the controls finally started to recognize it when you have your Windows taskbar in another location then at the bottom.

IIRC. the previous version at least recognized it when you maximized the main Lazarus window, but now it pops behind the taskbar.

It also tends to restore the windows at the wrong location.
Title: Re: Lazarus 1.6.2 - Released
Post by: knuckles on November 18, 2016, 04:47:19 pm
I would like it very much if Lazarus and the controls finally started to recognize it when you have your Windows taskbar in another location then at the bottom.

IIRC. the previous version at least recognized it when you maximized the main Lazarus window, but now it pops behind the taskbar.

It also tends to restore the windows at the wrong location.

Try unchecking this option maybe:

Tools > Options... > Environment > Window > Automatically adjust IDE main window height
Title: Re: Lazarus 1.6.2 - Released
Post by: Thaddy on November 18, 2016, 09:23:31 pm
That is a work-around. Not an explanation and solution why Lazarus uses the screen size instead of the working area. It is a bug.
Title: Re: Lazarus 1.6.2 - Released
Post by: Ondrej Pokorny on November 19, 2016, 08:04:25 am
Please file a bug report in mantis.
Title: Re: Lazarus 1.6.2 - Released
Post by: Thaddy on November 19, 2016, 08:23:48 am
And add this info:
For GTK+:
Code: [Select]
gdk_monitor_get_workarea ()
void
gdk_monitor_get_workarea (GdkMonitor *monitor,
                          GdkRectangle *workarea);
Retrieves the size and position of the “work area” on a monitor within the display coordinate space. The returned geometry is in ”application pixels”, not in ”device pixels” (see gdk_monitor_get_scale_factor()).
The work area should be considered when positioning menus and similar popups, to avoid placing them below panels, docks or other desktop components.
Note that not all backends may have a concept of workarea. This function will return the monitor geometry if a workarea is not available, or does not apply.
Parameters
monitor
a GdkMonitor
 
workarea
a GdkRectangle to be filled with the monitor workarea.

And for windows the equivalent is:
Code: [Select]
SystemParametersInfo function with the SPI_GETWORKAREA value.

Other widgetsets I don't know enough about. The issue may or may not be easily solvable for all widgetsets.
Title: Re: Lazarus 1.6.2 - Released
Post by: Ondrej Pokorny on November 19, 2016, 12:08:44 pm
It was implemented long long time ago: TScreen.WorkAreaRect, TMonitor.WorkAreaRect

Lazarus IDE probably doesn't take care about it.
Title: Re: Lazarus 1.6.2 - Released
Post by: tr_escape on November 19, 2016, 08:22:25 pm
@dogriz,

Thank you so much gdb issue is solved.

But I had to remove lazarus 1.6.2 and I reinstalled the 1.6.0 for now.

I'll try later.

Hello Lazarus team,

So I tried some experimental changes about Lazarus's source codes in linux.

In "SourceFileManager" unit of lazarus there is a checking for "interfaces" unit of project's main.pas.

But in linux it is not working for

line 1648
Code: Pascal  [Select][+][-]
  1.     // project uses lcl unit Forms
  2.     if (UTF8SearchInStringList(MainUsesSection,'interfaces')>=0)
  3.     or (UTF8SearchInStringList(ImplementationUsesSection,'interfaces')>=0) then
  4.  

and I changed to this lines:

line 1648
Code: Pascal  [Select][+][-]
  1.     // project uses lcl unit Forms
  2.     if (UTF8SearchInStringList(MainUsesSection,'Interfaces')>=0)
  3.     or (UTF8SearchInStringList(ImplementationUsesSection,'Interfaces')>=0) then
  4.  

after this changes my new lazarus is worked as well as good.

Actually I looked up for difference of my lazarus 1.6.0's sources and 1.6.2' sources there is no difference about for this lines.

Also I checked for file names of interfaces.pp , they are same in my linux lowercase.

I think there is a issue inside of UTF8SearchInStringList function.

Best regards
Title: Re: Lazarus 1.6.2 - Released
Post by: JuhaManninen on November 19, 2016, 11:26:31 pm
I think there is a issue inside of UTF8SearchInStringList function.
Indeed it calls UTF8CompareText which was changed in trunk / r51977 by Bart and then merged to 1.6.1 fixes branch.
Please report. It can be marked as related to this issue:
  http://bugs.freepascal.org/view.php?id=29889
Why such error happens only in some computers? I have no idea.
It looks like an impossible error. The unit name is in lower ASCII area, how can a comparison go wrong then?

I guess the IDE finds your project's "interfaces" unit when you Ctrl-Click it.
Title: Re: Lazarus 1.6.2 - Released
Post by: Bart on November 20, 2016, 01:30:40 am
line 1648
Code: Pascal  [Select][+][-]
  1.     // project uses lcl unit Forms
  2.     if (UTF8SearchInStringList(MainUsesSection,'interfaces')>=0)
  3.     or (UTF8SearchInStringList(ImplementationUsesSection,'interfaces')>=0) then
  4.  

and I changed to this lines:

line 1648
Code: Pascal  [Select][+][-]
  1.     // project uses lcl unit Forms
  2.     if (UTF8SearchInStringList(MainUsesSection,'Interfaces')>=0)
  3.     or (UTF8SearchInStringList(ImplementationUsesSection,'Interfaces')>=0) then
  4.  

Can you undo the changes above an try this?

If you go to the ($Lazarus)/ide/ideprocs unit, line 1286

Code: [Select]
function UTF8SearchInStringList(List: TStrings; const s: string): integer;
begin
  if List=nil then exit(-1);
  Result:=List.Count-1;
  while (Result>=0) and (UTF8CompareText(List[Result],s)<>0) do dec(Result);
end;

and change UTF8CompareText to CompareText, does it also fix your problem?

(All unitnames are in ASCII, so there currently is no need to use Utf8 functions in that code).

If this also solves your problem, this indicates that there is an issue with Utf8CompareText or WideCompareText.
Also, if this fixes it, what is your locale?

Bart
Title: Re: Lazarus 1.6.2 - Released
Post by: tr_escape on November 20, 2016, 11:19:19 am
Can you undo the changes above an try this?

If you go to the ($Lazarus)/ide/ideprocs unit, line 1286

Code: [Select]
function UTF8SearchInStringList(List: TStrings; const s: string): integer;
begin
  if List=nil then exit(-1);
  Result:=List.Count-1;
  while (Result>=0) and (UTF8CompareText(List[Result],s)<>0) do dec(Result);
end;

and change UTF8CompareText to CompareText, does it also fix your problem?

(All unitnames are in ASCII, so there currently is no need to use Utf8 functions in that code).

If this also solves your problem, this indicates that there is an issue with Utf8CompareText or WideCompareText.
Also, if this fixes it, what is your locale?

Bart

In ideprocs.pp:
Code: Pascal  [Select][+][-]
  1. function UTF8SearchInStringList(List: TStrings; const s: string): integer;
  2. begin
  3.   if List=nil then exit(-1);
  4.   Result:=List.Count-1;
  5.   while (Result>=0) and (CompareText(List[Result],s)<>0) do dec(Result);
  6. end;
  7.  

In sourcefilemanager.pas:

Code: Pascal  [Select][+][-]
  1.     // project uses lcl unit Forms
  2.     if (UTF8SearchInStringList(MainUsesSection,'interfaces')>=0)
  3.     or (UTF8SearchInStringList(ImplementationUsesSection,'interfaces')>=0) then
  4.       exit;
  5.  

I recompiled lazarus and it is working without pupop warning about 'interfaces'.

My local is Turkey but if there is no difference between 1.6.0 and 1.6.2 this (idepros.pp and sourcefilemanager.pas) functions there is another problem.

Title: Re: Lazarus 1.6.2 - Released
Post by: Bart on November 20, 2016, 02:40:04 pm
Please file a bugreport:

Describe the steps you have done to IDEProcs unit.
Mention your local.

Add a reference to this thread (preferrably pointing to your message where you described this).

In your locale: what is the result of WideUpperCase('interfaces') and what is the result of WideLowerCase('INTERFACES') ?

The same for WideUpperCase(Utf8ToUtf16('interfaces')) and WideLowerCase(Utf8ToUtf16('INTERFACES'))

And to make sure: what is teh result of WideCompareText('interfaces','INTERFACES')?

From wikipedia (https://en.wikipedia.org/wiki/Turkish_alphabet):
The letters Q, W, and X of the ISO basic Latin alphabet do not occur in the Turkish alphabet (replacements for these letters are K, V and KS), while dotted and dotless I are distinct letters in Turkish so that "i" does not become "I" when capitalized.


This may very well be the root cause of your problem.
Bart
Title: Re: Lazarus 1.6.2 - Released
Post by: tr_escape on November 20, 2016, 04:03:35 pm
Please file a bugreport:

Describe the steps you have done to IDEProcs unit.
Mention your local.

Add a reference to this thread (preferrably pointing to your message where you described this).

In your locale: what is the result of WideUpperCase('interfaces') and what is the result of WideLowerCase('INTERFACES') ?

The same for WideUpperCase(Utf8ToUtf16('interfaces')) and WideLowerCase(Utf8ToUtf16('INTERFACES'))

And to make sure: what is teh result of WideCompareText('interfaces','INTERFACES')?

From wikipedia (https://en.wikipedia.org/wiki/Turkish_alphabet):
The letters Q, W, and X of the ISO basic Latin alphabet do not occur in the Turkish alphabet (replacements for these letters are K, V and KS), while dotted and dotless I are distinct letters in Turkish so that "i" does not become "I" when capitalized.


This may very well be the root cause of your problem.
Bart

I created a bug report http://bugs.freepascal.org/view.php?id=30967 (http://bugs.freepascal.org/view.php?id=30967)

Thanks a lot

Title: Re: Lazarus 1.6.2 - Released
Post by: Bart on November 20, 2016, 05:12:01 pm
I created a bug report http://bugs.freepascal.org/view.php?id=30967 (http://bugs.freepascal.org/view.php?id=30967)

Thanks.

Bart
Title: Re: Lazarus 1.6.2 - Released
Post by: VTwin on November 20, 2016, 10:29:40 pm
Excellent! Many thanks to the Lazarus team.

Unfortunately, with Lazarus 1.6.2 on Mac OS X 10.10.5, when I try to open a package file, Lazarus locks up. I get the spinning beach ball of death and have to kill Lazarus.  :(

Perhaps someone else on Mac OS can confirm?

Cheers,
VTwin
Title: Re: Lazarus 1.6.2 - Released
Post by: Phil on November 20, 2016, 10:36:15 pm
Unfortunately, with Lazarus 1.6.2 on Mac OS X 10.10.5, when I try to open a package file, Lazarus locks up. I get the spinning beach ball of death and have to kill Lazarus.  :(

Yes, this happened to me several times with 10.10.5 when trying to open a package file. Only recourse was to force quit Lazarus and try again.

However, I can't reproduce it now.

Lazarus also would not rebuild with the previous set of installed packages: checksum errors on its own (Lazarus) units. Only solution was to remove these packages from install, then rebuild Laz, then add the offending packages back one by one and rebuild after each one.
Title: Re: Lazarus 1.6.2 - Released
Post by: VTwin on November 20, 2016, 10:40:51 pm
Phil,

Thanks. Yes it is a little weird. It also occurs other times when the File Open dialog is open. However, after ejecting some external drives (I have many connected), it does not happen.

Cheers,
VTwin
Title: Re: Lazarus 1.6.2 - Released
Post by: VTwin on November 20, 2016, 11:15:39 pm
It is hard to reproduce. I tried mounting and ejecting external drives to see if I could figure out a pattern. No luck. I can not make this occur when using TOpenDialog in an application, so I am hoping it is safe to use 1.6.2.

Cheers,
VTwin

EDIT:
A lock up is happening in a TSaveDialog in a compiled application. I will go back to 1.6.0 for now. :(
Title: Re: Lazarus 1.6.2 - Released
Post by: JuhaManninen on November 21, 2016, 12:09:37 pm
A lock up is happening in a TSaveDialog in a compiled application. I will go back to 1.6.0 for now. :(
Can you please test which revision causes the regression against 1.6.0. It may be related to this:
 http://bugs.freepascal.org/view.php?id=29694
and its related / duplicate issues.
Info about all merged revisions:
 http://wiki.freepascal.org/Lazarus_1.6_fixes_branch#Fixes_for_1.6.2_.28merged.29
Title: Re: Lazarus 1.6.2 - Released
Post by: mattias on November 21, 2016, 01:23:39 pm
line 1648
Code: Pascal  [Select][+][-]
  1.     // project uses lcl unit Forms
  2.     if (UTF8SearchInStringList(MainUsesSection,'interfaces')>=0)
  3.     or (UTF8SearchInStringList(ImplementationUsesSection,'interfaces')>=0) then
  4.  

I fixed that. Unit names must not be searched with UTF-8 case.
Title: Re: Lazarus 1.6.2 - Released
Post by: VTwin on November 21, 2016, 05:05:26 pm
A lock up is happening in a TSaveDialog in a compiled application. I will go back to 1.6.0 for now. :(
Can you please test which revision causes the regression against 1.6.0. It may be related to this:
 http://bugs.freepascal.org/view.php?id=29694
and its related / duplicate issues.
Info about all merged revisions:
 http://wiki.freepascal.org/Lazarus_1.6_fixes_branch#Fixes_for_1.6.2_.28merged.29

I have been using the patch for Issue #29694 for a long time, so it is not that alone. I'll see if I can figure anything out though.

VTwin
Title: Re: Lazarus 1.6.2 - Released
Post by: TurboRascal on November 21, 2016, 06:07:24 pm
I have noticed some erratic behavior on compile.

I've first seen it immediately after installation when trying to recompile the IDE, which failed. I've tried again after removing and adding back some packages and observed that compilation fails at different places with different errors. Sometimes it was enough just to try compiling again and it would compile fine; sometimes I'd need to restart Lazarus and then it would compile fine. I'm not 100% sure, but I think it mostly failed when I clicked "Save and build IDE" in the package install/uninstall dialog and "Build IDE" menu item, while chosing "Configure Build IDE" then clicking Build mostly did fine.

Errors I got were compiler runtime errors 1, 2 and 226 with no details, or a strange message about being "unable to compile resources". The runtime errors also sporadically showed when compiling a project afterwards. There is no rule how and when those errors happen, they have appeared erratically, and another try usually goes fine.

On the same machine I previously had Lazarus 1.4.4 (and earlier versions before) and never encountered anything like that, nor have I with 1.6.0 on another machine...

And another issue, when I install educationlaz package, I lose the Palette! It gets replaced by an empty panel.
Title: Re: Lazarus 1.6.2 - Released
Post by: JuhaManninen on November 21, 2016, 06:08:30 pm
I have been using the patch for Issue #29694 for a long time, so it is not that alone. I'll see if I can figure anything out though.
The 1.6.2 version had some ~200 commits. You could try bisecting over them:
 http://wiki.freepascal.org/How_do_I_create_a_bug_report#Regression_caused_by_a_certain_revision
Title: Re: Lazarus 1.6.2 - Released
Post by: BSaidus on November 22, 2016, 12:03:45 pm
I wonder why FPC-3.1.1 is not shipped with ??
Title: Re: Lazarus 1.6.2 - Released
Post by: JuhaManninen on November 22, 2016, 01:44:20 pm
I wonder why FPC-3.1.1 is not shipped with ??
Because it is a development version. Lazarus is released only with a release version of FPC.

Another question is why the FPC bug fix release is still not out. It was promised half a year ago. There is some documentation tool problem but I think it could be fixed later.
I truly hope it will be released during this year! It means during a month and a week.
We are again getting into a situation where we must recommend a SVN development version of FPC for more and more people.
Title: Re: Lazarus 1.6.2 - Released
Post by: salvarica on November 25, 2016, 11:54:49 am
DBLookupListBox and DBLookupComboBox, which are connected to TSQLOuery, running the entire table, although it is done TSQLOuery table filter? Filter is manually done over component, not the SQL query.

DBGrid shows how long until the two components are not filtered result.

Earlier it was not so, as I recall, put in a mistake or what do you know?
Title: Re: Lazarus 1.6.2 - Released
Post by: jma_sp on November 30, 2016, 10:39:27 am
Thanks to all  :)

 :) Muchas gracias :)

Una vez más, el esfuerzo colectivo hace avanzar en el buen camino.

Saludos.
Title: Re: Lazarus 1.6.2 - Released
Post by: tetrastes on December 06, 2016, 01:42:58 pm
What is the difference between lazarus_1.6.2-0_amd64.deb and lazarus-project_1.6.2-0_amd64.deb?
Title: Re: Lazarus 1.6.2 - Released
Post by: JuhaManninen on December 06, 2016, 02:16:38 pm
What is the difference between lazarus_1.6.2-0_amd64.deb and lazarus-project_1.6.2-0_amd64.deb?
I think Mattias only renamed it to prevent a name clash with packages provided by Linux distributions.
Title: Re: Lazarus 1.6.2 - Released
Post by: eric on December 06, 2016, 07:24:44 pm
That makes a lot of sense. On Debian I've had to lock package versions to prevent 'upgrades' which I didn't want.
Title: Re: Lazarus 1.6.2 - Released
Post by: pvavruska on December 16, 2016, 09:52:32 am
The Lazarus team is glad to announce the release of Lazarus 1.6.2. This is a bugfix release.

This release was built with FPC 3.0.0.
The previous release Lazarus 1.6.0 was built with FPC 3.0.0 too.

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.0

The release is available for download on SourceForge:


Hello,
I switched from verze1.4.4 to version 1.6.2 and features UTF8ToAnsi not convert Czech accented characters, the character still has a length of two characters. Discuss where to complain or to replace it.

Thank you

Peter

http://sourceforge.net/projects/lazarus/files/

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

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

Minimum requirements:

Windows:
  MS Windows >= Win98 (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.11, LCL only 32bit, non LCL apps can be 64bit.

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

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

For people who are blocked by SF, the Lazarus releases from SourceForge
are mirrored 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/
Title: Re: Lazarus 1.6.2 - Released
Post by: Robert W.B. on January 17, 2017, 01:52:33 am
Thank You very mutch. Pro work of yours as usually.
Best regards
robbanux :)
Title: Re: Lazarus 1.6.2 - Released
Post by: HatForCat on January 21, 2017, 05:55:36 pm
I think Mattias only renamed it to prevent a name clash with packages provided by Linux distributions.

But, both are shown for download and the file sizes are slightly different, should I install both and if so, which order?

If not, which one to install then?

ftp://freepascal.dfmk.hu/pub/lazarus/releases/Lazarus%20Linux%20amd64%20DEB/Lazarus%201.6.2/
Title: Re: Lazarus 1.6.2 - Released
Post by: kapibara on January 21, 2017, 06:31:45 pm
I dont know what Linux you are using, but I have found it easiest to let Synaptic install Lazarus. In Debian Stretch it's just a matter of selecting Lazarus 1.6.2 and click install. The right version of FPC and sources are installed automatically at the same time.

I think Mattias only renamed it to prevent a name clash with packages provided by Linux distributions.

But, both are shown for download and the file sizes are slightly different, should I install both and if so, which order?

If not, which one to install then?

ftp://freepascal.dfmk.hu/pub/lazarus/releases/Lazarus%20Linux%20amd64%20DEB/Lazarus%201.6.2/
Title: Re: Lazarus 1.6.2 - Released
Post by: JuhaManninen on January 22, 2017, 11:29:02 am
But, both are shown for download and the file sizes are slightly different, should I install both and if so, which order?
If not, which one to install then?
Just install one. They should be identical, I don't know what causes the size difference.
Anyway it is a valid question. I must ask Mattias about it.

I dont know what Linux you are using, but I have found it easiest to let Synaptic install Lazarus. In Debian Stretch it's just a matter of selecting Lazarus 1.6.2 and click install. The right version of FPC and sources are installed automatically at the same time.
Unfortunately many distributions have very old versions of FPC and Lazarus. Then the new packages provided here are important.

Another valid option is to get the fixes branch of latest Lazarus release through SVN. You then get its latest bug fixes. FPC 3 should be installed by other means then.
Lazarus is easy to build. Remember, it must be built in any case when installing packages. No big deal.
Title: Re: Lazarus 1.6.2 - Released
Post by: walkin-corpse on February 08, 2017, 11:36:06 pm
Bros, I discovered stable versions of FPC/Lazarus (3/1.6) in Debian legacy repo. That's great! But how long to wait for stables in mainline repo?
Title: Re: Lazarus 1.6.2 - Released
Post by: marcov on February 08, 2017, 11:40:13 pm
Bros, I discovered stable versions of FPC/Lazarus (3/1.6) in Debian legacy repo. That's great! But how long to wait for stables in mainline repo?

That's a question best asked to Debian core. We don't control that.
Title: Re: Lazarus 1.6.2 - Released
Post by: walkin-corpse on February 08, 2017, 11:46:51 pm
That's a question best asked to Debian core. We don't control that.

Really strange. FPC satble is ONLY in _legacy_ _arm_ repo. Not in legacy x64 for ex.
Do you propose to write to Debian team?
Title: Re: Lazarus 1.6.2 - Released
Post by: jacmoe on February 09, 2017, 12:08:33 am
Lazarus 1.6.2 and FPC 3.0.0 are in Debian testing. Just FYI.
Which means that they will find their way into the next stable.

I guess enabling the 'testing' Debian repository, or the backports, will give you 1.6.2/3.0.0.
Title: Re: Lazarus 1.6.2 - Released
Post by: walkin-corpse on February 09, 2017, 12:35:25 am
Lazarus 1.6.2 and FPC 3.0.0 are in Debian testing. Just FYI.
Which means that they will find their way into the next stable.

I guess enabling the 'testing' Debian repository, or the backports, will give you 1.6.2/3.0.0.

Yep, already found it in backports repo. Thnx anyway!
Title: Re: Lazarus 1.6.2 - Released
Post by: eric on February 09, 2017, 08:36:45 am
I use Debian, but I never use the Debian implementation of Lazarus/FPC because they split up the installation into multiple small packages, for no apparent reason other than to make it more complicated than it needs to be. I use the .deb packages from the Lazarus downloads area (just three packages), and these work fine.
Title: Re: Lazarus 1.6.2 - Released
Post by: Thaddy on February 09, 2017, 10:13:54 am
I start with just build-essential and fp-compiler and subversion. Then check out the sources and make clean all install for fpc.
I resolve package dependencies later on.
Title: Re: Lazarus 1.6.2 - Released
Post by: walkin-corpse on February 09, 2017, 02:22:43 pm
I use Debian, but I never use the Debian implementation of Lazarus/FPC because they split up the installation into multiple small packages, for no apparent reason other than to make it more complicated than it needs to be. I use the .deb packages from the Lazarus downloads area (just three packages), and these work fine.
Yeah, it is best solution for sure but deb-package now avail for x64 only (btw it was fixed to 1.6.2.1 after bug-report of mine :)) ! I badly need it for arm!
TinyPortal © 2005-2018