Recent

Author Topic: Lazarus Release Candidate 1 for 2.0  (Read 13441 times)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 4949
    • wiki
Lazarus Release Candidate 1 for 2.0
« on: October 14, 2018, 08:45:13 pm »
The Lazarus team is glad to announce the first release candidate of Lazarus 2.0.

This release was built with FPC 3.0.4.
The previous release Lazarus 1.8.4 was built with FPC 3.0.4 as well.

Here is the list of fixes for Lazarus 2.0.x:
* http://wiki.freepascal.org/Lazarus_2.0_fixes_branch

Here is the list of changes for Lazarus and Free Pascal:
* http://wiki.lazarus.freepascal.org/Lazarus_2.0.0_release_notes
* http://wiki.lazarus.freepascal.org/User_Changes_3.0.4

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

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

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

Minimum requirements:
* Windows:  2k, XP, Vista, 7, 8, 8.1 and 10, 32 or 64bit.
* FreeBSD/Linux:  gtk 2.8 for gtk2, qt4.5 for qt, qt5.6 for qt5, 32 or 64bit.
* Mac OS X:  10.5 to 10.12; Carbon (32bit), Cocoa (64bit, beta), qt and qt5 (32 or 64bit).

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

For people who are blocked by SF, the Lazarus releases from SourceForge are mirrored at: ftp://ftp.freepascal.org/pub/lazarus/releases/ and later at (after some time for synchronization) http://mirrors.iwi.me/lazarus/

== Why should everybody (including you) test the release candidate? ==

In the past weeks the Lazarus team has stabilized the 2.0 fixes branch.
The resulting 2.0RC1 is now stable enough to be used by any one for test purposes.

However many of the fixes and new features that where committed since the release of 1.8 required changes to the code of existing features too. While we have tested those ourself, there may still be problems that only occur with very specific configurations or one project in a million.

Yes, it may be that you are the only person with a project, that will not work in the new IDE. So if you do not test, we can not fix it.

Please do not wait for the final release, in order to test. It may be too late. Once the release is out we will have to be more selective
about which fixes can be merged for further 2.0.x releases. So it may be, that we can not merge the fix you require. And then you will miss out on all the new features.

== How to test ==

Download and install the 2.0 RC1.
- On Windows you can install as a 2ndary install, that will not affect your current install:
  http://wiki.lazarus.freepascal.org/Multiple_Lazarus#Installation_of_multiple_Lazarus
- On other platforms, if you install to a new location you need to use --primary-config-path

In either case you should make backups. (including your primary config)

Open your project in the current Lazarus (1.8.x), and use "Publish Project" from the project menu. This creates a clean copy of your project.

You can then open that copy in the RC1. Please test:
- If you can edit forms in the designer
  - rename components / change properties in Object inspector / Add new events
  - Add components to form / Move components on form
  - Frames, if you use them
- If you can navigate the source code (e.g. jump to implementation)
- Auto completion in source code
- Compile, debug and run
- Anything else you use in your daily work

« Last Edit: November 07, 2018, 01:52:57 am by Martin_fr »

tianya

  • New member
  • *
  • Posts: 25
Re: Lazarus Release Canditate 1 for 2.0
« Reply #1 on: October 15, 2018, 01:58:07 am »
good job! :D

dbannon

  • Sr. Member
  • ****
  • Posts: 338
Re: Lazarus Release Canditate 1 for 2.0
« Reply #2 on: October 15, 2018, 02:58:06 am »
It builds from src
Takes KControls as a Package and
Builds my (est) 8500 line project, tomboy-ng notes exactly as I'd expect it to.
Wow, and you call that RC1 ?

Thanks indeed !

Davo
Lazarus 1.8, Linux (and reluctantly Win10, OSX)

silvestre

  • New member
  • *
  • Posts: 36
Re: Lazarus Release Canditate 1 for 2.0
« Reply #3 on: October 15, 2018, 10:32:40 am »
Excellent work. The best place in the world in open source for Object Pascal. :)

BlueIcaro

  • Hero Member
  • *****
  • Posts: 570
Re: Lazarus Release Canditate 1 for 2.0
« Reply #4 on: October 15, 2018, 03:02:11 pm »
I great job!
I can't wait to download it, and start to test it!
/BlueIcaro
Remenber, the lazarus wiki is your friend: http://wiki.lazarus.freepascal.org/Main_Page
General questions (several lenguages) http://wiki.lazarus.freepascal.org/

edgardomlopez

  • Newbie
  • Posts: 2
Re: Lazarus Release Canditate 1 for 2.0
« Reply #5 on: October 15, 2018, 03:55:44 pm »
Hola, no puedo usar Lazarus en modo Venana Única.  Compila todo perfecto, pero cuando entro a la vista de diseño del Formulario este da un errror "Access Validation" y se cierra.  :-\

Can´t use lazarus Single Window on Windows10. Its compli fine, but when view design form its Access Validation error and close.  :-\


Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 4949
    • wiki
Re: Lazarus Release Canditate 1 for 2.0
« Reply #6 on: October 15, 2018, 06:38:21 pm »
Check the bugtracker and if not yet reported, then add a report (with details, such as all packages you installed, exact error, --debug-log output, ....)

BlueIcaro

  • Hero Member
  • *****
  • Posts: 570
Re: Lazarus Release Canditate 1 for 2.0
« Reply #7 on: October 15, 2018, 08:02:01 pm »
Hola, no puedo usar Lazarus en modo Venana Única.  Compila todo perfecto, pero cuando entro a la vista de diseño del Formulario este da un errror "Access Validation" y se cierra.  :-\

Can´t use lazarus Single Window on Windows10. Its compli fine, but when view design form its Access Validation error and close.  :-\
I installed Lazarus 32bits in W10/64bits. I build it (with clean all selected) and I started a  new proyect. Compiled and no problems

/BlueIcaro
Remenber, the lazarus wiki is your friend: http://wiki.lazarus.freepascal.org/Main_Page
General questions (several lenguages) http://wiki.lazarus.freepascal.org/

josh

  • Hero Member
  • *****
  • Posts: 653
Re: Lazarus Release Canditate 1 for 2.0
« Reply #8 on: October 15, 2018, 08:17:31 pm »
Hi

I was hoping to give this a go on MacOS Mojave, but no 64bit installer listed, only 32bit installer.

Is this an ommision, as 32 bit and the carbon widgetset is on its final leg, and will not be supported at all in next MacOS release, I suspect this maybe an issue with the new lldb debugger as I think this requires 32bit llvm.


ANy guide on how to test this release on Mojave?
Development Installation Lazarus 1.3, FPC 2.7.1,Windows 7/8 32/64, OSX, *nix

Test Environment Lazarus & FPC Trunk on Windows and OSX (Cocoa Mainly on OSX). Testing also Crosscompile windows to OSX.. 
Any posts made from 2015 will be based on Lazarus Trunk.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 4949
    • wiki
Re: Lazarus Release Canditate 1 for 2.0
« Reply #9 on: October 15, 2018, 08:21:28 pm »
I tested lldb on both 32 and 64 bit. And on my test system both worked.

As for 64 bit cocoa, you currently have to build the IDE yourself. Not sure when an installer will be made avail.
IIRC the fpc install supported compiling to 64 bit.

andresayang

  • Jr. Member
  • **
  • Posts: 56
Re: Lazarus Release Canditate 1 for 2.0
« Reply #10 on: October 16, 2018, 02:20:06 pm »
Hi,

Already tested on some of my small projects.
1) Everything is working perfectly, all my lazarus 1.8.4 project tested work as expected.
2) Exe files seems to be slightly bigger.
3) I try to test: "Compiler defines to exclude some graphics support
Added flags to exclude support for some graphics formats to create smaller applications:
    -dDisableLCLGIF
    -dDisableLCLJPEG
    -dDisableLCLPNM
    -dDisableLCLTIFF"
Resulting exe do not seems to be smaller (in fact exactly the same size). Maybe I do not use it the good way.

But however, thanks a lot for your work.

Cheers

Andre

 
Linux, Debian 9
Lazarus: always latest release

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 4949
    • wiki
Re: Lazarus Release Canditate 1 for 2.0
« Reply #11 on: October 16, 2018, 02:32:52 pm »
3) I try to test: "Compiler defines to exclude some graphics support
Added flags to exclude support for some graphics formats to create smaller applications:
    -dDisableLCLGIF
    -dDisableLCLJPEG
    -dDisableLCLPNM
    -dDisableLCLTIFF"
Resulting exe do not seems to be smaller (in fact exactly the same size). Maybe I do not use it the good way.
Those must be applied, so they affect the LCL. (IIRC it is LCL)
Either via "Additions and Overrides" or in the package LCL.

TraumTaenzerDieter

  • New member
  • *
  • Posts: 20
Re: Lazarus Release Canditate 1 for 2.0
« Reply #12 on: October 16, 2018, 05:35:36 pm »
Lazarus 32bit:
Destination Win64 x86_64 is NOT possible:
seems the complete 64bit .PPUs are missing in
lazarus-2.0RC1-fpc-3.0.4-cross-x86_64-win64-win32

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 4949
    • wiki
Re: Lazarus Release Canditate 1 for 2.0
« Reply #13 on: October 16, 2018, 11:09:48 pm »
Lazarus 32bit:
Destination Win64 x86_64 is NOT possible:
seems the complete 64bit .PPUs are missing in
lazarus-2.0RC1-fpc-3.0.4-cross-x86_64-win64-win32

Looks like the installer was build for the wrong target.
I will see when I can correct it.

VTwin

  • Hero Member
  • *****
  • Posts: 504
  • Former Turbo Pascal 3 user
Re: Lazarus Release Canditate 1 for 2.0
« Reply #14 on: October 17, 2018, 05:25:36 am »
As for 64 bit cocoa, you currently have to build the IDE yourself. Not sure when an installer will be made avail.

I was also hoping that 2.0 would support 64 bit cocoa by default. However, I offer many congratulations to the development team for their excellent work. I guess I can continue to use SVN update to build cocoa IDE, this has been working for me quite well so far. I am, however, not upgraded to Mojave yet.
« Last Edit: October 17, 2018, 05:34:50 am by VTwin »
“Talk is cheap. Show me the code.” Linus Torvalds

Lazarus 2.1 svn trunk 59794: macOS 10.11.6 (64 bit Cocoa)
Lazarus 1.8.4: Win 7 (64 bit) & Ubuntu 16.04.3 (64 bit) on VBox