Recent

Author Topic: Lazarus Release Candidate 1 of 1.2  (Read 141296 times)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10553
  • Debugger - SynEdit - and more
    • wiki
Lazarus Release Candidate 1 of 1.2
« on: November 06, 2013, 10:12:02 pm »
The Lazarus team would like to announce the first Release Candidate for the upcoming Version 1.2.

We would like to invite all users to test this Release Candidate.
Please read below why everybody really should join the testing now.

News in this Version
http://wiki.lazarus.freepascal.org/Lazarus_1.2.0_release_notes

On Windows the installer now allows 2 independent installations.
http://wiki.lazarus.freepascal.org/Multiple_Lazarus#Installation_of_multiple_Lazarus
 
About the release process:
http://wiki.lazarus.freepascal.org/Lazarus_1.2_fixes_branch#Roadmap_to_1.2


The 1.2.0RC1 is built with fpc 2.6.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.2RC1" directory.

Minimum requirements:
Windows:       98, 2k, XP, Vista, 7, 32 or 64bit
FreeBSD/Linux: gtk 2.8 or qt4.5, 32 or 64bit
Mac OS X:      10.5 to 10.8, LCL only 32bit, non LCL apps can be 64bit


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

It the past weeks the Lazarus team has stabilized the 1.2 fixes branch. The resulting 1.2RC1 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.0 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 1.2.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 1.2RC1.
- 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-configpath

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

Open your project in the current Lazarus (1.0.12), 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:
- Can you 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
- Can you navigate the source code (jump to implementation
- Auto completion in source code
- Compile, debug and run
- Anything else you use in your daily work

esvignolo

  • Full Member
  • ***
  • Posts: 159
  • Using FPC in Windows, Linux, Macos
Re: Lazarus Release Candidate 1 of 1.2
« Reply #1 on: November 06, 2013, 10:20:49 pm »
Hi Martin! Thank you very much and I'll be happy to try it.

Long Life to FPC and Lazarus!

Robert W.B.

  • Sr. Member
  • ****
  • Posts: 331
  • Love my Wife, My Kids and Lazarus/Freepascal.
Re: Lazarus Release Candidate 1 of 1.2 5 sec slower on test!
« Reply #2 on: November 07, 2013, 05:21:17 am »
This get me worred :(
I installed the new version of Lazarus(as I always do) and tested my program that counts Kenorows but,it seems that the new FreePascal/Lazarus been 5 sec slower, to handle the task that the before release 1.0.12! Can this be true?
I add the program so You could test yourself.

This have happened with new Delphi XE also! More complexity=slower counting. dotnet have also slowed done the counting ability of Delphi!! Now,I don't care about Delphi but, I care about FreePascal/Lazarus.

Lazarus test.

1.0.12 = 1 minute 20 sec.
1.2= 1 minute 25 sec!
« Last Edit: November 07, 2013, 05:29:55 am by robbanux »
Rob

mirce.vladimirov

  • Sr. Member
  • ****
  • Posts: 259
Re: Lazarus Release Candidate 1 of 1.2
« Reply #3 on: November 07, 2013, 09:28:40 am »
Quote
I installed the new version of Lazarus(as I always do) and tested my program that counts Kenorows but,

What's Kenorows ?

wp

  • Hero Member
  • *****
  • Posts: 12461
Re: Lazarus Release Candidate 1 of 1.2
« Reply #4 on: November 07, 2013, 09:56:16 am »
Quote
that the new FreePascal/Lazarus been 5 sec slower
5 seconds seems to be a lot, but if you relate it to the total running time of the procedure of more than 80 seconds that's nothing. Are these number reproducible? I'd expect such a deviation for the same program due to background processes or caching.

For me the RC1 is even "faster" by 1 second...

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4541
  • I like bugs.
Re: Lazarus Release Candidate 1 of 1.2
« Reply #5 on: November 07, 2013, 10:07:42 am »
I also suspect the slowdown is an OS cache issue.
The FPC version has not changed, it is still 2.6.2. The generated code is identical.
Only other explanation would be a slower LCL function which you call inside a loop, but I don't think so.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10553
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 1 of 1.2
« Reply #6 on: November 07, 2013, 01:07:29 pm »
First you could measure what is slower for you:
1) the calculation
2) the GUI
Currently both is in the same loop

Measure the loop, but instead of putting the results into  listbox1 (GUI), but them into an array.
The in a 2nd loop put them into  listbox1

Though that is optional, you may decide to skip the above.


In any case, if you do lots of operations to a GUI element (7600  listbox1.Items.add), then you should wrap it into a BeginUpdate/EndUpdate

GUI operations are always slow.
I do NOT know, but maybe listbox1.Items.add was previously buggy in some cases, and maybe the fix added some time?

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Lazarus Release Candidate 1 of 1.2
« Reply #7 on: November 07, 2013, 05:33:12 pm »
I just finished installing 1.2RC1 and there is definitely something funny with the installation. for starters there are no exe files in the installation directory I haven't checked if it F***** up anything else (eg existing installation of 1.0.10) yet.

Man this is getting to tedious to keep up with.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

wp

  • Hero Member
  • *****
  • Posts: 12461
Re: Lazarus Release Candidate 1 of 1.2
« Reply #8 on: November 07, 2013, 05:40:12 pm »
I did a secondary install, and there were no problems. All other Lazarus installations on this pc running fine (Win7)

lhxzui

  • New Member
  • *
  • Posts: 14
Re: Lazarus Release Candidate 1 of 1.2
« Reply #9 on: November 08, 2013, 09:38:03 am »
 ;)I will try the 1.2.0RC1.

Watt

  • Newbie
  • Posts: 3
Re: Lazarus Release Candidate 1 of 1.2
« Reply #10 on: November 08, 2013, 01:54:07 pm »
I have tried Delphi XE5 and find that Mobile Apps can be built very conveniently.
The price of Delphi XE5 is too expensive for me, therefore I consider to choose Lazarus as my developing tool.
Now I wonder that whether Lazarus support developing Apps for iOS and Android?
If not, will Lazarus support in the future?

------------------------------------------------------------------

(Sorry! I ask that Lazarus 1.2 support iOS or not?)
I open a new topic in other area.
« Last Edit: November 09, 2013, 03:27:16 am by Watt »

Edson

  • Hero Member
  • *****
  • Posts: 1314
Re: Lazarus Release Candidate 1 of 1.2
« Reply #11 on: November 08, 2013, 06:14:46 pm »
@Watt, It's a interesting question, but I think you should open a new topic.
Lazarus 2.2.6 - FPC 3.2.2 - x86_64-win64 on Windows 10

Edson

  • Hero Member
  • *****
  • Posts: 1314
Re: Lazarus Release Candidate 1 of 1.2
« Reply #12 on: November 08, 2013, 06:19:48 pm »
I'm installing the 1.2RC1, as a second  instalation, and I still think that the Dialog "Select configuration folder" should have a default path. It is some confused.
Lazarus 2.2.6 - FPC 3.2.2 - x86_64-win64 on Windows 10

Edson

  • Hero Member
  • *****
  • Posts: 1314
Re: Lazarus Release Candidate 1 of 1.2
« Reply #13 on: November 08, 2013, 06:26:45 pm »
Another observation is that the dialog "Installing Lazarus", in spanish, doesn't have a correct transalation for the accented vocals.

It installs OK and creates two access in the Start Menú. But it doesn't create another  link on the Desktop. Is it OK?
« Last Edit: November 08, 2013, 06:30:40 pm by Edson »
Lazarus 2.2.6 - FPC 3.2.2 - x86_64-win64 on Windows 10

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10553
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 1 of 1.2
« Reply #14 on: November 08, 2013, 06:47:25 pm »
Another observation is that the dialog "Installing Lazarus", in spanish, doesn't have a correct transalation for the accented vocals.
Can you check the source file in tools\install\win\lazarus.es.isl ?
It looks ok to me, but I don't speak Spanish.

It probably is a problem with the INNO version we currently use. Will need to check what can be done....

Also, is your entire Desktop Spanish? It may be that with the inno version we use, this only works in that case (But I do not know)

We still use the ansi version of inno, as we also offer the installer for win98 users, and the utf version does not work on w98.

Quote
It installs OK and creates two access in the Start Menú. But it doesn't create another  link on the Desktop. Is it OK?

Afaik that is disabled. IIRC I found no simple way to change the shortcut name. So it would overwrite the existing.  I only did a quick search, so there may be a way. If someone knows.

Similar for the start menu, it changes the name. Hover ALL 2ndary get the same name. It is user-editable. But since most people just take the default, if you install a 3rd Lazarus, then it will set the proposed default to the same as for the 2nd.

I'm installing the 1.2RC1, as a second  instalation, and I still think that the Dialog "Select configuration folder" should have a default path. It is some confused.

Same problem as with the menu.

Someone has to write the code to detect all existing 2ndary installs, and then calculate an unused folder for the config.

That is because according to the Rules of most OS (incl Windows) config goes into a special folder in the users home dir.

So the primary goes into %appcondir%/lazarus   (or0 maybe app_local_conf)
%appcondir% = C:\Users\USERNAME\AppData\Local

So each 2ndary need a unique folder name in that dir.


I simple have not got the time to do that work. (Or rather I have other priorities)

 

TinyPortal © 2005-2018