Forum > Lazarus

Lazarus Release 2.0.0

<< < (31/32) > >>

wp:
In v1.8.4 the OnlinePackageManager was added to Lazarus, it depends on VirtualTreeView. To avoid naming conflicts OPM had its own version of VTV which could not be used for anything else.

Since VTV is very popular it was decided to replace that local version in Laz2.0 by a copy of v5 the Lazarus port github. This way VTV became included in the Lazarus distribution and could be used independently of OPM.

However, users came up who wanted to install different versions of VTV - there is a v4 and v6 in the git repo of its Lazarus port, but these do not necessarily cooperate with OPM. This required the - hopefully - final change: In Laz trunk we now have an installable VTV again but units and registered classes will be renamed with "laz" prefix to obtain a unique name. Users now can install any version of VTV without interfering with OPM - or use the "lazVTV" which comes with Lazarus (it is on palette "LazControls").

Thausand:
I Lazarus IDE v2.0.0 r60660M Raspbian GTK2.

Load project other user http://forum.lazarus-ide.org/index.php/topic,44814.msg316058.html#msg316058 and Lazarus write "Empty Project".

Not Empty Project. Have form and unit test project. Maybe bug ?

Have anchordocking. Some see Project Options or Project Inspector i go desktop then back Lazarus and window away. Not get back options and not work Lazarus menu. No work quit no work any Have terminal kill Lazarus only way.

How fix ?

I many waste time. No fun  :'(

howardpc:
No, not a bug, but something amiss with that particular project.
I don't know if the .lpi was corrupt, or something else was wrong. The project was developed for Mac OS X which may (or may not)  be a complicating factor.

Thausand:
Many thank answer howardpc


--- Quote from: howardpc on April 03, 2019, 12:09:19 pm ---No, not a bug, but something amiss with that particular project.

--- End quote ---
Bug me, so is bug ?  :D

It strange. i look .lpi and look .lps i think error.

Project madref (part) lpi read

--- Code: ---    <Units>
      <Unit>
        <Filename Value="Referee3_DB.lpr"/>
        <IsPartOfProject Value="True"/>
      </Unit>
      <Unit>
        <Filename Value="referee_main.pas"/>
        <IsPartOfProject Value="True"/>
        <ComponentName Value="Form_RefereeMain"/>
        <HasResources Value="True"/>
        <ResourceBaseClass Value="Form"/>
      </Unit>
    </Units>       

--- End code ---

Read is missing number unit.

I fix (same part) lpi read:

--- Code: ---    <Units Count="2">
      <Unit0>
        <Filename Value="Referee3_DB.lpr"/>
        <IsPartOfProject Value="True"/>
      </Unit0>
      <Unit1>
        <Filename Value="referee_main.pas"/>
        <IsPartOfProject Value="True"/>
        <ComponentName Value="Form_RefereeMain"/>
        <HasResources Value="True"/>
        <ResourceBaseClass Value="Form"/>
      </Unit1>
    </Units>   

--- End code ---

Same when lps file. That unit not same. Is (no) good ?

I not know why before. Now i know and fix easy. I many  time waste fix copy-paste form/unit/lpr/lpi/lps/res and lazarus say error.

add:
same true tag BuildModes lpi

madref lpi

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---    <BuildModes>      <Item Name="Default" Default="True"/>    </BuildModes> 
me fix lpi

--- Code: ---    <BuildModes Count="1">
      <Item1 Name="Default" Default="True"/>
    </BuildModes>

--- End code ---

wp:
The enumeration of nodes in some xml project files (.lpi, .lfm) has been changed in trunk recently which results in an "empty project" error when a new project is saved by Lazarus trunk and re-opened in an older version. If this happens open the project in Laz-trunk and check the new box "Maximize compatibility of project files" in "Project options" > "Miscellaneous". When saved with this option checked the xml nodes are written in the old way and the project is readable by all Lazarus versions.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version