Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-11

Lazarus Release 1.6.2

18 messages · 8 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner

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

Reply by email

Luca Olivetti
to Mattias Gaertner

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

Reply by email

Luca Olivetti
to Luca Olivetti

El 15/11/16 a les 17:48, Luca Olivetti via Lazarus ha escrit:

Show quoted text 9 lines
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

Reply by email

Luca Olivetti
to Luca Olivetti

El 15/11/16 a les 18:46, Luca Olivetti via Lazarus ha escrit:

Show quoted text 16 lines
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

Reply by email

Luca Olivetti
to Luca Olivetti

El 15/11/16 a les 19:12, Luca Olivetti via Lazarus ha escrit:

Show quoted text 21 lines
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

Reply by email

zeljko
to Luca Olivetti
Show quoted text 20 lines
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

Reply by email

Kostas Michalopoulos
to Luca Olivetti

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 <

Show quoted text 24 lines
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. +34 93 5883004 (Ext.3010) Fax +34 93 5883007 -- _______________________________________________ Lazarus mailing list http://lists.lazarus-ide.org/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20161115/f6039d18/attachment.html>

Reply by email

Mattias Gaertner
to Unknown author
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

Reply by email

Kostas Michalopoulos
to Mattias Gaertner

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 <

Show quoted text 19 lines
wrote: On Tue, 15 Nov 2016 15:11:31 -0500 Reggie Brooks via Lazarus 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 http://lists.lazarus-ide.org/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20161115/eaba8475/attachment.html>

Reply by email

Martin Frb
to Mattias Gaertner: On Tue, 15 Nov 2016 15:11:31 -0500 The dmg/deb/rpm/zip can be installed over an existing…
Mattias Gaertner wrote 8 lines
On Tue, 15 Nov 2016 15:11:31 -0500 Reggie Brooks via Lazarus 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)

Reply by email

Péter Gábor
to Mattias Gaertner: The Lazarus team is glad to announce the release of Lazarus 1.6.2. This is a bugfix…

Hello!

Today I was 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:

Show quoted text 8 lines
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

Reply by email

Mattias Gaertner
to Péter Gábor
Show quoted text 9 lines
Hello! Today I was 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

Reply by email