Recent

Author Topic: Lazarus 1.6 - 1st Release Candidate  (Read 122387 times)

SunyD

  • Guest
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #60 on: December 16, 2015, 05:55:36 pm »
I wanted make it self, but it looks like Sparta-Component has bug.
Step to reproduce:
Try to load one of the forms from:
...\Lazarus\components\ideintf
Folder.  You will see the form controls aren't visible.
On screenshot CollectionPropEditForm is loaded:

EDIT:
I removed sparta-dockedformeditor component, now the control are visible also sparta-dockedformeditor has bug.
« Last Edit: December 16, 2015, 06:05:50 pm by Soner A. »

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4575
  • I like bugs.
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #61 on: December 16, 2015, 11:25:09 pm »
I removed sparta-dockedformeditor component, now the control are visible also sparta-dockedformeditor has bug.

Not necessarily. The issue is likely caused by changes in IDE code but it affects the docked form editor. See :
 http://bugs.freepascal.org/view.php?id=29201

Anybody who reports errors, please build lazarus with debug info and all checks enabled.
The easiest way is to select "Debug IDE" from Configure Build Lazarus dialog.
Then you see errors reported directly from IDE and you can get a backtrace from gdb when needed.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

tr_escape

  • Sr. Member
  • ****
  • Posts: 435
  • sector name toys | respect to spectre
    • Github:
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #62 on: December 17, 2015, 07:52:46 am »
Lazarus 1.6RC1 spartadocking and anchordocking not working together correctly.

If you install both packs you may crash your lazarus in design time.

I tried to View / Code Explorer and Lazarus makes a lot of move I think it tried to fit of Code Explorer window and crashed.

After uninstall anchordocking pack worked normally.

I added crash time picture in the attach

balazsszekely

  • Guest
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #63 on: December 17, 2015, 08:37:11 am »
Quote
Lazarus 1.6RC1 spartadocking and anchordocking not working together correctly.
If you install both packs you may crash your lazarus in design time.
I tried to View / Code Explorer and Lazarus makes a lot of move I think it tried to fit of Code Explorer window and crashed.
After uninstall anchordocking pack worked normally.
I added crash time picture in the attach
This usually happens on dual monitor screen and it's caused by the Component Palette(CP) resize. There is a solution(not a clean one though): after you install AnchorDocking, hide the CP(right click on the CP-->Options-->Uncheck Palette is visible). Use the component window(Ctrl + Alt +P) instead.
The error is caused by the CalcMainIDEHeight(mainbar.pas) function and it's probably related to http://bugs.freepascal.org/view.php?id=29194. First it was noticed only under QT(by Juha), but later somehow appeared on win32 too. Unfortunately it's very sporadic and the message makes no sense at all, since the BoundsRealised and NewBoundsRealised it's the same.

tr_escape

  • Sr. Member
  • ****
  • Posts: 435
  • sector name toys | respect to spectre
    • Github:
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #64 on: December 17, 2015, 10:40:48 am »
Quote
Lazarus 1.6RC1 spartadocking and anchordocking not working together correctly.
If you install both packs you may crash your lazarus in design time.
I tried to View / Code Explorer and Lazarus makes a lot of move I think it tried to fit of Code Explorer window and crashed.
After uninstall anchordocking pack worked normally.
I added crash time picture in the attach
This usually happens on dual monitor screen and it's caused by the Component Palette(CP) resize. There is a solution(not a clean one though): after you install AnchorDocking, hide the CP(right click on the CP-->Options-->Uncheck Palette is visible). Use the component window(Ctrl + Alt +P) instead.
The error is caused by the CalcMainIDEHeight(mainbar.pas) function and it's probably related to http://bugs.freepascal.org/view.php?id=29194. First it was noticed only under QT(by Juha), but later somehow appeared on win32 too. Unfortunately it's very sporadic and the message makes no sense at all, since the BoundsRealised and NewBoundsRealised it's the same.


As you mentioned I hide the CP and installed AnchorDock, so follow the menu of View / Code Explorer find the code explorer for to dock to AnchorDock.

After this steps I open the CP again and finally it is working normally.

Actually anchordock and sparta limiting our form designing area but for some people like it for tidy.

Thanks for your support.

« Last Edit: December 17, 2015, 10:44:19 am by tr_escape »

arneolav

  • Full Member
  • ***
  • Posts: 197
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #65 on: December 18, 2015, 12:03:26 am »
Hi! Installed Lazarus 1.6 RC1, FPC 3, Win32,
As addon, installed:
Internettools,
Synapse, synalist-code-185-trunk

Got a lot of errors  in compile of Internettools, unit bbutils.pas

Messages, Warnings: 1
Compile package internettools 0.0: Exit code 1, Errors: 3, Warnings: 1, Hints: 51
bbutils.pas(163,67) Hint: Parameter "slice1" not used
bbutils.pas(163,89) Hint: Parameter "slice2" not used
bbutils.pas(1149,4) Hint: "open array" not yet supported inside inline procedure/function
bbutils.pas(1149,4) Hint: Inlining disabled
bbutils.pas(222,69) Hint: Parameter "slice1" not used
bbutils.pas(222,91) Hint: Parameter "slice2" not used
bbutils.pas(1372,4) Hint: "open array" not yet supported inside inline procedure/function
.....
....
bbutils.pas(5109,10) Error: function header doesn't match the previous declaration "dateTimeFormat(const AnsiString;LongInt;LongInt;LongInt;LongInt;LongInt;LongInt;const Double="0";const TDateTime="                          Nan"):AnsiString;"
bbutils.pas(803,10) Error: Found declaration: dateTimeFormat(const AnsiString;LongInt;LongInt;LongInt;LongInt;LongInt;LongInt;const Double="0";const TDateTime="                          Nan"):AnsiString;
bbutils.pas(805,10) Error: Found declaration: dateTimeFormat(const AnsiString;const TDateTime):AnsiString;
.
.
Ideas?

« Last Edit: December 18, 2015, 12:05:30 am by arneolav »
Win 11, win64 , Lazarus 4.0RC3
Delphi/DevExpress

arneolav

  • Full Member
  • ***
  • Posts: 197
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #66 on: December 18, 2015, 05:11:11 pm »
Removed the installation of 1.6;
Did a new installation,

Tried to compile my app,
Installed the xtra pacakges one after one as they was asked for.

Compile and run ok.
Win 11, win64 , Lazarus 4.0RC3
Delphi/DevExpress

Josh

  • Hero Member
  • *****
  • Posts: 1375
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #67 on: December 19, 2015, 04:39:58 am »
Hi
Removed Lazarus from Developer Folder
Installed new 1.6 and fpc etc.
When I rebuild lazarus with no additional components I get

Compile Package LazUtils 1.0 Exit Code 256

And it will not compile or rebuild

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

jc99

  • Hero Member
  • *****
  • Posts: 553
    • My private Site
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #68 on: December 19, 2015, 10:44:50 am »
Hi,
first I have to say, 1.6 is a gigantic step forward with many features i desperately missed, till now. (Sparta, Project Groups ...)
I also stumbled across Change-Bound-Loop-Error, but could circumvent it by disabling the CP-Element. If it helps, the error occurred only when ending Lazarus in full-screen.
[edit] And try to restart it.
... then I had to delete the environmentoptions.xml  file to get Lazarus working again. (Maybe this helps to track down the error ...)

Now I stumbled about something else:
In the Code-Explorer i miss the "jump to implementation"-entry. Is it somewhere else ? (I tried both views Categories & Source )

Using
- Lazarus 1.6RC1
   *  + AnchorDocking
   *  + Sparta
   *  + lazProjectGroups

[Edit2]
Removed Sparta, same problem ...
« Last Edit: December 19, 2015, 10:53:45 am by jc99 »
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4575
  • I like bugs.
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #69 on: December 19, 2015, 11:54:36 am »
first I have to say, 1.6 is a gigantic step forward with many features i desperately missed, till now. (Sparta, Project Groups ...)

Project Groups feature is not ready yet and not even planned to be stable in 1.6.
Sparta docked form editor on the other hand is planned to be stable. Now it has some unfortunate regressions.

Quote
In the Code-Explorer i miss the "jump to implementation"-entry. Is it somewhere else ? (I tried both views Categories & Source )

Did the local menu have a sub-menu with "jump to interface", "jump to implementation" like now the Search menu in IDE has?
Looks like a regression. Please open a bug-report. The command system was changed quite much.
"jump to implementation" is working in Search menu and it is included in the default configuration of Editor Toolbar which is now part of the IDE's code, too. No more a package.

There are some reports about Code-Explorer from earlier versions. E.g.
 http://bugs.freepascal.org/view.php?id=26988

Quote
Removed Sparta, same problem ...

What problem?
« Last Edit: December 19, 2015, 12:32:12 pm by JuhaManninen »
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

jc99

  • Hero Member
  • *****
  • Posts: 553
    • My private Site
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #70 on: December 19, 2015, 02:04:38 pm »
@Juha:
I don't mean Jump to Implementation from the Search->Jump to - Menu:
When you right click on an Element in the Code-Explorer a popup-Menu opens.
In this popup-menu you can Jump to.. then it jumps to the declaration of that element.
  (which is mostly in the interface-part of the unit)
then in 1.4.4 there is "Jump to Implemenation". Which jumps the actual implementation of that element.
 (which is normally in the implementation-part of the unit)
Search->Jump To->Jump to implementation jumps to the "implementation"-keyword of the unit.

So my problem is:
The "Jump to Implementation"- entry of the Code-Explorer-Popup-Menu doesn't show.
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4575
  • I like bugs.
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #71 on: December 19, 2015, 03:45:05 pm »
I don't mean Jump to Implementation from the Search->Jump to - Menu:

Oops, sorry, 2 different things mixed up in my mind.

Quote
The "Jump to Implementation"- entry of the Code-Explorer-Popup-Menu doesn't show.

I did some time traveling in revision history. The menu entry was removed in :
 r49226  IDE: New JumpTo... commands and menu items. Remove the functionality from EditorToolbar. Issue #28199, patch from Ondrej Pokorny.

committed by me, made by Ondrej.
BTW,  bisecting with Git is easy and fun and does not cost anything. :)

I am planning to revert the CodeExplorer part of the commit. I think also Ondrej mixed up 2 different things.
[Edit] Done in r50943. Will be merged to 1.6.
« Last Edit: December 19, 2015, 04:28:27 pm by JuhaManninen »
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

jc99

  • Hero Member
  • *****
  • Posts: 553
    • My private Site
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #72 on: December 19, 2015, 10:22:17 pm »
Thanks
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.4 - 1.8.4, 2.0
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are
If you want to do something for the environment: Twitter: #reduceCO2 or
https://www.betterplace.me/klimawandel-stoppen-co-ueber-preis-reduzieren

Ondrej Pokorny

  • Full Member
  • ***
  • Posts: 220
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #73 on: December 20, 2015, 08:12:48 am »
I think also Ondrej mixed up 2 different things.
[Edit] Done in r50943. Will be merged to 1.6.

Yes  :-[  Thanks  ;)

universe

  • New Member
  • *
  • Posts: 20
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #74 on: December 20, 2015, 11:02:37 am »
Hello all,
I tested the latest Lazarus1.6 RC1 with the attached application (using pascalscript) and I found that the compiler has a bug with array data types ,should I report to FPC?
PS: with Lazarus 1.4 the code is working as expected.
Thanks in advance.

 

TinyPortal © 2005-2018