Sign in Join

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

Mailing lists / lazarus / 2013-11

Lazarus Release Candidate 1 of 1.2

17 messages · 10 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 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 here 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

Mattias

Reply by email

Florian Klämpfl
to Mattias Gaertner
Mattias Gaertner wrote 9 lines
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 here why everybody really should join the testing now. News in this Version http://wiki.lazarus.freepascal.org/Lazarus_1.2.0_release_notes

One of my favourite features:

'Inactive code in $IFDEF can be "low-lighted" (greyed out)'

:)

Reply by email

Martin
to Florian Klämpfl
Florian Kl?mpfl wrote 16 lines
Am 06.11.2013 20:10, schrieb Mattias Gaertner: > 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 here why everybody really should join the testing now. > > News in this Version > http://wiki.lazarus.freepascal.org/Lazarus_1.2.0_release_notes > One of my favourite features: 'Inactive code in $IFDEF can be "low-lighted" (greyed out)' :)

And, if you configure IFDEF to be foldable, and right click the fold gutter part, then you find an option to fold all inactive ifdef.

Reply by email

waldo kitty
to Martin
Martin wrote
Anyone updating twitter, or other channels that we use?

google+ and FB????

NOTE: No off-list assistance is given without prior approval. Please keep mailing list traffic on the list unless private contact is specifically requested and granted.

Reply by email

Tommi Prami
to Florian Klämpfl: One of my favourite features: 'Inactive code in $IFDEF can be "low-lighted" (greyed out)'…

Seeing What IfDefs are active is BEST ever, many times it's been so hard to figure out what and why is active!

-Tee-

Florian Kl?mpfl wrote 23 lines
Am 06.11.2013 20:10, schrieb Mattias Gaertner: > 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 here why everybody really should join the testing now. > > News in this Version > http://wiki.lazarus.freepascal.org/Lazarus_1.2.0_release_notes > One of my favourite features: 'Inactive code in $IFDEF can be "low-lighted" (greyed out)' :) -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20131107/b7661a9f/attachment.html>

Reply by email

Luca Olivetti
to Mattias Gaertner: The Lazarus team would like to announce the first Release Candidate for the upcoming…

Al 06/11/13 20:10, En/na Mattias Gaertner ha escrit:

Once the release is out we will have to be more selective about which fixes can be merged for further 1.2.x releases.

I didn't test it yet (doing it now), but I suggest a simple fix that doesn't warrant a bug report

--- C:/Documents and Settings/luca/Configuraci?n
local/Temp/lazhelphtml.pas-revBASE.svn000.tmp.pas Fri May 24 19:30:06 2013 +++ C:/laz_1_2/lcl/lazhelphtml.pas Mon Sep 23 14:16:50 2013 @@ -365,10 +365,11 @@

   // run
   try
     BrowserProcess:=TProcessUTF8.Create(nil);
     try
+      BrowserProcess.InheritHandles:=false;
       BrowserProcess.CommandLine:=CommandLine;
       BrowserProcess.Execute;
     finally
       BrowserProcess.Free;
     end;

Unfortunately the default for InheritHandles is true, and while the above has no effect until this bug in fpc is fixed http://bugs.freepascal.org/view.php?id=22271
I don't think the spawned browser needs to inherit the handles of the calling process.
In fact InheritHandles true caused me serious problems in the past.

Bye

Luca Olivetti Wetron Automation Technology http://www.wetron.es Tel. +34 935883004 Fax +34 935883007

Reply by email

Michael Van Canneyt
to Luca Olivetti
Luca Olivetti wrote 28 lines
Al 06/11/13 20:10, En/na Mattias Gaertner ha escrit: > Once the release is out we will have to be more selective about which fixes can be merged for further 1.2.x releases. I didn't test it yet (doing it now), but I suggest a simple fix that doesn't warrant a bug report --- C:/Documents and Settings/luca/Configuraci?n local/Temp/lazhelphtml.pas-revBASE.svn000.tmp.pas Fri May 24 19:30:06 2013 +++ C:/laz_1_2/lcl/lazhelphtml.pas Mon Sep 23 14:16:50 2013 @@ -365,10 +365,11 @@ // run try BrowserProcess:=TProcessUTF8.Create(nil); try + BrowserProcess.InheritHandles:=false; BrowserProcess.CommandLine:=CommandLine; BrowserProcess.Execute; finally BrowserProcess.Free; end; Unfortunately the default for InheritHandles is true, and while the above has no effect until this bug in fpc is fixed http://bugs.freepascal.org/view.php?id=22271

I was not aware of this bugreport. I fixed it.
It is probably a copy-paste bug, because the value is set to true in the constructor.

Michael.

Reply by email

Luca Olivetti
to Michael Van Canneyt

Al 07/11/13 09:47, En/na Michael Van Canneyt ha escrit:

Show quoted text 6 lines
> Unfortunately the default for InheritHandles is true, and while the > above has no effect until this bug in fpc is fixed > http://bugs.freepascal.org/view.php?id=22271 I was not aware of this bugreport. I fixed it. It is probably a copy-paste bug, because the value is set to true in the constructor.

Thank you.
Will it be backported to 2.6.4?

Bye

Luca Olivetti Wetron Automation Technology http://www.wetron.es Tel. +34 935883004 Fax +34 935883007

Reply by email

Michael Van Canneyt
to Luca Olivetti
Luca Olivetti wrote 11 lines
Al 07/11/13 09:47, En/na Michael Van Canneyt ha escrit: >> Unfortunately the default for InheritHandles is true, and while the >> above has no effect until this bug in fpc is fixed >> http://bugs.freepascal.org/view.php?id=22271 > > I was not aware of this bugreport. I fixed it. It is probably a > copy-paste bug, because the value is set to true in the constructor. Thank you. Will it be backported to 2.6.4?

I think that should not be a problem. The default behaviour remains unchanged.

Michael.

Reply by email

waldo kitty
to Lukasz Sokol
Lukasz Sokol wrote 9 lines
On 07/11/13 01:23, waldo kitty wrote: > On 11/6/2013 4:12 PM, Martin wrote: >> Anyone updating twitter, or other channels that we use? > > google+ and FB???? > > LWN ;)

living well network?
laugh with noise?

too many choices to pick from :/

NOTE: No off-list assistance is given without prior approval. Please keep mailing list traffic on the list unless private contact is specifically requested and granted.

Reply by email

Lukasz Sokol
to waldo kitty
waldo kitty wrote 16 lines
On 11/7/2013 4:33 AM, Lukasz Sokol wrote: > On 07/11/13 01:23, waldo kitty wrote: >> On 11/6/2013 4:12 PM, Martin wrote: >>> Anyone updating twitter, or other channels that we use? >> >> google+ and FB???? >> >> > > LWN ;) living well network? laugh with noise? too many choices to pick from :/

lwn.net ;)

-L.

Reply by email

Florian Klaempfl
to Martin: And, if you configure IFDEF to be foldable, and right click the fold gutter part, then…
Martin wrote 9 lines
> One of my favourite features: > > 'Inactive code in $IFDEF can be "low-lighted" (greyed out)' > > :) > And, if you configure IFDEF to be foldable, and right click the fold gutter part, then you find an option to fold all inactive ifdef.

Nice to see, now my last complaint on folding must be fixed and I'am really happy: the folding header line should be surrounded fully by a rectangle, not only the three dots at the end :)

Reply by email

Martin
to Florian Klaempfl
Florian Klaempfl wrote 15 lines
Am 06.11.2013 20:42, schrieb Martin: >> One of my favourite features: >> >> 'Inactive code in $IFDEF can be "low-lighted" (greyed out)' >> >> :) >> > > And, if you configure IFDEF to be foldable, and right click the fold > gutter part, then you find an option to fold all inactive ifdef. Nice to see, now my last complaint on folding must be fixed and I'am really happy: the folding header line should be surrounded fully by a rectangle, not only the three dots at the end :)

Not finished yet (and may be a while until I continue it), but usable.

Revision 43425

You can hide the yellow and ..., by cahnging the colors for the fold marker in the editor options.
The new frame will still extend to the same position.... (so it does not go to the right end of the editor)

There is no config, so you need to set the color in the source

components\synedit\syneditfoldedview.pp
Line 3720

  FMarkupInfoFoldedCodeLine := TSynSelectedColor.Create;
   FMarkupInfoFoldedCodeLine.Background := clNone;
   FMarkupInfoFoldedCodeLine.Foreground := clNone;
   FMarkupInfoFoldedCodeLine.FrameColor := clNone; //<<<<<<<<<<< change
this for a frame
   FMarkupInfoHiddenCodeLine := TSynSelectedColor.Create;
   FMarkupInfoHiddenCodeLine.Background := clNone;
   FMarkupInfoHiddenCodeLine.Foreground := clNone;
   FMarkupInfoHiddenCodeLine.FrameColor := clNone;

You can also set Alpha, priority and linestyle.

eg if I do
   FMarkupInfoFoldedCodeLine.FrameColor := clMaroon;
   FMarkupInfoFoldedCodeLine.FrameEdges := sfeBottom;
then I get:

---------------------------
There are 2 settings,
1) FMarkupInfoFoldedCodeLine. lines with a fold starting (the fold header line is visible)
2) FMarkupInfoHiddenCodeLine. lines with a "hide" starting (nothing visible)

Hide usually applies, if you select random text, and fold all the lines in the selection.
Hide is also available for comments, so you do not even see the first line of the comment

IMHO, a frame for "hide" is not good, because it would frame around an unrelated line.
Of course a frame can be used, that only has a bottom-edge (FrameEdges = sfeBottom). Then it is like an underline.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20131111/c63a416a/attachment-0001.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: ibbhhcjh.png
Type: image/png
Size: 3515 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20131111/c63a416a/attachment-0002.png> -------------- next part --------------
A non-text attachment was scrubbed...
Name: dcfhieig.png
Type: image/png
Size: 3601 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20131111/c63a416a/attachment-0003.png>

Reply by email

Mark Morgan Lloyd
to Mattias Gaertner: The Lazarus team would like to announce the first Release Candidate for the upcoming…
== Why should everybody (including you) test the release candidate? ==

I've just compiled 1.2 RC1 for GTK2 on a clean x86 Linux system using 2.6.2, running an older version of Debian ("lenny"). I notice that the icons on the toolbar don't appear until either the pointer is moved over them, or one of the non-current tabs is clicked. The last 1.1 I built was fine, but I admit that wasn't very recent.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Mark Morgan Lloyd
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote 7 lines
> == Why should everybody (including you) test the release candidate? == I've just compiled 1.2 RC1 for GTK2 on a clean x86 Linux system using 2.6.2, running an older version of Debian ("lenny"). I notice that the icons on the toolbar don't appear until either the pointer is moved over them, or one of the non-current tabs is clicked. The last 1.1 I built was fine, but I admit that wasn't very recent.

On Mantis as this as http://bugs.freepascal.org/view.php?id=25470

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email