Lazarus

Free Pascal => General => Topic started by: egsuh on September 26, 2021, 06:30:00 am

Title: Are these newly added methods?
Post by: egsuh on September 26, 2021, 06:30:00 am

I found TStringList.OwnsObjects, TStrings.TObjectArray(), TStrings.ToStringArray(), etc. now. Are these methods/properties added recently or I just have not known them yet? The documented dates are May 14th 2021.
Title: Re: Are these newly added methods?
Post by: skalogryz on September 26, 2021, 08:20:20 am
TStringList.OwnsObjects,
existed for ages

TStrings.TObjectArray(), TStrings.ToStringArray(), etc. now.
these are note released yet https://gitlab.com/freepascal.org/fpc/source/-/issues/36837
..seems like gitlab issues "release version information" is showing nonsense!
but if we trust the dates of "notes" then the methods were added a year ago. (since 3.2.0?)

Are these methods/properties added recently or I just have not known them yet?
from the technical perspective the question is irrelevant.
If a method did exist, but you didn't know about its existence, there's nothing wrong with using your own implementation anyway.
Title: Re: Are these newly added methods?
Post by: PascalDragon on September 27, 2021, 09:05:51 am
TStrings.TObjectArray(), TStrings.ToStringArray(), etc. now.
these are note released yet https://gitlab.com/freepascal.org/fpc/source/-/issues/36837
..seems like gitlab issues "release version information" is showing nonsense!
but if we trust the dates of "notes" then the methods were added a year ago. (since 3.2.0?)

Mantis conversion information says that it was added in 3.3.1 and never merged back to 3.2.x.
TinyPortal © 2005-2018