* * *

Author Topic: Lazarus Release Candidate 3 of 1.4  (Read 32391 times)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 4287
    • wiki
Re: Lazarus Release Candidate 3 of 1.4
« Reply #30 on: April 11, 2015, 07:52:32 pm »
i found an error by accident  ;)

File: SourceSynEditor
Function:  TIDESynGutterLOvProviderPascal.HighlightChanged
Line: 1826

Thanks and fixed.

Alextp

  • Sr. Member
  • ****
  • Posts: 413
    • UVViewSoft
Re: Lazarus Release Candidate 3 of 1.4
« Reply #31 on: April 12, 2015, 02:04:57 am »
Still same "Semaphore init" err, like I told in Mantis. One of 1.4RC worked ok (rc1 maybe), only shown "Debugger error", while 1.4RC2/3 show err on compile, and compile hangs, cannot run - cannot quit IDE (ide cannot close)


Project atSynEdit (https://github.com/Alexey-T/ATSynEdit , app/demo_editor),
error on compile

 
« Last Edit: April 12, 2015, 02:07:37 am by Alextp »

Alextp

  • Sr. Member
  • ****
  • Posts: 413
    • UVViewSoft
Re: Lazarus Release Candidate 3 of 1.4
« Reply #32 on: April 12, 2015, 02:12:42 am »
note. "1.4 Test" ide from getlazarus.org works/compiles ok, while 1.4RC1/2/3 don't work..

Tommi

  • Full Member
  • ***
  • Posts: 139
Possibile BUG in TRegistry
« Reply #33 on: April 12, 2015, 03:37:06 pm »
This is my code:
Code: [Select]
procedure TForm1.FormCreate(Sender: TObject);
var
  reg: TRegistry;
  l: TStringList;
  n:integer;
begin
  sport := TblockSerial.create;
  connected  := FALSE;
  l:=TStringList.Create;
  reg := TRegistry.Create;
  try
    reg.Access := KEY_READ;
    reg.RootKey := HKEY_LOCAL_MACHINE;
    reg.OpenKey('\HARDWARE\DEVICEMAP\SERIALCOMM', false);
    reg.GetValueNames(l);
    for n := 0 to l.Count - 1 do
      begin
        ComboBox2.Items.Add(reg.ReadString(l[n]));
        memo1.Text:=memo1.Text+l[n];
        memo1.Text:=memo1.Text+'  --  '+ reg.ReadString(l[n])+#13+#10;
      end;
    if (ComboBox2.Items.Count>0) then ComboBox2.Text:=ComboBox2.Items[0];
  finally
    reg.Free;
    l.Free;
  end;
end;   

This is what I find in Memo1:
Code: [Select]
\Device\Serial0  --  COM1
\Device\BthModem2  --  COM
\Device\BthModem0  --  COM
\Device\BthModem1  --  COM

But the real content is of the key is :
Code: [Select]
\Device\Serial0  --  COM1
\Device\BthModem2  --  COM3
\Device\BthModem0  --  COM6
\Device\BthModem1  --  COM7

I noticed that if I create a new value it is correctly read.
If I go on one of the not working values, I select Edit, and I just click OK, it becomes working.

zeljko

  • Hero Member
  • *****
  • Posts: 913
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Lazarus Release Candidate 3 of 1.4
« Reply #34 on: April 12, 2015, 03:59:43 pm »
note. "1.4 Test" ide from getlazarus.org works/compiles ok, while 1.4RC1/2/3 don't work..

getlazarus.org uses trunk fpc and trunk lazarus. Fix could be in fpc or in lazarus.

CM630

  • Hero Member
  • *****
  • Posts: 696
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: Lazarus Release Candidate 3 of 1.4
« Reply #35 on: April 12, 2015, 08:56:56 pm »
Does your project has any changes to any path setting (on the Project > Compiler Options > Path)?
Ahym, that was it: C:\lazarus\fpc\2.6.1\source\packages\fcl-base\src\;C:\lazarus\components\tachart\
I have no idea why it was there, so I removed the whole line and it compiles now.
Lazarus 1,8,0 RC2;XP 32bit or W7 64bit ;FPC3,0,2;rev 55215

Cyrax

  • Hero Member
  • *****
  • Posts: 514
Re: Possibile BUG in TRegistry
« Reply #36 on: April 12, 2015, 08:59:30 pm »
This is my code:
Code: [Select]
procedure TForm1.FormCreate(Sender: TObject);
var
  reg: TRegistry;
  l: TStringList;
  n:integer;
begin
  sport := TblockSerial.create;
  connected  := FALSE;
  l:=TStringList.Create;
  reg := TRegistry.Create;
  try
    reg.Access := KEY_READ;
    reg.RootKey := HKEY_LOCAL_MACHINE;
    reg.OpenKey('\HARDWARE\DEVICEMAP\SERIALCOMM', false);
    reg.GetValueNames(l);
    for n := 0 to l.Count - 1 do
      begin
        ComboBox2.Items.Add(reg.ReadString(l[n]));
        memo1.Text:=memo1.Text+l[n];
        memo1.Text:=memo1.Text+'  --  '+ reg.ReadString(l[n])+#13+#10;
      end;
    if (ComboBox2.Items.Count>0) then ComboBox2.Text:=ComboBox2.Items[0];
  finally
    reg.Free;
    l.Free;
  end;
end;   

This is what I find in Memo1:
Code: [Select]
\Device\Serial0  --  COM1
\Device\BthModem2  --  COM
\Device\BthModem0  --  COM
\Device\BthModem1  --  COM

But the real content is of the key is :
Code: [Select]
\Device\Serial0  --  COM1
\Device\BthModem2  --  COM3
\Device\BthModem0  --  COM6
\Device\BthModem1  --  COM7

I noticed that if I create a new value it is correctly read.
If I go on one of the not working values, I select Edit, and I just click OK, it becomes working.

Use FPC trunk/upcoming FPC 3.0.x for that. See : http://bugs.freepascal.org/view.php?id=21899

CM630

  • Hero Member
  • *****
  • Posts: 696
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: Lazarus Release Candidate 3 of 1.4
« Reply #37 on: April 14, 2015, 12:42:43 pm »
I just found something in the IDE, which I think is wrong:
When I open Project Inspector and then I press ESC, the window of the project inspector gets empy. I suppose it should simply get closed when ESC is pressed.
Same problem exists in the official Lazarus, too.
If it matters- I use anchored IDE.
Lazarus 1,8,0 RC2;XP 32bit or W7 64bit ;FPC3,0,2;rev 55215

zeljko

  • Hero Member
  • *****
  • Posts: 913
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Lazarus Release Candidate 3 of 1.4
« Reply #38 on: April 14, 2015, 02:14:01 pm »
I just found something in the IDE, which I think is wrong:
When I open Project Inspector and then I press ESC, the window of the project inspector gets empy. I suppose it should simply get closed when ESC is pressed.
Same problem exists in the official Lazarus, too.
If it matters- I use anchored IDE.

Better fill an issue about it.

baldzhang

  • New member
  • *
  • Posts: 9
Re: Lazarus Release Candidate 3 of 1.4
« Reply #39 on: April 14, 2015, 05:06:50 pm »
Hi

I use fixes_1_4 branch, and updated
found a designer problem:
  when a control is selected, and drag it to new position, the control will jump a random offset in horizontal and vertical.
  but if the control is NOT selected, then click and drag, the action is ok

in 1.2 release, is ok

if someone else meet the same, please submit a bug report

zeljko

  • Hero Member
  • *****
  • Posts: 913
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Lazarus Release Candidate 3 of 1.4
« Reply #40 on: April 14, 2015, 05:08:53 pm »
Hi

I use fixes_1_4 branch, and updated
found a designer problem:
  when a control is selected, and drag it to new position, the control will jump a random offset in horizontal and vertical.
  but if the control is NOT selected, then click and drag, the action is ok

in 1.2 release, is ok

if someone else meet the same, please submit a bug report

When you updated 1_4 fixes ? Some changes were merged yesterday (about selections), so it's important information.

baldzhang

  • New member
  • *
  • Posts: 9
Re: Lazarus Release Candidate 3 of 1.4
« Reply #41 on: April 14, 2015, 05:20:13 pm »
I update 1 hours ago, last changed revision: 48755

Artie

  • Jr. Member
  • **
  • Posts: 95
Re: Lazarus Release Candidate 3 of 1.4
« Reply #42 on: April 14, 2015, 05:29:00 pm »
I just found something in the IDE, which I think is wrong:
When I open Project Inspector and then I press ESC, the window of the project inspector gets empy. I suppose it should simply get closed when ESC is pressed.
Same problem exists in the official Lazarus, too.
If it matters- I use anchored IDE.
I do not have that problem on Linux GTK2...
Lazarus 1.6 - openSUSE Tumbleweed-i586 - Windows 7-x64

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2965
  • I like bugs.
Re: Lazarus Release Candidate 3 of 1.4
« Reply #43 on: April 14, 2015, 06:50:57 pm »
I use fixes_1_4 branch, and updated
found a designer problem:
  when a control is selected, and drag it to new position, the control will jump a random offset in horizontal and vertical.
  but if the control is NOT selected, then click and drag, the action is ok

I cannot reproduce. I tested on Windows and on Linux with GTK2 and QT widgetsets.
Does it happen only with a certain project or form? Can you please copy it here.

baldzhang

  • New member
  • *
  • Posts: 9
Re: Lazarus Release Candidate 3 of 1.4
« Reply #44 on: April 14, 2015, 07:31:23 pm »
I use fixes_1_4 branch, and updated
found a designer problem:
  when a control is selected, and drag it to new position, the control will jump a random offset in horizontal and vertical.
  but if the control is NOT selected, then click and drag, the action is ok

I cannot reproduce. I tested on Windows and on Linux with GTK2 and QT widgetsets.
Does it happen only with a certain project or form? Can you please copy it here.


Nothing special....
Just start lazarus, start new project, put a panel in form, and drag & drag & drag...
See attachment photo

PS: Win7 x64, fpc 2.6.4 win32, lazarus fix_1_4 r48755 Win32 widgetsets
Lazarus 1.2.6 tested, is ok

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus