Recent

Author Topic: Lazarus 1.6 - 2nd Release Candidate  (Read 86315 times)

RayoGlauco

  • Full Member
  • ***
  • Posts: 176
  • Beers: 1567
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #90 on: January 29, 2016, 12:33:30 pm »
I am using Lazarus 1.6 RC2 64 bits on Linux Mint. I found this issue: in Lazarus 1.4.4 this code worked fine:

procedure TForm1.DateFieldKeyPress(Sender:TObject; var Key:char);
begin
  if (key >=#32) and not (key in ['0'..'9']) then key:=#47;  // turn key into a '/'
end;


But in Lazarus 1.6 RC2, that code has no effect...

It may be related to some valid change DateFields. If you have time you could bisect with trunk to find the revision that caused it.
In any case you should write also to Lazarus mailing list. The people may read it more than this forum.
A bug report with an example program is OK, too.


Reported issue #0029536 "Changes made in OnKeyPress to a Key value take no effect, in a TEdit component".
I tested it on Windows 7 32 bits, Lazarus 1.6 RC2, and this issue does not occur.
To err is human, but to really mess things up, you need a computer.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #91 on: January 29, 2016, 01:19:44 pm »
Reported issue #0029536 "Changes made in OnKeyPress to a Key value take no effect, in a TEdit component".
I tested it on Windows 7 32 bits, Lazarus 1.6 RC2, and this issue does not occur.

I first thought this is about TField and data-aware controls. It is actually about TEdit.
I cannot reproduce. Can somebody else?
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

otoien

  • Jr. Member
  • **
  • Posts: 89
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #92 on: January 29, 2016, 11:07:44 pm »
@Josh

I just installed Lazarus 1.6RC, FPC 3.0 on Mac OS X 10.8.5 and successfully compiled and ran a large (10,000s line) program with no problems. I did not notice IDE issues, but have done limited testing yet.

I then tried rebuilding Lazarus by attempting to install a package, and also using Tools > Configure "Bulid Lazarus", but could not succeed.

Code: Pascal  [Select][+][-]
  1. Build IDE: Exit code 512, Errors: 1, Warnings 1
   

VTwin


I have noticed over the last few releases of Lazarus that after install the rebuild of Lazarus with added packages (typically Anchordocking etc.) fails on the first try, but will succeed on 2nd try. This is on Win7 pro 64 bit, 32-bit version of Lazarus.
Unless otherwise noted I always use the latest stable version of Lasarus/FPC x86_64-win64-win32/win64

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #93 on: January 30, 2016, 11:03:01 am »
tried to install the 1.6RC2 on  Scientific LInux 6.6 and the RPM seems to be corrupted:

Running Transaction
  Installing : lazarus-1.6RC2-0.i686                                                                       1/1
Error unpacking rpm package lazarus-1.6RC2-0.i686
error: unpacking of archive failed on file /usr/lib/lazarus/components/turbopower_ipro/units/i386-linux/gtk2/iphtml.o;56ab2822: cpio: read

I can confirm this one. I installed a 32-bit Scientific Linux 6.7 under VirtualBox and got the same error from the lazarus-1.6RC2-0.i686.rpm package.
I will write to other developers about it. I haven't built the RPMs myself.

In my tests the 64-bit version RPM package works. Tested on OpenSuse Leap 42. Can somebody confirm please.

BTW, Scientific Linux has dropped the 32-bit version completely in their latest version 7.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 184
    • http://www.lazarus.freepascal.org
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #94 on: January 30, 2016, 12:16:22 pm »
Probably my fault.
The file on sourceforge was only the first 46MB of the file.
I uploaded the file again.

Josh

  • Hero Member
  • *****
  • Posts: 1271
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #95 on: January 30, 2016, 04:44:28 pm »
Hi
Cut/Copy commands from right clicking in editor being greyed out and not working.
Also if filtered objects in object inspector; you can not click a component on the form to adjust its values.


The Issue I was getting with OSX 10.6.8, required me to completely remove xcode and re-install a fresh; even though 1.4.4. had no such issues.

Josh
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

tr_escape

  • Sr. Member
  • ****
  • Posts: 432
  • sector name toys | respect to spectre
    • Github:
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #96 on: January 31, 2016, 02:14:07 pm »
Hello Lazarus team,

I tried to install fpc 3.0.0 , fpc src 3.0.0 and lazarus 1.6rc on Linux Mint.
But it says fpc not installed.

I there any suggestion?

Best regards

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #97 on: January 31, 2016, 05:01:02 pm »
Probably my fault.
The file on sourceforge was only the first 46MB of the file.
I uploaded the file again.

Now it works, thanks. The file size tripled.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

VTwin

  • Hero Member
  • *****
  • Posts: 1215
  • Former Turbo Pascal 3 user
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #98 on: January 31, 2016, 06:29:24 pm »
I have noticed over the last few releases of Lazarus that after install the rebuild of Lazarus with added packages (typically Anchordocking etc.) fails on the first try, but will succeed on 2nd try. This is on Win7 pro 64 bit, 32-bit version of Lazarus.

It could be that I did not try hard enough, but it is worrisome that it is difficult. I will eventually move to 1.6, but I have a dozen or so installs of Lazarus among three machines and Mac/Windows/Linux systems, so it is not trivial.

Cheers,
VTwin
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.2
macOS 12.1: Lazarus 2.2.6 (64 bit Cocoa M1)
Ubuntu 18.04.3: Lazarus 2.2.6 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.2.6 (64 bit on VBox)

JimKueneman

  • Full Member
  • ***
  • Posts: 220
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #99 on: February 03, 2016, 06:04:08 am »
1.6 RC2 on OSX.  Project>Project Options>Paths>Other Files/Units

Press the "Folder Browse" button
Press the speed button to select a new file to add to the Search Paths list.

The browse window comes up behind the other dialogs and you can't close it, make it active or do anything with the existing dialogs.  Press the speed button again and another browse window that you can't interact with comes up.

Have to kill Lazarus to get out of it all.

Jim

Bart

  • Hero Member
  • *****
  • Posts: 5275
    • Bart en Mariska's Webstek
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #100 on: February 03, 2016, 02:02:11 pm »
1.6 RC2 on OSX.  Project>Project Options>Paths>Other Files/Units
.... 
Press the speed button again and another browse window that you can't interact with comes up.

IIRC there already is a ticket about that in the bugtracker.

Bart

snorkel

  • Hero Member
  • *****
  • Posts: 817
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #101 on: February 08, 2016, 04:05:20 pm »
Sorry if this may have been mentioned before:

I just got around to testing the RC with one of my projects that use resources and I get a error saying windres not found.

Does 1.6 do something different with resources?
***Snorkel***
If I forget, I always use the latest stable 32bit version of Lazarus and FPC. At the time of this signature that is Laz 3.0RC2 and FPC 3.2.2
OS: Windows 10 64 bit

guest58172

  • Guest
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #102 on: February 09, 2016, 07:18:24 am »
Is there an approximate ETA for RC3 or 1.6.0 ?
I just wanna know if this gonna happen this week or certainly after. Thx.

dtoman

  • Newbie
  • Posts: 3
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #103 on: February 10, 2016, 05:28:00 pm »
Hi,

It look like there is a severe problem when using local functions in class methods:

Once I create a local function in a class method strange things happen. It seems like the pointer to a methods stack frame is lost/currupted or points to some improper place. Local variables of the method shows nonsense values during debugging, it is not possible to see some properties of the class (No symbol in current context reported) and the code is using clearly not proper values of the properties.

After I commented out the local function(s) all started to work properly.
I am using 1.6RC2 with related FPC (fpc-3.0.0-1.i686 rpm package)

Is it a known problem?

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: Lazarus 1.6 - 2nd Release Candidate
« Reply #104 on: February 10, 2016, 05:36:02 pm »
Is it a known problem?

No, and it certainly is not an issue of Lazarus 1.6RC2.
It may be an issue of FPC 3.0. You must write about it in FPC mailing list or the right forum category, and provide code demonstrating the problem.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

 

TinyPortal © 2005-2018