[Lazarus] Lazarus 1.6RC1 on various platforms
Mark Morgan Lloyd
markMLl.lazarus at telemetry.co.uk
Mon Dec 21 19:00:31 CET 2015
Mattias Gaertner wrote:
>>>> An annoyance affecting all platforms above is that the timeout in the
>>>> "Configure Lazarus IDE" -> "Compiler" box is impossibly fast, if the
>>>> default isn't right about the only way to use it is to paste a prepared
>>>> name.
>>> What timeout?
>> After the compiler name has been changed by the addition or removal of a
>> single character, it goes and checks whether the filename is now valid.
>> The timeout here is something like 10th sec, and displays a dialogue if
>> the name is bad.
>
> Fixed.
Yippee :-) Hopefully that's something that can get into the release.
>>>> Slightly more serious from my POV is that a project that created a form
>>>> early to set up a configuration file from a template is now giving
>>>> problems on all tested platforms. I'm assuming that
>>>> http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-A-change-in-LCL-require-your-TCustomForm-descendants-to-have-a-resource-or-to-use-a-CreateNer-td2402646.html
>>>> is relevant, but at present am struggling.
>>> This is a pretty old change.
>> Yes, but has only now become mandatory.
>
> The change was already in 1.0.
>
>
>>> Simply use CreateNew instead of Create.
>
> Or set RequireDerivedFormResource to false.
The unit/form is outside the project but is predefined (i.e. not
constructed at runtime). It's created early (before the main form's
constructor has completed) in order to check and if necessary create a
configuration file. Please correct me, but since its layout is stored in
resources I think CreateNew() doesn't fix anything.
I'm still not entirely convinced, but I think the problem was that it
had a {$I unitname.lrs} in the initialisation part rather than a {$R
*.lfm} at the start of the implementation.
So I'm fairly sure this isn't an IDE etc. problem, but since I can't
easily say what version created these files it might be one that will
bite more people with elderly projects.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the Lazarus
mailing list