[Lazarus] Lazarus Release 1.6.2

classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] Lazarus Release 1.6.2

Free Pascal - Lazarus mailing list
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 was built with FPC 3.0.0 too.

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

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/

Mattias
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Lazarus Release 1.6.2

Free Pascal - Lazarus mailing list
El 15/11/16 a les 15:42, Mattias Gaertner via Lazarus ha escrit:
> 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.

Is it supposed to work even with 2.6.4?
I have to investigate why but a TDBLookupComboBox doesn't work anymore
(with fpc 2.64/win32).


Bye

--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Lazarus Release 1.6.2

Free Pascal - Lazarus mailing list
El 15/11/16 a les 17:48, Luca Olivetti via Lazarus ha escrit:
> El 15/11/16 a les 15:42, Mattias Gaertner via Lazarus ha escrit:
>> 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.
>
> Is it supposed to work even with 2.6.4?
> I have to investigate why but a TDBLookupComboBox doesn't work anymore
> (with fpc 2.64/win32).

I tried under linux 64 bits/gtk, with fpc 3.0.0 the TDbLookupComboBox
works, with 2.6.4 it doesn't.
The symptom is the same: the combobox has the correct number of options
but all of them are blank.
If it's supposed to work with 2.6.4 I can file a bug report.

Bye
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Lazarus Release 1.6.2

Free Pascal - Lazarus mailing list
El 15/11/16 a les 18:46, Luca Olivetti via Lazarus ha escrit:

> El 15/11/16 a les 17:48, Luca Olivetti via Lazarus ha escrit:
>> El 15/11/16 a les 15:42, Mattias Gaertner via Lazarus ha escrit:
>>> 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.
>>
>> Is it supposed to work even with 2.6.4?
>> I have to investigate why but a TDBLookupComboBox doesn't work anymore
>> (with fpc 2.64/win32).
>
> I tried under linux 64 bits/gtk, with fpc 3.0.0 the TDbLookupComboBox
> works, with 2.6.4 it doesn't.
> The symptom is the same: the combobox has the correct number of options
> but all of them are blank.
> If it's supposed to work with 2.6.4 I can file a bug report.

transplanting lcl/include/dblookup.inc from lazarus 1.4 to 1.6 "fixes"
the issue (which is funny, since the new one apparently has some ifdefs
that only modify the behavior with fpc < 3.0.0).

Bye
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Lazarus Release 1.6.2

Free Pascal - Lazarus mailing list
El 15/11/16 a les 19:12, Luca Olivetti via Lazarus ha escrit:

> El 15/11/16 a les 18:46, Luca Olivetti via Lazarus ha escrit:
>> El 15/11/16 a les 17:48, Luca Olivetti via Lazarus ha escrit:
>>> El 15/11/16 a les 15:42, Mattias Gaertner via Lazarus ha escrit:
>>>> 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.
>>>
>>> Is it supposed to work even with 2.6.4?
>>> I have to investigate why but a TDBLookupComboBox doesn't work anymore
>>> (with fpc 2.64/win32).
>>
>> I tried under linux 64 bits/gtk, with fpc 3.0.0 the TDbLookupComboBox
>> works, with 2.6.4 it doesn't.
>> The symptom is the same: the combobox has the correct number of options
>> but all of them are blank.
>> If it's supposed to work with 2.6.4 I can file a bug report.
>
> transplanting lcl/include/dblookup.inc from lazarus 1.4 to 1.6 "fixes"
> the issue (which is funny, since the new one apparently has some ifdefs
> that only modify the behavior with fpc < 3.0.0).

OK, I'm using a TSdfDataset, maybe it has the same bug as TMemDataset as
mentioned in dblookup.inc (but then I don't understand why it worked
with lazarus 1.4).
FWIF, this appears to fix it:

===================================================================
--- lcl/include/dblookup.inc    (revision 53370)
+++ lcl/include/dblookup.inc    (working copy)
@@ -274,7 +274,7 @@
    Bookmark := ListLinkDataSet.GetBookmark;
    //in fpc 2.6.4, TMemDataset does not supports BlockRead. Issues
26356, 27959
    {$IF FPC_FULLVERSION < 30000}
-  DatasetSupportsBlockRead := not IsClass(ListLinkDataSet, 'TMemDataset');
+  DatasetSupportsBlockRead := not IsClass(ListLinkDataSet,
'TMemDataset') and not IsClass(ListLinkDataSet, 'TFixedFormatDataSet');
    if DatasetSupportsBlockRead then
      ListLinkDataSet.BlockReadSize := 1
    else

--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

[Lazarus] {Spam?} Re: Lazarus Release 1.6.2

Free Pascal - Lazarus mailing list
>
> OK, I'm using a TSdfDataset, maybe it has the same bug as TMemDataset as
> mentioned in dblookup.inc (but then I don't understand why it worked
> with lazarus 1.4).
> FWIF, this appears to fix it:
>
> ===================================================================
> --- lcl/include/dblookup.inc    (revision 53370)
> +++ lcl/include/dblookup.inc    (working copy)
> @@ -274,7 +274,7 @@
>    Bookmark := ListLinkDataSet.GetBookmark;
>    //in fpc 2.6.4, TMemDataset does not supports BlockRead. Issues
> 26356, 27959
>    {$IF FPC_FULLVERSION < 30000}
> -  DatasetSupportsBlockRead := not IsClass(ListLinkDataSet, 'TMemDataset');
> +  DatasetSupportsBlockRead := not IsClass(ListLinkDataSet,
> 'TMemDataset') and not IsClass(ListLinkDataSet, 'TFixedFormatDataSet');
>    if DatasetSupportsBlockRead then
>      ListLinkDataSet.BlockReadSize := 1
>    else

Please open an issue about problem and attach:
1.Example project
2.Patch

zeljko

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Lazarus Release 1.6.2

Free Pascal - Lazarus mailing list
In reply to this post by Free Pascal - Lazarus mailing list
Thank you for your efforts - please send the patch to mantis so that DB
maintainers don't oversee it!

Ondrej
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Lazarus Release 1.6.2

Free Pascal - Lazarus mailing list
El 15/11/16 a les 19:27, Ondrej Pokorny via Lazarus ha escrit:
> Thank you for your efforts - please send the patch to mantis so that DB
> maintainers don't oversee it!
>


Done:

http://bugs.freepascal.org/view.php?id=30931

Bye
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Lazarus Release 1.6.2

Free Pascal - Lazarus mailing list
The main site seems to still serve the 1.6.0 download.

On Tue, Nov 15, 2016 at 8:42 PM, Luca Olivetti via Lazarus <[hidden email]> wrote:
El 15/11/16 a les 19:27, Ondrej Pokorny via Lazarus ha escrit:
Thank you for your efforts - please send the patch to mantis so that DB
maintainers don't oversee it!



Done:

http://bugs.freepascal.org/view.php?id=30931

Bye
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. <a href="tel:%2B34%2093%205883004" value="+34935883004" target="_blank">+34 93 5883004 (Ext.3010)  Fax <a href="tel:%2B34%2093%205883007" value="+34935883007" target="_blank">+34 93 5883007
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus


--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Lazarus Release 1.6.2

Free Pascal - Lazarus mailing list
On 15/11/2016 18:52, Kostas Michalopoulos via Lazarus wrote:
> The main site seems to still serve the 1.6.0 download.
>
Yes there is always some delay, as different people are involved in all
the steps.
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Lazarus Release 1.6.2

Free Pascal - Lazarus mailing list
In reply to this post by Free Pascal - Lazarus mailing list
El 15/11/16 a les 19:52, Kostas Michalopoulos via Lazarus ha escrit:
> The main site seems to still serve the 1.6.0 download.

I usually update my copy from svn

http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_6_2

Bye
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Lazarus Release 1.6.2

Free Pascal - Lazarus mailing list
In reply to this post by Free Pascal - Lazarus mailing list
Can this 1.6.2 release be installed over an existing 1.6.0 installation, or would I have to uninstall the 1.6.0 first?
 
 

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Lazarus Release 1.6.2

Free Pascal - Lazarus mailing list
On Tue, 15 Nov 2016 15:11:31 -0500
Reggie Brooks via Lazarus <[hidden email]> wrote:

> Can this 1.6.2 release be installed over an existing 1.6.0 installation, or would I have to uninstall the 1.6.0 first?

The dmg/deb/rpm/zip can be installed over an existing 1.6.0 without
uninstall.
I didn't try the Windows installer. Martin?

Mattias
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Lazarus Release 1.6.2

Free Pascal - Lazarus mailing list
The installer had an "Uninstall" button to uninstalled the previous version. I used that then used Tools -> Build Lazarus with <blah> option to rebuild the IDE so that it'll have the packages i have installed and it worked fine.

On Tue, Nov 15, 2016 at 11:10 PM, Mattias Gaertner via Lazarus <[hidden email]> wrote:
On Tue, 15 Nov 2016 15:11:31 -0500
Reggie Brooks via Lazarus <[hidden email]> wrote:

> Can this 1.6.2 release be installed over an existing 1.6.0 installation, or would I have to uninstall the 1.6.0 first?

The dmg/deb/rpm/zip can be installed over an existing 1.6.0 without
uninstall.
I didn't try the Windows installer. Martin?

Mattias
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus


--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Lazarus Release 1.6.2

Free Pascal - Lazarus mailing list
In reply to this post by Free Pascal - Lazarus mailing list
On 15/11/2016 21:10, Mattias Gaertner via Lazarus wrote:
> On Tue, 15 Nov 2016 15:11:31 -0500
> Reggie Brooks via Lazarus <[hidden email]> wrote:
>
>> Can this 1.6.2 release be installed over an existing 1.6.0 installation, or would I have to uninstall the 1.6.0 first?
> The dmg/deb/rpm/zip can be installed over an existing 1.6.0 without
> uninstall.
> I didn't try the Windows installer. Martin?
>

It should work.

The only issue that can arise (but usually between major releases) is,
if units moved to another package. then old ppu can be problematic
(build clean all, of the ide might help)

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Lazarus Release 1.6.2

Free Pascal - Lazarus mailing list
In reply to this post by Free Pascal - Lazarus mailing list
Hi,

I uploaded new Debian packages.
Our 'lazarus' packages clashed with the packages in the Debian
repository. So I renamed them to lazarus-project_1.6.2.

Mattias
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Lazarus Release 1.6.2

Free Pascal - Lazarus mailing list
In reply to this post by Free Pascal - Lazarus mailing list
Hello!

Today I was looking at sourceforge.net and I saw that the default
download for debian based linuxes are 1.6.0 however 1.6.2 is out more
than a month ago.

I did not test other systems.

Please fix if it is not by design.

2016-11-15 15:42 keltezéssel, Mattias Gaertner via Lazarus írta:
> The Lazarus team is glad to announce the release of Lazarus 1.6.2. This
> is a bugfix release.
>
> The release is available for download on SourceForge:
> http://sourceforge.net/projects/lazarus/files/
>
> Mattias
>

--
Péter Gábor
[hidden email]

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Lazarus Release 1.6.2

Free Pascal - Lazarus mailing list
On Thu, 5 Jan 2017 10:18:06 +0100
Péter Gábor via Lazarus <[hidden email]> wrote:

> Hello!
>
> Today I was looking at sourceforge.net and I saw that the default
> download for debian based linuxes are 1.6.0 however 1.6.2 is out more
> than a month ago.
>
> I did not test other systems.
>
> Please fix if it is not by design.

Thanks for the hint. Fixed.

Mattias
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus