Recent

Author Topic: Lazarus 1.6 - Released  (Read 191546 times)

SymbolicFrank

  • Hero Member
  • *****
  • Posts: 1313
Re: Lazarus 1.6 - Released
« Reply #60 on: February 22, 2016, 02:51:45 pm »
I installed it this weekend at  home. An upgrade from 1.4.4 to 1.6 will fail until you manually remove the .\fpc\2.6.4 directory. And there are a few bugs in brgaled.pas, IIRC. (search for backgroung, with a g, not whole word). That, and the ParentBackground property.

ChrisF

  • Hero Member
  • *****
  • Posts: 542
Re: Lazarus 1.6 - Released
« Reply #61 on: February 22, 2016, 02:52:21 pm »
Is it me or is this new version not configurated to save the project backup files in a subdirectory called "backup"  by default (i.e. with a new clean installation of the IDE) ?

Of course, it's quite possible to modify this in the IDE options, but AFAIR this was -properly- configurated by default for the former versions (with a clean installation).

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: Lazarus 1.6 - Released
« Reply #62 on: February 22, 2016, 03:00:05 pm »
I've also noticed this change of default for backup directory setting (on Linux).

ChrisF

  • Hero Member
  • *****
  • Posts: 542
Re: Lazarus 1.6 - Released
« Reply #63 on: February 22, 2016, 03:32:15 pm »
@howardpc:
Thanks for the confirmation. Though it's not extremely important, I'll introduce a bug issue about it.

VTwin

  • Hero Member
  • *****
  • Posts: 1215
  • Former Turbo Pascal 3 user
Re: Lazarus 1.6 - Released
« Reply #64 on: February 22, 2016, 04:29:12 pm »
I don't know if this is an install issue, but I am now getting:

Code: Pascal  [Select][+][-]
  1. Error: unit not found: StrUtils

Apparently FPC can find find it, as the code compiles, but Lazarus can not. I'm puzzled. Any suggestions would be greatly appreciated.

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)

Cyrax

  • Hero Member
  • *****
  • Posts: 836
Re: Lazarus 1.6 - Released
« Reply #65 on: February 22, 2016, 05:13:48 pm »
I don't know if this is an install issue, but I am now getting:

Code: Pascal  [Select][+][-]
  1. Error: unit not found: StrUtils

Apparently FPC can find find it, as the code compiles, but Lazarus can not. I'm puzzled. Any suggestions would be greatly appreciated.

Cheers,
VTwin

Check out that you have installed FPC source code and have correct directory (which points to FPC sources) in Tools->Options->Environment->Files->FPC source directory.

VTwin

  • Hero Member
  • *****
  • Posts: 1215
  • Former Turbo Pascal 3 user
Re: Lazarus 1.6 - Released
« Reply #66 on: February 22, 2016, 07:49:01 pm »
Check out that you have installed FPC source code and have correct directory (which points to FPC sources) in Tools->Options->Environment->Files->FPC source directory.

Thanks Cyrax,

Yes FPC source is installed. The path is:

Code: Pascal  [Select][+][-]
  1. /usr/local/share/fpcsrc/

I searched that directory and found:

Code: Pascal  [Select][+][-]
  1. /usr/local/share/fpcsrc/packages/rtl-objpas/src/inc/strutils.pp

contains the function I was looking for (ExtractDelimited). Still puzzled.

Cheers,
VTwin
« Last Edit: February 22, 2016, 07:59:41 pm by 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)

VTwin

  • Hero Member
  • *****
  • Posts: 1215
  • Former Turbo Pascal 3 user
Re: Lazarus 1.6 - Released
« Reply #67 on: February 22, 2016, 07:55:32 pm »
I found another odd thing on OS X. I compiled a program using the Release option, with all debug information off. It seemed unusually large, ~7.7 MB, so I ran strip on it. This got it down to ~4.6 MB.

The Windows and Linux executables were both small, so this seems to be happening only on OS X. I don't mind running strip, but this seems like a bug.

Cheers,
VTwin
« Last Edit: February 22, 2016, 08:08:46 pm by 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)

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11459
  • FPC developer.
Re: Lazarus 1.6 - Released
« Reply #68 on: February 22, 2016, 08:29:26 pm »
I don't mind running strip, but this seems like a bug.

True, but it might also be Apple's linker. Some linkers don't support stripping on the cmdline, requiring manual intervention

VTwin

  • Hero Member
  • *****
  • Posts: 1215
  • Former Turbo Pascal 3 user
Re: Lazarus 1.6 - Released
« Reply #69 on: February 23, 2016, 05:20:46 pm »
@marcov

Ok, thanks. It is not a big deal, but I'll check if this also happens in 1.4.4. I was routinely running strip, so am not sure.

VTwin
« Last Edit: February 23, 2016, 05:23:29 pm by 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 - Released
« Reply #70 on: February 24, 2016, 02:31:03 am »
Quote
Thanks Jim,

Hopefully someone with LCL and Carbon expertise can shed some additional light on this. I'll use the 1.4.4 patch for now. Thanks for tracking it down.

The official fix that seem to work.

http://bugs.freepascal.org/view.php?id=29694

Jim

SymbolicFrank

  • Hero Member
  • *****
  • Posts: 1313
Re: Lazarus 1.6 - Released
« Reply #71 on: February 24, 2016, 11:39:10 am »
On multiple installations (all Windows 7), opening and building existing projects tends to show "Compile package FCL 1.0.1" and then nothing. When I try to quit or cancel, it tells me that the IDE is still building, do I want to cancel that, but it is never canceled. I have to kill it with task manager.

Edit: I think it is when I only "Compile" instead of "Build".
« Last Edit: February 24, 2016, 11:43:07 am by SymbolicFrank »

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11459
  • FPC developer.
Re: Lazarus 1.6 - Released
« Reply #72 on: February 24, 2016, 11:54:56 am »
Did you make antivirus exceptions for the lazarus and project directories?

SymbolicFrank

  • Hero Member
  • *****
  • Posts: 1313
Re: Lazarus 1.6 - Released
« Reply #73 on: February 24, 2016, 01:43:08 pm »
No. Should I? I don't use Norton or such.

I just try again until it works, and then it tends to work for a while. And I do a full build after something happens.

I did rescan source code and a full clean and build after upgrading Lazarus, of course.

It is hard to pinpoint, because I don't think it is related to the code I type.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11459
  • FPC developer.
Re: Lazarus 1.6 - Released
« Reply #74 on: February 24, 2016, 02:10:03 pm »
No. Should I? I don't use Norton or such.

No Windows Defender ?

 

TinyPortal © 2005-2018